mlton: fix and enable strictDeps (#362408)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
patchelf,
|
||||
bash,
|
||||
gmp,
|
||||
}:
|
||||
let
|
||||
@@ -41,8 +42,12 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
buildInputs = [
|
||||
bash
|
||||
gmp
|
||||
];
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux patchelf;
|
||||
strictDeps = true;
|
||||
|
||||
buildPhase = ''
|
||||
make update \
|
||||
|
||||
@@ -18,13 +18,15 @@ stdenv.mkDerivation {
|
||||
inherit url rev sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
which
|
||||
mltonBootstrap
|
||||
gmp
|
||||
];
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
# build fails otherwise
|
||||
enableParallelBuilding = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user