mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Fix resolving during home-manager installion
This commit is contained in:
parent
082dcf8b93
commit
869aff3d41
1 changed files with 4 additions and 2 deletions
|
|
@ -24,8 +24,10 @@ writeScriptBin "hm-install" ''
|
||||||
${coreutils}/bin/cp -n /etc/home.nix.default $HOME/.config/nixpkgs/home.nix
|
${coreutils}/bin/cp -n /etc/home.nix.default $HOME/.config/nixpkgs/home.nix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Uninstalling basic-environment..."
|
${nix}/bin/nix-env --set-flag priority 120 basic-environment
|
||||||
${nix}/bin/nix-env --uninstall basic-environment
|
|
||||||
echo "Installing home-manager..."
|
echo "Installing home-manager..."
|
||||||
${nix}/bin/nix run nixpkgs.nix -c ${nix}/bin/nix-shell '<home-manager>' -A install
|
${nix}/bin/nix run nixpkgs.nix -c ${nix}/bin/nix-shell '<home-manager>' -A install
|
||||||
|
|
||||||
|
echo "home-manager is installed. Please, restart the session."
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue