Skip to content

Commit

Permalink
Use --replace-faill instead of --replace
Browse files Browse the repository at this point in the history
Co-authored-by: Leah Amelia Chen <[email protected]>
  • Loading branch information
smaret and pluiedev authored Dec 26, 2024
1 parent 74a997b commit 7ca8d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/im/imager/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace admin/wrapper.sh \
--subst-var out \
--subst-var-by PYTHONHOME ${python3Env}
substituteInPlace utilities/main/gag-makedepend.pl --replace '/usr/bin/perl' ${perl}/bin/perl
substituteInPlace utilities/main/gag-makedepend.pl --replace-fail '/usr/bin/perl' ${lib.getExe perl}
source admin/gildas-env.sh -c gfortran -o openmp
echo "gag_doc: $out/share/doc/" >> kernel/etc/gag.dico.lcl
'';
Expand Down

0 comments on commit 7ca8d34

Please sign in to comment.