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

View file

@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
'';
configurePhase = ''
export PREFIX=$out
'';
makeFlags = ["PREFIX=$(out)"];
postInstall = ''
mkdir -p $out/share/dirt/
cp -r samples $out/share/dirt/