mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-26 08:10:41 +03:00
makeShell: use old nix tooling
The `nix` command is an experimental feature and should be avoided in user-facing code. I recently saw `nix eval` failing for a user who was asking for help via Matrix.
This commit is contained in:
parent
8a7ec27e6d
commit
627b11d21b
@ -106,7 +106,8 @@ pkgs.stdenv.mkDerivation {
|
||||
)}
|
||||
|
||||
eval-config() {
|
||||
NIXOS_CONFIG="${cfgDir}/krops/krops-configuration.nix" nix eval --raw -f ${nixpkgs}/nixos system.outPath
|
||||
NIXOS_CONFIG="${cfgDir}/krops/krops-configuration.nix" \
|
||||
nix-instantiate --eval ${nixpkgs}/nixos -A system.outPath | tr -d '"'
|
||||
echo
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user