nix-index: fix darwin build

This commit is contained in:
Periklis Tsirakidis 2018-11-03 21:54:02 +01:00
parent adb5b610bd
commit 17e6147ab5

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