mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
e877c69d78
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
No EOL
168 B
Text
9 lines
No EOL
168 B
Text
Function(["nar", "name"],
|
|
Package(
|
|
[ ("name", Var("name"))
|
|
, ("build", Relative("nar/unnar.sh"))
|
|
, ("nar", Var("nar"))
|
|
, ("id", Var("id"))
|
|
]
|
|
)
|
|
) |