summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-11-29 10:43:08 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-11-29 10:44:17 +0100
commitaa945b129deac98f2ae9ffa9280d67f919f06f1e (patch)
treef43e676207996270e306adfd7243aed10438bca0
parent8f7b4a7a3648970fe55824cfee2afd3808626a3f (diff)
downloadpatchelf-aa945b129deac98f2ae9ffa9280d67f919f06f1e.tar.gz
make version more predictable
This makes it easier for packager and fixes https://github.com/NixOS/patchelf/issues/345
-rw-r--r--flake.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 878b654..045b6d7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,9 +15,7 @@
overlays = [ self.overlay ];
}
);
- version = builtins.readFile ./version
- + "." + builtins.substring 0 8 self.lastModifiedDate
- + "." + (self.shortRev or "dirty");
+ version = builtins.readFile ./version;
pkgs = nixpkgsFor.${"x86_64-linux"};
in