remove superflous $echo

This commit is contained in:
Peter Hoeg 2022-07-21 09:55:12 +08:00
parent b8f10c7529
commit 08d96609a7

View file

@ -1,4 +1,4 @@
{ lib, resholve, fetchurl, runtimeShell, curl }:
{ lib, resholve, fetchurl, bash, curl }:
resholve.mkDerivation {
pname = "ix";
@ -15,15 +15,16 @@ resholve.mkDerivation {
runHook preInstall
install -Dm555 $src $out/bin/ix
substituteInPlace $out/bin/ix \
--replace '$echo ' ""
runHook postInstall
'';
solutions.default = {
scripts = [ "bin/ix" ];
interpreter = runtimeShell;
interpreter = "${lib.getBin bash}/bin/bash";
inputs = [ curl ];
keep."$echo" = true;
};
meta = with lib; {