From eebcc66b913cf8abe0050dc3154f97a1463ee3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 1 Jan 2018 14:52:57 +0000 Subject: [PATCH] dirt: export PREFIX as makeFlags instead --- pkgs/applications/audio/dirt/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/audio/dirt/default.nix b/pkgs/applications/audio/dirt/default.nix index c50f85e96ae..6d56f53bd16 100644 --- a/pkgs/applications/audio/dirt/default.nix +++ b/pkgs/applications/audio/dirt/default.nix @@ -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/