Test ripgrep

This commit is contained in:
Nicolas Mattia 2019-07-02 11:35:40 +02:00
parent 065a596541
commit c96ee4a4c1

View file

@ -128,6 +128,7 @@ with rec
};
ripgrep-all = buildPackage sources.ripgrep-all {};
ripgrep = buildPackage sources.ripgrep {};
rustfmt = buildPackage sources.rustfmt {};
@ -159,15 +160,6 @@ with rec
{ buildInputs = [ crates.ripgrep-all ]; }
"touch $out";
# TODO: Nix error:
# error: while parsing a TOML string at default.nix:80:25:
# Bare key 'cfg(all(target_env = "musl", target_pointer_width = "64"))'
# cannot contain whitespace at line 64
# and this is the culprit:
# https://github.com/BurntSushi/ripgrep/blob/d1389db2e39802d5e04dc7b902fd2b1f9f615b01/Cargo.toml#L64
# TODO: update Nix: https://github.com/NixOS/nix/pull/2902
#test_ripgrep = buildPackage sources.ripgrep {};
# TODO: (workspace)
# error: while parsing a TOML string at ...:115:25:
# Bare key 'cfg(any(all(target_arch = "wasm32", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))'
@ -210,10 +202,4 @@ with rec
cargo-fmt --help
touch $out
'';
#test_git-dep = buildPackage (lib.cleanSource ./test/git-dep)
#{ override = oldAttrs:
#{};
#};
}