forked from mirrors/nixpkgs
* Set Nova's state path to /var/lib/nova.
svn path=/nixpkgs/branches/modular-python/; revision=26609
This commit is contained in:
parent
83b4c9cd8f
commit
fc99d84ef2
|
@ -24,7 +24,14 @@ stdenv.mkDerivation rec {
|
|||
intltool
|
||||
] ++ pythonPath;
|
||||
|
||||
preConfigure = "export HOME=$(pwd)";
|
||||
preConfigure =
|
||||
''
|
||||
export HOME=$(pwd)
|
||||
|
||||
# Set the built-in state location to something sensible.
|
||||
sed -i nova/flags.py \
|
||||
-e "/DEFINE.*'state_path'/ s|../|/var/lib/nova|"
|
||||
'';
|
||||
|
||||
buildPhase = "python setup.py build";
|
||||
|
||||
|
|
Loading…
Reference in a new issue