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:
@@ -106,7 +106,8 @@ pkgs.stdenv.mkDerivation {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
eval-config() {
|
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
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user