1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

Test dirOf behaviour on the root of a flake

This commit is contained in:
Eelco Dolstra 2024-04-30 15:34:38 +02:00
parent 4d99d07bc9
commit 458441c637
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,8 @@ writeSimpleFlake() {
# To test "nix flake init".
legacyPackages.$system.hello = import ./simple.nix;
parent = builtins.dirOf ./.;
};
}
EOF