diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-08-21 14:05:48 -0700 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2022-03-28 18:50:08 -0700 |
commit | 492a60230cbebee424ce8d70c20d4f5012791dfa (patch) | |
tree | 4b681c9a2c9c8082f13482314c2418f0013efc9c /pkgs/desktops/cdesktopenv | |
parent | cc83bad887fec116d435e1d9e977883afc54dd55 (diff) |
cdesktopenv: binutils 2.37 fix
Co-authored-by: TredwellGit <tredwell@tutanota.com>
Diffstat (limited to 'pkgs/desktops/cdesktopenv')
-rw-r--r-- | pkgs/desktops/cdesktopenv/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/desktops/cdesktopenv/default.nix b/pkgs/desktops/cdesktopenv/default.nix index 77650e71ebe9b..b506ed3663b91 100644 --- a/pkgs/desktops/cdesktopenv/default.nix +++ b/pkgs/desktops/cdesktopenv/default.nix @@ -56,6 +56,19 @@ in stdenv.mkDerivation rec { "LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive" ]; + preConfigure = '' + # binutils 2.37 fix + fixupList=( + "config/cf/Imake.tmpl" + "config/util/crayar.sh" + "config/util/crayar.sh" + "programs/dtwm/Makefile.tmpl" + ) + for toFix in "''${fixupList[@]}"; do + substituteInPlace "$toFix" --replace "clq" "cq" + done + ''; + preBuild = '' while IFS= read -r -d ''$'\0' i; do substituteInPlace "$i" --replace /usr/dt $out/opt/dt |