zimbatm changed the topic of #nixos to: NixCon 2018 - 25-27 Oct in London https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<Unode> Ralith: So it turns out the issue with linking against libX11 is that the lib isn't actually found. However since one of the dependences links against it, it somehow propagates the oddity of both succeeding and failing at the same time.
thc202 has quit [Ping timeout: 252 seconds]
wpcarro has joined #nixos
<wpcarro> Been struggling to install nixos all day. I keep receiving a "No space left on device" error
<{^_^}> wpcarro: 1 hour, 23 minutes ago <samueldr> hi, if you haven't figured out a solution to "no space left on device" for nixos-install, ping me back; (I may miss you joining back here)
<samueldr> hi!
acarrico has joined #nixos
<samueldr> wpcarro: is it possible to have a bit more context with the error message? copy-pasting may not be possible, so a photo could do. It's possible the message is misleading and the actual cause harder to gauge
<samueldr> wpcarro: does the full message look like "Could not prepare Boot variable: No space left on device
meejah has left #nixos [#nixos]
<wpcarro> samueldr: this is the problematic .drv `/nix/store/s12lsnnf202xx94b6f67i5im6nxhhhby-nixos-system-nixos-18.03.133245.d16a7abceb7.drv`
<wpcarro> I also see "preallocating file of XXX bytes: No space left on device"
<{^_^}> [nixpkgs] @jtojnar pushed 158 commits to gnome-3.30: https://git.io/fxJGu
<wpcarro> I'm havin a hard time understanding what is happening when I run nixos-install from a live USB. Where is the /nix/store located? I see it has 3.5GB of data on an 8GB USB. But maybe that's just 3.5GB on my 500GB hard drive
<samueldr> ah, so probably not what the other user was facing earlier today
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #47571 → scala: 2.12.6 -> 2.12.7 → https://git.io/fxJGg
<samueldr> wpcarro: is this building a full fledged and complex config or a simpler one?
<samueldr> and note that the installer *does not write to the USB drive*, so its size doesn't matter
<wpcarro> samueldr: essentially the one that's generated by `nix-generate-config`
<wpcarro> it's super minimal. I've been working with this for close to 6 hours today
<samueldr> but it *will* write to a tmpfs, so it will use as much as it can of your ram :/
<samueldr> wpcarro: how much ram does your system have?
<wpcarro> I believe 16GB but I need to verify that
<samueldr> hmmm, that would be worrying then, if it was what I thought I would have assumed 4GB
<wpcarro> I'm desperate to get this to a point where I can *just* edit the configuration.nix and `-rebuild`
<wpcarro> but since I can't even bootstrap, it's a non-starter
<camsbury> I remember having a problem where my boot partition wasn't large enough, so that may be it
<samueldr> a mistake commonly done when installing is to not mount the filesystems to /mnt; did you mount the target filesystems under /mnt?
<wpcarro> camsbury: my boot partition is 512M I believe. I think I even experimented with a 1GB sized boot earlier as well
<camsbury> usually the installer is good about telling you that it expects something mounted that isn't
<camsbury> ah okay
<samueldr> 512 should be plenty
<wpcarro> samueldr: I followed the manual pretty closely and restarted the process multiple times to attempt to catch any details I may have missed from earlier
<wpcarro> samueldr: just re-read the manual section about mounting and matched that with my bash history. Looks like everything aligns
<samueldr> once you have the error, using df -h you might see a filesystem which has 100% use
<wpcarro> samueldr: I also have 16GB RAM and 16GB of swap
<samueldr> okay, *probably* not that then :/
<wpcarro> samueldr: I can run df -h now and check
<wpcarro> Seeing /iso, /nix/.ro-store, and /mnt all at 100%
Cale has quit [Ping timeout: 264 seconds]
<samueldr> hmm, what does mount | grep /mnt shows?
<samueldr> it looks like your root filesystem is full, which could have a couple causes
<wpcarro> samueldr: would you like a full dump?
<wpcarro> the summary: /dev/sda1 on /mnt ext4, /dev/sda3 on /mnt/boot vfat
<samueldr> did you mount your boot partition (ESP I think) to /mnt instead of to /mnt/boot ?
<wpcarro> samueldr: root filesystem as in: /mnt ? My actual / (root) is only at 2%
<samueldr> wait sorry, misread you rline
<wpcarro> sda1 is nixos (from the manual) and sda3 is boot (also from the manual)
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to gnome-3.30: https://git.io/fxJGS
<samueldr> what are the sizes under `df` for both /mnt (/dev/sda1) and /mnt/boot (/dev/sda3)?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c126510809c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
* samueldr is opening the manual
<wpcarro> samueldr: /mnt is 100%, /mnt/boot 1%
<samueldr> the columns for "Size" and "Avail", please
<samueldr> hm, the values for columns*
<wpcarro> samueldr: /mnt - 478M/488M, /mnt/boot - 32K/451G
<samueldr> wpcarro: looks like somehow your sizes are inverted to what's expected
<wpcarro> samueldr: sorry that's Used / Size... let me revise
<samueldr> still fine, Size was the important one
<samueldr> your (/mnt)/boot partition is 451G!
<wpcarro> samueldr: *gulp*
<samueldr> while your (/mnt)/ (the root partition) is a measly 488M :)
<samueldr> no worries, fdisk is hard
<samueldr> I never use it, don't want to memorize weird incantations
<wpcarro> should I `d` (delete) the partitions with fdisk?
<samueldr> I prefer using either cgdisk or cfdisk
<wpcarro> samueldr: I *wish* there was a common sense script I could run to get this going
<samueldr> (IIRC, now cfdisk fully handles GPT partition schemes)
<samueldr> wpcarro: while it won't help you now, I'm slowly working on refactoring the installation instructions :)
<samueldr> so you could cfdisk -z /dev/sda and visually create the partitions
<wpcarro> samueldr: no worries. Appreciate the visibility into the progress
<samueldr> if you use cfdisk, use ef00 as the type for the ESP, and 83 for the root partition, swap I can't remember, but it'll be in the list
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxJGp
<samueldr> agh! sorry this is misleading as it won't ask you that :)
<wpcarro> samueldr: hmm my partitioning skills are limited. From a high-level... I'm guessing I should delete all the partitions and start over?
<samueldr> should be fine
<samueldr> I mean, yes, deleting is probably the easier solution
<wpcarro> I'd *prefer* to resize... but I'm dubious about the purity of all these operations
<samueldr> well, you'd need to re-format anyway (or delete all the contents of /boot)
<wpcarro> samueldr: ok... and to be clear, you're suggesting that I use `cfdisk` to do this?
<wpcarro> I'm open to different APIs haha
<samueldr> cfdisk is a TUI (text user interface)
<samueldr> operated using arrow keys and menus
<wpcarro> samueldr: that's nice!
<wpcarro> samueldr: oh this is nice
<samueldr> DO be careful with the device names: they may not matche the guide
Cale has joined #nixos
<samueldr> so if you start by creating the ESP, it will be /dev/sda1, so remember that (/mnt)/boot is /dev/sda1 and substitute as needed
<wpcarro> samueldr: what is the ESP? forgive me...
andreabedini has joined #nixos
<samueldr> the ESP (/boot) will need to be of type "EFI System" (which you can change using the Type menu) it's the first option in the type menu
<samueldr> wpcarro: are you booting using legacy mbr, or UEFI?
<samueldr> I'm assuming UEFI since you had /dev/sda3 as /boot
<wpcarro> UEFI
<samueldr> good, UEFI looks into the EFI System Partition (ESP) when it chooses what to boot
<samueldr> it's a FAT32 partition with a special type, so the firmware of your computer can identify it
<wpcarro> samueldr: okay interesting... I'll try again without mixing up the two sizes and see what happens
iyzsong has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
<wpcarro> samueldr: thank you for the help. Will let you know any progress I make
<samueldr> no worries, please report back with success next :)
<worldofpeace> samueldr++
<{^_^}> samueldr's karma got increased to 24
acarrico has joined #nixos
<wpcarro> samueldr++
<{^_^}> samueldr's karma got increased to 25
<gchristensen> looks like I should order more stickers :)
* samueldr notes to add `df` and `mount` output to a future diagnostics tool
<wpcarro> samueldr: I think I found the problem also. It looks like after writing to and running the "fix" command with fdisk, it changes sda3 -> sda1 and sda1 -> 3 ... this is why I keep mounting the wrong devices
<samueldr> hmm, so it would use the order you did the operations and not the numbers from the "3" steps?
<wpcarro> well I assumed when I entered 3 to make the boot partition, it'd be sda3
<wpcarro> but really that became sda1 after changing it to EFI
<samueldr> well, the manual does say /dev/sda3 is the boot partition, confusing indeed
mizu_no_oto has joined #nixos
<wpcarro> samueldr: yeah and I was following the manual blindly bc I don't trust my partition skills etc
<wpcarro> my domain knowledge in that area is quite low
<jasongrossman> It might be time to try to standardise on a partitioning tool. I mean in terms of what we recommend and document.
hyper_ch has quit [Ping timeout: 268 seconds]
<samueldr> jasongrossman: any experience and recommendations?
<wpcarro> samueldr: seems to be working. I'm pretty relieved that the manual was in fact confusing
<wpcarro> I'm *very* excited to get this going
<samueldr> I had things in mind, but my experience is limited, though I believe my knowledge is solid, just not extensive :)
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to gnome-3.30: https://git.io/fxJZ1
<samueldr> thanks jtojnar for b0caf6b :)
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
wpcarro has quit [Ping timeout: 256 seconds]
<worldofpeace> A file can be 4775 permission in the nix store right?
<gchristensen> no
<Unode> worldofpeace: don't think so
<samueldr> After the build, Nix sets the last-modified timestamp on all files in the build result to 1 (00:00:01 1/1/1970 UTC), sets the group to the default group, and sets the mode of the file to 0444 or 0555 (i.e., read-only, with execute permission enabled if the file was originally executable). Note that possible setuid and setgid bits are cleared. Setuid and setgid programs are not currently supported by Nix. This is because the Nix archives used in
<samueldr> deployment have no concept of ownership information, and because it makes the build result dependent on the user performing the build.
<gchristensen> (1) setuid is prohibited, (2) write bit is prohibited
<samueldr> last point from here https://nixos.org/nix/manual/#ssec-derivation
<gchristensen> nix also prohibits the setting of the setuid bit via a syscall filter
<worldofpeace> Thanks :)
* ekleog curious what the point of said filter is, if anyway things are getting chmod'ed later?
<{^_^}> [nixpkgs] @eadwu opened pull request #47572 → vscode-extensions.ms-python.python: 2018.7.0 -> 2018.8.0 → https://git.io/fxJnt
<gchristensen> a very excellent question! you can read about it here: https://github.com/NixOS/security-advisories/blob/master/2017/0002.txt
<{^_^}> [nixpkgs] @eadwu opened pull request #47573 → vscode-extensions.ms-vscode.cpptools: 0.17.6 -> 0.19.0 → https://git.io/fxJnO
<ekleog> oh, didn't know about “Nix build directories are world readable during a build” :)
<samueldr> good read :)
<ekleog> thanks!
acarrico has quit [Ping timeout: 252 seconds]
<ekleog> (and yeah, didn't think about --keep-failed ^^)
<gchristensen> it was a good bug sphalerite found!
wpcarro has joined #nixos
<wpcarro> samueldr: ran into some problems after running `reboot` ... "/mnt-root: No such file or directory"
<samueldr> odd
<wpcarro> I know... and it looked *so* promising. This was part of Stage 1... didn't get to Stage 2 bc of this
<samueldr> ah, that was my next question: during boot or still in the installer image... which you answered: during boot
<wpcarro> is that what each stage represents?
<wpcarro> stage 1 = boot; stage 2 = installer image?
<samueldr> no, stage-1 is before systemd runs (for nixos); it prepares everything so systemd can start; this means mounting partitions, among other things
<wpcarro> ok interesting
<samueldr> it's likely that there's something wrong with the hardware-configuration.nix and the partition identifiers
<wpcarro> One interesting difference I had with the manual was that the `a` option with fdisk wasn't available (to make something bootable) is what it was advertised as doing
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « gnome3: remove versionBranch attribute »: https://git.io/fxJn4
jluttine has quit [Ping timeout: 268 seconds]
<wpcarro> so I just skipped that step...
<samueldr> I don't know if it has any impact on UEFI boot
sir_guy_carleton has joined #nixos
<samueldr> before your error, wpcarro, what's the previous line?
<wpcarro> samueldr: unsure without restarting my machine (unfortunately, the machine I'm using this IRC on is the when on which I'm trying to install Nix)
<wpcarro> so when things break, I use the live USB and come back here
<samueldr> oh, I see :)
<wpcarro> reconfiging network etc... I'm starting to go mad I bet
<samueldr> (not everyone has the luxury of having multiple computers around)
<wpcarro> samueldr: haha yeah... sorry
<wpcarro> I keep a notepad next to me to track the errors
lassulus_ has joined #nixos
<wpcarro> samueldr: is there someway to recreate the error message without fully rebooting?
romildo has joined #nixos
<samueldr> wpcarro: I don't know of any
<wpcarro> samueldr: haha oh boy... okay well... talk to you after my next reboot adventure!
<romildo> I want to package fbmenugen (a perl program to help generating a menu for the fluxbox root menu), but it depends on GDBM_File.pm, a perl core module that seems that is not available on NixOS. Any help on how to get it?
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
lostman has quit [Quit: Connection closed for inactivity]
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « gnome3: remove versionBranch attribute »: https://git.io/fxJn9
ericsagnes has quit [Ping timeout: 272 seconds]
wpcarro has quit [Ping timeout: 256 seconds]
wpcarro has joined #nixos
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @mnacamura opened pull request #47574 → feedgnuplot: 1.49 -> 1.51 → https://git.io/fxJcL
<wpcarro> samueldr: I finally got the error
<wpcarro> Mounting /dev/disk/by-uuid/XXX on /
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.30: https://git.io/fxJcm
<wpcarro> Starting "device mapper and LVM..." Is above that higher up
<samueldr> good, so "Mounting" is the line just before your error, right?
<wpcarro> Yes
<wpcarro> I also got an IRC client on my phone to make my life just a little easier
JonReed has quit [Ping timeout: 256 seconds]
<samueldr> are you booted on the usb drive / iso ?
<samueldr> if you are still in front of the error, could you note the UUID to compare with what's on your drive?
ericsagnes has joined #nixos
<wpcarro> samueldr: USB not connected
<samueldr> ah, I meant: did you reboot knowingly in the installer image to debug things after the failure :)
bbarker has quit [Ping timeout: 244 seconds]
<wpcarro> samueldr: I did intentionally reboot from installer image after the nixos-install succeeded
<wpcarro> How can I check the UUID with what I have on my computer? Open install image and check that path?
<samueldr> yes
<wpcarro> Coming right up
<samueldr> or alternatively using lsblk
<samueldr> UUID is one of the way you can identify a partition, and it's (generally supposed to be) unique at the creation of the filesystem
<samueldr> which is a good way to ensure that adding a disk to the system will not shift around the partition names and numbers
<wpcarro> samueldr: not seeing any UUIDs in the lsblk output
<wpcarro> Checking with ls now...
<wpcarro> Not seeing it with either
<samueldr> oh right, lsblk by default doesn't show uuids, my bad
<jasongrossman> lsblk -O
<wpcarro> Ah thank you fellas
<jasongrossman> or maybe better
<jasongrossman> lsblk -o name,UUID
<samueldr> yeah, -O is a wild thing to look at
<wpcarro> Ah better still. But nope nothing here w that UUID
<wpcarro> Only seeing a handle of entries in /dev/disk/by-uuid anyhow
<samueldr> okay, so it's likely that hardware-configuration.nix has the wrong UUIDs in it
<wpcarro> samueldr: I can edit that! I hope...
<samueldr> you can re-mount without re-formatting your partitions, verify, fix, and then run nixos-install again
<samueldr> don't forget to mount both the root partition (/mnt)/ and the ESP, (/mnt)/boot
<wpcarro> Remount so I can edit the configuration?
<samueldr> yes
<wpcarro> Hmm okay gonna try that
mayhewluke has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/12ed9dfd25c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jasongrossman> Wouldn't it be better for wpcarro to re-run nixos-generate-config?
<jasongrossman> Just to avoid typos, really.
Mateon2 has joined #nixos
mayhewluke has joined #nixos
<wpcarro> jasongrossman: I can do that
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
<wpcarro> I'm editing both hardware-configuration and configuration files
<wpcarro> Guessing I verifying by aligning UUIDs here with the values in lsblk -o name,UUID?
<wpcarro> Looks like / is NixOS and /boot is boot
<wpcarro> I guess I also rerun nixos-install?
<jasongrossman> Yes.
<wpcarro> Great thank you jasongrossman
<wpcarro> If this works, I wonder how my generated config had the wrong UUIDs...
<wpcarro> Oh my god it got past stage 2
<jasongrossman> \o/
<wpcarro> This. Is. Amazing!
<jasongrossman> wpcarro: Unless you change physical drives a lot, I recommend that you try not to worry about partitioning, once it's working. Partitioning magic is separate from almost everything else related to Nix.
<wpcarro> So now I just edit the configuration.nix and rebuild until I have a Ferrari of an OS?
<jasongrossman> Yes. And then rebuild again when you realise you actually wanted a Lotus.
<wpcarro> Lol jasongrossman
* hodapp wants a Lotu
<hodapp> ...s
<wpcarro> Thank you jasongrossman and samueldr
puck has quit [Quit: *eh*]
<wpcarro> jasongrossman++
<{^_^}> jasongrossman's karma got increased to 2
<jasongrossman> But seriously, don't be afraid to rebuild a lot. Most of us rebuild every time we want to install a program, I think, because we prefer declarative package management to imperative package management.
<wpcarro> I'm afraid this won't be the last you of me, but I should be able to shut up for a bit of time
<samueldr> wpcarro: the fun bit with partitioning: almost nothing here is nixos specific, and most skills from other distros also can be applied with nixos :)
<wpcarro> I'm declarative > ad-hoc atm so I anticipate rebuilding incessantly
matthewbauer has joined #nixos
<samueldr> so if you have time to kill, and want to learn, play in virtual machines with both MBR and UEFI boot schemes, with nixos, and possibly other distros, trying to understand the intricacies
<jasongrossman> wpcarro: Good for you.
<wpcarro> samueldr: thanks for advice. I will once my temper wanes and my patience increases!
<samueldr> :) as I said, once you want to spend time learning about that
<wpcarro> Still timid with this level of abstraction, which is strange bc I'm quite comfortable on the command line
<samueldr> and wpcarro welcome to nixos, don't forget to backup your configuration.nix; possibly handling it in a git repo
<jasongrossman> wpcarro: You'll get untimid quickly once you see how easy rolling back is.
<jasongrossman> (For everything except partitioning.)
<samueldr> heh, was about to say: can't rollback a bad partition
<wpcarro> God. This feels amazing. Cannot express my excitement and gratitude adequately
<jasongrossman> samueldr: Real programmers can, with a hex editor.
<jasongrossman> wpcarro: Yeah, it is great, isn't it? And a really good community.
<wpcarro> So far so good!
<slabity> Hey guys. Anyone else having issues with amdgpu and the /run/opengl-driver/lib/dri not being included properly?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47551 → snipes: init at 20180930 → https://git.io/fxfPs
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxJCY
<hodapp> Unode: Lotus Esprit :P
<jasongrossman> hodapp: :-)
<samueldr> good, a lotus in your mind; mind over matter
<wpcarro> Oh boy... Forgot to setup wifi settings in my configuration before disconnecting from live USB
<samueldr> good news: you can fix this the same way you fixed the uuid issues
<samueldr> mount, fix, nixos-install
<samueldr> (with the installer image)
aither has quit [Ping timeout: 252 seconds]
<wpcarro> samueldr: I'd prefer using a CLI to set that up if there is one that comes with vanilla NixOS
<wpcarro> But will resort to that if need be
jperras has quit [Ping timeout: 264 seconds]
jtojnar has quit [Ping timeout: 252 seconds]
<samueldr> hm?
<samueldr> ah!
<samueldr> you activated the required settings, so you only need to configure?
<samueldr> because if you don't have wpa_supplicant and friends, it's going to be hard connecting
<wpcarro> samueldr: after consulting the config I don't think I enabled wpa supplicant. Ugh back to the beginning
<jasongrossman> wpcarro: No! Not back to the beginning! You can fix this bit without all the hassle you've had so far.
<jasongrossman> wpcarro: But if you mean back to rebooting, then yes.
hyper_ch has joined #nixos
<wpcarro> Haha back to Live USB though
<jasongrossman> Yep.
<wpcarro> Ok not beginning. Middle slash end
<wpcarro> I'm being dramatic
<{^_^}> [nixpkgs] @samueldr opened pull request #47575 → Updates 18.09 release notes for release. → https://git.io/fxJCD
<sir_guy_carleton> what are the differences between the different packages of keepassx in nixpkgs?
orivej has quit [Ping timeout: 264 seconds]
wpcarro has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/26537f53792 (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matthewbauer has quit [Ping timeout: 272 seconds]
andreabedini has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
iyzsong has joined #nixos
Lears has joined #nixos
Diagon has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47576 → emacs: magithub and magit-svn require git → https://git.io/fxJlt
v0|d has quit [Ping timeout: 268 seconds]
troydm has quit [Ping timeout: 252 seconds]
b has quit [Quit: Lost terminal]
<jasongrossman> sir_guy_carleton: Some of them are from forks (despite the version numbers staying the same). Others, I don't know.
<jasongrossman> sir_guy_carleton: See https://en.wikipedia.org/wiki/KeePassXC
zopsi has quit [Quit: Oops]
zopsi has joined #nixos
snajpa has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47576 → emacs: magithub and magit-svn require git → https://git.io/fxJlt
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxJlK
wpcarro has joined #nixos
wpcarro has quit [Quit: leaving]
devopsdeluxe has quit [Quit: ZNC 1.7.1 - https://znc.in]
devopsdeluxe has joined #nixos
devopsdeluxe has quit [Client Quit]
devopsdeluxe has joined #nixos
<{^_^}> [nixpkgs] @charles-dyfis-net opened pull request #47578 → uncompyle6 2.8.3 -> 3.2.2; xdis 3.2.4 -> 3.8.7; spark_parser 1.4.0 -> 1.8.7 → https://git.io/fxJ8Y
wpcarro has joined #nixos
wpcarro has quit [Client Quit]
<{^_^}> [nixpkgs] @wykurz opened pull request #47579 → alacritty: 2018-08-30 -> 2018-09-29 → https://git.io/fxJ8c
devopsdeluxe has quit [Quit: ZNC 1.7.1 - https://znc.in]
devopsdeluxe has joined #nixos
matthewbauer has joined #nixos
matthewbauer has quit [Ping timeout: 268 seconds]
camsbury has quit [Quit: Leaving...]
Ariakenom has joined #nixos
matthewbauer has joined #nixos
avn has quit [Read error: Connection reset by peer]
jluttine has joined #nixos
<infinisil> samueldr: regarding rolling back a bad partition
<infinisil> ZFS now has a feature to 'snapshot' a whole zpool and being able to roll it back to that. Would be cool to integrate with that
<infinisil> Oh wait, that's user data, don't want to roll back all the stuff you saved..
<infinisil> (It would rollback the zfs "partitions" though)
aither has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
worldofpeace has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47572 → vscode-extensions.ms-python.python: 2018.7.0 -> 2018.8.0 → https://git.io/fxJnt
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « vscode-extensions.ms-python.python: 2018.7.0 -> 2018.8.0 (#47572) »: https://git.io/fxJBK
<{^_^}> [nixpkgs] @xeji merged pull request #47573 → vscode-extensions.ms-vscode.cpptools: 0.17.6 -> 0.19.0 → https://git.io/fxJnO
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « vscode-extensions.ms-vscode.cpptools: 0.17.6 -> 0.19.0 (#47573) »: https://git.io/fxJBi
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill merged pull request #47569 → linux: 4.19-rc5 -> 4.19-rc6 → https://git.io/fxJsK
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fxJBM
andreabedini has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
troydm has joined #nixos
hyper_ch2 has joined #nixos
matthewbauer has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @flokli to release-18.09 « pythonPackages.pystemd: init at 0.5.0 (#47517) »: https://git.io/fxJ0b
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #47581 → ocamlPackages.ocaml_lwt: 3.3.0 -> 4.1.0 → https://git.io/fxJEe
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4c95508641f (from 55 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Boomerang has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
phreedom has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #47546 → EmptyEpsilon: fix version numbering → https://git.io/fxfru
<{^_^}> [nixpkgs] @Mic92 pushed commit from @nek0 to master « EmptyEpsilon: fix version numbering (#47546) »: https://git.io/fxJuO
kini has quit [Quit: No Ping reply in 180 seconds.]
sir_guy_carleton has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1f255187ed6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
georges-duperon has quit [Quit: Leaving]
kini has joined #nixos
orivej has joined #nixos
rauno has joined #nixos
phreedom has joined #nixos
<rauno> hum, weird is that when using buildGoPackage (generated with go2nix) fails but when doing a simple package build with custom buildPhase and no installPhase succeeds? current buildPhase thats works is: https://pastebin.com/cHpYnSyb
sir_guy_carleton has quit [Ping timeout: 268 seconds]
lor|d has joined #nixos
sir_guy_carleton has joined #nixos
lord| has quit [Disconnected by services]
lor|d is now known as lord|
Tucky has joined #nixos
<srhb> rauno: iirc rexray has a really non-standard build process.
johanot has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #47506 → csa: init at 0.5.100810 → https://git.io/fxvNB
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxJzr
pikajude has quit [Quit: ZNC 1.7.1 - https://znc.in]
pikajude has joined #nixos
Anton-Latukha has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
<rauno> srhb, okay then it isn't "just me" :)
<srhb> rauno: Probably not. however, it usually doesn't really matter for nix whether a certain thing happens in a certain phase, though you should strive to keep the actual installing to the installPhase if possible.
<srhb> Simply because it will be confusing if you do not.
<{^_^}> [nixpkgs] @nlewo merged pull request #47411 → Multi-Layered Docker Images → https://git.io/fAhnh
<{^_^}> [nixpkgs] @nlewo pushed 6 commits to master: https://git.io/fxJz7
phry has quit [Quit: WeeChat 2.1]
phry has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #47582 → dockerTools: Use nix instead of nixUnstable → https://git.io/fxJgt
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxJg7
<{^_^}> [nixpkgs] @nlewo merged pull request #47582 → dockerTools: Use nix instead of nixUnstable → https://git.io/fxJgt
<{^_^}> [nixpkgs] @nlewo pushed commit from @srhb to release-18.09 « dockerTools: Use nix instead of nixUnstable »: https://git.io/fxJ2t
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sir_guy_carleton has quit [Disconnected by services]
goibhniu has joined #nixos
sir_guy_carleton has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb opened pull request #47584 → nixos/tests/nix-ssh-serve.nix: Use stable nix → https://git.io/fxJ2S
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxJ2x
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxJaV
sir_guy_carleton has joined #nixos
patrl has joined #nixos
sir_guy_carleton has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxJaj
reinzelmann has joined #nixos
jluttine has quit [Ping timeout: 252 seconds]
jluttine has joined #nixos
reinzelmann has quit [Client Quit]
joko has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/0f1911eea20 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
sigmundv has joined #nixos
reinzelmann has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz_ has joined #nixos
kyren has quit [Remote host closed the connection]
redj has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ff37ba70283 (from 40 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<manveru> trying to compile a static crystal is like impossible...
<manveru> or rather, a static mint from crystal
<srhb> manveru: How come?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ff37ba70283 (from 45 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<manveru> i get this strange error: `ld: dynamic STT_GNU_IFUNC symbol `memset' with pointer equality in `/nix/store/s58hg86980680l8rr9yp9i8m7czzacvj-glibc-2.27-static/lib/libc.a(memset.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie`
<manveru> but glibc doesn't even take a -fPIE configure flag
<srhb> wait, really? Pretty sure I've passed -fPIE to gcc before.
garbas has joined #nixos
<manveru> so any compilation with `crystal build --static` fails atm
<manveru> gcc? not glibc?
<srhb> gcc, yeah.
<manveru> i think it uses llvm anyway?
<srhb> clang should take -fPIE as well iirc
Twey has joined #nixos
<manveru> yeah, no clue how to pass that
<manveru> it seems to behave different, can't just say `clang.override { stdenv = makeStaticLibraries stdenv; }`
<{^_^}> [nixpkgs] @peterhoeg pushed to master « emacs: fix egg dependency on git »: https://git.io/fxJoU
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hledger: fix build of new version 1.11 »: https://git.io/fxJoT
<manveru> in the end, i just try to avoid having a 1.4GB closure for the Mint compiler
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxJoY
<manveru> it has both gcc and clang in there...
<tilpner> Paste?
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #47586 → mint: 0.2.1 -> 0.3.1 → https://git.io/fxJoN
<manveru> tilpner: for closure size, the one above, for the upgrade, see this PR
<manveru> but 0.2.1 has the same problem
<tilpner> So mint compiles to JS, and has no reason to depend on either gcc or clang/llvm?
<manveru> that's my thought, yeah
<srhb> If it does, you can just start nuking references manually I guess :)
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47587 → plantuml: 1.2018.10 -> 1.2018.11 → https://git.io/fxJKZ
<manveru> the mint binary is around 14MB if you check https://github.com/mint-lang/mint/releases/tag/0.3.1
aither has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
fendor has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
simukis has joined #nixos
goibhniu has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Add missing file »: https://git.io/fxJPH
v0|d has joined #nixos
Anton-Latukha has joined #nixos
<fendor> when trying to execute the electron examples, it fails with the message: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory. Seems to be related to https://github.com/NixOS/nixpkgs/issues/43297 but i could not find the bug fix
<{^_^}> #43297 (by gnidorah, 11 weeks ago, closed): electron stopped to work on nixos-unstable
aither has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @romildo opened pull request #47588 → sierra-gtk-theme: 2018-09-14 -> 2018-10-01 → https://git.io/fxJXF
<{^_^}> [nixpkgs] @vbgl opened pull request #47589 → coqPackages.coqprime: init at 8.7.2 & 8.8 → https://git.io/fxJXN
rauno has quit [Ping timeout: 252 seconds]
thetet has joined #nixos
patrl has quit [Quit: WeeChat 2.2]
thetet has left #nixos [#nixos]
<{^_^}> [nixpkgs] @romildo opened pull request #47590 → materia-theme: 20180519 -> 20180928 → https://git.io/fxJMe
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/89b618771ad (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alex`` has joined #nixos
betaboon has joined #nixos
<betaboon> zimbatm: are you available to maybe assist me with a yarn2nix problem ?
<zimbatm> hey betaboon, what can I do for you?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/89b618771ad (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<betaboon> i am struggeling building dist-output of an angular-6 application.
<zimbatm> what version of yarn2nix are you using? the one packaged in nixpkgs is a bit old
<betaboon> our devs just revently migrated from angular5 to angular6. prior angular6 i was able to build the dist-package directly from source. previously i have been using an old version of yarn2nix (forked a while ago and put a PR on top for @xyz/package support). now i am trying to run yarn2nix from current master(yarn2nix-master, not nixpkgs-master)
<betaboon> what confuses me alot: the yarn-workspaces support that has landed in yarn2nix builds 'deps' and the package-deps even tho that angular-application doesn't use yarn-workspaces
<betaboon> so now 'yarn build' in buildPhase doesn't work as it can't find all the dependencies.
<betaboon> and even if i do some hackiny combine-all-the-node_modules during build phase, the dist-phase defined in yarn2nix/default.nix just doesnt fit what i need to do
<betaboon> (sorry for the spam)
v0|d has quit [Remote host closed the connection]
goibhniu has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #47591 → alacritty: 2018-08-30 -> 0.2.0 → https://git.io/fxJDR
troydm has quit [Ping timeout: 252 seconds]
patrl has joined #nixos
thetet has joined #nixos
thetet has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #47591 → alacritty: 2018-08-30 -> 0.2.0 → https://git.io/fxJDR
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxJyC
<{^_^}> [nixpkgs] @Mic92 opened pull request #47592 → alacritty: 2018-08-30 -> 0.2.0 (backport) → https://git.io/fxJyD
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « alacritty: spell darwin platform correctly »: https://git.io/fxJSk
zemm has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
reinzelmann has joined #nixos
v0|d has joined #nixos
Lears has quit [Remote host closed the connection]
<zimbatm> betaboon: are you using the workspaces feature at all?
<zimbatm> I haven't tested it properly yet and it might be breaking things for sure
Lears has joined #nixos
<zimbatm> is there anything that you can share so I get a better understanding of the problem?
<betaboon> i realy have not much of a clue about all this node, angular, yarn stuff. but as far as i can tell, the package we're building does not use workspaces at all (afterall there is no "workspaces" in package.json etc)
<zimbatm> yeah probably not using workspaces then
<{^_^}> [nixpkgs] @e-user opened pull request #47593 → snyk: init at 1.99.1 → https://git.io/fxJSF
<zimbatm> I'm not sure if this workspaces thing is a good idea, it seems to add a lot of complication
<zimbatm> try going a few commits back before the workspaces were added
joehh has joined #nixos
<betaboon> zimbatm: but maybe this "angular.json" which defines "projects" actually implicitly defines workspaces ? oO
<betaboon> will try so later on
<zimbatm> ¯\_(ツ)_/¯
<zimbatm> I wouldn't be surprised that angular 6 makes a few more impure assumptions about the build environment
<betaboon> i just hate all those node/angular/npm-bs
<zimbatm> everyone thinks they are smart by adding another layer of complication
<zimbatm> we're 4-5 layers deep and it's unmanageable
<betaboon> who in the world thinks it is good design to define 5 types of dependencies ? oO
<zimbatm> it's a general trend in scripting languages, python and ruby also have their own complications
<zimbatm> or haskell with stack
<zimbatm> ruby: RUBYLIB, rubygems, bundler
v0latil3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47592 → alacritty: 2018-08-30 -> 0.2.0 (backport) → https://git.io/fxJyD
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-18.09: https://git.io/fxJ90
nckx has quit [Ping timeout: 240 seconds]
<Mic92> There is an undefined number of ways to tell ruby where it can find its dependencies.
<infinisil> Um, so I just found out that in order for ssh substituters to work, you need to use `nix run` as root, with --option require-sigs false
<infinisil> If you don't use root, it doesn't work
<infinisil> If you use nix-shell, it doesn't work
<infinisil> I don't know why, but that's how it is for me
<symphorien> are you a trusted user ?
<infinisil> symphorien: the group wheel is, and I'm in wheel
<LnL> I think you need to setup signing keys if you're not using root
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/b550b7d9e3d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @Mic92 closed pull request #44839 → nixos/nextcloud: Init → https://git.io/fNQka
init_6 has joined #nixos
acarrico has joined #nixos
vbernat has joined #nixos
[Leary] has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Lears has quit [Read error: No route to host]
troydm has joined #nixos
<infinisil> LnL: Ugh
<infinisil> Gotta look that up
<{^_^}> [nixpkgs] @midchildan opened pull request #47594 → sourcetrail: init at 2018.3.55 → https://git.io/fxJQy
<LnL> check for secret-key-files in man (5) nix.conf
<infinisil> Yeah got it
hamishmack has quit [Ping timeout: 252 seconds]
<betaboon> zimbatm: going back to b27e9e7 the package builds with my old derivation but something still goes weird, as the resulting dist contains errors.
andreabedini has joined #nixos
__monty__ has joined #nixos
<teto> let's say I want to bring jupyter in PATH of ihaskell, what attribute should I use ? I tried overriding ihaskell with "executableHaskellDepends = [ pkgs.jupyter ];" but that doesn't bring jupyter ?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47587 → plantuml: 1.2018.10 -> 1.2018.11 → https://git.io/fxJKZ
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxJdT
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @cillianderoiste opened pull request #47596 → TBS: fix modules → https://git.io/fxJdK
<gchristensen> I just published this post about the work I did to make Docker images automatically nicely cachable: https://grahamc.com/blog/nix-and-layered-docker-images
jperras has joined #nixos
<vdemeester> gchristensen: date is weird :P
<gchristensen> oops! fixing... thanks!
<infinisil> LnL: Um, so I have this kinda public key: pc.infinisil.com-1:3qy1uwb8W8nc1n+MG2khO1XSIDqJZcsZUiaTcMImMpI=
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
<infinisil> Ah yeah that looks good
<clever> gchristensen: https://github.com/NixOS/nix/pull/2459 i was able to make an expression that took over 147mins eval in just 19mins
<{^_^}> nix#2459 (by cleverca22, 1 day ago, open): add a sublist primop
<clever> and similar high gains on others that are down as far as 15 sec
<gchristensen> wow!
<clever> gchristensen: and prior to any refactorying, snack took over 38 hours to eval, and had yet to finish
<gchristensen> O.o
<siers> How are PR reviewers assigned?
<clever> gchristensen: with both changes to the snack nix expressions, and adding sublist to nix itself, it went from over 38 hours, to just 14 seconds
joehh has quit [Ping timeout: 268 seconds]
<gchristensen> what is the change being made on the .nix end?
<clever> memoize stuff, rather then calling a function repeatedly, store its result in a set
<clever> internally, snack is using lib.unique a lot, and lib.unique is implemented with lib.head, lib.drop, and lib.drop heavily abuses builtins.elemAt
<clever> which results in 108 million calls to elemAt
<Taneb> clever: that's a pretty big improvement
<clever> yeah
<zimbatm> siers: each nix package has one or more maintainers, those should be contacted
<zimbatm> otherwise it's who touched the code last
<clever> Taneb: and it was so slow, that it was faster to profile it, and patch nix, then it was to wait for it to finish, lol
<Taneb> :D
<siers> zimbatm, It's a new package whose assigned reviewer is a contributor (not member) and isn't responding for a week.
<{^_^}> #46112 (by siers, 3 weeks ago, open): nix-gitignore: init at v1.0.2
<clever> i was literally editing code, running the new version, and beating the old version, with several hours of late start!
<gchristensen> clever: incredible.
<siers> zimbatm, so how are they selected in this case?
<sphalerite> ekleog: build dirs aren't world-readable during a build, only after with --keep-failed
ctp has joined #nixos
<zimbatm> siers: mostly people scanning the new opened pull requests
<clever> gchristensen: and now i'm fighting ghc once more, too many Crypto.Random in scope!
* zimbatm looking at the PR
<ekleog> sphalerite: oh ok :) then there's a problem in the security advisory, then, I think
<ekleog> (cc gchristensen)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ec3497a084f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<gchristensen> depends on platform
<ekleog> oh gotcha :)
<gchristensen> ekleog: that post is public now, btw :)
Ariakenom_ has joined #nixos
fendor_ has joined #nixos
<ekleog> 'k thanks :)
fendor has quit [Read error: Connection reset by peer]
Ariakenom has quit [Read error: Connection reset by peer]
<ekleog> (poking the person with whom I was speaking of nix&docker last time :D)
<d1rewolf> I'm curious...any of you using nixos to run a home NAS?
<gchristensen> sure
<etu> Not yet :(
<d1rewolf> gchristensen: are you using zfs or something else? I currently have a freenas box, but am considering switching away....still...I like zfs
<gchristensen> yeah I used ZFS for the storage pool
<clever> d1rewolf: i have a nixos box with zfs as my nas, it currently has 3 4tb drives
<d1rewolf> gchristensen: any sort of front-end or are you just managing from the command line?
<clever> all command line here
<gchristensen> CLI
<d1rewolf> clever: cool. I'm wondering if/how well it's run on a freenas mini. it's a IX-packaged system, but I'm betting nixos would run just fine on it
<siers> zimbatm, do you think it has a chance of getting merged?
<betaboon> zimbatm: i fixed my problem for now in this way: fork yarn2nix, make distPhase of mkYarnPackage overridable, combine deps- and package-node-modules back into one like this: https://gist.github.com/betaboon/ceabc7ddccf42d182dcdab08ed80ebbf
<clever> d1rewolf: how much ram does the machine have? what cpu?
<LnL> infinisil: yes, and that nix.conf option will sign everything built locally on the host with that key
<infinisil> LnL: Well I tried it, but I don't have much time now
<infinisil> I ended up having problem with every nix command
<infinisil> Saying it couldn't connect to the cache
<LnL> infinisil: without it store paths won't be registered with a signature
<infinisil> Will try to debug later
<d1rewolf> clever: it's at home, so I can't verify, but from the original order I placed on amazon: "8-Core 2.4GHz Intel CPU with AES-NI, 16GB DDR3 with ECC". I have 4 3TB drives in it
<infinisil> Top file is for the machine with the to be signed store, bottom is for all my machines intending to use above machine
<LnL> yes, assuming nixStorePrivateKey is a path
<infinisil> Yup it is
<clever> d1rewolf: sounds like it should have no trouble running nixos
<d1rewolf> clever: cool. thanks very much :)
<LnL> also, I'm not sure why root on the remote is concidered special and doesn't require a signature
<clever> LnL: with the old nix-copy-closure api, it defaults to not checking signatures for trusted users (including root)
<clever> LnL: with `nix copy`, you can specify that in the protocol, and it will silently ignore the flag if you are not trusted
<nyanloutre[m]> > updated URL though: https://grahamc.com/blog/nix-and-layered-docker-images
<nyanloutre[m]> Very nice article, thanks !
<LnL> clever: yes, but having root access on a host means you are trusted not that you trust the host
periklis has joined #nixos
iyzsong has joined #nixos
Rusty1 has joined #nixos
<zimbatm> betaboon: do you mind submitting a patch to allow distPhase overrides?
<zimbatm> I think that should be allowed in any case
<d1rewolf> what's a good file manager which supports mounting samba shares on nixos? using i3, so I have nothing installed at the moment, but would rather avoid manual effort
<zimbatm> siers: it's a bit difficult to answer
<zimbatm> I think it would be very useful to have it builtin
<{^_^}> moretea/yarn2nix#76 (by betaboon, 12 seconds ago, open): Allow overriding mkYarnPackage distPhase
<zimbatm> siers: it probably belongs in the lib/ folder
<zimbatm> ty betaboon
<siers> zimbatm, I can change that. What about the README? Is it necessasry?
<zimbatm> siers: one of the concern would be if this started to be used a lot in nixpkgs as it does too much at evaluation time
<zimbatm> and lib/ is only really a support for nixpkgs
<zimbatm> (unfolding my thought process)
<zimbatm> so I guess having it in build-support would be a signal that it's not meant to be used in nixpkgs directly
<siers> zimbatm, I think it's more for developers and I that's why I didn't put it in lib/. I merely intended it to be more easily accessible.
<zimbatm> the other concern is that it will be harder for you to update it
<zimbatm> you did a lot of good work, it would be a shame if it was lost
<siers> I intended it as a package, but then I couldn't just fetchgit, because you shouldn't import from derivations, so I had to inline all of it.
<zimbatm> yarn2nix that was imported above has this issue, we imported it in nixpkgs but not it's still evolving in the main repo
<zimbatm> yeah
<zimbatm> same issue with yarn2nix
<siers> As long as it does the same thing, I don't think updates would happen too often.
<zimbatm> I think your project should be relatively stable compared to yarn2nix
<zimbatm> so all future development could happen in nixpkgs
<siers> easily
<zimbatm> regarding the README, the best thing to do would be to convert it to the manual
<zimbatm> so move the usage bit to the manual and trim the existing README to testing instructions
<zimbatm> is there any way the tests could be plugged into the rest of the tests?
<siers> Sure, I checked out the tests.
<siers> The nixpkgs tests, that is. Do they spawn a VM for each test? I'm a little concerned about that because VM would probably take longer to spawn than the test time.
Ariakenom_ has quit [Ping timeout: 272 seconds]
<siers> Yeah, I can write instructions for the manual also. I was trying to hint at that and asked about it in the issue, but I didn't get a clear answer.
<zimbatm> only the NixOS tests are spawning VMs
<zimbatm> the others are running the tests in a derivation
<siers> pkgs/test/ ?
<zimbatm> ask gchristensen, he is the master of manuals :)
<zimbatm> +
<gchristensen> which nixpkgs tests?
<siers> only 27 files there, is that the right directory?
<siers> gchristensen, I would like to get this merged. https://github.com/NixOS/nixpkgs/pull/46112 I have tests for it, but I haven't included them yet.
<gchristensen> I didn't know we had nixpkgs tests :o
<{^_^}> #46112 (by siers, 3 weeks ago, open): nix-gitignore: init at v1.0.2
<zimbatm> gchristensen: we need that bit moved to the manual: https://github.com/NixOS/nixpkgs/pull/46112/files#diff-7d5b9f9c177be63d2b0b9b46ef3ac0fb
endformationage has joined #nixos
<zimbatm> siers: your package is a bit special, most of them are derivations that have check phases
<gchristensen> oh man
<zimbatm> your is closer to lib/tests
<zimbatm> so pkgs/tests is quite thin but it would fit there
smolboye has quit [Read error: Connection reset by peer]
smolboye has joined #nixos
<siers> okay, I'll take a look at the tests when I've
<siers> Okay, I'll take a look at the tests and manuals when I'm not at work.
<{^_^}> [nixpkgs] @mvnetbiz opened pull request #47597 → ckb-next: from 0.2.9 0 -> 0.3.1 → https://git.io/fxJjl
<siers> zimbatm, thank you for the answers I didn't receive in the PR
<zimbatm> yw
<gchristensen> siers: so ideally the .md would be rewritten in with (see: https://docbook.rocks), and added to nixpkgs/doc/functions.xml if you need help with that conversion, I'm happy to help
<zimbatm> it was the right thing to ask
<gchristensen> siers: so ideally the .md would be rewritten in docbook (see: https://docbook.rocks), and added to nixpkgs/doc/functions.xml if you need help with that conversion, I'm happy to help*
<lewo> Is Nix1 backward compatibility still required in Nix18.09?
<gchristensen> yeah :(
<lewo> arf :/
alex`` has quit [Ping timeout: 252 seconds]
<lewo> do you know for how many releases it is required? And what is motivating this choice?
<LnL> why the :(?
<gchristensen> ok, :( is overdoing it, but I am excited about new exciting changes like structured attrs
jperras has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<d1rewolf> what package is necessary to install to mount samba/cifs on nix? nix search smbmount shows no results. should I just install samba?
<nyanloutre[m]> disasm: Hi, the build you triggered on my pull request did complete successfully : https://github.com/NixOS/nixpkgs/pull/40816
<{^_^}> #40816 (by nyanloutre, 19 weeks ago, open): electrum and electron-cash: add support for btchip library
Izorkin has quit [Read error: No route to host]
<lewo> gchristensen: do you know when we could get rid of this backward compat?
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
<infinisil> lewo: it's in master
<infinisil> So next release will have 2.0 min
<infinisil> So you can use 2.0 features if you do your pr's against master :)
<lewo> infinisil: ok, thanks
<nyanloutre[m]> I have a question about overlays, in which case is it better to use `self` instead of `super` ?
<jasongrossman> d1rewolf: I believe you need the options under services.samba - see https://nixos.org/nixos/options.html#samba
<jasongrossman> d1rewolf: I'm just guessing really, but since nobody else answered your question I thought I'd give them something to correct.
<d1rewolf> jasongrossman: k, thx. i'll look at that.
<d1rewolf> how can one search all files in nix packages, like "apt-file search mount.cifs" on debian?
monotux has joined #nixos
Izorkin has joined #nixos
<teto> d1rewolf: I use udisk with i3 to mount files. Then you can use any filemanager you want (ranger/nautilus...)
<manveru> ,locate mount.cifs
<{^_^}> Found in packages: cifs_utils
<{^_^}> [nixpkgs] @tkerber opened pull request #47598 → fira-code: 1.205 -> 12.06 → https://git.io/fxUUI
<d1rewolf> manveru: cool. can you remind me the command line way of doing that?
<manveru> d1rewolf: `command-not-found mount.cifs`
<manveru> if you want something other than executables, there's https://github.com/bennofs/nix-index
<d1rewolf> manveru: command-not-found is perfect. thanks
<{^_^}> [nixpkgs] @tkerber opened pull request #47599 → kitty: 0.12.0 -> 0.12.3 → https://git.io/fxUUo
dmc has quit [Quit: WeeChat 2.2]
<infinisil> ,overlays nyanloutre[m]
<{^_^}> infinisil: Did you mean overlay?
<{^_^}> nyanloutre[m]: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ae2bb82a8d3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nyanloutre[m]> ok thanks
silver has joined #nixos
johanot has quit [Ping timeout: 268 seconds]
dmc has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @shreyanshk opened pull request #47600 → hugo: helpers/content.go: call rst2html directly to render content → https://git.io/fxUkj
<{^_^}> [nixpkgs] @fpletz merged pull request #46674 → mkspiffs: init at 0.2.3 → https://git.io/fAX0K
<{^_^}> [nixpkgs] @fpletz pushed commit from @haslersn to master « mkspiffs: init at 0.2.3 (#46674) »: https://git.io/fxUIu
<{^_^}> [nix-pills] @baracoder opened pull request #83 → pill 18.1: Fix filename typo → https://git.io/fxUID
<{^_^}> [nix-pills] @grahamc merged pull request #83 → pill 18.1: Fix filename typo → https://git.io/fxUID
<{^_^}> [nix-pills] @grahamc pushed 2 commits to master: https://git.io/fxUIb
johanot has quit [Ping timeout: 252 seconds]
<{^_^}> [nix-pills] @grahamc closed pull request #73 → Pill 07: readable code form, fix to shell variable quoting → https://git.io/fNXXN
iyzsong-x has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Quit: Page closed]
johanot has joined #nixos
rrrojo has joined #nixos
reinzelmann has quit [Quit: Leaving]
alex`` has joined #nixos
johanot has quit [Ping timeout: 252 seconds]
johanot has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ec3497a084f (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
init_6 has quit [Ping timeout: 268 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47117 → uftrace: init at 0.9 → https://git.io/fA5qb
<{^_^}> [nixpkgs] @xeji pushed commit from @nthorne to master « uftrace: init at 0.9 (#47117) »: https://git.io/fxUmY
<{^_^}> [nixpkgs] @xeji merged pull request #47590 → materia-theme: 20180519 -> 20180928 → https://git.io/fxJMe
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « materia-theme: 20180519 -> 20180928 (#47590) »: https://git.io/fxUmi
<{^_^}> [nixpkgs] @xeji merged pull request #47588 → sierra-gtk-theme: 2018-09-14 -> 2018-10-01 → https://git.io/fxJXF
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « sierra-gtk-theme: 2018-09-14 -> 2018-10-01 (#47588) »: https://git.io/fxUYO
_deepfire has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47598 → fira-code: 1.205 -> 1.206 → https://git.io/fxUUI
<{^_^}> [nixpkgs] @xeji pushed commit from @tkerber to master « fira-code: 1.205 -> 1.206 (#47598) »: https://git.io/fxUOm
patrl has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47599 → kitty: 0.12.0 -> 0.12.3 → https://git.io/fxUUo
<{^_^}> [nixpkgs] @xeji pushed commit from @tkerber to master « kitty: 0.12.0 -> 0.12.3 (#47599) »: https://git.io/fxUOX
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47571 → scala: 2.12.6 -> 2.12.7 → https://git.io/fxJGg
<{^_^}> [nixpkgs] @xeji pushed commit from @NeQuissimus to master « scala: 2.12.6 -> 2.12.7 (#47571) »: https://git.io/fxUOp
johanot has quit [Ping timeout: 245 seconds]
alex`` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #47586 → mint: 0.2.1 -> 0.3.1 → https://git.io/fxJoN
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to master « mint: 0.2.1 -> 0.3.1 (#47586) »: https://git.io/fxU3N
johanot has joined #nixos
alex`` has joined #nixos
georges-duperon has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #47574 → feedgnuplot: 1.49 -> 1.51 → https://git.io/fxJcL
<{^_^}> [nixpkgs] @xeji pushed commit from @mnacamura to master « feedgnuplot: 1.49 -> 1.51 (#47574) »: https://git.io/fxUsg
graphene has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47564 → linux kernel: increase build timeout from 2 to 4 hrs → https://git.io/fxJkw
<{^_^}> [nixpkgs] @xeji pushed to master « linux kernel: increase build timeout from 2 to 4 hrs (#47564) »: https://git.io/fxUsi
shiver32 is now known as shiver
<jonge> hey there, i just followed the install manual of nixos with the fdisk steps...and somehow the partition ordering fix does not work. /dev/sda1 is my swap disk afterwards and /dev/sda2 is the root partition. but i don't think it should look like this after following the installation steps, right?
<samueldr> jonge: can't actively help, but a user yesterday had the same issue, so it seems that there is something to fix
<clever> jonge: the order and numbering doesnt really matter, you just need to use the right ones in the config
wpcarro has joined #nixos
<samueldr> exactly, make sure to format the right ones according to your needs, and to substitute what the install guide says with the ones you know
fendor_ has quit [Ping timeout: 252 seconds]
<jonge> clever: i can handle that, but i was very irritated that i follow a guide and the wrong result comes out. :D
<__red__> Could I ask someone to kick off a test build for PR#46753 please - specifically, I need to make sure my OSX changes have worked. thx
<jonge> so i was not sure if there is something else i forgot
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « linux kernel: increase build timeout from 1hr to 4 hrs (#47564) »: https://git.io/fxUGB
<samueldr> I have the strong suspicions that the actual fdisk steps aren't tested enough by the nixos developers (I included) since they don't install often, and often skip the written steps using prior knowledge :/
<__red__> (I'm raising a PR upstream, but I need to test the PR actually resolves the issues in nix before I send it to them)
johanot has quit [Quit: WeeChat 2.0]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #47601 → linux_mptcp: add linux_mptcp_94 → https://git.io/fxUZI
sigmundv has quit [Ping timeout: 260 seconds]
sir_guy_carleton has joined #nixos
worldofpeace has joined #nixos
jmeredith has joined #nixos
Boomerang has quit [Ping timeout: 264 seconds]
periklis has quit [Ping timeout: 268 seconds]
<_deepfire> aminechikhaoui, who should I ask to review https://github.com/NixOS/nixops/pull/1014
<{^_^}> nixops#1014 (by deepfire, 3 days ago, open): aws | route53: normalise DNS hostname; fix #1013
<__red__> btw - is there any documentation that explains what tags like "10.rebuild-darwin: 1-10" vs 10.rebuild-darwin: 0" mean?
<symphorien> the number of things to rebuild on darwin because of this PR is 0 or 1-10
LysergicDreams has joined #nixos
<symphorien> it is only important for >500 where the PR should be against staging
<symphorien> I don't think the tags themselves are documented
<__red__> symphorien: so GrahamcOfBorg adding the "10.rebuild-darwin: 1-10" means that it's scheduled for a build in CI?
<__red__> and it's in the queue?
<__red__> huh, are the queues visible? I'd love to watch them purrr ;-)
<symphorien> no, they are not built
<symphorien> but you might be interested in hydra itself https://hydra.nixos.org/status
<__red__> I guess I'm trying to work out if GrahamcOfBorg is going to attempt to compile my packages again on the three architecture
<__red__> s
mayhewluke has quit [Ping timeout: 252 seconds]
<symphorien> see the readme of Grahamcofborg https://github.com/NixOS/ofborg
mayhewluke has joined #nixos
<samueldr> __red__: in the "status" box down in the page, there is a "show all checks" link, which will open a list https://stuff.samueldr.com/screenshots/2018/10/20181001121036.png
<samueldr> in this list, often (always?) the first element has a "Details" link
<samueldr> it will list the attributes and platforms the PR affect
<samueldr> so openspin is being built for all three supported linux platforms, and darwin
<__red__> cool
<samueldr> sorry, this is wrong
<__red__> so not seeing the result mnea
<__red__> holding...
<samueldr> as in: your PR causes all of those attribute names for those platforms to need a rebuild
<__red__> Okay - so further up the PR I see output from GrahamcBot saying things like: Success on x64_64-darwin etc...
<__red__> for each of the changes I made
<__red__> but nothing for the latest change.
<__red__> wonder if that's because I marked the PR: WIP?
<samueldr> ah, the builds need to be triggered
georges-duperon has quit [Ping timeout: 268 seconds]
<samueldr> either automatically by being a known user of the community, or manually by a known user
<samueldr> like the earlier call to "build"
<__red__> okay - so I guess I just need to flutter my eyelashes at the channel and hope there's a known user? ;)
ThatDocsLady has quit [Ping timeout: 252 seconds]
<_deepfire> clever: I think you also might be interested in reviewing https://github.com/NixOS/nixops/pull/1014 : -)
<{^_^}> nixops#1014 (by deepfire, 3 days ago, open): aws | route53: normalise DNS hostname; fix #1013
<d1rewolf> is there a way to use crossover office on nixos?
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
fendor_ has joined #nixos
philippD has joined #nixos
wpcarro has quit [Remote host closed the connection]
<gchristensen> ,cloudfront
jtojnar has quit [Remote host closed the connection]
<jonge> i need gcc 6.2 for a specific project... is there any possibility to override this in the gcc package? i can only see that "version" is not a parameter in the package... so it looks like i need to do it the hard way?
notlar has joined #nixos
<gchristensen> aminechikhaoui: can you open an AWS support ticket for me?
notlar has left #nixos [#nixos]
hellrazor has joined #nixos
<symphorien> > gcc6.name
<{^_^}> "gcc-wrapper-6.4.0"
<symphorien> 6.4 is too new ?
<jonge> symphorien: unfortunately, yes...
<jonge> symphorien: customer decision, i am not happy with it.
<betaboon> is there a way to prevent nixops from using ~/.ssh/id_rsa ?
<symphorien> maybe take the gcc from an old nixpkgs version and override the stdenv with overrideCC
<symphorien> if there is no runtime reference to gcc on the final product it should not have security implications
jperras has quit [Ping timeout: 276 seconds]
cinimod has joined #nixos
<cinimod> I am gettting
<cinimod> bash-3.2$ stack --nix build
<cinimod> error: imported archive of '/nix/store/q0s4js8j1sxfps0c7p2y0rwk1pnw5n3j-source' lacks a signature
georges-duperon has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/10eec001313 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
cinimod has quit [Remote host closed the connection]
init_6 has quit []
goibhniu has quit [Ping timeout: 252 seconds]
wpcarro has joined #nixos
<wpcarro> I cannot seem to find any information in the NixOS manual around setting up a webcam (builtin to laptop)
<wpcarro> Is it there and I'm just missing it?
vmandela has joined #nixos
<gchristensen> hmm what kind of set up do you need to do?
<wpcarro> gchristensen: I have a MBP so the webcam is just builtin
<wpcarro> I was wondering if (similar to audio setup), there is just a flag that I can toggle.
<gchristensen> I didn't need to do any setup at all
<wpcarro> Other answers I'm seeing are from Arch forums that involve running `make`, etc, which I could package into a derivation, but wondering about prior art before I embark on that
<wpcarro> gchristensen: are you running on MBP?
<gchristensen> one of my nixos laptops is yes
<gchristensen> oh!
<wpcarro> gchristensen: interesting... did you enable anything in your configuration? Or did it just work out of the box?
<gchristensen> wpcarro: https://nixos.org/nixos/options.html#hardware.facetimehd.enable
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<wpcarro> gchristensen: wow this looks promising
<wpcarro> god I love NixOS
<wpcarro> gchristensen: ty. I'll give this a try, reboot and hope for the best
<gchristensen> :) great!
<wpcarro> Oh... I ran into a allowUnfree issue earlier today and I'm seeing it again... I see the code snippets below, but I'm unsure of where that belongs in my configuration.nix file...
<wpcarro> it recommends add `{ nixpkgs.config.allowUnfree = true; }`, but I can't imagine that I just copy and paste that verbatim into the middle of my config
<gchristensen> well, copy-paste the part between the `{` and `}` and throw it in at the end or so
<wpcarro> gchristensen: okay... I guess the nixpkgs variable is just available? I have `pkgs` import at the top of the module as a parameter. It's not `pkgs` instead of `nixpkgs` is it?
<gchristensen> nixpkgs.config.allowUnfree is an option, just like hardware.facetimehd.enable
<wpcarro> gchristensen: okay cool! Looks like it's working. Thanks so much
wpcarro has quit [Remote host closed the connection]
kreetx has joined #nixos
sir_guy_carleton has joined #nixos
<kreetx> I have a weird problem: I used to have a source ~/.nix-profile/etc/profile.d/nix.sh on my macOS, but now, after installing Mojave it's gone
<kreetx> or maybe Mojave is not to blame
<kreetx> but nix stuff is not in path any longer
<gchristensen> heads up: AWS is having problems in EU-CENTRAL-1 and it is impacting NixOS.org cache users in that region
<gchristensen> kreetx: do you have a file at /etc/bashrc~previous?
<ajs124> So I'm running a hydra instance for building some stuff and I've been having this issue where the queue sits at 4 jobs queued, but just doesn't run them. Any ideas why this might be happening?
<jonge> symphorien: right now i have cloned nixpkgs and just set the version variable in it to 6.2 (and slightly tweaked the download link) and it seems to compile... we will see.
<gchristensen> ajs124: has your hydra ever built stuff successfully?
<ajs124> gchristensen, yes
<kreetx> gchristensen: I do
<gchristensen> kreetx: does the ~previous filementcion Nix?
<kreetx> yes
<apeyroux> Hello, has anyone ever made NixOps Hetzner and zfs? I can't find how to change the basic image to use zfs
<symphorien> jonge: if you don't change the hashes you still compile 6.4
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/10eec001313 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<jonge> symphorien: i did
<symphorien> Ah fine then :)
<gchristensen> kreetx: just restoring that file should do it
<jonge> symphorien: although i wonder why gcc6.overrideAttrs (_: { str = fetchurl { complete gcc6.2.0 stuff here }; }) ended up giving me gcc6.4
<ajs124> gchristensen, this is what the jobset overview looks like https://i.imgur.com/33RTRGt.png
johanot has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #47603 → nixos/bitlbee: add pam option → https://git.io/fxUED
<symphorien> Probably you must override gcc6-unwrapped
<ajs124> gchristensen, thanks, I'll try that
<infinisil> > viewSource gcc6
<{^_^}> "all-packages.nix:6553 gcc6 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/6 {"
<infinisil> > viewSource wrapCC
<{^_^}> value is a function while a set was expected, at (string):177:32
<infinisil> ah darn, funs don't work with that
<infinisil> Yet
<kreetx> gchristensen: thanks!
<gchristensen> kreetx: you're welcome! :)
<jonge> symphorien: ok that sounds complicated but worth learning it... i guess i will study it a bit
jtojnar has joined #nixos
<kreetx> alright, I have another problem :) does nix require xcode? I might have been too trigger happy just recently and removed it to save space, and now get something like this: dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib
<kreetx> Referenced from: /nix/store/12yshvbpz9hjn7khzzf0ar67kaw6g7f7-Libsystem-osx-10.11.6/lib/libSystem.B.dylib
<kreetx> Reason: image not found
<LnL> kreetx: you're either using an old channel or didn't update nix before upgrading macos
<kreetx> you're right -- I hadn't updated for some time
<kreetx> should I just reinstall?
<kreetx> plz help :)
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<LnL> yeah, that's your best bet then
jtojnar has quit [Remote host closed the connection]
<gchristensen> that is a disappointing experience
jtojnar has joined #nixos
<LnL> we're always going to hit problems when apple changes system stuff
<gchristensen> yeah
<kreetx> it's okay, guys! it's not that bad :p and the instructions for the uninstall are just wonderful and copy-paste friendly :)
avn has joined #nixos
<infinisil> I thought there was a darwin bootstrap thing that made it so that's not a problem?
betaboon has quit [Quit: WeeChat 2.0]
<gchristensen> kreetx: I am so glad to hear that :D
<LnL> but I do have an idea to make Libsystem changes slightly less problematic
<LnL> (potentially)
<{^_^}> [nixpkgs] @LnL7 pushed 1000 commits to staging-next: https://git.io/fxUzg
sir_guy_carleton has joined #nixos
<LnL> 1000, jeeze
<gchristensen> you're prolific
<LnL> this is going to be fun...
* infinisil still has to look up how the new staging thing works
<{^_^}> [nixpkgs] @LnL7 opened pull request #47604 → Staging next → https://git.io/fxUzr
<{^_^}> [nixpkgs] @mbode opened pull request #47605 → stern: init at 1.8.0 → https://git.io/fxUzP
<infinisil> Ummm
<infinisil> Where can I read about staging-next?
<LnL> the rfc
<infinisil> Oh
<infinisil> But why is it not merged?
<LnL> basically staging is the buffer where everything goes to and staging-next is a checkpoint of staging that gets stabilised before it's merged back to master
<LnL> instead of trying to fix stuff in staging while new stuff gets thrown at it
<infinisil> Alright that sounds good
<{^_^}> [nixpkgs] @mbode opened pull request #47606 → flink: 1.6.0 -> 1.6.1 → https://git.io/fxUgq
<infinisil> But why is a non-merged/unaccepted rfc being used in practice?
<Mic92> infinisil: so I am not the only one finding the name confusing.
<infinisil> Eh I don't find it confusing
<gchristensen> I see no reason to hold this RFC up
<Mic92> Ok. to me it sounds as if staging-next would be before and not after staging
<infinisil> (for anybody not knowing what we're talking about: rfcs#26)
<{^_^}> https://github.com/NixOS/rfcs/pull/26 (by vcunat, 30 weeks ago, open): staging workflow
<LnL> it should probably be merged
<LnL> there was still some open discussion and we decided to try it out, but it's been a while now
<emily> is the reason staging separate just because the load on the build machines would be too much?
<emily> or because it would cause too many upgrades for users?
<LnL> both
<gchristensen> it is no fun to test PRs against master and find you have to bootstrap just to test a change to `hello`
<emily> maybe I'm just too used to pain
* emily sighs in resignation every time nixos-rebuild decides it wants to rebuild the world
<gchristensen> what're you doing to cause that?
<emily> this was mostly when I backported a systemd upgrade I needed
<infinisil> Also, staging is really useful for bisection
<gchristensen> ah :)
<infinisil> Oh wait, not all that much, because the offensive change could be in the staging commits :/
<infinisil> (which happened to me a couple times)
<LnL> no, bisecting staging is no fun :p
<emily> wait, how is staging useful for bisection?
<infinisil> At least it's often not too many commits, so you might be able to guess which one it was by just looking at the candidates
<infinisil> emily: Staging waits for a lot of commits that each change a lot of derivations, then builds all of those changes at once
<LnL> well, because mass rebuilds are batched there's a better chance you won't end up in a revision without caches
<infinisil> But when the commit that you're trying to find with bisection is in one of those commits, you'll have to build all the immediate commits, which aren't built by staging
<infinisil> (I didn't explain it very well, but it basically means that at every git bisect good/bad you'll have to potentially rebuild stdenv all the way up..)
<gchristensen> I should make my thing for making git-bisect nicer a tool
<infinisil> the skip non-built stdenv commits?
<{^_^}> [nixpkgs] @mbode opened pull request #47607 → aws_rotate_key: 1.0.0 -> 1.0.2 → https://git.io/fxU2i
<avn> gchristensen: do you have a tool for rebasing nixpkgs?
<gchristensen> infinisil: yeah
<gchristensen> avn: just `git rebase`?
<avn> gchristensen: ;)
<infinisil> gchristensen: the --option build-cores 0 thing?
<avn> gchristensen: I mean `bisect` ofc ;)
<gchristensen> yeah, I automatically `git bisect skip` commits where `stdenv` isn't available through the cache, through -j0
<infinisil> I think it would be *much* quicker if you'd replace that with some curl command to directly query the path of stdenv from hydra and check for 4xx
<infinisil> s/I think//
<gchristensen> that might be, but also makes it hard to support cachix and private corporate repos
<infinisil> Hmm, isn't there a nix command to check for path availability in some cache?
<infinisil> If not, it should be one
<gchristensen> why would -j0 be much slower than that?
Ariakenom has joined #nixos
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @primeos pushed to master « gollum: 4.1.3 -> 4.1.4 (security, CVE-2018-3740) »: https://git.io/fxUaY
<infinisil> gchristensen: Because it needs to fetch all dependencies
<infinisil> Only once it starts the build it notices "oh, I don't have any cores!"
jperras has joined #nixos
<gchristensen> interesting
<infinisil> The fact that dependencies start downloading is already an indirect sign of "stdenv isn't build by any caches". Nix did the hydra query for stdenv's $out at the start, noticed it couldn't find it, and went deeper down the dependencies
Twey has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: Update the Arch patches »: https://git.io/fxUap
<gchristensen> infinisil: much faster: nix-store -r $(nix show-derivation $(nix-instantiate . -A stdenv) | jq -r '.[].outputs.out.path')
<infinisil> Ah yeah something like that, nice!
<gchristensen> great idea :)
<{^_^}> [nix] @matthewbauer opened pull request #2462 → nix-profile-daemon: remove cruft → https://git.io/fxUVW
<{^_^}> [nix] @grahamc merged pull request #2462 → nix-profile-daemon: remove cruft → https://git.io/fxUVW
<{^_^}> [nix] @grahamc pushed 2 commits to master: https://git.io/fxUVz
robstr has joined #nixos
jperras_ has joined #nixos
graphene has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 240 seconds]
graphene has joined #nixos
jperras_ has quit [Client Quit]
jperras has joined #nixos
samrose has joined #nixos
<robstr> Hello, is it possible to update my nixos vm (including my application) automatically every n time intervals? I've found https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/auto-upgrade.nix , what would I need to allow the vm to download my private application too ?
jD91mZM2 has joined #nixos
<{^_^}> [nixpkgs] @mbode opened pull request #47609 → heptio-ark: 0.9.4 -> 0.9.6 → https://git.io/fxUwV
charleshd has joined #nixos
charleshd has quit [Client Quit]
charleshd has joined #nixos
<charleshd> Hi, I'm used to use nix-shell for development, but in my last project I have to pull npm dependencies alongside other dependencies, and I don't understand how to do that.
kreetx has quit [Ping timeout: 245 seconds]
fendor__ has joined #nixos
<charleshd> If I use stuff like node2nix it will spawn a configuration for having my npm dependencies in my env, but I can't (or dunno how to) add these in my shell.nix file.
patrl has joined #nixos
fendor_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tadfisher opened pull request #47610 → adapta-gtk-theme: 3.94.0.132 -> 3.95.0.1 → https://git.io/fxUrZ
<samrose> configuration.nix you need a line like system.autoUpgrade = { dates = "*:0/10"; }; (which would run it every 10 minutes you can adjust that to your desired frequency)
<samrose> robstr: you would need to package your private app is a nix package, and serve it via some URL, and then you would need to include the package in your configuration.nix (is one way to do it). also in your configuration.nix
<samrose> robstr: those 2 responses above came through backwards sorry
periklis has joined #nixos
<jD91mZM2> I'm getting issues with using the mozilla overlay. https://gist.github.com/6411bb9fc2a6a85c903286baae4dc3b9 complains about "can't find crate for `core`"
<robstr> samrose: Thank you, but how how to "serve it via some URL" ? I already have a derivation of my application.
<samrose> charleshd: you launch nix-shell with the generated nixexpression from node2nix like nix-shell myexpression.nix
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/83fd9785f65 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
agander has joined #nixos
<charleshd> samrose: ok but what about my other dependencies which aren't listed on the generated nixexpression ?
<charleshd> in*
<samrose> charleshd: the whole point of nix is to create closures that account for all of the deps you need to run your program
<samrose> charleshd: you can turn a git repo into a channel
<samrose> charleshd: and then follow this approach https://nixos.org/nixos/manual/index.html#sec-getting-sources
<samrose> so, if you turned your git repo into a nixos channel, you would make sure all of the deps are all part of the repo, and all accounted for in nix expressions therein
<{^_^}> [nixpkgs] @mbode opened pull request #47611 → terraform-landscape: 0.2.0 -> 0.2.1 → https://git.io/fxUom
catern has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #47612 → google-chrome: use default patchelf, "fixes" nacl_helper crashing. → https://git.io/fxUoZ
<samrose> charleshd: I am out of time here for the moment hopefully someone else can dig into this with you too
wpcarro has joined #nixos
<catern> how would I correctly use bundler and ruby with Nix?
<wpcarro> Does anyone know if NixOS supports KDE and i3 together out of the box? Or is it something that needs to be configured ad-hoc in both the i3 config and KDE config?
<samrose> charleshd: oops I conflated my answer with you to may answer to robstr sorry about that
<catern> or another related question: why is there a nixpkgs.bundler package in all-packages which I can install directly?
<catern> why isn't that hidden away?
<charleshd> it seems pretty complicated. Isn't there another solution ? My problem is the following I have in one hand some standard nixpkgs dependencies (emacs, gcc, other stuff) and in the other hand npm dependencies (react-native-cli for exemple) and I want to specify all that stuff in a single shell.nix expression i can run nix-shell against.
<charleshd> samrose: oh ok !
<samrose> charleshd: for the rest of your deps that aren't in the nixexpression, you just need to add them to the expression somehow, otherwise nix won't know about them
<{^_^}> [nixpkgs] @dtzWill opened pull request #47613 → bitcoin: 0.16.3 -> 0.17.0 → https://git.io/fxUoK
<samrose> robstr: you can turn a git repo into a channel and then follow this approach https://nixos.org/nixos/manual/index.html#sec-getting-sources
samrose has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47614 → elementary-xfce-icon-theme: 0.13 -> 0.13.1 → https://git.io/fxUoy
<charleshd> it just seems like a standard issue for me, I was hoping somebody though of something before me, but I'll investigate how to do that later tonight.
<{^_^}> [nixpkgs] @dtzWill opened pull request #47615 → xterm: 335 -> 337 → https://git.io/fxUoQ
<{^_^}> [nixpkgs] @dtzWill opened pull request #47616 → obsidian icon and gtk theme updates → https://git.io/fxUK3
periklis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47617 → tetra-gtk-theme: init at 1.6 → https://git.io/fxUKg
<{^_^}> [nixpkgs] @dtzWill opened pull request #47618 → pasystray: 0.6.0 -> 0.7.0 → https://git.io/fxUKM
samrose has joined #nixos
Judson1 has joined #nixos
<Judson1> Does anyone use VisualVM? I'm trying to run it with NixOS under Xmonad, and all I get is a blank grey window, whose title is "VisualVM License Agreement"
<clever> Judson1: try with a different window manager temporarily?
<{^_^}> [nixpkgs] @dtzWill opened pull request #47619 → adapta-gtk-theme: 3.94.0.149 -> 3.95.0.1 → https://git.io/fxU6J
<robstr> samrose: thank you :)
<Judson1> I may have to. :(
wpcarro has quit [Remote host closed the connection]
<samrose> it appears that nixos containers only support a few of the many systemd-nspawn arguments https://github.com/Holo-Host/nixbox/blob/master/scripts/configuration.nix is there any reason the container approach could not support more of the arguments?
<{^_^}> [nixpkgs] @ryantm merged pull request #43562 → xpra.xf86videodummy: init at 0.3.8 → https://git.io/fNYka
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fxU64
<Judson1> Isn't there a program that starts a new xserver in a window?
robstr has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<dtz[m]> yeah, Xephyr
charleshd has quit [Ping timeout: 252 seconds]
<Judson1> Which led me to Xnest :)
agander has quit [Ping timeout: 268 seconds]
<clever> nixos complicates things by putting the xkb files in a non-standard place
blahdodo has quit [Ping timeout: 244 seconds]
kreetx has joined #nixos
agander has joined #nixos
redj has joined #nixos
blahdodo has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #47620 → Unifi updates → https://git.io/fxUix
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<{^_^}> [nixpkgs] @timokau merged pull request #47606 → flink: 1.6.0 -> 1.6.1 → https://git.io/fxUgq
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fxUPO
jD91mZM2 has quit [Quit: WeeChat 2.0]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wpcarro has joined #nixos
wpcarro has quit [Client Quit]
patrl has quit [Ping timeout: 240 seconds]
jperras_ has joined #nixos
<samrose> oh wait I see nixos containers can be passed any arg for systemd-spawn containers! https://github.com/NixOS/nixpkgs/blob/7474160afe2c9cb014731287b0754eb10bd9f668/nixos/modules/virtualisation/containers.nix#L578
<{^_^}> [nixpkgs] @dtzWill merged pull request #47616 → obsidian icon and gtk theme updates → https://git.io/fxUK3
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fxUXa
jperras has quit [Ping timeout: 250 seconds]
slack1256 has joined #nixos
charleshd has joined #nixos
mojjoo has joined #nixos
<mojjoo> hi! Since a while rebuilding takes a long time here, it's due to restarting the polkit service(more than a minute..)... Any ideas how to improve this?
Ericson2314-work has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #47621 → ocamlPackages.piqi: 0.6.13 -> 0.6.14 → https://git.io/fxU1l
<{^_^}> [nixpkgs] @bachp opened pull request #47623 → gitlab-runner: 11.3.0 -> 11.3.1 → https://git.io/fxU1V
<mojjoo> or: is there a way to rebuild without having to restart of services (like polkit)?
agander has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bachp opened pull request #47624 → gitlab-runner-v1: remove v1 package → https://git.io/fxU1b
<clever> mojjoo: `nixos-rebuild boot` will omit restart anything, changes will only take effect after a reboot
<{^_^}> [nixpkgs] @xeji merged pull request #47484 → pythonPackages.django-raster: Improve django version support → https://git.io/fxvT7
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to master « pythonPackages.django-raster: Improve django version support (#47484) »: https://git.io/fxU1x
<{^_^}> [nixpkgs] @dtzWill merged pull request #47617 → tetra-gtk-theme: init at 1.6 → https://git.io/fxUKg
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fxUML
<Judson1> clever, that get's me a little further along. Thanks
blahdodo has quit [Ping timeout: 252 seconds]
fendor__ has quit [Ping timeout: 244 seconds]
<apeyroux> wlkk
<apeyroux> oups
<rawtaz> nice password mate
<rawtaz> real nice.
<rawtaz> 'bit short though
<rawtaz> but then again, microsoft actively refuse to let you use longer than 16 characters for your passwords, so perhaps short passwords is a thing for the future
cnidario has joined #nixos
blahdodo has joined #nixos
<timokau[m]> I get `error: creating symlink from '/nix/var/nix/profiles/system-78-link.tmp-2864-870267566' to '/nix/store/qx32dnib862w5421dym7ckw1a3p7biil-nixos-system-phlebas-18.09beta662.b550b7d9e3d': Permission denied` when doing `nixos-rebuild switch`. Any ideas how to fix that?
<gchristensen> you need sudo
<timokau[m]> Oh of course, that should've been obvious
<timokau[m]> Thanks!
<gchristensen> :)
jperras has joined #nixos
jperras_ has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.0]
<mojjoo> symphorien: I added `security.polkit.extraConfig = '' X-RestartIfChanged=false '';`, but it still restarts
kreetx has quit [Quit: leaving]
<symphorien> more likely systemd.services.polkit.serviceConfig.X-RestartIfChanged = "false"; I'd say
samrose has quit [Ping timeout: 256 seconds]
<symphorien> you can check the result with systemctl cat polkit
<manveru> anyone interested in merging https://github.com/NixOS/nixpkgs/pull/47389 ?
<{^_^}> #47389 (by manveru, 5 days ago, open): ejson: init at 1.2.0
blahdodo has quit [Ping timeout: 252 seconds]
<mojjoo> symphorien: this works :)
fendor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47614 → elementary-xfce-icon-theme: 0.13 -> 0.13.1 → https://git.io/fxUoy
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « elementary-xfce-icon-theme: 0.13 -> 0.13.1 (#47614) »: https://git.io/fxUyG
<{^_^}> [nixpkgs] @xeji merged pull request #47615 → xterm: 335 -> 337 → https://git.io/fxUoQ
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « xterm: 335 -> 337 (#47615) »: https://git.io/fxUy2
<mojjoo> symphorien: however, the same does not work for dbus (which is also annoyingly sow)
<symphorien> hum normally you can't restart dbus
<{^_^}> [nixpkgs] @dtzWill pushed to master « tetra-gtk-theme: no pname per reviewer feedback »: https://git.io/fxUy1
<symphorien> either the daemon ignores, or you kill your whole session and everything is broken until you reboot
<{^_^}> [nixpkgs] @xeji merged pull request #47618 → pasystray: 0.6.0 -> 0.7.0 → https://git.io/fxUKM
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « pasystray: 0.6.0 -> 0.7.0 (#47618) »: https://git.io/fxUyy
cnidario has quit [Remote host closed the connection]
blahdodo has joined #nixos
symphorien has quit [Quit: WeeChat 2.1]
<gchristensen> can I add a systemd user services without using Nix? just for hacking around a bit
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « gitlab-runner: 11.3.0 -> 11.3.1 (#47623) »: https://git.io/fxUSD
<{^_^}> [nixpkgs] @xeji merged pull request #47623 → gitlab-runner: 11.3.0 -> 11.3.1 → https://git.io/fxU1V
<Ralith> gchristensen: pretty sure you can just drop em in one of the XDG dirs
<Ralith> ~/.local/share/systemd/user maybe?
alex`` has quit [Quit: WeeChat 2.2]
<gchristensen> ~/.config/systemd/user/ ! awesome, thanks Ralith for the tip!
<Ralith> \o/
<gchristensen> now I just have to figure out how to write them without Nix :D
blahdodo has quit [Ping timeout: 252 seconds]
<mojjoo> does anyone use rofi + xmonad? it does not get spawned from there..
<timokau[m]> Copy a template and change it until it kind-of-but-not-quite does what you want it to or just give up half way
<timokau[m]> Like everybody else :D
michiel_l has quit [Remote host closed the connection]
<timokau[m]> mojjoo: I think that shouldn't depend on the WM, how are you starting it?
Anton-Latukha has quit [Ping timeout: 260 seconds]
<mojjoo> `rofi -show run`... which however works only as root in the terminal
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fxU9H
<{^_^}> [nix] @edolstra merged pull request #2456 → Update docs to describe how s3:// URLS does in fact support endpoint, region, and profile for upload → https://git.io/fAjpV
<mojjoo> as non-root I get `(process:24289): Helper-WARNING **: Failed to create pid file: '/run/user/1001/rofi.pid'.`
<{^_^}> [nix] @edolstra pushed 6 commits to 2.1-maintenance: https://git.io/fxUHm
<{^_^}> [nixpkgs] @makefu opened pull request #47625 → ifdnfc: init at 2016-03-01 → https://git.io/fxUHE
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47626 → ghc: Misc cross fixes → https://git.io/fxUHg
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47627 → Ghc cross fixes → https://git.io/fxUHw
<gchristensen> `ConditionACPower=true` is so cool!
Anton-Latukha has joined #nixos
slack1256 has quit [Ping timeout: 252 seconds]
* gchristensen goes overboard with this new found superpower
blahdodo has joined #nixos
<hodapp> ConditionACPower?
<gchristensen> a systemd Unit condition where the service will only start if you're not on battery
<hodapp> interesting
<gchristensen> like this thing which scans for repos with uncommitted changes: https://gist.github.com/grahamc/bd7a119ae5a73cdc6daccb044c524897 or an automatic backup
<{^_^}> [nixpkgs] @xeji merged pull request #47584 → nixos/tests/nix-ssh-serve.nix: Use stable nix → https://git.io/fxJ2S
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to master « nixos/tests/nix-ssh-serve.nix: Use stable nix (#47584) »: https://git.io/fxUHp
<hodapp> that could be quite handy
<gchristensen> or my thing that checks to see if my nixos-version is out of date
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to release-18.09 « nixos/tests/nix-ssh-serve.nix: Use stable nix (#47584) »: https://git.io/fxUQT
jperras has quit [Quit: WeeChat 2.2]
<hodapp> I need to remember the way to tell systemd "only run this when the network is really really ready, not just when it's 'ready'"... there is some simple way that I don't remember but my derpy Ras Pi by the TV needs to be able to mount an NFS share over the WiFi and 80% of the time can't
<hodapp> because it tries to do it when the network is "ready" but not actually passing traffic
<gchristensen> Requires=network-ready-no-really-actually-up.target
<hodapp> lol
<{^_^}> [nixpkgs] @xeji pushed commit from @tex to staging « boost: fix fiber header (#47540) »: https://git.io/fxUQy
<andi-> gchristensen: you can do application/service level firewall, syscall filtering etc. I am surprised you haven't looked into all the *magic* yet ;-)
<gchristensen> I knew about some of the syscall filtering, but firewalling?
<{^_^}> [nixpkgs] @xeji closed pull request #47540 → Boost fiber fix #47537 → https://git.io/fxfuI
<andi-> gchristensen: traffic, io, memory & cpu accounting ;-)
<timokau[m]> mojjoo: Can you `touch /run/user/1001/test`?
<andi-> We could probably make many of our service files a bit more restricitve.. might be a topic for the 19.03 release..
blahdodo has quit [Ping timeout: 252 seconds]
symphorien has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47626 → ghc: Misc cross fixes → https://git.io/fxUHg
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/fxU79
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47627 → ghc: Misc cross fixes for 18.09 → https://git.io/fxUHw
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to release-18.09: https://git.io/fxU7Q
symphorien has quit [Remote host closed the connection]
symphorien has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #47628 → nvtop: use version-independent libnvidia-ml.so symlink → https://git.io/fxU7h
<mojjoo> timokau[m]: works (as non root)
<mojjoo> timokau[m]: well, `/run/user/1001/rofi.pid` exists but it has only -rw for root
<timokau[m]> mojjoo: That explains it then
<timokau[m]> mojjoo: Probably started it as root once and the pid file remained
<timokau[m]> mojjoo: Should work normally after you remove the current file
<mojjoo> so, I'd delete it as root and then try again
<timokau[m]> Yes
<mojjoo> timokau[m]: goal
<mojjoo> works
<timokau[m]> mojjoo: Great :)
simukis has quit [Quit: simukis]
blahdodo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47624 → gitlab-runner-v1: remove v1 package → https://git.io/fxU1b
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « gitlab-runner-v1: remove v1 package (#47624) »: https://git.io/fxUdr
Anton-Latukha has quit [Ping timeout: 244 seconds]
acarrico has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #47628 → nvtop: use version-independent libnvidia-ml.so symlink → https://git.io/fxU7h
<{^_^}> [nixpkgs] @globin pushed commit from @WilliButz to master « nvtop: use version-independent libnvidia-ml.so symlink »: https://git.io/fxUd7
<{^_^}> [nixpkgs] @xeji merged pull request #47611 → terraform-landscape: 0.2.0 -> 0.2.1 → https://git.io/fxUom
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to master « terraform-landscape: 0.2.0 -> 0.2.1 (#47611) »: https://git.io/fxUFt
blahdodo has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #47579 → alacritty: 2018-08-30 -> 2018-09-29 → https://git.io/fxJ8c
tertl3 has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
blahdodo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47605 → stern: init at 1.8.0 → https://git.io/fxUzP
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to master « stern: init at 1.8.0 (#47605) »: https://git.io/fxUbE
<{^_^}> [nixpkgs] @xeji merged pull request #47621 → ocamlPackages.piqi: 0.6.13 -> 0.6.14 → https://git.io/fxU1l
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.piqi: 0.6.13 -> 0.6.14 (#47621) »: https://git.io/fxUby
<{^_^}> [nixpkgs] @xeji merged pull request #47047 → inboxer: 1.1.4 -> 1.1.5 → https://git.io/fA7tU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « inboxer: 1.1.4 -> 1.1.5 (#47047) »: https://git.io/fxUbF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fanficfare: 2.28.0 -> 3.0.0 (#47065) »: https://git.io/fxUbA
<{^_^}> [nixpkgs] @xeji merged pull request #47065 → fanficfare: 2.28.0 -> 3.0.0 → https://git.io/fA7CF
<{^_^}> [nixpkgs] @WilliButz opened pull request #47629 → nvtop: use version-independent libnvidia-ml.so symlink (backport) → https://git.io/fxUbh
<{^_^}> [nixpkgs] @xeji merged pull request #46948 → springLobby: 0.264 -> 0.267 → https://git.io/fAQeP
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « springLobby: 0.264 -> 0.267 (#46948) »: https://git.io/fxUNf
<sir_guy_carleton> does anybody use yubikey-manager?
<sir_guy_carleton> here i mean
<{^_^}> [nixpkgs] @c0bw3b merged pull request #46198 → hyperscrypt-font: init at 1.1 → https://git.io/fAu5B
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxUNY
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @alyssais opened pull request #47630 → lightdm: add extraConfig option → https://git.io/fxUNR
<{^_^}> [nixpkgs] @xeji merged pull request #47029 → slimserver: Relax audio scan dependency → https://git.io/fAQjF
<{^_^}> [nixpkgs] @xeji pushed commit from @phile314 to master « slimserver: Relax audio scan dependency (#47029) »: https://git.io/fxUNr
blahdodo has quit [Ping timeout: 252 seconds]
fendor has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<{^_^}> [nixpkgs] @disassembler closed pull request #30347 → electrum: add support for LedgerHQ hardware wallet → https://git.io/vd6TR
<{^_^}> [nixpkgs] @disassembler merged pull request #40816 → electrum and electron-cash: add support for btchip library → https://git.io/vphXi
<{^_^}> [nixpkgs] @disassembler pushed commit from @nyanloutre to master « btchip: init at 0.1.28 »: https://git.io/fxUAL
worldofpeace_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47547 → lz4: 1.8.2 -> 1.8.3 → https://git.io/fxfKR
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging « lz4: 1.8.2 -> 1.8.3 (#47547) »: https://git.io/fxUAG
<sir_guy_carleton> never mind, fixed it myself
mkoenig has quit [Quit: Lost terminal]
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging-18.09 « lz4: 1.8.2 -> 1.8.3 (#47547) »: https://git.io/fxUAg
worldofpeace has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji pushed 58 commits to staging-18.09: https://git.io/fxUAM
mkoenig has quit [Client Quit]
mkoenig has joined #nixos
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47505 → puredata: 0.48-2 -> 0.49-0 → https://git.io/fxvNn
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « puredata: 0.48-2 -> 0.49-0 (#47505) »: https://git.io/fxUxY
<{^_^}> [nixpkgs] @makefu opened pull request #47631 → cozy-audiobooks: init at 0.6.3 → https://git.io/fxUxZ
sigmundv has joined #nixos
acarrico has joined #nixos
<Lisanna> Hey... anyone have tips or pointers on patchelfing binaries to get them to work with nix when they were built with older glibc versions?
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fxUxP
<{^_^}> [nixpkgs] @xeji merged pull request #47570 → linux: Add hardened test kernel → https://git.io/fxJs7
<{^_^}> [nixpkgs] @xeji pushed commit from @NeQuissimus to master « linux: Add hardened test kernel (#47570) »: https://git.io/fxUxH
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to release-18.09: https://git.io/fxUxQ
blahdodo has joined #nixos
Lears has joined #nixos
__monty__ has quit [Quit: leaving]
[Leary] has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47630 → lightdm: add extraConfig option → https://git.io/fxUNR
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « lightdm: add extraConfig option (#47630) »: https://git.io/fxUpo
<colemickens> Excuse my french but how the fuck do people get pinentry to do the rigth thing without using a full DE.
<colemickens> If I launch sway from TTY1, it seems like pinentry is still trying to prompt on TTY1 or something.
<colemickens> If I don't unlock my GPG key before I start sway, I seem to be screwed.
<colemickens> I don't think this is NixOS related in anyway, but y'all are great and I know there are some sway users in here.
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47625 → ifdnfc: init at 2016-03-01 → https://git.io/fxUHE
<{^_^}> [nixpkgs] @xeji pushed commit from @makefu to master « ifdnfc: init at 2016-03-01 (#47625) »: https://git.io/fxUhJ
mojjoo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47567 → simple-websocket-server: Init at 20180414 → https://git.io/fxJYL
<{^_^}> [nixpkgs] @xeji pushed commit from @rvolosatovs to master « simple-websocket-server: Init at 20180414 (#47567) »: https://git.io/fxUhk
<{^_^}> [nixpkgs] @makefu opened pull request #47632 → bento4: init at 1.5.1-624 → https://git.io/fxUhq
blahdodo has quit [Ping timeout: 260 seconds]
<Ralith> colemickens: you should be launching your WM from a display manager, not by hand
<Ralith> e.g. lightdm
<colemickens> I don't see why that's specifically needed or will solve my problem, though?
<{^_^}> [nixpkgs] @makefu opened pull request #47633 → gen-oath-safe: 2017-06-30 -> 0.11.0 → https://git.io/fxUjn
<Lisanna> Umm
<Lisanna> FOr some reason a whole bunch of text files in my /nix/store have been destroyed and replaced with empty files
<Lisanna> ):
akavel has joined #nixos
<akavel> Hi all! Newbie question: is there a utility derivation which wraps "wrapProgram"?
<akavel> I want to create a script adding some env variables to existing program; do I have to write it myself, or is there some helper?
<Lisanna> akavel you can access wrapProgram through the "makeWrapper" package
blahdodo has joined #nixos
<akavel> @Lisanna but IIUC, it registers a "setup hook", and I have to create full mkDerivation to use it, right? I'd really prefer something akin to writeShellScriptBin
<Lisanna> akavel ah, yeah, you're right
jluttine has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
sir_guy_carleton has joined #nixos
jluttine has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @knedlsepp opened pull request #47634 → libcanberra: fix darwin build → https://git.io/fxTvm
mayhewluke has joined #nixos
blahdodo has quit [Ping timeout: 252 seconds]
<gchristensen> hmmm we can use `ConditionGroup = "users"` as a way to limit systemd user services to actual users
worldofpeace_ has quit [Read error: Connection reset by peer]
MinceR has quit [Ping timeout: 268 seconds]
MinceR has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<__red__> Could a trusted person please kick off the testing for PR#46753
<__red__> Could a trusted person please kick off the testing for PR46753 = specifically need to test that the compile for linux & darwin completes correctly so I can push an upstream PR
jperras has joined #nixos
<mankyKitty> anyone know why the hydra manual is out of step with what is in the repository ?
<gchristensen> you got it, __red__
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe5d78a1f29 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
blahdodo has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @makefu opened pull request #47635 → csv2svn: 2.4.0 -> 2.5.0 → https://git.io/fxTJM
Lears has quit [Ping timeout: 252 seconds]
<jasom> colemickens: how are you launching pinentry? if DISPLAY is set, then pinentry should select a gui frontend
jackdk has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #47455 → steamPackages.steam: add udev rules and update to 1.0.0.56 → https://git.io/fxe0M
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fxTUt
<jasom> colemickens: if this is specifically for gpg-agent, see https://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html where it tells you how to configure your shell to properly set the TTY environment variables.
wpcarro has joined #nixos
akavel has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]