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,
Guest51535 has quit [Read error: Connection reset by peer]
slack1256 has joined #nixos
ghost64 has joined #nixos
ghost64 is now known as Guest30070
bhipple has quit [Ping timeout: 264 seconds]
petar has joined #nixos
bhipple has joined #nixos
soju has quit [Remote host closed the connection]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
bhipple has quit [Remote host closed the connection]
evanjs has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #72398 → vapoursynth: R47.2 -> R48 → https://git.io/JezFp
mbrgm has joined #nixos
<{^_^}> [nixpkgs] @azazel75 opened pull request #72399 → AnyDesk 5.1.2 -> 5.4.1 → https://git.io/JezFh
kvda has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
soju has joined #nixos
o1lo01ol1o has joined #nixos
BOOrucadu is now known as barrucadu
pjan has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
o1lo01ol1o has joined #nixos
soju has quit [Ping timeout: 276 seconds]
co1or has joined #nixos
<co1or> hi
<selfsymmetric-mu> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<co1or> i have a ques: did GNU/Linux make use of any Unix source code? or was it *100%* coded from scratch?
toppler has joined #nixos
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
<selfsymmetric-mu> How do I DM nixbot? Doesn't seem talkative when I send messages to it.
<selfsymmetric-mu> Or does it only work in this channel?
bsima has joined #nixos
Rusty1 has joined #nixos
<DigitalKiwi> you can dm it
<DigitalKiwi> i do when i want to ,locate
<m3thos> co1or: from *scratch* .. the linux kernel code was done from scratch by a group of hackers that shared their code on newsgroups. other parts, like glibc, gcc..etc.. were part of the GNU project for a free operating system..
<m3thos> you can go read the archives of the newgroups for the linux kernel history.. all the way back to 1991. first public version was v0.11 or something like that
pjan has joined #nixos
<m3thos> anyone using fwupd/fwupdmgr on nixos, I get weird failures of "failed to connect to daemon"
<selfsymmetric-mu> DigitalKiwi++
<{^_^}> DigitalKiwi's karma got increased to 5
ng0 has quit [Quit: Alexa, when is the end of world?]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72400 → accountsservice: fix vendor extensions → https://git.io/Jezb8
judson has quit [Ping timeout: 265 seconds]
LeshaInc has quit [Ping timeout: 246 seconds]
LeshaInc has joined #nixos
Thra11 has quit [Ping timeout: 265 seconds]
q3k has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-weekly] @Ericson2314 pushed 0 commits to 2-big-stdenv-refactors-1: https://git.io/JezbP
vuko has quit [Ping timeout: 240 seconds]
Am3nadiel has quit [Quit: FAMOUSamosfolks]
drakonis_ has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
aaa_ has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
ris has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 1000 commits to nixpkgs-unstable: https://git.io/JezbS
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/def9d098068 (from 23 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
q3k has joined #nixos
vuko has joined #nixos
growpotk- has joined #nixos
drakonis has joined #nixos
toppler has joined #nixos
Heirlung has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #72342 → itstool: 2.0.2 -> 2.0.6 → https://git.io/JezEf
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to staging: https://git.io/JezbN
<{^_^}> [nixpkgs] @nh2 merged pull request #70973 → meshlab: 20180627-beta -> 20190129-beta → https://git.io/JelBD
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jezbh
<pie_> samueldr: gchristensen: its very not good but it kind of works https://i.imgur.com/nGEq6UX.png \o/
<pie_> thats scraping from samueldr's logs, the logger doesnt have an api though
<pie_> hound does have an api for which i couldnt really find docs but the source code isnt too hard and theres editor plugins to look at too
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam closed pull request #66530 → [19.03] terraform: 0.12.3 -> 0.12.6 → https://git.io/fj5OT
bvdw has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to staging « gnome-doc-utils: do not propagate Python »: https://git.io/JezNt
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #72286 → rubocop: 0.75.0 -> 0.76.0 → https://git.io/JezNO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JezN3
Am3nadiel has joined #nixos
jonringer has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<pie_> some of the searches are pretty inflexible x'D
<{^_^}> [nixpkgs] @jtojnar pushed 228 commits to staging-next: https://git.io/JezNF
<{^_^}> [nixpkgs] @jtojnar pushed 231 commits to staging: https://git.io/JezNN
<pie_> its frustrating because it could probably be a lot better xD
<pie_> sidenote, the backend api adapters are quite simple
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/JezNA
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2f92befaf36 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
freeman42x has quit [Ping timeout: 276 seconds]
<ddellacosta> so is there some obvious thing to check/clear/etc. when an automatic steam update seems to break it?
<ddellacosta> I attempted a nix-channel --update and nix-env -u steam but no dice
bobberton has joined #nixos
<selfsymmetric-mu> ddellacosta: What channel are you on? I usually try going from stable to unstable or vice versa and crossing my fingers.
jluttine has quit [Ping timeout: 240 seconds]
bobberton has quit [Remote host closed the connection]
<ddellacosta> selfsymmetric-mu: oh, I'll try that, thanks. Better than any idea I've come up with so far :-D
jonringer has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jwijenbergh opened pull request #72402 → tealdeer: 1.1.0 -> 1.2.0 → https://git.io/JezNj
<selfsymmetric-mu> ddellacosta: I know, it's brilliant. Good luck, I'm rooting for you.
<ddellacosta> selfsymmetric-mu: lol thanks
<co1or> so it wasnt just linus who made the original linux kernel?
<DigitalKiwi> if you don't want to go that route you can install the other channel one of that program by itself
toppler has quit [Ping timeout: 268 seconds]
<kaliumxyz> linus started it.
jluttine has joined #nixos
ddellacosta has quit [Remote host closed the connection]
abathur has joined #nixos
<co1or> kaliumxyz: ok
Am3nadiel has quit [Quit: ZZZzzz…]
cryptomonad has quit [Quit: cryptomonad]
<co1or> kaliumxyz: so can anyone confirm: is there a difference between Minix and Minux? (some ppl have said code from both Minux and OpenBSD was used in GNU/Linux. cannot confirm this ATM)
xd1le has joined #nixos
<GlennS> (Hacky is OK, this is temporary.)
<GlennS> Wondering what's the easiest way to distribute a single pre-compiled binary file (chamber by segment) for distribution to NixOps machines?
<slack1256> GlennS: nix-copy-closure ?
fusion809 has joined #nixos
toppler has joined #nixos
<clever> GlennS: static or dynamic elf?
<GlennS> I don't really know what that means, but runs fine when I just download it onto a NixOS machine, so probably static? It's a go executable.
silver has quit [Read error: Connection reset by peer]
<clever> GlennS: if you run `file` on the binary, what does it say?
<GlennS> statically linked:
<GlennS> chamber-v2.7.3-linux-amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=RIerk0igUSg829MuzRoU/qrTLGFIMf2hBPIAxx7i9/aSCE0ICZyggkENRFmOuV/4UOKazahImWcAv26RLzP, not stripped
<clever> then you just need a package that drops it into $out/bin
<clever> > pkgs.runCommand "chamber-2.7.3" {} "mkdir -p $out/bin ; cp ${./chamber-v2.7.3-linux-amd64} $out/bin/chamber"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/chamber-v2.7.3-linux-amd64' is forbidden in restricted mode
<clever> GlennS: then just shove that into systemPackages like any other package, and nixops will copy it along
<GlennS> Ah, thank you. I didn't know about `pkgs.runCommand`.
<GlennS> Works great :)
<DigitalKiwi> neat
<DigitalKiwi> clever++
<{^_^}> clever's karma got increased to 226
drakonis1 has joined #nixos
h0m1 has quit [Ping timeout: 276 seconds]
h0m1 has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
zeta_0 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
nuncanada has quit [Quit: Leaving]
<zeta_0> where can i see the options for builtins in nix ?
<clever> zeta_0: they should all be in the nix manual
<co1or> HOLY SHIT. I just read online that every AMD & Intel chip likely have "clipper chips"insalled on them!
toppler has quit [Ping timeout: 240 seconds]
<wrl> co1or: link?
<co1or> how can i tell whether or not my pc has this AMD TrustZone chip installed on it?
<wrl> oh it's the ME/PSP stuff
<co1or> wrl just google AMD TrustZone. (intel has their own ersion of this, called TXT)
<co1or> wrl; something like that I take VERY seriously. it could potentially bypass any firewall!
<co1or> it could secretly insert arbitrary code into a running service.
<co1or> or disable/corrupt a firewall.
<co1or> or be completely undetectable by the firewall
<lordcirth__> co1or, yup. One of many reasons to invest in ARM devices (not ones with smartphone modems)
<zeta_0> clever: what section ? i need to either find a git option or change the link to a tarball:
<zeta_0> clever: let ihaskell = builtins.fetchTarball { url = "https://github.com/gibiansky/IHaskell.git";
<co1or> what are arm devices? is that a different brand of processor? a different CATEGORY of processor?
<wrl> co1or: i think you can disable the TPM in the BIOS
<wrl> you *can't* disable the ME
<co1or> what is a TPM?
<wrl> trusted platform module
<co1or> imma look it up
<Shell> co1or: tl;dr buy an x200 and put libreboot on it. but also, frankly, if you don't trust your hardware vendor, you're kinda screwed anyway - your CPU could literally do anything and you'd never be able to tell, even without trustzone/me.
toppler has joined #nixos
felixfoertsch23 has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
felixfoertsch has quit [Ping timeout: 276 seconds]
<zeta_0> clever: what section of the manual, it's like looking for a needle in a hay-stack ?
abathur has quit [Ping timeout: 265 seconds]
NoctisLabs has joined #nixos
<samueldr> aarch64 AFAIUI have to have a trustzone implementation too, so you're not out of the wood
<samueldr> though, for some platforms the reference ATF from ARM is used, outright compiled from the OSS code
<clever> samueldr: for the rpi, you have the option of booting while in the trustzone, so you can make use of it yourself
NoctisLa1 has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
<{^_^}> raspberrypi/firmware#579 (by swarren, 3 years ago, closed): 64-bit boot stub?
NoctisLabs has quit [Read error: Connection reset by peer]
<Shell> most devkit-style arm devices will let you do that. trustzone is actually pretty cool tech, it's the closed-source implementations that interface with the network on Intel/AMD platforms that is less cool.
<clever> samueldr: i think the SCR register stuff is to do with locking out the trustzone layer, before it jmp's into the linux kernel
<clever> but you have the option to tell the firmware to omit this boot stub, and then you can prepend your own to the kernel
<zeta_0> clever: does this look correct ? https://hastebin.com/vevikijoqa.bash
NoctisLabs has joined #nixos
<clever> zeta_0: it would be better to use pkgs.fetchFromGitHub
NoctisLa1 has joined #nixos
mexisme has joined #nixos
NoctisLabs has quit [Read error: Connection reset by peer]
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 245 seconds]
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLa1 has joined #nixos
gjabell has quit [Ping timeout: 265 seconds]
<zeta_0> clever: `pkgs.fetchFromGitHub` instead of `builtins.fetchFromGitHub` ?
<clever> zeta_0: there is no builtins.fetchFromGitHub
NoctisLabs has joined #nixos
<clever> zeta_0: you want to use pkgs.fetchFromGitHub { owner = "gibiansky"; repo = "IHaskell"; rev = "something"; sha256 = "something"; }
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
NoctisLa2 has joined #nixos
NoctisLa1 has quit [Ping timeout: 268 seconds]
<wedens[m]> is there somethign similar to https://github.com/gaenserich/hostsblock in nixpkgs?
<co1or> Shell: WRT to "not trusting hardware" it's NOT that I dont trust te hardware, but I DONT trust MODERN hardware. imma have to buy old used pcs to be on the safe side.
NoctisLabs has quit [Read error: Connection reset by peer]
<co1or> (back in the day, o-board spying was not as sophisticated or prevalent as it is today!)
<co1or> on-board*
<notgne2> adisbladis: is there any way to work around pnpm not giving git dependencies hashes, like using overrides to manually declare it and use fetchGit or something?
<co1or> so guys: EVERY modern (post 2012) AMD processor has this function/facility (the so-called ME/TrustZone/whatever-it's-called)?
<co1or> and if so, is there ANYTHING I can do to disable/weaken it?
<notgne2> co1or: I don't know about every processor, but its certainly the standard to include this kind of thing from every vendor
NoctisLabs has joined #nixos
<infinisil> co1or: This is a Nix channel fyi, would be nice to keep it on-topic :)
<zeta_0> what do i need to feel in for `rev` ?`` and for sha256 i put random sequence: sha256 = "004yqxaf2xcnjfq0r1v7mzjhrizx7z5b2n6gj1kdk2yi37z67200";
<zeta_0> clever: ^
<clever> zeta_0: rev should be a git revision
<notgne2> you can turn off the admin interfaces (I'm not sure what AMD's equivalent is, but Intel has a web page+API for controlling the computer built in), but there's lots of stuff you can't turn off, not that it should matter since if the vendor really wanted to circumvent your control they could hide it forever. and as infinisil pointed out, it's a bit
<notgne2> offtopic
NoctisLa2 has quit [Ping timeout: 276 seconds]
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
<co1or> alright
<zeta_0> clever: how would you recommended doing it with nix, there is a lot of options in gits documentation ? https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection
<clever> zeta_0: use github to look up the current revision
NoctisLa1 has joined #nixos
NoctisLabs has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
NoctisLabs has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
<zeta_0> clever: how do i do that ? (link to tutorial?)
<clever> zeta_0: click on the most recent commit in the github repo
NoctisLabs has quit [Read error: Connection reset by peer]
<co1or> i have a question: if i were to use Minix or OpenBSD or NixOS, would I be able to listen to music and watch youtube videos? and if NOT, could I easily use the package manager to download and install the necessary codes/drivers/whatever's-missing? (the reason i ask: whenever is tried to use ANY version of linux other than Linux Mint, I could NOT watch youtube streaming videos, NOR could I get any audio output from my soundcard.) thx in advance
NoctisLa1 has quit [Ping timeout: 276 seconds]
<co1or> I, not "is"*
<clever> co1or: ive got chromium (and youtube), plus steam (and via proton, many windows games) working just fine on nixos
<co1or> ok thats good.
<co1or> is nixos built on debian or is it it's own thing?
<clever> its own thing
<co1or> ok cool. one more question. then im outta here:
<co1or> is nixos comletely "libre"/"free"/"open-source"? or is it semi-proprietary/completely-proprietary?
<slack1256> We have propietary components.
<clever> co1or: by default, unfree software is hidden and disabled, and you have to opt-in to use it
NoctisLabs has joined #nixos
<clever> steam is marked as unfree for example, since the source isnt available and some components (games) must be paid for
<co1or> slack1256: thanks for warning me. are all the "proprietary components" disabled by default, like clever is talking about?
<co1or> clever: thx for responding
<notgne2> I believe there are potentially unfree components in the kernel still, no?
<slack1256> co1or: As clever said.
<co1or> slack1256: ok. thx
<notgne2> (not that it's hard to switch to linux libre)
<clever> co1or: there is an allowUnfree = true; flag, that just blanket turns on all unfree stuff
toppler has joined #nixos
<co1or> clever: awesome! but i wanna use as little closedsource as possible. i try to only use proprietary if absolutley necesssary, and only to the least degree possible
<infinisil> notgne2: Unfree stuff in the kernel?? Linus would never allow that!
<clever> infinisil: DRM (the other drm) is already in the kernel
endformationage has quit [Ping timeout: 276 seconds]
<infinisil> Huh, how can the kernel be considered free then?
<clever> infinisil: its probably open-source code, to support drm, which is still optional (normal config flags)
<zeta_0> clever: does it look correct ? https://hastebin.com/kesibarocu.bash
<infinisil> zeta_0: Try it out
<clever> zeta_0: rev is not a revision
NoctisLabs has quit [Read error: Connection reset by peer]
<zeta_0> clever: then what does the `rev` abbreviation stand for ?
<infinisil> Interesting, didn't know that
<clever> zeta_0: revision, its a sha1 hash of a git commit object
NoctisLabs has joined #nixos
<{^_^}> [nix] @mkenigs opened pull request #3190 → change deprecated attribute syntax in run examples → https://git.io/JezxP
<clever> infinisil: this mentions how linux has hdcp support, so it can do hdmi crypto on chromebooks
<clever> that involves an application negotiating a secure channel, from the app to the display, and ensuring its protected along the entire path
Thra11 has joined #nixos
<infinisil> Hm, I guess it makes sense for linux to be as compatible as possible
<zeta_0> clever: something like this then ? `d98969dce85efb7da688a4162b7e4339d9e3fa48`
<clever> zeta_0: yep
<clever> infinisil: for extra confusion, linux has both drm, and drm (digital rights management, and direct rendering manager)
NoctisLabs has quit [Read error: Connection reset by peer]
<clever> one stops piracy, the other improves gpu performance
<notgne2> wait, what one stops piracy
<clever> notgne2: digital rights management
<slack1256> clever: Wait DRM (digital rights management) on the kernel?
<clever> slack1256: yes, see https://lwn.net/Articles/740916/
<clever> notgne2: it does things like refuses to playback content until the kernel can proove that the kernel hasnt been modified, and the hdmi channel is encrypted
<notgne2> clever: digital rights managment just breaks things for end-users and makes pirates have to buy a $10 reciever from aliexpress when they want to record stuff
<notgne2> I don't see how that stops piracy
<slack1256> notgne2: You're preaching to the choir here.
<clever> notgne2: yeah, if i load an unsigned kernel module (anything built with nix), then the kernel is tainted and could be sniffing the video stream
<clever> notgne2: so any drm riddled player wont trust the kernel, and wont give it a copy of the video stream
NoctisLabs has joined #nixos
<notgne2> actually I'm curious now, how do these DRM guys plan to deal with kernel exploits, will they force everyone to have a version with all the bugfixes?
<clever> probably
<co1or> wow. i never trusted that guy linus. hes been on Ted talks and everything like hes some celebrity. not to mention the fact that everybody has been calling it Linux for a long time. (it SHOULD be called GNUnix or RichStallix)
<drakonis1> hdcp?
<slack1256> Read the lwm before throwing your pitchforks
<clever> notgne2: hdcp has also been cracked wide open, so the only thing stopping you is law suits if you try to sell a product to strip crypto
NoctisLa1 has joined #nixos
<drakonis1> i dont get it
<slack1256> Lol the HDCP master key was leaked 9 years ago.
<clever> drakonis1: HDCP is used to encrypt video as its sent over an HDMI cable, so only approved devices (tv's) can play the content, and un-approved devices (capture cards) cant
<drakonis1> i'm aware
o1lo01ol1o has quit [Remote host closed the connection]
<clever> zeta_0: looks right at a glance, try it and see what happens
<notgne2> co1or: I don't really think there's any reason to be angry at Linus, he is doing his job, which is more of a traditional one. He made something useful to the community, he never worked for the community, like say RMS for instance. I don't think that's a bad thing (but maybe I'm biased since I contribute to free software for my paid work too), but does mean you shouldn't act as if he's working with your best
<notgne2> intrests at all times
<notgne2> also, DRM is a "feature", this is something anybody could've implemented (albiet not merged into the official Linux branches), so you really the problem was never in the hands of the programmers
NoctisLa2 has joined #nixos
<notgne2> the same way players could force you to have the latest Linux kernel with no unsigned modules and all official hardware, they could force you to have their 3rd party special fork of Linux which includes DRM
NoctisLabs has quit [Ping timeout: 265 seconds]
<zeta_0> clever: cool, i am going to take a little break before i do another rebuild
<zeta_0> clever: thanks for the help
<zeta_0> clever++
<{^_^}> clever's karma got increased to 227
<co1or> jesus christ. one disappointment after another. for every step the community takes to secure its rights, the Powers That Be wanna strip them from you, i know i sound like a FSF member or something
<co1or> 2 steps forward, 3 steps back
<co1or> i personally like richard stallman's "religious"/fanatical approach to computing
<co1or> imma go drink some HURD koolaid
<slack1256> co1or: I don't why, but I think you visit /g/ too.
NoctisLa1 has quit [Ping timeout: 268 seconds]
<co1or> whats /g/
<slack1256> good
<slack1256> Never ask again.
<Miyu-saki> lol
<Miyu-saki> What'd I;2umiss?
<notgne2> basically I don't think any kernel DRM developers are to blame for this, they're building something for somebody other than the community, and their contributions should be treated as such. Not as some kind of evil attack, and not as something to benefit the users. It's a feature, blame the people that force you to use it
<co1or> lemme gues: is it some porn fetish or something?
<co1or> guess*
<Miyu-saki> Nah, it's not. Never ask again [1]. :P
<slack1256> Let's keep it as that.
<zeta_0> freedom is the highest goal(including software)
<Miyu-saki> And oh. DRM.
<co1or> zeta_0: amen
<co1or> FREEEEEEDOM. mah freedumz!
<Miyu-saki> Methinks anyone who is for-DRM never tried using a device w/ a different architecture.
<Miyu-saki> Heck. Never tried using a device that is non-Windows(or Android?)
NoctisLabs has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.6]
<notgne2> ah yes, the many hours I sunk into exploiting my TMobile LG V30...
<zeta_0> do any of you guys here know haskell ?
<slack1256> Yep
<notgne2> I wish I did
<Miyu-saki> I think it's worth noting FSF(or Stallman?)'s critic on NixOS.
NoctisLabs has quit [Read error: Connection reset by peer]
<notgne2> well, Guix exists
<gyroninja_> Am I mistaken or did unstable not get bumped even though nixos:trunk-combined:tested passed
NoctisLabs has joined #nixos
<Miyu-saki> OTOH, I think NixOS is still the best out of the bunch there. You can even whitelist what unfree components you want to use.
<zeta_0> slack1256: category theory blew my mind(climbing the ladders of abstraction), but it helped me make a little better sense of haskell
NoctisLa2 has quit [Ping timeout: 240 seconds]
<slack1256> I actually wrote a thesis on category theory + topology just because I learned so much with haskell.
<Miyu-saki> :o
<zeta_0> is there enough open source/hardware for guixsd
<slack1256> But in latin-america there is a "single" category theorist (on brazil), so it was a weird combination.
<Miyu-saki> Well. This is a bug that I'm unwilling to fix/report: Bumping to unstable made nixops-container stop working. Offending line is `cat /etc/os-release`
<Miyu-saki> CC: clever
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<clever> Miyu-saki: weird
<Miyu-saki> ikr?
justanotheruser has joined #nixos
<Miyu-saki> I tried making a MWE, but ehh
<zeta_0> slack1256: cool, so what is topology ?
<slack1256> The study of open sets.
<Miyu-saki> clever: Oh yeah, any thoughts on PRIME offload???
<clever> Miyu-saki: hadnt heard of it
<Miyu-saki> :o
<zeta_0> slack1256: were you talking about bartosz milewski ?
<Miyu-saki> clever: Basically, NVidia now has proper Linux support for dGPU render/iGPU display.
<{^_^}> [nix] @mkenigs opened pull request #3191 → environment fixes in run → https://git.io/JezxQ
<Miyu-saki> Including power management, etc.
<Miyu-saki> Based on how I understand it
<slack1256> Nope, mileswski presents lots of constructions of CT, but topology has some constructions that have some interpretation under category theory. My work was a "resume" of technique on binding the two subjects.
<clever> Miyu-saki: ah, i last saw that under the name bumblebee, and none of my hardware supports it
<notgne2> could such a thing be used on my desktop to selectively use my Nvidia card instead of my primary AMD card
<notgne2> reasoning being I often pass off my Nvidia card to a VM for playing VR
<zeta_0> slack1256: i watched all of his videos on category theory on youtube and just started his category theory for programmers book,
<Miyu-saki> clever: Yeah. This is the PR for it: https://github.com/NixOS/nixpkgs/pull/66601
<{^_^}> #66601 (by eadwu, 11 weeks ago, open): nvidia: prime render offload
NoctisLa1 has joined #nixos
<zeta_0> slack1256: that's interesting
<slack1256> zeta_0: Composition FTW, good for you.
NoctisLabs has quit [Read error: Connection reset by peer]
<zeta_0> category theory does feel more natural/simple then other areas of mathematics(once you understand abstraction)
<slack1256> Only algebraic topologist or algebraic geometrists use category theory on mathematics, as a common language to describe process or constructions. CT on programming also will give us this, a common language for stuff (that's always what algebra ends up doing).
<Miyu-saki> I think computer scientists just really favor discrete mathematics.
<clever> Miyu-saki: https://imgur.com/TWsIo7J my gpu is distinctly missing, lol
<zeta_0> slack1256: thanks, a lot of struggle but functional programming is starting to make a little more sense
<Miyu-saki> clever: Wait wut. That pin array on the right?
<clever> Miyu-saki: yeah
<clever> Miyu-saki: and the 4 groupings around it, are where the gpu ram went
Rusty1 has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 240 seconds]
<zeta_0> Miyu-saki: discrete-mathematics was a lot more difficult than category theory in my experience, then again i had no math background when learning discrete-math, so the logic was way over my head
<slack1256> Once you get used to doing proofs there is no going back mate.
<zeta_0> nix is declarative like haskell but other than that they seem completely different(at least on the surface)
<zeta_0> slack1256: proofs are my biggest weakness, and i still struggle with logic as well, practice, practice
<slack1256> nix is JSON + let rec lambdas.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72404 → displaylink: make it work! → https://git.io/Jezpe
<slack1256> Proofs end up having certain structure. Sure you have to know first order logic and the introduction rules etc, but when you go to certain fields you start to notice certain results end up "dominating" all results or the constructions are similar.
<slack1256> For example on functional analysis if something it's dealing with convex sets I know hahn banach geometric version is playing around.
<slack1256> Or the trick you can do on Hilbert spaces that "intuitively" are down to projecting stuff via dot products led you to certain fast-rules as "Hilbert spaces either work like R^n if finite dimension or L^2 if infinite dimension".
<zeta_0> i had 3 years of heavy java programming before i heard about haskell, at 1st it looked so different/cryptic, but now i see haskell is so much simpler than java(verbose/dependency hell(null references everywhere))
sb0 has joined #nixos
toppler has joined #nixos
NoctisLa1 has quit [Read error: Connection reset by peer]
<slack1256> I will go to sleep now, there are good waves tomorrow.
NoctisLa1 has joined #nixos
<slack1256> Bye all
slack1256 has left #nixos ["sleep"]
<co1or> cya slack
<co1or> well im out too cya everybody
co1or has left #nixos ["is leaving, bruh............"]
o1lo01ol1o has joined #nixos
<zeta_0> later guys i'm out too
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<mightybyte> Anyone know how to block individual IPs in nixos?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ivan closed pull request #71047 → [19.09] Backport cargo-audit → https://git.io/Jel7y
<Miyu-saki> Aaaaa. the problem exists even in nixos-unstable. :|
<clever> Miyu-saki: https://imgur.com/dXfM51B
<clever> Miyu-saki: another thing of note, is how empty the laptop is
<clever> you could almost halve the size of the thing, with little changes
<Miyu-saki> Oh cool
<Miyu-saki> What laptop is thst?
<clever> system76 kudu
sweep has quit [Ping timeout: 240 seconds]
<clever> i believe system76 resells other laptop hardware, after testing that it has good linux support, and sells it with linux pre-installed
<clever> the motherboard clearly has a GPU option, but system76 didnt offer any gpu options
<clever> likely due to unfree driver problems
<clever> they went the open-source route, and just opted for no gpu
<wedens[m]> mightybyte: iptables rule :)
<wedens[m]> `networking.firewall.extraCommands = "iptables -A INPUT -s 1.2.3.4 -j DROP"; `
<Miyu-saki> bug if true...
<Miyu-saki> I think
<Miyu-saki> Oh wait what
<Miyu-saki> openssh is the same on nixos-19.09 and nixos-unstable, huh, weird.
<Miyu-saki> clever: Also, yeah. I'm kinda interested in system76. OTOH, I'm the type of person who doesn't know how to buy online. :C
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<Miyu-saki> I think something changed in SSHMaster or smth.
<Miyu-saki> Or nixos-container
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/Jezpr
<CMCDragonkai> Does anybody know why `df -h` will show 50% of all memory given to the booted netboot image, when the netboot configuration sets `/` to be mounted on TMPFS. So when I give the machine 8GiB memory, `free -h` shows 8 GiB, but `/` only has 3.9 available, like exactly 50% of all memory available.
<contrun[m]> How do I override settings of systemd unit which is generated by my configuration.nix
sweep has joined #nixos
<clever> CMCDragonkai: by default, a tmpfs will set its size to 50% of your ram
<clever> CMCDragonkai: but you can freely `mount -o remount,size=1234g /path/to/mount` to resize it
<CMCDragonkai> how to make it 100%
<CMCDragonkai> under the `fileSystems` setting in configuration.nix?
<mightybyte> wedens[m]: Thanks!
<clever> CMCDragonkai: you can also set it on the fileSystems entry too
<CMCDragonkai> `size=100%`?
<xd1le> as mathematicians say, ct is just abstract nonsense ^_^
<clever> CMCDragonkai: that works
<Miyu-saki> Oh. I get what happened now.
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @xrelkd opened pull request #72406 → eksctl: 0.7.0 -> 0.8.0 → https://git.io/JezpK
<Miyu-saki> The differecen between nsenter and systemd-run, methinks.
LeshaInc has quit [Quit: ZNC - https://znc.in]
<CMCDragonkai> i will try
LeshaInc has joined #nixos
<clever> CMCDragonkai: of note, the nix store is not put on /
toppler has quit [Ping timeout: 246 seconds]
<CMCDragonkai> I see its onunionfs
NoctisLa1 has quit [Read error: Connection reset by peer]
<CMCDragonkai> I see its on unionfs
<Miyu-saki> And oh. I think I know the problem now.
<CMCDragonkai> With the a special `/nix/.rw-store`
<Miyu-saki> clever: This is going to be stupid, but I think the problem is that nsenter doesn't terminate on EOF.
<clever> CMCDragonkai: yep, its a union of .ro-store and .rw-store, so you want to add a size fo .rw-store, if you want more room on /nix/store/
<Miyu-saki> So now nixops waits for forever for nixos-container to finish.
NoctisLa1 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 1000 commits to nixos-unstable: https://git.io/JezpP
<Miyu-saki> Just a conjecture, because upon entering the machine, pressing C-d causes it to hang up.
<clever> Miyu-saki: i dont think nsenter should ever terminate on eof, it should waitpid() for the child to exit
<CMCDragonkai> so the `/nix/.ro-store` is what was baked into the image
<clever> Miyu-saki: but maybe the child (cat) is just cat'ing stdin? ...
<CMCDragonkai> and `/nix/.rw-store` is what we would nix-store install onto
<clever> CMCDragonkai: yeah
<clever> CMCDragonkai: a squashfs is generated (line 68) and baked into the initrd (line 79)
<Miyu-saki> Oh yeah, I was just speaking a bit informally. What I mean to say is that the nixops call to nsenter hangs forever because nsenter does not know when to quit.
<clever> CMCDragonkai: then mounted to .ro-store (line 39)
<clever> Miyu-saki: check `ps -eH x` and see what the child of nsenter is, then try to strace that
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 89 commits to nixpkgs-unstable: https://git.io/JezpS
<clever> CMCDragonkai: and the unionfs is used to make that squashfs writeable,
<clever> CMCDragonkai: you can also make .rw-store larger then the total amount of ram, if you provide swap
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/471869c9185 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/08884d6a0f9 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Miyu-saki> ERRR
<Miyu-saki> I mixed things up. It's now systemd-run instead of nsenter.
<Miyu-saki> [myrl@myrl-zenbook:~]$ pgrep -af os-release
<Miyu-saki> 17720 systemd-run --machine schedul --pty --quiet -- /nix/store/dcxr2q8alhjv4mnx0p4y2cc6wr2wb8yp-shadow-4.7-su/bin/su root -l -c exec 'bash' '--login' '-c' 'export HOME=/root; cat /etc/os-release'
<Miyu-saki> I have no idea how to find the child process.
<clever> Miyu-saki: pastebin the output of `ps -eH x`
mexisme has quit [Ping timeout: 250 seconds]
<CMCDragonkai> clever: that seemed to not work
<Miyu-saki> clever: Is this supposed to be hierarchal? Because systemd-run has no children.
<clever> CMCDragonkai: are you doing rebuild switch or editing the config and building a new image?
<clever> Miyu-saki: what does `strace -p 17720 -f` say?
<CMCDragonkai> clever: I'm running `nix-build -A netboot.x86_64-linux nixos/release.nix`
<clever> CMCDragonkai: and how did it not work?
dreverri has joined #nixos
<CMCDragonkai> it build it
<CMCDragonkai> but then i ran
<CMCDragonkai> Oh wait
<CMCDragonkai> The `init=...` needs to change
<clever> CMCDragonkai: it auto-generates an ipxe script that will handle that for you, which you can chainload
<Miyu-saki> strace: Process 17720 attached
<CMCDragonkai> yea, i'm using qemu to test the the netboot image first
<Miyu-saki> epoll_wait(3,
drakonis1 has quit [Quit: WeeChat 2.6]
<clever> Miyu-saki: then its waiting for something to happen, which it previously registered in epoll
<Miyu-saki> Right.
<clever> CMCDragonkai: that generates a bash script to run the netboot image in qemu, with the right flags
mexisme has joined #nixos
<Miyu-saki> clever: BTW, you know what makes it weirder? It works on an interactive shell.
<clever> Miyu-saki: with the strace still attached, try the ctrl+d and see what happens?
<Miyu-saki> Oh, this is running under NixOps.
<Miyu-saki> So I don't have access to the process itself
<clever> Miyu-saki: also check `ls -l /proc/17720/fd/`, that shows all open file handles
<clever> Miyu-saki: 0/1/2 are stdin/out/err
<Miyu-saki> Oh, right, good point. 3
<clever> CMCDragonkai: and for more productiony usage: https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix#L44-L48
<Miyu-saki> clever: http://ix.io/20t6
dreverri has quit [Ping timeout: 250 seconds]
<clever> CMCDragonkai: the dhcp config in here tells machines to run boot.php (legacy name, lol) which then says to chainload netboot.ipxe (which release.nix is generating for you)
<clever> Miyu-saki: all of stdin/out/err are pipes, likely going to the parent process
<Miyu-saki> Right.
toppler has joined #nixos
<Miyu-saki> Yeah. Reverting that fixed it.
<Miyu-saki> That's veryy weird.
<Miyu-saki> Making a bug report now. I spent ~2 hours tracking this despite the "I'm so tired to make a bug report";2ulol
<clever> stdin is either devnull or a pipe that will later be written to
<clever> stdout is always a pipe
<clever> stderr may be a pipe or stdout of something
<Miyu-saki> clever: This is the blocking command, in case you're interested. https://github.com/NixOS/nixops/blob/release-1.7/nixops/deployment.py#L979
<clever> ah, generating the stateVersion on first boot
<Miyu-saki> Yep.
<Miyu-saki> Okay, how about... stupid idea.
<Miyu-saki> What if the change from nsenter to systemd-run resulted in a broken argument list
<clever> it looks like it will ssh into root on itself, and then do `nixos-container run ...`
<Miyu-saki> That is, `cat` is now simply asking for user input.
<clever> if cat was blocking for user input, you would see it in the process list
<Miyu-saki> Okay true.
<clever> of note, you can also strace things like systemd-run and nsenter, and it will seamlessly trace into the child namespace in most cases
<Miyu-saki> Oh right, you also said that stdin is either devnull or a pipe.
<Miyu-saki> cat would immediately close on devnull.
<clever> as long as you dont stumble upon any setuid binaries (the setuid bit will just silently not work)
<clever> and if stdin is not devnull, nixops will write a string to the pipe, then immediately close it
<clever> so it will still EOF shortly
<Miyu-saki> Okay, this is interesting.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Miyu-saki> Wait. Let me test something.
<clever> and `devnull` in this context, is a python file handle, that results from opening /dev/null on the host
palo1 has joined #nixos
<Miyu-saki> One interesting thing I can actually do is have one nixops work w/ the old one, and another nixops work w/ the new one.
<Miyu-saki> Few more reasons why Nix is amazing.
<clever> i should get to bed, its now 3am
<Miyu-saki> G'night! \o
<Miyu-saki> Thanks for helping out.
<clever> yep
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
kvda has joined #nixos
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
<dminuoso> Do any of you folks deploy to nixos machines via nixops from a ci pipeline?
toppler has quit [Ping timeout: 268 seconds]
MightyJoe has quit [Ping timeout: 265 seconds]
cyraxjoe has joined #nixos
<CMCDragonkai> clever: cool it worked
<CMCDragonkai> clever: i've always been confused by this, but what happens if there are 2 mounts each mounting TMPFS at 100%
<CMCDragonkai> clever: if i write files to both mounts at the same time, do both start trying to swap at 50%
<CMCDragonkai> clever: and then when there's no swap, the writes fail
vidbina_ has joined #nixos
toppler has joined #nixos
vidbina_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #71969 → ocamlPackages.ecaml: init at 0.12.0 → https://git.io/Je0Fk
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ecaml: init at 0.12.0 »: https://git.io/JezhZ
<{^_^}> [nixpkgs] @etu opened pull request #72408 → transifex-client: Fix build → https://git.io/JezhC
gyroninja_ has quit [Ping timeout: 240 seconds]
gyroninja_ has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
o1lo01ol1o has joined #nixos
Heirlung has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
growpotk- has quit [Ping timeout: 265 seconds]
chreekat has joined #nixos
zupo has joined #nixos
<gchristensen> dminuoso: yep
<{^_^}> [nixpkgs] @grahamc merged pull request #72344 → [19.09] chromium: do not load .so files from current working directory → https://git.io/JezEr
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.09: https://git.io/JezhM
<{^_^}> [nixpkgs] @grahamc merged pull request #72343 → chromium: do not load .so files from current working directory → https://git.io/JezEa
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JezhD
tabasko has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-unstable-small: https://git.io/Jezhj
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixpkgs-unstable: https://git.io/JezNA
toppler has quit [Ping timeout: 240 seconds]
<CMCDragonkai> how does $targetRoot get the initial set of files like `/etc`, i can see that `/dev` and alike are `mount --move` into the targetRoot, but what bout `/etc` and other more static files, when did they get moved into it? I'm talking within the context of netboot since netboot's `/` is TMPFS, there's no persistent root for netboot, so how is there `/etc` and and home directory inside the `/` of a booted netboot nixos?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d901b961a95 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2f92befaf36 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
adamt has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> files in /etc are created by the activation script, not mount script
bvdw has quit [Read error: Connection reset by peer]
Guest84 has joined #nixos
Ariakenom has joined #nixos
bvdw has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-unstable: https://git.io/Jezhj
toppler has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
zupo has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d901b961a95 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
rauno has joined #nixos
zupo has quit [Client Quit]
<gchristensen> seems ofborg is sick
<Guest84> https://channels.nix.gsc.io/nixpkgs-unstable/history is very cool- I can pin unstable packages easily
<Guest84> Thank you gchristensen: if that is yours... g(s)c?
<gchristensen> yep!
<raboof> on Debian, using 'unstable' is discouraged because security patches are not applied to it proactively like for 'stable'. I get the impression that NixOS doesn't discourage using 'unstable' in that way, is that correct?
<raboof> (of course unstable is by definition less well-tested, but being able to easily roll back makes that a lot less of a problem)
<Guest84> Thank you. :-)
<gchristensen> you're welcome, Guest84 :) I'm glad it is useful
<gchristensen> raboof: -unstable branches may get stuck for some time and not update quickly. so, you might not get security patches very fast in some cases
zupo has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72193 → nexus: 3.18.1-01 -> 3.19.1-01 → https://git.io/JeuuL
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Jezjy
<raboof> gchristensen: fair enough
lord| has joined #nixos
<{^_^}> [nixpkgs] @dywedir closed pull request #72402 → tealdeer: 1.1.0 -> 1.2.0 → https://git.io/JezNj
<{^_^}> [nixpkgs] @dywedir reopened pull request #72402 → tealdeer: 1.1.0 -> 1.2.0 → https://git.io/JezNj
<raboof> gchristensen: is https://r13y.com/ regenerated automatically? it should have improved a bit since last time :)
<gchristensen> it used to be, but the machine I run it on started having hardware problems. I'll start it up again on a different system soon :)
<Guest84> gchristensen: I've added the gsc.io link and howoldis to `awesome-nix`. Are there any other links that you think could be helpful to nix-users?
<{^_^}> [nixpkgs] @mmahut merged pull request #71865 → qmidinet: 0.5.5 -> 0.6.0 → https://git.io/Je044
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jezjb
<gchristensen> Guest84: that includes search.nix.gsc.io?
<Guest84> That seems like a full text search across all nix repos. Is it?
<Guest84> nix-related
<gchristensen> yea
<{^_^}> [nixpkgs] @mmahut merged pull request #71861 → qbs: 1.13.1 -> 1.14.0 → https://git.io/Je087
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jezjp
<CMCDragonkai> gchristensen: my goal is to preinstall some drivers like nvidia onto my netboot image, so that i can boot into my netboot image on a designated hardware and not have a harddisk that persists the nvidia driver on it
<gchristensen> CMCDragonkai: sounsd cool
<CMCDragonkai> gchristensen: given that you're saying alot of the things are created by activation script
<CMCDragonkai> gchristensen: im guessing i cannot just enable the nvidia driver in my netboot configuration.nix and expect it to work
<gchristensen> I don't know why you couldn't, CMCDragonkai
Makaveli7 has joined #nixos
<CMCDragonkai> because the netboot's root is tmpfs and its not persistent, its going to exist on root
<CMCDragonkai> the driver has to be put into the initrd
<CMCDragonkai> and something has to be extracting all of that onto root after stage 2 boot
<CMCDragonkai> how is this done?
<gchristensen> the activation script does it. the activation script runs on every boot
<CMCDragonkai> so i need to write my own activation script/extend it?
<gchristensen> no
<{^_^}> [nixpkgs] @FRidh merged pull request #72378 → pythonpackages.scikitimage: add missing dependency → https://git.io/JezQ3
<{^_^}> [nixpkgs] @FRidh pushed commit from tbenst to master « pythonpackages.scikitimage: add missing dependency »: https://git.io/JegeJ
<gchristensen> it should work the same way for netboot as it does for any other system. just use configuration.nix like normal
<CMCDragonkai> gchristensen: so it is sufficient to just `xserver.videoDrivers = [ "nvidia" ];`?
<gchristensen> it should be yes
<CMCDragonkai> and then the booted netboot will just have the nvidia driver on root
<gchristensen> yes
<CMCDragonkai> that's crazy!
<gchristensen> that's nixos! :)
<CMCDragonkai> without needing to run a `nixos-rebuild switch`?
<gchristensen> yep
<CMCDragonkai> i dont get it... how is this possible, how can the initrd store everything and have it all unpack into the root after stage-2
<CMCDragonkai> i want to know the details of where this happens
<Guest84> gchristensen: Added that too. awesome nix is very sparsely populated considering how many awesome things nix has :)
<gchristensen> CMCDragonkai: the initrd doesn't have all of that
<gchristensen> ah yes it does
captn3m0 has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Killed (Sigyn (Spam is off topic on freenode.))]
ftzm has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #71882 → spirv-headers: 1.4.1 -> 1.5.1 → https://git.io/Je00P
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jege3
<gchristensen> CMCDragonkai: NixOS says to build a squashfs of the system's closure: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/netboot/netboot.nix#L62-L70 and adds that squashfs to the store with a symlink at /nix-store.squashfs and then that squashfs is mounted at /nix/store and it is done https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/netboot/netboot.nix#L37-L50
captn3m0 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fling has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<{^_^}> [nixpkgs] @mmahut merged pull request #71847 → qsynth: 0.5.7 -> 0.6.0 → https://git.io/Je0CC
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jegeo
<{^_^}> [nixpkgs] @mmahut closed pull request #71846 → python37Packages.pynamodb: 4.0.0 -> 4.1.0 → https://git.io/Je0CY
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #71827 → python37Packages.PyChromecast: 4.0.1 -> 4.1.0 → https://git.io/Je0GS
<{^_^}> [nixpkgs] @mmahut closed pull request #71781 → python37Packages.grequests: 0.3.0 -> 0.4.0 → https://git.io/Je0Ux
<{^_^}> [nixpkgs] @mmahut merged pull request #71588 → gitfs: 0.4.5.1 -> 0.5.1 → https://git.io/JeRE3
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JegeP
<{^_^}> [nixpkgs] @mmahut merged pull request #71568 → fwts: 19.08.00 -> 19.09.00 → https://git.io/JeR8t
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jege1
<{^_^}> [nixpkgs] @mmahut merged pull request #71562 → fdk_aac: 2.0.0 -> 2.0.1 → https://git.io/JeRW1
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to staging: https://git.io/JegeM
<{^_^}> [nixpkgs] @mmahut closed pull request #69927 → python37Packages.transitions: 0.6.9 -> 0.7.1 → https://git.io/JeZ9D
<{^_^}> [nixpkgs] @mmahut closed pull request #69914 → python37Packages.rebulk: 1.0.1 -> 2.0.0 → https://git.io/JeZSt
<{^_^}> [nixpkgs] @mmahut closed pull request #69897 → python37Packages.zetup: 0.2.52 -> 0.2.63 → https://git.io/JeZMr
<{^_^}> [nixpkgs] @mmahut closed pull request #69793 → python37Packages.aniso8601: 7.0.0 -> 8.0.0 → https://git.io/JeZ2g
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @mmahut closed pull request #69785 → python37Packages.azure-mgmt-resource: 2.2.0 -> 4.0.0 → https://git.io/JeZ2U
<{^_^}> [nixpkgs] @mmahut closed pull request #69755 → python37Packages.cornice: 3.5.1 -> 3.6.0 → https://git.io/JeZu9
<{^_^}> [nixpkgs] @jtojnar closed pull request #72335 → itstool: Don't use Python 3 yet → https://git.io/JezBq
toppler has joined #nixos
Guest84 has quit [Quit: Ping timeout (120 seconds)]
mexisme has joined #nixos
Guest84 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #71885 → swaks: 20181104.0 -> 20190914.0 → https://git.io/Je0EW
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/Jegeh
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #71863 → qsampler: 0.5.6 -> 0.6.0 → https://git.io/Je04k
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/Jegej
<{^_^}> [nixpkgs] @mmahut closed pull request #62542 → python37Packages.spyder-kernels: 0.4.4 -> 1.0.1 → https://git.io/fjEib
<{^_^}> [nixpkgs] @mmahut closed pull request #67044 → python37Packages.azure-storage-common: 1.4.2 -> 2.0.0 → https://git.io/fjbve
<{^_^}> [nixpkgs] @mmahut closed pull request #67048 → python37Packages.elementpath: 1.1.8 -> 1.2.0 → https://git.io/fjbfj
aswanson has quit [Quit: WeeChat 2.4]
johnnywho has joined #nixos
aveltras has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #72409 → veracrypt: 1.23-Hotfix-2 -> 1.24-Hotfix1 → https://git.io/JegvL
m0rphism has joined #nixos
o1lo01ol1o has joined #nixos
vonfry has joined #nixos
lukash_|away is now known as lukash_
o1lo01ol1o has quit [Ping timeout: 268 seconds]
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
hyper_ch2 has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @woffs opened pull request #72410 → [19.09] backport #71851 handbrake: fix missing audio → https://git.io/Jegvg
genesis has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
Kritnich has quit [Quit: Bye bye.]
toppler has quit [Ping timeout: 246 seconds]
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72411 → john: build with python3 → https://git.io/JegvK
<{^_^}> [nixpkgs] @andir merged pull request #71695 → sqlite: 3.28.0 backport fix for CVE-2019-16168 → https://git.io/JeR51
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JegvX
dx_ has joined #nixos
Thra11 has joined #nixos
<dx_> how do we have a shell.nix or default.nix that has `systemctl` dependency....
<{^_^}> [nixpkgs] @Tomahna opened pull request #72412 → mopidy-iris: 3.41.1 -> 3.42.1 → https://git.io/JegvM
<etu> dx_: Hmm, why?
<dx_> up to this point, i have been playing on nix and saw how it can containerize at a filesystem level..until this 'gp.jar' file requires pcsc daemon to be running. And, thus such is my question.
<dx_> etu: gp.jar is from globalplatform for smartcard
Guest84 has quit [Ping timeout: 246 seconds]
<etu> dx_: Packages/shells doesn't manage services
<{^_^}> [nixpkgs] @mm-- opened pull request #72413 → [19.09] rPackages.RMariaDB, rPackages.RMySQL: Fix builds → https://git.io/JegvQ
<dx_> etu: yes, i am realizing it now... So no hooks to run daemon?
aaa_ has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #72414 → scalafmt: 2.2.1 -> 2.2.2 → https://git.io/JegvF
juhe has joined #nixos
<etu> dx_: I don't think so. This is kinda where the distinction between packages and services goes
<dx_> true
toppler has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
thc202 has joined #nixos
dansho has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<gchristensen> https://monitoring.nix.ci/d/000000002/ofborg?orgId=1&from=1572573569507&to=1572594724146 this was a very difficult-to-sleep period :(
Thra11 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 43 commits to nixos-19.09: https://git.io/Jegf0
__monty__ has joined #nixos
johnnywho has quit [Ping timeout: 276 seconds]
sigmundv has joined #nixos
dreverri has joined #nixos
johnnywho has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/c5aabb0d603 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
dreverri has quit [Ping timeout: 240 seconds]
fling has joined #nixos
<mg-> How can I call a derivation like this on the command line, providing both installationPath and extraPkgs?
Thra11 has joined #nixos
chreekat_ has joined #nixos
aaa_ has quit [Ping timeout: 240 seconds]
johnnywho has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 240 seconds]
<NinjaTrappeur> oh wow
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
vonfry has quit [Quit: WeeChat 2.6]
<juhe> Hello. After recent update, I lost the SSH_AUTH_SOCK env. variable settings in terminal. The ssh-agent runs though. Any idea what could be the reason?
Thra11 has quit [Ping timeout: 250 seconds]
gwen has joined #nixos
leotaku has quit [Ping timeout: 265 seconds]
<gwen> Hi, did anything cause a dhcpcd service to start automatically in the NixOS 19.09 update? Because this new dhcpcd clashes with NetworkManager's dhclient
<sphalerite> gwen: huh, that's odd. Do you have networking.useDHCP set?
<gwen> sphalerite: No, I haven't
dx_ has quit [Quit: leaving]
<sphalerite> gwen: I think networkmanager uses dhcpcd by default on nixos, did you explicitly configure it to use dhclient?
<gwen> According to https://nixos.org/nixos/options.html#networkmanager , networking.networkmanager.dhcp is "dhclient" by default. I set it to "dhcpcd" that would fix the problem, it didn't.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> gwen: well, this should work really. Maybe open an issue about it and cc me (@lheckemann)
toppler has joined #nixos
<{^_^}> [nixpkgs] @1000101 opened pull request #72415 → nixos/trickster: init → https://git.io/JegJf
juhe has quit [Remote host closed the connection]
gwen_ has joined #nixos
gwen has quit [Ping timeout: 240 seconds]
<gwen_> sphalerit: Sorry, my internet connection broke down :/
juhe has joined #nixos
<juhe> Hm, it was missing XDG_RUNTIME_DIR env. variable. Changing the X session type to correct one in lightdm fixed the problem.
acarrico has quit [Remote host closed the connection]
<sphalerite> gwen_: (repeated :) ) well, this should work really. Maybe open an issue about it and cc me (@lheckemann)
tmaekawa has joined #nixos
Thra11 has joined #nixos
gxt has quit [Quit: WeeChat 2.6]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JezhM
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #72382 → gitea: 1.9.4 -> 1.9.5 → https://git.io/JezQQ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JegJn
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/70f69e36299 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
gwen_ has quit [Quit: Leaving]
work_ has quit [Quit: Connection closed for inactivity]
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
don_quijote[m] has left #nixos ["User left"]
Thra11 has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #72414 → scalafmt: 2.2.1 -> 2.2.2 → https://git.io/JegvF
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JegJl
Dagger has quit [Ping timeout: 246 seconds]
lsix has quit [Remote host closed the connection]
Dagger2 has joined #nixos
lsix has joined #nixos
Dagger2 is now known as Dagger
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch2 has quit [Remote host closed the connection]
rembo10 has joined #nixos
Thra11 has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<adisbladis> Omgomgomg
<adisbladis> I think we may hit 200k commits today
<gchristensen> !!!
<worldofpeace> sphalerite: hmm, on unstable I see dhcpcd.service running when we default to internal. perhaps useDHCP isn't working? disabling networking.dhcpcd.enable did the trick.
<adisbladis> gchristensen: I feel like it's not that long ago the count was half of that (:
<gchristensen> I know, it is incredible
<arianvp> cool
<arianvp> cake?
<{^_^}> [nixpkgs] @adisbladis merged pull request #72177 → [19.09] melpa-packages: 2019-10-24 → https://git.io/Jeu8X
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-19.09: https://git.io/JegJ6
<arianvp> ill get us some cake
<gchristensen> sounds good
<gchristensen> flokli, NinjaTrappeur and I are in Paris together -- we'll eat some cake for everybody
<ikwildrpepper> :o
<gchristensen> ikwildrpepper: want to stop by? :)
<ikwildrpepper> gchristensen: yeah, except that I just borrowed my car to someone :(
<gchristensen> oops
<ikwildrpepper> 8 hours with public transportation...
<ikwildrpepper> perhaps easier to ask my wife to bake me some :D
<lassulus> hmm, why does pkgsStatic.qemu throw an infinite recursion
<etu> ikwildrpepper: Or do it yourself? :)
<ikwildrpepper> etu: yeah, but I am lazy
<ikwildrpepper> (and my wife is better at baking than I am, I prefer cooking)
<ikwildrpepper> actually, she baked these this morning, so probably not a good time to ask for another cake: https://www.fixfeastflair.com/home/2015/2/9/swedish-cardamom-rolls-kardemummabullar-recipe
<{^_^}> [nixpkgs] @Ma27 pushed commit from @kolaente to release-19.09 « gitea: 1.9.4 -> 1.9.5 »: https://git.io/JegJp
toppler has joined #nixos
<talyz> I'll have cake today and can pretend it's to celebrate 200k commits :)
dansho has quit [Quit: Leaving]
<ToxicFrog> So, I have a file I want to refer to in some configs. Normally this would be easy enough: ${path/to/file} in the configs, or perhaps use copyPathToStore.
<ToxicFrog> However, I can't refer to the file directly in the config; instead I need to refer to the directory containing it.
adamt has joined #nixos
<ToxicFrog> Since I know the filename, I could use lib.strings.removeSuffix, but is there a better way?
<Christian[m]3> Does anyone know what the current approach of packaging PHP applications that use composer for dependencies looks like? I know composer2nix exists, but it looks like it has not been widely adopred. Is it a usable thing or is there a different approach?
<adisbladis> etu: ^
alexherbo2 has joined #nixos
<etu> Christian[m]3: It's in a kinda bad place atm
<etu> Christian[m]3: composer2nix is your best bet
rauno has quit [Ping timeout: 276 seconds]
<ToxicFrog> ...oh. copypathtostore doesn't wrap it in a directory, just prefixes it and plops it into /nix/store.
<{^_^}> [nixpkgs] @Ma27 pushed to master « xorriso: 1.5.0 -> 1.5.2 »: https://git.io/JegUc
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 26 commits to nixos-unstable-small: https://git.io/JegUB
sb0 has quit [Quit: Leaving]
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/87955cb30ac (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Christian[m]3> etu: seen your PR on improving the overall php ecosystem, great to see someone tackle this :)
fendor has joined #nixos
<Ariakenom> NetworkManager silently fails if it's missing a plugin?
<Ariakenom> you add a plugin by adding networkmanager-openvpn to networking.networkmanager.packages
<Ariakenom> ?
<Christian[m]3> etu: does composer2nix have any obvious footguns I should be on the lookout for?
genesis has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<etu> Christian[m]3: one is that it doesn't work with php73 which is default in nixpkgs due to a pinned very out of date composer version :/
toppler has joined #nixos
<ctp> Hi. I have one strange behaviour I haven't experienced before. On a clean installed machine, whenever I change sth in my NixOS config and run a nixos-rebuild switch, the rebuild spends quite long in "setting up tmpfiles" phase. Even one-line changes in config result in a rebuild which takes 1 min or more. Any idea?
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
<Christian[m]3> etu but that is only a build time dependency, right?
<etu> Christian[m]3: yes
<ctp> So, even with zero changes, that's the time:
<Christian[m]3> Alright, I'll give it a shot then
Mateon1 has quit [Quit: Mateon1]
xd1le has quit [Quit: leaving]
<infinisil> ctp: All systemd.tmpfiles rules run every rebuild I think, and when some of those include directories that are rather big this might be the problem
rauno has joined #nixos
<johs> Hm. There is a package "dust-0.2.3" which is not the same thing as "dust-0-91". It works fine to install "dust-0.2.3", but on "nix-env -u", it will upgrade to "dust-0-91". Is there anywhere to report this conflict? (Or am I doing something wrong?)
<infinisil> ctp: Check out /etc/tmpfiles.d/nixos.conf to see what rules it includes, maybe some of those directories are rather big
<ctp> @infinisil Right, it's about systemd.tmpfiles. I missed actually this context :) So, yeah, it's a clean installed thinkpad. Just rudimentary services, nothing fancy. I guess I gonna take deeper look into what it actually does
<infinisil> ctp: Maybe look at the strace of the process that does this (Run sudo htop, go to the process that's taking a long time, then press 's')
<infinisil> To see live logs of what files it touches
orivej has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #71055 → treewide: Switch to system users → https://git.io/JelFX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JegTV
<{^_^}> [nixpkgs] @offlinehacker opened pull request #72417 → ###### Motivation for this change → https://git.io/JegTr
<{^_^}> [nixpkgs] @Mic92 merged pull request #71915 → eternal-terminal: 5.1.10 -> 6.0.4 → https://git.io/Je0Po
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JegTK
<ctp> @infinisil yeah, good point. gonna do
<azazel> hi guys
<azazel> I got my kvm VMs not starting after upgrading to 19.09 looking it up I found this bug: https://patchwork.kernel.org/patch/11038653/
<{^_^}> [nixpkgs] @offlinehacker opened pull request #72418 → bitcoin: install desktop file and pixmaps → https://git.io/JegTM
<azazel> which clearly affects the wemu 4.0 shipped with 19.09 I'm unsure though if to file a bug on nixpkgs... I have no clear way on how to reproduce it
dreverri has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<lordcirth__> azazel, so it's a conflict with the config files?
ng0 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<azazel> lordcirth__: probably, yes, I'm running my VMs with libvirt on top so I'm not managing them directly.. see also this bug for RHEL https://bugzilla.redhat.com/show_bug.cgi?id=1740972
aswanson has joined #nixos
<azazel> lordcirth__: I've currently switched to using qemu 4.1 from unstable, and it works... It's just 4.0 (that's shipped with 19.09) that's affected
<lordcirth__> azazel, ok. Well, it seems like you ought to be able to reproduce that? Install pre-19.09, upgrade, break?
reallymemorable has joined #nixos
<azazel> I've tried to patch it, but the actual patch is for 4.1 and I'm not familiar enough with the qemu code to backport it
toppler has joined #nixos
jedai has joined #nixos
orivej has joined #nixos
hmpffff has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hmpffff has quit [Ping timeout: 240 seconds]
Mateon1 has joined #nixos
o1lo01ol1o has joined #nixos
Okinan has quit [Read error: Connection reset by peer]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72391 → nixos/gnupg: add dbus dependencies for gnome3 pinentry → https://git.io/Jezdd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JegkI
hyper_ch2 has joined #nixos
tmaekawa has quit [Ping timeout: 265 seconds]
dreverri has quit [Remote host closed the connection]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon2 is now known as Mateon1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72400 → accountsservice: fix vendor extensions → https://git.io/Jezb8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JegkZ
<{^_^}> [nixpkgs] @WilliButz opened pull request #72419 → rubyPackages: remove global v8 pinning → https://git.io/JegkW
Makaveli7 has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @minijackson opened pull request #72420 → waylandpp: 0.2.5 -> 0.2.7, make it split-output package → https://git.io/Jegk0
is_null has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
domogled has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
silver has joined #nixos
jumper149 has joined #nixos
dreverri has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #72402 → tealdeer: 1.1.0 -> 1.2.0 → https://git.io/JezNj
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jegkw
<jumper149> Hi, Im trying to build a derivation. I managed to build the program with "nix-shell -p ..." and then "make", but I dont get it with "nix-build".
toppler has joined #nixos
hyper_ch2 has joined #nixos
<jumper149> I get an error message, that it didn't find the library from gcc.
<jumper149> or maybe the message is actually from make, but still it doesnt find the lib.
<jumper149> This is what I tried to do http://sprunge.us/1knQ58
<jumper149> and this is my default.nix
Neo-- has joined #nixos
mexisme has joined #nixos
<symphorien> buildInputs = [libX11, libXrandr];
lunik1213 has quit [Ping timeout: 246 seconds]
<jumper149> ty, that worked now I have to figure out the "make install" part :)
<symphorien> :)
dreverri has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 268 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AluisioASG has joined #nixos
pjan has quit [Ping timeout: 240 seconds]
<tyrion1> Hello, I am getting an error while trying to install nvidia drivers. I have no idea why is that, could anybody have a look? https://pastebin.com/7UayGuQ0
bvdw has quit [Read error: Connection reset by peer]
laas has quit [Quit: 30 day idle timeout.]
bvdw has joined #nixos
TheSirC[m] has quit [Quit: 30 day idle timeout.]
jumper149 has quit [Quit: WeeChat 2.6]
<tyrion1> I updated the paste with the relevant part of my configuration.nix
alexoundos[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : 30 day idle timeout."]
alj[m] has quit [Quit: 30 day idle timeout.]
alxev[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : 30 day idle timeout."]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<emilsp> I know this isn't gimp.net, but has anyone seen issues where disconnecting a display/keyboard completely trashes your gnome session and then trying to login back again with the display/keyboard being reconnected, the logged in gnome session is incapable of spawning a terminal or anything really?
<{^_^}> [nixpkgs] @prusnak opened pull request #72421 → cointop: 1.3.4 -> 1.3.6 → https://git.io/JegIU
copy` has left #nixos ["Kicked by @appservice-irc:matrix.org : 30 day idle timeout."]
<clever> CMCDragonkai: if you try to write too much to a tmpfs, it will swap out the same as normal app ram, whatever was used the least
<clever> CMCDragonkai: and if you use too much, then allocations will just begin to fail, causing all kinds of problems
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72422 → bitcoin-abc: 0.20.3 -> 0.20.5 → https://git.io/JegIs
grahamc[m] has quit [Quit: 30 day idle timeout.]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @lsix merged pull request #72421 → cointop: 1.3.4 -> 1.3.6 → https://git.io/JegIU
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JegIG
Thra11 has quit [Ping timeout: 246 seconds]
pjan has joined #nixos
jak_wolf[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : 30 day idle timeout."]
jreed has joined #nixos
<{^_^}> [nixpkgs] @BenBals opened pull request #72423 → jabref: 3.8.1 -> 4.3.1 → https://git.io/JegIE
drakonis1 has joined #nixos
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
gwen has joined #nixos
ng0_ is now known as ng0
<{^_^}> [nix] @ng-0 opened pull request #3192 → include netinet/in.h in src/nix/main.cc → https://git.io/JegI6
Thra11 has joined #nixos
<chreekat_> What's the word on Nix on the new Mac? Just had somebody tell me they couldn't try out my project because Nix wouldn't install
<adisbladis> chreekat_: Check https://github.com/NixOS/nix/issues/2925
<{^_^}> nix#2925 (by mroi, 21 weeks ago, open): /nix will not be writable on macOS Catalina
<adisbladis> I believe that's the most up-to-date source atm
<chreekat_> k, thx
Thra11 has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<gwen> Hi, does anyone now the package that provides libjawt.so?
<ar> ,locate libjawt.so
<{^_^}> Found in packages: zulu, zulu8, bootjdk, jre.jre, openjdk, openjdk11, scilab-bin, jetbrains.jdk, jdk11_headless, jetbrains.clion, jetbrains.rider, adoptopenjdk-bin, jetbrains.goland, jre8_headless.jre, adoptopenjdk-jre-bin, jetbrains.idea-community, adoptopenjdk-openj9-bin-11, jetbrains.pycharm-community, adoptopenjdk-jre-openj9-bin-11
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72424 → atlassian-confluence: 7.0.2 -> 7.0.3 → https://git.io/JegIb
jonringer has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
Tony[m]4 has quit [Quit: 30 day idle timeout.]
gwen has quit [Ping timeout: 268 seconds]
weebull[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : 30 day idle timeout."]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #70312 → urxvt_bidi: init at 2.15 → https://git.io/Jec8Q
<{^_^}> [nixpkgs] @veprbl pushed commit from @doronbehar to master « urxvt_bidi: init at 2.15 (#70312) »: https://git.io/JegLJ
<{^_^}> [nixpkgs] @mmahut merged pull request #72415 → nixos/trickster: init → https://git.io/JegJf
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/JegLL
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72425 → atlassian-cli: 8.5.0 -> 9.0.0 → https://git.io/JegLs
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @Kha opened pull request #72426 → xdg-utils: fix reference to mimetype → https://git.io/JegLB
<{^_^}> [nixpkgs] @marsam merged pull request #72406 → eksctl: 0.7.0 -> 0.8.0 → https://git.io/JezpK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JegL0
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72427 → btrfs-progs: 5.2.2 -> 5.3.1 → https://git.io/JegLu
<{^_^}> [nixpkgs] @mmahut opened pull request #72428 → flexibee: 2019.3.0.3 -> 2019.3.0.7 and adding the server binary → https://git.io/JegLV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72429 → carla: 2.0.0 -> 2.1-b1-test1 → https://git.io/JegLw
<HappyEnt[m]> anybody know why there is a dedicated auctex package besides the auto generated one from elpa? The only difference I see is that there seems to be a cheat sheet with keybindings included and some info files.
johnnywho has joined #nixos
reallymemorable has joined #nixos
gjabell has joined #nixos
<adisbladis> HappyEnt[m]: Probably historical reasons.
<adisbladis> HappyEnt[m]: Could you create an issue and cc me?
<wedens[m]> HappyEnt: generated one doesn't specify native dependencies
* adisbladis <- emacs infra maintainer
Chiliparrot has joined #nixos
<adisbladis> wedens[m]: We could add that via an override
<adisbladis> All packages that can be auto-generated should be.
<adisbladis> So the explicit top-level auctex package should be removed.
<wedens[m]> in the overlay, sure
<adisbladis> wedens[m]: Not just in the overlay
<adisbladis> In fact, I don't want _any_ overrides in the overlay.
<adisbladis> nixpkgs is very much an upstream for the overlay
<adisbladis> The only improvements happening are the overlay are experimental things not ready for nixpkgs inclusion.
<HappyEnt[m]> adisbladis: I will create an Issue :)
<adisbladis> HappyEnt[m]: Great! :)
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
toppler has quit [Ping timeout: 264 seconds]
<wedens[m]> alright. I must've misunderstood the purpose of the overlay :)
<adisbladis> wedens[m]: The only purpose is to provide bleeding edge packages
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<adisbladis> All overrides used are from nixpkgs itself
<wedens[m]> I thought it was supposed to replace emacs infra in nixpkgs at some point
<adisbladis> That's not my ambition
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72430 → brave: 0.69.128 -> 0.69.135 → https://git.io/JegLM
<adisbladis> wedens[m]: In fact, even the update scripts live in nixpkgs
<adisbladis> The overlay just wraps them with some extra logic
johnnywho has quit [Ping timeout: 252 seconds]
dreverri has joined #nixos
<wedens[m]> ok. thanks for clarifying. what's the update rate of emacs packages in nixpkgs then?
<adisbladis> wedens[m]: It used to be roughly once a month, but could sometimes take up to 3
<adisbladis> Now it's more often because we can piggyback on the overlays generated files :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72432 → avro-c: 1.9.0 -> 1.9.1 → https://git.io/JegLQ
<{^_^}> [nixpkgs] @ffinkdevs opened pull request #72433 → duplicacy: 2.1.2 -> 2.2.3 → https://git.io/JegL7
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #72426 → xdg-utils: fix reference to mimetype → https://git.io/JegLB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JegLb
<{^_^}> [nixpkgs] @Ericson2314 pushed to bash-no-undef-vars « rust, pypi2nix: Allow IN_NIX_SHELL to be undefined »: https://git.io/JegLA
johnnywho has joined #nixos
ddima has quit [Quit: Lost terminal]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @oxalica opened pull request #72434 → rust-src: shrink the size → https://git.io/Jegte
toppler has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #72435 → chezmoi: 1.5.5 -> 1.7.2 → https://git.io/JegtY
<{^_^}> [nix] @edolstra merged pull request #3192 → include netinet/in.h in src/nix/main.cc → https://git.io/JegI6
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jegt3
<{^_^}> [nixpkgs] @matthewbauer opened pull request #72437 → ledger-udev-rules: update to 2019-05-30 → https://git.io/Jegtn
drakonis1 has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #72439 → terraform: 0.12.12 -> 0.12.13 → https://git.io/Jegtz
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @Ericson2314 pushed to bash-no-undef-vars « rust, pypi2nix: Allow IN_NIX_SHELL to be undefined »: https://git.io/Jegtr
endformationage has joined #nixos
nixtacular has joined #nixos
<Twey> How come our glibc is so old?
magnetophon has quit [Ping timeout: 265 seconds]
<Twey> Even on master it's only 2.27 — that's a year old now
<nixtacular> i have a question about the workflow for modifying "generated" packages in Nixpkgs (e.g., `nodePackages`, `vimPlugins`). the docs say that I should add or update a package by modifying a static file then running a generate script. for example, for `nodePackages`, I add my package to `node-packages-v10.json`, then run `generate.sh`, which updates
<nixtacular> `node-packages-v10.nix`. the problem is that by doing so, it also updates every other package in `nodePackages`.
<nixtacular> is there a better way to add just one package in these cases without modifying others? and when adding a new package for Nixpkgs, is it acceptable to submit a PR with dozens of updates + your new package?
<dminuoso> nixtacular: You dont have to stage any of those changes.
hyper_ch2 has quit [Remote host closed the connection]
<wedens[m]> Twey: can you imagine how many rebuilds glibc will cause? :)
<dminuoso> Merge requests that contain unrelated modifications are generally frowned upon.
<nixtacular> dminuoso: right. so i tried that approach, but it's a terrible UX because in some cases your new package introduces many new dependencies. so now i need to hunt and peck through `git add -i` to make sure i manually filter out all the modifications and keep my dependencies.
<dminuoso> nixtacular: node is horrible, isnt it.
<nixtacular> dminuoso: hahaha
<{^_^}> #66528 (by lblasc, 11 weeks ago, open): glibc: 2.27 -> 2.30 WIP
<nixtacular> so basically, i'm doing the right thing, it's just a poor UX
<adisbladis> nixtacular: Updating everything is fine
<adisbladis> It's the "blessed way" in nixpkgs
<dminuoso> I didn't expect that.
<adisbladis> The UX sucks, but it is what it is.
<dminuoso> But I suppose in case of node its what you get..
<dminuoso> Add one library and break 20 others
<nixtacular> wait really? so the blessed way is genuinely to just update everything when adding your own thing?
<adisbladis> dminuoso: Yep
<{^_^}> [nix] @zimbatm closed pull request #2795 → travis: run release build → https://git.io/fjcaA
ftzm has quit [Ping timeout: 240 seconds]
<nixtacular> yikes
<adisbladis> It's not as bad as it sounds tbh
<gchristensen> individual, atomic upgrades
johnnywho has quit [Ping timeout: 246 seconds]
<nixtacular> adding to my big list of potential Nix projects :-)
<nixtacular> gchristensen: lol
<adisbladis> It has a nice side effect: The node package set is actually updated
<dminuoso> I guess ultimately it doesnt really matter on the nix-side of things. Projects wont break if they properly pin their nixpkgs.
<dminuoso> And if they dont, then breakage is to be expected over time.
<nixtacular> and most projects using node are using node2nix and generating their own manifests
<nixtacular> yeah but now there's a confusing double standard. the packages in `nodePackages` are intended to be binaries, tools and such, not libraries used by projects. as such, they should really be maintained in the same way that any other package is maintained.
<nixtacular> i mean, why should breakage be expected over time? we should aim for stability, no?
<{^_^}> [nixpkgs] @marsam opened pull request #72440 → postgresqlPackages.timescaledb: 1.4.2 -> 1.5.0 → https://git.io/Jegtj
<nixtacular> or should we...? genuine question. is there an enshrined list of goals/values for the project somewhere? like a "Nixpkgs constitution"?
<dminuoso> nixtacular: Breakage in the sense of "If its not pinned its not deterministic"
<adisbladis> nixtacular: I think the current way is a helluva lot better than manually maintaining derivations
<adisbladis> If I can add a line, run a script and pretty much forget about it that's fantastic in my book
<{^_^}> [nixpkgs] @marsam opened pull request #72441 → postgresqlPackages.pg_topn: 2.2.2 -> 2.3.0 → https://git.io/JegqJ
<{^_^}> [nixpkgs] @mmahut merged pull request #72422 → bitcoin-abc: 0.20.3 -> 0.20.5 → https://git.io/JegIs
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JegqT
<nixtacular> dminuoso: hmm this is actually a good point, but maybe one that needs to be communicated more clearly to new users. "while Nix package maintainers strive to maintain quality standards in the distribution, the Nix way is to rely on pinning for stability"
<{^_^}> [nixpkgs] @Mic92 merged pull request #71899 → build-support/rust: Add target option → https://git.io/Je0wM
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jegqk
<nixtacular> adisbladis: would you say the same for, say, glibc? :-)
<adisbladis> nixtacular: It's not the same :)
<adisbladis> But in theory, yes
<nixtacular> every package is a special snowflake!!!! (Nix pun lol sorry)
<dminuoso> nixtacular: I wouldn't say stability. I'd say determinism.
<dminuoso> "stability" is a fuzzy term
<dminuoso> Different people understand different things.
<nixtacular> alright, let me add one more question. my intention in adding this particular node package is actually to get a certain vim plugin working. the plugin is literally a node package, it just needs to be wrapped using the vim build mechanics (to get placed inside of vim's runpath, etc.) `nodePackages` isn't totally appropriate because it's supposed, in
<nixtacular> theory, to be a place for binaries. would it be appropriate to create a new generate script/subsystem just for node packages in `vimPlugins`?
sigmundv__ has joined #nixos
<nixtacular> dminuoso: yes agreed. determinism is more accurate.
sigmundv has quit [Ping timeout: 240 seconds]
<raboof> having packages stick to old versions 'by accident' is risky as well - I like the 'move forward and break things, but deterministically so you can actually debug and fix them' :D
<adisbladis> nixtacular: It's OK to add an alias to nodePackages somewhere else.
toppler has quit [Ping timeout: 246 seconds]
<Twey> wedens[m]: All of them? :þ But it's got to happen some time!
<nixtacular> adisbladis: but the actual package itself should be added to `nodePackages`, then? i.e. source of truth should be `nodePackages`?
<adisbladis> Yep
<nixtacular> perfect, thanks
<wedens[m]> yeah. it's just infeasible to do it for every minor release without some critical fixes
dreverri has quit [Remote host closed the connection]
erasmas has joined #nixos
tabasko has quit [Quit: tabasko]
waleee-cl has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis1 has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
drakonis_ has joined #nixos
drakonis1 has joined #nixos
lsix has quit [Quit: Leaving]
hark has quit [Ping timeout: 240 seconds]
tg has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Mic92 merged pull request #72434 → rust-src: shrink the size → https://git.io/Jegte
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JegqR
drakonis has quit [Ping timeout: 264 seconds]
adamt has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #72442 → pazi: 0.4.0 -> 0.4.1 → https://git.io/Jegq0
o1lo01ol1o has joined #nixos
toppler has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jreed has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @arachnist opened pull request #72443 → ell: 0.24 -> 0.26, iwd: 0.22 -> 1.0 → https://git.io/Jegq2
aaa_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72444 → abcmidi: 2019.08.11 -> 2019.10.13 → https://git.io/Jegqy
tg has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72445 → Bump cachy → https://git.io/JegqF
hark has joined #nixos
xensky has quit [Read error: Connection reset by peer]
dreverri has joined #nixos
xensky has joined #nixos
artemist has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 246 seconds]
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
tv has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 276 seconds]
aaa_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/Jegmc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72447 → bleachbit: 2.2 -> 3.0 → https://git.io/Jegml
<NemesisD> does anyone know if there's a way to get `callHackageDirect` to choose a specific revision or force it to use the latest revision?
grumboo is now known as grumble
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/021a5cc6ab1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @zimbatm merged pull request #72439 → terraform: 0.12.12 -> 0.12.13 → https://git.io/Jegtz
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to master « terraform: 0.12.12 -> 0.12.13 (#72439) »: https://git.io/JegmX
<chreekat_> Is there a technical reason /nix was chosen?
<gchristensen> vs?
<{^_^}> [nixpkgs] @sikmir opened pull request #72448 → qmapshack: 1.13.2 -> 1.14.0 → https://git.io/Jegmy
<{^_^}> [nixpkgs] @adisbladis merged pull request #72243 → emacs-*-rtags: use upstream package names → https://git.io/Jeu14
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jegm7
<{^_^}> [nixpkgs] @jonringer opened pull request #72449 → python3Packages.solo-python: 0.0.15 -> 0.0.18 → https://git.io/Jegm5
<chreekat_> gchristensen: /opt/nix
<chreekat_> (e.g.)
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #72210 → emacs-cmake-mode: do not run `configure` → https://git.io/JeuwU
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JegmA
<edef> no strong reason to cut much further into PATH_MAX
<edef> the shortest store paths are 45 chars
<adisbladis> Also Nix is not FHS, in that sense /opt/nix would be strange
<adisbladis> I'm guessing this has to do with the recent OSX troubles?
<{^_^}> [nixpkgs] @Ericson2314 pushed to bash-no-undef-vars « qt5: `postPhases` can be undefined in setup hook »: https://git.io/Jegmp
drakonis has joined #nixos
<chreekat_> The recent OSX troubles made me revisit my original skepticism... I bounced off Nix once or twice because the first thing I was confronted with was a violation of the FHS
drakonis1 has quit [Quit: WeeChat 2.6]
<adisbladis> We love FHS :) We love it so much we have tons of FHS environments
zeta_0 has joined #nixos
<symphorien> thechnically you can have you nix store wherever you want, but you lose the benefit of the binary cache
<adisbladis> chreekat_: Nix is not the only project broken by apples shenanigans
<adisbladis> Other, more FHS-compliant software, is also broken.
jonringer has quit [Ping timeout: 268 seconds]
<zeta_0> i got past the ihaskell error but now when i try to upgrade the channel i get this error: https://hastebin.com/masipuloqe.rb
drakonis_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72450 → at-spi2-atk: 2.34.0 -> 2.34.1 → https://git.io/JegYt
<adisbladis> I like to call this the "proprietary experience", stuff breaks and you have no recourse to fix it.
Ariakenom has joined #nixos
<chreekat_> Yeah, my colleague tried to install VirtualBox after Nix didn't work, and it was also broken. :P But I imagine it's a lot easier for VirtualBox to migrate than it would be for us
<zeta_0> i am running these 2 commands: `nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos` and `nixos-rebuild switch --upgrade`
<symphorien> try with unstable not small
<symphorien> unstable-small only guarantees few packages build
toppler has quit [Ping timeout: 276 seconds]
vuko has quit [Quit: leaving]
vuko has joined #nixos
<chreekat_> Let me back up a bit -- I'm fine with /nix , really, and I am not victimized by the fact that 90% of my colleagues use Macs. I'm still curious - was there a technical reason? Maybe it's in the dissertation? I still want to read that
<adisbladis> chreekat_: It's gonna be interesting to see how apple deals with this mess... Or if they just decide https://pixel.nymag.com/imgs/daily/vulture/2019/06/25/25-this-is-fine-lede-new.w1200.h630.jpg
<chreekat_> :D
gxt has joined #nixos
<niksnut> there's no reason for /nix other than that it's short
<zeta_0> symphorien: so nixos-unstable-small is only for servers so it won't work on my laptop ?
jreed has joined #nixos
<symphorien> it only guarantees that fewer packages builds. In exchange it updates faster.
<samueldr> might need a rephrase, it has the same guarantees in tests as the non-small channels, but doesn't wait for the full package set to be finished building
<samueldr> to be finished *trying* to be built, even
drakonis has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
judson has joined #nixos
toppler has joined #nixos
drakonis_ has joined #nixos
<zeta_0> ok, i'll try upgrading to nixos-unstable instead
MichaelRaskin has joined #nixos
rudzha has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
zeta_0 has quit [Quit: rebuilding]
<{^_^}> [nixpkgs] @flokli merged pull request #72098 → imagemagick6: 6.9.10-68 -> 6.9.10-69, imagemagick7: 7.0.8-68 -> 7.0.9-0 → https://git.io/JeEx2
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JegYg
chreekat_ has quit [Quit: quitting]
ddima has joined #nixos
<wedens[m]> adisbladis: have you considered setting up cachix for emacs head?
<{^_^}> [nixpkgs] @gebner pushed to master « curaPlugins.octoprint: make compatible with cura 4.3.0 »: https://git.io/JegYa
<adisbladis> wedens[m]: Yes, but the package is usually updated multiple times daily
<adisbladis> So any cached copy would not live for long :/
<adisbladis> Or, it would not be beneficial for long
<adisbladis> (btw, #nixos-emacs is a thing)
<{^_^}> [nixpkgs] @arachnist closed pull request #72443 → ell: 0.24 -> 0.26, iwd: 0.22 -> 1.0 → https://git.io/Jegq2
<ar> aaan, my PR turned out to be a dup
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72452 → busybox: 1.30.1 -> 1.31.1 → https://git.io/JegYi
ng0 has quit [Ping timeout: 260 seconds]
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
zupo has joined #nixos
johnnywho has joined #nixos
lord| has joined #nixos
artemist has joined #nixos
ng0 has joined #nixos
zeta_0 has joined #nixos
andromeda-galaxy has quit [Ping timeout: 240 seconds]
<zeta_0> ihaskell is still throwing errors when i try to upgrade the nix channel ? https://hastebin.com/vohuqexisa.bash
<{^_^}> [nixpkgs] @flokli opened pull request #72453 → 19.09 imagemagick bumps → https://git.io/JegYd
<zeta_0> is something wrong with that code ?
rudzha has joined #nixos
Thra11 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @adisbladis closed pull request #65300 → RFC: Emacs 27 derivation → https://git.io/fjDqi
<adisbladis> T minus 5 commits!
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72454 → alembic: 1.7.11 -> 1.7.12 → https://git.io/JegOI
<{^_^}> [nixpkgs] @mmahut opened pull request #72455 → trac: init at 1.4 → https://git.io/JegOL
nixtacular has quit [Remote host closed the connection]
nh2_ is now known as nh2
<{^_^}> [nix] @matthewbauer opened pull request #3193 → Update man to show that nix-shell allows --arg → https://git.io/JegOY
tabasko has joined #nixos
tabasko has quit [Client Quit]
iqubic has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72456 → btrbk: 0.28.3 -> 0.29.0 → https://git.io/JegOW
Thra11 has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72457 → spirv-tools: 2019.3 -> 2019.4 → https://git.io/JegO4
<{^_^}> [nixpkgs] @7c6f434c merged pull request #72427 → btrfs-progs: 5.2.2 -> 5.3.1 → https://git.io/JegLu
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JegOB
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nix] @matthewbauer opened pull request #3194 → Pass --static flag to pkg-config when necessary → https://git.io/JegOE
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72458 → avocode: 3.9.3 -> 3.9.6 → https://git.io/JegOg
mexisme has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72459 → asunder: 2.9.4 -> 2.9.5 → https://git.io/JegOV
<zeta_0> vaibhavsagar: hello again, i am very happy with ihaskell, but for some reason when i try to upgrade my nix channel(nixos-19.03-stable to nixos-20.03-unstable) ihaskell throws an error that it's not able to build, is something wrong with the this ihaskell code ? https://hastebin.com/vohuqexisa.bash
fusion809 has quit [Remote host closed the connection]
vuko has quit [Ping timeout: 246 seconds]
q3k has quit [Ping timeout: 240 seconds]
vuko has joined #nixos
tv has joined #nixos
q3k has joined #nixos
nschoe has joined #nixos
<nschoe> Hey everyone, I'm wondering if s/o can explain how to enable TLS with gstreamer? I have a shell.nix with gst_all_1.gstreamer and all plugins. When I'm launching a pipeline with uri=https://... it fails with "TLS/SSL support not available; install glib-networking (6)". So I added `glib-networking` to the `buildInputs` of the shell.nix, but it doesn't change anything.
<nschoe> I've searched a bit in the *.nix files in the gstreamer directory for things like "enableHttps?" or "withGLibNetworking" or things liek this, but could not find.
<nschoe> Is there smth obvious that I missed?
dreverri has quit [Remote host closed the connection]
<Twey> nschoe: It *looks* like it's included in `gst-plugins-bad`?
<vaibhavsagar> zeta_0: the latest IHaskell works with nixos-19.09 and hasn't been tested with 20.03
<Twey> That requires openssl and gnutls
<nschoe> Twey, yes, and in good/default.nix, I can find libsoup too. But it's not conditional, it looks enabled. So I can't understand why playbin doesn't work.
toppler has joined #nixos
<nschoe> I'm literally launching the basic, basic pipeline, straight from the gsteramer tutorial "gst-launch-1.0 playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"
<symphorien> it probably needs to be wrapped with wrapGappsHook
<{^_^}> [nixpkgs] @gebner pushed to master « curaPlugins.octoprint: patch merged upstream »: https://git.io/JegOF
<symphorien> or soemthing like that
<nschoe> symphorien, is your message for me?
<symphorien> yes
Chiliparrot has joined #nixos
<nschoe> okay, hum I don't know about this :/
<symphorien> glib-networking is the kid of thing I imagine needs schemas or things like that
<symphorien> *kind
<nschoe> Hum okay if yo usay so :/ But I'm not doing anything special here ,I suppose I'm not the only one having this issue?
<nschoe> I'm reading about wrapGappsHook right now to understand what this is about.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72460 → airsonic: 10.4.1 -> 10.4.2 → https://git.io/Jeg3f
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.pysnmp: Fix the build »: https://git.io/Jeg3U
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-xbuild: 0.5.15 -> 0.5.18 »: https://git.io/Jeg3O
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72461 → catch2: 2.10.0 -> 2.10.2 → https://git.io/Jeg3G
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/Jeg3C
dreverri has joined #nixos
freeman42x has joined #nixos
lorimer has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72442 → pazi: 0.4.0 -> 0.4.1 → https://git.io/Jegq0
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « pazi: 0.4.0 -> 0.4.1 »: https://git.io/Jeg3R
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
<drakonis_> OUR FINAL COMMIT BEFORE 200K
<drakonis_> HOOYAH
<Twey> nschoe: Is that using gst_all_1.{gstreamer,gst-plugins-bad}?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72462 → ccls: 0.20190823.3 -> 0.20190823.4 → https://git.io/Jeg3P
kaba has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72463 → batctl: 2019.3 -> 2019.4 → https://git.io/Jeg3S
<kaba> Hi, does unstable's plasma5 support night color? I can't seem to find it even though it supposed to be available with 5.11+
<drakonis_> night color is 5.17
<drakonis_> actually, i think that's x11 night color
<drakonis_> wayland has received it first
<drakonis_> i dont think it was bumped to 5.17 just yet
eraserhd has quit [Quit: WeeChat 2.6]
<kaba> Oh, thanks
vuko has quit [Ping timeout: 246 seconds]
tilpner has quit [Quit: tilpner]
cosimone has joined #nixos
q3k has quit [Ping timeout: 246 seconds]
<drakonis_> pull request exists but has not been merged
<drakonis_> #71232
<{^_^}> https://github.com/NixOS/nixpkgs/pull/71232 (by nyanloutre, 2 weeks ago, open): plasma-5: 5.16.5 -> 5.17.0 kdeFrameworks: 5.62 -> 5.63
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #72465 → vapoursynth-editor: use qt's mkDerivation → https://git.io/Jeg3d
<drakonis_> the blocker seems to be a launch script rewrite done by kde's developers
ris has joined #nixos
shibboleth has joined #nixos
<worldofpeace> I guess that PR could be unblocked if the previous bash scripts that were rewritten were extracted and used in substitute for the C++ one's
<drakonis_> would be fine and dandy
<drakonis_> ditching the redlight plasmoid would be good.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72467 → checkstyle: 8.25 -> 8.26 → https://git.io/Jeg3j
<drakonis_> it barely works with nixos these days
evils has quit [Quit: Lost terminal]
<drakonis_> redshift rather.
kaba has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
<nschoe> Well I tried putting a few wrapGAppsHook here and there, and this doesn't seem to change anything :/
<nschoe> Still got "TLS/SSL support not available; install glib-networking"
cosimone has joined #nixos
<symphorien> wrapGappsHook has no effect in nix-shell
<symphorien> it only does something in the fixupPhase of regular nix-build
FaeFly is now known as FireFly
toppler has quit [Ping timeout: 240 seconds]
<nschoe> symphorien, no no I mean I added wrapGAppsHook in the nativeBuildInputs of the gstreamer good plugins, also tried glib-networking, etc. And rebuild the whole thing.
<symphorien> ah
<nschoe> Took a bit of time, but then nothing changes :/
szyk has joined #nixos
<nschoe> But then again there isn't much information and I'm not sure what this is supposed to do.
<zeta_0> vaibhavsagar: oh ok, thanks for letting me know
drakonis has quit [Quit: WeeChat 2.4]
mexisme has joined #nixos
<szyk> during compiling AssaultCube 1.2.0.2 on NixOS 19.09 (virtual image) I get an error: /nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/ld: client.o: in function `multiplayer(bool)': client.cpp:(.text+0x3d): undefined reference to `libintl_gettext'
Okinan has quit [Quit: Konversation terminated!]
<genesis> szyk : i'm the maintenair
<genesis> go pv :)
<szyk> ok :)
Okinan has joined #nixos
drakonis has joined #nixos
toppler has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
kaba has joined #nixos
hpfr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 pushed 10 commits to bash-no-undef-vars: https://git.io/JegsK
<kaba> I found several PRs regarding wayland stating that plasma wayland works on nixos, but I can't seem to start it (neither with kwin_wayland nested, nor dbus-run-session.) they die with core dumped. I tried adding my user to the video group, no luck either and no comment on these PRs show a command for plasma
<kaba> Could someone please tell me how can I try it?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72471 → diffoscope: 127 -> 129 → https://git.io/JegsM
o1lo01ol1o has quit [Remote host closed the connection]
rudzha has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
o1lo01ol1o has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
rudzha has joined #nixos
<enteee> I would like to work on a drv as non root user, what do I have to set up to nix-build as user work? Tried setting the NIX_STORE_DIODR to a user writable location but don't know if thats the right approach.
<clever> enteee: nix-build should just work on non-root without any env vars
<enteee> clever: hm.. but wont that try to copy the drv to /nix/store ?
johnnyfive has quit [Quit: I quit now.]
<clever> enteee: yes, and if you lack +w access, it will do it via nix-daemon
johnnyfive has joined #nixos
<enteee> clever: ok, thx. Maybe i've to go one step back, i am running installPhase inside a nix-shell, which does not seem to have this fallback enabled. How do I get this to work?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72465 → vapoursynth-editor: use qt's mkDerivation → https://git.io/Jeg3d
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jegs7
<clever> enteee: installPhase will never work in nix-shell, since only nix-build gives you write access to $out
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<clever> enteee: if you want to test things, you either need to re-export $out to point somewhere else, or use nix-build to test
cyraxjoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jegs5
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @tadeokondrak to release-19.09 « vapoursynth-editor: use qt's mkDerivation »: https://git.io/Jegsd
<enteee> clever: ok. i will try that then. Thought nix-shell was for testing as well.
<enteee> clever: thank you for your help & time.
<clever> enteee: nix-shell can test everything except for the copy to /nix/store/
Okinan has quit [Client Quit]
m3thos has quit [Remote host closed the connection]
Okinan has joined #nixos
cyraxjoe has joined #nixos
Okinan has quit [Changing host]
Okinan has joined #nixos
jgeerds_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72472 → dblatex: 0.3.10 -> 0.3.11 → https://git.io/Jegsp
<{^_^}> [nixpkgs] @ehmry merged pull request #69926 → qtbitcointrader: 1.40.41 -> 1.40.43 → https://git.io/JeZ9r
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/Jegsh
mexisme has quit [Ping timeout: 264 seconds]
Okinan has quit [Client Quit]
Okinan has joined #nixos
Okinan has quit [Client Quit]
Okinan has joined #nixos
<infinisil> kaba: You're not using the NixOS module?
<kaba> infinisil: I'm not sure I follow: I have desktopManager.plasma5.enable = true in my configuration.nix, how can I start it?
<infinisil> Hm I see, I'm not using it myself, but it should start when the display manager starts
<andi-> Whats our current story on openGL (nvidia, cuda, …) on non-nixos? It seems to require /run/opengl on the host to contain all the GPU related libs?
<infinisil> I mean, you should be able to start it from the display manager
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
lucus16 has joined #nixos
<kaba> infinisil: The x11 one starts out fine from sddm, but as I have read from several PRs, the wayland session's .desktop file is not found by it, it only works from command line. Though now that you say it i will try the default desktopmanager
lucus16 has left #nixos ["-"]
toppler has quit [Ping timeout: 246 seconds]
jreed has quit [Remote host closed the connection]
Okinan has joined #nixos
Okinan has quit [Changing host]
soju has joined #nixos
ozychhi has quit [Ping timeout: 246 seconds]
ozychhi has joined #nixos
mexisme has joined #nixos
nschoe has quit [Ping timeout: 246 seconds]
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<{^_^}> [mobile-nixos] @samueldr pushed to gh-pages « Empty root commit. »: https://git.io/JegGn
Thra11 has quit [Ping timeout: 264 seconds]
<{^_^}> [mobile-nixos] @samueldr pushed to gh-pages « GitHub pages setup »: https://git.io/JegGW
<{^_^}> [nixpkgs] @Ericson2314 pushed to bash-no-undef-vars « treewide: JAVA_HOME may not always be defined »: https://git.io/JegGl
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72474 → check: 0.12.0 -> 0.13.0 → https://git.io/JegG4
toppler has joined #nixos
zeta_0 has joined #nixos
<zeta_0> do a lot of packages not want to build on nixos-unstable ? i keep on getting build errors ?
<zeta_0> when i try to upgrade channels
<waleee-cl> what packages?
<waleee-cl> haskell packages may have issues (it was my experience at least when using unstable ghcWithPackages)
bvdw has quit [Read error: Connection reset by peer]
<zeta_0> waleee-cl: i commented out ihaskell, then when i tried to do the upgrade again the `icecat` package threw a rebuild error
bvdw has joined #nixos
<zeta_0> if these rebuild errors keep happening i guess i'll just upgrade to nixos-stable(19.09)
<zeta_0> instead
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72475 → devpi-server: 5.1.0 -> 5.2.0 → https://git.io/JegGz
evils has joined #nixos
nschoe has joined #nixos
zeta_0 has quit [Quit: rebuilding]
Thra11 has joined #nixos
<waleee-cl> zeta_0 you could always install icecat from the 19.09 channel while having the system on unstable?
<waleee-cl> oh, he quit
mexisme has quit [Ping timeout: 276 seconds]
kolaente has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
zeta_0 has joined #nixos
fendor_ has joined #nixos
<zeta_0> i commented out icecat, when i tried to upgrade to nixos-unstable again it threw another error: `cannot connect to daemon socket` ?
kolaente has quit [Quit: WeeChat 2.4]
vuko has joined #nixos
kolaente has joined #nixos
q3k1 has joined #nixos
<nschoe> Hi again, has anyone managed to use an uninstalled version of gstreamer with gst-build?
kolaente has quit [Client Quit]
<nschoe> I followed https://github.com/GStreamer/gst-build, it seems to work fine. But after running "ninja uninstalled" from build/ I don't have access to simple commands like gst-inspect-1.0 :/
<{^_^}> [nixpkgs] @aanderse merged pull request #70479 → perlPackages.libapreq2: add patch for CVE-2019-12412 → https://git.io/JeCOA
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JegGF
<ShaRose> hm. when updating a package that uses fetchPypi, how do I find the correct sha256 hash?
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-19.09-small: https://git.io/JegGh
kolaente has joined #nixos
<ShaRose> oh, never mind. it's actually updated.
q3k1 is now known as q3k
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/20c33217307 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeta_0 has joined #nixos
<zeta_0> have any of you guys had problems when upgrading to nixos-unstable ? i'm getting build errors ?
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72476 → cimg: 2.7.4 -> 2.7.5 → https://git.io/JegZs
soju has quit [Remote host closed the connection]
<{^_^}> zeta_0: Please expand your question to include more information, this will help us help you :)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-polysemy: update override for the latest version »: https://git.io/JegZC
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to avoid evaluation errors on Hydra »: https://git.io/JegZl
growpotkin has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JegZ8
<wrl> hey, if i'm trying to get some upstream binary-only closed-source software working and i would prefer not to patchelf, is there a good way to like... drop into a nix-shell with LD_LIBRARY_PATH set to include the relevant dependencies?
<clever> wrl: why do you not want to use patchelf?
<wrl> clever: these are audio plugins and there's a lot of them
<clever> wrl: even if you fix LD_LIBRARY_PATH, the interperter is wrong, so you cant run any binaries
<wrl> well they're getting hosted by an application that's already been patchelf'd
<clever> you can just use a bash for loop, to apply the patchelf to everything automatically
<wrl> they're .so
<wrl> clever: i share the directory of plugins between some computers that run nixos and some that don't
<clever> then use wrapProgram to add a LD_LIBRARY_PATH to the main binary, that is loading the plugins
<wrl> i think that's the answer i want
zeta_0 has quit [Remote host closed the connection]
<wrl> clever: is wrapProgram something I'd have to do in the derivation itself?
<clever> yes
<clever> 100's of examples are in nixpkgs
<wrl> got it
<wrl> ok followup question –
<wrl> (sorry for the linebreak)
mexisme has joined #nixos
<wrl> since I now need to copy and modify some nixpkgs derivations and keep them somewhere manageable, is there a handy syntax for saying "import this directory of packages so i can use them"
<wrl> from e.g. a home-manager config
<clever> wrl: the import function will take the path to a file, and return whatever nix expr is in that file
<symphorien> Overlays maybe ?
<{^_^}> [nixpkgs] @obadz pushed to chromium-bump « chromium: 78.0.3904.70 -> 78.0.3904.87 »: https://git.io/JegZz
<wrl> clever: sounds like what i want, thanks :)
<{^_^}> [nixpkgs] @obadz pushed 0 commits to chromium-bump: https://git.io/JegZg
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new version 7.20191024 »: https://git.io/JegZa
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72477 → dcmtk: 3.6.4 -> 3.6.5 → https://git.io/JegZw
soju has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
is_null has quit [Remote host closed the connection]
toppler has joined #nixos
kaba has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @obadz opened pull request #72478 → chromium: 78.0.3904.70 -> 78.0.3904.87 → https://git.io/JegZi
<{^_^}> [nixpkgs] @marsam opened pull request #72479 → pythonPackages.flask-cors: fix build → https://git.io/JegZH
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/JegZ7
<{^_^}> [nixpkgs] @urbas opened pull request #72480 → rustc: add support for armv7l targets → https://git.io/JegZN
bbarker has joined #nixos
<bbarker> what's the appropriate way to set ulimits and such for a user in configuration.nix? looking through the options appendix of the manual and nothing is jumping out at me
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-11-01T17:31:41Z »: https://git.io/JegZh
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 10 commits to master: https://git.io/JegZj
<clever> bbarker: security.pam.loginLimits
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72481 → di: 4.47.1 -> 4.47.2 → https://git.io/Jegne
<bbarker> clever, thanks!
<zeta_0> when i did another rebuild it finally worked, i'm using nixos-unstable(20.03) now, thanks for the help guys
<{^_^}> [nixpkgs] @peti pushed to master « all-cabal-hashes: update to Hackage at 2019-11-01T17:31:41Z »: https://git.io/JegZh
<{^_^}> [nixpkgs] @Mic92 merged pull request #72462 → ccls: 0.20190823.3 -> 0.20190823.4 → https://git.io/Jeg3P
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JegnI
drakonis_ has quit [Ping timeout: 245 seconds]
soju_ has joined #nixos
magnetophon has joined #nixos
shibboleth has quit [Quit: shibboleth]
soju has quit [Ping timeout: 265 seconds]
eraserhd has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
<zeta_0> also i got another question: when i execute: `nix-channel --list | grep nixos` when signed in as my user, the output is empty, but when i am signed as my super, the output returns `nixos https://nixos.org/channels/nixos-unstable`
<zeta_0> is this normal ?
juhe has quit [Quit: Leaving.]
<clever> zeta_0: yes, each user has its own channel list
<{^_^}> [nixpkgs] @jonringer merged pull request #72312 → add package for pkgdiff → https://git.io/Jez3j
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JegnG
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72482 → cfr: 0.147 -> 0.148 → https://git.io/Jegnn
<zeta_0> clever: oh, thanks for clarifying that
<clever> zeta_0: all nix-channel --list does, is cat ~/.nix-channels
drakonis_ has joined #nixos
<kolaente> Hey there, when upgrading to 19.09 is it enough to just replace the 19.03 channel with the 19.09 and running nix-rebuild switch --upgrade?
<zeta_0> so far nixos-unstable feels the same as nixos-stable, i can't really tell the difference ?
<{^_^}> [nixpkgs] @risicle opened pull request #72483 → perlPackages.libapreq2: add patch for CVE-2019-12412 → https://git.io/Jegnc
<clever> zeta_0: the difference is more that unstable updates often, and may sometimes break your configuration
<clever> so youll only start to notice it as you update again in the future
<clever> kolaente: pretty much
<zeta_0> kolaente: yes, it just took me 2 commands, but i upgraded to nixos-unstable(20.03)
<kolaente> And I don't need to set this somewhere in my configuration.nix? I saw system.Stateversion
<zeta_0> kolaente: no
<clever> ,stateVersion kolaente
<{^_^}> kolaente: Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
soju_ has quit [Ping timeout: 250 seconds]
<kolaente> zeta_0 oh ok
drakonis has quit [Ping timeout: 246 seconds]
<kolaente> thanks
<zeta_0> kolaente: the comment says not to touch that
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
<zeta_0> kolaente: your welcome
<kolaente> zeta_0 still pretty new to all this
<kolaente> I thought "The nix way of doing things" was to change this, since almost everything else is configured somewhere
<{^_^}> [nixpkgs] @Mic92 merged pull request #67347 → ec2-utils: init at 0.5.1, include in amazon-image profile → https://git.io/fjNgi
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JegnR
b1001101 has joined #nixos
<wrl> is there a howto or something similar for creating an overlay?
<zeta_0> kolaente: yeah nix forces you to do things differently than your used to, in the case of stateVersion when you do the 2 commands to upgrade, then state version gets changed automatically
<clever> zeta_0: the stateVersion shouldnt be changing, and the whole point is to record what version your "state" is
<clever> for example, postgresql likes to change the on-disk format of the db's with every version
<clever> and nixos uses stateVersion to figure out what format you used when you first installed, so it can keep using that format
<clever> any attempt to change stateVersion (automated or manual) will result in postgresql loosing the database
<zeta_0> kolaente: i like how nix automatically sets environment variables for you, in debian/ubuntu i used to crash my system when having to manually set the environment variables(human error)
Thra11 has quit [Ping timeout: 240 seconds]
<kolaente> clever: But if nix changes that automatically, it could scan the packages, finds out postgresql has incompatible changes and do some migration someone defined somewhere and then updates, could it?
<{^_^}> [nixpkgs] @dirn opened pull request #72484 → darling: Use a version with a release tag → https://git.io/Jegnr
<clever> kolaente: that not currently implemented, and sometimes the actions you must take extend to other machines
<clever> kolaente: openssh host keys for example, changed the default type
<clever> updating to the new type, results in mitm warnings for every remote machine that ssh's into the nixos box
toppler has quit [Ping timeout: 268 seconds]
<clever> so, you must repair the ~/.ssh/known_hosts for every remote machine
<clever> nixos has no way to do that
<zeta_0> clever: ok, my mistake, i misunderstood
<kolaente> clever: But if the postgresql format changes I can't upgrade postgresql
<bbarker> clever: "Note that these limits do not apply to systemd services, whose limits can be changed via systemd.extraConfig instead.", does this apply for any service managed by systemd, or just core systemd services?
<kolaente> clever: makes sense
<clever> kolaente: nixos uses the stateVersion to keep you on an older postgresql, until you read the release notes, and follow the migration directions
<clever> bbarker: all systemd services
<kolaente> clever: okay that makes sense
<bbarker> ok
<clever> kolaente: for postgresql, you would pgdump the DB's, upgrade things, then re-import the DB's
<zeta_0> kolaente: have you seen the nixos wiki ? https://nixos.wiki/
<kolaente> zeta_0: kind of
leotaku has quit [Ping timeout: 240 seconds]
b1001101 has quit [Quit: -a- IRC for Android 2.1.55]
<zeta_0> kolaente: i'd recommend the nix pills link, i have swallowed a few nix pills
mexisme has joined #nixos
<kolaente> zeta_0: sounds good, thanks
<infinisil> I wouldn't recommend the nix pills tbh
t58 has joined #nixos
iqubic` has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #72481 → di: 4.47.1 -> 4.47.2 → https://git.io/Jegne
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JegnX
<kolaente> infinisil: why?
<bbarker> what if one wants to apply limits to only a particular systemd process, and not all?
<infinisil> If you want to know indepth how Nix works, the Nix pills are great, but for actually using Nix in practice they're distracting
t58 has quit [Remote host closed the connection]
<bbarker> or processes started by a particular systemd unit, rather
wildtrees has joined #nixos
kvda has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
<infinisil> Although, looking at the pills again, there's some good starter guide there
<infinisil> Chapter 1-5 seem like a good introduction
<clever> bbarker: `man systemd.exec`
<clever> bbarker: those flags can go under the .serviceConfig
<infinisil> Chapter 6-9 aren't very practical
soju has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
<zeta_0> i haven't overdosed on any nix pills yet (lol)
kvda has quit [Client Quit]
dreverri has quit [Remote host closed the connection]
<infinisil> There are some chapters explaining nixpkgs stuff after that, which I like
Thra11 has joined #nixos
toppler has joined #nixos
<infinisil> But there's a bunch of information going too deep for a beginner tutorial imo
dreverri has joined #nixos
<bbarker> clever: excellent, sounds like what I'm looking for
<infinisil> I guess they're not too bad
leotaku has joined #nixos
soju has quit [Ping timeout: 245 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
kolaente has quit [Quit: WeeChat 2.4]
kolaente has joined #nixos
<zeta_0> infinisil: do you know haskell ?
chloekek has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @charles-dyfis-net opened pull request #72485 → gocryptfs: 1.7 -> 1.7.1 → https://git.io/Jegnd
<bbarker> clever, well maybe, does that apply to services that are started via NixOS modules?
leotaku has quit [Ping timeout: 245 seconds]
dreverri has quit [Remote host closed the connection]
ehmry has joined #nixos
<clever> bbarker: yes, you put it into the .serviceConfig of a service, in a nixos module
<zeta_0> i'm learning haskell now, still struggling though
<infinisil> I sure do know haskell
kaba has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72486 → eprover: 2.3 -> 2.4 → https://git.io/JegnA
Shoubi has quit [Read error: Connection reset by peer]
Shoubit has joined #nixos
<ajs124> So my system config is compiling libreoffice, but nix-shell -p libreoffice downloads it from the binary cache, how do I figure out what the difference between these is?
<clever> ajs124: nix-diff the 2 drv files
<ajs124> clever: sure, but how do I get to the drv files?
<clever> ajs124: nix-store --query --deriver /nix/store/foo
<clever> ajs124: when it starts building, it also tells you the drv path
<ajs124> right, I knew that... thanks clever
<ajs124> clever++
<{^_^}> clever's karma got increased to 228
<zeta_0> infinisil: cool, category theory felt much more simple to me once i understood abstraction, i haven't learned lambda calculus or type theory yet, i heard those help with haskell as well
szyk has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 276 seconds]
kolaente_ has joined #nixos
<bbarker> clever: hmm, i've been using services.cassandra happily for a while, but I get an option-not-defined error when trying services.cassandra.serviceConfig
don_quijote[m] has joined #nixos
<clever> bbarker: its under systemd.services.NAME.serviceConfig
<bbarker> zera_0 <3 haskell
<bbarker> ok
<zeta_0> i still consider myself a beginner functional programmer, i used to code a lot of java years ago'
<zeta_0> bbarker: what do you mean by that ?
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 29 commits to nixos-unstable-small: https://git.io/Jegc3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72487 → eaglemode: 0.94.1 -> 0.94.2 → https://git.io/JegcZ
<bbarker> zeta_0 i just meant, I love Haskell, though PureScript is similar in many ways and nice too
leotaku has joined #nixos
<bbarker> less historical baggage but far fewer advanced features
<bbarker> and also multiple target languages
<bbarker> though most use it to target JavaScript
soju has joined #nixos
<zeta_0> bbarker: cool
<ajs124> clever: turns out, I have the same libreoffice as upstream, it just wasn't in the cache yet when I started building my system config.
reallymemorable has joined #nixos
<bbarker> clever, sweet, that worked, no reboot necessary
<clever> ajs124: which channel are you on?
<ajs124> 19.09-small
<clever> ajs124: -small is why, hydra doesnt wait for everything to finish building
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/895874d2145 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
erba has joined #nixos
<ajs124> Right, yes. I remember that's how those channels work.
soju has quit [Ping timeout: 265 seconds]
kolaente has quit [Quit: WeeChat 2.4]
<zeta_0> clever: how often do things break in nixos-unstable ?
<clever> zeta_0: varies, depends on when people make breaking changes
kolaente_ has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
mexisme has quit [Ping timeout: 245 seconds]
<clever> you will only notice things are broken after a `nix-channel --update`
<clever> and you can always `nix-channel --rollback` to undo, and instantly fix things
edef is now known as edef2
hmpffff has joined #nixos
<erba> So I switched from nixos to debian on my work machine for.. reasons. Still trying to use nix but I can't seem to build stuff using nix on debian. I constantly get: "/build/env-vars: No such file or directory"
artemist has quit [Ping timeout: 260 seconds]
<clever> erba: short term, add `sandbox = false` to nix.conf or use `--option sandbox false`
<zeta_0> clever: ho that's good to know, when doing a `nixos-rebuild switch --upgrade` does the `nix-channel --update` command automatically get executed or do i have to execute that command manually as well ?
<clever> erba: long-term, you want the fix for https://github.com/NixOS/nix/issues/3142 which i think is only in nix master, and not in a channel yet
<{^_^}> nix#3142 (by cleverca22, 2 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<erba> clever: thank's alot!
edef2 is now known as edef
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72488 → drawpile: 2.1.11 -> 2.1.12 → https://git.io/Jegcg
<erba> *thanks >.<
<{^_^}> [nixpkgs] @matthewbauer merged pull request #72437 → ledger-udev-rules: update to 2019-05-30 → https://git.io/Jegtn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jegc2
artemist has joined #nixos
ddellacosta has joined #nixos
<zeta_0> clever: oh, so it does, that's why i don't remember executing the `nix-channel` command that often, thanks for the information
<clever> [root@amd-nixos:~]# nix-env --profile /nix/var/nix/profiles/per-user/root/channels --list-generations
<clever> zeta_0: and this will show every generation
<clever> [root@amd-nixos:~]# ls -l /nix/var/nix/profiles/per-user/root/channels*/nixos
<clever> zeta_0: then this will show what version of nixpkgs is within each
<clever> lrwxrwxrwx 2 root root 82 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels-66-link/nixos -> /nix/store/hy71ggl1nahcj0wpinm746dr3rxiyxnd-nixos-18.09pre150708.083220867c7/nixos
<clever> lrwxrwxrwx 2 root root 82 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels-67-link/nixos -> /nix/store/yjzlzz7n7fa6007wkdfcvkg0abfd1064-nixos-19.03pre154487.0a7e258012b/nixos
<clever> lrwxrwxrwx 1 root root 82 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels-73-link/nixos -> /nix/store/2x5aj7gn0chswlnaqfxknk8wqz4rz9y0-nixos-19.09pre171786.34aa254f9eb/nixos
<clever> lrwxrwxrwx 1 root root 82 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels-77-link/nixos -> /nix/store/509nw45vaf71nmr5h3dgjg6khqnxwbkf-nixos-20.03pre196201.07d4df59626/nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #72448 → qmapshack: 1.13.2 -> 1.14.0 → https://git.io/Jegmy
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jegc6
<clever> here, i can see 4 points in time, when nixos-unstable changed to the next major release
<zeta_0> clever: oh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72489 → folly: 2019.10.14.00 -> 2019.10.21.00 → https://git.io/Jegc1
soju has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72490 → pantheon.elementary-camera: 1.0.4 -> 1.0.5 → https://git.io/Jegcy
zaeph has joined #nixos
erba has quit [Remote host closed the connection]
soju has quit [Ping timeout: 240 seconds]
<zeta_0> clever: i use a custom keyboard layout(that gets activated after logging in to xmonad), sometimes after things break it switches back to the qwerty layout, it's very annoying, i have a custom keyboard stickers on my keyboard so i can't see the original(qwerty) keys
<zeta_0> clever: other than that, i think i'll be fine with nixos-unstable
<clever> zeta_0: you can use sessionCommands to activate it also
<bohan> kudos to people who adapt the world to them instead of adapting to the world
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to bash-no-undef-vars: https://git.io/Jegch
<zeta_0> clever: i already do: https://hastebin.com/iqeyideyod.bash
<zeta_0> clever: it still switches back to qwerty sometimes after something breaks during a rebuild
<zeta_0> clever: it's strange
<clever> zeta_0: thats weird
tg has quit [Ping timeout: 250 seconds]
chloekek has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
Unode_ has joined #nixos
<bdju> does nixos have something like manifest files from guix? the ability to declare my user's packages in a file separate from the system stuff
<Unode_> hi all, when I use nix commands I now get the java warning, in some cases printed several times. Is there any way to silence this warning?
<clever> bdju: either define a set of packages in config.nix and install it with nix-env, or use home-manager
<wrl> is there a way to get nix to rebuild a package for which the derivation has changed?
<bdju> clever: will either of those allow system updates to be fast (due to low number of packages in system profile) with most things updated separately?
<clever> bdju: yes
<bdju> awesome
<bdju> thank you
growpotkin has joined #nixos
<infinisil> ,declarative bdju
<{^_^}> bdju: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
mexisme has joined #nixos
tg has joined #nixos
soju has joined #nixos
__marlene__ has joined #nixos
soju has quit [Ping timeout: 240 seconds]
<waleee-cl> infinisil: has that one has been updated recently? I remembered a different output
mexisme has quit [Ping timeout: 246 seconds]
mjsir911 has quit [Quit: Goodbye, World!]
<infinisil> No idea, could be
ee194350 has quit [Ping timeout: 250 seconds]
<__marlene__> hey all
ee194350 has joined #nixos
<__marlene__> installing nixos onto a laptop from a usb drive
<__marlene__> live boot works fantastic however nixos-install gets stuck after installing a few packages
<__marlene__> it doesn't seem to have a --verbose option??
<__marlene__> no cpu or disk activity either, as far as i can see
<__marlene__> does anyone have any idea what might be going on here? :)
Ariakenom has quit [Quit: Leaving]
<infinisil> __marlene__: Where is it stuck?
<symphorien> does it run out of memory ?
<__marlene__> just saw a warning
<__marlene__> seems to be timing out when trying to download a .nar.xz?
<clever> __marlene__: does it have internet access?
kitemikaze_ has joined #nixos
<__marlene__> yeah i'm writing from the same machine
<clever> __marlene__: try re-running nixos-install
<__marlene__> yep tried a few times
<clever> does it fail on the same url?
<__marlene__> even though it's not obvious that it's an idempotent op
<__marlene__> first time i actually got to the warning message
<__marlene__> so i cant see if it was getting stuck on the same url last few times
<__marlene__> how do i know what the timeout is?
<__marlene__> and is there some sort of channel cache i might need to refresh?
<__marlene__> nix-channel --list is empty...
<clever> __marlene__: can you paste the exact error it gives?
<__marlene__> warning: unable to download 'https://cache.nixos.org/nar/191c0xrgklsvn6q8h1x2bdz2wyc1780skv34mcz11dx77p5d43mb.nar.xz': Timeout was reached (28); retrying in 318 ms
<clever> __marlene__: and does it fail after the retry?
<__marlene__> nope, still stuck
<{^_^}> [nixpkgs] @worldofpeace closed pull request #72490 → pantheon.elementary-camera: 1.0.4 -> 1.0.5 → https://git.io/Jegcy
<__marlene__> *yep
<__marlene__> ...well if its stuck it's in a superposition of yep/nope ;p but ok i think you got me
<clever> __marlene__: what happens if you run wget on that url?
<{^_^}> [nixpkgs] @urkud opened pull request #72491 → inkscape: use latest poppler, use gtkspell2, drop `-fpermissive` → https://git.io/JegC4
<jackdk> __marlene__: I have had inexplicable timeouts on cache.nixos.org behind certain ISPs (the same laptop at a different location was fine)
<jackdk> https://github.com/NixOS/nixos-org-configurations/issues/57 might be relevant but it's closed
<{^_^}> nixos-org-configurations#57 (by rbvermaa, 1 year ago, closed): Users are reporting some issues with cache.nixos.org - gather information here
<__marlene__> let me check that
Ariakenom has joined #nixos
<jackdk> reconnecting to wifi would sometimes tickle it, but I don't know if it was a crappy router, something at the isp level or who-knows-what. I needed to move house anyway
<{^_^}> [nixpkgs] @gebner merged pull request #72486 → eprover: 2.3 -> 2.4 → https://git.io/JegnA
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JegCg
<__marlene__> yeah looks like it could be that
<__marlene__> i'm not exactly connected to the best network out there right now
<jackdk> I would get success, eventually, so something along the chain must have expired a cache entry or something
<__marlene__> yep looks like it made some progress
kitemikaze_ has quit []
<__marlene__> a second warning in the same nixos-install invocation: basically the same one but for a different url
<__marlene__> so i guess if i leave it be for a while it might install successfully?
<clever> yeah
<__marlene__> yep, making progress again :)))
Unode_ has quit [Quit: WeeChat 2.4]
<__marlene__> buut... can i see anywhere what the timeout is?
<jackdk> I don't have any definite resolution for you, I'm afraid
<__marlene__> maybe tweak it and rerun nixos-install so i don't have those pauses?
<clever> __marlene__: `nix show-config | grep time`
<__marlene__> awesome!
<__marlene__> i wonder, if i changed it, would nixos-install pick it up without having to rerun?
kitemikaze_ has joined #nixos
<clever> __marlene__: probably needs a restart
soju has joined #nixos
<__marlene__> fair enough
<clever> __marlene__: you can also use --option key value, to change flags
<__marlene__> hmm yeah let's try that
<__marlene__> looks like it's gonna save me an undetermined amount of 5-minute waits tonight
kitemikaze_ has quit [Client Quit]
kitemikaze has joined #nixos
__monty__ has quit [Quit: leaving]
soju has quit [Ping timeout: 265 seconds]
soju has joined #nixos
<{^_^}> [nix] @KaiHa opened pull request #3196 → Kaiha/pr/readline → https://git.io/JegCP
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-19.09-small: https://git.io/JegCX
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/82b699861c2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72492 → esptool: 2.7 -> 2.8 → https://git.io/JegCH
<{^_^}> [nixpkgs] @mmahut opened pull request #72493 → jormungandr: 0.7.0-rc3 -> 0.7.0-rc4 → https://git.io/JegCQ
<__marlene__> ok rebooting into my new nixos install ^^
<__marlene__> see you guys :))
__marlene__ has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72494 → pantheon.wingpanel-applications-menu: 2.4.3 -> 2.4.4 → https://git.io/JegC5
Jonathan27 has joined #nixos
mexisme has joined #nixos
<Jonathan27> I have a question about Haskell (on NixOS).
<gchristensen> go for it, Jonathan27
ozychhi has quit [Ping timeout: 250 seconds]
<Jonathan27> I have been using NixOS on my secondary computer for a while but just yesterday I switched my main to NixOS.
erasmas has quit [Quit: leaving]
<Jonathan27> I have not gotten Haskell working on NixOS yet but now my main is NixOS I kind of need to.
toppler has joined #nixos
<{^_^}> [nixpkgs] @jm2dev opened pull request #72495 → nixos/python: add pytest-bdd module. → https://git.io/JegCp
mexisme has quit [Ping timeout: 252 seconds]
<Jonathan27> I have looked at plenty of articles about Haskell on Nix but it has been a while, so bear with me (:
ozychhi has joined #nixos
xd1le has joined #nixos
Jonathan66 has joined #nixos
<colemickens> anyone else seeing runaway dhcpcd? Just destroyed my battery since I didn't notice. I need to just permanently keep htop open
<infinisil> colemickens: Lots of issues like these with dhcpcd have been popping up recently, for me as well
<colemickens> I just saw an issue from 12 hours ago too. Come to think it, I'm not sure if I should be seeing dhcpcd at all either. :(
soju_ has joined #nixos
<colemickens> I liked worldofpeace's comment "Some parts of NixOS networking are just really confusing to me". I'd agree after having tried to push the iwd<->nm change through :P and that was just (not even) finishing someone else's effort.
soju has quit [Read error: Connection reset by peer]
Jonathan27 has quit [Ping timeout: 260 seconds]
<infinisil> Hm, #72416 doesn't seem to mention anything about high CPU usage
<{^_^}> https://github.com/NixOS/nixpkgs/issues/72416 (by laikq, 11 hours ago, open): dhcpcd service mysteriously starting after NixOS 19.03 -> 19.09 update
<Jonathan66> Haskell on NixOS is normally done with a .nix file right? (Does Cabal or Stack even work?) The problem is I do not want my Haskell projects to be specific for Nix, and I do not want to maintain two build methods. I also already have Haskell projects, how do I transition?
<colemickens> No, but I couldn't help but wonder if they shared an underlying related config problem.
ozychhi has quit [Ping timeout: 252 seconds]
<colemickens> (or dhcpcd being upset because dhclient changed some state out from under it, but I don't see dhclient running now either.)
<infinisil> Ah nice this update was reverted
<colemickens> infinii, good find, I didn't check PR discussion.
<colemickens> er, wrong mention, sorry there the wrong infin-, and thanks infinisil.
jgeerds_ has quit [Ping timeout: 265 seconds]
<colemickens> oh wow, it's actually an upstream dhcpcd bug, it looks?
ozychhi has joined #nixos
<aveltras> anyone using latest haskell ide engine with cabal 3.0.0.0 ?
<hpfr[m]> What is the issue with the steam derivation where it prints out a ton of curl attempts?
<Jonathan66> I guess the main question is, how can I build the Haskell projects on NixOS which are currently using cabal?
Thra11 has quit [Ping timeout: 245 seconds]
<exarkun> It seems like `security.acme` waits about a week before trying to issue a certificate
<exarkun> How do people cope with this
<exarkun> Jonathan66: haskell.nix can do stuff with cabal projects
<jackdk> Jonathan66: generally any nix you write for a haskell package is set up so you can get a shell with ghc and dependencies to hand, and then you do the build with cabal
<hpfr[m]> And why am I building texlive.combined.scheme-medium and nvidia-settings, they seem like they’d be common?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #72496 → drumgizmo: 0.9.18 -> 0.9.18.1 → https://git.io/JegWI
shabius has quit [Quit: Leaving]
__marlene__ has joined #nixos
Rusty1 has joined #nixos
<__marlene__> hi i'm back ^^
<__marlene__> it all works like a charm :) except...
Rovanion has quit [Ping timeout: 246 seconds]
<__marlene__> my favourite note-taking app: https://github.com/blackhole89/notekit
<__marlene__> it's released as a binary .tar.gz which is sort of brain damaged i know...
edwtjo has quit [Ping timeout: 240 seconds]
<__marlene__> it was working fine under Kubuntu (until it broke)
<__marlene__> but now if I try to run it it says No such file or directory
kaba has quit [Remote host closed the connection]
Neo-- has quit [Ping timeout: 245 seconds]
<__marlene__> even though the file is right there?
* colemickens usually finds it easier to write a source package nix file than try to get binaries running
<Jonathan66> @exarkun Wow, I never ran into that before.
edwtjo has joined #nixos
edwtjo has joined #nixos
<exarkun> I just started using it a a few ago
<exarkun> so far so good
<__marlene__> colemickens: think you could point me the right way with that? i think it's being built with cmake
<__marlene__> there seems to be a helper for cmake in the nix sources but ... how do i use that?
<__marlene__> google's doesn't exactly serve me the most relevant results
Rovanion has joined #nixos
<colemickens> gr, I can't autocomplete usernames with leading underscores in Fractal?
<colemickens> marlene, give me a few minutes, I already started writing a package. If it works, I'll walk you through the process.
ozychhi has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<gchristensen> I have a machine with two root disks in a mirror. usually I'd use grub's feature to install mbr to both, but it is uefi. any tips on how to handle this install?
<{^_^}> [nixpkgs] @ivan opened pull request #72497 → chromium: 78.0.3904.70 -> 78.0.3904.87 → https://git.io/JegWO
<gchristensen> actually maybe I will just use mbr instead
Thra11 has joined #nixos
<colemickens> Ugh this is annoying, did cmake have some breaking syntax change?
<{^_^}> [nixpkgs] @ivan opened pull request #72498 → [19.09] chromium: 78.0.3904.70 -> 78.0.3904.87 → https://git.io/JegWG
dreverri has joined #nixos
johnnywho has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @witkamp opened pull request #72499 → muparser: add darwin support → https://git.io/JegWZ
dreverri has quit [Ping timeout: 268 seconds]
<ajs124> gchristensen: mirrored-boots?
<ajs124> Assuming a non-broken uefi implementation, you should be able to use boot.loader.grub.mirroredBoots
soju_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #72479 → pythonPackages.flask-cors: fix build → https://git.io/JegZH
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « pythonPackages.flask-cors: fix build »: https://git.io/JegW4
<__marlene__> colemickens: idk
gxt has quit [Quit: WeeChat 2.6]
<gchristensen> oh neat, ajs124
<__marlene__> colemickens: paste progress/output? maybe i can pick it up from there
toppler has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<colemickens> _marlene_, I got side tracked. I'll send a draft PR and tag you or ping you here.
<__marlene__> colemickens: cheers!
* colemickens hm and underscores are treated as markdown in riot. Grumble again.
<colemickens> Should be 10 mins. Alternatively whatever the invocation is for patchELF might be enough to one-off patch the binary release and unblock you. Someone here surely knows it
qwdewqe has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<exarkun> when security.acme service *does* run, it blows up with exception from simp_le
<{^_^}> zenhack/simp_le#129 (by exarkun, 22 minutes ago, open): On registration, KeyError: 'Directory field not found'
* exarkun siiiiighs
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
qwdewqe has quit [Remote host closed the connection]
growpotkin has joined #nixos
toppler has joined #nixos
trevthedev has joined #nixos
<trevthedev> hi all
Acou_Bass has quit [Ping timeout: 252 seconds]
<trevthedev> So I'm trying to set up a GL environment in NixOS so I can learn more on OpenGL. I have this file here as a test for the shell: https://0x0.st/zY7D.cc
<trevthedev> Here's the shell itself: https://0x0.st/zY7k.nix
<trevthedev> compilation: g++ triangle.cc -lglut -o triangle
<trevthedev> I get the error: /nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld: /run/user/1000/ccVh5Di7.o: undefined reference to symbol 'glColor3f'
<trevthedev> /nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld: /nix/store/6zl0bz42r8b4mq9zifngs0s5ykn8iqkb-libGL-1.0.0/lib/libGL.so.1: error adding symbols: DSO missing from command line
<trevthedev> collect2: error: ld returned 1 exit status
nevermind has left #nixos ["Leaving"]