diff options
author | Emily Trau <emily@downunderctf.com> | 2023-05-22 19:01:50 +1000 |
---|---|---|
committer | Emily Trau <emily@downunderctf.com> | 2023-05-23 09:36:02 +1000 |
commit | 5a4800d69c361b2a21d930b8fd336ea7ba761f84 (patch) | |
tree | bbe51525a35870a15a9eb471157c9475961beb87 /pkgs/os-specific/linux/minimal-bootstrap | |
parent | e215adf3b8cf2acbbd2e1c9a869da13d005b4ddf (diff) | |
download | nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar.gz nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar.bz2 nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar.lz nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar.xz nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.tar.zst nixlib-5a4800d69c361b2a21d930b8fd336ea7ba761f84.zip |
minimal-bootstrap.coreutils: backport `uniq` stdio patch
Diffstat (limited to 'pkgs/os-specific/linux/minimal-bootstrap')
-rw-r--r-- | pkgs/os-specific/linux/minimal-bootstrap/coreutils/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/coreutils/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/coreutils/default.nix index b7876b0939f5..eb4fe9bcf993 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/coreutils/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/coreutils/default.nix @@ -15,8 +15,8 @@ let }; # Thanks to the live-bootstrap project! - # See https://github.com/fosslinux/live-bootstrap/blob/e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/coreutils-5.0.kaem - liveBootstrap = "https://github.com/fosslinux/live-bootstrap/raw/e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0"; + # See https://github.com/fosslinux/live-bootstrap/blob/a8752029f60217a5c41c548b16f5cdd2a1a0e0db/sysa/coreutils-5.0/coreutils-5.0.kaem + liveBootstrap = "https://github.com/fosslinux/live-bootstrap/raw/a8752029f60217a5c41c548b16f5cdd2a1a0e0db/sysa/coreutils-5.0"; makefile = fetchurl { url = "${liveBootstrap}/mk/main.mk"; @@ -63,6 +63,11 @@ let url = "${liveBootstrap}/patches/sort-locale.patch"; sha256 = "0bdch18mpyyxyl6gyqfs0wb4pap9flr11izqdyxccx1hhz0a2i6c"; }) + # don't assume fopen cannot return stdin or stdout. + (fetchurl { + url = "${liveBootstrap}/patches/uniq-fopen.patch"; + sha256 = "0qs6shyxl9j4h34v5j5sgpxrr4gjfljd2hxzw416ghwc3xzv63fp"; + }) ]; in kaem.runCommand "${pname}-${version}" { |