From 4a56effdfbe2ec908bc4c48c6f0e12abe29f2201 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 15 Sep 2020 10:03:50 +0200 Subject: [PATCH] =?UTF-8?q?redo-sh:=202.0.3=20=E2=86=92=204.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Additional changes: * Change platforms from linux to unix. redo-sh should run as long as stdenv.shell is a bourne shell. * Explicitly pass coreutils as a dependency so it can be overriden to use, say busybox. --- .../tools/build-managers/redo-sh/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/build-managers/redo-sh/default.nix b/pkgs/development/tools/build-managers/redo-sh/default.nix index d8c6cdf18888..315b74b820e5 100644 --- a/pkgs/development/tools/build-managers/redo-sh/default.nix +++ b/pkgs/development/tools/build-managers/redo-sh/default.nix @@ -1,12 +1,12 @@ -{ stdenv, fetchurl, makeWrapper }: +{ stdenv, fetchurl, makeWrapper, coreutils }: stdenv.mkDerivation { - version = "2.0.3"; + version = "4.0.3"; pname = "redo-sh"; src = fetchurl { url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz"; - sha256 = "1ycx3hik7vnlbwxacn1dzr48fwsn2ials0sg6k9l3gcyrha5wf1n"; + sha256 = "1n84ld4fihqa7a6kn3f177dknz89qcvissfwz1m21bwdq950avia"; }; buildInputs = [ makeWrapper ]; @@ -17,7 +17,7 @@ stdenv.mkDerivation { mv man "$out/share" mv bin "$out" for p in $out/bin/*; do - wrapProgram "$p" --suffix PATH : "$out/bin" + wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin" done ''; @@ -25,7 +25,7 @@ stdenv.mkDerivation { description = "Redo implementation in Bourne Shell"; homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html"; license = licenses.agpl3; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ sternenseemann ]; }; }