naersk/test/fast
Patryk Wychowaniec 94beb7a3ed Add support for the postInstall hook
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
2022-05-16 19:33:31 +02:00
..
cargo-wildcard refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
default-run refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
dummyfication refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
git-dep refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
git-dep-by-branch refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
git-dep-by-branch-with-slash refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
git-dep-by-tag refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
git-dep-dup refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
post-install-hook Add support for the postInstall hook 2022-05-16 19:33:31 +02:00
readme readme: Fix ./script/gen 2022-05-16 19:33:31 +02:00
simple-dep refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
simple-dep-patched refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
workspace refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
workspace-build-rs refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
workspace-patched refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
default.nix Add support for the postInstall hook 2022-05-16 19:33:31 +02:00