diff --git a/flake.nix b/flake.nix index 549405c..69f1de9 100644 --- a/flake.nix +++ b/flake.nix @@ -6,10 +6,9 @@ flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, flake-utils }: + outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let - inherit (nixpkgs) lib; pkgs = import nixpkgs { inherit system; }; zig = pkgs.zig_0_11; buildZigPackage = import ./nix/build-zig-package.nix { @@ -29,7 +28,7 @@ packages.default = buildZigPackage { name = "aoc23"; - src = lib.cleanSource ./.; + src = pkgs.nix-gitignore.gitignoreSource [ ] ./.; }; }); }