From af479a67b7c11350bafa65b3f3441640a32f033c Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Fri, 6 Jun 2014 18:06:03 -0400 Subject: [PATCH] Fix xpwn on Darwin and other case-insensitive file systems --- pkgs/development/mobile/xpwn/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/mobile/xpwn/default.nix b/pkgs/development/mobile/xpwn/default.nix index b248107141f..049595c49a5 100644 --- a/pkgs/development/mobile/xpwn/default.nix +++ b/pkgs/development/mobile/xpwn/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation { }; preConfigure = '' + rm BUILD # otherwise `mkdir build` fails on case insensitive file systems sed -r -i \ -e 's/(install.*TARGET.*DESTINATION )\.\)/\1bin)/' \ -e 's!(install.*(FILE|DIR).*DESTINATION )([^)]*)!\1share/xpwn/\3!' \