Unverified Commit 76317806 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

Merge pull request #304784 from zlepper/remove-bash-runtime-dep-from-libicu

icu: refactor to avoid runtime dependency on bash
parents 638b802e 86e6c52b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -453,6 +453,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m

- The `erlang-ls` package no longer ships the `els_dap` binary as of v0.51.0.

- `icu` no longer includes `install-sh` and `mkinstalldirs` in the shared folder.

## Other Notable Changes {#sec-release-24.05-notable-changes}

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+2 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ let
        { from = "\${pkglibdir}/pkgdata.inc"; to = "${placeholder "dev"}/lib/icu/pkgdata.inc"; } # --incpkgdatafile
      ];
    in ''
      rm $out/share/icu/${version}/install-sh $out/share/icu/${version}/mkinstalldirs # Avoid having a runtime dependency on bash

      substituteInPlace "$dev/bin/icu-config" \
        ${lib.concatMapStringsSep " " (r: "--replace '${r.from}' '${r.to}'") replacements}
    '');