Merge pull request #49708 from periklis/nix-index-fix-darwin

nix-index: fix darwin build
This commit is contained in:
Daiderd Jordan 2018-11-19 21:25:46 +01:00 committed by GitHub
commit 13074b57cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl curl ]
++ stdenv.lib.optional stdenv.isDarwin Security;
doCheck = !stdenv.isDarwin;
postInstall = ''
mkdir -p $out/etc/profile.d
cp ./command-not-found.sh $out/etc/profile.d/command-not-found.sh