| 15 Dec 2025 |
Qyriad | In reply to @aloisw:julia0815.de Also I think they need to be somewhere in /nix/var/nix/gcroots. yep | 20:33:53 |
helle (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 (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-nixos | 20:38:06 |
helle (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 bugs | 20:38:29 |
vczf | Thanks. 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 there | 20:48:09 |
vczf | A little confused that my nix.package config elsewhere isn’t carrying over to the callPackage invocation however | 20:49:27 |
vczf | * 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 (it/its)/Cinny (she/her) | yeah ofc | 20:53:59 |
Lotte (it/its)/Cinny (she/her) | then i guess i found a “how the fuck did this ever work” bug in hydra lmao | 20:54:28 |
helle (just a stray cat girl) | insufficiently tight sandboxing usually | 20:55:28 |
Lotte (it/its)/Cinny (she/her) | ah no | 20:58:23 |
Lotte (it/its)/Cinny (she/her) | so hydra-queue-runner creates files under /nix/var/nix/gcroots/hydra | 20:58:38 |
Lotte (it/its)/Cinny (she/her) | named after derivations that it want to keep | 20:58:46 |
Lotte (it/its)/Cinny (she/her) | the problem is that they are empty files…not symlinks | 20:58:54 |
Lotte (it/its)/Cinny (she/her) | however it used to create symlinks instead. yet the code hasn’t changed at all. what the fuck | 20:59:35 |
| 16 Dec 2025 |
vczf | * 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 | 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 (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 (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 test | 06:45:29 |
| 0x4fbb09 it/its ⛯✇ΘΔ changed their display name from 522 it/its ⛯ΘΔ to 0x4fbb09 it/its ⛯✇ΘΔ. | 15:14:37 |
Sofie 🏳️⚧️ (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 |
Sofie 🏳️⚧️ (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 |
Sofie 🏳️⚧️ (she/her) | ... what? | 15:51:23 |
Sofie 🏳️⚧️ (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 |
Sofie 🏳️⚧️ (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 (just a stray cat girl) | oh... | 15:52:00 |
helle (just a stray cat girl) | is that the error we think it is, let me check | 15:52:46 |
Sofie 🏳️⚧️ (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 (just a stray cat girl) | I believe there is an implicit mode change done on src | 15:57:02 |
helle (just a stray cat girl) | but I am probably misremembering the bug I had (my workaround doesn't apply anyway) | 15:57:22 |