mirror of
https://github.com/nix-community/naersk
synced 2024-11-12 23:17:07 +00:00
94beb7a3ed
During compilation, we build two derivations - one for the dependencies and another for the user's crate itself. Passing `postInstall` to `buildPackage` pass-throughs it into both derivations, which is not what most users would probably expect. This commit adds `postInstall` as an explicit configuration option (so that it's neatly documented), zeroing it out for the dependencies-only derivation. I don't think there's any use case for something like `postInstallDeps`, so it's not introduced here. Closes https://github.com/nix-community/naersk/issues/237 |
||
---|---|---|
.. | ||
cargo-wildcard | ||
default-run | ||
dummyfication | ||
git-dep | ||
git-dep-by-branch | ||
git-dep-by-branch-with-slash | ||
git-dep-by-tag | ||
git-dep-dup | ||
post-install-hook | ||
readme | ||
simple-dep | ||
simple-dep-patched | ||
workspace | ||
workspace-build-rs | ||
workspace-patched | ||
default.nix |