git.iko.soy/typeable/nixpkgs
on master help sign in
analog: Fix substitution so it can find its language files (#133540)
commitfaf57c8e3a35eaf155fa2c7dcfeb7a0ed2fb3f57 authorPhilippe Hürlimann <645664+p-h@users.noreply.github.com> dateSat 2 Oct 2021, 19:31 (5 years ago) parent53d333a
1 file changed+1−1
pkgs/tools/admin/analog/default.nix+1−1
pkgs/tools/admin/analog/default.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 postPatch = ''
1515 sed -i src/anlghead.h \
1616 -e "s|#define DEFAULTCONFIGFILE .*|#define DEFAULTCONFIGFILE \"$out/etc/analog.cfg\"|g" \
17− -e "s|#define LANGDIR .*|#define LANGDIR \"$out/share/$pname}/lang/\"|g"
17+ -e "s|#define LANGDIR .*|#define LANGDIR \"$out/share/${pname}/lang/\"|g"
1818 substituteInPlace src/Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
1919 '';
2020