| 17 Nov 2025 |
Grimmauld (any/all) | Wir haben aktuell den vorgänger (https://github.com/systemd/systemd/pull/37788): https://github.com/NixOS/nixpkgs/blob/50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a/pkgs/os-specific/linux/systemd/default.nix#L262-L294 | 15:36:11 |
leona | ja ich dachte dich interessierts ^^ | 15:39:09 |
| 18 Nov 2025 |
| grimmauld (any/all) joined the room. | 08:19:17 |
sebastians | nix-shell verhält sich bei mir gerade weird:
$ printenv SHLVL
1
$ nix-shell
fetching path input 'path:/nix/store/c39q7pww80997lz0fyqxpvsr29q6f7ld-source'
$ hello
bash: hello: command not found
$ printenv SHLVL
1
hier ist die shell.nix:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
hello
];
}
nix-shell -p hello funktioniert problemlos. hat jemand ne idee woran das liegen könnte?
| 13:17:38 |
hexa | hast du eine default.nix in dem ordenr? | 13:20:13 |
hexa | * hast du eine default.nix in dem ordner? | 13:20:16 |
sebastians | nope | 13:22:26 |
hexa | ah, du meinst du landest gar nicht erst in der shell | 13:24:06 |
hexa | ❯ mkdir repro
/tmp
❯ cd repro/
/tmp/repro
❯ hx shell.nix
/tmp/repro
❯ nix-shell
fetching path input 'path:/nix/store/g489k232fczc77km8m7wsdd97wxqdyd9-source'
this path will be fetched (0.05 MiB download, 0.26 MiB unpacked):
/nix/store/sqw9kyl8zrfnkklb3vp6gji9jw9qfgb5-hello-2.12.2
copying path '/nix/store/sqw9kyl8zrfnkklb3vp6gji9jw9qfgb5-hello-2.12.2' from 'https://cache.nixos.org'...
/tmp/repro via ❄️ impure (nix-shell)
❯ hello
Hello, world!
| 13:25:04 |
sebastians | genau - sorry hatte meinen prompt string entfernt | 13:25:18 |
hexa | leerer ordner, shell.nix reinkopiert, tut | 13:25:39 |
sebastians | ja, mein problem ist leider, dass der error nicht reproduzierbar ist :/ | 13:28:17 |
hexa | d.h. in einem frischen ordner gehts bei dir auch? 😄 | 13:28:31 |
hexa | nix-shell -vvv | 13:28:59 |
sebastians | Download nix-shell.log | 13:31:54 |
hexa | kannst du das bitte beantworten? | 13:33:28 |
sebastians | nö, es geht nur auf diesem laptop nicht, auch nicht mit dem reproducer | 13:34:32 |
hexa | nix --version? | 13:35:53 |
hexa | nixos? | 13:36:08 |
sebastians | nix (Lix, like Nix) 2.93.3-pre20251008-75c0314
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/sebi/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/sebi/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/sebi/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/sebi/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/qs6lbj3hf0bb96xh1jhls0pn3pr5jnba-lix-2.93.3-pre20251008-75c0314/share
| 13:37:11 |
hexa | but sir, this is lix, not nix | 13:37:25 |
sebastians | 25.11.20250809.85dbfc7 (Xantusia)
| 13:37:27 |
hexa | irgendwas weirdes in deiner shell config? | 13:38:21 |
sebastians | nö, setze in meiner bashrc nur SSH_AUTH_SOCK | 13:40:14 |
hexa | nix.conf? | 13:43:28 |
hexa | /home/sebi/.config/nix/nix.conf | 13:44:56 |
hexa | /home/sebi/.nix-profile/etc/xdg/nix/nix.conf | 13:45:06 |
hexa | usw, falls existiert | 13:45:18 |
sebastians |
| 13:45:22 |
sebastians | * WARNING: this file is generated from the nix.* options in
your NixOS configuration, typically
/etc/nixos/configuration.nix. Do not edit it!
allowed-users = * auto-optimise-store = true builders = builders-use-substitutes = true cores = 0 experimental-features = nix-command flakes max-jobs = auto require-sigs = true sandbox = true sandbox-fallback = false substituters = https://cache.nixos.org/ system-features = nixos-test benchmark big-parallel kvm trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= trusted-substituters = trusted-users = root root sebi extra-sandbox-paths =
| 13:45:31 |