From c6b3f91bec4fb1c747ff38c0059a6dcf88b0be11 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 2 Nov 2021 01:12:57 +0100 Subject: [PATCH] flake.nix: remove pointless filterSource --- flake.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 9855651..f96ec4a 100644 --- a/flake.nix +++ b/flake.nix @@ -25,13 +25,7 @@ # `nix build` packages.heliwatch = naersk-lib.buildPackage { pname = "heliwatch"; - root = builtins.filterSource (path: type: - builtins.elem (baseNameOf path) [ - "src" - "Cargo.toml" - "Cargo.lock" - ] || baseNameOf (dirOf path) == "src" - ) ./.; + root = ./.; nativeBuildInputs = with pkgs; [ pkg-config ]; buildInputs = with pkgs; [ openssl ]; };