nix: add confDir argument

wip/yesman
Zero King 7 years ago
parent 5e5d16f425
commit 8bb7328300
  1. 3
      pkgs/tools/package-management/nix/default.nix

@ -3,6 +3,7 @@
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
, confDir ? "/etc"
}:
let
@ -43,7 +44,7 @@ let
configureFlags =
[ "--with-store-dir=${storeDir}"
"--localstatedir=${stateDir}"
"--sysconfdir=/etc"
"--sysconfdir=${confDir}"
"--disable-init-state"
"--enable-gc"
]

Loading…
Cancel
Save