| 3 Jul 2024 |
| Elijah Immer left the room. | 03:44:39 |
| 4 Jul 2024 |
Saeid | I managed to solve this by first setting packNupkg = false in the flake file then regenerating dependencies like:
rm ./deps.nix
touch ./deps.nix
nix build .#default.passthru.fetch-deps
./result deps.nix
Afterwards, nix build worked fine
| 09:07:37 |
Saeid | Here is what the definition looks like now, for reference:
packages = forAllSystems (system:
let
pkgs = nixpkgsFor.${system};
in {
default = pkgs.buildDotnetModule rec {
pname = "inventory-backend";
inherit version;
src = ./backend;
projectFile = "backend.sln";
# To generate deps.nix:
#
# nix develop
# dotnet restore backend/ --packages out
# nuget-to-nix out > deps.nix
# OR
# nix build .#default.passthru.fetch-deps
nugetDeps = ./deps.nix;
dotnet-sdk = pkgs.dotnet-sdk_8;
dotnet-runtime = pkgs.dotnet-aspnetcore_8;
packNupkg = false;
};
});
| 09:08:42 |
| Saeid left the room. | 12:55:19 |
| Saeid joined the room. | 12:55:35 |
| Philip Taron (UTC-8) joined the room. | 15:52:58 |
| 8 Jul 2024 |
| karlericsson joined the room. | 23:45:56 |
| karlericsson left the room. | 23:46:15 |
| 9 Jul 2024 |
| ners joined the room. | 09:26:40 |
| 13 Jul 2024 |
| rmdonaldson joined the room. | 16:26:50 |
rmdonaldson | Is anyone having success building Dotnet projects as flakes if they use dotnet tools? It appears dotnetConfigureHook always executes dotnet tool restore, which invariably fails with some version of: Version <tool version> of package <tool name> is not found in NuGet feeds. | 16:42:04 |
rmdonaldson | I guess I could omit .config/ from src through filtering, but the presence of tool restoration seems to imply it should work. Relatedly, over in F# land, this causes paket-managed deps to fail. | 16:43:28 |
| 16 Jul 2024 |
| real_z2 left the room. | 23:17:04 |
| 18 Jul 2024 |
| tewi 🏳️⚧️ joined the room. | 00:25:06 |
| zaphar_ps joined the room. | 02:34:27 |
| tewi 🏳️⚧️ changed their profile picture. | 23:50:51 |
| tewi 🏳️⚧️ removed their profile picture. | 23:52:42 |
| tewi 🏳️⚧️ set a profile picture. | 23:53:17 |
| 19 Jul 2024 |
| Austin Horstman joined the room. | 02:13:52 |
| 20 Jul 2024 |
Emma [it/its] |  Download clipboard.png | 11:08:44 |
Emma [it/its] | does dotnet on x86 really need the arm runtime, crossgen, ... tools? | 11:09:02 |
| 23 Jul 2024 |
| Ezzobir Bezziou joined the room. | 08:20:26 |
| 5 Aug 2024 |
| Supermuskox joined the room. | 19:59:20 |
| Supermuskox left the room. | 19:59:56 |
| 7 Aug 2024 |
| oatmealraisin joined the room. | 17:56:41 |
oatmealraisin | How can I make a derivation for a very specific sdk version? I need 7.0.304 | 17:58:05 |
| 10 Aug 2024 |
| Austin Horstman changed their display name from Khaneliman to Austin Horstman. | 03:50:11 |
| 12 Aug 2024 |
| amiablechief left the room. | 11:34:33 |
| 23 Aug 2024 |
| Matt Sturgeon joined the room. | 00:47:04 |
| 24 Aug 2024 |
Emma [it/its] | does anyone know how i can use dotnet tools? | 03:08:54 |