mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Revert "Add function to build a ghc standalone archive (OSX/iOS only)"
Partial revert of accidental changes.
This reverts commit 4f9f00fcc9
.
This commit is contained in:
parent
4f9f00fcc9
commit
46bec22f66
1 changed files with 1 additions and 12 deletions
|
@ -85,17 +85,8 @@ in stdenv.mkDerivation (rec {
|
|||
} // stdenv.lib.optionalAttrs (cross != null) {
|
||||
name = "${cross.config}-ghc-${version}";
|
||||
|
||||
patches = [ ./ios-linker.patch ];
|
||||
|
||||
preConfigure = commonPreConfigure + ''
|
||||
sed 's|#BuildFlavour = quick-cross|BuildFlavour = quick-cross|' mk/build.mk.sample > mk/build.mk
|
||||
echo "GhcRtsCcOpts = -glldb -Og" >> mk/build.mk
|
||||
'';
|
||||
|
||||
postUnpack = ''
|
||||
mkdir -p $out/nix-support
|
||||
mv $sourceRoot $out/nix-support/source
|
||||
sourceRoot=$out/nix-support/source
|
||||
sed 's|#BuildFlavour = quick-cross|BuildFlavour = perf-cross|' mk/build.mk.sample > mk/build.mk
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
@ -112,8 +103,6 @@ in stdenv.mkDerivation (rec {
|
|||
|
||||
dontSetConfigureCross = true;
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
passthru = {
|
||||
inherit bootPkgs cross;
|
||||
|
||||
|
|
Loading…
Reference in a new issue