1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

Fix dirOf on the root of a flake

This commit is contained in:
Eelco Dolstra 2022-11-16 14:21:07 +01:00
parent 4072024d79
commit 64a69b4054
3 changed files with 6 additions and 1 deletions

View file

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