!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

860 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.185 Servers

Load older messages


SenderMessageTime
15 Oct 2025
@philiptaron:matrix.orgPhilip Taron (UTC-8) Modules (the clang impl) works great with C. 17:56:39
@philiptaron:matrix.orgPhilip Taron (UTC-8)Maybe even better than with C++.17:56:50
@philiptaron:matrix.orgPhilip Taron (UTC-8) Actually, definitely better than with C++. 17:57:00
@fzakaria:one.ems.hostfzakaria how do I go from Store to BinaryCacheStore21:55:59
@fzakaria:one.ems.hostfzakariathe config only return ref<Store>21:56:04
@fzakaria:one.ems.hostfzakariadynamic_pointer_cast?21:57:08
@fzakaria:one.ems.hostfzakaria

Sergei Zimmerman (xokdvium): writing a unit test for that issue you sent me is a bit harder because I think it's S3 specific (needs a store that uses query params)

For now I have https://github.com/NixOS/nix/pull/14266

One option: write a store just for tests that is simiilar to HttpBinaryCacheStore but sends the derivation path as a query parameter to test the encoding?

23:37:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @fzakaria:one.ems.host

Sergei Zimmerman (xokdvium): writing a unit test for that issue you sent me is a bit harder because I think it's S3 specific (needs a store that uses query params)

For now I have https://github.com/NixOS/nix/pull/14266

One option: write a store just for tests that is simiilar to HttpBinaryCacheStore but sends the derivation path as a query parameter to test the encoding?

The S3 stuff is no longer relying on custom logic (since a couple hours ago) tho
23:38:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Did that maybe just fix the issue entirely?23:39:01
@fzakaria:one.ems.hostfzakariait might have ; i included some change to src/libstore/binary-cache-store.cc that I think is "correct" but it doesn't have a unit test.23:39:42
@fzakaria:one.ems.hostfzakaria* it might have23:40:47
@fzakaria:one.ems.hostfzakariaAnyways; i pushed a unit test... took me a while to right. 🫠23:41:05
@fzakaria:one.ems.hostfzakaria* Anyways; i pushed a unit test... took me a while to write. 🫠23:41:09
@fzakaria:one.ems.hostfzakariaWhat was it before? I see S3BinaryCacheStoreConfig now23:46:43
@fzakaria:one.ems.hostfzakaria

can you help me figure out what i'm missing to get it to build... it builds locally but not

nix build .#nix-store-tests

23:57:57
16 Oct 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @fzakaria:one.ems.host

can you help me figure out what i'm missing to get it to build... it builds locally but not

nix build .#nix-store-tests

🪵? I can take a look when I get a chance
Anyway it’s way past bed time for me 🛌
00:10:13
@fzakaria:one.ems.hostfzakariawow i found it...my nix skills are 1337802:17:00
@fzakaria:one.ems.hostfzakaria* wow i found it...my nix skills are 133702:17:02
@fzakaria:one.ems.hostfzakariahmm Github actions does something else with some wrapper02:59:23
@joerg:thalheim.ioMic92We should make a call on https://github.com/NixOS/nix/pull/1397108:07:51
@Ericson2314:matrix.orgJohn Ericson Mic92: I also have some changes to make about how the disabling works that i think will help with that 14:10:27
@Ericson2314:matrix.orgJohn Ericson Robert Hensing (roberth): I think I am going to try to land your infra improvements (awesome!!) and just the hash change first 14:12:38
@roberthensing:matrix.orgRobert Hensing (roberth)Ok, awesome. I'd done that kind of thing before, so I'm glad I could help14:13:32
@roberthensing:matrix.orgRobert Hensing (roberth)Not sure if separate schema files are the way to go btw. I've only used the doc generation tool with a single schema so far in nixops414:14:19
@roberthensing:matrix.orgRobert Hensing (roberth)(well, two mostly unrelated schemas)14:14:26
@Ericson2314:matrix.orgJohn Ericsonyeah was just thinking we might need that14:25:36
@Ericson2314:matrix.orgJohn Ericsonbecause of references between then14:25:42
@Ericson2314:matrix.orgJohn Ericsonbut we can wait and see14:25:45
@roberthensing:matrix.orgRobert Hensing (roberth)one big schema should also be fine14:26:00
@roberthensing:matrix.orgRobert Hensing (roberth)at least for the store layer14:26:08

Show newer messages


Back to Room ListRoom Version: 6