summary refs log tree commit diff
path: root/pkgs/tools/misc/websocat/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/websocat/default.nix')
-rw-r--r--pkgs/tools/misc/websocat/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix
index 0d4bfacfa273b..1a3afb0d65f48 100644
--- a/pkgs/tools/misc/websocat/default.nix
+++ b/pkgs/tools/misc/websocat/default.nix
@@ -15,14 +15,14 @@ rustPlatform.buildRustPackage rec {
   cargoSha256 = "1hsms8rlnds8npr8m0dm21h04ci5ljda09pqb598v7ny3j2dldiq";
 
   nativeBuildInputs = [ pkgconfig makeWrapper ];
-  buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
 
   # The wrapping is required so that the "sh-c" option of websocat works even
   # if sh is not in the PATH (as can happen, for instance, when websocat is
   # started as a systemd service).
   postInstall = ''
     wrapProgram $out/bin/websocat \
-      --prefix PATH : ${stdenv.lib.makeBinPath [ bash ]}
+      --prefix PATH : ${lib.makeBinPath [ bash ]}
   '';
 
   meta = with lib; {