1
0
Fork 0
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:
Théophane Hufschmitt 2023-01-27 10:13:05 +01:00
parent ab424a39a9
commit 79c084cb59
3 changed files with 44 additions and 0 deletions

View file

@ -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;