mirror of
https://github.com/NixOS/nix.git
synced 2025-12-24 01:41:08 +01:00
Don't hide repeated values while generating manifest.nix
Fixes #6243.
(cherry picked from commit a0259a21a4)
This commit is contained in:
parent
fc553fb632
commit
0a26f9ae4a
4 changed files with 32 additions and 18 deletions
|
|
@ -8,6 +8,8 @@ assert foo == "foo";
|
|||
|
||||
let
|
||||
|
||||
platforms = let x = "foobar"; in [ x x ];
|
||||
|
||||
makeDrv = name: progName: (mkDerivation {
|
||||
name = assert progName != "fail"; name;
|
||||
inherit progName system;
|
||||
|
|
@ -15,6 +17,7 @@ let
|
|||
} // {
|
||||
meta = {
|
||||
description = "A silly test package with some \${escaped anti-quotation} in it";
|
||||
inherit platforms;
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue