[Nix-dev] Moving binaries from sbin/ to bin/?

Pascal Wittmann PascalWittmann at gmx.net
Thu Oct 2 19:08:34 CEST 2014


+1 from me, too.

On 10/02/2014 07:07 PM, Wout Mertens wrote:
> I'm all for it, +1.
> 
> Wout.
> 
> On Thu, Oct 2, 2014 at 7:04 PM, Bjørn Forsman <bjorn.forsman at gmail.com>
> wrote:
> 
>> Hi,
>>
>> Does anyone mind if we (slowly) move binaries from $out/sbin to $out/bin?
>>
>> Arguments for doing it:
>>
>> 1) The sbin vs bin distinction is an historic relic from the past. It
>> makes little sense on NixOS. (Even a normal (LSB-like) distro like
>> ArchLinux has already made the sbin -> bin switch).
>>
>> 2) It's annoying to have this distinction when writing nix
>> expressions, having to figure out which of the two directories is the
>> correct one for *this* package.
>>
>> 3) I just found my second sbin/bin bug caused by sbin being treated as
>> a second class citizen in nixpkgs. I noticed that our standard builder
>> will not add packages' sbin/ directory to PATH. (The first issue was
>> from a long time ago, when sbin wasn't added to PATH by the profile.sh
>> script (maybe wrong name) when on a non-NixOS distro.)
>>
>> Best regards,
>> Bjørn Forsman
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
> 
> 
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141002/13f00043/attachment.bin 


More information about the nix-dev mailing list