mirror of
https://github.com/NixOS/nix
synced 2025-07-08 15:13:55 +02:00
Test baseNameOf behaviour on the root of a flake
This commit is contained in:
parent
458441c637
commit
503be57bbd
2 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,8 @@ writeSimpleFlake() {
|
|||
legacyPackages.$system.hello = import ./simple.nix;
|
||||
|
||||
parent = builtins.dirOf ./.;
|
||||
|
||||
baseName = builtins.baseNameOf ./.;
|
||||
};
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue