mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
Add some tests for illegal output names
(cherry picked from commit 1ebfa6ba2d)
This commit is contained in:
parent
9ccde7ec9f
commit
a7e6bb7fd4
3 changed files with 15 additions and 2 deletions
|
|
@ -117,4 +117,14 @@ rec {
|
|||
'';
|
||||
};
|
||||
|
||||
invalid-output-name-1 = mkDerivation {
|
||||
name = "invalid-output-name-1";
|
||||
outputs = [ "out/"];
|
||||
};
|
||||
|
||||
invalid-output-name-2 = mkDerivation {
|
||||
name = "invalid-output-name-2";
|
||||
outputs = [ "x" "foo$"];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue