mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 23:31:44 +00:00
add a default package
This commit is contained in:
parent
963594d8d8
commit
e51da67371
17
flake.nix
17
flake.nix
@ -50,6 +50,23 @@
|
||||
packages.tools = pkgs.retro68.tools;
|
||||
packages.hfsutils = pkgs.retro68.hfsutils;
|
||||
|
||||
packages.default = pkgs.runCommand "Retro68" {} ''
|
||||
mkdir $out
|
||||
mkdir $out/m68k-apple-macos
|
||||
mkdir $out/powerpc-apple-macos
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${self'.legacyPackages.crossPkgs.m68k.retro68.libretro}/. $out/m68k-apple-macos
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${self'.legacyPackages.crossPkgs.m68k.retro68.multiversal}/. $out/m68k-apple-macos
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${self'.legacyPackages.crossPkgs.powerpc.retro68.libretro}/. $out/powerpc-apple-macos
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${self'.legacyPackages.crossPkgs.powerpc.retro68.multiversal}/. $out/powerpc-apple-macos
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${pkgs.retro68.tools}/. $out
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${pkgs.retro68.hfsutils}/. $out
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${pkgs.cmake}/. $out
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${pkgs.gnumake}/. $out
|
||||
${pkgs.xorg.lndir}/bin/lndir -silent ${pkgs.ninja}/. $out
|
||||
|
||||
${pkgs.rsync}/bin/rsync -a ${self'.legacyPackages.crossPkgs.m68k.buildPackages.retro68.gcc_unwrapped}/. $out
|
||||
${pkgs.rsync}/bin/rsync -a ${self'.legacyPackages.crossPkgs.powerpc.buildPackages.retro68.gcc_unwrapped}/. $out
|
||||
'';
|
||||
};
|
||||
flake = {
|
||||
overlays.default =
|
||||
|
Loading…
Reference in New Issue
Block a user