pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
|
||||
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
|
||||
# expected with certain flag combinations.
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/bat" \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ less ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ less ]}"
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) bat; };
|
||||
|
||||
Reference in New Issue
Block a user