worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
orivej has quit [Ping timeout: 260 seconds]
janneke has quit [Ping timeout: 244 seconds]
janneke has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-dev
kalbasit has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
justanotheruser has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
cole-h 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
dongcarl has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
dongcarl has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
<ryantm> Don't install home manager, just use it (with your choice of nixpkgs pinning!):
<ryantm> nix develop --no-write-lock-file --no-registries --override-input nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable github:ryantm/home-manager-template/flake-inputs -c home-manager switch
<ryantm> I don't think I can override the home-manager input, because it isn't a flake, that is stuck with latest master branch.
dongcarl has quit [Read error: Connection reset by peer]
<drakonis> hm
<drakonis> looking forward to the day home manager is avaiable as a flake
dongcarl has joined #nixos-dev
<ryantm> I haven't tested it, but I think maybe you could use --inputs-from instead of --override-input and then pin home-manager too.
kalbasit has quit [Ping timeout: 256 seconds]
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
teehemkay has quit [Ping timeout: 246 seconds]
teehemkay has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
orivej_ has quit [Ping timeout: 246 seconds]
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
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
jkkm has quit [Ping timeout: 244 seconds]
taktoa[c] has quit [Read error: Connection reset by peer]
srhb has quit [Ping timeout: 260 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
manveru has quit [Ping timeout: 260 seconds]
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
manveru has joined #nixos-dev
manveru has quit [Max SendQ exceeded]
manveru has joined #nixos-dev
srhb has joined #nixos-dev
taktoa[c] has joined #nixos-dev
jkkm 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]
teehemkay has quit [Changing host]
teehemkay has joined #nixos-dev
manveru has joined #nixos-dev
manveru has quit [Changing host]
taktoa[c] has joined #nixos-dev
taktoa[c] has quit [Changing host]
jkkm has joined #nixos-dev
jkkm has quit [Changing host]
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]
alp has joined #nixos-dev
dongcarl has joined #nixos-dev
__Sander__ 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
<qyliss> Do we have a way to wrap a node.js package?
<qyliss> nm, found it (node-package/default.nix)
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
rajivr has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
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]
alp has joined #nixos-dev
dongcarl has joined #nixos-dev
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
orivej has joined #nixos-dev
garbas 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
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
FRidh 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
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
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95536 (by Infinisil, 4 days ago, open): mkDerivation: Introduce .inputDerivation for shell.nix build convenience
dongcarl has quit [Read error: Connection reset by peer]
AlwaysLivid has joined #nixos-dev
dongcarl has joined #nixos-dev
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j 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
alp has quit [Ping timeout: 272 seconds]
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
rajivr has quit [Quit: Connection closed for inactivity]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
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
orivej has quit [Ping timeout: 264 seconds]
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]
alp has joined #nixos-dev
dongcarl has joined #nixos-dev
bennofs has joined #nixos-dev
bennofs_ has quit [Ping timeout: 264 seconds]
cole-h 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
alp has quit [Ping timeout: 246 seconds]
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
dongcarl has joined #nixos-dev
alp has joined #nixos-dev
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
dongcarl has joined #nixos-dev
orivej has joined #nixos-dev
__Sander__ has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<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
<{^_^}> mobile-nixos#196 (by samueldr, 1 hour ago, open): motorola-addison: Build firmware and enable wcnss
<samueldr> that's my only idea for now
<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]
chrisaw has joined #nixos-dev