summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/Reaktor/stockholmLentil.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-09-26 12:15:08 +0200
committerlassulus <lass@aidsballs.de>2015-09-26 12:15:08 +0200
commite97401da8a402698411b77e88b4a32d388c2ab6f (patch)
tree0194197f0b8fb097213e36e9e51c507ea7328ff0 /makefu/2configs/Reaktor/stockholmLentil.nix
parent5165f8e47fc6b0f18d1d0d38398362a03bae7531 (diff)
parent0727da625d4d1d30b85936499ada784b9f030a1c (diff)
Merge branch 'tv' into newmaster
Diffstat (limited to 'makefu/2configs/Reaktor/stockholmLentil.nix')
-rw-r--r--makefu/2configs/Reaktor/stockholmLentil.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/makefu/2configs/Reaktor/stockholmLentil.nix b/makefu/2configs/Reaktor/stockholmLentil.nix
index 147fb5a7a..21f0305fb 100644
--- a/makefu/2configs/Reaktor/stockholmLentil.nix
+++ b/makefu/2configs/Reaktor/stockholmLentil.nix
@@ -2,7 +2,12 @@
with pkgs;
let
- random-issue = pkgs.writeScript "random-issue" (builtins.readFile ./random-issue.sh);
+ random-issue = pkgs.substituteAll( {
+ name="random-issue";
+ dir= "bin";
+ isExecutable=true;
+ src= ./random-issue.sh;
+ });
random-issue-path = lib.makeSearchPath "bin" (with pkgs; [
coreutils
git
@@ -14,7 +19,7 @@ in {
public_commands.insert(0,{
'capname' : "stockholm-issue",
'pattern' : indirect_pattern.format("stockholm-issue"),
- 'argv' : ["${random-issue}"],
+ 'argv' : ["${random-issue}/bin/random-issue"],
'env' : { 'state_dir': workdir,
'PATH':'${random-issue-path}',
'origin':'http://cgit.pnp/stockholm' } })