| 14 Aug 2025 |
Corngood | Okay, that's not so bad. Even just knowing if it gets past configurePhase without crashing would be interesting. | 19:38:01 |
Corngood | The build dependencies are quite large though (GBs) in case that's a problem | 19:38:22 |
Whovian9369 | Meaning what I'd get from the store, or the mid-build artifacts? | 19:38:46 |
Whovian9369 | * Meaning what I'd get from the cache, or the mid-build artifacts? | 19:38:51 |
6pak | will it even build with 8gb ram? | 19:38:53 |
Corngood | It probably depends on the core count. For 8 cores it might be okay. | 19:39:14 |
Whovian9369 | I'm running a "quick" $ sudo nix store optimise -v so I'll get a list of derivations to build and get back to ya | 19:40:12 |
Corngood | If anyone else is able to repro https://github.com/NixOS/nixpkgs/issues/431811 and provide a core dump / system info I'd appreciate it. | 19:41:06 |
Whovian9369 | Do you just want me to try building nixpkgs#dotnetCorePackages.dotnet_10.vmr then? | 19:41:44 |
Corngood | Only if you're on nixpkgs/master. | 19:42:20 |
Whovian9369 | I was depending on a fetch-deps output to tell me the derivations that I need for a certain package, so having a specific package to build would help me for testing imo. | 19:42:20 |
Whovian9369 | Ah, I use Unstable normally. I could throw a flake together to run from nixpkgs/master for this then. | 19:42:54 |
Corngood | I think you can even just do nix build nixpkgs/master#dotnetCorePackages.dotnet_10.vmr? | 19:43:56 |
Whovian9369 | Good call | 19:44:16 |
6pak | wait, can you do that without github:NixOS/? | 19:44:50 |
Whovian9369 | $ nix flake metadata nixpkgs/master
Resolved URL: github:NixOS/nixpkgs/master
Locked URL: github:NixOS/nixpkgs/092e4bc79e0a9c5bdec004bd0d94c8f1e1ad001b
Description: A collection of packages for the Nix package manager
Path: /nix/store/8026yxg4phch8nb857a8p4nfxa85dj2v-source
Revision: 092e4bc79e0a9c5bdec004bd0d94c8f1e1ad001b
Last modified: 2025-08-14 15:37:05
Seemingly so, huh.
| 19:45:42 |
6pak | TIL | 19:45:53 |
Corngood | I'm not exactly sure how that works when you have a pinned one like:
$ nix registry list
system flake:nixpkgs path:/nix/store/z7gkn604dsdfdybi16hlkidj0ipnw2ia-source
global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable
| 19:45:56 |
Corngood | it must fall back to the global one when there's a branch specified | 19:46:11 |
Whovian9369 | $ nix registry list | rg -i nixpkgs
system flake:nixpkgs path:/nix/store/c39q7pww80997lz0fyqxpvsr29q6f7ld-source
global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable
That seems to match more or less what I'm seeing too then, interesting.
| 19:46:58 |
oatmealraisin | Seems the pack phase isn't using the correct directory, build phase output is Utils -> /build/afbw66jz03aj2fa6cllz2aa4qrf9ay69-source/src/Utils/bin/Release/net8.0/linux-x64/Utils.dll but then the pack phase is erroring with /build/afbw66jz03aj2fa6cllz2aa4qrf9ay69-source/src/Utils/bin/Release/net8.0/Utils.dll' to be packed was not found on disk. | 19:47:18 |
oatmealraisin | sry, unrelated to the dotnet_10.vmr discussion | 19:47:37 |
Corngood | Sorry I mean to reply to this earlier. Should referencedProjects be projectReferences? Note that the latter is essentially an alias for buildInputs now, so I'd probably just use that. | 19:48:56 |
Corngood | * Sorry I meant to reply to this earlier. Should referencedProjects be projectReferences? Note that the latter is essentially an alias for buildInputs now, so I'd probably just use that. | 19:49:41 |
oatmealraisin | yes :/ oops | 19:49:55 |
Whovian9369 | Just confirmed with a local nixpkgs clone that 092e4bc7... would have been the relevant commit until about a minute before I ran the command, so it seems to do what it says on the tin. Very nice, thanks for that info, Corngood! | 19:50:11 |
oatmealraisin | But the currect project, Utils, doesn't have any projectReferences | 19:50:13 |
Corngood | This sounds sort of like: https://github.com/NixOS/nixpkgs/pull/432571 | 19:50:45 |
oatmealraisin | Current default.nix looks like this, ```{ pkgs ? import <nixpkgs> {} }:
pkgs.buildDotnetModule { pname = "Utils.csproj"; version = "0.1";
src = ../..;
projectFile = "src/Utils/Utils.csproj";
nugetDeps = ./deps.json; packNupkg = true; }
| 19:53:17 |
oatmealraisin | * Current default.nix looks like this, | 19:53:50 |