mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Add some tests for illegal output names
This commit is contained in:
parent
95cfd50d25
commit
1ebfa6ba2d
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