mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
remove superflous $echo
This commit is contained in:
parent
b8f10c7529
commit
08d96609a7
|
@ -1,4 +1,4 @@
|
||||||
{ lib, resholve, fetchurl, runtimeShell, curl }:
|
{ lib, resholve, fetchurl, bash, curl }:
|
||||||
|
|
||||||
resholve.mkDerivation {
|
resholve.mkDerivation {
|
||||||
pname = "ix";
|
pname = "ix";
|
||||||
|
@ -15,15 +15,16 @@ resholve.mkDerivation {
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm555 $src $out/bin/ix
|
install -Dm555 $src $out/bin/ix
|
||||||
|
substituteInPlace $out/bin/ix \
|
||||||
|
--replace '$echo ' ""
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
solutions.default = {
|
solutions.default = {
|
||||||
scripts = [ "bin/ix" ];
|
scripts = [ "bin/ix" ];
|
||||||
interpreter = runtimeShell;
|
interpreter = "${lib.getBin bash}/bin/bash";
|
||||||
inputs = [ curl ];
|
inputs = [ curl ];
|
||||||
keep."$echo" = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue