From 08d96609a7e33e04199db4b9f571086bade7fb43 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 21 Jul 2022 09:55:12 +0800 Subject: [PATCH] remove superflous $echo --- pkgs/tools/misc/ix/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/ix/default.nix b/pkgs/tools/misc/ix/default.nix index 5aba9536786a..87ea0f4e5c87 100644 --- a/pkgs/tools/misc/ix/default.nix +++ b/pkgs/tools/misc/ix/default.nix @@ -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; {