diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-01 08:21:27 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-01 09:58:49 -0600 |
| commit | 7b329b833ec3f63b0195369e76b86cca1e5e3ad6 (patch) | |
| tree | 99b906a05bd41dca6f635adf7e4ae7da6640e3c2 /nix/flake.nix | |
| parent | 58dd2e9725b7ba05238f12a4432a83740eff7511 (diff) | |
nix: patch binutils to disable instruction support check GNU as
Diffstat (limited to 'nix/flake.nix')
| -rw-r--r-- | nix/flake.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nix/flake.nix b/nix/flake.nix index 99ccbdc..25eac80 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -32,6 +32,21 @@ baseConfig = "taller_defconfig"; }; }; + + # Tomó mucho conseguir esta expresión: horas de leer nixpkgs, prueba y error + crossOverlays = [ + (final: prev: { + stdenv = prev.stdenvAdapters.overrideCC prev.stdenv (prev.stdenv.cc.override { + bintools = prev.stdenv.cc.bintools.override { + bintools = prev.stdenv.cc.bintools.bintools.overrideAttrs (prev: { + patches = prev.patches ++ [ + ./gas-config-tc-arm-disable-instruction-support-check.patch + ]; + }); + }; + }); + }) + ]; }; in { |
