Fix hsc2hs cross compiler build
This commit is contained in:
parent
8012aee0a7
commit
9dadb9e3cb
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# build-tools
|
# build-tools
|
||||||
, bootPkgs, alex, happy
|
, bootPkgs, alex, happy
|
||||||
, autoconf, automake, coreutils, fetchurl, perl, python3
|
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3
|
||||||
|
|
||||||
, libffi, libiconv ? null, ncurses
|
, libffi, libiconv ? null, ncurses
|
||||||
|
|
||||||
@ -81,6 +81,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
patches = [(fetchpatch {
|
||||||
|
url = "https://git.haskell.org/hsc2hs.git/patch/738f3666c878ee9e79c3d5e819ef8b3460288edf";
|
||||||
|
sha256 = "0plzsbfaq6vb1023lsarrjglwgr9chld4q3m99rcfzx0yx5mibp3";
|
||||||
|
extraPrefix = "utils/hsc2hs/";
|
||||||
|
stripLen = 1;
|
||||||
|
})];
|
||||||
|
|
||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
# GHC is a bit confused on its cross terminology.
|
# GHC is a bit confused on its cross terminology.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user