Skip to content

Commit

Permalink
csfml: replace prePatch with postPatch
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
drawbu and SuperSandro2000 authored Oct 12, 2024
1 parent e04e427 commit 46c8d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/cs/csfml/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ sfml ];
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ];

prePatch = ''
postPatch = ''
substituteInPlace tools/pkg-config/* \
--replace-fail 'libdir=''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@' "libdir=@CMAKE_INSTALL_FULL_LIBDIR@"
'';
Expand Down

0 comments on commit 46c8d07

Please sign in to comment.