worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 โœจ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<kalbasit> in nixpkgs, is there a way I can access nix's configuration such as`substituters` or `trusted-public-keys`?
<kalbasit> is there a builtins or a function for such an access?
<gchristensen> no
<gchristensen> what are you trying to do? sounds interesting
reallymemorable has joined #nixos
<kalbasit> I want to write `~/.config/nix/nix.conf` to include our private cache but I want to include any existing substituter/trusted-public-key to avoid overriding things
riz71 has joined #nixos
<gchristensen> how about extra-substituters ?
<kalbasit> or does nix end up merging options from `/etc/nix/nix.conf` and `~/.config/nix/nix.conf`? ๐Ÿค”
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
reallymemorable has quit [Client Quit]
<kalbasit> gchristensen: interesting option. I would have to also add trusted-substituters right?
<{^_^}> [nixpkgs] @immae opened pull request #85733 โ†’ nixos/texlive: Fix texlive for ghostscript 9.50 โ†’ https://git.io/Jfk8f
<kalbasit> there isn't one for the trusted public keys though
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<gchristensen> the substituters need to be listed in the root nix.conf either way for them to be trusted
<kalbasit> I see. Alright so back to "hey follow this and edit that" :-)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cbb2d6214f2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
reallymemorable has joined #nixos
<gchristensen> aye :)
proofofkeags has quit [Remote host closed the connection]
jluttine has joined #nixos
<gchristensen> kalbasit: you could write out a config you like at /etc/nix/kalbasit.conf
<gchristensen> and then ...
<gchristensen> tell the user to add `include /etc/nix/kalbasit.conf` to the end of their nix.conf
<cole-h> Is `include` a standard feature of all *.conf? It never occurred to me that that could be done in nix.conf, even though I've seen it in other *.conf
<jackdk> I am having trouble using buildBazelPackage. nix-build is falling over due to `bazel` trying to run `/bin/bash`. Is there a guide on how to drive this function anywhere? All I could really find was https://logs.nix.samueldr.com/nixos/2018-09-28#1605560; which 404s for me
<gchristensen> cole-h: I don't know :)
<{^_^}> [nixpkgs] @jonringer merged pull request #85435 โ†’ python3Packages.simpleaudio: init at 1.0.4 โ†’ https://git.io/JfJJ2
<{^_^}> [nixpkgs] @jonringer pushed commit from @Lucus16 to master ยซ python3Packages.simpleaudio: init at 1.0.4 ยป: https://git.io/Jfk8O
<kalbasit> gchristensen: that's interesting. I did not know about `include`. That may work! I assume the file can be anywhere and not just in `/etc` right?
<gchristensen> kalbasit: yeah
<kalbasit> hurray!
<gchristensen> also it supports "!include /path/to/..." and the '!' says don't error if it doesn't exist
<cole-h> That doesn't sound safe, but I don't know what I'm talking about
<gchristensen> yeah, I don't think itis great
<kalbasit> that's even better as the file may not exist if it got garbage collected
<kalbasit> it's mostly for lorri actually. Any `nix-shell` or `nix-build` I do I explicitely set substituters with `--option`
<cole-h> Do `include`s clobber or merge? e.g. if `trusted-users = @wheel` in nix.conf and `trusted-users = someguy` in include.conf, which one takes effect? Order-dependent?
<{^_^}> [nixpkgs] @mweinelt opened pull request #85734 โ†’ [20.03] openssl: 1.1.1f โ†’ 1.1.1g โ†’ https://git.io/Jfk8s
<cole-h> I'd intuit clobber, but uncertain (and not currently able to test)
<{^_^}> [nixpkgs] @jonringer merged pull request #84932 โ†’ pythonPackages.pyroma: init at 2.6 โ†’ https://git.io/JvhGY
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer pushed commit from @evanjs to master ยซ pythonPackages.pyroma: init at 2.6 ยป: https://git.io/Jfk8G
copy has quit [Read error: Connection reset by peer]
copy has joined #nixos
<kalbasit> cole-h: that's a good question, curious as well
<gchristensen> I assume list things append and not list things clobber but I don't know!
<{^_^}> [nixpkgs] @nh2 opened pull request #85735 โ†’ journald service docs: Add helpful comments about the journal getting full โ†’ https://git.io/Jfk8C
<hackerfoo> kalbasit: I'm not sure if it helps, but you can generate nix expressions and import them during evaluation: https://nixos.wiki/wiki/Import_From_Derivation
<jackdk> oh, I see. sorbet's `./bazel` file is a shell script, and it unconditionally tries to download and install bazel... grr
morgrimm has joined #nixos
<kalbasit> hackerfoo: that's good to know, but unsure that will help here given that I'm trying to add a new substituter
<hackerfoo> For example, this parses a bunch of config files using Python to generate nix, and then imports it: https://github.com/HackerFoo/vtr-nix-test/blob/master/default.nix#L176
<hackerfoo> And tab completion even works for nix-build, which is cool.
<hackerfoo> (on the generated attributes)
<kalbasit> cole-h: the answer is clobber
morgrimm has quit [Ping timeout: 240 seconds]
<cole-h> kalbasit++ Thanks for reporting back.
<{^_^}> kalbasit's karma got increased to 2
<hackerfoo> Couldn't you use that to generate `~/.config/nix/nix.conf`? You could make an expression to generate dot files in your home directory. I think someone has done something like that.
<kalbasit> hackerfoo: that was my first instinct, but given that about 200 people are using Nix on their machines I cannot assume that no one has added their own set of substituters. Setting it in the `~/.config/nix/nix.conf` seem to clobber whatever is at /etc/nix/nix.conf
<{^_^}> [nixpkgs] @immae closed pull request #85733 โ†’ nixos/texlive: Fix texlive for ghostscript 9.50 โ†’ https://git.io/Jfk8f
blibberblob has quit [Ping timeout: 272 seconds]
broccoli has quit [Ping timeout: 258 seconds]
<hackerfoo> kalbasit: I mean, you can parse `/etc/nix/nix.conf` and convert the data to a nix expression in a derivation, import that and then append what you want, and write `~/.config/nix/nix.conf` in another derivation.
blibberblob has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates ยซ hackage-packages.nix: automatic Haskell package set update ยป: https://git.io/Jfk89
<riz71> trying to use arrayfire, managed to get the package built but i'm not sure how to get the af headers into the buildInputs of a haskell project
<kalbasit> hackerfoo: right I see what you mean now. That could work to an extent (for instance include statements)
<kalbasit> it should work 99% of the time though as I doubt anyone is using include
<kalbasit> hackerfoo++ thanks!
<{^_^}> hackerfoo's karma got increased to 1
<riz71> https://github.com/arrayfire/arrayfire-haskell/blob/master/default.nix is the file i built and af is the derivation i need but i'm not sure if i'm overloading the package correctly to point to the version of array fire i built because no matter how i point my release.nix to this it can't find the headers for af
<{^_^}> [nixpkgs] @immae opened pull request #85736 โ†’ nixos/texlive: Fix texlive pstricks โ†’ https://git.io/Jfk8N
<jackdk> Okay, made some progress on my bazel problem, but the project I'm trying to build (sorbet) is failing to fetch `@llvm_toolchain` as it fails to detect host version. Anyone here have bazel + nixos experience?
knupfer1 has joined #nixos
rgb[m] has left #nixos ["User left"]
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<qy[m]> hey, question about checkPhase
<qy[m]> do i have to cleanup stuff i do in it
<qy[m]> or is it all ephemeral by default
<qy[m]> not written a check before
<gchristensen> unless you write the stuff to an output, like $out, it is all deleted
<qy[m]> ah, ok
ris has quit [Ping timeout: 256 seconds]
<dsx> cole-h: one bumpy upgrade later, it works perfectly. Thank you!
<jackdk> "execvp(/build/output/external/com_grail_bazel_toolchain/toolchain/tools/llvm_release_name.py, ...)": No such file or directory - hm. this error is telling. even if I put python in the `nativeBuildInputs` I still get it, which seems weird
<clever> jackdk: what is the #! in that file?
reallymemorable has quit [Quit: reallymemorable]
<jackdk> clever: `#!/usr/bin/env python`
<clever> jackdk: /usr/bin/env doesnt exist in the sandbox, you have to run patchShebangs on it
gustavderdrache has quit [Quit: Leaving.]
<jackdk> clever: okay. how can I do that when it's something that bazel downloads and tries to run?
<clever> jackdk: tell bazel to download only, patch it, then tell it to run things
<cole-h> dsx: ;) What was the actual problem? Trying to install 20.03 HM on 19.09 NixOS?
reallymemorable has joined #nixos
<dsx> cole-h: pretty much yes.
justanotheruser has quit [Ping timeout: 272 seconds]
<jackdk> clever: you can do that!?
<cole-h> Hah. That's what I was trying to get at with the nix-channels commands and stuff x) Sorry I wasn't being completely clear, but happy that you eventually got there
<clever> jackdk: youll need to find flags for bazel to force it to do that
<jackdk> clever: so it looks like buildBazelPackage has this logic built-in: it tries to create a -deps derivation first by running `bazel fetch`, which means that it wants to write this python script as part of that fetch, putting us in an IFD-esque situation
<dsx> cole-h: thanks again! That could have been much worse otherwise :)
<clever> jackdk: you can probably just patch it in the 2nd derivation, without any IFD
<jackdk> except that it is the fetch that is failing, because it runs https://github.com/grailbio/bazel-toolchain/blob/master/toolchain/tools/llvm_release_name.py
<jackdk> ti
<{^_^}> [nixpkgs] @marsam opened pull request #85737 โ†’ nushell: 0.12.0 -> 0.13.0 โ†’ https://git.io/Jfk4L
<jackdk> sorry, it runs that python script to decide what llvm to download
Kyndig has joined #nixos
<kalbasit> has anyone installed a proxy for `cache.nixos.org` in their home? At some point I added an nginx to do just that but I had to update my configurations everywhere to use http:// instead of https:// but I also broken any system that did not have that set :(
<clever> jackdk: that will just fail, because any llvm it downloads wont be patched correctly
<clever> jackdk: you need to stop it from trying to download an llvm
<jackdk> clever: ok. argh.
<{^_^}> [nixpkgs] @marsam opened pull request #85738 โ†’ lxd: 4.0.0 -> 4.0.1 โ†’ https://git.io/Jfk43
<Kyndig> So, I don't fully understand the whole hydra/build/release process, but shouldn't the just-released 20.03 channel include versions of the packages which build successfully?
<Kyndig> I've been waiting for the release because build-managers/ninja was broken
justanotheruser has joined #nixos
<Kyndig> 404 error for a patch
proofofkeags has joined #nixos
<Kyndig> but 20.03 still has the same old version of the build
jarlg has quit [Quit: WeeChat 2.6]
<Kyndig> whereas unstable has a new version that's fixed
bgamari has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Kyndig> is it a general rule that if you are building from source you should always track unstable?
<{^_^}> [nixpkgs] @marsam opened pull request #85739 โ†’ sile: 0.10.3 -> 0.10.4 โ†’ https://git.io/Jfk4G
<{^_^}> [nixpkgs] @jeremyschlatter opened pull request #85740 โ†’ openssl: 1.1.1f -> 1.1.1g โ†’ https://git.io/Jfk4Z
<Kyndig> building while system I mean
<Kyndig> whole system
morgrimm has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
hlolli__ has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
<worldofpeace> Kyndig: do you mean the source build of ninja on 20.03 is broken due to a patch 404'ing?
<worldofpeace> because that's a bug and someone should fix it
<Kyndig> yes
hlolli_ has quit [Ping timeout: 265 seconds]
thc202 has quit [Ping timeout: 240 seconds]
<worldofpeace> can you open an issue on GitHub?
<cole-h> worldofpeace: A possible solution might be to backport ninja 1.10
<Kyndig> I can open issue, but I'm new and wanted to understand this first
<worldofpeace> cole-h: that kind of update would be difficult, well, depending if it's minor or note
<Kyndig> how does the newer fixed version not make it into the latest release?
<worldofpeace> * not
<Kyndig> it's been fixed in 1.10 for a while
<cole-h> I'm actually curious as well, since 1.10 was merged in January and we froze in February, didn't we?
<cole-h> Err
<cole-h> Nevermind
<cole-h> Merged into staging on Feb 9
<cole-h> #78710
<worldofpeace> Kyndig: because 20.03 ships 1.9.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78710 (by tobim, 12 weeks ago, merged): ninja: 1.9.0 -> 1.10.0
<Kyndig> I didn't think 20.03 would pass it's build tests...
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85617 โ†’ Haskell: apply-refact version has to match ghc โ†’ https://git.io/JfTmA
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/Jfk42
<worldofpeace> Kyndig: oh you're asking why hydra doesn't fail
<Kyndig> yeah
<worldofpeace> the output of the fetchpatch derivation is likely cached
<Kyndig> and wondering if in general i should be tracking unstable
<Kyndig> because I have to rebuild entir esytem
<Kyndig> system
<Kyndig> i don't own the machine
<clever> Kyndig: unstable should be cached by hydra
<Kyndig> have to build ~/nix
<clever> oh
tertl3 has joined #nixos
<clever> you want something like nix-user-chroot then
<Kyndig> i can use that either
<jackdk> okay, this is a bloody nightmare, and I'm changing tack. If i install sorbet through bundler, I get "not found" errors running it. Usually when I see this I think "patchelf" but ldd seems to look OK? pastebin to follow
<Kyndig> kernel doesnt' support namespaces
<Kyndig> so must build everything
<Kyndig> so i find these kinds of issues
<clever> jackdk: what does `file` say about the given binary? ldd wont show the most important part
<jackdk> clever: gem_home/ruby/2.6.0/gems/sorbet-static-0.4.5144-x86_64-linux/libexec/sorbet: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[md5/uuid]=002e4000d341d36c61e417dc478583d8, not stripped
<clever> jackdk: yep, interpreter /lib64/ld-linux-x86-64.so.2,
<clever> jackdk: thats not been fully patched
<clever> jackdk: also, `sorbet-static` ... `dynamically linked`, it lies!!
<worldofpeace> Kyndig: so stable is only going to get security updates and bugfixes. it's going to be the same expressions for longer
<jackdk> then why does ldd show something for that? line 8 of the paste above!?
<clever> jackdk: ldd forces a certain interpreter
<jackdk> clever: yeah I'm not dealing with that right now, if I can get it to run then I can go back to work
<worldofpeace> Kyndig: so a more frequently updated system would help you with issues like this
<Kyndig> hmm; even on stable?
<Kyndig> if fetches are being cached on hydra
<Kyndig> seems like this can always happen
<jackdk> clever: is there a canonical place for that interpreter to live on nixos (like a /run/current-system/... symlink I could hit?)
<worldofpeace> Kyndig: urls being updated more frequently are less likely to go down
<clever> jackdk: you want to use the $NIX_CC env var in a nix-shell
<worldofpeace> though the details of your issue "I have to rebuild the whole system from source" is proving difficult for me to understand
<worldofpeace> so maybe my answer isn't exactly accurate for your problem
<clever> [nix-shell:~]$ cat $NIX_CC/nix-support/dynamic-linker
<clever> /nix/store/qb6k4hp7gk331x9fydw0w7qj4dv09bwz-glibc-2.27/lib/ld-linux-x86-64.so.2
<clever> jackdk: like that
<energizer> if your system doesnt support namespaces and you dont have root, then you need to rebuild everything, right?
<cole-h> worldofpeace: I can send a PR to 20.03 that fetches the patch from ninja-build proper instead of the fork (that no longer exists)
<worldofpeace> cole-h: thanks
<cole-h> Hash stays the same which is nice.
<worldofpeace> ahh, should be no rebuild
<cole-h> I mean the patch's hash
<Kyndig> sorry. I'm building all nixpkgs in my home directory on an old linux box that I don't control. the Kernel doesn't allow me to run Proot and the like; so I have to rebuild to move /nix into ~/nix.
<jackdk> clever: awesome, that worked.
<worldofpeace> that means it can go right to the release branch
<jackdk> clever++
<{^_^}> clever's karma got increased to 398
<jackdk> tyvm
<qy[m]> has anyone here experimented with ccache on nix?
<qy[m]> ccacheStdenv etc.
evertedsphere has joined #nixos
<clever> qy[m]: it only really works in nix-shell or if your allowing massive impurities into the sandbox
<qy[m]> yeah, thought it'd be pretty nasty :/
<qy[m]> there's something i compile pretty much every day, but it's extremely modular (shared libraries) so it would be mighty nice if i could have a derivation per module
<qy[m]> just, nix isn't really good on that kinda thing
<clever> qy[m]: i just break the project up into smaller shared libraries, and put each into its own drv
snicket has quit [Ping timeout: 240 seconds]
<qy[m]> unless i'm missing something obvious
<clever> qy[m]: next time it builds a given library twice, record each .drv file, and run nix-diff on the pair, to see why it rebuilt it
<{^_^}> [nixpkgs] @cole-h opened pull request #85742 โ†’ [20.03] ninja: fix 404'ing patch โ†’ https://git.io/Jfk4S
<cole-h> worldofpeace: ^
<qy[m]> sounds easier said than done, it's an autotools project
<qy[m]> actually, i may have misspoken, the libraries are part of the codebase (/modules directory) so they're baked into the makefile. maybe i can just extremely poorly emulate the makefile and drop each .so in a derivation instead?
<qy[m]> not quite as painful, but definitely not clean
<qy[m]> but then each of those derivations still depends on the original configure steps
<clever> qy[m]: yeah, thats harder to split up
<clever> qy[m]: and because its all one derivation, changing any file rebuilds all of them
<qy[m]> right, yeah.
<qy[m]> so i was right originally, nix isn't built for this kind of thing
<clever> qy[m]: in this case, i would just run `make` inside `nix-shell` most of the time
<qy[m]> unless i do something dirty like IFD output-hashed derivations for each source file :')
<worldofpeace> cole-h: approved
<cole-h> โœจ worldofpeace
<{^_^}> worldofpeace's karma got increased to 149
<qy[m]> eh, would be nice, but i'm sort of rebuilding it for sketchy production use
<qy[m]> so it's not all that nix-shell-able
<Kyndig> sorry guys; I never submitted a bug request before, I was slow: https://github.com/NixOS/nixpkgs/issues/85741
<{^_^}> #85741 (by cpakkala, 4 minutes ago, open): Ninja 1.09 build fails with 404 error.
<Kyndig> wow, nice timing
<Kyndig> that thing is a bot?
<Kyndig> I also don't use IRC...
<cole-h> Yep, {^_^} is our kindly bot :)
<Kyndig> until now
<qy[m]> no it's just a very quick human
<cole-h> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<Kyndig> heh
<qy[m]> :p
<Kyndig> cool
evertedsphere has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85742 โ†’ [20.03] ninja: fix 404'ing patch โ†’ https://git.io/Jfk4S
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfk4p
<cole-h> โœจ worldofpeace #85741 can be closed now too :^)
<{^_^}> worldofpeace's karma got increased to 150
<cole-h> Heh, guess the bot doesn't like when you make it do two things at once
<cole-h> #85741
<{^_^}> https://github.com/NixOS/nixpkgs/issues/85741 (by cpakkala, 13 minutes ago, open): Ninja 1.09 build fails with 404 error.
<qy[m]> am i missing something or does `nix build` not run checkPhase?
<qy[m]> (is doCheck on by default?)
<cole-h> Kyndig++ Thanks for finding that. Should be fixed in the next channel bump.
<{^_^}> [nixpkgs] @jeremyschlatter closed pull request #85740 โ†’ openssl: 1.1.1f -> 1.1.1g โ†’ https://git.io/Jfk4Z
<{^_^}> Kyndig's karma got increased to 1
<worldofpeace> โœจ cole-h
<{^_^}> cole-h's karma got increased to 29
<cole-h> Also, that "rebuilds: 0" label was so nice to see.
<qyliss> qy[m]: depends on the builder
<qyliss> not sure it's on by default for just plain mkDerivation
sigmundv_ has quit [Ping timeout: 256 seconds]
<cole-h> (it's so trippy to see "qyliss" reply to "qy[m]" lol)
<qyliss> But it is for buildRustPackage, buildPythonPackage, etc.
bgamari has joined #nixos
<qy[m]> ah, ok
<cole-h> worldofpeace: At risk of being annoying, I think the two openssl PRs should get the security label, if you have a moment ^^; #85734 and #85732
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85734 (by mweinelt, 1 hour ago, open): [20.03] openssl: 1.1.1f โ†’ 1.1.1g
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85732 (by mweinelt, 1 hour ago, open): openssl: 1.1.1f โ†’ 1.1.1g
<cole-h> Thank you kindly :^)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85732 โ†’ openssl: 1.1.1f โ†’ 1.1.1g โ†’ https://git.io/Jfkli
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JfkBk
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85734 โ†’ [20.03] openssl: 1.1.1f โ†’ 1.1.1g โ†’ https://git.io/Jfk8s
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging-20.03: https://git.io/JfkBI
<worldofpeace> cole-h: did more :D
proofofkeags has quit [Remote host closed the connection]
<cole-h> Guess they didn't need the label if you were just going to slide them right on into the branches... hehe โœจ worldofpeace
<{^_^}> worldofpeace's karma got increased to 151
<qy[m]> yep, seems mkDerivation doesn't set doCheck by default, cause i just set it to true and it's rebuilding
zannzen has joined #nixos
<worldofpeace> the label is still good, people's tooling uses it to find what the security fixes are in nixos
<{^_^}> [nixpkgs] @marsam opened pull request #85743 โ†’ icu: init 65.1, 66.1 โ†’ https://git.io/JfkBL
<cole-h> Oh, that's a fair point
nek0 has quit [Remote host closed the connection]
<Kyndig> cole-h, worldofpeace : thanks guys; I didn't even expect a response, let alone a fix so quick
nek0 has joined #nixos
<cole-h> :^)
<qy[m]> i don't suppose anyone knows a quick way to run something in an tmpfs/overlayfs'd chroot of the current fs tree?
<qy[m]> basically i want to run something with full filesystem access but no actual filesystem side-effects
<qy[m]> totally ephemeral
Kyndig has quit [Remote host closed the connection]
<infinisil> qy[m]: Are you perhaps using zfs?
<qy[m]> nope
<qy[m]> btrfs
<qy[m]> but i'd assume there'd be something slightly higher level than that anyway
<infinisil> With zfs at least, one could make a snapshot and mount that somewhere
<infinisil> Or alternatively a `zfs clone`, which is like a writable snapshot
<infinisil> Nah there's nothing like that for NixOS. NixOS in general doesn't like messing with arbitrary paths
proofofkeags has joined #nixos
<qy[m]> yeah, i could probably do similar with btrfs, but i was thinking like a namespacey kernel utility might be handier and more generic
<infinisil> Hmm, there is overlayfs
<qy[m]> i reckon i could sketch out something easily using unshare, chroot, tmpfs and overlayfs, if keeping mounts below root wasn't a requirement, but i'm just surprised nobody already has
h0m1 has quit [Ping timeout: 252 seconds]
<infinisil> First time I see somebody wanting this
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c1a6e60335b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> But I can imagine this being very powerful
h0m1 has joined #nixos
<hackerfoo> Overlay filesystems are useful with a read-only filesystem underneath.
<qy[m]> correction, someone almost certainly has, it's just not well known :p
<hackerfoo> Various implementations have come and gone over the years, but it's never really caught on.
<qy[m]> yeah
<qy[m]> they don't make sense without a read-only filesystem underneath :p
<qy[m]> i do remember unionfs and aufs{,3}, but overlayfs seems pretty well used these days
<qy[m]> and it got mainlined
<hackerfoo> One use was to allow a Linux system to run from a read-only disc.
<qy[m]> yeah, i think those squashfs-based livecds still do that
riz71 has quit [Remote host closed the connection]
<hackerfoo> I'll check overlayfs out, thanks.
EdLin has joined #nixos
<EdLin> hi
<zannzen> I probably just missed this in the docs somewhere but is there an easy way to force nixos to upgrade a package? I've got llvm-10 and 7 installed but 7 is in the `current-system` dir even after `nixos-rebuild switch --upgrade`
<EdLin> I'm having problems opening the manual in the new nixos for GUI release
<EdLin> it keeps opening in kate rather than in a browser
<EdLin> even using Firefox to open it doesn't work
<EdLin> I guess this is a polish issue if you have internet access on the disk since you can browse the instructions on web?
<{^_^}> [nixops] @cole-h opened pull request #1314 โ†’ README: tweaks โ†’ https://git.io/JfkBE
<qy[m]> turns out what i was after was installCheckPhase not checkPhase anyway... third build lucky
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch23 is now known as felixfoertsch
<hackerfoo> zannzen: You can set the priority with nix-env.
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9e523c4d71e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
reallymemorable has quit [Quit: reallymemorable]
<hackerfoo> zannzen: See the examples for --set-flag in the manpage for `nix-env`
<{^_^}> [nixops] @grahamc merged pull request #1314 โ†’ README: tweaks โ†’ https://git.io/JfkBE
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfkBr
<{^_^}> [nix] @matthewbauer opened pull request #3523 โ†’ Add `nix refs' command โ†’ https://git.io/JfkBo
proofofkeags has quit [Remote host closed the connection]
zeta_0 has joined #nixos
<zannzen> hackerfoo thanks I'll look through there, is there a way to do this in the configuration.nix file rather than nix-env?
<zannzen> or is nix-env preferred?
<hackerfoo> Maybe override the priority of the package? I haven't tried it.
<zannzen> thanks, I'll play around with it
EdLin has left #nixos ["Closing Window"]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #85402 โ†’ nixos/httpd: fix broken PHP extensions โ†’ https://git.io/Jffil
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/JfkBH
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<zeta_0> i asked a question about elm in nixpkgs on a nixos reddit post, if anyone here wants to take a look, thanks in advance: https://www.reddit.com/r/NixOS/comments/g5spd9/elm_does_nixpkgs_contain_all_the_elm_packages/
_e has quit [Quit: WeeChat 2.7.1]
abathur has quit [Quit: abathur]
<johnjay> question, is nixos super stable?
<johnjay> and how easy would it be to regenerate basically all of the installed system packages?
<infinisil> hackerfoo: zannzen: nix-env is only a user-level thing, it doesn't control the nixos configuration
<infinisil> zannzen: So you have both pkgs.llvm_7 and pkgs.llvm_10 in your environment.systemPackages?
proofofkeags has quit [Remote host closed the connection]
<infinisil> I don't know the full circumstances, but generally it's a good idea to not install libraries and compilers via your configuration.nix
<zannzen> infinisil I ended up installing llvm_10 manually, didn't realize llvm was pointing to 7
<infinisil> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<qy[m]> turning on PID user namespaces is actually handy for convenience you know. i can now use pkill/killall without fear of killing stuff that's actually important
<ornxka> if ive got a low-power machine that does its building on another computer, and i want to have its nixpkgs as directory/git clone of the actual repo for easy editing, whats the best/easiest way to do this?
<ornxka> (i dont want to keep the nixpkgs repo on the low-power machine, it would take ages to even copy over)
<zannzen> infinisil I was hoping to get a base version so I could e.g. spin up a vps at some point with my dev environment ready to go
<ornxka> is there a better solution than sshfs, or tarballing the repo, serving it on http, and using it as a channel?
<qy[m]> zannzen: see also llvmPackages_latest
<infinisil> zannzen: How did you install those packages?
<{^_^}> [nixpkgs] @JoshuaFern opened pull request #85744 โ†’ dosbox-staging: init at v0.75.0-rc1 โ†’ https://git.io/JfkRZ
<zannzen> `/etc/nixos/configuration.nix` and `nixos-rebuild switch`
<zannzen> infinisil
<infinisil> zannzen: And how do you determine that you're still using version 7?
<qy[m]> which is actually up to date
<qy[m]> god knows what's going on with llvmPackages itself
<qy[m]> i feel like it would be smart to just do a treewide replace of llvmPackages for llvmPackages_7 so llvmPackages can be updated, and we don't get new packages by the day depending on the old version, making upgrading even more of a PITA
<qy[m]> because that replace would theoretically be effectless
<zannzen> infinisil running `llvm-config --version` showed that llvm was pointing at v 7 after installing clang (which is v 7) even after removing clang
gentauro has quit [Read error: Connection reset by peer]
<infinisil> zannzen: What's `which llvm-config`?
gentauro has joined #nixos
<zannzen> infinisil both before and after it was `/run/current-system/sw/bin/llvm-config`
<zannzen> however after specifying `llvm_10` manually it's not updated
<zannzen> *now
<hackerfoo> ornxka: I think builders-use-substitutes will work.
<hackerfoo> In nix.conf
<infinisil> zannzen: So after removing clang, your system config doesn't refer to clang/llvm anymore at all and you still got the llvm-config binary?
<zannzen> qy[m] thanks I'll take a look at that one also
<ornxka> ooh
<ornxka> ill have a look at that thx!
azdle has joined #nixos
<zannzen> infinisil i had llvm and clang specified in the `environment.SystemPackages` list
* ornxka google "nixos substitutes" and get "alternatives to nixos"
<zannzen> adding clang downgraded my llvm-config to 7, removing it kept it at 7 though
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
sarcasticadmin has quit [Ping timeout: 260 seconds]
aw has joined #nixos
<infinisil> I'm even more confused now
<infinisil> How about just trying to get to a clean state first, removing everything that's necessary so you don't have llvm-config in your PATH anymore
spacefrogg has joined #nixos
nwspk has quit [Quit: nwspk]
<zannzen> ok, removed all packages that might have llvm depend on them, and it's no longer in path
nwspk has joined #nixos
proofofkeags has joined #nixos
<infinisil> Nice
<infinisil> zannzen: So now, adding `pkgs.llvm_10` should install version 10
<infinisil> Hopefully
<infinisil> (btw I asked for removing the packages so we know it's not being added to PATH by some other module)
<zannzen> yep, sorry maybe it got lost that does indeed work
<zannzen> the issue I think is the llvm (not specified) seems to point to llvm-7.1.0 which I was not aware of
<zannzen> at least running `nix-env -qaP llvm` seems to indicate as much
<infinisil> Ah yeah, qy[m] also indicated that
<infinisil> (wasn't aware myself either)
<infinisil> > showSrc pkgs "llvm"
<{^_^}> "all-packages.nix:8781 llvm = llvmPackages.llvm;"
<infinisil> > showSrc pkgs "llvmPackages"
<{^_^}> "all-packages.nix:8791 llvmPackages = recurseIntoAttrs llvmPackages_7;"
<bsima> so I'm inside the python overlay, and i need to use lib.fetchFromGitHub, where do i find it? It's not in `super` or `super.lib`
<qy[m]> there's an issue about this on nixpkgs somewhere, i made some noise about it a few weeks ago, but it's not gonna go anywhere anytime soon
<ornxka> so i guess the idea is, you want foo on low-power machine, so on builder you tell it to build foo according to its own nix expression, then on the low-power machine you do nix-env -iA bar and itll get the bar you built
<ornxka> next step is learning how to cross compile for i686
<zannzen> infinisil qy[m] thanks for the hep with that, pretty new to nix in general so of course it was something simple to miss heh
<infinisil> Np :)
<infinisil> bsima: Can't, need to get it from outside
<infinisil> Like with another function argument
<infinisil> or by referring to pkgs bound outside the overlay
<ornxka> nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz' -A whatever wow thats easy
<bsima> i see, i think i got it infinisil
<bsima> thx
morgrimm has joined #nixos
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has quit [Quit: WeeChat 2.8]
<rotaerk> is there a way to browse the nixos configuration options available within a given nixpkgs version?
<rotaerk> not sure if I can rely on the NixOS manual to be 100% accurate
multun has quit [Quit: WeeChat 2.5]
<rotaerk> hmm oh... it's under nixpkgs/nixos, not nixpkgs/pkgs
<infinisil> rotaerk: `man configuration.nix`
Fare has quit [Ping timeout: 258 seconds]
<rotaerk> oh.. lol
<rotaerk> hrm, I don't think that's quite accurate, actually, infinisil
<infinisil> What's off?
drakonis has joined #nixos
<rotaerk> if I look in /nix/var/nix/profiles/per-user/root/channels/nixos, and go into the nixos/modules subfolder...
<rotaerk> it seems to say there's a hardware.nvidia.optimus_prime attribute
<rotaerk> but the man file says it's hardware.nvidia.prime
<rotaerk> well wait, there are other places in nixpkgs that call it prime... confused
<rotaerk> oh it's renaming
<rotaerk> the nixos manual calls it optimus_prime
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @jonringer merged pull request #85676 โ†’ python2Packages.pylatexenc: 2.1 -> 2.2 โ†’ https://git.io/JfTNd
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master ยซ pythonPackages.pylatexenc: 2.1 -> 2.2 ยป: https://git.io/Jfk07
zannzen has quit [Remote host closed the connection]
<rotaerk> anyway, thanks infinisil
nicksloan has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @iblech opened pull request #85746 โ†’ nixos-containers: add docs about nested containers โ†’ https://git.io/Jfk0h
la-s has joined #nixos
<rotaerk> hmm, anyone familiar with diagnosing nvidia graphics driver issues?
<rotaerk> I followed the instructions here: https://nixos.wiki/wiki/Nvidia
<rotaerk> nvidia prime, both offline mode and sync mode
<rotaerk> I have modesetting and nvidia in the videoDrivers list
<colemickens> Any HM + Sway users? My swaylock doesn't accept my PW? I assume it's a PAM thing?
vika_nezrimaya has joined #nixos
<rotaerk> but when I try to run alacritty, it says it couldn't create the GL context; "Could not create EGL display object" and "`glXQueryExtensionsString` found no glX extensions"
<cole-h> colemickens: Are you using swaylock as a systemd unit?
<rotaerk> I had issues like this before, and I got it working with kernel 5.3 by just not using nvidia's drivers. had only "modesetting" in the videoDrivers list. this was with kernel 5.3
<rotaerk> but after I upgraded nixos, 5.3 was no longer available, so I tried 5.4 and 5.6 ... and now it doesn't work
<rotaerk> so I'm trying nvidia's drivers again, and no improvement
<cole-h> colemickens: If so: I had the same issue (though not NixOS). I just solved it by using swaylock/swayidle directly in my sway config.
<colemickens> cole-h: I'm actually not running it as a unit, just from my config file like I had normally (though I'm processing it with Nix so I have the full store path for swaylock, etc).
<infinisil> rotaerk: I need to relog/reboot for those alacritty errors, rather annoying
<rotaerk> I've done lots of rebooting
<rotaerk> in the process of trying out different configurations
<colemickens> cole-h: do you have programs.sway.enabled still?
<colemickens> at the system level? I think it's necessary to get the PAM config lined up correctly
<rotaerk> though, perhaps it's just alacritty ... is there a better way to test that the graphics drivers are working correctly? perhaps it's some other problem
<cole-h> colemickens: (not on NixOS lol)
<rotaerk> I do think it might be *better* than it was at least ... I was getting weird distortion in the context menus in firefox, when I just had modesetting
<rotaerk> but with nvidia enabled, it seems fine
<cole-h> I think I uploaded my sway hm config before, but I'll do it again
<colemickens> /boot cole-h
<cole-h> :D
<colemickens> nah, it's alright. that explains somethings.
<colemickens> I've got my setup all replicated in HM. This swaylock/PAM is sorta the last issue. I know some other folks also choose not to use swaylock at all, in favor of something more systemd-specific (generic?)
<cole-h> Oh, the reason why it works is probably because it's still pulling Arch's swaylock, not Nixpkgs' :D
<colemickens> I think it's more that if you're using Arch's swaylock that you're getting the /etc/pam.d/swaylock file.
<cole-h> If I try to run it manually from `nix-shell -p swaylock` I get: "2020-04-21 20:50:09 - [pam.c:101] pam_authenticate failed: authentication information unavailable"
<cole-h> (after I `pkill swaylock` from ssh)
<colemickens> This isn't provided by just install Sway in nixos/home-manager. In NixOS, the sway module activates it. I guess I'm just disappointed to have to keep activating machine-level configs for my user-WM.
<cole-h> I see
<qy[m]> rycee: could you reset the flake branch to e13bd1e79372c58cc1e86e45bdf304f4b6770fe3 when you're next free (already rebased)
<colemickens> it feels like there's a bit of tension between what goes in HM vs in nixos/nixpkgs. not my favorite, but a pretty minor complaint. I'm quite enjoying HM otherwise.
<energizer> i dont undersand why most of the hm modules can't be provided in nixos directly
<energizer> not that i really care, just seems like unnecessary duplication of labor
<cole-h> colemickens: Well, if you ever figure out the swaylock issue, be sure to `,tell` me, please :^)
<rotaerk> hmm well, I have optimus prime in offload mode. if I run glxgears, it says it can't "get an RGB, double-buffered visual"
<rotaerk> if I run `nvidia-offload glxgears` (using the nvidia-offload script suggested by the nixos wiki), it creates a window, but doesn't render any gears
tertl3 has quit [Quit: Connection closed for inactivity]
slack1256 has quit [Remote host closed the connection]
<rotaerk> huh. my own vulkan project successfully rendered a textured quad, though
<rotaerk> *facepalm* upgrading alacritty got it to work...
<rotaerk> updating *
<rotaerk> think I need to start uninstalling stuff from via nix-env and move it into configuration.nix so it gets updated automatically...
Havvy has quit [Ping timeout: 250 seconds]
Havvy has joined #nixos
<energizer> yes rotaerk
<peelz> colemickens: was pinging you earlier to ask you what you think of this: https://github.com/NixOS/nixpkgs/pull/85690 (if you haven't seen it already)
<{^_^}> #85690 (by LouisTakePILLz, 12 hours ago, open): improve obs-v4l2sink
glasserc has quit [Ping timeout: 256 seconds]
glasserc has joined #nixos
<colemickens> oh its still open in a tab somewhere for me to test :)
<colemickens> maybe in the next hour or two
<peelz> ah :P
<colemickens> apparently I need to update meson.
<peelz> sounds good
lsyoyom has quit [Ping timeout: 260 seconds]
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 256 seconds]
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
lsyoyom has joined #nixos
fuzen has quit [Quit: The Lounge - https://thelounge.chat]
fuzen has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @samueldr merged pull request #85569 โ†’ uboot: 2020.01 -> 2020.04 โ†’ https://git.io/JfUgf
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/JfkuW
ddellacosta has quit [Ping timeout: 256 seconds]
dongcarl has quit [Read error: Connection reset by peer]
morgrimm has joined #nixos
<colemickens> you must've pushed about 2 minutes after I pulled the commits, ha
<samueldr> colemickens: did I or another PR?
<colemickens> peelz's PR
<samueldr> right :)
morgrimm has quit [Ping timeout: 265 seconds]
<peelz> colemickens: yeah I did, I noticed some errors haha
asheshambasta has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
vidbina_ has joined #nixos
hlolli__ has quit [Remote host closed the connection]
hlolli__ has joined #nixos
CMCDragonkai1 has joined #nixos
samrose has quit [Ping timeout: 240 seconds]
CMCDragonkai1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #85275 โ†’ ocamlPackages.merlin: 3.3.3 โ†’ 3.3.4 โ†’ https://git.io/JfvGD
<{^_^}> [nixpkgs] @vbgl pushed to master ยซ ocamlPackages.merlin: 3.3.3 โ†’ 3.3.4 ยป: https://git.io/JfkuX
ayuce has quit [Read error: Connection reset by peer]
endformationage has quit [Quit: WeeChat 2.6]
alexherbo2 has joined #nixos
jbox has quit [Ping timeout: 246 seconds]
drewc has quit [Ping timeout: 256 seconds]
hlolli__ has quit [Ping timeout: 272 seconds]
cfricke has joined #nixos
proofofkeags has quit [Remote host closed the connection]
drewc has joined #nixos
cole-h has quit [Quit: Goodbye]
opthomasprime has joined #nixos
FRidh has joined #nixos
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 77 commits to staging-20.03: https://git.io/Jfkze
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 ยซ ocamlPackages.merlin: 3.3.3 โ†’ 3.3.4 ยป: https://git.io/Jfkzv
chagra has quit [Ping timeout: 265 seconds]
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
palo1 has joined #nixos
dermetfan has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<peelz> what's preferable? `{ mkDerivationย }: mkDerivation { }` or `{ stdenv }: stdenv.mkDerivation { }`
<peelz> oh wait that only works with a specialized `callPackage`, like `libsForQt5.callPackage`
<FRidh> peelz: typically one wants as precise parameters as possible, but when its about functions (or packages) that belong to a set and that are tightly coupled its better to pass in that set. With stdenv that's what we do, pass in the set (although actually stdenv is a derivation).
jakobrs has joined #nixos
<jakobrs> Is there any mechanism for specifying patches applied to nixpkgs in the configuration.nix file?
<peelz> FRidh: right, although I was questioning the two different approaches since, according to some PRs, `mkDerivation` was preferred over `stdenv.mkDerivation`. But then I realized that was a qt5-specific thing.
<peelz> FRidh: `libsForQt5.mkDerivation` passes its own `mkDerivation` for some reason(?)
<peelz> oh wait, I've been testing on different nixpkg branches
<peelz> It might be a change that's not in 19.09
<peelz> doesn't seem to work on my end for some reason though
<FRidh> yes that was Qt-specific and came later
<peelz> gotcha
sogatori has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #85355 โ†’ Overlay tests โ†’ https://git.io/JffTx
<{^_^}> [nixpkgs] @ehmry pushed 6 commits to master: https://git.io/JfkzW
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
mallox has joined #nixos
seku has joined #nixos
arcterus[m] has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85725 โ†’ tre-command: 0.2.2 -> 0.2.3 โ†’ https://git.io/Jfkcz
<{^_^}> [nixpkgs] @FRidh pushed commit from @dduan to master ยซ tre-command: 0.2.2 -> 0.2.3 ยป: https://git.io/Jfkza
<{^_^}> [nixpkgs] @FRidh merged pull request #85739 โ†’ sile: 0.10.3 -> 0.10.4 โ†’ https://git.io/Jfk4G
<{^_^}> [nixpkgs] @FRidh pushed commit from @marsam to master ยซ sile: 0.10.3 -> 0.10.4 ยป: https://git.io/Jfkzw
orivej has joined #nixos
arcterus[m] is now known as Arcterus[m]
rauno has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable ยซ python3Packages.dask: 2.10.1 -> 2.14.0 ยป: https://git.io/Jfkzd
jakobrs has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @tfc opened pull request #85747 โ†’ nixosTests.redmine: Port to python โ†’ https://git.io/Jfkzh
<{^_^}> [nixpkgs] @max-wittig opened pull request #85748 โ†’ gitlab-runner: 12.9.0 -> 12.10.0 โ†’ https://git.io/Jfkge
jakobrs has joined #nixos
<jakobrs> Also, are the changes to the system theme intentional in 20.03?
<jakobrs> I mean, applications display as though they are minimised when they're not focused
<peelz> jakobrs: would help if you specified the DE. Also regarding your earlier question, overlays is what you're looking for: https://nixos.wiki/wiki/Overlays
<jakobrs> yeah, plasma
<jakobrs> I don't think overlays let you override service definitions, though
<peelz> no you can't patch modules afaik
<peelz> it would probably be rather brittle anyway
<jakobrs> yeah
<makefu> either define your own module (say "config.mynick.myservice") or blacklist the upstream module and import your own (copy-pasted) module definition
<jakobrs> Can I
jmeredith has quit [Quit: Connection closed for inactivity]
<jakobrs> when you set, say, "services.udev.packages = [ package ];", services.udev.packages gets merged with that same option from other modules
<jakobrs> Can I _remove_ instead of add values to a list that way?
<peelz> defining your own module is the way to go (unless you have absolutely no other choice)
<jakobrs> So I'd just copy-paste the relevant file into /etc/nixos/custom-module.nix, and modify it slightly to not conflict with the "upstream" version?
linarcx has joined #nixos
morgrimm has joined #nixos
<srhb> jakobrs: You can disable the upstream module.
<colemickens> peelz ls ~/.config/obs-studio/plugins/v4l2sink/
<colemickens> locale/
<colemickens> I don't have a bin/ anymore?
<peelz> colemickens: huh?
<peelz> lemme check
<jakobrs> oh
<colemickens> I remote update, cherry-pick'd the last two commits, rebuilt and the plugin stopped working. Dropped those two commits, rebuilt, back to working.
<peelz> colemickens: cherry pick? try nixpkgs-review instead :P
<peelz> `nixpkgs-review pr 85690`
<peelz> colemickens: oh the bin folder ends up here: `~/.config/obs-studio/plugins/v4l2sink/share/obs/obs-plugins/v4l2sink/bin/64bit/v4l2sink.so`
morgrimm has quit [Ping timeout: 256 seconds]
jakobrs has quit [Quit: WeeChat 2.8]
<colemickens> all I know is after I pulled the commits onto my nixpkgs and rebuilt, the bin folder was no longer linked under my config obs-studio dir managed by HM.
<colemickens> I'll use nixpkgs-review pr and see what's up.
Maxdaman1us has joined #nixos
<peelz> colemickens: seems to work fine on my end https://0x0.st/ij-m.txt
Maxdamantus has quit [Ping timeout: 256 seconds]
<colemickens> maybe it's because it's a symlink or something. this is before your commits: https://gist.github.com/colemickens/454f23d3c74a9d1abe4ee1a241ce8b57. this is after: https://gist.github.com/colemickens/bb3279afa3ae963f961bb0d4e2025c0b
<colemickens> and unless I'm reading it wrong the bin output path is definitely chagned in your PR
<peelz> colemickens: ah, the symlink target is different, yours points `$out/share/obs/obs-plugins/v4l2sink`
<peelz> *to
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<colemickens> anyway, this makes your PR work for me https://gist.github.com/colemickens/f49358357ad14efc6101b9b92565a6fe
<peelz> I'm not sure what obs-studio expects for a directory layout
ehmry has joined #nixos
<colemickens> idk but this will match the other plugins afaict
<peelz> sounds good, will update the PR
<{^_^}> [nixpkgs] @andrew-d closed pull request #82078 โ†’ chirp: 20200213 -> 20200227 โ†’ https://git.io/JvoJ1
zupo has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
gerschtli has quit [Quit: WeeChat 2.7.1]
gerschtli has joined #nixos
<peelz> colemickens: pushed
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/63284ecf6fb (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
jb55 has joined #nixos
<colemickens> peelz: thank you! this is a nice QoL bump!
<peelz> ^^ no problem
gerschtli has quit [Quit: WeeChat 2.7.1]
knupfer has quit [Remote host closed the connection]
bobfett has joined #nixos
cr4y1 has joined #nixos
gerschtli has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #85677 โ†’ oil: 0.7.0 -> 0.8.pre4 โ†’ https://git.io/JfTAv
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/Jfk2V
<eyJhb> Already hate updating to 20.03, 99% sure displaylink will not work after
m0rphism has joined #nixos
multun has joined #nixos
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 256 seconds]
multun has quit [Client Quit]
<{^_^}> [nixpkgs] @bfortz closed pull request #85393 โ†’ babashka: 0.78 -> 0.85 โ†’ https://git.io/JffoG
multun has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #85749 โ†’ i3: 4.18 โ†’ 4.18.1 โ†’ https://git.io/Jfka3
FRidh2 is now known as FRidh
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
cfricke has joined #nixos
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo29 is now known as alexherbo2
broccoli has joined #nixos
<betaboon> i want to build a docker-image with dockerTools that contains a python-application. so i define `contents=pkgs.pythonPackages.mypackage` and `config.Cmd = "/bin/mypackage"` but that ends up in `No module named mypackage`. do i have to create an env? or do i have to put `python.withPackages` as content? anyone knows ?
<{^_^}> [nixpkgs] @zimbatm opened pull request #85750 โ†’ srcOnly: fix invocation and document โ†’ https://git.io/JfkaS
<FRidh> betaboon: use python.withPackages, and refer it in config.Cmd, no need to atit to contents then
<{^_^}> [nixpkgs] @domenkozar merged pull request #85749 โ†’ i3: 4.18 โ†’ 4.18.1 โ†’ https://git.io/Jfka3
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JfkaA
<{^_^}> [nixpkgs] @domenkozar merged pull request #85729 โ†’ chromium: 81.0.4044.113 -> 81.0.4044.122 โ†’ https://git.io/JfkWF
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Jfkah
<{^_^}> [nixpkgs] @domenkozar merged pull request #85747 โ†’ nixosTests.redmine: Port to python โ†’ https://git.io/Jfkzh
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JfkVe
morgrimm has joined #nixos
<betaboon> FRidh: thanks. i will try
morgrimm has quit [Ping timeout: 256 seconds]
smatting has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
<betaboon> FRidh: hm doesnt seem to work in this case
<{^_^}> [nixpkgs] @adevress opened pull request #85751 โ†’ Upgrade OpenSSL to 1.1.1g to fix CVE-2020-1967. ( โ†’ https://git.io/JfkV9
remirol has joined #nixos
lorimer has quit [Ping timeout: 250 seconds]
adev has joined #nixos
turion has joined #nixos
<adev> Hi All?
<adev> There is a CVE on OpenSSL published today.
<adev> I created a PR here to address that https://github.com/NixOS/nixpkgs/pull/85751, Feel free to use it or through an other channel
<{^_^}> #85751 (by adevress, 7 minutes ago, open): Upgrade OpenSSL to 1.1.1g to fix CVE-2020-1967. (
<adev> It is not clear to me what is the recommended channel for NixOS security related business
<{^_^}> [nixos-homepage] @garbas pushed 4 commits to landing-page: https://git.io/Jfkw3
snicket has joined #nixos
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<energizer> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
kreisys has joined #nixos
<hyper_ch> The Borg are using NixOS?
<{^_^}> [nixpkgs] @FRidh closed pull request #85751 โ†’ Upgrade OpenSSL to 1.1.1g to fix CVE-2020-1967. ( โ†’ https://git.io/JfkV9
<{^_^}> [nix] @edolstra pushed to flakes ยซ Path fetcher: Fix store path name ยป: https://git.io/JfkwP
iqubic` has joined #nixos
iqubic` has quit [Client Quit]
iqubic has quit [Ping timeout: 265 seconds]
iqubic has joined #nixos
<vaibhavsagar> DigitalKiwi: thanks for your help with the hakyll bug yesterday, it was in fact a `warp` thing https://github.com/NixOS/nixpkgs/issues/85670#issuecomment-617626153
<vaibhavsagar> or rather a `warp` version bound thing
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
sogatori has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hrdinka merged pull request #85383 โ†’ ephemeralpg: 2.9 -> 3.
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/Jfkrh
<DigitalKiwi> vaibhavsagar: yw
bogdb has joined #nixos
Neo-- has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
<benny> after a long wait the latest push seems to have caused grahamofBorg to build this PR, if someone has time to review it :-) https://github.com/NixOS/nixpkgs/pull/84350
<{^_^}> #84350 (by bandresen, 2 weeks ago, open): babashka: 0.0.78 -> 0.0.88-2
aswanson has quit [Quit: WeeChat 2.7.1]
chagra_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to landing-page ยซ Landing page rework started ยป: https://git.io/JfkKx
lsix has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
lsix has joined #nixos
bogdb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #85709 โ†’ pwsafe 1.09.0 -> 3.52.0 โ†’ https://git.io/JfkYG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfk6Y
hlolli__ has joined #nixos
geekthattweaks has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates ยซ hackage-packages.nix: automatic Haskell package set update ยป: https://git.io/Jfk6C
<Mic92> ToxicFrog: usually something like .nix-profile/share/doc
<{^_^}> [nixpkgs] @7c6f434c merged pull request #85743 โ†’ icu: init 65.1, 66.1 โ†’ https://git.io/JfkBL
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/Jfk6W
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 388 commits to haskell-updates: https://git.io/Jfk6B
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #85753 โ†’ haskellPackages.hakyll: relax upper bound on warp โ†’ https://git.io/Jfk6o
<{^_^}> [nixpkgs] @schmittlauch opened pull request #85754 โ†’ haskellPackages.asn1-types: backport 0.3.3 -> 0.3.4 โ†’ https://git.io/Jfk6D
<{^_^}> [nixpkgs] @mmahut merged pull request #85688 โ†’ shopify-themekit: init at 1.0.3 โ†’ https://git.io/JfkJf
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jfk6S
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
_viz_ has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 256 seconds]
felixfoertsch23 is now known as felixfoertsch
arahael1 is now known as Arahael
<eyJhb> Seems like lightdm is broken on 19.09 and 20.03
<energizer> i use lightdm on 19.09
domogled has quit [Ping timeout: 256 seconds]
<armin> some of my KDE widgets look a bit weird like this: https://twitter.com/netzverweigerer/status/1252894161545691137 - anyone a clue what's going on there?
noudle has joined #nixos
domogled has joined #nixos
bogdb has joined #nixos
jakobrs has joined #nixos
<jakobrs> I was wondering: How does the Plasma system settings interfere with the nixos libinput configuration?
<{^_^}> [nixpkgs] @Mic92 merged pull request #85746 โ†’ nixos-containers: add docs about nested containers โ†’ https://git.io/Jfk0h
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfki9
hmpffff_ has joined #nixos
isHavvy has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
hmpffff has quit [Ping timeout: 272 seconds]
Havvy has quit [Ping timeout: 256 seconds]
turion has quit [Ping timeout: 272 seconds]
domogled has quit [Ping timeout: 250 seconds]
morgrimm has joined #nixos
<asheshambasta>
<asheshambasta> why does this overlay cause an inf. recursion? `self: super: super.haskellPackages // { foo = "bar"; }`
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 240 seconds]
<Taneb> asheshambasta: it feels a little weird of an overlay, you're inserting all of haskellPackages into the top-level
<{^_^}> [nixpkgs] @prusnak opened pull request #85755 โ†’ arm-trusted-firmware: 2.2 -> 2.3 โ†’ https://git.io/JfkPq
domogled has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch closed pull request #85754 โ†’ haskellPackages.asn1-types: backport 0.3.3 -> 0.3.4 โ†’ https://git.io/Jfk6D
<asheshambasta> Taneb: will a more correct solution be super // { haskellPackages = super.haskellPackages // addPackages };
<{^_^}> [nixpkgs] @mweinelt opened pull request #85756 โ†’ babeld: 1.9.1 โ†’ 1.9.2 โ†’ https://git.io/JfkPG
<asheshambasta> actually yes, the result of an overlay should be a modified nixpkgs.
wfranzini has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
Maxdaman1us has quit [Ping timeout: 265 seconds]
domogled has quit [Ping timeout: 260 seconds]
<asheshambasta> a modified version also doesn't work and the errors are the same.
bogdb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #85757 โ†’ [20.03] babeld: 1.9.1 โ†’ 1.9.2 โ†’ https://git.io/JfkPB
Intensity has quit [Ping timeout: 250 seconds]
<Taneb> asheshambasta: sections 15.9.4.2 and 15.9.4.3 in https://nixos.org/nixpkgs/manual/#miscellaneous-topics might be helpful
<{^_^}> [nixpkgs] @FRidh opened pull request #85758 โ†’ WIP: python3Packages.bokeh: 1.4.0 -> 2.0.1 โ†’ https://git.io/JfkPz
domogled has joined #nixos
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #85759 โ†’ haskellPackages.asn1-types: backport 0.3.3 -> 0.3.4 โ†’ https://git.io/JfkPM
Neo-- has joined #nixos
Maxdamantus has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @basvandijk merged pull request #79840 โ†’ oauth2_proxy: 3.2.0 -> 5.1.0 โ†’ https://git.io/JvCEr
<{^_^}> [nixpkgs] @basvandijk pushed 5 commits to master: https://git.io/JfkPb
Maxdamantus has joined #nixos
Maxdamantus has joined #nixos
Maxdamantus has quit [Changing host]
dingo has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3522 โ†’ Replace select() with poll() โ†’ https://git.io/Jfks2
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfkXO
turion has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
zupo has joined #nixos
Maxdamantus has quit [Ping timeout: 258 seconds]
iyzsong has joined #nixos
_viz_ has quit [Ping timeout: 250 seconds]
noudle has quit []
alexherbo2 has joined #nixos
_viz_ has joined #nixos
noudle has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to landing-page ยซ merge fixes ยป: https://git.io/JfkXQ
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 3 commits to release-20.03: https://git.io/JfkXb
avn has quit [Ping timeout: 256 seconds]
konobi has quit [Read error: Connection reset by peer]
konobi has joined #nixos
chloekek has joined #nixos
sigmundv_ has joined #nixos
chloekek has quit [Client Quit]
jkachmar has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<{^_^}> [nixpkgs] @primeos opened pull request #85760 โ†’ [19.09] chromium: 81.0.4044.113 -> 81.0.4044.122 (backport) โ†’ https://git.io/Jfk1o
sigmundv_ has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #33368 โ†’ haskell generic-builder: Fix Dependencies โ†’ https://git.io/vbjLe
<yorick> why does stdenv include python?
<yorick> okay it seems to not
Jackneill has quit [Ping timeout: 264 seconds]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #72266 โ†’ Introduce NixOPS plugin structure โ†’ https://git.io/Jeubq
cosimone has joined #nixos
CcxWrk has quit [Quit: ZNC 1.7.4 - https://znc.in]
CcxWrk has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #72420 โ†’ waylandpp: 0.2.5 -> 0.2.7, make it split-output package โ†’ https://git.io/Jegk0
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Jfk1j
knupfer has joined #nixos
ixxie has quit [Ping timeout: 258 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #51274 โ†’ nixos/test/ipv6: Specify port in curl โ†’ https://git.io/fprTh
morgrimm has joined #nixos
maddo has joined #nixos
<nicksloan> I'm struggling with python 3.8 and virtualenv from nix stable on MacOS. Can't seem to find a relevant issue, but creating a virtual environment fails every time with a message about sys.prefix being misconfigured. Has anyone seen that yet?
avn has joined #nixos
morgrimm has quit [Ping timeout: 258 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
Jackneill has joined #nixos
Jackneill has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @symphorien opened pull request #85761 โ†’ unison: fix unison-fsmonitor wrapper in an empty PATH โ†’ https://git.io/JfkMW
Maxdamantus has quit [Ping timeout: 260 seconds]
<hyper_ch> gchristensen: ping
<{^_^}> [nixpkgs] @marsam opened pull request #85762 โ†’ nodejs-14_x: init at 14.0.0 โ†’ https://git.io/JfkM0
Maxdamantus has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b6c7259c4d0 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
knupfer has quit [Remote host closed the connection]
b has joined #nixos
<{^_^}> [nixpkgs] @sbourdeauducq opened pull request #85763 โ†’ svgwrite: do not mark as broken โ†’ https://git.io/JfkMK
Jaxon has joined #nixos
<Jaxon> I'm having trouble logging in using Github as a method of authentication
<dingo> Jaxon: by chance you are in a country with USA-trade restrictions?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<{^_^}> [nixpkgs] @Mic92 opened pull request #85764 โ†’ nodePackages: switch to 12 โ†’ https://git.io/JfkMH
<Jaxon> Nop i'm in Egypt so that shouldn't be the problem
<gchristensen> Jaxon: what are you trying to log in to?
<Jaxon> nixos wiki
<Jaxon> the options are login with either a wiki account (i have no idea what it's) or with github so i went with the github option, it redirects me to the site and i authorize however when it redirects back to the wiki all i see is errors
<Jaxon> on the wiki it shows Internal Error and then there's a generated log in red
<gchristensen> maybe ask in #nixos-wiki Jaxon?
<Jaxon> ok thank you
<gchristensen> yep!
Jaxon_ has joined #nixos
<{^_^}> [nixpkgs] @lourkeur opened pull request #85765 โ†’ onionshare: init at 2.2 โ†’ https://git.io/JfkDJ
reallymemorable has joined #nixos
Jaxon has quit [Quit: Leaving]
Jaxon_ has quit [Client Quit]
cosimone has quit [Remote host closed the connection]
m0rphism has quit [Quit: WeeChat 2.7.1]
cosimone has joined #nixos
<seku> gchristensen : hi, read through your ZFS dataset blog post, very insightful, i'll give it a try setting up the datasets as you propose! what would you use for swap tho? a dedicated zvol without checksumming? something else?
<{^_^}> [nixpkgs] @FRidh merged pull request #85666 โ†’ git: 2.26.1 -> 2.26.2 (security, CVE-2020-11008) โ†’ https://git.io/JfT9p
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to staging ยซ git: 2.26.1 -> 2.26.2 (security, CVE-2020-11008) ยป: https://git.io/JfkDZ
<gchristensen> seku: if I needed swap (I try to not need swap) I would create a partition on disk anduse that. I wouldn't use ZFS for swap
<{^_^}> [nixpkgs] @Mic92 opened pull request #85766 โ†’ nixpkgs-review: 2.2.0 -> 2.3.0 โ†’ https://git.io/JfkDW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85533 โ†’ [20.03] pythonPackages.{namedlist, ludios_wpull}: mark broken only on Python 3.8 โ†’ https://git.io/JfUOn
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/JfkD4
<seku> thanks! I'm still pondering if i should actually use swap or not.
turion has quit [Ping timeout: 265 seconds]
<gchristensen> every time swap has activated for me on a personal machine I have wished the kernel just killed processes
m0rphism has joined #nixos
<seku> hah, i guess so.
<gchristensen> that said, I usually have pretty good amount of RAM, so it wouldn't do that in day-to-day stuff :)
nschoe has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #82007 โ†’ cbeams: init at 1.0.3 โ†’ https://git.io/Jvru0
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfkDz
cosimone has quit [Quit: Terminated!]
<seku> i guess you would need a memory leak to go haywire :)
<gchristensen> yeah, in which case killing it is really the right thing
vidbina_ has quit [Ping timeout: 256 seconds]
<dingo> snapshots of nixos-containers are only possible with btrfs rigth?
<seku> ill give it a try then without swap too. makes config a bit easier
<gchristensen> seku: I'm glad you liked the post!
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master ยซ gitlab-runner: 12.9.0 -> 12.10.0 (#85748) ยป: https://git.io/JfkDP
<{^_^}> [nixpkgs] @zimbatm merged pull request #85748 โ†’ gitlab-runner: 12.9.0 -> 12.10.0 โ†’ https://git.io/Jfkge
<{^_^}> [nixpkgs] @domenkozar merged pull request #72091 โ†’ python3Packages.pytest4: deterministic bytecode โ†’ https://git.io/JeEAZ
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JfkD1
<seku> gchristensen: reading your erase your darlings post now. wonderfully insightful :)
<gchristensen> :D
Darkmatter66 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master ยซ python3Packages.google_api_python_client: 1.8.1 -> 1.8.2 ยป: https://git.io/JfkDN
Darkmatter66 has joined #nixos
<seku> wow, the idea with /persist is great.
<seku> another thing to try out xD
<{^_^}> [nixpkgs] @worldofpeace pushed to revert-85488-ldc-bootstrap ยซ Revert "ldc: 1.17.0 -> 1.20.1" ยป: https://git.io/JfkDh
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85768 โ†’ Revert "ldc: 1.17.0 -> 1.20.1" โ†’ https://git.io/Jfkye
Supersonic has quit [Quit: Bye]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85768 โ†’ Revert "ldc: 1.17.0 -> 1.20.1" โ†’ https://git.io/Jfkye
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfkyv
Supersonic112 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to revert-85488-ldc-bootstrap: https://git.io/JfkyU
Supersonic112 is now known as Supersonic
FRidh has quit [Ping timeout: 265 seconds]
vidbina_ has joined #nixos
CMCDragonkai_ has joined #nixos
<CMCDragonkai_> Is there a way to acquire the gvfs CLI utilities without the rest of gnome?
<CMCDragonkai_> Like `gvfs-mount`
<CMCDragonkai_> I tried just installing `gvfs`, but it doesn't export a `bin` directory
FRidh has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
cfricke has quit [Quit: WeeChat 2.8]
cfricke has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
<infinisil> ,locate bin gvfs-mount
<{^_^}> Couldn't find in any packages
FRidh has quit [Ping timeout: 256 seconds]
earldouglas has joined #nixos
FRidh has joined #nixos
dingenskirchen has joined #nixos
amf has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #83054 โ†’ crystal: change all crystal programs to use buildCrystalPackage and update pkgs โ†’ https://git.io/Jfkyh
<{^_^}> [nixpkgs] @peterhoeg pushed 10 commits to master: https://git.io/Jfkyj
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
domogled has joined #nixos
<jtojnar> infinisil that was removed, use `gio mount` from glib instead
<jtojnar> CMCDragonkai^
<CMCDragonkai> what about the other commands
<CMCDragonkai> like gvfs-* commands?
<peelz> jtojnar: #85690 should be ready for merging :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85690 (by LouisTakePILLz, 20 hours ago, open): improve obs-v4l2sink
<peelz> thanks for clearing up the qt-related confusion
<peelz> jtojnar++
<{^_^}> jtojnar's karma got increased to 43
<jtojnar> CMCDragonkai yeah, all gvfs commands were deprecated for ages and removed like two years ago
<CMCDragonkai> they are all replaced with gio?
<CMCDragonkai> they looked pretty useful
jbox has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #85769 โ†’ WIP lbry: init at 0.44.0 โ†’ https://git.io/JfkSg
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b6c7259c4d0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
turion has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
morgrimm has joined #nixos
<peelz> jtojnar: should the library use libsForQt5.callPackage ?
<jtojnar> peelz pretty sure it should
Maxdamantus has joined #nixos
<peelz> jtojnar: it works without it though. What does libsForQt5 do exactly?
dhess has quit [Quit: ZNC - https://znc.in]
dhess has joined #nixos
<adisbladis> peelz: libsForQt5 is a scope. libsForQt5.callPackage injects function arguments from that scope.
<peelz> adisbladis: right, but I don't think it provides anything in this case. `pkgs.qt5` is a thing
<peelz> adisbladis: #85690
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85690 (by LouisTakePILLz, 20 hours ago, open): improve obs-v4l2sink
amf has joined #nixos
<adisbladis> peelz: Yes looks like you don't need it :) You're not depending on anything from that set.
<peelz> adisbladis: ok great!
jmeredith has joined #nixos
zupo has joined #nixos
<peelz> jtojnar: I'll remove the `libsForQt5.callPackage` call
<{^_^}> [nixpkgs] @alyssais merged pull request #85296 โ†’ mblaze: install msuck and mblow โ†’ https://git.io/Jfvuo
<{^_^}> [nixpkgs] @alyssais pushed to master ยซ mblaze: install msuck and mblow ยป: https://git.io/Jfk9Y
<jtojnar> peelz it is to make sure all the qt libraries a package links against are compatible. If you use a Qt library, you should use it.
<peelz> oh, so it passes its own qt5 parameter?
<peelz> the other obs plugins don't use that though. maybe they don't use qt libs?
<jtojnar> (it does not matter in your case at the moment since you use only qt5.qtbase but might be problematic if we add other qt dependencies in the future and forget to add qt's callpackage)
<peelz> so which is it? keep it or leave it? :P
<peelz> * remove it
<jtojnar> peelz it passes things like qtbase as the argument
<peelz> ah so should I depend on qtbase instead of qt5.qtbase?
<jtojnar> keep it and use qtbase directly instead of qt5.qtbase
<jtojnar> yup
<peelz> gotcha, makes sense
<jtojnar> the main point is to not need to get everything from qt5 attrset (qtbase instead of qt5.qtbase) and to make it harder to shoot yourself in the foot by overriding the qt version used by one library forgetting about another one (e.g. upgrading qtbase to 5.13 but leaving qtxml at 5.12)
<{^_^}> [nixpkgs] @alevy opened pull request #85770 โ†’ zulip: 4.0.0 -> 5.0.0 โ†’ https://git.io/Jfk9o
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed 46 commits to flakes: https://git.io/Jfk9Q
<vika_nezrimaya> so uhh can `nix flake update` be safely used on an untrusted flake? like is there any possibility of arbitrary code execution there?
<{^_^}> [nixpkgs] @vbgl opened pull request #85771 โ†’ coqPackages.gappalib: 1.4.1 โ†’ 1.4.3 โ†’ https://git.io/Jfk9d
<gchristensen> vika_nezrimaya: flakes are purely evaluated, so nothing risky at evaluation time. but they could build whatever they want of course :)
<vika_nezrimaya> great
<vika_nezrimaya> I'm not building anything
<vika_nezrimaya> considering making a GitHub/GitLab bot that works like a depend-a-bot for flakes, filing PRs when the lockfile can be updated
<niksnut> currently it's safe, but in the future there may be input types that require code execution
<gchristensen> interesting
<vika_nezrimaya> I hope it'll be built into Nix as a plugin rather than distributed via a flake
<vika_nezrimaya> so I could, e.g. verify the code myself and allow it to run explicitly by building the plugin and referencing it from nix.conf
<vika_nezrimaya> nix.plugins NixOS config option maybe? :3
<aanderse> if i'm making modifications to switch-
<aanderse> to-configuration.nix how can i test those?
<vika_nezrimaya> obviously you try to switch the configuration!
<vika_nezrimaya> in a VM of course
<{^_^}> [nixpkgs] @blitz opened pull request #85772 โ†’ Use Open Watcom to build VirtualBox BIOS โ†’ https://git.io/JfkHL
<vika_nezrimaya> may nixos tests help you
<vika_nezrimaya> probably
cosimone has joined #nixos
gustavderdrache has joined #nixos
<aanderse> vika_nezrimaya: assuming you're talking to me... there are a bunch of things that are substituted in that script so i can't just call it
<vika_nezrimaya> Maybe you could use NixOS test framework, I mean
<vika_nezrimaya> it probably tests that file you're talking about too
aswanson has joined #nixos
remirol is now known as lorimer
relaxmax has joined #nixos
<peelz> jtojnar: so should I update it to the latest rev? I prefer staying on the release because it looks cleaner but up to you
lmz has joined #nixos
morgrimm has joined #nixos
beb has joined #nixos
_viz_ has quit [Remote host closed the connection]
<lmz> Hi All! I have a question about unload a part of the config. Imagine I want to generate a cert using Let's encrypt. I want to use a new DNS check. For that I need to add a DNS server to my cfg. Is there a mechanism to unload that DNS server after cert has been generated?
<lmz> Something similar to python contect managers:
Orbstheorem has left #nixos ["WeeChat 2.3"]
<lmz> with open('file')
katie_- has joined #nixos
Orbstheorem has joined #nixos
katie_ has quit [Ping timeout: 265 seconds]
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}> [nix] @edolstra pushed 0 commits to flakes: https://git.io/JfkH5
wspthr has quit [Read error: Connection reset by peer]
fusion809 has quit [Remote host closed the connection]
Maxdamantus has quit [Ping timeout: 250 seconds]
wspthr has joined #nixos
civodul has joined #nixos
wspthr has quit [Read error: Connection reset by peer]
Maxdamantus has joined #nixos
<beb> Hey, I'm currently trying to tweak the default.nix for unity3d to give me a specific version of unity, that I need for uni. That seems to go quite well, the package builds fine, but when I start unity-editor, I get an error claiming that libnss3.so cannot be found even though nss is in lib.makeLibraryPath and is in the original version from
<beb> nixpkgs. I changed nothing about nss. Any idea why the library cannot be found?
wspthr has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<hyper_ch> gchristensen: are you awake?
<gchristensen> hyper_ch: yeah
<hyper_ch> gchristensen: in your blog entry, is there a reason you do not take /etc/nixos as persistent dataset?
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #85773 โ†’ pythonPackages.cloudflare: init at 2.6.5 โ†’ https://git.io/JfkQ0
<gchristensen> hyper_ch: I store my nixos configuration in ~/projects/github.com/grahamc/nixos-config
<hyper_ch> also another thing that is unclear to me: at the end of nixos-install it asks for root password... won't that be written directly to the passwd/shadow file? (or do you specify it also in the configuration.nix?)
<hyper_ch> because after reboot, when you roll back, /etc/passwd and /etc/shadow would be gone
<gchristensen> I specify the root password in the configuration
<hyper_ch> ok :) never done that
<hyper_ch> last thing: you could use zfs mount for /home -- test it and it works. The benefit is, you could then setup easily datasets for users
<gchristensen> cool
relaxmax has quit [Ping timeout: 256 seconds]
<hyper_ch> since I have to stress test my new ecc box a little bit I thought I give your setup a chance and those were the few things that came to my mind
<gchristensen> cool :)
<hyper_ch> (I even used uefi install now but did just put whole /boot on a usb thumbdrive)
<gchristensen> impressive
<hyper_ch> also created a boot dataset then where I just rsync every hour from the thumbdrive :)
vidbina_ has quit [Ping timeout: 256 seconds]
<gchristensen> cool :)
<gchristensen> sounds good
<hyper_ch> (I just like to give full disks to zfs and not partion them manually)
<{^_^}> [nixpkgs] @geistesk opened pull request #85775 โ†’ Revert "st: copy config file in 'prePatch' instead of 'preBuild'" โ†’ https://git.io/JfkQr
ZuS[m] has joined #nixos
Acou_Bass has quit [Ping timeout: 264 seconds]
cosimone has quit [Remote host closed the connection]
<gchristensen> nice :D looks great!
cosimone has joined #nixos
<hyper_ch> just playing around with it now
zrsk[m] has joined #nixos
peelz has quit [Quit: Leaving]
Acou_Bass has joined #nixos
beb has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra pushed 47 commits to master: https://git.io/JfkQy
<{^_^}> [nix] @edolstra merged pull request #3466 โ†’ nix-errors-enhancement - error format demo โ†’ https://git.io/JvduA
peelz has joined #nixos
<gchristensen> natoehunstaoheunsthaoensuhaonsetuhnthaoe IT'S HAPPENING
<seku> wow, that's quite some playing around :)
knupfer has joined #nixos
mac has joined #nixos
chagra_ has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @magnetophon opened pull request #85776 โ†’ fverb: init at unstable-2020-04-04 โ†’ https://git.io/Jfk7v
<mac> Hello. I am a new NixOS user and I am trying to get nvidia prime offload working on a muxless optimus laptop. It works fine in Arch so there is no problem with linux and the hardware in general. I installed latest release version of nixos (20.03) but apparently nvidia offload is not available there so I tried to switch to unstable channel but that
<mac> does not seem to work for me. I probably just made a stupid mistake, how do you correctly switch your whole os to another main channel?
<hyper_ch> mac: how did you switch to unstable?
cosimone has quit [Remote host closed the connection]
<hyper_ch> to switch to unstable you just run: nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<hyper_ch> and then nixos-rebuild boot --upgrade
cosimone has joined #nixos
<hyper_ch> or if you want to go back to stable: nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
<hyper_ch> and then nixos-rebuild boot --upgrade
<mac> Ah, thanks! I confused the nixpkgs channel and nixos channel so I guess I did not switch at all :) will try again
<hyper_ch> are you using nixos or nixpkgs?
<mac> NixOS. But I have been reading a lot about both and got a little confused since I am new I guess.
<mac> Now it is building my new config. Exciting!
<hyper_ch> mac: I made myself small scripts and put them into /etc/nixos
<hyper_ch> to switch between them :)
<mac> Good idea
<infinisil> I feel like I see channel-related problems on a daily basis here
<hyper_ch> infinisil: that's only because you're always in here :)
<infinisil> That certainly helps :P
<infinisil> But they really are way too confusing, and I can't wait for them to not be a thing anymore
<hyper_ch> gchristensen: btw, nixos complains about this line from your blog post: boot.initrd.postDeviceCommands = lib.mkAfter '' (haven't added the rollback so far and wanted to do it now): error: undefined variable 'lib' at /etc/nixos/configuration.nix:34:36
lmz has quit [Remote host closed the connection]
<infinisil> hyper_ch: Add lib to the function arguments at the top of the file
<hyper_ch> but gchristensen did not say so in his blog post :)
<infinisil> Hm I guess, though it is pretty standard
piezoid has joined #nixos
<hyper_ch> I haven't had that in there so far :)
<{^_^}> [nixpkgs] @hrdinka merged pull request #85679 โ†’ pcsx2: unstable-2020-01-05 -> 1.6.0-rc โ†’ https://git.io/JfTpU
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/Jfk7K
<gchristensen> hyper_ch: oops :)
<hyper_ch> also, I noticed the default installer configuration.nix still uses i18n.consoleKeyMap and i18n.consoleFont instead of console.keyMap and console.font.... should I open a bug report?
<hyper_ch> gchristensen: trying to reboot now with the rollback
<immae> infinisil: does the channel end of life has a date? (my colleagues have many issues with them too, I cannot wait for it to end :D )
proofofkeags has joined #nixos
<hyper_ch> why would it end?
<infinisil> hyper_ch: That was just fixed recently
<{^_^}> #85643 (by petabyteboy, 1 day ago, merged): nixos/tools: adapt for renamed console options
<hyper_ch> ah ok... the iso generated is from last saturday
<infinisil> *very* recently, only just merged :2
<hyper_ch> time to update my iso then
<immae> hyper_ch: the things that lies in ~/.nix-defexprs and related to nix-channel commands are deprecated arenโ€™t they?
<hyper_ch> immae: /me eyes infinisil
<immae> (thatโ€™s the part that is constantly confusing my colleagues and I pray for it to end :p )
<infinisil> Nah that's still the current way to do things
<immae> isnโ€™t it NIX_PATH ?
<hyper_ch> gchristensen: ok, rollback of rootfs worked... but for some reasons it had issues with the remote host fingerprint... that seemed to have changed
<hyper_ch> btw, from #zfsonlinux there's an interesting thought. "[16:12] <Caterpillar> both my CentOS+ZFS NAS and my desktop computer have USB 3.1 Gen 2. Has anybody every connected two machines with that protocol? I could enjoy 10 Gbit/s bandwidth without having to buy a 10 Gbit/s network card adapter"
<Yaniel> I have used usbnet before
<hyper_ch> gchristensen: ok, host fingerprint remains... probably was all my testing and setting back before
<Yaniel> that would probably work here too
lunik1 has quit [Quit: :x]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
rogue_koder has joined #nixos
<infinisil> immae: NIX_PATH should point to ~/.nix-defexprs by default
<peelz> jtojnar: well I have a problem now... I can't get obs-studio to pick up the plugin at all :(
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<jtojnar> peelz did it work before
<jtojnar> ?
<peelz> jtojnar: yes
<peelz> I've upgraded to 20.03 and it hasn't worked since
<immae> infinisil: yes, but I heard that using ~/.nix-defexprs at all was deprecated and that we should instead use full urls, I may have misunderstood
<peelz> jtojnar: I tested with the original derivation (the one on master) and it doesn't pick up the plugin either
<{^_^}> [nixpkgs] @primeos opened pull request #85778 โ†’ python3Packages.cryptography: 2.9 -> 2.9.1 โ†’ https://git.io/Jfk5U
<jtojnar> peelz: was obs updated? I do not use it so I do no follow its changes
<peelz> jtojnar: not sure, the version number is bugged in nixpkgs (stays on 0.0.1) lol
<peelz> will check
waleee-cl has joined #nixos
fendoer has joined #nixos
<infinisil> immae: Haven't heard of it being *deprecated*, but it's not optimal by far imo
<infinisil> I've switched away from it fwiw
<immae> (yes me too)
mekeor has quit [Ping timeout: 256 seconds]
<infinisil> I do have `{ nixos = import <nixpkgs> {}; }` in ~/.nix-defexpr/default.nix so I can still use normal nix-env commands if I need it or need to test something (though that rarely happens)
mekeor has joined #nixos
uwap has quit [Quit: ZNC 1.7.5 - https://znc.in]
fenedor has quit [Ping timeout: 260 seconds]
<peelz> jtojnar: my very first version still seems to works however (before any of the changes on the PR)
wfranzini has quit [Remote host closed the connection]
<peelz> so that's good news
<immae> infinisil: yes me too, you gave me that trick some times ago, which definitely ended any channel-related command as far as I am concerned :)
wfranzini has joined #nixos
<infinisil> :D
lzmartinico has joined #nixos
<immae> (but I still have to teach my colleagues which get often confused with the channels)
Kyndig has joined #nixos
<peelz> can't wait till channels are gone from my config
<peelz> I'm still debating whether I should use flakes or work with a pinned nixpkgs
<immae> peelz: if you want pinned nixpkgs you can do it now, see infinisilโ€™s suggestion as to what to put in ~/.nix-defexpr/default.nix (to make nix-env keep working)
<peelz> immae: huh? I was under the impression using a pinned nixpkgs in configuration.nix resulted in impure side effects
<peelz> also I'm not sure how to replace the top-level argset and have a reference to `config`
uwap has joined #nixos
ddellacosta has joined #nixos
<infinisil> Where ../external/nixpkgs is the version I use for NixOS
realrokka_ has quit [Quit: rip]
<peelz> what does cleanSource do? o_O
<immae> peelz: Iโ€™m a bit surprised about impure side-effect, it doesnโ€™t make much difference if your NIX_PATH points to a fixed source
realrokka has joined #nixos
<infinisil> peelz: Just removes the .git directory and some other thinsg like that
<infinisil> The nixpkgs repo would be half a gig otherwise :P
<peelz> immae: oh right, I guess it works if you build with a different NIX_PATH -- I was talking about hardcoding a nixpkgs reference inside of configuration.nix
<peelz> infinisil: true lol
<Kyndig> If I defined a users.users.blah.home in my configuration.nix, shouldn't I be able to use that variable in a string elsewhere in the config? (like authPassFile = "${users.users.blah.home}/.gmail-ssmtp-authpass")
<peelz> infinisil: is there a clean way to pin a nixpkgs from the configuration.nix expression (100% pure and no dependency on env vars)?
<infinisil> Kyndig: Yeah, add the `config` argument at the top of the module, then you can use `config.users.users.blah.home`
<infinisil> peelz: Nope
<infinisil> Well
<peelz> infinisil: no or "yes but it's complicated"?
<peelz> :D
<infinisil> Hm nah
<peelz> hahaha
<peelz> soooo flakes?
<immae> Hmm yes there is?
<infinisil> peelz: Simple reason is that you need a nixpkgs to even evaluate your configuration.nix
<immae> ah uh
domogled has quit [Remote host closed the connection]
<immae> sorry I spoke too quickly
<infinisil> I guess you could have a command that evaluates configuration.nix with a "bootstrapping" nixpkgs to get the actual nixpkgs, then uses that to evaluate it again
<peelz> infinisil: that's a shame... couldn't you exclusively use builtins to fetch nixpkgs and use that to bootstrap another config file?
domogled has joined #nixos
nschoe has quit [Quit: No Ping reply in 180 seconds.]
<peelz> hehe
<peelz> but I'd have to split it into two different files, right?
nwspk has quit [Quit: nwspk]
nschoe has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<Kyndig> infinisil: thx; that got rid of the undefined variable issue, but now I have infinite recursion
nwspk has joined #nixos
codygman has joined #nixos
<{^_^}> [nixpkgs] @jakobrs opened pull request #85779 โ†’ nixos/libinput: Add package and xf86inputlibinput.package options โ†’ https://git.io/Jfkdf
<infinisil> peelz: Not necessarily. You could do e.g. `config.system.build.nixpkgs = fetchTarball { ... }` in configuration.nix to specify the nixpkgs version, then evaluate that with a bootstrapping nixpkgs like `nix-instantiate --eval --read-write-mode /path/to/bootstrap/nixpkgs/nixos -A config.system.build.nixpkgs` to get the pinned nixpkgs, then set nixpkgs=$result in NIX_PATH and do a normal nixos-rebuild
<infinisil> switch
nwspk has quit [Client Quit]
<infinisil> Kyndig: Need to see tho whole code to help with that
andreas303 has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 240 seconds]
snicket has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
klntsky has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 240 seconds]
corpix has quit [Ping timeout: 240 seconds]
xelxebar has quit [Ping timeout: 240 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
CMCDragonkai_ has quit [Quit: Connection closed for inactivity]
<Kyndig> infinisil: yeah, thx; I won't bother you with that, but is there in general a way to make the error message print out the recursive cycle?
nwspk has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
phreedom has quit [Ping timeout: 240 seconds]
<peelz> infinisil: but that still depends on changing the environment vars or did I misread?
<infinisil> Kyndig: --show-trace
codygman has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<infinisil> peelz: You can also do `nixos-rebuild switch -I nixpkgs=$result`
<infinisil> I guess that's still kind of changing env vars
codygman has joined #nixos
<peelz> infinisil: ah gotcha
jakobrs has joined #nixos
smatting has quit [Ping timeout: 265 seconds]
nwspk has quit [Client Quit]
<Kyndig> infinisil: cool; that should help
infandum has joined #nixos
nwspk has joined #nixos
lunaa has joined #nixos
<infinisil> Kyndig: Feel free to ask me if you don't know further, I'm pretty used to spotting/fixing inf rec :P
lunik1 has joined #nixos
<lunaa> Has anyone used the printer options for configuration.nix?
<{^_^}> [nixpkgs] @emilazy opened pull request #85780 โ†’ p7zip: remove non-free RAR support โ†’ https://git.io/Jfkdn
zupo has joined #nixos
smatting has joined #nixos
<lunaa> I'm not sure what the "*" in ensurePrinters.*.whatever is supposed to be...
<peelz> infinisil: I'm still trying to wrap my head around that `system.build.nixpkgs` thing. I'm not sure I get it. Why do you need to do it in two steps?
<immae> peelz / infinisil: nixos-rebuild mostly does a nix-build, so if you look at its source (itโ€™s a bash script) we might transform the nix-build command into one that would not make use of nixpkgs but instead would load a fetchTarball content no?
<infinisil> peelz: The system.build.* option is just an option you can use to assign arbitrary things, NixOS doesn't look at arbitrary keys in that set, neither does it look at the "nixpkgs" key. So assigning that in your configuration.nix doesn't do anything other than "exporting" a variable for stuff outside the module to see
o1lo01ol_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @blitz opened pull request #85781 โ†’ Add spike integration test to nixosTests โ†’ https://git.io/JfkdB
<peelz> jtojnar: btw I figured out what happened. It had to do with the way I symlinked the derivation output to my plugins folder. For some reason on 19.09 obs would recursively look for `bin/64bit`, but it didn't anymore on 20.03 ;P
o1lo01ol1o has joined #nixos
<infinisil> peelz: Though I feel like this approach might not work unless you turn off option checking as well (with config._module.check = false), since the options you set in configuration.nix might not be valid in the bootstrapping nixpkgs
<infinisil> Or it might fail for another reason, haven't tested it. This is really just a hack :P
<infandum> Building a haskell package using developPackage, how do I jailbreak a dependency?
<peelz> infinisil: yeah this sounds like a massive hack haha
<lunaa> infinisil: So you can put just anything as *?
<infinisil> immae: Oh yeah that would work, would need a way to configure which nixpkgs to use still though
<infinisil> Might be simpler to just have /etc/nixos/nixpkgs.nix which specifies that
<immae> infinisil: yes I though of something like `let src = builtins.fetchTarball {... }; in with import "${src}/nixos" {}; config.system.build.nixos-rebuild`
<peelz> infinisil: so in order to avoid any extra build steps, I could have my `configuration.nix` import a nixpkgs tarball and use that to load the actual config file?
<immae> this would not depend on any environment variable (except that nixos contains some references to <nixpkgs> so actually it will still use them)
<peelz> infinisil: just confirming if this is a sound idea :P
<infinisil> immae: Hm, I wouldn't do it like that
<infinisil> lunaa: Hold on, I'll take a look at that later :)
o1lo01ol1o has quit [Ping timeout: 240 seconds]
corpix has joined #nixos
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85759 โ†’ haskellPackages.asn1-types: backport 0.3.3 -> 0.3.4 โ†’ https://git.io/JfkPM
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to staging-20.03: https://git.io/JfkdK
<nschoe> I'm just wondering if you had something in mind that could make a gtk (and also qtbase)-based app crash on launch :)
<nschoe> Hi everyone, just a shot in the dark: I'm trying to make a nix derivation for an application. It builds okay but when I execute it, it crashes immediately on launch. All I've got is a few " GLib-CRITICAL **" error messages. Bu the kindofwhich I always have, on basically all gtk apps.
phreedom has joined #nixos
<infinisil> immae: Hm, not sure how to do it better nicely, without duplicating what nixos-rebuild odes
cosimone has quit [Remote host closed the connection]
oida has joined #nixos
<immae> infinisil: yes it was just a sketch, nixos-rebuild does many other things indeed
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
<immae> Iโ€™m just fascinated by all the mecanisms in place so I looked into it :D
jb55 has joined #nixos
est31 has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #85780 โ†’ p7zip: remove non-free RAR support โ†’ https://git.io/Jfkdn
<{^_^}> [nixpkgs] @alyssais pushed commit from @emilazy to master ยซ p7zip: remove non-free RAR support ยป: https://git.io/Jfkd9
o1lo01ol1o has joined #nixos
<infinisil> immae: peelz: How about this: You have a rebuild script that does `nixos-rebuild -I nixpkgs=/etc/nixos/nixpkgs.nix "$@"`, and you specify `import (fetchTarball { ... })` in /etc/nixos/nixpkgs.nix
<infinisil> Maybe without the `import` actually
<infinisil> Yeah
<peelz> infinisil: wait what's /etc/nixos/nixpkgs.nix ?
<peelz> oh nvm
<infinisil> Just invented it :P
<peelz> yeah haha
<immae> that would suit the "no impurity" indeed
snicket has joined #nixos
klntsky has joined #nixos
<immae> (impureness?)
KeiraT has joined #nixos
cantstanya has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
gxt has joined #nixos
<peelz> infinisil: hmm I think I would rather have a bootstrap configuration.nix (I might be overengineering this but oh well lol)
andreas303 has joined #nixos
<immae> (and youโ€™d have to deal with all the builtins.getEnv in nixpkgs too, which may have side effects)
<peelz> infinisil: argh actually you're right, this is much cleaner
<infinisil> peelz: EVen with the bootstrapping thing I suggested, you'd still need a rebuild script fyi
<infinisil> lunaa: The type of `hardware.printers.ensurePrinters` is `list of submodules`, this means that the .*. in the option path just means like a list element
<peelz> infinisil: why would a rebuild script be needed? impurities?
philr_ has quit [Ping timeout: 240 seconds]
<infinisil> peelz: To do the bootstrapping step, the nix-instantiate --eval I mentioned
<peelz> infinisil: sorry if I'm making you repeat yourself, I'm a bit tired :P
<{^_^}> [nixpkgs] @adisbladis opened pull request #85782 โ†’ p7zip: Make unfree features (rar support) optional โ†’ https://git.io/JfkFU
<infinisil> (a normal nixos-rebuild just uses the nixpkgs from NIX_PATH after all, something needs to be wrapped around it to not make it do that)
<{^_^}> [nixpkgs] @FRidh merged pull request #85778 โ†’ python3Packages.cryptography: 2.9 -> 2.9.1 โ†’ https://git.io/Jfk5U
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to staging ยซ python3Packages.cryptography: 2.9 -> 2.9.1 ยป: https://git.io/JfkFL
<lunaa> so like `{ [Element = that] [element = other] }`? I'm not sure how to do that..
cosimone has quit [Remote host closed the connection]
<peelz> infinisil: well what I'm saying is that you can do `import "${fetchTarball {...}}/nixos" { configuration = import ./actual-configuration.nix; }` no?
cosimone has joined #nixos
<peelz> or something to that effect
<infinisil> lunaa: hardware.printers.ensurePrinters = [ { description = ...; ... } ]
<lunaa> Really? Different that all my guesses, okay. Thank you, infinisil!
<infinisil> Np :)
jakobrs has quit [Quit: WeeChat 2.8]
<infinisil> peelz: nixos-rebuild expects /etc/nixos/configuration.nix to be a NixOS module
<peelz> infinisil: no way around that?
<infinisil> Nope
<peelz> :(
<peelz> so flakes?
<infinisil> Haven't looked closely at flakes, but yeah that probably works
<peelz> I'll probably use a build script for now until flakes are stable
<{^_^}> [nixpkgs] @primeos opened pull request #85783 โ†’ sway: Make it possible to use exec in extraSessionCommands โ†’ https://git.io/JfkFl
<infinisil> I personally use my own thing which solves this problem and others :) https://github.com/Infinisil/nixoses
<Kyndig> infinisil: so I found the offending recursion, but I'm not sure what to do about it. I'm trying to do: filesystems."${config.users.users.blah.home}/some/mount = ..."
reallymemorable has quit [Quit: reallymemorable]
CMCDragonkai1 has joined #nixos
<infinisil> Kyndig: Got the full file and error?
cosimone_ has joined #nixos
<Kyndig> i wrote that wrong: filesystems."${config.users.users.blah.home}/some/mount" = ...
cosimone has quit [Read error: Connection reset by peer]
<peelz> infinisil++ bookmarked the link. thanks for the help!
<{^_^}> infinisil's karma got increased to 261
<infinisil> :D
growpotkin has joined #nixos
<immae> infinisil++
<{^_^}> infinisil's karma got increased to 262
<{^_^}> [nixpkgs] @FRidh pushed 104 commits to staging-next: https://git.io/JfkFw
erasmas has joined #nixos
<Kyndig> ugg; if it's not one thing, it's another. Issues with clipboard now I have to fix before can get a pastebin done..
<{^_^}> [nixpkgs] @FRidh pushed 105 commits to staging: https://git.io/JfkFr
<infinisil> Kyndig: You could use http://ix.io/ to not even need a browser to paste it
<Kyndig> he; that's on my todo list to setup also
domogled has joined #nixos
<immae> infinisil: If I read correctly your https://github.com/Infinisil/nixoses/blob/master/modules/secrets.nix the secrets will still land in the store (in .drv files) no?
<{^_^}> [nixpkgs] @flokli merged pull request #85760 โ†’ [19.09] chromium: 81.0.4044.113 -> 81.0.4044.122 (backport) โ†’ https://git.io/Jfk1o
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-19.09: https://git.io/JfkFM
<immae> (in the local one)
<infinisil> immae: Nope! Only the hash of the secret
<immae> ohhh
glittershark has quit [Ping timeout: 240 seconds]
<Kyndig> infinisil: ok: it's definately the mount though, proven by commenting it out: https://pastebin.com/e7dzJ7N9
<infinisil> immae: E.g. my wireguard config references /nix/store/vjy7xbjqdx0pw0wxjijlgy0a4gkfmjqx-secret-client-private, which is a symlink to /var/keys/client-private, but the hash of the secret is incorporated into the hash of the /nix/store path
numkem has joined #nixos
<infinisil> Meaning whenever the secret changes, I get an automatic restart of all affected services as with all other changing /nix/store paths, even though the secret will never be in the store
<numkem> what can I use in an expression to use as `$src` a local archive?
<immae> I see
<immae> I turned the problem many ways in my head but I didnโ€™t think of symlinks :D
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
reallymemorable has joined #nixos
justanotheruser has quit [Ping timeout: 265 seconds]
<peelz> infinisil: oh that's pretty clever :P
turion has quit [Ping timeout: 272 seconds]
vidbina_ has joined #nixos
<peelz> does clever not get annoyed whenever someone uses the word "clever"? lol
<peelz> ping ping ping
<infinisil> Kyndig: Hm, that's unfortunate, it's a combination of multiple things that makes this not work
realrokka has quit [Read error: Connection reset by peer]
<Kyndig> infinisil: kinda figured, it has to do with the order of module evaluations?
<infinisil> peelz: I think he set it up to only get pinged if it's the first word :P
<{^_^}> [nixpkgs] @guilhermehas opened pull request #85784 โ†’ Adding --local-interfaces flag in Agda build โ†’ https://git.io/JfkbU
<peelz> infinisil: lol hopefully
CptCaptain has quit [Quit: WeeChat 2.8]
<infinisil> Kyndig: Nah. One problem in the cycle at least is that the option system.build.* is strict in attribute values. This means when you want to evaluate `system.build.toplevel` (the final NixOS system result), you also need to evaluate all other attributes like `system.build.fileSystems`
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<infinisil> Wait I don't think that's it actually
<infinisil> Never mind
cosimone_ is now known as cosimone
<Kyndig> infinisil: sounds like it's not something easily worked around and I'm not quite ready to dive into how the nixos build works. I'll just a variable set to a string for my home dir for now. Thanks though
reallymemorable has joined #nixos
<infinisil> Yeah but the problem is similar in nature. That sounds good as a workaround for now, though I fear that it's not easily fixable even
<{^_^}> [nixpkgs] @adisbladis merged pull request #85782 โ†’ p7zip: Make unfree features (rar support) optional โ†’ https://git.io/JfkFU
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfkbZ
jakobrs has joined #nixos
realrokka has joined #nixos
<Ankhers> Would anyone be able to tell me how to change the value in /proc/sys/fs/inotify/max_user_watches?
<Ankhers> Using NixOS
<jakobrs> How often do packages like libinput get updated on stable channels (if ever)?
<qyliss> Ankhers: boot.kernel.sysctl
<jakobrs> I just realised that the issue I was having is fixed in 1.15.2 (current release is 1.15.5, nixos uses 1.15.0)
cosimone_ has joined #nixos
<peelz> jakobrs: what issue?
<{^_^}> [nixpkgs] @primeos opened pull request #85785 โ†’ [20.03] git: 2.25.3 -> 2.25.4 (security, CVE-2020-11008) โ†’ https://git.io/JfkbW
hmpffff has quit [Quit: Byeโ€ฆ]
cosimone has quit [Read error: Connection reset by peer]
<jakobrs> #85707
<{^_^}> https://github.com/NixOS/nixpkgs/issues/85707 (by jakobrs, 20 hours ago, open): Touchpad broken in mysterious ways on 20.03
<peelz> ah
<Ankhers> qyliss: I have boot.kernel.sysctl.max_user_instances = 16384 and if I read the file, it does have that value.
linarcx has joined #nixos
linarcx has quit [Client Quit]
<qyliss> Did you reboot?
<Ankhers> yes
justanotheruser has joined #nixos
<qyliss> Wouldn't it be boot.kernel.sysctl.fs.inotify.max_user_watches?
<qyliss> At least that's what it looks like to me from the examples in the documentation for that option
<Ankhers> Maybe? I just search nixpkgs and saw that.
<Ankhers> Going to try that out.
<{^_^}> [nixpkgs] @adisbladis opened pull request #85786 โ†’ p7zip: remove non-free RAR support (20.03 backport) โ†’ https://git.io/Jfkb4
<infinisil> Would have to be boot.kernel.sysctl."fs.inotify.max_user_watches"
chloekek has joined #nixos
<jakobrs> But yeah, when are such packages backported (if ever)?
<jakobrs> It's already 1.15.3 (which is new enough) in master.
<qyliss> Oh yes, what infinisil says
<qyliss> infinisil++
<{^_^}> infinisil's karma got increased to 263
<{^_^}> [nixpkgs] @primeos opened pull request #85787 โ†’ [19.09] git: 2.23.2 -> 2.23.3 (security, CVE-2020-11008) โ†’ https://git.io/JfkbH
relaxmax has joined #nixos
cosimone_ has quit [Ping timeout: 256 seconds]
<numkem> if I want to use a local archive in an expression for a package, is `src-only` the way to go?
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #85788 โ†’ nixos/manual: fix build โ†’ https://git.io/Jfkbh
<evanjs> numkem: I had never heard of this before. It looks like there's one use in the current nixpkgs tree?
cosimone has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<infinisil> numkem: Would be good to have more context for your question
AmandaC_ has joined #nixos
<evanjs> but you should be fine just linking to a local file... you can use ./. to refer to the current dir; can't remember the syntax off the top of my head, but I think this should work for archives as well
<evanjs> ^ what infinisil said :D
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85788 โ†’ nixos/manual: fix build โ†’ https://git.io/Jfkbh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfkNU
ris has joined #nixos
<numkem> evanjs: found that in `pkgs/build-support/src-only`
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d3a41f3c23b (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
AmandaC has quit [Ping timeout: 264 seconds]
<evanjs> numkem: right right, I just don't see anything else in tree using it atm
<numkem> infinisil: my bad, what I'd like to do is to create a package to use the automated patchelfHook from an archive I have that contains binary but isn't only anywhere (so I can't use fetchurl/fetchGithub)
<numkem> evanjs: me neither but it makes sense since nixpkgs is focussed on getting external sources
AmandaC_ is now known as AmandaC
Kyndig has quit [Remote host closed the connection]
sarcasticadmin has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
cole-h has joined #nixos
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos
realrokka has quit [Read error: Connection reset by peer]
<steell> anyone here have experience getting an external display working with nvidia optimus?
<steell> one that shares the same X session as the builtin intel display?
<numkem> evanjs: say I want to make a pakcage based on a local archive that isn't available by a way fetchurl could get it, what would you suggest doing?
<hodapp> who are the resident Rustaceans? I am trying to figure out how to work effectively with tools that ordinarily assume one has 'rustup' available or require a stdlib path manually given
<hodapp> e.g. the Rust plugin for IntelliJ IDEA
shibboleth has quit [Quit: shibboleth]
<hyper_ch> do we have samba-vfs-modules?
CMCDragonkai1 has quit [Ping timeout: 256 seconds]
<Yaniel> hodapp: RUSTUP_HOME and CARGO_HOME should solve that I think
<hodapp> Yaniel: IIRC, I've been told here I shouldn't be using rustup as it just interferes
<Yaniel> depends on what you are doing
<Yaniel> if it's a dev workstation then you probably *want* to use rustup since it lets you control the used toolchain on a per-project basis
mrpi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
<Yaniel> i.e. install rustup from nixpkgs and be on your way
abathur has joined #nixos
<numkem> hodapp: I managed to make rust work in emacs last week-end by using direnv and lorri. Emacs just picked up the new PATH and saw the executables
<Yaniel> it stays in ~/{.cargo, .rustup, .multirust}
<hodapp> numkem: 'work in emacs' now?
<Yaniel> and the rustup binary can be wherever
<hodapp> Yaniel: hm, maybe I'll try again and see if I run into issues
<Yaniel> if you want to package stuff then this is irrelevant anyway
<hodapp> I'm just trying to get some integration with IntelliJ and Emacs
<Yaniel> what integration?
<Yaniel> nix or rust
<numkem> hodapp: the key is direnv and lorri, once lorri is tracking a folder where you source code is (lorri creates a shell.nix by default)
<numkem> hodapp: once I open a file in that folder, emacs loads the .envrc file and the rust binarries becomes available. or like Yaniel says, you can just install the rust package and make it globally available in your configuration.nix
<hodapp> Yaniel: Rust integration with IntelliJ IDEA, and with Emacs via Racer or RLS
<Yaniel> hodapp: for that the easiest way is installing rustup from nixpkgs I think
<hodapp> Yaniel: for both?
<Yaniel> and make sure your PATH contains ~/.cargo/bin when launching IDEA/emacs
<Yaniel> yes
<hodapp> I'll try that... cargo was already in my path, rustup was not
mrpi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
<Yaniel> if you want fancier nix integration then what numkem said
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
peelz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @evils opened pull request #85790 โ†’ memtest86plus: 5.0.1-coreboot-002 -> 5.31b โ†’ https://git.io/JfkNM
<hodapp> Yaniel & numkem: thanks, I will try this stuff out soon
<Raito_Bezarius> adisbladis: let me know when you have an idea regarding the issue in https://github.com/nix-community/poetry2nix/pull/90
<{^_^}> nix-community/poetry2nix#90 (by RaitoBezarius, 1 day ago, open): Enable global preference for wheels for top-level functions
peelz has joined #nixos
<evanjs> hodapp: there is also #nixos-rust
<numkem> hodapp: lorri is why I made the full switch to NixOS after more than 10 years on Arch. It makes my life so much easier. I do use emacs for everyting tho, so your milage may vary
adev has quit [Quit: Quitte]
<evanjs> eh lorri works great in most places
<evanjs> if anything, emacs took the most effort out of the envs I've used so far
<simpson> direnv works without lorri, too; it's possible to incrementally automate environment setup.
<hodapp> numkem: I also use Emacs for pretty much everything, but I have had more than a few rough spots trying to get good language integration in NixOS; I know I ran into this with C, C++, and Go
<evanjs> numkem: yeah I figured that's sort of what you'd be trying to do.
<hodapp> evanjs: hey, thanks
<numkem> hodapp: go is my main language so I cheated and installed it globally
<evanjs> numkem: it might be as easy as "src = /path/name.tar.gz" haha
<numkem> evanjs: seriously? I'll have to try that out, thanks!
<evanjs> I did the same for rustup using the moz_overlay stable channel
<evanjs> numkem: source https://www.reddit.com/r/NixOS/comments/3s1otw/installing_a_package_with_local_sources/ - I haven't used local sources in a while so my memory is a bit fuzzy on the subject :P
<hodapp> evanjs: are there any good guides online to the "how" and especially "why" of the Mozilla overlays?
<numkem> evanjs: fantastic! Thanks :)
<numkem> evanjs++
<{^_^}> evanjs's karma got increased to 12
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #85766 โ†’ nixpkgs-review: 2.2.0 -> 2.3.0 โ†’ https://git.io/JfkDW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfkAe
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #85715 โ†’ linux: version bumps โ†’ https://git.io/Jfk3z
<{^_^}> [nixpkgs] @NeQuissimus pushed 13 commits to master: https://git.io/JfkAf
<evanjs> Those are my two primary resources for the moz overlay stuff IIRC
<nicksloan> has anyone seen anything like this? https://github.com/NixOS/nixpkgs/issues/85791 Can't shake the feeling I'm doing something wrong since no one else seems to be talking about it
<{^_^}> #85791 (by nicksloan, 1 minute ago, open): Python 3.8 and virtualenv 16.7.9 don't seem to work together
<evanjs> Basically, it uses the same sources as rustup. I have autoUpgrade set to run every 6 hours, so my system will always have the newest stable rust as of the last ~6 hours or so. It's nice for lorri and etc as it will basically upgrade your rust toolchain for your project environment whenever it detects new stuff (and the TTL of the tarball or etc expires, etc)
<nschoe> Do I need to take a break or isn't it packaged indeed?
<nschoe> Hi everyone, I can't seem to find qt-sqlite (or qsqlite, theqt driver for sqlite) packaged for NixOS.
<numkem> I've started looking into elixir and it got me quite exited. I was wondering if any efforts has been done to support packaging elixir packages? I've seen there is a request to package elixir-ls which is the LSP server for elixir
domogled has quit [Ping timeout: 250 seconds]
isHavvy has quit [Ping timeout: 256 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
realrokka has joined #nixos
domogled has joined #nixos
Havvy has joined #nixos
Acou_Bass has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
brainacid has joined #nixos
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #85792 โ†’ nixpkgs-review: 2.2.0 -> 2.3.0 โ†’ https://git.io/JfkAE
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<brainacid> how do i list the packages i installed with nix-env
<brainacid> im not using nixos
<immae> nix-env --query --installed
<brainacid> awesome thanks
<brainacid> i just installed nix on a linux from scrath
<{^_^}> [nixpkgs] @FRidh opened pull request #85793 โ†’ Python on Nix tests โ†’ https://git.io/JfkAo
noudle has quit []
dsg has quit [Ping timeout: 240 seconds]
noudle has joined #nixos
sarcasticadmin has quit [Ping timeout: 240 seconds]
<hodapp> however I have rather little experience with Erlang & Elixir myself
dingenskirchen has quit [Quit: dingenskirchen]
<numkem> hodapp: fantastic find, BEAM isn't something I remember just yet, just started reading about it
<numkem> hodapp++
<{^_^}> hodapp's karma got increased to 6
<hodapp> woo!
dsg has joined #nixos
<hodapp> Elixir is one of those languages I kind of sort of want to learn, but have rather little use for because of how much of what I write is more on the heavy numerical side
sarcasticadmin has joined #nixos
<hodapp> though much of what I do in Go could probably be done in Elixir/Erlang
koleesch has joined #nixos
arianvp has quit [Quit: WeeChat 2.6]
arianvp has joined #nixos
<numkem> hodapp: I picked it last weekend because I tried to get haskell working on nix through LSP and emacs and i got frustrated
<numkem> hodapp: I was on a quest to learn a new language but preferably a functional one
<FRidh> nicksloan: its a recurring issue but just not easy to fix
<hodapp> numkem: oh, I used Haskell tooling on Emacs before I used NixOS and it was pretty frustrating then, though I managed to work with it eventually
<nicksloan> FRidh: bummer. Do you happen to know if the virtualenv rewrite improves the situation at all?
<numkem> hodapp: my problems was more related to the overlay missing a match between the hie-wrapper and the current ghc version and the fact that the other lsp provider (forgot the name) is currently marked as broken
<numkem> hodapp: I do see your comparaison between Go and Elixir in terms concurrecy but I'd like to learn a functional language and have fun with it (still love Go but it's... verbose)
<hodapp> numkem: yeah, that is about as much in common as they have
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85795 โ†’ pantheon.wingpanel-indicator-datetime: patch in a lot of fixes โ†’ https://git.io/Jfkxv
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.3)]
<FRidh> nicksloan: no
<FRidh> nicksloan: this is because we create a nix python env, using a similar mechanism as v(irtual)env. Using both collides.
<FRidh> nicksloan: but I posted some things on the related issues, you should be fine using just venv directly
arianvp has quit [Quit: WeeChat 2.7.1]
zupo has joined #nixos
arianvp has joined #nixos
chagra_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85716 โ†’ backport: python27Packages.soco: 0.18.1 -> 0.19, remove broken โ†’ https://git.io/JfksI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfkxZ
snicket has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
snicket has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 87 commits to staging-19.09: https://git.io/JfkxW
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #85797 โ†’ crowbar: init at 4.1 โ†’ https://git.io/Jfkx4
jgeerds_ has joined #nixos
asheshambasta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @minijackson opened pull request #85798 โ†’ vimPlugins.LanguageClient-neovim: 0.1.156 -> 0.1.157 โ†’ https://git.io/Jfkxz
<{^_^}> [nixpkgs] @FRidh merged pull request #85787 โ†’ [19.09] git: 2.23.2 -> 2.23.3 (security, CVE-2020-11008) โ†’ https://git.io/JfkbH
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to release-19.09 ยซ git: 2.23.2 -> 2.23.3 (security, CVE-2020-11008) ยป: https://git.io/Jfkxg
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85795 โ†’ pantheon.wingpanel-indicator-datetime: patch in a lot of fixes โ†’ https://git.io/Jfkxv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfkx2
<{^_^}> [nixpkgs] @FRidh merged pull request #85785 โ†’ [20.03] git: 2.25.3 -> 2.25.4 (security, CVE-2020-11008) โ†’ https://git.io/JfkbW
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to staging-20.03: https://git.io/Jfkxa
snicket has quit [Quit: snicket]
arianvp has quit [Quit: WeeChat 2.7.1]
arianvp has joined #nixos
<{^_^}> [nixpkgs] @bcc32 closed pull request #84756 โ†’ tixati: 2.67 -> 2.72 โ†’ https://git.io/Jvxdk
rnmhdn has joined #nixos
<rnmhdn> I don't get anything whatsoever in dmesg when I plug the device in and out. my kernel version from pacman is the same as the one from uname -r. lsblk -f and fdisk -l show nothing. the device and cable are fine. I've tested it on a windows machine an hour ago right after noticing that it was not recognised on my laptop. lsusb also doesn't show anything.
<rnmhdn> I think it's because it has a certain filesystem that I don't have installed on my laptop.
<rnmhdn> any idea how I can find some information about this device?
<{^_^}> [nixpkgs] @FRidh merged pull request #85756 โ†’ babeld: 1.9.1 โ†’ 1.9.2 โ†’ https://git.io/JfkPG
<{^_^}> [nixpkgs] @FRidh pushed commit from @mweinelt to master ยซ babeld: 1.9.1 โ†’ 1.9.2 ยป: https://git.io/Jfkxi
knupfer has quit [Quit: knupfer]
<rnmhdn> I'm certain that there is no issue with the hardware. and also when I plug it in I get the same noises that I always used to get. the only thing that has changed is that I've uninstalled a lot of packages since last time I used this device.
<rnmhdn> also I tested two other devices on that port and they worked just fine but I know that this device that is not working has a different filesystem from the others
domogled1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 ยซ pantheon.wingpanel-indicator-datetime: patch in a lot of fixes ยป: https://git.io/Jfkx1
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
brainacid has left #nixos [#nixos]
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84673 โ†’ Use qt5's mkDerivation in packages that otherwise crash โ†’ https://git.io/Jvxfe
<{^_^}> [nixpkgs] @worldofpeace pushed 33 commits to master: https://git.io/JfkxQ
wildtrees has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d5c13032d6a (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @worldofpeace pushed 32 commits to release-20.03: https://git.io/Jfkx5
endformationage has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
wildtrees_ has joined #nixos
turion has joined #nixos
wildtrees_ has quit [Max SendQ exceeded]
wildtrees_ has joined #nixos
lsix has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #85799 โ†’ BLAS/LAPACK fixup and expand docs โ†’ https://git.io/Jfkxh
<rnmhdn> q
turion has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #85700 โ†’ texlab: 1.10.0 -> 2.0.0 โ†’ https://git.io/JfkIL
<{^_^}> [nixpkgs] @veprbl pushed commit from @symphorien to master ยซ texlab: 1.10.0 -> 2.0.0 (#85700) ยป: https://git.io/JfkpY
<betaboon> anyone knows how to install docker-plugins ?
domogled has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to staging-next ยซ waylandpp: fix after incorrect merge ยป: https://git.io/JfkpC
<{^_^}> [nixpkgs] @FRidh pushed to staging ยซ waylandpp: fix after incorrect merge ยป: https://git.io/Jfkpl
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 250 seconds]
asdfjkasjkadfjkd has joined #nixos
asdfjkasjkadfjkd has quit [Client Quit]
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to release-20.03: https://git.io/JfkpV
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mzan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #85736 โ†’ nixos/texlive: Fix texlive pstricks โ†’ https://git.io/Jfk8N
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Jfkp6
rnmhdn has left #nixos ["WeeChat 2.8"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<infandum> I'm getting an error: error: unable to download '/nix/store/3996c82637wqpghnz92k9r4y3rjz99aj-streaming-commons-0.2.1.2': URL using bad/illegal format or missing URL (3)
<infandum>
<infandum> Using pkgs.haskellPackages.callHackage "streaming-commons" "0.2.1.2"
cosimone has quit [Remote host closed the connection]
<infandum> That folder does exist in /nix/store, though
cosimone has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #85640 โ†’ texlab: 1.10.0 -> 2.0.0 โ†’ https://git.io/JfT24
rauno has quit [Remote host closed the connection]
relaxmax has quit [Ping timeout: 250 seconds]
wildtrees has quit [Ping timeout: 250 seconds]
wildtrees_ has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl opened pull request #85801 โ†’ pulumi-bin: darwin fix โ†’ https://git.io/Jfkhk
o1lo01ol1o has joined #nixos
jjakob has quit [Ping timeout: 272 seconds]
jjakob has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5a3490df07c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dingenskirchen has joined #nixos
<nschoe> Yet my application, having qtbase as an nix dependency doesn't find this driver. Am I missign smth obvious?
<nschoe> I can see the .so file in the outputs of qtbase.
<nschoe> Hi everyone, I'm packaging an application that needs Qt sqlite driver. From reading the doc, it is in qtbase (if compiled with -system-sqlite, which qtbase is).
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
peelz has quit [Remote host closed the connection]
mzan has joined #nixos
mzan has quit [Client Quit]
dingenskirchen has quit [Quit: dingenskirchen]
<qy[m]> riot seems to think i was pinged
<qy[m]> it appears these rumours were greatly exaggerated
<hodapp> I don't see anyone pinging you in between this and your last message
<{^_^}> [nixpkgs] @lovesegfault opened pull request #85802 โ†’ gtk3: 3.24.17 -> 3.24.18 โ†’ https://git.io/Jfkhj
<lovesegfault> cc. jtojnar worldofpeace
blibberblob has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
MasseR has quit [Quit: The Lounge - https://thelounge.chat]
cosimone has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
MasseR has joined #nixos
cosimone has joined #nixos
<andi-> Is there actually a manpage for nixpkgs on NixOS? I know configuration.nix for the modules but I'd really like to have one for nixpkgs
dingenskirchen has joined #nixos
blibberblob has joined #nixos
<gchristensen> I don't think nixpkgs has a man page made for it
<cole-h> andi-: What would you want to see in the manpage? All the metadata (pname, version, short and long description, homepage, maintainer, etc)?
mzan has joined #nixos
<andi-> cole-h: whatever is at nixos.org/nixpkgs/manual
<cole-h> Ah, I see.
<andi-> just as text in the console without firing up a browser :)
cfricke has joined #nixos
<nschoe> Is this normal that on these lines: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/modules/qtbase.nix#L220-L222 it's $(out)/$(qtPluginPrefix)?
<nschoe> Why parentheses and not brackets?
<cole-h> (Also, should the manual version be 20.03pre-git?)
<andi-> cole-h: it should fit to my currenct nixpkgs revision that I used to build the system
cfricke has quit [Client Quit]
<cole-h> I mean, right now
<cole-h> It's 20.03pre-git on the site, even though 20.03 is released
o1lo01ol1o has quit [Ping timeout: 256 seconds]
cosimone_ has joined #nixos
<nschoe> I'm asking because qmake -query produces a weird result: QT_INSTALL_PLUGINS:/build/qtbase-everywhere-src-5.12.7/$(out)/$(qtPluginPrefix) and I don't think it's valid :/
<nschoe> (if anyone has knowledge about how qt works :) 0
<{^_^}> [nixpkgs] @drewrisinger opened pull request #85803 โ†’ pythonPackages.arrow: fix license โ†’ https://git.io/JfkjP
cosimone has quit [Ping timeout: 246 seconds]
MightyJoe is now known as cyraxjoe
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/95b9c99f6d0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<andi-> argh this man page problems looks easy enough but too much sidetracking for just now :/
AmandaC_ has joined #nixos
cosimone_ has quit [Ping timeout: 240 seconds]
cosimone_ has joined #nixos
AmandaC has quit [Ping timeout: 256 seconds]
<infinisil> So much stuff to work on!
<andi-> yeah
andymandias_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #85801 โ†’ pulumi-bin: darwin fix โ†’ https://git.io/Jfkhk
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/JfIef
<cole-h> Me: "I have so much stuff to do!" Also me: *does nothing*
andymandias has quit [Ping timeout: 258 seconds]
<andi-> I acutally want to upgrade all the remaining stable systems to 20.03 today..
<qyliss> cole-h: forever mood
<gchristensen> extremely current mood
<infandum> Does order matter?
<infandum> In a list or set?
<benny> hopefully I'm not annoying you: if a reviewer is free to please look this over: ofBorg built it successfully :-) https://github.com/NixOS/nixpkgs/pull/84350
<{^_^}> #84350 (by bandresen, 2 weeks ago, open): babashka: 0.0.78 -> 0.0.88-2
<gchristensen> attribute sets are ordered by key, lists are ordered by insrtion order
Dianalondon has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Dianalondon has quit [Client Quit]
<infinisil> Rather, declaration order
<infinisil> (for lists, as there is no way to insert something into a list)
turion has joined #nixos
<gchristensen> right :)
<cole-h> Insertion-by-hand order
<cole-h> ;^)
rogue_koder has quit [Ping timeout: 240 seconds]
zupo_ has joined #nixos
<kraem> i'm trying to merge version bumps of linux from master to 20.03 - is there a reason ver 5.6 isn't available on 20.03? :)
<cole-h> Because we froze in February. idk what our backporting story is for kernels
<infinisil> I think kernels should always be backported
<infinisil> (not sure why)
<infinisil> > filter (hasPrefix "linuxPackages") (attrNames nixos-20_03)
<{^_^}> [ "linuxPackages" "linuxPackages-libre" "linuxPackagesFor" "linuxPackages_4_14" "linuxPackages_4_19" "linuxPackages_4_4" "linuxPackages_4_9" "linuxPackages_5_4" "linuxPackages_5_5" "linuxPackages_cust...
<infinisil> > toString (filter (hasPrefix "linuxPackages_") (attrNames nixos-20_03))
<{^_^}> "linuxPackages_4_14 linuxPackages_4_19 linuxPackages_4_4 linuxPackages_4_9 linuxPackages_5_4 linuxPackages_5_5 linuxPackages_custom linuxPackages_custom_tinyconfig_kernel linuxPackages_hardened linuxP...
<infinisil> > toString (filter (hasPrefix "linuxPackages_") (attrNames nixos-19_09))
<{^_^}> "linuxPackages_4_14 linuxPackages_4_19 linuxPackages_4_4 linuxPackages_4_9 linuxPackages_custom linuxPackages_custom_tinyconfig_kernel linuxPackages_hardened linuxPackages_hardkernel_4_14 linuxPackage...
sm has joined #nixos
<infinisil> > toString (filter (hasPrefix "linuxPackages_") (attrNames nixos-unstable))
<{^_^}> "linuxPackages_4_14 linuxPackages_4_19 linuxPackages_4_4 linuxPackages_4_9 linuxPackages_5_4 linuxPackages_5_5 linuxPackages_5_6 linuxPackages_custom linuxPackages_custom_tinyconfig_kernel linuxPackag...
sm has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<gchristensen> infinisil: most of them fall out of support quite quickly
<gchristensen> so then the question was do we delete all but like, one kernel? and that sucks
drakonis has quit [Quit: WeeChat 2.8]
dermetfan has quit [Ping timeout: 272 seconds]
<kraem> hm.. so 5.6 shouldn't be introduced to 20.03?
<gchristensen> kraem: should be
<cole-h> Yeah, I say go for it. Either it gets merged, or RMs tell you why
<kraem> yeah seems sensible
<gchristensen> nesquimess is usually pretty on top of it though
rogue_koder has joined #nixos
<kraem> he asked me to version bump in 20.03 :)
<cole-h> Well, there you go
<cole-h> Haha
sm has joined #nixos
<kraem> got unsure as to if i should just version bump the ones that were already there though..
<kraem> s/the ones/the only ones/
<gchristensen> cool
<cole-h> In `substituteAll`, does `inherit out;` work for changing `@out@`?
sm[m] has joined #nixos
<cole-h> Or should it be `out = placeholder "out";`
<{^_^}> #85504 (by samueldr, 4 days ago, open): [20.03]ย Linux latest is for the previous release
rogue_koder has quit [Ping timeout: 256 seconds]
FRidh has quit [Quit: Konversation terminated!]
mac has quit [Remote host closed the connection]
hlolli__ has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<freeman42x[m]> is there any software for Nix which can be used to search and install / uninstall packages stored in configuration.nix or user level configs? if not I or someone needs to build one, wasting too much time with current workflow
<energizer> freeman42x[m]: not sure i understand the question. what problem are you having?
o1lo01ol1o has joined #nixos
<waleee-cl> sounds like he wants a nix-env that appends/removes packages in eg. environment.systemPackages
<freeman42x[m]> energizer: read my question again and ask what is not clear so I can help you. What I said is very clear to me
<freeman42x[m]> `sounds like he wants a nix-env that appends/removes packages in eg. environment.systemPackages` exactly and does sudo nixos-rebuild switch or equivalent command for user level Nix config
<energizer> freeman42x[m]: are you saying you want a command that edits configuration.nix for you?
sm has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<energizer> yeah ok
<freeman42x[m]> energizer: see above. Yes, and it runs nix commands to install / uninstall those changes
mehlon has joined #nixos
<energizer> not aware of one but seems easy enough. i'd probably have it manage the package list in a toml file
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/95b9c99f6d0 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<ixxie> builtins.getEnv expects a string right?
<waleee-cl> freeman42x[m]: there some utilities like it, but they tend to be developed for the project use-case, eg. https://github.com/nmattia/niv
<energizer> afaik niv installs stuff from github, not nixpkgs
konobi has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #85686 โ†’ pythonPackages.caldav: unbreak build โ†’ https://git.io/Jfkvo
<{^_^}> [nixpkgs] @jonringer pushed commit from @elohmeier to master ยซ pythonPackages.caldav: unbreak build ยป: https://git.io/JfIvM
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #nixos
<waleee-cl> energizer: yeah, that might also not be a desired property
zupo_ has quit [Ping timeout: 265 seconds]
aveltras has joined #nixos
shreyansh_k has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83336 โ†’ fitnesstrax: init at 0.1.0 โ†’ https://git.io/JvSsR
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @savannidgerinel to master ยซ fitnesstrax: init at 0.1.0 (#83336) ยป: https://git.io/JfIvb
konobi has joined #nixos
<sm[m]> freeman42x: agreed
chloekek has quit [Ping timeout: 260 seconds]
<shreyansh_k> Hello, which package should I install to get EWS (Microsoft Exchange) support in Kmail?
cosimone_ has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @mmilata opened pull request #85805 โ†’ [19.09] Use qt5's mkDerivation in packages that otherwise crash โ†’ https://git.io/JfIvh
Darkmatter66_ has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
cosimone has joined #nixos
CRTified has quit [Quit: Gateway shutdown]
Darkmatter66 has joined #nixos
<freeman42x[m]> I find it every weird that there is no popular GUI software for such an useful usecase, basically any Nix user could benefit grom software that saves them time on searching, installing and uninstalling software without having to drop in to temrinal
<gchristensen> I guess I don't install stuff like that much
<mehlon> well yeah I guess nixos isn't yet popular enough for someone to make that
<energizer> fwiw i'm not dropping into terminal to make changes, i'm in the terminal by default
dermetfan has joined #nixos
<MichaelRaskin> energizer++
<{^_^}> energizer's karma got increased to 9
drakonis has joined #nixos
<mehlon> maybe if someone makes a company like canonical and redhat, but specifically for desktop nixos
<mehlon> then we'll finally get a GUI for nixos
<simpson> Maybe the patterns of old are not good; maybe control panels are an antipattern.
<energizer> if you just want a gui for finding and installing packages it's probably an afternoon's worth of work?
<MichaelRaskin> Now there is even nixos-manager that seems to do exactly that
<mehlon> interesteing
thonkpod has quit [Ping timeout: 260 seconds]
thonkpod has joined #nixos
<{^_^}> [nixpkgs] @MetaDark closed pull request #59293 โ†’ qbittorrent: add python as a runtime dependency for tracker search โ†’ https://git.io/fjqRo
<ixxie> mehlon: I was considering something like that... I think there is a lot of potential there
mzan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @kraem opened pull request #85806 โ†’ [20.03] linux: version bumps โ†’ https://git.io/JfIJv
<infandum> I finally got it to build! However, when running, I'm getting: Error: package or namespace load failed for 'stats' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/lib/R/library/stats/libs/stats.so': liblapack.so.3: cannot open shared object file: No such file or directory. I have pkgs.liblapack in my buildInputs and nativeBuildInputs, what's missing?
<infandum>
<clever> infandum: you need to patch it to look i the right place, buildInputs dont magically appear in /usr/lib, /usr/lib just never exists
<kitemikaze> hello, could someone give me an hint how I could override an options that is already defined in an import ?
fendoer is now known as fendor
<{^_^}> [nixpkgs] @rycee opened pull request #85807 โ†’ jwt-cli: 3.0.1 -> 3.1.0 โ†’ https://git.io/JfIJ3
<infandum> clever: What do you mean?
<jtojnar> cole-h it will not work since substituteAll produces a separate derivation
<kitemikaze> let say, imports = [ <nixpkgs/nixos/modules/virtualisation/openstack-config.nix> ]; and I want to override: boot.loader.grub.device = "/dev/vda"; I didn't notice when I did the install but my device is /dev/sda .... an now I'm afraid the boot will break on my next rebuild
<infandum> It's not there as a runtime dependency?
drakonis has quit [Quit: WeeChat 2.8]
<clever> infandum: its only a runtime dependency if the /nix/store/hash-stats path appears within the final output of your build
<clever> kitemikaze: lib.mkForce can override any nixos option
<kitemikaze> clever: thanks I will try !
<jtojnar> cole-h inherit out will not work since you likely do not have out in scope, and if you define `out = mkDerivation { ... }` and try to use it in patches, you will get dependency cycle
<infandum> clever: It's R, so what I have right now is just pkgs.R pkgs.rPackages.ggplot2 pkgs.rPackages.ggplot2 pkgs.rPackages.devtools pkgs.rPackages.cowplot pkgs.rPackages.jsonlite pkgs.rPackages.edgeR in my buildInputs
<infandum>
<clever> infandum: does the string "/usr/lib/R/library/stats/libs/stats.so" appear anywhere in the source?
<infandum> Stats is built in with R
<clever> not sure then
<infandum> clever: What do you mean in the source?
ramses_ has joined #nixos
<infandum> The default.nix for what I'm building or for R?
<clever> infandum: the source code for the R program
drakonis has joined #nixos
<infandum> that's quite a lot of code
<clever> infandum: grep
b has quit [Ping timeout: 260 seconds]
dsx has quit [Quit: dsx]
<numkem> say I need zenity in the package I'm trying to create, but it would have to be available in PATH for that package, is there a way to do that?
operator-name has joined #nixos
<numkem> tried buildInputs already
<clever> numkem: wrapProgram
<numkem> clever: duh, thank you, I'm still getting used to all the bits and pieces
mallox has quit [Ping timeout: 256 seconds]
leah2 has quit [Ping timeout: 265 seconds]
mzan has joined #nixos
<{^_^}> [nixpkgs] @bcc32 opened pull request #85808 โ†’ tixati: 2.67 -> 2.72 โ†’ https://git.io/JfIJy
mallox has joined #nixos
leah2 has joined #nixos
<{^_^}> [nixpkgs] @ajs124 closed pull request #75165 โ†’ kaidan: init at 0.4.1 โ†’ https://git.io/JeyFY
<ramses_> I am building a docker container using the nixos/nix image in which I install a python application using nix-build. Is there anything more than "nix-collect-garbage -d" that I can do to minimise the size of the resulting image? I ahve the impression that quite a lot is still staying behind in the nix store
<ramses_> E.g. paths like /nix/store/bk0xkwc74jh0zrb63ly5n0p7lhjnvdwh-nixpkgs-20.03.1422.1e90c46c2d9
<raboof> ramses_: 'nix why-depends' can help in figuring out why certain paths are in there
linarcx has joined #nixos
<freeman42x[m]> clever: are you cleverca22, if yes, dunno if you remember me :)
<{^_^}> [nixpkgs] @garbas opened pull request #85809 โ†’ vdirsyncer: fix failing test โ†’ https://git.io/JfIUq
<{^_^}> [nixpkgs] @veprbl merged pull request #85803 โ†’ pythonPackages.arrow: fix license โ†’ https://git.io/JfkjP
<{^_^}> [nixpkgs] @veprbl pushed commit from @drewrisinger to master ยซ pythonPackages.arrow: fix license (#85803) ยป: https://git.io/JfIUO
<ramses_> raboof: but paths like the one I listed above seem to contain challenges rather than packages, no?
<ramses_> channels* sorry
<energizer> adisbladis: how do i actually pass enableTk to mkPoetryEnv for matplotlib? https://github.com/nix-community/poetry2nix/blob/master/overrides.nix#L230
<raboof> ramses_: I haven't built docker images with nix yet, only LXC images, so I might be off here - but afaics nix-depends works on any nix path, not just packages, so might still be helpful
<raboof> Not sure what the 'gc root' of a docker image is - for my LXC image it was the init script
<{^_^}> [nixpkgs] @jonringer pushed commit from @rycee to master ยซ jwt-cli: 3.0.1 -> 3.1.0 ยป: https://git.io/JfIUa
linarcx has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #85807 โ†’ jwt-cli: 3.0.1 -> 3.1.0 โ†’ https://git.io/JfIJ3
<ramses_> raboof: what interests me, are only the dependencies of the autoroot created by my nix-build, I think
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcc32 to master ยซ tixati: 2.67 -> 2.72 ยป: https://git.io/JfIUK
<{^_^}> [nixpkgs] @jonringer merged pull request #85808 โ†’ tixati: 2.67 -> 2.72 โ†’ https://git.io/JfIJy
<raboof> ramses_: so you can use 'nix why-depends' to see why that depends on the channel? Or doesn't and and does it still end up in the container?
<{^_^}> [nixpkgs] @adisbladis merged pull request #85786 โ†’ p7zip: remove non-free RAR support (20.03 backport) โ†’ https://git.io/Jfkb4
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to release-20.03: https://git.io/JfIUM
<{^_^}> [nixpkgs] @arcz opened pull request #85810 โ†’ manticore: init at 0.3.3 โ†’ https://git.io/JfIUy
morgrimm has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @garbas opened pull request #85811 โ†’ Fix khal โ†’ https://git.io/JfIUd
packer has quit [Quit: ByeBye]
packer has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/63284ecf6fb (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<ramses_> raboof: I'm trying to go through the gcroots...
<ramses_> There is no command to ask which gcroot a given store path is referenced by?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
operator-name has quit [Ping timeout: 240 seconds]
<energizer> nix-build says `waiting for locks or build slots...`. what is going on, there are no other jobs that should be happening atm
<energizer> how do i find out whether it's doing something useful or it's just stuck for some reason?
<{^_^}> [nixpkgs] @jonringer merged pull request #85798 โ†’ vimPlugins.LanguageClient-neovim: 0.1.156 -> 0.1.157 โ†’ https://git.io/Jfkxz
<{^_^}> [nixpkgs] @jonringer pushed commit from @minijackson to master ยซ vimPlugins.LanguageClient-neovim: 0.1.156 -> 0.1.157 ยป: https://git.io/JfITL
<clever> freeman42x[m]: yeah, thats my github user
fusion809 has joined #nixos
<energizer> killed it and restarted, now it's working normally. so i guess it was just stuck
packer has quit [Quit: ByeBye]
* matthewbauer uploaded an image: image.png (4KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LYiHpzboepsxevFbDsyKGSZg >
<matthewbauer> has anyone ever had plasma5 toolbar just disappear like this ^
<matthewbauer> What do i do to fix it?
<cole-h> jtojnar: Yeah, that's what I thought. What would be the ideal way to replace @out@ with $out? `sed` it in postPatch?
<{^_^}> [nixpkgs] @jtojnar opened pull request #85812 โ†’ gegl_0_4: try to fix tests timing out โ†’ https://git.io/JfITn
<infinisil> "Do you know where I can find a guide on how to downgrade my nixpkgs version?"
<infinisil> I was just asked this ^
<infinisil> And I'm kind of struggling..
<clever> cole-h: substituteInPlace
<infinisil> Like, can you use nix-channels to point to a generic nixpkgs revision?
<cransom> nix-channel --rollback is a thing assuming they didn't go nuts with changing channels
<{^_^}> [nixpkgs] @andir merged pull request #85809 โ†’ vdirsyncer: fix failing test โ†’ https://git.io/JfIUq
<jtojnar> cole-h that is what I usually do
<infinisil> Ah yeah, in the context this is about using an older nixpkgs revision
<clever> infinisil: yeah, you can point nix-channel to a rev
<kini> This isn't really a nixos question, but not sure where to ask it... Does anyone know how repology detects new versions? The package acl2 had an upstream release a few days ago, so I figured the r-ryantm bot would have made a PR to upgrade it in nixpkgs, but it hasn't, because repology hasn't detected the upstream release yet.
<cole-h> clever: and $out is properly set/available in postPatch, right?
<cransom> otherwise, it's usually setting NIX_PATH=nixpkgs:pathtowhateveriwantedpinned
<clever> cole-h: $out is set during every phase
<cole-h> Good to know. Thanks. โœจ clever
<{^_^}> clever's karma got increased to 399
<infinisil> I'll just tell the person that they should start pinning their nixpkgs in their projects
<energizer> kini: not very helpful i know but...it's open source so you can look
<{^_^}> [nixpkgs] @johnae opened pull request #85813 โ†’ The systemd unit for k3s should differ between agents and servers โ†’ https://git.io/JfIT0
<jtojnar> cole-h maybe we could introduce something to the generic builder that would replace the placeholder references during patchPhase
<kini> energizer: Haha, I actually did try to skim through their code on github, but couldn't find anything about individual packages, though I did find some sql scripts... I wonder if it just learns of packages when they show up in at least one repo it's watching, rather than having an a priori list of packages to track
packer has joined #nixos
<pie_[bnc]> anyone know how to fix this?:
<pie_[bnc]> No journal files were opened due to insufficient permissions.
<pie_[bnc]> Failed to search journal ACL: Operation not supported
<pie_[bnc]> $ journalctl --user-unit pulseaudio
zupo has joined #nixos
<pbogdan> are you on zfs by any chance pie_[bnc] ?
<cole-h> clever: So that would be `substituteInPlace file --subst-var out`, right?
<clever> cole-h: i think so
<clever> infinisil: 2019-11-17 03:49:22< clever> wedens[m]: if you `nix-channel --add https://githib.com/nixos/nixpkgs/archive/REV.tar.gz nixos`, and then `nix-channel --update nixos`, it will fetch the given rev
<drakonis> oho i have written my own flake now
<drakonis> it is nice
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4e03e34b3b1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
relaxmax has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #85814 โ†’ luaPackages.luaexpat: unbreak, it builds just fine โ†’ https://git.io/JfITp
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @jtojnar merged pull request #85812 โ†’ gegl_0_4: try to fix tests timing out โ†’ https://git.io/JfITn
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfIkk
<ramses_> Is there any way to delete the nix channel from the nix store? I did nix-channel --remove and I see nothing left in my gcroots, but still I have a path " /nix/store/58l27cl4pks1v25c8q7yfpfq0hnzc1v6-nixpkgs-20.03pre194957.bef773ed53f" in my nix store taking up 170MB
<cole-h> Have you tried collecting garbage?
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4e03e34b3b1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<ramses_> Yes, nix-collect-garbage -d
<ramses_> It doesn't remove it
Diogo has joined #nixos
<ramses_> And I have only two gcroots left, but nix why-depends says none of them depend on this path
<mehlon> maybe nix-channel --update ?
<ramses_> So it seems as if channels are treated specially
<ramses_> mehlon: tried that followed by a collect-garbage -d, path is still there
<clever> ramses_: run `nix-store --query --roots` on the given path
<clever> ramses_: what does it report?
<pie_[bnc]> pbogdan: yes
<Xe> ramses_: run nix-collect-garbage as root
<ramses_> clever: error: path '/nix/store/58l27cl4pks1v25c8q7yfpfq0hnzc1v6-nixpkgs-20.03pre194957.bef773ed53f' is not valid
<ramses_> Xe: it's a docker container, there is only root
<clever> ramses_: then any garbage collection should get rid of it, with no arguments
<ramses_> clever: yeah, but it doesn't...
<clever> ramses_: its probably safe to rm -rf it, in this case
<ramses_> clever: the output of nix-collect-garbage -d actually says that it deletes the path, but then it says 0 MiB freed and the path is still there
<pbogdan> pie_[bnc]: take a look at https://nixos.wiki/wiki/NixOS_on_ZFS#Journald then unless you are already set those properties (in which case I don't have any other ideas)
<clever> ramses_: what does rm -rf say?
<ramses_> The issue is that this is in a docker container and I want to clean this up during the docker build, so a bit annoying if the hash will change
<clever> ramses_: nix can generate docker images directly
<ramses_> clever: if I run rm -rf, it actually does delete it
mallox has quit [Ping timeout: 240 seconds]
bqv has quit [Quit: WeeChat 2.8]
<clever> ramses_: dockerTools.buildImage lets you directly build a docker image, with only the things you want
<ramses_> clever: I know, I make the container for a colleague who doesn't want to install nix on his machine, but our servers run nixos.
<pie_[bnc]> pbogdan: thats probably it
<ramses_> Don't ask..
<clever> ramses_: you could run nix in docker to build a docker image
<pie_[bnc]> pbogdan: wow.
<ramses_> clever: hah... using a multi-stage build... That's not a bad idea
<pie_[bnc]> pbogdan: thanks
<{^_^}> [nixpkgs] @arianvp opened pull request #85815 โ†’ Fix 85800 โ†’ https://git.io/JfIkR
<ramses_> clever: you have any links to documentation for nix dockertools? I know it exists but never had a need
bqv has joined #nixos
<clever> ramses_: lines 74-92 creates a docker image with the listed tools
<clever> you can either just stop there, and put everything you want into that image
<clever> ramses_: or you can move to step 2, lines 95-102 create a 2-layer image, with some more binaries in the 2nd layer (so you can reuse the 1st layer on future `docker pull`s)
<clever> ramses_: or you can just go nuts and use dockerTools.buildLayeredImage, which dynamically generates as many layers as you want (but you have less control of the borders)
<ramses_> clever: I'm trying to imagine how this will work. Can I have a dockerfile that will use this to build an image? Or I would have to copy the resulting image out of a container?
<clever> ramses_: i would just manually launch an interactive docker shell into a container that has nix
<clever> ramses_: and use docker volumes to sneak the final .tar.gz out to the host
<clever> then just build it like normal, using nix
<clever> ignore the docker tooling as much as possible!
<ramses_> clever: Yeah, the problem is that I need to have something seamless for my colleagues, nix is very scary to them
bjth has joined #nixos
<ramses_> I managed to have all our servers run nixos, but their dev environment is more difficult
<clever> ramses_: linux or darwin?
<bjth> Hello! I was wondering if anyone could help me getting the Vulkan Samples from Khronos to run on nixos. I am haivng troubles with the vulkan loader.
<ramses_> Some darwin, some windows
<ivegotasthma> hello, I whenever I look for a package with `nix search hello` I get `nixos.hello` packages and then a full duplicate of the results with `nixpkgs.hello`
<clever> ramses_: ack!, the nix+docker build process only really works on linux
<ivegotasthma> I'm on unstable and I have only 2 branches, unstable and home-manager, any idea why the duplication with nixpkgs is happening?
<clever> ramses_: id say they should all just use a standard "dev environment" based on docker, and nix will already be available in that
<clever> ramses_: on windows and darwin, docker just runs a linux VM, and then runs plain linux docker within that
<ramses_> clever: yeah, I would really liketo just be able to give them a dockerfile and tell them to build and run it, so they don't have to worry about how the app gets build
<ramses_> It's a bit messy, it would be easier if they would just run a nixos VM
<ramses_> But so, we are back to doing an ls of the nix store, identify the lingering path, and rm -rf it
<clever> ramses_: docker also has a way to map its unix socket into a container
<clever> ramses_: so you can just `docker load < result/something.tar.gz` from within docker itself
<kalbasit> if I see this warning on a single-user installation on Darwin, is it benign? `warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy`
{`-`} has joined #nixos
<ivegotasthma> would be cool to see doas replacing sudo
seanparsons has joined #nixos
zertox has joined #nixos
puck has joined #nixos
rizary has joined #nixos
otti0815 has quit [Ping timeout: 265 seconds]
NieDzejkob has quit [Remote host closed the connection]
<ivegotasthma> energizer: is there a way I can remove nixpkgs from the NIX_PATH?
<clever> ivegotasthma: `sudo -u foo command` to run something as somebody
unacceptable has joined #nixos
smatting has quit [Ping timeout: 264 seconds]
<energizer> ivegotasthma: why?
linuus has joined #nixos
<ivegotasthma> I don't want to see duplicated packages in nix search
davean has quit [Ping timeout: 265 seconds]
sveitser2 has quit [Ping timeout: 265 seconds]
<ivegotasthma> I see both nixos and nixpkgs results
<ivegotasthma> for every search I run
<clever> ivegotasthma: what does `echo $NIX_PATH` say?
NieDzejkob has joined #nixos
<cole-h> ivegotasthma: If you see nixpkgs in `sudo nix-channel --list`, maybe removing it will help you?
xe4 has quit [Ping timeout: 265 seconds]
sveitser2 has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
signaryk has quit [Ping timeout: 265 seconds]
risson has quit [Ping timeout: 265 seconds]
acarrico has quit [Ping timeout: 265 seconds]
xe4 has joined #nixos
<ivegotasthma> it's not a channel
smatting has joined #nixos
<ivegotasthma> and the output of NIX_PATH is there
<cole-h> Oh, I see
signaryk has joined #nixos
vidbina_ has joined #nixos
<clever> ivegotasthma: and what is the output from those 2 commands,without root?
risson has joined #nixos
<ivegotasthma> clever: NIX_PATH is the same
<ivegotasthma> nix-channel is empty
lewo has quit [Ping timeout: 265 seconds]
<ivegotasthma> it's inherited from the root
<clever> id expect that to not have any duplicates, but ive not used the new `nix search` much
dermetfan has quit [Ping timeout: 265 seconds]
davean has joined #nixos
<energizer> all my outputs are the same as ivegotasthma's
acarrico has joined #nixos
<clever> it could be a design flaw of `nix search`
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ivegotasthma> why is nixpkgs even there?
<ivegotasthma> shouldn't nixos be everything the system needs?
<clever> ivegotasthma: because there is a nixpkgs= in $NIX_PATH
<ivegotasthma> can I remove it?
otti0815 has joined #nixos
<clever> ivegotasthma: that will break anything that does import <nixpkgs> {}
<ivegotasthma> wow
<ivegotasthma> okay, I get it now
<clever> thats why its there
<{^_^}> [nixpkgs] @ngerstle opened pull request #85816 โ†’ keycloak: 9.0.2 -> 9.0.3 โ†’ https://git.io/JfIkH
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<ivegotasthma> clever: should I open an issue for this with the nix repo?
<clever> probably
<energizer> where does <nixos> get used?
aw has joined #nixos
<clever> energizer: when you want to refer to a specific channel, and you can use any channel you have added like that
spacefrogg has joined #nixos
<energizer> clever: i dont think i have <nixos> in my config tho
<energizer> yeah i dont
<ivegotasthma> I get this for nixos https://dpaste.org/U1XO/raw
<clever> on a default setup, <nixos> and <nixpkgs> point to the same thing
<ivegotasthma> I guess it's a home-manager thing
relaxmax has quit [Ping timeout: 260 seconds]
<energizer> ivegotasthma: <home-manager/nixos> is a home-manager thing. <nixos> is a nixos thing
<clever> ivegotasthma: nope, thats <home-manager/nixos> the nixos subdir of <home-manager>
<energizer> clever: why bother setting nixos= at all?
<cole-h> Isn't <nixos> an alias to <nixpkgs/nixos> anyways?
<clever> energizer: there is no nixos=
<clever> energizer: <nixos> is a side-effect of `/nix/var/nix/profiles/per-user/root/channels` which just exposes every channel root has
__monty_1 has joined #nixos
__monty_1 has quit [Client Quit]
__monty_2 has joined #nixos
__monty_2 has quit [Client Quit]
<clever> cole-h: the other way around, <nixpkgs> is an alias to the channel called nixos on root, which is what <nixos> maps to
<clever> <nixos/nixos> and <nixpkgs/nixos> are the nixos subdir of that channel
nschoe has quit [Ping timeout: 272 seconds]
<cole-h> Oh, I see
__monty__ has quit [Quit: leaving]
<energizer> ok
<energizer> so what should nix search do?
<energizer> "noticed <nixos> and <nixpkgs> are identical, so hiding the nixos.* results"?
<ramses_> clever: I ran nix-build on the following expression: https://gist.github.com/R-VdP/b0e7bce35a0c263cb261bc3386be6754
<ramses_> But the resulting image is 666MB...
<ivegotasthma> tracking issue https://github.com/NixOS/nix/issues/3527
<{^_^}> nix#3527 (by doom3wasagoodgame, 1 minute ago, open): Duplication of search results for nix search
<ivegotasthma> energizer: you might want to subscribe for it
cosimone has quit [Remote host closed the connection]
<energizer> ivegotasthma: cool
cosimone has joined #nixos
<clever> ramses_: one min...
<energizer> ivegotasthma: i think we know what causes the duplication, the issue should be that we don't like the duplication
<lovesegfault> is there a way for me to hook tail into the output of a running Nix build?
turion has quit [Ping timeout: 272 seconds]
<cole-h> Does `nix log` work for in-progress builds? That would be interesting
<gchristensen> I don't think so
<clever> ramses_: can you also include the default.nix file? the other stuff only totals to 142mb
<energizer> lovesegfault: i think you can use strace for that
<energizer> oh
<energizer> tail -f /proc/pid/fd/2
<clever> energizer: if thats a fifo, it may screw things up, it might also change the seek position of the file and screw it up
<clever> ramses_: adding that into the mix raises it to 200mb, how did you measure 600?
<clever> ramses_: 300mb, if i ignore my zfs compression
<ramses_> clever: when I comment out glibclocales, it comes down to 227MB for me
<ramses_> With that package included, I get 666MB, that's the number that docker is reporting me hwen I load the image
o1lo01ol1o has quit [Remote host closed the connection]
CcxWrk has quit [Ping timeout: 256 seconds]
dongcarl has joined #nixos
<clever> ramses_: if you just generate a text file containing all of the paths: https://gist.github.com/cleverca22/4f172a8da8d2080094db0969e5e439d2
<clever> ramses_: then you can build it, and: du --apparent-size -h --max=0 -c $(nix-store -qR ./result ) | sort -h
<clever> ramses_: that will tell you how big the closure is, and what is making it so big
infandum has quit [Remote host closed the connection]
<clever> ramses_: you can then use `nix why-depends ./result /nix/store/hash-glibc-locales` to find out why something is included, and begin adding overrides to make it not be included
glittershark has joined #nixos
<clever> ramses_: you can likely also remove a lot of the things in that list
<{^_^}> [nixpkgs] @teto merged pull request #85814 โ†’ luaPackages.luaexpat: unbreak, it builds just fine โ†’ https://git.io/JfITp
<{^_^}> [nixpkgs] @teto pushed commit from @andir to release-20.03 ยซ luaPackages.luaexpat: unbreak, it builds just fine ยป: https://git.io/JfIIc
smatting has quit [Ping timeout: 256 seconds]
<cole-h> clever: Is this the right way of providing binaries that are required during execution? https://github.com/NixOS/nixpkgs/blob/2ad4e21249843e1729293eeb7ad8c21ce13729a9/pkgs/shells/fish/default.nix#L121
<cole-h> I feel like they should be wrapped into the PATH using `wrapProgram` and `mkBinPath` (or whatever it's called) instead
<armin> can i somehow use the output of some command in a nix expression?
<clever> cole-h: under normal conditions, propagatedBuildInputs only appear in other builds, and never at runtime
<clever> cole-h: you want to use wrapProgram
<armin> e.g. i can use services.mingetty.greetingLine = lib.mkForce ''NixOS ''; but how do i put the output of a string there?
<cole-h> clever: That's what I thought. What's interesting, is that fish functions just fine like that...
<cole-h> (Or else it would have been changed a long time ago)
<clever> armin: builtins.readFile (pkgs.runCommand "name" {} "echo stuff > $out")
<clever> ,ifd armin
<{^_^}> armin: import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<clever> cole-h: there may be other things that are making it behave in a non-normal way
<armin> clever: ty!
mehlon has quit [Quit: Leaving]
<ramses_> clever: with only my python application, it comes down to 143MB, which is better
o1lo01ol1o has joined #nixos
<ramses_> clever: with only my python application, it comes down to 143MB, which is better
<clever> ramses_: and now try loading the docker image and see if its usable
<cole-h> clever: Hm, could it be due to all the `sed`s in `postInstall`? e.g. `sed -i "s|bc|${bc}/bin/bc|"`
smatting has joined #nixos
<clever> cole-h: that entirely ignores the propagatedBuildInputs, and just inserts an absolute path into the code
<clever> cole-h: which is how i would do things
<clever> ,runtimedeps cole-h
<{^_^}> cole-h: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
ramses_ has quit [Quit: Connection closed]
<cole-h> I'm more confused on why, if I remove the postInstall and keep the propagatedBuildInputs, fish functions just fine (tested in VM)
chagra_ has quit [Ping timeout: 265 seconds]
ramses_ has joined #nixos
<clever> cole-h: is the final bin/fish a shell script or a binary?
<cole-h> A binary.
<clever> cole-h: when you run strings on it, what paths do you see to the things it wants to run?
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<cole-h> The things it needs these binaries for are inside fish scripts
o1lo01ol1o has joined #nixos
<cole-h> Which is why I think it might be better to `wrapProgram` it...
bjth has quit [Remote host closed the connection]
<clever> cole-h: either patch the scripts, or wrapProgram
nerosnm has joined #nixos
<ixxie> when NixOS is setup on a VM, its networking devices are determined by the VM configuration right?
justanotheruser has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
fendor has quit [Read error: Connection reset by peer]
maddo has quit [Quit: See ya]
shabius_ has joined #nixos
Nikita has joined #nixos
nikivi has quit [Read error: Connection reset by peer]
aveltras has quit [Quit: Connection closed for inactivity]
Nikita is now known as nikivi
shabius has quit [Ping timeout: 272 seconds]
piezoid has quit [Quit: leaving...]
<{^_^}> [nixpkgs] @mweinelt opened pull request #85818 โ†’ openssl: patch CVE-2020-1967 โ†’ https://git.io/JfILI
justanotheruser has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @flokli opened pull request #85820 โ†’ nixos/nginx: run nginx-config-reload as the nginx user and group โ†’ https://git.io/JfIL4
chagra_ has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/95b9c99f6d0 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/10bfa0159c2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
blibberblob has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @zowoq opened pull request #85821 โ†’ gitAndTools.gh: 0.6.4 -> 0.7.0 โ†’ https://git.io/JfIL0
nerosnm has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq opened pull request #85822 โ†’ nixos/{crio,podman}: remove cni-plugins from environment.systemPackages โ†’ https://git.io/JfILE
<lovesegfault> How can I override a python package for all versions of python?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #80103 โ†’ nixosTests.systemd-confinement: Port to Python โ†’ https://git.io/JvlYz
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfILM
reallymemorable has quit [Quit: reallymemorable]
erasmas has quit [Ping timeout: 256 seconds]
cr4y1 has quit [Ping timeout: 256 seconds]
konobi has quit [Read error: Connection reset by peer]
konobi_ has joined #nixos
koleesch has quit [Read error: Connection reset by peer]
guts has joined #nixos
koleesch has joined #nixos
koleesch has quit [Read error: Connection reset by peer]
koleesch has joined #nixos
koleesch has quit [Read error: Connection reset by peer]
koleesch has joined #nixos
<guts> hello! I have a system where the boot drive is dead, but the system is still booted. I've got a USB stick I want to put the new /boot on, and I was planning on nixos-install on my live system. is that safe?
Vikingman has joined #nixos
<infinisil> lovesegfault: Could probably do `pythonInterpreters = mapAttrs (name: value: value.override { ... }) super.pythonInterpreters` in an overlay
<clever> guts: if your trying to change the /boot for the running os, you dont want nixos-install
<clever> guts: just fix the config, mount the right thing to /boot, and nixos-rebuild
<guts> it will make sure everything that it needs is there?
<clever> guts: you may want `nixos-rebuild --install-bootloader`
<guts> ahhh, that's probably what I want. thanks!
<clever> guts: thats what --install-bootloader manages, as long as the right thing is mounted to /boot
gustavderdrache has joined #nixos
koleesch has quit [Read error: Connection reset by peer]
<ramses_> clever: I ended up implementing both methods, they can choose between a slower build with a smaller resulting image (image build by nix in a container, then loaded), or a faster build but a bigger resulting image (native docker build)
<ramses_> I'll see what they prefer
smatting has quit [Ping timeout: 240 seconds]
<ramses_> Thanks for your help!
koleesch has joined #nixos
koleesch has quit [Read error: Connection reset by peer]
<ramses_> Building the image with nix in the container is quite a bit slower because dockerTools seems to have quite some dependencies which are downloaded every time the build is started. This could be avoided by preinstalling this in a docker image made for building, but this would increase the complexity even more
<clever> ramses_: i was thinking a docker container with state that can persist, so nix can cache things
<ramses_> Hmm, a volume for the nix store
<clever> ramses_: i was thinking just a normal container, start vs exec
<ramses_> Ok, that's for tomorrow, it's 1h30 am here
<ramses_> thanks for the very useful suggestions!
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #85806 โ†’ [20.03] linux: version bumps โ†’ https://git.io/JfIJv
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-20.03: https://git.io/JfItg
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cae3ac8c30b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @i077 opened pull request #85824 โ†’ everdo: init at 1.3.5 โ†’ https://git.io/JfItK
vidbina_ has quit [Ping timeout: 256 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
zeta_0 has joined #nixos
philr_ has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to release-20.03: https://git.io/JfItQ
zeta_0 has left #nixos [#nixos]
alexherbo2 has quit [Remote host closed the connection]
erasmas has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master ยซ linux_latest-libre: 17402 -> 17445 ยป: https://git.io/JfIqG
<{^_^}> [nixpkgs] @peterhoeg merged pull request #84866 โ†’ pcsc-cyberjack: minor cleanups โ†’ https://git.io/Jvp6j
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfIqZ
icey_ has joined #nixos
iceypoi has quit [Ping timeout: 256 seconds]
broccoli has quit [Remote host closed the connection]
jgeerds_ has quit [Ping timeout: 250 seconds]
dsx has joined #nixos
reallymemorable has joined #nixos
shibboleth has quit [Quit: shibboleth]
reallymemorable has quit [Client Quit]
Havvy has quit [Read error: Connection reset by peer]
<mica[m]> Is building a digital ocean image supported for 20.03 using nixos-generate?
<{^_^}> [nixpkgs] @kini opened pull request #85825 โ†’ acl2: 8.2 -> 8.3 โ†’ https://git.io/JfIqw
<hexagoxel> basic syntax question: how to better write "let foo = (f x).foo; bar = (f x).foo; in โ€ฆ" ?