diff options
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/clipcat/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/misc/lscolors/default.nix | 11 | ||||
-rw-r--r-- | pkgs/applications/misc/todiff/default.nix | 2 |
3 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/misc/clipcat/default.nix b/pkgs/applications/misc/clipcat/default.nix index b28b33d56c917..38c0c103943a9 100644 --- a/pkgs/applications/misc/clipcat/default.nix +++ b/pkgs/applications/misc/clipcat/default.nix @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = [ xorg.libxcb ]; - cargoBuildFlags = [ "--features=all" ]; + buildFeatures = [ "all" ]; postInstall = '' installShellCompletion --bash completions/bash-completion/completions/* diff --git a/pkgs/applications/misc/lscolors/default.nix b/pkgs/applications/misc/lscolors/default.nix index f29fdfda6c181..70804ef1fddbf 100644 --- a/pkgs/applications/misc/lscolors/default.nix +++ b/pkgs/applications/misc/lscolors/default.nix @@ -2,19 +2,22 @@ rustPlatform.buildRustPackage rec { pname = "lscolors"; - version = "0.8.0"; + version = "0.8.1"; src = fetchCrate { inherit version pname; - sha256 = "sha256-dwtrs9NlhJ+km2/146HMnDirWRB5Ur5LTmWdKAK03v0="; + sha256 = "sha256-74KNnERhyiZamVyS9yzDNVf33KMqDiSfPb5BCTKFuHA="; }; - cargoSha256 = "sha256-vQnrLt+VSDPr61VMkYFtjSDnEt+NmWBZUd4qLzPzQBU="; + cargoSha256 = "sha256-mjGZ/q9BByndwfnFGk6k5KD9ctY0X0/oaEugiOJY8Ms="; + + # setid is not allowed in the sandbox + checkFlags = [ "--skip=tests::style_for_setid" ]; meta = with lib; { description = "Rust library and tool to colorize paths using LS_COLORS"; homepage = "https://github.com/sharkdp/lscolors"; - license = with licenses; [ asl20 mit ]; + license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ SuperSandro2000 ]; }; } diff --git a/pkgs/applications/misc/todiff/default.nix b/pkgs/applications/misc/todiff/default.nix index 752ab35461ea7..14f03cdc8cef1 100644 --- a/pkgs/applications/misc/todiff/default.nix +++ b/pkgs/applications/misc/todiff/default.nix @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "0vrn1vc3rwabv6l2r1qb7mkcxbp75q79bfl3rxhyi51ra3ij507r"; - checkPhase = "cargo test --features=integration_tests"; + checkFeatures = [ "integration_tests" ]; meta = with lib; { description = "Human-readable diff for todo.txt files"; |