summaryrefslogtreecommitdiffstats
path: root/nix-script-switch.sh
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-28 18:45:49 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-08-01 20:46:05 +0200
commitb213b8967c5657992c4f1d344afa32f72753ffb3 (patch)
treee57e77404d2c12f6fea026a3ce3a497f518c8662 /nix-script-switch.sh
parent53dd97f79c6bcca27987750a615af5cfb295455b (diff)
switch: Use RC_NIXPKGS as default nixpkgs clone
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-xnix-script-switch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index d07bd87..ffc0cac 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -15,7 +15,7 @@ usage() {
-w <path> Path to your configuration git directory (default: '$RC_CONFIG')
-n DON'T include hostname in tag name
-t <tagname> Custom tag name
- -p <pkgs> Generate the switch tag in the nixpkgs at <pkgs> as well.
+ -p <pkgs> Generate the switch tag in the nixpkgs at <pkgs> as well. (default: '$RC_NIXPKGS')
-f <tag-flags> Flags for git-tag (see 'git tag --help')
-b Do not call nixos-rebuild at all.
-h Show this help and exit
@@ -52,7 +52,7 @@ ARGS=
WD=$RC_CONFIG
TAG_NAME=
HOSTNAME="$(hostname)"
-NIXPKGS=""
+NIXPKGS=$RC_NIXPKGS
TAG_FLAGS=""
DONT_BUILD=