!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-rooms295 Servers

Load older messages


SenderMessageTime
29 Nov 2025
@conformally:matrix.org@conformally:matrix.org left the room.11:41:40
@arianvp:matrix.orgArianI think I found some weird daemon protocol incompatibility between nix and lix12:39:02
@arianvp:matrix.orgArian

% nix flake check --eval-store auto --store ssh-ng://altra --system aarch64-linux

error: cannot build missing derivation '/nix/store/s131lvrb3pqysw22nl0lmq8sbdflpwfc-vm-test-run-spire-join-token.drv'

from a 2.24.12 evaluator to a 1.94 remote builder.

I’m pretty certain this used to work on 1.93

12:39:54
@arianvp:matrix.orgArianBut this is probably in the “we dont care” territory. lemme try with lix and lix12:41:47
@raitobezarius:matrix.orgraitobezariusI wouldn't want to try hard to debug an issue that could be not on our side12:44:36
@raitobezarius:matrix.orgraitobezariusIf you have more data and/or a reproducer, feel free to throw an issue at me, no promise tho12:44:57
@raitobezarius:matrix.orgraitobezariusIf it's a Lix/Lix issue, of course, this is prioritized12:45:07
30 Nov 2025
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Redacted or Malformed Event12:07:36
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)https://burnthewhich.github.io/shbangenv/shbangenv.html12:09:16
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)lmfao, what12:09:20
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)it is far more portable(as in, works on non FHS systems like NixOS);and I don't really believe it could even cause vurnerbalities12:10:40
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 12:10:50
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 12:11:01
@522_:catgirl.cloud522 it/its ⛯ΘΔ i mean i guess if you consider "an attacker can put a malicious bash in your path" to be a vulnerability 12:13:14
@522_:catgirl.cloud522 it/its ⛯ΘΔ(but also they can put malicious "every other tool you use" in your path so)12:13:25
@522_:catgirl.cloud522 it/its ⛯ΘΔif your PATH is fucked then you are so very utterly fucked12:14:05
@aloisw:julia0815.dealoisw I suppose this is what they mean by "The nexus of the security vulnerability is that using #!/usr/bin/env ensures that the script itself is unable to sanitize the environment before relying upon it." But does any script actually do that? 12:25:03
@arianvp:matrix.orgArian
In reply to @sofiedotcafe:matrix.org
it is far more portable(as in, works on non FHS systems like NixOS);and I don't really believe it could even cause vurnerbalities
so /usr/bin/env bash is more portable than. /bin/bash. but less portable than /bin/sh is the thesis. but idk wtf the point is they’re trying to make
12:28:25
@arianvp:matrix.orgArian nobody is writing /usr/bin/env sh 12:28:33
@arianvp:matrix.orgArian Okay yeh if everyone writes POSIX shell /bin/sh is the way to go. but nobody writes POSIX shell. everyone writes bash 12:29:06
@aloisw:julia0815.dealoisw Their point seems to be that folks write /usr/bin/env bash where /bin/sh might also work. 12:29:25
@arianvp:matrix.orgArian the problem is they’re argueing against people that were writing /bin/bash before we coerced them into writing /usr/bin/env bash 12:29:55
@arianvp:matrix.orgAriani.e. they’re barking up the wrong tree12:30:07
@arianvp:matrix.orgArian

Maybe we should replace all of it with:

#!/bin/sh

command bash

or something?

12:32:27
@arianvp:matrix.orgArian as that’s “actually portable” unlike /usr/bin/env 12:32:35
@522_:catgirl.cloud522 it/its ⛯ΘΔ sanitize how
i mean you can tell env to unset PATH for you if you really want
12:34:32
@522_:catgirl.cloud522 it/its ⛯ΘΔthen you can go invent your own PATH12:34:39
@522_:catgirl.cloud522 it/its ⛯ΘΔoh, right, for bash12:34:51
@522_:catgirl.cloud522 it/its ⛯ΘΔ okay, yeah, for scripts that are intended to be ran in an environment where the environment is totally attacker controlled, env is a bad move (but you probably wouldn't be using a bash script then, you'd probably just go compile a statically linked binary or something) 12:35:42
@tinwood:matrix.org@tinwood:matrix.org left the room.12:36:27

Show newer messages


Back to Room ListRoom Version: 10