gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @samueldr opened pull request #40947 โ†’ dockerTools: fixes extraCommands for mkRootLayer. โ†’ https://git.io/vhJdf
jasongrossman has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
codelurker_ has quit [Quit: Leaving]
<samueldr> my reported issue probably was misdiagnosed
<adelbertc> hm interesting
<adelbertc> in the middle of something rn
<adelbertc> but i will try to test it tomorrow
<adelbertc> and let you know!
<samueldr> n/p, and could you let me know in the issue too :)
<samueldr> I'm quite happy to have found the fix to that issue even if only for myself
MichaelRaskin has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9062afb7cb7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
klntsky_ has joined #nixos
klntsky has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 260 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
<judson> Sorry - phone calls. infinisil, I'm not sure what the deal is with zoom. emmanualrosa said he couldn't reproduce my issue. There is a glibc_2_27 in my current channels...
vidbina has joined #nixos
pxc1 has joined #nixos
silver has quit [Read error: Connection reset by peer]
<acowley> Where can I pull the path to gcc-unwrapped out of stdenv.cc assuming stdenv.cc is a wrapped gcc? I want to get my hands on the /nix/store/.../include/c++/7.3.0 path.
<acowley> I think I'd prefer to do it without reaching out to gcc-unwrapped
<acowley> nixpkgs.gcc-unrapped that is
<clever> acowley: stdenv.cc.cc
<acowley> ah, right!
<acowley> I always forget that
<acowley> clever: thank you!
<clever> yep
fragamus has joined #nixos
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos
fragamus has quit [Ping timeout: 260 seconds]
<bionicmac[m]> Hello. What version of the Linux kernel is default in NixOs 18.03?
<drakonis_> 4.14 for me?
<drakonis_> you can install 4.16 yourself
<bionicmac[m]> I need minimum 4.15 to support my graphics display driver
<drakonis_> hmm
<samueldr> use linuxPackages_4_15; for 4.15 with 18.03
<bionicmac[m]> Is there a package of 4.15 that I can upgrade to after install? Else I have no X11
<drakonis_> well
<drakonis_> you can install it without xorg
<samueldr> bionicmac[m]: you can install it with the right kernel
<samueldr> using `boot.kernelPackages = pkgs.linuxPackages_4_15;` in your configuration.nix
<samueldr> (that's the way you would configure it anyway after installing)
<bionicmac[m]> Hmm. Ok. Then the iso download will not have the 4.15 but I can upgrade the kernel after install?
<drakonis_> yes
<samueldr> yes and no, you'd install directly with 4.15; the installer will download what's needed
<drakonis_> hmm, are there useflags yet, for the budding gentoo user?
<bionicmac[m]> Great. Is this just a PKG upgrade? Or do I need to learn the configuration to do this?
<drakonis_> well, you need an configuration to do the install in the first place
<drakonis_> so you can already get the kernel version you need
<samueldr> you will need to "learn" how to configure, but the option you need is here: boot.kernelPackages = pkgs.linuxPackages_4_15;
<bionicmac[m]> I've never used Gentoo so I can't comment on the budding user.
<samueldr> as drakonis_ said, you need a configuration file to install
<bionicmac[m]> Ok. Thanks
<drakonis_> i'm half joking
<drakonis_> apparently there's a issue for that
<drakonis_> doesn't seem like a bad idea
<samueldr> (there's so few details you actually need to learn as most of what's strictly needed and more is generated on install)
<bionicmac[m]> I only asked because I planned on using the iso. But I can learn the configuration and have taken note of your advice.
<drakonis_> learning the configuration is the easiest part
LogicAside has joined #nixos
<bionicmac[m]> I come from Slackware so I'm used to configuring. ๐Ÿ˜€
<drakonis_> are you used to writing down your work?
sbdchd has quit [Remote host closed the connection]
<bionicmac[m]> Just curious about NixOS .. looks interesting
<bionicmac[m]> I make notes of what I do, yes. For myself mainly.
<drakonis_> you mind writing those down somewhere?
<drakonis_> the wiki maybe
<drakonis_> just sayin'
<drakonis_> may help out other people
<bionicmac[m]> Ok so yes, I will document my installation.
<drakonis_> i mean, the documentation gaps that might show up
<drakonis_> gotta fill those somehow
<bionicmac[m]> iMac 5K retina 27", 24G ram,. 1TB SSD, etc etc
<drakonis_> exciting
<drakonis_> the other bits i'm talking about are the post install things
thc202 has quit [Ping timeout: 260 seconds]
<drakonis_> tbh, getting more mac users to run nixos is a net benefit
endformationage has quit [Ping timeout: 245 seconds]
<bionicmac[m]> The display needs the 4.15* minimum kernel for the graphic driver. Yes, np, I document installation details for you.
<drakonis_> well, alright i'll go grab some food
<bionicmac[m]> I'm having Tex-Mex dinner right now. drakonis_ I will be installing when I return home. Give me 2 hours.
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
mounty has quit [Ping timeout: 245 seconds]
Ralith_ has joined #nixos
lopsided98 has quit [Client Quit]
MP2E has joined #nixos
lopsided98 has joined #nixos
mounty has joined #nixos
tzemanovic has joined #nixos
seafood has joined #nixos
<jasongrossman> drakonis_: In a way, most NixOS options are like Gentoo USE flags, in that they're orthogonal to each other: you can mix and match.
oltoAltn has joined #nixos
olto has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40948 โ†’ whois: 5.3.0 -> 5.3.1 โ†’ https://git.io/vhJN9
pxc1 has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm has joined #nixos
<elvishjerricco> How many tests are involved in advancing nixos-unstable compared to stable channels? Does it have to pass all tests, or a smaller subset?
jperras has quit [Ping timeout: 252 seconds]
<colemickens> garbas: hi, I don't want to be a bother but if you have any thoughts about https://github.com/garbas/pypi2nix/issues/194 I'd be curious to hear them.
<colemickens> I've tried a lot of random things that I may not have exhaustively detailed, and have done some research into the error message bdist_wheel, and the Azure packages in question.
sbdchd has joined #nixos
<colemickens> They seem to "sniff" for bdist_wheel support and try to enable/disable some packaging support based on if it's detected. However, this "works" properly for all of the non-CLI packages, and fails for all of the CLI packages, despite them using wheel/setup.py the same way, as far as I can tell.
lanelet has quit [Quit: lanelet]
raynold has joined #nixos
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
fxr has quit [Read error: Connection reset by peer]
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
sbdchd has quit [Remote host closed the connection]
jperras has joined #nixos
jperras has quit [Client Quit]
drakonis_ has quit [Remote host closed the connection]
jperras has joined #nixos
drakonis_ has joined #nixos
jperras has quit [Client Quit]
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<drakonis_> jasongrossman, its not for myself though
<drakonis_> not really into it
goibhniu1 has joined #nixos
jperras has joined #nixos
goibhniu has quit [Ping timeout: 260 seconds]
<jasongrossman> drakonis_: You're not into the software you're here asking questions about?
<drakonis_> useflags
<drakonis_> i'm not into useflags but it is a potential way to tap into a new userbase
<jasongrossman> I see.
seafood has quit [Quit: seafood]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40949 โ†’ zsh-autosuggestions: 0.4.2 -> 0.4.3 โ†’ https://git.io/vhJAd
sigmundv__ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40950 โ†’ stunnel: 5.44 -> 5.45 โ†’ https://git.io/vhJx3
asuryawanshi has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40951 โ†’ simplescreenrecorder: 0.3.10 -> 0.3.11 โ†’ https://git.io/vhJxz
dmc has quit [Quit: WeeChat 2.1]
Sonarpulse has joined #nixos
<mjrosenb> when I install nix via https://nixos.org/nix/install it should start with *nothing* installed, correct?
vidbina has quit [Ping timeout: 256 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
lassulus_ has joined #nixos
<iqubic> It should start with a partition that is completely empty. You are welcome to have other OSes installed, but the partition you intend to install NixOS to should be formatted and wiped
<gchristensen> nix/install is for nix only not nixos
<iqubic> Oh, right. I though you were trying to install NixOS, and not standalone Nix.
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
nixosnewbie has quit [Quit: Page closed]
<mjrosenb> nope, nix.
spear2 has quit [Ping timeout: 268 seconds]
sigmundv_ has quit [Ping timeout: 252 seconds]
<mjrosenb> where are the lists of available nix packages/nix expressions?
<drakonis_> on nixpkgs
<mjrosenb> I assume that they aren't being fetched from the internet every time, since I didn't set a channel
<drakonis_> there's a folder called all packages
<drakonis_> ah right
<drakonis_> hmm
<mjrosenb> but I may just be misunderstnding what a channel is.
<bhipple[m]> Look in ~/.nix-defexpr (a symlink into the profiles dir, which is itself a symlink into the store)
* bhipple[m] sent a long message: bhipple[m]_2018-05-23_02:31:46.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/KjEsQLDdRKubQzTNzsRxxCAK>
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40953 โ†’ lxqt.screengrab: 1.97 -> 1.98 โ†’ https://git.io/vhJhl
<mjrosenb> cool, so these are static, and if I subscribe to a channel, it'll fetch new packages?
<elvishjerricco> mjrosenb: I think Nix 2.0 came with a really frustrating change to installation: It installs a channel in the /nix/store owner's profile, which on macos (and systemd linuxes if you use --daemon when installing) is root.
<elvishjerricco> So you might have nixpkgs in your nix-env path, but not have a channel configured for your user
drakonis_ has quit [Remote host closed the connection]
<elvishjerricco> Regardless, you can list packages available to you with `nix search`
Lisanna has joined #nixos
drakonis_ has joined #nixos
<Lisanna> Does nixpkgs do anything funky with the error/warning levels in any of the automake/autoconf tools?
<mjrosenb> elvishjerricco: so if I become root, I should be able to list the channels, and see something?
<elvishjerricco> mjrosenb: Yea, if you're on macos
<mjrosenb> indeed, root has a channel configured.
<mjrosenb> that is not /super/ confusing to a first time user.
drakonis_ has quit [Remote host closed the connection]
<elvishjerricco> mjrosenb: Yea, so you can likely do `nix eval '(<nixpkgs>)'`, but not `nix-env -iA nixpkgs.hello`
drakonis_ has joined #nixos
<mjrosenb> I was able to do nix-env -iA earlier today
<elvishjerricco> mjrosenb: Oh? That's a tad surprising. Did you have to do `-f '<nixpkgs>'`
<elvishjerricco> ?
<mjrosenb> nope
<mjrosenb> but nix-env -qA has been... less than useful.
<elvishjerricco> Oh. Maybe nix-env is different than I though
<elvishjerricco> `nix search` is better than `nix-env -qA`
<mjrosenb> nix search -u cabal-install isn't showing anything.
drakonis_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40954 โ†’ qsynth: 0.5.0 -> 0.5.1 โ†’ https://git.io/vhJhS
drakonis_ has joined #nixos
<elvishjerricco> mjrosenb: That's weird. Does a bare `nix search` show anything?
<mjrosenb> nope, just complains that it is using cached results, and I should pass in -u
<jasongrossman> And `nix search` with no other arguments at all?
<mjrosenb> jasongrossman: that was the result of running nix search
<jasongrossman> Ah. :-(
<elvishjerricco> mjrosenb: Very odd. What about `echo $NIX_PATH`?
<mjrosenb> so, before, when nix-env -iA installed something, the command I ran was
<mjrosenb> nix-env -iA nixpkgs.haskell.compiler.ghcjs
<mjrosenb> ~; echo $NIX_PATH
<mjrosenb> /nix/var/nix/profiles/per-user/root/channels
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40955 โ†’ redshift: 1.11 -> 1.12 โ†’ https://git.io/vhJhF
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<elvishjerricco> mjrosenb: Ok... What about `NIX_PATH="$(nix eval '(<nixpkgs>)')" nix search`?
<elvishjerricco> mjrosenb: Ok... What about `NIX_PATH="nixpkgs=$(nix eval '(<nixpkgs>)')" nix search`?
<elvishjerricco> Sorry, forgot a chunk of the command
<mjrosenb> NIX_PATH should start off with something that looks like a variable declaration?
<mjrosenb> ~; NIX_PATH="nixpkgs=$(nix eval '(<nixpkgs>)')" nix search
<mjrosenb> warning: using cached results; pass '-u' to update the cache
<mjrosenb> mrosenbe@nyc-mbp-mrosenbe
<elvishjerricco> mjrosenb: Nah, your NIX_PATH is fine as is
<elvishjerricco> Was just testing something
<mjrosenb> I was just confirming what you wanted me to test, since that is some strange syntax
<bhipple[m]> NIX_PATH should be a path or URL to a dir/repo where it can find nix expressions, e.g. NIX_PATH="nixpkgs=$HOME/src/nixpkgs"
<elvishjerricco> Was wondering if it treats `nixpkgs=...` as something different
<elvishjerricco> ah
acarrico has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Remote host closed the connection]
<elvishjerricco> mjrosenb: So... What about running `nix search` as root?
<mjrosenb> but "nixpkgs=..." does not look like a path nor a url
drakonis_ has joined #nixos
<bhipple[m]> There's a section in the manual about this. Basically, it allows you to give different names to various nix expression repos, like so:
<bhipple[m]> $ NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels:src=$HOME/src/nixpkgs", so then you can say `nix build src.emacs` and get the one from your git clone, or `nix build nixpkgs.emacs` and get the one from the root channel
<mjrosenb> running sudo su, then nix search doesn't produce anything, but NIX_PATH is also not defined for root.
<mjrosenb> bhipple[m]: ahh, neato; thanks for the explanation.
<elvishjerricco> mjrosenb: Huh. But root does have a nix-channel?
<mjrosenb> (and just sudo nix search doesn't do anything as well)
<elvishjerricco> mjrosenb: (FYI, I recently learned that `sudo -i ...` is the same as `sudo su` then `...`)
<elvishjerricco> I must be misunderstanding the relationship between the nix 2.0 `nix` command and channels.
<mjrosenb> yeah, but I wanted a shell. I guess I could have run sudo -i bash, but meh.
burton_ has joined #nixos
mahalel_ has quit [Ping timeout: 260 seconds]
<elvishjerricco> mjrosenb: I'm gonna boot up an ubuntu vagrant to test out the interactions between these pieces on a blank install. Nix 2.0 was supposed to simplify this but you're not the first to have issues in this area.
<mjrosenb> also, nix-env --query -a *does* show 10714 packages.
<mjrosenb> (as my user)
mahalel_ has joined #nixos
<elvishjerricco> mjrosenb: Weird
<elvishjerricco> Yea I definitely don't understand the logic for these things. When does which tool pick up which channels?
jasongrossman has quit [Remote host closed the connection]
<mjrosenb> I'm not sure what you are asking.
<mjrosenb> also, if this matters in any way shape or form, this is on OSX, not linux.
<Ralith> what do people use for sysfs backlight control?
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40957 โ†’ qjackctl: 0.5.0 -> 0.5.1 โ†’ https://git.io/vhJjB
<samueldr> Ralith: looked at `light`?
<samueldr> it doesn't, by itself, handle key combinations
<samueldr> depending on the hardware, mapping through actkbd can work with light https://nixos.wiki/wiki/Backlight#Key_mapping
<Ralith> samueldr: man, why does it have to be suid instead of setting up the proper udev rules? :/
<samueldr> dunno!
<samueldr> maybe it can work with udev rules
<Ralith> it can, it's just a pain to do by hand because `udev.extraRules` breaks uaccess tagging for some reason
<elvishjerricco> mjrosenb: Anyway, does nix-env -qa do what you want?
<mjrosenb> it is slow, but yes.
<elvishjerricco> Yea, quite slow
<elvishjerricco> mjrosenb: I'm surprised that `nix search` didn't work though
drakonis_ has quit [Read error: Connection reset by peer]
schoppenhauer has quit [Ping timeout: 245 seconds]
iqubic has quit [Remote host closed the connection]
schoppenhauer has joined #nixos
<desttinghim[m]> I am using haxe with openfl to try and develop. I can get the application to build, but I get a runtime error saying `Could not initialize SDL: No available video device.`
jperras has quit [Quit: WeeChat 2.1]
<jack[m]> desttinghim: is $DISPLAY set?
<desttinghim[m]> jack: yeah
<desttinghim[m]> :0
<desttinghim[m]> That's the value it returns
<desttinghim[m]> *is set to
<jack[m]> desttinghim: this is where I would use strace or LD_DEBUG..
<desttinghim[m]> I'll look into that
<mjrosenb> are you in the video group?
dbmikus_ has joined #nixos
<mjrosenb> some things which try to do fancy hardware acceleration stuff attempt to open the /dev/ entry for the video card directly, which is usually acled to the video group.
<elvishjerricco> mjrosenb: FYI, looks like this issue is the root cause: https://github.com/NixOS/nix/issues/1865
<mjrosenb> ooh, thanks!
asuryawanshi has quit [Ping timeout: 252 seconds]
* mjrosenb subscribes
<elvishjerricco> mjrosenb: In the meantime all you have to do is add a `nixpkgs=...` to your NIX_PATH
steell has quit [Ping timeout: 260 seconds]
<desttinghim[m]> mjrosenb: were you talking to me?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40958 โ†’ [wip] 0ad: add darwin support โ†’ https://git.io/vhUeX
<desttinghim[m]> jack: thanks for the advice. Looks like it might be searching in the wrong places for libraries
<mjrosenb> desttinghim[m]: yes.
<desttinghim[m]> What's weird is that it is pointing to stuff in the /nix/store, but the libraries don't seem to appear in the places it is looking
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40904 โ†’ Freeciv: enable on darwin โ†’ https://git.io/vhvmv
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/vhUeS
<{^_^}> โ†’ 9eb0301e by @matthewbauer: freeciv: enable on darwin
<{^_^}> โ†’ 9b8b29f1 by @matthewbauer: gtk2: fix GNOME bug #557780
<{^_^}> โ†’ 75ae4c5a by @matthewbauer: Merge pull request #40904 from matthewbauer/freeciv-on-darwin
<desttinghim[m]> mjrosenb: the libraries that are being looked for have to do with X11
seafood has joined #nixos
<{^_^}> [nixpkgs] @alexvorobiev opened pull request #40959 โ†’ Added pythonPackages.clustershell โ†’ https://git.io/vhUej
seafood has quit [Ping timeout: 245 seconds]
lanelet has joined #nixos
MP2E has quit [Remote host closed the connection]
<mjrosenb> copying path '/nix/store/riz255jz9snm0a2ifflk7jffjyz1ki4l-ghcjs-0.2.0' from 'https://cache.nixos.org'...
<mjrosenb> interesting, I already had ghcjs-0.2.0 installed.
<mjrosenb> does this one have a different hash?
<mjrosenb> yuuup, two different hashes.
steell has joined #nixos
<desttinghim[m]> jack: mjrosenb: https://pastebin.com/hYJyAivY this is the output of LD_DEBUG
<desttinghim[m]> The bottom is the most important part, around where it says `Could not initialize SDL`
<desttinghim[m]> The libraries that it isn't finding are `libX11`, `libXext`, `libXinerama`, `libXi` and `libxrandr`
marusich has joined #nixos
<desttinghim[m]> All of which are installed but aren't in the search path, it seems
steell has quit [Ping timeout: 245 seconds]
pxc1 has joined #nixos
pxc1 has quit [Ping timeout: 245 seconds]
rauno has quit [Ping timeout: 245 seconds]
Ross has quit [Ping timeout: 245 seconds]
Ross has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40960 โ†’ pg_repack: 1.4.2 -> 1.4.3 โ†’ https://git.io/vhUv5
UNIcodeX__ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40961 โ†’ llvm, top-level: Baby steps towards cross support โ†’ https://git.io/vhUvh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40962 โ†’ pdd: 1.1 -> 1.2 โ†’ https://git.io/vhUfU
UNIcodeX_ has quit [Ping timeout: 264 seconds]
sbdchd_ has joined #nixos
Lisanna has quit [Quit: Lisanna]
sbdchd has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40963 โ†’ pan: 0.144 -> 0.145 โ†’ https://git.io/vhUf3
sbdchd_ has quit [Remote host closed the connection]
sbdchd has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
dbmikus_ has quit [Quit: WeeChat 2.1]
sbdchd has quit [Ping timeout: 260 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
<PolarIntersect> /go
<PolarIntersect> sorry typo
mahalel_ has quit [Ping timeout: 260 seconds]
<jack[m]> desttinghim: hrm, IIRC, propagatedBuildInputs was supposed to deal with that.
<desttinghim[m]> I created an issue
vidbina has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
jasongrossman has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
<taktoa> dtz: just saw your message; I'm probably going to go to ICFP / Strange Loop in St. Louis in September...
Biappi has quit [Remote host closed the connection]
liori has quit [Remote host closed the connection]
<elvishjerricco> Is it possible to declare the version of nixpkgs to use in the nix files for nixops? Or do you HAVE to use -I on the CLI?
xy2_ has joined #nixos
medvid has quit [Ping timeout: 256 seconds]
lassulus has quit [Quit: WeeChat 2.0]
lassulus has joined #nixos
goodwill has quit [Quit: ...]
goodwill has joined #nixos
alex`` has joined #nixos
rauno has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
muzzy has joined #nixos
seafood has joined #nixos
medvid has joined #nixos
seafood has quit [Ping timeout: 245 seconds]
nisstyre is now known as Nisavowed_
Nisavowed_ is now known as nisstyre
<symphorien> ,pinning elvishjerricco
<elvishjerricco> symphorien: Pinning nixpkgs is easy. Pinning it in nixops is not so easy :P You pretty much have to use -I as far as I can tell
gmarmstrong has joined #nixos
<symphorien> Ah I didn't know nixops was special, sorry
gmarmstrong_ has joined #nixos
reinzelmann has joined #nixos
lanelet has quit [Quit: lanelet]
seafood has joined #nixos
ldlework has joined #nixos
<ldlework> What is the difference between adding packages to environment.systemPackages and doing something like programs.vim.enabled = true; ?
<etu> ldlework: "services" as the other one does "extra things", what this is is different for each service. But in general it's probably things you want. Extra things may be creating systemd services and enabling them etc.
myshoe has joined #nixos
maingo has quit [Quit: Connection closed for inactivity]
<etu> It can create environment files and such for things. The binary may not *require* this to be done. But it's usually nice.
<ldlework> there is also "programs" though
<ldlework> programs.vim.defaultEditor for example
<etu> ldlework: I just looked in the vim service that you had for example. It installs vim and then sets the EDITOR= environment variable to vim.
<etu> When putting vim in environment.systemPackages wouldn't do this last part
<ldlework> So, if a software package has an entry in "services" or "programs" you probably want to use the "enable" attribute if it exists
<ldlework> Before putting a package in systemPackages. Correct?
<etu> Well, it depends on what you want. But I find it better in most cases.
<ldlework> I wish there was a nice interface for browsing programs/services
<etu> There is!
<ldlework> using the nixpkgs expression source code hurts
<etu> $ man configuration.nix
<elvishjerricco> ldlework: https://nixos.org/nixos/options.html
<etu> Has the full list
<etu> And you can search in it
<elvishjerricco> Oh that's probably better :P
<etu> Doesn't take ages to load like a huge website
<elvishjerricco> There's an online list like that options one for packages too, but I can't remember the link
<ldlework> oh christ it is paginated
<ldlework> lol
<elvishjerricco> Don't think there's a similar command line list other than `nix search`
<elvishjerricco> ldlework: https://nixos.org/nixos/manual/options.html for unpaginated :P
Ariakenom has joined #nixos
<ldlework> elvishjerricco, etu, thanks
<elvishjerricco> Here's the packages link: https://nixos.org/nixos/packages.html#
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40965 โ†’ jgmenu: 0.8.2 -> 0.9 โ†’ https://git.io/vhUk5
periklis has joined #nixos
<gmarmstrong_> I often find that https://nixos.org/nixos/packages.html misses a lot of packages. Which branch does it follow? Does it include unfree?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40966 โ†’ jackett: 0.8.997 -> 0.8.1014 โ†’ https://git.io/vhUIq
<etu> gmarmstrong_: It doesn't show unfree
<etu> I just use "nix search phrase" nowadays
<gmarmstrong_> That sounds nicer.
hyper_ch2 has joined #nixos
<hyper_ch2> sphalerit: *ping*
<gmarmstrong_> Can you find unfree with nix search somehow?
thblt has quit [Remote host closed the connection]
<sphalerite> hyper_ch2: pong
<{^_^}> [nixpkgs] @aneeshusa opened pull request #40967 โ†’ openssh: 7.6p1 -> 7.7p1 โ†’ https://git.io/vhUIE
<sphalerite> gmarmstrong_: if you have allowUnfree enabled and you don't have results without unfree stuff cached, it will show them
<sphalerite> mkdir -p ~/.config/nixpkgs && echo '{ allowUnfree = true; }' > ~/.config/nixpkgs && nix search -u steam
<hyper_ch2> sphalerite: you highlighted me yesterday
<sphalerite> hyper_ch2: it wasn't anything important, I just grepped my IRC logs for the ACTIONs of various people and yours were particularly entertaining :p
Cale has quit [Ping timeout: 260 seconds]
nschoe has joined #nixos
burton_ has left #nixos ["Leaving"]
<hyper_ch2> what actions?
<sphalerite> the /me kind
<gmarmstrong_> sphalerite: are you sure? just echo a string into a directory?
<etu> the path should be ~/.config/nixpkgs/config.nix
<sphalerite> gmarmstrong_: oops, nixpkgs/config.nix :)
<etu> :)
leat has quit [Ping timeout: 252 seconds]
<hyper_ch2> sphalerite: ah :)
<gmarmstrong_> There it is, thanks! TODO: add this to my Home Manager config...
<MasseR> I remember seeing a searchable nixos configuration options page, do you guys remember where it was?
<elvishjerricco> MasseR: https://nixos.org/nixos/options.html
<gmarmstrong_> But also man configuration.nix
<MasseR> elvishjerricco: thanks
<MasseR> gmarmstrong_: thanks as well
seafood has quit [Quit: seafood]
Cale has joined #nixos
<gmarmstrong_> The Discord package description calls itself "free"... time to file an Issue?
<gmarmstrong_> Or honestly just a PR...
<sphalerite> gmarmstrong_: not sure how opiniated nixpkgs is on that terminology, but I'd be in favour :D
nschoe has quit [Quit: Program. Terminated.]
<etu> gmarmstrong_: what... that package isn't free and it's quite garbage as well since they break it all the time.
<gmarmstrong_> sphalerite: it's so popular (even strangely among Linux folks) that I'm gonna go ahead and push a PR.
<gmarmstrong_> it would have tricked me if I hadn't checked Wikipedia at some point :P
<etu> > nixpkgs.discord.meta.license
<{^_^}> undefined variable 'nixpkgs' at (string):41:1
<etu> pkgs.discord.meta.license
<etu> > pkgs.discord.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<sphalerite> > pkgs.discord.meta.description
<{^_^}> "All-in-one voice and text chat for gamers thatโ€™s free, secure, and works on both your desktop and phone"
<etu> Hmm?
<etu> Ah
<sphalerite> you could change "works" to "fails to work" while you're at it, based on what etu said ;)
<etu> :D
<gmarmstrong_> lol, it breaks itself every time it needs an update.
avn has quit [Ping timeout: 256 seconds]
<etu> And secure can probably be dropped as well
<etu> Afaik there haven't been any audits
<etu> "All-in-one voice and text chat for gamers"
sbdchd has joined #nixos
<gmarmstrong_> On it.
seafood has joined #nixos
<gmarmstrong_> probably just copy-pasted from their website
hamishmack has joined #nixos
dispanser has quit [Ping timeout: 260 seconds]
sbdchd has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
<{^_^}> [nixpkgs] @gmarmstrong opened pull request #40968 โ†’ Remove "free and secure" from Discord description โ†’ https://git.io/vhULD
muzzy_ has joined #nixos
seafood has quit [Quit: seafood]
xAFFE has joined #nixos
<gmarmstrong_> Hope that PR description is ok. I didn't do the whole fancy check box template because it was just changing a package description.
<jasongrossman> gmarmstrong++
<{^_^}> gmarmstrong's karma got increased to 1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40969 โ†’ libbsd: 0.8.7 -> 0.9.1 โ†’ https://git.io/vhULA
muzzy has quit [Ping timeout: 252 seconds]
tzemanovic has quit []
avn has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
xy2_ has quit [Ping timeout: 245 seconds]
<sphalerite> why are there 3 different versions of llvm in pandoc's closure D:
gmarmstrong_ has quit [Quit: Leaving]
seafood has joined #nixos
Ivanych has joined #nixos
seafood has quit [Quit: seafood]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40970 โ†’ folly: 2018.04.23.00 -> 2018.05.21.00 โ†’ https://git.io/vhUqm
jensens has joined #nixos
muzzy_ has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
muzzy has joined #nixos
wangoe has joined #nixos
eownis has joined #nixos
eownis has left #nixos ["Leaving"]
tzemanovic has joined #nixos
<mjrosenb> attempting to buid a package (heist) fails because its .cabal requests version <4.16.0, but the shell.nix that gets generated doesn't specify a version, so 4.16.1 gets installed, then heist fails to build
<mjrosenb> when running nix-shell, is there a way to force a dependency of a dependency of the current expression to not be at its maximum value?
seafood has joined #nixos
nipav has joined #nixos
nipav has quit [Client Quit]
seafood has quit [Quit: seafood]
<{^_^}> [nixpkgs] @aneeshusa opened pull request #40972 โ†’ vagrant: 2.0.2 -> 2.1.1 โ†’ https://git.io/vhUmd
seafood has joined #nixos
seafood has quit [Client Quit]
muzzy has quit [Ping timeout: 245 seconds]
<teto1> if there is any nixops maintainer, would be nice to see this merged https://github.com/NixOS/nixops/pull/824. Especially to get the Qemu-agent PR merged afterwards.
seafood has joined #nixos
<adisbladis[m]> mjrosenb: You can just put in an assert or a throw?
<{^_^}> [nixpkgs] @peti pushed to revert-40929-cross-ghc-for-master ยซ Revert "ghc, haskell infra: #40642 direct to master" ยป: https://git.io/vhUYr
<{^_^}> [nixpkgs] @peti opened pull request #40973 โ†’ Revert "ghc, haskell infra: #40642 direct to master" โ†’ https://git.io/vhUYi
halfbit has quit [Ping timeout: 245 seconds]
<dtz> sphalerite: and two ghc's! lol and a partridge in a pear tree!
<sphalerite> >.>
coot has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #40973 โ†’ Revert "ghc, haskell infra: #40642 direct to master" โ†’ https://git.io/vhUYi
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vhUYh
<{^_^}> โ†’ 5db3a9df by @peti: Revert "ghc, haskell infra: #40642 direct to master"
<{^_^}> [nixpkgs] @peti pushed 0 commits to revert-40929-cross-ghc-for-master: https://git.io/vhUOe
<{^_^}> โ†’ 83baf1e9 by @peti: Merge pull request #40973 from NixOS/revert-40929-cross-ghc-for-master
seafood has quit [Quit: seafood]
vaninwagen has joined #nixos
thblt has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40974 โ†’ debootstrap: 1.0.99 -> 1.0.100 โ†’ https://git.io/vhUOo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40975 โ†’ criu: 3.8.1 -> 3.9 โ†’ https://git.io/vhUOp
<jasongrossman> sphalerite: dtz: Maybe it's a complicated plot by jwieghley to make the Haskell version of Nix better than the Nix version.
<sphalerite> I don't see how that furthers the cause, but sure
<jasongrossman> Me neither. And apparently I can't spell jwiegley's name either.
jasongrossman has quit [Quit: Logging off to switch from stable to unstable.]
pxc1 has joined #nixos
woodson has quit [Ping timeout: 260 seconds]
pxc1 has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
thc202 has joined #nixos
thblt has quit [Quit: ERC (IRC client for Emacs 26.1)]
schjetne has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #39085 โ†’ bwsyncandshare: init at 11.6.703 โ†’ https://git.io/vpTce
periklis has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40228 โ†’ dmd,dtools,dub: 2.079.0 -> 2.079.1 and wrap ldc2 binary with $CC โ†’ https://git.io/vpPyq
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhUnL
<{^_^}> โ†’ 893ba5d1 by @ThomasMader: ldc: wrap ldc2 binary with C compiler because it's needed for linking
<{^_^}> โ†’ e762dca8 by @ThomasMader: dmd,dtools,dub: 2.079.0 -> 2.079.1
<{^_^}> โ†’ 4aa04d18 by @xeji: Merge pull request #40228 from ThomasMader/dlang-update
leat has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #39603 โ†’ gams: init at 25.02 โ†’ https://git.io/vp8YE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhUn8
<{^_^}> โ†’ 9668a669 by Fritz Otlinghaus: gams: init at 25.02
<{^_^}> โ†’ be4b3e89 by @Mic92: Merge pull request #39603 from Scriptkiddi/master
<{^_^}> [nixpkgs] @xeji merged pull request #40968 โ†’ Remove "free and secure" from Discord description โ†’ https://git.io/vhULD
<{^_^}> [nixpkgs] @xeji pushed commit from @gmarmstrong to master ยซ Remove "free and secure" from Discord description (#40968) ยป: https://git.io/vhUnE
winem_ has joined #nixos
sbdchd has joined #nixos
ryantm has quit [Quit: Lost terminal]
nahamu has quit [Quit: WeeChat 1.9.1]
sbdchd has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40910 โ†’ ocamlPackages.imagelib: init at 20171028 โ†’ https://git.io/vhv4s
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master ยซ ocamlPackages.imagelib: init at 20171028 (#40910) ยป: https://git.io/vhUcq
<jasongrossman> gmarmstrong: Your commit about Discord's description has been accepted.
johanot has joined #nixos
goibhniu1 is now known as goibhniu
<sphalerite> `
<sphalerite> oops
<jluttine> my webcam has stopped working suddenly after recent upgrade on unstable..
<jluttine> does it now need to be configured somehow differently or has something just broken?
dispanser has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<sphalerite> i'd guess the latter
betaboon has quit [Ping timeout: 245 seconds]
smallville7123 has joined #nixos
genesis has joined #nixos
<makefu> jluttine: try to rollback the upgrade and see if it is still broken
<makefu> ah, sorry misread
<makefu> normally webcams do not need to be configured
Acou_Bass has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
sigmundv__ has joined #nixos
lassulus has quit [Quit: WeeChat 2.0]
lassulus has joined #nixos
<ij> if you google images for nixops, the first page's mostly comprised of ships
<sphalerite> https://sphalerite.org/dump/wtf-images.png where did images go o.O
<makefu> "more"
<sphalerite> but... but... it's one of the most important ones!
<adisbladis[m]> Hm.. Not too happy with how nix-shell and PYTHONPATH plays together..
<sphalerite> anyway, it seems it's basically all https://nixops.deviantart.com/ lol
<adisbladis[m]> Just because I use some tooling written in python doesn't mean I want it to put stuff in my PYTHONPATH :/
betaboon has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40974 โ†’ debootstrap: 1.0.99 -> 1.0.100 โ†’ https://git.io/vhUOo
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhUlo
<{^_^}> โ†’ 742a5e04 by R. RyanTM: debootstrap: 1.0.99 -> 1.0.100
<{^_^}> โ†’ ae27dd21 by @yegortimoshenko: Merge pull request #40974 from r-ryantm/auto-update/debootstrap
smallville7123 has quit [Quit: rosa]
adamt has joined #nixos
aarvar has quit [Ping timeout: 252 seconds]
smallville7123 has joined #nixos
<adamt> Maybe a stupid question: In nix: mapAttrs maps over the key,values of a attr set. foldAttr folds over a list of attr sets. Is there a fold function that folds over the key,vals of an attr set?
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40970 โ†’ folly: 2018.04.23.00 -> 2018.05.21.00 โ†’ https://git.io/vhUqm
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhU8k
<{^_^}> โ†’ 23dce527 by R. RyanTM: folly: 2018.04.23.00 -> 2018.05.21.00
<{^_^}> โ†’ 3210c69c by @yegortimoshenko: Merge pull request #40970 from r-ryantm/auto-update/folly
<Synthetica> admant: No, it seems there isn't
<adamt> aww. I'll do it in multiple steps then.
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40960 โ†’ pg_repack: 1.4.2 -> 1.4.3 โ†’ https://git.io/vhUv5
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhU86
<{^_^}> โ†’ 62f0d646 by R. RyanTM: pg_repack: 1.4.2 -> 1.4.3
<{^_^}> โ†’ b86f976d by @yegortimoshenko: Merge pull request #40960 from r-ryantm/auto-update/pg_repack
eddyb has quit [Changing host]
eddyb has joined #nixos
eddyb has joined #nixos
tzemanovic has joined #nixos
Ridout has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhU4z
<{^_^}> โ†’ ead3698a by @yegortimoshenko: Merge pull request #40955 from r-ryantm/auto-update/redshift
<{^_^}> โ†’ 5c76ea68 by R. RyanTM: redshift: 1.11 -> 1.12
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40955 โ†’ redshift: 1.11 -> 1.12 โ†’ https://git.io/vhJhF
<jluttine> hmm.. apparently i can't rollback to any version: https://github.com/NixOS/nixpkgs/issues/24374
<jluttine> hmm.. that was incorrectly put.. can rollback only to previous, not arbitrary old version
dispanser has quit [Ping timeout: 245 seconds]
<sphalerite> jluttine: /nix/var/nix/profiles/system-$n-link/switch-to-configuration switch
<sphalerite> (or test, if you don't want it to boot into that one)
freusque has joined #nixos
freusque has quit [Client Quit]
<sphalerite> symphorien: when running nix-du I get Reading dependency graph from store... error: path '/nix/store/00amg3gyznfwga81kbqa6amasb8b7489-libapparmor-2.12.0-python' is not valid
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40806 โ†’ nixos/ids: information when to use static uids/gids โ†’ https://git.io/vphwY
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhU4j
<{^_^}> โ†’ 8c3503d6 by @Mic92: nixos/ids: information when to use static uids/gids
<{^_^}> โ†’ 94b9ede5 by @yegortimoshenko: Merge pull request #40806 from Mic92/nixos-ids
freusque has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40954 โ†’ qsynth: 0.5.0 -> 0.5.1 โ†’ https://git.io/vhJhS
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhUBU
<{^_^}> โ†’ bbbd9e25 by R. RyanTM: qsynth: 0.5.0 -> 0.5.1
<{^_^}> โ†’ 9ce7d28c by @yegortimoshenko: Merge pull request #40954 from r-ryantm/auto-update/qsynth
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40951 โ†’ simplescreenrecorder: 0.3.10 -> 0.3.11 โ†’ https://git.io/vhJxz
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhUBq
<{^_^}> โ†’ dfd12da9 by R. RyanTM: simplescreenrecorder: 0.3.10 -> 0.3.11
<{^_^}> โ†’ 8377b6e2 by @yegortimoshenko: Merge pull request #40951 from r-ryantm/auto-update/simplescreenrecorder
<symphorien> sphalerite: hum. can you paste the whole error message (to determine if the error is in the c++ part)
<symphorien> ?
<sphalerite> it's just that and then "Could not read from store"
<symphorien> then it is in the c++ part.
<symphorien> what does nix-store --query --referers say about this path ?
<sphalerite> empty
sbdchd has joined #nixos
<sphalerite> `nix path-info '/nix/store/00amg3gyznfwga81kbqa6amasb8b7489-libapparmor-2.12.0-python'` also complains that it's not valid
<sphalerite> heh, and nix-store -q --roots also complains. But nix-store --delete says it can't be deleted because it's still alive D:
tzemanovic has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
<symphorien> well I don't see how I can end up on a non valid path with this code https://github.com/symphorien/nix-du/blob/master/wrapper.hpp#L60-L82
jtojnar has joined #nixos
<sphalerite> store->findRoots()
Stumblet has joined #nixos
<symphorien> ah you mean a root could be invalid ?
<{^_^}> [nixpkgs] @Mic92 pushed to master ยซ radare2: add myself as maintainer ยป: https://git.io/vhUBN
sbdchd has quit [Ping timeout: 260 seconds]
<sphalerite> what are roots like {temp:14598:0}?
<sphalerite> as it happens process 14598 is nix-daemonโ€ฆ
Stumblet has quit [Client Quit]
<symphorien> they are roots made by nix-build and nix repl
<symphorien> so that intermediate build results are not gc-ed before they are used
Ridout has quit [Ping timeout: 256 seconds]
<symphorien> I discovered that two days ago
<symphorien> ah so it might be a race condition: the temp root became invalid before I could enumerate the references ?
<symphorien> is the problem transient ?
<sphalerite> that makes sense, but the problem is still occurring
<symphorien> is the problematic path a root ?
Biappi has joined #nixos
<sphalerite> yeah it's a temp root
<sphalerite> I think this might be because I'm running a nix build while trying to run nix-du?
<symphorien> then it should be enough to check that roots are valid
<symphorien> that or a nix repl
<sphalerite> a nix repl..?
<sphalerite> oh right, no, I'm not
<{^_^}> [nixpkgs] @Mic92 opened pull request #40977 โ†’ radare2: 2.5.0 -> 2.6.0 โ†’ https://git.io/vhURg
Acou_Bass has joined #nixos
Izorkin has joined #nixos
c0ffee152 has joined #nixos
Izorkin_ has quit [Ping timeout: 245 seconds]
<symphorien> sphalerite: can you try this http://xelpaste.net/gWDBQS ?
<sphalerite> yep that works
<symphorien> thanks, I will put it in the next release :)
leat has quit [Ping timeout: 276 seconds]
<jluttine> sphalerite: there's no such file: /nix/var/nix/profiles/system-$n-link/switch-to-configuration (no switch-to-configuration in that directory)
Arcaelyx has joined #nixos
dispanser has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40949 โ†’ zsh-autosuggestions: 0.4.2 -> 0.4.3 โ†’ https://git.io/vhJAd
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master ยซ zsh-autosuggestions: 0.4.2 -> 0.4.3 (#40949) ยป: https://git.io/vhUEn
Arcaelyx_ has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Ping timeout: 260 seconds]
<sphalerite> jluttine: whoops, system-$n-link/bin/switch-to-configuration
seafood has joined #nixos
edude03 has joined #nixos
smallville7123 has quit [Quit: rosa]
jD91mZM2 has joined #nixos
<jluttine> sphalerite: ok, thanks. webcam still not working so probably would need to reboot to test properly
<sphalerite> yeah might be a kernel issue then
<edude03> Hey peeps, I'm not sure where best to ask this but I want to include self signed certs on my nixos instances deployed with nixops
seafood has quit [Client Quit]
<edude03> I have them generated on my locally laptop, how do I create a derivation to get them into my instances?
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @elitak opened pull request #40978 โ†’ inav: init at 1.9.1; betaflight: 3.2.3 -> 3.3.2 โ†’ https://git.io/vhUuD
humanoyd has joined #nixos
<srhb> edude03: If you don't mind them being included in the nix store (world readable) just ./local/path/to/files
frank87_ has quit [Remote host closed the connection]
gm152 has joined #nixos
<edude03> srhb - any example of how to do that?
<srhb> edude03: services.httpd.sslServerCert = ../my/certificate; for instance
reinzelmann has joined #nixos
<srhb> edude03: I can answer this better if you tell us what you'll be using the cert for.
<edude03> I'm using the cert for vault
frank87 has joined #nixos
<edude03> It wants a path to the cert
<srhb> I'd be wary with importing it to the store then unless you are the only one with access to the machine
<srhb> But literally services.vault.tlsCertFile = path/to/file
<srhb> edude03: Nix will import the file to the store, and pass that store path to vault.
<edude03> Even if it's on my local machine?
<srhb> Yup.
<srhb> It'll automatically become a normal dependency.
xAFFE has left #nixos ["Error from remote client"]
<srhb> You can also take a look at NixOps' real keys handling.
xAFFE has joined #nixos
<srhb> Which is the more secure option that avoids importing it to the store
<srhb> But iirc it'll not persist through reboots then.
<srhb> But then again, vault will be sealed after a reboot anyway.
<{^_^}> [nixpkgs] @markuskowa opened pull request #40979 โ†’ beegfs/module: Fix a typo in meta.conf generation โ†’ https://git.io/vhUgJ
judson has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40967 โ†’ openssh: 7.6p1 -> 7.7p1 โ†’ https://git.io/vhUIE
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to staging: https://git.io/vhUgz
<{^_^}> โ†’ 2e2cbda2 by @aneeshusa: openssh: 7.6p1 -> 7.7p1
<{^_^}> โ†’ 2e831da7 by @yegortimoshenko: Merge pull request #40967 from aneeshusa/update-openssh-to-7.7p1
<{^_^}> [nixpkgs] @peti pushed to master ยซ haskell-lambdabot-core: apply patch from @int-e to fix GHC 8.4.x build ยป: https://git.io/vhUgV
Ariakenom has quit [Ping timeout: 264 seconds]
judson has joined #nixos
judson is now known as Guest42379
<edude03> Wow, looks like that worked srhb Thanks!
<srhb> edude03: You're welcome. :)
sbdchd has joined #nixos
tzemanovic has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master ยซ vimpc: use git tag instead of commit hash ยป: https://git.io/vhU2c
<johanot> SteveeJ: FYI.. I finally have some time to look at the Kubernetes tests now.. It looks to me that everything fails due to mem starvation. Will try to give the test vms some more mem. After rebase with master and fixing of the imageDigest-issue of course. :)
<srhb> "Go is so lighweight"
<srhb> :-)
sbdchd has quit [Ping timeout: 260 seconds]
<srhb> Could probably also adjust some runtime parameters for it... Probably not worth the hassle.
simukis has joined #nixos
<johanot> srhb: Actually it looks like multi-node testcases are fine, but the singlenode tests are strugling. Apparently 768 megs are not quite enough for ALL k8s components (master + node). + deployments :) Which.. I think is fair actually
<srhb> Really? Funny.
<srhb> I guess too much is just packed in the one vm.
<srhb> (And yes, it's fair.)
smallville7123 has joined #nixos
<johanot> srhb: To be fair.. Haven't looked into how much each component / deployment is claiming. It might be as simple as: The k8s dashboard is deployed for all test scenarios, but really not needed. Perhaps that shiny looking GUI is just exactly what makes the house of cards tip over :)
<srhb> Yeah it must be within one order of magnitude at least, since it fails in singlenode but not multinode.
<{^_^}> [nixpkgs] @phile314 opened pull request #40981 โ†’ Slimserver: Fix media scanning & transcoding (backport) โ†’ https://git.io/vhUaY
<LnL> it has a bunch of services and also needs etcd
<srhb> Yeah, I know. I still don't see why it should take up that much, but I'm probably being old and grumpy. :P
<LnL> people don't understand memory is a resource anymore
<srhb> I know right!
<srhb> :-)
<LnL> also yaml is human readable so we don't need abstractions anymore, just use copy paste :p
<edude03> srhb - uh does the same trick work for consul? It looks like it doesn't have a tls setting in the derivation so I'd have to put the tls path in the json file
<srhb> edude03: Yes, it has nothing to do with the specific modules
<edude03> weird how does it know what's config and what's a path then?
<srhb> edude03: A path like ./foo/bar/baz simply becomes a store path, so you can interpolate it in strings
<srhb> edude03: From the manual: "A path (e.g., ../foo/sources.tar) causes the referenced file to be copied to the store; its location in the store is put in the environment variable. The idea is that all sources should reside in the Nix store, since all inputs to a derivation should reside in the Nix store."
<srhb> From section 14.4: derivations
<srhb> edude03: So inside a string, you'd just refer to ${../path} or a named variable referring to whatever
<adamt> LnL: Memory is only a resource on localhost :p
<srhb> Speaking of which, I am so getting 32 GiB next time... It's ridiculous how much memory build systems (even linking!) takes up these days.
<adamt> srhb: The download doesn't auto start. Also, it redirects to a weird youtube movie with a guy called Rick. Also, i didn't get any more ram. :-(
<srhb> Damn..
<adamt> I'll file a bug report
* etu got a work laptop with 8GiB... Why don't I have at least 16GiB? (I know why, that revision of this generation of this laptop wasn't out when I decided).
seafood has joined #nixos
<etu> In only 11 months I'm due for an upgrade and can decide on a new one.
<edude03> ah that's super nice! Thankss srhb
<srhb> edude03: For gaining some confidence with this you can try out the repl a bit to see what actually happens. nix repl, then eg. "${/etc/hostname}"
Guest42379 has quit [Ping timeout: 260 seconds]
tzemanovic has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #40778 โ†’ Slimserver: Fix media scanning & transcoding โ†’ https://git.io/vphkJ
gm152 has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/vhUw2
<{^_^}> โ†’ 32bad1b6 by @phile314: nixos/slimserver: Disable broken image/video support (#40589)
<{^_^}> โ†’ 308638c0 by @phile314: nixos/slimserver: Fix transcoding
<{^_^}> โ†’ a23cf332 by @srhb: Merge pull request #40778 from phile314/slimserver-fix
gm152 has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed 3 commits to release-18.03: https://git.io/vhUwr
<{^_^}> โ†’ 599ea9ed by @phile314: nixos/slimserver: Fix transcoding
<{^_^}> โ†’ f36bb87d by @phile314: nixos/slimserver: Disable broken image/video support (#40589)
<{^_^}> โ†’ b2a36e64 by @srhb: Merge pull request #40981 from phile314/slimserver-fix-18.03
<{^_^}> [nixpkgs] @srhb merged pull request #40981 โ†’ Slimserver: Fix media scanning & transcoding (backport) โ†’ https://git.io/vhUaY
Neo-- has joined #nixos
jtojnar has joined #nixos
ixxie has joined #nixos
Ivanych has quit [Quit: Leaving.]
__monty__ has joined #nixos
smallville7123 has quit [Quit: rosa]
<srhb> Can someone explain to me (again, for the n'th time, it won't stick...) what can cause buildInputs and nativeBuildInputs to differ when host and target is the same?
<{^_^}> [nixpkgs] @romildo opened pull request #40982 โ†’ lxqt: 0.12.0 -> 0.13.0 โ†’ https://git.io/vhUrl
Judson has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
Judson is now known as Guest52358
jtojnar has joined #nixos
thblt has joined #nixos
tzemanovic has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
spear2 has joined #nixos
tobiasBora has joined #nixos
<tobiasBora> Hello,
iyzsong has joined #nixos
<tobiasBora> A friend of mine just installed nix and avrgcc to compile quickly a project
<tobiasBora> However when she types "make" there is an error, due to avr-gcc I guess
<tobiasBora> and I don't know how to load a library to make it usable by make
<{^_^}> [nixpkgs] @pmiddend opened pull request #40983 โ†’ pythonPkgs.typing-extensions: init at 3.6.5 โ†’ https://git.io/vhUod
<tobiasBora> I though to remember that it was linked with nix-shell, but I've never really did that
<{^_^}> [nixpkgs] @srhb opened pull request #40984 โ†’ gmsh: gfortran -> nativeBuildInputs (fix #40976) โ†’ https://git.io/vhUop
<tobiasBora> hum I think it's a problem of version in fact, sorry
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #40888 โ†’ vagrant: 2.0.4 -> 2.1.1 โ†’ https://git.io/vheyJ
<symphorien> no idea about cross compilation but in general it is: nix-shell -p libfoo
<tobiasBora> symphorien: ok thank you
acarrico has joined #nixos
sbdchd has quit [Ping timeout: 260 seconds]
acarrico has quit [Max SendQ exceeded]
<tobiasBora> Also, I tried to uninstall a package using "nix-env --uninstall avrgcc", but for some reasons it still tries to find avrgcc in a /nix/store file
<etu> tobiasBora: Can you see avrgcc if you run: nix-env -q ?
acarrico has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<tobiasBora> etu: yes, it still appears
<tobiasBora> (It's on a mac, don't know if it matters)
<tobiasBora> (and on my ubuntu it works well)
smallville7123 has joined #nixos
<gchristensen> tobiasBora: it probably printed avrgcc-x.x.x
<symphorien> tobiasBora: with nix-env -e use the exact name printed with nix-env -q
<gchristensen> tobiasBora: run nix-env -uninstall the whole line
acarrico has quit [Ping timeout: 256 seconds]
toby1851 has quit [Ping timeout: 248 seconds]
gmarmstrong has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40972 โ†’ vagrant: 2.0.2 -> 2.1.1 โ†’ https://git.io/vhUmd
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhUPz
<{^_^}> โ†’ cde4ea79 by @aneeshusa: vagrant: 2.0.2 -> 2.1.1
<{^_^}> โ†’ c9d18a23 by @yegortimoshenko: Merge pull request #40972 from aneeshusa/update-vagrant-to-2.1.1
griff_ has quit [Quit: griff_]
<tobiasBora> gchristensen: symphorien : My friend just removed everything because the current version was too recent for her project, but I'm curious to understand your fix. Why isn't "nix --uninstall avrgcc" is not supposed to do the same thing as "nix-env -e avrgxx-x.x.x".
<tobiasBora> ?*
<symphorien> tobiasBora: the argument of nix-env -e is a regexp matching the name of the derivation
<symphorien> not its attribute
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
acarrico has joined #nixos
smallville7123 has quit [Quit: rosa]
gm152 has quit [Quit: WeeChat 2.1]
c0ffee152 has quit [Quit: Lost terminal]
<gchristensen> and nix-env is confusing and I don't know
humanoyd has quit [Ping timeout: 245 seconds]
<tobiasBora> Hum, I think I just understood
<tobiasBora> (well parly)
Leo` has quit [Ping timeout: 240 seconds]
eisbaer has quit [Ping timeout: 240 seconds]
<tobiasBora> my friend did "nix-env -e avrgcc" (avrgcc was the name of the package)
<tobiasBora> and she got no output...
the-kenny-w has quit [Ping timeout: 268 seconds]
<tobiasBora> on my side I did "nix-env -e avr-gcc" (note the dash)
<tobiasBora> and I got a message "successfully uninstalled"
<tobiasBora> so now I understand why avr-gcc was still in the path
pxc1 has joined #nixos
<Drakonis[m]> you want the attrivut
<Drakonis[m]> attribute
<tobiasBora> but now, my question is "why do I install with avrgcc, and uninstall with avr-gcc"?
drakonis has joined #nixos
<symphorien> <gchristensen> and nix-env is confusing and I don't know << this is probably the best answer
<drakonis> i agree
<tobiasBora> ok thanks
<drakonis> the experience is sort of crappy
<edude03> Slightly off topic, but is there a recommended way to generate certs for nixos servers? Or should I/we be using wildcard certs and make life easy :P
<drakonis> nix-env is kind of rudimentary
<edude03> Because I'm thinking, for each server you need to generate a signing request with the servers host name / IP right which means you'd have to know all the servers you'll have ahead of time or you'll need to automate that some how
<gchristensen> edude03: you don't need IPs to get a cert through traditional means
<gchristensen> a wildcard would work, you may also be able to use our letsencrypt support
rain1 has quit [Remote host closed the connection]
<edude03> Letsencrypt sounds pretty good
<tobiasBora> Drakonis: do you have a better option on a non-nixos desktop?
<drakonis> well, right now its what we have
<drakonis> besides nix 2.0
<drakonis> hnix is still being worked on
pxc1 has quit [Ping timeout: 256 seconds]
<gchristensen> tobiasBora: I almost exclusively use nix-shell
<drakonis> hmm
<drakonis> i wonder why we don't have idris nix yet
<drakonis> instead of haskell nix
<srhb> It takes a lot of work to implement nix. :P
<drakonis> idris is haskell square
<drakonis> squared
<srhb> Shots fired
<tobiasBora> gchristensen: you can install something from nix-shell?
<drakonis> you can install things from nix-shell
<drakonis> it is in fact better for development
<srhb> Drakonis: I also think the nix haskell community is a lot larger than the nix idris community.
<gchristensen> tobiasBora: not exactly, I'm sorry, I can't type much. this might be helpful: https://gist.github.com/LnL7/570349866bb69467d0caf5cb175faa74
<drakonis> only that they stay in the store instead of the host
<gchristensen> srhb: by virtue of haskell bein larger than idris? :)
the-kenny-w has joined #nixos
<drakonis> idris is a research haskell
<drakonis> apparently
<tobiasBora> gchristensen: ok thanks
<srhb> gchristensen: I also think it's disproportionally smaller. Probably because of build system differences. Nix was/is a great solution to haskell builds being sometimes problematic.
<drakonis> a superset
<srhb> Not sure that's the case in Idris
<srhb> Drakonis: That's nonsense. :P
Leo` has joined #nixos
<drakonis> that's how i was sold idris :V
ixxie has joined #nixos
<srhb> I'd say it's a strict, dependently typed ML-like whereas Haskell is a not-dependently typed lazy ML-like. Huge difference imo.
<edude03> mm I'd rather avoid letsencrypt now that I think about it, so I'm going to have to find another way
<gchristensen> edude03: just get a regular cert then, wildcard or not
<srhb> How do I remove or increase the hydra log limit?
<drakonis> http://hackage.haskell.org/package/idris it does depend a whole lot on haskell packages
ixxie has quit [Client Quit]
humanoyd has joined #nixos
<srhb> It's built in Haskell after all...
devx has joined #nixos
<teto1> has anyone problen with discourse and github integration. I managed to signup through github after several ' Sorry, there was an error authorizing your account. Perhaps you did not approve authorization? ' and now I just get that last message without any opportunity to login (I could login in qutebrowser but not firefox :/)
<johanot> Can anyone tell me what or rather which user (in the nixOS test framework) is trying to access KVM to spawn VMs ? I constantly get : "Could not access KVM kernel module: Permission denied". /dev/kvm on my laptop is owned by root:kvm and my nix-daemon build users are members of the kvm group. When I do `sudo chmod o+rw /dev/kvm` it works, but I have no idea why.
Jackneilll has quit [Quit: Leaving]
asuryawanshi has joined #nixos
Jackneill has joined #nixos
<gchristensen> johanot: nixbld<N> when using nix-build
<srhb> johanot: Did you convert to daemonized nix though?
<srhb> Times are a-changing I guess!
<gchristensen> srhb: oh?
<srhb> gchristensen: I thought he used to be on single-user ubuntu, but maybe I'm misremembering :)
<johanot> srhb: Yes.. I did..
<johanot> gchristensen: grep nixbld /etc/group
<johanot> kvm:x:136:jot,nixbld10,nixbld1,nixbld2,nixbld3,nixbld4,nixbld5,nixbld6,nixbld7,nixbld8,nixbld9
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
eisbaer has joined #nixos
griff_ has joined #nixos
<gchristensen> johanot: ls -la /dev/kvm
<gchristensen> or rather, `stat /dev/kvm`
jtojnar has quit [Ping timeout: 252 seconds]
vaninwagen has quit [Ping timeout: 240 seconds]
<johanot> gchristensen: File: /dev/kvm
<johanot> Size: 0 Blocks: 0 IO Block: 4096 character special file
<johanot> Access: 2018-05-23 14:09:28.371155769 +0200
<johanot> Device: 6h/6dInode: 528 Links: 1 Device type: a,e8
<johanot> Change: 2018-05-23 14:09:28.371155769 +0200
<johanot> Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 136/ kvm)
<johanot> Modify: 2018-05-23 14:09:28.371155769 +0200
<johanot> Birth: -
<tilpner> ,paste johanot
<{^_^}> johanot: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<__monty__> edude03: Why avoid letsencrypt?
<johanot> sry
<clever> johanot: on my nixos machine, its crw-rw-rw- 1 root root 10, 232 May 22 21:42 /dev/kvm
<edude03> __monty__ adds another moving part to this setup
Rusty1_ has joined #nixos
seafood has quit [Quit: seafood]
<__monty__> edude03: Why? Can't you use letsencrypt like you'd use any other CA?
emmanuelrosa has joined #nixos
<johanot> clever: That would work for me as well... Just don't understand why it's needed to allow "other" :)
<gchristensen> johanot: me too :)
jtojnar has joined #nixos
vaninwagen has joined #nixos
emmanuelrosa has left #nixos [#nixos]
<johanot> Perhaps because qemu-system-x86_64 is invoked without "-runas" and/or defaults to nobody:nogroup or something?
<clever> johanot: nix-build -E 'with import <nixpkgs> {}; runCommand "test" {} "id"'
<clever> johanot: what user/groups does this output?
<clever> qemu never gets root, so -runas wont matter
<johanot> clever: uid=1000(nixbld) gid=100(nixbld) groups=100(nixbld)
<clever> johanot: it sounds like nix-daemon isnt obeying the groups you added the user to
<sphalerite> oh, could it be some odd interaction with the user namespacing?
<clever> so the nixbld group must own /dev/kvm, or you give it the other bits
<Dezgeg> sounds like user namespaces yes
<sphalerite> actually why is /dev/kvm not world-rw?
<sphalerite> it is on nixos
sbdchd has joined #nixos
seafood has joined #nixos
<clever> sphalerite: maybe something to do with this
<clever> by launching the right type of vm, and changing stack segment registers during an irq, you can gain ring0
<Dezgeg> well, all kernel code can have bugs
<clever> and limiting its usage to only the users that should have access limits the attack surface area
sbdchd has quit [Ping timeout: 245 seconds]
jtojnar has quit [Read error: Connection reset by peer]
Guest17555 has joined #nixos
waleee has joined #nixos
nahamu has joined #nixos
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
jtojnar_ has joined #nixos
Guest17555 has quit [Quit: WeeChat 2.1]
vaninwagen has quit [Ping timeout: 245 seconds]
jtojnar_ is now known as jtojnar
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
jperras has joined #nixos
hamishmack has joined #nixos
<johanot> clever: Changing the group-ownership of /dev/kvm to nixbld worked.. This is good enough for me. I can just make my own user member of this group as well.. (I'd like to be able to spawn VMs myself :) ). out of curiosity: Can you explain to me why the nix daemon doesn't pick up on my group memberships?
<clever> johanot: never add yourself to the nixbld group
<clever> johanot: nix-daemon will pick a semi-random user of the nixbld group, then `kill -9` every process in the user, and start a build under it
<{^_^}> [nixos-hardware] @yorickvP opened pull request #59 โ†’ common/cpu/intel/kaby-lake: fix kernelParams -> boot.kernelParams โ†’ https://git.io/vhUSI
edude03 has joined #nixos
<johanot> clever: lol ah.. I see why that might be a problem...
toby1851 has joined #nixos
<__monty__> Sounds like it would be a minor inconvenience.
<johanot> #chaosmonkey
__Sander__ has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
<johanot> clever: So.. I guess I'm down to chmod o+rw /dev/kvm ? .. Will probably be slightly more convenient than getting all my processes randomly slaughtered.
<clever> johanot: yeah
<johanot> thx!
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<sphalerite> johanot: you can also use ACLs to grant your specific user access to it
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lsix opened pull request #40985 โ†’ pythonPackages.pylibconfig2: 0.2.4 -> 0.2.5 โ†’ https://git.io/vhU9R
<johanot> sphalerite: right. thanks.. I might play around with ACLs in udev one day.. for now it's gonna be the lazy solution however. :)
jtojnar_ has quit [Ping timeout: 240 seconds]
toby1851 has quit [Remote host closed the connection]
edude03 has joined #nixos
vaninwagen has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #40986 โ†’ sc-im: available on the other Unix-like platforms โ†’
<{^_^}> [nixpkgs] @bkchr opened pull request #40987 โ†’ fetch-kde-qt: Store downloaded files directly in nix/store โ†’ https://git.io/vhUHQ
xAFFE has left #nixos ["Error from remote client"]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40961 โ†’ llvm, top-level: Baby steps towards cross support โ†’ https://git.io/vhUvh
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vhUQ8
<{^_^}> โ†’ 07d73c4a by @Ericson2314: clangSelf, clangWrapSelf, llvmPackagesSelf: Remove this unused thing
<{^_^}> โ†’ 25e866a7 by @Ericson2314: treewide: Less {cc,bintools}-wrapper eta expansion
<{^_^}> โ†’ acc98436 by @Ericson2314: llvm: Starting to fix Clang wrapping and stdenv building for cross
endformationage has joined #nixos
steell has joined #nixos
lanelet has joined #nixos
<ocharles> How do I figure out why hydra has "Queue (0/8)"
<ocharles> Why has it queued 8 builds, but is running none of them?
<ocharles> the queued jobs are all in .jobsets for declarative projects
<srhb> ocharles: hydra-queue-runner --status
<clever> ocharles: is the hydra publicly visible?
<srhb> ocharles: Sometimes it'll help to figure out if your builders are missing some features needed
<ocharles> clever: afraid not
<aminechikhaoui> hydra-queue-runner --status is visible through https://hydra.nixos.org/queue-runner-status
<srhb> aminechikhaoui: Thanks, I did not know that!
<ocharles> let me just check my journal logs
<ocharles> oh, I think it's because I'm missing some special files that have to be added with --add-fixed
<ocharles> I wish the web ui would show this stuff
<clever> ocharles: those would show under status->latest steps, as derivations that keep failing
<ocharles> not that I can see
<ocharles> Hydra has sprung to life now though :)
sbdchd has joined #nixos
<clever> ocharles: oh, import from derivation
<clever> ocharles: it needed a --add-fixed at EVAL time, so it wont show in latest-steps failures
<ocharles> yea
<ocharles> which sucks, unfortunately
<srhb> IFD on Hydra is super painful...
<ocharles> but at least it's *somewhere*
<clever> that wont un-stick your queue, that will just add more to the queue!
<{^_^}> [nixpkgs] @lsix opened pull request #40988 โ†’ pythonPackages.django: 1.11.12 -> 1.11.13 โ†’ https://git.io/vhU7V
<ocharles> well, adding the missing files has got everything moving forward now
<ocharles> the queue is bigger, but at least 2 things are actually building now
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40989 โ†’ cctools: Remove a bunch of stuff no longer needed for Linux โ†’ https://git.io/vhU7o
reinzelmann has quit [Quit: Leaving]
sbdchd has quit [Remote host closed the connection]
halfbit has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40989 โ†’ cctools: Remove a bunch of stuff no longer needed for Linux โ†’ https://git.io/vhU7o
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhU5T
<{^_^}> โ†’ 266adab3 by @Ericson2314: cctools: Remove a bunch of stuff no longer needed for Linux
<{^_^}> โ†’ bbcaf783 by @Ericson2314: Merge pull request #40989 from obsidiansystems/cctools-linux
Khetzal has quit [Remote host closed the connection]
silver has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #40990 โ†’ bazel: add darwin support โ†’ https://git.io/vhU5l
steell has quit [Ping timeout: 256 seconds]
rauno has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
<cocreature> can I use "nix why-depends" to see why a package is a _build_ dependency of another derivation?
Khetzal has joined #nixos
<clever> cocreature: currently, it only works on runtime stuff, youll need to manually search `nix-store --query --tree /nix/store/foo.drv`
<cocreature> clever: alright, thanks!
<{^_^}> [nixpkgs] @Ericson2314 pushed 83 commits to staging: https://git.io/vhUdg
<{^_^}> โ†’ d72a0e71 by @dtzWill: nghttp2: 1.24.0 -> 1.31.0
<{^_^}> โ†’ 19445fa1 by @tadfisher: nixos/powerManagement: add "med_power_with_dipm" scsiLinkPolicy
<{^_^}> โ†’ e9868c39 by @teozkr: nixopsUnstable: 1.6pre2276_9203440 -> 1.6.1pre2622_f10999a
vaninwagen has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 248 seconds]
alex`` has quit [Quit: WeeChat 2.1]
vaninwagen has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40991 โ†’ darwin stdenv: Persist `darwin.binutils-unwrapped` โ†’ https://git.io/vhUbI
freeman42x]NixOS has joined #nixos
<sphalerite> clever: cocreature: I usually use nix-store -q --graph to find that sort of thing because searching with less makes finding the next link in the chain much easier
<cocreature> sphalerite: yeah I used nix-store -q --tree :)
<sphalerite> yes, I mean I prefer --graph over --tree
<sphalerite> because it lists all the dependencies rather than visualising them with ascii art
<sphalerite> and as a result is better for searching
<ocharles> ok, you were right clever - my queue is still stuck :(
<ocharles> no errors from hydra-evaluator or hydra-queue-runner now
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<ocharles> "nrRunnableSteps":3 in the queue status, along with: "runnable" : 3 for machineTypes.builtin:local
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40991 โ†’ darwin stdenv: Persist `darwin.binutils-unwrapped` โ†’ https://git.io/vhUbI
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhUbb
<{^_^}> โ†’ 64c90e53 by @Ericson2314: darwin stdenv: Persist `darwin.binutils-unwrapped`
<{^_^}> โ†’ e3f35d14 by @Ericson2314: Merge pull request #40991 from obsidiansystems/stdenv-darwin-persist
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/vhUNI
<{^_^}> โ†’ 64c90e53 by @Ericson2314: darwin stdenv: Persist `darwin.binutils-unwrapped`
<{^_^}> โ†’ e3f35d14 by @Ericson2314: Merge pull request #40991 from obsidiansystems/stdenv-darwin-persist
<{^_^}> โ†’ 17316643 by @Ericson2314: Merge remote-tracking branch 'upstream/master' into staging
edude03 has joined #nixos
liori has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40992 โ†’ darwin stdenv: Properly compose overrides โ†’ https://git.io/vhUNB
<clever> ocharles: find the .drv file that is listed on the build in the queue (in the UI) then run `nix-store -r` on it on the hydra machine, what is the very first thing it builds (you can also ctrl+c once it starts)
<ocharles> what is -r?
<ocharles> ---realise?
<ocharles> I often do that and it seems to build fine :S
<clever> yeah
<ocharles> Just rebooting the machine though (changing instance type), will try when it's back online
drakonis has quit [Remote host closed the connection]
<clever> the key, is to look at what the first thing it builds is, and then figure out why hydra wont build that
<ocharles> ok
<ocharles> seems reasonable
asuryawanshi has quit [Ping timeout: 245 seconds]
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
vaninwagen has quit [Ping timeout: 252 seconds]
vaninwagen has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to staging ยซ haskell generic-builder: Remove merge conflict ยป: https://git.io/vhUxf
seafood has quit [Quit: seafood]
<kai_w> I have a PR to allow configuration of heimdal Kerberos servers that's been stalled for a month, is anybody able to take a look? https://github.com/NixOS/nixpkgs/pull/31832
acarrico has quit [Ping timeout: 256 seconds]
<kai_w> The rebuilding is because it fixes 39424, I don't think there's any way to avoid it...
acarrico has joined #nixos
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40993 โ†’ haskell generic-builder: Tiny changes that preserve hases โ†’ https://git.io/vhUpb
<{^_^}> [nixpkgs] @dtzWill opened pull request #40994 โ†’ strace: fix libunwind detection by fixing use of lib.optional โ†’ https://git.io/vhUhw
<ocharles> clever: here's what I get with nix-store --realise: https://gist.github.com/ocharles/b0cab2a4a1e2d52d3e9f63887816585d
<ocharles> after that cancelling and restarting the build gives me a green tick
jtojnar_ has joined #nixos
<clever> ocharles: can you add both those spec.json.drv files to the gist, along with your /etc/nix/machines ?
<ocharles> Yep, that should be fine. One moment
jtojnar has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #40993 โ†’ haskell generic-builder: Tiny changes that preserve hases โ†’ https://git.io/vhUpb
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vhUjI
<{^_^}> โ†’ 3394c966 by @Ericson2314: haskell generic-builder: Tiny changes that preserve hases
<{^_^}> โ†’ 1e225e64 by @peti: Merge pull request #40993 from obsidiansystems/tiny-haskell-builder
drakonis has joined #nixos
drakonis has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
jtojnar has joined #nixos
<ocharles> clever: pm'ed as I'm lazy to truly check that for secrets, but I'm pretty sure there's nothing I need to redact
drakonis has joined #nixos
jtojnar_ has quit [Ping timeout: 260 seconds]
<clever> ocharles: the 64bit slave in /etc/nix/machines is invalid
<clever> so hydra isnt capable of doing any 64bit builds
<ocharles> localhost?
<clever> yes
<clever> unable to open SSH connection to 'localhost': don't know how to open Nix store 'localhost'; trying other available machines...
<ocharles> that's weird, cause hydra is doing other builds right now...
<clever> using localhost as a slave also causes many problems with IFD
<ocharles> right
<clever> it may be that hydra treats localhost specially, but nix does not
<clever> just use a non-local 64bit build slave
<drakonis> i'm still stumped on how to test a module
<ocharles> my goal is that the machine running hydra is also a build machine
<ocharles> that can still be done, right?
<clever> drakonis: add its path to the imports list on your configuration.nix
<clever> ocharles: one min
<ocharles> thanks
suvash_away has quit [Ping timeout: 245 seconds]
<drakonis> so, do i use an absolute path?
Guanin has joined #nixos
<clever> ocharles: services.hydra.buildMachinesFiles = [ "etc/nix/machines" (builtins.toFile "machines2" "ocalhost x86_64-linux - 2 1") ];
<clever> ocharles: this may help, and also fix the missing /, and remove localhost from the main machines file (via its config)
<clever> drakonis: it can also be relative
alanz has quit [Ping timeout: 256 seconds]
<drakonis> hmm
<clever> drakonis: relative paths are evaled relative to the file that contains the path
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #40995 โ†’ fplll: 5.2.0 -> 5.2.1, fpylll: 0.3.0dev -> 0.4.0dev โ†’ https://git.io/vhTeG
<ocharles> clever: sweet, let me give that a shot
<ocharles> clever: and nothing in nix.buildMachines ?
<ocharles> presumably "ocalhost" is "localhost"
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40996 โ†’ ghc, haskell-infra: #40929 take 2 โ†’ https://git.io/vhTeu
johnw has quit [Ping timeout: 260 seconds]
<clever> ocharles: yeah
<clever> ocharles: hydra supports a list of files, that have the /etc/nix/machines format
<drakonis> hmm, but does the import still let me run the module?
<clever> the above config, tells it to use the same one as nix (which came from nix.buildMachines), and a second one that is inlined right there
<drakonis> because i have to fix the hackjob that is the cassandra module
<clever> drakonis: if you add to the imports of the system, then nixos-rebuild will run the module, as long as it doesnt conflict with existing ones
<drakonis> hmm alright, the module is disabled on nixpkgs anyways
<ocharles> clever: cool, that's deploying now
knupfer has joined #nixos
chessai has joined #nixos
<ocharles> Got some actual builds to get through first, I'll see what this does
<ocharles> sigh, this one is stuck but -r looks fine now: https://gist.github.com/ocharles/d1ce49fa61fe6f89ed8939592cc96931
<ocharles> though restarting the queue-runner seems to have let it do something
halfbit has joined #nixos
maingo has joined #nixos
<gchristensen> ocharles: oh have you setup the `builtins` builder?
<ocharles> no idea
<ocharles> so I doubt it?
<ocharles> Tell me more!
<ocharles> I wasn't aware of this, sounds likely. Shall try
<ocharles> yes, this might be it!
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40992 โ†’ darwin stdenv: Properly compose overrides โ†’ https://git.io/vhUNB
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vhTJQ
<{^_^}> โ†’ f567a851 by @Ericson2314: darwin stdenv: Properly compose overrides
<{^_^}> โ†’ aac8be76 by @Ericson2314: Merge pull request #40992 from obsidiansystems/stdenv-darwin-persist
<gchristensen> ocharles: :$ glad to help
<ocharles> No more .jobsets in the queue
<ocharles> now I can sleep easy until the next hydra change :p
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @ayyjayess opened pull request #40997 โ†’ gmailieer: 0.6 -> 0.8 โ†’ https://git.io/vhTUJ
<{^_^}> [nixpkgs] @xeji closed pull request #40953 โ†’ lxqt.screengrab: 1.97 -> 1.98 โ†’ https://git.io/vhJhl
hyper_ch2 has quit [Quit: Page closed]
joelpet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/vhTU4
<{^_^}> โ†’ 25f4f06c by @Ericson2314: Merge branch 'stdenv-darwin-persist' into ios-mini-staging
<{^_^}> โ†’ c641a74b by @Ericson2314: Merge remote-tracking branch 'upstream/master' into ios-mini-staging
<{^_^}> โ†’ 63df0613 by @Ericson2314: Merge branch 'ios-mini-staging' into staging
dbmikus has quit [Ping timeout: 240 seconds]
suvash_away has joined #nixos
__monty__ has quit [Quit: Lost terminal]
vaninwagen has quit [Ping timeout: 248 seconds]
__monty__ has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
toby1851 has joined #nixos
vaninwagen has joined #nixos
freusque has quit [Quit: WeeChat 2.0]
johanot has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
toby1851 has quit [Client Quit]
dbmikus has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
dbmikus_ has joined #nixos
dbmikus_ has quit [Client Quit]
dispanser has quit [Ping timeout: 252 seconds]
dbmikus_ has joined #nixos
hamishmack has quit [Ping timeout: 260 seconds]
johanot has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40977 โ†’ radare2: 2.5.0 -> 2.6.0 โ†’ https://git.io/vhURg
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/vhTkg
<{^_^}> โ†’ 454edcd6 by @Mic92: radare2: add myself as maintainer
<{^_^}> โ†’ e87bfe08 by @Mic92: radare2: 2.5.0 -> 2.6.0
<{^_^}> โ†’ d6b9e625 by @Mic92: Merge pull request #40977 from Mic92/radare2
dbmikus has quit [Ping timeout: 245 seconds]
arbxs has quit [Ping timeout: 240 seconds]
vaninwagen has quit [Ping timeout: 245 seconds]
dbmikus_ has quit [Client Quit]
johanot has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40994 โ†’ strace: fix libunwind detection by fixing use of lib.optional โ†’ https://git.io/vhUhw
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master ยซ strace: fix libunwind detection by fixing use of lib.optional (#40994) ยป: https://git.io/vhTkA
toby1851 has joined #nixos
astrofog has joined #nixos
vi21b has joined #nixos
arbxs has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40979 โ†’ beegfs/module: Fix a typo in meta.conf generation โ†’ https://git.io/vhUgJ
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master ยซ beegfs/module: Fix a typo in meta.conf generation (#40979) ยป: https://git.io/vhTLE
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @xeji merged pull request #40985 โ†’ pythonPackages.pylibconfig2: 0.2.4 -> 0.2.5 โ†’ https://git.io/vhU9R
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to master ยซ pythonPackages.pylibconfig2: 0.2.4 -> 0.2.5 (#40985) ยป: https://git.io/vhTLr
griff_ has quit [Read error: Connection reset by peer]
alanz has joined #nixos
<{^_^}> [nixpkgs] @ankhers opened pull request #40998 โ†’ elixir: 1.6.4 -> 1.6.5 โ†’ https://git.io/vhTtJ
<{^_^}> [nixpkgs] @xeji merged pull request #40984 โ†’ gmsh: gfortran -> nativeBuildInputs (fix #40976) โ†’ https://git.io/vhUop
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to master ยซ gmsh: gfortran -> nativeBuildInputs (fix #40976) (#40984) ยป: https://git.io/vhTtP
<{^_^}> [nixpkgs] @Mic92 merged pull request #39214 โ†’ Add nix-prefetch-github โ†’ https://git.io/vpqSN
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vhTtX
<{^_^}> โ†’ 101d1d11 by @seppeljordan: pythonPackages.effect: init -> 0.11.0
<{^_^}> โ†’ aca3198c by @seppeljordan: nix-prefetch-github: init -> 1.3
<{^_^}> โ†’ 273c882f by @Mic92: Merge pull request #39214 from seppeljordan/add-nix-prefetch-github
astrofog has quit [Quit: Quite]
johanot has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to release-18.03 ยซ gmsh: gfortran -> nativeBuildInputs (fix #40976) (#40984) ยป: https://git.io/vhTqT
leat has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40933 โ†’ stdenv, binutils: Build cctools targeting macOS on Linux without pointless rebuilds โ†’ https://git.io/vhJky
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/vhTqw
<{^_^}> โ†’ 983e74ae by @Ericson2314: stdenv: Avoid targetPlatform.isDarwin causing a mass rebuild
<{^_^}> โ†’ ee9dc37e by @Ericson2314: Merge pull request #40933 from obsidiansystems/linux-to-darwin
<{^_^}> โ†’ 4ffa8b61 by @Ericson2314: binutils: Do not needless redownload sources cascading more rebuilds
leat has quit [Ping timeout: 252 seconds]
raynold has joined #nixos
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
TonyTheLion has quit [Remote host closed the connection]
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 2 commits to master: https://git.io/vhTmF
<{^_^}> โ†’ cfee9e13 by @yegortimoshenko: Merge pull request #59 from yorickvP/patch-1
<{^_^}> โ†’ dd576672 by @yorickvP: common/cpu/intel/kaby-lake: fix kernelParams -> boot.kernelParams
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #59 โ†’ common/cpu/intel/kaby-lake: fix kernelParams -> boot.kernelParams โ†’ https://git.io/vhUSI
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/vhTYv
<{^_^}> โ†’ d417ada9 by @matthewbauer: clang: only link if LLVMgold exists
<{^_^}> โ†’ 9416f298 by @matthewbauer: llvm: remove libedit from clang
<{^_^}> โ†’ 895fef2b by @matthewbauer: clang3.4: still needs libedit
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
<{^_^}> [nixpkgs] @xeji pushed commit from @mnacamura to master ยซ sc-im: available on the other Unix-like platforms (#40986) ยป: https://git.io/vhTY8
<{^_^}> [nixpkgs] @xeji merged pull request #40986 โ†’ sc-im: available on the other Unix-like platforms โ†’ https://git.io/vhUHX
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
waleee has quit [Quit: WeeChat 2.1]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
marusich has quit [Quit: Leaving]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
Lisanna has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
Lisanna has quit [Remote host closed the connection]
<elvishjerricco> Are there links to the install scripts for older versions of Nix anywhere? I want to test some upgrade paths
<gchristensen> the nixos.org/nix/install script is pretty version agnostic
<gchristensen> from there, follow that logic for the releases yu can get here: https://nixos.org/releases/nix/
adamt has quit [Ping timeout: 240 seconds]
<Ralith> where does nix.conf live on nix-on-linux?
lassulus has quit [Quit: WeeChat 2.0]
<gchristensen> /etc/nix/nix.conf
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40945 โ†’ sqlite{,-analyzer}: use the same src โ†’ https://git.io/vhJQf
<{^_^}> [nixpkgs] @yegortimoshenko pushed to staging ยซ sqlite{,-analyzer}: use the same src (#40945) ยป: https://git.io/vhTsn
lassulus has joined #nixos
lassulus has quit [Client Quit]
<nyanloutre[m]> disasm: Hello, did you have the time to look at the timeout problem for the Cython build on aarch64 ?
nuncanada2 has joined #nixos
lassulus has joined #nixos
<disasm> nyanloutre[m]: what PR is that one?
<nyanloutre[m]> The aarch64 build failed because a dependancy (Cython) didn't build in time
<Ralith> gchristensen: my coworker tells me he has no /etc/nix at all
<gchristensen> he doesn't strictly need one, Ralith
<sphalerite> Ralith: what gchristensen or ~/.config/nix/nix.conf
nuncanada has quit [Ping timeout: 264 seconds]
<sphalerite> depending on the setup. It will look for both.
<sphalerite> And it doesn't matter if neither exists
<Ralith> sphalerite: depending on the setup how?
<disasm> nyanloutre[m]: probably cython is broken in master (otherwise it would be in the binary cache) Does it build locally for you?
woodson has joined #nixos
<disasm> nyanloutre[m]: linux too fyi
<disasm> x86_64 that is
<sphalerite> Ralith: which one you'd want to edit depends on your setup, e.g. in a single user setup you'd probably want to use ~/.config/nix/nix.conf so that there's less root involved. But you can use either or both regardless.
<Ralith> gchristensen: so if he omits fields that NixOS provides by default, everything will default correctly still?
<nyanloutre[m]> disasm: I don't have a aarch64 device
<nyanloutre[m]> but on x86 it build
<nyanloutre[m]> as I understand the build should take around 20 minutes but is killed after 10
<sphalerite> Ralith: yes
drakonis has quit [Remote host closed the connection]
<Ralith> sweet, thanks
FRidh has joined #nixos
<disasm> nyanloutre[m]: kicked another build. We'll see if it fails at same spot
<nyanloutre[m]> disasm:
<nyanloutre[m]> oops :p
nuncanada has joined #nixos
<nyanloutre[m]> disasm: where is the maximum build time for hydra setup ?
<nyanloutre[m]> because if the build is gonna take more than 10 minute it will fail every time
<Dezgeg> it's on the order of 10 hours or something
nuncanada2 has quit [Ping timeout: 260 seconds]
<nyanloutre[m]> Dezgeg: so it shouldn't timeout
<fresheyeball> hey
nuncanada has quit [Ping timeout: 245 seconds]
<fresheyeball> so with nix 1. I used to do `nix-env -f . -i myPackage` to install my own projects
<fresheyeball> is there an equivelant with nix 2?
<sphalerite> fresheyeball: not yet
<sphalerite> fresheyeball: for now just continue using the same command.
<fresheyeball> same command doesnt work now
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/vhTZz
<{^_^}> โ†’ e7abee19 by @peti: hackage2nix: disable failing builds on Hydra
<{^_^}> โ†’ ba47d40d by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> โ†’ f9524a48 by @peti: LTS Haskell 11.10
<Dezgeg> yes, sounds like the cython build hangs on aarch64 for some reason
<sphalerite> oh, you may be missing a -A there
<sphalerite> fresheyeball: what does the default.nix look like?
toby1851 has quit [Ping timeout: 252 seconds]
winem_ has quit [Ping timeout: 268 seconds]
nuncanada has joined #nixos
jensens has quit [Ping timeout: 248 seconds]
<sphalerite> fresheyeball: try just `nix-env -f . -i`
<fresheyeball> sphalerite: that works fine on my box
<sphalerite> fresheyeball: but yeah this seems like a regression, maybe open an issue about it
<fresheyeball> I have nix-env 1.11.15
<fresheyeball> with nix-env 2.x it fails, says it cant find derivation kassir
<sphalerite> no but like literally just `nix-env -f . -i` without any further args
<fresheyeball> sphalerite: that works on my end
<fresheyeball> checking with friend
nuncanada2 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #40988 โ†’ pythonPackages.django: 1.11.12 -> 1.11.13 โ†’ https://git.io/vhU7V
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhTck
<{^_^}> โ†’ 8733a3b9 by @lsix: pythonPackages.django: 1.11.12 -> 1.11.13
<{^_^}> โ†’ 427689ec by @FRidh: Merge pull request #40988 from lsix/django-1.11.13
sigmundv__ has quit [Ping timeout: 256 seconds]
rain1 has joined #nixos
nuncanada has quit [Ping timeout: 256 seconds]
leat has joined #nixos
FRidh has quit [Ping timeout: 245 seconds]
alexteves has quit [Read error: Connection reset by peer]
alexteves has joined #nixos
<sphalerite> blargh, several python-based builds have been hanging for hours on getrandomโ€ฆ
<sphalerite> Fun fact: Scaleway C1 servers need haveged
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
<jluttine> hmm.. gwenview segfaults on some jpg images but not all
aarvar has joined #nixos
leat has quit [Ping timeout: 268 seconds]
Lisanna has joined #nixos
sanscoeur has joined #nixos
nuncanada has joined #nixos
nuncanada2 has quit [Ping timeout: 245 seconds]
coot has quit [Read error: Connection reset by peer]
coot has joined #nixos
<phry> I'm trying to patchelf a binary and getting a lot of "no version information available" and "relocation error: <filename>: symbol , version not defined in file with link time reference" when I finally try to execute them. Can someone help me with that? :)
TonyTheLion has joined #nixos
leat has joined #nixos
Lisanna has quit [Remote host closed the connection]
shoogz has quit [Ping timeout: 260 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
nckx has quit [Quit: Updating my GNU GuixSD server โ€” gnu.org/s/guix]
nckx has joined #nixos
shoogz has joined #nixos
thblt has quit [Remote host closed the connection]
vi21b has quit [Quit: Konversation terminated!]
waleee has joined #nixos
asuryawanshi has joined #nixos
nuncanada2 has joined #nixos
winem_ has joined #nixos
nuncanada has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has joined #nixos
ericsagnes has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b2a36e6424f (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
nuncanada has joined #nixos
jtojnar has quit [Remote host closed the connection]
alexteves_ has joined #nixos
nckx has quit [Quit: Updating my GNU GuixSD server โ€” gnu.org/s/guix]
nuncanada2 has quit [Ping timeout: 260 seconds]
jtojnar has joined #nixos
nckx has joined #nixos
<mog> i want to change the restart strategy of a nixos service. i tried libmkforce and that didnt work, what is the right way to partially overload it
nckx has quit [Client Quit]
nckx has joined #nixos
grp has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40999 โ†’ llvm: Separate tools and libraries for clarity โ†’ https://git.io/vhTRG
edude03 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #26090 โ†’ FeedReader 2.0 โ†’ https://git.io/vH399
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vhTRw
<{^_^}> โ†’ 5d88b73c by @edwtjo: feedreader: init at 2.2
<{^_^}> โ†’ a8d43946 by @jtojnar: Merge pull request #26090 from edwtjo/feedreader-2.0
vidbina has joined #nixos
leat has quit [Ping timeout: 252 seconds]
ericsagnes has joined #nixos
tmplt_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed commit from @jfrankenau to staging ยซ libgudev: add gobjectIntrospection to nativeBuildInputs ยป: https://git.io/vhT0x
<{^_^}> [nixpkgs] @jtojnar merged pull request #35335 โ†’ libgudev: add gobjectIntrospection to nativeBuildInputs โ†’ https://git.io/vAzx9
coot has quit [Quit: coot]
liori has quit [Read error: Connection reset by peer]
muzzy has joined #nixos
tmplt_ has quit [Quit: leaving]
Neo-- has quit [Ping timeout: 264 seconds]
griff_ has joined #nixos
NYXT has joined #nixos
Guest52358 is now known as judson
martingale has quit [Read error: Connection reset by peer]
dispanser has joined #nixos
martingale has joined #nixos
pxc1 has joined #nixos
baconicsynergy has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to staging ยซ libiconv: fix setup hook ยป: https://git.io/vhTz8
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
dispanser has quit [Ping timeout: 260 seconds]
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40969 โ†’ libbsd: 0.8.7 -> 0.9.1 โ†’ https://git.io/vhULA
dispanser has joined #nixos
cmacrae has joined #nixos
cmacrae has left #nixos [#nixos]
nuncanada2 has joined #nixos
martingale has quit [Read error: Connection reset by peer]
martingale has joined #nixos
cmacrae has joined #nixos
cmacrae has left #nixos [#nixos]
nuncanada has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
johnw has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40812 โ†’ Update jetbrains IDEs โ†’ https://git.io/vphPG
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to master: https://git.io/vhT2b
<{^_^}> โ†’ 61604ff9 by @baracoder: jetbrains.datagrip: 2018.1.2 -> 2018.1.3
<{^_^}> โ†’ c0dec69e by @baracoder: jetbrains.goland: 2018.1.2 -> 2018.1.3
<{^_^}> โ†’ 4310d7f1 by @baracoder: jetbrains.phpstorm: 2018.1.2 -> 2018.1.4
ikitat has joined #nixos
bobvanderlinden has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #40950 โ†’ stunnel: 5.44 -> 5.45 โ†’ https://git.io/vhJx3
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vhTap
<{^_^}> โ†’ 3f0a7b8a by R. RyanTM: stunnel: 5.44 -> 5.45
<{^_^}> โ†’ 51c039ba by @adisbladis: Merge pull request #40950 from r-ryantm/auto-update/stunnel
<{^_^}> [nixpkgs] @adisbladis merged pull request #40998 โ†’ elixir: 1.6.4 -> 1.6.5 โ†’ https://git.io/vhTtJ
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vhTVq
<{^_^}> โ†’ be7b42f4 by @ankhers: elixir: 1.6.4 -> 1.6.5
srl295 has joined #nixos
<{^_^}> โ†’ c7597543 by @adisbladis: Merge pull request #40998 from ankhers/update_elixir
<ixxie> where cahmm
<ixxie> what does // do?
<symphorien> it appends the second attrset to the first one
ThatDocsLady_ has joined #nixos
<symphorien> > { a = 1; b = 2; c.d = 3; } // { e = 4; b = 42; c.f = 43; }
<{^_^}> { a = 1; b = 42; c = <CODE>; e = 4; }
ThatDocsLady has quit [Read error: Connection reset by peer]
<symphorien> it shold be c.f = 43
tmaekawa has joined #nixos
<joepie91> I'd say 'merge' is a better description than 'append' :)
<joepie91> which I suspect is why // and ++ are separate operators too
<symphorien> you can do ++ on attrset ?
<cransom> (pretty sure not)
<symphorien> let's try !
<symphorien> > { a = 1; b = 2; c.d = 3; } ++ { e = 4; b = 42; c.f = 43; }
<{^_^}> value is a set while a list was expected, at (string):41:1
vaninwagen has joined #nixos
<ixxie> aha thanks symphorien
<cransom> and it's not neccessarily a merge either. there is a `lib.recursiveUpdate` that does do a merge and you'd get a c.d and a c.f in your output.
<mog> i want to change the restart strategy of a nixos service. i tried libmkforce and that didnt work, what is the right way to partially overload it
<ixxie> I was kinda expecting c = { d=3; f=43;}; for some reason
<ixxie> I guess that is recursiveUpdate :)
tmaekawa has quit [Client Quit]
<symphorien> mog: out of my head: systemd.services.foo.unitConfig.Restart = "always" ?
derchris1 has quit [Read error: Connection reset by peer]
<symphorien> mmh it might be serviceConfig
<mog> i tried setting it directly and it failed as well
<ixxie> zimbatm: I am trying to package http://beakerx.com/documentation which includes both a python library and a nb/jupyterlab extension
<symphorien> mog: can you paste your attempted config and the error message ?
<ixxie> zimbatm: but the normal installation approach is something like `pip install beakerx` and then `beakerx install`
<johnw> ixxie: sounds like you want a recursive, type-aligned monoidal append, which wouldn't work in a lot of cases (what if a is 10 in one set, but "foo" in another). Instead, the append we have (//) is just left-biased union.
<mog> systemd.services.autossh-blsocks.serviceConfig.Restart = "Always";
derchris_ has joined #nixos
<mog> error: The option value `systemd.services.autossh-blsocks.serviceConfig' in `/etc/nixos/services.nix' is not of type `attribute set of systemd options'.
<ixxie> johnw: I don't want anything; I just saw // in some expression and was curious
<johnw> ah
<johnw> sorry, right-biased union
Ariakenom has quit [Read error: Connection reset by peer]
liori has joined #nixos
<symphorien> mog: try: systemd.services.foo.serviceConfig = { Restart = "always"; } maybe
griff__ has joined #nixos
baconicsynergy has quit [Read error: Connection reset by peer]
<mog> that seemed to work
<mog> i am guessing because always is case sensetive?
derchris_ has quit [Ping timeout: 240 seconds]
<mog> but when i look at the systemd file its restart is still just on-success
griff_ has quit [Ping timeout: 252 seconds]
griff__ is now known as griff_
derchris_ has joined #nixos
<mog> sorry i gave you wrong error message before its not producing one i remember earlier
<mog> error: The unique option `systemd.services.autossh-blsocks.serviceConfig.Restart' is defined multiple times, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/networking/autossh.nix' and `/etc/nixos/services.nix'.
<gchristensen> lib.mkForce "always"
asuryawanshi has quit [Ping timeout: 260 seconds]
<mog> with lib.mkForce i get error: cannot coerce a set to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:65:8
<mog> :q
<mog> systemd.services.autossh-blsocks.serviceConfig.Restart = lib.mkForce "always";
coot has joined #nixos
Rusty1_ has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<symphorien> ....serviceConfig = lib.mkForce { Restart = "always"; }
nuncanada2 has quit [Ping timeout: 276 seconds]
<mog> same error message symphorien
knupfer has joined #nixos
ThatDocsLady_ has quit [Quit: Leaving]
<bobvanderlinden> i'm trying to override fetchurl with fetchurlBoot for all derivations. I've tried the following, but it seems it doesn't do much: import <nixpkgs> { overlays = [(self: super: rec { fetchurl = super.fetchurlBoot; })]; }. Do overrides only work for `callPackage`, because fetchurl is defined as: fetchurl = import ../build-support/fetchurl {
<bobvanderlinden> (that is, it is defined without using callPackage. Probably for good reasons)
ikitat has quit [Ping timeout: 248 seconds]
<bobvanderlinden> maybe something else is going wrong
winem_ has quit [Remote host closed the connection]
Ariakenom has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
edude03 has joined #nixos
smallville7123 has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
smallville7123 has quit [Client Quit]
rauno has quit [Ping timeout: 268 seconds]
smallville7123 has joined #nixos
ixxie has quit [Ping timeout: 276 seconds]
<phry> bobvanderlinden: can you override other packages that way? I've never seen overlays being called that way (which would not mean much, but nonetheless)
smallville7123 has quit [Quit: rosa]
sigmundv_ has joined #nixos
<bobvanderlinden> yes, but I think the problem is that `fetchurl` is being imported from other places as well (outside of all-packages.nix)
smallville7123 has joined #nixos
rauno has joined #nixos
<mog> symphorien, gchristensen it worked but i had to mkForce the entire serviceConfig object
woodson has quit [Ping timeout: 240 seconds]
dispanser has quit [Remote host closed the connection]
johnw has quit [Ping timeout: 276 seconds]
waleee has quit [Quit: WeeChat 2.1]
sigmundv_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @joachifm pushed to master ยซ tor: 0.3.2.10 -> 0.3.3.6 ยป: https://git.io/vhT1K
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/33682d9af4c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
johnw has joined #nixos
sigmundv_ has joined #nixos
woodson has joined #nixos
sbdchd has joined #nixos
adamt has joined #nixos
adamt is now known as Guest33493
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40999 โ†’ llvm: Separate tools and libraries for clarity โ†’ https://git.io/vhTRG
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhTM2
<{^_^}> โ†’ 58fd684c by @Ericson2314: llvm: Separate tools and libraries for clarity
<{^_^}> โ†’ 78319bd9 by @Ericson2314: Merge pull request #40999 from obsidiansystems/llvm-sieve
MichaelRaskin has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
bobvanderlinden has quit [Ping timeout: 260 seconds]
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @Ericson2314 pushed 34 commits to staging: https://git.io/vhTMF
<{^_^}> โ†’ 61604ff9 by @baracoder: jetbrains.datagrip: 2018.1.2 -> 2018.1.3
<{^_^}> โ†’ 101d1d11 by @seppeljordan: pythonPackages.effect: init -> 0.11.0
Rusty1_ has joined #nixos
<{^_^}> โ†’ c0dec69e by @baracoder: jetbrains.goland: 2018.1.2 -> 2018.1.3
bpa has joined #nixos
sanscoeu_ has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed 4 commits to staging: https://git.io/vhTDZ
<{^_^}> โ†’ f4152ea6 by @taku0: firefox-bin: 60.0 -> 60.0.1
<{^_^}> โ†’ f2b3cdd9 by @taku0: firefox: 60.0 -> 60.0.1
<{^_^}> โ†’ 2f076b40 by @taku0: firefox-esr: 60.0esr -> 60.0.1esr
<{^_^}> [nixpkgs] @joachifm merged pull request #40728 โ†’ firefox, firefox-bin: 60.0 -> 60.0.1, firefox-esr: 60.0esr -> 60.0.1esr โ†’ https://git.io/vpx1T
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/vhTDR
<{^_^}> โ†’ 6f65b7a9 by @primeos: pythonPackages.raven: 6.7.0 -> 6.8.0
<{^_^}> โ†’ ca2f49d1 by @primeos: gns3Packages.{server,gui}{Stable,Preview}: 2.1.5 -> 2.1.6
sanscoeur has quit [Ping timeout: 252 seconds]
bpa has quit [Remote host closed the connection]
Baughn has quit [Ping timeout: 256 seconds]
cocreature has quit [Ping timeout: 256 seconds]
cocreature has joined #nixos
mahalel_ has joined #nixos
fadenb has quit [Ping timeout: 256 seconds]
fadenb has joined #nixos
ikitat has joined #nixos
Baughn has joined #nixos
griff__ has joined #nixos
halfbit has quit [Quit: WeeChat 2.1]
<ikitat> What's a good approach to installing emacs 26.1 when using nixpkgs.unstable which seems to be using emacs 25.3?
griff_ has quit [Ping timeout: 252 seconds]
griff__ is now known as griff_
dispanser has joined #nixos
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
edude03 has joined #nixos
johnw has quit [Remote host closed the connection]
johnw has joined #nixos
freeman42x]NixOS has joined #nixos
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
Ariakenom_ has joined #nixos
alexteves has quit [Quit: Textual IRC Client: www.textualapp.com]
dispanser has quit [Remote host closed the connection]
freeman42]NixOS has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
muzzy has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
griff_ has quit [Quit: griff_]
sbdchd has quit [Remote host closed the connection]
ikitat has quit [Remote host closed the connection]
<gchristensen> any japanese people around?
<LnL> isn't it a bit early for that?
myshoe has quit [Quit: Lost terminal]
<gchristensen> oh probably yeah
<gchristensen> thanks, LnL!
ikitat has joined #nixos
<LnL> but there are some people in the nix community I think, any specific reason?
grp has quit [Quit: box shutting down...]
<sphalerite> gchristensen: I think fearlessKim[m] is French but lives in Japan
<Sonarpulse> Ralith: hi
<Sonarpulse> Ralith_
<Sonarpulse> not sure which :)
<Sonarpulse> I pushed another commit removing libc and compiler-rt from clang completely
<{^_^}> [nixpkgs] @nicknovitski opened pull request #41001 โ†’ yarn2nix: successfully build packages with "@" and "/" in their name โ†’ https://git.io/vhTHK
<Sonarpulse> and then also rebased
<Sonarpulse> after a master change
<infinisil> ikitat: I'm just overriding the default emacs: https://github.com/Infinisil/system/blob/master/config/emacs/module.nix#L37-L44
<Ralith> Sonarpulse: um, is that why there's suddenly a crapload of conflicts?
<Ralith> Sonarpulse: why did you remove compiler-rt? It's required, that's why I opened this issue in the first place.
<Sonarpulse> Ralith: remove it?
<adelbertc> is there a source filter that just uses the .gitignore of a project?
<adelbertc> seems like that would be a pretty safe default
<Sonarpulse> Ralith: I saw your commit removing the symlinking
<adelbertc> and more robust than just cleanSourceFilter
<Sonarpulse> so i figured you were doing the same experiment?
<Sonarpulse> feel free to roll back both top two commits
<Ralith> oh, I see, you didn't remove it, you moved it
<Ralith> does the new test still pass?
<{^_^}> [nixpkgs] @symphorien opened pull request #41002 โ†’ nix-du: 0.1.1 -> 0.1.2 โ†’ https://git.io/vhTQZ
<sphalerite> adelbertc: yeah that's been a wishlist thing for many people for quite a while now. Unfortunately implementing glob in nix isn't much fun. Although shlevy's plugin system would probably make it fairly easy to provide access to the C glob() and implement that functionality
<sphalerite> I don't think anyone's done it yet though.
<Ralith> Sonarpulse: if the test passes I'm happy
<ikitat> infinisil: thanks for the example, that should help
* Ralith wasn't expecting that test to be so immediately useful
<adelbertc> sphalerite: sweet, good to know
alexteves has joined #nixos
sbdchd has joined #nixos
<Sonarpulse> Ralith: no i doesn't pass yet
edude03 has quit [Ping timeout: 240 seconds]
alexteves_ has quit [Ping timeout: 252 seconds]
<hodapp> since I relly don't feel like waiting for nix-index to finish indexing: which magical mackage has GL/glu.h?
xy2_ has quit [Read error: No route to host]
xy2_ has joined #nixos
<Ralith> Sonarpulse: if the test I added doesn't pass, then the change is incorrect. What specifically fails?
<infinisil> hodapp: libGLU :)
<infinisil> source: nix-locate
<infinisil> I should make a function so the bot here can look that up
<Sonarpulse> Ralith: it's not finding libgcc or compiler-rt or crtbegin.o
worldofpeace has joined #nixos
<Ralith> Sonarpulse: under which stdenv?
<worldofpeace> Hey, where would be the correct directory in nixpkgs for a ruby gem using bundlerApp that's a language server?
<Sonarpulse> Ralith: libcxxstdenv
<Ralith> Sonarpulse: your changes here are responsible for the libgcc and crtbegin issue: https://github.com/NixOS/nixpkgs/pull/39743/commits/38b8a3ed87d30cfa51e1cc7daddc83bef3112093#diff-f366270d4308e09f11ac3349d63e439dL37
<Ralith> Sonarpulse: clang on linux wants libgcc by default even when using libstdc++; this can be overridden by a flag
<Ralith> it's not obvious to me that we should be overriding that default; I'd be concerned about it being rather untreaded ground, for starters
<Ralith> there may also be compatibility concerns
<Ralith> er, sorry
<Sonarpulse> Ralith: there should be a runtime way to pass that
<Ralith> clang on linux wants libgcc by default even when using libc++
<Sonarpulse> compiler-rt currently doesn't come with begin/end
johnw has quit [Remote host closed the connection]
griff_ has joined #nixos
sigmundv__ has joined #nixos
vaninwagen has quit [Quit: WeeChat 2.1]
<elvishjerricco> Sonarpulse: Can you use -resource-dir for libgcc? It works for compiler-rt: https://github.com/WebGHC/wasm-cross/blob/master/cross.nix#L97
<Sonarpulse> elvishjerricco: oo interesting!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40588 โ†’ xbmcPlugins.osmc-skin: init at 17.0.4 โ†’ https://git.io/vpdNU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhTdT
<{^_^}> โ†’ 1edc7ae6 by @worldofpeace: xbmcPlugins.osmc-skin: init at 17.0.4
<{^_^}> โ†’ 457d3651 by @matthewbauer: Merge pull request #40588 from worldofpeace/kodi-plugin-osmc-skin
<worldofpeace> yay!
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40897 โ†’ Use requireFile for impure XCode dependency โ†’ https://git.io/vhvvZ
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhTdm
<{^_^}> โ†’ 3ab9caa3 by @alexfmpe: Use requireFile for impure Xcode dependency
<{^_^}> โ†’ e351265e by @Ericson2314: Merge pull request #40897 from alexfmpe/purify-xcode
<{^_^}> [nixops] @rvl opened pull request #958 โ†’ Allow AWS temporary credentials with session tokens โ†’ https://git.io/vhTdY
<elvishjerricco> Sonarpulse: Yea I think that and -sysroot should let you configure libc and libgcc stuff in a wrapper rather than in the Clang build process.
toby1851 has joined #nixos
<Ralith> this is going to be so much cleaner <3
<Sonarpulse> elvishjerricco: wow that's so undocumented haah
<elvishjerricco> Sonarpulse: Yea I only know about it because I saw some Clang dev who was working on wasm+compiler-rt support do it in some random script :P
<Sonarpulse> shiit
<{^_^}> [nixpkgs] @matthewbauer pushed to master ยซ kodi.plugins: fix homepage typo ยป: https://git.io/vhTd1
emmanuelrosa has joined #nixos
Guest33493 has quit [Changing host]
Guest33493 has joined #nixos
Guest33493 is now known as adamt
chessai has quit [Ping timeout: 256 seconds]
toby1851 has quit [Ping timeout: 245 seconds]
<elvishjerricco> Btw, how far are we from fully musl NixOS?
<{^_^}> [nix] @alexfmpe opened pull request #2178 โ†’ Fix docs on --check suffix โ†’ https://git.io/vhTFR
<Sonarpulse> ask dtz
<Sonarpulse> elvishjerricco:
tzemanovic has quit []
<Ralith> I'm pretty hype for that
chessai has joined #nixos
<sphalerite> full musl jacket?
sigmundv__ has quit [Ping timeout: 245 seconds]
tertle||eltret has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed commit from @roberth to release-17.09 ยซ haskell.lib.haskellSrc2nix: add extraCabal2nixOptions ยป: https://git.io/vhTbZ
simukis has quit [Quit: simukis]
pie_ has quit [Ping timeout: 260 seconds]
Khetzal has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/vhTNq
<{^_^}> โ†’ 6d31c68e by @NeQuissimus: linux: 4.9.101 -> 4.9.102
<{^_^}> โ†’ 8758c001 by @NeQuissimus: linux: 4.14.42 -> 4.14.43
<{^_^}> โ†’ 69dad570 by @NeQuissimus: linux: 4.16.10 -> 4.16.11
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 ยซ linux: 4.9.101 -> 4.9.102 ยป: https://git.io/vhTNY
<ij> What are the .drv files for?
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 ยซ linux: 4.14.42 -> 4.14.43 ยป: https://git.io/vhTN3
<sphalerite> ij: they fully describe the build process for a derivation
acarrico has quit [Ping timeout: 245 seconds]
vidbina has quit [Ping timeout: 268 seconds]
emmanuelrosa has left #nixos [#nixos]
worldofpeace has quit [Ping timeout: 260 seconds]
hiratara has quit [Ping timeout: 260 seconds]
<ij> are they made for all derivations? what do you get by saving 'em on disk?
drakonis has quit [Read error: Connection reset by peer]
hiratara has joined #nixos
<sphalerite> yes, they're made for all derivations. I don't actually know the details of why they're stored.
chessai has quit [Remote host closed the connection]
mkoenig has joined #nixos
<ij> cool, thanks
pie_ has joined #nixos
sary has quit [Quit: Lost terminal]
<sphalerite> I think the combination of the contents of the .drv file and the output name are what is hashed to produce the output path for non-fixed-output derivations as well
<sphalerite> wait no, since the .drv file contains the output path, that can't be right
rain1 has quit [Quit: Leaving]
<Dezgeg> if you store them on disk you can copy-closure them around
coot has quit [Quit: coot]
iqubic has joined #nixos
<sphalerite> I guess they're arguably legacy stuff then?
sary has joined #nixos
<sphalerite> Since they're not strictly necessary if we have a protocol for talking to a nix store
<ldlework> I am trying to run nix-install but I'm running into an issue "File system "/boot" has wrong type for an EFI System Partition (ESP)."
<sphalerite> ldlework: it needs to be FAT32
<ldlework> I have a partition on my drive that is 1 gig that is fat32 set to boot,esp and mounted to /mnt/boot
<ldlework> do I have to.. like mount this to /boot instead?
<iqubic> What choices of Login Manager do I have on NixOS?
<sphalerite> iqubic: nixos-option services.xserver.displayManager
<sphalerite> ldlework: hm, no, /mnt/boot should be right
<iqubic> How do I parse that list?
<iqubic> Some of those things, like auto, don't seem to be DMs.
<__monty__> sphalerite: Legacy? Aren't all the hashes calculated on derivations?
<sphalerite> __monty__: not on .drv files, no.
<sphalerite> iqubic: services.xserver.displayManager.auto.enable: Whether to enable the fake "auto" display manager, which automatically logs in the user specified in the user option. This is mostly useful for automated tests.
sbdchd has quit [Remote host closed the connection]
<ldlework> sphalerite: ah I had the wrong flags on the partition
<sphalerite> iqubic: but basically the actual answer to your question is slim, gdm, sddm, lightdm
<iqubic> Oh, I see. Isn't slim dead?
<sphalerite> ldlework: what was it that needed to changed?
<sphalerite> iqubic: yes.
<sphalerite> iqubic: still the default on nixos because there's nothing else that has its advantages.
woodson has quit [Read error: Connection reset by peer]
<iqubic> What advantages does slim have?
<__monty__> It's a sad thing that it was discontinued.
<sphalerite> i.e. all the others depend on a heavyweight UI toolkit like qt or gtk
<sphalerite> except lightdm without a greeter, but that lacks a key feature that you'd want for a default display manager :)
<sphalerite> if only https://github.com/1wilkens/rdm were feature-complete and didn't have that big scary warning
<iqubic> Can I just go with no display manager, and just type startx to start up my WM of choice?
<sphalerite> I think so
<iqubic> How?
<sphalerite> install xinit in your profile, and set services.xserver.autorun = false;
woodson has joined #nixos
<sphalerite> (your profile or systemPackages)
<__monty__> sphalerite: What are the hashes calculated from? I always thought the outpath was just a hash of all the input drv's.
<sphalerite> __monty__: if you have a look at the .drv file you'll see that it contains the output paths, so that's not possible :D
ikitat has quit [Remote host closed the connection]
<sphalerite> I don't know what exactly the hash is computed over
<aminechikhaoui> sphalerite: the drv inputs i.e build inputs ?
<aminechikhaoui> and I guess actually any derivation input not only build inputs, env vars/build command/phases etc
<infinisil> Everything that might influence the result
<infinisil> Well almost
<__monty__> aminechikhaoui: I think sphalerite means it should be something like hash(inputs + steps), not just hash(inputs).
<sphalerite> build inputs aren't really special, they're just another env var
<sphalerite> it's hash(builder + builder args + env vars + system + maybe something I didn't think of)
<sphalerite> I think.
<sphalerite> Not necessarily in that order of course.
vidbina has joined #nixos
<steveeJ> could direnv with use_nix possibly work with an FHS environment?
<sphalerite> __monty__: the build steps and buildInputs are nixpkgs concepts, not nix concepts, and just boil down to env vars as far as nix is concerned.
<sphalerite> oh yeah, "maybe something I didn't think of" includes output name :)
<sphalerite> and derivation name, derp
<sphalerite> (it does also become an env var, but it's a bit of a special case because it has more effects than that, since the .drv and output paths depend on it)
<ldlework> Is there anything like home-manager for NixOS yet?
<sphalerite> ldlework: home-manager.
<sphalerite> :D
<__monty__> I wasn't talking about phases. Just the abstract concept of a recipe that says what to do with the inputs.
sigmundv__ has joined #nixos
<ldlework> Why is it taking so long to get something into NixOS proper?
<ldlework> I guess I don't really care.
<iqubic> Why isn't home-manager in nixpkgs?
<ldlework> (In the sense that I was already used to home-manager so its no big deal)
<ldlework> iqubic: it isn't?
<sphalerite> __monty__: the recipe is the builder, builder args and env vars I guess
<sphalerite> iqubic: it is.
knupfer has quit [Ping timeout: 245 seconds]
<iqubic> sphalerite: home-manage is in nixpkgs? How hard is it to switch to home-manager? What benefits will that give me?
<aminechikhaoui> __monty__: btw I always find Eelco's phd helpful for these questions :) (https://nixos.org/~eelco/pubs/phd-thesis.pdf)
<sphalerite> iqubic: maybe you should read its README.
<aminechikhaoui> e.g how hashes are calculated etc
lord| has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
<sphalerite> aminechikhaoui: +1
<Rusty1_> nox home-manager
<sphalerite> Rusty1_: I see your nox and I raise you a `nix search` ;)
<LnL> grep
seafood has joined #nixos
seafood has quit [Client Quit]
<__monty__> rg
griff_ has quit [Quit: griff_]
hiratara has quit [Quit: ZNC - http://znc.in]
<steveeJ> how come an FHS only has /lib/ld-linux-x86-64.so.2 but not the equivalent in /lib64? more importantly, how can that be changed?
hiratara has joined #nixos
xy2_ has quit [Ping timeout: 252 seconds]
lord| has joined #nixos
<sphalerite> steveeJ: huh, reading the code makes it look to me like it does create a lib64 as well
<sphalerite> steveeJ: oh actually you need to pass multiPkgs
<sphalerite> rather than targetPkgs
<sphalerite> it's a bit awkward because that will force it to get 32-bit versions of everything as well
<steveeJ> sphalerit: /lib64 exists, but not the specific object
pxc1 has quit [Quit: WeeChat 2.0]
<sphalerite> oh
nadley_ has quit [Remote host closed the connection]
<steveeJ> the application I'm trying to run has it's interpreter set to /lib64/ld-linux-x86-64.so.2
<sphalerite> huh, but /lib64 should be a symlink to /lib? I think?
nadley has joined #nixos
<steveeJ> sphalerit: I'm not sure if everything is correct, as runScript also seems to be ignoredc
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
Guanin has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cbfcc93ee06 (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<steveeJ> might be an issue on my / partition. there's a symlink: lib64 -> /run/current-system/sw/lib. I don't remember setting this up myself though :D
<sphalerite> ah yes, that's probably it
<sphalerite> anyway I need to go sleep, gnight :)
lukec has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
sqzlh has joined #nixos
seafood has quit [Client Quit]
vidbina has quit [Ping timeout: 240 seconds]
<steveeJ> sphalerite: it was it! g'night :)
<sqzlh> when building custom packages with fetchgit/fetchgitPrivate, is it possible to always follow the latest commit on a stable branch?
sanscoeu_ has joined #nixos
lukec has joined #nixos
sanscoeur has quit [Ping timeout: 260 seconds]
sanscoeu_ has quit [Ping timeout: 240 seconds]
johnw has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40757 โ†’ pythonPackages.pynmea2: init at 1.12.0 โ†’ https://git.io/vppSH
<{^_^}> [nixpkgs] @dotlambda pushed commit from @geistesk to master ยซ pythonPackages.pynmea2: init at 1.12.0 (#40757) ยป: https://git.io/vhkvz
<ldlework> I just booted into NixOS for the first time, opened xterm and alt does nothing.
<ldlework> What gives?
<ldlework> xev reports that alt is sending Alt_R mapped to mod1
michiell has quit [Ping timeout: 240 seconds]
michiell has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
amir has quit [Read error: Connection reset by peer]
Ariakenom_ has quit [Read error: Connection reset by peer]
<steveeJ> neat, I got the vscode live share plugin to work in an FHS environment
amir has joined #nixos
<iqubic> ldlework: What DE/WM?
kitemikaze has quit [Quit: Connection closed for inactivity]
erasmas has quit [Quit: leaving]
<steveeJ> this would actually not be too bad if I could get xdg-open from the FHS to talk to my browser from outside
<Aleksejs> Hi, is it possible to use multiple targets in one deployment with nixops?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cbfcc93ee06 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
__monty__ has quit [Quit: leaving]
alexteves has quit [Remote host closed the connection]
griff_ has joined #nixos
<palo> I can't figure out what ? operator in the header of a nixpkgs means.
<gchristensen> default
<palo> I want to fullfill this pull-request https://github.com/NixOS/nixpkgs/pull/40697, and I want that by adding some kind of pandocSupport option and disable that option on aarch Architecture.
<palo> gchristensen: ah ok, that is good
<palo> thanks, this helps
<gchristensen> > let x = { foo ? "bar" }; in { ex1 = x {}; ex1 = x { foo = "baz"; }; }
<{^_^}> error: syntax error, unexpected ';', expecting ':' or '@', at (string):41:24
<gchristensen> oops
<gchristensen> > let x = { foo ? "bar" }: foo; in { ex1 = x {}; ex1 = x { foo = "baz"; }; }
<{^_^}> error: attribute 'ex1' at (string):41:48 already defined at (string):41:36
<gchristensen> > let x = { foo ? "bar" }: foo; in { ex1 = x {}; ex2 = x { foo = "baz"; }; }
<{^_^}> { ex1 = <CODE>; ex2 = <CODE>; }
<gchristensen> hahahaha ok I give up. but it works like that.
<{^_^}> [nixpkgs] @thoughtpolice pushed to master ยซ pythonPackages.torchvision: 0.1.9 -> 0.2.1 ยป: https://git.io/vhkJ1
<palo> thanks gchristensen that helps
<gchristensen> yep!
<{^_^}> [nixpkgs] @flokli opened pull request #41004 โ†’ zziplib: 0.13.68 -> 0.13.69 โ†’ https://git.io/vhkUO
<{^_^}> [nixpkgs] @flokli opened pull request #41005 โ†’ zziplib: gdraheim/zziplib#27 is not an issue anymore โ†’ https://git.io/vhkU0
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f869c8aeb34 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jperras has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
griff_ has quit [Ping timeout: 252 seconds]
jperras has quit [Ping timeout: 252 seconds]
ericsagnes has quit [Ping timeout: 245 seconds]
griff_ has joined #nixos