mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #85 from kirelagin/more-nix
installer: Bring our own `nix-instantiate`
This commit is contained in:
commit
9f18c93771
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue