dirt: export PREFIX as makeFlags instead

This commit is contained in:
Jörg Thalheim 2018-01-01 14:52:57 +00:00
parent 638c01773d
commit eebcc66b91
1 changed files with 1 additions and 3 deletions

View File

@ -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/