!9IQChSjwSHXPPWTa:lix.systems

Lix

1110 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-rooms299 Servers

Load older messages


SenderMessageTime
15 Dec 2025
@qyriad:katesiria.orgQyriad
In reply to @aloisw:julia0815.de
Also I think they need to be somewhere in /nix/var/nix/gcroots.
yep
20:33:53
@helle:tacobelllabs.nethelle (just a stray cat girl) (there are some other very silly options, like https://wiki.lix.systems/books/lix-contributors/page/running-lix-main but without running main, which has been a support headache before, so please don't) 20:37:22
@helle:tacobelllabs.nethelle (just a stray cat girl)I should fix a tiny bit of that wiki page honestly, it doesn't really show some of the ways of running main on non-nixos20:38:06
@helle:tacobelllabs.nethelle (just a stray cat girl)even though iirc at one point I was the only dev doing either non-NixOS or non-MacOS :P and running into all the fun bugs20:38:29
@vczf:matrix.orgvczfThanks. I didn’t need an overlay, just to set nix to lix in my callPackage invocation, but I didn’t know I could do that there20:48:09
@vczf:matrix.orgvczfA little confused that my nix.package config elsewhere isn’t carrying over to the callPackage invocation however20:49:27
@vczf:matrix.orgvczf *

A little confused that my nix.package config elsewhere isn’t carrying over to the callPackage invocation however

Edit: it’s the way I’m instantiating nixpkgs I think

20:51:17
@lotte:chir.rsLotte (it/its)/Cinny (she/her)yeah ofc20:53:59
@lotte:chir.rsLotte (it/its)/Cinny (she/her)then i guess i found a “how the fuck did this ever work” bug in hydra lmao20:54:28
@helle:tacobelllabs.nethelle (just a stray cat girl)insufficiently tight sandboxing usually20:55:28
@lotte:chir.rsLotte (it/its)/Cinny (she/her)ah no20:58:23
@lotte:chir.rsLotte (it/its)/Cinny (she/her)so hydra-queue-runner creates files under /nix/var/nix/gcroots/hydra20:58:38
@lotte:chir.rsLotte (it/its)/Cinny (she/her)named after derivations that it want to keep20:58:46
@lotte:chir.rsLotte (it/its)/Cinny (she/her)the problem is that they are empty files…not symlinks20:58:54
@lotte:chir.rsLotte (it/its)/Cinny (she/her)however it used to create symlinks instead. yet the code hasn’t changed at all. what the fuck20:59:35
16 Dec 2025
@vczf:matrix.orgvczf *

A little confused that my nix.package config elsewhere isn’t carrying over to the callPackage invocation however
Edit: it’s the way I’m instantiating nixpkgs I think

Edit’: I confused nix.package (daemon version etc) for pkgs.nix (default “stable” nix for hydra etc). So unless I overlay lix as pkgs.nix (bad idea probably?) I have to explicitly set nix to lix in disko’s package, or accept running pkgs.nix for disko as is and just add pipe-operators experimental feature flag

00:45:21
@aloisw:julia0815.dealoisw
In reply to @helle:tacobelllabs.net
even though iirc at one point I was the only dev doing either non-NixOS or non-MacOS :P and running into all the fun bugs
What is your system?
06:23:57
@helle:tacobelllabs.nethelle (just a stray cat girl)
In reply to @aloisw:julia0815.de
What is your system?
I have Lix on top of Arch mainly (though that is going out the quickest) and then also on Debian and Devuan (no systemd nakes for fun, fully works with only minor gotchas btw) systems
06:44:20
@helle:tacobelllabs.nethelle (just a stray cat girl)though my main system these day is a newer laptop running nixoa as that was also all on hardware so old my iteration time was 20 minutes on lix build and test06:45:29
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔ changed their display name from 522 it/its ⛯ΘΔ to 0x4fbb09 it/its ⛯✇ΘΔ.15:14:37
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)
            cargo = toolchain;
            rustc = toolchain;
          }).buildPackage rec {
            src = ./.;

            cargoBuild = old: ''
              cd wilma-wasm

              wasm-pack build \
                --release \
                --target web \
                --mode no-install \
                --package=wilma-wasm \
                --out-dir $out
            '';

            buildInputs = [ pkgs.wasm-pack ];
          };
15:51:10
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *
wasmPackage = (naersk.lib.${system}.override {
            cargo = toolchain;
            rustc = toolchain;
          }).buildPackage rec {
            src = ./.;

            cargoBuild = old: ''
              cd wilma-wasm

              wasm-pack build \
                --release \
                --target web \
                --mode no-install \
                --package=wilma-wasm \
                --out-dir $out
            '';

            buildInputs = [ pkgs.wasm-pack ];
          };
15:51:18
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)... what?15:51:23
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)
   > Running phase: buildPhase
   > cd wilma-wasm
   > Error: Permission denied (os error 13)
   > Caused by: Permission denied (os error 13)
   For full logs, run:
15:51:32
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *
   > Running phase: buildPhase
   > cd wilma-wasm
   > Error: Permission denied (os error 13)
   > Caused by: Permission denied (os error 13)
15:51:46
@helle:tacobelllabs.nethelle (just a stray cat girl)oh...15:52:00
@helle:tacobelllabs.nethelle (just a stray cat girl)is that the error we think it is, let me check15:52:46
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

i SHOULD have the rights?

   > drwxr-xr-x 1 nixbld nixbld   156 Dec 16 15:52 .
   > drwx------ 1 nixbld nixbld    62 Dec 16 15:52 ..
   > drwxr-xr-x 1 nixbld nixbld     0 Jan  1  1970 .cargo
   > drwxr-xr-x 1 nixbld nixbld    34 Dec 16 15:52 .cargo-home
   > -rw-r--r-- 1 nixbld nixbld 54674 Dec 16 15:52 Cargo.lock
   > -rw-r--r-- 1 nixbld nixbld   730 Dec 16 15:52 Cargo.toml
   > -rw-r--r-- 1 nixbld nixbld    13 Dec 16 15:52 build.rs
   > drwxr-xr-x 1 nixbld nixbld    12 Jan  1  1970 src
   > drwxr-xr-x 1 nixbld nixbld     0 Dec 16 15:52 target
   > drwxr-xr-x 1 nixbld nixbld    42 Jan  1  1970 wilma
   > drwxr-xr-x 1 nixbld nixbld    42 Jan  1  1970 wilma-bin
   > drwxr-xr-x 1 nixbld nixbld    42 Jan  1  1970 wilma-wasm
15:54:55
@helle:tacobelllabs.nethelle (just a stray cat girl)I believe there is an implicit mode change done on src15:57:02
@helle:tacobelllabs.nethelle (just a stray cat girl)but I am probably misremembering the bug I had (my workaround doesn't apply anyway)15:57:22

Show newer messages


Back to Room ListRoom Version: 10