!XXmPwxJAJXDQzaElMj:matrix.org

Nix

1333 Members
General discussion related to Nix, NixOS, NixOps and related projects. | https://nixos.org/ | Freenode IRC: https://vector.im/beta/#/room/#freenode_#nixos:matrix.org214 Servers

Load older messages


SenderMessageTime
27 Nov 2020
@tek:tryp.iotekah, seen them both 🙂 17:11:59
@alex:memoryandthought.mealexI've got a kind of long question about the ruby packaging stuff, is it okay to paste it here or should I put it in the discourse? Asking because this chat seems to be more active than discourse but I don't want to post a wall of text here if it's against etiquette.17:46:41
@tek:tryp.iotekyou could link the discourse question here17:56:37
@alex:memoryandthought.mealexGood shout, I've added the question here: https://discourse.nixos.org/t/missing-gems-in-bundlerenv/1023818:17:58
@christoph:converser.euchristoph joined the room.20:59:14
@gctaylor:matrix.orggctaylor joined the room.22:01:23
28 Nov 2020
@churchilla:matrix.orgchurchilla joined the room.02:32:55
@bulbousbullfrog:matrix.orgbeandippercan somebody help me to write an overwrite for emacs in home-manager? I want to use a newer emacs package, which I am able to get a tarball of with nixpkgs.emacsPackages.callPackage.elpaBuild but I don't know how to ensure that that package will be used instead of the default built-in one in emacs 04:09:51
@bulbousbullfrog:matrix.orgbeandipperhttps://github.com/nix-community/home-manager/blob/master/modules/programs/emacs.nix04:10:04
@bulbousbullfrog:matrix.orgbeandipperRight now, this is what my corresponding nix file looks like, but the tmpOrg version isn't being used https://gist.github.com/beandipper/ac5b63a467400b686477692a5c50feba04:11:47
@zenhack:matrix.org@zenhack:matrix.org left the room.04:25:14
@gctaylor:matrix.orggctaylor set a profile picture.05:30:47
@sudoreboot:feneas.orgsudoreboot

When a derivation build fails:

builder for '/nix/store/w49l0c1mdn4lyg53l9zwpf4crcx58d9z-mercury-calc-0.0.0.drv' failed with exit code 1; last 10 log lines:
...

does the log get saved somewhere?

11:23:05
@kloenk:petabyte.devkloenkAt least with nix build, yes12:43:39
@kloenk:petabyte.devkloenk Try nix log <path/to/drv> 12:44:01
@epl692:matrix.orgepl693 changed their display name from epl692-matrix to epl692.16:16:57
@epl692:matrix.orgepl693 changed their display name from epl692 to epl693.16:17:13
@sudoreboot:feneas.orgsudoreboot
In reply to @kloenk:petabyte.dev
Try nix log <path/to/drv>
thanks!
21:39:03
29 Nov 2020
@aynish:sealight.xyzaynish joined the room.10:07:55
@rudolph9:matrix.orgrudolph9Hello, I'm wondering if a NixOS option exists to invoke a script changes to the available output displays changes?23:10:13
@rudolph9:matrix.orgrudolph9I have xmonad configured as my display manager and no desktop-manger enabled.23:10:46
@balsoft:balsoft.rubalsoft services.autorandr 23:10:51
30 Nov 2020
@yeongsheng_tan:matrix.orgyeongsheng_tan set a profile picture.03:56:50
@aynish:sealight.xyzaynish set a profile picture.09:42:06
@f1234567:matrix.orgf1234567 joined the room.11:38:56
@christian:kampka.netChristianAnyone around here bored enough to do a small code review? :) https://github.com/NixOS/nixpkgs/pull/10384614:17:31
@yannick_1709:matrix.orgYannick M. Hi everyone. I'm trying to build a ROR app in nix like this: https://nixos.wiki/wiki/Packaging/Ruby and I'm stuck on this step: https://nixos.wiki/wiki/Packaging/Ruby#Adding_a_global_override_for_a_gem because I don't know where I'm supposed to find <nixpkgs/pkgs/development/ruby-modules/gem-config/default.nix in order to edit it 15:05:21
@yannick_1709:matrix.orgYannick M.Is there a way to use an overlay or something similar?15:06:20
@yannick_1709:matrix.orgYannick M.

I've managed to do it in a different way:

gems = bundlerEnv {
    name = "lithos-env";
    inherit ruby;
    gemdir  = ./.;
    gemConfig = pkgs.defaultGemConfig // {
      cups = attrs: {
        buildInputs = [pkgs.cups pkgs.zlib];
      };
      rglpk = attrs: {
        buildInputs = [glpkPkgs.glpk];
      };
    };
  };

This way, it works!

15:41:52
@yannick_1709:matrix.orgYannick M.Now I just need to find a way to make a few dirs in my drv writeable 😀15:42:56

There are no newer messages yet.


Back to Room List