summaryrefslogtreecommitdiffstats
path: root/tv/1systems/nomic.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 /tv/1systems/nomic.nix
parentfb226f349843c080d6c81b60301a3a93977b99a4 (diff)
sprinkle with some write{B,D}ash
Diffstat (limited to 'tv/1systems/nomic.nix')
-rw-r--r--tv/1systems/nomic.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/tv/1systems/nomic.nix b/tv/1systems/nomic.nix
index fed67a105..3696bcdfc 100644
--- a/tv/1systems/nomic.nix
+++ b/tv/1systems/nomic.nix
@@ -47,8 +47,7 @@ with config.krebs.lib;
boot.tmpOnTmpfs = true;
environment.systemPackages = with pkgs; [
- (writeScriptBin "play" ''
- #! /bin/sh
+ (writeDashBin "play" ''
set -euf
mpv() { exec ${mpv}/bin/mpv "$@"; }
case $1 in