move new packages to pkgs/default.nix
This commit is contained in:
1 parent
c9f55ba177
commit
fd500041fa
4 files changed
+70
-58
No files matched your search
@@ -0,0 +1,10 @@
|
||||
{writeText}:
|
||||
writeText "service-fns.sh" ''
|
||||
output() { cat $1/.outputs/$2; }
|
||||
output_path() { echo $(realpath $1/.outputs)/$2; }
|
||||
mkoutputs() {
|
||||
d=/run/service-state/$1
|
||||
mkdir -m 2750 -p $d && chown root:system $d
|
||||
echo $d
|
||||
}
|
||||
''
|
||||
Reference in new issue
Block a user