!9IQChSjwSHXPPWTa:lix.systems

Lix

1105 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
23 Nov 2025
@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
@hexa:lossy.networkhexafirefox doesn't want that16:51:48
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

my

packages = { ... }         // (lib.listToAttrs (
          lib.mapAttrsToList
            (name: value: {
              name = { lix = "nix"; }.${name} or name;
              inherit value;
            })
            (
              lib.filterAttrs (
                name: value:
                lib.isDerivation value
                && lib.all (n: name != n) [
                  "editline"
                  "boehmgc"
                ]
              ) inputs.nixpkgs.legacyPackages.${system}.lixPackageSets.git
            )
17:17:23
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)does that?17:17:25
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)don't ask about that cursed code 😭17:17:51
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *

my

packages = { ... } // (lib.listToAttrs (
          lib.mapAttrsToList
            (name: value: {
              name = { lix = "nix"; }.${name} or name;
              inherit value;
            })
            (
              lib.filterAttrs (
                name: value:
                lib.isDerivation value
                && lib.all (n: name != n) [
                  "editline"
                  "boehmgc"
                ]
              ) inputs.nixpkgs.legacyPackages.${system}.lixPackageSets.git
            )
17:18:00
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)why did I even do that17:24:51
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)to begin with17:24:54
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)anyways17:24:56
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)fixed now17:24:57
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)we need an wasm build of lix!!!! /s17:25:08
@tebriel:frodux.nettebrielwhen should I be using the other packages aside from lix in lixPackageSets? I'm unclear why they're in that namespace (maybe to give lix its expected verisons?)17:33:08
@whispers:catgirl.cloudwhispers (it/fae)if you use one of the packages in the set, then you want to use the lixPackageSets version. all it does is give the lix version of that package, which is sometimes just overriding the nix version to be lix nstead of cppnix and sometimes a full fork (as in the case of nix-eval-jobs)17:44:36
@whispers:catgirl.cloudwhispers (it/fae)the "advanced change" section on this page shows how to globally overlay them if you want to do that, but you can also just use them directly https://lix.systems/add-to-config/17:45:25
@whispers:catgirl.cloudwhispers (it/fae) * if you use one of the packages in the set, then you want to use the lixPackageSets version. all it does is give the lix version of that package, which is sometimes just overriding the nix version to be lix nstead of cppnix and sometimes a full fork (as in the case of nix-eval-jobs). otherwise, it'll use cppnix internally 17:47:26

Show newer messages


Back to Room ListRoom Version: 10