summaryrefslogtreecommitdiff
path: root/custom/uucp-mediaserver
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-05 22:16:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-05 22:16:43 +0200
commitbca5bf0b1d84d7265f000823407845e2f253ead0 (patch)
tree2a554fc9508f9ca6368c6cfa7406b355757e0413 /custom/uucp-mediaserver
parentd1a3ace48e8165c40f4408558babc0f5c994b8d5 (diff)
downloadnixos-bca5bf0b1d84d7265f000823407845e2f253ead0.tar
nixos-bca5bf0b1d84d7265f000823407845e2f253ead0.tar.gz
nixos-bca5bf0b1d84d7265f000823407845e2f253ead0.tar.bz2
nixos-bca5bf0b1d84d7265f000823407845e2f253ead0.tar.xz
nixos-bca5bf0b1d84d7265f000823407845e2f253ead0.zip
Diffstat (limited to 'custom/uucp-mediaserver')
-rw-r--r--custom/uucp-mediaserver/scripts.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/custom/uucp-mediaserver/scripts.nix b/custom/uucp-mediaserver/scripts.nix
index 4492dd36..1766f1b2 100644
--- a/custom/uucp-mediaserver/scripts.nix
+++ b/custom/uucp-mediaserver/scripts.nix
@@ -17,6 +17,7 @@ in stdenv.mkDerivation {
17 phases = [ "unpackPhase" "buildPhase" "installPhase" ]; 17 phases = [ "unpackPhase" "buildPhase" "installPhase" ];
18 18
19 inherit (config) queueDir; 19 inherit (config) queueDir;
20 inherit zsh;
20 21
21 buildPhase = '' 22 buildPhase = ''
22 substituteAllInPlace mediaspace 23 substituteAllInPlace mediaspace
@@ -27,11 +28,11 @@ in stdenv.mkDerivation {
27 ''; 28 '';
28 29
29 installPhase = '' 30 installPhase = ''
30 mkdir -p $out/libexec 31 mkdir -p $out/libexec
31 32
32 install -m 755 -t $out/libexec mediaspace queue queuesize queuestatus update-queuesize 33 install -m 755 -t $out/libexec mediaspace queue queuesize queuestatus update-queuesize
33 34
34 mkdir -p $out/bin 35 mkdir -p $out/bin
35 36
36 ${concatStringsSep "\n" (map mkSymlinks config.remoteNodes)} 37 ${concatStringsSep "\n" (map mkSymlinks config.remoteNodes)}
37 ''; 38 '';