<bennofs> MichaelRaskin: yes, but I don't think the nixos modules do support that well yet?
<LnL> I introduced some a user activation script for nix-darwin
<bennofs> I guess I'm looking for https://github.com/NixOS/nixpkgs/pull/9250
<LnL> perhaps we could introduce a similar concept for the nixos modules
<bennofs> LnL: nixos already has an overridable activation & post build script. we "just" need to bring nixos modules to user environments, perhaps even using systemd --user?
danharaj has quit [(Ping timeout: 258 seconds)]
<LnL> yes, you can add an attribute to system.activationScripts and run a script with su $USER -c ${script}
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 264 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
james_rth has quit [()]
thc202 has quit [(Ping timeout: 252 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jgertm_ has quit [(Ping timeout: 258 seconds)]
cjhowe has joined #nixos
bennofs has quit [(Quit: WeeChat 1.6)]
tokyo_jesus has quit [(Ping timeout: 260 seconds)]
tokyo_jesus has joined #nixos
danielrf has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
aarvar has joined #nixos
justicefries has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
justicefries has left #nixos []
justicefries has joined #nixos
mudri` has quit [(Ping timeout: 248 seconds)]
<justicefries> is there a way to support things like AWS VPC creation in nixops? is it something I can add?
<simpson> justicefries: You'd have to roll up your sleeves and write some Python for nixops, but yeah, that kind of thing is probably possible.
<justicefries> That's fine! Is there a plugin architecture for it or would I have to fork nixops?
<simpson> You'd fork, write your patch, and send in a PR.
ebzzry has joined #nixos
<justicefries> simpson: well, yes, ultimately that. :)
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<justicefries> I guess long-term thinking beyond PRs, is it possible to have private backends if for some reason I need them?
<simpson> Not without forking, but Nix makes that easier than you'd think.
<simpson> More practically, writing a new backend doesn't appear to be a small easy task. Which cloud provider did you want support for?
<justicefries> I more want to extend the existing AWS one, and perhaps add internal higher level concepts, but maybe there's a better mechanism for that.
<justicefries> I should maybe do some more nix before I really get things messy with nixops. I'd like to get away from our Terraform infrastructure, basically.
ryanartecona has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
aarvar has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zagy1 has joined #nixos
aarvar has joined #nixos
zagy has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
danharaj has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 248 seconds)]
tokyo_jesus has quit [(Quit: Leaving.)]
aarvar has quit [(Ping timeout: 245 seconds)]
tokyo_jesus has joined #nixos
justicefries has left #nixos []
zraexy has quit [(Ping timeout: 265 seconds)]
PragCyphr has joined #nixos
PragCyph1 has quit [(Ping timeout: 256 seconds)]
ebzzry has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
aarvar has joined #nixos
<ToxicFrog> So playonlinux is in the repos, but it doesn't seem to have any modifications to run in an FHS or to patch the wine binaries it downlods
<ToxicFrog> So it doesn't actually work
<ToxicFrog> Should I file a bug?
Xackle has quit [(Quit: C-x C-c)]
fractal has quit [(Ping timeout: 258 seconds)]
Matrixiumn has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
zraexy has joined #nixos
sigmundv has quit [(Ping timeout: 252 seconds)]
fractal has joined #nixos
symm- has quit [(Quit: Leaving...)]
Wizek has quit [(Ping timeout: 252 seconds)]
Wizek_ has quit [(Ping timeout: 256 seconds)]
tokyo_jesus has quit [(Quit: Leaving.)]
eacameron has joined #nixos
<simpson> ToxicFrog: You could open a dialog with upstream, but it sounds like the sort of thing that really would need a serious update to work on NixOS.
mguentner has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<ToxicFrog> simpson: I mean a bug against nixpkgs, since this seems like something that should be fixable by running in an FHS
<simpson> ToxicFrog: Try it and see.
<ToxicFrog> (the issue is that POL has a feature to download wine binaries and run those rather than using the system wine install, since some games need very specific versions of wine to run)
<ToxicFrog> And whether it is or not, POL is not usable in its current state, so it should at least be marked broken
eacameron has quit [(Remote host closed the connection)]
indi_ has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
aarvar has quit [(Ping timeout: 268 seconds)]
amarsman has quit [(Ping timeout: 256 seconds)]
filterfish__ has quit [(Ping timeout: 248 seconds)]
mguentner2 has joined #nixos
aarvar has joined #nixos
indi_ has quit [(Remote host closed the connection)]
mguentner has quit [(Ping timeout: 256 seconds)]
indi_ has joined #nixos
joepie91_to_go has joined #nixos
roconnor has joined #nixos
joepie91_to_go has quit [(Ping timeout: 258 seconds)]
indi_ has quit [(Remote host closed the connection)]
roconnor has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Ping timeout: 252 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
rsa has quit [(Ping timeout: 246 seconds)]
rsa has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21575: pktgen: fix runtime paths (master...master) https://git.io/vMqZ8
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/2c288548b93b...79174ece7e3f
<NixOS_GitHub> nixpkgs/master 1bead81 Ruslan Babayev: pktgen: fix runtime paths...
<NixOS_GitHub> nixpkgs/master 79174ec Joachim F: Merge pull request #21575 from abuibrahim/master...
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/cdfd2698ef6f43961919147ba5f498a98dd85efe
<NixOS_GitHub> nixpkgs/release-16.09 cdfd269 Ruslan Babayev: pktgen: fix runtime paths...
aarvar has quit [(Ping timeout: 268 seconds)]
filterfish has quit [(Ping timeout: 245 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
phanimahesh has joined #nixos
phanimahesh has quit [(Ping timeout: 260 seconds)]
phanimahesh has joined #nixos
uralbash has joined #nixos
aarvar has joined #nixos
mizu_no_oto has joined #nixos
indi_ has joined #nixos
brh has quit [(Ping timeout: 265 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
indi__ has joined #nixos
amarsman has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
brh has joined #nixos
brh has quit [(Ping timeout: 268 seconds)]
indi_ has joined #nixos
fritschy has joined #nixos
indi__ has quit [(Ping timeout: 246 seconds)]
zraexy has joined #nixos
<NixOS_GitHub> [nixops] aszlig pushed 5 new commits to master: https://git.io/vMqE8
<NixOS_GitHub> nixops/master 8ce1ccc Graham Christensen: Bundle ca-certs with hetzner bootstrap, fixes #356
<NixOS_GitHub> nixops/master b09e618 aszlig: Merge pull request #564 from grahamc/fix-certs...
<NixOS_GitHub> nixops/master 9c3aecb aszlig: tests/hetzner: Make getting GPG key ID more robust...
edvorg has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
zagy1 has quit [(Quit: Leaving.)]
zagy has joined #nixos
aarvar has quit [(Ping timeout: 268 seconds)]
[0x4A6F] has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMqEp
<NixOS_GitHub> nixpkgs/master 1fa75a5 Jörg Thalheim: sysdig: 0.12.0 -> 0.13.0
aarvar has joined #nixos
pi3r has joined #nixos
katyucha has joined #nixos
zagy has quit [(Quit: Leaving.)]
filterfish has quit [(Ping timeout: 240 seconds)]
rmrfroot` has quit [(Remote host closed the connection)]
filterfish has joined #nixos
MercurialAlchemi has joined #nixos
pi3r has quit [(Ping timeout: 245 seconds)]
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
pi3r has joined #nixos
cjhowe has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
pi3r2 has joined #nixos
pi3r has quit [(Ping timeout: 246 seconds)]
indi_ has quit [(Ping timeout: 252 seconds)]
cfricke has joined #nixos
pi3r2 has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
indi_ has joined #nixos
aarvar has quit [(Ping timeout: 258 seconds)]
Itkovian has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pi3r has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zagy has joined #nixos
teknico has joined #nixos
zagy1 has joined #nixos
Itkovian has joined #nixos
aarvar has joined #nixos
zagy has quit [(Ping timeout: 258 seconds)]
fritschy has quit [(Remote host closed the connection)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
zagy1 has quit [(Quit: Leaving.)]
cfricke has quit [(Quit: WeeChat 1.6)]
reinhardt has joined #nixos
reinzelmann has quit [(Ping timeout: 252 seconds)]
ambro718 has joined #nixos
zraexy has quit [(Ping timeout: 258 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
thc202 has joined #nixos
cutuchiqueno3 has joined #nixos
__Sander__ has joined #nixos
aarvar has quit [(Ping timeout: 260 seconds)]
Matrixiumn is now known as Xackle
pierron has quit [(Remote host closed the connection)]
fritschy has joined #nixos
pierron has joined #nixos
aarvar has joined #nixos
jgertm_ has joined #nixos
cfricke has joined #nixos
dgn has joined #nixos
sitedyno has quit [(Ping timeout: 252 seconds)]
kriztw has quit [(Quit: Changing server)]
tvon_ has quit [(Quit: Peace out, y'all!)]
kriztw has joined #nixos
gchristensen has quit [(Ping timeout: 256 seconds)]
DavidEGrayson has quit [(Ping timeout: 256 seconds)]
DavidEGrayson has joined #nixos
mudri` has joined #nixos
gchristensen has joined #nixos
sitedyno has joined #nixos
phanimah1sh has joined #nixos
derjohn_mob has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
nanobapt has joined #nixos
<nanobapt> hi there
<nanobapt> I try to run pulseaudio-dlna under nixos, any people tried to do that ?
phanimahesh has joined #nixos
<nanobapt> I am to the point where 01-02 09:51:59 pulseaudio_dlna.pulseaudio CRITICAL PulseAudio seems not to be running or PulseAudio dbus module could not be loaded. The application cannot work properly!
<nanobapt> :)
phanimah1sh has quit [(Ping timeout: 245 seconds)]
<LnL> do you have pulseaudio configured and running?
<nanobapt> yep, pulseaudio is running right now
<nanobapt> musique is playing
<nanobapt> :)
<nanobapt> sorry music (french here :))
<nanobapt> pulseaudio
<nanobapt> E: [pulseaudio] pid.c: Daemon already running
<nanobapt> actually I made a new nix environment for the first time
joepie91_to_go has joined #nixos
<nanobapt> in order to make pulseaudio
<nanobapt> pulseaudio-dlna
<nanobapt> and make return no error
<nanobapt> so before running pulseaudio-dlna, I make a load-env-pulse
<nanobapt> is it possible that due to this, dbus isn't working well in this environment ?
<joepie91_to_go> unfortunately did not get the chance to visit the NixOS assembly at 33C3... my day 4 turned out to be more packed than I'd expected :(
ixxie has joined #nixos
systemfault has quit [(Quit: Bye!)]
<LnL> nanobapt: not sure then
<nanobapt> LnL: arf ...
<LnL> you're running it as the same user right?
<nanobapt> LnL: after making an environment, Do I need to make a derivation ?
<nanobapt> LnL: seems so yes
<LnL> this is a unit file for pulseaudio-dlna so it doesn't seem to need a special environment https://gist.githubusercontent.com/sim590/1824b3167cf55fc7817c/raw/630972adfafa416d6ac8c2cdf3461611b2fdfedc/pulseaudio-dlna.service
<nanobapt> LnL: you mean I can find it on nixos already ?
aarvar has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21578: zfs: add unstable variant (master...zfs) https://git.io/vMqoZ
schneefux has quit [(Ping timeout: 246 seconds)]
systemfault has joined #nixos
mudri`` has joined #nixos
kampfschlaefer has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vMqol
<NixOS_GitHub> nixpkgs/staging d68aba4 Frederik Rietdijk: Python: script names now include full path...
<NixOS_GitHub> nixpkgs/staging 21f6cb7 Frederik Rietdijk: zim: remove postFixup, include checkPhase, disable tests...
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21568: Python: script names now include full path (master...python-wip) https://git.io/vMqJw
mudri` has quit [(Ping timeout: 248 seconds)]
<LnL> nanobapt: I don't think so, that's from arch
<nanobapt> ok, so I didn't understood what you mean :/
indi__ has joined #nixos
<LnL> I'm just saying that I would expect it to just work if you run pulseaudio-dlna --port 8080
zagy has joined #nixos
zagy has quit [(Client Quit)]
indi_ has quit [(Ping timeout: 258 seconds)]
aarvar has joined #nixos
zagy has joined #nixos
<nanobapt> LnL: arf no I have to build it in some way :)
indi__ has quit [(Ping timeout: 268 seconds)]
zagy has quit [(Quit: Leaving.)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
Wizek_ has joined #nixos
Wizek has joined #nixos
pi3r has joined #nixos
rod_ has joined #nixos
joepie91_to_go has quit [(Ping timeout: 258 seconds)]
<rod_> hello
<ronny> does anyone here manage his own dotfiles with nix and/or deploys them oth non-nix while constructing them on nix
<rod_> having trouble with building custom nix package ... configure doesnt build/find "buildImputs" library ... can someone help please
<manveru> rod_: you mean buildInputs?
<rod_> manveru, sure ....
<rod_> i am trying to build chase as package (a link chaser i know from debian) ...
<rod_> it requires a garbage collector lib for c/c++ ...
<rod_> libgc requires libatomic_ops wich already exists in nixpkgs source tree
<rod_> however after writing default.nix for chase and gc ... when i nix-build -A chase ... tries to configure libgc but doesnt find libatomic_ops
catch22 has quit [(Remote host closed the connection)]
<rod_> hereis default.nix 4 libgc :
pstn has joined #nixos
<rod_> { stdenv, fetchurl, libatomic_ops}:
<rod_> stdenv.mkDerivation rec {
<rod_> name = "gc-7.4.4";
<rod_> buildImputs = [ libatomic_ops ];
<rod_> src = fetchurl {
<rod_> url = "http://www.hboehm.info/gc/gc_source/${name}.tar.gz";
<rod_> sha256 = "e5ca9b628b765076b6ab26f882af3a1a29cde786341e08b9f366604f74e4db84";
<rod_> };
<rod_> doCheck = true;
<rod_> meta = {
<rod_> description = "A c/c++ garbage collector library";
<rod_> longDescription = ''
<rod_> The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.
<rod_> It allows you to allocate memory basically as you normally would, without explicitly deallocating memory that is no longer useful.
<rod_> The collector automatically recycles memory when it determines that it can no longer be otherwise accessed.
<rod_> '';
<rod_> homepage = "http://http://www.hboehm.info/gc/";
<rod_> maintainers = ["Maurizio DI Pietro"];
<rod_> platforms = stdenv.lib.platforms.all;
<rod_> };
<rod_> }
<rod_> manveru, ... i did realy mistyped buildInputs as buildImputs
<rod_> wait , i try ....
<chris|> I just noticed that the gdm pam configuration does not require the limits set by security.pam.loginLimits. is this intentional or a bug?
bennofs has joined #nixos
<rod_> hmmm .... even with buildInputs ... wouldnt build libatomic_ops
<rod_> ┌─[rod@polyphem] - [~/nixpkgs] - [Mo Jan 02, 12:14]
<rod_> └─[$]> nix-build -A libgc ~/nixpkgs
<rod_> these derivations will be built:
<rod_> /nix/store/hsc79v0zzc1zqjzkbq8azfdfjfgnjql3-gc-7.4.4.drv
<rod_> building path(s) ‘/nix/store/hyb4bdndfmwqn8gj5y7kdygk479b80ry-gc-7.4.4’
<rod_> unpacking sources
<rod_> ...
<rod_> checking for ATOMIC_OPS... no
<rod_> configure: error: libatomic_ops is required. You can either install it on
<rod_> your system, or fetch and unpack a recent version into the
<rod_> source directory and link or rename it to libatomic_ops.
<rod_> builder for ‘/nix/store/hsc79v0zzc1zqjzkbq8azfdfjfgnjql3-gc-7.4.4.drv’ failed with exit code 1
<rod_> error: build of ‘/nix/store/hsc79v0zzc1zqjzkbq8azfdfjfgnjql3-gc-7.4.4.drv’ failed
m` has joined #nixos
zagy has joined #nixos
nanobapt has quit [(Remote host closed the connection)]
<LnL> rod_: you should use a paste service if you want to share something that's more then ~3 lines
zagy has quit [(Client Quit)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
<rod_> LnL, yea sure ... next time i will ;)
ThatDocsLady has joined #nixos
aarvar has quit [(Ping timeout: 258 seconds)]
reactormonk has quit [(Ping timeout: 248 seconds)]
sternenseemann has left #nixos []
<LnL> rod_: FYI we have boehm in nixpkgs
<rod_> LnL: thanx ... then i am using that package ... however ... got it working ... had to pass pkgconfig
<LnL> ah that's why it couldn't find it
Justelex has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.6)]
nanobapt has joined #nixos
<nanobapt> hi back
<nanobapt> I've got pulse audio that have trouble to contact dbus
<nanobapt> [pulseaudio] main.c: Unable to contact D-Bus:
<nanobapt> Any idea ?
<Justelex> Hey guys, I replaced my laptop with a (slightly) newer one. I replaced the harddisk and the System is basically working. I know that there is a kind of hardware scan running on installation. Can i rerun this?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> Justelex: nixos-generate-config, you can re-run it, but you'll want to backup /etc/nixos/hardware-configuration.nix to somewhere else beforehand, delete it, the re-run it, and then compare to see if it looks sane
ertesx has joined #nixos
wangoe has joined #nixos
ertes has quit [(Ping timeout: 245 seconds)]
ertesx is now known as ertes
wangoe has quit [(Client Quit)]
danieli has quit [(Remote host closed the connection)]
danieli has joined #nixos
nanobapt has quit [(Quit: Changing server)]
nanobapt has joined #nixos
wangoe has joined #nixos
danieli has quit [(Changing host)]
danieli has joined #nixos
uralbash has quit [(Quit: Leaving.)]
<manveru> gchristensen: https://nixos.org/nixos/options.html#i3 :D
<NixOS_GitHub> [nixpkgs] rasendubi opened pull request #21580: luaPackages.lgi: 0.7.2 -> 0.9.1 (master...lgi) https://git.io/vMqXS
Avaq has joined #nixos
<Avaq> Hi. I'm having some problems configuring services.xserver.xkbOptions, it seems like the derivations are not built (and files not written) unless the value is "grp:alt_shift_toggle".
<Avaq> So if I set it to anything else, eg. "grp:alts_toggle", no derivations are built during nixos-rebuild.
<gchristensen> manveru: yayay! so nice!
<kmicu> Hi Avaq: could you share the output of ‘nixos-option services.xserver.xkbOptions’ command?
phreedom has quit [(Remote host closed the connection)]
<Avaq> Value: "grp:lalt_toggle"
<Avaq> Default: "terminate:ctrl_alt_bksp"
<Avaq> # cat /nix/store/lvvqd50kvl0iclak25fshqmnm9vmyw73-xserver.conf | grep XkbOptions
<Avaq> Option "XkbOptions" "grp:alt_shift_toggle"
catch22 has joined #nixos
<kmicu> Any change in the value of ‘services.xserver.xkbOptions’ triggers a xserver-conf rebuild here when I test with ‘nixos-rebuild dry-build’.
<Avaq> It's lalt right now because I tried some different settings.
<kmicu> Could you also share the last lines ‘Declared by:’ and ‘Defined by:’?
<jluttine> any plans to package nextcloud in addition to (or instead of) owncloud?
<Avaq> Declared by: "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/xserver.nix"
<Avaq> Defined by: "/etc/nixos/configuration.nix"
<gchristensen> learn something new every day, I didn't know about "Defined by"
<nanobapt> nothing for pulseaudio and dbus ?
<Avaq> Doing a nixos-rebuild does nothing. dry-build has no output.
<jluttine> kmicu: oh, nice! this is then not up-to-date: https://nixos.org/nixos/packages.html
<Avaq> (Except for "building the system configuration")
<jluttine> is there a package search for unstable?
<kmicu> jluttine: web pages reflect Stable channel. So NextCloud will be available in the next Stable update around ~17.05.
<Avaq> kmicu: The only thing I can do to this line that seems to trigger a rebuild of the xserver configs (without including other X options) is to remove the line, or place it back after removal.
<kmicu> Avaq: ‘nixos-version’?
<Avaq> 16.03.1346.2946482 (Emu)
<gchristensen> I wonder if nothing is rebuilding because you already built it in this other state
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #21581: i2p: 0.9.26 -> 0.9.28 (master...update-i2p) https://git.io/vMq11
<Avaq> Actually removing the line didn't trigger a build this time.
<Avaq> But it did change in the output of `nixos-option services.xserver.xkbOptions`.
mudri`` has quit [(Ping timeout: 265 seconds)]
<Avaq> I thought it may have something to do with "NOT restarting the following changed units: display-manager.service", but after rebooting the device the problem persists.
<Avaq> Note: This line only appeared when I managed to trigger rebuilds, something I haven't been able to do any more during this session.
<kmicu> ‘nixos-rebuild switch’ does not apply changes to not kill your X session. It’s by design.
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #21582: wine: 1.8.4 -> 1.8.6 (master...update-wine) https://git.io/vMqMU
<Avaq> Yeah. I know, it's good. I just thought maybe the state is somehow read from memory.. o.0
<kmicu> I cannot reproduce your issue, so cannot help much here.
<kmicu> (I already have ‘services.xserver.xkbOptions = "ctrl:swapcaps, compose:prsc";’ and any switch to a new value triggers a rebuild.)
<Avaq> Understandable, kmicu. Thanks for your help. Good to learn about the nixos-option command. I'll play around some more.
<bennofs> Does any else have the following "issue": after a nixos-rebuild, systemd fails to start systemd-udev-settle service
<bennofs> (this makes nixos-rebuild hang for quite a long time...)
<kmicu> jluttine: there is no web search for unstable/master besides gchristensen source search engine or you could use a local CLI incantation ‘nix-env -qaP '.*' --description -f https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz’.
<64MAAWFPN> [nixpkgs] 7c6f434c closed pull request #21582: wine: 1.8.4 -> 1.8.6 (master...update-wine) https://git.io/vMqMU
<92AAAU6QX> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMqME
<92AAAU6QX> nixpkgs/master cd9edbb Herwig Hochleitner: wine: 1.8.4 -> 1.8.6...
<92AAAU6QX> nixpkgs/master 820fa56 Michael Raskin: Merge pull request #21582 from bendlas/update-wine...
<gchristensen> jluttine: (https://search.nix.gsc.io)
<gchristensen> which has the opposite problem of only supporting master, heh
m` has quit [(Ping timeout: 246 seconds)]
<kmicu> Avaq: maybe there is no free space in /boot or maybe you already have a config for ‘services.xserver.xkbOptions = "grp:alts_toggle";’ so the output is empty, but then you should have /nix/store/<hash>-xserver-conf with ‘grp:alts_toggle’ in nix store.
<kmicu> (Or maybe during boot you choose an older boot entry w/o changes applied… oh, where is the Nix(OS) debugger/inspector.)
<kmicu> gchristensen: could you confirm that ‘nix-env -qaP '.*' --description -f https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz’ results in ‘cannot import path ‘/nix/store/8aq3zwn3a241xlq97bx9fwww4i0yh1qr-nixos-unstable.tar.gz’ because it lacks a valid signature’?
<gchristensen> kmicu: no, I get a list of packages
<Avaq> kmicu: I just changed the value to "terminate:ctrl_alt_bksp, grp:alts_toggle", which triggered a build. I realized the only time a build is triggered is when I set it to an option I've never used before. I guess that makes sense because for any previously existing option there would already be a compiled file in the nix store.
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #21514: audacity: fix library path (master...audacity) https://git.io/vMI7D
<kmicu> gchristensen has solved the mystery. Kudos.
<gchristensen> oh
<gchristensen> ?
<kmicu> Avaq: ‘You already have that. Doing nothing’ would be a less confusing output of nixos-rebuild I presume :P
schneefux has joined #nixos
<gchristensen> oh interesting yes
schneefux has quit [(Ping timeout: 248 seconds)]
<Avaq> I didn't realize that Nix was building to a different path for every differing config. This explains why my naive debugging method of `cat`ting the same Nix Store file every time wasn't coming up with any results.
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #21583: webkitgtk: make 2.14 the default (master...update-webkitgtk) https://git.io/vMqDz
phanimah1sh has joined #nixos
<gchristensen> Avaq: it is key to how NixOS works so nicely :)
<Avaq> Yeah. I knew the theory, I just hadn't experienced its implications in practice. I suppose that's a good thing because it shows that after a year of use, the system has never gotten in my way.
<gchristensen> wow! cool :D
mokasin has joined #nixos
phanimahesh has quit [(Ping timeout: 246 seconds)]
tvon has quit [(Remote host closed the connection)]
<kmicu> Avaq: you can inspect a merged xserver.conf with ‘ nixos-option services.xserver.config’.
<kmicu> (XkbOptions value is merged from ‘services.xserver.xkbOptions’.)
<mokasin> Hi. I can update my nixos with `nixos-rebuild switch --upgrade`. But how can I see, which packages will/were be updated?
<gchristensen> sheesh, kmicu, I've never used nixos-option (why? I don't know) and this is really incredibly neat.
<kmicu> ‘man nixos-option’ is pretty fun like its BUGS section :P
<gchristensen> LOL
<kmicu> mokasin: ‘nixos-rebuild dry-build --upgrade’ should show what will be updated.
<mokasin> kmicu, thank you
<kmicu> mokasin: also maybe https://github.com/madjar/nox ‘I'm working on a new command, nox-update, that will display information about what is about to be updated, especially giving info not provided by nixos-rebuild:’ could be helpful.
<mokasin> that's nice
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #21584: pypy: 5.4.1 -> 5.6.0 (master...update-pypy) https://git.io/vMqyT
michiel_l has quit [(Ping timeout: 245 seconds)]
schneefux has joined #nixos
aarvar has joined #nixos
sdothum has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
Wizek has quit [(Ping timeout: 252 seconds)]
hotfuzz has joined #nixos
hotfuzz has left #nixos []
hotfuzz has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #21585: chromium: 55.0.2883.75 -> 55.0.2883.87 (master...update-chromium) https://github.com/NixOS/nixpkgs/pull/21585
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21584: pypy: 5.4.1 -> 5.6.0 (master...update-pypy) https://git.io/vMqyT
berce has joined #nixos
mudri`` has joined #nixos
<ixxie> is there a way to list all nixos users? w seems to give nothing....
ebzzry has quit [(Ping timeout: 256 seconds)]
<kmicu> Maybe ‘getent passwd’ if you want not only currently logged on users.
civodul has joined #nixos
Shou has joined #nixos
manjaroCinnamon has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
<LnL> kmicu: have you seen the source of nixos-option? it's ... interresting
mguentner2 is now known as mguentner
bennofs has joined #nixos
<ixxie> that works kmicu
<ixxie> but shows a lot system defined users
Itkovian has joined #nixos
<flxw> on declarative config files: Assuming there is a module, providing a config file in /etc. Let's say /etc/foo. And assuming I'm happy with all the lines it offers, except for one or two. How would you go about adapting /etc/foo? In the derivation, would you maintain a stack of patches for such cases, or is there an easier way? (/etc/foo gets provided by environment.etc.foo = {sources ...}).
<ToxicFrog> What's the difference between targetPkgs and multiPkgs in buildFHSUserEnv?
<ToxicFrog> It's completely undocumented except on the wiki, and the wiki doesn't say either
systemfault has quit [(Quit: Bye!)]
<bennofs> flxw: if possible, change the module so that it accepts an extraConfig option allowing you to add custom lines to the config file
aarvar has quit [(Read error: Connection reset by peer)]
<nanobapt> I'm trying one again: I have a pulseaudio conf that don't want to connect via dbus
<nanobapt> does anyone have any Idée on this ?
<nanobapt> idea not idée
<ToxicFrog> Aah, found it in the source code
<ToxicFrog> targetPkgs are installed for the host arch
<ToxicFrog> multiPkgs are installed for both x86 and amd64
<nanobapt> [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /nix/store/shkjdcd92c6kf7h6jiq6nlajyrz4ba6c-dbus-1.10.12-lib/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization
manjaroCinnamon has quit [(Quit: Leaving)]
phreedom has joined #nixos
<bennofs> nanobapt: wait, so your problem is that pulseaudio does not start?
<joko> Hello, is anyone aware of a blog post (made last year I think) on installing some wiki / note taking software on NixOS? I think the software was in Haskell and there was also a mentioning on how to write and render maths
<nanobapt> bennofs: actually yes it start, but it seems that he have some trouble to communicate with dbus
<nanobapt> dbus is running
<nanobapt> pulseaudio as well
<bennofs> nanobapt: what does loginctl show-session print?
<nanobapt> and I need both for pulseaudio-dlna
<nanobapt> EnableWallMessages=no
<nanobapt> NAutoVTs=6
<nanobapt> KillUserProcesses=no
<nanobapt> RebootToFirmwareSetup=no
<nanobapt> IdleHint=no
<nanobapt> IdleSinceHint=0
<nanobapt> IdleSinceHintMonotonic=0
<nanobapt> DelayInhibited=sleep
<nanobapt> InhibitDelayMaxUSec=5s
<nanobapt> HandlePowerKey=poweroff
<nanobapt> HandleSuspendKey=suspend
<nanobapt> HandleHibernateKey=hibernate
<nanobapt> HandleLidSwitch=suspend
<nanobapt> HandleLidSwitchDocked=ignore
<nanobapt> HoldoffTimeoutUSec=30s
<nanobapt> IdleAction=ignore
<gchristensen> nanobapt: in the future, please use a pastebin.
<nanobapt> IdleActionUSec=30min
<nanobapt> PreparingForShutdown=no
<nanobapt> PreparingForSleep=no
<nanobapt> Docked=no
<LnL> aaaaaaah
<nanobapt> RemoveIPC=yes
<nanobapt> RuntimeDirectorySize=796454912
<nanobapt> InhibitorsMax=8192
nanobapt was kicked from #nixos by gchristensen [(nanobapt)]
c0bw3b has joined #nixos
pi3r has quit [(Ping timeout: 268 seconds)]
nanobapt has joined #nixos
<nanobapt> back, again: sorry :)
<gchristensen> nanobapt: please use ix.io, gist.github.com, hastebin.com, pastebin.com, etc. :)
<nanobapt> gchristensen: yes, won't do it again promise :)
<nanobapt> LnL: any information then ?
<bennofs> nanobapt: so you start pulseaudio from the command line and it gives the error posted above?
rwtvfvxq has joined #nixos
<nanobapt> bennofs: no it start with daemon and the error is from jounalctl
<rwtvfvxq> I'm working on extending the available configuration options of the postgrey
<rwtvfvxq> module
<bennofs> nanobapt: ah! try to start it manually from command line instead
<bennofs> nanobapt: just to check if that works
<joko> bennofs: bingo! It was hidden under uml, was too scary to click it :P
<nanobapt> bennofs: do you how to stop the daemon ? systemctl stop pulseaudio don't work
<bennofs> nanobapt: hmm, what does systemctl status pulseaudio say?
<nanobapt> [#nixos]
<nanobapt> [#nixos]
<nanobapt> sorry
pi3r has joined #nixos
<dweller> nanobapt: pulseaudio -k
<nanobapt> gchristensen: I've got a new machine under nixos, Still some stuff to understand
<rwtvfvxq> Postgrey either binds to a tcp port or a unix socket, I had the idea of configuring that via two submodules and types.either; what happens when I give an option that type (types.either (submodule inetSocket) (submodule unixSocket)) the value {} ? Does it use the default values of the first argument to either?
<nanobapt> dweller: THX
<flxw> bennofs: Thank you. You mean like substitute and --subst-var?
<bennofs> nanobapt: you can paste the output at http://nixpaste.lbr.uno/
<dweller> nanobapt: or systemctl --user stop pulseaudio
<bennofs> nanobapt: then post the link here
<dweller> htop
<bennofs> flxw: most modules I know work like this: they have a configuration variable `services.bla.extraConfig` and then in the implementation they do `environment.etc.foo = { ...; text = '' <module generated text> ${cfg.extraConfig} ''; }
<bennofs> flxw: so that you can set services.bla.extraConfig to add some custom text to /etc/foo but that has to be supported by the module
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21585: chromium: 55.0.2883.75 -> 55.0.2883.87 (master...update-chromium) https://git.io/vMq7v
<gchristensen> aszlig: around? I'm trying to add a new backend to nixops following how hetzner works, and I'm confused.
<flxw> bennofs: Ah, now I get it. Yeah, I'll find me some examples from nixpkgs for that.
<32NAA1AAL> [nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/vMq7I
<92AAAU7EJ> [nixpkgs] 7c6f434c closed pull request #21583: webkitgtk: make 2.14 the default (master...update-webkitgtk) https://git.io/vMqDz
<32NAA1AAL> nixpkgs/master 3fa6209 Herwig Hochleitner: webkitgtk: 2.14.1 -> 2.14.2...
<32NAA1AAL> nixpkgs/master 802c09f Herwig Hochleitner: webkitgtk: make 2.14 the default
<32NAA1AAL> nixpkgs/master 8b03a76 Michael Raskin: Merge pull request #21583 from bendlas/update-webkitgtk...
<nanobapt> rahhh !!!!
<nanobapt> ok pasted
<nanobapt> should get a real mouse
<nanobapt> :)
<bennofs> nanobapt: hmm that only says log...
<nanobapt> bennofs: yes I know :((
<bennofs> nanobapt: did you create the systemd service for pulseaudio yourself?
<bennofs> nanobapt: pulseaudio generally should not be managed by system nor user systemd
<bennofs> (except perhaps if pulseaudio is running in system mode, but that is not recommended for desktop systems)
<nanobapt> bennofs: no just put some pulseaudio conf inside configuration.nix
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMq7z
<NixOS_GitHub> nixpkgs/master 9c61571 Falco Peijnenburg: Strongswan: enable rdrand and aes-ni only on X86...
<NixOS_GitHub> nixpkgs/master c882915 Michael Raskin: Merge pull request #21548 from FPtje/patch-2...
itsn1x has joined #nixos
<bennofs> nanobapt: hmm, does sound perhaps work already? it looks to me like you've got two pulseaudio instances running (the log says: "E: [pulseaudio] socket-server.c: bind(): Address already in use")
schneefux has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
tommyangelo has joined #nixos
<nanobapt> bennofs: sounds work fine, I just want to send audio through dlna
<bennofs> nanobapt: oh...
<nanobapt> using pulseaudio-dlna
sigmundv has joined #nixos
schneefux has joined #nixos
<bennofs> nanobapt: can you paste the part of your configuration.nix where you configure pulseaudio?
<nanobapt> ok
<nanobapt> hardware = {
<nanobapt> pulseaudio.enable = true;
<nanobapt> pulseaudio.package = pkgs.pulseaudioFull;
<nanobapt> here we go
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21567: xca: qt4 -> qt5 (master...p/xca) https://git.io/vMqfU
<dweller> if its user instance, you have to override default config via ~/.config/pulse/default.pa
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMq71
<NixOS_GitHub> nixpkgs/master aec8872 Peter Hoeg: xca: qt4 -> qt5...
<NixOS_GitHub> nixpkgs/master 32197ea Michael Raskin: Merge pull request #21567 from peterhoeg/p/xca...
<dweller> include system config and then load additional modules
<nanobapt> dweller: did that as well
<dweller> so it should work
<nanobapt> and it's not !
<nanobapt> :)
<dweller> (
<dweller> :(
tommyangelo has quit [(Remote host closed the connection)]
<nanobapt> dweller: do you use pulseaudio-dlna ?
<dweller> i did in the past, though not on nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21580: luaPackages.lgi: 0.7.2 -> 0.9.1 (master...lgi) https://git.io/vMqXS
<dweller> wasnt that additional module?
* ToxicFrog tries to figure out how to add more deps to the steam chroot environment
<nanobapt> dweller: unfortunately no !
<nanobapt> I built it
<bennofs> nanobapt: hmm, and that gives you a pulseaudio systemd service?
<bennofs> nanobapt: that's weird
<ToxicFrog> I thought I just needed an overrideDerivation on steam-chrootenv, but apparently not...
<nanobapt> but first time building something in nixos
<dweller> bennofs: i believe pulse is started as user service by logind
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21581: i2p: 0.9.26 -> 0.9.28 (master...update-i2p) https://git.io/vMq11
<nanobapt> dweller: bennofs yeah !
<bennofs> dweller: oh you're right!
<bennofs> nanobapt: actually, I just realized I have the same errors on my system
<nanobapt> bennofs:
<nanobapt> bennofs: so this is no worry or what ?
<bennofs> nanobapt: well it means something is broken in nixpkgs and I can investigate on my system :)
<nanobapt> bennofs: this is good news
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
xwvvvvwx has joined #nixos
<xwvvvvwx> Hey :) Wishing everyone a happy new year!
<xwvvvvwx> I would like to add gitkraken to nixpkgs
<xwvvvvwx> gitkraken is closed source (but free)
<xwvvvvwx> so I would need to download a tar.gz and then patch the executable
<xwvvvvwx> but I cannot find a versioned download link
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vMq5C
<NixOS_GitHub> nix/1.11-maintenance d39f51f Eelco Dolstra: Bump version number
joepie91___ is now known as joepie91
<hodapp> xwvvvvwx: just latest download or something?
<xwvvvvwx> yes
<xwvvvvwx> this
<xwvvvvwx> Assuming that this should not be used in a nixpkgs expression as it will break at some point in the future?
<hodapp> have you emailed the devs and asked if they have specific versions online?
<xwvvvvwx> Nope
<xwvvvvwx> was wondering what the best way to proceed was
<xwvvvvwx> that makes sense though
aarvar has joined #nixos
<nanobapt> bennofs: any news ?
<aszlig> gchristensen: i'm around =)
sigmundv has quit [(Ping timeout: 252 seconds)]
<gchristensen> aszlig: I just found https://github.com/NixOS/nixops/pull/562/files which shows a much simplified backend :) I think I'm okay for now, thank you!
<aszlig> ah, okay =)
<bennofs> nanobapt: i don't think that this should affect dlna support in pulse
<aszlig> gchristensen: the reason the hetzner implementation is a bit more complicated is that we're having an additional state "RESCUE"
<nanobapt> bennofs: so why my instance of pulseaudio-dlna is not connecting to dbus
<aszlig> which is also where we do the first deployment
<gchristensen> aszlig: ahh, yeah, that makes sense. What do you think about their use of nixos-lustrate?
<aszlig> gchristensen: well, it's fine, but it doesn't allow partitioning :-/
<gchristensen> err ... nixos-infect? which uses nixos-lustrate ... yes
<nanobapt> bennofs: futhermore I have http://nixpaste.lbr.uno/_pHcbzhf
<nanobapt> as dbus output
<nanobapt> no pulseaudio
<gchristensen> it is actually _very_ inflexible -- not useful for any other host: https://github.com/NixOS/nixops/pull/562/files#diff-1fa3eb9d288ab457ad5bb193ca5836a9R73
<aszlig> probably for DO you don't need to change partitioning because you might have storage separated from a droplet, but I'm not sure whether that's the case, just guessing
<gchristensen> I think so
<gchristensen> I'm trying to add some Packet.net support
<aszlig> ah, cool
<bennofs> nanobapt: your log says D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus 19cbc6754f6cf46b73749dd7586a58bd as :1.3 though
<nanobapt> bennofs: yeah ...
<gchristensen> which has both big disks on the device and remote storage
<aszlig> gchristensen: i guess it's very similar to DO then, but not sure =)
<gchristensen> aszlig: well it is also bare metal like hetzner
<aszlig> gchristensen: do you have something similar to a rescue system?
<gchristensen> and has a rescue mode, yeah
<aszlig> ah, cool
Wizek has quit [(Read error: Connection reset by peer)]
Wizek has joined #nixos
<aszlig> but you probably don't want to add the same partitioning stuff that's used for hetzner, because that's very ugly right now and doesn't blend in very well with nixos configurations
<gchristensen> yeah :)
<aszlig> but i'm currently working on fixing this
<aszlig> (you commented on this already so you probably know about it :-D)
<gchristensen> aszlig: clever's kexec method of installing nixos seems very nice, and a bit more flexible than alternatives I think. It creates a minimal system which the host kexec's and becomes a fully-operable nixos system which no longer has any disks mounted
<nanobapt> bennofs: ok thx anyway
<gchristensen> no need for lustrate or a rescue system in that case
<aszlig> gchristensen: ah, so it's using an initrd and does partitioning then?
<gchristensen> yeah
bennofs has quit [(Quit: WeeChat 1.6)]
bennofs has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vMqdy
<NixOS_GitHub> nix/master b6b142b Eelco Dolstra: Provide /var/run/nscd/socket in the sandbox...
<aszlig> gchristensen: ah, okay
<aszlig> gchristensen: however i still think the rescue system has an advantage: you don't need a running system on the host and can redeploy anytime anything goes wrong
<gchristensen> yes, that is very true
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMqdx
<NixOS_GitHub> nixpkgs/master 277e711 Michael Raskin: openvpn: 2.3.13 -> 2.4.0
<aszlig> gchristensen: and it also allows to easily roll back when in rescue state
<gchristensen> especially when considering hardware which you can't pretend is disposable
copumpkin has joined #nixos
Shou has quit [(Quit: 🛏)]
bennofs has quit [(Ping timeout: 258 seconds)]
bennofs has joined #nixos
nanobapt has quit [(Ping timeout: 256 seconds)]
nanobapt has joined #nixos
<NixOS_GitHub> [nixpkgs] pngwjpgh opened pull request #21586: Postgrey (master...postgrey) https://git.io/vMqFj
Seichi has joined #nixos
amarsman_ has joined #nixos
itsn1x has quit [(Quit: Page closed)]
amarsman has quit [(Ping timeout: 258 seconds)]
amarsman_ is now known as amarsman
ryantm____ has joined #nixos
sigmundv has joined #nixos
fritschy has quit [(Quit: Leaving.)]
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
nanobapt has quit [(Ping timeout: 258 seconds)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
rwtvfvxq has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21587: puddletag: get rid of pypkgs variable (master...f/puddletag) https://git.io/vMqAa
aarvar has quit [(Ping timeout: 245 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
pstn has quit [(Ping timeout: 246 seconds)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
derjohn_mob has quit [(Ping timeout: 248 seconds)]
brh has joined #nixos
JagaJaga has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vMqxF
<NixOS_GitHub> nixpkgs/release-16.09 81e8801 Herwig Hochleitner: chromium: 55.0.2883.75 -> 55.0.2883.87
<NixOS_GitHub> [nixpkgs] lsix opened pull request #21588: gnum4: 1.4.17 -> 1.4.18 (staging...update_gnum4) https://git.io/vMqxN
bennofs has quit [(Quit: WeeChat 1.6)]
bennofs has joined #nixos
<the-kenny> Hey! Anyone here using Unity-Editor on NixOS (master)? I can start it just fine, but it crashes when I try to open any project. https://github.com/NixOS/nixpkgs/pull/15793#issuecomment-269987675
mkoenig has joined #nixos
nanobapt has joined #nixos
pstn has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
brh has quit [(Ping timeout: 248 seconds)]
nanobapt has quit [(Ping timeout: 264 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
pstn has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
nanobapt has joined #nixos
bennofs1 has joined #nixos
mkoenig has joined #nixos
mokasin has quit [(Quit: Leaving)]
bennofs has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vMqhQ
<NixOS_GitHub> nixpkgs/master 3c1ade7 Nikolay Amiantov: qutebrowser: 0.8.4 -> 0.9.0
derjohn_mob has joined #nixos
brh has joined #nixos
wangoe has quit [(Ping timeout: 246 seconds)]
hexagoxel has quit [(Quit: ZNC - http://znc.in)]
hexagoxel has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vMqjQ
<NixOS_GitHub> nixpkgs/master 90deca3 gnidorah: nixos-generate-config: detect CPU governor...
mkoenig has joined #nixos
reinhardt has quit [(Quit: Leaving)]
<gchristensen> aszlig: can you take a look-see? I'm having a hard time. I've created a Resource for an SSH Key, and specified it in create_after, but still my code attempts to create the server first
<NixOS_GitHub> [nixpkgs] aszlig pushed 3 new commits to nixpart: https://git.io/vMqjh
<NixOS_GitHub> nixpkgs/nixpart c32d409 aszlig: nixos/doc: Add stub chapter for storage config...
<NixOS_GitHub> nixpkgs/nixpart 1c746cc aszlig: nixos/tests/blivet: Add support for HFS+...
<NixOS_GitHub> nixpkgs/nixpart ddc083d aszlig: blivet: Include patch fixing tests...
<aszlig> gchristensen: did you push your changes somewhere?
<gchristensen> on my way to doing that
ryantrinkle has joined #nixos
<ryantrinkle> i'm having some trouble with ssh -X; even with forwardX11 set for both client and server, and setXauthLocation = true, it can't seem to find xauth
mkoenig has quit [(Read error: Connection reset by peer)]
<ryantrinkle> "ssh -Xv" adds some debugging output including: debug1: No xauth program
<ryantrinkle> which makes me think that setXauthLocation has somehow not worked
<NixOS_GitHub> [nixpkgs] domenkozar created ghc-split-sections (+1 new commit): https://git.io/vMme7
<NixOS_GitHub> nixpkgs/ghc-split-sections f750dee Domen Kožar: GHC 8.0.2: use -split-sections...
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #21589: GHC 8.0.2: use -split-sections (master...ghc-split-sections) https://git.io/vMmed
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<gchristensen> aszlig: unfortunately it seems the best bet for implementing new backends is stumble around looking at examples, so this is how I got to where I am
mkoenig has joined #nixos
phanimahesh has joined #nixos
<aszlig> gchristensen: ah, that token is only used for uploading, right?
nanobapt has quit [(Ping timeout: 248 seconds)]
phanimah1sh has quit [(Ping timeout: 260 seconds)]
aarvar has joined #nixos
<gchristensen> aszlig: the token is a general purpose API key
zagy has joined #nixos
<ryantrinkle> hmm, based on strace, it looks like ssh is ignoring the XAuthLocation config parameter in /etc/ssh/ssh_config
<gchristensen> aszlig: they call it a "token" though so I called it a token in the code
<ryantrinkle> that parameter is set correctly, but ssh is still looking at /usr/X11R6/bin/xauth
pi3r has quit [(Ping timeout: 256 seconds)]
<aszlig> gchristensen: yeah, but in the ssh keypair resource it's only used for uploading, right?
<gchristensen> and deleting, yeah
hotfuzz_ has quit [(Quit: WeeChat 1.6)]
hotfuzz has joined #nixos
<aszlig> hm, i think using an extra resource for that kind of purpose is a bad idea, i mean after all it's a singleton and per machine, right?
<gchristensen> no :( packet.net doesn't let you create a key per machine, only a key per user (they have a key per project, but that isn't exposed through the API)
<aszlig> this leads to duplication of a lot of code, especially if it's something solely backend-specific like with the token
<aszlig> ah
<gchristensen> so this key will get re-used per machine
pstn has joined #nixos
mizu_no_oto has joined #nixos
<ryantrinkle> does anyone know why ssh would be ignoring XAuthLocation? this bug seems relevant: https://github.com/NixOS/nixpkgs/issues/19246
<gchristensen> aszlig: any idea why the key isn't being created correctly?
nanobapt has joined #nixos
<aszlig> gchristensen: how does your network expression look like (without tokens)?
roconnor has joined #nixos
brh has quit [(Ping timeout: 265 seconds)]
c0bw3b has left #nixos []
hotfuzz has quit [(Ping timeout: 248 seconds)]
<aszlig> gchristensen: it looks like the resource type for resources.packetSSHKeys is missing
<aszlig> ah, it doesn't
eacameron has quit [(Remote host closed the connection)]
danharaj has quit [(Ping timeout: 268 seconds)]
<gchristensen> aszlig: it is missing?
zagy has quit [(Quit: Leaving.)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
rwtvfvxq has joined #nixos
zagy has joined #nixos
<aszlig> gchristensen: you're requesting the keypair from the MachineState but it's only existing at the definition so far
jgertm_ has quit [(Ping timeout: 264 seconds)]
leothrix has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<aszlig> so the defined key is in defn.ssh_key
leothrix has joined #nixos
ertesx has joined #nixos
<gchristensen> aszlig: where am I doing that? :/
<aszlig> it's a bit confusing the way this is handled in nixops, because the properties in the machine state are added to the db while the definition is what you actually have in the network expression
ertes has quit [(Ping timeout: 268 seconds)]
ertesx is now known as ertes
rwtvfvxq has quit [(Quit: leaving)]
<gchristensen> I'm not seeing where I use the keypair from the state when it is only in the definition, other than in get_ssh_private_key_file
__Sander__ has quit [(Quit: Konversation terminated!)]
<aszlig> so your code is expecting the key pair in the machine state while it's only existing in the definiton, so you need to add it to the db using something like with self.depl._db: self.ssh_key = defn.ssh_key
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] polyrod opened pull request #21590: chase: init at 0.5.2 (master...master) https://git.io/vMmJg
mkoenig has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
derjohn_mob has joined #nixos
mkoenig has joined #nixos
sigmundv has quit [(Ping timeout: 258 seconds)]
brh has joined #nixos
Seichi has quit [(Quit: Konversation terminated!)]
brh has quit [(Ping timeout: 258 seconds)]
<yorick> does anyone here use custom cursors?
mkoenig has quit [(Read error: Connection reset by peer)]
<yorick> I'm thinking maybe xcb-util-cursor should know about ~/.nix-profile/share/icons
tokudan has joined #nixos
brh has joined #nixos
teknico has left #nixos []
pi3r has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/vMmTp
<NixOS_GitHub> nixpkgs/master 2c31127 Karn Kallio: eclipse-sdk-46: 4.6.1 -> 4.6.2
<NixOS_GitHub> nixpkgs/master f16eda3 Karn Kallio: eclipse-platform: add Neon 2 Platform
amarsman has quit [(Quit: amarsman)]
mkoenig has joined #nixos
mizu_no_oto has joined #nixos
brh has quit [(Ping timeout: 246 seconds)]
tvon has joined #nixos
aarvar has quit [(Ping timeout: 268 seconds)]
derjohn_mob has quit [(Ping timeout: 258 seconds)]
sigmundv has joined #nixos
<justanotheruser> what package do I need if I want to read heirogliphics
c0bw3b has joined #nixos
<justanotheruser> cant read any of that page
sigmundv__ has joined #nixos
sigmundv has quit [(Ping timeout: 256 seconds)]
<tokudan> basically you just need a font type that has these characters. i don't know about any package though
pdobrogost has quit [(Ping timeout: 245 seconds)]
<simpson> justanotheruser: Supposedly the "ancient-fonts" package on other distros is the thing to have. Lemme see if nixpkgs has it.
jml has quit [(Ping timeout: 246 seconds)]
pchiusano has quit [(Ping timeout: 258 seconds)]
seanparsons has quit [(Ping timeout: 258 seconds)]
eddyb has quit [(Ping timeout: 260 seconds)]
sdemos has quit [(Ping timeout: 245 seconds)]
nz has quit [(Ping timeout: 245 seconds)]
mudri`` has quit [(Ping timeout: 265 seconds)]
agarzia has quit [(Ping timeout: 246 seconds)]
emmanueloga has quit [(Ping timeout: 246 seconds)]
sjanssen has quit [(Ping timeout: 246 seconds)]
Bodil has quit [(Ping timeout: 260 seconds)]
scode has quit [(Ping timeout: 260 seconds)]
gridaphobe has quit [(Ping timeout: 260 seconds)]
pkogan has quit [(Ping timeout: 260 seconds)]
adulteratedjedi has quit [(Ping timeout: 258 seconds)]
thoughtpolice has quit [(Ping timeout: 258 seconds)]
ryantm____ has quit [(Ping timeout: 258 seconds)]
monad_cat has quit [(Ping timeout: 246 seconds)]
mpickering has quit [(Ping timeout: 260 seconds)]
codedmart has quit [(Ping timeout: 260 seconds)]
bret has quit [(Ping timeout: 258 seconds)]
<simpson> Hm. I don't think that we have it.
zagy has quit [(Quit: Leaving.)]
ocharles_ has quit [(Ping timeout: 258 seconds)]
<tokudan> justanotheruser, this font works for me: https://mjn.host.cs.st-andrews.ac.uk/egyptian/fonts/newgardiner.html
<tokudan> you can just throw it in ~/.local/share/fonts to get a quick solution
nz has joined #nixos
Bodil has joined #nixos
<justanotheruser> is there a package?
gridaphobe has joined #nixos
seanparsons has joined #nixos
thoughtpolice has joined #nixos
<tokudan> doesn't look like it
<tokudan> feel free to build one
pchiusano has joined #nixos
pi3r has quit [(Read error: Connection reset by peer)]
emmanueloga has joined #nixos
pdobrogost has joined #nixos
codedmart has joined #nixos
sdemos has joined #nixos
agarzia has joined #nixos
mpickering has joined #nixos
adulteratedjedi has joined #nixos
pkogan has joined #nixos
indi_ has quit [(Remote host closed the connection)]
ryantm____ has joined #nixos
ocharles_ has joined #nixos
indi_ has joined #nixos
sjanssen has joined #nixos
jml has joined #nixos
<aszlig> gchristensen: actually i was wrong... it *should* be in self.depl
danharaj has joined #nixos
indi_ has quit [(Ping timeout: 245 seconds)]
<aszlig> gchristensen: during Deployment._deploy() there is a call to self.evaluate_active(), which should initialize the state for the resource
monad_cat has joined #nixos
Avaq has quit [(Ping timeout: 260 seconds)]
eddyb has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
scode has joined #nixos
mkoenig has joined #nixos
jazzencat has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
mudri`` has joined #nixos
pi3r has joined #nixos
amarsman has joined #nixos
justanotheruser has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
justanotheruser has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
dgn has quit [(Ping timeout: 260 seconds)]
cjhowe has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21566: nixos: provide /etc/hostname (master...hostname) https://git.io/vMqv1
zagy has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #21592: cjdns service: optional extraHosts (master...cjdns-optional-extraHosts) https://git.io/vMmth
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21249: cjdns: added option addExtraHosts (master...master) https://github.com/NixOS/nixpkgs/pull/21249
ToxicFrog has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vMmqO
<NixOS_GitHub> nixpkgs/master 66c745e Balletie: pommed-light: init at 1.50lw
<NixOS_GitHub> nixpkgs/master e5f5aa5 Balletie: pommed service: use pommed-light...
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21267: pommed service: Replace broken pommed package with pommed-light (master...feature/pommed-light) https://git.io/v15A6
<gchristensen> aszlig: I see
<gchristensen> I'll take a look at export and show-physical to try and understand
<aszlig> gchristensen: actually the dict you return in create_after() should be a list instead of a dict, but that should work nevertheless because it should result in a set (not sure if that's intended), which in turn is iterable
cjhowe has joined #nixos
<gchristensen> aszlig: that is what I was thinking, but other implementations have it written as I do. it doesn't end up making much difference.
<aszlig> gchristensen: what does create_after() return in your case?
mizu_no_oto has joined #nixos
gilligan_ has joined #nixos
<jazzencat> A puzzle: launching cutegram from the application menu doesn't work the first time, but does the second time. Also when attempting to uninstall it the entry never is removed from the menu even after a reboot.
<gilligan_> evening
<gchristensen> set([<nixops.resources.packet_sshkey.PacketSSHKeyState object at 0x7ff07771be90>], aszlig
<gchristensen> aszlig: changing it to a list ([<nixops.resources.packet_sshkey.PacketSSHKeyState object at 0x7f75081bce90>]) has the same behavior
<aszlig> yeah
mizu_no_oto has quit [(Client Quit)]
brh has joined #nixos
<aszlig> so in theory it *should* issue .create() on PacketSSHKeyState, which it doesn't...
<aszlig> from the db point of view everything should also be created as expected
<gilligan_> hey aszlig
<aszlig> hey gilligan_
mudri`` is now known as mudri
<gilligan_> aszlig, do you know anything about chromium embedded framework?
<gchristensen> running 'show-physical', it has the server in there, but not the ssh key. maybe I need to destroy it and start over?
<gchristensen> hrm... no, that made no difference. the key isn't being created first still.
<bennofs1> talking about chromium, is it necessary that I have to build chromium myself if I want to use widevine?
bennofs1 is now known as bennofs
<gchristensen> bennofs: you can use google-chrome instead
<bennofs> and if I want chromium and not google-chrome? :d
<gchristensen> well
<gchristensen> then you build chromium yourself to get widevine
<gchristensen> aszlig: here is my updated diff: https://github.com/NixOS/nixops/compare/master...grahamc:packet
brh has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
<bennofs> gchristensen: isn't widevine just a plugin? why does chromium need to be built differently to support that plugin?
<aszlig> gchristensen: btw... just to be sure: do you actually have the resource tracked in git? because the release.nix excludes untracked files
<gchristensen> not sure, maybe you don't really need to, but chromium's build system isn't something I want to tamper with.
<aszlig> bennofs: widevine is comprised of two plugins... and functionality in the main browser to bypass the sandbox
<gchristensen> aszlig: what is untracked? my working directory is clean
<aszlig> bennofs: the latter is why i'm very reluctant to add it to the default build
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig> bennofs: so maybe we could add a hydra build for chromium that supports widevine
<bennofs> aszlig: oh, wth? why would a drm module need to bypass the sandbox :/
jazzencat has quit [(Quit: WeeChat 1.6)]
<aszlig> gilligan_: well, i did start to package it a few years ago, but haven't picked up on it since then
<bennofs> aszlig: a hydra build would be nice though
<gilligan_> aszlig, for reference: https://github.com/NixOS/nixpkgs/issues/21394 -- spotify is broken because it needs cfe ;(
<gilligan_> cef
<aszlig> bennofs: well, why would a DRM module be proprietary? ;-)
<gilligan_> aszlig, would like to fix it but I really don't know the first thing about it. What is it anyway? why isn't it bundled with spotify etc?
<aszlig> gilligan_: hm, couldn't it just be added via patchelf'ing the hell out of a binary?
acertain has quit [(Ping timeout: 244 seconds)]
<gilligan_> aszlig, really no clue about that tbh
<aszlig> bennofs: looking at the source of recent chromium it's now a library, which i believe is still unsandboxed, but i haven't digged too much into it
<gchristensen> aszlig: oh I see what you meant. I'll try again. interesting.
<gchristensen> no, they were all tracked this time and had the same behavior.
<gchristensen> aszlig: I'd be happy to share my key with you, for you to try this.
<aszlig> gchristensen: well, let me dig a bit whether i can figure this out without throwing pdb at it
<aszlig> though the latter would certainly help :-)
<aszlig> gchristensen: could you set a breakpoint here https://github.com/NixOS/nixops/blob/master/nixops/deployment.py#L908 and step through?
jgertm_ has joined #nixos
<ixxie> aszlig: I have been wondering if it is rediculously difficult / stupid to create a way to autogenerate options for all plugins for chromium
mbrgm has joined #nixos
<ixxie> unfortunately that is something way out of my league to do, I am just a nixn00b
<gchristensen> aszlig: sure can, thank you for the idea
digitalmentat has joined #nixos
cjhowe has joined #nixos
<gchristensen> aszlig: so it sees nixops.resources.packet_sshkey.PacketSSHKeyState in the create_after list, waits for it to finish, _errored is False.
<gchristensen> omg I think I know what is wrong.
<gchristensen> one second
jgertm_ has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #21593: Add networkd notify (master...add-networkd-notify) https://git.io/vMmYV
* aszlig 's looking curious.
nanobapt has quit [(Ping timeout: 245 seconds)]
<gilligan_> Hm, could someone backport https://github.com/NixOS/nixpkgs/pull/21242 to 16.09 ? teamviewer does not build on 16.09 (invalid hash, download binary changed i suppose)
<gchristensen> aszlig: :| sorry ... :( I've been using "--include" to only deploy my one node.
<gchristensen> which means it refuses to build dependent resources too
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 23 new commits to master: https://git.io/vMmYM
<NixOS_GitHub> nixpkgs/master a541999 Michael Raskin: libgphoto2: 2.5.10 -> 2.5.11
<NixOS_GitHub> nixpkgs/master f2abc2d Michael Raskin: imagemagick7: fix references in the lighter versions
<NixOS_GitHub> nixpkgs/master d94706e Michael Raskin: baresip: 0.4.20 -> 0.5.0
cfricke has quit [(Quit: WeeChat 1.6)]
<aszlig> ixxie: well, a way would be to have something like ninja2nix, which should solve the whole headache of building chromium
digitalmentat has quit [(Ping timeout: 258 seconds)]
<aszlig> gchristensen: X-D
mudri` has joined #nixos
<aszlig> gchristensen: yeah, a machine is a resource as well and with --include/exclude you specify resources
Itkovian has joined #nixos
<aszlig> gchristensen: although it would make sense if nixops could warn if one resource depends on an excluded one
mudri has quit [(Ping timeout: 260 seconds)]
<gchristensen> yeah
<gchristensen> I've had this problem before
emmanueloga has left #nixos []
<gchristensen> BTW I revoked that token I sent you now that I sorted that out
<aszlig> gchristensen: good :-)
<aszlig> now heading back to nixpart :-) want to have this done if possible this week
<gchristensen> sounds good. thank you for helping me here
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/vMmOn
<NixOS_GitHub> nixpkgs/release-16.09 b0539b9 mimadrid: teamviewer: 11.0.57095 -> 12.0.71510...
xwvvvvwx has quit [(Ping timeout: 264 seconds)]
<ixxie> aszlig: ninja?
danharaj has quit [(Remote host closed the connection)]
<aszlig> ixxie: it's a make replacement with a very limited syntax, which really helps for something like ninja2nix
<ixxie> and chromium plugins are packaged in ninja or what?
<aszlig> ixxie: well, they use a generator for ninja files (GN)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig> ixxie: so it's like fetch source tree -> generate ninja file -> generate nix expression from ninja file using nix2ninja -> build the resulting derivation
<aszlig> although recursive nix would help here, it's not a necessity, because we could add pregenerated nix expressions for the generic build(s) and use import-from-derivation if the input options differ
<ixxie> well that is far beyond my skills at this point
roberth has joined #nixos
<aszlig> ninja2nix itself should generate a derivation for each build object, so you can re-use the binary cache
<ixxie> first I will backage something simple
gilligan_ has quit [(Quit: Leaving)]
<aszlig> and you also get distributed building for free
<ixxie> package*
<aszlig> ixxie: i'm no longer maintaining chromium, so it's not in my todo list anymore, but maybe someday[TM] or (even better, because i hate modern browsers) somebody else will do it :-D
mizu_no_oto has joined #nixos
<aszlig> ixxie: maybe after submitting your first package? :-D
<Ralith> ooh, ninja2nix exists?
<AtnNn_> aszlig: what broser do you use?
<aszlig> Ralith: no, unfortunately not
AtnNn_ is now known as AtnNn
<aszlig> AtnNn_: i used to browse using w3m until about 5 years ago where it came a pain in the butt to dig through the sheer amount of JS that most sites today are comprised of
<Ralith> aw
mizu_no_oto has quit [(Read error: Connection reset by peer)]
<aszlig> AtnNn: but now i'm using chromium :-/
cjhowe has joined #nixos
mizu_no_oto has joined #nixos
<manveru> chromium with ublock origin and privacy badger isn't that bad
<aszlig> manveru: it's still too much for my taste
DerGuteMoritz has quit [(Ping timeout: 258 seconds)]
<manveru> well, i got used to the internet not adopting my taste :P
<aszlig> hehe
pstn has quit [(Ping timeout: 248 seconds)]
<manveru> but yeah, most pages are hopelessly bloated, i just don't pay per byte and my machine is usually fast enough that i don't notice it much
<AtnNn> I found my own compromise in vimperator and the reader view
<aszlig> manveru: it's not the bloat it's more like you can't realistically browse most sites without JS, because the definition of site has shifted towards full-fledged program rather than just markup and a bit of styling
<manveru> since i build such pages for a living, my apologies :(
bret has joined #nixos
<ixxie> aszlig: yeah after I package something else I will give it a go but I think Gnome extensions would be more useful (if it is not significantly harder to do)
<aszlig> manveru: well... i work at a browser games company...
<gchristensen> hehe
<manveru> lol
sellout- has joined #nixos
<aszlig> manveru: so that's probably the perversion of what i stated ;-)
sellout- has quit [(Remote host closed the connection)]
symm- has joined #nixos
<manveru> btw, if you want a really cool web game: http://cross-code.com/en/start
sellout- has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig> manveru: i know that already (backed it X-D)
indi_ has joined #nixos
<manveru> just got it on steam today, was surprised that it was html...
<symm-> hi. anyone running awesome with nixos?
brh has joined #nixos
<aszlig> manveru: yeah, more like js with a big canvas, although i have to admit that this also makes the js-stuff way less painful... you just need a small shim for the canvas stuff and just compile your stuff to js without caring a lot about browser support
m0rphism has quit [(Quit: WeeChat 1.4)]
m0rphism has joined #nixos
ixxie has quit [(Quit: leaving)]
<gchristensen> aszlig: thinking through how to implement the bootstrapping is very stressful, trying to balance ease of getting it done / likelihood of it actually getting merged
ixxie has joined #nixos
ixxie has quit [(Client Quit)]
Ivanych has quit [(Quit: Leaving.)]
indi_ has quit [(Ping timeout: 258 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig> manveru: like that old nixos logo animation i posted a while ago: https://redmoonstudios.org/~aszlig/fdbc/nixos.html - it's basically just compiled js and can run natively as well as a telnetd service... which makes it less painful if you hate browsers :-D
<aszlig> gchristensen: well, try to get it done and clean up afterwards?
<aszlig> gchristensen: where afterwards is "before merging"
<aszlig> gchristensen: what could become interesting as well for the packet backend is testing
<gchristensen> aszlig: like implementing tests for the packet backend?
<ajp> does anyone know where to find the build scripts for other distros (e.g. debian)? I want to figure out if/how they package tensorflow (it has a pretty adversarial bazel-based build system)
<aszlig> you could probably re-use some things from the hetzner tests if that's applicable for packet...
<gchristensen> yeah, maybe so
brh has quit [(Ping timeout: 258 seconds)]
<aszlig> don't know about their rescue system, but hetzner uses debian so the test expression build a debian live cd in order to simulate the rescue state
<aszlig> but even the hetzner stuff could use some API mockups, so that we don't need a "test mode" in the code
<NixOS_GitHub> [nixpkgs] ryantrinkle opened pull request #21595: ghc: when building with 8.0.2 or later, enable parallel builds (master...ghc-8.0.2-parallel-builds) https://git.io/vMmGD
symm has joined #nixos
symm- has quit [(Ping timeout: 248 seconds)]
justinkaz has joined #nixos
<justinkaz> hey everyone
<justinkaz> I just built my nix server to debug php... only reason
<gchristensen> clever: ping?
Itkovian has joined #nixos
<justinkaz> problem: it doesn't recognize my .htaccess file
<clever> gchristensen: pong
<gchristensen> clever: https://github.com/NixOS/nixpkgs/pull/21158 does this mean we don't need the Fixed kexectools in the kexec?
<clever> gchristensen: yep
sellout-1 has joined #nixos
<clever> gchristensen: ive also been meaning to file a PR for https://github.com/NixOS/nixpkgs/issues/20796#issue-192336611
<gchristensen> ahh cool
<clever> gchristensen: somebody just blanket set types on everything, and they broke the kexec option
sellout- has quit [(Ping timeout: 246 seconds)]
<justinkaz> anybody know what the configuration value is to allow overides
Avaq has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 264 seconds)]
alx741_ has quit [(Client Quit)]
alx741 has joined #nixos
DerGuteMoritz has joined #nixos
<berce> clever: in old irc logs I found you have compiled xserver on arm and had an issue with libdrm_intel missing. What was your solution?
<clever> berce: i just changed services.xserver.videoDrivers i think
<berce> I 'm now trying to set configureFlags of libdrm to include "--disable-intel" with packageOverrides
<clever> berce: oh that part, i think i just edited the default.nix for xorg
<clever> let me check a git diff
<berce> Is that git public? I could learn a lot more from your experience :-)
<clever> its an old checkout from when i was doing arm stuff, didnt commit any of it
<clever> dont see arm changes in this checkout
<clever> xorg*
jensbin has joined #nixos
<berce> clever: did you get to satisfying results on arm?
<clever> berce: i did have slim + xterm working on the raspberry pi at one point
<clever> all on armv6
<berce> it just failed again, so my packageOverrides was not sufficient :-(
<clever> its sometimes faster to edit a copy of nixpkgs
<clever> then either make a PR or refine the override
zagy has quit [(Remote host closed the connection)]
Avaq has quit [(Remote host closed the connection)]
<berce> clever: Thanks for your suggestions, I 'll play around a little more.
<clever> let me check my hydra and see what its doing
peter-holm has joined #nixos
zagy has joined #nixos
<clever> ah, its still having trouble bootstrapping gcc
SovereignBleak has joined #nixos
zagy has quit [(Client Quit)]
<clever> berce: http://hydra.earthtools.ca/machines gcc has been restarted, with any luck you may see it building xorg in a day or 2, lol
<clever> i need to get that build farm stabalized
awoidh has joined #nixos
Ivanych has joined #nixos
derjohn_mob has joined #nixos
* clever heads off to bed
[0x4A6F] has joined #nixos
<peter-holm> Newbie here. I try to install a simple commandline tool which should be compiled with gcc. Any hints is appricated.
m0rphism has quit [(Quit: WeeChat 1.4)]
<berce> Thanks, good night.
brh has joined #nixos
<berce> peter-holm: being a newbie myself, the best I can suggest is looking at the examples in the nixpkgs manual: https://nixos.org/nixpkgs/manual/#chap-quick-start
pi3r has quit [(Ping timeout: 248 seconds)]
<LnL> also checkout the stdenv chapter
<peter-holm> How do I find out the sha256 sum.?
jensbin has quit [(Quit: leaving)]
<berce> not tested, but read earlier on irc: just copy the sha256 sum of any other package and try compiling, it will throw an error mentioning the correct one
acertain has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMmC0
<NixOS_GitHub> nixpkgs/master 7c5784d Michael Raskin: maxima: 5.38.1 -> 5.39.0
<peter-holm> Will try that., ty berce
<peter-holm> I did this... Packaged the c-file and the make-file. Ten i executed nix-prefetch-url file:////home/peter/.fvwm/bin/sascha/v1/T/tst/thumbxyz.tar.gz
<peter-holm> WHich gave me a path to nix-store. After that I did -> nix-env -i /nix/store/9gm9lbf0wkfp0s0qns34scgdp1z5hd6k-thumbxyz.tar.gz
nanobapt has joined #nixos
<peter-holm> In thre hope it should produce an executabke. But cant find it. So I am stuck.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
[0x4A6F]1 has joined #nixos
cjhowe has joined #nixos
nanobapt has quit [(Ping timeout: 268 seconds)]
Itkovian has joined #nixos
brh has quit [(Ping timeout: 256 seconds)]
<LnL> why do I have to compile nix from the unstable channel?
[0x4A6F] has quit [(Ping timeout: 265 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<LnL> that doesn't sound right
AllanEsp1nosa has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<peter-holm> LnL you can install stable as well. Check 5.2 at https://nixos.org/nix/manual/
<LnL> I know, but when unstable updates it should have built nix
<peter-holm> ?
<berce> Download a binary, instead of compiling form source
<LnL> wait, nix isn't in the unstable jobhttp://hydra.nixos.org/build/45786379#tabs-constituents
cutuchiqueno3 has quit [(Quit: WeeChat 1.6)]
pi3r has joined #nixos
<LnL> well nix-repl depends on it so it shouldn't matter
* LnL confused
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout-1 has quit [(Quit: Leaving.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
mizu_no_oto has joined #nixos
ublubu has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #21596: stdenv: bootstrap cmake and python on darwin (staging...darwin-stdenv) https://git.io/vMm8B
bfrog_ has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21101: darwin.stdenv: remove openssl (master...darwin-stdenv-openssl) https://git.io/v16UD
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21099: darwin.stdenv: use cmake without curl to bootstrap clang (master...darwin-stdenv-curl) https://git.io/v16fr
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21078: darwin.stdenv: use minimal python to bootstrap clang (master...darwin-stdenv-python) https://git.io/v1o6Q
sellout- has joined #nixos
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vMm8P
<NixOS_GitHub> nixpkgs/release-16.09 1b19369 Michael Raskin: libpng: 1.6.26 -> 1.6.27; a security update
[0x4A6F] has joined #nixos
tokudan has quit [(Quit: Leaving)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
hiratara has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
hiratara has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> clever: "Unhandled rela relocation: R_X86_64_29"
<simpson> Ooh, hey, I have seen that before.
<gchristensen> oh?
<simpson> Yeah, it breaks part of Monte's toolchain. It's not an important part, so I haven't bothered to figure it out.
<simpson> dash: ^^^ Do you remember encountering and fixing this for Typhon?
ryantm____ has quit [(Quit: Connection closed for inactivity)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Itkovian has joined #nixos
c0bw3b has left #nixos []
<gchristensen> simpson: I think disabling hardening does it
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vMmBi
<NixOS_GitHub> nixpkgs/master c049463 Peter Hoeg: puddletag: get rid of pypkgs variable
<NixOS_GitHub> nixpkgs/master 93cabca Frederik Rietdijk: Merge pull request #21587 from peterhoeg/f/puddletag...
indi_ has joined #nixos
ebzzry has joined #nixos
brh has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pi3r has quit [(Ping timeout: 258 seconds)]
systemfault has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
<gchristensen> ikwildrpepper: I find it slighly funny people think I'm core! https://github.com/NixOS/nixos-foundation/issues/1#issuecomment-269980684 :D
Itkovian has joined #nixos
cjhowe has joined #nixos
pi3r has joined #nixos
<LnL> heh, well you are a very active member :D
<Ralith> is there a clearly delineated core?
<Ralith> from the link, I guess "people with authority over project assets"
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20431: pythonPackages.docx2txt: init at 0.6 (master...docx2txt) https://git.io/vX17f
<hodapp> "output path ‘/nix/store/pbnk63bqgaxy3hyzsdvbkpy72n7ryii8-frame-fns.el’ has sha256 hash ‘00b2bb3rfraps47mcv0vb51ygjx0f311i95g0b7dh1jqi6nxdfb1’ when ‘0lvlyxb62sgrm37hc21dn7qzlrq2yagiwpspa926q6dpzcsbam15’ was expected" hrmph
<hodapp> wait, why is it trying to pull a file from https://www.emacswiki.org/emacs/download/frame-fns.el...
johnw has quit [(Quit: ZNC - http://znc.in)]
JagaJaga has quit [(Ping timeout: 245 seconds)]
<LnL> heh, somebody probably updated it :)
<simpson> gchristensen: Oh, sorry, it's more like https://bpaste.net/show/cb9c7f6c11e1
<simpson> gchristensen: And I realized that this maybe is because I'm building with afl-gcc instead of gcc...
<gchristensen> ahh
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #17978: Scidavis (master...scidavis2) https://git.io/v6dMi
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #21597: xfce4-windowck-plugin: init at 0.4.4 (master...xfce4-windowck-plugin-0.4.4) https://git.io/vMm0m
eacameron has quit [(Ping timeout: 265 seconds)]
roberth has quit [(Ping timeout: 264 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
symm- has joined #nixos
symm has quit [(Ping timeout: 264 seconds)]
georges-duperon has joined #nixos
johnw has joined #nixos
johnw has quit [(Read error: Connection reset by peer)]
nomachine has joined #nixos
johnw has joined #nixos
pstn has joined #nixos
<nomachine> I am trying to package NoMachine 5, their scripts check the required binaries by checking availability in /bin and /usr/bin and otherwise fail. Is there a handy way (e.g. a built-in) to replace these references with where they can be in found in the nix store?
danielrf has joined #nixos
justinkaz has quit [(Ping timeout: 260 seconds)]
bfrog_ has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
m0rphism has joined #nixos
<kriztw> Hey, I am having trouble building a local haskell project on NixOS, I keep getting "Package ‘cabal-0.0.0.0’ in '...' is marked as broken, refusing to evaluate.". cabal2nix also keeps writing Cabal instead of cabal, which should I use?
<LnL> nomachine: substituteInPlace file --replace /bin/hello ${hello}/bin/hello
<LnL> nomachine: there's also patchShebangs
<nomachine> LnL: Yeah, I knew of that, but that means I will have to that like 50 times or so, ah well, then I will just generate a hardcoded list of --replace arguments
symm- has quit [(Quit: Leaving...)]
<nomachine> LnL: Do you by any chance know of a way to determine where binaries can be found, so e.g. ssh-keygen would give me openssh?
<nomachine> That would simplify determining the dependencies of all those binaries
brh has quit [(Ping timeout: 256 seconds)]
<simpson> nomachine: BTW there's no shame in having a first draft use the FHS user env.
<simpson> It's not *that* heavy.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
indi_ has joined #nixos
<LnL> nomachine: command -v ssh-keygen once you have everything in your $PATH
<nomachine> simpson: I have never used that myself yet, but from what I understood, that creates an virtual environment in which the binaries and such can be found in the locations that match most other distributions?
<LnL> that's basically how patchShebangs works, but it only looks at the first line
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #21598: rclone: 1.33 -> 1.35 (master...rclone-1.35) https://git.io/vMmuo
<simpson> nomachine: Sure. Specifically, it's the FHS, which is *the* standard Linux filesystem layout.
<simpson> nomachine: Your tools might assume some other certain binaries, like apt or rpm, are available, but we can't help much with that.
cjhowe has joined #nixos
<nomachine> simpson: Alright, thanks for the tip! I am going to look into that now, I am probably more likely to succeed that way initially, and then I can always try and do it by patching once I know it at least works via the FHS way
cjhowe has quit [(Client Quit)]
indi_ has quit [(Ping timeout: 268 seconds)]
johnw has quit [(Read error: Connection reset by peer)]
<nomachine> simpson: Luckily NoMachine 5 is also packaged in AUR (Arch Linux User Repository), since they are also not officially supported, and they applied minor patches to make it work, so hopefully when using FHS on NixOS it should be as simple
johnw has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<simpson> nomachine: If you need examples or hints, the Steam derivation uses the same FHS tooling and is somewhat commented.
cjhowe has joined #nixos
<nomachine> simpson: I seems to be well documented, there is a wiki entry and it is explained in the nixpkgs manual as well I see, but thanks for the tip, I will look at Steam for additional insights as well
<simpson> nomachine: Beware the wiki; it's out-of-date often.
<gchristensen> aszlig: is there a way to get the physical representation of a machine?
bennofs has quit [(Ping timeout: 258 seconds)]
<gchristensen> oh. ... derp, get_physical_spec.
pstn has quit [(Quit: leaving)]
<gchristensen> hrm ... no, that isn't it. that is for overriding. I want to know what nixops deploy will build
bennofs has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
brh has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
itsn1x has joined #nixos
Itkovian has joined #nixos
<gchristensen> domenkozar: sorry you got caught :P
sboosali has joined #nixos
itsn1x has quit [(Client Quit)]
itdg has joined #nixos
<itdg> .
<sboosali> Hi, I can't access the virtual box shared folder (NixOS guest, Windows 10 host) without sudo. I've tried chown'ing /media/sf_*, and adding vboxsf to my groups.
<sboosali> my config: http://pastebin.com/7LUEzquU
ToxicFrog has joined #nixos
<ToxicFrog> So it looks like the nixos exim package has most of the useful features, like PAM and Dovecot authentication support, disabled
<NixOS_GitHub> [nixpkgs] volth opened pull request #21599: Systemd: enable systemd-importd (master...systemd-importd) https://git.io/vMmzp
Armael has left #nixos ["WeeChat 1.4"]
lfam has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
<itdg> .
<gchristensen> you ok itdg?
<LnL> 🙃
<itdg> Yep, sorry for that, I'll leave.
itdg has quit [(Quit: quitting AndroIRC - Android IRC Client ( http://www.androirc.com ))]
itsn1x has joined #nixos
itsn1x has quit [(Client Quit)]
itsn1x has joined #nixos
<nomachine> Maybe a dumb question, but where is the md5 binary located? I do not have it on my PATH, and I cannot find which package should supply it
lfam has left #nixos ["Leaving"]
<Nafai> nomachine: It's called 'md5sum'
brh has quit [(Ping timeout: 248 seconds)]
itsn1x has quit [(Read error: Connection reset by peer)]
itsN1X has joined #nixos
georges-duperon has quit [(Ping timeout: 260 seconds)]
tokudan has joined #nixos