Merge pull request #195964 from SuperSandro2000/myrddin
This commit is contained in:
commit
f685147cd6
@ -4,7 +4,6 @@
|
||||
, pkg-config
|
||||
, bison
|
||||
, binutils
|
||||
, binutils-unwrapped
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
@ -27,17 +26,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mk/c.mk \
|
||||
--replace "-Werror" ""
|
||||
--replace "-Werror" ""
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make bootstrap
|
||||
make
|
||||
make bootstrap -j$NIX_BUILD_CORES
|
||||
make -j$NIX_BUILD_CORES
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for b in $out/bin/*; do
|
||||
wrapProgram $b --prefix PATH : $out/bin:${lib.makeBinPath [ binutils ]}
|
||||
wrapProgram $b --prefix PATH : $out/bin:${lib.makeBinPath [ binutils ]}
|
||||
done
|
||||
'';
|
||||
|
||||
@ -48,12 +47,12 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
# darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/myrddin.x86_64-darwin
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
description = "Systems language that is both powerful and fun to use";
|
||||
homepage = "https://myrlang.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ luc65r ];
|
||||
platforms = platforms.all;
|
||||
# darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/myrddin.x86_64-darwin
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user