gchristensen changed the topic of #nixos to: 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
<LnL> the ofborg builders have a pretty conservative timeout :)
<kerrhau> ottidmes: alright, I tried it and it seems to be working
digitus has quit [Quit: digitus]
<ottidmes> kerrhau: Great to hear! :) Don't forget to still add it to environment.systemPackages, the overlay just defines the package, you still have to include it in the systemPackages to make it become part of your system environment
<kerrhau> yeah
<kerrhau> now, could I do services.xserver.windowManager.dwm_local.enable = true;?
<{^_^}> [nixpkgs] @ryantm opened pull request #37678 → mopidy-iris: 3.14.0 -> 3.14.2 → https://git.io/vx8WA
Lisanna has joined #nixos
iyzsong has joined #nixos
dbe has quit [Ping timeout: 276 seconds]
<ottidmes> kerrhau: No, it does not work like that, the service is not bound to the package, the service determines the packages, but if you overwrite the dwm package, which is being used by services.xserver.windowManager.dwm, it will be used instead, so just use dwm = super.dwm.overrideAttrs ... in your overlay
<kerrhau> alright
alhariel has joined #nixos
<alhariel> how do i clear dns cache?
<ottidmes> kerrhau: It just references to pkgs.dwm directly, so by overwriting dwm with an overlay, yours will be used
acarrico has joined #nixos
<alhariel> my network configuration is the minimal required, and ive seen this recommended to resolve an issue im having with github where the pages wont load any resources, just text
<ottidmes> alhariel: maybe `sudo systemctl restart nscd`?
leothrix has joined #nixos
<alhariel> the command works, still no luck with github tho.. it only shows the text if i cancel loading the page, otherwise its blank and the status line says 'waiting for assets-cdn.github.com' :/
Ridout has joined #nixos
<ottidmes> alhariel: do you run dnsmasq, if so try restarting that as well
<alhariel> nope
<ottidmes> alhariel: This then? nscd -i hosts
<alhariel> nope :/ already cleared cache and cookies and whatnot
<ottidmes> alhariel: Try changing your resolv.conf to something like 8.8.8.8
<ottidmes> alhariel: sudo cp /etc/resolv.conf{,~} && sudo mv /etc/resolv.conf{~,} && sudo nano /etc/resolv.conf
<ottidmes> alhariel: With: nameserver 8.8.8.8
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<alhariel> theres a second line 'options edns0', do i keep that?
fl3 has quit [Ping timeout: 240 seconds]
<ottidmes> alhariel: I have it too, not sure what it does, shouldnt hurt I guess
<alhariel> k fingers crossed
<alhariel> ugh
<ottidmes> alhariel: its apparantly and extension to allow custom buffer sizes, but its old and should be supported by all nameservers nowadays
<zybell_> last time I had to kick resolving the command was "sudo resolvconf -u".
maximiliantagher has quit [Ping timeout: 264 seconds]
<ottidmes> zybell_: Good call, I remember having to do so as well, but recently all my changes to resolv.conf did not require this, not sure whats up with that
<alhariel> no luck
<alhariel> maybe its a temporary thing
<alhariel> hopefully
Sonarpulse has quit [Ping timeout: 240 seconds]
<ottidmes> alhariel: What does pinging: assets-cdn.github.com give you
<alhariel> appears to be working
maximiliantagher has joined #nixos
<ottidmes> alhariel: So maybe it is unrelated to your DNS?
<ottidmes> alhariel: Did you try a different browser?
<alhariel> yup, same thing on both firefox and chrome
<ottidmes> alhariel: And works fine on other machines? So its not a router issue?
<alhariel> hm let me check
<zybell_> is there a prog httping or so?
<alhariel> hm?
<zybell_> Fires a HEAD at a server
<alhariel> im afraid i still dont understand what youre trying to say
<alhariel> sorry im pretty unkowledgeable with regards to networking
<alhariel> or anything else really
<zybell_> ping is ICMP = OS level if httpd is down no luck
<alhariel> ill try restarting brb
alhariel has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to master: https://git.io/vx886
<{^_^}> → d0df0078 by @thefloweringash: libftdi1: add darwin platform
<{^_^}> → b4888489 by @thefloweringash: avrdude: add darwin platform
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to release-18.03: https://git.io/vx889
<{^_^}> → 01204cf8 by @thefloweringash: avrdude: add darwin platform
<{^_^}> → eef14cb3 by @thefloweringash: libftdi1: add darwin platform
<{^_^}> [nixpkgs] @bjornfor closed pull request #37631 → avrdude: add darwin platform (including libftdi1 dependency) → https://git.io/vxl0Z
Lisanna has quit [Remote host closed the connection]
mudri has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37679 → nlohmann_json: 3.1.1 -> 3.1.2 → https://git.io/vx88Q
alhariel has joined #nixos
<alhariel> its working now..
<alhariel> go figure
<alhariel> thanks for the help guys
<ottidmes> alhariel: so it was the router?
<ottidmes> alhariel: or reboot of your machine?
<alhariel> reboot
<ottidmes> alhariel: rule nr. 1 in solving IT stuff, eh? "Did you try turning it off and on again?" :P Although normally you should not have to in Linux, still sometimes it does the trick
<alhariel> hehe
ennui has quit [Ping timeout: 264 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<elvishjerricco> Is it not possible to deploy to EC2 an arbitrary non-NixOS AMI with NixOps? Obviously you can't expect to provision software on these instances, but it's important if you already have a bunch of AMIs you want to deploy
<alhariel> so shoudl i switch back that resolv.conf thing?
Acou_Bass has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<ottidmes> alhariel: Yeah, but isn't it already reset? If not, a nixos-rebuild switch should put it back again
<alhariel> oh i see
aarvar has quit [Ping timeout: 240 seconds]
<zybell_> that resolv.conf thing has noihing to do with it.
coconnor has quit [Ping timeout: 240 seconds]
<alhariel> what would i have to do if it did solve the issue and i wanted the changes to persist a nixos-rebuild?
thc202 has quit [Ping timeout: 240 seconds]
<zybell_> *nothing
tertle||eltret has joined #nixos
<ottidmes> alhariel: If you wanted to persist those changes you would change them via your configuration.nix, via: https://nixos.org/nixos/options.html#networking.nameservers
maximiliantagher has quit [Ping timeout: 264 seconds]
<alhariel> i see
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zybell_> I admit I edit resolv.conf although I KNOW that it doesn't help, but only because I know that the special app I use to do it kicks the dns all over the places when it writes the resolv.conf.
gillmanash has joined #nixos
<ottidmes> zybell_: I hate to admit that I often have no clue what is going on with networks. Often enough I cannot figure out the logic behind it, so I am guilty of cargo culting, just trying out stuff that sometimes helps, even though it might be totally unrelated, but so far it works for me, so... I guess I will never learn
s2mitrov has joined #nixos
<alhariel> i second that lol
kerrhau has quit [Ping timeout: 276 seconds]
<s2mitrov> anyone got a nixos/dotfile repo or gist i can check out for some guidance on how to get mpd + ncmpcpp working?
<zybell_> And I sometimes fail to understad what others find so hard.
<alhariel> s2mitrov: if you figure it out let me know hehe
<s2mitrov> ncmpcpp launches and connects, but it won't let me browse my music directory and tapping the browse view keybinding gives me a "for browsing local filesystem, connection to MPD bia UNIX socket is required" error, even though I've got a socket specified in both my configuration.nix and mpd.conf
<s2mitrov> alhariel: will do haha
<ottidmes> zybell_: How would you then figure out why your desktop has random network drops, and somehow pinging your gateway solves it, enabling networkmanager seems the only way to fix it for me (I have no drops, no need to ping)
<alhariel> so when i do 'PATH = foo' on the arg to mkDerivation it sets PATH to foo right? but what i want to append to PATH?
<alhariel> what if*
<ottidmes> alhariel: you would use something like preConfigure and do that like you would in bash there
<alhariel> s2mitrov: for me it appered to work fine except for one crucial part: no audio output lol
<zybell_> Thats why I run IRC. The Router can sleep when its dead.
<s2mitrov> alhariel: https://i.imgur.com/sCmffOL.png i don't know how idiomatic it is, but i've got this atm, can just keep adding more PATH=$PATH:... lines
coconnor has joined #nixos
<ottidmes> time to get some sleep, good night!
<alhariel> laters
<alhariel> i see, thanks s2mitrov
paraseba has quit [Ping timeout: 256 seconds]
<zybell_> the correct syntax for PATH append PATH=$PATH${PATH:+:}$foo
<alhariel> ah yes
<s2mitrov> zybell_: what's the difference?
<s2mitrov> also, anyone see anything wrong here? https://i.imgur.com/eOOj70v.png
<alhariel> it tests if path is empty before prepending the ':'
<zybell_> When PATH empty
<s2mitrov> is there any situation where PATH would be empty, though? it has nix stuff on it by default, no?
ottidmes has quit [Ping timeout: 240 seconds]
<alhariel> hm maybe, there are other variables which use the same syntax for which this isnt always the case tho
paraseba has joined #nixos
<{^_^}> [nixpkgs] @fdns opened pull request #37680 → compactor: init at 0.11.0 → https://git.io/vx8Ba
<alhariel> tbh i dont know if a leading : is disallowed tho
<zybell_> Even PATH can be empty in restricted shells
<zybell_> its not disallowed. only huge security problem.
logzet has quit [Read error: Connection reset by peer]
<alhariel> does an empty string in PATH mean .?
<zybell_> s2mitrov: wrong is that the pic is too small to decide if its wrong
<{^_^}> [nixpkgs] @matthewbauer closed pull request #36662 → picat: 1.9-4 -> 2.3 → https://git.io/vAp5n
kmicklas has quit [Ping timeout: 240 seconds]
<zybell_> alhariel: basically yes
<alhariel> thats poor design imho lol
drtenna has joined #nixos
<drtenna> hey people everything fresh in your underwear
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36517 → fldigi: 3.23.15 -> 4.0.16 → https://git.io/vAAkw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx8B9
<{^_^}> → b746e2f1 by @ryantm: fldigi: 3.23.15 -> 4.0.16
<{^_^}> → 30a02762 by @matthewbauer: Merge pull request #36517 from ryantm/auto-update/fldigi
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36550 → gmic: 1.7.9 -> 2.2.0 → https://git.io/vAAxM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx8BH
<{^_^}> → 6eeb06f1 by @ryantm: gmic: 1.7.9 -> 2.2.0
<{^_^}> → 12d79ca0 by @matthewbauer: Merge pull request #36550 from ryantm/auto-update/gmic
<s2mitrov> alhariel: where's your mpd config under? i've got it under systemd.user.services, but i'm seeing a bunch of config files and stuff where it's just under services
ryanartecona has joined #nixos
<s2mitrov> i feel like maybe it has something to do with that
<drtenna> no i dont think so sorry
<drtenna> reboot your system
<drtenna> plug out cable
<drtenna> wait 10 seconds
<drtenna> get well soon
<alhariel> i dont have the mpd stuff in my configuration.nix anymore sorry
<drtenna> follow steps above
<alhariel> s2mitrov: ^
<drtenna> get well soon
xcmw has joined #nixos
flugsio has quit [Ping timeout: 252 seconds]
Lisanna has joined #nixos
<Lisanna> hey, just pinging to see if there's anyone online who might be able to help me figure out why one of my derivations is becoming corrupted every time it builds
jluttine has quit [Ping timeout: 276 seconds]
<s2mitrov> yeah, switching it to just services got it working
<s2mitrov> fuck if i know why
silver has quit [Read error: Connection reset by peer]
<zybell_> how do you start mpd? As user -> userconf, as sys->sysconf
spear2 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37012 → Make "localizations" sane again → https://git.io/vxIEF
<{^_^}> [nixpkgs] @matthewbauer pushed 16 commits to staging: https://git.io/vx8RR
<{^_^}> → 223a77c3 by @matthewbauer: libiconvOrNull: deprecate
<alhariel> s2mitrov: could you post your config?
<{^_^}> → 90c132c7 by @matthewbauer: gettext: add -lintl to setup-hook
<{^_^}> → 9e75fb5e by @matthewbauer: libiconv: add setup-hook
<drtenna> zybell_: thats not right
<drtenna> you shoudl reboot first
rosa has joined #nixos
<s2mitrov> alhariel: https://i.imgur.com/canaRvT.png
<s2mitrov> zybell_: i have no clue at this point why/how this works tbh
<s2mitrov> mpd was starting fine, if i asked systemctl about it i'd get the correct port and all and ncmpcpp would connect but it wouldnt' show anything in my music directory
<drtenna> please dont paste malicious code in here thanks
<gchristensen> drtenna: who did?
<drtenna> s2mitrov
Fare has joined #nixos
<drtenna> next time is kick and red card is ban
<adisbladis[m]> gchristensen: I was wondering about the rabbitmq setup that ofborg uses. What events are published and where can I subscribe to them?
<gchristensen> drtenna: I don't see it
<gchristensen> drtenna: where is it?
<drtenna> gchristensen: please open your eyes and dont waste my time THX
<gchristensen> I'm just confused, because I'm not sure anyone else has +o'd in #nixos in a long time, don't seee the malicious code, and would also like to keep it out of #nixos.
<adisbladis[m]> drtenna: It's a legitimate question (I also didn't see any malicous code).
<s2mitrov> gchristensen: you should probably /ignore him, he's just here to troll
<alhariel> gchristensen: hes a troll
<gchristensen> oh
drtenna was banned on #nixos by gchristensen [*!6d5aa679@*]
<alhariel> bai :)
drtenna was kicked from #nixos by gchristensen [drtenna]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<s2mitrov> gchristensen: would you happen to know what the dealy is with service vs. systemd.user.service?
<clever> s2mitrov: systemd.service and systemd.user.service is to define systemd services, either globally or per-user
<clever> s2mitrov: and services. is to configure modules, that will probably set one of the previous 2
<zybell_> gchristensen: ignore drtenna, its a trollbot
<gchristensen> indeed...
<s2mitrov> clever: is it better practice to specifically use one of the systemd option/scopes?
<clever> s2mitrov: depends on if your defining your own service or not
rosa has quit [Quit: rosa]
abathur has joined #nixos
<zybell_> gchristensen: but he came through webchat. Hope you didn't ban the whole webchat system.
<gchristensen> zybell_: just their IP
<clever> zybell_: the webchat always uses his real ip in the ident field
<zybell_> good
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluttine has joined #nixos
<tnks> I see that all the dependencies of a "nix run" seem to be protected from garbage collection, not sure where the references keeping them alive are.
<clever> tnks: all environment variables are roots
<clever> since they are in $PATH, they are "in use"
<tnks> clever: oh cool!
<tnks> clever: wait, a little confused, because I'm calling the garbage collection from another terminal.
<tnks> what's the algorithm exactly?
<clever> it uses /proc/PID/environ to peek into the env of every process on the machine
<clever> and /proc/PID/fd to check the open files in every process
<clever> and /proc/PID/maps for the mapped files
<clever> and /proc/PID/cwd for the working directory!
<clever> proc has a lot of magic in it
<tnks> clever: okay, so I'm playing a lot of games if calling Nix from a Docker container with a mounted /nix volume.
sirkha has quit [Remote host closed the connection]
<tnks> probably breaks that.
<clever> the processes from the docker container are still visible
drakonis has joined #nixos
<clever> just with different PID's
<clever> the roots in /tmp that nix-shell/nix-build generate are more likely to break
<clever> it should be safe to use the stuff in the store from inside docker
<clever> but the nix tools themselves may break some
<tnks> the profiles keep some of the important roots alive.
<zybell_> does it check /proc/PID/root too?
<tnks> that's at least in /nix/var/nix/profiles.
<clever> tnks: yep
<clever> zybell_: not sure
<zybell_> to protect /var/empty
<clever> zybell_: looks like nix doesnt directly check for things like chroots
<alhariel> s2mitrov: copied your config, still same issue, appears to be working but no sound :/
<clever> zybell_: and if a guest has its own store, and is using path A, the host probably wont let you GC the host copy of A
<zybell_> looked into src, no sign of root, guest has to ref path A vm opens on host open fd->protected
<tnks> clever: yeah, I just verified that a nix-collect-garbage done in another container with the same mounted volume removes a binary a running "nix run" in another container may be depending on.
<tnks> In a way, I can deal with it, because I'm not running garbage collection much at all, and it can be documented... the running "nix run" breaks... so just rerun it and get the dependencies again.
<zybell_> Did you know that you can symlink to a file through an open fd on a dir, the link works in all procs that have that dir open, in others its dead.
<Lisanna> okay, wtf, nix copy --to ssh:// works, but nix copy --to file:// dosn't :/
<zybell_> A file thats there and not there.
<Lisanna> ...but only on this one package!!
<zybell_> Have found this goodie: http://nms.csail.mit.edu/papers/chord.pdf . Stateless state is possible.
jluttine has quit [Ping timeout: 240 seconds]
verite has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
<s2mitrov> alhariel: do you have pulse audio setup?
<s2mitrov> i'm running in a vm so i don't have it included in my config, but i'm guessing you'll want to change type to pulse and write a service.hardware.pulseaudio config
mbrgm has joined #nixos
<Lisanna> ...and --to file:// works fine when nix copy is run in runInLinuxVM :|
<s2mitrov> clever: what do you mean by defining my own service?
<s2mitrov> like if i'm writing a systemd thing myself? or just whether or not there are other users on the machine or something
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/01204cf872f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
<foldingcookie> zybell_: what do you mean by stateless?
<Lisanna> okay fsck it, I'm going to comment out the line in binary-cache-store.cc and hope to god it starts working again
verite has quit [Quit: Textual IRC Client: www.textualapp.com]
<zybell_> foldingcookie: In cloud deployment its easy to deploy stateless vms, called so because they work if started right out of box. Stateful cloud machines have to be prepared before they can integrate into the cloud.
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
markus1189 has joined #nixos
Supersonic112 is now known as Supersonic
<zybell_> That goodie makes machines possible that can hold state, but leave or enter the cloud without preparation.
<foldingcookie> that's true
<zybell_> That is the holy grail of cloud management.
n0qqe has joined #nixos
markus1199 has quit [Ping timeout: 265 seconds]
noqqe has quit [Ping timeout: 246 seconds]
n0qqe is now known as noqqe
jluttine has joined #nixos
fl3 has joined #nixos
<Lisanna> ...can't pass a custom ./src to src of Nix's builder... omg
rosa has joined #nixos
fl3 has quit [Ping timeout: 264 seconds]
freeman42x]NixOS has joined #nixos
<nikivi> I read that nix on mac does not have binary caches, is that correct?
<nikivi> So you need to compile everything from source on mac
<dhess> That is incorrect.
fl3 has joined #nixos
benny has quit [Ping timeout: 276 seconds]
<Shados> I've spent a while looking, but am I correct that there is no way to add or replace root-owned dummy files inside sandboxed build environments (e.g. /etc/passwd) on a per-package basis?
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
benny has joined #nixos
rosa has quit [Quit: rosa]
jrolfs has quit [Ping timeout: 256 seconds]
fl3 has quit [Ping timeout: 240 seconds]
marusich has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
radvendii has quit [Quit: WeeChat 2.0]
Lears has quit [Ping timeout: 245 seconds]
Ridout has quit [Quit: Lost terminal]
<Lisanna> take THAT nix!
<elvishjerricco> does nixops have anything equivalent to `nixos-rebuild boot`?
pie_ has quit [Ping timeout: 260 seconds]
<dhess> there are --force-reboot and --allow-reboot
<elvishjerricco> dhess: I don't think those will use `switch-to-configuration boot` though
<elvishjerricco> I specifically don't want it activating new stuff until reboot
<dhess> oh I see
<elvishjerricco> Trying to work around this issue: https://github.com/NixOS/nixops/issues/908
<elvishjerricco> I believe the vbox base image is 16.09, which is incapable of activating the 18.03 deployment
<dhess> well the man page for --force-reboot does say "Reboot the machine to activate the new configuration (using nixos-rebuild boot)."
<elvishjerricco> dhess: Ah. cool
<elvishjerricco> I'll give that a shot
<clever> elvishjerricco: yeah, force reboot causes it to use the boot flag
<elvishjerricco> clever: Thanks. I was having trouble finding that code :)
<{^_^}> [nixpkgs] @ryantm opened pull request #37681 → rawtherapee: 5.3 -> 5.4 → https://git.io/vx8gy
taktoa has joined #nixos
pie_ has joined #nixos
marusich has quit [Ping timeout: 276 seconds]
marusich has joined #nixos
s2mitrov has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
orivej has joined #nixos
ryanartecona has quit [Ping timeout: 276 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
slack1256 has joined #nixos
rodgort has quit [Quit: Leaving]
tertle||eltret has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
ryanartecona has joined #nixos
rodgort has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37682 → signal-desktop: 1.5.2 -> 1.6.1 → https://git.io/vx8aW
<coconnor> Lisanna: sounds simlar to some improper caching I ran into earlier.
<Lisanna> coconnor oh?
<coconnor> Lisanna: aye. The query for the narinfo from binary caches would be cached and persisted in the sqlite DB
<coconnor> Lisanna: including queries that resulted in a 500 status. And 404 IIRC.
<Lisanna> Hmm, I don't think that's what I'm running into
<Lisanna> this is a locally-built derivation that I'm copying to a local binary cache
<coconnor> Lisanna: ok. sounded similar. trying to track down what need to change in the binary cache resolver
<Lisanna> well, the hash is getting corrupted somehow
<Lisanna> it's interesting that it only happens with --to file://, and not --to ssh://
<Lisanna> ...and only on this particular derivation (the derivation itself builds and runs fine afaik)
ahmedtd has quit [Quit: No Ping reply in 180 seconds.]
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
<Lisanna> maybe I should try printing the hash it's expecting...
ahmedtd has joined #nixos
cyraxjoe has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @ryantm opened pull request #37683 → smplayer: 18.2.2 -> 18.3.0 → https://git.io/vx8ah
slack1256 has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
<ryantm> Is there a way to mark an attrpath in all-packages.nix as deprecated?
<{^_^}> [nixpkgs] @Ralith opened pull request #37684 → vulkan-loader: 1.0.61.1 -> 1.1.70.0 → https://git.io/vx8V4
<ryantm> Or a better question, is how do we handle cases where attrpaths need to be renamed? For example, when they use an unconventional version representation.
<coconnor> broken might be the closest.
<coconnor> ah
<coconnor> does the "name" attribute need to be changed?
<coconnor> or the name of the attribute? THere is a aliasing standard for attribute names
<coconnor> not sure about "name" changes tho
<coconnor> that was a horrible explanation but check out nixpkgs/pkgs/top-level/aliases.nix
<{^_^}> [nixpkgs] @ryantm opened pull request #37685 → snd: 18.1 -> 18.2 → https://git.io/vx8Vz
asuryawanshi has joined #nixos
schoppenhauer has quit [Ping timeout: 263 seconds]
flugsio has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
schoppenhauer has joined #nixos
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/f4f3e19eac8 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
asuryawanshi has quit [Ping timeout: 240 seconds]
<ryantm> coconnor: Thanks for pointing out that file!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37425 → gnustep.back: 0.25.0 -> 0.26.2 → https://git.io/vxZZ6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx8Vj
<{^_^}> → 7d639b17 by @ryantm: gnustep.back: 0.25.0 -> 0.26.2
<{^_^}> → 4d2a1675 by @matthewbauer: Merge pull request #37425 from ryantm/auto-update/gnustep-back
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37428 → gnustep.base: 1.24.9 -> 1.25.1 → https://git.io/vxZnr
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx8we
<{^_^}> → d74331de by @ryantm: gnustep.base: 1.24.9 -> 1.25.1
<{^_^}> → 92c22422 by @matthewbauer: Merge pull request #37428 from ryantm/auto-update/gnustep-base
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37430 → gnustep.gorm: 1.2.22 -> 1.2.23 → https://git.io/vxZWz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx8wv
<{^_^}> → 564b218e by @ryantm: gnustep.gorm: 1.2.22 -> 1.2.23
<{^_^}> → 4366659e by @matthewbauer: Merge pull request #37430 from ryantm/auto-update/gorm
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37192 → gnustep-make: 2.6.8 -> 2.7.0 → https://git.io/vxYvM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vx8wJ
<{^_^}> → 633acbf5 by @ryantm: gnustep-make: 2.6.8 -> 2.7.0
<{^_^}> → 0668872d by @matthewbauer: Merge pull request #37192 from ryantm/auto-update/gnustep-make
sellout- has joined #nixos
sellout-1 has quit [Ping timeout: 268 seconds]
dvim has joined #nixos
jluttine has joined #nixos
Lisanna has quit [Remote host closed the connection]
srjek|home has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37686 → swiften: 3.0beta2 -> 4.0 → https://git.io/vx8wN
robstr has joined #nixos
<robstr> morning
<coconnor> I'm PST my friend. Good evening!
<robstr> haha :+1
<coconnor> btw. no. I did not know a solution to your question about ami
<coconnor> did you figure one out?
<robstr> no, it was quite late yesterday. I created a small issue
<robstr> What i dont get right now, wich channel does nixops use ?
<abathur> hmm
thefloweringash has quit [Ping timeout: 246 seconds]
<coconnor> not sure what the default is. I'm careful to set NIX_PATH for projects specifically to a known checkout
<coconnor> highly recommend that practice
<kaychaks> I am behind a intercepting proxy and my `nix-channel --update` command is failing with error `SSL peer certificate or SSH remote key was not OK (51)`
<kaychaks> prior to nix 2 it used to ack curl settings (--insecure)
<robstr> coconnor: who, this makes sense, I run into the issue that first time ghc-mod was working perfect on the stable channel, 1w later i updated it and it wont start... How can this happen ? Shouldn't a channel be freezed for old things ?
<kaychaks> but with nix 2 `.curlrc` settings are not accepted. Is there some other way to let nix not worry about SSL verification
<kaychaks> as per this issue https://github.com/NixOS/nix/issues/1477 there used to be some flag called `verify-https-binary-caches`
zzamboni has joined #nixos
<kaychaks> it's not working with nix 2 as well
zzamboni has quit [Client Quit]
MercurialAlchemi has joined #nixos
<abathur> has anyone successfully compiled something that depends on mysql/mariadb?
sellout-1 has joined #nixos
sellout- has quit [Read error: Connection reset by peer]
<fearlessKim[m]> how can I use "or" keyword" in nix. I am trying in a string '' ${account ? signatureFilename or ""} '' (signatureFilename can be null)
<abathur> fearlessKim haven't really started learning nix expression language in earnest yet, but why 'or' keyword instead of ||?
<fearlessKim[m]> || will return a bool I believe while or will return the value
<fearlessKim[m]> abathur it's used in pkgs/os-specific/linux/kernel/generic.nix
<abathur> hmm
<abathur> maybe just parens for order of operations?
<abathur> (account ? signatureFilename) or ""
<abathur> ?
<dtz> "or" is the or operator, see https://nixos.org/nix/manual/#table-operators
<dtz> ${account.signatureFilename or ""} is the same as ${if (account ? signatureFilename) then account.signatureFilename else ""}
roconnor has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37687 → wayland: 1.14.0 -> 1.14.92 → https://git.io/vx8oR
thefloweringash has joined #nixos
roconnor has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « ksystemlog: init at 17.12.2 »: https://git.io/vx8oX
Lisanna has joined #nixos
roconnor has quit [Remote host closed the connection]
roconnor has joined #nixos
boomshroom has quit [Quit: WeeChat 2.0]
jrolfs has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
roconnor has quit [Ping timeout: 264 seconds]
roconnor has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
jrolfs has joined #nixos
reinzelmann has joined #nixos
hyper_ch2 has joined #nixos
<fearlessKim[m]> dtz: thanks for the link, in fact account.signatureFilename always exists, it's just that sometimes it's null, I guess I will have to do the full if accout.signatureFilename != null then account.signatureFilename else ""
ma27 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #37682 → signal-desktop: 1.5.2 -> 1.6.1 → https://git.io/vx8aW
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vx86x
<{^_^}> → b7046ab2 by @ryantm: signal-desktop: 1.5.2 -> 1.6.1
<{^_^}> → ead00851 by @adisbladis: Merge pull request #37682 from ryantm/auto-update/signal-desktop
<{^_^}> [nixpkgs] @adisbladis merged pull request #37667 → librsync: 2.0.1 -> 2.0.2 → https://git.io/vx8O9
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vx8ie
<{^_^}> → 7b6cdb55 by @ryantm: librsync: 2.0.1 -> 2.0.2
<{^_^}> → 0efd1287 by @adisbladis: Merge pull request #37667 from ryantm/auto-update/librsync
blankhart has quit [Ping timeout: 276 seconds]
jluttine has quit [Ping timeout: 260 seconds]
mounty_ has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
reinzelmann has quit [Quit: Leaving]
reinzelmann has joined #nixos
zzamboni has quit [Read error: Connection reset by peer]
zzamboni1 has joined #nixos
mounty has quit [Quit: Konversation terminated!]
<goodwill> is the only way to set priority in configuration.nix via packageOverrides
alex`` has joined #nixos
<goodwill> for the systemPackages
hotfuzz_ has joined #nixos
jluttine has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Remote host closed the connection]
ma27 has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 240 seconds]
xAFFE has joined #nixos
periklis has joined #nixos
mounty has joined #nixos
asuryawanshi has joined #nixos
Lears has joined #nixos
zzamboni1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « vis: patch shebang to use system bash »: https://git.io/vx8XM
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « vis: patch shebang to use system bash »: https://git.io/vx8X9
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
rauno has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
d0nkey has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
chrisbarrett has joined #nixos
jeeger has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37688 → gettext: don't add -lintl on musl, either → https://git.io/vx818
<jeeger> Greetings! I'm wondering whether I could use nixos/nix to build images for raspberry pis. All i've seen so far is live CDs, I'd like to create a bootable SD card image on a (x86) host machine. Is this possible?
asuryawanshi has joined #nixos
roconnor has quit [Remote host closed the connection]
<aminechikhaoui> jeeger: you should probably take a look at https://nixos.wiki/wiki/NixOS_on_ARM
roconnor has joined #nixos
<jeeger> aminechikhaoui: Raspi 3 is officially supported (AArch64). I'm wondering about the *bootable image building* part.
<aminechikhaoui> Dezgeg is the one that knows better I think, not sure which expressions are used to build the images
chrisbarrett has quit [Quit: chrisbarrett]
<lvmond_> how do i see which python packages there are available?
<lvmond_> i dont suppose nixos.org lists all those
<{^_^}> [nixpkgs] @adisbladis pushed to master « modemmanager: Add glib to buildInputs »: https://git.io/vx81y
<aminechikhaoui> lvmond_: you could use 'nix repl <nixpkgs>' and play with auto completion of pkgs.pythonPackages.
Tucky has joined #nixos
<jeeger> aminechikhaoui: Thanks! if I understand nix correctly, what I'd need is the Nix configuration file that's used for generating the SD card images. I modify it and get custom Raspi images.
<lvmond_> is there a comprehensive search tool for all derivations?
<aminechikhaoui> nix search on Nix 2.0
<lvmond_> i find it difficult to find a specific derivation in github
<symphorien> There is nix-index/nix-locate
Izorkin_ has joined #nixos
coconnor has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
jrolfs has quit [Ping timeout: 248 seconds]
Izorkin has quit [Ping timeout: 246 seconds]
<lvmond_> aminechikhaoui: that repl trick seemed useful, thanks!
<lvmond_> i have tried upgrading to nix 2.0 by adding nixUnstable to my config but still `nix --version shows 1.12pre...`
<aminechikhaoui> lvmond_: how did you add nixUnstable ?
<lvmond_> i want the fancy loading bar for when i'm installing new stuff ;_;
<aminechikhaoui> the right way is to set the option nix.package = pkgs.nixUnstable
ThatDocsLady has joined #nixos
<lvmond_> i'm on a mac and i have a .config/nixpkgs/config.nix and there i have a packageOverrides
<lvmond_> as instructed in the manual
<lvmond_> how can i set that when not using nixos?
<aminechikhaoui> oh no idea what's the right way to do that on darwin :)
<lvmond_> darn
<aminechikhaoui> I could think of how to do it manually by upgrading the daemon launchd config file ? and then updating the UI using nix-env maybe
<aminechikhaoui> or if your launchd config file has the path depending on the current profile just nix-env then restart of the daemon should probably work
<aminechikhaoui> but you should not listen to me as I know little about nix on Darwin :D
thblt has joined #nixos
<sphalerite> jeeger: the expressions are in nixpkgs
knupfer has joined #nixos
<sphalerite> jeeger: nixos/modules/installer/cd-dvd/sd-image*.nix
logotags has joined #nixos
<jeeger> sphalerite: Oh, very cool.
<jeeger> Ah, no cross-compilation though.
<sphalerite> no
logotags is now known as zensc
coot has joined #nixos
roberth has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #37519 → netcdffortran: 4.4.3 -> 4.4.4 → https://git.io/vxcmD
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vx8Du
<{^_^}> → b0f64deb by @ryantm: netcdffortran: 4.4.3 -> 4.4.4
<{^_^}> → 421a4a2a by @nlewo: Merge pull request #37519 from ryantm/auto-update/netcdf-fortran
civodul has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #37566 → pythonPackages.face_recognition: init at 1.2.1 → https://git.io/vxcpW
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vx8yv
<{^_^}> → c2686412 by @Ma27: pythonPackages.face_recognition: init at 1.2.1
<{^_^}> → 1aedde9e by @dotlambda: Merge pull request #37566 from Ma27/init-face-recognition
<{^_^}> [nixpkgs] @volth opened pull request #37690 → nixos/xserver.windowManager.session: handle duplicate names → https://git.io/vx8yf
zensc has quit [Quit: leaving]
<LnL> lvmond_: you have to use nix-env -i to install packages, you don't want an overlay/override in this case
<LnL> and update your channel ofcorse
goibhniu has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
<{^_^}> [nixpkgs] @adisbladis pushed to master « modemmanager: Patch glib header dependency, fixes modemmanager-qt build »: https://git.io/vx8yP
roconnor has quit [Read error: Connection reset by peer]
roconnor has joined #nixos
Lears has quit [Remote host closed the connection]
ryantm has quit [Ping timeout: 240 seconds]
mudri has joined #nixos
rardiol1 has quit [Remote host closed the connection]
<Dezgeg> I have not tried cross-compiling RPi images, but shlevy has
<etu[m]> How well is the RPi3 supported? I've read that HDMI doesn't work etc, but this might be old data?
<Dezgeg> it has worked for a while, including opengl support
<etu[m]> I have two RPi3's at home that I would like to have NixOS on instead of that debian based thingy it runs at the moment.
jensens has joined #nixos
<Dezgeg> it has had occassional bugs I think but currently it should just work
<jeeger> etu[m]: Yeah, raspbian is a bit strange.
paraseba has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/vx8S1
<{^_^}> → 988bcca0 by @7c6f434c: poppler: 0.62 -> 0.63
<{^_^}> → e9817b2a by @7c6f434c: poppler_0_61: init at 0.61 (needed for LibreOffice Still)
<{^_^}> → ca4d81d2 by @7c6f434c: libreoffice-still: 5.4.5.1 -> 5.4.6.2; use poppler_0_61
<{^_^}> [nixpkgs] @Mic92 merged pull request #37679 → nlohmann_json: 3.1.1 -> 3.1.2 → https://git.io/vx88Q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx8SS
<{^_^}> → 6c385503 by @ryantm: nlohmann_json: 3.1.1 -> 3.1.2
<{^_^}> → 9dd4cb39 by @Mic92: Merge pull request #37679 from ryantm/auto-update/nlohmann_json
fl3 has joined #nixos
ilyaigpetrov has joined #nixos
roconnor has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 240 seconds]
paraseba has joined #nixos
roconnor has joined #nixos
<robstr> Someone has problems with `nixops` and deploying to aws ? I receive `no AMI defined for EC2 machine`
<{^_^}> [nixpkgs] @wmertens closed pull request #37661 → libdvdnav: 5.0.3 -> 6.0.0 → https://git.io/vx8Lk
roconnor has quit [Ping timeout: 240 seconds]
roconnor has joined #nixos
thc202 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3cf448faf2e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
roconnor has quit [Remote host closed the connection]
roconnor has joined #nixos
<lvmond_> LnL: how do i do that?
<lvmond_> i still want to install everything declaratively
<LnL> lvmond_: sudo -i nix-channel --update && nix-env -f '<nixpkgs>' -iA nix
<LnL> lvmond_: and reload the nix-daemon service
roconnor has quit [Remote host closed the connection]
roconnor has joined #nixos
<{^_^}> [nixpkgs] @the-kenny pushed to master « erlang: Change order of commands in `postPach` and `postInstall`. »: https://git.io/vx8Qf
<lvmond_> thanks
<LnL> if you want something declarative to manage the nix install take a look at https://github.com/LnL7/nix-darwin
<sphalerite> pbogdan: which nixpkgs version is your ghc-mod thing working with?
<{^_^}> [nixpkgs] @abbradar opened pull request #37692 → systemd: use stable tree → https://git.io/vx8Qa
mudri has quit [Quit: WeeChat 2.0]
<mpickering> Can someone close this issue pls - https://github.com/NixOS/nixpkgs/issues/36365
<abbradar> mpickering: done
<abbradar> (I thought issue authors can close issues themselves, huh)
<LnL> yeah, you should be able to
<mpickering> ah sorry
<mpickering> I am just used to being ineffectual...
<LnL> you can also add Fixes #42 to the pr description, then github will auto close it in most cases
<Lisanna> anyone else on 18.03 getting CPU lockups?
<Lisanna> (specifically in nix-daemon)
<mpickering> I'm also interested if there's a reason not to merge https://github.com/NixOS/nixpkgs/pull/36311
<mpickering> and also https://github.com/NixOS/nixpkgs/pull/37326 could be tested by building the attribute openorienteering-mapper if someone could please trigger a CI build?
<LnL> don't think so, but since you fixed it on darwin we should test that :)
<mpickering> I could test tonight. The build takes an annoying about of time though :(
<LnL> more then an hour?
robstr has quit [Ping timeout: 240 seconds]
robstr_ has joined #nixos
<aminechikhaoui> robstr_: which expression are using ? also which nixpkgs version
abbradar has quit [Remote host closed the connection]
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar closed pull request #37677 → gnome-extra-themes clean ups → https://git.io/vx8CQ
<{^_^}> [nixpkgs] @jtojnar reopened pull request #37677 → gnome-extra-themes clean ups → https://git.io/vx8CQ
katona has joined #nixos
<rnhmjoj[m]> can anyone take a look at https://github.com/NixOS/nixpkgs/pull/37316? it should be ready to merge
<{^_^}> [nixpkgs] @jtojnar opened pull request #37693 → Nix minimal version: 1.11 -> 2.0 → https://git.io/vx87b
Arcaelyx has joined #nixos
logzet has joined #nixos
roberth has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 264 seconds]
<robstr_> aminechikhaoui: I created an issue, https://github.com/NixOS/nixops/issues/910 I'm not sure if i understand your question right
schoppenhauer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « Revert "poppler: 0.62 -> 0.63" »: https://git.io/vx85A
<{^_^}> [nix] @edolstra merged pull request #2004 → download.cc: improve error for hash mismatch, fixup cache hits w/diverted store → https://git.io/vxljO
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/vx8dJ
<{^_^}> → 59b32403 by @dtzWill: download.cc: fix path for cached files
schoppenhauer has joined #nixos
<{^_^}> → 0cb1e520 by @edolstra: Merge pull request #2004 from dtzWill/feature/improved-store-mismatch-errors
<{^_^}> → 74da8139 by @dtzWill: download: improve error for hash mismatch ("store mismatch")
<{^_^}> [nixpkgs] @7c6f434c pushed to staging « poppler: 0.62 -> 0.63 »: https://git.io/vx8dk
Neo-- has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest98961
roberth has joined #nixos
sigmundv_ has joined #nixos
<LnL> huh, vim depends on texlive?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
Lears has joined #nixos
<typetetris> How are locales handled in nix? (`nix-env --query -R $(which tmux)` doesn't show glibc-locales, but If I call it with a wrong setting of `LANG` it refuses to start.)
<{^_^}> [nixpkgs] @Profpatsch pushed to generators-codeowners « CODEOWNERS: Add Profpatsch to /lib/generators.nix »: https://git.io/vx8bd
<{^_^}> [nixpkgs] @Profpatsch opened pull request #37694 → CODEOWNERS: Add Profpatsch to /lib/generators.nix → https://git.io/vx8bF
xAFFE has left #nixos [#nixos]
xAFFE has joined #nixos
Guest98961 has quit [Changing host]
Guest98961 has joined #nixos
Guest98961 is now known as TweyII
__Sander__ has joined #nixos
<TweyII> LnL: Nope
<TweyII> LnL: nix-store -q --referrers $(nix-instantiate -A texlive) ?
mquin has quit [Read error: Connection reset by peer]
humanoyd has joined #nixos
<typetetris> For all packages, which model manpages with a separate ouput thingy (forgot the terminology), they are not placed in my user environment by nix-env, even if I do something like `nix-env -iA tmux.man` :( Is there a reason for this?
simukis has joined #nixos
<LnL> TweyII: it does
<LnL> vim_configurable -> gtk+ -> gdk-pixbuf -> gtk-doc -> dblatex -> texlive-combined
zybell_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « modemmanager: fix patch sha256 »: https://git.io/vx8A4
ertesx-w has joined #nixos
ertes-w has quit [Ping timeout: 276 seconds]
ertesx-w is now known as ertes-w
xcmw has joined #nixos
ertes-w is now known as ertesx-w
ertesx-w is now known as ertes-w
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<Lisanna> ugh... nix-daemon causing cpu lockups + can't boot any generation other than the first generation is a really sucky combo ):
rardiol1 has joined #nixos
abbradar has joined #nixos
coot has quit [Quit: coot]
screamin_jimmy has joined #nixos
jensens has quit [Ping timeout: 248 seconds]
<screamin_jimmy> anybody home ?
humanoyd has quit [Ping timeout: 246 seconds]
humanoyd has joined #nixos
pie_ has joined #nixos
<lejonet> screamin_jimmy: We're always at 127.0.0.1 :)
ottidmes has joined #nixos
<screamin_jimmy> :)
<screamin_jimmy> warning: I'm just a user
<screamin_jimmy> buuuut .... how does one edit config files for various programs ?
<screamin_jimmy> Yes, read the manual but ....
<ottidmes> screamin_jimmy: You need to configure your configuration.nix file to include the relevant options for those programs: https://nixos.org/nixos/options.html
<screamin_jimmy> that's what I read. Hoever, in practice ... for instance, bftpd
<ottidmes> screamin_jimmy: If you mean dotfiles, then this is not included in NixOS, but there are various projects that make it possible to configure it like NixOS, like home-manager: https://github.com/rycee/home-manager
<screamin_jimmy> there is nothing on the options page relevant (that I could find)
<screamin_jimmy> no, I mean bftpd_config
<screamin_jimmy> or in the case of squid, services.squid.configText is supposed to read a file. but it doesn't
<screamin_jimmy> I can find the generated config files but they cannot be written, as it's a read-only file system
<ottidmes> screamin_jimmy: It seems there is no corresponding service for bftpd yet, so you would have to either create one yourself, or it that is too difficult at this point, you could also create the relevant file in /etc directly in your configuration.nix by environment.etc."bftpd/config" = '' ... ''; (not sure what the file location has to be)
ThatDocsLady_ has joined #nixos
<screamin_jimmy> hmm. I can try that :) but that is supposed to work with squid, yet I have not been able to make the rebuild read that file
<ottidmes> screamin_jimmy: It states "Verbatim contents of squid.conf", so it is not supposed to read a file, you are supposed to give it the contents of the file directly in the form of a string. You could include a file if you want via: lib.fileContents /path/to/file
<screamin_jimmy> Using a full pathname like /opt/suid/squid.conf
<screamin_jimmy> oh. So take the configuration file and make it into a single long string ?
troydm has quit [Ping timeout: 240 seconds]
<ottidmes> screamin_jimmy: Not a single long string, or yes, depends on what you mean, you have newlines :P but yeah, one big string
ThatDocsLady has quit [Ping timeout: 276 seconds]
<screamin_jimmy> Okay, but rather than ebing a separate file, it needs to go into configuration.nix itself ?
<screamin_jimmy> between " and "
<ottidmes> screamin_jimmy: NixOS does not follow FHS, e.g. the is no /opt op my system, and it will be ignored by all programs by default, since all programs are patched to only look in /bin /lib /etc and /share
<{^_^}> [nixpkgs] @ttuegel merged pull request #37636 → wrapFirefox: update icon location → https://git.io/vxlrs
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vx8hR
<{^_^}> → 01f37880 by @ttuegel: wrapFirefox: update icon location
<{^_^}> → 6ca55776 by @ttuegel: Merge pull request #37636 from ttuegel/bugfix/firefox/icons
<screamin_jimmy> oh right. I knew that ... sort of (where's that embarrassed icon ?)
<mpickering> LnL: Yes more than an hour.
<ottidmes> screamin_jimmy: Everything needs to go in your configuration (otherwise it would not be a complete enough description of your system)
<screamin_jimmy> I understand that in principle but it seemed like putting configuration files somewhere that the build process could access would be cleaner than a huge configuration.nix ...
<ottidmes> screamin_jimmy: But like I said, you can put things in other files and embed them via lib.fileContents (which trims the last newline, if present) or builtins.readFile
<ottidmes> screamin_jimmy: Yeah, that is what you do in practice, but they are still all referenced or included in you configuration at some point or another
<ij> I enabled avahi and services.avahi.nssmdns = true; and even though I can see the other localhost machine in avahi-browse, I can't resolve it with, say, "ssh othermachine.local". Should I be able? Am I doing it wrong?
<screamin_jimmy> so telling configuration.nix that bftpd/config = onelongstringyfileofbftpdsettings will cause the build to use that to configure bftpd ?
<screamin_jimmy> this oughta keep me busy for a while :p
troydm has joined #nixos
<ottidmes> screamin_jimmy: yeah, if /etc/bftpd/config is a location that bftpd accepts (I just made that file up), but again, to be clear you can do thing like: ''\n... stuff ...\n${lib.fileContents /stuff/from/file}\n... other stuf ...\n''
<screamin_jimmy> I will try the easier way first :) Kind of curious - do people use some of these packages ? This is probaly the first thing you'd have to do with an ftp server but I was not successful in finding any info on that :(
<ottidmes> screamin_jimmy: Since it has been packaged, there is at least one user that was willing to do so, so there is (or was) at least one user. If it was more popular I would have expected a corresponding service file, no matter how small, to exist by now, so it is probably not that popular
tos9 has joined #nixos
<tos9> Hi. How do I get a linkable openssl out of nix (non nixos)?
martingale has quit [Quit: Textual IRC Client: www.textualapp.com]
<screamin_jimmy> Ja, I may be the last one left that looks for the smallest, simplest programs to run ...
<sphalerite> screamin_jimmy: there's a module for vsftpd fwiw https://nixos.org/nixos/options.html#vsftpd
<sphalerite> screamin_jimmy: no you're not, cf. suckless.org :p
<sphalerite> tos9: nix-shell -p openssl
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<screamin_jimmy> now all I gotta do is get suckless to start running NixOS :D
<tos9> sphalerite: that's not persistent though right
<screamin_jimmy> I probably shouldn't even open this can of worms but ... how about making a program run as a service ? Simple or not ?
<sphalerite> tos9: no. Libraries aren't installed with nix
<tos9> sphalerite: what I mean is "I ran nix-env -i openssl, but that did not give me a libssl.so in a place anything will be able to find"
<sphalerite> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> tos9: ^
<tos9> sphalerite: nix seems inconsistent about that though
<tos9> lots of other dylibs are being linked
<tos9> just not openssl
<sphalerite> screamin_jimmy: nixos uses systemd for that. It's not complicated
<symphorien> screamin_jimmy: https://nixos.org/nixos/options.html#systemd.services
katona has quit [Quit: Connection closed for inactivity]
<sphalerite> screamin_jimmy: for example vsftpd's setup looks like this https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/services/networking/vsftpd.nix#L216-231
<symphorien> sytemd.services.foo = { script = "/bin/true"; }
<tos9> wc -l =(ls ~/.nix-profile/lib/*.dylib) --> 18
<screamin_jimmy> it is on slow larry (sigh) :( Maybe I betetr get the basic program running the way I like first, but thanks for the linkn :)
* tos9 reads the doc page though
<symphorien> ok there is no /bin/true but you get the idea
knupfer has joined #nixos
<ottidmes> ij: From what I could see on the Arch wiki and by checking what NixOS does, it should work
az` has joined #nixos
<sphalerite> tos9: that's for software to discover plugins and such at runtime
xcmw has joined #nixos
<tos9> sphalerite: yeah so if I want to dynamically link openssl why is that different?
<ij> ottidmes, Yeah, I also figured so, but it doesn't. :(
<tos9> (I'm sure I get the underlying reasoning by the way -- I'm all for the approach obviously, just trying to figure out how to not have to learn even more nix config, which is not particularly easy)
<{^_^}> [nixpkgs] @jtojnar pushed 17 commits to master: https://git.io/vx4eu
<{^_^}> → e539a439 by @jtojnar: sonata: remove gnome-themes-extra usage
<{^_^}> → 9de4363f by @jtojnar: spice-up: clean up
<{^_^}> → a41294cc by @jtojnar: sound-juicer: clean up
<tos9> bleh, and nix-shell -p is an actual shell
<tos9> so no access to my real shell's functions
<tos9> can I get it to not do that and just tell me which environment variables it wants to set
<ij> --run zsh
<ij> Something might not work with it, because it sources some script in the original shell, but you could try that.
<silver_hook> How do I best set SUDO_EDITOR in NixOS for a specific user?
<sphalerite> tos9: because that's build-time linking
<tos9> ij: yeah, I'm still a bit worried about what it might be changing :/, but probably a bit closer
<{^_^}> [nixpkgs] @jtojnar merged pull request #37677 → gnome-extra-themes clean ups → https://git.io/vx8CQ
bennofs has quit [Quit: WeeChat 1.3]
ma27 has joined #nixos
<srhb> silver_hook: Never heard of that. Is that a thing?
<silver_hook> srhb: SUDO_EDIRO
<ij> srhb, man sudoedit
<silver_hook> srhb: SUDO_EDITOR is where you set which text editor you want to use securely as `sudoedit`
<silver_hook> My question is whether this should go somewhere in the /etc/nixos/configuration.nix or simply somewhere in my home dotfiles?
<srhb> silver_hook: iirc there's no "environment variables for user X" -- only global ones.
<srhb> silver_hook: Unless you use something like home-manager
<silver_hook> Cool, makes sense. Thanks :)
<ij> ottidmes, publish.addresses or publish.workstations was needed
<silver_hook> srhb: Is home-manager a Nix-thing or a separate thing alltogether?
<srhb> silver_hook: It's basically NixOS modules, but for users.
Rusty1_ has joined #nixos
<srhb> silver_hook: I think there's even a NixOS module for home-manager nowadays, so it can be integrated with the system.
<ottidmes> ij: I was testing that out this very moment :P based on: https://github.com/NixOS/nixpkgs/issues/19034#issuecomment-250266667
lord| has quit [Quit: WeeChat 2.0.1]
<silver_hook> srhb: Thanks
fl3 has quit [Ping timeout: 240 seconds]
<ij> ottidmes, Do you know the difference between .domain and .workstations?
az` has quit [Ping timeout: 268 seconds]
nick_l has joined #nixos
<ottidmes> ij: According to the manual .domain is the domain name reported by the machine, and .workstation seems to be what is used on some Mac systems, so it probably allows you to see systems using Bonjour, but this is speculation on my part
<nick_l> Given that nixops ssh venus works, how do I use plain ssh to ssh into venus?
reinzelmann has quit [Quit: Leaving]
<nick_l> The end goal is that I can run something like: ssh remote-host "tcpdump -s0 -w - 'port 8080'" | wireshark -k -i -
<srhb> nick_l: The easiest way is to provision your user/ssh key using nixops, and then just ssh venus
<sphalerite> nick_l: what do you mean?
<srhb> nick_l: nixops generates its own root key and sshs as root
<ij> ottidmes, I restarted the dns cache and it seems like services.avahi.publish.addresses = true is all that I need.
<ij> Maybe these IRC logs will help someone some day. :)
<nick_l> srhb: shouldn't venus be in /etc/hosts of the computer running nixops then?
<srhb> nick_l: Oh sorry, I misunderstood.
<nick_l> srhb: It's not clear to me how ssh would know where venus is.
<srhb> nick_l: deployment.targetHost
<sphalerite> ooooh
<ottidmes> ij: Indeed, that is why I always supply the answer, even though it is to myself :) the IRC logs have helped me out plenty of times
<nick_l> srhb: what does that do?
<srhb> nick_l: That's the attribute nixops uses to find the hostname, iirc.
<srhb> It doesn't _actually_ call ssh venus
<srhb> Not that I know, at least :)
<nick_l> srhb: but I am interested in *ssh* to find venus.
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
* srhb boggles
<nick_l> srhb: nixops ssh venus already worked, remember?
<sphalerite> nick_l: put venus in your ~/.ssh/config
<sphalerite> (or the corresponding nixos option)
<nick_l> sphalerite: but venus can change all the time.
<srhb> nick_l: So you're asking, "I am standing on a remote server, how do I figure out its FQDN?"
<nick_l> srhb: no
<srhb> :D
<srhb> It's like a fun but difficult guessing game.
<sphalerite> ok…
<sphalerite> why can't you use nixops ssh?
<nick_l> sphalerite: because I want to pipe the output.
<sphalerite> and nixops ssh doesn't allow that?
<nick_l> sphalerite: and nixops puts <name of machine> in front of the output.
* sphalerite doesn't know much about nixops
<sphalerite> oooh ok
<nick_l> sphalerite: venus...............> <ls output>
<nick_l> Also, there is no way to run a single command unless you use --include via nixops.
<ottidmes> nick_l: So if you want to use regular SSH, why not copy the private key out of nixops, via `nixops export --deployment <name>`, and just supply that key via ssh?
<sphalerite> nick_l: surely there is? `nixops ssh [username@]machine [command [args...]]`
<sphalerite> (from the manpage)
kreisys has joined #nixos
<nick_l> sphalerite: the manpage might document a feature, but it doesn't work. nixops ssh venus ls does not return a directory listing.
<sphalerite> nice
<nick_l> sphalerite: or, actually it does.
<nick_l> sphalerite: it's just that it was an *empty* directory.
<nick_l> omfg
<sphalerite> haha
fl3 has joined #nixos
fl3 has quit [Remote host closed the connection]
ryanartecona has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nh2 has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos
<robstr_> I haven't figured out a way to resolve my `nixops` issue with aws, it's complaining `no ami defined for ec2 machine` https://github.com/NixOS/nixops/issues/910 can someone help here ? :-/ ?
<{^_^}> [nixpkgs] @peti pushed to master « Revert "gdk_pixbuf: 2.36.7 → 2.36.11" »: https://git.io/vx4ks
coot has joined #nixos
ryantm has joined #nixos
<nick_l> robstr_: deployment.ec2.ami = ami; # add this
<nick_l> robstr_: where ami has a valid string value.
<robstr_> nick_l: ok but shouldnt this be specified by the region ? why do I need to specify this myselfe, each document / example I found doesnt mention this variable
<nick_l> robstr_: you can run thousands (millions?) of AMIs.
<nick_l> robstr_: a default value could take the image for a given release, I suppose.
<nick_l> robstr_: perhaps it already does that, but I override it anyway. I don't want stuff to change without me knowing about it.
<robstr_> nick_l: isnt this ami a nixos specific one ? I mean it makes sense for defining a _channel_
<nick_l> robstr_: you can still build your own NixOS based AMIs.
periklis has joined #nixos
<nick_l> robstr_: if you want to argue in favor of a default, that's reasonable, but open a ticket about it.
John882 has joined #nixos
<aminechikhaoui> robstr_: which nixpkgs version do you use or default channel ?
<nick_l> robstr_: I would not be interested in such a feature, btw.
<aminechikhaoui> that should have the list of AMIs
pbogdan has quit [Quit: ZNC 1.6.5 - http://znc.in]
<aminechikhaoui> in <nixpkgs/nixos/modules/virtualisation/ec2-amis.nix>
<nick_l> aminechikhaoui: is there am 18.03 ami already?
<robstr_> aminechikhaoui:17.9
<robstr_> nick_l: yea what you say makes sense, for nixX beginner it would be easier to find this documented
<nick_l> robstr_: I am also a beginner.
<nick_l> robstr_: I would also like more documentation.
martingale has joined #nixos
<robstr_> nick_l: then you are cleverer then me :P
pbogdan has joined #nixos
<aminechikhaoui> robstr_: does this happen with a recent instance type different than m1.small
pie_ has quit [Ping timeout: 256 seconds]
<aminechikhaoui> I wonder if m1.small is pv instead of hvm
<aminechikhaoui> as for nixos-17.03/17.09 there is no pv AMIs but that should trigger an evaluation error afaik not during the python code execution of nixops
<robstr_> aminechikhaoui: im sorry need to leave fast, i will check later this day and come pack to you
<aminechikhaoui> yeah I don't think what I said is relevant though, in that case there would be an eval error which is more clear
rardiol1 has left #nixos [#nixos]
<nick_l> robstr_: "ami-a30192da" # just use this string.
<aminechikhaoui> nick_l: the AMI should be picked up from the default ones
<nick_l> robstr_: well, that's for eu-west-1.
<nick_l> aminechikhaoui: I don't think it did for me, so that's another reason why I set it.
<nick_l> aminechikhaoui: anyway, it seems a really simple solution to set it just to exclude things.
<nick_l> At least, I assume that robstr_ is interested in solving something for himself or his employer.
<nick_l> If he wants to improve nixops directly, then it would be relevant to get to the bottom of this.
Fare has joined #nixos
<nick_l> But since he is a self-proclaimed beginner, that isn't going to happen.
<aminechikhaoui> oh I can reproduce, so should be something obvious
periklis has quit [Ping timeout: 276 seconds]
pie_ has joined #nixos
<aminechikhaoui> robstr_: oh that should be the hvm vs pv thingy
<aminechikhaoui> I though it generates an exception but seems it just silently put "" in the AMI id
blankhart has joined #nixos
<aminechikhaoui> so maybe try using a more recent EC2 machine generation ?
ma27 has quit [Ping timeout: 256 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
jtojnar has quit [Quit: jtojnar]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #37382 → gtk+: 3.22.28 -> 3.22.29 → https://git.io/vxGJX
ma27 has joined #nixos
<{^_^}> [systemd] @fpletz pushed 77 commits to nixos-v238: https://git.io/vx4tV
<{^_^}> → 5f122cea by @yuwata: rpm: add missing '-p <lua>' in trigger script (#8367)
<{^_^}> → 29caf9b1 by @zdzichu: NEWS: fix typos in v238 section (#8369)
<{^_^}> → d2adc475 by @evverx: tests: stop using `freopen` in `test-fileio`
pie_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @fpletz pushed commit from @abbradar to pr/37692 « systemd: use stable tree »: https://git.io/vx4tF
nh2 has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @fpletz pushed 0 commits to pr/37692: https://git.io/vx4qv
Neo-- has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #37649 → ibus-engines.anthy: 1.5.9 -> 1.5.10 → https://git.io/vxlAn
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4qG
<{^_^}> → 8742b55a by @ryantm: ibus-engines.anthy: 1.5.9 -> 1.5.10
<{^_^}> → 9a7c9738 by @gebner: Merge pull request #37649 from ryantm/auto-update/ibus-anthy
<{^_^}> [nixpkgs] @gebner merged pull request #37448 → ibus-engines.table-others: 1.3.7 -> 1.3.9 → https://git.io/vxZP6
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4q8
<{^_^}> → b651d55d by @ryantm: ibus-engines.table-others: 1.3.7 -> 1.3.9
<{^_^}> → 7af85f59 by @gebner: Merge pull request #37448 from ryantm/auto-update/ibus-table-others
<{^_^}> [nixpkgs] @gebner merged pull request #37446 → ibus-engines.table: 1.9.16 -> 1.9.18 → https://git.io/vxZ6j
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4qB
<{^_^}> → 54d16c10 by @ryantm: ibus-engines.table: 1.9.16 -> 1.9.18
<{^_^}> → cbcc8153 by @gebner: Merge pull request #37446 from ryantm/auto-update/ibus-table
detran has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37683 → smplayer: 18.2.2 -> 18.3.0 → https://git.io/vx8ah
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4qy
<{^_^}> → 5ddcb996 by @ryantm: smplayer: 18.2.2 -> 18.3.0
<{^_^}> → c2b10fcf by @gebner: Merge pull request #37683 from ryantm/auto-update/smplayer
unkn has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui opened pull request #911 → raise an exception if the virtualisation type isn't supported → https://git.io/vx4qp
<aminechikhaoui> robstr_: nick_l that should fix it ^
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/vx4m3
<{^_^}> → 3e4ae0c1 by @AmineChikhaoui: raise an exception if the virtualisation type isn't supported instead
<{^_^}> → f4ce1f83 by @AmineChikhaoui: Merge pull request #911 from AmineChikhaoui/fix-910
<{^_^}> [nixops] @AmineChikhaoui merged pull request #911 → raise an exception if the virtualisation type isn't supported → https://git.io/vx4qp
fendor has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37664 → libmediainfo: 17.12 -> 18.03 → https://git.io/vx8YI
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4mV
<{^_^}> → 47e2bce8 by @ryantm: libmediainfo: 17.12 -> 18.03
<{^_^}> → 8e7bf7ff by @gebner: Merge pull request #37664 from ryantm/auto-update/libmediainfo
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
psychic1 has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @shlevy opened pull request #37698 → Remove HIE package set until automation can be put in place. → https://git.io/vx4YC
psychic1 has left #nixos [#nixos]
psychic1 has joined #nixos
asuryawanshi has quit [Ping timeout: 264 seconds]
jrolfs has quit [Ping timeout: 264 seconds]
jrolfs has joined #nixos
krey has joined #nixos
xcmw has quit [Ping timeout: 268 seconds]
<krey> do I have a copy of NixOS/nixpkgs somewhere in my nixos?
marusich has quit [Ping timeout: 276 seconds]
Synthetica has joined #nixos
<symphorien> yes somewhere in /var/nix
marusich has joined #nixos
<fendor> hey, how can i easily check if my video drivers are using the builtin intel hd gfx?
* krey looks aronud his /nix/var/nix
<symphorien> yes sorry /nix/var/nix
<abbradar> fendor: glxinfo
<fendor> abbradar, not installed :D
<abbradar> fendor: hm, journalctl -eu display-manager
<fendor> abbradar, i installed it, how can i read that output?
psychic1 has quit [Quit: WeeChat 1.6]
psychic1 has joined #nixos
alexteves has joined #nixos
<abbradar> fendor: try grepping for 'vendor'
<goibhniu> you could also check /var/log/X.0.log
<abbradar> goibhniu: we don't have X.0.log anymore
<goibhniu> lol ... mine is from 2016
<goibhniu> thanks!
<abbradar> goibhniu: I was surprired too several months ago, was wondering why's it the same all the time :D
<fendor> what i read from that? https://hastebin.com/sonarakole.vbs
<goibhniu> hehe
<abbradar> fendor: you use something from Intel, that's for sure
<fendor> *what can I read
<abbradar> if you want to know exact chipset...
<abbradar> try searching for "renderer"
<{^_^}> [nixpkgs] @shlevy pushed to master « Remove HIE package set until automation can be put in place. »: https://git.io/vx4s9
<fendor> exact chipset is 620, i know my gfx :D my question is, because i wanted to start some haskell program with sdl2 and it complains that i cant find any drivers
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « Remove HIE package set until automation can be put in place. »: https://git.io/vx4sF
<abbradar> fendor: ahh, that's different. how do you start it?
<abbradar> "cabal run" in shell?
<fendor> abbradar, stack build in shell
<fendor> abbradar, stack run in shell
xAFFE has left #nixos [#nixos]
<fendor> yeah, sorry, classical XY problem :D
szicari has joined #nixos
<abbradar> do you have glxinfo working in shell?
rauno has quit [Ping timeout: 268 seconds]
ikwildrpepper has quit [Read error: Connection reset by peer]
<krey> symphorien: can't find it :/
<fendor> abbradar, hard to tell, but probbaly not
<abbradar> fendor: spews errors?
<abbradar> can you check your "echo $LD_LIBRARY_PATH" in shell?
<fendor> abbradar, in some nix-shell, glxinfo is present, but the problem is porbably related to stack
<abbradar> also, are you on NixOS or on a regular Nix?
<abbradar> Nix-on-some-Linux
<fendor> abbradar, NixOS
<fendor> output is /run/opengl-driver/lib:/run/opengl-driver-32/lib
<abbradar> fendor: let's try running the binary directly, you can find it in dist/build/... I think
<fendor> abbradar, yeah i tried and you are right, then it works
<fendor> so, it is stack related
<abbradar> seems stack clears its environment
<fendor> missing dependency probably
<abbradar> nah
<abbradar> the problem is stack probably doesn't propagate LD_LIBRARY_PATH
<abbradar> we can patch it in NixOS to do the right thing
<abbradar> can you file an issue?
<shlevy> Yeah this should definitely be fixed upstream
<{^_^}> [nixpkgs] @shlevy merged pull request #37698 → Remove HIE package set until automation can be put in place. → https://git.io/vx4YC
<fendor> where should i file that issue? nixpkgs?
<abbradar> I think let's try upstream first
<krey> symphorien: never mind, looks like I don't know how to use find
ma271 has joined #nixos
<abbradar> cc @abbradar
<shlevy> fendor: I'd phrase it as a general issue, not just nix specific. LD_LIBRARY_PATH long predates us ;)
<abbradar> yeah, but you can describe your specific issue as well, Stack knows and uses Nix if available
<abbradar> it's not like they hate us ;)
<screamin_jimmy> ottidmes: thanks, got the squid to work properly, thanks for your assistance :)
<fendor> oh, so they should fix in stack?
ma27 has quit [Ping timeout: 240 seconds]
<abbradar> fendor: not yet sure, they may have their specific reasons to not
<abbradar> at least they can advise
freeman42x]NixOS has joined #nixos
<gchristensen> anyone else have this bug with Spotify that when it isn't playing music, it takes 100% CPU?
<MasseR> gchristensen: and flashing the screen?
<gchristensen> doesn't seem to flash the screen
<fendor> ok, i open an issue in stack
screamin_jimmy has quit [Quit: ChatZilla 0.9.93 [Firefox 45.7.0/20170118123525]]
psychic1 has quit [Quit: WeeChat 1.6]
<ottidmes> gchristensen: What is the benefit of using the spotify application rather than the web interface?
<gchristensen> mostly it boils down to: they have a web interface?
<ottidmes> gchristensen: https://open.spotify.com/
<gchristensen> well one down-side is I'd have to re-allow my computer to talk to facebook to log in :/
<krey> gchristensen: not here
<gchristensen> to which?
<ottidmes> gchristensen: Why login via facebook? I don't
<krey> my spotify doesn't use 100% cpu
<gchristensen> interesting
<gchristensen> ottidmes: back when I registered the ony way to register was via facebook
<MasseR> gchristensen: it does occasionally for me, I haven't been able to repeat it 100%
nikivi has joined #nixos
ryanartecona has joined #nixos
<ottidmes> gchristensen: I created a new account when this was no longer necessary
<fendor> abbradar, i think, the issue is mentioned here as well:https://github.com/commercialhaskell/stack/issues/3811
psychic1 has joined #nixos
<ottidmes> gchristensen: Its lame that they do not allow accounts created via facebook to be disconnected
<gchristensen> I did it from the facebook side
<gchristensen> I wonder if spotify will accept that
<ottidmes> gchristensen: According to this, you can only login normally if you create a new account (if you initially registered via facebook): https://support.spotify.com/is/account_payment_help/account_help/i-want-to-use-spotify-without-facebook/?ref=in_top
psychic1 has left #nixos [#nixos]
<abbradar> fendor: I see! Can you check what `stack exec env | grep LD_LIBRARY_PATH` reports?
psychic1 has joined #nixos
<gchristensen> ottidmes: evidently I went around that though, because I was just able to log in with a username and password, no facebook required!
<gchristensen> ottidmes: I disabled "Platform" on Facebook, then went to Spotify and tried to reset my password, they sent me a username (which was just a sequence of numbers) and a link to reset the password
psychic1 has quit [Client Quit]
<ottidmes> gchristensen: Awesome! The only problem I have with the web interface is some problem reconnecting after suspending my machine, but it seems a refresh fixes this, so its no biggie
Sonarpulse has joined #nixos
stphrolland has joined #nixos
ilyaigpetrov has joined #nixos
<abbradar> fendor: yeah, no parent LD_LIBRARY_PATH
<gchristensen> ottidmes: thank you! I love that I don't have to _run their program_ now.
<abbradar> you can use the same issue I think, just report your experience
abbradar has quit [Remote host closed the connection]
<gchristensen> of course if I had MichaelRaskin's fancy system I'd feel less bad about it
abbradar has joined #nixos
<krey> gchristensen: what is this fancy system I keep hearing about?
<gchristensen> it is a largely custom system with his own process launcher which uses unique UIDs and namespaces for pretty much everything and has really nice isolation properties
<stphrolland> Hi! I have installed a dozens of packages related to development. As a consequence my system take twice as more storage space as before. Without removing/adding packages to see which is the culprit, this I can do it manually, but I was wondering: Is there a one-liner so as to have an idea which nixos derivation takes the most space in my system ? I was planning to use "du" and "ncdu", but if you have
<stphrolland> any other trick, I'd be glad to try and use it !
<phry> can someone give me a quick tip on how to combine an option with it's default value instead of overriding the default value?
<krey> gchristensen: hmm, maybe I should put on my tinfoil hat too and move to the web interface
<infinisil> phry: foo = mkMerge [ options.foo.default someOtherValue ]; should work
<ottidmes> gchristensen: So somewhat similar to QubesOS, but then while still using NixOS? Anyway seems interesting
<gchristensen> ottidmes: agreed
<gchristensen> it is very very lispy... he's a very lispy person... apparently he's given talks about how his computer works.
<ottidmes> lol
<ottidmes> My love for Lisp was short lived, and I never loved the kind of Lisp's he does, because I believe he uses Common Lisp for everything
<krey> gchristensen, ottidmes: so I guess it's like QubesOS with Nix on top of it?
<fendor> abathur, ok, i'll try
<gchristensen> I guess
<krey> what's the benefit of using NixOS compared to using Nix very heavily on another distro?
<TweyII> krey: Working OpenGL ;)
<gchristensen> what are the benefits of using Nix compared to using <<other package manager very heavily>>?
<ottidmes> krey: That is basically answered by why Nix is useful, and NixOS just takes it to the extreme
<joepie91> lol
<goibhniu> krey: system rollbacks are nice
Tucky has quit [Quit: WeeChat 2.1]
<TweyII> krey: More seriously — NixOS gives you the ability to manage your system config in the same way as your packages, which is nice
<joepie91> krey: I would argue that you're not getting anywhere near the full potential value of Nix if it can't also control your kernel, services, etc. - but you're still paying most of the costs
<krey> joepie91: hahaha
<ottidmes> joepie91: I second that, that is why I moved from Arch+Nix to NixOS myself
<joepie91> krey: if you use NixOS, you suddenly have system-wide rollbacks, ability to just instantiate your setup entirely on a new device, declarative system management, etc.
<TweyII> I also switched for rollbacks
<joepie91> krey: (this coming from somebody who started out with openSUSE + Nix)
<joepie91> er
<joepie91> declarative service management*
<joepie91> well system management too but that's not what I meant :P
<phry> infinisil: I'm not really finding the path to the original option, that's where I'm struggling. I'm overriding xsession.windowManager.i3.config.keybindings from home-manager and am trying things like pkgs.home-manager.options.xsession.windowManager.i3.config.keybindings.default but I guess that's wrong
<stphrolland> krey: managing one system as a text file is something you should try before judging it. Take a VM and play with NixOs. I don't consider coming back to Ubuntu or any Linux alike now.
<joepie91> krey: the one downside is that you can no longer 'cheat' by running static binaries that you grabbed from a random site
<joepie91> without a packaging/patching/steam-run/whatever step
<joepie91> also what stphrolland said
<joepie91> expect a nontrivial amount of time being needed to get accustomed to the way NixOS works, because it doesn't have the escape hatches that Nix-on-another-distro might have
<goibhniu> also, you have a more limited set of services to choose from than a mainstream distro
<infinisil> phry: Add "options" to your argument list at the very top, then it's `options.xsession...`
<joepie91> goibhniu: I'd counter that with "most anything I was looking for, I've found - and it's easier to turn random stuff into a service"
<joepie91> :P
<joepie91> more a tradeoff than a downside imo
<krey> guys, I am on NixOS, but I switched from Arch cos I was curious, not necessarily for logical reasons
tos9 has left #nixos [#nixos]
<phry> infinisil: argh, I forgot to get the options argument. thanks for the pointer!
<goibhniu> joepie91: some services are pretty hard to package and keep up to date though
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/b828d00ffda (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<joepie91> krey: depending on how much you've worked with Nix already, be prepared to spend some time finding your way around then :)
MercurialAlchemi has quit [Ping timeout: 260 seconds]
<joepie91> it's definitely worth it in the long run, but for now it requires a nontrivial time investment to really get going
<joepie91> ie. not something I'd generally advice people to jump straight into, if they /need/ a working system right away
<joepie91> advise*
<krey> I guess the most compelling answer is declarative configuration
<goibhniu> on the other hand, the services in nixos are usually dead easy to enable and configure
<krey> but home-manager seems to do a lot of that and is cross-platform (?)
<joepie91> krey: not so much declarative configuration in and of itself, as the fact that it now handles everything
oida has quit [Ping timeout: 268 seconds]
<joepie91> ie. *universal* declarative configuration, rather than in just a few pockets of your system
<joepie91> (this also means an overall more reliable system, as you don't need to worry about the non-declarative pockets anymore or make them work together with the declarative pockets :P)
<ottidmes> In other words, if you have your data / config backup up, you can just restore you system anytime. I recently had this with a server, messed up full disk encryption, lost everything, but I could just reformat, put back data + config, install, done. Imagine that happening on a different distro, means you will have to redo everything you did setting up your system
<krey> ottidmes: offtopic, but messed up fde? how do I not do that?
<goibhniu> or if you have a few machines, which share a lot of config, they're so easy to manage
<gchristensen> or several -- I manage ... uh ... ~20? NixOS machines with very similar configs
<{^_^}> [nixpkgs] @erictapen opened pull request #37700 → neopg: Init at 0.0.4 → https://git.io/vx48A
<ottidmes> krey: Well in my case I used sedutil, which leverages the builtin hardware encryption found in most modern SSDs, and we (a friend an I) could no longer remember ever setting a different password, but it reported the default password as being wrong, so we just reset with the full reset code and reformatted the thing. So with sedutil you can mess up FDE if you ever forget your password, but that is true for LUKS
<ottidmes> as well I guess, so make sure to use some password manager
<leotaku> Is the nixos-18.03 channel already usable? I see it in the channels repo however I don't think I have read anything about its release?
cacatoes has quit [Ping timeout: 276 seconds]
<gchristensen> leotaku: it is not yet released
<ottidmes> leotaku: Its pre-release, you could try it, but its not stable yet for some things, I read on the IRC there were problems with Qt and nixops, so I am waiting until it is actually released
spacefrogg has quit [Remote host closed the connection]
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #37701 → nodePackages_8_x.re-natal: init at 0.8.2 → https://git.io/vx44K
<leotaku> Ok, thanks
srjek|home has joined #nixos
oida has joined #nixos
maximiliantagher has joined #nixos
nuncanada has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #37702 → telepathy-gabble: fix source URL → https://git.io/vx4Bh
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx4Rk
<{^_^}> → 5c142776 by Tim Williams: displaycal: 3.2.4.0 -> 3.5.0.0
<{^_^}> → 4882ab1a by @gebner: Merge pull request #37663 from willtim/master
<{^_^}> [nixpkgs] @gebner merged pull request #37663 → update of displaycal to 3.5.0.0 → https://git.io/vx8mq
knupfer has quit [Ping timeout: 240 seconds]
stphrolland has quit [Remote host closed the connection]
rauno has joined #nixos
silver has joined #nixos
<elvishjerricco> leotaku: I'm using it. I regret it. I've got problems with screen flickering and audio controls not working. Haven't had the time to investigate enough for a proper bug report
hyper_ch2 has quit [Quit: Page closed]
<yorick> maybe it's time to update the virtualbox image
mariel__ has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
aarvar has joined #nixos
pie_ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 2018-03-19 -> 1 »: https://git.io/vx4E4
ryanartecona has quit [Quit: ryanartecona]
Mateon3 has joined #nixos
kmicklas has joined #nixos
hariel has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
alhariel has quit [Ping timeout: 264 seconds]
leothrix has quit [Quit: ZNC 1.6.6 - http://znc.in]
hariel has quit [Ping timeout: 264 seconds]
hariel has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<krey> my /etc/nixos/configuration.nix has two arguments {config, pkgs, ...}. what is config set to?
ma271 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @ryantm opened pull request #37705 → yate: 5.4.2 -> 6.0.0 → https://git.io/vx4uh
ma27 has joined #nixos
leothrix has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #37706 → slstatus: init at unstable-2018-03-21 → https://git.io/vx4zT
<{^_^}> [nixpkgs] @Ma27 closed pull request #36786 → PULL_REQUEST_TEMPLATE: generalize binary test checkbox → https://git.io/vAjAO
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37707 → gettext: Make setup hook work for cross → https://git.io/vx4zn
rosa has joined #nixos
<{^_^}> [nixpkgs] @dezgeg merged pull request #37641 → wine: disable bindnow hardening → https://git.io/vxlDK
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xzfc to master « wine: disable bindnow hardening »: https://git.io/vx4zi
humanoyd has quit [Quit: WeeChat 2.1]
<ottidmes> krey: config contains the final attrset describing the config of your machine, so you can use it to base config on other config, which works because it is lazily evaluated
rosa has quit [Client Quit]
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xzfc to release-18.03 « wine: disable bindnow hardening »: https://git.io/vx4zD
coconnor has joined #nixos
cooleoj has joined #nixos
<cooleoj> Hello!
<cooleoj> I have a question about NixOS. I am using a swedish keyboard but cant seem to find how to set the keymap to swedish layout
<cooleoj> Anyone else had this problem?
humanoyd has joined #nixos
<ottidmes> krey: If you look at almost any module found in nixpkgs you will see that it is used to define other config options based on the config values defined for the options of that module. They for example define a systemd service based on the config you provide, but that systemd service is again just config
lpsmith- has joined #nixos
<ottidmes> cooleoj: services.xserver.layout = "se"; (se is swedish, right?)
<cooleoj> Yeah it is
lpsmith has quit [Ping timeout: 240 seconds]
<cooleoj> so do i put that in config instead of consoleKeyMap = "" ?
<cooleoj> ottidmes
<ottidmes> cooleoj: You might also want to set: https://nixos.org/nixos/options.html#i18n.consolekeymap ehh, so both
<cooleoj> I have set the consolekeymap to se
<cooleoj> but then it cant build
iyzsong has quit [Ping timeout: 264 seconds]
<cooleoj> Cause it cant find it
<ottidmes> cooleoj: The consoleKeyMap defines it for tty's, but that is separate from the one in the X server
<cooleoj> Okay! good to know
<cooleoj> i just get "cannot open file se" though
<ottidmes> cooleoj: Not sure, but worth a shot, do you have i18n.supportedLocales defined?
<coconnor> morning all
<cooleoj> No I dont think so ottidmes
<coconnor> the names of keymaps may be different between the two
<abbradar> fpletz: I'll push systemd then?
mariel__ has quit [Ping timeout: 256 seconds]
<abbradar> coconnor: morning
<{^_^}> [nixpkgs] @fpletz merged pull request #37692 → systemd: use stable tree → https://git.io/vx8Qa
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to staging: https://git.io/vx4gg
<{^_^}> → 6b9771e4 by @abbradar: systemd: use stable tree
<{^_^}> → eae4eec5 by @fpletz: Merge pull request #37692 from abbradar/systemd-238
<abbradar> fpletz: ah, disregard :3
<ottidmes> cooleoj: Not sure if they are related, as in, if supportedLocales also is responsible for providing keymaps, doubt it, but if you do not have it defined, you might want to do so anyway
<abbradar> ottidmes: supportedLocales shouldn't be related
<abbradar> I think when it's not defined it's.... hm
<abbradar> not sure :D
<krey> ottidmes: that actually makes sense
<abbradar> ...they default to "all"
abbradar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz pushed commit from @abbradar to release-18.03 « systemd: use stable tree »: https://git.io/vx4gb
<andrewrk> I'm getting warning: unknown setting 'signed-binary-caches'
<andrewrk> anyone know why this is?
abbradar has joined #nixos
<andrewrk> when doing nixos-rebuild switch
<cooleoj> Where can i define supportedLocales?
clefru has quit [Quit: Leaving]
<fpletz> abbradar: ah :) thanks again, hadn't time this morning to dig into it further
<krey> ottidmes: something like this? http://lpaste.net/363991
<fpletz> also triggered another 18.03 eval
<coconnor> ottidmes: there is an interesting consoleUseXkbConfig setting you might want to try
<abbradar> fpletz: cool, thanks for picking this
<cooleoj> ottidmes: do i put that in a script and run it from config?
<cooleoj> I am very new to this haha
<{^_^}> [nixpkgs] @dtzWill merged pull request #37688 → gettext: don't add -lintl on musl, either → https://git.io/vx818
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vx42s
<{^_^}> → b59fd702 by @dtzWill: gettext: don't add -lintl on musl, either
<{^_^}> → 4ae1790f by @dtzWill: Merge pull request #37688 from dtzWill/fix/no-libintl-musl
<ottidmes> cooleoj: I just checked and I do have /run/current-system/sw/share/X11/xkb/symbols/se, and I definitely did not configure anything for Swedish
<cooleoj> Okay
<cooleoj> Im missing everything under /X11/xkb/symbols/se
<cooleoj> This is probably why haha
<cooleoj> But why would that be
<ottidmes> cooleoj: You need services.xserver.exportConfiguration = true; for them to show up
<ottidmes> cooleoj: But you should not have to do so in order to them to be available, just for them to be available at that path, I believe
<cooleoj> Okay
<cooleoj> hm
knupfer has joined #nixos
jb55 has joined #nixos
<ottidmes> coconnor: Thanks for the tip, I double checked, I am using it in my keyboard configuration, but not in my "shared by all" configuration, which is also used by servers, so there it makes sense not to have that
<ottidmes> andrewrk: That is normal if you have updated to Nix 2.0, while still using nixos-17.09, you can safely ignore it
<andrewrk> ottidmes, thank you
Neo-- has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<TweyII> Is that because Nix 2.0 uses signed-binary-caches by default?
<ottidmes> andrewrk: (copied from an earlier answer to this question) You should be able to safely ignore it, or you could set nix.requireSignedBinaryCaches = false; but be careful, you are very unlikely to want to have that in the long run, since in 18.03 this setting will result in the new setting, require-sigs, to be said to false!
<andrewrk> noted
rosa has joined #nixos
xcmw has joined #nixos
<cooleoj> ottidmes: I found it! its not "se" its "de-lat6"
<cooleoj> Thanks for the help!
<ottidmes> TweyII: Its organized differently, from what I understand, binary caches and substituters are unified, and there now is a require-sigs property that describes whether you expect them to produce signed paths
<krey> what's a good "pastebin" for a .nix file?
<andrewrk> clbin.com
<freeman42x]NixOS> the fact there is no Scala section here is a good or bad thing https://nixos.org/nixpkgs/manual/ ?
<TweyII> Ah, I see
maximiliantagher has quit [Ping timeout: 268 seconds]
<ottidmes> freeman42x]NixOS: Bad, as in, don't expect good intergration with Nix(OS). As far as I know at least.
<coconnor> agreed.
<elvishjerricco> freeman42x]NixOS: ottidmes: https://github.com/teozkr/Sbtix
<coconnor> Sbtix works well
cooleoj has quit [Quit: Page closed]
<krey> andrewrk: that's pretty cool. but I'm asking for syntax highlighting
<abbradar> fpletz: maybe we want to abort current Hydra staging evaluation?
<teozkr> coconnor: yes and no, I'm afraid
<abbradar> it builds packages with broken systemd
<abbradar> which is useless anyway
<elvishjerricco> krey: GitHub gists have syntax highlighting for Nix
<krey> andrewrk: apparently http://nixpaste.lbr.uno
<teozkr> haven't had as much time to maintain it as I'd like, so there's still no SBT 1.x support, for example
<freeman42x]NixOS> I assume it is still possible to use SBT by itself and pretend this is not NixOS, and it will cache its stuff in home somewhere
<fpletz> abbradar: oh, yeah, sorry, forgot about staging :
<fpletz> :)
<ottidmes> elvishjerricco: Thanks, I made a note of it :)
Xal has quit [Ping timeout: 264 seconds]
<teozkr> freeman42x]NixOS: yeah, that should still work
freeman42x]NixOS has quit [Quit: Leaving]
<abbradar> fpletz: you have merged it to staging, it's just that Hydra was faster :D
<teozkr> didn't get to finish my but... :(
<krey> this question is probably wrong, but can I reference my system configuration in a derivation?
<elvishjerricco> teozkr: is still like to hear the but :P
<krey> I'm writing my first, and I don't wanna redefine which python packages I want
<fpletz> abbradar: yeah, I meant that I also should've triggered a new staging evaluation along with 18.03 :)
<abbradar> b
Xal has joined #nixos
<abbradar> *cat issue* ok
<fpletz> eval triggered and the old jobs are being cancelled
<ottidmes> krey: If you define the derivation within your configuration, then sure, just use config (the one passed at the top of your module)
mariel__ has joined #nixos
<gchristensen> mariel__: hi! may I PM?
rosa has quit [Quit: rosa]
<teozkr> elvishjerricco: but.. make sure to reset your sbt.global.base, so it doesn't pick up your user-global plugins
<robstr_> aminechikhaoui: ping
<krey> ottidmes: haha, I know how to do *that* now
<robstr_> aminechikhaoui: thank you really much for checking this :+1
<krey> ottidmes: but so far, it just lives in a default.nix and I use it with nix-shell
sanscoeur has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
blankhart has quit [Ping timeout: 240 seconds]
<ottidmes> krey: Not sure what you want then, or do you want to reference some value of your config in the default.nix?
<krey> ottidmes: I'm not able to describe the problem in generality, so here are the specifics
<krey> ottidmes: in my config.environment.systemPackages, I use python36.withPackages with a long list of packages
<krey> ottidmes: I want my derivation to depend on that list
<aminechikhaoui> robstr_: yeah sure
blankhart has joined #nixos
<krey> ottidmes: I want my package to depend on all the python packages available when I type python in the terminal
<krey> ottidmes: does this make any sense?
<ottidmes> krey: Makes sense, and should be easy enough
<ottidmes> krey: Instead of defining it in your systemPackages, define it as part of an overlay file.
mariel__ has quit [Ping timeout: 276 seconds]
<aminechikhaoui> Anyone knows if I'm doing something wrong by modifying configurePhase of a derivation then doing nix-shell/ configurePhase always results in running the stdenv configurePhase
<aminechikhaoui> what's the right way to run $configurePhase instead, which is correct in the env variable
<clever> aminechikhaoui: there is botn a configurePhase function, and a $configurePhase string
<krey> ottidmes: what's an overlay file?
<clever> aminechikhaoui: the simplest way to run the right one is: phases="configurePhase" genericBuild
<ottidmes> krey: You should configure your overlays used by nix-env and kind to use that overlay file as defined here: https://nixos.org/nixpkgs/manual/#chap-overlays
Fare has joined #nixos
lpsmith- is now known as lpsmith
<aminechikhaoui> clever: oh that sounds good yeah
<krey> ottidmes: thank you
<ottidmes> krey: This also helps understanding overlays: https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/
<ottidmes> krey: And once you have defined your python36.withPackages as part of an overlay file located in the right folder als defined in the manual (you can also define your own location via nixpkgs-overlays=/path/to/overlays as mentioned in the manual)
<ottidmes> krey: You can then include that same overlay file in your nixos configuration as follows: nixpkgs.overlays = [ (import /path/to/your/overlay/file) ];
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vx4oU
<{^_^}> → 107eaa87 by @dezgeg: armTrustedFirmwareQemu: 1.4 -> 1.5, fixes build with GCC7
<{^_^}> → bab5a066 by @dezgeg: armTrustedFirmware: Disable parallel build
<ottidmes> krey: That makes the overlay available in both your system configuration as the nix tools
<ottidmes> krey: And allows you to just reference that custom package like any other in your default.nix
<phry> hm, quick question: I cannot find much about the ordering of sets. Can those be read in the order they are defined or do they end up sorted by alphabet?
maximiliantagher has joined #nixos
<ottidmes> phry: The Nix manual states about sets that "The order of the attributes is irrelevant.", so you cannot assume anything about the order
mkoenig has quit [Remote host closed the connection]
<phry> ottidmes: okay, that's the way to read it that I had hoped not to be true -.- thanks
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
rosa has joined #nixos
asuryawanshi has joined #nixos
<ottidmes> phry: Just out of curiosity, what do you need it for?
nh2 has joined #nixos
<phry> ottidmes: I was stuck with home-manager generating my ssh config, which relies on order. but as it seems I missed the option to add an array instead of a set
Ariakenom has joined #nixos
<phry> ottidmes: so I got my workaround there :)
ryanartecona has joined #nixos
<ottidmes> phry: Good to hear :) That is basically what it comes down to, unordered + keys = attrsets, ordered + indexed = lists
<phry> ottidmes: I've still got a shitload of stuff to learn :) but I'm getting better at finding things in the docs and this channel is awesome :) (thanks everyone!)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9e804ba5bfa (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<mpickering> Anyone fancy merging this now the CI build has passed? https://github.com/NixOS/nixpkgs/pull/37326
<mpickering> LnL: I just set off a build of QGIS 2.18.17, yes it does take over 60 minutes to build.
rosa has quit [Quit: rosa]
<LnL> mpickering: are you using allowBroken by any chance?
<mpickering> no?
ryanartecona has quit [Quit: ryanartecona]
<mpickering> I'm fairly sure that I removed everywhere where that was set
<LnL> hmm then there's something wrong with my recent hydra libs change
<mpickering> I don't understand why you are asking sorry
<mpickering> I think on darwin you can't really use allowBroken as then you would never be able to set platform attributes correctly
<{^_^}> [nixpkgs] @jammerful opened pull request #37708 → nixos/shibboleth-sp: Add Logging Configuration File Option → https://git.io/vx4Kj
<LnL> started a build this morning, but the darwin job was skipped
fresheyeball has joined #nixos
<fresheyeball> hello out there
<mpickering> did you try building it with my patches?
<mpickering> which are only in staging?
<fresheyeball> I would like to use hlibsass a haskell package in my project
<fresheyeball> I am using normal mkDerivation
<fresheyeball> I put pkgs.libsass into the executableHaskellDepends
<fresheyeball> but the linker fails to link
<mpickering> something is wrong there
<mpickering> executableHaskellDepends is not a field of the normal mkDerivation
<mpickering> can you be a bit more precise about what your project is?
<fresheyeball> ok, maybe its not normal then
<fresheyeball> I am using pkgs.haskellPackage.callPackage on my thing
<mpickering> So you are building a haskell library?
<fresheyeball> my project is a haskell exe using hakyll
<mpickering> ok
ma27 has quit [Ping timeout: 246 seconds]
<mpickering> what is libsass?
<fresheyeball> I just cant figure out how to get it to link
<fresheyeball> libsass is a c binary for compiling the sass language to css
<mpickering> Are you trying to write a nix expression to build a hakyll website?
<fresheyeball> mpickering: yes
goibhniu has quit [Ping timeout: 246 seconds]
ma27 has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed to unstable-aarch64 « nixos/tests/installer: Give eval failure on unsupported boot methods »: https://git.io/vx46d
<fresheyeball> sure, I know how to do this
<fresheyeball> I had it working about a year ago
<fresheyeball> updating nix pkgs caused it to stop working
<fresheyeball> I want the update, but I need to know where I can include such a dependency
<fresheyeball> and have it link
<mpickering> ok executableHaskellDepends is the wrong place for the libsass dependency
<fresheyeball> clearly, as its not working haha
<fresheyeball> I can't figure out the right place
roberth has quit [Ping timeout: 264 seconds]
<mpickering> right one sec I am looking
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
Vrolaz has joined #nixos
<krey> ottidmes: overlays are pretty broken https://github.com/NixOS/nixpkgs/issues/24907
chisui has joined #nixos
winem_ has joined #nixos
<mpickering> fresheyeball: What's the exact error building what?
<gchristensen> krey: that doesn't look "pretty broken" but instead "weird confluence of features and design choice resulting in a specific use case being unpleasent"
<fresheyeball> mpickering: ^^
nick_l has quit [Ping timeout: 260 seconds]
Vrolaz has quit [Client Quit]
<elvishjerricco> fresheyeball: I believe you have to do `haskell.lib.appendConfigureFlag myPkg "--ghc-options=-L${somepkg}/lib"`
<mpickering> That doesn't seem right..?
maximiliantagher has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<elvishjerricco> mpickering: I thought Haskell builds didn't automatically include stuff in the library path
xcmw has quit [Ping timeout: 240 seconds]
<elvishjerricco> I guess pkg-config could do it instead
<LnL> mpickering: oh... staging
<fresheyeball> elvishjerricco: what the heck is that?
<mpickering> I would suggest "haskell.lib.addExtraLibrary hlibsass pkgs.libsass"
<elvishjerricco> fresheyeball: i.e. added the library name to your pkgconfig-depends: https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-pkgconfig-depends
<Dezgeg> are you actually sure the problem isn't with the libsass version instead?
<Dezgeg> does the error change if you don't mention libsass at all?
<mpickering> Does hlibsass specify the necessary dependency on libsass already?
unkn has quit [Quit: moo]
<elvishjerricco> mpickering: What do extra libraries do?
<mpickering> I don't know but it looked plausible
<elvishjerricco> Anyway, I tend to prefer the pkgconfig-depends solution for this when possible
<fresheyeball> Dezgeg: error is the same
<elvishjerricco> cabal2nix will pick it up automatically
<Dezgeg> getting a linking error that only mentions two missing symbols sounds weird
<elvishjerricco> so you often won't even have to customize the nix expression
<mpickering> I think Dezgeg might be right
<fresheyeball> if I run cabal2nix more or less get the old version of my expression that fails to link
<mpickering> librarySystemDepends = [ libsass ]; from the hackage-packages.nix file
ertes-w has quit [Quit: Bye!]
Ivanych has quit [Quit: Leaving.]
<krey> how can I add overlays to my configuration.nix? ottidmes?
<elvishjerricco> fresheyeball: Is that with libsass in the pkgconfig-depends section?
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<fresheyeball> elvishjerricco: I dont understand your question
<elvishjerricco> try adding `pkgconfig-depends: libsass` to your cabal file
<fresheyeball> oic
<elvishjerricco> cabal2nix will pick it up and pull both pkg-config and libsass in, and cabal will use them to link it
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<ottidmes> krey: "You can then include that same overlay file in your nixos configuration as follows: nixpkgs.overlays = [ (import /path/to/your/overlay/file) ];"
WhittlesJr has joined #nixos
<krey> ottidmes: oops
<mpickering> It is already listed in hackage-packages.nix
<mpickering> I don't think it will change anything
<WhittlesJr> [0__0]: help
<[0__0]> Available plugins: logger, ping, help, last_seen, bangmotivate (https://botbot.me/freenode/nixos/help/)
<krey> ottidmes: was missing the "import"
<elvishjerricco> mpickering: Hm. So it is. I guess it must be a bad version then :/
<gchristensen> WhittlesJr: hi
<fresheyeball> elvishjerricco: testing
<fresheyeball> same erorr
<mpickering> You need to downgrade the version of libsass I think
<mpickering> or at least check if the right symbols are in libsass
<elvishjerricco> Frustrating that hlibsass builds despite this. Must not have a test suite :/
<mpickering> I don't think it does build
<fresheyeball> elvishjerricco: its the test suite that fails
<elvishjerricco> OH
<elvishjerricco> cool
<fresheyeball> so how can I downgrade libsass?
<fresheyeball> how can I know what to downgrade it to?
<mpickering> work out what version hlibsass needs
ryanartecona has joined #nixos
<mpickering> then you need to override the src attribute of the libsass derivation probably
<elvishjerricco> fresheyeball: Looks like a pretty simple derivation: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libsass/default.nix
<elvishjerricco> `hlibsass.override { libsass = libsass.overrideAttrs (_: { src = ...; }); }`
<elvishjerricco> preferably changing `name` and `version` alongside `src`.
jwynn6 has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 240 seconds]
<WhittlesJr> gchristensen: Howdy. Looks like logs.nix.samueldr.com is way more searchable than botbot.me. Sorry for the noise.
<gchristensen> WhittlesJr: no worries, botbot has been sick lately
<joepie91> honestly, botbot has *never* worked correctly for me with searching
<Dezgeg> it is too web 2.0
<WhittlesJr> gchristensen: aww poor guy.
__Sander__ has quit [Quit: Konversation terminated!]
<gchristensen> also that
<elvishjerricco> Is there any fundamental reason `nixos-container` is tied to NixOS? Or could it be made to work on any Linux with systemd?
asuryawanshi has quit [Remote host closed the connection]
jwynn6 has joined #nixos
asuryawanshi has joined #nixos
szicari has quit [Quit: szicari]
<pmade> I'm trying to build a haskell package with profiling. I have an override in place to build all dependencies with enable*Profiling but I get a compiler error that GHC can't find the profiling interfaces for the dependencies. But if I start a nix-shell ghc-pkg shows the dependencies and they all have profiling hi files. Any suggestions?
<{^_^}> [nixpkgs] @dezgeg merged pull request #37659 → t: 2.9.0 -> 3.1.0 → https://git.io/vx8U2
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xeji to master « t: 2.9.0 -> 3.1.0 »: https://git.io/vx4MI
szicari has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xeji to release-18.03 « t: 2.9.0 -> 3.1.0 »: https://git.io/vx4Mm
<LnL> manveru: Mic92: pushed a 2.0 container and it's 40mb smaller :)
<pmade> Wait, never mind. I removed an overlay and it started building correctly.
ma27 has quit [Ping timeout: 276 seconds]
ma271 has joined #nixos
<Mic92> cool
<LnL> I totally forgot about the 2.0 no perl thing
WhittlesJr has quit [Quit: Page closed]
7GHAAFMOQ has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed to master « riscv-pk: Set correct platforms »: https://git.io/vx4MX
<{^_^}> [nixpkgs] @dezgeg pushed to release-18.03 « riscv-pk: Set correct platforms »: https://git.io/vx4M7
alexteves has quit [Ping timeout: 264 seconds]
7GHAAFMOQ is now known as zybell_
alexteves has joined #nixos
spear2 has quit [Ping timeout: 240 seconds]
TweyII has quit [Ping timeout: 268 seconds]
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> Does anyone have experience with the i3 window icons patch?
<abbradar> Mic92: btw on gajim -- I think I've seen mentions of something something could not load a pixbuf GTK3 errors on our tracker before
<Mic92> abbradar: I just noticed eog has the same problem
<Mic92> so the update is probably unrelatet
<abbradar> ugh
<boomshroom> Another thing, does any version of nixos have the llvm_6 package? It seems to be in master, but it's not available on nixos-unstable as far as I can tell.
<abbradar> I vaguely remember some quite hacky stuff related to gtk pixbuf caches or something
<Mic92> there was a gnome3 update.
<abbradar> ah, probably that's the culprit
<abbradar> (I use it cherry-picked on current channel)
romildo has joined #nixos
WhittlesJr has joined #nixos
WhittlesJr has quit [Client Quit]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/48856a91c02 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<abbradar> Mic92: yeah, seems like it
<abbradar> thanks for investigating
<krey> is there a neat way of getting which nixpkgs commit a channel is at?
<krey> gchristensen: amazing, thank you
<taohansen> Does anyone use Vault for secrets storage?
<taohansen> In tandem with Nix
szicari has quit [Quit: szicari]
<krey> gchristensen: last one is 404
<gchristensen> krey: you'd think I'd know how my own API works. https://channels.nix.gsc.io/nixos-17.09/README.txt
<krey> gchristensen: what's the extra number at the end of latest? timestamp?
<gchristensen> yeah
<krey> gchristensen: I tried .md and gave up, haha
gchristensen has left #nixos ["WeeChat 1.9.1"]
gchristensen has joined #nixos
<abbradar> krey: also https://howoldis.herokuapp.com/
<gchristensen> oops ... krey ^
coot has quit [Quit: coot]
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #37523 → oraclejdk: add version 10 → https://git.io/vxcO6
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @taku0 to master « oraclejdk: add version 10 »: https://git.io/vx4Hw
Synthetica has quit [Quit: Connection closed for inactivity]
szicari has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/vx4HS
<{^_^}> → f330b48b by @thoughtpolice: jhiccup: init at 2.0.8
<{^_^}> → 1800e4ec by @thoughtpolice: wrk2: init at 4.0.0-e0109df5
monotux has quit [Read error: Connection reset by peer]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #37710 → musl: provide debug info, separately, don't disable unwind tables → https://git.io/vx4QV
<coconnor> taohansen: there is a vault nixos module. Have you look at that?
<LnL> taohansen: I use vault with and without nixos
leotaku has quit [Ping timeout: 268 seconds]
ryanartecona has quit [Quit: ryanartecona]
<coconnor> teozkr: I have some spare time and scala skills. What's a good way to contribute to sbtix?
<elvishjerricco> coconnor: You would be my hero. I'm going to have to start packaging scala with nix soon, I think
winem_ has quit [Ping timeout: 240 seconds]
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
leotaku has joined #nixos
kreisys has joined #nixos
<coconnor> elvishjerricco: improving scala on nix is one of my top priorities during my fun-employment ;)
<coconnor> I miss the scala setup I had at my old job... Clunky but complete
<elvishjerricco> coconnor: I'll keep an eye out for it :)
<teozkr> coconnor: top priorities: SBT 1.x and get rid of manual-repo
<{^_^}> [nixpkgs] @dezgeg pushed to master « glslviewer: 1.2 -> 2018-01-31, fixes build »: https://git.io/vx45w
<coconnor> ah! I see the task for SBT 1.x. will take a look
<{^_^}> [nixpkgs] @Mic92 merged pull request #37700 → neopg: Init at 0.0.4 → https://git.io/vx48A
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx45K
<{^_^}> → ebe1cc21 by @erictapen: neopg: Init at 0.0.4
<{^_^}> → 213ff376 by @Mic92: Merge pull request #37700 from erictapen/neopg-init
<{^_^}> [nixpkgs] @dtzWill merged pull request #37710 → musl: provide debug info, separately, don't disable unwind tables → https://git.io/vx4QV
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vx45i
<{^_^}> → 7b44560a by @dtzWill: musl: provide debug info, separately, don't disable unwind tables
<{^_^}> → 01833697 by @dtzWill: Merge pull request #37710 from dtzWill/feature/musl-unwind
<{^_^}> [nixpkgs] @dezgeg pushed to release-18.03 « glslviewer: 1.2 -> 2018-01-31, fixes build »: https://git.io/vx45y
aarvar has quit [Ping timeout: 248 seconds]
<teozkr> coconnor: great! I believe chaker almost had it working, but I'm not sure anything came of it
raynold has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
<krey> I'm having trouble writing a function that imports all files in a directory
humanoyd has quit [Quit: WeeChat 2.1]
<krey> builtins.readDir can't tell me if something's a file or a directory if it's a symlink
maximiliantagher has joined #nixos
aarvar has joined #nixos
monotux has joined #nixos
MichaelRaskin has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Ping timeout: 260 seconds]
<zybell_> krey: use stat() on it.
<taohansen> LnL: How do you find it with NixOS? Are you able to pass around secrets in an immutable way?
<fresheyeball> error: imported archive of ‘/nix/store/rrhniw21zsd6rjbk85m6mmixji5xq85a-source’ lacks a signature
<fresheyeball> WHAT DOES IT MEANNNN>
<fresheyeball> ?
<elvishjerricco> fresheyeball: What are you trying to do?
<krey> zybell_: uuh, where does that live?
<fresheyeball> elvishjerricco: enter a nix shell after substantial refactoring of an expression
<elvishjerricco> fresheyeball: Nix doesn't let paths get added to the store unless they're signed or the user is trusted. So the cache you got it from is probably a little busted
<elvishjerricco> "the users" being the user that's trying to add the path to the store
<elvishjerricco> fresh locally grown builds are always trusted
<fresheyeball> How can I know what its referring to?
<fresheyeball> let nixpkgsRev = "bab5a0664cfc982bf4915ccb214f4a11a5310cea";
<fresheyeball> in import (builtins.fetchTarball
<zybell_> would expect builtin, but is found on cmdline too.
<fresheyeball> "github.com/NixOS/nixpkgs/archive/${nixpkgsRev}.tar.gz") {}
<fresheyeball> thats what I suspect is causing it
<elvishjerricco> Can you eval that fetchTarball expression?
<krey> zybell_: how do you do it?
<fresheyeball> elvishjerricco: nope, threw that same error
<elvishjerricco> fresheyeball: Whoa. I've never seen `builtins.fetchTarball` throw a trust error
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37707 → gettext, libiconv: Make setup hook work for cross → https://git.io/vx4zn
Mitaka89 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/vx4Fl
<{^_^}> → 1482c3c8 by @Ericson2314: gettext: Make setup hook work for cross
Mitaka89 has quit [Max SendQ exceeded]
<{^_^}> → 045de0af by @Ericson2314: libiconv: Make setup hook work for cross
<{^_^}> → 5d116251 by @Ericson2314: Merge pull request #37707 from obsidiansystems/gettext-setup-hook-cross
<fresheyeball> elvishjerricco: give it a try
<fresheyeball> this is how I had been locking down nixpkgs versions, I would like to keep doing that
Mitaka89 has joined #nixos
Mitaka89 has quit [Max SendQ exceeded]
<elvishjerricco> fresheyeball: Works fine for me
<fresheyeball> how are you evaling it?
<elvishjerricco> Oh but my user is trusted on my machine hm
<elvishjerricco> `nix eval '(import (builtins.fetchTarball "github.com/NixOS/nixpkgs/archive/bab5a0664cfc982bf4915ccb214f4a11a5310cea.tar.gz") {})'`
<fresheyeball> yeah same error
<elvishjerricco> fresheyeball: So the path is not in your nix store, right?
<zybell_> on a bash : 'stat -L name' the output is obvious. -c allows to ask for certain aspects.
<fresheyeball> elvishjerricco: grep says its not there
<elvishjerricco> fresheyeball: So when you try to eval it, it has to download it, right?
<fresheyeball> yes
<elvishjerricco> fresheyeball: Does it say what url it's downloading?
<zybell_> man stat helps.
maximiliantagher has joined #nixos
<fresheyeball> yes but it only shows for a second while its downloading
<fresheyeball> looks right
MP2E has joined #nixos
<elvishjerricco> fresheyeball: Try nix-instantiate --eval -E instead of nix eval. Won't clear the log on you. (There may also be a way to ask nix eval not to do that but I don't know)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36465 → weston: fix typo in configure flag → https://git.io/vAN49
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4bm
<{^_^}> → 895b9967 by @Infinisil: weston: fix typo in configure flag
<{^_^}> → 5beab747 by @matthewbauer: Merge pull request #36465 from Infinisil/typo/weston
zzamboni has quit [Quit: Leaving.]
maximiliantagher has quit [Ping timeout: 240 seconds]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36470 → bareos: 15.2.4 -> 17.2.5 → https://git.io/vANz8
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4bl
<{^_^}> → bd43449a by @ryantm: bareos: 15.2.4 -> 17.2.5
<{^_^}> → 10103d69 by @matthewbauer: Merge pull request #36470 from ryantm/auto-update/bareos
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36459 → openldap: Fix test → https://git.io/vANc7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4ba
<{^_^}> → 5fbf9dbf by @NeQuissimus: openldap: Fix test
<{^_^}> → 13051370 by @matthewbauer: Merge pull request #36459 from NeQuissimus/zfh_openldap
Fare has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vx4NG
<{^_^}> → f047d5d7 by @badi: qtkeychain: 0.7.0 -> 0.8.0, fix darwin build
<{^_^}> → 02e269d0 by @badi: use correct 0.8.0 sha256
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36834 → qtkeychain: 0.7.0 -> 0.8.0, fix darwin build → https://git.io/vxepU
<{^_^}> → a9a71559 by @matthewbauer: Merge pull request #36834 from badi/qtkeychain
<andrewrk> ./configure: line 13045: syntax error near unexpected token `Z,zlib,'
<andrewrk> ./configure: line 13045: ` PKG_CHECK_MODULES(Z,zlib,'
<andrewrk> what nix packages do I need to fix this?
<andrewrk> I have: automake, autoconf, pkgconfig, libtool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36958 → arangodb: 3.3.3 -> 3.3.4 → https://git.io/vxTF6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4N8
<{^_^}> → f310df17 by @ryantm: arangodb: 3.3.3 -> 3.3.4
<{^_^}> → 9e7358b6 by @matthewbauer: Merge pull request #36958 from ryantm/auto-update/arangodb
<ottidmes> andrewrk: For what package?
<andrewrk> trying to build zlib from source
<andrewrk> sorry, trying to build libxml2 from source
<andrewrk> note that I don't want a libxml2 package; nixos already provides that. The userland thing I'm trying to do is literally build libxml2 from source
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37065 → lynis: 2.6.2 -> 2.6.3 → https://git.io/vxLYJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4N6
<{^_^}> → 0bb52265 by @ryantm: lynis: 2.6.2 -> 2.6.3
<{^_^}> → 460dde91 by @matthewbauer: Merge pull request #37065 from ryantm/auto-update/lynis
<krey> I'm still confused by overlays; I added <nixpkgs-overlays> to my $NIX_PATH, it's a file. according to the manual this is fine, but when I do nixos rebuild-switch, it says "error opening directory"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37061 → logrotate: 3.13.0 -> 3.14.0 → https://git.io/vxLqA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4NX
<{^_^}> → 30116ccd by @ryantm: logrotate: 3.13.0 -> 3.14.0
<{^_^}> → 03302996 by @matthewbauer: Merge pull request #37061 from ryantm/auto-update/logrotate
<ottidmes> krey: Yeah, thats a known issue
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37052 → libu2f-host: 1.1.4 -> 1.1.5 → https://git.io/vxLTu
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4NS
<{^_^}> → 18db10a1 by @ryantm: libu2f-host: 1.1.4 -> 1.1.5
<{^_^}> → a6386ca6 by @matthewbauer: Merge pull request #37052 from ryantm/auto-update/libu2f-host
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37039 → libsass: 3.4.9 -> 3.5.1 → https://git.io/vxINt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4N7
<{^_^}> → cb9adfff by @ryantm: libsass: 3.4.9 -> 3.5.1
<{^_^}> → 2f220ff2 by @matthewbauer: Merge pull request #37039 from ryantm/auto-update/libsass
abbradar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37032 → libcouchbase: 2.8.4 -> 2.8.5 → https://git.io/vxIQZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4NF
<{^_^}> → f6127ee7 by @ryantm: libcouchbase: 2.8.4 -> 2.8.5
<{^_^}> → b9789bc7 by @matthewbauer: Merge pull request #37032 from ryantm/auto-update/libcouchbase
<fresheyeball> ok, so I have exhausted elvishjerricco haha
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37031 → libbson: 1.9.2 -> 1.9.3 → https://git.io/vxISH
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4NA
<{^_^}> → b150eabc by @ryantm: libbson: 1.9.2 -> 1.9.3
<{^_^}> → 45bc292f by @matthewbauer: Merge pull request #37031 from ryantm/auto-update/libbson
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36993 → fwts: 18.01.00 -> 18.02.00 → https://git.io/vxIf4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4Np
<{^_^}> → 1199d03b by @ryantm: fwts: 18.01.00 -> 18.02.00
<{^_^}> → ab57474b by @matthewbauer: Merge pull request #36993 from ryantm/auto-update/fwts
<fresheyeball> shlevy: you around?
<shlevy> For you? Always
<fresheyeball> ooo baby
<fresheyeball> so I am having a hell of a time
<ottidmes> krey: What about that? I know that is the cause, its linked in the issue
<fresheyeball> that consistently throws error: imported archive of ‘/nix/store/rrhniw21zsd6rjbk85m6mmixji5xq85a-source’ lacks a signature
<fresheyeball> shlevy: was working with elvishjerricco on it, but no dice
<shlevy> fresheyeball: Looks like you have a binary cache enabled whose signature you haven't listed as trusted
<krey> ottidmes: yeah, I mean, it's just kinda funny code
<shlevy> fresheyeball: One sec...
<fresheyeball> nix (Nix) 1.12pre5788_e3013543
jb55 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37080 → pmd: 6.0.1 -> 6.1.0 → https://git.io/vxL84
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vx4AC
<{^_^}> → 7b1f515b by @ryantm: pmd: 6.0.1 -> 6.1.0
<{^_^}> → 6ffbed89 by @matthewbauer: Merge pull request #37080 from ryantm/auto-update/pmd
<elvishjerricco> shlevy: Oddly enough, this even occurred when he tried a brand new url (one that I wouldn't expect to be cached anywhere except maybe cache.nixos.org)
<ottidmes> andrewrk: I was asking because I always look at how other distros package it, makes it easy to spot the dependency you might miss
<shlevy> So there are three options: 1) add your cache (probably Formation's hydra?)'s public key to trusted-public-keys 2) add ?trusted=1 to the offending cache, 3) set require-sigs to false
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37075 → papirus-icon-theme: 20180214 -> 20180311 → https://git.io/vxLnR
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37072 → osrm-backend: 5.15.0 -> 5.16.3 → https://git.io/vxLGG
<shlevy> fresheyeball: All of those would have to be in your system-wide nix.conf, and would require restarting your daemon if you're multi-user
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « osrm-backend: 5.15.0 -> 5.16.3 (#37072) »: https://git.io/vx4AV
<andrewrk> ottidmes, I think I figured it out. It's unrelated to nixos. I'm building with a non-default prefix for libz.a and libxml2 has an annoying build configuration that did not find the pkgconfig located therein
<shlevy> elvishjerricco: It may be git itself :)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37074 → padthv1: 0.8.6 -> 0.9.0 → https://git.io/vxLZH
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « padthv1: 0.8.6 -> 0.9.0 (#37074) »: https://git.io/vx4AK
<shlevy> Oh wait this is fetchtarball :D
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37071 → osinfo-db: 20170813 -> 20180311 → https://git.io/vxL3j
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « osinfo-db: 20170813 -> 20180311 (#37071) »: https://git.io/vx4AP
<shlevy> fresheyeball: merely instantiating that expression gets you the error? :o
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37154 → alembic: 1.7.5 -> 1.7.6 → https://git.io/vxque
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « alembic: 1.7.5 -> 1.7.6 »: https://git.io/vx4Ay
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37146 → znc: 1.6.5 -> 1.6.6 → https://git.io/vxqUD
<ottidmes> fresheyeball: Maybe use nix 2.0 from unstable instead of 1.12pre?
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « znc: 1.6.5 -> 1.6.6 »: https://git.io/vx4AH
<MichaelRaskin> Well, if fetching is substituted
<shlevy> MichaelRaskin: How could it be?
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « waf: 2.0.4 -> 2.0.6 »: https://git.io/vx4AF
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37142 → waf: 2.0.4 -> 2.0.6 → https://git.io/vxtAJ
<shlevy> MichaelRaskin: He didn't provide a sha so there's no way to know the store path in advance
<MichaelRaskin> Why wouldn't it be?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37137 → resilio-sync: 2.5.2 -> 2.5.12 → https://git.io/vxtQr
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @apeyroux to master « resilio-sync: 2.5.2 -> 2.5.12 »: https://git.io/vx4Ax
<MichaelRaskin> A hm
<MichaelRaskin> Doesn't fetchgit do something based on git revision?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37136 → urh: 1.9.2 -> 2.0.0 → https://git.io/vxt9Q
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « urh: 1.9.2 -> 2.0.0 »: https://git.io/vx4Aj
<elvishjerricco> shlevy: Yea, evalling the fetchTarball did it. I thought that was super weird
<shlevy> MichaelRaskin: This is fetchurl :)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37130 → trackballs: 1.2.4 -> 1.3.0 → https://git.io/vxtMo
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « trackballs: 1.2.4 -> 1.3.0 »: https://git.io/vx4xv
<shlevy> fresheyeball: elvishjerricco: Is updting to 2.0 an option?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37121 → tevent: 0.9.35 -> 0.9.36 → https://git.io/vxt8k
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « tevent: 0.9.35 -> 0.9.36 »: https://git.io/vx4xJ
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37116 → skrooge: 2.11.0 -> 2.12.0 → https://git.io/vxtmn
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « skrooge: 2.11.0 -> 2.12.0 »: https://git.io/vx4xT
brianhicks has joined #nixos
<boomshroom> It's oddly satifying watching the free disk space indicator tick up while garbage collection is happening.
<andrewrk> progress bars are sexy
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37104 → samplv1: 0.8.6 -> 0.9.0 → https://git.io/vxL59
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « samplv1: 0.8.6 -> 0.9.0 »: https://git.io/vx4xY
drakonis has joined #nixos
<boomshroom> andrewrk: It's not even a progress bar, it's just a number followed by either G or M.
<boomshroom> Also, LLVM is building and, as usual, is taking forever.
<dtz> :D
<dtz> I still haven't enabled the min/max auto-gc from nix 2 lol
<andrewrk> ooh that sounds neat
<coconnor> which would win: gcc compile speed or clang? ;)
<dtz> so just run it manually occasionally xD
<boomshroom> Indeed, it does sound neet.
<dtz> or frequently if I'm doing many GHC builds and debugging flags for them xD xD
<dtz> lol hey-- we don't even do the multiple-stage bootstrap thing for LLVM/clang like gcc does for itself
<shlevy> dtz: We used to :P
<dtz> although we probably should soon, since that seems to be what upstream prefers
<shlevy> I was, um, shouted down
<dtz> clang: it'll immediately error out because your code has undefined behavior
<dtz> :D :P
<dtz> jk jk
nh2 has quit [Ping timeout: 265 seconds]
<dtz> D:
<coconnor> or it could make you tea. Behavior is undefined and all
<shlevy> I do wonder what would happen if we disabled multitarget though
maximiliantagher has joined #nixos
<boomshroom> I want my RISC-V Rust support, dammit!
<coconnor> I keep hoping for tea... one of these days
<brianhicks> hey, new user here… I'm trying to use Nix to manage my dotfiles and I'm having trouble figuring out how to add my global gitignore file to the wrapper generated by makeWrapper. Any tips? Here's what I've got now, inc nix-info: https://gist.github.com/BrianHicks/16181a02f3331adda5df87f6cecdfdca
<andrewrk> coconnor, technically making you tea would comply with the c++ specification. but the c++ specification still answers to physics
<fresheyeball> shlevy: apparently I am on 2.0
<fresheyeball> nix (Nix) 1.12pre5788_e3013543 == 2.0
<shlevy> boomshroom: If you want to work on it, happy to give you a shell on my new board once it arrives
<coconnor> hahaha
<shlevy> fresheyeball: I mean the actual release, maybe there were bug fixes since then
<elvishjerricco> fresheyeball: I believe you're on an old prerelease
<elvishjerricco> i would expect 2.0 to be more stable
<fresheyeball> how can I upgrade?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ba2a04f656d (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<boomshroom> shlevy: 😮
<elvishjerricco> fresheyeball: are you on nixos or other linux?
<fresheyeball> also, it sucksthat I am in a ddonut hole
<fresheyeball> elvishjerricco: nixos
<dtz> shlevy: hopefully (after appropriate testing? dunno if there's a roadmap or what) we cut a 2.0.1 or 2.1 or w/e soon--those memory fixes are wonderful (among other fixes)
<dtz> (as you well know, xD)
<elvishjerricco> 18.03 comes with 2.0 by default, or the latest 17.09 channel lets you do `nix.package = pkgs.nixStable2;`
<shlevy> dtz: Yeah, I'm hoping to wrap up the release discussion on nix-core soon so we can get something out
<fresheyeball> is 18.03 out and stable?
<gchristensen> no
<shlevy> fresheyeball: It's out but not stable yet
<fresheyeball> ok, so I dont want to do that
<boomshroom> Can someone please make `help` a command for nix 2.0?
<fresheyeball> I am on 17.03
<coconnor> is zero hydra failures for release-18.03 required for that?
<elvishjerricco> the 17.09 option works well though
<fresheyeball> 17.09
<boomshroom> As oposed to just a flag
<shlevy> coconnor: yes, but we have the "mark broken" option for most breakages
<shlevy> boomshroom: Writing new nix subcommands isn't that hard :)
<boomshroom> LLVM with RISC-V is 8% built.
<dtz> boomshroom: haha I want that too :D
<shlevy> boomshroom: Ooh is it in a release?
<dtz> boomshroom: I try it a shameful number of times
<boomshroom> (import ./. {}).llvm_6.overrideAttrs (old: { name = "llvm-riscv"; cmakeFlags = old.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"]; })
<dtz> shlevy: hooking into the existing "--help" infra proved non-obvious last time I looked into it
zzamboni has joined #nixos
* dtz believes in converting "X should Y" into "let's see about making X do Y..."
<fresheyeball> so how can I upgrade to nix 2.0 on 17.09 ?
<shlevy> boomshroom: nice.
<dtz> maybe add an argument? I added building experimental target "wasm" ....
<shlevy> Has anyone tried single-target llvm build times? Sonarpulse how much would you hate me if we went in that direction?
<elvishjerricco> fresheyeball: `nix.package = pkgs.nixStable2`
<Sonarpulse> shlevy: yes :P
<elvishjerricco> shlevy: as would I :P
<dtz> so maybe list of targets, exp or otherwise... bah those all need to be rewritten - the LLVM expressions, I mean
<fresheyeball> all I see there is an expression fragment
<boomshroom> shlevy: For some reason, LLVM 6 isn't in the latest nixos-unstable, so it's being built from master.
<elvishjerricco> fresheyeball: That goes in your configuration.nix
<andrewrk> which package provides PKG_CHECK_MODULES?
<fresheyeball> ah
<Sonarpulse> speaking of LLVM 6
<Sonarpulse> turns out this evil __is_target is already in that
<Sonarpulse> :( :(
<dtz> we can instead just bootstrap an uber-LLVM-compiler exactly once per platform and never build a cross-compiler again :P:P
<Sonarpulse> ^ yes
<Sonarpulse> llvm should not contain any libraries
<Sonarpulse> nor should gcc
<boomshroom> dtz: That's what's nice about LLVM.
<Sonarpulse> this is the most important cross infra thing for 18.09
<Sonarpulse> boomshroom: but we currently dump the compiler-rt sources into the LLVM build
<boomshroom> 9%.
<Sonarpulse> very veru suspicious
brianhicks has quit [Quit: Page closed]
<shlevy> IMO emit-platform specific stuff should be a separate build... If we have severe build times as a result of multitarget, which seems likely on llvm and plausible on binutils, I think we can make a case that the non-cross case takes precedence...
<Sonarpulse> boomshroom: I think I'm just going to see you everywhere, I wrote Once in spin-rs haha
<Sonarpulse> shlevy: why is llvm being slower?
<shlevy> Sonarpulse: Build times I mean
<Sonarpulse> shear size of backend codes?
<boomshroom> Sonarpulse: That was you‽
<shlevy> We'd have to test of course
<Sonarpulse> boomshroom: I am Ericson2314
<shlevy> But it's such an absurdly long build already
<fresheyeball> hahah this is fucked guys
<Sonarpulse> shlevy: are we using ninja?
<Sonarpulse> that helps dramatically, actually
<fresheyeball> error: attribute ‘nixStable2’ missing, at /etc/nixos/configuration.nix:228:15
<Sonarpulse> I don't think we are
<{^_^}> [nixpkgs] @wmertens merged pull request #37662 → libdvdread: 5.0.3 -> 6.0.0 → https://git.io/vx8tP
<fresheyeball> and get this
<{^_^}> [nixpkgs] @wmertens pushed 3 commits to master: https://git.io/vx4pO
<{^_^}> → df141c29 by @ryantm: libdvdread: 5.0.3 -> 6.0.0
<boomshroom> Sonarpulse: Small world!
<{^_^}> → f0e59725 by @wmertens: Merge pull request #37662 from ryantm/auto-update/libdvdread
<{^_^}> → 9846fbf0 by @wmertens: libdvdnav: 5.0.3 -> 6.0.0
<fresheyeball> nix-channel --update
<{^_^}> [nixpkgs] @jonafato opened pull request #37711 → Enable desktop notifications for keybase-gui → https://git.io/vx4pZ
<fresheyeball> throws error: imported archive of ‘/nix/store/0ki8g6pk2gvlpvypy5wa09mvyyqn53bb-nixos-17.09’ lacks a signature
<ottidmes> lol
<elvishjerricco> fresheyeball: shit
<fresheyeball> I cant even update my channel to get nix 2
<Sonarpulse> shlevy: lets take this to #nixos-dev
<elvishjerricco> fresheyeball: you must have nix.package = nixUnstable, right?
<Sonarpulse> it's too busy here
<elvishjerricco> Sonarpulse: I had no idea there was a nixos-dev :P
<dtz> need to use nix2 daemon too...
<fresheyeball> I didnt have a nix.package entry prior
<Sonarpulse> yeah it should be in #nixos topic
<elvishjerricco> fresheyeball: Ah, that might explain it.
<elvishjerricco> How did you update to 1.12pre?
<fresheyeball> how so? How could we just let a stable 17.09 install just die like this?
<fresheyeball> elvishjerricco: I didnt
<ottidmes> fresheyeball: Just do a git checkout of channels/nixos-unstable, and add to an overlay: unstable = import <nixpkgs-unstable> { config = { allowUnfree = true; }; overlays = []; }; then add nix.package = pkgs.unstable.nix; and you should have 2.0
<boomshroom> fresheyeball: Try a nix-env -qa "nix" | less to see if you even have nix 2 in your channel.
<dtz> re:nix2 daemon, cc https://github.com/NixOS/nix/issues/1897 and similar
<elvishjerricco> fresheyeball: So you took no action to update your Nix installation?
<elvishjerricco> Then it shouldn't be possible for you to be on 1.12pre
zzamboni has quit [Quit: Leaving.]
<elvishjerricco> 17.09 defaults to 1.11 stable
<fresheyeball> boomshroom: I don't have it
d0nkey has quit [Ping timeout: 256 seconds]
silver_ has joined #nixos
<elvishjerricco> fresheyeball: does nix-env -q show a user-level installation of nix 1.12pre, for you or for root?
<shlevy> fresheyeball: type -P nix-env
Lears has quit [Quit: Lears]
<boomshroom> fresheyeball: What's the output of `sudo nix-channel --list` and `nix-channel --list`
<ottidmes> fresheyeball: nixos-option nix.package
<elvishjerricco> I've never seen someone get this much help before :P
<boomshroom> elvishjerricco: Neither have I. This seems a little crazy.
<fresheyeball> shlevy: bad option -P
maximiliantagher has quit [Ping timeout: 240 seconds]
<shlevy> fresheyeball: what shell do you use? type -p nix-env :P
<fresheyeball> ottidmes: Value:
<fresheyeball> no value
<fresheyeball> shlevy: zsh
<shlevy> fresheyeball: try just type nix-env
<fresheyeball> shlevy: /home/isaac/.nix-profile/bin/nix-env
<fresheyeball> from Bash
romildo has quit [Quit: Leaving]
<ottidmes> fresheyeball: nix-env -qA as user, it should list either nix or nixUnstable, which you should not have if you run NixOS
silver_ has quit [Client Quit]
<fresheyeball> is it possible I installed nix in user space?
<elvishjerricco> fresheyeball: It's possible, and it could definitely lead to issues like this if it's an unstable nix
<ottidmes> fresheyeball: so your nix-env installed nix is being used instead of the one provided via NixOS
<elvishjerricco> I dunno how it would have happened on accident though :P
rauno has quit [Ping timeout: 240 seconds]
<boomshroom> Does nix enable parallel builds in Cmake by default?
<elvishjerricco> boomshroom: Don't think so. It should just use Cmake to build a make file, then use the ordinary make arguments
<elvishjerricco> LLVM does have `enableParallelBuilding = true;` though
<fresheyeball> I can't get rid of it!
<elvishjerricco> fresheyeball: Yea that's insane. I can't imagine how that could have happened
<ottidmes> fresheyeball: Sure you can, just use the nix 1.x in your /nix/store to uninstall
<shlevy> fresheyeball: try running /run/current-system/sw/bin/nix-env
ikitat has joined #nixos
<fresheyeball> holy hecks
<fresheyeball> that worked
<fresheyeball> I never would have thought of that
<elvishjerricco> Note to self: Avoid `nixUnstable` :P
<fresheyeball> note to self: doing a nix-store gc, does not actually clear out certain imperatively installed env packages
<shlevy> fresheyeball: Your user profile is a gc root
<elvishjerricco> shlevy: But how did that pip get GC'd?
<fresheyeball> now I dont have a nix command at all
<ottidmes> elvishjerricco: Its safe to use nix 2.0 from unstable though, just use its nix package (not nixUnstable), I am using it on nixos-17.09
<fresheyeball> should I add it to my configuration.nix?
<elvishjerricco> fresheyeball: You shouldn't have `nix`, but you should have `nix-env` etc.
<shlevy> fresheyeball: nix was added in 2.0
<fresheyeball> ok, so I am back in a good state
<fresheyeball> gotcha
<elvishjerricco> ottidmes: Yea I used nixStable2 in 17.09.
<ottidmes> fresheyeball: do nix-daemon --version to be sure
<elvishjerricco> But I've prematurely upgraded to 18.03 :P
<fresheyeball> nix-daemon (Nix) 1.11.15
<shlevy> :o ancient
<ottidmes> fresheyeball: You should update your channel/checkout, 1.11.16 has been out for quite a while
sanscoeur has quit [Read error: Connection reset by peer]
sanscoeur has joined #nixos
<shlevy> Switching to nixStable2 is probably the right move if you can manage a nix-channel update :)
<elvishjerricco> Yea I've had no bad experiences with nixStable2
krey has quit [Quit: Lost terminal]
<ottidmes> elvishjerricco: I haven't updated my 17.09 for a month (don't want to do the rebuilds), I plan to go straight to 18.03 once it is out, and nixStable2 does not exists on my checkout
<elvishjerricco> except that nix-shell somehow lost --add-root
maximiliantagher has joined #nixos
<elvishjerricco> ottidmes: nixStable2 is on one of the last versions of 17.09
<fresheyeball> ottidmes: why? I try not to use the channel
<fresheyeball> I actually dont understand what the value of channels actually is
<elvishjerricco> fresheyeball: I'm not a fan of `nix-channel`. But the contents of the channels are just stable release branches
<elvishjerricco> I keep myself pinned to a specific checkout of a channel I like
<fresheyeball> elvishjerricco: I just dont use it
<fresheyeball> I pin my user env to a local checkout of nixpkgs
<boomshroom> fresheyeball: Suff like maybe you want your system to be stable, but as a user, you want the latest and greatest.
<ottidmes> fresheyeball: I have never used a channel on NixOS, first thing I learned was that I could use my own checkout, so that was one the first things I did, I do use the nixpkgs channels to update my checkout
erictapen has quit [Remote host closed the connection]
<fresheyeball> ottidmes: how can I use nix-channels to manage my local checkout? Is there an advantage over just using git?
<boomshroom> The real value I've seen is enabling alternate repositories that aren't the default nixpkgs, but I haven't actually used it for such.
<boomshroom> 20%.
<ottidmes> fresheyeball: No idea, never used nix-channels either, I just git rebase as described on the README of the nixpkgs channels github project :P
<elvishjerricco> fresheyeball: I just use git
<fresheyeball> me too
<fresheyeball> ok
rauno has joined #nixos
<elvishjerricco> and track the nixos-18.03 branch
maximiliantagher has quit [Ping timeout: 264 seconds]
<fresheyeball> gebus all this, and now the package links
<fresheyeball> the hlibsass, but the tests fail
<fresheyeball> much sads
<elvishjerricco> fresheyeball: lol sad
<boomshroom> fresheyeball: `doCheck = false;` is the magic spell. Be careful though; it is black magic.
<elvishjerricco> boomshroom: Unfortunately this is a valid test failure
<elvishjerricco> i think...
<fresheyeball> boomshroom: where would I put that?
<elvishjerricco> does the Nix installer for non-nixos linuxes do a multi-user installation by default now?
<boomshroom> You'd need to override the attributes for the package in an expression.
<elvishjerricco> fresheyeball: haskell.lib.dontCheck hlibsass
<elvishjerricco> shorthand for that
Lisanna has quit [Quit: Lisanna]
<elvishjerricco> Hm I think it does not install multi-user nix by default.
<elvishjerricco> What's the recommended way to install multi-user nix on ubuntu?
<boomshroom> 29%
<elvishjerricco> makefu: Thanks :)
jayq has joined #nixos
maximiliantagher has joined #nixos
<tnks> just checking, does the new "nix" command have an alternative for nix-prefetch-url or nix-store --realise --add-root?
<tnks> I suspect these commands have no alterntive, or are the most succinct way to do the task.
endformationage has joined #nixos
<elvishjerricco> makefu: Hm. That installs everything in /usr/local/bin. Can Nix upgrade itself after that?
ikitat has quit [Quit: ikitat]
<makefu> elvishjerricco: i really don't know, i've never tried multiuser nix - i just knew that there is an article about it in the wiki :)
aarvar has quit [Quit: Leaving.]
<coconnor> elvishjerricco: nix will upgrade itself by adding the update to the current nix profile (the user). Which would then shadow the nix in /usr/local/bin
<coconnor> that covers nix-build et al. As for nix-daemon I'm not sure how to do that on other platforms
aarvar has joined #nixos
boomshroom is now known as boomshroom-away
hexa- has quit [Quit: WeeChat 2.0.1]
Fare has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Quit: Leaving]
elasticdog has quit [Ping timeout: 265 seconds]
elasticdog has joined #nixos
hexa- has joined #nixos
szicari has quit [Quit: szicari]
<{^_^}> [nixpkgs] @flokli opened pull request #37712 → networkmanager-pptp: remove package → https://git.io/vxBUH
coconnor has quit [Quit: Lost terminal]
sanscoeu_ has joined #nixos
sanscoeur has quit [Ping timeout: 268 seconds]
nh2 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #37713 → docker: 18.02 -> 18.03 → https://git.io/vxBTw
coconnor has joined #nixos
lord| has joined #nixos
coot has joined #nixos
krey has joined #nixos
hiratara has quit [Ping timeout: 240 seconds]
<krey> I was doing quite well, but seem to have upset the gods of overlays
dan_b has joined #nixos
hiratara has joined #nixos
<makefu> ?
robstr_ has quit [Ping timeout: 240 seconds]
<ottidmes> krey: What problem do you have with overlays?
asuryawanshi has quit [Remote host closed the connection]
<krey> ottidmes: well, I'm on the path you started me off on earlier today, trying to set up my overlay with the python packages
jayq has quit [Ping timeout: 264 seconds]
<ottidmes> krey: I figured as much, but at what point does it go wrong?
sanscoeu_ has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 264 seconds]
sanscoeur has joined #nixos
Jackneillll has quit [Read error: Connection reset by peer]
Jackneillll has joined #nixos
sanscoeu_ has joined #nixos
sanscoeur has quit [Read error: Connection reset by peer]
<krey> ottidmes: I was getting a bit crazy with the Nix syntax, I think
<krey> ottidmes: the commented out version doesn't work and gives a totally unintelligible error
<krey> ottidmes: the other version does work, so it wasn't the overlay's fault
davidlt has joined #nixos
<ottidmes> krey: that code seems overly complicated
<krey> ottidmes: I'd appreciate some feedback
<ottidmes> krey: first, you shouldn't use packageOverrides when you use overlays, packageOverrides is basically the old way, before overlays existed
davidlt has quit [Remote host closed the connection]
davidlt has joined #nixos
<ottidmes> krey: second, overlays = [ (import overlays ]; is never going to work without overlays first being defined somewhere
<krey> ottidmes: oops, sorry, it's a string defined earlier up in the file
<krey> ottidmes: can you help me get rid of the packageOverrides? I basically just want to have multiple channels
alex`` has quit [Quit: WeeChat 2.0.1]
<krey> ottidmes: that part of the code was originally copied from here: https://nixos.wiki/wiki/Cheatsheet#Customizing_Packages
<ottidmes> krey: Thats simple, just move the things inside pkgs: { ... } to your overlay and rename references to pkgs to super
<krey> ottidmes: ok, but how do I refer to config? I guess I don't?
<fresheyeball> is there an easy way to get a chron job out of a systemd unit?
<fresheyeball> like, hey nixos, run this script every hour or whatever
<mpickering> LnL: It builds for me fine
<ottidmes> instead of copying over the config and the overlays, I would recommend defining NIXPKGS_CONFIG and pointing to a fine defining your config, you are very unlikely to also want to put your overlays on top of unstable and master
<ottidmes> fresheyeball: systemd timers?
Judson has joined #nixos
<kreisys> hey.. any darwin users familiar with an issue where each nixbldN user spawns all of apple's voodoo daemons and make your laptop melt?
<kreisys> I could really use a hand with this :P
<kreisys> Like I'm pretty sure they don't need a spotlight index
<Judson> I'm increasingly concerned about https://github.com/NixOS/nix/issues/1934
<fresheyeball> ottidmes: Idk, I use systemd stuff in nixos to manage persistent background tasks
<fresheyeball> I want to have one that does `cabal update` every day, and on unit start
<fresheyeball> for example
sanscoeu_ has quit [Remote host closed the connection]
<ottidmes> fresheyeball: yeah that should be possible with systemd timers: https://nixos.org/nixos/options.html#timers
sanscoeur has joined #nixos
<Judson> That is: nix 2 cannot successfully install packages on my system. I don't know how to debug that more than "here's the error it produces."
<fresheyeball> ottidmes: woah, I had no idea that was in there
<fresheyeball> And good working examples I can look at?
<Judson> I'm worried because I don't know how to make forward progress here, and I don't want to be left behind with the release of 18.03
<{^_^}> [nixpkgs] @flokli opened pull request #37714 → networkmanager-pptp: remove package (18.03) → https://git.io/vxBtG
<makefu> /
<makefu> wupps
<krey> ottidmes: no, that's actually my use case. one of my overlays only works on top of unstable cos the package isn't in 17.09 yet
<ottidmes> fresheyeball: Just check nixpkgs, it contains plenty of examples
nh2 has quit [Ping timeout: 240 seconds]
<fresheyeball> ottidmes: looking at nixos/modules/services/networking/dnscrypt-wrapper.nix
<{^_^}> [nixpkgs] @LnL7 pushed to master « atk: fix darwin install_name »: https://git.io/vxBto
<fresheyeball> I see it being defined both as a service and as a timer
<fresheyeball> maybe I should take a step back
<fresheyeball> what is a systemd timer?
<ottidmes> krey: ok, but what is your remaining problem?
<krey> ottidmes: I can't complain really, I think I've achieved my goal
<krey> ottidmes: I just thought it would be cool to get rid of packageOverrides
<krey> ottidmes: and clean up my code
<ottidmes> fresheyeball: https://www.freedesktop.org/software/systemd/man/systemd.timer.html https://wiki.archlinux.org/index.php/Systemd/Timers so basically a unit file that calls other systemd service files
knupfer has joined #nixos
davidlt has quit [Ping timeout: 240 seconds]
<ottidmes> krey: ah ok, well, like I said, I think you probably want a global nixpkgs config, shared by all nixpkgs checkouts, which can be achieved with NIXPKGS_CONFIG (nixpkgs config defaults to that file)
<krey> ottidmes: I put { allowUnfree = true; } into the file $NIXPKGS_CONFIG refers to
<{^_^}> [nixpkgs] @dtzWill opened pull request #37715 → systemd: patch to build on musl → https://git.io/vxBtA
<ottidmes> krey: Thats good, then you can remove all explicit setting of the config attribute
<ottidmes> krey: What remains then are the overlays
<krey> ottidmes: nixos-rebuild isn't happy with it
<ottidmes> krey: I would set nixpkgs-overlays in the NIX_PATH (can be set with nix.nixPath = [ "nixpkgs-overlays=/path" ];) and point that to a directory (because of the issue mentioned before), containing your overlay file describing your unstable, master, and other changes you want to make to your default nixpkgs checkout
<ottidmes> krey: That's not enough info, why is it not happy?
<ottidmes> krey: I would then define the overlays for your master and unstable nixpkgs explicitly in some other overlay files, or just embed those overlays directly (maybe even better)
<krey> ottidmes: I know, sorry, I'm also trying to fix it at the same time
<ottidmes> krey: To be clear, I expect your overlays of your master and unstable to be different
hiratara has quit [Quit: ZNC - http://znc.in]
<ottidmes> krey: Well, you cannot have parallel solving if you do not share your memory :P
<krey> ottidmes: it doesn't acknowledge the setting. it says specifically "for nixos-rebuild set this in configuration.nix"
freeman42x]NixOS has joined #nixos
ma271 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<krey> ottidmes: I actually gave up on setting nixpkgs-overlays in my nixPath, the outcomes were too crazy
<krey> ottidmes: I can't remember the exact errors, but I could not get it to work
<krey> ottidmes: so I set "overlays" instead and import it manually when I'm nix-shelling
<ottidmes> krey: NIXPKGS_CONFIG is properly set in the shell you run sudo nixos-rebuild switch (try `sudo su` and check if it is defined there)
<ottidmes> krey: I am using it, not sure what you did to make it go crazy
<krey> ottidmes: fair point. I tried sudo -E
<ottidmes> krey: probably again an issue with the env variable not being set properly and the not doing what you expect because it is looking elsewhere, or something like that
<clever> ottidmes: i prefer `sudo -i` over `sudo su`
<krey> ottidmes: sudo su also not helping
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<ottidmes> krey: env | grep NIX
<clever> krey: compare `env | grep NIX` under both `sudo -i` and `sudo su`
<krey> clever, ottidmes: http://lpaste.net/1536898311082999808
<kerrhau> does anyone know where mpd's log file is stored?
<{^_^}> [nixpkgs] @Ma27 opened pull request #37716 → pythonPackages.grpcio: 1.9.1 -> 1.10.0; fix build → https://git.io/vxBmC
<fresheyeball> elvishjerricco: so I put dontCheck on that package
<clever> krey: hmm, they match up
<ottidmes> kerrhau: journalctl -u mpd, maybe? if you mean actual file, no idea
<kerrhau> yeah, I just realized I could use journald :P
<ottidmes> krey: and you did try `sudo -i` and then calling `nixos-rebuild switch` (i.e. as root)
<fresheyeball> it still runs tests, I think because that package
<krey> ottidmes: now I have
<fresheyeball> I think because hlibsass is a sub dependency on this project, its needed by hakyll-sass
d-fish has joined #nixos
<ottidmes> fresheyeball: Maybe redefine hlibsass in an overlay, such that the tests are disabled nixpkgs wide
<fresheyeball> ottidmes: what is an overlay?
<tnks> when using a Nix boolean in an interpolated shell script string, it's kind of voodoo that toString of true is "1" and "" for false.
<tnks> Is there a convention for using Nix booleans in shell scripts that makes this more tidy/clear?
<Dezgeg> if [ -n "$var" ]; then ...; fi
<tnks> or rather "...${var}..." for interpolation... that's the best I had. I guess that's the intended use.
<{^_^}> [rfcs] @matthewbauer opened pull request #27 → [RFC 0027] Trusted bots → https://git.io/vxBYO
<tnks> I was really expecting it to be "true" and "false", which makes the check explicit.
<krey> fresheyeball: I'm an expert now
Lisanna has joined #nixos
blankhart has joined #nixos
<ottidmes> tnks: I think they make sense since toString is almost always used in the context of shell scripts, and then using "1" for true and "" for false really makes sense
sanscoeu_ has joined #nixos
<ottidmes> krey: Did you succeed with your rebuild?
<krey> ottidmes: unfortunately, I didn't
<tnks> ottidmes: yeah, I just never accepted a world where "" was "falsey". I guess call it style/clarity over convenience.
<krey> ottidmes: exact same behaviour
<zybell_> krey : s/allowUnfree = true;/nixpkgs.config.allowUnfree = true;/?
simukis has quit [Quit: simukis]
<ottidmes> krey: Hmm, I just remembered, you want to have nixpkgs.config = import /same/path/as/your/NIXPKGS_CONFIG;
blankhart has quit [Ping timeout: 240 seconds]
sanscoeur has quit [Ping timeout: 266 seconds]
sanscoeu_ has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
<krey> zybell_: that doesn't sound right. how would it know what nixpkgs is?
<ottidmes> krey: What is happening is that with the other nix tools, nixpkgs is evaluated and then NIXPKGS_CONFIG is inspected, but with NixOS the nixpkgs used by NixOS is being supplied the config parameter explicitly based on nixpkgs.config, so if you want to make them all use that one config file, you have to import it explicitly in your NixOS config
<zybell_> The error asks for it, ask the errormsg.
<ottidmes> tnks: I have lowered my standards considerbly when writing shell scripts...
<{^_^}> [nixpkgs] @Mic92 merged pull request #37712 → networkmanager-pptp: remove package → https://git.io/vxBUH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxBOB
<{^_^}> → 6ac74d60 by @flokli: networkmanager-pptp: remove package
<{^_^}> → f8891d61 by @Mic92: Merge pull request #37712 from flokli/nuke-networkmanager-pptp
<{^_^}> [nixpkgs] @Mic92 merged pull request #37714 → networkmanager-pptp: remove package (18.03) → https://git.io/vxBtG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxBOE
<{^_^}> → fb4847eb by @flokli: networkmanager-pptp: remove package
<{^_^}> → 08101d05 by @Mic92: Merge pull request #37714 from flokli/nuke-networkmanager-pptp-18.03
<krey> ottidmes: cool, I guess
<ottidmes> zybell_: Yeah, that would fix the error message, but does not do what krey expected, doing the import would
<krey> ottidmes: so how do I fix this? should I got getEnv?
<tnks> ottidmes: I won't judge you if you don't judge me.
<ottidmes> krey: I set the both the env variable and config by the same string in my config
davidlt has joined #nixos
<ottidmes> tnks: ghehe, deal :P
<krey> ottidmes: can you link your config?
<ottidmes> krey: No, but I can paste the relevant bit: https://pastebin.com/a8wM2msL
knupfer has quit [Ping timeout: 240 seconds]
<ottidmes> krey: So in that snippet cfg.nixpkgsConfig is something I defined myself, which contains a path to my nixpkgs config
<krey> ottidmes: why do you put that string in /etc/nix/nixpkgs-config.nix ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #37705 → yate: 5.4.2 -> 6.0.0 → https://git.io/vx4uh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxB3k
<{^_^}> → 36fd2baa by @ryantm: yate: 5.4.2 -> 6.0.0
<{^_^}> → da446cf2 by @Mic92: Merge pull request #37705 from ryantm/yate
<krey> what's the difference between variables and sessionVariables? I'm very confused
<ottidmes> krey: session variables are loaded when you start a session for some user (PAM), and variables are loaded as part of the shell (bash, zsh, etc.), so session variables have a greater reach
<krey> ottidmes: thanks
<ottidmes> krey: And /etc/nix/nixpkgs-config.nix should not be necessary, its just overkill, its the default global location for the nixpkgs config, and its easier to remember than the actual location (for me)
<ottidmes> krey: session variables are great for things that are static and you want to be set everywhere possible, the downside is, you cannot update them, you would have to restart your session
<ottidmes> krey: They can be shadowed of course, but if they are not, they will still hold the old value unless you restart the session
<fresheyeball> ottidmes: so I dont think overlays are right for me
<fresheyeball> so I tried this
<fresheyeball> but if gives a very very odd error
<ottidmes> fresheyeball: Wut? thats no overlay :P
coot has quit [Quit: coot]
<fresheyeball> how could this be possible?
<fresheyeball> how can doing an override magically make this fail?
<ottidmes> fresheyeball: If you checked the links given to you by krey, you see that all overlays have the shape of: self: super: { ... your redefined packages ... }
<fresheyeball> ottidmes: yes, and it says to put it in .config/nixpkgs
<fresheyeball> I am not going to do that
<ottidmes> fresheyeball: You do not need to
<fresheyeball> this is project specific need to call dontCheck
<fresheyeball> ottidmes: ok, so that tut only shows lambdas, it doesnt show me how to use it
<{^_^}> [nixpkgs] @Ma27 opened pull request #37717 → qpid-cpp: fix build → https://git.io/vxB3x
<ottidmes> fresheyeball: There is also the manual, but if you want a custom overlay just for that project, you could also pass nixpkgs a list of overlays directly, but thats does mean its not suitable to contributation to nixpkgs in general
<fresheyeball> ottidmes: as in
<ottidmes> fresheyeball: import <nixpkgs> { overlays = [ (self: super: { ... your stuff ... }) ] }
<fresheyeball> I see
<ottidmes> fresheyeball: so instead of using callPackage, you use with <that import I just showed>;
<krey> how do I environment.${nixpkgs-config-path}.source = something ?
<krey> evironment-config-path is a string
davidlt has quit [Ping timeout: 240 seconds]
<ottidmes> krey: it won't work, you can only define files like that as part of /etc and they need to be relative to /etc
<krey> ottidmes: :(
<ottidmes> krey: Or you would need to define a systemd service, but you probably do not want to do this anyway
<fresheyeball> ottidmes: http://lpaste.net/1473084679136477184
<fresheyeball> something is still wrong here
ashgillman has quit [Ping timeout: 276 seconds]
<fresheyeball> I managed to destroy haskellPackages.callPackage
<ottidmes> fresheyeball: yep, you want to do a merge
<kerrhau> is anybody here using mpd and pulse? I can't get mpd to stream audio to pulse.
<fresheyeball> what do you mean?
<ottidmes> fresheyeball: haskellPackages = super.haskellPackages // { hlibsass = super.haskell.lib.dontCheck super.haskellPackages.hlibsass; };
<clever> that wont be available to the other haskell packages, only outside users
dbe has joined #nixos
<fresheyeball> ottidmes: I thought what I had was syntactically the same
<fresheyeball> hu
<clever> `haskellPackages.override { overrides = self: super: { foo = super.override ...; }; }` will modify the haskellPackages to accept the override internally
<clever> then you also dont need the //
<fresheyeball> holy hell
<fresheyeball> it STILL ran the damn tests
<clever> fresheyeball: try the way i just typed
<fresheyeball> clever: I tried that earlier, ottidmes convinced me that overlays are better
<ottidmes> clever: your right, had not considered that haskellPackages are a world on their own
<clever> fresheyeball: you can still use overlays with what i typed
<ottidmes> fresheyeball: You still want to use overlays to redefine it
<clever> the haskell packages basically need their own overlays
<ottidmes> agreed
<fresheyeball> clever: can you give me the whole expression?
<ottidmes> I am off to get some sleep now, good luck fresheyeball!
<fresheyeball> thats what I have so far. I have no idea where to stick the `haskellPackages.override`
<fresheyeball> ottidmes: thanks for your help!
<clever> self: super: { haskellPackages = super.haskellPackages.override { overrides = hsself: hssuper: { hlibsass = super.haskell.lib.dontCheck hssuper.hlibsass; }; };
<clever> i think
<clever> i think it needs 1 more };
<fresheyeball> wow
<mpickering> You can say "pkgs.haskellPackages.extend (sel: sup { hlibsass = pkgs.haskell.lib.dontCheck super.hlibsass })"
<{^_^}> [nixpkgs] @dtzWill opened pull request #37718 → gettext: fix dep on libiconv w/musl → https://git.io/vxBGt
<krey> ottidmes: if I make my unstable channel an overlay, will the other overlays be applied to it?
<krey> ottidmes: I guess I can apply them manually
dbe has quit [Ping timeout: 256 seconds]
<krey> ottidmes: that worked, but I can't get the unfree packages
<krey> ottidmes: on the unstable
<clever> krey: how is nixpkgs being loaded?
<{^_^}> [nixpkgs] @Mic92 pushed commit from @flokli to master « modemmanager: rename ModemManager.service to modem-manager.service »: https://git.io/vxBZe
<{^_^}> [nixpkgs] @Mic92 closed pull request #30452 → modemmanager: rename ModemManager.service to modem-manager.service → https://git.io/vdMzB
<krey> clever: basically, I wanted to use overlays both to define "custom" packages, as well as to keep track of other channels
<krey> clever: it somehow ended up being pretty convoluted http://lpaste.net/3225067109792874496
<krey> clever: in spite of ottidmes promises
<krey> clever: and it still doesn't work. current complaint is that NIXPKGS_CONFIG is set too many times...
<clever> can you pastebin that error?
xcmw has joined #nixos
John882 has quit [Ping timeout: 240 seconds]
<clever> krey: this module always sets it to that path, and is conflicting
<clever> you have to use mkForce to change it