From 28b6d85e21b6f9a6e3aad4ff7a5a478fec3f5944 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 26 Oct 2019 08:49:20 -0400 Subject: fix --- breakds/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breakds/shell.nix b/breakds/shell.nix index 2f97828..af8666d 100644 --- a/breakds/shell.nix +++ b/breakds/shell.nix @@ -5,7 +5,7 @@ stdenv.mkDerivation rec { buildInputs = [ (writeShellScriptBin "hostname" '' if [[ $# -eq 1 && $1 == "-l" ]]; then - echo "special case: ${pkgs.nettools}/bin/hostname -i" + echo "special case: $(${pkgs.nettools}/bin/hostname -i)" else ${pkgs.nettools}/bin/hostname "$@" fi -- cgit v1.2.3