mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-11-13 04:56:53 +03:00
installer: Bring our own nix-instantiate
This commit is contained in:
parent
c1a1ac273d
commit
2fec230ccc
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
||||
|
||||
export nix=${nix}
|
||||
|
||||
config=$(nix-instantiate --eval -E '<darwin-config>' 2> /dev/null || echo "$HOME/.nixpkgs/darwin-configuration.nix")
|
||||
config=$($nix/bin/nix-instantiate --eval -E '<darwin-config>' 2> /dev/null || echo "$HOME/.nixpkgs/darwin-configuration.nix")
|
||||
if ! test -f "$config"; then
|
||||
echo "copying example configuration.nix" >&2
|
||||
mkdir -p "$HOME/.nixpkgs"
|
||||
|
Loading…
Reference in New Issue
Block a user