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:
parent
4d99d07bc9
commit
458441c637
2 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,8 @@ writeSimpleFlake() {
|
|||
|
||||
# To test "nix flake init".
|
||||
legacyPackages.$system.hello = import ./simple.nix;
|
||||
|
||||
parent = builtins.dirOf ./.;
|
||||
};
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue