diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-06 20:53:29 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-10-06 20:53:29 +0200 |
commit | dcb3bc614ccfbfccca5d5d8dea2b59bf53eb863a (patch) | |
tree | d0aa61023abbda942117d11f42a3577bb4a91797 /tests/flakes.sh | |
parent | faeab0d5d58a0bf94fc127f6586a7d35bf0e3f2b (diff) |
Add a test for builtins.path in a flake
Diffstat (limited to 'tests/flakes.sh')
-rw-r--r-- | tests/flakes.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/flakes.sh b/tests/flakes.sh index c0f429d7c..f71c52f11 100644 --- a/tests/flakes.sh +++ b/tests/flakes.sh @@ -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 ''; |