We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23ff50 commit 277b56fCopy full SHA for 277b56f
flake.gen.nix
@@ -2,6 +2,7 @@
2
inputs = {
3
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
4
flake-utils.url = "github:numtide/flake-utils?ref=main";
5
+ nix-filter.url = "github:numtide/nix-filter?ref=main";
6
7
fenix = {
8
url = "github:nix-community/fenix?ref=main";
@@ -49,7 +50,15 @@
49
50
in
51
{
52
packages.default = builder {
- src = ./.;
53
+ src = let filter = inputs.nix-filter.lib; in filter {
54
+ root = ./.;
55
+ include = [
56
+ "Cargo.lock"
57
+ "Cargo.toml"
58
+ "README.md"
59
+ "src"
60
+ ];
61
+ };
62
63
inherit stdenv;
64
};
0 commit comments