work on dispatch command

This commit is contained in:
Prunebutt 2025-09-25 17:42:36 +02:00
parent 498aba165e
commit d961bab798
2 changed files with 48 additions and 6 deletions

20
flake.nix Normal file
View file

@ -0,0 +1,20 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages."${system}";
in {
packages."${system}".default = pkgs.writeShellApplication {
name = "hello_world";
runtimeInputs = with pkgs; [sane-backends brscan5 ghostscript];
text = builtins.readFile ./scanbuddy.bash;
};
};
}