mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
bootstrap: remove upgrade step
nix always builds with libsodium support now
This commit is contained in:
parent
b09fdc4f2f
commit
c5a81146dc
2 changed files with 0 additions and 26 deletions
|
@ -56,10 +56,6 @@ Check out [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modu
|
|||
## Manual Install
|
||||
|
||||
```bash
|
||||
# install nixpkgs version, which enables libsodium support (for signed binary caches)
|
||||
# this is not required if you already upgraded nix at some point
|
||||
nix-env -iA nixpkgs.nix
|
||||
|
||||
sudo ln -s private/var/run /run
|
||||
|
||||
git clone git@github.com:LnL7/nix-darwin.git ~/.nix-defexpr/darwin
|
||||
|
|
22
bootstrap.sh
22
bootstrap.sh
|
@ -128,28 +128,6 @@ create_daemon_users(){
|
|||
install(){
|
||||
echo -e ""$BLUE_UL"Welcome to the nix-darwin installer!"$ESC""
|
||||
|
||||
# Prompt for nix package upgrade
|
||||
echo -e "Ensuring "$YELLOW"nixpkgs"$ESC" version meets requirements..."
|
||||
echo -e "To do this, the following will be run to upgrade the "$YELLOW"nix"$ESC" package:"
|
||||
echo -e ""$YELLOW"nix-env -iA nixpkgs.nix"$ESC"\n"
|
||||
echo "If you have a recent install of Nix, this may not be necessary, but should not cause any harm to run"
|
||||
while true ; do
|
||||
read -p "Would you like to upgrade? [y/n] " ANSWER
|
||||
case $ANSWER in
|
||||
y|Y)
|
||||
echo "Proceeding with upgrade..."
|
||||
nix-env -iA nixpkgs.nix || exit
|
||||
break
|
||||
;;
|
||||
n|N)
|
||||
echo "Proceeding without upgrade..."
|
||||
break
|
||||
;;
|
||||
*)
|
||||
echo "Please answer 'y' or 'n'..."
|
||||
esac
|
||||
done
|
||||
|
||||
sudo_prompt || exit
|
||||
|
||||
# Link run directory
|
||||
|
|
Loading…
Reference in a new issue