<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
<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.
<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
<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`
<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-nixhttps://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]
<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.
<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
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
<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.
<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
<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.
<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)
<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
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_>
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 ?
<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…]
<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?
<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)]
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?
<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?
<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?
<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) ?
<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]
<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 ?
<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 :))
<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 ?
<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: 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 ?
<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.
<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.]
<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.
<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
<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 ?
<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)$')
<{^_^}>
#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 ?
<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?
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