git.iko.soy/typeable/nixpkgs
on master help sign in
nix: add confDir argument
commit8bb7328300993dd5673c823121ee2c9670e2eed6 authorZero King <l2dy@icloud.com> dateWed 3 May 2017, 13:04 (10 years ago) parent5e5d16f
1 file changed+2−1
pkgs/tools/package-management/nix/default.nix+2−1
pkgs/tools/package-management/nix/default.nix+2−1
@@ -3,6 +3,7 @@
33, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
44, storeDir ? "/nix/store"
55, stateDir ? "/nix/var"
6+, confDir ? "/etc"
67}:
78
89let
@@ -43,7 +44,7 @@ let
4344 configureFlags =
4445 [ "--with-store-dir=${storeDir}"
4546 "--localstatedir=${stateDir}"
46− "--sysconfdir=/etc"
47+ "--sysconfdir=${confDir}"
4748 "--disable-init-state"
4849 "--enable-gc"
4950 ]