<dtluna>
unfortunately, NixOS is too painful to develop things witg
<dtluna>
with*
<dtluna>
and themes
<dtluna>
I guess I'll come back in a couple years when these issues are solved. for now, back to a non-meme OS
justanotheruser has quit [(Ping timeout: 258 seconds)]
<simpson>
dtluna: Wait, I have a question first.
<dtzWill>
please stop the griefing, dtluna. And honestly, NixOS is seriously the /best/ thing to use for development IDK how I lived before finding this. I mean, I do but wow what a waste of effort lol.
stepcut has joined #nixos
<simpson>
dtluna: Are you going to continue to act this way if I fix your issues?
<dtluna>
I won't come to this IRC if you fix my issues
<dtluna>
but I am a developer
<dtluna>
I need to do development without pain
<simpson>
Have you tried building OpenRA from nixpkgs yet? Once you know that that expression gives you a successful build, it's pretty easy to adapt it for a development workflow.
<dtluna>
oh
<dtluna>
I need to build from sources
<simpson>
I know that. I think that you're not listening.
<dtluna>
don't ask why
<dtluna>
I need to build from sources
<dtzWill>
dtluna: workflow is to either install deps into env (sadface) or use nix-shell to drop into an appropriate dev env and away you go
<simpson>
Once you know that the Nix expression works, you can use it to build *from your git checkout*.
<ndowens08>
it did. it was giving me undefind variable gtk and here it is gnome3.gtk while gtk3 is in function
* gchristensen
channels kmicu
<dtluna>
simpson: can I use that to build my development build?
<gchristensen>
dtluna: I'm confused, you want to use NixOS, but don't want to learn how to use NixOS, just because it has a thing called a language?
<simpson>
dtluna: Yes, you can. You can do something like $(nix-shell -f '<nixpkgs>' -A openra) in your git checkout and it will give you all of the environment required to do development builds.
<dtluna>
Ok, let's see
<dtzWill>
dtluna: yeah, just use nix-shell with that expression and it'll give you an environment with everything you need! it's the most amazing thing, actually :D
<simpson>
dtluna: For example, the invocation I use for Tahoe-LAFS is $(nix-shell -f '<nixpkgs>' -A tahoelafs --run 'tahoe restart') and it takes care of all of the hard business of building a Python environment.
<dtluna>
because I just tried and it messed my stuff up somehow
dtluna has quit [(Remote host closed the connection)]
zeus_ has quit [(Read error: Connection reset by peer)]
dtluna has joined #nixos
<dtluna>
okay, I am back from my NixOS
<dtluna>
so what should I do to compile my OpenRA in dev folder?
zeus_ has joined #nixos
<deepfire>
dtzWill, I don't really know how this override thing works..
<dtzWill>
re:hairy before a release--I know I, and probably others, somewhat intentionally speak up about random things more-so as part of release QA
<deepfire>
..and the XCode failure seems unrelated: undefined variable ‘gtk’ at /Users/travis/.nox/nixpkgs/pkgs/development/libraries/qt-5/5.7/default.nix:110:42
<ndowens08>
gchristensen: https://github.com/NixOS/nixpkgs/pull/24133 i think it was this one; I know nox gives me undefind variable gtk if you look at kde/wrapper.nix you see gtk3 variable created, but bellow says gtk
<dtzWill>
we all want the release to be the best it can be! :D
<dtluna>
simpson: that is "nice" to see
<ndowens08>
gnome3.gtk when it should be .gtk3
<gchristensen>
dtzWill: yeah :)
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vSJ11
<NixOS_GitHub>
nixpkgs/master 8e3d3b5 Thomas Tuegel: Revert "sddm: propagate qtbase input"...
<NixOS_GitHub>
nixpkgs/master ae1034e Thomas Tuegel: nixos/sddm: improve test...
<simpson>
dtluna: Are you at the same spot?
<dtluna>
no
<simpson>
Okay. What do you see at your buildPhase?
<dtluna>
nix-shell '<nixpkgs>' -A openra doesn't do anything
<dtzWill>
(I guess that's my way of explaining away my influx of reported issues vs things I've fixed haha don't mean to be a complainy-face ^.^)
<obsRo>
hello guys, i created a package but i have a question. the package creates dbus service itself. how can i tell nixos its a service ?
<gchristensen>
dtzWill: no doubt, I know!
<dhess`>
NixOps is so. cool.
<dtluna>
simpson: what should I run
<dtluna>
I am confused
eacameron has quit [(Ping timeout: 246 seconds)]
justanotheruser has joined #nixos
<simpson>
dtluna: Are you sure that it didn't put you in a new shell? Check your env for things like a massive $PKG_CONFIG_PATH.
<dtluna>
it did
<dhess`>
It blows every other provisioning/deployment tool out of the water.
obsRo has quit [(Quit: WeeChat 1.7)]
<simpson>
Okay, great. It added a bunch of tools to your $PATH and it should make it possible for you to build your stuff.
<dtluna>
okay
<dtluna>
so what now?
<simpson>
dhess`: IKR? I presented it here in Portland and a Docker guy got super-embarrassed. It's amazing.
<clever>
obadz: this is how avahi handles its own dbus service, and dbus cant seem to reload, so you may need to reboot to apply it
<simpson>
dtluna: Try running your normal build process. The `-A openra` tells nix-shell to put all of the build tools for `openra` into your environment.
<dtluna>
simpson: lol, it doesn't install unzip, which is required
<dtluna>
kek
<dhess`>
simpson: it's strange how much VC is pouring into Docker right now. Imagine if like 1/100th of that was being invested in NixOS/NixOps.
<dhess`>
feels like a missed opportunity, to say the least.
<dtluna>
damn, I'd love VC in NixOS
<dtluna>
I wouldn't have these issues I have
<simpson>
dtluna: No worries. We need to fix the derivation, then. The easy way to do this is to clone nixpkgs and build from that.
<dtluna>
I did clone them
<dhess`>
Can't believe nobody has pitched something like that to YC or similar.
<simpson>
dtluna: Uh, OpenRA appears to be a pretty niche thing; I'm honestly kind of surprised that there's already a derivation.
<dtluna>
I've install unzip into the env
<dtluna>
there's a derivation because compiling it yourself is pain and hell
<dash>
HAHA
<dash>
oops capslock
<dtluna>
on NixOS that is
<simpson>
dtluna: Ah, then replace '<nixpkgs>' with '/the/path/to/your/nixpkgs/default.nix'
<ndowens08>
dtluna: give Nix some time, I havent learned everything, no where near it, still new to it, but is interesting concept too
<dtluna>
spent two days by being gentle
<dtluna>
slightly critized NixOS for its shortcomings - BAM!
<dtluna>
people want to help me
<simpson>
dtzWill, dtluna: Don't be fooled, I'm not doing this to be nice and I'm not doing it to get you to shut up. I'm doing it in the vain hope that we get another nixpkgs contributor.
<dtluna>
ndowens08: time wont fix my themes or compile OpenRA
<dtluna>
simpson: not any time soon
<simpson>
dtluna: No, I'm teaching you how to nixpkgs and then you can fix your own themes.
<gchristensen>
dtluna: nixos is riddled with shortcomings, c'est la vie.
<dtzWill>
simpson: you're doing great, thank you for your efforts. I didn't mean any slight it just seemed amusing and related O:).
Ivanych has quit [(Ping timeout: 260 seconds)]
<simpson>
dtluna: Wait, are you serious? Even if I get your OpenRA package working, you aren't planning to contribute upstream?
<dtluna>
gchristensen: oh really?
<gchristensen>
yes
<ndowens08>
having time will, gives you chance to figure out how to do things
<dtluna>
simpson: I don't know crap, man
<gchristensen>
dtluna: I'm running out of patience on your seeming inability to help yourself
<simpson>
dtluna: Well, then I'm sorry that your attitude is so poor. I'm done trying to help you.
byteflame has joined #nixos
<dtluna>
Well, I'll come back in two years when OpenRA compilation process is just make all
<dtluna>
and themes work
dtluna has left #nixos [requested by gchristensen (dtluna)]
<simpson>
That's too bad.
<ndowens08>
that was an all day thing about themes
<gchristensen>
simpson: I was waiting for you to lose patience, my impression was nobody else was lined up to help.
willingc has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
* ndowens08
didnt know how to help him
<ndowens08>
not really; i dont use themes or what he is trying to do
<gchristensen>
you can't help the helpless
<simpson>
gchristensen: I have discovered that nothing calms down a toddler like pulling out the finger paints and getting your own hands dirty with them.
<Rotaerk>
you mean helping them to paint the walls?
takle has joined #nixos
<simpson>
Well, we pull out a new piece of paper and we sit down and we paint a pretty pony or a pretty rainbow.
<ndowens08>
I started seeing about complaints about theme when I was on break at like 8a, and now it is after 7p
<gchristensen>
that isn't quite what I meant to say, more like: you can't help people who won't help themselves
<gchristensen>
simpson: yeah :) haha true
<ndowens08>
i know i am annoying with questions at times, esp first came, but wow :)
<dash>
he wasn't being annoying with _questions_.
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSJDZ
<NixOS_GitHub>
nixpkgs/release-17.03 3a368d7 Robin Gloster: wrapGAppsHook: fix eval
<ndowens08>
true
<dash>
As far as I can see, he thought he was doing us a favor by trying nixos.
<ndowens08>
well you get the idea/concept i meant
<gchristensen>
dash: exactly
<gchristensen>
ndowens08: questions aren't a problem, we're good at questions
<ndowens08>
i wanted to say, well use something like awesome/bspwm then you dont worry so much pretty your desktop is lol
<gchristensen>
"I don't want to learn this tool I want to use" is a problem
byteflame has quit [(Ping timeout: 268 seconds)]
<ndowens08>
you can thank point and click distros for that concept :)
<ndowens08>
IMO
<dash>
ndowens08: i use awesome with nixos and i'm having gtk annoyances right now, alas.
<simpson>
dash: It's funny that you phrase it that way; I remember interacting with a kid over IRC who had that same sort of attitude and 2wks later he was on the news, arrested for running a botnet.
<dash>
heh
<gchristensen>
heh
<dash>
simpson: I think this incident illustrates why hackers have long had a fondness for zen tales/koans
<dash>
simpson: because they prominently feature people who understand stuff talking to people who don't understand stuff, then hitting them with sticks
takle has quit [(Ping timeout: 246 seconds)]
markus1209 has joined #nixos
<gchristensen>
dash++
<simpson>
u'i
<ndowens08>
dash: are you being like that person??? :p
<simpson>
If only that worked for imparting understanding.
<dash>
ndowens08: i haven't hit anyone with a stick _all day_
<dash>
ndowens08: and i have two toddlers at home
<ndowens08>
must be bald by now :D
<dtzWill>
lmao
<ndowens08>
I have a 8yr old, i call her my mini-me; has too much of my personallity in her
<dash>
simpson: To be fair, sometimes it does!
<dash>
"If a cat sits on a hot stove.... that cat won't sit on a hot stove again."
markus1189 has quit [(Ping timeout: 240 seconds)]
<ndowens08>
idk about that, some never learn
markus1199 has quit [(Ping timeout: 268 seconds)]
<gchristensen>
I'm heading out for the night, have a good one y'all
<ndowens08>
nite gchristensen
markus1189 has joined #nixos
<dash>
Looks like I need to try out emacsPackagesNg some time, I just saw that in the manual
<ndowens08>
but could be like the frog, put him in water, then slowly heat the water up and wont notice til it is too late
bhipple has joined #nixos
<dash>
ndowens08: I wish biology classes tried this experiment
<ndowens08>
i like frogs so i wont do it :\
<dash>
ndowens08: pretty sure reality is opposite the proverb
<dash>
similarly, i catch flies in my kitchen with vinegar not honey
Ivanych has joined #nixos
<ndowens08>
i hated biology in high school, esp geometry(would have failed, but teacher passed me b/c grades were improving after the terrible teacher left)
<ndowens08>
well vinegar has many purposes :)
<ndowens08>
speaking of vinegar, if you have heartburn, it helps calm it
<dash>
dtz: yes i did have this in the front of my mind :)
<MP2E>
yeah I just stayed quiet when I saw that going on, those types of users aren't easily pleased
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSJy2
<NixOS_GitHub>
nixpkgs/master 2822bac Jan Malakhovski: nixos: xen: condition default packages on `enable`...
<ndowens08>
:) dash
<dtz>
I also have had to make fly traps and yes vinegar haha
<justanotheruser>
I installed tensorflowWithCuda and when I attempt to "import tensorflow" in python3, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. This github issue (https://github.com/tensorflow/tensorflow/issues/5625) involves using a different version, but I'm not sure that applies to me given the current tensorflow version through nixos is 1.0.0. Any suggestions? This is
<dash>
Doing my annual hardware shuffle and setting up an ARM board I'd neglected for a while
<dash>
I wish I could run nixos on it but it's only got 512MB RAM
<dtz>
Usually red wine vinegar haven't exactly tested other minds tho lol
<dtz>
*kinds
<RchrdB>
dash, huh what part doesn't work with that much RAM?
<dash>
RchrdB: last time i tried, it had a hard time loading nixpkgs into memory.
<dash>
when running nix-env or such
carlosdagos has quit [(Ping timeout: 264 seconds)]
<dash>
I could turn on swap, but sd cards wear out fast enough already
<RchrdB>
I kind of wonder if you could run nix-env elsewhere and copy the resulting closures & environments over so on the small computer you're just running 'tar' and 'gzip' to unpack.
williamyaoh has joined #nixos
<dash>
RchrdB: That was my other thought, use qemu to build an image
<dash>
RchrdB: and just blow it onto the sd card from there when it's upgrade time
<williamyaoh>
Hi, how are you guys doing per-user keyboard layout under X?
alx741 has quit [(Quit: alx741)]
<williamyaoh>
I'm running xmonad as my WM right now and trying to use the usual suspects (.Xmodmap, .xinitrc, .xsessionrc) with no luck
<NixOS_GitHub>
[nixpkgs] 8573 opened pull request #24264: Fix store path copying in Google Compute Image build (master...8573/fix/gce-img/1) https://git.io/vSJSy
bhipple has quit [(Quit: WeeChat 1.5)]
alx741 has joined #nixos
<taktoa>
anyone going to BayHac? me, dmj`, and clever will be there :)
<ndowens08>
way too far for me :)
<dhess`>
taktoa: I was planning on it, but now I will be out of town :(
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSJ9r
<NixOS_GitHub>
nixpkgs/master e0e520a c74d: google-compute-image: copy store paths with rsync...
<NixOS_GitHub>
[nixpkgs] globin closed pull request #24264: Fix store path copying in Google Compute Engine image build (master...8573/fix/gce-img/1) https://git.io/vSJSy
<ndowens08>
deepfire: I am unsure, i know commits should be squashed, but i dont know much about that pkg
<deepfire>
ndowens08: done!
<deepfire>
ndowens08: the non-squashing was mainly done to ease the review process
<ndowens08>
Gonna let someone else review/push as not too comfortable with it, sorry :\
<deepfire>
ndowens08: who do you think that should be?
<deepfire>
/could be
<c74d>
I fixed the Google Compute Engine image, then updated my root channel, and now the image is broken again >_<
<ndowens08>
i think someone else was reviewing it as well; I look at cosmetic of a Nix pkg, some are something I dont understand beyound suggesting cosmetic changes :)
<deepfire>
ndowens08: still, thank you for the review effort! : -)
<ndowens08>
maybe i helped ya with what i could :)
<dpren>
Do I need to install full blown NixOS in order to build and test a PR to a package in nixpkgs? Or can I do it through CLI on my existing OS?
<contrapumpkin>
nope
<contrapumpkin>
macOS and other linuxes work fine
<contrapumpkin>
windows with the linux subsystem should also be fine I think
<simpson>
contrapumpkin: Ooh, I'll take "buildslaves I don't want to administer" for $200.
<contrapumpkin>
:D
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<dpren>
Okay cool. So I make my edit, the run `nix-build -A libfoo`? Is there any other required testing I need to do? I can't quite tell from the manual
<simpson>
dpren: That's up to you and the package maintainer, really.
<simpson>
Presumably there's some way to tell whether it works?
<dpren>
Of course, I was just thinking if there were any other tests at the nix level I needed to run
zeus_ has quit [(Ping timeout: 246 seconds)]
<dash>
dpren: if you got it to build something that runs, presumably everyone else will too :)
<tilpner>
Does anyone have an example of services.xserver.{layout,xkbVariant,xkbOptions} that toggles between two different variants of the same layout (de <-> de neo)?
<tilpner>
I tried putting grp:ctrl_alt_toggle into options, but it doesn't work, and I'm not for what logs I'm even searching or where to find them
<tilpner>
*not sure
byteflame has joined #nixos
byteflame has quit [(Ping timeout: 240 seconds)]
<ndowens08>
wow, looking through packages I can update, and a src url listing geocities, havent seen that in a long time
<benley>
wow, that can't have worked for a very long time now
<dhess`>
where does an FHSUserEnv put its /var ?
<ndowens08>
8 months ago it was update, but last commit was to add lots of platforms with no meta
<benley>
dhess`: iirc /var ends up being the regular host's /var
Wizek_ has quit [(Ping timeout: 268 seconds)]
Wizek has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
<dhess`>
benley: excellent
carlosdagos has joined #nixos
mudri has quit [(Quit: WeeChat 1.7)]
roconnor has quit [(Ping timeout: 264 seconds)]
<spacekitteh>
contrapumpkin: why contra
<spacekitteh>
WHY CANT YOU JUST BE CO
<spacekitteh>
you are a fraud
<spacekitteh>
an imposter and a fraud
<spacekitteh>
you have insulted the honour of copumpkin
<spacekitteh>
i challenge you to a duel
<spacekitteh>
a duel most sinister
<spacekitteh>
a duel which will demonstrate the tyranny of consciousness
<spacekitteh>
for in this duel
<spacekitteh>
you will be confronted with your worst nightmares, and your wildest dreams
<spacekitteh>
only to awaken
<spacekitteh>
to cold, stark, bleak reality
carlosdagos has quit [(Ping timeout: 240 seconds)]
<spacekitteh>
the reality is
<spacekitteh>
co > contra
<spacekitteh>
where it up to me, i would tolerate this slight
<spacekitteh>
but alas, it is not
<spacekitteh>
for you see, by being contrapumpkin, you have offended the masses
<spacekitteh>
and the masses demand justice
<spacekitteh>
there can be no discretion in these circumstances, my friend
<c74d>
jluttine: I keep a local checkout of nixpkgs and search in pkgs/top-level/all-packages.nix
<c74d>
I don't know of any list on the Web
eacameron has quit [(Ping timeout: 268 seconds)]
MercurialAlchemi has joined #nixos
byteflame has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vSUOC
<NixOS_GitHub>
nixpkgs/master d69e932 Vincent Laporte: ocamlPackages.ocaml-compiler-libs: init at 0.9.0...
IRCFrEAK has quit [(Ping timeout: 240 seconds)]
byteflame has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stepcut has joined #nixos
drasich has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
xeviox has joined #nixos
stepcut has quit [(Ping timeout: 264 seconds)]
Itkovian has joined #nixos
carlosdagos has joined #nixos
odi has joined #nixos
Itkovian has quit [(Client Quit)]
odi__ has joined #nixos
carlosdagos has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
<jluttine>
c74d: thanks! that helped. although not all packages are listed there, so it required some trial and error for me to find some packages that had moved since my last upgrade (e.g., kdeApplications.print-manager)
<c74d>
jluttine: there are other files/directories for certain desktop environments and programming languages
<c74d>
some of these are also in pkgs/top-level, some are in other directories
<jluttine>
c74d: yep.. :)
<c74d>
I also search the whole repo (with `rg` or formerly `git grep`), but that's a much more expensive operation
<jluttine>
the web search is awesome, except it's not for unstable channel
Wizek has joined #nixos
17SAAM0RA has joined #nixos
endformationage has quit [(Quit: WeeChat 1.6)]
katyucha is now known as Guest32210
Guest7592 is now known as katyucha
dhess` has joined #nixos
eacameron has joined #nixos
jensens has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
cptchaos has joined #nixos
<xeviox>
hi guys, I've created the expression http://pastebin.com/Ss0J33KU to be able to install a different version of botocore on my system. When trying to build it with "nix-build" it crashes with the error "Package ‘self-4.5.0’ in ‘/nix/store/...’ is marked as broken, refusing to evaluate.
<xeviox>
I just found one bug about "marked as broken" which states that the flag is to strict
<xeviox>
my question is, what is wrong?
eacameron has quit [(Ping timeout: 240 seconds)]
byteflame has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vSUG0
<dmj`>
what does the ‘Ng’ suffix stand for in ‘emacsPackagesNg'
<spacekitteh[m]>
"new generation"
<domenkozar>
I'm running 17.03 and it all works as usual, boring :)
<spacekitteh[m]>
/next generation
dhess` has joined #nixos
byteflame has joined #nixos
sivteck has joined #nixos
<sphalerite>
OK, now I regret helping dtluna
<sphalerite>
simpson: I went through basically all the same steps with him that you did
byteflame has quit [(Ping timeout: 240 seconds)]
bkchr has joined #nixos
dhess` has quit [(Ping timeout: 246 seconds)]
thc202 has joined #nixos
<bkchr>
Hi, are there any default iptables/firewall settings? Because I'm trying to connect to port 69 to an application on my pc, but the connection is not established.
<globin>
domenkozar: I'm kind of getting lost there, bisected the first failure but a revert does not fix it :/
jensens has joined #nixos
<globin>
domenkozar: ah wait i messed up /o\
layus has quit [(Ping timeout: 258 seconds)]
<globin>
maybe it actually does
athan has joined #nixos
<domenkozar>
:)
ixxie has quit [(Remote host closed the connection)]
<globin>
domenkozar: shouldn't have fiddled with it at 3am yesterday %)
<domenkozar>
<insert that's what she said joke>
<domenkozar>
now I'm the bad culture guy :) globin how is it going otherwise?
<domenkozar>
we still have to merge staging*
<sphalerite>
bkchr: what does iptables -S say?
joelmo has quit [(Quit: Connection closed for inactivity)]
<globin>
domenkozar: \o/ quite good, nostly some minor stuff for ZHF which could be marked as broken if no one fixes it in time, the GDM issue, container networking (that fpletz is working on)
hexagoxel has quit [(Ping timeout: 260 seconds)]
<globin>
domenkozar: there are some other open issues but I think only one regression with bind-named I was going to look at and the rest is stuff that has never worked
<domenkozar>
I'll upgrade everythign this weekend
<globin>
domenkozar: wrt staging, yeah was waiting for it to build
hexagoxel has joined #nixos
<globin>
domenkozar: I have another commit for staging but that isn't critical and can go in after the release if necessary as a bugfix
<domenkozar>
oh hydra is bored so I think it's good timing
<globin>
could actually push that to "normal" staging right now
mudri has joined #nixos
<domenkozar>
oh this one is really annoying
<domenkozar>
but it was attempted many times
<globin>
ah need more worktrees /o\
<domenkozar>
I just got my 32gb ram laptop so I can test it
<domenkozar>
globin: I also will update Hydra to latest commit
<globin>
domenkozar: was just doing it :)
<domenkozar>
heh
<globin>
domenkozar: but go ahead :)
<globin>
I'm doing too much in parallel anyway
<domenkozar>
already WIP :)
<sphalerite>
I'm just experimenting with using nix without stdenv... is it possible to make a derivation that just uses a regular, non-purpose-built executable as its builder? The only obstacle I'm seeing right now is the ability to pass the output path to it...
layus has joined #nixos
civodul has joined #nixos
<sphalerite>
Unrelated, why is rpath used rather than linking to libraries with their absolute paths?
mkoenig has joined #nixos
cfricke has quit [(Quit: WeeChat 1.7)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSURl
<NixOS_GitHub>
nixpkgs/master 4e57e7f Robin Gloster: Revert "gdm module: only make xserver args overrideable"...
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSURE
<NixOS_GitHub>
nixpkgs/release-17.03 f83f094 Robin Gloster: Revert "gdm module: only make xserver args overrideable"...
orphaneo has joined #nixos
<orphaneo>
hello guys, i forked nixpkgs, whats the process of pull request ?
byteflame has joined #nixos
ebzzry has joined #nixos
dhess` has joined #nixos
ndowens08 has joined #nixos
<ndowens08>
Morning
bkchr has quit [(Ping timeout: 258 seconds)]
bkchr has joined #nixos
byteflame has quit [(Ping timeout: 258 seconds)]
sboosali has quit [(Ping timeout: 268 seconds)]
<ronny>
sphalerite: i beleive you will have to put it into nix-store somehow, ad then use the store path as a builder (but dont quote me on it)
reinzelmann has joined #nixos
<sphalerite>
yep, I've got that far
<sphalerite>
the problem is getting the output path into the arguments
<sphalerite>
Not sure if it's possible at all
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ndowens08>
What's the issue. Didn't see it, then again may not be able to help
<sphalerite>
10:29 < sphalerite> I'm just experimenting with using nix without stdenv... is it possible to make a derivation that just uses a regular, non-purpose-built executable as its builder? The only obstacle I'm seeing right now is the ability to pass the output path to it...
<goibhniu>
hi orphaneo, are you familiar with github? We use the standard procedure.
<ndowens08>
Ah. Idk I know every pkg uses stdenv
<ndowens08>
That I have seen
dhess` has quit [(Ping timeout: 240 seconds)]
<ndowens08>
I would guess it wouldn't be possible but I can be wrong
<LnL>
what do you mean by that?
<ndowens08>
LnL who ya asking?
<LnL>
^ sphalerite
<sphalerite>
I'd like to use the pandoc executable directly as a builder, rather than going via a shell script, because all the shell script would do is turn the $out variable into an argument for the program
<domenkozar>
niksnut: any objections bumping nixUnstable? Needed for latest Hydra
<ronny>
sphalerite: as far as i understood, $out is an env var, as well as other potential outputs, so you will need some kind of wrapper anyway
<LnL>
you mean like something that's simpler then stdenv.mkDerivation, or do you really not want to use the stdenv?
adfaure has joined #nixos
<sphalerite>
I don't want to use stdenv. There's no major practical reason, it's mostly just for educational purposes :)
<spacekitteh[m]>
sphalerite: check out eelco's thesis on Nix
<LnL>
usually you'd do something like runCommand "foo" {} '' echo foo > $out '', but that still depends on the stdenv
<adfaure>
Hello, I am thinking to use nix to package and deploy my experiments, does anyone used nix for such purpose ?
<sphalerite>
yeah
<orphaneo>
goibhniu: i am kinda but i dont know when i should use git rebase :D
<sphalerite>
spacekitteh[m]: will do, thanks for the pointer
<ndowens08>
Ik I only rebase to squash my commits when submitting PRs but that's me
<ndowens08>
And Ik rebasing is used for spitting commits too but I have yet to do that part
vmandela has joined #nixos
<LnL>
sphalerite: there is also a nix pill that explains what the stdenv.mkDerivation does for you compared to builtins.derivation
<LnL>
IIRC
<orphaneo>
the master branch is already 10 commits head of me. should i always keep it updated and if how ? :D
<ndowens08>
orphaneo: your forked copy?
<vmandela>
I am trying to set the number of parallel fetches from binary caches to 4 in the config file instead of doing "nix-env -u -j 4" each time. Is setting "binary-caches-parallel-connections = 4;" in config.nix the right thing to do? It does not seem to work.
<orphaneo>
yes sir
<ndowens08>
orphaneo: k will explain
c0c0n3 has joined #nixos
<ndowens08>
I will call yours origin. And nixos repo as upstream
<orphaneo>
okey
<c0c0n3>
hi guys, have a silly question re: glib package, is this the right place to ask?
<ndowens08>
You need to add upstream URL to your copy. So you can checkout master. Then git fetch upstream then git merge upstream/master then finally git push
<ndowens08>
Give ya a link on how to add upstream one sec
<ndowens08>
That is how you keep your copy up to date
<orphaneo>
okey
<orphaneo>
lets say i have a branch which is not synced with always updated master of my fork.
<orphaneo>
i should do git rebase on my own branch ?
<ndowens08>
Yup though like I said I only squash commit history for the pkg I am submitting.
<ndowens08>
After squashing then push to your origin BRANCH
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vSUzb
<NixOS_GitHub>
nixpkgs/master f38c4ee Peter Hoeg: duplicity: 0.7.07.1 -> 0.7.12
<orphaneo>
okey, so there is no need to keep updated the branch also.
<ndowens08>
I would keep it fairly updated
<ndowens08>
Reason I say is if you are updating a pkg
marsel has quit [(Ping timeout: 256 seconds)]
ThatDocsLady has joined #nixos
<ndowens08>
Someone might have already updated it and if it is updated you will notice it
<orphaneo>
okey cool, thank you
<ndowens08>
Np
<orphaneo>
btw, i installed the package with nix-build -A pkg, how can i remove it from my system ?
<orphaneo>
nix-env -e pkg, doesnt seem to work
marsel has joined #nixos
<ndowens08>
Another nice thing. Is if you keep it updated and when you merge upstream/master it shows what has been updated and will eventually be available to be downloaded or you know you can download it right then and install update
<ndowens08>
What pkg
<c0c0n3>
hi guys, have a silly question re: glib package, is this the right place to ask?
<orphaneo>
bothering you too much but i have another question
<orphaneo>
i built the package yesterday. now i wanted to try it after somechanges and it again downloads all deps to build package why its happening ? i thought they are already downloaded yesterday. because yesterday when i was trying to build, the nix-build -A pkg didnt download packages always
<ndowens08>
Hmm not sure unless here was some updates possibly
<frigate_freedom>
Is nixos-17.03 release date availabele?
<ronny>
frigate_freedom: there will be a sprint in munich this week with the release manager this weekend, and the release party is panned for next weekend, so soon i hope ^^
<dmj`>
nixos is the best thing to happen to me in a while
<c0c0n3>
hi guys, I have a question can anyone help or tell me who/where to ask?
<ronny>
c0c0n3: ask the question perhaps? else we have literally no idea
<c0c0n3>
cool, thx! im stuck with glib,
xadi has joined #nixos
<c0c0n3>
i want to use gsettings, i.e. i want to add it to my path, but the binary is not in the glib package
_rht has joined #nixos
HappyEnte has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<domenkozar>
niksnut: so what's missing for nix 1.12?
<orphaneo>
the pkg , i am packaging depends on gnome-shell at runtime, i added gnome-shell to path but it downloads gnome-shell and building from scratch, am i doing something wrong ?
<c0c0n3>
this doesn't work: "${pkgs.glib}/bin/gsettings"
HappyEnte has joined #nixos
oaerigjawrnew has joined #nixos
<domenkozar>
niksnut: so I can infer release date from that :)
<c0c0n3>
ronny: is this the right place to ask?
<oaerigjawrnew>
Hi! I'm keen to try out Nix as a package manager. I'm wondering if the way you pro users are using it is with the nix-env command - which seems quite imperative to me, or if you are keeping a .nix file which specifies what packages to install somewhere? In a declarative way that is. If so, I'd be extremely thankful for a github or pastebin link with your config, to learn! Many thanks
<domenkozar>
niksnut: I know we need to properly remove perl
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
<nixy>
oaerigjawrnew: You can find a bunch of them on github if you search for nix-config, but some peoples setups can be kind of mind boggling if your just getting started
<oaerigjawrnew>
nixy: good thinking, should have done that first!
frigate_freedom has left #nixos []
[0x4A6F] has joined #nixos
Itkovian has joined #nixos
<oaerigjawrnew>
Just one quick question then: after having assembled my ~/.nix-pkgs/config.nix, what is the command to run to "make it so"? $ bundle install in ruby world
vmandela has left #nixos []
<sphalerite>
oaerigjawrnew: what people generally do is write a nix expression that includes all the software they want and then install that (and only that) using nix-env
<c0c0n3>
oaerigjawrnew: I've put together a nixos/nix survival guide, mainly notes to self at this point but you're welcome to look at it and use any of the modules there if anything is useful to you: https://github.com/c0c0n3/trixie-dotses
byteflame has joined #nixos
<c0c0n3>
ronny: you still there?
<qknight>
how to print the file + line number of a `throw` statement in nix?
ixxie has joined #nixos
ebzzry has quit [(Ping timeout: 258 seconds)]
dhess` has joined #nixos
<c0c0n3>
if anyone knows anything about how glib is packaged, I'd appreciate if you could tell me how to make this work: "${pkgs.glib}/bin/gsettings"
byteflame has quit [(Ping timeout: 240 seconds)]
<c0c0n3>
gsettings is not in that derivation in the nix store, but is in glib-2.48*-dev
<c0c0n3>
problem is, there's no glib-2.48*-dev package as such if i search for it with nix
<c0c0n3>
ronny: yip gchristensen has already answered, but thanks anyway, appreciate that
bfrog has quit [(Ping timeout: 260 seconds)]
nixos has quit [(Ping timeout: 264 seconds)]
carlosdagos has joined #nixos
bfrog has joined #nixos
<HappyEnte>
c0c0n3, you have some nice stuff there in your nix repo, nicely annotated too :), really like the spacemacs module will definitely take that into my local configuration
<c0c0n3>
HappyEnte: cool beans, grab whatever you like!
carlosdagos has quit [(Ping timeout: 268 seconds)]
<c0c0n3>
HappyEnte: oh, if you using NixOS I've also got modules to install Spacemacs and configure it
<sphalerite>
I'm writing an expression for a package (for inclusion in nixpkgs) with a huge number of optional features, many of which bring in additional dependencies. Should I be exposing all of them?
<gchristensen>
sphalerite: generally you should not have many any options
<gchristensen>
how many is a huge number?
ixxie has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<sphalerite>
about 100
<gchristensen>
oh my no
<sphalerite>
so how woudl I provide the ability for a user to customise it?
<sphalerite>
given that a lot of them make extra dependencies necessary? Accept extra configure flags and extra buildInputs as a function argument?
<HappyEnte>
c0c0n3, yep currently taking a look also at your dot link module, I have currently something similar where I have a super user spark service that links from store into user home, but as a nix module it seems a lot nicer :)
<sphalerite>
Or just expect the user to use overrideDerivation?
<gchristensen>
sphalerite: may I ask what it is?
jensens has quit [(Ping timeout: 268 seconds)]
<c0c0n3>
HappyEnte: yah, but bear in mind for some of the stuff your service may be a better idea. I've only used dot-link to symlink dot files from a local check out of trixie-dotses. the reason for doing that is that i can track config changes with git.
<sphalerite>
hm, cyrus-imapd's build uses xxd -i to convert a text file into a header file... Is there a better option than adding vim to its buildInputs for getting it building?
eacameron has quit [(Remote host closed the connection)]
byteflame has quit [(Ping timeout: 260 seconds)]
c0c0n3 has joined #nixos
dhess` has joined #nixos
<MarcWeber>
You're right mplayer -> pavuctl shows it. but why are videos from browsers
<MarcWeber>
silent?
<c0c0n3>
hi guys, i have another question re: gsettings. when i run it, it moans about schemas not being installed. have installed gnome3.gsettings_desktop_schemas to no avail. any idea how to run gsettings on nixos?
<sphalerite>
MarcWeber: I don't know... Which browsers? It works fine for me with firefox
<MarcWeber>
Chromium works now ..
page has joined #nixos
Rizy has joined #nixos
<ronny>
anyone aware of a way to trigger the rebuild of the grub menu without nixos-rebuild boot
dhess` has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
ryanartecona has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
ericsagnes has quit [(Ping timeout: 256 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
froglegstew has quit [(Ping timeout: 240 seconds)]
froglegstew has joined #nixos
JayVii has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] cpages pushed 1 new commit to release-17.03: https://git.io/vSUSv
<NixOS_GitHub>
nixpkgs/release-17.03 d1619fe Peter Hoeg: kodi: 17.0 -> 17.1...
deepfire has quit [(Ping timeout: 240 seconds)]
xeviox has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/vSUHT
<NixOS_GitHub>
nixpkgs/release-17.03 c1b5643 Peter Hoeg: kodi: 17.0 -> 17.1...
<NixOS_GitHub>
nixpkgs/release-17.03 4367e3e Tim Steinbach: Merge pull request #24262 from peterhoeg/u/kodi_stable...
mizu_no_oto has joined #nixos
kthnnlg has joined #nixos
<kthnnlg>
Hi, I would like to install the ocaml mode for emacs. Can someone point me to the code that I need to add to my nixos config file? thanks
freusque has quit [(Ping timeout: 258 seconds)]
Wizek has joined #nixos
drasich has quit [(Ping timeout: 246 seconds)]
byteflame has joined #nixos
byteflame has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vSU7x
<NixOS_GitHub>
nixpkgs/master 8c98df0 Nikolay Amiantov: octoprint-plugins.m33-fio: fix incompatibility with new OctoPrint
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vSU5G
<NixOS_GitHub>
nixpkgs/release-17.03 03c07ac Nikolay Amiantov: octoprint-plugins.m33-fio: fix incompatibility with new OctoPrint...
xeviox has joined #nixos
dhess` has joined #nixos
carlosdagos has joined #nixos
ryantrinkle has joined #nixos
arjen-jonathan has joined #nixos
<ryantrinkle>
has anyone else had trouble with the latest OVA from the downloads page not booting to graphical mode lately?
<ryantrinkle>
i see there were some tickets closed out around November 2016
<HappyEnte>
kthnnlg, but i guess you are handling packages through your emacs configuration?
dhess` has quit [(Ping timeout: 264 seconds)]
freusque has joined #nixos
cpennington has joined #nixos
<kthnnlg>
HappyEnte: thanks! i'd prefer to handle the emacs packages system wide via nixos configuration
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
_rht has quit [(Quit: Connection closed for inactivity)]
cpennington has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
<kthnnlg>
HappyEnte: thanks for the emacs.nix example. Can I simply past these lines into my nix config? It looks like I need to do more, because there is a binding site for `customEmacs` but I see no use sites...
<HappyEnte>
kthnnlg, note that i am not too sure whether this is the best/right way to include ocamlMode but I guess it should work fine
xeviox has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
<kthnnlg>
super! thanks
<HappyEnte>
kthnnlg, no problem :)
byteflame has joined #nixos
<ronny>
FRidh: is there any way to ignore certain python collisions, i get one of the backports/__init__.py collisions again
cpennington has joined #nixos
<ronny>
i wonder if python buildenv could support could be optimized by symlinking the toplevel folders and fixing up namespace packages in the target environment
byteflame has quit [(Ping timeout: 246 seconds)]
<kthnnlg>
HappyEnte: sorry, one more question: after I run the nixos switch, the ocaml mode doesn't automatically show up in emacs. Do I need further configuration?
bfrog has quit [(Quit: WeeChat 1.7)]
ndowens08 has joined #nixos
danharaj has joined #nixos
<vincent_vdk>
hi, how well is NixOS suited for daily usage on a laptop..
<ndowens08>
Idk about laptop but I use it on my desktop just fine. I'd imagine it would be fine on one too as long as hardware is supported by kernel
eacameron has joined #nixos
<kragniz>
vincent_vdk: I use it on my laptop
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<goibhniu>
yeah, it's excellent :D
erasmas has joined #nixos
<vincent_vdk>
just wondering about kernel tuning and stuff like that
deepfire has quit [(Ping timeout: 256 seconds)]
<goibhniu>
you can compile a custom kernel, if you like
<HappyEnte>
kthnnlg, to be honest i don't personally use emacsWithPackages, do pdf-tools appear for you automatically? might be that ocamlMode has to be handled differently
<HappyEnte>
kthnnlg, what should work if you install ocamlMode into your system environment and add it to your package directory list like described here https://git.io/vSUjw
<vincent_vdk>
ok thx all
<HappyEnte>
kthnnlg, ahh nevermind a (require 'caml) should be sufficient in your init.el wasn't sure if this was already done in the emacs wrapper
Rotaerk has quit [(Quit: Leaving)]
dhess` has quit [(Ping timeout: 260 seconds)]
<ertes>
is there a predefined function to create a directory derivation that only includes a symbolic link to another derivation's output?
<ertes>
e.g. /opt/hbase -> <output of hbase>
<clever>
ertes: dont think so, but runCommand would make that simple
eacameron has quit [(Remote host closed the connection)]
<ertes>
yeah, does exactly what i need =)
<ertes>
clever: out of curiosity: what's hbase-raw? i don't have it (yet?)
<clever>
ertes: another derivation, that produces the thing you want to link to
<ertes>
ah, you didn't use the actual hbase attribute from nixpkgs
<clever>
yeah, could just change it to hbase and it should work
<ertes>
BTW, any tipps on improving my development cycle with docker? i'm using nixpkgs.dockerTools.buildImage, which involves building the image, loading it into docker, etc… i can automate the commands, but the whole thing takes time
<clever>
ive not done much with docker
<ertes>
yeah, i'm asking the channel =)
marsel has quit [(Ping timeout: 258 seconds)]
niksnut has quit [(Quit: Lost terminal)]
c0c0n3 has quit [(Quit: Page closed)]
Itkovian has joined #nixos
niksnut has joined #nixos
tsmeets[m] has quit [(Ping timeout: 260 seconds)]
<ronny>
hmm
<ronny>
steam is still broken on unstable :/
deepfire has joined #nixos
<kragniz>
when did it break for you?
<kragniz>
it's been working okay for me over the last couple of weeks
ebzzry has quit [(Ping timeout: 246 seconds)]
<ronny>
qknight: it complains not being able to write bootstrap files & exits after some file permission errors
hotfuzz has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
byteflame has joined #nixos
hotfuzz has joined #nixos
<kragniz>
ah I think I had the same problem a while ago
<kragniz>
I did something to the steam files to fix it
carlosdagos has quit [(Ping timeout: 240 seconds)]
xadi has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
spinus has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
dhess` has joined #nixos
<contrapumpkin>
niksnut: PM please :)
deepfire has quit [(Remote host closed the connection)]
<gchristensen>
contrapumpkin: what about AM?
<contrapumpkin>
lol
<adfaure>
Hello, I am packaging an application, but one of the dependency is not at the right version, So I wonder how to deal with version of lib/application ? Thanks.
ryantrinkle has quit [(Ping timeout: 260 seconds)]
jmiven has joined #nixos
dhess` has quit [(Ping timeout: 240 seconds)]
tsmeets[m] has joined #nixos
<ronny>
adfaure: typically by using either a override or declaring a new version of that package
<ronny>
adfaure: depending on the ecosystem more may be needed, is this about a python application?
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
endformationage has joined #nixos
<adfaure>
ronny, hello, no this is about a lib called gspell from gnome3
<adfaure>
I overrided my fork, but I wonder what are the 'good practices'
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<qknight>
sphalerite: the old wiki has some bits about doing that
<qknight>
sphalerite: Dezgeg[m] and viric are ppl to ask
Itkovian has joined #nixos
<Yaniel>
how do I use the mozilla overlay? (or overlays in general)
mkoenig has quit [(Ping timeout: 240 seconds)]
bfrog has joined #nixos
ixxie has quit [(Ping timeout: 260 seconds)]
<contrapumpkin>
ikwildrpepper: you asked what capacity would be good for macOS, and I said I don't know :) I'd say "more than we have now" would be lovely if it's easy to get. Like maybe up to mac10?
<contrapumpkin>
we're going to be making a lot of stdenv changes soon to improve a bunch of stuff
arjen-jonathan has joined #nixos
<contrapumpkin>
and it's kind of painful especially when we're sharing those builds with stable
<contrapumpkin>
where stable = master :P
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jluttine>
anyone set up nextcloud on nixos? any experience / tips?
goibhniu has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
zeus_ has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
dhess` has joined #nixos
digitus has joined #nixos
FRidh has quit [(Ping timeout: 264 seconds)]
<gchristensen>
lol TIL builtins has a builtins in it: builtins.builtins.builtins.builtins.import
<contrapumpkin>
nice
<contrapumpkin>
also some builtins aren't inside builtins
<contrapumpkin>
they're so builtin
<gchristensen>
lol
<contrapumpkin>
niksnut: never quite understood the logic of top-level builtins vs the namespaced ones
<contrapumpkin>
niksnut: is that just a historical artifact?
<gchristensen>
is there a way to see the arguments of a lambda I'm trying to call?
<gchristensen>
(there _is_ I just forget what it is)
<contrapumpkin>
I guess you want import to be at the top-level scope
mojjo has joined #nixos
kalebo has joined #nixos
<sphalerite>
qknight: thanks. The wiki doesn't say anything about how the image is built though
<LnL>
gchristensen: builtins.functionArgs?
<sphalerite>
or rather, not enough information to reproduce it
<gchristensen>
yes! thank you, LnL
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSTlP
<gchristensen>
O.o: $ time nix-instantiate ./tests.nix => 1m40s
<dtzWill>
eep I finally traced a bug down to having our /etc/protocols out-of-date D:. List of things I wouldn't think to check, normally, lol.
<dtzWill>
"oh my protocol IANA list must be stale"
ndowens08 has joined #nixos
<dtzWill>
anyway happily there are already 2 (recent) PR's addressing the problem so, hooray
<ndowens08>
Hey again
<dtzWill>
ndowens08: hi! (ᵔᴥᵔ)
<ndowens08>
:)
<ndowens08>
So is it goin
<ndowens08>
How*
cpennington has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ndowens08>
Kinda dead ATM :/
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #24257: geda: fix build by using guile_2_0 instead of latest ver (master...pjones/geda-guile) https://git.io/vSJE4
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vSTBw
<NixOS_GitHub>
nixpkgs/master 317734f Peter Hoeg: speedcrunch: stick to qt 5.7 as 5.8 is broken
<dtzWill>
YAY I spent way more time debugging this than I should have but MAN it feels good to finally figure it out ^____^
<Unode>
If nix is configured to use a TMPDIR which sits on a different filesystem, since tests are always executed as part of the build, are these tests run on the TMPDIR or on the /nix/store location?
fiddlerwoaroof has quit [(Ping timeout: 260 seconds)]
<Unode>
The reason I'm asking is I'm getting some odd failures and 'hangs' during some tests. Usually features to do with locks.
<dtzWill>
TMPDIR I believe, I've had this cause problems for me when the host kernel (not NixOS) didn't support some needed filesystem feature for the tests lol
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSTBp
<Unode>
dtzWill: I might be hitting the same issue. Which OS was this?
<dtzWill>
ha! sounds related. I don't remember if it was tmpfs or if I was using a TMPDIR that was really a bind-mount of some other filesystem. It's... SL6 maybe.
georges-duperon has quit [(Ping timeout: 240 seconds)]
<Unode>
Centos 6.5 here.
<dtzWill>
SL6.8, and yeah it's in that family
<Unode>
I also wondered about selinux but don't know enough to pinpoint the blame
<adfaure>
Hi, when packaging application, is there a way to log the commands exectued by the mkDerivation ?
sigmundv_ has joined #nixos
<domenkozar>
adfaure: set -xe
kthnnlg has joined #nixos
<domenkozar>
at the begining of the builder
<adfaure>
oh, nice idea thank you! it a is a bash feature right ?
<sphalerite>
-e should already be set, no?
* dtzWill
really wants derivation logs to include info like how long the build took. I know hydra can track but but I too-often find myself wanting that info later :P
<sphalerite>
adfaure: posix shell — will work in plain sh too
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<gchristensen>
grrrrr
fiddlerwoaroof has joined #nixos
k2s has joined #nixos
<ndowens08>
I thought there was a cmd that you prefix before what ya run and it tells ya how long it took
<gchristensen>
I would _really really like_ a mini-hydra that can take an input file and produce a build result summary of the passes & failures
<sphalerite>
and just -x is enough, -e makes it exit if any of the commands in the script fail, but that's already set in nix
* gchristensen
's gonna go crazy
<ndowens08>
Something similar to: time nix-build blah
georges-duperon has joined #nixos
spinus has left #nixos []
<sphalerite>
ndowens08: (it's called time and) it only helps if you want to know how long all of it took, but not for each derivation
<ndowens08>
True
<ndowens08>
Just the only thing I could think of
* ndowens08
tells gchristensen you're not the only one
kthnnlg has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] domenkozar closed pull request #24258: travis: sudo: true, to gain 4G of RAM, as per @domenkozar suggestion to fix #24200 (master...travis-pr-repair) https://git.io/vSJaR
k2s has quit [(Remote host closed the connection)]
monsieurp has joined #nixos
peterhoeg has joined #nixos
peterhoeg has quit [(Remote host closed the connection)]
tvon has joined #nixos
<dtzWill>
lol wait were we really talking about 'time'? I assumed he meant like NIX_BUILD_HOOK=time or .. something. lol
<ndowens08>
I just thought of cmd time :)
<dtzWill>
anyway just seems like a thing that should always be done for every derivation. I know time is impure but it would only be in the logs, not the result.
<adfaure>
Where can I find the default mkDerivation please ?
<dtzWill>
Unode: is it gnulib tests? lol because IIRC they have some weird file locking/thread thing that causes my SL6 machine with 32cores to go crazy and take forever lol
<Unode>
dtzWill: gnutls was the most recent
<dtzWill>
and IIRC often eventually fail, due to a kernel bug or something.
<Dezgeg>
sphalerite: are you planning to build a custom image or what?
<dtzWill>
which is legit but also I just want my build server to build things so I can run them on non-borken kernels :P lol
deepfire has joined #nixos
<Unode>
the other one was libu something or something like that
<dtzWill>
think it happened with everything that had a copy of gnulib or w/e, an example is findutils
<Unode>
yup findutils also failed
<sphalerite>
Dezgeg: yeah, that would be cool. I don't have a real reason to do so besides "it would be cool" though so if there's something I can just download and stick on the card that would also do
<Unode>
I might have to disable tests per-package though if this happens to rebuild in the future.
<dtzWill>
hahahahahaa nice
<deepfire>
yay, someone just did : -)
<sphalerite>
Dezgeg: nice, sd-image-armv7l-linux.img is what I'd want for a Pi 2 Model B, right?
* deepfire
wonders who was that kind stranger..
<Unode>
One of these days I'll understand nix. Right now I still struggle to create any kind of derivation/modification.
<Dezgeg>
sphalerite: yes
<sphalerite>
great, thanks
<Unode>
dtzWill: in your experience, did building with vmTools help?
dhess` has joined #nixos
<dtzWill>
ha! it has occasionally. I haven't had this problem in a while, I think it was partially fixed by changing the TMPDIR used. But there are multiple issues here I think..
reinzelmann has joined #nixos
<dtzWill>
i think it was greatly helped by not using a custom NIX_STORE path lol but I do certainly build these things as well. Maybe I just disabled tests for them.
<dtzWill>
(I know I did for findutils O:))
<Unode>
yeah the old TMPDIR was tmpfs, this one is ext4 so I guess something else is to blame. The actual /nix/store is on some shady NFS system that has messed up hardlink support (this is also loads of fun)
* dtzWill
checks gnutls
__Sander__ has quit [(Quit: Konversation terminated!)]
<Unode>
dtzWill: wish I could have /nix that would save me 98% of the pain.
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSTaU
<NixOS_GitHub>
nixpkgs/master dd385d9 Robin Gloster: qt57.makeQtWrapper: fix eval
<dtzWill>
lmao yeah I feel your pain. Yikes NFS I'm surprised that works at all, but maybe I shouldn't be. Basically I try to avoid NFS but maybe that's just the environments I've been in.
<dtzWill>
oh, IIRC gnutls just has really expensive tests to begin with haha.
<dtzWill>
run ALL the ciphers.
stepcut has quit [(Remote host closed the connection)]
<dtzWill>
:)
<gchristensen>
domenkozar: can I convince you to make a minihydra before making hercules?
<FRidh>
gchristensen: I think a simple way to implement this is write a program that first nix-instantiate thereby obtaining a list of .drvs, and then calling nix-build for each of them.
<maurer>
I just want to note, I'm really impressed with whoever made the nginx module's enableACME feature
<maurer>
I've had to deploy Let's Encrypt not-on-nixos 3 times, and this was far easier than any of them were
ryanartecona has joined #nixos
adfaure has quit [(Remote host closed the connection)]
<gchristensen>
domenkozar: you could call it Zeus. I want to be able to do like `zeus ./tests.nix` and have it build everything it can, and then output a report about what built okay, what failed to build, and build logs, preferably in a structured data format
<dtzWill>
ahha yeah test-lock is the one!
<Unode>
or no what was the other thing, fastopen test. that's one
<domenkozar>
gchristensen: so a better ui for nix-builx?
<domenkozar>
build*
<dtzWill>
(I don't use that commit, don't bother debugging why my thing was wrong lol)
periklis has quit [(Ping timeout: 264 seconds)]
<gchristensen>
domenkozar: yeah, suitable to add to jenkins or a different, existing CI tool
timor has joined #nixos
<timor>
Is anyone here using enlightenment? Here, application icons are not displayed. Should I ask the maintainer about that, or directly ask the enlighenment guys?
<gchristensen>
+:thumbsup_all:
<gchristensen>
+:y:
<gchristensen>
+:y::skin-tone-2:
<gchristensen>
+:y::skin-tone-3:
<dtzWill>
+1 to gchristensen's request. O:). Although I suppose I could probably just go use hydra for my use-case but nevertheless! :)
<gchristensen>
+:y::skin-tone-4:
<gchristensen>
+:y::skin-tone-5:
<gchristensen>
+:y::skin-tone-6:
<gchristensen>
oops sorry
<dtzWill>
gchristensen: ¬_¬
<dtzWill>
hehe
<gchristensen>
I have a couple accidentally spammy keyboard macros :(
<dtzWill>
Unode: I got bored watching 'hash-large' on htop, lol, so yeah tests take a while here too :P
<Yaniel>
the emoji equality madness has definitely gone too far
<dtzWill>
wasn't that bad. Thought you were gonna enumerate some emojis or something :P
<Unode>
dtzWill: I wouldn't mind that global 'disable-tests' flag. Sometimes saving on the CPU cycles is the best way to reduce your carbon footprint :P (and skip some oddities).
tsmeets[m] has quit [(Ping timeout: 260 seconds)]
<sphalerite>
Unode: I'm pretty sure good thermal insulation of your house goes a lot further than saving a couple of joules of computing :p
justan0theruser has quit [(Ping timeout: 268 seconds)]
<Unode>
sphalerite: well... there's the time factor too. You know this 'test-lock' test probably spent more time eating my CPU than the rest of the compilation of all the other packages.
<Unode>
It simply hangs and nix doesn't kill builds that 'took too long', so it only stops when I notice.
<Unode>
and right now, it's the 3rd or 4th package that has such kind of test.
<sphalerite>
That's true, but a powerful computer consumes say 200W under load. Heating consumes kWs :D
ebzzry has quit [(Ping timeout: 260 seconds)]
<Unode>
There's likely a broken feature somewhere but I don't have the privilege to fix it.
<Unode>
sphalerite: I sometimes use my CPU for heating... after a few hours 3-5 degrees in the atmosphere are noticeable.
<sphalerite>
really? How small is the space that you're heating?
<Unode>
(half joking there but it has happened)
fresheyeball has joined #nixos
<Unode>
depends, around 30sqr meters
<Yaniel>
most of that heat probably comes from your body
<Unode>
Yaniel: that's a nice compliment ;)
<Unode>
but no, I don't think so
<Yaniel>
haha, didn't quite realize it
<Yaniel>
and then there's "heat" from the reduced oxygen level in the room
<fresheyeball>
Hello out there
<maurer>
Is there any way to specify for a hydra jobset that you want to build some member of a particular default.nix file?
<domenkozar>
gchristensen: hmmm :) that's significant part of hydra
<fresheyeball>
How many of you would recommend nixos for a workstation?
<sphalerite>
Many!
<maurer>
In my case, I have a branch of nixpkgs I want to build a set of packages for on a personal hydra
<maurer>
fresheyeball: I would
<sphalerite>
I would, although it depends very much on the target audience.
<fresheyeball>
maurer: ok so in that interest
<fresheyeball>
I feel like `nix-env -i` is the wrong way to install things
<maurer>
And would prefer not to add an aditional foo.nix to build it.
<fresheyeball>
since it doesn't get stored as config anywhere
<maurer>
fresheyeball: So, there's three approaches I've seen to doing this, and there may be more
<fresheyeball>
ok!
<fresheyeball>
do tell
<sphalerite>
If it's either A, someone technically inclined, or B, someone very much not technically inclined and person A babysits the machine, then absolutely nixos
<maurer>
fresheyeball: One is to write a .nix file for your personal profile specifying everything that should be on your machine, and just repeatedly reinstall that file after updating it
<maurer>
and never use nix-env in another way
<maurer>
I used to do this, but eventually found it cumbersome
<fresheyeball>
maurer: what do you do now?
<maurer>
What I do now is that I use nix-env for simple things I want installed that I don't care about managing precisely
<maurer>
e.g. nix-env -iA nixos.chromium
<maurer>
And use nix-shell with shell.nix files for various subenvironments I need
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSTKx
<NixOS_GitHub>
nixpkgs/release-17.03 3e4130e Joachim Fasting: dnscrypt-proxy service: systemd notification under apparmor...
<maurer>
So if I want to go do rust dev, I nix-shell into it and it pulls the exact packages I need into scope
<maurer>
etc.
spinus has joined #nixos
<fresheyeball>
maurer: why? Don't you lose the ability to manage your computer with `.nix` files if you adhoc install like that?
<maurer>
Kind of? But I found that in practice, the event of "Oh, I just need program X" was too high to support me doing that
<maurer>
e.g. I'd be moving along and suddently realize I need cppfilt
<fresheyeball>
lame
<fresheyeball>
maurer: I was hoping there was a way to use `nix-env -i` such that it would keep the `.nix` file uptodate
<maurer>
So, nix-env -i _is_ keeping a configuration file
<maurer>
it's just not exceptionally human readable/editable
<fresheyeball>
where?
kampfschlaefer has quit [(Quit: No Ping reply in 180 seconds.)]
mkoenig has joined #nixos
<maurer>
trying to remember
<fresheyeball>
can I get it, and commit it to git so my computer is backed up?
mkoenig has quit [(Read error: Connection reset by peer)]
<maurer>
.nix-profile/manifest.nix is the file
<maurer>
It has sufficient information to restore everything you've nix-env -i'd
<maurer>
but I don't know the command to use it off the top of my head
<fresheyeball>
ok
<fresheyeball>
so if I want to maintain my system configuration
<fresheyeball>
I just need to commit `.nix-profile` to some git repo
<maurer>
Yeah, but it's all one big line
<maurer>
you'll never get useful merges
<maurer>
and human editing it is not useful
seagreen_ has quit [(Ping timeout: 260 seconds)]
<maurer>
Also note that it will reference the nixpkgs or nixos checkout you used to install them
<maurer>
so you'll need to keep that somewhere too if you want to literally reuse the manifest
<maurer>
All in all, my big warning here is that while as far as I can tell all the info you need to restore is in there, I don't know of a command that does it
mudri has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
<maurer>
gchristensen: Maybe you might know? If I want to evaluate e.g. (import ./default.nix).foo.bar in a hydra eval, is there a way to do that without adding a new nix file?
roconnor has joined #nixos
georges-duperon has quit [(Quit: Leaving)]
<maurer>
gchristensen: Context is that I have a local nixpkgs branch I want to test, but want to do so without putting it into a state that'd make it unsuitable for merge into nixpkgs
<maurer>
(this is on my own hydra, I won't be burning others' resources)
<gchristensen>
I don't know what that means :/
<maurer>
gchristensen: So, normally when you set up a hydra jobset, you say something like run nix expression "default.nix" in input "nipxkgs"
<maurer>
Or in the case of the normal nixpkgs job, "release.nix"
<gchristensen>
ah..
<maurer>
I was hoping I could refer to members of the "default.nix" attrset so I only build the packages that are under examination
<maurer>
I could do this by making a maurer-release.nix, but then I'd have to remove that if I wanted to make a PR
tsmeets[m] has joined #nixos
<gchristensen>
maurer: I ... don't think so
timor has quit [(Ping timeout: 258 seconds)]
osxi_ has joined #nixos
osxi has quit [(Read error: Connection reset by peer)]
tvon has quit [(Quit: Peace out, y'all!)]
keith_analog has quit [(Quit: Konversation terminated!)]
<maurer>
gchristensen: OK. I've come up with a workaround, it's just a bit icky (I'll put maurer-release.nix into a separate repo, and add that repo as an input)
<gchristensen>
yows! lol
justan0theruser has joined #nixos
cptchaos has joined #nixos
ertesx has joined #nixos
<gchristensen>
FRidh: getting drvs and then nix-store -r on them all is doing fairly ok
<gchristensen>
thank you
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
<LnL>
maurer: I wrote some expressions that allow you to select a set of attributes that you want to build
marsam has quit [(Remote host closed the connection)]
deepfire has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSTDU
<maurer>
Hrm, evidently my hydra isn't working right anyways
<maurer>
journalctl shows the queue runner receiving jobs
<maurer>
but then shows it claiming there are no jobs
<maurer>
and the jobs never got executed
<maurer>
rip
Itkovian has joined #nixos
dhess` has joined #nixos
<maurer>
oh nevermind, misread logs, both jobs are queued, just not running
<maurer>
wonder why
stepcut has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
<tjg1>
Is there a way to write my configuration files in a modular fashion, so that they can be included in either NixOS, a container or a user environment? Example of what I have in mind: hardware-gfx-nvidia.nix, x11-xfce.nix, development-python.nix, database-postgresql.nix, etc.
<clever>
tjg1: you can list other nixos modules in the imports list, like imports = [ ./vim.nix ./core.nix ];
<clever>
tjg1: and each module has the exact same syntax as configuration.nix
<clever>
so you can just split the settings up as you want, and then list which files to use for this machine
<tjg1>
but can i write a list of packages to install and configuration variables to set, in a way that would make them usable in all those 3 types of environments?
<clever>
yeah, you can still set environment.systemPackages in each file
<clever>
and nixos will concat the lists from all of them
dhess` has quit [(Ping timeout: 256 seconds)]
<FRidh>
gchristensen: its a fun little project actually. Calling nix-instantiate to get a drv, then nix-store -q --graph to get a graph. Load that in networkx, then iterate from outside to inside, testing first whether the path exists and if not call nix-build on it
<benley>
it's amazing how badly certain build systems break on nixos (Pants, Bazel, Gradle, ...)
<benley>
I'm trying to work on a project that uses Pants and it's a total shitshow
<domenkozar>
pants shitshow
<domenkozar>
lol
<benley>
haha okay yes, I did say those words :-P
<benley>
no disrespect to pants or things that use it of course; it's just that it kinda tries to solve some of the same problems that Nix does, and the two strategies don't get along particularly well
<gchristensen>
can I get the path to a a drv from an attr in nix? ie: get the drv but _not_ build it
<domenkozar>
gchristensen: you have to instantiate it
<gchristensen>
can I do that from within a nix expression?
<benley>
if you were asking for "${pkgs.hello}/something" it would have to build the derivation first, but you're only evaluating a sub-attribute of pkgs.hello
joko has joined #nixos
joko has quit [(Changing host)]
joko has joined #nixos
benzrf has joined #nixos
<benzrf>
yo
<benzrf>
i'm using nix to manage my haskell libraries, on Arch. i wanted to try screwing around with opengl through haskell, but i'm having some issues -
<benzrf>
it seems that it's getting linked against the nix opengl libraries, but the problem is that i'm using the proprietary drivers iirc
<clever>
gchristensen: at a glance, i dont think the drvPath attribute has any context, so it shouldnt trigger builds
<clever>
gchristensen: line 719 is where it sets the .drvPath attribute to be the string drvPath, not sure what the = is doing, *reads more*
<joko>
Hello, could anyone remind me how to run again the boot-loader installation? I boot with a NixOS 16.09 Live USB and nixos-install complains about my nix configurations (I'm on unstable) or nixos-install --chroot and nixos-rebuild switch complains about being inside a chroot
<clever>
gchristensen: ah, thats adding some context, so you depend on the .drv itself (not its outputs)
<gchristensen>
hmm
MP2E has joined #nixos
mojjo has quit [(Ping timeout: 260 seconds)]
<clever>
gchristensen: every string in nix has context, a list of storepaths it depends on
<clever>
gchristensen: and nix uses that to figure out what needs to be built first, or copied to a build slave, or put into the sandbox
<pmade>
Is there a way to make one of the nix tools expand a path and print to stdout? Like turn <nixpkgs> into ~/.nix-defexpr/.......
ryantrinkle has quit [(Ping timeout: 258 seconds)]
fingerzam has quit [(Ping timeout: 255 seconds)]
fingerzam has joined #nixos
<clever>
benzrf: opengl is a bit tricky to get working outside of nixos, it relies on the libGL files being in /run/opengl-driver/lib
mkoenig has quit [(Read error: Connection reset by peer)]
<benzrf>
:[
<benzrf>
how do i set that up?
<clever>
benzrf: which libs you put there depend on what gpu you have
<benzrf>
so i just sudo mkdir?
<clever>
they need to be compatible with the xorg side of the gpu drivers
<benzrf>
symlink my drivers?
<benzrf>
i use bumblebee fwiw
<clever>
is it giving a clear linker error saying what wasnt found?
deepfire has joined #nixos
<benzrf>
it does if i run it without bumblebee
Fare has joined #nixos
drasich has joined #nixos
<benzrf>
hmm, is 'swrast' short for "software rasterization"?
<clever>
benzrf: yeah
<benzrf>
neat
<benzrf>
clever: so i just sudo mkdir and symlink?
<benzrf>
no automated version or anything?
<clever>
benzrf: and add it to LD_LIBRARY_PATH
Piece_Maker has joined #nixos
<clever>
benzrf: i think its more important that the version matches the xorg, and chances are nixpkgs will have a different version
<clever>
benzrf: so you need to get them from /usr/lib/
mkoenig has joined #nixos
carlosdagos has joined #nixos
<benzrf>
bwah
<benzrf>
clever: wait so what exactly does /run/opengl-driver/lib do
Acou_Bass has quit [(Ping timeout: 268 seconds)]
Piece_Maker is now known as Acou_Bass
mudri has quit [(Ping timeout: 240 seconds)]
<clever>
benzrf: it lets nixos switch out the ati libGL for an nvidia libGL at runtime, without nix trying to recompile every package under the sun
<benzrf>
i don't use nixos
<clever>
and thats why the directory is just missing
<benzrf>
wait but like
<clever>
packages compiled with nix assume that /run/opengl-driver/lib has the libGL files
<benzrf>
do i need the directory if i don't use nixos?
<benzrf>
oh ok
<contrapumpkin>
that's unfortunate
cstrahan has quit [(Ping timeout: 255 seconds)]
<contrapumpkin>
I wish nixpkgs didn't assume nixos :)
<contrapumpkin>
or that it was flagged
<benzrf>
hehehe what a coincidence (in my `locate -i i965' output) /nix/store/a4bx92whi965sjyyvidhf7lrgrb4mx4z-videoproto-2.3.3.drv
<clever>
contrapumpkin: the problem, is that if you try to handle this at link-time, nix will need to re-compile it for your gpu, and now the binary cache is of no use
<contrapumpkin>
yeah not saying that
<clever>
it could possibly be handled via ~/.nix-profile/lib/ and use profile.d/nix.sh to do something
<contrapumpkin>
just saying that there's a USE flag for saying "we're on nixos, look in traditional NixOS locations" or "we're on linux, look somewhere more conventional"
carlosdagos has quit [(Ping timeout: 246 seconds)]
<contrapumpkin>
not all packages would be affected
<clever>
but ive sort of run out of not-nixos machines i could test on, lol
<clever>
either look it up, or guess until it works
<benzrf>
maybe ill try deepfire's thing
<benzrf>
:(
amir has quit [(Remote host closed the connection)]
amir has joined #nixos
dhess` has joined #nixos
chris| has quit [(Ping timeout: 246 seconds)]
chris| has joined #nixos
marsam has joined #nixos
byteflame has quit [(Ping timeout: 258 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
<Unode>
I'm trying to use "nix-build -E 'with import /home/unode/.nix-defexpr/channels/nixos {}; vmTools.runInLinuxVM hello'" to compile a failing dependency (systemd) but vmtools itself depends on this package. Regardless, I already have a vm-run.drv from a previous build. Is there any way I can tell nix to use the existing vm-run as environment for the failing package?
<gchristensen>
clever: I can't manage to make my thing work, taking a list of nixos tests and returing their drvpaths
mguentner2 is now known as mguentner
byteflame has joined #nixos
MichaelRaskin has joined #nixos
<LnL>
what's the problem?
dhess` has quit [(Ping timeout: 246 seconds)]
isidore has quit [(Quit: WeeChat 1.7)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
marsel has joined #nixos
<gchristensen>
it tries to realize the store paths instead of just returning a list of drvs
<benzrf>
03:02:46* clever │ packages compiled with nix assume that /run/opengl-driver/lib has the libGL files
<benzrf>
can you elaborate on what this means?
<benzrf>
like, they're linked against it? or what?
<MichaelRaskin>
Greate, I enter the channel and the first thing I see is: «what's the problem?»
<MichaelRaskin>
I think they dlopen libGL.so from LD_LIBRARY_PATH
<MichaelRaskin>
Without being linked to a specific location of libGL.so
<benzrf>
oh
bennofs has joined #nixos
<benzrf>
well... that seems wrong because this shows up in the output of `ldd GLUTTest' libGL.so.1 => /nix/store/mjm0b9p57rqvz6bgx6h47cvr05n7plzg-mesa-13.0.5/lib/libGL.so.1 (0x00007fde39fdb000)
<MichaelRaskin>
Hm, right
<MichaelRaskin>
They do have Mesa in RPATH, it's just that on NixOS there is LD_LIBRARY_PATH that overrides that
amosbird has quit [(Ping timeout: 260 seconds)]
amosbird has joined #nixos
<benzrf>
RPATH?
<MichaelRaskin>
Well, the executable contains the library basename; then it is searched in $LD_LIBRARY_PATH, then in RPATH or RUNPATH (a set of paths to search libraries that is encoded inside the executable), then in the system default locations (/usr/lib or something)
<LnL>
gchristensen: this should also work, depending on what you need xs: writeText "tests.nix" ''[ ${concatMapStringsSep " " (x: (import (./. + "/nixos/tests/${x}.nix") {}).drvPath) xs} ]''
sivteck has quit [(Quit: Leaving)]
odi has quit [(Ping timeout: 264 seconds)]
Itkovian has joined #nixos
cptchaos has quit [(Remote host closed the connection)]
cptchaos has joined #nixos
takle has quit [(Remote host closed the connection)]
<gchristensen>
maybe, let me do some testing to see if that is comparable
<gchristensen>
oops
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vSTjf
<NixOS_GitHub>
nixpkgs/master 455ce35 Vladimír Čunát: Merge branch 'staging'
<gchristensen>
LnL: so if I do, in nix-repl: `((builtins.listToAttrs tests).mytest {}).drvPath` it works correctly, but if I do: `pkgs.writeText "foo.sh" ((builtins.listToAttrs tests).mytest {}).drvPath`, it tries to realize the drv
<gchristensen>
(should I be saying "it tries to realize the drv's store path"?)
<maurer>
So, does anyone have any idea why my hydra seems to be weirdly stalled between having figured out the dependencies, but not generated build steps?
<LnL>
maurer: I don't think hydra will build on the master
<gchristensen>
substitutes slows it down suuuper lots, maurer
<gchristensen>
so give it a bunch so wait a while :P
<clever>
maurer: check the journal
<maurer>
I also get Mar 24 20:08:36 hydra hydra-queue-runner[394]: status: {"status":"up","time":1490386116,"uptime":5405,"pid":394,"nrQueuedBuilds":2," in log
<maurer>
clever: I'm looking at it, do you want me to copy it all, or?
<clever>
maurer: oh, you didnt configure a build slave
<clever>
maurer: and hydra doesnt build on localhost by default
<maurer>
clever: Oh, last time I did this it did build on localhost by default
<maurer>
let me see if I can find somewhere to tell it to do that
<LnL>
gchristensen: oh indeed
byteflame has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #24299: Drop Qt 5.5 and Qt 5.7 from master (master...master--drop-qt-5.7) https://git.io/vSkec
<maurer>
clever: Documentation makes it look like I put localhost into /etc/nix/machines, is that correct?
<fresheyeball>
maurer: so I can't backup .nix-profile because it contains the nix-store
<maurer>
(Also, it's sad I can't just list localhost in the module config)
<clever>
maurer: yeah, and if your using nixos, thats done via configuration.nix, nix.buildMachines i believe
<maurer>
clever: So, I'm using a container
<LnL>
gchristensen: I don't think it tries to realise the drv, but I think it's detecting all of the build dependencies
<maurer>
clever: Do I just put nix.buildMachines in the container config?
<clever>
maurer: that should do it
ehanson has quit [(Quit: Leaving)]
<gchristensen>
LnL: it outputs "building path(s) ‘/nix/store/q10x5hbyc1sl95hprpav0c1l4wcscz72-vm-test-run-mytest'" and starts a VM in qemu
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to release-17.03: https://git.io/vSkvf
<NixOS_GitHub>
nixpkgs/release-17.03 ba554d8 Thomas Tuegel: Revert "qt5: 5.6.2 -> 5.7.1"...
<gchristensen>
LnL: pkgs.writeText "foo.sh" (toString (builtins.unsafeDiscardStringContext ((builtins.listToAttrs tests).mytest {}).drvPath)) does "the thing"
<clever>
maurer: id normaly add the user to nix.trustedUsers in configuration.nix, but there can only be 1 nix-daemon, so it may need to go on the host, and now the usernamespace is making it a mess
<Unode>
(in case someone has suggestions) I'm trying to use "nix-build -E 'with import /home/unode/.nix-defexpr/channels/nixos {}; vmTools.runInLinuxVM hello'" to compile a failing dependency (systemd) but vmtools itself depends on this package. Regardless, I already have a vm-run.drv from a previous build. Is there any way I can tell nix to use the existing vm-run as environment for the failing package?
Itkovian has quit [(Client Quit)]
<maurer>
clever: Hm. The main reason I'm reluctant to set it up with an ssh account on the main host is that this would mean that it would effectively encrypt and decrypt every build output to copy it from the nix store back to the nix store
<clever>
maurer: so building never happens inside the container
<maurer>
I'm gonna see what it says
<maurer>
Hrm
<maurer>
it basically just says don't do that
<clever>
maurer: and also, the sandboxes in nix basicaly create containers on the fly, for every build
<maurer>
So, my two main reasons for using a container here is that my main system runs a postgresql of a different configuration than what hydra wants
dhess` has joined #nixos
<maurer>
and that I want at least a little isolation between a pile of perl and the rest of my system
Itkovian has quit [(Client Quit)]
<MichaelRaskin>
ndowens08: on master?
<gchristensen>
maurer: you pretend your entire OS isn't perl anyway
<maurer>
gchristensen: Most of my OS isn't talking to the network
<ndowens08>
MichaelRaskin: i have deleted ~/.nox several times and nothing; but i assume so?
<gchristensen>
so, what, you want it in C?
<maurer>
gchristensen: I mean, if I had my druthers, it'd be a mix of rust and haskell probably :P
<maurer>
In any case, I guess I'll just try to rewire hydra to run on the host alongside other stuff
ryanartecona has quit [(Quit: ryanartecona)]
<clever>
maurer: if you can just run a second pgsql and change the $HYDRA_DBI on hydra, that could do it
<maurer>
Yeah, that's what I'm doing
zraexy has joined #nixos
<maurer>
or trying to
<maurer>
how do I get the postgres service to have two instances?
<fresheyeball_>
general question: how do I discover configuration options?
<fresheyeball_>
like I'm describing a dep in a .nix file
<clever>
maurer: nixos doesnt have code for that right now
<maurer>
clever: Uh, rip
<gchristensen>
I do it with nixos-container
<maurer>
gchristensen: I just got forced to move this out of a container
<clever>
maurer: one min
<MichaelRaskin>
ndowens08: I wonder what nox does to get such a merge conflict — a typical PR is rebaseable just fine, after all…
<ndowens08>
fresheyeball_: are you talking about options for services and such or in a pkg?
<dash>
maurer: i misread that for a moment and thought you were saying that you live in a shipping container, and got evicted
<fresheyeball_>
ndowens08: lets say I am using a function `fetchgit`
<maurer>
dash: Heh no, evidently hydra gets mad about being run in a container
<fresheyeball_>
how do I find out what configuration options it takes?
<maurer>
dash: so now either I need to move all my normal work into a container
<ndowens08>
MichaelRaskin: I have no idea, it has been doing that since yesterday; it was giving a undefind gtk variable in qt5-5.7 because of a commit
<fresheyeball_>
it takes a "set"
<maurer>
or figure out a way to make the two postgres play nice together
<clever>
maurer: with code like this, you can create a new systemd unit to run a given command as a service
<clever>
maurer: you will just need to manualy fill in the pgsql config file, and configure it to play nice with its other version
<maurer>
I think it may be easier to just move my dev into a container
<maurer>
sad as it it is
<maurer>
*it is
dhess` has quit [(Ping timeout: 264 seconds)]
<MichaelRaskin>
ndowens08: I guess it's the situation when the old (evaluation-breaking) change is technically the current state in PR, and the master has a fixed state that is different from both PR and the initial state
<MichaelRaskin>
An annoying situation…
<ndowens08>
sigh, i find it useful when I am testing PRs and etc
<ndowens08>
and make sure it doesnt break other pkgs
<MichaelRaskin>
Let me see…
civodul has joined #nixos
takle has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
odi_ has quit [(Ping timeout: 260 seconds)]
shanemikel has joined #nixos
<MichaelRaskin>
ndowens08: I think I have found a workaround, but now I need to fix the eval
<MichaelRaskin>
To check if the workaround is working
<MichaelRaskin>
I guess by now you know more Git than me, though: my strategy is based on using the experience with other VCSes to set a very specific goal and not do anything unless I am reasonably sure Git will help me reach the goal
tsmeets[m] has joined #nixos
<ndowens08>
IDK about that MichaelRaskin , i have learned more than I have ever knew when I started this
<MichaelRaskin>
You are trying to do the best thing, which is riskier; it also means that if you write down all that you have hit in the process, it would actually be a useful checklist for a new user
<MichaelRaskin>
(my knowledge is mostly «well, every sane VCS does X, git usually does Y, but if you type random characters it may ask if you are sure you want X»)
<fresheyeball_>
ssssseriously? how do I find out what options I can put in a "set"?
<benzrf>
MichaelRaskin: git basically makes sense if you learn how it works!
<MichaelRaskin>
You mean in NixOS configuration? nixos-option
<fresheyeball_>
there has got to be an answer to this, otherwise its all magic strings
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSkTM
<NixOS_GitHub>
nixpkgs/master 82adcd6 Michael Raskin: pythonPackages.BTrees: fix evaluation; builds fine
<fresheyeball_>
MichaelRaskin: I mean in general
<MichaelRaskin>
benzrf: no, if you actually learn how other DVCSes work _and_ how Git works, Git's UI will make zero sense again
<benzrf>
lol
shanemikel has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
In general it depends on where you are going to feed it
<benzrf>
yeah git has a pretty garbagey UI
<MichaelRaskin>
Git actually lacks approximately half of the model, too
<ndowens08>
git is the only VCS i actually learned about, others i used just to download software
<MichaelRaskin>
For example its FS model is basically «properly configured ext3»
<MichaelRaskin>
(I have trashed git repos by power-tripping ext4 to a state which seemed unrecoverable)
<c74d>
"<pierron> c74d: NixOS has "nixpkgs.…" options which are controling what goes into the "pkgs" argument which is given to every module." -- okay; I was wondering what ultimately controls what `pkgs` is under `nixos-rebuild` assuming I don't change it with the `nixpkgs.*` options -- is it, e.g., the first of root's channels?
<fresheyeball_>
would it be totally unreasonable to put apt-get on nixos?
<MichaelRaskin>
c74d: NIX_PATH governs that, I think
<benzrf>
fresheyeball_: probably
<clever>
c74d: i believe it uses the channel called nixos
<MichaelRaskin>
I know how one could use dpkg from NixPkgs (we actually have it), but what exactly are you going to do with apt? Run it on Fedora just for lulz?
<clever>
c74d: and its always the nixpkgs that the nixos/default.nix came from
<benzrf>
fresheyeball_: you could put nix on debian instead
<MichaelRaskin>
fresheyeball_: Also, you _can_ put arbitrary magic strings as attribute names and that will work
<MichaelRaskin>
(if you pass it to something that either doesn't care about extra attributes or expects these magic strings)
carlosdagos has joined #nixos
<c74d>
ah, I replaced my `nixos` channel with two channels with the same URL named `foobar` and `barfoo`, and now `nixos-rebuild` complains that "file 'nixpkgs' was not found in the Nix search path", but appears to proceed regardless
<MichaelRaskin>
fresheyeball_: as for apt — well, packaging shouldn't be hard, but tell us how you want to use it and we will try to describe the interesting experiences you are looking forward to
<c74d>
so I see `$NIX_PATH` defines <nixpkgs> to point to (what was before I just deleted it for testing) the `nixpkgs` directory of root's `nixos` channel
<MichaelRaskin>
ndowens08: as for your hard-learnt-notes about git being probably useful — I am serious, and I remember you lamenting the lack of basically such notes from a previous person joining.
<fresheyeball_>
benzrf: I just worry I will find things that are not available in nix
<MichaelRaskin>
ndowens08: as for nox — it looks I have made it work in some sense
<fresheyeball_>
and so it makes me want to have apt-get as a fallback
<MichaelRaskin>
fresheyeball_: it won't be pretty on NixOS with apt
<fresheyeball_>
I'm trying to overcome my fear and embrace nixos, but there is so much uncertainty
<ndowens08>
I am a bit confused about previous person joining and etc lol
<maurer>
fresheyeball_: If that's what you want, you may find installing nix on top of debian more palatable for the moment
<c74d>
I suppose `NIX_PATH` is taken from the environment of the shell that invokes `nixos-rebuild`, and is set by some shell profile file created by NixOS
justbeingglad has joined #nixos
<MichaelRaskin>
We do have debootstrap so you can have a chroot
<maurer>
fresheyeball_: but usually things are availble in nix ime
<maurer>
I've only had to package "weird" things like random ocaml libraries
<fresheyeball_>
maurer: can you give me an example of a time where you could not find what you needed in the nix store?
<fresheyeball_>
and what you did about it?
<MichaelRaskin>
ndowens08: well, you said it would be simpler with git guidelines, I guess magically having your notes form now a month ago would be nice for you
justbeingglad has left #nixos []
<maurer>
fresheyeball_: Uh, doing dev work for my thesis, I needed an ocaml library and its dependencies
<maurer>
fresheyeball_: So I packaged all of them and submitted PRs to nixpkgs
<maurer>
now most of them are in mainline nixpkgs, and I'm actually spending today trying to get the remainder ready for htat
<MichaelRaskin>
ndowens08: as for nox: I check out the PR commit, then rebase on master, then reset without flags on master, then do nox-review wip
carlosdagos has quit [(Ping timeout: 268 seconds)]
<MichaelRaskin>
It sidesteps the issue of merge and basically tests the diff from the PR
<c74d>
clever: thanks, that it's root's `nixos` channel is sufficient for me
<c74d>
"<pierron> gchristensen: Still need help understanding "imports = [ … ];" processing?" -- if you have help to give on that topic, I was also wondering whether it's possible to have a module's `imports` depend on another module's configuration options (`imports = lib.optional config.foo.bar …`) without hitting infinite recursion?
<ndowens08>
hmm it started working now, think you fixed it with a upstream push
<clever>
c74d: dont think thats possible, you want to use mkIf inside the target module
<MichaelRaskin>
Well, I did fix _evaluation_ of master
<clever>
c74d: so its always imported, but turns itself on/off
<MichaelRaskin>
But nox-review pr is supposed to be still broken
<c74d>
clever: in my immediate use-case, the modules I want to conditionally import are in <nixpkgs/nixos/modules/profiles>, so I don't think that's feasible
<ndowens08>
I am currently inside .nox/nixpkgs ( i dont know if it has something to do with that) only difference I have done since you pushed fix
<clever>
c74d: ah
<fresheyeball_>
maurer: can I use nix to manage packages that are not executable?
<clever>
c74d: you can make it depend on other variables in the current file, like a let block of booleans, but it cant depend on the config argument passed in
<fresheyeball_>
its just a download
<fresheyeball_>
maurer: splain!
<maurer>
Yeah, nix can do that just fine, see the fetchurl function
<c74d>
clever: okay, thanks
<MichaelRaskin>
I am not sure if it tests what you would want it to test
<maurer>
The problem will be in making kde know where it is, I don't know anything about the kde function
<maurer>
*the kde packaging
<MichaelRaskin>
It may be testing PR against itself, for example
Tarinaky has quit [(Read error: Connection reset by peer)]
<disasm>
using nixops deploying a user I get a warning "resource ???users??? is obsolete". I don't get that warning when I do a nixos-rebuild switch on a non-nixops server. Is there a different way I should deploy users using nixops? I'm using users.extraUsers.sam which appears to be up to date way to do it via nixos documentation.
<dhess>
users.users
<dhess>
extraUsers is an alias for that.
<MichaelRaskin>
It doesn't work for me as nox-review pr
<ndowens08>
weird, does for me :\
<MichaelRaskin>
It may depend on whether the PR you test is from the Qt failure window
Tarinaky has joined #nixos
<ndowens08>
hmm tried my 3rd one and still works
<disasm>
dhess: I did users.users and same warning
byteflame has quit [(Ping timeout: 260 seconds)]
ambro718 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] ljli opened pull request #24303: emacsMacport: lowPrio and description (master...emacs-mac) https://git.io/vSktY
mudri has joined #nixos
<dhess>
disasm: Maybe you have a stray users.<name> somewhere?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<dhess>
I dunno, I've been using HEAD nixops for a few days and I haven't seen that warning.
<dhess>
I'm deploying quite a few users.users.
<disasm>
so users what users is what it's supposed to be, users.extraUsers is deprecated, correct?
<disasm>
errr users.users
kier has quit [(Remote host closed the connection)]
<dhess>
disasm: I don't know whether users.extraUsers is "deprecated," per se, but it is an alias for users.users according to the NixOps manual.
kier has joined #nixos
<disasm>
dhess: here's my config if you see something I'm doing wrong...
<NixOS_GitHub>
nixpkgs/master 6bdf8cc Michael Raskin: Merge pull request #24300 from winniequinn/vscode-1.10.2...
<MichaelRaskin>
I guess you will have to use checkout/rebase/reset/wip workaround, after all
<ndowens08>
havent tried that, just weird it stopped working again lol
<MichaelRaskin>
Well, every introduced-then-fixed breakage creates hard-to-merge divergence between PR's tree and master
<praduca>
Hi, i need some advice on using haskell stack on nixos
<praduca>
i compiled some test examples with stack, but after doing what is suggested on "A journey into the Haskell NG infrastructure", I started getting problems of name collisions when installing soft
<praduca>
is this something that is probably my fault, or it is expected?
cfricke has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 246 seconds)]
fresheyeball_ has quit [(Ping timeout: 260 seconds)]
dhess` has quit [(Ping timeout: 240 seconds)]
<dhess>
disasm: Nothing there that stands out to me. Sorry I can't be of help.
<disasm>
no problem, doesn't appear to be causing any issues, it just outputs it everytime I deploy.
clever is now known as clever-afk
<dhess>
disasm: I would start by commenting out the users.extraUsers stanza and see if the warning persists.
hiratara has joined #nixos
<fresheyeball>
so what does it mean when `nix-env -i` fails with Killed
cptchaos has quit [(Remote host closed the connection)]
cptchaos has joined #nixos
anelson_ has quit [(Ping timeout: 260 seconds)]
anelson- has quit [(Ping timeout: 258 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
<viric>
fresheyeball: dmesg
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vSksQ
<NixOS_GitHub>
nixpkgs/master 1c656d2 Bas van Dijk: ghcjsHEAD: upgrade ghcjs-boot packages...
<NixOS_GitHub>
nixpkgs/master 0114668 Peter Simons: Merge pull request #24279 from LumiGuide/ghcjsHEAD-upgrade-to-latest-LTS...
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to release-17.03: https://git.io/vSksA
<NixOS_GitHub>
nixpkgs/release-17.03 16b8940 Peter Simons: Merge pull request #24279 from LumiGuide/ghcjsHEAD-upgrade-to-latest-LTS...
<PenguinOfDoom>
is there a recipe for running an ubuntu userspace on top of nixos? I want the base system to supply only the nvidia driver and the X server, but get all command line tools and gnome desktop garbage from the overlay
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vSkGv
<NixOS_GitHub>
nixpkgs/master b9c7d29 Leon Isenberg: haskellPackages: apply GHC specific overrides before GHCJS...
<NixOS_GitHub>
nixpkgs/master 24a6928 Peter Simons: Merge pull request #23610 from ljli/hs-ghcjs-pkgs-inherit...
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
ixxie has quit [(Read error: Connection reset by peer)]
tsmeets[m] has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
<gchristensen>
PenguinOfDoom: why so?
<MichaelRaskin>
I think the solution is called «debootstrap»
<dash>
PenguinOfDoom: Man, you can't do anything the easy way
<dash>
but yeah, a chroot would be the obvious answer
stepcut has quit [(Remote host closed the connection)]
hiratara has joined #nixos
<NixOS_GitHub>
[nix] LnL7 opened pull request #1289: use std::tuple for ValueMap allocator (master...valuemap-allocator) https://git.io/vSkn1
<Unode>
speaking of complicated setups, is there any documentation on how to get nix-daemon to delegate compilation to another machine? I'm considering using a build machine I control to do all the compilation (non-standard nix location and so on).
<Unode>
is there such a feature in the first place?
<maurer>
Out of curiosity, is there a reason nox uses git fetch rather than git worktree add?
<maurer>
It seems to copy a lot of files for no good reason, and then get out of sync
<NixOS_GitHub>
[nix] LnL7 opened pull request #1290: use std::tuple for ValueMap allocator (1.11-maintenance...1.11-valuemap-allocator) https://git.io/vSkcs
<maurer>
Oh, nevermind, now that I verbalize it I see why (you can only have one copy of each branch checked out in a worktree)
<maurer>
(so if you were already using worktrees, it'd fail)
<maurer>
mkdir ~/.nox; cd .nox; git clone ../Development/nixpkgs
ryantrinkle has joined #nixos
<maurer>
and then go run my nox-review, it works great
dhess` has quit [(Ping timeout: 260 seconds)]
<Unode>
dhess: is there any additional information on what these machines referenced by 'nix.buildMachines' are supposed to provide? I mean, what kind of protocol/communication is supposed to happen.
<Unode>
Now I'm wondering if I can actually use a docker instance running nixos to do all the heavy work...
<dhess>
Unode: (note that the distributed builds stuff is for when you're not using nix-daemon.)
<dhess>
Unode: yes, see LnL7's nix-docker Github repo
* LnL
should update it with 1.11.7 :)
<Unode>
dhess: I'm using nix-daemon on NFS but only one machine is running the daemon. Then some socat witchcraft to have it available on more than one machine.
joneshf-laptop has quit [(Ping timeout: 260 seconds)]
<Unode>
LnL: perhaps you can tell me straight away if what I'm considering is doable with this image. I use nix-daemon for multi-user, NFS for between machines and I don't have root access so nix runs from /share/nix.
rahul has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
<PenguinOfDoom>
gchristensen: most of my software development are one-off scripts and such. I want to roll my face on the "make install" button, not design a production quality reproducible build system
<Unode>
the machine running nix-daemon mostly behaves but some packages don't compile to reasons beyond my understanding.
carlosdagos has joined #nixos
rahul has quit [(Client Quit)]
<Unode>
So I though, can I build on something I can control...
<PenguinOfDoom>
gchristensen: but I also want a computer that doesn't depend on five gigabytes of mutable state
<LnL>
Unode: you are using a different store path?
<Unode>
LnL: yes
<Unode>
do you think this docker image could be made to work. (a limitation, docker doesn't run on the same machine that runs nix-daemon).
<LnL>
so are you building everything yourself or do you want to use a container to avoid that?
<Unode>
LnL: I'm building everything.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Unode>
LnL: I want to have /share/nix so I can use it across systems (/share is an NFS drive)
<Unode>
the container would simply be to have a controlled environment which hopefully won't cause the weird failures I'm getting.
MP2E has quit [(Quit: reboot)]
carlosdagos has quit [(Ping timeout: 240 seconds)]
<Unode>
the reason for 'another machine' is because currently I can't even compile qemu because systemd fails and it is a dependency of qemu.
<LnL>
the image I made uses /nix/store so I'm not sure how useful that would be then
<schoppenhauer>
hi. is anyone using keepass under nixos? I see there is no keepasshttp plugin packaged, but also, I am not sure how to add keepass plugins, because they must be put into the keepass folder.
<Unode>
LnL: I see
<LnL>
it's usually better to setup a bindmount or something on the machine to just use /nix/store
<ndowens08>
schoppenhauer: hmm i may try to package it
<NixOS_GitHub>
nixpkgs/master 872a15a Joachim F: Merge pull request #24301 from winniequinn/gitkraken-2.2.1...
<Unode>
I do have a qemu compiled with a previous nixpkgs version but I don't know how to use it to bootstrap a newer version of nixpkgs. (asked this question earlier here, no reply).
<ndowens08>
well i think i am gonna go take a nap, cya guys
Wizek_ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 268 seconds)]
<schoppenhauer>
cu
<schoppenhauer>
good night
<Unode>
silly question, if I have a build that fails, if I use -K to keep the build directory, manage to fix the derivation manually, is there any way to have nix re-use it as if it hasn't failed in the first place.?
ndowens08 has quit [(Ping timeout: 258 seconds)]
<schoppenhauer>
I am trying to install something from a local unstable repo, but I get the error "error: anonymous function at /home/christoph/nobackup/nixos-unstable/nixpkgs/pkgs/applications/editors/android-studio/default.nix:1:1 called with unexpected argument ‘jdk’, at /home/christoph/nobackup/nixos-unstable/nixpkgs/lib/customisation.nix:56:12"
<schoppenhauer>
what can I do about it?
<schoppenhauer>
I dont even want to install android studio, it apparently is just evaluated
justanotheruser has joined #nixos
<fresheyeball>
hey there, so I am still learning and have a nixos vm to learn with
<fresheyeball>
I'd like oh-my-zsh, and it looks like there is a pkg for it
<Mateon1>
I always try to install by full path name
<Mateon1>
so nix-env -qaP .*zsh.*
<Mateon1>
That lists nixos.oh-my-zsh as the path
marsam has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vSkBI
<NixOS_GitHub>
nixpkgs/master 6078874 Tuomas Tynkkynen: channel.nix: Use filterSource to exclude unnecessary files from nixpkgs...
<NixOS_GitHub>
[nixpkgs] dezgeg closed pull request #23756: channel.nix: Use filterSource to exclude unnecessary files from nixpkgs (master...pr-filtersource) https://git.io/vyoyv
<maurer>
Is there a way to get nox-review to try building things from the --against branch to see if they work there?
<maurer>
So that it can filter out things that didn't work _before_ you made changes
Rotaerk has joined #nixos
mucaho has joined #nixos
dhess` has joined #nixos
alx741 has quit [(Quit: alx741)]
<mucaho>
greetings! i'm trying to compile a driver kernel module for my wireless network card. the makefile sets "LINUX_SRC = /lib/modules/<kernel_version>/build", but i can't find the build directory under "/nix/store/<hash>-linux-4.4.52/"
mkoenig has quit [(Read error: Connection reset by peer)]