worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
spudly1 has joined #nixos
ahmedelgabri has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112348 → nx-libs: 3.5.99.25 -> 3.5.99.26 → https://github.com/NixOS/nixpkgs/pull/112348
spudly1 has quit [Remote host closed the connection]
spudly1 has joined #nixos
bennofs__ has joined #nixos
spudly1 has quit [Remote host closed the connection]
spudly1 has joined #nixos
kaivai has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112336 → python3Packages.pynuki: init at 1.4.1 → https://github.com/NixOS/nixpkgs/pull/112336
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112323 → ipe: 7.2.13 -> 7.2.23 → https://github.com/NixOS/nixpkgs/pull/112323
bennofs_ has quit [Ping timeout: 258 seconds]
mbrgm_ has joined #nixos
spudly1 has quit [Remote host closed the connection]
kaivai has joined #nixos
kaivai has quit [Remote host closed the connection]
spudly1 has joined #nixos
growpotkin has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<matthewcroughan> cole-h: where do the new mdbook docs get written? I wanna see the source for it.
Fare has joined #nixos
kaivai has joined #nixos
spudly1 has quit [Remote host closed the connection]
spudly1 has joined #nixos
AmandaC has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #112349 → androidStudioPackages.{stable,beta,canary,dev}: Fix LLDB debugger → https://github.com/NixOS/nixpkgs/pull/112349
<energizer> what's the story with running nix-build from inside a nix-build?
spudly1 has quit [Remote host closed the connection]
kaivai has quit [Client Quit]
<clever> energizer: its called recursive nix, and i think there is a branch for it
spudly1 has joined #nixos
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/8e78c2cfbae (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f0d8828b86c (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ac7bca17f9e (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/75156546fc4 (from 31 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @samuela opened pull request #112350 → vscodium: 1.52.1 -> 1.53.0 → https://github.com/NixOS/nixpkgs/pull/112350
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112339 → [20.09] firefox: 85.0 -> 85.0.1; firefox-esr: 78.7.0esr -> 78.7.1esr → https://github.com/NixOS/nixpkgs/pull/112339
<energizer> that post says "ping me if you want me to explain more clearly why IFD is undesirable and the differences between IFD and recursive Nix."
<{^_^}> [nixpkgs] @mweinelt merged pull request #112346 → upterm: init at 0.5.2 → https://github.com/NixOS/nixpkgs/pull/112346
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/8e78c2cfbae (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f0d8828b86c (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ac7bca17f9e (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/75156546fc4 (from 31 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<clever> energizer: the problem i find with IFD, is that it forces builds to happen at eval time, and more in series
<gchristensen> oh dear I didn't realize I was spamming here, I'm sorry
<cole-h> clever: Wasn't recursive Nix merged already?
<clever> energizer: nix cant eval in parallel, so it has to fully finish a given build, before it can eval enough to know another IFD is needed
<cole-h> Oh, maybe behind a feature flag
<clever> cole-h: possibly, ive not been keeping up with that feature
<cole-h> I remember gchristensen doing something with it for ipxe
<cole-h> *building an ipxe image something or other
<cole-h> Yeah that ^
<cole-h> yeah, looks like it was merged, but it's locked behind `--experimental-features recursive-nix`
<energizer> i thought i read that hercules-ci can do parallelism even with IFD
<energizer> but i cant find the post now. it was by domen
spudly1 has quit [Quit: Bridge terminating on SIGTERM]
thelounge52 has joined #nixos
<gchristensen> sounds cool, it'd be nice if that was OSS
<clever> energizer: doesnt help the client end, where you need to eval half the expr, download 2gig, then eval 1/4th of the expr, download another 100mb, then finish the eval, only to discover $out is already on your disk
AmandaC has quit [Ping timeout: 258 seconds]
kaivai has joined #nixos
<clever> energizer: i think that blog is just about how hercules can cache the IFD products, so the giant mess wont happen on the 2nd eval, assuming no changes
thelounge52 has quit [Ping timeout: 240 seconds]
<energizer> clever: i think i'm following. what's the difference to recursive nix?
<gchristensen> it evaluates during the build
ahmedelgabri has joined #nixos
<energizer> instead of building during the eval
<clever> and by that point, nix can be running each derivation in parallel, over several build machines
<energizer> right?
<clever> so its not going to be forcing the build to be serialized
<gchristensen> right
<gchristensen> but has tight and fairly annoying rules about what you can do, it requires a lot of rigor to make recursive nix work
davidv7 has joined #nixos
<energizer> i see. thanks.
<hyper_ch> hmmm, in a nix expresion I require an older c++ compiler. how would I alter stdenv to use an older version?
lukegb has quit [Read error: Connection reset by peer]
lukegb has joined #nixos
ahmedelgabri has quit [Ping timeout: 264 seconds]
<aleph-> Huh. Think nixops failed now due to failing to build the manual... wat
n-osborne has joined #nixos
n-osborn_ has joined #nixos
<aleph-> Ah seems to be home-manager maybe? Weird. https://paste.rs/Yb0
AmandaC has joined #nixos
n-osborne has quit [Ping timeout: 272 seconds]
ahmedelgabri has joined #nixos
rb2k has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #112092 → python37Packages.globus-sdk: 1.10.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/112092
<{^_^}> [nixpkgs] @mweinelt merged pull request #112099 → python37Packages.dask-ml: 1.7.0 -> 1.8.0 → https://github.com/NixOS/nixpkgs/pull/112099
ahmedelgabri has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #112065 → python37Packages.howdoi: 2.0.8 -> 2.0.10 → https://github.com/NixOS/nixpkgs/pull/112065
<{^_^}> [nixpkgs] @logan12358 opened pull request #112351 → nixos/prometheus-nginx-exporter: only create service if nginx exporter is enabled → https://github.com/NixOS/nixpkgs/pull/112351
thelounge52 has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #111986 → netdata: 1.28.0 -> 1.29.0 → https://github.com/NixOS/nixpkgs/pull/111986
thelounge52 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #112352 → Small updates → https://github.com/NixOS/nixpkgs/pull/112352
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
rb2k has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #111983 → ncmpc: 0.43 -> 0.44 → https://github.com/NixOS/nixpkgs/pull/111983
rb2k has joined #nixos
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #111729 → python3Packages.pyshark: init at 0.4.2.11 → https://github.com/NixOS/nixpkgs/pull/111729
<energizer> nix-repl> :p builtins.toPath "/" -> "/" can I turn that string into a path?
<energizer> i want to get paths out of builtins.readDir
<qyliss> /. + "/"
<clever> energizer: append the strings to an existing path, such as the one you readDir'd
EmoSpice has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #111566 → python3Packages.srsly: 2.3.2 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/111566
rajivr has joined #nixos
<EmoSpice> Good evening, all. I'm seeing segfaults in emacs. First, I was seeing them with my config immediately on startup when using emacsWithPackages (inadvertently - I'd forgotten to revert that change to my home-manager config). I've changed to just the emacs derivation and `emacs -q` seems to work fine. I've re-added my configuratioin and think I have narrowed it down to company. However, I'm at the end
<EmoSpice> of my knowledge here. How can I go about debugging this further?
<{^_^}> [nixpkgs] @mweinelt merged pull request #111514 → [20.09] pythonPackages.bottle: add patch for CVE-2020-28473 → https://github.com/NixOS/nixpkgs/pull/111514
<energizer> does '' ${path} '' only work on a literal path?
<energizer> not a variable
aleph- has quit [Quit: WeeChat info:version]
<{^_^}> [nixpkgs] @mweinelt closed pull request #111398 → python37Packages.emoji: 0.6.0 -> 1.2.0 → https://github.com/NixOS/nixpkgs/pull/111398
<energizer> seems like it works in repl
strikerlulu has quit [Ping timeout: 240 seconds]
rb2k has quit [Ping timeout: 258 seconds]
<energizer> ah just cant combine it with toPath i guess
<energizer> s/it/ the thing yall said above
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JtVcp
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112352 → Small updates → https://github.com/NixOS/nixpkgs/pull/112352
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2875bc9a55d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<slabity> How can I build a package from a local nixpkgs repo with debugging symbols and source code included?
<slabity> `nix-build . -A 'glpaper'`
<slabity> Tried including 'enableDebugging = true' in the derivation, but doesn't seem to change anything
<hyper_ch> hmmm, in a nix expression I require an older c++ compiler. how would I alter stdenv to use an older version?
ambro718 has quit [Ping timeout: 272 seconds]
aleph- has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bc898deb77d (from 29 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112257 → darktable: 3.4.0 -> 3.4.1 → https://github.com/NixOS/nixpkgs/pull/112257
<gchristensen> ....huh....... that wasn't supposed to do that ....
<plumm> does anyone know what the link between the sbcl and sbclBootstrap pkgs is?
<{^_^}> [nixpkgs] @mweinelt merged pull request #111395 → python37Packages.django-cors-headers: 3.6.0 -> 3.7.0 → https://github.com/NixOS/nixpkgs/pull/111395
Raito_Bezarius has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thelounge52 has quit [Ping timeout: 272 seconds]
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112271 → geekbench: 5.3.1 -> 5.3.2 → https://github.com/NixOS/nixpkgs/pull/112271
kreisys has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #111300 → [20.09] firefox-bin: 84.0.2 -> 85.0 → https://github.com/NixOS/nixpkgs/pull/111300
zebrag has quit [Ping timeout: 264 seconds]
rj_ has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112285 → homebank: 5.4.3 -> 5.5 → https://github.com/NixOS/nixpkgs/pull/112285
aleph- has quit [Quit: WeeChat info:version]
<cole-h> gchristensen: wasn't supposed to do what? announce the channel advance?
aleph- has joined #nixos
<gchristensen> oh, I thought it came from the old system running that software, but it actually came from the new one: https://buildkite.com/grahamc/nix-channel-monitor/builds/12
<{^_^}> [nixpkgs] @romildo opened pull request #112355 → iconpack-jade: 1.24 -> 1.25 → https://github.com/NixOS/nixpkgs/pull/112355
<evils> gchristensen: now i've got "18666.1" in my system bar
<evils> gchristensen: btw, how serious are you about not spamming channels.nix.gsc.io?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b8a25ca184a (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<gchristensen> what is this about 18666.1?
<gchristensen> "not spamming" I accidentally sent a bunch of messages 2x in a row is what I meant. what's up
<evils> age of nixos-unstable according to channels.nix.gsc.io
<gchristensen> ah
<evils> gchristensen: no i mean me querrying it every 15 minutes but without jitter :P
<gchristensen> oh you're fine
rb2k has joined #nixos
<gchristensen> I'm moving it to S3, so the channels.nix.gsc.io data is a bit stale at the moment
<evils> an mqtt endpoint would really be nice btw
EmoSpice has quit [Quit: WeeChat 2.9]
<gchristensen> I'm guessing rabbitmq can do that
bennofs__ has quit [Quit: No Ping reply in 180 seconds.]
gustavderdrache has quit [Quit: Leaving.]
bennofs_ has joined #nixos
patagonicus1 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #111226 → help2man: 1.47.16 -> 1.47.17 → https://github.com/NixOS/nixpkgs/pull/111226
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #112356 → 0verkill: init at 2011-01-13 → https://github.com/NixOS/nixpkgs/pull/112356
patagonicus has quit [Ping timeout: 264 seconds]
patagonicus1 is now known as patagonicus
<{^_^}> [nixpkgs] @mweinelt merged pull request #111046 → python37Packages.limnoria: 2020.12.05 -> 2021.01.15 → https://github.com/NixOS/nixpkgs/pull/111046
<{^_^}> [nixpkgs] @MetaDark opened pull request #112357 → libthai: fix cross compilation → https://github.com/NixOS/nixpkgs/pull/112357
rj_ has quit [Quit: rj_]
<{^_^}> [nixpkgs] @mweinelt merged pull request #110973 → python37Packages.aenum: 2.2.6 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/110973
n-osborn_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112178 → rocksdb: 6.15.4 -> 6.15.5 → https://github.com/NixOS/nixpkgs/pull/112178
aleph- has quit [Quit: WeeChat info:version]
m0rphism1 has quit [Ping timeout: 272 seconds]
<lovesegfault> How do I mark a package as broken? I forgot again :P
aleph- has joined #nixos
<{^_^}> [nixpkgs] @cole-h merged pull request #112254 → clight: 4.1 -> 4.2 → https://github.com/NixOS/nixpkgs/pull/112254
<lovesegfault> ah, meta.broken = true
<cole-h> lovesegfault: meta.broken = true
<lovesegfault> cole-h++
<{^_^}> cole-h's karma got increased to 129
thelounge52 has joined #nixos
<cole-h> or `meta.broken = stdenv.isDarwin;` if it's only busted on darwin (etc etc).
<matthewcroughan> nixos is too cool, remember this
<matthewcroughan> just felt like typing that
<matthewcroughan> using the latest upstream kernels like it's nothing
rb2k has quit [Ping timeout: 240 seconds]
gustavderdrache has joined #nixos
thelounge52 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #110417 → freeciv: 2.6.2.1 -> 2.6.3 → https://github.com/NixOS/nixpkgs/pull/110417
rj_ has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #112358 → samba4: mark enableGlusterFS as broken → https://github.com/NixOS/nixpkgs/pull/112358
<{^_^}> [nixpkgs] @mweinelt merged pull request #110267 → python37Packages.dependency-injector: 4.5.4 -> 4.10.3 → https://github.com/NixOS/nixpkgs/pull/110267
<evils> gchristensen: as an intermediate solution, i'm just getting my data from the github repo now xD
<gchristensen> cool :)
<matthewcroughan> if I use nixpkgs.config.allowUnfree = true; in an imported module, what will happen?
<matthewcroughan> will I still be blocked from using unfree software in other modules?
rj_ has quit [Quit: rj_]
rj_ has joined #nixos
<matthewcroughan> let's say I have allowUnfree = true; in wireless.nix and I import wireless.nix in my configuration.nix, but I do some unfree stuff in my configuration.nix, I expect my build to fail.
<matthewcroughan> will this not happen?
zakame has quit [Quit: WeeChat 2.9]
<qyliss> it's a global setting
<qyliss> so no
rb2k has joined #nixos
<matthewcroughan> qyliss: how could I make this behavior owrk
<matthewcroughan> work*
<gchristensen> it isgoing to be tricky, can you clarify your use case?
<matthewcroughan> gchristensen: I do not have one, this just seemed like an intuitive use of the tool
<slabity> matthewcroughan: For a specific package, it can be done
<slabity> But not for one configuration file that's imported
<matthewcroughan> I was wondering whether I could say only use *some* nonfree things, like might be the case for a wireless firmware
<gchristensen> you might want the license predicate
<slabity> See the 'allowUnfreePredicate' example
<{^_^}> [nixpkgs] @mweinelt merged pull request #110159 → oil: 0.8.5 -> 0.8.6 → https://github.com/NixOS/nixpkgs/pull/110159
<slabity> I have a nix flake that provides a NixOS configuration and an overlay. Is it possible to reference the overlay provided in the flake from within the configuration?
<slabity> So that I can set `nixpkgs.overlays` from within the NixOS configuration
<{^_^}> [nixpkgs] @mweinelt merged pull request #110164 → [20.09] nixos/xdg/portal: fix loading portals from systemd service → https://github.com/NixOS/nixpkgs/pull/110164
<{^_^}> [nixpkgs] @mweinelt merged pull request #110136 → ngircd: 26 -> 26.1 → https://github.com/NixOS/nixpkgs/pull/110136
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
dongcarl8 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #109868 → iosevka-bin: 4.4.0 -> 4.5.0 → https://github.com/NixOS/nixpkgs/pull/109868
dongcarl8 is now known as dongcarl
zakame has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #109780 → wallabag: 2.4.0 -> 2.4.1 → https://github.com/NixOS/nixpkgs/pull/109780
<DigitalKiwi> can i disable this stupid warning
<DigitalKiwi> trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `pkgs.lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
<{^_^}> #108938 (by siraben, 4 weeks ago, closed): Deprecate use of stdenv.lib across Nixpkgs
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112117 → ddcutil: 0.9.9 -> 1.0.0 → https://github.com/NixOS/nixpkgs/pull/112117
<cole-h> DigitalKiwi: Don't use stdenv.lib ;)
<DigitalKiwi> i'm not
<slabity> Tell nixpkgs to stop using stdenv.lib
rj_ has quit [Ping timeout: 268 seconds]
<cole-h> PR whatever upstream is using stdenv.lib to stop using stdenv.lib ;)
<slabity> By fixing every single nixpkgs package
<DigitalKiwi> i think it's haskell.nix
<lovesegfault> Can I bother someone for a review of https://github.com/NixOS/nixpkgs/pull/112358
<{^_^}> #112358 (by lovesegfault, 23 minutes ago, open): samba4: mark enableGlusterFS as broken
<qyliss> slabity: we pretty much already did: https://edef.eu/~qyliss/nix/lib/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/279e66e1067 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
thelounge52 has joined #nixos
<slabity> Damn. That's an impressive cliff
<DigitalKiwi> why'd it get removed anyway
<cole-h> See the referenced issue
<gchristensen> qyliss++
<{^_^}> qyliss's karma got increased to 120, it's a crit!
<DigitalKiwi> of all the things
<{^_^}> [nixpkgs] @ryantm merged pull request #112228 → topgrade: 6.0.2 -> 6.3.2 → https://github.com/NixOS/nixpkgs/pull/112228
<DigitalKiwi> to make nix less confusing; and they chose this? :)
<gchristensen> baby steps
<DigitalKiwi> i don't think i was ever confused about stdenv.lib
<DigitalKiwi> and i only manage to make nix do what i want by being a monkey at a typewriter
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112359 → libsForQt5.phonon-backend-vlc: 0.11.1 -> 0.11.2 → https://github.com/NixOS/nixpkgs/pull/112359
<cole-h> Well, you're only one person, to be fair :P
<DigitalKiwi> Feb 08 02:52:59 mvp-nixos nix-daemon[13604]: accepted connection from pid 3947, user kiwi (trusted)
<infinisil> I've seen plenty of people being confused about stdenv.lib
<qyliss> fwiw, when I proposed this I had no intention of completely ripping the thing out
rb2k has quit [Ping timeout: 260 seconds]
<qyliss> I wanted to add a two sentence addition to the manual recommending one over the other
h0m1 has quit [Ping timeout: 272 seconds]
jkachmar has quit [Quit: Connection closed for inactivity]
<infinisil> Idea: What if we deprecated things probabilistically
<qyliss> but then once I'd done that other people felt strongly enough to take it all the way
<infinisil> At every commit, there's a 1% chance of the deprecation warning being enabled
<DigitalKiwi> what's this all about i get thousands of them
<infinisil> This increases over time, until it's 100% some number of nixos releases later
<gchristensen> sounds very annoying :P
<cole-h> I share part of the blame for putting that idea in (or bringing to the forefront of) qyliss's mind
rb2k has joined #nixos
<infinisil> It's like A/B testing!
h0m1 has joined #nixos
<cole-h> which sounds very annoying :D
<cole-h> +1 gchristensen
<DigitalKiwi> journalctl -r|grep -c "accepted connection from pid"
<DigitalKiwi> 76598
* infinisil likes probabilitieus
<infinisil> That sounds like a greek name ^
<cole-h> infinisil: new username / hostname for the next machine you provision
<DigitalKiwi> am i going to have to make xsession log to dev null
<infinisil> Lol nice
<DigitalKiwi> ...can i log to a program that filters what i don't want hmm
logand``` has quit [Ping timeout: 272 seconds]
<DigitalKiwi> oh that one's not xsession is it *sigh*
<DigitalKiwi> the other one that i have tens of thousands of was some Qt thing
thelounge52 has quit [Ping timeout: 272 seconds]
<DigitalKiwi> Feb 01 23:57:42 mvp-nixos xsession[9121]: qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
<DigitalKiwi> Jan 25 18:23:25 mvp-nixos xsession[5006]: file:///nix/store/is3ixxd8i5a6b1ymq10qcczhmd2ik47b-plasma-framework-5.73.0-bin/lib/qt-5.15.0/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:60:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
<cole-h> DigitalKiwi: btw seems like there's a PR for haskell.nix: https://github.com/input-output-hk/haskell.nix/pull/1031
<{^_^}> input-output-hk/haskell.nix#1031 (by hamishmack, 2 days ago, open): Use `pkgs.lib` instead of `stdenv.lib`
<DigitalKiwi> someone remind me why everyone decided to use journalctl
<DigitalKiwi> journalctl |grep "QML Connections: Implicitly defined" -c
<DigitalKiwi> 175440
<cole-h> probably because it comes included with systemd :P
bvdw48 has quit [Quit: The Lounge - https://thelounge.chat]
<slabity> I absolutely loathe journalctl
<DigitalKiwi> tail | s:journalctl:systemd:
<DigitalKiwi> plus sed
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to fix/php-xls-xmlrpc: https://git.io/JtVlu
bvdw48 has joined #nixos
<DigitalKiwi> slabity: it's not even useable like how am i supposed to find important messages when there are 100k warnings about broken javascript on every website...
<{^_^}> [nixpkgs] @ajs124 opened pull request #112360 → phpExtensions80: fix xls, disable xmlrpc → https://github.com/NixOS/nixpkgs/pull/112360
<DigitalKiwi> kiwi@mvp-nixos ~ []$ time journalctl |grep "Could not add child element to parent element because the types" -c
<DigitalKiwi> 2773
<DigitalKiwi> real : 1m7.911s
<slabity> Well definitely do `journalctl -b 0` all the time
* DigitalKiwi makes an alias
<cole-h> Seems like a problem with your setup? I don't ever get javascript printed to my journal...
<slabity> That will at least prevent the previous boot logs from appearing
<cole-h> s/Seems like/Might be/
mkaito has quit [Quit: WeeChat 3.0]
inkbottle has quit [Quit: Konversation terminated!]
<DigitalKiwi> alias journalctlr='$(which journalctl)'
<DigitalKiwi> alias journalctl='$(which journalctl) -b 0'
<slabity> I just wish the journalctl pager acted like my system pager
<slabity> So that I can scroll with mousewheel and press ctrl-c without it dying
<slabity> But that's a problem for a different time.
<DigitalKiwi> what system pager do you use
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112361 → pcmanfm: 1.3.1 -> 1.3.2 → https://github.com/NixOS/nixpkgs/pull/112361
<slabity> Just `less`
<DigitalKiwi> cole-h: it might be a firefox plugin i have and you don't
<DigitalKiwi> slabity++
<{^_^}> slabity's karma now has 2 digits!
<cole-h> Ah, I think I see the difference: I don't start my WM with a systemd unit
<DigitalKiwi> thanks for the journalctl -b 0 idea
<cole-h> Where you do (either by using a display manager or an actual service for your WM/DE of choice)
<slabity> No problem. Kind of wish it was the default behavior
<DigitalKiwi> oh i did systemctl stop display-manager the other day and it crashed my computer
<DigitalKiwi> not the first time that's been a thing either (i fixed that one) maybe it's back
<DigitalKiwi> cole-h: that's the other thing; it still tries to start kwin even when it's an xmonad session
oldandwise has joined #nixos
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
<DigitalKiwi> i found a work around but it's not a good one and i shouldn't have to do it anyway and it has issues too
slack1256 has joined #nixos
<slabity> Is anyone here familiar with home-manager's NixOS module?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112362 → pigz: 2.4 -> 2.6 → https://github.com/NixOS/nixpkgs/pull/112362
<aleph-> Neat, nixops inadvertantly broke my torrent client
<slabity> I'm trying to use it to set my overlays, but it doesn't seem to be working...
<aleph-> And a bunch of other stuff. Sigh. Probably some reason it upgraded me to 21.03~
<slabity> Actually, better yet, can anyone explain why setting `nixpkgs.overlays` in my NixOS configuration doesn't provide access to the overlays when I use `nix-shell` or any other nix tool?
<DigitalKiwi> what version of nix
<clever> slabity: the overlays are only applied to the pkgs passed to nixos modules, and nothing else
<{^_^}> [nixpkgs] @mweinelt opened pull request #112363 → python3Packages.anyio: 2.0.2 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/112363
oldandwise has quit [Quit: leaving]
<slabity> @clever: Well that sucks. Any other options besides manually adding it to /etc/nixpkgs/overlays.nix?
<clever> slabity: this arranges for a directory of overlays to be the system-wide default, and also (at one time) loads the overlays into nixos
<clever> slabity: line 13&17 of the file i just linked
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<slabity> That's interesting...
thelounge52 has joined #nixos
<slabity> How can I replace `./overlays` to be the value from the `nixpkgs.overlays` though? Does that even evaluate to a path?
<clever> slabity: it needs to eval to a path, thats best done by having all of your overlays in the form of ./overlays/foo.nix
<clever> and then build nixpkgs.overlays by just importing every file in that dir
<slabity> The problem is that I'm using nix-flakes and I don't think I can access them from within my nixos-modules
<clever> relative paths still work fine
<clever> the flake puts your entire repo as one dir in the store, and files can cross-reference within that dir
oldandwise has joined #nixos
<slabity> But I'm using an external overlay
<slabity> mozilla overlay specifically
<clever> that complicates things a bit more
<slabity> This entire flakes thing is really starting to frustrate me. It feels like everything just got 10x more complicated and I'm not even getting any benefit
thelounge52 has quit [Ping timeout: 256 seconds]
<clever> ive only used it for basic packaging so far, not nixos level things
rb2k has quit [Ping timeout: 264 seconds]
<DigitalKiwi> i thought i read overlays don't work with nix flakes
<slabity> Considering one of the outputs of a flake is `overlays`, I would expect it should
<clever> DigitalKiwi: more, that the flake is pure, and wont load any overlays in $HOME, only overlays the flake said to load
jonringer has joined #nixos
<DigitalKiwi> oh that's probably what i'm thinking of
<aleph-> I forget is there a function to just write a file to the store?
<clever> aleph-: pkgs.writeText and builtins.toFile
<slabity> @alpeh-: writeTextFile
<clever> toFile happens at eval time, and behaves identically to ./foo.txt
<aleph-> clever: slabity: Thanks. Incidentally found a fun bug with nixops and the deluge service it seems.
<clever> writeText is a wrapper over writeTextFile
<aleph-> clever: toFile returns a path right?
<clever> and writeTextFile takes a set, and writes a file at build-time
<clever> aleph-: yeah, all of them return a path
<aleph-> Trying to do something like: `deluge.authFile = builtins.toFile ('bla:foo')
<aleph-> Cool
<clever> > builtins.toFile "foo.txt" "contents"
<{^_^}> "/nix/store/crv1rprds4inqifs5d31hz608p2fjw4n-foo.txt"
<DigitalKiwi> slabity: ^
<slabity> So I guess the question is how can I evaluate `nixpkgs.overlays = [ ... ];` as a path to put into `nixpkgs-overlays=${evaluated_path}`
<DigitalKiwi> clever++
<{^_^}> clever's karma got increased to 555
<clever> slabity: there is no real way to turn the expr back into a file, so you need to start with it already in files
<slabity> clever:
<slabity> And I can't do that since it's within a flake and not a file
<clever> write a file that will import the given overlay
<clever> (builtins.getFlake (toString ./.)).overlays.foo
<clever> shove that into a foo.nix, and it will behave identically to the foo overlay in the flake
<jgart[m]> Hi, what's the preferred way to update the sha256 of a package?
<slabity> `builtins.getFlake`?
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112362 → pigz: 2.4 -> 2.6 → https://github.com/NixOS/nixpkgs/pull/112362
<clever> slabity: a function for loading a flake from non-flake code
<slabity> jgart: Honestly I just intentionally mess up the hash, let Nix tell me the correct one, and then paste that into wherever it needs to go
<slabity> Then make a PR and send it off if necessary
<cole-h> FWIW, on nixUnstable, you can leave the hash blank, which will treat it as 00000... or sha256-AAAAAAA...
<clever> ,tofu jgart[m]
<{^_^}> jgart[m]: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<clever> cole-h: at one point, there was a bug in nix, where leaving it blank allowed unvalidated network, lol
<cole-h> 👀
<jgart[m]> I get the above when building
<jgart[m]> I tried `--show-trace` but still no hash
spacefrogg has joined #nixos
<cole-h> You're not using nixUnstable then
<cole-h> (Note: ONLY nixUnstable, at time of writing, supports empty hashes)
<jgart[m]> Is my NixOS out of date?
Taneb has quit [Quit: I seem to have stopped.]
<slabity> I'm still confused on what `(builtins.getFlake (toString ./.)).overlays.foo` will allow me to do. I already have access to my two overlays through `overlays.personal` and `(import mozilla)`.
<cole-h> Well, I guess the nixUnstable on 20.09 also doesn't have the empty-hash functionality
<slabity> Is there no way I can just do `nixpkgs-overlays=${overlays.personal}:${(import mozilla)}`?
<jgart[m]> I'm using those channels with `nix-env` but my nixos is running the above
<cole-h> nixpkgs-overlays expects a directory, so if you wanted to somehow construct that...
kini has quit [Quit: bye]
<cole-h> slabity: Are you trying to get an entry in your NIX_PATH that will let you use your overlays?
<slabity> Yea
<cole-h> You might be interested in my "compat" wrapper, then
<cole-h> Basically: make your legacyPackages point to your nixpkgs-with-overlays-imported, and then use my compat wrapper trick
kreisys has joined #nixos
<slabity> As nice as that probably is, I don't think I have enough skill with Nix to even comprehend whatever the hell is going on in that
<cole-h> It makes it so all references to `<pkgs>` will refer to the compat/default.nix
<cole-h> compat/default.nix uses the flake-compat shim that Eelco created to allow the flake to be used with nix-build and other "old" interfaces
<cole-h> It refers to the "defaultNix" attribute, which is basically the entire flake.nix IIRC, and then to the legacyPackages attribute, which has attributes for all architectures I specified in my flake.nix, and pkgs imported for each of those architectures
thelounge52 has joined #nixos
<cole-h> I agree, it's not very intuitive as a newbie. But neither is flakes in general :P
<slabity> I understand none of that.
<jgart[m]> Is it easy to convert my vanilla NixOS system to a flake based one?
<slabity> jgart: If my experience is any indicator: No
<jgart[m]> Any blog posts or configs that someone can recommend for that?
<slabity> But to be fair I think flakes are still kind of in development
<cole-h> s/kind of//
<cole-h> Also extremely experimental
<cole-h> Also unspecified
<jgart[m]> Should I use `nix-prefetch-url` to get the sha256 for the above?
<slabity> `nix-prefetch-git`
<jgart[m]> `nix-prefetch-url --unpack https://github.com/lukesmithxyz/st`
<jgart[m]> I tried this but it is wrong
<cole-h> ,tofu jgart[m]
<{^_^}> jgart[m]: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<slabity> `nix-prefetch-git https://github.com/LukeSmithxyz/st`
<jgart[m]> the bot does not realize I'm not using the latest version ;)
<aleph-> Alright have two bug reports to open tomorrow. What fun
<cole-h> Note that you don't need the latest version for tofu :)
<slabity> Gives me a hash of `"sha256": "0agjx0ykvva9ayqvxc2bgsjmhkzajd7lmygg0zng1dqfhxss53v0",`
<cole-h> tofu works for all versions of nix :)
<jgart[m]> slabity: thank you! that works!!!
<cole-h> (probably)
<jgart[m]> <slabity "Gives me a hash of `"sha256": "0"> I got that too :)
<jgart[m]> The above needs harfbuzz as an input.
atom_ has joined #nixos
ManiacOfMadness has quit [Ping timeout: 265 seconds]
<clever> jgart[m]: `nix-prefetch-url` basically just runs wget on the url
<clever> jgart[m]: and hashes the result
<clever> `wget https://github.com/lukesmithxyz/st` gives html, not the real source
<cole-h> just FYI jgart[m] not all of us use matrix, so every time you post a multiline message it looks like "jgart[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/SHmNURJNKqPUUgewvNlkikbB/message.txt > "
<cole-h> Do with that what you will
<slabity> Hence why you need the `nix-prefetch-git` instead, as that gives you the source
<jgart[m]> sorry!!!
<cole-h> (Or, use nix-prefetch-url on the actual tarball of the commit you want)
<jgart[m]> debian paste?
<clever> this could also work, but is rather long
<clever> jgart[m]: when possible, try pasting just 1 line, so it goes thru irc like normal
orivej has quit [Ping timeout: 264 seconds]
<clever> jgart[m]: for example, this didnt really need to go thru the auto-pastebin: https://matrix.org/_matrix/media/r0/download/matrix.org/TGjSXDZlYYymrMYfbgzqzkhN/message.txt
<jgart[m]> does pasting one line format it properly on your end?
<clever> not sure
<jgart[m]> I'll just paste from debian paste from now on
thelounge52 has quit [Ping timeout: 264 seconds]
<cole-h> That's really no different than a matrix.org link :P
<clever> exactly
<slabity> Is that any better? I miean, people will just click the link anyways
<jgart[m]> Ohh
<jgart[m]> ok,I understand
<slabity> And then Matrix users don't get their nicely formatted stuff
<clever> hence why its better to limit your msg to 1 line, so it just goes thru irc as normal
<cole-h> ^
<jgart[m]> so just keep my posts to one liners?
<clever> when possible
<jgart[m]> ok
<slabity> Yell at people to use matrix
<slabity> That's the solution :)
<clever> slabity: get off my lawn!, *shakes cane*
<slabity> Although 90% of my matrix channels are just bridges to IRC
<jgart[m]> random observation: matrix has no easy way of backing up messages to plain text
ahmedelgabri has joined #nixos
<jgart[m]> one sucky thing about matrix
<slabity> I think that's a client thing, isn't it?
<jgart[m]> no client can do it
slack1256 has quit [Ping timeout: 272 seconds]
<jgart[m]> that I know of
<jgart[m]> you have to do some hacky stuff with via an api
<jgart[m]> and good luck backing up the room if it's encrypted
<jgart[m]> Luke's fork fails without mentioning harfbuzz as input in the nix expression: https://github.com/LukeSmithxyz/st
<jgart[m]> I guess this wiki entry should be fixed: https://nixos.wiki/wiki/St
<jgart[m]> what type of input is harfbuzz?
<cole-h> buildInputs probably
<jgart[m]> nativeinput?
<clever> if its ran at build time, nativeBuildInputs
<jgart[m]> ok, I'll try that thanks
<clever> if your linking to it, buildInputs
<jgart[m]> clever: thanks for clarifying that distinction for me
<{^_^}> [nixpkgs] @Slabity opened pull request #112364 → Update glpaper to most recent version → https://github.com/NixOS/nixpkgs/pull/112364
atom_ has quit [Quit: atom_]
ahmedelgabri has quit [Ping timeout: 272 seconds]
<jgart[m]> Luke's readme mentions needing xlib header files installed
<jgart[m]> what is the correct package that I should be referencing for that?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jgart[m]> xlibsWrapper?
<slabity> I think that would work
<clever> > xorg
<{^_^}> { appres = <CODE>; bdftopcf = <CODE>; bitmap = <CODE>; callPackage = <CODE>; editres = <CODE>; encodings = <CODE>; fontadobe100dpi = <CODE>; fontadobe75dpi = <CODE>; fontadobeutopia100dpi = <CODE>; fo...
<clever> jgart[m]: one of these attributes
<clever> > xorg.libX11
<{^_^}> "<derivation /nix/store/rci03iansjzld9zbbjy43fh8431168i3-libX11-1.7.0.drv>"
<clever> like this one
<slabity> I usually just do `xlibs.libX11` and whatever other libs I use
<slabity> But there's a LOT of xlibs, so not sure what the best would be
<jgart[m]> and that's a `buildInput` correct?
<clever> yeah, since your linking against it
evanjs has quit [Read error: Connection reset by peer]
<jgart[m]> thanks!
<jgart[m]> now it's complaining about `<X11/Xft/Xft.h>`
<jgart[m]> I'll go look for that
<clever> ,locate Xft.h
<{^_^}> Found in packages: xlibs.libXft.dev
<jgart[m]> xorg.libXft
<clever> nixpkgs adds the .dev for you, so just buildInputs = [ xorg.libXft ];
<jgart[m]> wow that bot is awesome!
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<slabity> You're usually going to be pulling in a lot of `xlibs.*` if that's what you're doing.
<slabity> Also I would recommend using `nix-index` and then running `nix-locate` so that you don't need to use the bot
<slabity> It would be all local
<jgart[m]> I have a separate nix file for luke's fork that I am importing into my configuration.nix
<jgart[m]> <slabity "Also I would recommend using `ni"> slabity: Ok, I'll start using that. Thanks!
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
cole-h has quit [Client Quit]
<jgart[m]> <clever "nixpkgs adds the .dev for you, s"> clever: thanks!
evanjs has joined #nixos
<slabity> Strange... My $NIX_PATH did not update when I switched my NixOS configuration with `nix.nixPath` added...
<clever> slabity: env variables only update if you relaunch the shell
<slabity> Yea, started a new shell and terminal
<clever> it may also inherit the env vars from the window manager
<clever> so you have to fully logout, or ssh back into yourself
<clever> thats why my expr uses a constant in $NIX_PATH, and then swaps out the symlink at that constant path
<slabity> Oh hey clevver++
<slabity> clever++
<clever> so you dont have to do that dance on every single rebuild
<{^_^}> clever's karma got increased to 556
<slabity> Hmm... Bot is broken
<slabity> Nevermind apparently I just lagged
<slabity> That makes sense
<jgart[m]> where is the source code for that bot?
<clever> ,
<{^_^}> Special commands: find tell locate expand inclusive-language random-pr permalink - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help channels ping libraries -a escape'' escape" library ifd botsnack pinning ask overlay unfree tofu which-channel imperative xml xy launch wololo fancy-uninstall nixlang++ commands pointers cache home-manager thesis unstable pills runtimedeps stateversion invite exec smart-questions dnw howoldis
<clever> ,commands
cole-h has joined #nixos
<clever> it might be linked there, i never actually looked
cole-h has quit [Client Quit]
<{^_^}> [nixpkgs] @jtojnar merged pull request #112024 → php73Extensions.blackfire: 1.46.4 -> 1.49.1 → https://github.com/NixOS/nixpkgs/pull/112024
<jgart[m]> git submodule init
<jgart[m]> make: git: No such file or directory
<jgart[m]> Makefile:43: install] Error 127
<jgart[m]> should I be adding something to one of the phases of Luke's fork?
<clever> jgart[m]: generally, the code should never be doing fetching at build time, so you need to figure out why its doing so and disable it
<matthewcroughan> has anyone used nixos-install with flakes via --flake?
<slabity> matthewcroughan: Yea, I'm doing that right now
<slabity> Painfully
<matthewcroughan> what's an issue you're encountering as an example?
jb55 has quit [Remote host closed the connection]
<clever> jgart[m]: the install section just blindly tries to fetch *facepalm*: https://github.com/LukeSmithxyz/st/blob/master/Makefile#L42-L44
<slabity> No, wait. I'm using `nixos-rebuild --flake`
<matthewcroughan> clever: omg lukesmith
jb55 has joined #nixos
<matthewcroughan> clever: unaboomer
EdLin has joined #nixos
<matthewcroughan> do you guys enjoy laughing at people like Luke Smith? Have you seen his vids on Docker? :D
<matthewcroughan> I think Nix would make his head explode.
<clever> havent heard of him before
<EdLin> hi. Is there a way to make the default compilation working directory in a different location in Nixos, or failing that, to mount a device at its location (wherever that is?) I have a fast small optane SSD perfect for this.
<jgart[m]> <clever "jgart: the install section just "> what is facepalm?
<jgart[m]> ohh was that supposed to be an emoji showing discontent?
<clever> yeah
ahmedelgabri has joined #nixos
<jgart[m]> should I be trying to sed chop the Makefile then?
<clever> or a .patch file
<jgart[m]> like a boomer
<jgart[m]> so Make a patch for the Makefile and then call it in my nix expression?
<clever> patches = [ ./foo.patch ];
<clever> and nix will apply it for you
<jgart[m]> cool! got it
<EdLin> does anone know the answer to my question, or need clarification?
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112358 → samba4: mark enableGlusterFS as broken → https://github.com/NixOS/nixpkgs/pull/112358
thelounge52 has joined #nixos
<slabity> I think I just got my overlays tow work as I intended
<slabity> Thanks clever++
<{^_^}> clever's karma got increased to 557
<jgart[m]> clever: do you know why Luke is calling git submodule init and git submodule update?
marusich has joined #nixos
<slabity> Although I kind of just... linked every single one individually into `$out/overlays`, but whatever it works
<jgart[m]> should I just be deleting those two lines for the nix st overlay of his fork?
<jgart[m]> since it is not needed
<EdLin> it can't be done maybe?
Supersonic112 has joined #nixos
<clever> slabity: it can be simpler if you already have such an overlays dir in your flake
<{^_^}> [nixpkgs] @kini opened pull request #112365 → [20.09] tor-browser-bundle-bin: 10.0.8 -> 10.0.9 → https://github.com/NixOS/nixpkgs/pull/112365
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ac7bca17f9e (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
ml| has quit [Ping timeout: 240 seconds]
<slabity> clever: I have my *own* overlay directory, yes... But including other directories that my flake pulls in as inputs was the bigger issue
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
<slabity> EdLin: I think there's a variable in `nix.conf` that you can set to change the default build directory, but it might only be for sandboxes
<EdLin> slabity what's a sandbox for nix?
<clever> one sec
<clever> pi@pi400:~ $ cat /etc/systemd/system/nix-daemon.service
<clever> [Service]
<clever> Environment="TMPDIR=/mnt/tmp"
<EdLin> what is the default build directory?
<clever> nix just puts the tempdir in whatever $TMPDIR is set to
<slabity> EdLin: By default, builds are done in a sandbox that's isolated from the filesystem
<EdLin> ugh. So I can't aim them at my optane drive?
<clever> EdLin: just change $TMPDIR
thelounge52 has quit [Ping timeout: 264 seconds]
<clever> EdLin: if your using nix-daemon, then its the $TMPDIR of nix-daemon, not nix-build
<EdLin> ?
<EdLin> I don't understand
<clever> is nix-daemon running?
<EdLin> I don't know, I'm not very experienced at nixos and am not even in it now
<clever> if your on nixos, then its definitely running
<slabity> Actually, I think you can add `sandbox-paths` to mount a path into the sandbox
gustavderdrache has quit [Quit: Leaving.]
<clever> systemd.services."nix-daemon".environment.TMPDIR = "/anywhere";
<clever> to change where nixos keeps that tempdir
<clever> (in configuration.nix)
<jgart[m]> I ended up building Luke's fork from a previous commit before he did the funny stuff two days ago. It built successfully now :)
<clever> slabity: thats for adding extra stuff into the sandbox, in addition to the normal tempdir
<jgart[m]> Atleast for now I have it built successfully until I figure out what to patch
<jgart[m]> ...for the latest commit
<slabity> I think I now have everything configured as a flake now. All my configs, overlays, and even home-manager
<EdLin> clever will that make it the temporay location for a lot of other things besides compilation? The optane SSD is 57GB.
<slabity> Time to never touch it ever again ever
<clever> EdLin: only nix-daemon will use that tempdir, and nothing else
<EdLin> clever what does nix-daemon do?
<clever> manage starting all builds
ahmedelgabri has quit [Ping timeout: 258 seconds]
<EdLin> thanks, I think I understand?
EdLin has left #nixos ["Closing Window"]
ml| has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
jmeredith has joined #nixos
<clever> matthewcroughan: heh
<matthewcroughan> clever: he means well, he's an amusing guy
<matthewcroughan> but this was a pointless rant he had, and I think he'd rant on about nix in the same fashion ;D
<matthewcroughan> he is right about corporations taking over linux via these packaging formats though
<clever> matthewcroughan: have you heard about the MS mess on rpi?
<matthewcroughan> clever: microsoft mess? You mean Windows on ARM?
<clever> no, a new one, lol
<matthewcroughan> explain
<matthewcroughan> WSL2 on Windows for Arm?
<clever> the rpi foundation released a new micro-controller
<clever> and to make using it easy, they have vscode support
<matthewcroughan> "easy"
<clever> to make installing vscode easy, microsoft servers and gpg keys are loaded into apt
<clever> so you can just "apt-get install vscode"
<matthewcroughan> ouch
<clever> there have been over 10 threads on the rpi forums, demanding to remove MS spyware from the os
naivesheep has joined #nixos
<matthewcroughan> all roads lead to nix
<clever> this is the latest one
<matthewcroughan> Nix taught me how to boot on Arm.
<matthewcroughan> So I can now get away from this stuff
<clever> the way i look at it, that change only does 2 minor things
<clever> 1: on every `apt-get update`, it will fetch a package list from MS
<clever> 2: MS can potentially release a duplicate of some package, claiming to be newer, and since its signed with a gpg key the os trusts, it will be prefered
Cale has quit [Remote host closed the connection]
<clever> and then the tinfoil hat guys come out of the woodwork, claiming MS can gather telemetry data, before you even install vscode
<clever> also, MS has contributed code to the linux kernel, so MS is already on the rpi :P
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #112366 → LXDE small modifications → https://github.com/NixOS/nixpkgs/pull/112366
<matthewcroughan> yeah, so apt update takes more time because of MS.
<matthewcroughan> this is undesirable
Fare has quit [Quit: Leaving]
thelounge52 has joined #nixos
thelounge52 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #112340 → tickrs: fix build issue for darwin (fatal error: 'Security/Security.h… → https://github.com/NixOS/nixpkgs/pull/112340
ravndal has quit [Quit: WeeChat 3.0]
kini has joined #nixos
ravndal has joined #nixos
<matthewcroughan> are there any better examples of nixos-install --flake?
Rusty1 has quit [Quit: WeeChat 2.3]
<matthewcroughan> the manual page doesn't describe how installation works
<DigitalKiwi> where's cole-h? :( slabity qyliss through the power of redirection i have removed the warning!
<DigitalKiwi> nix-shell -A shellFor |& tee >(cat|grep -v "is deprecated") >/tmp/nix-log-error
<DigitalKiwi> hmm that doesn't enter the shell though
<DigitalKiwi> oh that is a useless cat; i thought i tried` grep -v "is deprecated" - ` and it didn't work
ahmedelgabri has joined #nixos
<DigitalKiwi> why won't it enter the shell :(
ahmedelgabri has quit [Ping timeout: 272 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
kmein has joined #nixos
thelounge52 has joined #nixos
n-osborne has joined #nixos
<angerman> how do I regenerate the /run/current-system/sw/bin link?
thelounge52 has quit [Ping timeout: 240 seconds]
Maxdamantus has quit [Quit: Lost terminal]
Maxdamantus has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
n-osborne has quit [Remote host closed the connection]
<clever> angerman: it gets updated automatically when you nixos-rebuild switch
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112367 → python37Packages.apispec: 4.0.0 -> 4.2.0 → https://github.com/NixOS/nixpkgs/pull/112367
<angerman> clever: hmm guess I busted something, let's retry :D
marusich has quit [Ping timeout: 240 seconds]
<angerman> clever: hmm somethings broken, nix-darwin just doesn't cerat it :-/
<clever> angerman: what happens if you run `nix-store --verify --check-contents` ?
<angerman> clever: will probably work, this is a blank install
<clever> not sure then, ive not played with nix-darwin
<{^_^}> [nixpkgs] @danieldk merged pull request #111690 → surface-control: init at 0.3.1-1 → https://github.com/NixOS/nixpkgs/pull/111690
cole-h has joined #nixos
cole-h has quit [Client Quit]
<angerman> clever: how do i specify extra-platforms in configruation.nix?
<clever> angerman: nix.extraOptions is one route
thelounge52 has joined #nixos
cole-h has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #110623 → maintainers/teams: add beam team → https://github.com/NixOS/nixpkgs/pull/110623
<{^_^}> [nixpkgs] @lovesegfault merged pull request #112365 → [20.09] tor-browser-bundle-bin: 10.0.8 -> 10.0.9 → https://github.com/NixOS/nixpkgs/pull/112365
thelounge52 has quit [Ping timeout: 264 seconds]
simba1 has joined #nixos
cole-h has joined #nixos
<siraben> Is there a way to open `nix repl` loading a specific nixpkgs? e.g. with `nix eval` you can do `nix eval nixpkgs#hello.version`
oida has quit [Remote host closed the connection]
oida has joined #nixos
<clever> siraben: nix repl ~/apps/nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112368 → psmisc: 23.3 -> 23.4 → https://github.com/NixOS/nixpkgs/pull/112368
<DigitalKiwi> clever: do you know how make what i tried above enter the nix shell
kini has quit [Remote host closed the connection]
<clever> DigitalKiwi: nope
kini has joined #nixos
sss2 has quit [Quit: Leaving]
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JtVuv
cole-h has quit [Quit: Goodbye]
lord| has quit [Ping timeout: 265 seconds]
cole-h has joined #nixos
<{^_^}> [mobile-nixos] @MetaDark opened pull request #296 → kernel-builder: Avoid string interpolation for path concatenation → https://github.com/NixOS/mobile-nixos/pull/296
puck has quit [Ping timeout: 276 seconds]
puck has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/81623fc9517 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/81623fc9517 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
Jackneill has quit [Ping timeout: 272 seconds]
sangoma has joined #nixos
riksteri has joined #nixos
thelounge52 has joined #nixos
mallox has joined #nixos
Jackneill has joined #nixos
thelounge52 has quit [Ping timeout: 246 seconds]
arahael has left #nixos ["WeeChat 2.7.1"]
simba1 has quit [Ping timeout: 264 seconds]
n-osborne has joined #nixos
j2t has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112369 → python37Packages.bespon: 0.5.0 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/112369
vidbina has joined #nixos
n-osborne has quit [Remote host closed the connection]
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
n-osborne has joined #nixos
ahmedelgabri has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
jonringer has quit [Ping timeout: 264 seconds]
malook has joined #nixos
ahmedelgabri has quit [Ping timeout: 264 seconds]
ahmedelgabri has joined #nixos
hyiltiz has quit [Ping timeout: 240 seconds]
pbb has quit [Ping timeout: 272 seconds]
hyiltiz has joined #nixos
ahmedelgabri has quit [Ping timeout: 260 seconds]
thelounge52 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
saschagrunert has joined #nixos
pbb has joined #nixos
jimmiehansson has joined #nixos
hyper_ch4 has quit [Read error: Connection reset by peer]
hyper_ch4 has joined #nixos
sss2 has joined #nixos
klardotsh has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #112370 → ocamlPackages.lwt: 5.3.0 → 5.4.0 → https://github.com/NixOS/nixpkgs/pull/112370
sangoma has joined #nixos
<eyJhb> For some reason, defaultGateway will not work on my current setup? I have set networking.defaultGateway.address = "172.31.1.1"; but it doesn't take effect
thelounge52 has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
ahmedelgabri has joined #nixos
oldandwise has quit [Quit: leaving]
<alienpirate5> hi, i'm trying to investigate why on my Oracle Cloud server, nixos-rebuild is segfaulting
<alienpirate5> specifically it's a segfault within bash
<alienpirate5> i looked at the coredump but it doesn't have debug symbols enabled
<{^_^}> [nixpkgs] @Mic92 merged pull request #107440 → beam-modules: add fetch-mix-deps → https://github.com/NixOS/nixpkgs/pull/107440
oldandwise has joined #nixos
<alienpirate5> seems like the nix commands are all working fine, but bash is segfaulting
<{^_^}> [nixpkgs] @Mic92 merged pull request #112357 → libthai: fix cross compilation → https://github.com/NixOS/nixpkgs/pull/112357
<{^_^}> [nixpkgs] @ehmry merged pull request #112239 → umurmur: 0.2.17 -> 0.2.19 → https://github.com/NixOS/nixpkgs/pull/112239
<{^_^}> [nixpkgs] @ehmry merged pull request #112232 → toxic: 0.10.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/112232
<{^_^}> [nixpkgs] @ehmry merged pull request #112168 → pioneer: 20200203 -> 20210203 → https://github.com/NixOS/nixpkgs/pull/112168
<{^_^}> [nixpkgs] @ehmry merged pull request #112035 → privoxy: 3.0.30 -> 3.0.31 → https://github.com/NixOS/nixpkgs/pull/112035
<alienpirate5> .. i think I fixed it
<alienpirate5> by manually running `nix-build` and then sourcing the generated activation script as root
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112372 → python37Packages.cvxpy: 1.1.8 -> 1.1.10 → https://github.com/NixOS/nixpkgs/pull/112372
<{^_^}> [nixpkgs] @roberth opened pull request #112373 → [20.09] Staging next → https://github.com/NixOS/nixpkgs/pull/112373
<{^_^}> [nixpkgs] @prusnak opened pull request #112374 → tor: 0.4.4.6 -> 0.4.4.7 → https://github.com/NixOS/nixpkgs/pull/112374
<{^_^}> [nixpkgs] @ehmry merged pull request #111893 → fldigi: 4.1.17 -> 4.1.18 → https://github.com/NixOS/nixpkgs/pull/111893
Qwerky has joined #nixos
thelounge52 has joined #nixos
Jd007 has quit [Quit: Jd007]
larrym has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #112356 → 0verkill: init at 2011-01-13 → https://github.com/NixOS/nixpkgs/pull/112356
ahmedelgabri has quit [Quit: WeeChat 3.0.1]
ATuin has joined #nixos
<larrym> Hi, I've been trying to install a system-wide gcov package into a nixos-vm but can't find out how to do it.  It seems that almost any nix-shell has it as a part of stdEnv, but I'm struggling with installing it system-wide
<{^_^}> [nixpkgs] @ehmry merged pull request #109953 → ding: 1.8.1 -> 1.9 → https://github.com/NixOS/nixpkgs/pull/109953
ahmedelgabri has joined #nixos
thelounge52 has quit [Ping timeout: 240 seconds]
<larrym> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<{^_^}> [nixpkgs] @ehmry merged pull request #109064 → abuse: init at 0.8 → https://github.com/NixOS/nixpkgs/pull/109064
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/279e66e1067 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
* alienpirate5 uploaded an image: Screenshot from 2021-02-08 00-51-58.png (36KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/HyPuTPDUuXvyXYdOnpPFcZgg/Screenshot from 2021-02-08 00-51-58.png >
<alienpirate5> that did not work
<alienpirate5> i don't understand
<alienpirate5> how did it become this broken
<alienpirate5> i thought this was meant to be impossible under nixos
<lovesegfault> larrym: hey
<lovesegfault> so, why are you trying to install something system wide?
lord| has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112375 → python37Packages.docplex: 2.19.202 -> 2.20.204 → https://github.com/NixOS/nixpkgs/pull/112375
alexherbo2 has joined #nixos
<larrym> hey
<larrym> I'm trying to build a standalone VM to take away from the internet with all the tools I need, which is why nix-shell doesn't work for my case
<larrym> More specifically, I'm using nixos-generators to produce a vagrant-virtualbox image
<lovesegfault> Ah, I see
<lovesegfault> you want `environment.systemPackages`
lord| has joined #nixos
<lovesegfault> in the nixos config
<lovesegfault> also: man configuration.nix is handy
<larrym> right, I have many things installed there, but I don't actually see a gcov package
<larrym> but when I nix-shell, it seems like stdenv kicks in and I _do_ have gcov.  But I can't seem to install stdenv system wide (if that makes sense)
<adisbladis> gcov is a part of the gcc derivation
<lovesegfault> ,locate gcov
<{^_^}> Found in packages: libgccjit, linux.dev, linux-rt.dev, gcc-unwrapped, linux-libre.dev, linux_mptcp.dev, linux-rt_5_6.dev, linux_testing.dev, linux_mptcp_94.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_8.kernel.dev, linuxPackages_5_9.kernel.dev, linuxPackages_zen.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_19.kernel.dev, linuxPackages_hardened.kernel.dev, linuxPackages_xen_dom0.kernel.dev, and 6 more
s7evink[m] has quit [Quit: Idle for 30+ days]
spinlock[m] has quit [Quit: Idle for 30+ days]
<larrym> hmm, I have gcc in my `environment.systemPackages` but no gcov...
<adisbladis> larrym: It's in gcc-unwrapped
<lovesegfault> try `linux.dev` or `gcc-unwrapped`?
<adisbladis> Though I still think you're doing something wrong adding compilers system-wide
<lovesegfault> ^^^
<adisbladis> You're unlikely to get your desired result
<lovesegfault> ^^^^^
<lovesegfault> adisbladis++
<{^_^}> adisbladis's karma got increased to 133
<larrym> ok, can you recommend a better approach?
naivesheep has quit [Read error: Connection reset by peer]
thc202 has joined #nixos
<lovesegfault> What are you planning on using this image for?
naivesheep has joined #nixos
<larrym> C/C++ development using Linux tools on a windows machine.  Eventually CI
<larrym> but no internet access
vrinek has joined #nixos
<adisbladis> I think you'll still want to use nix-shell
<adisbladis> Just make sure ahead of time that all your required packages are included in the image
<lovesegfault> does `nix-shell` have `--offline` these days?
<larrym> OK.  How do I do that besides adding them to `environment.systemPackages`?
<adisbladis> No, but you could "trick" them into being in the system closure
<adisbladis> (pkgs.mkShell {}).overrideAttrs(_: { nobuildPhase = "touch $out"; })
<adisbladis> Something like this (with your added inputs of course)
<adisbladis> (pkgs.mkShell { buildInputs = [ ]; }).overrideAttrs(_: { nobuildPhase = "touch $out"; })
<adisbladis> You could stick those in environment.systemPackages
<adisbladis> And then enter a nix-shell inside the VM without networking
<larrym> Hmm OK.  I'm trying to wrap my head around what that would buy me.  I'm familiar with using nix-shell for development environments on internet connected machines so I can have many isolated environments, but for this single-purpose VM it's less obvious to me what the advantage is
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112284 → terraform-providers.shell: uses default model → https://github.com/NixOS/nixpkgs/pull/112284
<adisbladis> larrym: nix-shell runs the appropriate hooks to get environment variables set up
<lovesegfault> afaict you gain a lot by just using using something with the right hooks and so on
<lovesegfault> you type so fast adisbladis
<adisbladis> The fastest
<lovesegfault> gotta put some fishing weights on your fingers so this feels fair :P
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #111295 → zinit: 2.3 -> 3.7 → https://github.com/NixOS/nixpkgs/pull/111295
<larrym> Hmm, what variables would those be? I manually set CC, CXX with my build and I'm not using any system libraries other than libc which seems to work without a nix-shell
<adisbladis> larrym: A bunch of Nix specifics too
<adisbladis> Like NIX_LDFLAGS
orivej has joined #nixos
<adisbladis> larrym: Let's just say development with Nix provided tooling / libs is not going to be fun outside of a nix-shell
<lovesegfault> it's IME the difference between stuff just working and it being an nightmare to get things to work
jani_ has joined #nixos
<adisbladis> ^^^
thelounge52 has joined #nixos
<adisbladis> Yeah, I wouldn't even attempt doing dev outside of nix-shell
jani_ has quit [Client Quit]
<larrym> haha I guess I'm kind of "getting away with it" because my basic little project doesn't have any system library dependencies
<{^_^}> [nixpkgs] @saschagrunert opened pull request #112376 → kustomize: 3.9.2 -> 3.9.3 → https://github.com/NixOS/nixpkgs/pull/112376
<adisbladis> Yeah, sounds like it
<larrym> fwiw, I don't plan to ever need system libraries either.  These are programs that will eventually be cross compiled for no-os embedded systems, so I have to build all the source myself regardless
<larrym> I don't plan to build any of that directly with nix anytime soon either, because there are other non-nix users who need to be able to build it as well
thelounge52 has quit [Ping timeout: 264 seconds]
<larrym> I'm a few minutes from trying a VM with gcc-unwrapped in systemPackages, I can try overriding mkShell next I suppose
malook has quit [Quit: malook]
<{^_^}> [nixpkgs] @fabaff opened pull request #112377 → python3Packages.praw: 7.1.3 -> 7.1.4 → https://github.com/NixOS/nixpkgs/pull/112377
<larrym> well gcc-unwrapped worked, thanks!
<larrym> so for overriding mkShell, I would use the snippet you gave in my `systemPackages` and then inside the vm would I could write any `shell.nix` with a subset of the `buildInputs` I gave in `systemPackages` and it will work without needing the internet?
Taneb has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #112378 → python3Packages.pyairvisual: 5.0.5 -> 5.0.6 → https://github.com/NixOS/nixpkgs/pull/112378
<lovesegfault> larrym: Yeah, I expect that to work!
<adisbladis> Yeah, that was roughly the idea
<adisbladis> The main thing is that you don't want nix-shell tooling on the system-wide $PATH
<adisbladis> And you want the setup hooks that nix-shell does for working includes/linking
Taneb has quit [Client Quit]
Taneb has joined #nixos
<larrym> Yes, I think I can see how that's generally good advice.  I don't think for my weird little edge case its going to matter too much, since I'm only ever going to compile everything from scratch, but I'll give it a shot!
<larrym> thanks for all your help so far adisbladis and lovesegfault!  I'll chime back in in a few with some more `nix-shell` questions most likely :)
<lovesegfault> np :)
sss2 has quit [Quit: Leaving]
fendor has joined #nixos
sigmundv__ has joined #nixos
<shla> hi, wouldn't be good idea moving those -{^_^} notifications to a dedicated read-only channel?
sangoma has quit [Ping timeout: 256 seconds]
<adisbladis> shla: I like them popping up in the main channel
<adisbladis> Sometimes they become the basis of discussion
<adisbladis> And just purely as a "marketing tool", they show newcomers how active the project really is
<jawr> im impressed how high the pull request index is
<shla> me too.
<jawr> highest on github?
<etu> shla: I really like {^_^} announces, I've more than once found out that things are packaged that I didn't know about :)
<etu> shla: You can always filter it in your IRC client :)
<adisbladis> jawr: I think maybe kubernetes beats us
<adisbladis> But yeah, we hit a lot of scaling problems with github :P
<adisbladis> That very few projects hit
<jawr> they seem to be @ 98853
<shla> etu, good point, although not sure if ignore list works on notices
<adisbladis> Alright, we have a lot more PRs than k8s
<etu> shla: You can ignore notices all together :)
<shla> i'll try that.
<jawr> flying in to the lead
<adisbladis> I think maybe you're right
thelounge52 has joined #nixos
hiro98 has joined #nixos
<lovesegfault> Only two states for a package: "I cannot believe someone put this in nixpkgs" and "How is it possible no one put this in nixpkgs"
<adisbladis> Huh
<adisbladis> At this pace we're gonna have more commits than the kernel at some point
<jawr> running in to issues with nix-env/nix search on a 2gb vm was a little disconcerting
<jawr> as a newbie
<shla> jawr, same here, I even refused to believe in that for a moment.
pjt_tmp has quit [Ping timeout: 264 seconds]
<lovesegfault> we're closing in to 300,000, right?
<adisbladis> Yeah
<jawr> but groking nixops is making up for it
<adisbladis> It wasn't that long ago since it was 100k O.o
<lovesegfault> I took a screenshot of when it was 200k
<etu> lovesegfault: 268k ._., so almost there.
<lovesegfault> it's in my twitter somewhere
<adisbladis> lovesegfault: Wasn't that last year sometime?
<lovesegfault> nov 1 2019
<lovesegfault> god, 2020 really was a flash wasn't it?
<lovesegfault> feels like yesterday that I tweeted
<lovesegfault> *tweeted that
<adisbladis> 2020 was odd
<adisbladis> Both slow and fast
<energizer> shla: i "ignore" mask = {^_^}!*@* type = 2 which blocks the feed notifications but retains the other stuff
<shla> as I understand lots of those PRs are automated
<shla> like bumping package's minor version and running tests
<energizer> but it would be easier if they were two different bots so you could ignore the feed one
<shla> energizer, thanks, I'll try that, not sure how to specify type
<adisbladis> shla: Yeah, probably the bulk are automated atm
<adisbladis> Which is great, package bumps are boring grunt work
<lovesegfault> yeah
<energizer> shla: mine's in hexchat's ignore.conf. not sure how to do it in other clients
<shla> my point was is that it is affecting number of PRs heavily :)
<shla> and it's not a good indicator of community involvement.
<lovesegfault> they're still reviewed and merged by community members
<adisbladis> Usually these stats are summed up at nixcon
<lovesegfault> there's no auto-merging
thelounge52 has quit [Ping timeout: 264 seconds]
<adisbladis> And bot PRs are excluded from the count
<s1341> hi all
<s1341> so i'm trying to cross compile protobuf-c.
<terinjokes> Its not March 2020 anymore? *shocked*
<s1341> and i consistently get errors at link time about 2-nd degree library dependencies being missing.
<s1341> for e.g., if i'm trying to link with -lprotoc, i get an error about libprotobuf.so being missing, even though it is in the link path (as specified by -Ls)
sangoma has joined #nixos
<s1341> i get this kind of error:
<s1341> /nix/store/08s05g0wr32vmrc9d6gw9y0swy6mgjb5-ndk-toolchain-binutils/bin/aarch64-linux-android-ld: warning: libprotobuf.so, needed by /nix/store/znz3gygll7yjf67ibfzmf4slsqmrwcpc-protobuf-3.14.0-aarch64-unknown-linux-android/lib/libprotoc.so, not found (try using -rpath or -rpath-link)
oldandwise has quit [Quit: leaving]
<s1341> this is the link command:
<s1341> as you can see, it's even resolved the libprotobuf.so... so why is it saying it can't find it?
oldandwise has joined #nixos
<s1341> anyone?
oldandwise has quit [Client Quit]
Maxdamantus has quit [Ping timeout: 264 seconds]
oldandwise has joined #nixos
Maxdamantus has joined #nixos
m0rphism1 has joined #nixos
oldandwise has quit [Quit: leaving]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
sangoma has quit [Ping timeout: 264 seconds]
ambro718 has joined #nixos
<larrym> so putting a `mkShell` call in my `systemPackages` leads to this error:  "A definition for option `environment.systemPackages.[definition 1-entry 31]' is not of type `package'."
AlpineLlama96 has joined #nixos
<siraben> s1341: are you using the cross infrastructure?
<siraben> nixpkgs has infra to cross-compile the entire build graph of a package
oldandwise has joined #nixos
<siraben> > pkgsCross.remarkable1.hello
<{^_^}> "<derivation /nix/store/vfnddcz23pyb727ffcyvxwzq1shwkf25-hello-2.10-armv7l-unknown-linux-gnueabihf.drv>"
<siraben> s1341: what system are you trying to cross-compile to?
<AlpineLlama96> Hey guys I'm having some trouble with ssh. The daemon only seems to run when my main user logs in. I'd like it to start at boot. I currently have   services.openssh.enable = true; set in my configuration.nix
<AlpineLlama96> is there any way to change this?
<s1341> siraben: yes. i'm using the crossSystem infrastructure.
<siraben> you shouldn't be putting a mkShell in your systemPackages...
oldandwise has quit [Client Quit]
<siraben> it's not a package
<siraben> s1341: instead you want somethign like this https://github.com/cleverca22/thermostat_firmware/blob/master/default.nix
<larrym> it's for a specific reason, adisbladis and lovesegfault were advising me to do it this way
oldandwise has joined #nixos
<siraben> ah
<larrym> I'm building a vm for offline use, but I need a c/c++ development env.  Trying to get nix-shell to work offline
<s1341> siraben: I don't undesrtand... I'm trying to create a nix-shell where I can link my own code against protobuf-c....
<siraben> s1341: Nix will handle the linking etc for you
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
<siraben> s1341: can you paste your default.nix or shell.nix files at the moment?
<s1341> sure... one sec.
<siraben> s1341: and how are you building it?
cole-h has quit [Ping timeout: 256 seconds]
<s1341> just with nix-shell.
<siraben> what commands in nix-shell?
<siraben> hmm, you already seem to have automake, pkg-config etc. won't mkDerivation work?
Lord_of_Life_ has joined #nixos
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #112380 → python37Packages.gtts: 2.2.1 -> 2.2.2 → https://github.com/NixOS/nixpkgs/pull/112380
<s1341> siraben: how do you mean? it works except for the issue i described with missing libraries.
<larrym> adisbladis lovesegfault : adding some extra parenthesis got me a little further but now I hit this: these derivations will be built:
<larrym>   /nix/store/iy14c07ki18bda5azgibq1rfk9vm98m1-nix-shell.drv
<larrym>   /nix/store/ip93kln2dm0kcs58x7yzn4z859m1fwl3-system-path.drv
<larrym>   /nix/store/ak6kr5qbfrc8070vc4h1pf77af6nrv3w-dbus-1.drv
<larrym>   /nix/store/30zbz1yhxapkfsafmbajlrsrzi6davf2-unit-dbus.service.drv
<siraben> in my experience with the cross infra, especially with cmake, automake-based packages, the dependencies are resolved correctly.
<larrym>   /nix/store/js10mmgnvqkhv7jgwq72bpi30cprak2a-unit-polkit.service.drv
<larrym>   /nix/store/kp5q76csnw83qk703410xfr7lslxzili-unit-systemd-fsck-.service.drv
<larrym>   /nix/store/0mvxv9wyf72ad126s6sq1n0nww6anw0h-system-units.drv
<larrym>   /nix/store/imwvz0p3asrf8icqc1646ivhckdgig74-unit-dbus.service.drv
<larrym>   /nix/store/wmkxp9gflg8yn4b4vdaacifwmshg59gm-user-units.drv
<larrym>   /nix/store/a49d0dkshx68hlfzz0x4f0573rihvn6n-etc.drv
<larrym>   /nix/store/iyv2ddwqsi09w38pyw794nfmmn558saj-nixos-system-nixos-21.03pre-git.drv
<larrym>   /nix/store/kibzdbzxglp72j6xp9kh986nqfnj6mgv-closure-info.drv
<larrym>   /nix/store/djrfy3ab8xa3rb52gzcryb148sdkkqv3-nixos-ova-21.03pre-git-x86_64-linux.drv
<larrym>   /nix/store/hairhbj3gz1lwnrs91h50qb5p55nimw9-virtualbox-vagrant.box.drv
<larrym> building '/nix/store/iy14c07ki18bda5azgibq1rfk9vm98m1-nix-shell.drv'...
<siraben> larrym: please don't paste
<larrym> nobuildPhase
<larrym> building '/nix/store/ip93kln2dm0kcs58x7yzn4z859m1fwl3-system-path.drv'...
<larrym> sorry, how do I make the snippet work?
<siraben> use paste.debian.net or similar
<larrym> ok, will do
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<siraben> s1341: what commands are you running in the nix shell?
mallox has quit [Quit: WeeChat 3.0]
<s1341> the nix-shell doesn't pop, because the protobuf-c doesn't manage to compile succesfully.
<s1341> @siraben
<siraben> ok, hm.
thelounge52 has quit [Ping timeout: 240 seconds]
<s1341> siraben i'm using my own custom-patched androidndks because the existsing one didn't work... So it's possible I've done something wrong there...
<siraben> I wonder if that .overrideDerivation is clobbering the old linker flags
<s1341> siraben: no... it adds them...
<siraben> oh I was looking at protobuf_with_log
<s1341> and even without it it doesn't make a difference...
<s1341> protobuf_with_log builds successfully.
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #112381 → httpie: 2.2.0 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/112381
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #102466 → httpie: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/102466
larrym has quit [Quit: Ping timeout (120 seconds)]
AlpineLlama96 has quit [Quit: Ping timeout (120 seconds)]
<s1341> siraben: would you like to see the modified androidndks?
hugolgst has joined #nixos
<hugolgst> hey guys
<hugolgst> do you know if I can start like a linter job on hydra?
BaughnLogBot has quit [Ping timeout: 264 seconds]
<siraben> s1341: might be relevant, sure
AlpineLlama7 has joined #nixos
AlpineLlama7 has quit [Client Quit]
BaughnLogBot has joined #nixos
<s1341> @siraben
<siraben> s1341: er, could you diff it against the one in nixpkgs?
larrym has joined #nixos
<siraben> hmm, cc Ericson2314
<s1341> yeah Ericson2314 hasn't been around in a few days.
<siraben> I don't know the android cross well enough to see what's going wrong
<s1341> ok.
<s1341> i guess i'll have to wait for ericnoan
<s1341> woops.. Ericson2314
<{^_^}> [nix] @garbas pushed to add-stale-bot « Auto closing issues/PRs after 1year. »: https://git.io/JtVMa
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @WilliButz merged pull request #112351 → nixos/prometheus-nginx-exporter: only create service if nginx exporter is enabled → https://github.com/NixOS/nixpkgs/pull/112351
respawn_ has joined #nixos
fendor_ has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
hugolgst has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @prusnak merged pull request #112374 → tor: 0.4.4.6 -> 0.4.4.7 → https://github.com/NixOS/nixpkgs/pull/112374
kini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @prusnak opened pull request #112382 → [20.09] tor: 0.4.4.6 -> 0.4.4.7 → https://github.com/NixOS/nixpkgs/pull/112382
<{^_^}> [nixpkgs] @etu merged pull request #112174 → php: 7.3.27, 7.4.15, 8.0.2 → https://github.com/NixOS/nixpkgs/pull/112174
srk has quit [Remote host closed the connection]
jb55 has quit [Remote host closed the connection]
kini has joined #nixos
jb55 has joined #nixos
srk has joined #nixos
thelounge52 has joined #nixos
m4ts has joined #nixos
Sascha[m]1 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz pushed commit from @logan12358 to release-20.09 « nixos/prometheus-nginx-exporter: only create service if nginx exporter is enabled »: https://git.io/JtVyf
m4tsa_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #112383 → trivy: 0.15.0 -> 0.16.0 → https://github.com/NixOS/nixpkgs/pull/112383
thelounge52 has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #112384 → mkvtoolnix: 51.0.0 -> 53.0.0 → https://github.com/NixOS/nixpkgs/pull/112384
<{^_^}> [nixpkgs] @dotlambda merged pull request #111330 → libav: mark as insecure → https://github.com/NixOS/nixpkgs/pull/111330
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #111624 → nixos/thinkfan: rewrite for 1.2 update → https://github.com/NixOS/nixpkgs/pull/111624
<s1341> ok. i managed to get rid of that error, but protobuf-c is still not creating a libprotobuf-c.so
<s1341> siraben: and I can't see any code in the makefiles to make a .so...
<s1341> or is that some libtool magic?
sangoma has quit [Ping timeout: 240 seconds]
eyJhb has quit [Remote host closed the connection]
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
<{^_^}> [nixpkgs] @roberth opened pull request #112385 → systemd.services.*.startLimitBurst: minimal backport → https://github.com/NixOS/nixpkgs/pull/112385
dev_mohe has joined #nixos
lsix has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
zupo has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #112386 → [staging] perlPackages. → https://github.com/NixOS/nixpkgs/pull/112386
zebrag has joined #nixos
jb55 has quit [Ping timeout: 268 seconds]
fuiltilt has quit [Quit: WeeChat 2.9]
jb55 has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #108709 → [staging-20.09] openblas: 0.3.10 -> 0.3.12 → https://github.com/NixOS/nixpkgs/pull/108709
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
<{^_^}> [nixpkgs] @ronthecookie opened pull request #112387 → zoom-us: 5.5.6981.0202 -> 5.5.7011.0206 → https://github.com/NixOS/nixpkgs/pull/112387
jimmie_ has joined #nixos
jimmie_ has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
thelounge52 has joined #nixos
jimmie_ has joined #nixos
jimmie_ has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/18a8ea7b474 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
vidbina has quit [Ping timeout: 240 seconds]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mkg20001 opened pull request #112388 → *: sha256 = sha256-.. => hash = sha256-.. → https://github.com/NixOS/nixpkgs/pull/112388
thelounge52 has quit [Ping timeout: 256 seconds]
meh` has joined #nixos
<eyJhb> Can anyone try to run `nix-shell -p discord --run 'Discord'`? I STILL get a blank screen
<s1341> @siraben: it looks like a package failure...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ronthecookie> rmcgibbo[m]: thanks :D
lsix has quit [Ping timeout: 258 seconds]
<aforemny> eyJhb: Works here (recent nixpkgs-unstable channel). It downloads some stuff to ~/.config/discord and then shows login screen.
kmein has quit [Quit: ciao kakao]
<adisbladis> larrym: Hm, tried surrounding it with parens?
kmein has joined #nixos
<eyJhb> aforemny: What revision of the channel are you on? nix-info
<adisbladis> eyJhb: Tried nuking all the local state and starting over?
<eyJhb> I nuke all my local state at each reboot! :( It haven't worked for months atm.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #111791 → agate: init at 2.3.0 → https://github.com/NixOS/nixpkgs/pull/111791
<eyJhb> Tried to nuke ~/.config/discord, not sure where else it hides stuff
__monty__ has joined #nixos
<adisbladis> Probably .local/share and a few other places
<eyJhb> I can only find stuff in ~/.config/discord... Deleting that and starting it will yet again download it all, and then blank
<adisbladis> But if you nuke your state at boot, then it's probably not it
<ronthecookie> eyJhb: strace?
oldandwise has quit [Quit: leaving]
<eyJhb> Yeah might try that
<eyJhb> But strace on chromium will SUUUUCK :D
<ronthecookie> yep
<adisbladis> Mmm, strace on javascript...
<adisbladis> poll/select all over the place
<eyJhb> The only thing that Discord gives me is this `(node:17128) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.`
<eyJhb> Full output is - https://termbin.com/fcxyi
<eyJhb> Looking at strace now
<eyJhb> OHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
<adisbladis> Yeah, that's just a warning from the js runtime
<eyJhb> I might know why.
<adisbladis> No biggie
<eyJhb> AHA! I got it
<eyJhb> I blame gchristensen for introducing me to NOEXEC \s :p
<eyJhb> Weird that it doesn't give any errors...?
<adisbladis> lol
<adisbladis> That sounds strange though
<adisbladis> What is discord downloading and executing like that ?
<adisbladis> There should be a way to wrap that up in the discord package
<adisbladis> I think at least
<eyJhb> There is
<adisbladis> Idk, discord be crazy
<eyJhb> But I think they update it quite often
<adisbladis> Discord is really a prime example of how not to do software distribution
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112009 → python3Packages.docutils: add licensing details → https://github.com/NixOS/nixpkgs/pull/112009
<eyJhb> It tries to read the files - https://termbin.com/izgu
<adisbladis> eyJhb: That's not exec though
<eyJhb> No no, that is just downloading stuff
<eyJhb> It downloads then execs something in there
<adisbladis> I'd stay very, very far away from software doing that...
<eyJhb> Eh...
<adisbladis> The security claxon goes off
<eyJhb> Lets play a game of would you rather
<eyJhb> Would you rather use Teams or Discord?
<ronthecookie> adisbladis: it makes sense on the windows build
<ronthecookie> the fact that we even have *any* linux build for discord is pretty cool
<adisbladis> eyJhb: I mean just run either in your normal browser?
sangoma has quit [Read error: Connection reset by peer]
<eyJhb> I currently run Discord in my browser
<eyJhb> But it annoys me for some reason :p
<adisbladis> ronthecookie: For sure, I'm not critiquing anyone working on nixpkgs here
<adisbladis> Just how Discord does software is super strange
<eyJhb> Quite common
<eyJhb> Steam does the same I think?
<ronthecookie> i wasn't talking about the nixpkgs build
<ronthecookie> discord's build
<adisbladis> Right, it makes sense on windows because they don't realy have package management?
<ronthecookie> yep and users are lazy
thelounge52 has joined #nixos
<eyJhb> But is anything holding us back from packaging these binaries WITH Discord??
<ronthecookie> i believe they update quite quickly and don't really care about API backwards compat
<adisbladis> I've heard the same
<ronthecookie> in fact someone got banned for using an old api endpoint
<eyJhb> That's also my thought...
<eyJhb> Lol
<adisbladis> Maybe Discord would make more sense outside of nixpkgs with an updater bot
<eyJhb> I once got banned from Diablo II for running it in window mode
<adisbladis> I think that's true for a lot of proprietary software tbh
<eyJhb> The ban still stands to this day.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112355 → iconpack-jade: 1.24 -> 1.25 → https://github.com/NixOS/nixpkgs/pull/112355
mtr has joined #nixos
<{^_^}> [nixpkgs] @oxalica opened pull request #112389 → rust-analyzer: 2021-02-01 -> 2021-02-08 → https://github.com/NixOS/nixpkgs/pull/112389
thelounge52 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ilian opened pull request #112390 → nixos/hypervGuest: add Microsoft Synthetic Keyboard driver → https://github.com/NixOS/nixpkgs/pull/112390
gxt has joined #nixos
<madonius[m]> Hi, I am currently trying to install my python foo in one file
<madonius[m]> If I do it with `with pkgs.python3.pkgs; [` I can no longer install python3 and if I do it `with pkgs` I have a lot of typing to do
<madonius[m]> is there an elegant solution?
<madonius[m]> or do I have to stick with installing python3 elsewhere?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c538a83d7cc (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/18a8ea7b474 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @petabyteboy merged pull request #111196 → pythonPackages.fonttools: 4.18.2 -> 4.19.1 → https://github.com/NixOS/nixpkgs/pull/111196
<adisbladis> madonius[m]: What's the context? How are you using this?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112387 → zoom-us: 5.5.6981.0202 -> 5.5.7011.0206 → https://github.com/NixOS/nixpkgs/pull/112387
<ronthecookie> madonius[m]: you can have a normal `pkgs.python3` in there i think
<ronthecookie> it's weird
<Rovanion> I'm trying to package a Go module, but its failing during the check phase. Using `nix-build $NIXPKGS --run-env -A prometheus-slurm-exporter` I can get an environment populated with the functions that belong to a generic build. Is it possible to get shell/environment populated with the functions/phases that are used during a buildGoModule build?
<{^_^}> [nixpkgs] @zhenyavinogradov opened pull request #112391 → nixos/oauth2_proxy_nginx: specify hostname in X-Auth-Request-Redirect → https://github.com/NixOS/nixpkgs/pull/112391
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @regnat pushed 6 commits to ca/store-unresolved-outputs: https://git.io/JtV7T
sangoma has joined #nixos
<jawr> https://nixos.wiki/wiki/Kubernetes#Node says to set kubeMasterAPIServerPort as an integer, but that fails with: cannot coerce an integer to a string,
<jawr> tis a bug, no?
<madonius[m]> Ah ok, will give a whirl ronthecookie
<madonius[m]> thanks
<ronthecookie> np
<madonius[m]> you are right that works ^^'
vidbina has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #112392 → mindustry, mindustry-server: 123.1 -> 124 → https://github.com/NixOS/nixpkgs/pull/112392
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112309 → sharness: Init at 1.1.0-dev → https://github.com/NixOS/nixpkgs/pull/112309
<{^_^}> [nixpkgs] @felixscheinost opened pull request #112393 → jdk11 (darwin): 11.0.1 -> 11.0.9 → https://github.com/NixOS/nixpkgs/pull/112393
<ronthecookie> jawr: it looks like it should work on unstable
<ronthecookie> https://nixos.org/manual/nixos/stable/options.html#opt-services.kubernetes.apiserver.securePort
<ronthecookie> same on stable
<ronthecookie> does sound like a bug then
marsh has quit [Ping timeout: 265 seconds]
<jawr> i think the author might just have copied from the previous config as i did. master requires an int, the node a string
marsh has joined #nixos
<DigitalKiwi> ls -d /tmp/nix-shell-*/|wc -l
<DigitalKiwi> 9662
<DigitalKiwi> huh
<DigitalKiwi> what are those
<{^_^}> [nixpkgs] @turion opened pull request #112394 → vscode/vscodium: Add integration test → https://github.com/NixOS/nixpkgs/pull/112394
lsix has joined #nixos
<DigitalKiwi> other than growing in number
<eyJhb> Folders
<eyJhb> Hmm. weird? Might be intereupted nix-shell sessions that did not get to close
thelounge52 has joined #nixos
<DigitalKiwi> also have a lot of nixops-ssh-tmp* and nixops-tmp*
meaz has joined #nixos
<DigitalKiwi> and /tmp/tmp.*
kini has quit [Remote host closed the connection]
<DigitalKiwi> so those are hledger
<adisbladis> DigitalKiwi: Those are probably orphaned master socket files
<adisbladis> DigitalKiwi: Is this on nixops2?
<DigitalKiwi> adisbladis: yeah
kini has joined #nixos
thelounge52 has quit [Ping timeout: 264 seconds]
<adisbladis> Could you report an issue?
<adisbladis> There is code to clean up, so it's clearly a bug
<DigitalKiwi> ...while it would not be unlike me to maintain a program i don't use i do use nixops-digitalocean :P
<adisbladis> I know what you mean :P
meaz has quit [Client Quit]
dkibi_ has joined #nixos
dkibi_ has quit [Remote host closed the connection]
dkibi has quit [Remote host closed the connection]
dkibi has joined #nixos
ahmedelgabri has quit [Ping timeout: 258 seconds]
<{^_^}> [nixops] @adisbladis pushed 74 commits to context-manager-states: https://git.io/JtV5i
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ca5bd0e00d2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<DigitalKiwi> https://mostlyabsurd.com/files/nix-shell-10005-0/rc this is the one with over 9000
n-osborne has quit []
<{^_^}> [nixpkgs] @basvandijk opened pull request #112395 → libsemanage: fix build by disabling clobbered warning → https://github.com/NixOS/nixpkgs/pull/112395
<{^_^}> [nixpkgs] @dotlambda opened pull request #112396 → [20.09] libav: mark as insecure → https://github.com/NixOS/nixpkgs/pull/112396
n-osborne has joined #nixos
Qwerky has joined #nixos
ocharles has quit [Ping timeout: 240 seconds]
bradparker has quit [Ping timeout: 240 seconds]
agander_m has quit [Ping timeout: 246 seconds]
HeN has quit [Ping timeout: 246 seconds]
d10n-work has quit [Ping timeout: 246 seconds]
betawaffle has quit [Ping timeout: 240 seconds]
SrPx has quit [Ping timeout: 240 seconds]
joshmeredith has quit [Ping timeout: 240 seconds]
MarkRBM_ has quit [Ping timeout: 264 seconds]
jfhbrook has quit [Ping timeout: 264 seconds]
feepo has quit [Ping timeout: 265 seconds]
lally has quit [Ping timeout: 265 seconds]
theuni has quit [Ping timeout: 265 seconds]
nick_h has quit [Ping timeout: 272 seconds]
rajivr has quit [Ping timeout: 260 seconds]
zot has quit [Ping timeout: 260 seconds]
evck_ has quit [Ping timeout: 260 seconds]
ryjm has quit [Ping timeout: 260 seconds]
fnords has quit [Read error: Connection reset by peer]
sdier has quit [Read error: Connection reset by peer]
prusnak has quit [Read error: Connection reset by peer]
zmacs has quit [Read error: Connection reset by peer]
lesby has quit [Read error: Connection reset by peer]
midchildan has quit [Write error: Connection reset by peer]
zhaofeng has quit [Read error: Connection reset by peer]
thoughtpolice has quit [Read error: Connection reset by peer]
s1341 has quit [Read error: Connection reset by peer]
vdemeester has quit [Read error: Connection reset by peer]
abbe has quit [Read error: Connection reset by peer]
tnks has quit [Read error: Connection reset by peer]
alunduil has quit [Read error: Connection reset by peer]
lightandlight has quit [Read error: Connection reset by peer]
jbetz has quit [Read error: Connection reset by peer]
georgyo has quit [Read error: Connection reset by peer]
omnigoat has quit [Read error: Connection reset by peer]
mankyKitty has quit [Read error: Connection reset by peer]
buggymcbugfix has quit [Read error: Connection reset by peer]
parseval has quit [Read error: Connection reset by peer]
higebu has quit [Read error: Connection reset by peer]
kaychaks has quit [Read error: Connection reset by peer]
dgpratt has quit [Read error: Connection reset by peer]
mpickering has quit [Read error: Connection reset by peer]
acertain has quit [Write error: Connection reset by peer]
grfn has quit [Read error: Connection reset by peer]
jlpeters has quit [Read error: Connection reset by peer]
sorear has quit [Read error: Connection reset by peer]
SanchayanMaity has quit [Read error: Connection reset by peer]
bn_work has quit [Read error: Connection reset by peer]
nh2 has quit [Read error: Connection reset by peer]
bgupta has quit [Read error: Connection reset by peer]
alanz has quit [Write error: Connection reset by peer]
gluegadget has quit [Read error: Connection reset by peer]
bitmapper has quit [Read error: Connection reset by peer]
pasukon has quit [Read error: Connection reset by peer]
mgsk has quit [Read error: Connection reset by peer]
pingveno has quit [Read error: Connection reset by peer]
r0bby has quit [Read error: Connection reset by peer]
<ronthecookie> holy irccloud outages
<meh`> lmao
bradparker has joined #nixos
vdemeester has joined #nixos
mitsuhiko has joined #nixos
jlpeters has joined #nixos
ryjm has joined #nixos
lally has joined #nixos
cstrahan has joined #nixos
jmercouris has quit [Ping timeout: 265 seconds]
cz3 has joined #nixos
sorear has joined #nixos
betawaffle has joined #nixos
dmj` has joined #nixos
chrisaw has joined #nixos
s1341 has joined #nixos
jfhbrook has joined #nixos
sudocurse has joined #nixos
higebu has joined #nixos
joshmeredith has joined #nixos
grfn has joined #nixos
ajmcmiddlin has joined #nixos
sam_w has joined #nixos
evck_ has joined #nixos
yrashk has joined #nixos
lukego has joined #nixos
davidtwco_ has joined #nixos
prusnak has joined #nixos
alunduil has joined #nixos
emilazy has joined #nixos
nh2 has joined #nixos
ocharles has joined #nixos
pasukon has joined #nixos
eddyb[legacy] has joined #nixos
ahmedelgabri has joined #nixos
SrPx has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #112397 → clipcat: 0.4.19 -> 0.5.0 → https://github.com/NixOS/nixpkgs/pull/112397
<ronthecookie> and they're all back!
bn_work has joined #nixos
mankyKitty has joined #nixos
sdier has joined #nixos
georgyo has joined #nixos
agander_m has joined #nixos
jbetz has joined #nixos
rajivr has joined #nixos
SanchayanMaity has joined #nixos
abbe has joined #nixos
alanz has joined #nixos
MarkRBM_ has joined #nixos
pingveno has joined #nixos
illustris has joined #nixos
steveeJ has joined #nixos
mgsk has joined #nixos
omnigoat has joined #nixos
englishm_ has joined #nixos
r0bby has joined #nixos
CustosLimen has joined #nixos
zhaofeng has joined #nixos
fnords has joined #nixos
adamse has joined #nixos
bitmapper has joined #nixos
d10n-work has joined #nixos
HeN has joined #nixos
hugolgst has joined #nixos
<hugolgst> hey guys
<hugolgst> running nix-linter I get a Unused Argument "self" on an overlay
<hugolgst> any idea on how I could solve that?
lesby has joined #nixos
zmacs has joined #nixos
thoughtpolice has joined #nixos
nick_h has joined #nixos
theuni has joined #nixos
bgupta has joined #nixos
parseval has joined #nixos
buggymcbugfix has joined #nixos
zot has joined #nixos
robmyers has joined #nixos
mpickering has joined #nixos
Tritlo has joined #nixos
theuni is now known as Guest99400
<patagonicus> hugolgst: My guess would be to change 'self' to '_', which is normally used as an indicator that that argument is unused. But I'm not very familiar with nix-linter.
feepo has joined #nixos
<hugolgst> thanks a lot
thelounge52 has joined #nixos
<hugolgst> \q
hugolgst has quit [Client Quit]
ahmedelgabri has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @kevung closed pull request #112197 → cockatrice: 2.7.5 -> 2.8.0 → https://github.com/NixOS/nixpkgs/pull/112197
<{^_^}> [nixpkgs] @basvandijk merged pull request #112395 → libsemanage: fix build by disabling clobbered warning → https://github.com/NixOS/nixpkgs/pull/112395
cosimone has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #112314 → kubernetes-helm: 3.4.2 -> 3.5.2 → https://github.com/NixOS/nixpkgs/pull/112314
<{^_^}> [nixpkgs] @kevung opened pull request #112398 → cockatrice: 2.7.5 -> 2.8.0 → https://github.com/NixOS/nixpkgs/pull/112398
kreisys has joined #nixos
hugolgst has joined #nixos
<hugolgst> also, any ideas on how to run nixfmt on all files in a directory?
thelounge52 has quit [Ping timeout: 265 seconds]
scoates has joined #nixos
<hugolgst> recursively
jmercouris has joined #nixos
shericol1234 has joined #nixos
nand0p has joined #nixos
midchildan has joined #nixos
kaychaks has joined #nixos
tnks has joined #nixos
dgpratt has joined #nixos
hamishmack has joined #nixos
lightandlight has joined #nixos
rodarmor has joined #nixos
lvrp16 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #112399 → satysfi: 0.0.5 -> 0.0.6 → https://github.com/NixOS/nixpkgs/pull/112399
<{^_^}> [nixpkgs] @ryantm merged pull request #112126 → exoscale-cli: 1.23.0 -> 1.24.0 → https://github.com/NixOS/nixpkgs/pull/112126
<{^_^}> [nixpkgs] @mweinelt merged pull request #110215 → [20.09] cifs-utils: fix for CVE-2020-14342 → https://github.com/NixOS/nixpkgs/pull/110215
<patagonicus> hugolgst: `find . -name '*.nix' -exec nixfmt -c '{}' +` should do the trick (-c, so it only checks and not formats). '{}' tells find to put the file name here and '+' tells it that it can put multiple args, so it doesn't have to exec a new instance of nixfmt for each file.
acertain has joined #nixos
visl has joined #nixos
raboof has joined #nixos
gluegadget has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #112400 → lxd: 4.10 -> 4.11 → https://github.com/NixOS/nixpkgs/pull/112400
<euandreh> is it safe to just rm -rf ~/.cache/nix/tarballs, so I can invalidate fresh tarballs without needing to tweak with the tarball-ttl config?
<{^_^}> [nixpkgs] @plietar opened pull request #112401 → Add support for cross compiling to ESP MCUs → https://github.com/NixOS/nixpkgs/pull/112401
ManiacOfMadness has joined #nixos
<eyJhb> euandreh: Everything in ~/.cache should generally be considered safe to delete
<eyJhb> Also, I delete ~/.cache/nix all the time. Go ahead, don't think there should be any issues with that.
andreas303 has quit [Quit: andreas303]
<euandreh> eyJhb: ty :)
<eyJhb> Np :)
<eyJhb> I always assume that I can do `rm -rf ~/.cache`, and restart the app
<eyJhb> IF it doesn't work then it is made... badly
<euandreh> agreed, TBH
<euandreh> I did it, but the tarball wasn't re-downloaded
hugolgst has quit [Quit: Lost terminal]
<euandreh> I'll add tarball-ttl 0 to see if it does re-download
* adisbladis uses a tmpfs /
aswanson1 has joined #nixos
<adisbladis> .cache is gone after a reboot
<{^_^}> [nixpkgs] @primeos opened pull request #112402 → python3Packages.cryptography: 3.3.2 -> 3.4.1 → https://github.com/NixOS/nixpkgs/pull/112402
<adisbladis> euandreh: Iirc that's cached by Nix itself
malook has joined #nixos
<eyJhb> Ohh look at me, I am adisbladis , I have more than 16 GB of ram and can use tmpfs \s :D I feel like tmpfs on / and rollback on reboot of / is a trend in NixOS that suddenly got very big
thelounge52 has joined #nixos
kini has quit [Remote host closed the connection]
<euandreh> adisbladis: I guess so. I'll have to do a GC to invalidate an old tarball?
<adisbladis> eyJhb: This laptop only has 16G RAM :/
<euandreh> hmm, GC not needed
rb2k has joined #nixos
larrym has quit [Quit: Connection closed]
<euandreh> the answer is: no need to change the configuration.nix, just adding an option via CLI
<euandreh> sudo nixos-rebuild switch --option tarball-ttl 0
andreas303 has joined #nixos
kini has joined #nixos
<eyJhb> Why do you want to have tarball-ttl 0 ?
<euandreh> actually, running twice doesn't download twice
<euandreh> eyJhb: I have a tarball link like htpps://git.somewhere/archive/master.tar.gz
thelounge52 has quit [Ping timeout: 272 seconds]
<euandreh> eyJhb: if I know master changes, I want the newer version without having to change the commit
<euandreh> is there a better way to do this?
<eyJhb> Change the commit sha
<eyJhb> Or use niv
<eyJhb> Or use a git repo
<eyJhb> Basically anything else
<adisbladis> I'd recommend using some tool like niv to achieve the pinning
<euandreh> I use all of those for public projects, and understand their value. This is for my personal configuration
VulNix has joined #nixos
<eyJhb> Still useful for personal configs as well
<eyJhb> I currently use submodules for my personal config, for all repos I want, but I want to migrate to Niv
<eyJhb> However I love doing dirty patching in my repos that I track, e.g. Nixpkgs
<euandreh> I don't really agree. Similar to how I'm on the nixos-unstable, for some things the version that I want is "just get the latest"
thc202 has quit [Ping timeout: 264 seconds]
<adisbladis> Submodules/subtrees are immensely useful if you intend to hack on nixpkgs
<euandreh> I'm not working on nixpkgs, but on a git repo with an overlay definition on default.nix
<euandreh> for that overlay, I always want to stay on latest
thc202 has joined #nixos
VulNix has quit [Ping timeout: 264 seconds]
<leo60228> what's the bottleneck when copying a closure over ssh? it seems much slower than my network connection or using cache.nixos.org
<leo60228> i think it might be https://github.com/NixOS/nix/issues/2545 actually
<{^_^}> nix#2545 (by Baughn, 2 years ago, open): `nix copy --to ssh://` is slow on high bandwidth, high latency links
<leo60228> so probably not smth i can easily fix/workaround myself
<tpw_rules> you can "manually" export and import the closure
<leo60228> tru
<tpw_rules> it's easy if there's not much in common
<adisbladis> leo60228: The protocol is very chatty
<leo60228> tpw_rules: that worked, though i probably spent more time trying to figure out the right command than `nix copy` would've taken :P
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<leo60228> okay so i just made a bunch of changes to my configuration, did a rebuild, then accidentally deleted the changes
<leo60228> i'm using flakes
<leo60228> is the configuration still in the store somewhere?
VulNix has joined #nixos
<adisbladis> No
hyiltiz has quit [Ping timeout: 264 seconds]
hyiltiz has joined #nixos
<leo60228> adisbladis: you're sure?
<adisbladis> Yes, I'm sure
<leo60228> because i'm pretty sure i just found it with some lucky globbing
<siraben> adisbladis: is it because it's an expression that evaluates to a derivation?
<siraben> so you have the derivation but not the original source
<leo60228> i'm well aware that it would *not* be in there if i wasn't using flakes
<leo60228> but i'm pretty sure the fact that it's a flake makes a difference
<adisbladis> It may be that flake eval mirrors the expression repo
<tpw_rules> it does
<adisbladis> But generally whatever you eval is not in the store
<{^_^}> [nixpkgs] @fabaff opened pull request #112403 → python3Packages.libpurecool: init at 0.6.4 → https://github.com/NixOS/nixpkgs/pull/112403
<leo60228> adisbladis: i know that, i just thought the fact that it *was* a flake might've made a difference
<leo60228> (and it turned out that it did)
<adisbladis> I wonder if this is only true for git flakes
<adisbladis> Or also for path flakes
<tpw_rules> it's true for git repos on the local filesystem
<tpw_rules> i didn't think you could evaluate a flake outside a repo
<leo60228> i recall having thought the same thing then being surprised when i forgot a `git init` in a new project and it worked anyway
<siraben> oh wow it actually does
thelounge52 has joined #nixos
<siraben> I just built the default flake and grepped for A very basic flake in my store
oxalica has joined #nixos
oldandwise has joined #nixos
<leo60228> i just knew my flake had a `systems` directory and i guessed that the store path would be called `source`
<leo60228> so i did `ls -d /nix/store/*source/systems`
thelounge52 has quit [Ping timeout: 272 seconds]
meh` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #112405 → libjack2: fix cross → https://github.com/NixOS/nixpkgs/pull/112405
meh` has joined #nixos
rb2k has quit [Ping timeout: 272 seconds]
Cale has joined #nixos
jonringer has joined #nixos
rb2k has joined #nixos
<aforemny> join #hledger
<aforemny> Oops
Jd007 has joined #nixos
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt merged pull request #112343 → python3Packages.plexapi: 4.1.2 -> 4.3.1 → https://github.com/NixOS/nixpkgs/pull/112343
<{^_^}> [nixpkgs] @ajs124 opened pull request #112406 → php: 7.3.27, 7.4.15 → https://github.com/NixOS/nixpkgs/pull/112406
<{^_^}> [nixpkgs] @mweinelt merged pull request #112363 → python3Packages.anyio: 2.0.2 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/112363
<{^_^}> [nixpkgs] @adisbladis opened pull request #112407 → nixops: Fix build by disabling the libvirt backend → https://github.com/NixOS/nixpkgs/pull/112407
respawn_ has quit [Quit: Leaving]
rb2k has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112389 → rust-analyzer: 2021-02-01 -> 2021-02-08 → https://github.com/NixOS/nixpkgs/pull/112389
hugolgst has joined #nixos
<hugolgst> Hey guys, do you know how could I run a linter on Hydra?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112376 → kustomize: 3.9.2 -> 3.9.3 → https://github.com/NixOS/nixpkgs/pull/112376
zane has left #nixos ["User left"]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112378 → python3Packages.pyairvisual: 5.0.5 -> 5.0.6 → https://github.com/NixOS/nixpkgs/pull/112378
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112383 → trivy: 0.15.0 -> 0.16.0 → https://github.com/NixOS/nixpkgs/pull/112383
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #104772 → mopidy-subidy: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/104772
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112089 → tut: 0.0.14 -> 0.0.17 → https://github.com/NixOS/nixpkgs/pull/112089
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112296 → kbibtex: init at 0.9.2 → https://github.com/NixOS/nixpkgs/pull/112296
dev_mohe has quit [Quit: dev_mohe]
shericol1234 has quit [Quit: Konversation terminated!]
gillesm has joined #nixos
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #112366 → LXDE small modifications → https://github.com/NixOS/nixpkgs/pull/112366
oldandwise has quit [Quit: leaving]
ahmedelgabri has joined #nixos
oldandwise has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #112408 → brscan4: 0.4.8-1 -> 0.4.9-1 → https://github.com/NixOS/nixpkgs/pull/112408
rb2k has joined #nixos
waleee-cl has joined #nixos
thelounge52 has quit [Ping timeout: 260 seconds]
oldandwise has quit [Quit: leaving]
ahmedelgabri has quit [Ping timeout: 260 seconds]
oldandwise has joined #nixos
jmeredith has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ca5bd0e00d2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @maralorn opened pull request #112409 → haskellPackages.haskell-language-server: 0.8.0 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/112409
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #112410 → python3Packages.py-multihash: mark not broken → https://github.com/NixOS/nixpkgs/pull/112410
gxt has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
malook has quit [Quit: malook]
<{^_^}> [nixpkgs] @fabaff opened pull request #112411 → ocrmypdf: 11.3.3 -> 11.6.0 → https://github.com/NixOS/nixpkgs/pull/112411
lycium[m] has quit [Quit: Idle for 30+ days]
mkaito has joined #nixos
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos
MidAutumnHotaru has quit [Ping timeout: 240 seconds]
MidAutumnHotaru has joined #nixos
<{^_^}> [nixpkgs] @mweinelt pushed 18 commits to release-20.09: https://git.io/Jtwvz
<{^_^}> [nixpkgs] @mweinelt merged pull request #112396 → [20.09] libav: mark as insecure → https://github.com/NixOS/nixpkgs/pull/112396
<{^_^}> [nixpkgs] @flokli merged pull request #112405 → libjack2: fix cross → https://github.com/NixOS/nixpkgs/pull/112405
<euandreh> is there an equivalent of 'nix-env -qA hello --json' for packages installed in environment.systemPackages of the NixOS system?
<siraben> Should I use nixpkgs/nixos-20.09 or nixpkgs/release-20.09 in my flakes?
est has joined #nixos
thoben[m] has joined #nixos
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
<hexa-> siraben: nixos-20.09 is the channel
<hexa-> on release-20.09 you might encounter some nasty rebuilds, like firefox
plumm has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #112382 → [20.09] tor: 0.4.4.6 -> 0.4.4.7 → https://github.com/NixOS/nixpkgs/pull/112382
thelounge52 has joined #nixos
evanjs has joined #nixos
thoben[m] has left #nixos ["User left"]
est has quit [Remote host closed the connection]
est has joined #nixos
<siraben> hexa-: ok then
novafacing has joined #nixos
berberman_ has joined #nixos
<novafacing> I was talking to someone else here the other day who was getting an issue with home-manager reporting that "error: attribute 'xdg-utils' missing, at /nix/store/swb2fmp89kgyqi54whv1lngnvwld1a8s-source/modules/programs/newsboat.nix:74:22"
berberman has quit [Ping timeout: 264 seconds]
<novafacing> If you're here I found a workaround lol
<novafacing> Turns out nixpkgs renamed xdg-utils to xdg_utils, you just need to add an overlay that maps xdg-utils to pkgs.xdg_utils
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6dbcdd2bc19 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
est31 has quit [Quit: No Ping reply in 180 seconds.]
thelounge52 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #112380 → python37Packages.gtts: 2.2.1 -> 2.2.2 → https://github.com/NixOS/nixpkgs/pull/112380
davidtwco_ has quit []
davidtwco_ has joined #nixos
davidtwco_ has quit [Client Quit]
davidtwco has joined #nixos
oldandwise has quit [Quit: leaving]
<davidtwco> having an issue on a fresh NixOS install, which I've just put my regular config on whereby firewall fails to start with "another app currently holding xtables lock" and then networkd fails to start with "could not enumerate neighbors: device or resource busy"; any ideas why that might be?
<davidtwco> happens reliably on boot
xelxebar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #112377 → python3Packages.praw: 7.1.3 -> 7.1.4 → https://github.com/NixOS/nixpkgs/pull/112377
<{^_^}> [nixpkgs] @mweinelt merged pull request #112367 → python37Packages.apispec: 4.0.0 -> 4.2.0 → https://github.com/NixOS/nixpkgs/pull/112367
lfam has joined #nixos
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #112369 → python37Packages.bespon: 0.5.0 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/112369
lfam has left #nixos ["Leaving"]
rb2k has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
kini has quit [Remote host closed the connection]
lfam has joined #nixos
<siraben> novafacing: pkgs.xdg_utils is now an alias for pkgs.xdg-utils
slack1256 has joined #nixos
<siraben> as of #111519
<{^_^}> https://github.com/NixOS/nixpkgs/pull/111519 (by siraben, 1 week ago, merged): treewide: xdg_utils -> xdg-utils
<novafacing> siraben: Hmm....on unstable I assume?
<lfam> Hi! I'm curious where the default sysctl flags are configured for NixOS
<siraben> yeah on unstable
kini has joined #nixos
<siraben> like 1 week ago
<lfam> Specifically, I'm trying to figure out where the fs.protected_hardlinks flag is set
<novafacing> Ah yeah I'm on 20.09 (as are I assume a lot of folks) so I didn't notice that, thanks for the note!
<lfam> I noticed that, in the Minimal ISO Image, that flag is set to the non-default option (it's turned on). I'm trying to figure out where this is done in the code
rb2k has joined #nixos
<siraben> novafacing: another change that is quite major is stdenv.lib being deprecated and will be removed in 21.11
<novafacing> Well that's....unfortunate
<novafacing> Is it being replaced by something that provides the same functionality or just going away?
<novafacing> lfam: that repo is private so I can't tell what patch you're referencing
<lfam> Hm, it's private? I'm able to load it without trouble
<lfam> Even while logged out
<novafacing> Oh hah jk
<novafacing> Thunderbird thinks the '>' is part of the url
<lfam> I'm guessing it is that patch. It took me a while to figure it out since grepping protected_hardlinks doesn't match anything in the Nix code
<lfam> Just trying to learn a bit about how the kernels are configured
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112326 → wayfire: 0.6.0 -> 0.7.0 → https://github.com/NixOS/nixpkgs/pull/112326
<lfam> Are those hardening patches always used on NixOS?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112070 → mmtc: init at 0.2.12 → https://github.com/NixOS/nixpkgs/pull/112070
<siraben> novafacing: going away because it was confusing for beginners
<siraben> so you have to write `{ lib, stdenv, ... }` in your expressions now
<siraben> see #108938 for the rationale
<{^_^}> https://github.com/NixOS/nixpkgs/issues/108938 (by siraben, 4 weeks ago, closed): Deprecate use of stdenv.lib across Nixpkgs
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112148 → waypoint: 0.2.0 -> 0.2.1 → https://github.com/NixOS/nixpkgs/pull/112148
<novafacing> Yeah doesn't look like Nix has a configuration for that at all, https://nixos.wiki/wiki/Linux_kernel this might point you in the right direction lfam
<{^_^}> [nixos-homepage] @sheenobu opened pull request #675 → Fix publication dates in xml → https://github.com/NixOS/nixos-homepage/pull/675
<novafacing> siraben: :/ really excited to rewrite literally all my own packages
<siraben> novafacing: it'll still be around for 21.05, you'll just get a trace
<novafacing> Yeah if I can just replace all "stdenv.lib" with "lib" it's not a big deal
<siraben> actually the change can be automated quite well, I've done it for thousands of files in Nixpkgs
<novafacing> Ironically, when I was a newcomer I had the exact confusion the issue addresses so I get it
<novafacing> The real question is can I hack it and just make "stdenv.lib" an alias for "lib" :D
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107659 → python3Packages.typesystem: fix on python3.8 and python3.9 → https://github.com/NixOS/nixpkgs/pull/107659
endformationage has joined #nixos
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112056 → python3Packages.nbsphinx: 0.8.0 -> 0.8.1 → https://github.com/NixOS/nixpkgs/pull/112056
<siraben> novafacing: it is an alias! for now.
<novafacing> Ah gotcha :)
<siraben> yeah I remember being confused why lib had anything to do with stdenv when I got strated
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101179 → vscode-extensions.vadimcn.vscode-lldb: 1.5.3 -> 1.6.1 and refactor → https://github.com/NixOS/nixpkgs/pull/101179
<siraben> s/strated/started
Qwerky has joined #nixos
ahmedelgabri has joined #nixos
hugolgst has quit [Quit: Lost terminal]
amk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107106 → archivy: 0.9.3 -> 1.0.0 → https://github.com/NixOS/nixpkgs/pull/107106
thelounge52 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112084 → python3Packages.pymyq: 2.0.14 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/112084
amk has joined #nixos
growpotkin has joined #nixos
Qwerky has quit [Ping timeout: 264 seconds]
ahmedelgabri has quit [Ping timeout: 240 seconds]
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xrelkd opened pull request #112412 → sccache: 0.2.14 -> 0.2.15 → https://github.com/NixOS/nixpkgs/pull/112412
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JtwUM
<{^_^}> [nixpkgs] @nbraud opened pull request #112413 → mat2: Init at 0.12.0 → https://github.com/NixOS/nixpkgs/pull/112413
hiro98 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #112407 → nixops: Fix build by disabling the libvirt backend → https://github.com/NixOS/nixpkgs/pull/112407
<{^_^}> [nixpkgs] @mweinelt merged pull request #112408 → brscan4: 0.4.8-1 -> 0.4.9-1 → https://github.com/NixOS/nixpkgs/pull/112408
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #112414 → hal-hardware-analyzer: 3.1.9 -> 3.2.5 → https://github.com/NixOS/nixpkgs/pull/112414
slack1256 has quit [Ping timeout: 265 seconds]
<matthewcroughan> Mic92: I can't run your nix-shell env for arduino in a docker container
<matthewcroughan> I know this seems silly, but I'm experimenting, and curious why :P
<matthewcroughan> ** (process:411): ERROR **: 16:38:26.030: main: unshare: Operation not permitted
proofofkeags has joined #nixos
gillesm has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @fabaff opened pull request #112415 → python3Packages.base58: 2.0.1 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/112415
thelounge52 has joined #nixos
shibboleth has joined #nixos
davidv7 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple merged pull request #111357 → nginxModules.spnego-http-auth-nginx-module: init at 16.04.2020 → https://github.com/NixOS/nixpkgs/pull/111357
thelounge52 has quit [Ping timeout: 246 seconds]
lsix has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @kevincox merged pull request #112394 → vscode/vscodium: Add integration test → https://github.com/NixOS/nixpkgs/pull/112394
rajivr has quit [Quit: Connection closed for inactivity]
lfam has left #nixos ["Leaving"]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1b4bf710ae4 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
grawlinson has quit [Quit: SIGTERM]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @qzle opened pull request #112416 → aseq2json: init at 2018-04-28 → https://github.com/NixOS/nixpkgs/pull/112416
lsix has joined #nixos
saschagrunert has quit [Remote host closed the connection]
ATuin has quit [Ping timeout: 240 seconds]
medvid has quit [Ping timeout: 256 seconds]
grawlinson has joined #nixos
<viric> Why some webcams provide two /dev/video? interfaces? the 2nd seems to do nothing
holdenweb has joined #nixos
meh` has quit [Ping timeout: 246 seconds]
nixbitcoin has quit [Remote host closed the connection]
Yaniel has joined #nixos
dsx has quit [Quit: dsx]
jmeredith has quit [Quit: Connection closed for inactivity]
<matthewcroughan> Is there a way to use nix to build an equivalent image to what docker.buildTools would build, but inside the Dockerfile?
oxalica1 has joined #nixos
<matthewcroughan> gchristensen: h
<matthewcroughan> Whoops*
<qyliss> no
<matthewcroughan> I can't believe the power of docker.buildTools, but at the same time, I can't get someone's CI to change this dramatically :D
oxalica has quit [Ping timeout: 272 seconds]
oxalica1 is now known as oxalica
<qyliss> or, well, I suppose you could run Nix inside Docker, and then just copy the image out at the end or something
<qyliss> assuming you can modify whatever runs docker to make it do that
hiro98 has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #112418 → python3Packages.archinfo: 9.0.5610 -> 9.0.5739 → https://github.com/NixOS/nixpkgs/pull/112418
<eyJhb> ehmmm... I think it depends on what you want to do matthewcroughan . If you want to run commands in the image, then you need a virt inside the container, if it is just adding files+packages+whaever, then yes it is as easy as qyliss put it
strikerlulu has joined #nixos
oxalica has quit [Ping timeout: 240 seconds]
dsx has joined #nixos
<{^_^}> [nixpkgs] @TredwellGit opened pull request #112419 → firmwareLinuxNonfree: 2020-12-18 -> 2021-02-08 → https://github.com/NixOS/nixpkgs/pull/112419
holdenweb has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @mweinelt merged pull request #112415 → python3Packages.base58: 2.0.1 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/112415
<matthewcroughan> qyliss: I mean more as a stage1 build just to get the binaries
<matthewcroughan> I mean, I did it. I thought that the build tools was solving something it wasnT[
<matthewcroughan> wasn't*
<matthewcroughan> Basically, I need an FHSUserEnv, but that won't work inside docker, so I'm screwed ;D
<qyliss> you coouuuuuld just run qemu in your CI build
fendor_ is now known as fendor
<matthewcroughan> qyliss: yeah that's not important though, the problem is that I can't actually run the thing at all in Docker.
<matthewcroughan> Settings issues: Arduino cannot run because it could not create a folder to store your settings.
<{^_^}> [nixpkgs] @sternenseemann opened pull request #112421 → fetchcvs: fix ssh wrapper failing due to missing /usr/bin/env → https://github.com/NixOS/nixpkgs/pull/112421
<matthewcroughan> pkgs.arduino
<qyliss> my point is that you could run qemu in docker ;)
<{^_^}> [nixpkgs] @roberth merged pull request #112154 → nixos/hercules-ci-agent: Remove patchNix → https://github.com/NixOS/nixpkgs/pull/112154
<matthewcroughan> yeah which would solve not much in this context ;D
<matthewcroughan> you could always cross compile anyway
<qyliss> in that case I don't understand your problem
<matthewcroughan> my problem is that the Arduino Nixpkg doesn't work, without a FHSUserEnv.
<matthewcroughan> And I can't use an FHSUserEnv inside of Docker.
<matthewcroughan> Because when you try to do that it results in complaints about the kernel.
<qyliss> right, which is why I'm saying you can run a new kernel where you have the root namespace and can use FHSUserEnv
<simpson> Sure. It would be nicer if the Arduino tools didn't have that FHS requirement.
<matthewcroughan> so let's say I had pkgs.dockerTools.buildImage { contents = pkgs.busybox } that fails with Settings issues: Arduino cannot run because it could not create a folder to store your settings.
<{^_^}> [nixpkgs] @alyssais opened pull request #112422 → doc: use lib.cleanSource → https://github.com/NixOS/nixpkgs/pull/112422
vidbina has quit [Ping timeout: 256 seconds]
<matthewcroughan> Providing you start it like this "docker run --privileged -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --user="$(id --user):$(id --group)" arduino:hd1fdkpvxfc7ad11hv5qs28l7icxqzyn"
hamishmack has quit [Ping timeout: 264 seconds]
thoughtpolice has quit [Ping timeout: 246 seconds]
mpickering has quit [Ping timeout: 272 seconds]
jmercouris has quit [Read error: Connection reset by peer]
robmyers has quit [Read error: Connection reset by peer]
Tritlo has quit [Read error: Connection reset by peer]
SanchayanMaity has quit [Read error: Connection reset by peer]
lvrp16 has quit [Read error: Connection reset by peer]
nick_h has quit [Read error: Connection reset by peer]
zmacs has quit [Read error: Connection reset by peer]
lesby has quit [Read error: Connection reset by peer]
sam_w has quit [Read error: Connection reset by peer]
zot has quit [Read error: Connection reset by peer]
dmj` has quit [Read error: Connection reset by peer]
lesby has joined #nixos
hamishmack has joined #nixos
nick_h has joined #nixos
zmacs has joined #nixos
SanchayanMaity has joined #nixos
jmercouris has joined #nixos
thoughtpolice has joined #nixos
sam_w has joined #nixos
Tritlo has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #112424 → fetchFromBitbucket: remove hack for Mercurial → https://github.com/NixOS/nixpkgs/pull/112424
zot has joined #nixos
mpickering has joined #nixos
robmyers has joined #nixos
lvrp16 has joined #nixos
dmj` has joined #nixos
lsix has quit [Ping timeout: 265 seconds]
scoates has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #112425 → doc: improve documentation for specialised fetchers → https://github.com/NixOS/nixpkgs/pull/112425
<{^_^}> [nixpkgs] @krzygorz opened pull request #112426 → python3Packages.numba: add setuptools dependency → https://github.com/NixOS/nixpkgs/pull/112426
simba1 has joined #nixos
scoates has joined #nixos
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #112427 → ppsspp: 1.10.3 -> 1.11 → https://github.com/NixOS/nixpkgs/pull/112427
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to fetchgit-sri: https://git.io/JtwmO
simba1 has quit [Ping timeout: 258 seconds]
thelounge52 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #112189 → sqlite-utils: 3.3 -> 3.4.1 → https://github.com/NixOS/nixpkgs/pull/112189
cole-h_ has joined #nixos
sangoma has joined #nixos
simba1 has joined #nixos
cole-h has quit [Ping timeout: 240 seconds]
ahmedelgabri has joined #nixos
simba1 has quit [Ping timeout: 265 seconds]
seku has joined #nixos
<{^_^}> [nixpkgs] @tu-maurice opened pull request #112429 → fishnet: 2.2.3 -> 2.2.4 → https://github.com/NixOS/nixpkgs/pull/112429
bendlas has joined #nixos
simba1 has joined #nixos
<bendlas> Dit github just break https://github.com/NixOS/nixpkgs/issues/<pr-id>.patch? 😒
berberman has joined #nixos
ahmedelgabri has quit [Ping timeout: 265 seconds]
<qyliss> did it ever work?
<nahamu> still working for me. Which PR?
berberman_ has quit [Ping timeout: 260 seconds]
<{^_^}> #108154 (by srid, 5 weeks ago, open): TabFS: Mount your Browser Tabs as a Filesystem
<qyliss> pull/pr-id.patch works
<qyliss> issues/pr-id.patch does not work
<nahamu> Yeah, only works for PRs, not non-PR issues.
<bendlas> oh ...
<bendlas> hahaha 😅
<{^_^}> #112429 (by tu-maurice, 4 minutes ago, open): fishnet: 2.2.3 -> 2.2.4
<bendlas> thanks! ✌️
o1lo01ol1o has quit [Remote host closed the connection]
cole-h_ is now known as cole-h
medvid has joined #nixos
zakame has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @symphorien merged pull request #108238 → nixos/dnscrypt-proxy2: more service hardening → https://github.com/NixOS/nixpkgs/pull/108238
bvdw48 has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
bvdw has quit [Client Quit]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112403 → python3Packages.libpurecool: init at 0.6.4 → https://github.com/NixOS/nixpkgs/pull/112403
thelounge52 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112327 → libhugetlbfs: 2.22 -> 2.23 → https://github.com/NixOS/nixpkgs/pull/112327
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112397 → clipcat: 0.4.19 -> 0.5.0 → https://github.com/NixOS/nixpkgs/pull/112397
zakame has joined #nixos
luxemboye has joined #nixos
thelounge52 has quit [Ping timeout: 256 seconds]
<colemickens> Does anyone have any tips for troubleshooting dropbeard?
<colemickens> AFAICT I have it enabled but I never seem to see udhcpd doing it's job, from the router side at least.
srk has quit [Remote host closed the connection]
easbarbosa has joined #nixos
srk has joined #nixos
<luxemboye> torbrowser (tor-browser-bundle-bin) can't be installed anymore due to a 404 when downloading from dist.torproject.org
<luxemboye> It seems like the Tor Project doesn't keep the older versions for long on dist.torproject.org, the oldest available there is 10.0.9 (20.09 version is 10.0.8)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112418 → python3Packages.archinfo: 9.0.5610 -> 9.0.5739 → https://github.com/NixOS/nixpkgs/pull/112418
<{^_^}> [nix] @regnat pushed 12 commits to cache-getflake: https://git.io/Jtw35
<{^_^}> [nixpkgs] @tklitschi opened pull request #112431 → bitwarden_rs 1.17.0 -> 1.19.0 → https://github.com/NixOS/nixpkgs/pull/112431
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112427 → ppsspp: 1.10.3 -> 1.11 → https://github.com/NixOS/nixpkgs/pull/112427
<{^_^}> [nix] @regnat pushed to cache-getflake « Shut a clang warning »: https://git.io/Jtw3h
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112411 → ocrmypdf: 11.3.3 -> 11.6.0 → https://github.com/NixOS/nixpkgs/pull/112411
{`-`} has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d217198a455 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
o1lo01ol1o has joined #nixos
<jgart[m]> Hi! what's wrong with this nix expression?
hiro98 has quit [Ping timeout: 240 seconds]
<jgart[m]> any help is greatly appreciated!
zupo has joined #nixos
<lassulus> jgart[m]: the environment.systemPacakges doesn't make any sense, just remove line 4 and 24
<lassulus> or how do you use it?
thelounge52 has joined #nixos
<jgart[m]> I'm importing it into my configuration.nix file
<lassulus> in imports?
<jgart[m]> yes
vrinek has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda merged pull request #111673 → [20.09] pythonPackages.pillow: add patches for CVE-2020-35653, CVE-2020-35654, CVE-2020-35655 → https://github.com/NixOS/nixpkgs/pull/111673
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<lassulus> alright, weird style :D packages are usually called with callPackage. so pkgs in in scope, when you use imports = [ ]. you just get pkgs, config, lib as arguments (line 1)
vrinek has joined #nixos
<jgart[m]> What is the best way to include the above package as part of my systemPackages?
<jgart[m]> I should be using `callPackage` instead?
vidbina has joined #nixos
<eyJhb> There is a multitude of small issues in there
<jgart[m]> lassulus: Should I look at you config for an example?
<jgart[m]> s/you/your/
o1lo01ol1o has joined #nixos
<lassulus> so there are different ways to fix it, the most canonical way would be: remove the environent.systemPackacke in line 4 and 24, and in your configuration.nix do a callPackage inside your environment.systemPackages
<eyJhb> You should remove `pkgs`from your first line, as you would call that file with `pkgs.callPackage ./your-file.nix {}`, which would pass all the other arguments
<eyJhb> Hopefully lassulus agrees with that
<jgart[m]> <lassulus "so there are different ways to f"> this option makes sense to me. I'll try that next :)
<jgart[m]> <eyJhb "You should remove `pkgs`from you"> I'll test that too
<{^_^}> [nixpkgs] @oxzi opened pull request #112432 → bonnmotion: init at 3.0.1 → https://github.com/NixOS/nixpkgs/pull/112432
thelounge52 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Luflosi opened pull request #112433 → python3Packages.py-multihash: 1.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/112433
henri has joined #nixos
n-osborne has quit [Remote host closed the connection]
vrinek has quit [Ping timeout: 272 seconds]
n-osborne has joined #nixos
logand has joined #nixos
julm has quit [Remote host closed the connection]
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos
julm has joined #nixos
<jgart[m]> I must be doing something silly for it to still be failing
<jgart[m]> It complains 'is not of type package`
<eyJhb> jgart[m]: put () around `callPackage ./beautysh.nix {}` -> `(callPackage ./beautysh.nix {})`
<supersandro2000> callPackage ./beautysh.nix {} is not a package
<henri> supersandro2000: That sounds misleading.
<henri> jgart[m]: The problem is that spaces are list separators in Nix, so it sees callPackage (a function), ./beautysh.nix (a path), and {} (an empty attrset) individually.
<henri> jgart[m]: And none of these is a package.
<eyJhb> ^ what henri said
<eyJhb> ALso, when in doubt in Nix, put a lot of ()
<eyJhb> And then remove until they break
ahmedelgabri has joined #nixos
<jgart[m]> I have an infinite recursion 😂
<jgart[m]> Is maybe my beautysh package wrong? I posted it above in the paste
riksteri has quit [Quit: riksteri]
<eyJhb> If you comment out the line with callPackage, does it then build fine?
<eyJhb> I don't see any obivous in the file you send
<henri> jgart[m]: You need python3Packages.callPackage but that is not the reason for the infinite recursion.
<infinisil> It's not an infinite recursion though?
<eyJhb> infinisil: What.. What is it then?
<infinisil> Oh! I opened the previous paste, sorry never mind!
<jgart[m]> <eyJhb "If you comment out the line with"> yes, it does
<jgart[m]> <henri "jgart: You need python3Packages."> I'll try this next
Guest75279 is now known as dominikh
<eyJhb> I was very confused in what you saw infinisil , but I didn't doubt your abilities to see something in the beyound :D
<infinisil> Hehe
<jgart[m]> It tried with python3Packages.callPackage but I still get
<jgart[m]> infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:262:28
vidbina has quit [Ping timeout: 240 seconds]
<jgart[m]> This is where I call python3Packages.callPackage https://paste.debian.net/1184606/
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112381 → httpie: 2.2.0 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/112381
<jgart[m]> In a file called system-packages.nix that gets imported by configuration.nix
<jgart[m]> configurations.nix builds correctly without beautysh.nix stuff I added now
<eyJhb> I am not really sure why it does that, sorry jgart[m] :/
<henri> jgart[m]: I just built beautysh locally and I had to fix some things.
<henri> http://dpaste.com/GF72K67UE (expires in 10 days)
<jgart[m]> Ohh, I'm missing an input
<henri> jgart[m]: This compiles locally using
<henri> nix-build -E 'with import <nixpkgs> {}; python3Packages.callPackage ./beautysh.nix {}'
<jgart[m]> not sure if that's related to the infinite recursion error message though
<henri> No, it's not.
<jgart[m]> henri: I'll try that and report back
<jgart[m]> thanks!
<henri> jgart[m]: You misspelled python3Packages (the final s is missing)
<henri> jgart[m]: But that should give undefined variable, not infinite recursion
mallox has joined #nixos
shibboleth has quit [Quit: shibboleth]
thelounge52 has joined #nixos
<jgart[m]> henri: thanks! it built successfully :)
<{^_^}> [mobile-nixos] @samueldr merged pull request #296 → kernel-builder: Avoid string interpolation for path concatenation → https://github.com/NixOS/mobile-nixos/pull/296
<jgart[m]> I tried both ways
<jgart[m]> henri: do you get this error when running beautysh though?
<{^_^}> [nixpkgs] @Ma27 pushed to master « roundcube: 1.4.10 -> 1.4.11 »: https://git.io/JtwZx
fuiltilt has joined #nixos
julm has quit [Remote host closed the connection]
julm has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « roundcube: 1.4.10 -> 1.4.11 »: https://git.io/Jtwnq
thelounge52 has quit [Ping timeout: 264 seconds]
<henri> jgart[m]: I tried to run beautysh and noticed that it also needs setuptools: http://dpaste.com/GRV4WSVRD (expires in 10 days)
<henri>
<{^_^}> [nixpkgs] @NeQuissimus pushed 11 commits to master: https://git.io/JtwnY
n-osborne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @oxzi closed pull request #100143 → claws-mail{,-gtk3}: 3.17.7->3.17.8 and refactoring → https://github.com/NixOS/nixpkgs/pull/100143
proofofkeags has quit [Ping timeout: 272 seconds]
henri has quit [Quit: Goodbye!]
n-osborne has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 10 commits to release-20.09: https://git.io/JtwnZ
<{^_^}> [nixpkgs] @fabaff opened pull request #112434 → python3Packages.pyxbe: init at 20210208-unstable → https://github.com/NixOS/nixpkgs/pull/112434
n-osborne has quit [Remote host closed the connection]
oxapentane has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #112297 → haproxy: 2.3.4 -> 2.3.5 → https://github.com/NixOS/nixpkgs/pull/112297
easbarbosa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #112182 → scrot: 1.4 -> 1.5 → https://github.com/NixOS/nixpkgs/pull/112182
sangoma has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #112406 → [20.09] php: 7.3.27, 7.4.15 → https://github.com/NixOS/nixpkgs/pull/112406
<jgart[m]> <eyJhb "ALso, when in doubt in Nix, put "> This tip works with guix also ;)
Qwerky has joined #nixos
urkk has quit [Ping timeout: 265 seconds]
<{^_^}> [mobile-nixos] @MetaDark opened pull request #297 → kernel-builder: Fix detecting dtb support (after nixpkgs#110544) → https://github.com/NixOS/mobile-nixos/pull/297
<eyJhb> jgart[m]: the usualy saying goes, if you spot guix, uninstall
<eyJhb> \s :D
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #112419 → firmwareLinuxNonfree: 2020-12-18 -> 2021-02-08 → https://github.com/NixOS/nixpkgs/pull/112419
<{^_^}> [nixpkgs] @ryantm merged pull request #111797 → openxr-loader: 1.0.13 -> 1.0.14 → https://github.com/NixOS/nixpkgs/pull/111797
fendor has quit [Remote host closed the connection]
proofofkeags has joined #nixos
cmk_zzz_ has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #112435 → python3Packages.pyvex: init at 9.0.5739, python3Packages.ailment: init at 9.0.5739 → https://github.com/NixOS/nixpkgs/pull/112435
cmk_zzz has quit [Ping timeout: 240 seconds]
n-osborne has joined #nixos
<fast1[m]> Is there a way to sandbox nix-shell? I want to use it for dev environments and would like to limit access to the filesystem
n-osborne has quit [Remote host closed the connection]
thelounge52 has joined #nixos
<aleph-> So has anyone here tried setting up deluge in declarative mode with nixops? Curious if you've run into issues with it complaining about the yet to be deployed key not existing.
<{^_^}> [nixpkgs] @0x4A6F opened pull request #112436 → Master promscale → https://github.com/NixOS/nixpkgs/pull/112436
bkv has joined #nixos
bqv has quit [Ping timeout: 265 seconds]
bqv_ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #112437 → robodoc: init at 4.99.44 → https://github.com/NixOS/nixpkgs/pull/112437
thelounge52 has quit [Ping timeout: 240 seconds]
n-osborne has joined #nixos
bkv has quit [Ping timeout: 264 seconds]
bqv_ is now known as bqv
gustavderdrache has quit [Quit: Leaving.]
<matthewcroughan> srhb: heyo
<matthewcroughan> so, docker buildtools, can't do x11, or if it can needs an example of how to od so
<matthewcroughan> I can't really figure out how to run things as a user, or whether they are indeed running as a user
jjakob has quit [Quit: Either I'm rebooting or Quassel died again.]
j2t has quit [Ping timeout: 240 seconds]
hyper_ch4 has quit [Read error: Connection reset by peer]
hyper_ch4 has joined #nixos
jjakob has joined #nixos
lucus16 has quit [Quit: WeeChat 2.8]
davidv7 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n-osborne has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/078f8937952 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
erasmas has quit [Quit: leaving]
<colemickens> Do we have any "toram" infra for our boot?
<colemickens> It would be nice to be able to tell people to boot installation media in "toram" mode, so they could then install in-place back to the install media, or could re-use the usb port, or whatever.
<{^_^}> [nixpkgs] @0x4A6F opened pull request #112439 → firejail: 0.9.64.2 -> 0.9.64.4 → https://github.com/NixOS/nixpkgs/pull/112439
<{^_^}> [nixpkgs] @bobrik opened pull request #112440 → qemu: darwin fixes → https://github.com/NixOS/nixpkgs/pull/112440
<superbaloo> I'd like to run a map on a list of dependency, but only apply it on derivations that uses stdenv, and keep the rest untouched
<superbaloo> (trying to add debug symbols to all my deps)
<superbaloo> (in an override :D)
<superbaloo> is there a way to "detect" the derivation is based on stdenv?
kreisys has joined #nixos
Quick_Wango has quit [Read error: Connection reset by peer]
Quick_Wango has joined #nixos
<superbaloo> overrideAttrs(old: { buildInputs = map (x: enableDebugging(x)) old.buildInputs; })
<superbaloo> (something like that)
thelounge52 has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #108406 → nginx: add VOD-related modules from Kaltura → https://github.com/NixOS/nixpkgs/pull/108406
<{^_^}> [nixpkgs] @sternenseemann opened pull request #112441 → mandoc: set HOMEBREWDIR on macOS → https://github.com/NixOS/nixpkgs/pull/112441
thelounge52 has quit [Ping timeout: 240 seconds]
lordcirth has quit [Remote host closed the connection]
<superbaloo> nevermind
<{^_^}> [nixpkgs] @matthewbauer merged pull request #112421 → fetchcvs: fix ssh wrapper failing due to missing /usr/bin/env → https://github.com/NixOS/nixpkgs/pull/112421
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @Kloenk opened pull request #112442 → prometheus flow exporter → https://github.com/NixOS/nixpkgs/pull/112442
<{^_^}> [nixpkgs] @cmacrae opened pull request #112443 → nixos/cri-o: Update storage drivers & unit PATH → https://github.com/NixOS/nixpkgs/pull/112443
<sshow> I'm attempting to add a cpio to initrd with boot.initrd.prepend = ["/boot/mycpio"], but returns `cat /boot/mycpio no such file or dir[..]`. What am I missing?
<{^_^}> [mobile-nixos] @samueldr merged pull request #297 → kernel-builder: Fix detecting dtb support (after nixpkgs#110544) → https://github.com/NixOS/mobile-nixos/pull/297
viq|w has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
lordcirth has quit [Remote host closed the connection]
<sshow> ls -al /boot/mycpio returns one file :)
<viq|w> If I have system.autoUpgrade.enable = true, but system.autoUpgrade.allowReboot = false, how can I find out that I should reboot?
lordcirth has joined #nixos
<viq|w> Ah, thank you.
<viq|w> How about things like e.g. dbus?
<infinisil> What about those?
<viq|w> AFAIK upgrading dbus or systemd pretty much requires a reboot to properly (re)load those
<viq|w> Is there a good way to detect that? On things like archlinux or debian I've been using needrestart to tell me that.
<ajs124> I thought systemd supports re-executing itself
quinn has joined #nixos
<viq|w> To be honest I never looked into this bit. I know needrestart generally didn't want to restart things like say systemd-logind, and that system wasn't happy when I did try restarting them.
mallox has quit [Quit: WeeChat 3.0]
<ris> what is the canonical way of checking what the latest stable release is?
philr has joined #nixos
n-osborne has joined #nixos
<lordcirth> ris, in an automated fashion?
<ris> yup
<ris> see, i'm looking at using niv to keep a project up to date, but even _it_ doesn't keep up to date with the latest stable - its default is still 20.03
<ris> which of course is not even getting security updates anymore
<sshow> I found my solution in the published irc logs. usage for `boot.initrd.prepend = ["${/path/to/cpio}"]` https://logs.nix.samueldr.com/nixos/2017-03-12#205334
<infinisil> ris: Yeah there isn't really a good way to do that..
<ris> :S
<ris> i assume the lack of a nixos-stable alias is deliberate
<infinisil> I personally think we should have such an alias
<ris> really i'm trying to put together something for colleagues who are the sort that tend to forget about a project and rely on dependabot to keep it updated
thelounge52 has joined #nixos
<ris> i think with nix i can do one better than dependabot and only propose a bump when an update to nixpkgs actually changes the drv hash
<infinisil> You could do it like https://channels.nix.gsc.io/, which just parses branches of nixpkgs
<gchristensen> it is a bit more complicated than that! :P
<gchristensen> you could use channels.nix.gsc.io as an API to fetch the latest commit
<ris> hmyes, but the branch/channel gets created like a month before the release is really ready to use isn't it?
<infinisil> gchristensen: Yeah, but like that's what it does to discover channel names
<gchristensen> yeah
<ris> and i don't really want to auto bump until the actual point of release
<infinisil> Oh yeah then that won't work
<infinisil> Hmm, maybe nixos.org should have a release RSS feed
<ris> too early and it's still in flux, too late and a month later no-security-updates-for-you
thelounge52 has quit [Ping timeout: 265 seconds]
<gchristensen> that is awkward
<energizer> infinisil: github has rss feeds
<infinisil> Oh yeah we don't even do github releases though
<infinisil> Maybe we should?
<ris> i'm trying to propose alternatives to Dockerfiles for colleagues who are in the habit of Dockerfile-and-dependabot
<infinisil> Oh we do!
<energizer> i mean you can follow the nixos-channels branches too right?
<gchristensen> a bit misleading but yea
<infinisil> Oh the tags never update
<infinisil> energizer: If you mean nixpkgs-channels, that's deprecated
<ris> for anyone familiar with concourse, i spent the weekend experimenting making a nix-build-task a la oci-build-task https://github.com/risicle/nix-build-task
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112435 → python3Packages.pyvex: init at 9.0.5739, python3Packages.ailment: init at 9.0.5739 → https://github.com/NixOS/nixpkgs/pull/112435
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112437 → robodoc: init at 4.99.44 → https://github.com/NixOS/nixpkgs/pull/112437
<ris> infinisil: that might be enough - in theory all i need to do is a bit of API curling to fetch the "name" of the latest release - it's not perfect
<ris> it's not quite as simple as `niv update nixpkgs` but :shrug:
lordcirth has quit [Ping timeout: 265 seconds]
<infinisil> Maybe that could be a niv feature
<energizer> do you want the tags to update?
<ris> i get the idea that the niv author rather has his own ideas on this
<energizer> nixos-21.03-SP1
<ris> energizer: i don't actually need the tags, once i know the name of the release i can follow the branch
<ris> it's just discovery of that branch name (and knowing when it's "ready")
lordcirth has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> nmattia/niv#311 (by risicle, 20 seconds ago, open): Update to nixpkgs 20.09
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
cosimone has quit [Quit: cosimone]
sudocurse has quit [Ping timeout: 240 seconds]
jfhbrook has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
Guest99400 has quit [Ping timeout: 240 seconds]
higebu has quit [Ping timeout: 240 seconds]
feepo has quit [Ping timeout: 246 seconds]
parseval has quit [Read error: Connection reset by peer]
Guest99400 has joined #nixos
grfn has quit [Read error: Connection reset by peer]
bgupta has quit [Read error: Connection reset by peer]
higebu has joined #nixos
lightandlight has quit [Read error: Connection reset by peer]
rodarmor has quit [Read error: Connection reset by peer]
parseval has joined #nixos
grfn has joined #nixos
jfhbrook has joined #nixos
sudocurse has joined #nixos
bgupta has joined #nixos
lightandlight has joined #nixos
rodarmor has joined #nixos
feepo has joined #nixos
Qwerky has quit [Remote host closed the connection]
malook has joined #nixos
thelounge52 has joined #nixos
malook has quit [Client Quit]
thelounge52 has quit [Ping timeout: 240 seconds]
Swant has quit [Quit: gone to IKEA]
Swant has joined #nixos
jamesbucher has joined #nixos
attila_lendvai_ has joined #nixos
malook has joined #nixos
attila_lendvai has quit [Read error: Connection reset by peer]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112432 → bonnmotion: init at 3.0.1 → https://github.com/NixOS/nixpkgs/pull/112432
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112436 → promscale: 0.1.4 -> 0.2.0 → https://github.com/NixOS/nixpkgs/pull/112436
<{^_^}> [nixos-hardware] @Ericson2314 pushed 10 commits to dell-xps-9550-nvidia: https://git.io/JtwRV
K0kada has joined #nixos
cmk_zzz_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fooker opened pull request #112444 → docker: allow overriding package inputs per docker package → https://github.com/NixOS/nixpkgs/pull/112444
cmk_zzz has joined #nixos
malook has quit [Quit: malook]
Qwerky has quit [Ping timeout: 246 seconds]
simba1 has quit [Ping timeout: 264 seconds]
ky0ko has quit [Remote host closed the connection]
sss2 has joined #nixos
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d4c29df154d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
aveltras has joined #nixos
aswanson1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #112091 → python3Packages.h3: 3.7.0 -> 3.7.1 → https://github.com/NixOS/nixpkgs/pull/112091
thelounge52 has joined #nixos
__monty__ has quit [Quit: leaving]
fendor has quit [Read error: Connection reset by peer]
thelounge52 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #96549 → trilium: 0.43.3 -> 0.43.4 → https://github.com/NixOS/nixpkgs/pull/96549