gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<clever> jasongrossman: are you able to ssh into the machine?
<jasongrossman> clever: Hm, yes, but I'd have to set up another machine first, so I'd rather try other solutions first.
<jasongrossman> clever: I mean I'd have to set up another machine before I could even attempt it.
Ariakenom has quit [Read error: Connection reset by peer]
<jasongrossman> clever: But now I'm intrigued about what you were going to suggest. :-)
<clever> watch the logs over ssh and see if its actually hanging
<clever> its possible that only the gui end is having issues
<jasongrossman> clever: Yes, good. I'll try my other things first, because physically lazy and also busy with other bits of life, but that is a very nice suggestion for later. Thanks.
<jasongrossman> clever: I've already tried getting in on another tty, and that works fine up to a point but I can't, e.g., restart the display manager.
<clever> check the journal then, `journalctl -b 0` and then scroll to the end with G
<jasongrossman> clever: (In fact since I can log in on another tty there's probably no point in sshing in, right?)
<clever> yeah
<jasongrossman> clever: OK, I'll try that.
<jasongrossman> clever: Thanks.
<mikky> for the moment there I tought kexec got new features like spawning a new container with custom kernel or something :)
<jasongrossman> clever: Trying to rebuild switch without apache first, because I was already in the middle of trying that.
<infinisil> clever: Btw, not sure if you've seen this: https://nixos.wiki/wiki/Install_NixOS_on_a_Server_With_a_Different_Filesystem
<clever> infinisil: ah yeah, i think i saw it a while back
<infinisil> mikky: Maybe check out this guide (it's using clever's kexec thing) ^^
ris has quit [Ping timeout: 250 seconds]
<mikky> infinisil: just came back from it :)
jasongrossman has quit [Ping timeout: 248 seconds]
jasongrossman has joined #nixos
<mikky> I take it installing other necessary kernel modules and filesystem tools can be then done at runtime (cryptsetup, dm-crypt and zfs in my case).
<clever> mikky: the kexec image already has zfs and luks
<mikky> even better :)
<infinisil> mikky: Yeah, the hardest part is getting the initial nixos build, then it's smooth sailing whatever you want to do
<infinisil> Because whatever you fudge up from that point on, you can just rollback
<jasongrossman> clever: What am I looking for in my journal after the crash, please?
<clever> jasongrossman: anything that looks like an error around the time of failure
<mikky> that's one of many reasons I'm giving NixOS a shot. I like the basically stateless declarative approach.
<{^_^}> [nixpkgs] @jtojnar merged pull request #44037 → networkmanager: fix VPN activation through nm-applet → https://git.io/fN4Iw
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fNPwk
jasongro` has joined #nixos
<jasongro`> clever: Whole bunch of errors. Some of them are in red, but those don't seem important (e.g. failing to mount a volume that isn't used for anything anyway). The final error is failing to start plymouth, which is enabled in my current config but disabled in the one I'm trying to switch to. So that's not much help. Should I paste the output of xjournal -b 0 in a pastebin?
<jasongro`> clever: Or I could try stable first.
ajs124 has quit [Quit: Gateway shutdown]
<clever> jasongro`: check to see if any new errors occur when you `systemctl restart display-manager`
jasongrossman has quit [Ping timeout: 260 seconds]
<jasongro`> clever: That hangs (actually hangs).
rprije has joined #nixos
<clever> jasongro`: ah, check dmesg then, after things fail
<jasongro`> clever: Which means it's not easy to see errors at that point.
<mikky> clever: nice touch with the autoreboot unit
<jasongro`> clever: OK, cool.
<jasongro`> BRB
<clever> mikky: that helps when you forget to setup ssh keys, or your network config isnt right
<clever> mikky: but once you format the disk, you only have one chance to get things right, and will need to reinstall something with the datacenter tools if nixos doesnt boot
sbdchd has joined #nixos
galaxite has joined #nixos
ajs124 has joined #nixos
jasongro` has quit [Ping timeout: 240 seconds]
<mikky> clever: actually, in my case I can always go back up until I change the default efi entry and reboot
<mikky> doesn't make much difference though, I'm going through this, one way or anoter
deepfire has quit [Ping timeout: 244 seconds]
<clever> mikky: yeah, your undo options depend heavily on the hardware and the tools the datacenter provides
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNPwg
<clever> mikky: i have helped people use this process on their own hardware, but they just lacked a keyboard/monitor to install with, lol
<clever> in that situation, you have no console access and no undo button
abueide has quit [Ping timeout: 248 seconds]
jasongrossman has joined #nixos
wpcarro has joined #nixos
<jasongrossman> That's my dmesg output.
<clever> jasongrossman: nothing of note, has the gui crashed yet?
<jasongrossman> At that point, yes.
sigmundv has joined #nixos
<clever> jasongrossman: what about `journalctl -f -u display-manager` ?
<jasongrossman> clever: That gives me a few instances of this:
<jasongrossman> lightdm[2183]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface 'org.freedesktop.DisplayManager.AccountsService'
<jasongrossman>
<clever> sounds like dbus is to blame
<jasongrossman> Cool.
<mikky> clever: that could've been fun :)
<jasongrossman> I'm going to try with stable.
<clever> jasongrossman: try a `nixos-rebuild boot` then just reboot
<jasongrossman> clever: Tried that - it hangs during boot.
<clever> ah, then id try stable next
<jasongrossman> clever: Actually ... I think I've tried that but maybe I'll just check.
<jasongrossman> clever: And then I'll try stable.
<clever> sounds good
<jasongrossman> :-)
<mikky> anyway, clever, reading through justdoit.nix - my (very limited) understanding is that this expression just creates a script and prepares configuration for it but doesn't actually *do* anything...right?
wpcarro has quit [Ping timeout: 264 seconds]
<clever> mikky: correct, you have to run justdoit after logging in over ssh
jasongrossman has quit [Remote host closed the connection]
<clever> that part is optional, you can also just manually install like you normally would
<clever> you can also set the options defined in justdoit, using the configuration.nix file
<clever> and then it bakes those options into the tarball it generates
fiddlerwoaroof has quit [Read error: Connection reset by peer]
<mikky> I'd prefer to just have a live NixOS with ssh and do everything manually after that.
<clever> you can just ignore justdoit then
fiddlerwoaroof has joined #nixos
<mikky> is about 8G enough space for build?
<clever> plenty of disk space
semilattice has joined #nixos
jasongrossman has joined #nixos
<jasongrossman> clever: Just confirming that if I do rebuild boot, and then boot, the boot hangs. I'll try with stable now.
<semilattice> Is there a way to see the attributes for a built derivation? Specifically one in my package overrides. When I look at it in nix-repl, the default print just shows the derivation, when I use :p it shows the same thing, tabbing with x.[tab] seems to not produce anything
<semilattice> and :a adds 43 atributes, but doesn't list what they are
<clever> semilattice: is the override in config.nix or configuration.nix?
<semilattice> in config.nix
<clever> can you pastebin the config.nix?
<semilattice> I'm trying to look at js-env here
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikky> I see ZFS is quite popular here. Is it just because ZFS is cool or does NixOS itself benefit from it or leverages its features?
<clever> semilattice: and if you try to eval js-env in `nix repl '<nixpkgs>'` does it print the expected thing?
<jasongrossman> mikky: I'm pretty sure it's just because ZFS is cool.
<hodapp> it's because ZFS is freaking awesome
<hodapp> though I only use it on BSD, not on NixOS
<jasongrossman> mikky: In fact I feel *less* need for ZFS now that I have rollbacks on my OS. But ZFS is still so cool.
<Ashy> i wish it could be mainlined with the kernel
<Ashy> btrfs is getting somewhat close in features though i think
<hodapp> mlehhh
<semilattice> is there any benefit of ZFS over btrfs still?
<hodapp> my luck with btrfs was not good
<jasongrossman> semilattice: There were still bugs in btrfs not so long ago. Given how important the fs is, I think it's going to be a while before everyone trusts btrfs.
<hodapp> I was very uninspired by the fact that I managed to get an FS into a state that trying to mount it would panic the kernel
<Ashy> semilattice: zfs can do encryption without needing a layer underneath
<gchristensen> it isn't ready for production yet
<semilattice> @jasongrossman Yeah, I've been using btrfs for at least 3 years personally without issue
<Ashy> same
<jasongrossman> semilattice: Excellent!
<semilattice> or I guess two and a half, close enough :P
<jasongrossman> semilattice: I imagine everyone who uses linux will switch to btrfs eventually, if no new filesystems get a lot of traction in the meantime.
<semilattice> The encryption point is pretty good. I'm not using LUKS now but is it any easier/harder in NixOS?
<jasongrossman> Personally, I never want to go back to a non-COW filesystem, but I don't feel so strongly about the choice between COW systems.
<clever> jasongrossman: i had btrfs take 6 hours to do a simple hydra based task, and it ultimately gave up and flagged the FS as read-only, forcing a reboot
<clever> jasongrossman: it then took another 6 hours to delete the .drv files i was making
<mikky> I've been using btrfs for a couple of years not so long ago but it fell apart for no apparent reason.
<jasongrossman> semilattice: I don't think NixOS yet has the hooks to let ZFS encrypt the boot volume, whereas it does have the hooks to let LUKS do it.
<jasongrossman> clever: Ouch!
<hodapp> mikky: fell apart how?
<clever> jasongrossman: ive also seen btrfs have problems with the ratio of metadata to data on nixos, and claim its out of space yet df says it isnt
<mikky> ZFS encryption, or more precisely ZFSonLinux encryption is still experimental I think. At least the on-disk format is not frozen yet.
<jasongrossman> ZFS encryption of non-boot volumes should be very easy. But it is experimental still, right.
<mikky> hodapp: it just didn't mount one day
<clever> jasongrossman: nixos already supports zfs encryption of boot volumes
<clever> ive seen a few brave souls using it :P
<hodapp> mikky: kernel panic? or mount just erroring out?
<semilattice> clever: I've had that happen when I accidentally filled up the disk
<drakonis> zfs encryption is only experimental outside of linux
<jasongrossman> clever: Oh cool! But there are no options to tell NixOS how to find the decryption password on boot, that I can see.
<drakonis> surprisingly enough
<clever> jasongrossman: it will ask on the console i believe
<jasongrossman> clever: I'm going to try that! How cool.
<mikky> hodapp: kernel didn't even recoginzed it as a filesystem. No panics, just your typical "wrong fs type, bad option, bad superblock"
<hodapp> gaack
<jasongrossman> gaack indeed
hakujin1 has quit [Ping timeout: 265 seconds]
<hodapp> in my case, the FS was online and suddenly all attempts to read/write to a specific directory were stalling indefinitely
<gchristensen> drakonis: eh?
<hodapp> dmesg reported no I/O errors
<gchristensen> Topic for #zfsonlinux is "... Native encryption is not production ready, keep backups (but it works great) ..."
<hodapp> I tried to reboot cleanly and the system was still just stuck in some kind of stall, and eventually I had to just hard reboot
<drakonis> ah right
<drakonis> what i should've said is
blankhart has quit [Ping timeout: 260 seconds]
<hodapp> then attempts to mount the FS produced kernel panics
<drakonis> the other platforms don't seem to have native encryption yet
nD5Xjz has quit [Ping timeout: 260 seconds]
<mikky> zfs encryption gives away more metadata than LUKS though. Doesn't give much steering space for plausible deniability
<emily> plausible deniability for disk encryption is kind of theoretical, i think.
<emily> like, truecrypt just barely did it, and it's, uh, hardly foolproof
<clever> mikky: the justdoit script you where reading earlier supports zfs + swap on lvm on luks
<jasongrossman> emily: I agree, for most people.
<{^_^}> openzfs/openzfs#489 (by lundman, 39 weeks ago, open): 8727 Native data and metadata encryption for zfs
<mikky> emily: depneds on "use case" I guess
<emily> and the exact threat it protects against isn't always clear
<emily> hopefully the best plausible deniability will be the continued ubiquitous adoption of encryption :)
<jasongrossman> clever: Very nice. Thanks.
<hodapp> emily: I always viewed it as something like "stick a Windows partition there with 15 GB of horse porn, and make a *really* good act of pretending that that's what you're hiding"
<Ashy> protection against state level actors in general is fairly theoretical isnt it?
<jasongrossman> emily: Exactly!
<mikky> clever: I'll be using it as an install guide
<hodapp> in order to product your... encrypted Linux partition with absolutely nothing of value on it
fragamus has joined #nixos
<jasongrossman> Ashy: There are different levels of competence among state-level actors, but I agree that there are plenty of baddies who will torture stuff out of you, if they think it's sufficiently important stuff.
<clever> mikky: also of note, current nixos zfs requires that you export the pool when your done installing
<clever> mikky: or the initrd wont be able to import it
<gchristensen> but my seeecccrrreeeettttsss hodapp
<gchristensen> my l33t bashrc
<hodapp> gchristensen: don't worry, I won't tell anyone that you have pirated vinyl rips of Lady Gaga's *entire* discography
<jasongrossman> gchristensen: LOL
<emily> Ashy: Edward Snowden isn't dead.
<emily> Ashy: and he was kind of terrible at opsec.
<Ashy> jasongrossman: "plenty of baddies" including pretty much all country level security orgs, heh
<Ashy> emily: his freedom is gone though
<hodapp> Ashy: I mean he sorta never had that to begin with
<mikky> clever: thanks for the heads-up
<drakonis> hm yes his freedom
<emily> Ashy: I didn't say he did perfectly :p (but, this is probably off-topic)
<Ashy> yeah heh
<clever> hodapp: i feel like even mentioning what secrets i am storing may draw in more attackers, lol
<mikky> clever: isn't lvm a bit extraneous with zfs?
nD5Xjz has joined #nixos
<hodapp> clever: just tell people it's justin bieber fanfic
<clever> mikky: swap on zfs isnt stable, and swap on luks + zfs on luks leads to 2 password prompts
<clever> mikky: so i use lvm to squish zfs+swap into a single luks device
<jasongrossman> Just out of interest, what goes wrong if you put swap on ZFS?
<clever> jasongrossman: typically, it just deadlocks
<jasongrossman> Huh. Is that explicable?
<gchristensen> zfs needs ram to ... swap ... and it doesn't have any
<drakonis> wait... then zfs is really badly designed?
<gchristensen> no, it is designed to use effectively use RAM
<gchristensen> it is well designed for the "Not swap" use case and if you need the "Swapping" use case, it isn't the tool for that
<jasongrossman> I wonder whether it's fixable by reducing ZFS's RAM usage then, which is easily done ... although it would have speed side-effects, so it's not a great solution. Just interested.
sir_guy_carleton has joined #nixos
<drakonis> that makes it sound like the kind of filesystem that should be deployed in servers
<clever> jasongrossman: it defaults to only using 50% of the ram at most
<jasongrossman> drakonis: Exactly.
<mikky> I've actually only seen the "don't swap to zvol" warning in a NixOS wiki page, dated "as of 2014-something"
galaxite has quit [Ping timeout: 265 seconds]
<gchristensen> well if you want swap, just have a small ext4 partition or whatever
<jasongrossman> drakonis: Some early versions of ZFS were pretty useless on memory-constrained desktop systems, because it was so tightly designed for servers. It's fine on desktops now, but its history is interesting IMO.
<drakonis> it still sounds like it will handle different environments than slow storage and fast ram
<hodapp> does it still have the issues with dedup requiring a ton of RAM?
<emily> i think that's kind of... inherent to deduplication
<clever> gchristensen: swap files generally perform worse then dedicated swap block devices
<jasongrossman> hodapp: I believe so, by design. I think almost nobody uses dedup.
<clever> gchristensen: and i want the swap to be encrypted, so it needs to be on luks
<gchristensen> clever: d'oh that is what I meant
<mikky> hodapp: s/issue/design
rouma7 has quit [Ping timeout: 244 seconds]
<clever> and then luks asks for 2 passwords on bootup
<mikky> you don't want to dedup on ZFS unless you have a very, very good reason to
<emily> clever: you can just encrypt the two separate keys to a third key in a file
<drakonis> jasongrossman, i'm not sure if it will age well with SSDs and optane/znand becoming commonplace
<clever> mikky: i limit dedup to the dataset where i keep my virtualbox images and cryptocoin blockchains
<emily> clever: and write an initramfs script to prompt for the password to decrypt that third key
<emily> it's all just a pile of shell scripts mounting stuff anyway
<clever> emily: and that just gets ugly, lvm is a lot simpler
<emily> oh sure, I was assuming you couldn't use LVM for some reason, sorry.
<gchristensen> emily: you don't need to go that far even
<mikky> clever: if you can live without hibernation, use can use /etc/crypttab
<jasongrossman> drakonis: I don't think it will survive btrfs becoming mainstream anyway, in the long run, because of the licensing issues. But in the long run we're all dead.
<clever> mikky: i also want hibernation
<Ashy> clever: i still havent learned to use lots of zfs datsets, sounds like a pretty useful way to structure things
<clever> Ashy: i typically have a dataset for / /nix /home and then more depending on the use-case of the machine
* emily doesn't think btrfs is going to become mainstream
<drakonis> heh how cynical
<mikky> Ashy: datasets come in very handy as soon as you start to do snapshots on a regular basis
<clever> Ashy: /nix has snapshots disabled, all others have snapshots enabled
<jasongrossman> Ashy: I find it simpler NOT to have many ZFS datasets. I'm sure there are pros and cons, but personally I definitely prefer it with just a few. Because otherwise I have to remember two levels of structure: the ZFS structure, and the directory structure.
<drakonis> btrfs still has about two years until other solutions come up or the world changes significantly
<Ashy> i think it will, once it's declared "ready for production" distros will start swapping to btrfs by default
<Ashy> the vast majority of users always use the defaults, linux users included
<jasongrossman> But yeah, I have separate ZFS datasets for snapshot a lot versus snapshot just a bit versus don't snapshot at all (more or less).
<jasongrossman> Ashy: Nice pun.
<emily> but zfs is more practical now, bcachefs seems to have more momentum in terms of being the "next big thing"...
<jasongrossman> "swapping to btrfs"
orivej has quit [Ping timeout: 240 seconds]
<emily> and the default is what Ubuntu does... Canonical are the ones who started shipping zfs.ko
<gchristensen> emily: https://grahamc.com/blog/nixos-on-dell-9560#disks create one partition and unlock that first, then use that as the key for the others. no hacks needed. https://github.com/grahamc/nixos-config/blob/master/hardware-configuration.nix#L20-L32
* joepie91 is waiting for the Filesystem Wars to settle
philippD has joined #nixos
<gchristensen> joepie91: yeah gotta wait for it to sync()
<emily> I... still just use ext4.
<jasongrossman> EMACS ON ZFS FTW
<joepie91> emily: exactly
<joepie91> :P
<gchristensen> emily: same
hakujin1 has joined #nixos
<mikky> jasongrossman: this (many datasets) seems to me more like NixOS problem as it doesn't support zfs mounts very well
<mikky> at least that's what all manuals say
<drakonis> same here
<emily> gchristensen: are you sure that using the same key for two volumes is okay?
<jasongrossman> mikky: ZFS doesn't support automating adding mounts easily, that's true.
<emily> does it go through the same key derivation a password does?
<clever> emily: its more of a key to decrypt the master keys
<emily> right, that should be fine then I guess
<jasongrossman> mikky: Sorry - I meant NixOS doesn't.
<emily> I have to note here that you have an entire extra partition just to avoid saving a variable (the inputted password) and using it twice :p
<jasongrossman> mikky: There are ways round that though.
<gchristensen> emily: yeah maybe so but one was trivial to implement with existing Nix modules and the other is ?? :)
<clever> emily: thats why i use lvm :P
<mikky> jasongrossman: I'm all ears
<emily> *nods* I wish NixOS's initramfs stuff was a bit cleaner than it seems to be
<jasongrossman> mikky: I haven't thought about all the possible solutions, but one is to write a little script to add lines to /etc/nixos/hardware-configuration.nix.
<jasongrossman> mikky: Another is to rerun nixos-generate-config.
<mikky> both require root though, righ?
<jasongrossman> mikky: Another is to use the (already existing) NixOS option to force import all pools.
<clever> mikky, jasongrossman: with the most recent zfs (which nixos has), setting mountpoint= just works
<jasongrossman> clever: Awesome!
<clever> so you can `zfs set pool/dataset mountpoint=/foo` and it just does what you want
<mikky> nice
<clever> but nixos cant do that for the root or store datasets
<jasongrossman> \o/
<clever> so those still need mountpoint=legacy and a configuration.nix entry
<mikky> store here means /nix?
hakujin1 has quit [Ping timeout: 265 seconds]
<clever> /nix and /nix/store/
<mikky> so we need legacy mounts only for / and /nix*
<mikky> makes sense, I have yet to find a distro which has no problems with zfs mounts for abitrary paths
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
v0|d has quit [Ping timeout: 240 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
jasongrossman has quit [Ping timeout: 240 seconds]
n0qqe has joined #nixos
jasongrossman has joined #nixos
<jasongrossman> clever: Ugh. When I try to rebuild and switch to stable, I get the same problem. And this computer doesn't have an already-installed stable to switch to. I can install one using the installer, of course, but that'll take ages
<jasongrossman>
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
<clever> jasongrossman: try an older stable channel, it may also have the bug? and does `sudo nix-channel --list` show the stable under the name `nixos` exactly?
jmeredith has quit [Quit: Connection closed for inactivity]
<jasongrossman> clever: Don't understand - sorry. My problem now is trying to switch to ANY other system (without using the installer).
<jasongrossman> 11:29.49 ~> sudo nix-channel --list
<jasongrossman>
<jasongrossman> clever: It's not a huge deal if I have to use the installer though. Just take a while.
<clever> jasongrossman: try switching to 17.09 next?
<jasongrossman> clever: OK, trying that.
galaxite has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
<mikky> about boot.initrd.network.ssh.hostECDSAKey - how does this one work? is this the path to the key source at runtime or at ramdisk generate time?
<jasongrossman> I'm trying to downgrade to 17.09 from unstable, and getting this error. Any advice please?
<jasongrossman> error: The unique option `powerManagement.cpuFreqGovernor' is defined multiple times, in `/etc/nixos/hardware-configuration.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/config/power-management.nix'.
<jasongrossman>
<clever> jasongrossman: comment that line out in hardware-configuration.nix
<jasongrossman> I should have mentioned: my hardware-configuration.nix has almost nothing in it apart from the defaults. This is being pulled in from I-know-not-where.
<clever> mikky: that is an unquoted path on the normal system, nix will copy the key into /nix/store and make it world-readable
<jasongrossman> Oh wait. that's not true.
<clever> jasongrossman: nixos-generate-config made that entry, but 17.09 conflicts with that default
<jasongrossman> That line IS in hardware-configuration.nix. Commenting it now.
<jasongrossman> Thanks.
<jasongrossman> Will you please remind me to uncomment it later? kthx
<semilattice> If it's conflicted by default, surely running nixos-generate-config again would fix it?
<clever> semilattice: you would have to run the 17.09 version of generate-config
<jasongrossman> semilattice: :-)
<clever> which you can only get by successfully finishing nixos-rebuild
^il is now known as vil
<semilattice> oh true, so nix-shell -I .... -p nix
<jasongrossman> If I can successfully finish nixos-rebuild then my whole life will be perfect.
<clever> semilattice: and its not in the nix package
<semilattice> damn
<semilattice> is there a nixos package you can get it from?
<clever> jasongrossman: id also recomend using the boot sub-command when downgrading
<clever> semilattice: its a bit hidden and simpler to just comment that line out
<jasongrossman> clever: Yes, thanks.
<semilattice> clever: So I uh, I got distracted from the issue that I came in here for, but as to "semilattice: and if you try to eval js-env in `nix repl '<nixpkgs>'` does it print the expected thing?", it prints a derivation which is expected
<semilattice> in this case it pritns «derivation /nix/store/zx3b1fxnzdpgv1x4s3ma18z48faxs2zx-javascript-env.drv»
<clever> semilattice: and js-env isnt in nixpkgs, so the override appears to be working
<semilattice> This override is working, but I can't see the attributes for it
<semilattice> no matter what I try
<clever> semilattice: oh right
<clever> semilattice: nix repl cant tab-complete anything with a - in the name
<clever> only nix-repl can do that
<clever> nix repl parses that as subtraction and breaks
<semilattice> clever: oh, wow thanks, that's a silly bug
<clever> renaming it will be simpler
<semilattice> yeah, nix-repl is hard for me to install anyway
<semilattice> since it seems you need to have root? Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<clever> nope
<clever> export NIX_REMOTE=daemon
<clever> nix-repl uses nix1, which cant auto-detect that
<infinisil> ,nix-repl semilattice
<{^_^}> semilattice: To use nix-repl with Nix 2.0, either use the new `nix repl` or `NIX_REMOTE=daemon nix-repl`. Just using `nix-repl` gives an error because it is linked to Nix 1.x which requires NIX_REMOTE to be set correctly, while Nix 2.0 doesn't (and unfortunately it wasn't kept for backwards compatibility)
<clever> nix2 can auto-detect it, so the config setting the var was removed
<semilattice> ahhhh, that clarifies a bunch
<semilattice> Yeah, renaming it is easier lol `nix-repl> js-env
<semilattice> error: hash ‘d+nbxBUGKg7Arpsvbnlq61mc12ek3EY8EQldM3GPAhWJ1UVxC6TDGbIvUMNU6obBX3i1+ptCIzV4vq0gFPEGVQ==’ has wrong length for hash type ‘sha512’
<semilattice> «derivation
<semilattice> `
<clever> i dont think nix supports base64 in hashes?
<semilattice> yeah that's something that I didn't add so no idea where it is
Supersonic has quit [Ping timeout: 255 seconds]
<clever> semilattice: can you link your pastebin again?
hakujin1 has joined #nixos
<semilattice> It's a bit different, I simplified the let expression
sigmundv has quit [Ping timeout: 260 seconds]
<clever> semilattice: try `nix-instantiate '<nixpkgs>' -A js-env -vvvv`
<semilattice> clever: oh, that should work, I just renamed it, are hyphenated names not preferred then?
<clever> semilattice: i see a mix of - and _ and camelcase all over nixpkgs
lassulus_ has joined #nixos
<semilattice> yeah, me too, so I was wondering if the later would be preferred. I don't see very many '_'s, but they should be very readable
<semilattice> and not have the '-
<semilattice> and not have the '-' issues
Supersonic has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
kyren_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lassulus has quit [Ping timeout: 248 seconds]
lassulus_ is now known as lassulus
kyren has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @aanderse opened pull request #44435 → added the pecl oci8 library for php → https://git.io/fNPoo
jmeredith has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thc202 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-artwork] @samueldr merged pull request #29 → ericsagnes' contributions All rights → cc0 → https://git.io/fNPoP
<{^_^}> [nixos-artwork] @samueldr pushed to master « ericsagnes' contributions All rights → cc0 »: https://git.io/fNPoX
fragamus has joined #nixos
<{^_^}> [nixos-artwork] @samueldr merged pull request #28 → fix spacial issue → https://git.io/fNPo9
<{^_^}> [nixos-artwork] @samueldr pushed 2 commits to master: https://git.io/fNPoH
rprije has quit [Ping timeout: 260 seconds]
mizu_no_oto has joined #nixos
johnw has quit [Ping timeout: 260 seconds]
kyren has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
trylist has joined #nixos
<trylist> hi guys, does anyone know anything about screensavers/screen sleep. Mine keeps going black after 10 minutes while watching movies on firefox, really annoying to have to constantly move the mouse.
<trylist> I've tried xset s off
<clever> [28751:519:0803/233526.020873:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
<clever> [28751:519:0803/233526.195430:ERROR:object_proxy.cc(617)] Failed to call method: org.freedesktop.ScreenSaver.Inhibit: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
<clever> [28751:519:0803/233526.195462:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
<clever> trylist: related, i can see chrome trying to turn dpms on/off every time pause/unpause things
<clever> but in my case, dpms is just plain broken and never goes to sleep
<ivan> trylist: did you try xset s off -dpms
<trylist> I'll let you know in 10 minutes or so
<trylist> thanks
<ivan> which screensaver thing are you using?
<{^_^}> [nixpkgs] @aanderse opened pull request #44437 → added the apache auth cookie perl module to nixpkgs → https://git.io/fNPKR
<trylist> I don't actually know. this is still a pretty basic i3wm install with plain xorg
<trylist> it's hard to find results in google
<trylist> I didn't explicitly install anything if that's what you're asking
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hakujin1 has joined #nixos
hamishmack has joined #nixos
<init_6> where to read abourt kernel developing with nixos?
<drakonis> that's probably a first
<{^_^}> #14721 (by lukego, 2 years ago, closed): Kernel hacking on NixOS?
<clever> init_6: that info is also now in the nixos manual
<clever> Ashy: ah, thanks, was going to find that
<init_6> Ashy clever thx
hakujin1 has quit [Ping timeout: 265 seconds]
<Ashy> init_6: are you doing kernel dev for work?
<trylist> @clever it looks like that worked, thanks! It feels like this should be a part of firefox and video players in general, I've haven't had that issue on other distros. Would you know of a lead to investigate?
<trylist> That chrome message you pasted looks like some missed config that might be fixable
<clever> trylist: try searching its codebase for org.freedesktop.ScreenSaver Uninhibit or Inhibit
<init_6> Ashy: I have several patches
<trylist> The chromium codebase?
<clever> chromium-66.0.3359.181/services/device/wake_lock/power_save_blocker/power_save_blocker_x11.cc
<clever> trylist: for chrome, its at this location, but since your using firefox, you would want to check that
<clever> that will explain if it even supports doing this
<trylist> That seems like a not too likely avenue considering it works on other distros
obadz has quit [Ping timeout: 260 seconds]
<clever> but i suspect the right dbus thing has to be running, to allow it to work
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
<trylist> gotcha
<clever> i also run synergys, and i suspect it disables dpms without using dbus
<trylist> @clever looks like you're on the right track https://github.com/dglava/firefox-dpms
<trylist> thanks for the help, I'll look into it
<clever> trylist: at a glance, thats not even specific to firefox, and can be used to detect if anything is playing audio via pulse
demize has joined #nixos
<trylist> Well I wouldn't use the hacky one, but he mentions the dbus interface
<trylist> which is the path I'll go for now
Guanin has quit [Read error: Connection reset by peer]
<clever> trylist: dfeet is also a dbus debug util you may find of use
<trylist> thank you, man I'm getting elbow deep in it now aren't i
<pie_> help my nix-env -e is broken xD https://bpaste.net/show/35eb111e8b37
<clever> trylist: and just poking around in dfeet for a minute finds inhibit/uninhibit under org.freedesktop.PowerManagement, via interfaces and org.freedesktop.powermanagement.inhibit
<pie_> this happens no matter what I pass to -e
<clever> pie_: nix2 has a bug involving symlinks that point to non-existant files
<pie_> clever, ugh. wat do
<clever> pie_: you need to uninstall python
<trylist> ah, so the browsers are looking for ScreenSaver but nixos sets it up as PowerManagement?
<pie_> clever, ah ok
<pie_> clever, sounds kind of bad :p
<pie_> oh hey that worked.
obadz has joined #nixos
_cyril_ has quit [Ping timeout: 260 seconds]
<clever> trylist: maybe, or maybe xscreensaver is supposed to forward it over
<trylist> ok, this is a very good clue. much appreciated
lo_mlatu has joined #nixos
<clever> [clever@amd-nixos:~]$ xscreensaver
<clever> xscreensaver: 00:12:59: already running on display :0.0 (window 0x2400001) from process 23295 (clever@amd-nixos).
<clever> clever 23295 0.1 0.0 173040 1292 ? S Aug02 3:00 xscreensaver -no-splash
_cyril_ has joined #nixos
ArahaelPi has quit [Read error: No route to host]
<clever> trylist: so i already have xscreensaver running
<lo_mlatu> help! I jusy installed i3 wm, and copied some .Xresources setting, now I login and only get a xterm, switch back to the gnome desktop showed the same and I have to manually start gnome-shell now, even after deleting .Xresource. What's wrong with my machine? How.can I fix it?
<clever> trylist: and its set to disabled in the xfce settings
<clever> lo_mlatu: which display manager?
<lo_mlatu> in the i3 generation using lightdm, in the gnome generation using gdm, used to work fine
hakujin1 has joined #nixos
<clever> lo_mlatu: does lightdm give you a selection to choose between several combinaitons of desktop managers?
<trylist> @clever I'm extremely unfamiliar with X and it's interactions, but it sounds like the browsers are looking for some service waiting to turn off and on the screensaver and not finding it
hakujin1 has quit [Ping timeout: 276 seconds]
<clever> trylist: yeah, its probably modern changes to stop xscreensaver seperately, so it wont render over things after dpms is shut off
<lo_mlatu> clever: oh I found it and recovered now, thanks a lot!
<trylist> @clever what's synergys btw?
fragamus has quit [Ping timeout: 240 seconds]
<clever> trylist: synergy is a tool for sharing the mouse/keyboard between several machines
<clever> trylist: the 2 machines behave more like a single machine in a dual-monitor setup
<trylist> oh synergy, yeah I found that, thought synergys was soemthing different
<clever> trylist: in my case, the desktop has 3 monitors, and the laptop is beside it, and then it behaves like a 4 monitor setup
<clever> synergys is the server, and synergyc is the client
<trylist> gotcha
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<trylist> interesting actually
<trylist> I watch movies on my desktop while using my laptop often, might be nice to control my desktop from my laptop
ericsagnes has quit [Ping timeout: 248 seconds]
ArahaelPi has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #44439 → [RFC] Use `meta.tests` to link from packages to the tests that test them → https://git.io/fNP6Z
drakonis has quit [Remote host closed the connection]
<Enzime> gchristensen: https://github.com/NixOS/nixpkgs/pull/43612 can you build this PR again?
<{^_^}> #43612 (by Enzime, 2 weeks ago, open): mpv: build and install macOS App Bundle
<Enzime> should build fine now that the mpv 0.29.0 macOS fixes were merged
jasongrossman has quit [Ping timeout: 268 seconds]
<samueldr> Enzime: starting it
<Enzime> samueldr: do you have permission for it to build on macOS?
<samueldr> yes :)
<Enzime> :)
<samueldr> (I read the thing before blindly starting it)
<Enzime> samueldr: I was just checking in case you were building it without permission for macOS which might be a bit pointless :p
<samueldr> yeah, I do understand
<Enzime> 👍
<ryantm> Is there a way to pass show-trace into nix-env?
<clever> ryantm: nix-env --show-trace
ArahaelPi has quit [Read error: No route to host]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<ryantm> clever: That doesn't seem to have an effect on my particular situation. I'm trying to debug why entering a nix-shell followed by `make nixpkgs/packages-unstable.json` on nixos-homepage repo fails.
<ryantm> I don't see any difference in the stack trace with that flag
<clever> ryantm: can you pastebin the whole console output when it fails?, including the commands you ran
hakujin1 has joined #nixos
<ryantm> clever: sure one sec
<nikki93> hey all -- so i'm working with a package that has the following line: `preConfigure = "$shell ./platform/unix/automagic";`
ericsagnes has joined #nixos
<clever> ryantm: that is not a nix failure, so --show-trace will never do anything
<clever> ryantm: wait correction
<clever> line 11 is a nix error
<ryantm> clever: right line 11 is the nix error, but the backtrace seems incomplete.
<clever> ryantm: try running the nix-env command on 8 directly
<nikki93> i'm building my own binary that has what that package has as a subdirectory -- how could i edit tha tline to say 'run $shell ./platform/unix/automagic' in the directory 'foo'?
<nikki93> gonna just try 'cd foo && $shell ./plat...' for now
hakujin1 has quit [Ping timeout: 256 seconds]
<nikki93> ok that worked
<{^_^}> [nixpkgs] @mnacamura opened pull request #44441 → environment.shellAliases: change default behavior → https://git.io/fNP61
<nikki93> also do y'all have any examples of packages that build things that use cmake?
<clever> nikki93: if you add cmake to the nativeBuildInputs list, it will automatically run cmake during the configurePhase
<nikki93> interesting -- hmm also how would i tell it which directory to run cmake in?
<nikki93> it's a subdirectory of the root of src
<nikki93> *of src
<clever> nikki93: use preConfigure to cd somewhere else
<clever> the cmakeConfigurePhase still obeys preConfigure and postConfigure
<nikki93> ok :O
<nikki93> here goes
<clever> you can also use $cmakeDir to change things, line 79
arahael1 has joined #nixos
arahael1 is now known as ArahaelPi
<ryantm> clever: https://gist.github.com/ryantm/d1e4c0f352190a93dca0b759918c20ae that error is output to stderr and the error goes away if I remove --json
init_6 has quit []
<clever> ryantm: not sure
<ryantm> clever: The json output seems to cut off so that is at least some indication of where it screwed up.
<clever> ryantm: you could try evaling the same thing in nix repl or nix-instantiate
<ryantm> clever: I'm not sure how to use those tools in relation to --json
<clever> just skip the --json
rouma has joined #nixos
kyren has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has quit [Remote host closed the connection]
rouma has quit [Remote host closed the connection]
logzet has joined #nixos
hakujin1 has joined #nixos
trylist has quit [Ping timeout: 240 seconds]
kyren has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @smithtim opened pull request #44442 → Add MATE to list of desktop managers in manual → https://git.io/fNPPz
marusich has joined #nixos
marusich has quit [Remote host closed the connection]
orivej has joined #nixos
kyren has joined #nixos
kyren has quit [Client Quit]
v0|d has joined #nixos
marusich has joined #nixos
iqubic has joined #nixos
hakujin1 has joined #nixos
kyren has joined #nixos
kyren has quit [Client Quit]
hakujin1 has quit [Ping timeout: 256 seconds]
galaxite has quit [Ping timeout: 240 seconds]
kyren has joined #nixos
kyren has quit [Client Quit]
v0|d has quit [Ping timeout: 240 seconds]
itscaleb has joined #nixos
qualiaqq has joined #nixos
qualiaqq has left #nixos ["ERC (IRC client for Emacs 26.1)"]
revtintin has joined #nixos
fiddlerwoaroof has quit [Read error: Connection reset by peer]
kyren has joined #nixos
kyren has quit [Client Quit]
jmeredith has quit [Quit: Connection closed for inactivity]
fiddlerwoaroof has joined #nixos
Myrl-saki is now known as shot-a-con
shot-a-con is now known as Myrl-saki
kyren has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has joined #nixos
revtintin has quit [Ping timeout: 240 seconds]
maerwald has joined #nixos
revtintin has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<maerwald> combining xfce with i3 doesn't seem to work. I have xfce apps installed but there is no xfce session whatsoever
<{^_^}> [nixpkgs] @volth opened pull request #44443 → r-packages: fix regression → https://git.io/fNPMe
<maerwald> and the default display manager doesn't let me choose the session
<{^_^}> [nixpkgs] @Mic92 merged pull request #44442 → Add MATE to list of desktop managers in manual → https://git.io/fNPPz
<{^_^}> [nixpkgs] @Mic92 pushed commit from @smithtim to master « nixos/doc: added MATE to list of desktop managers in manual (#44442) »: https://git.io/fNPMt
<{^_^}> [nixpkgs] @Mic92 merged pull request #44430 → terraform: update providers → https://git.io/fNPRx
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fNPMm
<{^_^}> [nixpkgs] @Mic92 closed pull request #44432 → nixos/rename: fix evaluation → https://git.io/fNPuy
Fare has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @AJChapman opened pull request #44444 → android-simg2img: init at 1.1.3 → https://git.io/fNPMc
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maerwald> it seems nix configuration is still a mess of leaky abstraction
<ldlework> i said this just a couple days ago
<maerwald> now set a different display manager, but nothing changed :>
kyren has joined #nixos
kyren has quit [Client Quit]
kyren has joined #nixos
kyren has quit [Client Quit]
<maerwald> funny, not even the simple things works
<maerwald> does cryptsetup break nixos-rebuild? seems like it
Lycurgus has joined #nixos
<maerwald> I can't even switch the configuration, there is no menu
<maerwald> well, trying nixos every 2 years and it sucks all the same
maerwald has left #nixos [#nixos]
<emily> what a wonderful person
rprije has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<Lycurgus> i have been compared to him, unjustly I think
<Lycurgus> i don't know which I like less phoney baloney or asshole
<Lycurgus> civil and critical works
hakujin1 has joined #nixos
<joepie91> wonder if that's our good friend Banned Guy
hakujin1 has quit [Ping timeout: 265 seconds]
Mateon1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jfrankenau opened pull request #44445 → reaper: 5.93 -> 5.94 → https://git.io/fNPDc
wigust has joined #nixos
logzet has quit [Ping timeout: 265 seconds]
wigust- has quit [Ping timeout: 248 seconds]
logzet_ has joined #nixos
<Lycurgus> i doubt it, he's a well known user in related channels
palo has quit [Ping timeout: 265 seconds]
Mateon2 has joined #nixos
hakujin1 has joined #nixos
init_6 has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<Lycurgus> also "Banned Guy" sounds like an American and he's German
<ldlework> doubt anyone cares much
<Lycurgus> no, and if the channel wasn't idle it would have likely gone otherwise unremarked
NightTrain has quit [Ping timeout: 240 seconds]
simukis has joined #nixos
<Lycurgus> fwiw though, after being compared to him, I engaged him in pm an found him to be a normal monster
Lycurgus has quit [Quit: Exeunt]
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNPyL
<{^_^}> [nixpkgs] @Mic92 merged pull request #44443 → r-packages: fix regression → https://git.io/fNPMe
<{^_^}> [nixpkgs] @xeji merged pull request #44445 → reaper: 5.93 -> 5.94 → https://git.io/fNPDc
<{^_^}> [nixpkgs] @xeji pushed commit from @jfrankenau to master « reaper: 5.93 -> 5.94 (#44445) »: https://git.io/fNPym
Izorkin has quit [Ping timeout: 268 seconds]
Izorkin has joined #nixos
hakujin1 has joined #nixos
logzet_ has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
<pie_> I set virt-manager to load an iso file to a cdrom drive, why the heck is it changing the owner/group to root:root and then complaining about permissions??
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « scriptaculous: Init at 1.9.0 (#44429) »: https://git.io/fNPya
<{^_^}> [nixpkgs] @xeji merged pull request #44429 → scriptaculous: Init at 1.9.0 → https://git.io/fNP4x
<pie_> ugh, after some googliing i just discovered qemu doesnt like files on other partitions or something
slyfox has quit [Ping timeout: 240 seconds]
slyfox has joined #nixos
hakujin1 has joined #nixos
Myrl-saki is now known as bin_sh_otacon
hakujin1 has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
ng0 has joined #nixos
ambro718 has joined #nixos
<Izorkin> Mic92: commit update
wchresta has joined #nixos
<bigvalen> I tried to upgrade from nixos 17.09 to 18.03 by adding the 18.03 to my nix-channel list as 'nixos', and doing a nixos-rebuild --switch.
<typetetris> bigvalen: I don't think `nixos-rebuild --switch` includes an `nix-channel --update nixos`.
<bigvalen> aah
<typetetris> bigvalen: nixos manual chapter 4: `nixos-rebuild --upgrade` is an update and a switch.
<typetetris> sorry `nixos-rebuild switch --upgrade` is the right one.
hakujin1 has joined #nixos
<bigvalen> Ah, OK. Well, that fails, as above.
<bigvalen> Some searching seems to indicate it's a problem running a really old nix daemon.
<typetetris> Hmm, I remember, there was some situation where you had to install nix2 first and do the upgrade with the nix2 tools. But I can't judge, wether it applies here.
<typetetris> Seems to be this: https://github.com/NixOS/nixpkgs/issues/36268
<{^_^}> #36268 (by NeQuissimus, 21 weeks ago, closed): closure-info broken on nixos-rebuild
hakujin1 has quit [Ping timeout: 265 seconds]
<typetetris> There is a workaround in the comments of the issue.
<bigvalen> The pkgs.nixUnstable one ?
<bigvalen> Cool. That's grabbing nix-2.1pre.
<bigvalen> I wonder how far I need to rollback to find a channel I can rebuild from :(
<bigvalen> oh. Maybe I need to set the live nixos to be 17.09 again
<bigvalen> Hmm.
<bigvalen> warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
<bigvalen> error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<clever> bigvalen: sudo nix-channel --list
<bigvalen> [root@nas:~]# nix-channel --list
<clever> you have 2 17.09's, remove one of them and then --update
<clever> nixos needs a channel with the name nixos
<bigvalen> What's the difference between update & upgrade ?
<clever> nixos-rebuild --upgrade will just run `nix-channel --update` then continue as normal
<bigvalen> I added --upgrade and it seems to be progressing...
<bigvalen> Ah.
<clever> i find it a bit pointless, and it makes nixos-rebuild --rollback more muddy
<{^_^}> [nixpkgs] @xeji merged pull request #44433 → inter-ui: init at 2.5 → https://git.io/fNPa9
<{^_^}> [nixpkgs] @xeji pushed commit from @kyrias to master « inter-ui: init at 2.5 (#44433) »: https://git.io/fNPSu
<{^_^}> [nixpkgs] @basvandijk closed pull request #44379 → pg_journal: init at 0.2.0 & fixed some PostgreSQL plugins related issues → https://git.io/fN6zK
<{^_^}> [nixpkgs] @xeji merged pull request #44427 → smarty3: Init at 3.1.32 → https://git.io/fNP8j
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « smarty3: Init at 3.1.32 (#44427) »: https://git.io/fNPSw
<typetetris> bigvalen: Did it work now?
Lisanna has joined #nixos
<Lisanna> Is there a one-liner or something to delete a store path and all of its referrers?
<clever> Lisanna: you would need to loop nix-store --delete over its nix-store -qR
<clever> Lisanna: it has to be a loop, because --delete will stop at the first rooted path
<clever> if your goal is to get rid of all deps of a given path
<Lisanna> clever hrm, but those referrers might have their own referrers
<bigvalen> I'll go try it. Sorry, got distracted when I realised that ZFS didn't work as I expected so I just wasted a load of time with it. Sigh.
<clever> if you want to get rid of the things depending on X, just normal nix-store --delete X is enough
<Lisanna> not all deps, but a path + all referrers
<clever> nix never allows a refernece to something which doesnt exist
<Lisanna> clever nix doesn't let me delete it if it has referrers.
<Lisanna> cannot delete path since it is still alive
<bigvalen> I thought I could go from a zfs mirror to a four-disk raidz2 by pulling a disk from the mirror, creating a three-disk raidz2, do the zfs send, then when it was done, add the disk to the raidz2 pool. Turns out .... no. You can't.
<clever> Lisanna: thats because of roots, not referrers
<Lisanna> ...oh
<clever> Lisanna: nix-store -q --roots X
<Lisanna> clever OK, so just delete all of those and then nix-store --delete will work?
<clever> bigvalen: i think (havent confirmed) that you can upgrade a lone disk into a mirror between olddisk + raidz2
<clever> Lisanna: depending on what they are, yeah
<clever> Lisanna: you need to make sure your not deleting the active generation of any profiles, or the entire profile will be gone
<Lisanna> yeah I know that
<Lisanna> these are hydra build products
<clever> in the hydra root directory?
<clever> that should only be managed via hydra utils, and you can break hydra if you force it
<bigvalen> clever maybe I could have been able to do that, had I setup a raidz2 with an offline or missing disk...
<Lisanna> clever ...good point.......
<clever> Lisanna: one min
<Lisanna> *checks if hydra is broken*
<clever> Lisanna: hydra will believe the path exists, and wont try to rebuild it, because it was rooted and fully protected from gc
<clever> and if hydra ever needs it ....
<bigvalen> Seems some people create a raidz2 with 3 disks + sparse file, then mark the sparse file as offline before putting any data on it.
<bigvalen> This would have been good to research before doing all the other work :)
<clever> bigvalen: you can also use the file backend for testing, just create a heap of dummy disks and experiment
<Lisanna> K... guess I'm going to go touch a low-level dependency to make any bad state go away
<clever> Lisanna: i can explain how to properly gc hydra things, one min
<Lisanna> clever ok
simukis has quit [Quit: simukis]
<clever> Lisanna: first, do you know where the keep nr is in your config?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #44446 → Make python{2,3} version explicit → https://git.io/fNPSS
<Lisanna> clever yeah
<clever> Lisanna: hydra will always root the entire build-time closure for the last $keepnr evals in the jobset
<clever> Lisanna: how high do you have it set and how many nixpkgs changes have those evals gone thru?
<Lisanna> clever I have it set to 100 right now, 'cause I never want to have to rebuild these products after they've been GC'd, since that can confuse nix
<Lisanna> but sometimes I need to purge things
jdnavarro has quit [Ping timeout: 264 seconds]
<clever> Lisanna: temporarily reduce it, then `systemctl start hydra-update-gc-roots` to tell hydra to prune its own roots
<Lisanna> clever OK, so that will remove all the GC roots, and then I can nix-store --delete?
<clever> yeah
<Lisanna> alright, cool, thanks
<clever> that will remove the roots that are outside of the keepnr
Anton-Latukha has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Revert "nixos tests: temporarily disable nfs tests" »: https://git.io/fNPSj
<{^_^}> [nixpkgs] @FRidh merged pull request #44420 → awslogs: use python3Packages → https://git.io/fNPJR
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNP9L
xy2_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #44447 → Staging next → https://git.io/fNP9Y
<{^_^}> [nixpkgs] @FRidh pushed 357 commits to staging-next: https://git.io/fNP93
FRidh has joined #nixos
<{^_^}> [nixpkgs] @mat8913 opened pull request #44448 → ffmpeg{,-full}: 3.4.3 -> 3.4.4 (18.03 backport) → https://git.io/fNP90
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.gnome-todo: init at 3.28.1 »: https://git.io/fNP9g
magnetophon has quit [Ping timeout: 245 seconds]
semilattice has quit [Ping timeout: 248 seconds]
pie_ has quit [Ping timeout: 244 seconds]
Adluc has joined #nixos
aarvar has joined #nixos
<{^_^}> [cabal2nix] @peti merged pull request #366 → Require hpack >= 0.29.6 → https://git.io/fNiPv
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fNP9i
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/fNP91
<{^_^}> [nixpkgs] @vcunat merged pull request #44448 → ffmpeg{,-full}: 3.4.3 -> 3.4.4 (18.03 backport) → https://git.io/fNP90
vcunat has joined #nixos
thc202 has joined #nixos
MP2E has quit [Remote host closed the connection]
hakujin1 has joined #nixos
orivej has joined #nixos
aanderse has joined #nixos
rprije has quit [Remote host closed the connection]
hakujin1 has quit [Ping timeout: 256 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #44449 → gnome3.gdm: fix session chooser (backport to 18.03) → https://git.io/fNPHc
hasufell_ has joined #nixos
fendor has joined #nixos
<hasufell_> I have no idea what the errors means and why it's there
juhe has joined #nixos
<hasufell_> nix-env -i spacefm works, but it doesn't when I add it to config.nix, ok
philippD has joined #nixos
<clever> hasufell_: the attr name is spaceFM
<clever> > spaceFM.name
<{^_^}> "spacefm-1.0.6"
fendor has quit [Ping timeout: 240 seconds]
<clever> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<hasufell_> where do you look that up
<clever> hasufell_: i used tab-completion in `nix repl '<nixpkgs>'`
<clever> -i uses the .name attribute, -iA and config.nix use the attr path
hakujin1 has joined #nixos
philippD has quit [Client Quit]
<juhe> hasufell_: You can try also "nix search spacefm".
<hasufell_> where is paths documented and that those are attribute names?
<hasufell_> that doesn't explain the semantics of paths
<clever> nixpkgs is an attribute set containing key=value pairs
<clever> the keys are attributes, and the values are usually packages
<clever> but sometimes the value is another attribute set
<clever> so haskellPackages.ghcid is an attribute path, open the haskellPackages attribute of nixpkgs, then the ghcid attribute of that
<hasufell_> where is that documented?
<clever> in the nixpkgs manual
<hasufell_> I can't find it
<hasufell_> I'm looking at chapter 16 ff
hakujin1 has quit [Ping timeout: 265 seconds]
<clever> hasufell_: are you on the nixpkgs manual?
ng0 has quit [Quit: Alexa, when is the end of world?]
<hasufell_> I don't find anything about that in the manual either
<hasufell_> where exactly is it?
<clever> hasufell_: the nix manual may also be of use: https://nixos.org/nix/manual/#ch-expression-language
<hasufell_> "may"
<hasufell_> I know where the documentation is, just not where to find the information you just gave
<hasufell_> so I suspect it's not actually documented
<aanderse> if i made a pull request last night for some new packages to get into nixos is it likely they'd be added in time for 18.09?
<clever> aanderse: probably, as long as its merged within the next ~25 days
<vcunat> completely new packages are eligible to cherry-picking to stable any time
<vcunat> (very unlikely to break anything that's in there already)
goibhniu has quit [Ping timeout: 268 seconds]
<aanderse> clever: and for fairly trivial package additions that seems likely?
<clever> aanderse: yeah
<aanderse> clever: great, thank you :)
lostman has joined #nixos
aanderse has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #44414 → antfs-cli: use python3Packages → https://git.io/fNipf
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNPHp
fiddlerwoaroof has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/979d823f535 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
orivej has quit [Ping timeout: 265 seconds]
fiddlerwoaroof has joined #nixos
fiddlerwoaroof has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bignaux opened pull request #44450 → squashfuse : unstable-2018-02-20 -> 0.1.103 → https://git.io/fNPQk
fiddlerwoaroof has joined #nixos
fiddlerwoaroof has quit [Excess Flood]
fiddlerwoaroof has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNPQq
<infinisil> Let's see who got the lucky #44444
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44444 (by AJChapman, 5 hours ago, open): android-simg2img: init at 1.1.3
fiddlerwoaroof has quit [Read error: Connection reset by peer]
fiddlerwoaroof has joined #nixos
<LnL> jeeze, these numbers go up like crazy
fiddlerwoaroof has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
fiddlerwoaroof has joined #nixos
fiddlerwoaroof has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44437 → perlPackages.Apache-AuthCookie: init at 3.27 → https://git.io/fNPKR
<{^_^}> [nixpkgs] @Mic92 pushed commit from @aanderse to master « perlPackages.Apache-AuthCookie: init at 3.27 (#44437) »: https://git.io/fNPQR
hakujin1 has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #44451 → systemd: 238 -> 239 → https://git.io/fNPQH
<{^_^}> [nixpkgs] @FRidh opened pull request #44452 → llvmPackages_34: remove unused → https://git.io/fNPQQ
silver has joined #nixos
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
hakujin1 has joined #nixos
bennofs has joined #nixos
hakujin1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 166 commits to staging: https://git.io/fNP7K
root_____ has joined #nixos
bennofs has quit [Ping timeout: 265 seconds]
pie___ has joined #nixos
pie__ has quit [Ping timeout: 268 seconds]
bennofs has joined #nixos
neeasade has quit [Ping timeout: 240 seconds]
simukis has joined #nixos
<jasongrossman> #1
<jasongrossman> $00001
<jasongrossman> #00001
<infinisil> (numbers from 1-9 are blacklisted)
<jasongrossman> Ah!
<rain1> hello
<rain1> anybody want to work on the docbook error?
logzet has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
hakujin1 has joined #nixos
nuncanada has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
bennofs has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #43281 → sage: 8.2 -> 8.3 → https://git.io/fNUDM
<{^_^}> [nixpkgs] @7c6f434c pushed 8 commits to master: https://git.io/fNP5g
logzet has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #44453 → rtl_433: 2018-02-23 -> 18.05 → https://git.io/fNP5o
logzet has quit [Remote host closed the connection]
jmeredith has joined #nixos
<jtojnar> hedning[m]: GDM XDG_DATA_DIRS patch now?
<hedning[m]> jtojnar: ?
<jtojnar> I mean we should send it to upstream
<hedning[m]> yeah, that could work :)
<hedning[m]> I just patched GDM to look for wayland-sessions in `GDM_WAYLAND_DIR` for now
<pie___> anyone know how to fix this?: partial paste https://bpaste.net/show/66b0d64573c8
Fare has joined #nixos
goibhniu has joined #nixos
<jtojnar> pie___: doJailbreak
<jtojnar> in pkgs/development/haskell-modules/configuration-common.nix
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44123 → Fetch spotify from snapcraft → https://git.io/fNEgw
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNPdY
smolboye has quit [Ping timeout: 268 seconds]
lostman has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #44455 → libtorrent: 20161212 -> 0.13.7, rtorrent: 20161023 -> 0.9.7 → https://git.io/fNPdB
smolboye has joined #nixos
<infinisil> ,find configuration-common.nix
<jtojnar> hedning[m]: cannot find the commit, but had this in stash https://gitlab.gnome.org/jtojnar/gdm/compare/master...xdg-session-dirs
hasufell_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #44456 → signal-desktop: Allow overriding the spell checker language → https://git.io/fNPd6
init_6 has quit [Ping timeout: 244 seconds]
root_____ has quit [Quit: Lost terminal]
MinceR has quit [Ping timeout: 265 seconds]
f0i has joined #nixos
MinceR has joined #nixos
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
Anton-Latukha has quit [Quit: Leaving.]
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
wchresta has quit [Remote host closed the connection]
smolboye has quit [Ping timeout: 260 seconds]
smolboye has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #44456 → signal-desktop: Allow overriding the spell checker language → https://git.io/fNPd6
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: Allow overriding the spell checker language (#44456) »: https://git.io/fNPFT
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to add-missing-licenses « xlsfonts: set license in overrides »: https://git.io/fNPFm
juhe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub pushed 4 commits to add-missing-licenses: https://git.io/fNPFw
goibhniu has quit [Ping timeout: 268 seconds]
Fare has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 250 seconds]
<infinisil> We're getting close to the 150'000 commits mark!
<{^_^}> nix#506 (by krafczyk, 3 years ago, open): Building nix fails on ubuntu 14.10 because xsltproc is passed --nonet
<rain1> this problem is kind of interesting - i wonder how many build processes out there are accessing the web
<rain1> (when they aren't expected to)
bin_sh_otacon is now known as womenarejustadul
womenarejustadul is now known as Myrl-saki
Myrl-saki is now known as menareadultshota
menareadultshota is now known as Myrl-saki
oida has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed 7 commits to add-missing-licenses: https://git.io/fNPbq
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNPb3
Fare has joined #nixos
maerwald has joined #nixos
johnw has joined #nixos
<gchristensen> rain1: many :)
<{^_^}> [nixpkgs] @kirelagin opened pull request #44459 → b2sum: init at 20160619 → https://git.io/fNPN0
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fNPNE
<{^_^}> [nixos-homepage] @samueldr opened pull request #231 → Fixes build when pointing to a nixpkgs checkout. → https://git.io/fNPNu
hakujin1 has joined #nixos
hakujin1 has quit [Ping timeout: 260 seconds]
johnw has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pSub pushed 8 commits to add-missing-licenses: https://git.io/fNPN9
<{^_^}> [nixpkgs] @bignaux opened pull request #44460 → soulseekqt: 2016-1-17 -> 2018-1-30 → https://git.io/fNPN7
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3af00107ea2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
philippD has joined #nixos
<philippD> Is there a way to depend on specific tex packages? The reason I ask is that I don't want to depend on texlive.combined.scheme-full.
<cocreature> although personally, I’m way too lazy for that and I just depend on scheme-full :)
<philippD> yeah, but it breaks travis
<philippD> thanks
<cocreature> what breaks travis? scheme-full?
ZeDestructor has quit [Quit: o.O]
<philippD> Yes, it always causes a timeout
<cocreature> ah :/
<{^_^}> [nixpkgs] @xeji merged pull request #44460 → soulseekqt: 2016-1-17 -> 2018-1-30 → https://git.io/fNPN7
<{^_^}> [nixpkgs] @xeji pushed commit from @bignaux to master « soulseekqt: 2016-1-17 -> 2018-1-30 (#44460) »: https://git.io/fNPxt
ZeDestructor has joined #nixos
<genesis> :)
biopandemic has joined #nixos
TonyTheLion has quit [Remote host closed the connection]
johnw has joined #nixos
hakujin1 has joined #nixos
ryantm has quit [Remote host closed the connection]
hakujin1 has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
IRCsum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNPpG
<{^_^}> [nixpkgs] @xeji merged pull request #43421 → nixos/lightdm-gtk-greeter: svg icon support → https://git.io/fNLHY
IRCsum has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #57 → intel: videoDrivers: intel -> modesetting → https://git.io/vp776
<{^_^}> [nixos-hardware] @Mic92 pushed commit from @yegortimoshenko to master « intel: videoDrivers: intel -> modesetting (#57) »: https://git.io/fNPpB
<{^_^}> [nixos-hardware] @Mic92 pushed 0 commits to yegortimoshenko-patch-2: https://git.io/fNPpR
drakonis has joined #nixos
Notkea has quit [Remote host closed the connection]
Notkea has joined #nixos
hakujin1 has joined #nixos
semilattice has joined #nixos
xy2_ has joined #nixos
nuncanada has quit [Quit: Leaving]
hakujin1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @bignaux opened pull request #44462 → caprice32: unstable-2018-02-10 -> unstable-2018-03-05 → https://git.io/fNPpS
aanderse_ has quit [Ping timeout: 260 seconds]
averell has quit [Ping timeout: 245 seconds]
v0|d has joined #nixos
<{^_^}> [nixpkgs] @pSub closed pull request #44444 → android-simg2img: init at 1.1.3 → https://git.io/fNPMc
xy2_ has quit [Quit: WeeChat 1.9.1]
Ridout has joined #nixos
<epta> how to specify a subdir of git repository with `fetchgit`?
Ridout is now known as b
<cocreature> epta: try something like (fetchgit …) + "/subdir"
averell- has joined #nixos
hakujin1 has joined #nixos
averell- is now known as averell
aarvar has quit [Ping timeout: 264 seconds]
<elvishjerricco> Have the performance problems with builtins.fetchGit been resolved yet? Last I tried it, the fact that it uses one massive repo caused any new fetches to take ages, due to some expensive algorithm that git runs over the whole repo.
<elvishjerricco> It was only a big problem if you had multiple large, totally unrelated histories. But that's pretty common with something like fetchGit...
hakujin1 has quit [Ping timeout: 255 seconds]
midchildan_ has quit []
__monty__ has joined #nixos
vmandela has joined #nixos
hakujin1 has joined #nixos
work_ has joined #nixos
alexteves has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
Sonarpulse has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed 12 commits to add-missing-licenses: https://git.io/fNPhp
pikajude has quit [Remote host closed the connection]
pikajude has joined #nixos
mguex has joined #nixos
vmandela has quit [Quit: Leaving]
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @woffs opened pull request #44463 → shotcut: 18.06.02 -> 18.08 → https://git.io/fNPjW
<epta> cocreature: it works, great!
<{^_^}> [nixpkgs] @ckauhaus opened pull request #44464 → exiv2: include recent Debian security patches → https://git.io/fNPj4
hakujin1 has joined #nixos
ambro718 has joined #nixos
m0rphism has joined #nixos
hakujin1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pSub pushed 2 commits to add-missing-licenses: https://git.io/fNPjy
Anton-Latukha has joined #nixos
alfiepates has joined #nixos
alfie has quit [Ping timeout: 240 seconds]
alfiepates is now known as alfie
AristotleCajetan has quit [Ping timeout: 240 seconds]
cmcdragonkai_ has joined #nixos
chris|_ has joined #nixos
tazjin_ has joined #nixos
cmcdragonkai has quit [Ping timeout: 256 seconds]
chris| has quit [Ping timeout: 256 seconds]
hl[m] has quit [Ping timeout: 256 seconds]
scroll has quit [Ping timeout: 256 seconds]
woffs has quit [Ping timeout: 256 seconds]
andersk has quit [Remote host closed the connection]
edef[m] has quit [Ping timeout: 256 seconds]
kandinski has quit [Ping timeout: 256 seconds]
tazjin has quit [Ping timeout: 256 seconds]
shlevy has quit [Ping timeout: 256 seconds]
equalunique[m] has quit [Ping timeout: 256 seconds]
drakonis has quit [Ping timeout: 256 seconds]
cmcdragonkai_ is now known as cmcdragonkai
chris|_ is now known as chris|
tazjin_ is now known as tazjin
juhe has joined #nixos
drakonis has joined #nixos
andersk has joined #nixos
iqubic has quit [Remote host closed the connection]
alex`` has joined #nixos
iqubic has joined #nixos
iqubic has quit [Remote host closed the connection]
hydraz_ has joined #nixos
alex`` has quit [Client Quit]
hydraz has quit [Disconnected by services]
hydraz_ is now known as hydraz
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
andersk has quit [Read error: Connection reset by peer]
drakonis has quit [Remote host closed the connection]
Barnabas[m] has quit [Ping timeout: 256 seconds]
Adev[m] has quit [Ping timeout: 256 seconds]
cryptobilly[m] has quit [Ping timeout: 256 seconds]
timokau[m] has quit [Ping timeout: 256 seconds]
nwspk has quit [Ping timeout: 256 seconds]
itzmjauz has quit [Ping timeout: 256 seconds]
CapsLock has quit [Ping timeout: 256 seconds]
nbathum has quit [Ping timeout: 256 seconds]
Kallegro[m] has quit [Ping timeout: 256 seconds]
andersk has joined #nixos
Noughtmare[m] has quit [Ping timeout: 256 seconds]
bdimcheff[m] has quit [Ping timeout: 256 seconds]
EuAndreh[m] has quit [Ping timeout: 256 seconds]
justbeingglad has joined #nixos
_cyril_ has quit [Ping timeout: 260 seconds]
devx has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat opened pull request #44466 → exiv2: bugfix updates → https://git.io/fNXex
_cyril_ has joined #nixos
<juhe> I have a trouble getting diod network share mounted after network is online. This results in degraded boots because mount was tried before network was online. The systemd mount unit file is generated from /etc/fstab which in turn is generated from config.fileSystems. Is there a way to specify this dependency in fileSystems somehow?
justbeingglad has left #nixos [#nixos]
<ajs124> juhe, you can add "noauto" "x-systemd.automount" to your fileSystems.<name?>.options
iqubic has joined #nixos
<juhe> ajs124: would that mean I have to manually mount then?
<ajs124> That way, the filesystem gets mounted, the first time something tries to access it.
<juhe> ajs124: that's actually neat... Will try it.
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> What's the standard way to set up a ram drive on NixOS?
woffs has joined #nixos
<ajs124> just use tmpfs? or what exactly do you mean by ram drive?
juhe has quit [Remote host closed the connection]
<iqubic> selfsymmetric-mu: What is a "ram drive"?
<selfsymmetric-mu> ajs124: I've never made one before so I'm just looking for basics, nothing fancy. I have a directory that I need to do faster reads from, so I want to move it to ram on boot.
<selfsymmetric-mu> Maybe there's a way to just tell the OS to cache it? I'm new to the concept.
<Yaniel> linux does that for you automagically
<iqubic> Why do you need faster reads from that directory?
semilattice has quit [Ping timeout: 240 seconds]
<iqubic> What is special about that directory?
juhe has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #44467 → Nginx modules → https://git.io/fNXvB
<selfsymmetric-mu> iqubic: To be honest faster reads will probably not help me in this situation. I'm getting weirdly slow org-mode agenda performance even though I've restricted the number of files to a dozen or so. I'm bisected my Emacs configuration with bughunter and confirmed that it's nothing to do with my config.
jperras has joined #nixos
<iqubic> selfsymmetric-mu: Perhaps you should talk to the people in #emacs and also #org-mode to see if others have ran into this issue as well.
jperras has quit [Client Quit]
<iqubic> I'm fairly certain that faster reads won't actually help you here.
<selfsymmetric-mu> iqubic: Yeah, I'm thinking the same thing. Just trying a bunch of tricks. Thanks for the pointers anyway, I may use tmpfs for other things.
<juhe> ajs124: Hm, unfortunately I had to start the systemd mount service manually after boot, it seems the automount systemd unit is not generated automatically.
<ajs124> juhe, that's strange. I use this and it works.
<juhe> ajs124: Maybe diod is special, but... I've found "_netdev" option in mount man page, will try that one too.
juhe has quit [Quit: Leaving.]
hakujin1 has joined #nixos
<ajs124> Hm, I use it with sshfs and nfs
juhe has joined #nixos
<juhe> ajs124: It seems that "_netdev" option helped. I'll used that one.
hakujin1 has quit [Ping timeout: 276 seconds]
juhe has quit [Remote host closed the connection]
juhe has joined #nixos
trylist has joined #nixos
drakonis_ has joined #nixos
<tilpner> Huh, nix copy just grew a file by 12288 bytes (as counted by wc -c)
jdnavarro has joined #nixos
<ivan> it's a nix worm
judson has joined #nixos
trylist has quit [Read error: Connection reset by peer]
<judson> Is there an ACME module for not-simp_le?
reinzelmann has joined #nixos
trylist has joined #nixos
Lycurgus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43715 → f2fs-tools: 1.10.0 -> 1.11.0 → https://git.io/fNGOM
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « f2fs-tools: 1.10.0 -> 1.11.0 (#43715) »: https://git.io/fNXJB
<{^_^}> [nixpkgs] @xeji merged pull request #44392 → graphite: make systemd create /run directory for us → https://git.io/fNiBc
<{^_^}> [nixpkgs] @xeji pushed commit from @basvandijk to master « graphite: make systemd create /run directory for us (#44392) »: https://git.io/fNXJu
<{^_^}> [nixpkgs] @xeji merged pull request #44431 → nginxMainline: 1.15.1 -> 1.15.2 → https://git.io/fNPu3
<{^_^}> [nixpkgs] @xeji pushed commit from @jfrankenau to master « nginxMainline: 1.15.1 -> 1.15.2 (#44431) »: https://git.io/fNXJD
reinzelmann has quit [Quit: Leaving]
andromeda-galaxy has quit [Remote host closed the connection]
b has quit [Quit: Lost terminal]
hakujin1 has joined #nixos
MP2E has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44455 → libtorrent: 20161212 -> 0.13.7, rtorrent: 20161023 -> 0.9.7 → https://git.io/fNPdB
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNXUe
hakujin1 has quit [Ping timeout: 256 seconds]
xeji has joined #nixos
xeji has quit [Client Quit]
ris has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging-next: https://git.io/fNXU4
hakujin1 has joined #nixos
neeasade has joined #nixos
hakujin1 has quit [Ping timeout: 265 seconds]
f0i has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @TravisWhitaker opened pull request #44468 → Use LLVM 6 with llvm-hs, don't run tests on Darwin. → https://git.io/fNXUy
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
FRidh has quit [Quit: Konversation terminated!]
dcci has joined #nixos
<dcci> Hello, I just installed nix on MacOS 10.13 but I'm not able to run nix-shell somehow (I guess the $PATH is misconfigured?)
<dcci> bash-3.2$ nix-shell -p nix-info --run "nix-info -m"
<dcci> bash: nix-shell: command not found
<__monty__> Hmm, ran nix-shell -p haskellPackages.glirc but don't get a binary named glirc?
<dcci> bash-3.2$ find /nix/ -name "nix-shell"
<dcci> /nix//store/771l8i0mz4c8kry8cz3sz8rr3alalckg-nix-2.0.4/bin/nix-shell
<dcci> I can find nix-shell "somewhere" in `/nix` but that's not in the $PATH
<dcci> bash-3.2$ echo $PATH
<dcci> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
<samueldr> dcci: do you still have the output of the nix installation procedure?
<samueldr> if so, could you gist/pastebin it?
<dcci> well, not really
<dcci> but I can kinda reproduce it
<dcci> I tried to remove it and reinstall
<dcci> and it happened again
<dcci> sec.
<samueldr> thanks
<dcci> for reference, my "default" shell in iterm2 is fish
<dcci> but i switched to bash before installing
<infinisil> __monty__: glirc2?
<{^_^}> [nixpkgs] @nyarly opened pull request #44469 → simp_le: 0.8.0 -> 0.9.0 → https://git.io/fNXT9
<dcci> FWIW, if i switch to `zsh` I get this https://ghostbin.com/paste/e44mo
<samueldr> dcci: I am assuming then that nix doesn't work after following those instructions
<samueldr> Before Nix will work in your existing shells, you'll need to close
<samueldr> them and open them again. Other than that, you should be ready to go.
<dcci> yes I closed the shells
<samueldr> okay
<samueldr> and so I see you're using bash (which is "good" for the first debugging step)
<samueldr> okay
<samueldr> dcci: any .bashrc or .bash_profile in your home?
<samueldr> do they source /etc/bashrc?
<dcci> bash-3.2$ ls *bash*
<dcci> ls: *bash*: No such file or directory
<dcci> no bashrc in my $HOME
<samueldr> for globbing, you will need to `ls .*bash*`
<samueldr> you should at least have a .bash_history (afaik)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #44471 → Various elementary necessaries → https://git.io/fNXTj
<samueldr> ah, unless the recent macOS thing puts it elsewhere
<dcci> OTOH, /etc/bashrc contains Nix-specific logic
<dcci> oh yeah, my bad
<samueldr> no worries, brains can fart easily :)
<dcci> there's only `.bash_history` and `.bash_sessions`
<samueldr> and do you have a .profile in your home?
<dcci> the former is a regular file while the latter is a directory.
<dcci> no, not really.
<samueldr> hmmm, that's a bit more unexpected. would it be a bother to reboot?
<samueldr> (the classic have you turned it off and on again?)
<samueldr> it would at least ensure there isn't something keeping the environment active
<dcci> *funny enough* I changed the default shell via /bin/chsh
<dcci> and now it finds the executable at least
<dcci> I guess it was related to the fact my shell was `fish` by default
<dcci> I wonder if there's a bug somewhere in the interaction between shells
<samueldr> oh right, maybe I should have starter with "what's your shell"?
<samueldr> IIRC, fish has issues on non-nixos, but I may be wrong, not knowing the state on macOS
<samueldr> (well, nix with fish on non-nixos)
<dcci> I understand
<dcci> looks like now $PATH contains `nix` specific things
<dcci> still I have the
<dcci> Davides-Mac-Pro:~ davide$ nix-shell -p nix-info --run "nix-info -m"
<dcci> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<dcci> (use '--show-trace' to show detailed location information)
* samueldr checks if the #nix-darwin channel has activity
<__monty__> Why would nix with fish on non nixos lead to problems?
<samueldr> hmm, none
<samueldr> __monty__: environment setup AFAIUI
f0i has joined #nixos
<samueldr> it's set up in /etc/bashrc and /etc/zshrc (see their ghostbin)
<LnL> dcci: nix-store --version
<samueldr> LnL: I was about to summon you :D
<dcci> LnL: Davides-Mac-Pro:~ davide$ nix-store --version
<dcci> nix-store (Nix) 2.0.4
semilattice has joined #nixos
<samueldr> and this is compounded by the fact that fish cannot source sh-compatible things directly
<LnL> :)
<drakonis_> oh lnl is here, hi, elixir isn't building btw
<LnL> hmm, that includes my restart fix so that's not it
trylist has quit [Ping timeout: 240 seconds]
<samueldr> on nixos fish uses a plugin (or something else third party if it's not a plugin) to load the environment from a sh-compatible shell AFAIUI
<drakonis_> 1.7 doesn't build
<LnL> drakonis_: oh? :/
<__monty__> samueldr: Why is it not set up in .profile? Isn't that the proper place for environment stuff across pretty much all shells?
<samueldr> __monty__: beats me
<dcci> LnL: I'll try restarting my machine and I'll come back :)
dcci has quit [Quit: Lost terminal]
<drakonis_> uh
<samueldr> __monty__: probably because "profile is hard"
<samueldr> you cannot reliably ensure it will be loaded
<__monty__> infinisil: Ah, thanks. Couldn't find it in .nix-profile/bin but nix-shells probably just don't add to that.
<samueldr> see the INCOVATION section of `man bash`
<samueldr> INVOCATION*
<samueldr> it's a waterfall of possible locations it will load *and stop loading*
<{^_^}> [nixpkgs] @yesbox opened pull request #44472 → netdata: 1.9.0 -> 1.10.0 → https://git.io/fNXkZ
<drakonis_> LnL, /nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/bash: /build/source/lib/elixir/generate_app.escript: /usr/bin/env: bad interpreter: No such file or directory
<infinisil> I want `nix-doctor` that finds problems and fixes/tells you how to fix them
<infinisil> drakonis_: You need to call patchShebangs on that file
dcci has joined #nixos
<drakonis_> yes
<drakonis_> but i'm first trying to figure out why updating quakespasm is breaking it
<dcci> LnL: samueldr looks like rebooting "fixed" it
<dcci> Davides-Mac-Pro:~ davide$ nix-shell -p nix-info --run "nix-info -m"
<dcci> - system: `"x86_64-darwin"`
<dcci> - host os: `Darwin 17.2.0, macOS 10.13.1`
<dcci> - multi-user?: `yes`
<drakonis_> chmod: cannot access 'quakespasm-0.93.1/Quake': No such file or directory
<drakonis_> this exists
<dcci> thanks, BTW
<samueldr> dunno if possible that removing/reinstalling caused issues with the service
<LnL> dcci: what about /nix/var/nix/profiles/default/bin/nix-store --version
<samueldr> and that restarting it started it
<{^_^}> [nixpkgs] @dywedir opened pull request #44473 → ripgrep: 0.8.1 -> 0.9.0 → https://git.io/fNXkW
<dcci> LnL: Davides-Mac-Pro:~ davide$ /nix/var/nix/profiles/default/bin/nix-store --version
<dcci> nix-store (Nix) 2.0.4
<__monty__> samueldr: Imo something that works basically everywhere unless someone's (mis)configured a couple very shell specific files is a better default than something that *only* works with two specific shells. Maybe it's just me though.
<LnL> dcci: hmm well I'm not sure why the daemon wasn't running, unless you didn't reboot since you upgraded from 2.0
<samueldr> __monty__: open a PR fixing this if you think it is the right solution for macOS installation
<LnL> dcci: 2.0 had a problem where the service wouldn't restart automatically
work_ has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 240 seconds]
<samueldr> but __monty__, do know that there are multiple conflicting opinions about the right place to put this *so it works* (not nix-specific, I'm talking environment at large)
<judson> Caught in a dilemma: I think I need a more modern simp_le-client than is in NxOS stable on my NixOps machines. All in all I'd rather not switch to my master checkout of nixpkgs; but the alternative seems to be maintaining a little subtree of python until 18.09 drops.
<LnL> drakonis_: sounds like I forgot to test the linux build then
f0i has quit [Ping timeout: 256 seconds]
cizra has left #nixos [#nixos]
<samueldr> and then when a user follows up the advice they deemed right, it probably leaves the other locations to load the environment not working
<{^_^}> [nixpkgs] @xeji merged pull request #44462 → caprice32: unstable-2018-02-10 -> unstable-2018-03-05 → https://git.io/fNPpS
<{^_^}> [nixpkgs] @xeji pushed commit from @bignaux to master « caprice32: unstable-2018-02-10 -> unstable-2018-03-05 (#44462) »: https://git.io/fNXkR
<samueldr> reliably setting the environment programatically for a user is **hard**
<drakonis_> now, i wonder if i'm doing nix-build wrong
<drakonis_> it should be run with -A in the repository directory right?
<__monty__> samueldr: "Do you have a .bash_profile?" Is quite an easy troubleshooting question though. "Let's implement environment setup not just once but once for each shell that's reasonably popular." Sounds like a much higher maintenance burden. I'm not in the know enough to fix this, just trying to influence someone who is. I'm easy to appease though, make fish a first class citizen of the installation process
<__monty__> and I'll shut up ; )
<samueldr> __monty__: kinda worked on it for non-nixos linux
<samueldr> depending on if the nix-fpm takes off
<drakonis_> nix fpm?
<samueldr> jeez, give me 5 sec to link ;)
<drakonis_> oh nice
<samueldr> basically, through nix, build a .deb / .pkg.tar / .rpm from the same instructions
<drakonis_> v. nice
<samueldr> (using this https://github.com/jordansissel/fpm )
<drakonis_> but i suppose they're not policy compliant
<samueldr> not at all, but in some ways really easy to deploy
<__monty__> samueldr: A warning during the installation process would be easy imo, i.e. if exists(.bash_profile...): warn "You might need to read this FAQ:..." Much friendlier than "If you're not using either bash or zsh, figure it out."
<samueldr> so it's not for upstream $distro use, but for deployment
<{^_^}> [nixpkgs] @xeji merged pull request #43839 → plex-media-player: init at 2.14.1 → https://git.io/fNcxR
<{^_^}> [nixpkgs] @xeji pushed commit from @kylewlacy to master « plex-media-player: init at 2.14.1 (#43839) »: https://git.io/fNXkK
<samueldr> __monty__: I think there is, so it's possible the actual issue came from elsewhere in that particular case
* samueldr checks source
<__monty__> samueldr: Why would the warning be there if it's not setting up .profile in the first place?
<samueldr> hmm, nope, no warning
<samueldr> I was thinking more .bashrc / .bash_profile existing and not sourcing /etc/bashrc
<samueldr> or profile.d
<samueldr> __monty__: the current installation scripts btw https://github.com/NixOS/nix/tree/2.0-maintenance/scripts
Fare has joined #nixos
<judson> Any thoughs about getting ACME working on NixOps? I've got a cert that expires on the 10th, but I'm getting what looks like "the client is too old" errors
abueide has joined #nixos
<samueldr> judson: hmmm, let me check my 18.03 things serving acme certs
<samueldr> » expires on 8 august 2018
<samueldr> good sign there
<samueldr> judson: I'll probably have to figure something too
<judson> samueldr, the acme module seems to use simp_le which is 0.6.0 in 18.03
Fare has quit [Ping timeout: 244 seconds]
Guanin has joined #nixos
<judson> I'm seriously contemplating a local overlay for enough of pythonModules to build a modern simp_le
<judson> It's only, what, 20 packages ;(
<samueldr> oh, in my case it's probably something else
<ajs124> simp_le on 18.03 is working fine for me
<dhess> whoa, tha'ts not good
<samueldr> well, it's possibly
<samueldr> (the container thing I'm using doesn't have any inode left)
<judson> It worked to register them, but renewels are failing.
<judson> *renewals
<{^_^}> [nixpkgs] @Ralith opened pull request #44474 → renderdoc: 1.0 -> 1.1 → https://git.io/fNXIv
johnw has quit [Ping timeout: 265 seconds]
<pie___> anyone know how to fix this?: partial paste https://bpaste.net/show/66b0d64573c8 https://bpaste.net/show/92ea334e9aba
<pie___> trying to build some haskell packages that worked earlier for me, i think all that happened was i updated to 18.03
<ajs124> judson, so I'm lucky, considering that my certs are still valid until october.
<{^_^}> [nixpkgs] @LnL7 pushed to master « elixir: fix 1.7 build on linux »: https://git.io/fNXI3
<drakonis_> infinisil, i think i'm mising something here
<drakonis_> if i update the package version, building it leads into a complaint about chmod not finding the directory
<{^_^}> [nixpkgs] @xeji merged pull request #44473 → ripgrep: 0.8.1 -> 0.9.0 → https://git.io/fNXkW
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « ripgrep: 0.8.1 -> 0.9.0 (#44473) »: https://git.io/fNXIP
abueide has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44281 → cadence: init at 0.9.0 → https://git.io/fNrUT
<{^_^}> [nixpkgs] @xeji pushed commit from @bignaux to master « cadence: init at 0.9.0 (#44281) »: https://git.io/fNXIp
ng0 has joined #nixos
<drakonis_> i don't get it, how is quakespasm building on hydra but not locally
<dhess> yay, ghc843 built on aarch64 with my fixes!
<dhess> However, it took 24 hours on a Jetson TX1. :\
<dhess> but it did build
<Lycurgus> apparently instant stuffs make up for the slow
<infinisil> dhess++
<{^_^}> dhess's karma got increased to 1
<infinisil> Nice!
<dhess> I'm building my Haskell projects with it. If those build successfully, I'll submit a PR to nixpkgs.
<Lycurgus> 1 right now can make up for any number of ass dragons
<dhess> but it looks pretty good at this point
<dhess> dhess--
<dhess> oh well
<samueldr> dhess: how does the TX1 compare to the community box?
<samueldr> (you could build ghc on it, and then locally use that build for your projects)
<dhess> samueldr: it only has 4 cores and 4GB. So: much less beefy. However, the issue with GHC on aarch64 seems to be that there's a memory ordering issue somewhere that causes it to hang on parallel builds.
<dhess> so: I doubt that individual Haskell packages (including GHC) will build a whole lot faster on the community builder.
<dhess> but it will be able to build more packages at once, of course.
<dhess> because my Nixpkgs "fix" is to disable parallel builds for Haskell packages when buildTarget is aarch64
<samueldr> ah, yeah, single-core performance could cause a reversal here :)
<judson> How terrible an idea would be to do a nixops deploy with -I nixpkgs=~/nixpkgs, get the cert renewed, and then deploy again without?
<samueldr> judson: a pretty good test run for the 18.03 to 18.09 upgrade :)
<samueldr> let's hope you have backups
<samueldr> (cheekily, there shouldn't be an issues hopefully)
<{^_^}> [nixpkgs] @Infinisil merged pull request #42877 → nixos/systemd-boot: Add consoleMode option → https://git.io/fyARV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNXLZ
ng0 has quit [Quit: Alexa, when is the end of world?]
<drakonis_> i'm baffled atm, because i can manually travel and make the binary but if i do nix-build, it fails
<{^_^}> [nixpkgs] @Infinisil closed pull request #42932 → stdenv: enable colors → https://git.io/f5YIk
shlevy has joined #nixos
juhe has quit [Quit: Leaving.]
ryantm has joined #nixos
<infinisil> pie___: Let us debug your haskell problems with nix here perhaps? :)
kyren has joined #nixos
<pie___> ah crap i tried to do "hoppy-generator" = unst.haskellPackages."hoppy-generator"; but that just understandably breaks on the ghc version i think :o
<pie___> * :p
<infinisil> unst??
<infinisil> Oh unstable
<pie___> yeah
<pie___> so how does version checking in hackage-packages work anyway
<pie___> or does it just use whatever is specified for hackage?
<infinisil> Packages are either in stackage or not
<pie___> ah yeah. ok so it does seem that hackage has strict versions set fot these packages
<pie___> but im not sure why this didnt fail before
<infinisil> the stackage ones come from the stackage lts versions
Lycurgus has quit [Quit: Exeunt]
<infinisil> the non-stackage ones are from the latest hackage version
<infinisil> And there's no version resolution beyond that happening
<pie___> ok so having looked at this im better off building this package off unstable, but then i get an issue with the cabal versoi
<infinisil> Breakages need to be fixed up manually
<pie___> Setup: Encountered missing dependencies:
<pie___> Cabal >=1.20 && <2.1
hakujin1 has joined #nixos
<pie___> because i think its cabal 2.2
<infinisil> Yeah you wanna try jailbreak
<infinisil> jailbreak makes cabal ignore the version bounds
<{^_^}> [nixpkgs] @xeji merged pull request #44469 → simp_le: 0.8.0 -> 0.9.0 → https://git.io/fNXT9
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNXLi
hakujin1 has quit [Ping timeout: 256 seconds]
aarvar has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #44475 → gutenberg: 0.3.4 -> 0.4.0 → https://git.io/fNXL9
jasongrossman has quit [Remote host closed the connection]
<pie___> infinisil, so...i need to apply this to individual packages right?
<infinisil> yup
<pie___> infinisil, how do i figure out where doJailbreak is bound?
<infinisil> where it's declared?
<pie___> lib.nix?
<infinisil> ,find haskell-modules/lib.nix
<pie___> but dont i need to find the caller of lib.nix?
semilattice has quit [Ping timeout: 260 seconds]
<pie___> (i did randomly try pkgs.haskellPackages.lib.doJailbreak but that didnt work)
trylist has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #44476 → simp_le: use python3Packages → https://git.io/fNXtv
<pie___> ok so its pkgs.haskell.lib for some reason
alex`` has quit [Ping timeout: 260 seconds]
hyper_ch has quit [Read error: Connection reset by peer]
ambro718 has quit [Quit: Konversation terminated!]
hyper_ch has joined #nixos
<drakonis_> hmm, someone got a minute to help me out with figuring why quakespasm isn't building
vcunat has quit [Quit: Leaving.]
<pie___> drakonis_, are you using your own build script?
<drakonis_> all i did was set the version number to 0.93.1
hakujin1 has joined #nixos
<drakonis_> it breaks on any version except for the current one, which happens to be the one that was initially added
<pie___> does 0.93.1 have the same executable name?
<pie___> i.e. Quake
<drakonis_> yes
<pie___> idk much about this but something seems screwy with the sourceRoot
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fNXtY
jasongrossman has joined #nixos
<drakonis_> i'll run diffoscope on the structure
<{^_^}> [nixpkgs] @eadwu opened pull request #44477 → yarn: 1.9.2 -> 1.9.4 → https://git.io/fNXts
<pie___> well...it *does* look like it should exist
hakujin1 has quit [Ping timeout: 240 seconds]
<pie___> drakonis_, diff your nix files,make sure you got the change right?
* pie___ tries to build
<drakonis_> yes i have
<pie___> ok so it built perfectly fine for me...
<pie___> well with this anyway nix-shell -v -E 'with (import <nixpkgs> {}).pkgs; callPackage ./default.nix {}'
<pie___> all i did was change the version as you said
<drakonis_> well looks like doing nix-build doesn't work
<drakonis_> do 0.93.1
<pie___> yeah thats what i did
<drakonis_> i did nix-build -A quakespasm and it didn't work
<pie___> idk any of the nuances of all this stuff between shell and build and whatnot
<drakonis_> that's probably the issue
<pie___> drakonis_, so did you change the version with a local nixpkgs repo then?
<drakonis_> yes
<pie___> ah ok. *shrug*
<pie___> what about nix-shell -p ?
<{^_^}> [nixpkgs] @xeji merged pull request #44474 → renderdoc: 1.0 -> 1.1 → https://git.io/fNXIv
<{^_^}> [nixpkgs] @xeji pushed commit from @Ralith to master « renderdoc: 1.0 -> 1.1 (#44474) »: https://git.io/fNXt6
<drakonis_> -p?
<drakonis_> ah
siriobalmelli has joined #nixos
<drakonis_> i'm executing it off a local copy
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drakonis_> i think i'm missing somethin ghere
<{^_^}> [nixpkgs] @xeji merged pull request #44472 → netdata: 1.9.0 -> 1.10.0 → https://git.io/fNXkZ
<drakonis_> see this <drakonis_> http://termbin.com/xn76
<{^_^}> [nixpkgs] @xeji pushed commit from @yesbox to master « netdata: 1.9.0 -> 1.10.0 (#44472) »: https://git.io/fNXtD
jasongrossman has quit [Remote host closed the connection]
<pie___> i dunno
<pie___> but if that works for you you should also be able to do nix-shell -p quakespasm?
Jackneill has quit [Read error: Connection reset by peer]
<pie___> infinisil, i added "hoppy-runtime" = pkgs.haskell.lib.doJailbreak super."hoppy-runtime"; and now i get: https://bpaste.net/show/28b8ad06298e
<drakonis_> hmm, actually, how do i set up my local copy as the channel?
<drakonis_> i don't think i've read about that yet
siriobalmelli has quit [Client Quit]
<infinisil> pie___: jailbreaking seems to not work then
Jackneill has joined #nixos
<pie___> infinisil, any idea why? the versions should be fine
<pie___> well, i guess it could be the wrong version of base or something...
selfsymmetric-mu has quit [Remote host closed the connection]
<pie___> drakonis_, you added it do NIX_PATH or what is it, right? im pretty sure thats all you need
<symphorien> is it possible to tell wheter a derivaiton is free or not in nix ?
<pie___> added/changed
<drakonis_> adding to NIX_PATH doesn't make it permanent right?
<pie___> symphorien, it's probably derived from the license attribute
<pie___> drakonis_, well it wont last through closing the shell or whatever, not. like any other environment variable
<pie___> *whatever, no.
<symphorien> yes but I get an error printing blah.meta.license in nix repl
<symphorien> has an unfree license (‘unknown’), refusing to evaluate
<infinisil> ,find check-meta.nix
<infinisil> symphorien: See isUnfree in that file ^^
kyren has joined #nixos
<infinisil> Oh and hasDeniedUnfreeLicense
siriobalmelli has joined #nixos
<siriobalmelli> Hello, would like some help if possible grokking an aspect of Nix Expr language.
<drakonis_> well would you look at that
<siriobalmelli> 1. I take a "compiler" argument on 6: (with a default "clang" value)
<siriobalmelli> 2. I declare *both* gcc and clang build inputs on 19: and 20:
<siriobalmelli> 3. I would love to *only* depend on "compiler" (for cleanliness)
<siriobalmelli> 4. Tried a naive approach where I replace 19: and 20: with just "compiler"
<drakonis_> i have to update the hash otherwise it won't work
<siriobalmelli> ... then run `nix-build --argstr compiler gcc`
<drakonis_> WHY AM I NOT SURPRISED
<siriobalmelli> ... and it gives 'build input gcc does not exist'
<siriobalmelli> Any pointers would be appreciated :)
<drakonis_> okay fine i'm an big idiot that forgot that updating the hash is required for the build to function
<infinisil> symphorien: Yeah it doesn't, but you can just copy the implementation to your own code
<symphorien> sure
<drakonis_> pie___, an fool am i
<symphorien> the problem is that I cannot evaluate meta on unfree stuff
<symphorien> > oraclejdk.meta
<{^_^}> { available = <CODE>; license = <CODE>; name = <CODE>; outputsToInstall = <CODE>; platforms = <CODE>; position = <CODE>; }
<symphorien> huh ?
<drakonis_> i'm confused, why is unfree an separate thing?
<drakonis_> hidden and punished
<symphorien> > (import <nixpkgs/nixos/release.nix {}).tests.beegfs.meta
<{^_^}> attempt to call something which is not a function but a path, at (string):165:10
<symphorien> > (import <nixpkgs/nixos/release.nix> {}).tests.beegfs.meta
<{^_^}> attribute 'meta' missing, at (string):165:1
<pie___> drakonis_, um if the hash is the issue thoguh it should have given you an error about the hash
<drakonis_> but it didn't
<drakonis_> i updated the hash and it worked when i did the build
<pie___> sounds like *at least* a UI bug to me
<pie___> i mean i wouldnt know
<pie___> can you create an issue on github?
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> What does this warning mean? `setlocale: LC_ALL: cannot change locale (en_US.utf8)`?
<selfsymmetric-mu> I've already applied `multi-glibc-locale-paths.nix` from here: https://gist.github.com/peti/2c818d6cb49b0b0f2fd7c300f8386bc3
<selfsymmetric-mu> But I'm still getting the warning.
<symphorien> ah I see, I tried to evaluate a free test with unfree dependencies
<symphorien> and this fails
hyper_ch has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44477 → yarn: 1.9.2 -> 1.9.4 → https://git.io/fNXts
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « yarn: 1.9.2 -> 1.9.4 (#44477) »: https://git.io/fNXqO
hyper_ch_ has joined #nixos
hyper_ch_ is now known as hyper_ch
<{^_^}> [nixpkgs] @xeji merged pull request #44475 → gutenberg: 0.3.4 -> 0.4.0 → https://git.io/fNXL9
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « gutenberg: 0.3.4 -> 0.4.0 (#44475) »: https://git.io/fNXqZ
<infinisil> > oraclejdk.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<infinisil> > (import <nixpkgs> { config.allowUnfree = false; }).oraclejdk.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<infinisil> symphorien: Works for me!
<symphorien> > (import <nixpkgs/nixos/release.nix> {}).tests.beegfs.${builtins.currentSystem}.meta
<{^_^}> [nixpkgs] @xeji merged pull request #44453 → rtl_433: 2018-02-23 -> 18.05 → https://git.io/fNP5o
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « rtl_433: 2018-02-23 -> 18.05 (#44453) »: https://git.io/fNXqW
selfsymmetric-mu has quit [Remote host closed the connection]
<symphorien> this does not work
selfsymmetric-mu has joined #nixos
<infinisil> Why do you need it on tests though?
Anton-Latukha has quit [Ping timeout: 264 seconds]
<symphorien> I am trying to adapt nox-review to rebuild changed tests
<symphorien> tests are not easily discoverable
<samueldr> symphorien: I guess you saw #44439 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44439 (by Ekleog, 18 hours ago, open): [RFC] Use `meta.tests` to link from packages to the tests that test them
<samueldr> (not that it's in reaction to, just that it combines well with your effort)
<infinisil> Just wanted to link to that one too
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> symphorien: So you want to find out whether any dependency of a test is unfree?
<symphorien> well, nox-review need the lists of packages and corresponding outPaths
<symphorien> it uses nix-env -q for this
jtojnar_ has joined #nixos
phreedom_ has quit [Ping timeout: 250 seconds]
<symphorien> so I thought I could write a small nix file to enumerate attributes and outPaths of tests
<symphorien> but if one test is unfree then it breaks the whole evaluation
mkoenig has quit [Ping timeout: 264 seconds]
<infinisil> Why not allowUnfree = true then?
selfsymmetric-mu has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
phreedom has joined #nixos
<symphorien> no idea whether it is acceptable to say "well if you use nox-review, it will set allowUnfree to true behind your back"
mkoenig has joined #nixos
<pie___> ugh i know i fixed this before somehow...
selfsymmetric-mu has joined #nixos
<symphorien> people tend to be quite opinionated about preventing unfree stuff from tainting their computer
<infinisil> You could evaluate each test on its own
<infinisil> and ignore the ones that don't eval
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<symphorien> yes
<drakonis_> symphorien, i have mixed opinions about it
<drakonis_> it is necessary for certain packages
Anton-Latukha has joined #nixos
<drakonis_> especially hardware support
kini has quit [Quit: bye]
<symphorien> sure. I just care about mergeability upstream. the nixpkgs listing does not list unfree packages, so I should take this into account.
<samueldr> symphorien: you're doing the right thing
siriobalmelli has quit [Ping timeout: 252 seconds]
jtojnar has quit [Remote host closed the connection]
<samueldr> while I use unfree, I know and understand why it's important that it is properly managed :)
sir_guy_carleton has joined #nixos
<drakonis_> don't hide nonfree but require an toggle to use it
<drakonis_> will be much easier
<samueldr> drakonis_: talking about the website?
<drakonis_> the entire stack
<drakonis_> you can't see the packages on the website or the package manager
<{^_^}> nixos-homepage#209 (by samueldr, 16 weeks ago, open): [big!] Adds a completely re-made packages listing (explorer).
<samueldr> except for the website, it's behind a single toggle for the whole stack?
<samueldr> hah, I was about to say "there's a PR about that, I should probably poke people a bunch more"
<drakonis_> samueldr, the toggle is hidden though :V
<samueldr> (it's understandable that bringing in a whole development stack for this feature could cause issues)
<samueldr> drakonis_: I think I see, while it's in the manual, it's not in the tools documentation
jtojnar has joined #nixos
<samueldr> though it's a bit hard to actually think about putting that into `man nix*` as it's not part of nix, it's a mechanism entirely implemented into nixpkgs (unless I'm mistaken)
<pie___> > nix-repl
<pie___> error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<{^_^}> "<derivation /nix/store/4rjw2mxa24kqhb02di3pfpk2r5mirnih-nix-repl-1.11.16-2016-02-28>"
galaxite has joined #nixos
<samueldr> pie___: use `nix repl`
<pie___> samueldr, ah.
<pie___> so uhh nix-repl should be marked deprecated or something?
<samueldr> a backwards incompatible change from nix makes it so you need to do *something* (don't remember what off the top of my head) to use nix-repl
<pie___> btw does nix-repl have a way to find out where an attribute is defined
<samueldr> I wanted to look into that, see if there was any missing feature
<pie___> * nix repl
Fare has joined #nixos
<symphorien> export NIX_REMOTE=daemon
<samueldr> and if there aren't do a package which aliases nix-repl -> nix repl
<samueldr> symphorien++
<{^_^}> symphorien's karma got increased to 2
<pie___> half the time i just cant figure out how to read the source of something in nixpkgs because i just cant find it
<samueldr> yes there is
* samueldr searches only to be ninja'd
<{^_^}> [nixpkgs] @jtojnar merged pull request #44471 → Various elementary necessaries → https://git.io/fNXTj
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/fNXmR
<infinisil> samueldr: Your new package browser demo messes with the browser "Back" action for me :/
<drakonis_> reading the pull request, well its ok
<drakonis_> but i don't get it
<drakonis_> i don't get something
<samueldr> infinisil: not only for you, but it shouldn't trap you
<samueldr> if it does there's a bug, otherwise it's a hard to define "right" behaviour
<infinisil> ,nix-repl
<{^_^}> To use nix-repl with Nix 2.0, either use the new `nix repl` or `NIX_REMOTE=daemon nix-repl`. Just using `nix-repl` gives an error because it is linked to Nix 1.x which requires NIX_REMOTE to be set correctly, while Nix 2.0 doesn't (and unfortunately it wasn't kept for backwards compatibility)
orivej has quit [Ping timeout: 256 seconds]
<infinisil> pie___: ^
<pie___> aha.
kyren has joined #nixos
<infinisil> samueldr: Ah yeah, not a trap, just that every javascript action is stepped through when going back
marusich has quit [Quit: Leaving]
<samueldr> infinisil: that's a bit of bikeshedding on the tool, the back button *needs* to still do things in these times of SPAs
<samueldr> now, what should be considered a navigation and what shouldn't
<samueldr> it's **hard** when your results set change live
<samueldr> if you don't update the history with the searchbox location, then change page, then press back, what should happen?
<infinisil> As long as the page doesn't reload I don't think it needs a new entry
<infinisil> imo
<samueldr> infinisil: you see this with your developer eyes, where a "page reload" is something tangible
<samueldr> but the page doesn't reload when you change channels on the top
<samueldr> while it would be realistic to expect the back button to go back
kyren has quit [Client Quit]
* samueldr removes nixer hat, puts on webdev hat
__monty__ has quit [Quit: leaving]
<infinisil> Hmm.. I personally would prefer it not to do even that
<samueldr> and there are people that say nix is hard :)
<infinisil> I never see websites do that
<samueldr> infinisil: many websites have completely broken the expectations set by the web :/
<samueldr> and not necessarily for the best
<infinisil> Clicking a bunch of javascript buttons that instantly transition the page shouldn't clutter the history
<samueldr> again, you see "javascript buttons" but that's not what the history is about
<samueldr> it's not about http requests
<infinisil> I noticed because I needed to click "back" like 30 times to actually get to the last webpage!
<samueldr> but yeah, it's hard to define the best behaviour in this age where all websites break the expectations from before
<infinisil> Hmm..
<infinisil> I'll just leave a comment in the PR I guess
<samueldr> yes thanks :)
<samueldr> (even though I know it'll cause disagreements and further bike shedding :))
<samueldr> (on of my peeve is that, your website shouldn't act differently whether it's an SPA with js actions or completely http-based app)
<samueldr> (clicking next to get to the next page of result should always push on the history stack, and back should always pop)
<samueldr> (but then you have the fuzzy lines of live results)
<pie___> samueldr, i feel like i need to rever to an older haskellPackages or something...
<pie___> * infinisil
<samueldr> I was wondering what I could do about that :)
jumblemuddle has joined #nixos
<samueldr> hmm, can't remember the function to find where a package is defined :(
drakonis_ is now known as Drakonis
<jumblemuddle> Is there a way to install additional packages into the steam FHS? I'm trying to use steam-run to run a game, but I'm getting a "libxcb.so.1: cannot open shared object file: No such file or directory" error
<Drakonis> is it dead cells?
<jumblemuddle> Nah, Toontown Rewritten: https://www.toontownrewritten.com/
<Drakonis> a disappointment, i wanted to get dead cells running but maybe later after i'm done with work
<jumblemuddle> Dead Cells should just work through the Steam client, right?
<Drakonis> nah
<Drakonis> it looks for bash on /usr/bin
<Drakonis> sources one libhl
<Drakonis> you can set up your own FHS environment
<jumblemuddle> Yeah, I'm not sure I want to go that far for this.
<jumblemuddle> How are needed libraries for games installed? I added a shortcut in the Steam client and now I'm getting errors for "libz.so.1"
<selfsymmetric-mu> Drakonis: I'm in the exact same situation. I tried adding `zlib` to `pkgs.steam.override.extraPkgs` but no dice.
<{^_^}> #32881 (by uwap, 32 weeks ago, open): steam / steam-run: make it possible / document how to override steamrt dependencies
<Drakonis> there are games that use additional libraries not provided by steam
<Drakonis> alternatively, run steam from a flatpak
<jumblemuddle> Where's the documentation on steam-run?
<Drakonis> speaking of which, i should try doing that
fragamus has joined #nixos
<pie___> maybe language repos should be in subrepos with their own histories...?
<Drakonis> use submodules for that :V
<pie___> thats what i meant
<pie___> i think
<Drakonis> using flatpak may as well solve most of my headaches wrt proprietary packages
<samueldr> unless for each commit in $submodule a commit to update $submodule in nixpkgs is made, it becomes a mess of a moving target to build and test
<Drakonis> automation
<samueldr> automation doesn't provide a fixed point
<Drakonis> no lockstep updating though
<samueldr> (I do agree that a separate repo would be easier to use for development of that environment)
<{^_^}> [nixpkgs] @dotlambda merged pull request #44476 → simp_le: use python3Packages → https://git.io/fNXtv
<{^_^}> [nixpkgs] @dotlambda pushed to master « simp_le: use python3Packages (#44476) »: https://git.io/fNXY3
<samueldr> it also causes issues when e.g a ruby package uses a node package
<samueldr> (it needs re-architecting a bit compared to how nixpkgs currently works)
<Drakonis> among other things that could be redone in the future
<samueldr> I'm sure if a proper solution is thought of and worked on, it could be considered
<samueldr> yeah
<Drakonis> mainly making it easier to parse packages
<fragamus> Hi is there Heroku CLI for nixos
<Drakonis> um, no?
<Drakonis> yes
<Drakonis> i suspect it needs cleaning up
<fragamus> There’s one that is deprecated- I wonder if that is it
<Drakonis> that's probably it
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<iqubic> Does NixOS have a way to download the python tensorflow libray, along with tensor board to view the neural nets?
Ariakenom has quit [Quit: Leaving]
<iqubic> *tensorboard
pie___ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
jumblemuddle has quit [Ping timeout: 252 seconds]
kyren has joined #nixos
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simukis has quit [Ping timeout: 260 seconds]
kyren has joined #nixos
pie__ has quit [Remote host closed the connection]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has joined #nixos
hakujin1 has joined #nixos
alexteves has quit [Remote host closed the connection]
kyren has quit [Client Quit]
<Drakonis> iqubic, yes
<Drakonis> install python packages
<{^_^}> [nixpkgs] @nek0 opened pull request #44478 → Newtonjson → https://git.io/fNXOL