summaryrefslogtreecommitdiff
path: root/modules/system/checks.nix
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2025-01-14 01:47:14 +0000
committerGitHub <noreply@github.com>2025-01-14 01:47:14 +0000
commitbd921223ba7cdac346477d7ea5204d6f4736fcc6 (patch)
treeb4e86959c9a0813cce116103f8b2d75ce21a3f4d /modules/system/checks.nix
parent6ace2f2d12bdf74235d5cbf9fbd34a71c9716685 (diff)
parente33d37c41f8040631f0cc16b032a1cf214aeeb4e (diff)
Merge pull request #1259 from emilazy/push-xztopxsynztu
Make release branches a thing
Diffstat (limited to 'modules/system/checks.nix')
-rw-r--r--modules/system/checks.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/checks.nix b/modules/system/checks.nix
index 57ddfd2..a5fd44a 100644
--- a/modules/system/checks.nix
+++ b/modules/system/checks.nix
@@ -211,8 +211,8 @@ let
if ! test -e "$darwinPath"; then
echo "error: Changed <darwin> but target does not exist, aborting activation" >&2
echo "Add the darwin repo as a channel or set nix.nixPath:" >&2
- echo "$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin" >&2
- echo "$ nix-channel --update" >&2
+ echo "$ sudo nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin" >&2
+ echo "$ sudo nix-channel --update" >&2
echo >&2
echo "or set" >&2
echo >&2
@@ -225,8 +225,8 @@ let
if ! test -e "$nixpkgsPath"; then
echo "error: Changed <nixpkgs> but target does not exist, aborting activation" >&2
echo "Add a nixpkgs channel or set nix.nixPath:" >&2
- echo "$ nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixpkgs" >&2
- echo "$ nix-channel --update" >&2
+ echo "$ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixpkgs" >&2
+ echo "$ sudo nix-channel --update" >&2
echo >&2
echo "or set" >&2
echo >&2