worldofpeace 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/nixcon2018 || For best support,
<pie_> doh
<pie_> well that doesnt help me then :I
<clever> pie_: what do you want to use the iso for?
<pie_> i want to use a custom kernel with my surface 3
<pie_> well to be fair
<pie_> i dont really need an iso for that
<pie_> and i guess i dont really need to cross compile either since its an intel device
<pie_> so i guess i can just build locally and copy closure
<clever> pie_: https://gist.github.com/cleverca22/e2c139c30677506108c1a5bc9ec31089 is a random related gist i found
<pie_> i need to top being lazy for even simple sstuff :D
toppler has joined #nixos
<pie_> lol, graphical iso with teamspeak and zfs
<clever> pie_: i think the zfs one is a bit cleaner
<clever> pie_: i was helping somebody install nixos, and we needed a way to talk while in the installer :P
<pie_> oh neat at the zfs variant
<clever> the nixos release.nix already supports custom config
<clever> so you dont have to replicate the code within it
<pie_> whoda thunk
mumuluxi has quit [Ping timeout: 268 seconds]
mbrgm_ has joined #nixos
wucke13 has quit [Ping timeout: 252 seconds]
<c00w> Anyone know what happened to hydra download links?
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<pie_> is it possible to do something like nixpkgs=channel:... in a nix expression?
<pie_> or is that only a nix_path thing
<{^_^}> [nixpkgs] @risicle opened pull request #72749 → nomacs: switch to using opencv4 → https://git.io/Je2O3
<c00w> I might be oblivious - but I can't find the download link on https://hydra.nixos.org/build/105247403#tabs-summary for the life of me.
<pie_> clever: oh right, its been a while since i did that
<infinisil> > channel:nixos-unstable
<{^_^}> "channel:nixos-unstable"
<infinisil> I'm pretty sure this syntax works too though, somehow
<clever> c00w: looking...
<c00w> Ah - For some reason unstable doesn't have a build products section but 19.03 does...
<clever> > <channel:nixos-unstable>
<{^_^}> error: syntax error, unexpected '<', at (string):270:1
<clever> c00w: the links are generated by a file at $out/nix-support/hydra-build-products
<c00w> Hmmm - so something stopped generating them on unstable?
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ cat /nix/store/n8zjc58w33qr97r4vlzgid82lf6gawrh-nixos-sd-image-20.03pre200231.7827d3f4497-aarch64-linux.img/nix-support/hydra-build-products
<clever> file sd-image /nix/store/n8zjc58w33qr97r4vlzgid82lf6gawrh-nixos-sd-image-20.03pre200231.7827d3f4497-aarch64-linux.img/sd-image/nixos-sd-image-20.03pre200231.7827d3f4497-aarch64-linux.img
<clever> c00w: the build you linked on hydra does have that file...
<infinisil> clever: pie_: This works: `fetchTarball channel:nixos-unstable`
<pie_> infinisil: huhhh
<clever> infinisil: ah, that looks like a url
<pie_> oh, duh i guess
<c00w> clever: Oh wait thats interesting. So something in hydra isn't parsing them anymore?
<clever> c00w: yeah, it might be a bug in hydra
<c00w> How did you manage to pull the derivation from hydra (Is there some command I'm missing here?)
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ nix-store -r /nix/store/n8zjc58w33qr97r4vlzgid82lf6gawrh-nixos-sd-image-20.03pre200231.7827d3f4497-aarch64-linux.img
<clever> these paths will be fetched (562.88 MiB download, 568.57 MiB unpacked):
<c00w> Ah - that's the command I need. Perfect :D
<c00w> And it's way faster than the hydra download link :)
<c00w> And I found the bug
<clever> c00w: main difference, is that the hydra download link lets you fetch one file, while nix-store -r fetches the entire closure
<c00w> Someone added compressed output (so it has a .bz2 suffix), but the build support file wasn't updated.
<clever> c00w: ah
<infinisil> pie_: And btw, this should only work in primops like builtins.fetchurl and fetchTarball, so it won't work for pkgs.fetch* things
<clever> infinisil: it may also work with <nix/fetchurl.nix>
<c00w> clever: Any idea where the nix-support folder is generated from? Does the hydra config live in nixpkgs? Or somewhere else.
<clever> c00w: an expr in nixpkgs, that generates the sd_image, also generates that file
<infinisil> clever: Looking at the source, it seems to only do the channel: thing at eval time, so fetchurl.nix probably won't work
<infinisil> I guess that makes sense
<pie_> infinisil: builtins makes sene
<pie_> infinisil: but do the fetch* not use the builtins?
<clever> infinisil: <nix/fetchurl.nix> is a builtin fetcher
<infinisil> Yeah channel: is very much impure, wouldn't want that in builders
<infinisil> clever: But like, it does the work at build time, not eval time
<clever> infinisil: <nix/fetchurl.nix> forks out a worker like any other build, but doesnt actually execute a builder
<clever> infinisil: it calls a function within nix itself
<clever> so it shares the fetch code with the eval-time ones
<infinisil> Ah I see, so then it probably works after all
<c00w> clever: Thanks :D I found it and I'm pushing the PR to fix it now.
<clever> c00w: oh, i see what you mean, the file that the link points to, doesnt exist
<{^_^}> [nixpkgs] @c00w opened pull request #72751 → sd-image: Add the compressed file path for hydra. → https://git.io/Je2Ob
<c00w> Thanks for helping me debug this clever :D clever++
<{^_^}> clever's karma got increased to 229
<clever> infinisil: when the system is "builtin" and the builder is "builtin:fetchurl", nix will run builtinFetchurl() inside a normal fixed-output derivation sandbox
v0|d has quit [Remote host closed the connection]
fendor has quit [Read error: Connection reset by peer]
<infinisil> Gotcha
<infinisil> Though I guess it won't be very useful if you need to provide a sha256
<clever> infinisil: main benefit of it, is that it happens at build time, but to make things pure, you must know $out before you know the value
domogled has quit [Quit: domogled]
<clever> so nix can do that fetch in parallel
mtncoder has joined #nixos
xkapastel has joined #nixos
mtncoder has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Ekleog merged pull request #72202 → pythonPackages.koji: 1.13.0 -> 1.14.3, addressing CVE-2019-17109 → https://git.io/Jeua3
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/Je23m
<pie_> i guess not too surprisingly, one cant do something like this right?: <nixpkgs/pkgs/os-specific/linux/kernel/linux-${kernelVer}.nix>
<infinisil> Indeed
* pie_ waits for the day clevers karma will be 1336
<pie_> * +1447
<pie_> argh
<pie_> * 1337
<drakonis1> clever++
<{^_^}> clever's karma got increased to 230
<drakonis1> let's work on that :V
<infinisil> pie_: Though I don't see an immediate reason it shouldn't be possible
<pie_> drakonis1: artificial inflation doesnt count! :P
<infinisil> in rfcs#49 people also argue about adding ${} to url expressions
<{^_^}> https://github.com/NixOS/rfcs/pull/49 (by edolstra, 15 weeks ago, open): [RFC 0049] Flakes
<colemickens> Dominos UK sends spam to an old email address that I own. But their UK domain seems to deny access to non-UK residents so I can't unsbuscribe. heh
<infinisil> Um not that one
<infinisil> Was it rfcs#45
<{^_^}> https://github.com/NixOS/rfcs/pull/45 (by 7c6f434c, 27 weeks ago, open): [RFC 0045] Deprecating unquoted URL syntax
<infinisil> Yes that one ^
* colemickens wrong room, sorry
<infinisil> > builtins.findFile builtins.nixPath "nixpkgs/${"nixos"}"
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/nixos
<infinisil> pie_: You can do this :P
justanotheruser has quit [Ping timeout: 276 seconds]
<pie_> infinisil: so where do i tell someone to add ${} to <> ? :P
<pie_> infinisil: w-wat
<pie_> sidenote did not know about findfile
<pie_> does that do what it says on the tin
<clever> pie_: behind the scenes, <nixpkgs> parses to __findFile __nixPath "nixpkgs"
<infinisil> It's pretty much the same as <..> syntax :)
<pie_> huh
marusich has joined #nixos
<infinisil> pie_: Alternatively, if you trust that nixpkgs subpaths aren't changed, you can do `<nixpkgs> + "/pkgs/os-specific/...${kernelVer}"`
<pie_> ******* clever and infinisil man :D , clever++ infinisil++
<{^_^}> clever's karma got increased to 231, infinisil's karma got increased to 155
Rusty1 has joined #nixos
<pie_> i dont even need this badly it just still blows my mind that people know this stuff
<infinisil> So much stuff to know!
<pie_> well anyway
* pie_ is smol
* infinisil pats smol pie_
<pie_> u_u
<pie_> infinisil: what do you mean about subpaths not being changed
<infinisil> pie_: If somebody sets `NIX_PATH=nixpkgs/nixos=/foo/bar` then `<nixpkgs> + "/nixos" != <nixpkgs/nixos>`
<clever> pie_: i got bored and read the source
<clever> pie_: "i remember whats in your sources"
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to revert-72376-pure-check-meta « Revert "stdenv/check-meta: getEnv if the attribute is unset (#72376)" »: https://git.io/Je23n
<pie_> infinisil: ok that makes complete sense but wow thats a weird corner case :D
<pie_> clever: heh
<infinisil> > builtins.findFile [ { prefix = "nixpkgs"; path = "/nixpkgs/path"; } { prefix = "nixpkgs/nixos"; path = "/some/other/path"; } ] "nixpkgs"
<{^_^}> file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):270:1
<infinisil> Um, hold on
alter2000_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #72752 → Revert "stdenv/check-meta: getEnv if the attribute is unset" → https://git.io/Je23c
<clever> pie_: also, `2 - 1` parses as `__sub 2 1`
<clever> pie_: if you redefine __sub using a let block, you can screw with math
<pie_> we need a bot command that will link to docs for builtins :P
<infinisil> > builtins.findFile [ { prefix = "nixpkgs"; path = "/run"; } { prefix = "nixpkgs/nixos"; path = "/"; } ] "nixpkgs"
<pie_> nevermind that probably doesnt exist properly
<{^_^}> access to path '/run' is forbidden in restricted mode
<pie_> clever: wtf lol thats amazing
<infinisil> But yeah, builtins.findFile apparently needs the paths to exist (like with NIX_PATH)
<pie_> clever: are you saying we can define our own infix operators for a limited set of operators? :P
<clever> infinisil: yeah, if you do <nixpkgs/foo> and it cant find foo, it will fail
<infinisil> But slightly confusingly it throws an error that you need to add stuff on NIX_PATH
<clever> pie_: yeah, you can remap - * and / to any binary function you want
<clever> pie_: + cant be remapped, because it has to deal with string concat
<clever> pie_: oh, < and > can also be remapped
justanotheruser has joined #nixos
kvda has joined #nixos
mumuluxi has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #72440 → postgresqlPackages.timescaledb: 1.4.2 -> 1.5.0 → https://git.io/Jegtj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je23R
jonringer has joined #nixos
wucke13 has joined #nixos
mexisme has joined #nixos
toppler has joined #nixos
<drakonis1> ughhh
<drakonis1> plasmashell is broken
<pie_> drakonis1: when wasnt it -_-
<pie_> (im half joking)
<drakonis1> it stopped functioning and its annoying me
NoblesseOblige24 has joined #nixos
<NoblesseOblige24> Hey, has anyone had any luck getting weechat-marix working on nixos?
<drakonis1> oh
<drakonis1> it got deleted lol
<drakonis1> ffs
<drakonis1> i needed to add the taskbar again
<{^_^}> [nixpkgs] @marsam opened pull request #72753 → protobuf: 3.9.1 -> 3.9.2, 3.10.0 -> 3.10.1 → https://git.io/Je23w
<NoblesseOblige24> Any suggestions?
Chiliparrot has quit [Ping timeout: 264 seconds]
jonringer has quit [Remote host closed the connection]
<pie_> AHAHAHAHAHAHA
<pie_> > lib.traceValSeq (let _omul = __mul; in let __mul = a: b: if (builtins.isAttrs a) then (a // b) else (_omul a b); in {set = {a = 1;} * {b = 2;}; int = 1 * 2;})
<{^_^}> { int = 2; set = { a = 1; b = 2; }; }
* pie_ initiates evil cackling
logzet has quit [Ping timeout: 264 seconds]
logzet_ has joined #nixos
<arcnmx> NoblesseOblige24: am on it here o:
<pie_> also yes that should be cartesian product but i actually wanted plus but you cant redefine that
<NoblesseOblige24> arcnmx: When I installed from the README using pip and make I got a failure on not having enough development tools for one of the dependencies. Any code you can share?
gagbo has quit [Ping timeout: 268 seconds]
gagbo has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
<NoblesseOblige24> Oh wow, very nice. I haven't set up my own packages repo yet (or learned the language really). Should I just put this in /etc/nixos/private or something?
<arcnmx> NoblesseOblige24: or if you trust me, you can also use nur.repos.arc.pkgs.weechatScripts.weechat-matrix or something
devalot has joined #nixos
qubasa_ has joined #nixos
abathur has joined #nixos
<arcnmx> NoblesseOblige24: you can probably throw it alongside your config in some way yeah, note that it also depends on https://github.com/arcnmx/nixexprs/blob/master/pkgs/python/matrix-nio.nix and https://github.com/arcnmx/nixexprs/blob/master/pkgs/public/weechat.nix
<NoblesseOblige24> I'll keep my own copy, but consider contributing to default pkgs I would say!
<NoblesseOblige24> Looks like you got lots of cool stuff
lord| has joined #nixos
qubasa has quit [Ping timeout: 240 seconds]
<arcnmx> mm I should get around to upstreaming a bit more...
<NoblesseOblige24> You have a good guide on writing these?
<NoblesseOblige24> looks easy but complicated at the same time
<infinisil> arcnmx: Would be really cool to have a declarative weechat module
<{^_^}> [nixpkgs] @Ekleog opened pull request #72755 → org-packages: 9.2.3 -> 9.2.6 → https://git.io/Je237
bvdw has quit [Read error: Connection reset by peer]
<infinisil> arcnmx: Oh nice
<infinisil> What do you mean it uses a plugin?
<{^_^}> [nixpkgs] @veprbl merged pull request #72752 → Revert "stdenv/check-meta: getEnv if the attribute is unset" → https://git.io/Je23c
<{^_^}> [nixpkgs] @veprbl pushed to master « Revert "stdenv/check-meta: getEnv if the attribute is unset (#72376)" (#72752) »: https://git.io/Je235
bvdw has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed 0 commits to revert-72376-pure-check-meta: https://git.io/Je23F
<infinisil> Oh weerc
<arcnmx> Well, it does two things. One is configure the weechat wrapper, the other is yeah, configure weechat itself
<infinisil> arcnmx: Does that work well? Or is it too stateful still?
<infinisil> I guess it's declarative if you want, but stateful by default
<arcnmx> yeah I can't recall why I even did it that way, probably just so /set does work and I was too lazy to configure networks ><
<infinisil> arcnmx: Can't you configure networks that way too?
NoblesseOblige24 has quit [Read error: Connection reset by peer]
<arcnmx> you can! main problem iirc is that the plugin loads a little late so changes don't quite take effect the first time? really it should just generate the files themselves imo
<arcnmx> and if you want statefulness, make it merge on activation
<arcnmx> but I was lazy and mostly just wanted to put something together so I could mess with colours like https://github.com/arcnmx/home/blob/master/config/profiles/personal/home.nix#L281
CMCDragonkai has joined #nixos
<infinisil> Hehe I see
<CMCDragonkai> hi, the manual says you can do this `nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix`
<CMCDragonkai> but `config.system.build.isoImage` doesn't exist
<infinisil> CMCDragonkai: Are you in nixpkgs/nixos?
<CMCDragonkai> hmmm
<clever> CMCDragonkai: you need to use the nixos default.nix, nit the nixpkgs default.nix
<CMCDragonkai> ok the reason why i said it doesn't exist, is cause i use nix repl to load ./nixos and tested what that expression is
<clever> CMCDragonkai: you can also use https://gist.github.com/cleverca22/39815196e9cbe437a7612a7cafb8f247 to customize the image
<CMCDragonkai> but the command does work
<CMCDragonkai> i thought that should work
* pie_ wonders if all this nix arcana is actually helpful in the long run
toppler has quit [Ping timeout: 240 seconds]
<clever> CMCDragonkai: isoimage is only present if you do `-I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix` when you load nixos/default.nix
<CMCDragonkai> i see, because of `eval.config`
sb0 has joined #nixos
<clever> CMCDragonkai: you want nix repl '<nixpkgs/nixos>' -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix
<infinisil> CMCDragonkai: And for nix repl you'd have to start it with `nix repl -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix` to get the same result as the command
hexa has joined #nixos
<samueldr> hmmm, let's say I overrideAttrs a derivation, is there a trick to change its stdenv to an older gcc's stdenv?
<clever> samueldr: .override { stdenv = ... } first
<samueldr> oh, makes sense
jluttine has quit [Ping timeout: 240 seconds]
silver has quit [Read error: Connection reset by peer]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #70846 → ispc: add x86_64-darwin to platforms. → https://git.io/JeWog
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je2sc
<{^_^}> [nixpkgs] @marsam closed pull request #71134 → ispc: set doCheck to false. → https://git.io/Je8zU
<selfsymmetric-mu> When launching Lutris, I get "Lutris was unable to detect Vulkan support for the i386 and x86_64 architecture". Anyone have Vulkan working?
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 334 commits to nixos-unstable: https://git.io/Je2sC
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7827d3f4497 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
toppler has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #72756 → vscode-extensions.ms-vscode.cpptools: 0.26.0 -> 0.26.1 → https://git.io/Je2sV
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @eadwu opened pull request #72757 → sourcehut: update 3 → https://git.io/Je2sw
work_ has joined #nixos
sb0 has quit [Quit: Leaving]
h0m1 has quit [Ping timeout: 252 seconds]
selfsymmetric-mu has quit [Ping timeout: 245 seconds]
h0m1 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has joined #nixos
leungbk has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @puffnfresh opened pull request #72758 → dcpj1100dw-cups: init at 1.0.5-0 → https://git.io/Je2sp
drakonis1 has quit [Quit: WeeChat 2.6]
leungbk` has joined #nixos
leungbk` has quit [Client Quit]
leungbk has quit [Quit: a]
toppler has joined #nixos
leungbk has joined #nixos
gagbo has quit [Ping timeout: 276 seconds]
gagbo has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
fusion809 has joined #nixos
NoblesseOblige24 has joined #nixos
<{^_^}> [nixpkgs] @mveytsman opened pull request #72759 → nixos/nat: fix typo in comment → https://git.io/Je2Gc
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
andrewrk has joined #nixos
<andrewrk> hi, I did a `rebuild switch --upgrade` on the unstable channel recently, and now gnupg pinentry is configured to use terminal. this is ok except now I can no longer send emails, is there a way to get the other behavior back?
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
tmaekawa has joined #nixos
bhipple has quit [Remote host closed the connection]
slack1256 has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
leungbk has quit [Ping timeout: 245 seconds]
marusich has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 265 seconds]
mrCyborg has quit [Quit: The Lounge - https://thelounge.github.io]
hexa has quit [Ping timeout: 252 seconds]
_deepfire has joined #nixos
xd1le has joined #nixos
leungbk has joined #nixos
toppler has joined #nixos
aae has quit [Quit: Leaving]
init_6 has joined #nixos
abathur has quit [Ping timeout: 268 seconds]
<infinisil> Seems to indicate `programs.gnupg.agent.enable = true` should make it work again
<wedens[m]> I fail to interpret this line: "Note that upstream recommends using <literal>gpg-agent</literal> and will spawn a <literal>gpg-agent</literal> on the first invocation of GnuPG anyway."
<{^_^}> [nixpkgs] @delroth opened pull request #72760 → pythonPackages.pyatmo: 2.3.2 requires requests → https://git.io/Je2ZW
daniel_d1 has quit [Quit: WeeChat 2.6]
marusich has joined #nixos
marusich has quit [Remote host closed the connection]
leungbk has quit [Ping timeout: 245 seconds]
<wedens[m]> ah, so it means that if you're using gnupg, it's recommended to enable gpg-agent
mrCyborg has joined #nixos
mrCyborg has quit [Read error: Connection reset by peer]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
work_ has quit [Quit: Connection closed for inactivity]
<infinisil> Not really sure about that line either
<infinisil> Ah, I guess if you have gpg-agent installed somehow, calling gpg itself will start gpg-agent
endformationage has quit [Quit: WeeChat 2.6]
marusich has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Charg opened pull request #72761 → aws-okta: 0.20.1 -> 0.26.3 → https://git.io/Je2Zw
<colemickens> I had the same issue. Reinstalling gnome.gcr seemed to help, it seems to be preferred now?
<colemickens> I've never had the pinentry in terminal work right. I swear it always does the absolute most baffling things, opening in random places
pareidolia has quit [Ping timeout: 264 seconds]
mexisme has quit [Ping timeout: 276 seconds]
slack1256 has quit [Remote host closed the connection]
<{^_^}> #72597 (by rayhogenson, 1 day ago, closed): GPG error: No pinentry
<colemickens> kinda seems like it's an open question ?
ddellacosta has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
* colemickens notices the usernames :|
jedai42 has quit [Ping timeout: 268 seconds]
cswl has joined #nixos
mexisme has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
jedai42 has joined #nixos
freeman42x has quit [Remote host closed the connection]
jedai42 has quit [Ping timeout: 265 seconds]
marusich has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 26 commits to nixos-unstable-small: https://git.io/Je2Zb
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/547b5b7a73e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
MightyJoe has quit [Ping timeout: 240 seconds]
ris has quit [Ping timeout: 258 seconds]
toppler has quit [Ping timeout: 268 seconds]
cyraxjoe has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
leungbk has joined #nixos
nixy3 has quit [Quit: The Lounge - https://thelounge.chat]
nixy3 has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #71814 → frozen-bubble: init at 2.212 → https://git.io/Je0YW
<{^_^}> [nixpkgs] @7c6f434c pushed 8 commits to master: https://git.io/Je2nm
<colemickens> On my nixos vm after upgrading the nixos-unstable channel and rebuild switching: Failed to start sysinit.target: Transaction order is cyclic. See system logs for details.
<colemickens> :|
zupo has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/Je2nZ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/22378e69968 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
laudecay has joined #nixos
<laudecay> /b 4
<colemickens> also, this is surprising? git version 2.16.2
<{^_^}> [nixpkgs] @wmertens merged pull request #72745 → git: drop extraneous sysconfdir trailing slash → https://git.io/Je2te
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to staging: https://git.io/Je2n8
<{^_^}> [nixpkgs] @ijaketak opened pull request #72762 → rictydiminished-with-firacode: fonttools requires python3 → https://git.io/Je2n4
<{^_^}> [nixpkgs] @ijaketak opened pull request #72763 → liberation-sans-narrow: fonttools requires python3 → https://git.io/Je2n0
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hpfr has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
gagbo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
leungbk has quit [Ping timeout: 250 seconds]
flacks has joined #nixos
laudecay has quit [Ping timeout: 276 seconds]
laudecay has joined #nixos
<flacks> hi all! very excited to be checking out NixOS!
MichaelRaskin has left #nixos [#nixos]
<etu> flacks: Nice! Feel free to ask questions in here any time :)
toppler has quit [Ping timeout: 268 seconds]
<flacks> thank you :)
<flacks> I have one burning ATM
laudecay has quit [Ping timeout: 240 seconds]
<flacks> oo, typo first of all
<colemickens> wlan or wla0 ?
<flacks> I like just `wlan` :)
<flacks> oh, that just about did it, lol
<flacks> I was unsure how to nest different options, like what the rule of either using curly braces or brackets was
<andrewrk> infinisil, I already have `programs.gnupg.agent.enable = true`
<flacks> (still am, for the most part)
domogled has joined #nixos
tilpner has joined #nixos
<etu> andrewrk: If it's the "pinentry" issue, look into programs.gnupg.agent.pinentryFlavor as well
<andrewrk> etu, I tried setting that to gtk2 and gnome3, no observable difference
<andrewrk> looks like I need to file a bug report
<andrewrk> I also tried qt just now, same thing
toppler has joined #nixos
palo1 has joined #nixos
orivej has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<andrewrk> ok here is my bug report: https://github.com/NixOS/nixpkgs/issues/72765
<{^_^}> #72765 (by andrewrk, 9 seconds ago, open): regression: thunderbird + enigmail not able to interact with gpg agent due to non-gui pinentry
kvda has joined #nixos
jedai42 has joined #nixos
tabasko has joined #nixos
m0rphism has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @wmertens merged pull request #55645 → nixos/qemu-vm: declarative drives → https://git.io/fhQyU
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to master: https://git.io/Je2nN
<{^_^}> [nixpkgs] @vbgl merged pull request #72115 → ocamlPackages.ocp-indent: 1.7.0 → 1.8.1 → https://git.io/JeueM
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocp-indent: 1.7.0 → 1.8.1 »: https://git.io/Je2np
Ariakenom has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<yorick> can I overrideDerivation a runCommand to add stuff?
captn3m0 has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
red_beard has quit [Quit: In all likelihood i didn't mean to /quit - 2.5]
<jackdk> dunno. what happens if you try?
<wedens[m]> yorick: use `override` and/or `overrideAttrs` instead
<Ariakenom> anyone know what nixos ssh uses to authenticate the server?
<Ariakenom> I mean nixops ssh
<tilpner> yorick: (runCommand "foo" {} "echo foo > $out").overrideAttrs (old: { buildCommand = old.buildCommand + "; echo bar >> $out"; }
<tilpner> Not sure the ; is needed, especially if you use '' strings
<yorick> tilpner: ah, I thought the passAsFile would break it somehow
<yorick> thanks!
rauno has joined #nixos
philr has joined #nixos
vonfry has joined #nixos
<wedens[m]> passAsFile becomes relevant at build time
toppler has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
<gchristensen> git config feature.manyFiles true -> https://github.blog/2019-11-03-highlights-from-git-2-24/
<{^_^}> [nixpkgs] @c0bw3b closed pull request #72689 → twa: 1.8.0 -> 1.9.0 → https://git.io/JegFk
hyper_ch2 has joined #nixos
Heirlung has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #72760 → pythonPackages.pyatmo: 2.3.2 requires requests → https://git.io/Je2ZW
<{^_^}> [nixpkgs] @FRidh pushed commit from @delroth to master « pythonPackages.pyatmo: 2.3.2 requires requests »: https://git.io/Je2cs
phreedom_ has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #72767 → nixos/phpfpm: fix and rename options → https://git.io/Je2cZ
Okinan has quit [Quit: Konversation terminated!]
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #72731 → nix-prefetch-github: 2.3.1 -> 2.3.2 → https://git.io/Je2UT
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Je2cB
<vonfry> I want to get a path for a package, but this package doesn't contains a bin dir, so I cannot use nix-store with which. I know ~ls /nix/store | grep xxx~ can get what I want, but I only want to get the path of package in current generation.
<vonfry> Then I find ~nix-env -q --out-put~, but it cannot work on nixos because of I cannot find a profile for system
<colemickens> You could probably figure it out from looking at: nix-store -q --graph /run/current-system
<{^_^}> [nixpkgs] @FRidh closed pull request #67043 → python37Packages.cachy: 0.2.0 -> 0.3.0 → https://git.io/fjFj6
<vonfry> colemickens: thanks, i find that
<{^_^}> [nixpkgs] @FRidh merged pull request #72763 → liberation-sans-narrow: fonttools requires python3 → https://git.io/Je2n0
<{^_^}> [nixpkgs] @FRidh pushed commit from @ijaketak to master « liberation-sans-narrow: fonttools requires python3 »: https://git.io/Je2cV
ng0 has joined #nixos
<tilpner> vonfry: /nix/var/nix/profiles/system
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vonfry> tilpner: I have tired `nix-env -p /nix/var/nix/profiles/system -q`, but it prints nothing
Jackneill has joined #nixos
<tilpner> vonfry: I was just telling you where the profile is, I wasn't recommending it for finding something
<tilpner> vonfry: E.g. sudo nix-env -p /nix/var/nix/profiles/system --list-generations lists system generations
<tilpner> vonfry: Have you found the package?
Jackneilll has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3203 → Fix progress bar when nix-prefetch-url is piped. → https://git.io/Je2q2
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je2cX
init_6 has quit []
Jackneill has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @edolstra merged pull request #3202 → Update nix eval --help msg to not include deprecated command → https://git.io/Je2UO
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je2cp
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phreedom has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #72728 → sdrangel: 4.11.7 -> 4.11.12 → https://git.io/Je2vi
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Je2cj
chreekat_ has joined #nixos
hyper_ch2 has joined #nixos
Tucky has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
hmpffff has joined #nixos
<vonfry> tilpner: Sorry, I cannot understand. I can use that to find the system generations, and go into that dir to find something. But the package is not found in this dir(share or manpage). And other options of nix-env such as `-q` cannot print anything. That package seems not a buildInput. What do I miss?
<{^_^}> [nixpkgs] @jojosch closed pull request #72310 → dbeaver: use github release as src → https://git.io/Jez3q
magnetophon has quit [Ping timeout: 276 seconds]
cswl has quit [Quit: Connection closed for inactivity]
Ariakenom has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jojosch opened pull request #72768 → dbeaver: 6.2.3 -> 6.2.4 → https://git.io/Je2Cl
toppler has joined #nixos
<vonfry> tilpner: Thank you. I understand. Use this to find system generation, and then I can use nix-store to find package by choosing which generation I want.
Ariakenom has joined #nixos
<tilpner> vonfry: Which package are you looking for?
hyper_ch2 has quit [Remote host closed the connection]
<vonfry> tilpner: gsettings-desktop-schemas, an appimage needs to it. I have to export it share path to XDG_DATA_DIRS.
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
dansho has joined #nixos
<tilpner> vonfry: And you want the path to its output?
<tilpner> vonfry: Does nix-build --no-out-link '<nixpkgs/nixos>' -A pkgs.gsettings-desktop-schemas work for you?
<tilpner> (Phrased this way to apply overlays from your config, you can use <nixpkgs> and -A gsettings-desktop-schemas too)
<tilpner> vonfry: Are you using appimage-run or appimageTools?
<vonfry> tilpner: nix-build --no-out-link is worked
domogled has quit [Quit: domogled]
<vonfry> tilpner: I'm using appimage-run
<vonfry> tilpner: my origin problem is NixOS/nixpkgs/issues/72282
<tilpner> #72282
<{^_^}> https://github.com/NixOS/nixpkgs/issues/72282 (by Vonfry, 5 days ago, open): appimage-run: GLib-GIO-ERROR**: No GSettings schemas are installed on the system
orivej has quit [Ping timeout: 246 seconds]
ajirx has joined #nixos
<tilpner> vonfry: And you're setting XDG_DATA_DIRS outside of appimage-run, in your normal session?
<vonfry> tilpner: Yes, outside appimage-run
<vonfry> tilpner: Should I setting the variable in the override?
<tilpner> Huh, I didn't make it easy to set extra variables
<vonfry> tilpner: Thank for your help. I have to go offline.
talqu has joined #nixos
vonfry has quit [Quit: WeeChat 2.6]
<tilpner> ://
<tilpner> ,tell vonfry Run appimage-run with APPIMAGE_DEBUG_EXEC=bash , then set XDG_DATA_DIRS inside and exec into AppRun
<{^_^}> tilpner: I'll pass that on to vonfry
<tilpner> If that works, we can try to make it permanent
<{^_^}> [nixpkgs] @Profpatsch merged pull request #72655 → rabbitmq-server: 3.8.0 -> 3.8.1 → https://git.io/Jeg9x
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @r-ryantm to master « rabbitmq-server: 3.8.0 -> 3.8.1 »: https://git.io/Je2CX
<talqu> hi, there is slack-4.0.2 package shown on nixos packages website. However doing nixos-rebuild switch does not update my slack package (still have 3.3.8)
<tilpner> talqu: You're probably on an old channel or haven't updated in a while
<tilpner> 19.09 has 4.0.2
gagbo has quit [Ping timeout: 252 seconds]
gagbo has joined #nixos
<talqu> tilpner: oh that's right, didn't update the channel
<talqu> thanks
cosimone has joined #nixos
hyper_ch2 has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @B4dM4n closed pull request #68004 → django-extensions: 2.1.4 -> 2.2.1 → https://git.io/fjpp7
<{^_^}> [nixpkgs] @jonringer opened pull request #72769 → python3Packages.cytools: 0.10.0 -> 0.10.1 → https://git.io/Je2CH
orivej has joined #nixos
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 250 seconds]
<m1cr0man> Hey folks. I'm trying to work out a way to set up a php-fpm pool for each user in my LDAP database. I'm wondering if it's possible/sensible to write a sort of fetchFromLDAP function for nix that will query ldap + map the results to an attrset. Is there any functions that do something similar I could look at?
cosimone_ is now known as cosimone
<tilpner> m1cr0man: Querying a dynamic user database at eval time doesn't seem like a good idea. It will probably change, and you need to re-eval every time
talqu has quit [Remote host closed the connection]
captn3m0 has quit [Ping timeout: 265 seconds]
amfl_ is now known as amfl
<dminuoso> nix is pure. talking to ldap is impure.
<tilpner> dminuoso: Nix expressions can have plenty of impurities
<dminuoso> shhh
<tilpner> I already cautioned against doing this, but "nix is pure" is wrong
lukash_|away is now known as lukash_
<tilpner> Especially without sandboxing and restricted mode
<m1cr0man> tilpner: yeah, that was my main concern. I was considering writing a service that would return a fixed set of results until it gets an update instruction. Even then, it might still make more sense to write a service to build the configs
<m1cr0man> It feels like a bit of a bit of an antipattern either way
MinceR_ has joined #nixos
MinceR has quit [Ping timeout: 265 seconds]
<etu> m1cr0man: you could in theory have a ldapdata2nix script that fetches the user data from ldap and writes a json or nix file that you use to do the configuration. That way it would be pure and controlled.
toppler has quit [Ping timeout: 246 seconds]
<qyliss> lgo
<Izorkin> etu: please check #72767 )
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72767 (by Izorkin, 1 hour ago, open): nixos/phpfpm: fix and rename options
mexisme has quit [Ping timeout: 252 seconds]
joshuagl has joined #nixos
terlar has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72756 → vscode-extensions: update 3 → https://git.io/Je2sV
<{^_^}> [nixpkgs] @jonringer pushed commit from @eadwu to master « vscode-extensions.ms-vscode.cpptools: 0.26.0 -> 0.26.1 »: https://git.io/Je2Wm
<{^_^}> [nixpkgs] @jonringer merged pull request #72757 → sourcehut: update 3 → https://git.io/Je2sw
<{^_^}> [nixpkgs] @jonringer pushed 12 commits to master: https://git.io/Je2W3
<tilpner> ,tell vonfry Oh, and check if rclone does what you want
<{^_^}> tilpner: I'll pass that on to vonfry
talqu has joined #nixos
gagbo has quit [Remote host closed the connection]
gagbo has joined #nixos
<talqu> nix-channel --update nixos; nixos-rebuild switch. All went well but the slack package is still old :/ What could have gone wrong?
<tilpner> talqu: As which users?
<talqu> root
<tilpner> talqu: Where does the nixos channel point to?
<tilpner> nix-channel --list or similar
__monty__ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<talqu> sudo nix-channel --list => nixos https://nixos.org/channels/nixos-19.03
<tilpner> That's an old release
<tilpner> It will not receive updates for slack
<talqu> oh my, you are in 19.09 already
<talqu> what a fool..
<tilpner> That's what I meant with "19.09 has 4.0.2" earlier
captn3m0 has joined #nixos
<__monty__> talqu: The .09 is a month, it's not 6 versions difference ; )
<talqu> talqu is upgranding right now :0
<talqu> thanks
<{^_^}> [nixpkgs] @jonringer merged pull request #72633 → cargo-geiger: init at 0.7.3 → https://git.io/JegMb
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je2WB
<{^_^}> [nixpkgs] @jonringer merged pull request #72640 → paperwork: add missing dependency → https://git.io/JegyK
<{^_^}> [nixpkgs] @jonringer pushed to master « paperwork`: add missing dependency »: https://git.io/Je2W0
civodul has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
k41 has joined #nixos
<m1cr0man> etu: Yeah actually that could work. I would just need to encrypt the file in git or otherwise not commit it, but that would work great.
toppler has joined #nixos
captn3m0 has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Tucky has quit [Ping timeout: 268 seconds]
alter2000_ has joined #nixos
hmpffff has joined #nixos
talqu has quit [Remote host closed the connection]
<__monty__> m1cr0man: If you go the not committing route, I recommend putting a symlink rather than the file in the repo. That way you can't commit it by accident.
zupo has joined #nixos
gagbo has quit [Ping timeout: 268 seconds]
gagbo has joined #nixos
joshuagl has quit [Ping timeout: 268 seconds]
gxt has joined #nixos
<azazel> journalbeat on 19.09 doesn't work anymore.... is anyone using it?
<__monty__> m1cr0man: There's also https://git-secret.io but whether you want to use it depends on your threat model.
exfalso has joined #nixos
<exfalso> Hi, is there a builtin for calculating the intersection of two attribute sets?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> exfalso: intersectAttrs
<exfalso> __monty__: thanks!
MinceR has joined #nixos
MinceR_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72249 → Fix QGIS in release-19.09 → https://git.io/JeuD8
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to release-19.09: https://git.io/Je2lv
sondre has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
alex-helfet has joined #nixos
aindlq has joined #nixos
drakonis has joined #nixos
sondre is now known as sondr3
<aindlq> silly question, but is there a way to add something to PATH env variable from configuration.nix file
ajirx_ has joined #nixos
ajirx has quit [Ping timeout: 268 seconds]
philr has quit [Ping timeout: 276 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #72770 → mpd: restart always → https://git.io/Je2ls
civodul has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #67399 → pythonPackages.moderngl_window: init at 1.2.0 → https://git.io/fjNFp
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je2lc
<{^_^}> [nixpkgs] @jonringer merged pull request #70995 → deeptools: init at 3.3.1 → https://git.io/JelrX
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/Je2lW
<{^_^}> [nixpkgs] @timokau opened pull request #72771 → sage: fix tests → https://git.io/Je2ll
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/Je2nm
civodul has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d690c20efd0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has quit [Ping timeout: 268 seconds]
alter2000_ has quit [Ping timeout: 265 seconds]
<__monty__> aindlq: Either environment.variables or environment.profileRelativeEnvVars.
armin has quit [Ping timeout: 250 seconds]
reallymemorable has joined #nixos
alter2000_ has joined #nixos
aindlq has left #nixos [#nixos]
toppler has joined #nixos
armin has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #72695 → zsh-history-substring-search: 1.0.1 -> 1.0.2 → https://git.io/JegFM
<{^_^}> [nixpkgs] @alyssais pushed commit from @r-ryantm to master « zsh-history-substring-search: 1.0.1 -> 1.0.2 »: https://git.io/Je2lA
gyroninja has quit [Quit: WeeChat 2.5]
aindlq has joined #nixos
<aindlq> __monty__: thanks!
tmaekawa has quit [Quit: tmaekawa]
ajirx__ has joined #nixos
ajirx_ has quit [Ping timeout: 265 seconds]
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: installTargets is a list »: https://git.io/Je28Y
alter2000_ has quit [Ping timeout: 265 seconds]
gnidorah has joined #nixos
<gnidorah> hi
<gnidorah> could someone please explain what happens here? https://github.com/NixOS/nixpkgs/issues/72730
<{^_^}> #72730 (by gnidorah, 17 hours ago, open): Different behavior of make
<gnidorah> ah, i see. if that variable was defined in environment, than the one in makefile will be used, otherwise it will not be used at all
o1lo01ol_ has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
alex-helfet has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @gnidorah reopened pull request #68301 → [WIP] cde / cdesktopenv → https://git.io/JeeLy
Soo_Slow has joined #nixos
alex-helfet has joined #nixos
<Twey> Is there an equivalent to `buildFHSUserEnv` that *doesn't* build an FHS env? I.E. chroots the builder/shell into a sandbox with the specified build inputs but without global paths?
<NinjaTrappeur> Hmmm, is it me or something's wrong with the current nixpkgs manual: https://nixos.org/nixpkgs/manual/ ?
toppler has quit [Ping timeout: 240 seconds]
<NinjaTrappeur> It seem to miss a couple of sections (lib, various lang infrastructure, etc.)
<NinjaTrappeur> Did we do a massive refactoring here?
sigmundv_ has joined #nixos
ajirx has joined #nixos
<NinjaTrappeur> Oh, I see, the TOC is not entirely displayed at the top anymore
<wedens[m]> Twey: nix-shell --pure
drakonis_ has joined #nixos
drakonis1 has joined #nixos
<Twey> wedens[m]: `nix-shell --pure` doesn't chroot anything
<__monty__> NinjaTrappeur: Yep, was split up. Definitely less intimidating this way. I had to get used to it too though.
drakonis has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
cosimone has quit [Quit: Terminated!]
ajirx has quit [Quit: Leaving]
ajirx__ has quit [Quit: Leaving]
toppler has joined #nixos
ajirx has joined #nixos
<globin> __monty__: how does one find the rest now?
<__monty__> What do you mean?
<NinjaTrappeur> __monty__: I see. I do share globin's concern though. The ctrl-f at the top of the page trick to find the appropriate section does not work anymore :(
<__monty__> Searching the toc's a little harder because you get hits from the rest of the manual.
<NinjaTrappeur> ^ yes
<__monty__> Most of the time you know the broad section though.
<__monty__> And then you ^f that.
<__monty__> It can be handy because you get history results in your browser for the "language infra" section for example. But yes, trade-offs.
<globin> ah I didn't notice that only the TOC is split up
<globin> hmm it feels weirder than before
<NinjaTrappeur> Yeah, I guess it's an acceptable one if it makes onboarding less intimidating
<NinjaTrappeur> Could we populate the full TOC in an appendix at the very bottom of the page?
<__monty__> globin: Only because we're used to the massive TOC. It looks very messy/intimidating to new users.
<globin> hmm, the thing is I find it harder to skim the TOC looking for something and having to think of in which category it could be in vs just looking for the keyword I'm interested in
<__monty__> globin: Yes, and the toc's still huge. But look at this as a step, not a complete solution to the UX issues : )
hyper_ch2 has quit [Remote host closed the connection]
<__monty__> Well, maybe not *huge* I was looking at the NixOS TOC.
cswl has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #72770 → mpd: restart always → https://git.io/Je2ls
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Je28y
<{^_^}> [nixpkgs] @sylv-io opened pull request #72774 → nixos/libinput: apply options to all device types → https://git.io/Je28H
JonReed has joined #nixos
<Twey> If I set `phases = [ "fooPhase" ];` in a derivation, does it stop the default phases from being executed? I thought it did, and it looks like it does by looking at the setup script, but I'm getting an error that seems to come from the build phase: https://hastebin.com/xijosuheha.json
<Twey> Specifically I'm trying to do this: https://hastebin.com/ipimofidol.nix
<{^_^}> [nix] @edolstra pushed 4 commits to recursive-nix: https://git.io/Je28b
<wedens[m]> Twey: you may want to use stdenvNoCC
<clever> Twey: you probably want to use pkgs.runCommand
<Twey> clever, wedens[m]: For what? I want to make sure the derivations remain as similar as possible so I get the same set of dependencies
<clever> Twey: a lot of the depenency tracking is based on the contents of $out, which your changing
orivej has joined #nixos
<Twey> So I want to keep the derivation as it is, but just override the actual building phase to just record the license
<clever> Twey: then you want buildCommand
<Twey> Yeah, I tried that too, but it performs similarly
<Twey> Hang on, let me paste
<wedens[m]> so, you want to collect licenses from all derivations, or what? what's the end goal?
hmpffff has joined #nixos
<Twey> wedens[m]: Yep, that's right — I want to collect licenses from all requisites of a particular package
<Twey> So my current approach is to build an overlay that does no building but just records the license of each package as the output, then use nix-store -qR to get them all
<clever> Twey: i'm guessing that you broke the stdenv and the stdenv is now unable to run buildCommand
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 6 commits to nixpkgs-19.09-darwin: https://git.io/Je2lv
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: installTargets is a list »: https://git.io/Je24f
hmpffff has quit [Quit: Bye…]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/108021d6e1e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
zupo has joined #nixos
xensky has quit [Quit: No Ping reply in 180 seconds.]
k41 has quit [Ping timeout: 264 seconds]
xensky has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je24q
orivej has joined #nixos
civodul has quit [Ping timeout: 250 seconds]
mabel has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<{^_^}> [nix] @edolstra pushed to recursive-nix « Enable recursive Nix using a feature »: https://git.io/Je244
civodul has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
hyper_ch2 has joined #nixos
toppler has joined #nixos
ajirx has quit [Quit: Leaving]
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to gcc-9: https://git.io/Je24Q
ckauhaus has joined #nixos
mabel has joined #nixos
joshuagl has joined #nixos
alex-helfet has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 4 commits to structured-attrs: https://git.io/Je24j
<gchristensen> fpletz++ globin++ you both do such heroics. openssl, gcc, structured attrs. thank you
<{^_^}> fpletz's karma got increased to 7, globin's karma got increased to 8
silver has joined #nixos
<evanjs> Hrm. Any thoughts on what to check first when lorri is doing _nothing_ in a project? .envrc and shell.nix and etc are present
drakonis1 has quit [Read error: Connection reset by peer]
alter2000_ has joined #nixos
<__monty__> evanjs: You direnv allowed? The daemon's running?
<__monty__> You have the shell hook?
<evanjs> __monty__: yaya everything looks fine
<evanjs> Of course maybe just progress reporting is less verbose than I initially thought. I see the direnv export stuff in shell now. Opening emacs again to test
<__monty__> evanjs: Oh, lorri only says "Started" and then the result of a build *when* it finished.
<__monty__> Maybe you need more patience? : )
<evanjs> __monty__: yeah I figured as much. And yes I think that was it, as I'm used to direnv or etc giving me results right away.
<evanjs> I was planning on making it a user service anyway, so maybe I can just RUST_LOG=lorri=info or etc
<evanjs> I can run the daemon from anywhere, right? Or just individual projects?
<__monty__> Anywhere, `lorri watch` was the project specific command.
<__monty__> I believe they're working on incremental output btw, so during the build, rather than only at the end.
<evanjs> __monty__: ohhh gotcha. Guess I've been expending more energy that I've needing to so far lol. And sounds good. Super happy it's a Rust project. Maybe I should see if there are some easy open issues...
<Twey> clever: I'm confused by it because the `buildCommand` doesn't invoke gcc anywhere — and the script seems like it should only be running `buildCommand`, which doesn't involve calling gcc
<{^_^}> [nixpkgs] @roberth merged pull request #71301 → p4v: explicitly depend on openssl 1.0 series → https://git.io/Je4QO
<clever> Twey: buildCommand is ran by the stdenv, which is ran by the args for builder
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/Je2BG
<clever> Twey: that stdenv may be horribly broken and unable to do anything
<{^_^}> [nixpkgs] @roberth closed pull request #72718 → p4v: Use openssl 1.0 → https://git.io/Jegje
gagbo has quit [Ping timeout: 240 seconds]
<Twey> clever: But the error is specifically this one: /nix/store/m7q0crzg1s3hvja1ri6nsc8zim92bgii-bootstrap-stage1-gcc-wrapper: line 1: $'\302\253unspecified\302\273': command not found
bvdw has quit [Read error: Connection reset by peer]
<Twey> clever: I don't understand where /nix/store/m7q0crzg1s3hvja1ri6nsc8zim92bgii-bootstrap-stage1-gcc-wrapper is being invoked at all
gnidorah has quit [Quit: Connection closed for inactivity]
<Twey> The builder itself is /nix/store/n9acaakxahkv1q3av11l93p7rgd4xqsf-bootstrap-tools/bin/bash, which seems like a perfectly usable bash
gagbo has joined #nixos
<Twey> There shouldn't be any compilation required to run `buildCommand`, surely?
bvdw has joined #nixos
<exarkun> Why is pebble a dependency of certbot?
<exarkun> a runtime dependency
<exarkun> Because of this in `postPatch`?
<exarkun> substituteInPlace certbot-ci/certbot_integration_tests/utils/pebble_artifacts.py --replace "@pebble@" "${pebble}/bin/pebble"
<exarkun> even though it's only for the tests, looks like
<exarkun> heh and `doCheck` is false.
mexisme has joined #nixos
<Twey> wedens[m]: Nice post! Unfortunately this doesn't necessarily include all dependencies… since there might be dependencies other than those in `buildInputs`, like in the string contexts of attributes, and those only allow you to find the derivation path in the store, so you can't get back to the runtime derivation (which may never actually be exported from its scope, anyway)
<Twey> wedens[m]: Which is how I ended up with this overlay approach
sigmundv_ is now known as sigmundv
<exarkun> so ... why don't I see pebble in `nix-store --query --tree /nix/store/iplcjgixa1d25rqhpmfzjpzca5ni8wpc-certbot-0.39.0/bin/certbot`?
<exarkun> or why does morph download pebble if it isn't really a runtime dependency of certbot?
mexisme has quit [Ping timeout: 250 seconds]
gagbo has quit [Ping timeout: 240 seconds]
<xd1le> Twey: I'm interested in your approach to collect requisite licenses for a particular package, is it public or are you planning to make it public?
gagbo has joined #nixos
<Twey> xd1le: If it works and you're interested, I'll try to get company approval to open-source it/write a blog post about it
<{^_^}> [nixpkgs] @marsam merged pull request #72753 → protobuf: 3.9.1 -> 3.9.2, 3.10.0 -> 3.10.1 → https://git.io/Je23w
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je2By
<xd1le> Twey: ok great, ty!
drakonis1 has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
<__monty__> Twey: Is it hard because you want the actual license file? You should just be able to read meta.license recursively, right?
<xd1le> Twey: it's also been on my general todo list for a whil, just low in priority
<xd1le> __monty__: yes I assume so
<nurelin> Does anyone knows how to build https://github.com/NixOS/nix/pull/3185 ? There seems to be at least three build systems, some of them using previous nix builds.
<{^_^}> nix#3185 (by Ericson2314, 4 days ago, open): WIP: Windows support -- depends on Meson build system (#3160)
<Twey> __monty__: No, it's because it's really tricky to get the meta
dansho has quit [Ping timeout: 252 seconds]
<xd1le> oh my bad
dansho has joined #nixos
<Twey> __monty__: It's easy to get the dependency graph for a package (in terms of .drv files in the store), but those don't have any attributes in them that aren't used in the build… and on the other side of the coin it's very tricky to get a complete dependency graph for a package in Nix (since there may be packages defined in scopes that aren't even exported)
<Twey> __monty__: I have an alternative approach that makes a less drastic change to mkDerivation by just putting the license into the build environment, and then you can query it out with nix-store -qb… but that involves rebuilding the whole world, and I'd rather have an approach that avoids that
veleiro has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #72768 → dbeaver: 6.2.3 -> 6.2.4 → https://git.io/Je2Cl
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Je2Bb
<Twey> So my current approach is to put *only* the license into the build environment and try to prevent things from actually building, but you have to be quite careful about which things you override
realrokka has quit [Ping timeout: 240 seconds]
<__monty__> Hmm, there's no way to go from drv -> package?
<adisbladis> drv -> attr? Nope :(
<etu> __monty__: Not other than searching for the name in nixpkgs...
<Twey> __monty__: In general, no :( There are some hacks you can use to get some cases (e.g. walking the pkgs tree and checking if the drvPath matches), but there's no guarantee that every derivation object will even be exported
<Twey> __monty__: The blog post wedens[m] linked does that: https://www.nmattia.com/posts/2019-10-08-runtime-dependencies.html
<__monty__> The more you know.
selfsymmetric-mu has quit [Remote host closed the connection]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
toppler has joined #nixos
zupo_ has joined #nixos
<Ericson2314> @nurelin:matrix.org it doesn't build in Windows yet, or at least I haven't gotten it to
zupo has quit [Ping timeout: 246 seconds]
<Ericson2314> See my Nixpkgs PRs (on phone so harder to link). I am fixing some windows cross compilation issues so I can build Nix in all ways comfortably from my linux machine
<Twey> clever: Shouldn't it not break the stdenv's dependencies, though, because the base stdenv is `super.stdenv`?
<clever> Twey: hmmm, yeah, i'm not sure then
<clever> Twey: you would need to strace the nix-daemon to see what its doing
<Ericson2314> If you would like try and have windows with visual studio, use the Meson one. The others should be deleted.
<Twey> clever: I do think you're right, I think it's failing to build the builder… but I don't understand why
<{^_^}> [nixpkgs] @cab404 opened pull request #72777 → [fix] android-studio: added certificate bundle to /etc/pki → https://git.io/Je2RW
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.9.1705.31-1 -> 2.9.1705.38-1 »: https://git.io/Je2Rl
dreverri has joined #nixos
rauno has quit [Ping timeout: 276 seconds]
ddellacosta has joined #nixos
<nurelin> Ericson2314: thanks, if I try to use windows + visual studio where should I find the dependencies (boost, ...) ?
<{^_^}> [nixops-aws] @AmineChikhaoui merged pull request #15 → route53: update docstring typos and remove unused imports → https://git.io/Je2vU
<{^_^}> [nixops-aws] @AmineChikhaoui pushed 2 commits to master: https://git.io/Je2Ra
<veleiro> Hello, I've been having problems with services.xserver.videoDrivers on an older machine with a Radeon HD 6350. No matter the values I add to videoDrivers, I always end up with modesetting
<Ericson2314> nurelin by hand. (
<veleiro> I believe its one of the GPUs that needed nonfree firmware so i have this set too: hardware.firmware = [pkgs.firmwareLinuxNonfree] but not sure if its applying correctly. I dont see any errors in dmesg or xorg logs about the radeon drivers not loading or anything
<Ericson2314> @nurelin:matrix.org that's another reason I'm building with Nixpkgs
<etu> veleiro: From what I remember from my gentoo days. The driver (in kernel) named radeonhd were actually pretty good...
chreekat_ has quit [Ping timeout: 268 seconds]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/Je2RM
<nurelin> Ericson2314: no problem, I will give it a try
cswl has quit [Quit: Connection closed for inactivity]
<clever> veleiro: the nix code in this area, will detect certain magic strings in the videoDrivers array, and then change other config flags for you
<clever> videoDrivers = [ "amdgpu"]; for example will just blacklist the "radeon" driver
<Ericson2314> @nurelin:matrix.org: you can also look at volth's Nixpkgs windows, except you would need a windows nix to build it!
<clever> videoDrivers = [ "amdgpu-pro" ]; will do a lot more, including changing kernel build flags
hexa has joined #nixos
<veleiro> etu: that would be what the modesetting driver provides right?
chreekat_ has joined #nixos
<etu> veleiro: Should be
<etu> veleiro: But maybe the kernel modules have changed etc
<adisbladis> clever: Is amdgpu-pro providing much value any more?
<clever> adisbladis: not sure what all its impacting
<veleiro> @clever thank you
<clever> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]
<clever> adisbladis: i'm using the amdgpu driver on this card
shibboleth has joined #nixos
<veleiro> I need the older "radeon" or "ati" drivers i believe, but modesetting is always loaded instead
orivej has joined #nixos
<adisbladis> clever: It seems that the main point of the proprietary driver is opencl/vulkan
<veleiro> I believe I somehow need to load the firmwareLinuxNonfree package correctly but I'm unsure where
<veleiro> but there should be some error messages somewhere however I havent found any
hexa has quit [Ping timeout: 245 seconds]
<veleiro> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
<veleiro> Subsystem: Dell Radeon HD 6350
xd1le has quit [Quit: leaving]
<veleiro> oh thanks for pointing out where the nix files for these drivers are
orivej has quit [Ping timeout: 240 seconds]
<veleiro> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/ati.nix whats the difference between ati drivers and radeon?
<{^_^}> [nixpkgs] @alapshin opened pull request #72778 → hunspell-dicts: add Russian dictionary → https://git.io/Je20e
<edef> radeon is the free software driver
<veleiro> yeah but i've seen in nix ati_unfree too
<edef> hm. not sure then
<veleiro> so i assumed "ati" was free
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « git: 2.23.0 -> 2.24.0 »: https://git.io/Je20U
<veleiro> nixos-option services.xserver.videoDrivers shows "ati_unfree" under examples, might me outdated. its not in the repo above
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.4-rc5 -> 5.4-rc6 »: https://git.io/Je20L
<veleiro> I've been using nixos for about a month or so and its really amazing how much more sense the system makes. its definitely the way forward
<{^_^}> [nix] @edolstra pushed 3 commits to recursive-nix: https://git.io/Je20O
jgeerds_ has joined #nixos
k41 has joined #nixos
johnny101 has quit [Quit: Konversation terminated!]
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
cosimone has joined #nixos
k41 has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra opened pull request #3205 → Recursive Nix support → https://git.io/Je20X
dreverri has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 252 seconds]
shibboleth has quit [Remote host closed the connection]
chreekat_ has quit [Ping timeout: 276 seconds]
hisham has joined #nixos
alter2000_ has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
wormwood has joined #nixos
<infinisil> Wow! ^^
dreverri has joined #nixos
<infinisil> Suddenly recursive nix!
<dminuoso> veleiro: Now if only nix didn't have deficiencies like lack of documentation.. lack of a strong module system... lack of types.. :p
<dminuoso> Imagine what we could have.
<infinisil> dminuoso: By module system you mean what flakes will do?
toppler has joined #nixos
<infinisil> Or the nixos module system?
endformationage has joined #nixos
johnny101 has joined #nixos
<veleiro> Of those things I've only needed the documentation part
<samueldr> >> This PR also adds some ccache-like functionality to Nix's makefiles that wraps GCC calls in Nix derivations to enable caching and remote builds. This requires recursive Nix when you want to do this inside a Nix build.
<manveru> still not sure if that's for _all_ GCC builds, or only nix itself
<manveru> but looks cool af :)
<dminuoso> infinisil: Not quite. Im rather talking about a file module system. Right now import is basically closer to an eval, but it might be interesting if we could have a module with a bunch of nix expression inside.
<dminuoso> With definable exports, etc..
<dminuoso> veleiro: "need" is a bit difficult. Having worked with highly expressive type systems, its extremely annoying to write any non-trivial code in nix.
<samueldr> manveru: looks like it's to nix's makefile
<dminuoso> You don't need Intel® 64 and IA-32 Architectures Software Developer Manuals either for low level work, but I'd rather have them than not have them...
<veleiro> does guix have types and modules because of its use of guile?
<niksnut> manveru: yeah only nix
<veleiro> i would suppose not since underlying its still nix
<niksnut> I'd like to factor it out into a gcc wrapper
<niksnut> like the ccache wrapper in nixpkgs
<samueldr> wow, that would be amazing
<{^_^}> [nixpkgs] @LnL7 opened pull request #72779 → inkscape: fix darwin build → https://git.io/Je2En
<infinisil> dminuoso: Ah so haskells notion of module system
<dminuoso> infinisil: Sure if you like, its not about Haskell really either. It's a fairly common feature. :)
chreekat_ has joined #nixos
jb55 has joined #nixos
<dminuoso> I mean we can sort of work around it by just writing a bit attribute set..
gxt has quit [Remote host closed the connection]
<infinisil> Yeah, and that seems fairly good already imo
<dminuoso> (But I must admit, the freedom to interleave exported and non-exported-but-module-wide declarations is really juicy)
<niksnut> the nixos module system *has* types, but they're very dynamic
shibboleth has joined #nixos
<infinisil> dminuoso: You can do something like "{ inherit (rec { ... }) exported symbols; }"
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> And inside the rec everything can reference every other thing
<dminuoso> niksnut: They are not types in the type theory sense.
dansho has quit [Ping timeout: 265 seconds]
<dminuoso> And Im not completely unfair, I admit they are better than nothing. But I'd rather have row types. :)
<{^_^}> [nixpkgs] @FRidh merged pull request #72762 → rictydiminished-with-firacode: fonttools requires python3 → https://git.io/Je2n4
<{^_^}> [nixpkgs] @FRidh pushed commit from @ijaketak to master « rictydiminished-with-firacode: fonttools requires python3 (#72762) »: https://git.io/Je2Eg
<manveru> is there any experiment with hnix to add types yet?
<wedens[m]> what's a good pre-flakes approach to living without channels?
<manveru> wedens[m]: we use niv for that
<adisbladis> wedens[m]: Have a local git checkout of nixpkgs, point NIX_PATH to it
<wedens[m]> manveru: do you use it for nixos?
<manveru> wedens[m]: yeah
<azazel> hi manveru!
<wedens[m]> adisbladis: nixpkgs repo is pretty heavy to clone on all machines...
<immae> wedens[m]: I completely abandonned channels in favor of NIX_PATH. There is only nix-env for which you need extra care and specify "-f '<nixpkgs>'" each time you call it (otherwise it will look for channels), but other than that it works all right
<manveru> azazel: heya :)
<adisbladis> wedens[m]: How are you deploying your machines? I typically don't have a nixpkgs on the remotes
<immae> and you can use `NIX_PATH=nixpkgs=channel:nixpkgs-unstable` (+ overlays if you want customization) instead of cloning the whole repo
<manveru> wedens[m]: i use krops+niv+wireguard to deploy all my machines
<adisbladis> Locally on each node I'd just point NIX_PATH to unstable
<adisbladis> (the tarball ^)
<wedens[m]> manveru: how do you bootstrap nixos?
<wedens[m]> adisbladis: I just do it locally, so no nixops, etc
<azazel> wedens[m]: I plan to look into niv, but in the meantime I use customized NIX_PATH ... see for example https://github.com/azazel75/giskard-configuration/blob/master/shell.nix#L28
k41 has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<manveru> wedens[m]: pretty manual, install a minimal nixos, run syncthing to get my nixos config, then rebuild
<azazel> wedens[m]: you can find the commit hashes inside inside each channel release
<wedens[m]> immae: but it'll make nix nudge those channels/tarballs quite often
<adisbladis> wedens[m]: You could also just point NIX_PATH to the github tarballs
<manveru> that's what niv generates for my nixos config https://www.irccloud.com/pastebin/FEhDrnQb/sources.json
<immae> wedens[m]: if you point to a specific file (rather than a moving channel as in my example) I think nix will be smart and download it once only forever (need to check)
<manveru> basically just pinning hashes for fetchTarball
<manveru> immae: it's subject to the tarball ttl
<manveru> so randomly you'll get delays when it redownloads it
<immae> ah
<wedens[m]> I've discovered recently that fetchTarball is broken with nixos-install :/
<azazel> yes but the ttls what is, 1 h?
<immae> manveru: I hoped it would somehow know that the file doesn’t change, but now that I write it I realize it is quite hard to be that smart :D
chrisaw has joined #nixos
<manveru> azazel: it's configurable
<manveru> i set it to 7 days
<wedens[m]> what happens when it expires and I need to change some nixos option that doesn't need online? :D
<manveru> it'll fail
<manveru> if you're offline :)
<wedens[m]> (just curious, not that I need that often)
<wedens[m]> I've noticed that ttl applies even to builtins.fetchTarball with specified sha256
<wedens[m]> which was unexpected
<manveru> i'm not sure how that interacts... maybe it can be GC'd after the ttl?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #72778 → hunspell-dicts: add Russian dictionary → https://git.io/Je20e
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je2ue
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #72735 → libjpeg-turbo: Add flag to build static libraries as well → https://git.io/Je2k3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je2uU
<{^_^}> [nixpkgs] @matthewbauer merged pull request #72566 → retroarch: update cores → https://git.io/JegzN
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je2uT
fendor_ has joined #nixos
leo_ has joined #nixos
<wedens[m]> https://github.com/NixOS/nix/issues/2405 hopefully there will be nix release before I need to bootstrap another machine :)
<{^_^}> nix#2405 (by cleverca22, 1 year ago, closed): builtins.fetchTarball breaks under local?root=
<wedens[m]> * release with the fix
terlar has quit [Ping timeout: 264 seconds]
jlmeeker has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
<clever> wedens[m]: you can also generate an iso with an overlay applied to nix
<clever> wedens[m]: https://gist.github.com/cleverca22/39815196e9cbe437a7612a7cafb8f247 lets you apply any configuration.nix you want while building the iso
<wedens[m]> clever: thanks. that might be useful sometimes
MmeQuignon has joined #nixos
<aanderse> in nixos module system if i have a listOf option is there a way to control the ordering of how things are merged?
<wedens[m]> btw, can I use /nix/store copied to external hdd as a cache during nixos-install?
<clever> wedens[m]: --option substituters local?root=/media/2nd/
<clever> wedens[m]: that will look in /media/2nd/nix/store/
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> wedens[m]: you may want https://cache.nixos.org to also still be in the list
alter2000_ has joined #nixos
<wedens[m]> clever: thanks! is this pseudo-url syntax documented somewhere? I was wondering just today what auto?trusted=1 means
<leo_> clever, since you are here (heh)
<leo_> Are list appends O(n) in Nix?
<clever> leo_: each time you append to a list, it has to copy the entire list, so it gets slower with each item
<clever> > builtins.concatLists [ [1] [2] [3] ]
<{^_^}> [ 1 2 3 ]
<leo_> Hm.
<{^_^}> [nixpkgs] @lheckemann merged pull request #68193 → nixos-option C++ rewrite with --all → https://git.io/fjjE2
<{^_^}> [nixpkgs] @lheckemann pushed 32 commits to master: https://git.io/Je2u0
<clever> leo_: if you have a list of lists, its cheaper to use concatLists, that will pre-allocate room for 3 elements, then copy things from each input to the 1 output
<clever> > [1] ++ [2] ++ [3]
<{^_^}> [ 1 2 3 ]
<leo_> I'm concerned about systemPackages.
<clever> leo_: while this, will copy 1+2->1st, then copy 1+2+3 -> 2nd
<leo_> If that's the case, it might be better to use a huge systemPackages (as jwiegley does) instead of appending 1 by 1 granularly.
toppler has quit [Ping timeout: 268 seconds]
<clever> leo_: i would try using concatLists to generate the big list from smaller ones
<clever> wedens[m]: partially, one min
<leo_> clever: I'm refactoring my config now that I'm a bit more experienced with Nix*
<leo_> What would you suggest in this case? Adding an option? Dynamic imports?
<clever> wedens[m]: i went thru my irc logs to find every uri, and then started to add examples
MarcWebe1 has joined #nixos
<wedens[m]> clever: nice. thanks
<leo_> And btw, nice gists.
* aanderse smacks head and reads section on priorities again :)
<{^_^}> [nixpkgs] @bjornfor merged pull request #72759 → nixos/nat: fix typo in comment → https://git.io/Je2Gc
<{^_^}> [nixpkgs] @bjornfor pushed commit from @mveytsman to master « nixos/nat: fix typo in comment »: https://git.io/Je2uK
<wedens[m]> aaron: I think priorities control overriding, not merging
* aanderse continues reading manual...
<aanderse> yeah... hmm
<aanderse> how do i control order in which things are merged then?
<infinisil> There's different kinds of priorities!
<infinisil> aanderse: mkBefore/mkAfter/mkOrder
<aanderse> ohh a functional programmer! yay i'm saved!
<infinisil> That's the ordering priorities
<infinisil> And the mkForce/mkDefault/mkOverride ones are overriding prioritie
<infinisil> s
hyper_ch2 has quit [Remote host closed the connection]
<aanderse> infinisil++
<{^_^}> infinisil's karma got increased to 156
alter2000_ has quit [Ping timeout: 250 seconds]
<infinisil> :D
Baughn has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
Baughn has joined #nixos
<wedens[m]> yet another useful and undocumented feature
dreverri has quit [Remote host closed the connection]
<aanderse> yeah... you sort something because it is hard to read
<aanderse> then you run a test
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 6 commits to nixos-19.09-small: https://git.io/Je2lv
<aanderse> and it crashes hard
<aanderse> and you realize the ordering was explicit
alter2000_ has joined #nixos
<aanderse> possibly time to add a comment
dreverri has joined #nixos
<Twey> I think I might just not understand overlays: https://hastebin.com/edopujewaw.shell . I expected `pkgs.super.overlays` to be empty (i.e. it's the package set without the overlay applied)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72459 → asunder: 2.9.4 -> 2.9.5 → https://git.io/JegOV
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « asunder: 2.9.4 -> 2.9.5 (#72459) »: https://git.io/Je2zv
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/108021d6e1e (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<wedens[m]> that's why you have to specify `overlays = [];` if you import nixpkgs from an overlay :D
toppler has joined #nixos
dreverri has quit [Ping timeout: 265 seconds]
talqu has joined #nixos
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #72782 → terraform-providers: bump versions → https://git.io/Je2zt
exfalso has quit [Quit: Lost terminal]
<Twey> Oh no, I see that the overlay's properties are not in the set even though `overlays` is populated
duairc_ is now known as duairc
rgrau has joined #nixos
hexa has joined #nixos
talqu has quit [Remote host closed the connection]
jmeredith has joined #nixos
marcinja has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
dreverri has joined #nixos
sondr3 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #72784 → python: add mesonpep517 as build system → https://git.io/Je2zN
alter2000_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #72605 → ocamlPackages.mlgmpidl: 1.2.10 -> 1.2.11 → https://git.io/JegKX
<{^_^}> [nixpkgs] @vbgl pushed commit from @r-ryantm to master « ocamlPackages.mlgmpidl: 1.2.10 -> 1.2.11 »: https://git.io/Je2ge
<{^_^}> [nixpkgs] @jonringer merged pull request #72637 → gitAndTools.pre-commit: 1.18.3 -> 1.20.0 → https://git.io/JegDo
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « gitAndTools.pre-commit: 1.18.3 -> 1.20.0 »: https://git.io/Je2gk
FRidh has joined #nixos
alter2000_ has joined #nixos
dsx has quit [Quit: dsx]
civodul has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72623 → python38Packages.license-expression: 0.999 -> 1.0 → https://git.io/Jeg1g
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.license-expression: 0.999 -> 1.0 »: https://git.io/Je2gG
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72644 → python38Packages.xdis: 4.0.4 -> 4.1.2 → https://git.io/JegSR
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.xdis: 4.0.4 -> 4.1.2 »: https://git.io/Je2gR
dsx has joined #nixos
<{^_^}> [nixpkgs] @ckauhaus merged pull request #70272 → gnupatch: rename patch files to match their CVE ids [19.09] → https://git.io/Jecqc
<{^_^}> [nixpkgs] @ckauhaus pushed 2 commits to staging-19.09: https://git.io/Je2gu
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 32 commits to nixos-unstable-small: https://git.io/Je2gg
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d9b40f6397d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
domogled has joined #nixos
tabasko has quit [Quit: tabasko]
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #72785 → ocamlPackages.reason: 3.5.0 → 3.5.1 → https://git.io/Je2gw
<{^_^}> [nixpkgs] @mmahut closed pull request #66937 → pythonPackages.jenkinsapi: fixing tests → https://git.io/fjF1s
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #72729 → nixos/trac: init → https://git.io/Je2f3
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/Je2gr
<{^_^}> [nixpkgs] @jonringer merged pull request #72020 → update most packages I maintain → https://git.io/Je2go
<{^_^}> [nixpkgs] @jonringer pushed 10 commits to master: https://git.io/Je2gi
rauno has joined #nixos
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72449 → python3Packages.solo-python: 0.0.15 -> 0.0.18 → https://git.io/Jegm5
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.solo-python: 0.0.15 -> 0.0.18 »: https://git.io/Je2gy
fendor_ has joined #nixos
cross has joined #nixos
wildtrees has joined #nixos
hexa has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<Synthetica> When downloading large files (1G+) in firefox, I keep getting disconnected from WiFi and it is very strange (with NetworkManager)
captn3m0- has joined #nixos
<Synthetica> `journalctl $(type -p NetworkManager)` gives `Nov 04 18:06:22 AquaRing NetworkManager[2753]: <warn> [1572887182.6914] sup-iface[0x2741910,wlp4s0]: connection disconnected (reason -4)`
aae has joined #nixos
captn3m0 has quit [Ping timeout: 268 seconds]
hexa has joined #nixos
<wedens[m]> check dmesg for driver errors
<wildtrees> Synthetica, use wget for large downloads, I believe it has resume functionality
<{^_^}> [nixpkgs] @jpotier opened pull request #72787 → Vault: fix config when file backend is used → https://git.io/Je22T
shiver has quit [Ping timeout: 264 seconds]
shiver has joined #nixos
<Synthetica> wedens[m]: I don't see anything strange in dmesg, only "reconnecting", basically
captn3m0 has joined #nixos
captn3m0- has quit [Ping timeout: 240 seconds]
aae has quit [Quit: Leaving]
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
hexa has quit [Ping timeout: 250 seconds]
<Synthetica> wildtrees: My first instinct too, but it is a Google Drive file, so it's not quite trivial
<wildtrees> :(
xkapastel has quit [Quit: Connection closed for inactivity]
Ariakenom has quit [Ping timeout: 240 seconds]
hexa has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #72788 → gnome3.devhelp: fix blank pages → https://git.io/Je228
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
<Synthetica> Oh, it seems like Google Drive downloads do resume properly with wget :)
gagbo has joined #nixos
fleaz has left #nixos [#nixos]
hexa has quit [Ping timeout: 246 seconds]
waleee-cl has joined #nixos
hexa has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #72789 → Httpd again → https://git.io/Je22g
sylv-io has quit [Quit: bye]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #72790 → perlPackages.MySQLDiff: init at 0.60 → https://git.io/Je22V
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<tetdim> Ericson2314, you around?
<tetdim> you gotta fix the dodgy looking meson code before i merge it :)
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<tetdim> OK
<tetdim> SO
<tetdim> NIX
<tetdim> ON THIS
<tetdim> MAKE IT HAPPEN
<Ericson2314> tetdim: hi
<Ericson2314> does freebsdd have pkgconfig?
<tetdim> yes
<tetdim> pkgconf
<Ericson2314> cause it is technically unideomatic to do so much find_library
<tetdim> meson doesnt use pkg config
<tetdim> it will try to yes
<tetdim> but then it will fall back for a directory checkm
<Ericson2314> sure that's fine
<Ericson2314> did you try `dependency('zlib')` and friends?
<tetdim> yeo
<tetdim> doesnt work
<tetdim> give it a go :)
<tetdim> if you figure it out ill buy you a cookie
<Ericson2314> I have no freebsd to test with
<Ericson2314> did it fail with linux for you to?
<tetdim> ye
<tetdim> im on arch and editline is a bit iffy
<tetdim> but the libcheck will pass if the lib is there
<tetdim> so if you dont have pkgconf compat. version you dont need to do header gymnastics
<Ericson2314> tetdim: so for libsodium do we a gree that the enabled disable vs auto thing is good?
<Ericson2314> tetdim: also, I'm afraid its most important to focus on nixpkgs linx + darwin
<Ericson2314> and not other linux distros just yet
<Ericson2314> I mean don't screw those over of course
<Ericson2314> but we have to have no regressions on the core stuff to get this merged
<{^_^}> [nixpkgs] @jlesquembre closed pull request #68538 → clj-kondo: 2019.07.31-alpha -> 2019.08.21-alpha → https://git.io/Je22A
<Ericson2314> `dirs: []` will break nixpkgs
<Ericson2314> now we probably should patch gcc if upstream won't, but that will add more latency
<Ericson2314> I did simplify HAVE_STRUCT_DIRENT_D_TYPE for you, though
<tetdim> Ericson2314, i have some macs i can test that too :)
kyren[m] has joined #nixos
<tetdim> Ericson2314, that libsodium change is a regession in my mind
<tetdim> except the else line which is a valid change
<Ericson2314> I'm looking at it
alex-helfet has joined #nixos
wildtrees has quit [Remote host closed the connection]
<tetdim> :)
wildtrees has joined #nixos
<tetdim> Ericson2314, i guess a lot of nix devs are darwin based then eh?
<Ericson2314> not me, but yeah
<Ericson2314> x86_64-linux x86_64-darwin aarch64-linux are 3 most supported
<gchristensen> I thinkmost of Nix's devs are on linux
dreverri has quit [Remote host closed the connection]
jlmeeker has quit [Ping timeout: 265 seconds]
vika_nezrimaya has joined #nixos
dreverri has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
jlmeeker has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 12 commits to nixos-unstable-small: https://git.io/Je2aU
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
dreverri has quit [Ping timeout: 240 seconds]
kyren has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #72788 → gnome3.devhelp: fix blank pages → https://git.io/Je228
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/Je2aI
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c97ca709c1d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @mmahut merged pull request #72779 → inkscape: fix darwin build → https://git.io/Je2En
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je2aL
jlmeeker_ has joined #nixos
hexa has quit [Ping timeout: 250 seconds]
jlmeeker has quit [Ping timeout: 265 seconds]
kyren[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @mmahut merged pull request #72738 → tre-command: init at 0.2.2 → https://git.io/Je2kX
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/Je2aG
gagbo has quit [Ping timeout: 240 seconds]
Okinan has joined #nixos
gagbo has joined #nixos
toppler has joined #nixos
LysergicDreams has joined #nixos
lsix has quit [Ping timeout: 276 seconds]
erasmas has joined #nixos
Ariakenom has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to gcc-9: https://git.io/Je2a2
fresheyeball has joined #nixos
<fresheyeball> why can't I string interpolate an int?
<fresheyeball> "localhost:${port}" cannot coerce an integer to a string
<tilpner> > "localhost:${toString 42}"
<{^_^}> "localhost:42"
<fresheyeball> ok
<fresheyeball> tilpner++
<{^_^}> tilpner's karma got increased to 52
<fresheyeball> why though?
<fresheyeball> why can so many things interpolate, but not ints?
<tilpner> > "localhost:${[42]}"
<{^_^}> cannot coerce a list to a string, at (string):270:2
<tilpner> Just strings, derivations and paths interpolate intuitively
<fresheyeball> why though?
<clever> > "${["one" "two"]}"
<{^_^}> cannot coerce a list to a string, at (string):270:2
<fresheyeball> why not have everything interpolate?
<clever> fresheyeball: then you have javascript
<fresheyeball> clever: are you telling me that strings, derivations, and paths, uniquely have a principled coerce?
<tilpner> I don't know why integers don't interpolate without explicit conversion
<clever> fresheyeball: paths are special, and will copy to the store when you try to coerce
<tilpner> It makes sense for lists, sets, and functions to not interpolate implicitly
<clever> fresheyeball: derivations are just sets that have an outPath attr on them
<fresheyeball> right
<clever> > let foo = { outPath = "bar"; }; in "${foo}"
<{^_^}> "bar"
<gchristensen> I don't think you're helping jusify the curretnbehavior, clever :P
<fresheyeball> clever: I know, but I don't buy that the reason we have to explicitly cast numbers is because we don't want to be JavaScript
<clever> paths are the only one that is really special
<leo_> How do I test a totally new nix config without a vm?
<gchristensen> fresheyeball: a good question
<clever> everything else is just a string, though it might be hidden in .outPath
FRidh has quit [Quit: Konversation terminated!]
<clever> leo_: nixos-rebuild build-vm -I nixos-config=./configuration.nix
<leo_> If I'm not doing anything too radical, can I just rebuild and if needed rollback?
<tilpner> leo_: nixos-rebuild test is an option
<leo_> Hm.
<clever> leo_: build-vm will generate a vm that doesnt touch the host
<fresheyeball> clever: That makes it sound like to be converted implicitly there must be a function from X -> String
<leo_> I'm using nixops.
<leo_> But I'll try and learn that.
<fresheyeball> which is reasonable, but then int counts for sure
<leo_> clever++
<{^_^}> clever's karma got increased to 232
hexa has joined #nixos
chreekat_ has quit [Quit: quitting]
MmeQuignon has quit [Quit: WeeChat 2.4]
vika_nezrimaya has quit [Remote host closed the connection]
<tetdim> Ericson2314, will you be done soon or should i head home :)
JonReed has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #72410 → [19.09] backport #71851 handbrake: fix missing audio → https://git.io/Jegvg
<{^_^}> [nixpkgs] @bjornfor pushed commit from @acowley to release-19.09 « [19.09] backport #71851 handbrake: fix missing audio »: https://git.io/Je2a1
dreverri has joined #nixos
Thra11 has joined #nixos
<Ericson2314> tetdim: hi
<Ericson2314> sorry pinged you in wrong channel
<Twey> https://hastebin.com/tujuyuseza.txt — what's the deal with overrideAttrs? Derivations using `stdenv.mkDerivation` from nixpkgs have it, but derivations I create with `stdenv.mkDerivation` don't?
<Twey> overrideDerivation, sorry
<Ericson2314> #nixos-dev
<Ericson2314> though your PR might be a better topic there
<Ericson2314> anyways, there is no good way to simplify libsodium other than getting the wrapper dependency
<Ericson2314> *getting rid of
<Ericson2314> tetdim: oh wait i have oen more trick
<Ericson2314> disabler : true
<Twey> In fact, I can copy-paste the definition of `hello` from nixpkgs into my repl, and it doesn't have an `overrideDerivation` attribute
<Ericson2314> nope
LysergicDreams has quit [Ping timeout: 246 seconds]
<Ericson2314> no good
chloekek has joined #nixos
<alexarice[m]> Twey: I think the overrides are created by callPackage
<alexarice[m]> though not 100% sure
LysergicDreams has joined #nixos
<adisbladis> Yes :) override/overrideAttrs are added by lib.makeOverrideable
<adisbladis> Which is getting called by callPackage
<adisbladis> Twey: So if you want to you could use lib.makeOverrideable directly
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72748 → theharvester: 3.0.6 -> 3.1 → https://git.io/Je2Yo
<{^_^}> [nixpkgs] @c0bw3b pushed to master « theharvester: 3.0.6 -> 3.1 »: https://git.io/Je2aH
<Twey> adisbladis: Ahh, thanks :)
<tetdim> just getting rid of the wrapper is good
<tetdim> you dont need it :)
<tetdim> just if get option
<tetdim> Ericson2314,
Thra11 has quit [Quit: WeeChat 2.5]
<Ericson2314> tetdim: by wrapper I mean declare_dependency
<Ericson2314> get rid of that?
<tetdim> line 479
<tetdim> you are declaring the dep twice
<tetdim> its not needed
<tetdim> no reason for it
<tetdim> remove line 479 :)
<tetdim> move the find library inside the if
<tetdim> Ericson2314
<Ericson2314> tetdim: no that's not possible
<Ericson2314> .found() has to be called on that
fendor_ has quit [Remote host closed the connection]
<tetdim> whyt
<tetdim> why does it need found??
<Ericson2314> declared_dependency doesn't have a required flag
<tetdim> it does inside else
<Ericson2314> so we can't make decarling the dependnecy non-conditional
<tetdim> and as i said, required defautls to true
<Ericson2314> tetdim: then we loose "auto"
<fresheyeball> when I write a nixos module
<fresheyeball> what is the best way to allow an optional option?
<fresheyeball> do I set a default with a special value and then check?
<fresheyeball> is there a null check I can do?
<clever> fresheyeball: give it a sane default? types.nullOr?
<Ericson2314> tetdim: auto means decide whether to use based on whether the dependency exists
<Ericson2314> it is good because it matches what autoconf did before
<fresheyeball> clever: nullOr sounds right
<Ericson2314> but you need to actually stick it in the required field of something
<Ericson2314> and then call found on that
<fresheyeball> Ericson2314: hi there
<tetdim> why does sodium need to be an auto anyway
<tetdim> auto is bad
<tetdim> its not supported properluy
<Ericson2314> fresheyeball: hi!
<Ericson2314> tetdim: anything that could be auto should be
<tetdim> disagree
<Ericson2314> so people that relied on autoconf doing all the magic have the easiest transition path
<tetdim> the meson_options holds the default
<tetdim> you dont need auto
<leo_> Is there a dummy pkg?
<leo_> To use instead of mkIf or a conditional append?
<Ericson2314> fresheyeball: there is a "or null" type
<fresheyeball> Ericson2314: how do I do the check?
dreverri has quit [Ping timeout: 276 seconds]
<fresheyeball> is there an isNull function?
fusion809 has quit [Remote host closed the connection]
<adisbladis> fresheyeball: `if value == null` ?
<Ericson2314> tetdim: auto is dynamic
<Ericson2314> and auto can be the default in meson_options.txt
<Twey> alexarice[m], adisbladis: Yeah, that helped, thank you :)
dreverri has joined #nixos
<tetdim> Ericson2314, that still doesnt matter because the basic fact is thats a bad way of doing it
<tetdim> here
<tetdim> you should never need to declare dependencies twice
trepanne has quit [Remote host closed the connection]
<tetdim> maybe put the config set in a .found() if
toppler has quit [Ping timeout: 268 seconds]
<tetdim> but apart from that you checks inside your checks to check while you check
<tetdim> dont need :)
<Ericson2314> tetdim: that won't work because if it's auto and not found or disabled, downstream will never know
<Ericson2314> declare_dependency(....).found() == true always
<Ericson2314> tetdim: the reason it's annoying is because the find_library + declare dependency is not ideomatic
asymmetric_ has joined #nixos
ambro718 has joined #nixos
snake266 has joined #nixos
<tetdim> so why do you need auto
<tetdim> why not check with the cpp if it exists
<tetdim> if exist, build dep
<tetdim> you still dont need auto
ris has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
<Ericson2314> tetdim: the problem is there is no fixed ordering between "checkingn" and "deciding"
h0m1 has joined #nixos
hexa has quit [Ping timeout: 245 seconds]
<Ericson2314> enabled -> decide use then check it exists
<Ericson2314> auto -> check if exists, and decide to use if it does
<Ericson2314> disabled -> decide not to use, don't check
<snake266> Hello. I have some trouble: I have BCM43142 network card, but i dont know what i should write in configuration.nix (broadcom-wl for example)
<Ericson2314> so sometimes you decide then check (enabled) and sometimes you check then decide (auto)
<Ericson2314> this was the thing that was really hard to get write with autoconf
<Ericson2314> but meson does it automatically with the required + enable/disable/auto options
<Ericson2314> enabled -> required too; disabled -> required false; auto -> skip check and force not found
<Ericson2314> tetdim: https://mesonbuild.com/Build-options.html#features check out that, see their example with the `.found()`
<tetdim> Ericson2314, https://snipboard.io/gK7ro6.jpg
alex-helfet has quit [Ping timeout: 276 seconds]
<tetdim> i know how features work
<tetdim> i also know theyre really lame
<Ericson2314> tetdim: is the jpg you posted OK with you?
<tetdim> its _more ok_
<tetdim> but i still dislike features
<tetdim> theyre clunky
<tetdim> in fact
<{^_^}> [nixpkgs] @dtzWill closed pull request #61469 → texlive: 2019 (wip) → https://git.io/fjWyR
toppler has joined #nixos
Ariakenom has quit [Ping timeout: 265 seconds]
<tetdim> https://snipboard.io/97EKLI.jpg Ericson2314 this makes me least unhappy
<tetdim> erm, 482 being libsodium_lib
<tetdim> also while youre around, maybe fix the libseccomp dep too :D
<Ericson2314> tetdim: that's good with me I'll push
<tetdim> kk
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Ericson2314> tetdim: what's wrong with them? or make them work the same way you mean?
<clever> ,ping
<{^_^}> pong
<tetdim> Ericson2314, https://snipboard.io/ySrdQG.jpg like that :)
<tetdim> im feeling lazy
sigmundv has joined #nixos
<Ericson2314> ah gotcha
<Ericson2314> will do
k41 has quit [Ping timeout: 265 seconds]
<tetdim> :)
<tetdim> ah aws s3 one too
<tetdim> no wait aws isnt a dep
<tetdim> nevermind
<tetdim> Ericson2314, after that just clean up the history a bit and ill merge ^^
jlmeeker_ has quit [Ping timeout: 240 seconds]
pie_ has quit [Quit: pie_]
jlmeeker_ has joined #nixos
<Ericson2314> tetdim: do you want the custom failure mesage for libsetcomp?
<tetdim> errrrrr
<tetdim> yes?
<tetdim> do i?
Ariakenom has joined #nixos
<tetdim> oh you mean the error()
<tetdim> yes
<tetdim> its explicit
<tetdim> tells the user exactly why it wont work
<Ericson2314> not_found_message
<tetdim> that was the idea with this re write
MarcWebe1 has quit [Quit: Lost terminal]
<tetdim> mm it looks a bit clunky in hindsight
<tetdim> maybe remove it i guess
<tetdim> also make sure in all your if's you have ( ) around things
asymmetric_ has quit [Ping timeout: 240 seconds]
gagbo has quit [Ping timeout: 240 seconds]
<Ericson2314> tetdim: the not_found_message gets us best of both worlds :)
<Ericson2314> will use that
<Ericson2314> I just found it!
<Ericson2314> didn't know about it before
gagbo has joined #nixos
<tetdim> ahh yea
JonReed has joined #nixos
<tetdim> you can add message : to the dependency
<Ericson2314> pushed
<Ericson2314> will look at history
<tetdim> :)
Ariakenom has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
<Ericson2314> tetdim: ok cleaned up history a bit; can only do so must because of maste bmerge
<tetdim> aye
snake266 has quit [Remote host closed the connection]
asymmetric has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jlesquembre opened pull request #72792 → clj-kondo: 2019.10.26 -> 2019.11.03 → https://git.io/Je2Vh
<tetdim> Ericson2314, looks good. think this breaks some stuff with freebsd though
<tetdim> im currently working on a project that should make that issue null & void
<Ericson2314> oh?!
<tetdim> yes :)
<tetdim> its.. not done
<tetdim> wont be for a while
psyanticy has quit [Quit: Connection closed for inactivity]
Soo_Slow has quit [Ping timeout: 240 seconds]
sondr3 has joined #nixos
<Ericson2314> oh interesting
<tetdim> :)
<tetdim> maybe
bvdw has quit [Read error: Connection reset by peer]
<sondr3> anyone here used PostgreSQL in a `shell.nix` file? I keep getting `FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": Permission denied`
<sondr3> I created the directory as `root`, so my regular user has no access
mexisme has joined #nixos
bvdw has joined #nixos
<sondr3> and the guides I've found just go from initdb to running it without hitting this error
<gchristensen> probably the best bet is to change all the run-time / data dir params to use something in ./
knupfer has joined #nixos
<sondr3> I can't figure out how to change the lockfile location, the rest is fine
<sondr3> might have to dig into the manpages
<clever> sondr3: one minute
<clever> sondr3: ah, i think it has to do with the postgresql version, i did have code here to change it, but it was messy, so i went with the older version
<samueldr> postgres -i -D $somedir IIRC
<samueldr> not sure why -i
Ariakenom has joined #nixos
<sondr3> I get the same error with that command, I'm using the postgresql_11 package, might be something to do with it?
<samueldr> ah, for tcp/ip, I guess so I wouldn't need to setup the socket
<clever> sondr3: try again with just pkgs.postgresql
<samueldr> might have had issues specific to the app environment though
<samueldr> -k can set the UDS location
<sondr3> woo, got it working with `postgres -i -k (pwd)/.tmp/sockets/ -D .tmp/database/`
<sondr3> thanks clever and samueldr
toppler has quit [Ping timeout: 265 seconds]
mexisme has quit [Ping timeout: 268 seconds]
growpotkin has joined #nixos
srl295 has joined #nixos
Thra11 has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
pbb has quit [Client Quit]
dreverri has quit [Remote host closed the connection]
pbb has joined #nixos
toppler has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
dreverri has joined #nixos
gagbo has joined #nixos
talqu has joined #nixos
<talqu> i've upgraded to 19.09 and now gnome-software package stoped working. I see "no application data found" :/ Anyone had this issue too?
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « ghc8XX-binary: temporary export hack »: https://git.io/Je2wg
live2live has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @acowley to nixpkgs-19.09-darwin « [19.09] backport #71851 handbrake: fix missing audio »: https://git.io/Je2a1
asymmetric has joined #nixos
drakonis_ has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #72646 → qbittorrent: 4.1.8 -> 4.1.9.1 → https://git.io/JegSS
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je2ww
troydm has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/82efd775e37 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
dreverri has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @SRGOM closed pull request #67742 → manual.configuration.userManagement: mkpasswd → https://git.io/fjxis
iqubic has joined #nixos
<{^_^}> [nixpkgs] @SRGOM closed pull request #71074 → doc/stdenv.xml: wrapProgram buildInput requirement → https://git.io/Je2wK
<{^_^}> [nixpkgs] @SRGOM closed pull request #71120 → doc: nixos.configuration.abstractions: Explore → https://git.io/Je8lv
<{^_^}> [nixpkgs] @gebner merged pull request #72698 → digimend drivers for graphics tablets → https://git.io/Jegbv
<{^_^}> [nixpkgs] @gebner pushed 4 commits to master: https://git.io/Je2w6
<iqubic> I want to get Emacs set-up for doing Java development on Nix using the emacs packages lsp-java and dap-java as outlined here: http://www.skybert.net/emacs/enterprise-java-development-in-emacs/ How hard do you guys think this will be to accomplish?
dreverri has joined #nixos
<iqubic> Also, because I wasn't sure where to put this message, I put it in both here, and in #nixos-emacs too.
<talqu> gnome-software package `getUpdates not supported by backend`
andrewrk has left #nixos ["Leaving"]
talqu has quit [Remote host closed the connection]
asymmetric has joined #nixos
asymmetric has quit [Changing host]
selfsymmetric-pa has joined #nixos
Soo_Slow has joined #nixos
dsx has quit [Quit: dsx]
<{^_^}> [rfcs] @globin reopened pull request #32 → [RFC 0032] Phase running changes for better nix-shell use → https://git.io/fAZAo
dsx has joined #nixos
<sauyon[m]> is there a nicer way of writing `{ lib=lib; pkgs=pkgs; blah=blah; ... }`?
<gchristensen> > let a = 1; b = 2; c = 3; in { inherit a b c; }
<{^_^}> { a = 1; b = 2; c = 3; }
<iqubic> the nice way is `{ inherit lib pkgs blah... }`
<{^_^}> [nixpkgs] @risicle opened pull request #72793 → [r19.09] pythonPackages.koji: 1.13.0 -> 1.14.3 (security) →
<{^_^}> [nixpkgs] @lheckemann closed pull request #62949 → minecraft-overviewer: init at 0.14.40 →
<{^_^}> [nixpkgs] @petabyteboy opened pull request #72794 → qtwebengine: add patch for CVE-2019-13720 → https://git.io/Je2r8
<exarkun> booted nixos 19.03 on aws with 60GiB /
<exarkun> `nix-build` very quickly begins failing with disk full errors
<exarkun> 54 GiB remain free on /
<exarkun> what's up
<alter2000_> iqubic: if you want to do something like `{ lib = self.lib <etc>}` you can `{ inherit (self) lib <etc>}`
selfsymmetric-pa has quit [Remote host closed the connection]
<makefu> exarkun: my guess would be full /boot ?
<exarkun> makefu: /boot is on /
<makefu> mh, maybe ramdisk full?
<exarkun> maybe
<exarkun> /nix/store is on / too
<exarkun> so is /tmp
<exarkun> /run/user is a tmpfs
<clever> exarkun: nixos doesnt put builds in /run/user
<exarkun> I have no idea whose idea that is
<exarkun> clever: okay
selfsymmetric-pa has joined #nixos
<clever> exarkun: i would watch `watch -d df -h` while its building, and see which one fills up
<{^_^}> [nixpkgs] @jtojnar opened pull request #72795 → mm-common: 0.9.12 → 1.0.0 → https://git.io/Je2ri
zupo has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
fendor has joined #nixos
alter2000_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 246 seconds]
<exarkun> it seems to be /run/user. I guess morph is putting stuff there.
dreverri has quit [Remote host closed the connection]
<symphorien> TMPDIR points there maybe
<sauyon> gchristensen, iqubic: thanks!
<johanot> morph does that yes. Are we missing a cleanup step?
dreverri has joined #nixos
<sauyon> is there a way to just inherit the whole attrSet?
<symphorien> // ?
<sauyon> ?
<symphorien> Instead of
<sauyon> `inherit ...`
<symphorien> > let b = { a = 1; } in { inherit (b) a; }
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):270:20
<symphorien> > let b = { a = 1; }; in { inherit (b) a; }
<{^_^}> { a = <CODE>; }
<symphorien> > let b = { a = 1; } in { } // b
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):270:20
<symphorien> > let b = { a = 1; }; in { } // b
<{^_^}> { a = 1; }
<sauyon> the main issue here is that I don't have a name for the outer attrSet
dreverri has quit [Ping timeout: 240 seconds]
<sauyon> I could just let rec above I guess?
reallymemorable has joined #nixos
<symphorien> I don't really understand
<sauyon> I have a global attrSet, which I want to pass to an import
<exarkun> johanot: I wouldn't say it's obviously cleanup related. Available space on /run/user (actually /run/user/0) doesn't seem to be shrinking. But the ~ 1 GiB that something allocated to it isn't enough to hold the whole build's working state, I guess? Or whatever the peak utilization is, at least.
<{^_^}> [nixpkgs] @risicle opened pull request #72797 → [r19.03] pythonPackages.koji: 1.13.0 -> 1.14.3 (security) → https://git.io/Je2rp
reallymemorable has quit [Client Quit]
<sauyon> Because I'm lazy and I'd like to modularize my configuration. Honestly `inherit a b c` works well enough, so I guess it doesn't really matter.
civodul has joined #nixos
<infinisil> sauyon: Perhaps you could show the code in its entirety, much easier to give refactoring advice with that
<symphorien> import file attrset instead of import file { key = value ; }
<symphorien> The braces there are not part of the syntax
<exarkun> /run/user seems to be a pam_systemd thing and not really intended for large working sets (but I dunno who gets to decide what "large")
<{^_^}> [nixpkgs] @risicle opened pull request #72798 → [r19.03] file: add patch for CVE-2019-18218 → https://git.io/Je2oJ
<exarkun> It seems to be intended for things like control unix sockets and lock files
<johanot> exarkun: morph doesn't put anything "large" in temp (/run) iirc. just eval-machines.nix and some other working files, never outputs or similar.
<johanot> but with many morph builds, it all adds up, of course
<sauyon> https://b2.vc/ntirchanes but with many more attributes
<sauyon> and more imports
leotaku has quit [Ping timeout: 240 seconds]
<exarkun> johanot: This was the first morph build on a fresh VM. :/
<symphorien> Ah a fixpoint
<exarkun> johanot: The machines include some Haskell stuff which uses haskell.nix. Maybe just a coincidence but that's where it died, "tar: hackage/yi-0.7.1-r0-1b49077773f4a22aad5e060a41909b3188b31b349aca47a91db2d9e54e4ed505.nix: Cannot write: No space left on device"
<johanot> hmm, well, I don't know what problem you are seeing. I just know for sure that morph does lack a temp-file cleanup procedure :) don't know if your issue is morph-related though
<symphorien> Don't know. Maybe try to figure out what a scope is
dreverri has joined #nixos
<symphorien> (in <nixpkgs/lib>)
<johanot> exarkun: you could always try increasing: https://nixos.org/nixos/options.html#boot.runsize
<exarkun> I bind-mounted something from / over-top of it :( and the build is happily proceeding now
<johanot> if it works now, don't touch it :)
<exarkun> I'm not really sure what I would want to work differently. I'm kind of generally annoyed by this random new piece of complexity in the system.
<exarkun> johanot: sure, it works on this one VM until it reboots...
<exarkun> and I get to add "boot.runsize" to impurities that affect the output of this build.
<exarkun> actually I'm not sure boot.runSize controls this
<exarkun> I think it's pam_systemd and it might not be configurable
toppler has joined #nixos
jgeerds_ has quit [Ping timeout: 265 seconds]
<johanot> exarkun: right. perhaps: services.logind.extraConfig = ''RuntimeDirectorySize=<size>'';
<exarkun> yea okay, that looks about right
dracula has joined #nixos
troydm has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #71266 → gnupg-pkcs11-scd: init at 0.9.2 → https://git.io/Je44q
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/Je2oW
alter2000_ has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #71139 → ssh-agent: add agentPKCS11Whitelist option → https://git.io/Je8gp
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je2oR
leotaku has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to release-19.09 « wolfssl: 4.1.0 -> 4.2.0 »: https://git.io/Je2oV
lsix has joined #nixos
<sauyon> It seems like a scope is just a recursive set, but doing something similar predictably causes me to run into infinite recursion
<sauyon> I suspect this is not a problem that should be solved anyway haha
Mark__ has joined #nixos
<sauyon> thanks symphorien
<symphorien> sauyon: well nixpkgs is an attrset and does solve the problem you have
<sauyon> I guess you're right huh
<sauyon> maybe I'll look into it a bit more later
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nix] @kevinastock opened pull request #3206 → docs: correct default location of log directory → https://git.io/Je2oi
dreverri has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
Mark__ has quit [Remote host closed the connection]
dreverri has joined #nixos
dracula has quit [Remote host closed the connection]
knupfer has joined #nixos
knupfer has quit [Client Quit]
jb55 has quit [Quit: jb55]
knupfer has joined #nixos
jgeerds_ has joined #nixos
knupfer1 has joined #nixos
dreverri has quit [Ping timeout: 252 seconds]
knupfer has quit [Client Quit]
knupfer1 has quit [Read error: Connection reset by peer]
iqubic has quit [Ping timeout: 268 seconds]
dreverri has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je2o7
<{^_^}> [nix] @edolstra merged pull request #3206 → docs: correct default location of log directory → https://git.io/Je2oi
knupfer has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
philr has joined #nixos
<infinisil> sauyon: How about `let scope = { <definitions here> }; in with scope; { imp = import ./blah.nix scope; }`
dreverri has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72184 → perlPackages.MojoSQLite: 3.002 -> 3.003 → https://git.io/JeuRL
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je2oA
dreverri has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #72795 → mm-common: 0.9.12 → 1.0.0 → https://git.io/Je2ri
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Je2op
<{^_^}> [nix] @edolstra pushed 34 commits to flakes: https://git.io/Je2oh
jb55 has joined #nixos
<sauyon> That would probably work, maybe I'll just do that.
iqubic has joined #nixos
dreverri has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
dreverri has joined #nixos
<__red__> I have a friend who is running stable
<__red__> and wants to cherry-pick something from unstable
<__red__> I thought you could just add the second channel, right?
dreverri has quit [Remote host closed the connection]
drakonis has joined #nixos
<__red__> but then how would you specify which packages come from which channel?
rauno has quit [Ping timeout: 245 seconds]
<infinisil> __red__: Adding a channel with the name "unstable" should let you import its nixpkgs with `import <unstable> {}`
dreverri has joined #nixos
<__red__> thanks - I'll see if I can work that out - I don't think I have an import anywhere in my configuration
<__red__> appreciate it
gkmngrgn has joined #nixos
<infinisil> __red__: You can then use it e.g. like `nixpkgs.overlays = [(self: super: { some-package = (import <unstable> {}).some-package; })]`
<infinisil> To make `pkgs.some-package` be the unstable version everywhere
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
<infinisil> (probably want to use `import <unstable> { config = {}; overlays = []; }` to avoid impurities too btw)
drakonis_ has quit [Ping timeout: 245 seconds]
gagbo has quit [Ping timeout: 246 seconds]
<__red__> I think the plan was just to put it in environment.systemPackages as unstable.pkgname
dreverri has quit [Remote host closed the connection]
gagbo has joined #nixos
<infinisil> I see
<infinisil> ,unstable I think this explains it too
<{^_^}> I think this explains it too: nixpkgs-unstable or nixos-unstable? and: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F
<__red__> even better - thank you
<__red__> Yay! - That's actually how I thought to solve it! That means that I'm starting to get a better understanding.
drakonis has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
<infinisil> Nice :)
Neo-- has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #72798 → [r19.03] file: add patch for CVE-2019-18218 → https://git.io/Je2oJ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-19.03: https://git.io/Je2KR
toppler has quit [Ping timeout: 240 seconds]
cyraxjoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72800 → Drop Xfce 4.12 and promote Xfce module and packageset to 4.14 → https://git.io/Je2Kg
cyraxjoe has joined #nixos
wildtrees has quit [Quit: Leaving]
cyraxjoe has quit [Read error: Connection reset by peer]
<live2live> does nix have (or may be interested in having) an easy way to vote, comment, and read comments before installing like with the archlinux aur and aur helpers?
<live2live> this is a really useful feature to know what wont work but also what tweaks could be used to make a pkg work, and nix still has many fhs-caused issues, to name only those
<sauyon[m]> do you mean for the NUR?
cyraxjoe has joined #nixos
<selfsymmetric-pa> live2live: That would be a great feature! I really appreciated that in the AUR.
selfsymmetric-pa has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 265 seconds]
HedgeMage has joined #nixos
aindlq has quit [Quit: Leaving.]
gagbo has quit [Quit: I'm out !]
gagbo has joined #nixos
orivej has joined #nixos
Guest30070 is now known as ghost64
toppler has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
domogled has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @andir pushed 117 commits to staging-19.09: https://git.io/Je2KD
equivrel has joined #nixos
philr has quit [Ping timeout: 245 seconds]
<CMCDragonkai> nix-prefetch-url gives me a shorter than for sha256 compared to sha256sum
<CMCDragonkai> does it use a different base encoding?
<andi-> yes
<CMCDragonkai> what is the base encoding?
<andi-> most likely the custom base32 that nix used before base32 was a thing
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #72801 → nodePackages: Add gitmoji-cli → https://git.io/Je2KF
gagbo has quit [Ping timeout: 240 seconds]
<infinisil> CMCDragonkai: You can use nix-hash to convert hashes if needed
equivrel has quit [Read error: Connection reset by peer]
<blitzclone_> Hey everyone. I'm trying to capture a coredump when building a derivation. Is there some support for collecting coredumps in NixOS already?
gagbo has joined #nixos
<blitzclone_> specifically, ghc crashes reliably building cabal
<infinisil> blitzclone_: There's `systemd.coredump.enable`
<infinisil> But not sure if it works for derivation builds
<blitzclone_> infinisil: thanks. we'll see in a second ;)
<CMCDragonkai> infinisil: why not use all the way to base64?
iclanzan has joined #nixos
wildtrees has joined #nixos
<infinisil> blitzclone_: Oh, the option is enabled by default :/
<infinisil> I think
<infinisil> > nixos.config.systemd.coredump.enable
<{^_^}> true
<infinisil> Yea
<infinisil> Ah, I should've read the description
<infinisil> CMCDragonkai: Nix accepts hex as well fyi
<infinisil> (And maybe base64 too?)
<Ericson2314> tetdim: awwwwk linking of libexpr broke
<blitzclone_> infinisil: but that was helpful anyway, because I discovered coredumpctl and it actually did catch the core. ;) sorry, I'm spoiled by abortd on Fedora...
<Ericson2314> some boehm gc thing
<Ericson2314> not sure what's up
<Ericson2314> sorry!
<infinisil> blitzclone_: Oh nice, I never knew about coredumpctl myself
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
equivrel has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #72802 → More flexible systemd expression for minimal builds → https://git.io/Je26U
dreverri has joined #nixos
<iclanzan> I am trying to use a custom kernel version in NixOS. Can anyone point me in the right direction?
<{^_^}> iclanzan: 29 weeks, 2 days ago <infinisil> To fix the hfmt build on 19.03: mkdir -p ~/.config/nixpkgs/overlays && curl https://paste.infinisil.com/5AEb9fyR-c.nix > ~/.config/nixpkgs/overlays/hfmt-fix.nix
<infinisil> Hehe
arianvp[m] has joined #nixos
dreverri has quit [Ping timeout: 240 seconds]
<iclanzan> infinisil: thanks :P
nikivi has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
MightyJoe has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 264 seconds]
cyraxjoe has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: Quit.]
LysergicDreams has joined #nixos
cyraxjoe has joined #nixos
dansho has joined #nixos
MightyJoe has quit [Ping timeout: 240 seconds]
logzet_ has quit [Ping timeout: 245 seconds]
logzet has joined #nixos
acarrico has quit [Ping timeout: 250 seconds]
justanotheruser has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @acowley to nixos-19.09-small « [19.09] backport #71851 handbrake: fix missing audio »: https://git.io/Je2a1
sigmundv has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/82efd775e37 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
vuko has quit [Ping timeout: 276 seconds]
vuko has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #71684 → nixos: add python testing support → https://git.io/JeRH8
<{^_^}> [nixpkgs] @flokli pushed 17 commits to master: https://git.io/Je2iv
<{^_^}> [nixpkgs] @catern opened pull request #72803 → python-packages.pyswip: init at 0.2.9 → https://git.io/Je2iL
erasmas has quit [Quit: leaving]
mexisme has quit [Ping timeout: 240 seconds]
shibboleth has quit [Quit: shibboleth]
fendor has quit [Read error: Connection reset by peer]
toppler has joined #nixos
alter2000_ has quit [Quit: WeeChat 2.4]
kirelagin has joined #nixos
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
marcusr has quit [Read error: Connection reset by peer]
marcusr has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/Je2il
civodul has quit [Remote host closed the connection]
kvda has joined #nixos
pie_ has joined #nixos
soju has joined #nixos
johnny101 has quit [Quit: Konversation terminated!]
lukash_ is now known as lukash_|away
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « cmake: fix quoting typo »: https://git.io/Je2io
<{^_^}> [nixpkgs] @offlinehacker opened pull request #72804 → facetimehd-firmware: 1.43_4 -> 1.43_5 → https://git.io/Je2iK
ambro718 has quit [Ping timeout: 240 seconds]
jgeerds_ has quit [Ping timeout: 240 seconds]
evils has quit [Ping timeout: 240 seconds]
evils has joined #nixos
drakonis has joined #nixos
mexisme has joined #nixos
LysergicDreams has quit [Ping timeout: 268 seconds]
LysergicDreams has joined #nixos
gkmngrgn has quit [Ping timeout: 276 seconds]
acarrico has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
LysergicDreams has quit [Ping timeout: 276 seconds]
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @globin pushed 616 commits to structured-attrs: https://git.io/Je2i5