diff options
author | makefu <github@syntax-fehler.de> | 2015-09-18 21:36:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-09-18 21:36:58 +0200 |
commit | 0b645a7e21fc1df2d71436e3552b4df42cd9c82e (patch) | |
tree | 174eb2d7135818d41142c465b8e2b60bdc86e35d /2configs/Reaktor | |
parent | 5a3da7fb501823806f1479c524503d7f064066d1 (diff) |
refactor stockholmLentil
Diffstat (limited to '2configs/Reaktor')
-rw-r--r-- | 2configs/Reaktor/stockholmLentil.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/2configs/Reaktor/stockholmLentil.nix b/2configs/Reaktor/stockholmLentil.nix index 147fb5a7a..21f0305fb 100644 --- a/2configs/Reaktor/stockholmLentil.nix +++ b/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' } }) |