mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Add a test for nix flake show
This commit is contained in:
parent
ab424a39a9
commit
79c084cb59
3 changed files with 44 additions and 0 deletions
|
@ -20,6 +20,10 @@ writeSimpleFlake() {
|
|||
foo = import ./simple.nix;
|
||||
default = foo;
|
||||
};
|
||||
packages.someOtherSystem = rec {
|
||||
foo = import ./simple.nix;
|
||||
default = foo;
|
||||
};
|
||||
|
||||
# To test "nix flake init".
|
||||
legacyPackages.x86_64-linux.hello = import ./simple.nix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue