nulllite/flake.nix
NullBite 3814d6175f
Add packwiz-wrapper package
this searches up the directory tree for a pack.toml before executing
packwiz
2024-03-23 16:13:03 -04:00

17 lines
541 B
Nix

{
inputs.systems.url = "github:nix-systems/default";
outputs = { self, systems, nixpkgs }: let
lib = nixpkgs.lib;
eachSystem = lib.genAttrs (import systems);
in {
devShells = eachSystem (system: let pkgs = import nixpkgs { inherit system; };
in {
default = pkgs.mkShell {
buildInputs = with pkgs; [ self.packages.${system}.packwiz-wrapper nix-update ];
};
});
packages = eachSystem (system: let pkgs = import nixpkgs { inherit system; };
in pkgs.callPackages ./nix/packages { });
};
}