Add a test for builtins.path in a flake
This commit is contained in:
parent
faeab0d5d5
commit
dcb3bc614c
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ cat > $flake3Dir/flake.nix <<EOF
|
|||
mkDerivation {
|
||||
inherit system;
|
||||
name = "fnord";
|
||||
dummy = builtins.readFile (builtins.path { name = "source"; path = ./.; filter = path: type: baseNameOf path == "config.nix"; } + "/config.nix");
|
||||
buildCommand = ''
|
||||
cat \${inputs.nonFlake}/README.md > \$out
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue