!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

892 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
29 Dec 2024
@trofi:matrix.orgtrofi nix needs a minor API adaptation for lowdown-1.4: https://github.com/NixOS/nix/pull/12115 16:02:28
@redchess64:matrix.orgredchess64 joined the room.21:45:36
@twig6943:matrix.orgTwig. joined the room.22:33:55
30 Dec 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius.16:25:33
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan (DECT: 56490) to matthewcroughan.17:28:30
31 Dec 2024
@tilpner:tx0.cotilpner changed their display name from tilpner (38c3 3209) to tilpner.10:54:51
@pim:envs.netpim joined the room.12:53:09
@pim:envs.netpim Hey, I noticed a package I care about (prowlarr) has no maintainer. This might be problematic because nobody is looking at the auto-update PRs (like this one)? Can I just opt to become the maintainer of this package without prior code contributions to it? 12:58:20
@k900:0upti.meK900 Probably a question for #dev:nixos.org 12:59:11
@pim:envs.netpim* Wrong channel12:59:15
@k900:0upti.meK900(but also merged the PR for now) 12:59:21
@siraben:matrix.orgsiraben left the room.14:51:09
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (she/her) [DECT 6929] to Tanja (she/her).20:59:16
@elvishjerricco:matrix.orgElvishJerricco joined the room.23:49:46
@elvishjerricco:matrix.orgElvishJerriccoThought I'd bring some more attention to this, because it has caused numerous significant bugs: https://github.com/NixOS/nix/issues/11503#issuecomment-256673966123:55:14
1 Jan 2025
@mjolnir:nixos.orgmjolnirchanged room power levels.14:26:18
2 Jan 2025
@hashphoenix:matrix.orgOluwapelumi Adeosun joined the room.10:13:39
@andiandi:tchncs.deandiandi 🐈 changed their display name from andiandi 📌 38C3 📞 4690 to andiandi.10:34:40
@urbas:matrix.orgMatej Urbas changed their display name from urbas to Matej Urbas.17:38:28
@laurynasp:matrix.org@laurynasp:matrix.org joined the room.19:35:39
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]

I am getting a weird test failure while trying to build latest git nix in nixpkgs (x86_64-linux)
https://github.com/NixOS/nixpkgs/pull/370305

../src/libexpr-tests/nix_api_expr.cc:138: Failure
Expected equality of these values:
  true
  is_valid_path
    Which is: false

[  FAILED  ] nix_api_expr_test.nix_build_drv (50 ms)
unknown file: Failure
C++ exception with description "nix_err_code(ctx) != NIX_OK, message: error: builder for '/build/tests_nix-store.ma223o/my_nix_store/c9y864ic046rwpb15hlgwrz8n251rb0r-letsbuild.drv' failed with exit code 1" thrown in the test body.

[  FAILED  ] nix_api_expr_test.nix_expr_realise_context (58 ms)

how to fix it?

20:47:51
3 Jan 2025
@elikoga:matrix.orgelikoga changed their display name from elikoga (@38c3 📞488{0,1,9}) to elikoga.10:28:15
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]I found in other logs that it fails to find /bin/sh (https://github.com/NixOS/nix/blob/442a2623e48357ff72c77bb11cf2cf06d94d2f90/src/libexpr-tests/nix_api_expr.cc#L105). but build from github:NixOS/nix works I don't get this at all, how does it find something in /bin13:02:32
@gotha:matrix.orggotha joined the room.14:36:57
@golbinex:beeper.comgolbinex joined the room.14:43:40
@tomberek:matrix.orgtomberekDoes anyone build/maintain/have-experience-with building Nix to operate over a different non-/nix prefix? Eg "/var/nix" or "/opt" or "/something-else"?21:07:28
@perchun:matrix.orgPerchun Pak [don't ping; dm instead] there is --store 21:17:18
@tomberek:matrix.orgtomberek

Yeah, I'm aware of running via an alternative physical location for a store. I mean to actually change the prefix against which things are built. (yep, will invalidate the cache)
This does seem to be sort-of-working:

[tom@tframe:~/nix/main/build]$ ./src/nix/nix build --impure --expr 'derivation {name="a"; builder = ./busybox; system="x86_64-linux"; args = ["sh" "-c" "echo hi > $out"];}' -vv -L --builders ''
evaluating file '<nix/derivation-internal.nix>'
downloading 'https://cache.nixos.org/nix-cache-info'...
warning: binary cache 'https://cache.nixos.org' is for Nix stores with prefix '/nix/store', not '/opt/nix/store'
this derivation will be built:
  /opt/nix/store/77iwbxab9l1fsng3vlax7wf7vi5diz6v-a.drv
building '/opt/nix/store/77iwbxab9l1fsng3vlax7wf7vi5diz6v-a.drv'...
22:19:00
4 Jan 2025
@rickynils:nixos.devRickard Nilsson @tomberek:matrix.org: Do you specifically need to build Nix for another prefix, not just set https://nix.dev/manual/nix/2.25/command-ref/env-common#env-NIX_STORE_DIR? 08:13:50
@rickynils:nixos.devRickard Nilsson* @tomberek:matrix.org: Do you specifically need to build Nix for another prefix, not just set https://nix.dev/manual/nix/2.25/command-ref/env-common#env-NIX_STORE_DIR ?08:14:39

Show newer messages


Back to Room ListRoom Version: 6