gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
apaul1729 has quit [Remote host closed the connection]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #2572 → nar-info-disk-cache: include ca in the cache entries → https://git.io/fp5IP
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
jtojnar has quit [Quit: jtojnar]
<yorick> iqubic: somewhere in logind config
pkx3 has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<yorick> iqubic: services.logind.extraConfig = "HandlePowerKey=ignore"
Neo-- has quit [Ping timeout: 252 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
goibhniu has quit [Ping timeout: 268 seconds]
pkx3 has joined #nixos
<{^_^}> [nix-mode] @matthewbauer pushed 2 commits to master: https://git.io/fp5LK
<{^_^}> [nix-mode] @matthewbauer closed pull request #59 → Make find-file-at-point support <nixpkgs> → https://git.io/fp78S
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nix-mode] @matthewbauer pushed 0 commits to refs/tags/v1.3.0: https://git.io/fp5LX
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Radivarig has quit [Remote host closed the connection]
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
<{^_^}> [nix-mode] @matthewbauer pushed to master « Make sure nix-instantiate-executable exists before running it »: https://git.io/fp5t8
pkx3 has joined #nixos
LysergicDreams has quit [Ping timeout: 268 seconds]
pkx3 has quit [Read error: Connection reset by peer]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51154 → Various cross-compilation fixes → https://git.io/fpg5E
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to staging: https://git.io/fp5to
shpx has quit [Excess Flood]
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #51893 → treewide: cross-fixes (memcached, opendkim, gdb, tcl, xorg*) → https://git.io/fp5t9
pkx3 has quit [Read error: Connection reset by peer]
thc202 has quit [Ping timeout: 246 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4f3446f2991 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Remote host closed the connection]
freeman42x[nix] has quit [Ping timeout: 268 seconds]
cyounkins has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fp5mR
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Ping timeout: 272 seconds]
doyougnu has joined #nixos
pkx3 has joined #nixos
genesis has quit [Remote host closed the connection]
<lucus16> Why are my trusted-substituters and trusted-users options being ignored and I still get a "does not have a valid signature" error for substituter http://localhost:9090
<{^_^}> [nixpkgs] @ottidmes opened pull request #51894 → configure the evaluation of modules in a modular way → https://git.io/fp5m6
pkx3 has quit [Read error: Connection reset by peer]
<Dedalo> Guys, I'm having a problem installing NixOS on VMware. I have partitioned, launched the configuration.nix generation script, modified the /mnt/etc/nixos/configuration.nix, but when I launch nixos-install I get this "the fileSystems option doesn't specify your root filesystem. I have checked, and in fact, there is only swap. Maybe I missed a step or I did something wrong. Any idea?
shpx has joined #nixos
pkx3 has joined #nixos
genesis has joined #nixos
<samueldr> did you mount the partitions before using nixos-generate-config?
alp has quit [Ping timeout: 250 seconds]
Anton-Latukha has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rasendubi merged pull request #51765 → wildmidi: 0.4.2 -> 0.4.3 → https://git.io/fpSj4
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to staging: https://git.io/fp5mb
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4f3446f2991 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @rasendubi merged pull request #51757 → yquake2: 7.20 -> 7.30 → https://git.io/fpShc
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fp5mx
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #51895 → bluez: add support for the sixaxis controller → https://git.io/fp5YJ
<{^_^}> [nix-mode] @matthewbauer pushed to master « Update .nix script »: https://git.io/fp5Ym
kvda has joined #nixos
pkx3 has joined #nixos
Rusty1 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
haslersn has joined #nixos
<haslersn> Hi, are there any tips to get WideWine working on NixOS?
<gchristensen> widevine?
pkx3 has quit [Read error: Connection reset by peer]
<haslersn> gchristensen: That's a DRM web browser plugin
pkx3 has joined #nixos
<ottidmes> haslersn: is that not enabled by default in Google Chrome?
pkx3 has quit [Read error: Connection reset by peer]
dramforever has joined #nixos
<ottidmes> haslersn: chromium in nixpkgs also has an option for it, but I am not sure if the cache contains a version of it enabled
steshaw has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<Dedalo> samueldr yes, I did
<iqubic> no it isn't.
<iqubic> it's not enabled by default in chromium.
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51880 → simavr: work on macOS → https://git.io/fp75G
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fp5O1
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
aleph- has quit [Ping timeout: 268 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/22972fc875f (from 69 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pkx3 has joined #nixos
pacmeister has joined #nixos
<pacmeister> ls
<jackdk> Documents Mail News Pictures Videos
<jackdk> R
<jackdk> $
<infinisil> bin boot dev etc home nix proc root run sys tmp usr var
<dramforever> store var
<pacmeister> lol
pkx3 has quit [Read error: Connection reset by peer]
<gchristensen> lol: command not found
<ottidmes> ,locate lol
pkx3 has joined #nixos
<{^_^}> Found in packages: oh-my-zsh
jasongrossman has joined #nixos
<jackdk> nix-shell -p oh-my-zsh --run lol
<gchristensen> ottidmes: try this one: nix-shell -p lolcat nix-info --run "nix-info -m | lolcat"
isHavvy has quit [Ping timeout: 272 seconds]
pkx3 has quit [Read error: Connection reset by peer]
vk3wtf has quit [Ping timeout: 252 seconds]
<ottidmes> gchristensen: ooh! pretty!
<ottidmes> gchristensen: that version though "lolcat-99.9.19" :P
<dramforever> I can't wait for lolcat-101
Havvy has joined #nixos
DerGuteMoritz has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
pkx3 has joined #nixos
cyounkins has quit [Ping timeout: 245 seconds]
sir_guy_carleton has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
vk3wtf has joined #nixos
Mr_Keyser_Soze has joined #nixos
pacmeister has quit [Ping timeout: 268 seconds]
pkx3 has joined #nixos
<jackdk> nix-shell -p lolcat --run 'lolcat --help | lolcat'
<jackdk> it's beautiful!
pkx3 has quit [Read error: Connection reset by peer]
<emily> you, uh, don't need the | lolcat there
<emily> it does it itself
pie___ has joined #nixos
pie__ has quit [Remote host closed the connection]
lord| has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
lord| has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<jackdk> huh. so it does.
<dramforever> I just remembered this
r5d has quit [Ping timeout: 250 seconds]
<dramforever> When I talked about Nix someone asked me 'what use cases does Nix have?'
<dramforever> And I was so proud of Nix that I said
migy has quit [Ping timeout: 245 seconds]
<dramforever> Common system package managers are just hacks on top of FHS, where as Nix is how package management should have been all along.
<dramforever> *whereas
pkx3 has joined #nixos
<dramforever> (Hacks. 'Should-have's. But history is history, so they stuck.)
Mr_Keyser_Soze has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<jackdk> there is a compelling case for orchestrating dependencies in polyglot projects
<jackdk> spoiler: every project is a polyglot project because you're almost certainly wrangling your native deps
migy has joined #nixos
kipari has quit [Ping timeout: 252 seconds]
<jackdk> so until you realise that, the benefits of managing even "single-langauge" projects are surprising
<simpson> jackdk: It's like with many languages when one realizes that the type system or the module system are actually their own mini-languages *inside* the language which you normally think of.
<simpson> It's like when you tell people "hey you, you have a skeleton inside you right now"
<jackdk> I will not stand for that kind of slander!
<jackdk> (because I'm a boneless puddle on the floor)
pkx3 has joined #nixos
<simpson> jackdk++
<{^_^}> jackdk's karma got increased to 2
pkx3 has quit [Read error: Connection reset by peer]
<mdash> simpson: and when you find the one that tells you "technically no, because 'skeleton' is from the Greek for 'dried up', so it's misleading to call the bone structure of a living creature a skeleton" --
<dramforever> There are just so many occasions where I so want to say 'this isn't even possible with nix'
<dramforever> And one of the occasions was when I tried cross-compiling nano to mingwW64
pkx3 has joined #nixos
<dramforever> And configurePhase failed with something about not being able to use ncurses
<dramforever> 'Did you forgot to install ncurses-dev?' said someone
<dramforever> Let's just say it turned out that ncurses isn't the best thing to cross-compile to windows
pkx3 has quit [Read error: Connection reset by peer]
<mdash> dramforever: haha yeah
<dramforever> But my thoughts was certainly
<dramforever> 'This isn't even possible with nix'
<mdash> dramforever: try again with pdcurses I guess?
<dramforever> Nah, there are stuff like 'wait' and 'SIGKILL' in nano
<dramforever> And I'm not going to try to patch them out
<dramforever> mdash: So it turned out that it wasn't the headers. It was the libraries
<dramforever> pkgsCross.mingwW64.ncurses doesn't include the much dlls for some reason, so the ./configure thingy failed to compile a program with ncurses
jperras has quit [Quit: WeeChat 2.2]
<dramforever> But it was understood
pkx3 has joined #nixos
<dramforever> after all it was cross compilation. ncurses apps to windows. That's basically smooth sailing
<dramforever> I did went back and learned more about the example systems, figured out crossSystem.config, and did a armv7l-unknown-linux-gnueabihf cross
<dramforever> which took forever but was completely automatic
pkx3 has quit [Read error: Connection reset by peer]
<dramforever> Then I did a static linked build, which took a few overrides but every step made sense
<jackdk> even though it's still a bit warty, I have been very impressed with the cross-compile infra in nixpkgs
<dramforever> That was just how good it is
<dramforever> Even a failed build leaves people impressed
<dramforever> Then I copied the binary to my android phone and well, it runs!
<dramforever> Except it doesn't. Because it wants terminfo in /nix/store
<dramforever> Or $HOME. The latter was easy
<dramforever> Sure enough, it works just fine after that
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkx3 has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
<jackdk> it would be cool to have a nix-package-closure tool
<dramforever> what do you mean?
<dramforever> like, nix-store -qR ?
pkx3 has quit [Read error: Connection reset by peer]
pie__ has joined #nixos
<simpson> Or more like nix-bundle?
<ottidmes> or maybe <nixpkgs/nixos/lib/make-system-tarball.nix>
shpx has quit [Quit: Textual IRC Client: www.textualapp.com]
<dramforever> Also, I didn't root my phone so I don't think I can copy stuff to /nix/store anyway
pie___ has quit [Ping timeout: 268 seconds]
pkx3 has joined #nixos
<ottidmes> dramforever: cool though that its possible! but I have yet to find a use case for such a thing, just like I thought I would be making my own apps when I got a smartphone, but I am pretty happy with just the communication apps and being able to look things up with a browser
<dramforever> ottidmes: They brought it up when I showed them a derivation, and they asked about 'nativeBuildInputs' and 'buildInputs'
pkx3 has quit [Read error: Connection reset by peer]
<dramforever> And I they picked darwin
<dramforever> but it needs xcode
<dramforever> s/And I they/And they/
<dramforever> Then they picked arm
<dramforever> But didn't really know how to run an arm program
<dramforever> So I tried mingwW64 first
<dramforever> And it didn't work. Then I thought 'let's do arm anyway'
mulderr has quit [Ping timeout: 250 seconds]
<dramforever> Then it did compile, so I asked them if anyone had an arm machine handy
<dramforever> 10 seconds later I realized that there was one right in my pocket
<ottidmes> hah!
<ottidmes> but you not generally think of your smartphone as a "computer"
jasongrossman has quit [Ping timeout: 250 seconds]
<Yaniel> I was very conscious of that when I had a Jolla
<dramforever> generally
<dramforever> Not after that, I guess
pkx3 has joined #nixos
<dramforever> I mean, there was *termux*
<dramforever> termux
<dramforever> apt-based 'distro' in your pocket
<dramforever> And some people got Gentoo on android
vk3wtf has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<ottidmes> dramforever: yeah I liked the idea of termux, just using e.g. openssh instead of some random app, but never really got into experimenting with it, just put it on my list
lassulus_ has joined #nixos
pkx3 has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/4f3446f2991 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
pkx3 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @nicknovitski opened pull request #51896 → kubernetes: 1.12.3 -> 1.13.0 → https://git.io/fp5ZY
pkx3 has quit [Read error: Connection reset by peer]
doyougnu has quit [Ping timeout: 250 seconds]
kvda has joined #nixos
jasongrossman has joined #nixos
dramforever has quit [Ping timeout: 256 seconds]
pkx3 has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
Supersonic has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Lisanna has quit [Remote host closed the connection]
Lisanna has joined #nixos
rtjure has quit [Ping timeout: 250 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
reinhardt has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ad3e9191d16 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
pkx3 has joined #nixos
rtjure has joined #nixos
fusion809 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Supersonic has quit [Ping timeout: 250 seconds]
pkx3 has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
pkx3 has quit [Read error: Connection reset by peer]
smolboye has quit [Ping timeout: 240 seconds]
Supersonic has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
orivej has joined #nixos
iaroki[m] has left #nixos ["User left"]
vk3wtf has joined #nixos
pkx3 has joined #nixos
smolboye has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
drakonis has quit [Ping timeout: 244 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
epicmetal has quit [Read error: Connection reset by peer]
vk3wtf has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 250 seconds]
rawreraw has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
palo1 has joined #nixos
palo has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
pie___ has joined #nixos
pie__ has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/465a5e1d97b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
pkx3 has joined #nixos
lopsided98 has quit [Ping timeout: 268 seconds]
ThatDocsLady has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
lopsided98 has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51663 → python3Packages.cytoolz: fix build → https://git.io/fpyg6
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp5Cr
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
vk3wtf has joined #nixos
pkx3 has joined #nixos
jackdk has quit [Ping timeout: 268 seconds]
porrifolius has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkx3 has joined #nixos
<porrifolius> I'm having trouble running a self-packaged program, urxvt is not finding a perl module.
<porrifolius> I packaged up https://github.com/Merovius/shellex, without specifying any dependencies (I don't know how), and it can now be installed by nix-env and run. It runs but urxvt gives an error saying "Can't locate X11/Protocol.pm in @INC..." and lists a whole lot of nix store dirs where it is looking.
<porrifolius> I installed perl5.28.0-X11-Protocol using nix-env. No joy. Added the X11-Protocol output dir in the store to URxvt.perl-lib in .Xresources. No joy. Put a symlink to that dir in my .urxvt/exts dir. No joy. How am I supposed to do this 'the right way'?
pkx3 has quit [Read error: Connection reset by peer]
thc202 has joined #nixos
vidbina has joined #nixos
pkx3 has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
pkx3 has quit [Read error: Connection reset by peer]
fusion809 has quit [Ping timeout: 268 seconds]
ottidmes has quit [Ping timeout: 272 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkx3 has joined #nixos
nD5Xjz has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #51882 → buildRustCrate: fix extraRustcOpts so it is not discarded → https://git.io/fp7Ft
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @djahandarie to master « buildRustCrate: fix extraRustcOpts so it is not discarded »: https://git.io/fp5Wj
jb55 has joined #nixos
worldofpeace has quit [Remote host closed the connection]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<ejpcmac> Hi! Is it possible to install a custom version of GCC? I mean, not one of the few listed in nixpkgs. I don’t see a way in the derivations to set a custiom version (where it is possible for Erlang, for instance).
<Yaniel> should be possible to adapt one of the existing packages for a custom one
pkx3 has joined #nixos
<Ralith> usually just a matter of overriding `src`
<Ralith> (and `name` if you like not being confused)
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.github.io]
pkx3 has quit [Read error: Connection reset by peer]
iqubic has quit [Ping timeout: 260 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
Mrmaxmeier has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @yrashk opened pull request #51899 → luigi: include boto3 → https://git.io/fp58G
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<ejpcmac> Yaniel: This is what I want to avoid.
<ejpcmac> > usually just a matter of overriding `src`
<ejpcmac> Ralith : I’ll try this. Just having to override `version` would have been neat though.
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):210:37
Ariakenom has joined #nixos
pkx3 has joined #nixos
elgoosy has joined #nixos
hamishmack has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: don't use pythonPath »: https://git.io/fp54q
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51886 → zfs: switch to python3 → https://git.io/fp7xr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp543
pkx3 has quit [Read error: Connection reset by peer]
Cale has quit [Remote host closed the connection]
kvda has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
freeman42x[nix] has joined #nixos
hedning has joined #nixos
<kvda> Is there a reason hash comes before name in nix/store?
pkx3 has joined #nixos
<srhb> kvda: https://nixos.wiki/wiki/FAQ#Why_.3Chash.3E-.3Cname.3E_instead_of_.3Cname.3E-.3Chash.3E.3F
<kvda> Thank you srhb
<srhb> kvda: Different store backends (eg. filesystems) might also have a preference on some operations, but probably nothing big.
pkx3 has quit [Read error: Connection reset by peer]
alp has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #51900 → or-tools: Add Python bindings → https://git.io/fp54N
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp54p
<kvda> Hmm
pkx3 has joined #nixos
ottidmes has joined #nixos
simukis has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
freeman42x[nix] has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #51868 → luigi: 2.7.9 -> 2.8.0 → https://git.io/fp7fn
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fp5B4
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @srhb merged pull request #51750 → haskellPackages.binary-parsers : disable tests → https://git.io/fpSA0
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fp5B1
reinhardt has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
<kvda> nix-env -q (and with --out-path flag) explains why hash-name format is ok..
<eeva> Hey guys, anyone using nix to generate job file for nomad? I think it makes sense but I'd like to take the temperature first :D
<srhb> kvda: Usually you don't care much what the store paths are anyway. But sure, you could argue for either way.
pkx3 has quit [Read error: Connection reset by peer]
<kvda> yep that makes sense srhb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fp5RZ
<{^_^}> [nix] @edolstra merged pull request #2572 → nar-info-disk-cache: include ca in the cache entries → https://git.io/fp5IP
johann__ has joined #nixos
reinhardt has joined #nixos
pkx3 has joined #nixos
pie__ has joined #nixos
pie___ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51876 → Go cleanup: use buildGoPackage whenever possible → https://git.io/fp76F
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/fp5R6
vidbina has quit [Quit: vidbina]
pkx3 has quit [Read error: Connection reset by peer]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51782 → monero: build with hidapi → https://git.io/fp9n8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp5RA
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @alyssais merged pull request #51887 → ikos: init at 2.1 → https://git.io/fp7jM
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fp50Z
pkx3 has joined #nixos
simukis has quit [Quit: simukis]
pkx3 has quit [Read error: Connection reset by peer]
betaboon has joined #nixos
elgoosy has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @yrashk opened pull request #51901 → luigi: enable local modules discovery → https://git.io/fp50F
periklis has joined #nixos
pkx3 has joined #nixos
goibhniu has quit [Ping timeout: 268 seconds]
pkx3 has quit [Read error: Connection reset by peer]
simukis has joined #nixos
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51472 → renderdoc: 1.1 -> 1.2 → https://git.io/fpiJJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp5EB
r5d has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
spacekookie has quit [Quit: **more agressive swooshing**]
<{^_^}> [nixpkgs] @Izorkin opened pull request #51902 → mariadb.galera: 25.3.24 -> 25.3.25 → https://git.io/fp5Ed
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #51559 → ocamlPackages.ppx_import: 1.5 -> 1.5-3 → https://git.io/fpXVB
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fp5uv
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
Anton-Latukha has joined #nixos
<{^_^}> [nix] @uvNikita opened pull request #2573 → install-multi-user: fail only if /nix is not empty → https://git.io/fp5uH
pkx3 has joined #nixos
__Sander__ has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
spacekookie has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
kvda has quit [Client Quit]
worldofpeace has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
porrifolius has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos
epicmetal has joined #nixos
pkx3 has joined #nixos
<Taneb> I remember seeing a nice way to make a derivation which just has a script that sets some environment variables and calls another thing, but I can't find it now
<Taneb> Anyone know what it is?
pkx3 has quit [Read error: Connection reset by peer]
<srhb> Taneb: wrapProgram and friends?
<{^_^}> [nixpkgs] @vcunat pushed commit from @andir to release-18.09 « firefox-bin: 63.0.3 -> 64.0 »: https://git.io/fp52g
<srhb> Though it doesn't quite operate on derivations..
<srhb> Anyway it sounds like something from somewhere in trivial builders...
LysergicDreams has quit [Ping timeout: 244 seconds]
<srhb> Or not.. Hm.
<Taneb> srhb: I may be misremembering wrapProgram
Phillemann has joined #nixos
<Phillemann> I'm trying to run the android emulator, but it tells me /dev/kvm does not exist
<Phillemann> lsmod _does_ show the kvm being loaded, however
<Phillemann> Ah, it's disabled by bios it tells me. Move along please. Nothing to see here. :)
<srhb> Taneb: Yeah, that might be. I don't see/remember anything that operates directly on a derivation, but plenty of things that wrap a binary.
<srhb> Phillemann: That's some efficient rubber ducking. :)
LysergicDreams has joined #nixos
<Taneb> srhb: right, thanks
<srhb> s/binary/executable..
pkx3 has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #51904 → python3Packages.secretstorage: 2.3.1 -> 3.1.0 → https://git.io/fp52b
pkx3 has quit [Read error: Connection reset by peer]
kvda has quit [Client Quit]
<__monty__> Terminology question. Is any Nix expression found in nixpkgs a package? And is a default.nix with practically the same contents also a package then? How about a shell.nix?
reinhardt has quit [Ping timeout: 252 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed commit from @andir to master « firefox: 63.0.3 -> 64.0 »: https://git.io/fp5aa
<{^_^}> [nixpkgs] @vcunat closed pull request #51863 → firefox{-esr,-bin,}: update to 64.0, 60.4.0esr → https://git.io/fpQDL
pkx3 has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
pkx3 has quit [Read error: Connection reset by peer]
<Phillemann> srhb: Sorry :D
<Phillemann> Maybe someone browsing the IRC logs will benefit from this.
reinhardt has joined #nixos
<srhb> Phillemann: No no, it's very useful. ;-)
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<etu> It's weird. It helps to write where you know that someone can see it.
<etu> Even if you come up with the answer yourself.
Dedalo has joined #nixos
<rprije> Hi! Say I have nix calling out to cabal. And my cabal has some subprojects. And the cabal files in those subprojects have different libraries and executables. Is there a way to select a single library or executable for building or can I only nix-build the whole thing?
sigmundv_ has joined #nixos
<arianvp> is this a cabal 2.0 project?
<arianvp> the current cabal2nix functionality has no idea about subcomponents of projects afaik
<arianvp> I think https://github.com/angerman/nix-tools does though
<arianvp> it's a bit undocumented though as it's quite new
<arianvp> but you can ask for help in #nix-tools channel
<{^_^}> [nixpkgs] @Profpatsch opened pull request #51905 → strip-nondeterminism: 0.016 -> 1.0.0 → https://git.io/fp5wI
<wirew0rm> __monty__: you can check how the actual package index for the homepage is built over here: https://github.com/NixOS/nixos-homepage/blob/master/Makefile#L215
aleph- has joined #nixos
<rprije> arianvp, cool, thanks for the tip
spacekookie has quit [Quit: **more agressive swooshing**]
pkx3 has joined #nixos
dermetfan has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<ejpcmac> Hey! Is there anyone here who uses Nix to setup an environment for building embedded stuff? To target arm MCUs there was `gcc-arm-embedded` before, but now it’s gone and `pkgsCross.arm-embedded.buildPackages.gcc` is not an equivalent: the linker keeps complaning about `-lc_nano` missing.
<ejpcmac> After some research, this is because `gcc-arm-embedded` embeds newlib-nano, where the new way to go uses newlib.
init_6 has joined #nixos
pietranera has joined #nixos
<__monty__> wirew0rm: So anything in packages.json would be called a package? How about everything that doesn't get in there?
pkx3 has joined #nixos
<ekleog> ejpcmac: care if I quote you?
iyzsong has joined #nixos
<ekleog> removal of gcc-arm-embedded sounds wrong to me, would like to get matthewbauer's opinion on it
pkx3 has quit [Read error: Connection reset by peer]
<wirew0rm> __monty__: imo package ist not really a first class nix concept. i wouldn't limit it to the contents of packages.json of course, but it gives a good idea what is considered a package.
<ekleog> hmmm… need to go and this channel is publicly logged anyway, so let's say it's ok and press send :)
thc202 has quit [Ping timeout: 250 seconds]
<__monty__> wirew0rm: Yeah, I guess that's where my terminology woes come from. Module for example *is* a clearer term, referring to NixOS modules for systemd services and the like.
worldofpeace has quit [Quit: worldofpeace]
<{^_^}> [nixpkgs] @ecoughlan opened pull request #51906 → ipykernel: fix permissions when installing kernels → https://git.io/fp5r6
pkx3 has joined #nixos
thc202 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
epicmetal has quit [Read error: Connection reset by peer]
zolk3ri has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<ejpcmac> ekleog: Yes, no problem. I’ve opened an issue in the mean time: https://github.com/NixOS/nixpkgs/issues/51907
<{^_^}> #51907 (by ejpcmac, 6 minutes ago, open): Build toolchain for bare-metal arm
<{^_^}> [nixpkgs] @rawkode opened pull request #51908 → lxrandr: init at 0.3.1 → https://git.io/fp5Ko
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.4.3 -> 1.5.1 »: https://git.io/fp5KP
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
rardiol has joined #nixos
pkx3 has joined #nixos
init_6 has quit [Ping timeout: 250 seconds]
reinhardt has quit [Ping timeout: 250 seconds]
spacekookie has joined #nixos
init_6 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
slyfox has quit [Ping timeout: 246 seconds]
pkx3 has quit [Read error: Connection reset by peer]
slyfox has joined #nixos
<Taneb> Niche question: is it possible to specify a hydra-build-product subtype with spaces in it?
zolk3ri has left #nixos [#nixos]
pkx3 has joined #nixos
<Taneb> Answer: no, it must match the regex "[a-zA-Z0-9_-]+"
reinhardt has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<ekleog> ejpcmac: great, thanks :) commented on it
EarlDeLaWarr has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
pkx3 has joined #nixos
periklis has quit [Ping timeout: 245 seconds]
pkx3 has quit [Read error: Connection reset by peer]
Ridout has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #51909 → mysql55: 5.5.60 -> 5.5.62 → https://git.io/fp5P6
pkx3 has joined #nixos
agander has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @edef1c merged pull request #51650 → me_cleaner: init at 1.2 → https://git.io/fpDxN
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/fp5X4
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @edef1c merged pull request #51908 → lxrandr: init at 0.3.1 → https://git.io/fp5Ko
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/fp5X6
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pie___ has joined #nixos
pkx3 has joined #nixos
pie__ has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/fp51P
Phillemann has left #nixos ["WeeChat 2.3"]
jomik has joined #nixos
pkx3 has joined #nixos
Dedalo has joined #nixos
Dagger has quit [Excess Flood]
pkx3 has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
ng0 has joined #nixos
pkx3 has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
dslegends has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
BlessJah has quit [Ping timeout: 252 seconds]
ottidmes has quit [Ping timeout: 240 seconds]
Dagger has joined #nixos
ottidmes has joined #nixos
<jomik> Who here uses home-manager?
pkx3 has joined #nixos
orivej has joined #nixos
<dermetfan> jomik: +1, great project
pkx3 has quit [Read error: Connection reset by peer]
<jomik> dermetfan: It looks awesome - I am just pondering if I should then configure everything using nix files, or if I should still keep my dotfiles structure and simply link them using home-manager. Probably the first..
agander_ has joined #nixos
<jomik> The only thing I am pondering is that it seems to have a lot of its own modules, rather than inherit from nixpkgs? Why is that? Shouldn't it be able to inherit nixpkgs and adapt them?
<srhb> jomik: I'm in the process (1+ year and counting) of gradually converting everything to home-manager. The nice thing is that this is entirely doable, rather than changing everything at once.
jonaswouters has joined #nixos
<srhb> jomik: The modules _could_ theoretically live in nixpkgs, but they are unique to managing your home directory and user services.
Ridout has quit [Quit: Lost terminal]
<srhb> jomik: I suspect they are mostly kept separate for agility, but I don't know the exact motivation.
<jomik> srhb: I meant that I feel like it should inherit modules from nixpkgs and override the parts needed to configure them for my home dir.
<srhb> jomik: I don't see that that makes very much sense.
agander has quit [Ping timeout: 252 seconds]
<srhb> That's essentially a merger of the nixpkgs and home-manager repos, which you could certainly argue for, but I'm not sure what the motivations would be.
<jomik> I.e. the xmonad.nix in home-manager essentially reflects the one in nixpkgs, except for adding a way to handle xmonad.hs.
crmlt has joined #nixos
pkx3 has joined #nixos
<srhb> And being per-user.
<jomik> Yes.
<srhb> I think that's the crux of it.
<dermetfan> NixOS modules affect the system/configuration.nix so for example files in /etc, they may be different from files in $HOME.
<srhb> jomik: There's nothing wrong with the idea of sharing them, it's just more work. :)
graphene has quit [Remote host closed the connection]
<jomik> Oh, I guess the way they enable are different.
<srhb> Yes, activation in home-manager is quite different.
pkx3 has quit [Read error: Connection reset by peer]
graphene has joined #nixos
<jomik> home-manager only allows for one window-manager?
<srhb> Don't know, I don't use that module but set it up myself via xsession.
<srhb> Which, I suppose, also only allows one window manager.
<srhb> I suppose since home-manager has few ways of doing this but by manipulating your homedir, it's not really possible to give you any options at login time.
<jomik> srhb: Is your home.nix public? :D
<srhb> Unfortunately no.
<srhb> You'd have to stab your eyes out afterwards, so maybe it's not that unfortunate :)
<jomik> Haha! :D
<jomik> I guess home-manager can still handle my xmonad, while configuration.nix installs it and such..
<{^_^}> [nixpkgs] @edef1c pushed to master « doh-proxy: stick with Python 3.6 for now »: https://git.io/fp5yG
<srhb> I "install" it via home-manager only.
<jonaswouters> I've got my home-manager configuration in my main configuration, it all blends together
<jomik> jonaswouters: in /etc/nixos/configuration.nix?
<srhb> jomik: essentially xsession.windowManager.command = "${myXmonad}/bin/xmonad";
<srhb> jomik: Where myXmonad is some xmonad-with-packages.override { packages = ...; };
jomik has quit [Quit: Page closed]
jomik has joined #nixos
<jomik> Huh, I died.
pkx3 has joined #nixos
<jonaswouters> Jomik: kind of yes.
<dermetfan> Jomik: There's a nixos module for home-manager: https://github.com/rycee/home-manager/blob/master/nixos/default.nix
<jomik> dermetfan: Yah, looking at that as well.
<jomik> I guess I'll just try it! Worst case NixOS lets me rollback stuff :P
pkx3 has quit [Read error: Connection reset by peer]
<jomik> Since I am still on a fresh install, I have nothing to lose \0/
<jomik> Oh, I guess, if I point at a source file, then change that file, do home-manager rebuild, then rollback, the file will still have been changed..
<jonaswouters> I'm still new to nixos and home manager, and I don't want 2 separate repos to set everything up.
<jomik> Sort of hoped it'd copy the files into a nix/store thing.
<jomik> Or did I misread?
<hodapp> ugggh, why does XFCE always think that my USB drives are read-only when they're clearly not mounted read-only?
<srhb> Jomik: What do you mean? (Yes, the files are all in the store)
<jomik> hodapp: To protect you :D
<jomik> srhb: I mean, if I have a ~/dotfiles/xmonad.hs, which I point at from my home.nix. services.windowManagers.xmonad.config = "~/dotfiles.xmonad.hs";, is that file then copied to the nix store when I do home-manager rebuild?
<jomik> Such that a rollback would also result in the changes I made to that file be rolled back?
<srhb> Jomik: I don't think that's how that particular module works, but it could.
<srhb> Jomik: I think it leaves xmonad to do its thing when compiling the config.
<hodapp> annoying. there is seemingly no way to override it
<srhb> Jomik: Mind, it's pretty easy to change. Just point at your own derivation for the file in the store.
<srhb> Jomik: (you might have to fiddle with where xmonad puts its binary artifacts, and you lose live reloading, presumably)
pkx3 has joined #nixos
<jomik> I guess I could make a .nix that does the copying and then hand that off to the config attribute.
<jomik> Good point srhb !
spacekookie has quit [Quit: **more agressive swooshing**]
Rusty1 has joined #nixos
<jomik> Would I lose live-reloading? I don't think I would, hmm. I probably just shouldn't change ~/.config/xmonad/xmonad.hs ..
<jomik> Because then I'd change the store D:
<jomik> Which... I do need live reloading for testing stuff.
<srhb> Jomik: Hopefully your store is readonly ;)
<jomik> I guess I could use nix-shell there?
agander_ is now known as agander
<jomik> true :P
cyounkins has joined #nixos
<jomik> I am just pondering how I would go about working on my xmonad.hs without making a new generation.
pkx3 has quit [Read error: Connection reset by peer]
<dermetfan> Jomik: While working on it just use a regular file. When you're done run home-manager switch. Only works with plain files ofc, if your file is generated from a nix expr you need to home-manager build at least.
<jomik> dermetfan: Couldn't I do it through nix-shell somehow?
<jomik> I wouldn't be able to use the plain file, because it'd be a symlink to the nix store?
<dermetfan> Not sure what you want to accomplish with nix-shell, you could simply replace the symlink with a copy of its target
<dermetfan> if xomnad.hs is a link to the nix store: cat xmonad.hs > tmp; mv tmp xmonad.hs
<jomik> Lol... Good point.
<jomik> I just asked my wife to bring me another cup of coffee :D Thanks for the help - I'll get to using home-manager I think :P That leaves configuration.nix to only handle system stuffs
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
init_6 has quit []
spacekookie has joined #nixos
aleph- has quit [Ping timeout: 240 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<zurdo> I don't know if the xmonad module ia different, or home-manager's implementation, but the i3 module in nixpkgs supports both a path to a config file, and a string with the path, which means just pass the actual path to the i3 wrapper. This is how you get i3 to reload changed configs without changing generations
BlessJah has joined #nixos
dcol has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #51910 → gnomeExtensions.topicons-plus: 21 -> 22 → https://git.io/fp59M
pkx3 has joined #nixos
<jomik> I can't find stdenv.shell in nixpkgs, can someone point me to where that is defined?
<jomik> zurdo: Yeah - but I also want to be able to finalize a configuration in a generation, so that I can rollback if I fuck something up :D
pkx3 has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
<dcol> I'm trying to cross-compile Wayland, but it seems that Wayland's makefile makes it so that I need Wayland on the build system as a depsBuildBuild/nativeBuildInput in order to build Wayland for the target (although with a different config flag). Anyone know a reference package I can look at for constructing this recursion? I'm just getting stuck in infinity atm
<dcol>
<zurdo> Jomik: Oh, so you want both... I see the problem :'D
<tilpner> dcol - FWIW, compiling sway from https://github.com/colemickens/nixpkgs-wayland/tree/master/pkgs to aarch64 worked fine. It didn't run, but it compiled
pkx3 has joined #nixos
<dcol> huh, that's interesting as well as confusing. thanks for the heads up
<tilpner> dcol - And pkgsCross.aarch64-multiplatform.wayland compiles fine
Neo-- has joined #nixos
<dcol> I'm compiling for armv7l so I don't have the pkgsCross sugar, I suspect I've missed something there. very valuable, thanks!
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has quit [Quit: Leaving]
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed commit from @dtzWill to staging-18.09 « Merge #51365: nss: 3.40 -> 3.40.1 (security) »: https://git.io/fp5Qn
Dedalo has joined #nixos
pkx3 has joined #nixos
jperras has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
crmlt has quit [Ping timeout: 250 seconds]
vidbina_ has joined #nixos
Dagger has quit [Excess Flood]
pkx3 has quit [Read error: Connection reset by peer]
vidbina has quit [Ping timeout: 264 seconds]
<tilpner> dcol - Yes you do, it's pkgsCross.armv7l-hf-multiplatform.wayland
<jomik> Huh. I just realized that I can't enable the xmonad package in `configuration.nix` and also in `home.nix`... It may not be the same package they refer to D:
pkx3 has joined #nixos
__Sander__ has quit [Ping timeout: 246 seconds]
__Sander__ has joined #nixos
<jomik> I guess I can just add this part to my home.nix, and then enable it in configuration.nix as normal... https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/xmonad.nix#L89
<jomik> Then I will just need to update my configuration.nix to add more packages... :/
pkx3 has quit [Read error: Connection reset by peer]
agander_ has joined #nixos
<dermetfan> Jomik: What are you trying to accomplish? Why is configuration.nix involved at all?
asymmetric has joined #nixos
<jomik> Because I would like to enable sddm, plasma5 and xmonad.
<jomik> home-manager doesn't handle display manager and DEs so far.
<jomik> And you can't seem to set multiple window managers :P
waleee has joined #nixos
agander has quit [Ping timeout: 250 seconds]
pkx3 has joined #nixos
<jomik> I feel like display manager is a system decision, whereas desktop-environment/window-manager is a user decision. Seems a bit hard figuring how to entwine these tho.
chimay has joined #nixos
dcol has quit [Remote host closed the connection]
<catern> is there any built-in way in Nix or Nixpkgs to build a tarball containing the closure of something, plus the necessary information to load it into the store? (its references graph)
pkx3 has quit [Read error: Connection reset by peer]
<catern> *but* still be able to extract that tarball without using Nix tools, so it's suitable for bootstrapping Nix itself? (i.e. not a NAR)
<dermetfan> Jomik: AFAIK using home-manager it's not possible to choose between multiple DEs/WMs as the display manager would need to know which ones are available before the login. home-manager just generates ~/.xsession though. You should be able to enable plasma5 and xmonad in configuration.nix only and leave home-manager out of the WM/DM/DE
Dagger has joined #nixos
<dermetfan> what i'm trying to say is that using home-manager you generate ~/.xsession, which starts one certain window manager.
<jomik> dermetfan: Yeah, that's the plan. But home-manager allows handling configuration of xmonad, etc. BUT, in this case - I will just use home-manager and then specify the configuration file in it, instead of using their service.
pie__ has joined #nixos
pie___ has quit [Remote host closed the connection]
pkx3 has joined #nixos
<jomik> Slightly annoying having to add the library packages for xmonad in configuration.nix tho.
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam opened pull request #51912 → pythonPackages.pytest-dependency: init at 0.4.0 → https://git.io/fp55K
<jomik> Anyone know if I can set user's shell through home-manager?
* jomik wants to use fish.
Anton-Latukha has quit [Quit: Leaving.]
<dermetfan> Jomik: Ah... Maybe you could still use home-manager to configure xmonad if you set xsession.enable = false. Just an idea though
<jomik> They'll refer to the "wrong" package I guess? So I'd risk having 2 xmonad packages - since the one by home-manager would have extras and the one by nixos would not..
<jomik> So, I am just gonna use the home.files property thing :P
pkx3 has joined #nixos
agander_ has quit [Ping timeout: 272 seconds]
rardiol has quit [Remote host closed the connection]
dslegends has quit [Read error: Connection reset by peer]
pkx3 has quit [Read error: Connection reset by peer]
<dermetfan> Jomik: I think the user shell is system level configuration in /etc/passwd
rhalff has joined #nixos
pkx3 has joined #nixos
dermetfan has quit [Quit: WeeChat 2.3]
<etu> dermetfan: chsh is the "standard" way to change shell as a user
<jomik> Ahh. Yeah, makes sense...
sysadmin_wannabe has joined #nixos
dermetfan has joined #nixos
<jomik> I worry that my configuration.nix programs.fish.enable will interfere with the one from home-manager :/
pkx3 has quit [Read error: Connection reset by peer]
<dermetfan> I also have zsh enabled in both configuration.nix and home.nix. They activate differently
<jomik> Works without issue?
<jomik> I guess one sets environment.etc and the other sets xdg stuff.
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<dermetfan> Yeah, home-manager only writes to ~/.zshrc etc and nixos doesn't touch inside ~
cyounkins has quit [Read error: Connection reset by peer]
<jomik> Sweet, that's good then.
cyounkins has joined #nixos
<jomik> And you only have 1 zsh in your nix store? They don't make each their own, right?
<dermetfan> Well I build my system on nixos 18.09 and my home config on unstable so I guess they're different
pkx3 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
sysadmin_wannabe is now known as psiconauta
<jomik> Ah :P
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ottidmes has quit [Quit: WeeChat 2.2]
<jomik> Curious if programs.gnupg.agent is equivalent to the service home-manager has. Because in that case, I feel it fits my home.nix better :P
<jomik> Their nix experssions are quite different.
pkx3 has quit [Read error: Connection reset by peer]
<mkaito> can I run a shell command and read the output into a variable somehow? say, I want to use `bc` to do some math.
ryantm has quit [Quit: Lost terminal]
dmc has quit [Quit: WeeChat 2.3]
<symphorien> a="$(command)" ?
<gchristensen> myvar=$(bc <<< '1 + 1')
pkx3 has joined #nixos
v0d1ch has joined #nixos
dmc has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<mkaito> ... into a nix variable.
<mkaito> or rather, write a nix function that runs something in the shell
<mkaito> :P
<gchristensen> oh, no
<gchristensen> what kind of math are you doing, and what do you want to do with the result?
<mkaito> I would like to convert a decimal number to hexadecimal
<mkaito> and put it in an ipv6 address
<gchristensen> oh dear
<tilpner> let shell = x: builtins.readFile (runCommandNoCC "shell" {} ">$out ${x}"); in shell "${bc}/bin/bc <<< '1+1'"
<tilpner> But that will cause ,IFD and everyone will glare at you
<tilpner> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<jomik> Hummm. Ponder why we are saving the source of home-manager here.. https://github.com/NixOS/nixpkgs/blob/31d72972f7c0b42dd2754db4aa6834c502c704dc/pkgs/tools/package-management/home-manager/default.nix#L28 Wouldn't it be better to move it to $out?
<clever> mkaito: the ip-magic above doesnt use IFD, but relies on a custom cpp program to generate the file in question
pkx3 has joined #nixos
<mkaito> why is using a cpp program different in this regard?
<clever> your not importing the result back to nix, so its not expensive like IFD
<clever> its just a normal build of a file
<tilpner> But then the result isn't in "a Nix variable" like how mkaito wanted
<mkaito> yeah, I see how this works because you generate a file and then operate on that file instead of the value
<tilpner> import and readFile are equally bad here
<clever> yeah, you would have to restructure it, to not need the answer in a nix var
<clever> but to create the file that nix var was going to go into
<mkaito> right
pkx3 has quit [Read error: Connection reset by peer]
<mkaito> thanks!
<typetetris> Is there a tool to extract information from store derivation files ?
<gchristensen> how about `nix show-derivation`?
<tilpner> What information do you want?
<typetetris> I want to extract the src path. And search for dependencies from local source files. (What I want to do: I have to call nix-build from make and want to determine the dependencies, so I only call nix-build (and spend time evaluating the nix source) only if there is the need to. Maybe there is a better way for such a thing?)
<clever> typetetris: nix-store --query --binding src /nix/store/foo.drv
<clever> typetetris: nix-build '<nixpkgs>' -A hello.src
pkx3 has joined #nixos
<hodapp> so I have to call 'setcap' on wine/wineserver in order to be able to let this Windows application open network sockets, but this can't be done when the binary is read-only... any sensible way around this?
rfold has joined #nixos
acarrico has quit [Quit: Leaving.]
rfold has quit [Client Quit]
pkx3 has quit [Read error: Connection reset by peer]
<clever> hodapp: https://github.com/cleverca22/nixos-configs/blob/master/wireshark-no-root.nix is a setuid example, rather then setcap
dermetfan has quit [Quit: WeeChat 2.3]
dermetfan has joined #nixos
ub has joined #nixos
<hodapp> clever: thanks, will try to work with this
pkx3 has joined #nixos
<hodapp> okay, 'getcap' suggests that this worked...
graphene has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
acarrico has joined #nixos
graphene has joined #nixos
LysergicDreams has quit [Quit: leaving]
dermetfan has quit [Quit: WeeChat 2.3]
dermetfan has joined #nixos
pkx3 has joined #nixos
dermetfan has quit [Client Quit]
<{^_^}> [nixpkgs] @Baughn opened pull request #51913 → nvidia: Improve assertion documentation → https://git.io/fp5xh
dermetfan has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<djahandarie> Is there a way to disable the nix sandbox for a specific derivation I know does something unpure?
smolboye has quit [Read error: Connection reset by peer]
Slabity90 has joined #nixos
<Taneb> Trying to launch a VM with nixops, I get "hydra> Could not access KVM kernel module: Permission denied"
<Taneb> Anyone know how to avoid this error?
pkx3 has joined #nixos
<hjulle> How do I globally override a python package?
<jomik> Taneb: sudo? :P
<Slabity90> Taneb: Does your user have permission to run nixops?
<jomik> If sudo works, then your user needs permission.
pkx3 has quit [Read error: Connection reset by peer]
smolboye has joined #nixos
<Taneb> Jomik: sudo fails for a different reason (can't find nix-instantiate)
<Taneb> Slabity90: I've been running nixops successfully in the past, this is just the first time I've had to create a machine in a long while
<Slabity90> hjulle: I'd recommend having a local overlay with your package overrides. Otherwise you could set to `nixpkgs.config.packageOverrides` value
<Slabity90> hjulle: In fact, there's an example for overriding a python package here: https://nixos.org/nixpkgs/manual/#how-to-override-a-python-package-using-overlays
<hjulle> How do I use this overlay for a module that depends on this package?
pkx3 has joined #nixos
<hjulle> Slabity90: I tried using packageOverrides, but the old version was still being used.
<infinisil> djahandarie: nope, it's either all or nothing
agander has joined #nixos
<infinisil> Afaik at least
pkx3 has quit [Read error: Connection reset by peer]
<jomik> Oooh.. home-manager does not work very well with fish :(
<infinisil> Jomik: What's the problem?
<jomik> Just doesn't get session variables set up
<jomik> So it just fails
pkx3 has joined #nixos
<infinisil> Well that seems not too hard to fix, just add it for fish as well
<jomik> I tried manually setting them in my shell instance, and still doesn't work O.o
<infinisil> Oh, well maybe fish is a bit different for that
lfish has joined #nixos
<jomik> Not sure how home.sessionVariables are set. They are handled by ... config.lib.shell.exportAll
<infinisil> I don't use fish myself, but if you can figure out how to make it work it would be great for other HM users
<jomik> I dunno - it works just fine using the NixOS version.
pkx3 has quit [Read error: Connection reset by peer]
kim0 has quit [Quit: Connection closed for inactivity]
<jomik> I do ponder how it just adds some of it to sessionVariables and others in an init string, looks weird?
<Slabity90> hjulle: You might need to override the package that uses it as a dependency
<Slabity90> Change the dependency to point to your new derivation
<adisbladis> Jomik: It should work. sessionVariables are set up on shell startup using fenv.
<{^_^}> [nixpkgs] @dotlambda merged pull request #51904 → python3Packages.secretstorage: 2.3.1 -> 3.1.0 → https://git.io/fp52b
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fpdeG
<adisbladis> Provided you have `programs.fish.enable = true;` in your home-manager config
<jomik> I don't think I have fenv, adisbladis.
<jomik> Aah.
<hjulle> Slabity90: Recursively through the whole dependency tree?
jperras_ has joined #nixos
<jomik> fenv seems outdated compared to bass :(
<adisbladis> Jomik: Don't worry about it. It's handled internally in the module
pkx3 has joined #nixos
<jomik> I am aware. But it does add a dependency :P
<jomik> Odd... programs.fish doesn't exist
jperras has quit [Ping timeout: 268 seconds]
<Slabity90> hjulle: I believe overlays are automatically picked up when a package is built with that dependency.
<lfish> Hello! I have this nix expression https://pastebin.com/jYpq2eKE for a python environment and for some reason it recompiles numpy everytime I nix-shell into it. How do I get it to cache things as usual?
<Slabity90> As long as the environment you are in has that overlay enabled in the `nixpkgs.overlay` option
<adisbladis> Jomik: How do you get home-manager?
<jomik> through nixos
pkx3 has quit [Read error: Connection reset by peer]
<hjulle> Slabity90: Thanks, I’ll try that.
<infinisil> Jomik: Yeah that version isn't recommended, it's outdated often
<jomik> Actually... Seems the source is outdated... fish.nix is missing at l east.
<jomik> Actually... Seems the source is outdated... fish.nix is missing at least.
<adisbladis> Jomik: And which channel?
<jomik> I am on release 18.09
<jomik> Figured it'd match 18.09 on github..
<infinisil> You should use home-manager as it says in the readme
<jomik> I see that :P
<jomik> Figured it'd just track release-18.09 :P
<infinisil> > stable.home-manager.name
<{^_^}> "home-manager-2018-06-14"
<infinisil> > home-manager.name
<{^_^}> "home-manager-2018-11-04"
<infinisil> It seems to be updated in master ^^
<infinisil> > unstable.home-manager.name
<{^_^}> "home-manager-2018-11-04"
<jomik> Dunno if I want to track unstable tho.
pkx3 has joined #nixos
<jomik> I guess tracking master on home-manager is fiiine.
<infinisil> You don't need to
<infinisil> ,unstable
<infinisil> But my recommendation is to use home-manager as described in its readme
<jomik> Yah.
<jomik> I'll do that.
imdoor has joined #nixos
<jomik> I just do `https://github.com/rycee/home-manager/archive/master.tar.gz` to track master on home-manager, correct?
pkx3 has quit [Read error: Connection reset by peer]
dbmikus has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/70488665fae (from 6 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<infinisil> Yeah, i mean it's in the readme
<jomik> Ohhh. huh. I didn't do the readme method then. Lol. I just went and updated home.nix :o
<jomik> w00ps :D
<jomik> Ah, that's what it says at the end..
pkx3 has joined #nixos
<simpson> Hm. I should fix `pypyPackages.mock` to not be broken.
pkx3 has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
agander has quit [Quit: Leaving]
lfish has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed to master « Fix assertion failure in NarInfoDiskCache »: https://git.io/fpdUV
lfish has joined #nixos
Slabity90 has quit [Remote host closed the connection]
pkx3 has joined #nixos
Lears has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #51914 → home-assistant: use python37 → https://git.io/fpdUj
pkx3 has quit [Read error: Connection reset by peer]
lfish has quit [Ping timeout: 256 seconds]
hotfuzz_ has joined #nixos
[Leary] has quit [Ping timeout: 268 seconds]
hotfuzz has quit [Ping timeout: 246 seconds]
<jomik> adisbladis, infinisil Thanks :)
lfish has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.3]
jperras_ has quit [Quit: WeeChat 2.2]
pie___ has joined #nixos
pkx3 has joined #nixos
pie__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.18.1 -> 1.19.0 »: https://git.io/fpdkS
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
lfish has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @zimbatm opened pull request #2574 → libstore: improve hash mismatch error messages → https://git.io/fpdI4
pkx3 has joined #nixos
<jomik> Soo.. following the instructions here: https://github.com/rycee/home-manager#installation I don't get home-manager in my path it seems.
<{^_^}> [nixpkgs] @cransom opened pull request #51915 → pdsh: enable macOS → https://git.io/fpdIy
<{^_^}> [nix] @edolstra merged pull request #2574 → libstore: improve hash mismatch error messages → https://git.io/fpdI4
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fpdIS
__Sander__ has quit [Quit: Konversation terminated!]
Slabity90 has joined #nixos
<CodeKiwi> Why does my screen go full brightness when it suspends and the keys don’t work to change it. Currently kde but it’s like that without... xfce wouldn’t evenlet me change the brightness but the applet did work . MacBook Pro (late 2013 or slt)
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> By the applet I mean the pop up that shows a slider when you push the brightness keys
<jomik> Lol, I guess I need to enable it in my home.nix.. :P
<CodeKiwi> It showed up and moved but the screen didn’t care
<Slabity90> CodeKiwi: When you say the applet 'works', do you mean that the slider works and brightness doesn't change?
<CodeKiwi> Yeah
<Slabity90> CodeKiwi: Can you see what's in /sys/class/backlight?
<CodeKiwi> On kde it at least sometimes works when I boot but then if it suspends or maybe even just screen dim timeouts after that it’s full brightness
<CodeKiwi> gmux_backlight
<CodeKiwi> I tried the things I think that are supposed to change it but they don’t work ... or didn’t when I tried
pkx3 has joined #nixos
<CodeKiwi> There was a thing I had to add somewhere to get an error to go away on boot about it
<Slabity90> CodeKiwi: Can you run `cat /sys/class/backlight/gmux_backlight/brightness`?
<CodeKiwi> 0
<Slabity90> That's... Odd
<Slabity90> And brightness is not actually zero I'm guessing?
<CodeKiwi> I added acpi_native to make an error about it I think go away I don’t think it worked at all before that
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> It is opposite of zero
niksnut has quit [Quit: Changing server]
drakonis_ has joined #nixos
<CodeKiwi> Acpi_backlight=native I tried at least 2 of 3 options I think there are and that one had the best result
vidbina_ has quit [Quit: vidbina_]
<CodeKiwi> That’s in boot kernel Params
Drakonis__ has joined #nixos
<CodeKiwi> Should I reboot and see if it changes
<Slabity90> CodeKiwi: As root, can you run `echo 100 > /sys/class/backlight/gmux_backlight/brightness`
<Slabity90> Or change 100 to anything from 0-100
orivej has joined #nixos
<Slabity90> Let me know if it changes the backlight
drakonis has quit [Ping timeout: 272 seconds]
<CodeKiwi> No effect
<CodeKiwi> Well it updated the value but nothing changed
<Slabity90> Hmm
<CodeKiwi> I uh may have set it to zero a few days ago
drakonis_ has quit [Ping timeout: 252 seconds]
<CodeKiwi> I usually don’t ask questions until I’ve struggled for days without progress
pkx3 has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51758 → pythonPackages.neovim-0.3.0 -> pythonPackages.pynvim-0.3.1 → https://git.io/fpSha
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fpdt6
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> I’m like really tempted to run from a vm in macOS :| but then I would be defeated!
<{^_^}> [nixpkgs] @Mic92 merged pull request #51905 → strip-nondeterminism: 0.016 -> 1.0.0 → https://git.io/fp5wI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpdt5
Drakonis__ has quit [Ping timeout: 252 seconds]
<CodeKiwi> And that comes with its own set of problems anyway :(
pkx3 has joined #nixos
<CodeKiwi> Also it’s fucking unreal how much ram kde and Firefox ear
<CodeKiwi> Eat
niksnut has joined #nixos
<jomik> Try GNOME then.
<jomik> It eats more ram each time you hit SUPER :P
<CodeKiwi> I wonder if the kernel module gets unloaded when it suspends
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> I use xmonad so I don’t think that’s a good idea
Dedalo has joined #nixos
dermetfan has quit [Quit: WeeChat 2.3]
hololeap has joined #nixos
<CodeKiwi> I rebooted and now the keys don’t work
dermetfan has joined #nixos
<CodeKiwi> It’s on like partial brightness tho so at least it’s not giving me a migraine now
simendsjo has joined #nixos
<CodeKiwi> The brightness thing says 716
<samueldr> CodeKiwi: with apple hardware, knowing the "DMI ID" can help finding appropriate tips: cat /sys/devices/virtual/dmi/id/product_{family,name}
pkx3 has joined #nixos
<samueldr> the e.g. MacBookX,Y represents a solid identifier to know which device it is
<CodeKiwi> MacBookPro11,3
pkx3 has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
<samueldr> Nvidia, does not work using default settings. Try executing as root setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0. It may be worthwhile to create a systemd unit to execute this on boot.
<samueldr> not sure if still relevant, CodeKiwi
<CodeKiwi> Ok so I have found that the buttons are changing the brightness in gmux_brightness
<samueldr> though your device should be an NVIDIA one AFAICT
graphene has joined #nixos
Dagger has quit [Excess Flood]
<CodeKiwi> Yeah I am using nvidia driver but it screen tears so I might go nouveau which is what I use from the live usb and I think it worked better there but still had the blinding thing going on maybe...
betaboon has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #37730 → Add a derefPath function that copies a path to the store → https://git.io/vxB1H
<CodeKiwi> It’s been a while been sick :(
<samueldr> I have no real experience, but I don't know if it's relevant to the driver used in the end, just that the MacBook Pro late 2013 could also have had an AMD card
<CodeKiwi> Omg that setpci worked
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @jabranham opened pull request #51916 → R: update CRAN package set → https://git.io/fpdmC
<samueldr> and the Arch Linux page describes that incantation as required on the model with a nvidia card
Dagger2 has joined #nixos
<samueldr> :)
<CodeKiwi> Ok now how do I make that work always
<{^_^}> [nixpkgs] @alyssais merged pull request #51909 → mysql55: 5.5.60 -> 5.5.62 → https://git.io/fp5P6
<{^_^}> [nixpkgs] @alyssais pushed 3 commits to master: https://git.io/fpdm4
<samueldr> CodeKiwi: remember the special sauce: MacbookPro11,3 this is how you can find the right information for your specific model
<CodeKiwi> Also how do I make the fans work better I have installed mbp fan but I don’t know if I configured it right and I don’t know how to make it start automatically
<CodeKiwi> I usually check arch wiki too *facepalm* How did I miss
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> I’ve only been an arch user for 10 years heh :(
<CodeKiwi> Is there a page for systemd unit
<CodeKiwi> Also thank you so much!
<CodeKiwi> I’ve been struggling with this thing for...at least 10 days
<CodeKiwi> Not just that like...everything
simendsjo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51913 → nvidia: Improve assertion documentation → https://git.io/fp5xh
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpdYY
<CodeKiwi> The right version of zfs not working on live disks, broken live images, bad internets, I think cache.nixos is broken or was..., slow ssd or something I dunno nix is a lot slower than it should be...xfce and kde and xmonad and ugh
<ToxicFrog> "a page for systemd unit" as in..how to manage units? how to write units? how to define them in the NixOS configuration?
jtojnar has joined #nixos
<ToxicFrog> How to write new NixOS option definitions that generate systemd units when evaluated?
<CodeKiwi> Wait so if that set pci thing worked maybe I can make xfce work
<CodeKiwi> Yes all of the above to make that setpci happen on boot or whatever
pkx3 has quit [Read error: Connection reset by peer]
<CodeKiwi> Oh Hi ToxicFrog :3
<CodeKiwi> I still need to set up an irc client mhr I went through hell to get glirc installed and I haven’t even tried it
<CodeKiwi> See rant about cache and nix and internets
<ToxicFrog> You definitely don't need "all of the above" to make setpci be called on boot
<rhalff> what's the most common location in nixos to mount extra partitions? I used to use /srv or /mnt, I still can but it doesn't feel like the nixos way of doing things.
<CodeKiwi> And broken nar
<{^_^}> [nixpkgs] @nyanloutre opened pull request #51917 → electron-cash: 3.3.1 -> 3.3.2 → https://git.io/fpdOe
<ToxicFrog> Honestly I might skip the systemd unit entirely and just stick it in boot.initrd.postDeviceCommands
<Mic92> rhalff: /mnt for temporary mounts, /media for mounts triggered by user file manager. But feel free to mount it wherever it fits.
pkx3 has joined #nixos
<Mic92> When I have permanent mounts I use sometimes something like /data
<CodeKiwi> I put them in home is that bad idea
<ToxicFrog> If you wanted a systemd unit, you'd define it as systemd.services.setpci-nvidia-fix (or similar), c.f. https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
<rhalff> I also notice udisks, but that's more for removable media I guess.
<Mic92> No. If your users owns the files, then this make sense. I also have a ~/mnt directory for sshfs.
pkx3 has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
<Mic92> For network-based file systems I would put them in a subdirectory in home otherwise applications might hang when listing directories.
<ToxicFrog> And probably set wantedBy=sysinit.target, serviceConfig.Type = "oneshot", script = "setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0"
fusion809 has joined #nixos
graphene has joined #nixos
alex`` has joined #nixos
<rhalff> ok thanks, will see where I put them.
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/fpdOF
ThatDocsLady_ has quit [Ping timeout: 250 seconds]
pkx3 has quit [Read error: Connection reset by peer]
alex`` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #51918 → Var run → https://git.io/fpd3B
nDuff has joined #nixos
pkx3 has joined #nixos
drakonis has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51830 → cool-retro-term: fix on darwin → https://git.io/fpHcY
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fpd37
pkx3 has quit [Read error: Connection reset by peer]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> imagine my disappointment when I noticed https://crates.io/crates/nix was not about Nix
ub has quit [Quit: Leaving]
<Slabity90> gchristensen: Check out https://gitlab.com/jD91mZM2/rnix
astronavt has joined #nixos
<gchristensen> yeah, I'm more looking for bindings to Nix like evaluate, build, explore a tree, etc
<clever> gchristensen: taktoa was looking into that a year or 2 ago
elgoosy has joined #nixos
<gchristensen> that'd be nice to have :)
<Slabity90> gchristensen: I've been working on the tree-exploring part, but I don't know of any Nix evaluaters out there
<gchristensen> well ... https://github.com/nixos/nix is a pretty good nix evaluator
<gchristensen> :P
<Slabity90> Okay you got me there
<clever> and there is hnix
<Slabity90> Doesn't nix use hnix?
<gchristensen> no
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<clever> nope
<gchristensen> Nix is all C++
<Slabity90> Oh wow.
pkx3 has joined #nixos
<Slabity90> I thought hnix was the primary implementation
<gchristensen> oh, gosh, no :)
<gchristensen> I'm just going exec() out to `nix-instantiate` and `nix-build` , and likely borrow some of the code I wrote for ofborg
<Slabity90> If you make a crate that can easily call those utilities, I'll definitely find it useful :P
jabranham has joined #nixos
<jomik> Hey guys... Anyone here have a neat way to clean up `ps aux` and friends? I mean... All the nix stor paths are pretty long and makes it hard to read :P
<symphorien> the interface contains tons of STL types and is not ffi friendly at all
<clever> Jomik: prefix PATH correctly when running something, and then let PATH do its thing
pkx3 has quit [Read error: Connection reset by peer]
<clever> but you would need to fix every "misbehaving" program in the system...
<jabranham> Jomik: nix-prettify-global-mode in Emacs :-)
<tilpner> gchristensen, Slabity90 - What do you mean by "explore a tree"?
<gchristensen> sorry -- explore a tree of .drv's
<tilpner> I kinda have that?
<Slabity90> Oh?
<jomik> clever: Yaah. Happens with systemd launching stuff... I was mostly thinking of cutting off the /nix/store/[hash] and maybe replacing it with something readable :P
<tilpner> nix-weather parses .drvs, it doesn't build them of course
<tilpner> It's not really a library, because I didn't want to polish it
<tilpner> But if other people want to do the same thing, we could just put it all together and stop wasting effort
<jomik> jabranham: I suppose that, for my shell :P
jperras has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #2575 → binary-cache-store: add setting to disable local narinfo caching → https://git.io/fpdsp
<Slabity90> Honestly I just want to make some tools that makes it easier to create/override derivations and modules
<tilpner> That wouldn't use Rust though?
pkx3 has joined #nixos
<tilpner> Relevant: rfcs#3 and the NixCon proposed "configurations" which I misplaced the link for
<{^_^}> https://github.com/NixOS/rfcs/pull/3 (by nbp, 1 year ago, open): [RFC 0003] SOS: Simple Override Strategy.
pkx3 has quit [Read error: Connection reset by peer]
Ariakenom has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 246 seconds]
graphene has joined #nixos
pkx3 has joined #nixos
fusion809 has quit [Remote host closed the connection]
hololeap has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
pkx3 has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos
pkx3 has joined #nixos
aleph- has joined #nixos
ntd has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
ntd has quit [Remote host closed the connection]
ntd has joined #nixos
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #51890 → meson: 0.48.2 → 0.49.0 → https://git.io/fp5UG
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fpdGK
pie__ has joined #nixos
halfbit has quit [Ping timeout: 252 seconds]
pkx3 has quit [Read error: Connection reset by peer]
pie___ has quit [Remote host closed the connection]
rauno has joined #nixos
pkx3 has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
pkx3 has quit [Read error: Connection reset by peer]
halfbit has joined #nixos
alex`` has joined #nixos
Neo-- has quit [Ping timeout: 260 seconds]
reinhardt has joined #nixos
pkx3 has joined #nixos
<catern> is there any built-in way in Nix to build a tarball containing the closure of something, plus the necessary information to load it into the store? without using perl to use the pathsFromGraph script?
<catern> like, I have Nix on one host, I want to get the closure of Nix and copy it over to another host currently without Nix, and load those paths into the database - I can easily just tar the closure up and copy it over, but what about the information to get the paths into the database?
alp has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<catern> can I somehow extract that information of a nix-store --dump, throwing away the actual packages?
alex`` has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
<symphorien> nix-store -qR ?
<catern> is there a way to load "nix-store -qR" into the database?
alex`` has quit [Read error: Connection reset by peer]
<catern> i mean, I guess I can do the same hack as pathsFromGraph and just reformat it with dummy data
pkx3 has joined #nixos
cyounkins has quit [Remote host closed the connection]
<symphorien> I think I don't understand what you want
cyounkins has joined #nixos
srl295 has joined #nixos
<symphorien> probably way more advanced usage than mine
pkx3 has quit [Read error: Connection reset by peer]
jasonrm has joined #nixos
Ariakenom has joined #nixos
alex`` has joined #nixos
simendsjo has joined #nixos
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
nD5Xjz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @aneeshusa to master « pgcli: 2.0.0 -> 2.0.1 »: https://git.io/fpdZU
<catern> (--dump-db is kinda what I want but it's not customizable enough because it doesn't allow changing which parts of the db I dump, hmm...)
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51269 → pgcli: 2.0.0 -> 2.0.1 → https://git.io/fpwA7
alex`` has quit [Read error: Connection reset by peer]
<catern> (I suppose I could maybe just write a derivation that just generates this, hmm...)
pkx3 has quit [Read error: Connection reset by peer]
nD5Xjz has joined #nixos
alex`` has joined #nixos
pkx3 has joined #nixos
jomik has quit [Quit: Page closed]
<tilpner> catern - You may want nix build --store /tmp/foo nixpkgs.hello and then tar up /tmp/foo
pkx3 has quit [Read error: Connection reset by peer]
_0bitcount has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<tilpner> Hmm, that doesn't seem to work anymore
<tilpner> At some point, some variation of NIX_STORE=local?path=/tmp/foo did work though
Anton-Latukha has joined #nixos
hedning has quit [Quit: hedning]
cyounkin_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Ping timeout: 246 seconds]
chimay has quit [Ping timeout: 240 seconds]
chimay has joined #nixos
<{^_^}> [nix] @catern closed pull request #1869 → fix the nix-profile scripts to error on bad profile ownership/mode → https://git.io/vA32d
Thra11 has joined #nixos
Ariakenom has joined #nixos
pkx3 has joined #nixos
chimay has quit [Ping timeout: 250 seconds]
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has joined #nixos
<Thra11> If a package needs to get multiple sources, what's the best way of doing that?
asymmetric has quit [Ping timeout: 250 seconds]
cyounkins has quit [Remote host closed the connection]
<dermetfan> Thra11: maybe the srcs variable, see https://nixos.org/nixpkgs/manual/#ssec-unpack-phase
cyounkins has joined #nixos
pkx3 has joined #nixos
ntd has quit [Quit: ntd]
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Read error: No route to host]
cyounkins has joined #nixos
asymmetric has joined #nixos
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @andir to release-18.09 « firefox-esr-60: 60.3.0esr -> 60.4.0esr »: https://git.io/fpdZ0
nDuff has quit [Ping timeout: 245 seconds]
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @garbas opened pull request #51919 → powerline-fonts: 2017-05-25 -> 2018-11-11 → https://git.io/fpdZa
pkx3 has joined #nixos
asymmetric_ has joined #nixos
<jabranham> "nix-env -qc libreoffice" reports that my libreoffice is outdated, but "nix-env -u libreoffice" doesn't do anything. I've tried running "nix-env --set-flag keep false libreoffice" but that doesn't seem to help. Any ideas?
pkx3 has quit [Read error: Connection reset by peer]
asymmetric has quit [Ping timeout: 268 seconds]
agander has joined #nixos
<jb55> anyone have issues with the hydra module not starting the web server? I'm restarting hydra-init and it doesn't seem to be listening on port 3000
<jb55> although it seems to work when I nixos-rebuild switch...
<jb55> oh nm it's hydra-server
<jb55> for some reason it's not starting on boot hmmm
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
psiconauta has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @garbas opened pull request #51920 → vimPlugins: update all plugins to latest and adding vimux and neovim-sensible plugins → https://git.io/fpdZy
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @garbas closed pull request #51639 → vimPlugins.vimux: init at 2017-10-24 → https://git.io/fpDot
<{^_^}> [nixpkgs] @garbas merged pull request #51919 → powerline-fonts: 2017-05-25 -> 2018-11-11 → https://git.io/fpdZa
<{^_^}> [nixpkgs] @garbas pushed to master « powerline-fonts: 2017-05-25 -> 2018-11-11 »: https://git.io/fpdZd
waleee has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @garbas opened pull request #51921 → vscode-extensions: init vim, github, theme-onelight → https://git.io/fpdZF
pkx3 has quit [Read error: Connection reset by peer]
kvda has joined #nixos
lsyoyom has quit [Ping timeout: 246 seconds]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
pkx3 has joined #nixos
crmlt has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3d606b06d1b (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
lsyoyom has joined #nixos
<Thra11> dermetfan: Thanks
cyounkins has quit [Read error: No route to host]
cyounkins has joined #nixos
pkx3 has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
pkx3 has quit [Read error: Connection reset by peer]
johann__ has quit [Ping timeout: 252 seconds]
agander has quit [Ping timeout: 240 seconds]
jomik has joined #nixos
<jomik> is there a type for a float? I need to make an option that takes a value in [0,1]
agander has joined #nixos
<tilpner> > lib.mkOption { type = lib.types.float; }
<{^_^}> { _type = "option"; type = { _type = "option-type"; check = <CODE>; description = <CODE>; functor = <CODE>; getSubModules = null; getSubOptions = <CODE>; merge = <CODE>; name = "float"; substSubModule...
pkx3 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar merged pull request #51889 → Gnome 3.30.3 → https://git.io/fp5UI
<{^_^}> [nixpkgs] @jtojnar pushed 13 commits to master: https://git.io/fpdnl
<{^_^}> [nixpkgs] @jtojnar merged pull request #51888 → gobject-introspection: 1.58.1 → 1.58.2 → https://git.io/fp5Uk
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fpdn4
hedning has joined #nixos
<jomik> tilpner: Ah, thanks. It's just not documented :P
[Leary] has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.3]
alex`` has joined #nixos
Lears has quit [Read error: No route to host]
iu_ has joined #nixos
johann__ has joined #nixos
<iu_> Hi! How can I specify `world' meta-package in ~/.nixpksg/config.nix?
orivej has quit [Ping timeout: 250 seconds]
pkx3 has joined #nixos
<rardiol> Can i tell nixos-rebuild to use a local git directory instead of some official channel?
Havvy has quit [Read error: Connection reset by peer]
pkx3 has quit [Read error: Connection reset by peer]
<symphorien> -I nixpkgs=/path/to/checkout
<{^_^}> [nixpkgs] @hedning opened pull request #51922 → nixos/tests/xmonad: fix terminal title → https://git.io/fpdnE
acarrico has quit [Ping timeout: 250 seconds]
<rardiol> symphorien: thanks
pkx3 has joined #nixos
<rardiol> symphorien: you know if there's some way to use the new "nix build" to do something like that? like "nix build --no-link -f '<nixpkgs/nixos>' config.system.build.toplevel", but with a "-I nixpkgs=/path/to/checkout" ?
<symphorien> replace <nixpkgs/nixos> by /path/to/checkout/nixos
rawreraw has quit [Quit: WeeChat 2.3]
<symphorien> -I nixpkgs=foo means that all instances of <nixpkgs> will be replaced by foo
pkx3 has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e12009f390d (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pkx3 has joined #nixos
dermetfan has quit [Quit: WeeChat 2.3]
dermetfan has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3d606b06d1b (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
dermetfan has quit [Client Quit]
pkx3 has quit [Read error: Connection reset by peer]
dermetfan has joined #nixos
<gchristensen> {^_^} is like the oprah of channel bumps
<NinjaTrappeur> Hey, are people here able to use mumble on nixos? Either via mumble or mumble_git? It freeze and peak at 100%cpu on both of my systems.
<bbarker> speaking of channel bumps, is 18.09 sufficient for fetchGit? ripgrep isn't really showing me much difference or anything insightful between 18.09 and unstable
<srhb> bbarker: builtins.fetchGit? I think that appeared in.. Nix 1.12 or something? So I guess late 17.09
<srhb> Well, for unstable
<srhb> for nixStable, uuh. :-)
<bbarker> oh
<srhb> 18.03 or 18.09
<srhb> But yeah, check the version on nix in each of them.
Mateon3 has joined #nixos
pkx3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
pkx3 has quit [Read error: Connection reset by peer]
<LnL> hmm, all the nss module options are in a let :/
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> so I am going to embark on a dangerous journey
<fresheyeball> and attempt to install nixos on a wacom mobile studio pro
<gchristensen> oooOOooo!
<fresheyeball> So I am at a very early stage
<fresheyeball> and have used up all 3 usb ports on the device
<fresheyeball> and so can't wire into the internet
<fresheyeball> so I need wifi
<fresheyeball> I ran the command in the manual
<fresheyeball> wpa_supplicant -B -i interface -c <(wpa_passphrase x y)
<fresheyeball> and it says it initialized successfully
<fresheyeball> but then it says
<goibhniu> Hi NinjaTrappeur, someone mentioned recently that needed to enable pulseaudio for it IIRC
<fresheyeball> could not read interface interface flags: No such device
pkx3 has joined #nixos
<dsx> Shouldn't «interface» in «-i interface» be actual interface name as reported by «ip link»?
reinhardt has quit [Quit: Leaving]
<fresheyeball> idk
pkx3 has quit [Read error: Connection reset by peer]
<fresheyeball> this is not an area where I am strong
<fresheyeball> hench the IRC
<dsx> I think it is, but I don't have any wifi hosts to verify. Try that.
<fresheyeball> try what?
<dsx> Run «ip link», figure out which interface name is wifi (say, wlp123s456) and use that
<fresheyeball> wlp1s0 I see in there
<dsx> Looks good to me
crmlt has quit [Ping timeout: 272 seconds]
<fresheyeball> oic
<bbarker> wrhb, ya, my problem: i was trying to use pkgs.fetchGit and not builtins.fetchGit ...
<fresheyeball> ok so I ran the same command I did before, substitution "interface" for wlp1s0
<fresheyeball> and it said success
<fresheyeball> ping http://www.google.com
<fresheyeball> showed "System error"
<{^_^}> [nixpkgs] @garbas merged pull request #51920 → vimPlugins: update all plugins to latest and adding vimux and neovim-sensible plugins → https://git.io/fpdZy
<{^_^}> [nixpkgs] @garbas pushed to master « vimPlugins: update all plugins to latest and adding vimux and neovim-sensible plugins »: https://git.io/fpdcU
pkx3 has joined #nixos
<dsx> Try to ping IP address first.
<fresheyeball> what IP?
<dsx> Any IP which is available over your wifi.
<fresheyeball> 192.168.1.1 works
pkx3 has quit [Read error: Connection reset by peer]
<dsx> What about ping asimov.freenode.net?
<fresheyeball> Name or service not known
simendsjo has quit [Remote host closed the connection]
<cyounkins> Try 8.8.8.8
<NinjaTrappeur> goibhniu, pulseaudio is already enabled in my configuration. Do you have a link to this conversation (if it was on github)? I can't find it.
Anton-Latukha has quit [Quit: Leaving.]
<goibhniu> It was in here, about a week ago, but they didn't mention why then enabled pulseaudio. That's just the last time I heard mumble mentioned. Not much of a lead, sorry.
pkx3 has joined #nixos
Slabity90 has quit [Remote host closed the connection]
agander has quit [Ping timeout: 250 seconds]
pkx3 has quit [Read error: Connection reset by peer]
dgarzon has joined #nixos
<dgarzon> Hi, is it possible to access builtins.fromJSON and builtins.readFile on the installPhase of a mkDerivation?
<andi-> simply put: no
<iu_> How can I specify `world' meta-package in ~/.nixpksg/config.nix?
vk3wtf has quit [Ping timeout: 252 seconds]
<simpson> dgarzon: Why do you want that?
Dedalo has joined #nixos
<goibhniu> NinjaTrappeur: I checked my logs, it was Laalf who mentioned it, on December 4th
pkx3 has joined #nixos
<dgarzon> simpson I am trying to download a list of derivations (in JSON from a cache) and then pipe each to `nix-store` so that they get installed. I was able to use fetchurl to download my JSON file, and now I would like to pipe the result :)
<{^_^}> [nix-mode] @matthewbauer pushed to master « Use eval-when-compile for subr-x »: https://git.io/fpdco
<andi-> that doesn't have to happen in installPhase... sounds more like you just want to pass that list of files to the builder as env vars. That is indeed possible someVar = (builtins.fromJSON (builtins.readFile (fetchurl ...)));
jonaswouters has quit [Quit: Connection closed for inactivity]
<NinjaTrappeur> goibniu, thanks!
pkx3 has quit [Read error: Connection reset by peer]
hotfuzz_ is now known as hotfuzz
acarrico has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkx3 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
IRCsum has quit [Remote host closed the connection]
<NinjaTrappeur> ah! I guess I should set the pulseSupport to true while referencing the derivation
<dgarzon> Thanks andi- ! I think I am close. Now I get: do not know how to unpack source archive. Any suggestions?
<andi-> tar, unzip, … ?
epicmetal has joined #nixos
<dgarzon> I did: src = (builtins.fromJSON (builtins.readFile (fetchurl ...)));
IRCsum has joined #nixos
<clever> dgarzon: thats no longer a file, but an object
<clever> an object cant be unpacked
pkx3 has joined #nixos
<clever> dgarzon: what exactly do you want to do with that json?
<rardiol> I'm trying to use nix-serve locally and i get this error: "warning: substituter 'http://192.168.1.101:7819' does not have a valid signature for path '/nix/store/24qiclqzi2p8l2x5fbn5sr7xrl44mdd5-linux-4.14.87'"
<dgarzon> clever you are right, but I am struggling to understand how I can achieve what I want with a nix derivation. I would like to fetch a JSON from a URL, and then pipe the resulting array to `nix-store —realise`. The JSON contains a list of derivations I have in a hydra cache.
<{^_^}> [nix-mode] @matthewbauer pushed to master « Formatting »: https://git.io/fpdcb
pkx3 has quit [Read error: Connection reset by peer]
<clever> > lib.concatMapStringsSep "\n" (x: "nix-store -r ${x}") [ "a" "b" "c" ]
<{^_^}> "nix-store -r a\nnix-store -r b\nnix-store -r c"
<clever> writeScriptBin "foo" (lib.concatMapStringsSep "\n" (x: "nix-store -r ${x}") (builtins.fromJSON (builtins.readFile (fetchurl ...)))
<clever> dgarzon: something like this
<dgarzon> clever so no `mkDerivation` needed, right?
<clever> correct
<dgarzon> Thank you clever! I will give that a shot :)
<ldlework> dgarzon: if it doesn't work because you need a shebang there's also writeShellScriptBin
pkx3 has joined #nixos
<ldlework> and all the related builders are defined here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix
<ldlework> is there a knowledge bot in here?
<jomik> Is there an easy way to add extra modules to home-manager?
prymek has joined #nixos
hedning has quit [Remote host closed the connection]
<clever> jomik: you can use the imports list on any module, to give paths to more modules
Growpotkin has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
rardiol1 has joined #nixos
rardiol has left #nixos [#nixos]
<prymek> Hello, I'm trying to run NixOS on Proxmox in LXC container. Wiki page https://nixos.wiki/wiki/Proxmox_Linux_Container seems to be outdated
<Growpotkin> So by default is my Nix store available to other users when I'm connected to the internet? Or is that something that has be be manually enabled?
<prymek> because Proxmox's Apparmor gets in the way massively - many mounts fail
<clever> growpotkin: it has to be manually enabled, with things like nix-serve or hydra
<simpson> growpotkin: Nix isn't P2P.
imdoor has quit [Quit: imdoor]
<ldlework> yet
<Growpotkin> I switched to 19.03 recently, and ghc-8.6.2 so I've been building a ton of stuff from scratch. I would definitely like to make those available to other users.
<prymek> I'm total newbie with NixOS, is there any way to disable mounts if running in LXC?
<prymek> unfortunatelly even "nix-channel --update" doesn't work
<prymek> "error: while setting up the build environment: mounting /proc: Operation not permitted"
<jomik> clever: Thank you... I was over engineering it by trying to build the modules in a default.nix and stuf... :D
pkx3 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f9b07819389 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pkx3 has quit [Read error: Connection reset by peer]
<bbarker> I'm writing a nix expression for nix-shell; it has some derivations included inline, and I'd like to be able to inspect the build output of the failed derivations - what's the best way to do this?
orivej has joined #nixos
<ldlework> factor them out?
<ldlework> that's my guess.
<ldlework> oh they're probably in nix-store somewhere and there's probably a command to ask what packages your package depends on
<Mic92> fresheyeball: you also have to start a dhcp client like dhcpcd
<Mic92> wait a sec, you did
<{^_^}> [hydra] @kquick opened pull request #622 → Add sha256hash to input attrs for eval. → https://git.io/fpdCL
<Mic92> but something is still wrong with your DNS
<bbarker> ldlework, is the build directory in the /nix/store?
<Mic92> check your /etc/resolv.conf
<ldlework> bbarker: the result of those inline derivations
<ldlework> should each have a separate store path iiuc
<bbarker> ldlework, it does, but the build is failing - so i want the build dir, not the $out dir
<ldlework> oh i have no idea and anticipate hearing the answer
<fresheyeball> Mic92: yeah, no progress so far
<{^_^}> [nix] @LnL7 opened pull request #2576 → nix repl: don't create result symlinks → https://git.io/fpdCt
<fresheyeball> I did systemctl restart nsch
<fresheyeball> I did systemctl restart nscd
pkx3 has joined #nixos
drakonis_ has joined #nixos
<Mic92> fresheyeball: ah yeah this bloody bug.
<Mic92> fresheyeball: do you have dig installed?
<bbarker> anyway, I have to run now, so don't worry about answering me on here :-( i'll look into it again when i get home
<Mic92> fresheyeball: so I assume there is a default entry, when you run `ip route`?
<fresheyeball> Mic92: what is dig?
<Mic92> fresheyeball: dig is a tool that can query for a hostname using an arbitrary dns server ip
<fresheyeball> ip route shows things
<Mic92> i.e. dig google.com @8.8.8.8
pkx3 has quit [Read error: Connection reset by peer]
<fresheyeball> Mic92: I don't have internet access to get dig
<Mic92> in ip route there should be something like: default via 192.168.0.1 dev wlan0
<fresheyeball> yes there is
<Mic92> and so on
asymmetric_ has quit [Ping timeout: 252 seconds]
<Mic92> fresheyeball: ok. so pin to that ip after via works, but not to 8.8.8.8?
<Mic92> *ping
<Mic92> I mean the address after default via in ip route
<fresheyeball> Mic92: the default is 192.168.1.1
<fresheyeball> and I can ping that IP
drakonis has quit [Ping timeout: 252 seconds]
<cyounkins> Can you ping 8.8.8.8 or no?
<fresheyeball> there is also 192.168.1.35 on that line
<fresheyeball> I can ping that too
<cyounkins> great, then it's just your DNS
<fresheyeball> 8.8.8.8 also works
<fresheyeball> cyounkins: how can I fix the dns? I am booted of a nixos usb stick
<Mic92> fresheyeball: add nameserver 192.168.1.1 to /etc/resolv.conf
<Mic92> with an editor
<cyounkins> what's in /etc/resolv.conf ?
<cyounkins> nameserver line
<Mic92> ok, it might be the very same line already there
<fresheyeball> that file has
<Mic92> which means that your routers dns is broken.
<fresheyeball> nameserver 192.168.1.1
<fresheyeball> options edns0
<cyounkins> Change it to nameserver 8.8.8.8
<Mic92> fresheyeball: or try to remove the last line
<jomik> Is there a nice/easy way of writing a yml file in nix?
<Mic92> you might have one these cheap routers that break when using edns0
<cyounkins> (Do you have to bounce something to read new resolve.conf?)
<fresheyeball> ok so I updated the file
<fresheyeball> how can I get the system to see the change?
<fresheyeball> I did systemctl restart nscd
pkx3 has joined #nixos
<Mic92> fresheyeball: does: dig google.com @8.8.8.8 work?
<fresheyeball> Mic92: I don't have dig
<Mic92> fresheyeball: do you have host?
<fresheyeball> yes
<Mic92> host google.com 8.8.8.8fresheyeball:
<Mic92> host google.com 8.8.8.8
<Mic92> if that does not return anything something is blocking the access on your network
pkx3 has quit [Read error: Connection reset by peer]
<Mic92> fresheyeball: are you in a public wifi or at home?
<fresheyeball> it shows stuff
<fresheyeball> I am at home
<Mic92> fresheyeball: ok. did you verify the update was written to /etc/resolv.conf?
<dgarzon> ldlework and clever thank you so much! your proposed solution works great!
dgarzon has left #nixos [#nixos]
<Mic92> also try to remove the last line that contains `options edns0`.
<fresheyeball> Mic92: verified it's got 8.8.8.8
<fresheyeball> ok
<Mic92> fresheyeball: ok. now try to ping google.com
<fresheyeball> no change
dermetfan has quit [Ping timeout: 240 seconds]
<Mic92> mhm. do you have wget or curl installed?
<Mic92> I am not sure what we had in the installer
<fresheyeball> Mic92: we got curl
<Mic92> fresheyeball: ok. curl -v https://google.com
<Mic92> and then the same thing for curl -v 91.198.174.192
<fresheyeball> that looks like it worked
<Mic92> *this ip is from wikipedia
<fresheyeball> I think I downloaded google
<Mic92> fresheyeball: something might block icmp in your home network
<Mic92> so ping does not work
<fresheyeball> what is icmp?
<Mic92> do you see lost packets?
<Mic92> icmp is the protocol that ping speaks with the other host.
pkx3 has joined #nixos
<fresheyeball> oh!
<fresheyeball> I can ping google
<fresheyeball> I am not sure what change fixed it
<jomik> Anyone know of a way I can build a home-manager module without actually doing `home-manager switch`?
<Mic92> fresheyeball: maybe you can now also try to change the nameserver back to 192.168.1.1 and see if that is working too.
<elvishjerricco> jomik: does `home-manager build` work?
<jomik> Sorry, without generating a home-manager generation :P
<fresheyeball> Mic92: that works too
<elvishjerricco> jomik: `build` won't add a generation, it'll just build it
<fresheyeball> elvishjerricco: hiya!
<elvishjerricco> Hey!
<fresheyeball> maybe it was the last line
pkx3 has quit [Read error: Connection reset by peer]
<Mic92> fresheyeball: Yeah. you can make this change permanent. networking.dnsExtensionMechanism = false;
<jomik> I don't get why it complains that my `programs.alacritty.window` option is not defined... I am setting options.programs.alacritty.window = mkOption {...}
<jomik> elvishjerricco: Oh! Nice to know :o
<{^_^}> #24433 (by vegai, 1 year ago, open): networking.dnsExtensionMechanism = true as default breaks my DNS queries in 17.03
<elvishjerricco> jomik: I think "defined" refers to it being used without actually being set anywhere. I think "declared" is the terminology used for options being declared in `options`
<elvishjerricco> Might have those switched up...
<Mic92> fresheyeball: you can have a chat with vcuncat our DNS guy.
<jomik> OH, so because it isn't being set by my configuration you mean?
<jomik> Wait, do I need to declare a default value for submodule types?
<elvishjerricco> jomik: Yea. If any other part of the config actually tries to evaluate the option, it MUST be defined
<elvishjerricco> jomik: I'd have to see some more code to tell you what you should do in this case
<jomik> I have a bunch of nested sub modules. All the final attributes have defaults, but I didn't declare a default for each submodule.
<Mic92> fresheyeball: I mean false instead of true.
<jomik> I don't mind dumping a gist.. But it is pretty big :P
<elvishjerricco> jomik: How about the full error message first?
<jomik> jomik@tamaskan ~/.c/nixpkgs> home-manager build error: The option `programs.alacritty.window' is used but not defined. (use '--show-trace' to show detailed location information)
<jomik> --show-trace doesn't give more information
<elvishjerricco> Yea so some part of your module is evaluating `programs.alacritty.window` when it shouldn't be.
gonz__ has joined #nixos
nkaretnikov_ has joined #nixos
Synthetica_ has joined #nixos
teozkr_ has joined #nixos
mbrgm_ has joined #nixos
cbarrett_ has joined #nixos
pkx3 has joined #nixos
<jomik> Well, it should be. It is in the `mkIf cfg.enable`.
<Mic92> jomik: some module might be.
<Mic92> so you need to define it or disable the module.
<elvishjerricco> jomik: Can you show me everything wrapped in the `mkIf cfg.enable`?
<jomik> So, the issue is that I need to give these submodule options a default?
<elvishjerricco> Actually I guess that wouldn't really help me help you...
<elvishjerricco> jomik: Well if `enable = false`, then it shouldn't matter
jasongrossman has quit [Ping timeout: 264 seconds]
vk3wtf has joined #nixos
<jomik> It is true.
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d15b9bd9902 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<jomik> The issue arose because I set enable to true in my home.nix :P
aristid1 has joined #nixos
witchof01 has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
<elvishjerricco> Oh. Then yea if the body uses `programs.alacritty.window`, then it needs to be set. Does the `window` option itself have a default?
<jomik> No.
<jomik> I hoped it'd find a default based on the attrs :P
<elvishjerricco> jomik: Sidenote, You don't have to use submodules so aggressively
<jomik> Oh? I figured I'd replicate the yml as best I could.
<elvishjerricco> You can do `options.foo.bar.baz = mkOption ...` directly. `foo` and `bar` and `baz` don't need to be submodules
<jomik> Oh really?
<elvishjerricco> Yup
<jomik> Thanks!
simukis has quit [Quit: simukis]
<jomik> That... makes this easier.
<jomik> Then I guess window wont even have to be a submodule!
<jomik> elvishjerricco: mind giving a short explanation on submodule? I clearly misunderstood it.
<elvishjerricco> e.g. `options.programs.alacritty.window.dimensions.columns = mkOption ...;`
<Mic92> jomik: btw. you can use remarshal to convert nix attr sets to yaml
kvda has joined #nixos
<jomik> Mic92: I have to depend on remarshal somewhere then?
<elvishjerricco> jomik: Submodule is primarily intended for stuff like `listOf` and `attrsOf`
<jomik> elvishjerricco: Ty!
<fresheyeball> so I want to do UEFI I think
<jomik> Rewriting this
<fresheyeball> what is GPT?
<Mic92> jomik: yes. this is the disadvantage though.
cbarrett has quit [Ping timeout: 250 seconds]
teozkr has quit [Ping timeout: 250 seconds]
mbrgm has quit [Ping timeout: 250 seconds]
typetetris has quit [Ping timeout: 250 seconds]
gonz_ has quit [Ping timeout: 250 seconds]
aristid has quit [Ping timeout: 250 seconds]
Ralith has quit [Ping timeout: 250 seconds]
witchof0x20 has quit [Ping timeout: 250 seconds]
nkaretnikov has quit [Ping timeout: 250 seconds]
benley has quit [Ping timeout: 250 seconds]
mudri has quit [Ping timeout: 250 seconds]
Synthetica has quit [Ping timeout: 250 seconds]
rnhmjoj has quit [Ping timeout: 250 seconds]
lewo has quit [Ping timeout: 250 seconds]
flokli has quit [Ping timeout: 250 seconds]
lrvick has quit [Ping timeout: 250 seconds]
nek0 has quit [Ping timeout: 250 seconds]
stammon has quit [Ping timeout: 250 seconds]
gonz__ is now known as gonz_
teozkr_ is now known as teozkr
cbarrett_ is now known as cbarrett
Synthetica_ is now known as Synthetica
nkaretnikov_ is now known as nkaretnikov
mbrgm_ is now known as mbrgm
<Mic92> we only have json, xml and toml support
benley has joined #nixos
<elvishjerricco> e.g. to make an option: `programs.alacritty.things.<name>.bar`, you do `options.programs.alacritty.things = mkOption { type = attrsOf (submodule { options.bar = mkOption { ... }; }); };`
<Mic92> jomik: ah I remember you can also use toJson, because json is valid yaml
rnhmjoj has joined #nixos
lrvick1 has joined #nixos
stammon has joined #nixos
<jomik> options.programs.alacritty.window = {dimensions = { columns = mkOption { ... };};}; works then?
pkx3 has joined #nixos
<elvishjerricco> jomik: Yea, if you ditch all the unnecessary submodule stuff, the defaults should do their job without having to make a default for e.g. `window`
<jomik> elvishjerricco: Perfect!
flokli has joined #nixos
<jomik> Mic92: Thanks :
<elvishjerricco> fresheyeball: GPT is a partitioning format
<elvishjerricco> The one that UEFI understands
<elvishjerricco> Basically it's the table on the hard drive that defines where each partition lives and how big it is, plus a bit of metadata
<Mic92> fresheyeball: it is the format of the first few bytes on your harddrive.
Ralith has joined #nixos
<elvishjerricco> The metadata is largely to make suggestions to other programs; has no actual effect on the behavior of the filesystems on the partitions
elgoosy has quit [Ping timeout: 250 seconds]
<Mic92> if you have a disk bigger then 2TB or so, then you definitly want GPT
<elvishjerricco> e.g. the `ef00` partition type in GPT tells UEFI that this partition is the type it should try to boot from first
pkx3 has quit [Read error: Connection reset by peer]
irdr has quit [Remote host closed the connection]
_0bitcount has quit [Quit: Leaving]
<clever> and uefi is not required when using gpt
<clever> if you make a bios boot partition, then you can still do legacy booting on gpt disks
irdr has joined #nixos
<Mic92> clever: you should write our install guide :)
<Mic92> There are too many people failing at this one.
<elvishjerricco> There's too many ways to boot Linux :P
<elvishjerricco> It's hard to write an unopinionated install guide
<clever> Mic92: the tricky part, is that there are so many different choices, you basically need to run the user thru a whole quiz, and then generate a list of steps to make it happen
<clever> you either need to have an install guide that shows the "right" way to do it, or just info-dump how everything works and hope they can fit the puzzle pieces together
<elvishjerricco> clever: Any chance it could be a script with Q&A?
<elvishjerricco> That just does the install itself
<clever> or have a program that can quiz you, and do it right
<jomik> Is there a nice way to automatically coerce stuff to string?
<elvishjerricco> jomik: toString
<clever> elvishjerricco: i have started such things before
<Mic92> clever: should we give and link to archlinux at some decision points?
<clever> Mic92: that might cause more confusion, when users try to run grub-install manually
<elvishjerricco> clever: That is really cool
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<clever> oh, i just had an idea
<clever> the linux kernel config, and `make menuconfig`
pkx3 has joined #nixos
<jomik> 2 more things... My attribute set uses camelcase, for some reason, the yaml uses underscores... Can I convert my camelcase to underscores easily?
<clever> busybox, and others, have "stolen" that ui, for their own config
<jomik> Or should I just make my attribute sets use underscores?
<clever> what if i just make a Kconfig format menu, to let you configure most of the nixos install
<jomik> AND, was there a way to process the option before it is set on the attribute? To make it into a strinig.
<clever> and it will spit out a bash script
<elvishjerricco> jomik: Personally I'd just write the conversions manually
cyounkins has quit [Remote host closed the connection]
<jomik> elvishjerricco: I intend to use that builtins.toJSON function :p
<Mic92> clever: ok. maybe then a irc to freenode's webirc in the installer or a ready configured irc client in the headless installer :)
<Mic92> *a link
<elvishjerricco> i.e. write a function `fromNixDefinitionToExpectedSyntax` (better name please :P), then pass the result to fromJSON
<jomik> Ooh. Loop over all attributes then.
pkx3 has quit [Read error: Connection reset by peer]
<jomik> Was there a way to process the value that is set in the option?
<elvishjerricco> clever: Would that be able to set non-essential options without prompting about every option in the module system?
<jomik> IIRC some apply attribute?
<Mic92> well if the configuration is too complex toJson might be a reasonable choice
<Mic92> because one also has to maintain the option, which can be error-prone too.
<elvishjerricco> jomik: Are you trying to avoid having to manually convert every single field?
<jomik> Yes
<clever> elvishjerricco: thats the difference between menuconfig and i think oldconfig
<jomik> Well, no. Some fields are special :P
<elvishjerricco> If so, the easiest thing is probably doing the same thing as `systemd.services.serviceConfig`
<clever> elvishjerricco: menuconfig just lets you browse things, and choose what you want
<clever> and options can dynamically hide themselves, based on others
<clever> no point in having ESP options when uefi isnt selected
<elvishjerricco> jomik: Sorry, `services.<name>.serviceConfig`. The `systemd.services.<name>` option has some special options under the `<name>` option, and then `serviceConfig` is translated blindly and exactly to the unit file's syntax
<elvishjerricco> Meaning any unit options that need to be ints that you put in `serviceConfig`, you have to toString yourself
<elvishjerricco> clever: Yea, that sounds like a good route then
<jomik> Hmm, trying to find an example of that elvish
<elvishjerricco> clever: I wonder if kconfig stuff can be automatically turned into a graphical application
<jomik> I thought there was some apply command thing.
kipari has joined #nixos
<clever> elvishjerricco: there is already a graphical config option in the kernel
<Mic92> elvishjerricco: there constraints are encoded in a simple text file
<Mic92> openwrt and buildroot use the same.
<elvishjerricco> jomik: I mean you can `lib.mapAttrs` the attribute set. But I'm just saying that you need to decide what things you're going to manipulate in Nix, and what things are going to be converted verbatim into JSON
<jomik> But that doesn't let me change the type I guess?
<elvishjerricco> clever: So this could be the mythical graphical installer for NixOS? Neat
<clever> elvishjerricco: a random Kconfig file: https://github.com/torvalds/linux/blob/master/sound/drivers/Kconfig#L48
<elvishjerricco> We could just auto generate kconfig for all the options in the module system, then provide some special options that automate the essentials like formatting the hard drive
<jomik> elvishjerricco: I think I was looking for the apply attribute that you can give an option? :P
sir_guy_carleton has joined #nixos
<elvishjerricco> jomik: I don't know what you're talking about :P
<elvishjerricco> OH wait! I remember that now
<clever> The xconfig ('qconf'), menuconfig ('mconf'), and nconfig ('nconf')
<clever> programs also have embedded help text. Be sure to check that for
<clever> those 3 options will just run qconf, gconf, or mconf
<elvishjerricco> clever: That's awesome. Sounds like a really low-friction way to do a graphical installer
<clever> yeah, far simpler then the other project i had started and linked above
__monty__ has quit [Quit: leaving]
worldofpeace has joined #nixos
pkx3 has joined #nixos
<clever> i need to head off to bed now, goodnight
vk3wtf has quit [Ping timeout: 252 seconds]
pkx3 has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
scribbler has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
scribbler has quit [Client Quit]
pkx3 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d15b9bd9902 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
dbmikus has quit [Quit: WeeChat 2.3]
pkx3 has quit [Read error: Connection reset by peer]
jackdk has joined #nixos
<Mic92> clever: can you express all datastructures of nix with that?
ajs124 has quit [Quit: Gateway shutdown]
pkx3 has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
ajs124 has joined #nixos
graphene has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
cyounkins has joined #nixos
graphene has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c2f6ab16a98 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<qyliss> Is there a better way than `stdenv.mkDerivation { buildInputs = [ foo bar ]; }` to create a store path that depends on both foo and bar?
<gchristensen> you specifically want a store path? how do you intend on using it?
Thra11 has quit [Ping timeout: 244 seconds]
<qyliss> I’m trying to use writeReferencesToFile
pkx3 has joined #nixos
<qyliss> Really what I want is to be able to give it multiple paths
<gchristensen> well so buildEnv is probably what you want
<gchristensen> but also (lib.addContextFrom pkgs.coreutils "bar") will produce string "bar", which depends upon coreutils (https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix#L376)
nD5Xjz has joined #nixos
<qyliss> Yeah, I was thinking about trying to do that sort of thing
<qyliss> Felt like a hack though
pkx3 has quit [Read error: Connection reset by peer]
<gchristensen> buildEnv is probably what you want
<{^_^}> [nixpkgs] @Mic92 pushed commit from @edolstra to release-18.09 « Revert "resolvconf.conf: Remove forced NSCD service restart" »: https://git.io/fpdWk
<qyliss> yeah
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #50316 → Disable nscd caching → https://git.io/fpY9M
<{^_^}> [nixpkgs] @Mic92 pushed 9 commits to master: https://git.io/fpdWI
kp__ has quit [Quit: WeeChat 2.3]
<qyliss> Thanks gchristensen
<hyper_ch> no idea what thatis
pkx3 has joined #nixos
steshaw has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
oida has quit [Remote host closed the connection]
astronavt_ has joined #nixos
astronavt has quit [Ping timeout: 250 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
astronavt__ has joined #nixos
pkx3 has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
pkx3 has quit [Read error: Connection reset by peer]
astronavt_ has quit [Ping timeout: 268 seconds]
erasmas has quit [Quit: leaving]
leotaku has joined #nixos
bbarker_home has joined #nixos
pkx3 has joined #nixos
<jomik> elvishjerricco: I gave up on the camelcase to snake case thing xD I just renamed the attributes for now...
<jomik> Bed time, thanks for the help :D
<leotaku> Is it possible for anyone here to use the "nix eval"-bot?
<gchristensen> > "yep"
<{^_^}> "yep"
<{^_^}> [nix] @LnL7 opened pull request #2577 → installables: resolve derivation outputs → https://git.io/fpdWO
alex`` has quit [Read error: Connection reset by peer]
pkx3 has quit [Read error: Connection reset by peer]
<leotaku> gchristensen: Neat, can one also pm the bot as to not clutter the channel?
<gchristensen> try it and let me know?
freeman42x[nix] has joined #nixos
<leotaku> gchristensen: Yes, it seems to work just fine.
astronavt_ has joined #nixos
alex`` has joined #nixos
pkx3 has joined #nixos
<leotaku> Are there any extra functions the bot supports? I think I remember someone using sth like "deepEval" to evaluate all the items in a set.
astronavt__ has quit [Ping timeout: 268 seconds]
pkx3 has quit [Read error: Connection reset by peer]
<dsx> What absolute minimum is required to start kubernetes on 18.09? Should «services.kubernetes.roles = [ "master" "node" ];» be enough?
pkx3 has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #51884 → bundlerEnv: improve handling of groups → https://git.io/fp7AJ
<{^_^}> [nixpkgs] @alyssais pushed 4 commits to master: https://git.io/fpdWR
astronavt_ is now known as astronavt
azdle has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
pkx3 has quit [Read error: Connection reset by peer]
ryantrinkle has joined #nixos
<ryantrinkle> has anyone set up kerberized nfs4 on nixos?
<ryantrinkle> i've got kerberos (seeming) happy
<Growpotkin> hey have any of y'all had experience with hnix?
<Growpotkin> I'm trying to write a program to pull the full list of options from my config, and I was thinking hnix might be useful. But there is a ton of code to sift through without much guidance. I thought I'd see if anybody could immediately steer me away if it's a dead end.
<gchristensen> what do you mean, full list of options?
<gchristensen> nixos-option is a program which exists
cyounkins has quit [Ping timeout: 250 seconds]
<Growpotkin> yeah I had been using that to crudely read one layer at a time
<Growpotkin> but I haven't seen a nixos-option command to "list all options"
<LnL> man configuration.nix
<LnL> or do you need live values?
<Growpotkin> unfortunately "man configuration.nix" does not include options from modules I have added
pkx3 has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
<Growpotkin> I have used "nixos-option" to make a (really inneficient) crawler that accomplishes this task. But it is SLOW AS SIN
<Growpotkin> mostly because nixos-option dumps way more data than I need, which needs to be parsed at every step