1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: fix secrets permissions, move ./packages to flake outputs

This commit is contained in:
2023-02-24 23:10:45 +01:00
parent c51db2b53c
commit c9af430f31
118 changed files with 1201 additions and 2107 deletions

13
packages/trans.nix Normal file
View File

@@ -0,0 +1,13 @@
{
fetchurl,
writers,
gawk,
}: let
script = fetchurl {
url = "https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/trans.awk";
sha256 = "178r8d27bry1mzd1g8x2svp4w469hwv7nnxnmnsinx974skjx0jb";
};
in
writers.writeDashBin "trans" ''
exec ${gawk}/bin/gawk -f ${script} -- "$@"
''