mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Make config.nix
shims
As requested in https://github.com/NixOS/nix/pull/11792#discussion_r1827034428
This commit is contained in:
parent
e70c9bb06a
commit
f7591bc6ed
56 changed files with 49 additions and 77 deletions
|
@ -6,7 +6,4 @@ flakeDir="$TEST_HOME/flake"
|
|||
mkdir -p "${flakeDir}"
|
||||
cp flake.nix "${_NIX_TEST_BUILD_DIR}/ca/config.nix" content-addressed.nix "${flakeDir}"
|
||||
|
||||
# `config.nix` cannot be gotten via build dir / env var (runs afoul pure eval). Instead get from flake.
|
||||
removeBuildDirRef "$flakeDir"/*.nix
|
||||
|
||||
nix run --no-write-lock-file "path:${flakeDir}#runnable"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue