mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Use Determinate version in store path name
This commit is contained in:
parent
25c6048fa6
commit
5fc89adf6c
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue