{ 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; }; }; }