!kFJOpVCFYFzxqjpJxm:nixos.org

Empty Room

60 Members
19 Servers

Load older messages


SenderMessageTime
14 Nov 2022
@jcie74:matrix.orgpie_but I dont understand why proot is depending on libarchive13:54:03
@jcie74:matrix.orgpie_Its not directly specified in the nix expression afaict.13:54:13
@jcie74:matrix.orgpie_Well, I'm stumped.16:06:50
@jcie74:matrix.orgpie_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
@jcie74:matrix.orgpie_ * 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
@jcie74:matrix.orgpie_ 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
@jcie74:matrix.orgpie_(literally. It can probably be cleaned up a bit.)22:51:01
15 Nov 2022
@jcie74:matrix.orgpie_
             Ok, the next problem is I cant seem to run anything because the dynamic linker fails
02:01:19
@jcie74:matrix.orgpie_
newfstatat(3, "", 0x7fffe4a41460, AT_EMPTY_PATH) = -1 EINVAL (Invalid argument)

Turns out:
AT_EMPTY_PATH (since Linux 2.6.39)
I'm on 2.6.32

02:02:12
@jcie74:matrix.orgpie_ *
Ok, the next problem is I cant seem to run anything because the dynamic linker fails
02:02:34
@jcie74:matrix.orgpie_ * Ok, the next problem is I cant seem to run anything because the dynamic linker fails02:02:44
@jcie74:matrix.orgpie_And I'm not sure what to do here again02:03:08
@jcie74:matrix.orgpie_(besides ask for a kernel upgrade...)02:03:22
@jcie74:matrix.orgpie_I could possibly try building things with an earlier libc I suppose02:03:59
@jcie74:matrix.orgpie_though also thats basically rebuild the world afaik02:04:17
@jcie74:matrix.orgpie_well, modulo some hacks, I think using musl is working20:26:15
@jcie74:matrix.orgpie_ * well, modulo some hacks, I think using musl is working (pkgsMusl)20:26:29
@jcie74:matrix.orgpie_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-acls20:34:26
@jcie74:matrix.orgpie_running into some dynamic linking issues with nix-shell, not sure about the cause21:09:59
@jcie74:matrix.orgpie_going to try to get a dynamically linked nix on there now that I have static nix at least capable of builds21:10:19
@jcie74:matrix.orgpie_oh you know what, maybe I didnt make the static-nix with musl21:16:50
@jcie74:matrix.orgpie_though IDK why that would be a problem when nix-shell is used21:17:02
@jcie74:matrix.orgpie_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 thi23:40:24
@jcie74:matrix.orgpie_ * 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 thik23:40:27
@jcie74:matrix.orgpie_ * 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 think23:40:29
@jcie74:matrix.orgpie_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 from23:47:43
@jcie74:matrix.orgpie_so that at least makes sense (Im going to temporarily hack around it by making the nixpkgs import return pkgsMusl)23:48:08
16 Nov 2022
@FRidh:matrix.orgFRidh joined the room.07:21:59
@FRidh:matrix.orgFRidh
In reply to @jcie74:matrix.org
Im still not sure whether you can just -p python and a bunch of python packages or whether you basically have to withPackages it
withPackages is the method to use. -p often works but not always because it relies on an implementation detail, the build-time hooks
07:25:54
@jcie74:matrix.orgpie_ahaa08:30:56

Show newer messages


Back to Room ListRoom Version: 9