From bf230536e0b8a86ad1b48f6eefa76a7d0f47dbeb Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 24 May 2017 02:07:45 +0300 Subject: [PATCH] wineStaging: fix patching in nix-shell --- pkgs/misc/emulators/wine/staging.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/emulators/wine/staging.nix b/pkgs/misc/emulators/wine/staging.nix index 51af13b8a157..4a7fe0ff55b6 100644 --- a/pkgs/misc/emulators/wine/staging.nix +++ b/pkgs/misc/emulators/wine/staging.nix @@ -18,7 +18,7 @@ stdenv.lib.overrideDerivation wineUnstable (self: { chmod +w patches cd patches patchShebangs gitapply.sh - ./patchinstall.sh DESTDIR="$TMP/$sourceRoot" --all + ./patchinstall.sh DESTDIR="$PWD/.." --all cd .. ''; })