mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03: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
@ -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 New Issue
Block a user