scanbuddy/flake.nix

21 lines
468 B
Nix
Raw Normal View History

2025-09-25 17:42:36 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
} @ inputs: let
system = "x86_64-linux";
2025-09-25 18:01:34 +02:00
pkgs = import nixpkgs { inherit system; config.allowUnfree = true;};
2025-09-25 17:42:36 +02:00
in {
packages."${system}".default = pkgs.writeShellApplication {
name = "hello_world";
runtimeInputs = with pkgs; [sane-backends brscan5 ghostscript];
text = builtins.readFile ./scanbuddy.bash;
};
};
}