Files
nixpkgs/pkgs/by-name/fl/fluidd/hardcode-version.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
480 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/vite.config.inject-version.ts b/vite.config.inject-version.ts
index d1321fcf..fb3e4c6d 100644
--- a/vite.config.inject-version.ts
+++ b/vite.config.inject-version.ts
@@ -29,9 +29,7 @@ const vitePluginInjectVersion = (): Plugin => {
return {
name: 'version',
config: () => {
- const git_hash = child_process
- .execSync('git rev-parse --short HEAD')
- .toString()
+ const git_hash = '@version@'
return {
define: {