Compare commits

..

2 Commits

Author SHA1 Message Date
b0cbf62e15
app: pass through $SHELL
Some checks failed
Test / Create distribution (push) Successful in 26s
Test / Fortify (push) Successful in 2m40s
Test / Fpkg (push) Successful in 3m36s
Test / Data race detector (push) Successful in 4m29s
Test / Flake checks (push) Failing after 56s
Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-03-27 01:22:40 +09:00
21646d382b
nix: pass through exec arguments
Some checks failed
Test / Create distribution (push) Successful in 26s
Test / Fpkg (push) Successful in 33s
Test / Fortify (push) Successful in 39s
Test / Data race detector (push) Successful in 39s
Test / Flake checks (push) Failing after 55s
This is useful for when a wrapper script is unnecessary.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-03-27 01:09:35 +09:00

View File

@ -88,14 +88,10 @@ in
conf = {
inherit (app) id;
path =
if app.path == null then
pkgs.writeScript "${app.name}-start" ''
#!${pkgs.zsh}${pkgs.zsh.shellPath}
${script}
''
else
app.path;
path = if app.path == null then pkgs.writeScript "${app.name}-start" ''
#!${pkgs.zsh}${pkgs.zsh.shellPath}
${script}
'' else app.path;
args = if app.args == null then [ "${app.name}-start" ] else app.args;
confinement = {