Skip to content

Commit eda37e1

Browse files
Nix: Add cross binutils
1 parent 2bdacfe commit eda37e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
pcsx-redux = pkgs.callPackage ./pcsx-redux.nix {
3737
src = self;
3838
platforms = lib.systems.flakeExposed;
39-
gccMips = cross.buildPackages.gccWithoutTargetLibc.cc; # unwrapped
39+
gccMips = cross.buildPackages.gccWithoutTargetLibc;
4040
};
4141
});
4242

pcsx-redux.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ in stdenv.mkDerivation {
118118
nativeBuildInputs = [
119119
pkg-config
120120
imagemagick
121-
gccMips
121+
] ++ lib.optionals withOpenbios [
122+
# unwrap them
123+
gccMips.cc
124+
gccMips.bintools.bintools
122125
];
123126

124127
buildInputs = [

0 commit comments

Comments
 (0)