Systemd integration #33

Merged
oysteikt merged 3 commits from systemd-integration into main 2024-10-20 23:11:47 +02:00
1 changed files with 12 additions and 5 deletions
Showing only changes of commit cfb6bbd7a7 - Show all commits

View File

@ -13,13 +13,20 @@ rustPlatform.buildRustPackage rec {
baseName = baseNameOf (toString path);
in !(lib.any (b: b) [
(!(lib.cleanSourceFilter path type))
(baseName == "target" && type == "directory")
(baseName == "nix" && type == "directory")
(baseName == "flake.nix" && type == "regular")
(baseName == "flake.lock" && type == "regular")
(type == "directory" && lib.elem baseName [
".direnv"
".git"
"target"
"result"
])
(type == "regular" && lib.elem baseName [
"flake.nix"
"default.nix"
"module.nix"
".envrc"
])
])) ./.;
nativeBuildInputs = [ makeWrapper ];
cargoLock = {