gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<gchristensen> infinisil: =)
<gchristensen> infinisil: its very easy to fix!
<infinisil> gchristensen: Heh yeah, I just realized you seem to catch my bots message, and not the "infinisil++" string
jperras has joined #nixos
<infinisil> Good news is: I'm currently redesigning my nixbot so that such username-based abuse can't happen anymore!
<gchristensen> blockchain?
<infinisil> How did you know
<gchristensen> it is the only way to build anything
<infinisil> The truth you speak
<Guest15446> gchristensen--
Guest15446 is now known as judson
<judson> Dammit, nickserv
jperras has quit [Ping timeout: 256 seconds]
Sonarpulse has quit [Ping timeout: 256 seconds]
<gchristensen> infinisil: I do like that karma can only go up =)
<infinisil> Well, almost
<judson> How do we deal with blockchaining then?
<samueldr> I'm diving into the nixos modules system... it's nice how easy it is to (ab)use into your own thing
sir_guy_carleton has quit [Quit: WeeChat 2.0]
thc202 has quit [Ping timeout: 255 seconds]
matthewbauer has joined #nixos
jperras has joined #nixos
troydm has joined #nixos
sk8forether has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « androidndk: fixup asm linking »: https://git.io/vh62s
hoshineko has quit [Ping timeout: 264 seconds]
matthewbauer has quit [Remote host closed the connection]
<nh2[m]> dtz: at some point we probably want to configure the ghc to be itself linked at least almost-statically, right now in the dynamic link it has 150 ms startup time
Lev50 has quit [Quit: This computer has gone to sleep]
Have-Quick has joined #nixos
hoshineko has joined #nixos
<fresheyeball> Does nixops work? I mean, I expect it to work on nixos atleast.
xcmw has joined #nixos
<fresheyeball> this is weird
contrapumpkin has quit [Quit: Textual IRC Client: www.textualapp.com]
raynold has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
silver has quit [Quit: rakede]
alex`` has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41952 → llvm: Remove unneeded libcxxabi dependencies → https://git.io/vh6Rj
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vh6ah
mkoenig_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 pushed 41 commits to staging: https://git.io/vh6VT
Sonarpulse has joined #nixos
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @jraygauthier opened pull request #41954 → hplip: 3.18.3 -> 3.18.5 → https://git.io/vh6VZ
fresheyeball has quit [Quit: WeeChat 2.0]
Mr_Keyser_Soze has quit [Ping timeout: 265 seconds]
zearen has joined #nixos
oltoAltn has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
olto has quit [Ping timeout: 265 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Have-Quick has quit [Quit: Have-Quick]
<rprije> Hi. How can I get a list of attributes in nixpkgs? ie finding sibling attributes to haskellPackages
Mr_Keyser_Soze has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
<rprije> Also, is there any way of listing everything on the same hierarchy as nixpkgs itself?
<rprije> *same hierarchy level
<rprije> Concretely, I'm trying to find where haskellPackages_ghcjs went and in the process trying to learn the tools that would allow me to figure it out on my own.
jperras has joined #nixos
<infinisil> rprije: Hmm, I often just use rg in a nixpkgs checkout to find stuff
<infinisil> One way to list packages in an attrset is to use `nix-env -qaA haskellPackages`
<infinisil> rprije: But to find this stuff out, I'd recommend to look at the definition of things. In this case, how haskellPackages is defined
xcmw has joined #nixos
<infinisil> And (almost) all top level attributes are defined in nixpkgs/pkgs/top-level/all-packages.nix
<rprije> infinisil, Thanks. That's basically what I've been reaching for but it'd be nice if there were a simple query for it.
MP2E has joined #nixos
<infinisil> Well you could evaluate it with nix directly and process it however you want, e.g. like this: nix-instantiate --eval -E 'builtins.attrNames (import <nixpkgs> {}).haskellPackages' --json | jq '.[]' -r
<infinisil> ^ outputs a list of all attributes under haskellPackages
<rprije> Ooh, that's helpfully general. Thanks!
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
ryantrinkle has joined #nixos
contrapumpkin has joined #nixos
halfbit has quit [Ping timeout: 245 seconds]
alphor has quit [Ping timeout: 256 seconds]
cstrahan_ has quit [Ping timeout: 256 seconds]
cstrahan_ has joined #nixos
alphor has joined #nixos
truthadjustr has quit [Quit: leaving]
oida has quit [Remote host closed the connection]
oida has joined #nixos
mizu_no_oto has joined #nixos
igo95862 has joined #nixos
spear2 has joined #nixos
Mr_Keyser_Soze has joined #nixos
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
Mr_Keyser_Soze has quit [Ping timeout: 276 seconds]
nckx has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
zearen has quit [Ping timeout: 268 seconds]
karlguy has quit [Quit: Leaving]
sir_guy_carleton has joined #nixos
<ryantm> The nix store on r-ryantm's computer got to 648 GB :)
Mr_Keyser_Soze has joined #nixos
halfbit has joined #nixos
<worldofpeace> Wow, don't even think out gc'ing
<ryantm> gc'ing right now :):):)
<worldofpeace> i wonder if there's a way to have the gc run after every messy transaction...
<contrapumpkin> next we need an overlayfs to make the nix store a merge of a "young generation" of store paths and an older one
<ryantm> Looks like `nix-collect-garbage -d` could benefit from parallelism in my use case :)
<ryantm> It's only pegging one core for many minutes.
<ryantm> It finished :) 112912 store paths deleted, 465314.57 MiB freed
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<sir_guy_carleton> so your /nix/store is now what, ~180 GB now?
lassulus_ has joined #nixos
<sir_guy_carleton> i don't think i have that space on my root parition :(
<worldofpeace> My store is only "24.5 GiB"
<ryantm> Says 192 GB currently, I already restarted r-ryantm though.
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
Mr_Keyser_Soze has quit [Ping timeout: 265 seconds]
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41956 → smenu: 0.9.11 -> 0.9.13 → https://git.io/vh66l
mizu_no_oto has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41957 → speedtest-cli: 2.0.1 -> 2.0.2 → https://git.io/vh66r
jperras has quit [Quit: WeeChat 2.1]
jperras has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41958 → tbb: 2018_U3 -> 2018_U4 → https://git.io/vh66D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41959 → s3backer: 1.4.3 -> 1.5.0 → https://git.io/vh66Q
schoppenhauer has quit [Ping timeout: 265 seconds]
inquisitiv3 has joined #nixos
simukis has joined #nixos
schoppenhauer has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
orivej has quit [Ping timeout: 265 seconds]
nallar has joined #nixos
Ross has quit [Ping timeout: 268 seconds]
nallar is now known as Ross
reinzelmann has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41960 → stoken: 0.90 -> 0.92 → https://git.io/vh6iI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41961 → sqlite: 3.23.1 -> 3.24.0 → https://git.io/vh6iY
inquisitiv3 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41962 → spice-protocol: 0.12.13 -> 0.12.14 → https://git.io/vh6il
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
lsyoyom has quit [Ping timeout: 240 seconds]
semilattice has joined #nixos
<semilattice> Is there a way to pass arguments like -p1 to a patches list?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41963 → sssd: 1.16.1 -> 1.16.2 → https://git.io/vh6i2
<semilattice> I mean, individually. Some patches expect to be called with -p0 and some with -p1
reinzelmann has quit [Quit: Leaving]
simukis has quit [Ping timeout: 264 seconds]
lsyoyom has joined #nixos
worldofpeace has quit [Remote host closed the connection]
andromeda-galaxy has quit [Ping timeout: 256 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
andromeda-galaxy has joined #nixos
<sir_guy_carleton> what's the nix command to find the path of given package in the nix store?
MercurialAlchemi has joined #nixos
<semilattice> maybe not the most efficient
<semilattice> but nix repl works
<semilattice> if you load the packages then thePackage.outPath gives you it
<semilattice> if there's a program, then `readlink $(type -p program)` also works
<semilattice> that said there's probably a better answer
robstr has joined #nixos
Havvy has joined #nixos
Guanin has quit [Ping timeout: 265 seconds]
Guanin has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
andreabedini has joined #nixos
<sir_guy_carleton> semilattice: hmmm, okay. i was using cd /nix/store/; ls -l | grep <name> and was hopping for something less janky
<semilattice> that's a pretty good one
<semilattice> I'm just personally not aware of something better
<semilattice> though at least with either of those you probably get the one that you're actually looking for
myshoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41964 → raxml: 8.2.11 -> 8.2.12 → https://git.io/vh6Xe
johanot has joined #nixos
orivej has joined #nixos
Ariakenom has joined #nixos
hamishmack has quit [Ping timeout: 256 seconds]
wchresta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41965 → qutebrowser: 1.3.1 -> 1.3.2 → https://git.io/vh6Xg
fractal_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41966 → nixos/users: Allow mutable shells for declarative users → https://git.io/vh6X9
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41967 → qjackctl: 0.5.1 -> 0.5.2 → https://git.io/vh6Xd
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41968 → Enable using klaus with uwsgi → https://git.io/vh6Xb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41969 → qrencode: 4.0.1 -> 4.0.2 → https://git.io/vh61I
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41970 → nixos/systemd: Allow building systemd without libmicrohttpd → https://git.io/vh61s
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41971 → nixos/postgresql: Use listen_addresses, not -i → https://git.io/vh61g
wrl has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41972 → pony-stable: 0.1.2 -> 0.1.3 → https://git.io/vh61r
codingeye has joined #nixos
dc is now known as danio
Lev50 has joined #nixos
winem_ has joined #nixos
<Havvy> :sigh: Why does virtualbox make upgrading a pain always?
Ariakenom has quit [Quit: Leaving]
TrentP has quit [Quit: ZNC - http://znc.in]
TrentP has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41973 → poppler_min: 0.61.0 -> 0.65.0 → https://git.io/vh6MT
<{^_^}> [nixpkgs] @colemickens opened pull request #41974 → libinput 1.10.3- > 1.11.0 → https://git.io/vh6Mk
shah^ has quit [Ping timeout: 245 seconds]
danio has quit [Ping timeout: 244 seconds]
testuser_ has joined #nixos
xAFFE has joined #nixos
mkoenig has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41975 → picard-tools: 2.18.5 -> 2.18.7 → https://git.io/vh6MX
deepfire` has quit [Ping timeout: 264 seconds]
wchresta has quit [Ping timeout: 260 seconds]
Lev50 has quit [Quit: This computer has gone to sleep]
<hoshineko> hello, i'm trying to set up a nginx server with php enabled
endformationage has quit [Quit: WeeChat 1.9.1]
<hoshineko> but for some reason php files are always not found
tzemanovic has quit []
<hoshineko> i even tried the exact same config at https://nixos.wiki/wiki/Nginx
sorixelle has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hoshineko> wait, nevermind, i was being stupid
<Havvy> Upgrading from 17.09 to 18.03, KDE5 is only half functional. There's no desktop or application bar but yakuake still works, although with lots of graphical issues. X.X
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41976 → salt: be Python version agnostic → https://git.io/vh6D8
Ariakenom has joined #nixos
andreabedini has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @aneeshusa opened pull request #41977 → Salt minion improvements → https://git.io/vh6Do
knupfer has joined #nixos
reinzelmann has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
dmc has joined #nixos
shabius_ has joined #nixos
alexteves_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41978 → obs-linuxbrowser: 0.3.1 -> 0.4.0 → https://git.io/vh6yg
shabius has quit [Ping timeout: 256 seconds]
JasonGrossman has joined #nixos
deepfire` has joined #nixos
<LnL> Havvy: did you reboot / restart display-manager?
<Havvy> I did not try that, no.
<{^_^}> [nixops] @srghma opened pull request #969 → Key value state + tests refactoring (WIP) → https://git.io/vh6yH
Turion has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #41976 → salt: be Python version agnostic → https://git.io/vh6D8
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vh6y7
<Havvy> LnL: Though, I don't think it'll matter? It's like this on startup.
<{^_^}> [nixpkgs] @FRidh merged pull request #41968 → Enable using klaus with uwsgi → https://git.io/vh6Xb
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/vh6yF
<Havvy> Yeah, that does not help a bit.
logzet has joined #nixos
sigmundv has joined #nixos
pie_ has joined #nixos
deepfire` has quit [Ping timeout: 256 seconds]
JasonGrossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41979 → nsd: 4.1.21 -> 4.1.22 → https://git.io/vh6SH
Guest79795 is now known as sie_
civodul has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jtojnar closed pull request #41973 → poppler_min: 0.61.0 -> 0.65.0 → https://git.io/vh6MT
vaninwagen has joined #nixos
jackdk has quit [Ping timeout: 260 seconds]
johanot has quit [Ping timeout: 260 seconds]
Xal has quit [Ping timeout: 264 seconds]
semilattice has quit [Ping timeout: 276 seconds]
Xal has joined #nixos
xy2_ has joined #nixos
thc202 has joined #nixos
pie_ has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
<tfc[m]> hey there. i wrote a default.nix expression for building a c++ project. it contains `buildInputs = [ ... gmp.dev ... ];` and about this thing i have a question: in order to make things within `nix-build` see GMP headers, it has to be `gmp.dev` and not just `gmp`. from reading the docs i thought this would be done automatically, is that correct?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e2b7cc8ee3e (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
leons1 is now known as leons2
jtojnar_ has joined #nixos
jtojnar has quit [Quit: jtojnar]
leons2 is now known as leons5
freeman42x]NixOS has joined #nixos
leons5 is now known as leon7
jtojnar_ has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
tpanum has left #nixos ["ERC (IRC client for Emacs 26.1)"]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<andi-> tfc[m]: yes, it should select the .dev output if it is available
<andi-> at least thats how I read the code a few days ago
leon7 is now known as leons
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41980 → nodejs-slim-10_x: 10.3.0 -> 10.4.1 → https://git.io/vh65v
jtojnar has joined #nixos
slyfox has quit [Quit: \o/]
asuryawanshi has joined #nixos
slyfox has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #41981 → libgcrypt: 1.8.2 -> 1.8.3 (for CVE) → https://git.io/vh6d0
igo95862 has quit [Quit: igo95862]
<{^_^}> [nixpkgs] @FRidh merged pull request #40395 → qiskit: init at 0.4.15 → https://git.io/vpSqM
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to master: https://git.io/vh6db
aarvar has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41982 → mopidy-iris: 3.20.0 -> 3.21.1 → https://git.io/vh6FI
<{^_^}> [nixpkgs] @pSub merged pull request #41956 → smenu: 0.9.11 -> 0.9.13 → https://git.io/vh66l
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vh6Fl
goibhniu has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pSub closed pull request #37998 → haproxy: 1.8.4 -> 1.8.5 → https://git.io/vx2H9
tertle||eltret has quit [Quit: Connection closed for inactivity]
johanot has quit [Ping timeout: 248 seconds]
vaninwagen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #37321 → pommed_light: 1.50lw -> 1.51lw → https://git.io/vx3tA
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/vh6bG
alex`` has joined #nixos
<Taneb> Would nix-build fail if an installer tried to open a GUI, for example?
NinjaTrappeur has quit [Quit: WeeChat 2.1]
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @hrdinka merged pull request #41979 → nsd: 4.1.21 -> 4.1.22 → https://git.io/vh6SH
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/vh6Nz
anderslundstedt has quit [Quit: leaving]
<manveru> Taneb: most likely... it won't be able to connect to a display :)
Guest21370 has joined #nixos
Guanin_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41983 → mkvtoolnix: 23.0.0 -> 24.0.0 → https://git.io/vh6NA
johanot has joined #nixos
anderslundstedt has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41984 → nanomsg: 1.1.3 -> 1.1.4 → https://git.io/vh6AI
<Guanin_> I'm running nixOS on a somewhat old laptop right now and have trouble with libGL/GPU drivers. The GPU is an AMD/ATI Mobility Radeon HD 5650. I tried amdgpu and ati as video drivers, but with both firefox and nextcloud are segfaulting (firefox takes the x server down with it :/)
<charlesh`> Hi, I do not understand something with fetchFromGitHub
Guanin_ has quit [Remote host closed the connection]
<srhb> charlesh`: Yes?
<charlesh`> especially, the sha256 for fetchFromGitHub seems not to be the object Sha ?
Guanin_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41985 → mate.mate-settings-daemon: 1.20.1 -> 1.20.3 → https://git.io/vh6A4
<srhb> charlesh`: Correct, it's a hash of the files as downloaded in your store
<charlesh`> OK, what's the correct way to get that sha ?
<srhb> charlesh`: rev is the regular git sha
<srhb> charlesh`: nix-prefetch-url or just put in a wrong sha and watch the error message.
<srhb> !tofu
<charlesh`> yes, for rev I got it, it may be a release
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<charlesh`> ok
<srhb> charlesh`: Nowadays nix will move the download into place under the right sha, so it should only download once anyway.
<charlesh`> thanks for your answers !
<srhb> You are welcome. :)
<Guanin_> sorry if I missed something, X got killed again
<Guanin_> so it seem to happen some time after libGL failed (with r600_dri.so missing and similar messages)
Turion has quit [Ping timeout: 264 seconds]
<Guanin_> ok, the error is "libGL error: unable to load driver: r600_dri.so"
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41986 → notmuch: 0.26.2 -> 0.27 → https://git.io/vh6p0
<charlesh`> one more question, I want to PR a derivation that gives hebraic and solar date. Would you put it under application or tools in nixpkgs ?
<srhb> charlesh`: I generally think of utility as unix like tools
<srhb> charlesh`: So I guess I'd argue applications.
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre opened pull request #41987 → nerdfonts: can be built on hydra? → https://git.io/vh6pN
<charlesh`> OK. That is my feeling too. Let's PR it that way.
xy2_ has quit [Quit: WeeChat 1.9.1]
jtojnar has quit [Ping timeout: 268 seconds]
jtojnar_ is now known as jtojnar
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41988 → mkdocs: 0.17.3 -> 0.17.4 → https://git.io/vh6hh
<pie_> i tried to do this but when i try to import glfw in python it complains that it cant find the shared library: pypi2nix -v -V "3.6" -e imgui[glfw] -e glfw -E glfw
<pie_> raise ImportError("Failed to load GLFW3 shared library.")
selaux has joined #nixos
<joepie91> trying to install a markdown viewer that's written in haskell; apparently, I first need to install the universe :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #41972 → pony-stable: 0.1.2 -> 0.1.3 → https://git.io/vh61r
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhiel
xy2_ has joined #nixos
johanot2 has joined #nixos
<{^_^}> [nixpkgs] @CharlesHD opened pull request #41989 → Add a dozenal derivation with its dependence hdate → https://git.io/vhivR
<{^_^}> [nixpkgs] @edolstra closed pull request #41987 → nerdfonts: can be built on hydra? → https://git.io/vh6pN
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #41990 → geogebra: 5-0-444-0 -> 5-0-472-0 → https://git.io/vhivN
<jtojnar> how does llvm-hs_6_2_0 get into hackage-packages.nix? I do not see it in configuration-hackage2nix.yaml
<{^_^}> [nixpkgs] @Mic92 merged pull request #41982 → mopidy-iris: 3.20.0 -> 3.21.1 → https://git.io/vh6FI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhifN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41991 → mate.mate-desktop: 1.20.3 -> 1.21.0 → https://git.io/vhifA
<{^_^}> [nixpkgs] @Mic92 merged pull request #41960 → stoken: 0.90 -> 0.92 → https://git.io/vh6iI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhiJm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41992 → mcelog: 158 -> 159 → https://git.io/vhiJp
xy2_ has quit [Ping timeout: 276 seconds]
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41993 → mlterm: 3.8.4 -> 3.8.6 → https://git.io/vhiUo
tzemanovic has joined #nixos
Ridout has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @jtojnar opened pull request #41994 → haskellPackages.llvm-hs_6_2_0: fix build → https://git.io/vhiTW
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #41969 → qrencode: 4.0.1 -> 4.0.2 → https://git.io/vh61I
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhiTl
Wharncliffe has joined #nixos
simukis has joined #nixos
azarel has joined #nixos
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41995 → libnftnl: 1.1.0 -> 1.1.1 → https://git.io/vhiTF
init_6 has joined #nixos
andreabedini has joined #nixos
andreabedini has quit [Client Quit]
knupfer has quit [Ping timeout: 265 seconds]
asuryawanshi has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41996 → libinput: 1.10.3 -> 1.11.0 → https://git.io/vhikg
knupfer has joined #nixos
azarel has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
johanot has quit [Ping timeout: 260 seconds]
philippD has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41998 → libidn: 1.34 -> 1.35 → https://git.io/vhiI6
MercurialAlchemi has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41999 → libuv: 1.20.2 -> 1.20.3 → https://git.io/vhiIN
fendor__ has joined #nixos
silver has joined #nixos
johanot has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42000 → libraw: 0.18.11 -> 0.18.12 → https://git.io/vhiL2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42001 → libfilezilla: 0.12.2 -> 0.12.3 → https://git.io/vhiLd
raynold has quit [Quit: Connection closed for inactivity]
MercurialAlchemi has joined #nixos
roberth has joined #nixos
__monty__ has joined #nixos
Guanin_ has quit [Remote host closed the connection]
johanot2 has quit [Ping timeout: 276 seconds]
kiloreux has quit [Ping timeout: 264 seconds]
Guanin_ has joined #nixos
kiloreux has joined #nixos
saep has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42002 → kubernetes-helm: 2.9.0 -> 2.9.1 → https://git.io/vhims
knupfer has quit [Ping timeout: 264 seconds]
jtojnar has quit [Ping timeout: 248 seconds]
johanot has quit [Quit: Leaving.]
jtojnar has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42003 → libndp: 1.6 -> 1.7 → https://git.io/vhiYm
Guanin_ has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 248 seconds]
pie_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42004 → libpfm: 4.9.0 -> 4.10.0 → https://git.io/vhiOK
disasm has quit [Ping timeout: 260 seconds]
xy2_ has quit [Ping timeout: 240 seconds]
fractal has joined #nixos
asuryawanshi has joined #nixos
johanot2 has joined #nixos
alexteves_ has quit [Remote host closed the connection]
alexteves_ has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42005 → libsixel: 1.7.3 -> 1.8.1 → https://git.io/vhi3N
steell has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42006 → jgmenu: 0.9 -> 1.0 → https://git.io/vhisq
TonyTheLion has joined #nixos
johanot has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @primeos pushed to master « maim: 5.5.1 -> 5.5.2 »: https://git.io/vhisr
kiloreux has quit [Ping timeout: 260 seconds]
Wharncliffe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #42001 → libfilezilla: 0.12.2 -> 0.12.3 → https://git.io/vhiLd
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vhisK
<gchristensen> anyone know how to unlock kwallet without pam? I can't figure it out
johanot has joined #nixos
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42007 → jackett: 0.8.1014 -> 0.8.1070 → https://git.io/vhiGS
kiloreux has joined #nixos
init_6 has quit [Ping timeout: 265 seconds]
Neo-- has joined #nixos
Neo--- has joined #nixos
<gchristensen> answering my own question, "nix-shell -p kwalletmanager -p kdeFrameworks.kwallet --run "kwalletd5& kwalletmanager5""
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e2b7cc8ee3e (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
schoppenhauer has quit [Ping timeout: 240 seconds]
Guanin_ has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42008 → innoextract: 1.6 -> 1.7 → https://git.io/vhinn
xy2_ has joined #nixos
<Myrl-saki> Uhh
<Myrl-saki> How does `config` in submodule work?
<gchristensen> I don't know how to answer that
<gchristensen> can you add more detail?
camsbury has quit [Ping timeout: 256 seconds]
JasonGrossman has joined #nixos
johanot2 has quit [Ping timeout: 265 seconds]
<gchristensen> like, "what are the principles by which it functions?" or "how do I use it?" or ...?
steell has quit [Ping timeout: 264 seconds]
<Myrl-saki> gchristensen: How do I use it.
<Myrl-saki> gchristensen: It's not documented in the documentation.
<infinisil> Myrl-saki: just like the normal modules
<infinisil> Myrl-saki: you can set options from the submodule there
<infinisil> Useful for default and auto-generated stuff
<Myrl-saki> infinisil: But I can't set global options?
<Myrl-saki> Oh wait.
<Myrl-saki> auto-generated stuff.
<infinisil> Nope, submodules are completely detached from global options
<Myrl-saki> Right.
<infinisil> Which is what makes them very nice, because they aren't bound to any context
<Myrl-saki> Hmm
<Myrl-saki> I think I see what you mean.
<Myrl-saki> Oh wait.
<Myrl-saki> Nix is not what makes the users?
<Myrl-saki> NixOS*
<Myrl-saki> spec = pkgs.writeText "users-groups.json" (builtins.toJSON { ...
andreabedini has joined #nixos
<infinisil> Nope, it's a perl script somewhere
<gchristensen> this is because of mutable user support
<gchristensen> and the ability to create a user without specifying a uid
<gchristensen> two things I don't love
<Myrl-saki> Is there a "dump" attrset in config? An attrset which accepts anything, basically.
hoshineko has quit [Ping timeout: 240 seconds]
<infinisil> types.unspecified
<Myrl-saki> infinisil: I mean in config itself.
<infinisil> Needs an option
<Myrl-saki> Right. Technically, you could just make `options.dump = mkOption ..` irght?
<infinisil> Yeah
hoshineko has joined #nixos
schoppenhauer has joined #nixos
<Myrl-saki> Oh right. I accidentally made this mistake which didn't cause an error. I'm thinking it's not an error on purpose.
<Myrl-saki> Can you make an option attr, not an option? Basically, a constant.
<infinisil> readOnly = true
<Myrl-saki> I'm thinking it's useful for something like
<Myrl-saki> oh
johanot2 has joined #nixos
<Myrl-saki> infinisil: default + readOnly?
<infinisil> Yup
<Myrl-saki> Thanks.
freeman42x]NixOS has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
<Myrl-saki> Oh yeah.
Neo--- has quit [Read error: Connection reset by peer]
Neo-- has quit [Read error: Connection reset by peer]
<Myrl-saki> What's the technical difference between { x = null; } and { }? I'm guessing it's the set's type?
Rusty1_ has joined #nixos
Neo--- has joined #nixos
Neo-- has joined #nixos
<srhb> Myrl-saki: Not really type. One has an attribute called x, the other does not.
<Myrl-saki> srhb: Right. I'm wondering why it wasn't encoded that {} <-> { foo = null; }
<srhb> Ah, so you're asking why nix does not consider them equal?
<Myrl-saki> srhb: Pretty much.
<srhb> That sounds like the kind of quesitons only eelco can answer. Language design choice.
<srhb> I can only conclude that they are semantically different in the language. :P
<gchristensen> well x is defined in the first one and the second one doesn't
<Myrl-saki> gchristensen: My idea is basically every unassigned attr is null.
<gchristensen> but it isn't
<gchristensen> nix-repl> { }.foo
<gchristensen> error: attribute 'foo' missing, at (string):1:1
<gchristensen> nix-repl> { foo = null; }.foo
<gchristensen> null
<Myrl-saki> gchristensen: I mean, why is it not designed that way?
<__monty__> Myrl-saki: Why would you want it to be? Null is muy annoying.
<Myrl-saki> I can see a few cases, one is that it's sometimes better to error than just null.
<Myrl-saki> Wait, BRB, dinner.
<gchristensen> yeah, the major point to me is pretending unset attrs is null lets you be super sloppy
xy2_ has quit [Ping timeout: 245 seconds]
xy2_ has joined #nixos
MP2E has quit [Remote host closed the connection]
<charlesh`> Do you have a language exemple where this kind of set relation holds ?
<charlesh`> { } == { x = null; }
jtojnar has quit [Quit: jtojnar]
<__monty__> charlesh`: I'm thinking maybe perl because of autovivification?
jtojnar_ has joined #nixos
jtojnar_ is now known as jtojnar
camsbury has joined #nixos
<tilpner> Myrl-saki - Early failure is good. If ({ }).foo was null, every typo could silently break things
<tilpner> (And usually not in the place you'd expect)
<charlesh`> __monty__: indeed, didn't know about that perl design
<__monty__> charlesh`: I'm actually not sure perl's comparison would accept such different values but it's conceptually similar because something that "is" empty can "contain" any attribute. (Was trying to clarify pretty sure I failed.)
<charlesh`> Yup, i'm not sure either perl accept the equality checks. Clojure has a similar semantic where {}.x == {x = null;}.x but {} isn't equal to {x = null;}
<__monty__> Yeah, that's the behavior I'd expect from perl too.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42009 → iproute: 4.16.0 -> 4.17.0 → https://git.io/vhi4S
<{^_^}> [nixpkgs] @nlewo merged pull request #41986 → notmuch: 0.26.2 -> 0.27 → https://git.io/vh6p0
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vhi4Q
<hodapp> autovivification?
MercurialAlchemi has joined #nixos
<gchristensen> "In the Perl programming language, autovivification is the automatic creation of new arrays and hashes as required every time an undefined value is dereferenced."
<hodapp> that hurts me
<{^_^}> [nixpkgs] @nlewo opened pull request #42010 → skydive: init at 0.17.0 → https://git.io/vhiBg
<__monty__> hodapp: It's something some people rave about but that sounds like lunacy to us reasonable folk.
<LoneTech> so it's like applying the defaultdict behaviour to the existence of the dictionary itself?
<hodapp> though, I guess Go even sort of does this for certain data types (e.g. nil in Go is basically a 0-length list)
<__monty__> LoneTech: Yes.
<infinisil> Myrl-saki: There's something related though:
<infinisil> > { ${null} = 10; }
<{^_^}> { }
pie_ has joined #nixos
<charlesh`> > ${null}
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):146:1
<charlesh`> ${null}
<charlesh`> what does ${null} evaluates to ?
<gchristensen> { ${null} = ...; } is a dirty trick to support some dirty code
<infinisil> You can use the ${..} syntax (or "${..}") in attributes to set a dynamic attribute name
<gchristensen> and probably doesn't need to exist :)
<infinisil> And null is a special case which doesn't set it
<infinisil> > { ${"10" + "hello"} = 10; }."10hello"
<{^_^}> 10
<__monty__> But that still doesn't give you {}.foo == null. That's more like {}.null == somethingNotNull.
<infinisil> Yeah, that's why it's just something related
<__monty__> What I'm wondering rn: Who could possibly put this to use?
<infinisil> The ${null} = ..?
<charlesh`> that one, and also when do you want { foo = null; } == { } ?
<gchristensen> nixpkgs uses a ${null} once
<gchristensen> except its ${avarwhichmaybenull}
<__monty__> charlesh`: I think what Myrl-saki wants is not { x = null; } == {} but autovivification.
<infinisil> Yeah, some attribute which should only be set on certain conditions
<kiloreux> I am trying to use NIX_CFLAGS_COMPILE inside my nix expression. But the values aren't being reflected on the compilation. Any idea how I can set gcc compiler flags /
<infinisil> __monty__: Usually one would just do this:
<gchristensen> __monty__, charlesh`, Myrl-saki, oh then they could use the library function for something like it
<infinisil> > { }.someattributewhichmayexist or null
<{^_^}> null
<infinisil> > { foo = 10; }.foo or null
<{^_^}> 10
<__monty__> gchristensen, infinisil: Why can't that be inverted? { attr=null unless it should exist; }?
<gchristensen> huh?
<gchristensen> yeah, so I don't know why nixpkgs doesn't use the more sane option
<gchristensen> being "cute"
<infinisil> Hmm, I guess it could, I don't see anything that wouldn't work with that right now
<__monty__> Ah, being clever for clever's sake.
trevorriles has joined #nixos
<infinisil> clever++
<{^_^}> clever's karma got increased to 5
<{^_^}> clever's karma got increased to 1
<infinisil> Oh, sry
<infinisil> (2 bots running)
<__monty__> O.o two bots with the same nick?
<__monty__> What is this voodoo?
<gchristensen> {^_^} is an IRC <-> RabbitMQ gateway
<gchristensen> all the messages get broadcast to multiple workers, which can choose to reply or not
<infinisil> And i happen to run my backend along with the same backend but an experimental version of it right now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42011 → gzdoom: 3.3.2 -> 3.4.0 → https://git.io/vhi01
<__monty__> Cool, opens up so many possibilities.
<gchristensen> this is so that you don't see a {^_^} leave and join every time a teeny tiny code change has to happen
<tilpner> __monty__ - ZNC could do the same thing
knupfer has joined #nixos
deepfire` has joined #nixos
<gchristensen> the IRC <-> RabbitMQ gateway is like 50loc, so not a lot to mess up or fix. the last thing I fixed was detecting if infinisil's karma bot replied with "Did you mean infinity? Increasing infinity doesn't do anything.." and substituting it with a different message.
<infinisil> Hehe
<tilpner> infinisil++
<{^_^}> infinisil's karma got increased to NaN
Guest21370 has quit [Ping timeout: 255 seconds]
<infinisil> All right all right I'll fix it
<__monty__> infinisil--
jperras has joined #nixos
<tilpner> Rust packaging is so annoying :/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42012 → grantlee: 0.4.0 -> 0.5.1 → https://git.io/vhiEX
<tilpner> nix-prefetch-git errors, carnix outputs stderr as byte array in text form
<tilpner> nix-prefetch-git exited with error code ExitStatus(ExitStatus(256)): [73, 110, 105, 116, ...]
<infinisil> o.O
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_> so i just booted an old 16.03 install from an ssd on another machine and i get dropped to a multiuser mode shell
<pie_> any idea what could be wrong?
<fendor__> is there a reason why there is only ghc 8.2.2 on the channels?
fendor__ is now known as fendor
<Taneb> Where can I find different platforms to use as nixpkgs.stdenv.targetPlatform? It's expecting a set and I don't know where that comes from
<infinisil> fendor: There should be others under haskell.compiler
<infinisil> > lib.systems.platforms # Taneb: I think it might be this
<{^_^}> { aarch64-multiplatform = <CODE>; armv5te-android = <CODE>; armv7a-android = <CODE>; armv7l-hf-multiplatform = <CODE>; beaglebone = <CODE>; ben_nanonote = <CODE>; fuloong2f_n32 = <CODE>; guruplug = <C...
<Taneb> infinisil: thanks :)
<infinisil> I'm confused about platform/architecture/system myself though
johanot2 has quit [Ping timeout: 248 seconds]
<__monty__> fendor: If you mean why is 8.2.2 the most recent, I think that's because it's the most recent stackage LTS.
<fendor> __monty__, oh, that makes sense
<fendor> infinisil, how can i see the haskell compilers? nix search haskell.compilers does not work :(
<__monty__> fendor: Maybe haskell.compiler
* pie_ tries disabling his driver line
<infinisil> fendor: Hmm yeah nix search doesn't list them, but they are there. You can use `nix-build '<nixpkgs>' -A haskell.compiler.<tab>` to see the possible values
<fendor> infinisil, that is cool, thank you!
<phry> I'm having a packge build that calls `python .. +launch $(which sphinx-build)`. The problem is that sphinx-build is a wrapped python script, so python tries to interpret shell as python. Anyone familiar with a good workaround for that one?
shah^ has joined #nixos
<pie_> ok switching to intel driver fixed
<mupf> Hello guys, I'm having trouble patching a binary. Also I'm quite new to nixos. I tried sticking to the manual but 'ldd' still complains:
<mupf> [nix-shell:~/games/iwd/game]$ ldd IcewindDale64 | grep "not found"
<mupf> libexpat.so.1 => not found
<mupf> libX11.so.6 => not found
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42013 → gcompris: 0.90 -> 0.91 → https://git.io/vhi2b
erasmas has joined #nixos
<mupf> I used nix-locate to find the package required to fulfill these requirements.
<mupf> still.
<phry> did you patch the loader itself?
<mupf> I did
<mupf> I also fixed a few other dependencies using patchelf
<mupf> but till now, I always had a few left.
<phry> can you post a pastebin of what you patched so far?
<tilpner> And are you sure you want to patch it? There's easier ways to just run it
<infinisil> phry: Can you just change the build phase to call the wrapped binary directly?
<__monty__> infinisil: What's the best way to find out the default nixpkgs ghc? The one that haskellPackages is compatible with?
<infinisil> __monty__: Looking at the definiton of haskellPackages
<Myrl-saki> infinisil: __monty__: gchristensen: Hey, I'm back now!
<Myrl-saki> __monty__: What's autovivification?
<mupf> phry: I will, but busy right now. I mention you later. tilpner easier ways?
<phry> infinisil: yes, but then of course it has missing dependencies. I tried patching the PATH of sphinx-build into the Makefile calling python that then calls.sphinx-build-unwrapped.
<tilpner> mupf - Try running it with steam-run. nix-shell -p steam-run --run 'steam-run ./your-game'
<phry> but that introduces a whole new problems :/
<mupf> phry: I basically patched the rpath with "with pkgs; lib.makeLibraryPath [ openssl openal xorg_sys_opengl stdenv.cc.cc.lib ]
<mupf> "/nix/store/3ag1mbdvkg6jx29dl5wnwypvckkfy3sv-openssl-1.0.2o/lib:/nix/store/b0gkw0bxxh8y9dvkvppan0vm1bfdfmlg-openal-soft-1.18.2/lib:/nix/store/rq4lh5lmaxclnkgvnk72g862lwbi95lq-xorg-sys-opengl-3/lib:/nix/store/4zd34747fz0ggzzasy4icgn3lmy89pra-gcc-7.3.0-lib/lib"
<mupf> tilpner: i try, thanks
<infinisil> phry: Oh right.. Sorry no idea then
<mupf> tilpner: wth. you're right
<mupf> it just works.
knupfer has quit [Ping timeout: 268 seconds]
<phry> xD
<Myrl-saki> phry: What's wrong with running the script?
* Myrl-saki doesn't use Python
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42014 → folly: 2018.05.28.00 -> 2018.06.11.00 → https://git.io/vhiVJ
<phry> Myrl-saki: the script is interpreted as if it were python altough it is bash, actually wrapping python
<phry> and I don't know enough about python to fix it from that angle -.-
<Myrl-saki> phry: Right. What I mean is that why do you need to call the script(with its dependencies)?
<infinisil> Myrl-saki: 15:26:04 <gchristensen> "In the Perl programming language, autovivification is the automatic creation of new arrays and hashes as required every time an undefined value is dereferenced."
<phry> Myrl-saki: that's part of the build process of kitty
<__monty__> phry: But kitty's already packaged, no?
<Myrl-saki> infinisil: Thanks.
<phry> __monty__: not v0.11.0, which seems to have some changes around building the documentation
<phry> (about 250 commits to be exact)
<Myrl-saki> phry: I don't understand it either, but I'd rather patch the build script instead.
<__monty__> phry: And you can't call the script instead of python...script.sh?
shah^ has quit [Ping timeout: 248 seconds]
<phry> __monty__: nope, then it complains about the python package "kitty" not being vailable
<Myrl-saki> phry: Wrapped scripts accept arguments. Have you tried those ?
<Myrl-saki> phry: I also don't have much experience in Python, so yeah.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42015 → gnupg1orig: 1.4.22 -> 1.4.23 → https://git.io/vhiV2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42016 → forkstat: 0.02.02 -> 0.02.03 → https://git.io/vhiVw
<phry> hrm... :/ had a bit of a breakthrough, but now it tries to write into /homeless-shelter... it's never easy *sigh*
johanot has quit [Quit: Leaving.]
sorixelle has quit [Ping timeout: 265 seconds]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #nixos
<pie_> is there an easy way to install nixos on a different drive if im already in a nixos system?
thetet has joined #nixos
__monty__ has quit [Quit: leaving]
lonokhov has joined #nixos
<phry> pie_: just like you installed nixos in the first place: nixos-generate-config (or copy it over) and nixos-install
<pie_> i installed from a livecd or something
<pie_> its been a while :D
<phry> which actually was a fill nixos installation, just on a cd ;)
<phry> so everything from the manual on installing nixos applies to you, except the "insert usb stick" part ;)
<pie_> sure, i figured, i just dont remember much
<pie_> ok cool
<pie_> can i install an up to date system with an old installer?
<phry> I believe it will install the version that the host system is running at. so if you isntall it from your running system, the target will be the same state
<YegorTimoshenko[> pie_: yes
<{^_^}> [nixpkgs] @jtojnar closed pull request #41996 → libinput: 1.10.3 -> 1.11.0 → https://git.io/vhikg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42017 → gloox: 1.0.20 -> 1.0.21 → https://git.io/vhios
<pie_> hm
<pie_> YegorTimoshenko[, how?
<pie_> (or...update i guess)
<pie_> slightly related, why does noone ever use cfdisk?
<pie_> or am i just too nooby for fdisk :D
chessai has joined #nixos
<maurer> I use cfdisk for simple tasks
<maurer> but there are some parts of what fdisk does that are not exposed to cfdisk
<maurer> (at least not anywhere I can easily find)
xAFFE has left #nixos ["Error from remote client"]
roconnor has joined #nixos
<Myrl-saki> Ugh, seems like logmein-hamachi is no longer working.
<pie_> Myrl-saki, use tinc :D
<Myrl-saki> It has to work on Windows.
<Myrl-saki> And free.
<pie_> of course thats more admin for you and others to deal with so... :p
<Myrl-saki> As in beer.
<YegorTimoshenko[> pie_: i just run nixos-install, then reboot, run `nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos; nix-channel --update; nixos-rebuild switch`
<pie_> yeah tinc is open source
<pie_> and afaik it does run fine on windows last i tried
<YegorTimoshenko[> installer can't install my actual system anyway, because tmpfs-mounted /nix runs out of space
<pie_> but its cli only
<pie_> YegorTimoshenko[, thanks ill give it a shot
<manveru> anyone know why libreoffice looks like ... this? https://usercontent.irccloud-cdn.com/file/Am9xEDhd/2018-06-14-165717_887x761_scrot.png
<maurer> manveru: Gonna guess you don't have the fonts it wants installed, or a nice gtk theme?
<Myrl-saki> pie_: I don't want my Windows friedns to have a seisure.
<manveru> hmm, i have no gtk themes i know of
Ralith_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42018 → go: 1.10.2 -> 1.10.3 → https://git.io/vhiKf
<pie_> Myrl-saki, yeah ok hamachi is probably better
<tilpner> manveru - Fixed in master AFAICR
<Myrl-saki> pie_: It's not working on Linux either. ; ~ ;
<pie_> for non power users anyway
thetet has quit [Read error: Connection reset by peer]
<Myrl-saki> For now, I think I'll just "port forward" to my VPS.
<Myrl-saki> pie_: I'm working on a guide to use ToxVPN inside a virtual machine for Windows.
solaire has joined #nixos
<pie_> does that use the tox encrypted chat thing stuff?
<Myrl-saki> Yeah.
<pie_> i have reservations about basing anything on that due to how they handled various issues on github
<pie_> though that was a while back
<pie_> i mean the tox people
thetet has joined #nixos
Ralith_ has joined #nixos
<Myrl-saki> pie_: I needed P2P over security.
<pie_> ok
<Myrl-saki> pie_: Oh wait. What specifically was your opinion?
<Myrl-saki> I assumed it was that.
<pie_> basically that.
<Myrl-saki> Oh. :P
<Myrl-saki> Thanks. Taking a look at it.
<pie_> securitywise tinc is lacking in PKI infrastructure related stuff
<pie_> like theres no way to do key revocation i think
<pie_> but its pretty cool otherwise
<hodapp> any good example for how to check out from GitHub in a derivation, but handle submodules too?
shah^ has joined #nixos
<pie_> at least, that was the state last i looked at it
<ryantm> hodapp: I think you add "fetchSubmodules = true;"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42019 → gpodder: 3.10.1 -> 3.10.2 → https://git.io/vhi6F
<hodapp> to fetchFromGitHub args?
<pie_> is there a guide for using nixos as a server or something? like, i dont want to start x11 by default
<ryantm> hodapp: Yes, I know that works for fetchgit, I haven't checked fetchFromGitHub.
jophish has joined #nixos
<ryantm> hodapp: Yeah it's the same name for fetchFromGitHub
<hodapp> oh, that's easy
<ryantm> pie_: If your configuration.nix is empty, it won't start x11.
<pie_> typetetris, ah of course makes sense
* pie_ pokes around his current config
Ralith_ has quit [Ping timeout: 276 seconds]
<hodapp> well... "easy" but it's still not fetching them :|
Ralith_ has joined #nixos
<hodapp> yeah, just ran nix-shell -K, it is not fetching submodules at all
<ryantm> hodapp: Can you share your nix expression?
thetet has left #nixos [#nixos]
<ryantm> pie_: services.xserver.enable defaults to false
matthewbauer has joined #nixos
<ryantm> hodapp: looks like it's working for me. I'll paste some stuff in a sec.
<hodapp> ryantm: it's definitely not checking out submodules for me. CMake complains of it, and if I run with nix-shell -K I see the directories in question are empty
<pie_> i wish the client would just split the message.
<nh2[m]> uh annoying, sorry
knupfer has joined #nixos
<ryantm> hodapp: I think you didn't make the hash invalid, so it's using the old download
<nh2[m]> I will split the message manually
<hodapp> ryantm: how does one do that?
<nh2[m]> can anybody explain me how to override Haskell package sets for a specific compiler version?
<pie_> seems pretty dumb to do it like that, noone will click those links
<nh2[m]> I can do
<pie_> more a cricitism at matrix
<nh2[m]> haskellPackages = pkgs.haskell.packages.ghc822.override { ... }
<nh2[m]> and it works, but I want to do
<nh2[m]> haskell.packages.ghc822 = pkgs.haskell.packages.ghc822.override { ... }
<nh2[m]> and that doesn't work
<ryantm> hodapp: when you specify the hash of a derivation it's called a fixed-output derivation, and it tries to get it from the store.
<ryantm> hodapp: If you alter a fixed output derivation, you need to make the hash something nonsensical, or use nix-prefetch-url to get the new hash
igo95862 has joined #nixos
<ryantm> hodapp: I usually just replace a few characters of the hash with q
Ralith_ has quit [Ping timeout: 264 seconds]
<hodapp> raaaawr... why do so many CMake builds have undeclared dependencies
Ralith_ has joined #nixos
<{^_^}> [hydra] @rbvermaa pushed to master « Make /api/push-github public for private Hydra instances. This makes it possible to use webhooks to trigger evaluations … »: https://git.io/vhiPp
<sphalerite> hodapp: because non-nix systems let you get away with that sort of thing? :)
* sphalerite likes answering rhetorical questiosn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42020 → cppcheck: 1.83 -> 1.84 → https://git.io/vhiXW
<hodapp> in this instance I'm not sure what CMake even accomplishes
lopsided98 has quit [Ping timeout: 260 seconds]
<sphalerite> progress indication and incremental rebuilds?
lopsided98 has joined #nixos
<hodapp> the only dependencies it bothered to look for were the easy ones
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42021 → closurecompiler: 20180506 -> 20180610 → https://git.io/vhi1k
alex`` has quit [Quit: WeeChat 2.1]
<infinisil> nh2[m]: Probably needs something like `haskell = super.haskell // { packages = super.haskell.packages // { ghc822 = ghc822.override ...
<nh2[m]> this is the solution to my question above:
alex`` has joined #nixos
<nh2[m]> haskell = pkgs.haskell // {
<nh2[m]> packages = pkgs.haskell.packages // {
<nh2[m]> ghc822 = pkgs.haskell.packages.ghc822.extend (self: super: {
<nh2[m]> # my overridden Haskell packages here
<nh2[m]> });
<nh2[m]> };
<nh2[m]> };
<infinisil> ,paste
<{^_^}> Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<nh2[m]> infinisil: so just as you said, thanks!
<infinisil> nh2[m]: I didn't know there was extend for the compilers though
<sphalerite> hodapp: but it does keep track of all the sources, including the build scripts themselves, and rebuilds everything that needs to be rebuilt when changes occur
<sphalerite> hodapp: of course that's not helpful in the nix context, but for incremental compilation it's very valuable
Ariakenom has quit [Ping timeout: 245 seconds]
<sphalerite> (and of course a system like bazel's, at least as far as I understand it, is still better)
stammon has joined #nixos
<nh2[m]> I posted the answer on https://github.com/NixOS/nixpkgs/issues/42022
Ralith__ has joined #nixos
Ralith_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « syncthing-gtk: 0.9.3.1 → 0.9.4 »: https://git.io/vhiMY
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42023 → ghcjs: add version to haskellCompilerName → https://git.io/vhiMZ
Neo--- has quit [Ping timeout: 240 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
Ralith__ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42024 → cppcms: 1.0.5 -> 1.2.1 → https://git.io/vhiMy
igo95862 has quit [Quit: igo95862]
Ralith_ has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
Turion has joined #nixos
Guanin_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to master « Revert "xmlsec: 1.2.25 -> 1.2.26 (#41655)" »: https://git.io/vhiDR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42025 → conan: 1.2.3 -> 1.4.4 → https://git.io/vhiDa
MercurialAlchemi has quit [Ping timeout: 265 seconds]
winem_ has quit [Ping timeout: 268 seconds]
jperras has quit [Quit: WeeChat 2.1]
<tilpner> Anyone good at Rust packaging here? I'm trying to use https://github.com/spotifyd/spotifyd , but I can't do it with either buildRustPackage or carnix :(
<infinisil> Not an expert either, but what's the problem with carnix?
<tilpner> I think carnix is buggy, uses the wrong URL
<tilpner> But I got past that by removing that [replace]
justanotheruser has quit [Ping timeout: 264 seconds]
<tfc[m]> hey there, i have a `release.nix` that returns a set with a lot of different keys that have derivations as values. what command can i tell a colleague that would quickly list what keys that set has on the shell?
<tfc[m]> `nix-instantiate` just gives out the hashed paths that don't say much
<tilpner> infinisil - And then carnix fails on error[E0463]: can't find crate for `base64`
<infinisil> tilpner: Using latest version of carnix? (0.8.5)?
<tilpner> Huh
<tilpner> Why is master only at 0.7.2
<infinisil> Oh it might not be in nixpkgs yet I guess, I just checked crates.io, and it seems to often have new versions
<tilpner> I'll try that one
<infinisil> tfc[m]: `nix-instantiate --eval -E 'builtins.attrNames (import ./release.nix)'` should work
<infinisil> Or `nix eval '(builtins.attrNames (import ./release.nix))'`
<tfc[m]> infinisil: yes that works, thanks! i did however hope for something shorter. nevermind, this works for me. :)
<infinisil> Hmm, I think there's a way with nix-env
jtojnar has left #nixos ["Good Bye"]
jtojnar has joined #nixos
<infinisil> tfc[m]: Try nix-env -f release.nix -qa
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tfc[m]> infinisil: it prints the same package name all the time... the thing is that i am not altering the `name` field of the derivation because i am just building it in different variants (compiler, with and without sanitizers, etc.), so i would not like to rename the actual package name.
migy_ has quit [Quit: migy_]
trevorriles has joined #nixos
<tfc[m]> but the set contains `packagename-variant1` `packagename-variant2` etc.
migy has joined #nixos
<tilpner> infinisil - Now running into https://nest.pijul.com/pmeunier/carnix/discussions/10
<tfc[m]> so the nix-instantiate commandline that you just posted before lists exactly those
<infinisil> Yeah, the nix-env variant lists derivation names, not attribute names
<tilpner> error: attribute 'rand' at /cfg/pkgs/spotifyd/spotifyd/Cargo.nix:1053:5 already defined at /cfg/pkgs/spotifyd/spotifyd/Cargo.nix:1043:5
<infinisil> tilpner: Hmm, I'd patch that Cargo.toml file, but not sure how to do that
<tilpner> infinisil - Manual editing is acceptable
<tilpner> (But not of the Cargo.nix)
Lev50 has joined #nixos
<tilpner> What would you change?
<infinisil> tfc[m]: Auto-completion should work too: `nix-build release.nix -A <tab>`, should list all attributes
<infinisil> tilpner: What's Cargo.nix?
<tfc[m]> yes you're right! this is perfect. thanks man!
<infinisil> :)
matthewbauer has quit [Remote host closed the connection]
<tilpner> infinisil - Even after manually fixing Cargo.nix duplicates, it takes an argument "buildRustCrateHelpers", which I don't know how to provide
<infinisil> Phew, out of my league
<tilpner> pemeunier - Are you here by any chance? (I know it says AFK for 11 days, but...)
<nh2[m]> domenkozar: you need to tune the cachix upload parallelism or server settings a bit, my gigabit internet is very bored at 5 Mbit/s :) What protocol/approach is it currently using for uploading?
hotfuzz_ has joined #nixos
<cransom> is there a #cachix? if not, maybe there should be.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42026 → blink1-tool: 1.98 -> 1.98a → https://git.io/vhi97
slyfox has quit [Quit: \o/]
sanscoeur has joined #nixos
hotfuzz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.totem-pl-parser: 3.26.0 → 3.26.1 »: https://git.io/vhiHq
Ralith_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « flatpak: 0.11.8.2 → 0.11.8.3 »: https://git.io/vhiQZ
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.libgweather: 3.28.1 → 3.28.2 »: https://git.io/vhiQz
bebarker has quit [Ping timeout: 256 seconds]
selaux has quit [Quit: Leaving]
slyfox has joined #nixos
Ralith_ has quit [Ping timeout: 256 seconds]
Ralith_ has joined #nixos
<pie_> uh how do i upgrade nix before up do --upgrade for channels
<pie_> i got some warnings about "unknown setting signed-binary-caches" but it hasnt failed yet
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42023 → ghcjs: add version to haskellCompilerName → https://git.io/vhiMZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhi71
<norfumpit> im doing an upgrade to unstable channel, and i see nix is compiling libreoffice from source. is this normal? shouldn't it fetch from cache?
<pie_> norfumpit, might not exist in the binary cache then yet
<norfumpit> pie_: is that likely?
<pie_> well since its unstable, i guess yeah
<pie_> i mean im not sure :D
<{^_^}> [nix] @matthewbauer opened pull request #2230 → Fix optimise-store.cc to skip more paths on macOS → https://git.io/vhi77
<norfumpit> can i somehow opt out of compiling packages from source? like, don't upgrade unless theres a binary
silver_hook has quit [Ping timeout: 256 seconds]
slyfox has quit [Quit: :(]
avn has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hiroshi- has joined #nixos
lonokhov has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #41958 → tbb: 2018_U3 -> 2018_U4 → https://git.io/vh66D
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « tbb: 2018_U3 -> 2018_U4 »: https://git.io/vhi52
<infinisil> norfumpit: It's a known problem, the build failed for some reason
hiroshi has quit [Ping timeout: 264 seconds]
hiroshi- is now known as hiroshi
<infinisil> Should hopefully be fixed in the next unstable
slyfox has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
<infinisil> norfumpit: search for "libreoffice" here: https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-jobs
pie_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @fadenb opened pull request #42027 → matrix-synapse: 0.31.1 -> 0.31.2 → https://git.io/vhida
<norfumpit> infinisil: I see. so I shouldn't normaly expect to be compiling from source?
<infinisil> Indeed, if you don't have some special override, packages should be present in the cache
<norfumpit> infinisil: that's good to know
<norfumpit> my laptop isnt very beefy
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pie_ has joined #nixos
<{^_^}> [nixpkgs] @fadenb closed pull request #42027 → matrix-synapse: 0.31.1 -> 0.31.2 → https://git.io/vhida
logiq has joined #nixos
<pie_> when running nixos-install i get error:selector x86_64-linux matches no derivations >_>
<{^_^}> [nix] @edolstra merged pull request #2230 → Fix optimise-store.cc to skip more paths on macOS → https://git.io/vhi77
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vhiFV
<vorot93[m]> after upgrading to unstable my desktop just keeps suspending when screen is off. Why is that? Tweaking logind via configuration.nix didn't help
<vorot93[m]> I have `services.logind = { lidSwitch = "ignore"; extraConfig = "IdleAction=ignore" };` in configuration.nix.
avn has joined #nixos
Olgierd has joined #nixos
hoshineko has quit [Ping timeout: 260 seconds]
hoshineko has joined #nixos
<{^_^}> [nixpkgs] @fadenb opened pull request #42028 → matrix-synapse: 0.31.1 -> 0.31.2 → https://git.io/vhibE
<{^_^}> [nixpkgs] @fadenb opened pull request #42029 → [18.03] matrix-synapse: 0.30.0 -> 0.31.2 → https://git.io/vhibK
pie_ has quit [Remote host closed the connection]
jperras has joined #nixos
Intensity has quit [Ping timeout: 260 seconds]
Intensity has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.0 - https://znc.in]
matthewbauer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #42029 → [18.03] matrix-synapse: 0.30.0 -> 0.31.2 → https://git.io/vhibK
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-18.03: https://git.io/vhiNx
astrofog has joined #nixos
Guest21370 has joined #nixos
M-liberdiko has joined #nixos
endformationage has joined #nixos
rihards has joined #nixos
orivej has joined #nixos
keegans has quit [Ping timeout: 250 seconds]
Guest21370 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #42028 → matrix-synapse: 0.31.1 -> 0.31.2 → https://git.io/vhibE
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vhipC
saep has quit [Remote host closed the connection]
Guest21370 has joined #nixos
<roconnor> Um, is there a package that will give me access to a 32-bit gcc on a 64-bit machine, if this question even makes sense?
matthewbauer has joined #nixos
<roconnor> ah stdenv_32bit!
astrofog has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 276 seconds]
Guest21370 has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 255 seconds]
Sonarpulse has quit [Ping timeout: 276 seconds]
keegans has joined #nixos
<Unode> is there any switch to nix-env that allows me to know a priori how much space is a --dry-run going to take? (best estimate assuming no package will be built from source)
<Unode> domenkozar: Using cachix for the first time after https://github.com/NixOS/nixpkgs/pull/41964 . Derivation is pulling quite the list of dependencies and a good chunk of them is going to be compiled locally. If I understand the purpose of cachix, shouldn't it cache itself and its dependencies?
trevorriles has joined #nixos
logiq has quit [Ping timeout: 240 seconds]
SemiHonest has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #42030 → webkitgtk: 2.20.2 -> 2.20.3 → https://git.io/vhijB
<Lev50> Running pip install in nix-shell is giving me an error like 'error: could not create '/nix/store/<hash>-python3-3.6.5/lib/python3.6/site-packages/multidict': Permission denied'
<Lev50> It looks like multidict needs to be built as part of the install process, and it can't write to /nix/store/....
sir_guy_carleton has joined #nixos
<Lev50> Is the solution to this to put python36Packages.multidict in default.nix?
<{^_^}> [nixpkgs] @andir opened pull request #42031 → webkitgtk: 2.20.2 -> 2.20.3 → https://git.io/vhPek
SemiHonest has quit [Quit: WeeChat 2.1]
johanot has joined #nixos
karlguy has joined #nixos
trevorriles has quit [Ping timeout: 276 seconds]
stites has joined #nixos
trevorriles has joined #nixos
trevorriles has quit [Read error: Connection reset by peer]
<avn> lev50: is one of options. Or use any of tools making .nix from requirements.txt
johanot has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<judson> I'm returning to an old issue I've had (on my own): my system gets confused about which chromium to use. I've started to figure out some of the xdg-settings stuff...
<judson> But it seems like after update, the new chrome executable doesn't recognize the running one.
<judson> I've imagined in the past it was because the nix-store path to the exe changes... but folks here report that they have no such issue.
work_ has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « update-stackage.sh: ignore Stackage constraints on json-autotype »: https://git.io/vhPfb
<judson> Dimly related: zoom-us from current unstable an master of the repo: sh: /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libc.so.6: version `GLIBC_2.27' not found (required by /nix/store/8h26kzkrx1mpm2lxkky6yvd764985phh-v4l-utils-1.14.2/lib/libv4l2.so.0)
Sonarpulse has joined #nixos
<Unode> domenkozar: seems like I was victim of https://github.com/NixOS/nix/issues/2088 since I also see 'warning: ignoring untrusted substituter 'https://cachix.cachix.org''
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ea3f3f46a80 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
slyfox has quit [Quit: :)]
<judson> Oh, dammit. It's that weird OpenGL hack thing.
alexteves_ has quit [Remote host closed the connection]
camsbury has quit [Ping timeout: 276 seconds]
camsbury has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 248 seconds]
xy2_ has quit [Ping timeout: 256 seconds]
sanscoeu_ has joined #nixos
nschoe has joined #nixos
sanscoeur has quit [Ping timeout: 260 seconds]
<catern> how fast will python37 appear in nixpkgs? should I just go ahead and make a pull request to add python37Packages with the rc?
<catern> I want to take a hard dep on python37 for some new software I'm writing :)
<Mic92> catern: we had a pull request for that open right away with the first alpha or so
<Mic92> should not take that long.
<catern> ah okay, great
<catern> then I will wait in excitement :)
<Mic92> it may be not become the default 3er version though
<catern> that's fine
<Mic92> what is the interesting news of that version? data classes?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #42034 → darwin bootstrapping: Avoid overriding aliases for LLVM → https://git.io/vhPkN
<catern> a number of things, dataclasses, contextvars, 'lazily' evaluated type annotations
<catern> it's nothing super exciting but it's stuff I'd like to have
asymmetric has joined #nixos
knupfer has joined #nixos
<Mic92> I am not sure why there is an HTMLCalender in the standard library
Olgierd has quit [Quit: WeeChat 1.9.1]
roberth has quit [Ping timeout: 245 seconds]
xy2_ has joined #nixos
Lev50 has quit [Ping timeout: 268 seconds]
woodson_ has joined #nixos
asymmetric has quit [Read error: Connection reset by peer]
<dtz> grahamc: your latest comment on the Nix issue got formatted in a silly way haha
<rycee> Anybody know whether it is at all possible to convince Firefox to look for add-ons as XPI files somewhere inside `~/.nix-profile`?
sigmundv has quit [Ping timeout: 240 seconds]
wrl has joined #nixos
stites has quit [Quit: WeeChat 1.6]
<rycee> I was looking, e.g., at http://kb.mozillazine.org/Installing_extensions but it only mentions the profile directory and the Firefox installation directory, which is not very promising.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42035 → aws-sdk-cpp: 1.4.60 -> 1.4.65 → https://git.io/vhPLg
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42036 → c-blosc: 1.11.3 -> 1.14.3 → https://git.io/vhPLo
asuryawanshi has quit [Ping timeout: 268 seconds]
Xal has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko pushed to master « wireguard{,-go,-tools}: 0.0.20180531 -> 0.0.20180613 »: https://git.io/vhPtv
Xal has joined #nixos
<colemickens> So, how do I get nix-copy-closure to use a nonstandard ssh port?
sanscoeu_ has quit [Remote host closed the connection]
<colemickens> I'm very surprised this is so impossible to discover.
<makefu> colemickens: maybe use .ssh/config ? not sure though
<makefu> if you find how to do it, put it in the wiki :D
<colemickens> I don't want to do that. I need a 'portable' command I can invoke.
<colemickens> Will do. I need to start contributing back to it more. I miss Arch Wiki.
<colemickens> (btw, I think your suggestion works, it very well may be the only supported method. I'm partially frustrated because I swear I went through this same question/discovery process three weeks ago and can't remember what I figured out.)
<makefu> https://nixos.wiki is there for you. the content is not as advanced as the arch wiki but we are doing our best
<makefu> NIX_SSHOPTS
<makefu> according to `man nix-copy-closure`
<makefu> NIX_SSHOPTS='-p 2222' or something
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #42034 → darwin bootstrapping: Avoid overriding aliases for LLVM → https://git.io/vhPkN
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhPt7
mahalel_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42037 → Fixes for GMP + prebuilt mobile → https://git.io/vhPqf
<{^_^}> [nixpkgs] @Ericson2314 pushed 44 commits to staging: https://git.io/vhPqm
<colemickens> and now I feel bad, it was in the man. :/ thank you @makefu, I'll go right now and try to find a good wiki spot to put that with some keywords.
<colemickens> are there good places in the wiki for "scenarios"
<colemickens> like, "building your laptop configs on your beefy server and then copying the closures around".
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42038 → ace: 6.4.8 -> 6.5.0 → https://git.io/vhPqM
<colemickens> There are random blog posts around, but it'd be nice to document the "scenario" end-to-end, if nothing else, for the next time I need to do this and have forgotten how.
<makefu> colemickens: i think there is nothing like this yet
jmiven has quit [Quit: co'o]
<makefu> but you could just create a page with your scenario
<judson> I think the opengl mesa-noglu drivers are linking against glibc 2.6 somehow.
<judson> I mean, ldd says so, but I can't find the why...
jmiven has joined #nixos
<samueldr> colemickens: I like using `nixos-build ... --build-host $remote` for this :)
<colemickens> I like to build the config with `nix build` first, which doesn't seem to have that option, very confusingly.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42039 → chirp: 20180606 -> 20180611 → https://git.io/vhPmc
<makefu> remote build just super easy with nix2
<samueldr> any reason for nix build instead of nixos-rebuild build?
<colemickens> I'm a bit unclear on why `nix build` and `nix-build` both exist, which one is the way forward, if `nix build` is going to grow the remote build options, etc.
<{^_^}> [nixpkgs] @andir merged pull request #42031 → webkitgtk: 2.20.2 -> 2.20.3 → https://git.io/vhPek
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vhPmW
<samueldr> (I'm curious as maybe it could improve my workflow!)
<colemickens> samueldr: I like the concise visual option? It's weird and non-sensical, I admit.
<colemickens> There's no good reason, heh, sorry.
<samueldr> nor really, any reason is good if you deem it good :)
<colemickens> @makefu hm okay, probably just more weak-nix-fu on my part.
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/vhPmR
<{^_^}> [nixpkgs] @edolstra merged pull request #42035 → aws-sdk-cpp: 1.4.60 -> 1.4.65 → https://git.io/vhPLg
<samueldr> colemickens: nix-build is the legacy + stable interface
<samueldr> is you're scripting things, do NOT use `nix anything`
<samueldr> as documented in their help, they may change their behaviour
<colemickens> aha, interesting. sorta like 'apt'/'apt-get' a bit
<judson> Oh I hope not.
<{^_^}> [nixpkgs] @wfranzini opened pull request #42040 → riemann-tools: 0.2.6 -> 0.2.13 (package name only) → https://git.io/vhPmi
<samueldr> though AFAIUI they will someday stabilize it
<samueldr> (and it's not an absolute, it's a "may change" and not "will change")
woodson_ has quit [Ping timeout: 265 seconds]
<colemickens> :) lots learned in 60 seconds, thank you both.
sanscoeur has joined #nixos
<colemickens> (and now I'm going to go RT(entire)FM.)
<samueldr> good times :)
<judson> Does anyone know why v4l-utils builds with Glibc-2.27 and mesa-noglu builds with glibc-2.26? Neither seem to have an explicit dependency.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42041 → bibutils: 6.3 -> 6.5 → https://git.io/vhPYe
<judson> But it's preventing zoom from working, AFAICT, which is starting to be a thing.
woodson_ has joined #nixos
<colemickens> (zoom works for me on nixos-unstable ish)
<colemickens> (As of yesterday, at least)
<elvishjerricco> I hope nixos-rebuild gets the nix 2.0 UI at some point. It'd be so much nicer for beginner
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vhPYV
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #42037 → Fixes for GMP + prebuilt mobile → https://git.io/vhPqf
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
<colemickens> "echo $NIX_SSHOPTS" yields "-p9999"
<colemickens> "sudo nixos-rebuild switch --build-host 127.0.1.1" yields "ssh: connect to host 127.0.1.1 port 22: Connection refused"
<colemickens> oh god, I'm dumb, the same mistake I always make. 'sudo'...
orivej has quit [Ping timeout: 245 seconds]
<gchristensen> you're surely not dumb
<gchristensen> you should see the mistakes I make :')
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42042 → chromedriver: 2.39 -> 2.40 → https://git.io/vhPOd
blankhart has joined #nixos
<dtz> \o/
<nh2[m]> dtz: check out the .nix file, pretty straightforward already with only a few remaining glitches
<dtz> will do!
<dtz> pretty sure you mean ldd anyway ;)
<colemickens> (it does appear it special case 'localhost' though, I had to use '127.0.0.1' to get it to actually use ssh and build on remote), and now I'm off to figure out how to do remote builds w/o root ssh access.
alex`` has quit [Ping timeout: 245 seconds]
<dtz> fwiw I do remember disabling libgmp in the ghc builds for some reason, might be same reason for what you're seeing... or might be cause of what you're seeing :)
rihards has quit [Quit: rihards]
alex`` has joined #nixos
<infinisil> Nix quiz: What does the following evaluate to: let x = "foo"; in ({ x ? x }: x) {}
<gchristensen> hehe I know the answer
<{^_^}> [nixpkgs] @Mic92 merged pull request #42041 → bibutils: 6.3 -> 6.5 → https://git.io/vhPYe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhPGI
<{^_^}> [nixpkgs] @Mic92 merged pull request #42026 → blink1-tool: 1.98 -> 1.98a → https://git.io/vhi97
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhPGB
<infinisil> Reveal in a minute if nobody wants to take the bait..
<elvishjerricco> infinisil: Boom!
<infinisil> > let x = "foo"; in ({ x ? x }: x) {}
<{^_^}> infinite recursion encountered, at (string):147:26
<infinisil> The answer is that it evaluates to nothing, because you get infinite recursion!
<infinisil> Reason being, the second x in { x ? x } refers to the first one, and not the one in the let
<{^_^}> [nixpkgs] @Mic92 merged pull request #42025 → conan: 1.2.3 -> 1.4.4 → https://git.io/vhiDa
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhPG6
sanscoeu_ has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #42043 → slack: 3.2.0-beta25a7a50e -> 3.2.1 → https://git.io/vhPZI
sanscoeur has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #42044 → libgcrypt: 1.8.2 -> 1.8.3 → https://git.io/vhPZG
Lev50 has joined #nixos
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #42045 → deluge: add patch for libtorrent >=0.16 compat → https://git.io/vhPZw
<{^_^}> [nixpkgs] @andir opened pull request #42046 → libgcrypt: 1.8.2 -> 1.8.3 → https://git.io/vhPZi
lolzsec has joined #nixos
Ariakenom has joined #nixos
crmlt has joined #nixos
thetet has joined #nixos
martinga_ is now known as martingale
<judson> Can anyone help me? I cannot get zoom working on NixOS. It and v4l_utils (its dep) build against glibc-2.27, but the mesa-noglu OpenGL driver (also a dep) build against Glibc-2.26. It crashes at runtime. But I can't see glibc as a buildInput anywhere.
<lolzsec> Zoom is?
<lolzsec> judson:
<{^_^}> [nixpkgs] @hedning opened pull request #42047 → Tilix 1.8.1, gtkd 3.8.3 → https://git.io/vhPnY
<{^_^}> [nixpkgs] @andir merged pull request #42030 → [18.03] webkitgtk: 2.20.2 -> 2.20.3 → https://git.io/vhijB
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.03: https://git.io/vhPn3
<manveru> judson: zoom is working fine here...
<manveru> using the 18.03 version
<judson> lolzsec: video chat software. nix-env -iA nixpkgs.zoom-us
<lolzsec> Ah, I just looked it up lmao
lolzsec has quit [Remote host closed the connection]
<judson> manveru: what does your `readlink /run/opengl-driver/lib/libGL.so.1` look like?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #42048 → llvm 5: split out compiler-rt and remove libcxxabi dep → https://git.io/vhPn9
<manveru> /nix/store/l2xrrg709dscys7b3dx38i22kb9a90x0-libglvnd-2016-12-22/lib/libGL.so.1
sanscoeu_ has quit [Remote host closed the connection]
<judson> I've got /run/opengl-driver/lib/libGL.so.1
<judson> Rather /nix/store/9qrbdd5g8vlmp4fafaa3d8160sb3l13i-mesa-noglu-17.3.6/lib/libGL.so.1
<manveru> yeah, i'm on nvidia
sanscoeur has joined #nixos
<judson> What about ldd /run/opengl-driver/lib/libGL.so.1 | grep libc
Turion has quit [Quit: Leaving.]
crmlt has quit [Quit: Lost terminal]
<avn> judson: use LD_LIBRARY_PATH manipulation, to rid off /run/opengl-driver/... and put appropriate mesa-nonglu to it
crmlt has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
slyfox has joined #nixos
crmlt has quit [Ping timeout: 256 seconds]
rardiol1 has joined #nixos
<judson> avn "appropriate mesa-noglu"?
<judson> manveru - which is build against 2.26. So maybe that's not it.
<{^_^}> [nixpkgs] @ciil opened pull request #42049 → pass: 1.7.1 -> 1.7.2 → https://git.io/vhPCu
<judson> Maybe I need to enable nvidia on this machine...
myshoe has quit [Quit: Lost terminal]
guest-35gcfv has joined #nixos
<guest-35gcfv> hello everyone
simukis has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Quit: Leaving]
<guest-35gcfv> i’ve been looking in the documentation, and I can’t seem to find an option to boot into multi-user instead of graphical target. anyone who can tell me where to look or have a quick fix? :)
<guest-35gcfv> well, set the option in configuration.nix that is.
<dtz> re:zoom-us might be easiest to just install zoom from same channel providing your drivers
<dtz> silly libraries
<infinisil> guest-35gcfv: what do you mean by 'multi-user'?
<srhb> Yes, zoom-us works with master on master(/unstable) or 18.03 on 18.03
chrisaw has joined #nixos
<guest-35gcfv> infinisil: boot in to console mode instead of the default display manager.
<srhb> It's an unfortunate side effect of not taking into consideration the differences caused by libglvnd between the versions. My bad.
<avn> dtz: I better say "silly electron", which have 100500 versions and all of them shipped as compiled binaries
<chrisaw> How long does it usually take for a change which happened in nixpkgs repo to make it through to unstable channel?
<infinisil> guest-35gcfv: Ah, so you just don't want it to start X at the beginning?
robstr has quit [Quit: WeeChat 1.9.1]
<dtz> lmao I did not know that
<srhb> chrisaw: It depends. Last time it was about 11 days. You can check the graphs, let me find the link...
<infinisil> guest-35gcfv: X is only started when you have `services.xserver.enable = true;`
<guest-35gcfv> infinisil: exactly. maybe i should just have started out with that hehe
organixpear has joined #nixos
<organixpear> Hello. I need some help.
<guest-35gcfv> infinisil: so if i install a window manager, i'm still able to start it?
alex`` has quit [Quit: WeeChat 2.1]
<chrisaw> srhb: Thanks! Likely a daft question but is there a channel which builds directly from nixpkgs more quickly? Need a fix from nixpkgs for a couple of packages. I submitted issues in GitHub and they're both fixed now but waiting for that fix to trickle through the channel I'm using.
<srhb> chrisaw: nixpkgs-unstable-small if there's such a thing. or cherry pick. Or pull in just a few packages from straight up master.
<organixpear> I am trying to run a 3D windows game using wine on the latest x86_64 nixos. When I try to run the game I get: libGL error: unable to load driver: i965_dri.so. I have mesa-noglu installed
<guest-35gcfv> infinisil: might have read the option description a bit wrong then...
<srhb> chrisaw: https://channels.nix.gsc.io/nixos-unstable/history Left column is commit, right is the timestamp at which the channel advanced iirc
<infinisil> guest-35gcfv: Ah, with that option i think everything X is disabled. So you want it to have everything from X, but just not start when booting up?
<guest-35gcfv> infinisil: yeah
<infinisil> Ah hold on
knupfer has quit [Remote host closed the connection]
<infinisil> guest-35gcfv: services.xserver.autorun
<infinisil> Heh, didn't know that existed
<elvishjerricco> srhb: Unfortunately, I believe the right column is the timestamp of the commit, not the time the channel advanced
<guest-35gcfv> infinisil: oh, thats make sense. gonna give try :) thank you!
<srhb> elvishjerricco: Really? That makes it rather not useful. I thought it reflected the data in the graph (which by itself also does not identify the delta)
<srhb> Oh well
<elvishjerricco> srhb: I could be wrong. I think I remember checking the commits and finding the exact same time stamp.
Intensity has quit [Ping timeout: 260 seconds]
<gchristensen> would it be terrible if I changed the meaning of the second column?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42050 → ghc8.4: build statically on prebuilt iOS → https://git.io/vhPl2
<elvishjerricco> gchristensen: Depends on how many people use it. I'd love it for that column to be the advance time
<gchristensen> I haven't fixed it because I don't want to mess people up
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #42045 → deluge: add patch for libtorrent >=0.16 compat → https://git.io/vhPZw
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhPlK
<elvishjerricco> gchristensen: Maybe you should offer a parallel history.json file, so that you can always add fields without destroying any reasonable workflow?
<gchristensen> that would be reasonable
<gchristensen> but would probably involve mmaking the tracker script better than a shell script
<elvishjerricco> Hah, you don't like writing code generators in bash? :P
bigrick has quit [Quit: leaving]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42050 → ghc8.4: build statically on prebuilt iOS → https://git.io/vhPl2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhPlp
<chrisaw> srhb: Thanks for the help - much appreciated. :)
Ralith_ has quit [Ping timeout: 264 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<chrisaw> Has anyone succeeded with creating a package override (well, overrideAttrs) for a Python package? I've posted on the nix-devel list at https://groups.google.com/forum/#!topic/nix-devel/_LGXNXwkoag with my attempt but so far, no luck.
tzemanovic has quit []
<organixpear> i'm trying some changes in configuration.nix to solve my problem (https://github.com/NixOS/nixpkgs/issues/30749). I'll be back shortly.
organixpear has quit [Remote host closed the connection]
{^_^} has quit [Remote host closed the connection]
<gchristensen> ok elvishjerricco I did the stupid and easy thing
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
logzet has quit [Remote host closed the connection]
<elvishjerricco> gchristensen: Thanks :) Did you retroactively change the old content, or is this just going to change the new content going forward?
<chrisaw> infinisil: I've been following https://nixos.org/releases/tmp/release-nixos-unstable-small/nixos-18.03pre114662.a46f206271/unpack/nixos-18.03pre114662.a46f206271/doc/languages-frameworks/python.md but no luck so far - I did see that in the docs but wasn't sure how to adapt it for an overlay.
<infinisil> chrisaw: python = super.python.override { packageOverrides = self: super: ...
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<elvishjerricco> Oh! Nice :0
<elvishjerricco> :)*
<gchristensen> the unfortunate thing is https://channels.nix.gsc.io/graph.html
hiratara has quit [Ping timeout: 276 seconds]
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @makefu opened pull request #42052 → pythonPackages.python-forecastio: init at 1.4.0 → https://git.io/vhP4t
matthewbauer has quit [Read error: Connection reset by peer]
<samueldr> gchristensen: still keeping "v1" around and updated? any estimates for its future sunsetting?
<samueldr> (not that I use it, but if others ask)
<gchristensen> not sure why {^_^} keeps coming / going ...
hiratara has joined #nixos
<infinisil> gchristensen: My backend stays connected fwiw
<chrisaw> infinisil: That's what I'm doing - I think to be honest I'm just matching to the group group.
aarvar has joined #nixos
<samueldr> ah good, must have skimmed over the paragraph, sorry
MP2E has joined #nixos
<gchristensen> samueldr: it is new as of after your question :)
<samueldr> oh
<gchristensen> srhb: ^
<gchristensen> no longer useless!
matthewbauer has joined #nixos
solaire has quit [Quit: Leaving]
<chrisaw> infinisil: Figured it out - I needed to use python3 instead of just python and I also needed to use overridePythonAttrs instead of just overrideAttrs. Thanks for the hint!
<infinisil> Nice :)
<chrisaw> infinisil: Oh... doh. Spoke too soon. :(
thetet has quit [Read error: Connection reset by peer]
thetet1 has joined #nixos
<srhb> gchristensen: Beautiful!
<gchristensen> https://channels.nix.gsc.io/graph.html less beautiful really, but it will soon be better
<YegorTimoshenko[> gchristensen: what is y on this graph?
<srhb> Excellent. :) This is very useful.
<gchristensen> YegorTimoshenko[: channel
<gchristensen> it is too hard to read unless each channel gets its own y
<srhb> We could bump them slightly up and down and just tell everyone that that's the channel jitter in mysterious tones, and never explain the term.
* srhb is helping
<gchristensen> hah
<judson> manveru, do you have an explicit videoDrivers in your configuration.nix? Are you using nv or nouveau?
thetet1 has quit [Ping timeout: 248 seconds]
<judson> (grumble grumble French words and spelling)
<manveru> nvidia :)
<manveru> `videoDrivers = [ "nvidia" ];`
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42054 → balsa: 2.5.5 -> 2.5.6 → https://git.io/vhPRW
<colemickens> lol no matter what I do, `autossh [anything]` just prints help.
<colemickens> wow, how do I keep running into commands today that don't parse args properly.
<colemickens> It doesn't handle -M0 (-M 0) and nixos-rebuild doesn't accept --long-flag=value (--long-flag value)
matthewbauer has quit [Ping timeout: 245 seconds]
<infinisil> colemickens: autossh is pretty much useless, ssh itself can do it better
pie_ has joined #nixos
* colemickens is lazy to look up flags
<colemickens> you're right though, I'll drudge through my dotfiles and figure out where my alias is from last time I did this.
<infinisil> I have my config ready with this, hold on
<colemickens> samueldr: how do you deal with signing when doing nixos-rebuild on a remote --build-host? I keep getting signing complaints, even after provisioning keys and distributing the public key to my box where I'm starting the build.
testuser_ has quit [Ping timeout: 240 seconds]
<infinisil> It's a bit hard to see exactly what it's doing because of the abstraction..
<infinisil> Oh wait
deepfire` has quit [Ping timeout: 268 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
Wharncliffe has joined #nixos
<colemickens> it's not so bad that I can't figure it out ;)
<colemickens> thanks!
phdoerfler has quit [Ping timeout: 240 seconds]
<infinisil> That's something slightly different. You only need ServerAliveInterval, ClientAliveInterval (on the server), ExitOnForwardFailure, the Control* ones, and pack that into a restarting systemd service
<infinisil> :)
hiratara has joined #nixos
tzemanovic has joined #nixos
<chrisaw> infinisil: It doesn't seem to matter which package I override - the patch I'm trying to add never gets applied during a rebuild. It's very strange!
<pie_> is there a consensus on the best way to currently manage user dotfiles declaratively?
<chrisaw> Tried python, python3, python36 - none of them seem to make a difference to the actual build. :| Is there a simple way to check what "python group" (I guess?) a dependency belongs to?
<{^_^}> [nixpkgs] @jwiegley pushed to master « emacsMacport: 26.1-7.0 -> 26.1-7.1 »: https://git.io/vhP0t
<infinisil> pie_: Lots of people use home-manager (including me)
jperras has quit [Ping timeout: 264 seconds]
<pie_> yeah thats the first thing that seems to have come up, ill take a look at it :D
<manveru> home-manager++
<{^_^}> home-manager's karma got increased to 1
<pie_> the readme makes it sound rather scary :p
<colemickens> It's unclear if signing is done on the fly during a copy, at build time, etc?
<infinisil> pie_: It should really be changed.. It has been used successfully for so long now, I've never seen it break terribly
<colemickens> how do I tell nixos-rebuild to sign when building on a remote host?
<pie_> did a new install on a machine and im trying to finally go fully declarative
<{^_^}> [nixpkgs] @manveru opened pull request #42055 → gem-config: add fog-dnsimple, redis-rack, ffi-rzmq-core, mini_magick → https://git.io/vhP0Z
<manveru> i'm super happy with my hm config
<infinisil> chrisaw: By default, all python packages are in all sets. They need to declare that they don't work with e.g. python3.x themselves
<infinisil> chrisaw: And dependencies come from the same one the package is from
<manveru> pie_: one little trick if you manage more machines. https://www.irccloud.com/pastebin/Xv0CugXu/home.nix
<infinisil> chrisaw: Not exactly sure what you mean. But if you have trouble with your config, it would be much more helpful to just gist it
<pie_> manveru, thanks ill take a look
<infinisil> chrisaw: The `rec` is not needed, python -> python2 -> python27, so you probably want to override python27 instead, it should be patches = oldAttrs.patches ++ ..., are you sure it's overrideAttrs instead of overridePythonAttrs?
<infinisil> Whether the overlay gets used depends on whether something needs that package, do you have warrant in your configuration.nix somewhere?
<infinisil> Ah and you mentioned it's a dependency? If so, you need to do this override within the package that it depends on
<pie_> ok so nix search is a thing but is there a nix search for config options
<pie_> because i keep needing to use the nixos.org page
tzemanovic has quit [Remote host closed the connection]
<infinisil> pie_: There's a man page: man configuration.nix
<chrisaw> infinisil: Ah that could be the problem. So it's being pulled in from home-assistant - so I would need to tell that package to use my custom version?
camsbury has quit [Ping timeout: 248 seconds]
<infinisil> chrisaw: Ye
tzemanovic has joined #nixos
<chrisaw> infinisil: FYI - without the rec { neither python nor python36 (it's actually using python 3.6 so must need python3)
<pie_> infinisil, oh god lol
<chrisaw> *exists - missed the vital part. :|
<infinisil> chrisaw: Huh? What's the error when you remove rec?
<pie_> how do i fix man pages globally
<chrisaw> infinisil: undefined variable 'python36', same with 'python3' and 'python' if I switch to those.
<infinisil> chrisaw: gist that exact file?
<chrisaw> Full file yeah
<infinisil> In the gist you showed me, the rec really shouldn't have any influence on anything
<chrisaw> infinisil: Then called in using nigpkgs.overlays = [ (import ./pkgs/warrant) ]; - nothing too fancy there.
<chrisaw> *nixpkgs
<pie_> for example i dont have a man page for resolve.conf
<pie_> *resolv
<manveru> i think that's in the manpages package
<pie_> how....does that work?
<manveru> hm, or not
<infinisil> chrisaw: What rec does is this
<infinisil> > { foo = 10; bar = foo; }
<{^_^}> { bar = <CODE>; foo = 10; }
<infinisil> > { foo = 10; bar = foo; }.bar
<{^_^}> { value = { value = <CYCLE>; }; }
<infinisil> Oh right, um
<infinisil> > { fooo = 10; barr = fooo; }.barr
<{^_^}> undefined variable 'fooo' at (string):149:21
<infinisil> > (rec { fooo = 10; barr = fooo; }).barr
<{^_^}> 10
<manveru> pie_: no, it's in manpages :)
<infinisil> chrisaw: It imports all the attributes defined in the attribute set itself
thetet has joined #nixos
<infinisil> chrisaw: But the only attribute you are defining in that gist is "python", but you never reference this in the rest of the code, so the rec shouldn't have an effect..
<infinisil> And you're saying it does?
<samueldr> colemickens: uuuuuuh, I think it's trustedUsers https://gitlab.com/samueldr/nixos-configuration/blob/master/modules/nix.nix#L15
<chrisaw> infinisil: Ah I see! In the context of a pkg overlay though doesn't it basically expand out the pkgs group?
<samueldr> committed 11 months ago, says "allows nix-copy-closure to work through trusted users"
<chrisaw> infinisil: As in - with it - "python =" works, without it "pkgs.python" would probably achieve the same thing. I may be way off the mark here - still learning!
<colemickens> @samueldr: oh interesting, that seems easier (if not questionably lazier) than provisioning and copying around keys, and skirts me around needing to deal with building on multiple machines.
<infinisil> chrisaw: Nope, nothing to do with that, and I'm not sure what you mean by "group", there's no such term in nix
<samueldr> I don't know if there are actual drawbacks, but as ssh authenticates things already, seems fine for my use case
<samueldr> the main reason I --build-host is that I use a nixpkgs checkout and sync all machines to the same checkout
<samueldr> so most of everything I use is already downloaded
<chrisaw> infinisil: Heh, not too sure myself! :( It does say to use "rec:" in the nix docs you linked above though for an overlay.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5fbbeaa31db (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<chrisaw> Err - "rec {" I mean.
matthewbauer has joined #nixos
<infinisil> chrisaw: I can't reproduce, can you gist the file again that produces the "undefined variable 'python36'" error?
<pie_> manveru, the description seems a bit misleading then, it talks about "developer" manpages in the description
<pie_> not that its something particularly important to get hung up on
sanscoeur has quit [Ping timeout: 264 seconds]
<manveru> i think those are just the manpages that aren't directly associated with a package otherwise
<manveru> never really looked into it
<pie_> what if i get something with nix-shell -p?
xcmw has joined #nixos
<manveru> you should have the manpage in your nix-shell as well
<pie_> ok so for -p fim, i guess the fim package just doesnt implement the man pages output or something?
xy2_ has quit [Ping timeout: 245 seconds]
<colemickens> @samueldr I hadn't actually considered that I could stop cloning nixpkgs on all of my machines and manually syncing it. That's a pretty nice simplification to my workflow as well.
<manveru> tbh i also never use -p, i write shell.nix files ^^;
<pie_> meh :p
<colemickens> Ultimately, I'd like to get something that tries to rebase my custom commits on top of whatever channels/nixos-unstable-branch I'm tracking, and then rebuilds my nixos configs for all my machines, and then I can push/pull at will with whatever ssh/http strategy I want.
<manveru> it's so short, and then i can just use direnv with it: `with import <nixpkgs> {}; mkShell { buildInputs = [ nixops crystal shards dbus libxml2 ]; }`
<colemickens> I assume there might be a way to coax hydra into doing that for me
<infinisil> chrisaw: Well the error comes from this line that you didn't include in the other gist! https://gist.github.com/cawilliamson/1e1279440b3e1504bf3c434f41e1ae76#file-pkg-L14
<samueldr> colemickens: my manual sync involves a private remote clone with a branch
<infinisil> chrisaw: You can remove that line, what you're intending to do there is like this already
jperras has joined #nixos
<samueldr> as for custom commits, I have none. I may be lucky, never had trouble with simply using overlays
<colemickens> Hm, I don't want to maintain an overlay just because I want some commits that haven't landed in my channel yet. Or maybe I'm overcomplicating things.
<colemickens> Like I bumped up libinput and sent a PR, but I don't want to switch to 'master'.
<colemickens> Is there an easy way to pull that PR effectively via an overlay? Or am I better off just maintaining those cherry-picks until nixos-unstable advances far enough to drop them?
<infinisil> colemickens: You could define your nixpkgs to be the channels nixpkgs with the pull requests patch applied
chrisaw has quit [Ping timeout: 240 seconds]
<colemickens> Hm, without maintaining my own branch and needing to rebase whenever the channel advances? Sorry to be needy, but you don't have an example do you? Or one I could extrapolate from?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5fbbeaa31db (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<infinisil> Hmm hold on, never done this, but shouldn't be too hard
thetet has quit [Ping timeout: 248 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
jperras has quit [Ping timeout: 264 seconds]
chrisaw has joined #nixos
Acou_Bass has joined #nixos
erasmas has quit [Quit: leaving]
<chrisaw> infinisil: Sorry, timed out. :| You were saying I could add my overlay as a channel somehow?
<catern> does anyone have a current, running example of using pypi2nix to deploy Sentry?
<chrisaw> infinisil: Oh sorry, you were talking to colemickens.
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #42056 → llvm 6: Fix libcxxabi impurity and darwin sanitizers → https://git.io/vhPze
<chrisaw> infinisil: I removed the line in question, solved the error. What I was asking though is - how can I actually ensure home-assistant uses my overridden package now? Or better yet - can I force it to be used globally?
<infinisil> chrisaw: python = super.python.override { home-assistant = super.python.home-assistant.override { warrant = ...
<rotaerk> anyone know why my volume is muted every time I reboot? I keep having to unmute and up the volume with alsamixer
<rotaerk> It didn't used to do that; I think a system update started that
rprije has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42057 → arangodb: 3.3.9 -> 3.3.10 → https://git.io/vhPz4
JasonGrossman has quit [Ping timeout: 256 seconds]
xcmw has quit [Ping timeout: 248 seconds]
rain1 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42058 → byacc: 20180525 -> 20180609 → https://git.io/vhPz6
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
rprije has quit [Ping timeout: 265 seconds]
zearen has joined #nixos
rprije has joined #nixos
palo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « cc-wrapper: fix eval error on mac »: https://git.io/vhPzH
<colemickens> Hm, is there a historical record of what nixos-unstable has pointed at?
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
<colemickens> infinisil: thank you very much by the way, this is definitely interesting to me.
seanparsons has quit [Read error: Connection reset by peer]
TonyTheL1on has joined #nixos
<infinisil> colemickens: How you could use this as your normal nixpkgs: add a new channel (e.g named unpatched), use `import <unpatched> {}` at the top instead, then set in NIX_PATH nixpkgs=/path/to/my/gist.nix (nix.nixPath on NixOS)
TonyTheLion has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #42056 → llvm 6: Fix libcxxabi impurity and darwin sanitizers → https://git.io/vhPze
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhPg8
TonyTheL1on has quit [Ping timeout: 240 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Ericson2314 pushed 22 commits to staging: https://git.io/vhPgg
TonyTheLion has joined #nixos
seanparsons has joined #nixos
rprije has quit [Ping timeout: 276 seconds]
rprije has joined #nixos
goibhniu has joined #nixos
igo95862 has joined #nixos
<pie_> hmm trying to use sshfs hangs till i kill it
<pie_> it doesnt seem to idle loop or anything high cpu usage, it just stops, or something
TonyTheLion has quit [Ping timeout: 240 seconds]
thetet has joined #nixos
matthewbauer has quit [Ping timeout: 264 seconds]
jackdk has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #42048 → llvm 5: split out compiler-rt and remove libcxxabi dep → https://git.io/vhPn9
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vhP2f
TonyTheLion has joined #nixos
jtojnar has joined #nixos
<infinisil> pie_: Are you using ControlMaster?
<pie_> infinisil, dont even know what that is
ericsagn1 has quit [Ping timeout: 256 seconds]
chessai has quit [Remote host closed the connection]
<samueldr> colemickens: yes, there is an historical record https://channels.nix.gsc.io/
<pie_> hmmm wow this is REALLY weird
<pie_> ls hangs
<pie_> but ls | cat doesnt
<colemickens> lots of purple links there, whoops, bookmarking. thanks!
matthewbauer has joined #nixos
<infinisil> samueldr: Ah that's the thing that you set up, nice!
<pie_> trying t ocd into the directory hangs in a way that i cat ^C out
<infinisil> samueldr: gchristensen i mean, or both of you, not sure
chrisaw has quit [Ping timeout: 265 seconds]
TonyTheLion has quit [Ping timeout: 245 seconds]
igo95862 has quit [Quit: igo95862]
TonyTheLion has joined #nixos
<pie_> -o ssh_commant="ssh -vvv" seems to show authentication going fine
jperras has joined #nixos