diff --git a/pkgs/misc/emulators/wine/staging.nix b/pkgs/misc/emulators/wine/staging.nix index abfc4f832a3b..c6bdb4012457 100644 --- a/pkgs/misc/emulators/wine/staging.nix +++ b/pkgs/misc/emulators/wine/staging.nix @@ -12,7 +12,7 @@ in assert lib.getVersion wineUnstable == patch.version; name = "${self.name}-staging"; - postPatch = self.postPatch or "" + '' + prePatch = self.prePatch or "" + '' patchShebangs tools cp -r ${patch}/patches . chmod +w patches