diff options
author | tv <tv@shackspace.de> | 2015-09-25 01:27:19 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-09-25 01:27:19 +0200 |
commit | 61b2d7c8cac8304b60defd36aa86ce73e1bcaf2c (patch) | |
tree | c155a1d0509fdbbc753ad5edead9f434636bbcb6 /makefu/2configs/Reaktor/stockholmLentil.nix | |
parent | 43692de77c8bd46e52b80fdf6102b6602c1bad56 (diff) | |
parent | b88363ce1a4ecc420f2c7684c9c74949cd2b5db4 (diff) |
Merge remote-tracking branch 'pnp/master'
Diffstat (limited to 'makefu/2configs/Reaktor/stockholmLentil.nix')
-rw-r--r-- | makefu/2configs/Reaktor/stockholmLentil.nix | 9 |
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' } }) |