NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #30846: Treewide: abandon Google Code homepages (master...pkg/Gcode) https://git.io/vFU1O
NixOS_GitHub has left #nixos []
sigmundv has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
sigmundv__ has quit [(Ping timeout: 260 seconds)]
jtojnar_ has joined #nixos
jtojnar_ is now known as jtojnar
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/cd9ce6dd60 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
kiloreux_ has quit [(Ping timeout: 258 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
Synthetica has quit [(Quit: Connection closed for inactivity)]
slack1256 has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
csingley has joined #nixos
dieggsy has joined #nixos
Judson has quit [(Ping timeout: 240 seconds)]
ison111 has joined #nixos
csingley has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
Arcaelyx has quit [(Read error: Connection reset by peer)]
jgertm has quit [(Ping timeout: 248 seconds)]
csingley has joined #nixos
Arcaelyx has joined #nixos
Itkovian has quit [(Ping timeout: 258 seconds)]
work_ has joined #nixos
<work_> Hi guys, Am on Live USB NixOS, About to install it for the first time.
Itkovian has joined #nixos
schell has quit [(Quit: schell)]
xelxebar has joined #nixos
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
<xelxebar> I'm playing around with guix and trying to import a package that requires setting a nixpkgs.config variable.
<xelxebar> Apparently, one can do this: guix import nix path/to/nixpkgs ATTRIBUTE.
MP2E has quit [(Remote host closed the connection)]
<xelxebar> And it works fire if ATTRIBUTE is just a simple package name. However, does anyone know the more general ATTRIBUTE syntax? I'm really new to both nix and guix.
thc202 has quit [(Ping timeout: 258 seconds)]
<xelxebar> I want to do something like '{ nixpkgs.config.permitInsecurePackages = [ "foo-1.0.0" ]; }; foo;' to install foo, but this is clearly wrong
vandenoever has quit [(Ping timeout: 248 seconds)]
slack1256 has quit [(Remote host closed the connection)]
griff__ has joined #nixos
cement has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 260 seconds)]
griff__ is now known as griff_
<work_> Guys, I don't understand well this command: `mount /dev/disk/by-label/nixos /mnt` ... shouldn't this be something like: `mount /dev/sda5/nixos /mnt ` ???
jgertm has joined #nixos
<eqyiel[m]> work_: /dev/sda5/nixos wouldn't exist, ever
<eqyiel[m]> work_: you can just use /dev/sdx instead of addressing the disk by label if you prefer
<work_> eqyiel[m]: OK , but what the "by-label" means?
<work_> I have other system on the disk btw
<eqyiel[m]> work_: that's just a way of referencing drives by, uh, label
<eqyiel[m]> Instead of index
<eqyiel[m]> Like, instead of the order they are plugged in
<work_> eqyiel[m]: Okay, so can I do this: `mount /dev/disk/nixos/nixos /mnt` if I already made a partition for nixos labeled "nixos"?
<michaelpj> xelxebar: did you try in #guix? I'd be surprised if many people in here knew a lot about guix
<xelxebar> michaelpj: Yes! Someone just responded a few seconds before you. Apparently it corresponds to nix instantiate -A
<ylwghst> oh no build almost done
<michaelpj> I'm a bit sad that it doesn't feel like anything comes uptream from the guix folks, but then I have no idea how much of nix/nixpkgs/nixos they're actually using
hotfuzz has quit [(Ping timeout: 255 seconds)]
iqubic has quit [(Ping timeout: 252 seconds)]
<xelxebar> michaelpj: What kind of things would you like to see upstreamed?
pxc has joined #nixos
<xelxebar> As far as I can tell, guix the tool is mainly a wrapper around nix along with a canonical libre repo
<xelxebar> The guix import thing is cool though. Apparently it has plugins to autogen derivations from places like stackage, cpan, etc
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
<ylwghst> not this
<ylwghst> this one
<ylwghst> my connection often drops
<adisbladis> ylwghst: Just a sec
<ylwghst> np
<ylwghst> :/ again drop [511743/512982 KiB, 1464.0 KiB/s]
<ylwghst> droped
lambdamu_ has joined #nixos
catch22 has quit [(Ping timeout: 240 seconds)]
<adisbladis> nix-prefetch-url says 1r495ffcwxsd4pxn5akfr7k9iiv1dj0zq6w9i6xxii8knf8a40va
<adisbladis> ylwghst: ^
notdaniel has joined #nixos
<ylwghst> thx
lambdamu has quit [(Ping timeout: 258 seconds)]
alhariel has joined #nixos
<vaibhavsagar> hey, is there a way to run hydra builds on a schedule?
catch22 has joined #nixos
glenn_ has joined #nixos
glenn has quit [(Ping timeout: 260 seconds)]
<xelxebar> Okay. So to install foo, I need to set nixpkgs.config.permitInsecurePackages = [...]. Is there a way I can pass this to nix-instantiate directly?
<xelxebar> I'm trying to get the resulting xml output
dieggsy has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<xelxebar> I'm guessing that I'm wanting to write some kind of wrapper function or something
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
griff_ has quit [(Ping timeout: 240 seconds)]
<xelxebar> I'm thinking something like nix-instantiate -E 'with import <nixpkgs> { permittedInsecurePackages = [...]; }; foo'
iqubic has joined #nixos
<xelxebar> However, that's broken because "anonymous function... called with unexpected argument"
* ylwghst running build
<xelxebar> ylwghst: Sorry. Would you mind hand-holding a little bit? I'm not understanding what I don't understand here.
<ylwghst> xelxebar: I'm not able to help you.
<ylwghst> I started learning Nix recently.
srdqty has quit [(Quit: WeeChat 1.9.1)]
<ylwghst> xelxebar: actually it's too late everyone has gone sleep
<xelxebar> ylwghst: Oh okay. Time zone woes :/
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 260 seconds)]
Arcaelyx has joined #nixos
<ylwghst> xelxebar: have a loook in nixpkgs/pkgs/ repository
<ylwghst> it can help you a lot
<ylwghst> xelxebar: what are you trying to achieve?
Arcaelyx_ has quit [(Ping timeout: 258 seconds)]
kkini has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
kkini has joined #nixos
<xelxebar> Oh thatks a good tip. Thanks
<xelxebar> Well, I'm playing with guix and want to import a package over that the requires setting nixpkgs.config.permittedInsecurePackages
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
srdqty has joined #nixos
<xelxebar> More concretely, I want to nix-instantiate --eval '<nixpkgs>' -A foo with that variable set
catch22 has quit [(Ping timeout: 255 seconds)]
Arcaelyx has quit [(Read error: Connection reset by peer)]
Arcaelyx has joined #nixos
catch22 has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
<ylwghst> xelxebar: I don't know
<clever> xelxebar: nix-instantiate --eval 'with import <nixpkgs> { config = { permittedInsecurePackages ... }; }; foo'
<clever> oops, -E not --eval
schell has joined #nixos
* clever heads to bed
schell has quit [(Ping timeout: 248 seconds)]
<xelxebar> clever: Oh... I was setting nixpkgs.config.permittedInsecurePackages...
<xelxebar> Evidently I don't understand what 'with' is doing?
<sphalerite> xelxebar: nixpkgs.config in configuration.nix only applies to nixos-rebuild
<sphalerite> xelxebar: regular nix-build/nix-instantiate/nix-env will use ~/.config/nixpkgs/config.nix
<sphalerite> and you can also pass in config when calling nixpkgs like clever wrote above
<work_> Do I need to set the option `boot.loader.grub.device` in `.../configuration.nix` If I already have other system on my hard drive and don't want change my current boot loader?
<ylwghst> work_: if boot.loader is enabled in configuration.nix then nix-build regenerates /boot/grub/* contents like grub.cfg and update its with new genrations menu entries
sivteck has joined #nixos
<sphalerite> work_: you may not be able to boot nixos without letting it set up grub
<sphalerite> work_: what is the other boot loader?
<ylwghst> but if remember
<sphalerite> If it happens to be systemd-boot, that would be convenient, since it allows collaboration between different distros a lot more easily
<work_> sphalerite: Manjaro
<ylwghst> theres way to disable grub-install while nix-build
<work_> sphalerite: Grub 2
<sphalerite> oh yeah no grub is a pain because it relies on a single config file…
<xelxebar> sphalerite: Thank you. In this case, I was specifically trying to avoid munging nixpkgs/config.nix.
<xelxebar> Where can I find information on what the 'with' keyword is doing? I'm having trouble searching for it.
<sphalerite> xelxebar: yeah then you'll want to do what clever wrote
<ylwghst> work_: you can define your other distro in configuration.nix
<sphalerite> xelxebar: Do you get what inherit does in a let block?
<ylwghst> sphalerite: good question. can you explain it? :-)
<work_> sphalerite: The last time I installed Xubuntu , I didn't install the bootloader, So I manually added after Then grub-update inside Manjaro and it was OK. Can I do the same for NixOS?
<sphalerite> let inherit (x) foo; binds the value x.foo to the name foo. with x; brings everything in x into scope
<sphalerite> work_: that probably won't work right since nixos generates lots of boot entries that can't be autogenerated by os-prober
hotfuzz has joined #nixos
<sphalerite> work_: you can probably do it the other way round — have nixos generate a menu entry for manjaro — though
<ylwghst> sphalerite: yeah
<work_> sphalerite: Alright,
<xelxebar> sphalerite: Regarding let/inherit, yes.
<sphalerite> work_: if you're on an EFI system though you can probably install both GRUBs and choose between them on the firmware boot menu though
schell has joined #nixos
<ylwghst> work_: https://nixos.org/nixos/options.html#boot.loader.grub.extraentries
<work_> sphalerite: Am not on EFI
<ylwghst> sphalerite: thats another way too
<sphalerite> xelxebar: so `with x;` is like `let inherit (x) [every name in x]; in`
<xelxebar> Oh! That's exceedingly clear and simple. Thank you
<sphalerite> xelxebar: in the case of what clever wrote it could also just be `(import <nixpkgs> {config.permittedinsecurePackages = …;}).foo`
srdqty has quit [(Ping timeout: 240 seconds)]
<xelxebar> Your pointers also helped me find the relevant docs. Apparently, the term I was looking for is with-expression
<sphalerite> but with is handy for quick-n-dirty stuff, or for systemPackages (with pkgs; [a b c] instead of [pkgs.a pkgs.b pkgs.c]) or if you need to use a lot of library functions (with pkgs.lib; …)
<xelxebar> In the 'inherit (x) a b' syntax, are the parens necessary?
sivteck has quit [(Ping timeout: 255 seconds)]
srdqty has joined #nixos
<vaibhavsagar> xelxebar: I think so, without the parens it means something different https://nixos.org/nix/manual/#idm140737318068176
<xelxebar> They have to be in order to differentiate between 'inherit a b c' and 'inherit (a) b c', where the latter imports b and c *from* a, right?
<vaibhavsagar> yes
damke has joined #nixos
<xelxebar> Thanks
pxc has quit [(Ping timeout: 255 seconds)]
gutsoo has quit [(Quit: WeeChat 1.9.1)]
<vaibhavsagar> does nix-serve have an S3 backend?
<xelxebar> It's a bit funky, because elsewhere parens are used as grouping operators, but in the inherit syntax they have a special meaning
schell has quit [(Quit: schell)]
<vaibhavsagar> you're right, it's not intuitive
iqubic_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] csingley opened pull request #30847: plexpy: init at 1.4.25 (master...plexpy_pr) https://git.io/vFU5f
NixOS_GitHub has left #nixos []
srodal has quit [(Ping timeout: 252 seconds)]
iqubic has quit [(Ping timeout: 258 seconds)]
justanotheruser has quit [(Ping timeout: 252 seconds)]
sivteck has joined #nixos
mahalel_ has quit [(Remote host closed the connection)]
Wizek__ has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
mahalel_ has joined #nixos
justanotheruser has joined #nixos
jgertm has joined #nixos
<xelxebar> Where is operator precedence defined?
srdqty has quit [(Ping timeout: 255 seconds)]
<xelxebar> Are the associativity and commutivity rules made explicity in the docs somewhere?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterromfeldhk opened pull request #30848: fastlane: -> 2.62.1 (master...fastlane) https://git.io/vFU5S
NixOS_GitHub has left #nixos []
srdqty has joined #nixos
Mateon2 has quit [(Ping timeout: 248 seconds)]
<xelxebar> dj_goku: Oh boy. I was just gazing at that table and completely missed the precedence statement
<xelxebar> Thanks
<dj_goku> np
jgertm has quit [(Ping timeout: 258 seconds)]
datakurre has quit [(Remote host closed the connection)]
schoppenhauer has quit [(Read error: Connection reset by peer)]
endformationage has joined #nixos
schoppenhauer has joined #nixos
sivteck has quit [(Quit: user missing.)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0f5eaaf1e9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<work_> Where Should I add `services.xserver.videoDrivers = [ "ati_unfree" ];` in the `configuration.nix` file? anywhere?
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
catch22 has quit [(Remote host closed the connection)]
catch22 has joined #nixos
civodul has joined #nixos
glenn has joined #nixos
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
snikkers has joined #nixos
datakurre has joined #nixos
notdaniel has quit [(Ping timeout: 252 seconds)]
glenn_ has quit [(Ping timeout: 260 seconds)]
damke_ has joined #nixos
rogue_koder has joined #nixos
rogue_koder_ has quit [(Ping timeout: 240 seconds)]
<michaelpj> work_: anywhere in `configuration.nix` will do. It's declarative - there's no ordering
snikkers has quit [(Ping timeout: 240 seconds)]
snikkers has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<work_> michaelpj: ok, Thanks
snikkers has quit [(Ping timeout: 240 seconds)]
<xelxebar> Huh. I'm getting an error when trying to nix-env -u
<xelxebar> error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/store/cvd3aydscgyxwrxmjsl50m86z978brsl-nixpkgs-18.03pre118663.0f5eaaf1e9/nixpkgs/pkgs/os-specific/linux/bcc/default.nix:29:27
nixos1022 has joined #nixos
alhariel has quit [(Remote host closed the connection)]
notdaniel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30849: Nodejs security releases (fixes CVE--2017-14919) (master...nodejs-2017-10-27) https://git.io/vFUbu
NixOS_GitHub has left #nixos []
<xelxebar> Oh. https://github.com/NixOS/nixpkgs/issues/30834. Apparently my nix install is old.
<Li[m]> whats the sane way to make `nix-env` use my local nixpkgs ?
schell has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] csingley opened pull request #30850: nixos/rtorrent: add rtorrent tmux service (user and system) (master...rtorrent) https://git.io/vFUbo
NixOS_GitHub has left #nixos []
<Li[m]> just discovered that it doesnt use `NIX_PATH`
glenn_ has joined #nixos
<xelxebar> Really? According to the manpages it does
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30851: util-linux: 2.30.2 -> 2.31 (master...util-linux-2_31) https://git.io/vFUbP
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30854: dpkg: 1.18.24 -> 1.19.0.4 (master...dpkg-1_19_0_4) https://git.io/vFUbM
NixOS_GitHub has left #nixos []
<MichaelRaskin> Li: use -f
glenn has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> And -f '<nixpkgs>' will use NIX_PATH
srodal has joined #nixos
catch22 has quit [(Ping timeout: 248 seconds)]
catch22 has joined #nixos
csingley has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> xelxebar: re: Guix and Nix: Guix uses a Guile-based expression language instead of Nix expression language, and their builders are also Guile-based instead of Shell-based. Guix uses the same store format, though.
reinzelmann has joined #nixos
noobly has joined #nixos
slack1256 has joined #nixos
<work_> NixOS is taking more than an hour to install, with some endless "CC" and" make"... I'd this how it works?
catch22 has quit [(Ping timeout: 255 seconds)]
<work_> *Is this...
noobly has quit [(Ping timeout: 260 seconds)]
RayNbow`TU has joined #nixos
<MichaelRaskin> It depends on how you configure it.
<michaelpj> work_: normally you should get everything from the binary cache, you should only end up compiling things if you've asked for something it doesn't have
<work_> Well I added the ati driver which downloaded about 176 mb of data and the xfce desktop
<work_> Ohhh a torrent of outputs now
pmade has quit [(Ping timeout: 240 seconds)]
iqubic_ has quit [(Remote host closed the connection)]
<work_> No more "CD"
catch22 has joined #nixos
_habnabit has quit [(Ping timeout: 240 seconds)]
<work_> *"CC"
dtulig has quit [(Ping timeout: 246 seconds)]
nisstyre has quit [(Ping timeout: 240 seconds)]
Forkk has quit [(Ping timeout: 240 seconds)]
cransom has quit [(Ping timeout: 240 seconds)]
pingveno has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<Li[m]> MichaelRaskin: thanks! that works
<Li[m]> guess Ill make an alias
<sphalerite> Yeah nix-env's ui is terrible IMHO
<Li[m]> nix is a draft
<Li[m]> like most software
ison111 has left #nixos ["WeeChat 1.9.1"]
<work_> What's penultimate? it hangs in `/nix/store/xxxxxxxxxxxxxxxxxx-font-penultimate-conf` for like 10 minutes now
<work_> Oh it's finish
<work_> Forget to scroll down
<adisbladis> And nix-env does not even work if you are not using channels..
Forkk has joined #nixos
<MichaelRaskin> It does, with -f
dtulig has joined #nixos
_habnabit has joined #nixos
pmade has joined #nixos
<MichaelRaskin> Or if you rewrite ~/.nix-defexpr
<adisbladis> MichaelRaskin: I meant to say that search is not working
cransom has joined #nixos
pingveno has joined #nixos
<MichaelRaskin> I think it still works with -f.
<work_> It just write `Installation finished? `... what's next? Reboot?
<adisbladis> MichaelRaskin: Oh yeah. It actually does.
<sphalerite> I almost think some sort of stopgap to improve on nix-env until we get the full redesign with 1.12...
<sphalerite> work_: yep that should be all
<adisbladis> It's not super intuitive that you'd have to use -f, it should really work without it.
<adisbladis> Anyway, I think I'll stick to using grep for search ;)
<sphalerite> adisbladis: in particular all the other tools accept a file directly without -f
nisstyre has joined #nixos
nisstyre has quit [(Changing host)]
nisstyre has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFUAT
<NixOS_GitHub> nixpkgs/master 93cc9b9 Peter Hoeg: kmplayer: add missing X dependencies
NixOS_GitHub has left #nixos []
sivteck has joined #nixos
<work_> Okay, I just reboot NixOS after fresh install and any of my other systems are in the GRUB except NixOS itself, so what I feared happens now, what's should I do?
<sphalerite> work_: try enabling OS prober
<sphalerite> Use the options search to find the exact name of the option, I can't remember it and I'm on my phone
<work_> sphalerite: but how?
<sphalerite> nixos.org/nixos/options.html
<sphalerite> I think that's the search
<sphalerite> Then put the option in your configuration.nix and nixos-rebuild switch
<work_> This ting stuck at [OK] Starting X11 server.
<sphalerite> Flight's about to leave so I need to turn my internet off now, sorry
ma27 has joined #nixos
catch22 has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
<michaelpj> work_: can you drop to a tty and look at journalctl?
damke_ has quit [(Ping timeout: 240 seconds)]
sivteck has quit [(Quit: user missing.)]
catch22 has joined #nixos
<work_> michaelpj: yed
<work_> Yes
<work_> michaelpj: wait, what's the default login? It only asked me for password
<michaelpj> did you set up a user before you rebooted?
<michaelpj> the install should at least have got you to set one for root, I think
<work_> Oh okay I got it, root
<work_> michaelpj: hopefully you can read the output
<michaelpj> well, is there anything that looks like an error? In particular, X failing to start
<jluttine> can i specify in configuration.nix what nixos version/channel to use? that is, can i set something to "https://nixos.org/channels/nixos-xx.xx" and change that value to make version upgrades? would it make sense..?
<michaelpj> work_: there may also be some things in /var/log/X.0.log or similar
<michaelpj> jluttine: that'll get you what I think you want with the channel mechanism, you can also do something like https://garbas.si/2016/updating-your-nix-sources.html if you want to pin to a specific hash
feepo has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<work_> michaelpj: what about this one
<work_> For x. I. Log
<michaelpj> looks like a driver issue
glenn has joined #nixos
ma27 has quit [(Ping timeout: 248 seconds)]
<michaelpj> have you got the ati drivers enabled?
sivteck has joined #nixos
glenn_ has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
<work_> michaelpj: how?
<michaelpj> configuration.nix, naturally
Mateon2 has joined #nixos
<michaelpj> man configuration.nix for help on options
<work_> Am sorry but I didn't have to do any thing like that with other didtro so
<work_> I feel like a complete nooob now
Itkovian has joined #nixos
<michaelpj> hm, although it looks like we should try a bunch of drivers by default
<michaelpj> tbh, at this point it's a bit of a case of try and google to figure out what's wrong and then maybe we can work out what we need to do to fix it
<michaelpj> driver issues are always a massive pain
<work_> Ok
<work_> my phone to talk currently
<jluttine> michaelpj: ok, thanks. though i couldn't get that SO answer to work.. i added this to my nix.nixPath list: "nixpkgs=https://nixos.org/channels/nixos-17.09/" and ran "nixos-rebuild build" but it didn't build anything new (trying to upgrade from 17.03 to 17.09)
<work_> Can I dd my love USB and put an Ubuntu ISI on it ?
<work_> *live
<work_> *ISO
<michaelpj> work_: perhaps you should try sphalerite's suggestion so you can at least boot back into your other OSs first? it looks like you just need to set `boot.loader.grub.useOSProber = true;` in configuration.nix and `nixos-rebuild switch`
<LnL> jluttine: I think the channel name has to be nixos for nixos-rebuild
Ivanych has joined #nixos
<work_> Will The rebuild Takes time?
<michaelpj> jluttine: try passing the same thing with `-I nixpkgs=...` and see if that does anything? that way we can see if it's the NIX_PATH bit that's wrong or the nixos options
<work_> michaelpj:
<michaelpj> work_: should be pretty fast
p4cman has joined #nixos
<michaelpj> LnL: I thought if you were setting nixpkgs explicitly it worked that way?
<jluttine> LnL: changed nixpkgs=... to nixos=... but still didn't upgrade
<work_> Ok let me try that
<jluttine> michaelpj: "warning: Nix search path entry ‘https://nixos.org/channels/nixos-17.09/’ cannot be downloaded, ignoring"
<michaelpj> jluttine: looks like you're maybe mixing up the two answers in that question? If you're setting nixpkgs= you have to point it at the tarball
<jluttine> when running nixos-rebuild build -I nixpkgs=https://....
JosW has joined #nixos
<LnL> ah, NIX_PATH entries should point to a tarball
<jluttine> michaelpj: very likely that i'm mixing up things..
<jluttine> but is it nixpkgs that i need to set or something else?
<michaelpj> the other one is something about setting some nixos option I haven't seen before...
<michaelpj> should be nixpkgs
damke_ has joined #nixos
<michaelpj> try with -I and a tarball
<LnL> jluttine: try -I nixos=https://nixos.org/channels/nixos-17.09/nixexprs.tar.xz
MercurialAlchemi has joined #nixos
python476 has joined #nixos
<jluttine> michaelpj LnL: yep, with that tarball url it seems to start upgrading. i'll try that in configuration.nix
<LnL> any reason you're not just using nix-channel?
<michaelpj> shame it doesn't seem to give you a useful error when you put the wrong thing in your configuration
<jluttine> doesn't do anything when i set it in configuration.nix :/
<work_> `boot.loader.grub.useOSProber = true;`
<LnL> what are you setting exactly?
<jluttine> LnL: i want to control my version in configuration.nix because i'm managing multiple machines. i want to pinpoint the versions in configuration.nix instead of trying to remember what they are using and manually changing channels
<work_> That's all?
<michaelpj> assuming you're just trying to enable os prober and see if that fixes your boot menu
<jluttine> LnL: nix.nixPath = ["nixpkgs=https://nixos.org/channels/nixos-17.09/nixexprs.tar.xz"];
notdaniel has quit [(Quit: Leaving)]
<LnL> ah, did you start a new shell after the rebuild?
sivteck has quit [(Quit: user missing.)]
<jluttine> LnL: hmm.. nope. now i did and i guess it started upgrading
<work_> michaelpj: yes
<michaelpj> work_: then yes, what I suggested should do that
sivteck has joined #nixos
<LnL> jluttine: environment variables won't update until you bashrc and friends again
<LnL> load*
sivteck has quit [(Client Quit)]
<work_> michaelpj: seems like there is no Internet
<work_> Lot of build failed
<work_> Mmmm
adamt has joined #nixos
<work_> Interesting situation
<jluttine> LnL: yep, thanks!
sivteck has joined #nixos
<michaelpj> work_: you should be able to use ifconfig to configure networking
damke has joined #nixos
<work_> michaelpj: saw how to do that in the guide but now
<work_> With this terminal
<work_> I have no idea
damke_ has quit [(Ping timeout: 240 seconds)]
<work_> michaelpj: can you send me how to config the Ethernet
<michaelpj> well, at this point it's just standard linux networking tools, so you may have to go google a bit
<michaelpj> I don't know off the top of my head
jgertm has joined #nixos
<work_> michaelpj:, ok one last question, can I dd my USB key while its live?
<michaelpj> "while it's live"?
<work_> Running live NixOS
<work_> So I can put another ISI on it
<work_> Iso
<work_> michaelpj: at this point that's the only option I have left
<michaelpj> you're booting from the NixOS you installed, right? so you're not running live NixOS from the USB stick, so you can do whatever you want to it
<work_> Yeah but with a terminal, I'll have to be blindly guided
<work_> And I don't think you've time for that
<michaelpj> sorry, it's already past my bedtime :)
<work_> michaelpj: thanks
<work_> Good night
reinzelmann has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
iqubic has joined #nixos
schell has quit [(Quit: schell)]
notdaniel has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pasqui23 opened pull request #30855: You get:remove duplicate definition (master...you-get) https://git.io/vFUh4
NixOS_GitHub has left #nixos []
srodal has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pasqui23 closed pull request #30855: You get:remove duplicate definition (master...you-get) https://git.io/vFUh4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/vFUhD
<NixOS_GitHub> nixpkgs/master 8f17abf Edward Tjörnhammar: greg: init at 0.4.7
NixOS_GitHub has left #nixos []
sary has quit [(Ping timeout: 248 seconds)]
sary has joined #nixos
vandenoever has joined #nixos
hotfuzz_ has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
hotfuzz has quit [(Ping timeout: 258 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
Fannar has joined #nixos
vandenoever has quit [(Quit: ䷴៚)]
jluttine has quit [(Quit: WeeChat 1.7.1)]
ertes has quit [(Ping timeout: 248 seconds)]
jluttine has joined #nixos
jluttine has quit [(Client Quit)]
jluttine has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vFTeU
<NixOS_GitHub> nixpkgs/master 2ef36f2 Peter Hoeg: neomutt: minor cleanups...
<NixOS_GitHub> nixpkgs/master 2542944 Peter Hoeg: Merge pull request #30401 from peterhoeg/u/mutt...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/vFTet
<NixOS_GitHub> nixpkgs/master 0e4be9e Edward Tjörnhammar: bully: 1.0-22 -> 1.1
NixOS_GitHub has left #nixos []
adamt has joined #nixos
goibhniu has joined #nixos
sivteck has quit [(Quit: user missing.)]
sivteck has joined #nixos
khebbie has joined #nixos
khebbie has quit [(Client Quit)]
jgertm has quit [(Ping timeout: 240 seconds)]
glenn has quit [(Remote host closed the connection)]
ertes-w has joined #nixos
FRidh has joined #nixos
<sphalerite> work_: the nixos manual along with the options search I linked earlier should be pretty helpful
<sphalerite> (I'm on my next plane now so I don't have much time again)
<work_> I reinstall the system actually
lissyx has joined #nixos
leat has joined #nixos
roberth has quit [(Ping timeout: 260 seconds)]
Neo-- has joined #nixos
ssmike has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<joko> Good morning, all! I'm trying to run nixos-rebuild switch inside a Python program via subprocess.run, any ideas how to make it working?
<sphalerite> joko: how is it not working?
<adisbladis> Should be nothing special.
<sphalerite> (I'm on a plane, will not be able to answer anymore shortly)
slack1256 has quit [(Remote host closed the connection)]
<joko> sphalerite: subprocess.run("nixos-rebuild switch".split(), shell=False) <- Fatal Python error: Py_Initialize: Unable to get the locale encoding
<sphalerite> That seems like a Python problem, not a nixos-rebuild problem
<joko> I think this happens because of Python being wrapped in the shell of the Python script
<adisbladis> joko: Let me guess, you are running this in a pure nix-shell?
arjen-jonathan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #30857: ocamlPackages.reason: 2.0.0 -> 3.0.0, ocamlPackages.topkg: 0.8.1 -> 0.9.1 (master...reason) https://git.io/vFTfh
NixOS_GitHub has left #nixos []
<sphalerite> Yeah check LOCALE and LC_ALL. If you just try running something like echo hello using subprocess you'll probably get the same error
<joko> adisbladis: funny thing is that I do not, but I do have (pkgs.python35.withPackages (ps: with ps; [ json-rpc pika psycopg2 requests sqlalchemy ])) in my environment.systemPackages
<joko> sphalerite: echo hello works as intended
<sphalerite> Uh... That's weird
<sphalerite> Maybe nixos-rebuild involves python at some stage
<joko> sphalerite: is nixos-rebuild switch running any Python code?
<sphalerite> I think the main script is perl but I don't really know
<sphalerite> Anyway time to fly
<sphalerite> Ttyl
<joko> Because I had a similar issue when I tried to run a Python 3.6 program on this env
<joko> Have a nice flight!
<adisbladis> joko: I think maybe you have PYTHONPATH set to something funky
<adisbladis> Generally I'd say it's a bad idea to put python in systemPackages
<ertes-w> in <nixpkgs/pkgs/top-level/python-packages.nix> can i abstract over the python version? i'd like to enable tests for python 2 and disable them for python 3
<adisbladis> ertes-w: There is a isPy3k thingy you can use
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
<ertes-w> ah, thanks
<joko> adisbladis: even if I avoid including this to systemPackages, I will have to run nixos-rebuild switch inside a nix-shell, don't you think I will have the same issue?
adamt has quit [(Ping timeout: 248 seconds)]
arjen-jonathan has quit [(Ping timeout: 264 seconds)]
<adisbladis> joko: I think what's happening now is a strange mix of python versions so I don't think you'll have the same problem.
<joko> adisbladis: ok then, let me try
mw has joined #nixos
mutagenf1rk has quit [(Ping timeout: 255 seconds)]
<vaibhavsagar> can I serve a binary cache from S3?
mutagenfork has joined #nixos
<joko> vaibhavsagar: I think it's doable, isn't this what cache.nixos.org does?
Fannar has quit [(Quit: leaving)]
freusque has joined #nixos
<joko> adisbladis: I am still getting the same error inside the nix-shell
<vaibhavsagar> I thought cache.nixos.org uses their own hydra build farm?
<joko> and there is no Python3 in the systemPackages
<joko> vaibhavsagar: but they copy them to S3
<vaibhavsagar> I don't think the binaries are served from S3
<vaibhavsagar> but if they are I'd love to know how
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0e4be9e5f0 (from 57 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
jtojnar has quit [(Read error: Connection reset by peer)]
<LnL> hydra and nix have native support for s3, and that's what is used as the storage for the nixos.org cache
rogue_koder has quit [(Quit: Konversation terminated!)]
sigmundv has joined #nixos
<joko> Is it possible to start a vanilla nix-shell inside a nix-shell
<joko> ?
<infinisil> joko: Try it out?
<infinisil> i can't see why not
notdaniel has quit [(Ping timeout: 252 seconds)]
<disasm> I'm not sure what you mean by vanilla, but I run nix-shell inside existing nix-shells all the time
<LnL> I think the issue with nested nix-shells was fixed in the latest version
notdaniel has joined #nixos
<jluttine> what, installing nix on regular linux distro requires root? (at least if binary cache should be used)
<LnL> you can't create /nix as a regular user
<LnL> that's the only thing you need AFAIK
<joko> jluttine: have a look at https://github.com/lethalman/nix-user-chroot , it works for some cases
<jluttine> i don't understand why /nix is required. why couldn't one have nix store under $HOME/.nix or whatever and still benefit from binary cache? i don't understand
<joko> jluttine: I think it's because of the way hashes in packages are computated, but I might be wrong
<disasm> You can, but you have to compile everything from source.
<jluttine> joko: then i don't understand why the hashes are computed in such a way..
<jluttine> disasm: why nix doesn't support binary cache for arbitrary store location?
p4cman has quit [(Quit: Connection closed for inactivity)]
kuznero has joined #nixos
sivteck has quit [(Quit: user missing.)]
<kuznero> Hi All! Is there a separate channel for hydra?
<disasm> The drv contains paths to dependencies. If you change store path, the hash of derivation changes.
grw has quit [(Ping timeout: 255 seconds)]
<disasm> kuznero: we try to keep all the nix support in one place, so here is the right place.
<kuznero> disasm: thanks, plan to try to set it up soonish :) My first impression - it is difficult. Is that just me?
<spacefrogg> kuznero: Nope. It is. Mainly due to lack of proper documentation.
<joko> ditto
hamishmack has quit [(Ping timeout: 240 seconds)]
<kuznero> spacefrogg: are there any alternatives to hydra?
<spacefrogg> I don't know other CI systems, but now that I have hydra running, I wouldn't want to miss it anymore…
<jluttine> disasm: ah, ok. would be nice if those store paths could be relative to whatever store path is set. but i understand it's not that easy, if even possible.. :/
sivteck has joined #nixos
notdaniel has quit [(Quit: Leaving)]
<kuznero> spacefrogg: so, you are completely satisfied with it in the end?
<kuznero> other than getting it setup in the first place I mean
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] esoeylemez opened pull request #30858: python: pymysql 0.6.6 -> 0.7.11 (master...ertes-py-pymysql) https://git.io/vFTIc
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] esoeylemez opened pull request #30859: python: ldap3 1.0.4 -> 2.2.4 (master...ertes-py-ldap3) https://git.io/vFTIg
NixOS_GitHub has left #nixos []
peacememories has quit [(Client Quit)]
<spacefrogg> kuznero: Almost. I have some very special needs that can be accomplished but are not in the scope of hydra right now. So yes, I can do everything I want in the end, but there is room for improvement left.
<kuznero> spacefrogg: I see
<spacefrogg> kuznero: These needs are, that I run jobs with extreme memory requirements. Hydra only delegate jobs based on CPU requirements but not memory.
<kuznero> spacefrogg: ah, interesting. Do you have experience in setting up hydra in docker (swarm or kubernetes)?
<kuznero> Or maybe you know if it is doable or people do it?
<spacefrogg> No, no and no. :)
<kuznero> Why not?
<spacefrogg> I have a separate VM running hydra-stuff.
<spacefrogg> My noes were answers to you questions and didn't mean to be judgements…
hamishmack has joined #nixos
<kuznero> spacefrogg: I see :) thanks for clarifying...
<kuznero> spacefrogg: do you by chance have a nix configs for setting hydra up that you can share?
thc202 has joined #nixos
sivteck has quit [(Quit: user missing.)]
arjen-jonathan has joined #nixos
<kuznero> lewo: thanks!
snikkers has joined #nixos
<lewo> @ku
<kuznero> lewo: nice README as well!
<lewo> kuznero: I'm also running hydra in docker... but it's a mess...
<kuznero> lewo: why is it so?
kiloreux_ has joined #nixos
<lewo> kuznero: it's really horrible... so it would be nice to improve it. So let me know if you are really interested about this
<kuznero> That is massive config...
<grahamc> Any favorite prepaid SIM cards for DE?
<grahamc> Cc fpletz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.09: https://git.io/vFTqD
<NixOS_GitHub> nixpkgs/release-17.09 c4db221 Michael Peyton Jones: redshift: allow using geoclue2 loation provider...
NixOS_GitHub has left #nixos []
<fpletz> grahamc: I looked yesterday but the prices are nearly the same, just a few euros difference… you will find most of them in almost every supermarket, so no rush :)
<grahamc> Cool! Thanks!
<sphalerite> So glad intra-EU roaming is free now...
frankqux1 has quit [(Ping timeout: 240 seconds)]
<sphalerite> Just landed, looking forward to meeting everyone!
<goibhniu> welcome to munich sphalerite!
<sphalerite> Thank you :)
frankqux1 has joined #nixos
<kuznero> Will there be online channel on youtube from the conference?
<sphalerite> I believe that's the plan
<goibhniu> kuznero: we'll try, but it looks likely
<kuznero> excellent!!!
<kuznero> :D
<kuznero> Don't forget to post a link here ;)
<adisbladis> <3
<goibhniu> it should be https://www.youtube.com/channel/UCjqkNrQ8F3OhKSCfCgagWLg/live ... But I'll post a link here and to the mailing list
<kuznero> goibhniu: thanks!
<goibhniu> my pleasure!
<joko> Where I could place some commands to add static routes? networking.localCommands and do it manually?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 2 new commits to master: https://git.io/vFT3v
<NixOS_GitHub> nixpkgs/master c70773b Michael Weiss: android-studio: 2.3.3.0 -> 3.0.0.18
<NixOS_GitHub> nixpkgs/master e4d0173 Michael Weiss: android-studio-preview: 3.0.0.17 -> 3.1.0.0
NixOS_GitHub has left #nixos []
<jluttine> where can i find instructions on how to install nix without root?
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<joko> jluttine: have a look at https://github.com/lethalman/nix-user-chroot
<joko> for the chroot trick
<joko> And I have seen a blog post once describing how to compile it on your own
<ArdaXi[m]> It's not a great idea to compile it so you can use a different store path, because that breaks binary compatibility iirc
<joko> Indeed, you will have to build everything
<ArdaXi[m]> If you absolutely can't get root to at least create /nix and chown it to your user, the chroot is the way to go
<joko> The problem is that some packages fail to get built inside the chroot
<hyper_ch> ha, just sent around 90Gb through wireguard vpn with zfs in 25 minutes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFTsC
<NixOS_GitHub> nixpkgs/master 669b4c4 Michael Weiss: pythonPackages.raven: 6.2.0 -> 6.2.1
NixOS_GitHub has left #nixos []
<jluttine> ArdaXi[m] joko: compiling is not a problem. just need a few small packages
<ArdaXi[m]> Well, you can install it from source and change the store and state dirs to a folder you own, see https://nixos.org/nix/manual/#ch-installing-source
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vFTsd
<NixOS_GitHub> nixpkgs/master 4c61281 adisbladis: nodejs: 4.8.4 -> 4.8.5
<NixOS_GitHub> nixpkgs/master de8b1b4 adisbladis: nodejs: 6.11.4 -> 6.11.5
<NixOS_GitHub> nixpkgs/master c07cf63 adisbladis: nodejs: 8.7.0 -> 8.8.0
NixOS_GitHub has left #nixos []
tdc has joined #nixos
glenn has joined #nixos
sivteck has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
adisbladis has quit [(Read error: Connection reset by peer)]
python476 has quit [(Ping timeout: 248 seconds)]
Guest46441 has quit [(Ping timeout: 248 seconds)]
FRidh has joined #nixos
<betaboon> hello #nixos, another day another problem: i have defined a pythonPackage which contains "requests" in "propagatedBuildInputs". now i have a service that uses python.buildEnv.override to pull that package into environment.PYTHONPATH. now the problem: "requests" is not contained in that pythonEnv oO any thoughts ?
iqubic_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vFTZq
<NixOS_GitHub> nixpkgs/master 3e29dd0 Franz Pletz: wget: 1.19.1 -> 1.19.2 for multiple CVEs...
<NixOS_GitHub> nixpkgs/master 4c26199 Franz Pletz: SDL2: 2.0.5 -> 2.0.7 for CVE-2017-2888
<NixOS_GitHub> nixpkgs/master 5feccdc Franz Pletz: SDL2_mixer: 2.0.1 -> 2.0.2
NixOS_GitHub has left #nixos []
<jluttine> ArdaXi[m]: ok.. so basically it's quite complicated.. i was just trying to get instructions for a friend, i don't think he'll start compiling nix from source. i thought this could be achieved just by setting some environment variables :/
iqubic has quit [(Ping timeout: 252 seconds)]
sivteck has quit [(Quit: user missing.)]
<ArdaXi[m]> The location of the nix store is pretty hard-coded, this isn't really something that's possible to make very easy outside of a chroot
sivteck has joined #nixos
jensens has joined #nixos
<manveru> also if you can't chroot, there's proot
Wizek__ has joined #nixos
glenn_ has joined #nixos
glenn_ has quit [(Remote host closed the connection)]
adamt_ has quit [(Ping timeout: 258 seconds)]
adisbladis has joined #nixos
adisbladis has quit [(Changing host)]
adisbladis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 10 new commits to release-17.09: https://git.io/vFTnq
<NixOS_GitHub> nixpkgs/release-17.09 fd82ca2 Franz Pletz: unifi: 5.6.18 -> 5.6.19...
<NixOS_GitHub> nixpkgs/release-17.09 bf03290 Franz Pletz: mupdf: add patch to fix multiple CVEs...
<NixOS_GitHub> nixpkgs/release-17.09 ed9e9cd taku0: flashplayer: 27.0.0.170 -> 27.0.0.183...
NixOS_GitHub has left #nixos []
jacob_ has joined #nixos
glenn has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c4db221cd8 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jacob_ is now known as Guest43002
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vFTn8
<NixOS_GitHub> nixpkgs/release-17.03 630dbfe Franz Pletz: wget: 1.19.1 -> 1.19.2 for multiple CVEs...
NixOS_GitHub has left #nixos []
Wizek__ has quit [(Ping timeout: 240 seconds)]
<hyper_ch> infinisil: you use znapzend, right?
erictapen has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
kiloreux_ has quit [(Remote host closed the connection)]
simukis has joined #nixos
mutagenfork has quit [(Ping timeout: 255 seconds)]
Wizek__ has joined #nixos
pxc has joined #nixos
FRidh has quit [(Ping timeout: 240 seconds)]
simukis has quit [(Quit: simukis)]
tmaekawa has joined #nixos
nh2 has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
grw has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFTl4
<NixOS_GitHub> nixpkgs/master f5c74a2 Robert Helgesson: perl-File-LibMagic: 1.15 -> 1.16
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
pie_ has joined #nixos
sivteck has quit [(Quit: Buhbye)]
simukis has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<Harekiet> someday I'll try nixos hyper_ch, hell a weekend coming up :)
<hyper_ch> Harekiet: what do you do to automate snapshot sending to backup machine?
voiceftp has quit [(Remote host closed the connection)]
work_ has quit [(Quit: Connection closed for inactivity)]
voiceftp has joined #nixos
<Harekiet> hyper_ch I use zfs send for the local lan here and rsync's to a remote machine over my tinc network
<hyper_ch> Harekiet: well, just tested zfs send | ssh remote "zfs receive" through wireguard
erictapen has joined #nixos
<hyper_ch> I got transferred 109GB in 30min
capisce has joined #nixos
<hyper_ch> but Need now to automate the snapshot sending
<Harekiet> there seems to be a lack of a nice tool that maintains a local set of snapshots together with an external set at a different interval
<hyper_ch> some people use znapzend and it's also available on nixos as servie but can't really figure out how to properly configure it
DiThi has joined #nixos
<DiThi> hello
<hyper_ch> hi
<Harekiet> I wanted like a bunch of hourly's on my local machine and just a load of dailys on the remote machine
<DiThi> so I want to repair/restore packages by using "nix-store --verify --check-contents --repair"
<DiThi> however there are packages that will take too long or too much space to compile/install
<DiThi> even though I've uninstalled them
<hyper_ch> Harekiet: well, I just want my datasets with all the snapshots to be send
<DiThi> how can I ensure they are not attempted repair/restore?
<hyper_ch> take too much space?
<DiThi> oh wait, I have to delete old generations, right?
<hyper_ch> you can delete them
<hyper_ch> and do some other stuff to free even more space
tdc has quit [(Read error: Connection reset by peer)]
<Harekiet> hyper_ch that should be fairly simple, it gets messy if the intervals on systems don't mess and you don't want the intermedites to be sent
<hyper_ch> like optimise which takes a while and taxes your comp heavily
Capprentice has joined #nixos
<hyper_ch> DiThi: I use this for real cleanup https://paste.simplylinux.ch/view/raw/ddecbe78
tdc has joined #nixos
<infinisil> hyper_ch: Yes I use znapzend
<hyper_ch> infinisil: can you paste your config for it?
<DiThi> I've realized the thing about generations after asking... it seems it's working so far
<hyper_ch> https://nixos.org/nixos/options.html#znapz --> there's nothing really here to configure
<infinisil> Yeah, hold on
<DiThi> hyper_ch: I think the first two commands of that script are redundant
* hyper_ch holds on to infinisil
<hyper_ch> DiThi: they don't hurt :)
<hyper_ch> up to you... just showing what I dea to really clean up things
<infinisil> Yeah znapzend is configured on the datasets themselves, via zfs user properties
erictapen has quit [(Ping timeout: 264 seconds)]
<hyper_ch> hmmm.....
<DiThi> thanks though
DiThi has quit [(Quit: Page closed)]
<hyper_ch> infinisil: got any great pointer?
<infinisil> 0x4200018f is pretty big
<hyper_ch> :)
tmaekawa has quit [(Quit: tmaekawa)]
<infinisil> But yeah I can show you my znapzend config, one sec
erictapen has joined #nixos
<infinisil> You can not do it in configuration.nix
<infinisil> Unless with some activationScript
damke_ has joined #nixos
<infinisil> I want to add a module for that eventually, maybe
<hyper_ch> today? tomorrow?
<hyper_ch> sunday?
<hyper_ch> :)
<infinisil> Probably not this weekend cause NixCon ;)
FRidh has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
arjen-jonathan has joined #nixos
<hyper_ch> oh right
<manveru> heading to munich tonight :)
<infinisil> Same 🎉
pie_ has quit [(Ping timeout: 252 seconds)]
pie_ has joined #nixos
kiloreux has joined #nixos
kiloreux_ has joined #nixos
<hyper_ch> got a terrible cold... can't attend :)
kiloreux_ has quit [(Client Quit)]
<hyper_ch> does znapzend actually create own snapshots?
<infinisil> hyper_ch: Of course, why wouldn't it?
<hyper_ch> I thould it would just sync the snapshots created by autosnapshot
<infinisil> nah, it has absolutely nothing to do with autosnapshot
<hyper_ch> do you even run autosnapshot anymore?
<infinisil> i use znapzend for that
<infinisil> so no
<hyper_ch> I see
<infinisil> Here is my znapzend config if you're interested: https://gist.github.com/Infinisil/c7a7fa66273dca883e18924d0fcb1ba1
<infinisil> Pretty standard stuff
<hyper_ch> what happens if backup server is not available for some reason?
<hyper_ch> will it later then sync the snapshots that were missed out?
<infinisil> it just gives a warning but continues to do what it can
<infinisil> yeah
<hyper_ch> cool
<infinisil> same for datasets that don't exist (unless you use autoCreate)
<hyper_ch> where did you get that config from?
<infinisil> sudo znapzendzetup list
<hyper_ch> or where to put it?
<infinisil> read `man znapzendzetup`
proteusguy has joined #nixos
<ylwghst> brb
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ac2bb5684c (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to release-17.09: https://git.io/vFTBL
<NixOS_GitHub> nixpkgs/release-17.09 cf75044 adisbladis: nodejs: 4.8.4 -> 4.8.5...
<NixOS_GitHub> nixpkgs/release-17.09 1f421f6 adisbladis: nodejs: 6.11.4 -> 6.11.5...
<NixOS_GitHub> nixpkgs/release-17.09 8713f20 Mathias Schreck: nodejs: 8.6.0 -> 8.7.0...
NixOS_GitHub has left #nixos []
<betaboon> is there a way to 'extend' a seperate nixos-service?
pie___ has joined #nixos
<ertes-w> for some reason nixos-install builds the system using the host nix, which also means that my RAM-disk is running full
<ertes-w> is there a way to make it build using the target system's nix?
Swant has quit [(Ping timeout: 624 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
Swant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #30861: firefox-bin: 56.0.1 -> 56.0.2 (release-17.09...release-17.09) https://git.io/vFTBp
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
<tokudan[m]> backported firefox-bin 56.0.2 to release-17.09. would be nice to see it merged soon, as the old version of firefox shows nag screens that a new version is available
tv has quit [(Ping timeout: 240 seconds)]
<ArdaXi[m]> ertes-w: nixos-install _should_ be building with /mnt/nix
<ertes-w> ArdaXi[m]: i don't know how exactly it works, but my observation suggests that it builds in /nix/.rw-store, and then copies to /mnt/nix/store
<ertes-w> i don't know how granularly it does that, but i'm running into space issues
iyzsong has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
Wizek__ has quit [(Quit: Leaving)]
tv has joined #nixos
<Li[m]> could I use some other linux (ie alpine) with nix and try to write a service for a different init system, theoretically?
griff_ has quit [(Quit: griff_)]
<Li[m]> s/could I/could I theoritically/
proteusguy has quit [(Remote host closed the connection)]
python47` has joined #nixos
<manveru> Li[m]: sure
<Li[m]> ya awesome thanks
<hyper_ch> infinisil: do you autoscrub?
<ertes-w> Li[m]: i use nix to build docker containers with s6
kiloreux has quit [(Remote host closed the connection)]
<ertes-w> i even have something like a mini-NixOS for that
<Li[m]> id love to see it
<manveru> i have it with runit in docker
<Li[m]> ertes-w: would love to use it
<manveru> would love to see s6 too :)
<Li[m]> and runit too
<Li[m]> ahah!
<tokudan[m]> ertes-w: just a guess, but could /tmp be to small for some of your builds? If yes, you could just enable the swap on your harddisk and mount -o remount,size=XXg /tmp to increase the available size in /tmp
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFT0d
<NixOS_GitHub> nixpkgs/master 85e79da Tim Steinbach: linux: 4.9.58 -> 4.9.59
<NixOS_GitHub> nixpkgs/master 2c373d8 Tim Steinbach: linux: 4.13.9 -> 4.13.10
NixOS_GitHub has left #nixos []
<ertes-w> Li[m]: it's commercial, but if you're patient, i can probably release it as open source
<ertes-w> i have to ask for permission first
<Li[m]> lol
<Li[m]> ppl see software as an asset instead of seeing it as what it really is- cost
<Li[m]> wed all make a whole lot more money by collaborating
<Li[m]> anyway its not anybodys fault
<ertes-w> Li[m]: no, it's really just a legal issue… it's not that my employer wants to keep it behind closed doors, but just an issue of me not being the legal owner, so i can't just release it without permission =)
<Li[m]> step one: find a small sovereign 'territory' to declare IP illegitimate, and leak/reexport into the public domain everything that any hacker/leaker can push out. done
<Li[m]> no more proprietary anything
<Li[m]> well do it
<Li[m]> matter of time
<Li[m]> then nobody will care and everybody will just collaborate
<Li[m]> for truth
<Li[m]> or correctness
ThatDocsLady has quit [(Quit: Leaving)]
abcrawf has quit [(Remote host closed the connection)]
<ertes-w> i'm in a lucky position regarding that… we sell service, not software, so there is almost no incentive to keep things closed… just today i contributed paid work to nixpkgs =)
ylwghst has quit [(Remote host closed the connection)]
tgunb has joined #nixos
abcrawf has joined #nixos
FRidh has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFTuc
<NixOS_GitHub> nixpkgs/master eae5dfe Tim Steinbach: sbt: 1.0.2 -> 1.0.3
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7.1)]
proteusguy has joined #nixos
FRidh has joined #nixos
kiloreux has joined #nixos
hexamod has joined #nixos
Ivanych has joined #nixos
<infinisil> hyper_ch: I haven't enable autoscrub, but wanted to do that, thanks for reminding me :P
csingley has joined #nixos
<hyper_ch> I still don't get how your znapzend entries work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vFTuj
<NixOS_GitHub> nixpkgs/master a86e48a dywedir: ocamlPackages.topkg: 0.8.1 -> 0.9.1
<NixOS_GitHub> nixpkgs/master 1b2a0e0 dywedir: ocamlPackages.reason: 2.0.0 -> 3.0.0
NixOS_GitHub has left #nixos []
<hyper_ch> don't you send them over ssh?
<hyper_ch> ah.. I think I get it now :)
sauyon has joined #nixos
mutagenfork has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
<pie___> nixos is a special snowflake (heh heh heh)
periklis has joined #nixos
<hyper_ch> ?
<woffs> I need stickers
<ma27> woffs: we should have a few in the mf office
<ma27> however I'd bring some stickers to NixCon :)
<kuznero> Btw, is it possible to order Nix/NixOS sticker anywhere
<kuznero> ?
<kuznero> For those who weren't lucky to get to the conf...
<hyper_ch> local print shop?
<ma27> when I google "nixos sticker" I get this as first result: https://www.stickermule.com/de/marketplace/9928-nixos-logo
<kuznero> Nice, thanks!
Aexoden has quit [(K-Lined)]
pikajude has quit [(K-Lined)]
ncrashed has joined #nixos
pikajude has joined #nixos
Aexoden has joined #nixos
python47` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<ncrashed> Hi! I want to write down my nixos configuration to iso and burn it to live USB after that. The iso-image.nix works nice, but doesn't support persistent live USB (all changes are dropped after reboot). Does anybody know in which direction I should search to make iso for persistent live usb?
<edef> ma27: yeah, those are really nice stickers
reinzelmann has quit [(Quit: Leaving)]
<edef> hmm, I'm fairly sure there's something for having it mount the overlayfs from elsewhere
<edef> orr you could mount /etc and /home and some other stuff from elsewhere
<ncrashed> hmm, so it would be less portable and no way to change /nix/store anyway
<edef> so like, by default it mounts a squashfs and then uses overlayfs with a tmpfs
<edef> I haven't looked at this code carefully in a while, but I seem to recall there being a facility for using persistent storage for the overlay
<edef> urgh, okay, fileSystems."/nix/.rw-store" seems to get set to the tmpfs unconditionally but you could mkForce that
<edef> also welp, why does still use unionfs-fuse when it could be using overlayfs
<ncrashed> hmm, I tried to replace tmpfs with ext4 and ran into boot problem at stage 1
<ncrashed> there also sd-image.nix for raspberry, it seems to be persistent, but doesn't have so flexible boot loader as iso-image.nix
<ncrashed> I think, I can try to merge them somehow
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30861: firefox-bin: 56.0.1 -> 56.0.2 (release-17.09...release-17.09) https://git.io/vFTBp
NixOS_GitHub has left #nixos []
<hyper_ch> infinisil: does recipient server also need to have znapzend installed?
<infinisil> Nope
<infinisil> only zfs
<hyper_ch> I have set autocreation set to true yet it still complained
<infinisil> that the dataset doesn't exist?
<hyper_ch> yeah
periklis has quit [(Ping timeout: 252 seconds)]
<hyper_ch> I created tank/encZFS/BU/notebook
<hyper_ch> and then wanted to add it as tank/encZFS/BU/notebook/VMs
<hyper_ch> and it complained :(
<infinisil> what do you mean add it as?
<hyper_ch> it complained about dataset not existing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.09: https://git.io/vFTVF
<NixOS_GitHub> nixpkgs/release-17.09 8838d8b Peter Simons: haskell-ltk: fix build by providing haskell-gi-overloading-0.0...
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
<infinisil> did you use sudo?
<hyper_ch> no
<hyper_ch> used root
<hyper_ch> so I added VMs to it and then it took like 1-2 minutes
<hyper_ch> until command completed
<infinisil> I don't know what you mean by add VMs to id
<infinisil> it*
<infinisil> to znapzend?
<infinisil> if you have descendant datasets you want to include in znapzend you need the --recursive flag
<hyper_ch> sorry, this
<infinisil> and you can verify if a dataset exists with `sudo ssh <user>@<host> zfs list <dataset>`
<hyper_ch> it complained when on receiving end only this eisted: tank/encZFS/BU/subi
<hyper_ch> since autoCreation is set to true, why did it complain about dataset not existing on receiving end?
<infinisil> did you check if the process runs with the --autocreate flag?
<infinisil> --autoCreation*
<hyper_ch> no
<hyper_ch> how to do that?
<infinisil> I usually use htop for that
<infinisil> Use "\" to search for znapzend
<hyper_ch> └─9176 /nix/store/raylbbdkg4yz21c44fwcv63bzvj7a1i1-perl-5.24.2/bin/perl -I/nix/store/l4xkydwi2z1gdy8bgrk6bdb8z6j6015z-perl-Test-Ha /nix/store/f8bz5vbdi821k9cdj7ndf33y5cwjsp9q-znapzend-0.17.0/bin/znapzend --logto=syslog::daemon --loglevel=debug --autoCreation
<hyper_ch> yeah, it runs with it
<infinisil> and if you changed it you need to send a SIGHUP
<infinisil> or restart it, for the new config to apply
<hyper_ch> I know
<hyper_ch> 2 minutes to go
<hyper_ch> lets see if it does anything
<infinisil> You can test it with `sudo znapzend --runonce=<dataset> -d`
<hyper_ch> or wait another minutes
<hyper_ch> or wait another minute
<infinisil> Let's go to #zfsonlinux, this isn't nixos relevant
<hyper_ch> nothing seems to happen
damke_ has quit [(Ping timeout: 240 seconds)]
roberth has joined #nixos
damke_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] YorikSar closed pull request #30603: chromium: 61.0.3163.100 -> 62.0.3202.62 (master...chromium-update) https://git.io/vdFvi
NixOS_GitHub has left #nixos []
dieggsy has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/ac2bb5684c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
damke has joined #nixos
<lebel> Is there a way to see the list of packages installed system-wide? I'd like to know what's installed when I specify that my desktop environment in plasma5 for example and I need to append in my configuration.nix info to avoid duplicates...
damke_ has quit [(Ping timeout: 240 seconds)]
<lebel> (the equivalent of yum list on a redhat based distribution)
xelxebar has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30835: mysql: package updates (master...update-mysql) https://git.io/vFUIu
NixOS_GitHub has left #nixos []
<infinisil> lebel: What do you mean by preventing duplicates?
<infinisil> systemPackages doesn't care about duplicates, you can do systemPackages = [ hello hello hello ] and it will install hello just once
<infinisil> I'm pretty sure anyways
<lebel> Well, let say I add a package in environment.systemPackages = with pkgs; [ ... ];
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.09: https://git.io/vFToG
<NixOS_GitHub> nixpkgs/release-17.09 31fe38c Piotr Bogdan: mysql55: 5.5.57 -> 5.5.58...
<NixOS_GitHub> nixpkgs/release-17.09 1a56798 Piotr Bogdan: mysql57: 5.7.19 -> 5.7.20...
NixOS_GitHub has left #nixos []
<lebel> and that package was already included in the base system of what I requested with a flag like services.xserver.desktopManager.plasma5.enable = true;
<lebel> (via depencies)
<infinisil> what you wanna add in systemPackages is the stuff you want to call manually
pie___ is now known as pie_
<infinisil> enabling this plasma5 option gets you all the dependencies you need for it, but doesn't put it in $PATH generally, so you can't run the binaries it in a terminal
<infinisil> if you need to run the binaries from a terminal, add it to systemPackages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ikervagyok opened pull request #30862: libvirt-python: 3.6.0 -> 3.8.0 (master...libvirt) https://git.io/vFTo1
NixOS_GitHub has left #nixos []
<sauyon> is there a way to include a nix file from another nix file?
<clever> sauyon: import
<sauyon> I feel like I've done it before but I can't remember how >.>
<sauyon> welp.
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<infinisil> sauyon: (import path/to/file.nix) evaluates to the nix expression in that files
<infinisil> s/s^//
<sauyon> yeeeeep
<sauyon> I was searching for include in the docs >.>
lebel has quit [(Remote host closed the connection)]
iyzsong has quit [(Ping timeout: 248 seconds)]
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<Unode> I've configured mlocate to be the default locate service. After the first indexing seems to work fine. The code however warns: "trace: warning: mlocate does not support searching as user other than root" which doesn't seem to be true (maybe it was in the past). Is this something worth of a bug-report?
RayNbow` has joined #nixos
kuznero has joined #nixos
<kiloreux> But getting curl(35) related to SSL.
<kiloreux> On ubuntu
<kiloreux> Not sure what I am doing wrong here. If anyone experienced this?
RayNbow`TU has quit [(Ping timeout: 248 seconds)]
hexamod has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
chris111111 has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
mutagenfork has quit [(Ping timeout: 248 seconds)]
<kiloreux> Is there anyway I stop nix from ignoring my http binary-cache ? It's always opting for the https cache.
<bgamari> What is the preferred way to make a dependency of an existing nixpkgs derivation optional?
<bgamari> I see that many packages take enable_* arguments
<bgamari> but this seems slightly redundant given that you will end up with both arguments for every optional package: one enable flag and another providing the dependency
<bgamari> other packages appear to just allow dependency arguments to be null
<infinisil> I don't get it either bgamari, would like to know too
<bgamari> I'm glad I'm not the only one flummoxed by this
<infinisil> Oh actually, I think I might just got it
<infinisil> fooSupport ? true/false, foolib ? null
<infinisil> Since foolib is a valid nixpkgs attribute, it will be called with foolib
<infinisil> and foolib is only included if fooSupport is true
<infinisil> this means that if foolib appears to not be available, it won't be used and it won't fail
<bgamari> hmm
<bgamari> so the next question is:
<bgamari> if I have an overlay, how would I set a dependency of a package to null
<bgamari> e.g. if I want to build systemd in my environment without libapparmor support
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] YorikSar opened pull request #30863: chromium: 62.0.3202.62 -> 62.0.3202.75 (master...chromium-update) https://git.io/vFTPX
NixOS_GitHub has left #nixos []
<infinisil> systemd = super.system.override { libapparmor = null; } should work
nh2 has quit [(Ping timeout: 240 seconds)]
<sphalerite> ncrashed: you still there?
trevorriles has joined #nixos
<sphalerite> I did something like that. It only supports efi, idk if that fits your use case, but I think it can be adapted for legacy booting too
<sphalerite> ncrashed: https://github.com/lheckemann/boot2barony barony-sd.nix and make-disk-image.nix contain the essential parts
<ncrashed> sphalerite: thank you, I will check this now
acarrico has quit [(Ping timeout: 240 seconds)]
phaebz has joined #nixos
iqubic_ has quit [(Remote host closed the connection)]
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
NightTrain has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #30865: minikube: 0.22.3 -> 0.23.0 (master...minikube_23) https://git.io/vFTMz
NixOS_GitHub has left #nixos []
root_ has quit [(Remote host closed the connection)]
root has joined #nixos
<infinisil> Oh no
root is now known as Guest35975
<infinisil> since I have all my music running on a server, I can't listen to music on the train to Munich because I don't have cheap internet :(
<sauyon> rip
<infinisil> I do have the music locally, maybe I can get a local mpd server running in the 3 hours left until I need to go
<sauyon> erm
<sauyon> why not just use a music player
p4cman has joined #nixos
<infinisil> mpd is a music player?
<infinisil> It's literally "Music Player Daemon"
<sauyon> right but why do you need the server when you could just use like
<sauyon> quodlibet
<sauyon> or rhythmbox or banshee or like mpv or something
<infinisil> because then I'd need to set that up too, I know how to set up mpd already
kiloreux has quit [(Remote host closed the connection)]
<sauyon> I suppose
kiloreux has joined #nixos
<infinisil> and why use a nasty GUI when I can just use a lightweight daemon!
<infinisil> Hmm, okay so here's a nix (os module) question: How can I have a single file like `{ config, ... }: { <shared config> } // optionalAttrs (config.someCondition) { <conditional config> }`?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] csingley closed pull request #30850: nixos/rtorrent: add rtorrent tmux service (user and system) (master...rtorrent) https://git.io/vFUbo
NixOS_GitHub has left #nixos []
<infinisil> Using this gives me an infinite recursion error, which is expected
<infinisil> Oh I have an idea
<toogley> this commit https://github.com/NixOS/nixpkgs/commit/8838d8b7e246e46728cb694edde157aed79208b1 was just pushed to to release-17.09 branch. however, when i try to update my nixos laptop, i still receive the error this commit should fix. therefore, i conclude that although i used sudo nixos-rebuild switch --upgrade the commit is not in the 17.09 nix-channel or so. is that true? and if so, when will that happen?
MercurialAlchemi has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
<sauyon> when the build completes who knows when
<hyper_ch> makefu: you're there?
<infinisil> Alright my idea didn't work, still infinite recursion
<sauyon> to be fair 17.09 is only 3 hours old atm so...?
chris111111 has quit [(Quit: Page closed)]
prietoj has joined #nixos
<infinisil> Oh I have another idea, testing it
MoreTea has joined #nixos
<sauyon> maybe let cfga = { ... } in config = config // cfga // optionalAttrs (cfga.condition) { ... }?
<prietoj> Hello. I'm trying to build dcos-cli in nixos and during the process I get an error: "No package 'libffi' found. Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable"
acarrico has joined #nixos
<sauyon> erm the first config is probably unnecessary
<prietoj> I have libffi in my configuration.nix though. How can I find the path to "libffi.pc"?
<infinisil> Damnit, still infinite recursion
<sauyon> infinisil: try my thingy?
<infinisil> sauyon: Nope, this wouldn't work either
<sauyon> drop config
<infinisil> I can try
<sauyon> let cfg = {..} in config = cfa // optionalAttrs (cfg.cond) {..}
tgunb has quit [(Quit: Leaving.)]
tgunb has joined #nixos
<sauyon> oh is the problem in the //
damke_ has joined #nixos
MoreTea has quit [(Ping timeout: 240 seconds)]
<infinisil> Nope
<sauyon> could probably add a let cfg = {}; c = cfg.cond in ...
damke has quit [(Ping timeout: 240 seconds)]
<infinisil> I also tried imports = optional (cfg.cond) [ <config> ]
<infinisil> but no luck
arjen-jonathan has quit [(Quit: WeeChat 1.9.1)]
<goibhniu> hi sphalerite, can I PM you some contact details? ... if you still plan to make it out to the conference location this evening
cement has joined #nixos
<sauyon> let cfg = {cond=true;}; in { config = cfg // (if (cfg.cond) then {} else { blah = true; }); }
<sauyon> works fine for me infinisil
<infinisil> yeah but my condition is from config
<sauyon> right I'm saying move the config out into cfg
<infinisil> e.g. cond = config.networking.hostName == "foo"
tgunb has quit [(Quit: Leaving.)]
damke_ has quit [(Ping timeout: 240 seconds)]
tgunb has joined #nixos
orivej has joined #nixos
<tgunb> is someone here on nixos with xfce who does hear music on his/her machine? what player do you use?
<sauyon> I use quodlibet
<goibhniu> hi tgunb, have you enabled pulseaudio?
dieggsy has quit [(Remote host closed the connection)]
<sauyon> wait are you having audio issues I didn't read that correctly
mkoenig has quit [(Ping timeout: 260 seconds)]
griff_ has joined #nixos
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
phaebz has quit [(Ping timeout: 255 seconds)]
taktoa has quit [(Remote host closed the connection)]
srdqty1 has joined #nixos
acarrico has quit [(Ping timeout: 258 seconds)]
<sauyon> bah I'm trying to add a file to a derivation via patch and it's telling me that patches doesn't exist
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30865: minikube: 0.22.3 -> 0.23.0 (master...minikube_23) https://git.io/vFTMz
NixOS_GitHub has left #nixos []
<disasm> sauyon: what derivation?
<sauyon> xorg.xkeyboardconfig
<tgunb> no, audio works, i am using alsa, though
griff__ has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
griff_ has quit [(Ping timeout: 240 seconds)]
griff__ is now known as griff_
acarrico has joined #nixos
<sauyon> bahaha I'm an idiot I left the file in imports
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
jensens has quit [(Ping timeout: 264 seconds)]
damke_ has joined #nixos
<hyper_ch> what package provides libncursesw.so.5 ?
stepheng has joined #nixos
<hyper_ch> nox can't find anything
<clever> [clever@amd-nixos:~]$ nix-locate libncursesw.so.5
<clever> ncurses5.out 0 s /nix/store/28bbln4vwh7jhfiq4nbmv4dq12d9gl05-ncurses-5.9/lib/libncursesw.so.5
a6a3uh has joined #nixos
Guest43002 has quit [(Quit: Lost terminal)]
goibhniu has quit [(Ping timeout: 248 seconds)]
<hyper_ch> how do you use nix-locate?
<clever> you just run it on a file you want to find
<hyper_ch> nix-locate: command not found
<sauyon> install nix-index
<hyper_ch> thx
<stepheng> anyone able to help a new nix user? i'm trying to install a specific version of a package (gcc-arm-embedded) that has a `version` argument but i'm not 100% sure how to
ma27 has quit [(Ping timeout: 255 seconds)]
<ee1943> Anyone else seeing an error with an assertion failed on some python packages on the nixos-unstable stream?
MercurialAlchemi has joined #nixos
avn_ has joined #nixos
ma27 has joined #nixos
prietoj has quit [(Quit: Page closed)]
<hyper_ch> stepheng: which version do you want?
snikkers has quit [(Ping timeout: 260 seconds)]
adamt has quit [(Ping timeout: 240 seconds)]
<stepheng> @hyper_ch a version that isn't cached, so i'm trying to use nix-build, but i'm struggling.
<stepheng> i've been trying stuff like "nix-build --argstr version "4.7-2013q3-20130916" '<nixpkgs>' -A gcc-arm-embedded --check", but that doesn't seem to be right at all
<stepheng> also, not sure if the version in that version string is right, just an example
roberth has quit [(Ping timeout: 246 seconds)]
<hyper_ch> never used nix-build
<sauyon> hyper_ch: try running nix-index with -f <path to nixpkgs checkout>
<sauyon> some expression is probably broken
<hyper_ch> path to nixpkgs checkout?
Itkovian has quit [(Ping timeout: 258 seconds)]
<sauyon> oh you don't have a clone of nixpkgs yet
<sauyon> you'll want one of those
adamt has joined #nixos
<sauyon> .
<hyper_ch> not really
<hyper_ch> that sounds like it'll slurp up a lof of space
<stepheng> yeah, the idea is to run this on travis-ci, so space & clone time get to be an issue
jensens has joined #nixos
<sauyon> it's ~130M
<sauyon> if you clone depth 1
<hyper_ch> ok, how?
<sauyon> git clone https://github.com/sauyon/nixpkgs --depth 1 blah
<sauyon> stepheng: it's probably something you use packageoverrides for
orivej has quit [(Ping timeout: 240 seconds)]
Capprentice has quit [(Remote host closed the connection)]
<stepheng> ok, gotcha. even if the nix package has a version argument? i understand pinning the nix package to a specific hash if it doesn't have the version string, but i thought with the version string there would be some way to pass the package the formula the version
<hyper_ch> sauyon: great - error: attribute ‘ghc-events_0_6_0’ missing, at /nixpkgs/pkgs/development/haskell-modules/configuration-common.nix:869:59
Capprentice has joined #nixos
roberth has joined #nixos
<sauyon> wooo nice
<hyper_ch> cloning the whole thing now
<sauyon> :/
schell has joined #nixos
pxc has joined #nixos
<hyper_ch> btw, why are you still in here and not en route to near-Munich?
<hyper_ch> even full clone of nixpkgs yields same ghc-events error
<sauyon> oh the full clone is the same as the depth 1 clone
<sauyon> you just get history
<sauyon> I guess the thing to do is to find a tag that works and use it...
lsyoyom has quit [(Quit: WeeChat 1.8)]
<sauyon> or commit...
<sauyon> if you're committed
<sauyon> :P
<hyper_ch> not really
lsyoyom has joined #nixos
<sauyon> I'm not that into nix really
<sauyon> I just.... use it
<hyper_ch> but how does nix-index work
<hyper_ch> USAGE:
<hyper_ch> nix-index [OPTIONS]
<hyper_ch> no thing for search term
<sauyon> heh
<sauyon> oh you use nix-locate for that
griff__ has joined #nixos
<hyper_ch> ah :)
<sauyon> I think it downloads indexes from hydra
nix-gsc-io`bot has joined #nixos
<hyper_ch> db error
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1a56798bf8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ is now known as griff_
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has quit [(Ping timeout: 246 seconds)]
<hyper_ch> could you check where I can find libstdc++.so.6 ?
<sauyon> isn't that just gcc
a6a3uh has quit [(Quit: Bye)]
<hyper_ch> no idea
Tehnix has joined #nixos
<sauyon> yeah looks like gcc has it
<stepheng> @hyper_ch @sauyon thanks for the help, i have some new things to look at
a6a3uh has joined #nixos
stepheng has quit [(Quit: Page closed)]
<hyper_ch> sauyon: hmmm...... didn't help
<hyper_ch> still complaining about lib not found
<Tehnix> Having a bit of a problem running `nix-shell -p arcanist` on macOS High Sierra :confused: Basically getting an error on building a dependency, and am not quite sure how to continue from `builder for ‘/nix/store/g8sig0qlyr2kxifnwg0yf4wb6hm7pwsp-php-7.1.9.drv’ failed with exit code 2`
hotfuzz_ is now known as hotfuzz
Itkovian has joined #nixos
<sauyon> hrm
<sauyon> what are you doing?
leat has quit [(Quit: WeeChat 1.9.1)]
<hyper_ch> trying to get a .deb file to run
<sauyon> ah
<hyper_ch> since I fail to build it
peacememories has joined #nixos
<hyper_ch> rtorrent: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
cyris212 has quit [(Quit: WeeChat 1.9.1)]
<sauyon> yeah so nix screws with library paths and stuff
<hyper_ch> that's what I'm trying to fix with patchelf
digitus has joined #nixos
<hyper_ch> ah, stdenv helps
<sauyon> does LIBRARY_PATH have the gcc lib in it
<sauyon> maybe try opening a new shell
<hyper_ch> no, stdenv didn't help
peacememories has quit [(Client Quit)]
lebel has joined #nixos
erasmas has joined #nixos
<lebel> Quick question, let say I went to unstable for a while and I'd like to bring back my system to stable, what's the proper way to do it and avoid using anything from unstable?
<ldlework> rycee by what mechanism does home-manager get automatically updated? Is it from the mere fact of being installed as a Nix package? Or is home-manager using home-manager as a builtInput or something like that?
<sauyon> have you looked at the rtorrent nix expression
<hyper_ch> lebel: did you alter the environemnet version var inthe configuration.nix?
<sauyon> in any case I need to go unfortunately
<hyper_ch> lebel: system.stateVersion I mean
<hyper_ch> sauyon: they build it from source
<hyper_ch> sauyon: it's no use
<sauyon> ah :/
<hyper_ch> and I fail to build the rtorrent-ps version myself
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
<hyper_ch> libtorrent-ps works though
<sauyon> hrm well
<sauyon> I'll take a look later and ping you, perhaps?
<hyper_ch> sure
<hyper_ch> if I'm still here
<sauyon> email?
<ldlework> What is the best NixOS Option type for accumulating lines of a config file from multiple modules?
<hyper_ch> I will stay in here
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyper_ch> but I might be sleepign
<ldlework> a list of strings?
<sauyon> mk
Capprentice has quit [(Remote host closed the connection)]
Capprentice has joined #nixos
adamt has quit [(Ping timeout: 264 seconds)]
<ldlework> oh types.lines
Itkovian has joined #nixos
erictapen has joined #nixos
<lebel> hyper_ch: no, I didn't. I kept 17.09
nixer has joined #nixos
<hyper_ch> lebel: then just change channel back
<hyper_ch> nix-channel --add https://nixos.org/channels/nixos-17.09 nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vFTNB
<NixOS_GitHub> nixpkgs/master a7449bf aszlig: libvirt-python: 3.6.0 -> 3.8.0...
NixOS_GitHub has left #nixos []
<hyper_ch> and then nixos-rebuild boot --upgrade
<hyper_ch> that should do it
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
srdqty1 has joined #nixos
mkoenig has joined #nixos
<ArdaXi[m]> So… I'm turning an old Solaris box into NixOS, and I had to replace one disk, so the zpool is currently resilvering, is it going to be safe to run a nixos-install? I'm obviously not going to reboot it until it's done
srdqty1 has quit [(Client Quit)]
<lebel> I'll test that... I don't think I did that specifically. Anyway, the thing is, something broke between two generations on my system, and I don't see anything major that was changed in my configuration.nix.
srdqty1 has joined #nixos
<gchristensen> ArdaXi[m]: I mean, its zfs, soo it shouldbe able to handle the write volume while resilvering, but I'd not just too avoid tempting fate
lebel has quit [(Remote host closed the connection)]
srdqty1 has quit [(Client Quit)]
<ArdaXi[m]> Yeah… it's a raidz2 and only one disk, I'm very happy I decided to go from z1 to z2, makes this a lot less nerve-wracking
srdqty1 has joined #nixos
<gchristensen> ouch yeah if you want to keeep data on it ... I'd wait :)
<ArdaXi[m]> Only 13 more hours to go
<gchristensen> juuust to be sure
<rycee> ldlework: If you are using the home-manager module and have `programs.home-manager.path` set to a http(s) path then that will result in Nix downloading the repo whenever you do a home-manager switch or build (modulo some caching). So you'll always use up-to-date modules and since the home-manager module installs the home-manager tool it will also be kept up-to-date.
<ldlework> 👍 I want to try to replicate this for home-manager-helper
<ldlework> thanks for the reply
<gchristensen> ArdaXi[m]: oh it already is z2... probably fine
FRidh has joined #nixos
<cransom> ArdaXi[m]: there are settings to tweak if you want resilvering to go faster. the defaults iirc are very restrained as it assumes a working system that it doesn't want to steal to much io from
nh2 has joined #nixos
<ArdaXi[m]> It's already going at 90 MB/s, I doubt it's going to get much faster tbh, though I'll look into that
srdqty1 has quit [(Client Quit)]
<rycee> ldlework: Well, in the end it is pretty simple. The home-manager tool adds home-manager=$path to NIX_PATH and then the rest of the code refers to files within the HM project using this, e.g., <home-manager/modules/blah.nix>.
srdqty1 has joined #nixos
<ldlework> I see
<ldlework> I guess you have the advantage that you could always inject a module that includes programs.home-manager.path set to the url and you could always add home-manager to home.packages
lebel has joined #nixos
<ldlework> since you're the one eval'ing the packages
<ldlework> err modules
tgunb has quit [(Quit: Leaving.)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
leat has joined #nixos
tgunb has joined #nixos
<FRidh> Is there a single-user installer for Nix that does not require root? I am looking for a solution not using proot, and am thus willing to rebuild everything.
<ben> are there still no non-root ways to set up a user-local bind-mount for /nix?
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
kiloreux_ has joined #nixos
<makefu> hyper_ch: yes i am here :)
<hyper_ch> makefu: too late.... well.... got that question solved... but still struggling with rtorrnet-ps :(
<makefu> what are you trying to achieve?
kiloreux has quit [(Ping timeout: 260 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
<hyper_ch> makefu: compiling rtorrent-ps
<hyper_ch> this is driving me nuts... it should be working
<makefu> do you have a wip derivation?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyper_ch> wip?
schell has quit [(Quit: schell)]
<hyper_ch> makefu: the two expressions... libtorrent-ps.nix works... but rtorrent-ps.nix complains
erictapen has joined #nixos
<Twey> FRidh: https://github.com/pjotrp/nix-no-root looks like it should work for you
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
<Twey> FRidh: Basically just compiles Nix with --with-store-path=$HOME/nix/store
<makefu> hyper_ch: work-in-progress
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
<hyper_ch> makefu: maybe I should also go to Nixcon and keep everyone hostage until it's fixed ;)
srdqty1 has joined #nixos
<makefu> not sure if this will work out ;)
<hyper_ch> still got my army rifle
<makefu> btw i have rutorrent running, this works well enough for me
srdqty1 has quit [(Client Quit)]
<hyper_ch> it always fails at command_pyroscope.cc:31:38: fatal error: sigc++/adaptors/bind.h: No such file or directory
<hyper_ch> makefu: forget rutorrent
<hyper_ch> rt-ps looks nice and lets you automate just about everything
<Twey> FRidh: The script is pretty old, but so long as you don't mind rebuilding everything I see no reason why the approach shouldn't work. Might require a little tweaking.
srdqty1 has joined #nixos
adamt has quit [(Ping timeout: 252 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
frankqux2 has joined #nixos
<makefu> hyper_ch: do you have a derivation description for rt-ps which should build from source in a pastebin?
<hyper_ch> otherwise I don't know what you mean
<hyper_ch> two files in that gist
<FRidh> Twey: Thanks. I'll have a look at it. I'm now building from NixOS by setting NIX_STORE_* and pointing to a custom /etc/nix/nix.conf
nixer has quit [(Quit: Page closed)]
<makefu> hyper_ch: yep this is what i was looking for. any reason why you are not using the github release? https://github.com/pyroscope/rtorrent-ps/releases
Judson has joined #nixos
nixer has joined #nixos
mutagenf1rk has joined #nixos
Judson is now known as Guest98002
<hyper_ch> makefu: those are just the patches
frankqux1 has quit [(Ping timeout: 255 seconds)]
<makefu> okay
<hyper_ch> with the build script
<hyper_ch> (for debian)
<hyper_ch> I mostly took inspiration from the arch script
<hyper_ch> but still can't get it to work because of that error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFThe
<NixOS_GitHub> nixpkgs/master a924cd2 Tim Steinbach: sbt: No need for bc buildInput
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFThf
<NixOS_GitHub> nixpkgs/release-17.09 3892fce Tim Steinbach: sbt: No need for bc buildInput...
NixOS_GitHub has left #nixos []
Tehnix has left #nixos []
schell has joined #nixos
Itkovian has joined #nixos
lissyx has quit [(Ping timeout: 264 seconds)]
jensens has quit [(Ping timeout: 264 seconds)]
<hyper_ch> makefu: why are you not en route to near-Munich?
<makefu> hyper_ch: so much other stuff to do :(
nh2 has quit [(Ping timeout: 260 seconds)]
erictapen has quit [(Ping timeout: 246 seconds)]
<hyper_ch> well, I didn't plan to go myself... and today I caught a bad cold... so.... good that I didn't plan to go first-hand
lebel has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
griff_ has quit [(Quit: griff_)]
<infinisil> maybe if you chose to go you wouldn't have a cold today, butterfly effect and such xD
<hyper_ch> infinisil: :)
dieggsy has quit [(Remote host closed the connection)]
jb55 has joined #nixos
* yorick complains about the meson people
<hyper_ch> meson people?
<hyper_ch> yorick: oh... I thought it was some special breeds of Germans that are disturbing the evening before Nixcon :)
<hyper_ch> "Meson® is a project to create the best possible next-generation build system." :)
<hyper_ch> sounds like "next-generation" is a hyped term currently
ahstro has joined #nixos
<ahstro> How can I join/reduce a list of strings to a single string?
<yorick> hyper_ch: everything is using it, including systemd
<yorick> ahstro: concat
<hyper_ch> yorick: I'm just a normal end user :)
lebel has joined #nixos
<makefu> hyper_ch: seems like sigc++ moved bind.h from adapters to the base directory
<makefu> -> include/sigc++-2.0/sigc++/bind.h
<hyper_ch> --> /nix/store/k6hlr5x7pzjrg538frlpn82jixavcvbd-libsigc++-2.10.0/include/sigc++-2.0/sigc++/adaptors/bind.h
<hyper_ch> --> /nix/store/4ysajg908l835nlp4w67z6zmqqfrcblp-libsigc++-2.10.0/include/sigc++-2.0/sigc++/adaptors/bind.h
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #30868: gitlab-runner: 10.0.2 -> 10.1.0 (master...gitlab-runner-10.1.0) https://git.io/vFkeM
NixOS_GitHub has left #nixos []
<hyper_ch> I still have bind.h in adaptors
<hyper_ch> and it's not even a symlink -r--r--r-- 3 root root 135396 1. Jan 1970 /nix/store/4ysajg908l835nlp4w67z6zmqqfrcblp-libsigc++-2.10.0/include/sigc++-2.0/sigc++/adaptors/bind.h
<makefu> mhh yes
<makefu> maybe you need to add it somewhere in the configure flags so it gets included
tgunb has quit [(Quit: Leaving.)]
<makefu> because it does not seem to be included in the last gcc call
<hyper_ch> how to do that?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<makefu> i have absolutely no idea
<makefu> :D
<makefu> it always depends on the build scripts
<hyper_ch> damn, you gave me just hope
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
<hyper_ch> build scripts?
<hyper_ch> not the .nix?
griff_ has joined #nixos
Isorkin has joined #nixos
<makefu> somewhere in nix to be sure
<ahstro> yorick: Concat how?
<yorick> ahstro: lib.concatStrings ["a" "b" "c"] -> "abc"
<makefu> hyper_ch: maybe make it part of configureFlags, i check this real quick
jtojnar has joined #nixos
<ahstro> yorick: Cool, thanks!
<infinisil> Or lib.concatStringsSep ", " [ "a" "b" "c" ] -> "a, b, c"
<ertes-w> i'm building a live-USB system using <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-base.nix>… is there a way to include the closure of some derivation in that image without actually adding it to the live system itself?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #30869: kanboard: 1.0.46 -> 1.0.48 (master...update-kanboard) https://git.io/vFkff
NixOS_GitHub has left #nixos []
<makefu> hyper_ch: seems you are not using sigcpp as buildInput
<hyper_ch> tried with libsigcxx
Acou_Bass has quit [(Read error: Connection reset by peer)]
<infinisil> ertes-w: Um, that makes no sense, the live usb needs the closure to run correctly
<infinisil> ertes-w: What do you really wanna do?
<infinisil> the closure of the system are all the runtime dependencies
Acou_Bass has joined #nixos
<ertes-w> infinisil: i will install a NixOS system with a certain configuration from that particular image, and i would like to reduce the number of downloads it needs to make
<hyper_ch> makefu: but I'll retry again with libsigcxx
<infinisil> ertes-w: Then make a separate image for each configuration
roberth has quit [(Ping timeout: 240 seconds)]
<ertes-w> in other words: i want to build the live system as well as most of the target system, and then include the closure of the target system, so it needs to fetch much less
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ikervagyok closed pull request #30862: libvirt-python: 3.6.0 -> 3.8.0 (master...libvirt) https://git.io/vFTo1
NixOS_GitHub has left #nixos []
<infinisil> ertes-w: Ah i see
<ertes-w> i think i should be able to use runCommand to create a symlink to the target system… that makes the live system depend on it
<hyper_ch> makefu: same result
roberth has joined #nixos
<ertes-w> i just thought there might be a more standard/conventional way
<infinisil> ertes-w: isoImage.storeContents
<infinisil> ertes-w: See nixos/modules/installer/cd-dvd/iso-image.nix
<ertes-w> ah, great!
<ertes-w> thanks
<infinisil> :)
<ldlework> rycee can you remind me what the mechanism for adding to the activation package's script is?
<ldlework> oh hmm maybe just home.activation
srdqty1 has joined #nixos
<ahstro> Can I pipe data in a nice way or do I need to nest functions?
<ldlework> oh yeah, with the dag
jensens has joined #nixos
alfie has quit [(Quit: Bye.)]
alfie has joined #nixos
griff_ has quit [(Quit: griff_)]
<kragniz> gchristensen: they came out well https://twitter.com/kragniz/status/923956293907439618
<gchristensen> heck yes they did!
ma27 has quit [(Ping timeout: 240 seconds)]
<gchristensen> I need some of those..!
<makefu> hyper_ch: it seems like the patch you applied
<hyper_ch> what about it?
<makefu> it does not matches the version you are using
<makefu> because src/command_pyroscope.cc uses sigc++
<LnL> oh no! I forgot my stickers
<LnL> rip
<hyper_ch> not really sure what you mean
<makefu> but no other buildscript
<makefu> prepares the makefiles or configures for the library
<hyper_ch> still no idea what you mean... sorry....
<makefu> it seems like upstream just fucks up the original package with patches and everything just works by accident
<hyper_ch> makefu: it all works fine on debian
<hyper_ch> that file is required
<makefu> by accident, because it incluses /usr/lib/include which again by accident includes sigcpp
damke_ has quit [(Read error: Connection reset by peer)]
<makefu> but the build environment is not prepared for the new dependency which is included by the overwritten command_pyroscope.cc file
srdqty1 has quit [(Read error: Connection reset by peer)]
srdqty1 has joined #nixos
srdqty1 has quit [(Client Quit)]
<hyper_ch> I still don't understand it
<makefu> how about you try to build rtorrent-ps from the git master branch. it should work correctly
<hyper_ch> there is no rt-ps git master branch
<hyper_ch> rt-ps is a collection of patches
<hyper_ch> + pyroscope addition
<hyper_ch> and this script is used to build on debian https://github.com/pyroscope/rtorrent-ps/blob/master/build.sh
<makefu> ah geez
<infinisil> ahstro: what's your goal?
<makefu> who would do this!?
<hyper_ch> makefu: that's how arch builds it https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rtorrent-ps
<makefu> why doesnot the aur package depend on libsigcpp ?
srdqty1 has joined #nixos
<ahstro> infinisil: I just wanted my code to look a bit neater, and to learn more about Nix
<hyper_ch> makefu: I have no idea
<pie_> anyone know how to get xclip to work with plasma? :/ or something like that
MichaelRaskin has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
<infinisil> ahstro: I see, got an example of something you think could be done better?
<infinisil> I'm on my way to Munich \o/
<makefu> hyper_ch: this is some seriously fucked up shit. you may be able to add the include path via makeFlags somehow ...
<hyper_ch> makefu: thx for looking at it
[0x4A6F] has joined #nixos
<hyper_ch> infinisil: so you're going?
damke_ has joined #nixos
<infinisil> I've said it a number of times, yes!
<gchristensen> infinisil: yes!
dejanr has quit [()]
<infinisil> 🎉
<hyper_ch> but you're still here
damke_ has quit [(Read error: Connection reset by peer)]
<infinisil> Nixcon is tomorrow
<infinisil> And I'm on my way now
FRidh has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
<hyper_ch> :)
<infinisil> Are you serious, the train has power outlets, but they don't have power --.--
<hyper_ch> ICE?
<infinisil> I think so
<ben> I've never not had power on ICEs
<infinisil> These better start working soon, I'll be here for a while
<hyper_ch> maybe that outlet is defect
<ben> I've never not had them work the moment I got on
<LnL> worked fine for me
<hyper_ch> tried another one?
<ben> tried another device?
<ben> have you tried turning the train off and on again?
alhariel has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
<infinisil> There's loads of people, can't get a different seat
erictapen has joined #nixos
<hyper_ch> good that you have a power pack with you, right?
damke_ has quit [(Ping timeout: 240 seconds)]
lissyx has joined #nixos
<ldlework> I'm confused, it seems fetchzip is supposed to fetch a zip, and then unpack it, and then it resolves to a path in the store of the unpacked contents
<ldlework> but it appears I'm getting a path to the zip file
<ldlework> the finder alias ends up pointing to a zipfile
<infinisil> hyper_ch: i do not
<hyper_ch> so what will you do when the battery runs out?=
<infinisil> But it's okay now, was able to change seat, now with less noise and people, and a power outlet that works
<ldlework> finder says the "original" is /nix/store/ahj1bvvqrxmylmvbslv6snmn6kg8349a-Hammerspoon-0.9.57.zip
<infinisil> Charge it?
<clever> ldlework: run ls -l on that path
<hyper_ch> well, you didn't see you took my advice :)
<clever> ldlework: is it actually a zip?
<hyper_ch> s/see/say/
<ldlework> Hmm I guess not.
<infinisil> ;P
<clever> ldlework: ah, so its a directory that ends in .zip?
lissyx has quit [(Ping timeout: 240 seconds)]
<ldlework> Yeah, and when I go into it, it opens the package utility
mizu_no__ has joined #nixos
<ldlework> via finder
<ldlework> like I double click on the alias
<ldlework> lmao
<clever> ldlework: you can add a name = "..."; attribute inside fetchzip, to rename what it will unpack to
<ldlework> I see
<clever> then it will be less confusing
<hyper_ch> infinisil: how long's the ride?
<ldlework> Nice!!!
<infinisil> 3.5h
mizu_no__ has quit [(Client Quit)]
<ldlework> I can install OSX apps with home-manager
<ldlework> 💃
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3892fcebb2 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
a6a3uh has quit [(Quit: Bye)]
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jgertm has joined #nixos
<infinisil> Really nice to have someone use HM on macOS, now we know it works there too, thanks! :D
<ldlework> clever how would I change this so that the zip get's installed to ~/.nix-profile/Applications/ so that I can make the symlink point there, instead of pointing at the exact store location? https://gist.github.com/dustinlacewell-wk/2d37937b5d9e085466800094563fcafd
<ldlework> I know how to write things to my home directory via options.home.file
<ldlework> But not to the profile...
<ldlework> lol
<infinisil> ldlework: that's just home.packages
<ldlework> ?
<infinisil> or what do you mean by profile?
<ldlework> like, right now I'm creating an alias directly to the store location of the fetched Hammerspoon.app
a6a3uh has joined #nixos
<ldlework> But that's bad because if it updates, my unmanaged Finder alias will break
<ldlework> Instead I want to insteall the Hammerspoon.app to ~/.nix-profile/Applications/
<infinisil> How are you fetching this app?
<ldlework> And then set the finder alias to point to ~/.nix-profile/Applications/Hammerspoon.app
<ldlework> fetchzip
<ldlework> look at the gist
<infinisil> Ah, that should be pretty easy actually
<ldlework> I don't know how to move things into the profile proper..
<ldlework> I've only ever used Nix to move things into my home directory 🤣
<infinisil> make a derivation where this application is in $out/Applications
<infinisil> then add that derivation to home.packages
<ldlework> oh duh
<ldlework> oh ok
<ldlework> I think I understand why
<infinisil> I think this should just work (tm)
<ldlework> because those contribute to the derivations that HM itself will build with the output directory set to the thing that gets set as the profile
<ldlework> IE that's how things get to .nix-profile/bin afterall
<ldlework> thank you
jensens has quit [(Ping timeout: 255 seconds)]
<ldlework> hell I can just add the fetchzip to the home.packages right?
ylwghst has joined #nixos
<ldlework> heh I wonder if name = "Applications/Hammerspoon.app"; will work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vFkIX
<NixOS_GitHub> nixpkgs/master af5a75a Bart Brouns: zam-plugins: 3.8 -> 3.9
<NixOS_GitHub> nixpkgs/master d3e9342 Joachim F: Merge pull request #30825 from magnetophon/zam-plugins...
NixOS_GitHub has left #nixos []
lebel has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #30554: shmig: init at 2017-07-24 (master...init/shmig-2017-07-24) https://git.io/vdQ7D
NixOS_GitHub has left #nixos []
<makefu> hyper_ch: try configureFlags = [ ... "CXXFLAGS=-I${libsigcxx}/include/sigc++-2.0/" ]
<makefu> maybe you also need to define to add the lib in configure libs in the linker
<makefu> but this should do the trick
nipperstick has joined #nixos
lebel has joined #nixos
tdc has quit [(Read error: Connection reset by peer)]
tdc has joined #nixos
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
mizu_no__ has joined #nixos
griff_ has joined #nixos
adamt_ is now known as adamt
goibhniu has joined #nixos
Itkovian has joined #nixos
<adamt> Hi. I'm trying to make a module with a systemd-unit, but I can't figure out how to set environment variables in the service section. Can anybody point me in the right direction?
glenn has joined #nixos
bitchecker has quit [(Ping timeout: 252 seconds)]
alhariel has quit [(Quit: Leaving)]
jensens has joined #nixos
ertes has joined #nixos
a6a3uh has quit [(Quit: Bye)]
alhariel has joined #nixos
endformationage has joined #nixos
alhariel has quit [(Remote host closed the connection)]
work_ has joined #nixos
alhariel has joined #nixos
<alp> adamt, systemd.services.<name>.environment ?
<adamt> So apparently I can do systemd.services.myservice.serviceConfig.Environment = [ "a=b" "c=d"];, but it seems a bit silly that i cannot be defined as a set instead
bitchecker has joined #nixos
<alp> see https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.environment (click on the only result there for the docs) for more
<alp> that one is an attribute set
<adamt> alp, yes, but the same doesn't seem to work when creating the module, not using it
ahstro has quit [(Ping timeout: 260 seconds)]
<adamt> ''Environment = { foo = "bar"; };'' results in ''error: cannot coerce a set to a string, at /etc/nixos/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:88:10'' =/
<adamt> (same with lowercase 'environment')
a6a3uh has joined #nixos
<alp> adamt, well this would be part of the implementation. can you paste your module's code somewhere?
<adamt> alp, http://nixpaste.lbr.uno/hoh14CG7?nix (search for environment)
<alp> adamt, 'environment' (the set with the env variables) would just be another field of https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/torrent/deluge.nix#L41 for example (same level as 'after' etc)
<alp> adamt, right so I think you just need to move it one level up
<alp> and with the lowercase 'e'
<adamt> oh, why isn't it on the serviceConfig-level? That's where it belongs in the generated systemd-unit
<adamt> alp, that works. Thanks. Still not really intuitive (since you can also use serviceConfig.Environment and set it to a list of strings containing the env vars)
ylwghst has quit [(Quit: Lost terminal)]
<cransom> adamt: nothing stops you from using serviceConfig, but as your comment says 'works but is ugly'. `environment` is how the module writer worked it out
<alp> adamt, I think both are available to you. the one in serviceConfig probably just gives you a raw interface to systemd's Environment config thingy, while the other one, one level up, is a more "Nix-y" interface to this. but maybe there are subtle differences that I'm not aware of.
trevorriles has joined #nixos
adc has quit [(Ping timeout: 240 seconds)]
trevorriles has quit [(Client Quit)]
trevorriles has joined #nixos
drakonis has joined #nixos
<adamt> alp, it must be something like that. I also noticed that using serviceConfig.Environment, things are added to the bottom of the list of env vars in the unit file, while vars created with the upper level version create the vars along with the auto generated ones (PATH, TZDIR, ..). Hmm.
<adamt> cransom, that's cool, it's just a weird design. Is there any documentation covering things like these, or is it mostly a matter of digging through the source?
<adamt> (and thanks guys)
<cransom> adamt: https://nixos.org/nixos/options.html#systemd.services or man configuration.nix
Wizek has joined #nixos
<adamt> cransom, as a newbie it's not really intuitive that that also applies for module writing though. :P
<alp> adamt, I'm thinking that if the "ugly" one is still there, there must be a reason. But can't find that anywhere, maybe you'll want to ask about this on the mailing list if you really want to know, questions don't get lost as easily there.
<cransom> adamt: knowing if a package works after writing an expression is easy. writing a module is far more art than science
<betaboon> i propose refactoring the nixos logo to a simple asterisk, as it has exactly the same amount of lambdas :P
<adamt> betaboon: "'*' <= Can you count the number of lambdas? 92% of all people get the answer wrong!" :P
<betaboon> funny enough my font shows asterisk with only 5 arms xD
<betaboon> so to be more specific, a 6 arm asterisk
<ldlework> maybe later I'll builds some options for building a config dynamically
<kiloreux_> When generating a directory for binary-cache through nix-push. How can I specify the directory by nix-serve ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ekleog opened pull request #30870: clamav module: make services.clamav.daemon.enable actually work (master...clamav-cleanup) https://git.io/vFksk
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
rtjure has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
a6a3uh has quit [(Quit: Bye)]
griff_ has quit [(Quit: griff_)]
slack1256 has joined #nixos
rtjure has quit [(Ping timeout: 255 seconds)]
stepcut has joined #nixos
Itkovian has joined #nixos
rtjure has joined #nixos
nipperstick has quit [(Quit: Textual IRC Client: www.textualapp.com)]
rtjure has quit [(Ping timeout: 240 seconds)]
<adamt> fpletz: ping (You packaged Kea -- I'm trying to write a module for it -- got a few minutes for some questions?)
<samueldr> (some nixers are, I presume, afk for a pre-nixcon dinner)
<> changed the topic of #nixos to: Topic for #nixos is "Need help? 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://botbot.me/freenode/nixos/ || #nixos-dev, ##nix-darwin"
<> changed the topic of #nixos to: Topic set by gchristensen!~gchristen@unaffiliated/grahamc on 2017-10-18 23:09:41 UTC
<adamt> samueldr, ah, cool. I'll just ask the question then, and hope he can answer it eventually :-)
<samueldr> :)
<ldlework> infinisil https://gist.github.com/dustinlacewell-wk/913db996993fd3aa6a488fc42b94c65e this complains that: in ‘toFile’: the file ‘builder.sh’ cannot refer to derivation outputs, at /Users/dustinlacewell/.home-manager/src/hammerspoon/default.nix:16:15
<adamt> fpletz: basically I'm having a hard time even figuring out how to get it to start, since it seems impossible to avoid the PID-file (does Kea fork? =/), and the current way it's built with --localstatedir=/var causes kea to try and write the PID-file to something like '/var/kea/jl8gngsvx4jacz5dw24izc8vh3yylh6c-kea.kea-dhcp4.pid'. Do you know of any workarounds?
<ldlework> how am I supposed to copy `release` to $out if I can't refer to it?
<ldlework> oh its complaining about referring to release
<ldlework> erm
<clever> ldlework: pkgs.writeText
<ldlework> clever what's the difference?
<clever> ldlework: toFile cant have any dependencies, and it works at a nix level during the eval so its platform independant
<clever> ldlework: writeText is just a wrapper around "echo ${foo} > $out", so it runs in a sandbox, and the $out hash depends on what build of echo you use
<clever> ldlework: but writeText can do files within $out, it can +x things, and it can depend on things
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ldlework> clever I'm guessing I do not just replace toFile with writeText given that writeText returns a derivation
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<clever> ldlework: writeText accepts 2 strings, a name, and the text to be written
<ldlework> Right, I get that..
<clever> infinisil: and it has variants line writeScript (+x's the file) and writeScriptBin (puts it in $out/bin/), that have the same API
<> changed the topic of #nixos to: Topic for #nixos is "Need help? 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://botbot.me/freenode/nixos/ || #nixos-dev, ##nix-darwin"
<> changed the topic of #nixos to: Topic set by gchristensen!~gchristen@unaffiliated/grahamc on 2017-10-18 23:09:41 UTC
<clever> ldlework: also, you can use a derivation in pretty much any place you can use a path/string, it will cast automatically
<ldlework> 👍 so use it in the let clause and refer to it in the package?
<ldlework> in mkDerivation?
<clever> yeah
<ldlework> or rather, specify it as the builder of the mkDerivation
<ldlework> k
<clever> i also do exactly that in an example
<ldlework> hmm pkgs is missing writeFile?
<ldlework> nice
<clever> this uses some of nixpkgs to setup the derivation
<clever> but the derivation itself, makes no use of the stdenv
<ldlework> why does my pkgs argument missing the writeFile attribute?
<clever> if you could provide a staticly linked shell, and you put that builder in a normal file and did ./builder.sh, this derivation can run entirely without nixpkgs
<clever> its writeText
<ldlework> oh jeeze
<clever> it is a bit confusing, there is also a writeTextFile, with a different api
<clever> and several others
<fpletz> adamt: I have a hacky systemd service definition somewhere but am currently at a restaurant... will send you a link
erictapen has quit [(Ping timeout: 264 seconds)]
<adamt> fpletz, thanks, no hurry, i'm hitting the sack soon, enjoy your dinner. :-)
ssmike has quit [(Ping timeout: 255 seconds)]
ssmike has joined #nixos
taktoa has joined #nixos
slack1256 has quit [(Ping timeout: 248 seconds)]
simukis has quit [(Quit: simukis)]
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vFkWt
<NixOS_GitHub> nixpkgs/python-unstable d8297ad Frederik Rietdijk: FIXUP
<NixOS_GitHub> nixpkgs/python-unstable d8b3a9b Frederik Rietdijk: FIXUPS
NixOS_GitHub has left #nixos []
<kiloreux_> When generating a directory for binary-cache through nix-push. How can I specify the directory by nix-serve ?
<kiloreux_> Or does nix-serve work differently and independently from nix-push ?
bennofs has quit [(Client Quit)]
<clever> kiloreux_: nix-serve just serves everything in /nix/store/
<kiloreux_> Even if there's no NAR files ?
<kiloreux_> nor manifest
<kiloreux_> I thought we use nix-push to generate those.
<clever> kiloreux_: it will dynamicaly generate the NAR on-demand, compressing up the storepaths your using normally
<clever> nix-push will generate nar's of the given paths, and make a directory suitable for a static website, just upload it anywhere
<clever> nix-serve is dynamic, and will look in /nix/store/ for every request, and generate the NAR on the fly
elasticdog has quit [(Ping timeout: 248 seconds)]
<kiloreux_> Great, so I think nix-push is the best for my use-case.
<kiloreux_> So nix-push is to be used with just standard web-server ?
<kiloreux_> since I am putting the generated content on the local machine.
<MichaelRaskin> Yes.
<ldlework> clever I'm still confused, I have this.... https://gist.github.com/dustinlacewell-wk/ecfedbdbb0b0c003714bbef69d0574ac
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<ldlework> but when I just do home-manager build, I don't see any evidence of hammerspoon in the result/ directory
<kiloreux_> From the nix-manual I can see that nix-push has no --add-root. yet when I execute it, I get "warning: you did not specify ‘--add-root’; the result might be removed by the garbage collector"
kiloreux_ has quit [(Quit: Leaving)]
<ldlework> I do see building path(s) ‘/nix/store/q8jxcn2jnqkzj2wf8jmx5nvp3232r5aa-Hammerspoon-0.9.57’
<ldlework> so it is building that derivation...
kiloreux_ has joined #nixos
kiloreux_ is now known as kiloreux
kiloreux is now known as kiloreux_
<clever> ldlework: just use runCommand, not builder
<ldlework> clever you mean runCommand over mkDerivation?
<clever> infinisil: yeah, pkgs.runCommand "name" {} "script"
<clever> ldlework: that will run the script to produce name
<Dezgeg> kiloreux_, I think that's just a bug in nix-push
<ldlework> to produce name?
<kiloreux_> Much appreciate Dezgeg.
<clever> ldlework: runCommand "Hammerspoon-${version}" {} ''mkdir -pv $out/applications/foo.app
<clever> ldlework: cp -r ${release}/* $out/foo
<clever> '';
<ldlework> hmm ok
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from d8b3a9b to 80d2a86: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 80d2a86 Frederik Rietdijk: python.pkgs: updates
NixOS_GitHub has left #nixos []
elasticdog has joined #nixos
<ldlework> clever https://gist.github.com/dustinlacewell-wk/a0976af57b8f59ee3c33f821609517fb is the emacs package ruining things?!
<ldlework> it seems to set the whole Applications folder to be a symlink to itself?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFkli
<NixOS_GitHub> nixpkgs/master 7ce8483 Frederik Rietdijk: python.pkgs: updates
NixOS_GitHub has left #nixos []
<clever> ldlework: thats just how buildEnv works, let me see
<kiloreux_> How can I install python with `nix-env`. I don't want to use nix-shell neither nix-build? (Looking to use SimpleHTTPServer module from python to test some things) ?
<clever> ldlework: in the case of bin, lib, and share, there are multiple things providing those directories
<clever> ldlework: so buildenv has to make a bin directory, then symlink each item within
<clever> ldlework: but only 1 thing provides Applications, so the whole thing is linked
<ldlework> clever so that means our derivation is just broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vFklQ
<NixOS_GitHub> nixpkgs/staging 8634a2e Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
<ldlework> and not outputting to Applications
<clever> ldlework: check the nix-build output and find the path for hammerspoon, when it re-built it with the new script
<clever> ldlework: and ls that
<ldlework> └── Applications
<ldlework> └── Hammerspoon.app
<ldlework> Hammerspoon.app has all the data too
<ldlework> so the cp worked
<ldlework> Why isn't this build's $out getting merged with the rest of the packages?
<ldlework> I'm adding it to home.packages
<clever> unknown
bennofs has quit [(Ping timeout: 258 seconds)]
<ldlework> rycee eeeeeeeee
<Dezgeg> maybe Applications just isn't in pathsToLink ?
<clever> Dezgeg: then how did the emacs one get symlinked?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #30871: bundler: 1.14.6 -> 1.15.4 (master...bump-bundler) https://git.io/vFk8W
NixOS_GitHub has left #nixos []
<Dezgeg> ah right, mabe emacs just does weird things then
<Dezgeg> or something else, I don't know about home-manager
<clever> yeah
jgertm has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<rycee> ldlework: I'll have a look. Btw. you'll want to be after "linkGeneration", not "linkgeneration"
<ldlework> I see
stepcut has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
dieggsy has joined #nixos
<adamt> Can I make writeText (maybe using writeTextFile?) write a file to e.g. /nix/store/1jq../kea.conf instead of to /nix/store/1jq...-kea.conf?
ssmike has quit [(Ping timeout: 248 seconds)]
<rycee> ldlework: Does `home-manager build` something if you change `home.packages = [ package ];` to `home.packages = [ (lib.traceShowVal package) ];`?
<rycee> adamt: Instead of `writeTextFile` try `writeTextDir`.
<ldlework> rycee trace: x is a derivation, name Hammerspoon-0.9.57, { __ignoreNulls=; __impureHostDeps=; __propagatedImpureHostDeps=; __propagatedSandboxProfile=; __sandboxProfile=; all=; args=; buildCommand=; buildInputs=; builder=; configureFlags=; drvAttrs=; drvPath=; meta=; name=; nativeBuildInputs=; out=; outPath=; outputName=; outputUnspecified=; overrideAttrs=; passAsFile=; passthru=; propagatedBuildInputs=; propagatedNativeBuildInputs=; stdenv=;
<ldlework> system=; type=; userHook= }
<ldlework> lol
<adamt> rycee, i tried that, it seemed like it was creating a directory..?
<ldlework> adamt that's what you're asking for right?
<adamt> (which i - of course - could try writing the config file to, maybe, somehow)
<ldlework> To have a derivation be a folder, containing a file?
<ldlework> Instead of the derivation result being the file itself?
<adamt> ldlework, yeah, i suppose, then i just have to figure out how to write the file to that directory :P
<ldlework> adamt, no writeTextDir writes a file to a directory...
<ldlework> writeTextDir = name: text: writeTextFile {inherit name text; destination = "/${name}";};
<adamt> ah, i was looking at it wrongly before. I just saw the dir, not that there was also a file in it -- thanks. :-)
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ldlework> rycee so the derivation is empty essentially? that's curious.
<rycee> It is quite curious, the hammerspoon stuff should show up in the home-path directory.
ssmike has joined #nixos
<rycee> The buildEnv call doesn't set pathsToLink so it should link all paths.
<rycee> It does limit extraOutputsToInstall.
<rycee> But runCommand should put everything in "out", which the buildEnv will include.
MichaelRaskin has quit [(Ping timeout: 246 seconds)]
<ldlework> rycee using runCommandCC fixed it
<ldlework> (and sourcing $stdenv/setup)
<ldlework> I don't even know what that does, but I figured I'd try it lol
Fannar has joined #nixos
Capprentice has quit [(Ping timeout: 258 seconds)]
<ldlework> hmm nope
<ldlework> the home-manager output had Hammerspoon.app in the Applications folder...
MichaelRaskin has joined #nixos
<rycee> Hmmm
simukis has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<ldlework> ignore the "poop" lol, just an echo statement to change the derivation to get it to build again
Capprentice has joined #nixos
ahstro has joined #nixos
<ahstro> My `$EDITOR` is still `nano`, even after setting `environment.variables = { EDITOR = "nvim" }` and rebuilding. What am I missing?
<ldlework> it failed to create an alias to Hammerspoon because the nix-profile/Applications is still an Emacs symlink
<ldlework> 126:131: execution error: Can’t make file "MacintoshHD:nix:store:qgnj58776a3syzpjn99yiax67hfqa6lk-emacs-with-packages-25.3:Applications:Hammerspoon.app" into type alias. (-1700)
<ldlework> But you can see in the tree output, that Hammerspoon was written to Applications just like Emacs
<ldlework> ahstro check the actual rendered config file
<ldlework> maybe editor is set by something else later
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #30872: systemd: remove udev attributes (master...udev) https://git.io/vFkET
NixOS_GitHub has left #nixos []
<ahstro> ldlework: Where can I find that?
<ldlework> Not sure which config we're talking about
<ldlework> But obviously that environment variable is written somewhere as an export statement
<ldlework> probably a profile somewhere
<ahstro> I came to NixOS like, yesterday, so I don't really know where to look...
JosW has joined #nixos
<ldlework> Its really nothing to do with NixOS, but I think whatever shell you use
<ldlework> Its system level profile script
<ldlework> I'm guessing since I've never used NixOS
<ldlework> Well more like educated guess ;)
<srhb> adamt: Modularized kea already? :)
<MichaelRaskin> ahstro: you rebuilt but did not relogin?
<rycee> ahstro: Did you relog?
<rycee> ldlework: /nix/store/qw8xm364dhgpbynm6q0361i5wqx614fn-home-manager-path seems to look OK?
<ldlework> Yeah, the tree output shows Hammerspoon in the applications
<ahstro> That did it! Thanks MichaelRaskin and rycee
<rycee> Does ~/.nix-profile also have hammerspoon in Applications?
<ldlework> no
<ldlework> its symlinked to emacs
<ldlework> /Users/dustinlacewell/.nix-profile/Applications/ -> /nix/store/qgnj58776a3syzpjn99yiax67hfqa6lk-emacs-with-packages-25.3/Applications
c0bw3b has joined #nixos
MP2E has joined #nixos
<ldlework> rycee ooooo
<ldlework> taking out my activation script fixed it
[0x4A6F] has quit [(Quit: [0x4A6F])]
<ldlework> I think my activation script is happening too soon?
<ldlework> and since it fails, my home directory never gets updated
<ldlework> and so the old profile stays
<rycee> Change linkGeneration to installPackages in the dagAfter
<rycee> installPackages installs the packages in home.packages, linkGeneration links the files in home.file
<rycee> So you want to run it after installPackages.
<rycee> Right, that is correct. The script ran to quickly
<rycee> s/quickly/early/
Lisanna_ has joined #nixos
<c0bw3b> good evening everyone
<ldlework> 🎉 !!!
<ldlework> rycee thank you so much
<rycee> No, problems. Glad we figured it out :-)
<c0bw3b> i wondered: what's the current process to deprecate a package in nixpgs? do we just mark it as broken and wait for some time ?
Lisanna has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> Is it actually broken?
Lisanna has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> I guess putting a comment into the expression is also a good idea (in addition to marking as broken)
<Lisanna> Python has a function called "join", used like ".".join(list) - is there a Nix equivalent of this? I looked through lib/strings.nix and lib/list.nix but couldn't find anything
<Lisanna> (sorry, got disconnected, not sure if prev message sent)
<MichaelRaskin> concatStrigsSep
<MichaelRaskin> concatStringsSep
<Lisanna> where is that?
<Lisanna> Oh, strings
<MichaelRaskin> It is a builtin.
<Lisanna> Oh, even better
<c0bw3b> MichaelRaskin: yes source URL is gone _and_ it's been replaced by another package already in the tree
<c0bw3b> acpi "pmtools" provided 2 commands that are now part of "acpica" (or nixos.iasl)
Lisanna_ has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> Hm. Is it a good idea to drop the package and add an alias?
<adamt> While hacking on my module, nix once in a while ends up building the nixos-manual, among others. Is it possible to disable that temporarily? It takes ages.
<c0bw3b> dropping it seems legit since the source is not available anymore but keeping an alias pointing to the new one is a good idea indeed
<MichaelRaskin> Maybe with a warning.
<MichaelRaskin> Maybe look at aliases.nix.
<c0bw3b> yep thanks, I will prepare a PR soon
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #30874: datefudge: 1.21 => 1.22 (master...datefudge) https://git.io/vFkzW
NixOS_GitHub has left #nixos []
kp__ has joined #nixos
<srhb> adamt: Not short of commenting it out, I believe.
<MichaelRaskin> I think you can disable manual in the system configuration.
<srhb> nixosManual.enable, yes, but that's just the service.
<srhb> (I guess that will do if you're nixos-rebuilding)
<adamt> srhb: Hiya \o/. Do you know where i should go comment it out, then? :-)
<srhb> adamt: Try what MichaelRaskin suggested if you're building with nixos-rebuild :)
<adamt> Ah, I'm a slow typer and reader. Thanks guys.
<rycee> I think services.nixosManual.enable = false should stop the building all together.
<adamt> srhb: I'm updating a nixops managed VM
<srhb> ooo
<srhb> Yeah, makes sense then :)
<srhb> I thought you might be building release.nix
<adamt> Nope, but apparently i'm wasting time building release notes and everything :P
<srhb> Takes a while :P
<work_> michaelpj: sphalerite: Hi, I finally install NixOS Succefully... Now How to get back my other system on my hard drive from the GRUB without having to remove NixOS?
<srhb> work_: https://nixos.org/nixos/options.html#boot.loader.grub.extraentries this perhaps?
<work_> srhb: It shows 4 options, which one do I need to install?
<srhb> work_: Check the documentation for boot.loader.grub.extraEntries
<adamt> work_: That isn't installable packages. That's four different ways of adding extra entries to grub.
<srhb> work_: You'll need to specifically add an entry for your other system..
JosW has quit [(Quit: Konversation terminated!)]
<adamt> work_: Did you by chance backup your old grub configuration before installing Nix? That would make it easier to add it back again.
adc has joined #nixos
<work_> adamt: No I didn't :/
stepcut has joined #nixos
<srhb> work_: You might want to try os-prober then.
<srhb> Though I guess that needs to be run from an installer, really..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #30875: nodejs: 8.8.0 -> 8.8.1 (master...nodejs-8.8.1) https://git.io/vFkgd
NixOS_GitHub has left #nixos []
<srhb> Actually, you can try enabling it in grub directly.
<srhb> boot.loader.grub.useOSProber = true;
<work_> srhb: I currently have Solus on my USB, Will it work?
nixer has quit [(Ping timeout: 260 seconds)]
<srhb> That should append auto detected boot entries from os prober at the end of the grub list.
<srhb> If your other system is still intact at least :)
<adamt> that's really cool if it works.
<srhb> I think it should, if everything is still in place otherwise.
<work_> srhb: So I just need to add in `/etc/nixos/configuration.nix` this line: `boot.loader.grub.useOSProber = true;` right?
<srhb> work_: Yep.
<srhb> And rebuild, of course :)
<work_> srhb: ok, let me try that
<srhb> work_: Do report back :)
<work_> srhb: sure ;)
<ldlework> rycee I've been asked to produce a talk on home-manager and Nix
<srhb> This is all hinging on the other /boot having not been clobbered, I'm not sure exactly what you did (just arrived home)
<rycee> Neat!
<rycee> ldlework: Feel free to ask if you want any clarifications :-)
<work_> srhb: Got this output after rebuild:
<srhb> work_: You can just reboot into them then, with any luck :)
<srhb> The void thingy sounds fun...
<srhb> work_: Any idea what ought to be on sda3?
<adamt> srhb: Void is a Linux distribution
cement has quit [(Ping timeout: 240 seconds)]
<srhb> Oh!
<srhb> Well, that makes a lot more sense then :-P
xelxebar has joined #nixos
tdc has quit [(Ping timeout: 246 seconds)]
<work_> srhb: They are back:)
<work_> srhb: "The void thingy sounds fun..." Sending this msg from it :D
<srhb> Ah, good!
<work_> srhb: That was ScaryEasy
<srhb> work_: Well, glad it worked! You can extract that config and make it static if you want, or just keep osproper on.
<work_> srhb: Shouldn't this be added on the "wiki/manuel" ... unless I missed it.
<srhb> work_: can you double check? It would be nice to PR it if it's missing :)
<work_> srhb: Make it static? Like what? I don't understand well
<srhb> work_: I mean, right now the other boots are auto detected when you rebuild. You may want to simply "hard code" them -- that was the first suggestion here earlier, but you didn't have the definitions. It's also fine to use OS prober, if you prefer. In that case, don't change anything :)
<MichaelRaskin> Most likely it is in NixOS manual. Because option list is autogenerated.
<work_> srhb: It is not mentionned here: https://nixos.org/nixos/manual/ , I just check.
<srhb> MichaelRaskin: It might be worthy of a specific note in the install section though.
<srhb> MichaelRaskin: "If you wish to be able to boot another system ..."
<work_> MichaelRaskin: Yeah defenitely
<MichaelRaskin> Appendix A options does contain useOSProber.
<MichaelRaskin> A note in the install section is probably a good idea.
<MichaelRaskin> I dunno, I don't use that part of NixOS anymore.
ahstro has quit [(Ping timeout: 260 seconds)]
<work_> I think it would be great to add it in `part 11` in `Chapter 2. Installing NixOS` ... something like, "If you have other system in your hard drive... "
Ivanych has quit [(Ping timeout: 248 seconds)]
orivej has joined #nixos
<srhb> work_: Can you perhaps open an issue with your suggestions? I'll be happy to work from that. :)
<work_> okay, from GitHub, right?
<work_> srhb:
<work_> srhb: huuu Do I need to read the gideline too?
<srhb> work_: They're really short :-P
<aristid> I arrived in Munich/Unterföhring for NixCon!
<srhb> work_: But they mostly relate to pull requests.
<aristid> Excited
<srhb> aristid: I jelly. Have fun :-)
<aristid> Thanks!
<work_> srhb: huuu does it have an TL;DR?
<srhb> work_: No, because it's not TL. ;-)
ylwghst has joined #nixos
<aristid> Lol my hotel WiFi is throttled to 500 kbit/s
<work_> srhb: , Okay, filling :)
<infinisil> aristid: I just did too!
<infinisil> aristid: The K?
<aristid> infinisil: yay!
<aristid> infinisil: no, i'm at Hotel Lechnerhof
<Dezgeg> I am at The K
<infinisil> \o/
<aristid> i wonder if i'm the only one who chose this particular hotel :D
<infinisil> Dezgeg: Do you happen to know how to get the wlan to work with wpa_supplicant 😅
<aristid> Dezgeg, infinisil: did you guys arrive in time for the dinner a few people apparently organised? cause my plane landed way too late for that :/
<infinisil> Well i just arrived, and usually people don't eat dinner at 23:30 lol
<aristid> haha, so no
<Dezgeg> I was kinda late for that too
<Dezgeg> I connected with network-manager
<gchristensen> I'm at the leonardo hotel next to the wombat
<infinisil> Damnit, that's the thing that totally broke for me last weeke
<aristid> hi gchristensen !
<gchristensen> hiya :)
<aristid> infinisil: for laptops i think network manager is worthwhile, for better or worse :)
<Dezgeg> I suppose wpa_supplicant isn't needed since it's an unprotected network
Neo-- has quit [(Ping timeout: 255 seconds)]
<adamt> fpletz: I got Kea running finally, with my module. If you aren't in progress of making a module, i'll clean it up and create a PR with it.
<adamt> So I don't think you need to find that systemd unit for me. Have a nice evening. :-)
<infinisil> wpa_supplicant still needs the ssid, and i need to enter the password and login somehow when it connects
hiratara has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> infinisil: dunno, I just edit the config manually, but there is also wpa_cli
ylwghst has quit [(Quit: Lost terminal)]
<adamt> work_: It's probably ok to ping srhb in the issue as well (user @srhb on github).
<work_> adamt: sure,
<work_> adamt: done! :)
hiratara has joined #nixos
ncrashed has quit [(Quit: Leaving.)]
<kiloreux_> I am trying to run python on a nix docker image. But it seems I can only do it with nix-shell.
<kiloreux_> Is there any other way to do it ?
kiloreux_ is now known as kiloreux
voiceftp has quit [(Remote host closed the connection)]
voiceftp has joined #nixos
<michaelpj> work_: glad to hear you got it working :)
<michaelpj> I wonder if we should have os-prober on by default, it seems prety useful
<work_> michaelpj: For noob like me, defenitely :)
c0bw3b has left #nixos []
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #30877: duckmarines: 1.0b => 1.0c (master...duckmarines) https://git.io/vFk6V
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #30878: shotwell: 0.27.0 -> 0.27.1 (master...update/shotwell-0.27.1) https://git.io/vFk6D
NixOS_GitHub has left #nixos []
<work_> First thing I notice is NixOS is very RAM friendly in my -24h experience (XFCE here). Installing package ain't fun though, I sometimes have to logout-login to see the package I installed (Am probably doing it wrong), - Installing package are slow too specially when I add it in `configuration.nix` or Compared to Void Linux.
akaWolf has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> work_: for mere installation of packages you don't need to relogin
<infinisil> Ohhh, there's wpa_supplicant nixos options now :O
<MichaelRaskin> Environment variables are different story.
<michaelpj> if it's the XFCE menu, I think there's a known issue about that not refreshing when you install new stuff
<MichaelRaskin> Ah.
<michaelpj> but things should be on your path etc. immediately
<work_> michaelpj: ah it gotta be that then.
<michaelpj> (possibly https://github.com/NixOS/nixpkgs/issues/23345. I remember being annoyed by this in the past, but I've switched to Plasma now)
nico202 has joined #nixos
simukis has quit [(Ping timeout: 260 seconds)]
voiceftp has quit [(Remote host closed the connection)]
<infinisil> MichaelRaskin: wpa_cli gives me "could not connect to wpa_supplicant"
<michaelpj> work_: I think you can do something like `xfce-panel -r` to restart the xfce panel without having to log out and in again, that usually cleared things up for me
voiceftp has joined #nixos
<MichaelRaskin> infinisil: wpa_supplicant needs to be running, and needs to have the control socket enabled.
<infinisil> Oh and i got the wlan working btw, all i needed was a key_mgmt=NONE for the ssid, then login with firefox
<work_> michaelpj: Ohh I hate Plasma now because of XFCE, am totally addicted now XFCE+Windowck plugin :)
<infinisil> Ah this option: networking.supplicant.<name>.userControlled.enable MichaelRaskin
<work_> michaelpj: Plasma feels soo irresponsive. And the thin icons are really exagerated
frankqux1 has joined #nixos
<MichaelRaskin> infinisil: yeah, I think more in terms of wpa_supplicant.conf, I use only parts of NixOS. For wpa_supplicant it is just easier to write the file by hand.
<work_> MichaelRaskin: You're on Plasma?
<MichaelRaskin> Nope. Nope. Nope.
<MichaelRaskin> I use StumpWM, and I think it has the right amount of window decoration.
<nico202> hi guys, I'm trying to setup hydra under NixOS, but there's a problem. Every link redirects to localhost:3000 instead of hydraURL
<michaelpj> idk, it used to be slow and ugly, but even on my old machine it's just as fast as XFCE and quite a bit prettier
<fpletz> adamt: awesome, please do open a PR!
<MichaelRaskin> I find most of such prettiness net negative.
<MichaelRaskin> It always ends up like with the iOS calculator, sooner or later.
frankqux2 has quit [(Ping timeout: 248 seconds)]
<michaelpj> de gustibus non est disputandum :)
<fpletz> adamt: for reference, this is the hacky code I'm using: https://github.com/freifunkMUC/infra/blob/master/hosts/isartor.nix#L418
<infinisil> While this is really wasteful, I really like running my live wallpaper
<fpletz> adamt: very much looking forward to a real module! thanks!
<MichaelRaskin> infinisil: but do you ever see the desktop background??
<MichaelRaskin> (I do run XScreenSaver with hacks enabled)
<infinisil> That's what the tranparent windows are for
<infinisil> :D
<MichaelRaskin> Well, I run compton anyway. But transparency lowers text contrast!
<infinisil> Sometimes I turn it off when it gets annoying for some tasks (just added a hotkey for that a few days ago), but mostly i have transparency on, makes the experience so much better in general imo :)
<adamt> fpletz: Thanks, i'll look into it. Do you plan on upgradring Kea to 1.3 anytime soon? The config was split into more files, so it probably makes most sense to just target the new format in the module.
<mitchty> out of curiosity, i'm running nix on osx but just updated to the latest staging commit and hit this
<mitchty> error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /Users/me/src/github.com/NixOS/nixpkgs/staging/pkgs/os-specific/linux/bcc/default.nix:29:28
<disasm> I use transparency too, but have tiled/full screen i3 windows transparent to the rear background instead of interim windows. then set enough shading it isn't annoying
<fpletz> adamt: makes sense, do you want to upgrade it? I'll probably won't have time for another week due to nixcon but can review and test your module
<mitchty> it looks like the read function has a $ in the string used, if I switch it to $$ all is well, I can't be the first to hit this I'd hope, did something change recently how nix evaluates things?
hiratara has quit [(Quit: ZNC - http://znc.in)]
<adamt> fpletz: I'm not sure how much I have myself in the coming week, but it would be fun getting my feet even more wet and update the pkg myself. Shouldn't be too difficult.
<orivej> mitchty: you must have an old nix, see https://github.com/NixOS/nixpkgs/issues/30834
hiratara has joined #nixos
<mitchty> looks like it 1.11.9, its supposed to be auto updating but apparently not
<orivej> mitchty: do you mean that `nix-env -u` does not update nix?
<mitchty> orivej: not exactly, whatever i'm (apparently not) doing to update is wrong
<mitchty> i'll figure it out
<mitchty> thanks
kiloreux has quit [(Remote host closed the connection)]
griff_ has joined #nixos
<infinisil> disasm: I don't get what you mean by rear background and interim windows
iqubic has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
<nico202> anyone? I'd really like to start using hydra
<infinisil> Oh my god, damnit
<infinisil> I forgot the transition power outlet thing..
<iqubic> infinisil: Why is that an issue?
<infinisil> Because power outlets are different in every country
<infinisil> I can't charge my stuff here without a converter
jb551 has joined #nixos
<iqubic> How long are you there?
<infinisil> Over the weekend, NixCon :D
jb55 has quit [(Ping timeout: 255 seconds)]
<iqubic> Oh, that really sucks.
<infinisil> No nixcon is awesome
<infinisil> heh
<iqubic> Can you borrow someone else's power plug converter thing?
<infinisil> yeah I'll manage somehow
<iqubic> But you don't have a charger for your stuff.
<infinisil> Gotta sleep for now though
<iqubic> Are the talks livestreamed?
<infinisil> Yup
<iqubic> Where?
<infinisil> probably
<infinisil> See ya!
<iqubic> Streams offline now.
<gchristensen> I should hope so, its 1am!
<gchristensen> (also: jfc its 1am, I need to go sleep)
<iqubic> Where is the convention.
<gchristensen> munich
<iqubic> It's 4PM here.
<iqubic> Might catch some of the talks later.
<nico202> https://svn.nixos.org/repos/nix/nixpkgs/trunk : the ssl certificate is only issued to nixos.org
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] iblech opened pull request #30879: sshlatex: init at 0.7 (master...sshlatex) https://git.io/vFkMT
NixOS_GitHub has left #nixos []
<gchristensen> nico202: how did you find _that_ link?
<nico202> gchristensen: on the manual
<gchristensen> oh the hydra manual ... nixos hasn't used svn in $someyears
<gchristensen> hydra's manual uses it purely as an example
<gchristensen> (but it shouldn't)
<gchristensen> would you mind opening an issue about it here? http://github.com/nixos/hydra
<nico202> gchristensen: yes I'm setting it to github
<nico202> gchristensen: yep
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
ylwghst has joined #nixos
<nico202> gchristensen: I tagged you on the issue (#515). Thanks
<infinisil> gchristensen: sleepy time!
Fannar has quit [(Quit: leaving)]
<nico202> good night guys
nico202 has quit [(Quit: Leaving)]
<iqubic> Night.
<gchristensen> thank you NickHu
<gchristensen> erm. ..nico202... :) sorry NickHu
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #30880: nixUnstable: rename to nix-unstable (staging...nix-unstable) https://git.io/vFkDn
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 240 seconds)]
schell has quit [(Quit: schell)]
digitus has quit [(Quit: digitus)]
kp__ has quit [(Quit: WeeChat 1.9.1)]
kp__ has joined #nixos
betaboon has quit [(Quit: WeeChat 1.9.1)]
markus1199 has joined #nixos
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli closed pull request #30871: bundler: 1.14.6 -> 1.15.4 (master...bump-bundler) https://git.io/vFk8W
NixOS_GitHub has left #nixos []
digitus has joined #nixos
digitus has quit [(Client Quit)]
markus1189 has quit [(Ping timeout: 248 seconds)]
erasmas has quit [(Quit: leaving)]
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #30881: bundler: 1.14.6 -> 1.15.4 (staging...bump-bundler) https://git.io/vFkyD
NixOS_GitHub has left #nixos []
rogue_koder has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
Ralith__ has joined #nixos
Ralith_ has quit [(Ping timeout: 252 seconds)]
jb551 has quit [(Ping timeout: 240 seconds)]
iqubic has quit [(Ping timeout: 252 seconds)]