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,
|
buildDotnetModule,
|
||||||
dotnetCorePackages,
|
dotnetCorePackages,
|
||||||
|
nix-gitignore,
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) any hasSuffix;
|
|
||||||
pname = "netdaemon-config";
|
pname = "netdaemon-config";
|
||||||
in
|
in
|
||||||
buildDotnetModule {
|
buildDotnetModule {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "0.0.0";
|
version = "0.0.0";
|
||||||
|
|
||||||
src = builtins.path {
|
src =
|
||||||
name = "src";
|
nix-gitignore.gitignoreSource [
|
||||||
path = ./.;
|
"*.nix"
|
||||||
filter = file: type:
|
".direnv"
|
||||||
(type != "directory")
|
".envrc"
|
||||||
|| any (s: hasSuffix s file) [".cs" ".csproj"];
|
"images"
|
||||||
};
|
]
|
||||||
|
./.;
|
||||||
|
|
||||||
projectFile = "netdaemon.csproj";
|
projectFile = "netdaemon.csproj";
|
||||||
nugetDeps = ./deps.nix;
|
nugetDeps = ./deps.nix;
|
||||||
|
|
Loading…
Reference in a new issue