!XXmPwxJAJXDQzaElMj:matrix.org

Nix

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

Load older messages


SenderMessageTime
19 Sep 2020
@balsoft:balsoft.rubalsoft git add flake.nix 21:28:23
@balsoft:balsoft.rubalsoft
In reply to @masaeedu:matrix.org
how about the stuff where it tries to discover runtime dependencies?
That's a completely separate topic
21:28:43
@balsoft:balsoft.rubalsoft
In reply to @masaeedu:matrix.org
is there anything else?
You mean added to PATH?
21:28:54
@balsoft:balsoft.rubalsoftI don't think so.21:28:57
@suhr:matrix.orgsuhrIt's a temporary shell env.21:28:57
@suhr:matrix.orgsuhrAdding it to git makes little sense.21:29:18
@masaeedu:matrix.orgmasaeedu balsoft: I mean is there any other special stuff that's happening for derivations that are listed in buildInputs that isn't for derivations listed in arbitrary attributes 21:29:35
@balsoft:balsoft.rubalsoft
In reply to @masaeedu:matrix.org
balsoft: I mean is there any other special stuff that's happening for derivations that are listed in buildInputs that isn't for derivations listed in arbitrary attributes
You can look at the stdenv's setup hook to look at what happens there
21:30:12
@balsoft:balsoft.rubalsoftI think there is some extra logic there for handling libraries and stuff21:30:24
@masaeedu:matrix.orgmasaeeduok, thanks21:42:41
@masaeedu:matrix.orgmasaeeduis there documentation for "curlOpts" anywhere?21:42:50
@masaeedu:matrix.orgmasaeeduapparently fetchurl takes an additional curlOpts parameter that can be used to follow redirects and whatnot, but I can't find it in the documentation anywhere, and fetchTarball rejects it21:43:52
20 Sep 2020
@pnelson:matrix.org@pnelson:matrix.orgI'm trying to get fcitx input method to work in Firefox. Anyone have any luck? Works fine in the terminal and it looks like the module configures the env vars appropriately like GTK_IM_MODULE and XMODIFIERS.02:33:27
@pnelson:matrix.org@pnelson:matrix.orgOK well... it works. ✨06:04:12
@pnelson:matrix.org@pnelson:matrix.orgBut now no longer works in terminal. All I did was a nixos-rebuild and it swapped.:w06:13:43
@pnelson:matrix.org@pnelson:matrix.orgWell feels silly but I see what happened in case anyone stumbles across this. It was working, just doesn't persist across different apps so when I switched window focus it maintains its own state.06:18:30
@y0x3y:chat.panthermodern.nety0x3yhey so i managed to get synapse installed through nixOS following https://nixos.org/manual/nixos/stable/index.html#module-services-matrix but if i copy the .nix verbatim, i get 'undefined function optionalString' as an error. my understanding is that optionalString is part of builtIns and should always be available? how come it's complaing about it - just curious :) 15:03:43
@andreas.schraegle:helsinki-systems.deAndreas Schrägle y0x3y: optionalString is in lib, not builitins as far as I remember 15:41:29
@y0x3y:chat.panthermodern.nety0x3yif i included {pkg, lib, ...}: would that error go away?15:42:01
@balsoft:balsoft.rubalsoft
In reply to @y0x3y:chat.panthermodern.net
hey so i managed to get synapse installed through nixOS following https://nixos.org/manual/nixos/stable/index.html#module-services-matrix but if i copy the .nix verbatim, i get 'undefined function optionalString' as an error. my understanding is that optionalString is part of builtIns and should always be available? how come it's complaing about it - just curious :)
How are you using that .nix file?
15:42:41
@y0x3y:chat.panthermodern.nety0x3yi tried, it doesn't15:43:56
@andreas.schraegle:helsinki-systems.deAndreas Schrägle you can call it with lib.optionalString 18:28:00
@balsoft:balsoft.rubalsoftIf anybody is interested in a failed attempt at pure-nix Rust crate builder, here it is: https://gist.github.com/balsoft/83ce6fdd8679471f591a03f7da359a3718:41:37
@balsoft:balsoft.rubalsoft Full disclosure: it works sometimes, e.g. it built some of my crates, but it fails quite often too. 18:42:05
@jkarlson:kapsi.fiEmil Karlson^^18:49:27
@finn_mpd:matrix.orgfinn_mpd joined the room.19:09:32
21 Sep 2020
@y0x3y:chat.panthermodern.nety0x3y> How are you using that `.nix` file? it was being imported into configuration.nix and i was installing through nixos-rebuild switch 02:27:33
@ydlr:matrix.org@ydlr:matrix.org left the room.03:36:23
@balsoft:balsoft.rubalsoft
In reply to @y0x3y:chat.panthermodern.net
> How are you using that `.nix` file?

it was being imported into configuration.nix and i was installing through nixos-rebuild switch
How did you import it?
10:49:19
@jan.fecht:stusta.dejafe left the room.11:49:03

There are no newer messages yet.


Back to Room List