flake.nix: remove pointless filterSource
This commit is contained in:
parent
505d6ef103
commit
c6b3f91bec
|
@ -25,13 +25,7 @@
|
||||||
# `nix build`
|
# `nix build`
|
||||||
packages.heliwatch = naersk-lib.buildPackage {
|
packages.heliwatch = naersk-lib.buildPackage {
|
||||||
pname = "heliwatch";
|
pname = "heliwatch";
|
||||||
root = builtins.filterSource (path: type:
|
root = ./.;
|
||||||
builtins.elem (baseNameOf path) [
|
|
||||||
"src"
|
|
||||||
"Cargo.toml"
|
|
||||||
"Cargo.lock"
|
|
||||||
] || baseNameOf (dirOf path) == "src"
|
|
||||||
) ./.;
|
|
||||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||||
buildInputs = with pkgs; [ openssl ];
|
buildInputs = with pkgs; [ openssl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue