!9IQChSjwSHXPPWTa:lix.systems

Lix

1103 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms294 Servers

Load older messages


SenderMessageTime
22 Nov 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)I am going to file a bug for it now22:30:59
@goldstein:tty5.devgoldsteinit works in CppNix, but the code for fetchers has diverged pretty far22:31:27
@helle:tacobelllabs.nethelle (just a stray cat girl)I'll mention you in the bug okay?22:32:07
@goldstein:tty5.devgoldsteinyeah sure!22:32:53
23 Nov 2025
@abdulhakeem8718:matrix.orgManaf changed their display name from abdulhakeem8718 to Manaf.03:11:12
@abdulhakeem8718:matrix.orgManaf set a profile picture.03:43:13
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

K900*pinging you cause u said this was possible but hard :3

signal-desktop = lib.makeOverridable (
            {
              theme ? null,
              ...
            }:
            signal-desktop.overrideAttrs (prev: {
              nativeBuildInputs = prev.nativeBuildInputs ++ [ asar ];

              preFixup = lib.throwIf 
                (theme == null || builtins.typeOf theme != "string")
                "signal-desktop: theme must be null or a string for a path (got ${builtins.typeOf theme})"
                (lib.optionalString (theme != null) ''
                  asar e $out/share/signal-desktop/app.asar resources
                  sed -i '1i @import "${theme}";' resources/stylesheets/manifest.css
                  asar p --unpack '*.node' resources $out/share/signal-desktop/app.asar
                '');

            })
          ) { };
13:53:22
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

K900*pinging you cause u said this was possible but hard :3

signal-desktop = lib.makeOverridable (
  {
    theme ? null,
    ...
  }:
  signal-desktop.overrideAttrs (prev: {
    nativeBuildInputs = prev.nativeBuildInputs ++ [ asar ];

    preFixup = lib.throwIf 
      (theme == null || builtins.typeOf theme != "string")
      "signal-desktop: theme must be null or a string for a path (got ${builtins.typeOf theme})"
      (lib.optionalString (theme != null) ''
        asar e $out/share/signal-desktop/app.asar resources
        sed -i '1i @import "${theme}";' resources/stylesheets/manifest.css
        asar p --unpack '*.node' resources $out/share/signal-desktop/app.asar
      '');

  })
) { };
13:53:57
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Like, is there a way to add an addional variable input to the derivation?13:54:55
@k900:0upti.meK900Again, it is complicated13:57:07
@k900:0upti.meK900I can't give you a premade answer13:57:14
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

well, yea

isnt ther any occurances of this in nixpkgs?

13:57:32
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)for example13:57:34
@k900:0upti.meK900Not that I know of13:57:39
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

well, yea

isnt there any occurances of this in nixpkgs?

13:57:39
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)hmmm14:02:19
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) signal-desktop = (lib.makeOverridable (
{ theme ? null }:
signal-desktop.overrideAttrs (prev: {
nativeBuildInputs = prev.nativeBuildInputs ++ [ asar ];
preFixup = lib.optionalString (theme != null) ''
asar e $out/share/signal-desktop/app.asar resources
sed -i '1i @import "${theme}";' resources/stylesheets/manifest.css
asar p --unpack '*.node' resources $out/share/signal-desktop/app.asar
'';
})
)) { };
14:11:40
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *
signal-desktop = (lib.makeOverridable (
  { theme ? null }:
  signal-desktop.overrideAttrs (prev: {
    nativeBuildInputs = prev.nativeBuildInputs ++ [ asar ];
    preFixup = lib.optionalString (theme != null) ''
      asar e $out/share/signal-desktop/app.asar resources
      sed -i '1i @import "${theme}";' resources/stylesheets/manifest.css
      asar p --unpack '*.node' resources $out/share/signal-desktop/app.asar
    '';
  })
)) { };
14:11:48
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

works but build errors with a very weird error?

error:
       … while setting up the build environment

       error: getting attributes of path '/nix/store/ybm0fkyc9v0vy3ijnrg52a9w2d3g1rna-signal-desktop-7.76.0': No such file or directory
14:12:13
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)ah14:13:43
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)hmm14:13:45
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)ah14:14:26
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

I just guess I needed to add

mkdir -p $out/share/signal-desktop
``
14:14:35
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

I just guess I needed to add

mkdir -p $out/share/signal-desktop
14:14:40
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)anyways, figured it out14:14:52
@jlc:catgirl.cloudjlcIf I try Dolphin again I'll be sure to! Thunar is working as expected, apart from being in light mode16:40:43
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)
       error: attribute 'wasm32-wasi' missing
       at /nix/store/lfzp7i6r926pwszqyr8r4igvakxw59kh-source/overlays/default.nix:85:47:
           84|                 ]
           85|               ) inputs.nixpkgs.legacyPackages.${system}.lixPackageSets.git
             |                                               ^
           86|             )
16:50:15
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)when building Firefox16:50:22
@hexa:lossy.networkhexaheh16:51:33
@hexa:lossy.networkhexawhy would you want a wasi32-wasi lix package?16:51:41

Show newer messages


Back to Room ListRoom Version: 10