| 29 Dec 2024 |
trofi | nix needs a minor API adaptation for lowdown-1.4: https://github.com/NixOS/nix/pull/12115 | 16:02:28 |
| redchess64 joined the room. | 21:45:36 |
| Twig. joined the room. | 22:33:55 |
| 30 Dec 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius. | 16:25:33 |
| matthewcroughan changed their display name from matthewcroughan (DECT: 56490) to matthewcroughan. | 17:28:30 |
| 31 Dec 2024 |
| tilpner changed their display name from tilpner (38c3 3209) to tilpner. | 10:54:51 |
| pim joined the room. | 12:53:09 |
pim | 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 | Probably a question for #dev:nixos.org | 12:59:11 |
pim | * Wrong channel | 12:59:15 |
K900 | (but also merged the PR for now) | 12:59:21 |
| siraben left the room. | 14:51:09 |
| Tanja (she/her) changed their display name from Tanja (she/her) [DECT 6929] to Tanja (she/her). | 20:59:16 |
| ElvishJerricco joined the room. | 23:49:46 |
ElvishJerricco | Thought I'd bring some more attention to this, because it has caused numerous significant bugs: https://github.com/NixOS/nix/issues/11503#issuecomment-2566739661 | 23:55:14 |
| 1 Jan 2025 |
| mjolnirchanged room power levels. | 14:26:18 |
| 2 Jan 2025 |
| Oluwapelumi Adeosun joined the room. | 10:13:39 |
| andiandi 🐈 changed their display name from andiandi 📌 38C3 📞 4690 to andiandi. | 10:34:40 |
| Matej Urbas changed their display name from urbas to Matej Urbas. | 17:38:28 |
| @laurynasp:matrix.org joined the room. | 19:35:39 |
Perchun 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: [31;1merror:[0m builder for '[35;1m/build/tests_nix-store.ma223o/my_nix_store/c9y864ic046rwpb15hlgwrz8n251rb0r-letsbuild.drv[0m' 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 changed their display name from elikoga (@38c3 📞488{0,1,9}) to elikoga. | 10:28:15 |
Perchun 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 /bin | 13:02:32 |
| gotha joined the room. | 14:36:57 |
| golbinex joined the room. | 14:43:40 |
tomberek | Does 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 Pak [don't ping; dm instead] | there is --store | 21:17:18 |
tomberek | 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 |
Rickard 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 |
Rickard 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 |