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
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
justanotheruser has joined #nixos-dev
<cole-h> https://github.com/NixOS/nix/blob/1524752c17ee8753467f068c23fbe1d994aa8f75/flake.nix#L77-L80 Is this necessary, or just a derp? Seems weird to me.
<samueldr> oh, the fact that it ends up being there two times?
<cole-h> Yeah
<samueldr> took me a while to see
<cole-h> Sorry, coulda been more explicit :P
justanotheruser has quit [Ping timeout: 244 seconds]
<cole-h> Hmm, the Status -> Queue button on h.no.o shows 0 in progress. Something up?
<samueldr> There are no running builds.
<samueldr> <a*di-> g*******n: /tmp on "ceres" is running full causing aborted builds (https://hydra.nixos.org/build/124704648), any chance you could have a look?
<samueldr> possibly related to this earlier message?
<cole-h> Quite possible. Aside from the aforepinged person, does anybody else have the ability to fix this?
<samueldr> european inclined people yeah, most likely asleep
<samueldr> is it causing a pressing problem?
<samueldr> I might be able to launch a flare in the air about it, if it is, otherwise it's likely to be noticed and fixed in less than a day
<cole-h> Depends on your definition of pressing. Currently blocking every channel except nixpkgs-unstable it looks like (at least unstable-small and unstable), but a few missed channel updates are probably fine
<cole-h> Especially considering we've gone weeks without an unstable bump in the past :P
<samueldr> yeah, pressing would be if there was a security fix waiting to be released, I guess
<cole-h> Nothing that pressing comes to mind. Then again, have only had the free time to check Nixpkgs-related stuff in the past, oh, 3 hours :P
<cole-h> Probably fine to leave it be until someone comes along
<samueldr> I guess so too
abathur has quit [Ping timeout: 264 seconds]
jonringer has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
abathur has joined #nixos-dev
kalbasit 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 [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
kalbasit has joined #nixos-dev
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos-dev
orivej has joined #nixos-dev
leungbk has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
jonringer has quit [Remote host closed the connection]
leungbk has quit [Ping timeout: 244 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
rajivr has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
kalbasit has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
drakonis has quit [Quit: WeeChat 2.8]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
vcunat has joined #nixos-dev
<vcunat> Yesterday I hoped the Hydra's queue runner would recover by itself, but apparently not.
<vcunat> gchristensen: you're also in @hydra-triage
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-dev
ashkitten has quit [Quit: WeeChat 2.8]
ashkitten has joined #nixos-dev
orivej has joined #nixos-dev
orivej_ has quit [Ping timeout: 264 seconds]
<{^_^}> resolved: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
justanotheruser has quit [Ping timeout: 244 seconds]
cole-h has quit [Ping timeout: 260 seconds]
Cale has quit [Remote host closed the connection]
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
__monty__ has joined #nixos-dev
<niksnut> 'channel 0: bad ext data
<niksnut> '
<niksnut> never seen that error before :-|
<vcunat> Some posts I've found suggest that reboot might help that error.
ehmry has joined #nixos-dev
<eyJhb> niksnut: that is a error, that sounds like no fun!
<clever> i think thats an ssh error?
<niksnut> yes
alp has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
alp has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
teto has joined #nixos-dev
alp has joined #nixos-dev
qyliss has quit [Quit: bye]
qyliss has joined #nixos-dev
<arianvp> niksnut: I just read your blog. I see that nixosSystem function that you defined calls (import ./. {}) to get the package set
<arianvp> Does that mean I have to set overlays etc through the `nixpkgs.` nixos options?
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<arianvp> I call the `pkgs.nixos` function; (So that's evaluating nixos modules using a pre-existing pkgs; instead of having the nixos module system evaluate the nix package set)
<arianvp> I wonder which approach is 'cleaner'
<arianvp> (In my approach ;I think all the `nixpkgs` nixos options do not work anymore. but maybe they shouldn't exist in the first place. I'm not sure
<arianvp> I also noticed that `nixosConfigurations` are not namespaced per system; like packages. Is that an oversight?
<clever> arianvp: another option is just `import (pkgs.path + "/nixos") { configuration = ./foo.nix; }`
<arianvp> that's basically what `pkgs.nixos` does
<arianvp> https://gist.github.com/arianvp/9e6af68da4dcdcf6402d8d46a5583176 (linking as gist; as nixpkgs top-level.nix is so large that github hpyerlinking doesnt work)
<clever> ah, only real difference is nixos/default.nix vs nixos/lib/eval-config.nix
<clever> oh
<clever> and line 61 of the gist, its overriding the pkgs value within that nixos, to reuse the pkgs tree
<arianvp> yes
<arianvp> it also uses the stdenv.hostPlatform as the system
<arianvp> so it will pick it up properly without having to specify it manually
<{^_^}> nixops#1389 (by grahamc, 1 week ago, open): NixOps machines can no longer use `nixpkgs` options or specify overlays after #1369
<clever> that kind of performance feature can also throw you off, when nixpkgs.config and nixpkgs.overlays stop working the way you expect
<arianvp> hmm true; but I find the `nixpkgs` options akward; I'm not sure if they should exist
<clever> in this context, nixpkgs.overlays will append to the pkgs tree, but nixpkgs.config wont work
<arianvp> I'd prefer giving my nixos config a fully evaluated `pkgs`
<clever> they make your build more pure, by not depending on ~/.nixpkgs/config.nix at eval time
<arianvp> but that's maybe an opinion not everybody shares =)
<clever> i often use nixos via nixos-rebuild, which just does `nix-build '<nixpkgs/nixos>' -A system`, so its having to form its own pkgs tree
<clever> also...
<arianvp> yeh but with flakes that'll build the default flake instead
alp has quit [Ping timeout: 240 seconds]
<arianvp> ah you want to provide an overlay as part of a nixos configuration?
<arianvp> module*
<clever> arianvp: i like being able to define an overlay in a nixos module, so `imports = [ ./media-center.nix ];` gets everything i need, and i dont have to worry about enabling the overlay somewhere else, and enabling it only on the right machines
<clever> yeah
<arianvp> yeh makes sense
<arianvp> if the nix package set would also just use the module system for its composability ...
<arianvp> then we'd have one happy system =)
<clever> and pkgs.nixos does allow that
<arianvp> yeh that's an excellent point
<clever> pkgs.nixos will set nixpkgs.pkgs with mkDefault
<clever> and according to my research notes in https://github.com/NixOS/nixops/issues/1389, nixpkgs.nix will append nixpkgs.overlays to that tree
<{^_^}> nixops#1389 (by grahamc, 1 week ago, open): NixOps machines can no longer use `nixpkgs` options or specify overlays after #1369
<clever> so media-center.nix will just work, when you use pkgs.nixos
<arianvp> so wait; it will work?
<clever> yeah
<clever> if you set nixpkgs.pkgs, then nixpkgs.nix will append nixpkgs.overlays to the tree, as it creates the pkgs in { pkgs, config, ... }
<clever> the logic in nixpkgs.nix is a bit complex
<arianvp> too complex to my taste =)
<clever> but nixpkgs.config wont work
alp has joined #nixos-dev
<arianvp> I think that's fine. I Dont see why other config options would be on a per-module basis
<clever> older stuff, when you did nixpkgs.config.packageOverrides
<Profpatsch> Is there a way to specify a -I tarball which contains its hash?
<Profpatsch> Maybe via URL argument?
<Profpatsch> -I nixpkgs=https://github.com/…?hash=… or something?
xourt has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
__monty__ has quit [Quit: leaving]
<arianvp> clever: seems this logic is pretty well documented in `man configuration.nix` at least =)
julm has quit [Ping timeout: 256 seconds]
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
julm has joined #nixos-dev
julm has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
julm has joined #nixos-dev
alp has joined #nixos-dev
<{^_^}> resolved: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<Mic92> Profpatsch: not sure about that, but I am using this trick: https://github.com/Mic92/dotfiles/blob/master/.drone.yml#L27
vcunat has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
vcunat has joined #nixos-dev
xourt has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos-dev
<Profpatsch> Mic92: In this case it was specifically about a shebang script
<Profpatsch> so this would go in the shebang line
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
leungbk 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]
alp has joined #nixos-dev
etu has quit [Quit: WeeChat 2.6]
etu has joined #nixos-dev
drakonis has joined #nixos-dev
<vcunat> RootPartitionLowDiskSpace is gone!
kalbasit has joined #nixos-dev
kalbasit has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
<niksnut> vcunat: it was caused by this: https://github.com/NixOS/hydra/issues/797
<{^_^}> hydra#797 (by edolstra, 3 hours ago, open): hydra-queue-runner leaks NARs in /tmp
alp has joined #nixos-dev
cole-h has joined #nixos-dev
teto has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 264 seconds]
drakonis has quit [Quit: WeeChat 2.8]
justanotheruser has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
<makefu> aawesome that this issue was discovered early due to alerting into the channel (and maybe mail?)
<samueldr> I'm not sure it was discovered early; hydra was at a standstill for a chunk of the week-end
<makefu> T_T
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<cole-h> Nix Flakes, Part 3 is great. Can't wait for the "future post" showing how to use flakes + nixops.
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
ericnoan has joined #nixos-dev
ericnoan has joined #nixos-dev
ericnoan has quit [Changing host]
alp has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
vcunat has quit [Quit: Leaving.]
leungbk has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
teto has joined #nixos-dev
orivej has joined #nixos-dev
leungbk has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
<Valodim> the commands as given in the flakes part 3 blog post won't work for zsh users due to the '#'. it's arguably zsh's fault, still, makes me sad :(
AlwaysLivid has joined #nixos-dev
<Valodim> other than that, flakes continue to look amazing :)
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
<niksnut> Valodim: hm, are you sure? I get this in zsh:
<niksnut> % nix run nixpkgs#hello
<niksnut> Hello, world!
<Valodim> try "setopt extendedglob"
<niksnut> ah thanks
<Valodim> that's a setting that is required for zsh's more powerful glob expressions, and I assume (though I don't know) that most users will have it enabled
<niksnut> yeah I just tried zsh without any config
<Valodim> I recall your argument for '#' was that it looks like fragments in URIs. Did you take into consideration that fragments are treated quite differently in browsers from the rest of the querystring?
<Valodim> most significantly, for an uri like example.org/something#fragment, the 'fragment' isn't transferred to the server in an http context
<Valodim> oh, I see how that fits the semantics, the '#' being the part to resolve locally "within the flake"
<niksnut> right
<Valodim> very clever
<Mic92> Valodim: I think it is possible with aliasing to disable extendedglob
<Valodim> yeah I guess I'll do that for the nix command
<Mic92> For example I use alias wget"noglob wget"
<Mic92> alias wget="noglob wget"
<Mic92> I think many people will have extended glob enable automatically if they use zsh configuration frameworks such as oh-my-zsh
<Mic92> It's also included in many configuration samples that you can find on the internet
<Mic92> Maybe we can add this to your zsh module
<Valodim> I like url-quote-magic better, it works well for uris and doesn't introduce different interactive behavior for particular commands
<Valodim> (and instead for particularly shaped arguments, I guess)
alp has quit [Ping timeout: 240 seconds]
b1000101 has joined #nixos-dev
<domenkozar[m]> has someone packaged HFP patches for pulseaudio?
<domenkozar[m]> sorry, HSP patches :)
<Mic92> kloenk: domenkozar[m] would provide us cachix access if we would pre-build packages from pull requests with github actions
tv has quit [Ping timeout: 240 seconds]
noonien has joined #nixos-dev
<kloenk> Mic92 you mean on my hydra/buildfarn?
<kloenk> Sorry, misread the GitHub action
<kloenk> Will try the following days (current setting up macos xP)
<domenkozar[m]> I love github search, saves me time almost daily :D
<__monty__> In that case maybe you'd like grep.app?
<domenkozar[m]> doesn't find me what I found with github search
AlwaysLivid has quit [Read error: Connection reset by peer]
<__monty__> It's code search only but a lot better than github's ime.
alp has joined #nixos-dev
tv has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
teto has quit [Quit: WeeChat 2.9]
<Mic92> Unlike ansible/puppet/chef you can actually copy-and-paste nixos modules
<domenkozar[m]> heh
__monty__ has quit [Quit: leaving]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
abathur has quit [Quit: abathur]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
alp has quit [Ping timeout: 246 seconds]
b1000101 has quit [Quit: Lost terminal]
orivej_ has quit [Ping timeout: 240 seconds]