Tidy nix things into a separate folder (#50)

This commit is contained in:
Patrick Stevens
2022-12-28 12:20:13 +00:00
committed by GitHub
parent f091534c05
commit f71953b304
4 changed files with 2 additions and 20 deletions

View File

@@ -49,7 +49,7 @@
runtimeIds = map (system: pkgs.dotnetCorePackages.systemToDotnetRid system) dotnet-sdk.meta.platforms;
in
pkgs.writeShellScript "fetch-${pname}-deps" (builtins.readFile (pkgs.substituteAll {
src = ./fetchDeps.sh;
src = ./nix/fetchDeps.sh;
pname = pname;
binPath = pkgs.lib.makeBinPath [pkgs.coreutils dotnet-sdk (pkgs.nuget-to-nix.override {inherit dotnet-sdk;})];
projectFiles = toString (pkgs.lib.toList projectFile);
@@ -67,7 +67,7 @@
version = version;
src = ./.;
projectFile = projectFile;
nugetDeps = ./deps.nix;
nugetDeps = ./nix/deps.nix;
doCheck = true;
dotnet-sdk = dotnet-sdk;
dotnet-runtime = dotnet-runtime;