samueldr changed the topic of #nixos to: NixCon 2018 - 25-27 Oct In London https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
Lisanna has joined #nixos
astronavt has quit [Read error: Connection reset by peer]
astronavt has joined #nixos
<Lisanna> Running a nix-build with sandboxing turned off... is there a shell hack I can do that will enable a child process to persist beyond the end of the nix build? Or, to rephrase: a way to make nix not wait around for the child/background process/job to finish?
rprije has quit [Ping timeout: 245 seconds]
rprije has joined #nixos
<Lisanna> nix-build --expr 'with import <nixpkgs> {}; runCommand "hello" {} "sleep 20 & disown; jobs; exit 0;"' --option sandbox false
<Lisanna> This build runs for 20 seconds
<Lisanna> or will my build have to do something crazy like conspire with cron or systemd to get something resembling this behavior?
jperras has quit [Ping timeout: 272 seconds]
sigmundv has quit [Ping timeout: 244 seconds]
<Lisanna> s/crazy/crazier
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxg4a
<Church-> Lisanna: Why do you want this?
Rusty1 has joined #nixos
<Lisanna> Church- because sometimes you need an impure solution to handle impurity
<Lisanna> In this case, I need to start some kind of daemon that will wait for a bit, and then kill the host with a particular command (not shutdown).
<Lisanna> to give the nix build time to clean up and get out before the ship sinks
<Lisanna> but why is largely irrelevant - I'm just wondering if there's a way for a process to escape the watch of the nix builder/daemon, so tthat it no longer thinks that it's part of the build
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/76db7492db2 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<fiatjaf> how can I get dependencies from a nix-shell to not be garbage-collected?
jperras has joined #nixos
<YellowOnion> how well does nix handle large derivations?
mutlu has joined #nixos
mutlu has quit [Client Quit]
kiloreux has joined #nixos
<Lisanna> YellowOnion do you mean derivations that produce large outputs?
mutlu has joined #nixos
<YellowOnion> Lisanna, I guess? I'm kinda new to how this all works, I basically want to "nixify" my game server, but the game is about 30GB and the server has only 44GB of disk space.
<Lisanna> I have derivations hat when built produce outputs that are well in excess of 10GB
<Lisanna> you will run into trouble in that scenario as soon as you try to build it a second time, since there will then be two slightly different copies of the game output
<YellowOnion> Yeah, I was thinking it might cause issues on 2nd update.
jb55 has joined #nixos
<Lisanna> you can use nix-store --delete <output path> and then nix-collect-garbage to delete the output every time you want to rebuild
<Lisanna> nix can perform optimizations on the /nix/store by hardlinking identical files that it finds between two outputs, but that is run independently after the fact
<YellowOnion> Lisanna, the nix store is all symlink based right? So it's actually better than say ArchLinux packages, because I don't have to build the .tar.xz file?
<Lisanna> YellowOnion it's not really "all symlink based"... anything that goes into or comes out of a nix derivation will get copied into the store one way or another
<{^_^}> [nixpkgs] @Infinisil merged pull request #45225 → webassemblyjs tool suite: init at 1.7.8 → https://git.io/fNjkK
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxgBr
<{^_^}> [nixpkgs] @Infinisil merged pull request #47975 → containers: Make systemd journals available from the host → https://git.io/fx3xd
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxgBo
<YellowOnion> I could probably fix some of these issues with btrfs deduplication and compression.
<YellowOnion> I really wish I could afford more disk space on my VPS. ha.
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #45470 → nixos/znc: More flexible module, cleanups → https://git.io/fAkVQ
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fxgB5
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<aleph-> YellowOnion: How much space is on it?
<YellowOnion> aleph-, 45GB
<YellowOnion> I'm using Vultr's $10/month service.
Supersonic has quit [Ping timeout: 260 seconds]
<aleph-> Who's the vps through? Can usually get an additional disk fairly cheap
<aleph-> Oh vultr, you should be able to get an extra disk
<YellowOnion> aleph-, not in Sydney lol, and I'm unemployed at the moment so I'm making sure I don't burn through what little money I have till I get a job.
<aleph-> Ah aye, I know the feeling. Job hunting myself.
<aleph-> Have one lined up but he "needs" 80 hr weeks to compete with google. Bollocks, you ain't going to compete with google, get more employees if you want to
<YellowOnion> Ironically I've been trying to think of how to depoly a friends website to the server since she needs some hosting and I can apparently do it cheaper than her current service.
<YellowOnion> I kinda wish Vultr was as flexible as Amazon, just getting more disk or CPU or memory depending on what you need.
Supersonic has joined #nixos
jasongrossman has joined #nixos
silver has quit [Read error: Connection reset by peer]
<gchristensen> amazon isn't flexible like that, but GCP is -- you request a specific amount of ram and cpu and they bill you accordingly. for amazonyou have to decipher their great big matrix of instance types to get what you need
dvim has quit [Ping timeout: 246 seconds]
<infinisil> There's this scary button on GitHub on reviews "Dismiss review"
<infinisil> What's it do?
<infinisil> I want to click it!
<{^_^}> [nixpkgs] @Infinisil merged pull request #46753 → openspin: init at 2018-10-02 → https://git.io/fA19H
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxgR0
<samueldr> infinisil: removes the tick or x mark
<samueldr> (from a review)
drakonis1 has joined #nixos
julm has quit [Ping timeout: 244 seconds]
<infinisil> That makes sense, I guess
mutlu has quit [Quit: ... gone!]
<infinisil> Not sure what I expected :)
wpcarro has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
c15ade4 has joined #nixos
<fiatjaf> what do I do if a nix build fails?
<c15ade4> dumb question, I can't seem to find the definition of fetchFromGitHub
<fiatjaf> the same stuff was building ok with stack
<c15ade4> fiatjaf - read the error message?
<c15ade4> nix-shell can drop you in too
<fiatjaf> now rerebase isn't building
<fiatjaf> cause: Setup: Encountered missing dependencies:
<fiatjaf> rebase ==1.3
<fiatjaf> c15ade4, nix-shell is exactly the command that is failing
<c15ade4> gchristensen: ah, it is inline :) thank you
<gchristensen> c15ade4: (note the second listing, in all-packages.nix :))
<fiatjaf> how come rebase is missing? what should I do bring it back?
sgillespie has joined #nixos
wpcarro has quit [Ping timeout: 252 seconds]
<infinisil> fetchFromGitHub should be taken out of all-packages.nix really
<gchristensen> fiatjaf: the truth is I don't know. I don't know what "rebase" is, or what Setup is. these must be part of your project somehow
<fiatjaf> gchristensen, I don't know either. they are subdependencies
<fiatjaf> apparently a subdependency is missing somewhere.
nuncanada has joined #nixos
<Arahael> I'm planning on installing NixOS on a brand new machine - all for the first time. Any tips, particularly as I intend to setup LVM.
julm has joined #nixos
<fiatjaf> I don't know why nix isn't able to find it.
<gchristensen> fiatjaf: nix isn't unable to find it, whatever Setup is, can't find it
<fiatjaf> if it can find its dependant
<fiatjaf> gchristensen, I don't understand the difference
<gchristensen> Arahael: give /nix a good bit of disk space :)
<fiatjaf> or why does it matter
<samueldr> Arahael: any insecurities we could assuage?
<Arahael> gchristensen: ;) I intend to! I figure with a 500GB drive, I should give 500MB /boot, and 499.5GB all to LVM and / :)
<gchristensen> Arahael: perfect :D
<Arahael> samueldr: I'm just not sure about best practices in terms of UEFI, /boot, and that sort of thing.
<gchristensen> well because knowing what Setup is might help you find your solution. fiatjaf, are you working on a project using Nix with another person or team?
<Arahael> I'm also thinking of avoiding swap, as well. (Might setup zram, for swap, but that's it)
<samueldr> Arahael: the default nixos options assume the ESP is mounted directly at /boot, otherwise not much
<samueldr> and as for swap, Arahael, swap files should work nicely
<samueldr> [citation needed] they apparently are as quick as using partitions or LVM "partitions"
<fiatjaf> gchristensen, well, Setup is probably the name of the file that sets up the package. but the name of the package is 'rerebase'.
<samueldr> (though that's not nixos specific here)
<Arahael> samueldr: Yeah - does that mean that my /boot could *be* the uefi partition thing?
<fiatjaf> 'rerebase' depends on 'rebase'
<Arahael> samueldr: I've seen some people have separate efi and /boot partitions.
<emily> fiatjaf: this is Haskell-specific stuff
<samueldr> Arahael: the default in nixos is that /boot is assumed to be where the ESP is mounted at, but yes, you can mount it elsewhere
<sgillespie> What I don't quite understand is the user vs root nix-channel
<fiatjaf> emily, how?
<Arahael> samueldr: I might as well keep put it at /boot, it's vfat, though, right?
<fiatjaf> a missing dependency isn't a haskell problem, it's a nix problem!
<gchristensen> Nix just gives you the dependencies it is told to provide
sigmundv__ has quit [Ping timeout: 252 seconds]
nuncanada has quit [Quit: Leaving]
<samueldr> Arahael: might be easier to do as the defaults expect, but once you has done it, you can play around on other systems (vms even) to better grok that
<Arahael> samueldr: Wikipedia says that the efi partition is in /boot/efi, though they've taken Ubuntu as the source of truth *sigh*. So in Nix, it defaults to just /boot - nice and simple, awesome.
<sgillespie> For instance, If I have the same channel with `nix-channel --list` and `sudo nix-channel --list`, are they redundant?
<samueldr> Arahael: if you intend to use systemd-boot, the kernels and initrds will need to be copied to the ESP; grub can deal with a couple of FS and keep them in the main partition
<fiatjaf> gchristensen, how can I know what dependencies nix is being told to provide?
<samueldr> Arahael: though with 500MB it might not be an issue for a couple generations where the initrd and kernels change
<fiatjaf> if for example there's a bug in the nix expression for a dependency
<fiatjaf> such that a subdependency isn't being provided
<sgillespie> Arahael: the manual covers ESP quite well (especially compared to other manuals)
<gchristensen> fiatjaf: if you have a shell.nix, whatever it is doing in there is providing the dependencies. if you don't, then a default.nix
<Arahael> sgillespie: Why do you call it ESP? (Most people seem to call it "the EFI partition")
dvim has joined #nixos
<samueldr> EFI System Partition
<Arahael> Ah, of course. :)
<Arahael> I guess I'll play with it in any case once I get it. :)
<Arahael> 500MB is heaps, right?
<fiatjaf> gchristensen, I'm providing the dependencies, but not subdependencies
<gchristensen> Arahael: out of curiousity, why LVM?
<fiatjaf> in my default.nix there's no mention of the dependencies that are failing
<fiatjaf> because they're not direct dependencies
<samueldr> Arahael: four initrd, three kernels, 58.1 MiB [# ] /kernels
<Arahael> gchristensen: I like the flexibility. I can easily resize partions later, or add a second disk and suddenly have / take 1 GB instead of 500MB.
<Arahael> Erm, 1TB rather than 500 GB. :)
<Arahael> samueldr: Heaps - awesome. :) /boot will be 500MB then. :)
<gchristensen> you may need to add those too, I don't know, if emily is right that it is a Haskell proect, I don't know what Haskell needs.
<samueldr> a whole gigaboop for the whole root partition, you're generous!
<gchristensen> Arahael: ah cool, ok. fair enough :)
<samueldr> Arahael: make it 1GB if you want to have a full nixos rescue system as a boot option
<Arahael> samueldr: Heh, that was a bad typo. :)
<samueldr> 461.5 MiB [##########] rescue-initrd
<Arahael> samueldr: I can cope with having a USB stick for my rescue.
<{^_^}> [nixpkgs] @lopsided98 opened pull request #48600 → gstreamer: 1.14.2 -> 1.14.4 → https://git.io/fxg02
<gchristensen> you (probably) won't need it anyway :)
<Arahael> samueldr: Actually, that might well be convenient, I might as well make it 1GB.
<fiatjaf> gchristensen, please forget emily and help me understand
<gchristensen> but emily is a good helper too!
<sgillespie> Whenever I run `nix-env -qa` I get this: error: attribute 'bench' missing, at /nix/store/.../nixos/pkgs/top-level/all-packages.nix
<fiatjaf> but gchristensen, this is a generic question that should be applicable to every kind of project
<Arahael> Gotta go - thanks for the discussion!
<fiatjaf> if there's a dependency
<samueldr> Arahael: have fun!
<gchristensen> it isn't necessarily.
<Arahael> samueldr: I intend to! :)
<gchristensen> depends on the software.
<sgillespie> I can run the same command as root and it works fine
<fiatjaf> my project depends on A, A depends on B, B depends on C, but its build fails
<fiatjaf> how can I inspect the nix expression for B
<fiatjaf> if in my project I only specify A
<samueldr> sgillespie: I think your question fell in the cracks (busy minutes here!); all user's channels are independent from each-others, they can point to the same channel, and the downloaded channel might even be the same, but they are updated independently and managed independently
<samueldr> sgillespie: so if you nix-channel --update for your user, root's won't be updated, and vice-versa
<fiatjaf> there's a bug in the nix expression for 'rerebase' on master
<sgillespie> So if I look at `ls -l ~/.nix-defexpr/channels_root`, does this refer to `sudo nix-channel --list`?
<samueldr> sgillespie: if it points to the same location as mine does, yes
<samueldr> /Users/samuel/.nix-defexpr/channels_root -> /nix/var/nix/profiles/per-user/root/channels
<sgillespie> Hm, yes, it apparently does
<sgillespie> What is strange to me is I get `error: attribute 'bench' missing, at /nix/store/172f032q2c4pr8802pkkhl1b91dv1g7c-nixos-18.09.892.c06f5302f63/nixos/pkgs/top-level/all-packages.nix:19676:45`
<sgillespie> That hash is the same exactly as the path for the root channel
<sgillespie> So it would seem to me that if I get an error as sgillespie, it should also give me an error as root
<fiatjaf> gchristensen, :D
<fiatjaf> how do I submit a fix?
<gchristensen> fiatjaf: now you almost certainly need emily's help. I don't know how Haskell is packaged
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/19ee57bdaf3 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<sgillespie> OK, I can now see that it was something I had in my ~/.nixpkgs/config.nix
<sgillespie> Something must have changed recently with packageOverrides
<samueldr> (or with what was overriden?)
julm has quit [Ping timeout: 246 seconds]
<sgillespie> true
<sgillespie> it's my own package: haskellPackages.elocrypt = pkgs.haskell.lib.dontCheck pkgs.haskellPackages.elocrypt;
<sgillespie> Although I don't know what's wrong there
<fiatjaf> hmm
julm has joined #nixos
sgillespie has quit [Remote host closed the connection]
hamishmack has quit [Remote host closed the connection]
<drakonis1> ah fuck i did a stupid thing
<drakonis1> i forgot to change /nix to root and now i cant do anything
<drakonis1> how do i fix it
<drakonis1> its all read only and i have to fix it
<samueldr> change /nix to root?
<samueldr> what were you doing?
<samueldr> it might help to know, since the fix might be dependent
<drakonis1> i did a lustrate install and forgot to change the store's permissions to root
<samueldr> where were you at in the list?
<drakonis1> $ sudo chown -R 0.0 /nix
<drakonis1> i forgot to run this
<samueldr> forgot to run, but did run up to which instructions?
<samueldr> and you said "I can't do anything" what does this mean? were you able to boot the system? if so, up to where?
<samueldr> (sorry if it seems I'm asking a bunch, I never lustrated a nixos install)
<drakonis1> i booted into the new system
<drakonis1> turns out that this broke it
<samueldr> how is it broken?
<drakonis1> so nix commands have no permissions do do anythinf
<drakonis1> anything
<samueldr> can you login as root?
<drakonis1> yes
<drakonis1> but its read onlt
<drakonis1> cant change it because read only filesystem
<samueldr> good, just the fact that you can login as root means the system isn't hosed
<drakonis1> its mostly hosed
<samueldr> the read-only filesystem is to prevent users that shouldn't change the immutable store from touching it :)
orivej has quit [Ping timeout: 245 seconds]
<drakonis1> i need to remount it as rw
<samueldr> nah, temporarily inconvenienced
<drakonis1> hmm
<drakonis1> so, how do i get off this bind?
* samueldr is searching for something
<drakonis1> i would kill for a rescue mode kernel image
<drakonis1> i still have fedora's but it is hosed
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<samueldr> in your bootloader, append boot.debug1mounts to the boot arguments
<samueldr> this will stop before stage-2 is started, when stage-1 is mounted
<gchristensen> hmm doc tests are complicated when they want to refer to packages, ie: getOutput... but Nixpkgs isn't available for importing :)
<samueldr> gchristensen: provide a (documented) fake list?
<samueldr> like a known subset of example packages
<gchristensen> like secretly inject it in the doctest runner?
<gchristensen> secetly => (documented)
<samueldr> would it even make sense to pick derivations from elsewhere in the documentation (later) and refer to them?
<samueldr> so e.g. there's a sample "hello", if it was used elsewhere, referring to that same one
<gchristensen> probably not, this is reference not narative
<drakonis1> let's see if it works
<drakonis1> but i got into a shell
<drakonis1> samueldr++
<{^_^}> samueldr's karma got increased to 36
<drakonis1> system unhosed
<samueldr> generally, when it boots, there's hope :)
<{^_^}> [nixpkgs] @romildo opened pull request #48601 → theme-obsidian2: 2.6 -> 2.7 → https://git.io/fxguo
<gchristensen> ,tofu
<gchristensen> you awake, {^_^}?
<samueldr> no tofu for you
<gchristensen> I prefer it marinated anyway, straight 0's is so bland
<samueldr> I think the bot might have a bit of amnesia
rprije has quit [Ping timeout: 268 seconds]
<samueldr> is it back up?
jperras has quit [Ping timeout: 252 seconds]
<samueldr> oh youtube is back up
<clever> yep
<samueldr> though gchristensen, we'll have to see what the handler has to say; looks like it lost all commands that aren't code
<samueldr> ,
<{^_^}> Invalid page index, the last page is number -1
drakonis has joined #nixos
<drakonis> so i have a different problem now
<gchristensen> oops
<drakonis> the ownership is fucked five ways to sunday
<drakonis> so i need to fix the profile ownership now
<drakonis> WARNING: bad ownership on /nix/var/nix/profiles/per-user/drakonis, should be 1000
<drakonis> WARNING: bad ownership on /nix/var/nix/gcroots/per-user/drakonis, should be 1000
<drakonis> i figure i have to drop into an interactive shell to fix that?
<clever> drakonis: are you able to login at all?
<drakonis> i'm logged in right now
<drakonis> i had to fix root permissions on the store and now i got this one instead
<clever> should be able to just open a terminal then and sudo chown
garbas has quit [Quit: WeeChat 2.2]
<samueldr> clever: drakonis just lustrated from a fedora install, and just chowned 0.0 the whole nix store (as per the instructions) if it matters
<clever> yeah, i was helping him a few days ago
<samueldr> :)
<drakonis> that was actually yesterday :V
<clever> my memory is wonky, lol
<drakonis> could definitely go for a store health script
<clever> drakonis: nix-store --verify --check-contents is the command does that, but it doesnt check the ownership of things
<samueldr> gchristensen: yeah, fake it, looks good
<drakonis> would probably be good to check permissions as an emergency thing
<gchristensen> drakonis: +1
<gchristensen> good night
<{^_^}> Night!
<drakonis> good bot
<drakonis> good night
<drakonis> yay things are fine now
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon2 is now known as Mateon1
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
<drakonis> THIS IS FINE
<{^_^}> [nixpkgs] @matthewbauer opened pull request #48602 → Set CMAKE_SYSTEM_* for cross compiling → https://git.io/fxgzd
sablad has joined #nixos
<sablad> Hello, I recently tried updating from 18.03 to 18.09, but it fails to boot with this error: Failed to start File System Check on /dev/disk/by-uuid/5BAD-DF26
<sablad> I'm about to try to figure out why, but wanted to check first if there's a known breaking change with how file systems are loaded
<{^_^}> [nixpkgs] @lopsided98 opened pull request #48603 → lirc: add support for Python bindings → https://git.io/fxggu
drakonis1 has quit [Ping timeout: 252 seconds]
worldofpeace has quit [Ping timeout: 272 seconds]
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
drakonis1 has joined #nixos
dhess has quit [Quit: ZNC - https://znc.in]
<jackdk> I am trying to help a friend build taffybar against an old ghc, because apparently it leaks memory on ghc >= 8.4. I have this nix expression: https://pastebin.com/Wa1apu2i but am getting errors about a missing haskell-gi-overloading dep. What am I doing wrong?
Izorkin has joined #nixos
<jackdk> oh, I'm a twit - that sets an attribute called super.haskell-gi-overloading
pie_ has quit [Ping timeout: 268 seconds]
EarlDeLaWarr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Arahael> What's Steam like on NixOS? Worth it, or a waste of time?
<clever> Arahael: most games that work on linux just work in nixos too
<Arahael> (Note: It's a games thing, so it could be worth it *and* be a waste of time, that's acceptable)
<Arahael> clever: Very awesome. :)
<clever> and a couple windows games even work
<Arahael> Nice - I'll only have intel graphics, so my selection will be more limited, but if it's known to work in general, that means I can put in the time play with a few specific games.
<Arahael> Keen to check out rimworld.
<{^_^}> [nixpkgs] @peterhoeg merged pull request #48575 → magit-filenotify: Fix missing dependency on git → https://git.io/fxzwe
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxgaG
<clever> the steam homeplay stuff also works, so i can run any windows game on that box, and then stream it over the network
<Arahael> What's that?
<clever> steam can stream the gameplay from a windows box to the nixos box
<aleph-> clever: How about getting steams proton running?
<clever> and then stream your input devices back the other way
<aleph-> Been keen to play Nier Automata on my beast
<clever> aleph-: yeah, proton just works, for games that are compatible
<aleph-> Sweet
<Arahael> That's pretty awesome, I'm impressed.
<aleph-> Need something to detract from my ongoing panic
<clever> only bug i saw with proton was failing to find python3 in PATH, which has been fixed in nixos-unstable
<aleph-> Awesome
<Arahael> NixOS will also be a crash course in Nix, for me. :)
<aleph-> Reminds me, anybody get a bug with nix-env not working?
<Arahael> I'm a software dev,and whilst I normally very much dislike rolling releases, I'm hoping that nixos's advantages mitigate a lot of those annoyances
<clever> Arahael: how is it not working?
<aleph-> Running it to install any package gets me this:
<Arahael> clever: What do you mean? (Btw: I don't have it installed yet - still waiting on the hardware)
<aleph-> "error: syntax error, unexpected $end, at /nix/store/qchpbs64ppkl54mbmz5hk0ffhg29p902-env-manifest.nix:1:1
<aleph-> A path that doesn't exist.
<clever> aleph-: your manifest.nix was corrupted by an improper shutdown i think
<aleph-> Bollocks
<clever> aleph-: ls -lh /nix/store/qchpbs64ppkl54mbmz5hk0ffhg29p902-env-manifest.nix
<aleph-> Oh it does exist
<aleph-> 0 bytes
<aleph-> Can I just rm it?
carlosdagos has joined #nixos
<clever> yeah, your FS truncated it after an improper shutdown
<Arahael> aleph-: The :1:1 thing is shorthand in some languages to mean "line 1, character 1".
<clever> deleting it wont help any
<aleph-> Bollocks
<clever> aleph-: try nix-env --rollback
<aleph-> Nada
<aleph-> No older generations
<clever> ah, then your only option is to nuke the profile
<clever> ls -l ~/.nix-profile
<clever> aleph-: what does the above point to?
<aleph-> My profile path in the nix store
<clever> can you paste it here?
<aleph-> One sec
<clever> i only needed the one without /
<clever> aleph-: rm /nix/var/nix/profiles/per-user/noah/profile*
<clever> it may also remove home-manager
<aleph-> Nada
reinzelmann has joined #nixos
<clever> what error did it have?
<aleph-> Same as before
<clever> when doing what command?
<aleph-> It's not the end of the world just mildly annoying.
<aleph-> nix-env -i PACKAGE_HERE
<clever> aleph-: ls -lh /nix/var/nix/profiles/per-user/noah/
<drakonis> i need some advice here
<drakonis> i have to patch an elf
<clever> aleph-: and what is the full output from `nix-env -vvvv -i PACKAGE_HERE` ?
<aleph-> Sec
<drakonis> to make it use the nixos linker location
<drakonis> but the repl isn't letting me get the location for a library
<{^_^}> [nixpkgs] @c00w opened pull request #48604 → kernel: Turn on TCP_CONG_ADVANCED which allows TCP BBR to be a module. → https://git.io/fxgaX
<{^_^}> [nixpkgs] @bgamari opened pull request #48605 → Yosys updates → https://git.io/fxga1
<clever> drakonis: if you run nix-build on one of these nix files, it will generate a bash script in result
<clever> that bash script will then patchelf whatever you run it on
<drakonis> that one will patch up zlib i take?
<drakonis> will add zlib
<clever> it will make a zlib a dependency
<aleph-> clever: Give me a minute, damn file is too big to paste anywhere. >_>
<drakonis> i need libstdc++.so.6
<clever> drakonis: i think you want to add gcc.cc.lib to the list where zlib is
dhess has joined #nixos
<Myrl-saki> ,locate ragged2e.sty
<{^_^}> Found in packages: tetex, dblatex
<Myrl-saki> Wat
<clever> aleph-: why is it looking in /root? the previous messages say you where running as noah
<Myrl-saki> I have no idea why, but I don't have ragged2e lmao
<aleph-> I only have it set to run as root and I just realized I'm a complete f'ing idiot
joshie has quit [Ping timeout: 244 seconds]
<aleph-> Or I'm not, no profile to delete as root
<clever> aleph-: what does ~/.nix-profile point to on each user?
<aleph-> Sec
<aleph-> root: rwxrwxrwx 1 root root 29 Oct 11 23:50 /root/.nix-profile -> /nix/var/nix/profiles/default
<aleph-> noah: lrwxrwxrwx 1 noah users 43 Oct 12 12:06 /home/noah/.nix-profile -> /nix/var/nix/profiles/per-user/noah/profile
<clever> and ls -lh /root/.nix-profile/manifest.nix
<aleph-> lrwxrwxrwx 1 root root 60 Dec 31 1969 /root/.nix-profile/manifest.nix -> /nix/store/qchpbs64ppkl54mbmz5hk0ffhg29p902-env-manifest.nix
<clever> that one is intact
<clever> which user does nix-env -i foo fail as?
<drakonis> i don't actually nix-support?
<drakonis> where does that usually come from?
<aleph-> Root
Rusty1 has quit [Quit: Konversation terminated!]
<aleph-> Can't run it as noah
<aleph-> Only via sudo
<clever> aleph-: why cant you run it as noah?
<aleph-> Didn't set it up to do so. Forgot to and never got around to it
<aleph-> Just so used to doing package management under root
<clever> aleph-: what setup is missing?
<aleph-> Huh, for some reason I just assumed my noah user couldn't
<aleph-> So it can, and it gets this error when installing wine: rror: assertion failed at /nix/store/n4izhhaqpkv2mcg5n3xiwqrnzd81f9vw-nixpkgs-19.03pre155263.20c4986c4dd/nixpkgs/pkgs/development/libraries/vulkan-loader/default.nix:4:1
<aleph-> Let me try another package
<aleph-> Neat, so I don't care that much anymore
<aleph-> Weird error though
<clever> 4 assert version == vulkan-headers.version;
<clever> the version of vulkan-loader must match the vesion of vulkan-headers
dvim has quit [Ping timeout: 246 seconds]
drakonis has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @anpryl opened pull request #48606 → Rambox 0.6.1 build fix → https://git.io/fxgwb
<ekleog> hmm… there was some trick to get debug symbols from hydra… right? I can't find any relevant output for iproute2
<ekleog> or was the automated split of packages into normal output + debug symbols never implemented after all?
endformationage has quit [Quit: WeeChat 1.9.1]
<clever> ekleog: its partially implemented, but not enabled by default
<ekleog> ooh, `enableDebugging` :)
<clever> drakonis1: ah, you want runCommandCC, not runCommand, to get the nix-support bug fixed
<ekleog> thanks! now, to figure out how to have gdb not answer me “ss.c: No such file or directory”
<clever> ekleog: you have to run it in a dir with the unpacked source
<ekleog> clever: stupid question, but… is there a reason why it's not enabled by default?
<ekleog> oh
<clever> i think part of it is that gdb cant auto-load from the split outputs currently
* ekleog hoped there'd be a way for the debug symbols to include the store path of the source
<clever> you have to manually add them to the right search path
jackdk has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos
<ekleog> … and necessarily gdb doesn't even provide a way to set the right search path from environment variables…
<{^_^}> [nixpkgs] @FRidh pushed 163 commits to staging: https://git.io/fxgr5
<{^_^}> [nixpkgs] @FRidh closed pull request #48471 → [WIP] Refactor ~200 package from python-packages.nix -> python-modules → https://git.io/fxEKF
<{^_^}> [nixpkgs] @FRidh merged pull request #48415 → pythonPackages.gidgethub: init at 2.5.0 → https://git.io/fxR5S
<{^_^}> [nixpkgs] @FRidh pushed commit from @costrouc to master « pythonPackages.gidgethub: init at 2.5.0 »: https://git.io/fxgoE
aleph- has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @FRidh pushed 488 commits to staging-next: https://git.io/fxgoa
FRidh has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
Itkovian has joined #nixos
jasongrossman has joined #nixos
{`-`} has joined #nixos
aleph- has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #48607 → coqPackages.category-theory: fix build → https://git.io/fxgKv
pointfourone has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
Itkovian has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @FRidh pushed 490 commits to staging: https://git.io/fxg6e
Ariakenom has joined #nixos
jD91mZM2 has joined #nixos
hyper_ch2 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
siers has quit [Ping timeout: 246 seconds]
mokasin has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #48603 → lirc: add support for Python bindings → https://git.io/fxggu
<{^_^}> [nixpkgs] @FRidh pushed commit from @lopsided98 to master « lirc: add support for Python bindings »: https://git.io/fxgiT
<mokasin> My nixos declarative container in a private network does not have internet access. Do I need to define a route over my host or something?
jD91mZM2_ has joined #nixos
<mokasin> Ah, my bad. Oversaw the section in the manual.
jD91mZM2 has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
Itkovian has joined #nixos
siers has joined #nixos
mokasin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #48171 → pythonPackages.fs: 0.5.4 -> 2.1.1 refactor move to python-modules → https://git.io/fxWcX
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fxgPO
lonokhov has joined #nixos
<{^_^}> [nixpkgs] @qknight merged pull request #45464 → Fix hostapd's place in systemd dependency tree. → https://git.io/fATx6
<{^_^}> [nixpkgs] @qknight pushed commit from @clefru to master « Fix hostapd's place in systemd dependency tree. (#45464) »: https://git.io/fxgP1
jD91mZM2_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #48608 → unifiStable: 5.8.30 -> 5.9.29 → https://git.io/fxgXT
pointfourone_ has joined #nixos
<teto> nixops just dies with "error: stack overflow (possible infinite recursion)" any tip to where that comes from ?
patrl has joined #nixos
pointfourone has quit [Ping timeout: 272 seconds]
johanot has joined #nixos
<clever> teto: one theory is that you have actual infinite recursion in your nix expressions, does anything happen to maybe import itself?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #26839 → fetchMavenArtifact: prevent leaking nix hash to jar name → https://git.io/vQObr
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxgXF
pointfourone_ has left #nixos ["Leaving"]
civodul has joined #nixos
reinzelmann has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #48609 → libxml2: support python3 → https://git.io/fxg1I
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
orivej has quit [Ping timeout: 252 seconds]
<teto> clever: what do you mean ? nixos-rebuild/home manager work fine
<{^_^}> [nixpkgs] @peterhoeg merged pull request #48608 → unifiStable: 5.8.30 -> 5.9.29 → https://git.io/fxgXT
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxg1S
nD5Xjz has quit [Ping timeout: 252 seconds]
EarlDeLaWarr has joined #nixos
reinzelmann has joined #nixos
aleph- has quit [Ping timeout: 244 seconds]
EarlDeLaWarr has quit [Ping timeout: 250 seconds]
Lears has joined #nixos
[Leary] has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #48609 → libxml2: support python3 → https://git.io/fxg1I
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fxgMM
<{^_^}> [nixpkgs] @noneucat opened pull request #48610 → polar-bookshelf: init at 1.0.2 → https://git.io/fxgMy
jasongrossman has joined #nixos
<Cheery> "GC Warning: Bad initial heap size 100000 - ignoring it
<Cheery> otherwise the nixos-install seems to work
thc202 has joined #nixos
<clever> teto: what does `nixops info` return?
<teto> clever: starts with error: stack overflow (possible infinite recursion) then itgives some info on the deployment
freeman42y has quit [Read error: Connection reset by peer]
garbas has joined #nixos
freeman42y has joined #nixos
<teto> maybe I need to update it
<sphalerite> gchristensen: I think infinisil is right that I should have done it as a PR — it's not so critical (few affected applications) that at least the ofborg stuff could have happened for example. Even if I just went and merged it myself
drakonis1 has quit [Ping timeout: 252 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48510 → gzdoom: 3.5.1 -> 3.6.0 → https://git.io/fxu4x
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgDX
<Cheery> how many maintainers there are in the NixOS, and how many packages there are?
<jasongrossman> Cheery: There are tens of thousands of packages, but a lot of them are auto-translated from Haskell packages, Emacs packages, etc. I don't know how many have been written by hand.
<{^_^}> [nixpkgs] @FRidh opened pull request #48611 → nfs-utils: add python3 to buildInputs → https://git.io/fxgD9
<Cheery> just wondering because this seems to install neat, and it's bringing in something that looks recent.
<jasongrossman> Good!
<lassulus> Cheery: 47767 packages, 909 maintainers
<lassulus> (according to repology.org)
mekeor has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48581 → radare2: 2.9.0 -> 3.0.0, fix to use deps we provide → https://git.io/fxzyR
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fxgDp
<Cheery> the config script feels like a lot of it would be written by some defaults
kyren has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #48613 → x11vnc: 0.9.13 -> 0.9.15, adding maintainer → https://git.io/fxgy4
<{^_^}> [nixpkgs] @FRidh merged pull request #47671 → pythonPackages.pvlib: 0.5.2 -> 0.6.0 → https://git.io/fxk23
<{^_^}> [nixpkgs] @FRidh pushed commit from @jluttine to master « pythonPackages.pvlib: 0.5.2 -> 0.6.0 »: https://git.io/fxgyS
<{^_^}> [nixpkgs] @Mic92 merged pull request #48582 → radare2-cutter: 1.7.1 -> 1.7.2 → https://git.io/fxzyK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgSI
<clever> teto: oh, `nixops info --no-eval`
<{^_^}> [nixpkgs] @Mic92 pushed commit from @anpryl to master « rambox: fix invalid sha256 »: https://git.io/fxgSB
Acou_Bass has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #48606 → rambox: fix incorrect sha256 → https://git.io/fxgwb
<{^_^}> [nixpkgs] @Mic92 pushed commit from @anpryl to release-18.09 « rambox: fix invalid sha256 »: https://git.io/fxgSb
nD5Xjz has joined #nixos
<Cheery> it looks like it's time to read the whitepaper
<Cheery> and the rest of the manual
Czen has quit [Remote host closed the connection]
[Leary] has joined #nixos
magnetophon has quit [Ping timeout: 244 seconds]
sigmundv__ has joined #nixos
Czen has joined #nixos
__Sander__ has joined #nixos
Lears has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos
Enzime has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
<teto> clever: with no-eval I have no error it shows my single deployed VM characteristics
mekeor has quit [Remote host closed the connection]
mekeor has joined #nixos
kai_w has quit [Quit: Konversation terminated!]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<Taneb> With a NixOS option describing a systemd service, how can I give it extra "after"s and "want"s?
<Taneb> Specifically I'm using service.nix-serve and want it to depend on a service created by NixOps' depoyment.keys.<name>
<symphorien> systemd.services.foo.after = [ "blah.service" ] I think
<Taneb> symphorien: even for a service not created with systemd.services?
<symphorien> the underlying module creates the service this way
<alp> that's the "implementation" of that service.nix-serve.* configuration
<Taneb> Ah, thanks
mekeor has quit [Ping timeout: 252 seconds]
<Cheery> Is there some way to debug what the package manager does with your scripts?
<Cheery> basically would be looking for some summary of what happened, then summaries from those summaries
orivej has joined #nixos
<clever> teto: can you pastebin that output?
<Cheery> and explanations for where each file came from
<srhb> Cheery: What scripts are you talking about?
fendor has joined #nixos
<Taneb> So, I'll want something like systemd.services.nix-serve.after = pkgs.lib.mkForce [ "network.target" "secret-key.service" ];
orivej has quit [Ping timeout: 276 seconds]
<teto> hum nixpaste.lbr.uno redirects to buddyhour.com woot ?
<symphorien> Taneb: iirc by default lists merge so after = [ "secret-key.service"] is likely enough
<teto> clever: https://pastebin.com/mcuK3Szz but not sure what you can realize from this, it's very bland output
<{^_^}> [nixpkgs] @vdemeester opened pull request #48614 → kube-prompt: init at 1.0.4 → https://git.io/fxgFu
mekeor has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #48598 → Update bcachefs → https://git.io/fxgW0
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fxgFy
<Taneb> symphorien: ah, neat
<clever> teto: line 5 refers to 2 nix giles, can you also pastebin those files?
Acou_Bass has joined #nixos
<teto> clever: I had a look at these files already, tried to comment parts of it to no avail. They include some others so I am not sure how I can convey the final result to you. Isn't there any trick, environment variable I could set to give me a hint, it's a bit frustrating. I am not sure if strace would help me
<srhb> Do we have any mount tests going on anywhere? My system always fails to unmount home and var, which is not terribly nice.
<jasongrossman> srhb: I've had that on and off with zfs filesystems.
<srhb> Yeah, I suspect zfs as well.
<jasongrossman> srhb: But I don't think I've had it recently (since some weeks before 18.09), although I'm not positive I'd notice if it happened occasionally because I also have a VPN service that often fails to terminate correctly, so I sometimes force reboot.
<srhb> Hm..
<jasongrossman> Yes, hm.
<jasongrossman> srhb: And it was /home for me too (not /var, but my /var is not a separate partition).
<srhb> Home is more weird than var... Why would it be busy.
<srhb> Seems we have some broken dependencies.
<clever> teto: when did it start giving the recursion error?
<{^_^}> [nixpkgs] @volth opened pull request #48615 → chromium: propagate stdenv for "chromium.override{ stdenv=gcc8Stdenv; }" → https://git.io/fxgNY
<Taneb> symphorien: alp: thank you both for your help!
jD91mZM2_ has joined #nixos
* Taneb has finally got our local hydra server working as a binary cache
jD91mZM2_ has quit [Client Quit]
<kyren> Is there anything special about the name "nixos" vs "nixpkgs", I think I understand how NIX_PATH works and it makes sense, but I'm a bit fuzzy on what tools will look for <nixpkgs> and what will look for <nixos>. or does everything always use <nixpkgs>? This is really hard to google for
<symphorien> for legacy reasons, nixos is the name of nixpkgs on NixOS
<teto> clever: dunno what I did, cleaned up some things and it seems ok now. A better solution would be nice though
<betaboon> hello #nixos. is there a way to do the following: i have N services running on a machine, each service needs to be assigned a single port, currently i have to assign the ports manually, i would like to define a range of ports and have a unique port assigned to each service automatically. any ideas ?
orivej has joined #nixos
<kyren> so if I have a channel named nixos AND a channel named nixpkgs, what will happen?
<infinisil> betaboon: What service? If it's in the NixOS config, you can just do some programming to generate them
<hyper_ch2> nixpkgs is a collection of packages for the Nix package manager. Nixos is a linux distribution based soley on the nix package maanger
<betaboon> infinisil: i have my own nixos-service-module which runs python-flask-applications in systemd-units. can you point me somewhere on how to generate them ?
<symphorien> kyren: not sure, but new ui tools (nix build, nix eval ...) should use nixpkgs and old tools like nix-env will use nixos
Izorkin has joined #nixos
<infinisil> > deepEval (lib.listToAttrs (map (n: nameValuePair "service-${toString n}" { port = n; }) (lib.range 0 3)))
<{^_^}> undefined variable 'nameValuePair' at (string):200:36
<kyren> I know this sounds a bit silly, I got into this situation by having no root channels and only a nixpkgs channel (pointing to nixpkgs-unstable) on nixos (I'm using nixos-rebuild strangely), and I wanted to add a default channel and a separate nixos channel for nixops / nixos-rebuild, and I named it 'nixos' before figuring that might be a bad idea
<infinisil> > deepEval (lib.listToAttrs (map (n: lib.nameValuePair "service-${toString n}" { port = n; }) (lib.range 0 3)))
<{^_^}> { service-0 = { port = 0; }; service-1 = { port = 1; }; service-2 = { port = 2; }; service-3 = { port = 3; }; }
<infinisil> betaboon: Something like this ^?
<betaboon> infinisil: yeah something like that :)
<betaboon> infinisil: so assuming i have a set which defines the services i could take the length of the set to define the range and assign a port for each of them, right ?
<kyren> symphorien: so nix-env works with only a 'nixpkgs' channel AND with only a 'nixos' channel... does it check every channel or just those two? I'm really confused and I just can't find the documentation on this
<symphorien> nix-env ignores NIX_PATH
<symphorien> it uses ~/.nix-defexpr
<symphorien> and on NixOS, this will usually only contain a nixos channel which points to root's nixpkgs channel
<kyren> yeah I get that part, so does it check every channel in ~/.nix-defexpr/channels?
<infinisil> betaboon: Oh wait, you have services that aren't all the same?
<kyren> or I guess yeah also ~/.nix-defexpr/channels_root
<betaboon> infinisil: they are not all the same, but all of them have a port-option
<symphorien> I don't know the details
<infinisil> betaboon: Ah I see, then you can just do something like `listToAttrs (imap (n: name: nameValuePair name (services.${name} // { port = n; })) (attrNames services))`
<betaboon> infinisil: thanks for these pointers. i believe i can arrive at a working solution with those :)
<infinisil> :)
Ariakenom has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48597 → git-recent: 1.0.4 -> 1.1.0 → https://git.io/fxgc5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgxh
<kyren> symphorien: okay, I think I understand it now. nix-env doesn't care at all about what the channels are called, it will check every channel in some kind of order, or maybe all of them all the time, other things like nixos-rebuild just look for nixpkgs and that's it, but also obey NIX_PATH so they get redirected to the nixos channel for root
<kyren> so literally the only thing that the nixos channel seems to be is a convention that is codified in the default NIX_PATH env variable, and everything is looking for <nixpkgs>? I know you don't know the details and maybe don't actually care haha, but does that sound plausible / correct?
<kyren> this is just what I've discovered through experimentation
<symphorien> the history is: formerly nixos and nixpkgs were two different repos
<symphorien> nixos would only contains the modules, and use nixpkgs to provide software
<symphorien> but they are somwhat coupled so it was decided to put the nixos repo in the nixos directory of nixpkgs
<symphorien> but to keep some sort of backward compatibility, <nixos> points to <nixpkgs> today
<kyren> that makes sense, I saw the commit where at some point the structure of the two became exactly the same
<symphorien> NIX_PATH is probably a later addition
<kyren> NIX_PATH has 'nixpkgs' point to 'nixos', or it seems that way? it has: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
<lunik1> Hi, I'm having some trouble building findutils on nixpkgs 18.09
<symphorien> ah maybe, but in fine, nixos is a tarball of the nixpkgs repo on github
lostman has joined #nixos
<kyren> that makes sense, I *think* the way its set up makes sense now actually, thank you for your help!
<azazel> i'm trying to use makeWrapper during installPhase, but it's complaining that's missing..I'm doing something wrong?
Izorkin has quit [Remote host closed the connection]
Izorkin has joined #nixos
<azazel> do I need to add something to the buildInputs to make makeWrapper work?
rprije has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48516 → fio: 3.10 -> 3.11 → https://git.io/fxuRz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgh1
<cocreature> azazel: yes you need to add makeWrapper to buildInputs :)
<lostman> hi folks. I have an attribute set with a bunch of haskell packages and I'm wondering what is a good way to control the `-O` flags. I would like nix-shell to set `-O` or maybe `-O1` so everything builds faster
<lostman> is there an easy way to do it?
<{^_^}> [nixpkgs] @Mic92 merged pull request #48512 → git-review: 1.26.0 -> 1.27.0 → https://git.io/fxuB6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgh7
<azazel> cocreature: thanks
mayhewluke has quit [Ping timeout: 252 seconds]
nschoe has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48557 → adapta-gtk-theme: 3.94.0.149 -> 3.95.0.1 → https://git.io/fxzvf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxgje
orivej has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
<fiatjaf> how can I override a deep dependency on haskell?
<fiatjaf> I've tried all the guides in the internet and still don't understand what I have to do
<{^_^}> [nixpkgs] @Mic92 merged pull request #48559 → appimage-run: Fix type-1 support, used wrong directory → https://git.io/fxzfW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fx2ee
<fiatjaf> my override declarations are always ignored
patrl has quit [Ping timeout: 260 seconds]
simukis has joined #nixos
<infinisil> ,dnw fiatjaf
<{^_^}> fiatjaf: "Does not work" isn't very helpful: What doesn't work? What's the error?
<fiatjaf> ok, there isn't an error, the build just goes
<infinisil> Oh right you told they just don't get applied
<fiatjaf> as if I hadn't overrided anything
<infinisil> fiatjaf: So what are you trying to override, and what commands are you using?
<fiatjaf> this was my last try
<infinisil> fiatjaf: Soo, you're building your own haskell package?
mekeor has quit [Ping timeout: 260 seconds]
<fiatjaf> this one too
<fiatjaf> yes, I'm building my own haskell package
<fiatjaf> and it depends on something that depends on something that depends on rerebase. rerebase depends on rebase, but that dependency is specified wrongly on master.
<infinisil> So you want to haskellPackages.callPackage with rerebase set to some override
<fiatjaf> ideally I should be able to stop 'rerebase' from depending on 'rebase', but instead depend on 'rebase_1_3'
<infinisil> (pkgs.haskellPackages.extend (self: super: { rerebase = super.rebase_1_3; })).callPackage
<infinisil> Ohh
<infinisil> I see
<{^_^}> [nixpkgs] @teto opened pull request #48616 → Kernel: support shellHook when defining kernel → https://git.io/fx2ed
<infinisil> (pkgs.haskellPackages.extend (self: super: { rerebase = super.rerebase.override { rebase = self.rebase_1_3; }; })).callPackage
<infinisil> fiatjaf: This should do it
<fiatjaf> whoa
<fiatjaf> that worked
sb0 has quit [Ping timeout: 246 seconds]
<infinisil> :D
<fiatjaf> why weren't my 'config.packageOverrides' definitions and 'override' calls not working?
<infinisil> Um, probably something with haskell.packages != haskellPackages when overriding, not sure
<infinisil> packageOverrides is kinda deprecated too, overlays should be used instead
<fiatjaf> what is an overlay?
<infinisil> And they can be used easily with pkgs.haskellPackages.extend
<fiatjaf> does that apply to all kinds of dependencies, not only haskell?
<infinisil> fiatjaf: Pretty much just a function like `self: super: { <things I want to change> }`
<Lisanna> Hey, need some performance tuning advice
<infinisil> fiatjaf: There's a toplevel overlay thing for nixpkgs which replaces packageOverrides
<fiatjaf> thank you very much, infinisil
<infinisil> ,overlay fiatjaf
<{^_^}> fiatjaf: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<infinisil> But haskellPackages also has such overlays with extends
<infinisil> ,profiling Lisanna: this?
<{^_^}> Lisanna: this?: Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<Lisanna> When doing a remote build against a machine that has a *VERY* slow CPU, after the derivation build has finished, there's about 2 minutes of delay before it reaches the phase where it starts copying the result paths from the remote
<Lisanna> wondering what kind of operation is likely happening during this time window
<Lisanna> infinisil would either of those show any useful info for that?
<{^_^}> [nixpkgs] @teto closed pull request #48616 → Kernel: support shellHook when defining kernel → https://git.io/fx2ed
<Lisanna> oh, I guess I could try running in verbose mode
<infinisil> Ah yeah, verbose mode for that
<infinisil> the profiling stuff up there is only for nix evaluation
<Lisanna> Huh... for some reason default-builder.sh is having trouble exiting
orivej has joined #nixos
EarlDeLaWarr has joined #nixos
<Lisanna> ps lists the PID that default-builder.sh was running under as <defunct>
<Lisanna> and I can't kill it
<Lisanna> (sandboxing is off here)
patrl has joined #nixos
<Lisanna> if I kill the nix-build then the PID goes away though
init_6 has joined #nixos
<Lisanna> -vv isn't showing anything interesting... I'll try increasing it more I guess
<infinisil> Isn't defunct a zombie?
<srhb> Lisanna: defunct means it's already dead (zombie) but the parent process has not yet reaped it
<srhb> Meaning, it did exit.
<Lisanna> why would a bash -e default-builder.sh process become a zombie?
sb0 has joined #nixos
<Lisanna> with -vvvv nix-build is stuck at "waiting for children"
<sphalerite> Lisanna: yeah that sounds like it'd be nix's fault
<sphalerite> when you kill the parent, the child is inherited and reaped by init, so that's why it disappears
<Lisanna> sphalerite I'm guessing the parent is "nix-daemon --stdio"?
<sphalerite> yeah should be
<sphalerite> you could try stracing it to see what it's doing instead of waiting for its child
<Lisanna> yeah, that's the parent
<Lisanna> I'll try stracing it
<srhb> If that does yield a proper wait syscall, time to check dmesg.
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #48617 → coq: add ocamlPackages in passthru → https://git.io/fx2Ju
<Lisanna> "select(12, [11], NULL, NULL, NULL"
<Lisanna> nothing interesting in dmesg
<sphalerite> hm, weird. What's fd 11 of the process? (lsof it)
philippD has joined #nixos
<Lisanna> sphalerite it has four FIFOs named "pipe" open with device 0,11
<Lisanna> nix-daemo 6301 root 11r FIFO 0,11 0t0 36937 pipe
nbardiuk has joined #nixos
strobelight has joined #nixos
<realrokka> why does light suddenly need root? my backlighted controls stopped working around yesterday, someone noticed the same?
strobelight_ has joined #nixos
strobelight is now known as Guest52277
<sphalerite> Lisanna: hm, I don't know how to follow pipes :/
<sphalerite> Lisanna: is this a remote build?
<Lisanna> sphalerite yes
strobelight_ is now known as strobelight
<sphalerite> has the connection been lost? Is there a version mismatch between the nixes on either end?
<sphalerite> realrokka: are you using programs.light.enable = true;?
<Lisanna> sphalerite there's a pretty real possibility that the versions are mismatched, although they're both 2.0
<Lisanna> 2.0-based
Tucky has joined #nixos
<clever> Lisanna: the nix-build above the builder might be scanning $out for deps
<sphalerite> clever: surely it won't do that before the builder has terminated.
<clever> 2018-10-17 08:19:16 < Lisanna> ps lists the PID that default-builder.sh was running under as <defunct>
<sphalerite> ooooh whoops. I misread, thought the *builder* was defunct
<clever> maybe due to a minor bug/oversight, it waits for the builder to terminate, but doesnt reap the zombie
<clever> and after it checks the deps,it reaps?
<Lisanna> the default-builder.sh process becomes defunct
Guest52277 has quit [Ping timeout: 272 seconds]
<clever> Lisanna: what does `top` say its parent is doing cpu% wise?
<realrokka> sphalerite: yes
<realrokka> sphalerite: how else should I do it?
<Lisanna> clever the nix-daemon process is using 0% CPU
<sphalerite> realrokka: that does seem like the right way to me, just checking
<sphalerite> realrokka: what does `which light` say?
<clever> Lisanna: run `strace -p <pid>` against it, what does it show?
<sphalerite> clever: we've been through that above
<realrokka> sphalerite: /run/current-system/sw/bin/light
<sphalerite> realrokka: right, that's wrong… does /run/wrappers/bin/light exist/
<realrokka> sphalerite: ls: cannot access '/run/wrappers/bin/light': No such file or directory
<realrokka> sphalerite: nix-info btw. https://pastebin.com/0vu0QdHU
<sphalerite> realrokka: this stopped working the last few days you said, did you do an upgrade between it last working and it first not working?
<sphalerite> and what does `nixos-option programs.light.enable` show? And `nixos-option security.wrappers.light.source`?
<realrokka> sphalerite: iam on autoupdate, there where at least 2 derivations build since it stopped working, https://pastebin.com/8ta2UguY security.wrapper.light.source output is empty
<Lisanna> nix on the remote is on commit e2f56c1333d542b8022205215b637a30e71314c7 (somewhere between 2.0 and 2.0.1) and nix on the local machine is release 2.0.4
<realrokka> sphalerite: should i file a bug report/github issue?
<octe> if i have "home.packages = [ ... ];" in one nix-file and import another nix-file in it that also has "home.packages = [ ... ];", why does home.packages become a list of both? why doesn't one override the other?
haitlah has joined #nixos
<haitlah> Hey guys !
<haitlah> Anyone can help me sort out stuff about haskell integration in nix ?
<haitlah> I'm trying to run a pure shell with my package, overriding it to have cabal in buildInputs but cabal is still not found
<haitlah> nix-shell --pure --run "cabal repl"
sablad has quit [Ping timeout: 245 seconds]
<haitlah> https://pastebin.com/raw/W88MwEZf with this script for shell.nix
<{^_^}> [nixpkgs] @lheckemann opened pull request #48618 → nixos/wrappers: remove outdated upgrade code → https://git.io/fx2kq
<Lisanna> nix doesn't always get stuck like this... I was able to run a few remote builds against this target successfully until it started getting stuck. seems like all future attempts are getting stuck
<haitlah> I am getting /tmp/nix-shell-4084-0/rc: line 1: cabal: command not found
<sphalerite> realrokka: yeah, I'm not sure what's going wrong here.
<Lisanna> OK, hang on, I found a really strange common factor with the ones that get stuck
<clever> haitlah: and what is in your shell.nix ?
<Lisanna> this might be a very unlikely coincidence, but they had all called "sleep infinity" in a child process
<Lisanna> but that process gets terminated successfully :/
<clever> haitlah: your addCabal function is altering the base derivation, then you use .env to get the non-base derivation
<clever> haitlah: you want addCabal carrier-directory.env
<clever> haitlah: or, `ghc Setup.hs -o Setup && ./Setup repl`
<haitlah> clever: If I addcabal x.env it tells me that overrideDerivation is not an attribute
<haitlah> This function is needed to override the package
<clever> haitlah: its simpler to use Setup.hs
mekeor has joined #nixos
<haitlah> clever: what do you mean I just have to run ghc directly insead of cabal ?
<Lisanna> oh, nevermind, I'm really dumb... I found a bug in my logic that causes that process to stick around if it was passed "infinity" for the sleep duration
<clever> haitlah: if you manually compile Setup.hs with ghc, then you can use the Setup binary in-place of cabal
<clever> haitlah: and `./Setup repl` will be identical to `cabal repl`
<haitlah> clever: will try that thanks :)
astronavt has quit [Ping timeout: 244 seconds]
<Lisanna> wait... nevermind. I'm not really dumb... well, I am, but my logic actually looks correct ):
<{^_^}> [nixpkgs] @Chiiruno opened pull request #48619 → Update bcachefs (cherry pick for 18.09) → https://git.io/fx2kV
<haitlah> clever: worked like a charm !
<clever> haitlah: the root problem, is that nixpkgs provides a Cabal package (as a haskell library) but no cabal executables
<clever> haitlah: and Setup.hs is just a thin wrapper around the main function in the cabal executable
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ff7413b1603 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @dtzWill opened pull request #48620 → gpa: 0.9.10 -> 0.10.0 → https://git.io/fx2k7
<haitlah> clever: Any way I can't get cabal working by adding it to the PATH instead of overriding the derivation ?
<haitlah> clever: Or what you told me is the best pratice ?
<clever> haitlah: lib.overrideDerivation might work
<clever> hmmm, its just a normal mkDerivation
<kreisys> When I use `builtins.fetchGit ./.` I get an object where rev/revCount/shortRev are all 0 or strings of 0s... is that expected? https://pastebin.com/eLTEsSrf
<clever> haitlah: you can also use haskell.lib.overrideCabal to add to the executableSystemDepends or similar
<Lisanna> OK. I've confirmed that for some reason a process that I'm *confirming is getting killed with SIGTERM*, if it was sleeping, nix will think that the process is still alive, and wait for it.
<haitlah> clever: Will have a look at it thanks :)
<{^_^}> nix#1933 (by cleverca22, 32 weeks ago, open): builtins.fetchGit improvement with unclean repo's
<clever> kreisys: if the repo is dirty, it will just return all 0's
<Lisanna> i.e., kill -TERM $pid; wait $pid; is completing fine, verified with echos and the shell message that the process was terminated. But nix is still seeing some remanent of it somehow and so the builder refuses to exit, stuck waiting for children
<kreisys> ah! perfect thanks!
<Lisanna> if I never launch the process in the first place this problem doesn't happen.
<haitlah> clever: As you mentionned, lib.overrideDerivation is working nicely, I can addCabal pkg.env now :)
<haitlah> clever: Having access to cabal in the pure shell now, thank you
pie_ has joined #nixos
<Lisanna> How does nix wait for all the children of the build process? I was screwing around with it a bit earlier, and it seems very sophisticated - attempting to disown background process by e.g. double forking wasn't enough to fool it.
<symphorien> maybe a cgroup ?
<Lisanna> 'cause it's being a bit overzealous here... even though the background process was verifiably killed, nix still thinks its alive, so it's refusing to exit
<Lisanna> "Process output from the file descriptors attached to the children"
<Lisanna> .....could the fd for the child somehow be sticking around even after the child was terminated?
<symphorien> technically speaking someone with appropriate rights can open /proc/pid/fd/n
<Lisanna> sphalerite what are you implying?
<Lisanna> ah, sorry, meant to mention symphorien
<Lisanna> wow this code is ancient... most of this was written 15 years ago
<symphorien> you get eof on a pipe when no processes has the write end of the pipe open
<Lisanna> symphorien so are you saying that some other process might have opened the fd?
<symphorien> so if root runs "cat > /proc/somepid/fd/somefd" then the build will hang
<symphorien> but it seems very unlikey
<symphorien> *unlikely
<Lisanna> symphorien I'm not running anything else funky on this machine that I can possibly imagine would be doing that...
<Lisanna> is there a command I can use to check to see if any other process has the fd open?
<symphorien> lsof
<symphorien> each pipe has a unique id
<sphalerite> what if a child process inherits the pipe FD, then closes it?
<symphorien> lsof | grep this_id will give you whi has the pipe open
<symphorien> sphalerite: they get killed I think
<{^_^}> nix#2176 (by nlewo, 20 weeks ago, open): Builder is sometimes unexpectedly killed
<Lisanna> symphorien what is the ID of the pipe? is that the "NODE" column of lsof?
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Lisanna> oh my god
<Lisanna> there are sleep processes that have that pipe open
<Lisanna> wtf
Izorkin has joined #nixos
<Lisanna> sleep 6511 root 2w FIFO 0,11 0t0 30799 pipe
<Lisanna> how?!?!?!
<Lisanna> does sleep fork?!?!
<symphorien> yes the NODE column
<symphorien> they just inherited it as their stdout
<Lisanna> oh my god... the sleep got orphaned and re-assigned to init
dvim has joined #nixos
<Lisanna> OK, this is pretty annoying. In general, when I kill a shell script I've launched, I want everything that *it* has spawned to *die*. Is there a mode I can set that will do that? I remember reading something about this involving nohup...
<Lisanna> ...might be a better question for #linux
<symphorien> hum if you setsid you script, signal sent to the script will be relayed to the children, iirc
<Lisanna> symphorien OK, this post describes my issue: https://stackoverflow.com/questions/34438189/bash-sleep-process-not-getting-killed
<Lisanna> looks like I can deal with it by sending SIGTERM to the process group instead
<symphorien> where is the boundary between process groups ?
<Lisanna> *shrugs*
<clever> symphorien: most of the time, everything shares a process group, but there is a special syscall to make yourself the leader of a new group
<symphorien> setsid, right ?
silver has joined #nixos
<clever> yeah, i believe thats it
<symphorien> my point is: if bash calls setsid at the beginning of a script, and then you call another shell script, you end up with two process groups
<clever> ah
<symphorien> (that was an hypothesis, not an affirmation)
<kiloreux> So I have this file https://gist.github.com/kiloreux/c78a5964b32cf3632306e496a551b004 that I am trying to install its components from a buildEnv setup but it won't install them. And it tries to install all pythonPackages.
<kiloreux> Does anyone have an idea about the current syntax for this ?
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<realrokka> sphalerite: I submitted an issue https://github.com/NixOS/nixpkgs/issues/48623
<{^_^}> #48623 (by rokk4, 49 seconds ago, open): light is not working withough root
<clever> kiloreux: minor nitpick, line 33, dont use toString on paths
<{^_^}> [nixpkgs] @volth opened pull request #48624 → oraclejdk8: 8u181 -> 8u191 → https://git.io/fx2qd
<kiloreux> Thank you clever. What is the alternative ?
<clever> kiloreux: just pkgs.path by itself
<clever> kiloreux: paths convert to strings automatically
<clever> and using toString on them gives an entirely different value, and often breaks things
<clever> but i dont see any obvious cause for the original problem
haitlah has quit [Remote host closed the connection]
<clever> > "raw path: ${./.}, toStringd: ${toString ./.}"
<{^_^}> "raw path: /nix/store/1w4a8rdgw23kl3jjgqsn8d82wa868hfl-nixpkgs, toStringd: /var/lib/nixbot/state/nixpkgs"
<sphalerite> realrokka: good stuff. You seem to have missed out or put in an extra ``` somewhere though :)
fendor has quit [Ping timeout: 260 seconds]
<kiloreux> Thank you clever. I will fix it, here's how I am trying to use this file in my buildEnv https://gist.github.com/kiloreux/5be2cfda502d9c5ea22c426e58633314
<{^_^}> [nixpkgs] @exarkun opened pull request #48625 → nixos/tor: better support non-anonymous services → https://git.io/fx2mB
<kiloreux> And it doesn't install it at all. Knowing that I need to install this derivative https://gist.github.com/kiloreux/c78a5964b32cf3632306e496a551b004#file-sample-nix-L60
iyzsong has joined #nixos
<clever> kiloreux: its not clear where the .packages from line 8 is defined
<sphalerite> realrokka: could you run `grep light /run/current-system/activate`?
wpcarro has joined #nixos
davenpcm has joined #nixos
<wpcarro> Is there a known way in NixOS to change the brightness of your webcam? I have an interview upcoming in an hour and forgot that this would be a problem!
davenpcm has quit [Client Quit]
<realrokka> sphalerite: sry, ill correct this, the grep hast no output at all
<sphalerite> wpcarro: I think it depends on the webcam but usually this sort of thing auto-adjusts I think
davenpcm has joined #nixos
<wpcarro> sphalerite: interesting... mine looks kind of bad. I'm using `hardware.facetimhd`
<wpcarro> for the MBP
<wpcarro> It's really red and kind of dark
<exarkun1> wpcarro (IRC): First step is probably to figure out how you would reconfigure your webcam with its native tools and configuration. Once you know that, you can figure out how to control those tools and configuration with NoxOS.
<exarkun1> wpcarro (IRC): Also you might just turn on a light.
<__monty__> You're not using something like f.lux, are you?
<wpcarro> __monty__: no
<wpcarro> exarkun1: I think I may need to just flood my face with light during this thing
<wpcarro> as for the redness... I can try and budget some time to investigate how to configure it ad-hoc - as you suggest
<sphalerite> wpcarro: if you run cheese (nix run nixpkgs.gnome3.cheese -c cheese), does adjusting the parameters in Preferences > Image make a difference?
fendor has joined #nixos
<wpcarro> sphalerite: I can try that! I don't have Gnome though but I'll give it a shot
<{^_^}> [nixpkgs] @dotlambda pushed to master « pdfpc: 4.1.2 -> 4.2.1 »: https://git.io/fx2YU
<sphalerite> wpcarro: neither do I, it's just the first webcam application I could think of :p
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7dea8e403e5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<wpcarro> sphalerite: no worries. I'm still learning ab the Linux Desktop environment etc
<clever> kiloreux: ah, yeah, that does look like it
<clever> kiloreux: so that will be whatever the fold on 158 returned
<sphalerite> wpcarro: but again stuff like that *should* be autoadjusting for most hardware… I never had a problem with my MBP camera (quite an old mbp though, from 2011, who knows what's changed since then)
<wpcarro> sphalerite: not seeing `Preferences > Image`
<exarkun1> Should I tag the maintainers of the tor package on my PR for improving NixOS tor configuration?
<sphalerite> wpcarro: Preferences should be in the Cheese menu at the top
<sphalerite> exarkun1: yes
<wpcarro> sphalerite: sorry I should've been more clear. I see Preferences... let me list which options are available to me though
<sphalerite> you don't have to but it can be very helpful to avoid nasty surprises and get your PR reviewed and merged quicker
<wpcarro> sphalerite: Device, Photo resolution, Video resolution
<kiloreux> clever, and how can I use that from buildEnv ? because if I run nix-env -i sample.nix it's installed perfectly. Not the case when I use it from buildEnv inside a nix file however.
<sphalerite> wpcarro: yes, that's what shows for me too, in the webcam tab
<sphalerite> wpcarro: but there are two other tabs, "Image" and "Capture" in that dialog for me
<wpcarro> sphalerite: ah! I see now... my GUI settings are super flat
<clever> kiloreux: did the buildEnv one give any errors?
<wpcarro> will need to fix that eventually...
<exarkun1> sphalerite (IRC): thank you.
<kiloreux> clever, not really it doesn't. It's just that my desired packages aren't installed at all.
<kiloreux> Without any error
<wpcarro> sphalerite: I see brightness now... adjusting it works as well!
<clever> kiloreux: if you run nix-instantiate on the buildEnv, then `nix show-derivation` on that drv, what is in the paths attribute?
<wpcarro> sphalerite: thanks for the tips. Hopefully these changes can persist for Google Hangout
datakurre has quit [Ping timeout: 252 seconds]
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nix] @edolstra merged pull request #2481 → install script: remove unportable command check, fixup errant escape → https://git.io/fxzc9
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fx2Y5
<kiloreux> clever, I had already shortened that one to be clear on the gist. The actual file is bigger. But I can see all python packages in the path there, sample :""pkgs": "[{\"paths\":[{\"LinkChecker\":\"/nix/store/x6p35p1l0kan3mcgmvkg5ki3ylxpc3w5-python2.7-LinkChecker-9.2\",\"PyYAML\":\"/nix/store/56xyr9qhp8shqb7kzx5bi0bvv28g13rf-python2.7-PyYAML-3.12\",\"awscli\":\"/nix/store/b5yvwmbs4cdba26v473h4gs7k6yq9ldw-python2.7-awscli-1.11.165\""
Izorkin has joined #nixos
<sphalerite> wpcarro: you can try webrtc with https://webrtc.github.io/samples/src/content/getusermedia/canvas/
<clever> kiloreux: that looks more like a set then a list?
<clever> kiloreux: if you `nix repl sample.nix` and then eval `packages`, which is it?
<kiloreux> nix-repl> eval `packages`
<kiloreux> error: syntax error, unexpected $undefined, expecting $end, at (string):1:6
<kiloreux> clever, I got this.
<clever> kiloreux: just packages, on its own
<kiloreux> clever, still getting syntax errors nix-repl> packages
<kiloreux> error: undefined variable 'packages' at (string):1:1
<clever> kiloreux: and that was when you ran `nix repl sample.nix` ?
<kiloreux> clever, yes.
<arianvp> something is really broken since the last update
<arianvp> /etc doesnt get generated anymore on nixos-rebuild
<arianvp> If I add new stuff to environment.systemPackages nothing happens, and also new systemd services do not get registered
<clever> arianvp: which channel are you on?
<arianvp> 18.09
<clever> arianvp: what is the output from nixos-rebuild?
<arianvp> nixos-18.09.892.c06f5302f63 to be exact
<arianvp> building Nix...
<arianvp> building the system configuration...
<wpcarro> sphalerite: thanks for the pointers!
<clever> arianvp: anything else?
<arianvp> Okay I added a new thing to environment.systemPackages now there's more output
<arianvp> but still isn't added to the environment
<arianvp> ... fuck me.. I typed "boot" instead of rebuild
<arianvp> :')
<clever> arianvp: then the changes wont take effect until you reboot!
<arianvp> hehe
<arianvp> s/boot/switch and not it works
<arianvp> :)
<{^_^}> [nixpkgs] @ivan opened pull request #48626 → autobahn: 18.8.1 -> 18.9.2, txaio: 18.7.1 -> 18.8.1 → https://git.io/fx2sy
<{^_^}> [nixpkgs] @samueldr merged pull request #48301 → Update Monero for upcoming hard fork → https://git.io/fxBVd
<{^_^}> [nixpkgs] @samueldr pushed 4 commits to master: https://git.io/fx2sp
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
haitlah has joined #nixos
Izorkin has joined #nixos
revtintin has joined #nixos
mekeor has quit [Remote host closed the connection]
jperras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48460 → postfix: add setgid wrapper for postqueue/postdrop → https://git.io/fx0Nc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fx2Zc
<{^_^}> [nixpkgs] @dotlambda opened pull request #48627 → restic: 0.9.2 -> 0.9.3 → https://git.io/fx2Z5
smolboye has quit [Ping timeout: 252 seconds]
sablad has joined #nixos
wpcarro has quit [Quit: leaving]
<{^_^}> [nixpkgs] @magnetophon opened pull request #48628 → bs1770gain: 0.4.12 -> 0.5.0 → https://git.io/fx2nE
smolboye has joined #nixos
haitlah has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<Taneb> If I were setting up a machine with NixOS with the intent of configuring it remotely with NixOps, do I need to give it much of a configuration to begin with?
iyzsong has quit [Ping timeout: 276 seconds]
<srhb> Taneb: Not really, just ssh.
reinzelmann has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #48624 → oraclejdk8: 8u181 -> 8u191 → https://git.io/fx2qd
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « oraclejdk8: 8u181 -> 8u191 (#48624) »: https://git.io/fx28Z
<{^_^}> [nixpkgs] @alyssais opened pull request #48629 → bundler: 1.16.3 -> 1.16.4 → https://git.io/fx28E
<{^_^}> [nixpkgs] @xeji merged pull request #48601 → theme-obsidian2: 2.6 -> 2.7 → https://git.io/fxguo
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « theme-obsidian2: 2.6 -> 2.7 (#48601) »: https://git.io/fx28g
endformationage has joined #nixos
smolboye has quit [Ping timeout: 272 seconds]
smolboye has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
mokasin has joined #nixos
oida has quit [Ping timeout: 256 seconds]
sir_guy_carleton has joined #nixos
sirkha has quit [Quit: Leaving]
erasmas has joined #nixos
emacsoma1 has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
drvirgilio_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #48630 → home-assistant: 0.77.3 -> 0.80.1 → https://git.io/fx2B2
<mokasin> Hey. What is the best way to debug and test a module or nix-expression? Just nixos-rebuild build or is there a smarter way?
nD5Xjz_ has joined #nixos
<symphorien> for a package (not a module), nix-build /path/to/git/checkout -A libfoo
sphalerite_ has joined #nixos
<symphorien> for a module, you can write a nixos test and then run it, or use nixos-rebuild build-vm as alternatives
siers has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #48620 → gpa: 0.9.10 -> 0.10.0 → https://git.io/fx2k7
dvim has quit [*.net *.split]
nbardiuk has quit [*.net *.split]
[Leary] has quit [*.net *.split]
nD5Xjz has quit [*.net *.split]
realrokka has quit [*.net *.split]
YellowOnion has quit [*.net *.split]
pent has quit [*.net *.split]
mic921 has quit [*.net *.split]
clacke[m] has quit [*.net *.split]
MarkOtaris has quit [*.net *.split]
ajs124 has quit [*.net *.split]
pointfree has quit [*.net *.split]
Jackneill has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
Mikaela- has quit [*.net *.split]
Ralith has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
Khetzal has quit [*.net *.split]
steveeJ has quit [*.net *.split]
h30 has quit [*.net *.split]
ent has quit [*.net *.split]
dweller has quit [*.net *.split]
sphalerite has quit [*.net *.split]
trebuh has quit [*.net *.split]
azdle has quit [*.net *.split]
fyuuri has quit [*.net *.split]
spacefrogg has quit [*.net *.split]
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « gpa: 0.9.10 -> 0.10.0 (#48620) »: https://git.io/fx2RG
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> gchristensen: why would you stop?
mkaito has joined #nixos
<gchristensen> I don't know :')
<mokasin> symphorien, thx, that's a start
<samueldr> do pause, but never stop :D
azdle has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
<gchristensen> samueldr: I was thinking, wouldn't it be neat if I didn't have to add that fake pkgs stuff to test.py, but instead right next to the example, but in such a way that it isn't published? https://gist.github.com/grahamc/7a0a55be92c452495a31989aa9f826df
<samueldr> gchristensen: much more elegant, and with less side-effects :)
<samueldr> fewer*
* samueldr thinks: should side-effects be counted as a volume or as discrete things?
<gchristensen> hehe
<gchristensen> well anyway, so that took me down this road of figuring out how the heck to do _that_
<{^_^}> [nixpkgs] @WilliButz opened pull request #48631 → grafana: 5.2.4 -> 5.3.1 → https://git.io/fx2Rp
<gchristensen> and at the same time, this horrible list can just become part of a file instead of having to reverse engineer nix -> bash -> java argument parsing plus nix-shell restartshttps://github.com/NixOS/nixpkgs/blob/master/doc/default.nix#L21-L30
<{^_^}> [nixpkgs] @clefru opened pull request #48632 → Fix hostapd's place in systemd dependency tree. (#45464) → https://git.io/fx20I
Mikaela- has joined #nixos
dweller has joined #nixos
pointfourone has joined #nixos
<samueldr> <3 gchristensen maybe the system-built documentation can be ported to the same styles (minus the top bar) than the website use that way (not sniping you, but since it's paving the road maybe I'd take a detour)
Cheery has left #nixos [#nixos]
<gchristensen> yes, that'd be nice
<gchristensen> and check this out. https://github.com/travis-ci/docs-travis-ci-com/pull/1987 click "View Details" then the "Details" link by the "Netlify" status check.
<{^_^}> travis-ci/docs-travis-ci-com#1987 (by grahamc, 8 weeks ago, merged): Nix: Note the `nix:` option
<Ke> is there an empty derivation?
clacke[m] has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48511 → gmsh: 4.0.1 -> 4.0.2 → https://git.io/fxuBc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fx2Ee
<Ke> I guess {} works
Cheery has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48632 → Fix hostapd's place in systemd dependency tree. (#45464) → https://git.io/fx20I
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fx2Ef
ryantrinkle has joined #nixos
<Cheery> Where do I find the maak, and the haskell source code for nix's package manager?
fendor has quit [Ping timeout: 260 seconds]
thefloweringash has joined #nixos
<gchristensen> Nix isn't written in Haskell
hyper_ch2 has quit [Quit: Page closed]
<Cheery> there was a prototype written in haskell.
<cransom> `hnix` would be the only thing i can think of.
<gchristensen> there is a totally different project by some peeople in the community called hnix which is able to evaluate Nix expressions
dvim has joined #nixos
Itkovian has joined #nixos
o1lo01ol1o has joined #nixos
jabranham has joined #nixos
siers has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #48596 → speedtest-cli: move to pythonPackages, add to home-assistant → https://git.io/fxgnL
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fx2ui
Tucky has quit [Quit: WeeChat 2.2]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
philippD has joined #nixos
<Cheery> I think you've failed at documentation. I don't have a clear idea of how this thing works after reading the manual.s
<Taneb> I don't think believing there's a secret second implementation is a documentation failure
<schmittlauch[m]> should `enableParallelBuilding` work out of the box? Becuase for me both opencv3 and clementine seem to use only one core/hw-thread when building them locally.
<gchristensen> schmittlauch[m]: you'll need to set /etc/nix/nix.conf's `cores` value
<schmittlauch[m]> ah
<Cheery> Taneb: losing your prototype is a pretty bad failure and makes me a bit angry.
<Cheery> Taneb: but I'm not meaning that.
<Taneb> There was never a Haskell prototype
<schmittlauch[m]> gchristensen (IRC): Is this documented somewhere? Otherwise this might be a good thing to include into installation instructions – or to be automatically derived from /proc/cpuinfo
<gchristensen> schmittlauch[m]: a bit, here: https://nixos.org/nix/manual/#conf-cores
fendor has joined #nixos
<samueldr> oops
<gchristensen> interesting, I didn't know there was a Haskell prototype from 2001. cool
<Taneb> Cheery: oh, I apologize, I wasn't aware of that
<samueldr> (I wasn't either, but I knew eelco's site moved there)
<tilpner> Oh, late
<samueldr> though it looks like the svn repo isn't avialable
trebuh has joined #nixos
siers has quit [Ping timeout: 260 seconds]
<Cheery> Specifically, I'd like to understand how the Nix package manager layers over the Linux, what functions it keeps up, where does the information go, how it's stored, what kind of basis the scripts follow? etc.
Ariakenom has quit [Remote host closed the connection]
<Cheery> the manual only tells me how to use it
Ariakenom has joined #nixos
jabranham has joined #nixos
<gchristensen> what do you mean by "functions it keeps up"?
<o1lo01ol1o> I'm getting a strange error, I have ssh access to a gitlab repo that is cloned as part of my build. I'm able to clone that repo as root using the ~/.ssh/* keys. however, in the course of my nix-build, I get: No user exists for uid 1000 fatal: Could not read from remote repository. Does anyone know what this might be? I'm on nix 2.1
<schmittlauch[m]> gchristensen (IRC): newbie question: /etc/nix/nix.conf states that file is "generated from the nix.* options in your NixOS configuration". But:
<schmittlauch[m]> error: The option `nix.cores' defined in `/etc/nixos/configuration.nix' does not exist.
<gchristensen> schmittlauch[m]: right, you want https://nixos.org/nixos/options.html#nix.buildcores
__Sander__ has quit [Quit: Konversation terminated!]
<Cheery> gchristensen: it's doing plenty of things and the system I tried seems to setup itself neatly. But I don't have any idea of how it functions other than that it keeps some kind of memoization that's calculated from the configuration file.
<Cheery> and there seems to be going a lot in the distribution.
<gchristensen> I'm sorry, I'm not sure how I can help
Ariakenom has quit [Ping timeout: 252 seconds]
<Cheery> gchristensen: you don't need to. but all of this frustrates me because if you don't have these things documented, then it's not guaranteed that things keep working like they should.
<gchristensen> even documenting things doesn't guarantee they will continue working that way
lonokhov has quit [Quit: WeeChat 2.2]
Lisanna has quit [Quit: Lisanna]
aristid has quit [Ping timeout: 264 seconds]
<cransom> adhering to an implementation submitted in a paper nearly 20 years ago would be a bit rigid
aristid has joined #nixos
<Cheery> cransom: yeah.. but wouldn't it be nice to know what that actually is now?
<cransom> i do... github.com/nixos/nix and github.com/nixos/nixpkgs ?
<sphalerite_> ,pills Cheery
<sphalerite_> ^ explains quite thoroughly how nix itself works, and the basics of nixpkgs
emerson is now known as 07IAAJ8B3
<gchristensen> of course, our docs could and should be better. tomorrow, and every day someone chips in and helps expand our documentation, it will improve
<FRidh> gchristensen: I think what Cheery meant is that if you don't document requirements, then you don't know whether what you get is what is expected or not.
<Cheery> I'll read the pills through next.
<gchristensen> FRidh: definitely true
sphalerite_ is now known as sphalerite
<FRidh> gchristensen: which is why I think we need a lot more unit tests for the various builders and utils like patchShebangs. Not that I have written any for buildPythonPackage...
<gchristensen> FRidh: definitely yes!
<{^_^}> [nixpkgs] @zimbatm merged pull request #48629 → bundler: 1.16.3 -> 1.16.6 → https://git.io/fx28E
<{^_^}> [nixpkgs] @zimbatm pushed 2 commits to master: https://git.io/fx2aH
nckx has quit [Read error: Connection reset by peer]
<infinisil> o1lo01ol1o: nix builds are run in a sandbox and therefore don't have access to arbitrary paths
<o1lo01ol1o> infinisil: ah, ok. Can I pass nix-build the ssh_key it should be using?
<Cheery> If I'm looking at the manuals for makefiles, they tell me what the command is doing. There are examples of how to use it, either as an user or developer. And the commands are explained in detail.
<gchristensen> o1lo01ol1o: better to use builtins.fetchGit which runs git as your user, and thus has access to your SSH key
* ivan looks at
<ivan> # !!! These were renamed the other way, but got reverted later.
<ivan> # !!! Drop these before 18.09 is released.
<infinisil> o1lo01ol1o: Yeah as gchristensen said, fetchGit is documented in this section: https://nixos.org/nix/manual/#ssec-builtins
<sphalerite> Cheery: we get it, the docs aren't brilliant. It's not because nobody knows.
<fiatjaf> how can I make a gcroot from a nix-shell environment?
<o1lo01ol1o> gchristensen, infinisil: builtins.fetchGit and fetchGithub are the only methods used to access repositories in this .nix build
<samueldr> gchristensen: that's no good, you're making the doc fail tests :(
magnetophon has joined #nixos
<gchristensen> haha, on purpose!
<infinisil> o1lo01ol1o: Well it's pretty obvious that fetchFromGitHub is causing your issue, so use fetchGit instead
<sphalerite> o1lo01ol1o: are you sure it's builtins.fetchGit and not pkgs.fetchgit you're using?
drakonis has joined #nixos
<tazjin> I've been thinking a little bit about making a Kubernetes controller that can build (and serve) container images on-demand using Nix expressions in API resources with gchristensen's `dockerTools.buildLayeredImage`
<tazjin> has someone thought of something similar before? is there interest for it? Feedback welcome!
<o1lo01ol1o> infinisil, sphalerite: this .nix builds for other users on different machines on nix 2.0.x, I'm just trying to figure out why it won't work on this 2.1 AMI.
<zimbatm> tazjin: maybe post it on Discourse, seems interesting
<sphalerite> o1lo01ol1o: could we have the nix-info for a machine where it works and for one where it doesn't?
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fx2Vd
<tazjin> zimbatm: will do!
<zimbatm> tazjin: cc MoreTea and Shea Levy as they might be interested
Itkovian has quit [Ping timeout: 245 seconds]
<o1lo01ol1o> sphalerite: fails: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.3, channels(root): "nixos-18.09-18.09.892.c06f5302f63, nixpkgs-19.03pre155263.20c4986c4dd", nixpkgs: /root/.nix-defexpr/channels/nixpkgs
<Taneb> Is it possible to have a hydra jobset which evaluates at regular intervals, like a cronjob?
<o1lo01ol1o> aaand I'm trying to get the info of this nix-shell but now it wants to build a bunch of stuff, one sec
nschoe has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #48021 → uhub: re-enable sqlite plugin / fix aarch64 build → https://git.io/fxsdD
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fx2ww
ryantrinkle has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed to master « pulseaudio-modules-bt: unstable-2018-09-11 -> unstable-2018-10-16 »: https://git.io/fx2w7
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcm2ps: 8.13.24 -> 8.14.0 »: https://git.io/fx2wh
<{^_^}> [nixpkgs] @costrouc opened pull request #48633 → Refactor another ~100 package from python-packages.nix -> python-modules → https://git.io/fx2rJ
init_6 has quit [Ping timeout: 244 seconds]
fragamus has joined #nixos
<o1lo01ol1o> sphalerite: looks like this is actually also running 2.1.3 and successfully builds: - system: `"x86_64-darwin”`. - host os: `Darwin 17.7.0, macOS 10.13.6` - multi-user?: `yes` - sandbox: `no` - version: `nix-env (Nix) 2.1.3` - channels(root): `"nixpkgs-19.03pre152857.947ae71dcec"` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
<sphalerite> o1lo01ol1o: since it's not using sandboxing, it might just be getting the git stuff impurely within a fixed-output derivation as opposed to using fetchGit
<fiatjaf> how can I make a gcroot from a nix-shell environment?
<o1lo01ol1o> sphalerite: that's possible, however, I believe our build server is running sandboxing. I'll have to send an email about that though, one sec
<sphalerite> fiatjaf: nix-instantiate --add-root shell.drv --indirect
<sphalerite> fiatjaf: you need to have keep-outputs set for that to be effective, and I think there are circumstances where it's not entirely effective
<sphalerite> fiatjaf: https://github.com/lheckemann/dotfiles/blob/master/gcroots.sh is a rather gung-ho approach to just creating roots for *everything* including all the outputs in a shell's closure which may be useful, but it's really not pretty :p
<{^_^}> [nixpkgs] @lheckemann merged pull request #48545 → Poezio bump → https://git.io/fxu9g
<{^_^}> [nixpkgs] @lheckemann pushed 5 commits to staging: https://git.io/fx2oT
zopsi has quit [Quit: Oops]
krav_ has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 252 seconds]
<fiatjaf> sphalerite, thanks, it seems that the first command will work well enough
zopsi has joined #nixos
ryantrinkle has joined #nixos
mokasin has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Itkovian has joined #nixos
nckx has joined #nixos
Itkovian has quit [Ping timeout: 244 seconds]
gudea[m] has quit [Ping timeout: 264 seconds]
roconnor has joined #nixos
<roconnor> jb55: Are you using the trezor password manager? Is it working for you?
Izorkin has quit [Remote host closed the connection]
Izorkin has joined #nixos
zopsi has quit [Quit: Oops]
nbardiuk has joined #nixos
[Leary] has joined #nixos
pointfree has joined #nixos
YellowOnion has joined #nixos
Khetzal has joined #nixos
MarkOtaris has joined #nixos
Jackneill has joined #nixos
Ralith has joined #nixos
h30 has joined #nixos
fyuuri has joined #nixos
ent has joined #nixos
realrokka has joined #nixos
spacefrogg has joined #nixos
mic921 has joined #nixos
MarkOtaris has quit [Read error: Connection timed out]
Izorkin has quit [Remote host closed the connection]
zopsi has joined #nixos
jedahan has joined #nixos
Izorkin has joined #nixos
<fiatjaf> here's an unsolvable problem: inside my nix-shell the backspace key does not work, it prints a space instead of erasing a character
<symphorien> export TERM=linux
<symphorien> (more a workaround than a solution, but...)
<gchristensen> I want need to create a dir in nixpkgs/doc/ which contains some build-time files and which does not contain docs. All the names I've thought of could easily collide with a topical docs directory. any suggestions?
* emily wonders why you call it an "unsolvable problem"
<FRidh> gchristensen: _build_assets ?
<samueldr> _please_do_not_look_behind_the_curtain?
<gchristensen> _build_assets seems good! thank you!
<roconnor> jb55: ugh, I see that the chrome app was updated today and now I cannot get my passwords. What a nightmare.
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « bs1770gain: 0.4.12 -> 0.5.0 (#48628) »: https://git.io/fx266
<{^_^}> [nixpkgs] @xeji merged pull request #48628 → bs1770gain: 0.4.12 -> 0.5.0 → https://git.io/fx2nE
dvim has quit [Ping timeout: 246 seconds]
<roconnor> jb55: the trezord bridge is out of date. I'll see if updating that helps.
shabius has joined #nixos
sigmundv__ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #48634 → Monero → https://git.io/fx2iG
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to release-18.09 « oraclejdk8: 8u181 -> 8u191 (#48624) »: https://git.io/fx2P8
fendor has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #48552 → deepin-desktop-base: init at 2018.7.23 → https://git.io/fxuNS
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « deepin-desktop-base: init at 2018.7.23 (#48552) »: https://git.io/fx2Pw
jabranham has joined #nixos
phreedom has joined #nixos
fragamus has quit [Ping timeout: 246 seconds]
eacameron has joined #nixos
<roconnor> jb55: the chrome app doesn't even recognize the new trezord bridge ;_;
oida has joined #nixos
metalrex has joined #nixos
<metalrex> anyone here running gitlab? I have it running myself but having issues with gitlab-runner, the runners page does not show any active runners
<metalrex> >starting the following units: gitlab-runner.service
shabius has quit [Quit: Leaving]
<roconnor> jb55: oh nevermind. It's just that closing chrome doesn't actually stop chrome.
<{^_^}> [nixpkgs] @codefionn opened pull request #48635 → tor-browser-bundle-bin: Added download link → https://git.io/fx21L
gilligan_ has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #48634 → Update Monero for upcoming hard fork [fix] → https://git.io/fx2iG
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fx21Y
<roconnor> jb55: okay, updating the trezord bridge still has the same problem accessing the password manager.
<{^_^}> [nixpkgs] @samueldr opened pull request #48636 → Update Monero for upcoming hard fork (backports #48301) → https://git.io/fx218
orivej has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roconnor> jb55: I'll try updating my trezor firmware next.
jedahan has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #48605 → Yosys updates → https://git.io/fxga1
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/fx21o
worldofpeace has joined #nixos
jedahan has quit [Quit: Textual IRC Client: www.textualapp.com]
endformationage has quit [Ping timeout: 252 seconds]
<fiatjaf> symphorien, that doesn't work
nbardiuk has quit [Ping timeout: 252 seconds]
<fiatjaf> oh, wait, it does
<symphorien> export TERM=vt100 then ?
<gchristensen> FRidh: what do you mean by "generator expression"?
<fiatjaf> is there a way to automate that?
<FRidh> (x for x in foo) instead of [x for x in foo]
<fiatjaf> what about jumping into the fish shell instead of bash?
<FRidh> the former is a generator comprehension, the latter a list comprehension
<gchristensen> ooh!
<FRidh> just some additional laziness
<gchristensen> nice! thank you
FRidh has quit [Quit: Konversation terminated!]
IRCsum has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 244 seconds]
shabius has joined #nixos
<gchristensen> aww fridh left right before I was going to ask for a second review :)
<samueldr> yay for the links to the upstream docs gchristensen
<gchristensen> is this what stockholm syndrome feels like
mayhewluke has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
ryantrinkle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.4.3 -> 1.4.4 »: https://git.io/fx2yO
<slabity> Does anyone here use NixOps to deploy to their workstations/desktop machines?
<slabity> I'm trying to figure out a good structure for handling all my workstations together
pent has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<worldofpeace> slabity: make sure for ssh you are using `users.users.<username?>.openssh.authorizedKeys.keyFiles`
patrl has quit [Ping timeout: 276 seconds]
<Synthetica> gchristensen: If you're interested in writing better Python, I'd recommend the talk "Beyond PEP8" by Raymond Hettinger
<Synthetica> Actually, I'd recommend all his talks, they're all great
<__monty__> : o You can go beyond PEP8? Is just pylinting and flake8ing your code not enough?
voiceftp has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
elgoosy has joined #nixos
<gchristensen> hrm I should start with applying pep8 to begin with
elgoosy has quit [Remote host closed the connection]
drakonis1 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « monkeysphere: 0.41 -> 0.42 »: https://git.io/fx29L
jperras has quit [Ping timeout: 272 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
IRCsum has joined #nixos
IRCsum has quit [Max SendQ exceeded]
IRCsum has joined #nixos
<{^_^}> [hydra] @kquick opened pull request #602 → Allow PathInput to take an optional frequency parameter. → https://git.io/fx29x
IRCsum has quit [Max SendQ exceeded]
jedahan has joined #nixos
jabranham has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<Synthetica> gchristensen: That might be a good start, yeah :P
sablad has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill closed pull request #48593 → Let folks try xi-editor (`xi-core`) and various front-ends. → https://git.io/fxgsZ
patrl has joined #nixos
patrl has quit [Ping timeout: 260 seconds]
patrl has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #48637 → elementary: init a 5.0 Juno → https://git.io/fx25H
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/971b5bea49d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<judson> Hm. I have dnsmasq enabled in NixOS, and it seems to confuse NetworkManager. I worry a little bit that it also makes my system non-deterministic, since there seems to be a possibility of a race for DNS: NM's dnsmasq or Systemd's
<judson> But I can't see how else to add config to dnsmasq - and can't see at all how to control dhclient
<{^_^}> [nixpkgs] @markuskowa merged pull request #48613 → x11vnc: 0.9.13 -> 0.9.15, adding maintainer → https://git.io/fxgy4
<{^_^}> [nixpkgs] @markuskowa pushed 5 commits to master: https://git.io/fx25j
espg has joined #nixos
ajs124 has joined #nixos
<espg> does anyone know the correct syntax for adding persistent vpnc configuration options to configuration.nix?
<{^_^}> [nixpkgs] @Ma27 merged pull request #48592 → pythonPackages.python-packer: init at 0.1.2 → https://git.io/fxgO0
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fx2dz
apeyroux has joined #nixos
nschoe has joined #nixos
<espg> there is an example here-- https://github.com/NixOS/nixpkgs/blob/release-18.09/nixos/modules/config/vpnc.nix , but it is still unclear to me how to implement
<judson> espg, is the question "how do I add to /etc/nixos/configuration.nix?"
kiloreux_ has joined #nixos
sablad has joined #nixos
<gchristensen> dhess: https://hydra.nixos.org/eval/1484075 <- your change caused nearly 5,000 packages to newly build successfully
<espg> two questions: first, how do I address the option? I've tried networking.vpnc.services and networking.vpnc
<espg> second, how do you specify the config itself? The example shows that you just pass as a string, but I'm wondering if it needs to be key value pairs
<kiloreux_> I have tons of derivations, how can I get all their sources? Is there any parser library for that ?
<kiloreux_> Couldn't get something to work with nix-repl
<symphorien> map (x: x.src) drvs ?
kiloreux has quit [Ping timeout: 252 seconds]
<espg> I get """error: The option value `networking.vpnc.services' in `/etc/nixos/configuration.nix' is not of type `attribute set of strings'. """ when I try nixos-rebuild switch
<{^_^}> [nixpkgs] @markuskowa opened pull request #48638 → Add licenses → https://git.io/fx2bI
<kiloreux_> symphorien, I don't have drvs as a list. Since it's rec { package = pkgscallPackage ./package1.nix {}; ......
<kiloreux_> So it's not a list per se.
<symphorien> mapAttrs may do the trick
<symphorien> or something like that
aleph- has joined #nixos
<dhess> gchristensen: yay!
<dhess> Is that some kind of record? ;)
<espg> I can do something like """networking.vpnc.services.myvpn = '' ... '' "" and then nixos-rebuild works, but I'm still unclear how or if this integrates with openconnect
<dhess> gchristensen: probably most of the +408 here are also aarch64 Haskell-related. https://hydra.nixos.org/eval/1484307#tabs-now-succeed That was after the change that fixed cryptonite
<{^_^}> [nixpkgs] @Ma27 merged pull request #48590 → pythonPackages.python-ldap-test: init at 0.3.1 → https://git.io/fxgqN
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fx2by
<{^_^}> [nixpkgs] @adisbladis opened pull request #48639 → nixos/pulseaudio: Add extraModules config option → https://git.io/fx2b9
<gchristensen> nice!
simukis has quit [Quit: simukis]
<dhess> For the record, it was elvishjerricco's suggestion. I just made the PR. Anyway it's awesome and I love that I can build Haskell things on aarch64 and have most of them hit the cache.
justbeingglad has joined #nixos
<elvishjerricco> :)
<gchristensen> elvishjerricco++
<{^_^}> elvishjerricco's karma got increased to 7
<gchristensen> dhess++
<{^_^}> dhess's karma got increased to 5
Itkovian has joined #nixos
<dhess> Someone mentioned the other day that the Packet.net ARMv8 Caviums are sold out?
<gchristensen> definitely very low stock ...
<dhess> gchristensen: and the community builder model, that's not generally available yet?
<gchristensen> I'm not sure it ever will be :(
<dhess> oh no!
<dhess> That thing is quite fast.
espg has quit [Ping timeout: 256 seconds]
pepesza has quit [Quit: ZNC 1.6.3+deb1ubuntu0.1 - http://znc.in]
<kiloreux_> How can I list all available variables in nix-repl ?
JosW has joined #nixos
<samueldr> non-programatically, kiloreux_, [tab][tab]
justbeingglad has left #nixos [#nixos]
<samueldr> should list everything in scope
<elvishjerricco> Did 18.03 get the macOS mojave fixes?
patrl has quit [Ping timeout: 252 seconds]
nuncanada has joined #nixos
drakonis_ has joined #nixos
nuncanada has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gnidorah opened pull request #48640 → kvmgt module: add restart on failure → https://git.io/fx2AY
drakonis has quit [Ping timeout: 252 seconds]
gilligan_ has quit [Quit: Leaving]
espg has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #48641 → mytetra: support opening urls under wayland → https://git.io/fx2A6
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<kiloreux_> samueldr, no programmatic way ?
<espg> ... is there a functional way to define vpn tunnels for nixos? The documentation references examples using OpenVPN... but to use with a compatible cisco system, the client side connection is handled by openconnect and vpnc :-/
<samueldr> kiloreux_: not that I know of :/
<ivan> do you need this cisco system involved? if not you can set up tunnels with wireguard
<kiloreux_> samueldr, how about listing attributes of a defined list ?
<symphorien> > lib.attrNames { a = 1; b = 2; }
<{^_^}> [ "a" "b" ]
<espg> My university uses cisco to run their VPN, so if we want to connect my desktop or our research groups HPC... then yes I do
<kiloreux_> That's a set instead of a list no ?
<symphorien> there is no attribute to a list
<o1lo01ol1o> sphalerite: also working here: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixos-18.03.132229.7cbf6ca1c84",channels(ci): "nixpkgs", channels(foo): "", channels(bar): "nixpkgs-18.03.132229.7cbf6ca1c84", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<kiloreux_> I meant element symphorien . My bad.
<symphorien> what do you mean element ?
<espg> i can connect by running "openconnect -s vpnc vpn.colorado.edu", but then I have to provide all of the login varibles, and still have to set the default ip route... which is fine, but a bit cumbersome. I feel like there should be a way to automate this via services and config files
<kiloreux_> list = [
<kiloreux_> atomicparsley
<kiloreux_> cipherscan
<kiloreux_> clamav
<kiloreux_> consul
<kiloreux_> consul-ui
<kiloreux_> curl
<kiloreux_> dash
<kiloreux_> dtrx ];
<kiloreux_> symphorien, that's what I meant.
<samueldr> kiloreux_: for more than 2 lines, please use a pastebin next time, thanks
JosW has joined #nixos
<symphorien> > lib.concatMap lib.attrNames (with pkgs; [ hello sl ])
<{^_^}> [ "__ignoreNulls" "all" "args" "buildInputs" "builder" "configureFlags" "depsBuildBuild" "depsBuildBuildPropagated" "depsBuildTarget" "depsBuildTargetPropagated" "depsHostHost" "depsHostHostPropagated...
<kiloreux_> samueldr, Most certainly will. Sorry.
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kiloreux_> Very useful.
fendor has joined #nixos
<fiatjaf> how can I make a javascript library available in the nix environment of a haskell project?
drakonis has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #47154 → nixos lircd: fix deletion of lircd socket → https://git.io/fAdJ4
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fx2pS
<{^_^}> [nixpkgs] @ryantm merged pull request #48564 → Add name parameter to developPackage → https://git.io/fxz3w
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fx2pN
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
haitlah has joined #nixos
<haitlah> Heyo
<haitlah> Again asking for some help with a fetchgit
<haitlah> I'm in a pure shell and want to fetchgit a private repository trough ssh
<haitlah> I used fetchgitPrivate, passing ssh-config-file to the nix shell
<haitlah> And I'm miserably failing
<gchristensen> probably best for you to use builtins.fetchGit
<haitlah> Can't open user config file /home/hux/.ssh/config:
jperras_ has joined #nixos
<haitlah> gchristensen: I was using fetchgit
<gchristensen> pkgs.fetchgit is different from builtins.fetchGit
<gchristensen> search for "builtins.fetchGit args" on https://nixos.org/nix/manual/
jperras has quit [Ping timeout: 260 seconds]
<haitlah> gchristensen: Ohh, will have a look at it !
<gchristensen> see also Example 15.2 through 15.6
espg has quit [Ping timeout: 245 seconds]
judson has quit [Remote host closed the connection]
<haitlah> gchristensen: what's the difference btw ?
<gchristensen> builtins.fetchGit executes git as your user, and thus can access your ssh key. pkgs.fetchgit runs in a nix-build and has no access to your ssh key at all. pkgs.fetchGitPrivate uses a horrible no good very bad insecure hack to share your private key with the build.
sablad has quit [Ping timeout: 256 seconds]
<haitlah> ok
<haitlah> gchristensen: thanks, but this is kinda 'impure' isn't it ?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/971b5bea49d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<gchristensen> haitlah: as long as a revision or tag is specified, no, it is still pure
hlolli has joined #nixos
<gchristensen> haitlah: but it can be used impurely, yes
<clever> gchristensen: fetchGitPrivate can function without sharing the key to the build
<clever> gchristensen: ive made it work with an ssh agent
endformationage has joined #nixos
<gchristensen> clever: sheesh.
Mr_Keyser_Soze has joined #nixos
<gchristensen> we should delete it now.
<clever> gchristensen: the trick, is to tell the build to use /tmp/hax as a unix socket for the agent
<gchristensen> don't this is so evil.
<clever> because ssh-agent detects that the client is in a different uid, it needs an socat proxy
<gchristensen> _sigh_
<andi-> o.o
<roconnor> jb55: seems updating my terzor firmware fixed my issue. I'll make a PR for a new trezord since I've already written it.
nbardiuk has joined #nixos
<haitlah> gchristensen: this is enough for me thank you very much
<gchristensen> great :) please pretend that clever didn't say any of those things.
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
<hlolli> I'm making a java jna-native app, and for jna to look for .so files on my system, it needs to look in `/run/current-system/sw/lib` I was just wondering is there some env-variable that I could use, that could list this directory, or this directory plus LD_LIBRARY_PATH?
haitlah has quit [Remote host closed the connection]
espg has joined #nixos
<hlolli> or maybe more basic question, is "/run/current-system/sw/lib" a default path for all nixos users? I could just detect the distro and append it to jna's native path on runtime, along with ld-path.
nschoe has quit [Ping timeout: 252 seconds]
patrl has joined #nixos
<{^_^}> [nixpkgs] @Hinidu opened pull request #48643 → Unity3D: 5.6.1 -> 2017.4.10 → https://git.io/fxafc
dvim has joined #nixos
jperras_ has quit [Quit: WeeChat 2.2]
jedahan has joined #nixos
<worldofpeace> ,locate bin/gkbd-keyboard-display
<{^_^}> Found in packages: gnome3.libgnomekbd
<eddyb> has anyone had weird wifi problems lately?
patrl has quit [Ping timeout: 252 seconds]
<gchristensen> yes, but only because I need to go hang an AP back up on an exterior wall... but it is cold so I haven't yet.
<eddyb> so what I've been hitting for the past few weeks, maybe after the last update I did, (although not sure exactly when it started) is the wifi driver restarts the card because of a queue timeout (after 2s), and appears to be connected still, but there's no actual internet access
<eddyb> so I have to disconnect and reconnect
<eddyb> I also suspect some packet loss (IRCCloud sometimes misbehaves because of it) but I'm not sure whether that's related or not, instances of it don't show up in the kernel log like the wifi card restarts do
<eddyb> oh great I also GC'd so I don't even know what I upgraded from
<eddyb> at least I know I upgraded on 16th of september
<eddyb> to 19.03pre152634.218ce4de508
sevcsik[m] has joined #nixos
<azazel> how i can set an attr whose name is specified in a variable? like aset["foo"] = bar in js or python?
<eddyb> actually, the problem might be a few months older, but my memory is a bit fuzzy because I needed to use nmtui-connect for a while (something about the kde nm integration was broken)
<eddyb> lol: warning: unable to download 'https://cache.nixos.org/j20xi6w4jh4fjcrw11zpr3d3hs5gizyw.narinfo': Timeout was reached (28); retrying in 264 ms
<eddyb> I don't like whatever's happening to me right now
<eddyb> cache.nixos.org loads instantly on another laptop but times out *even in the browser* on this one
<gchristensen> > let x = "foo"; in { "${x}" = "bar"; }
<{^_^}> { foo = "bar"; }
<gchristensen> azazel: ^ like this?
<eddyb> and the nm kde gui thing isn't reacting to my clicks o_O
<azazel> gchristensen: yes, it seems strange to use "templating" to do it
<azazel> anyway, it works
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<azazel> gchristensen: thanks
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0c72f4c5175 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gchristensen> you're welcome
<azazel> the discourse forum is taking off, it seems that the discussions are more and more every week
espg has quit [Quit: WeeChat 2.2]
<gchristensen> it is great to see :)
<{^_^}> [nixpkgs] @xeji merged pull request #48638 → Add licenses → https://git.io/fx2bI
<{^_^}> [nixpkgs] @xeji pushed 14 commits to master: https://git.io/fxaTi
jedahan has joined #nixos
<azazel> it's all thanks to you guys ;-)
JosW has joined #nixos
jperras has joined #nixos
<azazel> as a newbie, the real problem was documentation. I was even missing a real functional background, so maybe I had/have more obstacles than the usual nix user, but really there's a ton of stuff in the changelogs, in the wiki and ultimately in the code. For example, it's a shame that the docs on the functions in lib/ isn't really exposed in the manual, it's very useful
<azazel> and valuable
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<gchristensen> azazel: I'm working on that a little bit each day :) https://nixos.org/nixpkgs/manual/#sec-functions-library
JosW has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48594 → chromium 71+: add at-spi2-core dependency → https://git.io/fxgZV
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « chromium 71+: add at-spi2-core dependency (#48594) »: https://git.io/fxakb
<azazel> gchristensen: well done!
Thra11 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #48595 → chromium 70+: there is no more option 'use_gtk3' → https://git.io/fxgZh
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « chromium 71+: there is no more option 'use_gtk3' (#48595) »: https://git.io/fxakx
<{^_^}> #48497 (by grahamc, 1 day ago, open): Verify doc examples
<{^_^}> [nixpkgs] @roconnor-blockstream opened pull request #48644 → trezord: 2.0.19 -> 2.0.24 → https://git.io/fxakj
pepesza has joined #nixos
<azazel> wow!
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
shabius has quit [Quit: Leaving]
<azazel> gchristensen: a docbook hero :-)
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
shabius has joined #nixos
jackjennings has joined #nixos
<gchristensen> hopefully other people will participate too :)
judson has joined #nixos
<jackjennings> I'm having a lot of trouble mounting an EBS filesystem with the latest AMIs. Trying to deploy this machine with nixops just hangs after the message `[attached]` appears. Here's is my server declaration: https://gist.github.com/jackjennings/1ca53db2f453c943e52e6616109c34e5
<jackjennings> `system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.1, channels(root): "nixos-18.09beta302.9fa6a261fb2", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
<jackjennings> I assume the issue is with the device name, but I can't find anything that works
<azazel> gchristensen: how? with another PR? (anyway, I've so much stuff to finish) anyway, always on a repo wit so many changes, so many contributors and so many open PR / issues is a bit intimidating for me
<azazel> i spend a way much "mind resources" trying to keep track of what is "happening around"... but maybe it's just me..
<azazel> it's like it's a matter of "bandwidth"....
davenpcm has quit [Quit: Textual IRC Client: www.textualapp.com]
siers has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simpson has joined #nixos
<simpson> emily: Fiiiiiiine~
random_yanek has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
galen has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #48131 → nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities → https://git.io/fxcMW
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fxatA
<{^_^}> [nixpkgs] @Ma27 pushed to release-18.09 « nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities »: https://git.io/fxaqY
<jackjennings> how can I make a systemd service on a machine deployed with nixops start when the service is created. The services that I have defined don't start on the initial deploy. Is this the default behavior or am I doing something wrong?
random_yanek has joined #nixos
shabius_ has joined #nixos
<ashkitten> how can i install mingw-w64 on my nixos machine for building proton?
<azazel> jackjennings: I usually enable them and add wantedBy = [ "multi-user.target" ];
<azazel>
drakonis has quit [Quit: WeeChat 2.2]
<jackjennings> azazel: just realized that I had left it out :(
shabius_ has quit [Client Quit]
shabius_ has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
siers has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @zauberpony opened pull request #48645 → hcloud: 1.6.1 -> 1.9.1 → https://git.io/fxamu
drakonis_ has quit [Ping timeout: 276 seconds]
Mr_Keyser_Soze has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
<jasongrossman> gchristensen++
<{^_^}> gchristensen's karma got increased to 40
romildo has joined #nixos
rprije has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<romildo> When building a package cmake is giving the message
<romildo> The C compiler "/nix/store/10yq7kwlvbc6h658izmrlsspry1g9f3c-gcc-wrapper-7.3.0/bin/gcc" is not able to compile a simple test program.
jedahan has quit [Quit: Textual IRC Client: www.textualapp.com]
<romildo> [...]
<romildo> /nix/store/10yq7kwlvbc6h658izmrlsspry1g9f3c-gcc-wrapper-7.3.0/bin/gcc -rdynamic CMakeFiles/cmTC_0a362.dir/testCCompiler.c.o -o cmTC_0a362
<romildo> /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/ld: cannot find -llibdvdnav
<romildo> collect2: error: ld returned 1 exit status
07IAAJ8B3 is now known as emerson
<romildo> Although libdvdnav is in buildInputs. Any clues?
Ariakenom has quit [Quit: Leaving]
<romildo> May it have anything to do with the option -rdynamic that appears in the message?
Mr_Keyser_Soze has quit [Remote host closed the connection]
<jb55> romildo: -ldvdnav ?
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
ter-_ has quit [Quit: WeeChat 1.9.1]
erasmas has quit [Quit: leaving]
mskalski has joined #nixos
nbardiuk has quit [Ping timeout: 252 seconds]
alex`` has quit [Ping timeout: 268 seconds]
<clever> jb55: yeah, that sounds like a plausible answer
jackdk has joined #nixos
patrl has joined #nixos
<romildo> jb55, clever: now I am trying to locate the origin of this linker option -llibdvdnav on the package I am trying to build...
<{^_^}> [nixpkgs] @FirmanFathoni opened pull request #48646 → Create CONTRIBUTION.md → https://git.io/fxa3D
lunik1 has quit [Ping timeout: 250 seconds]
patrl has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bfb61a77092 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
fragamus has joined #nixos
patrl has joined #nixos
<mskalski> /msg *status listmods
fragamus has quit [Client Quit]
<gchristensen> mskalski: do you need an op?
<samueldr> on znc this lists loaded modules
<gchristensen> oh cool
<mskalski> yep, sorry ;)
<gchristensen> 13yrs on IRC and you'd think I'd have used ZNC by now :P
fragamus has joined #nixos
<aleph-> So question, trying to package a ruby application and following the ruby wiki page I need to run the first nix file and then run the two desired shell commands underneath before running the second nix file. My question is how would I run the fist nix file from the second? I thought my final nix file and shell script at the bottom would work however it errors out. The files and the error are here:
<dhess> gchristensen: hahaha.. I went about 25
<aleph-> I just use a always on weechat relay
* gchristensen goes to look up weechat relays
<aleph-> gchristensen: Only issue is no weechat client to weechat relay yet
<aleph-> Currently being slowly worked on by one dev
<gchristensen> dang, okay
<aleph-> gchristensen: Only mobile and web clients
<mskalski> can you use with weechat relay any irc client or only one which implements this specific protocol?
<aleph-> Hmm ruby, such a butt.
<aleph-> mskalski: Only specific clients
<samueldr> nothing stops you from using znc in front, more moving parts, more fun ;)
<aleph-> True
* samueldr uses quassel server on top of znc
<gchristensen> samueldr: #nixos is all about moving parts
fendor has quit [Remote host closed the connection]
<aleph-> Okay anybody see a way around this issue with ruby? Ideally I need to import the packages and run bundle and bundix on them in the same directory, since I solved my first issue. Was being an idiot
<aleph-> However it shunts me off to a non home dir obviously.
<samueldr> aleph-: I find the bundix README is good https://github.com/manveru/bundix
<{^_^}> [nixos-artwork] @flokli opened pull request #40 → bootloader/nix-wallpaper-simple-dark-gray_bootloader: convert to svg, add some padding → https://git.io/fxaGy
o1lo01ol1o has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
lsyoyom has quit [Read error: Connection reset by peer]
<aleph-> samueldr: So reading over the example in the read me, not sure I see how the proper nixpkgs way does is any differently. Seems it still requires running bundix seperately outside the .nix file
<worldofpeace> Cough, just gonna drop this here #48637 :P
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48637 (by worldofpeace, 4 hours ago, open): elementary: init a 5.0 Juno
<aleph-> Heya worldofpeace
<worldofpeace> Hi aleph- :)
drakonis has joined #nixos
patrl has quit [Ping timeout: 276 seconds]
<aleph-> Sup
jperras has quit [Ping timeout: 246 seconds]
hlolli has quit [Remote host closed the connection]
jperras has joined #nixos
<drakonis> sup
<aleph-> Trying to build ruby package.
<drakonis> need a ruby newer than provided?
<drakonis> because you have to explicitly invoke the newer version
<aleph-> No... give me one second, think I know how I'm fixing my issue.
lsyoyom has joined #nixos
rprije has quit [Quit: Leaving]
thc202 has quit [Ping timeout: 252 seconds]
<drakonis> cool
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #42314 → clementine: add gst_plugins to buildInputs so setup hooks work → https://git.io/fCV6S
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fxaCq
<{^_^}> [nixpkgs] @Ma27 pushed commit from @jerith666 to release-18.09 « clementine: add gst_plugins to buildInputs so setup hooks work »: https://git.io/fxaCu
YellowOnion has quit [Read error: Connection reset by peer]