summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-11-17 02:51:42 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-11-21 11:07:47 +1100
commit65ea368ebbed4fa52a1a59fcb06848c49b310c9c (patch)
tree0ec80ce72f40896cbebe2ed6ee8afd01dd3515e3 /pkgs
parent9a1bea70d5728a19ee0a090dc0bcdeb73f09b7a4 (diff)
installer: move channel creation to README
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/darwin-installer/default.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/darwin-installer/default.nix b/pkgs/darwin-installer/default.nix
index 0eed518..630c5bf 100644
--- a/pkgs/darwin-installer/default.nix
+++ b/pkgs/darwin-installer/default.nix
@@ -47,20 +47,6 @@ stdenv.mkDerivation {
echo >&2 "Installing nix-darwin..."
echo >&2
- i=y
- darwinPath=$(NIX_PATH=$HOME/.nix-defexpr/channels nix-instantiate --eval -E '<darwin>' 2> /dev/null) || true
- if ! test -e "$darwinPath"; then
- if test -t 0; then
- read -p "Would you like to manage <darwin> with nix-channel? [y/N] " i
- fi
- case "$i" in
- y|Y)
- nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
- nix-channel --update
- ;;
- esac
- fi
-
export NIX_PATH=${nixPath}
system=$(nix-build '<darwin>' -A system --no-out-link --show-trace)