nix-config/pkgs/scripts/default.nix
2024-12-04 22:47:40 +01:00

24 lines
564 B
Nix

_final: prev: {
scripts = {
clone-term = prev.callPackage ./clone-term.nix { };
unlock = prev.writeShellApplication {
name = "unlock-builders";
runtimeInputs = [ ];
text = builtins.readFile ./unlock.sh;
};
lock = prev.writeShellApplication {
name = "lock-builders";
runtimeInputs = [ ];
text = builtins.readFile ./lock.sh;
};
update = prev.writeShellApplication {
name = "update";
runtimeInputs = [ ];
text = ''
nix flake update
nim update-prs
'';
};
};
}