<clever>
deba5e12: next thing i would do is to run the failing command under "strace -ff -o logfiles -e open ..." and then see what paths its trying to open
<deba5e12>
sure. one sec
<qknight_>
boomshroom: finally got it working! need to update the nix documentation tomorrow
<Drakonis[m]>
how do i fuck with linking libraries without dealing with the overly long paths
<Drakonis[m]>
i want to use the library that speeds up processes for science
jgertm has quit [(Ping timeout: 240 seconds)]
<clever>
deba5e12: ive seen a java engine do that as well
taktoa has quit [(Read error: Connection reset by peer)]
<deba5e12>
Drakonis[m]: i'm grappling with the same issue right now. please let me know if you work this out.
<clever>
Drakonis[m]: if your using normal gcc and nix-shell, it just works with things like -lpcap
tanonym has joined #nixos
dalaing_ has joined #nixos
jgertm has joined #nixos
<clever>
deba5e12: strange, it only looked in the libc directory, and nowhere else
dalaing_ has quit [(Client Quit)]
dalaing_ has joined #nixos
dalaing_ has quit [(Client Quit)]
dalaing_ has joined #nixos
dalaing_ has quit [(Remote host closed the connection)]
tanonym has quit [(Ping timeout: 260 seconds)]
<Drakonis[m]>
does it also work with clang?
thc202 has quit [(Ping timeout: 258 seconds)]
<clever>
Drakonis[m]: there is a clangStdenv as well to handle that
<Drakonis[m]>
nice
<clever>
Drakonis[m]: make a nix file sort of like this and then run nix-shell against it: with import <nixpkgs>{}; clangStdenv.mkDerivation { name="name"; buildInputs = [ libpcap ]; }
hellrazo1 has quit [(Ping timeout: 255 seconds)]
dalaing_ has joined #nixos
<Drakonis[m]>
it's not pcap I want it's one of those libraries for manipulating time on a process
<pie_>
ok looks like idrispackages is probably broken on stable too :/
<clever>
Drakonis[m]: ah yeah, i think i saw you mention it yesterday?
hellrazo1 has joined #nixos
tanonym has joined #nixos
orivej has joined #nixos
matthewbauer has joined #nixos
dalaing_ has quit [(Remote host closed the connection)]
<Drakonis[m]>
yes
deba5e12 has quit [(Quit: leaving)]
jgertm has quit [(Ping timeout: 240 seconds)]
<spinus>
I'm installing some dev outputs, for example openssl.dev, but it's not linked to ~/.nix-profile/include, is it a bug with the package or I'm missing something?
tanonym has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
<Nobabs27>
just wondering: does anyone know of a good app that's like skype (calling) but has screen sharing?
matthewbauer has quit [(Remote host closed the connection)]
ris has quit [(Ping timeout: 240 seconds)]
<clever>
Nobabs27: skype and hangouts both have screen sharing without control
<Nobabs27>
I guess my skype is out of date then
<clever>
under the call menu is share your screen
<clever>
oh wait, thats where they hide it on windows, lol
<Nobabs27>
which skype? skypeforlinux or the old Skype 4.3?
filterfish has quit [(Remote host closed the connection)]
<clever>
yeah, i cant find it on the old skype 4.3
filterfish has joined #nixos
<Nobabs27>
4.3 had it, just not with group calls
<clever>
ah
<Nobabs27>
the new skype finally has video support, but only in 1 to 1 calls (just like the old skype)
takle has quit [(Remote host closed the connection)]
<clever>
ive not tried the new skype yet
<clever>
M$ has been slowly ruining linux support
ixxie has quit [(Ping timeout: 240 seconds)]
<clever>
i cant even see the images people embed in chat without having to sign in on a browser for every single image
takle has joined #nixos
<Nobabs27>
thats on the old Skype, which they were ruining. The new one has only gotten better, just very slowly
<clever>
ah
<Nobabs27>
chat on the new one is light years ahead
dfranke has quit [(Quit: Lost terminal)]
<Nobabs27>
its basically a rip off of web.skype.com
<clever>
lol
<Nobabs27>
other than a tray icon it's not much different
<clever>
something i heard years ago, is that nobody liked MSN, but everybody liked skype, because of the history with how good it was
<clever>
so M$ bought skype, and then turned it into MSN
tanonym has joined #nixos
<Nobabs27>
sounds like something they would do
<clever>
and people still stick with it, because they think skype is better
<Nobabs27>
well, what else is there? Google Hangouts I have to say isn't my fav.
mkoenig has quit [(Remote host closed the connection)]
<Nobabs27>
last I checked you had to turn on your video to be able to call even (not sure if its still like that)
<clever>
i'm also using a hangouts extension in chrome
takle has quit [(Ping timeout: 260 seconds)]
<mdash>
Anyone tried voice/video calls on matrix.org?
sellout- has joined #nixos
tanonym has quit [(Remote host closed the connection)]
takle has joined #nixos
<Nobabs27>
AHA thank you mdash I found the elusive "Riot" someone mentioned in the Arch chat
hellrazo1 has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<Nobabs27>
can it screen share tho?
hellrazo1 has joined #nixos
Zarutian has quit [(Quit: Zarutian)]
justan0theruser has quit [(Ping timeout: 260 seconds)]
justanotheruser has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 260 seconds)]
hellrazo1 has quit [(Ping timeout: 260 seconds)]
hellrazo1 has joined #nixos
takle has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Nobabs27 has quit [(Quit: Leaving)]
Supersonic112_ has joined #nixos
indi_ has joined #nixos
Supersonic112_ is now known as Supersonic112
takle has quit [(Ping timeout: 246 seconds)]
MichaelRaskin has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
mudri has quit [(Ping timeout: 240 seconds)]
<johnramsden>
I've got a problem where a file that shouldn't be wrapped is being wrapped by wrapGAppsHook. It's causing a problem because the file is supposed to be ran as pure Python. Does anyone have any recommendations as what I could do to either stop the file from being wrapped in the first place, or a temporary solution?
hellrazo1 has quit [(Ping timeout: 246 seconds)]
KABA has joined #nixos
<KABA>
Hi, I have a python app that optionally uses a python module. When I use nix-shell -p module and start the app executable it works, but for some reason it doesn't work without nix-shell environment, even though I use propagatedBuildInputs
spinus has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
takle_ has joined #nixos
mellowmaroon has joined #nixos
<mellowmaroon>
I'm having an issue downloading/building flashplayer-ppapi.drv
drakonis has joined #nixos
<drakonis>
hm, where can i access a centralized state of my system
<drakonis>
the "concatenated" state
<sophiag>
if i have both OpenJDK and OracleJDK installed how do i specify which one is default (assuming i shouldn't update symlinks directly)?
tanonym has joined #nixos
takle_ has quit [(Ping timeout: 258 seconds)]
<mellowmaroon>
drakonis: Isn't that what the Nix store is supposed to be?
<mellowmaroon>
drakonis: I'm not sure at all though, I'm just a beginner with NixOS
<drakonis>
no?
<drakonis>
i said concatenated
<drakonis>
all of my packages visible from a single place
<drakonis>
the entire thing accessible from a single area with the structure expected by the packages
<KABA>
drakonis: ~/.nix-profile
<drakonis>
nice thanks
s33se has joined #nixos
mizu_no_oto has joined #nixos
mkoenig has joined #nixos
<drakonis>
uh
<drakonis>
it says read only
<drakonis>
that won't help
<KABA>
It's a symlink to the nix store, so it is read-only
<drakonis>
i need to fix a settings file
<drakonis>
the nix store is also read only
dbmikus has joined #nixos
<KABA>
You can only do so with configuration.nix
<drakonis>
christ
<drakonis>
i want to change it because redshift doesn't work
<KABA>
How come it doesn't work?
<KABA>
I mean, what's the problem?
s33se_ has quit [(Ping timeout: 240 seconds)]
<drakonis>
the easy and efficient way to get redshift to work is just typing redshift, but geoclue doesn'twork
<drakonis>
the easy and efficient way to get redshift to work is just typing redshift, but geoclue doesn't work
<drakonis>
i need to whitelist redshift for it to work
<KABA>
Well, if you don't travel too much you can just use `redshift -l $coordinates`
<ison111>
I read somewhere that if a package in nix depends on a specific version of another package that it can be installed and "linked together" without disturbing other software on the machine. Is that true?
<sophiag>
so i currently have "packageOverrides = super: let self = super.pkgs; in {...};" set up for my haskellPackage stuff, but need to also have "packageOverrides = pkgs: rec {...};" to specify OracleJDK. this seems a little silly, but how do i reconcile the syntax?
<nixy>
If it was in nixpkgs it would be in the git history somewhere
<drakonis>
what part of nixpkgs wiki did you not see
<drakonis>
also it doesn't show up in the git history fyi
<drakonis>
its hosted by github
takle has joined #nixos
<drakonis>
it doesn't show up in the repository
<nixy>
I don't remember there ever being such a wiki, so not sure what to do to help ya here
riclima has joined #nixos
<drakonis>
lol
<drakonis>
really now?
KABA has joined #nixos
<mellowmaroon>
:|
<drakonis>
gchristensen, oi where's the wiki
jgertm has quit [(Ping timeout: 255 seconds)]
<drakonis>
there's a move the wiki milestone but none of the entries mention where it is going
<drakonis>
that wiki you linked is missing quite a lot of pages
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Piece_Maker has joined #nixos
<ison111>
mellowmaroon: I actually read that a little while ago. But what I was wondering is if basically 2 versions of a system library could be not only installed at the same time, but also used at the same time by different pieces of software
<ison111>
or is it a 1-at-a-time deal
hexagoxel has quit [(Ping timeout: 260 seconds)]
<drakonis>
i feel irritable today
<mdash>
Yes everything is isolated, no problems with multiple library versions being in use simultaneously
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
mellowmaroon has quit [(Ping timeout: 258 seconds)]
<ison111>
mdash: Do you know of any documentation that explains how that works? I've been having a hard time finding any information about specifically that
<mdash>
It's how the Nix store works, everything specifies its dependencies explicitly, there's no /usr/lib or such
<drakonis>
is there a way to count packages?
hexagoxel has joined #nixos
<mdash>
First you have to decide what a package is, it's kind of a fuzzy concept in nix ;)
<nixy>
^
<nixy>
I use `nix-env -q` and only count things I have explicitly installed
paatrick has quit [(Quit: WeeChat 1.7.1)]
<drakonis>
no need to get smarmy with me because i was angry about the wiki
<nixy>
I am not trying to be smarmy, I only want to help/discuss here. I too am dissatisfied with the state of the wiki
<drakonis>
directed towards mdash
<mdash>
My point is that you can very easily create new derivations in nix by using .overrides, optional args, etc
<drakonis>
i want to count the amount of packages available for haskell
<mdash>
Do those count separately or not? Etc
<nixy>
For example, `bash` and `bashInteractive` are based on the same .nix file with different sets passed in
dfranke has joined #nixos
<nixy>
A simple way to count those packages might be `nix-env -qa -A haskellPackages | wc -l` but its kinda naive
<ison111>
mdash: I guess I'm confused because I've never been able to find documentation that explains exactly how the hashes work. It's always just vague descriptions. Are you saying that during compilation the linker actually links the software to the hashed directory of the library?
<lukec1>
drakonis: every version of every package on hackage for about 20 different compiler versions/configurations is readily available.
<mdash>
ison111: yes, or it's patched after compilation to refer to it by path
<ison111>
damn that's awesome.
<drakonis>
well then
<mdash>
It is!
<drakonis>
i'm interested in haskell because it seems like great fun to learn
<drakonis>
and because python's whitespace annoys me
riclima has joined #nixos
<mdash>
Hope Haskell's whitespace doesn't annoy you ;)
<lukec1>
drakonis: Haskell (in it's most commonly used form) has syntactically important whitespace
<nixy>
drakonis: What are you using to try to learn it? I am gonna take a swing at haskell soon and was wondering what other people use to learn
<drakonis>
^ same camp
<drakonis>
lukec1, on haskell it seems to have much more of a purpose
<drakonis>
feels like math equations
pseudo-sue has joined #nixos
dbmikus has joined #nixos
<drakonis>
a recipe for good fun and learning math
<puffnfresh>
copumpkin: so I can spin up a Hyperkit VM and mount the store and temp directories, yayyyy
<puffnfresh>
but I've just realised that runInLinuxVM isn't gonna work, damn it
<drakonis>
mac os people
<drakonis>
go use xhyve instead
<copumpkin>
Awesome, but why not?
<puffnfresh>
drakonis: xhyve over Hyperkit?
<copumpkin>
Xhyve is abandonware
<puffnfresh>
copumpkin: runInLinuxVM takes a derivation, e.g. runInLinuxVM hello
<copumpkin>
HyperKit is just xhyve but maintained
<puffnfresh>
copumpkin: in that, hello's system is darwin
<drakonis>
abandonware is such as silly term :v
<puffnfresh>
copumpkin: am I making some sense?
<copumpkin>
puffnfresh: seems like we could do another interface to it where it behaves like mkderivation
<copumpkin>
drakonis: so be it, but you get the point
<copumpkin>
Nobody maintains it
<copumpkin>
There are a dozen forks and the most maintained one is HyperKit
<puffnfresh>
drakonis: I'm confused about why you say use xhyve?
<puffnfresh>
I'm using HyperKit
<drakonis>
right
<drakonis>
i didn't know hyperkit used xhyve
<drakonis>
the more you learn
<copumpkin>
Yeah it started as a pure fork of it
<copumpkin>
Then deviated as they added more new features
<drakonis>
anything starts as a pure fork then it deviates :v
<copumpkin>
So can't really be merged back easily now
<copumpkin>
My point is that they can try to retain compatibility or they can rename all the files. They chose latter
<copumpkin>
Which is fine
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<drakonis>
haw
takle has joined #nixos
<drakonis>
docker made that huh
<copumpkin>
puffnfresh: anyway seems like a remote builder is super doable now
<drakonis>
the fork
<copumpkin>
Yup
dfranke has quit [(Quit: leaving)]
<copumpkin>
Docker for Mac runs on it
<drakonis>
why do they do these things but can't be arsed to do docker for freebsd
<copumpkin>
Bigger market share opportunities?
<puffnfresh>
copumpkin: yeah, I might turn this into a remote builder I guess
<copumpkin>
Lots more devs on macOS than freebsd
<drakonis>
freebsd is big on servers i guess?
<puffnfresh>
FreeBSD has jails already right?
aneeshusa has joined #nixos
<drakonis>
yes
<drakonis>
jaaails
<copumpkin>
A remote builder seems like the biggest bang for the buck
<drakonis>
they also have remote builders
<drakonis>
poudriere does that
<drakonis>
jails are excellent and linux doesn't have that
<copumpkin>
Then runInLinuxVM will run inside the remote builder, albeit slowly
<drakonis>
although apparently some folks from siemens are doing something similar to jails
<puffnfresh>
copumpkin: I don't understand that second part
<puffnfresh>
oh QEMU inside of Hyperkit???
<copumpkin>
Yeah
<puffnfresh>
eeek, alright
<copumpkin>
Full emulation
<copumpkin>
It'll suck but maybe not be awful
<drakonis>
qemu is a hypervisor actually?
<drakonis>
rather
<puffnfresh>
haha that's exactly what I was trying to avoid I think
<drakonis>
it can run with kvm i think?
<drakonis>
its trash on mac os tbh
<copumpkin>
We're stuck with that on EC2, Azure, and google cloud
<puffnfresh>
drakonis: yeah, exactly
<drakonis>
qemu is built for kvm
lukec1 has quit [(Ping timeout: 255 seconds)]
<copumpkin>
Well we don't have kvm inside our VL
<copumpkin>
VM
<copumpkin>
So we do what we can
takle has quit [(Ping timeout: 268 seconds)]
<copumpkin>
Then I'd invest in removing the VM from docker builds
<copumpkin>
I already removed it from NixOS image builds
<copumpkin>
Shouldn't be too hard
<puffnfresh>
copumpkin: yeah, that's next
<disasm>
hey all, stuck on some scope issues I think. https://gist.github.com/80105a0d5b6022960302b2ea57ac3262 -- If I set role.work.containers.enable = false; it builds fine and my ssh key is deployed correctly, but if containers = true then I get the error attribute ‘attributes’ missing, at /etc/nixos/modules/roles/work.nix:129:26
<copumpkin>
Could also see if we could get runInLinuxVM to speak remote builderese
<copumpkin>
But it seems tricky
<disasm>
so it seems like the config inside the containers doesn't contain everything the config outside does.
<puffnfresh>
copumpkin: yeah, seems tricky with the way runInLinuxVM works
<puffnfresh>
would have to be basically rewritten
<copumpkin>
Yup
<aneeshusa>
how can I use a custom binary cache for nixos-install?
<copumpkin>
It's a hack IMO anyway :P
<copumpkin>
It's cute that it's possible but I wish we'd use less of it
<aneeshusa>
using `--option binary-caches ...` doesn't seem to help
<copumpkin>
aneeshusa: perhaps set it in Nix config? Or there might also be an env var for it
<aneeshusa>
copumpkin: How can I change the Nix config for the live environment? /etc/nix/nix.conf is a symlink
dfranke has joined #nixos
dfranke has quit [(Client Quit)]
dfranke has joined #nixos
lukec has joined #nixos
<copumpkin>
aneeshusa: it's configured via configuration.nix
<copumpkin>
Look at the nix.* options
<aneeshusa>
copumpkin: oh, so nixos-rebuild works for the live environment?
<drakonis>
nixy, visit #haskell
<drakonis>
they got materials
<nixy>
drakonis: Will do. Gotta get my learning on
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
johnsonav has quit [(Ping timeout: 246 seconds)]
<jluttine>
how do i use cmake in package definition? i just added "cmake" to buildPhase but i suppose that's not the correct way?
<jluttine>
or where can i find some documentation on how to use cmake for packages?
hellrazo1 has quit [(Ping timeout: 245 seconds)]
<jluttine>
i also tried removing all my configurePhase and buildPhase definitions
<jluttine>
but i get: error: Package `goa-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
<jluttine>
though i have goa in buildInputs
hellrazo1 has joined #nixos
paperd has joined #nixos
<paperd>
what is Typesafe Activator and why is it blocking me from building things from nixpkgs?
<jluttine>
(goa actually probably means gnome-online-accounts in this context, but i have that in buildInputs too.)
joehh has quit [(Quit: Page closed)]
jgertm has joined #nixos
<jluttine>
nvm, i need to patch gnome-online-accounts to enable vala, that's it
hellrazo1 has quit [(Ping timeout: 246 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
Bane^ has quit [(Ping timeout: 272 seconds)]
Bane^ has joined #nixos
mudri has joined #nixos
MercurialAlchemi has joined #nixos
marsel has joined #nixos
Itkovian has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
mudri has quit [(Ping timeout: 255 seconds)]
ison111 has quit [(Quit: WeeChat 1.4)]
ison111 has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Quit: WeeChat 1.4)]
paperd has quit [(Quit: WeeChat 1.7.1)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] KaiHa opened pull request #26318: systemd-boot-builder.py: add support for profiles (master...systemd-boot-and-profiles) https://git.io/vHuKS
goibhniu has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
thc202 has joined #nixos
filterfish has joined #nixos
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
oida has joined #nixos
mudri has joined #nixos
ilyaigpetrov has joined #nixos
ThatDocsLady has joined #nixos
oida_ has quit [(Ping timeout: 246 seconds)]
plumps has joined #nixos
magnetophon has quit [(Ping timeout: 258 seconds)]
orivej has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] qknight opened pull request #26321: Overlays (master...overlays) https://git.io/vHuS1
NixOS_GitHub has left #nixos []
takle has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
pie_ has joined #nixos
RayNbow`TU has quit [(Ping timeout: 268 seconds)]
RayNbow`TU has joined #nixos
detran` has quit [(Ping timeout: 255 seconds)]
<danbst>
mdash, Drakonis[m]: wiki *may* contain lies, wiki *may* contain truth. That's why it isn't official. But in many cases even wrong data in wiki can help solve problems, that makes it *a tool*
<danbst>
mdash: Drakonis[m]: content on previous wiki actually helped me. It shouldn't be exactly on wiki (probably, SO, or github issues, whatever google and content author likes)
<chpatrick>
has there ever been gnome flashback support in nixos?
<chpatrick>
I'd like to add it but I'm wondering if there's some reason it's not there
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<goibhniu>
chpatrick: you'd have to check the commits, but in general with things like this it's likely that nobody has cared enough about it to package it ... although it could also be that it's particularly tricky :)
mpcsh has joined #nixos
orivej has joined #nixos
* goibhniu
finds no mention of it on the mailing lists or commits
__Sander__ has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
simukis has joined #nixos
steshaw has quit [(Quit: Connection closed for inactivity)]
simukis has quit [(Ping timeout: 260 seconds)]
jophish has joined #nixos
magnetophon has joined #nixos
<jophish>
How can I set the build cache priority?
<jophish>
nix always wants to get thinks from cache.nixos.org first, and not from our local box
<clever>
jophish: i believe its purely on the order, and if you use mkForce, it will bypass the default value, so you can add cache.nixos.org near the end
<jophish>
clever: this is on ubuntu, my nix.conf has them in my desired order but no dice
<ertes-w>
i have the impression that there is no longer much of a payoff for using nixos-unstable, because you basically just get the updates later… is that right?
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
gal_bolle has quit [(Quit: Konversation terminated!)]
<dash>
ertes-w: compared to what?
<dash>
ertes-w: it's certainly newer than 17.03
<ertes-w>
dash: well, *if* something is merged into 17.03, i get it rather quickly, while merging something into master could take forever to make it into the channel, when build failures happen
<ertes-w>
not failures on the thing that was merged, but on something unrelated
<dash>
sure
nschoe has joined #nixos
<gchristensen>
ertes-w: this has largely always been the case
nslqqq has quit [(Ping timeout: 240 seconds)]
<gchristensen>
ertes-w: and is on purpose, stable changes less drastically to be sure we can push out security updates quickly
mizu_no_oto has joined #nixos
<ertes-w>
yeah, makes sense
magnetophon has joined #nixos
Rodenbach has quit [(Ping timeout: 260 seconds)]
iyzsong has joined #nixos
<LnL>
I use 17.03, but pull in packages from unstable for things I want to update
orivej has joined #nixos
<gchristensen>
same
nslqqq has joined #nixos
<gchristensen>
I think it'd be cool to formalize that a bit better, make it easy for newbies to do, lnl
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to release-17.03: https://git.io/vHzmn
<NixOS_GitHub>
nixpkgs/release-17.03 e7ad583 Bas van Dijk: strongswan: 5.5.2 -> 5.5.3
<NixOS_GitHub>
nixpkgs/release-17.03 0e00bc5 Graham Christensen: Merge pull request #26326 from LumiGuide/release-17.03_strongswan-5.5.3...
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
joehh has joined #nixos
<joehh>
hi, I've started using nixos over the last 24 hours and am making good progress, but haven't figured out how to use dropbox
<joehh>
I see there are the dropbox and dropbox-cli packages
pie_ has quit [(Ping timeout: 268 seconds)]
<joehh>
both seem to provide a dropbox command
<joehh>
using the dropbox command from the dropbox package, I seem to get my files downloaded, but no way to interact and set settings such as only downloading some files
<joehh>
is anyone able to please shed some light on dropbox usage?
<gchristensen>
joehh: starting dropbox should put a little UI icon in your dock or something
<gchristensen>
where you can click / right click and get some settings
k2s has joined #nixos
k2s has quit [(Client Quit)]
<LnL>
gchristensen: yeah, I was expecting a special hydra job that builds it and a simple s3 sync that uploads the latest build or something
<gchristensen>
yeah
<gchristensen>
unfortunately not, as hydra can't talk outside
<joehh>
ahh ok - no dock yet - using xmonad and haven't yet installed trayer
<KABA_>
Is it possible that buildPythonApplication's postInstall variable does nothing at all? I mean, I have even tried putting there `false` and it does nothing.
<clever>
LnL: programs.sqlite is an IO heavy part of the channel that needs external access
<joehh>
now installed trayer and there it is!
<clever>
LnL: so i dont think hydra can do everything in a real channel
<joehh>
thanks for that
<gchristensen>
joehh: woohoo! glad to help :)
<LnL>
clever: ah
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<joehh>
next question is how best to run it each time I log in?
<KABA_>
Could someone please check whether postInstall really isn't working?
<gchristensen>
I have i3 start it when I start i3
<KABA_>
With python3Packages' buildPythonApplication at least
<joehh>
seems sensible - thanks :)
pbogdan has joined #nixos
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] georgewhewell opened pull request #26327: broadcom-sta: add patch for kernel 4.11+ (master...broadcom-411) https://git.io/vHz3V
NixOS_GitHub has left #nixos []
mudri has joined #nixos
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
detran has joined #nixos
simukis has quit [(Quit: simukis)]
pie_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to gcc-6: https://git.io/vHzZW
<NixOS_GitHub>
nixpkgs/gcc-6 cb00af4 Robin Gloster: Merge remote-tracking branch 'upstream/master' into gcc-6
<NixOS_GitHub>
nixpkgs/gcc-6 1b55c0b Robin Gloster: flann: 1.8.4 -> 1.9.1
<NixOS_GitHub>
nixpkgs/gcc-6 c1359ce Robin Gloster: Merge remote-tracking branch 'upstream/master' into gcc-6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHzZV
<NixOS_GitHub>
nixpkgs/master 7eadf66 Peter Hoeg: neomutt: 20170428 -> 20170602
NixOS_GitHub has left #nixos []
layus has quit [(Ping timeout: 272 seconds)]
<capisce>
I'm trying to install nixos on a laptop via wifi, wpa_supplicant managed to connect but doesn't get an ip address
<capisce>
online troubleshooting tells to run dhclient but that's not available on the nixos install system
Shados has quit [(Quit: No Ping reply in 180 seconds.)]
<clever>
capisce: nixos uses dhcpcd, it works pretty much the same way
<orbekk>
How about dhcpcd?
<orbekk>
Never mind...
<capisce>
that's not there either
<clever>
capisce: did you run the wpa service or manualy start wpa_supplicant?
<capisce>
this is during the installation btw
<capisce>
manually started wpa_supplicant
Shados has joined #nixos
<clever>
capisce: stop it, then run "systemctl start wpa_supplicant"
<capisce>
it tells me "link is not ready" then
drakonis has joined #nixos
<clever>
is the wpa config in /etc/wpa_supplicant.conf ?
<capisce>
yeah
thc202 has quit [(Ping timeout: 245 seconds)]
<clever>
anything in "journalctl -f -u wpa_supplicant" ?
<capisce>
what I did before was wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key')
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
<capisce>
journalctl says "Reject scan trigger since one is already pending"
<clever>
capisce: if you run nix-store -qR /run/current-system | grep dhcp
<clever>
you should be able to find the path to dhcpcd
<capisce>
indeed
ryanartecona has quit [(Quit: ryanartecona)]
<clever>
that should help in manually running dhcpcd to get an ip
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
<capisce>
ok, so "dhclient" by itself failed, but "dhclient wlp1s0" managed to bind to an IP
<capisce>
:)
LysergicDreams has quit [(Ping timeout: 268 seconds)]
<capisce>
now nixos-install is happily downloading stuff
ryanartecona has joined #nixos
<clever>
:)
LysergicDreams has joined #nixos
<KABA_>
I'm writing a python module package which creates GUIs. Should I disable its tests, as they would require an xserver?
<capisce>
is it a good idea to put configuration.nix in a git repo?
<clever>
yeah
Guest85437 has quit [(Ping timeout: 240 seconds)]
DrWaste has quit [(Quit: Run away!)]
layus has quit [(Ping timeout: 258 seconds)]
<capisce>
how do I make nixos regenerate /etc/fstab ?
ryanartecona has quit [(Quit: ryanartecona)]
<capisce>
after changing configuration.nix
<goibhniu>
capisce: you run `nixos-rebuild switch`
pop has quit [(Ping timeout: 255 seconds)]
<capisce>
and then I have to reboot?
<clever>
nope
<goibhniu>
that will evaluate your configuration and switch the system to that generation
<goibhniu>
you can use "boot" instead of "switch" if you only want it to be applied after reboot
<goibhniu>
some services e.g. Xorg won't be restarted (because that would be annoying!)
<ToxicFrog>
I generally use "boot" by default, at least on laptops/desktops, because I have in past had issues with "switch" breaking parts of the desktop even if X itself doesn't restart
spinus has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vHz2J
<NixOS_GitHub>
nixpkgs/master b67d01a Mathias Schreck: nodejs: init at 8.0.0
<NixOS_GitHub>
nixpkgs/master 49bc016 Graham Christensen: Merge pull request #26262 from holidaycheck/nodejs-8.0.0...
NixOS_GitHub has left #nixos []
<drakonis>
hot damn its up to date now
<drakonis>
i should ask though
<drakonis>
where does nix-build output its files
<clever>
it creates a symlink called result by default
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 4 new commits to master: https://git.io/vHz2P
<NixOS_GitHub>
nixpkgs/master 779767e Frederik Rietdijk: python.pkgs.nbformat: move expression
<NixOS_GitHub>
nixpkgs/master 2957786 Frederik Rietdijk: python.pkgs.nbconvert: 5.1.1 -> 5.2.1
<NixOS_GitHub>
nixpkgs/master c7867b8 Frederik Rietdijk: python.pkgs.dask: 0.14.1 -> 0.14.3
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
<drakonis>
hmm but where is resul
<drakonis>
result
<clever>
in the directory you where in when you ran nix-build
jmeredith has joined #nixos
jophish_ has quit [(Quit: leaving)]
jophish has joined #nixos
<jophish>
Why doens't the version of ssh nix uses work with gssapiauthentication?
<ToxicFrog>
And then in your configuration you can (e.g.) go environment.systemPackages = [ pkgs.foo pkgs.bar (import <nixos-unstable> {}).baz ]
<joehh>
ToxicFrog: thanks for that, I'll give it a go
jophish has joined #nixos
<joehh>
do i need the < and > or is that to indicate the name?
jophish has quit [(Client Quit)]
<clever>
you do need it
jophish has joined #nixos
<clever>
its like #include <stdio.h>
<joehh>
ok
<joehh>
it feels odd having to run nix-channel, can that part be done through configuration.nix?
<ToxicFrog>
Yeah, that tells it "look for a channel with that name" rather than "import this specific file"
<ToxicFrog>
Not as far as I know :/
<clever>
you can put a url into configuration.nix, but then nix may update it without warning
cpennington has joined #nixos
<FRidh>
joehh: what do you want, that nixos-rebuild would always get the latest version, or that it does not update at all unless you update configuration.nix or a repo accordingly?
<joehh>
good question, probably the latter
<joehh>
then I can control when things are updated
<clever>
thats how things would work if you use nix-channel
<FRidh>
joehh: either you use nixUnstable and fetchTarball with a hash, or, easier, set nix.nixPath and make it point to say a clone of a repo
<drakonis>
when did java packages get introduced?
<FRidh>
unless you need specific control over the revision you want to use I also think just using the channel is your best option
<joehh>
I'm getting nixos-unstable was not found in the search path
<joehh>
magic - but starting to mentally fall into place :)
<joehh>
that is now starting to download heaps of stuff
<joehh>
a little more than I would have expected, but I assume it is ok
<clever>
yeah, because you imported nixos-unstable, it wants the nixos-unstable version of glibc, and everything else dropbox depends on
arian_ has joined #nixos
<joehh>
makes sense
<joehh>
it won't matter having things running from two versions of glibc side by side?
<ison111>
I can't seem to get thunar+tumbler+ffmpegthumbnailer to generate any thumbnails. It can display thumbs that already exist (created by gimp for example), but they don't generate their own. Anyone know what could be wrong?
FRidh has quit [(Quit: Konversation terminated!)]
<clever>
joehh: nix uses absolute paths for everything, i think i have 8 to 10 glibc's on my desktop
<joehh>
:)
<ToxicFrog>
Yeah, that's kind of Nix's big selling point
<ToxicFrog>
And also its biggest headache
<clever>
as long as you install everything in a declarative way, you will only have 2-4 glibc's (32bit, 64bit, possibly over 2 channels like your doing)
<drakonis>
it is jolly good
<clever>
but nix-env can make it easy to have dozens of apps, spread over dozens of glibc's
<drakonis>
the distro of the future :v
drakonis has quit [(Remote host closed the connection)]
<Drakonis[m]>
it allows for some real good stuff
<Drakonis[m]>
it also makes nixos a lot more low maintenance vs other distros
andymandias has quit [(Ping timeout: 240 seconds)]
andymandias has joined #nixos
<clever>
allowing multiple glibc's also allows you to update glibc without the risk of breaking things
<clever>
ive had an ubuntu server fail mid way thru dist-upgrade, and leave a mess everywhere
joehh_ has joined #nixos
joehh has quit [(Ping timeout: 260 seconds)]
<Drakonis[m]>
a debian problem ^
<joehh_>
thanks all for your help, that seems to have installed a new dropbox, though it is not the version I was expecting
<joehh_>
I guess I need to wait for unstable to update
<joehh_>
how often does that occur?
<Drakonis[m]>
eh
<Drakonis[m]>
often
<manveru>
when the old one doesn't work anymore ^^;
<Drakonis[m]>
you can update and send the patch in
<Drakonis[m]>
be the change you want to see
<Drakonis[m]>
i got the sickest faux philosophy adages
<clever>
Drakonis[m]: ive run into similiar problems on gentoo
<clever>
joehh_: nixos-unstable-small is only 6 hours old, so you can try that one
<joehh_>
very cool! thanks for that
<Drakonis[m]>
fedora also suffers from it
<ison111>
Does nix have any fast way of updating all packages to an updated library version, or would everything just have to be rebuilt if you want it to use the updated one?
<joehh_>
think I'll wait - 2am here and time for bed - thanks all for your help
<NixOS_GitHub>
[nixpkgs] vbgl closed pull request #26286: Keep older versions of cmdliner and ocp-indent (master...fix.cmdliner) https://git.io/vHRq7
NixOS_GitHub has left #nixos []
<Drakonis>
apparently some folks made a package manager for C/C++ written in python, one'd expect it to be written in the same language as the one it offers packages for
arian_ has quit [(Quit: arian_)]
orivej has quit [(Ping timeout: 255 seconds)]
jgertm has joined #nixos
Drakonis has quit [(Ping timeout: 240 seconds)]
Drakonis_ has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<simpson>
Drakonis_: Why? Package managers aren't like compilers; I don't see why self-hosting is especially interesting here.
<dash>
Drakonis[m]: most of the other tools for C aren't written in C
<dash>
makefiles and shell scripts galore
<Drakonis_>
its just a weird assumption i have
<dash>
Drakonis[m]: honestly C is so awful it's a good choice to not write anything in it that you don't have to
marsel has joined #nixos
<Drakonis_>
they still use C for kernels
<gchristensen>
lots of appropriate use cases for C still
<simpson>
Drakonis_: Inertia is a powerful force. Doesn't make it *good*.
<dash>
gchristensen: well, lots of unfeasible-to-avoid use cases for C still.
<Drakonis_>
truly it is.
<dash>
Not sure I'd go so far as "appropriate"
Filystyn has quit [(Quit: Konversation terminated!)]
KABA has joined #nixos
UrsidaeJohn is now known as drjnovak
drjnovak is now known as jnovak
mudri has quit [(Ping timeout: 260 seconds)]
ison111 has joined #nixos
jnovak is now known as drjnovak
ixxie has quit [(Ping timeout: 240 seconds)]
<ison111>
So I think the problem I'm having with thunar thumbnails is that (even with tumbler installed) dbus doesn't seem to have a thumbnailer service. I'm trying to use services.dbus.packages in my nix configuration but not sure if I'm doing it right, it's asking for a path
pbogdan has joined #nixos
<KABA>
How can I check if the meta part of my package is correct?
<LnL>
nix-instantiate --eval --strict -A hello.meta
<KABA>
Thank you!
mizu_no_oto has joined #nixos
kthnnlg has joined #nixos
endformationage has joined #nixos
<dhess>
Anyone here compiled a Linux kernel device tree (using dtc) as part of a Nix derivation?
<dhess>
I need to compile one for an embedded system running NixOS
<dhess>
not exactly sure where it should go, presumably somewhere in the kernel build process
faffolter has quit [(Ping timeout: 255 seconds)]
<pseudo-sue>
is there a simple way of making .so files available to be linked against during runtime or compile-time, in nix -- particularly when using languages other than C? I've been hitting a wall with this, when trying to compile something in lisp, and it's really become a sticking point that's preventing me from using nixos as a dev platform.
<symphorien>
pseudo-sue: did you try linking inside nix-shell -p mylib ?
<pseudo-sue>
yup. no dice.
<pseudo-sue>
the library is available in my default profile, in any case. or should be.
<symphorien>
There is no such thing as "installed library" in nix
<pseudo-sue>
that complicates things.
<symphorien>
Nix-shell sets up the right flags
<pseudo-sue>
ok.
<roconnor>
FWIW, after a moderate amount of pain, I've come to the conclusion that if you are doing software development on a Nix platform you must build your own software with nix-build. Mostly because if you link against a .so file in the nix store and you haven't registered it as a GC root (which you inevitablly won't) then one day when you GC your nix store all your complied software will break.
<symphorien>
s/flags/env variables/
ris has joined #nixos
<pseudo-sue>
hrm... how much additional fuss is involved in setting up a nix-build? is it worth it, and does it work nicely with various languages and build systems (quicklisp, cargo, etc.)?
<simpson>
roconnor: Well, yes.
<symphorien>
Gcc is wrapped to understand some nix specific variables ; I don't know about list compilation
<simpson>
pseudo-sue: It is worth it. You get to reuse anything in nixpkgs.
jgertm has quit [(Ping timeout: 246 seconds)]
<symphorien>
*lisp
<roconnor>
pseudo-sue: for the most part you can follow recipies from nixpkgs to build your own software, replacing src = fetchurl with src = ./src # <-- your source directory
AWizzArd has joined #nixos
<pseudo-sue>
hm.. it is tempting. i *really* like the idea of nixos, and it does seem to be one of the few distros out there that properly handles the hardware on my new machine, right out of the box.
<AWizzArd>
I just did: nix-env -i docker-docker-17.05.0-ce – now how can I run the daemon? I think it has to run as root.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<pseudo-sue>
the alternative seems to be ubuntu, at this point, but that leaves a bitter taste of defeat in my mouth. gentoo is what i'm migrating from, and this is my first time with anything like nix
<roconnor>
I see. I suppose if you are a nix novice, then using nix-build to build your own software development can seem a bit daunting.
erasmas has quit [(Ping timeout: 255 seconds)]
erasmas has joined #nixos
<roconnor>
pseudo-sue: you should be able to pass some flags to your lisp compiler to point it to the appropriate place in your .nix-profile
<roconnor>
pseudo-sue: (with the understanding that some day you will need to migrate to using nix-build)
jgertm has joined #nixos
<roconnor>
pseudo-sue: asking you to change your OS and modify your development process both a the same time is probably too much at once. :D
<AWizzArd>
KABA: I am not running NixOS. I am trying to learn using the package manager. I am using it on an Ubuntu 16.04 system.
<AWizzArd>
Should I even in this situation update settings in that configuration.nix file?
<gchristensen>
AWizzArd: nix on Ubuntu won't manage services for you, unfortunately
<AWizzArd>
gchristensen: oki thanks, no problem. I can use many other packages for learning.
<pseudo-sue>
roconnor: yeah, it is a bit of rigmarole. potentially worth it... but i also can't afford to spend *too* much time fussing with the OS, when I should be writing and coding. If I can get texlive, rust, and lisp all running smoothly, with some shared libraries written in C, then my workflow will survive. (and if I can get steam to work too, that's a bonus :))
<pseudo-sue>
worse comes to worse, I could always keep a debian (or whatever) vm open for coding.
takle has quit [(Read error: Connection reset by peer)]
takle_ has joined #nixos
<roconnor>
Right I understand. You should be able to pass flags to your lisp complier to point it to your ~/.nix-profile subdirectory. Either wrap that up in an alias or see if the same arguments can be set as enviroment variables.
<pseudo-sue>
ok, cool. i'll give that a whirl, and maybe see if anyone over in #lisp has experience using nixos for their dev box
takle_ has quit [(Read error: Connection reset by peer)]
<roconnor>
Then later, when you are more comfortable, you can start using nix-build instead.
takle has joined #nixos
Itkovian has joined #nixos
<simpson>
pseudo-sue: Don't think of Nix as the OS. Think of it as the build tool for your userland.
pop has joined #nixos
<roconnor>
The difficulty is there is a difference between learning to use NixOS and learning to write your own nix expressions.
<roconnor>
Though learning to use NixOS tends to lead to learning to write you own nix expressions.
marsel has quit [(Ping timeout: 260 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pseudo-sue>
i think i'll give it another swing. is there a collection of nice, pre-fab configuration.nix'es to browse through? I've seen a few here and there online, but some appear to be deprecated.
m` has joined #nixos
m` is now known as mojjo
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
mizu_no_oto has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
arian_ has joined #nixos
<pierron>
gchristensen: If you need reviewers for the talks, feel free to ping me ;)
<gchristensen>
what? what'd I miss? :P
<pierron>
gchristensen: for the NixCon, and no this is just me out of nothing after seeing domenkozar tweet
* gchristensen
scurries to twitter
<gchristensen>
great :)
<gchristensen>
I have 2, maybe 3 -- I'll certainly ping you
takle has joined #nixos
<pierron>
ok ;)
takle_ has quit [(Ping timeout: 240 seconds)]
<mojjo>
hi.. does anybody have an idea why `fdisk -l` does not show an sdcard when it's inserted. Moreover, fdisk even blocks until I remove the sdcard. demsg logs a correct detection though...
jgertm has joined #nixos
<mojjo>
dmesg*
<pseudo-sue>
is there a nixy way of assigning capture privileges (or doing anything similar) to certain programmes? I can kind of force it by remounting the nix store as mutable, and then using setcap, but that feels like a crude and un-nixy way of doing it.
takle_ has joined #nixos
<pseudo-sue>
(for wireshark, for example. though I sometimes do this for runtimes that I want to be able to use pcap functions in, without running them as root -- sbcl, e.g.)
<gchristensen>
pseudo-sue: NixOS can create capability wrappers for programs, but it is a feature of NixOS not Nix
<clever>
pseudo-sue: this makes dumpcap setuid root, only executable by members of the wireshark group, creates the group, and puts my user in the group
takle_ has quit [(Read error: Connection reset by peer)]
<gchristensen>
O.o
takle has quit [(Ping timeout: 260 seconds)]
takle_ has joined #nixos
goibhniu has joined #nixos
<pseudo-sue>
cool, thanks.
bennofs has joined #nixos
<pseudo-sue>
though it seems a bit more aggressive with privs than i'd intended.
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
sophiag has joined #nixos
<gchristensen>
not sure, LnL :P
<sophiag>
would anyone mind looking at a snippet from my config? i'm attempting to set up a package override for default java (oracle rather than openjdk) but am unsure the syntax when i also use packageOverrides for my haskell packages: https://gist.github.com/Sophia-Gold/7e58892585c22ace2fd1f0e46f01710f
bfrog has joined #nixos
<KABA_>
Are there any handy way to create a complete (ubuntu) chroot? I have tried with debootstrap, but steam does some extreme thing like starting up perfectly fine at first, but not anymore..
takle has quit [(Remote host closed the connection)]
<pseudo-sue>
wpa_supplicant seems to be failing on boot, and I think this is due to missing firmware. what needs to be in my configuration.nix to get, say, iwlwifi?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pseudo-sue>
ok, turned out to just be a missing /etc/wpa_supplicant.conf file. good to get that firmware nailed down, too, though
qewzee has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
<tanonym>
Hm, it seems like there is no difference in the preview for faba-icon faba-mono in the Application look preview in Enlightenment 21.7. When I apply the mono theme, I was expecting a monochrome look but as far as I can tell it looks like the regular faba icon set. Am I missing--or misunderstanding--something?
bfrog has quit [(Ping timeout: 245 seconds)]
jgertm has joined #nixos
cpennington has quit [(Remote host closed the connection)]
arian_ is now known as arianvp2
dhess has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vHgWU
<NixOS_GitHub>
nixpkgs/master 2bd5c13 Kjartan Ovmilk: resilio-sync: init at 2.5.2
<NixOS_GitHub>
nixpkgs/master 919b39b Kjartan Ovmilk: resilio service: replaces btsync service, which is no longer supported upstream.
<pseudo-sue>
how should I go about importing an old xmonad.hs (or writing a new one, for that matter) into nixos? do I just do it the old-fashioned way, or is there some specifically nixian way for this to be done?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 5 new commits to release-17.03: https://git.io/vHgWr
<NixOS_GitHub>
nixpkgs/release-17.03 5bbbfda Kjartan Ovmilk: resilio-sync: init at 2.5.2...
<NixOS_GitHub>
nixpkgs/release-17.03 746639b Kjartan Ovmilk: resilio service: replaces btsync service, which is no longer supported upstream....
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vHgBP
<NixOS_GitHub>
nixpkgs/master d5fe7d1 Katona László: pythonPackages.Pmw: init at 2.0.1
<NixOS_GitHub>
nixpkgs/master 2a1c535 Katona László: pymol: added Pmw + python version bump
<NixOS_GitHub>
nixpkgs/master c972f01 Jörg Thalheim: pymol: set PYTHONPATH in a future way
NixOS_GitHub has left #nixos []
<pseudo-sue>
the issue I'm wrestling with now is getting nvidia and opengl to work properly.
<calvertvl>
pseudo-sue: yes, that's true; I'm more interested in being able to e.g. test radical config changes via build-vm
pbogdan has quit [(Remote host closed the connection)]
<copumpkin>
sophiag: hi, lemme see
<pseudo-sue>
will nixos be the first linux to make this easy? only the future will tell!
jgertm has quit [(Ping timeout: 240 seconds)]
<copumpkin>
pseudo-sue: are you 0xDEBA5E12?
<pseudo-sue>
yup.
<sophiag>
thanks!
<copumpkin>
sophiag: definitely see the syntax error :) what are you trying to do there?
<copumpkin>
you have a detached function right after your myHaskellEnv
<pseudo-sue>
are we twitter friend?
<pseudo-sue>
s/friend/friends/
<copumpkin>
pkgs: rec { ... } is a valid expression
jgertm has joined #nixos
<copumpkin>
pseudo-sue: I follow you, so if you consider that :)
<pseudo-sue>
nice to meet you!
<pseudo-sue>
who are you on the twitter?
<sophiag>
i'm trying to specify the default version of java (i have both oracle and openjdk installed and want oracle) based on something i pulled off the old wiki via the wayback machine. not sure how to get the syntax right since i'm also using that for my haskell packages
<copumpkin>
same! nice to see folks I recognize on here
<copumpkin>
pseudo-sue: copumpkin! I think you used to follow me but probably got sick of the incessant SJWing :P
<copumpkin>
(which I don't blame)
<sophiag>
so yes, obviously the stack trace tells me where the syntax error is, but i'm unsure how to write it correctly :/
<pseudo-sue>
it might have been an unintentional unfollow! I did a big cull a while back, since my feed had become a firehose.
<copumpkin>
hmm
<copumpkin>
no problem, it happens all the time, I don't take it personally :)
<copumpkin>
sophiag: let me think a sec
<copumpkin>
oh
pie_ has quit [(Ping timeout: 272 seconds)]
<copumpkin>
I posted a comment with what I think you want
Itkovian has joined #nixos
<sophiag>
lol, that simple?
<copumpkin>
actually that import = looks wrong too
<sophiag>
i figured i needed to do something like self.pkgs: rec {...}
<sophiag>
well, i don't actually use a separate config.nix
<sophiag>
so if it's wrong i wouldn't notice
<sophiag>
but come to think of it...shouldn't it use a hardlink?
<copumpkin>
ah, well it won't hurt anything
<copumpkin>
but it'll get ignored
<copumpkin>
and we should probably check more actively for that
<copumpkin>
if you want to merge in the config at /root/.nixpkgs/config.nix, you'll need to do something like `{ ... } // import /root/.nixpkgs/config.nix`
<copumpkin>
so you have an attrset (dictionary) first, then you merge with //, and the right operand is "import /path/to/nix/file.nix", which evaluates to the interpreted contents of that file
<pseudo-sue>
anyone have tips for resolving the "OpenGL GLX extension not supported by display" error that's getting thrown when I try to launch steam? there's an nvidia chip in this box, and I have opengl and bumblebee enabled in my config...
<sophiag>
well there's just nothing in my config.nix since i put all that in this file
<copumpkin>
oh okay, so I'd just leave that out for now then
tokudan has quit [(Ping timeout: 255 seconds)]
<sophiag>
ok, cool. i'd like to clarify what you're saying re: attrset tho
<sophiag>
i guess you're saying put it outside of nixpkgs.config and just do "import <path>"?
<copumpkin>
nah, I'd leave it in configuration.nix for now and not spread it out into different files
<copumpkin>
but if you wanted to do what you were saying, you can do it the way I said
<copumpkin>
pseudo-sue: I think most folks in here are on european time and tend to be absent around now
<sophiag>
right, i'm both following that advice and trying to understand the way you said to do it were i to want to
<copumpkin>
I don't do graphical NixOS so don't know
<pseudo-sue>
no worries. that's fewer people i'm irritating with my nix-noob questions
<copumpkin>
sophiag: will post another comment with an example
<sophiag>
awesome. thanks
<sophiag>
copumpkin: also... "java -version" still shows openjdk after rebuild
<calvertvl>
pseudo-sue: I do use nvidia (and xmonad), so I may be able to answer some questions if needed; nvidia setup was straightforward though it does depend on which driver you need
<sophiag>
it's frustrating because on another system i could just change one symlink :p
<calvertvl>
anyone remember the how-old-is-unstable link?
<copumpkin>
oracle JRE is more annoying on NixOS than in some other distros
<pseudo-sue>
calvertvl: i'd love to see the relevant sections of your config, if I could
<copumpkin>
sophiag: well, so how are you installing java/jre?
<copumpkin>
sophiag: users can have independent channels from the system
<pseudo-sue>
i've never actually had a machine with a schwifty discrete video card before, so this fuss is a bit new to me
<calvertvl>
pseudo-sue: you may only need services.xserver.videoDrivers = [ "<appropriateNvidiaDriver>" ];
<sophiag>
copumpkin: i have both openjdk and oraclejdk in environment.systemPackages. unless i comment out the former it's used as the default. i was trying to correct that with that one line
<copumpkin>
oh so if you ask for openjdk, that's distinct from jre
<sophiag>
yeah i figured it was something like that
<pseudo-sue>
ok, I think I have that. It's currently set to [ "nvidia" "intel" ]
<sophiag>
basically i need what shows up under java -version (i.e. that default symlink) to be oracle, as if i never installed openjdk
<pseudo-sue>
without "intel", X11 won't start properly.
<copumpkin>
basically pkgs is just an enormous dictionary with tens of thousands of keys
<copumpkin>
and jre is one of those keys and openjdk is another
<copumpkin>
I'd just do environment.systemPackages = [ oraclejdk/jre8 ];
<calvertvl>
pseudo-sue: are you using a system that also has integrated graphics?
<copumpkin>
plus whatever else you want
marsel has joined #nixos
<pseudo-sue>
i'm not entirely sure. It's a thinkpad p51.
<pseudo-sue>
i'll have to go digging...
<sophiag>
compumpkin: oh, i have (oraclejdk8distro true true)
<sophiag>
nothing about jre
<pseudo-sue>
it appears so. lspci shows both nvidia and a an Intel VGA compatible controller.
<calvertvl>
yeah, your setup may be nvidia Optimus? or whatever
<calvertvl>
I have a desktop with dedicated video, so I don't have that
<copumpkin>
if you take openjdk out and just leave the oraclejdk8distro there it should do what you want
<copumpkin>
I'd guess
<sophiag>
copumpkin: it does, but ideally i'd prefer to have both installed and just set which is default as i'd do by updating the default symlink in an imperatively styled system
<copumpkin>
oh
<copumpkin>
so I think the systemPackages is a list, so order matters
<sophiag>
ah, ok
<copumpkin>
if you just put openjdk afterwards I think you'll be fine
deba5e12 has joined #nixos
<deba5e12>
hey, pseudo-sue on the nixos box, here
<sophiag>
and then do i even need that line in packageOverrides>
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pseudo-sue>
thanks! thinkpads have a lot of continuity from one to the next. hopefully something here works
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<copumpkin>
I don't see much in there about video options other than broad strokes like intel
<makefu>
pseudo-sue: hardware config is always a pain, esp. with graphics cards. if you have something which works it would be great if you could add it to the nixos-hardware repo
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #26312: python.pkgs.magic-wormhole: fix build mostly through adding new dependencies (master...magic-wormhole-fix) https://git.io/vHuUv
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
<makefu>
i do not explicitly add i915 to the kernel modules though
hiratara has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
joehh_ has quit [(Ping timeout: 260 seconds)]
simukis has quit [(Read error: Connection reset by peer)]
simukis has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
magnetophon has quit [(Ping timeout: 260 seconds)]
<SovereignBleak>
Anyone running an Optimus set up and *not* using Bumblebee (running everything through the Nvidia card all the time) with a working config they could share?
<SovereignBleak>
I’ve tried to adapt the ArchWiki instructions but I’m failing miserably. I end up with GLX errors.
drakonis has joined #nixos
tanonym has joined #nixos
tanonym has quit [(Client Quit)]
Raimondi has quit [(Write error: Broken pipe)]
drakonis_ has joined #nixos
drakonis has quit [(Remote host closed the connection)]
magnetophon has joined #nixos
watersoul has quit [(Write error: Connection reset by peer)]
Raimondi has joined #nixos
watersoul has joined #nixos
roconnor_ has joined #nixos
Bane^ has quit [(Ping timeout: 260 seconds)]
ericnoan_ has quit [(Ping timeout: 260 seconds)]
michiel_l_ has joined #nixos
hiratara_ has joined #nixos
siel_ has joined #nixos
socksy_ has joined #nixos
pem__ has joined #nixos
earldoug1as has joined #nixos
danbst1 has joined #nixos
s33se_ has joined #nixos
ixxie has quit [(Ping timeout: 260 seconds)]
ericnoan has joined #nixos
Bane^ has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
jgertm has joined #nixos
tanonym has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
riclima has joined #nixos
erasmas has quit [(Quit: leaving)]
tanonym has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vHgoP
<NixOS_GitHub>
nixpkgs/master 4576e8d Robert Helgesson: trash-cli: fix build on Python 3.6
NixOS_GitHub has left #nixos []
michiel_l has quit [(Write error: Broken pipe)]
siel has quit [(Write error: Broken pipe)]
hiratara has quit [(Write error: Broken pipe)]
nadley has quit [(Excess Flood)]
uwap has quit [(Excess Flood)]
hiratara_ is now known as hiratara
HappyEnte has quit [(Excess Flood)]
lpsmith has quit [(Excess Flood)]
uwap has joined #nixos
siel_ is now known as siel
nadley has joined #nixos
HappyEnte_ has joined #nixos
s33se has quit [(Remote host closed the connection)]
earldouglas has quit [(Remote host closed the connection)]
roconnor has quit [(Remote host closed the connection)]
lpsmith has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
johbo has quit [(Ping timeout: 240 seconds)]
ericnoan has quit [(Ping timeout: 240 seconds)]
mw has quit [(Ping timeout: 260 seconds)]
_ris has quit [(Remote host closed the connection)]
socksy has quit [(Ping timeout: 260 seconds)]
pem_ has quit [(Ping timeout: 260 seconds)]
danbst has quit [(Ping timeout: 260 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
LysergicDreams has quit [(Ping timeout: 240 seconds)]
LysergicDreams has joined #nixos
ogleb has joined #nixos
_ris has quit [()]
JagaJaga has quit [(Ping timeout: 240 seconds)]
_ris has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ogleb>
I have an SDK with a bunch of precompiled shared objects sitting inside (they have dependencies on ffmpeg, opencv, gomp, etc), is there any examples of how I can wrap this up in a nix-expression?
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<ogleb>
ultimately I will have to link against said SDK in my own code if that was not obvious
ertes has joined #nixos
riclima has joined #nixos
ogleb has quit [(Quit: WeeChat 1.7)]
ambro718 has quit [(Ping timeout: 260 seconds)]
ogleb has joined #nixos
<ogleb>
anybody?
<gchristensen>
does anyone have some sort of keychain like thing that locks and unlocks when the screen does?
faffolter has quit [(Ping timeout: 240 seconds)]
<gchristensen>
ogleb: you want patchelf, use search.nix.gsc.io to find usage examples :)
takle_ has joined #nixos
<ogleb>
gchristensen that page is a great resource, did not know about it. thanks!
<gchristensen>
:) you're welcome!
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
tanonym has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
digitus has quit [(Quit: digitus)]
takle_ has quit [(Ping timeout: 260 seconds)]
riclima has joined #nixos
markus1209 has joined #nixos
ambro718 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
markus1199 has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
markus1189 has quit [(Ping timeout: 268 seconds)]
markus1189 has joined #nixos
<tanonym>
Well, Breeze-Dark is a bit glitchy: it will apply the light font colour but leave the buttons with a light background as well.
tanonym has quit [(Quit: Konversation terminated!)]
Rotaerk has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
phinxy has quit [(Quit: Leaving)]
<calvertvl>
anyone have any idae why enabling doCheck for a go package can't find the makefile? I had to override the checkPhase to change directories to $TMP/go/$goPackagePath in order to get it to work
sellout- has quit [(Quit: Leaving.)]
KABA has joined #nixos
ambro718 has quit [(Ping timeout: 255 seconds)]
magnetophon has quit [(Ping timeout: 268 seconds)]
carlosda1 has quit [(Ping timeout: 272 seconds)]
<spinus>
calvertvl: dump checkPhase to screen and see what it does
<calvertvl>
some sillyness with getGoDirs which I can't find docs for