gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
cyphase has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52130 β†’ python37Packages.ase: 3.16.2 -> 3.17.0 β†’ https://git.io/fpbin
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has joined #nixos
<florianjacob> ToxicFrog: While you are at imroving the munin module, just noticed that many options in munin.nix don't specify a `type` - should be mostly `types.lines` to enable line merging, I guess. Maybe you want to add that? :)
<ToxicFrog> florianjacob: good idea. Done.
<florianjacob> πŸ‘
ensyde has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52131 β†’ python37Packages.aioconsole: 0.1.10 -> 0.1.11 β†’ https://git.io/fpbiz
<ToxicFrog> Going to commit a bunch of other fixes and then squash everything back together and re-upload it, should be ready for review for reals in a few minutes
siers has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<florianjacob> ToxicFrog: just noticed /etc/munin/plugins contains a literal symlink '*' -> '/nix/store/kswihig9f78c0nj1hr65a37nr828n0r5-munin-extra-plugins.d/*' - is that the intention of how it should work?
<ToxicFrog> florianjacob: no, and that's one of the things I fixed since uploading the PR
<ToxicFrog> (the problem is that if you don't have any extraPlugins, when it does the "ln -s munin-auto-plugins/* ./", the * doesn't get expanded)
<ToxicFrog> (it's harmless, but ugly
<florianjacob> aah, so I just re-discovered it. Nice commit granularity & descriptions btw.
<siraben> Is it possible to switch from the unstable to stable branch of Nix packages?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52132 β†’ pig: 0.16.0 -> 0.17.0 β†’ https://git.io/fpbPv
<tilpner> siraben - What channel are you currently on? nixpkgs-unstable or nixos-*?
<{^_^}> [nixpkgs] @volth opened pull request #52133 β†’ qemu: 3.0.0 -> 3.1.0 β†’ https://git.io/fpbPq
doyougnu has quit [Ping timeout: 268 seconds]
<florianjacob> ToxicFrog: just to learn something while I have you on the line, ”internAndFixPlugins”, β€œintern” like β€œimprison”, or what does that mean in that context?
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<c_wraith> usually short for "internalize"
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52134 β†’ picard-tools: 2.18.17 -> 2.18.20 β†’ https://git.io/fpbPR
<florianjacob> c_wraith: thanks!
<c_wraith> usually usually part of a scheme to cache frequently used values to prevent recalculation lazily-calculated attributes
<c_wraith> +of
<ToxicFrog> Yeah, what c_wraith said. In this context, "copy this plugin into the nix store if it's not already there".
<ToxicFrog> I stole the term from programming languages where e.g. string interning is a thing.
<ToxicFrog> (that said, if there's a better term or one more commonly used in Nix, I'm fine with changing it)
jonaswouters has quit [Quit: Connection closed for inactivity]
<ToxicFrog> And while I'm here, what's idiomatic Nix for a ${...} expression that expands into a string iff some condition is met?
<ToxicFrog> I've been using (e.g.) ${if nodeCfg.extraAutoPlugins != [] then "...some shell script..." else ""}
<ToxicFrog> But that's a bit ugly.
<simpson> > lib.optionalString
<{^_^}> <LAMBDA>
<simpson> > lib.optionalString true "the string"
<{^_^}> "the string"
<simpson> > lib.optionalString false "the string?"
<{^_^}> ""
<simpson> ToxicFrog: ^^^ Hope this helps.
<ToxicFrog> Similarly, is there a more idiomatic way to check for the empty set or the empty list than "!= {}" or "!= []"?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52135 β†’ plantuml: 1.2018.12 -> 1.2018.13 β†’ https://git.io/fpbP1
<simpson> Hmm. Not that I know of. The typical actions are maps and folds instead.
<ToxicFrog> Yeah, in this case it's getting folded into the arguments to a shell command that I don't want to run at all if it's empty
<ToxicFrog> Rather than running with no arguments
justanotheruser has quit [Ping timeout: 252 seconds]
<florianjacob> String interning, TIL. Actually knew the concept, but not its name.
ng0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52136 β†’ polar-bookshelf: 1.1.0 -> 1.1.1 β†’ https://git.io/fpbPN
<florianjacob> != [] is the idiomatic way for the check if the check is required, quite sure that there isn't a thing like `lib.isEmpty xs` or any other sensible way to do it.
ng0 has joined #nixos
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #52137 β†’ Patch 294 β†’ https://git.io/fpbXT
<kisonecat> Any tips on using the xapian gem on NixOS? (gem install xapian can't find xapian.h, and I'm too new to NixOS to know how to handle this.)
<nDuff> kisonecat, xapian-ruby is available in nixpkgs
jperras has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
simukis has quit [Quit: simukis]
<gchristensen> man, having each project's shell.nix specify a different bash history file saves my butt so oftnen
<simpson> Huh, that's an interesting idea.
<kisonecat> @nDuff I try `nix-env -iA nixos.xapian-ruby` but it fails with an error (nixos.xapian-ruby not found)
<gchristensen> just about every shell.nix I have does it.
<ToxicFrog> florianjacob: ok, give it a try now
ng0_ has joined #nixos
<{^_^}> [nixpkgs] @rasendubi merged pull request #51973 β†’ freerdp: 2.0.0-rc3 -> 2.0.0-rc4 β†’ https://git.io/fpFt5
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpbX0
<simpson> kisonecat: I see this but I'm not sure what to do with it:
<simpson> > defaultGemConfig.xapian-ruby
<{^_^}> <LAMBDA>
<kisonecat> ccccccfnhrdgcfhtcfevrgihhdtkgccccnklfikfbici
<gchristensen> nice
<nh2> I see yubikeys are becoming more widespread, good
<gchristensen> nh2++ :D
<{^_^}> nh2's karma got increased to 3
ng0 has quit [Ping timeout: 256 seconds]
<nDuff> kisonecat, ...I keep Ruby out of and away from my environment as much as I can, but for the one thing I *did* need to package, I used https://github.com/manveru/bundix, as also described in https://nixos.org/nixpkgs/manual/#sec-language-ruby; followed the docs, and they behaved properly.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52138 β†’ postgis: 2.5.0 -> 2.5.1 β†’ https://git.io/fpbXz
<{^_^}> [nixpkgs] @rasendubi merged pull request #51977 β†’ xmr-stak: 2.6.0 -> 2.7.1 β†’ https://git.io/fpFmT
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpbX2
<nDuff> do need to make sure the xapian C library is understood as a dependency of the derivation if that isn't automatically picked up, ofc, but I'd expect that to just be a matter of adding it to buildInputs.
<florianjacob> ToxicFrog: everything seems fine now. πŸ‘
<ToxicFrog> \o/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52139 β†’ pg_cron: 1.1.2 -> 1.1.3 β†’ https://git.io/fpbX1
<{^_^}> [nixpkgs] @veprbl merged pull request #50221 β†’ pythonPackages.gym: init at 0.9.6 β†’ https://git.io/fptoc
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fpbXy
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51966 β†’ makeStaticBinaries: add a static glibc when performing a mkDerivation β†’ https://git.io/fpd9Q
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpbXS
fusion809 has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52140 β†’ ansible-lint: 3.4.23 -> 3.5.1 β†’ https://git.io/fpbXp
jtojnar has joined #nixos
<florianjacob> ToxicFrog: except my comments on extraCss and the munin test, everything is fine for me now. ;)
ng0_ has quit [Quit: Alexa, when is the end of world?]
nDuff has quit [Quit: zzz]
Mr_Keyser_Soze has joined #nixos
sigmundv_ has quit [Ping timeout: 245 seconds]
<nh2> who can remember what the 3 types of configuration management were mentioned at NixCon (or what talk it was)? Like "convergent" and two others
<gchristensen> divergent and congruent
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #52141 β†’ [18.09] sqlite: 3.25.3 -> 3.26.0 β†’ https://git.io/fpb1S
<nh2> gchristensen: fantastic, thanks!
<gchristensen> :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52142 β†’ pipenv: 2018.11.14 -> 2018.11.26 β†’ https://git.io/fpb1A
<{^_^}> [nixpkgs] @rasendubi merged pull request #52054 β†’ gosec: 1.1.0 -> 1.2.0 β†’ https://git.io/fpF7d
cyounkins has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpb1j
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage-packages.nix: automatic Haskell package set update Β»: https://git.io/fpbMm
<{^_^}> [nixpkgs] @rasendubi merged pull request #52135 β†’ plantuml: 1.2018.12 -> 1.2018.13 β†’ https://git.io/fpbP1
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpbMY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52143 β†’ prosody: 0.10.2 -> 0.11.1 β†’ https://git.io/fpbMn
<{^_^}> [nixpkgs] @rasendubi merged pull request #51986 β†’ grab-site: init at 2.1.11 β†’ https://git.io/fpF39
<{^_^}> [nixpkgs] @rasendubi pushed 5 commits to master: https://git.io/fpbMc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52144 β†’ pspg: 1.6.2 -> 1.6.3 β†’ https://git.io/fpbMW
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52145 β†’ pmd: 6.9.0 -> 6.10.0 β†’ https://git.io/fpbMg
graphene has joined #nixos
<siraben> tilpner: How do I check?
thc202 has quit [Ping timeout: 250 seconds]
<siraben> tilpner: Ah running a command shows:
jperras has joined #nixos
<siraben> It is possible to use the stable version of say, Thunderbird rather than the daily version in the nixos-unstable channel?
iyzsong has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #51895 β†’ bluez: add support for the sixaxis controller β†’ https://git.io/fp5YJ
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fpbMS
<{^_^}> [nixpkgs] @matthewbauer opened pull request #52146 β†’ Partial revert of "gcc-arm-embedded: remove" β†’ https://git.io/fpbMF
cyounkins has joined #nixos
<nh2> (how) can I set environment variables or .profile equivalent shell exports with NixOS config (so, in `/etc) for `root` only?
cyounkins has quit [Remote host closed the connection]
phreedom_ has joined #nixos
cyounkins has joined #nixos
<ottidmes> nh2: somewhat ugly but simple way to do so would be to just test if its the root user and if so, run the things
phreedom has quit [Remote host closed the connection]
<nh2> ottidmes: yeah, that in combination with a root-read-only /etc file to read would work
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52147 β†’ pulseeffects: 4.4.0 -> 4.4.1 β†’ https://git.io/fpbDU
cyounkins has quit [Ping timeout: 250 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #52147 β†’ pulseeffects: 4.4.0 -> 4.4.1 β†’ https://git.io/fpbDU
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fpbDL
jtojnar has quit [Quit: jtojnar]
phreedom has joined #nixos
Supersonic has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
<ToxicFrog> florianjacob: how do I run the tests?
goibhniu has quit [Ping timeout: 245 seconds]
<ToxicFrog> nvm, found the docs
<ottidmes> siraben: the following advice should also apply to your situation (unstable by default with some stable, rather than the stable with some unstable discussed)
<ottidmes> ,unstable siraben
Anton-Latukha has quit [Quit: Leaving.]
freeman42x[nix] has quit [Ping timeout: 252 seconds]
gonz_ has quit [Ping timeout: 252 seconds]
mikeplus64 has quit [Ping timeout: 264 seconds]
gonz_ has joined #nixos
mikeplus64 has joined #nixos
goibhniu has joined #nixos
sbdchd has quit [Remote host closed the connection]
fresheyeball has quit [Quit: WeeChat 2.2]
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
Mr_Keyser_Soze has joined #nixos
PyroLagus has quit [Quit: ZNC / WeeChat]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52149 β†’ playonlinux: 4.2.12 -> 4.3.3 β†’ https://git.io/fpby0
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
marusich has joined #nixos
PyroLagus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52150 β†’ playerctl: 0.6.1 -> 2.0.1 β†’ https://git.io/fpbyr
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52151 β†’ pulumi-bin: 0.16.2 -> 0.16.7 β†’ https://git.io/fpbyP
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51881 β†’ pkgsStatic fix for macOS β†’ https://git.io/fp75D
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/fpbyX
jperras has quit [Ping timeout: 268 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
kisonecat has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52152 β†’ python37Packages.astropy: 3.0.5 -> 3.1 β†’ https://git.io/fpbSY
jperras has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
verite has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
sbdchd has joined #nixos
layus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52153 β†’ octopus: 8.2 -> 8.3 β†’ https://git.io/fpbSa
layus has joined #nixos
sbdchd has quit [Remote host closed the connection]
verite has quit [Quit: quit]
sbdchd has joined #nixos
aleph- has quit [Ping timeout: 245 seconds]
verite has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52154 β†’ osinfo-db: 20181101 -> 20181203 β†’ https://git.io/fpbS6
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
pie___ has joined #nixos
pie___ has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 252 seconds]
pie___ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52156 β†’ padthv1: 0.9.3 -> 0.9.4 β†’ https://git.io/fpbSh
verite has quit [Read error: Connection reset by peer]
verite has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52157 β†’ parallel: 20181022 -> 20181122 β†’ https://git.io/fpb9q
<{^_^}> [nixpkgs] @danielfullmer opened pull request #52158 β†’ rtl8812au: 5.2.20_25672.20171213 -> 5.2.20.2_28373.20180619 β†’ https://git.io/fpb9O
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51847 β†’ epsxe: add libGLU_combined to buildInputs β†’ https://git.io/fpQI4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpb9s
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51598 β†’ tecoc: add BSD and Darwin/OSX support β†’ https://git.io/fp1jG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpb9C
justanotheruser has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52159 β†’ osl: 1.9.10 -> 1.10.2 β†’ https://git.io/fpb9W
verite has quit [Quit: quit]
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
goibhniu has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52160 β†’ openfortivpn: 1.7.1 -> 1.8.0 β†’ https://git.io/fpb95
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nix] @dtzWill opened pull request #2584 β†’ tests/fetchurl: fix after changing default hash from 512 to 256 β†’ https://git.io/fpbHe
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52161 β†’ pdfgrep: 2.1.1 -> 2.1.2 β†’ https://git.io/fpbHk
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52162 β†’ opencollada: 1.6.67 -> 1.6.68 β†’ https://git.io/fpbHn
ensyde has quit [Ping timeout: 240 seconds]
jperras has quit [Quit: WeeChat 2.2]
justanotheruser has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @tdbgamer opened pull request #52163 β†’ flameshot: 0.5.1 -> 0.6.0 β†’ https://git.io/fpbHR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52164 β†’ oniguruma: 6.9.0 -> 6.9.1 β†’ https://git.io/fpbHz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52165 β†’ papirus-icon-theme: 20181007 -> 20181120 β†’ https://git.io/fpbHi
lo_mlatu has joined #nixos
<lo_mlatu> Hi, is there a way to apply `replace-dependency` on all packages in my nixos configuration? Or at least all packages in `environment.systemPackages`?
<ottidmes> lo_mlatu: could you describe you use case in more detail, otherwise I would just suggest using an overlay to change said dependency
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52166 β†’ olm: 2.3.0 -> 3.0.0 β†’ https://git.io/fpbHQ
<ottidmes> lo_mlatu: and if you only need to do so for a specific set of packages, maybe import your nixpkgs and your overlay only on that import, and then explicitly import from custom-overlaid-nixpkgs in your systemPackages
<lo_mlatu> I'm on an macbook pro and I have to patch the libinput so the palm-injection etc could work. So I add an overlay. But there is so much package depend on it and I have to rebuild the whole world on each update.
<lo_mlatu> I want to avoid this
freeman42x[nix] has quit [Ping timeout: 252 seconds]
<ottidmes> lo_mlatu: then you could use my second suggestion, use a custom nixpkgs import that has the fixes for libinput and import from that for those few that need it
<ottidmes> lo_mlatu: in your normal overlay do: libInputPkgs = import <nixpkgs> { overlays = [ ... your libinput overlay ... ]; }; and then in your configuration you can do for your systemPackages pkgs.libInputPkgs.<pkg_name>
<lo_mlatu> ottidmes: But those packages are introduced by setting `service.x11.desktopManager.plasma5.enable = true`. Is there a recommended way to import a custom nixpkgs and affect only these packages? And there is already too much packages depend on libinput in that configuration...
<ottidmes> lo_mlatu: ok, then how about doing the same I said above, but explicit overlay those you need fixed, so in your normal overlay add those that need fixing: <pkg_name> = libInputPkgs.<pkg_name>; (I would probably then define libInputPkgs in a let binding above you overlay, otherwise use self.libInputPkgs)
<ottidmes> And probably use: inherit (libInputPkgs) pkg1 pkg2; instead
<lo_mlatu> ottidmes: I think I can do this for those packages which take too much time to rebuild. Thanks anyway :-)
<ottidmes> lo_mlatu: there should also be a way to convince Nix to trust you that its ok and it should just take the new libinput without rebuilding, but I dont know the details unfortunately
<lo_mlatu> ottidmes: Yes exactly what I'm trying to find. I found `replace-dependency` but it only work for a single derivation
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52167 β†’ pcsctools: 1.5.3 -> 1.5.4 β†’ https://git.io/fpbQe
<lo_mlatu> Can `replace-dependency` be applied on a derivation itself? :)
<ottidmes> lo_mlatu: so looking at that code, you should be able to do what you want to achieve, never tried it myself though
<ottidmes> lo_mlatu: you mean instead of patching the users of the derivation, you want everybody to use that derivation?
<lo_mlatu> ottidmes: Well, I'm the only user of the machine
Rusty1 has quit [Quit: Konversation terminated!]
<ottidmes> lo_mlatu: I meant users of the package in the sense of using libinput
<ottidmes> so say firefox uses libinput, you dont want to patch firefox manually, you want to say, all packages that use libinput should use this new libinput, that is what you were asking, right?
<lo_mlatu> Yes exactly
marusich has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #52168 β†’ Add bluez full package β†’ https://git.io/fpbQY
<ottidmes> without studying that replace-dependency to see if it could be modified to work like that, I could think of one way to make it work, it is to replace callPackage with a version that if libinput is in the list of inputs that it then calls replace-dependency on them, still not an easy fix I am afraid though
<lo_mlatu> If I can get the top-level, or second-top-level derivation of the configuration output I think I can use replace-dependency to archieve what I want. But I suspect it will end up with an infinite recursion.
<lo_mlatu> emmm, time to learn more about functional programming
lo_mlatu has quit [Quit: Page closed]
IRCsum has quit [Read error: Connection reset by peer]
IRCsum has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52169 β†’ osrm-backend: 5.19.0 -> 5.20.0 β†’ https://git.io/fpbQM
<nh2> can anybody reproduce me https://github.com/NixOS/nixpkgs/issues/52170 with `configuration.nix`?
<{^_^}> #52170 (by nh2, 38 seconds ago, open): Nonsensical infinite loop when tracing runCommand result
<ottidmes> nh2: you only have nixops machines?
<nh2> ottidmes: yes
<ottidmes> nh2: then I will try
<nh2> ottidmes: thanks :)
<ottidmes> nh2: so the first one should hang already, right
<nh2> ottidmes: yes
<nh2> first one hangs, second one doesn't, third one prints "infinite recursion"
<ottidmes> yep, first one hangs on my system as well
lo_mlatu has joined #nixos
<nh2> ottidmes: thanks! so weird
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52171 β†’ pari: 2.11.0 -> 2.11.1 β†’ https://git.io/fpbQd
<ottidmes> the third one indeed produces inf-rec, so its the same
NightTrain has quit [Quit: Lost terminal]
<ottidmes> nh2: trace causes evaluation of pkgs here (3) and pkgs is dependent on my config, so that inf-rec is sensible
palo1 has joined #nixos
<ottidmes> nh2: the second one succeeds, because it can close the loop before having to be evaluated, so no inf-rec there
<ottidmes> nh2: and I guess the first one is just divergent rather than looping, so the loop detection mechanism does not kick in
<nh2> ottidmes: what's (3)?
<lo_mlatu> can I get the name of a variable as string in nix expression?
<ottidmes> nh2: the third example
<ottidmes> nh2: only example 1 is unclear to me just from looking at the code
palo has quit [Ping timeout: 250 seconds]
<ottidmes> lo_mlatu: could you give an example?
<nh2> ottidmes: but why does tracing `pkgs.runCommand ...` fully evaluate pkgs? Shouldn't it only evaluate what's necessary, and certainly some random systemd unit's preStart shouldn't be necessary for that? I also don't understand why it being inside vs outside `preStart` specifically results in it not closing, respectively closing, the loop
justanotheruser has joined #nixos
<nh2> ottidmes: also, if you assign it to `unitConfig.ExecStart` instead of `preStart`, then it works
<lo_mlatu> I want a function `toName` which gives me "var" in `let var = 123; in toName var`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52172 β†’ ocamlPackages.curses: 1.0.3 -> 1.0.4 β†’ https://git.io/fpb7J
<ottidmes> nh2: its not so much about evaluating but more about dependencies in order to be able to evaluate it, if pkgs depends on the config and to determine the config it needs pkgs, thats a loop
<ottidmes> nh2: so we would have to look at preStart to see whats different about it
pie__ has joined #nixos
qualiaqq has joined #nixos
pie___ has quit [Remote host closed the connection]
<nh2> ottidmes: it seems to be some specific properties in that level where this happens, e.g. `script` on that level also has that hang
iyzsong has quit [Ping timeout: 240 seconds]
<ottidmes> ,find customisation.nix
<ottidmes> lo_mlatu: something that does something like this and probably fits your needs is used in callPackage, namely lib.functionArgs: https://github.com/NixOS/nixpkgs/blob/ac22b8db0945d977d5b37f64acbcbaabee333383/lib/customisation.nix#L111
<ottidmes> nh2: so that explains the infinite recursion, just not why the inf-rec detector does not detect it
<nh2> ottidmes: I don't get why it explains it, shouldn't laziness ensure that only `pkgs.writeTextFile` is evaluated? `preStart` using `pkgs` seems fine to me, problematic would be `pkgs` using `preStart` via some path, wouldn't it?
mikeplus64 has quit [Ping timeout: 250 seconds]
<ottidmes> nh2: trace will cause some evaluation of it
<nh2> ottidmes: for example, even this works: `let a = { x = 1; a = a; }; in builtins.trace a 2`
<nh2> it prints `trace: { a = <CYCLE>; x = 1; }`
<nh2> so why wouldn't our trace work?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52173 β†’ opendht: 1.7.4 -> 1.8.0 β†’ https://git.io/fpb7t
mikeplus64 has joined #nixos
<ottidmes> nh2: I am not the best at explaining this, its a difficult topic regardless, but in my mental model of it, its all about dependencies and the moment you trigger evaluation of say pkgs, it needs to know where writeTextFile comes from and thus all things defining pkgs, and that cannot be answered, because config defines pkgs
<ottidmes> nh2: so in your example just now, your value is a cycle, while in your issue examples 1 and 3, it cannot determine the value because what it needs to determine the value cycles already
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52174 β†’ notejot: 1.4.7 -> 1.5.2 β†’ https://git.io/fpb7Z
graphene has joined #nixos
<ottidmes> nh2: and there will always be cases like your first example, because inf-rec detection is generally undecidable, if it were able to always perfectly detect it, you would be able to solve the halting problem
run500 has joined #nixos
<nh2> ottidmes: hmm, I can't say I'm convinced, but you must be right eventually because otherwise we wouldn't observe this behaviour. I should try tomorrow to insert a couple prints into nix's `printValue` and see whether I can figure out which exact path is taken
<nh2> ottidmes: in any case, you checking that it happens for you too is already super helpful to ensure I'm not going insane :D
<nh2> so thanks a lot!
<nh2> I must go to bed now because it is 7:30 am :D
<ottidmes> nh2: you most definitely are not, and no problem!
<ottidmes> nh2: hah, me too :P good night!
<nh2> good night
<{^_^}> Night!
<ottidmes> or rather, sleep well
<ottidmes> night is over :P
<nh2> night is when I sleep, can't help the fact that the other people are all so confused about it ;)
<ottidmes> true
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Which package provides the unGoogleable `file` command?
<ottidmes> ,locate file
<{^_^}> Found in packages: go, apt, calc, file, z88dk, davix, biber, jetty, dillo, zulu8, heroku, meteor, gitlab, mopidy, spyder, vagrant, kibana5, srecord, fail2ban, wallabag, sonic-pi, brackets, gwyddion, pltScheme, linux.dev, liquibase, plan9port, azure-cli, logstash5, opendylan, rustc.doc, leo-editor, kibana-oss, simplenote, codeblocks, silc_client, boost155.dev, logstash6-oss, racket-minimal, bashCompletion, rPackages.RSeqAn, and 19 more
<selfsymmetric-mu> XD
<ottidmes> selfsymmetric-mu: so file contains file ;)
<selfsymmetric-mu> ...somehow I feel like I should have thought of that. Thank you!
<run500> im trying to make a minimal nixos image. is it possible to make an image without x11 dependencies?
<run500> i see dependency chains like this: git -> gnupg -> pinentry -> libsecret -> vala -> graphviz -> libdevil -> libGL -> libglvnd -> libX11
<ottidmes> run500: https://nixos.org/nixos/options.html#nox this maybe
<run500> ottidmes: i have environment.noXlibs set to true already
<run500> although it looks like no-x-libs.nix should be causing a different version of pinentry to be built... hmm
<ottidmes> run500: maybe you want to look into this: https://github.com/cleverca22/not-os
<run500> ottidmes: thats pretty interesting
hedning has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52175 β†’ neovim-qt: 0.2.10 -> 0.2.11 β†’ https://git.io/fpb7a
jtojnar has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #52176 β†’ github-changelog-generator: init at v1.14.3 β†’ https://git.io/fpb7V
<ottidmes> run500: I am going offline now, I have heard not-OS mentioned by others not wanting X11, so hopefully it helps, good luck!
ottidmes has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52177 β†’ mimeo: 2017.6.6 -> 2018.11 β†’ https://git.io/fpb71
<infinisil> ,locate bin file
<{^_^}> Found in packages: file
<infinisil> selfsymmetric-mu: otti0815: Aha! ^^
<infinisil> ottimedes* ^^ (but he gone now)
<Enzime> can someone take a look at my PR?
<{^_^}> #51313 (by Enzime, 1 week ago, open): llpp: 2018-03-02 -> 30
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #52178 β†’ gif-for-cli: init and pythonPackages.x256: init at 0.0.3 β†’ https://git.io/fpb7S
<selfsymmetric-mu> infinisil: Oh! That's a cool trick. I like this bot. Can I get one for my command line?
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
<selfsymmetric-mu> XD
<selfsymmetric-mu> Brilliant. Thank you!
<infinisil> :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52179 β†’ ocamlPackages.cmdliner: 1.0.2 -> 1.0.3 β†’ https://git.io/fpb7d
sir_guy_carleton has quit [Quit: WeeChat 2.2]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @rickynils pushed to master Β« nixos/nm-setup-hostsdir: RemainAfterExist -> RemainAfterExit Β»: https://git.io/fpb5e
<{^_^}> [nixpkgs] @rickynils pushed to release-18.09 Β« nixos/nm-setup-hostsdir: RemainAfterExist -> RemainAfterExit Β»: https://git.io/fpb5J
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52180 β†’ mbuffer: 20180625 -> 20181119 β†’ https://git.io/fpb5q
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52181 β†’ mbedtls: 2.14.0 -> 2.15.1 β†’ https://git.io/fpb5s
<{^_^}> [nixpkgs] @rickynils pushed to master Β« mosquitto: 1.5.3 -> 1.5.4 Β»: https://git.io/fpb58
<{^_^}> [nixpkgs] @rickynils pushed to release-18.09 Β« mosquitto: 1.5.3 -> 1.5.4 Β»: https://git.io/fpb5u
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52182 β†’ libsForQt5.mlt: 6.10.0 -> 6.12.0 β†’ https://git.io/fpb5w
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52183 β†’ python37Packages.mypy: 0.641 -> 0.650 β†’ https://git.io/fpb51
init_6 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52184 β†’ mercurialFull: 4.8 -> 4.8.1 β†’ https://git.io/fpb5S
Acou_Bass has quit [Ping timeout: 250 seconds]
Acou_Bass has joined #nixos
hedning has quit [Remote host closed the connection]
epicmetal has joined #nixos
epicmetal has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52185 β†’ mediainfo-gui: 18.08.1 -> 18.12 β†’ https://git.io/fpbdm
Acou_Bass has quit [Ping timeout: 272 seconds]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52186 β†’ mergerfs: 2.24.2 -> 2.25.1 β†’ https://git.io/fpbd3
jtojnar has quit [Quit: jtojnar]
fusion809 has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @danieldk opened pull request #52187 β†’ python3Packages.spacy: 2.0.16 -> 2.0.18 β†’ https://git.io/fpbd0
qualiaqq has quit [Quit: killed by a xenomorph]
talyz has quit [Quit: WeeChat 2.3]
etu has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52188 β†’ msitools: 0.97 -> 0.98 β†’ https://git.io/fpbd6
etu has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @r-ryantm to master Β« mimeo: 2017.6.6 -> 2018.11 Β»: https://git.io/fpbdd
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #52177 β†’ mimeo: 2017.6.6 -> 2018.11 β†’ https://git.io/fpb71
<{^_^}> [nixpkgs] @dywedir merged pull request #52165 β†’ papirus-icon-theme: 20181007 -> 20181120 β†’ https://git.io/fpbHi
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fpbdF
talyz has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52189 β†’ maven: 3.5.4 -> 3.6.0 β†’ https://git.io/fpbdx
siers has joined #nixos
dermetfan has quit [Client Quit]
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52190 β†’ nsd: 4.1.25 -> 4.1.26 β†’ https://git.io/fpbFU
lo_mlatu has quit [Quit: Connection closed for inactivity]
siers has quit [Quit: WeeChat 2.0]
fusion809 has quit [Remote host closed the connection]
siers has joined #nixos
fusion809 has joined #nixos
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52191 β†’ prometheus-node-exporter: 0.16.0 -> 0.17.0 β†’ https://git.io/fpbFG
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52192 β†’ motion: 4.2 -> 4.2.1 β†’ https://git.io/fpbFn
clefru has quit [Remote host closed the connection]
marusich has joined #nixos
simukis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52193 β†’ mutt: 1.10.1 -> 1.11.1 β†’ https://git.io/fpbFK
juhe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52194 β†’ manuskript: 0.3.0 -> 0.8.0 β†’ https://git.io/fpbF9
agander has joined #nixos
<eyJhb> gchristensen: you available? - Or anybody that knowns fetchFromGithub. What is the syntax for a specific tag? is it just `rev = "refs/tags/v1.6.0";` ?
<timokau[m]> eyJhb: Just `"v1.6.0"` should be sufficient, see discussion at https://github.com/NixOS/nixpkgs/pull/50492
<{^_^}> #50492 (by jtojnar, 3 weeks ago, closed): fetchgit: add tag argument
<eyJhb> timokau[m]: okay :) - What is the best way to fetch the sha256? Still a bit confused about that. I am not sure where to point nix-prefetch-git
<timokau[m]> Just initialize it to 000....00 (52 times) and then replace it with the one the error message gives you
<timokau[m]> (That is the "trust on first use" principle, although the UX is suboptimal)
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #52152 β†’ python37Packages.astropy: 3.0.5 -> 3.1 β†’ https://git.io/fpbSY
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master Β« python37Packages.astropy: 3.0.5 -> 3.1 (#52152) Β»: https://git.io/fpbbv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52195 β†’ now-cli: 12.1.3 -> 12.1.12 β†’ https://git.io/fpbbJ
<eyJhb> timokau[m]: thanks, works now! :)
dermetfan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52196 β†’ nxproxy: 3.5.99.16 -> 3.5.99.17-1 β†’ https://git.io/fpbb0
LysergicDreams has quit [Ping timeout: 246 seconds]
cyphase has quit [Read error: Connection reset by peer]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #52197 β†’ bloop: 1.1.1 -> 1.1.2 β†’ https://git.io/fpbbP
cyphase has joined #nixos
rprije has joined #nixos
agander has quit [Ping timeout: 272 seconds]
feep_ has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master Β« python.pkgs.ftfy: disable on python2 Β»: https://git.io/fpbb5
hedning has joined #nixos
Travankor_ has joined #nixos
EarlDeLaWarr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Travankor_ has quit [Quit: Q]
nckx has quit [Quit: Updating my GNU GuixSD server β€” gnu.org/s/guix]
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-18.09: https://git.io/fpbbj
nckx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52198 β†’ mycli: 1.17.0 -> 1.19.0 β†’ https://git.io/fpbNU
<{^_^}> [nixpkgs] @dotlambda merged pull request #52187 β†’ python3Packages.spacy: 2.0.16 -> 2.0.18 β†’ https://git.io/fpbd0
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fpbNT
<{^_^}> [nixpkgs] @dotlambda merged pull request #52198 β†’ mycli: 1.17.0 -> 1.19.0 β†’ https://git.io/fpbNU
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master Β« mycli: 1.17.0 -> 1.19.0 (#52198) Β»: https://git.io/fpbNR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52199 β†’ mpich: 3.2.1 -> 3.3 β†’ https://git.io/fpbNE
<{^_^}> [nixpkgs] @markuskowa merged pull request #52153 β†’ octopus: 8.2 -> 8.3 β†’ https://git.io/fpbSa
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpbNV
alex`` has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @Scriptkiddi closed pull request #52178 β†’ gif-for-cli: init and pythonPackages.x256: init at 0.0.3 β†’ https://git.io/fpb7S
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52200 β†’ netdata: 1.11.0 -> 1.11.1 β†’ https://git.io/fpbNy
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #52201 β†’ Gif for cli β†’ https://git.io/fpbN7
epicmetal has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
ng0 has joined #nixos
thc202 has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #52202 β†’ pythonPackages.cysignals: 1.7.2 -> 1.8.0 β†’ https://git.io/fpbAI
chimay has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52203 β†’ latte-dock: 0.8.2 -> 0.8.3 β†’ https://git.io/fpbA4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52204 β†’ libatomic_ops: 7.6.6 -> 7.6.8 β†’ https://git.io/fpbAV
rprije has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52205 β†’ libcouchbase: 2.10.0 -> 2.10.2 β†’ https://git.io/fpbAP
fpob has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
fpob has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52206 β†’ libre: 0.5.9 -> 0.6.0 β†’ https://git.io/fpbAy
rardiol has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #52097 β†’ ola: use python36 β†’ https://git.io/fpbGu
<{^_^}> [nixpkgs] @dotlambda pushed to master Β« ola: use python36 (#52097) Β»: https://git.io/fpbAb
Yaniel has quit [Remote host closed the connection]
<fusion809> I ran `nix-env -f '<nixos-unstable>' -iA conda` and it installed conda-shell-4.3.31, yet conda-shell isn't found in PATH. I expected it in PATH due to what the Wiki says about it: https://nixos.wiki/wiki/Python#conda.
<fusion809> Any ideas what I'm meant to do to get Conda shell?
<fusion809> Can't run `conda` itself (which is provided by the python37Packages.conda package I also installed) as I get the error: https://gist.github.com/fusion809/52f9d67f99aa96bc40780ca072a02550
ThatDocsLady_ has joined #nixos
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52207 β†’ love_11: 11.1 -> 11.2 β†’ https://git.io/fpbxt
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52208 β†’ logrotate: 3.14.0 -> 3.15.0 β†’ https://git.io/fpbxW
agander has joined #nixos
morr has joined #nixos
<infinisil> ,locate bin conda
<{^_^}> Found in packages: python27Packages.conda, python37Packages.conda
<srhb> They're gone, but the binary appears to be called conda-shell-4.3.31
<srhb> Er, executable*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52209 β†’ libmediainfo: 18.08.1 -> 18.12 β†’ https://git.io/fpbxo
<{^_^}> [nixpkgs] @markuskowa merged pull request #52000 β†’ soapyrtlsdr: 0.2.5 -> 0.3.0 β†’ https://git.io/fpFWE
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpbxi
<{^_^}> [nixpkgs] @markuskowa merged pull request #52018 β†’ soapyairspy: 0.1.1 -> 0.1.2 β†’ https://git.io/fpFRR
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpbx1
feep_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master Β« ttwatch: 2018-02-01 -> 2018-12-04 Β»: https://git.io/fpbxy
init_6 has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #52202 β†’ pythonPackages.cysignals: 1.7.2 -> 1.8.0 β†’ https://git.io/fpbAI
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fpbxQ
fusion809 has joined #nixos
spacekookie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52210 β†’ librem: 0.5.3 -> 0.6.0 β†’ https://git.io/fpbxb
<fusion809> Hi, how do I debug i3status on NixOS? I've always found running i3 on NixOS a pain in the rear, mostly in getting my i3pystatus-managed i3 bar to work properly. Part of the reason is it is hard to debug, "Error: status_command process exited unexpected (exit 1)" as I do not know if there's a log file to look at and if not how to get a log. I've tried running the status_command line from my config file in my terminal and it
<fusion809> runs fine
sigmundv_ has joined #nixos
epicmetal has quit [Quit: epicmetal]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52211 β†’ libgpgerror: 1.32 -> 1.33 β†’ https://git.io/fpbpv
<fusion809> Also found XTerm ignores ~/XTerm. Like mine is: https://gist.github.com/fusion809/343a98a571dacb95922412ae93b58d4a, and despite this XTerm looks like: https://imgur.com/GvmRSbU.png.
<{^_^}> [nixpkgs] @dotlambda merged pull request #52107 β†’ python37Packages.pybtex: 0.21 -> 0.22.0 β†’ https://git.io/fpb8g
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master Β« python37Packages.pybtex: 0.21 -> 0.22.0 (#52107) Β»: https://git.io/fpbpL
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52207 β†’ love_11: 11.1 -> 11.2 β†’ https://git.io/fpbxt
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fpbpt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52212 β†’ lxcfs: 3.0.2 -> 3.0.3 β†’ https://git.io/fpbpq
sigmundv_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52171 β†’ pari: 2.11.0 -> 2.11.1 β†’ https://git.io/fpbQd
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fpbp3
rfold has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #52199 β†’ mpich: 3.2.1 -> 3.3 β†’ https://git.io/fpbNE
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpbps
<fusion809> My config files are in https://github.com/fusion809/i3-configs/tree/nixos
hotfuzz_ is now known as hotfuzz
<{^_^}> [nixpkgs] @dotlambda merged pull request #52108 β†’ python37Packages.cftime: 1.0.2.1 -> 1.0.3.4 β†’ https://git.io/fpb43
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master Β« python37Packages.cftime: 1.0.2.1 -> 1.0.3.4 (#52108) Β»: https://git.io/fpbpB
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52204 β†’ libatomic_ops: 7.6.6 -> 7.6.8 β†’ https://git.io/fpbAV
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fpbpR
ng0 has quit [Quit: Alexa, when is the end of world?]
revtintin has joined #nixos
juhe has quit [Remote host closed the connection]
chimay has quit [Ping timeout: 246 seconds]
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52210 β†’ librem: 0.5.3 -> 0.6.0 β†’ https://git.io/fpbxb
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fpbpr
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52206 β†’ libre: 0.5.9 -> 0.6.0 β†’ https://git.io/fpbAy
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fpbpo
agander_ has joined #nixos
agander has quit [Ping timeout: 240 seconds]
chimay has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52213 β†’ librime: 1.3.1 -> 1.3.2 β†’ https://git.io/fpbhv
<{^_^}> [nixpkgs] @marsam opened pull request #52214 β†’ mruby: 1.4.1 -> 2.0.0 β†’ https://git.io/fpbhJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52215 β†’ librelp: 1.2.18 -> 1.3.0 β†’ https://git.io/fpbhm
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52216 β†’ libqalculate: 2.8.1 -> 2.8.2 β†’ https://git.io/fpbhR
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #52217 β†’ kitty: 0.12.3 -> 0.13.1 β†’ https://git.io/fpbhE
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #52218 β†’ vimPlugins: Update β†’ https://git.io/fpbho
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52219 β†’ libwebsockets: 3.0.1 -> 3.1.0 β†’ https://git.io/fpbh1
ng0 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52220 β†’ libsolv: 0.7.1 -> 0.7.2 β†’ https://git.io/fpbje
agander has joined #nixos
agander_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52221 β†’ libraw: 0.19.0 -> 0.19.1 β†’ https://git.io/fpbjt
agander has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
agander has joined #nixos
<flokli> uff
<flokli> 999 open PRs btw
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52222 β†’ librealsense: 2.16.4 -> 2.17.0 β†’ https://git.io/fpbjg
<flokli> there we go!
agander_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #52200 β†’ netdata: 1.11.0 -> 1.11.1 β†’ https://git.io/fpbNy
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpbja
<{^_^}> [nixpkgs] @flokli merged pull request #52193 β†’ mutt: 1.10.1 -> 1.11.1 β†’ https://git.io/fpbFK
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpbjr
agander__ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #52191 β†’ prometheus-node-exporter: 0.16.0 -> 0.17.0 β†’ https://git.io/fpbFG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpbjK
agander has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #52167 β†’ pcsctools: 1.5.3 -> 1.5.4 β†’ https://git.io/fpbQe
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpbjX
agander_ has quit [Ping timeout: 250 seconds]
agander_ has joined #nixos
mr_noobs has joined #nixos
agander__ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52223 β†’ lidarr: 0.4.0.524 -> 0.5.0.583 β†’ https://git.io/fpbj7
agander has joined #nixos
agander_ has quit [Ping timeout: 250 seconds]
agander_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52224 β†’ libwacom: 0.31 -> 0.32 β†’ https://git.io/fpbjb
acarrico has quit [Ping timeout: 245 seconds]
agander has quit [Ping timeout: 250 seconds]
<ben> What can I do to increase the chances of https://github.com/NixOS/nixpkgs/pull/52049 getting merged and landing in a binary cache near me soon?
<{^_^}> #52049 (by ben0x539, 23 hours ago, open): go: 1.11.2 -> 1.11.3, 1.10.3 -> 1.10.6
<ben> Would ticking more checkboxes help?
<tilpner> ben - Quickest way would be to setup your own binary cache and push it there. Next quickest thing is to bring more attention to your PR, like you've done already
<ben> I feel like people setting up their own binary caches just removes incentives to make the communal one as good as it can be
<srhb> ben: One day is a very short while for a PR to sit :)
<steveeJ> where is NIX_PATH originally set on a NixOS system?
<tilpner> ofborg warns about it being a mass-rebuild though...
<srhb> ben: But ticking more boxes is definitely good. Enabling sandbox for your testing is very good.
<tilpner> Definitely don't tick all the boxes though, unless you want to rebuild 501+ packages locally
<srhb> True :-P
<ben> srhb: Yeah, it's not that long yet but I figure I should do what I can earlier rather than get really sad in like a month :P
<srhb> So you may want to base your PR on staging
<srhb> ben: Appreciated for sure.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52226 β†’ libiio: 0.15 -> 0.16 β†’ https://git.io/fpNe4
<ben> I was surprised that sandbox is not enabled by default
<srhb> ben: It is on NixOS now
__monty__ has quit [Quit: leaving]
<srhb> ben: But it requires a multi user install normally, so I guess that's a deterrent to setting it default on other distros.
<ben> ah
<srhb> It also has a performance cost (but well worth it)
<ben> Do I just edit /etc/nix/nix.conf or whatever?
<srhb> Sandboxing issues in packaging (not that you're likely to see that in your PR) are the worst...
<srhb> ben: Yes, if you're on a multi user Linux install, I think that should work.
<srhb> And then restart the daemon
<ben> mhm, is there guidance for setting max-jobs vs cores?
<srhb> ben: Not really, it's taste and machine dependent
<ben> sorry, veering a bit off topic from my original talking point here :)
<srhb> I compile some very memory hungry things, so I can't run many of them in parallel and have many cores at the same time.
<srhb> No problem.
<ben> I think I am more often in the situation where I build a single thing and want that to go fast rather than build 32 things at the same time so I'm surprised at the default (I assume) of max jobs = 32, cores = 1
<ben> I guess this is the kind of thing a more careful user would have configured right after installing nix
<srhb> Um, yes, that's surprising to me too. Though I suspect it's dependent on your machine as well.
<srhb> ben: I mean, it's cheap to modify later so it's not a huge deal...
<srhb> ben: But yeah, I'd certainly prefer more than one core when possible :P
<ben> hm it turns out they released 1.11.4 and 1.10.7 already
<ben> i guess it's a good thing we didn't bother with that mass rebuild yet
<srhb> It's not a big deal, we just prefer it to not happen on master but on staging.
<srhb> (And it's not that much of a mass rebuild compared to, say, glibc :P)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52228 β†’ libcap: 2.25 -> 2.26 β†’ https://git.io/fpNeP
<ben> Okay, I totally missed that staging is basically a separate PR target and not just a step on the way to master for PRs
<ben> "That means it's not to be used for testing, and changes must have been well tested already." I should look into this "testing" thing
<srhb> ben: Build some thing with go, that should suffice.
mconstant has joined #nixos
<srhb> ben: And I think that wording is a bit stronger than what we actually enforce :)
juhe has joined #nixos
<mconstant> I would like to make a modified image to burn to the sd cards for my pi zeros. how do I do that
Rusty1 has joined #nixos
agander has joined #nixos
<ben> I have also wondered about something else, but I want to make it clear that I'm not asking out of impatience or to accelerate my PR in particular: The update to go 1.11.3 was treated with some urgency in my organization, with a decree to update locally by end of day and a mandate to redeploy recompiled binaries, and I imagine a lot of people are in a similar hurry. How does the nixpkgs project feel about
<ben> tensions between that sort of hurry and the cycle times and testing requirements for nixpkgs/channels?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52230 β†’ libwnck3: 3.24.1 -> 3.30.0 β†’ https://git.io/fpNey
agander_ has quit [Ping timeout: 250 seconds]
<ben> I imagine a lot of nix+go users just implemented some ad-hoc overrides, duplicating each other's efforts
<srhb> ben: I think the ease of overlays makes us slightly less nervous about it, but the goal is obviously more speed. And since it is a security thing, it might indeed go straight to master.
<ben> In a lot of cases I imagine people also just want a new go version as soon as possible and don't really care about every other package depending on go
<srhb> ben: Things could be better wrt security, but the people dedicated to it are overtaxed as is.
<srhb> ben: Right, but if it breaks, say, docker or something, it's bad.
<ben> yeah
<srhb> ben: I think we actually have tests to block the channel if docker breaks, but you get the idea.
<ben> I'm wondering if it might make sense to have a process where the addition of the new package version itself is fasttracked somehow independent from the change that makes other packages depends on the new version
<srhb> ben: That's not really doable.
<srhb> ben: At least, in this case, it'd be a sort of irrelevant addition then, that mostly solves nothing.
peterzky has joined #nixos
peterzky has quit [Client Quit]
<ben> (again, this really isn't meant as complaints or "why dont you just..." kinda rhetoric, just wondering how people think about it)
<srhb> ben: I also worry that the cleanup afterwards (switch packages to new version, dump old version) is a higher tax in terms of people-hours.
<srhb> ben: Which is a scarce resource.
<srhb> *the* scarce resource.
<ben> makes sense
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52231 β†’ gnome3.libgit2-glib: 0.26.4 -> 0.27.7 β†’ https://git.io/fpNep
<srhb> ben: And your tone has not been complainy, so don't worry about it :-)
<{^_^}> [nixpkgs] @hedning merged pull request #52014 β†’ valgrind: fix build on darwin β†’ https://git.io/fpFB9
<{^_^}> [nixpkgs] @hedning pushed 2 commits to staging: https://git.io/fpNej
<{^_^}> [nixpkgs] @danieldk opened pull request #52233 β†’ resilio-sync: 2.6.1 -> 2.6.2 β†’ https://git.io/fpNvJ
<{^_^}> [nixpkgs] @hedning closed pull request #52231 β†’ gnome3.libgit2-glib: 0.26.4 -> 0.27.7 β†’ https://git.io/fpNep
agander has quit [Ping timeout: 240 seconds]
agander_ has joined #nixos
drk_lrd_877_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52234 β†’ libdap: 3.20.0 -> 3.20.2 β†’ https://git.io/fpNvt
agander__ has joined #nixos
agander_ has quit [Ping timeout: 246 seconds]
agander has joined #nixos
agander__ has quit [Ping timeout: 246 seconds]
agander_ has joined #nixos
<inf> Hey all.I'm looking into
agander is now known as Guest86614
agander_ is now known as agander
<inf> Jesus... Sorry.
<gchristensen> no worries
mightybyte has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52235 β†’ libextractor: 1.7 -> 1.8 β†’ https://git.io/fpNvg
mconstant has quit [Read error: Connection reset by peer]
Guest86614 has quit [Ping timeout: 246 seconds]
agander_ has joined #nixos
<inf> Hey all. I'm looking into building an electron-based appliance using NixOS (kiosk-like system) - what would be the best way to run it on modern Linux systems? I like systemd & journald, so far I manged to just create a services.xserver.displayManager.session and pair it with lightdm autologin, but maybe there's some better suggestion out there?
<{^_^}> [nixpkgs] @alyssais merged pull request #52197 β†’ bloop: 1.1.1 -> 1.1.2 β†’ https://git.io/fpbbP
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpNvi
agander has quit [Ping timeout: 246 seconds]
<inf> Right now I'm stumbling upon a very weird issue in that setup, that when I run our application directly in [...]displayManager.session.start it somehow stops when switching to tty1 (I log some stuff to journald periodically), but keeps working if i launch it from xterm...
agander has joined #nixos
agander_ has quit [Ping timeout: 246 seconds]
<Baughn> inf: I'm on my phone now, so can't check, but iirc there's some "demo" account functionality in configuration.nix.
<Baughn> Search for that.
agander_ has joined #nixos
<inf> I checked, and looking at process list, it's not getting anything like SIGSTOP/SIGCONT. (I haven't really played with Xorg/Xsession that deep, so I might be missing something)
<Baughn> What you really want is an 'immutable' account. It might provide that. Not sure.
<inf> Ah, I'll look for it.
<Baughn> And a lot of GPU drivers act oddly on switching terminals. The best I can suggest is to not do that. SSH in instead.
<inf> Yeah, I actually do that most of the time. I was only testing it, to verify another issue, that, for some reason, that electron/nodejs code is unable to resolve DNS names when run without network...
<inf> I guess I'll just stick with what I have right now, and try to debug that first.
acarrico has joined #nixos
agander has quit [Ping timeout: 250 seconds]
<Baughn> Um.
<Baughn> How do you expect dns resolution to work without network?
<inf> Darn, sorry, I meant - when started without network, and then network being reconnected after a while.
<inf> Nevermind... I'll play with it and come back later. Thanks.
<Baughn> Hmm. Does your machine by chance have a non-functional ipv6 configuration?
<Baughn> I've seen programs get stuck on that in the past, if ipv4 isn't up when they start.
<Baughn> The solution was to fix the systemd dependencies so it wouldn't start too early.
<inf> The thing is - it should be able to connect to that service, even if network is reconnected after a while :/
<inf> When I restart whole desktop-manager.service after connecting the network, it works just fine, but before that, nodejs keeps throwing "getaddrinfo ENOTFOUND domain.tld" at me...
<inf> Just wrote a very simple test program to verify this...
<{^_^}> [nixpkgs] @veprbl merged pull request #49601 β†’ gn: 20180830 -> 20181031 β†’ https://git.io/fxAn8
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fpNfm
<inf> It's very likely this is just a bug in that electron program.
agander has joined #nixos
ixxie has joined #nixos
agander_ has quit [Ping timeout: 268 seconds]
<inf> well, obviously, minimal testcase that just keeps on doing `https.get()` works fine... Eh. Well.
agander has quit [Read error: Connection reset by peer]
agander_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #52236 β†’ gitAndTools.lab: init at 0.14.0 β†’ https://git.io/fpNfg
<ben> to make a PR against staging I need to build a lot of packages that aren't in the binary cache :I
<gchristensen> ben: may I PM?
<ben> sure
<inf> Baughn: Ha! Got it! It was in fact ipv4/ipv6 issue, looking at journald now, I can see systemd-resolved failing at dnssec validation for AAAA records :D
<gchristensen> I should just make the offer I made to ben in private, in public: if you're hacking at some package low in the graph and are doing tons of long rebuilds, I'm able to get big build nodes for contributors for some amount of time. PM me if you're interested
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<Baughn> Hum.
<Baughn> How big are we talking about, out of curiosity?
<Baughn> (I have a Threadripper, so probably don't need it.)
<gchristensen> typically one of these: https://www.packet.com/cloud/servers/m2-xlarge/ it is made available as a spot instance, this means it can be destroyed at any time -- but it will frequently be available for several hours
<gchristensen> s/frequently/generally/
Mateon3 has joined #nixos
ng0 has joined #nixos
<simpson> I haven't experienced Packet's offerings, but likely there is an allocation minimum of something like 30min to prevent their scheduler from thrashing.
<gchristensen> sometimes it'll be available for >1d
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
freeman42x[nix] has joined #nixos
<ben> I'd feel extremely bad using such a machine interactively thinking about all the CPU time sitting idle while I'm slowly typing build commands into a shell
<ben> :P
<gchristensen> yeah but also think about that poor machine sitting idle, no work to do, waiting for a friend to come calling
mr_noobs has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
<steveeJ> does `nix build` depend on `<nixpkgs>` by hardcoding? I can only spot https://github.com/NixOS/nix/blob/2.1.3/src/nix-build/nix-build.cc#L254 but it shouldn't be relevant to builds
<gchristensen> no
<gchristensen> oh, `nix build` hmm
<gchristensen> nix build is https://github.com/NixOS/nix/blob/master/src/nix/build.cc, nix-build is the one you linked
<steveeJ> I'm trying to get rid of nixpkgs and nixos in NIX_PATH for reproducible deployments
<steveeJ> gchristensen: ah, thanks. I'll take another look then
cyounkins has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52237 β†’ libosmium: 2.14.2 -> 2.15.0 β†’ https://git.io/fpNJg
cyounkins has joined #nixos
<ben> it looks like `nix build` stops workin if I set an empty NIX_PATH, so
<steveeJ> I think I'm looking at the wrong thing. `nix build` seems to work but the next step `nixos-rebuild` doesn't
<gchristensen> it shouldn't, `nix build -f . -A foo`?
<ben> gchristensen: oh I mean I wanted it to stop working so I can see where it pulls nixpkgs from
<ben> absent a -f
<gchristensen> ah
<steveeJ> so now either I'll reproduce nixos-rebuild manually or figure out why that needs nixpkgs
<ben> I think it evaluates <nixpkgs/nixos> or something?
<ben> but it should use NIX_PTH
<ben> +A
<steveeJ> ben: it seems that it does evaluate that, but why? I've tried `--no-build-nix` but it still does
<gchristensen> steveeJ: you can pass -I nixpkgs=./my-nixpkgs and it'll use that one, does that help? probably best to not reimplement it, to avoid weird bugs
<ben> steveeJ: the logic to evaluate your nixos configuration lives in nixpkgs
agander_ is now known as agander
<steveeJ> ben: I see, it makes sense
cyounkins has quit [Ping timeout: 244 seconds]
<ben> and uh i guess it has to find all those packages it's gonna install somewhere, maybe im misunderstanding
<steveeJ> gchristensen: do you know if that nixpkgs is passed to the configuration? I want to prevent having nixpkgs set
<ben> s/install/build/
<steveeJ> maybe I'm being too stubborn :D
<steveeJ> i meant, determined
<gchristensen> steveeJ: yeah, it is
<ben> I think my approach would be to wrap your to-be-reproducible build in a script that sets NIX_PATH to a fixed value
<ben> pointing to a fixed version of nixpkgs rather
<gchristensen> steveeJ: so what are you using this for? seems cool
<ben> nice
ghostinthenet has joined #nixos
<steveeJ> gchristensen: just my personal code to have my personal systems reproducible with minimal impurities in the build process
<gchristensen> would you like ... no ... impurities? =)
<gchristensen> it is *extremely annoying* but it can be done
<steveeJ> I'm glad you asked ;-)
<ben> are you gonna avoid a bootstrap nixpkgs?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52238 β†’ libssh: 0.8.4 -> 0.8.5 β†’ https://git.io/fpNUf
<ben> oh thts just builtins in tht script, huh
<gchristensen> steveeJ: https://github.com/grahamc/nixos-config/blob/pure-eval/build.sh <- uses nix-build --pure-eval which means the build cannot access anything on the system *at all* unless fetched purely
<gchristensen> which I feel obligated to reiterate, it is β–€β–„β–€β–„β–€β–„annoyingβ–„β–€β–„β–€β–„β–€
<steveeJ> gchristensen: that sounds like what I want! but in case of system (re)builds I'd have to deploy them manually, right?
<gchristensen> yeh, you'd have to reimplement nixos-rebuild
<steveeJ> is that hard?
<steveeJ> maybe we should introduce `--pure` to nixos-rebuild
<gchristensen> if you ignore the fancy stuff it can do, like build remotely, or deploy remotely, it is not so complicated
<gchristensen> maybe we should, yeah, but not sure how. the trouble is you can't even point it to a local file, you MUST pass an en expression on the CLI which runs a fetcher
<gchristensen> afaik anyway
<ghostinthenet> morning all. newbie in the house. :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52239 β†’ lxc: 3.0.2 -> 3.0.3 β†’ https://git.io/fpNUL
<steveeJ> gchristensen: but the local git would work?
<gchristensen> hrm?
<ghostinthenet> looking for a way to get the kubelet package to use rkt as the container engine rather than docker, but no matter how I try to slice it, I can’t do a β€œnixos-rebuild switch” without it failing on a docker dependency. thoughts? (feel free to redirect me if I’m in the wrong spot.)
<steveeJ> gchristensen: you mentioned you can't pass a local file, and you showed a workaround in that build.sh. that would work for nixos-rebuild --pure too?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52240 β†’ libassuan: 2.5.1 -> 2.5.2 β†’ https://git.io/fpNUG
LysergicDreams has quit [Quit: leaving]
cyounkins has joined #nixos
<gchristensen> right, I suppose it would
<lejonet> is there an equivalent function in nix for doing tests if a variable is in a set, i.e. from pythons if "thing" in list: ?
<steveeJ> ghostinthenet: it's probably possible to do what you want I've heard from a couple sources that rkt is not really something to bet on for k8s support
<lejonet> is it builtin.elem that could be used for that?
<{^_^}> [nixpkgs] @markuskowa merged pull request #52163 β†’ flameshot: 0.5.1 -> 0.6.0 β†’ https://git.io/fpbHR
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpNUC
mr_noobs has joined #nixos
agander_ has joined #nixos
<lejonet> Basically what I'm trying to do is make some sort of check in nixos/modules/tasks/network-interfaces.nix that doesn't force a *.device service to be created for any openvswitch interfaces
<ghostinthenet> Well, that explains much steveeJ. thanks. i’ve heard the same things, but about docker. :) I’m looking at rkt mostly because it’s a pain to use docker without also using it’s networking model, which is horrible.
<eyJhb> How easy, is it to get a update backported into 18.09 ?
agander has quit [Ping timeout: 246 seconds]
<steveeJ> ghostinthenet: doesn't kubernetes support CNI with docker too?
<ghostinthenet> It may, but separating the two seems to be like separating fighting dogs.
agander_ is now known as agander
init_6 has quit []
Gohla has quit [Quit: Bye.]
<lejonet> ah, container networking, its such a wonderful... clusterfuck :P
<steveeJ> ghostinthenet: I would try to replace docker by cri-o
<ghostinthenet> Do we have that option if the docker dependency is hardcoded?
<steveeJ> ghostinthenet: we can rewrite the code :D
<ghostinthenet> Preach, brother lejonet!
<steveeJ> my knowledge on this is very outdated though. I've been wanting to refresh it for a while
<ghostinthenet> I’m thinking that pulling the docker dependency is going to be necessary for proper cri support.
<steveeJ> ghostinthenet: does pulling mean removing?
drakonis_ has quit [Read error: Connection reset by peer]
<ghostinthenet> Sorry. Pull has different contexts these days. :) Yes, remove.
<steveeJ> gotcha. sorry not a native EN speaker
<{^_^}> [nixpkgs] @markuskowa merged pull request #52002 β†’ snapper: 0.8.0 -> 0.8.1 β†’ https://git.io/fpFWx
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpNUV
<lejonet> ghostinthenet: I definitively "like" the fact that those who designed docker made it nearly impossible to integrate with a traditional networking environment, which is usually rather tightly controlled :P
<ghostinthenet> lejonet: tight control is like crack in IT. everyone wants it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52241 β†’ jruby: 9.2.4.0 -> 9.2.5.0 β†’ https://git.io/fpNU6
<lejonet> ghostinthenet: haha yeah, and if there is one area in IT that needs it, its networking, because a lot of people don't really understand it
<eyJhb> lejonet: we have had to use Docker for some rather janky setup... Was not fun AT ALL...
agander has quit [Ping timeout: 268 seconds]
rhalff has joined #nixos
<lejonet> and I dunno if its just my memory that is fuzzy, but wasn't k8s leaning towards using rkt as default a while ago? Or was that CoreOS?
Mrmaxmeier has joined #nixos
<gchristensen> coreos authored rkt, so that would make sense
<rhalff> Hi I must accept the set `android_sdk.accept_license = true;` but how do I do this from a shell.nix script?
Mrmaxmeier has quit [Remote host closed the connection]
cyounkins has quit [Remote host closed the connection]
Gohla has joined #nixos
<ghostinthenet> lejonet: this is why the container networking messes me up. I’m coming from a strong networking background and a lot of it just doesn’t make sense.
<lejonet> Yeah, and I know they did a push for it, for their own things, but iirc more projects that wanted a simpler execution "engine" for containers were going towards rkt instead of docker, because you don't have to subscribe to TOO much insanity with rkt, as you have to with docker (their networking "model" for one)
<rhalff> It must be set somewhere in stdenv.mkDerivation {} but not sure where to define that.
<lejonet> ghostinthenet: Amen to that :P
cyounkins has joined #nixos
Mrmaxmeier has joined #nixos
Mrmaxmeier has quit [Client Quit]
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #51926 β†’ nixos-artwork: make wallpapers available to KDE β†’ https://git.io/fpd83
<{^_^}> [nixpkgs] @zimbatm pushed commit from @peterhoeg to master Β« nixos-artwork: make wallpapers available to KDE (#51926) Β»: https://git.io/fpNU7
<rhalff> In particular I try to run this script: https://github.com/uniphil/nix-react-native-base/blob/master/shell.nix
<ghostinthenet> in any case, one of the best thinks kubernetes did was implement the container runtime interface, making the whole thing pluggable. use whatever container you want.
<ghostinthenet> s/thinks/things/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52242 β†’ kubectx: 0.6.1 -> 0.6.2 β†’ https://git.io/fpNUb
<simpson> ghostinthenet: You're not crazy. Networking underneath a container runtime is crazy. (The payoff is that networking inside k8s is relatively smooth.)
<lejonet> oh sweet, I just found that the thing I want to do for vswitch interfaces might be as easy as removing stuff inside a paranthesis :D
<ghostinthenet> simpson: hence my wanting to get k8s going without the complexity of docker networking.
cyounkins has quit [Ping timeout: 250 seconds]
freeman42x[nix] has quit [Ping timeout: 252 seconds]
<lejonet> and that is why I didn't bother looking further into k8s when I was looking for cluster management engines that could handle both containers and VMs, too complex
<simpson> ghostinthenet, lejonet: FWIW the experience is much nicer on managed k8s platforms, but it sounds like y'all have lots of hardware already.
<{^_^}> [nixpkgs] @rasendubi merged pull request #52144 β†’ pspg: 1.6.2 -> 1.6.3 β†’ https://git.io/fpbMW
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpNTv
<lejonet> simpson: yeah, I've tried the rancher approach and such and I want a little more control over the env than that gives :)
<lejonet> Even tho its really smooth sailin' with like rancher and similar setups
<ghostinthenet> simpson: part of this is learning experience, wanting to know how it ticks underneath the hood before trusting managed platforms. another part is getting around some of the limitations. my cloud provider still doesn’t let the managed service cross regions.
<simpson> ghostinthenet: Sure, makes sense. FWIW those kinds of limitations are in place because the bandwidth and latency costs get very expensive. The public cloud vendors' underlying hardware provisioner usually *also* cannot cross regions.
<lejonet> Hmm, what is the easiest way to try a small change to generated netdev services on a system, without needing a full rebuild switch? (My rebuild is currently blocked by a failing namei.c patch to the kernel :( )
<simpson> My multi-cloud k8s setup involves multiple clusters per vendor, but only one cluster per region.
<ghostinthenet> Are you networking the containers across regions? If so, are you doing that with virtual routers or handling it through the container networking piece?
<{^_^}> [nixos-org-configurations] @zimbatm pushed 2 commits to master: https://git.io/fpNTm
<simpson> All cross-region stuff is at the level of services. They talk using the same protocol as some on-prem machines.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52243 β†’ jackett: 0.10.471 -> 0.10.504 β†’ https://git.io/fpNTO
<simpson> I'm not trying anything fancy with the in-cluster private network. It stays private and local.
<lejonet> Meshed ipsec site-to-site tunnels!
* lejonet goes and washes hands after typing that
<hodapp> blockchaaaaaaaaaaain \o/
* lejonet glares at hodapp
* hodapp goes bunch to punching salty cabbage to make sauerkraut
<rardiol> -site tunnels!
<rardiol> (13:50:56) ***lejonet goes and washes hands after typing that
<rardiol> (13:52:40) hodapp: blockchaaaaaaaaaaain \o/
<rardiol> (13:53:06) ***lejonet glares at hodapp
<rardiol> (13:53:41) ***hodapp goes bunch to punching salty cabbage to make sauerkraut
<hodapp> ehhhh?
<rardiol> ops, ignore
<rardiol> misclick, sorry
<hodapp> oh :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52244 β†’ kitty: 0.12.3 -> 0.13.1 β†’ https://git.io/fpNTu
<lejonet> rardiol: xD glorious misclick xD
<{^_^}> [nixos-org-configurations] @grahamc pushed to master Β« Add 2 more aarch64 nodes, update macOS IPs, improve prometheus monitoring Β»: https://git.io/fpNTa
<ghostinthenet> Yeah, someone needs to add that exchange to bash.org. :)
<hodapp> nahhhh
<rardiol> i was just drag-scrolling, then i drag and dropped instead, then instead of pressing backspace I pressed enter, come on, it's not that absurd
<ghostinthenet> rardiol: I was referring to the content, not the error. Your accidental drag/drop captured the humour of the exchange perfectly.
cyounkins has joined #nixos
b has joined #nixos
<simpson> -site tunnels!
ixxie has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @shlevy merged pull request #2584 β†’ tests/fetchurl: fix after changing default hash from 512 to 256 β†’ https://git.io/fpbHe
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/fpNTb
<{^_^}> [nix] @dtzWill opened pull request #2586 β†’ nix-store: remove debugging print β†’ https://git.io/fpNTN
acarrico has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52245 β†’ josm: 14382 -> 14460 β†’ https://git.io/fpNke
<Laalf> can i use Persistent=true in system.autoupgrade or gc?
<Baughn> Laalf: What do you mean?
<Baughn> gchristensen: I'll stick to my own computers. :)
<Laalf> Baughn: i use nixos on a laptop. when its sleeping at 4:40 (or whenever i specified) i dont think it runs the upgrade/gc at all
acarrico has joined #nixos
<Baughn> But I *am* considering some major rebuilds for testing purposes. Do you know if anyone has tried marking most of the packages as using the X32 architecture?
Gohla has quit [Quit: Bye.]
<{^_^}> [nixos-org-configurations] @zimbatm pushed to master Β« terraform: import the nixpkgs-tarballs bucket Β»: https://git.io/fpNkT
<Baughn> Laalf: Ah. Ok, it's probably a systemd timer so... Let me have a look. That sounds like something that should be solved generally, not just for you.
<Laalf> you can use Persistent=true in the timer section of the timer to do that
<Laalf> Baughn: thank you
Gohla has joined #nixos
lucus16 has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc closed pull request #40 β†’ Automate deploying updates to the macs β†’ https://git.io/vxC3y
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
mr_noobs has quit [Ping timeout: 268 seconds]
cyounkins has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #52192 β†’ motion: 4.2 -> 4.2.1 β†’ https://git.io/fpbFn
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fpNk9
<rhalff> anyone here has managed to set up a working react-native development environment on nixos?
freeman42x[nix] has joined #nixos
acarrico has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to master Β« motion: add veprbl to meta.maintainers Β»: https://git.io/fpNkA
ghostinthenet has quit [Quit: ghostinthenet]
Dedalo has joined #nixos
civodul has joined #nixos
Dedalo has quit [Client Quit]
Gohla has quit [Quit: Bye.]
Gohla has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
odi has joined #nixos
chimay has quit [Ping timeout: 244 seconds]
odi has left #nixos [#nixos]
chimay has joined #nixos
grumble is now known as \x01VERSION\x01
Dedalo has joined #nixos
jomik has joined #nixos
philippD has joined #nixos
avn has quit [Remote host closed the connection]
endformationage has joined #nixos
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
rawreraw has joined #nixos
<jomik> Hey guys - I figured I may as well open a PR with the dwm-git package I made. What is the standard when providing a git version of a package already in the repo? Current package is from 2015 :P
peterzky has joined #nixos
ixxie has joined #nixos
Ariakenom has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<ToxicFrog> Oh wow, nixOS's munin package is like 3000 commits behind.
<ToxicFrog> I should update it before working on this next patch series, since it involves modifying munin itself.
<gchristensen> oh dear, munin
<eyJhb> Where can I see what packages I can download from the NixOS build servers? Currently NixOS want to rebuild Virtualbox EACH TIME....
<gchristensen> did you set virtualisation.virtualbox.host.enableExtensionPack ?
<ToxicFrog> gchristensen: I mean, it turns out that 3k commits is like...half a year and a dozen point releases
<ToxicFrog> So it's not as bad as it sounds
<eyJhb> gchristensen: I might have
<gchristensen> eyJhb: that is unfree, we can't build / distribute it
<eyJhb> But shouldn't that just be the extension pack, that it installs AFTER VirtualBox has been setup?
<eyJhb> So... If I disable the extensionpack, then I don't need to rebuild?
<eyJhb> And why not just do the nix-prefetch etc. ?
georgyo has joined #nixos
rawreraw has quit [Quit: WeeChat 2.3]
<gchristensen> I don't understand that last question
<eyJhb> The extension pack is what causes the rebuild, correct?
<gchristensen> right
<eyJhb> But the extensionpack can be downloaded from Oracles website?
<gchristensen> right
<eyJhb> So instead of having to wait (going into the third hour now I think), a option to use nix-prefetch-url to download the package yourself, would be nice. Instead of recompiling everything
<gchristensen> you will have to recompile virtualbox anyway
<eyJhb> For the extpack to work?
ThatDocsLady_ has quit [Remote host closed the connection]
<gchristensen> right
ThatDocsLady_ has joined #nixos
<eyJhb> I might be asking a stupid question, but why? - E.g. on Ubuntu you just install Virtualbox x.x.x, then if you want the extpack, you can simply do `vboxmange extpack install xxx`
ghostinthenet has joined #nixos
<gchristensen> I think it probably doesn't have to be this way, but right now enabling the extpack means changing the instructions for building virtualbox, which causes the recompile. it appears that this could be broken up in to a second build step which merges virtualbox with the extpack : https://github.com/NixOS/nixpkgs/blob/release-18.09/pkgs/applications/virtualization/virtualbox/default.nix#L156
<{^_^}> [nixpkgs] @jtojnar closed pull request #52244 β†’ kitty: 0.12.3 -> 0.13.1 β†’ https://git.io/fpNTu
<{^_^}> [nixpkgs] @r-ryantm opened pull request #52247 β†’ krita: 4.1.5 -> 4.1.7 β†’ https://git.io/fpNtt
<eyJhb> gchristensen: would be nice, if it could be split into two seperate packages to avoid this
<gchristensen> right
<gchristensen> maybe something you could experiment with :)
<eyJhb> gchristensen: if I get the time! But... Properly not ... exams soon
<gchristensen> I hear that
<eyJhb> gchristensen: any good exams?
<gchristensen> I don't have exams
<gchristensen> but also quite busy
<eyJhb> Switch places with me please ;) :p
<gchristensen> I wish
<eyJhb> I do not fancy my.. "Engineering mathematics for electronical engineers" exma.
<jomik> Is it correct that nix.useSandbox is set to true on default? So if I can build my package with nix-env -I and such, then I am using sandboxing, and wont lie when I tick that box in my PR?
<gchristensen> jomik: check with `nixos-option nix.useSandbox`
<symphorien> you can use nix show-config to check
<gchristensen> also that^ !
<jomik> Oooh, new commands! :D nixos-option shows that default is true and value is true.
<jomik> nix show-config doesn't list it though.
<symphorien> it is only called "sandbox" there
<jomik> Oh, my bad.
<djahandarie> Is there any approach to installing nix on remote machines using nix itself?
<jomik> Yeah, I just grepped sandbox :D
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<djahandarie> (Remote Ubuntu box. I want something automated, not this random doc of how to do a multi-user install by compiling stuff on the remote box by hand...)
alex`` has quit [Read error: Connection reset by peer]
<symphorien> djahandarie: what is your final goal
<symphorien> ?
<gchristensen> djahandarie: sh <(curl https://nixos.org/nix/install) --daemon
<djahandarie> Multi-user nix install on remote box.
<jomik> And how do I test build a package that I have in my local checkout? I have the actual package imported in my configuration.nix.
<djahandarie> gchristensen, oh wow, the installer supports multi-user now? How long has that been...
<gchristensen> 9mo or so
<symphorien> jomik: nix-build /local/checkout -A name
<jomik> symphorien: Thanks :)
<jomik> Okay, so my nixpkgs package builds. I can't test home-manager modules this way though?
alex`` has joined #nixos
<symphorien> for nixos modules the easy way is nixos-rebuild -I nixpkgs=/local/checkout test, but beware it will update your whole system to unstable
<symphorien> this is temporary and is unlikely to break things but still
<symphorien> for home manager I don't know for sure but a similar approach is probably possible
<jomik> symphorien: Appreciate it. I think my goto for home-manager in this case is just to build and inspect the result ...
peterzky has quit [Quit: peterzky]
peterzky has joined #nixos
<dermetfan> I'm running the Barracuda VPN client in buildFHSUserEnv, but it fails to ioctl() /dev/net/tun, even as root. Any pointer how that could happen?
doyougnu has joined #nixos
<dermetfan> (permission denied)
justanotheruser has quit [Quit: WeeChat 2.2]
hotfuzz_ has joined #nixos
justanotheruser has joined #nixos
peterzky has quit [Remote host closed the connection]
peterzky_ has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
peterzky_ has quit [Client Quit]
hotfuzz has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52251 β†’ treewide: Use "buildPackages" darwin for bootstrap_cmds β†’ https://git.io/fpNqL
<djahandarie> Hmm, I used the --daemon mode on the installer to do a multi-user install on a remote machine, and I'm now trying to use it as a buildMachine, but I get this error: cannot build on 'ssh://XXXX': cannot connect to 'XXXX': bash: nix-store: command not found
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52252 β†’ treewide: Use "buildPackages" darwin for bootstrap_cmd for 18.09 β†’ https://git.io/fpNqt
<djahandarie> Yet, manually sshing to the relevant user with the relevant key does result in a usable nix-store in PATH
doyougnu has quit [Quit: WeeChat 2.2]
<djahandarie> Is the way the install script sets up the PATH bash-only or something? (With the build stuff using a different shell, maybe? Just guessing...)
rhalff has quit [Remote host closed the connection]
<djahandarie> Wait, no, it's clearly using bash in the error message... maybe this is a profile-vs-bashrc type issue
<{^_^}> [nixpkgs] @veprbl opened pull request #52253 β†’ root5: fix build on linux β†’ https://git.io/fpNqC
<timokau[m]> Is it somehow possible to determine if a build failed in the past? I see that nix used to have "failed build caching", but that was removed.
<symphorien> nix log foo.drv and see if there is a log ?
<{^_^}> [nixpkgs] @rycee pushed commit from @r-ryantm to master Β« josm: 14382 -> 14460 Β»: https://git.io/fpNqB
<timokau[m]> Thats a good approximation, but it won't detect dependency failures right?
<{^_^}> [nixpkgs] @rycee closed pull request #52245 β†’ josm: 14382 -> 14460 β†’ https://git.io/fpNke
<symphorien> true
juhe has quit [Remote host closed the connection]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<djahandarie> So yeah, looks like the installer modifies /etc/profile.d/nix.sh, which gets called by /etc/profile, which is not invoked for noninteractive shells, which is what the distributed building stuff uses.
<djahandarie> (On Ubuntu, that is.)
<gchristensen> ah, yes, that is a trouble :/
<djahandarie> Do you know the correct repo to file issues about install.sh?
<gchristensen> nixos/nix and if you can send a patch, even better
<djahandarie> Sure. I guess install-multi-user.sh is the relevant file?
<djahandarie> In fact, maybe this is easily fixable by adding /etc/bash.bashrc to the PROFILE_TARGETS list
<gchristensen> yeah
<gchristensen> might be!
<{^_^}> [nixpkgs] @matthewbauer opened pull request #52254 β†’ fix lldb on macOS β†’ https://git.io/fpNmU
<djahandarie> Nope! Because although ubuntu does execute /etc/bash.bashrc on non-interactive shells, it has a check at the very top of it to do nothing on non-interactive shells...
<{^_^}> [nixpkgs] @benley merged pull request #52203 β†’ latte-dock: 0.8.2 -> 0.8.3 β†’ https://git.io/fpbA4
<{^_^}> [nixpkgs] @benley pushed commit from @r-ryantm to master Β« latte-dock: 0.8.2 -> 0.8.3 (#52203) Β»: https://git.io/fpNmI
<djahandarie> Which means... there's no way to do system-wide configuration for non-interactive shells? wtf?
<djahandarie> I guess the standard way to do it is to prepend to /etc/bash.bashrc... man.
<gchristensen> sounds scary
Dedalo has joined #nixos
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
rawreraw has joined #nixos
<djahandarie> I mean, the alternative would be to make the distributed builders get a full login shell using ssh -t 'bash -l ...'
<gchristensen> how about using a forced command
<gchristensen> in the authorized_keys you can do command="/path/to/nix-store --serve --write" the-ssh-key
<djahandarie> Neat idea. Though it seems unfortunate that there doesn't seem to be an obvious path to fix this for everyone
<gchristensen> right
<symphorien> djahandarie: another solution is to switch to zsh
<djahandarie> Let me file an issue and see if anyone else has any bright ideas
<gchristensen> not really a solution :P
<djahandarie> Let me know if there's anyone I should tag
<gchristensen> me
<gchristensen> @grahamc
<mpickering> ryantm: Any update recently to https://discourse.nixos.org/t/nixpkgs-update-r-ryantm-logs/1464 ?
<{^_^}> [nixpkgs] @nh2 opened pull request #52255 β†’ ghc: Add `enableDwarf` flag, on by default. β†’ https://git.io/fpNm4
<{^_^}> [nixpkgs] @matthewbauer opened pull request #52256 β†’ Provide real dsymutil to darwin stdenv β†’ https://git.io/fpNmE
rawreraw has quit [Quit: WeeChat 2.3]
rfold has quit [Quit: leaving]
<{^_^}> [nixpkgs] @shlevy opened pull request #52257 β†’ haskell generic builder: Add flag to allow inconsistent dependencies. β†’ https://git.io/fpNmw
jhillyerd has joined #nixos
<jhillyerd> anyone know what package owns sys/signalvar.h ?
<jhillyerd> It's coming from a Go BSD cross-compile, so it may not even be linux...
ThatDocsLady_ has quit [Ping timeout: 260 seconds]
<infinisil> ,locate sys/signalvar.h
<{^_^}> Couldn't find in any packages
<infinisil> ,locate signalvar.h
<{^_^}> Couldn't find in any packages
<infinisil> nix-index can't find anything apparently
<{^_^}> [nixpkgs] @lheckemann opened pull request #52258 β†’ EmptyEpsilon: 2018.02.15 -> 2018.11.16 β†’ https://git.io/fpNm9
ottidmes has joined #nixos
rain1 has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<jhillyerd> thx, neat trick :0
<jhillyerd> the error isn't clear, but I think it may actually be trying to build Go itself instead of my program. will dig in more.
<Myrl-saki> i[myrl@myrl:/nix]$ find . -name 'signalvar.h'
<Myrl-saki> find: β€˜./var/nix/profiles/per-container’: Permission denied
<Myrl-saki> FWIW
<Myrl-saki> The error's not really important. Just saying that I couldn't find anything either.
<tilpner> Google suggests it's a BSD thing
<jhillyerd> I tried a manual cross compile with GOOS and GOARCH and it still fails, so I think Go cross compiling in NixOS is just broken.
<tilpner> Oh, you say it's from BSD already
<jhillyerd> Yeah, that failure was for a freebsd cross compile... so gotta be bsd.
<tilpner> And the netbsd attrset doesn't have it either
xcthulhu has joined #nixos
ghostinthenet has quit [Quit: ghostinthenet]
endformationage has quit [Ping timeout: 250 seconds]
jhillyerd has quit [Quit: WeeChat 2.2]
xcthulhu has quit [Ping timeout: 246 seconds]
zolk3ri has joined #nixos
jhillyerd has joined #nixos
pie__ has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
<jhillyerd> Is there a process to request security updates made in master get backported to a release channel?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50837 β†’ androidndk: 17c -> 18b β†’ https://git.io/fpWpI
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpNOT
<eyJhb> Might try again, is there any `process` to go through to get a package update backported?
ixxie has joined #nixos
<symphorien> make a PR against the release branch ?
<eyJhb> symphorien: is that the standard procedure?
<gchristensen> what do you wantto backport
<eyJhb> The displaylink update I did , that also fixes hanging at boot
xy2_ has joined #nixos
ghostinthenet has joined #nixos
__monty__ has joined #nixos
<jhillyerd> in my case, I did an update to golint that fixes some bugs, but go itself has had a couple security fixes. master is on 1.11.2, but someone has a PR out for 1.11.4.
<jhillyerd> 18.09 is on 1.11(.0)
zolk3ri has left #nixos [#nixos]
<eyJhb> btw. gchristensen can you trigger a build again for #52112 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52112 (by eyJhb, 22 hours ago, open): arduino-mk: init at 1.6.0
<eyJhb> gchristensen: the hash inputtet is the one I got when I build it
<eyJhb> 99,9% sure
<gchristensen> try my suggestion, just to make sure? :)
<eyJhb> Of course, already doing it
<eyJhb> gchristensen: `fixed-output derivation produced path '/nix/store/8cj79ralj5dgzmn7xfxmciigiz9jzzjd-source' with sha256 hash '0flpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x' instead of the expected hash '0flpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2fdsfsf'`
<gchristensen> cool
<eyJhb> What hash would you expect to see; because to mee it also seemed off
<Izorkin> How to need to merge PR 51902 52012 52032 and 52098
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [hydra] @kquick opened pull request #624 β†’ Add job status headers (web useability for red/green colorblindness). β†’ https://git.io/fpNON
<{^_^}> [nixpkgs] @acowley closed pull request #51672 β†’ vulkan-validation-layers: 1.1.82.0 -> 1.1.85.0 β†’ https://git.io/fpyNG
orivej has joined #nixos
<samueldr> I'm a bit confused by the nix http store implementation, with regards to PUT
<gchristensen> ok
<samueldr> I made an HTTP server listen to PUT events at /some-location/, but do nothing with the input; the first `nix copy` sends data... then all the following ones do not, as if it cached the fact that it uploaded to it
<samueldr> (/dev/null store as a service)
<gchristensen> I think it does cache
<samueldr> I was kinda expecting it to check whether the path was in the store before uploading; considering I 404 every GET I was expecting an easy way to debug things
<samueldr> I know it caches downloads like tarballs in ~/.cache/nix
<samueldr> ah, so apparently .cache/nix/binary-cache-v5.sqlite is where it's saved
<samueldr> (nuking it made it reupload)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52146 β†’ Revert "gcc-arm-embedded: remove" β†’ https://git.io/fpbMF
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpN38
<LnL> samueldr: --option narinfo-cache-positive-ttl 0
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
<samueldr> oh, thanks
<LnL> and the negative variant, depending on what you're doing
<samueldr> (possibly the same with negative?)
<samueldr> yah
<samueldr> searched the string in the nix codebase
<LnL> and the same*
<LnL> the narinfo metadata gets cached pretty aggressively, copying something to a cache the second time assumes everything is still there for example
xcthulhu has joined #nixos
<samueldr> yeah, that's what I was seeing exactly
xcthulhu has quit [Remote host closed the connection]
<LnL> copy should probably disable the positive cache for the target
ixxie has quit [Ping timeout: 250 seconds]
aleph- has joined #nixos
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master Β« libffado: refactor lib-prefixed package Β»: https://git.io/fpN3j
<{^_^}> [nixpkgs] @matthewbauer closed pull request #42294 β†’ Lib-prefixed to multioutput: ffado β†’ https://git.io/fswvz
crmlt has joined #nixos
[Leary] has joined #nixos
szicari has quit [Ping timeout: 260 seconds]
Lears has quit [Ping timeout: 268 seconds]
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
sbdchd has quit [Remote host closed the connection]
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
rfold has joined #nixos
chimay has quit [Read error: Connection reset by peer]
mmlb has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
Thra11 has joined #nixos
<fyuuri> hi
<fyuuri> I just realized that I there is a "channels" profile for my user and for root. What it is for? It seems to cause a collision when updating
elgoosy has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
<fyuuri> Just so that I understand correctly: The system profile is the one altered when installing things via nixos-rebuild. The "profile" in my home folder is the default one for a user. And the "default" one is the default for root?
<clever> fyuuri: default is just nix-env from root
<clever> and default is also in everybody else's PATH
pie__ has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #52261 β†’ pythonPackages.graph-tool: fix build β†’ https://git.io/fpNGK
aleph- has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
<etu> Hmm, if I add https://github.com/rycee/home-manager/archive/master.tar.gz as a channel named home-manager
<etu> Shouldn't I be able to do imports = [ <home-manager>/nixos ]; in my configuration.nix then?
<clever> possibly
<clever> oh, but you want <home-manager/nixos>
<etu> oh
<clever> think of it like #include <dbus/dbus.h> in c/c++
<{^_^}> c/c's karma got increased to 2
goibhniu has quit [Ping timeout: 240 seconds]
<tilpner> infinisil - :D
<infinisil> !
<etu> clever: But it doesn't show up in $NIX_PATH for me :(
<clever> etu: did you nix-channel --update ?
<etu> of course not... now I have :-p
<{^_^}> [nixpkgs] @rycee opened pull request #52262 β†’ unifont: 11.0.02 -> 11.0.03 β†’ https://git.io/fpNGX
<clever> --add and --remove just adjust ~/.nix-channels , a plain text file
<clever> --update will sync the channels profile to that
dermetfan has quit [Ping timeout: 250 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
<fyuuri> clever: so normally every user uses that defaut profile?
<clever> fyuuri: depends on if root has actually installed anything with nix-env
<fyuuri> What could have created these "profile" and "channel" named profiles?
<fyuuri> clever: yes. I did
<clever> fyuuri: profile is from nix-env, channel is from nix-channel
<fyuuri> I thought nix-channel sets the channel which is then used by nix-env to pull nix-expressions
<fyuuri> So if a user uses nix-env, its creates a "profile" called profile in the user's home?
<clever> the profile should always be in /nix/var/nix/profiles/per-user/$USER/profile
<clever> if its in $HOME, then problems will happen at GC
<clever> lrwxrwxrwx 1 clever users 15 Aug 24 18:15 /nix/var/nix/profiles/per-user/clever/channels -> channels-2-link
<fyuuri> no sorry. Just the symlink is in home.
<clever> the channels profile is managed by nix-channel
<clever> lrwxrwxrwx 1 clever users 46 Aug 24 18:15 .nix-defexpr/channels -> /nix/var/nix/profiles/per-user/clever/channels
<clever> and nix-env -iA foo.bar will use ~/.nix-defexpr/ to find foo
<clever> which (by default) goes into the channels profile
<fyuuri> thx!
<fyuuri> And what does go into the "profile" profile?
<clever> nix-env will use <nix/buildenv.nix> to merge all packages in ~/.nix-profile/manifest.nix into a single derivation
<fyuuri> And how can something go into the "default" profile? And can multiple profiles be loaded at the same time (Because the system profile is loaded as well)?
<clever> and when you use nix-env -i/-e/-u, it will mutate a copy of that manifest.nix, and then build a new version of the profile based on it
<clever> nix-env as root, controls the default profile
<fyuuri> ok! thx!!
<clever> and its just a matter of having all 3 in $PATH, echo $PATH to see that
<fyuuri> And what takes precedence?
<clever> the first one in PATH
<clever> `which --all foo` will show if duplicates do exist
<fyuuri> thank you!
<{^_^}> [nixpkgs] @obadz merged pull request #52141 β†’ [18.09] sqlite: 3.25.3 -> 3.26.0 β†’ https://git.io/fpb1S
<{^_^}> [nixpkgs] @obadz pushed commit from @dtzWill to release-18.09 Β« sqlite: 3.25.3 -> 3.26.0 Β»: https://git.io/fpNZJ
<fyuuri> But somehow the "channel" and "profile" profile cause problems. When I execute "nix-env -u '*'" It says "name collision in input Nix expressions"
<clever> ls -l ~/.nix-defexpr/*/*
<clever> fyuuri: can you pastebin the output of this?
goibhniu has joined #nixos
<clever> you have 2 channels called nixos
<clever> do `nix-channel --list` as root, and not-root, and youll see that
crmlt has quit [Ping timeout: 244 seconds]
<fyuuri> one as root and one as non-root. This is bad?
<clever> yes
<clever> thats why its giving an error
sbdchd has joined #nixos
<clever> it doesnt know which nixos is nixos
<fyuuri> :( I tought when you are root, it will use the root one
<clever> yeah
<clever> but when non-root, it can also use the root channels
<fyuuri> So when I delete the root one, which channel will root take to get the nix-expressions?
<clever> none
<fyuuri> ah!!!
<clever> root will fail to do anything
<fyuuri> So it propagates down from root
<clever> yeah
<fyuuri> thank you so much :)! Thats explains a lot
<fyuuri> But the user can not list the available channels anymore
<fyuuri> Wow! Because of this mistake it seems I installed everything twice^^!
<fyuuri> garbage-collect deleted a lot after removing this channel
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @rycee pushed to master Β« unifont: 11.0.02 -> 11.0.03 Β»: https://git.io/fpNZ0
goibhniu has joined #nixos
ghostinthenet has quit [Quit: ghostinthenet]
selfsymmetric-mu has quit [Remote host closed the connection]
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #52262 β†’ unifont: 11.0.02 -> 11.0.03 β†’ https://git.io/fpNGX
phreedom has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
ghostinthenet has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
aleph- has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ryantm merged pull request #52257 β†’ haskell generic builder: Add flag to allow inconsistent dependencies. β†’ https://git.io/fpNmw
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fpNnU
<{^_^}> [nixpkgs] @ryantm closed pull request #51971 β†’ Don't fail on haskell configure warning β†’ https://git.io/fpFT6
elgoosy has quit [Remote host closed the connection]
ghostinthenet has quit [Quit: ghostinthenet]
xy2_ has quit [Ping timeout: 245 seconds]
cyounkins has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @timokau merged pull request #52261 β†’ pythonPackages.graph-tool: fix build β†’ https://git.io/fpNGK
<{^_^}> [nixpkgs] @timokau pushed to master Β« pythonPackages.graph-tool: fix build (#52261) Β»: https://git.io/fpNnE
<timokau[m]> I love seeing that howoldis.herokuapp.com is all green right now
jomik has joined #nixos
<gchristensen> nixos-17.09 is pretty severe looking
jomik has quit [Client Quit]
jomik has joined #nixos
<rycee> Anybody happen to know a reason why https://github.com/NixOS/nix/blob/e653df3153890ad4557f8e54adead5f0eeb685aa/scripts/nix-profile.sh.in#L54-L57 couldn't be changed to be simply `export NIX_PATH="${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels"`?
<gchristensen> rycee I don't
<rycee> From what I can tell it currently wouldn't pick up other channels automatically.
<rycee> gchristensen: Cool, I'll make a PR :-)
cyounkins has quit [Remote host closed the connection]
phire has joined #nixos
uniporn has joined #nixos
cyounkins has joined #nixos
uniporn has left #nixos [#nixos]
uniporn has joined #nixos
<timokau[m]> I think gchristensen actually has an open issue for that change somewhere, just ran into that issue today
<gchristensen> I do?
<timokau[m]> One concern raised there were potential conflicts between user channels and system channels
<{^_^}> nix#2033 (by grahamc, 36 weeks ago, open): Default Nix installations don't include user channels in NIX_PATH, causing inconsistent tool behavior
shachaf has quit [Ping timeout: 272 seconds]
<gchristensen> ah
<gchristensen> now nixos matches the new desired behavior, so I think it is fixable in nix
<timokau[m]> Would be great to fix that, I was pretty confused why home-manager complained about unstable not being available
cyounkins has quit [Ping timeout: 250 seconds]
acarrico has joined #nixos
<rycee> Ah, didn't see that issue.
<rycee> It would be nice to have this working out of the box for non-NixOS, where I do get $HOME/.nix-defexpr/channels in my NIX_PATH.
<rycee> (although the $HOME/.nix-defexpr/channels will only show up if the directory actually exists)
<rycee> Would be nice to have it there even if the directory doesn't exist, although I don't know how the Nix tools handles that case.
hedning has quit [Quit: hedning]
mmlb has joined #nixos
<jomik> rycee! Is there a neat and easy way to test if my module installs/works correctly with Home-Manager. Preferably a way to avoid modifying my home.nix :D
<rycee> jomik: Hmm, in which way do you mean? I would typically include private modules using the `imports` option.
rardiol has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @ikervagyok opened pull request #52265 β†’ firmware-linux-nonfree: 20181017 -> 20181213 β†’ https://git.io/fpNcn
<rycee> jomik: If you mean test as in writing test cases then that would be possible using the new test framework. Have a look at https://github.com/rycee/home-manager/tree/master/tests.
<jomik> rycee: Sorry, in my fork. I'd prefer testing that my integration into home-manager actually works :P
<jomik> rycee: I did this PR (https://github.com/rycee/home-manager/pull/500), based off a module that I just use `imports` to use in my own home.nix.
<{^_^}> home-manager#500 (by Jomik, 6 hours ago, open): alacritty: add module
<jomik> Also, it failed. Hmm :o
<rycee> jomik: Aha, try `home-manager -I home-manager=$HOME/path/to/your/hm/checkout switch`.
<{^_^}> [nixpkgs] @dtzWill merged pull request #51340 β†’ gecode: 6.0.0 -> 6.1.0, deps, Gist support β†’ https://git.io/fpo9j
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fpNcB
<jomik> That'd use my own home.nix though? HM, though. I guess I could just switch entirely to my own fork.. Not desirable though.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jomik> Oh. I like this test framework, nice!
<jomik> OH. It complains that I didn't bother to describe all my options.. Well, dammit! That is tedious :P
<jomik> Was wondering where those descriptions are actually used.. Or are they only visible in the source?
<rycee> Yeah, the above command would use your ~/.config/nixpkgs/home.nix file. If you want to override that you can use the `-f` option.
<rycee> jomik: They are used to generate the option documentation. I wouldn't merge a module where they are missing.
<rycee> Examples, though not mandatory, are also much appreciated.
<jomik> Ooooh. That list there. Yeah! I'll write them in :) Just some copy paste work. For that. I'll do examples.. :P
<jomik> Awesome. Want to get the Emacs service going too.. :p
<rycee> Generally speaking it might be good to make a simpler module where only the most commonly used options are given together with an `extraConfig` option that people can use when they have special needs.
<{^_^}> [nixpkgs] @dtzWill opened pull request #52266 β†’ gnupg: 2.2.11 -> 2.2.12 β†’ https://git.io/fpNc5
<rycee> That lowers the work required to get the module up-and-running and people with those special needs tend to create PRs with the options they need :-)
<jomik> Oh........ Well, all the options from the config is there now! Or did you mean the emacs one?
thc202 has quit [Ping timeout: 250 seconds]
fusion809 has quit [Remote host closed the connection]
<rycee> jomik: I meant it mostly as a general suggestion. Don't worry too much about making it complete, no need to spend time adding options that people rarely use.
fusion809 has joined #nixos
<rycee> As long as there is an escape hatch using something like extraConfig for those cases.
<jomik> Good point ! Well, I may clean it up a bit then. It is rather long with all these options... :P
<jomik> Anyway! It's bed time here, good night