Merge pull request #115424 from siraben/darwin-mass-fix-buildInputs=0

This commit is contained in:
Sandro
2021-03-09 21:14:38 +01:00
committed by GitHub
17 changed files with 45 additions and 28 deletions

View File

@@ -20,6 +20,6 @@ stdenv.mkDerivation {
description = "A linear logic programming language for modeling generative interactive systems";
homepage = "https://github.com/chrisamaphone/interactive-lp";
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
platforms = platforms.unix;
};
}

View File

@@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
sha256 = "19szwxzvl2g65fw95ggvb8h0ma5bd9vvnnccn59hwnc4dida1x4n";
};
postPatch = ''
substituteInPlace Makefile.sharedlibrary \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc' \
--replace 'g++' '${stdenv.cc.targetPrefix}c++'
substituteInPlace Makefile.cmdline \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc' \
--replace 'g++' '${stdenv.cc.targetPrefix}c++'
'';
buildPhase = ''
make -f Makefile.sharedlibrary
make -f Makefile.cmdline
@@ -27,6 +35,6 @@ stdenv.mkDerivation rec {
downloadPage = "https://duktape.org/download.html";
license = licenses.mit;
maintainers = [ maintainers.fgaz ];
platforms = platforms.linux;
platforms = platforms.all;
};
}