mirror of
https://github.com/nix-community/naersk
synced 2024-11-23 04:03:04 +00:00
Test ripgrep
This commit is contained in:
parent
065a596541
commit
c96ee4a4c1
1 changed files with 1 additions and 15 deletions
16
default.nix
16
default.nix
|
@ -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:
|
||||
#{};
|
||||
|
||||
#};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue