sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<infinisil> zeta: The `let all-hies = ...; in` needs to go in the file where you reference that variable
<zeta> infinisil: i reference `all-hies` in `home.nix`, so do i need to place `let all-hies = ...; in` in `home.nix` then ?
<clever> yes
<infinisil> Indeed
<Ralith> clever: do I need to reboot for the kernel side of those drivers to take effect, or something?
<clever> Ralith: hardware.openGL.package doesnt change the kernel side any
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8838032e905 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Ralith> is there a kernel side that needs changing?
<clever> Ralith: not sure, try without and see what breaks?
<Ralith> the same thing that broke with the stable packages
<zeta> infinisil: that's why i asked you earlier, good to know
<Ralith> hence my suspicion that nothing relevant has actually changed
<clever> Ralith: which kernel driver are you using?
<Ralith> I have no idea
<Ralith> am I using a kernel driver?
<clever> Ralith: thats the only way to use a gpu
<Ralith> okay
<Ralith> `i915` shows up a lot in lsmod
<clever> Ralith: what does modinfo say about it, where is the file located?
<Ralith> /run/current-system/kernel-modules/lib/modules/5.0.12/kernel/drivers/gpu/drm/i915/i915.ko.xz
<clever> Ralith: now run realpath on that
zeta has quit [Quit: WeeChat 2.4]
<Ralith> /nix/store/g54dh571r1dvsk0cr7jcwlb4x0pcaabv-linux-5.0.12/lib/modules/5.0.12/kernel/drivers/gpu/drm/i915/i915.ko.xz
<clever> that driver came from within the linux source, so you would have to apply an override to linux itself to update it
<lopsided98> _d0t: yes, its broken. A PR was recently merged to fix the build (https://github.com/NixOS/nixpkgs/pull/60045), but it doesn't look like it really fixed it
<{^_^}> #60045 (by dgarzon, 1 week ago, merged): pipenv: add virualenv to propagatedBuildInputs.
<lopsided98> _d0t: adding virtualenv-clone to propagatedBuildInputs will probably fix it
ckoparkar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Ralith> what would I update it to?
<Ralith> my objective here is 'run mesa git' and it is unclear if that has been accomplished
_d0t has quit [Ping timeout: 244 seconds]
_d0t has joined #nixos
mmlb39491 has quit [Ping timeout: 245 seconds]
<clever> Ralith: there is also the xorg half of things, i'm not sure how to update it
ilikeheaps has quit [Ping timeout: 250 seconds]
acarrico has joined #nixos
zeta has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<zeta> infinisil: i finally got `all-hies` to build in `home.nix`
<zeta> :)
<Ralith> okay, so that's two mysterious possibly-maybe outdated pieces of software confounding this test
MmeQuignon has quit [Ping timeout: 252 seconds]
<bepvte> im very lost on how to permanently set localSystem for nix-env
ddellacosta has joined #nixos
<infinisil> zeta: Nice :)
ryantm has quit [Quit: Lost terminal]
ambro718 has joined #nixos
<ambro718> How does one actually use nix path-info? https://paste.ubuntu.com/p/vz6phj5svY/
<ambro718> the pull request instructions ask you to do that but, it doesn't work?
buffet_ has joined #nixos
<zeta> infinisil: now i just have to figure out how to integrate `hie` with `emacs`, i am actually surprised it is working so far, a year ago when i tried to install hie in debian i got hit with dependency hell, got angry and gave up.
<zeta> infinisil: using apt-get in debian, that is
<infinisil> zeta: Nice to hear :D
buffet has quit [Ping timeout: 255 seconds]
<infinisil> For emacs you want to use https://github.com/emacs-lsp/lsp-mode
<lopsided98> ambro718: you have to build/download the package first
<parsnip> eglot is nice too
<zeta> infinisil: cool, i already installed the emacs packages needed for hie, i am just not sure if i will be able to get `hoogle` to integrate with hie, i have had lots of problems with that as well in the past.
<infinisil> zeta: The hie-nix repo has a FAQ on that (I should add that to all-hies as well): https://github.com/domenkozar/hie-nix#how-can-i-expose-nixs-hoogle-database-to-hie
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
<zeta> infinisil: ok i'll give it a try.
<zeta> infinisil++
<{^_^}> infinisil's karma got increased to 98
<gchristensen> ;;QQQq:o
<parsnip> ;; if you're trapped, try `: q a S-1 RET'
<gchristensen> ehhh dogs :)
thc202 has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
iqubic has joined #nixos
zeta has quit [Quit: WeeChat 2.4]
<iqubic> So I'm trying to run an executable from the command line. I tried "./executable" and got the unhelpful error of "./executable: file not found" when the file most certainly is in the current dirctory.
<iqubic> What gives?
<gchristensen> yeah a bit weird, that means the executable's interpreter is not found
zeta has joined #nixos
<ambro718> lopsided98: ah, thanks
<ambro718> that's far from obvious
<ambro718> unlike almost every other nix-based thing
<iqubic> Well, that sounds like a pain to fix.
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<zeta> infinisil: for `updating this repository` section of `all-hies` in what directory do i place the two commands: `./update.hs` and `nix-build -A versions -k`
sb0 has quit [Quit: Leaving]
<infinisil> zeta: No you don't want to run this
<iqubic> gchristensen: How hard is it to patch an executable?
<gchristensen> I already linked you an example
<zeta> infinisil: why ?
<iqubic> Ah, yes... About that... I'm trying to patch an executable that I didn't create. I don't have access to the source code.
<iqubic> Will that be an issue?
sigmundv__ has quit [Ping timeout: 250 seconds]
<gchristensen> check out the example
<infinisil> zeta: This is what *I* will run when a new HIE version comes out to update the repository for other people to use
<infinisil> I guess I should make this clearer
ambro718 has quit [Quit: Konversation terminated!]
acarrico has quit [Ping timeout: 252 seconds]
<iqubic> Is patchelf a thing that is installed by default on Nixos?
<zeta> infinisil: oh ok, that clarified it. ya that section needs to be clarified.
<gchristensen> iqubic: please do a bit more research, and please apply a bit more effort before asking for help :)
<iqubic> I will.
<gchristensen> thank you
rprije has quit [Remote host closed the connection]
Jetien_ has joined #nixos
rprije has joined #nixos
Jetien has quit [Ping timeout: 244 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
mmlb39491 has joined #nixos
iqubic has left #nixos [#nixos]
Jetien_ has quit [Ping timeout: 250 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
mmlb39491 has quit [Ping timeout: 246 seconds]
slyfox has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
slyfox has joined #nixos
o1lo01ol1o has joined #nixos
<zeta> infinisil: are you still on, i have a another question, if you don't mind ?
bepvte has quit [Quit: The Lounge - https://thelounge.chat]
lambda-11235 has joined #nixos
boredom101 has joined #nixos
<infinisil> Don't ask to ask, just ask
<infinisil> And I'm not the only one here that could help you :)
sheeldotme has quit [Ping timeout: 248 seconds]
jasongrossman has joined #nixos
wfranzini has quit [Remote host closed the connection]
<zeta> infinisil: in the last section about `hoogle` i am confused, does nixos set this environment variable for me or do i need to copy and paste it in `terminal` ? also i am not sure i have everything i need in `home.nix`, if you could please take a look, thanks, https://github.com/domenkozar/hie-nix https://hastebin.com/gajumehefo.bash
wfranzini has joined #nixos
<zeta> infinisil: i just want to make sure `hoogle` is correctly integrated with `hie`
<infinisil> zeta: You need to add that command there to your nix-shell's shellHook attribute, or I guess it might work without nix-shell's too. You'll have to experiment with this a bit, I'm not using this myself
boredom101 has quit [Quit: Page closed]
o1lo01ol1o has quit [Remote host closed the connection]
<zeta> infinisil: so is this command only for if i am using `nix-shell` ? or is it used to permanently integrate `hoogle` with `hie`, if you could clarify this, thanks for the patience !!!
<zeta> infinisil++
<{^_^}> infinisil's karma got increased to 99
orivej has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
alexherbo2911 has joined #nixos
alexherbo291 has quit [Ping timeout: 248 seconds]
<zeta> where is: nix-shell's shellHook attribute ?
e_linq has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Glider_IRC_ has quit [Ping timeout: 248 seconds]
zeta has quit [Quit: WeeChat 2.4]
_d0t has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8838032e905 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/c2a6501db03 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
sl0wz has quit [Quit: ZNC 1.7.3 - https://znc.in]
slowz has joined #nixos
slowz has joined #nixos
slowz has quit [Changing host]
cdepillabout has joined #nixos
<cdepillabout> Would someone be able to review/merge https://github.com/NixOS/nixpkgs/pull/60967 for me? It is about adding a derivation for a version of memtest86 that works with UEFI.
<{^_^}> #60967 (by cdepillabout, 20 hours ago, open): memtest86-efi: init at 8.0
<cdepillabout> I'd like to send a PR adding it as a nixos module so it gets installed to the systemd-boot menu, but it would be nice to have the above PR merged in before I do that.
Myhlamaeus has joined #nixos
o1lo01ol1o has joined #nixos
<lassulus> cdepillabout: I will build it locally and when it finished successfully I will merge it
<cdepillabout> @lassulus, Thanks!
slowz has quit [Quit: ZNC 1.7.3 - https://znc.in]
slowz has joined #nixos
slowz has joined #nixos
slowz has quit [Changing host]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
reinhardt has joined #nixos
adamantium has joined #nixos
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon2
Intensity has joined #nixos
grenade has quit [Ping timeout: 276 seconds]
Irenes has quit [Ping timeout: 276 seconds]
deadloko has joined #nixos
Irenes has joined #nixos
grenade has joined #nixos
Intensity has quit [Changing host]
Intensity has joined #nixos
knupfer has joined #nixos
cdepillabout has quit [Quit: Leaving]
reinhardt has quit [Quit: Leaving]
knupfer has quit [Ping timeout: 248 seconds]
<lambda-11235> Is there a way to query for the long description meta variable, besides `nix-env -qa --json --meta`?
slowz has quit [Quit: ZNC 1.7.3 - https://znc.in]
slowz has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
slowz has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
hio has joined #nixos
<lassulus> for a single package or all of them?
<lassulus> > pkgs.vim.meta.description
<{^_^}> "The most popular clone of the VI editor"
<lassulus> lambda-11235: ^
<lambda-11235> lassulus: How do you do that from the command line?
<lassulus> nix-instantiate --eval -E 'with import <nixpkgs> {}; pkgs.vim.meta.description'
<jackdk_> nix eval '(import <nixpkgs> {}).pkgs.emacs.meta.description'
<lassulus> ah yeah, there also is nix eval
<lassulus> always forgetting it
mkoenig_ has quit [Remote host closed the connection]
Mateon3 has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
Mateon2 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon1
adamantium has quit [Quit: Konversation terminated!]
adamantium has joined #nixos
cfricke has joined #nixos
palo1 has joined #nixos
adamantium has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
palo has quit [Ping timeout: 246 seconds]
aanderse has quit [Ping timeout: 248 seconds]
domogled has joined #nixos
lememta has joined #nixos
freeman42y has quit [Ping timeout: 252 seconds]
ilikeheaps has joined #nixos
Myhlamaeus has quit [Ping timeout: 248 seconds]
wreckingwalla has quit [Ping timeout: 255 seconds]
wreckingwalla has joined #nixos
lememta has quit [Quit: Page closed]
dansho has joined #nixos
nD5Xjz_ has quit [Ping timeout: 252 seconds]
reinhardt has joined #nixos
nD5Xjz has joined #nixos
jackdk_13 has joined #nixos
jackdk_13 is now known as jackdkx
jackdkx is now known as jackdk
fusion809 has joined #nixos
jackdk_ has quit [Disconnected by services]
jackdk is now known as jackdk_
nD5Xjz has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
nD5Xjz has joined #nixos
wfranzini has joined #nixos
nornagon has quit [Quit: Ping timeout (120 seconds)]
nornagon has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
adamantium has joined #nixos
bahamas has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<bahamas> hello. I'm trying to build this project https://github.com/Gabriel439/haskell-nix/blob/master/project0/README.md, but I get an error: "/nix/store/06z61jbgs0vkw4i9cqqf9yl7zsfkkhw2-bash-4.4-p23/bin/bash: /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh: No such file or directory". what can I do to fix it?
adamantium has quit [Quit: Konversation terminated!]
nD5Xjz_ has quit [Ping timeout: 258 seconds]
Tucky has joined #nixos
nD5Xjz has joined #nixos
Plotinus has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
<bahamas> ok, I ran the command `nix-store --verify --check-contents --repair` and I get this "error: executing SQLite statement 'delete from ValidPaths where path = ?;': constraint failed (in '/nix/var/nix/db/db.sqlite')"
rauno has joined #nixos
roconnor has joined #nixos
roconnor_ has quit [Ping timeout: 255 seconds]
Makaveli7 has joined #nixos
linarcx has joined #nixos
sb0 has joined #nixos
Guest68349 has joined #nixos
troydm has quit [Ping timeout: 245 seconds]
<manveru> bahamas: you ran it with sudo?
endformationage has quit [Ping timeout: 248 seconds]
sb0 has quit [Quit: Leaving]
goodwill has quit [Quit: ...]
goodwill has joined #nixos
dansho has quit [Remote host closed the connection]
<bahamas> manveru: no. should I?
<manveru> yes :)
sb0 has joined #nixos
aminechikhaoui has quit [Quit: Ping timeout (120 seconds)]
sheenobu has joined #nixos
aminechikhaoui has joined #nixos
<bahamas> manveru: same error
<manveru> hmm
<manveru> so the db itself is corrupt somehow?
gal_bolle has joined #nixos
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
lambda-11235 has quit [Quit: Bye]
bigvalen has quit [Ping timeout: 276 seconds]
bigvalen has joined #nixos
<bahamas> manveru: I don't know. I have very little experience with nix. I reinstalled it recently, so I don't see why that would happen. what else can I do?
marusich has quit [Remote host closed the connection]
civodul has joined #nixos
Jetien_ has joined #nixos
mabel has quit [Ping timeout: 248 seconds]
nschoe has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
<nschoe> Hi everyone, I have a stupid question (while upgrading to 19.03 ^^). I was looking into themes because my nixOS looks pretty ugly (I'm using i3). I'm looking at pkgs/misc/themes on the github repo. Why are "all themes" dependent on gtk3?
<nschoe> In my mind, "gtk ~= gnome" and "qt ~= kde". Does that mean that nixOS only support gnome and not kde?
realrokka has quit [Remote host closed the connection]
Neo--- has quit [Ping timeout: 252 seconds]
realrokka has joined #nixos
Jetien_ has quit [Ping timeout: 250 seconds]
linarcx has quit [Ping timeout: 246 seconds]
<Philonous> Definitely not. You can install KDE and there's QT and KDE themes
linarcx has joined #nixos
johanot has joined #nixos
<bahamas> manveru: deleting nix and reinstalling fixed the problem.
kshaa has joined #nixos
ilikeheaps has quit [Ping timeout: 245 seconds]
esmerelda has joined #nixos
<nschoe> Philonous, hum ok.
<nschoe> Philonous, I'm going to stay on i3wn, so I won't install KDE. It's just that I'm a bit tired of gnome themes (adwaita, elementary, etc.). I wanted to have my applications look mor elike Qt / KDE ones.
<nschoe> I'm reading about theming i3wm, but I think I'm still missing something.
<nschoe> But maybe it's just that I'm using applications that were developed for gnome initially (like thunar, evince, etc.). Maybe I should look into their Qt-based counter parts. But what about things like Firefox and Thunderbird for instance?
<Philonous> Oh, the look of the application depends on the toolkit they use. Thunar and Evince use GTK, so you need to install a GTK theme for them
goibhniu has joined #nixos
<Philonous> It's just that Gnome, XFCE etc. tend to ship GTK programs and KDE tends to ship QT programs in their recommended bundle so they can achieve a unified look
<Philonous> Hoewever, there's GTK themes that mimic the QT look and the other way around. IIRC there's also a Qt theme that somehow mimics the look of whatever GTK theme is active
<Philonous> Firefox uses it's own engine, but it can make it look both like GTK or Qt (and I think also Mac- and Windows native)
m0rphism has joined #nixos
<nschoe> Philonous, okay so my intuition was right: my "issue" here is that I'm using mostly GTK programs :) I see.
<nschoe> I'll look into changing this then ^^
<nschoe> Sorry it's me again. I'm trying to upgrade to 19.03, but I keep getting the `warning: unable to download 'https://cache.nixos.org/nar/081lj4pfdlkv51h1f1phd38l466rk5afkf4n66377pvr00ibhnb6.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer)` error. It usually works itsel when I retry. But this time it won't go away. When I reach the URL by hand it works. So is there a way I can solve this?
<nschoe> Maybe pre-fecth the .nar by hand or smth?
nschoe has quit [Remote host closed the connection]
nschoe has joined #nixos
<nschoe> Back. Any idea for the .nar failed being downloaded?
ericsagnes has quit [Ping timeout: 250 seconds]
linarcx has quit [Ping timeout: 252 seconds]
MmeQuignon has joined #nixos
linarcx has joined #nixos
orivej has joined #nixos
linarcx has quit [Ping timeout: 248 seconds]
linarcx has joined #nixos
MmeQuignon has quit [Ping timeout: 250 seconds]
thc202 has joined #nixos
<LnL> not without the drv/narinfo
Anton-Latukha has joined #nixos
<LnL> passing this might help --option fallback true
Neo-- has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
Jetien_ has joined #nixos
<bahamas> what does it mean that a package is marked as broken? that the specific version couldn't be built?
brejoc has joined #nixos
ericsagnes has joined #nixos
brejoc has quit [Ping timeout: 252 seconds]
nschoe has quit [Quit: Program. Terminated.]
nschoe has joined #nixos
equivrel` has quit [Read error: Connection reset by peer]
psyanticy has joined #nixos
equivrel` has joined #nixos
<LnL> yeah, it means there's a known build failure
cfricke has joined #nixos
mkoenig has joined #nixos
<bahamas> LnL: I see. thanks! do you know how to override the compiler used. I tried the approach described here https://github.com/Gabriel439/haskell-nix/blob/master/project1/README.md with { compiler ? "ghc822" }, but the build is still using a different version of the compiler
<bahamas> I'm building with nix-build release.nix
<bahamas> nevermind. I forgot to update something
<LnL> I'm missing context depends on the expression, etc.
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d457e31d9ec (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<bahamas> I had forgotten to update this part: { project1 = pkgs.haskell.packages.${compiler}.project1;
<nschoe> What's the nixOS users solutin for the Firefox problem with add-ons?
<nschoe> It says I can't enable Studies because "Data reporting is disabled for this build configuration". I saw that Firefox 66.0.4 was __just__ released to fix the issue, but I don't think it's in the repos yet.
<tokudan[m]> nschoe: two options: wait for the update that's moving through the channels right now or try enabling telemetry and studies, i think mozilla is pushing a hot fix throught their studies for this issue.
<tokudan[m]> you can also build firefox or firefox-bin yourself with the new version
<tokudan[m]> I've just opened a PR for firefox-bin, I hope it's picked up fast.
<nschoe> tokudan[m], for the studies yes, but the problem is that I can't seem to be able to enable them on my version
<nschoe> (I have it with 'firefox-wrapper' in the configuration.nix)
<tokudan[m]> nschoe: try firefox-bin then. it should work on that build.
<nschoe> Oh? Okay
<tokudan[m]> or just build firefox-bin yourself on version 66.0.4. building firefox-bin just takes a couple of seconds.
<nschoe> Ah that was my question.
dontobey has quit [Ping timeout: 250 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<nschoe> Is there somewhere a page that recaps the myriad of nix packages 'firefox'?
vidbina has joined #nixos
<nschoe> I get that `firefox-bin` is just the vanilla firefox, but what's wit all the other derivations (-wrapper, -unwrap), etc.?
<tokudan[m]> so to clarify that: you can enable the studies in firefox-bin 66.0.3, which is alive in release-19.03 or you can build firefox or firefox-bin 66.0.4 yourself
dontobey has joined #nixos
<tokudan[m]> i don't know about them
<nschoe> tokudan[m], yep, thanks. I'll go abotu building 66.0.4
<nschoe> tokudan[m], "i don't know about them" -> so it means it's okay to use `firefox-bin` in the ocnfiguration.nix? I thought I remember reading _somewhere_ a logn time ago that it was the `-firefox-wrapper` that should be installed for "normal firefox" (whatever that means).
<tokudan[m]> i use firefox-bin
nD5Xjz_ has quit [Ping timeout: 252 seconds]
<nschoe> okay, thanks.
bahamas has quit [Quit: leaving]
nD5Xjz has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
<JaakkoLuttinen[m> I'm writing a NixOS configuration file with imports, options and config. I have an enable option for this stuff. Can I somehow easily propagate `mkIf cfg.enable` to all those imported files so that their configs would be used only if I have the "top-level" enabling on? I'm just trying to split my configuration to multiple files but I want to use only one enable flag and I wouldn't want to write `mkIf
<JaakkoLuttinen[m> config.some.long.path.to.my.enable` to the `config` of all those files.. Just wondering if there's some simple way for this.
dontobey has quit [Ping timeout: 252 seconds]
dontobey has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
gal_bolle has quit [Ping timeout: 258 seconds]
deadloko has quit [Quit: WeeChat 2.3]
<xorAxAx> JaakkoLuttinen[m, https://nixos.org/nixos/manual/options.html search for zap
<xorAxAx> not sure the vtswitch avoidance makes sense
<xorAxAx> i need it often to recover from X problems
<JaakkoLuttinen[m> xorAxAx: Thanks! DontVTSwitch is still a mystery.. I found it in a few places in nixpkgs, but they seemed to be some dummy configurations..
<xorAxAx> i would not disallow it
<JaakkoLuttinen[m> Does it mean it would not allow me to use Ctrl+Alt+F1 etc to switch to ttys or what's the effect?
<xorAxAx> i guess so
<JaakkoLuttinen[m> Yeah, I wouldn't disallow that.. Not sure why slock recommends that
<JaakkoLuttinen[m> Ah, yeah, if I'm logged in in some virtual terminal then the lock screen doesn't protect that obviously. Hmm..
mmercier has joined #nixos
<Taneb> Is there any library function to emulate multiway if?
mes has joined #nixos
mes is now known as Guest45544
rumle23 has joined #nixos
rumle23 has quit [Client Quit]
logzet has joined #nixos
<tokudan[m]> Jaakko Luttinen: if you want to completely lock out all virtual terminals, have a look at physlock
<arianvp> Taneb: for modules you oculd use mkMerge [ (mkIf x y) (mkIf z b) ]
fusion809 has quit [Remote host closed the connection]
Guest45544 has quit [Ping timeout: 252 seconds]
<Taneb> arianvp: sadly this is not modules, but regular values
<arianvp> did some kind of refactoring to all-packages.nix happen lately?
<arianvp> For example nixops and nixops-dns are not declared in all-packages.nix
<arianvp> but they do have values if I import the master nixpkgs
<arianvp> They seem to be implicitly loaded somehwere, whilst they were explicitly there in 19.03
<arianvp> :/
<arianvp> also if I grep "nixops" in the nixpkgs source code
<arianvp> the only reference is "pkgs/tools/package-management/nixops/"
<arianvp> but it's not imported anywhere
<arianvp> im very confused
<arianvp> nowhere do I see, pkgs.callPackage ./nixops
<gchristensen> it is there, arianvp https://search.nix.gsc.io/?q=nixops%20%3D&i=nope&files=.*all-packages.*&repos=
<arianvp> huh ok maybe ag was just bugging out
<arianvp> yep grep does find it =)
<gchristensen> good :)
alexherbo29111 has joined #nixos
<arianvp> this shows a _very old_ version of all-packages.nix, seems like a bug
<arianvp> it's only 16k lines
<arianvp> (That was where I was originally looking)
jackdk_ has quit [Ping timeout: 246 seconds]
<gchristensen> not a bug, and not even an old one :P
<gchristensen> github silently truncates the file
alexherbo2911 has quit [Ping timeout: 245 seconds]
<arianvp> why
<arianvp> :O
<gchristensen> it is too big
<arianvp> 20k is too big? pfft
<ben> refactor to some-packages.nix
<ben> some-more-packages.nix
<ben> etc
_d0t has joined #nixos
<gchristensen> you'll notice, arianvp, the file is not even syntactically valid as it has no closing }
<arianvp> that they silently truncate seems like a stupid bug though
<ben> gchristensen: good thing nix isnt like yaml eh
<gchristensen> hah!
<gchristensen> arianvp: maybe try reporting it? :)
<ben> has there been any chatter on making nixpkgs more modular to avoid a huge all-packages.nix?
<arianvp> Sent a report =D
<arianvp> personally I like that everything is in one file but that's me
<qyliss^work> ben: there has been discussion of "nix flakes", which you might find interesting
<arianvp> I wonder if it has impact on evaluation times
<qyliss^work> I'm personally very pro-monorepo, though
<arianvp> given nix is lazy
<ben> thank you
<arianvp> qyliss^work: monorepo vs monofile is a different discussion though
<qyliss^work> that's true
<gchristensen> I do love that there is a single place to look
pie_ has joined #nixos
<qyliss^work> although lots of repos obviously means no big file, so they're kind of related
<ben> I haven't thought deeply about this but I would be optimistic that a modular structure might bring advantages even if by default, all modules live in the monorepo
<arianvp> ben: it already sort of is, with callPackage
vidbina has quit [Quit: vidbina]
<arianvp> think of all-packages as the top level dependency-injection container
<ben> yeah, sure
<arianvp> some place needs to tie it all together
<arianvp> either implicitly or explicitly. and I think explicity aids discoverability
varjag has joined #nixos
<arianvp> but it's a extremely bike-sheddy topic. can talk about it for 5 days I think
<arianvp> =)
<gchristensen> <3 <3 <3 <3 <3 explicitness
<ben> I wonder if it might not aid discoverability as well as shrink the mental working set to unflatten the nixpkgs namespace
<yorick> tools vs applications always gets me
<ben> or at least compose it from layers or w/e
<yorick> why not alphabetical
<yorick> all-packages/a.nix :P
<arianvp> that's actually an idea I could live with
<qyliss^work> CocoaPods does that IIRC
<qyliss^work> Because git can't handle huge flat trees
<arianvp> you know what I find frustrating personally? that our repo has "topic" directories
<arianvp> and I often have packages that could fit in multiple topics or require a new topic alltogether
<qyliss^work> yeah
<arianvp> like.. is letsencrypt a "service" or a "security" ?
<arianvp> idk
<arianvp> but if letsencrypt is security, I expect vault to be there too. which isn't
<arianvp> etcd is in a different directory than consul, whilst they're the same product
<arianvp> etc
<arianvp> I'd prefer it all to be flat, and have tags instead
<gchristensen> this is something Triton forked to do
<ben> I think I'd expect dependency-based modules rather than topics
<arianvp> then people can use "nix search" based on tags or whatever
<ben> but i expect it gets muddy quick
varjag has left #nixos [#nixos]
<etu> yorick: That would be quite nice actually.
<ben> (so that eg id know that glibc doesnt depend on firefox because they live on different layers)
<arianvp> ben:that makes things harder to refactor though
<ben> hmm
* arianvp yay, we're bikeshedding. let me grab coffee
<arianvp> =)
<gchristensen> and we're a graph, we can't necessarily split to layers
<jonge[m]> anyone ever built C++17 filesystem code? i need to make `-lc++fs` work and it doesn't work out of the box. is there anything simple to do that i forgot before i study the nix recipes?
<arianvp> it's actually an NP hard problem
<arianvp> =)
<ben> gchristensen: yeah, layers is a imprecise word.
<ben> how is nixos-unstable-small defined?
gal_bolle has joined #nixos
<ben> thanks!
<arianvp> is it possible to livepatch a kernel in nixos on nixos-rebuild switch?
<arianvp> afaik that is pretty stable these days. wondering if we could add it
<arianvp> but it would add maintenance burden as we'd have to decide what patches are safe to livepatch
<gchristensen> sounds tricky, since we'd have to understand every pre -> post version possible
<arianvp> yeh ubuntu does it as a paid enterprise feature
<gchristensen> sounds smart
<arianvp> so no biggy if we can't provide it. just wondering if it would be hard to add it as a feature in the switch mechanism (and then people can use their own patcheS)
vidbina has joined #nixos
<gchristensen> how does it work?
<qyliss^work> that would be neat
alexherbo29111 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<arianvp> https://wiki.archlinux.org/index.php/Kernel_live_patching okay it seems more complicated then I first thought
<gchristensen> it feels like exactly the right line to charge enterprise rates for
<arianvp> Oracle, Redhat, Ubuntu all graft special stuff for it by hand
<arianvp> :P
<arianvp> NixOS Enterprise Linux
sigmundv__ has joined #nixos
dontobey has quit [Ping timeout: 258 seconds]
<gchristensen> I mean, maybe,yeah
<arianvp> but honestly, I think calling kpatch in a nix derivation to reliably build such dynamic patches is a great usecase for nix. Maybe fun thing for a hackathon someday when im bored
<arianvp> and then I can sell it for big enterprise bucks
rprije has quit [Ping timeout: 248 seconds]
<arianvp> and bath in purely functional lazy evaluated dollars
dontobey has joined #nixos
fusion809 has joined #nixos
arianvp has quit [Quit: WeeChat 2.4]
<Yaniel> has anyone managed to get kmail to actually send and receive mail on nixos?
Jackneill has quit [Ping timeout: 246 seconds]
arianvp has joined #nixos
<arianvp> woops im back
<arianvp> accidentally uploaded my laptop nixos config to my server
<arianvp> which killed weechat
<gchristensen> haha yeaoh I've done that
<gchristensen> arianvp: lazily evaluated dollars sounds like work (money for time), I'd recommend seeking eagerly evaluated dollars (retainer)
<arianvp> thank you --rollback
fendor has joined #nixos
Jackneill has joined #nixos
andreas303 has quit [Ping timeout: 256 seconds]
andreas31 has joined #nixos
linarcx has quit [Ping timeout: 252 seconds]
linarcx has joined #nixos
logzet_ has joined #nixos
logzet has quit [Ping timeout: 248 seconds]
<betaboon> how can i access the checkInputs of a python package ? there is a `buildInputs` and `propagatedBuildInputs` but i cant seem to find the `checkInputs`
moredhel has quit [Quit: WeeChat 2.2]
tagash has joined #nixos
<tagash> How can I use nix-env to install multiple stuff at once, such that if some fail, the others are in fact installed?
<tagash> I thought --keep-going might be it but it isn't doing that
<gchristensen> you'll have to do it in multiple calls, nix-env is atomic
<tagash> Ah, ok, thanks
srid has quit [Ping timeout: 248 seconds]
nD5Xjz has quit [Ping timeout: 258 seconds]
Tucky has quit [Quit: WeeChat 2.4]
srid has joined #nixos
nD5Xjz has joined #nixos
<betaboon> i have a default.nix with a buildPythonPackage-derivation, and a shell.nix which i want do use as the development environment. there i simply import the default.nix. now i want to add addition packages to the development-shell wihtout adding them as dependency to default.nix, but i cant get it to work. i tried like this: https://gist.github.com/betaboon/4781d4bdce0f9f3019c180123bca7036
johann__ has joined #nixos
nD5Xjz_ has joined #nixos
Tucky has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
<betaboon> anyone has a hint for me ?
tagash has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 246 seconds]
nD5Xjz_ has quit [Ping timeout: 248 seconds]
nD5Xjz has joined #nixos
<arianvp> Hmm how about you give your default.nix an optional argument called extraDeps ? (I'm nocentt sure if that's the prettiest solution)
<arianvp> Not*
<arianvp> But at least it'll work
<arianvp> Then you do buildInputs = blah ++ extraDeps; in default.nix
<infinisil> arianvp: --arg extraDeps '< expression here>'
acarrico has joined #nixos
kshaa has quit [Read error: Connection reset by peer]
_e has quit [Ping timeout: 250 seconds]
sb0 has quit [Quit: Leaving]
_e has joined #nixos
deadloko has joined #nixos
justanotheruser has joined #nixos
silver has joined #nixos
kim0 has joined #nixos
ckoparkar has joined #nixos
detran has quit [Quit: ZNC 1.7.1 - https://znc.in]
silver has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 245 seconds]
silver has joined #nixos
<gchristensen> is adding `go` to a stdenv.mkDerivation's buildInputs supposed to setup a hook for setting $GOPATH?
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
kreisys has joined #nixos
detran has joined #nixos
hoijui has joined #nixos
<emilsp> gchristensen: not afaik, but go will now use ~/go if no GOPATH is set.
pie_ has quit [Remote host closed the connection]
silver has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 248 seconds]
silver has joined #nixos
_d0t has quit [Ping timeout: 250 seconds]
<fendor> what is the way to use elm standard functions such as create-elm-app?
<fendor> I cant find it in nixpkgs and cant seem to install it via npm i -g
linarcx has joined #nixos
<gchristensen> interesting, emilsp, because I'm having people tell me it does -- but I can't replicate it
<gchristensen> ah ha! found it
<eraserhd> I'm trying to make a derivation for a Kakoune plugin that drops a file in $out/share/kak/autoload, except Kakoune isn't loading it. This makes sense, I think, because Kakoune probably is looking in /nix/store/.../ for its autoload. Is this where wrappers come in?
andreas31 has quit [Remote host closed the connection]
<immae> eraserhd: you can make a new derivation that copies kakoune to $out, and then links each plugin to $out/share/kak/autoload
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
andreas31 has joined #nixos
o1lo01ol1o has joined #nixos
cfricke has quit [Ping timeout: 244 seconds]
<eraserhd> hmm. So this is something that maybe the kakoune derivation should handle, seeing as Kakoune now has a fair amount of plugins?
<eraserhd> I tried looking at wee-chat and vim for examples, but I couldn't figure out how they work.
<immae> Yes definitly, if plugins are common in kakoune it could be included. I don’t know the "currently" recommended way to write a derivation "withPlugins" (I asked just yesterday about that btw :p ), but basically you would write a kakoune.withPlugins [list of plugins] that will do what I suggested above.
<immae> In my case I took inspiration from "pkgs/development/python-modules/buildbot/default.nix", maybe it will be clearer to you?
<immae> eraserhd: ^
<eraserhd> I will take a look :) I think your description + looking at weechat again helped a bunch, though!
<eraserhd> buildbot is a nice example, indeed.
<immae> eraserhd: I just had a look at weechat and it seems to do it differently from buildbot. I find the buildbot approach simpler but I guess it’s up to you to make that decision :)
waleee has joined #nixos
<immae> if you plan to make a PR for kakoune at some point I would advise to get input from someone that has better knowledge than me of the direction they want to take with inxpkgs
reinhardt has quit [Quit: Leaving]
<eraserhd> I've seen hwo to set cores by passing options to nix-env, nix-shell etc., but is there a way to set a default value for these so I don't have to keep passing it?
<nschoe> eraserhd, I think there's `NIX_BUILD_CORES` (env variable)
<eraserhd> Hmm. I guess I can conditionally set that in my bash_profile. There's not a system-specific place to set it?
<nschoe> eraserhd, hum no my bad, I've just checked it out, this is the value that gets passed in the environment when you set `--cores`
<nschoe> Now I'm curious as well.
<azazel> eraserhd: it's usually set as a default in /etc/nixos/hardware-configuration.nix
<eraserhd> I think there are two things, the number of packages built by nix-env, and the number of jobs sent to make and such. I'm talking about the latter.
<eraserhd> azazel: I think that's the former.
<eraserhd> hmm, it says it defaults to the number of cores in the system setting, but that doesn't seem to be working?
<nschoe> eraserhd, I've got a nix.maxJobs = 4; in hardware-configuration.nix. I think it's the option to pass -j when compiling.
<eraserhd> ahh! OK, packages have to opt in, that's why I'm not seeing it.
<gchristensen> nschoe: not quite
nD5Xjz_ has quit [Ping timeout: 252 seconds]
<gchristensen> nix.maxJobs is for how many parallel Nix builds will be executed at once. nix.buildCores is how many cores each Nix build gets
<gchristensen> with `nix = { maxJobs = 2; buildCores = 2; }` you can have 2 nix-build's happening at once, each with `-j2` -- so you should (probably) have 4 cores
nD5Xjz has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
ramses_ has joined #nixos
camsbury has quit [Remote host closed the connection]
<ramses_> Hey guys, if I want nixos to generate a bridge network as described a couple of paragraphs down here (https://jpetazzo.github.io/2013/10/16/configure-docker-bridge-network/), how would I go about that?
<ramses_> I searched through the nixos options but I cannot find the way to create a bridge with a specific IP network
MmeQuignon has joined #nixos
endformationage has joined #nixos
zeta has joined #nixos
<zeta> i don't know if `hoogle` is integrated and working with `all-hies` or not, i think these instructions are only talking about `nix-shell`, i have these installed in `home.nix`, so i don't know if they are integrated or not ?
nD5Xjz has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0cad24e248b (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
nD5Xjz has joined #nixos
zeta has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
pie_ has joined #nixos
aanderse has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
mmlb39491 has joined #nixos
ixxie has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
zeta has joined #nixos
zeta has quit [Client Quit]
linarcx has quit [Quit: WeeChat 2.4]
schjetne has joined #nixos
<deadloko> Greetings, i'm trying to build derivation of llvmPackages_8.clang-unwrapped (want to build clazy as a plugin for qtcreator to use) https://pastebin.com/afQMxyCW but when i'm trying to build it i got error "cmake.../nix-support/setup-hook: line 10: ./tools/extra/clazy/ClazySources.cmake.tmp: Permission denied" can anybody help me?
<deadloko> I suppose it's something about how i'm fetching clazy source for build, but clang's default.nix does the same thing for clang-tools-extra
schjetne has quit [Ping timeout: 248 seconds]
corpix[m] has quit [Ping timeout: 264 seconds]
corpix[m] has joined #nixos
fusion809 has quit [Remote host closed the connection]
Minijackson[m] has quit [Ping timeout: 264 seconds]
Minijackson[m] has joined #nixos
MmeQuignon has quit [Ping timeout: 252 seconds]
fusion809 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sb0 has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
orivej has joined #nixos
kreisys has joined #nixos
schjetne has joined #nixos
fendor has joined #nixos
<gentauro> I'm getting this exact error message -> https://logs.nix.samueldr.com/nixos/2019-02-28#1998238
<gentauro> even though dbus is running ...
kim0 has quit [Quit: Connection closed for inactivity]
johann__ has quit [Quit: WeeChat 1.9.1]
<gentauro> OK, this is the exact error message -> https://github.com/taffybar/taffybar/issues/83#issue-38235223
schjetne has quit [Ping timeout: 246 seconds]
jabranham has joined #nixos
knupfer has joined #nixos
sigmundv__ has quit [Ping timeout: 246 seconds]
schjetne has joined #nixos
<srhb> gentauro: How are you starting taffybar?
<gentauro> srhb: yes :)
<srhb> gentauro: ... yes? :P
pie_ has left #nixos ["Leaving"]
<gentauro> stack exec --resolver=lts-13.19 -- taffybar
<gentauro> it recompiles and everything
pie_ has joined #nixos
<srhb> gentauro: And does DBUS_SESSION_BUS_ADDRESS actually exist?
<gentauro> but it can't find the dbus (even though it's started)
<srhb> I'm guessing your session manager should be setting that.
<gentauro> srhb: when echo $DBUS_SESSION_BUS_ADDRESS
<srhb> gentauro: Not understood. When you echo that, what do you get?
cfricke has joined #nixos
<gentauro> srhb: yes in configuration.nix (services.gnome3.at-spi2-core.enable = true;
<gentauro> srhb: can't copy paste, different windows
<gentauro> but something like
<srhb> gentauro: unix:abstract=/tmp/dbus-ANNoEPbfPd,guid=fa683b560d8ae1d2b2b819be5cd02908 ?
<srhb> (Something like that)
<gentauro> srhb: yep
<srhb> Does dbus-monitor work?
<gentauro> yep as well :)
<srhb> Odd.
<gentauro> srhb: yeah, I been reading a lot on the internet
<gentauro> solutions that are actually marked as solved
<gentauro> but doesn't work for me :|
<gentauro> so I tought I would give it a go here
<gentauro> at this point, since I got `xmonad` to work, I'm thinking about just dropping `taffybar`
<gentauro> or chossing an alternative
<gentauro> (xmobar)
<srhb> gentauro: Maybe try using it the nix way?
<srhb> Like, home-manager comes with a taffybar service.
gal_bolle has quit [Ping timeout: 268 seconds]
uranther has quit [Quit: Connection closed for inactivity]
<gentauro> srhb: hehehe, for me right now (in the transition from Qubes OS to NixOS) the important part is that I can install Haskell only depending on `stack`
<gentauro> if this is not possible, NixOS might not be for me ;)
<srhb> gentauro: It's possible, but it seems like a very rough and complicated way to go.
<gentauro> srhb: my primary work is with Haskell, that's why it needs to work
<gentauro> I can live without taffybar ;)
<emilsp> how does one accept the the end user license agreement for android sdk
<srhb> gentauro: I can live without stack :-P
<gentauro> srhb: that's fair enought :D
<gentauro> s/enought/enough
rwe has joined #nixos
aanderse has quit [Ping timeout: 264 seconds]
<srhb> gentauro: It might be easier to debug what's wrong with the stack version with a working nix version :)
<srhb> gentauro: Comparing the two.
<srhb> gentauro: Like, presumably stack doesn't wipe out the environment variable, and dbus-monitor should expose whether the address is actually wrong.
ilikeheaps has joined #nixos
<srhb> gentauro: Maybe strace will reveal what it's trying to do :)
<srhb> gentauro: Oh. Actually, stacks nix integration might be invoking nix-shell with --pure
schjetne has quit [Ping timeout: 255 seconds]
<srhb> gentauro: Which _does_ wipe out the env var
<srhb> gentauro: So try --no-nix-pure
<emilsp> does anyone have an example shell for building android things?
schjetne has joined #nixos
Tucky has quit [Quit: WeeChat 2.4]
<srhb> gentauro: Also, I recommend that you read through the stack documentation on its Nix integration in general to understand what it actually does.
globin has quit [Remote host closed the connection]
fresheyeball has joined #nixos
globin has joined #nixos
<fresheyeball> anyone out there have an example of managing vim plugins with nix?
Makaveli7 has quit [Quit: WeeChat 2.4]
hoijui has quit [Ping timeout: 248 seconds]
<aminechikhaoui> fresheyeball the wiki has some examples that are useful https://nixos.wiki/wiki/Vim
<gentauro> srhb: I tried the "--no-nix-pure" but then it complains about a lot of of directories ...
<gentauro> I mean, I'm not in a hurry with this. I rather do it correctly from the start (I dropped my initial blog post) and I'm following taffybars own guide (from GitHub)
<gentauro> which doesn't work ofc (as they should cos :D)
<srhb> gentauro: Those error messages sound relevant
<srhb> gentauro: stack exec dropping the dbus address is definitely your first problem, --no-nix-pure fixes that.
<srhb> gentauro: Then, onto the next errosr.
<gentauro> srhb: roger that
nD5Xjz_ has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
sigmundv__ has joined #nixos
globin has quit [Quit: o/]
globin has joined #nixos
mwilsoncoding has joined #nixos
<mwilsoncoding> anyone currently able to get disnix working with EC2?
Glider_IRC has joined #nixos
<mwilsoncoding> I'm running into a `readlink: missing operand` error right off the bat
<mwilsoncoding> looks like getopt is not seeing my command line args supplied for -s -n and -d
nD5Xjz has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
nD5Xjz has joined #nixos
<tilpner> There are probably only a few people who can answer that question, and they're probably not reading along right now
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ba9d0c6c162 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<tilpner> Perhaps just open an issue?
hoijui has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
<arianvp> worldofpeace: i'm hitting this super weird bug in gnome where caps lock is inverted on the lock screen
<arianvp> so caps lock OFF in session = caps lock ON in lockscreen
dbmikus has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
<arianvp> fresheyeball:https://github.com/arianvp/nixos-stuff/blob/master/overlays/neovim.nix
Glider_IRC has quit [Quit: Leaving]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<Ariakenom> I nix-env installed clementine and then nix-env uninstalled it. But it still starts on boot.
freeman42y has joined #nixos
<Ariakenom> anyone know why?
<tilpner> Do you know what starts it?
<tilpner> If it's some DE autostart thing, it might have copied the resolved path into some config file
<tilpner> And that will work until you GC
<tilpner> You may be able to inspect the process tree in htop
<tilpner> Or ps f
wfranzini has quit [Remote host closed the connection]
kaliumxyz has joined #nixos
<Ariakenom> ps f didn't show anything interesting
<goibhniu> are you running plasma, Ariakenom?
<Ariakenom> yes
<Ariakenom> Even if GC makes its stop that seems hacky, basically I broke the config right?
<Ariakenom> I would've broken*
<goibhniu> it might be that the Desktop Session is set to "Restore previous session", and that it remembers you were running clementine
duoi has quit [Ping timeout: 264 seconds]
<eraserhd> How can I, as a temporary hack, get a working libz.so.1 on my system for program distributed as binary? I've install zlib, and it appears in /run/current-system/sw, but ldd still says "not found" when running the binary.
<emilsp> eraserhd: you'll have to look into elfpatch and patch the binary
<Ariakenom> goibhniu, it is on restore but
<Ariakenom> I did quit clementine when I shut down
duoi has joined #nixos
<Ariakenom> I will try again
Ariakenom has quit [Remote host closed the connection]
deadloko has quit [Quit: WeeChat 2.4]
<clever> ,libraries eraserhd
<{^_^}> eraserhd: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<tilpner> Ariakenom: Right, let's just add all the other flags as well: ps auxf
Ariakenom has joined #nixos
<Ariakenom> it's aliiive
o1lo01ol1o has joined #nixos
<tilpner> Is that good or bad in this case?
<Ariakenom> eh bad
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
erasmas has joined #nixos
<tilpner> Ariakenom: Right, let's just add all the other flags as well: ps auxf
<tilpner> Although you seem to have an explanation for why clementine is started already
<Ariakenom> I do?
esmerelda has quit [Ping timeout: 246 seconds]
sheenobu has quit [Remote host closed the connection]
travelion has quit [Quit: bye]
esmerelda has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
travelion has joined #nixos
<Ariakenom> the tree leads to kdeinit5
<worldofpeace> arianvp: Is it that caps lock is never the state it was within the running session in GDM?
<arianvp> Yeh they're always opposites
<eraserhd> clever: thanks, but this doesn't work for supporting binaries. patchelf is the right thing, if I can figure it out.
<eraserhd> emilsp: ty
<worldofpeace> arianvp: yeah that's really weird, only issue I'm aware of with GDM and a running session is that they have separate dconf profiles so they don't get the settings of the session
<worldofpeace> but this sounds really different
<arianvp> Hmm maybe it is that though. I have swapescape on in my dconf
<emilsp> eraserhd: I've got an example shell.nix and patch-bins.sh file if you want to have a look at it :)
sir_guy_carleton has joined #nixos
<arianvp> But .. I'm pretty sure I am enabling caps lock with escape key too in gdm
lockshaw has quit [Quit: ZNC 1.7.2+deb2 - https://znc.in]
<arianvp> So that suggests they're actually using the same profile
<eraserhd> emilsp: that would be very nice :)
trh_ has joined #nixos
<worldofpeace> arianvp: I don't think caps lock is a setting though. And with the escape key, is that expected?
nD5Xjz has quit [Ping timeout: 248 seconds]
<emilsp> Oh wait
<trh_> quick question: anyone have a link to documentation on running a binary with `sudo` without providing a password?
Glider_IRC has joined #nixos
<trh_> specifically, i believe i could run the `light` application to control my backlight pre-19.03 but now I must use sudo
<trh_> sudo light -u 10% to reduce the backlight by 10%, for example
<emilsp> ah, yep, those are two distinct links
nD5Xjz has joined #nixos
pointfourone has joined #nixos
romildo has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.1)]
johanot has quit [Quit: WeeChat 2.4]
Ariakenom has quit [Remote host closed the connection]
mwilsoncoding has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<Plotinus> trh i think you need hardware.brightnessctl.enable = true;
<Plotinus> and then to add yourself to the "video" group
lockshaw has joined #nixos
Ariakenom has joined #nixos
srid has quit [Ping timeout: 250 seconds]
<eraserhd> emilsp: hurrah! it works!!
<worldofpeace> arianvp: yeah checked, only state being saving for keys is numlock `org.gnome.settings-daemon.peripherals.keyboard numlock-state`
<emilsp> eraserhd: congratulations :)
<Ariakenom> tilpner, clementine shows up in nix-store --gc --print-roots so I must've failed the uninstall.
<Ariakenom> I did nix-env --uninstall clementine, clementine autocompleted the first time so I was confident it would work
romildo has quit [Quit: Leaving]
drakonis has joined #nixos
Ariakenom has quit [Remote host closed the connection]
hoijui has quit [Remote host closed the connection]
<arianvp> odd
<trh_> Plotinus: Oof -- well, that would help
<arianvp> also, the caps lock warning is flipped as well
<arianvp> (it shows when i have caps lock off, and goes away when I have caps lock on)
<arianvp> :/
<tilpner> ,tell Ariakenom You can use nix-env -q to check what's installed in your nix-env environment
<{^_^}> tilpner: I'll pass that on to Ariakenom
drakonis_ has quit [Ping timeout: 245 seconds]
srid has joined #nixos
<emilsp> how do I enable go's c-archive buildmode on nix?
<emilsp> is it enabled automatically by including the required dependencies ?
<worldofpeace> arianvp: upstream bug with inconsistencies https://gitlab.gnome.org/GNOME/gdm/issues/236 though my eyes are having a hard time reading it :) . For me when I log out with caps locks it's gone. wonder how to get logs on this (acpi_monitor?).
alexherbo2 has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<AlexRice[m]> trh_: not sure if you've worked it out but for light you'll want programs.light.enable not programs.brightnessctl.enable
vidbina has quit [Ping timeout: 248 seconds]
cfricke has joined #nixos
cfricke has quit [Client Quit]
roconnor_ has joined #nixos
mmercier has quit [Quit: mmercier]
nD5Xjz has quit [Ping timeout: 246 seconds]
roconnor has quit [Ping timeout: 264 seconds]
schjetne has joined #nixos
nD5Xjz has joined #nixos
alexherbo2 has joined #nixos
talqu has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
zeta has joined #nixos
Jetien_ has quit [Ping timeout: 250 seconds]
<emilsp> hm, is there a way to get an environment with all the ANDROID_SDK and ANDROID_NDK_HOME env variables set for a given target ?
<trh_> AlexRice: I now have hardware.brightnessctl.enable and programs.light.enable
trh_ has quit [Quit: Lost terminal]
<zeta> in .emacs what is this `#` sign used for ? (add-hook 'haskell-mode-hook #'lsp)
<zeta> do i need it
fendor has quit [Ping timeout: 246 seconds]
<AlexRice[m]> trh_: I don't think you should need the brightnessctl one
fresheyeball has quit [Quit: WeeChat 2.4]
trh_ has joined #nixos
<trh_> that seems to be working now, though
<trh_> (hardware.brightnessctl + video in users group + programs.light.enable)
zeta has quit [Client Quit]
ee1943 has quit [Ping timeout: 250 seconds]
ee1943 has joined #nixos
alexherbo22 has joined #nixos
<trh_> :q
trh_ has quit [Quit: Lost terminal]
alexherbo2 has quit [Ping timeout: 258 seconds]
ar1a has quit [Ping timeout: 245 seconds]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
<Baughn> Spend two hours debugging bpftrace. Then realize it was already fixed upstream.
<Baughn> >_<
ar1a has joined #nixos
pointfourone has quit [Quit: Leaving]
pointfourone has joined #nixos
ambro718 has joined #nixos
<pie_> Baughn, nyooo~~ at least you noticed :p
thomashoneyman has joined #nixos
<Baughn> pie_: Yes, while preparing a PR.
<pie_> oh...i was hoping that wasnt it
linarcx has joined #nixos
nD5Xjz has joined #nixos
<ambro718> Is someone familiar with CUDA libraries? Is there a specific helper library that links to or dlopens libcuda.so (which comes with the nvidia drivers and ends up in /run/opengl-driver/lib)? Do any apps use libcuda directly?
<manveru> ambro718: i think https://discourse.nixos.org/search?q=cuda has some ideas :)
nD5Xjz_ has quit [Ping timeout: 246 seconds]
<manveru> (not using cuda myself, sorry)
<ambro718> Need to know for getting rid of LD_LIBRARY_PATH=/run/opengl-driver/lib
<pie_> ambro718, for the latter you could try to grep nixpkgs for mentions of it
pointfourone has left #nixos [#nixos]
drewr has joined #nixos
<gchristensen> is evolution nice?
cfricke has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<Baughn> pie_: Not entirely sure it actually fixes my problem, the commit descriptions aren't clear. I'll find out once it gets through master.
<Baughn> Meanwhile I do have a working bpftrace on my own systems, so hey.
<Baughn> And while I'm not sure their work fixes it, I *am* sure that mine is the wrong way to do it. I mean, look at this: https://github.com/Baughn/nixpkgs/commit/6834f679f6841d69fe5de4c4610aa80a75f13d89
<Baughn> At least. I think.
Czen has quit [Remote host closed the connection]
<Baughn> The amount of documentation for this.... has a lot in common with deep space.
tsrt^ has quit []
orivej has quit [Ping timeout: 245 seconds]
schjetne has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ba9d0c6c162 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
zeta has joined #nixos
<pie_> deep space has a lot of documentation though
<pie_> its just human written
<pie_> and i guess maybe pretty incomplete
<pie_> yeah ok maybe youre right :p
abaiste^ has joined #nixos
<Baughn> They're both only barely above absolute zero!
<gchristensen> haha, rough
<zeta> when i export an environment variable in nixos, what dir/file does it get exported to ?
logzet_ is now known as logzet
<Baughn> zeta: How are you exporting it?
<gchristensen> is there a handy way to enable org.freedesktop.secrets without turning on Gnome overall?
<zeta> last section on hoogle, executing in terminal: https://github.com/domenkozar/hie-nix
ee1943 has quit [Ping timeout: 246 seconds]
<tilpner> That's not stored in any file
<pie_> gchristensen, no idea but the apache sql database UI thing wanted it. i think there was something i managed to install that made it less unhappy but then something else broke
<gchristensen> hah
<pie_> oh right it segfaulted for some reason
<Baughn> zeta: That just sets it for the current shell, and any subprocesses.
<gchristensen> I'm suspecting services.gnome3.gnome-documents.enable is what I want ...
<gchristensen> I'm suspecting services.gnome3.gnome-keyring.enable is what I want ... *
<tilpner> zeta: If you want that to be persistent, see environment.sessionVariables or environment.variables
sheeldotme has joined #nixos
<worldofpeace> gchristensen: yep pretty sure it's the keyring
<tilpner> (Although you won't be able to shell-interpolate in there)
<gchristensen> this whole "integrating with dbus" thing is pretty cool
<pie_> is it?
<gchristensen> I'm liking it pretty well .. :)
schjetne has quit [Ping timeout: 252 seconds]
<pie_> what are you using it for
<gchristensen> well like gnome-keyring and evaluation-data-server don't run any processes, they just hook in to dbus
<pie_> huh
<pie_> i havent really managed to look into dbus yet so its been largely opaque to me
logzet has quit [Ping timeout: 248 seconds]
logzet has joined #nixos
<zeta> well i have both `all-hies.latest` and `hoogle` installed in `home.nix` how would i set a persistent environment variable for this , if you guys coud pastebin the syntax, thanks https://hastebin.com/momirefece.bash
<zeta> in debian i would do this in `.bashrc`
ckoparkar has quit [Ping timeout: 252 seconds]
ckoparkar has joined #nixos
disasm_ has joined #nixos
disasm has quit [Ping timeout: 245 seconds]
esmerelda has quit [Ping timeout: 252 seconds]
aanderse-work has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
thomashoneyman has quit [Quit: leaving]
alexherbo223 has joined #nixos
Ralith_ has joined #nixos
<samrose> can we use the `EnvironmentFile` setting in nixos systemd services?
<aanderse-work> samrose: you can
<aanderse-work> several modules do
<samrose> aanderse-work: does it go in serviceConfig
<aanderse-work> if memory serves me correctly yes
alexherbo22 has quit [Ping timeout: 252 seconds]
<aanderse-work> a quick search through the codebase will show you a few results
<samrose> aanderse-work: thanks I am checking now
esmerelda has joined #nixos
<aanderse-work> np
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8c6c85de4d5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<samueldr> samrose: it goes into whatever section it is documented in the systemd manuals; option names are automatically assumed to be systemd configuration options
<samueldr> samrose: so in theory if they were to add the FooBarBaz option, there is no need to add it to the nixos modules
johanot has joined #nixos
troydm has joined #nixos
linarcx has quit [Ping timeout: 248 seconds]
Czen has joined #nixos
linarcx has joined #nixos
<gchristensen> lol. installed Evolution. configured it. exited and started it again, same version -> "sorry, your mail format is out of dat"
Myhlamaeus has joined #nixos
<aanderse-work> gchristensen: corporate mail on linux is -1 :(
<Yaniel> at least it says what is wrong
<gchristensen> mail is -1 in general. corporate mail, doubly so :P
<zeta> can i set environment variables in home-manager(home.nix) ?
nD5Xjz has quit [Ping timeout: 252 seconds]
<zeta> ?
ixxie has quit [Ping timeout: 255 seconds]
<lordcirth__> zeta, home.sessionVariables
<lordcirth__> { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; };
linarcx has quit [Ping timeout: 244 seconds]
<zeta> lordcirth__: thanks, is your second post for me as well.
orivej_ has joined #nixos
linarcx has joined #nixos
<lordcirth__> zeta, yes, that's an example of what to set it to, per the docs
orivej has quit [Ping timeout: 258 seconds]
domogled has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.4]
Glider_IRC_ has joined #nixos
fendor has joined #nixos
<zeta> lordcirth__: `per the docs` for integrating `haskell-ide-engine` with `hoogle` ?
<lordcirth__> zeta, no, per the docs for home-manager
<lordcirth__> Ie the syntax. The values are arbitrary examples
lovesegfault has joined #nixos
<rycee> zeta: Like lordcirth__ https://rycee.gitlab.io/home-manager/options.html#opt-home.sessionVariables
schjetne has joined #nixos
<rycee> Umm, meant to write "like lordcirth__ said you can use home.sessionVariables as documented here:" :-)
nD5Xjz has joined #nixos
Glider_IRC has quit [Ping timeout: 246 seconds]
siel has quit [Ping timeout: 276 seconds]
<lordcirth__> Yes, that's a good link. I actually found it in the source first.
<lordcirth__> rycee, Thanks for making home-manager!
wfranzini has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<rycee> Thanks for liking home manager :-)
nD5Xjz has quit [Ping timeout: 245 seconds]
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nD5Xjz has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8c6c85de4d5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
nD5Xjz_ has joined #nixos
ckoparkar has quit [Ping timeout: 248 seconds]
nD5Xjz has quit [Ping timeout: 248 seconds]
nD5Xjz_ has quit [Ping timeout: 252 seconds]
<zeta> lordcirth__++
<{^_^}> lordcirth__'s karma got increased to 1
<zeta> rycee++
<{^_^}> rycee's karma got increased to 11
<lordcirth__> hmm, considering that the number of underlines tends to rotate around, karma may not work properly :P
<lordcirth__> Perhaps I should get a bouncer already
ckoparkar has joined #nixos
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<johanot> someone should implement "transfer-karma". I heard about something called distributed consensus algos and blockchain.. and... I'll just show myself out.
<zeta> lordcirth__: what does gsoptions and papersize mean ?
<lordcirth__> zeta, no idea. It's just an example variable + value.
<lordcirth__> Probably Ghostscript, actually
waleee has quit [Quit: WeeChat 2.4]
nD5Xjz has joined #nixos
__monty__ has joined #nixos
esmerelda has quit [Ping timeout: 258 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
schjetne has quit [Ping timeout: 252 seconds]
shibboleth has joined #nixos
nD5Xjz has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
cfricke has quit [Quit: WeeChat 2.4]
fendor has quit [Read error: Connection reset by peer]
sigmundv__ has quit [Ping timeout: 244 seconds]
fendor has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
shibboleth has quit [Quit: shibboleth]
acarrico has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/6ec0970062c (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
aanderse has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
MichaelRaskin has joined #nixos
esmerelda has joined #nixos
Profpatsch has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
ckoparkar has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
ckoparkar has joined #nixos
<gchristensen> clever: is it possible to bake the `init=...` parameter in to a netboot image?
<asymmetric> hey, i'm trying to get a package from pypi that def exists, but maybe not as a tar.gz
<infinisil> johanot: I thought about allowing users to combine karma of their accounts if they can verify they're the same person
<asymmetric> i'm writing the package, and nix only tries to fech a tarball
<clever> gchristensen: the current netboot image also generates an ipxe script that handles it for us, but .... hmmm
<clever> gchristensen: you could bake the init= into the initrd itself, with a bit of unsafe discard context
<gchristensen> oh cool
schjetne has joined #nixos
nD5Xjz has joined #nixos
<gchristensen> sphalerite: mind bumping fpletz to reply to https://github.com/NixOS/nixos-homepage/pull/260 ? :)
<{^_^}> nixos-homepage#260 (by davidak, 13 weeks ago, open): [WIP] Add licenses
<gchristensen> thank you clever, that should help with Packet a lot :)
<asymmetric> ok found out about `format = wheel`, but it seems that pypi uses _ instead of - for package names?
<asymmetric> e.g. https://pypi.org/project/crytic-compile/#files the file is actually crytic_compile...tar.gz
<johanot> infinisil: right. but I guess the verification-part is the annoying aspect? :)
<infinisil> johanot: Yeah probably
silver_ has joined #nixos
alter-schjetne has joined #nixos
wreckingwalla_ has joined #nixos
toppler` has joined #nixos
lambda-11235 has joined #nixos
janneke_ has joined #nixos
realrokka_ has joined #nixos
knupfer1 has joined #nixos
calbrecht[mb]_ has joined #nixos
roconnor has joined #nixos
aanderse_ has joined #nixos
janneke_ is now known as janneke`
<ambro718> How would one find all packages in all of nixpkgs that contain certain paths (list or better a regex)? E.g. I want to find all packages that contain /lib/foo or /lib/bar.
chris|_ has joined #nixos
mkoenig_ has joined #nixos
__monty_1 has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
alter-schjetne has quit [Ping timeout: 245 seconds]
delroth1 has joined #nixos
zeta_ has joined #nixos
disasm| has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
chris| has quit [Ping timeout: 248 seconds]
kreisys has quit [Ping timeout: 248 seconds]
__monty__ has quit [Ping timeout: 248 seconds]
Czen has quit [Ping timeout: 248 seconds]
disasm_ has quit [Ping timeout: 248 seconds]
MmeQuignon has quit [Ping timeout: 248 seconds]
mkoenig has quit [Ping timeout: 248 seconds]
delroth has quit [Ping timeout: 248 seconds]
atopuzov[m] has quit [Ping timeout: 248 seconds]
schjetne has quit [Ping timeout: 248 seconds]
aanderse has quit [Ping timeout: 248 seconds]
zeta has quit [Ping timeout: 248 seconds]
roconnor_ has quit [Ping timeout: 248 seconds]
silver has quit [Ping timeout: 248 seconds]
realrokka has quit [Ping timeout: 248 seconds]
wreckingwalla has quit [Ping timeout: 248 seconds]
hedning_ has quit [Ping timeout: 248 seconds]
toppler has quit [Ping timeout: 248 seconds]
janneke has quit [Ping timeout: 248 seconds]
Kim has quit [Ping timeout: 248 seconds]
calbrecht[mb] has quit [Ping timeout: 248 seconds]
chris|_ is now known as chris|
knupfer1 is now known as knupfer
__monty_1 is now known as __monty__
Czen has joined #nixos
atopuzov[m] has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
Kim has joined #nixos
Profpatsch has joined #nixos
ar1a has quit [Ping timeout: 246 seconds]
delroth1 is now known as delroth
<zeta_> infinisil: is this how i setup `hoogle` `environment variable` in `home.nix` so that `all-hies` can detect `hoogle` ? also do i need to use the `index` from: `nix's hoogle wrapper script` like it states in the `hie(hoogle section)` instructions ?
ar1a has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.4]
trev has joined #nixos
trev is now known as trevtheretardedd
<trevtheretardedd> hi all
siel has joined #nixos
buffet_ is now known as buffet
<trevtheretardedd> a bit of a stupid question, but how to i request to merge my changes on a package to the master branch?
jakkn has joined #nixos
<trevtheretardedd> I modified the Dwarf Fortress package on my fork and then pushed, but I don't know how to actually request my changes to be on the main branch or whatever
<trevtheretardedd> (I'm not very git literate)
<manveru> trevtheretardedd: it's called pull request
<gchristensen> let's get you back to trevthedev and chat then :P
<gchristensen> (no need for the self-denigration when you're not sure how to do something :))
trevtheretardedd has quit [Changing host]
trevtheretardedd has joined #nixos
trevtheretardedd is now known as trevthedev
<trevthedev> hmm
Guest68349 has quit [Ping timeout: 252 seconds]
Plotinus_ has joined #nixos
ayerhart has quit [Quit: ayerhart]
<gchristensen> manveru++
<{^_^}> manveru's karma got increased to 14
<gchristensen> trevthedev: where is your fork on GitHub?
<zeta_> is this how i setup `hoogle` `environment variable` in `home.nix` so that `all-hies` can detect `hoogle` ? also do i need to use the `index` from: `nix's hoogle wrapper script` like it states in the `hie(hoogle section)` instructions ?
ayerhart has joined #nixos
<gchristensen> trevthedev: do you see the "New pull request" button?
<trevthedev> ye
<gchristensen> click that, it'll take you to a page with a green "Create pull request" button, click that one
Guest68349 has joined #nixos
<gchristensen> and then fill out the text box with the relevant information and click the final, green, "Create pull request" button
nD5Xjz has joined #nixos
Plotinus has quit [Ping timeout: 255 seconds]
<trevthedev> hmm, need to push my df changes to release i think
<trevthedev> or something i dont know, it says theres thousands of changes to various things i didn't touch
<zeta_> i'm confused !!!
<trevthedev> aren't we all
<gchristensen> trevthedev: keep the PR's target branch as "master"
<trevthedev> there we go
<trevthedev> i dont see a text box for me to fill out anything though
<trevthedev> oh!
<trevthedev> there we go
fenedor has joined #nixos
<trevthedev> has a lot of things about PR and stuff wew
Guest68349 has quit [Client Quit]
<infinisil> zeta_: No that won't work, but I also have no idea how it could work sorry
nD5Xjz has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
<trevthedev> i went ahead and sent the request, i dont know if i did it good or not
<trevthedev> well, i'll be off on a walk now, just wanted that option to be available haha, cheers
<trevthedev> (ik it probably wont be accepted due to bad formatting but i really have a hard time figuring that stuff out, sorry)
trevthedev has quit [Quit: WeeChat 2.4]
<gchristensen> interesting, {^_^} is quiet
<gchristensen> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<zeta_> infinisil: :(
<zeta_> rycee: do you think you could help me out with this problem in home.nix ?
<zeta_> is this how i setup `hoogle` `environment variable` in `home.nix` so that `all-hies` can detect `hoogle` ? also do i need to use the `index` from: `nix's hoogle wrapper script` like it states in the `hie(hoogle section)` instructions ?
<zeta_> rycee: home.sessionVariables = { HIE_HOOGLE_DATABASE = "hoogle"; };
<kaliumxyz> How can I get the ip of the EC2 instance I deploy in the route53 record I create using nixops?
<rycee> zeta_: There is something about the variable here: https://github.com/domenkozar/hie-nix#how-can-i-expose-nixs-hoogle-database-to-hie
nD5Xjz has joined #nixos
<rycee> I guess they prefer to set it up in a nix-shell. Perhaps it doesn't work very well to have it installed globally?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/24debf74ef5 (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nD5Xjz has quit [Ping timeout: 255 seconds]
<zeta_> rycee: if i understand correctly, that's only for: nix-shell and it is not persistent. i want to set the hoogle environment variable locally for all-hies.latest in home.nix, is this possible ?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2df17ecf1b7 (from 55 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
witchof0x20 has quit [Quit: WeeChat 2.2]
witchof0x20 has joined #nixos
schjetne has joined #nixos
aanderse-work has quit []
witchof0x20 has quit [Client Quit]
sigmundv__ has joined #nixos
<eraserhd> hmm, why might I not be able to see the graalvm derivations, even though I have allowUnfree = true; in ~/.config/nixpkgs/config.nix?
<asymmetric> does anyone know if pypi has changed its layout for tarballs/wheels?
witchof0x20 has joined #nixos
<{^_^}> [nixpkgs] @stefano-m opened pull request #61060 → awesome: use makeWrapper rather than wrapProgram → https://git.io/fjcfr
<asymmetric> the location where they're stored, i mean
<rycee> zeta_: Sorry, I can't say. I've never used hie and hoogle only superficially.
<asymmetric> ok, turns out there's no correlation between a package's name on pypi and its tarball's name
<asymmetric> not really sure why
nD5Xjz has joined #nixos
<zeta_> rycee: well if you could at least help me with the environment variable please, here is my pastebin:
<rycee> Sure, what would you like to set it to?
jakkn has quit [Ping timeout: 258 seconds]
<zeta_> rycee: does that hoogle env var look correct ? will all-hies.latest detect hoogle with that path ?
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60525 → flacon: 5.2.0 -> 5.4.0 → https://git.io/fjZLp
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcfb
<zeta_> rycee: i am not sure how to set the env var to integrate them ?
<rycee> zeta_: If you are installing hoogle through some way that produces the same wrapper script as ghcWithHoogle then I would assume the variable as given on the hie-nix page would work.
ckoparkar has quit [Remote host closed the connection]
<rycee> zeta_: Basically, from what I can tell the HIE_HOOGLE_DATABASE variable should point to some hoogle database file.
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcfh
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60957 → bacula: 9.4.2 -> 9.4.3 → https://git.io/fjcfj
<rycee> Not the hoogle binary.
tmaekawa has quit [Client Quit]
<zeta_> rycee: so here's what my home.nix looks like so far: https://hastebin.com/esifihacav.bash
<rycee> `HIE_HOOGLE_DATABASE = "/etc/profiles/per-user/wolf/bin/hoogle";` looks like you are pointing the database variable to a binary, not a database.
<rycee> Which I assume will not work.
<zeta_> rycee: so what would be the correct path, i have no idea ?
<rycee> zeta_: I think there are some functions to generate hoogle databases for specific packages. Perhaps it is documented in the Nixpkgs manual.
aszlig has quit [Quit: Kerneling down for reboot NOW.]
mmercier has joined #nixos
<zeta_> rycee: also where is `nix's hoogle wrapper script`, it says to look there in the instructions ?
lambda-11235 has quit [Quit: Bye]
MiloIgnis[m] has quit [Ping timeout: 264 seconds]
MiloIgnis[m] has joined #nixos
<rycee> I assume it's installed by ghcWithHoogle?
<zeta_> rycee: sorry if i'm being a help vampire, i have been stuck all day on this.
<rycee> Again, I don't know these things. I'm just guessing based on the documentation I've looked up while chatting here.
aszlig has joined #nixos
mmercier has quit [Client Quit]
o1lo01ol1o has joined #nixos
kim0 has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
<kaliumxyz> ahve figured out how to do it, is there some way to update the nixops docs easily?
<kaliumxyz> like is it just wiki or is it generated somehow?
<kaliumxyz> because they are very lacking and I wish to ammend c:
<zeta_> rycee: well i installed `hoogle` in `home.nix` so the `hoogle wrapper script` should be there somewhere(i think) ?
<aminechikhaoui> kaliumxyz https://github.com/NixOS/nixops/tree/master/doc/manual is what the nixops manual is generated from
<rycee> zeta_: I think you won't get a database if you just install haskellPackages.hoogle.
<rycee> You need to use the ghcWithHoogle function to also specify which packages you want to include.
MmeQuignon has joined #nixos
<kaliumxyz> Thansk c:
o1lo01ol1o has quit [Ping timeout: 255 seconds]
_e has quit [Ping timeout: 258 seconds]
<qyliss> anyone have any idea why starting firefox from firefox-wayland would start Xwayland, even though the firefox window is a proper wayland window?
<zeta_> rycee: so in home.nix replace `ghcWithPackages` with `ghcWithHoogle` or am i allowed to have both ?
tbenst_ has quit [Remote host closed the connection]
<__monty__> I don't think you can have both.
<rycee> zeta_: Yeah, perhaps it is enough to change `haskellPackages.ghcWithPackages` to read `haskellPackages.ghcWithHoogle`
<__monty__> Unless you work with buildEnvs or something ofc.
* colemickens also wants to know, tired of logging into Fractal.
<zeta_> rycee: and then will it integrate with `all-hies.latest` ?
knupfer has quit [Ping timeout: 252 seconds]
<zeta_> rycee: i have the haskell-ide-engine integrated with emacs and it seems to be working fine, all i need is to integrate hoogle with these, and i'll be good to go.
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<rycee> zeta_: I tried using ghcWithHoogle in my configuration and the command shown in the hie-nix readme seems to work. It prints the path to the .hoo file
<rycee> Whether it will actually work I have no idea.
esmerelda has quit [Ping timeout: 250 seconds]
laalf has joined #nixos
itorres has quit [Ping timeout: 244 seconds]
itorres has joined #nixos
witchof0x20 has quit [Quit: WeeChat 2.4]
freeman42z has joined #nixos
witchof0x20 has joined #nixos
<zeta_> rycee: so after yom entered the code in terminal(the hoogle command) it printed the path to the .hoogle file or did you have to enter another command ?
<zeta_> rycee: to get the output of the printed file, that is ?
kreisys has joined #nixos
<rycee> zeta_: Can try putting `HIE_HOOGLE_DATABASE = "$(cat $(which hoogle) | sed -n -e 's|.*--database \(.*\.hoo\).*|\1|p')"` in your home.sessionVariables and see if it works.
freeman42x has joined #nixos
freeman42y has quit [Ping timeout: 258 seconds]
<zeta_> rycee: ok, i'll try that out, i'll let you know if it works or not.
lovesegfault has joined #nixos
nDuff has joined #nixos
freeman42z has quit [Ping timeout: 264 seconds]
_e has joined #nixos
<rycee> zeta_: Running `cat $(which hoogle) | sed -n -e 's|.*--database \(.*\.hoo\).*|\1|p'` prints `/nix/store/8kxh2kychbhqaj0hr2yc7nwj21i9hry3-hoogle-local-0.1/share/doc/hoogle/default.hoo` for me.
<nDuff> Howdy -- I recently submitted a PR to nixpkgs, and got a note from grahamcofborg-eval that access to the git server hosting the upstream source "is forbidden in restricted mode". What's going on here? Does a privileged human need to whitelist external sources?
<MichaelRaskin> nDuff: do you fetch then import an upstream nix file?
<yorick> if I run fatrace I see dhcpcd-run-hook run every 5 seconds
pie_ has joined #nixos
<nDuff> MichaelRaskin: ...no; I'm fetching a source tree, and a patch to apply, but nothing evaluated as Nix code.
<{^_^}> [nixpkgs] @witkamp opened pull request #61061 → gcc-arm-embedded: add darwin support → https://git.io/fjcJS
<rycee> Hmm, I guess `HIE_HOOGLE_DATABASE = "$(cat $(which hoogle) | sed -n -e 's|.*--database \(.*\.hoo\).*|\1|p')"` won't work as-is. Need to escape the \ characters.
<MichaelRaskin> nDuff: wait, fetchgit without content hash?
<rycee> `HIE_HOOGLE_DATABASE = "$(cat $(which hoogle) | sed -n -e 's|.*--database \\(.*\\.hoo\\).*|\\1|p')";` should work.
<MichaelRaskin> the expectation is to use fetchgit from Nixpkgs top level (it also requires hash)
<MichaelRaskin> (usually as sha256 = "…"; )
<nDuff> Ahhh
<nDuff> thank you for the extra set of eyes
<MichaelRaskin> You are welcome
freusque has quit [Ping timeout: 245 seconds]
<zeta_> rycee: could you pastebin(hastebin) that command please, weechat doesn't copy right, thanks !!!
endformationage has joined #nixos
freusque has joined #nixos
<nDuff> MichaelRaskin: ...ahh; I'm accustomed to buildins.fetchGit (the new 2.x-ism, which I'm using for internal code).
Plotinus_ has quit [Quit: night]
Anton-Latukha has quit [Ping timeout: 255 seconds]
<MichaelRaskin> I am not actually sure, it might work in restricted mode if you pass the hash
<MichaelRaskin> But the current normal way is top-level fetchgit
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2df17ecf1b7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
schjetne has joined #nixos
<zeta_> rycee: thanks, i'll pastebin my home.nix before i do a rebuild
fusion809 has quit [Remote host closed the connection]
esmerelda has joined #nixos
shibboleth has joined #nixos
__monty__ has quit [Quit: leaving]
<zeta_> rycee: since i am using ghcWithHoogle i need to remove the hoogle pachage right ?
<rycee> Yes, ghcWithHoogle installs the hoogle command.
<rycee> So need to remove the explicit installation of hoogle.
schjetne has quit [Ping timeout: 244 seconds]
<azazel> so I have a kvm VM and I would enableit to receive acpi events to shut it down externally, I've enabled acpid, anyone knows I have to manually enable kernel's acpi modules?
Ariakenom has quit [Quit: Leaving]
<zeta_> rycee: i think everything is correct and ready for a rebuild ?
Supersonic has quit [Ping timeout: 258 seconds]
<rycee> zeta_: Yeah, seems ok.
Supersonic has joined #nixos
<zeta_> rycee: ok, lets see if it works
zeta_ has quit [Quit: WeeChat 2.4]
shibboleth has quit [Quit: shibboleth]
ckoparkar has joined #nixos
acarrico has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59654 → python37Packages.fonttools: 3.39.0 -> 3.41.0 → https://git.io/fjYLu
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjcUu
lovesegfault has quit [Ping timeout: 255 seconds]
zeta has joined #nixos
<ambro718> Could a few people run this, especially if you have lots of stuff installed, and pastebin the results. (cd /nix/store; find |grep -E '/lib(|32|64)/(|.*/)(tls|x86_64|haswell)$')
<ambro718> Need some in for for https://github.com/NixOS/nixpkgs/issues/24844
<{^_^}> #24844 (by lheckemann, 2 years ago, open): Link to libraries through absolute paths?
<ambro718> sorry no this one: (cd /nix/store; find |grep -E '/lib*/(|.*/)(tls|x86_64|haswell)$')
drakonis has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
<zeta> rycee: good news, the rebuild worked without any errors, and the hoogle database was built as well, but how can i check that hoogle is integrated with all-hies.latest package and working ?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<azazel> ambro718: https://termbin.com/fhu8
<rycee> zeta: Sorry, no idea. I think that would have to be answered by somebody who has used hie :-)
<rycee> I'll head to bed. See ya.
hyper_ch has joined #nixos
<ambro718> azazel: thanks, looks promising just like in my case
<zeta> rycee: thanks, and later
<zeta> rycee++
<{^_^}> rycee's karma got increased to 12
esmerelda has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 248 seconds]
alexherbo2230 has joined #nixos
<ambro718> thanks
alexherbo223 has quit [Ping timeout: 246 seconds]
ee1943 has joined #nixos
ilikeheaps has quit [Ping timeout: 245 seconds]
nschoe has quit [Remote host closed the connection]
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #61062 → pythonPackages.lark-parser: enable majority of tests → https://git.io/fjcU7
dansho has joined #nixos
ee1943 has quit [Quit: The Lounge - https://thelounge.github.io]
<zeta> infinisil: with the help of rycee i finally got the hoogle environment variable setup in home.nix, how do i check that all-hies.latest package detects hoogle, that they are correctly integrated, and everything works correctly ?
<infinisil> zeta: As I told you before, I'm not using this hoogle integration, so I don't know
fenedor has quit [Quit: Leaving]
wfranzini has quit [Remote host closed the connection]
ryantm has joined #nixos
wfranzini has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<zeta> infinisil: well, i was just wondering if there was a way to see if all-hies.latest is connected to the hoogle database, maybe a command or directory that i can check ?
nDuff has quit [Ping timeout: 246 seconds]
<infinisil> zeta: all-hies just provides an installation method for HIE. What you're asking for is a HIE question. But because I didn't implement that feature and aren't using it either, I have no idea. Maybe ask in #haskell-ide-engine too
schjetne has joined #nixos
boredom101 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
ckoparkar has quit [Ping timeout: 252 seconds]
<zeta> infinisil: ok, well i already finished setting up all the packages needed in emacs so i am going to try it out, do i need to do a keybinding or command, or will emacs automatically activate `hie` ?
drakonis has joined #nixos
ckoparkar has joined #nixos
<ambro718> Is there a way to make nixos-rebuild use the nix build command?
sindrip has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/8c6c85de4d5 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<infinisil> zeta: Just try it out for yourself..
goibhniu has quit [Ping timeout: 258 seconds]
ambro718 has quit [Quit: Konversation terminated!]
freeman42x has quit [Ping timeout: 248 seconds]
jackdk has joined #nixos
sindrip has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 246 seconds]
m0rphism has quit [Ping timeout: 258 seconds]
boredom101 has quit [Quit: Page closed]
_d0t has joined #nixos
ambro718 has joined #nixos
rprije has joined #nixos
esmerelda has quit [Ping timeout: 255 seconds]
sigmundv__ has quit [Ping timeout: 246 seconds]
talqu has quit [Ping timeout: 258 seconds]
lovesegfault has joined #nixos
esmerelda has joined #nixos
drakonis_ has joined #nixos
nDuff has joined #nixos
drakonis_ has quit [Remote host closed the connection]
zeta has quit [Quit: WeeChat 2.4]
dbmikus has quit [Ping timeout: 245 seconds]
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm has joined #nixos
<aswanson> what is the difference between python.buildEnv and python.withPackages? The documentation mentions that both are used to create a shell with python packages available but only gives examples for python.withPackages. Can both be used with a shell.nix file and nix-shell?
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
<ambro718> Does anyone know of a program in nixpkgs that can be used to test CUDA?
<Yaniel> blender?
<ambro718> I'll try, thanks.
<Yaniel> hmm apparently mine doesn't find my GPU
kim0 has quit [Quit: Connection closed for inactivity]
<Yaniel> but that's a custom derivation, not the one from nixpkgs so I wouldn't make any assumptions from this
<ambro718> do you have LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib ?
nDuff has quit [Quit: Konversation terminated!]
<ivan> Yaniel: mpv --hwdec=nvdec
<Yaniel> looks like I do
<ambro718> ivan: what do you mean with mpv? mpv can use CUDA?
<{^_^}> [nixpkgs] @Profpatsch opened pull request #61063 → Update ultrastar creator and manager → https://git.io/fjcT1
<Yaniel> ambro718: mpv's nvdec hardware decoder requires cuda
<ambro718> Yaniel: it does? how come it doesn't have dependencies on cudatoolkit or anything like that?
<Yaniel> and that one apparently works fine so it's my custom blender derivation that's wrong (wanted to try out 2.8)
<ivan> ambro718: it depends on nv-codec-headers
commande1 has quit [Remote host closed the connection]
<ambro718> Huh blender cuda does not work for me actually. Console just shows: CUDA cuInit: Unknown error
ckoparkar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<ambro718> Apparently I needed to "modprobe nvidia-uvm". Which is strange because the nvidia nixos module adds it to boot.kernelModules.
<pie_> ambro718, have you rebooted
thc202 has quit [Ping timeout: 258 seconds]
<ambro718> pie_: I have not done anything that would require rebooting
<ambro718> the module is supposed to load but did not get loaded
lovesegfault has quit [Quit: WeeChat 2.4]
<ambro718> of course I have "rebooted" since I installed nvidia drivers
hio has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @mstojcevich opened pull request #61064 → influxdb: 1.7.5 -> 1.7.6 → https://git.io/fjcTd
Mateon3 has joined #nixos
Mateon1 has quit [Remote host closed the connection]
Mateon3 is now known as Mateon1
abaiste^ has quit [Remote host closed the connection]
lockshaw has quit [Quit: ZNC 1.7.2+deb2 - https://znc.in]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
lockshaw has joined #nixos
schjetne has joined #nixos
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
Czen has quit [Ping timeout: 268 seconds]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
Czen has joined #nixos