<RickHull>
would those declarations go in the same file you pasted?
<nathan7>
yup
<nathan7>
I tend to split things out by "cluster" (config/consensus servers, frontend load balancers, compute nodes)
Fare has joined #nixos
Acou_Bass has joined #nixos
pi3r has quit [(Ping timeout: 264 seconds)]
<RickHull>
What about making an AWS machine launch with a second disk, formatted and ready to go at /foobar, either empty or maybe with seed data. Does NixOps help with that?
<RickHull>
purely hypothetical, but again, something I've tackled previously with other tools
siel has joined #nixos
<simpson>
I think that you can do stuff like that. No idea exactly what AWS-specific functionality exists.
<RickHull>
It can get gnarly with specifying the EBS volume in various places in AWS, and making sure fstab and mtab agree
<RickHull>
or just decide to create everything from scratch on every launch
<RickHull>
e.g. create EBS volume, get its ID, specify that new ID at instance launch. your image will not necessarily expect a second disk. make sure it's there, build a filesystem on it, mount it. copy over any seed data
m3tti has quit [(Remote host closed the connection)]
<nekroze>
How severe are the security implications of having the same nix store mounted in multiple containers (that may be externally accessible) as their host, which is a non choice afaik?
johann__ has quit [(Read error: No route to host)]
johann__ has joined #nixos
thalll has joined #nixos
<thalll>
I cant find libwebkitgtk-1.0 , anyone who known if this in the repo or if i have to package it my self?
<nekroze>
thalll: its just called webkitgtk and its in nixpkgs
<nekroze>
There are some variants including gnome3.webkitgtk
<nekroze>
Oh wait you wanted v1.0 which is not there now... It probably once was. I'd check the git history on those packages i mentioned in nixpkgs
<thalll>
nekroze: yeah i found that to :) Ah kind of you!
<benley>
RickHull: hey!
<nekroze>
thalll: looks like it doesnt go back to 1.0 sadly
<thalll>
nekroze: ah damn, thanks anyway!
<thalll>
need it for pentaho spoon...
phanimahesh has joined #nixos
<nekroze>
I have a nix host that is running an ssh server. Sometimes after a day of uptime i turn my laptop on and find i cannot ssh into the server get any network access to it on other ports either... Until I disconnect from wifi and plug in ethernet. Then its fine. Any thoughts as to why? No fail2ban and the servers journal states 0 events happening since i last sshed in yesterday via wifi.
<nekroze>
I can't figure out if i should be looking at this like a server or a client (my laptop) issue. Everything else on wifi works fine. Some other devices are able to use wifi to reach other services on the host as well.
<nekroze>
Even the laptop can browse the net and all when this happens
reinzelmann has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
amarsman has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #21351: haskell: workaround for bug with dynamic libraries on darwin (master...darwin-haskell-dyld) https://github.com/NixOS/nixpkgs/pull/21351
zagy has joined #nixos
Wizek has joined #nixos
zagy has quit [(Client Quit)]
johann__ has quit [(Quit: Leaving.)]
Itkovian has joined #nixos
RickHull has quit [(Ping timeout: 260 seconds)]
phanimah1sh has joined #nixos
Sonarpulse has quit [(Ping timeout: 245 seconds)]
dmi3y has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
phanimahesh has joined #nixos
johann__ has joined #nixos
rly has joined #nixos
phanimah1sh has quit [(Ping timeout: 256 seconds)]
kahiru has joined #nixos
systemfault has quit [(Quit: Bye!)]
johann__ has quit [(Read error: No route to host)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
kahiru has quit [(Quit: Konversation terminated!)]
tommyangelo has joined #nixos
indi_ has quit [(Ping timeout: 250 seconds)]
<hyper_ch>
is it me or is there no links2 in nixos and that links doesn't support JS?
nekroze has left #nixos []
Wizek_ has joined #nixos
dmi3y has quit [(Quit: dmi3y)]
zagy has joined #nixos
phanimahesh has quit [(Ping timeout: 250 seconds)]
phanimahesh has joined #nixos
alx741 has quit [(Quit: alx741)]
johann__ has joined #nixos
bfrog has quit [(Ping timeout: 258 seconds)]
goibhniu has joined #nixos
<srhb>
hyper_ch: nixos.links appears to be links2-2.13 for me
<rly>
What package contains the program 'gnome-open'?
goibhniu1 has joined #nixos
<srhb>
rly: nixos.gnome.libgnome, according to the command-not-found magic.
goibhniu has quit [(Ping timeout: 252 seconds)]
bfrog has joined #nixos
thc202 has joined #nixos
nschoe has joined #nixos
aj__ has quit [(Ping timeout: 250 seconds)]
iyzsong has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
dmi3y has joined #nixos
Itkovian has joined #nixos
<phanimahesh>
is it possible to get nixos command-not-found magic on non-nixos?
<phanimahesh>
The package is not there in nixpkgs.
<phanimahesh>
So copy the derivation over? Any better option?
<viric>
spacekitteh: yes
<spacekitteh>
viric: any chance you could merge the libssh + ncurses PRs i made? at least, into staging
dmi3y has quit [(Quit: dmi3y)]
herzmeister has quit [(Quit: Leaving)]
iyzsong has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<LnL>
spacekitteh: staging is not in a great place at the moment, so I would prefer to stabilise it a bit first
<spacekitteh>
oh. master then? :B
<rly>
What do I need to do to get s3fuse to work? Do I need to create the fuse group myself?
<LnL>
I thought it depended on the new cmake
<spacekitteh>
no
<spacekitteh>
libssh causes a cmake rebuild
<LnL>
oh well that's still a mass-rebuild for darwin then :(
<spacekitteh>
=[
johnsonav has quit [(Ping timeout: 258 seconds)]
<spacekitteh>
lol great, now compiling openjdk segfaults
roconnor has quit [(Ping timeout: 268 seconds)]
<spacekitteh>
LnL: why is staging fucked?
<LnL>
not sure, I wonder if it has done a full rebuild since the user namespace changes
<Mic92>
gchristensen: we most likely do not have to deal with him in future, when this module gets merged into linux and wireguard-tools gets merged into iproute2.
eacameron has joined #nixos
<LnL>
would explain a lot if the current eval is only a partial one
<NixOS_GitHub>
nixpkgs/master 70424e1 Sophie Taylor: ncurses: Create libtinfo symlink...
<NixOS_GitHub>
nixpkgs/master 81f2e4f viric: Merge pull request #21350 from spacekitteh/patch-23...
<itorres>
Hi all, I still have problems with $system-profile/sw/share not being correctly populated
gilligan_ has joined #nixos
kampfschlaefer has joined #nixos
<itorres>
just noticed that it's not only about a single package, a lot of symlinks in the new /nix/store/nixos-system* are being populated weirdly, for instance there are no symlinks to the zfs utils. I will try rebooting into a working generation and rebuilding
<spacekitteh>
back under 300 PR's!
<spacekitteh>
gchristensen: ^
tommyangelo has quit [(Ping timeout: 265 seconds)]
rly has quit [(Remote host closed the connection)]
FRidh has joined #nixos
indi_ has joined #nixos
johann__ has quit [(Quit: Leaving.)]
oida has joined #nixos
oida has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1hoU
<NixOS_GitHub>
nixpkgs/master 0c13820 Vladimír Čunát: Revert "Merge pull request #21350 from spacekitteh/patch-23"...
<spacekitteh>
gdi
MoreTea has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<viric>
good. I let you discuss with vcunat the things then.
<spacekitteh>
XD
ixxie has joined #nixos
gilligan_ has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Read error: Connection reset by peer)]
<itorres>
so, any clues as to why my /run/current-system/sw/share/ is now so empty? Could it be that I used a wrong version of nix (from nixpkgs) in some rebuild and now I have some inconsistency?
<itorres>
$ ls /run/current-system/sw/share/
<jophish>
I'm trying to modify the RPATH of a shared object but patchelf says 'open: Permission denied'
<itorres>
applications desktop-directories emacs info menus nano pixmaps terminfo vim-plugins
<itorres>
dbus-1 doc icons man mime org polkit-1 themes xdg
<jophish>
does this even make sense?
Wizek_ has joined #nixos
<itorres>
$ ls /nix/var/nix/profiles/system-13-link/sw/share/|wc -l # 156
phanimahesh has quit [(Ping timeout: 252 seconds)]
SovereignBleak has joined #nixos
phanimahesh has joined #nixos
<itorres>
I have tried rebooting into that system profile (13) and rebuilding and I have the same behaviour. Mh, now that I have said that, I will try rebooting into a previous generation and rebuild with the current configuration.nix, brb
<michalrus>
Hey, so when running some vagrant commands, I’m getting:
<michalrus>
/nix/store/9xirzqgx00iwmh2asaa8r7zb26x4sh76-vagrant-1.8.7/opt/vagrant/embedded/gems/gems/nokogiri-1.6.7.1/lib/nokogiri.rb:29:in `require': libexslt.so.0: cannot open shared object file: No such file or directory
johann__ has joined #nixos
johann__ has quit [(Client Quit)]
<Profpatsch>
garbas: Why am I not surprised that you were at the [rb] conference? ;)
<garbas>
Profpatsch: it was almost in my living room :P i had no choice
jgertm_ has quit [(Ping timeout: 252 seconds)]
<Profpatsch>
Though I’d not call them zero reproducibility days, rather “full reproducibility days” :P
<garbas>
i think zero rep. days is the oposite of full rep. days
<Profpatsch>
yeah, but we don’t want zero rep, right?
<garbas>
but anyway, i dont want to be the one naming things
<garbas>
we dont want zero vul. days as well, but we have them :)
<Profpatsch>
With such an awesome blog design you are a “thought leader” by default. :P
<garbas>
the point i was trying to make is that we need to look at reproducibility as we do security
mk-fg has quit [(Ping timeout: 260 seconds)]
<garbas>
probably the same workflows would apply
<garbas>
Profpatsch: damn, i need to "dumb down" my design then :)
mk-fg has joined #nixos
<Profpatsch>
:D
<Profpatsch>
Use some default template and you’re golden.
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
oida has joined #nixos
<Profpatsch>
But a very solid blog post +1
uralbash has quit [(Ping timeout: 246 seconds)]
m3tti has joined #nixos
<garbas>
tnx! much appreciated
<m3tti>
hi nixers! how could i get a python package working? e.g i'm trying to install python and python27packages.potr
<m3tti>
but if i try to import potr it doesn't work
<garbas>
that should put you in "virtualenv" where you can import potr
<m3tti>
but i need potr for jabber-otr in emacs
rardiol has joined #nixos
<garbas>
m3tti: are you running nixos or using nix on some linux distro?
<garbas>
or darwin
<m3tti>
i'm using nixos
<m3tti>
so linux
<kmicu>
m3tti: if it does not work then jabber-otr is not properly packaged. You can file an issue about the error.
<m3tti>
ah kmicu jabber-otr should be available in the nix cache too
<m3tti>
ok maybe i should switch to my good old friend
<m3tti>
bitlbee
mkoenig has joined #nixos
<garbas>
m3tti: if you want i can help you fix it in nixpkgs
mk-fg has joined #nixos
<kmicu>
Ah, so you are not using jabber-otr from Nixpkgs. Then you can make potr available in global python, but that requires manually setting up some environment variables.
<NixOS_GitHub>
nixpkgs/master 96c8e19 Peter Simons: libtecla: update to version 1.6.3...
<garbas>
i guess i will look at perl this xmas
m3tti has quit [(Remote host closed the connection)]
oida has quit [(Ping timeout: 246 seconds)]
jophish has quit [(Quit: leaving)]
FPtje has joined #nixos
<FPtje>
Does nixops have an automatic rollback system? (or has anyone gotten such thing to work with it?) I want a system to automatically roll back after a some amount of time unless explicitly told not to
asymmetric has joined #nixos
jophish has joined #nixos
<asymmetric>
hi fellaz, i'm trying to use mpv on a ubuntu machine using nix, but i get the error "libGL error: unable to load driver: i965_dri.so"
<asymmetric>
any ideas how to debug?
johann__ has joined #nixos
<garbas>
FPtje: hmm i had this piece of configuration somewhere
<garbas>
damn it was (probably still is) on my old leptop
<jophish>
is a leptop a computer which doesn't interact via the strong force?
johann__ has quit [(Client Quit)]
Wizek_ has quit [(Ping timeout: 250 seconds)]
<garbas>
FPtje: i think i used systemd timer and some custom 10 line bash script
<FPtje>
garbas, that's what I'm trying, but how would you "commit"? i.e. tell the system not to roll back
Kingsquee has joined #nixos
<garbas>
FPtje: oh i only did this for auto updating
<garbas>
so i hooked into pre/post steps of nixos-update unit
Kingsquee has quit [(Client Quit)]
<garbas>
in some known location i created a symlink to where i should rollback to
<garbas>
and then to disable a an auto rollback i just deleted that symlink
eacameron has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
Wizek_ has joined #nixos
mudri has quit [(Ping timeout: 258 seconds)]
Itkovian has joined #nixos
oida has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
johann__ has quit [(Read error: No route to host)]
ebzzry has joined #nixos
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
amarsman has quit [(Ping timeout: 265 seconds)]
johann__ has joined #nixos
abcrawf has quit [(Quit: Bye bye)]
ebzzry has quit [(Ping timeout: 258 seconds)]
abcrawf has joined #nixos
iyzsong has quit [(Quit: bye.)]
pswen_ has joined #nixos
pswen has quit [(Read error: Connection reset by peer)]
rardiol has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
FPtje has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
<offlinehacker[m]>
@copumpkin I want to build kext on osx with nix, have you tried anything like this before, or do you have some ideas how can I do that?
ebzzry has quit [(Ping timeout: 258 seconds)]
Seichi has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
nixpkgs/release-16.09 831571c Marcin Janczyk: keepass: 2.33 -> 2.34...
<NixOS_GitHub>
nixpkgs/release-16.09 02a5759 Franz Pletz: libksba: 1.3.4 -> 1.3.5...
<NixOS_GitHub>
nixpkgs/release-16.09 fac3294 Peter Hoeg: gnu global: 6.5.4 -> 6.5.5...
<gchristensen>
niksnut: can you try rebuilding https://hydra.nixos.org/build/45276777? I'm pretty sure this failure is unique to that run, not due to namespacing or anything else.
<gchristensen>
niksnut: also: I would be interested in the ability to rerun jobs myself, if that is an option, but we don't need to discuss that if you don't want to.
indi_ has joined #nixos
<phanimahesh>
where's ghc-mod in nix?
<phanimahesh>
searching with nox hasn't produced anything
<LnL>
haskellPackages.ghc-mod
rly has joined #nixos
alx741 has joined #nixos
<srhb>
Can I somehow point nixos-container at a different nixpkgs? It seems to ignore NIX_PATH=nixpkgs=...
mudri has joined #nixos
<phanimahesh>
LnL: Thanks. Any idea why it didn't show up in nox?
<ixxie>
LnL: at the moment I understand it would try and call a default.nix derivation in the project folder, but all I really need is for it to call a script
<LnL>
phanimahesh: you can find all of hackage in the haskellPackages set, that are a lot of packages so they are not searched by default
<phanimahesh>
okay. thanks
avn has quit [(Remote host closed the connection)]
indi_ has quit [(Remote host closed the connection)]
<ixxie>
LnL: maybe there is something like callPackage to call a bash script? I don't even know if that makes any sense xD
rly has quit [(Quit: Lost terminal)]
<LnL>
ixxie: not sure what you mean, if you want to put something in the store you need a derivation
mudri` has joined #nixos
<LnL>
there is a function that just calls a script at build time
mudri` is now known as mudri|srcf
<LnL>
eg. runCommand "foo" {} "echo foo > $out"
avn has joined #nixos
<ixxie>
LnL: I guess what I am asking is how to make a derivation for a basic bash script
<NixOS_GitHub>
nixpkgs/master af2ecc2 Thomas Tuegel: kde5.kdeWrapper: use small symlink farms...
<gchristensen>
niksnut: hrmm... it passed right away. Is there a way to re-trigger the rest of the jobs depending on that passage, or must I submit a "bogus" change to go to trigger that sort of event?
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
<srhb>
Isn't docker socket activation still broken?
<zimbatm>
xeviox: yeah you need to log out and back again for the system to associate the new group with your account
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
<zimbatm>
socket activation works fine for me
<viric>
niksnut: if you use @list to supply the list of objects to link, then g++ generates a @list for all the parameters of the call to 'ld', and the wrappers don't add the -rpath lines.
<CMCDragonkai>
[_Harold Abnabit, irc.freenode.net] from earlier: https://paste.pound-python.org/show/rBOgJEtjnFhVnHxd3CpW/ installing i686 nix seems.. broken? i'm able to run other i686 binaries without issue. can someone else confirm?
CMCDragonkai has left #nixos []
<offlinehacker[m]>
copumpkin: I'm creating kernel module for darwin. I just built the xnu with nix, and I can see that kernel is missing.
CMCDragonkai has joined #nixos
<copumpkin>
yeah, the current xnu derivation is just the headers
<LnL>
oh didn't you have somthing that could build xnu?
<copumpkin>
mostly because the kernel was tricky to build up until recently (I need to finish the push to get llvm 3.8 integrated)
<FPtje>
I can't find an option to not start a defined systemd service. I can set "enabled" to false, but then I can't start it manually anymore. I want to be able to start it manually, but not have it started by default
<copumpkin>
it doesn't build on llvm 3.7
<LnL>
ah that's why
<copumpkin>
gchristensen: ?
pie_ has joined #nixos
CMCDragonkai has left #nixos []
<copumpkin>
gchristensen: why ban?
<gchristensen>
domenkozar: I messaged CMCDragonkai about his client and asked him to fix the issue, offering to unban straight away.
<gchristensen>
copumpkin: he's being a parrot and joining / leaving every couple minutes
pi3r has joined #nixos
<copumpkin>
ah
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<copumpkin>
their IRC client has always been weird, but never seen the parroting behavior before today
<domenkozar>
FPtje: you specify multi-target as wanted
<LnL>
copumpkin: about llvm 3.8 have you had a chance to look at libauto?
<copumpkin>
nope, no chance to do anything, even fix the xhyve thing :)
<copumpkin>
break coming up though so will try then
<copumpkin>
have a giant list of todos
<LnL>
allright
<offlinehacker[m]>
copumpkin: I was building kernel with xcode because xnu kernel symbols from Apple are basically useless, as they do not contain source code, and if you compare with source, they do not match
<copumpkin>
boo
<LnL>
I suspect the new sdk might also work better with llvm 3.8
<copumpkin>
offlinehacker[m]: well, you'll still need symbols that match the running kernel
<copumpkin>
so the nix solution isn't ideal
<copumpkin>
because its xnu is almost never going to be the one that your OS is running
<domenkozar>
copumpkin: LnL: did you ever link haskell C libs statically and dynamically?
<copumpkin>
nope
<LnL>
^ same
<domenkozar>
I'm getting adventerous, need to statically link everything but dynamically link darwin stuff
<offlinehacker[m]>
copumpkin: then I saw xnu in nix and thought I could compile it with nix, look like not yet, but still great job. What is missing for full kernel compilation?
amarsman has joined #nixos
Itkovian has joined #nixos
Shou has quit [(Ping timeout: 256 seconds)]
<copumpkin>
offlinehacker[m]: mostly LLVM 3.8 and some other hackery (like I think I ended up turning off its attempts to do LTO because our LLVM didn't have it at the time)
<copumpkin>
I can't remember exactly, can check on my other computer later
<offlinehacker[m]>
copumpkin: I'm replacing kernel with my own
cpennington has quit [(Ping timeout: 264 seconds)]
<copumpkin>
ah nice
<copumpkin>
I never tried booting the kernel I built :)
<copumpkin>
the issue with 3.7 is that Apple's LLVM has patches that they only upstreamed in 3.8
alx741_ has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<copumpkin>
since Apple's a major contributor to LLVM I think they do a lot of work on it and then upstream it in batches
<copumpkin>
or something
<offlinehacker[m]>
Ahh ok
<ixxie>
I am wondering if there is something like this makeProg in any of the boilerplate
<ixxie>
it cannot be that difficult to package a bare shell script
<copumpkin>
offlinehacker[m]: anyway, I can definitely put the expression up later when I find it, if you want to tinker, but it depends on the 3.8 work that's still pending
alx741 has quit [(Ping timeout: 260 seconds)]
<copumpkin>
mostly because it needs a cctools that uses llvm 3.8, which generally forces a full rebuild of the stdenv
<copumpkin>
or you can "fork" cctools and llvm and pass the right versions into a forked xnu
mbrgm has quit [(Ping timeout: 245 seconds)]
<copumpkin>
which is how I was running it back in the day
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<offlinehacker[m]>
copumpkin: that could work. It would help me a lot of you could share expression.
mbrgm has joined #nixos
<FPtje>
domenkozar, failed to add dependency on multi-target, ignoring: invalid argument when setting it "multi-target" as "wants", it just runs on activation when "multi-target" is set as "wantedBy"
reinzelmann has quit [(Quit: Leaving)]
<copumpkin>
offlinehacker[m]: okay, I just remembered I'll be traveling tonight but should be able to get you something tomorrow
dmi3y has quit [(Quit: dmi3y)]
<FPtje>
wait, maybe I need to set Type=oneshot
<offlinehacker[m]>
No problem, It's no hurry, but it would still be awesome if I could build kernel and driver with nix :)
<NixOS_GitHub>
nixpkgs/release-16.09 81949ef c74d: google-fonts: Fix typos in homepage, description...
<NixOS_GitHub>
nixpkgs/release-16.09 1d53704 Eelco Dolstra: google-fonts: Add a check to ensure that there are no duplicate font names...
sellout- has joined #nixos
<offlinehacker[m]>
copumpkin: will remind you in next days. If you wonder I'm building a security solution for monitoring activity on osx, while I'm new in osx world and I don't even have osx(running in qemu), it turns out it's not that hard compared with all the windows kernel hackery.
<offlinehacker[m]>
*I don't even have mac
acertainkind has joined #nixos
acertain has joined #nixos
Shou has joined #nixos
<avn>
offlinehacker[m]: would be nice to have darwin+nix, crossbuildable, and enough to check native darwin builds in qemu ;)
<copumpkin>
nice :) my motivation for the kernel was to set up a minimal bootable darwin
latk has quit [(Read error: Connection reset by peer)]
zagy has joined #nixos
thalll has joined #nixos
latk has joined #nixos
zagy has quit [(Client Quit)]
dmi3y has joined #nixos
Matrixiumn has joined #nixos
ixxie has quit [(Ping timeout: 248 seconds)]
zagy has joined #nixos
jsgrant_ has joined #nixos
goibhniu has quit [(Ping timeout: 256 seconds)]
zagy has quit [(Quit: Leaving.)]
Seichi has quit [(Read error: Connection reset by peer)]
Seichi has joined #nixos
<mpickering>
Forgive another basic question, I have an executable which fails to load a shared library where can I read in the manual about how to overcome this?
<mpickering>
I am compiling the binary myself so perhaps that is easier?
<LnL>
but you also can try to fixup the binary with patchelf
zagy has quit [(Client Quit)]
Claas has joined #nixos
dgn has quit [(Ping timeout: 248 seconds)]
<Claas>
o/ again, found out how wine64 with supported audio should work and building it currently, is already runs for 1h+ on a 4670k with a 16mbits connection, was curious if it is normal to take that long ?
<kmicu>
mpickering: If you share more details about package’s *.nix recipe (especially buildInputs) and the missing library then it will be easier to help.
<Claas>
*using -j 20 --cores 4
thalll has quit [(Ping timeout: 252 seconds)]
<kmicu>
Usually you could use a binary substitute for Wine.
zagy has joined #nixos
tommyangelo has quit [(Ping timeout: 265 seconds)]
<Claas>
kmicu: wine64 is not integrated in hydra so i guess i have to build it my self ?
<kmicu>
Then the build time should be almost identical to build time on other GNU/Linux distros.
<mpickering>
kmicu: The executable is produced by a makefile in the GHC testsuite and it fails to load libgmp
<mpickering>
I am using the ghcHEAD derivation to setup the environment
<mpickering>
which works for the main build but then you can't run any tests
<kmicu>
Do you have the same problem with the latest official GHC release?
<mpickering>
With "ghc" I can build the executable fine and it works correctly. Maybe the problem is that the makefile builds the file using the just build development compiler
<mpickering>
yes, any executable built with the dev compiler fails to load libgmp
<kmicu>
Please, file an issue to document the problem with development version of GHC and libgmp \cc peti
FPtje has quit [(Remote host closed the connection)]
zagy has quit [(Quit: Leaving.)]
<kmicu>
(Maybe Backpack related changes introduced a regression.)
bencevans has quit [(Ping timeout: 245 seconds)]
Tsutsukakushi has quit [(Ping timeout: 240 seconds)]
<mpickering>
ok I got it, I had to run "fixupPhase" as well
<mpickering>
thanks for listening, you solved it!
<mpickering>
Now all the tests fail but I'll carry on trying to work it out
redmq has joined #nixos
Judson1 has joined #nixos
<Judson1>
Is there a known issue with Chromium and NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kmicu>
(That does not explain how it worked with a regular GHC and w/o a fixupPhase though, but if it works, nvm that.)
ixxie has joined #nixos
<mpickering>
maybe it didn't work
redmq has quit [(Ping timeout: 245 seconds)]
<mpickering>
oh of course it didn't .. it only looked like it did because I build the executable with "ghc" rather than the one I just built
c0bw3b has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
Tsutsukakushi has joined #nixos
Tsutsukakushi has quit [(Read error: Connection reset by peer)]
<Judson1>
I haven't been able to put my finger on it, but I notice that certain applications get "stuck" on old version of other apps - e.g. dmenu_run launches a previous version of Chromium
<Judson1>
And updating fish wasn't enough - I think I had to logout and log in again?
danharaj has joined #nixos
<Judson1>
a) Why? b) Is there an easier fix than effectively rebooting after updates?
stepcut has quit [(Read error: Connection reset by peer)]
stepcut_ has joined #nixos
IITaudio has quit [(Ping timeout: 252 seconds)]
<hodapp>
hrmph. EFI install and now my SSD device isn't appearing on the first boot :(
<Judson1>
Strike that: chromium --version says "55" but running chromium launches a window that says "53"
<hodapp>
"Device /dev/nvme0p2 doesn't exist or access denied", "starting device mapper and LVM..."
Happy_Ente has joined #nixos
<hodapp>
....oh, that might be because that's not a real device X_X
Seichi has quit [(Quit: Konversation terminated!)]
<hodapp>
wtffff, did this thing just boot in like 2 seconds
<k0001>
Is nixpkgs 16.09 working fine on OS X sierra? I see there's been some significant fixes in `master`, like https://github.com/NixOS/nixpkgs/pull/19470 , but it doesn't look like those changes were backported to 16.09.
hotfuzz_ has joined #nixos
jsgrant_ has quit [(Excess Flood)]
bencevans has joined #nixos
jsgrant_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
<johnw>
can I both inherit a package, and override a parameter, at the same time?
dmi3y has quit [(Quit: dmi3y)]
<johnw>
i.e., inherit foo { param = value; }?
<johnw>
I'm looking at inherit (ocaml-ng.ocamlPackages_4_02) verasco;
<johnw>
but I need to override its "coq" argument
<ToxicFrog>
hodapp: yeah, I noticed that Nix boots *way* faster than SUSE on the same hardware
<ToxicFrog>
Probably because it defaults ~everything to off
<ToxicFrog>
I've had to explicitly turn on a lot more things like wifi and touchpad support.
<hodapp>
ToxicFrog: I noticed it on my laptop (where it replaced Fedora) first
<hodapp>
but my desktop had Arch which also tends to not have anything
<hodapp>
the installer also seemed to handle EFI just fine
<hodapp>
I feel like in the past I've had to do a lot more to get anything to work right
<ToxicFrog>
I've never had any problems with EFI on SUSE, but on the other hand booting from ZFS was a complete trainwreck
<ToxicFrog>
And in Nix it was a one-line edit to hardware-configuration.nix and then it Just Worked.
<hodapp>
I haven't used SuSe
sellout- has quit [(Ping timeout: 250 seconds)]
<hodapp>
not using ZFS on Linux either, though my BSD box has it
jsgrant_ has quit [(Remote host closed the connection)]
dmi3y has joined #nixos
<hodapp>
next gauntlet: Nvidia drivers, blugh
ixxie has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
jensens has quit [(Ping timeout: 250 seconds)]
mudri has quit [(Ping timeout: 248 seconds)]
zagy has quit [(Quit: Leaving.)]
c0bw3b has left #nixos []
sellout- has joined #nixos
pikajude is now known as pikarudolph
jluttine has quit [(Ping timeout: 260 seconds)]
jluttine has joined #nixos
<ambro718>
nvidia drivers are almost a one-liner in NixOS
<hodapp>
ALMOST
ok2` has quit [(Ping timeout: 252 seconds)]
<ambro718>
hodapp: I say almost, because you may also want "hardware.opengl.driSupport32Bit = true;" or may have to use a legacy driver instead of the newest series. All is documented in the manual.
<hodapp>
I'll check it out
<hodapp>
for now, I'm un-fux0ring my Emacs config, having discovered NixOS has a section in the manual on this!
<NixOS_GitHub>
nixpkgs/master 4888bfe John Wiegley: coq_8_6: 8.6 is now default, 8.4 optional, updated mathcomp/ssreflect...
jsgrant_ has joined #nixos
hotfuzz_ is now known as hotfuzz
<mpickering>
kmicu: I forgot to call "patchShebangs"
cpennington has quit [(Ping timeout: 246 seconds)]
<Rotaerk>
ricky martin?
<hodapp>
I guess the next important step in me learning NixOS is that I need to royally screw something up so I have to learn to fix it
<ambro718>
unfortunately fixing it will just involve booting an older configuration in grub :)
ryanartecona has quit [(Quit: ryanartecona)]
<hodapp>
I'M NOT USING GRUB YOU INSENSITIVE CLOD
<hodapp>
yeah, it looks to be a simple matter, but it is important that I understand how it works, how to use it effectively, and what its limitations are
<NixOS_GitHub>
nixpkgs/master f06284b John Wiegley: coq_8_6: Use ocamlPackages_4_03 rather than 4_01
mkoenig has quit [(Read error: Connection reset by peer)]
phreedom has quit [(Ping timeout: 252 seconds)]
mkoenig has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
rardiol has quit [(Ping timeout: 260 seconds)]
<dtzWill>
ambro718: LOL I was writing comment on HN suggesting that guy comes to IRC to sort things out :)..... and just saw you discussing 32bit openGL here as well! haha
<dtzWill>
"wait that guy's name looks like the guy who was talking about it on IRC a short while ago..."
<dtzWill>
O:)
<ambro718>
dtzWill: I replied to that guy on HN :)
mkoenig has joined #nixos
<dtzWill>
crazy coincidence that you were discussing "hardware.opengl.driSupport32bit = true;" on both IRC as well as on HN at basically the same time :P
Matrixiumn has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Matrixiumn has joined #nixos
Matrixiumn has quit [(Ping timeout: 250 seconds)]
<mpickering>
Where can I find the definition of mkDerivation?
ryanartecona has joined #nixos
Claas has quit [(Quit: Page closed)]
joshie has quit [(Ping timeout: 248 seconds)]
herzen_ is now known as herzen
<copumpkin>
mpickering: stdenv/generic
<copumpkin>
it's mostly just a fat wrapper around the primitive derivation though
<copumpkin>
which is defined in nix, in terms of a real primitive called derivationStrict
<hodapp>
interesting... so it sounds like with something like "nixos-rebuild switch -p foo" I could maintain, say, a Nouveau configuration alongside my Nvidia configuration
<hodapp>
and choose one at boot
<hodapp>
it mentions that with GRUB it will make a sub-menu for that profile, but I don't know if it does it with systemd-boot (as I'm on EFI)
joachifm has quit [(Remote host closed the connection)]
<hodapp>
hm, is there any way to just give a configuration a name - but not necessarily as a separate profile like with -p that I want to be tracked separately?
<hodapp>
I guess I could just manually edit the boot entry
<mpickering>
I read all the nix pills now and the medium article, is there anything else or should I dive into the manual?
cpennington has quit [(Ping timeout: 260 seconds)]
acarrico has quit [(Ping timeout: 264 seconds)]
AllanEspinosa has joined #nixos
<kmicu>
Definitely, Nix and Nixpkgs manuals and at least their TOCs. ( ͡~ ͜ʖ ͡°)
rardiol has joined #nixos
<rardiol>
is there a command to tell linux to load everything in swap back on ram immediately? or at least something that makes firefox faster when waking from hibernation?
sigmundv has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
<hodapp>
err, there is the swappiness parameter in the kernel, but I don't know how much that will do
Itkovian has joined #nixos
cpennington has joined #nixos
sigmundv has joined #nixos
<ToxicFrog>
rardiol: you can swapoff(8) the swap file/partition and that will force it to drag everything in swap back into ram
<ToxicFrog>
(don't forget to swapon it again afterwards)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
Shou has joined #nixos
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
mw has quit [(Quit: kumquat)]
mw has joined #nixos
Shou has quit [(Ping timeout: 245 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
nixpkgs/master 556ca97 Joachim Fasting: linux_3_12: add back bridge_stp_helper patch...
MoreTea has quit [(Ping timeout: 248 seconds)]
Fare has joined #nixos
<mpickering>
So I added the nixos-unstable channel and updated it. All going fine so far. I can then get a later version of ghcHEAD with nix-env -iA haskell.compiler.ghcHEAD but now I can't do nix-shell -A haskell.compiler.ghcHEAD
<mpickering>
what have a broken?
k2s has joined #nixos
systemfault has joined #nixos
<mpickering>
ok it seems I have to do nix-shell '<nixpkgs>' -A haskell.compiler.ghcHEAD
deepwater has joined #nixos
FareTower has joined #nixos
m3tti has quit [(Ping timeout: 256 seconds)]
<mpickering>
'<nixpkgs>' still evaluates to the old channel.. I don't understand this at all
Fare has quit [(Ping timeout: 252 seconds)]
<LnL>
what does your NIX_PATH look like?
<LnL>
nix-env -A foo should use your local directory, not nixpkgs