forked from lix-project/lix
![Eelco Dolstra](/assets/img/avatar_default.png)
substituting for (obvious, really). * For greater efficiency, nix-pull/unnar will place the output in a path that is probably the same as what is actually needed, thus preventing a path copy. * Even if a output id is given in a Fix package expression, ensure that the resulting Nix derive expression has a different id. This is because Nix expressions that are semantically equivalent (i.e., build the same result) might be different w.r.t. efficiency or divergence. It is absolutely vital for the substitute mechanism that such expressions are not used interchangeably.
9 lines
168 B
Plaintext
9 lines
168 B
Plaintext
Function(["nar", "name"],
|
|
Package(
|
|
[ ("name", Var("name"))
|
|
, ("build", Relative("nar/unnar.sh"))
|
|
, ("nar", Var("nar"))
|
|
, ("id", Var("id"))
|
|
]
|
|
)
|
|
) |