From c61b701095a1f6b52777d317275f34687e57ee3e Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 10 Oct 2024 07:26:29 -0400 Subject: rise once again my glorious creation (#51) * git-tracker: update tips after fetch + cleanup * nix: use nix-filter * ci: cleanup * crates: update * git-tracker: don't spam log while transferring * nix: fix static package eval --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 361ee02..202931b 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + nix-filter.url = "github:numtide/nix-filter"; + # Inputs below this are optional # `inputs.treefmt-nix.follows = ""` @@ -17,6 +19,7 @@ { self, nixpkgs, + nix-filter, treefmt-nix, }: let @@ -102,11 +105,11 @@ pkgs = nixpkgsFor.${system}; packages' = self.packages.${system}; - staticWith = pkgs.callPackage ./nix/static.nix { }; + staticWith = pkgs.callPackage ./nix/static.nix { inherit nix-filter self; }; containerize = pkgs.callPackage ./nix/containerize.nix { }; in { - nixpkgs-tracker-bot = pkgs.callPackage ./nix/package.nix { }; + nixpkgs-tracker-bot = pkgs.callPackage ./nix/package.nix { inherit nix-filter self; }; default = packages'.nixpkgs-tracker-bot; -- cgit v1.2.3