gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
leo60228 has quit [Disconnected by services]
leo60228_ is now known as leo60228
<leo60228> clever: using webchat (so no history), what did you want me to change?
<clever> leo60228: try turning on services.openssh.enable and then pastebin the output of nixos-rebuild switch
<clever> yep, exactly what i would expect
<leo60228> ignore the collisions, i think i caused them by failing to install a qt4 library i was working on patching in a local nixpkgs
<clever> leo60228: and since you did a channel update, what does `systemctl status docker` say now?
<leo60228> Unit docker.service could not be found.
<clever> leo60228: try turning docker back on by uncommenting the old config, and nixos-rebuild switch
<wilornel> how do you extend a disk size on an aws ec2 with nixos? I'm trying growpart but it seems like the Filesystems listed are quite different from those in the aws ec2 docs examples
<clever> wilornel: nixos will automatically growpart and resize for you on bootup, just reboot the machine after growing the ELB
<wilornel> darn, then there's something wrong because I did the following: Shut down instance. Resize volume in the aws console. Boot instance. And then, when I run `df -h`, I see
johnw has quit [Ping timeout: 240 seconds]
<wilornel> (the new volume size if 80gb)
* wilornel sent a long message: wilornel_2018-04-28_00:07:27.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/mmGZEuWBjVfXpyYUtWJjKslN>
<clever> wilornel: i didnt even shutdown mine
<clever> wilornel: what about fdisk -l /dev/vda, or whatever it happens to be called?
<wilornel> interesting output. I trimmed the 15 rams it lists, but it shows...:
<wilornel> (I'm not on ubuntu)
<{^_^}> [nixpkgs] @xeji merged pull request #39362 → abootimg: init at 0.6 → https://git.io/vp3RJ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp4kr
<{^_^}> → 1b4027c6 by @flokli: abootimg: init at 0.6
<wilornel> I'm not sure what nvme2n1 is and nvme1n1 and nvme0n1
<{^_^}> → ac716155 by @xeji: Merge pull request #39362 from flokli/abootimg
<clever> wilornel: ah, i dont think nixos supports resizing the nvme drives currently, those are pretty new
<wilornel> what are those
<clever> wilornel: your hard-drives
<clever> wilornel: oh, i think i see whats going on
<wilornel> It's a kind of physical drive. I see. How come I am using that one? I guess changing it would be too much trouble? How could I get nixos to grow the filesystem?
<clever> wilornel: you didnt resize it, you added another disk, you have 3 hard-drives, with sizes of 40gig, 80gig, and 8gig
<clever> nixos is installed to the 40gig drive
<clever> and the 80gig drive is unused
<clever> you cant grow the nixos, because the drive its on is already full
<wilornel> I had one with 40Gb, one with 50Gb, one with 8gb. I resized the 50gb to 80gb.
<wilornel> Alright, I need to resize the 40gb one
<wilornel> whoops
<clever> the 80gig drive has no partitions on it
<clever> its entirely unused
<wilornel> how do you know?
<wilornel> (darn )
<wilornel> I think I had some work on there before aaah...
<wilornel> now I need to mount it and the 8gb one
<clever> wilornel: fdisk doesnt show any partitions on the 80gig one
<wilornel> Oh that would be listed under "Device"
<wilornel> ?
<clever> yeah
<wilornel> ok resizing the 40gb one to 80gb
<clever> nvme1n1 doesnt even have a disk label type
<clever> so it has never been partitioned
<wilornel> and after that's done I'll try to mount some things around..
<wilornel> not been partitioned even before the resizing?
<clever> correct
<wilornel> Is it possible that it's because I booted nixos before the volume was done resizing?
<clever> no
<PolarIntersect> Okay, so I think the issue was that I was installing my EFI data onto a non-GPT partition?
<leo60228> clever: do you know what happened?
<PolarIntersect> Will that prevent booting the EFI disk?
<clever> wilornel: ive had zero problems resizing things while the machine was running
<wilornel> I mean I spun up the instance before the volume was done resizing
<wilornel> Ah, I'll have to reboot it again.
<Dezgeg> there were some quite recent fixes to ec2 disk image resizing
<Dezgeg> maybe the AMI is older than that
<wilornel> Why does it take so long to resize the disks?
freeman42x]NixOS has joined #nixos
<wilornel> alright I see clever
Fare has joined #nixos
<clever> PolarIntersect: yeah, efi firmware can only boot in efi mode from a gpt disk
rosa has quit [Quit: rosa]
xeji has quit [Quit: WeeChat 2.0]
<clever> leo60228: i'm out of ideas
<PolarIntersect> Got it
<PolarIntersect> I wonder if nixos-install could warn about that to prevent this issue for others
<PolarIntersect> Would it be a difficult addition?
<clever> PolarIntersect: i think systemd-boot and grub should warn you
<PolarIntersect> Yeah, they didn't
<PolarIntersect> Well, systemd-boot did
<PolarIntersect> but not grub :)
<Dezgeg> I think some firmwares allow MBR booting as long as the partition type byte is set correctly
<PolarIntersect> oic
<PolarIntersect> Guessing mine isn't one of those, because it never showed up in the boot list
<Dezgeg> but of course that's risking the luck
<PolarIntersect> Although I did get into grub once and it just said "unknown filesystem", but I think that Grub was maybe a separate one on the MBR?
<justan0theruser> what are ec2-ami-tools called now? https://nixos.wiki/wiki/Install_NixOS_on_Amazon_EC2
<justan0theruser> actually disregard that, I'm dumb
<justan0theruser> ec2-api-tools***
<justan0theruser> what is that called now?
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
phreedom has quit [Ping timeout: 255 seconds]
Fare has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
<PolarIntersect> hmm... Boot disk still didn't show up :(
Fare has joined #nixos
* PolarIntersect gives up :'(
<clever> PolarIntersect: what does lsblk say when booted into the installer?
griff_ has quit [Quit: griff_]
<PolarIntersect> will check
thc202 has quit [Ping timeout: 264 seconds]
phreedom has quit [Ping timeout: 255 seconds]
<PolarIntersect> clever: Lots of stuff here. What are you looking for specifically?
<clever> PolarIntersect: if possible, can you just throw it all into a pastebin?
<PolarIntersect> The boot partition says --sdc1 8:33 0 2G 0 part
<PolarIntersect> hmm sure
<PolarIntersect> need to figure out how to pastebin from a TTY tho
<PolarIntersect> sprunge seems to be broken for like a year now
<clever> PolarIntersect: nix-env -iA nixos.gist ; gist --login; gist -p file.txt
<clever> though the gist url's are still an issue
<PolarIntersect> oooh cool
<clever> PolarIntersect: do you have a 2nd machine with ssh client?
<PolarIntersect> yeah
<clever> passwd ; systemctl start sshd
<clever> then ssh in from a machine with a working mouse and irc client
<PolarIntersect> ooooh that makes it easier ehhe
<PolarIntersect> thanks <3
<PolarIntersect> nixos is on /dev/sd
<PolarIntersect> nixos is on /dev/sdc
<clever> PolarIntersect: fdisk -l /dev/sdc
<PolarIntersect> clever: refreshing has that output as well now
<clever> PolarIntersect: blkid /dev/sdc?
<PolarIntersect> clever: updated :)
<clever> PolarIntersect: the ? is missing from the command
<PolarIntersect> ooops sorry
<srhb> justan0theruser: Same thing, as far as I can see.
<PolarIntersect> clever: Sorry, where does the "?" go? I don't think it was in the command which you gave
<PolarIntersect> oooh
<srhb> justan0theruser: The attribute name has got underscores instead of dashes, if that's what's tripping you up.
<PolarIntersect> I see
<PolarIntersect> sorry
<clever> PolarIntersect: its the bash wildcard for 1 character
<PolarIntersect> clever: Updated :)
<PolarIntersect> clever: oh, that's cool :o
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39634 → Replace netcat-openbsd with libressl → https://git.io/vp4IP
<justan0theruser> srhb: underscores were the issue. Thanks!
<clever> PolarIntersect: and what is the contents of your configuration.nix file? youll need to open the luks and mount the fs within
<PolarIntersect> clever: Will grab that! One moment
<PolarIntersect> also thanks again <3
<PolarIntersect> clever: Okay, updated w/ nix config files
<PolarIntersect> I'm guessing encryption.nix is the one you'll want to look at
pareidolia has quit [Ping timeout: 255 seconds]
<clever> PolarIntersect: hardware.nix is also of interest
<PolarIntersect> ok :)
<clever> PolarIntersect: also line 28, the ssh service automatically allows port 22 in the firewall
<PolarIntersect> ah, good to know
<clever> you cant lock yourself out easily
<PolarIntersect> Even if I explicitly set it to []?
<PolarIntersect> It'll end up [ 22 ]?
<clever> yeah
<PolarIntersect> nice
<PolarIntersect> thanks :)
<clever> it concats the value of that option from every module
<clever> so you actually set it to [ 22 22 ];
<PolarIntersect> haha
pareidolia has joined #nixos
<clever> PolarIntersect: everything looks fine, what does efibootmgr -v say?
<PolarIntersect> clever: This same config is from a template that worked on 4 other machines I use as well :o
<PolarIntersect> Added the efibootmgr one
Guest10968 has quit [Ping timeout: 260 seconds]
<clever> PolarIntersect: Boot0001 doesnt look right, and why do i see a microsoft thing in Boot0000?
<PolarIntersect> That's a separate disk w/ Windows installed on it
<PolarIntersect> Boot0001 is a weird disk... I have no idea why it is even there, but it boots to Grub somehow
<PolarIntersect> kinda annoying tbh lol
<PolarIntersect> That's the one that I think I need to wipe the MBR on or something
<PolarIntersect> but the nixos one isn't in the efibootmgr list
<clever> PolarIntersect: if you do `blkid /dev/sd??` do you see the uuid from Boot0001?
<PolarIntersect> clever: No, it doesn't even exist
<PolarIntersect> oh woops I do!
<clever> it looks like the efi vars are not updated correctly, so the firmware doesnt know about the new install
<clever> which one is it?
<PolarIntersect> /dev/sdb2 I guess
<ghostyy> i tried downloading a nixos iso but when i mount it i just see a bunch of random garbage, how do i mount it so that i can chroot into it and complete my installation? i dont want to reboot into it
<clever> PolarIntersect: can you add the `fdisk -l /dev/sdb` to the output?
<PolarIntersect> seems like another Windows disk or something
<ghostyy> oh its the squashfs thing
<clever> ghostyy: the iso includes an MBR partition header, so you have to use the losetup flag for obeying partition tables, installing from a squashfs is also tricky
<PolarIntersect> clever: done
<ghostyy> this is so absolutely frustrating, why cant nixos installer just take a flag for "download everything instead of copying it from /nix/store"
<clever> ghostyy: because the installer itself is a program that has to exist in /nix/store/
<clever> PolarIntersect: that appears to be your windows drive
<PolarIntersect> clever: Oh, yep
<PolarIntersect> clever: So, I think the MBR for my windows drive just has an old grub written to it
* PolarIntersect shrugs
<PolarIntersect> shouldn't cause issues afaict
<clever> PolarIntersect: id recomend you set boot.loader.grub.efiInstallAsRemovable = true; and then re-run nixos-install
aarvar is now known as typeastronaut
<clever> PolarIntersect: and see what happens then
typeastronaut is now known as aarvar
<PolarIntersect> clever: Shouldn't `boot.loader.efi.canTouchEfiVariables = true;` have let this work though?
lopsided98_ has quit [Remote host closed the connection]
<clever> PolarIntersect: your firmware could be buggy
<PolarIntersect> oic
<PolarIntersect> okie
<PolarIntersect> so that install finished
<PolarIntersect> Should I reboot or does something else help?
<clever> and /mnt/boot was mounted during that install?
<PolarIntersect> oh hmm - it shows up in efibootmgr now
<clever> and yeah, id try rebooting now
<PolarIntersect> okie
fragamus has quit [Ping timeout: 260 seconds]
<PolarIntersect> hmm ok
<PolarIntersect> It showed up now but the root disk didn't work
<PolarIntersect> but that at least is enough for me to test w/
<PolarIntersect> thanks clever :o
<PolarIntersect> I don't get why it works if I pretend it's a USB disk tho
<clever> PolarIntersect: i also use this script to do most of my installs: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
<clever> PolarIntersect: that automates the entire process, it works on sata and nvme drives, legacy and uefi, with and without luks
<clever> and all combinations of the above that make sense
NightTrain has joined #nixos
<PolarIntersect> oh hmm
<PolarIntersect> I'll look into that!
<PolarIntersect> I currently use a script I host on my CDN and it downloads some files, but requires some manual editing :o
<clever> this one uses nix to conditionalize everything
daveo has joined #nixos
<PolarIntersect> ya
<PolarIntersect> sounds cool :}
<daveo> I want to learn how to create a nix package for NixOS. Where do I start?
<clever> daveo: the nix and nixpkgs manuals
spear2 has joined #nixos
<daveo> clever: thx
<clever> PolarIntersect: and if you have control of your dhcp server, you could do something like: https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix
<PolarIntersect> oooh cool
<clever> PolarIntersect: any machine that network-boots within my house lands into the nixos installer, and justdoit is in the ramdisk
<PolarIntersect> I was looking into using PXE
<PolarIntersect> DHCP server is a nix box
<clever> PolarIntersect: so typing "justdoit" into the shell would just nuke the disk and install nixos
<PolarIntersect> oh cool
<PolarIntersect> Maybe this will help me figure out how to install nixos on rescue mode too :D
<clever> PolarIntersect: and this does similar, with a ~400mb blob sitting in /boot/ and on your grub menu
lopsided98_ has joined #nixos
<clever> so you can just go back to the installer at any time
<PolarIntersect> the rescue_boot is a harder situation where I can't change the ISO it boots to
<clever> ghostyy: and that could help you too in the future
<PolarIntersect> It's a remote machine that boots into a debian recue mode
<PolarIntersect> rescue*
<clever> PolarIntersect: ah, kexec is more suited for that
<PolarIntersect> Oh? Haven't heard of that, will check it out
<clever> PolarIntersect: you generate a tarball with these nix expressions, upload it to a remote machine, unpack to /, then just /kexec_nixos
seville has quit [Quit: Leaving]
<clever> PolarIntersect: within 120 seconds, it will be running nixos from a ramdisk, reconnect ssh, have fun
<PolarIntersect> oh cool :o
<PolarIntersect> I was trying to find a way to boot into the ISO installer
<PolarIntersect> I SCP'd it to the rescue mode machine
<clever> you can then either nixos-install or justdoit
<PolarIntersect> oh
<PolarIntersect> dope
<PolarIntersect> :D
<clever> the only major issue with that method, is that if you mess up at all, and the machine doesnt boot, it doesnt boot, game over :P
<clever> (except when your hoster has a rescue mode)
<PolarIntersect> is ok though because I have a menu to reset back to debian rescue disk
<clever> i have used it to convert systems that lack a rescue mode!
<PolarIntersect> :o
<ghostyy> clever, thank you
<PolarIntersect> for now I need to figure out why it can't find my boot disk tho :o
<PolarIntersect> Maybe nixos-generate-config doesn't support LVM?
<clever> PolarIntersect: it does
<clever> PolarIntersect: nixos will always check for and activate lvm in the initrd, even if you dont have any
<clever> PolarIntersect: and then the uuid based search will just work
Ariakenom_ has quit [Read error: Connection reset by peer]
<clever> PolarIntersect: oh, add boot.shell_on_fail to the kernel params in grub (hit e), then poke around and see what it cant find
<PolarIntersect> I think the issue is related to it having not asked me for my luks password when it booted
<PolarIntersect> It immediately begun looking for the / partition
<clever> PolarIntersect: let me double-check something...
<PolarIntersect> which didn't exist yet
lopsided98_ has quit [Remote host closed the connection]
<PolarIntersect> ah, which makes sense because I told it to use my EFI partition as luks rofl
<clever> oh, lol
<clever> i wondered why the uuid was so short
<PolarIntersect> haha
<PolarIntersect> good job, me! :D
<clever> the blkid output in the gist confirms
<PolarIntersect> ya haha
<PolarIntersect> It's reinstalling
<PolarIntersect> hopefully works
* PolarIntersect crosses fingers
<PolarIntersect> It worked!!! :D
<clever> yay!
<PolarIntersect> Okay, so it sounds like maybe my EFI firmware has an issue that I need to figure out
<PolarIntersect> Thanks again clever :)
pxc has quit [Ping timeout: 264 seconds]
<clever> yep
iyzsong has joined #nixos
<daveo> where is the 'justdoit' script?
<PolarIntersect> clever linked it above
<{^_^}> [nixpkgs] @grahamc merged pull request #31418 → lib/eval-config: document NIXOS_EXTRA_MODULE_PATH → https://git.io/vFuPf
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vp4tP
<{^_^}> → 1cc97bef by @ryantm: lib/eval-config: document NIXOS_EXTRA_MODULE_PATH
<{^_^}> → 68d48cec by @grahamc: Merge pull request #31418 from ryantm/doc-nixos-extra-module-path
mkoenig_ has joined #nixos
* PolarIntersect feels like you could probably hack a grub install to chainload Windows on a luks disk
<clever> PolarIntersect: something i have been wanting to do, is to modify boot.ini to be able to chainload grub
<clever> PolarIntersect: and i believe grub can be configured to support an ntfs "/boot" partition
<daveo> clever: read the readme. That is neat.
* samueldr shudders
<clever> which means i could take ~4 files from the rescue_boot system, stick them in c:\, modify boot.ini, and then f8 my way to the nixos installer
<clever> and nuke windows from orbit with wipefs!
<PolarIntersect> haha
<{^_^}> [nixpkgs] @grahamc pushed commit from @ryantm to release-18.03 « lib/eval-config: document NIXOS_EXTRA_MODULE_PATH »: https://git.io/vp4t7
<PolarIntersect> Sounds pretty dope, but also means I won't have my games any more! :D
<clever> xorg and gparted could be included in that "rescue" blob, and then you have gparted and the ability to shrink windows filesystems
mkoenig has quit [Ping timeout: 256 seconds]
pirateking has joined #nixos
<PolarIntersect> that'd be awesome too
<daveo> PolarIntersect: I don't have my games any more and now I am totally fine with that
<Fare> Mic92_, thanks again!
<daveo> PolarIntersect: Steam does actually work... but....
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
migy has quit [Quit: migy]
<pirateking> i changed my efi partition and now it has a new uuid. i can't boot through nixos anymore. ubuntu is broken too. is there a simple way to get nixos to understand the new uuid?
<clever> pirateking: where does it fail when booting nixos?
<pirateking> udev something
<pirateking> some check
Supersonic112 is now known as Supersonic
<pirateking> and that's after changing my hardware-configuration.nix to be correct*
<clever> pirateking: you can probably change the init= in grub to init=/bin/sh to get a very basic single-user shell and attempt repairs, but it would probably be simpler to boot into the original installer ISO and repair it from there
<daveo> I'm going through the Nix Pills and one of the commands is not a thing in NixOS 18.03
<clever> daveo: which one?
mbrgm has quit [Ping timeout: 248 seconds]
<daveo> clever: source ~/.nix-profile/etc/profile.d/nix.sh
<clever> daveo: thats only needed if you are not on nixos
<daveo> clever: sweet. what do I do to 'Enter the Environment' then?
<daveo> clever: Section 3.1
<clever> daveo: link?
<ghostyy> but when i chroot theres nothing in my $PATH
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39636 → [wip] netbsd: cleanups → https://git.io/vp4qt
<daveo> clever: looks like I have to do nothing? I am already in 'The Environment'?
<clever> daveo: nixos is always in an environment with nix available, you can just skip 3.1
<clever> daveo: yep
<daveo> clever: sweet
mbrgm has joined #nixos
<pirateking> clever: thanks i'll try now
pirateking has quit [Quit: Page closed]
ryantrinkle has joined #nixos
<justan0theruser> why can environment.systemPackages use pkgs without "with pkgs"
pxc has joined #nixos
<daveo> clever: why are some binaries out of ~/.nix-profile and others out of /run/current-system ?
<clever> daveo: some are installed with environment.systemPackages and others with nix-env
<clever> justan0theruser: line 11
<justan0theruser> ty
<clever> justan0theruser: which itself gets the default value from line 41
<clever> justan0theruser: also, all of those options lack a type, which means it will get very buggy if 2 modules try to set the same option
rosa has joined #nixos
<daveo> clever: some scripts expect things, like bash to be in certain places, for instance /bin/. If bash is in /run/current-system/bin that is close. What is the NixOS way to handle such situations.
<clever> daveo: for the #! line, #!/usr/bin/env bash, for everything else, just do "bash" and let $PATH do its job
pxc has quit [Ping timeout: 240 seconds]
<daveo> clever: sounds good to me. I suppose there is a certain amount of adaptation you have to do when people just assume #!/bin/bash etc will work. I've heard people say to do that so many times that it seems like people think that is the right way to do shebangs. I'm not here to tell them it is not, but this makes me wonder...
orivej has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c599bd8192e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
rosa has joined #nixos
<clever> daveo: /bin/sh and /usr/bin/env are the only 2 executables that are at "standard" paths
<daveo> clever: it would be amazing if `nix-os --list-generations` could show details about the changes between generations, i.e. added [pkg a], deleted [pkg b]
<daveo> clever: I've symlinked bash to a location inside /bin . probably discouraged I would guess
<clever> [clever@amd-nixos:~]$ nix-diff $(nix-store -q --deriver /nix/var/nix/profiles/system-400-link) $(nix-store -q --deriver /nix/var/nix/profiles/system-401-link)
<clever> • The set of input names do not match:
<clever> + qemu-user-arm-2.11.1
<clever> daveo: it looks like i added qemu-user-arm to my os in generation 401
<daveo> clever: that is neat. many chars to type out. Let me try it. in addition I have no /bin/env :o
<daveo> clever: what happened to my env? maybe I borked something?
<clever> env is in /usr/bin, not /bin
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
<daveo> clever: indeed env is located there. how often do you do a nix diff like that. I have no bash completion inside the $() interpolation
<clever> daveo: i started with the command inside the $( to confirm it worked, then just used copy/paste to build the outer cmd
<daveo> clever: ok similar to what I ended up doing.
rosa has quit [Quit: rosa]
<daveo> clever: hmm nix-repl does not work for me. locked database
<clever> daveo: export NIX_REMOTE=daemon
<clever> its a bug between nix1 and nix2
pie_ has quit [Ping timeout: 264 seconds]
mounty has quit [Quit: Konversation terminated!]
<daveo> clever: maybe have that in my configuration.nix?
<daveo> clever: or .bashrc
<clever> daveo: the issue is that nix-repl uses nix 1 libraries, and expects NIX_REMOTE to be set
<clever> daveo: but nix 2 now auto-detects that, and nixos 18.03 leaves NIX_REMOTE unset
iqubic has joined #nixos
blankhart has joined #nixos
<daveo> clever: ok. Maybe I wait until the bug is resolved instead of adding it to a config
<clever> daveo: the replacement is now `nix repl` without a -
<clever> that one just works
<clever> but i dont like how its tab-completion work
<clever> s
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9ece83c251a (from 53 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
drakonis has joined #nixos
tyrus82 has quit [Ping timeout: 260 seconds]
<daveo> clever: I'll check out the new repl
leothrix has quit [Quit: ZNC 1.6.6 - http://znc.in]
rosa has joined #nixos
<acowley> There's been a simple PR to improve nix repl's tab completion for several months: https://github.com/NixOS/nix/issues/1756
<acowley> It's not obvious if it creates its own set of problems, but boy is the current situation a nuisance.
leothrix has joined #nixos
Piece_Maker has joined #nixos
Acou_Bass has quit [Ping timeout: 260 seconds]
Piece_Maker is now known as Acou_Bass
Fare has quit [Ping timeout: 240 seconds]
johnw has joined #nixos
acarrico has quit [Ping timeout: 264 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
griff_ has joined #nixos
acarrico has joined #nixos
jgt1 has quit [Ping timeout: 264 seconds]
schoppenhauer has quit [Ping timeout: 264 seconds]
schoppenhauer has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
johnw has joined #nixos
rosa has quit [Quit: rosa]
hello_FRIEND has joined #nixos
hello_FRIEND has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 248 seconds]
<unlmtd> from nvim, the command `:! st` will launch an st term, but `:! st & disown` does nothing. The command works with termite and gnome-terminal. it also works from a plain st terminal window. what the heck!?
<unlmtd> sorry, this probably has nothing to do with nix
rosa has joined #nixos
pxc has joined #nixos
rosa has quit [Quit: rosa]
pxc has quit [Ping timeout: 256 seconds]
rosa has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
johnw has joined #nixos
deepfire has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
rosa has quit [Quit: rosa]
Ross has joined #nixos
rosa has joined #nixos
jgt1 has joined #nixos
johnw has quit [Ping timeout: 256 seconds]
jgt1 has quit [Ping timeout: 248 seconds]
griff_ has quit [Quit: griff_]
pxc has joined #nixos
griff_ has joined #nixos
pxc has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4d40adb86d0 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Ghostie_ has joined #nixos
pcr has joined #nixos
taktoa has joined #nixos
coot has joined #nixos
<Ghostie_> I installed nixos but when o try to boot it saya: not syncing: VFS: Unable to mount root fs on unknown-block
<Ghostie_> And then immediately kernel panics
<Ghostie_> Has anyone else had a problem like this?
leo60228 has quit [Ping timeout: 260 seconds]
<Ghostie_> I used the same config file from a working installation so I am very confused
<Ghostie_> It happens before it asks for my luks passphrase
<Ghostie_> Lol nvm I just fixed it, I had a custom initramfs and I made it with the wrong format
Thedarkb1-X40 has joined #nixos
rosa has quit [Quit: rosa]
Thedarkb-X40 has quit [Ping timeout: 268 seconds]
Ghostie_ has quit [Quit: Page closed]
dx_ has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
Myrl-saki has quit [Ping timeout: 264 seconds]
Myrl-saki has joined #nixos
Myrl-saki has quit [Ping timeout: 264 seconds]
rosa has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
rosa has quit [Client Quit]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9ece83c251a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
klntsky has quit [Read error: Connection reset by peer]
oida has quit [Write error: Connection reset by peer]
pirateking has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39101 → Jetbrains products' update 2018.1.1 → https://git.io/vpkY4
<{^_^}> [nixpkgs] @matthewbauer pushed 9 commits to master: https://git.io/vp43R
<{^_^}> → 8ffaeecf by @jokogr: clion: 2018.1 -> 2018.1.1
<{^_^}> → a52b5be4 by @jokogr: goland: 2018.1 -> 2018.1.1
<{^_^}> → e74d28ef by @jokogr: idea-community: 2018.1 -> 2018.1.2
klntsky has joined #nixos
oida has joined #nixos
<pirateking> clever: not sure how to set init but i ended up using grep on everything to find where the actual value that's used for the uuid in boot. now i'm in
Guanin has quit [Ping timeout: 260 seconds]
Guanin has joined #nixos
pirateking has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39267 → atlassian-cli: init at 7.8.0 → https://git.io/vpmPl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vp43K
<{^_^}> → cf351f63 by @Twey: atlassian-cli: init at 7.8.0
<{^_^}> → 31881e36 by @matthewbauer: Merge pull request #39267 from Twey/atlassian-cli
griff_ has quit [Quit: griff_]
<daveo> I cannot install the ffi gem in ruby on NixOS
rosa has joined #nixos
Wharncliffe has joined #nixos
Wharncliffe has quit [Client Quit]
<daveo> make: *** [libffi.mk:9: "/home/dw/.gem/ruby/2.4.0/gems/ffi-1.9.23/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 2
<{^_^}> [nixpkgs] @aszlig pushed to master « autoPatchelfHook: Provide a better derivation name »: https://git.io/vp4sv
coot has quit [Quit: coot]
alex`` has joined #nixos
Christian[m]4 has joined #nixos
bpa has joined #nixos
dredozubov has quit [Ping timeout: 255 seconds]
dredozubov has joined #nixos
Myrl-saki has joined #nixos
jaeckel has quit [Ping timeout: 255 seconds]
ent has quit [Ping timeout: 255 seconds]
ent has joined #nixos
mkoenig has joined #nixos
mkoenig_ has quit [Ping timeout: 260 seconds]
colemickens has joined #nixos
blankhart has quit [Ping timeout: 268 seconds]
daveo has quit [Ping timeout: 248 seconds]
jgt1 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg closed pull request #30539 → googleearth: 7.1 -> 7.3 and move to Qt5 → https://git.io/vdHAn
<Myrl-saki> Uhh
<Myrl-saki> I need urgent help
pie_ has joined #nixos
<Myrl-saki> How do I kill all processes under nixbld*?
<Myrl-saki> It's not responding to my k-9
<Myrl-saki> kill -9
iyzsong has quit [Ping timeout: 268 seconds]
<Myrl-saki> Okay, it responds to kill -9
<Myrl-saki> But my pkill is not
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39531 → openvpn: 2.4.5 -> 2.4.6 → https://git.io/vpC78
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vp4sQ
<{^_^}> → 88980638 by R. RyanTM: openvpn: 2.4.5 -> 2.4.6
<{^_^}> → 4359507e by @matthewbauer: Merge pull request #39531 from r-ryantm/auto-update/openvpn
blankhart has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vp4s5
<{^_^}> → 89fb95b9 by R. RyanTM: libwps: 0.4.8 -> 0.4.9
<{^_^}> → 597ea7f4 by @matthewbauer: Merge pull request #39533 from r-ryantm/auto-update/libwps
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39533 → libwps: 0.4.8 -> 0.4.9 → https://git.io/vpChV
<Myrl-saki> Oh, can use pgrep.
<Myrl-saki> That gave me a bit of a spook
jgt1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @davidak opened pull request #39639 → elementary-xfce-icon-theme: 2017-11-28 -> 0.11 → https://git.io/vp4sF
<colemickens> I'm executing this. How can I get the hash of the attribute? (and what is the right terminology to ask this question)? nix-build '<nixpkgs/nixos>' --attr config.system.build.azureImage --argstr system x86_64-linux --out-link azure --max-jobs 10
pcr has quit [Ping timeout: 260 seconds]
<colemickens> at the end the out-link 'azure' is a symlink to '<hash>-azure-image'. I want <hash> without using `readlink` or something on the out-link. I assume there's a `nix-something` command?
griff_ has joined #nixos
jaeckel has joined #nixos
MichaelRaskin has joined #nixos
simukis has joined #nixos
dx_ has quit [Quit: leaving]
dx_ has joined #nixos
orivej has joined #nixos
<Myrl-saki> clever: I'm starting to get some segfaults on my build server.
<Myrl-saki> clever: No signal 6 so far yet htough.
pxc has joined #nixos
dx_ has quit [Ping timeout: 264 seconds]
pxc has quit [Ping timeout: 260 seconds]
<kuri0> Mic92_, when building the vm is there a way to use ccache ?
<kuri0> so that when i rebuild its faster
griff_ has quit [Ping timeout: 240 seconds]
Huck777 has left #nixos ["WeeChat 2.1"]
dx_ has joined #nixos
rosa has quit [Quit: rosa]
jgt1 has joined #nixos
lonokhov has joined #nixos
stew has joined #nixos
nD5Xjz has joined #nixos
xy2_ has joined #nixos
dx_ has quit [Ping timeout: 240 seconds]
sigmundv__ has joined #nixos
nixname has joined #nixos
<sphalerite> clever: so what do you want me to try?
jgt1 has quit [Quit: WeeChat 1.9.1]
<sphalerite> Myrl-saki: fwiw probably a bit late now, but pkill -G nixbld
aril has joined #nixos
<sphalerite> http://ix.io/18UW hm nice
Jetien has joined #nixos
<sphalerite> I suspect this is just another of the things that crop up when you run out of space though
nixname has quit [Quit: Page closed]
nixname has joined #nixos
<nixname> can anyone tell me how long outputs remain in the binary cache, or what that depends on?
viric_ is now known as viric
<sphalerite> nixname: in the official binary cache? So far, forever
liif has joined #nixos
nixname_ has joined #nixos
liif is now known as liff
<sphalerite> nixname_: in the official binary cache, so far, forever
<nixname_> that's great news! thanks for the info.
<sphalerite> iirc it might get gc'd eventually, but for now there's no reason to since the bandwidth costs far exceed the storage costs, or something like that
<nixname_> sphalerite: makes sense
nixname has quit [Ping timeout: 260 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
<Mic92_> kuri0: ccache for what?
<sphalerite> ugh, stupid perl non-determinism
page has quit [Quit: leaving]
<sphalerite> Also, /j #workingset
<sphalerite> oops
furon has quit [Quit: Connection closed for inactivity]
NightTrain has quit [Quit: Lost terminal]
<nixname_> Mic92_: i may not be using the right terminology, but i meant cache.nixos.org
<Mic92_> nixname_: it uses the binary cache and your local downloaded assets when building vms
page has joined #nixos
<sphalerite> nixname_: Mic92 was referring to an earlier question from kuri0, about ccache, not the nix binary cache :)
<nixname_> ah - my apologies. sorry for the confusion
<sphalerite> :)
<sphalerite> So I'm getting path hash mismatches due to the appearance of files with names like _exit.2.gz~nix~case~hack~1
<sphalerite> What causes the appearance of these files and how can I stop it from happening?
<sphalerite> Remounting the store rw and changing the names back to what they're supposed to be fixes the hash mismatches
<Dezgeg> fixed in 2.0.1 I think
<sphalerite> ah, perfect
ihar has quit [Quit: WeeChat 2.0]
Harpalus has joined #nixos
Harpalus has left #nixos [#nixos]
<{^_^}> [nixpkgs] @ookhoi opened pull request #39642 → netcat-openbsd-1.187-1-1.190-1 - set version from 1.187 to 1.190: → https://git.io/vp4nD
thc202 has joined #nixos
olto has joined #nixos
jacob_ has joined #nixos
Ross has quit [Quit: ZNC - http://znc.in]
Ross has joined #nixos
pxc has joined #nixos
colemickens has quit [Ping timeout: 260 seconds]
pxc has quit [Ping timeout: 240 seconds]
aril has quit [Ping timeout: 260 seconds]
jbo has joined #nixos
<jbo> Hi there - so I'm trying to install docker, following https://nixos.wiki/wiki/Docker, but following nixos-rebuild switch --upgrade, neither the docker service is running nor is my user in the docker group. What's up?
<kuri0> Mic92_, for building the vm
pie_ has quit [Ping timeout: 248 seconds]
<Mic92_> kuri0: it is used.
vcunat has joined #nixos
<jbo> aha! Looks like I had some dud entries in nixpkgs.config, which led nixos-rebuild to seem to execute, but actually it was silently failing :(
<{^_^}> [nixpkgs] @Mic92 pushed commit from @ookhoi to release-18.03 « netcat-openbsd: 1.187 -> 1.190: (#39605) »: https://git.io/vp4cJ
<{^_^}> [nixpkgs] @Mic92 closed pull request #39642 → netcat-openbsd-1.187-1-1.190-1 - set version from 1.187 to 1.190: → https://git.io/vp4nD
qknight has joined #nixos
<unlmtd> im setting up a nix-channel. I have the `nixexprs.tar.xz` and `binary-cache-url` there, both reachable with wget, but `nix-channel --update` fails with `HTTP error 404 (curl error: No error)`
<unlmtd> does it expect https?
maingo has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39639 → elementary-xfce-icon-theme: 2017-11-28 -> 0.11 → https://git.io/vp4sF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp4cO
<{^_^}> → 1c235abd by @davidak: elementary-xfce-icon-theme: 2017-11-28 -> 0.11
asuryawanshi has joined #nixos
<{^_^}> → 6078f019 by @Mic92: Merge pull request #39639 from davidak/elementary-xfce-icon-theme-update
bpa has quit [Remote host closed the connection]
nixname_ has quit [Quit: Page closed]
sigmundv__ has joined #nixos
lhart has joined #nixos
lhart has quit [Client Quit]
<unlmtd> Hallelujah! It works!
<sphalerite> what was it?
pcr has joined #nixos
<kuri0> Mic92_, i built the virtual machine and its stuck at mke2fs 1.44.1 (24-Mar-2018)
coot has joined #nixos
<pcr> I'd like to make a derivation out of a URL that hosts a zipped binary. After fetchurl, unpackPhase fails because "sourceRoot doesn't contain a directory". So I changed phases to use a single installPhase script that unzips src to $out/bin. Is there a neater way to do this?
<kuri0> also it didn't seem to use the custom kernel i told it to and i'm doing this on ubuntu with nix installed
<sphalerite> pcr: if you're not using any other stdenv stuff then there's not really any reason not to take that approach. Although since you're not using the phases mechanism really you could just use buildCommand
jbo has quit [Quit: leaving]
asuryawanshi has quit [Remote host closed the connection]
<LnL> pcr: add nativeBuildInputs = [ unzip ];
<kuri0> if I put boot.kernelPackages = linuxPackages_4_14; in my nix vm config why do I get error: undefined variable 'linuxPackages_4_14'
<kuri0> do i need to include something ?
<sphalerite> kuri0: pkgs.linuxPackages_4_14
<kuri0> sphalerite, undefined variable pkgs
<kuri0> it says
<sphalerite> kuri0: add it to the arguments at the top of the file
<sphalerite> like { config, pkgs, ... }:
<kuri0> ok
oida has quit [Remote host closed the connection]
oida has joined #nixos
<kuri0> why does my vm hang at mke2fs 1.44.1 when booting ?
logzet has joined #nixos
<Dezgeg> try giving it virtio-rng
<Dezgeg> I wonder why it is calling mke2fs though
<sphalerite> Dezgeg: for the rootfs
<sphalerite> nixos/modules/virtualisation/qemu-vm.nix:391
<Dezgeg> ah ok
<sphalerite> great. Audacity deadlocks when I press space.
<Dezgeg> but yeah, mke2fs wants strong random numbers (probably for dumb purposes) and hangs waiting for entropy to be available :/
<{^_^}> [nixpkgs] @andir opened pull request #39643 → quassel: 0.12.4 -> 0.12.5 (fixes RCE & remote crash) → https://git.io/vp4Cc
<{^_^}> [nixpkgs] @andir opened pull request #39644 → [17.09] quassel: 0.12.4 fix RCE & DOS → https://git.io/vp4CC
<{^_^}> [nixpkgs] @andir opened pull request #39645 → [18.03] quassel: 0.12.4 fix RCE & DOS → https://git.io/vp4CW
<sphalerite> Dezgeg: for the UUID maybe?
<Dezgeg> probably yeah
<Dezgeg> I guess there are per-directory hash keys for avoiding collision attacks as well
<Dezgeg> though I suppose if you let non-root write to / or /lost+found you have a bigger problem already x)
Ahmedkh has joined #nixos
<kuri0> it gives undefined variable virtio-rng. this is my config https://hastebin.com/ebaziniqas.scala
<Dezgeg> sorry I mean passing "-device virtio-rng-pci" to the QEMU command line
<Dezgeg> I wonder how to do that though
timokau has quit [Quit: WeeChat 2.1]
<kuri0> Dezgeg, QEMU_OPTS ?
<Dezgeg> yeah
<LnL> or you can just pass extra arguments to the runner
<Dezgeg> or virtualisation.qemu.options = [ "-device virtio-rng-pci" ] might work as well
<kuri0> Dezgeg, works now
<Dezgeg> great
<Dezgeg> which variant?
tyrus82 has joined #nixos
<kuri0> Dezgeg, QEMU_OPTS
<sphalerite> maybe it should be in the default value of virtualisation.qemu.options though
<Dezgeg> yes, that's what I was planning to do but we have err, multiple places where qemu is started :)
<Dezgeg> I think I found the right one
Ariakenom has joined #nixos
timokau has joined #nixos
timokau has quit [Client Quit]
timokau has joined #nixos
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dezgeg pushed to master « nixos/qemu-vm: Always add a virtio RNG device to the quest »: https://git.io/vp4CM
tertle||eltret has quit [Quit: Connection closed for inactivity]
<kuri0> has anyone made nixos have a legacy tree for compatibility like gobolinux ? https://gobolinux.org/doc/articles/gobohide.html
timokau has quit [Client Quit]
<kuri0> maybe appimage and stuff will work then
<kuri0> and scripts that look in /usr/
timokau has joined #nixos
<kuri0> sphalerite, yeah that would work if you run it inside that environment
<kuri0> any way so that there is a /usr which contains symlinks ?
<kuri0> and /lib and /lib64 too for the ld-linux
<sphalerite> there isn't any existing thing, but you could link /run/current-system/sw to /usr
<sphalerite> but nixos doesn't install libraries into profiles, so it won't make everything work
<kuri0> sphalerite, yeah you will have to do something that makes /usr be different for each user
<kuri0> which is hard if its even possible without modifying the kernel
<sphalerite> it's got nothing to do with the kernel
<Dezgeg> you could use user and mount namespaces to have each user see a different /usr for them
<kuri0> yeah the kernel already has
<jbetz_> so, I'm trying to set up dual boot for nixos and windows using grub, and nothing seems to be working
<Dezgeg> at least for legacy boot boot.loader.grub.useOSProber = true; JustWorks for me, FWIW
<jbetz_> and now it's regressed to the point where I can't even build a new configuration
<jbetz_> Dezgeg: so, that just requires switching from UEFI to Legacy?
<kuri0> jbetz_, afaik when you switch from uefi to legacy you have to reinstall windows
<Dezgeg> I would imagine os-prober has some EFI support
<Dezgeg> but yeah, I wouldn't attempt a uefi -> legacy switch of windows personally
<kuri0> jbetz_, maybe try refind
<jbetz_> really don't want to have to reinstall windows
<kuri0> refind works with uefi
<{^_^}> [nixpkgs] @andir merged pull request #39643 → quassel: 0.12.4 -> 0.12.5 (fixes RCE & remote crash) → https://git.io/vp4Cc
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vp4WJ
<{^_^}> → bf325f1b by @andir: quassel: 0.12.4 -> 0.12.5 (fixes RCE & remote crash)
<{^_^}> → 7c05ada6 by @andir: Merge pull request #39643 from andir/quassel-0.12.5
<{^_^}> [nixpkgs] @andir merged pull request #39644 → [17.09] quassel: 0.12.4 fix RCE & DOS → https://git.io/vp4CC
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-17.09: https://git.io/vp4WU
<{^_^}> → f05e8d58 by @andir: quassel: 0.12.4 fix RCE & DOS
<kuri0> or systemd-boot
<{^_^}> → a3a6dd71 by @andir: Merge pull request #39644 from andir/17.09/quassel-rce-dos
<{^_^}> [nixpkgs] @andir merged pull request #39645 → [18.03] quassel: 0.12.4 fix RCE & DOS → https://git.io/vp4CW
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.03: https://git.io/vp4WT
<{^_^}> → 8ae91ea6 by @andir: quassel: 0.12.4 fix RCE & DOS
<{^_^}> → 2b292fed by @andir: Merge pull request #39645 from andir/18.03/quassel-rce-dos
<sphalerite> jbetz_: yeah I'd suggest trying systemd-boot
<jbetz_> also, `Failed to start local-fs.target: Unit boot.mount is masked.`any idea what this is about?
<jbetz_> also, `Failed to start local-fs.target: Unit boot.mount is masked.` any idea what this is about?
<jbetz_> oops
<kuri0> jbetz_, you masked the boot.mount unit ?
<sphalerite> o.O no, haven't seen that one before
<kuri0> try sudo systemctl unmask boot.mount
<sphalerite> kuri0: systemd commands that modify the configuration don't work on nixos
<Dezgeg> os-prober does come with lib/os-probes/mounted/05efi which sounds like it should be capable of detecting other EFI operating systems
<jbetz_> kuri0: sphalerite systemd-boot is what nixos uses by default, correct? in which case, it didn't work. do I need to configure it further?
<jbetz_> the boot menu only had the nixos configurations, no windows
<sphalerite> jbetz_: yeah I think it does nowadays
<kuri0> jbetz_, you have to configure it
<sphalerite> jbetz_: do you have the windows boot loader in your EFI system partition?
<kuri0> you need to add an entry for /EFI/Microsoft/Boot/bootmgfw.efi
<jbetz_> sphalerite: good question
<jbetz_> any way to check?
<kuri0> jbetz_, check if you have a /EFI/Microsoft folder on your esp
<Dezgeg> well your partition list shows multiple ESPs... I don't know how that will work
<kuri0> Dezgeg, how do you have multiple ESPs on one disk o_O
Ahmedkh has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<jbetz_> kuri0: now it's the same error, except `-.mount` instead of `boot.mount`
<jbetz_> wrt to the masking issue
<Dezgeg> just by creating multiple of them? :P
<kuri0> Dezgeg, how would the firmware identify which one to use ?
<Dezgeg> that's what I wonder as well
* sphalerite would guess the dumb behaviour: the first one with the appropriate type code
<kuri0> jbetz_, why do you have two ESPs ?
<jbetz_> 1:08 PM <kuri0> jbetz_, check if you have a /EFI/Microsoft folder on your esp <-- how do I check?
PolarIntersect has quit [Ping timeout: 255 seconds]
<kuri0> jbetz_, just look in whatever folder you esp is mounted at
<kuri0> jbetz_, also you don't need a bios boot partition on uefi
<jbetz_> probably because I was following instructions for single booting nixos rather than dual booting
<kuri0> i would recommend deleting it
<Dezgeg> I wonder if windows will not like that
<Dezgeg> (deleting it I mean)
<kuri0> Dezgeg, windows doesn't use that
<sphalerite> I'd recommend deleting the newly created one and mounting the windows one in its place
<kuri0> i dual boot linux and windows with a simple partition configuration
<jbetz_> okay, deleted the new one
asuryawanshi has joined #nixos
<Dezgeg> yeah nvm, I've had too less coffee
<Dezgeg> :P
<kuri0> /dev/sda1 is ESP and /dev/sda2 is Linux and /dev/sda3 is Windows recovery and /dev/sda4 is Windows
<kuri0> that is how i configured
<Dezgeg> so yes, I agree with using only the windows-created ESP and having nixos put its files there as well
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/18e0f8e34e2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<kuri0> Dezgeg, i first installed linux and then windows
<jbetz_> brb
<kuri0> windows used the esp i made with linux
<Dezgeg> oh right, that's another factor :P
<jbetz_> So, rebooting without the esp I made with linux sent me to windows
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/vp4WV
<{^_^}> → 51190e4d by @etu: php56: 5.6.35 -> 5.6.36
<{^_^}> → bd547f66 by @etu: php70: 7.0.29 -> 7.0.30
<{^_^}> → 707f7ca1 by @etu: php71: 7.1.16 -> 7.1.17
<{^_^}> [nixpkgs] @Mic92 merged pull request #39591 → php: 5.6.35 -> 5.6.36, 7.0.29 -> 7.0.30, 7.1.16 -> 7.1.17 → https://git.io/vplSC
<jbetz_> Which makes sense, but now how do I configure this ESP for dual boot?
<sphalerite> just mount it on /boot in nixos and it should work
<sphalerite> with os-prober and grub, or with systemd-boot, AFAIK
<kuri0> jbetz_, but why do you have two ESPs
<kuri0> its probably confusing the firmware / os
pxc has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to release-18.03: https://git.io/vp4W1
<{^_^}> → d68f32e4 by @etu: php70: 7.0.28 -> 7.0.29
<{^_^}> → ca82aa9b by @etu: php71: 7.1.15 -> 7.1.16
<jbetz_> kuri0: oh, I don't anymore
<{^_^}> → 0ec977f5 by @etu: php56: 5.6.34 -> 5.6.35
<kuri0> jbetz_, can you show the contents of your esp using tree then ?
<[Leary]> systemd-boot should automatically load the windows efi file in the ESP without configuration or os-prober
<jbetz_> kuri0: sure, once I get back into nixos. stalled by not having function keys to load the boot menu ATM.
hotfuzz_ has quit [Ping timeout: 240 seconds]
pxc has quit [Ping timeout: 240 seconds]
<rizary> i'm using this `https://nixos.wiki/wiki/PostgreSQL` initialScript in my configuration.nix, but the role that created still doesn't exist
<kuri0> I have a folder of kernel patches and i put it into pkgs/os-specific/linux/kernel/mypatches/ and i want to know how to write a default.nix in that folder that uses all the patches in the folder ?
Jetien has quit [Ping timeout: 260 seconds]
hotfuzz_ has joined #nixos
<jbetz_> Damnit, windows boot loader isn't finding the nixos partition, so I don't know how to get in
<kuri0> jbetz_, it isn't supposed to
<kuri0> you need to have a bootloader which can boot nixos
<kuri0> or maybe efi stub
<jbetz_> Okay, so I how to I switch to one that can?
pie_ has joined #nixos
Arcaelyx_ has joined #nixos
<qknight> what was the nox command for reverse depedency builds?
<sphalerite> qknight: nox-review wip/pr ?
Arcaelyx has quit [Ping timeout: 265 seconds]
<sphalerite> jbetz_: both grub and systemd-boot support it
<sphalerite> jbetz_: and you already have one of those enabled, so it should just be a matter of running nixos-rebuild boot
<sphalerite> oh, you might also need to set boot.loader.efi.canTouchEfiVariables = true;
<qknight> sphalerite: thanks
<jbetz_> But how do I do that from inside windows?
qknight has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39577 → pythia: 8.226 -> 8.235, enable lhapdf6 plugin → https://git.io/vplCG
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vp4l8
<{^_^}> → 1cfc5f1d by @veprbl: pythia: 8.226 -> 8.235, enable lhapdf6 plugin
<{^_^}> → 2f47c93e by @veprbl: sacrifice: set LD_LIBRARY_PATH for pythia plugins to work
<{^_^}> → 68e75fbb by @Mic92: Merge pull request #39577 from veprbl/pr/pythia_8.235
<kuri0> jbetz_, you need to boot nixos
<kuri0> or maybe chroot from a usb
<[Leary]> jbetz_: You might also need to give nixos-rebuild the flag --install-bootloader, not sure.
<[Leary]> BTW you can install a bootmanager onto a USB stick then use it to boot into the installed nixos, if you have no other way of getting to it.
<sphalerite> jbetz_: you can probably also create the boot entries from windows, if the files are there. Not sure if they are though
<{^_^}> [nixpkgs] @Mic92 merged pull request #39528 → php: 7.2.4 -> 7.2.5 → https://git.io/vpCMD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp4lg
<{^_^}> → 1ec8160f by R. RyanTM: php: 7.2.4 -> 7.2.5
<{^_^}> → df8d2162 by @Mic92: Merge pull request #39528 from r-ryantm/auto-update/php
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « php: 7.2.4 -> 7.2.5 »: https://git.io/vp4lw
<jbetz_> So, I've booted into the nixos installer I had on a flash drive
<jbetz_> Now how do I get to the installer nixos?
<jbetz_> *installed
<{^_^}> [nixpkgs] @aszlig opened pull request #39647 → Add KMyMoney → https://git.io/vp4lS
<sphalerite> jbetz_: just mounting the partitions as appropriate and running nixos-install should do it
knupfer has joined #nixos
jacob_ has quit [Remote host closed the connection]
<kuri0> I have a folder of kernel patches and i put it into pkgs/os-specific/linux/kernel/mypatches/ and i want to know how to write a default.nix in that folder that uses all the patches in the folder ?
<kuri0> how could i do that
ixxie has joined #nixos
<sphalerite> kuri0: you don't need to put it in nixpkgs, you basically just need attr sets containing `name` and `file` attributes
<sphalerite> err, sorry, `patch`, not `file`
<sphalerite> kuri0: have a look at pkgs/os-specific/linux/kernel/patches.nix for some examples
spear2 has quit [Ping timeout: 248 seconds]
<jbetz_> sphalerite: getting this error from nixos-install: `File system "/boot" has the wrong type for an EFI System Partition (ESP)."
<sphalerite> did you mount the EFI system partition to /boot?
<sphalerite> or /mnt/boot
<jbetz_> Hmm
<jbetz_> To /mnt/boot
<sphalerite> huh ok :/
<jbetz_> Although, that might be the EFI I deleted "|
<jbetz_> *:|
<jbetz_> It didn't error when I true though
<jbetz_> The label was still valid
<sphalerite> oh right, since the mounts have changed you may also need to re-run nixos-generate-config --root /mnt
<sphalerite> it won't touch your configuration.nix, only overwrite hardware-configuration.nix
acarrico has joined #nixos
<jbetz_> Okay, I tried relabeling the old EFI to boot, then regenerating the hardware config, and now it has two entries for boot
<jbetz_> Which causes nixos-install to fail
<sphalerite> did you mount it twice?
<jbetz_> Why would it think there are two? I only have one ESP
iyzsong has joined #nixos
<jbetz_> Damnit, I think I did
coot has quit [Quit: coot]
<jbetz_> sphalerite: http://lpaste.net/365335
<jbetz_> only mounted once now, but fails in a different way :/
coot has joined #nixos
coot has quit [Remote host closed the connection]
<jbetz_> I think boot is symlinked to the wrong partition
<{^_^}> [nixpkgs] @grahamc opened pull request #39649 → NixOS docs: making it easier to hack on → https://git.io/vp44U
<jbetz_> `File system "/boot" is not a FAT EFI System Partition (ESP) file system.`
<jbetz_> does the windows ESP need to be reformatted?
<jbetz_> I already ran `mkfs.fat -F 32 -n boot /dev/sda1`
<sphalerite> there shouldn't be a symlink at all
<jbetz_> where /dev/sda1 is the EFI System
<jbetz_> sphalerite: the symlink was in /dev/disk/by-label
freeman42x]NixOS has joined #nixos
<jbetz_> `dev/disk/by-label/boot --> ../../sda1`
bbsl has joined #nixos
<bbsl> could anyone help me write this override please? I found some snippets before to set up a haskellenv which has been working for me so far but now I want to add rust/rustNightly to it and I cant understand whats not working. Error: undefined variable 'pkgs' at /home/bbsl/.config/nixpkgs/config.nix:20:26 config.nix: https://pastebin.com/cxCRwsdG
<bbsl>
<srhb> bbsl: That's a little weird. Normally, what you're calling super _is_ packageOverrides. It looks like you're mixing up some patterns from packageOverrides and overlays.
<sphalerite> jbetz_: you shouldn't have reformatted the ESP, that probably broke windows :|
<bbsl> it works if I remove the rustPackages = "blerg" assign but Im not sure if it only works because fetchFromGithub is lazy and work do anything if its not needed
<srhb> Er, super _is_ pkgs
<srhb> bbsl: But regardless, the error says that you do not have pkgs in scope
<srhb> bbsl: And if you look closely, that is indeed the case.
<srhb> bbsl: super.fetchFromGitHub would exist, for instance. As would super.pkgs.fetchFromGitHub
<bbsl> srhb: ow I mucked about with it too much and didnt read the error msg when I copied ... it used to be: undefined variable 'rustNightlyNixRepo' at /home/bbsl/.config/nixpkgs/config.nix:27:41, thats what I ment to paste.
<srhb> bbsl: You just need a rec in your attrset for that to work
<srhb> bbsl: Normally attributes cannot refer to each other, ie. this is an error: { foo = bar; bar = 42; }
<srhb> bbsl: But this is fine: rec { foo = bar; bar = 42; }
<bbsl> hmmm
<{^_^}> [nixpkgs] @Mic92 merged pull request #39612 → cupsd: Introduce services.printing.logLevel option → https://git.io/vp8aq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp44o
<{^_^}> → 192352ff by @bgamari: nixos/cupsd: Introduce services.printing.logLevel option
<{^_^}> → f9fe798f by @Mic92: Merge pull request #39612 from bgamari/cupsd-loglevel
<bbsl> yea that is my problem, why is that a thing?
<srhb> bbsl: Being able to define nonrecursive attrsets is nice when you want to _not_ accidentally introduce recursion.
<jbetz_> sphalerite: damnit :|
<srhb> bbsl: This would look cleaner with overlays instead of packageOverrides.
<jbetz_> sphalerite: what should I do now?
hakujin has joined #nixos
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bbsl> srhb: ty it works now
<bbsl> srhb: maybe I shoudl learn about overlays while Im at it, know of a good resource? can I define them in this config.nix that I refer to from configuration.nix like Im doing with this file?
hakujin has quit [Ping timeout: 256 seconds]
<srhb> bbsl: It's described quite well in the nixpkgs manual :)
<srhb> bbsl: And I prefer overlays over packageOverrides for basically everything.
<srhb> bbsl: What it does is allow you to refer to the modified set itself, like so: `modified: old: { ... }` meaning in this case modified.rustNightlyNixRepo would exist.
goibhniu has joined #nixos
ilyaigpetrov has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38883 → onestepback: init at 0.98 → https://git.io/vxpAe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp44F
<{^_^}> → 524b2947 by @romildo: onestepback: init at 0.98
<{^_^}> → 4071b64a by @Mic92: Merge pull request #38883 from romildo/new.onestepback
pcr has quit [Quit: Page closed]
iyzsong has quit [Ping timeout: 248 seconds]
nallar has joined #nixos
Ross has quit [Ping timeout: 240 seconds]
nallar is now known as Ross
ixxie has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @obadz pushed to master « hyena: fix hyena & pdfmod builds on higher versions of mono »: https://git.io/vp4Bs
ThatDocsLady has joined #nixos
iyzsong has joined #nixos
<sphalerite> jbetz_: sorry only just saw this
<sphalerite> I think you're running into https://github.com/NixOS/nixpkgs/issues/38928 :/
<bbsl> srhb: ok ty for the link to the doc. I dont doubt that is is a usefull feature. Overlays that is, but the docs kindof suck at explaining how to get started.
daveo has joined #nixos
pxc has joined #nixos
<jbetz_> sphalerite: yup, that fixed it
testuser has joined #nixos
<testuser> hi, I've build my system with nixos-rebuild build and it has rebuilt the /nix/store/5clbbvqvscmdx6iyd8lkxwbg7zl4vdrl-dhcpcd.exit-hook.drv derivation, but how can I find the actual script that was generated to see what is contained in the file ?
pxc has quit [Ping timeout: 264 seconds]
<jbetz_> and now I'm pretty much back to where I started, where only nixos shows up on the systemd bootloader
testuser has quit [Quit: Leaving]
<jbetz_> sphalerite: https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows <-- I'll see if I can get the EFI option on here to work
<sphalerite> jbetz_: well yeah by formatting the ESP you deleted the windows bootloader.
franksinistra has joined #nixos
franksinistra has quit [Remote host closed the connection]
<jbetz_> sphalerite: yeah :| any way to install it on my linux ESP?
<jbetz_> e.g., dump it into /boot/efi ?
<sphalerite> yeah. Not reformatting the ESP.
<sphalerite> Just reusing the same one without destroying anything already on it.
aarvar has quit [Ping timeout: 248 seconds]
franksinistra has joined #nixos
franksinistra has quit [Client Quit]
romildo has joined #nixos
<kuri0> sphalerite, yeah that would work but it to automaticly add all the patches in the folder
<kuri0> so i don't have to manually add each one
<[Leary]> Hopefully that's what windows will do if you boot into a recovery environment and ask it to 'repair' your windows install. I wouldn't trust it not to clobber anything though; might be worth backing up the current contens jbetz_.
<[Leary]> Also, it will probably set itself first in the boot order, meaning you wont see the systemd-boot loader.
<bbsl> testuser: if the script is linked in your path you can use readlink to find it. there are probably other better ways but I tend to go to /nix/store and use silver searcher if the first one is'nt the case. PS: "nix --help" it has a bunch of new stuff and you might be able to use some of it to navigate the store, playwith with it yesterday to find the .lua file that weechat-matrix-"whatever" puts in your store
<kuri0> jbetz_, if you want to install the windows boot loader back you usually install it by clicking repair when you boot a windows install media
<kuri0> for me it hasn't deleted linux
<kuri0> make sure you have only one esp
<kuri0> or it will get confused
<sphalerite> kuri0: something like map (filename: {name = lib.removeSuffix ".patch" filename; patch = "${./patches}/" + filename;})) (builtins.readDir ./patches) maybe?
<sphalerite> err, wait no, readDir generates an attr set
<sphalerite> but you get the idea
<jbetz_> kuri0: okay, so booting windows from a usb should fix it?
silver has joined #nixos
<jbetz_> [Leary]: yeah, currently backing up my windows hard drive now
Rusty1_ has joined #nixos
LightDiscord has joined #nixos
<LightDiscord> Hi, does someone try to build node 10?
<kuri0> jbetz_, boot and then do startup repair
seequ has quit [Ping timeout: 264 seconds]
<kuri0> shouldn't delete linux partitions but might overwrite the bootloader
seequ has joined #nixos
hotfuzz_ is now known as hotfuzz
<kuri0> sphalerite, so i put that in default.nix in my patches folder ?
<jbetz_> kuri0: okay thanks
<kuri0> and then add patches = import ./patches; to patches.nix
<kuri0> and then enable it in all-packages.nix
knupfer1 has joined #nixos
<kuri0> sphalerite, also it gives undefined variable lib
<kuri0> i think i need to include it
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
lonokhov has quit [Quit: WeeChat 2.0]
blankhart has quit [Ping timeout: 268 seconds]
freeman42]NixOS has joined #nixos
johnw has joined #nixos
seville has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Ping timeout: 256 seconds]
bbsl has quit [Remote host closed the connection]
leo60228 has joined #nixos
<leo60228> docker still isn't installing
<leo60228> i've tried switching to unstable
<sphalerite> leo60228: how are you trying to install it?
<sphalerite> it should just be a matter of virtualisation.docker.enable = true; and nixos-rebuild switch
iyzsong has quit [Ping timeout: 265 seconds]
<leo60228> that way
b has joined #nixos
<leo60228> it seems like all virtualisation.docker options are getting completely ignored
<leo60228> when i do nixos-rebuild switch -v the module isn't listed as being evaluated, but not sure if it should be
<leo60228> sphalerite
<sphalerite> what does `nixos-option virtualisation.docker.enable` say?
<leo60228> false
<sphalerite> and for the "defined by" bit?
<leo60228> /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/virtualisation/docker.nix
daveo has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<sphalerite> right so your option just isn't getting applied. How did you define it and in which file?
daveo has joined #nixos
<leo60228> virtualization.docker.enable = true; in /etc/nixos/configuration.nix
Slabity has joined #nixos
<leo60228> enabling other services (i.e. ssh) worked fine
<leo60228> i've tried enabling and disabling it several times
<sphalerite> s/virtualization/virtualisation/ :)
<sphalerite> I'd expect it to complain about that though…
<leo60228> ..
<leo60228> .
<leo60228> i actually checked that
<leo60228> and was looking at the line below it
pxc has joined #nixos
<leo60228> which was also a virtualisation line (that was spelled correctly
<leo60228> )
<leo60228> i wouldn't expect it to complain
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a67a7e41dcf (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<leo60228> configuration.nix is just a normal set, right?
<leo60228> not some special configuration dsl
<leo60228> so why would a normal set have an issue with too many properties?
<leo60228> it works now
<leo60228> thanks
<sphalerite> it is a normal set, but it's validated against the set of defined options
<sphalerite> it seems this is an oddity with how renames work
obadz has quit [Quit: WeeChat 2.0]
<sphalerite> since virtualization.growPartition exists as an alias for boot.growPartition
<sphalerite> if you put a completely nonexistent option, it will complain about it
<sphalerite> error: The option `virtualizationa' defined in `/etc/nixos/configuration.nix' does not exist.
pxc has quit [Ping timeout: 240 seconds]
obadz has joined #nixos
<sphalerite> https://github.com/NixOS/nixpkgs/issues/36590 there's an existing issue about it too
daveo has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed 7 commits to master: https://git.io/vp401
<{^_^}> → f8d0c9e3 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → e39a75cd by @peti: haskell-pandoc: update override for ghc-8.4.x
<{^_^}> → 99dc2d6f by @peti: haskell-hpack: use latest version for ghc-8.4.x to fix the build
<{^_^}> [nixpkgs] @ajs124 opened pull request #39652 → makemkv: 1.10.8 -> 1.12.2, switch from qt4 to qt5 → https://git.io/vp407
MinceR has quit [Ping timeout: 240 seconds]
MinceR has joined #nixos
<{^_^}> [nixpkgs] @obadz pushed to master « zerotierone: 1.2.4 -> 1.2.8 »: https://git.io/vp4Et
Mateon1 has quit [Ping timeout: 263 seconds]
<sphalerite> https://github.com/NixOS/nixpkgs/pull/38962 anyone care to merge?
Mateon3 has joined #nixos
franksinistra has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #38962 → buildFHSUserEnv: change to root directory after chroot → https://git.io/vpebM
<{^_^}> [nixpkgs] @obadz pushed commit from @lheckemann to master « buildFHSUserEnv: change to root directory after chroot »: https://git.io/vp4EC
<sphalerite> thanks obadz !
<obadz> np
Mateon3 is now known as Mateon1
franksinistra has left #nixos [#nixos]
<epta> I've just switched from ghc822 to ghc842 on darwin, and it seems that all the packages need to be built locally. There is no cache for ghc842, or am I missing something?
<sphalerite> epta: there's no cache for non-default stuff AFAIK
ivanivan has joined #nixos
<ivanivan> Is there a way to tell a globally-installed Ruby where to find a gem packaged in the nix store?
<tilpner> You could globally set GEM_HOME and GEM_PATH. Look at nixpkgs/pkgs/applications/networking/cluster/panamax/ui/default.nix for an example, but note that I have not tried this, nor am I familiar with Nix Ruby packaging
<{^_^}> [nixpkgs] @ayyjayess opened pull request #39653 → Polybar: make call to i3 pure → https://git.io/vp4uJ
jacob_ has joined #nixos
logzet has quit [Remote host closed the connection]
<Slabity> Hey guys, I'm getting this error when trying to deploy an EC2 instance from NixOps: `No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials`
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a3a6dd71275 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<Slabity> Any idea what this could mean? I'm pretty certain my access keys are correct.
<ivanivan> tilpner: thanks, I'll take a look at that
johnw has quit [Ping timeout: 264 seconds]
daveo has joined #nixos
<toppler> Ut-oh. Just upgrading and rebooted and now my Dell is randomly freezing on me.
iyzsong has joined #nixos
jperras has joined #nixos
<Slabity> Nevermind with my EC2 issue. I just had a typo I couldn't find.
kreetx has joined #nixos
<sphalerite> toppler: boot into an older generation and check the logs?
<epta> Is there a way to pass '--allow-newer' cabal flag in a nix expression?
<toppler> sphalerite: Will do.
<sphalerite> epta: I don't know much about the haskell packaging but there's this doJailbreak thing which might be what you want
<jbetz_> anyone know why opera would crash whenever it tries to open a file dialogue?
<jbetz_> the application closes then reopens immediately
<jbetz_> no such issue in firefox
boxscape has joined #nixos
<boxscape> is there some easy way to see for which packages in a channel pre-built binaries exist?
Notkea has joined #nixos
coot has joined #nixos
<toppler> sphalerite: One problem is that I expect it might be a kernel issue. I'm right in thinking that, if that's the case, I'll have to specifically pick a generation with a different kernel, since I'll have gone through a few generations without ever rebooting into a new kernel?
<sphalerite> toppler: that's possible
FPtje has joined #nixos
Guest16581 has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
coot has quit [Quit: coot]
Slabity has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 240 seconds]
dx_ has joined #nixos
<FPtje> Does anyone have experience with 2-in-1s on NixOS? Something is disabling Wacom and touch screen input when I fold the lid backwards. I already figured that folding the lid backwards is considered the same as closing the lid, so logind.lidSwitch and logind.lidSwitchDocked are set to "ignore"
iqubic has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 268 seconds]
klntsky has quit [Remote host closed the connection]
<rizary> anyone having this issue with hydra?
klntsky has joined #nixos
<rizary> everytime I create jobset and try to edit the configuration, i got that error when clikc apply changes
<FPtje> rizary, I don't see it here
daveo has quit [Ping timeout: 248 seconds]
<rizary> are you using hydra-2017-11-21?
gmarmstrong has joined #nixos
<FPtje> Hydra 2017-11-21, yes
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<Notkea> hello, is there a reverse application/pipe operator (a -> (a -> b) -> b) in the nix language?
daveo has joined #nixos
<FPtje> Notkea, I'd look for such a function in nixpkgs/lib/trivial.nix and I can't find it. I'm not sure, but I don't think so
ivanivan has quit [Quit: WeeChat 2.0]
<FPtje> not in builtins either
<gmarmstrong> Hey! Especially @rycee, is there a "best practice" for configuring Neovim with Home Manager?
<gmarmstrong> Do the Vim options also apply to Neovim, or should everything go under customRC?
<sphalerite> Notkea: definitely no infix one
daveo is now known as asdfasdf1241
<jeschli> 2
<{^_^}> [nixpkgs] @Infinisil closed pull request #39287 → [WIP] pijul: 0.8.0 -> 0.10.0 → https://git.io/vpYTf
asdfasdf1241 is now known as mconstant
<FPtje> Regarding lid fold backwards touch disabled: xinput doesn't seem to know that touchpad and stylus input are disabled as it still lists them as enabled
mconstant has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
daveo has joined #nixos
daveo is now known as mconstant00
<FPtje> If I only knew what was disabling my input devices
gmarmstrong has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
gmarmstrong has joined #nixos
shad has quit [Quit: No Ping reply in 180 seconds.]
symphorien has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
shad has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests/chromium: Wait 10s after new window »: https://git.io/vp42M
Fare has quit [Ping timeout: 264 seconds]
jperras has quit [Ping timeout: 248 seconds]
gmarmstrong has quit [Quit: Quit]
<toppler> sphalerite: My machine is still alive after picking linuxPackages_latest.
<sphalerite> :)
<sphalerite> https://github.com/NixOS/nixpkgs/issues/9083 seems to be fixed, anyone able to close it?
symphorien has joined #nixos
Fare has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
ThatDocsLady has joined #nixos
tyoma has joined #nixos
jperras has joined #nixos
bionicmac[m] has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #39654 → GCE: pull the ssh host keys from the metadata service as expected by NixOps. → https://git.io/vp4aw
FPtje has quit [Quit: Leaving]
FPtje has joined #nixos
tyoma has quit [Quit: Leaving]
tyoma has joined #nixos
Fare has quit [Quit: Leaving]
ThatDocsLady has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 268 seconds]
boxscape has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tyoma has quit [Quit: Leaving]
posco has quit [Read error: Connection reset by peer]
posco has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
Guest16581 has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @aszlig to release-18.03 « nixos/tests/chromium: Wait 10s after new window »: https://git.io/vp4V6
<manveru> somehow, everytime i run a `nixos rebuild switch`, anything using opengl won't start anymore
<manveru> until i reboot
<srhb> manveru: Yeah, opengl is impure.
<srhb> manveru: It's a sad state of affairs, but apparently hard to fix.
<manveru> but even if nothing touches opengl during the rebuild...
<srhb> Not even the things that _use_ opengl?
<manveru> aye
<srhb> Huh, okay, no idea then.
<vcunat> that is strange
<vcunat> I'm OK, at least with small changes (like config-only).
<manveru> like, i added the picard package, rebuilt, and now steam, hipchat, zoom-us, etc won't start anymore
<vcunat> Almost everything uses OpenGL nowadays.
ertes has quit [Quit: Bye!]
ertes has joined #nixos
<MichaelRaskin> Previously LD_LIBRARY_PATH including /run/opengl-driver/lib was not needed for Mesa drivers
<manveru> this used to work fine before 18.03
<MichaelRaskin> With libglvnd it became mandatory
<MichaelRaskin> Hm, if it breaks OpenGL until reboot, this is strange
<MichaelRaskin> Does /run/opengl-driver link go away?
<manveru> also, most of my rebuilds try to start/stop all my systemd daemons :|
<manveru> it's really strange
<manveru> /nix/store/3q3fakf8asmx3hmjiny6lk765k6c3c01-opengl-drivers
<MichaelRaskin> I mean, is it still present as a symlink in /run after rebuild?
<vcunat> Do they print something when they fail to start?
<manveru> yeah
<manveru> gimme a second to trigger it
<MichaelRaskin> Also, are there any changes about /dev/dri/* permissions before/after
<manveru> strangely firefox stil starts fine
<MichaelRaskin> It can survive without OpenGL
<manveru> steam startup tries to run glxinfo, which fails
<vcunat> Maybe we broke non-source-built apps in some way.
<manveru> glxinfo is source built, right?
<MichaelRaskin> Yes
<vcunat> I'm not sure if the one used by steam.
<manveru> and now i can't trigger it anymore :|
<manveru> wt
<MichaelRaskin> I would try glxgears
<MichaelRaskin> Maybe it was a rebuild that did touch some dependency of Mesa?
<MichaelRaskin> (LLVM?)
<vcunat> (steam uses the magic of buildFHS, so I'd start with simpler examples)
<manveru> it was like this error
<manveru> without that xorg log
<manveru> i'll try to gather more info when it fails again
mconstant00 has quit [Ping timeout: 248 seconds]
acarrico has joined #nixos
ghostyy has quit [Disconnected by services]
ghostyy has joined #nixos
ghostyy has quit [Disconnected by services]
ghostyyy has joined #nixos
katona has joined #nixos
frank87 has quit [Quit: No Ping reply in 180 seconds.]
dhess has quit [Ping timeout: 256 seconds]
dhess has joined #nixos
GlennS has quit [Remote host closed the connection]
sjourdois has quit [Ping timeout: 265 seconds]
frank87 has joined #nixos
GlennS has joined #nixos
kgz has quit [Ping timeout: 265 seconds]
aristid has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/18e0f8e34e2 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
lohfu has quit [Ping timeout: 265 seconds]
boxscape has joined #nixos
aristid has joined #nixos
sjourdois has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
johnw has joined #nixos
pie__ has joined #nixos
jonge has quit [Ping timeout: 268 seconds]
pie_ has quit [Ping timeout: 240 seconds]
bbsl has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a3a6dd71275 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
jonge has joined #nixos
LysergicDreams has quit [Ping timeout: 260 seconds]
<bbsl> could someone please explain to me, if I clone the nixpkgs repo and try to build any of the packages with nix build from the respective folder containing default.nix why am I getting: "cannot auto-call a function that has an argument without a default value ('stdenv')"
asuryawanshi has joined #nixos
LysergicDreams has joined #nixos
kgz has joined #nixos
lohfu has joined #nixos
drakonis has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2b292fedbff (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clever> bbsl: you have to load that default.nix with callPackage
<clever> bbsl: if your working in a fork of nixpkgs, edit all-packages.nix to add your package, and use the default.nix in the root of the whole nixpkgs tree
FPtje has quit [Remote host closed the connection]
xy2_ has joined #nixos
pie___ has joined #nixos
pie__ has quit [Ping timeout: 248 seconds]
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
nckx has joined #nixos
<aristid> great
<aristid> my system refuses to evaluate because mono is marked insecure
civodul has joined #nixos
<aristid> of course it's also the default version that is marked insecure, because the default points to an ancient version
<aristid> and i have no idea which of my packages uses mono
boxscape has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<srhb> aristid: nix why-depends /run/current-system path-to-mono?
<aristid> srhb: didn't know about that command, thanks :)
<vcunat> /run/current-system won't work if you only evaluated
<srhb> It's often not as helpful as you'd wish with /run/current-system
<vcunat> but you can pass the *.drv in there
<vcunat> (I think)
<aristid> $ find /run/current-system/sw -name '*mono*'
<aristid> $ find /run/current-system/sw -name '*mono*'
<aristid> there's no file with mono in the name in /run/current-system
<aristid> lol, copy&paste fail
<srhb> aristid: Ah, no, it'll be something in /nix/store most likely
<srhb> vcunat: Doesn't look like it :(
knupfer has quit [Remote host closed the connection]
<vcunat> :-(
<aristid> srhb: ah, but both mono directories in /nix/store are not depended on by /run/current-system
<aristid> but the directories exist
<aristid> *confused*
<srhb> aristid: That's what vcunat pointed out I think, it's not your current system yet.
<srhb> aristid: (Since you can't evaluate!)
<gchristensen> find wont follow symlinks is maybe part of the problem?
<clever> aristid: what does `nix-store --query --roots /nix/store/wahtever` say, when ran against the mono path?
<aristid> clever: good idea
<aristid> clever: thanks!
<aristid> combined with why-depends, i found it:
<aristid> steam!!!
<clever> ah
<vcunat> yes, of course
<srhb> Oh great. Something to look forward to. :P
<vcunat> aristid: why doesn't it evaluate?
<vcunat> (allowUnfree?)
<aristid> i'll try to see what happens if i just point steam toward a newer mono
<aristid> vcunat: no, mono 4.0 is marked insecure
<vcunat> CVE-2009-0689
<aristid> vcunat: but it's still the default mono...
<vcunat> I suppose you won't be attacked through steam games, but in general we should fix this.
<bbsl> clever: thank you... that worked but I think the error msg could have been more helpfull :)
rosa has joined #nixos
<MichaelRaskin> Well, multiplayer Steam games might qualify as code with too much trust in a remote server
<benley> Anyone know if there is a way to disable ANSI color in output from nix-instantiate (and/or any other nix commands) in nix 2.0?
<aristid> vcunat: if you don't object too strongly i will change the default version of mono
<aristid> vcunat: even if some things are broken with it, mono 4.0 does not even evaluate without setting scary settings
<vcunat> I know way too little about mono to have a real opinion.
johnw has quit [Ping timeout: 264 seconds]
<vcunat> I haven't ever even used a .NET language.
<aristid> me neither :D
<aristid> well actually i have!
<aristid> i added a few columns in some weird really shitty c# gui at work
<benley> I've used uh ... Python .net bindings?
<benley> which was really weird
<vcunat> I think I had a .net-capable Delphi (object pascal) ages ago.
<aristid> and even though i knew nothing about c#, i still couldn't help myself refactoring some code to remove ~5000 lines of c# (it was easier to do that than to add the 3 new columns in the 25 near-identical copies of a function :D)
* vcunat screams
<benley> and because python.net isn't already odd enough, here it is running in wine in docker: https://github.com/benley/docker-wine-python-dotnet
johnw has joined #nixos
<clever> lol
<{^_^}> [nixpkgs] @aristidb pushed to master « mono: change default version to "latest" (5.8), because 4.0 does not evaluate due to security »: https://git.io/vp4oD
<benley> (I needed that to use a binary-only .dll that only worked on win32 and required .net stuff)
<aristid> vcunat: don't hate the delphi, hate the marginal programmers who made "programs" with it </code snobbery>
<vcunat> aristid: this one avoids the evaluation problem as well https://github.com/NixOS/nixpkgs/pull/36711
<vcunat> (updating default to 4.8)
<bbsl> im trying to add a new (fairly simple) package to nixpkgs but i am now stuck on step 5 of the guide testing the build with "$ nix-build -A libfoo" the jar I have access to is going rogue and trying to put the output of the build where its not supposed to https://pastebin.com/iKSM9itT
<aristid> benley: the culture of using binary dlls even as a developer is one of the weirdest microsoftisms to me
<aristid> vcunat: 4.8 is also ancient isn't it
<aristid> vcunat: i'd rather make the default be the latest and change things that need an older version to specify that explicitly
<bbsl> im guessing I have to fix it by overrding this somehow, anyone have any pointers as to where to look to find the solution?
<vcunat> bbsl: depends on the project
<vcunat> often you can just makeFlags = [ "PREFIX=$out" ];
<vcunat> (or something in configureFlags)
<aristid> vcunat: ah, mono 4.8 is february 2017, so not crazy old
<aristid> but whatevs
LightDiscord has quit [Quit: Page closed]
regulus_ has quit [Ping timeout: 264 seconds]
regulus_ has joined #nixos
<dhess> Mic92_: what's holding up https://github.com/NixOS/nixpkgs/pull/39082 from being committed to master? aarch64 has been broken now for several weeks.
<aristid> dhess: staging usually is only merged once in a while due to the mass rebuilds
<aristid> dhess: can't you use staging for aarch64 for the time being?
<dhess> aristid: this only affects aarch64 which is broken anyway
<dhess> aristid: not easily, this is part of a NixOps deployment with other archs
<aristid> dhess: not sure why Mic92_ merged it to staging rather than master if it only affects aarch64
<dhess> right, which is why I'm asking :)
boomshroom has joined #nixos
<dhess> Is there a way to get a .patch file from a GitHub PR URL?
<boomshroom> Hello!\
<dhess> oh add .patch :)
<boomshroom> Has anyone tried building NixOS for Nintendo Switch?
<dhess> awesome
<benley> boomshroom: lol I have no idea but I love this idea already
<boomshroom> benley: Thanks to the power of Nix, it should be possible to make a derivation that builds an existing configuration.nix and outputs a bash or python script that loads everything over usb.
hakujin has joined #nixos
<sphalerite> boomshroom: the switch runs linux?
jperras has joined #nixos
<aristid> sphalerite: not by default :)
<benley> I think people have figured out how to run homebrew code on switch; I don't know if that extends as far as a linux kernel, but I wouldn't be surprised if it does.
<boomshroom> sphalerite: The switch _can_ run linux. It requires exploiting a buffer overflow in the Tegra usb recovery mode.
<sphalerite> nice
<benley> oooooh that makes sense
<benley> I forgot they are basically a Tegra platform
<benley> I bet you could build a version of Android for switch if you were sufficiently determined
* sphalerite is suddenly interested in having one
<sphalerite> not to the point that I'll actually get one, most likely. But still
<boomshroom> benley: Someone managed to run an Android emulator in a GNU enviornment on the Switch.
<benley> nice
<benley> I haven't been following the switch hacking scene very closely... maybe I ought to :-)
<benley> all I've been doing is hacking up Breath of the Wild mods
<boomshroom> There's also Windows 95 in DOSBox running.
Guest16581 has joined #nixos
<dhess> how about MAME?
<boomshroom> I really hope Valve would release an ARM version of Steam with a few games. It would be incredible to play even a fraction of my existing PC library on the Switch.
<dhess> that would be worth it
jperras has quit [Ping timeout: 268 seconds]
<boomshroom> dhess: If it runs on Linux-AArch64, it will probably work. Gamecube and playstation emulators have already been tested.
boxscape has joined #nixos
<benley> I would love to see Katamari Damacy running on Switch via ps2 emulation, that would be hilarious and wonderful
<{^_^}> [nixpkgs] @vbgl opened pull request #39656 → ocsigen: 2.8 → 2.9; eliom: 6.2.0 → 6.3.0 → https://git.io/vp4Kj
<boomshroom> benley: If PCSX2 ran at a reasonable speed, I would want to try Xenosaga just to say I can have 4 of the 5 Xeno games on the same system: Xenogears (PS1), Xenosaga (PS2), Xenoblade (Wii), and Xenoblade 2 (Switch). The only one missing is a Wii U emulator to play Xenoblade X.
<benley> Wii U and Switch are practically the same platform under the hood, aren't they? With any luck it would be relatively easy to port something like cemu
<kreetx> a nixops noob question: if I want to add a folder from my local machine to a deployed nixos (on virtualbox), do I use a buildhook for that?
<kreetx> would also be good if I could somehow persist this
<clever> kreetx: where would you want the folder to turn up?
<boomshroom> benley: BS. The Wii U and Switch don't even use the same ISA. Wii U is a PowerPC while the Switch is AArch64.
<clever> kreetx: and should tbe folder be read-only, writable, and if writable, what happens to the changes at next boot?
<kreetx> maybe /root
<{^_^}> [nixpkgs] @dotlambda opened pull request #39657 → home-assistant: 0.67.1 -> 0.68.0 → https://git.io/vp46k
<benley> Oh, *duh* sorry. I should have remembered that wii U is powerpc.
rosa has quit [Quit: rosa]
<kreetx> I'm making basically a web image gallery and want to copy the images
mmlb has quit [Read error: Connection reset by peer]
<clever> kreetx: id just manually scp the images up once the system is deployed
dx_ has quit [Quit: leaving]
<kreetx> clever: alright, will try that
<boomshroom> benley: Even though GC and Wii were also PowerPC, the Wii U was different enough to warant its own emulator, where as the Wii was close enough to GC that they were able to bolt on the functionality to the existing GC emulator.
johnw has quit [Ping timeout: 248 seconds]
<kreetx> clever: I guess persistence of files, databases, etc is a matter outside of core nixops/nixos?
mmlb has joined #nixos
<benley> boomshroom: makes sense. I totally forgot about the architecture shift, even though we were just talking about Tegra like 5 minutes ago.
<kreetx> i.e it's up to me to back those up, etc
anton___ has quit [Ping timeout: 276 seconds]
johnw has joined #nixos
<simpson> boomshroom: The Wii's CPU and GPU have (almost) the same ABI as the GC, just better clock, cache, RAM, etc. The GPU's a little nicer, but I'd still lump it with GC's in terms of programming model.
<benley> Wii can straight-up run GC games, so that makes sense too :-)
<simpson> Yeah, ABI compatibility was such a clever trick.
<clever> kreetx: yeah
<clever> kreetx: for more static things like the public_html of a website, you can build and manage it with nix, but a gallery is a bit too dynamic to bother with in nix
<boomshroom> benley: The GBA and Wii U are also backwards compatible, because they contain a smaller version of the previous system inside themselves.
<simpson> Although programming for those GPUs must be a pain. The GPUs don't have shaders, just 'texture combiners', proto-shaders which are super-limited.
<benley> boomshroom: amaze
tertle||eltret has joined #nixos
<clever> translating the unique combinations of texture combiners and stuff into modern shaders takes time
<clever> and you have no way of knowing what combination the game will use, until the frame is needed
<sphalerite> should we move this to #nixos-chat? :)
<clever> causing horid stutter in the game
<benley> there is a #nixos-chat?
<clever> yes
<sphalerite> see topic :p
<benley> sure enough :-P
rihards has joined #nixos
<boomshroom> I originally brought it up in hopes of running NixOS itself on the Switch.
anton_ has joined #nixos
<sphalerite> :)
symphorien has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Hm, so weechat bulds a wrapper for itsef. Can I make weechat-matrix-bridge be included in the wrapper, I wonder…
<zybell> benley:removing ANSI:pipe it through cat !
xy2_ has quit [Ping timeout: 256 seconds]
<sphalerite> MichaelRaskin: the wrapper is only for plugins, not for scripts, so far
<sphalerite> weechat isn't very nice about separating config, state and data
<kreetx> another noob question: where could I get info on predefined attributes I could set in my nixos machine? Like how to set if a user should have a home folder and such
<sphalerite> kreetx: man configuration.nix
<kreetx> this could be in the manual, but there are probably many which aren't
<MichaelRaskin> I am
<MichaelRaskin> in the process of thinking how to make it separate everything way more, and I am not too happy with what I see…
<clever> MichaelRaskin: this is a nixos module i wrote back in march to run slack as a daemon, with the slack plugin pre-installed
<MichaelRaskin> That I have read
<sphalerite> kreetx: the manual has an appendix with all the options (equivalent to man configuration.nix)
<kreetx> sphalerite: thanks!
<MichaelRaskin> Seems quite weird
<MichaelRaskin> clever: thanks
<sphalerite> kreetx: and there's also https://nixos.org/nixos/options.html — all three contain the same information though.
<sphalerite> MichaelRaskin: all glory to ~/.weechat
<bbsl> vcunat: ok ty I figgured it out based on your hint :)
<MichaelRaskin> The problem is that my plan is to have multiple weechat instances. And not to have to actually look at weechat (logs + fifo)
<MichaelRaskin> And I want one instance per account just in case.
<MichaelRaskin> And I think I am not going to use it for IRC…
<MichaelRaskin> (but it seems to be the only log+fifo option for matrix)
<vcunat> bbsl: :-)
cryp2nomicon has joined #nixos
cryp2nomicon has quit [Client Quit]
<benley> clever: that weechat nixos module is a great idea, I'm totally going to use it
mmlb has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5965316f748 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
cryp2nomicon has joined #nixos
xy2_ has joined #nixos
<MichaelRaskin> Do we build weechat-headless?
astrofog has joined #nixos
<boomshroom> Managed to get the test payload.
<{^_^}> [nixpkgs] @mnacamura opened pull request #39659 → rounded-mgenplus: init at 2015-06-02 → https://git.io/vp46p
<boomshroom> Now for any linux distro, then NixOS.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5965316f748 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mmlb has joined #nixos
<kreetx> yet another noob question: I added createHome = true to a user's config, but the home appears not to be created after a redeploy, do I need to reboot the machine to make it happen?
<kreetx> and perhaps also, does nixops remove things I remove from the machine's configuration?
symphorien has joined #nixos
<zybell> ofc
<clever> kreetx: createHome only applies when its first creating a user
<clever> kreetx: once the user has been created, it stops checking for that flag
<clever> kreetx: and some things will be removed automatically if removed from the config, and that includes users
<clever> boomshroom: nixos on a switch?
<boomshroom> clever: That's the plan.
mmlb has quit [Client Quit]
mmlb has joined #nixos
<clever> boomshroom: this generates a directory in my tftp server, that serves rpi firmware, a kernel, an initrd, and the root.squashfs (40mb)
<clever> boomshroom: the initrd downloads the rootfs over tftp, and then boots into not-os, which has sshd and nix-daemon
cryp2nom1con has joined #nixos
<sphalerite> go boomshroom!
<MichaelRaskin> Apparently weechat matrix bridge is not that trivial to get working
cryp2nom1con has quit [Client Quit]
mmlb has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1b1b76f70a9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<MichaelRaskin> Of course, it needs Lua 5.1
cryp2nom1con has joined #nixos
<sphalerite> There's quite a dearth of matrix clients. Riot is the only one that actually supports all the features of matrix :|
<MichaelRaskin> Or LuaJIT…
mmlb has joined #nixos
<boomshroom> clever: Does it come with a touchscreen-compatible desktop environment? And from my understanding, the current loader expects the rootfs to be on the system's SD card.
<Mic92_> dhess: aristid I was expecting staging to be merged into master earlier
<dhess> Mic92_: can you push it to master?
<clever> boomshroom: it has zero gui, and doesnt even run a login prompt on the main tty, but the rootfs stuff can be modified easily
<vcunat> nixos-unstable updated!
<clever> boomshroom: but its also a lot smaller then full nixos, and could be usefull to get a kernel+rootfs working before you switch to something bigger
<zybell> boomshroom:think of it as grub in disguise;-)
<MichaelRaskin> Are there any weechat plugins that don't work with LuaJIT?
matklad has joined #nixos
<zybell> therefore rootfs=/boot lol
<boomshroom> zybell: Sadly, we haven't found a way to overright the bootloader and we don't know the keys to sign the firmware so we can't overright that either.
<boomshroom> *overwrite. What is wrong with me?
<sphalerite> you could just say you meant "replace it with the right bootloader" :D
<clever> boomshroom: is it a 32bit or 64bit arm cpu?
<boomshroom> There are ways of getting a serial port through the Joy-Con rails, but it would be easier just to boot to desktop.
<boomshroom> clever: 64
<{^_^}> [nixpkgs] @Mic92 pushed commit from @georgewhewell to master « binutils: apply patch on aarch64 to fix https://sourceware.org/bugzilla/show_bug.cgi?id=22764 »: https://git.io/vp4i3
<Mic92_> dhess: ^
<clever> boomshroom: #nixos-aarch64 may also be of interest to you then
<aristid> MichaelRaskin: lua 5.1 is really old oO
<dhess> Mic92_: whoot! Thanks!
<aristid> MichaelRaskin: i guess they had luajit in mind
johnw has quit [Ping timeout: 264 seconds]
<boomshroom> clever: Thank you.
<MichaelRaskin> Hm, how interesting
Arcaelyx has joined #nixos
<MichaelRaskin> The nixpkgs package for weechat-matrix-bridge expects lua5.2
<MichaelRaskin> But, it has some luajit/lua5.1-only code…
johnw has joined #nixos
<MichaelRaskin> Ah wait, it might be trivial to fix
<boomshroom> It looks like the Linux build requires a /lib/firmware/brcm/brcmfmac4356-pcie.txt. I wonder how hard it would be to patch it to take an environment variable or store path instead.
<dhess> Hmm I could really use a monad in Nix right now
<{^_^}> [nixpkgs] @Mic92 merged pull request #39511 → cups-kyodialog3: init at 8.1601 → https://git.io/vpCZm
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vp4iB
<{^_^}> → c600f02e by @steveeJ: cups-kyodialog3: init at 8.1601
<{^_^}> → ea5787ad by @Mic92: cups-kyodialog3: use autoPatchelfHook, add missing qt4
<{^_^}> → 3ccb77b8 by @Mic92: Merge pull request #39511 from steveeJ/sj-add-kyocera-drivers
<{^_^}> [nixpkgs] @ilya-kolpakov closed pull request #32416 → pythonPackages.pymc3: init at 3.2 → https://git.io/vbWio
xy2_ has quit [Quit: WeeChat 1.9.1]
xy2_ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/75cfbdf33b0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
cryp2nomicon has quit [Quit: leaving]
cryp2nom1con has quit [Quit: leaving]
cryp2nomicon has joined #nixos
<boomshroom> What's the easiest way to arm-linux-gnueabi and aarch64-linux-gnu toolchains in my path?
<boomshroom> Is there any way to install a soft keyboard on NixOS?
<boomshroom> It's not too important if USB is working since I could just plug in an existing USB keyboard.
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « scala: 2.12.5 -> 2.12.6 »: https://git.io/vp4iy
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « scala: 2.12.5 -> 2.12.6 »: https://git.io/vp4i9
matklad has quit [Remote host closed the connection]
katona has quit [Quit: Connection closed for inactivity]
zybell has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-copperhead: 4.14.36.a -> 4.14.37.a »: https://git.io/vp4ix
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.14.36.a -> 4.14.37.a »: https://git.io/vp4ih
ixxie has joined #nixos
<ixxie> heya folks; so my recent generations show an error preceeding the boot log stating something like "[Firmware Bug]: TSC_DEADLINE disabled due to Errata"
<pstn> What is the best way to get a moderately complex ip tunnel command like
<pstn> `ip tunnel add he-ipv6 mode sit remote xx.xx.xx.xx local xx.xx.xx.xx ttl 255` into the declarative configuration?
<{^_^}> [nixpkgs] @ilya-kolpakov opened pull request #39660 → pythonPackages.pymc3 init at 3.2 → https://git.io/vp4P3
zybell has joined #nixos
<MichaelRaskin> So, I connected to matrix.org using nixpkgs version of weechat-matrix-bridge, and it seems to somewhat succeed, but doesn't create matrix quasi-server. Sigh
ixxie has quit [Quit: Lost terminal]
mmlb has quit [Ping timeout: 240 seconds]
<silver_hook> Did anyone get built-in codecs to work in Falkon?
<silver_hook> i.e. compile qtwebengine with codecs
<silver_hook> i.e. compile qtwebengine with codecs
toby1851 has quit [Ping timeout: 260 seconds]
spear2 has joined #nixos
ixxie has joined #nixos
<MichaelRaskin> Anyone uses weechat from nixpkgs with matrix? I get strange problems…
johnw has quit [Ping timeout: 240 seconds]
<Myrl-saki> clever: I think I got to an even worse problem.
<Myrl-saki> clever: 117699 nixbld8 20 0 8229M 235M 105M S 2390 0.4
<Myrl-saki> clever: 2390% CPU usage on GCC.
<Myrl-saki> GHC*
<clever> how many cores?
<Myrl-saki> Oh wtf, I'm stupid. GHC is multithreaded?
<clever> is that top or ps?
<Myrl-saki> htop
johnw has joined #nixos
<clever> try turning on thread mode, its H in regular top
ixxie has quit [Quit: Lost terminal]
<Myrl-saki> clever: Yeah, I had thread mode disabled because I barely use it.
<Myrl-saki> clever: But how and why is GHC multithreaded?
<Myrl-saki> Isn't it de facto for compilers to be single threaded?
<clever> i think ghc --make will build one module per thread
<clever> it acts like make -j8
<Myrl-saki> clever: That's kinda weird. I expected ghc --make to produce subprocesses.
<clever> but can share caches between the units
<clever> interface files take a while to parse, and --make shares that cache within the process
<clever> i also figured out most of my build failures
<Myrl-saki> clever: What was the reason?
<clever> the weird ld error at 30 mins in, was out of disk space, lol
<clever> once i gave it more space, it finishes within half an hour
<{^_^}> [nixpkgs] @mboes opened pull request #39661 → bazel: 0.11.1 -> 0.12.0 → https://git.io/vp4Pi
<clever> more
<clever> ~1h 10mins total
<Myrl-saki> Oh.
ylwghst has joined #nixos
<Myrl-saki> It's always the simple things that we miss.
<Myrl-saki> clever: But hey, at least it's fixed. :P
<elvishjerricco> ghc --make is kinda bad at parallelism though. I've found that ghc -M (which produces a makefile with the correct dependency graph), followed by regular `make` is usually way more efficient.
<clever> i would have expected ld to say that it was out of disk
<Myrl-saki> Well...
<sphalerite> anyone to close https://github.com/NixOS/nixpkgs/issues/24435 ?
<clever> elvishjerricco: ive been told that the interface file parsing makes that worse
<elvishjerricco> clever: In my somewhat limited experience, that's outweighed by how bad ghc -j is at utilizing multiple threads.
mmlb has joined #nixos
PolarIntersect has joined #nixos
iwxzr has quit [Remote host closed the connection]
<Myrl-saki> clever: At least we get -l?
<boomshroom> I'm always scared of doing a GC due to how often I end up building custom GCCs.
<elvishjerricco> Especially if you give GHC more threads than it needs. Like if you give -j8, and it only needs like -j2 for the module graph, it'll still waste a ton of cycles trying to use 8 cores.
<elvishjerricco> ends up going like +50% slower
mmlb has quit [Client Quit]
<Myrl-saki> elvishjerricco: I passed it -j32...
<elvishjerricco> Yea... In my experience that's a costly mistake
<elvishjerricco> On my 32 thread machine, I default to `nix-build -j 16 --cores 4` for Haskell. Technically exceeding my core count in the worst case, but not usually relevant. Limiting --cores helps a ton with Haskell
<Myrl-saki> If D depends on A, B, and C
<sphalerite> thanks MichaelRaskin, could you also do https://github.com/NixOS/nixpkgs/issues/9083 ?
<elvishjerricco> I tried to write a GHC wrapper that converts all calls of `ghc --make` to `ghc -M && make`, but it provded pretty hard.
<clever> elvishjerricco: also of note, the stdenv will pass both -j and -l to make, to keep the loadavg under the target core count
<Myrl-saki> Then I build A manually using its DRV
<Myrl-saki> And while A is building, I build D
<Myrl-saki> Will the daemon attempt to build A?
<clever> Myrl-saki: the daemon will first try to get a lock file on A, and block
<sphalerite> ta
<Myrl-saki> I'm thinking of forcing -j1 to all my Haskell builds, because it just deadlocks.
<elvishjerricco> clever: Even building a single Haskell derivation with --cores 32 is disastrous, so it's not just thread contention.
<clever> elvishjerricco: weird
<Myrl-saki> clever: There's no -l for GHC.
<elvishjerricco> An -l for GHC would be wonderful...
<Myrl-saki> I often get load 60 even passing --cores 48
<elvishjerricco> There was an article that outlined a lot of these issues in great detail... Let me try and find it
<Myrl-saki> Rather, I got load 120 after passing --cores 48. :P
<MichaelRaskin> Is ma27 on IRC, I wonder… (well, I guess via Matrix.org, technically…)
ixxie has joined #nixos
das_j has joined #nixos
pie___ has quit [Ping timeout: 276 seconds]
<elvishjerricco> clever, Myrl-saki: I think this was it: https://trofi.github.io/posts/193-scaling-ghc-make.html
<ixxie> I am getting something pretty much like this in my recent generations: https://askubuntu.com/questions/954706/acpi-errors-ubuntu-16-04-17-04-can-not-be-installed
<das_j> Hey everyone, I'm currently trying to perform remote builds (build a remote system on itself and switch to the system on the remote machine). However, all I can find on the internet looks like it's made for nix 1 (calls a perl script and afaik all perl scripts were removed in nix 2). So what is the current way of doing that?
<ixxie> anybody know what to make of it? I run a Dell XPS 9350 and this only appeared recently; I just ran a BIOS update and it didn't help.
<sphalerite> das_j: nixos-rebuild's --build-host and --target-host options should still work.
<kreetx> ixxie: this is not ubuntu channel
<sphalerite> ixxie: did you try acpi_rev_override=5 ? I needed that on my 9650 to avoid a lockup caused by nvidia trying to talk to the (powered-off) graphics card
<sphalerite> kreetx: ixxie is a nixos user and presumably encountering this issue with nixos ;)
<das_j> sphalerite: That looks like what I need. Does this parse the expressions locally and evaluates them on the remote machine? So I don't have to keep the .nix files there as well?
<sphalerite> das_j: I believe so.
<kreetx> yeah, just read him/her again :) "error similar to.."
<das_j> sphalerite: Nice, thank you! I'll try it out
<ixxie> kreetx: I am aware of that but I am experiencing the error in NixOS xD
<ixxie> sphalerite: where is that set exactly?
<sphalerite> ixxie: kernel parameter. So boot.kernelParams in the nixos config, or in the bootloader by pressing e if you're using grub or systemd-boot
toby1851 has joined #nixos
<kreetx> ixxie: yep, nevermind me ;)
<ixxie> I just found this https://github.com/NixOS/nixpkgs/issues/23729 - would boot.kernelParams also be the way to blacklist a module?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-copperhead: Add 4.16.5.a »: https://git.io/vp4Xf
<ixxie> sphalerite: once you go declarative.... xD
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: Add 4.16.5.a »: https://git.io/vp4XU
<sphalerite> ixxie: boot.blacklistedKernelModules
<ixxie> sweet
<ixxie> thanks!
pie_ has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
ixxie has quit [Quit: Lost terminal]
<Myrl-saki> elvishjerricco: Thanks for the link. I turned it down to --cores 4, and it seems less dead to me.
<Myrl-saki> The problem is that LLVM will now build with a single thread.
<elvishjerricco> Myrl-saki: Yea... I don't have a good solution for that :/
vandenoever has joined #nixos
<elvishjerricco> Ideally, GHC just wouldn't be bad at this... But maybe we could tweak the default runtime options in nixpkgs as per that blog post?
<elvishjerricco> Then we'd just be missing some sort of `-l` for GHC
<MichaelRaskin> ekleog: you pinged weechat-matrix authors to submit it to weechat main script repository, but I think the real problem is that it doesn't work with 2.0
aarvar has joined #nixos
ixxie has joined #nixos
<ixxie> sphalerite: that didn't work.... the SO post mentioned GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_rev_override=5" - do you think I should try that?
<sphalerite> ixxie: no, that's just the way you pass that parameter to the kernel on ubuntu
jperras has joined #nixos
<ixxie> aha
<{^_^}> [nixpkgs] @jtojnar merged pull request #35410 → syncthing-gtk: 0.9.2.7 → 0.9.3 → https://git.io/vAaKM
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vp4Xg
<{^_^}> → 094683ac by @jtojnar: syncthing-gtk: 0.9.2.7 → 0.9.3.1
<{^_^}> → f92d9364 by @jtojnar: Merge pull request #35410 from jtojnar/syncthing-gtk-0.9.3
fendor has quit [Quit: Leaving]
<MichaelRaskin> Ah no, I have something weird in environment (if only I knew what)
<ixxie> sphalerite: I don't suppose the ACPI daemon could help me in any way?
<sphalerite> ixxie: I don't think so.
<sphalerite> you could try noacpi to see if it is an acpi issue
<sphalerite> (kernel parameter)
toby1851 has quit [Ping timeout: 240 seconds]
<leo60228> I just installed libusb1 to build something that required it, and pkg-config can't find it. Why?
<ixxie> sphalerite: shouldn't it be acpi=off?
<sphalerite> ixxie: yeah probably. Not actually sure >.>
jperras has quit [Ping timeout: 260 seconds]
<sphalerite> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> leo60228: ^
toby1851 has joined #nixos
<leo60228> okay, thanks
ixxie has quit [Quit: Lost terminal]
<MichaelRaskin> WOW. If weechat is launched with https_proxy set, its behaviour w.r.t. https requests is… interesting.
rosa has joined #nixos
fendor has joined #nixos
<sphalerite> Weechat is generally… interesting
<sphalerite> :p
ylwghst has quit [Ping timeout: 264 seconds]
astrofog has quit [Quit: Quite]
<MichaelRaskin> Erm. I am actually considering using a GUI matrix client in xdummy, if there is one with FIFO control and sane logs…
<aristid> MichaelRaskin: what does it do with https?
<aristid> also i didn't realize weechat ever makes any https requests
<sphalerite> MichaelRaskin: spoiler alert, there isn't
<sphalerite> aristid: matrix consists almost entirely of http
ixxie has joined #nixos
<MichaelRaskin> ARGH
<aristid> sphalerite: kids these days always using http for everything!
blankhart has joined #nixos
<MichaelRaskin> Well, really HTTPS
<aristid> MichaelRaskin: that's like http+http!
<aristid> multiple https
<MichaelRaskin> And that means that my local homeserver's Web-UI can be used as WebUI to _any_ Matrix server. Well, any small matrix server
* aristid shows himself out for the bad joke
<ixxie> sphalerite: that removed the error but also stopped the boot from completing ^^
<MichaelRaskin> Because you know, that Web-UI just assumes that asking for a list of _all_ public chats is a sane idea
<darkmeson[m]1> https and json is all anyone will ever need
<MichaelRaskin> If there is a proxy set, weechat feeds the caller not only the response body, but also headers
<MichaelRaskin> Imagine how happy are JSON parsers to get HTTP/1.0
<MichaelRaskin> Spoiler: they are not at all happy
<fendor> hey guys, i wanna report a bug. I dont know though, where I should report it. It is not a nixos bug, but it occurs mainly on nixos, i think it is actually a maven/protobuf bug, but I want to make it easy to find for other nixos users and how to fix the problem etc.
<sphalerite> ixxie: well damn. There's probably lots of other ACPI fiddling to try but I don't really know anything about it
<fendor> I guess, I should report it to the maven plugin guys?
<fendor> guys/girls
<sphalerite> ixxie: oh yeah what might also be worth mentioning is that the ACPI error could be a red herring. I get an error looking like that but everything works fine
<ixxie> fendor: protip: the word folks is gender neutral ;)
<fendor> ixxie, yeah, people, too, in english at least :D
<darkmeson[m]1> people works too
<ixxie> fendor: yeah but I find folks more endearing somehow, maybe because of the saying that "persons are awesome but people suck"
<sphalerite> ooooooh there's a matrix client that ships with a nix expression!
<MichaelRaskin> Oh?
<MichaelRaskin> Does it work, though?
<sphalerite> I have no idea
<fendor> ixxie, sounds reasonable
<MichaelRaskin> Nix users are expected to be more or less OK with console, so there is a hope…
mmlb has joined #nixos
doyougnu has joined #nixos
<sphalerite> "that feels more like a mainstream chat app (Riot, Telegram etc) and less like an IRC client" I suspect you're not the target audience though :)
<fendor> however, should i just report it to the maven plugin that is in my opinion responsible, and is there some additional place for nixos users where i should report the bug to?
ixxie has quit [Quit: Lost terminal]
<MichaelRaskin> Yeah, doesn't seem to have remote control
<darkmeson[m]1> there's also a matrix script for weechat, although lack of cjson has been a problem on most distros I've tried it on
<MichaelRaskin> sphalerite: a GUI app _might_ have remote control (see: gajim)
ixxie has joined #nixos
jhb563 has joined #nixos
arianvp2 has joined #nixos
<arianvp2> heya
<arianvp2> is it possible to let nixos containers connect to eachother?
<arianvp2> or are they all isolated?
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vp41G
<{^_^}> → 5c8c4710 by @NeQuissimus: openjdk: 10.0.0 -> 10.0.1
<{^_^}> → 9774c8a0 by @NeQuissimus: linux-copperhead: Fix test
<clever> you should be able to configure port-forwarding to allow it
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « openjdk: 10.0.0 -> 10.0.1 »: https://git.io/vp41n
<jhb563> Hey has anyone tried using nix with Windows Linux Subsystem?
<arianvp2> I mean, I want them all to have their own IP with privateNetwork
<ixxie> sphalerite - it seems like everything works except my right mouse button
<arianvp2> but that creates an interface per container, which allows them not to talk to eachother
<sphalerite> jhb563: yes
blankhart has quit [Ping timeout: 255 seconds]
<jhb563> sphalerite: I get a weird permission error when I try to run the install script. On the "copying to /nix/store" step, it tries to move a directory to the same location (/nix/store/./{hash}-nss-cacert-3.35.33) and says Permission denied. Still happens when run with sudo. Is this an issue you've encountered?
<arianvp2> oh I should make a bridge
<arianvp2> got it
<sphalerite> jhb563: I don't actually know anything about using it, I don't use windows. Just know it's been done.
<sphalerite> zimbatm might know something about it, he wrote that article
maingo has joined #nixos
johnw has joined #nixos
<pstn> I even share stuff between containers with sockets on bind mounts. For example my mysql doesn't have network at all that way.
<pstn> I'd advise against that though if you don't have an idea how sockets work and what the implementators might have presumed about them.
<pstn> socket auth for example is a bad idea then...
<arianvp2> hmm I created a bridge without any interfaces and used the 'hostBridge' option
<arianvp2> but if you create a bridge without any interfaces nixos won't create the bridge...
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-copperhead: Fix all-packages reference »: https://git.io/vp416
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: Fix all-packages reference »: https://git.io/vp41P
<arianvp2> how do I create a bridge without connecting it to an interface?
<clever> arianvp2: if you dont connect it to any interface, the containers will have zero internet access, and can only ever talk to eachother
<boomshroom> Just as the compiler fished, I learn it doesn't work.
<jhb563> zimbatm: hey, pm? I'm trying to get Nix on WSL.
<arianvp2> that's the point clever :'D
<arianvp2> hmmph
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vp41y
<{^_^}> → f5268994 by @7c6f434c: weechat-matrix-bridge: 2018-01-10 -> 2017-03-29
<{^_^}> → 7cd7e4ce by @7c6f434c: weechat: 2.0 -> 2.1
<arianvp2> I do need internet I guess.
fenedor has joined #nixos
mkoenig has quit [Remote host closed the connection]
<clever> arianvp2: then youll want to put the host eth0 into the bridge, and move any ip config from eth0 to br0, if you have any
<arianvp2> ah
<clever> and at that point, each container will be available to the local LAN, and it will act like normal machines on the lan
<arianvp2> got it
<clever> other then all the machines sharing a mac, an outside observer has no way to tell if you have 10 physical computers, or 10 containers
Ariakenom has joined #nixos
mkoenig has joined #nixos
fendor has quit [Ping timeout: 255 seconds]
<darkmeson[m]1> that's not strictly true
MR[m]1 has joined #nixos
<darkmeson[m]1> packet timestamps and a few other methods can be used to expose the probable number of devices if the OSes or a firewall aren't doing any randomization
<arianvp2> clever: I have this now, but the containers aren't getting any IPs
<arianvp2> should I set the IP manaully? yes I guess? dhcpd isn't enabled by default
<clever> let me double-check what ive done locally...
<clever> arianvp2: https://gist.github.com/cleverca22/136dfc7d28a5843cc5bb30b52040a251 ah, i used nat instead, let me see what the bridge option does exactly
zybell has quit [Ping timeout: 264 seconds]
<clever> arianvp2: the docs imply you need to set localAddress
<arianvp2> ah and I'll also have to give a netmask
<arianvp2> that's probably what was missing
<arianvp2> that's probably what was missing
zybell has joined #nixos
<arianvp2> ah and I'll also have to give a netmask
<arianvp2> oh sorry I was having cursor in wrong screen in xmonad and trying to back in my bash history but went through irc history instead
spear2 has quit [Ping timeout: 256 seconds]
<arianvp2> clever: thanks! containers can speak to eachother now. Just not to the outside network yet
<arianvp2> Also the host can't talk to the containers either. which is weird as they're bridged
<clever> that is weird
<bbsl> I need some help: Im trying to make a package that can go into nixpkgs. I finaly got it to install the way I thought would be correct (with a json-config file in the same directory as the binary) because its the way I installed it when I just did the old "make install" but somehow when its built form my nix store it doesnt work the same way. Works(can find config file): https://pastebin.com/80VBNQCP Does'nt work(cant find config file):
<bbsl> https://pastebin.com/EwyHjqWa. Anyone know whats happening here?
<arianvp2> bbsl: what happens if you do cd result/bin; ./webdis
<arianvp2> perhaps it's a relative path issue?
fenedor has quit [Quit: Leaving]
isidore has joined #nixos
<ixxie> hmm so my XPS trackpad's right click doing a left click, but I can get a right click by click the left and right buttons at once :/
rosa has quit [Quit: rosa]
rosa has joined #nixos
<bbsl> arianvp2: ah you are correct... it works if I do that albeit with this msg: "Could not open webdis.log: Read-only file system" lol guess I have a ways to go before this works but I guess the solution is it set relative paths during post instalation and in the case of the logpath maybe set it somewhere in /etc. got any pointers as to where I can find info about this though?
<kreetx> I'm getting 'out of memory' when deploying haskell application while copying ghc. Last time I increased the virtualbox's ram from 1 to 2 gigs, but now after destroying and redeploying the machine I get this even with 2 gigs -- not sure what could be wrong?
ixxie has quit [Quit: Lost terminal]
ixxie has joined #nixos
arianvp2 has quit [Ping timeout: 260 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<dhess> kreetx: this is a new problem with Nix 2.0. https://github.com/NixOS/nix/issues/1988
<dhess> I think it was either clever or LnL who said that Nix 2.0 pre-allocates memory for the entire closure rather than streaming it.
<dhess> something about switching to std::vector
<dhess> C++ -- yuck
<kreetx> dhess: ah
<kreetx> hmm
<dhess> kreetx: if you keep bumping ram it'll get there eventually :)
<kreetx> but the funny part is, it worked when I bumped the ram. And now, after destruction, not
jperras has joined #nixos
<kreetx> what's the reason for allocating ram for file copy?
<dhess> oh I missed that part. Maybe you're right on the edge and it depends on what other processes are doing
<drakonis> C++ ain't so bad though
<dhess> kreetx: no idea.
<leo60228> where can i find the binaries in qemu-user-static on nixos?
<drakonis> just really complex
<dhess> drakonis: lack of a "batteries included" streaming library is just one example of why it's bad.
<drakonis> it doesn't?
<dhess> nope
<leo60228> thanks
<drakonis> i thought it already had that after eating half of boost's libraries
<clever> leo60228: i also have a module that fully configures binfmt, nix, and qemu: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix
<{^_^}> [nixpkgs] @ilya-kolpakov opened pull request #39662 → pythonPackages.pymc3: init at 3.2 → https://git.io/vp4DR
toby1851 has quit [Quit: Konversation terminated!]
<clever> leo60228: so you just set qemu-user.aarch64 = true;, nixos-rebuild switch, and it can magically run aarch64 binaries, and nix can even run an "aarch64 only" compiler
<kreetx> alright, got it copied with 3 gigs :)
<kreetx> I wonder if linking the binary statically would make this go away?
<leo60228> how do i use a nixos module from outside nixpkgs?
<kreetx> *and* make the entire thing a lot smaller
Neo-- has joined #nixos
<clever> leo60228: git clone my repo, then add the path to the qemu.nix to your imports list
<leo60228> cool
<pstn> Does anybody have an idea why my containers resolv.conf might be resetting to the hosts value despite `networking.useHostResolvConf` being false?
<{^_^}> [nixpkgs] @ilya-kolpakov closed pull request #39660 → pythonPackages.pymc3 init at 3.2 → https://git.io/vp4P3
<dhess> kreetx: if it's just a Haskell binary and not GHC itself you could try justStaticExecutables
<clever> dhess: the default in nixpkgs has recently changed, all binaries are now static by default
<kreetx> dhess: wow, thanks!
<jbetz_> anyone know why a flash drive with a windows 10 iso would be listed under Legacy rather than UEFI in a boot menu?
jperras has quit [Ping timeout: 264 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
<dhess> clever: what if your Haskell package has both libs and exes?
<dhess> but you just want the bins
rosa has quit [Remote host closed the connection]
<kreetx> dhess: I think it was Gabriel's tutorial where he was making the executable static, but if there's a flag then that's even better
<clever> dhess: yeah, that flag would still be of use there i believe
<dhess> kreetx: yeah I would start with haskell.lib.justStaticExecutables since you don't need to do anything else on your end
<ixxie> anybody know anything about libinput?
<kreetx> clever: I think it does a dynamic compile, because there is a library in the same project (for faster development, basically)
jacob_ has quit [Quit: Lost terminal]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
ixxie has quit [Quit: Lost terminal]
<kreetx> is it so that when deploying the *entire* closure gets allocated ram? i.e not only ghc, but all of it needs to fit?
<infinisil> kreetx: I think so..
isidore has quit [Quit: WeeChat 2.1]
<clever> kreetx: i think each top-level directory in /nix/store is copied as a single unit, and the whole thing has to fit in ram
<infinisil> I just had trouble pushing a 400MB derivation to one of my machines because it for some reason can't allocate enough RAM, even though it has 16GB
<clever> infinisil: id expect it to only use 2 or 3 times the storepath size
<infinisil> I'm just gonna reboot, that fixed it last time
<infinisil> Just where does all my RAM go all the time
sigmundv__ has quit [Ping timeout: 260 seconds]
arianvp2 has joined #nixos
<pstn> Can I have an extra virtual interface on my container without an IPv4 address?
<arianvp2> clever: I got it working. I had to NAT the bridge :)
<arianvp2> at which point I could have just directly natted probably ...
blankhart has joined #nixos
<arianvp2> how do I get dns working inthe container?
<arianvp2> found it
<arianvp2> networking.useHostResolvConf
<jbetz_> kuri0: so, I booted windows from a usb and ran startup repair, and it couldn't do anything :|
<ekleog> MichaelRaskin: if you want to investigate weechat more, symphorien is running matrix+weechat on nixos; otherwise I packaged nheko for testing, but it's only GUI and no remote access (just tl;dr'd the discussion)
<ekleog> MichaelRaskin: oh, and if the behaviour of weechat+https_proxy is weird, you can try weechat+redsocks+https_proxy, maybe
daveo has joined #nixos
daveo is now known as mconstant
<ekleog> (this way weechat wouldn't even know it's using a proxy, hopefully)
<MichaelRaskin> Well, it is a local proxy for reasons that are not too relevant for WeeChat…
<MichaelRaskin> But just the idea!
<mconstant> hello
<MichaelRaskin> ekleog: Thanks, will try to ask symphorien how to use all that, currently I reached the level where I cannot understand how to use /matrix msg
johnw has quit [Ping timeout: 264 seconds]
* pstn sent a long message: pstn_2018-04-28_21:43:07.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/xocCZivMgYJkahutcindHiZW>
LysergicDreams has quit [Ping timeout: 240 seconds]
<pstn> The localAddress was just a try to get something there. Tried it without it before with the same result.
LysergicDreams has joined #nixos
johnw has joined #nixos
blankhart has quit [Ping timeout: 260 seconds]
<pstn> Or is my mistake not creating a bridge interface? That might be it...
<pstn> Or is there any simpler way to get a routed ipv6 on my container?
hiratara has quit [Ping timeout: 276 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
arianvp2 has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
tyrus82 has quit [Quit: tyrus82]
AGTT has left #nixos [#nixos]
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
mmlb has quit [Read error: Connection reset by peer]
nckx has joined #nixos
mmlb has joined #nixos
nckx has quit [Client Quit]
jrolfs_ has joined #nixos
nckx has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
kreetx has quit [Ping timeout: 256 seconds]
mmlb has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
Guest16581 has quit [Ping timeout: 268 seconds]
mmlb has joined #nixos
Jackneilll has quit [Remote host closed the connection]
Jackneilll has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/541116d4d74 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
bbsl has quit [Remote host closed the connection]
raskin[m] has joined #nixos
rihards has quit [Quit: rihards]
xy2_ has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/804060ff9a7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
hiratara has quit [Quit: ZNC - http://znc.in]
pie_ has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 264 seconds]
hiratara has joined #nixos
vandenoever has quit [Ping timeout: 240 seconds]
moth` has joined #nixos
<das_j> When using nixos-rebuild --target-host, is there any way to tell it to use sudo for switching the configuration?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/804060ff9a7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #39657 → home-assistant: 0.67.1 -> 0.68.0 → https://git.io/vp46k
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vp4HS
<{^_^}> → d71df799 by @dotlambda: home-assistant: 0.67.1 -> 0.68.0
<{^_^}> → 29d4913c by @peterhoeg: Merge pull request #39657 from dotlambda/home-assistant-0.68.0
jperras has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #39137 → nixos lcdproc: module for lcdd/lcdproc → https://git.io/vpLn8
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vp4Hp
<{^_^}> → 077811eb by @peterhoeg: nixos lcdproc: module for lcdd/lcdproc
<{^_^}> → 3c63bda6 by @peterhoeg: Merge pull request #39137 from peterhoeg/m/lcd
sigmundv__ has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
mmlb has joined #nixos
rosa has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
jhb563 has quit [Quit: Page closed]
mmlb has joined #nixos
rosa has quit [Client Quit]
moth` has quit [Ping timeout: 240 seconds]
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #39661 → bazel: 0.11.1 -> 0.12.0 → https://git.io/vp4Pi
symphorien has quit [Ping timeout: 256 seconds]
vcunat has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #39663 → xen_4_10: fix qemu-xen build error (memfd) → https://git.io/vp4QC
johnw has quit [Ping timeout: 264 seconds]
papika has joined #nixos
Myrl-saki has quit [Ping timeout: 256 seconds]
johnw has joined #nixos
blankhart has joined #nixos
<das_j> Nvm, a forced command did it
symphorien has joined #nixos
spear2 has joined #nixos
Myrl-saki has joined #nixos
das_j has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2eb42290e7f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ertes has quit [Quit: Bye!]
<papika> hello, I had a question about scripting inside of /etc/configuration.nix - all of the examples I can find don't have any script-like sections to get me started...
<papika> I'm looking to be able to create and copy files before it hits a part of the pipeline
mkoenig_ has joined #nixos
ertes has joined #nixos
<papika> basically, every `nixos-rebuild switch` runs into "cp: cannot stat '/run/keys/initrd-ssh-key': No such file or directory" because I haven't put it in /run yet
<papika> does anyone know how I can tell nixos to run a script before rebuild
mkoenig has quit [Ping timeout: 248 seconds]
seville has quit [Quit: Leaving]