andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
<infinisil> Ohh..
<infinisil> I think the problem is that even though fetchgit with keepDotGit keeps the .git directory, there won't actually be any commits in it, probably
<infinisil> So the builtins.fetchGit won't work
<infinisil> Um
<gchristensen> the expression shouldprobably allow passing a src
<infinisil> Yeah so maybe cloning the repo might be the better way to go instead of messing any more with fetchgit
cidkid has joined #nixos
kvda has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
<deni> gchristensen: I can probably fix the expression tomorrow... but yeah
<deni> infinisil: I guess it could work that way yeah
<deni> infinisil: the trouble with that is that it's no longer self sufficient.... I mean, I'm depending on a repo being cloned somewhere on disk that's not vendored in with configuration.nix or exists somewhere on github
<infinisil> Well there are ways to get around this, e.g. by patching the upstream repo
<infinisil> And those patches can be applied in your nix files directly
<deni> infinisil: that's what I meant by my replied to gchristensen
<deni> infinisil: ah no, you mean an overlay?
<deni> I was just thinking of doing a PR to upstream tomorrow once I figure out on my fork how to fix it
<{^_^}> [nixpkgs] @veprbl pushed to master « mesos: switch to https for maven »: https://git.io/JvCks
<{^_^}> [nixpkgs] @veprbl closed pull request #79260 → mesos: fix insecure maven domain → https://git.io/JvGAt
<deni> I'm aware that nix allows for all sorts of trickety when it comes to overriding but I'm not comfortable with most of them yet
<deni> *trickery
domogled has quit [Ping timeout: 268 seconds]
<infinisil> deni: Hm maybe an overlay works too, but I meant patching the sources directly
<{^_^}> [nixpkgs] @veprbl pushed to release-19.09 « mesos: switch to https for maven »: https://git.io/JvCkn
<infinisil> E.g. by writing a derivation and using `substituteInPlace --replace "builtins.fetchGit" ...` or so
<{^_^}> [nixpkgs] @veprbl pushed to release-19.03 « mesos: switch to https for maven »: https://git.io/JvCkc
<deni> infinisil: that would be an interesting excerise for me just so I learn more about this mechanism.... but I'd opt for submitting a PR to upstream in the end of course
<infinisil> Yeah that's certainly a good idea :)
johnw has quit [Remote host closed the connection]
<infinisil> Although, I'm unsure if what I said was the problem is actually correct
thc202 has quit [Ping timeout: 260 seconds]
<infinisil> Because it clearly had some files present
<infinisil> Why zt2hosts only is missing is odd
<infinisil> Too late for me to try to debug though
<deni> infinisil: yeah same here... calling it a night :)
<deni> infinisil: thanks for your help
<infinisil> See ya :D
<GrimSleepless> Hey guys! Any of you guys are able to change songs or stop/play songs from your keyboard media keys?
<GrimSleepless> I am running xfce btw
<GrimSleepless> So it should be fairly straightfoward
<{^_^}> [nixpkgs] @andir opened pull request #79784 → nss: 3.48 -> 3.49.2 → https://git.io/JvCkV
peanutbutter144 has quit [Ping timeout: 272 seconds]
WinchellsM has joined #nixos
cidkid1 has joined #nixos
<dashkal> Is there any... more documentation for nixops? The section on deploying to a container is... basically empty.
<WinchellsM> For a function-ized buildPythonPackage like this one: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/deap/default.nix
<WinchellsM> What function do I use to callPackage it?
cidkid has quit [Ping timeout: 265 seconds]
<WinchellsM> I know that Haskell has its own callPackage
<WinchellsM> Is that the case also with Python?
<{^_^}> [nixpkgs] @lovesegfault opened pull request #79785 → cargo-udeps: 0.1.5 -> 0.1.7 → https://git.io/JvCko
bukkitgerman8 has quit [Quit: Du Mongo]
<{^_^}> [nixpkgs] @andir opened pull request #79786 → firefox: 72.0.3 -> 73.0 → https://git.io/JvCkX
cidkid1 has quit [Client Quit]
u0_a121 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #79735 → haskellPackages.taffybar: Mark as unbroken → https://git.io/JvcSL
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvCkH
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
peanutbutter144 has joined #nixos
cidkid has joined #nixos
fusion809 has joined #nixos
cidkid has quit [Client Quit]
fendor has quit [Read error: Connection reset by peer]
ris has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
slyfox has quit [Quit: :)]
WinchellsM has quit [Quit: Lost terminal]
u0_a121 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #79770 → python3Packages.xmlschema: 1.0.18 -> 1.1.0 → https://git.io/JvCJt
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.xmlschema: 1.0.18 -> 1.1.0 »: https://git.io/JvCIt
<{^_^}> [nixpkgs] @jonringer merged pull request #79767 → python3Packages.pytest-black: 0.3.7 -> 0.3.8 → https://git.io/JvCfX
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.pytest-black: 0.3.7 -> 0.3.8 »: https://git.io/JvCIq
<{^_^}> [nixpkgs] @jonringer merged pull request #79765 → python3Packages.msrest: 0.6.10 -> 0.6.11 → https://git.io/JvCfE
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvCIO
mbrgm_ has joined #nixos
bukkitgerman8 has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
growpotkin has joined #nixos
kleisli_ has quit [Ping timeout: 260 seconds]
v88m has quit [Ping timeout: 240 seconds]
v88m has joined #nixos
delli3 has quit [Read error: Connection reset by peer]
delli3 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leotaku has quit [Ping timeout: 272 seconds]
delli3_ has joined #nixos
delli3 has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]
delli3_ has quit [Max SendQ exceeded]
delli3_ has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
jluttine_ has quit [Ping timeout: 260 seconds]
Rusty1 has quit [Remote host closed the connection]
u0_a121 has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #79685 → spago: 0.13.1 -> 0.14.0 → https://git.io/Jvc2f
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvCI7
Fzer0 has joined #nixos
wildtrees has quit [Quit: Leaving]
u0_a121 has joined #nixos
u0_a121 has quit [Read error: Connection reset by peer]
qubasa_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvCLJ
peanutbutter144 has quit [Ping timeout: 272 seconds]
u0_a121 has joined #nixos
mexisme_ has joined #nixos
mvnetbiz_ has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 265 seconds]
mvnetbiz_ has joined #nixos
simukis__ has joined #nixos
MatrixBridge has joined #nixos
MatrixBridge has left #nixos ["User left"]
<{^_^}> [nixpkgs] @jtojnar merged pull request #76988 → duplicity: 0.7.19 -> 0.8.10, use python3 → https://git.io/JejTq
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvCLl
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 272 seconds]
peanutbutter144 has joined #nixos
werner291 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
peanutbutter144 has quit [Ping timeout: 268 seconds]
u0_a121 has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
garmanarnar has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #79534 → last: 1045 -> 1047 → https://git.io/JvniH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvCLx
h0m1 has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
noogie has joined #nixos
kvda has joined #nixos
jluttine_ has joined #nixos
peanutbutter144 has joined #nixos
u0_a121 has joined #nixos
peanutbutter144 has quit [Ping timeout: 265 seconds]
u0_a121 has quit [Write error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
mrpi has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/34c7eb7545d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
globin has quit [Ping timeout: 260 seconds]
globin has joined #nixos
mrpi36 has joined #nixos
mrpi36 has left #nixos [#nixos]
mrpi has quit [Quit: issued !quit command]
mrpi has joined #nixos
mrpi has left #nixos [#nixos]
u0_a121 has joined #nixos
mrpi has joined #nixos
u0_a121 has quit [Read error: Connection reset by peer]
peanutbutter144 has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b9cb3b2fb2f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
drakonis has joined #nixos
peanutbutter144 has quit [Ping timeout: 272 seconds]
cidkid has joined #nixos
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #79788 → Fix up haskell updates → https://git.io/JvCtN
<{^_^}> [nixpkgs] @cdepillabout closed pull request #79788 → Fix up haskell updates → https://git.io/JvCtN
cidkid has quit [Quit: Leaving.]
cidkid has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #79789 → haskell-updates: get evaluating again → https://git.io/JvCth
cidkid has quit [Client Quit]
cidkid has joined #nixos
cidkid has quit [Client Quit]
cidkid has joined #nixos
cidkid has quit [Client Quit]
cidkid has joined #nixos
cidkid has quit [Client Quit]
colemickens_ has joined #nixos
cidkid has joined #nixos
o1lo01ol1o has joined #nixos
cidkid has quit [Client Quit]
peanutbutter144 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
lord| has joined #nixos
kvda has quit [Ping timeout: 260 seconds]
SOO7 has quit [Quit: Quit]
SOO7 has joined #nixos
wiml has quit [Quit: wiml]
<{^_^}> [nixpkgs] @bhipple opened pull request #79790 → dnnl: run tests, fix install tree → https://git.io/JvCqt
fl0_id has quit [Quit: ZNC]
fl0_id has joined #nixos
kvda has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
peanutbutter144 has quit [Ping timeout: 268 seconds]
jb55 has quit [Ping timeout: 240 seconds]
kwork_ has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
cartwright has quit [Ping timeout: 240 seconds]
xelxebar has quit [Ping timeout: 240 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
kwork has quit [Read error: Connection reset by peer]
jojojojojo has quit [Ping timeout: 240 seconds]
phreedom has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
Guest17523 has quit [Ping timeout: 260 seconds]
cYmen has quit [Quit: No Ping reply in 180 seconds.]
Guest17523 has joined #nixos
<GrimSleepless> Hello guys! I am building my second package and I need libssl.so. In a regular distro, I would be able to fix this fairly quickly but on nix... I am lost :P
<bhipple> GrimSleepless: add openssl to buildInputs, perhaps?
jonreeve[m] has joined #nixos
<jonreeve[m]> Anyone know how to install a custom package from GitHub?
cYmen has joined #nixos
<GrimSleepless> I did
<GrimSleepless> bhipple: I did. it doesn't seem to work. Let me try again!
u0_a121 has joined #nixos
<GrimSleepless> bhipple: nope
<bhipple> Usually that's sufficient, but if the package you're building doesn't use a "standard" build system or pkg-config to detect dependencies, it might need a hint.
<GrimSleepless> It is a python package
mrpi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
asymmetric has quit [Quit: Peace.]
Fzer0 has quit [Ping timeout: 260 seconds]
<GrimSleepless> bhipple: I am trying to build a python package. so should I bring pkg-config in ?
grumble has quit [Remote host closed the connection]
<bhipple> pkg-config is brought in by default by the stdenv. What python package?
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #79766 → python3Packages.lxml: 4.4.2 -> 4.5.0 → https://git.io/JvCf2
<{^_^}> [nixpkgs] @jonringer pushed to staging « python3Packages.lxml: 4.4.2 -> 4.5.0 »: https://git.io/JvCqW
<GrimSleepless> bhipple: srp
grumble has joined #nixos
<cole-h> jonreeve[m]: Maybe try looking here for inspiration: https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/haskell-modules
<GrimSleepless> bhipple: I am trying to find a package that requires libssl as well to see what they might have done!
<{^_^}> [nixpkgs] @jonringer merged pull request #79388 → pythonPackages.wordcloud: init at 1.6.0 → https://git.io/JvZ91
<{^_^}> [nixpkgs] @jonringer pushed commit from @jm2dev to master « pythonPackages.wordcloud: init at 1.6.0 »: https://git.io/JvCq8
<cole-h> jonreeve[m]: Specifically, AhoCorasick appears to come from hackage -- https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/configuration-hackage2nix.yaml#L2870
<cole-h> I don't use Haskell, and am still new to Nix, so that's as far as I can get. Hope it helps.
<bhipple> GrimSleepless: you can find some by doing `git grep -w openssl -- pkgs/development/python-modules`
<bhipple> GrimSleepless: often, if it doesn't "just work" the next stop after searching for similar examples is inspecting the package's setup.py to see if it's doing anything crazy: https://github.com/cocagne/pysrp/blob/master/setup.py
<bhipple> in this case it looks pretty simple
<{^_^}> [nixpkgs] @jonringer merged pull request #79782 → gunicorn: add 19.x branch for python2.7 support → https://git.io/JvCTg
<{^_^}> [nixpkgs] @jonringer pushed commit from @mmilata to master « gunicorn: add 19.x branch for python2.7 support »: https://git.io/JvCq4
<bhipple> altho it's using the older distutils instead of setuptools, but the nix infra generally supports that out of the box...
kleisli_ has joined #nixos
<GrimSleepless> bhipple: Indeed, it is failry simple. I am going thru other packages to see. Thanks for your help. I learned a few more things :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79791 → xlockmore: 5.61 -> 5.62 → https://git.io/JvCqK
<jonreeve[m]> cole-h: But how would you edit that shell.nix to use the custom version?
<{^_^}> [nixpkgs] @jonringer opened pull request #79792 → python3Packages.gunicorn: fix homepage → https://git.io/JvCqi
<bhipple> GrimSleepless: This is the "wrong" way to do it, but you could add `propagatedBuildInputs = [ pyopenssl ]`, which would drag in openssl to the dependency (via pyopenssl).
<bhipple> If you're just hacking around that's worth a try to see if it helps
<bhipple> and if so figure out how pyopenssl's build is able to find openssl but yours isn't
<{^_^}> [nixpkgs] @jonringer merged pull request #79792 → python3Packages.gunicorn: fix homepage → https://git.io/JvCqi
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.gunicorn: fix homepage »: https://git.io/JvCqP
<cole-h> jonreeve[m]: If you create an overlay for it in `~/.config/nixpkgs/overlays/AhoCorasick.nix`, you shouldn't need to do anything. You could also do whatever constituted the changes in the let block I think (and just don't pull in AhoCorasick from nixpkgs)
johnny101 has joined #nixos
endocrimes has quit [Quit: No Ping reply in 180 seconds.]
silver_hook has quit [Ping timeout: 240 seconds]
<GrimSleepless> bhipple: Even with pyopenssl, I am getting the same error in the unittests
endocrimes has joined #nixos
<GrimSleepless> bhipple: Is is possible that six ( the other dependency ) would be missing openssl which would lead to my code not working?
<bhipple> Oh, in the unit tests? This might be because when tests are run, you're in the build sandbox with no network, so the SSL errors could be a red herring for the fact that you just can't reach out to the internet
silver_hook has joined #nixos
<bhipple> Try `doCheck = false` to disable the unit tests and then see if the module itself works once built. Then go ahead and patch out the specific test(s) that require network access if you'd like to run the remainder of hermetically sealed pure tests
<GrimSleepless> bhipple: yes, it works with doCheck = false, I was asked in my PR to add the tests. So I did! :P
peanutbutter144 has joined #nixos
<jonreeve[m]> cole-h: What would that overlay look like?
trfl has quit [Quit: ZNC - http://znc.in]
trfl has joined #nixos
<GrimSleepless> bhipple: Thank for your explainations and help! I really appreciate it! It will help me keep on contributing to the project!
<bhipple> GrimSleepless: there are lots of examples of us just disabling the entire test suite with a comment saying "Requires network access", but the much better practice is to find the specific test(s) and filter them, like pandas does for example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pandas/default.nix#L71
felixfoertsch has joined #nixos
<cole-h> jonreeve[m]: Check out this wiki page: https://nixos.wiki/wiki/Overlays. I don't use Haskell, so I can't help you any more than that, unfortunately.
felixfoertsch23 has quit [Ping timeout: 272 seconds]
<infinisil> bhipple: I personally don't even really see the point of running tests at all. The tests should've been ran when the upstream release was done already, running them again every time a nix package is built feels very pointless because of that
peanutbutter144 has quit [Ping timeout: 272 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<infinisil> bhipple: And this seems to cause a lot of trouble with making tests work with Nix, for what benefit? I don't think I've ever gotten anything from a failing test in a nix build
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
u0_a121 has quit [Ping timeout: 272 seconds]
<GrimSleepless> infinisil: Well. The test were tested on a different environment. Running them on Nix makes us know if we will run in any issue.
<bhipple> Well, it depends; often we patch things for various reasons, and in python in particular there's no compilation involved, so if you say doCheck = false and forget a dependency, or upstream adds a new dependency in the new versino, you won't know until you get a runtime failure
spacefrogg has joined #nixos
<bhipple> If you skip the tests you're building and running untested patched software, using a dependency spec that is not guaranteed to be in-sync with upstream
<infinisil> I guess that is a point for interpreted languages
<bhipple> This also comes into play if you use overlays to further patch/pin/modify packages, such as using MKL instead of OpenBLAS for the scientific computing stack in numpy, pandas, etc.
kvda has joined #nixos
<infinisil> Yeah
<infinisil> Then I guess I only don't see a reason for tests with compiled languages
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/34c7eb7545d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
xelxebar has joined #nixos
<bhipple> Unit tests in general are less important in compiled languages. It's one of the big productivity boosts of using them (don't need to be paranoid about 100% code line coverage) :)
mexisme_ has quit [Ping timeout: 260 seconds]
<bhipple> (Obviously still very important to test, of course, just mean you don't have to hit 100% LoC coverage to worry about things like a syntax error)
mexisme_ has joined #nixos
tetdim has quit [Quit: ZNC 1.7.3 - https://znc.in]
tetdim has joined #nixos
blibberblob has quit [Quit: WeeChat 2.7]
<GrimSleepless> I will take back to PR with the tests disabled. They are all networking tests ( I guess )
<bhipple> Yeah, it's quite common in python test suites to just say `doCheck = false; # test suite requires network`, as long as you have a comment explaining that you at least gave it a try for future maintainers to distinguish from just legacy/bad practice/etc.
<GrimSleepless> The added that it failed because of libssl.so not being able to be loaded during the tests
<bhipple> and as ininisil mentions, presumably upstream has already ran the tests prior to releasing on pypi, so if the pkg is not particularly complicated in Nix, it's probably not critical to run the tests in the first place
<GrimSleepless> Yes, you are probably right!
mimir40 has joined #nixos
mimir40 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #79793 → stdenv: update ARM bootstrap tarballs → https://git.io/JvCmv
mexisme_ has quit [Ping timeout: 272 seconds]
<GrimSleepless> Thank you aqain for your help!
<bhipple> np, thx for contributing to NixPkgs!
<GrimSleepless> bhipple: It is pleasure!
<GrimSleepless> bhipple: It is a pleasure!
jb55 has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
jojojojojo has joined #nixos
oida has joined #nixos
andreas303 has joined #nixos
peanutbutter144 has joined #nixos
iqubic has quit [Remote host closed the connection]
kleisli_ has quit [Ping timeout: 260 seconds]
tmaekawa has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
NoctisLa1 has joined #nixos
tmaekawa has quit [Client Quit]
mexisme_ has joined #nixos
iqubic has joined #nixos
NoctisLabs has quit [Read error: Connection reset by peer]
<iqubic> So, I have a qt GUI application that I'm trying to run. It's not working because of the following:
<iqubic> qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<iqubic> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<iqubic> I just rebooted my machine, thinking that would fix the issue. It didn't.
<genesis> a classic one
<bhipple> Package likekly needs the QT hook: https://github.com/NixOS/nixpkgs/issues/65399
<genesis> https://nixos.wiki/wiki/Qt#qt.qpa.plugin:_Could_not_find_the_Qt_platform_plugin_.22xcb.22_in_.22.22
<{^_^}> #65399 (by ttuegel, 28 weeks ago, open): Tracking issue for wrapQtAppsHook
peanutbutter144 has quit [Ping timeout: 260 seconds]
<genesis> bhipple++
<{^_^}> bhipple's karma got increased to 2
<bhipple> genesis: indeed, though I think after years of hacks/patches/ad-hoc fixes, ttuegel has now implemented a relatively clean/sane way to build QT packages properly and purely via this hook
<bhipple> iqubic: check if the package is using the newer qt mkDerivation helper?
<genesis> i get it last week so ...
NoctisLa1 has quit [Read error: Connection reset by peer]
<iqubic> That's the derivation I'm running.
NoctisLa1 has joined #nixos
<bhipple> It was fixed Jan 31, according to git commit data off master
<iqubic> Well, I just downloaded it today. So IDK what's up.
nikola_i has joined #nixos
<bhipple> Git checkout the master branch, and then run `nix-build -A cockatrice`, and run that one. The NixOS channel hasn't caught up yet
<bhipple> just confirmed it works
<iqubic> Ah. I see.
NoctisLabs has joined #nixos
orivej has joined #nixos
NoctisLa1 has quit [Ping timeout: 240 seconds]
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
u0_a121 has joined #nixos
garmanarnar has left #nixos ["WeeChat 2.6"]
<iqubic> That seems to be working.
<bhipple> Nice!
phreedom has joined #nixos
<iqubic> And my nixos-rebuild is failing for some reason.
NoctisLa1 has joined #nixos
<iqubic> I got the qt program to work.
<bhipple> One step forward, one step backward ;D
<iqubic> This is an unrelated issue I think.
mexisme_ has quit [Ping timeout: 265 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
peanutbutter144 has joined #nixos
NoctisLa2 has joined #nixos
NoctisLabs has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #79794 → doomseeker: fix build by using qt wrapper hook → https://git.io/JvCm1
<iqubic> Alright. So, Stylish-Haskell wasn't building properly for me on nixos-unstable. But since I wasn't using that package anyways, I'll let someone else handle that.
NoctisLa1 has quit [Ping timeout: 240 seconds]
<iqubic> now things seem to be building just fine.
<iqubic> Looks like there's some sort of LaTeX update I need to download and recompile.
ddellacosta has joined #nixos
<bhipple> BTW, you don't need to swap your whole OS to unstable just to pick up some new packages. That's one of the nicest things about NixOS: you can keep the OS on the stable branch while still building/installing bleeding-edge packages like cockatrice off master
Fzer0 has joined #nixos
peanutbutter144 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79795 → you-get: 0.4.1388 -> 0.4.1403 → https://git.io/JvCmF
<iqubic> bhipple: I didn't.
NoctisLabs has joined #nixos
<iqubic> I swapped my whole OS to unstable about a year ago.
<iqubic> It's not just for this one package.
iyzsong has joined #nixos
<bhipple> Ah ok, just making sure you were aware
<iqubic> I have been aware of what I can and can't do in this regard for quite some time, thank you very much.
NoctisLa1 has joined #nixos
NoctisLa2 has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 268 seconds]
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
Fzer0 has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Remote host closed the connection]
u0_a121 has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
u0_a121 has joined #nixos
u0_a121 has quit [Read error: Connection reset by peer]
u0_a121 has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
NoctisLa1 has joined #nixos
NoctisLabs has quit [Ping timeout: 265 seconds]
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLa2 has joined #nixos
NoctisLa2 has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
iyzsong has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
<iqubic> I need to run the nix-collect-garbage command more often.
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLa1 has joined #nixos
<cole-h> Could set up a systemd timer for it :^)
nikola_i has quit [Ping timeout: 240 seconds]
u0_a121 has quit [Read error: Connection reset by peer]
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLa1 has joined #nixos
mexisme_ has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
<iqubic> Yes. I suppose so.
<iqubic> I started running this, and it's taken more than 5 10 minutes to fully delete all the garbage.
peanutbutter144 has joined #nixos
vesper has quit [Ping timeout: 240 seconds]
NoctisLabs has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79796 → apt-offline: 1.8.1 -> 1.8.2 → https://git.io/JvCYx
<iqubic> Ah. Now it's just deleting /nix/store/trash
NoctisLa1 has quit [Ping timeout: 240 seconds]
vesper11 has joined #nixos
u0_a121 has joined #nixos
peanutbutter144 has quit [Ping timeout: 268 seconds]
nikola_i has joined #nixos
NoctisLabs has quit [Read error: Connection reset by peer]
u0_a121 has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
bhipple has quit [Remote host closed the connection]
jojojojojo_ has joined #nixos
kvda has quit [Ping timeout: 240 seconds]
u0_a121 has joined #nixos
<{^_^}> [nixpkgs] @emacsomancer opened pull request #79797 → mullvad-vpn: 2019.10 -> 2020.1 → https://git.io/JvCOJ
jojojojojo has quit [Quit: ZNC 1.7.4 - https://znc.in]
nikola_i has quit [Client Quit]
kvda has joined #nixos
u0_a121 has quit [Read error: Connection reset by peer]
<iqubic> Now that I have more space, I should be able to rebuild without memory errors.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kilimo has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #79789 → haskell-updates: get evaluating again → https://git.io/JvCth
<{^_^}> [nixpkgs] @cdepillabout pushed 4 commits to haskell-updates: https://git.io/JvCOs
<kilimo> I'm looking for a way to do regex string replacement with nix:
<kilimo> ``` replace "(foo,bar) (bar,foo) (baz,foo)" "\(([a-z]*),([a-z]*)\)" (matches: "[${matches[0]-${matches[1]}}]") --> "[foo-bar] [bar-foo] [baz-foo]"```
<kilimo> sth. like this does not seem to appear in builtins or lib...
mexisme_ has quit [Ping timeout: 246 seconds]
peanutbutter144 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
chagra has joined #nixos
migy has quit [Ping timeout: 260 seconds]
migy has joined #nixos
lovesegfault has joined #nixos
<lovesegfault> If I can build an attr with `nix-build foo/bar.nix -A foobar` can I graph all of foobar's deps?
<lovesegfault> Also building `foobar` yields not just `./result` but also `./result-1` up to `./result-59`
<srhb> lovesegfault: You'll probably want nix-store -q for graphing
peanutbutter144 has quit [Ping timeout: 272 seconds]
<srhb> lovesegfault: But if what you're "building" is an attrset I'm not sure there's an easy way.
<lovesegfault> srhb: but then I need to point to a path in the store, no?
<srhb> lovesegfault: Or a derivation.
<lovesegfault> Yeah, the problem is I'm building a zillion attrs
<srhb> lovesegfault: I _think_ you'll have to instantiate them all and graph the deps of the drvs.
<lovesegfault> Oh laws
<lovesegfault> *lawd
<srhb> Well, instantiate, not build.
<srhb> You only need to build them for the runtime deps, not build-time deps
<srhb> (Because the runtime deps aren't known until after the build)
<lovesegfault> I see
<lovesegfault> I mean I've already built it all so might as well
<lovesegfault> do I just point nix-store -q to ./result* ?
wedens[m] has joined #nixos
<wedens[m]> you can `buildEnv` multiple attrs to have a single derivation
<wedens[m]> that'll give you a single "root"
<lovesegfault> :O
Grauwolf has quit [Ping timeout: 260 seconds]
<srhb> lovesegfault: You probably want something like -qR, but yes, to result for runtime deps and to the drv from nix-instantiate for build-time
<srhb> lovesegfault: Check out the various switches for -q in the man page
<lovesegfault> Will do
<srhb> It can even output graphviz style stuff.
<lovesegfault> thanks peeps :)
<lovesegfault> srhb: Yeah I used that before
<lovesegfault> that + dijkstra rocks
<srhb> Yep :)
kvda has joined #nixos
captn3m0- has quit [Ping timeout: 268 seconds]
jojojojojo_ is now known as jojojojojo
<jonreeve[m]> I feel like I'm so close, but I'm not managing to get that package from GitHub.
<jonreeve[m]> When I run `nix-shell` it seems to succeed without building anything, but then the package is unavailable from ghci.
drakonis has joined #nixos
<wedens[m]> you can do `haskellPackages.callCabal2nix "pkg_name" (pkgs.fetchFromGitHub { ... }) {};` if you just need to override sources location
palo1 has joined #nixos
<wedens[m]> your invocation of callCabal2nix doesn't look valid (no package name)
peanutbutter144 has joined #nixos
<jonreeve[m]> Where does the package name go?
<jonreeve[m]> More importantly, where can I find the documentation for this function?
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<wedens[m]> pkg_name is package name in my message above
Grauwolf has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #79205 → ocamlPackages.reason: 3.5.1 → 3.5.4 → https://git.io/JvGlx
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.reason: 3.5.1 → 3.5.4 »: https://git.io/JvCOD
<jackdk> I get compile failures on your AhoCorasick pkg though
<{^_^}> [nixpkgs] @vbgl pushed commit from @bcdarwin to master « ocamlPackages.npy: init at unstable-2019-04-02 »: https://git.io/JvCOS
<{^_^}> [nixpkgs] @vbgl merged pull request #77000 → ocamlPackages.npy: init at unstable-2019-04-02 → https://git.io/JejO4
peanutbutter144 has quit [Ping timeout: 265 seconds]
peanutbutter144 has joined #nixos
Maxdaman1us is now known as Maxdamantus
<jonreeve[m]> jackdk: Thanks. I guess out of the pot and into the fire on that one
<jonreeve[m]> At least I'm just getting compile failures now?
<{^_^}> [nixpkgs] @FRidh merged pull request #79777 → libtasn1: fix on darwin → https://git.io/JvCUo
<{^_^}> [nixpkgs] @FRidh pushed commit from @veprbl to master « libtasn1: fix on darwin »: https://git.io/JvCOp
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @veprbl to release-20.03 « libtasn1: fix on darwin »: https://git.io/JvC3v
<jackdk> seems like it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79799 → credstash: 1.16.1 -> 1.16.2 → https://git.io/JvC3f
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #79247 → ngt: init at 1.8.4 → https://git.io/JvGyo
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvC3J
<{^_^}> [nixpkgs] @7c6f434c merged pull request #79750 → luarocks: 3.2.1 -> 3.3.1 → https://git.io/JvcFh
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JvC3U
<{^_^}> [nixpkgs] @FRidh merged pull request #79784 → nss: 3.48 -> 3.49.2 → https://git.io/JvCkV
<{^_^}> [nixpkgs] @FRidh pushed commit from @andir to staging « nss: 3.48 -> 3.49.2 »: https://git.io/JvC3I
peanutbutter144 has quit [Ping timeout: 265 seconds]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
cole-h has quit [Ping timeout: 268 seconds]
<typetetris> hexa-: Yes, I just used unstable an it all just worked.
<{^_^}> [nixpkgs] @FRidh merged pull request #78320 → sqlite: 3.30.1 -> 3.31.0 (security) → https://git.io/JvLQR
<{^_^}> [nixpkgs] @FRidh pushed commit from @wamserma to staging « sqlite: 3.30.1 -> 3.31.0 (security) »: https://git.io/JvC34
drakonis has quit [Ping timeout: 240 seconds]
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 268 seconds]
karantan has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 265 commits to staging-next: https://git.io/JvC3X
<{^_^}> [nixpkgs] @FRidh pushed 247 commits to staging: https://git.io/JvC3M
<Aleksejs> Hello. There is an option virtualisation.diskSize, however it's ignored if image for VM partition is already created. Is there a way to force to recreate a partition?
<{^_^}> [nixpkgs] @FRidh opened pull request #79801 → Staging next → https://git.io/JvC3D
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rogue_koder_ has quit [Ping timeout: 272 seconds]
rogue_koder_ has joined #nixos
noudle has joined #nixos
dashkal has joined #nixos
xavierzwirtz[m] has joined #nixos
<xavierzwirtz[m]> If I use an archlinux package as a guide to add a package to nixpkgs, do I need to credit the original author?>
<{^_^}> [nixpkgs] @Elyhaka opened pull request #79802 → pop-gtk-theme: 2019-12-17 -> 2020-02-10 → https://git.io/JvCsf
lorimer has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
peanutbutter144 has joined #nixos
bvdw has joined #nixos
linarcx has joined #nixos
bahamas has joined #nixos
rogue_koder_ has quit [Ping timeout: 246 seconds]
peanutbutter144 has quit [Ping timeout: 272 seconds]
captn3m0 has joined #nixos
mexisme_ has joined #nixos
Kritnich has quit [Quit: Bye bye.]
ddellacosta has joined #nixos
fusion809 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @MasseR closed pull request #77892 → WIP: networking.services: Add vpnc module → https://git.io/JvTu7
fusion809 has joined #nixos
ixxie has joined #nixos
ddellacosta has quit [Remote host closed the connection]
<pingiun> what is the /vol directory meant for?
c0c0 has joined #nixos
Kritnich has joined #nixos
Kritnich has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79804 → fluent-bit: 1.3.6 -> 1.3.7 → https://git.io/JvCGe
NoctisLa1 has joined #nixos
Kritnich has joined #nixos
ddellaco1 has joined #nixos
Kritnich has quit [Remote host closed the connection]
NoctisLabs has quit [Ping timeout: 268 seconds]
hyper_ch2 has joined #nixos
peanutbutter144 has joined #nixos
ddellaco1 has quit [Ping timeout: 265 seconds]
mexisme_ has quit [Ping timeout: 240 seconds]
mac10688 has quit [Ping timeout: 265 seconds]
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #79791 → xlockmore: 5.61 -> 5.62 → https://git.io/JvCqK
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/JvCGG
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
zupo has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #79775 → ncdu: 1.14.1 -> 1.14.2 → https://git.io/JvCJw
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/JvCGn
lsix has joined #nixos
peanutbutter144 has quit [Ping timeout: 246 seconds]
captn3m0 has quit [Ping timeout: 272 seconds]
peanutbutter144 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79805 → freeorion: 0.4.8 -> 0.4.9 → https://git.io/JvCGC
captn3m0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0c0 has quit [Quit: WeeChat 2.6]
peanutbutter144 has quit [Ping timeout: 265 seconds]
ddellaco1 has joined #nixos
c0c0 has joined #nixos
ng0_ has joined #nixos
mexisme_ has joined #nixos
ng0 has quit [Ping timeout: 268 seconds]
ddellaco1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79807 → go-jsonnet: 0.14.0 -> 0.15.0 → https://git.io/JvCGK
<pingiun> my lvm thin volumes do not become active
<pingiun> and I put them in fileSystems which means now I cannot boot
<pingiun> I need to manually make these volumes active, why is that?
jasom has quit [Ping timeout: 260 seconds]
philr has joined #nixos
jasom has joined #nixos
bahamas has quit [Ping timeout: 272 seconds]
Makaveli7 has joined #nixos
peanutbutter144 has joined #nixos
<hexa-> typetetris: yup, same here now :)
zupo has joined #nixos
fgaz has joined #nixos
<fgaz> Hi all. What should I do when a maintainer is unreachable? I have a pr that's 8 months old: https://github.com/NixOS/nixpkgs/pull/62159
<{^_^}> #62159 (by fgaz, 36 weeks ago, open): nixos/mlmmj: use appropriate postfix options
chin-tastic has quit [Ping timeout: 265 seconds]
ddellaco1 has joined #nixos
makefu has quit [Quit: WeeChat 2.6]
vandenoever has quit [Ping timeout: 265 seconds]
ddellaco1 has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
bahamas has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79808 → grabserial: 1.9.9 -> 2.0.2 → https://git.io/JvCZJ
peanutbutter144_ has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
peanutbutter144 has quit [Ping timeout: 272 seconds]
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #78996 → tigervnc: fix compatibility with xorgserver 1.20.7 → https://git.io/Jv3KL
<{^_^}> [nixpkgs] @bjornfor pushed commit from @ahiaao to master « tigervnc: fix compatibility with xorgserver 1.20.7 »: https://git.io/JvCZq
gagbo has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
Tucky has joined #nixos
chloekek has joined #nixos
andreas303 has joined #nixos
ftzm has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #79778 → delly: 0.8.1 -> 0.8.2 → https://git.io/JvCUd
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvCZW
<eoli3n> Hi
<eoli3n> lets pill
martinb_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @jbedo to release-20.03 « delly: 0.8.1 -> 0.8.2 »: https://git.io/JvCZ0
<{^_^}> [nixpkgs] @kampka opened pull request #79809 → kops_1_15: 1.15.1 -> 1.15.2 → https://git.io/JvCZ2
ddellaco1 has joined #nixos
fusion809 has quit [Remote host closed the connection]
thc202 has joined #nixos
bahamas has quit [Quit: Lost terminal]
ddellaco1 has quit [Ping timeout: 260 seconds]
<eoli3n> ls /nix/store/*coreutils*/bin : http://ix.io/2bo2
<eoli3n> is that '[' symlink normal ?
<immae> eoli3n: on most systems [ is a symlink to test
<immae> It lets you write things like if [ -e "/var/foo" ]; then ...
fusion809 has joined #nixos
<pingiun> how can I control which configuration will boot?
<pingiun> I have access to the disk but not to nix or the grub menu
<eoli3n> immae: i don't get it
<{^_^}> [nixpkgs] @vcunat opened pull request #79810 → lmdb: build static and dynamic libs separately → https://git.io/JvCZ1
<eoli3n> why does a symlink let you write à test?
<eoli3n> s/à/a
<immae> [ is a command
<eoli3n> yes, so?
<pingiun> can I delete a nixos-generation in /boot/loader/entries?
<immae> eoli3n: /run/current-system/sw/bin/[' -e /var/lib/foo ']
<eoli3n> ah
<immae> Does it make sense now?
<eoli3n> better
<eoli3n> thx
<immae> It’s also a builtin command in most shells
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79811 → hugo: 0.64.0 -> 0.64.1 → https://git.io/JvCZQ
vandenoever has joined #nixos
vandenoever has joined #nixos
colemickens_ has quit [Quit: Connection closed for inactivity]
cinimod has joined #nixos
<etu> The '[' command is usually the same as the 'test' command with the difference that '[' requires the last argument to be ']' to look like syntax.
chagra has quit [Ping timeout: 240 seconds]
<cinimod> I am missing something very obvious but why does this https://gist.github.com/idontgetoutmuch/533c2fd80cbcae07db31d889ce5adb55 not do ./configure; make; make install?
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
martinb_ has quit [Ping timeout: 260 seconds]
timor has joined #nixos
timor has quit [Remote host closed the connection]
timor has joined #nixos
smatting has joined #nixos
<cinimod> Do I need cd ${src}$ or something like that?
thefloweringash has joined #nixos
<thefloweringash> I think your unpackPhase is preventing the standard builder from automatically changing into the source directory
<thefloweringash> you shouldn't need to specify an unpackPhase here
<cinimod> I thought I had tried without the unpack and nix told me it didn't know how to unpack zip files
* cinimod goes to try again
<cinimod> Huh - it works this time
<thefloweringash> Looks like you also need `hardeningDisable = [ "format" ];`
<cinimod> What does that do?
<thefloweringash> turns off the error in gofw.c:printMath2 (gofw.c:99:16: error: format not a string literal and no format arguments [-Werror=format-security])
<cinimod> Thank you - I would never have worked that out
<thefloweringash> not sure what this project is, but it looks like a bug that upstream should fix :-)
ixxie has quit [Ping timeout: 260 seconds]
cinimod has quit [Ping timeout: 272 seconds]
Chiliparrot has joined #nixos
cinimod has joined #nixos
sigmundv has joined #nixos
<cinimod> thefloweringash: they don't even have a github repo :(
drakonis has joined #nixos
domogled has joined #nixos
<__monty__> cinimod: I think the problem with your unpackPhase was that unzip doesn't unzip in-place. So when the buildPhase tries to cd into the ${src} dir that's still a zip?
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #79812 → trilium: 0.39.4 -> 0.40.3 → https://git.io/JvCnd
cinimod has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
civodul has joined #nixos
cinimod has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79813 → krohnkite: 0.6 -> 0.6.1 → https://git.io/JvCcq
cinimod` has joined #nixos
cinimod` has quit [Ping timeout: 260 seconds]
cinimod has quit [Ping timeout: 272 seconds]
puck has quit [Quit: nya]
puck has joined #nixos
orivej has joined #nixos
<nh2> when using clang I seem to often have to pass in `llvmPackages.openmp` manually to buildInputs, while I don't have to do it with gcc. Is that right?
Neo-- has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #79299 → buildRustCrate: remap the current build dir to / for (more) reproducible builds → https://git.io/JvZO8
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvCcA
fendor has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79804 → fluent-bit: 1.3.6 -> 1.3.7 → https://git.io/JvCGe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvCCT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79814 → liquibase: 3.8.5 -> 3.8.6 → https://git.io/JvCCm
makefu has joined #nixos
cosimone has joined #nixos
philr has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
captn3m0 has quit [Ping timeout: 272 seconds]
tilcreator has quit [Ping timeout: 272 seconds]
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @nh2 opened pull request #79815 → fftw: Re-enable OpenMP with non-GCC and musl → https://git.io/JvCCK
captn3m0 has joined #nixos
fendor has joined #nixos
linarcx has quit [Quit: WeeChat 2.7]
kleisli_ has joined #nixos
dm9 has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #79816 → buildRustCrate: remove superfluous dependency overrides → https://git.io/JvCCS
linarcx has joined #nixos
<{^_^}> [nixpkgs] @tobim opened pull request #79817 → arrow-cpp: 0.15.1 -> 0.16.0 → https://git.io/JvCCQ
<{^_^}> [nixpkgs] @ttuegel merged pull request #79558 → qttools: Add qtdeclarative to buildInputs → https://git.io/Jvn7i
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JvCC5
tilcreator has joined #nixos
Neo-- has quit [Ping timeout: 272 seconds]
Seto_Kaiba has joined #nixos
Hunterkll has quit [Ping timeout: 256 seconds]
kilimo has quit [Remote host closed the connection]
<nh2> I've posted my above question in https://github.com/NixOS/nixpkgs/issues/79818
<{^_^}> #79818 (by nh2, 8 minutes ago, open): How should we build packages with clang and OpenMP?
Neo-- has joined #nixos
<simpson> Interesting question.
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
cyris212 has quit [Remote host closed the connection]
cyris212 has joined #nixos
statusfailed has quit [Ping timeout: 260 seconds]
statusfailed has joined #nixos
Neo-- has quit [Ping timeout: 265 seconds]
sbetrium has joined #nixos
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 14.25 »: https://git.io/JvCWR
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JvCWu
<{^_^}> [nixpkgs] @peti opened pull request #79819 → Update Haskell package set to LTS 14.25 (plus other fixes) → https://git.io/JvCWw
<{^_^}> [nixpkgs] @peti pushed 934 commits to haskell-updates: https://git.io/JvCW6
werner291 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #79820 → [backport-19.09]: nixos/locate: only create output directory if != /var/cache → https://git.io/JvCWy
m1cr0m4n has quit [Ping timeout: 260 seconds]
barrucadu has quit [Ping timeout: 260 seconds]
FRidh2 has joined #nixos
barrucadu has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
m1cr0m4n has joined #nixos
fusion809 has joined #nixos
captn3m0 has quit [Ping timeout: 260 seconds]
magnetophon has joined #nixos
captn3m0 has joined #nixos
ftzm has quit [Quit: WeeChat 1.9.1]
Neo-- has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79821 → openblas: 0.3.7 -> 0.3.8 → https://git.io/JvClt
werner291 has quit [Quit: werner291]
Naptra has joined #nixos
gxt has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #79822 → cloudflare-wrangler: 1.4.0 -> 1.7.0 → https://git.io/JvCl2
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #79823 → polybar: remove doing nothing postConfigure → https://git.io/JvClr
tilpner_ is now known as tilpner
Fzer0 has joined #nixos
cap_sensitive has joined #nixos
<cap_sensitive> Hi. What happened with nixos.org? I have a server in Dallas, TX, USA (Linode), but I can't ping nixos.org. At the same time, 2 online website checking services claim that nixos.org is ok
<Yaniel> intermittent routing issues?
<Yaniel> looks fine here as well
cosimone has quit [Quit: Terminated!]
<cap_sensitive> I've been trying for the last hour, yet can't get a single packet coming through. With this naive command: ping nixos.org
<tilpner> cap_sensitive: ping isn't a good test for connectivity
<cap_sensitive> tilpner: Could you tell me a better way? Not an expert
<tilpner> cap_sensitive: curl -v https://nixos.org
<tilpner> That will dump html at you if it works
<tilpner> If nixos.org is also fastly-hosted, the CDN might just reject ICMP
<tilpner> The best way to check is to try using it, but you haven't told us what parts of nixos.org you intend to access
<tilpner> cache.nixos.org might be operational without nixos.org being accessible for you
<cap_sensitive> tilpner: Ha! I see. It works without problem indeed
<cap_sensitive> I'm trying to convert my Linode to nixos. Before I proceed, I want to make sure I can access nixos.org to download packages. With my naive approach, I thought nixos.org was down.
<cap_sensitive> Now I see that my approach is incorrect
rsoeldner has joined #nixos
<tilpner> cache.nixos.org is an important host too, and people sometimes have connectivity problems with it
rsoeldner_ has quit [Ping timeout: 260 seconds]
<cap_sensitive> So how do I test the connectivity to cache.nixos.org? Use the same curl trick?
cfricke has joined #nixos
<tilpner> And then there's nixos-org-configurations#29
<{^_^}> https://github.com/NixOS/nixos-org-configurations/issues/29 (by Mic92, 2 years ago, open): Ipv6 support for https://nixos.org
peanutbutter144_ has quit [Ping timeout: 240 seconds]
<hexa-> systemd upstream asks me to test a pull request, what's the quickest way to apply the changeset against my local systemd?
noudle has quit []
cfricke has quit [Client Quit]
cjpbirkbeck has joined #nixos
peanutbutter144 has joined #nixos
cfricke has joined #nixos
sbetrium has quit [Quit: sbetrium]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<cap_sensitive> tilpner: It sure does
kleisli_ has quit [Ping timeout: 260 seconds]
<tilpner> Then you're fine!
sbetrium has joined #nixos
<immae> hexa-: you can try pkgs.systemd.overrideAttrs(old: { patches = old.patches or [] ++ [ ./your_patch.patch ]; }) (it might be a good idea to check the systemd derivation to check that it’s a "standard" one first)
<hexa-> immae: ok, cool. that's what i was looking for.
<{^_^}> [nixpkgs] @dhl opened pull request #79824 → wasm-pack: 0.8.1 -> 0.9.1 → https://git.io/JvC8G
zebrag has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #714 → Jobset id pgsql part 2 → https://git.io/Jvcle
<{^_^}> [hydra] @edolstra pushed 8 commits to master: https://git.io/JvC8Z
inkbottle has quit [Ping timeout: 265 seconds]
philr has joined #nixos
sbetrium has quit [Quit: sbetrium]
Rusty1 has joined #nixos
iMatejC has quit [Quit: WeeChat 2.7]
cinimod` has joined #nixos
gagbo has quit [Quit: I'm out !]
sbetrium has joined #nixos
gagbo has joined #nixos
iMatejC has joined #nixos
gagbo has quit [Client Quit]
gagbo has joined #nixos
cosimone has joined #nixos
<Fzer0> Hello, can anyone explain how to use the keyfile in this section of the wiki on ZFS? https://nixos.wiki/wiki/NixOS_on_ZFS#Encrypted_ZFS
<gchristensen> Cadey: nice to see your follow up post :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79825 → par2cmdline: 0.8.0 -> 0.8.1 → https://git.io/JvC8X
Makaveli7 has quit [Quit: WeeChat 2.7]
<gchristensen> Cadey: did you by dockerTools.buildLayeredImage ? https://grahamc.com/blog/nix-and-layered-docker-images
sbetrium has quit [Quit: sbetrium]
<gchristensen> actually, I will move this question to Twitter :)
kleisli_ has joined #nixos
sbetrium has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
bvdw has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79811 → hugo: 0.64.0 -> 0.64.1 → https://git.io/JvCZQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvC4n
sbetrium has quit [Quit: sbetrium]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75166 → radarr: 0.2.0.1358 -> 0.2.0.1450 → https://git.io/JeyFr
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvC4W
jmeredith has quit [Quit: Connection closed for inactivity]
sbetrium has joined #nixos
<{^_^}> [hydra] @edolstra pushed 9 commits to flake: https://git.io/JvC4E
<{^_^}> [nixpkgs] @worldofpeace opened pull request #79826 → [20.03] Remove sd image raspberrypi4 → https://git.io/JvC4y
sbetrium has quit [Quit: sbetrium]
domogled has quit [Quit: domogled]
drakonis has joined #nixos
darkf has quit [Quit: Connection closed for inactivity]
<{^_^}> [hydra] @grahamc pushed to master « fixup: d'oh, make the migrations from #710 part-2 sequential »: https://git.io/JvC4b
sbetrium has joined #nixos
<{^_^}> [hydra] @grahamc pushed 2 commits to flake: https://git.io/JvC4N
Lears has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
F-Zer0 has joined #nixos
<hyper_ch2> how can I find out what the possible kernel options are with pkgs.linuxPackages
<tilpner> hyper_ch2: Can you give an example for what you mean by option here?
<hyper_ch2> kernelPackages = pkgs.linuxPackages_latest;
<hyper_ch2> boot.kernelPackages
Fzer0 has quit [Ping timeout: 272 seconds]
<tilpner> > :p with lib; filter (hasPrefix "linuxPackages") (attrNames pkgs)
<{^_^}> [ "linuxPackages" "linuxPackages-libre" "linuxPackagesFor" "linuxPackages_4_14" "linuxPackages_4_19" "linuxPackages_4_4" "linuxPackages_4_9" "linuxPackages_5_4" "linuxPackages_5_5" "linuxPackages_cust...
<hyper_ch2> because I use linuxPackages_latest which should be 5.5 but for some reason it still tries to compile evdi for 5.4
<tilpner> Or use "nix repl '<nixpkgs>'", type linuxPa<TAB><TAB>
cfricke has quit [Quit: WeeChat 2.7]
<tilpner> hyper_ch2: nix-instantiate '<nixpkgs>' --eval -A linuxPackages_latest.kernel.modDirVersion
<tilpner> hyper_ch2: That will tell you what kernel version linuxPackages_latest has
<tilpner> (Equivalent to linux_latest.modDirVersion, but you were talking about *Packages)
Zero-ghost[m] has joined #nixos
<hyper_ch2> trying now linuxPackages_5_5 but it complains
<hyper_ch2> error: attribute 'linuxPackages_5_5' missing, at /etc/nixos/configuration.nix:330:27
<tilpner> And the topic is incomplete again
<tilpner> andi-: ^ you set it last
<hyper_ch2> kernelPackages = pkgs.linuxPackages_5_5;
<tilpner> hyper_ch2: Your nixpkgs is too old
<andi-> tilpner: I just go temporary powers through Chanserv from gchristensen :0
<andi-> *git
<andi-> err got..
<hyper_ch2> tilpner: thx
<andi-> tilpner: what do you want changed?
<tilpner> andi-: It used to mention nix-info adfter "For best support,"
<tilpner> Not sure it should be kept, seeing as how it's cut off all the time
andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || Use `nix-info`
<andi-> like that?
<andi-> I am not sure how much longer we can make it
Chiliparrot has quit [Ping timeout: 240 seconds]
andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
<andi-> yeah, so that is the limit
<andi-> can we come up with a proper line for those few characters?
<tilpner> Probably just cut it, that doesn't help the few people who even read the topic
andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || Be awesome
<tilpner> andi-++
<{^_^}> andi-'s karma got increased to 22
<Zero-ghost[m]> hey there grahamc I just added your room to the +linux-distros:matrix.org community, feel free to enable the flair for that in this room if you like
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79827 → psc-package: 0.6.0 -> 0.6.2 → https://git.io/JvCBn
<gchristensen> Zero-ghost[m]: cool, thanks for letting me know :) I'll have to fetch Matrix again and check it out!
<gchristensen> andi-: I have a maybe better idea: replace the list of channel with `,channels`
<Zero-ghost[m]> no problem, if you want to see how the flairs work and all just message me
<gchristensen> will do!
<andi-> gchristensen: ahh, if that works that would be good
andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of `nix-info
<andi-> maxed out again..
andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<{^_^}> [nixpkgs] @Mic92 opened pull request #79828 → nixos/zfs: populate PATH with needed programs for zed → https://git.io/JvCBB
cosimone has quit [Quit: Terminated!]
cosimone has joined #nixos
Lears has joined #nixos
fleaz has joined #nixos
<hyper_ch2> is it possible to download and apply different patches depending on the kernel version?
<tilpner> Sure
fleaz has left #nixos [#nixos]
<hyper_ch2> how would you do that? evdi works with 4.9 - 5.3 ; there are patches for 5.4 and again other patches for 5.5
<tilpner> Multiple ways, depending on where you are: user config or nixpkgs?
sbetrium has quit [Quit: sbetrium]
<hyper_ch2> tilpner: the nixpkgs evdi default.nix
gxt has quit [Ping timeout: 240 seconds]
<tilpner> Oh
captn3m0 has quit [Ping timeout: 268 seconds]
<hyper_ch2> different patches for different kernel versions :(
noudle has joined #nixos
<{^_^}> [hydra] @grahamc closed pull request #710 → Give Jobsets an ID; add jobset_id to builds and jobs. → https://git.io/JvZys
captn3m0 has joined #nixos
<tilpner> hyper_ch2: Access kernel.version or kernel.modDirVersion while defining patches
cap_sensitive has quit [Remote host closed the connection]
<tilpner> hyper_ch2: Use lib.versions and lib.version* for comparisons to fixed versions
<hyper_ch2> and again, why does it still wwant to compile for 5.4 when I told it in the nixos configuration.nix that it should use kernel 5.5? /nix/store/jq7084djhl9m3c9n23q94s34iw9sscp8-linux-5.4.18-dev/lib/modules/5.4.18/source/include/drm/drm_connector.h:1613:
<tilpner> I need more shell history and pastes for that
sbetrium has joined #nixos
cap_sensitive has joined #nixos
cap_sensitive has quit [Client Quit]
cfricke has joined #nixos
wavirc22 has quit [Ping timeout: 272 seconds]
gxt has joined #nixos
<hyper_ch2> configuration.nix says 5.5 yet it wants to build for 5.4
<tilpner> There is no shell history in that paste
<tilpner> How are you building it?
<hyper_ch2> nixos-rebuild boot -I nixpkgs=/root/nixos-master
<hyper_ch2> what do you mean by shell history?
<tilpner> And how does nixos-rebuild result in evdi being built?
<hyper_ch2> I don't know what you mean
<hyper_ch2> see the paste above
<hyper_ch2> it tries to compile for 5.4
<tilpner> Do you mention evdi anywhere in your config?
<clever> builder for '/nix/store/1604afggw500by35jqzjjyyr36i3jr6z-evdi--unstable-20190116.drv' failed with exit code 2
<clever> cannot build derivation '/nix/store/lrv6ar06rnnsjikbcszcg8bp8rl21gma-displaylink-5.2.14.drv': 1 dependencies couldn't be built
fusion809 has quit [Remote host closed the connection]
<clever> displaylink depends on evdi
<{^_^}> [nixpkgs] @stigtsp opened pull request #79829 → perlPackages.OpenAPIClient: init at 0.24 → https://git.io/JvCB6
Neo-- has quit [Ping timeout: 240 seconds]
<tilpner> Ahh, and displaylink is called with evdi from linuxPackages
<tilpner> Options: overlay linuxPackages = config.boot.kernelPackages;, overlay displaylink with custom callPackage
wavirc22 has joined #nixos
<tilpner> Though broken = versionOlder kernel.version "4.9" || versionAtLeast kernel.version "5.3" || stdenv.isAarch64;
<tilpner> It might not work well with _latest
<hyper_ch2> I'm trying to see if patches work for 5.5
<hyper_ch2> but it tries to build for 5.4
<tilpner> hyper_ch2: What is linux.modDirVersion?
<hyper_ch2> how to find that out?
<hyper_ch2> I tell in the configuration.nix to use kernel 5.5. I try to rebuild. It tries to rebuild it for 5.4. This doesn't make sense to me
sbetrium has quit [Quit: sbetrium]
werner291 has joined #nixos
domogled has joined #nixos
<tilpner> If you are on unstable, I explained it above
<tilpner> "displaylink is called with evdi from linuxPackages", not linuxPackages_latest
sbetrium has joined #nixos
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
Baughn has joined #nixos
zupo has joined #nixos
<vandenoever> tilpner: shouldnt displaylink be called with whatever the configured kernel is?
<tilpner> vandenoever: I don't know what that package is used for. nixpkgs doesn't know what the configured kernel is, but NixOS could pass that information to nixpkgs
Baughn has quit [Client Quit]
<hyper_ch2> I still don't understand what to fix
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
das_j has joined #nixos
mrpi has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #79820 → [backport-19.09]: nixos/locate: only create output directory if != /var/cache → https://git.io/JvCWy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/JvCRq
<tilpner> hyper_ch2: I gave two guesses a few lines ago
<hyper_ch2> tilpner: I have no idea what to do with that
<{^_^}> [nixpkgs] @ilya-fedin opened pull request #79830 → Add DesktopNames parameter to generated desktop session files → https://git.io/JvCRO
Baughn has joined #nixos
<tilpner> Okay, do you know what an overlays is?
<{^_^}> [nixpkgs] @ilya-fedin opened pull request #79831 → Activate AppIndicator support in onboard → https://git.io/JvCR3
<hyper_ch2> nope, saw that presentation a few times but I still don't get what it is actually good for or how it is used
Nycatelos has joined #nixos
<{^_^}> [nixpkgs] @ilya-fedin opened pull request #79832 → Fix indicator path for libindicator → https://git.io/JvCRs
<{^_^}> [nixpkgs] @tokudan opened pull request #79833 → rngd: Start early during boot and encrypted swap entropy fix [20.03] → https://git.io/JvCRZ
vandenoever has quit [Ping timeout: 272 seconds]
<hyper_ch2> I don't see anything here that would indicate displaylink to use kernel 5.4: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/displaylink/default.nix
<Izorkin> Not worked nixops deploy. Error - bash: symbol lookup error: /nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE. How to fix?
cfricke has quit [Quit: WeeChat 2.7]
grumble has quit [Quit: We've found the eight most clickbaity quit messages. #5 will surprise you!]
<immae> Hello there, I see that I have tons (like, tens of thousands) of /tmp/nix-shell* files, is it normal? Do you know how I can make a cleanup of that automatically?
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
grumble has joined #nixos
<hyper_ch2> tilpner: still no idea it just tells to load displaylink from the aforementioned displaylink default.nix
wavirc22 has quit [Ping timeout: 246 seconds]
<tilpner> hyper_ch2: And the evdi it passes is from linuxPackages, not linuxPackages_latest
<hyper_ch2> I don't understand
<tilpner> Okay
samrose has quit [Quit: Konversation terminated!]
dansho has joined #nixos
sbetrium has quit [Quit: sbetrium]
gustavderdrache has joined #nixos
sbetrium has joined #nixos
<tilpner> Sorry, I can answer specific questions, but I can't keep guessing at what they are, right now
erictapen has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
DigitalKiwi has quit [Quit: quite.]
wavirc22 has joined #nixos
DigitalKiwi has joined #nixos
romanofski has joined #nixos
<{^_^}> [nixpkgs] @Kiwi opened pull request #79835 → matomo: 3.13.1 -> 3.13.2 → https://git.io/JvC0f
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 260 seconds]
<erictapen> I played around a bit with flakes in the last months and now I'm getting 'error: flake registry '/nix/store/xxx-flake-registry.json' has unsupported version 2' when doing `nix flake update`. My ~/.config/nix/registry.json has version 1. Besides that I can't find no registry.json on my system. Does anybody have an idea what to do here?
vandenoever has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #79808 → grabserial: 1.9.9 -> 2.0.2 → https://git.io/JvCZJ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvC0q
<{^_^}> [nixpkgs] @ryantm merged pull request #79813 → krohnkite: 0.6 -> 0.6.1 → https://git.io/JvCcq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvC0O
sbetrium has quit [Quit: sbetrium]
sbetrium has joined #nixos
kleisli_ has quit [Quit: Leaving]
kahiru has joined #nixos
kleisli has joined #nixos
xensky__ is now known as xensky
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noudle has quit []
kleisli has quit [Client Quit]
kleisli has joined #nixos
<kleisli> emacs people: do you run emacs from inside a nix-shell if you need it to be able to access that environment?
<kleisli> for example, i have a few projects that use different versions of coq. so whenever i switch between projects, i have to restart emacs from inside the corresponding nix shell to get proof general to see the correct coqtop. is there a better way?
sbetrium has quit [Quit: sbetrium]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
emily has joined #nixos
<emily> kleisli: you might prefer using direnv instead, if there's emacs integration (I'd be surprised if there wasn't)
<emily> I use lorri+direnv instead of nix-shell a lot
<emily> (don't need the lorri part if you're ok with slow direnv evaluation)
<kleisli> thanks, i'll look into that
<emily> pretty much anything can grok loading some environment variables based on the file's directory, so it's generally the most reliable way to get editor/tool integration
niso has joined #nixos
<emily> it also means you can just "cd" around in the shell, which I find convenient
<{^_^}> [nixpkgs] @orivej-nixos pushed 3 commits to staging: https://git.io/JvC09
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #78994 → linuxHeaders: 4.19.16 -> 5.5 → https://git.io/Jv3Ke
<{^_^}> [nixpkgs] @multun opened pull request #79837 → gegl: enable umfpack support → https://git.io/JvC0H
sbetrium has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « pinentry_qt5: alias to pinentry-qt »: https://git.io/JvC0F
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « pinentry_qt5: alias to pinentry-qt »: https://git.io/JvC0b
<{^_^}> [nixpkgs] @layus opened pull request #79838 → gist: 5.0.0 -> 5.1.0 → https://git.io/JvC0N
<DigitalKiwi> is there a way to get the source for a haskell package (specifically glirc) i want to make sure that a different package that depends on it matches (glirc-otr off the record plugin i'm working on)
<DigitalKiwi> so like in the glirc-otr default.nix i would want to depend on glirc and then use the same version of the source that that uses
<clever> > haskellPackages.glirc.version
<clever> > haskellPackages.glirc.src
<DigitalKiwi> ok excellent i'll try that
<DigitalKiwi> ty
<DigitalKiwi> clever++ infinisil++
<{^_^}> clever's karma got increased to 324, infinisil's karma got increased to 211
<{^_^}> "2.34"
<{^_^}> "<derivation /nix/store/76sc14qjmnygiyrbhn0wcj6yjpl0gwbc-glirc-2.34.tar.gz.drv>"
<clever> there it is, lol
<infinisil> Lol
<DigitalKiwi> async
<infinisil> It does take it a while to evaluate nixpkgs, CPU is rather weak, and I limited it to 50% usage too
<DigitalKiwi> what channel is it on
sbetrium has quit [Quit: sbetrium]
<infinisil> master
rogue_koder has joined #nixos
sbetrium has joined #nixos
<eoli3n> "We don't even use /usr/bin/env, because then we lose the cool stateless property of Nix." from https://nixos.org/nixos/nix-pills/working-derivation.html
<eoli3n> why that ?
wavirc22 has quit [Ping timeout: 265 seconds]
Netsu has joined #nixos
wavirc22 has joined #nixos
<emily> because /usr/bin/env is a dynamic lookup
<emily> what "/usr/bin/env python" refers to depends on the environment at the time of execution
<Netsu> is it possible to use exist binary-caches from nixpkgs (not NixOS), not obvious from https://nixos.wiki/wiki/Binary_Cache ?
<emily> in Nix, we fix dependency lookups to happen statically so that programs get a predictable set of dependencies
knupfer has joined #nixos
<eoli3n> so, that's because, using /usr/bin/env python could fail if python isn't present ?
<eoli3n> bash is always present but it's not a good practice right ?
<emily> not just "not present" -- it might be a different version of Python, with different packages available
<eoli3n> oh ok
<emily> this is especially problematic when you deal with systems that have multiple components that depend on different variants of Python, etc.
<emily> as is the case in a full linux distribution like NixOS
<emily> NixOS lets you have multiple versions of dependencies installed without it polluting the global environment
vandenoever has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #79325 → safe: init at 1.5.1 → https://git.io/JvZB5
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvCEs
dansho has quit [Quit: Leaving]
<eoli3n> so i should not use shebangs on nixos ? or just for that exemple ?
mac10688 has joined #nixos
<eoli3n> only when packaging ?
<eoli3n> and force ${bash}/bin/bash script.sh
<emily> it's ok to use them in personal scripts, but when packaging they get patched out
<emily> (often automatically)
stzsch has quit [Ping timeout: 272 seconds]
sbetrium has quit [Quit: sbetrium]
<clever> eoli3n: you can still use a #!, just use an absolute path, #! ${bash}/bin/bash
<DigitalKiwi> clever: ok problem; the file i need is not in the haskell package (it's a cpp file that is not in the haskell package for glirc)
<emily> er, right, shebangs are fine in packages, just not with /usr/bin/env or /bin/sh generally
<eoli3n> clever: yep but then, personnal scripts are not portable anymore
<DigitalKiwi> should i just make the version match and update the sha256 when it changes?
<eoli3n> so for personnal script : #!/usr/bin/env bash, and when packaging on nixos : ${bash}/bin/bash script.sh
<clever> eoli3n: you can also use #!/usr/bin/env bash, and they will work on nixos and others
<clever> eoli3n: you can also run patchShebangs on nix, to patch them at install time
<clever> DigitalKiwi: yeah, thats why i also showed how to get the version
<DigitalKiwi> :)
<DigitalKiwi> ok ty
<clever> DigitalKiwi: and you want to ensure that version is in the .name of the fixed-output derivation
<eoli3n> thx emily clever :)
sbetrium has joined #nixos
waleee-cl has joined #nixos
<DigitalKiwi> clever: name or pname?
<DigitalKiwi> /nix/store/ig9k7rhg11kx5iv0694h1phv5q6i4yj1-glirc-otr-2.34-2.34.drv
<DigitalKiwi> lol
<clever> DigitalKiwi: name is generated by pname + version, but thats not the fixed-output drv
<clever> DigitalKiwi: can you gist your code?
<{^_^}> [nixpkgs] @knl opened pull request #79840 → Update oauth2_proxy to 5.0.0 → https://git.io/JvCEr
<kahiru> hey, this will be a silly question, but how to I get access to functions defined in here https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix no matter what I try, I'm getting undefined variable
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #79833 → rngd: Start early during boot and encrypted swap entropy fix [20.03] → https://git.io/JvCRZ
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to release-20.03: https://git.io/JvCEo
<{^_^}> [nixpkgs] @edolstra pushed to master « nixUnstable, nixFlakes: Update to latest »: https://git.io/JvCE6
<clever> DigitalKiwi: add a `name = "irc-core-${version}";` to the `fetchFromGitHub`
<clever> DigitalKiwi: by default, fetchFromGitHub uses name="source";, and if the name and sha256 match a previous copy, it wont re-fetch, causing you to build version 5, with version 4's source!!
<clever> DigitalKiwi: by including the version in the fetch's name, you force a re-fetch, which will cause the sha256 to fail, and then the problem is noticed
<DigitalKiwi> ok
sbetrium has quit [Quit: sbetrium]
cosimone has quit [Quit: Terminated!]
<DigitalKiwi> clever: ok updated
Seto_Kaiba is now known as Hunterkll
<DigitalKiwi> now to add a module :|
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @mir06 opened pull request #79842 → liberfa: init at 1.7.0 → https://git.io/JvCEH
<{^_^}> [nixpkgs] @invokesus opened pull request #79843 → pythonPackages.ydiff: init at 1.1 → https://git.io/JvCE7
<eoli3n> it's hard to understand why nix is not "flat" as a script language
<eoli3n> using let
stzsch has joined #nixos
domogled has quit [Quit: domogled]
<emily> what do you mean by that? are you asking why the body expression is included in "let ... = ...; ..."?
<eoli3n> just a min
<DigitalKiwi> clever: does everything else look fine
<eoli3n> emily: i can't explain myself ^^ just https://nixos.org/nixos/nix-pills/generic-builders.html this become hard to understand
<eoli3n> autotools.nix + hello.nix
<eoli3n> specially hello.nix part
sbetrium has quit [Quit: sbetrium]
<eoli3n> why is "pkgs = import <nixpkgs> {};" not directly in autotools.nix ?
c0c0 has quit [Quit: WeeChat 2.6]
<eoli3n> ah ok, maybe to be able to change channel or something ?
<eoli3n> what could be "pkgs" equal to ?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/eee784a1bb6 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<eoli3n> i mean other that "import <nixpkgs> {};"
<infinisil> eoli3n: Yeah generally package definitions should only describe how to build a thing given a set of dependencies (which come from pkgs)
sbetrium has joined #nixos
<infinisil> eoli3n: Could be `import ./path/to/nixpkgs/checkout {}` alternatively
<eoli3n> ok thx
<evanjs> anybody have experience with usb-net passthrough on Qemu on nixos? Saw some notes in nixpkgs on how network "doesn't work" and totally unsure what's possible or etc
<evanjs> Trying to pass a usb wifi adapter through to a virtual machine for testing purposes
<evanjs> And using virtualbox is annoying because this is a kernel+initrd machine :P
<eoli3n> my brain is over for today :) bye
<clever> DigitalKiwi: the rest is probably fine
<srk> evanjs: usb passthru was working for me with libvirt/virt-manager after installing spice-gtk
shafox has joined #nixos
<srk> gnome3.dconf # due to virt-managers amnesia, spice-gtk # due to usb redirection
timor has quit [Remote host closed the connection]
<evanjs> srk: yeah I remember trying to use virt-manager but wasn't sure how to add/connect my driveless machines :P
timor has joined #nixos
<srk> evanjs: it doesn't require storage (at least when creating new machine)
<srk> you can always virsh edit <machine> and alter xml if needed
chagra has joined #nixos
sbetrium has quit [Quit: sbetrium]
logzet has joined #nixos
Netsu has quit [Remote host closed the connection]
Tucky has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #79844 → xfce.xfce4-pulseaudio-plugin: 0.4.1 -> 0.4.2, fix volume → https://git.io/JvCuE
o1lo01ol_ has joined #nixos
sbetrium has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @hedning opened pull request #79845 → gnomeExtensions.gsconnect: fix build → https://git.io/JvCuo
cjpbirkbeck has quit [Quit: cjpbirkbeck]
evanjs has joined #nixos
sbetrium has quit [Quit: sbetrium]
dm9 has quit [Quit: WeeChat 2.7]
ixxie has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbetrium has joined #nixos
cole-h has joined #nixos
sbetrium has quit [Quit: sbetrium]
ddellacosta has joined #nixos
Synthetica has joined #nixos
sbetrium has joined #nixos
m0rphism has joined #nixos
domogled has joined #nixos
boogiewoogie[m] has joined #nixos
<boogiewoogie[m]> hey, is anyone using stubby? it seems the option `services.stubby.upstreamServers` doesn't have any effect, can anyone confirm this?
andymandias_ has joined #nixos
vandenoever has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @shahrukh330 opened pull request #79846 → argocd-cli: init at 1.3.0 → https://git.io/JvCzV
vandenoever has joined #nixos
<infinisil> boogiewoogie[m]: I don't use it, but from the module I can see that it should end up in the config file
vidbina has joined #nixos
<infinisil> boogiewoogie[m]: E.g. check `systemctl cat stubby` to see the config file passed with -C, then see the upstream_recursive_servers part of it
<infinisil> Although, the yaml syntax might mess it up..
sbetrium has quit [Quit: sbetrium]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
emacsomancer has quit [Read error: Connection reset by peer]
sbetrium has joined #nixos
<boogiewoogie[m]> infinisil: oh, you are correct. I've only checked the config with `stubby -i` which apparently reads a different config file -- `/nix/store/5way3cqx0mybsj3bmrx9ammnp5f5125i-stubby-0.2.6/etc/stubby/stubby.yml` than the service gets passed -- `/nix/store/ysiwpd9lrzr61fc6m6yd428jikmsz8yb-stubby.yml`
KeiraT has joined #nixos
<boogiewoogie[m]> I wonder why this is
emacsomancer has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vbgl opened pull request #79847 → ocamlPackages.resource-pooling: 0.6 → 1.1 → https://git.io/JvCgv
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
gustavderdrache has left #nixos [#nixos]
gustavderdrache has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
drakonis has quit [Client Quit]
sbetrium has quit [Quit: sbetrium]
<mdash> boogiewoogie[m]: fwiw if you send more than two lines at once with matrix it just comes out as a link on irc
erasmas has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/16946013200 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
sbetrium has joined #nixos
<boogiewoogie[m]> mdash: ooh, good to know. sorry for the inconvenience
mac10688 has quit [Ping timeout: 272 seconds]
<mdash> well, it's less inconvenient than dumping a flood of text on irc users, so I can see why they did it... ;-)
<boogiewoogie[m]> so what I was saying above: enabling the service via `systemctl enable stubby` isn't working due to the [Install] section for the unit files not being defined in the nix expression
<boogiewoogie[m]> is there a reason it isn't defined and could adding them be worthwhile?
chloekek has quit [Quit: WeeChat 2.6]
<multun> boogiewoogie[m]: I think the "enabled" status of the service is meant to be handled declaratively using nixos
smatting has quit [Ping timeout: 272 seconds]
cosimone has joined #nixos
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #79827 → psc-package: 0.6.0 -> 0.6.2 → https://git.io/JvCBn
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @r-ryantm to master « psc-package: 0.6.0 -> 0.6.2 »: https://git.io/JvC2L
domogled has quit [Quit: domogled]
vidbina has quit [Ping timeout: 268 seconds]
philr has quit [Ping timeout: 268 seconds]
sbetrium has joined #nixos
<infinisil> boogiewoogie[m]: Should be enabled by default
opthomasprime has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jmeredith has joined #nixos
johnw has joined #nixos
<boogiewoogie[m]> yep, you're right again. it seems I confused the service with the daemon, which I'll have to start manually for each session via `sudo stubby`. that's alright I guess
CRTified has joined #nixos
sbetrium has quit [Quit: sbetrium]
vandenoever has quit [Ping timeout: 268 seconds]
ryanartecona has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
sbetrium has joined #nixos
smatting has joined #nixos
Carp has joined #nixos
Supersonic has joined #nixos
shafox has quit [Remote host closed the connection]
cinimod`` has joined #nixos
cinimod` has quit [Ping timeout: 265 seconds]
judson has joined #nixos
<boogiewoogie[m]> I was wrong -- the service does run the daemon, but I misindented my `services.stubby.upstreamServers` entry by just copying from the default.. all's working fine
sbetrium has quit [Quit: sbetrium]
Supersonic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @schmittlauch opened pull request #79848 → tipp10: init at 3.1.0 → https://git.io/JvC2i
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 2.0 -> 2.1.1 »: https://git.io/JvC29
Supersonic has joined #nixos
Neo-- has joined #nixos
romanofski has quit [Ping timeout: 272 seconds]
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Mic92 closed pull request #75664 → tipp10: init at 3.1.0 → https://git.io/JeQn9
<{^_^}> [nixpkgs] @Mic92 merged pull request #79848 → tipp10: init at 3.1.0 → https://git.io/JvC2i
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvCaI
Supersonic has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @petabyteboy to release-20.03 « tipp10: init at 3.1.0 »: https://git.io/JvCaq
linarcx has quit [Quit: WeeChat 2.7]
Supersonic has joined #nixos
romanofski has joined #nixos
linarcx has joined #nixos
sbetrium has joined #nixos
endformationage has joined #nixos
Supersonic has quit [Ping timeout: 245 seconds]
sondr3 has joined #nixos
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #79845 → gnomeExtensions.gsconnect: fix build → https://git.io/JvCuo
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvCa4
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> my workstation is still freezing and I have hit bedrock
<fresheyeball> I saw some mce errors in journalctl
<fresheyeball> but now I don't think that is the issue
<fresheyeball> from the last few times the system froze and then rebooted itself
<fresheyeball> there is nothing in journctl that is the slightest bit illuminating
<{^_^}> [hydra] @grahamc pushed to master « hydra.sql: add an index for slow queries in production »: https://git.io/JvCay
<fresheyeball> the last few message in my last freeze are nginx refusing a connection
<{^_^}> [hydra] @grahamc pushed 2 commits to flake: https://git.io/JvCaS
<fresheyeball> I had some errors that where frequently right before a freeze that where in brave browser
<fresheyeball> but I upgraded and that has gone away
<Ralith_> could someone merge https://github.com/NixOS/nixpkgs/pull/78746 ?
<{^_^}> #78746 (by Ralith, 1 week ago, open): vulkan: 1.1 -> 1.2
<{^_^}> [nixpkgs] @alyssais opened pull request #79850 → cargo: install man pages → https://git.io/JvCa5
opthomasprime has quit [Ping timeout: 268 seconds]
<fresheyeball> what else can I do even?
growpotkin has joined #nixos
jgeerds has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
sigmundv has quit [Ping timeout: 240 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
sbetrium has quit [Quit: sbetrium]
lovesegfault has quit [Quit: WeeChat 2.7]
sbetrium has joined #nixos
<infinisil> Ralith_: 20.03 is already in feature freeze mode since yesterday fyi
silver_hook has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
opthomasprime has joined #nixos
<Ralith_> infinisil: I opened this PR two weeks ago specifically to avoid that >:|
silver_hook has joined #nixos
<Ralith_> and bumped, and pinged here
<Ralith_> I dunno wtf more I can be doing
<infinisil> Hm yeah, there unfortunately aren't that many people merging PRs
<infinisil> worldofpeace: Do you think we can merge this still? ^
<infinisil> (well, would need a port to 20.03 now)
maralorn[m] has joined #nixos
<maralorn[m]> fresheyeball: Might be a hardware issue? Have you run memchecks and other diagnostics?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<Ralith_> would be nice if PRs by maintainers on foundational stuff were shortlisted, or something
<{^_^}> [nixpkgs] @mmilata opened pull request #79851 → nixos/supybot: switch to python3, enable systemd sandboxing, add option for installing plugins → https://git.io/JvCVs
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @FRidh merged pull request #78746 → vulkan: 1.1 -> 1.2 → https://git.io/JvYMU
<{^_^}> [nixpkgs] @FRidh pushed 6 commits to master: https://git.io/JvCVG
<worldofpeace> hehe FRidh
<FRidh2> worldofpeace: i was merging yesterday a lot of these by-maintainer PR's
<fresheyeball> maralorn[m]: I will try memcheck
<FRidh2> should definitely try to prioritize those...but...well, there's other stuff as well
<worldofpeace> FRidh2: right, typically those are well trustable
<{^_^}> #79849 (by Izorkin, 22 minutes ago, open): glibc: error nixops deploy
<b42> anyone running supybot/limnoria on NixOS?
Supersonic has quit [Ping timeout: 246 seconds]
sbetrium has joined #nixos
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79835 → matomo: 3.13.1 -> 3.13.2 → https://git.io/JvC0f
<{^_^}> [nixpkgs] @FRidh pushed commit from @Kiwi to master « matomo: 3.13.1 -> 3.13.2 »: https://git.io/JvCV0
<Ralith_> smoke testing a 20.03 version
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @Ralith opened pull request #79852 → vulkan: 1.1 -> 1.2 (backport to 20.03) → https://git.io/JvCVa
sbetrium has quit [Quit: sbetrium]
wavirc22 has quit [Ping timeout: 272 seconds]
emily is now known as emily1
emilazy is now known as emily
darkf has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
emily is now known as emilazy
emily1 is now known as emily
boxscape has joined #nixos
sbetrium has joined #nixos
cap_sensitive has joined #nixos
o1lo01ol_ has quit [Ping timeout: 268 seconds]
Streetwalrus has joined #nixos
Supersonic has joined #nixos
<cap_sensitive> Hi. I'm trying to write a derivation for a simple C program on github. In my overlay: overlays/sample/c_pgm/default.nix, I have { stdenv, fetchFromGithub }: ....... But when I try to build the package, I got anonymous function called without required argument "fetchFromGithub".
gagbo has quit [Quit: I'm out !]
<cap_sensitive> How to use "fetchFromGithub" in a derivation? For python packages "fetchPypi" works without problem. Why is "fetchFromGithub" so different?
<Ralith_> it'd probably be easier for someone to explain your error if you showed what you've written
<qyliss> GitHub, with a capital H
<{^_^}> [nixpkgs] @jtojnar merged pull request #79837 → gegl: enable umfpack support → https://git.io/JvC0H
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvCV9
sbetrium has quit [Quit: sbetrium]
<cap_sensitive> qyliss: You are absolutely correct! It was a typo
<cap_sensitive> I probably spend ~1 hr to RTFM on fetchFromGitHub
Supersonic has quit [Ping timeout: 240 seconds]
fresheyeball has quit [Read error: No route to host]
smatting has quit [Ping timeout: 272 seconds]
<qyliss> We can probably add a nice error message for this case since people ask about it fairly often
<{^_^}> [nixpkgs] @primeos opened pull request #79853 → fscrypt-experimental: 0.2.5 -> 0.2.6 → https://git.io/JvCVF
<{^_^}> [nixpkgs] @samueldr merged pull request #79826 → [20.03] Remove sd image raspberrypi4 → https://git.io/JvC4y
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-20.03: https://git.io/JvCVb
<evanjs> Alright, here's another kernel-y question: need drivers for TP-Link adapter. r8188eu I think. TP-Link site has zip that needs to be compiled alongside kernel...
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #79854 → aliases: helpful 'fetchFromGithub' typo message → https://git.io/JvCVA
<evanjs> unsure of the wording of the question but, how might I bundle the compilable contens of that zip with my image? I'm assuming via a kernel override, at least
<qyliss> cap_sensitive: #79854
<{^_^}> https://github.com/NixOS/nixpkgs/pull/79854 (by alyssais, 13 seconds ago, open): aliases: helpful 'fetchFromGithub' typo message
<evanjs> s;contens;contents
chloekek has joined #nixos
<cap_sensitive> qyliss: Thank you!
<qyliss> cap_sensitive: if you could test that that would have worked for you and let me know on the PR, I can merge it :)
<samueldr> there are other out-of-tree kernel modules with mostly similar structure, too
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvCwf
<{^_^}> [nixpkgs] @Ma27 merged pull request #79606 → clipman: 1.2.0 -> unstable-2019-12-10 → https://git.io/Jvckn
<{^_^}> [nixos-hardware] @Luis-Hebendanz opened pull request #144 → Added profile for issues 69289 → https://git.io/JvCwJ
<evanjs> samueldr: ah, good call. Might even be able to upstream if I do take that route
<samueldr> yes please :)
<evanjs> was getting hung up on looking for links in nixpkgs to tp-link's site... it's the little pointers that help :D
<cap_sensitive> qyliss: What is the canonical way to test that? Pull your fork of nixpkgs and use it as my local 'package' source? That sounds like a lot of manual compilation
<samueldr> evanjs: there are only a few vendors for the actual chips
<samueldr> evanjs: it often happens that the actual chip vendor is the important part to know about
<samueldr> evanjs: here r[some number soup] is realtek
<evanjs> samueldr: right right, and even after covering that numerous times (even in this one project/issue) I still fail to process some of these things :D
sbetrium has quit [Quit: sbetrium]
Supersonic has quit [Ping timeout: 272 seconds]
w3emperor has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 merged pull request #78819 → zsh: fix bracketed-paste-magic → https://git.io/JvO4q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvCwL
Supersonic has joined #nixos
nst^ has quit []
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Izorkin to release-20.03 « zsh: fix bracketed-paste-magic »: https://git.io/JvCwm
<Unode> When using "nix-shell '<nixpkgs>' ..." does '<nixpkgs>' here refer to the key=value pairs in NIX_PATH? I have another key=pair (NIX_PATH=...:nixpkgs_dev=/path/to/git/checkout) that I'd like to use for nix-shell. Is this the correct way to specify it?
<emily> cap_sensitive: it'll only need to recompile the things that have changed
<Unode> i.e. "nix-shell '<nixpkgs_dev>' ..." ?
<emily> so it's actually quite easy to test pull requests, as long as they don't touch core build infrastructure
sbetrium has joined #nixos
cinimod`` has quit [Ping timeout: 240 seconds]
<immae> Unode: yes everything in <...> refers to elements of NIX_PATH
<immae> nixpks is kind of a standard one, but not enforced
Guest97094 has left #nixos [#nixos]
<Unode> immae: so then I have something else causing issues cause I'm getting: "build input /nix/store/6ybmshna4fjc78ha6d00jslf94kwdgj5-nixpkgs-dev does not exist"
dansho has joined #nixos
<Unode> oh nevermind, somehow it ended up as a relative link which breaks in the store...
<Unode> weird
<immae> alright :)
mexisme_ has quit [Ping timeout: 272 seconds]
<cap_sensitive> emily: But the pull request is made with master branch, which may have updated derivations that don't have bin cache. In that case, I still need to recompile them even though there's no change in the pull request. Is my understanding correct?
nehh^ has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.6.0.19 -> 3.6.0.20 »: https://git.io/JvCwr
<emily> cap_sensitive: ah, yes, that is true. but you can base a PR on nixos-unstable{,-small} even when targetting master
<emily> that's what I usually do
<emily> otherwise it'd take too long to test, anyway
<kraem> am i misunderstanding the wrapProgram function? it's not wrapping this with the perl interpretor https://bpaste.net/FVYA
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
sbetrium has joined #nixos
v88m has quit [Ping timeout: 265 seconds]
nuncanada has joined #nixos
v88m has joined #nixos
<cap_sensitive> emily: I see
Streetwalrus has quit [Quit: ZNC 1.7.5 - https://znc.in]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
Streetwalrus has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #79855 → proggyfonts: cleanup → https://git.io/JvCwN
sbetrium has quit [Quit: sbetrium]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
sbetrium has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Supersonic has joined #nixos
lpsmith_ is now known as lpsmith
ris has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #79856 → gunicorn: add 19.x branch for python2.7 support [20.03] → https://git.io/JvCr3
Supersonic has quit [Ping timeout: 240 seconds]
<kraem> figured it out, missed that the shebang wasn't portable in the perl script
zupo has joined #nixos
Carp has quit [Quit: WeeChat 2.7]
typetetris has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #79005 → tdlib: 1.5.0 -> 1.6.0 → https://git.io/Jv31Q
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 2 commits to master: https://git.io/JvCr9
<{^_^}> [nixpkgs] @mmahut opened pull request #79857 → trezord: 2.0.27 -> 2.0.28 → https://git.io/JvCrp
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #79671 → spleen: install otf font → https://git.io/Jvc07
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 2 commits to master: https://git.io/JvCoL
cosimone has quit [Quit: Quit.]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/cc1ae9f21b9 (from 27 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nehh^ has quit []
<vandenoever> i wonder if this will help fix qt app problems in nixos: https://www.qt.io/blog/qt-is-relocatable
Neo-- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JvCo5
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 3 commits to master: https://git.io/JvCod
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #73777 → brotab: init at 0.0.5 → https://git.io/JeKFO
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JvCoN
la-con has joined #nixos
<la-con> howdy, im using nix on ubuntu and trying to install my own vim derivation, however whenever i do im getting this error: https://pastebin.com/raw/ZVLheXNi ive made sure to remove the nixpkgs vim, but it still comes up, and nix-env --set-flag priority 10 vim_configurable-8.1.1432 fails because it says thats not a valid selector
<la-con> any ideas?
<mdash> la-con: is there a vim entry listed by `nix-env -q`?
Supersonic has joined #nixos
sbetrium has joined #nixos
<la-con> ok completely unrelated question in no way related to me
<la-con> if a friend of mine accidentally deleted a folder from the nix store and now all the nix commands complain it cant find the folder for that hash
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79858 → quilter: 2.1.0 -> 2.1.1 → https://git.io/JvCKt
<qyliss> la-con: try nix-store --repair-path
<la-con> no dice :/
mexisme_ has joined #nixos
sbetrium has quit [Quit: sbetrium]
b42 has quit [Quit: WeeChat 2.2]
timor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #79859 → pounce: 1.0p1 -> 1.1 → https://git.io/JvCKo
sbetrium has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
<evanjs> srk: ah I didn't realize virt-manager had direct kernel/initrd params. Thank you! :D
<evanjs> Now I need to find out why I can't use my keyboard with the VM I just launched...
<evanjs> also wondering if runQemuAsRoot is really necessary for usb device access...
<srk> are you using system or user session?
<evanjs> srk: Was trying to use system but wasn't sure if necessary
sbetrium has quit [Quit: sbetrium]
<srk> not sure either, I think I've had to run sudo virt-manager to make it work but that was just my laziness
<evanjs> yeah that's what I've been doing. wasn't sure if spice-gtk or keyboard not working in the VM is due to that
<srk> there should be a group for that
<srk> ah, I see it now .. !cfg.qemuRunAsRoot .. use group
<srk> qemu-libvirtd
<evanjs> libvirtd?
<evanjs> oh
<evanjs> ohhh I see that one too okay
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ryanartecona has quit [Quit: ryanartecona]
mexisme_ has joined #nixos
sbetrium has joined #nixos
kloenk has joined #nixos
<evanjs> woo! libvirtd needed to be in there too, maybe because I had qemuRunAsRoot enabled before, but whatever. adding both lets me see the system session in virt-manager :D
<evanjs> hrm now why is the keyboard not working, still
<evanjs> or rather, I can't input anything to the VM
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linkrage has joined #nixos
<srk> does it have a keyboard? :)
sbetrium has quit [Quit: sbetrium]
<srk> tried switching to text console?
<evanjs> Yeah it has a keyboard by default. It already _is_ a text console :P so when I try to switch to one it complains as the main session is the console session
<srk> hmm
<evanjs> usb redirection failed but enabling polkit should fix that ~
<{^_^}> [nixpkgs] @zimbatm merged pull request #79838 → gist: 5.0.0 -> 5.1.0 → https://git.io/JvC0N
<{^_^}> [nixpkgs] @zimbatm pushed commit from @layus to master « gist: 5.0.0 -> 5.1.0 (#79838) »: https://git.io/JvC6i
<srk> you can try virsh console as well, haven't seen this issue myself tho
<srk> polkit, right!
Ilya_G has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #79809 → kops_1_15: 1.15.1 -> 1.15.2 → https://git.io/JvCZ2
<{^_^}> [nixpkgs] @zimbatm pushed commit from @kampka to master « kops_1_15: 1.15.1 -> 1.15.2 (#79809) »: https://git.io/JvC6X
sbetrium has joined #nixos
karantan has joined #nixos
<srk> evanjs: in my old config I've also had https://gist.github.com/sorki/f9b6e52a1284e492cd2167c68ddb0073
seablab has joined #nixos
karantan has quit [Client Quit]
opthomasprime has left #nixos [#nixos]
<srk> not sure if that's needed, maybe redundant with polkit
civodul has joined #nixos
ryanartecona has joined #nixos
<dashkal> What package teaches terminal vim to respond to mouse clicks?
sbetrium has quit [Quit: sbetrium]
<srk> :set mouse=a
<dashkal> Yeah, that's what the vim wiki said, but no dice.
<srk> evanjs: I see, cool
<srk> dashkal: which term?
<dashkal> alacritty
karantan has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @primeos opened pull request #79860 → chromium: 80.0.3987.87 -> 80.0.3987.100 → https://git.io/JvCiv
<srk> works for me in urxvt
<dashkal> hrms. Alrighty
<dashkal> alacritty is giving me enough annoyances I may cave, though it's so far the only "light" terminal I know of that still does clipboard (not just cutbuffer) without grief.
evanjs has joined #nixos
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @ehmry opened pull request #79861 → AlephOne and Marathon scenarios → https://git.io/JvCiI
<marek> what is the best way to capture the current nixpkgs commit id as a value?
<marek> ah commitIdFromGitRepo :)
alexherbo22 has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #79862 → nixos/filesystems: don't chown /run/keys recursively → https://git.io/JvCiO
Chiliparrot has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
ryanartecona has quit [Quit: ryanartecona]
kloenk has quit [Ping timeout: 272 seconds]
sbetrium has quit [Quit: sbetrium]
alexherbo2 has joined #nixos
<evanjs> mmkay usb redirection down, thanks worldofpeace (via https://github.com/NixOS/nixpkgs/issues/60594#issuecomment-488520791). Now I just need to figure out why keyboard won't work
<evanjs> .... and tempted to modularize spice-gtk... looks pretty simple :P
alexherbo22 has quit [Ping timeout: 265 seconds]
<dashkal> Once again, thank you stack overflow. Modern versions of urxvt bind ctrl-alt-c/ctrl-alt-v to clipboard functions (as opposed to the PRIMARY select buffer)
kloenk has joined #nixos
<worldofpeace> evanjs: I haven't made a module because spice-gtk is a SPICE widget
<worldofpeace> so that's not a service or program
<worldofpeace> My personal todo list had "gnome-boxes module", but that program is sorta broken already so I haven't got to it
cosimone has joined #nixos
sbetrium has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<evanjs> ohhh didn't realize that. Only read so far as "this is all you need to add"
<srk> I guess the other way around is to build without polkit and use udev :D
ixxie has quit [Ping timeout: 260 seconds]
sbetrium has quit [Quit: sbetrium]
<evanjs> Oh USB redirection works, just can't type for some reason
<evanjs> Not even over VNC :D
ng0_ is now known as ng0
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 240 seconds]
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #79864 → octave: Use qt5 and other improvements → https://git.io/JvCix
AmandaC_ has joined #nixos
ben_ has joined #nixos
<sondr3> is there a quick way to check that a wrapped package contains what I wrapped it with?
ben_ has quit [Client Quit]
iqubic has joined #nixos
civodul has quit [Excess Flood]
knupfer has quit [Remote host closed the connection]
civodul has joined #nixos
knupfer has joined #nixos
sbetrium has quit [Quit: sbetrium]
o1lo01ol1o has joined #nixos
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79856 → gunicorn: add 19.x branch for python2.7 support [20.03] → https://git.io/JvCr3
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to release-20.03 « gunicorn: add 19.x branch for python2.7 support »: https://git.io/JvCPl
FRidh2 has quit [Quit: Konversation terminated!]
zupo has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ttuegel merged pull request #79821 → openblas: 0.3.7 -> 0.3.8 → https://git.io/JvClt
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JvCPz
<sondr3> followup, I'm wrapping a Haskell program and it complains about how ghcWithPackages is called without functions when I do `nix-build` on it
zupo has joined #nixos
<sondr3> but I see plenty of the same pattern in nixpkgs
<sondr3> wow, spelling, it says `error: anonymous function at default.nix:1:1 called without required argument 'ghcWithPackages'
<clever> ,callPackage sondr3
<{^_^}> sondr3: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
sbetrium has quit [Quit: sbetrium]
<clever> sondr3: in your case, its haskellPackages.ghcWithPackages so you want haskellPackages.callPackage
bougyman has joined #nixos
<sondr3> clever: thanks, that brought me one step closer, now it's failing at something else
<bougyman> Just getting started with nix. What package provides terminfo? tvanderpoel@bougypad:~$ ~/.nix-profile/bin/tmate
<bougyman> open terminal failed: missing or unsuitable terminal: rxvt-unicode-256color
<clever> bougyman: you may need to install tmate with systemPackages instead of nix-env
sbetrium has joined #nixos
<bougyman> clever: hrm, ok.
<bougyman> Haven't gotten that far in the docs yet, will keep going.
o1lo01ol1o has quit [Remote host closed the connection]
<evanjs> sondr3: yeah I typically either build system or go as far down as I can. e.g. nix build -f \<nixpkgs/nixos\> config.home-manager.users.evanjs.xsession.windowManager.xmonad
mexisme_ has quit [Ping timeout: 265 seconds]
<evanjs> clever: any way you're aware of to add kernelModules to your makeInitrd invocation? Or do I need to use something less minimal if I want to do that?
<evanjs> e.g. kernelModules = [ "rtl8188eu" ];
kloenk has quit [Ping timeout: 272 seconds]
sbetrium has quit [Quit: sbetrium]
kloenk has joined #nixos
<bgamari> Is there any way to produce a shell script that would accomplish the same effect as nix-shell?
<sondr3> I feel kinda bad for (ab)using GitHub Actions to build packages for me... 10 minutes and counting soon lol
Ilya_G has quit [Ping timeout: 260 seconds]
<evanjs> bgamari: well you can have nix-shell shebangs, if that counts
<bgamari> that much I know
<evanjs> alright
sbetrium has joined #nixos
<bgamari> it just seems like nix-shell is essentially just a sourced shell script; it should be possible to explicitly produce the script
kleisli has quit [Ping timeout: 240 seconds]
<emily> bgamari: you can use direnv with nix
<emily> (+ you might be interested in lorri if you do that)
knupfer has quit [Ping timeout: 260 seconds]
romanofski has quit [Ping timeout: 245 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> +1 for lorri. Been so much happier since switching to it
mexisme_ has joined #nixos
<sondr3> I really need to get around to `lorri`, still using direnv directly
sbetrium has quit [Quit: sbetrium]
romanofski has joined #nixos
<sondr3> damn, I've managed to create a collision between two packages
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79865 → spdx-license-list-data: 3.7 -> 3.8 → https://git.io/JvCXC
sbetrium has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<sondr3> the collision is between a package I built with `nix-build` previously and that is now in my configuration
<sondr3> I'm mildly confused
o1lo01ol1o has joined #nixos
wiml has joined #nixos
Valodim[m] has joined #nixos
<Valodim[m]> basically always when I change a shell.nix, I do it because I want to work with the change right away. so that'll block my workflow when I do it anyways, so I end up "polling" to see if the environment updated already
<Valodim[m]> conversely, when something external leads to a change, I probably don't want that to evaluate (and get a change) at all while I'm working in the directory
sbetrium has quit [Quit: sbetrium]
<{^_^}> [nixpkgs] @jonringer merged pull request #79779 → pythonPackages.pysaml2: fix tests → https://git.io/JvCUN
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps »: https://git.io/JvCXz
seablab has quit [Remote host closed the connection]
sbetrium has joined #nixos
F-Zer0 has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsrt^ has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79866 → symengine: 0.5.0 -> 0.6.0 → https://git.io/JvCXi
vandenoever has quit [Ping timeout: 240 seconds]
nst^ has joined #nixos
werner291 has quit [Remote host closed the connection]
sondr3 has quit [Quit: WeeChat 2.7]
sbetrium has quit [Quit: sbetrium]
werner291 has joined #nixos
kloenk has quit [Ping timeout: 246 seconds]
werner291 has quit [Client Quit]
kvda has joined #nixos
werner291 has joined #nixos
sbetrium has joined #nixos
<dashkal> Yep, it was alacritty that isn't set up for vim's mouse support somehow. Switched to urxvt and it's working now.
<emily> Valodim: I agree
philr has joined #nixos
<emily> Valodim: what I want from lorri is e.g. an async-updating prompt element showing build progress and automatic variable updates as soon as it's done
<emily> and automatically printing out the error log if it failed
<emily> still, all that is in-principle constructible at least
kloenk has joined #nixos
<emily> Valodim: you can also just "use nix" with direnv directly if you don't mind it being fully blocking and slow to "cd"
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #79867 → tdesktop: 1.9.9 -> 1.9.12 → https://git.io/JvCX9
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @hlolli opened pull request #79868 → clojure 1.10.1.492 -> 1.10.1.507 plus bugfix → https://git.io/JvCXH
sbetrium has quit [Quit: sbetrium]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<MarcWeber> Is AMD ryzen AMD graphic cards supported as most current notebooks ship ?
<{^_^}> [nixpkgs] @jonringer merged pull request #79799 → credstash: 1.16.1 -> 1.16.2 → https://git.io/JvC3f
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « credstash: 1.16.1 -> 1.16.2 »: https://git.io/JvC1v
linarcx has quit [Quit: WeeChat 2.7]
<Valodim[m]> emily: I think I'd be fine with a "outdated env" marker, and an option to bring it up to speed with a blocking command
<{^_^}> [nixpkgs] @jonringer opened pull request #79869 → python3Packages.mailman-web: prevent error from crashing eval → https://git.io/JvC1t
<Valodim[m]> I definitely don't want cd or other calls to randomly block
<emily> well, the blocking command is just hitting enter :)
<emily> oh, you mean optionally blocking until the update, right
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
__monty__ has quit [Quit: leaving]
mexisme_ has quit [Ping timeout: 265 seconds]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
<{^_^}> [nixpkgs] @kalbasit opened pull request #79871 → cypress: 3.6.1 -> 3.8.3 → https://git.io/JvC1c
<Valodim[m]> right. ideally there'd just be a "not up to date" marker, and update blockingly with a "lorri refresh" or something
<Valodim[m]> perhaps I should create a feature request :)
<Valodim[m]> evaluating stuff in the background also means there is no feedback loop for when the build fails
<{^_^}> [nixpkgs] @danme opened pull request #79872 → brscan4: 0.4.4-4 -> 0.4.8-1 → https://git.io/JvC1W
puzzlewolf has joined #nixos
<puzzlewolf> <MarcWeber "Is AMD ryzen AMD graphic cards s"> I'm running NixOS on a Thinkpad T495, with an AMD Ryzen 5 PRO 3500U, with the latest kernel and the amdgpu video driver. Only one special setting for USB power states was necessary, otherwise USB didn't wake up from suspend.
<Valodim[m]> so in practice what happens for non-trivial changes in shell.nix for me is "make a change, then run nix-shell to check if it works, then hit enter a bunch of times until environment variables don't change anymore"
tilcreator has quit [Ping timeout: 260 seconds]
<emily> Valodim: personally, I feel like typing "lorri refresh" all the time would get annoying... hence why I'd rather the updates happen automatically and error output just get printed on failure
<emily> but maybe that's too automatic for some people (and it'd require more shell integration work)
<Valodim[m]> I guess :)
<Valodim[m]> both of those options sound like improvements
<puzzlewolf> MarcWeber: I'm on the stable channel, 19.09.
<emily> Valodim: yours would be a useful primitive for the mine, if it's "block until build is current, and print output if it fails"
<emily> then you effectively just need to detect changes, fork off lorri refresh, and update the prompt after
<Valodim[m]> yeah, everything beyond that is pretty shell-specific
<Valodim[m]> redrawing the prompt asynchronously isn't the most natural thing to do
<Valodim[m]> (and personally I'm not a fan of the idea :)
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JvC1R
tilcreator has joined #nixos
<emily> fish supports it natively, fwiw
<{^_^}> [nixpkgs] @jonringer opened pull request #79873 → jetbrains: update → https://git.io/JvC1z
<{^_^}> target/lorri#320 (by nyarly, 1 week ago, merged): Event Streaming (take 2)
<emily> Valodim: looks like both of us should be able to implement what we want on top of this
gustavderdrache has quit [Quit: Leaving.]
<gchristensen> as long as you note it isn't a stable API at this moment which will change
<gchristensen> wow cool I got `login` to segfault login[2816]: segfault at 0 ip 00007f2a448908e4 sp 00007ffde97059c0 error 4 in libpthread-2.30.so[7f2a44890000+f000]
<emily> I'm used to things breaking >.>
fusion809 has joined #nixos
<Valodim[m]> emily: for observing, yeah. but it doesn't add a way to change evaluation semantics, no? or is something like that already present?
ksixty has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #79874 → tinycbor: init at 0.5.3 → https://git.io/JvC1r
tilpner has quit [Read error: Connection reset by peer]
<emily> Valodim: hm, what change in evaluation semantics are you expecting?
tilpner_ has joined #nixos
<Valodim[m]> not doing it in the background :)
<Valodim[m]> I guess I could just not run lorri-daemon
<emily> Valodim: you can implement a command that streams lorri internal__stream_events and blocks until it says the evaluation is done?
<emily> it'll still get automatically evaluated on file change but that seems more like an advantage to me than anything
KeiraT has quit [Ping timeout: 240 seconds]
<Valodim[m]> I'd rather not have a daemon start potentially very expensive (cpu, memory, bandwidth) evaluation tasks in the background
KeiraT has joined #nixos
<emily> fair enough
<emily> I think the evaluations get cancelled if a new one of the same project starts, at least
<Valodim[m]> not bad :)
<Valodim[m]> lots of complexity though that for my taste leads to too magical behavior
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79875 → urweb: 20190217 -> 20200209 → https://git.io/JvC1S
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2633e93f3ec (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
sbetrium has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
sbetrium has quit [Client Quit]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
KeiraT- has joined #nixos
KeiraT has quit [Remote host closed the connection]
shibboleth has joined #nixos
KeiraT- is now known as KeiraT
sbetrium has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @kalbasit merged pull request #79871 → cypress: 3.6.1 -> 3.8.3 → https://git.io/JvC1c
<{^_^}> [nixpkgs] @kalbasit pushed to master « cypress: 3.6.1 -> 3.8.3 (#79871) »: https://git.io/JvCMG
sbetrium has quit [Client Quit]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
jgeerds has quit [Ping timeout: 240 seconds]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
<{^_^}> [nixpkgs] @nh2 pushed 7 commits to wip-zapcc: https://git.io/JvCME
<{^_^}> [nixpkgs] @nh2 pushed 0 commits to wip-zapcc: https://git.io/JvCMu
<kalbasit> how to use Xvfb (package xlibs.xorgserver) outside of NixOS? I'm trying to run Cypress on our CI and it's exiting with an error: `Fontconfig error: Cannot load default config file`
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
nilsirl[m] has joined #nixos
<nilsirl[m]> How can I fully reset a postgresql database with NixOS?
<nilsirl[m]> I have changed some settings in configuration.nix but some seem to not apply while others that I have removed seem to still be applied
<nilsirl[m]> (I do not mind loosing any kind of data in the database)
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @mothsART opened pull request #79876 → drawing : init at 0.4.10 → https://git.io/JvCM1
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
swapgs has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #79877 → Improve callPackage error message! → https://git.io/JvCMM
<infinisil> What I worked on for the past couple hours ^^
<infinisil> Very cool stuff
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
Mateon3 has joined #nixos