flake.nix: remove pointless filterSource
This commit is contained in:
parent
505d6ef103
commit
c6b3f91bec
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue