!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

629 Members
NixOS ❤️ systemd172 Servers

Load older messages


SenderMessageTime
16 Feb 2025
@infinisil:matrix.orginfinisil
In reply to @k900:0upti.me
@ElvishJerricco @infinisil FYI https://github.com/NixOS/nixpkgs/commit/daadcbdaacc352a2031d53eaf6f8f1eedc263bcb
Nice, thanks
16:46:47
@elvishjerricco:matrix.orgElvishJerricco K900: oh, like pkgs.bash was changed to bashInteractive? Why? 16:48:52
@k900:0upti.meK900Convenience, primarily16:49:10
@k900:0upti.meK900 @infinisil's PR has detailed motivation 16:49:19
@k900:0upti.meK900That I generally agree with16:49:24
@elvishjerricco:matrix.orgElvishJerriccolink?16:49:40
@k900:0upti.meK900Hold on need to find it16:50:11
@k900:0upti.meK900Currently rolling back all the shit I just made not boot16:50:24
@infinisil:matrix.orginfinisil ElvishJerricco: https://github.com/NixOS/nixpkgs/pull/379368 16:50:36
@elvishjerricco:matrix.orgElvishJerricco K900: But ok, that probably means the "${pkgs.bash}/bin" that comes after is no longer correct 16:50:39
@k900:0upti.meK900We have both anyway16:50:59
@elvishjerricco:matrix.orgElvishJerricco Because we only have that there for the packages that use #!..../bin/sh 16:51:00
@k900:0upti.meK900Yeah I wasn't sure16:51:16
@k900:0upti.meK900About the second XFS big16:51:20
@k900:0upti.meK900* About the second XFS bit16:51:21
@elvishjerricco:matrix.orgElvishJerricco Yea but it still seems probably more correct to somehow get the sh variant of runtimeShell 16:51:40
@elvishjerricco:matrix.orgElvishJerriccobut it doesn't really matter16:51:50
@k900:0upti.meK900Is it?16:51:50
@k900:0upti.meK900I don't think it is tbh16:51:53
@k900:0upti.meK900runtimeShell is an stdenv concept16:51:57
@k900:0upti.meK900It doesn't have to be your /bin/sh16:52:03
@elvishjerricco:matrix.orgElvishJerricco K900: I guess it depends on why things like xfs were ending up with sh as their interpreter. I imagine they were just using patchShebangs, and I don't know where it would find sh from 16:52:41
@k900:0upti.meK900Ambient stdenv presumably16:53:05
@elvishjerricco:matrix.orgElvishJerricco yea so realistically we would want the logic in storePaths to mirror whatever patchShebangs is doing to find sh 16:54:37
@elvishjerricco:matrix.orgElvishJerriccoin practice it doesn't really matter16:54:41
@elvishjerricco:matrix.orgElvishJerriccobecause we have interactive and non-interactive bash in there anyway16:54:52
@k900:0upti.meK900Goddammit16:56:21
@k900:0upti.meK900We don't happen to have a text editor in initrd, do we16:56:34
@elvishjerricco:matrix.orgElvishJerriccodon't think so16:56:41
@elvishjerricco:matrix.orgElvishJerricco (I have put emacs in there before though :P) 16:56:56

Show newer messages


Back to Room ListRoom Version: 6