work on dispatch command
This commit is contained in:
parent
498aba165e
commit
d961bab798
2 changed files with 48 additions and 6 deletions
20
flake.nix
Normal file
20
flake.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue