Rust: Export the manifest file under /nix-support.

This commit is contained in:
Nicolas B. Pierron 2019-08-05 23:14:29 +02:00
Родитель c0912b5000
Коммит d41cea62ec
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -285,6 +285,15 @@ let
done done
''; '';
# Export the manifest file as part of the nix-support files such
# that one can compute the sha256 of a manifest to freeze it for
# reproducible builds.
MANIFEST_FILE = manifest;
postInstall = ''
mkdir $out/nix-support
cp $MANIFEST_FILE $out/nix-support/manifest.toml
'';
# Add the compiler as part of the propagated build inputs in order # Add the compiler as part of the propagated build inputs in order
# to run: # to run:
# #