mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
run-tests: fix 'eval' command for newer versions of nix
There's no common `nix` command argument syntax for eval'ing a nix expression that supports both older and newer (flake support) versions of nix. So fall back to nix-instantiate.
This commit is contained in:
parent
926f1febb7
commit
32ce9d0ff4
@ -165,8 +165,7 @@ debug() {
|
||||
}
|
||||
|
||||
evalTest() {
|
||||
nix eval --raw "($(vmTestNixExpr)).outPath"
|
||||
echo # nix eval doesn't print a newline
|
||||
nix-instantiate --eval -E "($(vmTestNixExpr)).outPath"
|
||||
}
|
||||
|
||||
instantiate() {
|
||||
|
Loading…
Reference in New Issue
Block a user