treewide: use 'lib.getExe' when possible

This commit is contained in:
Bruno BELANYI 2023-07-23 18:58:40 +01:00
parent 92b26e9d54
commit b8b3e51dc6
13 changed files with 24 additions and 28 deletions

View file

@ -12,7 +12,7 @@ buildGoModule rec {
vendorHash = null;
postPatch = ''
sed -i -e 's,"mpv","${mpv}/bin/mpv",' ff2mpv.go
sed -i -e 's,"mpv","${lib.getExe mpv}",' ff2mpv.go
'';
postInstall = ''

View file

@ -10,7 +10,7 @@ stdenvNoCC.mkDerivation {
installPhase =
let
gawkCmd = lib.concatStringsSep " " [
''${gawk}/bin/awk''
(lib.getExe gawk)
'''{sub(/\r$/,"")}''
''{sub(/^127\.0\.0\.1/,"0.0.0.0")}''
''BEGIN { OFS = "" }''