[Nix-dev] Expressing dependencies on init scripts

Shea Levy shea at shealevy.com
Tue Mar 27 13:51:45 CEST 2012


On 03/27/2012 02:05 AM, Yury G. Kudryashov wrote:
> Kirill Elagin wrote:
>
>> Right now the name of the init-script is simply
>> hardcoded. This is what Shea Levy calls “an impurity”.
> No, an impurity is a situation when the same derivation may result in
> different outputs depending on the build machine.

I disagree. In the context of nix, an impurity is any dependency on a 
system invariant that is not explicitly expressed in the relevant nix 
expressions. It's unfortunate that the technical term is 'impurity', 
because not all impurities are evil (the dependency on /bin/sh is hardly 
problematic), but that's what I mean by the term.


More information about the nix-dev mailing list