!GczNDVOkmUAxrFFnCg:maralorn.de

❄️ Nix Da(rmstadt)

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

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


SenderMessageTime
17 Nov 2025
@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

Show newer messages


Back to Room ListRoom Version: 6