fix(netd): use gitignoreSource to get src
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
3ad658406b
commit
56eeb7745c
1 changed files with 9 additions and 9 deletions
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
buildDotnetModule,
|
||||
dotnetCorePackages,
|
||||
nix-gitignore,
|
||||
}: let
|
||||
inherit (lib) any hasSuffix;
|
||||
pname = "netdaemon-config";
|
||||
in
|
||||
buildDotnetModule {
|
||||
inherit pname;
|
||||
version = "0.0.0";
|
||||
|
||||
src = builtins.path {
|
||||
name = "src";
|
||||
path = ./.;
|
||||
filter = file: type:
|
||||
(type != "directory")
|
||||
|| any (s: hasSuffix s file) [".cs" ".csproj"];
|
||||
};
|
||||
src =
|
||||
nix-gitignore.gitignoreSource [
|
||||
"*.nix"
|
||||
".direnv"
|
||||
".envrc"
|
||||
"images"
|
||||
]
|
||||
./.;
|
||||
|
||||
projectFile = "netdaemon.csproj";
|
||||
nugetDeps = ./deps.nix;
|
||||
|
|
Loading…
Reference in a new issue