commit 7953161fb4f1782cf752e270679653e3302d3638
parent d12d46871b4863b3635df4dab7372dbd7a153437
Author: Tomas Hlavaty <tom@logand.com>
Date: Tue, 10 Sep 2019 23:53:55 +0200
integer expression was expected
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README
@@ -144,7 +144,7 @@ hw/default.nix can look something like this:
pkgs.writeScriptBin "deploy-${name}" ''
#!${pkgs.bash}/bin/bash
set -euo pipefail
- if test ${name} -eq $(hostname -s); then
+ if test ${name} == $(hostname -s); then
exec ${local name nixpkgs}
else
exec ${remote name nixpkgs}