sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<infinisil> wrapProgram is probably all you need here though
<infinisil> with --suffix/--prefix PATH
<simpson> wrapProgram would be the nixpkgs-approved way. I won't tell anybody if you put it in propagatedBuildInputs.
<simpson> If for no other reason than that a wrapper *is* an extra moving piece at runtime.
<infinisil> simpson: Eh, propagatedBuildInputs does'nt work if you just build the binary and execute it directly without installing
<clever> propagatedBuildInputs doesnt even affect nix-env
<clever> its only a build-time thing, for other things that depend on X
<infinisil> Yeah, propagatedBuildInputs is not good for this
<simpson> infinisil: It depends on what's being propagated. I agree that, if it's something like Node.js, then that's not a viable plan; I wasn't thinking.
<NemesisD> so like `wrapProgram $out/bin/my-haskell-exe --prefix PATH : ${lib.makeBinPath [ some deps ]}`?
work_ has quit [Quit: Connection closed for inactivity]
<clever> NemesisD: yep
<NemesisD> ok, thanks for everyone's advice. i'll give that a try
<kandinski> yeah, I've been using Nixos for over a year, but it's still to big of an elephant for me to chew at. Will anybody here be at Lambda Jam in Melbourne, and willing to sit with me (or do a BoF) and explain inner workings?
tboston_ has joined #nixos
<kandinski> I also don't want to add too much noise here. Where is a good place to discuss this as a relative newb? https://github.com/NixOS/rfcs/pull/17
<{^_^}> rfcs#17 (by wmertens, 1 year ago, open): [RFC 0017] Intensional Store
linarcx has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 246 seconds]
<gchristensen> here is fine!
<simpson> If you have feedback for that RFC, I think that it's supposed to be left on the PR. Here is fine as well.
<simpson> I mean, I think that any RFC, as well as the RFC process, is very on-topic for this channel.
mconstant has quit [Ping timeout: 245 seconds]
rev_strangehope has quit [Ping timeout: 264 seconds]
tboston_ has quit [Ping timeout: 276 seconds]
anaothmane has quit [Remote host closed the connection]
DanielFabian has joined #nixos
<kandinski> so I don't understand this: "The basic concept is aliasing equivalent input derivations in such a way that dependent derivations won't need to change if only `$out` changes but not the input derivation contents."
rprije has joined #nixos
<kandinski> how can 2 different derivations have a different $out (so a different hash of the input expression) but the same $cas (same hash of the output binary or tree of files)?
mconstant has joined #nixos
<clever> kandinski: the hash of $out is the hash over the build directions (and app deps's build directions)
mmlb has joined #nixos
<clever> but 2 different sets of directions can produce the same file
sindrip has quit [Quit: WeeChat 2.4]
sindrip has joined #nixos
<simpson> kandinski: e.g. "download the file from URL 1" vs. "download the file from URL 2" kinds of builds.
<kandinski> I guess two compilers that differ in an unused feature would have different input hashes but produce the same input
iceypoi has quit [Ping timeout: 246 seconds]
<kandinski> simpson: thanks
<kandinski> s/produce the same input/produce the same output/
<simpson> kandinski: That's another good example. Many people here have mentioned using Nix in place of other build systems for the task of creating art or other intricate outputs based on long-running processes. The build system provides a guard against re-running redundant computations.
jneto has quit [Quit: Page closed]
<simpson> This RFC grants more-or-less the same incremental qualities, up to the coarseness of the supporting Nix expression. (We already have this, in the Monte programming language's Nix support; modules are built incrementally.)
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
ggpeti_ has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #56212 → linux_rpi: 1.20180919 -> 1.20190215 → https://git.io/fjs3P
sindrip has quit [Quit: WeeChat 2.4]
sindrip has joined #nixos
LnL has joined #nixos
ggpeti_ has quit [Ping timeout: 276 seconds]
LnL is now known as Guest53611
Rusty1 has joined #nixos
blackriversoftwa has joined #nixos
<blackriversoftwa> Hi there. Has anyone had issues with python programs on NixOS timing out on SSL operations?
kleisli has quit [Ping timeout: 258 seconds]
<blackriversoftwa> Specifically, I'm trying to use ofxclient. It works for my bank on Ubuntu 18.04 (python 2.7) but on NixOS (where it's run under python3.7) it sits and thinks for a bit before failing and saying `socket.timeout: the read operation timed out`
sindrip has quit [Client Quit]
<blackriversoftwa> I'm wondering if there's some extra something I have to do on NixOS to get python SSL working?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjssv
mexisme has joined #nixos
qubasa_ has quit [Read error: Connection reset by peer]
Qubasa has joined #nixos
Guest53611 has quit [Ping timeout: 250 seconds]
sindrip has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #60188 → mesos: fix build by forcing protobuf 3.4 → https://git.io/fjssO
silver has quit [Read error: Connection reset by peer]
LnL7 has joined #nixos
sindrip1 has joined #nixos
<sindrip1> Can anyone help me with hibernation. I have a xps 9360, I added the following: swapDevices = [
<sindrip1> { device = "/swapfile"; size = 8192; }
<sindrip1> ];
<sindrip1> What happens is the screen goes black, then it flashes the screen again and then shuts down
sindrip has quit [Ping timeout: 250 seconds]
<sindrip1> When I reboot it is just like a reboot
<sindrip1> when I turn it back on*
tboston_ has joined #nixos
ris has quit [Ping timeout: 260 seconds]
tboston_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60189 → msmtp: 1.8.3 -> 1.8.4 → https://git.io/fjssW
<clever> sindrip1: i dont think hibernation works with swap files
<{^_^}> [nixpkgs] @dtzWill opened pull request #60190 → mpop: 1.4.3 -> 1.4.4 → https://git.io/fjss8
<sindrip1> clever: I had ubuntu with a swapfile and hibernation before
blackriversoftwa has quit [Quit: Page closed]
<clever> you may want to look into how ubuntu made it work then, what command was it running from the initrd?
<clever> everything ive checked says it needs the file to be a single extent on disk, which most FS's dont do
<{^_^}> [nixpkgs] @dtzWill opened pull request #60191 → electron: 4.1.4 -> 4.1.5 → https://git.io/fjss4
<sindrip1> All I remember is mucking around on ubuntu 2 years ago and getting it to work and I have no idea what I did. If only that would have been declarative :>
<Shouou> How do I use a node2nix package in a nix-shell? I can't seem to import said package from within Node through `nix-shell -A package override.nix`. Should this work?
<{^_^}> [nixpkgs] @dtzWill opened pull request #60192 → electron_5: init at 5.0.0 → https://git.io/fjssu
<clever> Shouou: -A gives a shell suitable for building something, rather then using it, so that could be the issue
fusion809 has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
judson__ has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
mvnetbiz_ has joined #nixos
tboston_ has joined #nixos
ggpeti has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
Shouou has quit [Ping timeout: 258 seconds]
tboston_ has quit [Ping timeout: 250 seconds]
ggpeti has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjsGf
<{^_^}> [nixpkgs] @aanderse merged pull request #60155 → phpPackages: Wrap mkDerivation to prepend package names → https://git.io/fj3jh
<{^_^}> [nixpkgs] @marsam opened pull request #60193 → gpgme: disable tests on darwin → https://git.io/fjsGJ
<coconnor> Anyone else install appimage software through gnome software center?
<coconnor> actually works fairly well
<gchristensen> oh wow cool
<coconnor> afaict there is a false error about PackageKit not initializing. I say false error because it appears the daemon inits fine
<coconnor> now my preferred method to try out some desktop software - just try the software center haha
<coconnor> feels dirty... but works!
<coconnor> i guess it's relatively sandboxed so it's not *that* bad
<{^_^}> [nixpkgs] @marsam merged pull request #58368 → timescaledb: 1.0.0 -> 1.2.2, timescaledb-parallel-copy: 2018-05-14 -> 0.2.0, timescaledb-tune: init at 0.5.0 → https://git.io/fjUE3
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/fjsGt
acarrico has quit [Ping timeout: 250 seconds]
tboston_ has joined #nixos
o1lo01ol1o has joined #nixos
drakonis has joined #nixos
georges has quit [Ping timeout: 246 seconds]
tboston_ has quit [Ping timeout: 245 seconds]
ggpeti has joined #nixos
dbmikus__ has quit [Ping timeout: 276 seconds]
Supersonic has quit [Ping timeout: 276 seconds]
georges has joined #nixos
ggpeti has quit [Ping timeout: 255 seconds]
Supersonic has joined #nixos
kleisli has joined #nixos
plp has quit [Quit: No Ping reply in 180 seconds.]
naominitel has quit [Ping timeout: 268 seconds]
eisbaer-1 has quit [Ping timeout: 268 seconds]
plp has joined #nixos
eisbaer-1 has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #60194 → tmux: 2.8 -> 2.9 → https://git.io/fjsGZ
oida has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #60195 → Init xkcd font → https://git.io/fjsGc
mexisme has joined #nixos
oida has joined #nixos
day|flip has joined #nixos
cyraxjoe has joined #nixos
dbmikus__ has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
dbmikus__ has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
wolfman154 has joined #nixos
<wolfman154> Is anyone still on?
stepcut has quit [Ping timeout: 250 seconds]
dramforever has joined #nixos
<Ashy> this is a global channel so... yes
<wolfman154> I just installed nixos 19.03, in the sign in screen when I press fn + f2 (to open a virtual terminal to set the user password) , it does not work, why is this?
<colemickens> how do I ask the bot which pkg a binary is in?
<dramforever> ,locate sl
<{^_^}> Found in packages: mc, sl, apt, ark, atk, dia, gcr, gdl, k3b, kvm, lyx, pan, xen, zim, a2ps, amtk, anki, cogl, dgsh, gcab, geda, gegl, gimp, gitg, glib, glom, gvfs, kate, kexi, kile, kino, kwin, nano, newt, ping, popt, pspp, qemu, sudo, taxi, tepl, wget, wicd, amule, avahi, balsa, bison, boinc, brave, dfeet, drgeo, ekiga, folks, geany, glibc, grub2, hello, icewm, kazam, kcalc, krita, lasem, libfm, milou, navit, pinta, plank, searx, and 789 more
<dramforever> Well that's a bit unexpected
<dramforever> ,locate /bin/sl
<{^_^}> Found in packages: sl
<dramforever> That's more like it
mthst has quit [Ping timeout: 250 seconds]
<dramforever> I think sl matched Slovakia or something
<wolfman154> I just installed nixos 19.03, in the sign in screen when I press fn + f2 (to open a virtual terminal to set the user password) , it does not work, why is this?
<wolfman154> Is this the correct key binding to open a virtual terminal?
<dramforever> ctrl+alt+f2
<wolfman154> dramforever: thanks, I forgot
<wolfman154> dramforever++
<{^_^}> dramforever's karma got increased to 2
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
stepcut has joined #nixos
mthst has joined #nixos
naominitel has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
Mateon3 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
<colemickens> uggh, rclone stores the access token in its main config file
<colemickens> anyone have an elegant way of dealing with that with nix(os)?
wolfman154 has joined #nixos
oida has quit [Ping timeout: 256 seconds]
wolfman154 has quit [Client Quit]
stepcut has quit [Remote host closed the connection]
tboston_ has joined #nixos
<lordcirth> colemickens, I would file an issue with rclone for that
stepcut has joined #nixos
thePirateKing has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
mizmorYodh has joined #nixos
tboston_ has quit [Ping timeout: 245 seconds]
mizmorYodh has quit [Client Quit]
stepcut has quit [Ping timeout: 276 seconds]
ggpeti has joined #nixos
dbmikus__ has joined #nixos
ggpeti has quit [Ping timeout: 276 seconds]
daveyjones01 has joined #nixos
daveyjones01 has quit [Remote host closed the connection]
oida has joined #nixos
daveyjones01 has joined #nixos
daveyjones01 has quit [Client Quit]
thePirateKing has quit [Ping timeout: 276 seconds]
dbmikus__ has quit [Ping timeout: 264 seconds]
sindrip1 has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos
dramforever has quit [Ping timeout: 276 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
dramforever has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
tboston_ has joined #nixos
kleisli has quit [Ping timeout: 258 seconds]
rev_strangehope has joined #nixos
tboston_ has quit [Ping timeout: 258 seconds]
ggpeti has joined #nixos
dbmikus__ has joined #nixos
alexherbo2 has quit [Ping timeout: 250 seconds]
rev_strangehope has quit [Ping timeout: 245 seconds]
ggpeti has quit [Ping timeout: 255 seconds]
dbmikus__ has quit [Ping timeout: 258 seconds]
hio has quit [Quit: Connection closed for inactivity]
tdbgamer has joined #nixos
tdbgamer_ has joined #nixos
Zer000 has quit [Quit: Leaving]
dramforever has quit [Ping timeout: 276 seconds]
tdbgamer has quit [Ping timeout: 246 seconds]
tdbgamer_ has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 258 seconds]
tboston_ has joined #nixos
o1lo01ol1o has joined #nixos
zupo has joined #nixos
peterhoeg has joined #nixos
ixxie has joined #nixos
tboston_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
zupo has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/12b82b1a06f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ggpeti_ has joined #nixos
dbmikus__ has joined #nixos
ggpeti_ has quit [Ping timeout: 276 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
dbmikus__ has quit [Ping timeout: 258 seconds]
<colemickens> turns out there is service account support for gsuite accounts, which will work for me.
<colemickens> How do I make "mergerfs" available for a systemd.mounts.<foo> entry in nixos?
ddellacosta has quit [Ping timeout: 258 seconds]
endformationage has quit [Ping timeout: 258 seconds]
tboston_ has joined #nixos
gyroninja_ has quit [Ping timeout: 255 seconds]
mexisme has joined #nixos
m0rphism has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #60196 → mergerfs: fix for nixos systemd.mounts → https://git.io/fjsZ3
mexisme has quit [Ping timeout: 250 seconds]
gyroninja_ has joined #nixos
benley has quit [Ping timeout: 252 seconds]
oleks_ has quit [Ping timeout: 245 seconds]
ggpeti has quit [Ping timeout: 244 seconds]
oleks has joined #nixos
megfault has quit [Read error: Connection reset by peer]
megfault has joined #nixos
v88m has quit [Read error: Connection reset by peer]
dbmikus__ has joined #nixos
octe has quit [Ping timeout: 268 seconds]
kleisli has joined #nixos
joebobjoe has joined #nixos
<joebobjoe> is there any way to get a log of what nix-env has done?
<joebobjoe> I have a generations list, but I want to know what package I changed in the last operation.
benley has joined #nixos
v88m has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #60142 → rng-tools: 6.6 -> 6.7 and libp11: 0.4.9 -> 0.4.10 → https://git.io/fj3FN
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fjsZZ
dbmikus__ has quit [Ping timeout: 252 seconds]
nikivi has joined #nixos
tboston_ has quit [Ping timeout: 258 seconds]
deadloko has joined #nixos
mconstant has quit [Ping timeout: 245 seconds]
EoF has quit [Ping timeout: 276 seconds]
Xal has quit [Ping timeout: 257 seconds]
EoF has joined #nixos
Xal has joined #nixos
<etu> peterhoeg: So we should make a discourse-thread for arranging supertuxkart online races? :p
<teto> etu: that would be cool !
<srhb> joebobjoe: You can either nix-diff them or parse the manifest files between the two generations
<etu> teto: Indeed it would!
<teto> I would especially like to test the new "fun modes" (akin to "rocket league") so we could team up
Myhlamaeus has quit [Quit: WeeChat 2.2]
palo1 has joined #nixos
<MasseR> Does `nixos-rebuild switch --upgrade` upgrade *all* the channels in `nix-channel --list`?
<MasseR> Or only the one named `nixos`
* etu thinks it's just the one named nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<srhb> MasseR: It is the one called nixos and all that contain a file .update-on-nixos-rebuild
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e89fc19b97b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
iktomi has quit [Ping timeout: 268 seconds]
<MasseR> srhb: the channel output contains a file .update-on-nixos-rebuild?
<{^_^}> #44360 (by davidak, 37 weeks ago, open): Should nixos-rebuild switch --upgrade update all channels?
linarcx has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.4]
Glider_IRC has joined #nixos
hio has joined #nixos
linarcx has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #59825 → coqPackages.Verdi: 20181102 -> 20190202 → https://git.io/fjOvQ
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.Verdi: 20181102 -> 20190202 »: https://git.io/fjsZ5
linarcx has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #60197 → nixos/gitea: Don't include not needed database options depending on type → https://git.io/fjsZd
zupo has joined #nixos
v88m has quit [Quit: Quit]
v88m has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #59836 → ocaml: 4.08.0+beta2 -> 4.08.0+beta3 → https://git.io/fjOTj
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml: 4.08.0+beta2 -> 4.08.0+beta3 »: https://git.io/fjsZj
joebobjoe has quit [Quit: Lost terminal]
<dfordivam> hi.. how can I create a mkDerivation without src? it complains that $src is missing.. I am trying to do echo in the install phase to create a bunch of files..
moredhel- has quit [Ping timeout: 245 seconds]
<etu> dfordivam: runCommand is probably what you want maybe?
rauno has joined #nixos
<dfordivam> etu: actually I do have a propagatedBuildInput thing, and I want to use this derivation in another place..
<dfordivam> etu: I am just creating the required files by writing to $out
<sphalerite> dfordivam: you can use propagatedBuildInputs in runCommand too.
<sphalerite> dfordivam: runCommand is equivalent to using buildCommand in mkDerivation though
<sphalerite> buildCommand replaces all the phases, including the unpackPhase (which is what looks for src)
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #60198 → treewide: Add passthru.updateScript to gnome pkgs → https://git.io/fjsnT
<dfordivam> sphalerite: aah ok.. now I got it..
moredhel_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #60094 → ocamlPackages: fix regression in zarith-dependent libraries → https://git.io/fj3PH
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/fjsns
mexisme has joined #nixos
varjag has joined #nixos
reinhardt has joined #nixos
ggpeti_ has joined #nixos
xqsl has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
InFlames has joined #nixos
xqsl has joined #nixos
cfricke has joined #nixos
ggpeti_ has quit [Ping timeout: 276 seconds]
Anton-Latukha has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
hellrazor has joined #nixos
<lewo> Hmm, it seems the driver attribute of NixOS (19.03) tests no longer starts all VMs on `startAll`. Is it expected?
ThatDocsLady has joined #nixos
akapav has quit [Remote host closed the connection]
akapav has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #60159 → jupyterlab: Fix build → https://git.io/fjsJU
<{^_^}> [nixpkgs] @FRidh pushed commit from @matthiasbeyer to master « python3Packages.jupyterlab: Fix build »: https://git.io/fjsnQ
akapav has quit [Client Quit]
linarcx has quit [Quit: WeeChat 2.4]
akapav has joined #nixos
rauno has quit [Remote host closed the connection]
ggpeti has quit [Ping timeout: 276 seconds]
<lewo> Arf, my bad. It's because I was providing QEMU_NET_OPTS on CLI... (it would still be nice to get an error message)
linarcx has joined #nixos
<siers> Is it possible to get a single gem derivation without creating a Gemfile somehow? Or do I always have to make one?
waleee has joined #nixos
rajivr___ has quit [Quit: Connection closed for inactivity]
Makaveli7 has joined #nixos
varjag has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
hellrazor has quit [Ping timeout: 246 seconds]
day|flip has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.4]
InFlames has quit [Ping timeout: 244 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #60199 → evopedia: remove package → https://git.io/fjsci
hellrazor has joined #nixos
LnL7 has joined #nixos
LnL7 has quit [Changing host]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
rauno has joined #nixos
clefru[m] has joined #nixos
<mabel> this isn't exactly NixOS-related, but anyone know if I can make home-manager automatically run its 'suggested' commands?
<mabel> or at least, a subset of them
<mabel> I am fiddling with configuration a little and I think it'd be fun to have it automatically apply
buffet_ is now known as buffet
<Taneb> How can I build all derivations in an attrset?
<{^_^}> [nix] @c00w opened pull request #2784 → Sort directory entries after they are returned by readdir → https://git.io/fjsCe
<mabel> Taneb: one way is to map the attrset to a list, then make a derivation with that list as its buildInputs
varjag has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #60200 → mpdscribble: Fix URL → https://git.io/fjsCI
mexisme has quit [Ping timeout: 250 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
varjag has left #nixos ["ERC (IRC client for Emacs 25.2.2)"]
srl295 has quit [Quit: Connection closed for inactivity]
ixxie has quit [Ping timeout: 258 seconds]
octe has joined #nixos
Glider_IRC has quit [Remote host closed the connection]
Glider_IRC has joined #nixos
thc202 has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @samsonan-it opened pull request #60201 → neo.map: fix URL → https://git.io/fjsCa
judson has quit [Ping timeout: 240 seconds]
<sphalerite> Taneb: just nix-build the file containing it
<Taneb> sphalerite: doesn't seem to do anything
<sphalerite> Taneb: e.g. nix-build '<nixpkgs>' would try to build all of nixpkgs (but fail because eval errors)
jasongrossman has joined #nixos
<sphalerite> Taneb: with `{ inherit (import <nixpkgs> {}) hello coreutils; }` in attrset.nix, `nix-build attrset.nix` builds hello and coreutils.
<Taneb> Could it be because I have a function to an attrset (with defaults for all arguments)?
<xorAxAx> so what would be the best way to avoid using https://nixos.org/channels/nixpkgs-* and instead resort to ssh+git?
<xorAxAx> is there any disadvantage in avoiding nix-channels alltogether? can autoUpgrade be configured to do the right thing instead?
<xorAxAx> (the motivation is that any attacker might do MITM on the https fetch here)
<srhb> xorAxAx: I prefer pointing nixpkgs to my git checkout
val_ has joined #nixos
<srhb> xorAxAx: As in NIX_PATH=nixpkgs=/path/to/checkout
<srhb> xorAxAx: But otherwise, https://github.com/NixOS/nixpkgs/archive/somesha1.tar.gz, if you don't care about a local checkout.
<xorAxAx> i want to avoid https alltogether
<val_> How to rename boot option from generation N to something meaningful? I went to nix/var/nix/profiles but configuration-name file is readonly and empty. So I think there’s a way to rename using nixos-something —somehow
<xorAxAx> Val_, you can pass -p
<xorAxAx> to rebuild
<val_> I don’t understand
<xorAxAx> srhb, hmm, how do you solve upgrading then?
<xorAxAx> srhb, do you use autoUpgrade?
<val_> The build already exists
<xorAxAx> Val_, i understand, hmm. no idea then :)
hellrazor has quit [Ping timeout: 268 seconds]
<val_> I got it
<val_> Man works
<val_> Thank you
<xorAxAx> Val_, how? :)
<val_> I just used -p and passed current config via -I option
<val_> Now I have i3-stable and can try to launch xmonad without being lost
cfricke has joined #nixos
schjetne has quit [Remote host closed the connection]
<michaelpj> is the `hydra-build-products` file documented anywhere? I can't find anything
val_ has quit [Ping timeout: 256 seconds]
<Taneb> michaelpj: sadly not
<Taneb> michaelpj: I figure it out by reverse-engineering https://github.com/NixOS/hydra/blob/master/src/root/product-list.tt
<michaelpj> :(
schjetne has joined #nixos
<michaelpj> thanks for the pointer, though!
<Taneb> It's a frustrating state of affairs, I hope you can figure it out!
<sphalerite> Taneb: `{ pkgs ? import <nixpkgs> {} }: { inherit (pkgs) hello coreutils; }` also works
<Taneb> sphalerite: can you try with nested attrsets, if you don't mind?
<sphalerite> Taneb: oh yeah that won't
<Taneb> Ah, that's what I'm trying
<sphalerite> Taneb: unless you put `recurseForDerivations = true;` in all levels
Neo-- has joined #nixos
val_ has joined #nixos
lordcirth__ has joined #nixos
<Taneb> Another question: can I have a sort of "hub" remote builder, which then delegates its builds out to further remote builders?
lordcirth has quit [Ping timeout: 244 seconds]
lunik18 has quit [Quit: Ping timeout (120 seconds)]
sysreq has quit [Ping timeout: 245 seconds]
val_ has quit [Ping timeout: 256 seconds]
lunik18 has joined #nixos
<sphalerite> Taneb: I haven't done it myself, but have heard anecdotes about it being possible
<sphalerite> (yeah, more useful statements have been made…)
<Taneb> :P
rev_strangehope has joined #nixos
Shouou has joined #nixos
Xal has quit [Ping timeout: 245 seconds]
Glider_IRC has quit [Remote host closed the connection]
rev_strangehope has quit [Ping timeout: 258 seconds]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
Xal has joined #nixos
deadloko has quit [Quit: WeeChat 2.3]
Neo-- has quit [Ping timeout: 258 seconds]
<grischeg> Is nixos-rebuild switch identical to nixos-rebuild test+boot?
<jasongrossman> grischeg: Sometimes things that ideally should work on switch only actually work on reboot.
silver has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #60202 → Init/vim visual multi → https://git.io/fjsW4
<grischeg> jasongrossman: as neither "test" or "boot" actually reboot the machine, I assume this is a yes?
orivej has joined #nixos
<rycee> mabel: You can use the systemd.user.startServices option.
Xal has quit [Ping timeout: 258 seconds]
Xal has joined #nixos
vancoding[m] has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #60200 → mpdscribble: Fix URL → https://git.io/fjsCI
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjsWN
<{^_^}> [nixpkgs] @Luis-Hebendanz opened pull request #60204 → rmount: init at 1.0.1 → https://git.io/fjsWj
<{^_^}> [nixpkgs] @Luis-Hebendanz closed pull request #48120 → rmount: init at 1.0.1 → https://git.io/fxcEC
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
ambro718 has joined #nixos
ramses_ has joined #nixos
psyanticy has joined #nixos
<ambro718> I'm really fed up with executable wrappers that set or add to environment variables. Could we add these variables to the executable the same way we add library directories to RPATH?
<ambro718> with some extra code in ld-linux to find those ELF attributes and adjust environment vars like they dictate
<ramses_> Hey guys, I get all this conflicts on a 19.03 system: https://pastebin.com/pLQ94GT3
<ramses_> Is this normal? Anything I should do to resolve this?
Izorkin has joined #nixos
<gchristensen> ambro718: no, I don't think we can -- what has annoyed you with the wrappers?
<ambro718> pretty sure it's "normal"
Glider_IRC has joined #nixos
kisonecat has joined #nixos
<ambro718> gchristensen: people forget to write wrappers, wrappers obscure the executable name (see process list), they unconditionally add to a colon-separated var without checking if the element is already there, env adjustments affect also child processes when they often should not (open a terminal in a program that was wrapped)
<ambro718> oh that last part would not be solved with such a mechanism though
<xorAxAx> is there any way to resolve these conflicts, a bit like update-alternatives on debian?
<xorAxAx> +permanently
<simpson> It'd be nice if wrappers were more transparent.
<xorAxAx> i.e. some kind of auto-generated conflict resolution snippet being output by -rebuild that you can paste into your config to mute these warnings and settle on a winner
<aanderse> gchristensen: awesome that you're holding those "office hours" weekly!
<aanderse> so sad about proposed times, though T_T
<ambro718> simpson: I rather think what is needed is a generic way to provide "dependency information" to a program without being an environment variable, so that it is not inherited by children.
<ambro718> maybe it could look like an environment variable but not be inherited by child processes
<ambro718> (because programs already use getenv, you can't invent a new thing and patch thousands of getenv calls)
<ambro718> we could patch getenv() to look for special hard-coded-env-vars in the ELF file
<simpson> ambro718: Oh, sure. The transparency of a wrapper/forwarder has an (upper?) bound based on the calling convention being wrapped. The thicker and fancier the calling convention, the thicker the minimum viable wrapper.
<gchristensen> aanderse: tell me about that?
<ambro718> simpson: sorry I don't understand, what calling convention??
<ambro718> simpson: my general argument is that dependencies of an executable should ideally be stored in the executable itself, like library paths
<simpson> ambro718: In this case, invoking subprocesses on a UNIX-like.
<aanderse> gchristensen: ha ha ha don't worry about me... the timespan i have in which i can actually join something like that is very limited
<gchristensen> ambro718: it also has to work for macOS and WSL
linarcx has quit [Ping timeout: 245 seconds]
<aanderse> once the kids are in bed, and until before i pass out from exhaustion :D
<gchristensen> aanderse: what times work for you? I might not be able to change, but just curious
<ambro718> WSL uses ld-linux right?
<ambro718> or not?
<gchristensen> dunno
<aanderse> kids are usually in bed by 8pm EST
<ambro718> then we could just do patching of specific getenv() calls to do something else, not sure what yet
<simpson> ambro718: I do agree that, in some sense, our lives would be easier if there were such a thing as nixlibc.
<simpson> But we'd also be maintaining (patches to) a libc, which is not fun. Dunno; maybe others have more of an appetite for it.
<AlexRice[m]> is there something like a .gitignore for nix-build so that changing some files doesn't cause a recompilation
<AlexRice[m]> In particular ignoring the result symlink
<gchristensen> and musl and go I think too?
<gchristensen> and also we'd be making nix build results less debuggable with standard tools, and secret "env" vars people don't have tools to change
<simpson> gchristensen: Yeah, and also I don't think that this would actually *work* on Darwin or WSL?
<gchristensen> I wonder if we can fix the executable name problem and the colon separated var problem
<gchristensen> right, and it would doubtfully work on programs which are cross compiled to windows
<Taneb> AlexRice[m]: you can use builtins.filterSource
<gchristensen> Profpatsch: ^ you've got a gitignore-for-nix thing?
<Profpatsch> gchristensen: yeah, there’s also one in lib
<ambro718> simpson: We could add "dependency variables" either as ELF attributes or a linked-in array that is found by dlsym(), and we could add a simple getdepvar() function implementation in the libc, that looks up the variable.
<CMCDragonkai> Is there a way to depend on just the GCC glibc headers, and not the entire compiler? Similar to the linuxHeaders package?
<ambro718> that would be OS-independent as long as we get the getdepvar() code in the libc.
<AlexRice[m]> Taneb: Thanks that looks perfect
fendor has joined #nixos
<gchristensen> I feel the lift to fix the bugs would be significantly smaller than patching libc?
kisonecat has quit [Ping timeout: 258 seconds]
<ambro718> gchristensen: many cannot be fixed and all never will be because we don't have a mechanism good enough
<gchristensen> you wrote 4 bugs, 1 you said was unfixable, 2 seem pretty simply fixable, the remaining one isn't fixable in software
<gchristensen> no?
cosmo_ has joined #nixos
<ambro718> > people forget to write wrappers it could be automated such that a wrapper is made automatically for any program that links to some library, same way library paths are set up magically
<ambro718> but I don't think it should be because it's such a big hack and can break things
<gchristensen> that was the one I think isn't really fixable in software
<ambro718> > wrappers obscure the executable name not sure if it's fixable
<ambro718> > hey unconditionally add to a colon-separated var without checking if the element is already there fixable
<ambro718> > env adjustments affect also child processes when they often should not unfixable
jasongrossman has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dfd8f84aef1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ed1b59a98e7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<gchristensen> for the obscured names I think we could give it a better name pretty easily, which would help a bit
<ambro718> and there's also the problem that wrappers are simply ugly and confuse people who look into the bin directory
<ambro718> and there's some performance overhead
<gchristensen> maybe you could open up a ticket and write it all out? that'd be really good so it isn't lost to time in IRC
<ambro718> gchristensen: if someone runs "program" on the command line they expect to see "program" in ps, and nothing else
<ambro718> yeah I'll do that soon :)
<aanderse> ambro718: if someone runs nixos... they threw all expectations like that out the window long ago, no?
<{^_^}> [nixpkgs] @FRidh merged pull request #59947 → oraclejdk: use working mirror for download → https://git.io/fjO7h
<{^_^}> [nixpkgs] @FRidh pushed commit from @strager to master « oraclejdk: use working mirror for download »: https://git.io/fjslg
<ambro718> aanderse: why?
<aanderse> ls /usr/bin
<{^_^}> [nixpkgs] @callahad opened pull request #60205 → hugo: 0.55.3 -> 0.55.4 → https://git.io/fjsl2
<ambro718> aanderse: I'm saying if you're looking into the bin folder of the package itself
<gchristensen> that could be cleaned up easily enough I think
<ambro718> which is reasonable if you're debuggign stuff or just exploring
<aanderse> not disagreeing (or agreeing) with your overall point, but i would say that conventions on nixos are quite different
<xorAxAx> you can also modify argv[0] after starting the process ,right ...
[Leary] has joined #nixos
<ambro718> we could implement wrapping by modifying the executable instead of making a shell script, by injecting some code
<simpson> xorAxAx: That's not portable. Nor are the various per-kernel ways to do it. Sadly it's not in POSIX.
<ambro718> but not sure if there's a simple way to do this
<jschievink[m]> is there a way to view the currently booted configuration?
Lears has quit [Ping timeout: 258 seconds]
<gchristensen> /run/current-system is the one you're on now, /run/booted-system is the one you booted from
<AlexRice[m]> is there a better way to find out if string x contains string y other than builtins.length (builtins.split x y). I feel I'm missing something obvious
<__monty__> ambro718: That could even fix a shortcoming. I think currently something that's used as an interpreter in a shebang, python for instance. Can't be wrapped because mac os doesn't allow shell scripts as shebang interpreters.
phreedom_ has joined #nixos
<srhb> jschievink[m]: If by configuration you mean the nix expression -- then not really. The closest you can get is (possibly) the derivation.
<jschievink[m]> gchristensen: thanks!
<srhb> jschievink[m]: There's also an option to copy configuration.nix (or something like it) into each profile, but it won't be able to follow all imports etc.
Lears has joined #nixos
<ambro718> __monty__: you would want to wrap a shell script? I'm assuming wrapping as I understand it is relevant only for executables.
<ambro718> __monty__: if it's a script, I think it doesn't often need wrapping anyway
<gchristensen> I wrap shell scripts too
<jschievink[m]> srhb: I mean the OS configuration created from `configuration.nix` - `nixos-rebuild switch --rollback` calls it a "configuration"
<__monty__> No no no, the wrapper is currently a script. That would prohibit wrapping python-the-executable because you wouldn't be able to do #!python-the-wrapper-script on mac os.
[Leary] has quit [Ping timeout: 246 seconds]
<ambro718> __monty__: ah, I see, yes
<jschievink[m]> ah, "generation" is the word I'm looking for
phreedom has quit [Ping timeout: 256 seconds]
init_6 has joined #nixos
<srhb> jschievink[m]: Yeah, or system profile would work too. :)
<jschievink[m]> really I was just interested in the generation number, and `readlink /nix/var/nix/profiles/system` seems to be the easiest way to view that
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57108 → pythonPackages.pysideTools: Use fetchFromGitHub and update meta → https://git.io/fhh0I
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjslF
Qubasa has quit [Ping timeout: 255 seconds]
<xorAxAx> hmm, is the nixops container backend not documented?
kleisli has quit [Ping timeout: 246 seconds]
uwap has quit [Remote host closed the connection]
uwap has joined #nixos
<simpson> It's definitely underdocumented.
npmccallum has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
fendor_ has joined #nixos
sysreq has joined #nixos
fendor has quit [Ping timeout: 255 seconds]
sindrip has joined #nixos
<ambro718> simpson: Maybe we could "wrap" by adding something to .ctors or .init_array elf section (I think it depends on the toolchain/cpu which is the relevant one).
<ambro718> that should be easier compared to trying to actually hook code
<ambro718> not sure about MacOS though
<ambro718> yeah MacOS seems to have an equivalent (__mod_init_func)
srid0 has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @sorki opened pull request #60206 → ledmon: init at 0.92 → https://git.io/fjs8K
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt-extras: 2019-01-30 -> 2019-04-05 »: https://git.io/fjs8P
srid0 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #60207 → nixos-generate-config: do not build btrfs-tools when btrfs is not used → https://git.io/fjs8D
Rusty1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
<ambro718> Is there a standard approach to make a wrapped package that has the contents of the base package plus some extra files?
<gchristensen> you can use buildEnv to merge two trees together
dwdr has joined #nixos
<ambro718> gchristensen: this is realistic for a library package?
dwdr has quit [Remote host closed the connection]
dwdr has joined #nixos
<ambro718> I want to replace the current "library" package with a wrapped one that has that plus some extra plugin.
<gchristensen> why wouldn't it be realistic?
<ambro718> no just asking, I'll try
phreedom_ has joined #nixos
<ambro718> will it work if the new package needs to "replace" a file that already exists in the base package?
<gchristensen> I can't say I've done exactly what you're doing, but I've certainly used buildEnv a whole lot :)
<gchristensen> iirc there is a way to express priority of one derivation over another when merging
<ambro718> I want to try an experiment with the gdk_pixbuf and librsvg problem (https://github.com/NixOS/nixpkgs/pull/42562#issuecomment-486647822) such that anything that depends on gdk_pixbuf actually also gets the svg plugin.
phreedom has quit [Ping timeout: 256 seconds]
<ambro718> of course I will need to do a massive rebuild to try it out :)
waleee has quit [Quit: WeeChat 2.4]
hellrazor has joined #nixos
halfbit has joined #nixos
<arianvp> why do some nixos modules have config = mkMerge [mkIf cfg.enable] instead of config = mkIf cfg.enable ?
acarrico has joined #nixos
<arianvp> what is the difference? it seems ... nuanced
<gchristensen> if that is the literal only difference, then there is no reason
<arianvp> ah is it just so that in the future they could add more parts?
<gchristensen> there is no sense it being proactive about it, either
<arianvp> probably remnant of refactorings
<arianvp> im trying to fix the acme module
<arianvp> which is fun :D
<arianvp> ish
cfricke has quit [Quit: WeeChat 2.4]
<gchristensen> nice
<arianvp> it is pretty borked currently :(
<arianvp> it's also a huge module. lots of stuff happening. not fully sure yet what its all doing
<gchristensen> yeah
<gchristensen> I ended up having to implement my own once, which I haven't upstreamed yet -- but will some day
<arianvp> the current one basically only works if you have exactly one virtualHost
<gchristensen> that can't be: I have about about a dozen virtualhosts and each one uses LE
<arianvp> have you incrementally deployed them, or all at once?
<gchristensen> both
<arianvp> because incremental is currently broken and I have a reproducer as well
<gchristensen> though all at once requires a bit more planning to avoid being rate limited
<arianvp> so now I reboot for deploys, instead of nixos-rebuild switch
<gchristensen> what is the problem?
<arianvp> on first deploy acme-certificates-selfsigned.target becomes active. On which nginx.service has a Wants= to make sure it doesn't start up without certs cause nginx -t will fail otherwise
<arianvp> Then once you have deployed the first virtualHost. that target _remains_ active because targets never deactivate
<arianvp> then when you deploy the second cert, nginx will restart _before_ the cert is generated and nginx crashes
<gchristensen> ouch
<arianvp> because the target is still active, and hence nginx thinks the cert is already there
<arianvp> I think we can fix it with path units instead
cosmo_ has quit [Ping timeout: 264 seconds]
<arianvp> might be a fun thing to work on the next office hour session ;)
<gchristensen> yeah , I was just going to suggest a path unit
<gchristensen> path units are great!
<arianvp> yeh pretty cool
<arianvp> first usecase for them
<arianvp> :)
<gchristensen> I just added a path unit to the wireguard module to support private keys being deployed out of band
<arianvp> ah using the new PrivateKeyFile option?
<arianvp> or not using networkd here?
<arianvp> (I recently got a patch into networkd so we can provide keyfiles to wireguard through networkd config)
dwdr has quit [Remote host closed the connection]
zupo has joined #nixos
<arianvp> I dont think the nixos module uses networkd right
<{^_^}> [rfcs] @shlevy opened pull request #44 → [RFC 0044] Disband the Nix Core Team → https://git.io/fjs4i
<gchristensen> (I don't use networkd) yeah, PrivateKeyFile + a separate option enable which can be enabled to have nixos generate an initial key
<arianvp> cool
<arianvp> i wonder if you just accidentaly never ran into the letsencrypt bug or if something changed recently
<arianvp> but I suspect it was there all along.
<gchristensen> yeah ... not sure
<arianvp> these are the kinds of bugs that you only notice once you notice. heh
<gchristensen> yeah :/
<arianvp> I also found another small bug in the meantime.
<arianvp> if nixos-rebuild switch fails to activate a unit, it usually calls systemctl status to show an overview
<arianvp> but if it's a preStart or postStop that fails, it doesn't do that for some reason
<arianvp> (that's why I didn't notice during deploy, as I didn't get a big fat error that nginx.service had failed)
<gchristensen> ouch
mexisme has quit [Ping timeout: 255 seconds]
<arianvp> really would be nice if we could test switch logic in nixos tests. but I remember there being some roadblocks for that. some old issue
<ambro718> is there a way to wrap a package such that the contents are copied and additionally all occurrences of the original store path are replaced with the wrapped store path?
sindrip has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
<gchristensen> there is a nixpkgs hook called nukereferences or something (search for "nuke" and you'll find it) which does this, but destructively. you can take that idea and apply it constructively
rev_strangehope has joined #nixos
kisonecat has joined #nixos
drakonis_ has joined #nixos
rprije has quit [Ping timeout: 255 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
rev_strangehope has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lheckemann opened pull request #60208 → jetbrains-jdk: 8.202b1483.37 -> 11.0.2b164 → https://git.io/fjsBv
cfricke has joined #nixos
tmp9123917287382 has joined #nixos
zupo has joined #nixos
<exarkun> I found this somewhere - https://gist.github.com/exarkun/c5596032b841d470886390d4b5468495 - for doing making ad hoc virtualenv-like python environments. It's not compatible with pip "editable" installs though (the build environment doesn't have the PYTHONPATH that setuptools wants (which is wrong because setuptools doesn't know the difference between build time and run time but oh well)). Is there a trick
<exarkun> for making those work?
<exarkun> seems like the manual recommends packaging the software and using a path for src
<mdash_> 5~Error: target STRING not available
Jackneill has quit [Quit: Leaving]
Qubasa has joined #nixos
Qubasa has quit [Client Quit]
Qubasa has joined #nixos
PirBoazo has joined #nixos
<PirBoazo> Hi
<exarkun> hm, or not. builds but not available in the env.
<exarkun> ah yea missing (...).env
o1lo01ol1o has joined #nixos
<PirBoazo> Where i can find explanation on profile ?
<{^_^}> [nixpkgs] @marsam opened pull request #60209 → pythonPackages.google-auth-oauthlib: fix python3 build → https://git.io/fjsBc
<mdash_> ... wow, left my laptop unlocked around my toddler and it results in an error message i've never seen before
<gchristensen> nice
<gchristensen> your toddler is ready for a job in QA!
<Taneb> gchristensen: I think that's just an inherent property of toddlers
tmp9123917287382 has left #nixos [#nixos]
<mdash_> taneb: yes she already fuzz tested all my bathroom drawers earlier in the week
<gchristensen> hopefully no privilege escalations
<Shados> mdash_: She hasn't yet had enough operant conditioning by software bugs :p https://blog.regehr.org/archives/861
mdash_ is now known as mdash
<mdash> gchristensen: she did discover a flaw in our secure containers :-/
<mdash> but we called poison control and they said she'd be ok.
Cale has quit [Ping timeout: 264 seconds]
<gchristensen> oh man that sounds terrifying
<aanderse> gchristensen: thats all in a days work of having kids :p
<gchristensen> don't tell my wife
<{^_^}> [nixpkgs] @matthewbauer merged pull request #60171 → perl-cross: update for perl 5.28.2 → https://git.io/fjsIP
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fjsBg
<aanderse> kids are tough. if they weren't, none of us would be here right now ;-)
<arianvp> gchristensen:can I use mkMerge like this?
<gchristensen> oh interesting
<slabity> I dunno. I was pretty sheltered as a kid.
PirBoazo has quit [Quit: Bonne Fin de Journée]
<gchristensen> arianvp: can yo
<exarkun> why does pkgs/development/python-modules/pyhamcrest/default.nix use buildPythonApplication?
<gchristensen> arianvp: I think you can just do `if config.services.nginx.enable "nginx.service" I think mkMerge is inappropriate there
<arianvp> or wait, I don't need mkIf here right ...
<arianvp> yeh thanks
<arianvp> but can you have an if without an else?
<gchristensen> mkMerge is more for merging entire configuration files
<gchristensen> no, you probably want something like:
<gchristensen> > lib.optional true "nginx.service"
<{^_^}> [ "nginx.service" ]
<gchristensen> > lib.optional false "nginx.service"
<{^_^}> [ ]
<arianvp> ah perfect
<sphalerite> edwtjo: hey, are you still active in nixpkgs stuff?
Cale has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5d2775156b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tdbgamer has joined #nixos
<gchristensen> arianvp: volth recently suggested lib.optional should go away in favor of optionals though:
<gchristensen> > lib.optionals true [ "nginx" ]
<{^_^}> [ "nginx" ]
<sphalerite> gchristensen: huh, why?
<gchristensen> apparently people have confused the two and done `lib.optional bool [ ... ]` and broken things
drakonis has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #60210 → gnome3.mutter328: backport changes from 3.32 → https://git.io/fjsBP
srid0 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #60211 → lorri: init at 2019-04-24 → https://git.io/fjsBX
<{^_^}> [nixpkgs] @seqizz opened pull request #60212 → gitAndTools.gita: 0.8.2 -> 0.9.2 → https://git.io/fjsB1
drakonis_ has quit [Ping timeout: 276 seconds]
drewr has quit [Remote host closed the connection]
<lordcirth_> If I run 'nixos-rebuild build', then I want to switch, what's the correct way to do that? If I just run 'nixos-rebuild switch', it will build again, potentially with changes. Do I use nix-env to switch generations?
drewr has joined #nixos
srid0 has joined #nixos
<{^_^}> [nixpkgs] @exarkun opened pull request #60214 → pyhamcrest: switch from application to package → https://git.io/fjsBQ
<sphalerite> lordcirth_: ./result/bin/switch-to-configuration switch
<sphalerite> lordcirth_: although I'm not sure that will update the system profile, you may also need to use `nix-env -p /nix/var/nix/profiles/system --set ./result` to do that
jfroche has joined #nixos
<lordcirth_> sphalerite, thanks, I will test
endformationage has joined #nixos
jfroche has quit [Remote host closed the connection]
jackdk has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: WeeChat 2.4]
<lordcirth_> sphalerite, hmm, it said it worked but I rebooted and it's still on gen 4
<sphalerite> lordcirth_: did you use the nix-env command as well?
<lordcirth_> No, just the switch, trying env now
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has quit [Quit: Leaving]
<srhb> bin/switch-to-configuration switch should indeed do the boot stuff.
<{^_^}> [nixpkgs] @nmattia opened pull request #60215 → patchShebangs: create timestamp in tmp dir → https://git.io/fjsRv
mwilsoncoding has joined #nixos
clefru[m] is now known as clefru
<mwilsoncoding> hey all- I'm working on a PR for updating the Azure Python SDK in nixpkgs
<mwilsoncoding> this includes a number of modules that aren't currently included in nixpkgs
clefru has quit [Changing host]
clefru has joined #nixos
clefru has joined #nixos
<lordcirth_> srhb, well, it didn't, so what am I missing?
<mwilsoncoding> I'm making some great progress, but I currently have 6 modules that fail to build with the same error and I'm wondering if anyone can help me out
<srhb> lordcirth_: no no, I'm just supplementing what sphalerite said.
<dminuoso> Are haskellPackages compiled before they get added to nixpkgs?
<sphalerite> lordcirth_: which bootloader are you using?
<mwilsoncoding> error: error in setup.cfg: command 'bdist_wheel' has no such option 'azure_namespace_package'
<dminuoso> I have a package that does not even compile, and Im wondering how that can be. Or are not all packages built when versions are bumped?
<lordcirth_> srhb, sphalerite systemd-boot, as it's EFI
<srhb> lordcirth_: It sets up the boot loader to point at the profile, but changing the active generation of the profile happens within nixos-rebuild (that is, with nix-env)
<lordcirth_> srhb, so, I *should* have to run nix-env?
<srhb> I believe so :)
<Taneb> dminuoso: yes, not all packages are built when versions are bumped, and versions can be bumped even if some packages are known to fail
<lordcirth_> sphalerite, --set isn't an option?
<sphalerite> lordcirth_: it should be.
<sphalerite> lordcirth_: which command are you using exactly?
<lordcirth_> nix-env --profile /nix/var/nix/profiles/system --set ./result
<lordcirth_> Ah, I see. it doesn't error, but it's not in the tab-complete. That seems like a bug
sindrip has joined #nixos
<lordcirth_> Yeah, it's on gen 5 now
<sphalerite> right
<yorick> how do I escape '' in a multiline string?
<sphalerite> so the problem is that the bootloader config generation uses the system generations as a source
<srhb> ,escape yorick
<{^_^}> srhb: Did you mean escape"?
<{^_^}> yorick: " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<sphalerite> ,escape'' yorick
<{^_^}> yorick: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
cfricke has quit [Ping timeout: 245 seconds]
<yorick> sphalerite: thanks!
<srhb> Oh, oops.
<dminuoso> Taneb: Fair enough. Its reassuring to see packages on hackage that adjusted for AMP in their source code but not their tests. Apparently not everyone runs their tests before releasing on hackage - and nix apparently also runs tests on haskellPackages :S
rauno has quit [Remote host closed the connection]
<gchristensen> what is AMP?
<Taneb> gchristensen: major breaking change a few versions of GHC ago
<gchristensen> ahh
<srhb> gchristensen: (Functor) Applicative Monad Proposal.
<gchristensen> gotcha
<srhb> I think more broke due to MonadFail though :P
<sphalerite> lordcirth_: so the profile generation needs to exist for the bootloader config generator to pick it up. So you need to 1. nix-env, 2. switch-to-configuration
<lordcirth_> sphalerite, Hmm, I thought it did it the other way around, but I rebooted to gen 5. Perhaps I ran it again
<{^_^}> [nixpkgs] @exarkun opened pull request #60216 → service_identity: 17.0.0 -> 18.1.0 → https://git.io/fjsRC
<Taneb> srhb: yeah, some of our internal packages are broken due to MonadFail... it's one of the reasons we're taking our time upgrading to nixpkgs 19.03
<srhb> Mhm. That was a big one :)
<mwilsoncoding> https://github.com/Azure/azure-sdk-for-python/issues/2347 <- is this an indicator that I need to somehow pass `--no-cache-dir` to buildPythonPackage, or that the `pip` the builder is using may be out of date?
<{^_^}> Azure/azure-sdk-for-python#2347 (by lmazuel, 1 year ago, closed): command 'bdist_wheel' has no such option 'azure_namespace_package'
v88m has quit [Quit: Quit]
v88m has joined #nixos
<infinisil> Taneb: isn't there a ghc flag you can use to have it work?
<Taneb> infinisil: possibly, but there's other reasons we're holding off
noonien has joined #nixos
<infinisil> -XMonadFail i think
<Taneb> And it's probably a good excuse to update, I doubt -XMonadFail will be around in GHC 8.12
<infinisil> Yeah, will be removed in 8.8 according to https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail
Synthetica has joined #nixos
<Taneb> And that will probably be the default GHC in nixpkgs 19.09
<immae> Hello there! Say I have a sensible value, that I use during a derivation build, but that is not in the output (here, I use an encrypted file as a src, and I want to decrypt it during the build by providing the password). Can anyone else on the system have access to that password during the build, or is it correctly sandboxed to avoid that?
<{^_^}> [nixpkgs] @dotlambda opened pull request #60217 → home-assistant: 0.91.4 -> 0.92.0 → https://git.io/fjsRK
ThatDocsLady_ has quit [Ping timeout: 250 seconds]
<srhb> immae: How do you provide the password?
<srhb> immae: It sounds like it will be in the drv at the very least
<Synthetica> immae: And is it a problem that your src would be in the store?
__monty__ has quit [Quit: leaving]
<srhb> immae: It sounds like what you currently have is encrypted secret + password in the store.
<Synthetica> Because otherwise you could do the same as the derivation for e.g. Mathematica, and require the user to manually add the (decrypted) source
<mwilsoncoding> I think I found out what the problem is
dsx has quit [Quit: dsx]
<mwilsoncoding> pip is behind
<mwilsoncoding> the version of servicemanagmentlegacy that is available through pip is v0.20.6, rather than v0.20.7, but it looks like the azure module has been using v0.20.7 since azure v3.0.0
<mwilsoncoding> regardless, it doesn't look like microsoft began accounting for wheel updates until around Feb 2018, so it seems any module available from pip that uses src _prior_ to that date breaks because of a known wheel incompatibility
<mwilsoncoding> looks like I'll be using tagged src code from github for the 6 modules I have to build that pip doesn't have up-to-date releases for =/
Qubasa has quit [Ping timeout: 246 seconds]
Qubasa has joined #nixos
<jophish> Hi all
dsx has joined #nixos
stepcut has joined #nixos
<lordcirth_> jophish, hello
thetet has joined #nixos
thetet has left #nixos [#nixos]
<musicmatze> How can I find which gc root a package is associated with?
halfbit has quit [Ping timeout: 258 seconds]
halfbit has joined #nixos
<grischeg> Can someone point me to the right documentation on how to create random tap interfaces in NixOS?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<gchristensen> the nixos options for networking.interfaces have some info on that
stepcut has joined #nixos
<dminuoso> grischeg: "random"?
<Taneb> Hey, jophish
<jophish> hey Taneb, how's things?
<Taneb> Going pretty good! Trying to get our stuff all working with nixpkgs 19.03
<Taneb> How's you?
<jophish> very well, working on Vulkan at the moment
stepcut has quit [Ping timeout: 258 seconds]
<infinisil> musicmatze: nix-store -q --roots /nix/store/...
<gchristensen> anyone depending on wireguard to deploy to remote hosts?
<musicmatze> infinisil: thanks. And how to interpret {temp:...} output?=
judson has joined #nixos
v88m has quit [Quit: Quit]
<{^_^}> [nixpkgs] @eadwu opened pull request #60218 → epubcheck: init at 4.2.0 → https://git.io/fjs0g
<gchristensen> those are processes running
<musicmatze> ah, so nix-shell e.g.?
<gchristensen> or any process running which refers to nix store paths
<musicmatze> ah, ok
mabel has quit [Ping timeout: 245 seconds]
pauline has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mabel has joined #nixos
stepcut has joined #nixos
<immae> srhb: Synthetica: the password will be in my derivation (I store it in my password store and have a wrapper that extracts it as a nix expression that I use afterwards)
<{^_^}> [nixpkgs] @dotlambda merged pull request #60156 → restic: 0.9.4 -> 0.9.5 → https://git.io/fjsej
<{^_^}> [nixpkgs] @dotlambda pushed to master « restic: 0.9.4 -> 0.9.5 (#60156) »: https://git.io/fjs05
<immae> but yes it will probably be in the drv, you’re right...
rev_strangehope has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #60219 → Fix letsencrypt → https://git.io/fjs0d
<{^_^}> [nixops] @PsyanticY opened pull request #1136 → EC2: Add tenancy option → https://git.io/fjs0b
cross has quit [Remote host closed the connection]
<lordcirth_> Perhaps Nix / NixOS needs a system for secret management?
<gchristensen> ,locate uInput.hpp
<{^_^}> Couldn't find in any packages
<lordcirth_> Configuration management tools generally have features specifically for secrets / variables, like Saltstack's Pillar.
<andi-> gchristensen: I see what you are dooing.. xdotool? :)
<andi-> rather ydotool
m1sosoup has joined #nixos
<gchristensen> andi-: ...!!! are you spying on me?
<andi-> no, i was there during the weekend :D
<andi-> it requires access to /dev/input/… so I didn't continue further there.
<gchristensen> do you by chance have an expression for me? :)
<gchristensen> ah
<andi-> I do have that tho...
rev_strangehope has quit [Ping timeout: 276 seconds]
<gchristensen> my migration to wayland broke a very important program of mine
<gchristensen> (it creates an animated clock in Slack by rapidly editing the previous message)
<andi-> there is a spec for on-screen-keyboards that might be a proper workaround
kisonecat has quit [Ping timeout: 245 seconds]
<{^_^}> [nix] @c00w closed pull request #2784 → Sort directory entries after they are returned by readdir → https://git.io/fjsCe
<andi-> just have to find on which of the three notebooks I had with me I did that.. hold on
<dhess> Anyone around who's running a Hydra on an EC2 instance?
<{^_^}> [nixops] @PsyanticY opened pull request #1137 → EC2: Use enum type for persistent spot type and shutdown behaviour → https://git.io/fjsEf
<dhess> just the Hydra server, not necessarily a builder
<slabity> Hey guys, I have `virtualisation.libvirtd.enable = true;`, but trying to create a guest with `virt-manager` leads to it saying KVM is not enabled. `lsmod` says that `kvm` is enabled as well, so I'm a bit confused
<gchristensen> does virt-manager require your user have r/w on /dev/kvm, and, do you have it?
<dhess> gchristensen: I regularly use WireGuard to deploy to remote hosts.
<slabity> Huh... /dev/kvm does not exist
<slabity> It appears the `kvm-intel` module never loaded? I have `boot.kernelModules = [ "kvm-intel" ];` though
<andi-> gchristensen: https://github.com/andir/nix-ydotool those are the three missing packages for ydotool.. I do not plan to maintian it there so catch it while you can ;-)
<gchristensen> thanks, fetched!
<{^_^}> [nixpkgs] @peti pushed 13 commits to haskell-updates: https://git.io/fjsEq
init_6 has quit []
<slabity> Ah, nevermind. Looks like it's disabled in bios
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fjsE3
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fjsEs
silver_ has joined #nixos
silver has quit [Ping timeout: 255 seconds]
sindrip has quit [Quit: WeeChat 2.4]
kisonecat has joined #nixos
erasmas has joined #nixos
drakonis_ has joined #nixos
dbmikus__ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<pie_> is there a way to import things from sets more granularly than {lib}: + callPackage?
<pie_> i mean in the case that I want to get something from lib for example.
ricekrispie2 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #60220 → pg8000: does not support Python 2.7 → https://git.io/fjsEV
<clever> pie_: let inherit (lib) foo; in ...
<pie_> clever, but that will still have lib in scope
<clever> callPackage ./foo { inherit (lib) bar; }; but thats yucky :P
<pie_> im approaching this from the perspective that importing only what you need limits some sort of complexity, but maybe thats mostly pointless
<pie_> yeah thats yucky :p
<pie_> i guess {lib}: (foo: ...) lib.foo but thats just yucky somewhere else :p
thetet has joined #nixos
ricekrispie has quit [Ping timeout: 258 seconds]
<pie_> {lib}: anApplyF lib.foo (foo: ...)
<pie_> :P
o1lo01ol1o has joined #nixos
<pie_> clever, what if we had more power in function arguments so we could do {a.b}: ...
* pie_ wanders off into nix-lang
mconstant has joined #nixos
<{^_^}> [nixpkgs] @mtrsk opened pull request #60221 → home-manager: 2018-11-04 -> 2019-04-23 → https://git.io/fjsEy
InFlames has joined #nixos
mabel has quit [Ping timeout: 250 seconds]
mconstant has quit [Client Quit]
pauline has quit [Ping timeout: 255 seconds]
mconstant has joined #nixos
Vitalii has joined #nixos
_kwstas has joined #nixos
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
InFlames has quit [Ping timeout: 250 seconds]
<Vitalii> Hi everyone. In order to install nix package manager I need to download https://nixos.org/releases/nix/nix-$NIX_VERSION/nix-$NIX_VERSION-x86_64-linux.tar.bz2 . Are there releases stored on s3? I would like to download the nix package manager from s3 bucket.
mabel has joined #nixos
thetet has quit [Quit: Leaving.]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/cf3e277dd0b (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<gchristensen> vitalii: why S3 specifically?
aanderse has quit []
aanderse has joined #nixos
<andi-> I am guessing firewallish things…
<gchristensen> nixos.org shares an IP space with S3 I think
<{^_^}> [nixpkgs] @aanderse merged pull request #60204 → rmount: init at 1.0.1 → https://git.io/fjsWj
<{^_^}> [nixpkgs] @aanderse pushed commit from @Luis-Hebendanz to master « rmount: init at 1.0.1 (#60204) »: https://git.io/fjsum
<andi-> Could still be an HTTP proxy that is a bit picky.. but who knows.. only vitalii can tell us :)
<Vitalii> gchristensen: because of the restriction of our current configuration.
<{^_^}> [nixpkgs] @zimbatm merged pull request #60078 → gitlab-runner: 11.8.0 -> 11.9.2 (release branch) → https://git.io/fj32h
<{^_^}> [nixpkgs] @zimbatm pushed commit from @kirelagin to release-19.03 « gitlab-runner: 11.8.0 -> 11.9.2 (release branch) (#60078) »: https://git.io/fjsu3
<gchristensen> are you able to fetch https://cache.nixos.org under these restrictions?
o1lo01ol1o has joined #nixos
<Vitalii> gchristensen: We have our own cache on s3, so that is not an issue.
halfbit has quit [Ping timeout: 264 seconds]
<gchristensen> ah
<gchristensen> I ask because cache.nixos.org is cloudfront backed by s3
<gchristensen> no it isn't
<gchristensen> it used to be. d'oh.
linarcx has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #60209 → pythonPackages.google-auth-oauthlib: fix python3 build → https://git.io/fjsBc
<{^_^}> [nixpkgs] @dotlambda pushed commit from @marsam to master « pythonPackages.google-auth-oauthlib: fix python3 build (#60209) »: https://git.io/fjsun
srl295 has joined #nixos
<Vitalii> Thanks
<gchristensen> vitalii: we don't Nix mirror releases to s3 at this time
<gchristensen> unfortunately
stepcut_ has joined #nixos
halfbit has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<Vitalii> gchristensen: thanks
o1lo01ol1o has joined #nixos
linarcx has quit [Client Quit]
stepcut has quit [Ping timeout: 276 seconds]
InFlames has joined #nixos
_kwstas has quit [Quit: _kwstas]
linarcx has joined #nixos
Vitalii has quit [Ping timeout: 256 seconds]
InFlames has quit [Ping timeout: 250 seconds]
m0rph has joined #nixos
m1sosoup has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dfd8f84aef1 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
jerrytgarcia has joined #nixos
mwilsoncoding has quit [Ping timeout: 256 seconds]
mconstant has quit [Read error: Connection reset by peer]
<{^_^}> [nixops] @PsyanticY opened pull request #1138 → [WIP]: EC2: Adding ec2 hibernation. → https://git.io/fjsuD
mconstant has joined #nixos
drakonis has joined #nixos
shabius has quit [Quit: Leaving]
drakonis_ has quit [Ping timeout: 250 seconds]
<pie_> I dont know why I cant get winePackages.unstable with a patch to build in parallel
<{^_^}> [nixpkgs] @volth opened pull request #60222 → oraclejdk8: 8u201 -> 8u211 → https://git.io/fjsu7
<pie_> I even tried passing --cores
drakonis_ has joined #nixos
shabius has joined #nixos
jerrytgarcia has quit [Quit: jerrytgarcia]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
drakonis has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #60215 → patchShebangs: create timestamp in tmp dir → https://git.io/fjsRv
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fjsux
shibboleth has joined #nixos
wolfman154 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #60223 → nixos/window-managers/i3: write config file to `/etc/i3/config` → https://git.io/fjszt
drakonis has joined #nixos
dejanr has joined #nixos
<wolfman154> Hello there, I just did a fresh install of nixos 19.03, when I copied and pasted a file from my usb to my laptop , the processor goes full speed , I think it’s an infinite loop, also I noticed I’ve been having this problem with gnome3, why is this happening?
nakkle has quit [Ping timeout: 255 seconds]
<wolfman154> How do I locate and turn off tha
<wolfman154> Process that’s causing my processor to do this?
<makefu> wolfman154: probably some state in your home which is missing now?
<makefu> just guessing here
<wolfman154> makefu: I haven’t set up home-manager yet so that’s not the problem, right after I copied and pasted my usb this happened, now whenever I turn on my laptop and sign in the processor starts going wild again?
fiberpunk[m] has joined #nixos
<ambro718> Which code in nixpkgs is responsible for setting executable RUNPATH?
ggpeti_ has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
dbmikus__ has quit [Ping timeout: 259 seconds]
<wolfman154> So how do I locate and kill the process?
<andi-> wolfman154: run top and see which process eats the CPU?
Ericson2314 has quit [Changing host]
Ericson2314 has joined #nixos
Ericson2314 has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #60224 → openjdk11: Update source hashes for aarch64 → https://git.io/fjszC
<wolfman154> andi-: command: .tracker-extrac(99.3%)?
<wolfman154> That’s what’s causing my cpu to go crazy, now my cpu stopped how strange?
<andi-> oh I remember.. that was something gnome3ish... Can you check the user journal? (journactl --user)
<makefu> wolfman154: afair tracker is used for indexing files
<andi-> I had a similar issue on some machines pre 19.03 release..
<andi-> it was crashing in circles..
dejanr has quit [Quit: WeeChat 2.4]
<xorAxAx> how do i pass the DISPLAY environment in case i am not in the X session? i.e. from e.g. an ssh session
<xorAxAx> i see that lightdm doesnt have a DISPLAY set
<wolfman154> Yep, gnome3
<xorAxAx> ah, but apps in the session have it. still, DISPLAY=:0.0 isnt sufficient
m0rph has quit [Quit: Leaving]
mconstant has quit [Ping timeout: 258 seconds]
<xorAxAx> ah, with Xauthority, it works
devhell has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
_kwstas has joined #nixos
mconstant has joined #nixos
pie___ has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
<pie___> updated to 19.03 because i apparently forgot to rebuild-switch
<pie___> oh my god nano has nix syntax highlighting now
<gchristensen> whaaaat
<pie___> lassulus, ^^^ :OOO
pie_ has quit [Read error: Connection reset by peer]
<gchristensen> finally I can switch back to nano
<pie___> i feel like im in the future
<devhell> *cough*
<pie___> devhell, do you have a cold too? :P
<devhell> witchcraft
<devhell> :P
<spacekookie> Hey so the other day my server (using zfs as root fs) failed to boot because `boot.loader.grub.copyKernels ` was set to false (default) and I was wondering what people's opinions here were to changing the default to true
<spacekookie> Maybe it'd be possible to only do it if the rootfs is a zfs but I'd argue that an unbootable computer is worse than some more space usage
ggpeti_ has quit [Ping timeout: 258 seconds]
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<pie___> (i completely forgot what i was working on, the march of progress is jarring)
<gchristensen> interesting, copyKernels should be defaulting to true if your boot path is not the same as the nix store
devhell has quit [Quit: WeeChat 2.4]
_kwstas has quit [Remote host closed the connection]
mconstant has joined #nixos
<arianvp> > lib.optional true [1]
<{^_^}> [ <CODE> ]
<arianvp> > lib.optionals true [1]
<{^_^}> [ 1 ]
<{^_^}> [nixpkgs] @hedning merged pull request #60175 → Fix orca and re-add liblouis → https://git.io/fjsLW
<{^_^}> [nixpkgs] @hedning pushed 3 commits to master: https://git.io/fjszi
<gchristensen> > :p lib.optional true [1]
<{^_^}> [ [ 1 ] ]
<arianvp> why did I need to use optionals again?
<{^_^}> [nixpkgs] @hedning pushed commit from @JohnAZoidberg to release-19.03 « orca: Set strictDeps to false »: https://git.io/fjszX
ckoparkar has joined #nixos
<xorAxAx> hmm, i enabled plymouth and now i get "/dev/dri/card0: failed to set DRM interface version 1.4: Permission denied"
Ariakenom has joined #nixos
<ckoparkar> Just ran into what I think is a package not found error while trying to build a paper using Nix. What's the best way to tell if this latex package: https://ctan.org/pkg/balance?lang=en, is included in nixpkgs ? It does not appear in https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/tools/typesetting/tex/texlive/pkgs.nix
Myhlamaeus has joined #nixos
<ckoparkar> Oh no! It's part of a bundle, and that _is_ available on nixpkgs
<ckoparkar> Sorry about the noise
Shouou has quit [Ping timeout: 276 seconds]
wolfman154 has joined #nixos
ggpeti has joined #nixos
wolfman154 has quit [Client Quit]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60225 → pwsafe: 1.06 -> 1.07 → https://git.io/fjsz5
ggpeti has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @rycee pushed commit from @mtrsk to master « home-manager: 2018-11-04 -> 2019-04-23 »: https://git.io/fjszN
<{^_^}> [nixpkgs] @rycee closed pull request #60221 → home-manager: 2018-11-04 -> 2019-04-23 → https://git.io/fjsEy
mwilsoncoding has joined #nixos
cosmo_ has joined #nixos
shibboleth has quit [Quit: shibboleth]
strobelight has joined #nixos
kisonecat has quit [Ping timeout: 255 seconds]
gagbo has joined #nixos
Neo-- has joined #nixos
hoek has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
elibrokeit has quit [Quit: A random quit message]
hoek has joined #nixos
Glider_IRC has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging-next: https://git.io/fjsgG
<{^_^}> [nixpkgs] @marsam closed pull request #60211 → lorri: init at 2019-04-24 → https://git.io/fjsBX
ckoparkar has quit [Ping timeout: 264 seconds]
ckoparkar_ has joined #nixos
<pie___> can anyone help me figure out why compiling wine wont parallelize? it takes really long on one core
ris has joined #nixos
lordcirth has joined #nixos
judson__ has joined #nixos
<pie___> also i need some easy-ish to fetchurl games to test wine with
<lordcirth> How do you guys manage your nixos config? Do you track /etc/nixos/ in git?
<lassulus> yes in git
<pie___> lordcirth, yeah i think a lot of people do that
<lassulus> pie___: Interesting project ;D
<lassulus> maybe test with gta2?
<pie___> lassulus, its great to have at least a working plugin stuff even if i dont understand it :D
<lassulus> it has a really good soundtrack
<lassulus> and it's free
<lordcirth> pie___, something that's hard to run, or something simple?
<pie___> lordcirth, tidbit: you can make a script that checks if you have any files not checked in, and if your repo is clean it can just update some json files to bump your pinned nixpkgs \o/ or at least i wanted to do that but havent gotten around to it...maybe theres better ways :D
<pie___> lordcirth, taking any and all suggestions
<pie___> lassulus, gta sounds like a reasonable try...still would need a compiled wine first
<lordcirth> pie___, .kkrieger is a 95kb binary :)
<pie___> lassulus, send links or something
<pie___> lordcirth, ah hehe right
<lassulus> kkrieger should be easy
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fc48e74127c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/02adc5618a3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
* pie___ makes github project called nix-just-get-me-my-damn-game-and-run-it
kleisli has joined #nixos
<pie___> just realized i havent even thought of dealing with installers yet but ehh, later
<pie___> cs2d works
<pie___> dont have anything for dealing with the overlay writeback results yet
kisonecat has joined #nixos
<pie___> omg wine is finally done i hope i dont have to rebuild it again
<pie___> does unsafeDiscardStringContext only work if you apply it immediately?
<pie___> hm i must be doing something else wrong
gagbo has quit [Ping timeout: 245 seconds]
kisonecat has quit [Ping timeout: 250 seconds]
<pie___> oh no its building wine again
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/02adc5618a3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Adluc has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
aither64 has joined #nixos
aither has quit [Ping timeout: 240 seconds]
Shouou has joined #nixos
Adluc has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
<pie___> updating to 19.03 seems to have messed up my touchpad :/
mexisme has joined #nixos
<andi-> ,locate libclang.so
<{^_^}> Found in packages: rstudio, emscriptenfastcomp, llvmPackages.clang-unwrapped.lib
<ar> pie___: it's probably moved from synaptics to libevent
mconstant has quit [Ping timeout: 244 seconds]
<pie___> ar how do i switch back
<pie___> i just have services.xserver.libinput.enable = true;
<pie___>
<{^_^}> [nixpkgs] @timokau opened pull request #60226 → python.pkgs.cysignals: 1.9.0 -> 1.10.2 → https://git.io/fjsg7
mexisme has quit [Ping timeout: 255 seconds]
fiberpunk[m] has left #nixos ["User left"]
<ambro718> Is there a preferred way to do a recursive replace in all files in source code?
Shouou has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
Izorkin has quit [Ping timeout: 245 seconds]
ckoparkar_ has quit [Ping timeout: 240 seconds]
ckoparkar has joined #nixos
cosmo_ has quit [Ping timeout: 250 seconds]
<nh2> pie___: one thing to check is if the kernel sees the device
mconstant has joined #nixos
<nh2> if yes then it might be an xserver change instead
<coconnor> ambro718: Preferred editor? I use projectile for this in emacs
<ambro718> oh I mean in nix packages :)
<coconnor> ahh yes
<coconnor> find + sed?
<ambro718> I'm currently doing: find . -type f -print0 | xargs -0 sed -i 's/X/Y/g'
<ambro718> yeah I suppose that's all right
<coconnor> LOL WELL
<coconnor> I guess I don't have a better idea! haha
jerrytgarcia has joined #nixos
<gchristensen> substituteAllInPlace / substituteInPlace
<gchristensen> but find is pretty good
<ambro718> thanks, great
<pie___> i mean the mouse works
<pie___> it just works a lot worse
<pie___> ar nh2 ^
<ar> pie___: services.xserver.synaptics.enable?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie___> ill give it a shot
linarcx has quit [Quit: WeeChat 2.4]
<pie___> hmm but if ive been using libinput all this time tha should still be fine...
<pie___> still crappy
<pie___> maybe it just needs a reboot :/
<monsieurp> hello, I'm a total noob wrt writing nix expressions (packages, right?), I've been trying to put one together but to no avail, can somebody help?
<gchristensen> yep! go ahead and explain what you're trying to do, what you've tried, and what isn't going right
<djanatyn> wow, i'm having such a blast. i started using NixOS a few days ago and i've already gotten rid of the CentOS 7 VM i've been using at work for 2 years and replaced it with a new NixOS VM
<gchristensen> nice, djanatyn!
<djanatyn> the manuals for Nix, NixOS, Nixpkgs, and Nix Pills are fantastic
<djanatyn> the package and option search is also really great!
<gchristensen> ♥‿♥
<djanatyn> i'm really startled by how easy it has been to onboard, thanks for all the effort poured into this project
<gchristensen> I'm so tickled to hear that you find it easy
<djanatyn> i've spent a lot of years configuring VMs with ansible and working really hard to be confident my playbooks were actually idempotent and reproducible
<pie___> haha
<djanatyn> being able to specify the output hash for each derivation is magical to me
<pie___> welcome \o/
linarcx has joined #nixos
<pie___> not something i expected to hear :D its great to hear it though! guess ill have to start cutting back on the complaints ,P <djanatyn> the manuals for Nix, NixOS, Nixpkgs, and Nix Pills are fantastic <djanatyn> the package and option search is also really great!
<pie___> gchristensen, ikr?
<coconnor> anybody try build dxvk on nixpkgs? https://github.com/doitsujin/dxvk
<monsieurp> gchristensen: sorry I was afk. so basically I want to write an expression for a Python package called pydf
<ambro718> How do I do some substitutions in setupHook script that is included in a package?
<mwilsoncoding> anybody have a decent setup for building python packages from source gathered from github rather than pypi?
<ambro718> currently the package does this: setupHook = ./setup-hook.sh; I need to make a replacement in the script.
<monsieurp> https://bpaste.net/show/54e75895ff92 that's what I've got so far
fendor_ has quit [Ping timeout: 250 seconds]
<djanatyn> the manuals definitely take some cross-reference! but all my questions have answers within the manuals and nix pills. if i'm reading someone's nix configuration and there's an expression i don't understand, i can find the answer through nixpkgs search, the manuals, or nix pills 100% of the time
<Synthetica> mwilsoncoding: Can't you just use fetchFromGitHub instead of fetchPypi?
<Synthetica> I don't think it's that different otherwise
<monsieurp> I shamelessly copied most of the code from another nix expression :$
Neo-- has quit [Ping timeout: 245 seconds]
<monsieurp> and then replaced what I needed
<mwilsoncoding> Synthetica: oh- yeah, I think that'll do. I've been packaging ~80 python modules using pypi and may have forgot that existed...
silver_ is now known as silver
<Synthetica> Haha, happens to the best of us
<mwilsoncoding> monsieurp: that's also pretty much the same setup I have for pip packages, I need fetchFromGitHub tho because the package that is released on pip is behind the github repo- I'm not sure why... I'll probably find out tho =]
<monsieurp> thing is.. how do I test it out?
<jerrytgarcia> Anyone knows how to install Gnome from unstable? I only get this from the wiki. https://nixos.wiki/wiki/Gnome
<mwilsoncoding> monsieurp: it's a default.nix file, so I assume nix-shell?
zupo has joined #nixos
<mwilsoncoding> ah- wrong syntax for that I think
<mwilsoncoding> monsieurp: I'd test that by directly using it in a checkout of nixpkgs
<monsieurp> yes
kleisli has quit [Ping timeout: 250 seconds]
<ambro718> symphorien: Thanks. Though, the docs say that substituteAll is anyway performed, but it does not work for me, or maybe I export my variable too late (in postPatch).
<ambro718> https://nixos.org/nixpkgs/manual/ "setupHook ... Environment variables are then substituted in it using substituteAll."
<mwilsoncoding> then the following would be next methinks: nix-shell -E 'with import /<path/to/local/>nixpkgs {}'
<ambro718> can someone say how I should export a variable to make the substitution work in setupHook?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60225 → pwsafe: 1.06 -> 1.07 → https://git.io/fjsz5
<{^_^}> [nixpkgs] @c0bw3b pushed to master « pwsafe: 1.06 -> 1.07 (#60225) »: https://git.io/fjs2c
<andi-> ambro718: just set the variables in the derivation
<ambro718> ah right
<coconnor> jerrytgarcia: Are you encountering an error enabling gnome3?
tboston_ has joined #nixos
<mwilsoncoding> aaah- I forgot the semicolon... in fairness tho, there's probably more to that expression =P
<ambro718> andi-: did not work though. Derivation has MY_VARIABLE = "something", setup-hook.sh uses @MY_VARIABLE@ which remains unsubstituted.
Glider_IRC_ has quit [Remote host closed the connection]
Izorkin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ambro718> "Environment variables that start with an uppercase letter or an underscore are filtered out," ....
<jerrytgarcia> coconnor: No but I'll be on the 19.03 and I want to install the unstable gnome. =)
o1lo01ol1o has quit [Remote host closed the connection]
<coconnor> jerrytgarcia: not sure what "unstable" gnome means. gnome 3.32?
<jerrytgarcia> coconnor: nixos-unstable channel.
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.mysql-connector: 8.0.15 -> 8.0.16 »: https://git.io/fjs24
<coconnor> ah. if you are using nixos-unstable for your nixos base then gnome3 will be gnome 3.32
psyanticy has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @barakber opened pull request #60227 → swi-prolog: updated version + packs support → https://git.io/fjs2B
<coconnor> if you want to use nixos stable and only gnome3 from unstable... not sure if that's even doable. Somebody else know?
drakonis has joined #nixos
Glider_IRC_ has joined #nixos
Glider_IRC_ is now known as Glider_IRC
strobelight has quit [Quit: gtg]
<jerrytgarcia> coconnor: For other packages I just prefix the package attribute with the channel name nixos-unstable.firefox . Don't know how to do it with desktop and window managers though.
o1lo01ol1o has joined #nixos
<jerrytgarcia> coconnor: The package maintainer seems to suggest to use the unstable channel for gnome as well. https://discourse.nixos.org/t/why-does-gnome-settings-show-gnome-3-0-even-though-its-3-30/2745/3
o1lo01ol1o has quit [Remote host closed the connection]
work_ has joined #nixos
o1lo01ol1o has joined #nixos
kisonecat has joined #nixos
<coconnor> I suspect they are using nixos-unstable for their nixos
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.5.0.11 -> 3.5.0.12 »: https://git.io/fjs2u
<coconnor> jerrytgarcia: maybe using an overlay you can override gnome3 to map to unstable. Never tried that tho.
<coconnor> as in, override `pkgs.gnome3` not the module gnome3
<jerrytgarcia> coconnor: Have you experienced using nixos-unstable as your base? I read it's just like an arch rolling release.
zupo has joined #nixos
<gchristensen> ,which-channel
<mwilsoncoding> is it possible to use fetchFromGitHub to fetch only a specific path at a specific commit in the repo?
<coconnor> jerrytgarcia: I use my own nixos channel CI'd from nixos-unstable after some additional tests. Works OK.
<coconnor> definitely get to experience bugs early! and fixes tho
<mwilsoncoding> the folder contents seem comparable to the .zip you can download for v0.20.6 here: https://pypi.org/project/azure-servicemanagement-legacy/#files
<mwilsoncoding> so I'm thinking if I can just clone that one directory, very little else will need to change
<mwilsoncoding> otherwise I need to clone the whole repo and modify the builder to cd into the servicemanagement-legacy directory prior to building, which seems all kinds of wrong
tboston_ has quit [Ping timeout: 258 seconds]
<stepcut_> my hydra build is failing with 'error: you are not privileged to build derivations' but the 'hydra' user is listed as a trusted-user and I reloaded the nix-daemon. And doing nix-build by hand as the hydra user works :-/
kleisli has joined #nixos
<jerrytgarcia> coconnor: Sounds like an adventure lol. I'll give nixos-unstable a go, more than half of my packages are using the unstable branch anyway.
mwilsoncoding has quit [Quit: Page closed]
kisonecat has quit [Ping timeout: 245 seconds]
<jerrytgarcia> coconnor: What CI do you use?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60195 → xkcd-font: init at 2017-08-24 → https://git.io/fjsGc
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjs2o
kisonecat has joined #nixos
<jerrytgarcia> coconnor: BTW thanks for helping me out. =)
<clever> stepcut_: does the hydra have build slaves?
<stepcut_> clever: maybe? /etc/nix/machines has a single entry, localhost x86_64-linux 1
mabel has quit [Remote host closed the connection]
<stepcut_> when I did not have that entry hydra-queue-runner complained that there were not machines available to build on or something
<clever> stepcut_: localhost has a special case, dont rmember the exact rules
<coconnor> jerrytgarcia: I use Jenkins. it is definitely an adventure haha. Kinda a sloppy setup but it's worked for a few years
<stepcut_> hydra-queue-runner and friends were working when I ran them under my user account, this issue did not start until I created a new hydra user to run the hydra stuff
<clever> stepcut_: if you `strace -p <pid> -f -e execve` on the pid of the queue-runner, what commands is it starting?
detran has joined #nixos
mabel has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc pushed commit from @edolstra to master « bigmac again »: https://git.io/fjs29
<stepcut_> clever: thx. I think the error is that `nix-store` was not in the search path.
<clever> stepcut_: thats a common problem when ssh'ing into a remote machine
<clever> stepcut_: you can test it with `ssh user@host nix-store --version`
<stepcut_> clever: in this case, it wasn't even ssh. The hydra server is running on an ubuntu box, and the hydra user did not have quite enough things in its PATH
<stepcut_> it could not find the local version of nix-store
linarcx has quit [Ping timeout: 250 seconds]
domogled has joined #nixos
fendor_ has joined #nixos
cross has joined #nixos
fendor_ has quit [Client Quit]
<BlessJah> I am trying to build an empty (for now) squashfs, yet fail with: https://bpaste.net/show/2865be155c0a
<BlessJah> I get `error: value is a function while a set was expected` when calling 'import <nixpkgs/nixos/lib/make-squashfs.nix>' with required set
mconstant has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @seqizz opened pull request #60228 → pythonPackages.pysnooper: init at 0.0.21 → https://git.io/fjs2b
m0rphism has joined #nixos
<ambro718> Can makeWrapper do "set only if not already set"?
<yuken> Huh, does Nix not have a setting for the GTK themes in applicable desktops? If not, I guess I'll have to just copy around my settings files.
<infinisil> yuken: That's stateful, you have to use lxappearance or so to set it
<BlessJah> ugh, of course, I need to call `import <nixpkgs>;` (e.g. `import <nixpkgs> {};`
<infinisil> Or lxappearance-gtk3
<yuken> infinisil, well, I'm installing a theme as part of my setup, arc-theme and papirus-icon-theme.
<infinisil> Installing themes will make them available for selection in lxappearence
<yuken> Which can be set globally for all users as a default, iirc, with XFCE at least.
elibrokeit has joined #nixos
<yuken> Yes, but I'm talking about having my themes & panel & etc setup automatically.
<yuken> From my Nix configs.
<infinisil> Yeah I don't know if there's anything for that
ckoparkar has quit [Remote host closed the connection]
<yuken> Guess I'll jsut need to copy my XFCE settings and store them on my site or something
erasmas has quit [Quit: leaving]
Anton-Latukha has quit [Ping timeout: 268 seconds]
<emilsp> infinisil: hiya, do you recall the issue I was having yesterday night? Well, it's weird. I tried to reproduce it, but lietrally can't - nix-build '<nixpkgs/nixos>' --arg configuration /etc/nixos/configuration.nix -A config.services.znc.configFile produces a valid config file. nixos-rebuild switch generates a config file that is garbage :(
__monty__ has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59620 → [19.03] emacs: Link subdirs.el into emacs-packages-deps → https://git.io/fjYvu
<infinisil> emilsp: Since you have something that works and something that doesn't you can bisect between the two
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging-19.03: https://git.io/fjsaf
<emilsp> that's true, but it's literally the same inputs - it's the build tool that's acting up differently :/ Would you mind doing some more hand holding ?
<alienpirate5> > (import <nixpkgs> {}).hello.name
<{^_^}> "hello-2.10"
Neo-- has joined #nixos
<monsieurp> :(
<monsieurp> I literally copy paste the code into a new file, run nix-shell and get syntax errors :/
<sphalerite> monsieurp: that trailing semicolon shouldn't be there…
<sphalerite> monsieurp: I'll fix it right away :)
Xal has quit [Ping timeout: 268 seconds]
<monsieurp> thanks
<monsieurp> semicolon removed
<monsieurp> now I'm getting this error
<monsieurp> error: cannot auto-call a function that has an argument without a default value ('lib')
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b12b1e2f428 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b12b1e2f428 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @timokau merged pull request #60226 → python.pkgs.cysignals: 1.9.0 -> 1.10.2 → https://git.io/fjsg7
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.cysignals: 1.9.0 -> 1.10.2 (#60226) »: https://git.io/fjsaI
<alienpirate5> how do i disable the test suite on the orc package? one of the tests does not pass on arm but i want it to be installed anyway
<sphalerite> monsieurp: yeah, that can't be built directly using nix-build, you need to callPackage it
<sphalerite> monsieurp: nix-build -E 'with import <nixpkgs> {}; python3Packages.callPackage ./toolz.niz {}' should work
Xal has joined #nixos
<sphalerite> alienpirate5: get doCheck = false; passed in by editing the expression or using overrideAttrs
<alienpirate5> already tried it
<{^_^}> [nixpkgs] @lheckemann pushed to master « doc: fix syntax error in python documentation »: https://git.io/fjsaY
<alienpirate5> the entry in my systemPackages is `(orc.overrideAttrs (_: { doCheck = false; }))`
<sphalerite> monsieurp: ^ fixed it :)
<sphalerite> alienpirate5: hm, yes, that looks right to me. Give me a minute :)
<monsieurp> sphalerite: thanks!
<{^_^}> [nixpkgs] @lheckemann pushed to release-19.03 « doc: fix syntax error in python documentation »: https://git.io/fjsaO
<xorAxAx> whats the option to copy configuration.nix to the profile?
<sphalerite> xorAxAx: system.copySystemConfiguration: https://nixos.org/nixos/options.html#copysys
<xorAxAx> thank you very much sphalerite
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjsas
<sphalerite> alienpirate5: hm, I really don't get why that would fail. Is it maybe failing as a dependency of something else, where it's used without being overridden?
<monsieurp> sphalerite: the package builds fine but I have yet to fully grasp what the command does and why it is necessary to run nix-shell with those arguments
<monsieurp> can you point me to a good doc to read?
<sphalerite> ,pills
<sphalerite> The nix pills are a good in-depth introduction to how nix works and how it's used, and cover callPackage as well
Neo-- has quit [Ping timeout: 258 seconds]
<sphalerite> monsieurp: if you want to skip straight to callPackage, https://nixos.org/nixos/nix-pills/callpackage-design-pattern.html
<monsieurp> I was gonna ask :D
<sphalerite> :D
drakonis has quit [Read error: Connection reset by peer]
<monsieurp> well... I'm more or less able to work on the Python program I've been wanting to actually package :)
kisonecat has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59882 → goxel: re-enable aarch64 → https://git.io/fjOl6
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Mic92 to master « goxel: re-enable aarch64 (#59882) »: https://git.io/fjsal
Qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<emilsp> infinisil: I apologize for my constant cries for help - the root cause of my issues was rather simple. I hadn't set services.znc.mutable = false;
<infinisil> Ah :)
<emilsp> Thank you very much for holding my hand all the way through :)
Qubasa has joined #nixos
isidore has joined #nixos
<alienpirate5> sphalerite: I don't know why it's failing either
<sphalerite> alienpirate5: what's the full error output?
<alienpirate5> uh
<alienpirate5> one second
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59557 → cargo-sweep: init at 0.4.1 → https://git.io/fjmya
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsa0
drakonis_ has joined #nixos
isidore has quit [Quit: WeeChat 2.4]
<yuken> Oh god, installing kernel modules/drivers under NixOS
<yuken> how does one even go about doing that?
<{^_^}> [nixpkgs] @lheckemann opened pull request #60231 → nixos/tinc: remove ordering dependency on network.target → https://git.io/fjsaw
<gchristensen> nice, sphalerite
<sphalerite> yuken: by packaging them and adding them to boot.extraModulePackages
<sphalerite> yuken: (packaging step is optional if they're already packaged ;) )
<yuken> That sounds like it's gonna take me a while.
<sphalerite> simpson: that's not kernel modules…
drakonis has joined #nixos
<simpson> sphalerite, yuken: Oh, out-of-tree stuff?
<sphalerite> yuken: shouldn't be too bad. What are you looking to use?
<simpson> Then yeah, gotta package it. Proprietary code doesn't install itself~
<yuken> Drivers for my tablet.
<sphalerite> yuken: that doesn't look too bad. You can probably mostly copy e.g. pkgs/os-specific/linux/rtl8821ce/default.nix
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58416 → gnulib: 20180226 -> 20190326 → https://git.io/fjUiY
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to staging: https://git.io/fjsao
halfbit has quit [Quit: WeeChat 2.4]
drakonis_ has quit [Ping timeout: 264 seconds]
kleisli has quit [Ping timeout: 250 seconds]
rev_strangehope has joined #nixos
jd823592 has joined #nixos
<simpson> yuken: You may also want to read the nvidia-x11 stuff, since that both builds a kernel module and also builds Xorg drivers: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/nvidia-x11/builder.sh#L23
<jd823592> Hi, would you recommend I used nix to make "script" that creates fs on selected disks, runs nixos installation and populates global but also user-specific configurations from some "templates"... my aim is to be able to get a reproducible setup of my home computer for whenever i decide to reinstall it
<ambro718> What's the status of Wayland support in NixOS? I read that KWin is getting nvidia support and was wondering if I could try upgrading to the unstable kwin to see if it works.
<ambro718> but only if wayland generally works at all in nixos
_kwstas has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #60181 → rls: 1.31.7 -> 1.34.0 → https://git.io/fjsms
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjsa1
<sphalerite> jd823592: yes, nixos is helpful for doing that kind of thing.
<ambro718> How do I see why nix is recompiling some package?
rev_strangehope has quit [Ping timeout: 255 seconds]
<sphalerite> jd823592: clever has a script for that sort of stuff https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
_kwstas has quit [Ping timeout: 246 seconds]
<ambro718> I made a bunch of changes in desktop-related stuff and for some reason the kernel is being rebuilt
<sphalerite> ambro718: nix-diff can be helpful for that sort of stuff
<ambro718> ok, so nix-diff LEFT RIGHT -- what is this?
<ambro718> now sure what I am supposed to give it or how it will help me
<yuken> I wonder, how do I check whether my system has any non-libre drivers or modules loaded, or determine if it needs non-libre stuff?
<coconnor> wayland has never worked for me... but I use nvidia 390
<coconnor> tho, maybe the recent EGLStreams stuff will work?
<sphalerite> ambro718: you give it two .drv paths and it will compare them
kisonecat has joined #nixos
<jd823592> sphalerite: thanks
<{^_^}> [nixpkgs] @matthewbauer pushed to staging-next « tests/systems: fix tests »: https://git.io/fjsa5
mconstant has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59589 → purescript: upgrade to 0.12.5 → https://git.io/fjm7N
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @justinwoo to master « purescript: upgrade to 0.12.5 (#59589) »: https://git.io/fjsab
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59523 → guake: 3.4.0 -> 3.5.0 → https://git.io/fjm1C
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjsaN
<ambro718> how do I get the drv path for an output path?
kisonecat has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59484 → eagle: 9.3.1 -> 9.3.2 → https://git.io/fjmrZ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsax
<sphalerite> ambro718: nix-store -q --deriver
<alienpirate5> sphalerite: http://ix.io/1HdG
<ambro718> thanks
<sphalerite> alienpirate5: right, it's a different orc from your overridden one that's failing
<sphalerite> alienpirate5: it's the one brought in by gst-plugins-bad and -base
<sphalerite> alienpirate5: to override its use in all of nixpkgs, you'll want to use an overlay. ` nixpkgs.overlays = [(self: super: { orc = super.orc.overrideAttrs (_: { doCheck = false; })]; ` should do the trick
<sphalerite> alienpirate5: you also probably don't want it in systemPackages at all
<stepcut_> in hydra, when looking at a build there is an 'Action' menu and you can select to 'keep' a build. But.. how do you get rid of builds you no longer care about?
kisonecat has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #60233 → oauth2_proxy: 20180325 -> 3.2.0 → https://git.io/fjsaj
<alienpirate5> sphalerite: thank you!
<ambro718> Can someone show me how to properly add kernelPatches to a kernel package? See here: https://github.com/NixOS/nixpkgs/pull/60172/files
<ambro718> It is wrong because it results in the default patches (in this case args-list-too-long and bridge-stp-helper) from being discarded.
Ariakenom has quit [Quit: Leaving]
mkoenig has quit [Remote host closed the connection]
<ambro718> I'm guessing I need to merge with args.kernelPatches?
<sphalerite> ambro718: (not the actual solution, but) putting it in pkgs/os-specific/linux/kernel/patches.nix will let you reduce the duplication
<ambro718> didn't doo that because it's a very temporary thing and not much duplication
<sphalerite> ambro718: it seems that the other patches are just placed in in all-packages.nix
<ambro718> interesting, I was never a fan of setting random things in all-packages.nix
<ambro718> oh well, so that then
hio has quit [Quit: Connection closed for inactivity]
jfroche has joined #nixos
<gchristensen> I think we're moving away from that as a practice
<gchristensen> (but obviously the kernels don't do that yet)
<sphalerite> I think in this case it's appropriate since that's where the other patches are set and it's temporary
<gchristensen> +1
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59513 → git-review: 1.27.0 -> 1.28.0 → https://git.io/fjmPL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « git-review: 1.27.0 -> 1.28.0 (#59513) »: https://git.io/fjsVY
stepcut_ has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
kisonecat has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
<alienpirate5> sphalerite: it worked, thanks!
<sphalerite> \o/
<{^_^}> [nixpkgs] @nyanloutre opened pull request #60234 → dex-oidc: 2.4.1 -> 2.16.0 → https://git.io/fjsVC
m0rphism has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
bvdw6 has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #60235 → cryptsetup: create /run/cryptsetup → https://git.io/fjsVl
bvdw6 has quit [Client Quit]
Neo-- has quit [Ping timeout: 250 seconds]
_kwstas has quit [Quit: _kwstas]
stepcut has quit [Remote host closed the connection]
<rycee> Anybody know why hnix is marked as broken?
stepcut has joined #nixos
st4ll1 has quit [Ping timeout: 244 seconds]
st4ll1 has joined #nixos
<{^_^}> [nixpkgs] @monsieurp opened pull request #60236 → pydf: init at 12 → https://git.io/fjsVV
NickSeagull has joined #nixos
<samueldr> rycee: AFAIUI a bunch of haskell packages were marked broken at once in an automated update, but I don't know enough about the haskell infra to say more
<monsieurp> :D
<samueldr> so it might not be hnix specific
<rycee> samueldr: Right, I'm trying a build now. Will see what's up :-)
stepcut has quit [Ping timeout: 276 seconds]
<gchristensen> monsieurp++
<{^_^}> monsieurp's karma got increased to 1
o1lo01ol1o has quit [Remote host closed the connection]
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has joined #nixos
<monsieurp> :)
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59457 → cctz: 2.2 -> 2.3 → https://git.io/fjm27
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsV1
<{^_^}> [nixpkgs] @lheckemann opened pull request #60237 → nixos/kexec: don't clobber existing kexec-loaded kernel → https://git.io/fjsVM
<gchristensen> > python3Packages.fetchPypi
<{^_^}> <LAMBDA>
st4ll1 has quit [Ping timeout: 246 seconds]
st4ll1 has joined #nixos
pie___ has quit [Ping timeout: 258 seconds]
kleisli has joined #nixos
pie_ has joined #nixos
<yuken> Time to work on Digimend under Nix I guess, let's see if I can do this.
<{^_^}> [nixos-org-configurations] @grahamc pushed to master « Setup wireguard on bastion »: https://git.io/fjsV7
bikes has joined #nixos
bikes has quit [Read error: Connection reset by peer]
bikes has joined #nixos
<worldofpeace> Anyone here use fprintd in nixos and be willing to test something?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has quit [Quit: Leaving]
bikes has quit [Ping timeout: 258 seconds]
shibboleth has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<das-g[m]> How do I hack on ruby software in NixOS?
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
jasongrossman has quit [Read error: Connection reset by peer]
jasongrossman has joined #nixos
wolfman154 has joined #nixos
<samueldr> depends, but I've been successful in simply using bundler within a nix-shell and do as usual
<samueldr> (with other dependencies added e.g. zlib)
wolfman154 has quit [Client Quit]
wolfman154 has joined #nixos
ajp_ has quit [Quit: No Ping reply in 180 seconds.]
ajp has joined #nixos
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wolfman154 has quit [Client Quit]
[Leary] has joined #nixos
mexisme has joined #nixos
hellrazor has quit [Ping timeout: 246 seconds]
Lears has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
Lears has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
stepcut has quit [Remote host closed the connection]
Mark__ has joined #nixos
Mark__ has quit [Client Quit]
stepcut has joined #nixos
[Leary] has quit [Ping timeout: 250 seconds]
<das-g[m]> I've cloned github.com/asciidoctor/asciidoctor and tried `nix run nixpkgs.bundler -c bundle install`
<das-g[m]> That gave me a stack trace starting with
<das-g[m]> Errno::EROFS: Read-only file system @ rb_sysopen - /nix/store/rwp5fpzqssf5m9dzbgbwsfgdzw8xajra-ruby-2.5.5/lib/ruby/gems/2.5.0/bundler.lock
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<samueldr> ther might be an issue with ruby 2.5's bundler within nixos when used imperatively (I no one currently confirmed my suspicions in the issue)
stepcut has quit [Remote host closed the connection]
<samueldr> not used to nix run, so I'll go with nix-shell: nix-shell -p ruby_2_6 zlib --run "bundle install --path vendor/bundler"
<samueldr> (nokogiri requires zlib)
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<das-g[m]> That seems to work. Thanks!
acarrico has quit [Ping timeout: 255 seconds]
<samueldr> without `--path` it would try to install gems to the nix store, which it cannot
<samueldr> do note that when collecting garbage within the nix store, it might collect whatever this is using
<samueldr> at that point I'm not sure if there's a native way within bundler, but I nuke the vendor/bundler dir and reinstall
<samueldr> though, don't take this as "the one way", I'm sure there are myriad ways to hack around ruby projects :)
<samueldr> that one might be the most convenient to lull in the usual ruby developer within the Nix and NixOS ecosystem :)
stepcut has joined #nixos
hellrazor has joined #nixos
<das-g[m]> It's some time ago I last used ruby, bundler etc.
<das-g[m]> Is it a nixos-specific thing that it tries to install at a system-wide location when --path isn't specified?
ddellacosta has joined #nixos
<das-g[m]> (I thought the default was some hidden directory in $HOME.)
judson_ has joined #nixos
<samueldr> dependent on the configuration
<samueldr> I seem to remember one other OS where it defaults to a system wide location
<samueldr> well, distro, though not entirely positive so I won't name it
judson__ has quit [Ping timeout: 250 seconds]
NickSeagull has joined #nixos
<aswanson> any r/rstudio users on? Specifically ones who've gotten python modules to run in R? Specifically-specifically folks who've successfully used tensorflow/keras in rstudio?
<yuken> My jeebus, I am not used to functional programming
<yuken> never even used a non-OOP language
<samueldr> never ever?
<yuken> nopers.
<samueldr> :)
<samueldr> no bash scripts?
<yuken> oh, well bash can't count! :P
<aswanson> so that's why I feel like such a dummy for googling what feels like simple stuff when writing bash scripts :P
<samueldr> it can! echo {1..10} # sorry, I'll stop :)
<jasongrossman> samueldr: If you'd written that joke in the chat channel I'd have ++ed you for it.
<yuken> I can barely figure out the basics of the Nix language, maybe I should learn FORTRAN first
<samueldr> sorry, contextual here, thouth yuken, more seriously, maybe you could pick our brain?
<samueldr> though*