dirt: export PREFIX as makeFlags instead
This commit is contained in:
parent
638c01773d
commit
eebcc66b91
|
@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
|
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
|
||||||
'';
|
'';
|
||||||
configurePhase = ''
|
makeFlags = ["PREFIX=$(out)"];
|
||||||
export PREFIX=$out
|
|
||||||
'';
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/dirt/
|
mkdir -p $out/share/dirt/
|
||||||
cp -r samples $out/share/dirt/
|
cp -r samples $out/share/dirt/
|
||||||
|
|
Loading…
Reference in New Issue