nix: add confDir argument
This commit is contained in:
parent
5e5d16f425
commit
8bb7328300
@ -3,6 +3,7 @@
|
|||||||
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
|
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
|
||||||
, storeDir ? "/nix/store"
|
, storeDir ? "/nix/store"
|
||||||
, stateDir ? "/nix/var"
|
, stateDir ? "/nix/var"
|
||||||
|
, confDir ? "/etc"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -43,7 +44,7 @@ let
|
|||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-store-dir=${storeDir}"
|
[ "--with-store-dir=${storeDir}"
|
||||||
"--localstatedir=${stateDir}"
|
"--localstatedir=${stateDir}"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=${confDir}"
|
||||||
"--disable-init-state"
|
"--disable-init-state"
|
||||||
"--enable-gc"
|
"--enable-gc"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user