gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/adaa9d93488 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<nineteeneightd> I had to do a little trickery to mount the original ISO under OS X to extract the bzImage and initrd, but I'm pretty sure I'm using the unaltered ISO I downloaded from nixos.org.
<clever> nineteeneightd: it sounds like its not able to access its own iso when booting
<clever> that image is also an MBR disk image, so you can just tell hyperkit that its a hdd img and it should boot without any extraction
<Dezgeg> correct args to the iso look more like init=/nix/store/m4y072w8jc9ljdgd319sv33ff4gsx9fl-nixos-system-nixos-17.09.3129.1dcd022f01b/init root=LABEL=NIXOS_ISO boot.shell_on_fail loglevel=4
<clever> the full args should be in a config in the image
<nineteeneightd> Ok, let me give all that a shot.
<Dezgeg> yeah, e.g. loader/entries/nixos-iso.conf for the EFI loader
<nineteeneightd> Sweet, I'm in. Thanks!
Myrl-saki has quit [Ping timeout: 240 seconds]
<kerrhau-> does anybody know where i'd set "QT_XKB_CONFIG_ROOT", I've an app that looks for xkb in /usr/share/X11/xkb, but obviously that doesn't exist so where would it be?
acarrico has quit [Ping timeout: 264 seconds]
<infinisil> kerrhau-: Set services.xserver.exportConfiguration = true; then it's in /etc/X11/xkb
<infinisil> kerrhau-: But if you're packaging something you probably don't want do do that
Czen has quit [Ping timeout: 240 seconds]
Myrl-saki has joined #nixos
<Myrl-saki> Holy wow. `neovim` kills the *tmux server* what the hell
<Myrl-saki> Can anyone repro?
<Myrl-saki> FWIW, neovim seems okay.
<infinisil> kerrhau-: Ah it's in `xlibs.xkeyboardconfig
<kerrhau-> Myrl-saki: works fine here
<Myrl-saki> release-18.03?
<Myrl-saki> I forgot to say that.
<infinisil> kerrhau-: So ${pkgs.xlibs.xkeyboardconfig}/share/X11/xkb
kerrhau- is now known as kerrhau
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<Myrl-saki> I disabled neovim for the meantime.
Czen has joined #nixos
<Myrl-saki> It kills all my tmux instances, so I cannot risk having it lol
<kerrhau> infinisil: is pkgs.xlibs.xkeyboardconfig an environment variable?
<Myrl-saki> I was going to record it unti I realized that doing it would kill my weechat connection lol
<infinisil> kerrhau: no that's a nix expression, intended to be used with nix-build or so
<kerrhau> ah
<infinisil> Myrl-saki: Use an irc bouncer!
<{^_^}> [nixpkgs] @mkaito opened pull request #37897 → Tarsnap: add symlink options and a restore service → https://git.io/vxugq
sigmundv_ has quit [Ping timeout: 240 seconds]
<Myrl-saki> infinisil: Too lazy.
<Myrl-saki> infinisil: Okay, that was a stupid reply from me.
<infinisil> How so? I am probably at least as lazy as you are :)
<Myrl-saki> infinisil: What I meant to say was that I don't like how bouncers work. I prefer client-on-ssh
<infinisil> Ah
tomberek has joined #nixos
<Myrl-saki> infinisil: Bouncers are too "artifacty"
<infinisil> Myrl-saki: What do you not like about them?
<Myrl-saki> infinisil: For example, timestamps don't work properly.
<infinisil> They don't?
<infinisil> Works just fine for me
<Myrl-saki> infinisil: Because IRC (the protocol) does not define timestamps.
<Myrl-saki> infinisil: Bottom-line. Bouncer messages are not like real messages.
<infinisil> Hmm.. not sure what you mean, why would that only affect bouncers?
<Myrl-saki> infinisil: Do you have a client-side plugin for your bouncer?
<infinisil> It just relays whatever it got from the server
<clever> Myrl-saki: i just ssh into a system where i leave irssi running in a screen session
<Myrl-saki> clever: That's also what I do.
<Myrl-saki> Well, did.
<clever> because the irc client is never closed, the timestamps are intact
yorick has quit [Ping timeout: 252 seconds]
<Myrl-saki> That made me data-hoard, so I stopped that lol.
<infinisil> Myrl-saki: I don't, it's just weechat, but it does have some znc specific capabilities enabled
<clever> $ du -h ~/irclogs/
<clever> 3.9G /home/clever/irclogs/
<infinisil> But it works just fine without them
<Myrl-saki> I had some weird attachments to my IRC messages that I was so sad about losing my DO instance...
joepie91 has quit [Ping timeout: 256 seconds]
<clever> Myrl-saki: all of mine are on a local machine
<Myrl-saki> infinisil: Ah, I think that's why. I was using irssi<->ZNC back then.
<infinisil> bouncer is also really useful for being able to access on phone
<infinisil> and to receive messages when you're not there of course
<Myrl-saki> clever: https://imgur.com/lw8xX0L
<infinisil> and many other things
<Myrl-saki> clever: It's a "compound" program. Tmux on my desktop, and it connects to my router, which runs suckless ii.
<Myrl-saki> clever: Pretty cool, huh? :)
<clever> Myrl-saki: ah, i'm just abusing the crap out of an aging gentoo machine
<clever> Myrl-saki: it was last upgraded around 2014, lol
<Myrl-saki> clever: That's the best case scenario, but my parents wouldn't allow that due to additional electricity costs. :P
srdqty has quit [Ping timeout: 264 seconds]
<clever> Myrl-saki: i have 4 computers running 24/7 in my house
<clever> Myrl-saki: and the desktop+laptop draw enough watts to sometimes trip the overload warning on the UPS
<infinisil> clever: Whoa..
<infinisil> Why 4??
<clever> the desktop alone can sometimes trip the warning just from high cpu usage
joepie91 has joined #nixos
joepie91 has quit [Changing host]
joepie91 has joined #nixos
<Myrl-saki> clever: I should get a UPS one day.
<clever> infinisil: wait, 5
<infinisil> I know one of them is your router
<clever> infinisil: #1 is the "router", a 2U server with 3 gigabit ports
<clever> #2 is the nas, nixos, 5 drives, zfs
srdqty has joined #nixos
<clever> #3 is the old gentoo "server", it only runs an apache and irssi now
<clever> #4 is the primary nixos desktop
<clever> #5 is the nixos laptop
<infinisil> Alright, but couldn't the NAS be combined with the router?
kmicklas has quit [Ping timeout: 260 seconds]
<clever> #4 has 3 monitors, and #5 is beside it, and synergy joins them up, so it behaves like a 4-monitor setup
<clever> infinisil: i setup the router before i had the NAS, and it only has a single ethernet port right now
<Myrl-saki> clever: Also, if you're into more hardware funsies, that was a router with 16MB of RAM, half of which was dedicated to a tmpfs. I had to do qemu-binfmt-chroot to cross compile as it was a MIPS system.
<infinisil> I plan on setting up a router myself too
<clever> Myrl-saki: fun, i started linux with a 64mb P1? running redhat9
<clever> infinisil: #nixos-on-your-router
<infinisil> Yeah \o/
<infinisil> Nice, bookmarked
<Myrl-saki> clever: I'm way too young. My first computer was a 2GB P4, but I had to use that from 2003 to 2013 or so.
<kerrhau> infinisil: well, setting QT_XKB_CONFIG_ROOT to /etc/X11/xkb didnt work (after enabling services.xserver.exportConfiguration)
<infinisil> clever: I may also do some stuff to combine 2 internet connections, plus adding vpn to all of that (because ISP seems to do some weird things), and some smart tc rules to be able to use the full bandwidth but not block interactive things
<kerrhau> i should probably clarify that im not trying to package it (as it's already in nixpkgs)
<infinisil> Oh I just had a super nice idea for nixos
<clever> infinisil: i used to use tc, back when my router ran LFS and i only had 600kbyte/sec down
<clever> now i have 300mbit down and i cant max it out, lol
<infinisil> clever: Hah lucky, I'm on about an unstable 20-40MBit/s for one connection and a stable 10Mbit/s for another
<infinisil> High ping for the first one and low ping for the second
<infinisil> Wanna combine them smartly somehow
* Myrl-saki stares with my 5Mb/s
<clever> infinisil: iptables has a way to load-balance with some weights, and then bind each connection to a given interface
nek0 has joined #nixos
<clever> infinisil: but the problem is that half your facebook http connections tie up one uplink, keeping it "busy" with idle connections, then all your high bandwidth stuff is stuck on the 2nd modem
<infinisil> clever: Yeah, tc can also do a lot in that direction, especially when everything goes to a single server (my vpn) on the other end
<clever> and tcp connections cant change uplink
<infinisil> and that prevents these issues
<clever> though if you aggregate 2 links with a vpn, you can bypass that
<infinisil> Alright now my idea..
<infinisil> How about having an option `system.pathsToBackup` onto which each module that adds a stateful directory adds an entry, so that in the end you can just read that option to know what things you need to backup
* infinisil puts it on his todo list
<clever> infinisil: also look into tarsnap
<infinisil> Yeah i know it's a backup tool, this option could then be used by multiple backup backends
throwup has joined #nixos
nineteeneightd has quit [Ping timeout: 260 seconds]
pareidolia has quit [Ping timeout: 268 seconds]
<throwup> hey, I know this probably isn't the right place to ask for this, but i need some help: I accidentally deleted my .config/gtk-2.0 folder (defaults only) and now lots of gtk2 apps seem to be broken. Is there a way to "restore" the default config?
<clever> throwup: have you rebooted yet?
<throwup> yes, why?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
pareidolia has joined #nixos
thc202 has quit [Ping timeout: 264 seconds]
acarrico has joined #nixos
srdqty has quit [Ping timeout: 246 seconds]
michas_ has quit [Ping timeout: 276 seconds]
<elvishjerricco> clever: Is that issue with store paths being held entirely in memory during `nix copy` tracked on github?
srdqty has joined #nixos
xcmw has joined #nixos
<throwup> does anyone here know how I could fix my problem?
yyadavalli has joined #nixos
<yyadavalli> Hi, I'm having trouble with applications installed with nix not finding the right fonts
<yyadavalli> I'm using nix 2.0 installed on Arch Linux
<yyadavalli> I've tried installing nerdfonts with nix, as well as from AUR, in either case emacs (installed using nix) is not able to find the font.
<yyadavalli> Can someone please help
justanotheruser has joined #nixos
<clever> elvishjerricco: not sure
<clever> throwup: i would expect the desktop env to replace that on login
<clever> throwup: since it doesnt exist for newly created users
justanotheruser has quit [Client Quit]
<throwup> clever: well, I use a standalone wm, so...
justanotheruser has joined #nixos
<throwup> clever: but I think i misinterpreted some of the errors I was getting, I should just be able to fix it on my own
aarvar has quit [Ping timeout: 276 seconds]
plakband has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « redis-desktop-manager: 0.9.0-alpha5 -> 0.9.1 »: https://git.io/vxuVF
alhariel has quit [Ping timeout: 264 seconds]
n0qqe has joined #nixos
liny01 has quit [Ping timeout: 264 seconds]
<plakband> The hackage libary I'm trying to use seems to not be available on nixpkgs yet (even though hackage says it is, but the link 404s), is there a way to explicitly tell nix to download it from hackage in my shell.nix, like stack's build-depends?
krey has joined #nixos
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #37899 → qt5: Drop qt-5.9 → https://git.io/vxuwl
noqqe has quit [Ping timeout: 256 seconds]
n0qqe is now known as noqqe
alhariel has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #37900 → documentation-highlighter: init → https://git.io/vxuwE
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
freeman42x]NixOS has quit [Ping timeout: 276 seconds]
deepfire has joined #nixos
mounty has quit [Read error: Connection reset by peer]
liny01 has joined #nixos
markus1189 has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> I just went through with what I've been planning for a year: I finally named my computer.
<adisbladis[m]> boomshroom: Congrats :) Did you also baptize it?
<boomshroom> adisbladis[m]: As a non-religious person, I'd didn't go that far.
markus1199 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #37900 → documentation-highlighter: init → https://git.io/vxuwE
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vxur8
<{^_^}> → a8d08b04 by @grahamc: documentation-highlighter: init
<adisbladis[m]> boomshroom: You could do it FSM-style and use pasta water or something :)
<{^_^}> → 378e05c6 by @grahamc: Merge pull request #37900 from grahamc/documentation-highlighter
<boomshroom> I've had this machine for several years and it's just been named "desktop" or after the distro to disambiguate multiboot partitions: previously it was ${my_name}_nixos
<{^_^}> [nixpkgs] @grahamc pushed to release-18.03 « documentation-highlighter: init »: https://git.io/vxurz
throwup has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @grahamc opened pull request #37901 → nixpkgs docs: syntax highlight → https://git.io/vxuoe
arkad has joined #nixos
<arkad> anyone know how to get a headset mic to work in nixos?
<arkad> using normal audio plug jack earphones
throwup has joined #nixos
<arkad> audio works great but microphone does not work with a generic install of nixos
<arkad> im trying to do this witout enabling pulse audio
<infinisil> Why?
<infinisil> Pulseaudio was pretty much made for this
plakband has quit [Quit: leaving]
<arkad> because pulseaudio doesnt stay running when switching between TTY and xserver
<arkad> atleast for me, when I start playing sound in xserver using pulseaudio, the sound is cut off when switching to TTY. This doesnt happen when using alsa
<kandinski> how can I get at the .epub version of the nix, nixpkgs and nixos manuals?
<arkad> alsa is just much easier to use than pulse in my opinion. does alsa have issues with microphones?
<Myrl-saki> myrl@myrl:~$ wine --version
<Myrl-saki> wine-3.3
<Myrl-saki> feels good
<arkad> plus, alsa seems to work better when running multiple apps. Using pulse audio I get some apps with audio and some with no audio. With alsa this is never a problem.
<arkad> pulse sucks
<arkad> someone needs to fix that junk
<arkad> alsa rocks
<arkad> but my mic doesnt work in alsa and I'm trying to figure out why
<arkad> any suggestions?
<arkad> pulse is a pita is why I dont want to use it
<infinisil> arkad: pulsaudio actually uses alsa, it's like a higher level interface
srjek_ has quit [Ping timeout: 276 seconds]
<arkad> but I will figure it out thanks anyways
<Myrl-saki> infinisil: If pulseaudio works anyway.
* Myrl-saki smugs
<arkad> the problem is it doesnt work
<infinisil> arkad: and you can get pulseaudio to work on tty by enabling the systemWide pulseaudio option
<arkad> ok thanks infinisil let me try that right now
<Myrl-saki> arkad: Do you have pa on rn?
<arkad> i appreciate the help
<arkad> @Myrl - I dont understand
<Myrl-saki> arkad: Because I'm pretty sure, like 10% sure that it's because your mic source is wrong.
<infinisil> Myrl-saki: has never failed for me, and there's a ton of modules for it
<Myrl-saki> arkad: pa -> pulseaudio
<arkad> oh good point myrl
<arkad> let me try switching the jack around
<Myrl-saki> arkad: On startup, my NixOS mic source is Line, but I don't even have any digital mic.
<hodapp> stupid question, because I always forget and have no idea how to search a question like this: how would I override pkgs.mxnet in https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/python-packages.nix#L2758 ?
<hodapp> I guess I could just copy the derivation and modify it myself but is there a "proper" way?
<arkad> whats line?
<hodapp> 2758 like I linked
<hodapp> oh nevermind
<hodapp> not me :P
Hackapepper has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
<Hackapepper> Hello, I'm trying to compile nix for another platform by using nix itself, but it has just failed. I'm totally new to nix so I'd be glad to receive some help. The output of my compilation is here: https://pastebin.com/LVwQg1tC
<Hackapepper> the specific suspicious bit is: running test tests/linux-sandbox.sh... [FAIL] error: while setting up the build environment: getting attributes of path '/nix/store': No such file or directory
<Hackapepper> I gave it a custom nix directory (as per my use case I need it, as I'm building it for another platform where I don't have root, so I can't write under /, just on the /home/user folder)
blonkhart has joined #nixos
<boomshroom> Hackapepper: If you're building with nix, I'd recomend not setting any environment variables and just building a nix installation that uses the alternate store and then use that nix to build a system tarball that you can copy over.
<arkad>
arkad has quit [Quit: WeeChat 2.0]
<hyper_ch> good morning folks
<boomshroom> hyper_ch: Good evening to you from across the sea!
<hodapp> morning
<hyper_ch> boomshroom: accross which sea?
<hodapp> bleh. is https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/python-packages.nix#L2758 the sort of thing overrideAttrs is for if I'm trying to use a custom pkgs.mxnet?
<boomshroom> hyper_ch: Well If you were on the americas it would nearly be midnight, so I know you live somewhere in Afro-eurasia.
<Hackapepper> boomshroom: The build line you can see in the pastebin was obtained with the help of some good folks from here. I don't really know what's the best way to approach what I want to do... cause it's the first time I work with nix. So when you say use the alternate store, I don't really know what you mean sorry
<hyper_ch> boomshroom: currently in Phili
<hyper_ch> and its way too hot here :)
<boomshroom> Hackapepper: Try just this without the environment setting: `nix-build -E 'with import <nixpkgs> {}; pkgsi686Linux.nix.override { storeDir = "'$TARGET_MACHINE_HOME'/nix/store"; stateDir = "'$TARGET_MACHINE_HOME'/nix/var"; confDir = "'$TARGET_MACHINE_HOME'/nix/etc"; }'`
<hodapp> and for some reason, pkgs.python36Packages.overrideAttrs (oldAttrs: rec { pkgs.mxnet = pkgs.mxnet; }); (not even overriding it, just testing) just gives "error: cannot coerce a set to a string"
<hodapp> it perplexes me a bit that redefining it to exactly the same thing would cause an error
<boomshroom> Hackapepper: Quick question, is the target really a 32 bit linux machine?\
<Hackapepper> boomshroom: yes it is, 32bit custom Gentoo 8 years old with no root access
<boomshroom> Hackapepper: Just making sure. Knowing the platform in question can greatly facilite debugging.
<Hackapepper> boomshroom: nix seems my best bet to get modern SW to build & run on it without the hell of manually (cross)compiling everything (which I've already done but its impossible to maintain)
orivej has joined #nixos
<boomshroom> Hackapepper: Nix can feel like magic at times. At other times it fails in mysterious ways.
<Hackapepper> boomshroom: ok I'l try without the environment setting, but, I should leave NIX_REMOTE=local?root=$BUILD_PATH/rootfs/ right?
<Hackapepper> otherwise where is it gonna build it?
<boomshroom> Hackapepper: If you've already been using Nix just fine for other purposes, than it shouldn't be nessisary. I've never had to manually set NIX_REMOTE once.
<Hackapepper> boomshroom: I've never used nix, this is my first try ever
jrolfs has joined #nixos
<boomshroom> Hackapepper: Well in that case: run `nix-shell -p hello --run hello` just to see if that works.
<hodapp> or... should I be using an overlay or packageOverrides here...
<Hackapepper> boomshroom: yup, that worked
<boomshroom> Are you running nix right now on the rootless sytem? Or are you using another system to bootstrap?
<Hackapepper> another system to bootstrap
<Hackapepper> to actually be able to run nix in the rootless system
<boomshroom> Hackapepper: That simplifies things. In this case, it should be safe to leave off the NIX_REMOTE.
<Hackapepper> I tried to compile nix from source in the rootless platform but it fails on the very first step
<Hackapepper> and everyone agreed that the way is bootstrapping
<coconnor> boomshroom: wait.. what's the computer's name? I missed that part
<boomshroom> Hackapepper: I tried that myself and was able to get it working after manually installing the dependencies.
<boomshroom> coconnor: vanessa. I'm not sure wether or not to capitalise it.
<Hackapepper> boomshroom: I have all the dependencies but it fails anyways, but really, the system is a mess, it's not worth the effort to try to compile in it
<Hackapepper> boomshroom: can you double check my command looks good? https://gist.github.com/awesomebytes/30b2d27957c25413219d7890a09083a2
<Hackapepper> also, should I delete my previous rootfs folder and start from scratch?
<Hackapepper> it has 2GB of already compiled stuff, it feels a bit sad haha
<Hackapepper> I'll do a backup and give a try to execute it on the same rootfs
<boomshroom> Hackapepper: Are you on NixOS, or are you on a different system and used the script installer?
<Hackapepper> boomshroom: Ubuntu 16.04, used the script installer
jrolfs has quit [Ping timeout: 276 seconds]
<boomshroom> Hackapepper: In that case, you're probably on a single user installation. The nix-build man page states that unless you're using the daemon in a multi-user installation, NIX_REMOTE should be unset.
<hodapp> ugh, I'll just copy the derivation and edit it because nothing of override, overrideAttrs, packageOverrides, or overlays is making any sense
<Hackapepper> ok, then I go back to my previous question, where is it gonna build the nix system I'm asking it to build? In the end I'll need to tar.gz that and extract it in my goal platform, right??
<Hackapepper> sorry about the double question mark
<boomshroom> Hackapepper: For now, I'd recommend building a nix version with the alternate store to use locally and use that to build the tarball. It will make dealing with the dependencies easier. You not only want a nix with the alternate store, but one _in_ the alternate store.
<boomshroom> If you just do a nix-build like in the pastebin, the output will be put in a symlink called 'result' in your current directory. That would then have a bin folder with the various executables.
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxu6G
<{^_^}> → 970f2b50 by @matthewbauer: Revert "justStaticExecutables: enable -dead_strip on mac to shrink closure"
<{^_^}> → 799e8c57 by @matthewbauer: Revert "shellcheck: dont statically compile"
<kandinski> how can I get at the .epub version of the nix, nixpkgs and nixos manuals?
<Hackapepper> boomshroom: I'm a bit confused by your last sentence: You not only want a nix with the alternate store, but one _in_ the alternate store. Should I just execute the gist script and wait? _if_ that finishes correctly, whats the next step? Executing the same thing again from the nix build in that result folder?
<boomshroom> I'll show a somewhat different derivation for that since it's a little tricky if you don't what functions to call. Just run the gist without NIX_REMOTE.
<Hackapepper> ok, running it without NIX_REMOTE
<Hackapepper> boomshroom: oh wow, that was quick, that command finished, and I have the symlink result folder
Myrl-saki has quit [Ping timeout: 256 seconds]
<Hackapepper> boomshroom: with the binaries being 32bit (the building machine is 64b)
<boomshroom> Hackapepper: That might make the next step less efficient, but it's not that important. We won't be using that binary for long.
taktoa has quit [Read error: Connection reset by peer]
<coconnor> in what package is readelf?
orivej_ has joined #nixos
<boomshroom> coconnor: binutils-unwrapped
orivej has quit [Ping timeout: 268 seconds]
<boomshroom> Hackapepper: I haven't done this with an alternate root, so I have no idea if this will work, but download https://gist.github.com/boomshroom/53270c80a69fd0a98c3aed953536f550 and run it with result/nix-build
tomberek has quit [Ping timeout: 260 seconds]
<boomshroom> Hackapepper: You can try copying it into a terminal, but it would be easier to download and run `./result/bin/nix-build rootlessnix.nix`
<boomshroom> kandinski: For nixpkgs, there's a makefile in the doc folder that can output an epub from the looks of it.
<boomshroom> kandinski: Similarly, there's a nix derivation with a manualEpub attribute in nixos/doc/manual in the same repo.
<Hackapepper> boomshroom: got your file, I'm adding flags to use better the computer I'm running this in (a server with 12 cores), so its: ./result/bin/nix-build rootlessnix.nix -j 10 --cores 10
<coconnor> boomshroom: thanks!
<Hackapepper> boomshroom: hehe error: creating directory '/home/nao': Permission denied I'll create the folder in the server, but that's kinda ugly :P
<boomshroom> Hackapepper: I have my jobs set globally and if you plan on using Nix on your current machine more, I'd recommend doing the same.
<kandinski> boomshroom: thanks
<Hackapepper> boomshroom: whenever I have nix bootstrapped the rest of the work will be run in a VM with the OS of my ancient platform
<Hackapepper> boomshroom: so I'm not really using this machine (its a buildfarm machine)
johnw has quit [Ping timeout: 276 seconds]
<Hackapepper> boomshroom: error: syntax error, unexpected DOLLAR_CURLY, expecting ';', at /home/magiclab/rootlessnix.nix:11:51 :P
throwup has quit [Ping timeout: 264 seconds]
<Hackapepper> boomshroom: I guess - ""${targetHome}/nix" - should have one less double quote
<boomshroom> Hackapepper: Bingo.
<Hackapepper> boomshroom: error: value is a function while a set was expected
<Hackapepper> boomshroom: ok, this one I don't know
<Lisanna> how do I enforce requiredSystemFeatures for local builds?
<boomshroom> Hackapepper: To the manual!
<Lisanna> I don't see how I can specify what supportedFeatures my local machine has
<Lisanna> it only seems to be available for remote building, and I don't see a way to force remote building in that case
<boomshroom> Lisanna: I think that has something to do with your machine knowing what it has, but can't tell what others have. Don't quote me though.
<Lisanna> boomshroom huh?
<Lisanna> how could my machine know what it has? I'd have to tell it somewhere
srdqty has quit [Ping timeout: 256 seconds]
srdqty has joined #nixos
<boomshroom> Lisanna: I think that has something to do with your machine knowing what it has, but can't tell what others have. Don't quote me though. Intel x86 has a register called cpuid that encodes various capabilities your computer has. Odds are the CPU knows better than you what the CPU can do.
<boomshroom> Lisanna: For something like kvm, the kernel keeps track of that kind of stuff and can probe the CPU itself for info on what it supports.
<boomshroom> Sorry, I hit up when I didn't mean to.
<Lisanna> boomshroom I don't think that's true. supportedFeatures isn't about the hardware capabilities so much as it's about your preference about what machines should be used for what
<Lisanna> e.g., "big-parallel"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37800 → gnustep.gui: 0.25.0 -> 0.26.2 → https://git.io/vx0UJ
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « gnustep.gui: 0.25.0 -> 0.26.2 »: https://git.io/vxuiA
<Lisanna> For example, my local machine has kvm support, but I don't want any kvm builds to happen on my local machine
<Lisanna> so, I would like to have "kvm" be omitted from my local machine's theoretical list of supportedFeatures
<boomshroom> Lisanna: I don't actually know how to disable building on the local machine. What I did was spoof the local system into claiming it was something that it wasn't.
<boomshroom> Lisanna: Is there any particular reason for you to hide KVM's existance from Nix?
<Lisanna> boomshroom actually, that sounds like it would be a workable hack - if there was some way to disable building on the local machine, I could force it to go through the remote builder, which will enforce that.
<Hackapepper> boomshroom: I made two changes that "make it run" but I have no clue what I'm doing, really. https://gist.github.com/awesomebytes/20c81f7ef31a7fcc4d1426ebf19a7fc9 take a look, added {} after import <nixpkgs> and then changed nixStable2 to nix
<Lisanna> boomshroom in this particular case, I run other processes on my local machine that cannot be run at the same time as a KVM app
<Lisanna> and if both are run at the same time, they start crashing
<Lisanna> VT-x exclusivity and all
srdqty1 has joined #nixos
<boomshroom> Hackapepper: :facepalm: that would fix it. I swapped nix for nixStable2 (or nixUnstable) because in general, I'd recomend using Nix 2.0. Nix 1.x works fine though.
<Hackapepper> boomshroom: Well... it doesn't run, error: https://pastebin.com/dSKCCGBs
<Hackapepper> "/home/nao/nix/store/7ldam5vbzm3icymvnp28k6znnkr0mfvy-bootstrap-stage1-stdenv-linux/setup: line 923: 20068 Bad system call (core dumped) $configureScript "${flagsArray[@]}""
<Lisanna> ugh, I wish there was documentation on the --builders flag
srdqty has quit [Ping timeout: 240 seconds]
<boomshroom> Hackapepper: huh. Maybe redo the first command to build the local bootstrap, but make it use the local architecture?
<Hackapepper> boomshroom: ok, so do first "NIX_REMOTE=local?root=$BUILD_PATH/rootfs/ \ nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "'$TARGET_MACHINE_HOME'/nix/store"; stateDir = "'$TARGET_MACHINE_HOME'/nix/var"; confDir = "'$TARGET_MACHINE_HOME'/nix/etc"; }' -j 10 --cores 10"
<Hackapepper> (note the NIX_REMOTE is there and I'm using nix.override instead of pkgsi686Linux.nix.override)
<boomshroom> Lisanna: I'm not sure of --builders, but I have used ~/.config/nix/machines.
marusich has joined #nixos
<boomshroom> Hackapepper: I still don't think NIX_REMOTE is nessisary. If this still doesn't work, try with it set.
<Lisanna> boomshroom I mean, I know --builders has a hack where you can pass '' to it and that will force local builds, I'm just wondering if there's a way to force it to do a remote build
<Hackapepper> boomshroom: ok, without NIX_REMOTE then, and just normal nix, no 32bit stuff
<boomshroom> Lisanna: Do your local and remote machines have different architectures?
<Lisanna> boomshroom no, although that would be useful
<Lisanna> (to solve this particular problem)
<boomshroom> Hackapepper: Yes. the file I gave should be the same in the next step though.
<boomshroom> Lisanna: Then I'm not sure. I was working on an Arm7 machine and told it that it was actually an x86_64 machine cross compiling for arm7. Since it couldn't actually run x86_64 builds, it would defer to my desktop. That said, I ran into problems when my desktop (now known as vanessa) tried running the arm executables.
<Hackapepper> boomshroom: that comamnd finished, going for the second one with your gist (but modified for nix instead of nixStable2)
LER0ever_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<boomshroom> Hackapepper: OK.
<Hackapepper> boomshroom: it's actually compiling stuff, lots of it, so looks like we are on a good track, 12 cores working hard. What will be the next step if this finishes correctly? (dunno where are you based, I'm in Sydney, Australia, so we may have a big time difference)
<boomshroom> Hackapepper: The make-system-tarball function used will... make a tarball... that can be extracted on the target machine and a package list that can be imported to bootstrap the database with all the dependencies copied over with nix itself.
<boomshroom> I'm in Victoria, BC, Canada, so the other side of the Pacific.
marcioscp has joined #nixos
schoppenhauer has quit [Ping timeout: 256 seconds]
schoppenhauer has joined #nixos
marcioscp has left #nixos ["Leaving"]
<disasm> FYI, 18.03 nixos-rebuild switch just killed my running X session (i3)
<boomshroom> Hackapepper: I should mention that since you're using a non-standard store directory, it can't use the binary caches and has to build everything from scratch. Unforunately, that probably includes gcc.
mahalel_ has quit [Ping timeout: 276 seconds]
<kandinski> I'm still trying to figure how to build the manuals in ereader format. I tried to follow the instructions from https://github.com/NixOS/nixpkgs/issues/21391#issuecomment-269086562 but this happened: https://pastebin.com/Cve1Wt6D
johnw has joined #nixos
<Hackapepper> boomshroom: yup, i knew that from my trials yesterday. not only one, but two gcc... so i expect this to be running for at least 4-6h
<boomshroom> kandinski: Are you in any way changing what Nix sees as the local system? `a 'aarch64-linux' is required to build '...', but I am a 'x86_64-linux'`
<kandinski> I installed a week ago from the 18.03 image, but I'm now running unstable. It's my main laptop, and most everything seems to work fine.
<kandinski> boomshroom: I don't think I've tampered with anything.
ryanartecona has joined #nixos
<kandinski> boomshroom: I also failed while trying to build the nixos manual via the instructions in Chapter 35 of the manual, "Building Specific Parts of Nixos"
<boomshroom> kandinski: I should mention I've never tried building the manual before so I don't really know what I'm doing. :P
<kandinski> boomshroom: yeah, thanks for trying to help anyway :)
<kandinski> I'm in a bit of a loop, because I want to load the manuals on my kindle so I can read them without distractions, but I can't, so I haven't read them yet so I don't know what I'm doing
<kandinski> GOTO 10
<kandinski> nice. I got the nixos manual in epub format.
<boomshroom> kandinski: Nice!
<kandinski> I also saw where someone removed pdf output because "nobody uses it in 2018"
<boomshroom> kandinski: I would personally prefer epub over pdf if it weren't for the fact that everything can read PDFs.
<kandinski> kinda well, the point is we can have derivations that build epub, mobi and pdf
<kandinski> and let. people. choose.
<disasm> kandinski: what commit are you on in that git repo you're building from?
<kandinski> disasm: the one I pasted?
Crypt0x has joined #nixos
<disasm> yeah
<kandinski> ah damn
<kandinski> yeah, I just read the message from that commit
<kandinski> 5f444a4d8d49a497bcfabe2544bda264c845653e
<kandinski> groan at myself. Thanks, disasm.
<disasm> huh, I don't have that commit anywhere, what branch is that?
<kandinski> master
<kandinski> it says "this repo is obsolete"
<disasm> haha, what's your git remote? `git remote -v`
<kandinski> I just deleted it in shame
<disasm> haha
<disasm> yeah, clone, nixpkgs from github.com/NixOS/nixpkgs
<disasm> although, I am getting that same error on master
<kandinski> I'm pretty sure when I cloned nix, nixpkgs and nixos, I just did something like "for repo in nix nixpkg nixos; do git clone git@github.com:NixOS/$repo.git; done
<kandinski> so I never read the website notice (oops!)
<kandinski> (that would have been yesterday or Monday)
<disasm> can you switch to release-18.03 branch and try building the manual?
<kandinski> I just built it where I am by doing `nix-build -A config.system.build.manual.manualEpub`
<kandinski> in the nixos directory of nixpkgs repo
<kandinski> I was just in the wrong repo, I think.
<kandinski> disasm: this was on master branch. Do you still want me to switch to release-18.03 and try again?
<disasm> kandinski: nope, if it worked for you, all is good :)
<kandinski> thanks
<kandinski> I still have to build the Nix and Nixpkgs manuals, though. I promise I'll figure out a way to document it for people coming after me.
<disasm> oh, I was referring to nixpkgs
<kandinski> yes, I built nixos manual from the nixpkgs repo
reinzelmann has joined #nixos
<disasm> kandinski: do you get an error with `nix-build -A manualEpub nixos/release.nix`
justan0theruser has joined #nixos
justan0theruser has quit [Client Quit]
<kandinski> disasm: yes, I just did. On master. Trying again on release-18.03...
justan0theruser has joined #nixos
<kandinski> and no, no error on release-18.03
justanotheruser has quit [Ping timeout: 276 seconds]
<kandinski> disasm: https://pastebin.com/f9m4mMyZ
<kandinski> (in case it helps)
<kandinski> seems like the 18.03 branch build succeeded because it just fetched a prebuilt one
blonkhart has quit [Quit: WeeChat 1.9.1]
<disasm> yeah
<kandinski> can I force a local build?
<disasm> kandinski: https://github.com/NixOS/nixpkgs/issues/37903 if you want to watch that issue and see what people have to say.
<kandinski> disasm: thanks
lord| has quit [Ping timeout: 260 seconds]
<disasm> kandinski: `nix-build -A manual --check nixos/release.nix`
<disasm> same result on 18.03
<kandinski> cheers
<kandinski> disasm: I just built the manual using another path: nix-build --check -A manualEpub nixos/release.nix ``
<kandinski> damn, sorry
aarvar has joined #nixos
<kandinski> I meant to paste: `cd <nixpkgs>/nixos && nix-build --check -A config.system.build.manual.manualEpub`
Rusty1_ has quit [Quit: Konversation terminated!]
lord| has joined #nixos
hamishmack has quit [Ping timeout: 276 seconds]
leothrix has quit [Ping timeout: 276 seconds]
robstr has joined #nixos
leothrix has joined #nixos
krey has quit [Ping timeout: 265 seconds]
leothrix has quit [Ping timeout: 264 seconds]
Guanin has quit [Ping timeout: 268 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
alhariel has quit [Ping timeout: 264 seconds]
<Hackapepper> boomshroom: Hey mate, it died again with the same error I had with the way I was trying to build yesterday: https://pastebin.com/XwBtQBbF
<Hackapepper> boomshroom: running test tests/linux-sandbox.sh... [FAIL] while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
<boomshroom> Hackapepper: Try an ls or file to see if it really does exist.
Guanin has joined #nixos
<Hackapepper> boomshroom: I was just on it, the file DOES exist
<Hackapepper> -r-xr-xr-x 1 magiclab magiclab 986K Jan 1 1970 /home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash
<boomshroom> Hackapepper: What does `file` say about it?
<Hackapepper> (1 january 1970 dated, funny)
<Hackapepper> boomshroom:/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /home/nao/nix/store/n0w5c71h4wmw3abpr25pxphjgv9ylf6v-glibc-2.26-131/lib/ld-linux.so.2, for GNU/Linux 2.6.32, not stripped
<Hackapepper> looks correct to me
<boomshroom> Hackapepper: The timestamp gets set to the minimum value to improve determinism. Can you run the file manually? If you can't check the ld-linux the same way?
<Hackapepper> I'm gonna run the command again without the -j 10 --cores 10 to get a better log on what is REALLY the first thing that failed
<Hackapepper> boomshroom: the timestamp thing is pretty cool, thanks for explaining. I executed the bash binary and it does execute, even tho it fails with: bash: complete: command not found
<boomshroom> Hackapepper: That's probably just auto-complete functionality being broken and shouldn't be that big of an issue.
<Hackapepper> boomshroom: https://pastebin.com/m9tQLnLu log with single process building it, pretty much the same
<Hackapepper> boomshroom: ld-2.26.so looks good too, ld-2.26.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=587786163ab19bdd68cb17ef85b2cf33df1e7759, not stripped
<Hackapepper> boomshroom: ran that bash binary in GDB just to be sure it's correct, and it ran, no weird results (other than complete isn't there)
<Hackapepper> haha actually, I was inside that bash binary and I didn't know (I just wrote exit 5 times in a row), so yeah, that binary is totally alright
<boomshroom> Hackapepper: The good news is that the failure seems to just be the tests. If you want to try building without the tests, after the .override, and a `.overrideAttrs (old: {doCheck = false; })` you will need to put the rest in parentheses though.
<boomshroom> Hackapepper: Here's an updated gist that disables the tests: https://gist.github.com/boomshroom/53270c80a69fd0a98c3aed953536f550
<Hackapepper> boomshroom: thank you a lot, I didn't know what you meant
<Hackapepper> is there a way like in docker to attach yourself in the moment that test fails to be in that same environment to debug?
<boomshroom> Hackapepper: Nix managed to build and it tried to make sure it actually built correctly. It claims that something went wrong that would prevent it from working, but we'll see how well it actually works after moving it over.
pie_ has quit [Ping timeout: 256 seconds]
<boomshroom> Hackapepper: You can use a nix shell and then manually go through the build steps, but it requires manually calling the unpackPhase, configurePhase, and buildPhase.
<Hackapepper> boomshroom: I'm too much of a noob to do that right now haha
<Hackapepper> but thanks for the explanation
<Hackapepper> you forgot {} after the import message again btw, dunno if that would supposedly not be needed
<Hackapepper> boomshroom: oh no, it still tried to run the same tests, and ofc it fails
<boomshroom> Hackapepper: You still need the {}. It would contain any arguments for the whole repository, but we're just using the defaults.
zzamboni has joined #nixos
<dmj`> so is the hydra-evaluator broken?
<dmj`> getting "error: access to path '/nix/store/p9znk9sn5b3klv7pvjb8hd34pzkr1zgh-source' is forbidden in restricted mode” a lot
<dmj`> what is restricted mode?
<dmj`> the clever mentioned this has to do importing from a derivation
Ariakenom has joined #nixos
hamishmack has joined #nixos
<elvishjerricco> dmj` '
zzamboni has quit [Client Quit]
<elvishjerricco> dmj`: I believe this was fixed in Nix 2.0
<elvishjerricco> but IIRC, it also required a change to `callCabal2nix`
zzamboni has joined #nixos
<dmj`> elvishjerricco: so I have Nix 2.0 on my machine, but I might not have latest `callCabal2nix`, you wouldn’t by chance have the PR number handy
<elvishjerricco> dmj`: Hydra has to be built with Nix 2.0
<elvishjerricco> looking at the commits on callCabal2nix, I can't seem to remember which one was relevant :/
<dmj`> sure, so hydra works, but then it seems the derivations its attempting to evaluate use callCabal2nix
<elvishjerricco> dmj`: Right. Hydra does not use your system nix installation for evaluation. It links with the Nix library itself and does evaluation itself.
rosa has joined #nixos
Guest81264 has joined #nixos
<Guest81264> So I remade my partition table, and reran nixos-generate-config + nixos-install on an existing system, it booted correctly but kde freezes on load
xAFFE has left #nixos ["Error from remote client"]
<Guest81264> And I have permissions issues in /nix
<dmj`> elvishjerricco: hmmm I see
<Guest81264> should I just nuke things and start over or is there a way to reinstall nixos on a system
<Hackapepper> boomshroom: any idea why it is still running the tests? typo maybe? I'm trying to look for examples but seems is not that common to disable tests
* dmj` wonders if he should cherry pick
<elvishjerricco> dmj`: Yea. I guess `unsafeDiscardStringContext` isn't allowed in restricted evaluation mode?
<boomshroom> Guest81264: I don't know how to solve the issue, but the moment I tried installing KDE after using NixOS for a while, my system couldn't get past the login screen until I disabled KDE.
<dmj`> elvishjerricco: you think this would be cherry-picked into `nixpkgs-unstable`? Maybe even peti would need this as well
<elvishjerricco> dmj`: Note that there was a bunch of development around that function around that time. So you might have to cherry pick a few things
<elvishjerricco> dmj`: That should definitely already be on unstable
<elvishjerricco> I think
<Guest81264> huh, for me it seems like it's just a permissions/ownership issue, but yeah I'll try disabling kde for now, did you re-enable it later?
<Guest81264> I mean right now I'm just running irssi in a terminal :P
<elvishjerricco> Yea it is
<Guest81264> ls
<boomshroom> Hackapepper: No. I tried the command on my own system, without the first-stage build and it worked perfectly. Unfortunately, everything got installed into /nix so the result won't actually work.
<dmj`> elvishjerricco: ah nice, unfortuantely, I think the `nixpkgs` I’m pinning to in a few of my repos doesn’t have it...
<dmj`> I could bump the hash, but that might break a few other things...
<elvishjerricco> dmj`: Are you sure your Hydra has nix 2.0?
<elvishjerricco> The web interface will tell you the nix version linked at the bottom of the page
<dmj`> elvishjerricco: https://hydra.dmj.io/
Guest81264 has quit [Quit: leaving]
<dmj`> using nix-2.0pre5968_a6c0b773
<elvishjerricco> shlevy did say that none of the prereleases had the commit that fixed it
<elvishjerricco> not sure if he was right though.
<dmj`> ah, I think hydra is using my system nixpkgs though… the nixos-nixpkgs
<dmj`> so maybe a `sudo nix-channel —update` is in order ...
<elvishjerricco> dmj`: Yea I had to set `services.hydra.package = pkgs.hydra.override { nixUnstable = pkgs.nixStable2; };` for 17.09. Should be `nixUnstable = pkgs.nix` on current nixos-unstable
<Hackapepper> boomshroom: :( damn, what's next then? try with the REMOTE flag?
rosa has quit [Quit: rosa]
<boomshroom> Hackapepper: Sure, why not? :P
rosa has joined #nixos
<dmj`> elvishjerricco: ah nice, let me try this out
<kandinski> I've managed to build the epub for nixpkgs and nixos. Now I'm working on building the nix documentation. I've started by running `./bootstrap.sh` on a fresh nix checkout, and I find this: https://pastebin.com/GSepMaUZ
<kandinski> I'm running nixos-unstable if that is needed information.
<dmj`> elvishjerricco: error: attribute 'nixStable2’ missing
<elvishjerricco> dmj`: Yea that's only on the 17.09 channel
xy2_ has joined #nixos
<elvishjerricco> On the nixos-unstable channel you can probably just use `nix` (or is it `nixStable`?...)
<dmj`> elvishjerricco: 18.03pre130932.cc4677c36ee (Impala)
<dmj`> I drive the Impala
<elvishjerricco> Hah yea me too
<elvishjerricco> let me see what i have
<elvishjerricco> dmj`: Oh right. I just downgraded hydra back to an old checkout of Nix that doesn't exhibit the bug at all :P
<elvishjerricco> This is necessary to support building jobs with the old, broken `callCabal2nix`
<dmj`> elvishjerricco: that sounds good to me :)
<dmj`> old and working > new and broken
<elvishjerricco> dmj`: Then yea just use dalaing's hack near the top of that github issue
<dmj`> the dalaing hack it is then
pie_ has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
noqqe has left #nixos ["WeeChat 1.9.1"]
<dmj`> elvishjerricco: `journalctl -u hydra-evaluator -f` is looking good, muchas gracias
<elvishjerricco> dmj`: Great :)
<dmj`> A happy hydra is a good hydra
<{^_^}> [nixpkgs] @lufia opened pull request #37904 → ct: 0.5.0 -> 0.7.0 → https://git.io/vxu9g
vidbina has quit [Ping timeout: 256 seconds]
<boomshroom> Good night, guys!
boomshroom has quit [Quit: WeeChat 2.0]
<kandinski> good night, boomshroom!
<dmj`> elvishjerricco: thanks, have a good night!
MercurialAlchemi has joined #nixos
xy2_ has quit [Ping timeout: 276 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
lord| has joined #nixos
zzamboni has quit [Quit: Leaving.]
alex`` has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
davidlt_ has joined #nixos
sanscoeu_ has joined #nixos
sanscoeur has quit [Ping timeout: 260 seconds]
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
<unlmtd> how do I set the options in `nixos/modules/virtualisation/containers.nix` when creaating containers? Id like to enable IPv6 and disable IPv4 (which I think should be the default since IPv4 is broken)
lattice has joined #nixos
lattice has quit [Client Quit]
semilattice has joined #nixos
<unlmtd> do I just add those options in the containers' `configuration.nix` ?
<unlmtd> that doesnt seem like how this works to me
zzamboni has quit [Ping timeout: 264 seconds]
<unlmtd> ahah nevermind thats exactly how it seems to work
zzamboni has joined #nixos
semilattice has quit [Remote host closed the connection]
vidbina has joined #nixos
<unlmtd> ahh well that would work declaratively, but I was using `nixos-container` command, so the question kind of still stands, in this case
roberth has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/799e8c57454 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
vaninwagen has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/22782ef953b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
zzamboni has quit [Quit: Leaving.]
<ij> Is `heroku' the node package that provides the `heroku' executable installable as a package somehow?
<infinisil> Hackapepper: ah damnit, i really thought this would work, but it seems like some tests rely on the store directory being /nix/store
<infinisil> Ping clever
vaninwagen has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
ilyaigpetrov has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « ncftp: man and doc files were missing »: https://git.io/vxu7p
thc202 has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
MichaelRaskin has left #nixos [#nixos]
<{^_^}> [nixpkgs] @garbas merged pull request #36772 → nixos/systemd: add option for cgroup accounting → https://git.io/vAjDG
<{^_^}> [nixpkgs] @garbas pushed commit from @davidak to master « nixos/systemd: add option for cgroup accounting »: https://git.io/vxu54
civodul has joined #nixos
<infinisil> Hackapepper: you should be able to disable checks by replacing `with import <nixpkgs> {}; pkgsi686Linux.nix.override` with `with import <nixpkgs> {}; (pkgsi686Linux.nix.overrideAttrs (old: { doInstallCheck = false; })).override`
simukis has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
zzamboni has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
reinzelmann has quit [Quit: Leaving]
zzamboni has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
ma27 has joined #nixos
MP2E has quit [Remote host closed the connection]
Tucky has joined #nixos
zzamboni has quit [Ping timeout: 268 seconds]
xeji has joined #nixos
MP2E has joined #nixos
zzamboni has joined #nixos
chisui has joined #nixos
roberth has joined #nixos
spear2 has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
jetien has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
vidbina has joined #nixos
vaninwagen has joined #nixos
zzamboni has quit [Ping timeout: 264 seconds]
spear2 has quit [Quit: Leaving]
vidbina has quit [Ping timeout: 264 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
ixxie has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
spear22 has joined #nixos
<ixxie> dotlambda: I pinged you on a couple of PRs if you got some time ^^
spear22 has quit [Client Quit]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/41676002b28 (from 35 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
marusich has quit [Ping timeout: 276 seconds]
rosa has quit [Quit: rosa]
marusich has joined #nixos
<unlmtd> found the issue for my question, in case anyone cared
xeji has quit [Quit: WeeChat 2.0]
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
obadz has quit [Quit: WeeChat 2.0]
leat has joined #nixos
aarvar has quit [Ping timeout: 248 seconds]
zzamboni has joined #nixos
mounty has joined #nixos
zzamboni has quit [Ping timeout: 260 seconds]
<jetien> Is there any documnetation or guide on how to deploy system packages from a custom channel? Do you pass your own package collection to the function in /etc/nixos/configuration.nix ? If so, how?
zzamboni has joined #nixos
<ertes-w> is there a way with nixos-rebuild to 'rebuild' one system and 'boot' another similar system? i'm in the process of making my system redundant, so if my main disk fails i can immediately reboot from my backup disk
<ij> Why isn't there a function in nixpkgs to build any ruby version? There are, like, just a couple there right now.
<manveru> i try to keep all the officially supported versions of MRI in
<manveru> the build process could probably be opened a bit... especially if you don't need the railsexpress patches
<ij> Oh, I see. So it would make sense for me to change the ruby requested in the Gemfile. But(!) wouldn't it be nice if I could build whichever ruby myself? Is that hard to do?
zzamboni has quit [Ping timeout: 256 seconds]
<ij> I tried to make a little patch in my local fork, but something didn't work.
winem_ has joined #nixos
* ij destashes, retries
<LnL> I made an expression for 1.8.7 a while back, wasn't that hard
<ij> This is how failing and the patch look: https://clbin.com/VtWTS
<manveru> yeah, just disable railsexpress
<manveru> it's mostly stuff to get more in-depth info about GC, memory, cpu, and such
<ij> What do you think about adding and exporting such a function?
<LnL> ij: maybe this helps https://github.com/LnL7/nixpkgs-ruby
zzamboni has joined #nixos
<ij> manveru, (generic { … }).override({ useRailsExpress = false; })? That still complains about the chmod.
<yrashk> Who'd be the best person to ping about this PR https://github.com/NixOS/nixpkgs/pull/36957? Unlike other inits that I've been sending over, this one seems to be ignored.
sigmundv_ has joined #nixos
<manveru> ij: sorry, don't have much time right now since i'm at work
<ij> manveru, Sure, not urgent. I'm just using rbenv ruby-build now.
<manveru> generally you should use secure ruby versions if possible :)
zzamboni has quit [Ping timeout: 264 seconds]
<manveru> but i'll try and provide some generic way tonight
<ij> That would be pretty cool.
<srhb> Anyone with wireguard experience on? I'm trying it out for the first time, and it looks from wg show like I'm connected (handshakes and transfer look alive) but I can't ping anything at all. allowed ips is 0.0.0.0/0. Any clues to how I might debug this?
zzamboni has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
MP2E has quit [Remote host closed the connection]
tmaekawa has joined #nixos
pietranera has joined #nixos
zzamboni has quit [Quit: Leaving.]
<pietranera> Hello, I've just tried to rebuild nixos [Linux 4.15.7, NixOS, 17.09.3159.c665fcca9e7 (Hummingbird)] and primus-lib failed to build with "while setting up the build environment: executing ‘/nix/store/mf3jxszrlhzpmv1qraxb88fxnffq8mkr-bash-4.4-p12/bin/bash’: Exec format error". That is, it's trying to run a 32-bit executable on a 64-bit system. Does anyone have pointers? Thanks!
tmaekawa has quit [Ping timeout: 276 seconds]
Crypt0x has quit [Quit: Crypt0x]
zzamboni has joined #nixos
<bennofs[m]> Shouldn't running 32 bit on 64 bit work fine? (multilib)
jetien has quit [Quit: Leaving.]
<bennofs[m]> what does `file /nix/store/mf3jxszrlhzpmv1qraxb88fxnffq8mkr-bash-4.4-p12/bin/bash` say?
<Dezgeg> are you using linuxPackages_hardened?
goibhniu has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
jetien has joined #nixos
vidbina has joined #nixos
nick_l has joined #nixos
<nick_l> How can I setup DNS such that it works like on MacOSX where lookups are done possibly in parallel even and the first server to respond is used?
ottidmes has joined #nixos
<nick_l> (I am in a hostile network environment where basic things like DNS do not properly work. )
<nick_l> Two servers are in my resolv.conf, but only one of them actually works.
newbie|6 has joined #nixos
coot has joined #nixos
coot has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
the_real_plumps has quit [Remote host closed the connection]
jetien has quit [Quit: Leaving.]
Synthetica has joined #nixos
__Sander__ has joined #nixos
jetien has joined #nixos
<srhb> nick_l: I find that the most flexible solution is almost always to have your own dns server.
<srhb> nick_l: Then you always point at that and let it handle all the trickery.
the_real_plumps has joined #nixos
<srhb> nick_l: For instance, with dnsmasq, what you're asking for is as simple as starting it with --all-servers
<nick_l> srhb: the nixos module doesn't support that, does it?
zzamboni has joined #nixos
<srhb> nick_l: If it doesn't, it's as simple as overriding the ExecStart of the service.
<nick_l> srhb: overriding stuff is typically not documented in NixOS.
<srhb> nick_l: foo.bar.baz = newvalue :)
<srhb> nick_l: Anyway, looking at the dnsmasq manual it appears that every long option to the daemon can also be passed in the configuration file, only without the leading dashes.
<nick_l> srhb: the NixOS module as it currently exists breaks DNS completely. Thanks for your comments.
<srhb> Verbatim: "The format of this file consists of one option per line, exactly as the long options detailed in the OPTIONS section but without the leading "--"."
<srhb> nick_l: Uh, what?
aarvar has joined #nixos
<nick_l> nick_l: I enabled it without setting additional servers and even with 8.8.8.8.
<nick_l> srhb: In both cases complete dns resolution failure.
<nick_l> srhb: nslookup www.google.com # stops working
<nick_l> srhb: --rollback saved the day
<srhb> What are your dns servers without dnsmasq enabled?
coot has joined #nixos
<nick_l> srhb: 8.8.8.8 and one provided by an upstream provider (a broken one)
<nick_l> srhb: the broken one simply does not respond to DNS queries.
freeman42x]NixOS has joined #nixos
<srhb> Odd. Let me try and reproduce that...
<nick_l> srhb: services.dnsmasq.enable = true; # just this already did it.
<nick_l> srhb: services.dnsmasq.servers = ["8.8.8.8"]; # optional
<srhb> The first failure is expected, I think. If it has no upstream server there's nothing to query after all.
<srhb> The second isn't.
jetien has quit [Quit: Leaving.]
<srhb> Oh, can you check its log?
aarvar has quit [Ping timeout: 264 seconds]
coot has quit [Ping timeout: 264 seconds]
<nick_l> srhb: Failed to create listening socket for port 53: Address already in use
asuryawanshi has quit [Remote host closed the connection]
<nick_l> srhb: /nix/store/7gkyzqrk0vmq2jmzy7pamlk0drl6nqbz-dnsmasq-2.78/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/nix/store/j5ynfns5c6zr7lqxncrfwgnnhvc04g6l-libvirt-3.6.0/libexec/libvirt_leaseshelper
<nick_l> srhb: service dnsmasq is not compatible with libvirtd.
<srhb> Aha!
sigmundv has quit [Disconnected by services]
<srhb> Because libvirtd binds to 53?
sigmundv_ is now known as sigmundv
<nick_l> srhb: yes, something related to it. Might be a NixOS module doing it.
Harpalus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #36978 → SELinux libs and tools: 2.4 -> 2.7 → https://git.io/vxkGg
<{^_^}> [nixpkgs] @Mic92 pushed 12 commits to master: https://git.io/vxzfN
<{^_^}> → 880d8c16 by @xeji: libsepol: 2.4 -> 2.7
asuryawanshi has joined #nixos
<{^_^}> → 232c39e7 by @xeji: libsemanage: 2.4 -> 2.7
<{^_^}> → ea7507b9 by @xeji: libselinux: 2.4 -> 2.7
<srhb> Yes, looks like it actually starts its own dnsmasq instance
asuryawanshi has quit [Remote host closed the connection]
<nick_l> srhb: nixos/modules/virtualisation/xen-dom0.nix also does it.
<nick_l> srhb: and it all uses port 53, which is rather silly.
<srhb> So I'm guessing that libvirtd binds its dnsmasq instance to _some_ interfaces
asuryawanshi has joined #nixos
<srhb> But without specifying further in the global instance, it tries to bind to _all_ interfaces
sigmundv_ has joined #nixos
<srhb> So you probably just need to extraConf whatever interfaces you want it to bind to
<nick_l> srhb: that might be the case, let me check.
<nick_l> srhb: correct it binds only to vibr0
<nick_l> srhb: so, then the logic in the NixOS module needs to be modified to bind to at least the physical interfaces by default. I.e. wifi and ethernet.
<srhb> So you probably want interface=lo and bind-interface in your dnsmasq.conf
<srhb> No no
<srhb> You'll be looking up at 127.0.0.1
<srhb> Not your wifi or ethernet :)
<srhb> the dnsmasq at 127.0.0.1 will then lookup whatever for you upstream.
jensens has joined #nixos
ma27 has quit [Ping timeout: 265 seconds]
<srhb> I'm not sure if the default name server cache daemon could also be set up like this.
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
humanoyd has joined #nixos
<nick_l> srhb: OK, I got it to work.
<nick_l> srhb: now, I can finally enjoy a reasonable internet connection again on a broken network \o/
<srhb> nick_l: Woo!
ThatDocsLady_ has joined #nixos
<srhb> hyper_ch: Did you use wireguard?
ThatDocsLady has quit [Read error: Connection reset by peer]
<Xyoff> Is there such a thing as a systemd-free nixos? Is that possible, given how nixos works, or am I an idiot for assuming that systemd is somehow a hard dependency for nixos?
<srhb> Xyoff: systemd is very baked into NixOS. That hasn't stopped some people from doing it anyway.
deepfire has quit [Ping timeout: 240 seconds]
maurer has quit [Read error: Connection reset by peer]
<Xyoff> hm
maurer has joined #nixos
<srhb> Xyoff: Here's some people you could contact: https://nixos.org/nix-dev/2017-March/023113.html
<srhb> (Essentially systemd+nix is NixOS. You could conceivably have X+nix instead, but it's not NixOS, probably.)
<manveru> Xyoff: there's also https://github.com/cleverca22/not-os with nix+runit
<srhb> The dream situation is something where the service layer is abstracted away.
<srhb> But abstracting systemd out is... Non-trivial.
<{^_^}> [nixpkgs] @Chiiruno opened pull request #37905 → linux_testing_bcachefs: 4.15.2018.02.09 -> 4.15.2018.03.22 → https://git.io/vxzTv
<pietranera> "Dezgeg: > are you using linuxPackages_hardened?" Yes I am (re 32-bit bash not working).
<pietranera> Sorry for the late reply... was busy and missed the responses.
<manveru> yeah, but at least you can write your own services, it's just that atm the boot phase in nixos is more or less hardcoded for systemd
<srhb> Indeed.
coot has joined #nixos
<pietranera> there should be a way for me to tell primus-lib to build with a 64-bit bash.
<nick_l> Xyoff: Guix is another option.
<Xyoff> Yeah, I looked at guix
<Xyoff> I'm somewhat ambivalent about that one
<nick_l> Xyoff: I don't like systemd either, but in production it hasn't failed for me.
<Xyoff> Nix confuses me enough
<Xyoff> nick_l: I know, me neither
<Xyoff> nick_l: I do prefer less all-encompassing software, generally
<Xyoff> nick_l: but I _really_ like the concept of nixos, if I could get my head round it properly I'm sure it'd be even more powerful for me :P
<srhb> Xyoff: Try it out, it's great! First one's free etc :P
<Xyoff> srhb: guix?
<srhb> NixOS :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #37597 → ceph: Add makeWrapper to dependencies and nativeBuildInputs → https://git.io/vxCb9
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxzTy
<{^_^}> → a9a7580c by @lejonet: ceph: Add makeWrapper to dependencies and nativeBuildInputs
<{^_^}> → d74bcbc8 by @lejonet: ceph: Change hardcoded site-packages path to utilizing the python2Packages.python.sitePackages attribute instead
<{^_^}> → 1a44de83 by @Mic92: Merge pull request #37597 from lejonet/ceph-#36622
<Xyoff> srhb: I've run NixOS in the past, it used to be on this box
<srhb> Ah. :)
<Xyoff> I get a bit disappointed in myself, because I'm sure there are better ways to do what I want to do
<srhb> Something specific?
<Xyoff> I do a lot of python for work, and rust in my spare time
<Xyoff> so my main draw was the idea of nix-enving all that
<Xyoff> I think I read three different approaches to doing that with python
<srhb> imo nix envs are overrated for development work. shells all the way.
<Xyoff> wasn't doing the rust then
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxzTb
orivej has joined #nixos
<{^_^}> → 38302326 by @lejonet: ceph: Add makeWrapper to dependencies and nativeBuildInputs
<{^_^}> → 40212de1 by @lejonet: ceph: Change hardcoded site-packages path to utilizing the python2Packages.python.sitePackages attribute instead
<nick_l> srhb: it's a huge hurdle to get to that point.
<{^_^}> [nixpkgs] @dywedir opened pull request #37906 → zstd: 1.3.3 -> 1.3.4 → https://git.io/vxzTp
<srhb> nick_l: The shell point?
<nick_l> srhb: at least, it was for me.
pie_ has joined #nixos
<nick_l> srhb: yes, the first goto reaction is "I just want everything directly available".
<Xyoff> srhb: I did mean nix-shell, see what I mean
<srhb> nick_l: Hm.. Personally I just cargo culted a lot of shell.nix files initially. At some point I needed to learn to spin my own.
<srhb> nick_l: Oh, yes, mentally it is.
<srhb> Xyoff: Ah :-P
<Xyoff> It's hard to get out of the mainstream linux mindset of system installations of software etc
* srhb nods
<nick_l> srhb: I put stuff in my system env and for stuff to be shared with others I use nix-shell.
<srhb> Coming from cabal sandboxes and stuff it was pretty easy to transition for me.
<Xyoff> in my head I found it complicated to separate out what the system had installed and what my user had
<srhb> Xyoff: Yes, well, it _is_ more complex.
<Xyoff> I read a lot about the haskell stuff, never written in that
<Xyoff> Looks pretty good for it though
<srhb> I think the payoff is huge though.
<TweyII> Xyoff: One of the advantages of NixOS is that you barely have to interact with systemd ;)
<Xyoff> TweyII: True enough
deepfire has joined #nixos
<Xyoff> I did like the nixos container thingy, too, with systemd-nspawn
<srhb> nick_l: I keep my system env as minimal as possible
<Xyoff> srhb: That was my approach too, I had a huge user env on a minimal system
<srhb> I keep my user env as minimal as possible, too. :-P
<srhb> In fact, when I choose between the two, I stick things in system env before user env.
<nick_l> srhb: how does that work in practice? I.e. where is "file" installed?
<srhb> Essentially: Minimal system env, empty user env, shells all the way
<Xyoff> One of the things I was less fond of was that _some_ setups are very different, so where on a normal system I might think "I need X, and KDE 5, and I want Virtualbox", with Nixos I had to do quite different nix expressions to do that
<srhb> nick_l: File is system.
<Xyoff> And then different again to install something like a browser
* srhb nods
<nick_l> srhb: firefox?
<srhb> nick_l: system env :) Essentially all non-dev is my system env.
<srhb> (This is a bit untrue now because of home-manager)
<srhb> But I want nix-env -q to be empty
<manveru> home-manager <3
<goibhniu> I also found nix-shell reminded me of virtualenv (python), but way better. I would never have installed python stuff globally anyway, so it wasn't such a leap.
<srhb> nick_l: I think my main rule of thumb is: There is two ways to have packages available: 1) Always declaratively (system or home-manager) 2) Transiently declarative (shell.nix)
ma27 has joined #nixos
<srhb> That has worked very well for me.
<srhb> I only nix-env stuff for something I need for like an evening, and then periodically wipe it
orivej has quit [Ping timeout: 264 seconds]
<srhb> My main concern is invisible state, which nix-env tends to become imo.
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.2.14 -> 1.2.15 »: https://git.io/vxzkM
<TweyII> srhb: ‘nix-env -q’ shows you most of your env state
simukis has quit [Quit: simukis]
<srhb> Yep.
<srhb> Except... What are they actually? I could have had all manner of overrides on them.
<lejonet> srhb: for someone like me that does all kinds of weird things with a myriad of weird binaries, nix-shell and nix-env for me looks like salvation from a almost unmaintainable mess I have on my desktop.... xD
<srhb> lejonet: :D
<lejonet> Atm I'm kindof in a dependency hell everytime I want to upgrade... :P
<srhb> More declarative more better!
<Xyoff> nixops is also very nice
<lejonet> Its just, taking the jump to nixos on my desktop, that is going to require quite some effort lol :P
<srhb> anyway, I'll stop evangelizing now :-)
<lejonet> Xyoff: its really nice :)
<manveru> developing with nix-shell is just perfect for me, since i tend to hop between a dozen languages with weird dependencies and versions...
<lejonet> srhb: xD
<srhb> lejonet: I had a really short stint on Arch and then NixOS as my daily driver.
<lejonet> srhb: I've got maybe 7 years or more on gentoo ;)
<srhb> I haven't used Gentoo since... What, around 2002
<lejonet> And had a short stint with A LOT of distros :P
<ottidmes> srhb: I've got a question about home-manager, am I right to understand that its file mechanism (the $HOME equivalent of /etc) only allows for symlinks?
sanscoeur has joined #nixos
humanoyd has quit [Ping timeout: 240 seconds]
<manveru> i do all my development via pinned nixpkgs in shell.nix, my system is rock-solid 17.09 still, and home-manager can use 18.03... try doing that on a mac :P
<manveru> ottidmes: yeah
<srhb> ottidmes: It's essentially what the activation scripts do to /etc yeah
<srhb> ottidmes: (It's even the same system underneath the hood)
<lejonet> srhb: I was looking at doing a lxd approach because I CTF regularily, but now I'm thinking about just doing nix-shells for that instead, a lot more lightweight, with same effect
<srhb> CTF?
<lejonet> Capture The Flag
<srhb> I don't understand that in this context :P
<srhb> Oh, as in network cracking?
<TweyII> Why does the gcc package provide a ‘c++’ symlink but not a ‘cc’ symlink?
<lejonet> Usually its a competition with a bunch of tasks in different areas like pwning, forensics, crypto and such
<TweyII> s/gcc/gcc-unwrapped/
<srhb> lejonet: Right, cool!
<srhb> lejonet: Sounds like an obvious candidate for a toolbox shell.nix
sanscoeu_ has quit [Ping timeout: 265 seconds]
<srhb> nix-shell -p myPwningToolbox :-)
<TweyII> And how can I get one into my environment? (I'm trying to build a FHS environment to build rust, which wants to link using something on the path called ‘cc’)
<lejonet> srhb: its great deal of fun, but yeah... unknown binaries and weird deps is the norm xD
ixxie has joined #nixos
<Xyoff> lejonet: I'm on gentoo now, on and off about five years
<Xyoff> I keep coming back, lol
<lejonet> srhb: I should move my VMs to libvirt so its a lot easier to move to nixos
<srhb> TweyII: Shouldn't you be using stdenv.cc ?
<lejonet> Xyoff: know what you mean :P
<srhb> TweyII: Specifically stdenv.cc.cc
<TweyII> srhb: Is that unwrapped?
<srhb> Oh.. No.
Harpalus has quit [Quit: Leaving]
<ottidmes> manveru: srhb: But environment.etc allows you to not make it a symlink: https://nixos.org/nixos/options.html#environment.etc.%3Cname%3F%3E.mode, but when I checked how home-manager implements files, it seems to symlink all
<TweyII> srhb: I'm explicitly trying to produce impurely-linked binaries (for distribution)
<Xyoff> srhb: so good they named it twice?
<srhb> TweyII: I see.
<TweyII> srhb: gcc-wrapper doesn't like that at all :)
<srhb> Xyoff: Yeah!
<Xyoff> :D
<manveru> ottidmes: do you need something to be not a symlink?
<srhb> TweyII: I'm not sure it actually exists outside the wrapper. May need to just symlink it to gcc
<ottidmes> manveru: Not really, I just know there exist programs that do expect them not to be symlinks. I really want to have something more general than what home-manager limits to $HOME and environment.etc to /etc
srdqty1 has quit [Ping timeout: 268 seconds]
<TweyII> srhb: Weird!
<manveru> ottidmes: afaik the only way to make a copy instead is to set it executable, but it shouldn't be hard to add such a feature
<srhb> TweyII: Well, cc is legacy anyway!
<TweyII> Is it?
<TweyII> I thought it was a standard name
<srhb> TweyII: I think so. It's "compile this with some unspecified version of the standard, good luck"
<ottidmes> manveru: The "has the file changed" bit becomes more complex
srdqty1 has joined #nixos
<srhb> TweyII: Or it used to be at least.
<ottidmes> manveru: Yeah, but that is what is being put in the /nix/store, so how it is implemented right now, its still symlinks
<manveru> ah, so it's linkNewGen
<manveru> in theory home-manager can check if the checksum of a file is the same as in the previous generation and replace it
<manveru> and otherwise won't touch it
<manveru> if there's no previous generation, you have to remove it yourself
<ottidmes> manveru: yeah, all I could think of was doing a cmp on the file in the target location (i.e. $HOME) and the original file (i.e. found in the gen in /nix/store)
<manveru> or we could add an option that's like `alwaysOverwrite` and it'll just ignore existing versions of that file
<manveru> that'd be a first step anyway :)
<TweyII> srhb: It's not like gcc is better in that regard
asuryawanshi has quit [Ping timeout: 240 seconds]
<manveru> haven't needed such a feature yet, but if you do, rycee is always happy about PRs
<ottidmes> manveru: otherwise you will have to resort to state, keeping track of change times
<manveru> gotta get back to work
<ottidmes> manveru: Yeah, but I want it outside of $HOME as well, so I guess its out of scope for home-manager. I already have the overwrite by default working
<ottidmes> manveru: Ok, thanks for things along!
<manveru> i think you can set home.homeDirectory ;)
humanoyd has joined #nixos
<srhb> TweyII: No, not at all :)
<{^_^}> [nixpkgs] @bkchr opened pull request #37907 → hplip: Adds missing depdency `sip` → https://git.io/vxztw
srdqty1 has quit [Ping timeout: 260 seconds]
srdqty1 has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
knupfer has joined #nixos
<pietranera> Trying to ask again (will pay more attention this time!)... I am failing to buld primus-lib on nixos 17.09 with 64-bit *hardened* kernel 4.15.7 because the derivation wants to use a 32-bit bash (primus-lib is built using the 32-bit packages). Dezgeg suggested that this may be caused by the *hardened* kernel (I think it disables 32-bit emulations). Is there a workaround? primus-lib is a dependency fo bumblebeed that I need to use.
bkchr has joined #nixos
<pietranera> Thanks!
pie_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
Neo-- has joined #nixos
<TweyII> pietranera: Is it okay to just use a 32-bit bash?
<TweyII> You could build with stdenv_32
<pietranera> well, when I do nixos-rebuild, I get this error:
<pietranera> building path(s) ‘/nix/store/299qxz52jma00r79nhkhr0r27qg9gvz7-primus-lib-2015-04-28’
<pietranera> while setting up the build environment: executing ‘/nix/store/mf3jxszrlhzpmv1qraxb88fxnffq8mkr-bash-4.4-p12/bin/bash’: Exec format error
<pietranera> builder for ‘/nix/store/s9p4828i5zfsmj0z6gsz1p3pkglz08x2-primus-lib-2015-04-28.drv’ failed with exit code 1
<pietranera> in fact, that bash is a 32-bit executable
<pietranera> but I cannot execute it
<{^_^}> [nixops] @rbvermaa pushed to master « Release notes for 1.6 »: https://git.io/vxzma
<pietranera> AFK
<bkchr> Hi, is there some definitive guide for priting under nixos? I wanted to use `hplip`, but it does not detect my printer in the local network. I tried to open 5353 and 427 udp ports, but it still does not find the printer. If I flush iptables, it can detect my printer. It is really weird. I also tried to use CUPS directly and that detects my printer with avahi, but when I want to print it says that it can not connect to the printer.. :(
<{^_^}> [nixpkgs] @lheckemann opened pull request #37908 → Openclonk 8.1 → https://git.io/vxzYP
<ixxie> bkchr: I assume you have cups enabled in your config? have you read https://nixos.wiki/wiki/Printing ?
<bkchr> ixxie: yeah
<ixxie> sorry I can't be more helpful
<bkchr> ixxie: okay :) thanks anyway
kreisys has quit [Read error: Connection reset by peer]
AMDmi3 has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 265 seconds]
AMDmi3 has joined #nixos
spear2 has joined #nixos
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
vaninwagen has quit [Ping timeout: 264 seconds]
vaninwagen has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #37906 → zstd: 1.3.3 -> 1.3.4 → https://git.io/vxzTp
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/vxzOM
<{^_^}> → 6558ec1d by @dywedir: zstd: 1.3.3 -> 1.3.4
<{^_^}> → 182dd989 by @edolstra: Merge pull request #37906 from dywedir/zstd
vidbina has quit [Ping timeout: 264 seconds]
davidlt_ is now known as davidlt
jetien has joined #nixos
kai_w has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/40212de1910 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<gchristensen> we're going to get syntax highlighting in the docs not with a bang, but a whisper apparently https://github.com/NixOS/nixpkgs/pull/37901
<srhb> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
<srhb> Remember to get some sleep :D
<gchristensen> closing domenkozar's bug, which is exactly 33,000 issues senior
cacatoes has joined #nixos
<gchristensen> I sleep like 9 hours a night, srhb :P
xcmw has joined #nixos
<srhb> Oh, good job! :0(
<srhb> :-) eve
<srhb> ...
<srhb> keyboards, man..
<srhb> Where's my brainstem interface.
<gchristensen> they're my mortal enemy too
silver has joined #nixos
<{^_^}> [nixpkgs] @maximedenes opened pull request #37910 → haskellPackages.spdx: fix build → https://git.io/vxzZo
orivej has quit [Ping timeout: 256 seconds]
isidore has joined #nixos
<{^_^}> [nixpkgs] @maximedenes opened pull request #37911 → psc-package: 0.2.5 -> 0.3.2-pre → https://git.io/vxzcg
<LnL> gchristensen: 9 hours :o
asuryawanshi has joined #nixos
<etu[m]> gchristensen: I would never find the time for that :O
<gchristensen> I don't have to commute, which saves a lot of timee
<etu[m]> Ah :)
<pietranera> FTR, to make primus/primus-lib build on linux hardened, I had to create an overlay for primus where primusLib_i686 was set to null (also, nixos option docs for nixpkgs.overlays has a syntax error: there should be no semicolon before the closing round paren).
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to release-18.03: https://git.io/vxzCz
<{^_^}> → ae174ee2 by @shlevy: haskell.compiler.ghc8{22,41}: Fix abi-depends non-determinism.
<{^_^}> → 8e34b6de by @shlevy: Merge branch 'staging-18.03' into release-18.03
knupfer has joined #nixos
<disasm> I remember the days I used to get 9 hours of sleep or even 8... Lately the norms been less than 6 :(
<gchristensen> I also have no children :P
<disasm> gchristensen: that helps :)
<srhb> Huh, the wireguard module is really weird. It appears to add a default route just fine, but then there's no route to reach the actual wireguard endpoint via some other means. How does that make sense?
zzamboni has quit [Quit: Leaving.]
AMDmi3 has quit [Remote host closed the connection]
<srhb> Networking. Graahh.
AMDmi3 has joined #nixos
zzamboni has joined #nixos
<disasm> gchristensen: is there a trick to building the docs recently? I got this error when I was helping someone last night: https://github.com/NixOS/nixpkgs/issues/37903 -- trying to test out your highlight PR :)
<gchristensen> wat
<gchristensen> I thought ofborg tested for this
<gchristensen> disasm: unfortunately my PR only applies to nixpkgs docs, not nixos docs though
<TimePath> srhb: I like to mis-spell it 'notworking'
zzamboni has quit [Ping timeout: 246 seconds]
<srhb> TimePath: Yes.. :P
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<disasm> gchristensen: it's possible ofborg has a cached options for aarch64?
zzamboni has joined #nixos
<pbogdan> disasm: try building with nix-build -A manual.x86_64-linux
<{^_^}> [nixpkgs] @wmertens pushed 3 commits to master: https://git.io/vxzlT
<{^_^}> → 1b8d2a31 by Okina Matara: bcachefs-tools: 2018-02-08 -> 2018-03-20
<{^_^}> → 1f4f6d79 by Okina Matara: linux_testing_bcachefs: 4.15.2018.02.09 -> 4.15.2018.03.22
<gchristensen> ooohhh yeah that is it
<{^_^}> [nixpkgs] @wmertens merged pull request #37905 → linux_testing_bcachefs: 4.15.2018.02.09 -> 4.15.2018.03.22 → https://git.io/vxzTv
<{^_^}> → 4ba76fad by @wmertens: Merge pull request #37905 from Chiiruno/master
<gchristensen> "it" being pbogdan's suggestion
<disasm> pbogdan: in the root of nixpkgs?
asuryawanshi has quit [Remote host closed the connection]
<pbogdan> yeah (point nix-build at nixos/release.nix which I omitted)
<gchristensen> nix-build -A manual.x86_64-linux nixos/release.nix
<disasm> it's pretty gchristensen :)
asuryawanshi has joined #nixos
<gchristensen> :D
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
<gchristensen> the next challenge will be applying the same treatment to the nixos manual :/
<gchristensen> it is tricky b/c I want to apply the Makefile changes to it, as well, and the nixos manual is much more complicated to build
<sphalerite> pbogdan: do you know which version of nixpkgs your ghc-mod thing works with?
<disasm> pbogdan: works, thanks :)
<pbogdan> sphalerite: I'm on 18.03pre131587.b6ddb9913f2
yyadavalli has quit [Ping timeout: 260 seconds]
isidore has quit [Quit: WeeChat 2.1]
<sphalerite> pbogdan: thanks!
zzamboni has quit [Ping timeout: 256 seconds]
<disasm> gchristensen: so should I close that issue I opened?
reinzelmann has joined #nixos
zzamboni has joined #nixos
lexchill has joined #nixos
<lexchill> Just tried to design code in Blockly, feels really awesome, well, for me this block construction was way more pleasant, intuitive and faster rather than typing actual textcode https://screenshotscdn.firefoxusercontent.com/images/b5b71653-1879-43ae-bae6-c1e0c6e4f44f.png
knupfer has quit [Ping timeout: 240 seconds]
* lexchill is a fan on fun visual programming
<lexchill> I wish nix lang could be visual, with animated emojis
<{^_^}> [nixpkgs] @jtojnar pushed commit from @ryantm to master « gegl_0_3: 0.3.28 -> 0.3.30 »: https://git.io/vxz4J
<disasm> I know how to create nixos tests within nixpkgs, but lets say I have an independent repo which has it's own default.nix and depends on nixpkgs for building. Now I want to add a test to that repo that essentially runs the `./result` file it generates and then runs curl to test some things. Anyone have some examples of how I could add this functionality?
zzamboni has quit [Ping timeout: 240 seconds]
<gchristensen> you can make a nixos test in your othere repo
<TimePath> lexchill: you might also like projectional editing
zybell has quit [Ping timeout: 240 seconds]
mounty has quit [Ping timeout: 268 seconds]
<disasm> gchristensen: that's what I was thinking, do you have an example of a repo that does that I could look at to setup the scaffolding around it?
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #37795 → gegl_0_3: 0.3.28 -> 0.3.30 → https://git.io/vx0fI
<gchristensen> well jetpants does it, but that is a LOT of scaffolding for a simple test
<gchristensen> basically just import <nixpkgs/nixos/maketest> or whatever in your own repo and call it done
<lexchill> TimePath any tools, editors, IDE's you would recommend to check out?
mounty has joined #nixos
<nick_l> I specified a nix expression mypackage to be in the systempackages of a node, but how do I reference that package in a module. The module (with its imports) is in a different file (the network description).
kreisys has joined #nixos
<sphalerite> pbogdan: I had to change sourceRoot=source/core to sourceRoot=$sourceRoot/core in ghc-mod-core.nix, and it's still not building for me… do you have an overlay or something that might be making a difference?
orivej has joined #nixos
<sphalerite> I'm getting errors about it missing '<.>'
zzamboni has quit [Ping timeout: 256 seconds]
<TimePath> lexchill: none in particular, just the concept you might find interesting if you like the idea of code blocks
zzamboni has joined #nixos
AMDmi3 has quit [Ping timeout: 246 seconds]
AMDmi3 has joined #nixos
<pbogdan> sphalerite: hmm, no, I don't have any other haskell-related changes
<kreisys> Hey all I have a question about fixed point. I'm having a not-so-important issue that's just making me curious... for some reason, if I do something like 'self: super: { packageJson = importJSON "${self.src}/package.json"; }' everything works great. but if I change 'self' to a destructuring assignment like '{src}: super: { packageJson = importJSON "${src}/package.json"; }' I get an infinite recursion. I just want to understand why and what's the
<kreisys> difference
<sphalerite> pbogdan: weird. It can't compile core/GhcMod/CabalHelper.hs because of <.>
zzamboni has quit [Ping timeout: 240 seconds]
<disasm> ok that was entirely way too easy gchristensen :) I think I might just have to start adding tests to all my current projects, lol!
<gchristensen> Yes!
<sphalerite> kreisys: because the destructuring thing needs to evaluate the full key set of self, which includes your overlay
<sphalerite> kreisys: I'm not 100% sure about nix's evaluation semantics, but it might be lazy about it (and work) if you use {src, ...} instead
zzamboni has joined #nixos
zybell has joined #nixos
<kreisys> oh sorry... I *did* use the ellipsis I just forgot it in the question
<kreisys> I should really start using copy-paste instead of retyping everything :P
<pbogdan> sphalerite: the sourceRoot thing sounds familiar though, but IIRC would suggest you are building from older nixpkgs ?
<kreisys> but yeah you get infinite recursion with or without the ...
<sphalerite> kreisys: right. But yeah it'll probably still be because it wants to evaluate the key set fully. I don't think it's strictly necessary, but that's just how nix behaves ¯\_(ツ)_/¯
<kreisys> Same trace too. Which is strange because I'd expect it to just choke on extra arguments without the ...
<kreisys> So destructuring is strict?
<sphalerite> kreisys: if you just want to not use self. each time you could do self: super: let inherit (self) src; in
<sphalerite> on the key set, yes, by the looks of it
<sphalerite> pbogdan: *facepalm* yes
<kreisys> Lol I'm not hating on self or anything. Just curious :)
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
dingotux has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
krey has joined #nixos
<sphalerite> pbogdan: right, now it builds, still doesn't work right though :( <command line>: cannot satisfy -package-id megaparsec-6.4.1-DRGXF7AF78S5NwROxpffL8 even though cabal configure and friends all work fine
<sphalerite> (in a nix-shell)
<{^_^}> [nixpkgs] @fadenb opened pull request #37913 → apacheHttpd: 2.4.29 -> 2.4.33 → https://git.io/vxz0v
xy2_ has joined #nixos
kitemikaze has quit [Ping timeout: 256 seconds]
zzamboni has quit [Remote host closed the connection]
kiloreux has joined #nixos
zzamboni has joined #nixos
lexchill has quit []
<TweyII> How do I use multiple sources in a derivation?
<mpickering> add one as a dependency and then combine them together in the unpack phase
<kiloreux> I'm getting "error: executing 'tar': No such file or directory" When trying to use LnL docker image.
<kiloreux> I have a default file put inside a directory and trying to run nix-env -f directory/ -i
<TweyII> If I just set srcs I get an error about the unpack phase making multiple outputs
<pbogdan> sphalerite: :(, not sure, is your haskell project public so I could perhaps try on my end?
zzamboni has quit [Ping timeout: 260 seconds]
<LnL> kiloreux: what are you doing in the container?
<TweyII> mpickering: Where should I combine them to? I guess I don't get $src
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.1.1 -> 1.1.2 »: https://git.io/vxzEl
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « sbt: 1.1.1 -> 1.1.2 »: https://git.io/vxzE4
<mpickering> In unpackPhase you can use cp to cp them into the right place. Like cp ${foo} ...
<TweyII> Do I put them straight in $out?
<TweyII> mpickering: But what is the right place?
<kiloreux> Running that command on my local machine works fine but inside the container
<mpickering> ah ok
<disasm> gchristensen: hello world test is actually a real test now, thanks! :)
<mpickering> $sourceRoot I think
<gchristensen> nice!
<TweyII> mpickering: Aha, thank you
<TweyII> And unpackPhase is run once for each source?
<TweyII> $sourceRoot is undefined :(
thetet has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « ammonite: 1.0.5 -> 1.1.0 »: https://git.io/vxzun
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « ammonite: 1.0.5 -> 1.1.0 »: https://git.io/vxzu4
<mpickering> No
<LnL> kiloreux: does your expression use builtins.fetchTarball?
<mpickering> I think I was imprecise
<kiloreux> LnL, It does yes.
<mpickering> so in "postUnpack" copy the sources from the other sources into $sourceRoot
<LnL> yeah, you need gnutar and gzip/xz for that
<mpickering> unpackPhase is run for the original source. Then you have to manually do it for the other ones
<TweyII> mpickering: As in the first item of srcs?
<LnL> kiloreux: the baseimage doesn't have anything except for nix and coreutils
zzamboni has quit [Remote host closed the connection]
<TweyII> mpickering: I'm not sure what it means to have an ‘original source’ if using srcs instead of src
<mpickering> I don't know how srcs works
xy2_ has quit [Ping timeout: 248 seconds]
<TweyII> Ah, okay, thanks :)
<kiloreux> LnL, Thank you very much. That solved it.
zzamboni has joined #nixos
jtojnar has joined #nixos
ryanartecona has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zzamboni has quit [Ping timeout: 246 seconds]
ryanartecona has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
Rusty1_ has joined #nixos
xcmw has joined #nixos
zzamboni has quit [Client Quit]
<{^_^}> [nixpkgs] @dywedir opened pull request #37914 → mdbook: 0.1.3 -> 0.1.5 → https://git.io/vxzgP
vaninwagen has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
dingotux has quit [Ping timeout: 276 seconds]
ryanartecona has joined #nixos
dingotux has joined #nixos
<TweyII> mpickering: Turns out srcs gives you $srcs in unpackPhase; you're supposed to unpack them into .
<mpickering> how did you discover this?
<TweyII> mpickering: It's only the generic builder unpackPhase that errors out when there are multiple directories
<TweyII> mpickering: By running ‘env’ in unpackPhase and inspecting the environment. :þ
<TweyII> mpickering: $PWD is the temp build directory, $srcs is a space-separated list of store paths where the sources have been copied
rauno has quit [Ping timeout: 246 seconds]
<TweyII> mpickering: So my unpackPhase looks like this now: http://lpaste.net/5189896901184454656
asuryawanshi has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kitemikaze has joined #nixos
davidlt has quit [Remote host closed the connection]
davidlt has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #37913 → apacheHttpd: 2.4.29 -> 2.4.33 → https://git.io/vxz0v
<{^_^}> [nixpkgs] @globin pushed commit from @fadenb to master « apacheHttpd: 2.4.29 -> 2.4.33 »: https://git.io/vxzw3
<{^_^}> [nixpkgs] @grahamc merged pull request #37901 → nixpkgs docs: syntax highlight → https://git.io/vxuoe
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vxzwl
<{^_^}> → 8dac5ce1 by @grahamc: nixpkgs docs: syntax highlight
<{^_^}> → ab33c0af by @grahamc: Merge pull request #37901 from grahamc/doc/syntax-highlight
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @grahamc closed pull request #7034 → Documentation html output enhancements → https://git.io/j8N9
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<{^_^}> [nixpkgs] @grahamc pushed to release-18.03 « nixpkgs docs: syntax highlight »: https://git.io/vxzw7
zzamboni has joined #nixos
<infinisil> \bl 1222
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<gchristensen> \xn 2333
<infinisil> ignore that :P
<gchristensen> :P
drakonis has joined #nixos
<infinisil> Hackapepper: Ah just saw boomshroom's suggestion on how to disable tests, it didn't work because those were install checks, not build checks, what i posted earlier should work then (the thing with doInstallChecks = false;)
<{^_^}> [nixpkgs] @abbradar pushed 4 commits to master: https://git.io/vxzr9
<{^_^}> → f396dd1d by @volth: nvidiaLegacy304: fix build
<{^_^}> → 25ac7964 by @abbradar: linuxPackages.nvidia_x11_legacy173: drop
<{^_^}> → 00e5b20d by @abbradar: linuxPackages.nvidia_x11: build only for x86 Linux
<infinisil> gchristensen: (bl is my command to view the backlog, but i was typing with dirty hands and used the wrong slash)
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @abbradar closed pull request #37866 → nvidiaLegacy304: fix build → https://git.io/vxEcF
aminb has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vxzo8
<{^_^}> → deae713d by @adisbladis: firefox-devedition-bin: 60.0b6 -> 60.0b7
<{^_^}> → 29e757ec by @adisbladis: firefox-beta-bin: 60.0b6 -> 60.0b7
aminb has joined #nixos
chessai has joined #nixos
<{^_^}> [nixpkgs] @abbradar pushed 4 commits to release-18.03: https://git.io/vxzKU
<{^_^}> → d2b6e655 by @abbradar: linuxPackages.nvidia_x11_legacy173: drop
<{^_^}> → b65061a3 by @volth: nvidiaLegacy304: fix build
<{^_^}> → 34a2cd7d by @abbradar: linuxPackages.nvidia_x11: build only for x86 Linux
<{^_^}> [nix] @edolstra merged pull request #2011 → release.nix: Use pkgs.closureInfo for binaryTarball → https://git.io/vxELK
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vxzKc
<{^_^}> → cc6712ae by @dezgeg: release.nix: Use pkgs.closureInfo for binaryTarball
<{^_^}> → 7ec13eda by @edolstra: Merge pull request #2011 from dezgeg/use-closureinfo
<{^_^}> [nix] @edolstra merged pull request #2005 → Document fetchGit. → https://git.io/vx8ZU
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vxzKB
<{^_^}> → 6856fe62 by @shlevy: Document fetchGit.
<{^_^}> → e01c01f7 by @edolstra: Merge pull request #2005 from shlevy/fetchgit-docs
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ttuegel merged pull request #37889 → qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn ninja → https://git.io/vxuIL
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vxz6R
<{^_^}> → 807a3086 by @coreyoconnor: qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn driven ninja.
<{^_^}> → 6cd5667d by @ttuegel: Merge pull request #37889 from coreyoconnor/ninjaflags
AMDmi3 has quit [Ping timeout: 256 seconds]
AMDmi3 has joined #nixos
erasmas has joined #nixos
blankhart has joined #nixos
<makefu> i've finished my writeup of the nixos hydra article for the wiki which should give a quick overview about how to use hydra. can anybody have a quick look if i've missed something obvious which would be important for newcomers? https://nixos.wiki/wiki/Hydra
<srhb> Phew.. Finally got some workable wireguard rules up. I wish I could just stick all my regular interfaces in a different namespace and hide them away from my user.
asuryawanshi has quit [Ping timeout: 264 seconds]
<srhb> makefu: Looks good. It's a little weird that the bullet points turn into weird horizontal scrolly things.
nick_l has quit [Ping timeout: 260 seconds]
<srhb> (aside from installation, which makes sense)
<infinisil> makefu: awesome! I'm not in a position to review it, but something about the formatting: I don't like the Definition boxes, because i need to use the horizontal scroll bar to see it fully
<makefu> srhb: infinisil : ok thanks i will have a look at this. maybe i just roll with second level bullet points
alex`` has quit [Quit: WeeChat 2.0.1]
<srhb> Deployment and using looks right insofar as that was basically what I did. :-)
<infinisil> Why is enabling postgresql required? Can't hydra enable that automatically?
<{^_^}> [nixpkgs] @globin pushed commit from @fadenb to release-17.09 « apacheHttpd: 2.4.29 -> 2.4.33 »: https://git.io/vxzPU
MercurialAlchemi has quit [Ping timeout: 260 seconds]
spear2 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @globin pushed commit from @fadenb to release-18.03 « apacheHttpd: 2.4.29 -> 2.4.33 »: https://git.io/vxzP7
AMDmi3 has quit [Ping timeout: 276 seconds]
AMDmi3 has joined #nixos
spear2 has joined #nixos
<makefu> infinisil: it could, but currently it doesn't
<{^_^}> [nixpkgs] @abbradar pushed to master « linuxPackages.nvidia_x11_legacy173: drop mentions »: https://git.io/vxz1J
<makefu> maybe because postgres could be hosted on another system
<{^_^}> [nixpkgs] @abbradar pushed to release-18.03 « linuxPackages.nvidia_x11_legacy173: drop mentions »: https://git.io/vxz1I
<srhb> Actually, it does
<srhb> If you haveLocalDB true
<infinisil> Ah
<srhb> Which means that cfg.dbi == "dbi:Pg:dbname=hydra;user=hydra;"
<srhb> Because that's not convoluted at all :-)
<srhb> (I didn't discover that last time...)
<srhb> Hmm, I'm a bit surprised. Database access and provisioning is guarded by the same bool.
<makefu> haveLocalDB = cfg.dbi == localDB; - okay, interesting :)
<makefu> and dbi.default = localDB;
sweater_ has quit [Read error: Connection reset by peer]
<srhb> Right. But since it worked for you(?) that must already be true, so it must be enabling postgresql on its own?
Crypt0x has joined #nixos
<srhb> services.postgresql.enable = mkIf haveLocalDB true;
<makefu> exactly
alex`` has joined #nixos
<makefu> in the wiki i currently have the explicit enable of postgresql, but it seems it is not necessary (anymore)
<srhb> Indeed.
alexteves has joined #nixos
<makefu> yep looks good even without the explicit call
lebel has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #37915 → GIMP 2.10-RC1 → https://git.io/vxzDu
AMDmi3 has quit [Ping timeout: 265 seconds]
AMDmi3 has joined #nixos
<bgamari> what is the default value of `nix build`'s `-f` flag?
zarkone has joined #nixos
xcmw has joined #nixos
<zarkone> hi all! performin nixos-install from minimal iso, -- installation fails with "no space left". I see that `unionfs` device is full. Shouldn't it build it into my new /mnt partion instead?
<makefu> bgamari: $PWD/default.nix
<srhb> zarkone: Did you a) have very little RAM or b) forget to mount the final system on /mnt ?
<makefu> zarkone: there is currently a regression in nixpkgs which results in first copying the complete operating system description into ram
<srhb> zarkone: If a) you can swapon the swap device you created
<zarkone> I see, thanks. Will make a swap file: installing into KVM guest with 1G ram. Or, maybe e.g. 4G would be fine, what do you think?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/182dd989461 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<makefu> another solution for 1) was essentially that you have to download more ram ( https://downloadmoreram.com/ )
<srhb> zarkone: You can always get rid of it afterwards
<srhb> zarkone: The problem is fitting everything in memory during the install phase. Should be fine afterwards
<srhb> zarkone: (I run a few sub-1G machines)
<zarkone> got it, thanks! by the way, thnx for the link, because I have this dell XPS with non-extensible ram, it really helps
<makefu> ;)
<srhb> :|
<makefu> for all the 512mb machines i try to run a very minimal installation and configure what i need after it rebooted
kmicklas has joined #nixos
<makefu> however this regression should be fixed with 18.03
<zarkone> well, I haven't add anythink into auto-generated config -- only fixed a few lines like enable ssh
<zarkone> makefu: got it, thanks
<zarkone> just have no iso yet for 18.03, as I understand
pietranera has left #nixos [#nixos]
<srhb> It's not out yet. You can build it yourself, but beware, here be bugs.
<{^_^}> [nixpkgs] @romildo opened pull request #37916 → enlightenment: 0.22.2 -> 0.22.3 → https://git.io/vxzSs
<makefu> zarkone: just to let you know that people are aware of the issue and a fix is on the way
<zarkone> yeah, I've seen this on github but decide dto check out just for the case.
<infinisil> srhb: bugs in 18.03?
ryanartecona has quit [Quit: ryanartecona]
<srhb> infinisil: Well, yes.
<zarkone> my actual reason is also to learn nixos better, so I want to install it into vm. So, I see this PR for RabbitMQ which I need, but it is not merged yet. Figuring out how to plug it to my staging server setup with stable 17.09 system, i.e. repack\redefine existent version
<srhb> zarkone: That's a pretty common task, and one overlays helps you solve :)
<makefu> as long as the PR is not about nixos modules
knupfer has quit [Remote host closed the connection]
<zarkone> this PR have some commits to erlang generic builder, module-list and etc. I'm not sure how to append it properly to my system as a separate package. Could you please describe me in short or give some links?
sud0x3 has joined #nixos
<srhb> zarkone: If the changes are split over many packages or wide-ranging it might be easier to use your own nixpkgs fork that includes them on top of your stable branch, but... https://nixos.org/nixpkgs/manual/#chap-overlays
<srhb> overlays won't help with nixos things at all though
<zarkone> actually, I think that it is possible to make my own package without this EPMD as systemd service, probably, ut I want to make something that could be easily be dropped after upgrade with this PR's code
<TweyII> So I've got this PR that's been open since February: https://github.com/NixOS/nixpkgs/pull/34971 I think it might be waiting on joachifm; does anyone know what's going on with them? I'm trying to advocate Nix in my company but people are starting to hate it because they have to rebuild Godot all the time :þ
<zarkone> I see, I had this idea too, thanks for making me sure and for the link. Like, I felt like I should do somethink like this but wasnt sure how
JosW has joined #nixos
szicari has joined #nixos
knupfer has joined #nixos
<srhb> zarkone: I think that will be easier to just use a fork for, yeah.
<zarkone> srhb: got it, thanks!
<srhb> TweyII: Hmm, it doesn't look that invasive. I don't know about godot or its dependents, but maybe someone else does.
Crypt0x has quit [Quit: Crypt0x]
<srhb> It's weird how the headers aren't in dev, but I suppose that just mimics upstream architecture
<srhb> Anyway, I don't want to bikeshed, that's probably not the issue at hand :-)
<TweyII> srhb: godot_headers aren't actually the headers for godot -.- They're C headers for integrating with the GDNative API, which is essentially some kind of binding and a bit of a second-class citizen
<TweyII> But that's what the repo's called
<TweyII> srhb: Yeah, it's not invasive at all, I've been placating my colleagues with ‘any day now’ for months :þ
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/12512f25e9e (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<bgamari> makefu, are you certain of that?
<bgamari> makefu, I am seeing `nix build $foo` fail with "attribute $foo in selection path $foo not found", but `nix build -f ./. $foo` succeeds
<bgamari> this seems to suggests that `nix build`'s default `-f` isn't `.`
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.6 -> 3.2.0.7 »: https://git.io/vxzQa
<srhb> TweyII: OK, let me just check it out locally...
davidlt has quit [Remote host closed the connection]
sanscoeur has quit [Remote host closed the connection]
davidlt has joined #nixos
xy2_ has joined #nixos
freeman42x]NixOS has joined #nixos
nick_l has joined #nixos
<nick_l> In a.nix, I have a variable mypackage, which is obtained via callPackage with some parameters that are only in scope there. In b.nix (which, like a.nix is one of the arguments to nixops), I import a module mymodule.nix. In mymodule.nix, I want to actually access the variable mypackage from a.nix. How do I refer to that? Or how else should I make this work?
<ToxicFrog> How do I use nix-shell to enter a shell using a package from a specific channel?
<nick_l> The use case is that in mymodule.nix I have defined a systemd oneshot job, which doesn't have access to the PATH variable.
<srhb> ToxicFrog: The olden way is NIX_PATH=nixpkgs=path-to-other-channel nix-shell -p thatpackage I think
<ToxicFrog> I found a message on the ML that suggests using `NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos-unstable/nixpkgs" nix-shell -p ...`, but this doesn't seem to work; it gives me an old version of the package (and yes, I've looked in /nix/var/nix/profiles/per-user/root/channels/nixos-unstable/nixpkgs to make sure that my local copy of the channel isn't stale; it has the right version there)
<ToxicFrog> srhb: is there a new way?
<srhb> ToxicFrog: nix run -f thechannel package, I think
<srhb> Let me check...
<srhb> nix run -f channel:nixos-unstable wget
<srhb> For instance.
<ToxicFrog> Hmm. Looks like I haven't updated in a while and don't have `nix` yet.
<srhb> It's not in 17.09
<srhb> At least, not unless you explicitly do something
<ToxicFrog> Yeah, I'm still on 17.09. Is 18.03 still WIP?
<srhb> It is.
<ToxicFrog> Blerf.
<srhb> I don't understand why what you were doing doesn't work though. What's the package and version?
<srhb> Or you could do... NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.zip nix-shell -p wget
AMDmi3 has left #nixos [#nixos]
<ToxicFrog> youtube-dl. Version in systemPackages is 2017-10-20. Version in /nix/var/nix/profiles/per-user/root/channels/nixos-unstable/nixpkgs/pkgs/tools/misc/youtube-dl/default.nix is 2018-03-14. Version I get when I nix-shell is 2017-09-02.
<srhb> NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz nix-shell -p youtube-dl gives me 2018.03.14
<ToxicFrog> Hrm
<ToxicFrog> Oh my GOD
<ToxicFrog> I had an old overrides file in ~/.config/nixpkgs/overlays from last year
<srhb> heh :P
<ToxicFrog> Which included an override to youtube-dl, which apparently applies to all uses of nix-shell
<nick_l> srhb: do you know how I can do the above?
<srhb> Indeed.
<makefu> bgamari: you are right, the magic is well hidden somewhere within https://github.com/NixOS/nix/tree/2.0-maintenance/src/nix ...
<srhb> nick_l: Why not just add it as an overlay so you can refer to it from pkgs?
<bgamari> makefu, is it supposed to be ./.?
<srhb> In a NixOS context, that makes most sense to me, I think.
<bgamari> It seems like this would be much more convenient
<nick_l> srhb: this is for a nixops deployment. I don't want to have files in user directories.
<srhb> Uh, not understood.
<makefu> bgamari: it is, if yo run 'nix build' on some other directory it says 'error: opening file .../default.nix ...'
sellout- has joined #nixos
<bgamari> makefu, so I'm confused, if ./. is the default why I am I seeing the failure I reported above?
<nick_l> srhb: I currently have nixops a.nix b.nix, but I suppose I could just merge a.nix and b.nix into one file and then the issue would not exist, right?
<tilpner> nick_l - You can use overlays without adding files into user directories
<nick_l> tilpner: oh, how?
<srhb> nick_l: nixpkgs.overlays = [ ...
Tucky has quit [Quit: WeeChat 2.1]
<tilpner> Only the third option mentiones ~/.config
<makefu> bgamari: it seems to be related to something else i guess.. maybe the nixpkgs default.nix is not supposed to yield the package anymore? idk i am confused as well :D
<srhb> So your deployment specifies nixpkgs.overlays = [ (self: super: { a = self.callPackage a.nix {}; } ) ]; and then b.nix just refers to pkgs.a
<srhb> (.whatever)
sellout-1 has quit [Ping timeout: 256 seconds]
archaeron has joined #nixos
leothrix has joined #nixos
<srhb> TweyII: I see one difference when I run godot in a pure shell: It appears to be missing some alsa stuff. Is that intentionally impure, or acceptable?
<srhb> Oh, I guess the sandbox is just more powerful than I figured
<srhb> Looks fine.
<bgamari> makefu, I've opened https://github.com/NixOS/nix/issues/2017
<nick_l> tilpner: thanks
kreisys has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @srhb merged pull request #34971 → Update and introduce Godot and godot_headers → https://git.io/vAG6G
<{^_^}> [nixpkgs] @srhb pushed 14 commits to master: https://git.io/vxzF3
<{^_^}> → ef7a25fc by @Twey: godot: 2.1.4 -> 3.0
<{^_^}> → 494a4ef3 by @Twey: godot_headers: init at 51bca3bf5d917341f3e15076c5a9191f8a5118ae
<{^_^}> → 62ab6170 by @Twey: godot_headers: clean up output path
peacememories has joined #nixos
<srhb> Oh shoot, that could have been squashed a bit. Ah well.
<makefu> bgamari: weird enough though `nix build -f ./default.nix hello` works as expected
zzamboni has quit [Quit: Leaving.]
<bgamari> makefu, it seems to me that this may be a bug
<makefu> okay perfect :D
hotfuzz_ has joined #nixos
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed 4 commits to master: https://git.io/vxzFD
<{^_^}> → b0482248 by @shlevy: meta: Add badPlatforms attribute for platform blacklisting.
<{^_^}> → cdf9a78a by @shlevy: kexectools: Disable only on RISC-V if Linux.
<{^_^}> → 26e8d58c by @shlevy: libseccomp: Disable only on RISC-V if Linux.
hotfuzz has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #37803 → Explicitly account for current limitations of RISC-V kernels → https://git.io/vx0Tq
<srhb> Wuh...
sud0x3 has quit [Ping timeout: 256 seconds]
<shlevy> srhb: It's not the first time
<shlevy> For some reason github has been misattributing a lot of my merges lately
<srhb> shlevy: O_o
<shlevy> I guess because you did a merge right before?
<srhb> Yep
<srhb> I'm glad you were here, I was getting all sweaty palms :-P
<shlevy> :D
<TweyII> srhb: Yeah, alsaLib lives in there; what does it miss in sandbox?
nick_l has quit [Ping timeout: 260 seconds]
<srhb> TweyII: I don't think it's a library thing. Must be envs :)
<TweyII> Cool I guess :)
sud0x3 has joined #nixos
<TweyII> srhb: Thanks so much! My coworkers will appreciate you next we get a release
dingotux has quit [Quit: Konversation terminated!]
chessai has quit [Ping timeout: 246 seconds]
<bgamari> shlevy, so I have rebased my cross branch on your fix and indeed crossSystem works beautifully
<shlevy> Nice!
chessai has joined #nixos
<bgamari> shlevy, regarding large file support
<bgamari> fetchurl does mostly work in my case
<bgamari> however it's rather inconvenient and I was wondering if you knew a way around this
<shlevy> bgamari: What's the specific inconvneinece?
<shlevy> If its the hash specification, that's exactly what niksnut and I are trying to hash out :)
<shlevy> (heh, hash out0
<bgamari> namely, the 16 GB installation tarball which is the source of the derivation isn't publicly accessible
<bgamari> it requires registration with the vendor
<shlevy> Ah
<bgamari> so you need to manually download it
<bgamari> which is fine
<shlevy> bgamari: See requireFile in nixpkgs
<bgamari> but nix-prefix-url chokes on the large file
<shlevy> Ah, I *think* that should be fixed on master. niksnut ? ^
<bgamari> hmm
<shlevy> Ah I guess it has the same issue
<shlevy> Because you don't know the hash yet
<bgamari> ahh right
<shlevy> So in principle, nix-store --add-fixed could take a hash or nix-prefetch-url could take a hash
<shlevy> And we could output the expected hash in the requireFile output
<shlevy> And I *think* that would fix the issue.
<bgamari> sounds plausible
<shlevy> bgamari: If you're not able to take a stab can you open a github ticket and tag me?
<bgamari> sure
<shlevy> Thanks!
<bgamari> shlevy, wouldn't --add-fixed potentially be a security issue though?
ryanartecona has joined #nixos
<bgamari> since you could add files to the store with hashes that don't match their contents?
* bgamari isn't quite clear on the security model the store tries to accomodate
<shlevy> bgamari: They don't get validated until the hash is checked
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37918 → meta: Simplify platform check logic → https://git.io/vxzAZ
<shlevy> So yeah you could create /nix/store/some-hash-foo with the wrong contents, but it would never actually be presented as a build input to a drv or counted as already there when fetching substitutes or anything
digitus has joined #nixos
<shlevy> You can do that with fetchurl too if you interrupt it at the right point and don't have sandboxing
<shlevy> (note that --add-fixed already exists, we'd just be adding a hash flag)
<bgamari> I see
<bgamari> hmm
<clever> there was a thing on the nix mailing list, about using a nix tool to compute the output path of a given thing
<bgamari> shlevy, was it added recently?
<clever> manually copying it into /nix/store
<clever> and then registering it as valid
<shlevy> bgamari: Nope, but I'm not sure if it's documented
<bgamari> ahh
<bgamari> indeed it's not
<shlevy> bgamari: 2005 :D
bkchr has quit [Quit: Konversation terminated!]
ryanartecona has quit [Ping timeout: 260 seconds]
roberth has quit [Ping timeout: 268 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexteves has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
robstr has quit [Ping timeout: 276 seconds]
<bgamari> shlevy, do let me know if I've misrepresented the idea
<LnL> Mic92: I'm running into the permission issue again with the fixed image :/
<Mic92> LnL: chmod harder?
<LnL> it is on an older machine...
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gitattributes: disable merge=union in all-packages »: https://git.io/vxzp4
Ariakenom has joined #nixos
<Xyoff> chmod --harder
<shlevy> bgamari: Perfect, thanks!
Xyoff is now known as unacceptable
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
zarkone has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8e34b6def1e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jetien has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vxzhK
<{^_^}> → f5a48fe3 by @joachifm: electrum: 3.1.0 -> 3.1.1
<{^_^}> → 707a1ce0 by @joachifm: tor-browser-bundle-bin: 7.5.2 -> 7.5.3
<LnL> Mic92: hmm, error while loading shared libraries: libdl.so.2
marusich has quit [Quit: Leaving]
<Mic92> LnL: well the obvious first question is: is it in the nix store of container? The second one is, are all permissions correct?
alexteves has joined #nixos
<LnL> how do you print rpaths for elf binaries again?
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-18.03: https://git.io/vxzj8
<{^_^}> → 43a979c9 by @joachifm: electrum: 3.1.0 -> 3.1.1
<{^_^}> → 9e8f45e6 by @joachifm: tor-browser-bundle-bin: 7.5.2 -> 7.5.3
srjek_ has joined #nixos
civodul has quit [Ping timeout: 265 seconds]
xy2_ has quit [Ping timeout: 276 seconds]
winem_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @joachifm pushed 4 commits to release-17.09: https://git.io/vxzjM
<{^_^}> → e1a8134d by @joachifm: tor-browser-bundle-bin: 7.0.11 -> 7.5
<{^_^}> → a7846462 by @joachifm: tor-browser-bundle-bin: 7.5 -> 7.5.1
<{^_^}> → dad418f6 by @joachifm: tor-browser-bundle-bin: 7.5.1 -> 7.5.2
rauno has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #37897 → Tarsnap: add symlink options and a restore service → https://git.io/vxugq
<{^_^}> [nixpkgs] @yegortimoshenko pushed 4 commits to master: https://git.io/vxzj5
<{^_^}> → d4625956 by @mkaito: Add support for tarsnap options -H and -L
<{^_^}> → bde525aa by @mkaito: Add restore service for tarsnap archives
<{^_^}> → c515f703 by @mkaito: Address @yegortimoshenko review
<coconnor> I spent far longer than I would have liked getting QGis 3.0 working.
<coconnor> oh well! it's working
<coconnor> morning all!
sigmundv has quit [Ping timeout: 264 seconds]
raynold has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « plasma: 5.12.3 -> 5.12.4 »: https://git.io/vxgen
<jluttine> is there some correct way of creating temporary mount directories for a user? when i plug a usb stick, it is mounted automatically somewhere. i'd like to write similar magic in my script. a safe way to mount something for a user
<krey> jluttine: udisks?
<Mic92> michaelpj: readelf
<Mic92> oh I mean LnL
<Mic92> readelf -a
<Mic92> or ldd to get the result
<Mic92> of missing libraries
kiloreux_ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.scapy: 2.3.3 -> 2.4.0 »: https://git.io/vxge7
jrolfs has joined #nixos
<jluttine> krey: hmm.. i'm using sshfs and so that does the mounting, i suppose. i just need a directory, i wonder if udisks can create and provide me that.. or if sshfs has some magic for that in itself hmm..
michas__ has joined #nixos
kiloreux has quit [Ping timeout: 240 seconds]
<michas__> Hi, is there an easy way to build a qemu disk image using a usual configuration.nix file?
<Mic92> jluttine: I don't think there is a convention for mount points. You could use $(mktemp -d)
<{^_^}> [nixpkgs] @vbgl opened pull request #37919 → coqPackages.bignums: make it available for Coq 8.8 → https://git.io/vxgvH
generic has joined #nixos
<LnL> Mic92: everything looks fine, definitely depends on the kernel/docker version
__Sander__ has quit [Quit: Konversation terminated!]
generic_ has joined #nixos
generic_ is now known as genericum
<Mic92> michas__: also nova-config might be not what you want: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/nova-config.nix
<Mic92> in which case you can replace it with something of your own tast
<Mic92> *taste
<Mic92> LnL: how old is the kernel?
<Mic92> I don't see how it can depend on the docker version. Docker just execve the target binary
<gchristensen> docker makes shocking changes between revs
<LnL> bbl, super hungry right now
zzamboni has quit [Quit: Leaving.]
<gchristensen> like that time they decided in a patch release that docker is never run on machines which also forward network traffic
<Mic92> gchristensen: but this does not change how the kernel loads binaries.
<michas__> Mic92: Oh, nice. I just now stumbled over https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-disk-image.nix - is there a major difference between those two?
<gchristensen> I dunno :?
generic has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 252 seconds]
zzamboni has joined #nixos
<Mic92> michas__: my link is just an example of what you found targeted at openstack.
<Mic92> example usage
<Mic92> gchristensen: Did you that the shebangs where implemented in the kernel on linux, but not on macOS?
<gchristensen> yeah :|
<gchristensen> and in macos the shebang can't be a script
<Mic92> in theory it could be but then you need a smarter libc.
<michas__> Mic92: Oh, now I see. the one is using the other. Thanks. that will help.
jrolfs has quit [Ping timeout: 240 seconds]
davidlt_ has joined #nixos
aarvar has joined #nixos
xcmw has joined #nixos
zybell has quit [Ping timeout: 256 seconds]
rihards has joined #nixos
shabius has joined #nixos
davidlt has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
sanscoeur has joined #nixos
jrolfs has quit [Ping timeout: 276 seconds]
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 240 seconds]
kerrhau has quit [Ping timeout: 240 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Myrl-saki has joined #nixos
<Myrl-saki> Uhhh
<Myrl-saki> How do I use `nix run`?
<Myrl-saki> myrl@myrl:~/Doc/asciivn[master•]$ nix run nixpkgs.hello
<Myrl-saki> error: attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found
<{^_^}> [nixpkgs] @romildo opened pull request #37920 → efl: patch binary to handle manual dependency on libcurl.so → https://git.io/vxgTa
<LnL> Mic92: 3.13
<{^_^}> [nixpkgs] @gnidorah opened pull request #37921 → nixos/nginx: add gitweb sub-service → https://git.io/vxgTV
<LnL> gchristensen: I think that changed with 10.12
<Mic92> LnL: ubuntu 14.04?
<LnL> yup, like I said old :)
<gchristensen> hm?
<gchristensen> ohh cool
<Mic92> LnL: our glibc should support at least 3.2: http://man7.org/tlpi/api_changes/#glibc-2.28
<Mic92> LnL: this is not macOS :)
<LnL> hmm?
<Mic92> because you where concerned about the old kernel
<Mic92> *were
genericum has quit [Quit: Mutter: www.mutterirc.com]
<Mic92> actually it is 2.6.32 for x86_64 intel
<LnL> oh, not like that
<LnL> but docker or the kernel are the only things that could cause problems at this level
<{^_^}> [nixpkgs] @jwiegley merged pull request #37919 → coqPackages.bignums: make it available for Coq 8.8 → https://git.io/vxgvH
<{^_^}> [nixpkgs] @jwiegley pushed 2 commits to master: https://git.io/vxgkW
<{^_^}> → f3c8036a by @vbgl: coqPackages.bignums: make it available for Coq 8.8
<{^_^}> → 7f2305c4 by @jwiegley: Merge pull request #37919 from vbgl/coq-bignums-8.8
<TweyII> Myrl-saki: `nix run -f '<nixpkgs>' hello` works
<Mic92> LnL: well it could be also security profiles
<TweyII> Oh
<LnL> what's that?
<Mic92> you also did not actually told me what the error is.
<TweyII> Myrl-saki: So does ‘nix run nixpkgs.hello’…
<Myrl-saki> TweyII: `echo $NIX_PATH`?
<Mic92> LnL: like apparmor
roberth has joined #nixos
<Myrl-saki> TweyII: The `-f <nixpkgs>` method works.
<Myrl-saki> TweyII: I'm guessing my $NIX_PATH is incomplete.
zzamboni has quit [Quit: Leaving.]
<TweyII> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<TweyII> Myrl-saki: That wouldn't do it
<Myrl-saki> TweyII: Oh, makes sense. I don't use nix-channel.
<TweyII> Myrl-saki: NIX_PATH is how it looks up <nixpkgs> in the first place
leat has quit [Ping timeout: 260 seconds]
<TweyII> So you must have nixpkgs in your NIX_PATH, if <nixpkgs> works.
<ottidmes> Myrl-saki: I don't either, yet both examples given by TweyII work for me
Myrl-saki has quit [Remote host closed the connection]
Myrl-saki has joined #nixos
<Myrl-saki> ottidmes: `echo $NIX_PATH`?
zybell_ has joined #nixos
<ottidmes> Myrl-saki: It's basically the same as TweyII's, what is yours?
<Myrl-saki> ottidmes: I don't have nixpkgs
<Myrl-saki> Wait, yeah, this doesn't make sense.
<Myrl-saki> Oh, it does.
<Myrl-saki> /etc/nixos:nixos-config=/etc/nixos/configuration.nix
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/12512f25e9e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<Myrl-saki> I guess it does <nixpkgs> does `/etc/nixos/nixpkgs/`
<ottidmes> Myrl-saki: Guess so, but I believe it only still does that for nixpkgs, since Nix 2.0
jrolfs has joined #nixos
<Myrl-saki> ottidmes: Either way, let me add nixpkgs-
<Myrl-saki> `nixpkgs.hello` works now.
<Myrl-saki> Well, this is confusing. I just won't question it.
<{^_^}> [nixpkgs] @xeji opened pull request #37922 → libsepol,libselinux: fix i686 build → https://git.io/vxgIj
<{^_^}> [nixpkgs] @7c6f434c pushed to master « libreoffice: wrap to set JAVA_HOME, SAL_USE_VCLPLUGIN and DBus session if not set »: https://git.io/vxgLf
srjek_ has quit [Ping timeout: 276 seconds]
<ottidmes> Myrl-saki: I distinctly remember someone having trouble with NIX_PATH and seeing a issue stating that something about how NIX_PATH is resolved changed, but if I do <lib> it still resolved to "<nixpkgs>/lib", have to look that up again
<{^_^}> [nixpkgs] @garbas merged pull request #37717 → qpid-cpp: fix build → https://git.io/vxB3x
<{^_^}> [nixpkgs] @garbas pushed commit from @Ma27 to master « qpid-cpp: fix build »: https://git.io/vxgLs
rauno has quit [Ping timeout: 256 seconds]
<clever> ottidmes: sometimes NIX_PATH can wind up set like NIX_PATH=/home/clever/nixpkgs/ and the dist tarball includes a nixpkgs symlink to .
<lejonet> What stupid thing have I've done to my repo if I get "extend attribute doesn't exist" when trying to deploy a new kernel :(
<clever> so <nixpkgs> still maps correctly
<clever> but a side-effect is that <lib> also works, but only when the path is set "wrong"
<LnL> Mic92: that's definitively not the case, I can nsenter to root (don't tell anybody) -_-
thetet has quit [Quit: Leaving.]
leat has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
<Mic92> LnL: well nsenter does not apply anything but namespaces, but if something fundamental like libdl.so fails too load, you also do not get a shell?
<Mic92> (without nsenter)
<Mic92> for example docker exec
<LnL> not as a nixbld user, then it fails to find glibc libraries
<Mic92> LnL: an you are sure, it is not the same permission problem/old docker image?
<Mic92> *and
<TweyII> Are there any tools in nixpkgs for building binaries that reference impure paths? I'm trying to build release binaries for other platforms from my Nix expression
Myrl-saki has quit [Quit: WeeChat 2.0]
<LnL> yes, I can reproduce it with the image I pushed and that works fine on my nixos box
<{^_^}> [nixpkgs] @garbas opened pull request #37924 → uplifting #37717 pr to release-18.03 branch → https://git.io/vxgto
<ottidmes> clever: Found it, the issue I remembered had to do with attribute names rather than <name> resolving: https://github.com/NixOS/nix/issues/1865 and https://github.com/NixOS/nix/pull/1942#issuecomment-371099761
blankhart has quit [Ping timeout: 276 seconds]
blankhart has joined #nixos
phreedom has joined #nixos
phreedom has quit [Client Quit]
phreedom_ has joined #nixos
phreedom_ is now known as phreedom
<LnL> Mic92: another box with 3.19 works
rauno has joined #nixos
<srhb> TweyII: I'm wondering, would it be possible to have an fhsenv inside the build?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> LnL: if does work as root, I still sceptical it is a kernel problem.
<Mic92> *I am
jrolfs has joined #nixos
<TweyII> srhb: Yeah, I wonder
<Mic92> srhb: it is possible
<Mic92> I think our bazel derivaiton used that at some point.
<srhb> oh!
<Mic92> *derivation
<Mic92> I am not sure if this still the case
<srhb> Doesn't look like it.
<srhb> Would be handy in this case though
<infinisil> You can't really do anything like changing paths without user namespaces or root
<infinisil> Afaik
peacememories has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/74959124253 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<TweyII> infinisil: User namespaces is fine, I have those (on my NixOS build machine)
<LnL> Mic92: yeah dunno, either way I can work around it
<infinisil> Not sure if they're usable in nix builds though
<infinisil> You can use bubblewrap to easily bind certain paths to others with usernamespaces
<Mic92> LnL: if that would be the case a modern ubuntu/arch image should not work as well
<{^_^}> [nixpkgs] @dtzWill merged pull request #37892 → virglrenderer: fix missing include → https://git.io/vxutO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vxgmR
<{^_^}> → 4037d68d by @dtzWill: virglrenderer: fix missing include
<{^_^}> → 1c110d52 by @dtzWill: Merge pull request #37892 from dtzWill/fix/virglrenderer-include
<Mic92> srhb: what are you trying to bend?
John882 has joined #nixos
<lejonet> If I get "attribute 'extend' missing, at /etc/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix, line 39" what did I screw up with my git checkout? if I try to set boot.kernelPackages to anything I get that
petar has quit [Remote host closed the connection]
coot has quit [Quit: coot]
petar has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 260 seconds]
<LnL> thought I was going to have to revert my 2.0 update for a second
coot has joined #nixos
<srhb> Mic92: I was just thinking along to TweyII's needs :) Building a binary for execution on an (I assume) FHS system
<Mic92> srhb: ah makes sense.
xcmw has joined #nixos
archaeron has quit [Ping timeout: 240 seconds]
<Mic92> srhb: TweyII you can also use a vm of the target linux distribution to build stuff inside nix. This is what nix uses to build deb/rpm packages.
<Mic92> might be easier
<elvishjerricco> Are there plans to switch nixos-rebuild to the nix 2.0 style one-line output?
jb55 has joined #nixos
<Mic92> elvishjerricco: is this not already the case for 18.03?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9e8f45e6711 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<elvishjerricco> Mic92: I don't think so
<Mic92> ah, now I understand what you mean
<Mic92> I don't think so
<elvishjerricco> Mic92: Is there any logistical problem, or would that be a welcome PR?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #37925 → libuuid: use OSSP uuid → https://git.io/vxgY2
knupfer has quit [Remote host closed the connection]
<TweyII> srhb: Right
<Mic92> elvishjerricco: would be a bit compleciated. nixos-rebuild is a shell script.
<TweyII> Mic92: I'm having a look at Nix's release.nix, but it seems pretty specialized to Nix
<elvishjerricco> Mic92: Wouldn't it just be switching `nix-build` to `nix build`?
<TweyII> And even then there's a manually written rpmspec in the repo
<Mic92> elvishjerricco: ok. thought you want to rebuild the whole output.
<Mic92> elvishjerricco: sounds reasonable then I guess?
<Mic92> Personally I went away from one line output for package reviews, because it hide intermediates errors.
<elvishjerricco> Mic92: Meh. Looks like it has a bunch of stuff with building and activating on other hosts that might make it harder to do.
<TweyII> Mic92: It compiles a ‘source tarball’, not a Nix expression/derivation
<elvishjerricco> Mic92: Yea I can see that for NixOS developers. But the typical user probably would prefer the one line output for an OS upgrade
<TweyII> Mic92: I think that gets generated by https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/release/source-tarball.nix which essentially adds autoconf
<Mic92> TweyII: mhm. looks like you need vmTools.runInLinuxImage then.
drakonis has quit [Read error: Connection reset by peer]
<Mic92> still saner then using libvirt/vagrant, I would say
<coconnor> heh
<TweyII> Mic92: It does look like vm/default.nix is what I need
<TweyII> And I guess I'll have to write the rpmspec and… whatever Debian uses myself
<Mic92> TweyII: if you are in hurry: https://github.com/jordansissel/fpm
cacatoes has left #nixos ["WeeChat 1.6"]
stqism has quit [Remote host closed the connection]
<TweyII> Mic92: Mmm, shame it doesn't support Nix expression inputs! Cool link, though, thanks
jb55 has quit [Ping timeout: 260 seconds]
acowley has quit [Quit: ZNC - http://znc.in]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « treewide: remove placeholder usage »: https://git.io/vxgGu
<Mic92> TweyII: I will happily review a nixpkgs pr, if you build something for fpm, that does this
<gchristensen> that'd be so cool
<Mic92> nix2anything
<Mic92> given that travis supports nix...
<lejonet> O.o nix-channel --update gives me no space left on device even tho I have at the most 31% utilized on /, this machines is acting weirder and weirder :(
<{^_^}> [nixpkgs] @jtojnar merged pull request #37860 → treewide: remove placeholder usage → https://git.io/vxEUW
<Mic92> lejonet: btrfs?
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to release-18.03: https://git.io/vxgZL
<{^_^}> → 77c457b2 by @shlevy: pythonPackages.py4j: Init at 0.10.6.
<{^_^}> → 92b18165 by @shlevy: pythonPackages.pyspark: Init at 2.3.0
* Mic92 hides
<lejonet> Mic92: nope, ext4
<johnw> lejonet: at least that one I might have an answer for
<lejonet> thinking about the "metadata full" problem btrfs have had?
<lejonet> johnw: :D
TweyII has quit [Ping timeout: 265 seconds]
<Dezgeg> 'df -i' reporting all inodes in use then?
<johnw> lejonet: run this: echo 1048576 > /proc/sys/fs/inotify/max_user_watches
<johnw> and then try the update again
<Dezgeg> nix-channel doesn't use inotify
<lejonet> johnw: same result
<lejonet> Dezgeg: nope, there it says 21% used for /
<Dezgeg> I guess some other filesystem, say /tmp or /run gets full then
<lejonet> I don't have any other filesystem even near anything but 0% or 1% except for my rootfs :(
jrolfs has quit [Ping timeout: 276 seconds]
<lejonet> and the rootfs is 31%, just did a huuuge gc, because I thought it was whining at me having 97% on /, but it seems to not like something else
<lejonet> strace seems to say that openat hardly finds anything at all, so I'm thinking its more that the GC that maybe was a bit too agressive?
<lejonet> it can't find libnixmain.so or glibc and such
<lejonet> or well, eventually it seems to find them, have to look at like 901239013 places first tho lol
<lejonet> "error cloning builder process no space left on device", almost seems like it isn't allowed to fork or something
<Dezgeg> well, yes
<Dezgeg> 'man 2 clone' lists three potential reasons
jrolfs has joined #nixos
<lejonet> ah, I apparently have nix 2.0 now, I'm guessing the build daemon hasn't been upgrade then? (how do I check that...)
orivej has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<ottidmes> lejonet: `systemctl status nix-daemon` should give you that info, right? Or did you mean something else?
<lejonet> ottidmes: well I want to double check its version, but its in the path of that and the nix-daemon seems to be dead, I would think that is the reason :P
pie_ has joined #nixos
<lejonet> apparently not... starting the nix-daemon didn't fix it
<ottidmes> lejonet: /run/current-system/sw/bin/nix-daemon --version
pkill9 has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
vaninwagen has joined #nixos
<lejonet> ottidmes: yep, outputs 2.0, I'll try a normal rebuild switch, without --upgrade and then try to do the --upgrade afterwards and see if it changes anything
<{^_^}> [nixpkgs] @avnik opened pull request #37927 → toxiproxy: Init at 2.1.3 → https://git.io/vxgcl
jtojnar has joined #nixos
<ottidmes> lejonet: And nix-env --version returns 2.0 as well? i.e. you have not shadowed it with a nix 1.11 install?
<lejonet> ottidmes: yes
<lejonet> ottidmes: both says 2.0, however the rebuild switch wants to pull in 1.11.16, so I guess I'll go with that and see if I can do a update afterwards or something
<srhb> lejonet: --upgrade just runs nix-channel --update, if you didn't know
<lejonet> srhb: yes I know that :)
<srhb> Ah, good.
<lejonet> just wanted to double check if it indeed was nix-channel that errored out or not :)
* srhb nods
<srhb> Makes sense :)
<ottidmes> lejonet: It will still download 1.11 for tools like nix-repl
<lejonet> lol, seems like its pulling down half of cache.nixos.org xD
<srhb> What did you _do_ :P
<lejonet> (like I said earlier, did a huuuge gc earlier)
<lejonet> poor nixos, the things it has to go through at my hands...
<srhb> If they were gc'ed they shouldn't suddenly become needed again.
<srhb> That would imply you having gc roots to them, in which case they wouldn't just be removed by a gc.
<srhb> (Assuming no wide ranging changes to your config just now)
nwspk has quit [Ping timeout: 240 seconds]
<lejonet> weeeelll *prepares to duck behind a wall*
<srhb> Like.. What did you _do_ :D
<lejonet> I've decided to switch from my local git checkout to an actual nix-channel *ducks for cover*
<srhb> Ah, that would do it :-P
asuryawanshi has quit [Remote host closed the connection]
petar has quit [Remote host closed the connection]
<lejonet> atleast I went to the unstable channel! :P
<srhb> At least you won't have to reBUILD the world...
<lejonet> I can do that too!
<srhb> I'm actually on 18.03. I'm going to try running on stable for this cycle!
<srhb> (Hah, I say that every time...)
asuryawanshi has joined #nixos
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
<lejonet> xD
nwspk has joined #nixos
<lejonet> I've just accepted the fact that for most of my systems, stable will do, but not my desktop
<lejonet> meh "error: unable to start build process" my machine is mad at me :(
petar has joined #nixos
<srhb> Maybe switch back to your repo first to try to limit the moving bits?
<srhb> Oh, you gc'ed
<srhb> Nevermind
<srhb> :P
MichaelRaskin has joined #nixos
<lejonet> I gc'd before switching tho :P
<srhb> Could work then
<srhb> Without having to rebuild the world
<ottidmes> 18.03 basically is unstable at the moment, I can remove my unstable checkout from my overlay and all pkgs.unstable.<name> references, until it becomes outdated again
<lejonet> srhb: same result, its mad at me
<srhb> lejonet: Yikes.
<lejonet> how do I bribe it? :(
stqism has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/vxgCH
<{^_^}> → fc58ab2f by @peti: LTS Haskell 11.2
<{^_^}> → 5dd264af by @peti: haskell-getopt-generics: drop obsolete override for GHC 8.4.1
<{^_^}> → 234c42b8 by @peti: haskell-json: drop obsolete override for GHC 8.4.1
jrolfs has quit [Ping timeout: 240 seconds]
<srhb> lejonet: Could you pastebin the full build log for starters
<lejonet> srhb: where'd I find that? or you want me to wgetpaste the output or similar?
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/74959124253 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<srhb> lejonet: The output should be fine
<srhb> lejonet: Otherwise I'd probably just try to boot into a known working generation and try a build from there.
<lejonet> srhb: "Known working generation" well, I hope I still have one of those xD
<srhb> Don't delete your old generations! :P
<lejonet> but my / was at 97%!
<lejonet> (this is a VM)
<srhb> --delete-older-than 300d :P
<srhb> Oh
<srhb> Okay :P
<lejonet> I did a --delete-older-than 14d...
<srhb> How conservative!
<srhb> :-)
<infinisil> I occasionally need to do --delete-older-than 1d..
<srhb> Ouch.
<lejonet> I literally only have this machine for nixops lol
<infinisil> because my /boot is only 100MB, so it can only contain 2-3 kernels
<lejonet> infinisil: xD
<srhb> Oh, yeah, the /boot issue I learned the hard way the first time around :/
<srhb> Also because of how silly the removal process is
<ottidmes> I just delete all generations :P but I make sure my current one works, and only garbage collect when I really need to
<srhb> (ie. it being ties to the switch, not the gc)
<srhb> tied*
<infinisil> Not sure why i thought 100MB was enough, it wasn't my first installation
<MichaelRaskin> The hard way is what happenned with GRUB1 and ~ 200 top-level items
<lejonet> and nix-daemon is getting "error: cloning builder process: No space left on device" in systemctl status nix-daemon
<MichaelRaskin> (It didn't cut off the new ones, or the old ones — it just garbled the entire menu)
<srhb> lejonet: You're not using hardened, right?
orivej has quit [Ping timeout: 240 seconds]
<srhb> MichaelRaskin: I stand humbled :P
<lejonet> srhb: I shouldn't be, let me double check
peacememories has joined #nixos
<srhb> lejonet: Because it sounds a lot like this: https://github.com/NixOS/nix/issues/1915
<MichaelRaskin> But I agree that /boot overflow is a significant gotcha
<lejonet> srhb: I had enabled hardened on this machine, I'll disable sandbox and try
<srhb> lejonet: So any/all of the workarounds in there might be worth trying
<srhb> lejonet: Ah good, then you're probably good to go :)
peacememories has quit [Client Quit]
<lejonet> srhb: oh cool, so the sandbox uses userns now, upping /proc/sys/user/max_user_namespaces to 65536 made it work
<srhb> lejonet: huzzah
<lejonet> srhb: I can even do --upgrade! :D
<srhb> Will the wonders never cease :-)
<srhb> But annoying bug indeed.
<srhb> At least your system wasn't hosed -- that's nice :P
<lejonet> yeah, that "no space left on device" as a generic error of "out of resources" have annoyed me for a looooong time :P
<lejonet> Even with my best try, I couldn't hose it, yay! xD
<srhb> It's like trying to use ip as a sensible CLI
<srhb> FILE ALREADY EXISTS
<srhb> what
<srhb> I was making a route
<lejonet> hahaha
<srhb> :|
<lejonet> ip is a sensible cli, ever tried ifconfig? ;)
<srhb> I prefer the error messages of ifconfig any day of the week.
<srhb> But in other regards, I do prefer ip
<Mic92> srhb: yeah, that's the problem if tools just stringify errnos from the kernel.
<srhb> Indeed.
<lejonet> :P
<srhb> The dreaded ENOENT
<srhb> ???
<lejonet> gaaaah, still "attribute extend missing" when trying to use another kernelpackage :(
<lejonet> what did I break _this_ time? :P
<srhb> What is your kernelPackages actually set to? Sounds like the kind of thing that happens if you don't specify an actual package set.
<lejonet> pkgs.linux_testing
<srhb> You want linuxPackages_testing
<srhb> Psychic debugging ftw
JosW has quit [Quit: Konversation terminated!]
<lejonet> :P
mahalel_ has joined #nixos
<srhb> But yeah, that option expects a set of packages of which just one is mandatory (iirc), namely *.kernel
<lejonet> and figuring out the proper name is a nightmare... xD
<srhb> Right.
<srhb> The hint that it's kernelPackage*s* not kernelPackage is a bit subtle :p
<lejonet> I was thinking more that its hard to find what the proper name for the kernelpackages is
<srhb> They're all linuxPackages_something iirc
<lejonet> because I found linux_testing from "nox kernel", which has this: 138 linux-4.15-rc1 (nixos.linux_testing)
<lejonet> The Linux kernel (with patches: bridge-stp-helper, modinst-arglist-too-long)
<srhb> Aside from linuxPackages which is the base set with the default linux kernel
<lejonet> so whats the proper name for the copperhead kernel then? linuxPackages_copperhead?
<srhb> lejonet: I just linuxPackages_copperhead_hardened
<srhb> Er, that was two messages
<lejonet> I'll try that lol
<ottidmes> linux_hardened_copperhead
<srhb> I'm pretty sure you mean to use linuxPackages
<srhb> As in, you're attempting to set boot.kernelPackageS
<srhb> (Which is not just the linux kernel, hence the complaint from ottidmes) :-)
<ottidmes> srhb: wait wut? I just meant to note that its: linuxPackages_hardened_copperhead not linuxPackages_copperhead_hardened, or they changed it since 17.09
<srhb> ottidmes: You're right! And they did change it.
<srhb> linux_hardened_copperhead = linux_copperhead_hardened; # alias for backward compatibility
<srhb> But in 17.09 it is indeed as you say.
ma27 has quit [Ping timeout: 256 seconds]
<srhb> Interestingly there's no backwards compatible alias for the linuxPackages for it.
ma27 has joined #nixos
<srhb> lejonet: Anyway, on nixos-unstable (that was what you changed to, right?) it's linuxPackages_copperhead_hardened
<lejonet> srhb: yeah, we'll see if I go back to my checkout, this was one of the things I was going to see if it was due to something I screwed up with my git repo :P
<lejonet> but copperhead_hardened is the "new" name? not hardened_copperhead?
jrolfs has joined #nixos
<srhb> Yes.
<srhb> (And yes, no)
Lears has joined #nixos
alexteves_ has joined #nixos
xy2_ has joined #nixos
<lejonet> lets hope the raven ridge gets happier from the 4.15 kernel
<srhb> That's.. latest, not testing, right?
<srhb> I'm confused with your versions by now :-)
<dmj`> is there a nix formatting tool?
<johnw> dmj`: hnix will do that
<johnw> the default mode is to parse your .nix file and then print it back out
alexteves has quit [Ping timeout: 240 seconds]
<lejonet> According to nox testing is supposed to be 4.15... (but it doesn't make sense because testing should be 4.16-rc7...)
<dmj`> johnw: perfect, checking it out now
<srhb> lejonet: When did you split out this branch?
<srhb> And uh, how does noxs cache work?
<srhb> lejonet: Did you upgrade to Nix 2.0? If so you have nix search instead.
<lejonet> srhb: I'm running on unstable channel now
<{^_^}> [nixpkgs] @VShell opened pull request #37928 → buildRustCrate: fix equality testing → https://git.io/vxg48
[Leary] has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 265 seconds]
<lejonet> srhb: but yes, I have 2.0, nix search was much nicer :P
<srhb> Good! :)
<lejonet> I didn't see what kernel version it pulled in, but if its actually testing, aka 4.16, even better :D
<srhb> And other things like... nix eval nixpkgs.linux_testing.version
<srhb> Which is somewhat neater than the arcane nix-instantiate stuff
<lejonet> haha yeah
sud0x3 has quit [Ping timeout: 240 seconds]
<lejonet> man it takes time to compile a kernel that has all modules more or less xD
<srhb> About as long as it takes to build ceph! You should be used to it.
<srhb> :P
<lejonet> and it seems like linux_testing is 4.16-rc6
<lejonet> srhb: xD
<lejonet> srhb: shush!
* srhb snickers
* lejonet is used to kernel builds taking at most 15ish minutes
<lejonet> and yes, its actually building 4.16-rc6, yay!
<srhb> If you care enough you can disable a looooot of stuff in the kernel config.
<lejonet> atleast some rocm stuff is in 4.16, even tho the majority seems to be slated for 4.17...
<srhb> rocm?
<lejonet> New OpenCL stack for AMD CPUs/GPUs
<srhb> Ah!
<lejonet> Because AMD APP SDK is a piece of crap
<srhb> Radeon opencompute. Gotcha.
<lejonet> ^^
<{^_^}> [nixpkgs] @Ma27 opened pull request #37929 → commandergenius: 1822release -> 2.2.0 → https://git.io/vxgBI
jrolfs has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/92b18165914 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
dbe has joined #nixos
Lears has quit [Remote host closed the connection]
civodul has joined #nixos
<{^_^}> [nixops] @rbvermaa pushed to master « Set release date to March 28 »: https://git.io/vxgRc
<{^_^}> [nixpkgs] @dtzWill opened pull request #37930 → firmwareLinuxNonfree: 2018-01-04 -> 2018-03-20 → https://git.io/vxgRR
<lejonet> I think I got nixops to stop and contemplate what its doing with its life
<{^_^}> [nixpkgs] @andir opened pull request #37931 → openssl{,1_1_0} update (1.0.2o, 1.1.0h) → https://git.io/vxgRP
<lejonet> It stopped after downloading both logstash-2.4.0 and logstash-6.1.2 (why it downloaded the former I have no idea, I've specified logstash6 in the systemPackages)
<lejonet> or "stopped", it seemingly isn't doing anything atleast
<unacceptable> It's busy watching them fight to the death
jrolfs has quit [Ping timeout: 276 seconds]
<lejonet> haha
<lejonet> Maybe
<unacceptable> To the Kirk / Spock fight music
<lejonet> "load average: 0.00" well, it doesn't seem like a particularly interesting fight lol
<lejonet> lol, its also downloaded both kibana4 and kibana6 even tho I've only specced the latter xD
<lejonet> and elasticsearch, I think nixops is drunk o.O
<unacceptable> Has it also downloaded six version of elasticsearch and tied them all in one cluster?
<lejonet> it hasn't gotten to the cluster part yet, but maybe it will :P
averell has quit [Quit: .]
jrolfs has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #37922 → libsepol,libselinux: fix i686 build → https://git.io/vxgIj
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxg0o
<{^_^}> → 9df1ad5a by Wilga: libsepol,libselinux: fix i686 build
<{^_^}> → ee28e35b by @dtzWill: Merge pull request #37922 from xeji/p/libselinux-i686
<srhb> lejonet: Here's a new trick for you
<srhb> nix why-depends
<lejonet> "Because."
<srhb> It's.. Yes. :P
<lejonet> :P
<srhb> anyway, you'd do nix why-depends (nixops machine derivation) nixpkgs.kibana4 or whatever
<srhb> (Of course you can also just show the tree of the whole machine drv)
\\\\\\\\\\\ has quit [Quit: WeeChat 2.0.1]
<lejonet> srhb: I'm having a hard time understanding what it wants from me xD
<lejonet> it says it cannot find nixpkgs if I do nixpkgs.kibana6, if I specify version it says it doesn't know what to do with the argument... :P
John882 has quit [Quit: John882]
<infinisil> I only used nix why-depends with /nix/store paths, which definitely works
* infinisil still hasn't looked into Nix 2.0 and is using nix-build and co. for everything
jrolfs has quit [Ping timeout: 256 seconds]
<lejonet> according to why-depends, logstash6 doesn't depend on logstash-2.4.0...
<lejonet> Is there anyway to ask "what depends on <nix-store path>"?
<unacceptable> lejonet: nor should it
<lejonet> unacceptable: yeah, I would've been very surprised if they somehow depended on eachother, but it pussels me why nixops has pulled in 2 version of logstash, elasticsearch and kibana...
<infinisil> lejonet: Yeah hold on
<lejonet> especially as I've only specified one, the version 6 one of each
<infinisil> lejonet: nix-store -q --referrers-closure /nix/store/...
<infinisil> lejonet: Prints every nix store path that has the given path as a dependency
<infinisil> with transitivity
<unacceptable> infinisil: is that in the docs somewhere? I've been looking for that
<lejonet> infinisil: well, that didn't make me any wiwser :S only things that it depends on is the unit-logstash unit... which iirc it provides itself
<lejonet> wiser*
<infinisil> unacceptable: man nix-store
<lejonet> so why the heck its pulled in is still a mystery
ma27 has quit [Ping timeout: 256 seconds]
<lejonet> O.o logstash6 doesn't seem to provide its own logstash service, is it so awkward/backwards that it pulls in logstash-2.4.0 just to provide the systemd service? O.O
michas_ has joined #nixos
ma27 has joined #nixos
<lejonet> oh well, I'll let nixops ponder its existence in peace and go and do something else in the meantime then
alex`` has quit [Quit: WeeChat 2.1]
<unacceptable> infinisil: ta
<{^_^}> [nixpkgs] @7c6f434c pushed to master « firefox: 59.0.1 -> 59.0.2 »: https://git.io/vxgu3
<michas_> Hi, is there an easy way to run diskless nixos systems? (Probably involving PXE, a ramdisk and maybe something like a nfs mount.)
<{^_^}> [nixpkgs] @jtojnar opened pull request #37932 → zathura: update → https://git.io/vxgu4
<clever> michas_: this is a complete diskless nixos server, without even an NFS mount, the machines run entirely from a ramdisk, and all state is lost at reboot
<clever> michas_: it also handles the dhcp and dns server, and performs NAT between the internet and the LAN that the client machines are on
<foldingcookie> nice
<michas_> clever: great, sounds like a perfect fit. Thanks!
<{^_^}> [nixpkgs] @dtzWill opened pull request #37933 → parted: add missing fnctl include, fix w/musl → https://git.io/vxgzt
davidlt__ has joined #nixos
<clever> michas_: originally, i had written that to turn my old laptop into a netboot server, to it could hijack the new laptop, and it also includes justdoit (line 12), which will wipe the entire machine with 1 command (run justdoit, lol :D), but you can customize it to run other services and remove that
<clever> michas_: lines 20-27 is the config for the OS that the target machines run
davidlt_ has quit [Ping timeout: 276 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
lazygun[m] has joined #nixos
davidlt__ is now known as davidlt
<michas_> clever: nice, still reading und trying to understand all the parts. Could you give me a hint on the right command to build/run this?
<foldingcookie> is there an example of using nix-shell to run GTK programs? I'm not sure how to get "wrapGAppsHook" to apply in a nix-shell invocation
<clever> michas_: thats a nixos module, just add imports = [ ./netboot_server.nix ]; to your existing configuration.nix, and set netboot_server.network = { wan = "foo"; lan = "bar"; }; with the right interface names
<foldingcookie> (I'm probably misunderstanding a few things, but hopefully the intent is clear ;))
<clever> michas_: since your not using it to install things,line 12 and 21-26 of my version can just be commented out
<{^_^}> [nixpkgs] @dtzWill opened pull request #37934 → slim: musl patch → https://git.io/vxggd
<michas_> clever: I'm currently planing to run it as a VM in qemu. (Other (diskless) hosts should join using qemu multicast.) It's probably best to integrate it into make-disk-image. - Let's see, if I manage to put all the pieces correctly together. :)
<clever> michas_: i also have methods of booting a diskless nixos image in qemu
<dmj`> clever: o/
<clever> michas_: line 6 grabs a configuration.nix that already references the netboot-base file, then builds its kernel+initrd, and boots those directly in qemu
knupfer has joined #nixos
<clever> michas_: you could potentially chain the 2 things, so the netboot server is also a diskless nixos inside qemu!
Xal has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<phI||Ip> If I do a "nixos-rebuild switch upgrade" and everything works - how do I delete the older unneeded versions?
<elvishjerricco> phI||Ip: sudo nix-collect-garbage -d
<elvishjerricco> sudo is needed to clean up root's profiles
<phI||Ip> elvishjerricco ty
<phI||Ip> ottidmes I knew about nix-collect-garbage but I was missing the -d switch
vidbina has quit [Ping timeout: 240 seconds]
<ottidmes> phI||Ip: Which each of those links mentions, and they might help your general understanding about garbage collection in Nix
<phI||Ip> ottidmes: ty somehow I missed it. Im really starting to get hang of Nix but it occur.red to me old software was not being deleted so I thought I'd ask :)
<foldingcookie> which package includes the glib2 "gsettings" utility?
<{^_^}> [nixpkgs] @vbgl merged pull request #37850 → ocamlPackages.lwt3: 3.0.0 -> 3.3.0 → https://git.io/vx065
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.lwt3: 3.0.0 -> 3.3.0 »: https://git.io/vxgaX
<{^_^}> [nixpkgs] @jtojnar opened pull request #37935 → meson: 0.44.0 → 0.45.1 → https://git.io/vxgay
Neo-- has quit [Ping timeout: 256 seconds]
<ben> foldingcookie: glib, apparently
<michas_> clever: the idea is to make use of idle desktop machines. On each of those machines I will run a VM. Those will connect through qemu multicast network and make up a cluster which allows to power something like kubernetes. Singe hosts joining or leaving should be no problem. But management must be done from a central PXE qemu instance in order to be part of the network.
<clever> michas_: ah
<michas_> clever: I think I now have all the different pieces to make that work.
<clever> michas_: oh, you could also use that justdoit release.nix just to get nixos running inside qemu
<foldingcookie> ben: post-"nix-env -iA nixos.glib", I don't see gsettings in PATH or /nix/store/*-glib-2.54.3/
<clever> michas_: the 1st step runs the test env for justdoit, where just logging in and running justdoit will install nixos, the 2nd step runs it with just the disk image from the 1st, to confirm it boots
<foldingcookie> should I be looking somewhere else?
<clever> michas_: nothing says you cant just keep using that disk image as a server
<ben> foldingcookie: nix-shell -p gsettings and i get /nix/store/mrwb1hl55dar8f894m1yjyg6gb8c0sjv-glib-2.54.3-dev/bin/gsettings
<ben> i didnt try nix-env -iA
jrolfs_ has joined #nixos
<foldingcookie> that does exist... I wonder how to get it into $PATH
<foldingcookie> more broadly, what does "-dev" mean?
<ben> mh
<{^_^}> [nixpkgs] @dtzWill merged pull request #37934 → slim: musl patch → https://git.io/vxggd
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxgV2
<{^_^}> → 5ed0ae68 by @dtzWill: slim: musl patch
<{^_^}> → cfd79b4d by @dtzWill: Merge pull request #37934 from dtzWill/fix/slim-musl
<ben> my mental model doesnt work if nix-env -iA leaves me with a different environment than nix-shell -p :<
<{^_^}> [nixpkgs] @dtzWill merged pull request #37933 → parted: add missing fnctl include, fix w/musl → https://git.io/vxgzt
<{^_^}> → ee9ad968 by @dtzWill: parted: add missing fnctl include, fix w/musl
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vxgVK
<{^_^}> → 9c4745fe by @dtzWill: Merge pull request #37933 from dtzWill/fix/parted-musl
vidbina has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #37936 → flow: 0.66.0 -> 0.68.0 → https://git.io/vxgVp
jrolfs has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
newbie|6 has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 276 seconds]
jrolfs_ has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.0]
jrolfs_ has quit [Ping timeout: 256 seconds]
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #37937 → Backport: godot: 2.1.4 -> 3.0 + godot_headers → https://git.io/vxgrN
hamishmack has quit [Quit: hamishmack]
blankhart has quit [Read error: Connection reset by peer]
krey has quit [Remote host closed the connection]
blankhart has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<jtojnar> in this case it is part of dev output (attribute glib.dev)
Neo-- has joined #nixos
<foldingcookie> jtojnar: thank you
<foldingcookie> jtojnar: that page says, "$outputDev is for development-only files"
<foldingcookie> what exactly does that mean? what does distinguishing development-only from other files let us do?
<foldingcookie> (and in this case, why is the gsettings tool considered development-only?)
<jtojnar> yes, most things in ${glib.dev}/bin are development programs (e.g. source code generation, resource compilation…)
<infinisil> I've never heard of $outputDev, only $dev
<infinisil> header files are something that belong there
<jtojnar> you can redirect dev output to another output using outputDev
<jtojnar> it is done for glib's bin files with outputBin
<srhb> foldingcookie: The idea is that you can rely on a subset of a package as a dependency, which is quite handy, rather than splitting things into -dev things like you see on debianesques
alexteves_ has quit [Ping timeout: 256 seconds]
<srhb> foldingcookie: And all this happens just by moving the final build products into different places during the installPhase
<LnL> infinisil: outputDev is just the variable name, the contents would be out or dev
<srhb> It's very lightweight.
<foldingcookie> ah, so glib has `outputBin = "dev";`
<infinisil> Ahh
<foldingcookie> srhb: ah
<LnL> it's for cases when you don't know if it's a multi output drv of not
<jtojnar> foldingcookie: yes, we should probably move the gsettings program to `bin` output
<foldingcookie> so... given this, how would I use nix-env to bring gsettings (from the "dev" subpackage of glib) into my PATH? `nix-env -iA nixos.glib.dev` acts successful but doesn't seem to put gsettings in PATH
<foldingcookie> ah
<jtojnar> foldingcookie: I think it should work, as long as you have the nix profile managed by nix-env in path
<jtojnar> I have glib.dev in my configuration.nix and gsettings is in my path
<{^_^}> [nixpkgs] @joachifm merged pull request #37937 → Backport: godot: 2.1.4 -> 3.0 + godot_headers → https://git.io/vxgrN
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-18.03: https://git.io/vxg6I
<{^_^}> → 0bf74b94 by @srhb: godot: 2.1.4 -> 3.0 + godot_headers
<{^_^}> → 2ee30349 by @joachifm: Merge pull request #37937 from srhb/godot-cherry
chessai has quit [Remote host closed the connection]
<jtojnar> note that the gsettings program might not work as expected on NixOS due to the decentralized nature (https://github.com/NixOS/nixpkgs/issues/33277)
dingotux has joined #nixos
<foldingcookie> the whole reason I wanted to use the gsettings program was to debug the right value of XDG_DATA_DIRS to get non-nix-packaged software to run
<foldingcookie> so I'm aware of that complication ;)
<jtojnar> foldingcookie: you can find some docs about the environment variables here https://github.com/NixOS/nixpkgs/issues/16285#ref-commit-958c46c
<foldingcookie> jtojnar: hmm, unlike other software installed with nix-env -iA, I don't see a symlink in ~/.nix-profile/bin for gsettings
<{^_^}> [nixpkgs] @srhb opened pull request #37938 → gosmore: fix build with gcc7 → https://git.io/vxg6M
<{^_^}> [nixpkgs] @srhb opened pull request #37939 → Backport: kmsxx: build with gcc6 → https://git.io/vxgie
<jtojnar> foldingcookie: I think it might be the same issue as https://github.com/NixOS/nixpkgs/issues/24717
<{^_^}> [nixpkgs] @srhb opened pull request #37940 → Backport: mythtv: 0.27.4 -> 29.1 → https://git.io/vxgiO
<{^_^}> [nixpkgs] @srhb opened pull request #37941 → Backport: notary: 0.5.1 -> 0.6.0 → https://git.io/vxgil
sud0x3 has joined #nixos
<foldingcookie> jtojnar: that issue makes it sound like `nix-env -iA nixos.glib.dev` should create a gsettings symlink, but afaict it does not
<foldingcookie> ah, or not, "Why does nix-env -iA nixpkgs.tmux.man not work? If I run that, it just installs tmux-2.6, and I still don't have manpages."
<{^_^}> [nixpkgs] @srhb opened pull request #37942 → Backport: opal: build with gcc6 → https://git.io/vxgiK
Synthetica has quit [Quit: Connection closed for inactivity]
<jtojnar> foldingcookie: either way, it should work with nix-shell if you just want to run it without a global installation
<{^_^}> [nixpkgs] @pbogdan opened pull request #37943 → linuxPackages.ena: 1.5.0 -> 1.5.2 → https://git.io/vxgi1
sud0x3 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @srhb opened pull request #37944 → s3ql: 2.21 -> 2.26 → https://git.io/vxgiF
goibhniu has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxgPR
<{^_^}> → 0a73cde7 by @symphorien: gosmore: fix build with gcc7
<{^_^}> → bfd827cb by @srhb: Merge pull request #37938 from srhb/gosmore-cherry
<{^_^}> [nixpkgs] @srhb merged pull request #37938 → gosmore: fix build with gcc7 → https://git.io/vxg6M
jrolfs has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #37939 → Backport: kmsxx: build with gcc6 → https://git.io/vxgie
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxgPw
<{^_^}> → 45a8928a by @xeji: kmsxx: build with gcc6
<{^_^}> → 45715be8 by @srhb: Merge pull request #37939 from srhb/kmsxx-cherry
kiloreux_ has quit [Remote host closed the connection]
digitus has quit [Quit: digitus]
rauno has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/cd7047c4616 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
digitus has joined #nixos
hamishmack has joined #nixos
michas_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #37941 → Backport: notary: 0.5.1 -> 0.6.0 → https://git.io/vxgil
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxgXn
<{^_^}> → 65d26657 by @nlewo: notary: 0.5.1 -> 0.6.0
<{^_^}> → 7b43a4ff by @srhb: Merge pull request #37941 from srhb/notary-cherry
szicari has quit [Quit: szicari]
hiratara has quit [Ping timeout: 240 seconds]
hamishmack has quit [Read error: Connection reset by peer]
jrolfs has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #37896 → pantheon-terminal: fixes "Using the 'memory' GSettings backend" issue → https://git.io/vxu83
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vxgX1
<{^_^}> → 64340f42 by @davidak: pantheon-terminal: fixes #10171 Using the 'memory' GSettings backend
<{^_^}> → 1ed3c93f by @jtojnar: Merge pull request #37896 from davidak/pantheon-terminal-1
hiratara has joined #nixos
rihards has quit [Quit: rihards]
dingotux has quit [Quit: Konversation terminated!]
rauno has joined #nixos
xeji has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #37946 → {erlang,elixir}/generic-builder: /bin/sh fixes → https://git.io/vxg17
<{^_^}> [nixpkgs] @andir opened pull request #37947 → [17.09] openssl{,1_1_0} update (1.0.2o, 1.1.0h) → https://git.io/vxg1x
<{^_^}> [nixpkgs] @andir opened pull request #37948 → [18.03] openssl{,1_1_0} update (1.0.2o, 1.1.0h) → https://git.io/vxgMf
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
Ariakenom has quit [Quit: Leaving]
davidlt has quit [Ping timeout: 276 seconds]
newbie|6 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #37942 → Backport: opal: build with gcc6 → https://git.io/vxgiK
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxgM0
<{^_^}> → df899667 by @7c6f434c: opal: build with gcc6
<{^_^}> → f2129910 by @srhb: Merge pull request #37942 from srhb/opal-cherry
<{^_^}> [nixpkgs] @andir merged pull request #37931 → openssl{,1_1_0} update (1.0.2o, 1.1.0h) → https://git.io/vxgRP
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/vxgME
<{^_^}> → 4bf9b4a3 by @andir: openssl: 1.0.2n -> 1.0.2o (fixes CVE-2017-3738, CVE-2018-0739)
<{^_^}> → 72110322 by @andir: openssl_1_1_0: 1.1.0g -> 1.1.0h (fixes CVE-2018-0739, CVE-2017-3738)
<{^_^}> → 34fe4bce by @andir: Merge pull request #37931 from andir/openssl
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxgMK
<{^_^}> → 8410194b by @ryantm: s3ql: 2.21 -> 2.26
<{^_^}> → 6c056757 by @srhb: Merge pull request #37944 from srhb/s3ql-cherry
<{^_^}> [nixpkgs] @srhb merged pull request #37944 → s3ql: 2.21 -> 2.26 → https://git.io/vxgiF
jrolfs_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/67adb994bcb (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @LnL7 merged pull request #37895 → Enable gambit/gerbil on darwin → https://git.io/vxuC0
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/vxgMj
<{^_^}> → 0874789d by @marsam: gambit: enable on darwin
<{^_^}> → f43878ca by @marsam: gerbil: enable on darwin
<{^_^}> → c80b40ab by @LnL7: Merge pull request #37895 from marsam/feature/enable-gerbil-on-darwin
chisui has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vxgDY
<{^_^}> → b052ce05 by @marsam: gambit: enable on darwin
<{^_^}> → 0101637e by @marsam: gerbil: enable on darwin
<bgamari> How does one enable verbose output from Setup.hs build?
ma27 has quit [Ping timeout: 260 seconds]
ma27 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
tmaekawa has joined #nixos
asuryawanshi has joined #nixos
xcmw has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
coot has quit [Remote host closed the connection]
hiratara has quit [Quit: ZNC - http://znc.in]
blankhart has quit [Ping timeout: 264 seconds]
goibhniu has quit [Ping timeout: 268 seconds]
hiratara has joined #nixos
joelpet has quit [Remote host closed the connection]
jetien has joined #nixos
jetien has quit [Client Quit]
xy2_ has quit [Ping timeout: 240 seconds]
joelpet has joined #nixos
<{^_^}> [nixpkgs] @garbas merged pull request #37924 → uplifting #37717 pr to release-18.03 branch → https://git.io/vxgto
<{^_^}> [nixpkgs] @garbas pushed 2 commits to release-18.03: https://git.io/vxgSI
<{^_^}> → a7d62970 by @cpages: qpid-cpp: 0.34 -> 1.37.0
<{^_^}> → 27ae4cea by @Ma27: qpid-cpp: fix build
joelpet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @obadz opened pull request #37949 → zerotier module: add option to join network and open port → https://git.io/vxgSu
jetien has joined #nixos
jetien has quit [Read error: Connection reset by peer]
jetien1 has joined #nixos
joelpet has joined #nixos
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/12512f25e9e (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
Neo-- has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « phpPackages.php-cs-fixer: 2.10.4 → 2.11.1 »: https://git.io/vxg9J
obadz has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #37940 → Backport: mythtv: 0.27.4 -> 29.1 → https://git.io/vxgiO
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/vxg9E
<{^_^}> → 2d11ec06 by @danielfullmer: mythtv: 0.27.4 -> 29.1
<{^_^}> → f74188b5 by @srhb: Merge pull request #37940 from srhb/mythtv-cherry
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @Ma27 opened pull request #37950 → pythonPackages.mrbob: fix build → https://git.io/vxgHl
sanscoeur has quit [Read error: Connection reset by peer]
sanscoeur has joined #nixos
nwspk has quit [Ping timeout: 240 seconds]
nwspk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #37951 → svn-all-fast-export: update patch sha256, --prefix is now used → https://git.io/vxgHK
jetien1 has quit [Quit: Leaving.]
obadz has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
obadz has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #37952 → pythonPackage.nipype: fix build → https://git.io/vxgQE
sigmundv has quit [Ping timeout: 260 seconds]
pkill9 has quit [Ping timeout: 260 seconds]
xeji has quit [Quit: WeeChat 2.0]
blankhart has joined #nixos
MP2E has joined #nixos
ma27 has quit [Ping timeout: 264 seconds]
odites has joined #nixos
sigmundv has joined #nixos
obadz has quit [Quit: WeeChat 2.0]
dan_b has joined #nixos
odites has quit [Client Quit]
<kandinski> Can anyone help me get unstuck here? http://paste.debian.net/1017120/
obadz has joined #nixos
acarrico has quit [Ping timeout: 264 seconds]
<rawtaz> stay tuned, hasnt been much activity last few hours
kitemikaze has quit [Ping timeout: 248 seconds]
pie__ has joined #nixos
blonkhart has joined #nixos
pie_ has quit [Ping timeout: 260 seconds]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37936 → flow: 0.66.0 -> 0.68.0 → https://git.io/vxgVp
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxg5n
<{^_^}> → be48c2ef by @vbgl: ocamlPackages.lwt_ppx: init at 3.3.0
<{^_^}> → 1874f09c by @vbgl: flow: 0.66.0 -> 0.68.0
<{^_^}> → 97fc985f by @Mic92: Merge pull request #37936 from vbgl/flow-0.68
acarrico has joined #nixos
<kandinski> rawtaz: thanks
alhariel has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37840 → Cross-platform "unixtools" → https://git.io/vx0C5
<{^_^}> [nixpkgs] @matthewbauer pushed 153 commits to staging: https://git.io/vxg56
<{^_^}> → bbeecc70 by @jluttine: lvmsync: init at 3.3.2
<{^_^}> → c2b8d14b by @Infinisil: nixos/znapzend: fix when no previous zetup
<{^_^}> → 2653355a by @lsix: pgmanage: fix build
digitus has quit [Quit: digitus]
ryanartecona has joined #nixos
me1 has joined #nixos
leothrix has quit [Read error: Connection reset by peer]
ma27 has joined #nixos
me1 has quit [Quit: me1]