mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
lxc: set rootfs path somewhere outside /nix/store
This commit fixes lxc to eventually work
This commit is contained in:
parent
d54a805281
commit
c7e94de91f
@ -14,10 +14,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./install-localstatedir-in-store.patch ./support-db2x.patch ];
|
||||
|
||||
preConfigure = "export XML_CATALOG_FILES=${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml";
|
||||
preConfigure = ''
|
||||
export XML_CATALOG_FILES=${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml
|
||||
substituteInPlace doc/rootfs/Makefile.am --replace '@LXCROOTFSMOUNT@' '$out/lib/lxc/rootfs'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--with-rootfs-path=/var/lib/lxc/rootfs"
|
||||
"--enable-doc"
|
||||
"--enable-tests"
|
||||
"--enable-apparmor"
|
||||
|
Loading…
Reference in New Issue
Block a user