Merge pull request #114976 from siraben/darwin-mass-fix-buildInputs=0
This commit is contained in:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [
|
||||
"-C sources"
|
||||
"CC=${stdenv.cc}/bin/cc"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
@@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A portable Forth compiler";
|
||||
homepage = "https://thebeez.home.xs4all.nl/4tH/index.html";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/cseed/arachne-pnr";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ shell thoughtpolice ];
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -63,6 +63,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
maintainers = [ lib.maintainers.peti ];
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -70,5 +70,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://www.cs.kent.ac.uk/people/staff/dat/miranda/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin $out/share/mu
|
||||
cp -r lib $out/share/mu
|
||||
gcc -O3 -o $out/bin/mu-unwrapped bootstrap/mu64.c
|
||||
${stdenv.cc.targetPrefix}cc -o $out/bin/mu-unwrapped bootstrap/mu64.c
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/nickmqb/muon";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildPhase = ''
|
||||
# according to official documentation
|
||||
cc rasm_v*.c -O2 -lm -lrt -o rasm
|
||||
${stdenv.cc.targetPrefix}cc rasm_v*.c -O2 -lm -o rasm
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
|
||||
# use -n option to display all licenses
|
||||
license = licenses.mit; # expat version
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||
sha256 = "1bns9wgn5i1ahj19qx7v1wwdy8ca3q3pigxwznm5nywsw7s7lqxs";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'g++' '${stdenv.cc.targetPrefix}c++'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv serpent $out/bin
|
||||
@@ -33,6 +37,6 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/ethereum/wiki/wiki/Serpent";
|
||||
license = with licenses; [ wtfpl ];
|
||||
maintainers = with maintainers; [ chris-martin ];
|
||||
platforms = with platforms; linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user