mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
cargo-valgrind: stdenv.lib -> lib
This commit is contained in:
parent
08ce0156e4
commit
7ff2c85a8e
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
@ -30,10 +31,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${stdenv.lib.makeBinPath [ valgrind ]}
|
wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${lib.makeBinPath [ valgrind ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = ''Cargo subcommand "valgrind": runs valgrind and collects its output in a helpful manner'';
|
description = ''Cargo subcommand "valgrind": runs valgrind and collects its output in a helpful manner'';
|
||||||
homepage = "https://github.com/jfrimmel/cargo-valgrind";
|
homepage = "https://github.com/jfrimmel/cargo-valgrind";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
|
Loading…
Reference in a new issue