summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/Reaktor/plugins.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-06-13 02:04:22 +0200
committertv <tv@krebsco.de>2016-06-13 02:10:02 +0200
commita16f4383142403eab145a8d147e5c9c93309ba4f (patch)
tree160727b414ea864b2a5018e940952ff10c95f3af /krebs/5pkgs/Reaktor/plugins.nix
parentfb226f349843c080d6c81b60301a3a93977b99a4 (diff)
sprinkle with some write{B,D}ash
Diffstat (limited to 'krebs/5pkgs/Reaktor/plugins.nix')
-rw-r--r--krebs/5pkgs/Reaktor/plugins.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/krebs/5pkgs/Reaktor/plugins.nix b/krebs/5pkgs/Reaktor/plugins.nix
index 0f61688e3..a483db32c 100644
--- a/krebs/5pkgs/Reaktor/plugins.nix
+++ b/krebs/5pkgs/Reaktor/plugins.nix
@@ -74,8 +74,7 @@ rec {
};
nixos-version = buildSimpleReaktorPlugin "nixos-version" {
- script = pkgs.writeScript "nixos-version" ''
- #! /bin/sh
+ script = pkgs.writeDash "nixos-version" ''
. /etc/os-release
echo "$PRETTY_NAME"
'';