mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Formatting
This commit is contained in:
parent
117d671923
commit
9d0c3dd6a7
2 changed files with 24 additions and 31 deletions
|
@ -50,17 +50,6 @@ let
|
|||
exts: userFn: stdenv.mkDerivation (lib.extends (lib.composeManyExtensions exts) userFn);
|
||||
|
||||
setVersionLayer = finalAttrs: prevAttrs: {
|
||||
/*
|
||||
preConfigure =
|
||||
prevAttrs.preConfigure or ""
|
||||
+
|
||||
# Update the repo-global .version file.
|
||||
# Symlink ./.version points there, but by default only workDir is writable.
|
||||
''
|
||||
chmod u+w ./.version
|
||||
echo ${finalAttrs.version} > ./.version
|
||||
'';
|
||||
*/
|
||||
};
|
||||
|
||||
localSourceLayer =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue