| 14 Dec 2025 |
Jan Kvapil | Thanks! | 19:02:09 |
Jan Kvapil | meta = {
platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.linux;
};
RAM steadily rising...
| 19:06:39 |
Jan 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 |
Jan Kvapil | Looks like a stress test to the SSDs also 67 degrees and rising. | 19:09:23 |
Emma [it/its] | oh right, i got side tracked, i was going to try this | 19:24:19 |
Corngood | How exactly are you running fetch-deps in that repo? I can try it out here. | 19:26:01 |
Jan Kvapil | I do nix build .#modules.nbitcoin.fetch-deps and then ./result. | 19:26:36 |
Emma [it/its] | yeah im not seeing nbitcoin exposed in the flake as a package and im not sure how to deal with a default.nix | 19:26:41 |
Emma [it/its] | oh its in modules | 19:26:51 |
Emma [it/its] | that's an odd place lol | 19:26:59 |
Emma [it/its] | not using passthru? | 19:27:53 |
Jan Kvapil | Yes, some of the modules are name-conflicting with nixpkgs, it's WIP anyways. | 19:28:36 |
Emma [it/its] |  Download clipboard.png | 19:28:44 |
Jan Kvapil | I guess I just don't know how. | 19:29:02 |
Emma [it/its] | can confirm im seeing unusually high memory usage, but also a lot of disk io during that time | 19:29:04 |
Jan Kvapil | Yes. | 19:29:17 |
Emma [it/its] | 4.5G now, odd | 19:29:30 |
Jan 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 |
Jan 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 |
Emma [it/its] | ah | 19:29:55 |
Emma [it/its] | i ended up doing nix build ../..#modules.nbitcoin.passthru.fetch-deps | 19:30:16 |
Emma [it/its] | 7G of memory usage with no IO atm | 19:30:30 |
Emma [it/its] | 12G... seems to get stuck somewhere and i wish i could -v:diag it | 19:32:47 |
Corngood | $ echo $dotnetProjectFiles
/nix/store/85fkamr6na3xjznqa70hasdzrlxqgbrr-NBitcoin.CppBridge.csproj
This shouldn't be a store path.
| 19:34:35 |
Emma [it/its] | how did you get there? cause that seems fairly normal to me? | 19:35:08 |
Corngood | diff --git a/modules/nbitcoin/default.nix b/modules/nbitcoin/default.nix
index 2342c8e..bb38b51 100644
--- a/modules/nbitcoin/default.nix
+++ b/modules/nbitcoin/default.nix
@@ -32,7 +32,7 @@ buildDotnetModule rec {
fileset = sourceFiles;
};
sourceRoot = "${src.name}/modules/nbitcoin";
- projectFile = ./NBitcoin.CppBridge.csproj;
+ projectFile = "NBitcoin.CppBridge.csproj";
nugetDeps = ./deps.json;
| 19:35:19 |
Jan Kvapil | Uf, that's fragile. | 19:35:35 |
Emma [it/its] | (though ive also never had the fetch-deps script work without having to explicitly pass the path to the output deps file, because it tries writing into the store by default...) | 19:36:03 |
Jan Kvapil | Yeah, about that:
Finished dotnetConfigureHook
/nix/store/qmvcsvn9dw5v7cln85ay8pydir38ab43-fetch-deps.sh: line 10: /nix/store/dxv3prj2zy34n0inhhznihnhww2gfnfd-source/modules/nbitcoin/deps.json: Read-only file system
How does one do that?
| 19:36:41 |
Emma [it/its] | you just pass the relative path as an argument | 19:36:54 |