!9IQChSjwSHXPPWTa:lix.systems

Lix

1122 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-rooms304 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Dec 2025
@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
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)ah15:59:43
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her):(15:59:49
@helle:tacobelllabs.nethelle (just a stray cat girl)one of the things, get a dir listing in the preBuild phase to see what the perms are there16:09:48
@mzerodev:matrix.orgZoe Zthe atticd fork is broken for me on 2.93.3 and 2.94.0 :(19:14:19
@raitobezarius:matrix.orgraitobezarius
In reply to @mzerodev:matrix.org
the atticd fork is broken for me on 2.93.3 and 2.94.0 :(
Which fork?
22:00:39
@mzerodev:matrix.orgZoe Zhttps://git.lix.systems/nrabulinski/attic is there another one? After consideration, I don't think I have a compelling reason to not just use the the upstream attic linked against cppnix though.23:31:47
17 Dec 2025
@raitobezarius:matrix.orgraitobezarius
In reply to @mzerodev:matrix.org
https://git.lix.systems/nrabulinski/attic is there another one? After consideration, I don't think I have a compelling reason to not just use the the upstream attic linked against cppnix though.
I actually am also working on one but it's more exploratory
00:59:18
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)
   > /nix/store/s3w5m3spa1g71hx0yb82lvk6394j3w5j-stdenv-linux/setup: line 1764: name: command not found
11:41:03
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

wasmPackage =
(naersk.lib.${system}.override {
cargo = toolchain;
rustc = toolchain;
}).buildPackage
rec {
src = ./.;

            BINDGEN_EXTRA_CLANG_ARGS = "\
          -I${pkgs.glibc.dev}/include \
          -I${pkgs.glibc.dev}/include/x86_64-linux-gnu \
        ";
            LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";

            buildInputs = with pkgs; [
              wasm-tools
              wasm-bindgen-cli
              emscripten
              python3

              clangStdenv
            ];

            cargoBuild = _: ''
              rm -rf ./xtask
              cp -r ${./xtask} ./xtask

              [[bin]]
              name = "xtask"
              path = "src/main.rs"
              EOF
              cat ./xtask/Cargo.toml
              cargo run -p xtask -- wasm-bindgen imgui-sys-v0
              cargo run -p xtask -- web-demo
              cargo run -p xtask -- build-cimgui-provider
            '';

            installPhase = ''
              mkdir -p $out/bin
              cp -r target/web-demo $out/share/web-demo
              cat "python -m http.server -d $out/share/web-demo 8080" > $out/bin/run-wasm-web-demo
            '';

            meta.mainProgram = "run-wasm-web-demo";
          }
        // commonArgs;
11:41:21
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *
    wasmPackage =
        (naersk.lib.${system}.override {
          cargo = toolchain;
          rustc = toolchain;
        }).buildPackage
          rec {
            src = ./.;

            BINDGEN_EXTRA_CLANG_ARGS = "\
          -I${pkgs.glibc.dev}/include \
          -I${pkgs.glibc.dev}/include/x86_64-linux-gnu \
        ";
            LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";

            buildInputs = with pkgs; [
              wasm-tools
              wasm-bindgen-cli
              emscripten
              python3

              clangStdenv
            ];

            cargoBuild = _: ''
              rm -rf ./xtask
              cp -r ${./xtask} ./xtask

              [[bin]]
              name = "xtask"
              path = "src/main.rs"
              EOF
              cat ./xtask/Cargo.toml
              cargo run -p xtask -- wasm-bindgen imgui-sys-v0
              cargo run -p xtask -- web-demo
              cargo run -p xtask -- build-cimgui-provider
            '';

            installPhase = ''
              mkdir -p $out/bin
              cp -r target/web-demo $out/share/web-demo
              cat "python -m http.server -d $out/share/web-demo 8080" > $out/bin/run-wasm-web-demo
            '';

            meta.mainProgram = "run-wasm-web-demo";
          }
        // commonArgs;
11:41:43
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)WHAT EVEN IS "name"?11:41:57

Show newer messages


Back to Room ListRoom Version: 10