forked from lix-project/lix
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 {
|
mkDerivation {
|
||||||
inherit system;
|
inherit system;
|
||||||
name = "fnord";
|
name = "fnord";
|
||||||
|
dummy = builtins.readFile (builtins.path { name = "source"; path = ./.; filter = path: type: baseNameOf path == "config.nix"; } + "/config.nix");
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
cat \${inputs.nonFlake}/README.md > \$out
|
cat \${inputs.nonFlake}/README.md > \$out
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue