summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2019-10-26 08:49:20 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2019-10-26 08:49:20 -0400
commit28b6d85e21b6f9a6e3aad4ff7a5a478fec3f5944 (patch)
tree00e72e7c9e0cfb1bcf0b7e578413b406fc751d9d
parentf602876c0d217aed6064519bf2e0cb4ad968e05c (diff)
fix
-rw-r--r--breakds/shell.nix2
1 files changed, 1 insertions, 1 deletions
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