mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Disable setVersionLayer
This sets .version to finalAttrs.version, so we would end up with `nix --version` showing `nix (Determinate Nix 0.37.2) 0.37.2`.
This commit is contained in:
parent
5fc89adf6c
commit
e71a498e25
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ let
|
|||
exts: userFn: stdenv.mkDerivation (lib.extends (lib.composeManyExtensions exts) userFn);
|
||||
|
||||
setVersionLayer = finalAttrs: prevAttrs: {
|
||||
/*
|
||||
preConfigure =
|
||||
prevAttrs.prevAttrs or ""
|
||||
+
|
||||
|
@ -59,6 +60,7 @@ let
|
|||
chmod u+w ./.version
|
||||
echo ${finalAttrs.version} > ./.version
|
||||
'';
|
||||
*/
|
||||
};
|
||||
|
||||
localSourceLayer =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue