mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-01 15:41:39 +00:00
nixfmt
This commit is contained in:
parent
6258f1e0c0
commit
000fe4d712
16
default.nix
16
default.nix
|
@ -79,8 +79,7 @@ let
|
|||
};
|
||||
|
||||
# A Nixpkgs overlay.
|
||||
overlay = pkgs: prev:
|
||||
{
|
||||
overlay = pkgs: prev: {
|
||||
# ----------- Native Tools -------------
|
||||
|
||||
# hfsutils -- Utilities for manipulating HFS volumes & disk images.
|
||||
|
@ -272,14 +271,14 @@ let
|
|||
cp -r RIncludes $out/
|
||||
'' + (if stdenv.targetPlatform.system == "m68k-macos" then ''
|
||||
cp -r lib68k $out/lib
|
||||
'' else ''
|
||||
'');
|
||||
'' else
|
||||
"");
|
||||
meta = { platforms = [ "m68k-macos" ]; };
|
||||
};
|
||||
|
||||
import-libraries = with pkgs;
|
||||
if stdenvNoCC.targetPlatform != retroSystems.m68k
|
||||
then stdenvNoCC.mkDerivation {
|
||||
if stdenvNoCC.targetPlatform != retroSystems.m68k then
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "import-libraries";
|
||||
src = ./ImportLibraries;
|
||||
buildCommand = ''
|
||||
|
@ -287,7 +286,8 @@ let
|
|||
cp $src/*.a $out/lib/
|
||||
'';
|
||||
}
|
||||
else null;
|
||||
else
|
||||
null;
|
||||
|
||||
libretro = with pkgs;
|
||||
let
|
||||
|
@ -342,4 +342,4 @@ let
|
|||
[ pkgs.hfsutils pkgs.retro68_tools pkgs.cmake pkgs.gnumake ];
|
||||
} // cross) crossPkgs;
|
||||
|
||||
in shell.m68k // shell // { inherit overlay; }
|
||||
in shell.m68k // shell // { inherit overlay; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user