|
|
@ -1,6 +1,6 @@ |
|
|
|
let |
|
|
|
let |
|
|
|
pkgs = import <nixpkgs> {}; |
|
|
|
pkgs = import <nixpkgs> {}; |
|
|
|
devkitppc-img = pkgs.dockerTools.pullImage { |
|
|
|
image = pkgs.dockerTools.pullImage { |
|
|
|
imageName = "devkitpro/devkitppc"; |
|
|
|
imageName = "devkitpro/devkitppc"; |
|
|
|
imageDigest = "sha256:d88e21c1a7b5f8070ba7a15aa892e395f118ded9803b0f8223a3d29ba279fff3"; |
|
|
|
imageDigest = "sha256:d88e21c1a7b5f8070ba7a15aa892e395f118ded9803b0f8223a3d29ba279fff3"; |
|
|
|
sha256 = "nVtz/9mbYveKbvTMj/39EzND7qiLkjBHfqSOgT6SBUY="; |
|
|
|
sha256 = "nVtz/9mbYveKbvTMj/39EzND7qiLkjBHfqSOgT6SBUY="; |
|
|
@ -10,11 +10,7 @@ let |
|
|
|
in { |
|
|
|
in { |
|
|
|
devkitppc = pkgs.stdenv.mkDerivation { |
|
|
|
devkitppc = pkgs.stdenv.mkDerivation { |
|
|
|
name = "devkitppc"; |
|
|
|
name = "devkitppc"; |
|
|
|
src = import ./extract-docker.nix { |
|
|
|
src = import ./extract-docker.nix pkgs image "/opt/devkitpro"; |
|
|
|
pkgs = pkgs; |
|
|
|
|
|
|
|
image = devkitppc-img; |
|
|
|
|
|
|
|
directory = "/opt/devkitpro"; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
nativeBuildInputs = [ |
|
|
|
pkgs.autoPatchelfHook |
|
|
|
pkgs.autoPatchelfHook |
|
|
|
]; |
|
|
|
]; |
|
|
|