diff --git a/pkgs/misc/cfiles/default.nix b/pkgs/misc/cfiles/default.nix
index f18495ec22f76576dadb7560900646b2cc1e551e..cb0881628233d24a4ecdfc77943ab8c972e4b00e 100644
--- a/pkgs/misc/cfiles/default.nix
+++ b/pkgs/misc/cfiles/default.nix
@@ -11,13 +11,7 @@ rev = "v${version}";
hash = "sha256-Y5OOA0GGnjl4614zicuS00Wz2x5lLzhEHVioNFADQto=";
};
--replace "CC = gcc" "" \
--replace "prefix = usr" "prefix=$out"
substituteInPlace scripts/clearimg \
--replace "/usr/lib/w3m/w3mimgdisplay" "${w3m}/bin/w3mimgdisplay"
substituteInPlace scripts/displayimg \
@@ -25,6 +19,13 @@ --replace "/usr/lib/w3m/w3mimgdisplay" "${w3m}/bin/w3mimgdisplay"
substituteInPlace scripts/displayimg_uberzug \
--replace "ueberzug" "${ueberzug}/bin/ueberzug"
'';
meta = with lib; {
description = "A ncurses file manager written in C with vim like keybindings";
diff --git a/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix b/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix
index ab92635a9ba2dfc11864d239a5280a41794a7712..218e996042983c1d0a017e89a90a096ddf758e63 100644
--- a/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix
+++ b/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
stdenv.mkDerivation rec {
pname = "how-to-use-pvs-studio-free";
@@ -11,14 +11,18 @@ rev = version;
hash = "sha256-aFqk0WsMylRQqvlb+M5IfDHVwMBuKNQpCiiGPrj+jEw=";
};
url = "https://github.com/viva64/how-to-use-pvs-studio-free/commit/5685a069d9538242a79d099fed3057de37a8d766.patch";
sha256 = "sha256-xffOthjpBVP1aijdO6LTnHNQ3pvrO0/W3YJWIWLMuuQ=";
nativeBuildInputs = [ cmake ];
postPatch = lib.optionalString (!stdenv.isDarwin) ''
substituteInPlace CMakeLists.txt \
--replace "set(CMAKE_INSTALL_PREFIX \"/usr\")" ""
--replace "stdc++fs" "c++fs"
'';
meta = with lib; {
@@ -27,6 +31,5 @@ homepage = "https://pvs-studio.com/en/blog/posts/0457/";
license = licenses.asl20;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
};
}
application/octet-stream
This content has been proxied by September (3851b).