mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-31 19:30:44 +00:00
minor fixes
This commit is contained in:
parent
1559630536
commit
48c76e72a8
11
flake.nix
11
flake.nix
@ -122,7 +122,7 @@
|
||||
ln -s $out/bin/Elf2Mac $out/m68k-apple-macos/bin/ld
|
||||
'';
|
||||
}
|
||||
else binutils1;
|
||||
else retro68_binutils;
|
||||
|
||||
binutils = if pkgs.stdenv.targetPlatform ? retro68 then
|
||||
pkgs.wrapBintoolsWith {
|
||||
@ -173,7 +173,7 @@
|
||||
};
|
||||
|
||||
multiversal = with pkgs;
|
||||
(pkgs.stdenv.override { cc = stdenv.cc.override { extraPackages = []; }; }).mkDerivation {
|
||||
(stdenv.override { cc = stdenv.cc.override { extraPackages = []; }; }).mkDerivation {
|
||||
name = "multiversal";
|
||||
src = multiversal_src;
|
||||
nativeBuildInputs = [ buildPackages.ruby ];
|
||||
@ -183,8 +183,13 @@
|
||||
(cd $src && ruby make-multiverse.rb -G CIncludes -o "$build")
|
||||
mkdir $out
|
||||
cp -r CIncludes $out/include
|
||||
''
|
||||
+ (if stdenv.targetPlatform.system == "m68k-macos" then
|
||||
''
|
||||
cp -r lib68k $out/lib
|
||||
'';
|
||||
''
|
||||
else "")
|
||||
;
|
||||
meta = { platforms = [ "m68k-macos" ]; };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user