gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<JonReed> justan0theruser: No, because `builtins.readFile ./mifile` will simply read the file unlike `"${./myfile}"` which will automatically store the at nixstore. But yes, because you'll obviuosly use that password to build something and that something will be stored it /nix/store
<ldlework> different permissions in `' and `/nix/store/zr2r3fgypwway6iiza1j81946vcq2gsd-gh-repos.sh': 0000 <-> 0444 at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 75.
<justan0theruser> JonReed: but regular users have read access to /nix/store?
<ldlework> what does this meeeaann
<justan0theruser> at least by default right
<JonReed> justan0theruser: Yes, so it will be readable
jperras has joined #nixos
<justan0theruser> so what does making a readonly secrets dir accomplish?
<ldlework> argh
sbdchd has joined #nixos
<JonReed> justan0theruser: Not much, beyond not accidentally doing a mistke like commiting it somewhere
hellrazo1 has joined #nixos
slack1256 has joined #nixos
rardiol has quit [Ping timeout: 252 seconds]
<justan0theruser> ok thanks for the info
stepcut has joined #nixos
hellrazor has quit [Ping timeout: 252 seconds]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #46073 → kernel: increase build timeout to two hours → https://git.io/fARtZ
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #46061 → linux_4_18: HID: core: fix grouping by application → https://git.io/fAB51
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @kalbasit to master « linux_4_18: HID: core: fix grouping by application »: https://git.io/fARtn
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #46073 → kernel: increase build timeout to two hours → https://git.io/fARtZ
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @kalbasit to master « kernel: increase build timeout to two hours »: https://git.io/fARt4
wpcarro has quit [Ping timeout: 260 seconds]
taktoa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #46070 → radare2: 2.8.0 -> 2.9.0, radare2-cutter: 1.7 -> 1.7.1 → https://git.io/fARv4
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fARtN
wpcarro has joined #nixos
johnny101 has quit [Quit: Konversation terminated!]
halfbit has quit [Quit: WeeChat 1.9.1]
_ris has quit [Ping timeout: 252 seconds]
alexteves has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr opened pull request #46074 → nixos-artwork: Keeps new wallpaper compatible with old path. → https://git.io/fARql
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fARqB
<{^_^}> [nix] @matthewbauer opened pull request #2400 → Get effective user in Nix commands → https://git.io/fARqH
jperras has quit [Ping timeout: 252 seconds]
camsbury has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #46075 → texinfo: fix for the new perl → https://git.io/fARqj
Maven_ has joined #nixos
<Maven_> s∪n is ᥒοt doiᥒg Aⅼlah ⅰs dοiᥒɡ
<Maven_> Ꭺⅼlɑһ is ԁoinɡ
<Maven_> mⲟon is not doiᥒg Allah is doіnɡ
Maven_ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<camsbury> My goal is to fix parts of my configuration that are currently breaking with nix-rebuild switch, and to learn how these derivations fit together more intuitively. Currently, I am having an issue with nixpkgs.config.chromium.enablePepperFlash = true;, because the link to the flash tar is broken. I got a copy locally of the tar ball and would like to set that path instead. So I want to explore this all in a nix
<camsbury> repl. So I start with nix repl '<nixpkgs>', and I go for it. Unfortunately, I think the nixpkgs variable comes in with the ... variables, so I will have to find what the default inputs are to the configuration.nix file and find how to introspect them in the repl. Then I can find where this attribute is and overwrite it with my local tarball. If you have anything to help, I would appreciate it!
Freechicks has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #46076 → trivial: treewide: random noop cleanups → https://git.io/fARm3
Freechicks has quit [Remote host closed the connection]
Freechicks has joined #nixos
<camsbury> though I wonder if this is actually just a flag informing something inside pkgs.chromium...
Fare has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #46078 → ffmpeg: add support for libssh and speex → https://git.io/fARm2
<justan0theruser> when is 18.09 expected to be stable?
<gchristensen> end of the month
<justan0theruser> ty
Nikita has joined #nixos
Nikita is now known as Guest85225
spear2 has joined #nixos
nckx has quit [Ping timeout: 240 seconds]
nckx has joined #nixos
regulus_ has quit [Ping timeout: 268 seconds]
globin has quit [Ping timeout: 264 seconds]
srk has quit [Ping timeout: 268 seconds]
orivej has quit [Remote host closed the connection]
nikivi has quit [Ping timeout: 252 seconds]
Guest85225 is now known as nikivi
rardiol has joined #nixos
`slikts has joined #nixos
`slikts has quit [Changing host]
`slikts has joined #nixos
regulus_ has joined #nixos
srk has joined #nixos
orivej has joined #nixos
jrolfs has quit [Ping timeout: 252 seconds]
globin has joined #nixos
blankhart has joined #nixos
<ldlework> Can anyone please help me understand the nature of the error here:: https://gist.github.com/dustinlacewell/d6e04e7c5bdce4746cda627217d7eafa
<gchristensen> can you stat gh-repos.sh for me?
sbdchd has quit [Remote host closed the connection]
ski_ has joined #nixos
<ski_> Αllah ⅰs dഠinɡ
<ski_> ѕun іѕ not dⲟinɡ Aⅼⅼah iѕ doinɡ
ski_ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
rsa has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 245 seconds]
Supersonic has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #46079 → stdenv: implement enableParallelChecking option → https://git.io/fARYE
<gchristensen> ldlework: no idea :|
<ldlework> x.x
semilattice has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
rsa has joined #nixos
jrolfs has joined #nixos
tzemanovic has joined #nixos
buckley310 has joined #nixos
kyren has quit [Ping timeout: 260 seconds]
kyren has joined #nixos
<{^_^}> [nixpkgs] @uskudnik opened pull request #46080 → restic: Fix autocomplete for zsh → https://git.io/fAROC
Acou_Bass has quit [Ping timeout: 240 seconds]
silver has quit [Read error: Connection reset by peer]
Acou_Bass has joined #nixos
sigmundv has quit [Ping timeout: 260 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrr has joined #nixos
<rrr> hello
<rrr> Is docker something that could let one use software that currently doesn't really work fine on NixOS without the hassle of making it work? I never really understood what Docker does
<rrr> If not, is there a standard alternative way to do this, other than a virtual machine? Either simple or that has a good simple tutorial...
slack1256 has quit [Remote host closed the connection]
<ldlework> rrr: You can think of containerization like virtual machines, but without the virtualization
<ldlework> a process is started, by the host kernel, but the kernel lies to the process about what what the filesystem looks like, what the network looks like, etc
kyren has joined #nixos
kyren has quit [Client Quit]
<ldlework> rrr: to answer your question, sure, docker is a workable solution to run software outside of nix
<rrr> ldlework: I see
<adamantium> better yet nix>lxd>docker on zvols
<ldlework> adamantium: have you used lxd or docker to any great extent?
jrolfs has quit [Ping timeout: 260 seconds]
<adamantium> No, only zvols and libvirt, to which, I intend to move to lxd and use docker with it, on zvols.
<adamantium> kinda like this https://www.funtoo.org/Funtoo_Containers , but nix.
<rrr> I've been in this situation many times throughout the years, and I've mostly managed one way or the other
camsbury has quit [Quit: WeeChat 2.0]
orivej has quit [Ping timeout: 240 seconds]
<ldlework> rrr: what kinds of software are you running into? I am pretty handy with Docker, but I have, for one reason or another, forced myself to not install Docker on my NixOS machine so I can learn Nix packaging.
<ldlework> It can be really frustrating when I get stuck, but I learn a little more and a little more
<rrr> but now, I really need to get Julia 1.0 working properly on my PC, and I don't have the knowledge (or time to acquire it) to struggle with every error I might get when installing Julia the standard NixOS way (as of 2 days ago it didn't build), or when I add any Julia package that needs some binary
jtojnar has quit [Quit: jtojnar]
<ldlework> fair enough
<ldlework> certainly the Dockerfile format is gonna be a little easier than picking up Nix if you're pressed for time
jtojnar has joined #nixos
<rrr> This time I just don't have the time to learn. I'd hate to drop NixOS after years for such a thing... But if these container-ish softwares can do the trick reliably, then great
<ldlework> run SOME BASH
<ldlework> pretty easy :)
<ldlework> no doubt there are julia images ready to go :)
<rrr> I've been using NixOS for long, but I haven't tinkered with it more than as a "user" for almost as long
<rrr> Great. I'll try to get this docker - Julia thing to work then. Pray for me. Thanks
<ldlework> rrr there is a #docker fwiw
lassulus_ has joined #nixos
<rotaerk> Anyone here have experience doing Haskell development using nixpkgs for all dependencies, and also tried nix+stack?
dbmikus has quit [Ping timeout: 252 seconds]
<rotaerk> Just considering adding stack to my toolset, and using stackage rather than nixpkgs.haskellPackages
<rotaerk> And wondering how they compare
jtojnar has quit [Read error: Connection reset by peer]
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
jtojnar has joined #nixos
drakonis_ has joined #nixos
<rotaerk> Just thinking stackage might be a nicer experience... It's generally a pain building against haskellPackages because they're all the latest and not necessarily building or compatible
<rotaerk> So I end up having to write a bunch of overrides
<ldlework> rotaerk: you can usually do an override to like, pick a different git revision
<ldlework> at least that's how it works for python packages
<ldlework> rotaerk: oh sorry I missed your last message
<rotaerk> Yeah, that's what I do, but it's kind of a pain. Also doesn't always work to just do a source override
<{^_^}> [nixpkgs] @samueldr opened pull request #46081 → solarus[-quest-editor]: 1.4.5 -> 1.5.3 → https://git.io/fAR3B
<rotaerk> Stackage is curated and Haskell-specialized. Its main weakness is it doesn't handle non-Haskell dependencies, but it can integrate with nix for that
<rotaerk> Fundamentally redundant I think, but possibly a smoother experience
<ldlework> it is kind of off-hours but there are a lot of people who seem to use haskell with nix so i bet you can get some advice eventually
<ldlework> you could also ask on reddit
<rotaerk> What's a redit
<rotaerk> JK
<Myrl-saki> rotaerk: I use a modified stackage2nix output for my builds.
jrolfs has joined #nixos
<rotaerk> Hmm, do you have any example projects that do that, that you can share?
<Myrl-saki> Yeah, pulling it right now.
<rotaerk> Cool
<ldlework> \o/
<rotaerk> Thanks
<Myrl-saki> It's a bit unsatisfactcory though. :(
<rotaerk> How so
<Myrl-saki> I wasn't able to document the changes that I made.
<Myrl-saki> I guess you can diff between stackage2nix's outputs though
<Myrl-saki> Or stack2nix?
<rotaerk> Ah, np
<rotaerk> Also, I didn't realize darcs had source hosting like this
<rotaerk> How do you like over github
<Myrl-saki> Also, FWIW, I tried it out on unstable and it didn't seem to work, so it seems like it's not as uncoupled from haskellPackages than I thought.
<Myrl-saki> rotaerk: Darcs vs git, or Darcshub vs Github?
jrolfs has quit [Ping timeout: 272 seconds]
<rotaerk> Both
<Myrl-saki> rotaerk: I like the UI of both sites, but Darcshub lacks region selection.
<rotaerk> Also, I haven't seen this overlay approach to overriding
<rotaerk> Hmm
<Myrl-saki> rotaerk: As for Darcs vs Git, I think patches are pretty cool, but commits are probably way more practical.
<{^_^}> [nixpkgs] @samueldr opened pull request #46082 → qtchan: Fixes build from Qt upgrade. → https://git.io/fAR3o
dbmikus has joined #nixos
<rotaerk> I've been mildly interested in some newer patch-theory-based thing, though haven't dug into it because git has so much traction now
<rotaerk> Pijul
<rotaerk> Anyway, thanks for the example
<emily> pijul is the spiritual successor to darcs, yeah
<Myrl-saki> TIL, Pijul.
<Myrl-saki> Welps, time to open the browser again!
oscarvarto has quit [Quit: Leaving]
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #46083 → qesteidutil: Fixes build from Qt upgrade. → https://git.io/fAR3A
glowpelt has quit [Quit: WeeChat 2.2]
glowpelt has joined #nixos
bennofs has joined #nixos
sbdchd has joined #nixos
bennofs has quit [Ping timeout: 240 seconds]
{^_^} has quit [Ping timeout: 260 seconds]
{^_^} has joined #nixos
vdemeester has quit [Ping timeout: 260 seconds]
benkolera has quit [Ping timeout: 260 seconds]
vdemeester has joined #nixos
benkolera has joined #nixos
glowpelt has quit [Ping timeout: 260 seconds]
Ralith has quit [Ping timeout: 260 seconds]
incospicuous[m] has joined #nixos
rrr has quit [Ping timeout: 260 seconds]
Khetzal has quit [Ping timeout: 260 seconds]
rrr has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #46084 → qmapshack: 1.11.1 -> 1.12.0 → https://git.io/fARs6
Khetzal has joined #nixos
michiel_l has joined #nixos
glowpelt has joined #nixos
the_real_plumps has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 244 seconds]
Ralith has joined #nixos
ahawkins has joined #nixos
johbo has quit [Ping timeout: 252 seconds]
tzemanovic has quit [Remote host closed the connection]
nikivi has quit [Read error: Connection reset by peer]
Nikita has joined #nixos
Nikita is now known as Guest93195
Guest93195 is now known as nikivi
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
johbo has joined #nixos
hellrazo1 has quit [Ping timeout: 246 seconds]
hellrazo1 has joined #nixos
sir_guy_carleton has joined #nixos
Fare has joined #nixos
Intensity has joined #nixos
liori has quit [Ping timeout: 268 seconds]
migy has quit [Ping timeout: 272 seconds]
Cale has joined #nixos
jperras has joined #nixos
hiberno has joined #nixos
migy has joined #nixos
liori has joined #nixos
sbdchd has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #46085 → qtkeychain: Fixes Qt4 build. → https://git.io/fARZs
jmeredith has joined #nixos
johnw has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
drakonis_ has quit [Remote host closed the connection]
JonReed has quit [Ping timeout: 252 seconds]
adamantium has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
tzemanovic has quit [Remote host closed the connection]
<elvishjerricco> Is there a good way to generate something like `man configuration.nix` for custom uses of `evalModules`?
tzemanovic has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
aebkop has joined #nixos
tehidiot has quit [Ping timeout: 272 seconds]
<Ralith> home-manager does such a thing
<elvishjerricco> Ralith: Looks like it rolls its own :/
<elvishjerricco> Would be nice to have a somewhat generic framework
<{^_^}> [nixpkgs] @hedning opened pull request #46086 → gnome3.tracker: 2.1.3 -> 2.1.4 → https://git.io/fARnv
<{^_^}> [nixpkgs] @7c6f434c merged pull request #46049 → libreoffice-{fresh,still}: upgrade and clean → https://git.io/fABgI
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fARnR
magnetop` has joined #nixos
xorkle has quit [Quit: ZNC 1.7.1 - https://znc.in]
xorkle_ has joined #nixos
norfumpit has quit [Ping timeout: 268 seconds]
norfumpit has joined #nixos
wildsebastian has quit [Ping timeout: 240 seconds]
karltk has quit [Ping timeout: 260 seconds]
NickHu_ has quit [Ping timeout: 260 seconds]
karltk has joined #nixos
NickHu_ has joined #nixos
wildsebastian has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
johnny101 has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.0 - https://znc.in]
mbrgm has joined #nixos
canndrew has joined #nixos
<canndrew> hi people. What nixpkgs package will give me libGL.so.1 ?
dbmikus_ has quit [Ping timeout: 252 seconds]
reinzelmann has joined #nixos
<canndrew> ah, libGL is the answer
blankhart has quit [Quit: WeeChat 1.9.1]
Ariakenom has joined #nixos
yastero has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
<infinisil> I thought I found a new segfault in nix: nix-instantiate --eval -E '{ x }@a: builtins.unsafeGetAttrPos "x" a' --arg x 1
<infinisil> But turns out this was fixed in 2.1 with nix#2010
<{^_^}> https://github.com/NixOS/nix/pull/2010 (by dezgeg, 23 weeks ago, merged): libexpr: Make unsafeGetAttrPos not crash on noPos
Ariakenom has quit [Quit: Leaving]
joehh has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46008 → prettyping: init 1.0.1 → https://git.io/fA4YK
<{^_^}> [nixpkgs] @xeji pushed commit from @qoelet to master « prettyping: init 1.0.1 (#46008) »: https://git.io/fARWL
<joehh> I'm trying to import a hg repo as an overlay, but keep getting "infinite recursion encountered at undefined position"
<joehh> it seems be ok when I import <nixpkgs> in an outer let statement then use fetchhg from <nixpkgs> to reference the repo, then import the repo within the nixpkgs.overlays list
<joehh> BUT when I try to use fetchhg from super to import the repo, I get the inifinite recursion
<joehh> Is this expected?
<clever> joehh: your inner nixpkgs fetch is trying to load the overlay
<clever> joehh: at least use import <nixpkgs> { config = {}; overlays = []; } for the inner ones
<clever> so they dont try to load the same overlay again
<joehh> I'll give that a go
colemickens has joined #nixos
<colemickens> I need to use Azure storage as a nixos cache. Would it be easiest to just create a local store with `nix copy` and then sign it, and then "upload any file that doesn't already exist in Azure" as a way to build the cache?
<clever> colemickens: one option is to add an azure backend, nix copy already supports s3://
<colemickens> I had thought about it. I also thought about running Minio (s3 compatible storage layer) with it in "Azure gateway" mode.
<clever> ah, then you could maybe try the s3 api
<colemickens> But I think the cache is just a matter of mirroring the store, in which case I can pay a cost for diff-every-time overhead and use existing tools to do the "rsync" from the local store I create and my remote storage.
<colemickens> yeah. we'll see, I'm just going to have to try and see which amount of effort I need to expend :)
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vbgl opened pull request #46088 → gnumeric: 1.12.39 -> 1.12.43; goffice: 0.10.39 -> 0.10.43 → https://git.io/fARWy
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
<elvishjerricco> Hm. `nixos-rebuild build-vm` doesn't seem to let me use `QEMU_NET_OPTS="hostfwd=tcp::8888-:8888" result/bin/run-nixos-vm` anymore...
takeda has quit [Ping timeout: 252 seconds]
<clever> elvishjerricco: was networkingOptions in the configuration.nix file?
<elvishjerricco> clever: Oh, no. What's that?
<clever> oops, without the '
<clever> it lets you overwrite the -net flags, and it can accidentally remove support for QEMU_NET_OPTS
<joehh> clever: thank you very much - solved the issue once again! thanks
<elvishjerricco> clever: That's definitely not set in my config
<clever> elvishjerricco: if you read the generated at result/bin/run-nixos-vm, what does ti do with the var?
Freechicks has quit [Remote host closed the connection]
mkoenig has quit [Client Quit]
<elvishjerricco> clever: Looking at the generated code, it looks like it does exactly this: "-netdev user,id=user.0\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
<elvishjerricco> Er
<elvishjerricco> But yea, that :P
<clever> elvishjerricco: i think https://github.com/NixOS/nixpkgs/pull/37216 is your issue
<{^_^}> #37216 (by teto, 24 weeks ago, merged): qemu-vm: passing QEMU_NET_OPTS would fail
<clever> elvishjerricco: the , is missing from your var
<elvishjerricco> clever: I'm doing this with nixos-unstable though...
<clever> oh wait, i just looked closer at the bash
<clever> it will add the , in if the var is set
mkoenig has joined #nixos
hyper_ch2 has joined #nixos
<clever> elvishjerricco: try copying result/bin/run-nixos-vm, then add a `set -x` to the start
<elvishjerricco> I see ` -netdev user,id=user.0,hostfwd=tcp::8888-:8888`
<{^_^}> [nixpkgs] @xeji merged pull request #46082 → qtchan: Fixes build from Qt upgrade. → https://git.io/fAR3o
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to master « qtchan: Fixes build from Qt upgrade. (#46082) »: https://git.io/fARlE
<elvishjerricco> clever: Derp. Forgot the firewall -_-
<{^_^}> [nixpkgs] @vbgl opened pull request #46089 → ocamlPackages.{tyxml,lwt}: always enable camlp4 support → https://git.io/fARlu
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to release-18.09 « qtchan: Fixes build from Qt upgrade. (#46082) »: https://git.io/fARl2
mkoenig has quit [Remote host closed the connection]
weq11 has joined #nixos
<weq11> Aⅼlaһ is dഠing
weq11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
mkoenig has joined #nixos
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 272 seconds]
tzemanovic has quit []
mkoenig has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46084 → qmapshack: 1.11.1 -> 1.12.0 → https://git.io/fARs6
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to master « qmapshack: 1.11.1 -> 1.12.0 (#46084) »: https://git.io/fAR8Y
Fare has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to release-18.09 « qmapshack: 1.11.1 -> 1.12.0 (#46084) »: https://git.io/fAR8Z
Ariakenom_ has joined #nixos
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
ThatDocsLady has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46081 → solarus[-quest-editor]: 1.4.5 -> 1.5.3 → https://git.io/fAR3B
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAR4t
rauno has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<rauno> srhb, you were great help yesterday but i have some new question, when my new package needs to put something to other package's datadir and gets permissions denyied, how such situations should be handled ?
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.09: https://git.io/fAR4O
<{^_^}> [nixpkgs] @danieldk opened pull request #46090 → spacy: Fix build → https://git.io/fAR4l
johanot has joined #nixos
mkoenig has joined #nixos
jrolfs has joined #nixos
mkoenig has quit [Client Quit]
mkoenig has joined #nixos
jrolfs has quit [Ping timeout: 252 seconds]
mkoenig has quit [Remote host closed the connection]
Freechicks has joined #nixos
mkoenig has joined #nixos
Phillemann has joined #nixos
<Phillemann> Hi! For a custom package of mine, I want to execute the default checkPhase and then extend it to include two more commands.
<Phillemann> How do I "include" the default checkPhase?
johanot has quit [Quit: leaving]
<Myrl-saki> Phillemann: checkPhase should work.
<Myrl-saki> Because checkPhase is a function.
<Phillemann> Myrl-saki: Oh! So just checkPhase = ''checkPhase; foo; bar;'' then
<Myrl-saki> I believe so.
<Phillemann> I'll try.
<Myrl-saki> But you might wanna try preCheck and postCheck instead.
takeda has joined #nixos
<Phillemann> Why?
<Phillemann> Hm, checkPhase doesn't seem to work.
<Phillemann> It's a Python package I might have to add.
<Myrl-saki> Ah.
<Myrl-saki> Python doesn't have a checkPhase, but it has an installCheckPhase.
<Phillemann> Oh, so defining checkPhase might be enough?
<Phillemann> And the "other" checkPhase is still there
<Myrl-saki> Kinda, yeah.
<Phillemann> Hm, that doesn't work either.
<Myrl-saki> You'd also have to do `doCheck = false;`
<Myrl-saki> Err
<Myrl-saki> true*
ersran9 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46085 → qtkeychain: Fixes Qt4 build. → https://git.io/fARZs
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to master « qtkeychain: Fixes Qt4 build. (#46085) »: https://git.io/fARBd
<Phillemann> Doesn't work. When I define checkPhase, no tests are executed anymore (the default checkPhase behavior).
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to release-18.09 « qtkeychain: Fixes Qt4 build. (#46085) »: https://git.io/fARBx
<Myrl-saki> I'm too sleepy right now to help, hopefully I'll be back in 10-30 mins (otherwise I'll miss my class.)
thc202 has joined #nixos
mkoenig has quit [Remote host closed the connection]
orivej has joined #nixos
mkoenig has joined #nixos
mkoenig has quit [Client Quit]
mkoenig has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
seku_ has joined #nixos
mkoenig has quit [Remote host closed the connection]
joehh has quit [Ping timeout: 240 seconds]
goibhniu has joined #nixos
theunknownxy has joined #nixos
hamishmack has joined #nixos
mkoenig has joined #nixos
mkoenig has quit [Client Quit]
mkoenig has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
Phillemann has quit [Quit: WeeChat 2.2]
PLPD-Bot has quit [Remote host closed the connection]
<marcinkuzminski> is there a way to ignore tests fail during nix-env -i ?
knupfer has joined #nixos
Boomerang has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
johanot has joined #nixos
<{^_^}> [nixpkgs] @hedning closed pull request #44720 → nixos/shells: Avoid overriding the environment for other child shells → https://git.io/fNSnN
Piece_Maker has joined #nixos
laduke-13 has joined #nixos
seku_ has quit [Ping timeout: 252 seconds]
lstanley has quit [Ping timeout: 268 seconds]
Acou_Bass has quit [Ping timeout: 245 seconds]
Piece_Maker is now known as Acou_Bass
lstanley has joined #nixos
hamishmack has joined #nixos
PLPD-Bot has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2018/08 »: https://git.io/fARzm
civodul has joined #nixos
<{^_^}> [nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Preview of '85ae3fff846cf3f4cbc0e2f214111aa56ad31357' commit built by Travis-CI \#424683385 »: https://git.io/fARzb
smolboye has quit [Ping timeout: 272 seconds]
smolboye has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
<srhb> marcinkuzminski: No, you have to override the attribute to disable tests.
<{^_^}> [nixos-weekly] @domenkozar merged pull request #63 → Call for Content: 2018/08 → https://git.io/fATMH
<{^_^}> [nixos-weekly] @domenkozar pushed 4 commits to production: https://git.io/fARgs
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2018/09 »: https://git.io/fARgn
<{^_^}> [nixos-weekly] @domenkozar opened pull request #64 → Call for Content: 2018/09 → https://git.io/fARgW
<{^_^}> [nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Release of (commit 'bfe41eaad589c065d540e03613ad9de05804ddc3') built by Travis-CI \#424685671 »: https://git.io/fARg4
hedning[m] has joined #nixos
domenkozar has joined #nixos
<etu> domenkozar++
<{^_^}> domenkozar's karma got increased to 3
<{^_^}> [nixpkgs] @xeji merged pull request #46088 → gnumeric: 1.12.39 -> 1.12.43; goffice: 0.10.39 -> 0.10.43 → https://git.io/fARWy
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « gnumeric: 1.12.39 -> 1.12.43 (#46088) »: https://git.io/fAR2m
tzemanovic has joined #nixos
<marcinkuzminski> srhb: thanks, that's what i thought. Ugh, it will be tricky then
<srhb> marcinkuzminski: Oh? What's the attribute?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seku_ has joined #nixos
hyper_ch2 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46086 → gnome3.tracker: 2.1.3 -> 2.1.4 → https://git.io/fARnv
<{^_^}> [nixpkgs] @xeji pushed commit from @hedning to master « gnome3.tracker: 2.1.3 -> 2.1.4 (#46086) »: https://git.io/fAR25
hamishmack has joined #nixos
<marcinkuzminski> srhb: the thing is we're using a custom store path, and there's a lot of packages. I was looking for something easier/global
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
jasongro` has joined #nixos
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
jperras has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Sander__ has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
hamishmack has joined #nixos
jasongrossman has joined #nixos
knupfer has joined #nixos
ilikeheaps has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has joined #nixos
<srhb> marcinkuzminski: Ah, no overlay possible?
nly has joined #nixos
__monty__ has joined #nixos
hamishmack has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46040 → nullidentdmod: Init at 1.3 → https://git.io/fABm8
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « nullidentdmod: Init at 1.3 (#46040) »: https://git.io/fARrD
ahawkins has quit [Quit: Connection closed for inactivity]
<marcinkuzminski> srhb: Currently we use `TMPDIR=$PWD/tmp NIX_STORE_DIR=/opt/my_store/store NIX_STATE_DIR=/opt/my_store/var/nix NIX_DB_DIR=/opt/my_store/var/nix/db nix-env -i nix` and i wonder if i could use --from-expression to override the test flag at this point since nix installation fails on that custom path
baimafeima has joined #nixos
<srhb> marcinkuzminski: I don't see how this prevents you from disabling the test in an overlay in any way
<marcinkuzminski> srhb: how could i do that ? (i never used overlays)
<srhb> One sec :)
sigmundv has joined #nixos
winem_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #46047: ghostscript: 9.22 -> 9.24 (security) »: https://git.io/fARrj
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « Merge #46047: ghostscript: 9.22 -> 9.24 (security) »: https://git.io/fARoJ
fendor has quit [Remote host closed the connection]
<srhb> marcinkuzminski: https://gist.github.com/srhb/1314c4aaeccbcd6c31e010589dd0ee86 I think this should work?
<srhb> marcinkuzminski: As in nix-env -f marcinkuzminski.nix -iA nix
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has quit [Remote host closed the connection]
jasongro` has joined #nixos
justan0theruser has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
<marcinkuzminski> srhb: ohh!!! this is great. That actually solved my problem. thanks so much ) This is so much better than manually overriding package definitions, i had to edit this and specify `doInstallCheck = false` instead of doCheck
<srhb> marcinkuzminski: Oh right, sorry :)
<marcinkuzminski> srhb: but thanks a lot again :)
<srhb> You're welcome!
<srhb> By the way, it may be worth looking into the proot stores to avoid this sort of issue, if you can..
<srhb> Of course that requires running things under "nix run"
<marcinkuzminski> srhb: we cannot it's part of our nix based installer build. And we have to have the custom store
<srhb> OK. :)
<srhb> Just checking.
<marcinkuzminski> we just switched from nix 1.11 and nixpkgs 16.03. So lots of stuff to rebuild
<srhb> Ouch, that's one hell of an upgrade.
<srhb> I assume you already bumped into the "old Nix 1.11 can't evaluate nixpkgs-18.03" issue? :P
<marcinkuzminski> oh yeah, we rewrote our apps nix files, and actually wiped the store and everything. It grew to 180GB in size, so it was easier to just wipe it and start from scratch
<srhb> Fun!
<marcinkuzminski> srhb: one question, is it possible to apply overlay to nix-build as well ?
<srhb> marcinkuzminski: Yep, nix-build marcinkuzminski -A nix
<srhb> Or you can install the overlays globally, that's how it's usually done. Check the nixpkgs manual in the overlays section.
<srhb> But I like to make these small snippets because I feel they really demonstrate the power of overlays well. :)
justan0theruser has joined #nixos
<marcinkuzminski> yeah i like that approach better, and it fits into our build system better as well
<srhb> By default when importing nixpkgs, it will look up <nixpkgs-overlays> to find any overlays. If that path is a directory, it will apply every overlay in that directory lexicographically.
<srhb> But there's many ways to do it...
<{^_^}> [nixpkgs] @Mic92 merged pull request #46090 → spacy: Fix build → https://git.io/fAR4l
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fARis
<srhb> So you can have eg. /etc/nixos/overlays/packageFoo.nix containing self: super: { foo = ...; }
<srhb> It's quite composable.
seku_ has quit [Ping timeout: 240 seconds]
<nly> I am trying to make emacs with x support
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fARi8
<marcinkuzminski> srhb: we have a build nix file, i added an overlay import there, it would allow us to keep this in Mercurial
<nly> Configure: error: You seem to be running X, but no development libraries were found.
<srhb> marcinkuzminski: Right. :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #46089 → ocamlPackages.{tyxml,lwt}: always enable camlp4 support → https://git.io/fARlu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fARi4
<srhb> nly: More information needed. Our normal emacs build has X support baked in.
<nly> I've tried installing xorg.libX11
<srhb> (Unless you're on darwin)
<srhb> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> nly: What's your goal? And what's the expression you're trying to build?
<nly> No I already have a working emacs :), I am following a tutorial
Akii has joined #nixos
<srhb> I'm afraid that's not enough information to even start guessing what you're doing or what went wrong. :)
<nly> Make wouldn't be able to find libraries even if I install them you mean?
<srhb> Correct.
philippD has joined #nixos
<nly> Taking a look at nix-shell
<{^_^}> [nixpkgs] @Mic92 merged pull request #46080 → restic: Fix autocomplete for zsh → https://git.io/fAROC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fARiN
<{^_^}> [nixpkgs] @Mic92 pushed commit from @uskudnik to release-18.09 « restic: Fix autocomplete for zsh »: https://git.io/fARij
nbardiuk has joined #nixos
<infinisil> I have some pretty neat changes to nixpkgs:
<infinisil> > haskellPackages.xmonad.__path
<{^_^}> [ "haskellPackages" "xmonad" ]
<infinisil> > pkgs.pkgs.pkgs.pkgs.haskellPackages.xmonad.__path
<srhb> infinisil: !
<{^_^}> [ "pkgs" "pkgs" "pkgs" "haskellPackages" "xmonad" ]
<infinisil> (pkgs is defined as a let)
<infinisil> :D
<nly> Nix-shell -p <pkgs> does the job :)
<nly> ty srhb
<srhb> nly: Welcome.
<jasongro`> srhb++
<{^_^}> srhb's karma got increased to 13
<nly> It shows other missing deps, but at least moved past x
<srhb> infinisil: I like that, though I slightly dislike the term path, because it's so overloaded already.
<clever> infinisil: how is __path done?
<infinisil> clever: Magic :3
<infinisil> Implemented it as part of my upcoming deprecation RFC
<infinisil> Will be using (almost) this to enable users to enable/disable deprecation warnings
<infinisil> clever: ^
<clever> infinisil: ah, so you just map over every attr, and // a __path to every key
<clever> infinisil: have you seen the functor thing?
<infinisil> Yup, pretty much, but within the fixed point, otherwise stuff wouldn't be accessible from within nixpkgs
<infinisil> clever: I have seen some functor thing, but I'm not sure if it's what I need
<clever> this would let you turn a function into a "set" that still behaves like a function
<clever> so you could do `let foo = x: x*5; in x.__path;`
<infinisil> Holy what the hell
<infinisil> Alright I'll definitely use this lol
<clever> it can also be done on strings, let me see
<clever> > "${ { outPath = "foo" } }"
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):179:23
<infinisil> I saw the __functor thing and thought it was just some random function nobody could use because it's still a set in the end
<clever> > "${ { outPath = "foo"; } }"
<{^_^}> "foo"
<clever> this is a set, but nix treats it as a string!
<infinisil> Ah, heh
<clever> so even your strings can have paths :P
<infinisil> That's also why "${fetchGit { ... }}" works I think
simukis has joined #nixos
<infinisil> Because it returns an attrset with an outPath key
<clever> and every single derivation
Izorkin has joined #nixos
<infinisil> Yea
<infinisil> Neto
<clever> > hello.outPath
<{^_^}> assertion failed at /var/lib/nixbot/state/nixpkgs/pkgs/development/compilers/gcc/7/default.nix:237:12
<clever> uhhh?
<infinisil> Oh damn, maybe i broke something with my change lol
<clever> > "${hello}"
<{^_^}> assertion failed at /var/lib/nixbot/state/nixpkgs/pkgs/development/compilers/gcc/7/default.nix:237:12
<clever> yeah
<infinisil> Indeed, removing it again fixes it..
rrr has quit [Quit: WeeChat 2.1]
<clever> infinisil: no assertion there
<clever> 206 is the nearest
<infinisil> > rev
<{^_^}> "7db611f2af869bac6e31ba814a5593c52d54ec19"
<clever> 206 has moved to 237
<infinisil> Weird.., why does that patch cause that
<clever> are you mutating both targetPlatform and hostPlatform the same way?
<clever> oh, and they wont have the same __path anyways!
<clever> and now the 2 different ways to access the same set, are not equal to eachother
talyz has joined #nixos
<infinisil> Oh... darn
<clever> essentially, `let foo = { ... }; a = foo; b = foo;` results in `a != b`
<infinisil> They aren't the same anymore
<infinisil> comparison is based on the actual values of the attribute sets, but they really have different __path's now, so that's a problem..
<infinisil> I guess I could just blacklist *Platform
<{^_^}> [nixpkgs] @Mic92 merged pull request #45743 → vala: 0.34.17 -> 0.34.18, 0.36.13 -> 0.36.15, 0.38.9 -> 0.38.10, 0.40.6 -> 0.40.9 → https://git.io/fAGap
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to staging: https://git.io/fARX8
<clever> infinisil: also, i can see this potentially harming memory usage
<infinisil> clever: Error apparently doesn't happen on master, phew
<clever> infinisil: previously, a&b from my example above, are just the same Value, *checks*
<infinisil> clever: Yeah, definitely, but it can be really useful for many things
<clever> lets head over to #nixos-chat
jasongro` has quit [Remote host closed the connection]
jasongrossman has joined #nixos
cryptix has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
<tilpner> Any idea on how I might turn an overlay into a package set that contains just the additions?
<tilpner> Manually applying an overlay like with lib; fix (extends (import /home/till/dev/nixpkgs-mozilla) (self: pkgs)) does work, but the set also contains all of nixpkgs naturally
<tobiasBora> Hello,
<tobiasBora> I tried again to install nixos from a LiveCD of Ubuntu, and I still run into troubles with the following error:
<tobiasBora> Failed to move "/boot/loader/loader.conf" into place: Operation not permitted
<srhb> tilpner: A hacky way... let pkgs = import <nixpkgs> {}; in overlay pkgs pkgs
<srhb> I don't think the normal overlays mechanism can ever remove unnamed attributes.
<tobiasBora> I put here the whole error: https://pastebin.com/fGE5DBHY
<tobiasBora> makefu: By the way, I forgot to thank you for the link to the wiki for Android dev
<tilpner> srhb - But that still contains the reset of nixpkgs :/
<tilpner> tobiasBora - Why are you instaling from an Ubuntu live system, instead of from a NixOS live system?
<srhb> tilpner: Huh? Where?
<srhb> tilpner: I don't see how it could...
<tilpner> Huh
sbdchd has joined #nixos
<tobiasBora> tilpner: first because the doc says it's possible, and also because I already had a usb key prepared with ubuntu on it, so it was easier for me
<tilpner> You're right, I just tried in #bottest, and it didn't
<tilpner> (But I also tried in nix repl locally, and it did, so I must have done something wrong)
jrolfs has joined #nixos
<srhb> tilpner: But I consider it really hacky and really only a way to reuse the overlays expression "at all costs" :P
<srhb> And self and super won't behave as you expect...
<srhb> Better to just make a unique attrset imo :)
mayhewluke has quit [Ping timeout: 246 seconds]
<tilpner> This is so weird
<tilpner> nix-repl> (let pkgs = import /home/till/dev/nixpkgs {}; in (import /home/till/dev/nixpkgs-mozilla) pkgs pkgs).hello
<tilpner> «derivation /nix/store/v2l3ncp0ypdssjf7b8rxyppn3kyq3w87-hello-2.10.drv»
<tilpner> nix-repl> (let pkgs = import /home/till/dev/nixpkgs {}; in (self: super: { foo = 42; }) pkgs pkgs).hello
<tilpner> error: attribute 'hello' missing, at (string):1:1
mayhewluke has joined #nixos
sbdchd has quit [Ping timeout: 252 seconds]
<srhb> tilpner: The mozilla overlay must include every package from pkgs.
jrolfs has quit [Ping timeout: 246 seconds]
<tilpner> They combine their multiple overlays in default.nix
<tilpner> It does work when using a single overlay
<tobiasBora> tilpner: any idea what grub entry I should use to boot on the iso? Here is for example the one I use for Xubuntu: https://pastebin.com/v79wq6w5
v0latil3_ has joined #nixos
<srhb> tilpner: It's not that weird. your overlay contains only the foo attribute. The nixpkgs overlay contains every pkgs attribute.
<tilpner> srhb - By "the nixpkgs overlay", you mean their usage of lib.extends?
<srhb> tilpner: self is the z in the normal haskell terminology, right?
<srhb> Oh, wait, no it isn't.
<tilpner> tobiasBora - No, I've successfully avoided fighting grub. But if you're having trouble installing NixOS from Ubuntu, maybe try from NixOS
<srhb> Well, emptying the list such that `flip extends` is never applied doesn't change this.
<tilpner> srhb - I'm not familiar with the Haskell terminology
<srhb> tilpner: Ah, sorry.
<tilpner> No reason to be
<srhb> > lib.foldl' (_: {}) (_: { foo = 42; }) [] {}
<{^_^}> { foo = 42; }
<srhb> Notice that (_: { foo = 42; }) is their (_: super) -- that is, the "zero value" in the fold
<srhb> Even though the list is empty (and thus flip extends is never applied) that is the "default value"
periklis has quit [Ping timeout: 240 seconds]
<srhb> So if you replace the super argument with {}, you indeed do get an empty overlay
<srhb> Of course, that would break all overlays that actually use super.
pemeunier has joined #nixos
<srhb> tilpner: Does that make sense?
tzemanovic has quit [Remote host closed the connection]
<srhb> Compare:
<cryptix> hello... i'm having trouble using git and ssh between two of my nix machines. ssh alone works fine to give me my zsh shell but when i use `git fetch` i get `zsh:1: command not found: git-upload-pack` although I have git in my user env. i now also tried adding it to environment.systemPackages but that didn't help either.
<srhb> > lib.foldl' (flip extends) (_: {}) [] {}
<{^_^}> undefined variable 'flip' at (string):179:13
<srhb> > lib.foldl' (lib.flip lib.extends) (_: {}) [] {}
<{^_^}> { }
<tilpner> Somewhat. I started with (self: {}), but then it needed a bunch of things from nixpkgs, so I went to providing pkgs
tzemanovic has joined #nixos
<tilpner> They take items from super, and I can't change that
<srhb> Correct.
<srhb> Unless you provide an empty super, which would break all overlays that actually use super, as said.
nbardiuk has quit [Quit: Lost terminal]
fendor has joined #nixos
<tilpner> Do you think callOverlay = fix (self: p: (import p) self pkgs); is more correct than callPackage = p: (import p) pkgs pkgs;? I suspect the first variant would just break when ov
<tilpner> ...overlays reference things from self
nly has left #nixos [#nixos]
<srhb> My mind breaks when I see `fix`
<tilpner> * callOverlay = p: fix (self: (import p) self pkgs);
<srhb> Would something like this be possible instead
<srhb> Have an overlay that defines { subtree = { foo = ...; bar = ...; ... } }
<srhb> Then, import nixpkgs passing that overlay normally to the nixpkgs function
Ridout has joined #nixos
<srhb> Then, simply expose pkgs.subtree ?
<tilpner> I don't define the overlays, I'm trying to finally reply to https://github.com/nix-community/NUR/issues/32
<{^_^}> NUR#32 (by zimbatm, 7 weeks ago, open): add nixpkgs-mozilla to NUR?
<srhb> Ah...
<srhb> tilpner: How about importing both and removing the intersection of the attrsets?
<srhb> Eck, that won't work if they actually redefine anything
<tilpner> removeAttrs (attrNames pkgs) result?
* srhb thinks
ilikeheaps has quit [Ping timeout: 246 seconds]
<tilpner> Yeah, that seems brittle too
<tilpner> Might work out for these, but not in the general case
Phillemann has joined #nixos
<srhb> tilpner: Would duplicating the default.nix with something that doesn't accumulate on top of super work?
<Phillemann> I have a project that uses pkg-config to find libX11. I included libX11 in buildInputs, but it still tells me "No package 'x11' found"
<tilpner> srhb - I have tried https://tx0.co/21
<tilpner> Phillemann - Do you have pkgconfig in nativeBuildInputs?
<Phillemann> tilpner: No. That solved it, thanks!
v0latil3_27 has joined #nixos
v0latil3_27 has left #nixos [#nixos]
<srhb> tilpner: I meant default.nix but s/(_: super)/(_: {})/
<srhb> But no, same issue.
<clever> srhb: have you seen newScope and makeExtensible?
<srhb> clever: I never actually learned them, no. Now is as good a time as any, thanks. :)
<clever> line 3 defines a `packages = self: { ... }` function, and it must refer to its own members via self
<clever> line 48 then makes a new scope around that
<clever> 48 auto-creates a self.callPackage, that will search self first, then pkgs
<clever> and line 50 uses overrideScope to inject overlays
<srhb> clever: Thanks!
<clever> only the things within the original packages function (and the overlays added) are in the final result, but no nixpkgs
<clever> and callPackage still falls back to nixpkgs
<srhb> clever: Excellent. Thank you. I'll play around with this.
Aexoden has joined #nixos
jasongrossman has left #nixos ["ERC (IRC client for Emacs 26.1)"]
rardiol has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jtojnar pushed 102 commits to gnome-3.30: https://git.io/fARD0
jperras has joined #nixos
adam-6520493 has joined #nixos
<tilpner> I don't think that can help
<srhb> No, in this case there's no way to get rid of super and still have it available, I suspect.
<tilpner> You are "cheating" by using "with pkgs.lib;"
<clever> tilpner: that only gets lib functions, but not pkgs
<tilpner> clever - The overlay I'm trying to use (nixpkgs-mozilla) does with pkgs.lib;
<clever> tilpner: i think line 14 is cheating more, it just outright does pkgs.writeScriptBin
<tilpner> clever - But I want the resulting package set to not have lib, so I can't put lib into super
<clever> rather then using self.callPackage ({ writeScriptBin }: ... ) {};
<tilpner> Yeah, that and buildEnv too
jperras has quit [Ping timeout: 272 seconds]
<tilpner> https://tx0.co/22 seems to work okay
<{^_^}> [nixpkgs] @danieldk opened pull request #46092 → thinc: fix darwin build → https://git.io/fARy3
v0latil3_ has quit [Remote host closed the connection]
v0latil3_ has joined #nixos
<makefu> tobiasBora: glad the wiki link helped. if you have some additional insight be sure to add it. the wiki is free to edit for everyone :)
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
<trevthedev> hi
<tilpner> Oh hey trevthedev, your input problem can be solved by updating the steam runtime
<trevthedev> oh?
<trevthedev> please elab i came due to the issue again XD
<thblt> A recent NixOS update broke my XMonad: tiled windows just disappear, only floating windows remaining on screen. Did someone else experience something similar?
<thblt> s/remaining/remain
<trevthedev> steam runtime being the package itself, or?
<trevthedev> sorry its 7AM and I've been trying to get this to work all night again XD
<tilpner> trevthedev - ashkitten made these [ https://ptpb.pw/V_fp ] changes to their nixpkgs
Phillemann has left #nixos ["WeeChat 2.2"]
<srhb> thblt: Nope, that sounds very weird. What rev?
<tilpner> trevthedev - I've found the nvidia changes to not be necessary, and the runtime update can be accomplished with pkgs/games/steam/update-runtime.py
<thblt> srhb: unstable, 18.09pre150708.083220867c7 (Jellyfish)
<thblt>
<thblt> srhb: xmonad reports version 0.14.2
<thblt>
<Myrl-saki> xmonad --recompile ?
<srhb> Yeah, I find this more likely to be some weirdness with xmonad than with NixOS itself..
<srhb> But I'll try a similar version.
<thblt> Myrl-saki: done multiple times, doesn't help. I've also ruled out state persistence issues, maybe it's something related to BinarySpacePartition (it's the only layout I use), I'll try later to change the layout.
<thblt> srhb: I agree I suspect Xmonad more than NixOS.
trevthedev has quit [Ping timeout: 252 seconds]
trevthedev has joined #nixos
<trevthedev> huh
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « fixup! gdk_pixbuf: 2.36.12 → 2.38.0 »: https://git.io/fAR9c
<trevthedev> apparently the internet died xd
rfold has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2400 → Get effective user in Nix commands → https://git.io/fARqH
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAR94
<thblt> OK...
* thblt should learn to check open issues before bothering people on IRC
<{^_^}> xmonad/xmonad-contrib#278 (by cumber, 2 days ago, open): All windows invisible when using fullscreenSupport
<srhb> ah. :)
iyzsong has joined #nixos
<rfold> The go package has dependencies on bazaar, git, and mercurial; for the go get command which I don't use. I suppose the way to remove these dependencies would be to override the go package and pass it empty derivations for these three packages.
Ariakenom_ has quit [Remote host closed the connection]
Ariakenom_ has joined #nixos
<Taneb> rfold: I've seen something doing something similar
<thblt> That was it. Issue solved, sorry for rubberducking (again...)
<trevthedev> uh, so.... pip does not want to update for the life of it as /nix is read only...
<thblt> Back on XMonad. You cannot understand the strength of muscle habits until your heavily configured WM breaks :-)
sbdchd has joined #nixos
<srk> this :D
<trevthedev> just installed from unstable
<srk> thblt: I've completely lost the concept of 'windows' and arranging them
<kandinski> I'm trying to make a new package starting from an old one. Why would this start compiling stuff when I'm on a fresh branch off release-18.03? $ nix-shell -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<thblt> srk: you mean floating windows?
<kandinski> Wouldn't everything on release-18.03 be available on the caches?
<srk> thblt: yeah, so much time wasted
<thblt> srk: well, I was using sway when XMonad was broken, it's still tiling, but the stock config is really not what I'm used to :)
<trevthedev> okay well even after installing pip off of unstable it's positive that im using pip 9.0.1 despite the fact that 18.0 is downloaded
<{^_^}> [nixpkgs] @dywedir opened pull request #46093 → wireguard: 0.0.20180809 -> 0.0.20180904 → https://git.io/fARQs
sbdchd has quit [Ping timeout: 240 seconds]
<tobiasBora> tilpner: Yes, that's what I'm going to do (use NixOs), but I've a single usb key with me that I don't want to format, and I'd like to add the iso in the list of iso's.
<tobiasBora> but not sure what menuentry I should use
<tobiasBora> I'll try the ubuntu's one
<thblt> trevthedev: how exactly did you install pip 18?
<trevthedev> nix-env -i nixos-unstable.pythonPackages.pip
<clever> tobiasBora: one option i sometimes do, just format a partition on the USB, and do normal nixos-install against it, and treat it like a normal dual-boot setup
<thblt> trevthedev: actually just try which -a pip
<trevthedev> which -a pip?
<trevthedev> just says the dir to pip
<thblt> trevthedev: there's a single path? which -a reports all possible paths.
<trevthedev> /home/trev/.local/nix-profile/bin/pi
<trevthedev> /home/trev/.local/nix-profile/bin/pip*
<trevthedev> that's all there is is just that one dir
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 76 commits to gnome-3.30: https://git.io/fAR7I
<trevthedev> heyyy
<trevthedev> got 18.0 installed
<trevthedev> now it says cStringIO doesn't exist
<thblt> trevthedev: fwiw I've run nix-env -iA nixos.pythonPackages.pip and pip reports itself as 18.0
<trevthedev> yes
<trevthedev> already fixed that part but apparently cStringIO doesn't exist
<trevthedev> and that is needed for update-runtime.py
seku_ has joined #nixos
<thblt> trevthedev: I don't have this issue. What's your OS?
<trevthedev> NixOS
<thblt> trevthedev: which version?
<trevthedev> NixOS 18.03.133188.8b92a4e6004
<thblt> stable then
<trevthedev> yes
<trevthedev> i have two channels, stable and unstable
<thblt> I suspect this may be worth filing an issue
<trevthedev> ijustwantsteam.png
<trevthedev> ;-;
<trevthedev> the problem MIGHT be the broken thing in between the chair and keyboard
<trevthedev> to be clear.... installing this module using pip would go like this:
<trevthedev> pip install cStringIO
<trevthedev> correct?
<trevthedev> (mind you i dont use python or pip for anything)
<thblt> Wait, it's not pip which complains about a missing library?
<trevthedev> (and online theres this whole python -m pip install thing that also doesnt work as for whatever reason the expression after -m is taken as a module
<trevthedev> python does
<trevthedev> when I run python update-runtime.py it says that it's missing a module
<trevthedev> Traceback (most recent call last):
<trevthedev> File "update-runtime.py", line 11, in <module>
<trevthedev> import cStringIO
<trevthedev> ModuleNotFoundError: No module named 'cStringIO'
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « libhttpseverywhere: fix build »: https://git.io/fARdU
gal_bolle has joined #nixos
<thblt> trevthedev: cStringIO seems to be a python2 thing. I suspect you're using Python 3
<trevthedev> sec, lemme try
Ridout has quit [Ping timeout: 240 seconds]
<trevthedev> hmm, yay!
<trevthedev> new error
<trevthedev> we got past the cStrings part
<thblt> Great news ^_^
<trevthedev> now the next module doesnt exist XD
<trevthedev> though thanks for helping out on that part... wish that the update runtime was written in 3
<trevthedev> deb822 doesn't exist now
<thblt> trevthedev: show the *exact* error please
<trevthedev> and pip wont install it
<trevthedev> Traceback (most recent call last):
<trevthedev> File "update-runtime.py", line 13, in <module>
<trevthedev> from debian import deb822
<trevthedev> ImportError: No module named debian
<trevthedev> identical to last one though deb822 doesn't exist
<thblt> well debian is a python package, just nix-shell it
<tobiasBora> clever: if I can't install it on the harddrive, why would I be able to install it on the usbstick?
<trevthedev> wait do what? what does the nix shell have to do with anything?
<trevthedev> sorry if im being slow again im just tired, i do appreciate your help with this XD
<thblt> trevthedev: I'm not 100% certain I understand what you're trying to do, but nix-shell -p python2.7-python-debian-0.1.23 will give you a shell with the debian package available to python
<clever> tobiasBora: what is preventing you from installing it on either?
aebkop has quit [Ping timeout: 252 seconds]
<tobiasBora> clever: As I was explaining, when I install NixOs from an ubuntu media, it fails with the error Failed to move "/boot/loader/loader.conf" into place: Operation not permitted [Full error: https://pastebin.com/fGE5DBHY]
aszlig has quit [Ping timeout: 272 seconds]
<clever> tobiasBora: what does `mount` output?
<trevthedev> im trying to get update-runtime.py to work xd
<trevthedev> error: attempt to call something which is not a function but a set, at (string):1:94
<trevthedev> got that error from running the nix shell command
<thblt> Broken copy and paste sorry, my mistake
<trevthedev> is fine
<thblt> trevthedev: nix-shell -p python27Packages.debian
<trevthedev> hey! it worked, thanks mate :D
<{^_^}> [nixpkgs] @smaret opened pull request #46095 → gildas: fix build failures → https://git.io/fARFg
das_j has quit [Quit: "Bye!";]
aszlig has joined #nixos
<trevthedev> didnt seem to change anything...
<tobiasBora> (note that I needed to remount everything since I rebooted as people was suggering me to use nixos instead of my ubuntu media)
<trevthedev> yeah that changed nothing....
tzemanovic has quit [Remote host closed the connection]
orivej has joined #nixos
waleee has joined #nixos
<trevthedev> still no input ;-;
<clever> tobiasBora: i dont see a boot volume mounted to /mnt/boot/
<trevthedev> ugh i want to shoot myself in the face XD
<trevthedev> @tilpner nothing changed after updating runtime
<tobiasBora> clever: I forgot it indeed when I rebooted, but when I gave the error I had it. Let me do that (I'm re-doing the whole install from scratch)
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « python2.pkgs.gst-python: fix build »: https://git.io/fARbd
ilikeheaps has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fARbA
<tobiasBora> clever: Ok, so here is my new mount return : http://paste.ubuntu.com/p/rgJ9ZwK6vn/
<clever> tobiasBora: and if you do nixos-install now?
<tobiasBora> Note that I'm re-runing from scratch the install
<tobiasBora> clever: yes, that's what I'm doing
<tobiasBora> for now it's loading
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.03: https://git.io/fARNm
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fARNY
oscarvarto has joined #nixos
<tobiasBora> clever: exact same error
sbdchd has joined #nixos
<tilpner> trevthedev - Did you not see update-runtime-shell.nix? ._.
humanoyd has joined #nixos
<trevthedev> well yeah....what do i dowith it ;-;
<trevthedev> thought i had to use the update-runtime.py xd
<tilpner> Yes, but to run update-runtime.py you need dependencies
<tilpner> Which you can all easily setup with "nix-shell update-runtime-shell.nix"
<trevthedev> yeah... we fixed that
<trevthedev> and it updated but nothing changed
<trevthedev> still no input
<trevthedev> how do i use the .nix file?
<tilpner> I just told you
<trevthedev> oh yeah my bad
<trevthedev> HA
<trevthedev> already ran it xd
<trevthedev> so.... now what? is that it.. or? sorry for asking so much xd
<tilpner> What I forgot to tell you, is that you might need to change DIST to scout_beta
<joepie91> ,locate lib/pkgconfig
<{^_^}> Couldn't find any packages
<tilpner> I unfortunately lost those changes
<joepie91> ,locate pkgconfig
<{^_^}> Couldn't find any packages
<joepie91> meh
<trevthedev> didnt return anything
smolboye has quit [Ping timeout: 246 seconds]
<tilpner> trevthedev - Run the update script again, from within the nix-shell, after setting DIST to scout_beta
<tilpner> trevthedev - Then run steam from your copy of nixpkgs
<trevthedev> DIST to scout beta?
sbdchd has quit [Ping timeout: 252 seconds]
<tilpner> No, scout_beta
<trevthedev> idk what that means...
<tobiasBora> clever: this error seems to be linked with Failed to move "/boot/loader/loader.conf" into place: Operation not permitted
<tilpner> It might not be necessary. What changes does your git status show?
<tobiasBora> oops
<tobiasBora> clever: this error seems to be linkied with bootctl
<tobiasBora> i can see several people having this error on the internet
<trevthedev> nothing to commit
<trevthedev> amd is up to date
<trevthedev> and*
<clever> brb
<tilpner> Then it didn't work at all. It should update runtime-generated.nix
<trevthedev> hm
<trevthedev> i mean yea all it did was open up the shell..
<tilpner> Which is not what I told you to
<tilpner> :/
<trevthedev> wat
<trevthedev> you said to run nix-shell update-runtime-shell.nix
<trevthedev> i did and it just opened the shell
tzemanovic has joined #nixos
<tilpner> 143146 tilpner | trevthedev - Run the update script again, from within the nix-shell, after setting DIST to scout_beta
<trevthedev> oh yeah that
<trevthedev> i have no clue what that means tho
<trevthedev> looked it up and all there is is the update-runtime.py on the nix store
<tilpner> Hold on, I'll run it here and push the results
<trevthedev> alright
<trevthedev> i dont know what to run though...
<trevthedev> DIST="scout_beta" on bash?
<tilpner> No, that was referring to update-runtime.py. But I don't think it made a difference
<tilpner> (It only matters with -b, which I don't remember passing)
<trevthedev> oh! alright
<trevthedev> how can i set it to that in there? it already says DIST="scout_beta" in the src
das_j has joined #nixos
<tilpner> It doesn't here. Did you apply the patch I linked earlier?
<trevthedev> i've no clue how too... i thought someone else said to just pull it
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #46096 → qutebrowser: 1.4.1 -> 1.4.2 → https://git.io/fARxE
revtintin has joined #nixos
gal_bolle has quit [Remote host closed the connection]
<trevthedev> do i just curl the file you sent and override the current update-runtime.nix ?
<tilpner> No
<trevthedev> oh
<tilpner> Wait a while, still running
<trevthedev> oh, alright
<oscarvarto> Hi! Is there any documentation to configure my USER environment?
<oscarvarto> The NixOS manual explains stuff assuming I'm going to configure everything System-wide
<srhb> oscarvarto: That's all NixOS can do.
<srhb> oscarvarto: If you want something like NixOS but for your user, take a look at home-manager.
<trevthedev> you can do multi user packages and such
<trevthedev> but not too terribly much more
orivej has joined #nixos
<trevthedev> packaging* not packages
<oscarvarto> srhb, trevthedev OK. So, am I safe doing everything as "root"?
<srhb> oscarvarto: Essentially NixOS has some very specific mechanisms in place to symlink things into /etc and make systemd units and do the /run/current-system link -- but nothing to deal with arbitrary (say, /home/foo) symlinking.
<trevthedev> no
<srhb> oscarvarto: No.
<tobiasBora> Any idea where I should put bug report for nixos?
<trevthedev> youre never safe doing everything as root
<srhb> tobiasBora: on the nixpkgs repo
<trevthedev> probably on github i think
<Baughn> srhb: Depends on how much you want to hack things up. I have /etc/home and an overlayfs.
<trevthedev> on the nixos or nixpkgs repo as srhb said
<tobiasBora> srhb: ok thanks
<srhb> Baughn: Right, I'm trying to keep things simple and sort of standardish, because I don't think the asker is currently looking for esoteric solutions. :-)
<trevthedev> any updates tilpner?
<Baughn> Probably appropriate.
<tilpner> trevthedev - Not during the last minute, no
<trevthedev> ah, alright
<Baughn> oscarvarto: What is the concrete problem you are trying to solve?
<tilpner> trevthedev - It finished and I pushed, if that's what you're asking about
<oscarvarto> Baughn, I want to have configurations for emacs, haskell and python. I tried to use home-manager, but couldn't use documentation in Nixos Manual for that
<trevthedev> so do i just git pull?
<Baughn> oscarvarto: Yeah, it's not part of NixOS. There are plenty of ways to do that, home-manager is just one of the more common ones. You'll need to look it up, though.
<oscarvarto> Seems like I have to use different options. Basically I think there is little documentation
<trevthedev> says its already up to date
<Baughn> oscarvarto: Personally I use a dotfiles repository and stow for the most part.
<srhb> I still have some of my stow left, but converting it over to home-manager as I make changes...
<tilpner> Yes-ish. You can add my fork as a remote and pull from that, or take the patch and apply it on top of recent master
<trevthedev> may you please link it?
<Baughn> I use the same Emacs config on non-Nixy systems as well.
<tilpner> I already did
rfold has quit [Quit: Page closed]
<trevthedev> oh ha my bad
jperras has joined #nixos
<oscarvarto> It seems like home-manager is a good choice. I just need some help to get started
<trevthedev> my eyes aren't doing well XD
<{^_^}> [nixpkgs] @xeji opened pull request #46097 → statsd: mark broken, disable nixos test → https://git.io/fARpW
<oscarvarto> srhb, I tried to use https://nixos.org/nixos/manual/index.html#idm140737316072912 (a Nix Expression to configure Emacs), but couldn't use a similar stuff from home-manager
<Baughn> oscarvarto: You can use emacsWithPackages in *any* package-building context. home-manager also lets you list packages to have installed in the user environment; you can put it there.
<Baughn> Doesn't need to be environment.systemPackages.
<Baughn> emacsWithPackages is a function that, itself, returns a package.
<oscarvarto> Baughn, OK. I'll try again. I may need some guidance though
smolboye has joined #nixos
<clever> tobiasBora: try switching to grub?
<oscarvarto> I'll ask questions if I get stuck
<trevthedev> alright so to be clear tilpner, i go into the shell, then run python2 update-runtime.py correct?
<trevthedev> with your new version
jperras has quit [Ping timeout: 272 seconds]
<Baughn> oscarvarto: One piece of advice. You probably have a single-user system. I'd recommend putting as much as possible in configuration.nix, and live with the occasional `sudo nixos-rebuild switch`.
<Baughn> There is absolutely nothing wrong with having emacs in the system environment.
<Baughn> Doing so doesn't even stop hypothetical other users (or you!) from shadowing the package if needed.
<oscarvarto> Baughn: OK
<etu> There's even people putting their entire emacs config in the default emacs install on the system
<Baughn> Now *that's* one step too far. :V
<trevthedev> yup because that way it's all very portable to a different system XD
<trevthedev> its weird but cool
* etu doesn't do that
<trevthedev> xd
* trevthedev doesn't do that
<trevthedev> yayyy, steam runtimeis done being updated
<trevthedev> ayyyyyyyyyyyyyyyyy
<trevthedev> it updated the runtime gen!
<trevthedev> now what do I do?
<trevthedev> tilpner got it to update, do i just run steam now, or?
<Baughn> Yup.
<trevthedev> well
<trevthedev> input still doesnt work...
<tilpner> trevthedev - No, I already did the update for you
<trevthedev> okay so the nix gen is the update
<trevthedev> do i need to do anything to "apply"it?
<tilpner> Just run steam from my nixpkgs
<trevthedev> wat
<trevthedev> elab
<tilpner> Pull my branch, then build steam from that, then run it
<trevthedev> thats what i did
<trevthedev> oh wait
<trevthedev> build steam itself?
<tilpner> Well, the "steam" attribute
waleee has quit [Quit: WeeChat 2.2]
<trevthedev> wym
<trevthedev> i cloned your repo
<trevthedev> so now what?
<tilpner> NIXPKGS_ALLOW_UNFREE=1 nix-shell -I nixpkgs=https://github.com/tilpner/nixpkgs/archive/steam-runtime-update.tar.gz -p steam --run steam
<trevthedev> as root?
<tobiasBora> clever: indeed, I think it's a good idea, I was not expecting to have a non-grub tool used. What tool is nix using, and why?
<clever> tobiasBora: systemd-boot
<tobiasBora> hum I neved heard about that before
<tobiasBora> I though it was something else
<tobiasBora> is it supposed to replace grub now?
jrolfs has joined #nixos
<tilpner> trevthedev - No, just your regular user (or login graphically as a dummy user if you want to be safe)
<tobiasBora> So to enable grub I just need boot.loader.grub.enable = true;
<tobiasBora> ?
<clever> tobiasBora: and also: boot.loader.grub.efiSupport = true; boot.loader.grub.device = "nodev";
<trevthedev> ah, alright thanks
<tobiasBora> clever: the doc also mention that I should move /boot to /boot/efi: fileSystems."/boot/efi", is it still true?
sir_guy_carleton has joined #nixos
<clever> tobiasBora: you can either put the EFI system partition (the vfat) at /boot
<clever> tobiasBora: or you can use ext4 for /boot (or even use the /boot dir on the / partition), and put the vfat on /boot/EFI, which requires boot.loader.efi.efiSysMountPoint = "/boot/EFI";
jrolfs has quit [Ping timeout: 244 seconds]
<tobiasBora> ok thanks
<Baughn> Of course, /boot needs to be a partition type your choice of loader can read.
<Baughn> ext4 is fine. ZFS might be fine. Not all filesystems are equally fine.
<clever> of note, if /boot and /nix/store are on the same zfs dataset, nix wont copy the kernels to /boot
<hodapp> gchristensen: thanks, autorandr looks like exactly what I need for this laptop + docking station combo I use daily with 2 LCDs
<clever> and then grub has to deal with the giant directory that is /nix/store, which can break grub
<gchristensen> yeah I use it. it doesn't work all the time but that might be my own faulty hacks
<Baughn> Huh. No symlinks?
<Baughn> Or does grub break despite the symlinks?
<Baughn> Hardlinks would be fine, I'm sure... it should use those.
<clever> Baughn: symlinks would still fail
<clever> Baughn: nix will just put full storepaths relative to the rootfs dataset, when things are on the same FS
<Baughn> clever: If it's the same dataset then /nix/store can't be mounted read-only, though.
<tobiasBora> Baughn: why do I need a special partition for /boot?
<trevthedev> hey it works!!!!!!! thanks :D
<tobiasBora> Baughn: can't I use directly the / partition and create a folder /boot/efi?
<Baughn> tobiasBora: You don't necessarily, but it needs to be a filesystem and partition layout that your bootloader can read. Otherwise it won't be able to read the kernel.
<clever> Baughn: bind mounts, you can re-mount a subdir of any fs as read-only
<tobiasBora> Baughn: ok sure. my / partition is ext4, so should be fine I guess
<Baughn> E.g. things like RAID have historically been a problem, or lesser-used filesystems.
<tobiasBora> ok, so this time the process finished (I got a few warnings/errors, but seems good else)
<tobiasBora> let's reboot now!
<Baughn> tobiasBora: Let me also tell you about `nixos-rebuild build-vm`.
<hodapp> gchristensen: my docking station doesn't work all the time either, so perhaps it just won't matter in the face of that
<Baughn> That will create a qemu script that runs the <whatever> you'll be trying to boot. It's a nice check before jumping through non-reversible hoops like this one.
<gchristensen> hodapp: might be, same, haha
<Baughn> It doesn't test the bootloader itself properly, but it should let you verify everything else.
<hodapp> gchristensen: oh, docking station for you too? Thinkpad?
<gchristensen> Dell
jperras has joined #nixos
<Baughn> tobiasBora: There's also build-vm-with-bootloader, but that still doesn't test the entire configuration; it doesn't automatically replicate your partition layout.
<tobiasBora> Baughn: ohh I saw this a bit too late ^^'
<srhb> Baughn: I think that's currently broken.
<tobiasBora> and it fails
<tobiasBora> well, I've the grub menu
<tobiasBora> but when it boot's, on Stage 1 it fails to mount the mvg volume
<tobiasBora> I guess it does not like LVM
<Baughn> Hmm
<Baughn> tobiasBora: Can you pastebin your {hardware-,}configuration.nix?
<tobiasBora> it's written:
<oscarvarto> Baughn, How could I modify http://ix.io/1m1p to work with home-manager?
<Baughn> Also, is this still an initial install? Or do you have data on there you want to keep?
silver has joined #nixos
<tobiasBora> "Loading module dm_mod... running udev... starting device mapper and LVM... 3 logical volumes in volume group pvg now active. Waiting for device .... to appear"
Phlogistique has quit [Remote host closed the connection]
<tobiasBora> and then it times out and cry
domenkozar has quit [Ping timeout: 250 seconds]
<tobiasBora> Baughn: initial install
<clever> tobiasBora: what device is the PV on?, is there any luks at play?
<tobiasBora> let me reboot on live usb
<Baughn> tobiasBora: In that case, would you be interested in trying ZFS instead? It's way more solid, in my experience, and no harder to get running.
<Baughn> oscarvarto: I'm not very familiar with home-manager. Putting the packages you need in the extraPackages field seems appropriate, though.
<tobiasBora> Baughn: on the hard drive, I just made a lvm partition, and created volumes on it
justbeingglad has joined #nixos
<tobiasBora> but no luks
<tobiasBora> (even if I'd have love it ^^)
<Baughn> tobiasBora: /boot/EFI (or just /boot) can't be on LVM, last I checked.
<Baughn> But I don't think that's the problem.
<tobiasBora> Baughn: Well the partition mounted in /boot/efi (/dev/sda1) is outside LVM
<tobiasBora> it fails to load the root partition
<Baughn> Yeah, it did load the kernel and initrd.
Phlogistique has joined #nixos
<Baughn> Please pastebin your configuration. And/or try https://nixos.wiki/wiki/NixOS_on_ZFS
<Baughn> I have a long laundry list of reasons why ZFS beats LVM. :3
kiloreux has joined #nixos
<tobiasBora> Baughn: let me reboot and I paste everything
nly has joined #nixos
<tobiasBora> concerning ZFS, I've never used it. It's supposed to replace LVM or ext4?
<tobiasBora> (or both)
<Baughn> It replaces both.
<hodapp> it's magic
<Baughn> It's not magic. :P
<Baughn> It's an old piece of alien technology.
<Baughn> Reasons to use it include:
<Baughn> - The ergonomics are far, far better than LVM, mdadm or Btrfs.
<tobiasBora> So configuration.nix: http://paste.ubuntu.com/p/H423PsxMVD/
<Baughn> - It checksums all your data. If there's corruption, it will notice. mdadm, ext4, LVM etc. do not. If you RAID it, it will repair any damage.
<tobiasBora> hardware-configuration.nix: http://paste.ubuntu.com/p/prGBzpSRF5/
justbeingglad has left #nixos [#nixos]
<Baughn> - Btrfs has about the same feature list, but ZFS is far far more reliable.
<tobiasBora> interesting
<tobiasBora> so maybe it's time to try ^^
<tobiasBora> (try nixos, try ZFS... so much changes in my life)
<tobiasBora> you can also compress data in ZFS right?
<Baughn> - Encryption and ZFS-on-root are fully supported on NixOS. Unlike say Debian, you'll never be left without a working ZFS driver after an update.
<Baughn> - Compression is supported, yes. Set 'compression=on' on your root dataset, then forget you did it.
<Baughn> (Unless your CPU is a potato, the cost is effectively zero.)
<Baughn> - It's by far the *fastest* filesystem I've ever used, for any non-database load. On spinning rust especially, I always get full streaming write speeds.
<tobiasBora> ZFS is really open source or it's oracle powered with strange licence?
<hodapp> Baughn: far as I care, it's magic for me in terms of how well it's worked :P
<Baughn> tobiasBora: It's really open source. The license isn't GPL-compatible, but it *is* FOSS, and redistributing it is legal. (According to Ubuntu's lawyers, whom I believe.)
<Baughn> - You can snapshot your filesystem at any time. The cost of a snapshot is only the size of any data *overwritten or deleted* after the snapshot. This means, with auto snapshots enabled, that you won't ever lose data by accident.
domenkozar has joined #nixos
<Baughn> (Unless your accident is "I accidentally the entire disk". It isn't a replacement for backups.)
araadkins has joined #nixos
<Baughn> tobiasBora: Anyway, with NixOS using it is really painless. There were a few bugs in the past, but I think I've ironed those out.
<Baughn> (Half of them caused by me while attempting to fix another set of bugs..)
<tobiasBora> ok I'm conviced
<Baughn> Yay!
<tobiasBora> even if I'm still curious to know why it failed with LVM
<Baughn> https://nixos.wiki/wiki/NixOS_on_ZFS <- This explains it pretty well.
<araadkins> I'm trying to use `nix-run` with an argument to `--store` as described in https://nixos.wiki/wiki/Nix_Installation_Guide#nix_2.0.27s_native_method, but I'm getting `error: setting up a private mount namespace: Operation not permitted`. I was hoping somebody could help.
alexteves has joined #nixos
<tobiasBora> so let's re-install nix for the 5th time ;)
<Baughn> (Though the article assumes you want MAXIMUM REDUNDANCY. I never actually bother to mirror /boot, myself.)
<Baughn> Hmm. There's also some bad advice in there.
<Baughn> You should set `compression=on`, not `compression=lz4`. lz4 is what you get when setting it to on, *right now*, but future updates may change that. `compression=on` should always choose the usually-best algo.
<philippD> How can I open a nix-shell environment where certain cabal packages are installed? calling `nix-shell -p ghc haskellPackages.lens` doesn't expose lens to cabal.
<clever> philippD: you must call ghcWithPackages
<philippD> ah, thanks
<clever> philippD: nix-shell -p 'haskellPackages.ghcWithPackages (ps: [ ps.lens ])'
waleee has joined #nixos
spear2 has quit [Ping timeout: 252 seconds]
<tobiasBora> Baughn: while I'm setting up ZFS, can you see any error in my conf? http://paste.ubuntu.com/p/prGBzpSRF5/
vaibhavsagar has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
<Baughn> tobiasBora: No. Looks like it should have worked; I've no idea why it didn't. I don't use LVM, though.
<tobiasBora> ok thanks
mayhewluke has joined #nixos
sbdchd has joined #nixos
<Baughn> tobiasBora: While you're setting up ZFS, make /boot a 2 gigabyte partition or so. Then make it the EFI system partition.
<Baughn> It's the easiest configuration.
<tobiasBora> hum wait
<Baughn> Everything else, you can throw into the ZFS pool.
<tobiasBora> I already have the EFI partition created by windows
flexw has joined #nixos
<tobiasBora> (I still want to have dual boot, else the sys admin will kill me)
<Baughn> You can't use that one. It's only sized for Windows, so if you put kernels in there, you'll run out of space.
<Baughn> You *can* have multiple efisys partitions, though. Probably.
<Baughn> (BIOS depending.)
<tobiasBora> really?
<tobiasBora> (this one is 500M)
<Baughn> Mm. In my experience that's 100-200M free.
<{^_^}> [nixpkgs] @jtojnar merged pull request #46058 → dconf module: add dconf to services.dbus.packages → https://git.io/fABQG
<Baughn> That works for one, maybe two kernels. Then you start getting mysterious failures. Windows also wants to use the space.
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fA0Tp
<tobiasBora> there are 463M free
<flexw> Hello, are there any packages for Thunderbird in german? Since Mozilla does not upload a language pack for Thunderbird 60.
<tobiasBora> ok, let's try
<thblt> clever: LnL: a few times back I asked whether I could deal with my /boot partition saturating by just erasing it and nixos-rebuild --install-bootloader, and I promised to follow up. tl;dr: it works, except for a stupid mistake I made. But rm -rf /boot/* would have worked perfectly.
<tobiasBora> I just hope that two efi won't break up everything
<Baughn> tobiasBora: If you have to use it, then I'd suggest mounting it as /boot/EFI.
<tobiasBora> also, in gparted I can't find ZFS filesystem, did I miss something?
<Baughn> No. There's no ZFS partition id.
<tobiasBora> Baughn: use what?
<Baughn> Just use whatever. Nothing actually cares.
<tobiasBora> Baughn: ok thanks
dbmikus_ has joined #nixos
<Baughn> tobiasBora: The windows efisys partition. You can mount it as /boot/EFI, so gummiboot/grub will go in there but the kernels stay in /boot.
<Baughn> The downside is that /boot still has to be readable by your bootloader, though not the BIOS.
sbdchd has quit [Ping timeout: 240 seconds]
<Baughn> grub does know how to read ZFS partitions. But not *all* ZFS partitions.
<Baughn> And you'd need to disable a bunch of features.
fendor has quit [Ping timeout: 252 seconds]
<Baughn> Realistically, you shouldn't put /boot on ZFS.
knupfer has quit [Remote host closed the connection]
<tobiasBora> ok. Will the new fat32 partition will also have windows efi stuff, or I will really have two partitions?
knupfer has joined #nixos
<Baughn> The latter.
<Baughn> I mean, you *could* resize the windows partition. That's also an option.
countingsort has joined #nixos
<tobiasBora> There is the windows partition after so it's a bit risky I guess
<Baughn> Then don't do that.
<Baughn> More like a bit impossible. :V
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau opened pull request #46099 → spotify: 1.0.88.353.g15c26ea1-14 -> 1.0.83.316.ge96b6e67-5 → https://git.io/fA0ki
<{^_^}> [nixpkgs] @timokau merged pull request #46099 → spotify: 1.0.88.353.g15c26ea1-14 -> 1.0.83.316.ge96b6e67-5 → https://git.io/fA0ki
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fA0kM
nuncanada has joined #nixos
<Baughn> tobiasBora: How many disks in your system? And what kind?
baimafeima has quit [Quit: Leaving]
<tobiasBora> Baughn: on my lab, one hard drive, 500G
<tobiasBora> (nothing fancy in it I thinkà
* Baughn blinks.
<tobiasBora> )*
<Baughn> Um, an SSD I guess?
<tobiasBora> HDD
<tobiasBora> I guess
<tobiasBora> big ssd are pretty rare
<tobiasBora> and it's just a desktop
<Baughn> Your curve is a few years behind. 500GB is a common size for SSDs now.
<Baughn> 1TB and up is rarer.
<srhb> All you fancy people with your fancy +100GB disks.
<Baughn> I can't find a HDD below 1TB on amazon.
<tobiasBora> well this computer is HDD, just checked
flexw has quit [Ping timeout: 252 seconds]
* sphalerite runs nixos on a 32GB SD card on a chromebook
<Baughn> Fair enough.
<sphalerite> not as my main driver though, unfortunately :p
<Baughn> No special needs, then. ZFS should run fine off a single HDD, and you can't have an L2ARC or log disk.
seku_ has quit [Ping timeout: 252 seconds]
<tobiasBora> what for?
<tobiasBora> it's just a desktop, actually I won't even mind failures
<tobiasBora> I'll have backups on other servers of important data
<Baughn> It can use an SSD cache to speed up reads. That's only useful if you barely ever reboot, but it does help a lot.
<tobiasBora> oh really?
<Baughn> It can also use main memory for that, of course. :P
<tobiasBora> it could be usefull for my other copmputer then
<tobiasBora> he has a small ssd (20G) and a 1t HDD
<{^_^}> [nixpkgs] @xeji merged pull request #46095 → gildas: fix build failures → https://git.io/fARFg
<tobiasBora> but the SSD is full
<Baughn> (Though if the data fits in a few hundred GB, I'd honestly throw a small SSD in there and call it a day.)
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fA0IM
<tobiasBora> anyway
<tobiasBora> so I just created a new ext4 partition, I'll make it a pool using zpool create
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.09: https://git.io/fA0Ij
<Baughn> Use -o ashift=12. There's a decent chance your disk is faking being a 512-byte sector one, given its age.
<Baughn> (And it should be safe, even if it's *actually* a 512-byte one.)
<tobiasBora> what is it for?
<Baughn> Sets the assumed sector size.
<tobiasBora> is it for zfs
<Baughn> zpool create
jrolfs has joined #nixos
<tobiasBora> ok thanks. Why 12?
<Baughn> 2^12=4096
<tobiasBora> ok thanks
<tobiasBora> so it should be quicker?
<Baughn> Most disks use 4k sectors. Some older ones pretend to actually have 512-byte sectors.
<Baughn> But that means the disk doing read-modify-write on nearly every write, which is really slow.
<oscarvarto> Baughn, it worked with something like this: http://ix.io/1m1D
civodul has quit [Read error: Connection reset by peer]
<tobiasBora> Baughn: is it this: Sector size (logical/physical): 512 bytes / 4096 bytes
<Baughn> tobiasBora: Yup. Okay, I think the disk is *not* lying, but use -ashift anyway. Can't hurt.
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fA0Lc
<{^_^}> [nixpkgs] @xeji merged pull request #46053 → pythonPackages.mxnet: fix build → https://git.io/fABPG
<teto> do haskellPackages run the preBuild hook ?
civodul has joined #nixos
araadkins has left #nixos [#nixos]
Denommus has joined #nixos
<tobiasBora> Baughn: ok, so I have my zpool now
iyzsong has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.09: https://git.io/fA0tY
<Baughn> tobiasBora: The wiki page should have everything you need, but let us know if you get confused.
<Denommus> hey
<Denommus> I'm having a problem with containers
<dhess> Anyone around who's in charge of building the official NixOS AMIs?
<dhess> or maybe that's something I should take up in #nixos-dev?
<Denommus> I'm trying to configure NAT
hxrts_ has joined #nixos
<clever> Denommus: thats how i was last doing it
<teto> nevermind I had to run preConfigure instead of preBuild
hellrazo1 has quit [Quit: WeeChat 2.2]
<Denommus> I've successfuly deployed one container with NAT
hellrazor has joined #nixos
<Denommus> but when I try to deploy the second one, it hangs while starting, and after some time it stops
seku_ has joined #nixos
jperras has quit [Ping timeout: 272 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46092 → thinc: fix darwin build → https://git.io/fARy3
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « pythonPackages.thinc: fix darwin build (#46092) »: https://git.io/fA0qC
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to release-18.09 « pythonPackages.thinc: fix darwin build (#46092) »: https://git.io/fA0qz
<tobiasBora> Baughn: concerning boot.kernelParams = ["zfs.zfs_arc_max=12884901888"];
<kiloreux> How can I add files from another source to my derivative. I tried to use the postUnpack step but it gives me permission denied?
<tobiasBora> what does 12Gb refers to? It's supposed to be on ram?
<Baughn> Yes.
<Baughn> You don't need to set it. The defaults should be reasonable.
<tobiasBora> so If I've 8G of ram, it's stupid
<tobiasBora> ok thanks
<clever> by default, the max is 50% of your ram
<tobiasBora> Baughn: if I want to encrypt a partition, when should I do that? Can I do it one it's created?
<clever> and it will dynamically adjust itself based on how much is used
<tobiasBora> ok thanks
<Baughn> Never tried that. Clever?
<clever> i use luks on my laptop
ThatDocsLady has quit [Ping timeout: 252 seconds]
<clever> with zfs
<Baughn> I guess this explains it: https://nixos.wiki/wiki/NixOS_on_ZFS#Encrypted_ZFS
<tobiasBora> clever: so I need to configure first luks, then zfs?
<clever> tobiasBora: yeah
<tobiasBora> grrr
<srhb> Be advised that nixos-generate-config will _not_ setup hardware-config correctly with zfs-on-luks.
<clever> tobiasBora: native zfs encryption isnt considered production ready
<tobiasBora> clever: too bad
<tobiasBora> it means that I also need to encrypt all the system right?
<clever> yeah, the encryption has to be done at the block-device level, with luks
<clever> and then either create the pool on it, or use lvm to splut the luks up
<tobiasBora> clever: I just moved to ZFS because lvm was failing to load at startup, no idea why
martingale has joined #nixos
Freechicks has quit []
<infinisil> Oh boy, check this out:
<infinisil> > viewSource haskellPackages.xmonad
<{^_^}> " xmonad = appendPatch (dontCheck super.xmonad) ./patches/xmonad-nix.patch;"
<infinisil> > viewSource pythonPackages.pytest
<{^_^}> " pytest = self.pytest_37;"
<infinisil> > viewSource pythonPackages.pytest_37
sbdchd has joined #nixos
<{^_^}> " pytest_37 = callPackage ../development/python-modules/pytest {"
<{^_^}> [nixpkgs] @xeji merged pull request #46096 → qutebrowser: 1.4.1 -> 1.4.2 → https://git.io/fARxE
<infinisil> HOW COOL IS THAT
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « qutebrowser: 1.4.1 -> 1.4.2 (#46096) »: https://git.io/fA0mr
<infinisil> It does take a bit longer in all-packages.nix, the function is implemented in Nix after all
<{^_^}> [nixpkgs] @alyssais opened pull request #46100 → cargo-edit: 0.2.0 -> 0.3.0 → https://git.io/fA0m6
<infinisil> > viewSource fetchFromGitHub
<{^_^}> value is a function while a set was expected, at (string):171:80
<infinisil> > viewSource emacsPackages
<{^_^}> " emacsPackages = emacs26Packages;"
<infinisil> (!)
<tobiasBora> Baughn: what should I put in boot.loader.grub.devices? nodev, the hdd, the boot partition, or all boot/home/nixos partitions?
<Baughn> I'd actually suggest using systemd-boot.
<tobiasBora> Baughn: it can deal with dual boot?
<Baughn> Easily.
<Baughn> Let me find an example..
<{^_^}> [nixpkgs] @oxij opened pull request #46101 → nix: fix a tiny option bug, make AWS support optional → https://git.io/fA0Yf
<clever> tobiasBora: when using efi, device should be "nodev"
<clever> device(s) is only for legacy boot
<Baughn> Hmm, I actually put a chainloader in there manually. Never mind.
<joepie91> note for the IRC logs: to get `ide-rust` to work in Atom with a shell.nix, create a `~/rls-in-shell.sh` file containing `nix-shell --run "rls $@"` (without backticks), then set the "Rls Command Override" in ide-rust to the path of the rls-in-shell.sh et voila, all compilation occurs within your nix-shell and compiler hints don't break anymore
<joepie91> (oh, and chmod +x the .sh ofc)
<{^_^}> [nixpkgs] @xeji pushed to master « statsd: mark broken, disable nixos test (#46097) »: https://git.io/fA0O9
<{^_^}> [nixpkgs] @xeji merged pull request #46097 → statsd: mark broken, disable nixos test → https://git.io/fARpW
knupfer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « statsd: mark broken, disable nixos test (#46097) »: https://git.io/fA0Oj
endformationage has joined #nixos
dbmikus_ has quit [Ping timeout: 252 seconds]
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @xeji merged pull request #46054 → libgsf: 1.14.42 -> 1.14.44 → https://git.io/fABX1
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to staging « libgsf: 1.14.42 -> 1.14.44 (#46054) »: https://git.io/fA03P
rprije has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46093 → wireguard: 0.0.20180809 -> 0.0.20180904 → https://git.io/fARQs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA0sp
<{^_^}> [nixpkgs] @Mic92 pushed commit from @dywedir to release-18.09 « wireguard: 0.0.20180809 -> 0.0.20180904 »: https://git.io/fA0G3
semilattice has joined #nixos
<{^_^}> [nixpkgs] @jethrokuan opened pull request #46102 → tflearn: 0.2.1 -> 0.3.2 → https://git.io/fA0Gu
<{^_^}> [nixpkgs] @xeji merged pull request #46078 → ffmpeg: add support for libssh and speex → https://git.io/fARm2
<{^_^}> [nixpkgs] @xeji pushed commit from @oxij to staging « ffmpeg: add support for libssh and speex (#46078) »: https://git.io/fA0Z6
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #46103 → haskellPackages.tensorflow-mnist-input-data: fetch → https://git.io/fA0Zj
<infinisil> > viewSource haskellPackages.tensorflow-mnist-input-data
<{^_^}> "configuration-tensorflow.nix:61 tensorflow-mnist-input-data = setSourceRoot \"tensorflow-mnist-input-data\" (super.callPackage ("
<infinisil> \o/
heatm1s3r has joined #nixos
iMatejC has quit [Remote host closed the connection]
erasmas has joined #nixos
worldofpeace has joined #nixos
humanoyd has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « wireguard: 0.0.20180519 -> 0.0.20180904 »: https://git.io/fA0nd
bgamari has joined #nixos
avn has quit [Read error: Connection reset by peer]
spear2 has joined #nixos
avn has joined #nixos
jD91mZM2 has joined #nixos
Ariakenom_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46079 → stdenv: implement enableParallelChecking option → https://git.io/fARYE
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/fA0c6
seku_ has quit [Read error: Connection reset by peer]
<dhess> For a Hydra that's storing its build products in S3, where do the S3 credentials go? I'm looking at IOHK's Hydra config and at nixos-org's Hydra config, and I don't see any references to that.
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
<clever> dhess: check the PR that introduced those changes
thekolb has joined #nixos
<dhess> clever: in the Hydra repo, or in the IOHK/nixos-org repos?
<clever> iohk-ops
<{^_^}> input-output-hk/iohk-ops#352 (by cleverca22, 12 weeks ago, merged): [DEVOPS-836] configure hydra to upload everything to S3
<dhess> ahh ok cool, thank you.
<dhess> forgot that you work for them :)
<dhess> or with them anyway
<clever> i'm on the devops team
<dhess> that's perfect, thank you
<clever> half of my job is managing this hydra
iMatejC has joined #nixos
<dhess> hehe
<dhess> clever: I think it was you who warned me a few months ago that running builds on a Hydra can cause deadlocks, something about using localhost as a remote builder. Any idea whether that's still a thing? I've seen a couple of PRs in the Hydra GitHub issues related to using localhost as a builder and it seems like maybe it's working now.
<dhess> if you add "builtins" to the localhost builder's capabilties, anyway (in addition to "kvm" etc)
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46104 → stdenv, neovim: Use `lib.warn` for deprecation warnings → https://git.io/fA0WN
<{^_^}> [nixpkgs] @timokau pushed to release-18.09 « spotify: 1.0.88.353.g15c26ea1-14 -> 1.0.83.316.ge96b6e67-5 »: https://git.io/fA0lk
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46105 → stdenv, neovim: Use `lib.warn` for deprecation warnings → https://git.io/fA0ls
ihar has joined #nixos
nly has left #nixos [#nixos]
<dhess> I have this big Hetzner build host that's just sitting around most of the time and I might as well let it be the Hydra, as well, if it doesn't cause problems.
<srk> iirc it's no longer needed with recent hydra
<srk> # XXX: drop 'builtin' when we update to recent hydra
<dhess> srk: what's no longer needed?
<dhess> oh
<dhess> ok thanks. I have always used the Hydra included in Nixpkgs, not sure when's the last time that was updated.
<dhess> last I looked I think it was from last November
<srk> last time I've restored to hydraSrc = ../hydra;
<srk> cause master gave me hard time
semilattice has quit [Ping timeout: 245 seconds]
<dhess> ahh yeah. I think I'll just use what's in Nixpkgs and do the "builtin" hack :)
<dhess> assuming the deadlock issues have been resolved.
Fare has joined #nixos
<dhess> srk: are you using your Hydra as a localhost builder?
waleee has quit [Quit: WeeChat 2.2]
<srk> yes, in one case
<srk> but only with maxJobs = 1;
<dhess> srk: would you say that you've experienced any "unusual" issues with that one that you haven't seen on your other Hydras?
johanot has quit [Quit: leaving]
sbdchd has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
tzemanovic has quit [Ping timeout: 252 seconds]
<srk> not really, runs fine but I've changed the hydra version multiple times to find a "good" one
<dhess> ok thanks for the data points :)
<srk> my second testing hydra died cause of the low disk space, new machine for it is ready with more TB :D
<srk> watch your disk space ^^ :)
<dhess> srk: yeah I was planning to run a Hydra on a cheap EC2 instance, but as soon as you try to add 2TB of EBS, it's no longer cheap :)
<dhess> maybe I should just spin up another Hetzner from the auctions pool
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46104 → stdenv, neovim: Use `lib.warn` for deprecation warnings → https://git.io/fA0WN
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fA043
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46105 → stdenv, neovim: Use `lib.warn` for deprecation warnings for 18.09 → https://git.io/fA0ls
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fA04G
<clever> when the nix store goes under 2gig free, the queue-runner will automatically be stopped
<clever> and if it goes under 1gig, the evaluator is also stopped
<srk> \o/
<srk> lifesaver
<clever> nothing exists to start them again, so you have to manually do that with systemctl
<dhess> clever: is that a feature of your patched Hydra, or is that supported in mainline?
<clever> dhess: mainline
<dhess> cool thank you
<srk> and when you hit such situation how do you free up some space?
<srk> is running nix-collect-garbage on hydra ok?
<clever> srk: yep
<clever> srk: but hydra is lazy about updating its gc roots
<srk> hmm
<clever> srk: first, is the keep number on each jobset
<srk> I've tried to "fix" the instance just to see if it could be done and it looked like it took too much builds
<clever> this jobset is setup to keep the entire closure for the last 5 evals GC rooted
<srk> during GC
<srk> *too many
<clever> but, the evaluator creates the roots at eval time, and hydra only cleans up roots once a day
<srk> I see
<clever> hydra-update-gc-roots.service is responsible for GC'ing the GC roots
<clever> which then allows nix-collect-garbage to GC the actual builds
<srk> :D
<clever> so if you want to delete things, you need to maybe reduce the keep number, `systemctl start hydra-update-gc-roots.service`, wait for it to finish, then nix-collect-garbage
<clever> and if you `journalctl -f -u hydra-check-space.service`, you will see when disk space has gotten low, and it stopped things
<srk> think I'll go slowly next time watching disk space closely while adding more jobs
<srk> it should reach a some baseline after few days anyway
<dhess> clever: BTW I wanted to thank you again for publishing your PXEboot config. That thing has saved me *so much time* over the past few weeks.
<clever> dhess: nice
<clever> dhess: which one? i have 2 or 3 pxe configs, lol
<dhess> Ditto for the kexec builder. In fact I'm about to fire that up again
oscarvarto has quit [Quit: Leaving]
<dhess> clever: the one in your personal nix config I believe
<clever> ah, netboot_server.nix ?
<dhess> with the nas and the router
<clever> ah, that one isnt as complete
<tobiasBora> clever: ok thanks
<dhess> yeah I think so. I've been using the hell out of that to wipe a bunch of hardware that I'm getting rid of
<dhess> clever: oh really?
<clever> this one is a complete router, with dhcp, bind, tftp, nginx, and netboot
<dhess> clever: I think that's the one I used
<clever> ah
sbdchd has joined #nixos
<srk> I've added dhcp / bind to my staging netboot last week \o/
<yorick> maybe I should get one of them nix routers then
<srk> flawless
<dhess> yeah where only the undionly one is working
<clever> dhess: the second one is in https://github.com/cleverca22/nixos-configs/blob/master/router.nat.nix#L141 and its more partial, because half of the service is on a gentoo box, lol
<srk> yorick: I'm trying to replace openwrt on turris omnia :)
<dhess> clever: yeah it was definitely the netboot_server.nix one
<dhess> srk: oh me too
<dhess> well, not turris omnia but still
<dhess> I actually have a pretty decent setup on an apu3c4. Still need to get the wireless going though
<dhess> and LTE
<clever> dhess: my original use-case for netboot_server.nix, was to netboot my new laptop, from the old laptop, and install nixos with a simple `justdoit` at the shell and be done instantly
<clever> dhess: but nvme and uefi had other things to say about those plans, lol
<yorick> srk: with nixwrt?
<yorick> srk: a coworker has http://pcengines.ch/apu3c2.htm
<dhess> clever: oh too bad. I've had good luck with NVME on NixOS so far, I use it on pretty much all of my devices
<srk> yorick: nn, generated arm image with btrfs support
<clever> dhess: the problem, is that justdoit assumes ${drive}1 is partition 1, but nvme uses ${drive}p1
jrolfs has joined #nixos
<dhess> oh right
<yorick> the rgb leds are cool though
<clever> so i have to conditionally insert a p everywhere
<srk> for omnia you can generate omnia-medkit.tar.gz with rootfs on it and it will flash it to internal flash and boots from its btrfs partition next time, will put instructions on a wiki when I figure that out
<clever> dhess: and PXE is legacy boot, but NVME is uefi only, so i had to mess with the removable flag to get the machine to boot
<dhess> huh weird
<yorick> you can't say "mini pcie/msata", these are electrically different interfaces
<clever> dhess: and then there is testing nvme under justdoit, i cant be wiping my laptop hourly :P
<dhess> clever: when I get a chance I'm going to try signing the PXE booters
<clever> dhess: this creates a qemu VM that has nvme drives
<clever> dhess: already done that, in my 3rd pxe example
<clever> dhess: line 4 is a ipxe script with a complete menu, and the script itself is signed
<dhess> clever: hahahah you are a machine
<clever> dhess: line 50 creates an ftp dir, with signed kernel, initrd, rootfs, and script.ipxe files
<dhess> There's nothing new under the Nix sun (that clever hasn't already done)
<dhess> look at that, I'm a poet
<dhess> well that looks sweet, I'll be taking a look at that
<clever> dhess: line 64 generates a custom build of ipxe, that has a script embeded into it (which permenantly enables requiring signatures), and embeds the certs
<tobiasBora> Baughn: I don't get, why systemd-boot is better than grub?
<clever> dhess: and line 88 then runs ipxe (using the linux-kernel format, via -kernel), and sets up a tftp server with qemu
jrolfs has quit [Ping timeout: 245 seconds]
<Baughn> tobiasBora: It has fever options. I found it easier to do UEFI tricks with it, since it doesn't support non-UEFI.
<clever> dhess: so, assuming you can verify the ipxe binary (my original idea was to bake it into coreboot), every file loaded afterwards is signed by the keypair
<Baughn> Either works, though.
<clever> dhess: and the main script.ipxe is loaded over the network (and signed) so you can still dynamically reconfigure ipxe remotely
<dhess> clever: that's fantastic
<tobiasBora> Baughn: it's supposed to be able to autodetect others systems also?
<Baughn> I think so, but it didn't for me.
<dhess> clever: ahh have you done much coreboot hacking?
<dhess> My apu3c4 uses coreboot and I'm really curious what it's capable of
<clever> dhess: nope, none of my machines support flashboot writing
<srk> clever: I've also addedd mac -> image mapping so when mac address is listed it boots the specified image right away - I will try to abstract that even further and add DHCP to the mix so there's something like (mac, IP, image) at toplevel config
<Baughn> I was easily able to add a menu entry for Windows, though. Each entry is one file. That makes it easy; NixOS doesn't overwrite it.
<clever> dhess: oh, and i also recently noticed a secureboot, that you can whitelist the hash of a .efi file, without having to deal with keypairs at all
<clever> dhess: so you could pop a ipxe.efi into a EFI sys partition, whitelist its hash in the bios, and set a bios password
<clever> and it will only ever be able to boot what you signed (line 57 of the file)
<dhess> clever: yeah with everything being generated by Nixpkgs, it seems you could probably bake the hashes into the derivation and not need to bother with signing.
<clever> dhess: the signing is more about updating things without having to redo the ipxe binaries/config
<dhess> yeah
<NickHu_> Does anyone know what controls the size of /run/user/$userid in NixOS?
<NickHu_> Mine is pitifully small
<clever> NickHu_: systemd-logind i believe
<clever> NickHu_: once you find the right flag for the config file, services.logind.extraConfig
<clever> NickHu_: the docs for that option also point to `man logind.conf`
<clever> RuntimeDirectorySize=
<clever> Takes a size in bytes, optionally suffixed with the usual K, G, M, and T suffixes, to the base 1024 (IEC)
<clever> dhess: ive also recently been experimenting with `nix copy`, and it may be possible for nixops to deploy into a machine that was booted into any "install media"
<clever> dhess: nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
<clever> dhess: this allows you to copy a pre-built nixos closure to the /mnt of a remote machine, which can even be a freshly formatted disk
<clever> then you just have to handle the bootloader installation via switch-to-configuration+nixos-enter or maybe nixos-install -s
<tobiasBora> Baughn: it failed to boot :'( There is no entry for NixOs (well there is one that does not boot, and I think it's the old one when I was still using /dev/sda1 for EFI)
<yorick> srk: the pc-engines thing is a lot cheaper
<tobiasBora> Baughn: I'm pretty sure that's because I've now two EFI partitions...
<tobiasBora> Baughn: How could I say to the bios "hey, there is another partition!"
<clever> tobiasBora: if you can find the right bios option, try browsing for a custom .efi file, and just manually select /boot/EFI/BOOT/BOOTX64.EFI for a one-time boot
<Baughn> tobiasBora: Did you mark the second one as being efisys?
<clever> tobiasBora: i'm able to do that when on my laptop
stphrolland has joined #nixos
<Baughn> gparted calls it 'boot', but it's the ESP flag.
wpcarro has quit [Ping timeout: 244 seconds]
<tobiasBora> clever: indeed, it seems possible... But it still boots to Windows...
<tobiasBora> Baughn: yes, I used ESP flag
<tobiasBora> the good thing is that it appears in the Bios...
<tobiasBora> I'll still try some stuff ;)
wpcarro has joined #nixos
<clever> tobiasBora: you may be browsing into the wrong ESP
nuncanada has quit [Quit: Leaving]
Boomerang has quit [Ping timeout: 272 seconds]
<tobiasBora> clever: I'm pretty sure I'm in the good esp...
<tobiasBora> clever: the file matches
<tobiasBora> but the bios looks really buggy
<clever> tobiasBora: do you see grub files in the nearby directories?
<tobiasBora> like I need to click 3 times on FS1 to go to the second GPT7 partition
Fare has quit [Ping timeout: 245 seconds]
<tobiasBora> and I don't know why, but when I save the grub setting, it completely changes the entry
<clever> i was thinking about doing a one-time override, to just select the grub binary and boot it
<clever> once nixos is booted, another round of `nixos-rebuild switch --install-bootloader` should correct the config
hxrts_ has quit [Ping timeout: 252 seconds]
fzer0 has joined #nixos
<tobiasBora> Like, if I save it once, I've "File System: PciRoot(...)...HD(7,GPT,...)... File Name \EFI\NixOS-boot\grubx64.efi"
<tobiasBora> but once I reboot, this exact same entry is changed into
<tobiasBora> File System List: VenHW(99E2...) (No idea what this number refers to)
<tobiasBora> File Name: \EFI\BOOT\BOOTX64.EFI
<tobiasBora> clever: What do you mean by ont-time override? Should I override \EFI\BOOT\BOOTX64.EFI on sda1?
lawlesseel has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46102 → pythonPackages.tflearn: 0.2.1 -> 0.3.2 → https://git.io/fA0Gu
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jethrokuan to master « pythonPackages.tflearn: 0.2.1 -> 0.3.2 (#46102) »: https://git.io/fA0zZ
<clever> tobiasBora: in my bios, i can browse the filesystems, and select any .efi binary, and just execute it immediately, with no changes to config
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jethrokuan to release-18.09 « pythonPackages.tflearn: 0.2.1 -> 0.3.2 (#46102) »: https://git.io/fA0za
rfold has joined #nixos
sbdchd has quit [Remote host closed the connection]
humanoyd has joined #nixos
hxrts_ has joined #nixos
Fare has joined #nixos
kenshinC1 has joined #nixos
<tobiasBora> clever: this bios has tons of features... but not this one
<{^_^}> [nixpkgs] @Mic92 merged pull request #46035 → mpv: Added flag for cddaSupport to play Audio CDs → https://git.io/fA4Fr
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fA0gZ
fzer00 has joined #nixos
sbdchd has joined #nixos
<tobiasBora> I need to go now, but I'll try again tomorrow... I'd like to know, if I move the efi file on my sda7 partition to the efi file in the sda1 partition, by replacing for example the Windows boot entry with this one, will it still boot correctly?
stranger___ has joined #nixos
ixxie has joined #nixos
fzer0 has quit [Quit: Leaving]
<ixxie> hmm
sbdchd has quit [Ping timeout: 252 seconds]
<stranger___> rycee[m]: hi. i'm trying home-manager to nixos integration. i don't want to import master tree but rather revision of home-manager sources used in nixpkgs. so i do imports = [ "${pkgs.home-manager.src}/nixos" ]; however this leads to infinite recursion :( how could i fix that?
<ixxie> it seems I managed to botch up a kexec installation process and have no network connection
Ariakenom has joined #nixos
<clever> ixxie: the main install, or the kexec image itself?
<cransom> note to self. a hydra builder with 8 gigs of ram, building aws images that are 2-4 gigs in size, you will get obscure messages about max_output_size exceeded when the real cause is running out of memory when passing a nar around.
<ixxie> clever: main install
<ixxie> I'm in kexec
<ixxie> unfortunately I already formatted the drive
<clever> ixxie: ah, then first thing id recomend is to `systemctl stop autoreboot.timer`
<clever> ixxie: then fix the config in /mnt/etc/nixos and re-run nixos-install
<ixxie> done
jrolfs has joined #nixos
<ixxie> okay now the config
sbdchd has joined #nixos
<ixxie> I thought I enabled networking
<jD91mZM2> Hello! My /etc/services contains "apple remote desktop (net assistant) 3283/tcp # Net Assistant", which doesn't seem correct since it has spaces in the name...
<jD91mZM2> What is this?
sbdchd_ has joined #nixos
<ixxie> clever: networking.wireless.enable = true is enabled (this is a laptop)
<ixxie> can't quite figure out what else to do
<clever> ixxie: run wpa_passphrase to generate a /mnt/etc/wpa_supplicant.conf
<clever> ixxie: and depending what your wifi drivers are, enable the right options to install them
hxrts_ has quit [Ping timeout: 252 seconds]
<{^_^}> [cabal2nix] @philderbeast opened pull request #375 → Allows for package definition in package.dhall → https://git.io/fA0aV
sbdchd has quit [Ping timeout: 245 seconds]
sbdchd_ has quit [Ping timeout: 252 seconds]
kenshinC1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #37316 → qutebrowser: patch scripts → https://git.io/vx3To
<{^_^}> [nixpkgs] @xeji pushed commit from @rnhmjoj to master « qutebrowser: patch scripts (#37316) »: https://git.io/fA0Vk
<ixxie> clever: generated the passphrase, but not sure how to figure out my drivers
sbdchd has joined #nixos
<clever> ixxie: lspci, lsmod
dbmikus_ has joined #nixos
<ixxie> hmm broadcom it seems
stphrolland has quit [Ping timeout: 246 seconds]
<clever> ixxie: and what does the hardware-configuration.nix look like?
<clever> hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = lib.mkDefault true;
<clever> ixxie: those 2 are part of the defaults for all install media, which may be involved in why wifi works under kexec
orivej has quit [Ping timeout: 272 seconds]
Rovanion has quit [Ping timeout: 250 seconds]
<ixxie> there is boot.kernelPackages.broadcom.sta but none of the options you describe
winem_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46055 → zfs-unstable: 2018-08-13 -> 2018-09-02 → https://git.io/fABML
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA0we
<ixxie> shall I add them?
<clever> sure
<clever> you can always experiment and remove them later, once its working, since you will have grub to undo
Fare has quit [Ping timeout: 240 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
<jD91mZM2> Pinging Mic92_ for my finding above, he seems to have been the one to make the /etc/services file
sigmundv has quit [Ping timeout: 240 seconds]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
mayhewluke has joined #nixos
<ixxie> hmm no luck :(
<clever> ixxie: does the interface appear in `ip link` ?
spear2 has quit [Quit: Leaving]
JonReed has joined #nixos
<Mic92_> jD91mZM2: apple ...
<Mic92_> I guess I will just drop those.
<Mic92_> what applications does this break?
sbdchd has quit [Ping timeout: 244 seconds]
<ixxie> yeah it does, I think... enp1s0f0
<clever> Mic92_: semi-related, ive seen haskell programs hard-fail when /etc/protocols is missing, because it doesnt know what tcp is
<clever> ixxie: thats ethernet, not wifi
<d1rewolf> anyone using vscode on unstable? Suddenly, it crashes for me when trying to open a directory
<ixxie> clever: and lo doesn't count right? thats the loopback thingy
<clever> ixxie: correct
georges-duperon has joined #nixos
<ixxie> hmm
<clever> ixxie: what modules did lsmod show as being loaded?
<jD91mZM2> Mic92_: Nothing, just got some weird issues with relibc
<jD91mZM2> Made it just ignore invalid lines, but yeah dropping these should be good
orivej has joined #nixos
<jD91mZM2> Also made an issue on your GitHub, before I saw your answer on IRC
<{^_^}> Mic92/iana-etc#1 (by jD91mZM2, 3 minutes ago, open): Entry with space
<jD91mZM2> {^_^}: Good bot
<{^_^}> [nixpkgs] @NickHu opened pull request #46106 → profile-sync-daemon: 5.53 -> 6.33 → https://git.io/fA0rl
Fare has joined #nixos
<ixxie> clever: it prints a bunch of stuff
<clever> ixxie: are you able to plug in the ethernet?
Rovanion has joined #nixos
<ixxie> looking for anything in particular
<ixxie> yeah I was just about to say
<ixxie> I can hook it up and install that way xD
<clever> ixxie: pastebin the output of lspci and lsmod, along with the nix files in /etc/nixos/
<clever> ixxie: oh, has it rebooted yet or not?
<ixxie> it hasn't
emerson has joined #nixos
<ixxie> I can't do nixos-install
<clever> ixxie: ah, is the network working in kexec?
<ixxie> well
<ixxie> apparently not
<ixxie> but I can try ethernet
<ixxie> since that interface is up
<clever> ah
<ixxie> just gtg to the other room
<ixxie> hold on
<clever> so the problem is more about not having wifi drivers in the kexec image, and you already wiped the disk
<{^_^}> [nixpkgs] @kalbasit opened pull request #46107 → gocode: c7fddb39 -> 00e7f5ac → https://git.io/fA0o3
<clever> i mainly use kexec remotely, so ssh must be working before i can wipe the disk
<ixxie> yes
<ixxie> yeah figures xD
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46108 → patch-shebangs: respect cross compilation for 18.09 → https://git.io/fA0o9
<ixxie> alright, ethernet works at least xD
_ris has joined #nixos
<ixxie> I think I didn't partition the drive correctly though
<ixxie> I guess I might have to repeat this
<NickHu_> How can I add sudo to the path of a systemd unit?
<clever> NickHu_: why does a systemd unit need sudo?
<NickHu_> If I use the one from the sudo package it complains about not having setuid
<NickHu_> clever: because the software is poorly written in a nutshell
<clever> NickHu_: is it trying to gain root or loose it?
<NickHu_> Gain
<NickHu_> It's a user unit
<clever> ah
<clever> [root@amd-nixos:~]# type sudo
<clever> sudo is /run/wrappers/bin/sudo
<clever> you need to add that PATH
<joepie91> ,locate winscard.h
<{^_^}> Found in packages: pcsclite, wineFull, wineWowPackages.full
stepcut_ has joined #nixos
<joepie91> ,locate asoundlib.h
<{^_^}> Found in packages: alsaLib.dev
georges-duperon has quit [Ping timeout: 252 seconds]
owickstrom has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
<NickHu_> clever: hmm, when I do that it still gives me the error about not being owned by uid 0 and having the setuid bit set
orivej has quit [Ping timeout: 244 seconds]
<clever> NickHu_: did you run /run/wrappers/bin/sudo or `sudo` ?
<NickHu_> I set PATH to include /run/wrappers/bin and ran sudo
<d1rewolf> I'm using node2nix. Building/installing one package.json seems to be removing other installed node packages. any idea why?
tzemanovic has joined #nixos
<d1rewolf> for example, I install @google/clasp. it works. "which clasp" shows it's there. But, if I then do "nix-env -f default.nix -iA @types/google-apps-script", it removes clasp. is this expected behavior?
<clever> NickHu_: did you put it at the start or end of PATH?
<NickHu_> Well, I'm adding a singleton list to systemd.user.service.path
<NickHu_> And no matter where I put it it doesn't seem to prioritise that path
<clever> NickHu_: try prepending in the script, instead of using execstart
<d1rewolf> anyone else using node2nix here?
<NickHu_> clever: Yeah, I'll try something like that thanks
jperras has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #46101 → nix: fix a tiny option bug, make AWS support optional → https://git.io/fA0Yf
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to master: https://git.io/fA069
<NickHu_> ok now I need mount to be in the path
<NickHu_> I know it's in utillinux, but actually the nix puts /nix/store/mxc8rily2la16jagzbpm4vhi036sbvqc-util-linux-2.32.1/bin/mount in the path, but the one on my system is /nix/store/bi65cgbck0bfyrq82r8bx621s0c08wqa-util-linux-2.32.1-bin/bin/mount
<NickHu_> Furthermore, I get no such file or directory: /nix/store/mxc8rily2la16jagzbpm4vhi036sbvqc-util-linux-2.32.1/bin/mount even though I just built it, so I don't know what is going on
<NickHu_> Maybe I should be taking the path from something other than pkgs.utillinux?
sigmundv has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
<NickHu_> oh apparently mount is in utillinux.bin
<ixxie> running into an error saying it can't open /mnt/nix/var/nix/db/big-lock because its a read-only filesystem
<ixxie> (I just used parted to make a boot / main partition so maybe I screwed up)
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix. »: https://git.io/fA0ir
<phry> is there a way to pass a --arg argument to nix-build to a config that is included by the main config?
<phry> I'm calling `nix-build '<nixpkgs/nixos>' -A config.system.build.image --arg configuration './.' --arg hostId 254` and would like to access "hostId" from a config that is included from ./default.nix
<ixxie> clever, any ideas?
<phry> ixxie: a shared boot/main partition is no problem. are you getting that error while installing? /mnt/nix doesn't look like a normal running system
<clever> ixxie: what does mount report?
<clever> ixxie: was anything mounted when re-partitioning?
<d1rewolf> how would one track down where something like nodeEnv.buildNodePackage is defined?
* ixxie facepalms
<ixxie> forgot to mount it after
<ixxie> or wait
<ixxie> I should mount the main partition only to mnt right?
<clever> all partitions involved in the install should be mounted, in the correct order
<ixxie> currently the whole of sda is mounted to mnt
thekolb has left #nixos [#nixos]
<maurer> ... you should probably partition to /dev/sda1, mkfs on that, and put it on /mnt
<maurer> unless you have a Good Reason to use all of /dev/sda
<clever> yeah
<ixxie> so might as well repartition to have one giant bootable partition no?
<maurer> So, most bootloaders will expect some kind of partition table
<maurer> as will EFI
<maurer> I guess first question: Are you using legacy boot, or UEFI?
<ixxie> this is quite an old machine so MBR
kenshinC1 has joined #nixos
<clever> ixxie: efi also requires a dedicated boot partition
<maurer> OK, if you are using legacy boot, you will want GRUB, which will still strongly perfer that you make a single, very large partition
<maurer> rather than using the entire drive
<maurer> *prefer
<d1rewolf> anyone else using node2nix here?
<maurer> Just pop open fdisk and make a single partition the size of the entire disk
<maurer> mark it bootable
<maurer> mkfs that
<maurer> mount it on /mnt
<maurer> and you should be golden
<clever> as long as your using MBR tables
<maurer> Well, he said he was
<clever> legacy can also boot on GPT, but it needs an extra partition
<d1rewolf> if I use -v with nix-env -i, it tells me the files it evaluates. is there any way to trace the actual commands it executes? installing new npm packages with node2nix is removing *existing* node packages and I'm trying to troubleshoot
<clever> d1rewolf: nix-env -i will always replace any package with a matching name, treating it as an upgrade
<clever> it should say so near the end, its more clearly visible without -v
<ixxie> and it should be bootable I guess xD
<clever> ixxie: grub doesnt really care about the bootable flag
<clever> and boot.loader.grub.device = "/dev/sda"; should be set
<d1rewolf> clever: it's not replacing an existing name though... .installation of @types/google-apps-script npm package removes an existing install of @google/clasp
<clever> d1rewolf: what name does `nix-env -q` show it as?
logzet has joined #nixos
<d1rewolf> clever: node-_at_google_slash_clasp-1.5.3 and node-_at_types_slash_google-apps-script-0.0.27
<clever> d1rewolf: is it listing both at once?
<d1rewolf> clever: no, one is listed until the other is installed.
<d1rewolf> and then the other is no longer installed
<d1rewolf> one sec
<clever> d1rewolf: its parsing the name as "node" and removing the other "node" when installed
<clever> d1rewolf: the name stops at the -
<d1rewolf> clever: oof. is that a bug?
<clever> d1rewolf: id say the packages are poorly named
<clever> d1rewolf: id recomend just using nix-shell -p to get both at once, and not installing either
<ixxie> cheers folks, giving it a shot now
<d1rewolf> clever: for my own reference, who's the namer of the packages in this case?
Fare has quit [Ping timeout: 244 seconds]
<d1rewolf> clever: and how did you determine it's stopping at "node-"?
<d1rewolf> i'd be interested in learning how for future troubleshooting
<clever> d1rewolf: its common for package names to be name-1.2.3, and nix-env matches on name to detect upgrades
revtintin has quit [Quit: WeeChat 1.9.1]
Fare has joined #nixos
<clever> d1rewolf: i cant find any trace of google-apps-script in nixpkgs, what other args are you giving to nix-env?
<d1rewolf> clever: do you have an example of using nix-shell with node packages?
<d1rewolf> nix-env -v -f default.nix -iA @google/clasp
tzemanovic has quit [Ping timeout: 246 seconds]
<clever> ah
<clever> then the names are in that default.nix file
<d1rewolf> after running node2nix -i packages.json to generate the nix files
<clever> then node2nix is responsible for creating those names
<d1rewolf> clever: so likely a node2nix bug?
<clever> yeah, node2nix conflicts with how nix-env works
georges-duperon has joined #nixos
<d1rewolf> clever: actually, oddly enough, none of the generated nix files contain those names
<clever> nix-shell -E 'with import <nixpkgs> {}; let foo = import ./default.nix {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ foo."@google/clasp" foo."@types/google-apps-script" ]; }'
<ixxie> hmmm
<clever> d1rewolf: try the above command
<ixxie> the installer fails with 'failed to check file system type of "/boot": No such file or directory
<ixxie> do I just mkdir /mnt/root?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #46110 → jackett: update mono to 5.8 → https://git.io/fA0Xz
<d1rewolf> clever: I get: error: syntax error, unexpected '{', expecting '.' or '=', at (string):1:82
<clever> ixxie: a: why make root when it failed on boot?
<clever> d1rewolf: nix-shell -E 'with import <nixpkgs> {}; let foo = import ./default.nix {}; in stdenv.mkDerivation { name = "foo"; buildInputs = [ foo."@google/clasp" foo."@types/google-apps-script" ]; }'
<clever> d1rewolf: i missed an "in"
<clever> ixxie: b: did you enable efi by acicdent?
<ixxie> I meant boot
<clever> ixxie: does configuration.nix mention efi?
<ixxie> oh in the config
<ixxie> lemme check
<{^_^}> [nixpkgs] @stites opened pull request #46111 → noti: init at 3.1.0 → https://git.io/fA0X5
<d1rewolf> clever: so the nix files generated by node2nix for, in this case @types/google-apps-script, do specify 'name = "_at_google_slash_clasp", but the "node-" must be being added elsewhere
humanoyd has quit [Quit: WeeChat 2.2]
<clever> d1rewolf: that name= is an argument to another function, which is probably doing that
<ixxie> yeah clever there was some efi option :P
<{^_^}> [nixpkgs] @siers opened pull request #46112 → nix-gitignore: init at v1 → https://git.io/fA0Xx
<ixxie> trying again
<d1rewolf> clever: indeed it is. is there any easy way to track down line #/file of where a function is defined?
sbdchd has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
<clever> d1rewolf: usually, i just grep all of nixpkgs for the name
<d1rewolf> clever: how does one do that, exactly?
<clever> d1rewolf: what is the name of the function?
<d1rewolf> buildNodePackage. I found it in this case by cd'ing to the directory in the store where node2nix is installed and grepping the nix files there, but was curious if there was an easier way?
<{^_^}> [nixpkgs] @xeji merged pull request #46107 → gocode: c7fddb39 -> 00e7f5ac → https://git.io/fA0o3
<{^_^}> [nixpkgs] @xeji pushed commit from @kalbasit to master « gocode: c7fddb39ecbc9ebd1ebe7d2a3af473ed0fffffa1 -> 00e7f5ac290aeb20a3d8d31e737ae560a191a1d5 (#46107) »: https://git.io/fA01Z
oscarvarto has joined #nixos
foldingcookie has joined #nixos
sbdchd has quit [Ping timeout: 272 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @taktoa opened pull request #46113 → v8_6_x: 6.2.414.27 -> 6.9.427.14 → https://git.io/fA01o
sbdchd has joined #nixos
alexteves has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 240 seconds]
alexteves has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<ixxie> hmm the install fails now because the MBR setup has no 'post-MBR gap' and 'GRUB can only be installed in this setup using blocklists' which are deemed unreliable
<d1rewolf> clever, so it's literally a one character change to fix. however, I assume to fix and use my own version of node2nix I'd have to download and build my own version of it? In other words, simply cd'ing to the appropriate store directory and editing the file there won't work will it? or will that work/persist until the next nixos-rebuild?
<d1rewolf> clever: you'd think with something used as widely as node2nix that this would've come up before
* d1rewolf scratches head
fzer00 has quit [Remote host closed the connection]
fzer0 has joined #nixos
<rain1> How should I manage emacs packages in nixos?
<d1rewolf> ah...read only filesystem. so i'll have to rebuild :/
<clever> d1rewolf: nixos mounts it read-only to stop you from doing that
<clever> d1rewolf: yeah, things break in nasty ways if you edit anything in /nix/store/
<{^_^}> [nixpkgs] @nyanloutre opened pull request #46114 → jackett: 0.9.41 -> 0.10.160 → https://git.io/fA0DG
<d1rewolf> clever: is there an official guide somewhere for downloading/building your own version of a package?
<clever> d1rewolf: yeah, check the nixpkgs manual, under overriding
<ixxie> clever: does a GPT table require two partitions?
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nyanloutre closed pull request #46110 → jackett: update mono to 5.8 → https://git.io/fA0Xz
<d1rewolf> clever: will do. thx much
<ixxie> the manual says one should be swap
<clever> ixxie: yeah, you need a bios boot partition, 1mb in side, not formated, not mounted
<clever> ixxie: thats required to boot legacy on gpt
<clever> swap is optional
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9b2e0e8b0c1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/dea9a04ae6f (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7357961cf4c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d19572fdc92 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bf2a90298ab (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dea9a04ae6f (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
sbdchd has joined #nixos
<ixxie> clever: so the first partition is boot and spans from say 1MiB to 3MiB, then the rest can be the main one
<gchristensen> ^ had a bit of a bug in the script, sorry for the spam
<das_j> Hypothetically - if I remove all content from /nix/var/nix/gcroots, would the collector collect my running system?
<clever> ixxie: yeah
<gchristensen> das_j: on nixos?
<das_j> gchristensen: Yes
<gchristensen> das_j: no
<das_j> Why not?
<clever> das_j: it cant connect binaries that are running
<gchristensen> there are also gc roots here:
<gchristensen> /run/booted-system -> /nix/store/hh8pv9l4jdpiiq730wwpy077m8bbn7hy-nixos-system-Morbo-18.09beta11.c0bde692f6c
<gchristensen> /run/current-system -> /nix/store/dnav78899c8y36a2id7azi3ja8a38lrs-nixos-system-Morbo-18.09beta11.c0bde692f6c
<{^_^}> [nixpkgs] @oxij opened pull request #46115 → Follow up to #43547 → https://git.io/fA0DV
<clever> lrwxrwxrwx 1 root root 18 Sep 3 22:34 /nix/var/nix/gcroots/booted-system -> /run/booted-system
<gchristensen> and also Nix inspect the running process list to hunt for paths currently in use
<clever> gchristensen: those only work because of the symlink i just pasted
<das_j> gchristensen: Aaah, that makes sense
chessai has joined #nixos
<das_j> Thanks for clearing that up
<clever> if gcroots is empty, nix wont care about /run/booted-system
<clever> any path in any env variable is a root
<gchristensen> clever: huh? really?
<clever> along with all mmap'd binaries, the exe being ran, and the working directory
<{^_^}> [nixpkgs] @stites opened pull request #46116 → prettyping: init at 1.0.1 → https://git.io/fA0DM
<gchristensen> oh sure enough, clever
<clever> gchristensen: thats the most obvious reason for booted and current to be symlinked under gcroots
<gchristensen> das_j: ok yeah don't delete all the gcroots :D
orivej has joined #nixos
<clever> gchristensen: related, ive seen many users who somehow break ~/.nix-profile
<gchristensen> me too
<gchristensen> (I've done it and broken my system)
<clever> and rather then being a symlink into profiles, its directly in home
<gchristensen> (I've done it and broken Hydra's macs, even!)
<clever> :D
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42295 → Libprefixed to multioutput/heimdal → https://git.io/fswf6
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/fA0DF
oscarvarto has quit [Quit: Leaving]
<ixxie> clever: but in the GPT case do I need to flag the boot partition as bootable?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c3796a7d1b6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<das_j> gchristensen: Sounds like a legitimate tip
kisik21 has joined #nixos
<gchristensen> oh?
<Denommus> how can I make port forwarding for NixOS containers declaratively?
<das_j> s/tip/hint/
<clever> ixxie: still doesnt matter that much, since grub embeds the location of the bios boot partition into the MBR
Mr_Keyser_Soze has joined #nixos
ryantrinkle has joined #nixos
sbdchd has quit [Remote host closed the connection]
<ixxie> clever: so now I set boot.loader.grub.device to the boot parition and mount the other one to /mnt?
<ryantrinkle> does anyone know why this build, which has evaluation errors, would be marked with a green check in the project dashboard in hydra? https://hydra.reflex-frp.org/jobset/reflex-platform/reflex-platform-pr-323
<clever> ixxie: it must still be set to /dev/sda
<ixxie> ok
<ryantrinkle> is there some setting i can use to tell hydra that evaluation failure count as failures?
adamantium has joined #nixos
<clever> ixxie: grub will then install it into the MBR of sda, and put stage1.5 into the bios boot partition it finds
alexteves_ has joined #nixos
sbdchd has joined #nixos
<clever> ryantrinkle: the last eval to pass was all green, and a complete eval failure doesnt make a new eval
<ixxie> clever: so how does it know which partition to use?
<clever> ixxie: i believe grub just scans the GPT tables and picks one
<d1rewolf> node2nix doesn't seem to be defined in nixpkgs repo. any idea how it's being install then?
<ixxie> clever: I hope intelligently xD
<ixxie> but I suppose its easy to spot the smaller partition
<clever> ixxie: id hope you only have a single bios boot partition
<clever> ixxie: its using the type code that you must set
<ryantrinkle> clever: that seems like a bizarre way for it to work
<ryantrinkle> is there a logic to it that i'm missing?
<ixxie> I didn't flag it! that is what I asked before
<clever> ryantrinkle: hydra can only create an eval when it has jobs to put in it
<ixxie> do you happen to remember the fdisk code?
<d1rewolf> how can one track down the various nix files used to build an executable?
<ryantrinkle> clever: got it
<clever> 4 BIOS boot 21686148-6449-6E6F-744E-656564454649
<clever> ixxie: its right at the top of the type codes in fdisk
<ryantrinkle> still doesn't make much sense to me in the actual problem domain (i.e. i want my project to work :P)
<ryantrinkle> but i get it at the hydra level, thanks :)
<ixxie> yeah the problem is it prints out the whole table and there is no pgup on the macbook keyboard xD
<d1rewolf> for example, node2nix? I checked out git@github.com:NixOS/nixpkgs.git, but afterwards 'find nixpkgs -name "*node2nix*"' shows nothing
alexteves has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 84 commits to gnome-3.30: https://git.io/fA0yi
<clever> ryantrinkle: it looks like your passing libraryFrameworkDepends to the haskell mkDerivation, and your nixpkgs doesnt support that flag
<clever> ryantrinkle: you may have the wrong nixpkgs revision
<clever> d1rewolf: how did you originally install node2nix?
<ixxie> clever: so now I mount the whole of /dev/sda to /mnt or just the non-boot partition?
<d1rewolf> clever: I don't have a record of it, but I believe with nix-env -f '<nixpkgs>' -iA nodePackages.node2nix
<d1rewolf> at least, that's per the docs
<clever> > nodePackages.node2nix.meta.position
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/development/node-packages/node-packages-v8.nix:43866"
<clever> d1rewolf: its defined in that file, on line 43866
<clever> ixxie: you mount the rootfs to /mnt, which is the bigger partition
<d1rewolf> clever: ok, great, thank you
<clever> 2018-09-05 15:44:42 < clever> ixxie: yeah, you need a bios boot partition, 1mb in side, not formated, not mounted
<clever> ixxie: last point
<ixxie> okay so I am set now
<ixxie> thanks
<ixxie> gonna try again
<d1rewolf> clever: would you use meta.position to track it down via the repl if you wanted to do it from the command line?
<gchristensen> d1rewolf: usually I searchfor "node2nix =" https://search.nix.gsc.io/?q=node2nix%20%3D
<clever> d1rewolf: that or nix edit
sbdchd has quit [Remote host closed the connection]
stphrolland has joined #nixos
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @renatoGarcia opened pull request #46117 → snakemake: add maintainers → https://git.io/fA0Sn
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/068f437ddad (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
sbdchd_ has joined #nixos
<d1rewolf> clever, trying "nix edit -I '<nixpkgs>' nodePackages.node2nix" doesn't work. Can you tell me where my syntax is wrong?
alexteves_ has quit [Quit: Leaving]
tmaekawa has joined #nixos
<clever> d1rewolf: nix edit nixpkgs.nodePackages.node2nix
<d1rewolf> ah, k. thank you
<ixxie> hmmm
<ixxie> well
<ixxie> the good news is the installation succeeded
teej has joined #nixos
<ixxie> but the bad news is it will not boot anymore
<{^_^}> [nixpkgs] @xeji closed pull request #46116 → prettyping: init at 1.0.1 → https://git.io/fA0DM
<ixxie> maybe it wasn't as old as I thought and it was UEFI after all?
tmaekawa has quit [Client Quit]
<clever> ixxie: if nixos-generate-config enabled uefi, then it supported uefi
sbdchd_ has quit [Remote host closed the connection]
<ixxie> yeah
<ixxie> I was wondering about that
<clever> ixxie: you will need to disable uefi in the config to be able to boot legacy
<ixxie> yeah but how to do that when the device will no longer boot xD
<clever> you can only edit that config when an OS is not running
<ixxie> I guess I should be able to access some kinda bios or maybe even boot from usb
<clever> f12 while turning it on
<clever> or del, or f2, or try a hand-stand, lol
<clever> it has to be disabled in the firmware, not the os
rfold has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46076 → trivial: treewide: random noop cleanups → https://git.io/fARm3
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/fA09u
<ixxie> uurgh stupid macs
<clever> oh, you didnt mention that
<clever> you cant disable uefi on a mac
<ixxie> so basically I bricked it?
<clever> yeah
<ixxie> :(
<clever> you must boot from an EFI usb stick to recover it
<ixxie> oh so not completely brick
<ixxie> ed
<ixxie> okay
<ixxie> good
<ixxie> well that is for tomorrow
<ixxie> thanks for all the help!
<ixxie> clever++
<clever> i'm assuming thats enabled, since you had linux on it before
<{^_^}> clever's karma got increased to 22
martingale has quit [Quit: Textual IRC Client: www.textualapp.com]
<ixxie> clever: lets home so
<ixxie> hope*
<d1rewolf> clever++
<{^_^}> clever's karma got increased to 23
<clever> ixxie: one min
<d1rewolf> ha...didn't realize that was a thing
<ixxie> but yeah the previous install was ubuntu via USB stick afair
martingale has joined #nixos
<clever> ixxie: read this for the horror stories of what could have happened, if you had a newer mac:P https://michaellynn.github.io/2018/07/27/booting-secure/
johanot has joined #nixos
mbrgm has quit [Remote host closed the connection]
<clever> basically, you would have to do a complete darwin install, just to disable secure boot
<ixxie> damn
<ixxie> crazy stuff
<ixxie> well I will try the salvage tomorrow or the weekend
<ixxie> thanks for the help!
<ixxie> have a good one
acarrico has quit [Ping timeout: 272 seconds]
<ixxie> (next time I will be more carefull.... I say every time)
* ixxie waves goodbye
ixxie has quit [Quit: Lost terminal]
Fare has quit [Ping timeout: 252 seconds]
Fare has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « fetchurl: Respect unpack »: https://git.io/fA0H4
<{^_^}> [nix] @edolstra pushed 2 commits to 2.1-maintenance: https://git.io/fA0HE
<d1rewolf> sigh...sometimes I wish for nixos without nix and with a more even command line interface :(
<emily> nixos without nix ...
<symphorien> guixsd maybe ?
<d1rewolf> symphorien: and without religious zealotry ;)
<hodapp> nixos without nix? how?
<symphorien> your demands start to be difficult to fulfil :)
<d1rewolf> hodapp: what I mean is a os like nix, but with a more mainstream language
<emily> if only I could use NixOS without OS.
<hodapp> d1rewolf: oh, so you are talking about the Nix language, not so much the build system
<emily> w-well, Scheme is marginally more mainstream than Nix
<andi-> grml grml.. carnix and binaries in packages that fail to compile.. I don't want binaries/examples of my lib dependencies :/ I can't figure out why an override for `crateBin = []` isn't sufficient :/ Anyone encountered that before? (trying to add brotli to deps..)
Mr_Keyser_Soze has quit [Ping timeout: 252 seconds]
<hodapp> emily: it's a pretty established language in all sorts of niches... I'd call it more than marginally mainstream :P
<emily> hodapp: *nods* but somehow I'm not sure that someone wanting something more mainstream than Nix would be satisfied with guix?
owickstrom has quit [Ping timeout: 272 seconds]
mbrgm has joined #nixos
<hodapp> emily: in the land of declarative anything, I don't know how mainstream one can really go
<emily> yeah
<emily> JSON :p
<hodapp> bleh
<symphorien> with comments please
<hodapp> comments... aren't the problem :P
<symphorien> only one
<gchristensen> json doesn't _do_ stuff
<emily> hodapp: be thankful. JSON is the reason what gets exchanged can be called "data" at all.
<maurer> emily: json is missing both laziness and computation
<emily> otherwise we'd probably be throwing around snippets of actual javascript or something.
<maurer> You kinda need both of those to get a nix-like structure
<elvishjerricco> NixOS module system is a godsend.
<elvishjerricco> JSON really can't even enter the competition
stranger___ has quit [Quit: Connection closed for inactivity]
<emily> maurer: it was a joke about JSON being the most mainstream you can go while still being declarative
<emily> since, well. it is
<d1rewolf> clever, I've verified that moving "node-" to the end as "-node" fixes the issue. I'm working up a patch now, but was curious...would it better to prefix, iyo, with something like "node:" or some other symbol nix doesn't treat specially, or should i just move to the end as I've already done?
<clever> d1rewolf: not sure, we will find out more when a PR is filed and the maintainer of node2nix can comment on it
* d1rewolf nods
<das_j> Is there a way to specify channels in configuration.nix?
booglewoogle has joined #nixos
Guest38792 has joined #nixos
Guest38792 has left #nixos ["Textual IRC Client: www.textualapp.com"]
sbdchd has joined #nixos
<clever> das_j: not really, its too late to change the channel once configuration.nix is being loade
<clever> d
<{^_^}> [nixpkgs] @xeji merged pull request #46117 → snakemake: add maintainers → https://git.io/fA0Sn
<{^_^}> [nixpkgs] @xeji pushed commit from @renatoGarcia to master « snakemake: add maintainers (#46117) »: https://git.io/fA07z
<das_j> clever: So I cannot even set it for the next time?
<clever> das_j: https://nixos.org/nixos/options.html#autoupgrade could maybe do it, but i wouldnt recomend using that option
<das_j> Yeah, I need two channels so that wouldn't work
<das_j> Looks like I need to implement my own module :/
<d1rewolf> clever: I opted for "node_". bug and pr created. thanks for your help again (https://github.com/svanderburg/node2nix/issues/110)
<{^_^}> svanderburg/node2nix#110 (by jbwiv, 1 hour ago, open): "node-" being added to the package name causes conflicts
kisik21 has quit [Ping timeout: 272 seconds]
ersran9 has quit [Ping timeout: 252 seconds]
lawlesseel has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43833 → patch-shebangs: respect cross compilation → https://git.io/fNcS2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fA05W
<d1rewolf> is there a way to run nix-env, specify a nix to parse, and then have it list out valid attributes found after parsing?
winem_ has joined #nixos
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/fA05F
<{^_^}> [nix] @edolstra merged pull request #2392 → Improve stats → https://git.io/fAlsh
<{^_^}> [nixpkgs] @oxij opened pull request #46119 → bintools-wrapper, cc-wrapper, stdenv: infer propagateDoc automatically → https://git.io/fA0df
<clever> d1rewolf: thats a job for nix-instantiate
<clever> though nix-env -qA can also do it
<d1rewolf> clever: cool, thx
<das_j> How can I check if a variable is defined?
stphrolland has quit [Ping timeout: 240 seconds]
mkoenig has quit [Remote host closed the connection]
<das_j> Oh never mind, there is another way to solve my problem. Still curious if that's possible
stphrolland has joined #nixos
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @mkaito opened pull request #46120 → buildkite-agent: rename option meta-data to tags → https://git.io/fA0Fl
<cransom> if a variable isn't defined, you'll an error at bulid time. if you are checking for an attribute exists, check the ? in https://nixos.org/nix/manual/#table-operators
stepcut_ has quit [Read error: Connection reset by peer]
<das_j> aah, that was I was looking for, thank you
tzemanovic has joined #nixos
laduke-13 has left #nixos ["WeeChat 2.1"]
<elvishjerricco> samueldr: Ah ha! I think I found another clue for our bluetooth problem. I *think* it only happens when the display manager exits uncleanly
noam_ has joined #nixos
<elvishjerricco> Like, it's happened when I run `sudo systemctl restart display-manager.service` from a terminal running under the display manager
noam has quit [Read error: Connection reset by peer]
<samueldr> maybe yours... hopefully it's a repro for the same base issue, but in my case it happens randomly from getting out of suspend or a fresh boot with really low chances :/
<samueldr> (in all cases, the DM process is not affected AFAICT)
Freechicks has joined #nixos
<samueldr> though, possible it's the same base issue!
<elvishjerricco> Ah, I literally never suspend, so that may also be a cause for me. I think I've had it happen on boot now that you mention it though...
<clever> elvishjerricco: what if you simply `pactl exit` ?
mkoenig has joined #nixos
<elvishjerricco> clever: Dunno. Never done that before.
mkoenig has quit [Client Quit]
<samueldr> elvishjerricco: refresh people's mind of your issue
<clever> elvishjerricco: try that when its working, and see if it recovers on its own
stepcut has joined #nixos
<elvishjerricco> It recovered instantly :P
mkoenig has joined #nixos
<joko> elvishjerricco: what's the issue?
aristid has quit [Quit: WeeChat 2.1]
<elvishjerricco> Issue is that sometimes, in unclear circumstances, my machine becomes unable to make bluetooth connections. I forget the precise error message. Something like "Protocol is unavailable"
<samueldr> mine is that somehow sometimes the bluetooth connection simply won't take with the headset... but deleting the pairing, and re-pairing works (IIRC, long time since it happened *touches wood*)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/72deac4893a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<samueldr> same message that elvishjerricco has/had
<joko> elvishjerricco: are you using wi-fi?
<elvishjerricco> joko: I don't think I have my wi-fi card disabled, but I'm also not using it
aristid has joined #nixos
<joko> And you're both experiencing this with headsets?
<elvishjerricco> yea
baimafeima has joined #nixos
<clever> joko: my wireless headset uses a proprietary USB dongle, it claims to be a usb sound card with HID features, so it just appears as a normal device in alsa, and also acts like a usb keyboard at times
stepcut has quit [Ping timeout: 252 seconds]
<clever> other then some problems with the capture buffer building up latency in pulseaudio, it has never had any serious driver or connection problems
noam has joined #nixos
<clever> logitech g930 is the model
<joko> One thing I can think of is rfkill, check if bluetooth gets blocked and the other is pulseaudio (of course). Lately I have to kill the latter at startup, so that it works properly
<clever> and unlike a lot of bluetooth users, the capture/playback device is still present when the headset disconnects
<clever> so pulseaudio wont crap its pants and disconnect applications in a damaging way
<joko> I tend to agree with clever, the most possible cause for me would be pulseaudio
<joko> clever: I also have an old Sound Blaster headset with USB connection, but I think it is not emulating a USB keyboard
noam_ has quit [Read error: Connection reset by peer]
noam__ has joined #nixos
<clever> joko: the usb keyboard bits allow it to report volume up/down events when i scroll the volume knob, and previous, play/pause, next, when i push the G1/G2/G3 buttons
noam has quit [Read error: Connection reset by peer]
<joko> clever: quite convenient, I see
<clever> joko: the only anoying part, is that the low battery beep, is implemented by windows-only software
<clever> it measures the battery level via an unknown method, and then just plays a beep over the audio channel
<clever> so linux just lacks a low battery warning, and the headset just dies
<clever> the low battery LED is imposible to see if you are actually using the headset
<srhb> This sounds like a problem that can be solved with cleverly placed mirrors.
<clever> the LED is pointing down and backwards
<srhb> More mirrors!
<clever> and your shoulder is going to be in the way :P
<{^_^}> [nixpkgs] @xeji merged pull request #46071 → nixos/tests/opensmtpd: prevent non-deterministic failure → https://git.io/fARUb
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/opensmtpd: prevent non-deterministic failure (#46071) »: https://git.io/fA0At
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
<joko> LOL
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « nixos/tests/opensmtpd: prevent non-deterministic failure (#46071) »: https://git.io/fA0AR
joko has quit [Quit: leaving]
<cransom> attach an esp8266 and very carefully attach a gpio to the led output, done.
acarrico has joined #nixos
<clever> cransom: i have had plans to just replace the entire board with something like a esp8266, and just make it purely wifi based :P
<tokudan[m]> can someone give me a tip and tell me which derivation i can find libffmpeg.so in or how I can find that out myself? it's not in my /nix/store
<clever> ,locate libffmpeg.so
stphrolland has quit [Ping timeout: 252 seconds]
<{^_^}> Found in packages: marp, qmmp, atom, nwjs, hyper, pencil, inboxer, and 17 more
<tokudan[m]> oh... nice
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
<tokudan[m]> thanks
<clever> tokudan[m]: it doesnt appear to be part of any proper package, it just happens to be included with a bunch of random things that shipped their own libffmpeg.so
<tokudan[m]> yeah, i see
<tokudan[m]> similar to my package, i guess
<clever> it may help to see how it compares to the library ffmpeg provides
<clever> hmmm, it has many, but not an ffmpeg
joko has joined #nixos
stphrolland has joined #nixos
<clever> tokudan[m]: i also remember something about libffmpeg.so being just a different build mode, where it puts all the libs into one .so file
<tokudan[m]> possible, i guess i just have to figure out how to tell patchelf to load the local lib from the same directory as the binary
<tokudan[m]> https://github.com/NixOS/nixpkgs/blob/6c72782d364149c7cfea1ea69fdbc1133acc80b5/pkgs/applications/misc/hyper/default.nix#L30 <- there's a set-rpath "${libPath}:\$ORIGIN"... what does that $ORIGIN mean there? is that the dir that the binary is in? it's not defined in the derivation
<{^_^}> [nixpkgs] @nrdxp opened pull request #46121 → kakoune-lsp-client: init 5.2.1 → https://git.io/fA0xH
<tokudan[m]> oh my god... fixing a small typo get's rid of that library issue...
<{^_^}> [nixpkgs] @xeji merged pull request #46042 → nixos/activation: fix activation script for non-POSIX shells (retry) → https://git.io/fABYb
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « nixos/activation: fix activation script for non-POSIX shells (#46042) »: https://git.io/fA0xh
<tokudan[m]> clever: thanks, that's a very useful read
mayhewluke has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @oxij closed pull request #46119 → bintools-wrapper, cc-wrapper, stdenv: infer propagateDoc automatically → https://git.io/fA0df
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to release-18.09 « nixos/activation: fix activation script for non-POSIX shells (#46042) »: https://git.io/fA0pk
mayhewluke has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
jperras has quit [Quit: WeeChat 2.2]
mizu_no__ has joined #nixos
trevthedev has quit [Ping timeout: 252 seconds]
oscarvarto has joined #nixos
kenshinC1 has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: leaving]
stphrolland has quit [Ping timeout: 252 seconds]
mkoenig has quit [Remote host closed the connection]
<oscarvarto> Hi! I configured vscode-with-extensions. I added ms-python.python extension and VSCode shows it is "installing" the extension. But it isn't doing anything :(
<oscarvarto> Anyone else experiencing this? Is it a known problem? Or how can I debug the installation?
mkoenig has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
acarrico has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #46122 → gnu-smalltalk: fix build → https://git.io/fA0h5
dbmikus_ has quit [Ping timeout: 246 seconds]
simukis has quit [Ping timeout: 245 seconds]
<tobiasBora> Baughn: has the new PR of zfs been pushed in nixos 18.03?
<Baughn> ... Which PR?
<{^_^}> [nixpkgs] @utdemir opened pull request #46123 → kakoune: 2018.08.05 -> 2018.09.04 → https://git.io/fA0jo
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @erosennin opened pull request #46124 → pythonPackages.pymetar: 0.21 -> 1.0 → https://git.io/fA0jy
<tobiasBora> Baughn: the wiki says that zfs recently included a big PR to move to a new encryption scheme, and I wanted to know if 18.03 uses this new encryption, or if I'll need to migrate in 2 months
trevthedev has joined #nixos
tertl3 has joined #nixos
sb0 has quit [Ping timeout: 252 seconds]
sb0 has joined #nixos
<Baughn> Ah. I don't know.
lopsided98 has quit [Quit: Disconnected]
acarrico has joined #nixos
lopsided98 has joined #nixos
lopsided98 has quit [Remote host closed the connection]
<tobiasBora> ok thanks
lopsided98 has joined #nixos
<tobiasBora> Does anyone knows here if nixos provides a way to boot from an ISO? Something like the iso-scan/filename=$isofile in ubuntu: iso-scan/filename=$isofile
tzemanovic has joined #nixos
<tobiasBora> of the findiso=$iso_path of Debian
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<oscarvarto> Help! How can I compute the sha256 for a vscode extension?
<{^_^}> [nixpkgs] @ashgillman opened pull request #46125 → python.pkgs.nipype: Futures is python 2 only. Also fix building. → https://git.io/fAEft
<makefu> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
sbdchd has quit [Remote host closed the connection]
<JonReed> oscarvarto: When the build fails it shows which sha it expects
<elvishjerricco> gchristensen: Ping
<JonReed> oscarvarto: If you know url or path, then `nix-prefetch-git <url>` or for file `nix-prefetch-url file:///home/...`
<JonReed> oscarvarto: `nix-prefetch-url` *
kenshinC1 has joined #nixos
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.py3status: fix build »: https://git.io/fAEf2
<{^_^}> [nixpkgs] @dotlambda pushed to release-18.09 « python.pkgs.py3status: fix build »: https://git.io/fAEfi
shymega has quit [Quit: Ciao.]
<elvishjerricco> tobiasBora: You can replace `installation-cd-minimal.nix` with any NixOS module that has that file in its `imports`, if you want custom configuration in the live CD
shymega has joined #nixos
<oscarvarto> JonReed, Thanks!
Ariakenom has quit [Read error: Connection reset by peer]
sbdchd has quit [Ping timeout: 244 seconds]
<tobiasBora> elvishjerricco: Well, the thing is that I've no idea how I could add an option to the kernel to deal with findiso stuff...
Growpotkin has joined #nixos
<Growpotkin> hey has anyone gotten ghci with color working with nix-shell?
Fare has quit [Ping timeout: 272 seconds]
stepcut has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Client Quit]
<elvishjerricco> tobiasBora: Can't say I know what findiso is
kenshinC1 has quit [Ping timeout: 240 seconds]
grp has joined #nixos
<oscarvarto> JonReed, do you know why ms-python.python extension doesn't finish installing? Maybe because it cannot install dependencies?
<elvishjerricco> Growpotkin: It's always worked out of the box for me
<{^_^}> [nixpkgs] @flokli opened pull request #46126 → pythonPackages: cleanup gmpy[2], add phe → https://git.io/fAEJ5
oscarvarto has quit [Quit: Leaving]
<JonReed> oscarvarto: Can you paste somewhere the output when you try to build?
<grp> clever: ping
baimafeima has quit [Quit: Leaving]
<tobiasBora> elvishjerricco: Well if I understand correctly, when you boot on a given os, you run a kernel and an initramfs. Then, to actually run the real OS, the kernel needs to find the full OS tree, so usually you provide the partition on which the OS is located using root=... . But in my case, I'd like to avoid to burn the iso to an actual partition, and I'd like to simply copy/paste the iso on my key. So I can't use
<tobiasBora> anymore root=LABEL=... because the real OS is not on a partition anymore, but inside an iso key. What most distro do, if I understand correctly, is that they add an option that replace root=... with the equivalent functionality, but for iso, so instead of specifying a partition, you specify a file: findiso=<put here the iso name>.
trevthedev has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<elvishjerricco> tobiasBora: And what's wrong with the `installation-cd-minimal.nix`?
<Growpotkin> elvishjerrico: do you include "ghci-pretty" in ghcWithPackages ?
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
grp has quit [Quit: box shutting down...]
<tobiasBora> elvishjerricco: well I don't know if there is an option like "findiso" in nixos, as every OS seems to have it's own definition... If you tell me that installation-cd-minimal.nix is the solution, it would be great, but then what's the name of this option to provide an iso instead of a partition, and how do you use it?
pschuprikov has joined #nixos
<elvishjerricco> Growpotkin: No
<{^_^}> [nixpkgs] @Mic92 pushed to staging « iana-etc: 20180711 -> 20180905 »: https://git.io/fAEU2
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<elvishjerricco> tobiasBora: I guess I'm still not really following what you're goal is... If you're just looking to make your own live CD, then `installation-cd-minimal.nix` is what you're looking for.
<tobiasBora> elvishjerricco: installation-cd-minimal.nix will provide me a .iso right?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46127 → gcc-*: Clean up crossStageStatic logic → https://git.io/fAEUi
<elvishjerricco> Yea
<Growpotkin> elvishjerricco: so how did you go about it? I think i'm just missing something subtle
<{^_^}> [nixpkgs] @Mic92 pushed to staging-18.09 « iana-etc: 20180711 -> 20180905 »: https://git.io/fAEU5
<elvishjerricco> Growpotkin: I thought you were just talking about the default colors in GHCi. I've never had color problems with anything I've used. I don't know what ghci-pretty is
<tobiasBora> elvishjerricco: then the usual way to use this .iso is to burn it on a usb stick/CD/... right?
trevthedev has quit [Ping timeout: 240 seconds]
<elvishjerricco> Yea
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
<tobiasBora> elvishjerricco: Now, what happen if I don't want to burn it on a usb stick, but instead of burning, I just want to copy/paste the .iso into the filesystem (say FAT32) of the usb key, manually install grub on this usb stick, and ask to grub to start this .iso using more or less the same menuentry as the one provided inside the .iso?
<elvishjerricco> Oh! Yea I have no idea :P Sorry
cryptix has quit [Remote host closed the connection]
<tobiasBora> ahah no problem ;)
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kwork has quit [Ping timeout: 240 seconds]
<tobiasBora> Is there a list of all the options that the NixOs linux kernel accepts? (like nomodeset, root=...)
acarrico has quit [Ping timeout: 244 seconds]
vaibhavsagar has quit [Read error: Connection reset by peer]
vaibhavsagar has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c3796a7d1b6 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
mkoenig has quit [Ping timeout: 272 seconds]
mkoenig has joined #nixos
ryantrinkle has quit [Ping timeout: 252 seconds]
pschuprikov has quit [Quit: Lost terminal]
kwork has joined #nixos
logzet has quit [Remote host closed the connection]
vaibhavsagar has quit [Ping timeout: 252 seconds]
Ridout has joined #nixos
georges-duperon has quit [Ping timeout: 252 seconds]
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 252 seconds]
hxrts_ has joined #nixos
Denommus has quit [Remote host closed the connection]
tzemanovic has joined #nixos
hamishmack has joined #nixos
erasmas has quit [Quit: leaving]
hxrts_ has quit [Ping timeout: 245 seconds]
hxrts_ has joined #nixos
rardiol has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
Growpotkin has quit [Quit: Leaving.]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/76b654c4d5c (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
hellrazor has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46122 → gnu-smalltalk: fix build → https://git.io/fA0h5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAEtZ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @xeji to release-18.09 « gnu-smalltalk: fix build »: https://git.io/fAEtW
theunknownxy has quit [Quit: theunknownxy]
ilikeheaps has quit [Ping timeout: 240 seconds]
teej has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAEtx
<{^_^}> [nixpkgs] @Mic92 merged pull request #46123 → kakoune: 2018.08.05 -> 2018.09.04 → https://git.io/fA0jo
sbdchd has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
sbdchd has quit [Ping timeout: 272 seconds]
Mr_Keyser_Soze has joined #nixos
BlessJah_ has quit [Remote host closed the connection]
winem_ has quit [Ping timeout: 240 seconds]
Mr_Keyser_Soze99 has joined #nixos
mkoenig has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze has quit [Read error: Connection reset by peer]
jperras has quit [Quit: WeeChat 2.2]
ryantrinkle has joined #nixos
Notkea has quit [Ping timeout: 240 seconds]
<colemickens> "nix copy" seems to hang at times?
mkoenig has joined #nixos
<colemickens> It took a surprisingly long time to copy 400MB on an NVMe
<tertl3> hello
<tertl3> i have an error
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/041043420f3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dbmikus__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.1.1: https://git.io/fAEmL
<makefu> tertl3: is your system an arm or aarch64? it seems something funny happened with your nixos-rebuild binary
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.1: https://git.io/fAEmq
<tertl3> no, its intel 64 bit
<{^_^}> [nixos-homepage] @edolstra pushed to master « Nix 2.1.1 released »: https://git.io/fAEmm
<tertl3> makefu: its not those things
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: 2.1 -> 2.1.1 »: https://git.io/fAEmO
<tertl3> i mean its not an arm of what not
<tertl3> it wouldnt boot for a while
<makefu> when did this issue appear for the first time?
<tertl3> 2 days ago
<tertl3> w3hen i was messing with external drives
<tertl3> and running tails
<tertl3> and that other one
<makefu> what is the output of 'file /nix/store/igbq74arvrrjrqmav82fg3dl3gzywvh8-nixos-rebuild/bin/nixos-rebuild'
<makefu> nix-shell -p file --run file /nix/store/igbq74arvrrjrqmav82fg3dl3gzywvh8-nixos-rebuild/bin/nixos-rebuild
jrolfs has quit [Ping timeout: 245 seconds]
Notkea has joined #nixos
<makefu> wow something is really wrong with your store
<tertl3> lol
Mr_Keyser_Soze99 has quit [Ping timeout: 272 seconds]
<makefu> try 'sudo nix-store --verify --repair --check-contents' - tbh i never managed to fix issues in my nix store or in the nix db
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @oxij reopened pull request #46119 → bintools-wrapper, cc-wrapper, stdenv: infer propagateDoc automatically → https://git.io/fA0df
<tertl3> yeah i think its broke
booglewoogle has quit [Remote host closed the connection]
edwtjo has quit [Ping timeout: 272 seconds]
tzemanovic has joined #nixos
bgamari has quit [Quit: ZNC 1.6.6 - http://znc.in]
teej has joined #nixos
__monty__ has quit [Quit: leaving]
ryanartecona has joined #nixos
<tertl3> i give up
edwtjo has joined #nixos
<makefu> maybe someone else has a fantastic easy idea to unfuck your store but i think it is easiest to remove it in the installer but keep your current configuration.nix
<makefu> an installation is generally quite fast because your configuration.nix essentially contains everything which makes up your system
oscarvarto has joined #nixos
hxrts_ has quit [Ping timeout: 244 seconds]
sbdchd has joined #nixos
bgamari has joined #nixos
<oscarvarto> JonReed, I don't get any error messages. But when I fire `code`, it always shows to be "Installing" ms-python
<oscarvarto> ms-python.python extension
sbdchd has quit [Ping timeout: 252 seconds]
chessai has quit [Ping timeout: 244 seconds]
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
tzemanovic has quit [Remote host closed the connection]
mbrgm has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]