andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
szicari has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
<bqv[m]> oh, no, i had to pick those commits out of the log by eye
<bqv[m]> because there was a merge commit linking them in a weird way
<bqv[m]> so you did have to do it manually
<vika_nezrimaya> oh wow
<vika_nezrimaya> so it WAS a botched rebase
<vika_nezrimaya> well it's ok now I guess
<vika_nezrimaya> just deployed from my new configuration, adapted to a flake
cybrian has joined #nixos
<vika_nezrimaya> I'm planning to merge all of my Nix-based stuff to a single personal flake
bqv has joined #nixos
<bqv> i'll be here while my server people fix my failover ip
<vika_nezrimaya> >.< first dishwasher, now IP
<vika_nezrimaya> is the coronavirus infecting tech too?...
<bqv> oh i really am not having a good evening...
<miscellaneousbus> how do i switch to using prime (which is in 20.09)
<miscellaneousbus> sorry, nvidia prime
h0m1 has quit [Quit: WeeChat 2.7.1]
h0m1 has joined #nixos
cybrian has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvxFY
morgrimm has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxFn
<{^_^}> [nixpkgs] @marsam merged pull request #84742 → nodejs-10_x: 10.19.0 -> 10.20.0 → https://git.io/Jvx1a
<{^_^}> [nixpkgs] @marsam merged pull request #84729 → kmon: 1.0.0 -> 1.0.1 → https://git.io/Jvxrc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxFc
<{^_^}> [nixpkgs] @marsam merged pull request #84737 → dbeaver: 7.0.1 -> 7.0.2 → https://git.io/Jvx6I
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxFC
<{^_^}> [nixpkgs] @marsam merged pull request #84640 → snd: 20.1 -> 20.2 → https://git.io/JvAFs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxFl
bqu2 has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
<Ashy> miscellaneousbus: this section here: https://nixos.wiki/wiki/Nvidia#Nvidia_PRIME
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84758 → axel: 2.17.7 -> 2.17.8 → https://git.io/JvxFR
bqu has quit [Ping timeout: 256 seconds]
<Ashy> miscellaneousbus: be sure to read and do the whole section including getting and converting the IDs from lspci
<miscellaneousbus> Ashy: This is only available on 20.09
<miscellaneousbus> Whenever i try to nixos-rebuild I get an error about it being undefined
<Ashy> oh yeah, i swapped to the nixos-unstable channel
<miscellaneousbus> how do i do that
<miscellaneousbus> im new to nix
<Ashy> read through both of those before trying this but then you can do: sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos && sudo nix-channel --update && sudo nixos-rebuild --update switch
<Ashy> also, resolve to buy intel and amd gpus only from now on :/, i do for my personal machines but these 2 laptops are work laptops
bkv has joined #nixos
rogue_koder_ has quit [Ping timeout: 256 seconds]
rogue_koder_ has joined #nixos
<miscellaneousbus> Ashy true. i cant really swap out this dedicated gpu in my laptop tho (atleast not easily)
morgrimm has joined #nixos
m0rphism has quit [Ping timeout: 265 seconds]
chagra has joined #nixos
rogue_koder_ has quit [Ping timeout: 265 seconds]
morgrimm has quit [Ping timeout: 265 seconds]
<Ashy> yeah
<{^_^}> [nixpkgs] @marsam opened pull request #84759 → nodejs-12_x: 12.16.1 -> 12.16.2 → https://git.io/JvxbU
rogue_koder_ has joined #nixos
bqu2 has quit [Read error: Connection reset by peer]
bqu has joined #nixos
captjakk has joined #nixos
<miscellaneousbus> well i upgraded, the laptop screen graphics are fine. nvidia modules are loaded. I get "nvidia-modeset: WARNGING GPU:0 Unable to read EDID for ... (HDMI-0)". and also firefox graphics are laggy
<miscellaneousbus> (HDMI-0 for external monitor)
<energizer> what is the difference between nixpkgs and pkgs?
is_null has quit [Ping timeout: 265 seconds]
<energizer> or, what is the difference between nixpkgs and nixpkgs.pkgs?
<energizer> and, uh, nixpkgs.pkgs.pkgs
<{^_^}> [nixpkgs] @marsam opened pull request #84760 → sqlint: 0.1.9 -> 0.1.10 → https://git.io/JvxbO
LysergicDreams has quit [Ping timeout: 258 seconds]
bqu has quit [Read error: Connection reset by peer]
bqu has joined #nixos
LysergicDreams has joined #nixos
markus1189 has joined #nixos
rogue_koder_ has quit [Ping timeout: 265 seconds]
thc202 has quit [Ping timeout: 260 seconds]
markus1199 has quit [Ping timeout: 264 seconds]
<gchristensen> > pkgs.pkgs.path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<gchristensen> > pkgs.pkgs.pkgs.pkgs.pkgs.path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
h0m1 has quit [Ping timeout: 265 seconds]
pjt_014 has joined #nixos
captjakk has quit [Remote host closed the connection]
<Ashy> miscellaneousbus: i havent had that issue
captjakk has joined #nixos
<bkv> how deep can we go...
h0m1 has joined #nixos
<gchristensen> > let p = pkgs: p pkgs.pkgs; in p pkgs
<{^_^}> error: stack overflow (possible infinite recursion)
<gchristensen> forever :)
<bkv> :D
<miscellaneousbus> Ashy did you set services.xserver.videoDrivers = [ "modesetting" "nvidia" ]; ?
<cole-h> gchristensen: Don't bully the bot :(
captjakk has quit [Ping timeout: 256 seconds]
<gchristensen> > ack = m: n: if m == 0 bthen n + 1 else if (m > 0 && n == 0) then (ack (m - 1) 1) else (ack (m - 1) (ack m (n - 1)))
<{^_^}> error: syntax error, unexpected ELSE, expecting THEN, at (string):39:36
<gchristensen> oops
<gchristensen> > ack = m: n: if m == 0 then n + 1 else if (m > 0 && n == 0) then (ack (m - 1) 1) else (ack (m - 1) (ack m (n - 1)))
<{^_^}> ack defined
<gchristensen> cole-h: there you go
<cole-h> pls no
<gchristensen> > ack 1 2
<{^_^}> 4
<gchristensen> so performant
<bkv> oh good lord, the ackermann function?
<cole-h> > ack 69 420
<gchristensen> rip
<cole-h> ;d
<bkv> it was nice knowing you {^_^}
<{^_^}> [nixpkgs] @ryantm closed pull request #81639 → tixati: 2.67 -> 2.68 → https://git.io/JvacH
<gchristensen> sometimes the benefits of {^_^}'s architecture really shine ... like right now.
GrimSleepless has joined #nixos
rogue_koder_ has joined #nixos
<energizer> what's the motivation behind the `config` argument of nixpkgs modules?
<{^_^}> error: stack overflow (possible infinite recursion)
<cole-h> Hehe
morgrimm has joined #nixos
drakonis has quit [Quit: WeeChat 2.7.1]
<energizer> i'm inferring from the silence that the `config` parameter doesn't have defenders
<Ashy> miscellaneousbus: no just [ "nvidia" ] in my config
<cole-h> Or people don't know (like me)
<gchristensen> who says it needs defending
reallymemorable has quit [Quit: reallymemorable]
<energizer> gchristensen: not sure!
<energizer> i'm curious why modules don't take their own config and instead take the whole world's config
sigmundv_ has quit [Ping timeout: 256 seconds]
<simpson> energizer: What's the alternative? The idea is to allow testing whether some configuration has been already set, I think. Taking everybody's configuration all at once, but lazily, is the Nix way; I don't know if it's good, but it's certainly Nixy.
niso has quit [Ping timeout: 256 seconds]
<peelz> energizer: it allows you to refer to the final result of a module (with all the imports being merged into it)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84761 → cargo-outdated: 0.9.8 -> 0.9.9 → https://git.io/Jvxba
rogue_koder_ has quit [Ping timeout: 264 seconds]
niso has joined #nixos
<energizer> peelz: `(pkgs.foo {some_argument=5})` is the final result of that module, no?
<gchristensen> energizer: (though fwiw its NixOS modules :))
<energizer> gchristensen: alright
<gchristensen> nixpkgs doesn't have modules, and pkgs.foo is a nixpkgs package, not a module
<peelz> ^
<energizer> simpson: the alternative is like the old saying "have you considered calling a function with arguments"
<gchristensen> I'm actually not sure what you're asking about
<energizer> lemme find an example
<jjwatt[m]> yeah, I was wondering what was meant my "modules," too
<simpson> energizer: Sure. But, like, in Nix, there's a common idiom `self: super:` which turns functions into objects via closure over some attrset. This is like that, but for modules and the whole system configuration.
<peelz> energizer: I like using this pattern for specifying kernel modules: `boot.extraModulePackages = with config.boot.kernelPackages; [ some-kernel-module ];`
<simpson> Like you say, the module already knows itself. So it just needs to be passed in the super-module, which is exactly the configuration that all of the modules are contributing to.
<gchristensen> oh no so many different concepts in one thread hehe
<MichaelRaskin> That might reflect the structure of module system, though
<gchristensen> okay, so this config is a nixos module's config, and it represents the final configuration of the system
<simpson> energizer: Yes. config != options
<gchristensen> the nixos module system uses a fixed point to merge the various modules together and allow inter-dependence
<energizer> essentially my question is: what is config.services.home-assistant.lovelaceConfig, and why doesn't the function take lovelaceConfig instead of config?
<jjwatt[m]> in that example, it does use `config` beyond config.services.home-assistant
bqu has quit [Read error: Connection reset by peer]
bqu has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #84762 → shadowenv: 1.3.2 -> 2.0.0 → https://git.io/JvxbD
bqu2 has joined #nixos
bqu has quit [Read error: Connection reset by peer]
rogue_koder_ has joined #nixos
<energizer> in nixpkgs, if i want to pass data to a function, i pass it directly, but here the module is pulling its own data out of a big object (config.services) instead of simply taking that data directly like a nixpkgs function would. right?
<energizer> (still trying to wrap my head around what's going on here :-))
<gchristensen> nixpkgs' package set also uses a large fixed point, but a bit differently I suppose
cybrian has joined #nixos
<gchristensen> the module system creates, basically, an enormous AST which is then evaluated and reduced in to a system config
<{^_^}> [nixpkgs] @marsam opened pull request #84763 → syncthing: 1.4.1 -> 1.4.2 → https://git.io/Jvxby
<gchristensen> > lib.mkIf true "hi"
<{^_^}> { _type = "if"; condition = <CODE>; content = "hi"; }
<gchristensen> > :p lib.mkIf true "hi"
<{^_^}> { _type = "if"; condition = true; content = "hi"; }
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84764 → celluloid: 0.18 -> 0.19 → https://git.io/JvxbS
<{^_^}> [nixpkgs] @marsam merged pull request #84760 → sqlint: 0.1.9 -> 0.1.10 → https://git.io/JvxbO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxbH
<gchristensen> things like mkIf are needed because the module system has to have a total view of the configuration which it then reduces
bqu2 has quit [Ping timeout: 250 seconds]
<energizer> whereas in nixpkgs what happens?
<gchristensen> nixpkgs doesn't have logical assignments like the module system
<simpson> nixpkgs does have nested scoping, and there's a few helpers for that. makeScope and callPackage, I think.
<cole-h> Is it possible to print the path to where a function is defined in the repl?
<gchristensen> ....sorta
pjt_014 has quit [Read error: Connection reset by peer]
<cole-h> Oh hey, I got it
<cole-h> Just use the function without arguments
<gchristensen> > builtins.unsafeGetAttrPos "writeTextFile" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/build-support/trivial-builders.nix"; line = 74; }
rogue_koder_ has quit [Ping timeout: 256 seconds]
bkv has quit [Ping timeout: 265 seconds]
cybrian has quit [Ping timeout: 250 seconds]
rogue_koder_ has joined #nixos
<cole-h> How would I disable stripping of binaries in mkDerivation?
thonkpod_ has joined #nixos
<cole-h> If that's even possible
<energizer> ok. so what's the reason that nixpkgs is that way and the module system is the other way?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84720 → Unbreak tensorflow haskell 1 → https://git.io/Jvxgm
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvxbA
<simpson> energizer: Informally, because we want the modules to accumulate a combined configuration; we don't just want a bunch of packages, but a bunch of glued-together data.
<evils> cole-h: `dontStrip = true;`
GrimSleepless has quit [Quit: WeeChat 2.7.1]
<cole-h> That easy, huh
<cole-h> /facepalm
<simpson> cole-h: Oh, don't worry, it'll get more fun if your goal is to actually do something like invoke gdb. In that case you'll need to locate the debug info. I think that it's in the manual.
bkv has joined #nixos
<evils> simpson: you're thinking of `separateDebugInfo`, if you simply don't strip, you can use the binaries with gdb
thonkpod_ is now known as thonkpod
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84765 → chrome-token-signing: 1.1.1 -> 1.1.2 → https://git.io/Jvxbh
GrimSleepless has joined #nixos
<energizer> iow, it seems complicated to have interdependencies instead of a dag, for all the same reasons it's complicated in OOP. does nixos configuration really need to be that way? which modules mutually depend on each other?
Izorkin has quit [Read error: Connection reset by peer]
<cole-h> evils++
<{^_^}> evils's karma got increased to 4
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @mikesperber to release-20.03 « bazel_0_26: fix linker flags for darwin (#84614) »: https://git.io/JvxNT
<cole-h> In my ~/.config/nixpkgs/overlays directory, is the order random, or is there some method in determining which overlay comes first?
<{^_^}> [nixpkgs] @marsam merged pull request #84629 → saga: 7.6.1 -> 7.6.2 → https://git.io/JvAQY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxNI
<{^_^}> [nixpkgs] @peterhoeg merged pull request #84763 → syncthing: 1.4.1 -> 1.4.2 → https://git.io/Jvxby
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvxNq
reallymemorable has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
<simpson> evils++
<{^_^}> evils's karma got increased to 5
mexisme has joined #nixos
bqu has joined #nixos
<simpson> energizer: Sure. I don't know whether this flexibility is used in core, or just in various personal experiments.
<{^_^}> [nixpkgs] @peterhoeg merged pull request #84716 → g15daemon: init at 1.9.5.3 → https://git.io/JvxEx
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvxNO
<cole-h> Anybody know what I have to do to get debug symbols when building a project that uses meson?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #84664 → wordpress: 5.3.2 -> 5.4 → https://git.io/JvAho
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvxNs
<{^_^}> [nixpkgs] @marsam opened pull request #84766 → python3Packages.pglast: 1.8 -> 1.10 → https://git.io/JvxNn
<jared-w> energizer: It means you can write a module without caring about the existence of any other module. Want to write a module that turns on another module? Sure. Want that module to turn on another module? Why not? It allows you to always locally reason about the state of the system that the module interacts with.
<jared-w> In... theory :p
edeast has joined #nixos
<gchristensen> I think the module system uses that fairly extensively
captjakk has joined #nixos
pinkieval has quit [Ping timeout: 250 seconds]
evertedsphere has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84767 → ddgr: 1.7 -> 1.8 → https://git.io/JvxNy
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
<jjwatt[m]> I'm new to nix, too, but as I understand it you're not really passing in a "big object," either. You're passing a ref to the spine of a possibly unrealized environment. It's still functional and lazy! Again, as far as I understand so far, anyway. guix even has "the store monad." You're essentially saying, "I'm going to make these changes" and the machinary makes sure it all adds up and then "does" it, where doing is
<jjwatt[m]> basically creating a bunch of files and putting them in the right place with extra doing like updating links and stuff (hey, that does seem monadic).
pinkieval has joined #nixos
rogue_koder_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84769 → dua: 2.3.8 -> 2.5.0 → https://git.io/JvxAf
<{^_^}> [nixpkgs] @marsam merged pull request #84455 → petsc: 3.12.4 -> 3.13.0 → https://git.io/JvN5z
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvxAJ
iyzsong has joined #nixos
rogue_koder_ has joined #nixos
iqubic` has joined #nixos
felixfoertsch23 has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
felixfoertsch has quit [Ping timeout: 264 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @xrelkd opened pull request #84770 → just: 0.4.5 -> 0.5.10 → https://git.io/JvxAO
<energizer> alright. i guess i'll get more feel for it as time goes on. thanks all.
<simpson> No worries. It's not easy.
waleee-cl has quit [Quit: Connection closed for inactivity]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
zaeph1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
zaeph has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84771 → fmt: 6.1.2 -> 6.2.0 → https://git.io/JvxAr
romildo has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
iqubic` has quit [Ping timeout: 256 seconds]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 265 seconds]
iqubic has joined #nixos
edeast has quit [Remote host closed the connection]
is_null has joined #nixos
<cole-h> I don't know if I should be happy or sad that there are no more PRs failing CI that I haven't already reviewed...
<contrun[m]> I have a string `s = "outer.inner"`. When I evaluate `{ ${s} = "value"; }`, I got `{ "outer.inner" = "value"; }`. What I want is `{ outer = { inner = "value"; }; }`. How do I do that?
<energizer> i'd guess you're supposed to split the string
reallymemorable has quit [Quit: reallymemorable]
<contrun[m]> energizer: There isn't any builtin way to that?
<energizer> idk
<contrun[m]> Ok. Thanks.
smove_ has quit [Ping timeout: 268 seconds]
johnnyfive has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @emilazy closed pull request #84303 → zfs: Linux 5.6 compatibility → https://git.io/JvbhY
anderslu1dstedt has joined #nixos
anderslundstedt has quit [Ping timeout: 256 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84741 → ghc: do not use ld.gold with musl libc #84670 → https://git.io/JvxPp
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvxxB
anderslundstedt has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
mbrgm_ has joined #nixos
anderslu1dstedt has quit [Ping timeout: 256 seconds]
romildo has quit [Quit: Leaving]
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
captjakk has quit [Ping timeout: 256 seconds]
OrangeTetra has joined #nixos
johnnyfive has joined #nixos
jlv has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #84772 → vtkWithQt4: actually build QVTK libs/headers → https://git.io/JvxxX
<{^_^}> [nixpkgs] @taku0 opened pull request #84773 → thunderbird, thunderbird-bin: 68.6.0 -> 68.7.0 → https://git.io/Jvxx1
<{^_^}> [nixpkgs] @veprbl merged pull request #84680 → linuxPackages.nvidia_x11: 440.64 -> 440.82 → https://git.io/JvxTH
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvxxM
<jlv> Is there an easy way to add a script (like a `pkgs.writeScript` script) to your bin path?
<blibberblob> anyone here have an ergodox ez? I can't figure out how to get their ROM flasher tool Wally to build with nix and I don't know much about patching ELFs. Has anyone gotten this to work? Or is there any good alternative which does have a nix derivation?
<{^_^}> [nixpkgs] @veprbl pushed commit from @lovesegfault to release-20.03 « linuxPackages.nvidia_x11: 440.64 -> 440.82 »: https://git.io/JvxxH
revtintin has joined #nixos
<cole-h> jlv: I think `pkgs.writeScriptBin` might do what you want
<jjwatt[m]> blibberblob: I have an ergodox infinity. (and plancks and XD75 and some keypads, etc). I set up flashers on my other computer, but ended up building them. I use qmk. The biggest problem I ran into was getting things working right with udev, permissions, etc, but that's cus I was{,am} a NixOS noob. Similar story for flashing my stm32 dev boards. For those, I did mess with binaries sometimes, mostly for certain tools, but in
<jjwatt[m]> the end I liked the source stuff better. For binaries, there is a great page on the wiki: https://nixos.wiki/wiki/Packaging/Binaries
revtintin has quit [Ping timeout: 250 seconds]
wavirc22_ has quit [Read error: Connection reset by peer]
<jjwatt[m]> That has worked for me for several packages like TIC-80, pico8 and an all-in-one emacs+common lisp deal I was just playing around with. I never made them into proper packages, though. Just followed the "manual" route each time. cole-h's suggestion is probably better if you can get it to do it automatically, but then you'll probably need to learn about packaging, too, which is why I skipped it at first.
chagra_ has joined #nixos
wavirc22 has joined #nixos
<blibberblob> jjwatt[m]: well I'm no expert myself :P currently trying to hack around with patchelf... but getting udev & permissions working sounds like another pain haha
<jjwatt[m]> bibberblob: hah! well, it's long and messy, but it might save you some pain--my (mis)adventures with getting some arm embedded stuff going (a lot of udev, but it was simpler than it seemed): https://gist.github.com/jjwatt/18c9d05b83e18a691243dd434d96eebb
chagra has quit [Ping timeout: 265 seconds]
<jjwatt[m]> that was over a month ago now, so I was even more a noob then, but the part about adding the packages to the NixOS system was a key takeaway and I think it's what let me get cookin' on that front
oranginal has joined #nixos
OrangeTetra has quit [Ping timeout: 265 seconds]
Mateon3 has joined #nixos
<blibberblob> jjwatt[m]: thanks :)
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84775 → libinstpatch: 1.1.3 -> 1.1.4 → https://git.io/Jvxpp
<jjwatt[m]> and, if by any chance you decide to try to flash with something besides their bin flasher (or flash qmk :)), qmk usually uses dfu-programmer, avrdude or teensy-loader: all of which are in nixpkgs! And, I'm betting one of those can flash your ergodox, considering it's likely very similar hardware and/or the exact same microproc as my ergodoxes (ergodoxen? ;))
<blibberblob> hmm, well I got the binary to run by doing a bunch of patchelf wizardry... but it crashes as soon as I try to open a file, complaining about "No GSettings schemas are installed on the system"
<jjwatt[m]> those are the ones I use on my other computer to flash my keyboard gear. I'd switch over to it and and give your more info, but it's down right now. Hit me up tomorrow if you're around and I can probably help
revtintin has joined #nixos
bqu2 has joined #nixos
<jjwatt[m]> blibberblob: sounds like GTK/GNOME deps. Like, you probably got all the dynamic libs linked in, but there's some other non-compiled dependency. Don't know where GSettings schemas are, but you could probably buy the farm and install like nixpkgs.gnome3 and hope
bqu has quit [Ping timeout: 265 seconds]
<blibberblob> yeah, I'll investigate...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84776 → librsync: 2.2.1 -> 2.3.0 → https://git.io/Jvxhw
bqu has joined #nixos
aij has quit [Ping timeout: 264 seconds]
exarkun_ has joined #nixos
aij has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
exarkun has quit [Ping timeout: 240 seconds]
bqu2 has quit [Ping timeout: 256 seconds]
palo1 has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
revtintin has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #84761 → cargo-outdated: 0.9.8 -> 0.9.9 → https://git.io/Jvxba
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jvxj2
mallox has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
xO1 has joined #nixos
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84777 → nebula: 1.1.0 -> 1.2.0 → https://git.io/Jvxjo
Naptra has joined #nixos
zaeph1 is now known as zaeph
revtintin has joined #nixos
asheshambasta has joined #nixos
bqu2 has joined #nixos
bqu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84778 → nuspell: 3.0.0 -> 3.1.0 → https://git.io/JvxjF
<{^_^}> [nixpkgs] @hedning merged pull request #83088 → clipboard-indicator: removed broken flag. → https://git.io/Jvpek
<{^_^}> [nixpkgs] @hedning pushed commit from @dasj19 to master « clipboard-indicator: removed broken flag. (#83088) »: https://git.io/JvpeI
ATuin has joined #nixos
remirol has joined #nixos
revtintin has quit [Ping timeout: 264 seconds]
icetan has joined #nixos
lorimer has quit [Ping timeout: 264 seconds]
ATuin has quit [Client Quit]
ATuin has joined #nixos
revtintin has joined #nixos
rauno has joined #nixos
FRidh has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @alapshin closed pull request #83057 → androidStudioPackages.beta: 4.0.0.11 -> 4.0.0.12 → https://git.io/JvpeB
<oranginal> I've been doing a few nix-reviews and noticed that some of these take a while to load and are running compilers. Why do these build code?
mexisme has quit [Ping timeout: 260 seconds]
emilsp has joined #nixos
<cole-h> Because they haven't been cached, so of course they have to be built from scratch.
<cole-h> Packages only get cached (built by hydra) when they exist in nixpkgs. If it's a PR, it doesn't exist in nixpkgs yet, and therefore cannot be cached.
<oranginal> But don't many of these packages come from .deb files? Aren't those bins?
revtintin has quit [Ping timeout: 264 seconds]
<evils> building from source is preferred if possible, even if they are binaries, if it's a library for example, anything that depends on it, will also get rebuilt
emilsp has quit [Read error: Connection reset by peer]
revtintin has joined #nixos
<oranginal> But what makes rebuilding prefered to just testing with a bin?
<evils> not sure, i think it's because then we know who built it, and we can check if it's reproducible
<symphorien> Some libs are patched to adapt the specificities of nixos. For example the default location of ssl certs for openssl.
<symphorien> If you just fetch a binary with openssl statically linked, it won't find ssl certs
<symphorien> For example
<oranginal> Okay. That makes more sense, then.
Acou_Bass has quit [Read error: Connection reset by peer]
Acou_Bass has joined #nixos
jbrock has quit [Read error: Connection reset by peer]
jbrock has joined #nixos
revtintin has quit [Ping timeout: 256 seconds]
cole-h has quit [Quit: Goodbye]
Acou_Bass has quit [Ping timeout: 264 seconds]
cr4y1 has joined #nixos
<xfix> https://hydra.nixos.org/build/116462191/nixlog/1 can this be restarted, exit code 137 I think for is OOM killer
<xfix> Cabal, that is
Acou_Bass has joined #nixos
cybrian has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84780 → papirus-icon-theme: 20200301 -> 20200405 → https://git.io/JvpvL
<{^_^}> [nixpkgs] @globin pushed 6 commits to structured-attrs: https://git.io/Jvpvt
cybrian has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
oranginal has quit [Quit: Leaving]
cfricke has joined #nixos
<lovesegfault> xfix: link the build please
<lovesegfault> wait
<lovesegfault> nvm
<lovesegfault> restarting
<lovesegfault> done
fusion809 has joined #nixos
bqu2 has quit [Read error: Connection reset by peer]
arjen-jonathan has joined #nixos
bqu has joined #nixos
linarcx has joined #nixos
<{^_^}> [nix] @domenkozar merged pull request #3476 → Rename download to filetransfer → https://git.io/JvAmO
<{^_^}> [nix] @domenkozar pushed 14 commits to master: https://git.io/Jvpv6
miscellaneousbus has quit [Ping timeout: 265 seconds]
revtintin has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/Jvpvd
<{^_^}> [nixpkgs] @vcunat merged pull request #84773 → thunderbird, thunderbird-bin: 68.6.0 -> 68.7.0 → https://git.io/Jvxx1
iyzsong has joined #nixos
lemsip has joined #nixos
lsix has joined #nixos
dermetfan has joined #nixos
civodul has joined #nixos
opthomasprime has joined #nixos
terlar has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #84703 → docker-credential-gcr: 1.4.3 -> 2.0.1 → https://git.io/JvxCL
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvpfT
m0rphism has joined #nixos
maddo has joined #nixos
mojjo has joined #nixos
<fnords> hi, i wonder if anyone could review my PR?: https://github.com/NixOS/nixpkgs/pull/83661
<mojjo> can I make use of lib.types in contexts other than modules?
<{^_^}> #83661 (by fnords, 1 week ago, open): vimPlugins.coc-spell-checker: Add override and node dependency
zeenk has joined #nixos
<srk> mojjo: sure!
<{^_^}> [nixpkgs] @Mic92 opened pull request #84781 → acme: create certificates in subdirectory → https://git.io/JvpfC
<mojjo> srk: how ? :)
<mojjo> e.g. for a function that takes a string as argument
<srk> mojjo: what are you trying to do?
<srk> if you want types for function arguments that's a bit harder but you could do something like
<srk> > lib.types.str.check "abc"
<{^_^}> true
<mojjo> ahh, and is there an 'assert'?
<mojjo> ah, there is,,,
kahiru has joined #nixos
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nix] @phile314 opened pull request #3480 → Print float values with full precision. → https://git.io/JvpfR
exfalso has joined #nixos
nek0 has joined #nixos
<exfalso> Hi, I'd like to wrap builtins.fetchGit invocation with a sha256-checking derivation, is there something existing for this?
<mojjo> nice: this worked: `f = x: assert (pkgs.lib.types.str.check x); x`
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @samdoshi opened pull request #84782 → haskellPackages.hsexif: unbroken (fix → https://git.io/Jvpfr
jlv has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @domenkozar pushed to master « Attach pos to if expression errors »: https://git.io/Jvpfi
thibm has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @euank opened pull request #84783 → nixos/k3s: add initial k3s service → https://git.io/Jvpfb
<sephii> (trying again a previous question) I have 2 channels configured on my system: nixos (points to nixos-19.09) and unstable (points to nixos-unstable, used only for specific packages). Now when I installed packages in a non-declarative way (eg. `$ nix-env -i foobar`), it seems to automatically pick up the unstable one (I guess because it has a more recent version). Is there a way to not use unstable by default?
linarcx has quit [Quit: WeeChat 2.8]
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #84076 → ocamlPackages.cppo: 1.6.5 → 1.6.6 → https://git.io/JvdNE
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.cppo: 1.6.5 → 1.6.6 »: https://git.io/JvpJe
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84784 → s3cmd: 2.0.2 -> 2.1.0 → https://git.io/JvpJU
<{^_^}> [nixpkgs] @vbgl closed pull request #66801 → ocamlPackages.cppo: 1.6.5 -> 1.6.6 → https://git.io/fjFqD
<mojjo> srk: hover, this does not fo: `f = x: assert ((pkgs.lib.types.listOf pkgs.lib.types.str).check x); x` it accepts `f [1,2]`
<mojjo> do
ashkitten has quit [Quit: WeeChat 2.7.1]
<srk> mojjo: yeah, listOf check is implemented as just isList but it doesn't look at its elements, not sure about that one
<exfalso> sephii: after some cursory google searching found this https://github.com/NixOS/nix/issues/1067
<{^_^}> nix#1067 (by Gabriel439, 3 years ago, open): `nix-env` selecting old channels in `~/.nix-defexpr`
cybrian has joined #nixos
<exfalso> seems it's not quite clear how the ambiguity is resolved for multiple channels, but you could check ~/.nix-defexpr
wavirc22_ has joined #nixos
ashkitten has joined #nixos
<exfalso> I'm not sure in what situation you need both, but if I were you I'd just have nixos-19.09 and import nixos-unstable separately when needed (or maybe create a shell.nix that uses it if it's only needed for specific projects)
wavirc22 has quit [Ping timeout: 265 seconds]
cybrian has quit [Ping timeout: 250 seconds]
<mojjo> srk: this works: `f = xs: with builtins; with pkgs.lib.types; let type = listOf str; in assert type.check xs; assert all type.functor.wrapped.check xs; xs`
<srk> cool :)
<srk> was looking at merge and functor but it's too early for me :)
drakonis has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #84785 → emacs: Unbreak on macOS → https://git.io/JvpJV
revtintin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84786 → shaarli-material: 0.10.4 -> 0.11.0 → https://git.io/JvpJy
<bdju> how often do merges to master hit nixos unstable? I see something was fixed 3 days ago but doesn't look like it's hit my machine yet
<immae> bdju: when it builds (it is stuck since ~2 weeks)
<bdju> oh wow
linarcx has joined #nixos
<bdju> immae: is there somewhere I can view the progress or something?
<srk> ,hydra
<immae> bdju: you may go to https://nixos.org/channels/nixos-unstable to see the latest
<immae> otherwise hydra but I’m a bit lost in this tool so you’ll have to figure out by yourself
opthomasprime has left #nixos [#nixos]
<{^_^}> hydra defined
spinus has quit [Ping timeout: 240 seconds]
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
apeyroux` has joined #nixos
<bdju> thank you immae and srk
thc202 has joined #nixos
<bennofs> bdju: it should hit the channel soon. https://hydra.nixos.org/job/nixos/trunk-combined/tested needs to pass for a channel release. If you click on the latest passed build (116168962), then click on the evaluation listed next to "Part of" (evaluation 1580009), you will find that there's still 2 queued jobs for that eval
<bennofs> when the eval finishes, a cron job will then make a channel release since the "tested" job was successful for this eval
<sephii> exfalso: at the moment I'm using `import <unstable>` in my `configuration.nix` and use `unstable.mypkg` for the packages I want to install from unstable, but afaik it requires me to have a channel named `unstable`, right? Is there a way to do this without having `unstable` in my channels?
<bennofs> oh wait, why are these jobs listed as "queued"? https://hydra.nixos.org/eval/1580009#tabs-unfinished
<bennofs> it seems they already failed...
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hedning merged pull request #84694 → Gnome 3.36.1 → https://git.io/JvxGd
<{^_^}> [nixpkgs] @hedning pushed 48 commits to master: https://git.io/JvpUz
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
kleisli has joined #nixos
marius851000[m] has joined #nixos
kai_w has joined #nixos
<marius851000[m]> Does anyone know how I can get a shell to compile gcc that with target (for gcc) being x86_64-w64-mingw32 ? I'm able to set the crossSystem easily but not target system.
cosimone has joined #nixos
<marius851000[m]> (I want a linux gcc that can compile to windows with pkgsCross)
<marius851000[m]> * (I want a linux gcc that can compile to windows without pkgsCross)
<marius851000[m]> * (I want a linux gcc that can compile to windows without using pkgsCross)
<marius851000[m]> * (I want a shell that can compile a linux gcc that can compile to windows without using pkgsCross)
<marius851000[m]> * (I want a shell that can compile a linux gcc that can compile to windows)
<vika_nezrimaya> wait
<vika_nezrimaya> but crossSystem does set target system
<vika_nezrimaya> so it is thee right choice
<chloekek> Why is haskellPackages.time null?
<bennofs> chloekek: if i recall correctly, null are packages that come already shipped with GHC
<marius851000[m]> vika_nezrimaya: if I do that, I will have a gcc.exe file. I want to have the gcc that crossSystem create to compile binary
<vika_nezrimaya> OHHHH
<vika_nezrimaya> I see!
<vika_nezrimaya> Won't you need something like crossSystem.stdenv?
<vika_nezrimaya> It has gcc and more!
<chloekek> bennofs: So if I want to overrideAttrs it, I would need to do that on GHC?
<marius851000[m]> vika_nezrimaya: I think gcc9.lib have missing file that prevent pkgsCross.mingwW64.gettext to compile (like libstc++.dll.a, but there is libstdc++.la)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84787 → suitesparse: 5.7.1 -> 5.7.2 → https://git.io/JvpTT
<marius851000[m]> * vika_nezrimaya: I think gcc9.lib have missing file that prevent pkgsCross.mingwW64.gettext to compile (like there is no libstc++.dll.a, but there is libstdc++.la)
<vika_nezrimaya> I'll test it rn
cosimone has quit [Quit: Terminated!]
<marius851000[m]> vika_nezrimaya: Maybe nixpkgs.pkgsCross.mingwW64.stdenv.cc may be what I want
<marius851000[m]> * vika_nezrimaya: Maybe nixpkgs.pkgsCross.mingwW64.stdenv.cc may be what I want. I'm trying this. Thank.
<vika_nezrimaya> `nix-shell -p pkgsCross.mingwW64.stdenv` gives you a whole dev environment with GCC, binutils and some commonly needed stuff such as make
kleisli has quit [Remote host closed the connection]
<bennofs> chloekek: idk, sorry :) core packages are somehow specially bundled with ghc, but I don't know exactly what the consequences of that are
cosimone has joined #nixos
gmagnusson has joined #nixos
<chloekek> Alright, maybe I will try something different then.
<chloekek> There was a breaking change in 1.9.3 that’s causing me headaches and ideally I’d apply a patch file to undo it.
kleisli has joined #nixos
<gmagnusson> Hi! I'm trying to install Nixos over a Fedora 31 system with UEFI boot with the lustrate method. This worked on my Arch system, but fails here at the "sudo mv -v /boot /boot.bak" step with error "mv: cannot move '/boot' to '/boot.bak': Device or resource busy". I haven't found anything about this in the issues or on google. Does anyone know how to debug this?
mexisme has joined #nixos
revtintin has quit [Ping timeout: 265 seconds]
<gmagnusson> Nothing in lsof points to /boot. As far as I can tell, it's not in use anywhere
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84788 → syncthingtray: 0.10.7 -> 0.10.8 → https://git.io/JvpTn
sigmundv_ has joined #nixos
<chloekek> Ok, found a different solution, a workaround to the breaking change. :) No Nix shenanigans needed.
mexisme has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @bennofs opened pull request #84789 → [20.03] haskell.compiler.ghc822Binary: propagate llvm dependency → https://git.io/JvpT4
<srk> gmagnusson: maybe try fuser /boot as well
revtintin has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84782 → haskellPackages.hsexif: unbroken → https://git.io/Jvpfr
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvpTr
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84790 → tessera: 0.10.2 -> 0.10.4 → https://git.io/JvpTo
__monty__ has joined #nixos
<gmagnusson> srk: nothing
steevveenn has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #84791 → dat-fox-helper: init at 0.2.1 → https://git.io/JvpTF
to8 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @hedning opened pull request #84792 → Gnome shell 3.36.1 → https://git.io/JvpTj
<steevveenn> Hi! while doing nixos-rebuilding switch this morning I no longer have access to unstable.haskellPackages.Cabal_3_0_0_0 . Any idea why ?
<{^_^}> steevveenn: 20 weeks, 22 hours ago <tilpner> And it seems odd for the same machine to be virtualbox host and guest at once, you probably only want host or guest, not both
<{^_^}> steevveenn: 20 weeks, 22 hours ago <tilpner> Sorry, didn't see your reply (no ping). You want virtualisation.virtualbox.host.package = n1903.virtualbox;
<{^_^}> [nixpkgs] @marsam merged pull request #84759 → nodejs-12_x: 12.16.1 -> 12.16.2 → https://git.io/JvxbU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpkT
<pbogdan> steevveenn: maybe it was bumped to a newer version and old one pruned?
<pbogdan> I only see 3_2_0_0 on nixos-unstable atm
<steevveenn> pbogdan gonna check nixpkgs
<gmagnusson> hmm... I have two devices mounted on /boot and /boot/efi
<steevveenn> pbogdan how did you check ?
<{^_^}> [nix] @domenkozar closed pull request #1546 → Fixes for recent alpine images → https://git.io/v54ub
<pbogdan> I'm running nixos-unstable and just loaded up nixpkgs in nix repl
<pbogdan> and then just haskelPackages.Cabal_ <tab> <tab> in the repl :-)
bqu2 has joined #nixos
bqu has quit [Read error: Connection reset by peer]
<pbogdan> *haskellPackages; and can point the repl at any channel too
<steevveenn> pbogdan dabbling with nix repl at the moment, used it seldom, how do you loadup nixpkgs while in repl ?
<steevveenn> run ?
<pbogdan> steevveenn: either start it with `nix repl "<nixpkgs>"` or within the session :l <nixpkgs>
<steevveenn> pbogdan bingo, start exploring
<pbogdan> or nix repl "<nixpkgs>" -I nixpkgs=some-other-channel or even nix repl /path/to/nixpkgs/checkout
<steevveenn> pbogdan wow, it's extremely practical
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #84789 → [20.03] haskell.compiler.ghc822Binary: propagate llvm dependency → https://git.io/JvpT4
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to release-20.03: https://git.io/Jvpk2
revtintin has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
CMCDragonkai_ has joined #nixos
mnm[m] has joined #nixos
<CMCDragonkai_> Do overlays work inside ~/.config/nixpkgs/config.nix?
<CMCDragonkai_> Because my overlay is setup in NIX_PATH and it works with nix-env -i and nix-env -iA but not when I'm using packageOverrides in config.nix
spinus has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #84793 → pythonPackages.{pyshark,pylxd,nsenter}: init → https://git.io/Jvpk7
<{^_^}> [nixpkgs] @filalex77 opened pull request #84794 → lsd: 0.16.0 -> 0.17.0 → https://git.io/Jvpk5
fendor has joined #nixos
Darkmatter66_ has quit [Ping timeout: 258 seconds]
<CMCDragonkai_> im beginning to think that packageOverrides and overlays don't play nicely together
sigmundv_ has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
gmagnusson has quit [Quit: leaving]
<{^_^}> [nixpkgs] @rycee pushed commit from @s1341 to master « zplug: init at 2.4.2 »: https://git.io/JvpIL
revtintin has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #83856 → zplug: init at 2.4.2 → https://git.io/Jv5nY
<{^_^}> [nixpkgs] @Mic92 merged pull request #84781 → acme: create certificates in subdirectory → https://git.io/JvpfC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvpIt
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84795 → yafaray-core: 3.3.0 -> 3.4.1 → https://git.io/JvpIC
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #84796 → wireshark: 3.2.2 -> 3.2.3 → https://git.io/JvpI8
sigmundv_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to release-20.03 « acme: create certificates in subdirectory »: https://git.io/JvpIR
revtintin has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
sigmundv_ has joined #nixos
bqu2 has quit [Ping timeout: 250 seconds]
bqu has joined #nixos
choward has quit [Ping timeout: 256 seconds]
jakobrs has joined #nixos
<jakobrs> Even if I set enp3s0 to unmanaged in networkmanager, it still gets an ip address (via dhcpcd)
<jakobrs> Is that normal?
spinus has quit [Ping timeout: 260 seconds]
<kraem> jakobrs: i *think* you might have to disable dhcpcd with `networking.dhcpcd.enable = false;`
choward has joined #nixos
ottidmes has joined #nixos
mgdm has left #nixos ["WeeChat 1.9.1"]
<jakobrs> thing is, it works like I'd expect it to from the live usb, which, according to nixos-option, has networking.dhcpcd.enable set to true
<jakobrs> I'll try that in case it works
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
steevveenn has quit [Remote host closed the connection]
zupo has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
jakobrs has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
jakobrs has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
<jakobrs> kraem: It seems to work better now, however I had to reboot
knupfer has quit [Quit: knupfer]
<jakobrs> s/$/./
knupfer1 has joined #nixos
<kraem> 👍
drakonis1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
lemsip has quit [Read error: Connection reset by peer]
knupfer1 is now known as knupfer
drakonis_ has quit [Ping timeout: 265 seconds]
pbogdan has left #nixos ["ERC (IRC client for Emacs 26.3)"]
cybrian has joined #nixos
revtintin has joined #nixos
pbogdan has joined #nixos
<kraem> jakobrs: i don't know if the default "dhclient" of networking.networkmanager.dhcp is provided as a lib or a service but you can change the option to "internal" and have networkmanager handle dhcp. i imagine that if you set an interface as unhandled by NM it wouldn't provide dhcp for it in case of "internal".
<{^_^}> [nixpkgs] @NorfairKing opened pull request #84798 → Brother MFC6490CW driver → https://git.io/JvpLV
tuxisgr8[m] has joined #nixos
bqu has quit [Read error: Connection reset by peer]
bqu has joined #nixos
<jakobrs> I'll try that if it breaks
cybrian has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84799 → brltty: 6.0 -> 6.1 → https://git.io/JvpLo
bqu has quit [Ping timeout: 265 seconds]
revtintin has quit [Ping timeout: 265 seconds]
linarcx has joined #nixos
revtintin has joined #nixos
xO1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84800 → btrfs-progs: 5.4.1 -> 5.6 → https://git.io/JvpL5
<{^_^}> [nixpkgs] @Mic92 opened pull request #84801 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/JvpLA
revtintin has quit [Ping timeout: 265 seconds]
linarcx has quit [Read error: Connection reset by peer]
revtintin has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
drakonis has joined #nixos
arjen-jonathan has quit [Ping timeout: 265 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
revtintin has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Darkmatter66 has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
drakonis_ has joined #nixos
Darkmatter66 has joined #nixos
bennofs1 has joined #nixos
c0c0 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
revtintin has joined #nixos
exfalso has quit [Ping timeout: 265 seconds]
arjen-jonathan has joined #nixos
bennofs1 has quit [Quit: WeeChat 2.7.1]
johnjay has quit [Ping timeout: 265 seconds]
johnjay has joined #nixos
domogled has joined #nixos
<bqv[m]> <{^_^} "[nixpkgs] @Mic92 opened pull req"> Lol
johnjay has quit [Ping timeout: 256 seconds]
exfalso has joined #nixos
kahiru has quit [Remote host closed the connection]
kahiru has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84794 → lsd: 0.16.0 -> 0.17.0 → https://git.io/Jvpk5
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/Jvpqq
<{^_^}> [nixpkgs] @Mic92 merged pull request #84659 → weboob: 1.5 -> 2.0 → https://git.io/JvAAQ
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvpqY
exfalso has quit [Ping timeout: 256 seconds]
exfalso has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #84804 → vscode, vscodium: 1.43.2 -> 1.44.0 → https://git.io/Jvpqc
alexgood has left #nixos ["User left"]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #84653 → crawl: 0.24.0 -> 0.24.1 → https://git.io/JvANV
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jvpqz
domogled has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #84699 → nginx-sso: 0.24.0 -> 0.24.1 → https://git.io/Jvxc4
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jvpqw
<exfalso> sephii: a bit late, but yes, there is a way to do that, see https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
<{^_^}> [nixpkgs] @jtojnar merged pull request #84177 → maintainers/teams: add podman team → https://git.io/JvFdz
<{^_^}> [nixpkgs] @jtojnar pushed 10 commits to master: https://git.io/JvpqK
evertedsphere has quit [Ping timeout: 256 seconds]
exfalso has quit [Quit: Lost terminal]
turion has joined #nixos
aveltras has joined #nixos
c0c0 has joined #nixos
<turion> How do I downgrade one python package in python37.withPackages
<turion> ?
<turion> I have python37.withPackages (pythonPkgs: with pythonPkgs; [ ...long list
morgrimm has joined #nixos
<turion> And then I tried import oldernixpkgstarball.python37.pkgs.matplotlib
<turion> home-manager built fine, but when I call that python, it doesn't find the matplotlib dependency
<{^_^}> [nixpkgs] @nyanloutre closed pull request #58530 → Gamehub init → https://git.io/fjTDG
domogled has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #84611 → stella: 4.1.1 -> 6.1.1 → https://git.io/JvAX1
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to master: https://git.io/Jvpq7
revtintin has quit [Ping timeout: 264 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
exarkun_ is now known as exarkun
johnjay has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
<turion> Oh. Is *that* what packageOverrides is for...
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « hydra: 2020-03-24 -> 2020-04-07 »: https://git.io/Jvpmz
chpatrick has joined #nixos
<chpatrick> has anyone had trouble with displayport audio with nvidia?
<clever> chpatrick: does the output device appear in pavucontrol?
<chpatrick> xrandr --set audio on produces X Error of failed request: BadName, and pavucontrol says they're all unplugged
<chpatrick> clever: yes, but in the profile settings it says all of the ports are unplugged
<clever> ah, out of ideas then
morgrimm has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @knl opened pull request #84807 → terraform-docs: 0.6.0 -> 0.9.1 → https://git.io/Jvpm9
spinus has joined #nixos
cosimone has quit [Quit: Quit.]
<mojjo> My systemd service should not restart in case parsing of environment variables fails. But should restart in any other scenario. Which `Restart=?` config would you suggest? Or is there a special exit code for this, that I could use in the application and then exclude it in the systemd config?
likivik[m] has joined #nixos
cosimone has joined #nixos
<vika_nezrimaya> Oops! I'm forever stuck on an old version of nixFlakes because there's a new flake.lock version 5, and my nixFlakes only reads version 4... what's even more infuriating is that the new version of Nix that reads flake.lock version 5 uses... flake.lock version 5, making it impossible to upgrade using only nixFlakes
revtintin has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
<niksnut> vika_nezrimaya: nixFlakes in current nixpkgs should work
linarcx has quit [Client Quit]
<vika_nezrimaya> oh well this means pulling 3k commits
<vika_nezrimaya> :3
<vika_nezrimaya> wish me luck
jophish has quit [Quit: WeeChat 2.4]
<vika_nezrimaya> I hope flake.lock in Nixpkgs still uses v4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84808 → calls: 0.1.2 -> 0.1.4 → https://git.io/JvpYT
<vika_nezrimaya> oh it doesn't have a flake.lock
<vika_nezrimaya> great
niso has quit [Ping timeout: 265 seconds]
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @romildo merged pull request #84780 → papirus-icon-theme: 20200301 -> 20200405 → https://git.io/JvpvL
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvpYm
<{^_^}> [nixpkgs] @aanderse merged pull request #84293 → apacheHttpd: 2.4.41 -> 2.4.43 [20.03] → https://git.io/Jvbxf
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-20.03: https://git.io/JvpYY
<{^_^}> [nixpkgs] @aanderse merged pull request #84294 → apacheHttpd: 2.4.41 -> 2.4.43 [19.09] → https://git.io/JvbxI
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-19.09: https://git.io/JvpYO
mallox has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #84405 → dolphinEmuMaster: 5.0-11608 -> 5.0-11824 → https://git.io/JvNVt
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvpYs
kaliumxyz has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @adamse opened pull request #84809 → ghc: mention why ld.gold is disabled for musl libc → https://git.io/JvpYC
mexisme has joined #nixos
silver_hook has quit [Ping timeout: 240 seconds]
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
pbogdan has joined #nixos
mallox_ has joined #nixos
revtintin has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> error: [json.exception.parse_error.101] parse error at line 3, column 14: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal - I don't like this...
mallox has quit [Ping timeout: 265 seconds]
<gchristensen> is the file valid json?
cybrian has joined #nixos
<bqv[m]> vika_nezrimaya: what's requiring the old lock?
<bqv[m]> actually, this problem should be solved
<vika_nezrimaya> Nah, I've already managed to solve the problem
<bqv[m]> i raised this with eelco a few days ago, nixFlakes in nixpkgs should support v5
<{^_^}> [nixpkgs] @zimbatm merged pull request #84807 → terraform-docs: 0.6.0 -> 0.9.1 → https://git.io/Jvpm9
<vika_nezrimaya> gchristensen: I got my cache corrupted
<{^_^}> [nixpkgs] @zimbatm pushed commit from @knl to master « terraform-docs: 0.6.0 -> 0.9.1 (#84807) »: https://git.io/JvpYD
<vika_nezrimaya> cleared it, everything's fine
<bqv[m]> ah ok
<vika_nezrimaya> except I got an error in my flake lol
revtintin has quit [Ping timeout: 256 seconds]
<bqv[m]> vika_nezrimaya: pr got rebased btw, gz
evertedsphere has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #84808 → calls: 0.1.2 -> 0.1.4 → https://git.io/JvpYT
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvpYN
gustavderdrache has joined #nixos
cybrian has quit [Ping timeout: 264 seconds]
<{^_^}> [hydra] @Mic92 opened pull request #735 → add github ci tests → https://git.io/JvpYp
niso has joined #nixos
<{^_^}> [nix] @domenkozar opened pull request #3481 → 2.3 bugfixes → https://git.io/JvpOf
<{^_^}> [hydra] @grahamc merged pull request #732 → Fix build against latest Nix → https://git.io/JvAra
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/JvpOk
<{^_^}> [nix] @domenkozar pushed to master « remote .travis.yml as we migrated to github actions »: https://git.io/JvpOL
<{^_^}> [nix] @domenkozar pushed to master « README: add github actions badge »: https://git.io/JvpOG
nckx has quit [Ping timeout: 264 seconds]
waleee-cl has joined #nixos
<chpatrick> is there a reliable way to detect if nix-daemon is enabled?
<gchristensen> chpatrick: maybe look at how nix-info works
<bkv> ipconfig.sh is rgeat
<chpatrick> gchristensen: the problem is that I don't think it works if <nixpkgs> isn't available
remirol is now known as lorimer
<clever> chpatrick: i believe it first checks $NIX_REMOTE, daemon means use the daemon, auto is the default, which tests if it has write to stuff in /nix
<chpatrick> clever: hmm but on my nixops server NIX_REMOTE is not set, even though the daemon is enabled
<clever> chpatrick: if its not set, then it defaults to auto, which tests if it can write to things in /nix
<{^_^}> [nixpkgs] @shlevy pushed to master « emacsPackages: Add standalone agda-input package that doesn't require building Agda. »: https://git.io/JvpOx
cybrian has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to release-20.03 « emacsPackages: Add standalone agda-input package that doesn't require building Agda. »: https://git.io/Jvp3f
gxt has quit [Remote host closed the connection]
phreedom_ has quit [Remote host closed the connection]
cartwright has quit [Remote host closed the connection]
est31 has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
oida has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
andreas303 has quit [Remote host closed the connection]
jb55 has quit [Write error: Broken pipe]
klntsky has quit [Write error: Broken pipe]
ATuin has quit [Quit: WeeChat 2.7.1]
gxt has joined #nixos
silver_hook has joined #nixos
xelxebar has joined #nixos
<freethink> Is there a w.i.p gui installer anywhere?
jb55 has joined #nixos
<{^_^}> [nixpkgs] @f4814 closed pull request #83106 → razergenie: init at 0.8.1 → https://git.io/Jvp3L
<{^_^}> [nixpkgs] @petabyteboy pushed to feature/plasma-5-18 « plasma5: 5.17.5 -> 5.18.4 »: https://git.io/Jvp3q
<{^_^}> [nixpkgs] @Ma27 pushed commit from @xwvvvvwx to release-19.09 « linuxPackagesFor: wireguard: noop for kernel >= 5.6 »: https://git.io/Jvp3m
<{^_^}> [nixpkgs] @petabyteboy pushed 0 commits to feature/plasma-5-18: https://git.io/Jvp33
cybrian has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
klntsky has joined #nixos
cartwright has joined #nixos
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #84796 → wireshark: 3.2.2 -> 3.2.3 → https://git.io/JvpI8
<{^_^}> [nixpkgs] @teto pushed commit from @zowoq to master « wireshark: 3.2.2 -> 3.2.3 »: https://git.io/Jvp3s
<jonge[m]> freethink: ask lassulus
samrose has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 250 seconds]
<chpatrick> clever: hmm if I run nix-info on the server it also says multi-user?: no
cybrian has joined #nixos
est31 has joined #nixos
oida has joined #nixos
<{^_^}> [nixpkgs] @kuznero opened pull request #84810 → jetbrains: update → https://git.io/Jvp34
est31 has quit [Remote host closed the connection]
teto has joined #nixos
est has joined #nixos
<lassulus> uh there was one based on calamares https://github.com/manveru/nixos-installer/tree/calamares and one I hacked together based on fzf: https://github.com/Lassulus/nixos-installer
mallox_ has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jvp3B
<{^_^}> [nixpkgs] @dywedir merged pull request #84769 → dua: 2.3.8 -> 2.5.0 → https://git.io/JvxAf
mallox has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #84777 → nebula: 1.1.0 -> 1.2.0 → https://git.io/Jvxjo
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jvp3g
cybrian has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Emantor opened pull request #84811 → [20.03] xorg.xorgserver: 1.20.7 -> 1.20.8 → https://git.io/Jvp3a
<{^_^}> [nixpkgs] @ryantm merged pull request #84677 → victoriametrics: 1.33.1 -> 1.34.5 → https://git.io/JvxUq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jvp3w
andreas303 has joined #nixos
<freethink> Thanks, I shall have a look at these
linarcx has joined #nixos
bigrabbit has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @f4814 opened pull request #84812 → razergenie: init at 0.8.1 → https://git.io/Jvp3Q
reallymemorable has joined #nixos
wavirc22_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84813 → cargo-bloat: 0.9.2 -> 0.9.3 → https://git.io/JvpsJ
bkv has quit [Ping timeout: 246 seconds]
<{^_^}> [hydra] @edolstra pushed to master « lastModified -> lastModifiedDate »: https://git.io/JvpsL
bkv has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #84609 → perlPackages.ExtUtilsF77: init at 1.23 → https://git.io/JvAPO
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvpsY
<{^_^}> [nixpkgs] @aanderse merged pull request #84727 → olive-editor 0.1.1 -> 0.1.2 → https://git.io/JvxwB
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jvpss
niso has quit [Ping timeout: 240 seconds]
<lunik1> is there a way to check if you need to reboot your system to complete an update e.g. when the kernel as been updated?
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84814 → crispyDoom: 5.7.1 -> 5.7.2 → https://git.io/Jvpsn
cybrian has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #84815 → gcc: copy windows library file to the lib output → https://git.io/JvpsC
<ottidmes> lunik1: I think that is undecidable, although you could check for things like the kernel, but in general AFAIK it is impossible to decide this. You may check if the initrd/boot stages have changed, but there is no guarantee if they did, that a reboot will actually change anything that matters
<timokau[m]> And if they didn't, there is no guarantee that there isn't some long-running process from before the update. We try restarting systemd services, but that isn't always possible and some long running processes may not be systemd services.
GrimSleepless has quit [Quit: WeeChat 2.7.1]
cybrian has quit [Ping timeout: 260 seconds]
markus1189 has quit [Ping timeout: 256 seconds]
markus1189 has joined #nixos
<ottidmes> switching to a new system profile is best effort
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
niso has joined #nixos
<timokau[m]> Is there a way to pass nix options such as `--timeout` to a remote builder? Passing them naively seems to be ignored.
<timokau[m]> I've found https://github.com/NixOS/nix/pull/1946 but I'm not sure if that is what I'm looking for. `--store` is not documented.
<gchristensen> I don't think so
<{^_^}> nix#1946 (by shlevy, 2 years ago, closed): ssh-ng: Only forward settings that make sense to forward.
<bkv> right, question
<bkv> nftables bblacklists the ip_tables kmodule
<bkv> but some things seem to still be loading it
<timokau[m]> Mh, that is a shame
<bkv> so is there a nix-y way i can just deconfigure it from the kernel?
<bkv> make it entirely unavailable
<{^_^}> [nix] @edolstra pushed 26 commits to flakes: https://git.io/JvpsK
<bkv> i'll deal with the aftermath
sigmundv_ has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #735 → add github ci tests → https://git.io/JvpYp
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JvpsH
iyzsong has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #84816 → texmacs: 1.99.11 -> 1.99.12 → https://git.io/Jvpsx
igghibu has joined #nixos
drewr has joined #nixos
terlar has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<chpatrick> has anyone had any problems with Broken pipe when copying nix packages over ssh with 20.03?
<chpatrick> this is with the same nix version on both ends
<chpatrick> the copying is done by nix-shell, not nix-copy-closure
drewr has quit [Remote host closed the connection]
<chpatrick> well it's the daemon actually but it's started by nix-shell
bigrabbit has quit [Remote host closed the connection]
drewr has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #84817 → libvirt: 6.1.0 -> 6.2.0 → https://git.io/JvpGl
<{^_^}> [nixpkgs] @kuznero opened pull request #84818 → vscode, vscodium: 1.43.2 -> 1.44.0 → https://git.io/JvpGB
igghibu has quit [Quit: Konversation terminated!]
<{^_^}> [flake-registry] @edolstra pushed to master « hydra: Use master branch »: https://git.io/JvpGi
<DamienCassou> hi
<DamienCassou> how should I configure my system to make nix always use the nixpkgs git clone on my disk instead of an http source? I want that for both the user's nix and for the system
<srk> DamienCassou: I'm using nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
markus1189 has quit [Ping timeout: 256 seconds]
<simpson> srk++ that's a nifty trick, using /etc/
<{^_^}> srk's karma got increased to 5
<lordcirth> srk++ been looking for something like that. Can that work for nixops?
<{^_^}> srk's karma got increased to 6
<srk> simpson: might be better to use your home directory but I don't avoid using root account so I don't mind :)
<DamienCassou> srk: in `~/.config/nix/nix.conf`?
<clever> lordcirth: one min
<clever> lordcirth: that does what you want and more!
<srk> DamienCassou: system wide
<DamienCassou> you put that in your `/etc/nixos/configuration.nix`?
<srk> DamienCassou: yup
<simpson> srk: It's a nice solution to the question of where to put something so that everybody can read it, most people can't write it, and NixOS won't manage it.
<DamienCassou> srk: good, thank you.
<srk> simpson: indeed, I'm using another nixpkgs clone at home dir for work and to pull from /etc/nixpkgs if needed :)
xacktm has quit [Ping timeout: 272 seconds]
revtintin has quit [Ping timeout: 265 seconds]
<nek0> HI folks. I am trying to set up a remote build server but I run into the error "you are not privileged to build derivations", even though the user i use to log in to the server is in nix.trustedUsers. What am I missing?
amosbird_ has joined #nixos
<lunik1> I'm not sure if I completely understand the system.copySystemConfiguration option. Does this mean each generation will have its own copy of the configuration.nix used to create it?
reallymemorable has quit [Quit: reallymemorable]
<clever> lunik1: thats meant to remake a missing configuration.nix on first boot, and doesnt give easy access to the config files
amosbird has quit [Ping timeout: 272 seconds]
<clever> lunik1: this is how i do a similar task, it shows up at /run/current-system/nixcfg, https://github.com/cleverca22/nixos-configs/blob/master/core.nix#L126-L128
<srk> handy! clever++
<{^_^}> clever's karma got increased to 379
<lunik1> clever++ neat! thanks
<{^_^}> clever's karma got increased to 380
fenedor has joined #nixos
xacktm has joined #nixos
markus1189 has joined #nixos
mexisme has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
domogled1 has joined #nixos
domogled has quit [Ping timeout: 264 seconds]
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @Ma27 merged pull request #84813 → cargo-bloat: 0.9.2 -> 0.9.3 → https://git.io/JvpsJ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvpZ6
nckx has joined #nixos
<DamienCassou> I read on nixos-rebuild man page something about flakes. But I can't find it in any manual
<vika_nezrimaya> i'm getting a feeling that using github:NixOS/nixpkgs as a flake input isn't gonna use a lot of cached binaries... it builds a lot of stuff like GNOME programs instead of downloading :3
<infinisil> Does NixOS have something nice and simple to limit network bandwidth?
reallymemorable has joined #nixos
<hyper_ch> set nic connection speed to 10mbps :)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #84689 → kwallet-pam: just provide plugin path for qtbase → https://git.io/JvxmF
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JvpZP
<vika_nezrimaya> DamienCassou: Flakes are great but from my experience they require a lot of reading on the proposed RFC49, current examples of flake-built repos and other stuff
griff__ has joined #nixos
<vika_nezrimaya> They're in the preview phase AFAIK
<vika_nezrimaya> so you won't be able to find a lot of documentation in the manual
mexisme has quit [Ping timeout: 246 seconds]
<vika_nezrimaya> DamienCassou: read this first -> https://github.com/NixOS/rfcs/pull/49
<{^_^}> rfcs#49 (by edolstra, 38 weeks ago, open): [RFC 0049] Flakes
w3emperor_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to release-20.03 « kwallet-pam: unset QT_PLUGIN_PATH »: https://git.io/JvpZy
Kyndig has quit [Remote host closed the connection]
<vika_nezrimaya> this is the main document that describes flakes and how they work
<etu> DamienCassou: o/
<DamienCassou> thank you for the link. I will have a look. I was just curious
amosbird_ is now known as amosbird
<infinisil> srk: A bit more complicated than I hoped
<infinisil> But I guess I'll read a bit..
<srk> yeah, or maybe look for a bit more simple example of 'tc shaping'
mojjo has quit [Remote host closed the connection]
chloekek has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @nlewo merged pull request #84643 → Nipy ecosystem: quote homepage urls → https://git.io/JvAF6
<{^_^}> [nixpkgs] @nlewo pushed 5 commits to master: https://git.io/JvpZx
ddellacosta has joined #nixos
<bkv> vika_nezrimaya: you should still probably use a channel
revtintin has joined #nixos
<bkv> i mean, you could do what i've done, and use master by default but pin expensive builds to nixos-unstable
<bkv> but yeah i found using master directly to be ...inconvenient
<vika_nezrimaya> the thing is - I'm fairly used to building from my checkout which is usually several kilocommits behind
<bkv> lmao
<vika_nezrimaya> yep I'm not really used to daily updates
<vika_nezrimaya> should make it a part of my daily routine but make my checkout lag a day or two behind so Hydra can catch up on packages
<infinisil> srk: Copied from a random website, seems to work: sudo tc qdisc add dev eno1 root tbf rate 1024kbit burst 10kb latency 70ms peakrate 2048kbit minburst 1540
reallymemorable has quit [Quit: reallymemorable]
<srk> cool
<infinisil> Way too complicated lol
* srk makes a note
kleisli has quit [Remote host closed the connection]
romildo has joined #nixos
<vika_nezrimaya> when I was starting to commit into NixOS I thought something like "you're not serious on your NixOS development unless you dogfood your own changes"
<bkv> vika_nezrimaya: why use a local checkout though? any change you need can now really be done through your flake :p
<lordcirth> I've got my laptop running 20.03 from a local checkout, yeah
<infinisil> srk: To delete: sudo tc qdisc del dev eno1 root
<lordcirth> I'd run master if it was fast enough to compile
<vika_nezrimaya> I was fixing cross-compilation issues initially when I started it, and flakes really weren't around at that time
<lordcirth> I need to fix LXQT
kleisli has joined #nixos
<vika_nezrimaya> nowadays I'll probably keep my GitHub fork's master as my "semi-stable" branch and update it daily
<srk> infinisil: noted. ty! :)
griff__ has quit [Quit: griff__]
eoli3n__ has quit [Ping timeout: 256 seconds]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
evertedsphere has quit [Quit: leaving]
evertedsphere has joined #nixos
zaeph1 has joined #nixos
<bkv> i would hate to have to keep a fork up to date
<bkv> even the home-manager situation annoys me
<bkv> but meh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84821 → fetchmail: 6.4.2 -> 6.4.3 → https://git.io/Jvpnz
spinus has left #nixos [#nixos]
kleisli has quit [Remote host closed the connection]
teto has quit [Quit: WeeChat 2.8]
kleisli has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
zaeph has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #84822 → subsurface: 4.8.2 -> 4.9.3 → https://git.io/Jvpnr
<{^_^}> [nix] @pmiddend opened pull request #3482 → gc.cc: Ignore hidden files in temproots → https://git.io/JvpnK
zaeph1 is now known as zaeph
revtintin has quit [Ping timeout: 260 seconds]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
arjen-jonathan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #84823 → redmine: 4.1.0 -> 4.1.1 → https://git.io/Jvpnp
justanotheruser has quit [Ping timeout: 260 seconds]
jbrock has quit [Ping timeout: 250 seconds]
<DamienCassou> srk: I tried your idea and I now get `error: file 'nixos-config' was not found in the Nix search path (add it using $NIX_PATH or -I), at /home/cassou/Documents/projects/nixos/nixpkgs/nixos/default.nix:1:60`
<srk> DamienCassou: echo $NIX_PATH
<srk> /root/.nix-defexpr/channels:nixpkgs=/etc/nixpkgs:nixos-config=/etc/nixos/configuration.nix
<srk> DamienCassou: iirc I don't have it set explicitely, lookin'
jbrock has joined #nixos
bebarker has joined #nixos
<DamienCassou> $ echo $NIX_PATH
<DamienCassou> /home/cassou/.nix-defexpr/channels:nixpkgs=/home/cassou/Documents/projects/nixos/nixpkgs
<DamienCassou> what is this nixos-config file?
<srk> DamienCassou: well, add it as well .. your system configuration.nix
<DamienCassou> it's in /etc/nixos/configuration.nix. Should I add that path to NIX_PATH? In which form?
<srk> DamienCassou: oh, I'm lying - it's just not commited in git .. nix.nixPath = [ "nixos-config=/etc/nixos/machines/duck/configuration.nix" ];
<clever> $ echo $NIX_PATH
<clever> /home/clever/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
teto has joined #nixos
erasmas has joined #nixos
Brandon__ has quit [Ping timeout: 258 seconds]
<DamienCassou> do I need the channels if I'm using the git repo?
<clever> DamienCassou: you can skip them
<srk> not really
<DamienCassou> where do you configure NIX_PATH ?
<clever> DamienCassou: nix.nixPath
<srk> DamienCassou: nix.nixPath as you did, just add "nixos-config=/etc/nixos/configuration.nix" as well
<DamienCassou> (configuring it interactively in the terminal made `nixos-rebuild build` seem to work. I would like to make it more permanent
<clever> DamienCassou: nix.nixPath
<DamienCassou> ok. Then you don't delete the channels. Should I delete the channels folders in my home dir?
<clever> DamienCassou: there shouldnt be a channels folder in the home dir, just def-expr
<{^_^}> [nixos-channel-scripts] @edolstra pushed 2 commits to master: https://git.io/JvpcR
<clever> and defexpr will restore itself every time you login
evertedsphere has quit [Remote host closed the connection]
<DamienCassou> that's what I what talking about. Thank you
nschoe has quit [Quit: Program. Terminated.]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<DamienCassou> thank you all for your help
justanotheruser has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3482 → gc.cc: Ignore hidden files in temproots → https://git.io/JvpnK
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jvpc2
turion has quit [Ping timeout: 246 seconds]
nschoe has joined #nixos
reallymemorable has joined #nixos
revtintin has joined #nixos
nschoe has quit [Client Quit]
<{^_^}> [nixpkgs] @eamsden opened pull request #84824 → protobuf: build with cmake instead of autoconf → https://git.io/Jvpc1
nschoe has joined #nixos
nschoe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84825 → dit: 0.5 -> 0.6 → https://git.io/JvpcS
chagra has joined #nixos
aiowej has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7]
chagra_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #84765 → chrome-token-signing: 1.1.1 -> 1.1.2 → https://git.io/Jvxbh
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvpCI
<{^_^}> [nixpkgs] @danieldk opened pull request #84827 → drawio: 12.9.3 -> 12.9.9 → https://git.io/JvpCs
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
chagra_ has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
<bkv> god, `make randconfig` would be more efficient than this at this point
<{^_^}> [nixpkgs] @marsam merged pull request #82267 → sane-airscan: init at 0.9.17 → https://git.io/JvKEh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpC2
chagra has quit [Ping timeout: 256 seconds]
<{^_^}> [hydra] @edolstra pushed to master « flake.lock: Update »: https://git.io/JvpCM
<{^_^}> [nixos-org-configurations] @edolstra pushed 4 commits to master: https://git.io/JvpC9
igghibu has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
asbachb has joined #nixos
linarcx has joined #nixos
<asbachb> Hej. Do hydra build everything or only the things which changed?
<bkv> there is no difference between those two sets
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<clever> asbachb: nix uses the hash of the build directions to compute $out, so if the steps to make somehting havent changed, it finds the old product in the store, and just reuses it
johnny101m has quit [Quit: -a- Connection Timed Out]
kleisli has quit [Remote host closed the connection]
aiowej has quit [Remote host closed the connection]
johnny101m has joined #nixos
<asbachb> clever: So hydra trusts it's own previous builds and "reuse" them?
cybrian has joined #nixos
kleisli has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> asbachb: yeah
<{^_^}> [nixpkgs] @marsam merged pull request #84762 → shadowenv: 1.3.2 -> 2.0.0 → https://git.io/JvxbD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpWZ
jbrock has quit [Quit: jbrock]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-20.03: https://git.io/JvpWc
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
cybrian has quit [Ping timeout: 256 seconds]
cybrian has joined #nixos
kleisli has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #84788 → syncthingtray: 0.10.7 -> 0.10.8 → https://git.io/JvpTn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpW4
kleisli has joined #nixos
arjen-jonathan has joined #nixos
igghibu has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @marsam merged pull request #84821 → fetchmail: 6.4.2 -> 6.4.3 → https://git.io/Jvpnz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpWz
drakonis_ has joined #nixos
eoli3n__ has joined #nixos
kleisli has quit [Remote host closed the connection]
cybrian has quit [Read error: Connection reset by peer]
turion has joined #nixos
kleisli has joined #nixos
cybrian has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
wspthr has quit [Read error: Connection reset by peer]
cybrian has quit [Read error: Connection reset by peer]
kleisli has quit [Remote host closed the connection]
wspthr has joined #nixos
kleisli has joined #nixos
<bennofs> asbachb: it shows 11.3 for me
wspthr has quit [Read error: Connection reset by peer]
ixxie has joined #nixos
cybrian has joined #nixos
cartwright has quit [Remote host closed the connection]
<asbachb> bennofs: packages.html ?
wspthr has joined #nixos
<ixxie> I noticed python37Packages.numpy uses Blas in the build... how would I swap that out for OpenBlas?
zeta_0 has joined #nixos
<bennofs> asbachb: yes. maybe come caching?
cartwright has joined #nixos
chloekek has joined #nixos
abathur has joined #nixos
<zeta_0> i'm trying to do a rebuild but the terminal is stuck here, what's going on? https://dpaste.org/hu1w
<bkv> is another nix build running somewhere? or have you just recovered from a crash?
<bkv> worst case, just rm -rf /root/.cache
<bkv> uh
<bkv> .cache/nix
bbarker has joined #nixos
<bkv> >_>
<Yaniel> trying to use ffmpeg's vaapi encoders I get "missing glibc" errors from the display driver
<asbachb> bennofs: Mh. You were right. Cleared the cache. The version is updated. Strange.
<Yaniel> no idea why that would be the case but it probably means the ffmpeg package needs some fixing :(
<zeta_0> neither, i woke and did a rebuild, and that popped up
cybrian has quit [Ping timeout: 260 seconds]
kleisli has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 256 seconds]
bebarker has quit [Ping timeout: 250 seconds]
kleisli has joined #nixos
kleisli has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.8]
kleisli has joined #nixos
<zeta_0> so what's causing the build to stay locked up?
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
asbachb has quit [Remote host closed the connection]
turion has quit [Ping timeout: 246 seconds]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #84828 → python2Packages.apptools: 4.4.0 -> 4.5.0 → https://git.io/JvplE
<evanjs> Ughhh is there some way to block ~/.config/mimeapps from being written? I have it managed with nix/hm (can't remember) but one of my apps (Postman, IIRC?) keeps writing to it, and then my rebuilds fail until I remote it, etc
jbrock has quit [Client Quit]
jbrock has joined #nixos
<evanjs> home-manager is the one failing (because it prioritizes safety/doesn't typically overwrite non-home-manager-managed files)
emmanuelrosa[m] has joined #nixos
<zeta_0> evanjs: are you having some build issues today as well? here's where i'm stuck at: https://dpaste.org/Xs44
morgrimm has joined #nixos
<zeta_0> i don't remember making any major changes to my home-manager, so i have no idea what's wrong
<lordcirth> evanjs, you could set it read-only, or even chattr +i
<{^_^}> [nixpkgs] @marsam merged pull request #84758 → axel: 2.17.7 -> 2.17.8 → https://git.io/JvxFR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvplP
<lordcirth> But that will also break home-manager, if it tries to write to it
zupo has joined #nixos
<bkv> yay, fixed the dishwasher
<b42> zeta_0: looks like https://github.com/NixOS/nix/issues/3236 - kill the nix-channel and try again
<{^_^}> nix#3236 (by chkno, 19 weeks ago, open): nix-channel --update hangs indefinitely
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @kuznero closed pull request #84818 → vscode, vscodium: 1.43.2 -> 1.44.0 → https://git.io/JvpGB
<gentauro> does anybody else notice that `eog` preferences are read only? (I can't disable `smooth images when zoomed-in`)
cole-h has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
logand has joined #nixos
<zeta_0> b42: thanks, i'm going to reboot 1st just to double check
jco has joined #nixos
zeta_0 has quit [Quit: rebooting]
<{^_^}> [nixpkgs] @marsam merged pull request #84776 → librsync: 2.2.1 -> 2.3.0 → https://git.io/Jvxhw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvp8f
<{^_^}> [nixpkgs] @bcdarwin opened pull request #84829 → python2Packages.traitsui: remove optional wxPython dependency → https://git.io/Jvp8J
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84784 → s3cmd: 2.0.2 -> 2.1.0 → https://git.io/JvpJU
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jvp8T
jbrock has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #84778 → nuspell: 3.0.0 -> 3.1.0 → https://git.io/JvxjF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvp8k
jbrock has joined #nixos
<{^_^}> [nixpkgs] @invokesus opened pull request #84830 → perlPackages.ConvertUU: init at 0.5201 → https://git.io/Jvp8I
andersk_ has quit [Read error: Connection reset by peer]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @invokesus opened pull request #84831 → perlPackage.CLIHelpers: init at 1.6 → https://git.io/Jvp8m
gxt has quit [Remote host closed the connection]
xelxebar has quit [Write error: Connection reset by peer]
gxt has joined #nixos
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @invokesus opened pull request #84832 → perlPackages.ModuleCompile: init at 0.37 → https://git.io/Jvp8s
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andersk has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
<FRidh> ixxie: it already uses openblas
<{^_^}> [nixpkgs] @jonringer merged pull request #84828 → python2Packages.apptools: 4.4.0 -> 4.5.0 → https://git.io/JvplE
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python2Packages.apptools: 4.4.0 -> 4.5.0 »: https://git.io/Jvp8B
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #84829 → python2Packages.traitsui: remove optional wxPython dependency → https://git.io/Jvp8J
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python2Packages.traitsui: remove optional wxPython dependency »: https://git.io/Jvp8u
apeyroux` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #84766 → python3Packages.pglast: 1.8 -> 1.10 → https://git.io/JvxNn
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « python3Packages.pglast: 1.8 -> 1.10 »: https://git.io/Jvp8z
zupo has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
tghume has quit [Ping timeout: 256 seconds]
asheshambasta has joined #nixos
cybrian has joined #nixos
est has quit [Quit: No Ping reply in 180 seconds.]
cybrian has quit [Read error: Connection reset by peer]
FRidh2 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5ac5f503b2a (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
endformationage has joined #nixos
FRidh has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
kleisli has quit [Remote host closed the connection]
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
kleisli has joined #nixos
cybrian has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83197 → pythonPackages.varint: init at 1.0.2 → https://git.io/Jvyfv
<{^_^}> [nixpkgs] @jonringer pushed commit from Rakesh Gupta to master « pythonPackages.varint: init at 1.0.2 »: https://git.io/Jvp8S
tghume has joined #nixos
cybrian has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #83741 → mediawiki: 1.34.0 -> 1.34.1 → https://git.io/Jv7Wu
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mediawiki: 1.34.0 -> 1.34.1 »: https://git.io/Jvp8Q
<{^_^}> [nixpkgs] @jonringer merged pull request #83683 → bmake: 20200212 -> 20200318 → https://git.io/JvQNO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « bmake: 20200212 -> 20200318 »: https://git.io/Jvp85
cybrian has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84775 → libinstpatch: 1.1.3 -> 1.1.4 → https://git.io/Jvxpp
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jvp4J
zeta_0 has joined #nixos
fenedor is now known as fendor
<{^_^}> [nixpkgs] @jonringer merged pull request #83578 → resolv_wrapper: 1.1.5 -> 1.1.6 → https://git.io/JvQLl
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « resolv_wrapper: 1.1.5 -> 1.1.6 »: https://git.io/Jvp4I
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<zeta_0> i hadn't rebooted in a long time, that's why the rebuild was stuck, anyways, it's fixed now, so thanks for the help guys
jbrock has quit [Client Quit]
zeta_0 has left #nixos [#nixos]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83416 → libpoly: 0.1.7 -> 0.1.8 → https://git.io/Jv9Ge
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libpoly: 0.1.7 -> 0.1.8 »: https://git.io/Jvp4G
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84833 → libgnurl: 7.67.0 -> 7.69.1 → https://git.io/Jvp4R
waleee-cl has joined #nixos
teto has quit [Quit: WeeChat 2.8]
dermetfan has quit [Ping timeout: 246 seconds]
pbogdan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #83740 → mednafen: 1.22.2 -> 1.24.1 → https://git.io/Jv7WI
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mednafen: 1.22.2 -> 1.24.1 »: https://git.io/Jvp4o
<kraem> an sre at my job saw a shell.nix i checked in on one of the repos i'm working on and got curious (they're just reevaluating what official tool they're going to use as an official one for getting environments set up for the engineers). i said i would try to package one of the repos they have to "showcase" nix. most of their old stack is using ruby. read nixpkgs manual for ruby and tried to use
<kraem> `$(nix-build '<nixpkgs>' -A bundix --no-out-link)/bin/bundix --magic` as suggested but it seems it's having trouble fetching the private repos. found this https://github.com/nix-community/bundix/issues/69 - tried installing bundix with nix-env for the problem with it not able to get my credentials. anyone with experience with ruby "in" nix able to help out? thanks!
<{^_^}> nix-community/bundix#69 (by lavoiesl, 25 weeks ago, open): Fetching private gems via a private git repo
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #84834 → libpoly: fix src → https://git.io/Jvp4H
asheshambasta has quit [Ping timeout: 246 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84835 → gerrit: 3.1.2 -> 3.1.4 → https://git.io/Jvp4p
<{^_^}> [nixpkgs] @jonringer merged pull request #83456 → intel-gmmlib: 19.4.1 -> 20.1.1 → https://git.io/Jv9Qb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « intel-gmmlib: 19.4.1 -> 20.1.1 »: https://git.io/Jvp4h
<{^_^}> [nixpkgs] @jonringer merged pull request #83644 → leo-editor: 5.7.3 -> 6.2 → https://git.io/JvQ10
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvpBv
<{^_^}> [nixpkgs] @jonringer merged pull request #83312 → openfortivpn: 1.12.0 -> 1.13.1 → https://git.io/JvSk3
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « openfortivpn: 1.12.0 -> 1.13.1 »: https://git.io/JvpBT
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #84836 → protobuf: don't build with -g → https://git.io/JvpB0
philr has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84837 → geekbench: 5.1.0 -> 5.1.1 → https://git.io/JvpBy
logand has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @andriokha opened pull request #84838 → tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpBS
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
dermetfan has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83375 → rambox-pro: 1.2.2 -> 1.3.1 → https://git.io/JvSXK
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « rambox-pro: 1.2.2 -> 1.3.1 »: https://git.io/JvpB7
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
cosimone has quit [Remote host closed the connection]
jbrock has joined #nixos
cosimone has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
eoli3n__ has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Client Quit]
klntsky has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #84839 → python2Packages.variants: fix tests → https://git.io/JvpRC
<{^_^}> [nixpkgs] @jonringer merged pull request #84834 → libpoly: fix src → https://git.io/Jvp4H
<{^_^}> [nixpkgs] @jonringer pushed to master « libpoly: fix src »: https://git.io/JvpR8
<{^_^}> [nixpkgs] @jonringer merged pull request #84839 → python2Packages.variants: fix tests → https://git.io/JvpRC
<{^_^}> [nixpkgs] @jonringer pushed to master « python2Packages.variants: fix tests »: https://git.io/JvpR0
tpanum has quit [Read error: Connection reset by peer]
tpanum has joined #nixos
growpotkin has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @telotortium closed pull request #60285 → fcitx-configtool: Point exec_prefix to installed location of fcitx-remote → https://git.io/fjs5z
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #84654 → fparser: init at 4.5.1 → https://git.io/JvAN9
<{^_^}> [nixpkgs] @jonringer pushed commit from @matthuszagh to master « fparser: init at 4.5.1 »: https://git.io/JvpRX
magnetophon has quit [Remote host closed the connection]
reallymemorable has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #83281 → libaacs: 0.9.0 -> 0.10.0 → https://git.io/JvyHi
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libaacs: 0.9.0 -> 0.10.0 »: https://git.io/JvpRD
turion has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83937 → bdf2sfd: 1.1.0 -> 1.1.1 → https://git.io/JvdkF
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « bdf2sfd: 1.1.0 -> 1.1.1 »: https://git.io/JvpRS
reallymemorable has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83744 → alephone-infinity: 20150620 -> 20190331 → https://git.io/Jv7W1
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « alephone-infinity: 20150620 -> 20190331 »: https://git.io/JvpR5
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83734 → libpst: 0.6.74 -> 0.6.75 → https://git.io/Jv7nT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libpst: 0.6.74 -> 0.6.75 »: https://git.io/JvpRN
Soo_Slow has quit [Max SendQ exceeded]
Soo_Slow has joined #nixos
szicari has quit [Quit: ZNC - http://znc.in]
pbogdan has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84817 → libvirt: 6.1.0 -> 6.2.0 → https://git.io/JvpGl
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/Jvp0O
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8c6a5a26a76 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
eoli3n__ has quit [Ping timeout: 240 seconds]
<ajs124> Is there a way to find pull requests that modify a certain file?
<ajs124> My specific issue is that I'm trying to find PRs against packages with names that are hard to search for.
eoli3n__ has joined #nixos
mexisme has joined #nixos
zeta_0 has joined #nixos
miscellaneousbus has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> has anyone here had problems getting ghcide working in a nix-shell? ghcide is not able to recognize some of the modules from my default.nix file? i already have all of the needed environment variables setup so that can't be the issue
w3emperor_ is now known as esemds
bkv has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<zeta_0> also, is there a way to get emacs to automatically open
pbogdan has joined #nixos
<zeta_0> whoops my mistake, i had that saved to paste in #emacs
reallymemorable has joined #nixos
zeta_0 has quit [Quit: rebuilding]
<{^_^}> [nixpkgs] @ajs124 opened pull request #84840 → [20.03] unit: 1.14.0 -> 1.16.0 → https://git.io/Jvp0o
esemds is now known as w3emepror
w3emepror is now known as esemds
<miscellaneousbus> i hate nvidia :(
pbogdan has quit [Remote host closed the connection]
bqv has joined #nixos
mkaito- is now known as mkaito
mkaito has joined #nixos
mkaito has quit [Changing host]
arjen-jonathan has joined #nixos
mallox_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84764 → celluloid: 0.18 -> 0.19 → https://git.io/JvxbS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvp0Q
<jared-w> miscellaneousbus: so does everyone else
numkem has joined #nixos
<jared-w> definitely including me
pbogdan has joined #nixos
<miscellaneousbus> currently struggling to get this gtx 1650 working in my laptop
<numkem> is there a way to know the privateIp of an interface? assuming that IP was given by DHCP (aws instance in my case)
<miscellaneousbus> i imagine the struggle has been there since i left trying to get nvidia to work properly in 2009
relaxmax has joined #nixos
mallox has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ajs124 opened pull request #84841 → [20.03] performous: fix build → https://git.io/Jvp0b
o1lo01ol1o has quit [Remote host closed the connection]
jco has quit [Quit: WeeChat 2.7]
zeta_0 has joined #nixos
abathur has quit [Quit: abathur]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
o1lo01ol1o has joined #nixos
<clever> numkem: only at runtime i believe
<zeta_0> i'm trying to integrate ghcWithHoogle into my generic haskell default.nix file, is this the correct way to do it?
<clever> numkem: though, nixops will add that metadata, if in use
<{^_^}> [nixpkgs] @marsam merged pull request #84767 → ddgr: 1.7 -> 1.8 → https://git.io/JvxNy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpEY
<numkem> clever: that's what I'm looking into (nixops), is there a more complete detail of what can be put in `deployment.*`? I'm looking at the HTML manual and it's pretty light on details regarding that. I want to target an ssh host that I already have the SSH key to
<zeta_0> ghcide is not recognizing some modules in a nix-shell, so maybe it needs hoogle/haddock ?
<clever> numkem: if the machine is already created, then you need to use the none backend, which wont do any aws special things
<numkem> clever: the manual mentions to leave the `deployment.targetEnv` empty. That's what I assume you mean about?
<clever> numkem: yeah, none is the default targetEnv
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<numkem> clever: that's awesome, thank you. How do you define with SSH key it's using?
<vika_nezrimaya> /nix/store/kmlvbpkac2dr7nfmk4dykc7gvs2lxf11-folks-0.14.0.drv: eds-add-contacts-stress-test timeouts on my machine, is a dependency of GNOME, nixpkgs flake ref 939fcdcbddf5713552a9a4ed61389f13f4a88188
<zeta_0> clever: is this the way to add ghcWithHoogle in my generic haskell default.nix file, or is the syntax way off? https://dpaste.org/nq6a
<clever> numkem: nixops will create its own keypair and use that to deploy, but the ssh agent leaks and gives it more keys it can use
<clever> zeta_0: ghcWithHoogle is a function, not a package, you must run it on a list of packages
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<numkem> clever: ok... but assuming I already have an key for a machine, is there a way to give it given I'm using the none backend?
<clever> zeta_0: like, ghcWithHoogle (ps: [ ps.lens ])
<clever> numkem: temporarily add it to an ssh-agent with ssh-add
<numkem> clever: with the name maching? the name of the expresion?
<clever> numkem: nixops will just try every key in the agent
<numkem> clever: will try that out, never really used ssh-agents before, thank you
<clever> numkem: just run `ssh-agent`, export the vars it says to export, then run `ssh-add` on a private key file
cybrian has quit [Quit: cya]
<clever> numkem: then anything using ssh (ssh itself, scp, nixops) will just magically be able to use those keys without prompting for a passphrase
<numkem> clever: that does sounds like magic. I guess I'll use that in the future. I recall seeing something about it in the default configuration.nix so maybe it's aready working
cybrian has joined #nixos
<clever> numkem: you can run `ssh-add -l` to test if an agent is running, and list what is in it
tek[m] has left #nixos ["User left"]
<numkem> clever: yup it was
LysergicDreams has quit [Ping timeout: 256 seconds]
mallox_ has quit [Quit: WeeChat 2.8]
LysergicDreams has joined #nixos
kleisli_ has joined #nixos
kleisli has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<zeta_0> clever: this is my haskell implementation in home.nix: https://dpaste.org/WPKj , and i'm trying to figure out how to add ghcWithHoogle into my generic default.nix without changing the code too much: https://dpaste.org/5oZm
<zeta_0> clever: any tips?
felixfoertsch23 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84825 → dit: 0.5 -> 0.6 → https://git.io/JvpcS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpEy
felixfoertsch has quit [Ping timeout: 265 seconds]
felixfoertsch23 is now known as felixfoertsch
<clever> zeta_0: developPackage cant really be modified to use ghcWithHoogle directly, enless it already has an option to enable that
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
est31 has quit [Remote host closed the connection]
o1lo01ol_ has quit [Remote host closed the connection]
est31 has joined #nixos
o1lo01ol1o has joined #nixos
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
<zeta_0> clever: that sucks, i need developPackage because it automatically calls cabal2nix on the cabal file of whatever project is there, and i need ghcWithHoogle in order for ghcide to be able to recognize modules and show documentation in a nix-shell, i already setup ghcide's needed environment variables in home.nix(which nix-shell inherits): https://dpaste.org/jk1H
<LeshaInc> hi, does anyone know how to install nvidia driver from nixos unstable?
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> clever: so i'm not sure why ghcide is not recognizing some modules in the nix-shell
reallymemorable has joined #nixos
<clever> zeta_0: have you looked at the source of developPackage ?
<zeta_0> clever: i also need to figure out how nix-shell works in emacs, that might be causing me problems as well
<zeta_0> clever: yes, developPackage calls .callCabal2nix
o1lo01ol1o has quit [Ping timeout: 258 seconds]
morgrimm has quit [Ping timeout: 265 seconds]
<numkem> clever: in the case of nixops, what would be the best thing to do regarding importing unstable nixpkgs? I've taken a look at your `nix/sources.nix` but honestly I'm not sure what I understood
morgrimm has joined #nixos
<zeta_0> clever: is that incorrect, i hope i was not looking at the wrong src code for developPackage
<clever> zeta_0: the .env attr, is actually a function, that takes a { withHoogle = ?; }
<clever> zeta_0: so if you do `(developPackage { returnShellEnv = false; ... }).env { withHoogle = true; }` then it will work
morgrimm has quit [Ping timeout: 256 seconds]
romildo has quit [Quit: Leaving]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #83192 → python27Packages.colorlog: 4.0.2 -> 4.1.0 → https://git.io/JvyeS
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvpuZ
Darkmatter66 has quit [Ping timeout: 265 seconds]
morgrimm has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
Darkmatter66 has joined #nixos
<zeta_0> clever: thank you, that code looks a little cryptic, but i'll try my best to integrate it with my default.nix file
<zeta_0> clever++
<{^_^}> clever's karma got increased to 381
jbrock has quit [Client Quit]
jbrock has joined #nixos
zeenk has joined #nixos
<numkem> clever++
<{^_^}> clever's karma got increased to 382
bqv has quit [Remote host closed the connection]
bqv has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
<clever> numkem: when you run `nixops create` or `nixops modify` with a `-I nixpkgs=`, nixops will remember that override
<clever> numkem: and it will keep using it every time you deploy
<numkem> clever: interesting... so as business perspective, having your own fork of nixpkgs seems to be a given
FRidh2 has quit [Quit: Konversation terminated!]
<clever> numkem: you can just point it to an existing revision on the original nixpkgs, whatever a channel was last on
<numkem> clever: and when I refer to it vs the stable packages, what kind of import do I use?
<clever> numkem: the `-I nixpkgs=` will change what <nixpkgs> refers to, and nixops internally uses <nixpkgs> to load everything
lordcirth has quit [Read error: Connection reset by peer]
<numkem> clever: right my bad, so didn't see the `=`, so in my case I'd just use `unstable=<path to nixpkgs>`
lordcirth has joined #nixos
<clever> numkem: probably
<numkem> clever: thank you again, much appreciated!
<numkem> clever++
<{^_^}> clever's karma got increased to 383
pbogdan has quit [Remote host closed the connection]
<energizer> cachix only stores things that i build locally -- it doesn't build anything itself, right?
<clever> energizer: correct
<energizer> is there a service that will also do the building?
<energizer> or maybe that's what hydra is
<energizer> ?
revtintin has quit [Ping timeout: 256 seconds]
<thibm> energizer: there's nixbuild.net
<thibm> It's a WIP, but you could ask access to try it
<energizer> thibm: nice, that looks good
zaeph1 has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
<thibm> But you could do it yourself: just setup a remote machine as a builder for your machine
eoli3n__ has quit [Ping timeout: 258 seconds]
<thibm> On NixOS, look at nix.buildMachines option
<thibm> (you have to setup this for nixbuild.net anyway)
revtintin has joined #nixos
zaeph has quit [Ping timeout: 258 seconds]
zaeph1 is now known as zaeph
<domenkozar[m]> if you want a CI there's also hercules-ci.com/
revtintin has quit [Client Quit]
<thibm> which does not build itself, if I remember correctly your model?
jbrock has quit [Quit: jbrock]
pbogdan has joined #nixos
jbrock has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/377b0248c50 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<energizer> the main feature i'm looking for is that i want to avoid building stuff that other people in other organizations have already built. if someone else has already built some version of numpy, i don't want to build it again
<energizer> it looks like nixbuild.net is focused on within-org build-reuse, rather than public
<thibm> hum… that's again another story
<thibm> energizer: what you'r asking for is not doable, IMHO
<energizer> explain?
<thibm> You need to trust builds (like you trust hydra). So you can't get builds from random folks and put it on a cache for everyone
noudle has joined #nixos
<thibm> I mean, you could, but it's a bad idea
<energizer> well, i don't mind trusting nixbuild.net
<thibm> In fact, it's what cachix does. But in this case, you know who you need to trust: the one that caches the stuff + cachix itself
lsix has quit [Quit: WeeChat 2.7.1]
pamplemousse has joined #nixos
<thibm> brb
<thibm> With a public gathering cache, if this is what you want, you need to trust everyone
thibm has quit [Quit: WeeChat 2.6]
<energizer> i dont see why i'd need to trust anybody except the build service
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84804 → vscode, vscodium: 1.43.2 -> 1.44.0 → https://git.io/Jvpqc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvpz4
<das_j> are there any known breakages with getent and nscd? seems like nscd is not even asked for a cached result
thibm has joined #nixos
<energizer> you do `poetry add numpy==1.18.2` which generates a lockfile with hashes inside, then poetry2nix.mkPoetryEnv generates a derivation. you upload that to nixbuild which builds it. i do the same and get the same derivation, i query nixbuild which says "yeah i built that already, here you go"
<thibm> (Sorry, I needed to switch internet connection. (And then the cat brought a bird -_-))
<gchristensen> energizer: that would be fine
<thibm> Yes you need to trust the build service. You said "if someone else has already built some version of numpy". I assumed you meant "anyone"
<evanjs[m]> <lordcirth "evanjs, you could set it read-on"> Not sure if I can since home-manager still needs to put stuff there
jbrock has quit [Quit: jbrock]
<zeta_0> clever: is this what you mean? https://dpaste.org/pmwb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84844 → img2pdf: 0.3.3 -> 0.3.4 → https://git.io/Jvpz2
jbrock has joined #nixos
shibboleth has joined #nixos
<thibm> energizer: in this case it's more or less like hydra. You just have to trust the builder
<thibm> But who provide the builder?
<energizer> nixbuild.net
jbrock has quit [Client Quit]
<energizer> or a similar service
jbrock has joined #nixos
<thibm> There's also security issues to share store
o1lo01ol1o has joined #nixos
numkem has quit [Ping timeout: 250 seconds]
<mdash> energizer: the problem is that nix hashes inputs, not outputs
<thibm> yup ^
dottedmag has joined #nixos
<dottedmag> Is syntax {foo.bar.baz
<dottedmag> = blah} documented anywhere?
<lordcirth> dottedmag, what about it?
<energizer> mdash: i think that's fine, since the derivation is generated from a lockfile you and i will both get the same derivation
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvpzK
<dottedmag> lordcirth: key with dots
<mdash> energizer: unless i just lie
pbogdan has quit [Remote host closed the connection]
<mdash> energizer: and upload something else instead
<dottedmag> I don't see this syntax documented in manual 15.1 "sets"
<{^_^}> [nixpkgs] @rissson closed pull request #81685 → rambox-pro: 1.2.2 -> 1.3.0 → https://git.io/JvaV0
<energizer> mdash: you only upload a derivation, i only upload a derivation. they either match or they don't
<thibm> energizer: so if you have 1 builder, you trust it. But if you gather builds from folks, you need to trust all of them
<clever> zeta_0: i think so
<thibm> This lead to NixOS model: people trust hydra, and build their own packets if they override them or whatever
<mdash> energizer: right, this is basically just hydra then
<dottedmag> mdash: thanks. would never guess to read the changelog. changelogs are expected to be diffs between versions, and not a repository of new stuff!
<mdash> dottedmag: i know!
<{^_^}> [nixpkgs] @worldofpeace opened pull request #84846 → vscode vscodium backports [20.03] → https://git.io/JvpzP
<mdash> anyone know if there's something like `runInLinuxVM` for nix on macos?
reallymemorable has quit [Quit: reallymemorable]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<miscellaneousbus> so i have a thinkpad x1e gen2 which has a dedicated GPU (nvidia gtx 1650). I've configured nvidia prime as described in the nixos wiki. glxinfo | grep vender shows 'Intel' and nvidia-offload ... shows nvidia. So i think its working properly. but the external monitor doesnt work. According to the arch wiki, it says i should use optimus manager (https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Extreme_(Gen_2)
<miscellaneousbus> #Prime_features). I'm guessing i cant use both GPUs? or I have to reconfigure and reload X everytime?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jvpzy
<energizer> so is there a hydra service i can use for building non-nixpkgs packages?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84847 → highlight: 3.55 -> 3.56 → https://git.io/Jvpz9
<thibm> energizer: (if the guy from nixbuild.net choose to not share store paths, it's for a good reason. You could ask him)
numkem has joined #nixos
<clever> energizer: you can just run your own hydra and build whatever you want
<thibm> He could get people pay for a cache hit, and he does not. (It's what dropbox & co does, by the way)
<energizer> clever: but then nobody else will upload to it and i wont get to freeload off them
<clever> energizer: if you let others upload to it, youll have a security nightmare
<mdash> energizer: the other option is cachix/hercules i think
zupo has quit [Ping timeout: 256 seconds]
<thibm> energizer: that what I said first: you could technically do what you want, but it's a bad idea, and nobody will do it
<energizer> clever: you and i upload some expressions or derivations. turns out my expression generates some of the same derivations as yours, so i can use the artifacts that were already built from your derivations. i dont see the security issue
morgrimm has joined #nixos
<clever> energizer: what if i upload a derivation with `src = /etc/shadow;` ?
<clever> energizer: what if my fixed-output derivation does a query against 192.168.1.1 ?
<energizer> clever: you're in a build sandbox, so it doesn't matter?
zupo has joined #nixos
<clever> energizer: if you declare the hash of $out, nix gives you unrestricted access to the network, but the build fails if you dont meet the claimed hash
<clever> energizer: thats how things like fetchgit can run tools like git to fetch things
<energizer> clever: does hydra build packages in response to PRs?
<gchristensen> no
<clever> energizer: nope, only after the pr gets merged
<energizer> clever: ok so people can make network requests, which could be used for abuse
<gchristensen> and if I can enumerate your cache, I could potentially get things you didn't want me to
knupfer has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
<{^_^}> [nixos-channel-scripts] @tilpner opened pull request #36 → mirror: add redirection for store-paths.xz → https://git.io/JvpgL
<thibm> nixspectre
<energizer> ok i see
pbogdan has joined #nixos
<energizer> the enumerable store thing is continually frustrating!
casaca has joined #nixos
<{^_^}> [nixos-channel-scripts] @garbas merged pull request #36 → mirror: add redirection for store-paths.xz → https://git.io/JvpgL
<{^_^}> [nixos-channel-scripts] @garbas pushed 2 commits to master: https://git.io/JvpgZ
<dottedmag> What happens while evaluating "with foo: x", if there is no x defined in foo, and x is not bound outside of the expression? runtime error?
<energizer> dottedmag: yes
pbogdan has quit [Remote host closed the connection]
<thibm> energizer: but you can setup this for yourself, if you manage several machines that shares custom derivations.
<energizer> thibm: if i have to do all my own builds there's no added value
jbrock has quit [Quit: jbrock]
<thibm> there is if you have several machines. Otherwise there is not
jbrock has joined #nixos
<thibm> (there's one: offloading your builds. Saving your laptop's fan)
<energizer> that's just remote builders, doesn't require a whole service, unless i'm misunderstanding you
<ajs124> any ideas why getent might not be trying to talk to nscd on a nixos machine?
<energizer> like, i already have that
<{^_^}> [nixpkgs] @marsam opened pull request #84848 → buildah: 1.14.7 -> 1.14.8 → https://git.io/Jvpgl
<zeta_0> clever: it's throwing an error, i'm guessing something is wrong with the syntax? https://dpaste.org/z8nZ https://dpaste.org/ywX3
<thibm> energizer: yes you're right
dermetfan has quit [Ping timeout: 246 seconds]
morgrimm has joined #nixos
<zeta_0> clever: oh it's returnShellEnv not returnShell, let me change that and check if it works
<energizer> clever: is the security situation remediable? what about some dumb controls like whitelisted src= domains and restricted read permissions on the filesystem
<energizer> for this kind of service
<gchristensen> caches can be protected with usernames andpasswords of course
<gchristensen> or other mechanisms
<thibm> energizer: I think it's not possible by design
pbogdan has joined #nixos
dingenskirchen has joined #nixos
<thibm> Like I said, the same issue happens at the processor level, for instance
<thibm> (cache hit leaking info)
<zeta_0> the default.nix is throwing another error: error: attempt to call something which is not a function but a set , https://dpaste.org/xYx7
<thibm> You could rebuild the entire dependency DAG each time, if you want :p
<thibm> I prefer to build numpy on my laptop, in this case :p
<{^_^}> [nixpkgs] @samueldr opened pull request #84849 → nextcloud: Review installation upgrade warning wording → https://git.io/Jvpga
<gchristensen> a user trying to build a thing proves it knows how to do it, and can access the output
<gchristensen> this could be used to share a backing cache: remembering which paths a user tried to build
<{^_^}> [nixpkgs] @marsam opened pull request #84850 → fira-code: 2 -> 3 → https://git.io/JvpgV
<zeta_0> i wrapped the whole `in` expression with () so maybe that's what is causing the error, emacs is not throwing any syntax error, so it must be a logic error
<energizer> the main feature i want is a public shared cache with a lot of packages in it. if i can get that without worrying about malicious packages and managing abuse complaints that would be a great service
<gchristensen> but not cache.nixos.org, which has hundreds of millions (and hundreds of terrabytes) of prebuilt packages? :)
vykook has quit [Ping timeout: 240 seconds]
<zeta_0> clever: well, it's not working, i tried to implement it the way you explained, but it's still throwing errors: https://dpaste.org/CEbm
<energizer> gchristensen: right, not that, because that doesn't have any of the lockfile-generated builds
<gchristensen> huh?
jbrock has quit [Quit: jbrock]
<clever> zeta_0: what errors is it throwing?
jbrock has joined #nixos
o1lo01ol1o has joined #nixos
<clever> zeta_0: line 22 breaks env being used as a function
<gchristensen> energizer: what kind of lockfile?
<energizer> gchristensen: naersk and poetry2nix take Cargo.lock poetry.lock, respectively
<gchristensen> ah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84851 → intel-media-sdk: 19.4.0 -> 20.1.0 → https://git.io/Jvpg6
<zeta_0> clever: https://dpaste.org/GEiV
cartwright has quit [Quit: WeeChat 2.5]
<clever> zeta_0: yeah, 22 is making env not a function anymore, remove it
cantstanya has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #84852 → lean: 3.7.2 -> 3.8.0 → https://git.io/JvpgX
rogue_koder_ has quit [Ping timeout: 265 seconds]
chagra_ has quit [Ping timeout: 240 seconds]
morgrimm has quit [Ping timeout: 250 seconds]
<zeta_0> clever: i need that piece of code to keep the terminal path shortened, can i just rename the `env` variable to something else on line 22 to fix the error?
rotaerk_ has quit [Quit: ZNC - http://znc.in]
chagra_ has joined #nixos
vykook has joined #nixos
rotaerk has joined #nixos
rogue_koder_ has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
jbrock has quit [Quit: jbrock]
<clever> zeta_0: you could modify line 22 to do the `env { something}` for you
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/60c4ddb97fd (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
jbrock has joined #nixos
vykook has quit [Ping timeout: 265 seconds]
morgrimm has joined #nixos
pamplemousse has quit [Quit: leaving]
<zeta_0> clever: i think this is what you meant(i took out the () that wrapped the `in` expression and placed withHoogle in there): https://dpaste.org/svGm
jbrock has quit [Quit: jbrock]
rogue_koder_ has quit [Ping timeout: 265 seconds]
jbrock has joined #nixos
dhess has quit [Quit: ZNC - https://znc.in]
morgrimm has quit [Ping timeout: 240 seconds]
chagra has joined #nixos
<zeta_0> clever: no, i don't think that worked, it went into a nix-shell without any errors, but the path was not shortened and it didn't build any hoogle stuff, so i don't thinks that's working either
<thibm> Just add "doc" output and let the magic happen. I love Nix
rogue_koder_ has joined #nixos
<wucke13> How do I force a list ( [] ) to be empty?
dhess has joined #nixos
swflint has quit [Ping timeout: 260 seconds]
<thibm> what do you mean?
<cole-h> Are you trying to configure something that expects a list and setting it to `[]` gives an error?
swflint has joined #nixos
<wucke13> I want to override a systemd.service which is generated by a module. Specifically, I want wantedBy to be empty. However, after 'wantedBy = [];', 'multiuser.target' still remains in it
jbrock has quit [Quit: jbrock]
<cole-h> Try `= lib.mkForce [];`
jbrock has joined #nixos
chagra_ has quit [Ping timeout: 258 seconds]
pbogdan has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 260 seconds]
<wucke13> Ah yeah, that did the trick. Thank you two :)
chagra_ has joined #nixos
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @ThibautMarty opened pull request #84853 → herbstluftwm: 0.7.2 -> 0.8.0 → https://git.io/Jvp2n
chagra has quit [Ping timeout: 265 seconds]
urinal666 has joined #nixos
<urinal666> hi everyone!
<urinal666> burn all jews in oven!
<urinal666> death to infidels!
<urinal666> allahu akhbar
<dhess> gchristensen: ping
pbogdan has quit [Remote host closed the connection]
vykook has joined #nixos
numkem has quit [Ping timeout: 265 seconds]
<gchristensen> hey dhess
<dhess> umm
<gchristensen> oh hi
urinal666 was banned on #nixos by gchristensen [*!*@2001:999:61:aaf9:25d5:6fa7:89c1:d10f]
urinal666 was kicked from #nixos by gchristensen [urinal666]
<dhess> thanks :)
<dhess> sorry to disturb.
rotaerk has quit [Quit: ZNC - http://znc.in]
<peelz> hmm
cr4y1 has quit [Remote host closed the connection]
<gchristensen> no worries, thanks for pointing out what I was missing :P
Cale has quit [Remote host closed the connection]
cr4y1 has joined #nixos
pbogdan has joined #nixos
<dhess> I thought that kind of thing got old by like 1995
<wucke13> I guess quarantine brings out the best and/or the worst in some of us
<vika_nezrimaya> ...
<thibm> Hum, there is a way to download a Github pull request as tarball snapshot, right? Can't find it…
rotaerk has joined #nixos
<gchristensen> click the link for a .zip and change .zip to .tar.gz
<vika_nezrimaya> go to the pull request's originating fork, it's just another repo
<cole-h> https://github.com/NixOS/nixpkgs/tarball/<insert HEAD commit hash here>
<thibm> Yes, this is the commit. Not possible for the PR?
<thibm> (like latest current commit)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84854 → libinput: 1.15.3 -> 1.15.4 → https://git.io/Jvp2D
<cole-h> What do you mean? Just plug in the commit hash of that PR
<energizer> what is the difference pr snapshot and a commit?
<thibm> I mean I'm lazy to change the commit if the PR gets updated :)
<thibm> But that will do the job, thanks
<immae> thibm: in that case put the branch name in the original fork as suggested by vika_nezrimaya
<immae> this one "is" the PR, it will follow its changes
<cole-h> thibm: If you have a checkout, you can do this: `git fetch origin pull/####/head:somebranchnamehere`
<thibm> vika_nezrimaya: immae: true. I think I need to go to bed
<thibm> (The PR repo is mine, and the PR is mine…)
<thibm> It was for a fetchTarball in nixos configuration
<thibm> BTW, how fetchTarball works to avoid hash? It's a fixed-output with hash computed after the download?
<cole-h> Oh. That would have been helpful information... :P
<immae> (there is however a slight difference: github will show you what will change when you "merge" the PR, which might be distinct from what the PR branch contains, if for instance you’re not rebased on top of the last commit in the main branch)
<thibm> (because it's builtin)
<thibm> I se
<thibm> I see
<cole-h> If the PR is yours, why not just point to a local checkout instead of `fetchTarball`ing it?
<cole-h> s/a local/the local/
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<thibm> Because it's on a remote server ;)
jbrock has quit [Client Quit]
jbrock has joined #nixos
<gchristensen> how about builtins.fetchGit
vykook has quit [Ping timeout: 256 seconds]
<thibm> I wanted to avoid pinpointing the commit, because fetchTarball has this power. But it's fine
morgrimm has joined #nixos
<gchristensen> builtins.fetchGit can take a ref (branch name) and no hash
<{^_^}> [nixpkgs] @rycee pushed commit from @marsam to master « fira-code: 2 -> 3 »: https://git.io/Jvp2A
<{^_^}> [nixpkgs] @rycee closed pull request #84850 → fira-code: 2 -> 3 → https://git.io/JvpgV
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/253f8a76fa3 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<thibm> Indeed, thanks!
<gchristensen> yep!
<thibm> Same question, how does it work internally? I'm just curious
<thibm> (to avoid the fixed-output hash)
<gchristensen> the fetching of the URL or the fetching of the repository happens as you, and only once it done, Nix hashes the result
<gchristensen> whereas pkgs.fetchurl runs th efetch as a nix build, an has to know what it will produce
vykook has joined #nixos
noudle has quit []
thibm_ has joined #nixos
<gchristensen> not sure if that helped answer it though :)
<thibm_> (sorry, my computer just crashed)
<thibm_> OK, that was my intuition, thanks
morgrimm has quit [Ping timeout: 265 seconds]
<MichaelRaskin> In case compile-time computation was not scary enough, Nix has evaluation-time downloads
<immae> (different topic) Do you have guides to upgrade a postgresql server under nixos? I looked on the wiki but I saw nothing there. Or should I try to adapt what I find for instance in Archlinux’ wiki?
thibm has quit [Ping timeout: 260 seconds]
buckley31078 has quit [Quit: The Lounge - https://thelounge.chat]
buckley310 has joined #nixos
mananamenos has quit [Remote host closed the connection]
<gchristensen> immae: at its core, it is the same idea / process :)
<immae> gchristensen: Yes, but I’d feel a little more comfortable if someone already did it :)
numkem has joined #nixos
<MichaelRaskin> If you value confidence and you do not have too much data, dump and restore via the text format
vykook has quit [Ping timeout: 264 seconds]
<immae> gchristensen: Is it something that would have its place in the wiki if I find a good way to do it?
<immae> MichaelRaskin: no it’s a big database...
<gchristensen> immae: please!
CMCDragonkai_ has quit [Quit: Connection closed for inactivity]
<julm> immae: can this help? https://github.com/NixOS/nixpkgs/pull/82739
<{^_^}> #82739 (by danbst, 3 weeks ago, merged): Document postgresql upgrade
vykook has joined #nixos
<thibm_> Should I change name to pname+version when updating a package?
<immae> julm: it does indeed
<cole-h> My vote is yes. I remember seeing a treewide name -> pname conversion (for simple cases) in the past, so I think it's a good idea thibm_
<thibm_> OK
thibm_ is now known as thibm
leotaku has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
cosimone has quit [Quit: Quit.]
<immae> julm: I can see that someone had the same issue as me just a few weeks ago and documented it, it’s great :D
vykook has quit [Ping timeout: 258 seconds]
<cole-h> thibm++ Thanks, I was actually going to suggest you change name -> pname+version :P
<{^_^}> thibm's karma got increased to 2
<cole-h> (on your herbstluft update PR)
jbrock has quit [Quit: jbrock]
<thibm> hehe. I added the man output, so I thought about changing the pname+version. I just force-pushed
jbrock has joined #nixos
jbrock has quit [Client Quit]
<thibm> I will not test it now, it's midnight here and when I tried to rebuild my system using the new package my laptop crashed (it's running a heavy VM, now). So I'll test it tomorrow
jbrock has joined #nixos
<zeta_0> clever: ya, it's not working correctly, i think i'm going to have to remove line 22: https://dpaste.org/1B65
<thibm> cole-h: does the cmakeFlags expand bash variables?
<thibm> I don't think so
<thibm> oups, I will respond on Github, sorry
<cole-h> If it doesn't, then you should just need to `${placeholder "out"}`
relaxmax has quit [Quit: Leaving]
vykook has joined #nixos
<cole-h> thibm: No need to apologize; I like IRC > GitHub correspondence anyways :P
romildo has joined #nixos
morgrimm has joined #nixos
<thibm> Yes but it will be hard for other people than the two of us to follow the conversation :p
<thibm> I'm testing your changes. $out does not work, as expected
<thibm> With placeholder it works
<cole-h> I'm looking through the nixpkgs repo to see if that's something people do
<cole-h> instead of your original solution
<cole-h> Don't push yet :P
<thibm> There are a lot of places in nixpkgs when *FlagsArrays is used to expand $out
<cole-h> Yeah, I'm seeing the same
__monty__ has quit [Quit: leaving]
<MichaelRaskin> Placeholder is relatively recent
<thibm> I prefer cole-h's solution
<cole-h> Since ~2.0, no?
<thibm> placeholder is really nice
<romildo> Rebuilding NixOS unstable is failing at cherrypy. Has anybody seen it?
<cole-h> Yeah, I prefer placeholder just because it allows you to use `cmakeFlags`. It just seems strange to have to modify a phase to add a cmake flag when there's an array ready-made for it
<MichaelRaskin> Yes, placeholder is nice (and was added because the FlagsArray's are annoying)
<cole-h> OK, cool. Then, thibm, I'd say, yeah go ahead and make the change if 1) it works; and 2) you like it
arjen-jonathan has quit [Ping timeout: 260 seconds]
<julm> immae: are you talking about martinetd's post here? https://github.com/NixOS/nixpkgs/issues/7454#issuecomment-598891822
<thibm> it works
turion has quit [Ping timeout: 265 seconds]
vykook has quit [Ping timeout: 250 seconds]
dermetfan has joined #nixos
Cale has joined #nixos
<immae> julm: no, just the link to the PR you gave, which is perfect and exactly what I wanted. It’s still not in the manual pages though, so that’s why I missed it
<immae> documentation and do-it-all script, what else? :D
<cole-h> thibm: Hm, is there a reason to have both a `doc` AND `man` output? What's the different between contents?
numkem has quit [Ping timeout: 264 seconds]
<thibm> man is manpage, doc is html files + license, news, bugs, etc
<thibm> I think its fine, some packages has doc+man
<cole-h> Fair. Just wondering why the separation
<thibm> e.g., libxml2
<thibm> sure
cosimone has joined #nixos
kaliumxyz has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
fendor has quit [Read error: Connection reset by peer]
vykook has joined #nixos
<cole-h> thibm: Any chance I can convince you to quote the herbstluft URL in the meta as well? ;)
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<thibm> Should URL be unquoted? I remember a tree-wide change unqoting all urls :p
<cole-h> rfc#45
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<cole-h> Wrong way around
pbogdan has joined #nixos
<{^_^}> rfcs#45 (by 7c6f434c, 49 weeks ago, merged): [RFC 0045] Deprecating unquoted URL syntax
<cole-h> There's a treewide /quoting/ all URLs PR up right now :P
<thibm> Hahaha
<romildo> How can I find why cherrypy is being built on my unstable NixOS when the system is rebuilt? That is, what package does depend on it?
<thibm> OK, it makes sense
Soo_Slow has quit [Quit: Soo_Slow]
<MichaelRaskin> There _was_ a tree-wide change unquoting stuff, and the RFC was a part of backlash
<julm> gchristensen: would you know how often the public rendition of NixOS' manual is updated? apparently it's not daily
<cole-h> Oh, really
<cole-h> That was before my time ^^
<gchristensen> julm: every time the stable channel updates
<gchristensen> julm: (plus or minus 20 minutes I think?)
<julm> gchristensen: so here the PR has: Ma27 added the 8.has: port to stable label
<julm> 5 days ago
<thibm> cole-h: I changed the protocole to https. There's no redirection in place but it works
<MichaelRaskin> Now there is a treewide change _quoting_ all the URLs, indeed
morgrimm has joined #nixos
<thibm> MichaelRaskin: OK, I can still trust my memory, thanks
<cole-h> romildo: I think you're looking for `nix-store -qR /nix/store/path/to/cherrypy`
<simpson> This is what happens when there's more than one way to do things.
<cole-h> Haha sorry
<{^_^}> [nixpkgs] @drewrisinger opened pull request #84855 → python3Packages.cvxpy: 1.0.25 -> 1.0.31 → https://git.io/JvpVJ
<julm> gchristensen: doesn't that flag means it has been ported to stable?
<gchristensen> julm: is the commit going in to release-20.03 or 19.09?
gustavderdrache has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
<thibm> The only nice thing about unquoted urls is the different color in Vim
knupfer has quit [Ping timeout: 260 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
vykook has quit [Ping timeout: 265 seconds]
<cole-h> MichaelRaskin: Oh, I see you're the author of 45 lol...
martyet-o has quit [Ping timeout: 265 seconds]
<julm> gchristensen: I can see:Ekleog merged commit bb5c622 into master
<julm> 9 days ago
<julm> can I check through github if that commit is in a specific release?
<MichaelRaskin> simpson: too bad that programming languages where each function has exactly one representation are a bit hard to write.
<thibm> That what I thought, let's rewrite Nix in yaml.
<simpson> MichaelRaskin: Yeah. But sometimes the syntax can be fixed to prefer one or the other. Just food for thought.
martyet-o has joined #nixos
jbrock has quit [Client Quit]
<julm> gchristensen: available tags look older than this commit, so I guess not: https://github.com/NixOS/nixpkgs/releases
jbrock has joined #nixos
<gchristensen> julm: we don't tag channel updates
<gchristensen> julm: look to see if the commit is in the nixos-20.03 branch
<romildo> cole-h, $ nix-store -qR /nix/store/n2c5h1jm7gimkg4sbnxyas3djsz2qgj0-python3.7-cherrypy-18.3.0
<romildo> error: path '/nix/store/n2c5h1jm7gimkg4sbnxyas3djsz2qgj0-python3.7-cherrypy-18.3.0' is not valid
<romildo> cole-h, what does it mean?
<MichaelRaskin> simpson: I mean, _sometimes_ yes. I haven't yet actually written an RFC I would actively disagree with…
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5f6ba36fd28 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<zeta_0> the shellHook and withHoogle attributes are not working, what's going on guys? https://dpaste.org/EgVV
<thibm> cole-h: thank you for your review btw
<cole-h> thibm: :)
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h> romildo: Sorry, I have no idea. My guess would be that you interrupted the build.
<zeta_0> as soon as i place the withHoogle attribute in there, it stops working correctly, it has been a pain trying to get hoogle working in default.nix
vykook has joined #nixos
<romildo> cole-h, yes have interrupted the build. Any clues on a fix?
<cole-h> If you want to see its reverse dependencies, you need to let it build AFAIK
<julm> gchristensen: indeed the commit is only in master (if not it would the other branches would be listed in https://github.com/NixOS/nixpkgs/commit/bb5c6229638c03e85e5e84dd3faf2cc399abd7ec )
<gchristensen> julm: usually when commits go to stable, they get a different hash -- but the title of the commit will be the same
<cole-h> Not necessarily. If it was cherry-picked, I don't think GitHub shows it being referenced
<julm> ah
<qyliss> romildo: If you haven't built it, nothing in the store can depend on it, assuming the store is valid.
<qyliss> (You can check that with nix-store --verify)
o1lo01ol1o has joined #nixos
<julm> gchristensen: what is the process for a commit to go from master to nixos-20.03? it's a manal rebase by someone from time to time?
<{^_^}> [nixpkgs] @sikmir opened pull request #84856 → hobbits: init at 0.23.0 → https://git.io/JvpVM
<gchristensen> git cherrypick -x -- check the nixpkgs manual :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Havvy has quit [Ping timeout: 260 seconds]
nschoe has joined #nixos
Havvy has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<nschoe> Hey everyone, I´m making a fresh install. Iǘe ust discovered users.users.<username>.hashedPassword. Is it safe to use?
johnw has quit [Ping timeout: 265 seconds]
<julm> gchristensen: cole-h: thanks. so let's hope someone cherry-pick that bb5c622 so the postgresql upgrade doc gets more visibility
<cole-h> Or you can cherry-pick it yourself... ;)
<julm> cole-h: I guess that would require more access rights than I have
<{^_^}> [nixpkgs] @aanderse merged pull request #84832 → perlPackages.ModuleCompile: init at 0.37 → https://git.io/Jvp8s
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvpwU
<romildo> qyliss, 'nix-store --verify' gives:
<romildo> reading the Nix store...
<romildo> checking path existence...
<romildo> have I called it right?
<cole-h> No, you submit a PR for it. But it's already been backported to release-20.03. If you check the PR, Ekleog commented that it was backported
<cole-h> julm: ^
<{^_^}> [nixpkgs] @tbenst opened pull request #84857 → pythonPackages.pynwb: init at 1.3.0 → https://git.io/JvpwI
<qyliss> romildo: then it's fine
<qyliss> What are you trying to do?
cosimone has quit [Quit: Quit.]
<MichaelRaskin> nschoe: well, the hash of the initial password will be in the (locally) world-readable Nix store
<romildo> qyliss, I am rebuilding the system, and it fails at /nix/store/fwrh1p37p823s7v59v4jk3hn93ayzb16-python3.7-cherrypy-18.3.0.drv.
<qyliss> And you would like to know what depends on cherrypy?
<romildo> qyliss, yes.
<nschoe> MichaelRaskin, okay, and is this an issue?
<qyliss> Ah, I know the problem
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84854 → libinput: 1.15.3 -> 1.15.4 → https://git.io/Jvp2D
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JvpwC
<qyliss> You want nix-store -qR /nix/store/fwrh1p37p823s7v59v4jk3hn93ayzb16-python3.7-cherrypy-18.3.0.drv
<qyliss> Note that that's the path to the drv, not its output.
<nschoe> MichaelRaskin, especially since I plan on commiting the configuration.nix on my github repo.
<qyliss> I publish my hashed password
<qyliss> If the hashing algorithms are broken we have bigger problems
<qyliss> Just make sure you're using enough rounds and a good algorithm
<nschoe> Yeah, that´s what I thought :)
<cole-h> qyliss: Just curious, but do you use mutableUsers true or false?
<nschoe> Also: the manual says to use sha-512: no risk that it changes anytime soon? I can safely leave it there, right?
<cole-h> (or whatever the setting is named)
kleisli_ has quit [Remote host closed the connection]
<qyliss> cole-h: false, of course!
erasmas has quit [Quit: leaving]
<qyliss> nschoe: sha512 is fine
<qyliss> sha256 would also be fine
<nschoe> qyliss, I used mkpasswd -m sha-512, as advised in the nixOS manual
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #84830 → perlPackages.ConvertUU: init at 0.5201 → https://git.io/Jvp8I
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvpwK
<nschoe> Okay, thanks for your help :)
<MichaelRaskin> Well, if you publish sha256/sha512 of your password, you'd better not skimp on password strength requirements
<qyliss> Make sure it gave you a decent number of rounds
<MichaelRaskin> Then still make sure the password is good
<qyliss> Oh yes, that too
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
morgrimm has joined #nixos
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<romildo> qyliss, this does not look helpfull for me:
<romildo> $ nix-store -qR /nix/store/fwrh1p37p823s7v59v4jk3hn93ayzb16-python3.7-cherrypy-18.3.0.drv | wc
<romildo> 1074 1074 73301
<MichaelRaskin> Because for many systems brute-force by local users via su is possible but way more rate-limited than GPU brute-forcing of a known hash.
<qyliss> romildo: you might want -q --tree :)
zeenk has quit [Quit: Konversation terminated!]
<nschoe> qyliss, qyliss how many rounds is okay?
<julm> cole-h: ok, so those commits were cherry-picked March 31. on the 20.03 releases and because the rendition of the manual is 19.09 their changes are not yet effective. is there a public rendition of the 20.03 manual somewhere?
kleisli_ has quit [Remote host closed the connection]
<qyliss> well, in theory one
Naptra has quit [Remote host closed the connection]
<nschoe> xD
<qyliss> But I'd just pick a number that takes a second or so for your computer to calculate
<nschoe> The man page does not say how many rounds are used when not specified
<qyliss> For my pretty old computer that was 1000000
plutes has joined #nixos
kleisli_ has joined #nixos
plutes has quit [Max SendQ exceeded]
<MichaelRaskin> What theory ever makes one round of a standard hash OK???
<nschoe> xD
<MichaelRaskin> 10^6 rounds are worth ~4 keypresses in the password length or so…
<qyliss> The theory that hashes are not reversible.
plutes has joined #nixos
<MichaelRaskin> Erm. Hashes being irreversible is not what matters
<nschoe> Just to be sure I understand: when I use mkpasswd -m sha-512 --round=N it means it will hash the password N times. Then the hash it gives me, I will copy it to configuration.nix in the option ´hashedPassowrd´. If I take a big number so that it takes a long time to answer (~1 second). It means every time I will use `sudo`, it will also take ~1 second to check my password?
<qyliss> yes
<lordcirth> You don't crack passwords by reversing the hash, but by guessing
<qyliss> I'm assuming a sufficiently good password.
shibboleth has quit [Quit: shibboleth]
<nschoe> qyliss, okay and how does it know how many times it must hash my password when it asks me for sudo ?
plutes has quit [Remote host closed the connection]
<qyliss> that's part of the hash
<nschoe> oh, okay.
<qyliss> so, for example, here's my hashed password: https://git.qyliss.net/nixlib/tree/sys/x220.nix#n73
thibm has quit [Quit: WeeChat 2.6]
plutes has joined #nixos
<qyliss> The "5" is the algorithm, which I think in my case is SHA256
<qyliss> Then the "1000000" is the number of rounds
<lordcirth> 6 is the default sha512
jbrock has quit [Quit: jbrock]
romildo has quit [Quit: Leaving]
<qyliss> Then the next field is the salt
<qyliss> And then the hash.
<nschoe> Oh, I see.
jbrock has joined #nixos
<nschoe> Yeah I knew for the salt. I did not know the round number
<MichaelRaskin> qyliss: now tell what's the length of the password
romildo has joined #nixos
<nschoe> Cool, well, letś do this, then.
<qyliss> MichaelRaskin: not long enough, I have just worked out
adyatlov has joined #nixos
<qyliss> or, maybe it is?
<MichaelRaskin> And that's exactly my point why it is not reversibility of SHA256 that matters
<qyliss> 26 characters
<adyatlov> Hi everyone. I use Eagle 7.7.0. How can I prevent nix-env -u from upgrading 'eagle-7.7.0' to 'eagle-9.4.2' every time?
jbrock has quit [Client Quit]
<MichaelRaskin> If it is pronouncable, probably not enough.
<nschoe> MichaelRaskin, I don´t explain why the length matter?
jbrock has joined #nixos
<MichaelRaskin> nschoe: because bruteforcing all the passwords of a given length might turn out to be doable
<nschoe> MichaelRaskin, I guess a 1-char or 1000-char long password, once hashed, have the same length, right?
<MichaelRaskin> Hashed — yes
<MichaelRaskin> But it is _known_ this is a password
<MichaelRaskin> One can be pretty sure you do not have a 1000-char password
<nschoe> Sure, but this is true whether or not the hash is published
<MichaelRaskin> Publishing a hash means that the adversary can actually bruteforce without interaction with you
<MichaelRaskin> So, no ratelimiting
<qyliss> what's a state of the art GPU hashrate?
<qyliss> for sha256, say?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<MichaelRaskin> Well, are you _sure_ prev-gen Bitcoiin SHA256 bruteforce ASICs are _that_ inflexible
<qyliss> what's their hash rate?
<ekleog> MichaelRaskin: fwiw, 26 chars in diceware is like 70-80 bits of entropy, which is already not that bad
<nschoe> MichaelRaskin, oh okay I see. Itś obvious now that you stated it...
silver_hook has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<MichaelRaskin> I believe even 15 non-pronounceable is OK-ish in practice.
<julm> 2010. "infamous codahale article (How To Safely Store A Password) appeared, leading to lots of misunderstanding"
<MichaelRaskin> It's just that there is an easy trap to have a 26-word _phrase_, and that's horrifyingly low entropy
morgrimm has quit [Ping timeout: 265 seconds]
<MichaelRaskin> Apparently, Bitcoin ASICs are rated in terahashes per second nowadays
<ekleog> qyliss: AFAIR, the standard recommendation for the number of rounds is 100k or above (not sure why, but afair that's the standard)
<nschoe> Against a brute-force, why is pronounceable different?
<qyliss> There are 56 bits of entropy in my password
silver_hook has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #84858 → nerdfonts: make it easier to configure and build → https://git.io/Jvpr1
<MichaelRaskin> Because everyone willing to bruteforce, will weight approximately-pronounceable ones higher. And there is like 2^n phrases of n letters
<ekleog> qyliss: be wary, now that we know both that it's 26 chars and 56 bits, we can probably infer stuff and reduce its entropy :p
<adyatlov> Nobody?
<qyliss> and then I can change it :)
mekeor has quit [Quit: crypto-anarchism and cyber-communism!]
<qyliss> I'll pay 100 currency units for a copy of my unhashed password.
<qyliss> That's a better rate than you'll get from anybody else from cracking it, I'd hope :)
<{^_^}> [nixpkgs] @marsam opened pull request #84859 → ncspot: 0.1.2 -> 0.1.3 → https://git.io/JvprS
<ekleog> beware, there are lots of currencies (a)
mekeor has joined #nixos
<qyliss> currencies on offer are US dollars, British pounds and Euros
<qyliss> But I don't think there are many more valuable currencies
<nschoe> julm, is it possible to use bcrypt with mkpasswd ?
<qyliss> IIRC the Hungarian one is the most valuable?
<qyliss> But that is wildly off-topic
<ekleog> dunno, just know that the won is like 0.001€, maybe there's something the opposite
<qyliss> I think it only gets about 1.1x bigger
<nschoe> julm, or rather is it possible to hash the password with bcrypt for the password of a user (then used for sudo, etc.)?
<{^_^}> [nixpkgs] @marsam merged pull request #84848 → buildah: 1.14.7 -> 1.14.8 → https://git.io/Jvpgl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvprF
morgrimm has joined #nixos
<MichaelRaskin> adyatlov: I guess many people drop nix-env faster than get the confidence about the corner cases.
<ekleog> qyliss: to answer your previous question, https://en.bitcoin.it/wiki/Mining_Hardware_Comparison claims 18 THash/s, which are about 44 bits of entropy per second
jbrock has quit [Quit: jbrock]
maddo has quit [Quit: See ya]
mekeor has quit [Client Quit]
jbrock has joined #nixos
mekeor has joined #nixos
<MichaelRaskin> So, 30 seconds for 1024 bits of entropy! (hides)
<qyliss> So I should have 2¹² seconds
<ekleog> your password would be cracked in about 1hr and a bit
<ekleog> (assuming a single round)
<qyliss> oh right
<qyliss> but I have 1 million
<ekleog> so you're safe, thanks to that million :)
<qyliss> Aha!
jmcasey has joined #nixos
<adyatlov> MichaelRaskin drop nix-env?
<bqv> has it been noted that the matrix bridge is down
<bqv> or is it just my homeserver?
<MichaelRaskin> Well, a lot of people switch to _some_ kind of declarative management of profiles or their replacement (which might still use nix-env but only as --set, not as -iA or -u)
<MichaelRaskin> Some people use homemanager, for example
<MichaelRaskin> Some just do everything via nix-shell's
jbrock has quit [Quit: jbrock]
<adyatlov> Hmm. Interesting. I'm thinking too traditionally
jbrock has joined #nixos
<adyatlov> But if you do everything with nix-shell your packages will be wiped by nix-collect-garbage every time right?
<MichaelRaskin> Well you can do nix-build's to pin or install lorri or …
jbrock has quit [Client Quit]
jbrock has joined #nixos
romildo has quit [Quit: Leaving]
<adyatlov> Wow. lorri, homemanager how do you find out about that cool stuff
<{^_^}> [nixpkgs] @matthewbauer opened pull request #84860 → generic/setup.sh: allow clobbering env-vars file → https://git.io/Jvpog
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83551 → iso-image: normalize volumeID → https://git.io/JvHp0
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JvpoV
<julm> nschoe: as far as i can tell, bcrypt (prefix $2a$) is not available in mainline glibc. but glibc has phased out libcrypto in 2018 to allow its replacement by other libs. which some distro consider: https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt#Replace_glibc.27s_libcrypt_with_libxcrypt
test has joined #nixos
test has quit [Client Quit]
<nschoe> julm, okay, sooo not possible in nixOS yet.
<nschoe> Thanks
<adyatlov> energizer Cool thanks
gustavderdrache has quit [Quit: Leaving.]
ixxie has quit [Quit: Lost terminal]
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42xxx has joined #nixos
freeman42x has quit [Remote host closed the connection]
freeman42xxx has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 265 seconds]
<MichaelRaskin> I just use nix-build, though
<julm> typo correction, glibc has phased out libcrypt, not libcrypto which is from openssl
<{^_^}> [nixpkgs] @zowoq opened pull request #84861 → skopeo: 1.41.0 -> 0.2.0 → https://git.io/Jvpop
<{^_^}> [nixpkgs] @zowoq opened pull request #84862 → croc: 8.0.5 -> 8.0.7 → https://git.io/Jvpoh
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #84863 → iso-image: normalize volumeID → https://git.io/Jvpoj
morgrimm has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @worldofpeace pushed to revert-83551-iso-id « Revert "iso-image: normalize volumeID" »: https://git.io/JvpKZ
justanotheruser has quit [Ping timeout: 265 seconds]
<julm> I can see a libxcrypt in old (circa 2011) nixpkgs. but not in today's nixpkgs
<{^_^}> [nixpkgs] @worldofpeace opened pull request #84864 → Revert "iso-image: normalize volumeID" → https://git.io/JvpKB
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84864 → Revert "iso-image: normalize volumeID" → https://git.io/JvpKB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvpKR
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to revert-83551-iso-id: https://git.io/JvpK0
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 265 seconds]
<gchristensen> worldofpeace: bummer!
<worldofpeace> by just one char :(
morgrimm has quit [Ping timeout: 256 seconds]
<gchristensen> nixos-minima-20.09-x86-64-linux
<julm> minima?
<gchristensen> 1 character shorter:)
<julm> but why?
drakonis1 has joined #nixos
<gchristensen> because nixos-minimal-20.09-x86-64-linux was 1 caracter too long apparently (see #84864)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84864 (by worldofpeace, 3 minutes ago, merged): Revert "iso-image: normalize volumeID"
yuken has quit [Quit: ZNC 1.8.x-git-unknown - https://znc.in]
<julm> ok, there is a 32 chars limit
<freeman42xx> was NixOS 20.03 released? doesn't seem to be mentioned on the site
<cole-h> Not yet
<cole-h> (Hopefully) Final go/no-go tomorrow, I believe
<worldofpeace> gchristensen: actually, the aarch64-linux string is too long
<gchristensen> aarch64-linux isn't changable though is it?
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<worldofpeace> gchristensen: If I could get a string with just aarch64 with `-linux` I think it would be fine
<worldofpeace> * without
<gchristensen> ah
<worldofpeace> maybe stdenv.platform.kernelArch
drakonis1 has quit [Ping timeout: 260 seconds]
<freeman42xx> cole-h++ thank you
<{^_^}> cole-h's karma got increased to 19
<gchristensen> > pkgs.stdenv.platform.kernelArch
<{^_^}> "x86_64"
<freeman42xx> which default NixOS editor can be used under "sudo su" ?
<gchristensen> nano is on every systetm
<cole-h> ed is on every system
<cole-h> >:)
<freeman42xx> I would like something with a GUI
justanotheruser has joined #nixos
<adyatlov> MichaelRaskin can you pastebin some workflows with nix-build?
chagra_ has quit [Ping timeout: 264 seconds]
<cole-h> Assuming plasma5 media, wouldn't that be kate?