andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
<{^_^}> [nixpkgs] @veprbl merged pull request #78916 → gpxlab: enable on darwin → https://git.io/JvOQQ
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvOFi
CMCDragonkai1 has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
shibboleth has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f618cfbf454 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
jgeerds has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78930 → intel-compute-runtime: 19.44.14658 -> 20.02.15268 → https://git.io/JvOF7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78239 → nixosTests.networkingProxy: port to Python → https://git.io/JvLRk
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOFA
Mateon2 has quit [Ping timeout: 272 seconds]
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #76562 → nixosTests.graphite: port to python and mark as broken → https://git.io/Jeb91
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOFx
Mateon3 is now known as Mateon2
WinchellsM has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74124 → nixosTests.riak: port to python → https://git.io/JePck
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JvObv
dustinm has quit [Ping timeout: 260 seconds]
erasmas has quit [Quit: leaving]
gustavderdrache has joined #nixos
Blessjah has quit [Ping timeout: 246 seconds]
foonicorn has quit [Ping timeout: 265 seconds]
ivan has quit [Ping timeout: 260 seconds]
foonicorn has joined #nixos
ksixty has quit [Ping timeout: 260 seconds]
Blessjah has joined #nixos
sigmundv__ has quit [Quit: Leaving]
ksixty has joined #nixos
dustinm has joined #nixos
ivan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78931 → jump: 0.23.0 -> 0.30.0 → https://git.io/JvObJ
CMCDragonkai1 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #75462 → nixosTests.proxy: port to python → https://git.io/Je90a
nckx has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
<dashkal> My X server hangs the system on reboot. This is a very fresh install. Used Xorg/slim/xfce as my base, but I've seen this with lightdm and no desktop manager at all (the xterm in the corner). Where should I look to diagnose? The install disk does not have this problem.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78927 → nixosTests.blivet: remove → https://git.io/JvOdM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvObq
nckx has joined #nixos
<xavierzwirtz[m]> I am attempting to add support for using k3s for testing to kubenix, is there anyone who knows how to configure a NixOS machine to route requests from a hostname to k3s?
<xavierzwirtz[m]> Pointers for what to even research would be welcome, this is not my baliwick
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73027 → libxkbcommon: 0.8.4 -> 0.10.0 → https://git.io/JeVI7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JvObs
<worldofpeace> colemickens: did those
<colemickens> Thanks.
<colemickens> Random one - do people have working WebGL on Firefox stable? I don't without this: https://github.com/NixOS/nixpkgs/pull/73365
<{^_^}> #73365 (by colemickens, 11 weeks ago, open): firefox-wrapper: use libglvnd
hoobershaggus has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
<evanjs> I love the recommended/auto reviewers thing but the more active a person is, the more intimidated I feel requesting their review :D
<evanjs> Unless there's a trend I see with them re my PRs or etc. Blah. Probably overthinking it lol
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78932 → kubeseal: 0.9.6 -> 0.9.7 → https://git.io/JvObc
sigmundv has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #78125 → pdfpc: Fix gstreamer video playback issue #73321 → https://git.io/JvIoh
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvOb4
<lovesegfault> One more day and Hydra for nixos-unstable will be all green for the first time since I started using NixOS :P
mbrgm_ has joined #nixos
jluttine has quit [Ping timeout: 272 seconds]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
hoobershaggus has quit [Remote host closed the connection]
* samueldr quickly introduces breakage
hoobershaggus has joined #nixos
jluttine has joined #nixos
<dashkal> Meh, I think I'm defeated on this. X hangs the system when it shuts down no matter what I poke at here. But the install image doesn't have that problem. I didn't see anything special in the configurations on the install image, so I'm at a loss.
tdeo has joined #nixos
tdeo has quit [Changing host]
tdeo has joined #nixos
Rusty1 has quit [Remote host closed the connection]
mexisme_ has joined #nixos
<qyliss> evanjs: I think requesting a review is always fine. I (and I suspect most other active contributors) consider it a CC rather than a thing I must do.
<qyliss> I usually request reviews from anybody who's likely to care at all, because a) that means I'm less likely to have to revert later if they don't like it and b) it makes it more likely I'll get a review
hgminh has left #nixos [#nixos]
<worldofpeace> colemickens: trying
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/40be1827ee6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
werner291 has quit [Quit: werner291]
<evanjs> qyliss: it does sound quite a bit better that way
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78933 → limesuite: 19.04.0 -> 20.01.0 → https://git.io/JvOb5
<evanjs> OTOH, how long does nixpkgs review for python typically take? x_x #77714
<{^_^}> https://github.com/NixOS/nixpkgs/pull/77714 (by evanjs, 2 weeks ago, open): pythonPackages.pillow: 6.2.1 -> 7.0.0
<worldofpeace> wait, maybe it's wayland specific. need to check which firefox I'm using too colemickens
<evanjs> nix-review*
andersk has quit [Ping timeout: 268 seconds]
<qyliss> I think this https://anvaka.github.io/city-roads/ uses WebGL and it works for me in Firefox
<qyliss> evanjs: depends a lot on your hardware
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvObd
<qyliss> and whether there are bi dependents
<aanderse> scenario: you find a bug in a nixos module/package and decide to fix it... only to find out the file has 3 spaces for the first level of indentation
<aanderse> :S
<jtojnar> worldofpeace also probably need to update pygobject & pyatspi since r-ryantm blocks them
<worldofpeace> Jan Tojnar: will look into that
<worldofpeace> Jan Tojnar: oooh
<worldofpeace> Test built the update gnome3 iso, it's now 1.3 GB
<worldofpeace> much smaller from when I last checked on other distro's images https://github.com/NixOS/nixpkgs/pull/66313#issuecomment-519486789
<dashkal> okay. Explicitly using the intel driver seems to have solved the X hangs issue.
<dashkal> Wonder why the install image didn't have to do that.
<worldofpeace> dashkal: weird, I thought the install image just used modesetting too
<{^_^}> [nixpkgs] @jtojnar merged pull request #71557 → enchant: 2.2.5 -> 2.2.7 → https://git.io/JeRcD
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JvObN
<worldofpeace> Jan Tojnar: ooof, I'm subscribed to my repology feed as well.
<{^_^}> [nixpkgs] @jtojnar merged pull request #78341 → pyenchant: Fix for darwin/macOS → https://git.io/JvLxH
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvObA
<jtojnar> worldofpeace some of them were already merged (glib-networking)
chromiumBishop has quit [Ping timeout: 268 seconds]
<jtojnar> almost looks like frozen https://repology.org/repository/nix_unstable
<{^_^}> [nixpkgs] @worldofpeace opened pull request #78934 → python3Packages.pygobject3: 3.32.1 -> 3.34.0, python3Packages.pyatspi: 2.32.1 -> 2.34.0 → https://git.io/JvObh
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
<jtojnar> everything looks green https://hydra.nixos.org/job/nixos/trunk-combined/tested but still not bump in last three days
rajivr___ has joined #nixos
<gchristensen> I see the same here too, jtojnar
<gchristensen> https://status.nixos.org/grafana/d/fBW4tL1Wz/scheduled-task-state-channels-website?orgId=1&refresh=10s and here it is listing as failed, and https://status.nixos.org/prometheus/alerts alerts are firing but nothing was sent to -dev
<gchristensen> so, looking first at disk space, then alerts
<gchristensen> third, rfc39 sync
<{^_^}> [nixpkgs] @worldofpeace opened pull request #78935 → installation-cd-graphical-gnome: updates → https://git.io/JvONk
<lovesegfault> colemickens: I just realized I have no more freezes on 5.4
<lovesegfault> 5.4.15 with a couple of patches
<samueldr> lovesegfault: which patches?
<lovesegfault> have been running for 4 days with slack open and no freezes
wildtrees has quit [Quit: Leaving]
xkapastel has joined #nixos
<dashkal> Ok, progress. I've got my nvidia card working via bumblebee. Is there anything I can do to get (slow) glx running on the intel?
<dashkal> Use case is a Hybrid intel/nvidia laptop
<lovesegfault> dashkal: X or Wayland?
<dashkal> X... I think. Easy way to check?
<dashkal> I configured via xserver settings.
<lovesegfault> samueldr: What DM are you using? Gnome, KDE, i3, sway, xmonad,...?
<samueldr> lovesegfault: uh... "none", but my WM is awesome (literally and figuratively)
<samueldr> why?
<samueldr> if it's related to the intel hangs, I haven't run 5.x since early 5.3, but did get some short self-solvable hangs
Drakonis__ has joined #nixos
<lovesegfault> samueldr: Sorry, I meant to tag dashkal, not you :)
<dashkal> lovesegfault: LightDM / Xfce atm
<dashkal> No attachment. Just a simple env to get a terminal.
<lovesegfault> But yeah, now correctly tagging samueldr, those patches fixed 5.4.x hangs for me (the i915 ones, not the xfs one ofc)
<dashkal> I intend to switch to xmonad once I get my X issues ironed out.
<samueldr> I figured :)
<worldofpeace> lovesegfault: OOh, nice
<lovesegfault> dashkal: If you're running X then prime render offload should work for you?
<dashkal> If I read the nvidia wiki page correctly, doesn't prime mode mean the nvidia card is always active (and so draining battery)?
<dashkal> Even if not, following those instructions did not work for me, perhaps due to a failure to read it right or understand it. nvidia-settings would work under that configuration, but the glx context was only available if I used DISPLAY=:0.1
<lovesegfault> I just disable my card with bbswitch since I use sway, so unfortunately I can't help much
<dashkal> Drat. I can live without intel glx, but I was hoping I wouldn't have to. Having my terminal (alacritty) always under the nvidia would murder my battery life.
<gchristensen> ehhh what nix isn't doing scheduled GC on bastion...
<evanjs> wait, is there a way to switch between nvidia and intel on nixos without bumblebee or etc? I don't mind the battery life since I'm usually plugged in, but...
<lovesegfault> worldofpeace, samueldr: I just got a goddamn freeze
<lovesegfault> dammit
<lovesegfault> first one in 4 days
<samueldr> :|
<dashkal> I thought so, evanjs, by just not specifying optirun, but if I try that, I just get complaints about "count't find RGB GLX visual".
<worldofpeace> lovesegfault: oh the woes, the note in the release notes to stick with 4.19 for intel IGPU is going to be much appreciated :D
<dashkal> I know intel has some gl capability, so I was hoping to use that for the terminal. I can always just keep a crappier terminal I suppose for the rare time I'm running on battery.
<lovesegfault> worldofpeace: I want my wireguard on 5.6 though :(
<{^_^}> [nixpkgs] @worldofpeace opened pull request #78937 → fondo: 1.3.2 -> 1.3.8, aesop: 1.1.3 -> 1.2.3 → https://git.io/JvOAT
<lovesegfault> Can someone review this: https://github.com/NixOS/nixpkgs/pull/78654
<{^_^}> #78654 (by lovesegfault, 2 days ago, open): arcanist: 20190905 -> 20200127
<worldofpeace> lovesegfault: I've seen all types of things with distros trying to do stuff for it to help, but then also making things kinda worse too
<lovesegfault> I can imagine people are like me adding patches galore trying to fix it
h0m1 has quit [Ping timeout: 272 seconds]
Rusty1 has joined #nixos
h0m1 has joined #nixos
<worldofpeace> lovesegfault: looking at your PR
<lovesegfault> worldofpeace: <3
<DigitalKiwi> speaking of
<DigitalKiwi> 02:22:20 up 13 days 2:36, 1 user, load average: 0.08, 0.11, 0.18
<DigitalKiwi> Linux mvp-nixos 4.19.93 #1-NixOS SMP Sat Jan 4 18:13:46 UTC 2020 x86_64 GNU/Linux
<DigitalKiwi> yay
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<DigitalKiwi> for those not in the know...i was having segraults/forced reboots about every day for a while
<DigitalKiwi> segraults ruh roh
<gchristensen> okay second failure, worldofpeace & jtojnar, update-nixos-unstable-start[21653]: could not download https://hydra.nixos.org/eval/1567744/job/nixos.iso_graphical.x86_64-linux: 404 Not Found
<gchristensen> please advise
<lovesegfault> The most fascinating thing about these freezes is that once you get one it's much more likely to have others
<lovesegfault> I had slack open for four days with no fault, now that it froze once I cannot open slack again without it freezing
<{^_^}> [nixpkgs] @aanderse opened pull request #78938 → nixos/duosec: replace insecure skey option with secure secretKeyFile option → https://git.io/JvOAc
<worldofpeace> gchristensen: weird, we updated the channel scripts and eelco merged
<gchristensen> link?
evanjs has joined #nixos
<lovesegfault> worldofpeace: FYI arcanist doesn't provide changelogs or releases AFAIK
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78654 → arcanist: 20190905 -> 20200127 → https://git.io/JvmFC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOAW
<lovesegfault> Woohoo, thanks!
<worldofpeace> lovesegfault: just noticed that, thanks 👍️
<{^_^}> nixos-channel-scripts#25 (by worldofpeace, 24 weeks ago, merged): rename iso_graphical to iso_plasma5
<gchristensen> thanks, jtojnar
<jtojnar> worldofpeace also setting autoSuspend = false might make the image non-compliant with the EU regulation
<gchristensen> :o
<lovesegfault> jtojnar: Are you serious?
<jtojnar> not sure if it actually applies to us and if we care
<jtojnar> California has something like that too
<samueldr> auto-updates without consent are non-compliant in Canada
<jtojnar> let me find the reference
<lovesegfault> I mean I expected that, California laws are insane (I live in CA)
<gchristensen> neat, jtojnar
<samueldr> eek!
<lovesegfault> As I told gilligan this week, "California laws are usually a worst of both worlds between US and EU"
<worldofpeace> lovesegfault: hahah right, big sign "THIS BUILDING IS CANCER" 😂 california
<lovesegfault> worldofpeace: I got those all over the place I live
<samueldr> those proposition notices serve to indicate the thing exists
<lovesegfault> it's had this weird stockholm syndrome effect where I now protect the cancer causing things
<jtojnar> azbestos?
<worldofpeace> Jan Tojnar: I think it means "provides a power management function?"
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lovesegfault> jtojnar: Literally everything, my door has a sign saying I might be exposed to phenols and asbestos and whatnot
Drakonis__ is now known as drakonis
<lovesegfault> but like these are EVERYWHERE
<lovesegfault> the elevator, the stairs, wrappings of things, tupperware, ...
<worldofpeace> Jan Tojnar: "azbestos?" pretty much everything in a city could be considered a cancer co-factor, anyways
<lovesegfault> FWIW that quote of mine to gilligan was talking about CA job regulations around firing someone
<lovesegfault> where it's like, impossible to fire a person apparently
<DigitalKiwi> i'm sure there are quite a few people in the bay that disagree
<qyliss> *cough* #nixos-offtopic
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/JvOAy
<qyliss> err, *cough* #nixos-chat
<qyliss> sorry
<worldofpeace> cough my lungs, asbestos
<lovesegfault> worldofpeace: lol
evanjs has joined #nixos
<lovesegfault> DigitalKiwi: happy to continue talking in #nixos-chat :)
eoli3n_ has quit [Ping timeout: 268 seconds]
<DigitalKiwi> but then all of my buffers will be shifted and i'll have to relearn where channels are :<
<{^_^}> [nixpkgs] @evanjs opened pull request #78939 → openrazer: 2.6.0 -> 2.7.0 → https://git.io/JvOAp
gustavderdrache has quit [Quit: Leaving.]
doyougnu has joined #nixos
iyzsong has joined #nixos
lovesegfault is now known as lovesegfault_gro
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75210 → kotatogram-desktop: init at 1.1.5 → https://git.io/JeSfQ
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvOpU
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
orivej has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8539d5f48f9 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<gchristensen> worldofpeace: ^
<colemickens> worldofpeace: this is a silly question but you were testing with `firefox` and not `firefox-bin`/`firefox-nightly`? I ask not because I doubt, but because I'm confused. (And I'm also assuming you tested on your Intel system too?)
<worldofpeace> gchristensen++
<{^_^}> gchristensen's karma got increased to 201
<worldofpeace> colemickens: I first tested with firefox-bin, then realized it was that, then used the regular FF
<worldofpeace> then realized I wasn't using wayland...
<colemickens> Ooooh. I hadn't thought about that too.
<colemickens> !
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78940 → powershell: 6.2.3 -> 6.2.4 → https://git.io/JvOhn
<colemickens> I guess I can just set MOZ_USE_WAYLAND and test around that too. Good idea.
Fare has joined #nixos
boxscape has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 260 seconds]
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ is now known as drakonis
xkapastel has quit [Quit: Connection closed for inactivity]
gcoakes[m] has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 265 seconds]
chagra has joined #nixos
domogled has joined #nixos
dansho has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f618cfbf454 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
domogled has quit [Quit: domogled]
lovesegfault_gro is now known as lovesegfault
orivej has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
plutes has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
orivej has quit [Ping timeout: 265 seconds]
dansho has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @anmonteiro opened pull request #78942 → ocamlformat: 0.12 -> 0.13.0 → https://git.io/JvOjx
lovesegfault has quit [Quit: WeeChat 2.7]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
dansho has joined #nixos
chagra has quit [Ping timeout: 260 seconds]
endformationage has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #77642 → yoda: provide python3Packages.yoda → https://git.io/JvJRG
<{^_^}> [nixpkgs] @jonringer pushed commit from @veprbl to master « yoda: provide python3Packages.yoda »: https://git.io/Jv3e2
vidbina has joined #nixos
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78937 → fondo: 1.3.2 -> 1.3.8, aesop: 1.1.3 -> 1.2.3 → https://git.io/JvOAT
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jv3eK
boomshroom has joined #nixos
<boomshroom> Hello!
chagra has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78932 → kubeseal: 0.9.6 -> 0.9.7 → https://git.io/JvObc
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « kubeseal: 0.9.6 -> 0.9.7 »: https://git.io/Jv3eM
<boomshroom> Hello, chagra!
<{^_^}> [nixpkgs] @jonringer merged pull request #78931 → jump: 0.23.0 -> 0.30.0 → https://git.io/JvObJ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « jump: 0.23.0 -> 0.30.0 »: https://git.io/Jv3eS
Rusty1 has quit [Quit: Konversation terminated!]
Ralith_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #78922 → zabbix: 4.0.16 -> 4.0.17, 4.4.4 -> 4.4.5 → https://git.io/JvO7d
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jv3ep
<{^_^}> [nixpkgs] @jonringer merged pull request #78923 → mkgmap: 4289 -> 4432 → https://git.io/JvO7j
<{^_^}> [nixpkgs] @jonringer pushed commit from @sikmir to master « mkgmap: 4289 -> 4432 »: https://git.io/Jv3ve
<{^_^}> [nixpkgs] @scubed2 opened pull request #78943 → fceux: 2.2.3 -> 2.2.3-20200129 → https://git.io/Jv3vv
<boomshroom> Does anyone have experience getting Vulkan working with the Raedon driver?
<{^_^}> [nixpkgs] @jonringer merged pull request #78912 → hivemind: Patch /bin/sh to runtimeShell → https://git.io/JvOQf
<{^_^}> [nixpkgs] @jonringer pushed commit from @adisbladis to master « hivemind: Patch /bin/sh to runtimeShell »: https://git.io/Jv3vI
<{^_^}> [nixpkgs] @jonringer merged pull request #78904 → you-get: 0.4.1355 -> 0.4.1388 → https://git.io/JvOSr
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « you-get: 0.4.1355 -> 0.4.1388 »: https://git.io/Jv3vY
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « yaru-theme: 19.10.4 -> 19.10.5 »: https://git.io/Jv3vO
<{^_^}> [nixpkgs] @jonringer merged pull request #78905 → yaru-theme: 19.10.4 -> 19.10.5 → https://git.io/JvOSN
<{^_^}> [nixpkgs] @jonringer merged pull request #78917 → skaffold: 1.0.1 -> 1.2.0 → https://git.io/JvOQN
<{^_^}> [nixpkgs] @jonringer pushed commit from @Trundle to master « skaffold: 1.0.1 -> 1.2.0 »: https://git.io/Jv3vZ
<{^_^}> [nixpkgs] @jonringer merged pull request #78894 → zim: 0.72.0 -> 0.72.1 → https://git.io/JvODV
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « zim: 0.72.0 -> 0.72.1 »: https://git.io/Jv3vR
<{^_^}> [nixpkgs] @jonringer merged pull request #78892 → zotero: 5.0.80 -> 5.0.82 → https://git.io/JvODG
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « zotero: 5.0.80 -> 5.0.82 »: https://git.io/Jv3vz
knupfer has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #78944 → tzupdate: 1.5.0 -> 2.0.0, use python3 → https://git.io/Jv3v6
doyougnu has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #78933 → limesuite: 19.04.0 -> 20.01.0 → https://git.io/JvOb5
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « limesuite: 19.04.0 -> 20.01.0 »: https://git.io/Jv3vX
<{^_^}> [nixpkgs] @jonringer merged pull request #78890 → wiggle: 1.1 -> 1.2 → https://git.io/JvOMY
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « wiggle: 1.1 -> 1.2 »: https://git.io/Jv3vM
Shoubit has quit [Read error: Connection reset by peer]
Shoubit has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78893 → yodl: 4.02.01 -> 4.02.02 → https://git.io/JvODu
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « yodl: 4.02.01 -> 4.02.02 »: https://git.io/Jv3v9
ddellaco1 has joined #nixos
<notgne2> boomshroom: no, but you can probably use the amdgpu driver for most GPUs
ddellacosta has quit [Ping timeout: 260 seconds]
<boomshroom> I tried amdgpu. I was greated by a blinking underline after it said starting xserver.
<boomshroom> It's a R9 270x, pretty old.
<{^_^}> [nixpkgs] @jonringer closed pull request #78889 → tzupdate: 1.5.0 -> 2.0.0 → https://git.io/JvOMJ
<{^_^}> [nixpkgs] @jonringer merged pull request #78944 → tzupdate: 1.5.0 -> 2.0.0, use python3 → https://git.io/Jv3v6
<notgne2> I have it working on an r7 260x
<{^_^}> [nixpkgs] @jonringer pushed to master « tzupdate: 1.5.0 -> 2.0.0, use python3 »: https://git.io/Jv3vd
<ar> i've had it working on r9 280x
<boomshroom> Last I checked which cards amdgpu supports, it wasn't listed.
<ar> iirc for some of the older ones you need a kernel option to enable support
<notgne2> `"radeon.si_support=0" "amdgpu.si_support=1" "radeon.cik_support=0" "amdgpu.cik_support=1" "amdgpu.dc=1"` adding these to `boot.kernelParams` can sometimes help
<notgne2> dont remember what dc does, but si and cik params are for enabling support on some older cards
<Izorkin> Mic92: Please recheck recheck and #67931 and #78819
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67931 (by Izorkin, 21 weeks ago, open): fail2ban: 0.10.5 -> 0.11.1
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78819 (by Izorkin, 22 hours ago, open): zsh: fix bracketed-paste-magic
<ar> notgne2: dc was for their gpu-agnostic-ish layer for handling displays
ddellaco1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #78887 → tryton: 5.4.1 -> 5.4.2 → https://git.io/JvO1H
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tryton: 5.4.1 -> 5.4.2 »: https://git.io/Jv3fU
chagra has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @Ma27 merged pull request #77989 → llvm: remove 3.5, 3.8 and 4 → https://git.io/Jvk4z
<{^_^}> [nixpkgs] @Ma27 pushed 19 commits to master: https://git.io/Jv3fZ
<{^_^}> [nixpkgs] @jbedo opened pull request #78945 → singularity-tools: fix buildImage → https://git.io/Jv3fn
cap_sensitive has joined #nixos
is_null has quit [Remote host closed the connection]
is_null has joined #nixos
Shoubit has quit [Read error: Connection reset by peer]
Shoubit has joined #nixos
simpson has quit [Ping timeout: 248 seconds]
Miyu-saki has quit [Ping timeout: 250 seconds]
mingc has quit [Ping timeout: 248 seconds]
simpson has joined #nixos
thonkpod has quit [Ping timeout: 250 seconds]
torque has quit [Ping timeout: 250 seconds]
Ultrasauce has quit [Ping timeout: 248 seconds]
Ultrasauce_ has joined #nixos
Miyu-saki has joined #nixos
mac10688 has quit [Ping timeout: 240 seconds]
mingc has joined #nixos
thonkpod has joined #nixos
torque has joined #nixos
Miyu-saki is now known as Guest6788
Shoubit has quit [Read error: Connection reset by peer]
Shoubit has joined #nixos
<makefu> for me the `real` super-power of nix is to be able to copy-paste build expressions and configuration from other users which will `just work` without any editing - https://github.com/Koenkk/zigbee2mqtt/issues/2071#issuecomment-580475938
jakobrs has joined #nixos
<jakobrs> Is it possible to `import` a .drv as a derivation?
<cap_sensitive> Hi. In nixos, How to rename net interface with udev rules? I've tried to use services.udev.extraRules, but no actual 99-local.rules was created
<cap_sensitive> I'm using NixOS 19.09
<jakobrs> Or, slightly different question, can I add store paths to systemPackages? Like nix-env -i ./result, but with systemPackages.
<srhb> jakobrs: Step back a bit, what you're trying to do _sounds_ undesirable -- why not use the nix expression that _produces_ that result?
<cap_sensitive> I'm using exactly that, but after a nixos-rebuild switch (and a reboot), the name of the interface is not chaning
<jakobrs> cap_sensitive: I could do that, but then I'll have to rebuild the package, and it's a little bit large
<jakobrs> sorry, srhb
<cap_sensitive> I double checked that my mac address is correct
<srhb> jakobrs: You wouldn't, not if the result is identical
<lassulus> cap_sensitive: does it change? I have some interfaces with unstable mac addresses
<srhb> jakobrs: (iow. if you have a link ./result that points to a store path, then rebuilding that exact store path will be a no-op)
<cap_sensitive> lassulus: No it doesn't
<lassulus> then I'm confused why it works for me
<lassulus> or does it? I better check :D
<lassulus> yep, still working
<jakobrs> srhb: The result isn't identical because the channels have advances.
<jakobrs> *advanced
<srhb> jakobrs: So you want to pin a version?
<srhb> ,pinning
<srhb> jakobrs: Any number of revisions of nixpkgs can coexist in your packages
<jakobrs> srhb: I could do that, but it'd be easier if I could just specify a result directly
<srhb> jakobrs: I would strongly recommend that you do regular pinning instead of trying to pin the output down.
<{^_^}> [nixpkgs] @mmahut merged pull request #78853 → dat: remove and link to nodePackages.dat → https://git.io/JvOwp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jv3fb
<{^_^}> [nixpkgs] @mmahut merged pull request #78756 → chrome-token-signing: 1.0.7 -> 1.1.0 → https://git.io/JvYSs
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/Jv3fN
<jakobrs> Yeah I get it, but it would be nice if I could just specify the output directly
<cap_sensitive> lassulus: I think the problem is that after I run the nixos-rebuild command, I did a find / -name '99-local.*'. I then inspected all returned files, and all of them are empty
<cap_sensitive> lassulus: Could you check if 99-local.rules is empty in your setup?
<lassulus> the exptected lines are in /etc/udev/rules.d/99-local.rules
<lassulus> /etc/udev/rules.d is a link to /etc/static/udev/rules.d
<srhb> jakobrs: In a superficial sense, sure, but it breaks purity in funny ways. Like, what are the dependencies of the path in question.
<srhb> jakobrs: (In some cases this might be OK when there are _no_ dependencies)
eoli3n_ has joined #nixos
<jakobrs> srhb: I'd expect systemPackages to include the output's dependencies like it would any other package
<cap_sensitive> lassulus: Ah thanks. I can see the expected udev rules inside that file. Still, for some mysterious reason, the net interface name doesn't change
<srhb> jakobrs: But that's not how Nix works. You have to specify every dependency. For a built package, the dependencies are just incidental because eg $somefile in your path is linked to $someotherstorepath
<srhb> jakobrs: Allowing it to pick up random stuff from your drive (which is what it would have to do, read all the links of the store path) is impure.
<srhb> It's fundamentally not doable while retaining purity
<jakobrs> srhb: What I'm describing is exactly what `nix-env -i` does when given an output
<jakobrs> as in, nix-env -i ./result
<srhb> jakobrs: No, that just creates a symlink
<srhb> (Well, and a new generation)
<srhb> jakobrs: What you're asking for is using a nix expression to do the same
<cap_sensitive> So it must be hardware-specific? (I was using Arch linux prior to switch to nixos, and I had similar udev rules, and I don't remember having this problem)
<lassulus> ¯\_(ツ)_/¯
<srhb> jakobrs: You can create that symlink just fine if you want though :)
<srhb> jakobrs: But you can't do it from systemPackages, at least, not easily and safely..
<jakobrs> srhb: What's the difference between creating a symlink and adding it to systemPackages though?
m0rphism has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<shyim> Is it known that nvidia driver oes not work with kernel 5.5? 🤔
<srhb> jakobrs: I'm finding it difficult to really sum up the exact difference... But: systemPackages will realise storepaths if it has to.
bvdw has joined #nixos
<srhb> jakobrs: Maybe once I've had more coffee :-p
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #78404 → pythonPackages.glances: fix darwin build → https://git.io/JvtyK
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jv3Jm
orivej has joined #nixos
dingenskirchen1 is now known as dingenskirchen
jbgi has joined #nixos
<cap_sensitive> lassulus: Maybe some systemd stuff override my "manual" config. Have you disabled the predictive interface name?
<lassulus> nope
<lassulus> it's the default for me
mounty has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
Jackneill has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
is_null has quit [Ping timeout: 272 seconds]
is_null has joined #nixos
mounty has quit [Ping timeout: 246 seconds]
jbgi has quit [Ping timeout: 260 seconds]
hyper_ch2 has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #78774 → gdal: 3.0.1 -> 3.0.3 → https://git.io/JvYA8
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jv3Jb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78946 → krohnkite: 0.5 -> 0.6 → https://git.io/Jv3JN
<{^_^}> [nixpkgs] @robertodr opened pull request #78947 → highfive: init at 2.1.1 → https://git.io/Jv3JA
<{^_^}> [nixpkgs] @robertodr closed pull request #78915 → highfive: init at 2.1.1 → https://git.io/JvOQP
gagbo has joined #nixos
Tucky has joined #nixos
meck has quit [Quit: ZNC 1.7.5 - https://znc.in]
meck has joined #nixos
mounty has joined #nixos
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
jbgi has joined #nixos
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
<jakobrs> Is it possible to use newer versions of plasma5 than those that are in nixpkgs?
<jakobrs> plasma 5.16 vs plasma 5.17
dingenskirchen1 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 is now known as dingenskirchen
FRidh has joined #nixos
plutes has quit [Ping timeout: 268 seconds]
plutes has joined #nixos
gxt has joined #nixos
plutes has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #67931 → fail2ban: 0.10.5 -> 0.11.1 → https://git.io/fjpVe
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/Jv3UK
<{^_^}> [nixpkgs] @mmahut opened pull request #78948 → vegeta: init at 12.7.0 → https://git.io/Jv3Ui
plutes has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
Chiliparrot has joined #nixos
smatting has joined #nixos
dansho has quit [Read error: Connection reset by peer]
dansho has joined #nixos
boomshroom has quit [Quit: WeeChat 2.7]
rauno has joined #nixos
mananamenos has joined #nixos
<mananamenos> hi, i have this with extraTmuxConf `set -g mouse on`, but the mouse does not work.
lukash|away is now known as lukash
<{^_^}> [nixpkgs] @kjuvi opened pull request #78949 → ephemeral: 6.1.1 -> 6.2.0 → https://git.io/Jv3Tu
bobble84 has joined #nixos
<jakobrs> Is it possible to create a qemu image (like the virtualbox appliance) that can then be run on a non-Nix system?
alex`` has joined #nixos
thc202 has joined #nixos
<jakobrs> thanks
chloekek has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #78942 → ocamlformat: 0.12 -> 0.13.0 → https://git.io/JvOjx
<{^_^}> [nixpkgs] @vbgl pushed commit from @anmonteiro to master « ocamlformat: 0.12 -> 0.13.0 (#78942) »: https://git.io/Jv3k3
tilcreator has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/34890e42af0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/34890e42af0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Chiliparrot has quit [Ping timeout: 260 seconds]
Chiliparrot has joined #nixos
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #74115 → vegeta: init at 12.7.0 → https://git.io/JePZ9
psyanticy has joined #nixos
mananamenos has quit [Remote host closed the connection]
werner291 has joined #nixos
tilcreator has joined #nixos
lailaaa_19 has joined #nixos
<lailaaa_19> hi
<lailaaa_19> im new here im 19 years old i do some special videos over internet for oney if you are interested this is what i look like https://bit.ly/3aXyCwn
jgeerds has joined #nixos
<b42> lailaaa_19: can you review my PRs?
lailaaa_19 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
rsoeldner has joined #nixos
v88m has quit [Remote host closed the connection]
v88m has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #78950 → kompose: 1.18.0 -> 1.20.0 → https://git.io/Jv3IQ
<mudri> What's the best way of installing an application from pypi that doesn't appear in nixpkgs? It looks like just installing pip and doing `pip install` doesn't work.
<mudri> In particular, I want to install mozregression. https://mozilla.github.io/mozregression/install.html
alexherbo2 has joined #nixos
karantan has joined #nixos
werner291 has quit [Quit: werner291]
<karantan> I'm trying to replace my ubuntu server with nixos. I really like the whole concept of having everything in configuration.nix file
<ddima> mudri: if you dont want to create a derivation for this, you can follow https://nixos.wiki/wiki/Python#Emulating_virtualenv_with_nix-shell to get a venv working
<karantan> but I don't know what approach should I take for my python programs (that have virtualenv )
<karantan> should I use nix-env for those or should I define required packages in configuration.nix
<karantan> ?
cap_sensitive has quit [Ping timeout: 272 seconds]
<ddima> karantan: If sth is already packaged, I'd go with those and handle the remaining ones separately or preferably write derivations for those (you can manage local derivations without having to get them merged quite easily).
<ddima> but worst case, you can still fall back to the venv/virtualenv-esque approach.
<mudri> This sounds doable. Thanks!
cosimone has joined #nixos
<karantan> I actually have one python package that I'm hosting (in private) packagecloud.io. So atm on ubuntu I do `apt-get install <my-package>`. Can I do something similar in NixOS?
cap_sensitive has joined #nixos
chromiumBishop has joined #nixos
<ddima> karantan: generally, you can write your own derivations and import them as needed in your config, either as nixpkg overlays or just as is and you can host them where-ever, be it github or a private webserver, or as a nix-channel. it's quite flexible.
<karantan> and then just use those derivations in configuraiton.nix so that I'll be able to use those package everywhere on my new nixos?
wolfshappen has quit [Ping timeout: 260 seconds]
<ddima> karantan: pretty much. to reduce beginners confusion of too many options, maybe just roughly look at how overlays work; https://nixos.org/nixpkgs/manual/#chap-overlays
<karantan> ok I will. thank you for your answers. I really appreciate it.
<ddima> karantan: np. you will probably get more concrete questions once you actually try to do it - in which case this channel is also a good place to ask when trying to debug the nix code.
<karantan> :thumbsup:
phdoerfler has joined #nixos
kleisli has quit [Ping timeout: 265 seconds]
vidbina has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
sigmundv has joined #nixos
andi- has quit [Ping timeout: 272 seconds]
peelz has joined #nixos
<mudri> ddima: When that section of the manual (using pip in a virtualenv) talks about a requirements.txt, what's that about? I was expecting to start up the nix-shell, and in it run `pip install mozregression`, in which case I wouldn't see a requirements.txt, as far as I understand.
<ddima> mudri: you dont have to use requirements.txt, but it's a convention and feature of pip to install packages based on this file as a descriptor. you dont have to.
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 260 seconds]
<peelz> does anybody know how I could apply git patches for zsh? I know you can apply patches to st with `pkgs.st.override { patches = ... }`. Is there anything similar for other packages? https://github.com/NixOS/nixpkgs/blob/nixos-19.09/pkgs/shells/zsh/default.nix
<mudri> ddima: Put another way, where the example default.nix has a comment saying “the following packages are related to the dependencies of your python project.”, what should I do? *I* don't have a Python project, I'm just installing an executable.
<mudri> Do I need to download the sources of `mozregression`?
<ddima> mudri: this means native dependencies that pip wont install for you.
<mudri> ddima: Aah, okay, and when it says `pip install -r requirements.txt`, it'll be fine to replace this with `pip install mozregression`?
<ddima> like openssl. just start out with empty buildInputs and see if anything is missing.
<ddima> mudri: yep.
<mudri> Cheers, I'll give it a go.
<ddima> err, well, not entirely empty - you still need python and the shellhook or virtualenv or whatever, but without all the rest ;)
<{^_^}> [nixpkgs] @aanderse merged pull request #78824 → rsyslog: 8.1911.0 -> 8.2001.0 → https://git.io/JvOBq
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jv3tn
andi- has joined #nixos
chagra has quit [Ping timeout: 260 seconds]
andersk has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #78952 → gitlab: 12.6.4 -> 12.7.4 → https://git.io/Jv3tw
<phdoerfler> I'm in a "nix repl '<nixpkgs>'" session and when I try to get "pkgs.jetbrains.idea-community" I only get a meek "error: attribute 'jdk' missing, at /nix/store/fibn09njw6q4s284h4mv96i4bg6wbvgq-nixos-19.09.1977.1dadefec574/nixos/pkgs/top-level/all-packages.nix:18477:11". How do I pass it the jdk to use?
<mudri> ddima: I've tried a couple of variations on this, all with the same result. Example: I used exactly the default.nix from the manual and created a requirements.txt containing the line “mozregression”. I then ran `nix-shell .`, giving the following output (no module named main): https://www.irccloud.com/pastebin/QhArKwpF/
orivej has joined #nixos
<mudri> It's at least created a bunch of stuff in ./venv.
<{^_^}> [nixpkgs] @marsam merged pull request #78727 → python3Packages.gunicorn: add setuptools → https://git.io/JvY09
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-19.09: https://git.io/Jv3tK
<ddima> mudri: which of the two? first or second one (venvShellHook or not)
mexisme_ has quit [Ping timeout: 265 seconds]
<mudri> Aah, I was going off the similar section in the manual hosted on nixos.org. I'll try the GitHub one...
<ddima> mudri: there are some differences between python 2.7 and 3. which one do you need?
<mudri> ddima: Both are supported, apparently.
<peelz> Does anybody know how to add git patches to a package? This is what I have so far: https://termbin.com/n7pz
<mudri> Aah, this seems to be working a bit better.
<ddima> mudri: and there seems to be a typo in one of those. pythonPackages needs to be python3Packages in the non venvShellHook version.
chagra has joined #nixos
cosimone has quit [Quit: Terminated!]
<mudri> ddima: It looks like the first one on GitHub is working. Thanks! 👌
rauno has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
fendor has joined #nixos
gentauro has joined #nixos
ng0 has joined #nixos
<jakobrs> How do you add an indirect root to a store path *after* the path has been build?
<__monty__> jakobrs: Sounds like you don't.
<thefloweringash> jakobrs: nix-store --realise --add-root bar --indirect /run/current-system
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a5a93e6873e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62bbc2abc1f (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<jakobrs> Thank you, I didn't realise you could use --realise with output paths.
<{^_^}> [nixpkgs] @d-goldin opened pull request #78953 → doc: python: fixing mistake in venv example → https://git.io/Jv3qG
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ddima> mudri: trying to fix some of the parts that seemed confusing to you. given that you've just tried this for the first time with fresh eyes - feel free to comment/add other parts that were confusing ^
Ultrasauce_ is now known as Ultrasauce
<mudri> ddima: Part of the problem is that there's no mention of it at the start of the Python section. It says something like “there's a difference between installing applications and installing libraries”, and then proceeds to explain libraries in great detail. It'd be good to have a forward reference to where applications are explained.
<{^_^}> [nixpkgs] @peti pushed 125 commits to haskell-updates: https://git.io/Jv3qu
<ddima> peelz: override only works for attributes passed to the package, not for changing attributes of the derivation itself. you probably mean https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs
<peelz> ddima: ohh thanks
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/Jv3q6
<ddima> mudri: Hm, I see what you mean. If you have a wording on your mind, feel free to drop as a comment in the PR. Though, imho virtualenv itself is somewhat orthogonal to the application vs library issue since its about nix packaged stuff and nix way vs more common free-style interactive enviroment (not nix way).
<{^_^}> [nixpkgs] @andir merged pull request #78476 → nixos/networkd: add vrfConfig option for netdevs, add simple test → https://git.io/Jvq0q
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/Jv3q1
<mudri> I'll give it some more thought.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jv3q9
hyper_ch2 has quit [Remote host closed the connection]
<ddima> mudri: doesn't help that in the properly rendered version there is no TOC for the section (generally, the manual layout is a bit confusing at times).
jakobrs has left #nixos [#nixos]
is_null has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed commit from @Infinisil to haskell-updates « haskell generic-builder: Fix package conf handling »: https://git.io/Jv3qx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78954 → simplenote: 1.12.0 -> 1.14.0 → https://git.io/Jv3qp
plp_ has quit [Read error: Connection reset by peer]
plp_ has joined #nixos
dansho has quit [Remote host closed the connection]
dansho_ has joined #nixos
<xa0[m]> is there a way to get a specific derivation to build without sandbox?
<xa0[m]> like, i don't wanna go the route of just having this single program outside the package management system
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<xa0[m]> but heck if i'm gonna be able to wrangle a nix expression to build it properly in the next month
<__monty__> xa0[m]: You should be able to pass `--option sandbox false` to nix-build.
nek0 has joined #nixos
<xa0[m]> not through a declarative config though?
<xa0[m]> oh or you mean just build it with that option and then add it to my environment with nix-env?
<__monty__> A declaratively you can `(import <nixpkgs> { config.sandbox = false; }).yourpackage`, I think. Don't know if there's a better way.
<__monty__> *ah
<xa0[m]> oh really?
<xa0[m]> awesome
<xa0[m]> thanks!
<__monty__> np
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jv3mS
<chagra> messing around with nix-on-droid, can't seem to find a way to get an easy list of available options
<chagra> is there a way to list all options with their description and definition location
<chagra> from a directory
<tilpner> chagra: What options do you mean?
<chagra> kind of like what nixos-option does
<chagra> odules
<chagra> modules
<tilpner> Oh, for home-manager?
<chagra> no
<chagra> nix-on-droid has options
<chagra> just like home-manager and nixos
<chagra> defined here
<{^_^}> [nixpkgs] @ijaketak opened pull request #78955 → haskellPackages.dhall-json_1_6_1: prettyprinter_1_6_0 → https://git.io/Jv3m7
<chagra> I guess they are not that many, I could go check them out file by file
<tilpner> Oh, that must be new
<chagra> but asking in case in the future I use some overlay that adds options and want to query them
<chagra> it'd be a useful tool
<tilpner> If there is no documentation for it, you can probably use Nix to list them
<chagra> yeah that's what I'm asking
<chagra> how can I tell nix to list them
<tilpner> On NixOS it's: nix repl '<nixpkgs/nixos>'
<tilpner> Then interactively explore the "options" value
<tilpner> You can probably write an expression that gathers all of them in a list too
<chagra> oh I see
<chagra> many thanks!
<chagra> I might just do that
<chagra> sounds very useful
<chloekek> Why does nix run --store bind mount everything in / and then do a chroot, instead of just bind mounting /nix/store?
<chloekek> Nevermind, it’s explained in a comment.
<chagra> follow up question, on the Nix-on-droid github page, the author refers to a talk they did in NixCon 2019. I can't seem to find footage of that. Were there some talks that were not recorded?
<ddima> chagra: maybe that one; https://www.youtube.com/watch?v=229PpjZZouw ?
<chagra> no the nixos-mobile is a whole other project
<chagra> great one too, plan to mess around with that in the future too
<ddima> Hm. It's possible not all were recorded. I dont think I've seen the android in brno, myself, so not overly informed ;)
<chagra> it's fine, they linked the presentation but maybe they answered some questions there I'd miss
<chagra> I guess I now have good motivation to start visting nixcons
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/Jv3YI
<chagra> :)
<{^_^}> [nixpkgs] @vbgl merged pull request #78597 → coqPackages_8_11.coq: 8.11+β1 → 8.11.0 → https://git.io/JvmlT
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/Jv3YL
<ddima> chagra: seems like it was a lightning talk; https://youtu.be/vwBxGVF3VS0?t=1491
<chagra> oh thanks a lot!
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
Chiliparrot has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #78848 → tome4: 1.6.5 -> 1.6.6 → https://git.io/JvOag
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jv3YV
wavirc22 has joined #nixos
<peelz> ddima: I can't seem to replace my zsh with a github fork: https://termbin.com/5fym log: https://termbin.com/6awn
<peelz> is this an error with the makefile or am I doing something wrong?
<mudri> ddima: Is there a way to run applications installed like this outside the nix-shell and venv? I think they're doing funny stuff to my environment that makes the application not run properly.
<{^_^}> [nixpkgs] @marsam merged pull request #78638 → skopeo: 0.1.39 -> 0.1.40 → https://git.io/JvmSR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv3YQ
leotaku_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #78950 → kompose: 1.18.0 -> 1.20.0 → https://git.io/Jv3IQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv3Yd
<mudri> Maybe I should package it.
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @marsam merged pull request #78909 → axel: 2.17.6 -> 2.17.7 → https://git.io/JvOHT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv3Yx
karantan has joined #nixos
xkapastel has joined #nixos
tabasko has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #78956 → coqPackages.bignums: enable for Coq 8.11 → https://git.io/Jv3OJ
<ddima> peelz: Ive not built zsh myself yet, so dont really know how they prep releases and so on, but looks like the "raw" source does not contain a configure script and whatever else.
<peelz> hmm alright
<peelz> how would I execute additional commands to generate the build scripts?
<ddima> mudri: yeah, that would be already kinda a strong argument for packaging it. usually applications are wrapped in a way that assembles all the required environment which you could kinda cobble together with nix-shell, but that would be probably more effort than packaging ;)
<ddima> peelz: you could add sth to one of the phases; https://nixos.org/nixpkgs/manual/#ssec-controlling-phases - but it is probably easier if you either figure out how to prepare a prepare a release for your own fork or fix your patches to run on the source they ship.
drakonis_ has joined #nixos
<peelz> ddima: ah gotcha. Thanks, will look into it
<{^_^}> [nixpkgs] @marsam merged pull request #78884 → tintin: 2.01.92 -> 2.02.01 → https://git.io/JvOXn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv3Oq
cap_sens1 has joined #nixos
leotaku has joined #nixos
cap_sensitive has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
dansho_ has quit [Read error: Connection reset by peer]
dansho has joined #nixos
neeasade has joined #nixos
Naptra has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @layus opened pull request #78957 → nixos/jupyter: Fix `jupyter.kernels` doc example → https://git.io/Jv3O0
Soo_Slow has quit [Quit: Soo_Slow]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @layus closed pull request #78957 → nixos/jupyter: Fix `jupyter.kernels` doc example → https://git.io/Jv3O0
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78504 → ethash: 0.4.2 -> 0.4.4 → https://git.io/JvqXK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv3Or
mexisme_ has joined #nixos
kiloreux_ has quit [Remote host closed the connection]
dm9 has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Fix test »: https://git.io/Jv3OX
mexisme_ has quit [Ping timeout: 248 seconds]
hyper_ch2 has joined #nixos
cap_sens1 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @ryantm merged pull request #76587 → squeezelite: Fix codec libraries loading by using a wrapper → https://git.io/JeNtL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv3OM
dansho has quit [Read error: Connection reset by peer]
dansho has joined #nixos
dansho has quit [Read error: Connection reset by peer]
dansho has joined #nixos
waleee-cl has joined #nixos
leotaku has quit [Ping timeout: 265 seconds]
smatting has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78958 → xca: 2.1.2 -> 2.2.1 → https://git.io/Jv33T
<{^_^}> [nixpkgs] @marsam merged pull request #78795 → silicon: init at 0.3.0 → https://git.io/JvO38
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv33t
<peelz> ddima: I updated the patches to compile for zsh 5.7.1 -- seems to work. Thanks for the tip!
iyzsong has quit [Ping timeout: 246 seconds]
<ddima> nice.
orivej has quit [Ping timeout: 268 seconds]
dansho has quit [Read error: Connection reset by peer]
dansho has joined #nixos
<peelz> ddima: I'm thinking of baking in the zsh version into my config. Is it possible to make it issue a warning if the replaced version is more recent?
<ddima> peelz: should be doable, have a look at the `lib.trace*` functions which you could wrap your expression in.
<peelz> oh great
<peelz> lib.debug.trace or lib.trace?
jakobrs has joined #nixos
<ddima> peelz: heh, didn't know about lib.debug - but I assume most of the trace* functions are just re-exports either here or there.
<peelz> oh nvm they're the same
<peelz> Yeah exactly
ddellaco1 has joined #nixos
<jakobrs> Is it possible to use Plasma 5.17 with NixOS 19.09?
<peelz> ddima: what about version comparison?
chromiumBishop has quit [Ping timeout: 265 seconds]
<ddima> peelz: there are some functions that can help with semantic version comparisons, like lib.versionAtLeast or versionOlder. But you can also write your own function.
<peelz> oh thanks -- didn't see those
<{^_^}> [nixpkgs] @FRidh merged pull request #56415 → nixos/jupyter: Fix documentation example for `jupyter.kernels` → https://git.io/fhNYI
drakonis_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh pushed commit from @BenSchZA to master « nixos/jupyter: Fix documentation example for `jupyter.kernels` (#56415) »: https://git.io/Jv33o
dansho has quit [Read error: Connection reset by peer]
dansho_ has joined #nixos
gustavderdrache has joined #nixos
andi- has quit [Ping timeout: 272 seconds]
kiloreux has joined #nixos
<kiloreux> How can I list all fonts on nixkgs?
<kiloreux> I mean fonts available to be installed
<kiloreux> Is there like a type when querying nixpkgs?
kiloreux has quit [Remote host closed the connection]
anohigisavay has joined #nixos
<anohigisavay> hi! i'm new to nix and nixos.
<anohigisavay> cache.nixos.org is super slow
<anohigisavay> i can hardly download anything
<clever> ,cache anohigisavay
kiloreux has joined #nixos
<kiloreux> -q doesn't help in nix-env
<clever> kiloreux: i just tab-complete that kind of thing under: nix repl '<nixpkgs>'
<kiloreux> clever, Thank you. That means you need to know the font name to begin with at least. Otherwise it lists everything.
<anohigisavay> it's slow because i'm in China. nothing much i can do about it
<anohigisavay> can i temporarily disable the cache and build packages locally?
<kiloreux> clever, I am more interested in listing all fonts available on nix.
<clever> kiloreux: nix-locate is about all you can use then, to search for any package that contains font files
endocrimes has quit [Quit: No Ping reply in 180 seconds.]
<fyuuri> Does anybody know how to make fish functions defined in ~/.config/fish/functions work in fish? The config file ~/.config/fish/config.fish is loaded properly
<kiloreux> clever, got any idea how to use it? I can only find nix-index when googling
kiloreux has quit [Remote host closed the connection]
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
endocrimes has joined #nixos
kiloreux has joined #nixos
kiloreux has quit [Client Quit]
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #78959 → drone-cli: 1.2.0 -> 1.2.1 → https://git.io/Jv3sL
<genesis> what is that format = "other" i found in many derivation now ?
anohigisavay has quit [Quit: Konversation terminated!]
smatting has joined #nixos
<Shoubit> anohigisavay, yeah you can change your `substituters` to an empty list and that should do the trick. It's configured in configuration.nix under `nix.binaryCaches`, https://nixos.org/nixos/options.html#nix.
andi- has joined #nixos
<Shoubit> See also /etc/nix/nix.conf
thongpv8773 has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #71412 → luksroot: yubikey fixes → https://git.io/JeBPA
anon_ has joined #nixos
anon_ has quit [Client Quit]
<ddima> genesis: If you mean for python packages, then it configured which python packaging format to use, if none of the usual suspects apply, that's when you use other and define your own build and install phases.
stepcut has joined #nixos
<genesis> oki i should use that perharps, but it seems to work without
<genesis> but i use dontBuild = true;
<{^_^}> [nixpkgs] @aanderse opened pull request #78960 → nixos/ldap: remove redundant configuration options → https://git.io/Jv3sa
thongpv8773 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #78804 → cargo-geiger: 0.9.0 -> 0.9.1 → https://git.io/JvOnC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv3sw
<genesis> ddima : thx
dansho_ has quit [Quit: Leaving]
danielstaleiny has joined #nixos
danielstaleiny has quit [Client Quit]
acarrico has quit [Ping timeout: 265 seconds]
<gustavderdrache> are there handy instructions for adding nix-bash-completions to a non-nixos bash?
bobble84 has quit [Ping timeout: 260 seconds]
<gustavderdrache> i installed it with nix-env -iA, but i don't know what line(s) i need to add to my bashrc
acarrico has joined #nixos
<clever> gustavderdrache: do you see things in ~/.nix-profile/etc/ ?
<clever> that are bash related
<gustavderdrache> i've got a profile.d directory
<gustavderdrache> checking what's in it now
<gustavderdrache> there's a nix.sh that does some startup logic, but i don't see much reference to bash
<gustavderdrache> i do have ~/.nix-profile/share/bash-completion, though
<clever> that might be it
MinceR has joined #nixos
<gustavderdrache> it's a directory, though, and i'm only familiar with sourcing single files to feed into completion
ixxie has joined #nixos
<evanjs> re https://github.com/NixOS/nixpkgs/pull/78420#issuecomment-580581757 - trying to do this right now, but while unpacking data.tar.xz results in usr/share/{applications,doc,gitkraken}, etc, unpacking the tarball only gives me what data.tar.xz would have under usr/share/gitkraken
<evanjs> My question is, what's the most idiomatic way to say "okay, unpack this, and put it in the new directory $out/usr/share/gitkraken"? just making said directory and unpacking via tar in the unpackPhase?
<clever> evanjs: pkgs.fetchzip with a postUnpack i'm thinking
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
<gustavderdrache> aha!
<gustavderdrache> i needed to install nixpkgs.bashCompletion and now i have a bash_completion.sh
<evanjs> clever: ahh didn't realize fetchzip works with, well, more than zip... :P
<clever> evanjs: the name is misleading, it fetches anything, then runs the unpackPhase to $out, and adds zip support to the unpackPhase
<evanjs> so like fetchanything,even zip :P
jakobrs has quit [Remote host closed the connection]
<clever> evanjs: the reason its called fetchzip, is that a lot of websites auto-generating a zip for dl, include timestamps in the zip metadata
<clever> evanjs: which breaks nix's hashing
<clever> evanjs: so nix has to unpack, and hash the contents, rather then the zip itself
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<gustavderdrache> ... and it's still not reading my profile's completions
<gustavderdrache> oh well
ng0 has quit [Ping timeout: 272 seconds]
<clever> gustavderdrache: i tend to find the completions a bigger hinderance, it stops me from completing perfectly valid commands, because i know the command better then the author of the completion code
<gustavderdrache> i got seduced into completions by kubectl since it has some really tediously long invocations
<gustavderdrache> and now i'm just like "nix re<TAB>" and get upset that it completes "result" instead of "repl"
<clever> heh
<gustavderdrache> [insert joke about my being a lazy ubuntu user here]
<clever> gustavderdrache: my problem, is that i try to complete `nix-env --profile /nix/var/nix/profiles/system` and it wont let me, because the author doesnt know all of the edge-cases
<clever> so i'm constantly having to throw an `echo ` at the start of a cmd, just to be able to complete filenames
<gustavderdrache> bleah
<{^_^}> [nixpkgs] @peti pushed to master « maude: update from version 2.7.1 to 3.0 (including full-maude) »: https://git.io/Jv3GV
stites has joined #nixos
<{^_^}> [nixpkgs] @Atemu closed pull request #78908 → dnscrypt-proxy2: 2.0.36 -> 2.0.38 → https://git.io/JvO9t
opthomasprime has joined #nixos
ng0_ is now known as ng0
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alex`` has quit [Quit: WeeChat 2.7]
knupfer has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos
andi- has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #78946 → krohnkite: 0.5 -> 0.6 → https://git.io/Jv3JN
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv3ZI
andi- has joined #nixos
drakonis_ has joined #nixos
virus_dave has joined #nixos
<genesis> i try to write a derivation for a python program using pyqt
<genesis> my question is about the right wrapping since if i use wrapPythonProgramsIn "$out/" "$pythonPath"
vidbina has joined #nixos
<__monty__> I don't think I could live without ssh path completions for rsync : )
drakonis has quit [Ping timeout: 268 seconds]
<genesis> i get the https://nixos.wiki/wiki/Qt#qt.qpa.plugin:_Could_not_find_the_Qt_platform_plugin_.22xcb.22_in_.22.22
gxt has quit [Ping timeout: 240 seconds]
<genesis> but if i use the wrapQtAppsHook i don't get pyqt.
neeasade has quit [Ping timeout: 272 seconds]
ng0 has quit [Quit: leaving]
hyper_ch2 has quit [Remote host closed the connection]
<dminuoso> Gah, I have liblapack in my buildInputs, when I compile hmatrix I get `<command line>: can't load .so/.DLL for: liblapack.so (liblapack.so: cannot open shared object file: No such file or directory)`
<dminuoso> That is, when I build my cabal v2-* project
<virus_dave> hey folks, qq. Checked docs, but didn't quickly find an answer. I have a deterministic derivation, and have `nix-build` it fine, so i have my `./result` symlink.
lsix has joined #nixos
<virus_dave> I want to make a Fixed Output Derivation for this, so how can i easily tell nix "give me the recursive hash ouf the output" so i can add it to the deritivation?
Tucky has quit [Quit: WeeChat 2.7]
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @ajs124 opened pull request #78962 → phpPackages.maxminddb: 1.5.0 -> 1.6.0 → https://git.io/Jv3nO
<ddima> genesis: wrappers are unfortunately a bit of a pain point because they dont really compose, so you will have to hack around it a little. one simple way is buildPythonApplication and appending qt-wrapper args to makeWrapperArgs. here is an example that could help; https://github.com/NixOS/nixpkgs/blob/be13df6c76cb2480640d1622f691d6298852a43a/pkgs/games/anki/default.nix#L169
iqubic` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<virus_dave> For posterity, it looks like "nix-hash --type sha256 result/ --base32" did what i wanted.
<LinuxHackerman> virus_dave: the most common approach is to set an incorrect hash and then copy the observed one from the error message.
<virus_dave> hm. i guess that would have worked also. :D
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
<qyliss> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<LinuxHackerman> (as far as I've observed, at least)
<LinuxHackerman> your approach doesn't work when the sandbox is in use, if I've understood it correctly
<gchristensen> oh noes a hacker
Drakonis__ has joined #nixos
Chiliparrot has joined #nixos
drew__b has joined #nixos
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 268 seconds]
opthomasprime has quit [Ping timeout: 265 seconds]
Fare has joined #nixos
opthomasprime has joined #nixos
<gchristensen> gustavderdrache++
<{^_^}> gustavderdrache's karma got increased to 4
lukash is now known as lukash|away
Naptra has quit [Quit: Leaving]
particle has joined #nixos
Drakonis__ is now known as drakonis
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nohTo has joined #nixos
Izorkin has quit [Ping timeout: 246 seconds]
Shoubit has quit [Quit: Leaving]
erasmas has joined #nixos
<jared-w> gchristensen: is your website suffering from a broken redirect or is it just my browser being weird?
<nohTo> Hey wonderful nixos people! Since Haskell support under Arch leaves much to desire, I'm thinking about using nix for haskell-* stuff. I would like to ask for your opinions on what the best way of doing that is.
<LinuxHackerman> I'd switch to this name completely, but A) I don't have the domain name linuxhacker.man because MAN Group doesn't sell subdomains of .man and B) muh karma as sphalerite!
<jared-w> (the homepage only goes to your docker container article for me)
Izorkin has joined #nixos
<gchristensen> jared-w: that is what it does on purpose :P
<nohTo> Should I use pacman to upgrade nix, or should I use nix itself for that?
<gchristensen> jared-w: I didn't want to make a "home page"
<nohTo> What about things like xmonad, better to install through nix or through pacman then? :/
<evanjs> Hrm. Any ideas on how I might compile a program statically with uclibc?
<evanjs> Tried `nix build '(with import <nixpkgs> {}; busybox.override { stdenv = makeStaticLibraries (pkgs.overrideCC pkgs.stdenv pkgs.uclibc); })'`
<jared-w> gchristensen: ahh, somehow when I was reading it on my phone I missed that the posts archive is below the post
<evanjs> But I get `error: attribute 'targetPrefix' missing, at /nix/store/yi2fbywlqb511l6sb2ca93l3hpi851zi-nixos-20.03pre210639.e59dcf8ccec/nixos/pkgs/os-specific/linux/busybox/default.nix:84:37`
<qyliss> nohTo: the answer you're probably going to get in here is to use Nix for everything you can, since lots of us are managing our entire operating systems with Nix
<gchristensen> jared-w: ah, yeah :) what do you think of that? is it too confusing?
evelyn has joined #nixos
<evelyn> hellooo
<jared-w> eh, it's not great because it's a url redirect so unless you have it set as a 302 the browser will think your homepage *is* your latest article which'll subsequently break things should you write a new one. It also causes a flicker on reload that makes me think there is a homepage
chloekek has quit [Quit: WeeChat 2.6]
<qyliss> nohTo: I would recommend just trying it out and experimenting for yourself to figure out what's right for you
* qyliss waves at evelyn
<evelyn> is there any info about packaging a program that can use bubblewrap?
<gchristensen> hmm good point, jared-w
<jared-w> Honestly, just the 'posts' and 'about' sections alone make a perfectly sufficient homepage without any other details
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78963 → ansifilter: 2.15 -> 2.16 → https://git.io/Jv3cs
<evelyn> I see the program is packaged, but it's notclear to me what I need to put in the expression. For instance, bubblewrap has a set of 'allowed' directories. Is therea wrapper for it or am I on my own?
jonten has joined #nixos
<gchristensen> jared-w: I'll put it on my to-do to take a look and make that better, thank you :)
fresheyeball has quit [Quit: WeeChat 2.6]
<gchristensen> jared-w: I'm not much of a web "person". I'm pretty sure I stole 95% of the design from an old Safari "reader view" rendering of my old template. =)
<jared-w> I mean, no rush, I just noticed it and wanted to make sure it was intended behavior :)
<nohTo> qyliss: Fair enough, yes. I guess I should just start playing with it and come back when I run into any trouble. :) Thank you.
<jared-w> (I was also very much of a web person in my past life, so there's that)
Izorkin has quit [Ping timeout: 265 seconds]
<jtojnar> evelyn: look at gnome-desktop or flatpak
<jtojnar> They use bubblewrap
<evelyn> jtojnar: oh cool, I think I see now
<evelyn> thanks!
stites has quit [Remote host closed the connection]
WinchellsM has joined #nixos
gustavderdrache has quit [Read error: Connection reset by peer]
<WinchellsM> What does the `inherit (nixpkgs) pkgs;` mean in the context of a `let` statement?
gustavderdrache has joined #nixos
<WinchellsM> Does it just translate to `nixpkgs = nixpkgs; pkgs = pkgs;` ?
gustavderdrache has quit [Read error: Connection reset by peer]
gustavderdrache has joined #nixos
phdoerfler has quit [Remote host closed the connection]
<thefloweringash> let pkgs = nixpkgs.pkgs;
gagbo has quit [Quit: I'm out !]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stites has joined #nixos
<evelyn> hmm, is there something like $storePath to get the final store path, so I can whitelist it?
<Taneb> $out?
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 248 seconds]
jonten has quit [Ping timeout: 265 seconds]
drakonis has quit [Read error: Connection reset by peer]
stepcut_ has quit [Remote host closed the connection]
<evelyn> d'oh :) much appreciated, thanks!
drakonis has joined #nixos
iqubic has joined #nixos
<Taneb> No worries!
stepcut has joined #nixos
Izorkin has joined #nixos
leotaku has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
stepcut_ has joined #nixos
nohTo has quit [Quit: Leaving]
stepcut has quit [Read error: Connection reset by peer]
<jluttine> wondering again how to make python development environment so that 1) my packages is installed in development mode and 2) i can get some executables on PATH. these attempts didn't work: https://gist.github.com/jluttine/11e582f5f9d626254f17e726f7ccdd1f#file-shell-v2-nix
<jluttine> any ideas?
<{^_^}> [nixpkgs] @mmahut merged pull request #78948 → vegeta: init at 12.7.0 → https://git.io/Jv3Ui
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jv3C0
growpotkin has joined #nixos
<drew__b> hey I'm seeing an error from an open issue dating to 2017
<{^_^}> #31263 (by yegortimoshenko, 2 years ago, open): glibc: add NIX_LD_LIBRARY_PATH
<drew__b> was wondering if anyone has info on this
<drew__b> and if it is isolated to certain distros or something
<jluttine> problems: propagatedBuildInputs nor depsBuildBuild didn't add executables to PATH
<evanjs> I think my question comes down to: how do I override only _libc_ for the stdenv?
<evanjs> or rather, does the current busybox expression even support using uclibc without extra work? https://github.com/NixOS/nixpkgs/blob/7b599dc25ec455ec4bab26ec2c5e099868201d73/pkgs/os-specific/linux/busybox/default.nix
piegames has joined #nixos
<evanjs> I overrode stdenv.targetPlatform to "" and it seems to be building now. guess we'll see
<evanjs> my resulting stdenv is `overrideCC pkgs.stdenvNoCC (pkgs.uclibc.overrideAttrs(old: {targetPrefix = ""; } ));`
smatting has quit [Ping timeout: 246 seconds]
alex` has joined #nixos
alex` is now known as Guest88106
juliancoffee has joined #nixos
<evanjs> yeah that won't cut it. binutils then fails to compile :P
mehlon has joined #nixos
alexherbo2 has joined #nixos
doyougnu has joined #nixos
stites has quit [Ping timeout: 272 seconds]
mexisme_ has joined #nixos
<evanjs> derp... stdenv needs a _cc_ which has an overridden libc... I am tired lol
mehlon has quit [Quit: Leaving]
Guest88106 is now known as alex``
mexisme_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #78964 → canta-theme: init at 2020-01-31 → https://git.io/Jv3WG
opthomasprime has quit [Remote host closed the connection]
wildtrees has joined #nixos
<jluttine> hmm.. it seems my problem is caused by direnv.. if i just run nix-shell, the environment is ok, but with direnv there are some problems. well, i'll just use nix-shell then
wildtrees has quit [Remote host closed the connection]
<jared-w> gchristensen: Would a PR be accepted to change the "getting nix" instructions to include the https://nixos.org/nix/manual/#sect-multi-user-installation daemon command as well? I always go to the basic install instructions, forget what the daemon command is, and then have to look it up in the manual.
wildtrees has joined #nixos
<gchristensen> jared-w: can you point to exactly where you're thinking you'd change? (probably yes, just looking for more context)
<jared-w> https://nixos.org/nix/download.html basically right after the "as any user other than root" verbiage, just adding something along the lines of "for a multi user linux or macOS installation..."
vidbina has quit [Ping timeout: 272 seconds]
<jared-w> In fact, if (according to the manual) opting into the multi-user installation is "highly recommended", honestly that should be the first and most prominent method with the single-user as the alternative below
Jackneill has quit [Read error: Connection reset by peer]
chagra has quit [Ping timeout: 268 seconds]
dsx has quit [Ping timeout: 245 seconds]
dsx has joined #nixos
ThatGuy has joined #nixos
<ThatGuy> Hello all, can anyone tell me how to set the sourceRoot properly for github repos with build files not at root?
cosimone has joined #nixos
<ThatGuy> sourceRoot = "..."; in mkDerivation, keeps aying dir is not found
xkapastel has quit [Quit: Connection closed for inactivity]
connor_k has joined #nixos
chagra has joined #nixos
<ThatGuy> ah seems to be sourceRoot="source/..."
Naptra has joined #nixos
<ThatGuy> i guess another qesution would be how to i get nix to invoke any make files with 'make -j'?
<ThatGuy> basically enable multi-core on builds
<gustavderdrache> add enableParallelBuilding = true; to the derivation
<arcnmx> enableParallelBuilding=true
<qyliss> Is that not on by default?
<gustavderdrache> not in my experience
<ThatGuy> dosn't seem to be
<qyliss> whoops
<ThatGuy> was limited to one core, thx btw
<arcnmx> it'd be nice if it were :(
<qyliss> I just removed that from a package because I assumed it was default
particle has left #nixos [#nixos]
<ThatGuy> yup that fixed it :)
<jtojnar> ThatGuy: I use `sourceRoot = "${src.name}/...";
<ThatGuy> k thx jtojnar
<qyliss> Ah, it's sometimes set to true automatically, depending on the build system
<jtojnar> qyliss: only for Meson and CMake packages
<qyliss> And qmake according to the docs
<qyliss> The package I removed it from was a CMake package so all's good
kaliumxyz has joined #nixos
dm9 has quit [Quit: WeeChat 2.7]
drew__b has quit [Ping timeout: 268 seconds]
chagra has quit [Quit: WeeChat 2.6]
iaws has joined #nixos
iaws has quit [Quit: Quit]
iaws has joined #nixos
iaws has quit [Client Quit]
Fare has quit [Ping timeout: 268 seconds]
steve-chavez has joined #nixos
Drakonis__ has joined #nixos
<steve-chavez> Hello. How to use $PWD inside a .nix file?
chagra has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<simpson> ./.
<simpson> As in { dir = ./.; }
<steve-chavez> Hmm.. but that gives the nix store path. I was intending to have an env var that gives the local directory.
<steve-chavez> Like: BUILD_DIR = "$PWD/build";
lovesegfault has joined #nixos
<gchristensen> steve-chavez: what for? sounds a it spooky
<lovesegfault> all green!!
<lovesegfault> gchristensen: Awesome! <3
<{^_^}> [nixpkgs] @tricktron opened pull request #78965 → r-modules/generic-builder: Add missing iconv library to fix build on darwin → https://git.io/Jv3lr
<steve-chavez> gchristensen: I'm trying to build postgres and have a PG_DATA_DIR in my home directory.
<gchristensen> interesting, passing that at run-time or via a config file (or a script wrapper) isn't sufficient?
<samueldr> steve-chavez: maybe this could help you? https://github.com/samueldr/hydra-in-a-bag/blob/master/shell.nix
<samueldr> I'm using this to, among other, launch a "local" postgresql instance
chagra has quit [Ping timeout: 268 seconds]
<samueldr> hmm, though I now review the file, all the magic is done in the bash file, not in nix
<samueldr> (dev-database script)
<gchristensen> nice, samueldr
<samueldr> gchristensen: since it's not obvious from the name, this is like the "in a box" concept, but less secure and less isolated, about as good as a wet paper bag
<gchristensen> oh, cute :)
chagra has joined #nixos
<samueldr> still immensely powerful to be able to quickly spin up an hydra instance
<samueldr> *for development
bitmapper has joined #nixos
<gchristensen> *puts it in prod* sorry, what?
<steve-chavez> samueldr: That helps me. Thank you.
<{^_^}> [nixpkgs] @primeos merged pull request #78603 → [19.09] chromium: 79.0.3945.88 -> 79.0.3945.130 (backport) → https://git.io/JvmzO
<{^_^}> [nixpkgs] @primeos pushed 4 commits to release-19.09: https://git.io/Jv3lQ
Drakonis__ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<lovesegfault> primeos: Are you going to merge the PRIME render offload PR now that it's been approved?
doyougnu has quit [Ping timeout: 268 seconds]
<primeos> lovesegfault: Did you intend to ping someone else? I wasn't active in that PR (and don't have Nvidia GPUs)
<lovesegfault> primeos: Probably then :P
<lovesegfault> my bad :)
<primeos> No problem
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78966 → check: 0.13.0 -> 0.14.0 → https://git.io/Jv3lh
makefu has quit [Quit: WeeChat 2.6]
<lovesegfault> colemickens: I think the overlay is borked again?
<dashkal> Just how unstable is nixos-unstable? We talking my machine will break randomly or more arch level pay attention and fix things as they come up level?
<lovesegfault> dashkal: I use nixos-unstable on all my machines and have never experienced any serious breakage
stepcut_ has quit []
<dashkal> Ok, that's what I was hoping for. I tend to like running newer versions when possible.
<dashkal> I ran arch for years, so I'm no stranger to fixing the odd break.
<lovesegfault> For reference I manage 8 machines running NixOS on x86_64 and AArch64
<qyliss> nixos-unstable has some tests run before it updates
<qyliss> so it shouldn't ever, e.g. make your computer unbootable
<dashkal> Hydra is definitely on my longer term list of things to learn.
<dashkal> Next up will be mostly how to do all the things I usually do to 'settle' in to a new distro.
<dashkal> The internet is suggesting Home Manager is a good way to go if I want to run xmonad. That still good advice?
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #78967 → dockerTools: Add `buildNixShellImage` → https://git.io/Jv38n
Izorkin has quit [Ping timeout: 260 seconds]
makefu has joined #nixos
Izorkin has joined #nixos
<qyliss> Home Manager is very good
chagra has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
<CRTified> dashkal: yes, it is actively maintained and works fine for me (also using xmonad)
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
<dashkal> Sweet. Danke. *begins reading the home manager manual*
patrl has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #78902 → nixos/duosec: fix configuration issue with "groups" option → https://git.io/JvOS3
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jv38o
Naptra has quit [Quit: Leaving]
* gchristensen should try home manager out sometime
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/355b31c98ef (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gchristensen> jared-w: sorry, I missed your reply. there is a bit of a cost to the daemon installer. I think adding to that homepage is a good idea, and a PR doing that has good chances of merging.
<gchristensen> jared-w: I wouldn't recommend, though, putting it first, since there is some cost and the experience is not always as good as the single-user install
<colemickens> lovesegfault: yeah, I'm referencing a patch without a commit ref and I updated the PR
<dashkal> So many manuals to read. But then again, I *really* appreciate the commitment to documentation I find in this space.
<colemickens> can you file an issue
<{^_^}> [nixpkgs] @peti merged pull request #78955 → haskellPackages.dhall-json_1_6_1: prettyprinter_1_6_0 → https://git.io/Jv3m7
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Jv381
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/Jv38D
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78713 → linuxPackages: 4.19 -> 5.4 → https://git.io/JvY30
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv389
Henson has joined #nixos
<Henson> Hi everyone, I'm trying to make a systemd-nspawn machine in NixOS. I've defined it in the systemd.nspawn.<name> section in my nixos configuration.nix file. I'm trying to give the machine low-level access to the USB devices, and the solution described here https://unix.stackexchange.com/questions/304252/access-usb-device-from-systemd-nspawn-container is where I'm at. Is there some way to get
<Henson> NixOS to generate this override.conf file?
bitmapper has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78949 → ephemeral: 6.1.1 -> 6.2.0 → https://git.io/Jv3Tu
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv34n
tilpner has quit [Quit: tilpner]
<lovesegfault> colemickens: Yep, one second
<{^_^}> [nixpkgs] @ju1m opened pull request #78968 → nsd : use types.lines where appropriate → https://git.io/Jv340
mallox has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
tilpner has joined #nixos
Fare has joined #nixos
aswanson has quit [Quit: WeeChat 2.6]
aswanson has joined #nixos
wild_buffalo has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
drew__b has joined #nixos
steve-chavez has quit [Ping timeout: 260 seconds]
<wild_buffalo> so I've installed nixos with wpa_supplicant at first
<wild_buffalo> then I rebuilt with networkmanager instead
<wild_buffalo> Now it seems they're conflicting---how do I deactive wpa_supplicant?
makefu has quit [Quit: WeeChat 2.6]
<tilpner> wild_buffalo: Do you have a line in your config like this? networking.wireless.enable = true;
<wild_buffalo> I've set that to false then I set networkmanager to true: networking.networkmanager.enable = true;
<wild_buffalo> Now networkmanager works for a minute then disconnects
<wild_buffalo> and the machine reconnects to the network---I'm assuming via wpa_supplicant
<tilpner> Can't tell what's wrong from this
<wild_buffalo> maybe a reboot
<tilpner> Post more config, or logs
<tilpner> Reboots are good too, I guess
<tilpner> (But it's always disappointing when a reboot fixes things with NixOS)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<wild_buffalo> yeah I hear you
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
<AmandaC> Hrm. Crazy idea: Use home-manager to have an automatically-up-to-date `NixOS Manual.epub` exist in ~/Documents
<gchristensen> :o
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/Jv3BZ
<wild_buffalo> looks like that did it
<wild_buffalo> haha
cosimone has quit [Quit: Terminated!]
<wild_buffalo> reboot ftw
<tilpner> :(
<wild_buffalo> I'm sure there was a way to fix it without rebooting but
<wild_buffalo> ain't nobody got time for that
patrl has quit [Ping timeout: 268 seconds]
<wild_buffalo> It was probably a rogue process that wasn't killed or some such
<wild_buffalo> thanks for the help
lovesegfault has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/Jv3BE
noudle has joined #nixos
<Henson> is there a way in NixOS I can make an override.conf file for a particular systemd service?
doyougnu has joined #nixos
cartwright has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1144ee55385 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cartwright has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @Infinisil merged pull request #77952 → dockerTools.*: Assertion against building for Darwin → https://git.io/JvTSu
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Jv3BX
rauno has quit [Ping timeout: 245 seconds]
logzet has joined #nixos
<AmandaC> That was surprisingly easy: `home.file."Documents/NixOS Manual.epub".source = "${config.system.build.manual.manualEpub}/share/doc/nixos/nixos-manual.epub";`
drakonis has joined #nixos
rauno has joined #nixos
<gchristensen> fancy :D
waleee-cl has quit [Quit: Connection closed for inactivity]
makefu has joined #nixos
chloekek has joined #nixos
doyougnu has quit [Ping timeout: 272 seconds]
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/Jv3Rv
<Henson> is there some way to make NixOS place a particular file in etc? I know of the environment.etc set in configuration.nix. I'm trying to put something at /etc/systemd/system/systemd-nspawn@foo.service.d/override.conf but it gives me build problems with nixos-rebuild
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-bustle: simplify the override now that those changes are in cabal2nix »: https://git.io/Jv3RT
jbgi has quit [Ping timeout: 265 seconds]
<gchristensen> what kind of problems?
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jv3RI
<{^_^}> [nixpkgs] @peti merged pull request #78906 → Update Haskell package set to LTS 14.22 (plus other fixes) → https://git.io/JvOSx
<{^_^}> [nixpkgs] @peti pushed 14 commits to master: https://git.io/Jv3RL
<{^_^}> [nixpkgs] @peti closed pull request #78738 → haskell generic-builder: Fix package conf handling → https://git.io/JvYwj
<Henson> gchristensen: "mkdir: cannot create directory '/nix/store/lk5rz3zlgdhg7vs09l49mf5ixfj922cw-etc/etc/systemd/system/systemd-nspawn@foo.service.d': Permission denied"
<Henson> gchristensen: or "duplicate entry systemd/system -> /nix/store/qky28lrlzj9j2l6x9id0rpplq2dsx2hv-system-units" and "mismatched duplicate entry <-> /nix/store/qky28lrlzj9j2l6x9id0rpplq2dsx2hv-system-units"
<dashkal> How does one make a display manager (tried lightdm and sddc) see the ~/.xsession file provided by home-manager as a valid session? I find myself with an empty session list on both of those after disabling the system level xfce.
<gchristensen> hrm
<Henson> gchristensen: the first is with the simple "environment.etc."systemd/system/systemd-nspawn@foo.service.d/override.conf".text = "BARF";" and the second is with the "text" and "target" values of the set specified explicitly.
<dashkal> And I do mean empty. The original xterm in the corner is missing too
<gchristensen> weird, Henson :/
<gchristensen> not sure ...
<Henson> gchristensen: it would be nice is there was a systemd.services.<name>.override attribute that would let me specify the content of the override file and integrate properly with the building of the /etc directory
<gchristensen> an interesting idea!
<Henson> gchristensen: or for systemd.nspawn.<name> to allow things like DeviceAccess to be specified
<Henson> gchristensen: the real problem here is that I'm unable to grant an nspawn machine appropriate low level access to the host's devices.
o1lo01ol1o has joined #nixos
<emily> ,locate libEGL
<emily> hm :/
<emily> i'm good at bot syntax
<{^_^}> Found in packages: nwjs, brave, drawio, gitter, trilium, electron, libglvnd, nwjs-sdk, vscodium, bitwarden, electron_5, electron_6, keybase-gui, mullvad-vpn, wire-desktop, signal-desktop, libGLU_combined, mesa_noglu.drivers, betaflight-configurator, driversi686Linux.mesa.drivers
kleisli has quit [Ping timeout: 265 seconds]
wildtrees has quit [Ping timeout: 272 seconds]
<dashkal> Ok, that's bonus strange. I turned xfce back on in the system configuration. Logged in, and got my personal xsession.
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.3)]
vika_nezrimaya has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78969 → gnome3.evolution: 3.34.2 -> 3.34.3 → https://git.io/Jv3Ra
zeta_0 has joined #nixos
<zeta_0> rycee: I am getting an error, attribute 'nur' missing? am I supposed to import something as well? https://gist.github.com/zeta-00/1fa6a39fcc823d1cd21b8dad9d18483e
<Henson> ok, here's another question: how can I import nixpkgs into an expression given a nixpkgs git tree? Do I just import the root default.nix file?
<jared-w> yup
<Henson> jared-w: ok, cool
<tilpner> Henson: Import the directory
<Henson> tilpner: ok
<tilpner> Henson: If you import ./foo, and ./foo is a directory, Nix will read ./foo/default.nix
<jared-w> default.nix is the index.html of nix files :p
<jared-w> (as such, import ./foo and import ./foo/default.nix are equivalent)
<Henson> haha :-)
juliancoffee has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghc-8.10.x: add a bunch of jailbreaks to fix builds »: https://git.io/Jv3RN
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghc-8.10.x: add a bunch of jailbreaks to fix builds »: https://git.io/Jv3Rx
<{^_^}> [nixpkgs] @peti pushed to master « ghc-8.10.x: add a bunch of jailbreaks to fix builds »: https://git.io/Jv3Rp
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
talqu has joined #nixos
knupfer has joined #nixos
werner291 has joined #nixos
four has joined #nixos
<dashkal> Basic nix literacy question. I'm trying to fill in initExtra in my home.nix How do I refer to my home directory? Or env vars in general? Using the '' multi-line string style.
<talqu> hi, i've installed nixos on my virtualbox in windows. I have virtualisation.virtualbox.guest.enable = true; as well as latestkerner, however, i cannot make this nixos guest get fullscreen (something wrong with guest additions?)
u0_a121 has joined #nixos
<dashkal> talqu: What version of virtualbox? I ran into that last night. The guest additions available in nix were too old.
<four> How should I go about adding a custom package not in nixpkgs from github that does not have a hash to include when using fetchurl?
<four> I get an error saying I must include a hash
<tilpner> ,tofu four
<{^_^}> four: 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. See: tofu-vim
<tilpner> Or nix-prefetch-*
<tilpner> Or sha256 = lib.fakeSha256;
<dashkal> My answer: use $HOME, not ${HOME}
<talqu> dashkal: 6.1.2 r..
<tilpner> ,escape'' dashkal
<{^_^}> dashkal: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<tilpner> ^ for when you want to express ${HOME} anyway
<talqu> dashkal, i have to downgrade the the virtualbox then. With which version does it work well?
<four> Alright I'll give that a shot
<dashkal> talqu: That's what I thought. That virtualbox version doesn't seem to like the 6.0.5 guest additions that nix has. I haven't yet dug into learning to provide an update to date additions.
<dashkal> {^_^}: danke
<dashkal> Let me try that again. I haven't yet dug unto learning to make an up to date guest additions package.
<dashkal> I did a little poking, and saw that it wasn't exactly trivial (The existing package is built in terms of the existing virtualbox package, and I didn't want to deal with that late at night)
<tilpner> > linuxPackages_latest.virtualboxGuestAdditions.version
<{^_^}> attribute 'version' missing, at (string):277:1
<tilpner> > linuxPackages_latest.virtualboxGuestAdditions.name
<{^_^}> "VirtualBox-GuestAdditions-6.0.14-5.5"
<four> Alright so I was able to get past the sha hurdle, but now I'm running into an error while building. Here is my expression if anyone sees something I'm doing wrong. https://pastebin.com/5v5a54uv
<tilpner> Ahh yes, you'd probably have to update the virtualbox package
<dashkal> >.> I'm good at bots, honest. Danke, tilpner.
<talqu> dashkal: i believe it's not trivial :) Im trying to see if i can stay on windwos and do stuff with nixos virtual machine without feeling to worse than when i run nixos on bare metal (i do js dev mainly and sometimes haskell). I don't want to login logout everytime i want to switch to windows. Is the experience good enough with virtualbox guest nixos machine?
<tilpner> four: That's not going to work, sorry :/
<four> oof
<tilpner> four: Looking at the repo, it's Go and JS?
<dashkal> Milestone get. Got my ancient xmonad config to actually work. I should probably modernize that poor thing, but now I have a familiar environment again.
doyougnu has joined #nixos
<tilpner> four: I'm not quite sure how to approach that. The AUR PKGBUILD suggests that you might get away without a node buildstep
<tilpner> Perhaps you can do that, and copy the rest like the PKGBUILD does
<{^_^}> [nixpkgs] @LnL7 merged pull request #77632 → stdenv: make darwin builds reproducable → https://git.io/JvJc9
<{^_^}> [nixpkgs] @LnL7 pushed 6 commits to staging: https://git.io/Jv302
<{^_^}> [nixpkgs] @LnL7 merged pull request #78820 → gettext: Add macOS warning patch → https://git.io/JvO4Y
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to staging: https://git.io/Jv30V
<four> hm alright, I'll give it a look. First time trying to add a package not in nixpkgs to my system so still trying to figure most things out. thanks
<tilpner> four: You didn't choose an easy one :/
<tilpner> Sometimes your paste almost works, but that's usually depency-less C
patrl has joined #nixos
<four> lol of course. I didn't know I had to specify all the dependencies. fun
UndefinedIsNotAF has quit [Ping timeout: 264 seconds]
UndefinedIsNotAF has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
virus_dave has quit [Quit: virus_dave]
__monty__ has quit [Quit: leaving]
doyougnu has quit [Ping timeout: 268 seconds]
talqu has quit [Remote host closed the connection]
domogled has joined #nixos
u0_a121 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq opened pull request #78970 → buildah: 1.13.1 -> 1.13.2 → https://git.io/Jv3Es
<infinisil> Is it possible to install Nix in single-user mode but allow all users to use nix still?
<four> @tilpner how do I get the values for sha256 and modSha256?
<four> also, how do I properly respond to ppl in weechat lmaoo
<infinisil> I'm investigating using different users for nix docker images
<infinisil> But that naively fails with a single-user install by root
<infinisil> LnL: ^ Did you perhaps try to get a multi-user installation working at some point?
<LnL> yeah I have
<LnL> most of the docker images are multi user actually because of root in the container (just no daemon)
mallox has quit [Remote host closed the connection]
<Henson> holy crap, I figured it out. By looking through the source for nixos/modules/system/boot/systemd-lib.nix I see that any redefinitions of systemd service that already exist get added to an override. Therefore I simply had to redefine the systemd-nspawn service with serviceConfig containing DeviceAllow and it works. This works for all nspawn machines, however, and can't be limited to a...
<Henson> particular machine because the override only works for non-dynamically-added services
shibboleth has joined #nixos
<LnL> infinisil: but if you want a daemon you can start it before the user's command by adding an entrypoint wrapper
<jared-w> gchristensen: no worries. I nearly missed your reply too :) I wasn't aware that there was a cost and that the experience wasn't always as good as the single-user one. For me, personally, I've always had a better experience with the daemon. Should the manual *not* highly recommend the daemon approach then?
<{^_^}> [nixpkgs] @mmahut merged pull request #78888 → vnstat: 2.4 -> 2.6 → https://git.io/JvO1x
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jv3Eu
<{^_^}> [nixpkgs] @mmahut merged pull request #78800 → scc: 2.10.1 -> 2.11.0 → https://git.io/JvOG7
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jv3Eg
<LnL> infinisil: not great but works good enough if you don't want to introduce a full service manager or k8s stuff
<jared-w> gchristensen: I'm fine with the daemon being the secondary/alternative one on the install page. It might be a good idea to make sure the recommendations are pretty consistent between it and the manual, though. I'd hate to have one say "highly recommended" and the other say "well I guess you can do this if you're brave enough" :p
<jared-w> samueldr: I likey your hydra thing
<infinisil> LnL: I tried using both the official docker image and yours as non-root, but they have the same first problem that /nix/var/nix/gc/big-lock is owned by root and can't be taken by the user. Fixing this there are more problems with permissions awaiting
<jared-w> samueldr: can't imagine how long it took to figure out all the subtle janky stuff in the shellHook though...
<infinisil> And once I got those fixed, I was able to at least log in without any warnings, but then nix-shell didn't work for some other permission problem
<infinisil> I guess I'll try again to get around all this, but I'm not confident this works
granra has joined #nixos
karantan has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<granra> Hi, I've been googling around and coming up empty. I want to get a nix-shell with an aarch64 cross compiler to compile u-boot. Does it exist in nixpkgs?
<{^_^}> [nixpkgs] @mmahut merged pull request #78896 → lib.science.math.scs: 2.0.2 -> 2.1.1 → https://git.io/Jv3Ei
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jv3EP
<LnL> yeah for unprivileged users you'll need the daemon to perform store operations
<samueldr> jared-w: hah, I think it was a slow buildup of accreted knowledge, so probably longer than I want to know, but it was not that hard to write at that time
karantan has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78971 → python27Packages.foxdot: 0.8.4 -> 0.8.5 → https://git.io/Jv3EX
<infinisil> LnL: Oh, so you think the daemon-less installation works for non-root users if they are in `trusted-users` in nix.conf?
<infinisil> Wait no probably not
<LnL> no everything needs to be chowned then
<infinisil> Hmm
<infinisil> LnL: Would you be interested in a PR that adds such multi-user support to nix-docker?
<LnL> let me see if I can hack my thing together from memory
<LnL> with the daemon yes, otherwise it's kind of tricky because who owns what?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
oida has quit [Quit: byez]
<run500> whats the right way to build an aarch64 image for raspberry pi 3b+? this is what i tried:
<run500> nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-aarch64.nix -A config.system.build.sdImage
o1lo01ol1o has joined #nixos
<infinisil> LnL: Yeah, probably with the daemon would be nicer, though I feel like that gets tricky because it needs to run during the layer building already
granra has quit [Remote host closed the connection]
is_null has joined #nixos
chloekek has quit [Ping timeout: 260 seconds]
<tilpner> ,tofu four
<{^_^}> four: 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. See: tofu-vim
shibboleth has quit [Remote host closed the connection]
<four> tilpner: okay thanks
<four> same as lib.fakeSha?
knupfer has quit [Ping timeout: 265 seconds]
fragamus_ has joined #nixos
Unode has quit [Ping timeout: 252 seconds]
<ddima> four: yep
st3r4g[m] has joined #nixos
werner291 has joined #nixos
<infinisil> > fakeSha
<{^_^}> undefined variable 'fakeSha' at (string):277:1
<infinisil> > lib.fakeSha
<{^_^}> attribute 'fakeSha' missing, at (string):277:1
<four> Alright, this is where I'm at now: https://pastebin.com/K1aCYBYx
<infinisil> Huh, why does the bot not have that
<gustavderdrache> > lib.fakeSha256
<{^_^}> "0000000000000000000000000000000000000000000000000000000000000000"
<gustavderdrache> you have to pick your flavor of SHA
<werner291> Greetings! I flashed an ISO on a usb stick and I'm trying to boot it on a Macbook Air. It says it's waiting for /dev/root to appear, after which it complains about /dev/sdc failed to open. I think what it's looking for is on /dev/sdb, not sdc, how can I tell the installer to use that instead?
<infinisil> AHh
<four> lol
<gustavderdrache> > lib.fakeSha512
<{^_^}> "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
<gustavderdrache> it also comes in deluxe
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a21c2fa3ea2 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/48e29aa8d8e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<infinisil> Very nice
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78799 → gnupatch: Don't fetch from cgit URLs with unstable hashes → https://git.io/JvOGM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Jv3us
Fare has quit [Ping timeout: 268 seconds]
patrl has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78934 → python3Packages.pygobject3: 3.32.1 -> 3.34.0, python3Packages.pyatspi: 2.32.1 -> 2.34.0 → https://git.io/JvObh
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/Jv3uW
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<ThatGuy> does anyone know if there is a way to configure the nix build users so that they share an ssh key for a private git repo?
noudle has quit []
gustavderdrache has quit [Quit: Leaving.]
Fare has joined #nixos
<sphalerite> ThatGuy: you may prefer using builtins.fetchGit, which runs git as the user performing the evaluation
<ThatGuy> hmm
<ThatGuy> is that a different way to invoke the mkDerivation?
<sphalerite> no, it doesn't produce a derivation at all
<sphalerite> it produces a path in the nix store like when you import a path by referring to it directly in yoru nix expression
<ThatGuy> hmm ok i will have to try some docs on that. I'm still really new to all of this :)
<ThatGuy> thx for the pointer
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @mweinelt opened pull request #78972 → bird2: 2.0.6 -> 2.0.7 [19.09] → https://git.io/Jv3ui
fragamus_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LnL> infinisil: I remember now, the unprivileged part was only over ssh so the daemon could still start as normal
<infinisil> LnL: Oh you mean to run the daemon as root in the docker container to be accessed by unprivileged clients outside the container
<infinisil> ?
ixxie has quit [Ping timeout: 265 seconds]
<LnL> infinisil: seems like nix doesn't like to run as setuid so not sure if this can work in the regular docker context
<LnL> yeah
<infinisil> setuid is needed for nix-daemon?
<LnL> well if you specify USER or -u docker starts the command (and entrypoint) as that user
drakonis has quit [Quit: Leaving]
<LnL> you need some way to give the daemon more permissions, otherwise it's basically a single user install
mexisme_ has joined #nixos
drakonis has joined #nixos
<infinisil> LnL: Ah yeah, though in my usecase I'm just thinking of programs that don't like being run as root, so you could still start the container as root but have a `su - user` at the start
<LnL> right the reverse also works, but that's kind of hard to do in a generic way
Chiliparrot has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
kiloreux_ has joined #nixos
werner291 has quit [Remote host closed the connection]
<LnL> something like this but dropping permissions after the daemon instead of just exec should work
wildtrees has joined #nixos
kiloreux has quit [Ping timeout: 240 seconds]
<infinisil> LnL: Nice, I'll probably try to use that
<infinisil> Thanks
Rusty1 has quit [Remote host closed the connection]
<fyuuri> Do fish functions in ~/.config/fish/functions typically work under NixOS? Even if this path is in the $fish_function_path, functions are not found...
<fyuuri> I could not find anything on how to configure fish in NixOS, especially on how to configure plugins
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78973 → gqrx: 2.11.5 -> 2.12.1 → https://git.io/Jv3zm
patrl has joined #nixos
<ThatGuy> sphalerite that worked, thx!
<rizary_> fyuuri: have you tried #home-manager? I used fish last time and it works just fine
<fyuuri> rizary: I read about home-manager but did want to switch my dotfiles git to home-manager yet. Will fish not work without home manager?
drakonis has quit [Ping timeout: 268 seconds]
<fyuuri> Just the functions in ~/.config/fish/functions are not found. Everthing else works
four has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/48e29aa8d8e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
drakonis has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #78779 → python3Packages.cirq: init at 0.6.1 → https://git.io/JvOeG
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/Jv3zE
Rusty1 has joined #nixos
drew__b has quit [Quit: WeeChat 2.7]
m0rphism has quit [Ping timeout: 268 seconds]
zeta_0 has joined #nixos
kleisli has joined #nixos
qubasa_ has quit [Ping timeout: 268 seconds]
qubasa has joined #nixos
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ng0 has quit [Client Quit]
erasmas has quit [Quit: leaving]
drakonis_ has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
drakonis has quit [Ping timeout: 268 seconds]
drakonis1 has joined #nixos