summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-28 18:10:39 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-08-01 20:46:05 +0200
commit08fccd8ecabc56cdffcbe02e443860ed50f930b6 (patch)
treeee7e4e1d770ce1bda0efed06100125eb2a4a7414
parente35ed772509c1026f2743c8290f297c809812a2c (diff)
Add support for RC_NIXPKGS as default nixpkgs path
-rwxr-xr-xnix-script-update-package-def.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-script-update-package-def.sh b/nix-script-update-package-def.sh
index 0903798..6966741 100755
--- a/nix-script-update-package-def.sh
+++ b/nix-script-update-package-def.sh
@@ -17,7 +17,7 @@ usage() {
-y Don't ask before executing things (optional) (not implemented yet)
-b Also test-build the package (optional)
-u <url> Download and apply this url
- -g <path> Path of nixpkgs clone (defaults to ./)
+ -g <path> Path of nixpkgs clone (Default: '$RC_NIXPKGS')
-c Don't check out another branch for update
-d Don't checkout base branch after successfull run.
-h Show this help and exit
@@ -53,7 +53,7 @@ EOS
YES=0
TESTBUILD=0
-NIXPKGS=
+NIXPKGS=$RC_NIXPKGS
URL=
CHECKOUT=1
DONT_CHECKOUT_BASE=