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
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
drakonis has joined #nixos-dev
rajivr has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
drakonis has quit [Quit: WeeChat 2.8]
justanotheruser has joined #nixos-dev
justan0theruser has quit [Ping timeout: 256 seconds]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
justanotheruser has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos-dev
justanotheruser has joined #nixos-dev
drakonis has joined #nixos-dev
<Mic92> matthewbauer: I thought the new completion also worked for zsh?
<Mic92> Nevermind. I don't think this is true
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 272 seconds]
justan0theruser has quit [Ping timeout: 260 seconds]
greizgh has quit [Quit: greizgh]
greizgh has joined #nixos-dev
justanotheruser has joined #nixos-dev
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos-dev
justanotheruser has quit [Quit: WeeChat 1.9.1]
justanotheruser has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
alp has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
ris has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej 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: 246 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 264 seconds]
alp has joined #nixos-dev
alp has quit [Ping timeout: 264 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
ckauhaus has joined #nixos-dev
alp has joined #nixos-dev
alp_ has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
Jackneilll has quit [Ping timeout: 240 seconds]
<das_j> is tehre any documentation on how outputs are implemented, exactly? Are they just attributes pointing to different derivations?
<clever> das_j: you add outputs = [ "out" "dev" ]; to a derivation, and then you must populate $out and $dev
<clever> das_j: both get built at the same time, but then they act as seperate outputs, sorta like they where seperate derivations
<das_j> yeah I know. It's more about the final result. To elaborate: I'd like to add an extra output to existing derivations containing apparmor profiles. these profiles can be built without touching the original derivation, and I'd add that to `environment.extraOutputsToInstall`. When I'd add an output however, it would rebuild all packges, so instead I thought of something like `firefox.overrideDerivation` and to just an `apparmor` attribute there
<clever> that might work via // or passthru
Jackneilll has joined #nixos-dev
<das_j> so overrideAttrs with passthru will not cause the base derivation to be rebuilt?
<clever> i think that will avoid the rebuild
<das_j> nice, I'll try that. thanks!
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
alp_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
<edef> niksnut: namely, it adds support for self-referential fixed-output derivations
<edef> niksnut: i struggle to see how one would create those without having broken the hash
<edef> niksnut: in which case the content-addressibility is void anyway
<edef> niksnut: i'm not sure how this code has been tested, or how that branch has ever run
<edef> note to self: 24fe02421430db82eb51e0131fc5e837722e57464525490fea0ecf2cb6c8b988
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
<das_j> is there an easy way to add files to the root of the system closure? Or does anyone know where the code that builds the final closure resides under nixos/?
alp has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<tilpner> das_j: system.extraDependencies
<tilpner> That adds them to the closure, but you have no influence about how
<das_j> tilpner: thank you for that! That way I found top-level.nix which has an option system.extraSystemBuilderCmds
<tilpner> Use system.extraSystemBuilderCmds if you need that
justanotheruser has quit [Ping timeout: 256 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
<niksnut> edef: where do you see that in that commit?
<edef> ah, this is preliminary support for the intensional store, i see
<FRidh> das_j: about your outputs and passthru, you want to use extendDerivation. It's used e.g. in buildPythonPackage (mk-python-derivation.nix).
<FRidh> *may want
<edef> that was not particularly apparent to me
<das_j> FRidh: The nixpkgs lib never stops surprising me. thanks for that hint
noonien has quit [Quit: Connection closed for inactivity]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<Mic92> Nix Friday in 5 minutes: https://www.twitch.tv/zimbatm
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
__monty__ has joined #nixos-dev
justanotheruser has quit [Quit: WeeChat 1.9.1]
AlwaysLivid has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
drakonis1 has joined #nixos-dev
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 244 seconds]
justanotheruser has quit [Client Quit]
AlwaysLivid has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
alp has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
AlwaysLivid has quit [Ping timeout: 246 seconds]
AlwaysLivid has joined #nixos-dev
alp has quit [Ping timeout: 246 seconds]
<infinisil> niksnut: Hey, it seems that both nix-index and programs.sqlite might be missing a lot of entries. And pbogdan suggested in #nixos that this could be due to Nix caches having changed https://<domain>/<hash>.ls to https://<domain>/<hash>-<name>.ls
<infinisil> I'm not very experienced with the Nix codebase, do you think this might indeed be the case?
ris has joined #nixos-dev
cole-h has joined #nixos-dev
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
v0|d has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
<niksnut> infinisil: hm, that would be a bug...
<niksnut> thanks, will fix
justanotheruser has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
<infinisil> Awesome :D
alp has joined #nixos-dev
<niksnut> fix deployed on hydra.nixos.org
<pbogdan> niksnut++ thank you
<{^_^}> niksnut's karma got increased to like 24, I think
<infinisil> Nice! niksnut++ for the fix and pbogdan++ for figuring out the problem
<{^_^}> pbogdan's karma got increased to 8
<{^_^}> niksnut's karma got increased to 25
orivej has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.7.1]
<infinisil> nix-index currently at least doesn't seem to generate a full database still, though maybe this will go away with time
<niksnut> well the fix doesn't rename any incorrectly named .ls files
<infinisil> niksnut: Ah so caches expose direct files, not some abstraction layer
<infinisil> That makes sense then
<samueldr> by the next stdenv rebuild everything will be at its place once more :)
alp has quit [Ping timeout: 240 seconds]
<niksnut> infinisil: yes, it's an S3 bucket
<niksnut> and unfortunately S3 doesn't have a rename operation
leungbk has joined #nixos-dev
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
__monty__ has quit [Quit: leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has joined #nixos-dev
Jackneilll has quit [Ping timeout: 260 seconds]
cole-h has quit [Quit: Goodbye]
Jackneilll has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]