sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
psyanticy has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
mexisme has quit [Ping timeout: 245 seconds]
hyper_ch has quit [Read error: Connection reset by peer]
orivej has joined #nixos
___laika has quit [Quit: WeeChat 2.4]
___laika has joined #nixos
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bdesham is now known as bdesham_afk
noudle has joined #nixos
<infinisil> ___laika: Well there is https://nixos.org/nixpkgs/manual/#sec-language-ocaml
<infinisil> I personally have no idea about the ocaml ecosystem
day|flip has joined #nixos
lambda-11235 has quit [Quit: Bye]
lambda-11235 has joined #nixos
lambda-11235 has quit [Client Quit]
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjDDw
selfsymmetric-mu has joined #nixos
judson has quit [Ping timeout: 272 seconds]
Chiliparrot has quit [Ping timeout: 250 seconds]
ris has quit [Ping timeout: 272 seconds]
stepcut has joined #nixos
bvdw has joined #nixos
psy3497 has joined #nixos
oida has quit [Ping timeout: 260 seconds]
Rusty1 has joined #nixos
oida has joined #nixos
noudle has quit []
ayerhart has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
Drakonis has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #65360 → netsurf: 3.5 → 3.9 → https://git.io/fjDyI
<{^_^}> [nixpkgs] @samueldr closed pull request #54610 → netsurf: 3.5 -> 3.8 → https://git.io/fhK0Z
jluttine has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #47399 → paxctl: Fix darwin and cross and use for linux cross for 18.09 → https://git.io/fApbp
___laika has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
o1lo01ol1o has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @craigem opened pull request #65362 → calls: Initial commit to package the application → https://git.io/fjDyu
o1lo01ol1o has quit [Ping timeout: 245 seconds]
MmeQuignon has quit [Ping timeout: 244 seconds]
Kalinka has joined #nixos
evanjs has joined #nixos
nDuff has quit [Quit: zzz]
___laika has joined #nixos
Kalinka has quit [Disconnected by services]
lovesegfault has quit [Ping timeout: 244 seconds]
evanjs has quit [Quit: Leaving]
evanjs has joined #nixos
evanjs has quit [Client Quit]
evanjs has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
nixnothing has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
noogie has joined #nixos
evanjs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
hyper_ch has joined #nixos
stepcut has quit [Remote host closed the connection]
matt` has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
evanjs has joined #nixos
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
kvda has joined #nixos
phreedom has joined #nixos
hmpffff_ has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
hmpffff has quit [Ping timeout: 250 seconds]
hyper_ch has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<samueldr> aleph-: not sure, if it's guaranteed to stay compatible, I guess it'd do
<samueldr> but then I figure it might not be
<aleph-> No probably not
<aleph-> Just seems silly having a service with the only change being package type. Course I honestly think emby should just be deprecated given it's no longer available. But eh.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<gchristensen> you could mak ethe service support changing the package
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<DigitalKiwi> Messed up the O :(
<samueldr> so I figure it's painted
joehh has joined #nixos
<gchristensen> oh cooool!
stepcut has joined #nixos
<aleph-> True, might do that.
<aleph-> Hmm wasn't there a wireguard service?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<samueldr> DigitalKiwi: spray painted?
<joehh> hello, has anyone deployed plone 4.3.latest with nix?
<DigitalKiwi> Airbrush ya
stepcut has quit [Remote host closed the connection]
<samueldr> neat
stepcut has joined #nixos
<DigitalKiwi> Thanks
stepcut has quit [Remote host closed the connection]
falsifian has joined #nixos
stepcut has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
<DigitalKiwi> I'm going to make smaller ones that are stickers later that's just on paper
<gchristensen> aleph-: sure
stepcut has quit [Remote host closed the connection]
<aleph-> Okay just found it
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<gchristensen> it is a bit buggy if you use a DNS name for the remote host btw
<gchristensen> generally safer to use bare IPs if possible
stepcut has joined #nixos
<aleph-> Gotcha
<aleph-> Planning to use it for avoiding nat
stepcut has quit [Remote host closed the connection]
<aleph-> Client on the NixOS side connecting to a reverse server on the outside
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<gchristensen> also 0.0.0.0/0 doesn't work right now ... :/
stepcut has joined #nixos
<aleph-> Bleh
<aleph-> Oh well, should be good enough for me
<gchristensen> yeah. I've looked in to it, but network is extremely out of my wheelhouse.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
jluttine has joined #nixos
stepcut has quit [Remote host closed the connection]
lor|d has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
lord| has quit [Remote host closed the connection]
stepcut has joined #nixos
lor|d is now known as lord|
<gchristensen> stepcut: your internet is a bit broken :)
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has left #nixos [requested by gchristensen (stepcut)]
abathur has joined #nixos
<gchristensen> love that trick. *hopes it continues working*
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b5f5c97f7d6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<kvda> Is the main NixOS package repo due for an update? Last changed on 2018-11-04
<gchristensen> where are you finding this?
<gchristensen> ah. that is a bit funny.
<kvda> it's the page source not the package update right
<gchristensen> that list gets updated every day or so, the "last change" is when the actual HTML source changed.
<kvda> yep just clicked when i saw the other pages on nixos.org domain :)
<gchristensen> :) would you mind opening an issue? github.com/nixos/nixos-homepage
<kvda> when you go there directly it kind of suggests packages being stale haha
<kvda> surely
<gchristensen> thank you!
<day|flip> is it bad for me to used this to see when stable get a update? https://howoldis.herokuapp.com/
<gchristensen> no, why would it be bad? :)
<gchristensen> there is also https://channels.nix.gsc.io/graph.html (though it'd be nice for both of these to be on nixos.org)
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « slirp4netns: 0.3.0-alpha.2 -> 0.3.0 »: https://git.io/fjDSG
<sonercirit[m]> How can I extend the timeout for `nixos-rebuild`
<day|flip> never seen this one. I like the other better. just simpler to see what getting update. then again. i can always look at github channel
Supersonic has quit [Ping timeout: 252 seconds]
<gchristensen> sure
<gchristensen> this one is accessible via the message {^_^} sends every update
sb0 has joined #nixos
<day|flip> don't even know what to used the bot on this channel other then it start with ,
<gchristensen> you don't have to use {^_^}
<day|flip> I wish there was a better way to tell when there a update
<kvda> gchristensen is possible to specify which package index/channel you're using in shell.nix?
<gchristensen> day|flip: how do you want to know?
<kvda> The package i'm interested in https://nixos.org/nixos/packages.html#pipenv is actually showing a date matching the 'Last changed' date below :/
<gchristensen> kvda: you can import (builtins.fetchTarball https://...link to a tarball from github at that version...)
<day|flip> package manager? nix
<kvda> gchristensen so every time you init a shell it will fetch it? doesn't seem ideal
Supersonic has joined #nixos
sb0 has quit [Quit: Leaving]
Drakonis has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg closed pull request #63326 → pythonPackages.bcrypt: add missing libffi dependency → https://git.io/fjaa1
mexisme has quit [Ping timeout: 268 seconds]
KarlJoad has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jasongrossman> kvda: fetchTarball is memoised - its output is cached.
abf_ has quit [Quit: Leaving]
<kvda> thanks jasongrossman. Is it possible to add a channel with nixenv and then refer to it by name in shell.nix?
<KarlJoad> Hey guys, I have a question that I can't seem to figure out myself. How do I go about asking it here?
<jasongrossman> ,ask KarlJoad
<{^_^}> KarlJoad: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<KarlJoad> I am trying to mount a SMB/CIFS share declaratively in configuration.nix. I got it mounted and I can see it in my file manager. However, it's permissions are for root. Since this is a shared eBook library, I need RW access. How do I change the user-owner and group-owner for that directory, declaratively?
<mdash> KarlJoad: probably set `options = "uid=1000, gid=1000";` in the mount declaration
mexisme has joined #nixos
KarlJoad has quit [Quit: Konversation terminated!]
KarlJoad has joined #nixos
dansho has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
abathur has quit [Ping timeout: 248 seconds]
<ashkitten> uh so
<ashkitten> upgraded my cpu and motherboard
KarlJoad has quit [Ping timeout: 258 seconds]
<ashkitten> i'm going through my system bootloader from super grub2 disk
<ashkitten> the first thing it says is systemd-udevd-control.socket: Failed to set invocation ID for unit: File exists
<ashkitten> and then everything else fails
<ashkitten> just looked up the error, apparently an issue with rdrand on ryzen 3000
___laika has quit [Ping timeout: 248 seconds]
KarlJoad has joined #nixos
adamantium has joined #nixos
<KarlJoad> mdash: I tried that, but my gid is 100 and it still isn't doing quite what I expect. It's probably because I'm declaring it wrong.
joehh has quit [Ping timeout: 268 seconds]
<KarlJoad> So far, my options look like this.
<KarlJoad> options = [ "${automount_ops}" "username=anders" "password=****" "rw" "uid=1000" "gid=100" ];
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.03: https://git.io/fjD9v
palo1 has joined #nixos
KarlJoad has quit [Quit: Konversation terminated!]
KarlJoad has joined #nixos
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
endformationage has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
Drakonis has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
m0rphism has joined #nixos
KarlJoad has quit [Ping timeout: 248 seconds]
daurnimator has joined #nixos
* daurnimator waves. trying out nixos for the first time
<daurnimator> haven't really found a good "getting started" guide
iqubic has joined #nixos
<daurnimator> what's the "base-devel" equivalent?
<iqubic> What GUI should I use for telling CUPS to print stuff?
<srhb> daurnimator: THere isn't one / stdenv depending on how you look at it.
<srhb> ,libraries daurnimator
<{^_^}> daurnimator: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> daurnimator: That might clear things up a bit.
<no-n> the manual is pretty good
<iqubic> So, what GUI should I use for printing stuff?
<daurnimator> srhb: `nix-shell -p gcc make` fails with: error: undefined variable 'make' at (string):1:100
<srhb> daurnimator: It's called gnumake, but that should all be in stdenv.
<srhb> Oh actually, I guess not gnumake.
* srhb doesn't actually remember
<clever> daurnimator: gcc and make are in the stdenv by default, just `nix-shell -p` is enough to get both
<daurnimator> clever: okay; that fails with "error: restoring parent mount namespace: Invalid argument"
<clever> daurnimator: that happens sometimes, usually when ran as root, try again
<daurnimator> clever: I am running as root as I haven't created a user or anything....
<clever> daurnimator: it usually only happens once
<daurnimator> clever: ah right. I ran `nix-shell -p` again and it worked......
<iqubic> So I need a good program that will let me create and manage print jobs
<daurnimator> iqubic: cups usually runs a server at: http://localhost:631/
<daurnimator> iqubic: otherwise system-config-printer is the most common applet
<mdash> i finally got pleroma to build in a nix expr, thanks to manveru
<mdash> buuuuuut
<mdash> it's one of those "write a source file to configure" type projects
<iqubic> daurnimator: I can't figure out how to tell my printer to print a certain document from localhost:631
<clever> iqubic: what type of document? the editor/viewer for that document usually has a print button
<iqubic> I'm trying to print a .jpg
<mdash> so i'm kind of despairing of getting this properly turned into a service because the config has to be done before build time. :-|
Drakonis has joined #nixos
<iqubic> And I don't actually have a .jpg viewer because I just use SXIV at the command line to view it.
<clever> iqubic: did you try ctrl+p in the image viewer?
<mdash> iqubic: worst case, click print in firefox/chromium
<clever> iqubic: run `eog` on the jpeg
<clever> > gnome3.eog.meta.description
<{^_^}> "GNOME image viewer"
<clever> > gnome3.eog.meta.homepage
<iqubic> I don't have eog installed
<clever> then install it?
<iqubic> I will
abbiya has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<iqubic> clever: `eog` worked for me. The `eog` print dialog let me set the size properly. I know it is the right size because I screwed up and printed a second copy that was 5 inches taller. That image wound up being 1 inch taller than the 4 inches I was aiming for.
<iqubic> thank you for your help.
<iqubic> I'm just so pleased that this printer is working and accepting various different print settings.
cfricke has joined #nixos
sellout- has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/96151a48dd6 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<DigitalKiwi> iqubic: what did you get?
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<iqubic> DigitalKiwi: I got the HP Envy 5055. It was a breeze to set up with hplip.
<daurnimator> DigitalKiwi: oh hai
<daurnimator> How can I install urxvt terminfo files?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/96151a48dd6 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
octe has quit [Ping timeout: 252 seconds]
<DigitalKiwi> hi daurnimator
<DigitalKiwi> iqubic: that's cool
tonic1 has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
dansho has quit [Ping timeout: 245 seconds]
kiloreux_ has joined #nixos
kiloreux has quit [Ping timeout: 258 seconds]
iqubic has quit [Remote host closed the connection]
adamantium has quit [Read error: Connection reset by peer]
<no-n> 3 #lua people here :P
knupfer has quit [Remote host closed the connection]
<DigitalKiwi> you should see the number of recovering arch users
<no-n> hehe
mexisme has quit [Ping timeout: 272 seconds]
<edef> hey, i think i'm plenty recovered
dansho has joined #nixos
<Ashy> another ex-arch user here
<Ashy> i never even looked back, didnt expect that when i first started playing with nixos
porrifolius_ has quit [Ping timeout: 248 seconds]
wfranzini has joined #nixos
porrifolius_ has joined #nixos
FRidh has quit [Ping timeout: 244 seconds]
Tucky has joined #nixos
<edef> same
<manveru> mdash: in that case it's no problem to pass the config to the drv
<FireFly> no-n: always fun to see nicks one recognises when joining channels, heh
<manveru> Let it rebuild, it doesn't matter much
<manveru> Also very curious to see the pleroma derivation
veske has joined #nixos
sveitser2 has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
sveitser2 has joined #nixos
mac10688 has quit [Ping timeout: 272 seconds]
<manveru> iqubic: got the 5000, same here
mexisme has joined #nixos
porrifolius_ has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
linarcx_ has joined #nixos
liberiga has joined #nixos
gwen has joined #nixos
<gwen> Aye aye, does anyone here know how to make acpilight work so that members of the group "video" can set brightness?
alex`` has joined #nixos
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
rprije has quit [Ping timeout: 248 seconds]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
chaoflow has joined #nixos
mniip has joined #nixos
linarcx_ has quit [Quit: leaving]
sb0 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
johanot has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/57d5b0be29f (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<srhb> gwen: Usually a package comes with udev rules that when added to services.udev.packages ensures that the node in /sys/... is oned by the proper group and has the right mode bits
trebuh has joined #nixos
<srhb> gwen: See for instance the "light" package for such a rule set.
<srhb> gwen: https://github.com/haikarainen/light/blob/master/90-backlight.rules (we patch them a bit since /bin/chgrp etc. isn't a thing for us)
linarcx has joined #nixos
<gwen> srhb: Hmm, I'm trying out "light" right now (via programs.light.enable=true), and although I'm a member of the video group, I can't set the brightness
<gwen> srhb: It works with sudo though
<srhb> gwen: Do the device nodes look right?
<srhb> gwen: As in, does it belong to video?
<gwen> As far as I can tell, all entries of /sys/class/backlight belong to root/root
linarcx has quit [Client Quit]
linarcx has joined #nixos
<srhb> gwen: Did you have the module enabled when you booted?
<gwen> srhb: Ah, no. I did it just now and still am in the same session
<srhb> I'm guessing ACTION=="add" only triggers when the nodes are created, or via some other trigger.
llb has joined #nixos
<gwen> srhb: OK, will reboot. See ya in a minute.
gwen has quit [Quit: Leaving]
gwen has joined #nixos
<gwen> srhb: It worked!
<srhb> gwen: Marvellous :)
<gwen> srhb: So cool, finally I can set my MacBook keyboard brightness. Thanks!
<srhb> gwen: No problem!
Makaveli7 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/57d5b0be29f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gwen has quit [Quit: Leaving]
rsa has quit [Ping timeout: 258 seconds]
linarcx has quit [Quit: Lost terminal]
mexisme has joined #nixos
<srhb> icetan: mavenix is pretty cool. Any plans of getting it in nixpkgs proper?
llb has quit [Ping timeout: 260 seconds]
<daurnimator> hrm.... why do I not see llvm 8 in output of `nix-env -qa llvm` ?
yourname_ has joined #nixos
logzet has joined #nixos
lambda-11235 has quit [Quit: Bye]
yourname_ has quit [Client Quit]
yourname_ has joined #nixos
yourname_ has quit [Client Quit]
owickstrom has joined #nixos
chaoflow has quit [Ping timeout: 248 seconds]
bakakuna has joined #nixos
chaoflow has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dftxbs3e has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<Izorkin> Please check and merge #61816 #63150 #61722 #61671
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61816 (by Izorkin, 9 weeks ago, open): nginxMainline: 1.16.0 -> 1.17.2
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63150 (by Izorkin, 5 weeks ago, open): nixos/tests/prosody: update prosody tests
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61722 (by Izorkin, 9 weeks ago, open): nginxModules.pinba: init at 13.05.2019
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61671 (by Izorkin, 9 weeks ago, open): nixos/mysql: fix mysqlReplication test
<niso> daurnimator: because it's not in 19.03 - right now it's in the master
eagle2com has joined #nixos
porrifolius_ has joined #nixos
o1lo01ol1o has joined #nixos
<manveru> anyone got a config for using gitlab.com CI with nix?
sveitser2 has quit [Ping timeout: 245 seconds]
sveitser2 has joined #nixos
octe has joined #nixos
thc202 has joined #nixos
Shoubit has joined #nixos
<srhb> manveru: You mean like the yaml file for the repo?
qqlq has quit [Ping timeout: 245 seconds]
<manveru> yeah
<manveru> i looked through some of the open issues on gitlab, seems like nobody has a solution for caching...
<srhb> I've only done self-hosted runners..
<manveru> yeah :|
<srhb> Because then it's as easy as not garbage collecting :P
eagle2com has quit [Ping timeout: 244 seconds]
<Taneb> srhb: that only works if you only have one runner
<srhb> Taneb: No, there's several ways around that.
<Taneb> Oh?
<niso> srhb: why self-hosted runners instead of self-hosted hydra?
<srhb> Taneb: Easiest being to basically do the hydra thing with a coordinating master and a number of builders
<srhb> niso: Some people like gitlab. Hydra is sort of painful and arcane in many ways
<{^_^}> [nixpkgs] @Tmplt opened pull request #65364 → vimPlugins: update; add seoul256-vim, vim-cpp-enhanced-highlight → https://git.io/fjDQh
<srhb> niso: I tend to prefer it anyway because of the impedance match.
o1lo01ol1o has quit [Remote host closed the connection]
orivej has joined #nixos
<niso> alright
<niso> by chance someone is willing to share his nixops config for a gitlab/gitea - hydra CI/CD pipeline?
Ariakenom has joined #nixos
<johanot> we have a self-hosted gitlab runner as well, a single instance with no garbage collection evar :p but we are considering S3 as backend for our store, which should make it easier to share between runners.
zupo has joined #nixos
zupo has quit [Client Quit]
<srhb> I do something like place a gc root for each branch, periodically delete everything but the ten latest..
<srhb> Arbitrary, but..
<johanot> srhb: right. sidenote: we
<johanot> whoops
<johanot> we've also considered simply nix-copying result paths to a central store after each sucessful build.
zupo has joined #nixos
<srhb> niso: It's rather difficult to do properly with nixops. Hydra is very imperatively set up. The main pain points is eg. the declarative project/jobset setup, which you basically do by browser.
<srhb> niso: (Of course, you could automate this, but...)
<srhb> johanot: Yeah, that makes sense too.
<manveru> hm, i should just try using cachix with it... still hoping that domenkozar[m] will someday invite me to hercules :P
<niso> srhb: i'm kinda wondering why this is the case?
<{^_^}> [nixpkgs] @marsam merged pull request #65302 → eksctl: 0.2.0 -> 0.2.1 → https://git.io/fjDmD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjD7O
<srhb> niso: Why the config of eg projects isn't declarative?
<srhb> niso: It has the feel of something that was initially intended to be multi tenant somehow. But ultimately, I don't know. :)
<srhb> niso: Anyway, there are guides out there for setting up the declarative jobsets and then you never have to mess with it again except through a nix expression under revision control, which makes it tolerable. :)
<niso> srhb: exactly, i'd expect nix related projects to treat declarative configurations as first-class citizens
<srhb> Indeed..
<srhb> Funnily, that's not always the case :-P
eagle2com has joined #nixos
<niso> what also somewhat bothering me is that it's remarkably hard to use nix as a replacement for docker-compose - (also with nearly no dummy-projects available)
<srhb> niso: For spinning up actual docker containers?
<niso> srhb: no, for moving my dev-environments from docker-containers to nixos-containers
<srhb> I've only heard someone do that like once before. The usual way is nix shells.
bakakuna has quit [Quit: bakakuna]
anon has joined #nixos
<srhb> For development I feel nix mostly obviates the need for containers entirely.
<niso> srhb: nix shells is fine as long as you don't need e.g. a database on your project
bakakuna has joined #nixos
<srhb> Even then it's pretty fine.
anon is now known as Guest70275
<srhb> Though the lack of nixos options is obviously a bit of a shame.
<niso> srhb: how? (maybe i'm taking a wrong approach)
<niso> srhb: e.g. right now i'm trying to setup a dev environment for yesod+mongodb
<srhb> niso: Yeah, in that case I'd probably want the nixos bits too..
<niso> srhb: question: can i use the container.nix options in imperatively started nixos-containers?
<srhb> niso: I think in general I'd like a more pleasing, faster and more configurable test framework.
<srhb> niso: What is container.nix?
<srhb> niso: Do you mean stuff like allowedDevices etc?
__Sander__ has joined #nixos
<niso> nixpkgs/nixos/modules/virtualisation/containers.nix
<niso> srhb: ^
<srhb> I think you only get to fiddle with the individual container configs.
<niso> srhb: this includes e.g. the "bindMounts" option, i don't see how i could use it within an imperativly created container (however i'm quite new, so maybe there's a way)
Okinan has quit [Quit: Konversation terminated!]
adamt has joined #nixos
adamt has joined #nixos
adamt has quit [Changing host]
magnetophon has quit [Ping timeout: 245 seconds]
<srhb> niso: No, I think you're right, imperative containers only get to touch (in spirit) config.containers.name.config, not name.*
<niso> what i don't quite get is where there is a toplevel isContainer config, however ther are the container.<name>.<options> aswell
<niso> by chance you are aware of a way to work arround that?
<srhb> niso: Not short of modifying the settings globally anyway, for all containers.
<manveru> niso: did you see arion?
bakakuna has quit [Quit: bakakuna]
<manveru> i mean, it uses docker-compose under the hood, but builds nixos configs :)
bakakuna has joined #nixos
<niso> manveru: yes, however i wanted to checkout the pure-nix options first (especially since i'd like to move deployment to nixops at a later point)
<manveru> yeah, i haven't found anything better either
<domenkozar[m]> manveru: did you sign up on hercules webpage?
<manveru> domenkozar[m]: many moons ago
<domenkozar[m]> if so, the last batch should go out hopefully this week
<domenkozar[m]> making improvements to docs :)
<niso> if i'd get the bindMounts thing running i'd prolly be happy
<niso> (that or if i could get nixos containers running within nixos containers)
<manveru> domenkozar[m]: no worries, i signed up with another address again just in case it got lost in spam or something
qqlq has joined #nixos
<niso> s/or/and/g
<niso> manveru: i assume you based your CI/CD piepline on docker too?
o1lo01ol1o has joined #nixos
<manveru> niso: nope
haslersn[m] has left #nixos ["User left"]
<manveru> atm i still manually `nixos-rebuild switch --target-host` mostly :)
<niso> alright, thanks
<niso> btw, are you aware of the reason arion isn't in nixpkgs?
<manveru> you best ask domen :)
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
<niso> alright, thanks :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #61816 → nginxMainline: 1.16.0 -> 1.17.2 → https://git.io/fj4uv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjD7F
<asymmetric> how do i allow different machines to deploy in nixops? do i have to pass around private ssh keys with import/export ?
<aria> is there an alternative to node2nix?
<manveru> yarn2nix
<aria> i wonder if that supports node-gyp
<manveru> it does
<manveru> but might need some manual tweaking depending on what node-gyp does
hyper_ch has joined #nixos
eagle2com has quit [Read error: Connection reset by peer]
bakakuna has quit [Read error: Connection reset by peer]
bakakuna has joined #nixos
<manveru> that's the basics, you have to share the state
<asymmetric> manveru: thanks so much
eagle2com has joined #nixos
christiaanb has joined #nixos
<christiaanb> Hi, I was wondering if someone could help me with the following error
<christiaanb> attribute 'hasInfix' missing, at /nix/store/sg57qn9zn81h413nmmbkr5zjf3d1x4hy-source/parse-git-config.nix:20:4
<christiaanb> I'm using nix on ubuntu 18.04
<christiaanb> nix (Nix) 2.2.2
<{^_^}> [nixpkgs] @jonringer opened pull request #65365 → pythonPackages.moto: fix description → https://git.io/fjD5J
<christiaanb> $ nix-channel --list
<christiaanb> nixos-19.03 https://nixos.org/channels/nixos-19.03
<{^_^}> [nixpkgs] @Mic92 merged pull request #65365 → pythonPackages.moto: fix description → https://git.io/fjD5J
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjD5T
psy3497 has quit [Ping timeout: 258 seconds]
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
<johanot> christiaanb: can you paste parse-git-config.nix somewhere? in a gist or pastebin
<christiaanb> sure: https://pastebin.com/j1E7RX72
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
eagle2com has quit [Read error: Connection reset by peer]
<christiaanb> Also... my colleague with nearly the same setup as mine isn't having any issues
<mpickering> I just accidentally removed my configuration.nix file, is there a copy of it somewhere in the nix store I can find?
<christiaanb> johanot: this is the project I'm executing `nix-shell` in: https://github.com/clash-lang/clash-compiler
<christiaanb> for context
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « google-gflags: move to aliases.nix »: https://git.io/fjD5C
eagle2com has joined #nixos
magnetophon has joined #nixos
<jasongrossman> mpickering: No, sorry, unless you've put it there.
<johanot> christiaanb: how old a nixpkgs did you say you have again? the top of channels/nixos-19.03 or?
<mpickering> lol great. I have a copy from 6months ago
<mpickering> now I will turn on the setting which copies it
<jasongrossman> mpickering: Sorry!
alex`` has quit [Ping timeout: 245 seconds]
bakakuna has quit [Read error: Connection reset by peer]
<jasongrossman> I wonder whether that setting should be on by default.
bakakuna has joined #nixos
<adamt> What setting is that? And can it actually copy the configuration verbatim, including all imports and everything?
o1lo01ol1o has quit [Remote host closed the connection]
<christiaanb> johanot: the output of nix-channel --list is: `nixos-19.03 https://nixos.org/channels/nixos-19.03`
<{^_^}> [nixpkgs] @orivej-nixos pushed 246 commits to staging: https://git.io/fjD5l
<christiaanb> however! that's only because I just added it using `nix-channel --add` in my attempts to fix the error
<christiaanb> before that, I just got an empty list (immediate newline)
<johanot> right.. I'm asking because hasInfix is only a year old or so in lib.strings. https://github.com/NixOS/nixpkgs/commit/320c9c10de8489604c459127079f59a3ef4d8475
<jasongrossman> adamt: `environment.etc.current-nixos-config.source = ./.;`
<jasongrossman> adamt: I believe it copies all imports, yes.
<johanot> christiaanb: can you please try running: nix run nixpkgs.nix-info -c nix-info -m
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to staging « gflags: update pname »: https://git.io/fjD5a
<christiaanb> johanot: https://pastebin.com/3xs6UuJT
<christiaanb> (I also just added an old channel, seeing whether I could see if it was somehow not picking the 19.03 one)
<adamt> Did you add 18.03 before running the command?
<christiaanb> yeah
<christiaanb> but yeah... it seems to be something with my env
<christiaanb> johanot: I had one of my colleagues fix the issue for me: https://pastebin.com/M4vEZa7j
<adamt> You should probably remove the user channels, and make sure the root one is updated
szicari has quit [Ping timeout: 264 seconds]
<christiaanb> adamt: thanks, will do!
<johanot> christiaanb: good to hear :)
<christiaanb> johanot: thanks for all the help
szicari has joined #nixos
porrifolius__ has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
porrifolius_ has quit [Ping timeout: 272 seconds]
hyper_ch has joined #nixos
shomodj has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #65308 → buildBazelPackage: autodetect nix toolchain instead of Xcode on Darwin → https://git.io/fjDZW
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @kalbasit to master « buildBazelPackage: autodetect nix toolchain instead of Xcode on Darwin (#65308) »: https://git.io/fjD5M
Drakonis has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
usr has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 248 commits to staging-next: https://git.io/fjD5d
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hio has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #64932 → pythonPackages.mkl-service: init at 2.1.0 → https://git.io/fj1k4
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjD5h
shomodj has joined #nixos
<dminuoso> Can someone elaborate what's going on here exactly? https://gist.github.com/dminuoso/76ef51240adfda013f78680515dcc51d
<dminuoso> Does this mean some package is depending on libtinfo.so.5 and patchelf magic doesnt know which file to pick?
owickstrom has quit [Quit: Connection closed for inactivity]
<srhb> dminuoso: No, it's just that two filies with the exact same paths and priority have been asked to merge into the same profile
<srhb> dminuoso: files*
Ariakenom has quit [Quit: Leaving]
<dminuoso> srhb: What do you mean by "profile" exactly?
<srhb> dminuoso: Say ~/.nix-profile
<dminuoso> srhb: Ahh I see.
<srhb> dminuoso: Two packed that are required provide /lib/libtinfo.so.5 and nix doesn't know which to pick for ~/.nix-profile/lib/libtinfo.so.5
<srhb> Gah, two packages*.. I can't write today.
<dminuoso> srhb: So a nix-profile compares to the root directory of a conventional linux distribution in which you'd have defined paths where to find shared objects and binaries?
<dminuoso> Right.
<dminuoso> Gotcha.
<srhb> dminuoso: In a sense, yes. It's a way to (among other things) produce an unambiguous environment that looks sort of like a regular tree with bin, share, lib...
<srhb> By merging together a bunch of nix store paths.
<dminuoso> That makes sense.
<pie_> elvishjerricco: did you file any issues anywhere
<dminuoso> srhb: Wouldn't that be an artifact of incorrect packaging? I mean presumably the derivation for arduino should throw libtinfo.so.5 and use the one from ncurses instead, no?
<srhb> dminuoso: I don't know that thing in particular, so it might be that both ncurses and arduino should rely on a third package for libtinfo.so.5 at runtime.
<srhb> dminuoso: But you may be right, yes.
<srhb> dminuoso: You can either fix that or change the priority of one or the other so that nix will merge them together in the env, preferring the version from one of the packages.
chagra has joined #nixos
<dminuoso> srhb: Such a setting would be profile specific, wouldn't it?
<dminuoso> Since whether one package should have a higher priority might depend on the exact environment Im settingup
<dminuoso> I see.
<dminuoso> Ahhh.
<srhb> dminuoso: If you need differences, I'd just create multiple attrs with different priorities in meta..
chaoflow has quit [Ping timeout: 276 seconds]
<manveru> can we just deprecate nix-env already? :P
* manveru hides
<mpickering> How do I change the location of my nixos-config?
<mpickering> I need to tell nixos-rebuild to not look in `/etc/nixos/configuration.nix`
<mpickering> but look in the new place
<srhb> mpickering: change the NIX_PATH-entry nixos-config to point to it
<srhb> For one time things, you can use -I for that.
<mpickering> How do I use `-I`?
<srhb> mpickering: Frankly I prefer keeping it at the default location because there's no declarative way to change it for the next rebuild that I know of, which can be pretty confusing.
<srhb> mpickering: nixos-rebuild -I nixos-config=/your/path
<srhb> manveru: How would you manage profiles without it :P
Shoubit has quit [Ping timeout: 248 seconds]
<mpickering> yeah, well, I deleted my configuration.nix today so I'm not in the mood for changing my configuration any further..
<srhb> mpickering: Ouch.
<manveru> i only have `home-manager-path` in mine... but yeah
<srhb> manveru: You're not on NixOS?
<manveru> never really used profiles much as it always quickly devolved into chaos
<manveru> i am, but i use home-manager separately
<dminuoso> In an unrelated matter, what's the quickest way to wrap a binary from a package for an extra environment variable?
chaoflow has joined #nixos
<srhb> manveru: Right, but, nix-env does all the heavy lifting for your system profile too.
<manveru> damn
<srhb> dminuoso: wrapProgram and friends, maybe with runCommand?
<dminuoso> srhb: So writing a derivation for it?
<srhb> dminuoso: Yeah.
<manveru> well, it's too late now anyway, but everyone advertises `nix-env -i` as a good way to install stuff, and it... isn't relaly
<srhb> manveru: I hope they don't say -i over -iA at least because that's just plain horrible :P
<manveru> no, i mean `-i`, and yes :P
<srhb> Yikes.
<manveru> also if you use `-iA` it depends on the channel name, which isn't portable, also it omits which channel exactly
<manveru> so you have to tell them to use NIX_PATH alongside or something
<srhb> I have no channels, but yes..
Shoubit has joined #nixos
<srhb> I do like nix-env for mid-term ad hoc stuff. I tend to make it declarative later.
<infinisil> manveru: I can't wait for Nix flakes to finally get rid of this nixpkgs.<attribut>/nixos.<attribute> and channel business
<manveru> infinisil: yeah, it will be glorious
<srhb> I'm not sold on the flakes idea yet, but it will certainly be interesting :)
<infinisil> For reference: rfcs#49
<{^_^}> https://github.com/NixOS/rfcs/pull/49 (by edolstra, 1 week ago, open): [RFC 0049] Flakes
<manveru> i use nixFlakes sometimes just for fun now :)
* infinisil has yet to fully read through the flakes RFC
<manveru> will probably be 20.03 before it's really fully adopted in nixpkgs, but it's already useful now
<eyJhb> worldofpeace: hey, do you have time to look at #64989 again?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64989 (by eyJhb, 1 week ago, open): pythonPackages.rotate-backups: init at 6.0
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
porrifolius__ has quit [Ping timeout: 248 seconds]
cfricke has joined #nixos
chagra has quit [Read error: Connection reset by peer]
dm9 has joined #nixos
usr has quit [Quit: Leaving]
sbj has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
<no-n> Not sure if I've found a bug, or done something wrong. setprotoent manpage says
<no-n> o my understanding. This code, run under valgrind, gets the following: http://ideone.com/OudRVH -> https://pastebin.com/NJyp6qCQ
<no-n> I don't need to call endprotoent if I do 'setprotoent(0); getprotobyname(...)' t
<no-n> uh, sorry, I meant to paste that as one line ;-;
<infinisil> no-n: Wrong channel?
<Izorkin> hyper_ch: found the error works dovecot with sieve? I am cheked with doevecto 2.3.6 -mail worked. With 2.3.7 and 2.3.7.1 - not worked
<srhb> infinisil: not necessarily..
adamt has quit [Quit: WeeChat 2.4]
mkoenig has quit [Ping timeout: 272 seconds]
mkoenig has joined #nixos
alex`` has joined #nixos
adamt has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #65366 → pulseview,pavucontrol-qt: add wrapQtAppsHook → https://git.io/fjDFe
<no-n> 11:14 PM <lm-> no-n: you don't get memory leak, you get 'still reachable', maybe nixos allocates some static buffer, and on exit it is not freed
<no-n> ok, maybe not
joehh has joined #nixos
virus_dave has joined #nixos
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @Lucus16 opened pull request #65367 → Fix string misuse → https://git.io/fjDFU
<pie_> elvishjerricco: while i screw around with making more space: it might be interesting to test with the 0.7 line on a 0.8 and see if its just the feature flags that mess us up https://chungy.keybase.pub/zfs-features-table.html
<pie_> elvishjerricco: alternatively, we arent accidentally using luks2 or something? (did you also rebuild the luks partition?)
<pie_> elvishjerricco: because grub doesnt support luks2
<pie_> > sudo grub-probe -d /dev/sdd2
<pie_> grub-probe: error: unknown filesystem.
<{^_^}> undefined variable 'grub-probe' at (string):255:6
<pie_> ok that might explain things...
<pie_> cryptsetup luksDump /dev/sdd2 says "version: 2" which im assuming means luks 2
<pie_> clever: some ideas re: yesterday ^
<pie_> it still bothers me that grub just somehow autoselects what drive to use. but lets see if i can fix this now
orivej has quit [Ping timeout: 245 seconds]
<pie_> i think some distros recently switched to defaulting to luks2 and thats what might have happened
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/96151a48dd6 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<pie_> archwiki says: "--type luks for using the default LUKS format version (LUKS1 with cryptsetup < 2.1.0, LUKS2 with cryptsetup ≥ 2.1.0),"
<pie_> and i have 2.1.0 right now
<Taneb> Why is it that overlays should use super to access library functions?
<pie_> Taneb: i dont think they _have_ to, i think i use self most of the time.
* pie_ tries to dig up a link
christiaanb has left #nixos [#nixos]
is_null has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #63645 → bazel: add fixed output test case → https://git.io/fjwlq
<{^_^}> [nixpkgs] @Profpatsch pushed 4 commits to master: https://git.io/fjDFY
<{^_^}> [nixpkgs] @ikervagyok opened pull request #65368 → wine-{unstable,staging}: 4.9 -> 4.12.1 → https://git.io/fjDFs
<pie_> Taneb: yeah that says to use super for library functions... *shrug* i try to use self for everything
cfricke has quit [Quit: WeeChat 2.5]
<pie_> maybe using super in more places is less likely to result in infinite recursion?
<lucus16> If any of you also think it's terrible when people use multi-line strings with "" instead of '''', please review https://git.io/fjDFU ^^
is_null has quit [Remote host closed the connection]
is_null has joined #nixos
is_null has quit [Remote host closed the connection]
jojo1 has joined #nixos
jojo1 has left #nixos [#nixos]
jojo88 has joined #nixos
cfricke has joined #nixos
lordcirth has joined #nixos
lordcirth_ has quit [Ping timeout: 276 seconds]
virus_dave has quit [Quit: virus_dave]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/88d9f776091 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Mic92 opened pull request #65369 → Rustracer → https://git.io/fjDFd
<{^_^}> [nixpkgs] @Ma27 opened pull request #65370 → _3llo: init at 0.3.0 → https://git.io/fjDFx
WeS has quit [Quit: Leaving]
Xal has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 264 seconds]
chaoflow has quit [Ping timeout: 264 seconds]
Xal has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #65348 → checksec: 1.5 -> 2.0.1 → https://git.io/fjDPo
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjDbO
ng0 has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
magnetophon has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
ardumont has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 250 seconds]
sb0 has quit [Quit: Leaving]
magnetophon has joined #nixos
joehh has quit [Ping timeout: 246 seconds]
srid6390803 has quit [Ping timeout: 272 seconds]
dansho has quit [Ping timeout: 245 seconds]
srid6390803 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #65342 → Improve ergonomics of clwrapper → https://git.io/fjDKQ
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjDbE
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/88d9f776091 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #65305 → wine: disable zbar in gst-plugins-bad → https://git.io/fjD3S
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjDbu
ardumont has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #65371 → dovecot: 2.3.7 > 2.3.7.1 → https://git.io/fjDbz
tmaekawa has joined #nixos
johanot has quit [Ping timeout: 245 seconds]
ehmry has joined #nixos
<elvishjerricco> pie_: What makes you think grub doesn't support LUKS 2? I'm not sure, but I think I'm using LUKS 2
<elvishjerricco> But no, I didn't file any issues anywhere
sellout- has quit [Ping timeout: 245 seconds]
tmaekawa has quit [Quit: tmaekawa]
<pie_> elvishjerricco: i didnt boot but i confirmed luks2 is the issue
abbiya has quit [Quit: abbiya]
<pie_> elvishjerricco: its documented on the arch wiki but also mentioned elsewhere
<pie_> i forgot about it but saw it mentioned again somewhere and i was like duhh nixos probably upgraded cryptsetup
<elvishjerricco> pie_: When did luks2 become default? I thought that was a loooong time ago
<pie_> nope
<pie_> it became default with 2.1.0 apparently
<pie_> maybe add a note to your blog post :I
<pie_> elvishjerricco: it bothers me that we didnt even really get to ssee any sort of failure or anyhting grub just generated the wrong book config -_-
<pie_> boot
<elvishjerricco> Agh yea ok. That sucks. Just confirmed my machine uses luks 1
<elvishjerricco> clever's probably right: probably better to just avoid grub's fancy stuff altogether :P
<{^_^}> [nixpkgs] @FRidh opened pull request #65372 → qt5.wrapQtAppsHook: wrap more than just ELF's → https://git.io/fjDbd
<pie_> elvishjerricco: do you think we could get some sort of warning added to config generation that warns if cryptodisk is enabled for an old luks or something
<pie_> not really sure what to do but
<pie_> i mean in the nix modules
<elvishjerricco> I doubt it. The Nix config doesn't know what version of luks is in use
<niso> elvishjerricco: how did you check the luks version?
<pie_> cryptsetup luksDump /dev/whatever
<elvishjerricco> ^
<niso> thx
* niso uses 1 too
<niso> pie_: congratz on figuring it out!
<niso> elvishjerricco: to you too
<pie_> im very frustrated with this problem
<pie_> there has to be some sort of workaround to making other people not have to bang their head at the wall about this
<pie_> how likely is it that at least several people are going to run into this for the next nixos release
<pie_> oh cool new issue templates on nixpkgs github
<elvishjerricco> pie_: Grub's luks and zfs support are pretty rarely used. Almost everyone with encrypted / just leaves /boot on an unencrypted drive that grub trivially read
<elvishjerricco> So I'd say it's unlikely that people encounter problems unless they specifically read my blog post :P
<elvishjerricco> So yea I'll have to update it
mkoenig has quit [Ping timeout: 246 seconds]
logzet has quit [Ping timeout: 264 seconds]
<danderson> depending on your threat model, the only complete solution for encrypted boot is to use Secure Boot, with a signed bootloader and signed kernel
Makaveli7 has quit [Quit: WeeChat 2.5]
<danderson> that way having an unencrypted kernel is not an issue, you run trusted code all the way to the prompt asking you to decrypt stuff
<danderson> but it's still quite hard to set up, because people still have old fears about secure boot
<elvishjerricco> Yea, but it'd be nice if the kernel could remain confidential, if it weren't possible for the kernels for different generations to be deleted, and if the kernel could be stored on redundant storage via zfs
<ehmry> I used to have commit access to nixpkgs, but left the github group because I wasn't commiting anymore, seeing that the backlog of PRs is so big, can I apply to be reinstated as a committer?
<elvishjerricco> Which is why I want a boot loader for EFI systems based off a linux kernel with EFI STUB :P
jojo88 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @abbradar opened pull request #65373 → bazel-remote, bazel-deps: mark as broken → https://git.io/fjDNO
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @abbradar opened pull request #65374 → Bazel: clear markers completely → https://git.io/fjDNl
<pie_> elvishjerricco: ok it looks like grub-probe just doesnt understand luks at all
<elvishjerricco> pie_: Yea my update to my blog post is basically going to be "UPDATE: Don't use this. Do the normal unencrypted /boot thing"
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vmandela has joined #nixos
magnetophon has quit [Ping timeout: 272 seconds]
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> #65375 (by deliciouslytyped, 1 minute ago, open): GRUB silently generates wrong config (cryptsetup default is now LUKS2)
<pie_> elvishjerricco: aww :P
magnetophon has joined #nixos
<pie_> elvishjerricco: at least say why
<elvishjerricco> Of course
psyanticy has quit [Quit: Connection closed for inactivity]
babis85 has joined #nixos
johanot has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
evanjs has quit [Quit: WeeChat 2.5]
<{^_^}> [nix] @matthewbauer reopened pull request #2443 → Add XDG_DATA_DIRS to nix-profile.sh → https://git.io/fAdpW
nakkle has joined #nixos
magnetophon has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Ekleog pushed to master « matrix-synapse: fix documentation better »: https://git.io/fjDNx
<nakkle> hey guys. How can I find out which package in nixpkgs I need to install to get an executable with a given name?
evanjs has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3006 → Run test to determine if sandboxing is available → https://git.io/fjDAT
<adisbladis> nakkle: There is a bot here
<adisbladis> ,locate ls
<{^_^}> Found in packages: mc, cheat, klibc, toybox, busybox, netlogo, coreutils, logstash5, plan9port, lighttable, klibcShrunk, logstash6-oss, coreutils-full, libsForQt511.kdelibs4support, kdeFrameworks.kdelibs4support, python37Packages.ludios_wpull
<jasongrossman> Or you can use the same bot in #bottest if you need to do it a lot.
<daurnimator> What about locally?
<adamt> You can build all packages, and look in the bin-folder of the output :P
* adamt hides
<nakkle> mhh alright, thanks :)
<jasongrossman> Or you can install nix-index
<jasongrossman> And then use nix-locate.
<{^_^}> [nix] @matthewbauer opened pull request #3007 → Add default for USER when unset → https://git.io/fjDAq
<adamt> It would be neat if the package browser on nixos.org included nix-index like functionality.
<infinisil> That would be neat
<tilpner> IIRC all that is currently static
<tilpner> And downloading the index to do it client-side would be a lot for slow connections
<{^_^}> [nix] @matthewbauer opened pull request #3008 → Use $HOME instead of $USER → https://git.io/fjDA3
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
___laika has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64982 → Staging next → https://git.io/fj1nw
<{^_^}> [nixpkgs] @FRidh pushed 63 commits to master: https://git.io/fjDAc
<evanjs> Not sure if related to home-manager (ping @rycee) or what, but does anybody have an idea as to why oh-my-zsh (without any plugins, even), which is currently installed via home-manager, breaks nixos-* command completion? Instead, it just lists the current directory on TAB as if I was using ls or something. My current workaround --
<infinisil> I've thought of setting up a binary cache for nix-index indices
<infinisil> So you wouldn't have to build it yourself
<infinisil> And you could have a neat history of the channels
veske2 has joined #nixos
<{^_^}> [nixpkgs] @abbradar opened pull request #65376 → [WIP] Use upstream units for mdadm → https://git.io/fjDAB
___laika has quit [Ping timeout: 258 seconds]
veske has quit [Ping timeout: 244 seconds]
babis85 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65049 → zmq: enable drafts api → https://git.io/fj1An
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjDAg
<jasongrossman> infinisil: That would be great.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65319 → ngrok: fix build on darwin → https://git.io/fjD8H
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjDAa
<infinisil> (problem is that these indices are totally impure, so not fit for a nix binary cache at all..)
<infinisil> Ideally hydra would have support for this builtin
<{^_^}> [nixpkgs] @q3k opened pull request #65377 → dazel: init at 0.0.36 → https://git.io/fjDAK
<infinisil> Like, being able to do `curl hydra.nixos.org/api/locate?query=bin%2Fls`
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> evanjs: completion is working here
zupo has joined #nixos
<manveru> evanjs: did you set `programs.zsh.enable` in your nixos config?
<manveru> i also got `environment.pathsToLink = [ "/share/zsh" ];` and have zsh in `systemPackages`
<manveru> not sure which one is what you need :)
vmandela has quit [Quit: Leaving]
cransom has joined #nixos
domogled has joined #nixos
<manveru> evanjs: `for f in $fpath; { find $f -name _nix 2>/dev/null }`
adamt has quit [Ping timeout: 258 seconds]
<manveru> that's how zsh finds its completions, might help
dm9 has quit [Quit: WeeChat 2.5]
<manveru> mine is in `/run/current-system/sw/share/zsh/site-functions/_nix`, so not related to home-manager
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
<manveru> ah, i also have `nix-zsh-completions` installed
<manveru> that's where this file comes from here
veske2 has quit [Quit: This computer has gone to sleep]
<evanjs> Sure, but that should be the case here, too: "Setting programs.zsh.enable = true in /etc/nixos/configuration.nix will automatically install and enable nix-zsh-compeletions."
seanparsons has quit [Ping timeout: 245 seconds]
<manveru> ok then
<manveru> the question is, what does your $fpath look like
<manveru> first few line of the zshrc should set that
<evanjs> /run/current-system/sw/share/zsh/site-functions/_nix
<evanjs> /home/evanjs/.nix-profile/share/zsh/site-functions/_nix
veske2 has joined #nixos
<manveru> then i'm not sure... maybe ask in #zsh?
seanparsons has joined #nixos
<evanjs> Alright. I'll see what everybody there thinks. Thanks!
veske2 has quit [Ping timeout: 272 seconds]
srid6390803 has quit [Ping timeout: 272 seconds]
seanparsons has quit [Ping timeout: 245 seconds]
<pie_> clever: why isnt boot.debug1devices the default? if boot fails its stuck where it is anyway so you might as well have the option to debug it by default
seanparsons has joined #nixos
<clever> pie_: dont know
virus_dave has joined #nixos
vmandela has joined #nixos
<pie_> clever: i mean is there any reason it shouldnt be?
<clever> pie_: security in situations where you dont want to give root shells
zupo has joined #nixos
<pie_> oh
<pie_> i guess that makes sense
<pie_> ( i guesss)
vmandela has quit [Remote host closed the connection]
AluisioASG has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<samueldr> assuming one's bootloader is secured, it is the sane default
Thra11 has joined #nixos
o1lo01ol1o has joined #nixos
nakkle has quit [Ping timeout: 276 seconds]
nakkle has joined #nixos
<pie_> anyone ever set up encrypted swap?
<mog> via an encrypted lvm ya
<dminuoso> Mmm, does nix require extra magic to install zsh autocompletions?
<dminuoso> Say I have a haskell program that uses opt-applicative, how can I load its zsh completion?
<dminuoso> *optparse-applicative
<clever> dminuoso: one min
jasongro` has joined #nixos
jasongro` has quit [Remote host closed the connection]
<clever> dminuoso: at least when using bash, you can run something like this: https://github.com/input-output-hk/iohk-ops/blob/test-macs/shell.nix#L36-L45
<clever> dminuoso: in this case, its a nix-shell for using those programs, and it auto-loads their auto-completes into the shell
jasongrossman has quit [Ping timeout: 245 seconds]
<dminuoso> clever: Ah that could be helpful, cheers.
<clever> dminuoso: if your putting it somewhere system wide, you could also make some optimizations
<pie_> mog: so i _would_ want hibernation support, would your variant work if my root is on a zfs+luks?
<clever> dminuoso: using pkgs.runCommand, you can run `foo --bash-completion-script` at nix build time, and drop it into a .sh file, that you then simply source later on when opening shells
srid6390803 has joined #nixos
zupo_ has quit [Ping timeout: 244 seconds]
<clever> dminuoso: oh, it says bash right there, what if you change that to zsh? :D
<dminuoso> clever: What would be an equivalent way to do this from inside a nix-shell when I want to work on my parsing?
<dminuoso> Oh wow no idea what my brain did there.
<dminuoso> I want to interactively develop on my commandline flags, such that I dont have to reload my nix-shell.
<clever> dminuoso: i think the 2nd argument there, is the path to the binary, so that would be something under dist/, and you may need to re-run source repeatedly
<dminuoso> Perhaps I should just start with the problem Im having
<mog> pie_, id assume so i only use ext4 but my drive is just fat32 for efi, and encrypted lvm with ext4 and swap
<clever> pie_: of note, zfs doesnt support hibernation
<clever> pie_: so if you have a zfs root, give up already :P
<mog> i dont understand the benefits of zfs...
<mog> ext just works, dont know what more youd want a filesystem to do
<clever> mog: snapshots, zfs send|recv
<pie_> clever: wait what
<samueldr> pie_: my swap is encrypted transitively by being a swapfile on my ext4fs
<mog> whats zfs send|recv?
<clever> mog: you can (incrementally) send your entire filesystem to another machine
<pie_> samueldr: yeah you cant use a swap file on zfs and apparently swap zvols are dangerous under memory pressure (bug)
<mog> ah
<samueldr> and AFAIUI swapfiles on encrypted fs cannot be resumed from
<mog> both of those i just use other sync stuff for
<pie_> samueldr: apparently there are ways
<clever> dminuoso: nix-shell is bash
<dminuoso> clever: Oh wow. Oh wow.
<dminuoso> clever: That tripped me up so badly that I didn't understand what happened.
<niso> mog: then you are working on the file-level, not the FS level (which got pros and cons)
<dminuoso> Thanks.
<pie_> clever: depending on what you mean, the plan would probably need to be having the swap partition not on the zfs anyway
<mog> ya i only care about files
<clever> pie_: i think zfs requires you to export the pool before you hibernate
<pie_> mog: zfs has better integrity management
<dminuoso> clever: Great that works. Ive spend at least an hour staring at the screen wondering what went wrong there.
<dminuoso> At then I just dismissed this under "oh well. nix environment blah blah blah"
<mog> ive never had a bad file in my life time? and anything that could go bad should be backed and version controlled
<clever> mog: zfs stores a checksum of every single block on disk, while ive seen ext4 corrupt data numerous times after an improper shutdown
<niso> mog: some filesystems e.g. btrfs offer a software-raid too
sb0 has joined #nixos
<niso> mog: you don't version-control binary files
<clever> mog: ive seen a few nixos users run into problems because a .drv file got truncated, its easy to fix, but why even have that problem?
<mog> binary files should be recreateable or backed up?
<pie_> also you can find where the problems are if you say accidentally yank a drive
<pie_> or something
<niso> mog: you might want to tell that my database :P
<pie_> as opposed to, well, maybe something is broken now
<mog> where is it niso ill give it a talking to
<pie_> to be fair i dont know much about journaling
<pie_> haha
<{^_^}> [nixpkgs] @costrouc opened pull request #65378 → [WIP] pythonPackages.cq-editor: init at 0.1RC1 → https://git.io/fjDpY
<mog> thats my backup service!
<mog> so fast
Tucky has quit [Quit: WeeChat 2.5]
endformationage has joined #nixos
<infinisil> Lol
<niso> clever: i'm probably okay! :D
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
<Yaniel> Keep up the good work!
<johanot> huge fan of E_NOTADATABASE :D
bakakuna has quit [Ping timeout: 244 seconds]
bakakuna has joined #nixos
nakkle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @spacekookie closed pull request #64747 → yaml-cpp: init at 0.6.2 → https://git.io/fjXgp
<{^_^}> [nixpkgs] @abbradar opened pull request #65379 → stage-1 init: fix debug menu → https://git.io/fjDpa
bakakuna has quit [Quit: bakakuna]
bakakuna1 has joined #nixos
jabranham has joined #nixos
bakakuna1 is now known as bakakuna
<{^_^}> [nixpkgs] @danbst opened pull request #65380 → lib/types: change merge strategy for `str`, `int`, `float`, `path` and `enum` → https://git.io/fjDpM
orbekk has quit [Quit: server upgrade]
chloekek has joined #nixos
jojo88 has joined #nixos
domogled has quit [Quit: domogled]
iyzsong has quit [Ping timeout: 250 seconds]
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @cransom opened pull request #65381 → gh-ost: update platforms → https://git.io/fjDpd
jasongrossman has joined #nixos
<gchristensen> oh cool, craige
<gchristensen> cransom:
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b5f5c97f7d6 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @Profpatsch merged pull request #65373 → bazel-remote, bazel-deps: mark as broken → https://git.io/fjDNO
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/fjDpF
bakakuna has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra merged pull request #3007 → Add default for USER when unset → https://git.io/fjDAq
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjDhv
<{^_^}> [nix] @edolstra merged pull request #3008 → Use $HOME instead of $USER → https://git.io/fjDA3
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjDhU
MmeQuignon has joined #nixos
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/fjDhT
<{^_^}> [hydra] @edolstra merged pull request #657 → Create `pg_trgm` extension in the NixOS module → https://git.io/fjwLL
erasmas has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> hello, I'm trying to build a package using ccache, but I'm getting the error: "Directory '/var/cache/ccache' does not exist". The directory does exist and it has the correct permissions set. I checked the nixpkgs source code where this error is triggered (in ccache.nix) and everything looks fine to me.
<clever> matthuszagh: the nix sandbox wont allow access to /var/cache/ccache/
<evanjs> matthuszagh: Looks like programs.ccache.packageNames can be used to compile stuff via ccache. Or are you already using that?
<matthuszagh> clever: the solution is to set `nix.useSandbox = false;`?
<matthuszagh> evanjs: yeah that's what I'm using
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @kalbasit merged pull request #65316 → moto: fix colliding dependencies → https://git.io/fjDWb
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fjDhB
wfranzini has quit [Remote host closed the connection]
<clever> matthuszagh: you still wont have write access to the directory, and turning off the sandbox has a lot of purity problems
gentauro has quit [Read error: Connection reset by peer]
<Orbstheorem> Hi ! How can I see a closure size without downloading ? (ie. I wanna know how much space I'd need to `nix-shell -p dodo`)
<matthuszagh> clever: oh ok. is there any good way to use ccache then?
gentauro has joined #nixos
<clever> matthuszagh: i dont see any feasible way to make it work during nix based builds, but nix-shell could still work
<matthuszagh> clever: i do everything from configuration.nix so i guess that's an issue then
<infinisil> Orbstheorem: Not really no
<matthuszagh> clever: is ccache fundamentally at odds with the way nix performs builds, or it would just take some extra work to make them more compatible? i really like keeping everything in a declarative model (i use home-manager in configuration.nix as well) but I have quite a few overlays at this point and small changes to certain dependencies can trigger a long chain of rebuilds. is there another way to achieve what I'm hoping for? I know bazel
<matthuszagh> exists, but I like keeping everything within nix if I can
<infinisil> Orbstheorem: Well, it could work with some scripting
<infinisil> Orbstheorem: By first getting the store path of the thing you want to build (e.g. with `nix eval nixpkgs.dodo.outPath)
<clever> matthuszagh: nix basically does the same thing as ccache, but at the package level
<clever> matthuszagh: if all inputs to a package are unchanged, it will reuse the entire build product
<infinisil> Orbstheorem: Then using the hash part of it to see what the nixos cache says about it (e.g. `curl https://cache.nixos.org/rq17dz8iaj99nmax47584xkmp1cjwyfg.narinfo`)
<matthuszagh> clever: but then if i make even a small change to a dependency, it can fully rebuild a ton of packages
<infinisil> Orbstheorem: Which then lists all runtime dependencies that has. Then you'd have to do the same thing for each of them recursively, while accounting for outputs you already have locally
<infinisil> Orbstheorem: I'd love if Nix had some functionality that did this built-in
<clever> matthuszagh: yeah, not much can be done about that right now
bakakuna has joined #nixos
<matthuszagh> clever: ok fair enough. thanks for the input
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<joko> Hey, is anyone using an FHS environment in shell.nix so that downloaded binaries work directly? If so, could you share your setup?
<Orbstheorem> infinisil: thanks :)
rycwo has quit [Quit: ZNC 1.7.1 - https://znc.in]
civodul has joined #nixos
<adisbladis> joko: You can use https://sid-kap.github.io/posts/2018-03-08-nix-pipenv.html as an example
<Orbstheorem> I think one could script something that scans nixpkgs top-level and recursively queries the cache on anything not on top level to calculate its size
rycwo has joined #nixos
bakakuna has quit [Read error: Connection reset by peer]
* Orbstheorem considers pushing that to his todo-list
bakakuna has joined #nixos
<clever> Orbstheorem: *looks*
<infinisil> Not sure if that's anything nixpkgs-specific
<infinisil> Works for any nix derivation
<clever> > "${hello}"
<{^_^}> "/nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10"
<joko> adisbladis: I was thinking more like buildFHSUserEnv, I'm running gradle tasks which download extra binaries in the build directory, which I don't have the luxury to patch them one by one
<clever> $ nix path-info --store https://cache.nixos.org /nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10 --closure-size
<clever> /nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10 28352728
<clever> Orbstheorem: like this?
<clever> $ nix path-info --store https://cache.nixos.org /nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10 --json
<clever> Orbstheorem: or this?
<clever> [{"path":"/nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10","narHash":"sha256:0nllg4fgsl8l4bhh8yblgklwvaprblza77vdyck3ps92ib39mb87","narSize":205720,"references":["/nix/store/3qsyp7mplpmhm14wwnkg8w03bnw75cmn-hello-2.10","/nix/store/iykxb0bmfjmi7s53kfg6pjbfpd8jmza6-glibc-2.27"],"deriver":"/nix/store/3s8v7cs68wss5y0bkvhdjjnc3pqfqnmm-hello-2.10.drv","signatures":["cache.nixos.org-1:BhtKyqsI+Z3+vIcBgKnTSL9qx3pMx0a6tKksDR4Nwf9dt/lh7wGGVCYaIFS490FOvdMyUF8p
<clever> hmmm, --json doesnt include the deps
<adisbladis> joko: Ohh, wait a minute
<joko> adisbladis: ah sorry, it's indeed buildFHSUserEnv, thanks :D
<joko> The link you posted has it
<adisbladis> I have an old shell.nix to build gradle in (android)
<joko> oh, that could come in handy, thanks in advance!
<evanjs> clever: wouldn't -r work there?
magnetophon has joined #nixos
<adisbladis> joko: http://ix.io/1wqL/nix
ThatDocsLady has quit [Quit: Leaving]
<adisbladis> It's a total hack but works
<clever> evanjs: hmm, that makes the json a list of all deps, but --closure-size totals them for you
<evanjs> clever: ahhh I'm so used to just using -rsSh. That makes sense.
<{^_^}> [nixpkgs] @vbgl opened pull request #65382 → ocamlPackages.merlin_extend-0.3 -> merlin-extend-0.4 → https://git.io/fjDhF
<adisbladis> joko: I went through some pains not to use buildFHSUserEnv
<adisbladis> I can't seem to remember why though...
<adisbladis> Oh, I wanted to use the env with direnv, and that doesn't work with FHS envs
orbekk has joined #nixos
<joko> Seems cool, let's see if I can separate the downloading tasks and patch the binaries before running them
srid6390803 has quit [Ping timeout: 246 seconds]
<adisbladis> joko: That's why I'm doing `gradle --no-daemon tasks > /dev/null` ;)
<adisbladis> Listing tasks triggers downloading
bakakuna has quit [Quit: bakakuna]
chaoflow has joined #nixos
jojo88 has quit [Quit: Leaving.]
<yorick> hey, does ghcjs not build anymore on master?
bakakuna has joined #nixos
magnetophon has quit [Ping timeout: 248 seconds]
eagle2com has quit [Ping timeout: 245 seconds]
srid6390803 has joined #nixos
<{^_^}> ghcjs/ghcjs#751 (by dmjio, 9 weeks ago, closed): Not in scope: type variable 'a'
vmandela has joined #nixos
dftxbs3e has quit [Ping timeout: 264 seconds]
bakakuna has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jdanekrh opened pull request #65383 → jetbrains.*: 2019.1.3 -> 2019.2 (mostly); jetbrainsjdk: 11.0.2b164 -> 11.0.3b360.2 → https://git.io/fjDjs
<infinisil> Orbstheorem: Oh neat, didn't think about changing it to a remote store
<infinisil> clever: I meant to ping yuo
<infinisil> clever: Isn't the references field the deps
judson has joined #nixos
webster23 has joined #nixos
<clever> infinisil: yeah, but you have to chase them down yourself, when --closure-size automates it already
<infinisil> Ah
<yorick> how do I override the packages used to compile ghcjs86?
<{^_^}> [nixpkgs] @AtkinsChang closed pull request #63762 → rust: fix rust build-support debug build type → https://git.io/fjrnl
<{^_^}> [nixpkgs] @averelld opened pull request #65384 → plex: 1.16.2.1321 -> 1.16.3.1402 → https://git.io/fjDjR
chaoflow has quit [Ping timeout: 264 seconds]
fusion809 has quit [Remote host closed the connection]
<matthuszagh> since adding a large binary package to my configuration.nix, nixos-rebuild switch takes a long time. each time I see: "warning: dumping very large path (> 256 MiB); this may run out of memory", which seems to cause the hold up. the binary package does not change. is there any way around this slowdown?
chaoflow has joined #nixos
<clever> matthuszagh: use pkgs.requireFile
magnetophon has joined #nixos
<matthuszagh> clever: do I set that to the same value as src? i.e. the tar.gz?
<clever> matthuszagh: yeah, src = pkgs.requireFile { name = "something"; sha256 = "something"; }
<clever> matthuszagh: more examples in nixpkgs
<matthuszagh> clever: thanks
rsa has joined #nixos
<infinisil> matthuszagh: Actually probably `builtins.fetchurl { url = file:///path/to/file; sha256 = "..."; }` would be better for this case
<pingveno> I'm trying to use virtualenv to install a Python package that includes Pillow as a dependency.
<pingveno> Pillow requires zlib, but it's unable to find it.
<matthuszagh> infinisil: oh ok. is it always better to use fetchurl for local sources than src = path? or just for binaries?
<clever> matthuszagh: if you do src = ./file; it will need to hash the entire file on every single eval
<pingveno> Adjusted for Python 3.7. No luck.
<infinisil> ^^ Which is okay if the file/folder often changes, e.g. you're developing with it
<adisbladis> pingveno: You're gonna need some extra derivations in your shell (pillow depends on native libraries)
<adisbladis> pingveno: pkgconfig freetype libjpeg zlib libtiff libwebp tcl lcms2
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/173a5408d2a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orthros has joined #nixos
<aleph-> Huh caused a kernel panic while setting up a new machine
<aleph-> Neat
<wrl> aleph-: 5.2 has been really sketchy for me
<matthuszagh> infinisil: now i'm getting a curl error that it can't download this from any mirror even though it's available locally
<aleph-> wrl: Oh hey!
<wrl> !
<aleph-> wrl: Yeah I did get an issue with my memory alignment not being correct
<aleph-> Maybe that caused it
<wrl> i've just had weird like... usb issues
<aleph-> Or helped.
<wrl> some weird xorg stuff
<wrl> idk
<aleph-> Fun
<pingveno> adisbladis: The default.nix I linked to includes those in buildInputs. I think there's a chance this is a Pillow-specific thing. It has a lot of weirdness in its setup.py.
<wrl> yeah
<aleph-> Just trying to set up a small headless server
<pingveno> Or at least it included zlib. Not sure about the others.
<infinisil> matthuszagh: Does it not output a sha256 to use?
<{^_^}> [nixpkgs] @AtkinsChang opened pull request #65385 → buildRustPackage: avoid appending to source code's cargo config → https://git.io/fjDjX
<infinisil> matthuszagh: This is with builtins.fetchurl { url = file:///path/to/file; sha256 = "000000.."; }?
<aleph-> Eh I can fiddle with it in a bit.
<matthuszagh> infinisil: yeah that's what i did, gave it an initial sha of all 0s to find the right sha
<matthuszagh> src = fetchurl { url = file:///home/matt/src/Xilinx_Vivado_SDK_2017.2_0616_1.tar.gz; sha256 = "0000000000000000000000000000000000000000000000000000"; };
<yorick> https://gist.github.com/yorickvP/d6195b73ffbace845c3b9dca300b9592 does this look like the correct override to you guys?
<yorick> pie_: ^
<pingveno> Ah, pkgconfig was the missing piece of the puzzle.
<pie_> yorick: sorry i dont know about haskell (yet?)
<infinisil> matthuszagh: Hmm.. well maybe using clever's initial suggestion of using pkgs.requireFile might be better for now since this doesn't seem to work
<infinisil> And it also makes more sense to use pkgs.requireFile if you intend to distribute this nix expression
<infinisil> matthuszagh: Can you paste the error you get with builtins.fetchurl?
qqlq has joined #nixos
<matthuszagh> trying file:///home/matt/src/Xilinx_Vivado_SDK_2017.2_0616_1.tar.gz
<matthuszagh> error: cannot download Xilinx_Vivado_SDK_2017.2_0616_1.tar.gz from any mirror
<matthuszagh> curl: (37) Couldn't open file /home/matt/src/Xilinx_Vivado_SDK_2017.2_0616_1.tar.gz
magnetophon has quit [Ping timeout: 246 seconds]
<infinisil> matthuszagh: Ohh, you're not using builtins.fetchurl
<infinisil> You're using pkgs.fetchurl
<infinisil> It won't work with that
runciter has joined #nixos
<matthuszagh> infinisil: hm now i get error: out of memory
<yorick> pie_: seems to be working
<ajs124> matthuszagh: I have a fhsenv for vivado somewhere, if you don't have one already. I couldn't manage to get the hwserver to run, though.
orthros has quit [Ping timeout: 260 seconds]
<ajs124> So synthesis, simulation, implementation and bitstream generation will work, but you probably won't be able to program your fpga.
<infinisil> matthuszagh: Ah darn, okay just use pkgs.requireFile then
magnetophon has joined #nixos
linarcx has joined #nixos
<runciter> i'm using the nix package manager on another distribution. i've done `nix-env -i git`, but clones fail because libkeyutils can't be found, e.g. "/nix/store/<hash>/.../git-remote-https: error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: No such file or directory"
<runciter> what did i do wrong?
<runciter> LD_DEBUG=all tells me that libgssapi_krb5 wants libkeyutils, and that `git-remote-https` fails to find libkeyutils in promising looking places like `/nix/store/<hash>-keyutils-1.6/lib/libkeyutils.so.1`, but that's a dangling symlink
<matthuszagh> ajs124: i've got something for vivado but i'm not sure it'll work.. would you mind sending me what you have? shame about hw_server... have you figured any workarounds, or for the time being you can only program the fpga from a different distro?
<matthuszagh> infinisil: i'll try that. side not, i was able to avoid the memory error by using the lessram pr for nix. that doesn't seem to work for builtins.fetchurl though
<{^_^}> [nixpkgs] @edolstra merged pull request #65083 → lib: allow sourceByRegex to be composed after cleanSourceWith → https://git.io/fjMTM
<pie_> yorick: yay
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjyeL
<ajs124> matthuszagh: my workaround was using windows. my buildFHSUserEnv basically boils down to "multiPkgs = p: with p.xorg; [ libXext libX11 libXrender libXtst libXi ] ++ [ gcc glibc.dev libstdcxx5 ncurses5 minicom strace ];"
<{^_^}> [nixpkgs] @Gerschtli closed pull request #54263 → gitAndTools.overcommit: init at 0.46.0 → https://git.io/fhRk5
<infinisil> matthuszagh: you got a different error instead?
<matthuszagh> infinisil: nope the same one: "error: out of memory"
<infinisil> matthuszagh: Buut you just said you were able to avoid that error?
<matthuszagh> infinisil: i can when i use src as a local directory, but apparently not with fetchurl
<infinisil> You got a memory error when you just used src = /home/...?
<infinisil> Because you originally just said that took a long time
<matthuszagh> i did before the experimental pr (binary is huge, like 20GB)
<infinisil> Ah
<matthuszagh> experimental pr fixed the error, but still took a long time each rebuild. does that make sense?
<matthuszagh> ajs124: gotcha thanks. hopefully i can get the whole thing working without resorting to another distro or windows etc. by the way, what's the policy for contributing packages that require a manual download first? can those be contributed to nixpkgs?
<infinisil> I think
<ajs124> they definitely exist. e.g. displaylink and citrix receiver are in there.
<matthuszagh> well i imagine it makes a whole lot more sense to you than it does it me :). gonna try with requireFile now and will report back
<matthuszagh> ajs124: cool, if i get it working i'll contribute it back then
chessai has joined #nixos
chloekek has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
chaoflow has quit [Ping timeout: 250 seconds]
<matthuszagh> clever: infinisil: requireFile works! thanks
___laika has joined #nixos
jabranham has quit [Ping timeout: 258 seconds]
nst^ has quit []
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #65386 → prometheus-varnish-exporter: 1.4 -> 1.5 → https://git.io/fjyeV
tsrt^ has joined #nixos
magnetophon has quit [Ping timeout: 248 seconds]
shomodj has joined #nixos
vmandela has quit [Quit: Leaving]
stepcut has quit [Remote host closed the connection]
<pie_> elvishjerricco: apparently you can downgrade luks https://cryptsetup-team.pages.debian.net/cryptsetup/encrypted-boot.html see section 2.2.1
<evanjs> Figured the oh-my-zsh issue thing out. The system option for enabling oh-my-zsh works fine, but home-manager's oh-my-zsh.enable doesn't seem to load nix-zsh-completions properly (and requires a call to compinit, etc)
logzet has joined #nixos
srid6390803 has quit [Ping timeout: 272 seconds]
drk_lrd_877_ has joined #nixos
davidak has joined #nixos
Shoubit has quit [Ping timeout: 245 seconds]
___laika has quit [Quit: WeeChat 2.4]
matthuszagh has quit [Remote host closed the connection]
englishm has quit [Excess Flood]
englishm has joined #nixos
ddellacosta has joined #nixos
orbekk has quit [Quit: WeeChat 2.4]
<ashkitten> hm, i haven't been able to get boot.grub.memtest86.enable to work properly. the option appears, but if i choose it in grub i just get the grub background frozen
morgib has joined #nixos
fragamus has joined #nixos
<clever> ashkitten: legacy or efi?
<ashkitten> efi
<clever> ashkitten: i dont think memtest works on efi currently
<ashkitten> oh
srid6390803 has joined #nixos
<ashkitten> i guess i'll drop the memtest86+ efi stub in there manually then
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
eagle2com has joined #nixos
evanjs has quit [Quit: WeeChat 2.5]
sellout- has joined #nixos
Yaniel has quit [Ping timeout: 245 seconds]
Chiliparrot has joined #nixos
magnetophon has joined #nixos
wildtrees has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
<runciter> if something i've installed from the binary caches fails because it can't find a library, does that mean the binary is broken?
linarcx has quit [Client Quit]
<infinisil> Is the Nix store readonly on non-NixOS linuxes?
<infinisil> I hope it is
orbekk has joined #nixos
chessai has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tonic1 has quit [Ping timeout: 276 seconds]
magnetophon has quit [Ping timeout: 245 seconds]
___laika has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
adelbertc has joined #nixos
orbekk has quit [Client Quit]
orbekk has joined #nixos
<infinisil> I think it might not be..
<cransom> it would depend on single/multi user, no?
<adelbertc> has anyone experienced strange issues with `buildRustPackage`? I am getting a `no matching package named `getrandom_package` found (required by `rand`)` error but looking at my `Cargo.lock` file I am using `rand 0.6.5` which does not mention a `getrandom_package`
<{^_^}> [nixpkgs] @bjornfor merged pull request #65328 → tmuxPlugins.tmux-colors-solarized: init tmux plugin → https://git.io/fjDgd
<{^_^}> [nixpkgs] @bjornfor pushed commit from @NickHu to master « tmuxPlugins.tmux-colors-solarized: init tmux plugin »: https://git.io/fjyvX
<infinisil> cransom: I looked at the installation scripts, but it didn't find any reference to read-only
<LnL> it is, but nothing prevents privileged stuff to write anyway
<infinisil> LnL: I mean, if it's mounted readonly even sudo users can't write stuff to it, unless they mount it read-write of course
<LnL> no bind mounts
<infinisil> How does that work? I can't find any reference to "mount" either in nix's install scripts
<LnL> it's in nixos
eagle2com has quit [Ping timeout: 245 seconds]
<infinisil> I'm asking about non-NixOS systems
magnetophon has joined #nixos
<LnL> yeah, the installer doesn't setup any bind mounts
<infinisil> LnL: So on non-NixOS, /nix/store is *not* mounted read-only?
<LnL> no
<LnL> hence privileged stuff can write if it ignores the permission bit
<infinisil> I see
<LnL> not sure how hard that would be for all/most distros
<infinisil> Oh right you can't just create new partitions or so
<LnL> nixos doesn't do that
DivanSantana[m] has joined #nixos
<infinisil> Oh true
<LnL> it's just a bind mount afaik
* infinisil goes to look
<infinisil> Ah right I just looked earlier actually
<infinisil> Follow the readOnlyStore
magnetophon has quit [Ping timeout: 245 seconds]
<LnL> eg. /nix rw, /nix/store ro, /nix/store/whatever rw
gagbo has joined #nixos
<infinisil> Oh a bind remount
<LnL> and I assume nix will create the last dynamically while building stuff
<exarkun> if I think I have a corrupt package in /nix/store what's the best course of action?
<LnL> if it's in the cache you can ask nix to repair it
Yaniel has joined #nixos
<exarkun> Okay that sounds good. There's no "nix repair" though. How do I do that?
<LnL> nix-store --repair-path? don't remember exactly
__monty__ has joined #nixos
<exarkun> Ah indeed, great. Thank you.
DanSvoboda has joined #nixos
DanSvoboda has quit [Client Quit]
<alienpirate5> how do I forcibly disable zfs?
<exarkun> Should I expect a system crash, network interruption, or other local problems to result in corrupted (eg partially written) /nix/store contents? Or is this something particularly weird to encounter?
davidak has quit [Quit: Leaving]
<alienpirate5> i don't want it to get built or anything
ddellacosta has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
ris has joined #nixos
<{^_^}> [nixpkgs] @eraserhd opened pull request #65388 → tmux-ctrlw: init at 0.1.0 → https://git.io/fjyfU
alex`` has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.google_api_python_client: 1.7.9 -> 1.7.10 »: https://git.io/fjyfm
<exarkun> alienpirate5: You could `nix-store --query --referrers ...` the zfs package you don't want and see what depends on it, then turn that off
<alienpirate5> I'm cross-compiling a system image for a Raspberry Pi
<exarkun> Okay. So you don't have it yet to query against.
<alienpirate5> yes
<exarkun> There's `nix why-depends` which might help?
<alienpirate5> i don't know how i would invoke it
<tilpner> alienpirate5: Which expression are you using? Do you have supportedFilesystems set somewhere?
<alienpirate5> When I manually set it using mkForce, it gives inexplicable errors on boot
<alienpirate5> can't find /proc/cmdline
<tilpner> Set what? To what?
<alienpirate5> boot.supportedFilesystems = lib.mkForce [ "fat" "btrfs" "ext4" ];
<tilpner> Mine also has vfat (and cifs)
<tilpner> But my system is also not a pi
pjan has joined #nixos
zupo has joined #nixos
inquisitiv3 has joined #nixos
zupo_ has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1d9d31a0eb8 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<inquisitiv3> How do I set DNS for WireGuard? I can't find any options when I search on the website.
zupo has quit [Ping timeout: 268 seconds]
magnetophon has joined #nixos
adamt has joined #nixos
adamt has joined #nixos
adamt has quit [Changing host]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joehh has joined #nixos
Okinan has joined #nixos
tonic1 has joined #nixos
joehh has quit [Ping timeout: 245 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<___laika> what is the difference between a set of package derivations for a language, say `langPackages`, and `pkgs.recurseIntoAttrs langPackages`? im trying to see what benefit it brings in this post https://blog.jethro.dev/blog/ocaml_with_nix/
<{^_^}> [nixpkgs] @mattmelling opened pull request #65390 → screamingfrogseospider: init at 11.0 → https://git.io/fjyf7
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52859 → cmake: use multiple outputs for GNUInstallDirs → https://git.io/fhTex
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjyfd
troydm has joined #nixos
<clever> ___laika: i think recurseIntoAttrs specially marks it so `nix-env -i` can search that whole set
<clever> ,-A ___laika
<{^_^}> ___laika: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<clever> and recurseIntoAttrs then makes -i even slower :P
<worldofpeace> eyJhb: looking now :)
<eyJhb> Great :)
<___laika> that makes sense to me, but im having a hard time seeing the difference it makes in the setup for the blog post i mentioned. will recurseIntoAttrs make a big difference for the purposes of nix-shell?
srid6390803 has quit [Ping timeout: 272 seconds]
<clever> ___laika: no difference for nix-shell
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64987 → rocksdb: Remove gflags dependency → https://git.io/fj1lp
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjyfx
<___laika> ok, thats helpful. just to be sure ive got it, the only place recurseIntoAttrs is particularly useful is in expressions that reside in nixpkgs, for consumption by nix-env commands?
<clever> ___laika: pretty much
<tilpner> ___laika: recurseIntoAttrs will set recurseForDerivations. release-lib.nix also pays attention to the presence and value of that key, so it can affect CI with e.g. Hydra
<___laika> ahh
<___laika> clever++
<{^_^}> clever's karma got increased to 160
<___laika> tilpner++
<{^_^}> tilpner's karma got increased to 31
DivanSantana[m] is now known as DivanSantana[m]1
<{^_^}> [nixpkgs] @tesq0 opened pull request #65391 → Unity merge request → https://git.io/fjyJT
<{^_^}> [systemd] @abbradar opened pull request #30 → Additional paths to look for executables for systemd-sleep and systemd-shutdown → https://git.io/fjyJI
fragamus has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #65358 → kitty: fix wayland support (EGL: Library not found error) on swaywm → https://git.io/fjD1b
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjyJq
xkapastel has joined #nixos
<{^_^}> [hydra] @nlewo opened pull request #664 → hydra-server: jobsets api endpoint returns more elements → https://git.io/fjyJs
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64989 → pythonPackages.rotate-backups: init at 6.0 → https://git.io/fj1Bb
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to master: https://git.io/fjyJG
hmpffff_ has quit [Quit: nchrrrr…]
<ashkitten> i'm getting build failures for xdg-desktop-portal due to some kind of test failing. relevant log: https://gist.github.com/ashkitten/78272900fbf68cf7c503be1317d01893
<worldofpeace> ashkitten: looking into it
mexisme has joined #nixos
<ashkitten> oh, it's a new bug?
<worldofpeace> Ikn, I just saw your message and was "oh" :)
<worldofpeace> anything else you could share?
<craige[m]> gchristensen ?
<ashkitten> worldofpeace: anything else that'd be useful?
<gchristensen> craige[m]: sorry, highlighted the wrong person :)
<worldofpeace> ashkitten: nixpkgs revision
<craige[m]> Ah :-)
zupo has joined #nixos
<ashkitten> worldofpeace: nixos-unstable (b5f5c97f7d6)
<worldofpeace> ashkitten: great, very recent as of yesterday
<ashkitten> the bug is?
<worldofpeace> no your nixpkgs
<ashkitten> ah
<andrewrk> what can I do to get this wifi working? https://clbin.com/vNIt3
<andrewrk> "Direct firmware load for iwlwifi-cc-a0-40.ucode failed with error -2"
<andrewrk> according to https://bbs.archlinux.org/viewtopic.php?id=247705 they have it working for my laptop
<worldofpeace> ashkitten: here's my test results when i build it locally on master with `--check` https://gist.github.com/worldofpeace/ef6731f7e8bdeb57b9bd7969a42642e0
zupo_ has quit [Ping timeout: 245 seconds]
<worldofpeace> ashkitten: so maybe it's a transient failure. IIRC those glib tests always been flaky
<ashkitten> worldofpeace: if it has anything to do with rdrand, my cpu is ryzen 3000 and has a related bug
noudle has joined #nixos
<worldofpeace> ashkitten: huh, I looks like it's running a test that should be skipped because it needs fuse maybe
<ashkitten> oh, weird
<{^_^}> [nixpkgs] @bjornfor merged pull request #65388 → tmux-ctrlw: init at 0.1.0 → https://git.io/fjyfU
<{^_^}> [nixpkgs] @bjornfor pushed commit from @eraserhd to master « tmux-ctrlw: init at 0.1.0 »: https://git.io/fjyJz
<{^_^}> [nixpkgs] @primeos opened pull request #65392 → scons: 3.0.5 -> 3.1.0 → https://git.io/fjyJ2
<ashkitten> this cropped up recently so i'll bisect it in a bit
<ashkitten> my first git bisect :)
ddellacosta has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
<aleph-> Alright think I found my boot issue
<worldofpeace> huh, maybe the tests are impure. can you test the latest in this PR if possible #65291 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65291 (by worldofpeace, 2 days ago, open): Flatpak updates
<aleph-> Seems my little box can't find it's init...
<aleph-> That's odd?
<ashkitten> worldofpeace: indeed tests appear to be impure
ehmry has left #nixos ["bbl"]
ddellacosta has quit [Ping timeout: 258 seconds]
<ashkitten> it failed even on channel:nixos-19.03
<ashkitten> worldofpeace: with your patch it gives: error: some outputs of '/nix/store/a300iy3jqd6pdp6z1i17pfzvy5g36x7f-xdg-desktop-portal-1.4.2.drv' are not valid, so checking is not possible
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<worldofpeace> ashkitten: probably can't use `--check` for that one
<worldofpeace> though I'm confused why it builds for me and just fetches from cache.nixos.org
<ashkitten> it no longer has tests, then?
<ashkitten> i had to patch systemd which is why i'm rebuilding so many things
<ashkitten> good way to find impurities, i suppose
<worldofpeace> ashkitten: this is what check does https://nixos.org/nix/manual/#synopsis-15
<worldofpeace> "This option allows you to check whether a
<worldofpeace> derivation is deterministic. "
<ashkitten> oh, i see
<ashkitten> so the reason it was failing was because it had to actually rebuild it
adamt has quit [Quit: WeeChat 2.4]
<ashkitten> for some reason i thought it had to do with tests
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
<ashkitten> worldofpeace: with your patch it still fails
<worldofpeace> ashkitten: so it's probably impure. I should be able to run a nix-build within a nixos test to see for sure
alex`` has quit [Ping timeout: 258 seconds]
logzet has quit [Ping timeout: 245 seconds]
Drakonis has joined #nixos
<worldofpeace> wait i think that's impossible
<worldofpeace> ok checked and it does fail for me in a pure enviroment
<ashkitten> ok perfect, it's reproducible!
<colemickens> Going to start trying to use mesa HEAD with iris as hardware.opengl.package with stable mesa from nixpkgs everywhere else. wish me luck
<worldofpeace> colemickens: I've been doing that since yesterday
<ashkitten> nix-top is so great
<worldofpeace> VA-API is literally broken for me
<colemickens> worldofpeace, ha, is it to get mpv and vaapi workig
<colemickens> <3
<worldofpeace> maybe backporting patches would be better
<worldofpeace> ashkitten: I think I'm going to push to master and stable disabling them. we already have a nixos test so I think it's fine
knupfer has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #65393 → Revert "unzip: CVE-2019-13232" → https://git.io/fjyJQ
<ashkitten> i should probably backport the patches to add ryzen 3xxx pci ids to kernel and k10temp, but i decided to just apply them cleanly to linux-latest
<ashkitten> wish me luck tbh
<ashkitten> worldofpeace: sounds good
MmeQuignon has quit [Remote host closed the connection]
MmeQuignon has joined #nixos
srid6390803 has joined #nixos
shomodj has left #nixos ["Textual IRC Client: www.textualapp.com"]
bakakuna has joined #nixos
bakakuna has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @0x4A6F opened pull request #65394 → egalaxtouch: init at 2.5.7413 → https://git.io/fjyJA
<aleph-> Question when I create a temp service, where would I place it to be able to call it in my nix config?
bakakuna has joined #nixos
<aleph-> Oh wait seems there is an option for jellyfin already. Neat
<{^_^}> [docker] @hauleth opened pull request #8 → Set content of nsswitch.conf file → https://git.io/fjyJh
<colemickens> ugh, libva itself is out of date too, worldofpeace
<colemickens> I can send a pr for that though
MmeQuignon has quit [Ping timeout: 248 seconds]
liberiga has joined #nixos
<colemickens> oh god that's going to rebuild a lot though
MmeQuignon has joined #nixos
sellout- has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @colemickens opened pull request #65395 → libva: v2.4.1 -> v2.5.0 → https://git.io/fjyUf
<averell> what is the preferred style of adding review fixes? add fixups commits, or amend / force push yourself? what about rebasing on master?
<ashkitten> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 25
<Thra11> How can I get nix to fetch and unpack the sources required to build a derivation, then stop so I can study them? Is it possible to e.g do that but stop post-patch phase instead?
<colemickens> I'll send one for mesa to 19.1.3 too
ng0 has quit [Quit: Alexa, when is the end of world?]
<worldofpeace> sounds good colemickens. do you discern that the libva bump should dissapate the issues with it and iris?
<worldofpeace> (at least when using mesa on master)
<averell> Thra11: nix-shell -p <package> and then you can manually call the phases such as unpackPhase
jaykru has joined #nixos
<worldofpeace> averell: It really depends on your reviewer
<worldofpeace> averell: but in general, whatever allows the reviewer see the changes you've made in response to them.
<colemickens> worldofpeace: I have no reason to suspect that bumping libva will help. On the other hand, I have good reason to suspect bumping mesa and/or the iris driver will: https://bugzilla.freedesktop.org/show_bug.cgi?id=110666#c8
<worldofpeace> colemickens: lol, I've read the same issue. I now get a segfault with master
<andrewrk> what's the "nixos way" to try this suggestion from https://bbs.archlinux.org/viewtopic.php?pid=1854726#p1854726 which is to remove the wrong firmware version?
<Thra11> averell: What form does <package> take here? nix-shell -p <package> normally just bring the built package outputs into scope for use?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Thra11> *Doesn't nix-shell...
tonic1 has quit [Ping timeout: 250 seconds]
virus_dave has quit [Quit: virus_dave]
Guest70275 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @mattmelling closed pull request #65390 → screamingfrogseospider: init at 11.0 → https://git.io/fjyf7
<samueldr> andrewrk: through an overlay, create a symlink forest or copy the files from the firmwares build, rm'ing what's unneeded
<samueldr> that's, I think, the most forward thinking way
<andrewrk> samueldr, I wasn't even able to find a *.ucode file with `find / -name "*.ucode"`
<samueldr> otherwise you could copy the derivation, fix it there, callPackage in an overlay
<andrewrk> I've been grepping through nixpkgs trying to see how this works
<andrewrk> do you know what the relevant derivation nix file path is?
<samueldr> andrewrk: and it does load the firmware, in dmesg?
<{^_^}> [nixpkgs] @vcunat pushed 46 commits to staging-next: https://git.io/fjyUR
<andrewrk> samueldr, here's the relevant dmesg output: https://clbin.com/WPng2
Thra11 has quit [Ping timeout: 268 seconds]
<averell> Thra11: do man nix-shell and look at the first one in the Examples section, it's probably excactly what you want.
<andrewrk> samueldr, according to that arch linux forum, to try the suggestion, I would want to disable firmware version 48 so that it tries the next oldest version
bakakuna has quit [Ping timeout: 245 seconds]
MmeQuignon has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
abathur has joined #nixos
KarlJoad has joined #nixos
jaykru` has joined #nixos
<colemickens> worldofpeace: surely some of the problem could come from trying to use the iris driver at a newer version with a mesa at a different rev? maybe?
mexisme has joined #nixos
<andrewrk> I'm trying this: postInstall = "rm $out/lib/firmware/iwlwifi-cc-a0-48.ucode"; and then nixos-rebuild switch -I nixpkgs=/home/andy/dev/nixpkgs
<jaykru`> anybody here know much about the cross compilation scheme set up in nixpkgs? I'm trying to add a new system for riscv64 embedded systems, with the LLVM triple being riscv64-none-elf and the libc being newlib.
jaykru has quit [Ping timeout: 245 seconds]
adelbertc has quit [Quit: Connection closed for inactivity]
<andrewrk> hmm, that didn't prevent the kernel from finding version 48 still
<{^_^}> [nixpkgs] @colemickens opened pull request #65396 → mesa: v19.1.1 -> v19.1.3 → https://git.io/fjyUM
rprije has joined #nixos
joehh has joined #nixos
mkoenig has joined #nixos
<andrewrk> is this the correct command to use nixpkgs source as the channel? sudo nixos-rebuild switch -I nixpkgs=/home/andy/dev/nixpkgs
<andrewrk> my postInstall script didn't seem to get picked up
Yakulu has left #nixos ["Error from remote client"]
<colemickens> ugh, what even is libva-vdpau
<worldofpeace> colemickens: that's possible, but you know, so many cpu cycles to find out :P
<andrewrk> does "dontFixup = true;" prevent postInstall scripts from running?
<colemickens> seriously, though, what? libva-vdpau looks like it hasn't been touched in years? and gentoo is patching it to keep it building? grumble.
troydm has quit [Ping timeout: 246 seconds]
KarlJoad has quit [Ping timeout: 268 seconds]
troydm has joined #nixos
<worldofpeace> i really wish they switched those things to use a pronounceable name.
__monty__ has quit [Quit: leaving]
<andrewrk> ok yeah this is weird, I did `nix-build . -A firmwareLinuxNonfree` and it didn't seem to run my postInstall script of rm $out/lib/firmware/iwlwifi-cc-a0-48.ucode
dansho has joined #nixos
KarlJoad has joined #nixos
o1lo01ol1o has joined #nixos
erasmas has quit [Quit: leaving]
<worldofpeace> colemickens: looks like fedora uses a patchset too https://src.fedoraproject.org/rpms/libva-vdpau-driver/tree/master
<andrewrk> I put nonsense in postInstall and the build succeeded
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<andrewrk> none of the pre- or post- scripts that I put in there are getting run
<andrewrk> why doesn't this do anything? postInstall = "aoeuaoeuaoeu";
<clever> andrewrk: can you pastebin the full nix expr?
<andrewrk> clever, https://clbin.com/BbBfL
<andrewrk> this is 19.09.git.b5f5c97 (Loris) + the postInstall addition
<clever> andrewrk: if the outputHash is uncchanged, nix will never re-run the derivation
<clever> andrewrk: you likely want to remove it entirely
<andrewrk> oh I thought the output hash was being computed based on postInstall scripts and such
<andrewrk> but I guess this nix expr is overriding it for some reason?
<clever> andrewrk: outputHash is a promise to nix, that the output will always have the given hash
<clever> andrewrk: and if an output with that hash exists, it wont bother running the rest of the drv to make it
<andrewrk> I see, thanks
webster23 has quit [Ping timeout: 250 seconds]
noudle has quit []
doyougnu has joined #nixos
KarlJoad has quit [Quit: Konversation terminated!]
knupfer has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<slabity> Updated my system today and now thunderbird won't start and firefox won't allow uploading files. Libreoffice is failing too. Did something major change in unstable/master?
<gchristensen> wow, you might try rebooting?
veske has joined #nixos
doyougnu has quit [Ping timeout: 248 seconds]
<slabity> gchristensen: Yea, I did. Reverting to my previous profile fixed the issue, but my most recent profile always has those issues.
<slabity> For some reason thunderbird and libreoffice just seg-faults, so no useful error information either :/
<wildtrees> that sounds pretty broken
<slabity> Strange thing is that those apps aren't even on my system-profile. Just my user environment
<gchristensen> ouch.
<maralorn> slabity: So maybe bump both? system-profile und user environment?
<slabity> Firefox's file error is `No such interface “org.freedesktop.portal.FileChooser”` which brings up a lot of results in google that say to install xdg-desktop-portal... But that is already running
<slabity> I've tried updating thunderbird and firefox and it didn't seem to work
<samueldr> yes, there was a new change
gagbo has quit [Ping timeout: 272 seconds]
<samueldr> portals were enabled
hio has quit [Quit: Connection closed for inactivity]
<samueldr> cc worldofpeace
<maralorn> Hm, so slabity. I am not skilled enough to help you. But I can ensure you, you are not alone with your bug. The complaint came up at least twice today already.
<samueldr> I don't personally know what it means, especially with regards to system/user profiles "mismatch"
<samueldr> (if any mismatch)
<slabity> Okay. As long as it's a known issue. I can easily revert profiles until it's fixed
<slabity> Let me know if there's any information I can provide that can help debug
<averell> libreoffice is also known, there's #65289
<{^_^}> https://github.com/NixOS/nixpkgs/issues/65289 (by srhb, 2 days ago, open): nixpkgs.libreoffice build broken on master/unstable
joehh has quit [Ping timeout: 272 seconds]
<slabity> Looks like a lot of builds are broken on my machine: `riot-desktop` `virt-manager` `freecad` `evince` `libreoffice` and `wireshark-qt` all included
MmeQuignon has quit [Ping timeout: 245 seconds]
doyougnu has joined #nixos
doyougnu has quit [Client Quit]
MmeQuignon has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mmilata opened pull request #65397 → sympa: init at 6.2.44 + NixOS module → https://git.io/fjyTi
<gchristensen> anyone know if github user jollheef has ever been on IRC?
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
MmeQuignon has quit [Ping timeout: 258 seconds]
jaykru` has quit [Quit: ERC (IRC client for Emacs 26.1)]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matthuszagh has joined #nixos
liberiga has joined #nixos
<colemickens> riot-desktop, virt-manager, evince are working for me on nixos-unstable
<colemickens> oh, I missed the bit about portals
<colemickens> but all the same
<matthuszagh> does nixpkgs have support for downloading octave packages (e.g. signal, etc.)? i didn't see anything, but wanted to make sure before working on it myself
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Soo_Slow has joined #nixos
ris has quit [Ping timeout: 248 seconds]
<worldofpeace> I don't know why firefox expects there to be an implementation of the filechooser interface to exist if xdg-desktop-portal is there
kvda has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<worldofpeace> slabity: I can't reproduce thunderbird not starting
<slabity> thunderbird 60.8.0 - Correct?
selfsymmetric-mu has quit [Remote host closed the connection]
<worldofpeace> /nix/store/yi9sfnk27ff98fdfs7f9qls9j46zya0q-thunderbird-60.8.0
<slabity> Looking at stdout it may be caused by the exquilla extension and my exchange server
<worldofpeace> idk why this happens with firefox, I'd expect their filechooser to to use it only when org.freedesktop.portal.FileChooser portal is available on the session bus to call the out of process file-chooser. is anyone familar with traversing firefox source code?
Soo_Slow has quit [Remote host closed the connection]
veske has quit [Read error: Connection reset by peer]
wildtrees has quit [Quit: Leaving]