gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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, #nixcon
layus has joined #nixos
jperras has joined #nixos
<biopandemic> 2
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
andymandias has quit [Ping timeout: 268 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
Neo-- has quit [Ping timeout: 264 seconds]
sbdchd has joined #nixos
andymandias has joined #nixos
pie_ has quit [Ping timeout: 260 seconds]
testuser has quit [Ping timeout: 244 seconds]
erratic has joined #nixos
cottongin191811 has joined #nixos
mekeor has quit [Ping timeout: 265 seconds]
<cottongin191811> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
cottongin191811 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Neo-- has joined #nixos
Guest90715 has quit [Ping timeout: 248 seconds]
<kalbasit> has anyone created a script that finds outdated derivations?
galaxite has joined #nixos
<dweller> it shouldnt be that hard
<kalbasit> but I hate to re-invent the wheel :)
<dweller> although afaik version definition isnt standardized
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNrLB
obadz has quit [Ping timeout: 264 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
dbmikus_ has joined #nixos
obadz has joined #nixos
aanderse-laptop has joined #nixos
dbmikus_ has quit [Ping timeout: 256 seconds]
<galaxite> I'm still having trouble with my nvidia card. I've tried loading nvidia drivers, nvidia and intel drivers, using bumblebee, and using the nvidia PRIME solution provided by the wiki. The one thing I haven't been able to try is ambrop72's solution here: https://github.com/NixOS/nixpkgs/issues/24711
<{^_^}> #24711 (by ghost, open): Nvidia, Bumblebee, Hybrid Graphics, Nothing Working on NixOS 17.03
<galaxite> It says that hardware.nvidia.optimus_prime doesn't exist
<galaxite> The error message when I try to run nixos-rebuild, that is.
<galaxite> Is there a version of nixos where it's possible for me to try that fix?
m71218 has joined #nixos
<m71218> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<m71218> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<m71218> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<m71218> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
m71218 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
cryptomonoid has quit [Ping timeout: 240 seconds]
<dweller> well
<dweller> it's haskell
<dweller> i know nix is functional language but still
<dweller> you could do better
Neo-- has quit [Ping timeout: 244 seconds]
<emily> better than what?
pie__ has joined #nixos
<dweller> haskell
07IADHJKA has joined #nixos
<07IADHJKA> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<07IADHJKA> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<07IADHJKA> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
JamesR1917186 has joined #nixos
<JamesR1917186> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<JamesR1917186> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<JamesR1917186> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<07IADHJKA> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<JamesR1917186> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
92AADMI8H has joined #nixos
<92AADMI8H> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<92AADMI8H> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<92AADMI8H> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
07IADHJKA has quit [Killed (Sigyn (Spam is off topic on freenode.))]
JamesR1917186 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<92AADMI8H> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
92AADMI8H has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mdash> sheesh guys, rate-limit it a bit, the joke is getting old
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<mdash> Anyhow, have y'all used gateone on nixos? i'm trying to figure out how to organize my config
<mdash> in particular I probably need to put some paths in a config file, but the nixos module just takes a 'settingsDir'
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/a1299c9951b (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<iqubic> Do all Nix programs terminate?
galaxite has quit [Ping timeout: 265 seconds]
ZeDestructor has quit [Remote host closed the connection]
ZeDestructor has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #44283 → cups-filters: fix the build with poppler-0.67.0 → https://git.io/fNrtX
<gchristensen> no, it has general recrsion
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blonkhart has joined #nixos
galaxite has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
ericsagnes has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
dbmikus_ has joined #nixos
trylist has quit [Ping timeout: 248 seconds]
<iqubic> So I just added a user on my computer to a new group with users.users.iqubic.extraGroups = ["libvirtd"];
<iqubic> I see no changes to the groups that user is in.
<iqubic> "groups iqubic" still shows the old set of groups this user is in.
<samueldr> iqubic: did you (logout)/log back in?
<kalbasit> iqubic: `grep libvirtd /etc/group` do you see the user there?
<samueldr> on linux, even with imperative groupadd, you need to login to be assigned groups (it's a mild pain)
<kalbasit> yea
<iqubic> I see. That's a bit of pain.
<iqubic> I guess I have to log out and log in.
blonkhart has quit [Ping timeout: 240 seconds]
<samueldr> iqubic: is it's inconvenient
<samueldr> you can also `su iqubic`
<ma27> does anybody want to have a look at the following PR: https://github.com/NixOS/nixpkgs/pull/43691
<{^_^}> #43691 (by Ma27, open): termite: factor wrapper out into its own file
<samueldr> for that terminal session you will "login"
<iqubic> So I have to actually shut down my graphical environment?
<demize> If you just need it in one terminal you can also use newgrp to 'log in' to a group.
<iqubic> No.
burnout_28281456 has joined #nixos
07EABRUKM has joined #nixos
07EABRUKJ has joined #nixos
07EABRUKI has joined #nixos
<07EABRUKI> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<07EABRUKJ> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<samueldr> demize: TIL
<07EABRUKM> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<burnout_28281456> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<07EABRUKI> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<07EABRUKJ> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<07EABRUKM> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<burnout_28281456> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<07EABRUKI> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<07EABRUKJ> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<burnout_28281456> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<07EABRUKM> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<07EABRUKJ> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
the has quit [Excess Flood]
<burnout_28281456> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<07EABRUKM> A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
blonkhart has joined #nixos
07EABRUKI has quit [Killed (Sigyn (Spam is off topic on freenode.))]
07EABRUKM has quit [Killed (Sigyn (Spam is off topic on freenode.))]
burnout_28281456 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
07EABRUKJ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<iqubic> I'm trying to get QEMU working in my graphical environment so I can test out GuixSD.
<samueldr> and they HAD to come and ruin the party :(
<samueldr> iqubic: try demize's suggestion
<iqubic> what was demize's suggestion?
<samueldr> [21:30:51] <demize> If you just need it in one terminal you can also use newgrp to 'log in' to a group.
<iqubic> Oh. I see.
<iqubic> I'm not sure how that would help me with QEMU.
<demize> samueldr: It's sort of an archaic command these days, but things like it are the reason that /etc/groups has a password field. If you know the password, you can newgrp a group that your user isn't "in".
<demize> iqubic: You can run whichever QEMU UI from the terminal you newgrp in.
<iqubic> demize: I don't actually know how QEMU works.
<iqubic> This is the first virtual machine that I've made.
polman has quit [Excess Flood]
<iqubic> I want to test out GuixSD as per these instructions: http://libguestfs.org/
<iqubic> Ignore the libguestfs link.
Fare has joined #nixos
sk8forether has quit [Quit: Connection closed for inactivity]
n0qqe has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
blankhart has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « llvm5: disable tests on cross compilers »: https://git.io/fNrmi
<{^_^}> [nixpkgs] @matthewbauer pushed to master « llvm6: disable tests on cross compiler »: https://git.io/fNrmD
aanderse-laptop has quit [Ping timeout: 265 seconds]
halfbit has joined #nixos
hakujin3 has joined #nixos
<iqubic> Do I have to use Nixops just to get a VM going on nixos?
Supersonic has quit [Ping timeout: 256 seconds]
<iqubic> Seems like a lot of effort,
<iqubic> Why is it so hard ot just get a QEMU VM set up so that I can test other distros.
<samueldr> I don't know what to say, other than I never tried libvirtd on anything else than nixos and it was a breeze with nixos?
<samueldr> (if you're going the virt-manager route with qemu)
<samueldr> (qemu could also be used on the CLI with careful parameters)
<samueldr> (or there may be more GUIs, not sure if any are packaged for nixos)
<iqubic> I'd like to be able actually see the GUI of the OS I'm booting into.
hakujin3 has quit [Ping timeout: 260 seconds]
<samueldr> qemu should start graphically by default iirc on nixos
Supersonic has joined #nixos
<iqubic> Oh. I see.
<iqubic> So how do I install it? Other than adding myself to the libvirtd group?
lassulus_ has joined #nixos
<samueldr> depends, since you're talking about libvirtd, that's not strictly qemu
<samueldr> that's a couple of tools around a couple of things, including qemu
<iqubic> I don't know much about virtualization at all.
<samueldr> here's everything I have in my configuration regarding libvirtd
<samueldr> disregard the extraModeprobeConfig
<samueldr> using this config, I can then use `virt-manager` to manage VMs
<drakonis> iqubic, look up arch wiki's qemu page
<iqubic> I'm only creating this one VM.
graphene has quit [Remote host closed the connection]
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
graphene has joined #nixos
<iqubic> samueldr: What program is that in that image?
<samueldr> virt-manager
<iqubic> Should I use that?
<iqubic> And will I be able to follow the instructions on the GuixSD page that I linked?
<samueldr> no idea as I haven't read that page yet (I will in a few minutes)
<iqubic> It looks pretty straight forward.
<iqubic> Thank you for trying to help me.
<samueldr> what I personally would do is use either virtualbox or virt-manager, but only because I'm lazy to figure out the qemu flags
<iqubic> I see.
<iqubic> Doesn't virt-manager run on qemu?
<samueldr> virt-manager uses qemu as its virtualization backend
<samueldr> kind of like a library
<iqubic> I see. I think I'll try that and see if I can get GuixSD to work.
sir_guy_carleton has joined #nixos
<samueldr> well, I looked at the page
<samueldr> since the flags are figured out for the user
<demize> More specifically, virt-manager uses libvirtd, which supports KVM through QEMU, as well as Xen and VirtualBox.
<samueldr> demize: right
<samueldr> I'm currently wgetting the guix iso to try the command
<samueldr> see if it works
<demize> It sort of supports pretty much any hypervisor you can think of, but dealing with the XML for some of them is rather annoying and really badly documented IIRC.
<iqubic> samueldr: Thank you for trying to help me.
<samueldr> no worries, at least if you know it should work, you're not working in vain
<iqubic> The guide says it should work, so I think there must be *some* way to make it work.
<{^_^}> [nixpkgs] @matthewbauer pushed to master « python.futures: disable tests on darwin »: https://git.io/fNrYQ
sir_guy_carleton has quit [Client Quit]
<samueldr> though there may be some steps made hard to understand in their guides
<samueldr> first of all, do you have the iso image downloaded?
sir_guy_carleton has joined #nixos
<iqubic> No.
<iqubic> What ISO should I download?
<samueldr> well
<samueldr> a GuixSD one :)
<samueldr> but I'm assuming you're asking "i686 or x86_64"?
<samueldr> you probably want x86_64; at least that's the one I downloaded
<samueldr> you will also need to unpack/uncompress it; it's been compressed in .xz format
<iqubic> I see.
<mdash> drawing a blank for some reason... how would you manage misc config files in /var from nixos configuration.nix?
<iqubic> Currently wgetting it now.
<iqubic> Should I verify the checksum?
<samueldr> it's always a good idea
<samueldr> it shouldn't take time, and you ensure you got a good download
<samueldr> (that's the general answer to that question)
mounty has quit [Ping timeout: 264 seconds]
<samueldr> for qemu, you don't need to follow the "copying to usb" neither "burning on a DVD" parts, in case you were wondering
<sir_guy_carleton> verifying the checksum is easy, i find verifying the gpg signature tricky, but maybe that's just me
<samueldr> not just you, imho the ux for gpg is not good
<samueldr> not bad, but not good
<iqubic> I don't actually have gpg installed.
<iqubic> I should do that.
sigmundv has quit [Ping timeout: 248 seconds]
<ekleog> mdash: environment.etc."../var/my/file" ? 😇
<ekleog> (untested, there most likely exists a better solution)
<samueldr> ekleog: are you seriously implying "../" works with those?
<sjanssen> my computer locked up and rebooted during a nix-build and now I'm getting an error like "/nix/store/3b3bpdjp9isz1jmg8d334g3cy0vjdqlk-msodbcsql17-17.2.0.1-1.drv". Can I do something to clean up whichever corrupted files were left behind?
<samueldr> (never tried either)
<ekleog> samueldr: I haven't tried, but wouldn't think the implementation specifically forbids it, and by default it'd likely work
* samueldr gets all sorts of weird ideas
<ekleog> my $target = "/etc/$fn";
<ekleog> (in nixos/modules/system/etc/setup-etc.pl)
<ekleog> so I'd say it's likely to work :°
<ekleog> (or maybe break your system in an unrecoverable way apart from reinstalling from scratch, who knows?)
<samueldr> didn't break, but no file
<iqubic> samueldr: I now have the iso fetched, and unpacked.
<iqubic> What should I do now?
<samueldr> ekleog: next if $name eq "." || $name eq "..";
<samueldr> iqubic: I used the two commands in the page you linked to me earlier
<samueldr> making sure to replace `system` in the iso file name
<samueldr> and it worked
<ekleog> oh :'(
<iqubic> Really, that's all.
<iqubic> ??
<mdash> ekleog: just irritated that there's not a good way to configure the service provided by this nixos module from a nix expr
<iqubic> Should I install virt-manager at some point?
<samueldr> iqubic: if your system is configured right, it should
<samueldr> iqubic: no real need to in that case
<samueldr> iqubic: but if you're in interested with playing around with virtualization, it's a tool you can try to use
<iqubic> Really, but how will I launch the VM if I don;t have virt-manager?
<ekleog> mdash: yes, I agree I don't get either why NixOS environment.etc is restricted to /etc
<samueldr> iqubic: using the command
<iqubic> Which command?
<samueldr> qemu-system-x86_64 [...]
<ekleog> mdash: a work-around could be to just add a systemd service that pushes your file in the right location
<ekleog> it won't delete it when it's no longer needed like make-etc.pl does, but that's maybe not a big deal
<samueldr> I think generally preparing the environment for /var is implemented using systemd
<sjanssen> nix-store --verify fixed my issue
<ekleog> (also, anyway make-etc.pl wouldn't delete it, because you don't want random stuff in /var being deleted, usually)
<iqubic> samueldr: I don't have qemu-img or qemu-system on my $PATH. I assume that means they aren't installed.
<samueldr> ah, right, that's something you'll need
<samueldr> ,locate bin qemu-img
<{^_^}> Found in packages: kvm, qemu, qemu_xen, qemu_test
<iqubic> ,locate qemu-system
<{^_^}> Found in packages: kvm, xen, qemu, qemu_xen, firejail, qemu_test, multibootusb, and 1 more
<samueldr> ,locate bin qemu-system-x86_64
<{^_^}> Found in packages: kvm, qemu, qemu_xen, qemu_test
<iqubic> Looks like I'm going to install qemu than.
<samueldr> yes
<samueldr> qemu is the right one AFAIK
<samueldr> "kvm" is an alias to "kvm = qemu_kvm;"
<samueldr> and qemu_kvm is qemu without other architectures compiled in (at first glance)
<iqubic> Cool.
graphene has quit [Remote host closed the connection]
<iqubic> Now, when I run the qemu-img command, what will that do?
graphene has joined #nixos
<samueldr> may I ask of you that you look it up? `man qemu-img` could be a first thing to look at
<samueldr> (learn a man how to fish, etc...)
<iqubic> Alright, so I'm confused.
<iqubic> qemu-img create -f qcow2 guixsd.img 50G
<iqubic> That's the command.
<gchristensen> you should probably ask the guixsd people how to run their image
<iqubic> How does it know to use the guixsd iso that I have when creating the VM?
realrokka has quit [Read error: Connection reset by peer]
layus has quit [Quit: ZNC 1.6.5 - http://znc.in]
<teto1> mkThenElse doesn't exist anymore correct ?
<mdash> ekleog: the particular thing is gateone, which takes a 'settingsDir' argument, I guess I'll just give it an /etc path
<ekleog> mdash: oh, that's likely the easiest, if it's a possibility, indeed :)
graphene has quit [Remote host closed the connection]
semilattice has quit [Ping timeout: 240 seconds]
garbas has quit [Quit: WeeChat 2.1]
revtintin has joined #nixos
sbdchd has quit [Remote host closed the connection]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
halfbit has quit [Ping timeout: 256 seconds]
dmc has quit [Quit: WeeChat 2.2]
igo95862 has joined #nixos
shiver has quit [Remote host closed the connection]
d6e has quit [Quit: WeeChat 2.1]
halfbit has joined #nixos
trevthedev has joined #nixos
<trevthedev> hi
<trevthedev> someone opened up an issue on nixos for OpenMW being version 42.0 despite the store saying 43.0, and they fixed it by changing the actual version you download to be 43.0, but even after updating, i still just have 42.0
<samueldr> trevthedev: the usual suspects is either not using the right (nixos) channel
<trevthedev> I'm on 2.0.4
<samueldr> or not having updated said channels
<trevthedev> and I ran nix-channel --update nixpkgs
<trevthedev> still won't update
<samueldr> you have a `nixpkgs` channel?
<trevthedev> wym
<samueldr> nix-channel --list should list the channels you currently have
<iqubic> samueldr: I just got the guixsd installer running.
<trevthedev> guixsd is nice
<trevthedev> i've a friend who uses it
<trevthedev> it's the Lispy Nix
<samueldr> iqubic: 🎉 many here cannot help you with GuixSD specifics, but nice that you got it working
<samueldr> did you hit any particular snag while setting it up?
<iqubic> samueldr: I'll go ask people in #guix than.
<iqubic> ,locate cler
<iqubic> ,locate clear
<{^_^}> Found in packages: clerk, egoboo
<{^_^}> Found in packages: irssi, meteor, keymon, gitlab, busybox, ncurses6, libreswan, and 2 more
<trevthedev> How can I update my nix version if I did it wrong?
<trevthedev> the man says nix-channel --update nixpkgs
<samueldr> (hmm, pretty sure "clear" won't really be in those)
<samueldr> ,locate bin clear
<{^_^}> Found in packages: busybox, ncurses6
<samueldr> part of ncurses6, as usual, don't use busybox :/
<iqubic> Why is that a part of ncurses? That seems odd for such a common system utility.
<samueldr> weird, maybe it is also for other distros?
<iqubic> "clear" just clears the terminal output.
<samueldr> trevthedev: first off, you're on nixos or using nix on another linux distro?
<trevthedev> nixos
<samueldr> good, then a couple assumptions can be made
<trevthedev> 18.03
<samueldr> the instructions "nix-channel --update nixpkgs" are for users that have installed nix on non-nixos
<trevthedev> ooh
<trevthedev> my bad
<samueldr> (or added such a channel manually)
<trevthedev> what do i do for nixos then?
<samueldr> no worries, I see how it could be confused
<samueldr> when you run "nix-channel --list" are there any listed?
<samueldr> those are the channels for your user
<trevthedev> nix-channel --update now throws an error and tries to download from nixos.org/channels/nixos-10.03
<samueldr> (if there are)
<trevthedev> hmmm
<samueldr> 10.03 smells like a typo
<trevthedev> my channel is now 10.03...........
<trevthedev> how can i fix that?
<trevthedev> used to be 18.03 xd
<iqubic> It should be 18.03
<trevthedev> yea
<samueldr> you can --remove it and then --add it
<trevthedev> i haven't ran any commands to change it
<trevthedev> alright
<samueldr> (even updating channels is made that way)
<trevthedev> nix-channel --remove nixos
<trevthedev> correct?
<samueldr> if its name is nixos, right
<trevthedev> nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
<trevthedev> correct?
<samueldr> (channels can be named differently from their url)
<samueldr> sounds right
<trevthedev> there we go
<trevthedev> I'll be right back
trevthedev has quit [Quit: WeeChat 2.0]
<samueldr> teto1:
<samueldr> oops
<samueldr> dang
halfbit has quit [Ping timeout: 256 seconds]
<samueldr> needed to tell trevthedev that there's an issue with the package right now it seems
trevthedev has joined #nixos
<trevthedev> I'm back
<samueldr> trevthedev: there may be an issue
<trevthedev> oh?
<samueldr> give me a minute I'm verifying
<trevthedev> alright
<samueldr> you may still have 0.42
<trevthedev> perhaps
<trevthedev> I'm running the install for it again to see
<trevthedev> yea
<trevthedev> 42.0 xd
<samueldr> do you know already about how stable (18.03 currently) and unstable channels work?
<trevthedev> not very well honestly
<samueldr> okay, for this explanation, I'll gloss over details
<trevthedev> alright
<samueldr> but once a stable version is about to be released, it's branched off master
<trevthedev> alright
<samueldr> and then any updates done to master has to also be made on the stable branch (release-18.03)
<samueldr> not everything gets backported
<trevthedev> ahh
<trevthedev> so i need the unstable branch then?
<samueldr> there was a mistake with how 0.43 was updated
<trevthedev> yea ik
<trevthedev> it was fixed eventually
<samueldr> only on unstable
<trevthedev> alright
<samueldr> I'll make the backport quickly
<trevthedev> I appreciate it :)
<samueldr> so it'll be updated soon™
<trevthedev> How long should I be waiting?
<samueldr> can't guarantee, the commit will need to be merged by a kind contributor soul first
<trevthedev> Fair enough :D
<samueldr> and then from a couple hours to a couple days
<samueldr> MEANWHILE
<trevthedev> xd
<samueldr> you can probably do something like : `nix-channel --add https://nixos.org/channels/nixos-unstable unstable`
<samueldr> then, `nix-channel --update`
<samueldr> then possibly `nix-env -iA unstable.openmw`
<samueldr> this will install it inside your user profile
<trevthedev> thanks mate :)
<samueldr> you can (for most software) use multiple channels this way at once
agjacome has quit [Quit: leaving]
<trevthedev> it's still 42.0...
<trevthedev> oh wait hold on
<trevthedev> was most likely user error xd
<samueldr> nixos does not and will not hold guarantees agains user errors
<samueldr> against*
<iqubic> How do I check what kind of wireless card I have?
<trevthedev> dangit! I should switch to something else this user experience is horrid! xd
<trevthedev> dangit
<trevthedev> wasn't user error apparently
<trevthedev> hmm
<trevthedev> so to install openmw 43.0 i should run nix-env -iA nixos.openmw
<trevthedev> correct?
<{^_^}> [nixpkgs] @samueldr opened pull request #44285 → [18.03] openmw: update hash missed in update to 0.43.0 → https://git.io/fNrsi
<samueldr> no!
<samueldr> :)
<trevthedev> what's the command then?
<samueldr> (writing up the explanation)
<trevthedev> sorry im a bit tired rn my nixy skills aren't quite the best xd
<trevthedev> alright thanks :D
<samueldr> see how it's shaped like "-iA X.Y" ?
halfbit has joined #nixos
<samueldr> the first part is the channel name (glossing over details)
<trevthedev> i did nix-env -iA unstable.openmw too
<samueldr> you named it unstable if you used the command `nix-channel --add https://nixos.org/channels/nixos-unstable unstable`
<trevthedev> that's when it didn't wor the first time
<trevthedev> work*
<trevthedev> and I thought it was user error because I ran openmw --version and it was 42.0
<emily> hi there, how can I use libs.stringAfter in /etc/nixos/configuration.nix?
<samueldr> did you also install it in another way than with nix-env -iA?
<emily> not sure how to reference it or if I need to import anything extra.
<emily> (installing a custom activation script)
<trevthedev> yea I did it in my config too lemme go ahead and remove it from there
<samueldr> trevthedev: this could be it
<samueldr> (though I thought user's profile defaults to overriding the system profile)
<samueldr> emily: in configuration.nix in the arguments you can use { lib } iirc to get lib
<samueldr> unless I misunderstood the question
<emily> ah!
<emily> right.
<drakonis> i have a question about using home manager
<drakonis> is it snapshotting home?
blonkhart has quit [Quit: WeeChat 1.9.1]
jperras has quit [Ping timeout: 268 seconds]
<drakonis> ie: i have an home directory full of crap i don't want to include into it
<trevthedev> is there a telegram group I can join that's a bridge here?
<samueldr> never heard of any if there is one
<drakonis> why not irc
<trevthedev> I'm about to hit the road and IRC on mobile isn't very g/comfy
<samueldr> though there's the matrix one here
<drakonis> matrix
<samueldr> (if it suits your fancy)
<samueldr> I do understand though, multi-wielding services is tiring
<adisbladis[m]> trevthedev: Nope. You might wanna look in to Matrix which also has freenode bridges
<trevthedev> alright thanks
<adisbladis[m]> There is also a matrix nix room, though not nearly as active as the irc
<samueldr> :o release-18.03 doesn't evaluate?
<drakonis> use the irc-matrix bridge instead
<adisbladis[m]> What?!
<samueldr> adisbladis[m]: had the same reaction!
<adisbladis[m]> samueldr: I'll fix it now
<{^_^}> #44270 (by ngortheone, merged): pythonPackages.fluent-logger: init at 0.9.3 (#44236)
<samueldr> (but you probably was already aware)
<samueldr> someone had an itchy finger?
* samueldr wonders why the ofborg output isn't more obvious
trevthedev has quit [Ping timeout: 265 seconds]
<adisbladis[m]> samueldr: Yeah. It seems like the backporting was not tested.
<adisbladis[m]> :/
<adisbladis[m]> I don't like backporting of new packages
<samueldr> of new packages, I would tend to agree
<samueldr> though, that ❌ should have been quite a clue?
halfbit has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #44286 → sarasa-gothic: 0.5.2 -> 0.6.0 → https://git.io/fNrGc
<{^_^}> [nixpkgs] @adisbladis pushed commit from @makefu to release-18.03 « pythonPackages.python-forecastio: init at 1.4.0 »: https://git.io/fNrG6
<adisbladis[m]> samueldr: ^
<samueldr> yay, evaluation fixed
* samueldr adds to TODO list an evaluation check for the backport tooling
<adisbladis[m]> samueldr: Thanks for pointing it out :)
<{^_^}> [nixpkgs] @samueldr closed pull request #44285 → [18.03] openmw: update hash missed in update to 0.43.0 → https://git.io/fNrsi
frem has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @samueldr reopened pull request #44285 → [18.03] openmw: update hash missed in update to 0.43.0 → https://git.io/fNrsi
* samueldr hopes it's enough to re-trigger ofborg
<samueldr> yes
<samueldr> the nuclear approach, but works
<adisbladis[m]> samueldr: You know you can just send the borg a message to re-eval?
<adisbladis[m]> samueldr: @grahamcofborg eval
<samueldr> derp!
<samueldr> I should have known that
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> let's chalk it up to that under-utilized feature
<samueldr> (generally, ofborg evals by itself never needed to do it manually yet)
<ekleog> ,locate libpcsclite.so.1
<{^_^}> Found in packages: pcsclite
<ekleog> ,locate libnsl.so.1
<{^_^}> Found in packages: glibc, glibc_multi, glibc_memusage, mentorToolchains.armLinuxGnuEabi
<ekleog> woohoo it works with libs \o/
* ekleog can stop the while true; do nix-index; sleep 5; done that has been running for the past few days and systematically failed due to timeouts
<samueldr> timeouts?
<ekleog> like:
<ekleog> error: fetching the references of store path '/nix/store/g83hlpx51vkq2vckpvjp1z4z80lizwf9-r-Biostrings-2.46.0' failed
<ekleog> caused by: timeout exceeded
<ekleog> and then the process aborts
<ekleog> started happening regularly with coq packages, though idk whether that's related
<samueldr> weird
* samueldr starts nix-index
jperras has joined #nixos
<drakonis> nix-tags pls
<{^_^}> [nixpkgs] @snaar opened pull request #44287 → Fix lesspipe dependency backport to 18.03 → https://git.io/fNrZC
trevthedev has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
trevthedev has quit [Ping timeout: 265 seconds]
Xal has quit [Ping timeout: 256 seconds]
drakonis has quit [Read error: Connection reset by peer]
Xal has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
lo_mlatu has joined #nixos
<lo_mlatu> Hi, is there an option to modify the final profile built from a configuration?I want to delete some `.desktop` files in the result
Ariakenom has joined #nixos
<lo_mlatu> oh I just found `config.system.extraSystemBuilderCmds`
<infinisil> That won't work
<infinisil> What you could do is write an overlay that removes the files you don't want
Moredread has quit [Ping timeout: 264 seconds]
<ldlework> coi lo_mlatu
<lo_mlatu> one for every package that contains the files I want to remove?
<ldlework> go'i
<lo_mlatu> coi ldlework
<ldlework> ui
Moredread has joined #nixos
dbmikus_ has quit [Quit: WeeChat 2.2]
<ldlework> doi lo_mlatu xu do pu tcidu la karda
<rotaerk> are you talking in lojban?
<ldlework> yeah
<lo_mlatu> Just started to learn that haha, still need a dictionary to understand
<ldlework> I asked if you've read la karda
<lo_mlatu> just a walk through. I am currently reading the CLL
<ldlework> lo_mlatu: I recommend la karda as the first thing
<ldlework> it will get you going *much* faster
<rotaerk> I had a phase over a decade ago where I started trying to learn lojban
<lo_mlatu> will have a look, thanks!
<ldlework> lo_mlatu: I wrote it for programmers and mathmaticians to learn it as fast as possible https://mw.lojban.org/papri/la_karda
<rotaerk> though the whole point of an engineered language like that is that it's somehow superior to a natural one
<rotaerk> and I remember coming to the conclusion that I disagreed with the fundamental concept of the grammar
<rotaerk> i.e. predicate logic
<rotaerk> just seems too rigid
<ldlework> all natural languages are based on predicate logic
<ldlework> you have predicates which you pass argument descriptions to
<ldlework> each has a different syntax for doing so, and sometimes multiple syntaxes in a single language
<ldlework> but they're all about passing arguments to predicates to build propositions
<ldlework> all of them
<ldlework> lojban's grammar is not only unambiguous, but it is regular, so there are no exceptions and the grammar always works the same way
<rotaerk> hmm, what about complex nesting of clauses
<ldlework> most natural languages have subordination as well
gspia has quit [Quit: Leaving]
<ldlework> subordination is very important in order to express the complex ideas we often do
<rotaerk> right, so I take it lojban supports that?
<ldlework> to use whole propositions as arguments
<ldlework> yup
<rotaerk> hmm k
<ldlework> rotaerk: basic lojban sentence structure X1 verb X2 X3 X4 X5
<rotaerk> then maybe I don't disagree with it
<ldlework> verbs tell you what the places do: vecnu - x1 sells x2 to buyer x3 for price x4
<ldlework> [seller] vecnu [good] [buyer] [price]
<rotaerk> at this point though, I don't think I could take the time to learn it; I'd have more use for Japanese with all the anime I watch, but I haven't taken the time tto learn that
<ldlework> mi vecnu ti do = i sold this to you
<ldlework> lo VERB ku makes a noun from the X1 of a verb
<ldlework> nu PROPOSITION kei makes a verb from a whole sentence
<ldlework> so
<ldlework> mi morji lo nu do vecnu ti
<ldlework> "I remember when: you sold this"
<rotaerk> ah
<ldlework> subordination
<ldlework> try to teach subordination of any other language in less than three minutes
<ldlework> :)
<rotaerk> hehe
<ldlework> rotaerk: that is the teaching style I use here, https://mw.lojban.org/papri/la_karda
<ldlework> you can learn it very fast
<ldlework> rotaerk: i actually know a guy in #lojban who only speaks lojban and japanese
<rotaerk> heh
<ldlework> neither of us have time to learn a second real language
<rotaerk> I used to hang out there, so long ago
<rotaerk> I remember one name ... Broca
<{^_^}> [nixpkgs] @Ekleog opened pull request #44288 → global-platform-pro: init at 0.3.10-rc11 → https://git.io/fNrck
<ldlework> they're still around
<rotaerk> nice
<rotaerk> though, ultimately I think learning a language isn't an intellectual process, but an intuitive one, based entirely on exposure and practice rather than grammatical analysis
aminechikhaoui has quit [Ping timeout: 255 seconds]
<rotaerk> because when you speak, you don't really think about grammar rules, you just naturally say what you think
<ldlework> only because grammars are typically so complex
<ldlework> and exceptional
<rotaerk> yeah
<rotaerk> though human brains are good at handling such languages
<ldlework> like with lojban, you have the same exact problem with vocabulary as you do with any language. but you can learn the grammar, even semi-advanced grammar, in just one sitting. including conversational devices. so with a dictionary of content words you can hold a conversation fairly fast.
<ldlework> i'm not saying it should be an international language, but it would certainly be something that people could realistically teach each other in short order and actually order some food or something
<rotaerk> heh
<ldlework> but for me it was just a gateway to Berkeley and Oxford style Philosophy of Language and then western philosophy as a whole
<ldlework> more of a item of study
<ldlework> i really challenge people to read la karda, for just like 5 minutes and contemplate how many months it would take to get the same features from any other natural second language
<ldlework> anyway rambling over :)
hamishmack has quit [Ping timeout: 248 seconds]
Guanin has quit [Ping timeout: 248 seconds]
<ekleog> manveru: https://github.com/NixOS/nixpkgs/pull/44288 for the GP tool (with a few hints in longDescription), whose doc is at https://github.com/martinpaljak/GlobalPlatformPro#usage :) should be a simple `gp -install [yourfile].cap`, if you already have a .cap ; but I can't really test due to my not having yet the keys to my test card, which apparently are not the default test keys
<{^_^}> #44288 (by Ekleog, open): global-platform-pro: init at 0.3.10-rc11
andymandias has quit [Ping timeout: 240 seconds]
gspia has joined #nixos
Guanin has joined #nixos
<ekleog> gchristensen: suggestion: /invite Sigyn
<ekleog> That's a bot made by freenode that kills the spammers, for chans of 100+ users according to /topic #freenode-sigyn
<ekleog> it won't be caught by anti-flood processes :°
<{^_^}> [nixpkgs] @vbgl opened pull request #44289 → ocamlPackages.core_kernel: 0.11.0 -> 0.11.1 → https://git.io/fNrCY
<ekleog> (well, I'm saying gchristensen, could be anyone with /invite rights here really, but gchristensen is the only one with the +o currently)
tertle||eltret has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<iqubic> Anyone know how to et networking working in a qemu vm?
lostman has joined #nixos
<iqubic> I just want to have my guest OS to use the networking facilities provided by the host.
<Dezgeg> -net user for the simple but lowest-performance networking
jperras has joined #nixos
<coconnor> run via libvirt?
<iqubic> That isn't working for me for some reason.
<iqubic> coconnor: That is something I need to try
<iqubic> How do I do that?
<coconnor> once you figure out the 5 bajiliion options that are vaguely documented it's great
<coconnor> fortunately, there is a program virt-manager
<coconnor> that supports creating a qemu VM configuration in a reasonably easy fashion
<iqubic> I see.
<iqubic> Should I use that?
FRidh has joined #nixos
<coconnor> libvirt will create a virtual network for the VMs automatically. Which, if appopriate, can save some effort
<coconnor> aye. I tried it just the beginning of this week to create a kubuntu VM
<coconnor> works well!
<coconnor> a bit of trickiery tho. Not as easy as virtualbox IMO
<iqubic> I guess I'll try this.
<coconnor> virtualisation.libvirtd.enable
jperras has quit [Ping timeout: 240 seconds]
<coconnor> and pkgs.virtmanager
<iqubic> Do I need to enable that in my configuration.nix?
<coconnor> Yes.
<coconnor> virtualisation.libvirtd.enable will enable the virtd service and add virsh to the system packages
igo95862 has quit [Quit: igo95862]
crmlt has joined #nixos
<coconnor> pkgs.virtmanager is a GTK frontend to the libvirt service
<coconnor> (virsh is a command line frontend)
<iqubic> What does libvirtd do for me?
<iqubic> does it let the host and the guest OSes work together?
<coconnor> libvirtd is a generic interface for local or remote VM hosts. it's not itself a hypervisor
<iqubic> I see.
<coconnor> but knows of qemu, kvm, and other hypervisors
<coconnor> so it has a lot of options: https://libvirt.org/formatdomain.html
<coconnor> as you'd expect
<coconnor> in terms of pratical
<coconnor> it will manage a VM network
<coconnor> and the execution of individual VMs; including persistence configuration
<coconnor> EG: having hte VM start on boot etc
<iqubic> why would i want a VM running at boot?
<coconnor> in the case of NixOS: it is a mystery
<coconnor> for other OSs it gives VMs a service like interface
<coconnor> for NixOS... well.. I dunno. creating services is easier IMO
<coconnor> although, I do like having a Kubuntu VM always available
<iqubic> I just want a VM where I can test GuixSD
<coconnor> (pause/suspend work as expected)
<coconnor> libvirt does not target the everyday VM users IMO.
<coconnor> it's complete... but.. I mean.. I'm sure I can find a hammer in a professional shop but if all I want is a hammer it's a lot of shit to go through
<coconnor> anyways,
<iqubic> what would you recommend for the average user?
<coconnor> virtmanager attempts to put a nice interface on that
<coconnor> I'm not sure NixOS users count as average? ;)
<coconnor> if you want everyday VM's to run nice
<coconnor> virtualbox
<coconnor> virtualisation.virtualbox.host.enable
<iqubic> I'm fine with libvirtd.
orivej has quit [Ping timeout: 240 seconds]
hakujin3 has joined #nixos
<coconnor> I think it's pretty nice... but a bit of a learning curve
<coconnor> unless you use libvirt only via root/sudo
<coconnor> add user to libvirtd group
<coconnor> libvirt also supports running VMs as non-root. Using files stored in the user's home folder etc
<coconnor> this is too much trouble for me, so I recommend using "virsh -c qemu:///system" or "virt-manager -c qemu:///system"
igo95862 has joined #nixos
<coconnor> kinda a systemd thing with the --user and --system controls
hakujin3 has quit [Ping timeout: 256 seconds]
igo95862 has quit [Quit: igo95862]
<{^_^}> [nixpkgs] @mankyKitty opened pull request #44292 → Added bash to generate nix for updating installed vscode-extensions → https://git.io/fNrlF
hyper_ch has quit [Ping timeout: 268 seconds]
Ariakenom has quit [Quit: Leaving]
hyper_ch has joined #nixos
<Izorkin_> Error build edk2. error - https://pastebin.com/Ap27aavc Hpw to fix? Need create issue?
<{^_^}> [nixpkgs] @danieldk opened pull request #44293 → gitea: fix undefined variable 'gitea'. → https://git.io/fNr8s
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44287 → Fix lesspipe dependency backport to 18.03 → https://git.io/fNrZC
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-18.03: https://git.io/fNr8C
<ejpcmac> Hi! I’m new to Nix and yesterday I discovered that updates take quite a lot of bandwidth. This is due to new derivation being build on each dependencies updates. In the mean time I discovered `nix-store --optimise` which creates hard links and show files as hashes in `/nix/store/.links`. Wouldn’t be possible to optimise the network usage by building these file hashes thanks to hydra and download only the ones not present i
<ejpcmac> the machine?
reflog has joined #nixos
<ejpcmac> Red-Hat–based distrubution have DRPM to save bandwidth. While we may think this is a bit overkill there, I think some optimisation at this level would be great in Nix because new derivations are created really often.
<sphalerite> ejpcmac: there's nix#1644 which talks about a significant optimisation that could be made
<sphalerite> infinisil: is the bot not working again?
<{^_^}> https://github.com/NixOS/nix/issues/1644 (by dezgeg, open): Strip out path references from NAR serializations
<{^_^}> nix#1644 (by dezgeg, open): Strip out path references from NAR serializations
<sphalerite> oh wait it was just slow
Anton-Latukha has quit [Quit: Leaving.]
<ejpcmac> sphalerite: Oh, great! I’ve looked at the issues but couldn’t find one on network optimisation.
<sphalerite> it's only discussion so far though, no actual implementation yet
philippD has joined #nixos
tzemanovic has quit []
<sphalerite> what's nice about this approach is that it doesn't introduce dependencies between the different versions, it just takes advantage of how they happen to end up with the same "normalisation"
<sphalerite> buuuut it's not perfectly general, and doesn't provide as big savings as full-on delta updates
Ariakenom has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/60fe648295f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<ejpcmac> sphalerite: Yes, but it is logged somewhere. I think the current behaviour can be a drowback when trying to evangelise Nix to sceptics.
<ejpcmac> s/drowback/drawback/
tusj has joined #nixos
reinzelmann has joined #nixos
reinzelmann has quit [Remote host closed the connection]
<sphalerite> while it's a valid concern, it's not a complaint I've seen often, and the advantages of nix are worth it ;)
<{^_^}> [nixpkgs] @Mic92 merged pull request #44293 → gitea: fix undefined variable 'gitea'. → https://git.io/fNr8s
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fNr4O
Fare has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #44294 → brakeman: init at 4.3.1 → https://git.io/fNr4G
<{^_^}> [nixpkgs] @Mic92 merged pull request #44285 → [18.03] openmw: update hash missed in update to 0.43.0 → https://git.io/fNrsi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fNr4Z
reinzelmann has joined #nixos
adisbladis has joined #nixos
reinzelmann has quit [Client Quit]
reinzelmann has joined #nixos
scroll is now known as VOICE_PLZ
VOICE_PLZ is now known as CANT_CHAT
CANT_CHAT is now known as SLAP_ME_V
SLAP_ME_V is now known as scroll
Ross has quit [Ping timeout: 240 seconds]
Ross has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @vcunat pushed commit from @dtzWill to release-18.03 « file: patch for CVE-2018-10360 (#43856) »: https://git.io/fNr4S
Fare has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Guanin has quit [Ping timeout: 240 seconds]
pie__ has quit [Ping timeout: 248 seconds]
fendor has joined #nixos
fenedor has joined #nixos
fenedor has quit [Client Quit]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #44295 → file: 5.33 -> 5.34 → https://git.io/fNrBK
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/183c956c01e (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @vcunat closed pull request #43856 → file: patch for CVE-2018-10360 → https://git.io/fNCSv
<reflog> hi! a total nixos noob here, with a question, hope someone can help: I've installed jetbrains.webstorm nixpkg and it appears at version 2018.1 while on github nixpkgs repo I can see that it was updated to 2018.2 . I'm on an unstable channel - how can I upgrade?
<srhb> reflog: There are multiple ways to do this, but possibly you could just wait for the channel to reach that commit.
<srhb> reflog: Actually, unstable has already reached that commit yesterday. Have you updated your channel since then?
<srhb> And by unstable I mean nixos-unstable
<reflog> not yet. let me try :)
<srhb> reflog: The other general way to do this is to create an overlay (read the overlays section in the nixpkgs manual) that bumps the version of your specific package.
<srhb> Just for reference. :)
<reflog> awesome. will read into that as well.
Thra11 has joined #nixos
palo has quit [Ping timeout: 248 seconds]
reardencode has quit [Ping timeout: 245 seconds]
<reflog> yep. it was updated. very cool. thanks @srhb
<srhb> reflog: No problem. :)
<srhb> reflog: Here's how I checked: nix eval -f channel:nixos-unstable nixpkgs.jetbrains.webstorm.name
<srhb> That's a lie.
<srhb> nix eval -f channel:nixos-unstable jetbrains.webstorm.name
<srhb> :-)
jperras has joined #nixos
<reflog> awesome. another useful command to know!
<etu> srhb: Oh, that's handy. I should remember that :-)
<{^_^}> [nixpkgs] @xeji merged pull request #44286 → sarasa-gothic: 0.5.2 -> 0.6.0 → https://git.io/fNrGc
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « sarasa-gothic: 0.5.2 -> 0.6.0 (#44286) »: https://git.io/fNrR1
Thra11 has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #44296 → gdbm: 1.15 -> 1.17 → https://git.io/fNr0U
phreedom has joined #nixos
kyren_ has joined #nixos
<srhb> etu: It is. The only weirdness is caching behaviour, which is a bit opaque :)
jperras has joined #nixos
kyren has quit [Ping timeout: 240 seconds]
<etu> srhb: Question, are you working in the weekend as well? 11-12th?
pie__ has joined #nixos
<etu> srhb: Our friends are working that week, during the days. So we thought of pushing it one day later and get down there on the friday:)
__Sander__ has joined #nixos
lutzmor has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
Guanin has joined #nixos
<kalbasit> fendor: I saw your message on #nixos-unregistered. This was changed recently today because we were getting SPAM here. See the discussion here https://logs.nix.samueldr.com/nixos-chat/2018-08-01#1533083715-1533087231;
<srhb> etu: No I'm not, but I don't think I can make it there either -- I'll be in a cottage in the other end of the country. Bad timing!
<{^_^}> [nixpkgs] @xeji merged pull request #44280 → inriafonts: init at 1.200 → https://git.io/fNrJj
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « inriafonts: init at 1.200 (#44280) »: https://git.io/fNr07
<etu> srhb: Ah, dang. Well then :)
<Izorkin_> Error build edk2. error - https://pastebin.com/Ap27aavc Hpw to fix? Need create issue?
<{^_^}> [nixpkgs] @Mic92 merged pull request #44279 → glusterfs: 3.12.4 -> 3.12.12 → https://git.io/fNrJT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNrEU
<{^_^}> [nixpkgs] @Mic92 merged pull request #44295 → file: 5.33 -> 5.34 → https://git.io/fNrBK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fNrEL
testuser has joined #nixos
goibhniu has joined #nixos
<srhb> Izorkin_: That patch url is broken. Same issue as yesterday.
<testuser> Hi, I've written the following definition for python module: http://dpaste.com/2AC3Y3S , which compiles fine with nix-build. However how can I enter an environment with nix-shell (or any other command) so that I'll be able to just start python and "import alsaaudio" ?
reflog has quit [Quit: Page closed]
ersran9 has joined #nixos
smolboye_ has quit [Ping timeout: 260 seconds]
<srhb> testuser: You might be interested in section 9.11.2.2.3 of the nixpkgs manual, "9.11.2.2.3. python.buildEnv function
Mateon3 has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44296 → gdbm: 1.15 -> 1.17 → https://git.io/fNr0U
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fNrEl
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
goibhniu has quit [Ping timeout: 265 seconds]
<testuser> srhb, I do know that this is possible with python.withPackages, however beforehand I need to compile the module on my own, prior to being able to just include it into this environment, not sure how to go about that part.
<{^_^}> [nixpkgs] @Mic92 merged pull request #44214 → Update Bitcoin and its MiniUPnPc dependency → https://git.io/fN2Bw
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNrEr
<Izorkin_> srhb: thats works
<srhb> testuser: You'll be using the definition you already pasted here :)
<fendor> kalbasit, thank you! now I registered my nickname :)
<Izorkin_> srhb: left to fix bazaar
<testuser> srhb, do I need a separate .nix file and include the previous .nix file or can I do it in the same file .. ?
<srhb> testuser: You can do it in the same file.
<testuser> srhb, http://dpaste.com/3891Y8B -> this gives me the "default.nix|4 col 13| syntax error, unexpected '=', expecting $end" error, any ideas why?
<{^_^}> [nixpkgs] @Mic92 merged pull request #44249 → scrcpy: init at v1.2 → https://git.io/fNVOz
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fNrEb
<srhb> testuser: Something like this perhaps. Note that I've little experience with the python frameworks, so this might not be idiomatic: https://gist.github.com/62b2afa51eceddbbbbb0544399c5334c
<testuser> srhb, that works! However I'm interested in why, what is this shell thingy, where does it come from?
<srhb> testuser: shell the variable? I just used a let binding to create it :)
<srhb> testuser: let ... shell = ... in shell.env
<srhb> testuser: Incidentally that's what you were missing (at least part of it) in your paste.
<srhb> Pretty sure you could do it your method as well. Perhaps that's even nicer.
<srhb> ah, no, not quite. withPackages doesn't expose env
<srhb> or does it
<srhb> It does
<srhb> testuser: Your version, fixed: https://gist.github.com/27725cf011dbb68bef36b16cfa5d2e50
<testuser> srhb, would this work: http://dpaste.com/0S17SAR ?
<srhb> testuser: Just missing .env :)
<testuser> srhb, what's with the '.env' anyway, what does that do ?
<srhb> testuser: In very broad strokes it creates a shell env where the package is "installed" fsvo "installed." It's approximately the difference between nix-shell '<nixpkgs>' -A hello and nix-shell -p hello. In the former, you have the dependencies for hello available, in the latter you have hello available
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #44297 → atom, atom-beta: 1.28.2 -> 1.29.0, refactored build script → https://git.io/fNruw
<testuser> srhb, thanks for explaining it
<srhb> testuser: You could do this by hand with mKDerivation by having pyalsaaudio and python be buildInputs to your shell. That might ease understanding the difference :)
<{^_^}> [nixpkgs] @xeji merged pull request #44283 → cups-filters: fix the build with poppler-0.67.0 → https://git.io/fNrtX
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNruK
<testuser> srhb, and now I can simply do "nix-build ./default", then "nix-shell ./default" right?
<srhb> testuser: Yup, pkgs.lib.inNixShell will dispatch to one or the other :)
<srhb> if you name it default.nix you can just run "nix-build" or "nix-shell" without any arguments.
<testuser> srhb, so I don't actually need the "nix-build" beforehand, I can directly run "nix-shell" and will be build automatically?
<srhb> Yes.
<testuser> srhb, thank you, I appreciate it!
<srhb> It's a dependency of the shell, so it will be built beforehand.
<srhb> No problem, enjoy :)
aarvar has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
nschoe has joined #nixos
Anton-Latukha has joined #nixos
goibhniu1 has joined #nixos
<lutzmor> morning, i have a short question :D i'm a bit confused ... i have a python script (never worked with python before) that need pyudev and what i learned is pip wont work if i install pyton-3.6-pyudev the script still say he need it. I want to run the script as daemon to controll my backlight over a sensor in my device. But i'm a bit lost how to get it running :)
goibhniu1 is now known as goibhniu
aminechikhaoui has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « memo: don't use ag alias »: https://git.io/fNrzA
<{^_^}> [nixpkgs] @Izorkin opened pull request #44298 → Fix build pckages edk2 and bazaar → https://git.io/fNrge
<Izorkin_> Please check PR - https://github.com/NixOS/nixpkgs/pull/44298
<{^_^}> #44298 (by Izorkin, open): Fix build pckages edk2 and bazaar
<{^_^}> [systemd] @Mic92 opened pull request #20 → Nixos 239 → https://git.io/fNrgY
garbas has joined #nixos
MP2E has quit [Remote host closed the connection]
smolboye has joined #nixos
vmandela has joined #nixos
hamishmack has joined #nixos
garbas has left #nixos ["WeeChat 2.1"]
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fNra8
Ariakenom_ has joined #nixos
garbas has joined #nixos
leothrix has quit [Ping timeout: 248 seconds]
catern has quit [Ping timeout: 248 seconds]
scott has quit [Ping timeout: 248 seconds]
CrazedProgrammer has quit [Quit: Ping timeout (120 seconds)]
Ariakenom has quit [Read error: Connection reset by peer]
Xal has quit [Ping timeout: 248 seconds]
ghostyy has quit [Ping timeout: 248 seconds]
CcxWrk has quit [Read error: Connection reset by peer]
leothrix has joined #nixos
[0__0] has quit [Remote host closed the connection]
robogoat has quit [Ping timeout: 248 seconds]
nbathum has quit [Ping timeout: 248 seconds]
andersk has quit [Ping timeout: 248 seconds]
robogoat has joined #nixos
andersk has joined #nixos
CrazedProgrammer has joined #nixos
garbas has left #nixos [#nixos]
[0__0] has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44297 → atom, atom-beta: 1.28.2 -> 1.29.0, refactored build script → https://git.io/fNruw
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « atom, atom-beta: 1.28.2 -> 1.29.0, refactored build script (#44297) »: https://git.io/fNra1
jw358 has quit [Ping timeout: 260 seconds]
blahdodo has quit [Ping timeout: 240 seconds]
rev_strangehope has quit [Ping timeout: 240 seconds]
tazjin has quit [Ping timeout: 240 seconds]
tazjin has joined #nixos
CcxWrk has joined #nixos
Xal has joined #nixos
blahdodo has joined #nixos
rev_strangehope has joined #nixos
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43975 → ldmtool: init at 0.2.4 → https://git.io/fNlnj
<{^_^}> [nixpkgs] @xeji pushed commit from @jensbin to master « ldmtool: init at 0.2.4 (#43975) »: https://git.io/fNrVc
gspia has quit [Quit: Leaving]
<{^_^}> [systemd] @Mic92 opened pull request #21 → systemd: v238 -> v239 → https://git.io/fNrVx
<{^_^}> [systemd] @Mic92 closed pull request #20 → systemd v239 → https://git.io/fNrgY
jperras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44261 → python.pkgs.python-jose: 2.0.2 -> 3.0.0 → https://git.io/fNVFB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNrwt
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44298 → Fix build packages edk2 and bazaar → https://git.io/fNrge
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNrwZ
jperras has quit [Ping timeout: 256 seconds]
hakujin3 has joined #nixos
hakujin3 has quit [Ping timeout: 260 seconds]
Twey has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
silver has joined #nixos
simukis has joined #nixos
ericsagnes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dezgeg opened pull request #44301 → pkgs/tests: Add test for LD_LIBRARY_PATH → https://git.io/fNrr5
garbas has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43637 → linux-hardkernel: 4.14.47-139 -> 4.14.55-146. Additionally, use vendo… → https://git.io/fNOAS
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNro4
<statusfailed> where does "substituteAll" come from?
<statusfailed> im getting an "undefined variable" error
markus1189 has joined #nixos
Ridout has joined #nixos
<statusfailed> Mic92: how do i reference it from my nix file? sorry, bit of a noob
<Mic92> statusfailed: nixos configuration or package?
<statusfailed> its a default.nix for nix shell
<statusfailed> so i guess package?
<Mic92> otherwise it is also accesible via pkgs
<Mic92> in a default.nix for nix-shell, usually the first line is: with import <nixpkgs> {};
<statusfailed> i tried pkgs.substituteAll but same error
ThatDocsLady_ has quit [Quit: Leaving]
<statusfailed> errr
<statusfailed> no that works
<statusfailed> mb, thanks so much!!
kamme has joined #nixos
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<kamme> is it possible to use libvirt on a remote machine? For example on my laptop create config for a lxc container on a remote nixos machine with lxd+libvirt running
init_6 has joined #nixos
<kamme> I'm looking at https://github.com/NixOS/nixops/blob/master/nix/libvirtd.nix but I don't seem to find an option to use a remote host but I may be missing something
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
CcxWrk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44289 → ocamlPackages.core_kernel: 0.11.0 -> 0.11.1 → https://git.io/fNrCY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNr6a
<woffs> how to access a remote store in a separate --store /mystore dir? ssh://myhost/mystore does not work and tries to connect to host myhost/mystore
adisbladis has quit [Remote host closed the connection]
<woffs> do I have to use ugly things like nfs or sshfs, or patch nix-serve?
Twey has quit [Ping timeout: 240 seconds]
TrentP has quit [Quit: ZNC - http://znc.in]
Twey has joined #nixos
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNria
<{^_^}> [nixpkgs] @Mic92 merged pull request #44264 → nixos/kubernetes: fix kubelet cgroup stats → https://git.io/fNwvx
kamme has quit [Ping timeout: 264 seconds]
fenedor has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
palo has joined #nixos
fenedor is now known as fendor
<srhb> woffs: erm, I think there's some creepy ?store=... arguments
<srhb> Probably ?root=path actually
<{^_^}> [nixpkgs] @Mic92 merged pull request #44155 → pythonPackages.slackclient:1.0.0 -> 1.2.1 | refactor → https://git.io/fNzRF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNrMc
clever has quit [Ping timeout: 264 seconds]
<srhb> Or maybe that's just for the local store. Hard to say.
ericsagnes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44197 → php: drop 5.6 and 7.0 → https://git.io/fN2vB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNrMa
jperras has joined #nixos
troydm has quit [Ping timeout: 256 seconds]
<srhb> I guess only LocalStore supports that. At least, SSHStore makes no mention of it, probably because it's all through the daemon.
<{^_^}> [nixpkgs] @Yarny0 opened pull request #44302 → plasma-nm: fix path to mobile broadband provider file → https://git.io/fNrMi
michas__ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Twey has quit [Ping timeout: 256 seconds]
Twey has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 265 seconds]
<etu> Ah, dang. Thanks Mic92 for merging that. It's for the greater good but I'm still using 7.0 at work. So now I have to override it until we upgrade :D
ericsagnes has joined #nixos
<etu> I can probably just pick up PHP 7.0 from 18.03 stable and use that, that way I don't have to compile it :)
Ridout has quit [Quit: Lost terminal]
troydm has joined #nixos
__Sander__ has quit [Ping timeout: 256 seconds]
fuzzy-id has joined #nixos
<fuzzy-id> we are running on ec2 with 2gigs of ram, since we added `haskellPackages.jenkinsPlugins2nix' to `environment.systemPackages', we observe "error: Nix daemon out of memory"
jtojnar has joined #nixos
<Myrl-saki> fuzzy-id: Is this on nixops?
<fuzzy-id> we already added a gigabyte of swap to the system, but looks like the nix-daemon isn't swapping
<fuzzy-id> Myrl-saki: nope, this is normal `nixos-rebuild boot'
<fuzzy-id> i actually also get this error when i try to install jenkinsPlugins2nix via nix-env
<Myrl-saki> fuzzy-id: FWIW, Nix can take a lot of memory. Someone over here reported using 8 GB >
<fuzzy-id> it works fine locally, though.
<fuzzy-id> should adding swap-space fix this?
<Myrl-saki> Yeah, it should. Try larger values.
jperras has joined #nixos
iyzsong has joined #nixos
<fuzzy-id> yeah, it worked. it just needed more swap. :)
gspia has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
<betaboon> hello #nixos, is anyone using RDS-postgresql with nixops? i am wondering how to create databases(not rds-instances) in a programmatical manner (thus not using psql manually). any hints?
qknight has joined #nixos
<qknight> hey. i want to package taiga.io's backend (python) but am stuck at https://gist.github.com/qknight/5f6b21b612ddd6c9b28573f43fc96200
<qknight> anyone ideas?
<qknight> somehow pip2nix3 wants to call setuptools which is not found
<betaboon> qknight: i did package taiga quite a while ago, but never got around to finish the PR: https://github.com/NixOS/nixpkgs/pull/25744
<{^_^}> #25744 (by betaboon, open): [WIP] nixos-module: taiga (TaigaIO project management platform)
<{^_^}> [nixpkgs] @jtojnar merged pull request #44278 → Gnome update → https://git.io/fNrfV
<{^_^}> [nixpkgs] @jtojnar pushed 13 commits to master: https://git.io/fNr94
anderslundstedt has quit [Ping timeout: 260 seconds]
joelpet has quit [Ping timeout: 244 seconds]
silver_ has joined #nixos
MuffinPimp_ has joined #nixos
goodwill_ has joined #nixos
CcxWrk_ has joined #nixos
CcxWrk has quit [Killed (card.freenode.net (Nickname regained by services))]
CcxWrk_ is now known as CcxWrk
freeman42x]NixOS has joined #nixos
pie__ has quit [Ping timeout: 256 seconds]
<qknight> betaboon: how long did that take?
crmlt_ has joined #nixos
<betaboon> qknight: don't remember. not too long
<Myrl-saki> fuzzy-id: Great!
<Myrl-saki> fuzzy-id: If it didn't work, I'd have been worried that you might be using a 32-bit system. :P
<betaboon> qknight: i did rewrite taiga-events in python tho. which i have been running for quite a while. I'm not currently running any taiga-instances tho. that's why i never got around to finish that PR
gspia has quit [Quit: Leaving]
jperras has quit [Ping timeout: 248 seconds]
deni_ has joined #nixos
CcxWrk has quit [Max SendQ exceeded]
nocoolnametom_ has joined #nixos
<qknight> betaboon: so you replaced pip with setuptools in your PR, right?
swflint_away has joined #nixos
^il has joined #nixos
<betaboon> qknight: yeah. i just created a setup.py. i don't like the pip way of doing things. i asked the taiga maintainers to provide a setup.py. which they never did tho
coffeecupp has joined #nixos
silver has quit [*.net *.split]
thc202 has quit [*.net *.split]
crmlt has quit [*.net *.split]
daGrevis has quit [*.net *.split]
swflint has quit [*.net *.split]
nocoolnametom has quit [*.net *.split]
drbrule has quit [*.net *.split]
m0rphism has quit [*.net *.split]
ben has quit [*.net *.split]
viric has quit [*.net *.split]
jasom has quit [*.net *.split]
coffeecupp__ has quit [*.net *.split]
ryantm has quit [*.net *.split]
Leo` has quit [*.net *.split]
adamCS has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
astsmtl has quit [*.net *.split]
arahael has quit [*.net *.split]
ent has quit [*.net *.split]
azdle has quit [*.net *.split]
brodul has quit [*.net *.split]
cybrian has quit [*.net *.split]
deni has quit [*.net *.split]
ajp has quit [*.net *.split]
goodwill has quit [*.net *.split]
azazel has quit [*.net *.split]
buhman has quit [*.net *.split]
sdemos has quit [*.net *.split]
jcrben has quit [*.net *.split]
vil has quit [*.net *.split]
le_jonge has quit [*.net *.split]
mitchty has quit [*.net *.split]
Martin89 has quit [*.net *.split]
Guest57550 has quit [*.net *.split]
helpusobi_ has quit [*.net *.split]
Phlogistique has quit [*.net *.split]
MuffinPimp_ is now known as MuffinPimp
goodwill_ is now known as goodwill
swflint_away is now known as swflint
azdle has joined #nixos
jcrben has joined #nixos
fiddlerwoaroof has quit [Ping timeout: 260 seconds]
unshackled has quit [Ping timeout: 240 seconds]
adamCS has joined #nixos
CcxWrk has joined #nixos
jasom has joined #nixos
ryantm has joined #nixos
thc202 has joined #nixos
Leo` has joined #nixos
fiddlerwoaroof has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44207 → halide: init at 2018_02_15 → https://git.io/fN2Ic
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « halide: init at 2018_02_15 (#44207) »: https://git.io/fNrHM
arahael has joined #nixos
mitchty has joined #nixos
fuzzy-id has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44182 → cargo-asm: init at 0.1.16 → https://git.io/fNgzZ
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « cargo-asm: init at 0.1.16 (#44182) »: https://git.io/fNrQT
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
davenpcm has joined #nixos
johnw has joined #nixos
CcxWrk has joined #nixos
<qknight> betaboon: what are you using now?
<betaboon> qknight: i currently don't have a need to run my own solution. my current employer just uses github issues and the github kanban-board. if i would have the need, i would run taiga again :)
<qknight> betaboon: what you did is good work btw
<qknight> betaboon: i think we will merge this into nixcloud-webservices and maintain that
<qknight> betaboon: are you a freelancer?
<betaboon> qknight: go ahead and make good use of it :) (it was one of the first things i packages for nix)
<qknight> betaboon: ;-)
<betaboon> qknight: no I'm not currently freelancing.
<qknight> betaboon: ok, if so i would have asked you if you wanted to help
halfbit has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43937 → ia-writer-duospace: init at 20180721 → https://git.io/fNWAR
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « ia-writer-duospace: init at 20180721 (#43937) »: https://git.io/fNr7s
<betaboon> qknight: i would have helped but currently I'm packed. I can't even find the time to upstream my nixops patches currently :(
<{^_^}> [nixpkgs] @xeji merged pull request #44294 → brakeman: init at 4.3.1 → https://git.io/fNr4G
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « brakeman: init at 4.3.1 (#44294) »: https://git.io/fNr7u
<{^_^}> [nixpkgs] @xeji merged pull request #43981 → 1password: 0.4.1 -> 0.5.1 → https://git.io/fNl4x
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « 1password: 0.4.1 -> 0.5.1 (#43981) »: https://git.io/fNr7H
<{^_^}> [nixpkgs] @xeji merged pull request #43936 → jenkins: 2.107.3 -> 2.121.2 → https://git.io/fNWAL
<{^_^}> [nixpkgs] @xeji pushed commit from @pinktrink to master « jenkins: 2.107.3 -> 2.121.2 (#43936) »: https://git.io/fNr7N
<{^_^}> [nixpkgs] @xeji merged pull request #44267 → ffmpeg: 3.4.3 -> 3.4.4 (bugfix) → https://git.io/fNwW4
<{^_^}> [nixpkgs] @xeji pushed commit from @mat8913 to master « ffmpeg: 3.4.3 -> 3.4.4 (bugfix) (#44267) »: https://git.io/fNr5I
<{^_^}> [nixpkgs] @pvgoran opened pull request #44303 → nixos/tomcat: Delete baseDir before (re-)creating it → https://git.io/fNr5Y
<{^_^}> [nixpkgs] @xeji merged pull request #44302 → plasma-nm: fix path to mobile broadband provider file → https://git.io/fNrMi
<{^_^}> [nixpkgs] @xeji pushed commit from @Yarny0 to master « plasma-nm: fix path to mobile broadband provider file (#44302) »: https://git.io/fNr5G
wigust has joined #nixos
Fare has joined #nixos
<betaboon> qknight: btw here is the python implementation of py-taiga-events https://github.com/betaboon/py-taiga-events ( no tests, not maintained, just a weekend project)
init_6 has quit [Ping timeout: 264 seconds]
rembo10 has quit [Quit: ZNC 1.7.1 - https://znc.in]
rembo10 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43887 → ipgrep: init at 1.0 → https://git.io/fNWVv
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « ipgrep: init at 1.0 (#43887) »: https://git.io/fNrF2
init_6 has joined #nixos
<Mic92> etu: if you use nixpkgs from git instead of an channel, you can just use git-revert.
Denommus has joined #nixos
<etu> Mic92: At work I don't, but I'll sort it out. :-)
<binaryphile> say, what command would build everything in a channel?
<binaryphile> it's a small, private channel
<infinisil> binaryphile: You mean like a bunch of nix expressions?
<binaryphile> it's an actual channel, structured like nixpkgs or any other channel. importing it, for example, gives a set of derivations
<binaryphile> so i could build one package by cd'ing into its directory (one way of doing it) and saying "nix-build -A mypackage
<binaryphile> "
<binaryphile> I just want nix-build to build everything in the set in one shot
endformationage has joined #nixos
johnw has quit [Ping timeout: 260 seconds]
<binaryphile> i guess technically its a function which evaluates to a set of derivations
<binaryphile> there's no, like, "nix-build -A '*'", is there?
<symphorien> nix-build file.nix should be enough
<infinisil> binaryphile: When you call nix-build on an attrsets expression it will build all of the values
<binaryphile> ah, haven't tried that, thx
<binaryphile> was hoping there was a simple answer
<infinisil> How much simpler can it be than that??
lutzmor has quit [Quit: Page closed]
<binaryphile> sorry, was saying my hopes were satisfied
<{^_^}> [nixpkgs] @xeji merged pull request #43691 → termite: factor wrapper out into its own file → https://git.io/fNsHm
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « termite: factor wrapper out into its own file (#43691) »: https://git.io/fNrAi
<srhb> binaryphile: nix-build -A '*' is morally just nix-build. Whether the expression is an attrset or a list :)
<srhb> (of derivations, that is.)
<binaryphile> thank you all
silver_ has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
clever has joined #nixos
<woffs> srhb, ?store= is accepted but does not do what I want. root= is "unknown setting". Mounting via sshfs on ~/fuse and using --extra-substituters ~/fuse works ...
galaxite has quit [Remote host closed the connection]
galaxite has joined #nixos
derped has quit [Remote host closed the connection]
dbmikus has joined #nixos
<woffs> I wonder why this does not work ("... var/nix/db/big-lock': Read-only file system") with a r/o mount. http is readonly too and does not need r/w for substituting.
init_6 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « scummvm: fix compilation »: https://git.io/fNrh3
johnw has joined #nixos
jtojnar has quit [Quit: jtojnar]
<clever> woffs: it probably wants to grab a lock so things cant be altered while its reading them
jtojnar has joined #nixos
<clever> but since http lacks locking, it just never had that safety implemented
dbmikus_ has joined #nixos
Neo-- has joined #nixos
dbmikus has quit [Ping timeout: 260 seconds]
dbmikus__ has joined #nixos
dbmikus_ has quit [Ping timeout: 240 seconds]
Dedalo has joined #nixos
nschoe has quit [Ping timeout: 256 seconds]
Sonarpulse has joined #nixos
drakonis has joined #nixos
cnu- has quit [Ping timeout: 260 seconds]
tusj has quit [Ping timeout: 245 seconds]
tusj has joined #nixos
ilbelkyr has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @kiloreux to master « ffmpeg-full: add AV1 encoder with libaom (#43789) »: https://git.io/fNofe
<{^_^}> [nixpkgs] @xeji merged pull request #43789 → ffmpeg-full: Added libaom. Needed for AV1 encoder. → https://git.io/fNneR
hakujin3 has joined #nixos
dbmikus__ has quit [Ping timeout: 256 seconds]
dbmikus__ has joined #nixos
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fNofu
nschoe has joined #nixos
<{^_^}> [nix] @graham-at-target opened pull request #2319 → Document s3 substitutions → https://git.io/fNofh
Sigyn has joined #nixos
* gchristensen waves to Sigyn
Fare has quit [Ping timeout: 248 seconds]
<{^_^}> [nix] @graham-at-target opened pull request #2320 → Support specifying custom S3 endpoints for non-Amazon S3-Compatible APIs → https://git.io/fNoJ8
<{^_^}> [nixos-artwork] @domenkozar merged pull request #31 → Adds logo for nixos-weekly → https://git.io/fNuTo
<{^_^}> [nixos-artwork] @domenkozar pushed 2 commits to master: https://git.io/fNoUk
tusj has quit [Ping timeout: 248 seconds]
betaboon has quit [Quit: WeeChat 2.1]
smolboye has quit [Quit: WeeChat 2.2]
fendor has quit [Ping timeout: 268 seconds]
halfbit has quit [Ping timeout: 256 seconds]
makefu has quit [Quit: WeeChat 1.9.1]
makefu has joined #nixos
<domenkozar> today is last day to get stuff into nixos weekly: https://github.com/NixOS/nixos-weekly/pull/59
<{^_^}> nixos-weekly#59 (by domenkozar, open): Add 2018/05
<domenkozar> if you have a cool blog post or tool you wrote
<domenkozar> job posting or something interesting relevant to nix
smolboye has joined #nixos
smolboye has quit [Client Quit]
smolboye has joined #nixos
<gchristensen> domenkozar: https://github.com/obsidiansystems/obelisk is using Nix for prod deploys
<domenkozar> gchristensen: can you add it on PR please :)
<gchristensen> Sonarpulse: ^ want to do that?
<Sonarpulse> hi
* Sonarpulse scrolls back
<Sonarpulse> let me ask
<Sonarpulse> thanks for the tip
<Sonarpulse> domenkozar: is there a theme this week on nix in prod?
<domenkozar> isn't that every week?
<gchristensen> domenkozar++
<{^_^}> domenkozar's karma got increased to 1
Ariakenom_ has quit [Ping timeout: 244 seconds]
<Denommus> hey
<Denommus> I'm trying to use node2nix to build rocket.chat
tusj has joined #nixos
<Denommus> but I'm getting error: 'buildNodePackage' at /home/<user>/Projetos/rocket.chat-nixops/bundle/programs/server/node-env.nix:313:5 called without required argument 'version', at /nix/store/nxyl60r46yz7fg3z6r8hnbi2x3gqz7ic-nixpkgs-18.09pre147559.ab3eeb4c9cc/nixpkgs/lib/customisation.nix:69:12
mbrgm has quit [Quit: ZNC 1.7.0 - https://znc.in]
mbrgm has joined #nixos
reinzelmann has quit [Quit: Leaving]
johnw has quit [Ping timeout: 260 seconds]
dbmikus__ has quit [Ping timeout: 240 seconds]
sophiag has joined #nixos
sophiag has quit [Client Quit]
sophiag has joined #nixos
dbmikus__ has joined #nixos
daGrevis has joined #nixos
daGrevis has left #nixos ["The Lounge - https://thelounge.chat"]
<{^_^}> [nixpkgs] @dezgeg merged pull request #44301 → pkgs/tests: Add test for LD_LIBRARY_PATH → https://git.io/fNrr5
<{^_^}> [nixpkgs] @dezgeg pushed to master « pkgs/tests: Add test for LD_LIBRARY_PATH »: https://git.io/fNotN
iyzsong has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 103 commits to staging: https://git.io/fNoq4
halfbit has joined #nixos
Ariakenom has joined #nixos
bfrog has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
igo95862 has joined #nixos
dbmikus__ has quit [Ping timeout: 248 seconds]
<Denommus> figured out, the version was missing in package.json
<iqubic> I'm having a hard time getting virt-manager to work.
<iqubic> could not detect default hypervisor.
<joepie91> iqubic: debugging libvirt issues is hell :(
<iqubic> joepie91: How do I check if libvirtd is running?
nly has joined #nixos
dbmikus__ has joined #nixos
lopsided98 has quit [Quit: Disconnected]
revtintin has joined #nixos
<tenten8401[m]> iqubic: for virt-manager I have to add my user to the "libvirtd" group
<tenten8401[m]> and then add a connection to the system qemu
<tenten8401[m]> or you can skip the libvirtd group and use a qemu user session connection too
philippD has joined #nixos
<ivan> TIL tig --first-parent -m / git log -u --first-parent -m
<iqubic> How do I add a connection to the qemu user session?
<iqubic> is that done via virt-manager?
ng0 has joined #nixos
<{^_^}> [nixpkgs] @sleexyz opened pull request #44306 → Supercollider: fix MIDI support on Linux → https://git.io/fNo39
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #44308 → Fix androidndk "ensure unaffected test" → https://git.io/fNoGn
Neo-- has quit [Ping timeout: 265 seconds]
hakujin4 has joined #nixos
<{^_^}> [nixpkgs] @sleexyz closed pull request #44306 → Supercollider: fix MIDI support on Linux → https://git.io/fNo39
hakujin3 has quit [Ping timeout: 256 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
acarrico has joined #nixos
benzrf has joined #nixos
<coconnor> morning all
<benzrf> hi!
<benzrf> i'm trying to learn ocaml, & real world ocaml uses the Base library
<coconnor> iqubic: I haven't tried qemu user session under nixos. I generally only use the system one
<benzrf> i tried doing "nix-shell -p ocamlPackages.core" (core subsumes base) but i seemingly couldnt import base or core?
<coconnor> iqubic: virt-manager qemu:///system
<{^_^}> [nixpkgs] @andir merged pull request #44190 → nixos/nix-daemon: default `nix.useSandbox` to `true`. → https://git.io/fNg5l
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fNoZo
<benzrf> is this like the ghci thing?
<benzrf> and if so how can i do this :|
Thra11 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
agjacome has joined #nixos
<iqubic> coconnor: I see.
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<iqubic> coconnor: That gives me an error saying that there was an unhandled command line argument.
<iqubic> I really should re-log to make sure I'm actually in the libvirtd group.
<coconnor> oh? checking again..
<coconnor> errr
<coconnor> iqubic: virt-manager -c qemu:///system
<coconnor> -c for connection URL
<coconnor> my bad
<iqubic> Yeah, I don't think the libvirtd daemon is running.
<coconnor> iqubic: ah. looks like virt-manager defaults to the system one anyways.
<coconnor> oof
__monty__ has joined #nixos
<iqubic> Right. But the libvirtd daemon isn't running. That's the issue.
<coconnor> makes sense
<iqubic> How do I start running the daemon?
<coconnor> systemctl status libvirtd?
<benzrf> ok it looks like the issue was i needed to include findlib :V
<coconnor> if you switched configurations to libvirtd.enable
<coconnor> ah ok
<iqubic> coconnor: Looks like that service can't be found.
<coconnor> one switch configurations nixos-rebuild will state it's starting libvirtd
<coconnor> hrm
<iqubic> coconnor:
<iqubic> I have "virtualization.libvirtd.enable" set to true.
<iqubic> What more do I need to do?
<coconnor> ah ha!
<coconnor> virtualisation
<coconnor> seriously drives me carry
<coconnor> crazy
<coconnor> it should have a Z
<coconnor> that is a hill I'm willing to die on ;)
<iqubic> Oh... I spelled it with a Z in my config.
<coconnor> yep. try an s
<benzrf> but now i'm getting an error which apparently happens bc i have an old version of utop
<benzrf> why is it so out of date in nixpkgs :|
<coconnor> aliasing virtualization to virtualisation is getting more tempting by the minute
<iqubic> coconnor: I wonder why I'm not getting errors with a Z.
<samueldr> coconnor: that's an entirely americentrist way to look at spelling
<coconnor> oh.. maybe somebody did alias it then
drakonis has quit [Read error: Connection reset by peer]
<iqubic> There we go. That started the right services.
<coconnor> did I mention a hill?
<coconnor> ;) that said colour is better than color
<coconnor> haha I was looking for a reference on this the other day
<coconnor> thanks!
<samueldr> (and I know you know about it, just like that reference)
<samueldr> (as it's for official uses in a country torn between rules!)
<coconnor> I just got a chuckle about this tho https://trends.google.com/trends/explore?geo=GB&q=virtualisation,virtualization
<samueldr> 429. That’s an error.
<samueldr> yes, chuckled :)
<samueldr> (refreshed and it went away)
johnw has joined #nixos
fpletz has quit [Changing host]
fpletz has joined #nixos
<samueldr> I do wonder how much of this difference comes from american influences "coloni[sz]ing" the rest of the english world
__monty__ has quit [Ping timeout: 260 seconds]
<coconnor> I bet this might be tracable back to vendors of hypervizors. What term did they first use?
<coconnor> anyways
<mdash> coconnor: this is the first one i'm aware of: https://en.wikipedia.org/wiki/VM_(operating_system)
<mdash> in typical IBM fashion, they used the term "control program"
<coconnor> On the NixOS side I just noticed - virtualbox is in "applications/virtualization/virtualbox" the setting is in "config.virtualisation.virtualbox"
<coconnor> there must be some history to this... wat...
<coconnor> right well... that's one way to settle the debate. do both! i'm off to breakfast...
drakonis has joined #nixos
<joepie91> lol
Twey has quit [Ping timeout: 240 seconds]
bfrog has quit [Quit: WeeChat 1.9.1]
<tenten8401[m]> reminds me of the debate between colour and color
<tenten8401[m]> although I think colour is slowly losing since color is shorter
brodul has joined #nixos
_cyril_ has quit [Ping timeout: 256 seconds]
sir_guy_carleton has joined #nixos
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fNoWo
drakonis has quit [Read error: Connection reset by peer]
_cyril_ has joined #nixos
<iqubic> So to start a service I run "systemctl start libvirtd" as root?
nly has quit [Read error: Connection reset by peer]
Fare has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #44310 → Android studio improvements → https://git.io/fNolZ
binaryphile has quit [Ping timeout: 256 seconds]
dbmikus__ has quit [Ping timeout: 240 seconds]
xy2_ has joined #nixos
<coconnor> tenten8401[m]: hahaha I bet you are right. laziness wins!
binaryphile has joined #nixos
<coconnor> iqubic: on nixos-rebuild switch the service should have activated automatically
<coconnor> iqubic: to check the service try "systemctl status libvirtd"
<coconnor> iqubic: "systemctl start libvirtd" (as root) is safe and idempotent tho so feel free
<tenten8401[m]> I've seen nixos-rebuild not restarting services properly occasionally
<tenten8401[m]> like when networkmanager gets an update, network connectivity will stop working until I reboot
<coconnor> tenten8401[m]: same
<ivan> networkmanager is not good
shabius_ has joined #nixos
hakujin has joined #nixos
<tenten8401[m]> until there's an alternative that's graphically integrated into KDE, it's what I'll be using
<tenten8401[m]> wicked looks kinda promising but there's like no DE integration
ZeDestructor has quit [Ping timeout: 256 seconds]
igo95862 has quit [Quit: igo95862]
carlosdagos has quit [Ping timeout: 256 seconds]
mpickering has quit [Ping timeout: 256 seconds]
akl has quit [Ping timeout: 256 seconds]
x1n4u has quit [Ping timeout: 256 seconds]
<ivan> I've used cmst/connman for wifi, I don't know if that's an option
ZeDestructor has joined #nixos
Dagger has quit [Ping timeout: 256 seconds]
philandstuff has quit [Ping timeout: 256 seconds]
hakujin4 has quit [Ping timeout: 256 seconds]
genesis has quit [Ping timeout: 256 seconds]
grenade has quit [Ping timeout: 256 seconds]
shabius has quit [Ping timeout: 256 seconds]
srl295 has quit [Ping timeout: 256 seconds]
fpletz has quit [Ping timeout: 256 seconds]
akapav has quit [Ping timeout: 256 seconds]
sys9mm has quit [Ping timeout: 256 seconds]
yurb has quit [Ping timeout: 256 seconds]
alanz has quit [Ping timeout: 256 seconds]
carlosdagos has joined #nixos
akl has joined #nixos
mpickering has joined #nixos
MP2E has joined #nixos
fpletz has joined #nixos
srl295 has joined #nixos
MP2E has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 260 seconds]
swflint has quit [Ping timeout: 240 seconds]
swflint has joined #nixos
sigmundv has joined #nixos
nD5Xjz has joined #nixos
grenade has joined #nixos
vmandela has quit [Quit: Leaving]
galaxite has quit [Ping timeout: 260 seconds]
yurb has joined #nixos
genesis has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #44311 → nixos manual: add missing closing tags → https://git.io/fNo4h
vcunat has joined #nixos
shabius_ has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 264 seconds]
shabius_ has joined #nixos
crmlt_ has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @andir pushed to master « nixos/manual: added missing xml tags »: https://git.io/fNoBF
<{^_^}> [nixpkgs] @primeos merged pull request #44310 → Android Studio improvements → https://git.io/fNolZ
<{^_^}> [nixpkgs] @primeos pushed 5 commits to master: https://git.io/fNoRU
<jtojnar> hedning[m]: does lightdm+GNOME work for you with the latest upstream-sessions branch?
<{^_^}> [nixpkgs] @mnacamura closed pull request #44311 → nixos manual: add missing closing tags → https://git.io/fNo4h
philippD has joined #nixos
shabius_ has quit [Quit: Leaving]
<hedning[m]> last time I checked, but I'll test again
philippD has quit [Client Quit]
shabius has joined #nixos
aarvar has joined #nixos
<hedning[m]> jtojnar: yeah, seems to work here
<{^_^}> [nixpkgs] @LnL7 pushed to master « jq: disable strptime test on darwin »: https://git.io/fNo0E
<jtojnar> hedning[m]: just doing final testing, then I will ask maintainers of other DEs for review
<jtojnar> hedning[m]: there are some other things that could be cleaned up (e.g. removing pulseaudio from the wrapper)
<jtojnar> but I guess that can be done later
<hedning[m]> jtojnar: right, that was my thinking, making the minimal amount of change and rather do more cleanup later
<hedning[m]> seeing that it's really annoying if the display manager breaks
iqubic has quit [Remote host closed the connection]
halfbit has quit [Ping timeout: 255 seconds]
hakujin1 has joined #nixos
xy2_ has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @xeji pushed commit from @IvanMalison to master « gitter: init at 4.1.0 (#43505) »: https://git.io/fNoEX
<{^_^}> [nixpkgs] @xeji merged pull request #43505 → gitter: init at 4.1.0 → https://git.io/fNmsa
xy2_ has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nixos
crmlt has joined #nixos
ersran9 has quit [Ping timeout: 265 seconds]
testuser has quit [Ping timeout: 240 seconds]
<makefu> neat, https://distrochooser.de/en is also listing nixos as a possible option
<{^_^}> [nixpkgs] @dtzWill opened pull request #44313 → vim-plugins: update to latest (2018-07-30) → https://git.io/fNozC
<{^_^}> [nixpkgs] @dtzWill closed pull request #44313 → vim-plugins: update to latest (2018-07-30) → https://git.io/fNozC
johnw has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @dtzWill reopened pull request #44313 → proselint: 0.9.0 -> 0.10.0 → https://git.io/fNozC
<samueldr> :o old logo sighting!
<{^_^}> [nixpkgs] @xeji merged pull request #35027 → pybind11: init at 2.2.2 → https://git.io/vAcrh
<{^_^}> [nixpkgs] @xeji pushed commit from @yuriaisaka to master « pybind11: init at 2.2.2 (#35027) »: https://git.io/fNozN
<makefu> triggered!
silver has joined #nixos
smolboye_ has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
igo95862 has joined #nixos
smolboye has quit [Ping timeout: 268 seconds]
crmlt has quit [Quit: Lost terminal]
<joepie91> makefu: it's unfortunate that none of the questions actually address any of the NixOS features :?
<joepie91> :/*
igo95862 has quit [Client Quit]
nschoe has quit [Ping timeout: 256 seconds]
<makefu> haha yes
<makefu> but we have a wiki!
pie__ has joined #nixos
<jtojnar> anyone insterested in reviewing the refactoring of nixos/modules/services/x11/display-managers/default.nix?
<{^_^}> #43992 (by jtojnar, open): Upstream sessions
<samueldr> yeah, but isn't the wiki on one of those obscure TLD, nobody will ever find it
<clever> jtojnar: one anoying thing ive noticed, if any of the enabled desktop envs lack support to set the wallpaper, an image util is added to systemPackages, and used to blank the root window
<clever> jtojnar: the "none" desktop env is unconditionally enabled, and doesnt support that
<clever> so the whole point of that image util being optional is moot
<infinisil> samueldr: Pretty sure people don't go looking over all domains in a TLD to find new websites lol
<clever> infinisil: and nixos.com was not work safe for several years
<infinisil> Huh?
<clever> infinisil: it was a french porn site :P
<infinisil> Haha
<gchristensen> that was true until around February this year
<jtojnar> clever: hmm, that is interesting, maybe we can fix that in the next iteration
<worldofpeace> clever: Hmm can you elaborate? I'm having a similar issue
<{^_^}> [nixpkgs] @xeji merged pull request #43137 → confluent: init at 4.1.1-2.11 → https://git.io/fNvYw
<{^_^}> [nixpkgs] @xeji pushed commit from @offlinehacker to master « confluent: init at 4.1.1-2.11 (#43137) »: https://git.io/fNoam
<clever> worldofpeace: the root window one?
philippD has joined #nixos
<worldofpeace> clever: actually nvm
<worldofpeace> clever: different thing :)
<clever> jtojnar: looks like things have changed since i went thru and memorized all of nixpkgs: https://github.com/NixOS/nixpkgs/commit/71a8dbb956f5735030cd3982263d72f1bffdae23
philippD has quit [Client Quit]
hakujin2 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42871 → ocserv: init at 0.12.1 → https://git.io/fDeHb
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « ocserv: init at 0.12.1 (#42871) »: https://git.io/fNoag
<clever> jtojnar: and nothing even uses needBGPackages now, so it could be removed?
benzrf has left #nixos ["WeeChat 2.2"]
<worldofpeace> ^
MP2E has joined #nixos
<clever> jtojnar: ah, there is a seperate needBGCond that controls the running of feh
<clever> and a now useless needBGPackages, that installed it system wide
<clever> so it still depends on feh, its just not in the default PATH now
hakujin1 has quit [Ping timeout: 276 seconds]
xy2_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #44314 → xfce4-13.xfce4-pulseaudio-plugin: init at 0.4.1 → https://git.io/fNoVI
<{^_^}> [nixpkgs] @volth opened pull request #44315 → xfce4-13.xfce4-netload-plugin: init at 1.3.1 → https://git.io/fNoVm
<{^_^}> [nixpkgs] @volth opened pull request #44316 → xfce4-13.xfce4-cpufreq-plugin: init at 1.2.0 → https://git.io/fNoVY
<{^_^}> [nixpkgs] @volth opened pull request #44317 → xfce4-13.xfce4-whiskermenu-plugin: init at 2.2.0 → https://git.io/fNoVG
<{^_^}> [nixpkgs] @volth opened pull request #44318 → xfce4-13.xfce4-session: init at 4.13.0 → https://git.io/fNoVZ
<{^_^}> [nixpkgs] @volth opened pull request #44319 → xfce4-13.xfce4-clipman-plugin: init at 1.4.2 → https://git.io/fNoVc
<{^_^}> [nixpkgs] @volth opened pull request #44320 → xfce4-13.xfce4-xkb-plugin: init at 0.8.1 → https://git.io/fNoVl
trevthedev has joined #nixos
<trevthedev> Well, I'm sadly not on IRC often thesedays but I wanna go ahead and thank @samueldr for helping me out, I can now use 43.0! Cheers everyone! :D
trevthedev has quit [Client Quit]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> now now, they did say "not on IRC often"
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji pushed to master « gitter: fix eval »: https://git.io/fNowc
<infinisil> (he's already gone again :P)
<infinisil> s/he's/they're
<worldofpeace> don't assume their identity :P
orivej has joined #nixos
Fare has joined #nixos
halfbit has joined #nixos
eskytthe has joined #nixos
crmlt has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43403 → somatic-sniper: init 1.0.5.0 → https://git.io/fNIxR
<{^_^}> [nixpkgs] @xeji pushed commit from @jbedo to master « somatic-sniper: init 1.0.5.0 (#43403) »: https://git.io/fNor1
apeyroux has joined #nixos
<apeyroux> hello
FRidh has quit [Quit: Konversation terminated!]
<matthewbauer> vcunat: hooray!
xy2_ has joined #nixos
<matthewbauer> vcunat: one thing the Emacs devs did for last release was ask users to proofread sections of the manual (https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00483.html). it might be a good idea to try something similar. could be helpful in nixpkgs by dividing up sections. mainly looking just for spelling, grammer, missing words, etc.
<{^_^}> [nixpkgs] @xeji merged pull request #44313 → proselint: 0.9.0 -> 0.10.0 → https://git.io/fNozC
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « proselint: 0.9.0 -> 0.10.0 (#44313) »: https://git.io/fNoom
<vcunat> Hmm, yes, we could try catching interest in that. Maybe a label for it and then open one GitHub issue per section.
<d1rewolf> I notice in that if I create a new user in user.users.username in my configuration.nix, their PATH variable isn't set. what's the appropriate way to do this?
<clever> d1rewolf: did you set isNormalUser = true; ?
crmlt has quit [Ping timeout: 240 seconds]
<d1rewolf> clever: no, I don't believe so. one sec
<d1rewolf> clever: actually, yes I did
<clever> d1rewolf: how did you get a shell as that user?
<d1rewolf> clever: su'd to them from root
<clever> d1rewolf: try `sudo -u username -i`
<d1rewolf> that did it. thanks very much
pie___ has joined #nixos
<d1rewolf> I'd like to create a user who has password-less sudo access. How can one do this declaratively?
pie__ has quit [Read error: Connection reset by peer]
<clever> d1rewolf: this option allows anybody in the wheel group to use sudo without a pass
<d1rewolf> clever: wonderful. thank you
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fNoKR
freeman42x]NixOS has joined #nixos
kim0 has joined #nixos
<{^_^}> [nixpkgs] @q3k opened pull request #44321 → icestorm: bump revision → https://git.io/fNo6f
q3k has joined #nixos
<{^_^}> #44321 (by q3k, open): icestorm: bump revision
trevthedev has joined #nixos
trevthedev has quit [Client Quit]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
philippD has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #44101 → scrcpy: init at 1.2 → https://git.io/fN0tg
nschoe has joined #nixos
frem has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44314 → xfce4-13.xfce4-pulseaudio-plugin: init at 0.4.1 → https://git.io/fNoVI
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « xfce4-13.xfce4-pulseaudio-plugin: init at 0.4.1 (#44314) »: https://git.io/fNoiT
<cransom> does `nix-store --gc --print-dead` also include `unused links`? i'm hitting something where i'm making disk images and on a fresh image, i can nix-collect-garbage immediately on boot (or, nixos-enter rather) and it frees space, but claims to delete no store paths.
<{^_^}> [nixpkgs] @xeji merged pull request #44315 → xfce4-13.xfce4-netload-plugin: init at 1.3.1 → https://git.io/fNoVm
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « xfce4-13.xfce4-netload-plugin: init at 1.3.1 (#44315) »: https://git.io/fNoi3
bennofs has joined #nixos
hakujin3 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44316 → xfce4-13.xfce4-cpufreq-plugin: init at 1.2.0 → https://git.io/fNoVY
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « xfce4-13.xfce4-cpufreq-plugin: init at 1.2.0 (#44316) »: https://git.io/fNoil
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44317 → xfce4-13.xfce4-whiskermenu-plugin: init at 2.2.0 → https://git.io/fNoVG
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « xfce4-13.xfce4-whiskermenu-plugin: init at 2.2.0 (#44317) »: https://git.io/fNoiE
hakujin2 has quit [Ping timeout: 255 seconds]
aanderse-laptop has joined #nixos
antrg has joined #nixos
<samueldr> [16:53:32] <antrg> I'm trying to update IPFS to version v0.4.17 (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/ipfs/default.nix)
<samueldr> [16:54:13] <antrg> How do I get the sha256 for dependencies (fetchgx)
<samueldr> the easiest way is to use tofu
<samueldr> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<samueldr> I personally set my editor in replace mode, replace a couple of the chars with zeroes, then it will fail and tell me which sha256 is expected
<samueldr> (it is important that the hash be the right length)
<aanderse-laptop> show adding the following items to a container be enough to make the container have its own ip address separate from the host?
<aanderse-laptop> privateNetwork = true;
<aanderse-laptop> localAddress = "10.233.0.2";
<aanderse-laptop> hostAddress = "10.233.0.1";
<antrg> Thank you <samueldr>, I'll give it a try now
<gchristensen> (no need for the < and > antrg :) )
sophiag has quit [Ping timeout: 248 seconds]
wpcarro has joined #nixos
dmc has joined #nixos
trcc has joined #nixos
baconicsynergy has joined #nixos
mub has joined #nixos
<mub> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<mub> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
mub has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<epta> during the compilation of a haskell project inside a nix-shell on OSX I see these warnings - ld: warning: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation, ignoring unexpected dylib file
<epta> Any ideas why this happening and how to fix it?
<epta> And this - /nix/store/xnb5bnkqysrlc9siyk0jxxv2yls5syxp-cdb-1.0.0.0/lib/ghc-8.4.3/x86_64-osx-ghc-8.4.3/libHScdb-1.0.0.0-K2SfepDp2dnAu8qG0vhBuE-ghc8.4.3.dylib: fixing dylib
iceychris has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #44322 → nix: Put config builder into pkgs → https://git.io/fNoXO
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
vcunat has quit [Ping timeout: 245 seconds]
alanz has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
tusj has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44321 → icestorm: 2018.05.03 -> 2018.08.01 → https://git.io/fNo6f
<{^_^}> [nixpkgs] @xeji pushed commit from @q3k to master « icestorm: 2018.05.03 -> 2018.08.01 (#44321) »: https://git.io/fNo1B
ambro718 has joined #nixos
tertle||eltret has joined #nixos
tusj has joined #nixos
halfbit has quit [Ping timeout: 256 seconds]
sviteri has joined #nixos
simukis has quit [Quit: simukis]
jelly1 has joined #nixos
<jelly1> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
jelly1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
tusj has quit [Ping timeout: 268 seconds]
<sviteri> Quick question --
<sviteri> I am using the nix-shell shebang functionality
<sviteri> like so:
<sviteri> #! /usr/bin/env nix-shell
<sviteri> #! nix-shell -i /usr/bin/zsh ../shell.nix
sam__ has joined #nixos
<sviteri> How do I specify whichever shell one is using currently?
<infinisil> sviteri: You can't
<sviteri> reasonable
<infinisil> These shebangs are only there for very basic functionality, they can't do anything fancy
<samueldr> they can do some fancy things
<sviteri> I assumed it was for purity of build reasons or something like that
<samueldr> but not that much :(
<sviteri> ok
<samueldr> though, sviteri, for -i you should not use a full path
kaniini_ has joined #nixos
<samueldr> but instead an attribute name
<infinisil> sviteri: And I recommend you to use -i zsh instead, using /usr/bin/zsh is ugly and not reproducible
kaniini_ has quit [Remote host closed the connection]
<infinisil> Heh, you were faster
* samueldr now doubts
<LnL> sviteri: no such file or directory: /usr/bin/zsh
<LnL> :p
<samueldr> I said attribute name, but infinisil, it may just be a binary name and not an attribute name
<cransom> (could work if you weren't on nixos)
baconicsynergy_ has joined #nixos
<sviteri> reproducible in the sense that macs don't have it at /usr/bin/zsh?
<infinisil> samueldr: zsh is an attrname
<sviteri> If I use -i zsh does that point to the nix package version?
<infinisil> sviteri: Yup
<samueldr> infinisil: sure that `-i` takes an attribute name?
<infinisil> In Nix-land we don't try to assume to find certain packages in certain locations
<sviteri> This sounds right
<sviteri> Also with just zsh works on my system
tinyhippo5 has joined #nixos
<tinyhippo5> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<tinyhippo5> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<tinyhippo5> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
tinyhippo5 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
trcc has quit [Remote host closed the connection]
<infinisil> samueldr: Ah right, it's an executable, but that's the same for zsh
<{^_^}> [nix] @shlevy pushed commit from @graham-at-target to master « Document s3 substitutions »: https://git.io/fNoMD
<samueldr> yeah, I was just about looking at `nix`'s code to confirm
<{^_^}> [nix] @shlevy merged pull request #2319 → Document s3 substitutions → https://git.io/fNofh
baconicsynergy has quit [Ping timeout: 268 seconds]
trcc has joined #nixos
<sviteri> LnL: If I put -i zsh, should I also include zsh after -p (or in the nix file I am pointing to)?
<samueldr> -p and nix file don't match
<samueldr> so yeah, in the nix file
<samueldr> don't mix*
<sviteri> Then running the shebang'ed file should've resulted in a 'missing zsh' error, correct?
<samueldr> I haven't yet looked, but I'm assuming it's using your (impure) PATH
<sphalerit> sviteri: only if you're using --pure
<sphalerit> Or don't have zsh in your profile
<sviteri> I'll check
goibhniu has quit [Ping timeout: 256 seconds]
<infinisil> --pure is recommended
<LnL> sviteri: if you don't include zsh in -p or the expression it won't use the version from nixpkgs
ambro718 has quit [Quit: Konversation terminated!]
davenpcm has quit [Quit: Textual IRC Client: www.textualapp.com]
<samueldr> infinisil: --pure could cause issues if things generally thought to be present in the environment are expected to be present
<samueldr> like SSH_AGANE
<samueldr> derp, SSH_AGENT
<LnL> so it might be an incompatible version you didn't test or might not even be present
<samueldr> (or whatever the right env var)
<infinisil> samueldr: Correction then: --pure is recommended if it works for you
<samueldr> :)
<samueldr> --pure is preferred if you don't rely on the environment
<sviteri> Ok -- I ran the shebang file and echoed $(which zsh)
<sviteri> I got ~/.nix-profile/bin/zsh
trisk28 has joined #nixos
<sviteri> So this is my local version
<trisk28> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
trisk28 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
worldofpeace has quit [Remote host closed the connection]
<samueldr> yeah, nix relies on PATH (through `exec`) for whatever it will run
<sviteri> And if I understand correctly, you are saying that pure will stop this
<sviteri> samueldr: what do you mean through exec
<samueldr> (I wasn't directly replying to your last question, juste confirming my initial suspicions)
<samueldr> --pure will clear the environment before starting the shell
<sviteri> running with pure receives an error 'exec: zsh: not found'
<sviteri> as expected!
<sviteri> why is this not default
<samueldr> and "through exec"; it's that nix-shell, through nix, will create a wrapper script for your nix-shell, when using `-i` it ends up appending `exec your interpreter` and other things
<samueldr> sviteri: because sometimes you need the environment often times nix tries to not break expectations from other things, at the cost of purity
<samueldr> (some would say "why do I have to --keep-environment with nix-shell? I always need it for $usecase")
<sviteri> I see
<sviteri> Hence the recommendation by infinisil
<samueldr> I think for that particular case (--pure) it's really a case of half cases needing it, other half wouldn't
<sviteri> Use --pure if you can for your particular situation
<infinisil> Discovered this through a while of debugging..: --pure breaks Haskell's readFile from Data.Text.IO because of an unset LC_ALL
<sviteri> interesting
<samueldr> makes me think: adding --keep-env=SSH_AUTH_SOCK would be good for this
<samueldr> --pure except for what you want
<infinisil> Oh nice, didn't know about thaot
worldofpeace has joined #nixos
<samueldr> doesn't exist
<samueldr> an idea I just had
knupfer has joined #nixos
<sviteri> If I understand correctly, I like this idea
<samueldr> TIL, there's also the (undocumented) --impure argument
<samueldr> when you want it to be extra impure
<sviteri> Is it that you have --pure in combination with --keep-env of whatever environment vars you need?
<sviteri> samueldr: and does this really not already exist?
<samueldr> yeah, sounds about what I have in mind for a worthwhile addition
tusj has joined #nixos
<{^_^}> [nixpkgs] @hax404 opened pull request #44323 → qsstv: init 9.2.6 → https://git.io/fNoye
eskytthe has left #nixos [#nixos]
<samueldr> nope, doesn't look like it does
<samueldr> but adding it shouldn't be too hard
<samueldr> (looking at the code actually)
halfbit has joined #nixos
shabius has quit [Quit: Leaving]
<samueldr> it already has keepVars as a set
ntqz has joined #nixos
trcc has quit []
<sviteri> Oh I see
<gchristensen> samueldr++ I love people who will just go dive in to the code
<sviteri> so you could have --keep-env extend the keepVars set
* infinisil is sad that that doesn't exist
<samueldr> that's mildly trivial
cryptomonoid has joined #nixos
<samueldr> I may actually look at it tonight
<samueldr> the nix source code is really well maintained, it's relatively easy to find things and figure out if possible
<samueldr> so that's nix++
<infinisil> You could do it with `--argstr keep-env "FOO BAR BAZ"`, then use the argument to set `mkDerivation { FOO = builtins.getEnv "FOO"; BAR = ...; }`
<samueldr> now now, workaround-pal strikes again :)
knupfer has quit [Ping timeout: 265 seconds]
<infinisil> :P
halfbit has quit [Ping timeout: 276 seconds]
<sviteri> There's a line in nix-build.cc that says 'auto shell = getEnv("SHELL", "/bin/sh");' explicitly
bennofs has quit [Quit: WeeChat 2.0]
<samueldr> sviteri: good catch
<sviteri> but then the shell variable is not used anywhere else in the file ...
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<eacameron> Is there a function in nixpkgs that does version compares the same was as debian?
<sviteri> samueldr: except for if you have the flag 'runEnv', where shell is set to getEnv("NIX_BUILD_SHELL", "")
<samueldr> sviteri: that's what I was about to say, it uses another `shell` for running
philippD has joined #nixos
<infinisil> > lib.versionOlder "1.1" "1.2"
<{^_^}> true
<infinisil> eacameron: Like that ^
Anton-Latukha has quit [Quit: Leaving.]
<samueldr> sviteri: I would bet that it uses bashisms though
<samueldr> (it uses *that* shell to run code before dropping you in the shell)
<eacameron> infinisil: It's a bit more involved.
<infinisil> eacameron: It's really simple version comparison though, I think it actually is just string comparison..
<eacameron> infinisil: It's slightly smarter: builtins.compareVersions "1.10" "1.1" => 1
<sviteri> samueldr: ?! where
<infinisil> eacameron: Ah neat, I don't know anything more elaborate than that no.
<infinisil> Nix doesn't care as much about versioning in general
<samueldr> sviteri: so basically, nix-shell currently relies on bash for its behaviour
<samueldr> it's not as simple as allowing it to use `SHELL` as `shell`
<sviteri> samueldr: does this mean that nix doesn't work on macs
<samueldr> sviteri: it works plenty fine on macOS
<samueldr> (it uses nix-built bash)
<samueldr> (not the system bash)
<sviteri> samueldr: but it explicitly references /bin/sh
<samueldr> that part seems unused :/
<eacameron> infinisil: ok thanks. We're actually just writing an assert for versions so it's not terribly meaningful
<sviteri> samueldr: what is runEnv?
selfsymmetric-mu has quit [Remote host closed the connection]
<samueldr> `auto runEnv = std::regex_search(argv[0], std::regex("nix-shell$"));`
<samueldr> seems to match on the ran binary name
<samueldr> .../share/man 130 ⬤ readlink -f $(which nix-shell)
<samueldr> /nix/store/j1mjqwvlhfmhpj3nrzap4zb221s2ciqw-nix-2.0.4/bin/nix-build
<samueldr> it does
<samueldr> so the first `shell` you see is for `nix-build`
iqubic has joined #nixos
<samueldr> or uh, it would have been
<samueldr> if it was used
<samueldr> (looks like dead code?)
<sviteri> samueldr: I agree on the dead code assertion
<sviteri> samueldr: the next place it is to reset it in the if(runEnv) section
<sviteri> samueldr: *the next place it is used
<samueldr> it's even a new variable
<samueldr> so it's not even used
antrg has quit [Ping timeout: 252 seconds]
aristid has quit [Ping timeout: 265 seconds]
aristid has joined #nixos
<iqubic> I'm finding virt-manager to be confusing.
<iqubic> What do I want to select for "network selection"
ng0 has quit [Quit: Alexa, when is the end of world?]
<sviteri> samueldr: I'm building the nix repo now so I can check that nothing breaks when I remove the line
NSCLRP-1 has joined #nixos
<samueldr> same thing here
<NSCLRP-1> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
NSCLRP-1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
bennofs has joined #nixos
<sviteri> samueldr: In the meantime, what is the connection between shebang lines and nix-build
<samueldr> sviteri: have you ever worked with busybox?
<sviteri> samueldr: No I haven't
bennofs has quit [Client Quit]
iceychris has left #nixos [#nixos]
<samueldr> dang, then the analogy won't be *that* much help, but I'll continue
sam__ has quit [Quit: sam__]
<samueldr> some tools, like busybox, are in fact multiple tools, but compiled under one binary
<samueldr> I'm not sure what advantages it has, but one is that you can easily copy one binary
<sviteri> samueldr: I'm looking at busybox, and I think I get the idea
<samueldr> then symlink it for other things
<samueldr> well, looks like nix-build and nix-shell share a bunch of code through similar trickery
<infinisil> I'd really like to know the advantages of that..
<infinisil> For the nix-shell/nix-build case
<samueldr> could it help by having one binary image in memory at all time?
<samueldr> (for general use)
<infinisil> What's the advantage of that?
<samueldr> not sure!
pjan has quit [Quit: さようなら]
<samueldr> I'm sure a particularly clever user would know
pjan has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #44325 → openmolcas: init at 20180529 → https://git.io/fNoHa
agjacome has quit [Remote host closed the connection]
<{^_^}> [nix] @samueldr opened pull request #2322 → Removes unused variable from `nix-build/nix-shell` → https://git.io/fNoHr
<samueldr> sviteri: confirmed it builds, and al tests pass
m4v25 has joined #nixos
<m4v25> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
m4v25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @jtojnar merged pull request #44217 → package GNOME Builder → https://git.io/fN2EQ
<{^_^}> [nixpkgs] @jtojnar pushed 12 commits to master: https://git.io/fNoHP
<infinisil> Seems to Nix the "code sharing without a library" part would be the best reason
<samueldr> infinisil: coreutils is now a single binary
<samueldr> ~ ⬤ readlink -f $(which ls)
<samueldr> /nix/store/cb3slv3szhp46xkrczqw7mscy5mnk64l-coreutils-8.29/bin/coreutils
<infinisil> Neat
<sviteri> samueldr: nice
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 pushed to master « pwndbg: 2018-04-06 -> 2018.07.29 »: https://git.io/fNoH5
<sviteri> samueldr: So I was asking my previous question at a different level -- like where in the code can I look and find that nix-build is being called
<samueldr> sviteri: uh, I saw how it looked at argv[0], that's how you would implement such a feature
<samueldr> then I used readlink -f $(which nix-shell) to confirm my suspicion
<{^_^}> [nixpkgs] @Mic92 pushed commit from @eonpatapon to release-18.03 « nixos/kubernetes: fix kubelet cgroup stats »: https://git.io/fNoQv
halfbit has joined #nixos
<samueldr> not sure if this answers the question?
__monty__ has quit [Quit: leaving]
<samueldr> (I knew based off of previous knowledge)
etrepum has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44248 → doc: add darwin installCheckTarget example → https://git.io/fNaxU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNoQI
etrepum has joined #nixos
Ariakenom has quit [Quit: Leaving]
goibhniu has joined #nixos
glguy has joined #nixos
<sviteri> samueldr: is the command what gets passed to argv[0], or is it the path?
<sviteri> samueldr: I know this is a basic question
<samueldr> no, good question
<infinisil> Command, pretty sure
wpcarro has quit [Remote host closed the connection]
aarvar has quit [Ping timeout: 260 seconds]
<samueldr> command, but it would be the full path if you used /path/to/nix-shell
<infinisil> Which is why bash needs ugly hacks to find the path to the current script and can't just use $0
<samueldr> which is why the regex is anchored to $
<samueldr> using $*
christiaanb has left #nixos [#nixos]
<sviteri> samueldr: I see -- it depends on how exactly you call nix-shell or nix-build
<sviteri> samueldr: so you need to do a regex match in order to ensure you are only getting the good bits
<samueldr> looks like it
aarvar has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #44326 → beegfs/module-18.03: Fix a typo in meta.conf generation (#40979) → https://git.io/fNoQy
xy2_ has quit [Ping timeout: 240 seconds]
mekeor has joined #nixos
<sviteri> samueldr: in the gist, both other and awesome-nix-shell are pointing to the nix-build location
orivej has quit [Ping timeout: 244 seconds]
<samueldr> yes
<sviteri> samueldr: but for some reason awesome-nix-shell looks like it is pointing at the nix-shell location
<samueldr> no
<samueldr> argv[0] will contain `./awesome-nix-shell` IIRC
<samueldr> if you regex /nix-shell$/ on that, it'll match
<sviteri> samueldr: Oh I see what's going on
<samueldr> sviteri: updated the gist with a comment
<samueldr> wherever the started binary points isn't relevant
<samueldr> the started file used for the command*
glguy has left #nixos [#nixos]
<samueldr> POSIX says: "The value in argv[0] should point to a filename string that is associated with the process being started by one of the exec functions.
<sviteri> samueldr: it is based on the value of myName, which comes from the regex match saying that the end of the argv[0] is 'nix-shell'
<sviteri> samueldr: hence the examples other v awesome-nix-shell
<{^_^}> [nixpkgs] @anderslundstedt opened pull request #44327 → plex: 1.13.0 -> 1.13.4 → https://git.io/fNo7g
<samueldr> the check with the regex has already been done, and runEnv determined before `myName` is set
<samueldr> `myName` is a stable name for the "chosen tool" within that multiple call binary
<sviteri> samueldr: yeah, so what I didn't realize before was that getEnv was binary
nschoe has quit [Ping timeout: 256 seconds]
<sviteri> samueldr: myName is not exactly a descriptive name here
<{^_^}> [nixpkgs] @q3k opened pull request #44328 → trellis: init 2018.08.01 → https://git.io/fNo7M
<sviteri> samueldr: but it looks like myName is only used in --help and --version
xy2_ has joined #nixos
jasongrossman has joined #nixos
<sviteri> samueldr: not for actual functionality, but runEnv is used (including to see if we are being invoked as a shebang script thub.com/NixOS/nix/blob/b27431b7cb918e6866f4bb4fa7ec6e23240cfeab/src/nix-build/nix-build.cc#L109-L128))
cryptomonoid has quit [Ping timeout: 248 seconds]
<samueldr> yeah
xy2_ has quit [Ping timeout: 260 seconds]
init_6 has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
<dtz[m]> samueldr: if you want a single binary for nix, I got your covered. Well at least started :D. Check it:
<dtz[m]> and I would love to discuss generating multicall binaries with you and everyone interested :D
<samueldr> no :) simply analyzing how nix-build and nix-shell works
<dtz[m]> I'm literally wrapping up a deadline for a paper on this subject
<samueldr> (nix-shell is nix-build)
<dtz[m]> there's' __run_in_chroot' super secret, too
<dtz[m]> that was created using the allvm tools https://github.com/allvm/allvm-tools
<dtz[m]> backed by nix infra that I'm looking to push out SOON
<dtz[m]> bit more details on how that was created: https://github.com/NixOS/nix/issues/1973
<{^_^}> nix#1973 (by dtzWill, open): [WIP] [preview] Single static binary for Nix+deps (bash, coreutils, ...) via ALLVM
<sviteri> dtz[m]: what are the advantages of having a single binary for nix
<dtz[m]> LMK if you'd be interested in reading the paper-- it'll be publshed soon if I don't manage to mess things up :P
<{^_^}> [nixpkgs] @primeos pushed to release-18.03 « nixos/switch-to-configuration: Never stop system.slice »: https://git.io/fNo5H
<dtz[m]> mostly smaller, includes copies of the tools that currently it just "hopes" are around, starts more quickly, runs most everywhere (including Windows! :D)
<dtz[m]> small note --on the subject-- you'll need a trick to reliably use that as a daemon because nix insists on doing unsafe things and this setup is less "forgiving" of such.
tusj has quit [Ping timeout: 260 seconds]
<dtz[m]> sorry I really gotta go I just couln't NOT say something when I see "multicalll" and pondering argv[0] and such
johnw has joined #nixos
<infinisil> dtz[m]: Oh, that also sounds very useful for getting nix to compile nix for a different /nix/store
<dtz[m]> abstract is available already it looks like: https://2018.splashcon.org/event/splash-2018-oopsla-software-multiplexing-share-your-libraries-and-statically-link-them-too -- not finally accepted but it's on the right track ;) :)
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
tusj has joined #nixos
aristid has quit [Ping timeout: 265 seconds]
aristid has joined #nixos
<sviteri> It is likely that I am totally missing the picture here
<sviteri> which is the location of the binary for nix for your system
<sviteri> so when you say single binary, are you saying across different systems? (ie getting rid of the case statement in the install script)
<sviteri> dtz[m]: or is it something else entirely
<matthewbauer> dtz[m]: very cool!
<coconnor> ah that's cool
<coconnor> makes sense
<coconnor> "Automatic Multicall" reminds me of the fat binaries Apple uses
<coconnor> tho fat binaries were multiple of the same progam... ah nm
<johnw> is there a way to copy a closure from one machine to another, without dealing with signing?
<johnw> i've copied over the closure file, but it won't let me --import it
<coconnor> johnw: sudo iirc
<johnw> hey, that's looking good
<johnw> thanks
<coconnor> :)
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rprije has joined #nixos
erratic has quit [Ping timeout: 276 seconds]
goibhniu has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
<samueldr> the answer is "be a trusted user"
<samueldr> (Which is why sudo sorks)
johnw has joined #nixos
<samueldr> setting `nix.trustedUsers = [ "root" "@wheel" ];` and being in the group wheel would allow you to copy-closure using your account
jasongrossman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aszlig pushed to master « beets: Fix building plugins with Python 3 »: https://git.io/fNoNk
ericsagnes has quit [Ping timeout: 265 seconds]
Denommus has quit [Read error: Connection reset by peer]