Skip to content

Commit 4786ce0

Browse files
committed
Fix for ghcjs
1 parent c05123a commit 4786ce0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

overlays/ghcjs.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ final: prev:
2424
shift
2525
${final.buildPackages.nodejs-12_x}/bin/node $exe $@
2626
'') + "/bin/node-wrapper")];
27+
packages.unix.components.library.preConfigure = ''
28+
cp ${./patches/config.sub} config.sub
29+
cp ${./patches/config.guess} config.guess
30+
chmod +w config.*
31+
'';
2732
})
2833
);
2934
});

0 commit comments

Comments
 (0)