dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
philipp[m] has left #nixos-dev ["User left"]
philipp[m] has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
__Sander__ has quit [Ping timeout: 265 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
<infinisil>
Anybody interested in reviewing #95536? It allows `nix-build shell.nix -A inputDerivation` to build a derivation whose closure contains everything needed for entering the nix-shell
<samueldr>
it's a generic enough question, so here it is: how would you handle "semantically equivalent" files that have to be provided by the end-users?
<samueldr>
here it's for firmware files on the phone, which may differ because of OEM updates, or even telco variants
<samueldr>
I'm wondering if I'm missing something else? (requireFile can't really be used here)
<infinisil>
samueldr: Only idea I have is to output a path to a script that extracts those files automatically (as best as possible at least)
<samueldr>
infinisil: as an additional step to help the user?
<samueldr>
though yeah, I'd like to do that later on once more devices with similar setups are known so the abstractions can be figured out
<infinisil>
samueldr: Yeah like a helper script
<infinisil>
Not sure if possible, but something you could run like `/nix/store/...-extract-modem path/to/modem` and it would be idle and listen to connected devices, detect when the right one is connected, then mount and copy firmware automatically and place it in the given path
<samueldr>
I don't follow, `modem` is a partition on the eMMC in the phone, so there's not really a way it can happen on the end-user's computer, and it makes more sense to extract in-situ so you can nixos-rebuild
<samueldr>
though if the eMMC was exported as a disk drive using a USB gadget that *could* be feasible, but also there's room to brick the device trivially doing so
cole-h has quit [Quit: Goodbye]
<infinisil>
I see, ignore this then :)
<samueldr>
no worries, I extremely know the topic, which is something most people here don't have to contend with :)
<samueldr>
I guess once I work on an "installation method" that's better than simply `dd`'ing a disk image, that could be one step where each device can provide a script or parameters to one
__Sander__ has quit [Quit: Konversation terminated!]
alp has quit [Ping timeout: 272 seconds]
AlwaysLivid has quit [Read error: Connection reset by peer]
AlwaysLivid has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
davidtwco has quit [Ping timeout: 260 seconds]
terrorjack has quit [Ping timeout: 244 seconds]
davidtwco has joined #nixos-dev
chrisaw has quit [Read error: Connection reset by peer]
dmj` has quit [Ping timeout: 264 seconds]
thoughtpolice has quit [Ping timeout: 260 seconds]