!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

113 Members
23 Servers

Load older messages


SenderMessageTime
14 Dec 2025
@emma:rory.gayEmma [it/its]let me try to reproduce on spare hardware18:53:19
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
18:53:25
@x408788:fi.muni.czJan KvapilHmm. Is this such a convoluted thing, because I am using flake-utils and it runs fetch-deps for evey system?18:53:43
@x408788:fi.muni.czJan KvapilI am running NixOS/Linux, no osx.18:53:52
@x408788:fi.muni.czJan Kvapil Running this directly within nix-shell finishes quickly. 18:55:24
@corngood:corngood.comCorngoodIt will run a restore for each platform in meta.platforms, or default to the ones supported by the sdk18:55:50
@x408788:fi.muni.czJan Kvapil I don't define any meta and there is dotnet-runtime set, so should run only once?
https://github.com/quapka/bitcoinfuzz/blob/build-with-nix/modules/nbitcoin/default.nix#L20
18:57:44
@corngood:corngood.comCorngoodNo, it'll still default to the 4 available platforms from the sdk meta.platforms18:58:34
@x408788:fi.muni.czJan Kvapil

Ok, I'll set:

  meta = {
    platforms = lib.platforms.linux;
  };

And try again.

19:00:36
@corngood:corngood.comCorngoodThat'll still be two platforms. You can limit it to one arch if you want 19:01:23
@corngood:corngood.comCorngood"x86_64-linux" probably 19:01:39
@x408788:fi.muni.czJan KvapilThanks!19:02:09
@x408788:fi.muni.czJan Kvapil
  meta = {
    platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.linux;
  };

RAM steadily rising...

19:06:39
@x408788:fi.muni.czJan Kvapil I'd be happy to enter the process and do it step by step, but am not that proficient in how to actually do it here with fetch-deps. A nix-shell -p nuget-to-json -p dotnetCorePackages.sdk_10_0-bin -p dotnetCorePackages.runtime_10_0-bin is clearly different to what that things runs in. This shell finishes fine. 19:08:09
@x408788:fi.muni.czJan KvapilLooks like a stress test to the SSDs also 67 degrees and rising.19:09:23
@emma:rory.gayEmma [it/its]oh right, i got side tracked, i was going to try this19:24:19
@corngood:corngood.comCorngoodHow exactly are you running fetch-deps in that repo? I can try it out here.19:26:01
@x408788:fi.muni.czJan Kvapil I do nix build .#modules.nbitcoin.fetch-deps and then ./result. 19:26:36
@emma:rory.gayEmma [it/its]yeah im not seeing nbitcoin exposed in the flake as a package and im not sure how to deal with a default.nix19:26:41
@emma:rory.gayEmma [it/its]oh its in modules19:26:51
@emma:rory.gayEmma [it/its]that's an odd place lol19:26:59
@emma:rory.gayEmma [it/its]not using passthru?19:27:53
@x408788:fi.muni.czJan KvapilYes, some of the modules are name-conflicting with nixpkgs, it's WIP anyways.19:28:36
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
19:28:44
@x408788:fi.muni.czJan KvapilI guess I just don't know how.19:29:02
@emma:rory.gayEmma [it/its]can confirm im seeing unusually high memory usage, but also a lot of disk io during that time19:29:04
@x408788:fi.muni.czJan KvapilYes.19:29:17
@emma:rory.gayEmma [it/its]4.5G now, odd19:29:30
@x408788:fi.muni.czJan Kvapil

Depending on the $pwd, I guess something like this:

nix-build -E '((import <nixpkgs> {}).callPackage ./modules/nbitcoin/default.nix {}).fetch-deps
19:29:47
@x408788:fi.muni.czJan Kvapil *

Depending on the $pwd, I guess something like this:

nix-build -E '((import <nixpkgs> {}).callPackage ./modules/nbitcoin/default.nix {}).fetch-deps
19:29:50

Show newer messages


Back to Room ListRoom Version: 9