Nix HPC | 85 Members | |
| Nix for High Perfomance Computing clusters | 20 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Nov 2022 | ||
| It would be nice if why-depends had a mode that didn't require a successful build... | 13:47:55 | |
| Though I imagine it's probably related to one of these.
| 13:49:29 | |
| Though those could also just be fails somewhere in the deptree :/ | 13:50:05 | |
| per nix-store -q --tree its proot -> libarchive -> e2fsprogs -> util-linux (I think) | 13:53:53 | |
| but I dont understand why proot is depending on libarchive | 13:54:03 | |
| Its not directly specified in the nix expression afaict. | 13:54:13 | |
| Well, I'm stumped. | 16:06:50 | |
| Ok, this is terrible and I still have no idea why things are the way they are, but earlier today I got this to work: | 22:50:06 | |
| * Ok, this is terrible and I still have no idea why things are the way they are, but earlier today I got this to build: | 22:50:11 | |
nix-build --option max-jobs 1 --option cores 1 -I nixpkgs=channel:nixos-21.11 -E "with import <nixpkgs> { overlays = [ (self: super: { libarchive = super.libarchive.override (o: { e2fsprogs = super.hello; }); }) ]; }; (pkgsStatic.proot.override (o: { enablePython = false; })).overrideAttrs (o: { preUnpack = ''export PATH=\"\$PATH\":\${pkgsStatic.pkg-config}/bin;\${git}/bin''; })" | 22:50:41 | |
| (literally. It can probably be cleaned up a bit.) | 22:51:01 | |
| 15 Nov 2022 | ||
| 02:01:19 | |
Turns out: | 02:02:12 | |
*
| 02:02:34 | |
| * Ok, the next problem is I cant seem to run anything because the dynamic linker fails | 02:02:44 | |
| And I'm not sure what to do here again | 02:03:08 | |
| (besides ask for a kernel upgrade...) | 02:03:22 | |
| I could possibly try building things with an earlier libc I suppose | 02:03:59 | |
| though also thats basically rebuild the world afaik | 02:04:17 | |
| well, modulo some hacks, I think using musl is working | 20:26:15 | |
| * well, modulo some hacks, I think using musl is working (pkgsMusl) | 20:26:29 | |
| heh, ran into this too https://github.com/NixOS/nixpkgs/issues/29778 with lustre.lov ; -> https://nixos.org/manual/nix/stable/command-ref/conf-file.html see ignored-acls | 20:34:26 | |
| running into some dynamic linking issues with nix-shell, not sure about the cause | 21:09:59 | |
| going to try to get a dynamically linked nix on there now that I have static nix at least capable of builds | 21:10:19 | |
| oh you know what, maybe I didnt make the static-nix with musl | 21:16:50 | |
| though IDK why that would be a problem when nix-shell is used | 21:17:02 | |
| ok the problem is that the builder of pkgsStatic.hello for example isnt using the bash from pkgsStatic, its using it from the normal stdenv i thi | 23:40:24 | |
| * ok the problem is that the builder of pkgsStatic.hello for example isnt using the bash from pkgsStatic, its using it from the normal stdenv i thik | 23:40:27 | |
| * ok the problem is that the builder of pkgsStatic.hello for example isnt using the bash from pkgsStatic, its using it from the normal stdenv i think | 23:40:29 | |
| ok I figured out the / part of the problem is that nix-shell invokes stdenv.mkShell implicitly with -p so that's where that bash is coming from | 23:47:43 | |