!GczNDVOkmUAxrFFnCg:maralorn.de

❄️ Nix Da(rmstadt)

118 Members
Nächstes Treffen: 22.09.2025.(<https://md.darmstadt.ccc.de/nixda-202506>) | Dekoratives Systemmanagement. How dare you … wenn Nix hilft | Use `/roomnick` for silly sentiments. | https://nix-cheatsheet.pixie.homes67 Servers

Load older messages


SenderMessageTime
17 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (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-L29415:36:11
@leona:leona.isleonaja ich dachte dich interessierts ^^15:39:09
18 Nov 2025
@grimmauld:m.grimmauld.degrimmauld (any/all) joined the room.08:19:17
@sebastians:selfnet.desebastians

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:lossy.networkhexahast du eine default.nix in dem ordenr?13:20:13
@hexa:lossy.networkhexa* hast du eine default.nix in dem ordner?13:20:16
@sebastians:selfnet.desebastiansnope13:22:26
@hexa:lossy.networkhexaah, du meinst du landest gar nicht erst in der shell13:24:06
@hexa:lossy.networkhexa
❯ 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:selfnet.desebastiansgenau - sorry hatte meinen prompt string entfernt13:25:18
@hexa:lossy.networkhexaleerer ordner, shell.nix reinkopiert, tut13:25:39
@sebastians:selfnet.desebastiansja, mein problem ist leider, dass der error nicht reproduzierbar ist :/13:28:17
@hexa:lossy.networkhexad.h. in einem frischen ordner gehts bei dir auch? 😄 13:28:31
@hexa:lossy.networkhexanix-shell -vvv13:28:59
@sebastians:selfnet.desebastiansDownload nix-shell.log13:31:54
@hexa:lossy.networkhexakannst du das bitte beantworten?13:33:28
@sebastians:selfnet.desebastiansnö, es geht nur auf diesem laptop nicht, auch nicht mit dem reproducer13:34:32
@hexa:lossy.networkhexanix --version?13:35:53
@hexa:lossy.networkhexanixos?13:36:08
@sebastians:selfnet.desebastians
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:lossy.networkhexa but sir, this is lix, not nix 13:37:25
@sebastians:selfnet.desebastians
25.11.20250809.85dbfc7 (Xantusia)
13:37:27
@hexa:lossy.networkhexairgendwas weirdes in deiner shell config?13:38:21
@sebastians:selfnet.desebastiansnö, setze in meiner bashrc nur SSH_AUTH_SOCK13:40:14
@hexa:lossy.networkhexanix.conf?13:43:28
@hexa:lossy.networkhexa/home/sebi/.config/nix/nix.conf13:44:56
@hexa:lossy.networkhexa/home/sebi/.nix-profile/etc/xdg/nix/nix.conf13:45:06
@hexa:lossy.networkhexausw, falls existiert13:45:18
@sebastians:selfnet.desebastians
13:45:22
@sebastians:selfnet.desebastians *

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

Show newer messages


Back to Room ListRoom Version: 6