gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
ericsagnes has quit [Ping timeout: 260 seconds]
FunkyBob has joined #nixos
<FunkyBob> kandinski: o/
<infinisil> Who wants to see some nix-gore
seanparsons has quit [Read error: Connection reset by peer]
<gchristensen> infinisil: definitely me
<infinisil> Prepare yourself, as I'm about to unleash the beast
slyfox has quit [Ping timeout: 246 seconds]
* gchristensen shrinks back
<infinisil> >r=with lib;with builtins;let p=g: v: if isAttrs v then foldl({g,r}: n: let a=p g v.${n};in{n=a.n;r=r//{${n}=a.r;};}){r={};g=g;}(attrNames v)else if isList v then foldl({g,r}: e: let a=p g e;in{g=a.g;r=r++[a.r];}){r=[];g=g;} v else if isFunction v then let r=v g; in{r=r;g=r;}else{g=g;r=v;}; in v:(p builtins.currentTime v).r;
<{^_^}> error: syntax error, unexpected ';', at (string):8:329
<infinisil> >r=with lib;with builtins;let p=g: v: if isAttrs v then foldl({g,r}: n: let a=p g v.${n};in{n=a.n;r=r//{${n}=a.r;};}){r={};g=g;}(attrNames v)else if isList v then foldl({g,r}: e: let a=p g e;in{g=a.g;r=r++[a.r];}){r=[];g=g;} v else if isFunction v then let r=v g; in{r=r;g=r;}else{g=g;r=v;}; in v:(p builtins.currentTime v).r
<{^_^}> r defined
deepfire has quit [Ping timeout: 260 seconds]
<gchristensen> is that the gore? I can't tell
<infinisil> Now what might this function do you ask yourself
<infinisil> To demonstrate we need this:
<infinisil> > rand = s: lib.mod (1103515245 * s + 12345) 4294967296
<{^_^}> rand defined
slyfox_ has joined #nixos
<infinisil> > builtins.toJSON (r { mynumber = rand; three_randoms = [ rand rand rand ]; mappings = { foo = rand; bar = rand; }; })
<{^_^}> anonymous function at (string):8:65 called without required argument 'g', at /var/lib/nixbot/state/nixpkgs/lib/lists.nix:71:14
<infinisil> Well I'll be damned
thc202 has quit [Ping timeout: 240 seconds]
<infinisil> If you couldn't tell (hah), this is supposed to implement the random monad, to bring random numbers to pure languages!
<gchristensen> I'm not sure this is the best way to demonstrate it :P
<samueldr> uh, reading material about that?
<infinisil> Yeah
deepfire has joined #nixos
<infinisil> brb, trying to find the bug (dynamic languages ftw amirite)
<infinisil> >r=with lib;with builtins;let p=g: v: if isAttrs v then foldl({g,r}: n: let a=p g v.${n};in{g=a.g;r=r//{${n}=a.r;};}){r={};g=g;}(attrNames v)else if isList v then foldl({g,r}: e: let a=p g e;in{g=a.g;r=r++[a.r];}){r=[];g=g;} v else if isFunction v then let r=v g; in{r=r;g=r;}else{g=g;r=v;}; in v:(p builtins.currentTime v).r
<{^_^}> r defined
<infinisil> > builtins.toJSON (r { mynumber = rand; three_randoms = [ rand rand rand ]; mappings = { foo = rand; bar = rand; }; })
<{^_^}> "{\"mappings\":{\"bar\":3994031145,\"foo\":1135821742},\"mynumber\":4169598287,\"three_randoms\":[523601116,913099237,2650008762]}"
<infinisil> There we go!
<infinisil> Well it's a simple implementation of it, it could be extended, but it works :)
jackdk has joined #nixos
<rain1> has anybody experimented with using nix as a replacement for npm?
<neonfuz> is it easy with nixos to run multiple copies of a service with different ports / configs?
<elvishjerricco> rain1: Check out https://github.com/svanderburg/node2nix
<elvishjerricco> neonfuz: I use declarative containers in my nixos config for stuff like that: https://nixos.org/nixos/options.html#containers.
<rain1> thank you
<infinisil> Should I make a PR to add random numbers to the nixpkgs lib? :P
pSub_ has quit [Remote host closed the connection]
Guest62259 has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 246 seconds]
oida has quit [Ping timeout: 255 seconds]
klntsky has quit [Ping timeout: 255 seconds]
dotlambda has quit [Ping timeout: 260 seconds]
phreedom has quit [Ping timeout: 255 seconds]
<neonfuz> thanks
sie has joined #nixos
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
shabius has quit [Quit: Leaving]
sie is now known as Guest98094
dotlambda has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
seanparsons has joined #nixos
phreedom has joined #nixos
oida has joined #nixos
shabius has joined #nixos
klntsky has joined #nixos
<achambe> infinisil: I'm not sure I understand when randomness would be desired in a build process
slyfox_ has quit [Ping timeout: 256 seconds]
<infinisil> achambe: No? Aw.. you could make it such that your nixos system services each get a new random different port each time you rebuild! Isn't that nice? /s
slyfox has joined #nixos
<achambe> lol
<symphorien> Assigning a hourly cron job to a random minute might be legitimate.
<edef> take it from the hash
<tertle||eltret> you shouldsa heard the thunder here last night
acarrico has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jbedo opened pull request #40192 → singularity: add missing file dependency → https://git.io/vpiP5
<judson> clever - sorry for late response: there were 13 profiles. did a full gc clean, got back 1G.
<judson> Trying deploy again now.
jrolfs_ has quit [Ping timeout: 256 seconds]
<elvishjerricco> Is there a nix channel suitable for both nixos and macos?
<samueldr> the nixos channels
<elvishjerricco> samueldr: Is there no advantage on macos to be using the nixpkgs-18.03-darwin channel over the nixos-18.03 channel?
<infinisil> Oh I thought you meant IRC channel
<samueldr> hmm, I was about to reply and then I realized I don't know one detail
<elvishjerricco> infinisil: My bad :P
<samueldr> are there darwin-specific tests in the -darwin channels?
<samueldr> hmmm, and the nixos-* channel could realistically advance while the darwin channels don't
<samueldr> (I think)
<elvishjerricco> Hm. At work we have to pin our nixpkgs down, and we have both linux and macos users. So we kind of need a checkout that's suitable for both.
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<samueldr> ah, if you pin, you could verify beforehand whether that commit ID works for all channels
<elvishjerricco> Yea but that doesn't provide a very seamless upgrade path
<samueldr> when I say "verify if the id works", I meant, if the channels already are farther along, using the nixpkgs-channels repo I can see that this particular ID (current tip of nixos-18.03) is seemingly on all branches (which are channels) https://github.com/NixOS/nixpkgs-channels/commit/2352d46904d7f5ba0b81c2dd3dfb058905f0551e
<samueldr> though, there may be more efficient ways to get the same info!
<elvishjerricco> Well, a commit being on nixpkgs-18.03-darwin doesn't necessarily mean that was ever the HEAD on that channel. can only really trust commits that were HEAD at one point. Everything else might just be intermittent states from a merge commit.
<samueldr> hm, you're right
<clever> there is a json file somewhere that tracks the head of each channel
<clever> https://howoldis.herokuapp.com/ might link that
jtojnar has quit [Ping timeout: 248 seconds]
<samueldr> not json, and maybe not what clever is thinking of, but here https://channels.nix.gsc.io/
aisiszane has joined #nixos
<elvishjerricco> Neat. So just find commits that are in both channels in that history.
aisiszane has quit [Read error: Connection reset by peer]
<elvishjerricco> Is the history in Hydra? Who decides when to cut a new merge to a channel, and how do they decide that?
<samueldr> would it be a realistic alternative to take close branch tips at $DATE and choose with the platform?
<gchristensen> I'm not sure it is easily queryable in hydra
<gchristensen> the channel is updated when tests pass, there is no decision
ericsagnes has joined #nixos
omawnakw[m] has joined #nixos
slyfox_ has joined #nixos
jackdk has quit [Ping timeout: 246 seconds]
<elvishjerricco> Ah. What system is in charge of that?
jtojnar has joined #nixos
<gchristensen> hydra
jgertm has quit [Ping timeout: 260 seconds]
<samueldr> there is a quick and dirty intro in the collapsible box at the top https://howoldis.herokuapp.com/
<judson> No dice with GC: 1G isn't enough space for this box.
slyfox has quit [Ping timeout: 250 seconds]
<clever> judson: ec2 machines can be resized to have more space
<clever> judson: resize the EBS in the AWS console, then reboot the maching, and it will resize itself automatically
jackdk has joined #nixos
<elvishjerricco> clever: Wait NixOS will resize its own partition on EC2?
<clever> elvishjerricco: yes
jrolfs_ has joined #nixos
<elvishjerricco> Whoa
slyfox has joined #nixos
slyfox_ has quit [Ping timeout: 246 seconds]
dbmikus_ has joined #nixos
slyfox_ has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.gnome-clocks: add fallback sound theme »: https://git.io/vpiX2
slyfox has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
silver has quit [Read error: Connection reset by peer]
jackdk has quit [Ping timeout: 255 seconds]
dbmikus_ has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0c4cadfc283 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<krkini> How do I one-time install a package from the unstable channel? It seems that adding nixpkgs-unstable to my channel list will cause `nix-env -u` or `nixos-rebuild switch` to grab packages from nixpkgs-unstable as well. Do I have to do `nix-env -i -f https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz packageName` every time?
aisiszane has joined #nixos
<clever> krkini: what does `sudo nix-channel --list` say?
aisiszane has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
mbrgm has joined #nixos
<clever> krkini: if you `nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable` then you can just `nix-env -iA unstable.hello` to install the unstable version of hello
<clever> and `nix-env -iA nixos.hello` to install the stable version
freeman42x]NixOS has quit [Ping timeout: 250 seconds]
<clever> nixos will always use the channel called nixos
<krkini> ahh, didn't know that part
<krkini> thanks!
<clever> and its best if you always manage the channels as root
<krkini> what about `nix-env -i packageName` without -A ? Does it just check all channels and find the latest version based on that?
<clever> it will check all channels, but i dont know what the priority is
<clever> that command is also a lot slower, because it checks every single package, in every channel
<clever> !-A
<{^_^}> 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.
<krkini> Yes, and someone in here was telling me a while ago that it's best to install software long-term by adding it in /etc/nixos/configuration.nix anyway.
<clever> another option is to create an attrset or buildEnv in config.nix, and then install that
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8bf6df2b8e8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
drakonis has joined #nixos
slyfox has joined #nixos
slyfox_ has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #40195 → webkitgtk: add missing libXdamage dependency → https://git.io/vpi1H
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
dbmikus__ has quit [Quit: WeeChat 2.1]
jackdk has joined #nixos
cransom has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40195 → webkitgtk: add missing libXdamage dependency → https://git.io/vpi1H
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpi1N
<{^_^}> → a4c86b42 by @emmanuelrosa: webkitgtk: add missing libXdamage dependency
<{^_^}> → fba7c3ad by @matthewbauer: Merge pull request #40195 from emmanuelrosa/webkitgtk-xdamage
<jtojnar> should not nix catch /build references?
Arcaelyx_ has joined #nixos
Arcaelyx has quit [Ping timeout: 246 seconds]
mahalel_ has quit [Ping timeout: 240 seconds]
rosa has joined #nixos
mahalel_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5bdfe37daf0 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jtojnar opened pull request #40197 → librsvg: 2.42.3 → 2.42.4 → https://git.io/vpiMl
Havvy has quit [Read error: Connection reset by peer]
nuncanada2 has quit [Quit: Leaving]
<elvishjerricco> Anyone use bluetooth headsets on nixos? My adapter is kinda bad, and linux seems to be compensating by letting the audio back up when the connection becomes too weak. I'd rather it skip than become delayed. Is this configurable?
<{^_^}> [nixpkgs] @endgame opened pull request #40198 → haskellPackages.blank-canvas_0_6_2: dontCheck → https://git.io/vpiMz
<samueldr> elvishjerricco: I have the solution for you!
Havvy has joined #nixos
<samueldr> this is a patch for that exact issue
<samueldr> (see the links in the comments)
<samueldr> I'm using this overlay which, other than pulseaudio, doesn't cause mass rebuilds
<elvishjerricco> samueldr: Thanks :) Sounds perfect!
<samueldr> it does!
<samueldr> (hah!)
<samueldr> it doesn't drift anymore
<elvishjerricco> heh
<samueldr> hmmm, I don't think the bluez patches are needed, I think those were the first try at fixing this
<samueldr> I forgot I had those
<elvishjerricco> samueldr: Do you know if that patch is going to be mainlined at any point?
<samueldr> I hope so, the issue is linked though, haven't read it since... a couple weeks ago
rosa has quit [Quit: rosa]
rosa has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jarjee opened pull request #40199 → mongodb-compass: init at 1.13.1 → https://git.io/vpiDs
krkini is now known as kini
jD91mZM2 has joined #nixos
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jD91mZM2 closed pull request #39930 → z: init at 1.11 → https://git.io/vp2R8
aw has joined #nixos
<jD91mZM2> TFW I only notice mistakes in my nix expressions when trying to fall asleep at 3AM
spacefrogg has joined #nixos
<petersjt014[m]> hi:
<petersjt014[m]> I tried to make an install iso with [these](https://nixos.wiki/wiki/Creating_a_NixOS_live_CD) instructions and [this](https://pastebin.com/ScHzqMxc) config, and got an error saying that 'mounting /dev/root on mnt-root/iso failed'. halp?
muzzy has joined #nixos
muzzy_ has joined #nixos
muzzy__ has joined #nixos
ryantm has quit [Ping timeout: 265 seconds]
ryantm has joined #nixos
jbboehr has joined #nixos
* petersjt014[m] sent a long message: petersjt014[m]_2018-05-09_02:46:31.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/gpQGXjUFNtkXssIdMnfiHDyG>
<palo> I opend a ticket because one of my packages is marked broken in 18.03 and I'm not understanding why : https://github.com/NixOS/nixpkgs/issues/40200
spear2 has joined #nixos
<petersjt014[m]> any reason you're running it on the previous release?
<palo> petersjt014[m]: you mean me ?
<petersjt014[m]> also: I just noticed the [release date](https://nixos.org/nixos/manual/release-notes.html#sec-release-17.09) for impala is '2017/09/??'. wat?
<petersjt014[m]> yeah
<petersjt014[m]> small chance it's fixed there
<palo> sure I use it to backup my system.
<jD91mZM2> petersjt014[m]: How are you flashing the ISO on the USB?
<palo> petersjt014[m]: yeah it is working in 17.09 but I'm upgrading to 18.03
<petersjt014[m]> [these instructions](https://nixos.wiki/wiki/Creating_a_NixOS_live_CD), ran inside a vm and burned w/ LiLi
<jD91mZM2> petersjt014[m]: What happens if you mount the USB using the command inside https://nixos.org/nixos/manual/index.html#sec-building-cd?
<petersjt014[m]> palo: If nobody else can tell why, you may just want to try it on Impala just to see. It might not make a diff since nixos isn't as susceptible to 'works now because magic lol', but still.
mkoenig has joined #nixos
<jD91mZM2> mount the ISO*
<petersjt014[m]> I can try--one sec while I give virtbox usb ports to play with
<palo> petersjt014[m]: I'm not 100% sure what you say. What is Impala.
andreabedini has joined #nixos
mkoenig_ has quit [Ping timeout: 255 seconds]
<petersjt014[m]> name for the [latest release](https://nixos.org/nixos/manual/release-notes.html#sec-release-18.03)
andreabedini has quit [Client Quit]
<palo> Ah
<palo> I will try if it works and ping the one who is listed in the blame
<palo> and if there are no problems I will make a PR to remove the broken flag
<palo> warning: unknown setting 'signed-binary-caches'
<palo> This is also new
<petersjt014[m]> yeah, also maybe see if any of [these](https://nixos.org/nixos/manual/release-notes.html#sec-release-18.03-incompatibilities) apply to you
<petersjt014[m]> setting? not option?
Havvy has quit [Read error: Connection reset by peer]
Forkk_ has quit [Remote host closed the connection]
FunkyBob has quit [Remote host closed the connection]
<palo> hmm was just a warning
<palo> now it starts doing things
<palo> but it looks disturbing
<palo> but I've seen it today at somebodys computer as well
<palo> so I'm not scared :D
rosa has quit [Quit: rosa]
<mog> i have nixos stable installed and im trying to install the 4.16 kernel from unstable i have the let unstable import in and tried telling boot.kernelPackages to be 4_16 but rebuild made no change
rosa has joined #nixos
<jbboehr> Does anyone know where the carnix source is? The link on crates.io is a 404.
Forkk has joined #nixos
dbmikus has joined #nixos
dbmikus has quit [Client Quit]
dbmikus has joined #nixos
pingveno_ has joined #nixos
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #40201 → feh: remove --theme=feh parameter → https://git.io/vpiSI
<jD91mZM2> Does anybody else have that issue ^?
<petersjt014[m]> jbboehr: https://github.com/tazjin/carnix
andreabedini has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
jperras has joined #nixos
<rizary> hi, anyone experience with android development and deployment. I only found this repo https://github.com/svanderburg/nix-androidenvtests, is there any other repo that i can take a look?
<jD91mZM2> srhb: I need to GC less if I want to win that prize you mentioned yesterday. I most likely GC'd yesterday as well, and because of that I only freed 3154.41MiB.
rosa has quit [Quit: rosa]
jperras has quit [Ping timeout: 246 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
rosa has joined #nixos
schoppenhauer has joined #nixos
jrolfs_ has joined #nixos
rosa has quit [Client Quit]
<fearlessKim[m]> after 10mn of compilation I get,`error: cannot create symlink '/home/teto/wireshark/result'; already exists`. Now it starts teh compilation again. Isn't it possible to check for "result" before the compilation ?
rosa has joined #nixos
<jD91mZM2> fearlessKim[m]: What if the symlink is created during compilation?
<fearlessKim[m]> jD91mZM2 it could check both or maybe I should alias it to check
<fearlessKim[m]> beforehand
jrolfs_ has quit [Ping timeout: 240 seconds]
<jD91mZM2> fearlessKim[m]: It could
<Cale> rizary: reflex-platform has a bunch of android stuff in it
klntsky has quit [Remote host closed the connection]
<Cale> (as well as iOS)
klntsky has joined #nixos
<rizary> Cale: thanks, I thought it is only if we use reflex / reflex-dom.
<rizary> not in general
<rizary> thanks anyway, will read that.
<Cale> Well, you can use it even if you're not using those
<Cale> There's a bunch of nix stuff in there which solves a lot of the build issues with doing cross compilation
drakonis has quit [Remote host closed the connection]
<Cale> rizary: Oh, I didn't realise which channel I was in until just now. ;)
<Cale> Is this for a Haskell project at least? :)
<Cale> It might be useful regardless.
<Cale> Ask Sonarpulse about it whenever he's next around :)
andreabedini has quit [Ping timeout: 260 seconds]
<mog> is anyone running an unstable kernel on a stable nixos? i cant get the setting to take and i am not sure why
andreabedini has joined #nixos
<rizary> Cale: heh, not it is for java-ish Android project. Im considering using Haskell but I think right now that decision is still not possible. Thanks again Cale.
timclassic has left #nixos ["User left"]
nallar has joined #nixos
Ross has quit [Ping timeout: 255 seconds]
nallar is now known as Ross
krey has quit [Ping timeout: 256 seconds]
iqubic has joined #nixos
timclassic has joined #nixos
rosa has quit [Quit: rosa]
<petersjt014[m]> If I'm using a motd and a window manager, will the motd be visible?
<jD91mZM2> Does a block-based full disk encryption have any implications in terms of resistance? What happens if the computer loses power during a write?
rosa has joined #nixos
rosa has quit [Client Quit]
<iqubic> What is a motd?
rosa has joined #nixos
<jD91mZM2> iqubic: Message of the day. It's what shows the version number in a TTY.
<petersjt014[m]> I thought that was the /etc/issue file?
<jD91mZM2> Oh, whoops
<iqubic> petersjt014[m]: What behavior are you looking for?
<jD91mZM2> Oh yeah MOTD is when you log in with SSH, isn't it?
<iqubic> And it will be visible even if using a WM. I see it when I drop into a TTY.
<jD91mZM2> petersjt014[m]: Anyway, a MOTD is always in the shell, right? So if you're using X at all it shouldn't show(?)
<jD91mZM2> Sorry if I'm stupid, I haven't messed around with motd
<petersjt014[m]> I suppose so, yeah. I think I'll need to make a window with wmutil or something
<petersjt014[m]> and open a txt file or something
<sphalerite> it's definitely shown on SSH logins, I'm not sure about any other places
<sphalerite> jD91mZM2: what do you mean by "resistance"?
<jD91mZM2> sphalerite: Ignore my message, I didn't read enough about blocks
<jD91mZM2> I was thinking "oh noEs WhaT iF wrITE FaiL Bc pOWer FailurE", without realizing that it could still read the filesystem journal from another block
tmaekawa has joined #nixos
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
rosa has quit [Quit: rosa]
<petersjt014[m]> make everything atomic and ur good 2 go
rosa has joined #nixos
<petersjt014[m]> right down to the movment of the electrons
tmaekawa has quit [Client Quit]
iqubic has quit [Ping timeout: 246 seconds]
<petersjt014[m]> we can do that right??
tmaekawa has joined #nixos
andreabedini has quit [Ping timeout: 264 seconds]
<petersjt014[m]> I kid, I kid
<{^_^}> [nixpkgs] @mmlb opened pull request #40202 → Netperf love → https://git.io/vpiQ8
orivej_ has quit [Ping timeout: 250 seconds]
<jD91mZM2> Can I label filesystems by just changing fileSystms."/".label?
<jD91mZM2> Or is that only used for autoFormat?
Rusty1_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @mmlb opened pull request #40203 → twine: update 1.9.1 -> 1.11.0 → https://git.io/vpiQS
<clever> jD91mZM2: it also auto-configures to mount via /dev/disk/by-label/${label}
<clever> and i dont see any signs of it being used in autoFormat
<jD91mZM2> clever: Oh okay. So I either use `device` or `label`?
<clever> yeah
<clever> and autoFormat likely wont find it if its not yet formatted with the given label
<jD91mZM2> So if I just want my labels to show up nicely in gparted or whatever I can just use e2label?
<achambe> yes
<achambe> I usually just manually do my labels
<achambe> but use the nix config to configure how they are mounted
<jD91mZM2> Alright, thanks!
<jD91mZM2> Does e2label have to be used on an unmounted system?
<achambe> just try it, don't be a wimp
<jD91mZM2> I mean yeah it should probably print an error if it fails
<jD91mZM2> Seems to have worked... yay! Thanks!
jb55 has quit [Ping timeout: 246 seconds]
jgertm has joined #nixos
spear2 has quit [Remote host closed the connection]
drag has quit [Quit: Connection closed for inactivity]
MercurialAlchemi has joined #nixos
<jD91mZM2> Is it recommended to use labels over UUIDs? The installation wiki says "this makes the file system configuration independent from device changes"
<jD91mZM2> I mean it says right there that it's recommend. But... but...
jperras has joined #nixos
<Yaniel> depends on your use case
robstr has joined #nixos
c0ffee152 has quit [Quit: Lost terminal]
<jD91mZM2> Yaniel: I mean for usage inside hardware-configuration.nix
<jD91mZM2> But then again I shouldn't edit that
Guanin has quit [Ping timeout: 246 seconds]
<Yaniel> yeah well are you planning to swap drives or partition layouts often?
<jD91mZM2> not really lol, I just wanted labels to show up in gparted
<Yaniel> and yeah, if you want to mount a disk by label you should probably put it in configuration.nix and make sure it's absent from hardware-configuration.nix
<jD91mZM2> Seems like nixos-generate-config doesn't use the labels by default. Interesting, since the wiki says it's recommended to set them
<Yaniel> you set them when partitioning the disk, not in nixos config
jperras has quit [Ping timeout: 260 seconds]
<jD91mZM2> Yaniel: Yeah but the wiki makes it sound like NixOS would use the labels as identifiers
<Yaniel> and yes it is useful to set them because for most people it's a lot faster to recognize which disk "Carl" is than "AEB634BD"
<jD91mZM2> btw when running `nixos-generate-config` from inside the system, it removes "usb_storage" from availableKernelModules
tmaekawa has quit [Quit: tmaekawa]
mahalel_ has quit [Ping timeout: 246 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
Guanin has joined #nixos
smichel has joined #nixos
rosa has quit [Quit: rosa]
tmaekawa has joined #nixos
rosa has joined #nixos
andreabedini has joined #nixos
xy2_ has joined #nixos
jD91mZM2 has quit [Quit: Rebooting]
<ghostyy> hi i am trying to configure strongswan on nixos and when i try to define a key %default it complains about error: syntax error, unexpected $undefined,
<ghostyy> https://nixos.org/nixos/options.html#strongswan here in the connections key you can see %default is actually a default value
<ghostyy> \%default doesnt work either
<ghostyy> oh, its a string
<ghostyy> in general it feels like examples should be copy-pasteable into actual nix files...
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
rosa has quit [Quit: rosa]
reinzelmann has joined #nixos
<elvishjerricco> angerman: You gonna bisect that range?
spear2 has joined #nixos
<angerman> elvishjerricco: can't right now.
<angerman> elvishjerricco: however if you have some newer good commit that would help rule out some potential pitfals.
<angerman> elvishjerricco: I kind of guess it's ghc-cabal related, but... maybe not.
<elvishjerricco> angerman: might give it a try tonight
<{^_^}> [nixpkgs] @teto opened pull request #40204 → [RDY] wireshark: run binary from nix-shell → https://git.io/vpi5x
<angerman> elvishjerricco: the really weird thing is, I think have had this compiled once already.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fba7c3adf87 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<elvishjerricco> angerman: I remember you posted 8.4.1 bindists for some cross compilers. Dunno if it was ever in nixpkgs though
<angerman> elvishjerricco: and I'm stuck with perl not wanting to build, due to rediculously weird `Configure` being unpatchable.
<angerman> elvishjerricco: they were built with hadrian.
jeaye is now known as jeeves
<angerman> elvishjerricco: hackage.mobilehaskell.org
<elvishjerricco> O.o why do you have to build perl
<angerman> elvishjerricco: part of the downstream packages
jeeves is now known as jeaye
<angerman> it's building perl and ghc in parallel. perl just fails faster
<elvishjerricco> Oh hm.
<angerman> elvishjerricco: the `no-sys-dirs.patch` does not apply cleanly onto perl-5.24.3, locally... now that makes absolutely no sense. But for some reason the unpacked perl-5.24.3, ends up having the Configure file from a more recent perl-5.26 or so.
tmaekawa has quit [Quit: tmaekawa]
<elvishjerricco> angerman: That's confusing. So `nix-build -A whaterver.perl` patches fine, but `nix-shell -A whatever.perl --run 'unpackPhase && cd perl* && patchPhase'` does not patch cleanly?
Ariakenom has joined #nixos
<angerman> maybe I should try to see what the unpack phase says.
<clever> elvishjerricco: tthe postUnpack hook patches things...
<elvishjerricco> clever: ... TIL :P
<clever> and only when cross-compiling
datakurre has quit [Ping timeout: 276 seconds]
<angerman> alright, so ... after running unpackPhase, Configure is still what it's supposed to be.
ent has quit [Ping timeout: 240 seconds]
<angerman> but ...
liff has quit [Ping timeout: 256 seconds]
seequ has quit [Ping timeout: 256 seconds]
sir_guy_carleton has joined #nixos
<sir_guy_carleton> hello
<angerman> and the patch phase works. W.T.F.?
<angerman> let me guess. the perl-cross patch stuff... kind of includes the Configure patch?
<clever> cp -R perl-cross-${crossVersion}/* perl-${version}/
<clever> it could contain anything
<clever> add a -v to that cp and see what it copied
<clever> what args do i import <nixpkgs> with to make it cross-compile to windows?
jD91mZM2 has joined #nixos
<sphalerite> oh boy, `pgrep -G nixbld` segfaults
<angerman> clever: I've just put `// { perl-x = pkgs.perl; }` at the end of the default-lts-2018-05-02.nix
<angerman> clever: and then `-A perl-x` to have the identical env.
muzzy_ has quit [Ping timeout: 240 seconds]
<angerman> Hmm maybe I can just do without perl. That cross compiling perl business looks even messier than crosscompiling ghc.
muzzy_ has joined #nixos
muzzy__ has quit [Ping timeout: 240 seconds]
muzzy has quit [Ping timeout: 240 seconds]
muzzy has joined #nixos
<clever> what depended on perl?
<clever> it shouldnt be needed
robstr has quit [Quit: WeeChat 1.9.1]
<angerman> rocksdb
robstr has joined #nixos
<clever> its likely a build-time dep, that was improperly marked
<clever> set it to use the native perl
muzzy__ has joined #nixos
MP2E has quit [Remote host closed the connection]
* elvishjerricco knows nothing about perl
<angerman> yea, will likely run into the ghc issue elvishjerricco has encountered though.
<elvishjerricco> is perl a compiled language?
<angerman> elvishjerricco: I wish...
pacmeister has joined #nixos
<angerman> clever: ah, I think git also depends on it...
<clever> that also needs the native version
<clever> there is no reason either of them needs to run perl on the windows machine
<clever> git shouldnt even be cross-compiled either
<angerman> clever: exactly. Trying to figure out what pulls git in.
<elvishjerricco> I wonder if `fetchgit` depends on the wrong package set's git?
<clever> 53 } // { pkgs-x = pkgs; }
<clever> [clever@system76:~/iohk/cardano-cross]$ nix repl default-lts-2018-05-02.nix -I hackage=../hackage.nix -I stackage=../stackage.nix -I haskell=../haskell.nix -I nixpkgs=../nixpkgs
jgertm has quit [Ping timeout: 255 seconds]
<angerman> yea, guess you can do that as well :-)
<clever> nix-repl> :b pkgs-x.rocksdb
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vbgl merged pull request #39869 → coqPackages.dpdgraph: init at 0.6.3 for Coq 8.8 → https://git.io/vpzoi
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.dpdgraph: init at 0.6.3 for Coq 8.8 »: https://git.io/vpidp
<clever> i'm getting lz4 failures
griff_ has joined #nixos
xy2_ has quit [Ping timeout: 246 seconds]
<angerman> clever: the whole thing needs to be run though cmake.
<angerman> I've been working on that... been just stuck with that perl issue.
<clever> lz4io.c:69:14: fatal error: Windows.h: No such file or directory
hamishmack has quit [Ping timeout: 255 seconds]
<angerman> clever: do you know which compression we use? If so, maybe we can just build rocksdb witouth all the other engings :D
<angerman> maybe we don't need lz4 :D
coot has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40176 → gnucash: restore version 2.4 → https://git.io/vp6Hs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpiF3
<{^_^}> → 7936474e by @emmanuelrosa: gnucash: restore version 2.4
<clever> lz4 supports multiple compressions?
<{^_^}> → b73b8e0f by @matthewbauer: Merge pull request #40176 from emmanuelrosa/gnucash24
<angerman> clever: no, rocksdb suports multiple compression backends
<clever> typo
<clever> its 3am, lol
<angerman> :D
<etu> clever: go to bed.
<disasm> haha :)
<etu> clever: I could tell you that every morning that I get to work, I've been at the office for about an hour ;)
<clever> etu: lol
<clever> lz4 now builds
<clever> a 1 line patch
<angerman> clever: there are tons of those to come...
<angerman> windows has this clever "librarys are upcase"... thingy.
<clever> building '/nix/store/pkqm6gph2mhrsqbsq9ya1ybnf9vbc17k-rocksdb-5.11.3-x86_64-pc-mingw32.drv' on 'ssh://builder@amd.localnet'...
<angerman> where mingw libs are alllowercase
<clever> ./util/arena.h:16:10: fatal error: sys/mman.h: No such file or directory
<clever> that feels linux-only
<angerman> clever: yea. as I said rocksdb for windows needs to be built with cmake I beleive.
<angerman> the make base build system is unix(y) only.
<clever> ah
<angerman> I'll take a break and enjoy the sun while it's still out (at 33C), and come back to this a little later.
<clever> nix-repl> pkgs-x.rocksdb.meta.position
<clever> "/home/clever/iohk/nixpkgs/pkgs/development/libraries/rocksdb/default.nix:82"
<clever> "2018-05-09 03:11:02 bedroom temp: 22.44c(72.39f), kitchen: 18.12c(64.62f), living room: 18.69c(65.64f), outdoor: 8.62c(47.52f), server: 22.38c(72.28f) VCC: over 4.5 volts portb: 00000000"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39576 → python3: add C++ compiler support for distutils → https://git.io/vplc1
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpiFl
<{^_^}> → 31010e0f by @veprbl: python3: add C++ compiler support for distutils
<{^_^}> → 1d3fe7d8 by @matthewbauer: Merge pull request #39576 from veprbl/pr/py3_distutils_fix
<angerman> clever: your bedroom is awfully warm :p is you server in your bedroom? :D
<sir_guy_carleton> how do you write the path to a program in the nix store, without using long hash path name?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40148 → ext4magic: init at 0.3.2 → https://git.io/vpKaT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpiFB
<{^_^}> → b45fa92d by @rkoe: ext4magic: init at 0.3.2
<{^_^}> → 04814672 by @matthewbauer: Merge pull request #40148 from rkoe/add/ext4magic
<angerman> sir_guy_carleton: use the --out-link ?
<clever> angerman: the desktop puts out a decent amount of heat, and i keep the thermostat a tad high
<angerman> sir_guy_carleton: or in a nixexpr "${pkg}/..."?
<sir_guy_carleton> with nix-store?
<teto1> When in a systemd service, I put Restart="always", the service should restart on rebuild right ? Looks like it doesn't for my telnet service so I can't test why CapabilityBoundingSet = "CAP_NET_BIND_SERVICE=+eip"; seems uneffective :
marusich has joined #nixos
<clever> copying path '/nix/store/9hmhxgj4jk6jmxihgavj6gm0p759misc-cmake-3.10.2' to 'ssh://builder@amd.localnet'...
<clever> angerman: it is now running cmake on rocksdb
<clever> x86_64-pc-mingw32-gcc: error: unrecognized command line option '-rdynamic'
Guanin_ has joined #nixos
<sphalerite> sir_guy_carleton: typically you'd use it through a profile, so something like /run/current-system/sw/bin/foo or ~/.nix-profile/bin/foo. Although those are on your PATH by default so it shouldn't be necessary to use the full path
Guanin has quit [Read error: Connection reset by peer]
<sir_guy_carleton> i trying to write the path to another program in a configuration file in my home directory
alex`` has joined #nixos
<angerman> clever: cross compiling is so much fun >D
<sphalerite> sir_guy_carleton: yeah then use one of the paths I mentioned above. Or generate the config file using nix as well
<teto1> clever: regarding my keyboard not working in boot.debug1 yesterday, sphalerite suggested to run boot.debug1devices instead and that fixed it. Thanks for the help once again
<sphalerite> \o/
<clever> teto1: oh, debug1 stops too soon, and you lack drivers
Arcaelyx has joined #nixos
hyper_ch2 has joined #nixos
toby1851 has joined #nixos
doyougnu has quit [Ping timeout: 255 seconds]
<teto1> clever: I had the drivers in intramfs though
Arcaelyx_ has quit [Ping timeout: 246 seconds]
<jD91mZM2> sir_guy_carleton: `nix-build '<nixpkgs>' -A hello --no-out-link` could work in the worst case scenario
<jD91mZM2> This prints the nix store path to hello
<sphalerite> teto1: they don't actually get loaded immediately though, debug1devices makes it stop only once they have bene loaded
<sphalerite> sir_guy_carleton: jD91mZM2: this isn't a good path to use though because it might get GC'd away since nix doesn't know that something is depending on it
<pacmeister> any advice on getting appimages to work?
simukis has joined #nixos
<sphalerite> pacmeister: FHS user envs are useful for that sort of thing
<jD91mZM2> sphalerite: I mean he said "path to a program" so it's not gonna get GC'd (assuming explicitly installed). Still not a good path to use, but that's why I said "worst case scenario".
<sphalerite> hm, so root's NIX_PATH is the default nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels and /nix/var/nix/profiles/per-user/root/channels does contain unstable. But nix build unstable.procps says error: attribute 'unstable' in selection path 'unstable.procps' not found
<sphalerite> any ideas?
<angerman> clever: thanks! "make rocksdb use cmake (doesnt work)" :D
<clever> angerman: all it does is switch to cmake, g++ then fails due to args cmake gave it
<sphalerite> jD91mZM2: even if it's installed, it will change as soon as hello (or one of its deps) is upgraded, and once the old generation has been deleted it's fair game for the gc
<clever> angerman: it also includes an lz4 fix
<angerman> clever: saw that, thanks, will integrate, and merge with my stuff.
johann__ has joined #nixos
<jD91mZM2> sphalerite: sir_guy_carleton: If it's installed system-wide it shouldn't upgrade without also updating nix-build tho?
<sphalerite> jD91mZM2: yes, but the config file will still be referrign to the old path
<sphalerite> so you need to either build it with nix, or point it to the program indirectly through a profile which is a GC root and will be kept up to date
<jD91mZM2> sphalerite: Oh, I didn't realize he was writing to a config
<sphalerite> sir_guy_carleton | i trying to write the path to another program in a configuration file in my home directory
<sir_guy_carleton> hey, okay /run/current-system/sw/bin/foo worked, thanks
<jD91mZM2> Shouldn't that already be in path?
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @rdnetto4 opened pull request #40205 → bazel: 0.12.0 -> 0.13.0 → https://git.io/vpibO
<sphalerite> might be that whatever sir_guy_carleton is configuring is obtuse and wants absolute paths
vaninwagen has joined #nixos
reinzelmann has quit [Quit: Leaving]
rosa has joined #nixos
hamishmack has joined #nixos
muzzy has quit [Remote host closed the connection]
muzzy__ has quit [Remote host closed the connection]
muzzy_ has quit [Remote host closed the connection]
<tilpner> sphalerite - Nix 2.0 has weird NIX_PATH behaviour. https://gist.github.com/grahamc/55a9d8433a80476a6f453176679944aa
rosa has quit [Quit: rosa]
reinzelmann has joined #nixos
tilpner__ has joined #nixos
reinzelmann has quit [Client Quit]
reinzelmann has joined #nixos
freusque has quit [Ping timeout: 276 seconds]
<elvishjerricco> angerman: I've found the commit that can fix the problem...
<angerman> \o/
<{^_^}> [nixpkgs] @jD91mZM2 closed pull request #40201 → feh: remove --theme=feh parameter → https://git.io/vpiSI
<angerman> elvishjerricco: of course slyfox found it ;-)
<elvishjerricco> angerman: The diff is quite small, so it's probably ok to just pull it into 8.4.2 as a patch file, right?
<angerman> elvishjerricco: I would do so.
<angerman> elvishjerricco: I already have an iserv-split patch in my nixpkgs fork. ;-)
pacmeister has quit [Quit: WeeChat 2.0]
<angerman> That reminds me... I should probably ensure that gets into 8.6
MichaelRaskin has quit [Quit: MichaelRaskin]
<elvishjerricco> :P
<elvishjerricco> Now... how do you git diff with submodules? :P
<angerman> What does gut diff give you? Empty?
<elvishjerricco> angerman: Just the diff to the .gitmodules file, basically
<elvishjerricco> er, wait that's not where that info is stored...
<elvishjerricco> just shows the change in revisions, not the diff in the submodule itself
Havvy has joined #nixos
<angerman> elvishjerricco: git diff --submodule=diff?
<elvishjerricco> angerman: TIL. Thanks
<{^_^}> [nixpkgs] @dywedir opened pull request #40206 → bat: 0.2.0 -> 0.3.0 → https://git.io/vpiNA
civodul has joined #nixos
__Sander__ has joined #nixos
freusque has joined #nixos
jperras has joined #nixos
<angerman> elvishjerricco: now you go and fix it, so I can use it when I come back :p
<elvishjerricco> angerman: Testing now :P
<elvishjerricco> Seems to have fixed the issue! Now to see if there are further issues with android...
jperras has quit [Ping timeout: 240 seconds]
<angerman> elvishjerricco: ha, I might possibly able to help with some of them...
tilpner__ has quit [Ping timeout: 240 seconds]
<angerman> elvishjerricco: tritlo discovered that calling tzset from haskell on RPi triggers a segfault.
<angerman> elvishjerricco: as such you can't use network ,... unless you provide TZ="UTC0" or something :D
<elvishjerricco> eek. Is that only on RPi?
<angerman> elvishjerricco: you may really be interested in using my stackage/hackage/haskell expressions for cross compilation thou.
<elvishjerricco> angerman: I absolutely am. That's why I want that infra in nixpkgs! I'm tired of having to tell people to check out some *other* Nix repo (reflex-platform) to do cool stuff :P
allana has joined #nixos
<jD91mZM2> Are there any permanent problems with changing /etc/resolv.conf? I know that it's not the nix way, but I need something quick and temporary until the nix way supports all the things I need it to support.
<jD91mZM2> Like, if I change it now and then run nixos-rebuild, it'll still be overriden right? (which is good, so no changes outside of the proper nix ones are permanent)
<elvishjerricco> angerman: I'm even interested in it just for GHCJS. Can't tell you how many times builds break because people don't realize `cabal2nix` doesn't translate `if impl(ghcjs)`...
<angerman> elvishjerricco: I might turn my llvmng stuff into a separate patch for ghc8.4 as well.
<allana> Hi, I am struggling through creating a custom build script for a derivation that requires some inputs that I am having a hard time finding. For example, my build script requires the "hostname" command-line tool but I don't know which nixpkg to declare as an input for that tool. Can anyone help me?
<elvishjerricco> angerman: That would be nice. Improvements would be in compile time and LLVM compatibility, right?
<clever> allana: nix sets the hostname to localhost inside builds, so even if you had the tool, it wont give the expected values
<clever> allana: you probably want builtins.getEnv "HOSTNAME" which reads the env var at eval-time
butchery has joined #nixos
<elvishjerricco> clever: I think allana is just saying that the build script for some existing package expects the `hostname` cli tool. Don't think they actually care to provide the build machine's real hostname
sir_guy_carleton has quit [Quit: Lost terminal]
<clever> allana: its in the package called net-tools, add that to buildInputs
<elvishjerricco> nativeBuildInputs, right? :P
<allana> clever: and elvishjerricco: Thanks!
<clever> thats better
<butchery> is there an entirely unattended nixos installer, or a way to enable ssh on the installer with no input? I have a device that has a single USB port and no other inputs, and I have no USB hub on hand
<angerman> elvishjerricco: yea, compiling will take a lot longer ;)
<elvishjerricco> angerman: Oh? I thought llvmng was supposed to be faster?
xAFFE has joined #nixos
<clever> butchery: using a second machine (even a fully working nixos), you can run nixos-install against a usb stick, and use whatever config you want, and setup sshd and passwords
reinzelmann has quit [Quit: Leaving]
<clever> butchery: then you will have a custom USB that boots into that config on any machine
<angerman> It generates better code but suffers from a space leak
<elvishjerricco> angerman: Ah. Fixable, I hope!
reinzelmann has joined #nixos
<butchery> ah, I see, is anything else needed other than --root and --system?
<angerman> elvishjerricco: yea. It uses some neat mfix
<elvishjerricco> angerman: Always love a good mfix :)
datakurre has joined #nixos
<clever> butchery: should be as simple as formatting the USB stick as normal, mounting it to /mnt, and then doing nixos-generate-config --root /mnt and nixos-install --root /mnt/
Xal has quit [Ping timeout: 256 seconds]
<angerman> elvishjerricco: it allows to compute some stupid sizes into the stream in a principled fashion. But that leads to really bad retention of thunks until the size has been computed.
Tucky has joined #nixos
<angerman> elvishjerricco: I think that just inserting placeholder into the stream and filling them after the fact will perform better.
<angerman> elvishjerricco: I just haven’t gotten around to doing that yet.
Xal has joined #nixos
<jD91mZM2> https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/windows/pthread-w32/default.nix complains that hostPlatform is undefined. Is this a bug? Should it be changed to stdenv.hostPlatform?
s33se has joined #nixos
drag has joined #nixos
johann__ has quit [Ping timeout: 264 seconds]
johann__ has joined #nixos
butchery has quit [Quit: leaving]
marusich has quit [Quit: Leaving]
jD91mZM2 has quit [Quit: WeeChat 2.0]
marusich has joined #nixos
jperras has joined #nixos
periklis has joined #nixos
johann__ has quit [Quit: Leaving.]
jperras has quit [Ping timeout: 246 seconds]
<lewo> I wonder how could I garbage collect a binary cache (`file://` type). Is there a tool to do this?
<drag> plan9port package only creates executable 9 which deosnt seem to do anything. I am new with nix. Any ideas how to debug?
wangoe has joined #nixos
<steveeJ> hey, can someone point me to an example of how to include a custom oh-my-zsh plugin? https://github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/programs/zsh/oh-my-zsh.nix#L30 is just a list of strings, and IIUC these plugins are expected somehwere in ~
<{^_^}> [nixpkgs] @matthewbauer pushed to master « pthread-w32: add missing args »: https://git.io/vpijn
<sphalerite> tilpner: hm alright, thanks for the pointer.
thc202 has joined #nixos
reinzelmann has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40052 → modules/system/boot/luksroot: remove comment about input_leds for caps lock → https://git.io/vprFG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpijo
<{^_^}> → 5855459f by @flokli: modules/system/boot/luksroot: remove comment about input_leds for caps lock
<{^_^}> → 0b58a5b2 by @matthewbauer: Merge pull request #40052 from flokli/input_leds-doc
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40051 → manual: Document `types.attrs` → https://git.io/vpr5T
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpij1
<{^_^}> → dd55c957 by @matthewbauer: Merge pull request #40051 from nh2/manual-option-types-attrs
<{^_^}> → 6e7f4f99 by @nh2: manual: Document `types.attrs`
<jmiven> drag: you can use it to invoke the other plan9port programs: `9 lc`, `9 acme` etc.
<drag> jmiven: thank you, it works!! I was so stupid...
<jmiven> drag: no worries, it's not obvious
<{^_^}> [nixpkgs] @FRidh merged pull request #38939 → python.pkgs: pip 9.0.3 -> 10.0.1 → https://git.io/vpe3w
<{^_^}> [nixpkgs] @FRidh pushed 12 commits to staging: https://git.io/vpPes
<{^_^}> → 6d2dd330 by @FRidh: python.pkgs.bootstrapped-pip: 9.0.3 -> 10.0.1
<{^_^}> → e5f57757 by @FRidh: python.pkgs.pip: 9.0.3 -> 10.0.1
<{^_^}> → 6a45d0b1 by @dotlambda: python.pkgs.flake8-future-import: 0.4.3 -> 0.4.5
jackdk has quit [Ping timeout: 250 seconds]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to python-unstable: https://git.io/vpPey
<{^_^}> [nixpkgs] @FRidh pushed commit from @vcunat to python-unstable « python: 2.7.14 -> 2.7.15 (bugfix + security) »: https://git.io/vpPeS
sigmundv_ has joined #nixos
<jtojnar> elvishjerricco, samueldr: the pulseauddio patch was just merged and should be in the upcoming PA12 https://github.com/pulseaudio/pulseaudio/compare/dc65a0345410...3b04539d5ee3
<elvishjerricco> jtojnar: Excellent :)
marusich has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39130 → Implement graphicsmagick-imagemagick-compat → https://git.io/vpIjy
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vpPvm
<{^_^}> → 9b7d3f10 by @veprbl: graphicsmagick-imagemagick-compat: init at 1.3.28
<{^_^}> → 0d78386e by @veprbl: rivet: switch to graphicsmagick
<{^_^}> → 118d9d74 by @matthewbauer: Merge pull request #39130 from veprbl/pr/graphicsmagick-imagemagick-compat
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39105 → vamp-sdk: 2.5 -> 2.7.1 → https://git.io/vpkle
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpPvG
<{^_^}> → 85854ab2 by @magnetophon: vamp-sdk: 2.5 -> 2.7.1
<{^_^}> → f4c50620 by @matthewbauer: Merge pull request #39105 from magnetophon/vamp-sdk
jacob has joined #nixos
jacob is now known as Guest2138
<angerman> elvishjerricco: how’s your patch coming along?
asuryawanshi has joined #nixos
simukis has quit [Quit: simukis]
mipmop has joined #nixos
<elvishjerricco> angerman: Seems to work. Lemme open a PR
<mipmop> Can't load Pillers of Eternity: Deadfire in steam, getting: Unable to preload the following plugins: libSDL2-2.0.so
<mipmop> Any idea how to fix it ?
joehh has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40206 → bat: 0.2.0 -> 0.3.0 → https://git.io/vpiNA
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPf4
<{^_^}> → 97263dfb by @dywedir: bat: 0.2.0 -> 0.3.0
<{^_^}> → cbe420d6 by @xeji: Merge pull request #40206 from dywedir/bat
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #40210 → Fix android prebuilt ghc → https://git.io/vpPfR
Ross has quit [Ping timeout: 255 seconds]
<elvishjerricco> angerman: Not sure if the libiconv issue will be relevant to you, but I'm done for tonight, so you're on your own on that :P
Ross has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40192 → singularity: add missing file dependency → https://git.io/vpiP5
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPfj
<{^_^}> → 48808f1c by @jbedo: singularity: add missing file dependency
<{^_^}> → 70963b38 by @xeji: Merge pull request #40192 from jbedo/singfile
Synthetica has joined #nixos
zybell has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @FRidh pushed 44 commits to staging: https://git.io/vpPJx
<{^_^}> → 6e7f4f99 by @nh2: manual: Document `types.attrs`
<{^_^}> → 85854ab2 by @magnetophon: vamp-sdk: 2.5 -> 2.7.1
<{^_^}> → 5855459f by @flokli: modules/system/boot/luksroot: remove comment about input_leds for caps lock
<angerman> elvishjerricco: ha ;)
<steveeJ> rycee: I've switch from nixos managed to home-managed zsh and now my zsh lacks the functions "git_prompt_info" and "prompt_char", which are in my PROMPT. do you know where to get them?
<elvishjerricco> angerman: I'd also like to fix the enableShared thing but have no idea how
<angerman> elvishjerricco: I don’t follow.
<elvishjerricco> angerman: in that PR, I have `enableShared` disabled only because of a forbidden RPATH if you enable it. Not sure if it's android specific, and not sure why it's happening
<angerman> elvishjerricco: I have some modifications in my ghc-8.4.2 branch to make he expr Match head closer.
<angerman> elvishjerricco: well I built static almost always for cross compiler, I can hardly see any benefit of building dynamic.
<{^_^}> [nixpkgs] @FRidh merged pull request #40203 → twine: update 1.9.1 -> 1.11.0 → https://git.io/vpiQS
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vpPUl
<{^_^}> → 444d43de by @mmlb: twine: update 1.9.1 -> 1.11.0
<{^_^}> → c3e96922 by @FRidh: Merge pull request #40203 from mmlb/update-twine
<elvishjerricco> angerman: fair enough. Maybe we should just disable shared for cross always
<{^_^}> [nixpkgs] @matthewbauer pushed to master « kpmcore: fix build »: https://git.io/vpPU1
zybell has joined #nixos
<NinjaTrappeur> Hey, I have a really strange nix-shell behaviour: regardless where I am trying to enter a nix-shell env, I have this error message: "error: getting status of '/home/minoulefou/Code/perso/haskell/nixpkgs-stackage/default.nix': No such file or directory". Thing is, this folder no longer exists, I don't understand why nix-shell is trying to access this file
<NinjaTrappeur> Specifying the correct shell.nix file in argv[1] does not change anything. Does anybody already experienced this? This is really confusing
<NinjaTrappeur> Godammit, it was an overlay... Sorry for the noise
orivej has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mipmop has quit [Quit: Konversation terminated!]
LysergicDreams has quit [Ping timeout: 264 seconds]
jrolfs has joined #nixos
spear2 has quit [Quit: Leaving]
humanoyd has joined #nixos
<fearlessKim[m]> overlays can mess up things in subtle (not here) ways (especially as one tends to forget about them)
asuryawanshi has joined #nixos
LysergicDreams has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #40212 → monero: fix daemon crash → https://git.io/vpPIw
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40150 → zoom-us: liblgvnd fix for libGL.so in libpath → https://git.io/vpKVY
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPIi
<{^_^}> → 16463d72 by @srhb: zoom-us: liblgvnd fix for libGL.so in libpath
<{^_^}> → 5720c053 by @xeji: Merge pull request #40150 from srhb/zoom-libgl-libpath
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ciil has quit [Quit: Lost terminal]
coot has joined #nixos
ciil has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
<jluttine> getting: This application failed to start because it could not find or load the Qt platform plugin "xcb"
<jluttine> for something that has worked before
<jluttine> i'm guessing this is related to recent mesa changes..?
<jluttine> am i missing some package from the environment?
<goibhniu> jluttine, ah no, that's a common problem
<goibhniu> jluttine, you have some Qt program which uses an incompatible version of Qt
<jluttine> goibhniu: but it has worked for quite a long time before.. :/
<jluttine> hmm..
<goibhniu> if you have any Qt programs installed in your user profile, moving them to systemPackages might be enough
<jluttine> ok, perhaps conda installed some incompatible Qt
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/vpPtS
<{^_^}> → ba2695a8 by @stmarkevich: fix reading and writing big files (e.g. > 2Gb)
<{^_^}> → 27ffe8ae by @edolstra: Merge pull request #148 from stmarkevich/bigfile
<{^_^}> [patchelf] @edolstra merged pull request #148 → fix reading and writing big files (e.g. > 2Gb) → https://git.io/vpiLb
<jluttine> i have user FHS env for conda and conda installs some Qt stuff..
<jluttine> perhaps i upgraded those yesterday and that broke it :/
<jluttine> hmm..
Ariakenom has quit [Read error: Connection reset by peer]
<jluttine> how do i find my qt version
<jluttine> hmm.. actually it worked after conda upgrades. but stopped working after upgrading my nixos
Ariakenom has joined #nixos
<goibhniu> can you put the error message in a pastebin?
<steveeJ> rycee: it was my mistake, I forgot to add enable = true; to the zsh dictionary :-D
<steveeJ> s/zsh/oh-my-zsh
<goibhniu> jluttine here's a related issue: https://github.com/NixOS/nixpkgs/issues/24256
silver has joined #nixos
<jluttine> goibhniu: yep, been reading that..
rosa has joined #nixos
<jluttine> need to figure out my qt version somehow
jD91mZM2 has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
afics has quit [Ping timeout: 248 seconds]
rosa has quit [Quit: rosa]
alex`` has quit [Ping timeout: 256 seconds]
FRidh has quit [Read error: Connection reset by peer]
cheater has joined #nixos
<cheater> hi
<cheater> does nix run commands with specific quotas? because i am having stuff run out of space and i have no idea why
joehh has quit [Ping timeout: 256 seconds]
<cheater> ohhhh, it puts everything on tmpfs
<cheater> well that explains everything
<cheater> at least mktemp puts things on tmpfs
afics has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40212 → monero: fix daemon crash → https://git.io/vpPIw
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPmM
<{^_^}> → f8f65f83 by @rnhmjoj: monero: fix daemon crash
<{^_^}> → 941054a3 by @xeji: Merge pull request #40212 from rnhmjoj/monero-fix
ericsagnes has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPmN
<{^_^}> → a365b59d by @va1entin: keepassxc: 2.3.1 -> 2.3.2
<{^_^}> → a9cbf62c by @xeji: Merge pull request #40181 from va1entin/master
<{^_^}> [nixpkgs] @xeji merged pull request #40181 → keepassxc: 2.3.1 -> 2.3.2 → https://git.io/vpiev
<cheater> ok, why does mktemp put things on tmpfs? i would much rather have it put things in /tmp
<cheater> or rather: why does it put things on /run
rosa has joined #nixos
<ben> mktemp probably uses an env var
Ridout has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
civodul has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
<cheater> ben: yeah, TMPDIR. but why is this set to /run/user/1000 (my uid)? is this normal for nix shell, or is this something weird in this project?
<silver_hook> My current experiments with the /etc/nixos/sane-extra-config.nix were unsuccessful.
Dezgeg has joined #nixos
fendor_ has joined #nixos
<jD91mZM2> cheater: That's weird, everything works like expected on my system. What version of NixOS are you running?
<gchristensen> cheater: that is normal on NixOS/systemd I think
<symphorien> silver_hook: there is a section about sane and networking on the wiki, maybe it can help
<ben> Yeah I think it's systemd or something
<ben> I kinda thought /tmp was tmpfs too tho
<ben> probably easier for user quotas or something
<ben> or user privacy :V
Maxdamantus has quit [Ping timeout: 256 seconds]
<cheater> jD91mZM2: recent.
Maxdamantus has joined #nixos
<cheater> jD91mZM2: 2.0
<cheater> i have no idea who came up with this, but
<cheater> it's pretty bad
<silver_hook> symphorien: That’s what I did before. I’ll see if I can get it working this time :)
<cheater> it makes stuff fail that shouldn't fail, for no good reason that i can immediately see. if there is a good reason for making mktemp return a place in /run, i'd love to hear about it
<cheater> in my case: allocating a small (several MB) file in a /run that has 350 MB free fails with "out of memory" due to some stupid stuff related to /run
<{^_^}> [nixpkgs] @xeji opened pull request #40214 → nixos/tests/statsd: fix non-deterministic failure → https://git.io/vpP3D
s33se has quit [Quit: s33se]
s33se has joined #nixos
bbarker has quit [Remote host closed the connection]
allana` has joined #nixos
allana has quit [Ping timeout: 240 seconds]
ent has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
<Myrl-saki> How do I callPackage with clang?
<silver_hook> symphorien: So far no luck, with or without the sane-extra-configuration.nix. The only device I find (over USB or WiFi) is the built-in laptop camera.
<clever> Myrl-saki: clangStdenv.mkDerivation ?
<Myrl-saki> clever: Okay, so in my case, `... callPackage ./. {stdenv = ...}`?
<Myrl-saki> Rather
<Myrl-saki> { stdenv = clangStdenv; }`
<clever> Myrl-saki: if you want to force something to switch to clang, yeah, that should just work
<clever> or .override as well if its already been callPackage'd
<silver_hook> symphorien: On my work KUbuntu laptop I just got it to work, but the SANE driver is called “epson2”, which doesn’t seem like it wants to be passed to NixOS.
<Myrl-saki> clever: Oh yeah. That's what I was gonna talk about.
<Myrl-saki> clever: callPackage and .override seems to have different semantics.
<silver_hook> At least: `hardware.sane.extraBackends = [ pkgs.epson2 ];` throws an error
fendor_ has quit [Ping timeout: 246 seconds]
<makefu> silver_hook: there is also https://nixos.wiki/wiki/Scanners , maybe you are more lucky with this
<Myrl-saki> clever: .override seems to only override the package itself, and callPackage seems to be a propagating "override"
<silver_hook> makefu: That’s what I’m looking at, yes.
<makefu> ah
<clever> Myrl-saki: .override can only change the arguments passed into the file, the same ones callPackage overrides
<makefu> this was working for me at least at the time i wrote it
<clever> Myrl-saki: .overrideAttrs will override the attrset passed to mkDerivation
<clever> Myrl-saki: and .overrideDerivation overrides it deeper, after mkDerivation has re-arranged some things, when its about to call something internal
<Myrl-saki> clever: Oh okay.
<Myrl-saki> Thanks, that's clearer now.
winem_ has joined #nixos
LysergicDreams has quit [Remote host closed the connection]
<silver_hook> `imagescan -L` on KUbuntu shows this:
<silver_hook> device `epson2:net:192.168.0.188' is a Epson PID 111F flatbed scanner
<silver_hook> device `imagescan:esci:usb:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0' is a EPSON L386_Series
<{^_^}> [nixpkgs] @timbertson opened pull request #40215 → nix-pin: 0.3.0 -> 0.3.1 → https://git.io/vpPZq
<silver_hook> Neither “pkgs.epson2” nor “pkgs.imagescan” seem to be allowed in hardware.sane.extraBackends.
fendor_ has joined #nixos
<CrazedProgrammer> hi, i'm about to submit a derivation for https://github.com/kilobyte/compsize, but i'm not sure if i should use the latest commit (8th april 2018) or the latest release. there seems to be a minor fix in one of the commits after the release: https://github.com/kilobyte/compsize/commit/903f772e37fc0ac6d6cf94ddbc98c691763c1e62
<silver_hook> What works (i.e. builds) are “pkgs.epkowa“ and “pkgs.epson-escp”. But even then `sudo scanimage -L` doesn’t find any scanner.
<goibhniu> silver_hook: silly question ... did you try disabling your firewall?
<silver_hook> goibhniu: On router or in NixOS?
<goibhniu> on NixOS
<silver_hook> goibhniu: No, I didn’t know how to.
<clever> silver_hook: checking the source of mkSaneConfig, it looks like all valid entries in extraBackends must contain either a lib/sane or an etc/sane.d directory
<jD91mZM2> CrazedProgrammer: I'm not sure, but I think you want to base it on the master branch
<silver_hook> goibhniu: But even with the firewall up, it should detect it through USB. (I’d still like to learn more about the firewall settings, since I want to get KDE Connect working).
<clever> silver_hook: epson2 isnt even a valid package
<clever> silver_hook: same for imagescan
<sphalerite> CrazedProgrammer: I'd go with the latest release, and if they make a point release for the fix update to that
<silver_hook> clever: It’s not a valid package, but that’s what the backend is actually callde.
<sphalerite> jD91mZM2: I think CrazedProgrammer means upstream versions, not nixpkgs versions
<clever> silver_hook: the backend may need to be packaged first
<goibhniu> silver_hook: you might need firmware too
<silver_hook> clever: `locate epson2` does show up quite a few hits.
<jD91mZM2> sphalerite: oh
ericsagnes has joined #nixos
joehh has joined #nixos
<silver_hook> clever, goibhniu: epson2 drivers are in sane-backends and present on disk
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPnl
<{^_^}> → 04703916 by @timbertson: nix-pin: 0.3.0 -> 0.3.1
<{^_^}> → ab9fa89a by @xeji: Merge pull request #40215 from timbertson/nix-pin
<{^_^}> [nixpkgs] @xeji merged pull request #40215 → nix-pin: 0.3.0 -> 0.3.1 → https://git.io/vpPZq
<steveeJ> any home-manager users here that could tell me how to let it configure the default shell for a user?
<jD91mZM2> steveeJ: You set default shell from the normal configuration
<steveeJ> jD91mZM2: that's what I'm trying to avoid
<steveeJ> I even manage the X session through home-manager
<jD91mZM2> Oh. Well chsh requires sudo. For a workaround, look at whatever terminal emulator you're using, or maybe possibly `exec <shell>` from your .bashrc
<etu> jD91mZM2: nope
<{^_^}> [nixpkgs] @WilliButz opened pull request #40216 → grafana: 5.1.1 -> 5.1.2 → https://git.io/vpPno
<Myrl-saki> Does clangStdenv use clangUnwrapped?
<etu> jD91mZM2: cssh doesn't require sudo
<steveeJ> what does cssh do?
<clever> steveeJ: change your shell
<etu> jD91mZM2: chsh requires you to enter your password :)
<jD91mZM2> etu: Ok maybe not but it does change it system-wide
<jD91mZM2> or on a system level, rather
<etu> Yes, but only for one user
<etu> So not system-wide
<steveeJ> etu: I would guess so; I should've asked, how does it do that
<jD91mZM2> I'm not exactly sure how it does that behind the scenes, but it's probably extending it's own privileges somehow
<jD91mZM2> its*
jperras has joined #nixos
<{^_^}> [nixpkgs] @CrazedProgrammer opened pull request #40217 → compsize: init at 2018-04-07 → https://git.io/vpPnF
smichel has quit [Quit: smichel]
xcmw has joined #nixos
<etu> jD91mZM2: yeah, probably some capabilities like sudo, but you don't put sudo in front like you said :p
smichel has joined #nixos
<silver_hook> Woohoo! Works now :D
<silver_hook> It was the firewall, heh.
rosa has quit [Quit: rosa]
<makefu> neat!
<jD91mZM2> By the way, I think NixOS needs some kind of layered trust system. Something like having a certain amount of semi-trusted people vouch for a PR to have it automatically merged
<jD91mZM2> Because there are currently 647 open PRs and 2 431 issues and I think that's a little insane
<silver_hook> Now to only figure out how to properly tweak the firewall, so it doesn’t have to be off for cool stuff to work.
<rizary> hi, anyone experience with android development and deployment. I only found this repo https://github.com/svanderburg/nix-androidenvtests, is there any other repo that i can take a look?
<steveeJ> clever: I would guess so; I should've asked, how does it do that
<silver_hook> BTW, what’s the proper way to run `updatedb` on NixOS?
<clever> silver_hook: chsh is setuid root on most systems, so it is free to edit /etc/passwd
<clever> silver_hook: services.locate.enable = true;
smichel has quit [Client Quit]
jperras has quit [Ping timeout: 250 seconds]
smichel has joined #nixos
andreabedini has joined #nixos
<CrazedProgrammer> spheralite: sorry, i saw your message after writing the PR. i do think the fix is imporant for sshfs users since it would error if it encountered an sshfs mount, which is often in a users' home directory.
<silver_hook> clever: Thanks :)
<sphalerite> jD91mZM2: etu: usually chsh is setuid root
<sphalerite> jD91mZM2: as for auto-merging, it's on the roadmap for borg
<jluttine> goibhniu: just fyi, in case you're interested, fixed the xcb issue by adding xlibs.libX11 and xlibs.libXi to the environment
tertle||eltret has quit [Quit: Connection closed for inactivity]
rosa has joined #nixos
<allana`> I am trying to create a derivation for a 3rd-party propietary software suite. The source is fetched using fetchurl and there are a series of scripts that need to be run that have a #!/bin/bash shebang which cause problems during the build phase. I'm curious to know if anyone else has had this problem and how they chose to address the issue. Is there a way to "ignore" these rigid shebangs? I would like to avoid modifying the underlying
<allana`> source files to suit the needs of the derivation build process.
<goibhniu> jluttine, very interesting!
<sphalerite> I'm trying to netboot some machines using ipxe. I've got it working with GRUB, but it's slow because it transfers the kernel and the (fairly large) initrd via TFTP. I get a kernel panic though: https://gist.github.com/lheckemann/3e547452a3b05510e58e05e6e8a33235 the relevant config for the netboot server is https://gitlab.strathtech.co.uk/Society/nixos-config/blob/master/lab/master.nix
<sphalerite> any ideas?
<sphalerite> clever: ^
Ridout has quit [Quit: Lost terminal]
<clever> sphalerite: i always switch to http once ipxe is running
<sphalerite> allana`: call bash on them explicitly. So bash script.sh rather than ./script.sh
<clever> sphalerite: my dhcp config detects that ipxe is working, and switches it over to an http based script
rosa has quit [Quit: rosa]
<sphalerite> clever: yeah I've got that working, the problem is the kernel panic
<clever> sphalerite: and line 46 gives it a relative path, so ipxe continues to fetch those files over http
<clever> ah, *looks closer*
ericsagnes has quit [Ping timeout: 250 seconds]
<goibhniu> silver_hook: nice! I think it's enough to do firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }]; for KDE connect
<silver_hook> goibhniu: Cool, I’ll try that. Any idea which ports need to be opened for SANE?
<goibhniu> no idea, sorry
<sphalerite> clever: and booting these same files with the same kernel parameters from grub works fine :/
<silver_hook> goibhniu: I’ll look it up. Thanks for the help :D
knupfer has joined #nixos
<clever> sphalerite: the ipxe embeded script says to run boot.ipxe, which doesnt exist in your tftproot derivation, and you also have grub config mixed in
<goibhniu> you're welcome!
<yorick> why are channel downloads cached? that doesn't sound right... https://github.com/NixOS/nix/blob/master/src/nix-channel/nix-channel.cc#L89
<sphalerite> clever: the actual tftp root is a stateful forest of symlinks so I can switch between ipxe and grub more easily
<clever> yorick: i believe the ttl is only an hour
<yorick> clever: okay, but if I update a channel and then do nix-channel --update, I kinda expect the channel to be updated
<sphalerite> clever: the boot.ipxe I use just provides a menu, much like the grub one, which chainloads boot-x86_64.ipxe or boot-i686.ipxe as appropriate
<clever> yorick: update the channel url, or change a channel you are hosting?
<yorick> clever: change a channel I'm hosting
<sphalerite> clever: the grub config isn't mixed in as such, it's in a completely separate file which GRUB loads.
<clever> yorick: ah, if you blow away ~/.cache/nix/tarballs then nix will forget about all cached downloads
<clever> sphalerite: id try adding boot.debug1mounts to the kernel params, and then confirm that $stage2Init exists within /mnt-root/
joehh has quit [Ping timeout: 250 seconds]
<yorick> clever: I've settled for --tarball-ttl 0
<sphalerite> ok, I'll try that next time I'm there. Thanks!
<yorick> clever: but I'm using that cache in other places
<sphalerite> clever: I also think it's odd that it doesn't finish printing the error message before exiting and the kernel dumps its stacktrace
<clever> sphalerite: yeah, that is a bit weird
<clever> sphalerite: how did you capture the console output?
<sphalerite> serial
<clever> baud rate?
<sphalerite> 115200 iirc
<clever> let me check the kernel docs...
<jD91mZM2> Wait, why isn't /mnt a thing
<clever> sphalerite: i think this can greatly slow down the backtrace as it panics
<Dezgeg> maybe your initrd or squashfs filesystem is bad?
<sphalerite> Dezgeg: nope, it boots fine with GRUB
<Dezgeg> I'd add a sleep to the "can't execute ..." line
<Dezgeg> to see the error
<sphalerite> clever: I'll try that too, although I'm not sure that'll affect it?
<Dezgeg> maybe boost loglevel up as well
<clever> Dezgeg: yeah, i was also thinking of a sleep in stage-1-init.sh
<Myrl-saki> I need help. GCC and Clang seems to have different `ld` mechanics. I get `undefined reference to `__libc_csu_fini'` from `clangStdenv`, but not from `stdenv`.
<Dezgeg> or use the initrd debug shell
<Myrl-saki> clever: Yeah, I checked that. I'm working on a libc project, my guess is that ld is adding a bit too much than it should.
<Myrl-saki> FWIW.
<Myrl-saki> /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/crt1.o
<Myrl-saki> We have our own crt1.o.
<Myrl-saki> Oh right. It may also be our fault.
<Myrl-saki> Let me check our Makefile for a bit.
ericsagnes has joined #nixos
jrolfs_ has joined #nixos
<Myrl-saki> Okay, back. I'm not so sure anymore.
<Myrl-saki> Okay. I think it's our fault.
<Myrl-saki> Yep, it's our fault. I didn't set the -L.
<clever> steveeJ: haskellPackages = super.haskellPackages.override { overrides = hsself: hssuper: { gitit = super.haskell.lib.overrideCabal hssuper.gitit (drv: { ...
<steveeJ> clever: impressive, thanks!
jrolfs_ has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
jperras has joined #nixos
acarrico has joined #nixos
<steveeJ> clever: the first super is not available, only _pkgs. did I misname that or should my packageOverrides function take more than one argument?
<clever> steveeJ: for overrides, its typically called pkgs, and you can just change the 2 super's in my example to pkgs
<steveeJ> clever: aha, so there's an intentional shadowing?
<{^_^}> [nixpkgs] @srhb merged pull request #40214 → nixos/tests/statsd: fix non-deterministic failure → https://git.io/vpP3D
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vpPld
<{^_^}> → 844698c4 by @xeji: nixos/tests/statsd: fix non-deterministic failure
<{^_^}> → 2ea084ec by @srhb: Merge pull request #40214 from xeji/fix-statsd-test
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinzelmann has quit [Quit: Leaving]
<clever> steveeJ: yeah
<steveeJ> will " packageOverrides = pkgs: with pkgs; {" use the input argument for the 'with' or the parent's pkgs?
<clever> the input argument
<steveeJ> awesome, thanks!
<steveeJ> unfortunately the override has broken dependencies too :-D
lord| has quit [Quit: WeeChat 2.1]
rosa has joined #nixos
<jD91mZM2> Ugh why is NixOS putting a bunch of `export`s in /etc/zshenv
<jD91mZM2> Apparently this is what overrides my .profile's EDITOR and PATH
<jD91mZM2> Also that's now a slower startup time :|
rosa has quit [Client Quit]
xcmw has joined #nixos
<steveeJ> jD91mZM2: how is the startup time measured?
<jD91mZM2> steveeJ: It isn't because the changes are minimal. Shh, don't make my point look bad
<jD91mZM2> Still, it now overrides a bunch of environment variables. This is bad.
<steveeJ> s/bad/insignificant
<steveeJ> I don't have the file /etc/zshenv on my system
<jD91mZM2> Are you using zsh?
<steveeJ> yes
<jD91mZM2> Did you `programs.zsh.enable` it or just add the package?
<sphalerite> jD91mZM2: it comes from environment.variables, environment.shellInit, and programs.zsh.shellInit
<steveeJ> at least I have users.defaultUserShell = pkgs.zsh;
<steveeJ> I manage the rest through home-manager though
<jD91mZM2> sphalerite: I know it does, but variables in .profile should have higher precedense
<jD91mZM2> sphalerite: In bash, they do. But not in zsh.
<jD91mZM2> steveeJ: Try `programs.zsh.enable = true;`
<jD91mZM2> (in the global config)
<steveeJ> jD91mZM2: I have that disabled intentionally. I want to move away from global configs for my user environment
<Myrl-saki> I think I get what's happening now.
<jD91mZM2> steveeJ: I meant temporarily for seing your /etc/zshenv
<LnL> zshenv only sets a few variables like HISTSIZE
<jD91mZM2> LnL: For me it sets EDITOR and PATH and every other environment variable Nix wants
<sphalerite> jD91mZM2: as far as I can see, zsh doesn't source .profile at all. Try .zprofile?
rosa has joined #nixos
<jD91mZM2> sphalerite: It's usually up to either the .zprofile/.bash_profile or in my case Display Manager to source the .profile
<jD91mZM2> The profile is sourced. The problem is that everything is then overridden because /etc/zshenv gets executed every time you start a new shell
<jD91mZM2> which is completely stupid
<steveeJ> jD91mZM2: you're right that it's a lot slower when the option is enabled
<sphalerite> jD91mZM2: ah yes, that stuff shouldn't be in zshenv then… or at least it should be set like : ${EDITOR:=nano} or something
<LnL> jD91mZM2: yeah I don't think it looks at .profile, zshenv -> zprofile -> zshrc -> zlogin
Neo--- has joined #nixos
<jD91mZM2> sphalerite: Eeeeeeexactly
<sphalerite> jD91mZM2: PRs welcome ;)
<jD91mZM2> Related: nixpkgs#33219, home-manager#183, probably more
LysergicDreams has quit [Ping timeout: 240 seconds]
<sphalerite> infinisil: {^_^} should totally make links out of those :p
LysergicDreams has joined #nixos
<betaboon> hello #nixos, i have a question regarding single-user-mode nix installations (eg on ubuntu) how do i configure remote-builds if there is no nix-daemon ?
<infinisil> Hmm..
justan0theruser has quit [Ping timeout: 256 seconds]
<steveeJ> jD91mZM2: without zsh enable in the global config I still get these environment variables, that's interesting
<sphalerite> betaboon: same as normal
<steveeJ> jD91mZM2: at least least from the samples I've just checked
<sphalerite> betaboon: you can set the builders option in /etc/nix/nix.conf or on the command line
joehh has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
<jD91mZM2> steveeJ: Check $__ETC_ZSHENV_SOURCED
<infinisil> #33219
<{^_^}> https://github.com/NixOS/nixpkgs/issues/33219 (by tiramiseb, open): XDG_DATA_DIRS reinitalized to an incomplete value by zshenv
<jD91mZM2> Woah you're fast
<steveeJ> jD91mZM2: it's 1
civodul has joined #nixos
<infinisil> Nah, I think it failed because the home-manager one wasn't valid
<jD91mZM2> steveeJ: Seems like it didn't get updated
<jD91mZM2> infinisil: ah
<steveeJ> jD91mZM2: old terminal, whops. a new terminal has it unset
<jD91mZM2> Ok so /etc/environment is where Arch and Ubuntu and other distros put their stuff. So globally using PAM instead of globally using the respective shells.
<steveeJ> jD91mZM2: but e.g. PYTHONDONTWRITEBYTECODE is 1
<jD91mZM2> Would it be a good idea to make NixOS also use /etc/environment?
<betaboon> sphalerite: thanks for confirming this, i just figured it out with running strace nix-build, i was just confused that there was no /etc/nix/nix.conf on the system
<sphalerite> betaboon: yeah it doesn't create one automatically, but it does use it. You may want to use ~/.config/nix/nix.conf instead though if you're not running as root
<sphalerite> infinisil: :D
<{^_^}> [nixpkgs] @limeytexan opened pull request #40220 → perlPackages.LinuxACL: init at 0.05 → https://git.io/vpP4x
<betaboon> sphalerite: can i somehow enable remote-builders via env-vars aka on the fly (on multi-user and single-user) ?
<sphalerite> betaboon: not env vars AFAIK, but a trusted user can pass --builders or --option builders on the command line
<{^_^}> [nixpkgs] @jokogr opened pull request #40221 → Jetbrains products' update 2018.1.3 → https://git.io/vpP4j
<sphalerite> (and the owner of the nix store counts as trusted)
<steveeJ> sphalerit: what about NIX_REMOTE=daemon mentioned in the manual?
<betaboon> sphalerite: I'm using nixops, and i doubg that i can pass --builders to it
<sphalerite> steveeJ: betaboon wants to use remote builders, not a nix daemon
<sphalerite> betaboon: https://nixos.org/nixops/manual/#common-options-passed-along-to-nix --option builders should work
<betaboon> sphalerite: nixops man says i can use --option, how can is pass remote builders there.
<steveeJ> sphalerit: aha, I didn't realize that's a different thing
<betaboon> ah you're faster than me XD
<sphalerite> steveeJ: daemon = thing that arbitrates access to the nix store in a multi-user setup; remote builds = building stuff on other machines
<sphalerite> uuuuuugh a 5-hour kernel build failed with out-of-space :(
justan0theruser has joined #nixos
* srhb pats sphalerite
<Dezgeg> yeah there's some regression in the kernel build where it eats way more space than necessary
hyper_ch2 has quit [Ping timeout: 260 seconds]
<betaboon> sphalerite: does `nixops --option builders "ssh://some-host some-architecture"` sound right ?
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #40223 → zsh: move setEnvironment stuff to zprofile → https://git.io/vpPBA
* jD91mZM2 has to go and really hopes his PR won't fail
<sphalerite> betaboon: I think you need to use ssh-ng for builds, but other than that yes
<infinisil> jD91mZM2: sphalerite: Should be fixed: nixpkgs#33219, home-manager#183
<{^_^}> https://github.com/NixOS/nixpkgs/issues/33219 (by tiramiseb, open): XDG_DATA_DIRS reinitalized to an incomplete value by zshenv
wangoe has quit [Quit: WeeChat 1.9.1]
<infinisil> Nice
<betaboon> sphalerite: thats a nix2.0 option right ?
<sphalerite> betaboon: yes
<sphalerite> infinisil: but it doesn't print the second one!
<infinisil> Hmm, should i allow it to work for all github projects Pr's?
MercurialAlchemi has quit [Ping timeout: 246 seconds]
<infinisil> Ah maybe allowing a couple ones like hm, and other nix related ones
<sphalerite> yeah I don't think we need all projects, but nix-related ones definitely
<sphalerite> maybe use the same list as gchristensen's hound search
<betaboon> sphalerite: using the mentioned command doesn't seem to result in building on the remote machine :(
acarrico has quit [Ping timeout: 246 seconds]
<sphalerite> betaboon: does it work if you set it in ~/.config/nix/nix.conf? Or is it maybe using nix 1.11.x?
<betaboon> sphalerite: i have nixos18.03 installed on my machine, but I'm running stuff with pinned nixpkgsChannel, which might result in it using nix 1.11.x, gonna have to check later
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
MercurialAlchemi has joined #nixos
<sphalerite> I want to delete some old generations and still be able to roll back to them. I've copied them to a binary cache, so I can get them back using nix-store -r /nix/store/hash-nixos-system-…, but how can I get the system to that generation after getting it back in the store?
<sphalerite> Would just `nix-env -p /nix/var/nix/profiles/system --set <path> && /nix/var/nix/profiles/system/switch-to-configuration switch` be the right thing?
<clever> sphalerite: that sounds like it would work
<clever> sphalerite: i think nixops does something very similar
<Dezgeg> yeah, should work
seanparsons has quit [Read error: Connection reset by peer]
<clever> ah, thats the local rollbacks though
<sphalerite> cool, thanks
<clever> i think line 696 is when it does it to a remote system
<clever> still pretty much identical to what you typed
<{^_^}> [nix] @yorickvP opened pull request #2145 → make sure not to use cached channels for nix-channel --update → https://git.io/vpPu7
<sphalerite> I'm guessing the only thing that will be different from a normal rollback where it hasn't been GCd is that the generation number will increase rather than decreasing?
<clever> yep
<sphalerite> I have `while sleep 60m ; do nix copy --from ssh-ng://bob@192.168.99.13 --to file://$HOME/www/cache --all; done` running on a server that's got plenty of space (192.168.99.13 is my chromebook which does not have a lot of space), it's pretty convenient
<sphalerite> so I can gc without losing valuable build products
<sphalerite> I should probably make it into a systemd timer or something
asuryawanshi has quit [Ping timeout: 255 seconds]
rosa has quit [Quit: rosa]
<Dezgeg> huh, there's nix-copy --all... I should switch to that
rosa has joined #nixos
seanparsons has joined #nixos
<sphalerite> Dezgeg: yeah, also works for at least path-info and sign-paths
<Dezgeg> sounds much nicer than the current ssh jetson 'comm -23 <(echo /nix/store/* | tr " " "\n" | grep -v '\.lock$') <(nix-store --check-validity --print-invalid /nix/store/*)' I have x)
<sphalerite> :D
<sphalerite> it doesn't copy .drvs though
<Dezgeg> I don't think that's a problem
rosa has quit [Client Quit]
shabius has quit [Quit: Leaving]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
shabius has joined #nixos
cheshircat_ has quit [Ping timeout: 240 seconds]
cheshircat has joined #nixos
shabius has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed to master « In restricted eval mode, allow access to the closure of store paths »: https://git.io/vpPam
shabius has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ab9fa89addb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Mateon3 has joined #nixos
Ariakenom_ has joined #nixos
Ariakenom has quit [Ping timeout: 256 seconds]
Mateon1 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon1
shabius has quit [Client Quit]
shabius has joined #nixos
<betaboon> sphalerite: on the topic of remote-builds and nixops, i now tested `nixops deploy --option builders "ssh-ng://some-host x86_64-linux" --option cores 0 --options max-jobs 0" which results in "error: unable to start any build; either increase '--max-jobs' or enable remote builds". which makes me believe that just setting "builders" isnt sufficient oO
<sphalerite> betaboon: does it work if you set it in ~/.config/nix/nix.conf?
acarrico has joined #nixos
<GlennS> Anyone have any experience with what you have to do to get a jupyter ipython kernel set up on Nix? I've installed jupyter, jupyter_core, jupyter_client, ipykernel and ipython, but when I run `jupyter kernelspec list` it can't find any kernels.
<betaboon> sphalerite: when setting `nix.distributedBuilds = true;` and `nix.buildMachines ...` it tries to connect to the remote builder.
stumble has joined #nixos
<sphalerite> betaboon: I thought you were using a single-user setup on non-nixos!?
<betaboon> sphalerite: I'm using nixos18.03 on my machine, my colleague is using nix on ubuntu ;)
<betaboon> sorry for being unclear about that
<betaboon> I'm trying with ~/.config/nix/nix.conf aswell now tho
<sphalerite> GlennS: not sure how to set it up with installing into a user env, but it works in nix-shell
<GlennS> mmm
<GlennS> I'm trying to get it working with org-babel
stumble has quit [Client Quit]
erasmas has joined #nixos
<betaboon> sphalerite: with setting `builders = "ssh-ng://some-hoste x86-64"` in ~/.config/nix/nix.conf it doesn't work either
<sphalerite> betaboon: the system string should be x86_64-linux
<GlennS> may just have fixed it actually...
<sphalerite> GlennS: installing python.withPackages (ps: with ps; [ipython jupyter]) might work too
<GlennS> yeah I think it's either that or ipkernel instead of ipython
<GlennS> just testing now
<sphalerite> actually even just plain jupyter finds the python3 kernel
<bebarker> Interesting, when I do nix-env --set foo.drv (generated from nix-instantiate foo.nix), the nix-env commands are no longer on my path
freeman42x]NixOS has joined #nixos
<betaboon> sphalerite: ah yeah i used x86_64-linux, sorry for the typo
<clever> betaboon: was nix in the storepath that foo.nix builds?
<sphalerite> bebarker: it sets your profile to the result of building foo.drv, so *only* that will be in the resulting profile
<sphalerite> bebarker: it's like "remove everything and replace it with this"
<betaboon> clever: i don't understand your question :(
<clever> betaboon: what sphalerite said
thefloweringash has quit [Quit: WeeChat 2.0]
<bebarker> sphalerite, somehow I had assumed the nix binaries were implicilty included :)
<sphalerite> betaboon: I think clever meant bebarker
<GlennS> you're quite right
<GlennS> thanks sphalerite
justan0theruser has quit [Ping timeout: 268 seconds]
<sphalerite> bebarker: they're included in the system profile on nixos, on other OSes you only have the user profile, and nix manages itself directly
<bebarker> I was getting a conflict with some file in a different version of the same profile, asking me to change priorities when just using nix-env -if, so I tried nix-env --set
<sphalerite> bebarker: you can roll back using /nix/var/nix/profiles/per-user/(your username)-(previous generation number)-link/bin/nix-env --rollback
<sphalerite> bebarker: if you want to make your profile declarative and write the expression yourself rather than having nix do it for you, you can use nix-env --set -f foo.nix, just make sure to include nix itself in the env :D
grp has joined #nixos
<bebarker> sphalerite, ok, will try both of those suggestions - thanks!
justanotheruser has joined #nixos
obadz has quit [Ping timeout: 276 seconds]
smichel_ has joined #nixos
zopsi has quit [Ping timeout: 255 seconds]
smichel has quit [Read error: Connection reset by peer]
smichel_ is now known as smichel
xAFFE has left #nixos [#nixos]
jrolfs_ has joined #nixos
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]
Neo--- has quit [Ping timeout: 250 seconds]
RyanGlScott has joined #nixos
knupfer has quit [Remote host closed the connection]
joehh has quit [Ping timeout: 246 seconds]
obadz has joined #nixos
troydm has joined #nixos
doyougnu has joined #nixos
<nliadm> anyone here use kakoune from nixpkgs (18.03) ?
drag has quit [Quit: Connection closed for inactivity]
johann__ has joined #nixos
jb55 has joined #nixos
waleee has joined #nixos
<{^_^}> [nixpkgs] @brian-dawn opened pull request #40225 → librealsense: init at 2.11.0 → https://git.io/vpPi5
<nliadm> I can't get a non-manual reproducer, but if someone could check this: fire up `kak -n`, type `:%` (as to run a command in a subshell) and it should immediately trip an assert
RyanGlScott has left #nixos [#nixos]
<{^_^}> [nixpkgs] @FRidh pushed commit from @vcunat to staging « python: 2.7.14 -> 2.7.15 (bugfix + security) »: https://git.io/vpPPW
simukis has joined #nixos
johann__ has quit [Ping timeout: 260 seconds]
johann__ has joined #nixos
<betaboon> upgrading from nix 1.11.x to nix2.0 on a single-user system should simple be removing /nix and rerunning the installer from nixos.org/nix/install right ?
obadz has quit [Ping timeout: 246 seconds]
<goibhniu> betaboon: I don't think there's any need for that. Can't you update nix with nix?
obadz has joined #nixos
<clever> betaboon: nix-env -iA nixpkgs.nix is all you need to do on a single-user setup
<{^_^}> [nixpkgs] @FRidh pushed 64 commits to python-unstable: https://git.io/vpP15
<{^_^}> → 15a49a2f by @FRidh: python: Cython: 0.28.1 -> 0.28.2
<{^_^}> → 48cab266 by @FRidh: python: Nikola: 7.8.14 -> 7.8.15
<{^_^}> → 56672d0e by @FRidh: python: XlsxWriter: 1.0.2 -> 1.0.4
jrolfs_ has quit [Ping timeout: 260 seconds]
<betaboon> clever: thanks :)
mizu_no__ has joined #nixos
ryantrinkle has joined #nixos
<betaboon> clever: that's assuming I'm on nixpkgs-unstable, right ?
<clever> betaboon: yeah
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @limeytexan opened pull request #40226 → perlPackages.NetZooKeeper: init at 0.41 → https://git.io/vpPMx
Ariakenom__ has joined #nixos
Ariakenom__ is now known as Ariakenom
Ariakenom_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40227 → libomxil-bellagio: fix build on gcc8 → https://git.io/vpPDt
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantrinkle has quit [Ping timeout: 240 seconds]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @ThomasMader opened pull request #40228 → [WIP] dmd,dtools,dub: 2.079.0 -> 2.079.1 → https://git.io/vpPyq
halfbit has quit [Client Quit]
jrolfs_ has joined #nixos
halfbit has joined #nixos
endformationage has joined #nixos
<sphalerite> clever: Dezgeg: thanks for the pointers. Managed to work out that it was because of my stateful setup that it didn't boot — the path to the system profile was wrong >_>
<sphalerite> Remaining TODO: make it *actually* faster than loading the images in GRUB via TFTP.
<sphalerite> The DHCP is really slow for some reason
<allana`> Hi, I'm working on a derivation for a piece of software that has a script that is run during the build phase and hard coded to look for /usr/bin/tr (which will not be a valid path in NixOS). Assuming that I cannot modify this script, does anyone know of a way that I can work around this problem?
<gchristensen> surely you're not using tftp, sphalerite
<Dezgeg> there should be a way to have the network configuration passed from one stage to next
<sphalerite> gchristensen: I was with GRUB, now I'm using HTTP with ipxe
<sphalerite> but it's still just as slow as GRUB with TFTP because DHCP takes so long
<clever> sphalerite: the netboot expression in nixos auto-generates an ipxe script you can chainload
<clever> sphalerite: that ensures the init= is always valid
<Dezgeg> maybe in the long term it would be best to skip this iPXE totally and just load the root filesystem from Linux with curl or something
johann__ has quit [Read error: Connection reset by peer]
<goibhniu> hi allana`, you could fix that in the patchPhase e.g. with `/usr/bin/env tr`
<sphalerite> clever: I know, I'm generating my own script that has a valid init=. But I made a temporary one outside nix for testing purposes
<clever> Dezgeg: i did similar in my rpi, one min
<clever> sphalerite: ahh
<sphalerite> Dezgeg: ooh, yes, that would be nice. Although I'd need to build the network drivers into the kernel for that, and building kernels on old hardware isn't fun
<Dezgeg> you can always include the modules on the initrd
jrolfs_ has quit [Ping timeout: 240 seconds]
<sphalerite> Dezgeg: oh right so make a smaller initrd that doesn't include the rootfs as a squashfs
<Dezgeg> yes
<clever> sphalerite: check the 2 links i just pasted
<sphalerite> yeah I am
<clever> and line 142 could be replaced with curl
<Dezgeg> or you could be brave and switch to NFS x)
<Dezgeg> s/brave/maniac/
<clever> nfs left a bad taste in my mouth after 32bit failed so badly with inodes
<sphalerite> Dezgeg: or NBD! :D
<clever> if you have a 64bit nfs server, and inodes go over 4 billion, then a 32bit nfs client fails with EOVERFLOW when you readdir()
<Dezgeg> well the exact same thing can happen with a local filesystem
<clever> and half of nixos treats EOVERFLOW as an empty dir
<sphalerite> I don't have a real end goal with this, it's just a playground. But what would also be nice is if I could use the hard disks in the machines as a cache while having the actual data come from the network
<Dezgeg> add the hard drives as swap?
<sphalerite> will that make it cache network stuff on them? Or is there some additional config to do for that?
<Dezgeg> yes, nfs should use the page cache on the client as well
<Dezgeg> hmm, maybe it doesn't get swapped though
<sphalerite> yeah that's what I'd think
ryantrinkle has joined #nixos
<Dezgeg> maybe you can put the filesystem on a loop device backed by a file on nfs x)
<sphalerite> What I don't get is why the DHCP is so slow… It seems to send about 5 DHCPREQUESTS before any arrive at the server
freusque has quit [Quit: WeeChat 2.0]
johann__ has joined #nixos
<sphalerite> although if I connect them directly they all arrive. I don't think the switch is faulty though
<sphalerite> that is, I've tried with another switch and had the same issue
Ariakenom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bfortz opened pull request #40229 → eid-mw 4.1.19 -> 4.4.1 → https://git.io/vpP9h
<clever> sphalerite: do you have a managed switch?
<clever> sphalerite: is SPAN enabled?
<sphalerite> clever: I think so
<sphalerite> What's SPAN? :p
<clever> STP is another name for it
<clever> its a managed-switch feature that detects if you create cycles in your network, and auto-disables a port to keep things in a tree
endformationage has quit [Read error: Connection reset by peer]
<sphalerite> ah. I don't know :p
<clever> on my switch, it doesnt forward packets until the port has been live for ~15 seconds, and it has had time to detect a cycle
<clever> my bios also gives up booting if it doesnt get a reply within ~10 seconds
<clever> and upon rebooting, it disables the link, resetting the 15 second timeout
<clever> and so, the machine just never boots
<clever> but if i put a dumb switch between the computer and managed switch, it works instantly
endformationage has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<nyanloutre[m]> Hello ! Do any of you have experience with nginx listening on a UNIX socket instead of a TCP port ?
<nyanloutre[m]> I can't figure how to set this up with NixOS
<{^_^}> [nixpkgs] @globin merged pull request #40227 → libomxil-bellagio: fix build on gcc8 → https://git.io/vpPDt
<{^_^}> [nixpkgs] @globin pushed commit from @Synthetica9 to gcc8 « libomxil-bellagio: fix build on gcc8 »: https://git.io/vpPHB
<nyanloutre[m]> My goal is that my HAproxy front can discuss with several nginx vhosts via UNIX sockets
rauno has quit [Ping timeout: 255 seconds]
<clever> nyanloutre[m]: i think if you just use the virtualhost .extraConfig, you can inject the right nginx config line for that
<sphalerite> clever: just accidentally unplugged the switch, taking down the internet for about 5 minutes…
<clever> sphalerite: fun
<{^_^}> [nixpkgs] @xeji merged pull request #40216 → grafana: 5.1.1 -> 5.1.2 → https://git.io/vpPno
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpPQf
<{^_^}> → 1f2647aa by @WilliButz: grafana: 5.1.1 -> 5.1.2
<{^_^}> → a1eea845 by @xeji: Merge pull request #40216 from WilliButz/update-grafana
johann__ has quit [Quit: Leaving.]
<clever> nyanloutre[m]: services.nginx.virtualHosts."www.example.com".extraConfig = "listen unix:/path/to/socket;";
<nyanloutre[m]> clever: Yes I could try this thanks
jb55 has quit [Ping timeout: 255 seconds]
<clever> nyanloutre[m]: i suspect nixos will still insist that you also listen on a tcp port, so just set it to some dummy value and dont open that on the firewall
<nyanloutre[m]> clever: thanks
<sphalerite> clever: so I plugged a cable into the switch's "CONSOLE" port and now I've got a prompt saying Switch>. I'm guessing now I look up the switch's manual?
<sphalerite> clever: is there a way to make DHCP work more quickly without allowing loops?
<clever> sphalerite: is it a cisco product?
<sphalerite> clever: yeah, catalyst 3750
<clever> sphalerite: if its cisco, the keywords you want are: spanning-tree portfast
<Dezgeg> I doubt your home network topology will become complicated enough to contain switching loops :P
<clever> sphalerite: and "enable" is cisco for "sudo"
<clever> and "disable" undoes it
<clever> sphalerite: another handy thing, you can set an IP on the switch and enable telnet (and probably ssh on a newer model then mine), then get console over that
<sphalerite> Dezgeg: it's not a home network
* sphalerit uploaded an image: IMG_20180509_164113.jpg (81KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/iBksJBaqvxsPCmXFbcjWmJHg>
<sphalerite> Dezgeg: it's the network that connects all this crap ^
<sphalerite> and I'm likely to make really stupid mistakes that would break stuff in really confusing ways if I don't leave the safeguards against it on :p
<clever> ok, thats a bigger network then mine :P
<serentty[m]> clever: I thought you meant the Nintendo Switch, and I was excited because I thought you had found some hidden debugging mode.
<maurer> serentty[m]: Google "reswitch" if you need to root a switch
<clever> serentty[m]: that hidden debug mode has already been found, short out 2 pins on the right connector, and it will run unsigned code shoved over the USB port
<maurer> err, reswitched rather
<maurer> the ed is required
<Dezgeg> well, that's not quite true; rather you run an exploit that allows running unsigned code
<clever> serentty[m]: but the boot rom and signing hasnt been fully defeated, and it can only boot unsigned code over usb, and once rebooted, the stock OS is back
<clever> samueldr: nice
<samueldr> I'm waiting for progress upstream on one or two issues to continue playing around with the nixos aarch64 port
<serentty[m]> clever: Yeah, I knew about that. I was just misimagining what you said.
<samueldr> but all that tethered nonsense works with the overlay
<clever> samueldr: have you considered using my qemu-user stuff to build the kernel and system image?, and is that running nixos on the switch?
<samueldr> clever: I already have the fail0vervlow kernel building using the nixos infra :)
* Synthetica stumbles into this conversation
<Synthetica> NixOS on a switch?
<samueldr> but the issues with display init (fails randomly) and me not having 1.8b UART yet are making me wait
<samueldr> 1.8v*
<samueldr> well, I just received yesterday the 1.8v USB serial, I'm left to receive a rail kit so I don't have to sacrifice a joycon
<clever> samueldr: 1.8v??, thats fairly low
<Dezgeg> it's the norm these days
<samueldr> that's what the joycon's serial runs at
<samueldr> WIP dirty tree with the kernel and u-boot https://github.com/samueldr/nixpkgs/commits/feature/HAC
<sphalerite> clever: hm, "show spantree 1/1" tells me "invalid input"
<samueldr> coreboot probably won't be buildable without a bunch of work :/
<clever> sphalerite: what does the prompt say?
<samueldr> the u-boot and kernel from that tree aren't tested *at all*
<sphalerite> clever: Switch# (I typed enable0
rauno has joined #nixos
<samueldr> and the tethered tools haven't been updated since I moved them to an overlay
<clever> sphalerite: i think you also need to do `configure terminal`
<{^_^}> [nixpkgs] @ngortheone opened pull request #40230 → Do not kill udev during boot → https://git.io/vpPd5
<sphalerite> clever: nope, didn't help
<sphalerite> it changed the prompt to Switch(config)# but didn't make the command work
<clever> sphalerite: you can also type ? at any point to trigger "tab" completion
<sphalerite> yeah, I saw that
dbe has joined #nixos
<sphalerite> it does seem to support SSH also, but first I want speedy DHCP :D
halfbit has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #40231 → pythonPackages.configobj: enable tests → https://git.io/vpPF1
jrolfs_ has joined #nixos
nuncanada has joined #nixos
pkill9 has joined #nixos
<sphalerite> clever: I've made some progress, but I'm still not sure which interfaces to set portfast on. I'd like to do it on the physical ports numbered 33-48 but I'm not sure what that translates to for the purpose of the command
<clever> sphalerite: one sec
<clever> let me plug my catalyst back in...
<sphalerite> clever: oh, show interfaces summary seems to give me what I want
<clever> yeah, thats what i was going to find the name of
<clever> it should also show the link status of each
<sphalerite> yep
<clever> unplug something and diff
<clever> oh, also turn on snmp
<sphalerite> it actually helped me discover that something that was supposed to be plugged in wasn't plugged in :D
<clever> cacti and other tools can graph the bytes/sec on every physical port
<sphalerite> now how do I set this on 16 ports at once?
<clever> write a bash for loop that echo's to one terminal, then paste paste paste?
<sphalerite> xD
<Dezgeg> you can pipe to /dev/ttyUSB* directly
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpPb9
<{^_^}> → bf02618e by @brainrape: idrisPackages.vdom: init at 0.6.0
<{^_^}> → b9054ec5 by @matthewbauer: Merge pull request #40168 from brainrape/init-idrisPackages-vdom
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40168 → idrisPackages.vdom: init at 0.6.0 → https://git.io/vp6Or
<Dezgeg> that's actually more recommended, since if you copy paste you often feed the device data faster than it can process it
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vpPb5
<{^_^}> → f0353d41 by @ruuda: squashfsTools: update package metadata
<{^_^}> → 9c50f530 by @ruuda: squashfsTools: apply reproducibility patches
<{^_^}> → 2779725c by @matthewbauer: Merge pull request #40175 from ruuda/reproducible-squashfs
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40175 → squashfsTools: apply reproducibility patches → https://git.io/vp6an
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40042 → input-utils: init at 1.3 → https://git.io/vprXh
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpPbh
<{^_^}> → 4a2bf9c4 by @samueldr: input-utils: init at 1.3
<{^_^}> → d9debbea by @matthewbauer: Merge pull request #40042 from samueldr/package/input-utils
<samueldr> \o/
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<sphalerite> printf 'interface FastEthernet 1/0/%d\nspanning-tree portfast\n' {33..48} | tmux loadb -
<sphalerite> hm yeah it seems to have stopped halfway with that, doing the printf > /dev/ttyS0 worked though
<sphalerite> thanks!
<Dezgeg> now to figure out what random settings got changed with the partial input x)
rihards has joined #nixos
<Dezgeg> I tend to add a sleep 0.1 or something between each line when I try stuff like that
<sphalerite> YAY IT WAS SO FAST
<sphalerite> thanks for all the help!
<jD91mZM2> sphalerite: Sorry for being out of the loop, what's going on?
<sphalerite> now to enable SSH :D
xy2_ has joined #nixos
<sphalerite> jD91mZM2: networking shenanigans. Not actually NixOS-related, except that it helped make my nixos netboot stuff work better
<jD91mZM2> Aha
jrolfs_ has quit [Ping timeout: 255 seconds]
winem_ has quit [Ping timeout: 260 seconds]
seanparsons has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
sigmundv_ has quit [Ping timeout: 260 seconds]
rauno has quit [Ping timeout: 246 seconds]
<sphalerite> Heh, having them all boot simultaneously is not fast.
<{^_^}> [nix] @adevress opened pull request #2146 → Cleanup and Update of nix.spec file → https://git.io/vpPxI
<clever> sphalerite: in theory, you could setup some RR dns for your http server?
<sphalerite> RR?
<clever> round-robin
<clever> several IP's behind a single name
<rycee> steveeJ: Glad it worked out for you :-) I don't know much about the zsh module so I wouldn't have been able to help you very well.
coot has quit [Quit: coot]
<pkill9> how do i temporarily use the latest git master of the nixpkgs-unstable repo?
<judson> clever, thanks for the tip yesterday about resizing. Can nixops do that itself?
<pkill9> well
<pkill9> use a single package from there with something else
<clever> judson: resizing the disk?
seanparsons has joined #nixos
<judson> Yes.
<clever> judson: i dont think nixops has an option for that, youll need to manually resize it in the aws console
<judson> I did already, but it seems like it would be handy. There's a couple of features I'd like to see and am considering PRs.
<judson> That seems(?) smaller that preserved resources. (e.g. elasticIPs)
raynold has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @xeji closed pull request #40229 → eid-mw 4.1.19 -> 4.4.1 → https://git.io/vpP9h
rauno has joined #nixos
<judson> But I gotta say, resize on reboot is nifty.
<clever> very
edofic has quit []
<{^_^}> [nixpkgs] @ngortheone opened pull request #40233 → Do not kill udev during boot 17.09 → https://git.io/vpPhd
zopsi has joined #nixos
periklis has quit [Ping timeout: 246 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @ngortheone closed pull request #40233 → Do not kill udev during boot 17.09 → https://git.io/vpPhd
pkill9 has left #nixos ["WeeChat 2.1"]
<sphalerite> clever: oh right! Yeah, OOH for extra fun I could make the netbooted hosts serve the boot images as well hahaha
aarvar has quit [Ping timeout: 256 seconds]
<sphalerite> Or downloading them via bittorrent would be cool.
leary` has quit [Remote host closed the connection]
nuncanada has quit [Quit: Leaving]
Lears has joined #nixos
nuncanada has joined #nixos
nuncanada has quit [Client Quit]
<{^_^}> [nixpkgs] @ngortheone opened pull request #40234 → Do not kill udev during boot 17.09 → https://git.io/vpXey
shoogz has quit [Ping timeout: 240 seconds]
<clever> sphalerite: :D
<sphalerite> is bittorrentfs a thing? I bet it is
<sphalerite> it's not? :o
shoogz has joined #nixos
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @mnacamura closed pull request #39153 → lightdm-mini-greeter: init at 0.3.2 → https://git.io/vptfS
<{^_^}> [nixpkgs] @mnacamura reopened pull request #39153 → lightdm-mini-greeter: init at 0.3.2 → https://git.io/vptfS
<clever> sphalerite: id use IPFS if possible
<sphalerit> Yeah that would also be cool
doyougnu has quit [Ping timeout: 255 seconds]
<clever> sphalerite: there are also some minor security issues ive noticed with the IPFS protocol
jgertm has joined #nixos
<clever> sphalerite: first, the node generates a keypair on first startup, and posts a pubkey=$MYIP to the DHT on every startup, so you can now be tracked at all times
<clever> sphalerite: second, it also publishes the hashes of every file and block you are sharing
<clever> anybody with knowledge of the protocol can probably iterate those, and download all of your shared files
<sphalerite> clever: but it doesn't need to be connected to the internet, right? I can just use it on the LAN
<clever> probably
<clever> but i think the p2p bootstrap uses dns to find a stable node, and then the rest of the world
<sphalerite> surely it would use local discovery too
<clever> yeah, i would expect it to also have that
<clever> i havent ran it in a while
* clever heads off to bed
<sphalerite> have a good day's sleep :p
<clever> :D
zincy_ has joined #nixos
zincy_ has quit [Ping timeout: 260 seconds]
rauno has quit [Ping timeout: 264 seconds]
* sphalerit uploaded an image: IMG_20180509_182839.jpg (300KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/SawLznUofqVxZQizBTtaTGXB>
<sphalerit> The desktop farm is running!
coot has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #40235 → ocamlPackages.ocamlnet: 4.1.5 -> 4.1.6 → https://git.io/vpXJa
<Synthetica> Hmm, I've recently sold a couple of those boxes 🤔
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #40236 → gnucash: add upgrade instructions to NixOS release notes → https://git.io/vpXJD
<Synthetica> sphalerit: what's it for?
<sphalerite> Synthetica: mostly playing around with
<sphalerite> I've got them all netbooting nixos, next step is to test the RAM and HDDs in all of them
<Synthetica> Ah, cool :)
rauno has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Remote host closed the connection]
<ghostyy> in nixos is there a way to include a file as a string
<ghostyy> er, nix
<ghostyy> specifically i dont want my wireguard private keys in my configuration.nix
rauno has quit [Ping timeout: 256 seconds]
<ghostyy> i want them in a separate file which has different permissions
<electrocat> ghostyy: ofcourse, the import statement
<ghostyy> ah great
<ghostyy> thanks!
<sphalerite> ghostyy: you'll want to use the privateKeyFile option
<sphalerite> ghostyy: otherwise it still gets imported into the nix store as a world-readable(!) file
<ghostyy> oh! perfect
<electrocat> sphalerite: right, good point
<ghostyy> do i just copy my keyfiles into /run/keys ?
<ghostyy> or is there a better place for them
jgertm has quit [Ping timeout: 240 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
<steveeJ> Profpatsch: zimbatm pointed me towards the container page you've set up on the wiki as I approached him about forming a SIG for Kubernetes. are you interested in helping to set that up?
TheAppleMan has quit [Ping timeout: 256 seconds]
<sphalerite> ghostyy: /run/keys is a nixops-specific thing really. You can use it, but note that anything under /run doesn't persist across boots!
<ghostyy> ahh i see!
<Profpatsch> steveeJ: I don’t use kubernetes, but please don’t hesitate to add yourself to the container workgroup
<ghostyy> do things in /etc persist?
<sphalerite> ghostyy: I think the usual location for that sort of stuff is either /var or /etc, or you could put it in root to be surer of only root being able to read them
<ghostyy> ahh
<bebarker> I put together some reproducible recovery info here, happy to have feedback if anyone wants to take a look, and thanks again for all the help so far: https://stackoverflow.com/questions/50242387/how-to-record-a-reproducible-profile-in-nix-especially-from-nix-env/50257762#50257762
<sphalerite> ghostyy: yes, unless you've set it up otherwise (which is unlikely)
<sphalerite> thing with /etc being that nixos manages most of its contents
<{^_^}> [nixpkgs] @peti merged pull request #40198 → haskellPackages.blank-canvas_0_6_2: dontCheck → https://git.io/vpiMz
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vpXTD
<{^_^}> → 33bc4a7b by @endgame: haskellPackages.blank-canvas_0_6_2: dontCheck
<{^_^}> → 85fc8338 by @peti: Merge pull request #40198 from endgame/dontCheck-blank-canvas_0_6_2
jgertm has joined #nixos
<ghostyy> ill put it in /var then, thanks!
<steveeJ> Profpatsch: what do you use for scheduling containers?
Arcaelyx has joined #nixos
Arcaelyx has quit [Client Quit]
<Profpatsch> steveeJ: Scheduling? Right now only a pretty static docker-compose
<Profpatsch> kubernetes feels like overkill for this use-case.
<Profpatsch> Another few 100k lines of code to schedule some stuff. Hrm
<steveeJ> Profpatsch: gotcha, is it in a single node environment?
<Profpatsch> Plus made by a giant corporation for their thousands of production servers, other scaling requirements
<Profpatsch> Yeah, right now it is.
betaboon has quit [Quit: WeeChat 2.0]
asuryawanshi has joined #nixos
<Profpatsch> And postgres & rabbitmq we use do scale fairly easily without a lot of management.
<judson> Is there a way for nixops to run... distributedly? It seems like you've got to `nixops deploy` from exactly one place.
rauno has joined #nixos
Sonarpulse has joined #nixos
<zimbatm> judson: it depends :D
<zimbatm> the nixops state file contains a few things, some of them can be discarded
<simpson> steveeJ: Are you looking for people deploying Nix-built stuff on k8s, or people using Nix to administer and deploy k8s itself?
<Profpatsch> judson: iirc that’s what disnix is trying to achieve
<zimbatm> judson: 1. SSH key to ssh into the box. If you provision all your machines with your admin public keys then they can be discarded
<Profpatsch> simpson: wat, it’s already customary to number-cut it like i11n?
* Profpatsch shakes head
asuryawanshi has quit [Remote host closed the connection]
<zimbatm> judson: 2. only use network "none"
<steveeJ> simpson: primarily for the former, the latter would of course go very well with it
<Synthetica> Well, i18n is an exception I think
<simpson> steveeJ: Well, then yeah, I do that. I haven't really felt any need for a SIG or other coordinated effort, but I'm interested in the discussion.
asuryawanshi has joined #nixos
<Profpatsch> Synthetica: Ah, it was 18 :)
<Synthetica> Because it's so damn long to type
<Synthetica> We're speaking English, not German :P
<sphalerite> Profpatsch: and l10n
<steveeJ> simpson: the goal would be keep up with upstream releases and always have the tests working
Sonarpulse has quit [Remote host closed the connection]
<samueldr> a11y uses 11 (accessibility)
<simpson> Which upstreams and which tests? Are we behind in some way?
<sphalerite> samueldr: oh yeah that one!
<Synthetica> I've never heard of l10n and a11y being used before now
<mightybyte> When I do a nix-build I'm getting an error "file 'nar/xyz.nar' missing from binary cache"
<mightybyte> I can't for the life of me figure out how to avoid this.
zincy has joined #nixos
<steveeJ> simpson: the official releases of kubernetes, and the tests currently available in the nixpkgs tree, and eventually the e2e testsuite
<samueldr> l10n is localization, closely related to i18n, internationalization
olto has joined #nixos
<samueldr> (and I hate numeronyms too, but it's useful to know them)
<simpson> steveeJ: Ah. Yeah, that's stuff I don't really care about, sorry. But it's probably good to get done.
coot has quit [Quit: coot]
coot has joined #nixos
raynold has joined #nixos
<steveeJ> simpson: if you wanted to host a production cluster you'd probably care, right? :-D
<simpson> I like this PR though.
<simpson> Yeah. My position is that administering k8s directly is quite hard, and letting the public cloud vendor do it has been reasonable for me for now.
<simpson> Also I think that it's unfortunate that there's no way to have a maintainer for our system service modules.
leat has quit [Quit: WeeChat 2.0.1]
leat has joined #nixos
olto has quit [Quit: ZNC - https://znc.in]
<elvishjerricco> samueldr: Does your Bluetooth headset connect to your Linux machine automatically? Mine does, but not quite successfully, leaving it in a state where I have to manually disconnect it and reconnect it for it to work.
<steveeJ> simpson: I think with the SIG we'd have plenty of maintainer responsibility
<samueldr> elvishjerricco: no, but I think the headset is weirdly broken, it doesn't connect to anything automatically :/
<elvishjerricco> samueldr: I have a bunch of devices that I switch it between, so I actually wish mine didn't autoconnect :P
<samueldr> hah, not a bug, a feature!
<samueldr> though yeah, this isn't helpful since I can't help with automatic reconnects
olto has joined #nixos
coot has quit [Quit: coot]
zincy has quit [Ping timeout: 260 seconds]
coot has joined #nixos
deepfire has quit [Ping timeout: 250 seconds]
<judson> zimbatm: Having done those two things, the state file doesn't matter? Huh.
<steveeJ> simpson: unfortunately it's too hard for me alone to pick up the current state of the module, there are too many errors in the log
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40236 → gnucash: add upgrade instructions to NixOS release notes → https://git.io/vpXJD
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpXtZ
<{^_^}> → 0198bcc1 by @emmanuelrosa: gnucash: add upgrade instructions to NixOS release notes
<{^_^}> → d13108da by @xeji: Merge pull request #40236 from emmanuelrosa/gnucash-release-notes
asuryawanshi has joined #nixos
<simpson> steveeJ: Totally makes sense.
MP2E has joined #nixos
fendor_ has quit [Ping timeout: 255 seconds]
<zimbatm> judson: yeah pretty much, nix-copy-closure + activation script is atomic so it can happen from any host
Arcaelyx has joined #nixos
<infinisil> The activation script is atomic?
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/vpXt6
<{^_^}> → d8bc0438 by @peti: libNixName: add mappings for dbusmenu-glib-0.4 and dbusmenu-gtk3-0.4
<{^_^}> → 241b374d by @peti: libNixName: sort cases alphabetically
<zimbatm> maybe not the service reloads actually
<zimbatm> it could be wrapped in a flock
<zimbatm> the symlink swap to /run/current-system is atomic
<infinisil> Yeah, and the one in /etc
<infinisil> But I don't think the whole activate script in of itself is atomic
<infinisil> Not sure though
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/vpXqL
<{^_^}> → 5c26dd31 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → 77fbd14d by @peti: haskell-gi: apply upstream patch to fix the doctest suite
<{^_^}> → a9577da1 by @peti: haskell-brick: update override for ghc-8.4.x to the latest version
coot has quit [Remote host closed the connection]
Neo-- has joined #nixos
vaninwagen has joined #nixos
coot has joined #nixos
<{^_^}> [nixpkgs] @bfortz opened pull request #40237 → eid-mw: 4.1.9 -> 4.4.1 → https://git.io/vpXq2
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @va1entin opened pull request #40238 → keepassxc: 2.3.2 -> 2.3.3 → https://git.io/vpXmc
<{^_^}> [nixpkgs] @srhb merged pull request #39671 → nixos/keepalived: Implemented vrrp-instance track scripts and track interfaces → https://git.io/vpBfs
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vpXmP
<{^_^}> → 41d4bd29 by @johanot: nixos/keepalived: Implemented vrrp-instance tracking scripts and interfaces.
<{^_^}> → 3befef82 by @srhb: Merge pull request #39671 from johanot/keepalived-vrrpInstanceTracking
ftzm has joined #nixos
deepfire has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #40239 → nixos/tests/plotinus: fix non-deterministic failures → https://git.io/vpXY5
<{^_^}> [nixpkgs] @megheaiulian opened pull request #40240 → distrobuilder: init at HEAD → https://git.io/vpXYd
coot has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 256 seconds]
coot has joined #nixos
MichaelRaskin has joined #nixos
zincy has joined #nixos
Neo-- has quit [Ping timeout: 246 seconds]
<zincy> Say I have two private haskell libraries in different directories. Library A imports B. How do I import B using A in nix
<zincy> *within
jbboehr has quit [Quit: Quit]
<Synthetica> Is it possible to get an email when a Hydra job finishes?
FRidh has quit [Quit: Konversation terminated!]
vaninwagen has quit [Ping timeout: 255 seconds]
GiGa has joined #nixos
GiGa has quit [Changing host]
GiGa has joined #nixos
<GiGa> Evening all
vaninwagen has joined #nixos
<GiGa> Sorry to keep asking, but anyone used a Yubikey with Nixos?
<electrocat> GiGa: yes
<infinisil> ,ask GiGa
<{^_^}> GiGa: Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<electrocat> "don't ask to ask, just ask"
<electrocat> most important rule on irc :p
<infinisil> Indeed :P
<{^_^}> [nixpkgs] @xeji merged pull request #40238 → keepassxc: 2.3.2 -> 2.3.3 → https://git.io/vpXmc
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpX36
<{^_^}> → 32d8a7d2 by @va1entin: keepassxc: 2.3.2 -> 2.3.3
<{^_^}> → 59e94000 by @xeji: Merge pull request #40238 from va1entin/master
<GiGa> electrocat: I would agree but having asked recently the question I figured I'd go with finding out if anyone had actually used the device in question
<GiGa> rather than wasting everyone's time
<GiGa> I have a Yubikey, I'm trying to get it working in Nixos
<GiGa> not having any luck
<electrocat> what doesn't work?
<electrocat> anything?
<GiGa> getting to that, needed to turn a light on
<GiGa> lsusb shows the device is present (Yubico.com Yubikey Touch U2F Security Key)
<GiGa> yet the yubico tools suggest there's no yubikey present
<electrocat> ok, pressing the key generates OTP's?
<GiGa> I'm assuming, quite possibly wrongly, that the problem relates to udev
<electrocat> it's usually udev :p
<GiGa> This is a fido2 U2f key so pressing the button won't do anything unless prompted
ftzm has left #nixos ["WeeChat 2.2-dev"]
<electrocat> hm
<electrocat> this is embarassing
<electrocat> don't have my nixos machine on me right now
<GiGa> what, me?
<GiGa> ah, that could be a problem
<{^_^}> [nixpkgs] @xeji merged pull request #40204 → [RDY] wireshark: run binary from nix-shell → https://git.io/vpi5x
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpXsf
<{^_^}> → ab613b93 by @teto: wireshark: run binary from nix-shell
<{^_^}> → c85d0bec by @xeji: Merge pull request #40204 from teto/wireshark_hook
<electrocat> i also never use the yubico tools
<electrocat> i just use it as gpg smartcard
<GiGa> Using chromium (not chrome, which may also be an issue) plugging in the yubikey when prompted just says "something went wrong"
<zincy> How do you import another derivation as an input into a given derivation? Essentially composing nix configs?
<GiGa> which yubikey do you have electrocat ?
robstr has quit [Quit: WeeChat 1.9.1]
<GiGa> zincy: like wanting to perform an include?
<electrocat> yubikey 4
jrolfs has joined #nixos
<zincy> Not sure what an include is?
<electrocat> zincy: simply pass it as an argument?
<zincy> Yes
<GiGa> zincy: are you wanting to have one file with some common config (that perhaps you share across a few computers) and then just say in the main config "also include the config in that file over there?"
<zincy> Yep
<{^_^}> [nixpkgs] @xeji merged pull request #40179 → mesa: 17.3.9 -> 18.0.3 → https://git.io/vp6FA
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/vpXsu
<{^_^}> → 014f2cdb by @dtzWill: mesa: 17.3.9 -> 18.0.3
<{^_^}> → df062e3f by @xeji: Merge pull request #40179 from dtzWill/update/mesa-18.0.3
<zincy> I am trying this - but to no avail ... let shared = import ../shared/default.nix; in
<zincy> where shared is the name of the module I am trying to include
<GiGa> zincy: this is in your configuration.nix yeah?
chessai has joined #nixos
<GiGa> zincy: imports = [ ./machine_common.nix ];
<GiGa> zincy: or imports = [ ../shared/default.nix ];
<GiGa> I would think?
<zincy> yeah
<GiGa> zincy: see if that helps?
<GiGa> I tend to look at Devhell's config (https://github.com/devhell/nixosconf/tree/master/machines) whun I'm stuck.
dbmikus has joined #nixos
<zincy> Get error: syntax error, unexpected '=', expecting $end, at /Users/tom/client/app.nix:1:9
<GiGa> electrocat: Seems the security key doesn't work with google-chrome-stable either. Is there a way to tell if the key is being detected correctly? I can't use the security key as a smartcard with PGP
<GiGa> zincy: are you able to paste your config at pastebin? Sounds like a syntax error to me
jrolfs has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
<GiGa> that file you pasted was app.nix I'm guessing?
acarrico has quit [Ping timeout: 250 seconds]
<zincy> correct
<GiGa> I'm quite new to this
<GiGa> do you simply need to add those?
<electrocat> GiGa: it's hard to help if i cant check why it works on my end :S
Sonarpulse has joined #nixos
<infinisil> zincy: what does your shared/default.nix file contain?
Sonarpulse has quit [Client Quit]
<GiGa> electrocat: Quite agree
nur0n0 has joined #nixos
Sonarpulse has joined #nixos
<infinisil> zincy: if it's something like `{ shared = ...; }` then you need to replace the first line in your gist with `with import ../shared/default.nix;`
<infinisil> gist/pastebin
<{^_^}> [nixpkgs] @xeji merged pull request #39566 → owncloud-client: 2.3.4 -> 2.4.1 → https://git.io/vpWHg
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpXGj
<{^_^}> → 882ed257 by @bfortz: owncloud-client: 2.3.4 -> 2.4.1
<zincy> ^ That is the default.nix I am importing
<{^_^}> → 96c2cad2 by @xeji: Merge pull request #39566 from bfortz/owncloud-2.4.1
<johnw> how do I determine which Git version of nixpkgs a system is using, even if it comes from a channel?
<infinisil> zincy: Ah, then you want to use `{ pkgs ? import <nixpkgs> {} }: let shared = pkgs.haskellPackages.callPackage ../shared/default.nix {}; in`
<infinisil> Ah wait, it could be nicer
<zincy> Oh then I get this error: anonymous function at /Users/tom/client/app.nix:1:1 called with unexpected argument 'miso', at /nix/store/l713q53x0h6lngb58g
alex`` has joined #nixos
<infinisil> Hold on
<{^_^}> [nixpkgs] @romildo opened pull request #40241 → plano-theme: 3.24-3 -> 3.28-1 → https://git.io/vpXZV
<infinisil> There's a better way to do this
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zincy> Sure
<infinisil> zincy: Read through section 9.5.3 of the nixpkgs manual: https://nixos.org/nixpkgs/manual/#how-to-create-nix-builds-for-your-own-private-haskell-packages
Dezgeg has quit [Ping timeout: 246 seconds]
chessai has quit [Remote host closed the connection]
Arcaelyx has joined #nixos
<johnw> ah, it's nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version
<johnw> '
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gnidorah opened pull request #40242 → linux: enable support for iGVT-g VGPU → https://git.io/vpXng
Dezgeg has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @limeytexan to master « perlPackages.NetZooKeeper: init at 0.41 »: https://git.io/vpXnD
xcmw has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #40226 → perlPackages.NetZooKeeper: init at 0.41 → https://git.io/vpPMx
astrofog has joined #nixos
<infinisil> johnw: or `nix-instantiate --eval '<nixpkgs/lib>' -A version`, or lib.version with <nixpkgs>
<johnw> nice
<infinisil> Although, that seems to be a new thing, i don't have version, only nixpkgsVersion
<infinisil> Sorry, I seem to have overlooked your question before
<{^_^}> [nixpkgs] @rycee pushed 2 commits to master: https://git.io/vpXcY
<{^_^}> → 9410c39b by @limeytexan: perlPackages.LinuxACL: init at 0.05
<{^_^}> → df37647a by @limeytexan: Fix alphabetization of perl modules
knupfer has joined #nixos
LnL has quit [Ping timeout: 248 seconds]
tnks has joined #nixos
olto has quit [Read error: Connection reset by peer]
<tnks> I tried to simplify this invocation with the -f switch, but got stuck: nix run '(with import <nixpkgs> {}; python36Packages.python.withPackages (p: with p; [ docker ipython ]))' -c ipython
zincy has quit [Ping timeout: 260 seconds]
<tnks> the "with import <nixpkgs> {}" part seems verbose.
<tnks> oh... maybe I need -I or something.
<{^_^}> [nixpkgs] @rycee closed pull request #40220 → perlPackages.LinuxACL: init at 0.05 → https://git.io/vpP4x
olto has joined #nixos
<tnks> or maybe it's as simple as it gets given the design of "nix run"
knupfer has quit [Remote host closed the connection]
LnL has joined #nixos
mahalel_ has joined #nixos
rihards has quit [Quit: rihards]
justanotheruser has quit [Ping timeout: 264 seconds]
<johnw> I have a friend using nix on darwin, and when he doesn't nix-channel --update with Nix 2.0.1, nothing changes.
antalsz has joined #nixos
<infinisil> johnw: you mean when he *does*, nothing changes?
sanscoeur has joined #nixos
<infinisil> tnks: I know this works with nix-shell: `nix-shell -p 'python3.withPackages (p: with p; [ docker ipython ])'`
<antalsz> infinisil: Yes, when I do, nothing changes (johnw's friend here)
<infinisil> antalsz: what does nix-info output?
<antalsz> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixpkgs-18.09pre137896.931b8aded1f", channels(antal): "nixpkgs", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<antalsz> infinisil: (that's from `nix-shell -p nix-info --run nix-info`, right?)
<infinisil> Yeah, but nix-info should come installed by default for a while now
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpXCi
<{^_^}> → 1d3537ba by @xeji: Merge pull request #40241 from romildo/upd.plano-theme
<{^_^}> → e745d087 by @romildo: plano-theme: 3.24-3 -> 3.28-1
<{^_^}> [nixpkgs] @xeji merged pull request #40241 → plano-theme: 3.24-3 -> 3.28-1 → https://git.io/vpXZV
<lejonet> siigh, why is nixos-rebuild not picking up changed extraConfig for a kernel package :(
<GiGa> electrocat: Someone has suggested I need "pcscd / scdaemon" or equivalent
<antalsz> Hmm, however I installed nix didn't give me nix-info ::shrug::
<GiGa> does that ring any bells?
<electrocat> GiGa: scdaemon = smart card daemon from gnupg
<electrocat> pcscd is something similar iirc
<infinisil> antalsz: Hmm.. when you run `nix-channel --list` with and without sudo, what are the url's displayed?
<antalsz> Without sudo: `nixpkgs https://nixos.org/channels/nixpkgs-unstable`
<antalsz> With sudo: `nixpkgs https://nixos.org/channels/nixpkgs-unstable`
<antalsz> So, identical
<jtojnar> tnks: you can also do nix run -f '<nixpkgs>' python36 docker python36.pkgs.ipython -c ipython
justanotheruser has joined #nixos
<electrocat> GiGa: on my current machine, pcscd is a dependency of gnupg, pcscd provides udev rules for the smartcards
<lejonet> electrocat: pcscd iirc pcscd is the interface towards the smart card hardware and the OS and the scdaemon interfaces with pcsc on-behalf of applications to ease the use of smartcards
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xal has quit [Ping timeout: 255 seconds]
knupfer has joined #nixos
waleee has quit [Quit: WeeChat 2.1]
<infinisil> antalsz: Does this output the current version 9d0b6b...? nix-instantiate --eval -E '(import "${builtins.fetchTarball "https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz"}" {}).lib.version'
Xal has joined #nixos
<antalsz> infinisil: 18.09pre139198.9d0b6b9dfc9
<antalsz> infinisil: so looks like yes?
<infinisil> Yeah, that looks good..
<infinisil> Not sure why nix-channel doesn't work, I'm not actually using the channels myself
<infinisil> Well I am, but not through nix-channel
<antalsz> Also, fwiw, I created the channel with `nix-channel --add https://nixos.org/channels/nixpkgs-unstable` and then `nix-channel --update`
<infinisil> Yeah that looks good
<antalsz> :-/
<johnw> and yet, his nixpkgs/ directory under the channel directory has old stuff
<johnw> and we tried removing the channel and adding it back
<sphalerite> Maybe try removing ~/.cache/nix/tarballs/*
<sphalerite> and rerunning nix-channel --update
<infinisil> If you're familiar with git I'd just recommend using that instead
<{^_^}> [nixpkgs] @bcdarwin opened pull request #40244 → Libminc update → https://git.io/vpXll
<antalsz> infinisil: Yeah, johnw said the same thing. Sounds like nobody actually uses nix-channel :-P
qualiaqq has joined #nixos
<antalsz> sphalerite: no dice, alas
reinzelmann has quit [Quit: Leaving]
<infinisil> The nix-channel tool kinda sucks heh
<symphorien> antalsz: I have heard about differences between sudo and sudo -i on mac
<antalsz> OK, so I get this output after `rm -rf ~/.cache/nix/tarballs`:
<Sonarpulse> clever: what do you do for the big font again?
<sphalerite> Sonarpulse: on the console?
<Sonarpulse> sphalerite: yeah
<tnks> jtojnar: I think that's not quite what I want, because that "docker" is the docker client/server, and what I really want is the "docker" Python libary integrated into the interpretter's PYTHONPATH.
<sphalerite> Sonarpulse: setfont <fontname>
<Sonarpulse> sphalerite: yeah but remember the big font? :)
<sphalerite> Sonarpulse: setfont --help tells you where it looks for them so you can list them
<antalsz> so that has 18.09pre139198.9d0b6b9dfc9
<Sonarpulse> ah ok
<sphalerite> Sonarpulse: latarcyrheb-sun32
<jtojnar> tnks: then nix run -f '<nixpkgs>' python36 python36.pkgs.docker python36.pkgs.ipython -c ipython
<samueldr> installer image Sonarpulse?
<tnks> infinisil: yeah, it's kind of unfortunate that it's more concise with "nix-shell -p" because I prefer the "-p" magic less architecturally.
<antalsz> hmm, okay, now something is weirder
<antalsz> nix-info produces
<{^_^}> [nixpkgs] @bcdarwin opened pull request #40245 → Bicgl → https://git.io/vpXly
<antalsz> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixpkgs-18.09pre137896.931b8aded1f", channels(antal): "nixpkgs-18.09pre139198.9d0b6b9dfc9", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<infinisil> tnks: But.. there's no magic to it?
<infinisil> antalsz: Oh um, add sudo to nix-channel --update?
<antalsz> but then I ran `nix-info` again and now it says
<infinisil> You are using the root channel for your <nixpkgs>
<antalsz> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixpkgs-18.09pre137896.931b8aded1f", channels(antal): "nixpkgs", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<samueldr> (I need to rebase) I would like to get this merged for the next release https://github.com/NixOS/nixpkgs/pull/33686
olto has quit [Quit: ZNC - https://znc.in]
* samueldr is surprised there'S no conflicts yet
<tnks> infinisil: I think nix-shell is a lot more than a simple nix run... far more environment variables set, to start. And I think copumpkin makes good arguments too: https://github.com/NixOS/nix/issues/726
<antalsz> infinisil: system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixpkgs", channels(antal): "nixpkgs", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<antalsz> so, we're somewhere now
<antalsz> infinisil, sphalerite: ah, and it looks like we're somewhere good!
<Sonarpulse> samueldr: yeah
elex has joined #nixos
<infinisil> samueldr: *cough* What might #33686 be I wonder..
<{^_^}> https://github.com/NixOS/nixpkgs/pull/33686 (by samueldr, open): (Installation media) Bootloader artwork refresh
<antalsz> any tips on how I might have figured that out?
<samueldr> in the PR I linked I have added boot options which forces the VT to resolutions to help with HiDPI
<elex> Hi, to short questions. Is there a full parsed list off all available parameters in configuration.nix? And second is there anything like a code completion for any editor?
<elex> to= two
<infinisil> antalsz: the version of when you do `import <nixpkgs> {}` comes from NIX_PATH, you have `/nix/var/nix/profiles/per-user/root/channels/nixpkgs` on there, which means it's gonna use the root's channels
<antalsz> infinisil: aha. So _should_ that be root? Or should it be me?
<sphalerite> Sonarpulse: for long-term use I usually prefer grabbing a font from terminus (i18n.consoleFont = "${pkgs.terminus_font}/share/consolefonts/ter-u32b.psf.gz";) because let's face it, latarcyrheb-sun32 is fugly.
<symphorien> elex: man configuration.nix or https://nixos.org/nixos/options.html#
<infinisil> antalsz: Yeah it's root by default, but nothing prevents you from changing NIX_PATH to use your users channels instead
<Sonarpulse> sphalerite: haha good to know
<Sonarpulse> thanks
<infinisil> antalsz: And recently #38351 got merged which make this better
<{^_^}> https://github.com/NixOS/nixpkgs/pull/38351 (by grahamc, closed): Add user channels to the default nix path
olto has joined #nixos
<antalsz> infinisil: cool, thanks!
<GiGa> electrocat: how would I verify if those daemons are on my box?
<elex> symphorien: Thanks I will have a look
<infinisil> elex: you can also get a raw list with a nix expression, hold on
<sphalerite> elex: is `man configuration.nix` the kind of theing you're looking for?
<sphalerite> or only a plain list?
winem_ has joined #nixos
jrolfs_ has joined #nixos
<GiGa> If building the system fails because one dependency couldn't be built do any of the changes get implemented or does NixOS back out the whole lot?
<Sonarpulse> samueldr: that does look nice!
<sphalerite> GiGa: none of it happens
olto has quit [Client Quit]
<samueldr> while it brings no actual changes to the live system, it changes a bunch *right before*, the more hardware it's tested on, the better it would be
<sphalerite> GiGa: as far as building is concerned, it's all-or-nothing. Switching can be partial though.
<lejonet> okay, different question, if I want to fool around with different kernel options, what is the easiest way to do that? (I have an early Zen CPU that could benefit from having RCU_NOCB_CPU enabled, but have found that just changing extraConfig of the relevant kernel package with packageOverrides isn't enough to trigger a rebuild)
antalsz has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40246 → systemd: suppress certain warnings to comile under gcc8 → https://git.io/vpX8M
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.12 -> 3.2.0.13 »: https://git.io/vpX8S
qualiaqq has quit [Quit: Leaving]
<lejonet> symphorien: ah, so add it as a kernelPatch makes it pickup changes in extraConfig as something it should rebuild the kernel for?
<GiGa> I have no idea what's calling this one:
<GiGa> builder for '/nix/store/ry690b98zkivigq6kh58n5x9hs5wikqj-Newtonsoft.Json-6.0.8.drv' failed with exit code 1
<symphorien> lejonet: yes
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36358 → cloud-sql-proxy: init at 1.11 → https://git.io/vA7yC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpX87
<{^_^}> → 2cac5d73 by @nicknovitski: cloud-sql-proxy: init at 1.11
<{^_^}> → 37cde003 by @matthewbauer: Merge pull request #36358 from nicknovitski/init-cloud-sql-proxy
olto has joined #nixos
<lejonet> symphorien: good to know, will try that at once, I just couldn't for my life figure out why it wouldn't rebuild it when I just fiddled with the extraConfig in override
<ghostyy> have any of you guys gotten wireguard working in nixos
<sphalerite> !doesanyoneuse
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<sphalerite> ghostyy: ^
<{^_^}> [nixpkgs] @matthewbauer pushed to master « lib.makeSearchPath: allow null in search path »: https://git.io/vpX4v
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40048 → lib/strings.nix: fixes & additions → https://git.io/vpryC
<ghostyy> well i odnt really have a specific question just that it doesnt work and i dont know why
<symphorien> lejonet: here is an example with extraConfig https://github.com/NixOS/nixpkgs/pull/39286#issuecomment-386334494
<ghostyy> so i was hoping someone would have a working config file lying around to show me
<symphorien> you put this in boot.kernelPackages = ...
olto has quit [Client Quit]
qualiaqq has joined #nixos
<lejonet> symphorien: ah, so you do the override already in kernelPackages instead of in nixpkgs.config.packageOverrides?
<sphalerite> ghostyy: being more specific about how it doesn't work would be helpful
<infinisil> ,hint = Commands prefixed with , such as ,ask take a nickname as an argument, which you can use to direct the resulting message to that specific user, e.g. ,ask paul
<{^_^}> hint defined
<sphalerite> thanks infinisil :D
<infinisil> ,hint sphalerite
<{^_^}> sphalerite: Commands prefixed with , such as ,ask take a nickname as an argument, which you can use to direct the resulting message to that specific user, e.g. ,ask paul
<ghostyy> sphalerite, im just making a pastebin now
<infinisil> Need to promote my new bot things!
olto has joined #nixos
<lejonet> infinisil: does it have !botsnack? :P
<symphorien> lejonet: the kernel is special because it is a scope, it may interfere
freeman42x[nix] has quit [Ping timeout: 250 seconds]
<infinisil> ,help lejonet
<{^_^}> lejonet: Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<symphorien> but actually I don't know
<lejonet> symphorien: so far I've figured :) just that the manual shows using packageOverrides as the way to enable config
<infinisil> What does botsnack do lejonet?
<symphorien> and since setting boot.kernelPackage changes the used kernel everywhere, I don't need packageOverride
<lejonet> infinisil: gives the bot a snack :)
<ghostyy> what id really like is some kind of error message about why it doesnt work...
<sphalerite> lejonet: I've overridden the kernel using an overlay like self: super: { linuxPackages = self.linuxPackagesFor (super.linux.override[Attrs] …); }
<symphorien> lejonet: ah sorry no idea then
<ghostyy> but i dont see anything in dmesg, journalctl et al
<ghostyy> oh, i forgot the part about it not working
olto has quit [Client Quit]
<lejonet> I
<lejonet> I
<lejonet> ... stupid enter!
<infinisil> Hah
<ghostyy> which is that i cant ping either address from each other
<ghostyy> eg i can ping 10.8.0.1 from 10.8.0.1 and same for .2, but i cant ping .1 from .2 or vice versa
<sphalerite> ghostyy: do the interfaces have the addresses assigned correctly (ip a)?
<lejonet> I'll try the kernelPatches way and see if that works for me, else I'll probably have to do the overlay way
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40248 → generic-stack-builder: attempt to add propagation → https://git.io/vpX4a
drakonis has joined #nixos
<sphalerite> lejonet: kernelPatches does look more convenient, I didn't know patches could specify config options
<ghostyy> .2 has inet 10.8.0.2/32 scope global wg0 and .1 has inet 10.8.0.1/24 scope global wg0
<sphalerite> would probably have saved me considerable amounts of time >.>
<{^_^}> [nixpkgs] @matthewbauer merged pull request #27451 → simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings) → https://git.io/vQN2q
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @bcdarwin to master « simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings) (#27451) »: https://git.io/vpX4M
<ghostyy> not sure if the different subnets change anything
<sphalerite> ghostyy: the .2 one is wrong, that means it's the only thing in that subnet and can't actually talk to anything through it
<lejonet> sphalerite: me neither until symphorien showed me it just now :P
<sphalerite> ghostyy: they should both be /24
<ghostyy> ooh
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> I had to read the source code to find this
<symphorien> setting patch to null is rather a hack
olto has joined #nixos
<ghostyy> May 09 16:51:14 computer2 ip[2850]: RTNETLINK answers: Invalid argument
<ghostyy> AAAAAAAAAAA
<infinisil> > botsnack = select [ "Om nom nom!" "That's very nice of you!" "Oh thx, have a cookie yourself!" "Thank you very much." "Thanks for the treat!" "{^_^} has been given a cookie, {^_^} is free!" ]
<{^_^}> botsnack defined
<Drakonis[m]> bcachefs is being prepared for the upstream gauntlet
<infinisil> > botsnack /* like this lejonet? */
<{^_^}> "{^_^} has been given a cookie, {^_^} is free!"
<sphalerite> hm, I wonder…
<ghostyy> ahhhh now i see
<lejonet> infinisil: haha, yes :P
<sphalerite> > builtins.trace "hello" "foo"
<{^_^}> "foo"
<ghostyy> it was .2 when it should have been .0
<lejonet> infinisil: we had that for willikins, the gentoo channel bot :P just as a ploy thing
<sphalerite> ghostyy: which one should have been .0?
<Ralith> I have a private s3 bucket configured as a binary cache; `nix build` gives `AWS error checking bucket 'my-bucket': Access Denied`, but `nix copy` works fine. Anyone know what's going on?
<ghostyy> allowedIPs
jrolfs has joined #nixos
<ghostyy> on computer2
ertes-w has quit [Quit: Bye!]
<ghostyy> now computer2 has inet 10.8.0.2/24 scope global wg0
<sphalerite> aah yes
halfbit has joined #nixos
<symphorien> lejonet: an example with packageOverrides https://nixos.wiki/wiki/IGVT-g
<MichaelRaskin> infinisil: if after receiving a snack the bot becomes free, does it mean it will stop answering requests?
<sphalerite> can we please stop recommending packageOverrides :(
<lejonet> MichaelRaskin: or answer them in any way it seems fit? :P
<infinisil> ,nixeval = I can evaluate nix if you prefix your expression with "> ". Use it here only for short demos or helping others with the syntax. If you wanna spam me, do it in #bottest!
<{^_^}> nixeval defined
<samueldr> symphorien: funny, this page is only a few hours old :)
<infinisil> MichaelRaskin: Adding that to my todo list :P
<symphorien> I just saw it because of the PR bot
<MichaelRaskin> lejonet: as it sees fit, and not in the manner strictly bound by deterministic instructions?
<lejonet> MichaelRaskin: exactly
<MichaelRaskin> infinisil: the only risk is that people start calling it «poison cookie»
<lejonet> for all we know, it could start cating /dev/urandom for answers
<Drakonis[m]> sphalerite: what's better than overriding?
<MichaelRaskin> lejonet: and in this case, maybe «hash cookie»
<infinisil> MichaelRaskin: Or "russian cookie" hah
<lejonet> MichaelRaskin: ja man!
<lejonet> infinisil: xD
<lejonet> bot roulette!
<symphorien> sphalerite: it is the official way for kernel options https://nixos.org/nixos/manual/index.html#sec-kernel-config
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> Drakonis[m]: overlays are better than packageOverrides (specifically packageOverrides, the .override and .overrideAttrs on packages are only tangentially related)
<MichaelRaskin> infinisil: no, I think Russian cookies are pryanik cookies
<infinisil> MichaelRaskin: But did you really call nix deterministic?
<infinisil> > compose (lib.concatMapStringsSep ", " toString) r [ rand rand ]
<{^_^}> "3148832161, 2746751942"
<infinisil> > compose (lib.concatMapStringsSep ", " toString) r [ rand rand rand rand rand ]
<{^_^}> "314661162, 2247750427, 358673592, 1890912913, 594796022"
<sphalerite> or tracking cookies
<MichaelRaskin> > rand
<{^_^}> <LAMBDA>
* sphalerite needs to make an extremely lazy programming language, where expressions are never reduced
olto has quit [Quit: ZNC - https://znc.in]
<infinisil> > sphaleritesLanguage = lib.id
<{^_^}> sphaleritesLanguage defined
olto has joined #nixos
qualiaqq has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @basvandijk opened pull request #40250 → haskell: fix build of base-compat-batteries → https://git.io/vpXRo
winem_ has quit [Ping timeout: 250 seconds]
simukis has quit [Ping timeout: 250 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
<infinisil> MichaelRaskin: You can view variable bindings with `> :v rand` :)
<MichaelRaskin> Ah, it uses currentTime
<sphalerite> huh, builtins.currentTime doesn't work right in `nix repl`
<infinisil> sphalerite: does for me?
<sphalerite> infinisil: try evaluating it again
<infinisil> yeah it's the same :)
<infinisil> I think it's because nix-repl caches it
judson has quit [Read error: Connection reset by peer]
<lejonet> symphorien: kernelPatches works awesomely sofar, thanks :D
<lejonet> and now that I've added buildCores to the correct value, it probably won't take 30 mins to compile it all xD
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ariutta opened pull request #40252 → pgmanage: update to current name (minor). → https://git.io/vpX0Z
<sphalerite> so I have 9 machines which are all running nixos and I can SSH into. What's a nice way of running a script on all 9 of them and collecting the results?
hamishmack has joined #nixos
grp has quit [Quit: box shutting down...]
Ariakenom has joined #nixos
rindolf-nixvm has joined #nixos
Arcaelyx has joined #nixos
<rindolf-nixvm> hi all
<Synthetica> sphalerite: A ssh-ing them the command in a for loop works in a pinch
<rindolf-nixvm> [root@nixos:~]# nix-channel --update nixos
<rindolf-nixvm> /run/current-system/sw/bin/nix-channel: unable to check ‘https://d3g5gsiof5omrk.cloudfront.net/nixos/17.09/nixos-17.09.3243.bca2ee28db4
<rindolf-nixvm> why?
<sphalerite> Synthetica: the script in question takes several hours to run, I need to run it in parallel
<rindolf-nixvm> how do i update my nixos vm?
asuryawanshi has quit [Ping timeout: 255 seconds]
<Synthetica> sphalerite: `ssh machine$i -- command | tee log$i &`?
<Synthetica> (In a for loop)
<sphalerite> Synthetica: oh yes, that makes sense *facepalm*
yastero_ is now known as yastero
<{^_^}> [nixpkgs] @xeji pushed 2 commits to gcc8: https://git.io/vpX0b
<{^_^}> → 3a395ccb by @Synthetica9: systemd: suppress certain warnings to compile under gcc8
<{^_^}> → 1ac64459 by @xeji: Merge pull request #40246 from Synthetica9/gcc8-systemd-fix
<{^_^}> [nixpkgs] @xeji merged pull request #40246 → systemd: suppress certain warnings to compile under gcc8 → https://git.io/vpX8M
qualiaqq has joined #nixos
novum has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.2.17 -> 1.2.19 »: https://git.io/vpXEY
<Ralith> what does it mean when `nix copy` tells me a path "is not valid"?
deepfire has quit [Ping timeout: 255 seconds]
deepfire has joined #nixos
<Ralith> it's a store path that was generated by nix...
<qualiaqq> I'm wondering if someone could share with me a minimal config settings to enable xmonad so I can try it out?
<lejonet> sphalerite: worst case scenario you always have parallel to do stuff in parallel :)
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40255 → treewide: remove lib.meta.enableIfAvailable → https://git.io/vpXE9
<Ralith> is `nix copy --from s3://foo /nix/store/bar` not supported?
s33se has quit [Quit: s33se]
<lejonet> sphalerite: or pssh for parallel ssh
Sonarpulse has quit [Ping timeout: 255 seconds]
erasmas has quit [Quit: leaving]
<Ralith> I know there are people in here using the s3 support
<qualiaqq> nevermind. I just realized what time it is and have to go.
qualiaqq has quit [Quit: Leaving]
Sonarpulse has joined #nixos
<rindolf-nixvm> anyone?
vaninwagen has quit [Quit: WeeChat 2.1]
TheAppleMan has joined #nixos
<rindolf-nixvm> now it works
alexteves has quit [Quit: Textual IRC Client: www.textualapp.com]
<halfbit> so how do you develop with emacs in a nix-shell
<halfbit> like, I do nix-shell, run emacs, and it can't find for example, cargo for rust building
<halfbit> but in the terminal cargo is there and in the path
dbe has quit [Ping timeout: 260 seconds]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<Ralith> is there a way to list the contents of a binary cache?
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<Synthetica> halfbit: Doesn't emacs have a daemon where all your actual editors are somehow connected to that daemon?
<Synthetica> Might have something to do with it
alexteves has joined #nixos
<Synthetica> I'm not an emacs user, so I wouldn't really know
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<Ralith> halfbit: usually you run emacs outside of nix-shell, and configure it to use a suitable nix environment for any given buffer
hph^ has joined #nixos
Guest2138 has quit [Remote host closed the connection]
GiGa has quit [Quit: Leaving]
vaninwagen has joined #nixos
lord| has joined #nixos
<elex> I am Looking at security.pam.services.<name?>.googleAuthenticator.enable What do I neet to insert in <name?> ? I do not get it
<rindolf-nixvm> bye all, and thanks/
rindolf-nixvm has quit [Quit: Leaving]
joelpet has quit [Remote host closed the connection]
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hiratara has quit [Ping timeout: 246 seconds]
astrofog has quit [Quit: Quite]
<{^_^}> [nixpkgs] @rycee opened pull request #40256 → perl-URI: 1.73 -> 1.74 → https://git.io/vpXgJ
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40248 → generic-stack-builder: attempt to add propagation → https://git.io/vpX4a
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpXgT
<{^_^}> → 527abe59 by @matthewbauer: generic-stack-builder: attempt to add propagation
<{^_^}> → 12ee278a by @Ericson2314: Merge pull request #40248 from matthewbauer/fix-generic-stack-builder
<Sonarpulse> Dezgeg: ping
<Sonarpulse> wondering about -gnu
hiratara has joined #nixos
knupfer has quit [Remote host closed the connection]
coot has quit [Quit: coot]
alexteves has quit [Ping timeout: 264 seconds]
coot has joined #nixos
coot has quit [Client Quit]
coot has joined #nixos
alexteves has joined #nixos
hph^ has quit [Ping timeout: 240 seconds]
obadz has quit [Ping timeout: 240 seconds]
<ghostyy> i just want to point out that the iptables command in https://nixos.wiki/wiki/Wireguard actually literally prevents the entire setup from working, i just spent two hours figuring this out
obadz has joined #nixos
saltsa has joined #nixos
Ariakenom has quit [Quit: Leaving]
<Ralith> is there a way to run nix-shell with a package identified by store path?
<Ralith> and why would `nix build` be unable to use a binary cache that `nix copy` talks to fine?
<infinisil> Ralith: nix-shell -p $(nix-build --no-out-link '<nixpkgs>' -A hello)
<halfbit> I mean, how do you get flycheck and all that working then
<halfbit> that requires all the devtools for rust
<halfbit> cargo, rustc, racer, etc
<Ralith> halfbit: you use something like the tool I linked you
joelpet has joined #nixos
<infinisil> This makes it so all your nix programs are available to emacs
<infinisil> and the NIX_REMOTE is also needed for some stuff, although probably not anymore since not many things still use nix <2
<infinisil> ,karma = I track users karma points! Use "<nick>++" and I'll add one!
<{^_^}> karma defined
<gchristensen> fpletz &/|| globin, how is acmeFallbackHost intended to work?
<Synthetica> That works?
<Synthetica> infinisil++
<{^_^}> Did you mean infinity? Increasing infinity doesn't do anything..
<{^_^}> [nixpkgs] @xeji opened pull request #40258 → nixos/tests/mysqlbackup: fix non-deterministic failure → https://git.io/vpXaM
* infinisil chuckles
alex`` has quit [Quit: WeeChat 2.1]
<Ralith> `nix copy` doesn't upload signatures for existing data :|
hiratara has quit [Quit: ZNC - http://znc.in]
smichel has quit [Ping timeout: 250 seconds]
hiratara has joined #nixos
sanscoeu_ has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
Ridout has joined #nixos
sanscoeur has quit [Ping timeout: 264 seconds]
elex has quit [Ping timeout: 260 seconds]
<LnL> there's nix sign-paths
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos
tertle||eltret has joined #nixos
sanscoeu_ has quit [Remote host closed the connection]
mjacob_ is now known as mjacob
xy2_ has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
MP2E has joined #nixos
<Ralith> LnL: the paths are already signed
<Ralith> but the binary cache does not have the signatures, and it seems, cannot be given them
dbmikus has joined #nixos
<LnL> did you remove the unsigned first?
<LnL> I seem to recall doing this like a week ago
<gchristensen> anyone using NixOS + LetsEncrypt for multiple servers backing the same domain?
Rusty1_ has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #40260 → zuki-themes: 3.26-1 -> 3.28-1 → https://git.io/vpXrp
bbarker has joined #nixos
jrolfs has joined #nixos
sanscoeur has joined #nixos
obadz- has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « generic-stack-builder: also support nix-build »: https://git.io/vpXoa
obadz has quit [Ping timeout: 250 seconds]
obadz- is now known as obadz
jrolfs has quit [Ping timeout: 255 seconds]
rauno has quit [Ping timeout: 240 seconds]
<infinisil> Um, can somebody explain this nix behaviour:
<infinisil> > let a = "outside"; in with { a = "inside"; }; a
<{^_^}> "outside"
<infinisil> It makes 0 sense to me that this should be "outside"..
foldingcookie has joined #nixos
giaco has joined #nixos
<giaco> hello
<foldingcookie> how can I set up an environment to do Linux kernel cross-compilation on nixOS?
doyougnu has joined #nixos
<clever> foldingcookie: (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.raspberryPi; }).linuxPackages_rpi.kernel
<{^_^}> [nixpkgs] @xeji merged pull request #39099 → qemu-guest-agent: init module → https://git.io/vpkJF
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpXKB
<{^_^}> → ca060419 by @teto: qemu-guest-agent: init module
<{^_^}> → 3d6f752c by @xeji: Merge pull request #39099 from teto/qemu_agent
<foldingcookie> clever: what part of that would I change to use a toolchain for an architecture that isn't the RPi, and what part of that creates the /bin/pwd expected by the kernel's build system?
<clever> foldingcookie: nothing will create a suitable /bin
<clever> foldingcookie: everything in nix works by configuring $PATH
filwisher has joined #nixos
<foldingcookie> so what do Linux kernel dev workflows look like on NixOS? the kernel's build system hard-codes paths like /bin/pwd
<clever> foldingcookie: the nix expressions automatically patch the kernel source
<clever> when correctly ran
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40047 → Cleanup all-packages.nix → https://git.io/vprDd
<foldingcookie> clever: how do I point the nix expressions to my kernel tree? do the nix expressions also add gitignore entries for the patches they apply?
<clever> foldingcookie: it applies the patches in a copy of the source
<clever> foldingcookie: what cpu are you trying to target?
<foldingcookie> arm64, but I have a very rough linux tree (not my fault) that doesn't compile properly with a modern toolchain
<clever> foldingcookie: aarch64-android-prebuilt, aarch64-multiplatform or aarch64-multiplatform-musl can be used for arm, in-place of raspberryPi
<clever> for the kernel itself, i think you can run nix-shell against one of the kernels, like my original example, and then run patchPhase in there to edit the copy of the source in the working directory
<foldingcookie> hrm
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40163 → atom: fix git integration → https://git.io/vpKjD
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ysndr to master « atom: fix git integration (#40163) »: https://git.io/vpX6g
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
filwisher has quit [Ping timeout: 250 seconds]
<infinisil> dotlambda: Hey, I have a question/problem regarding https://github.com/r-raymond/nixos-mailserver/wiki/How-to-Add-Radicale-to-SNM
<infinisil> ,ask infinisil
<{^_^}> infinisil: Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<infinisil> Thanks
<infinisil> So I'm using the config from the linked site in the hopes of allowing me to use radicale with Let's Encrypt
<infinisil> But currently LE can't get a valid certificate
<infinisil> The error i get is "Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1."
<infinisil> I more or less know what that means, but I have no idea why that's the case, because it works for all my other domains no problem
<{^_^}> [nixpkgs] @xeji merged pull request #40244 → libminc: 2017-09-14 -> 2018-01-17 → https://git.io/vpXll
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/vpXit
<{^_^}> → 837e8c34 by @bcdarwin: conglomerate: init at 2017-09-10
<{^_^}> → 6266387b by @bcdarwin: libminc: 2017-09-14 -> 2018-01-17
<{^_^}> → a9492eb7 by @bcdarwin: Merge branch 'master' of github.com:NixOS/nixpkgs
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40261 → lib/systems: Parse more arm cpu types → https://git.io/vpXis
<samueldr> oh, infinisil
<samueldr> that's a generic error
<samueldr> let me find the issue
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40262 → lib/systems: Parse more arm cpu types → https://git.io/vpXiG
<infinisil> Oh, it didn't even occur to me to search nixpkgs issues
* samueldr doesn't remember the workaround
Ridout has quit [Quit: Lost terminal]
<infinisil> #38372
<{^_^}> https://github.com/NixOS/nixpkgs/pull/38372 (by abbradar, closed): acme service: generate a CA for self-signed certificate
aarvar has joined #nixos
<samueldr> yes
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #40263 → slic3r-prusa3d: 1.39.1 -> 1.39.2 → https://git.io/vpXiB
<infinisil> So I guess the reason it only occurs on that domain is because it's a new one and the others haven't expired..
<samueldr> exactly
<samueldr> uh, if there's a fix, wouldn't it be backported?
justanotheruser has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<infinisil> I'm using unstable which is older than that merged commit
<samueldr> oh, that explains it
<infinisil> Updating always breaks something, so I don't do it if I don't need to..
<samueldr> and I always assume people are using the last stable release :)
sir_guy_carleton has joined #nixos
<infinisil> I currently have 3 cherry-picked commits in my nixpkgs to fix stuff..
Ridout has joined #nixos
<MichaelRaskin> I vaguely remember there is that thing called unstable channel
<MichaelRaskin> In addition to the master branch. Stable releases? Who can remember what went into them.
<infinisil> I somehow seem to be especially unlucky with unstable, I've been hearing so many not having any problems with it
ericsagnes has quit [Ping timeout: 250 seconds]
acarrico has joined #nixos