1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Use Determinate version in store path name

This commit is contained in:
Eelco Dolstra 2025-02-24 21:26:31 +01:00
parent 25c6048fa6
commit 5fc89adf6c
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ let
pkg-config pkg-config
; ;
baseVersion = lib.fileContents ../.version; baseVersion = lib.fileContents ../.version-determinate;
versionSuffix = lib.optionalString (!officialRelease) "pre"; versionSuffix = lib.optionalString (!officialRelease) "pre";

View file

@ -23,7 +23,7 @@ pkgs.nixComponents.nix-util.overrideAttrs (
pname = "shell-for-" + attrs.pname; pname = "shell-for-" + attrs.pname;
# Remove the version suffix to avoid unnecessary attempts to substitute in nix develop # Remove the version suffix to avoid unnecessary attempts to substitute in nix develop
version = lib.fileContents ../.version; version = lib.fileContents ../.version-determinate;
name = attrs.pname; name = attrs.pname;
installFlags = "sysconfdir=$(out)/etc"; installFlags = "sysconfdir=$(out)/etc";