mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
libstemmer: tweak substitution
'./snowball' would also match 'STEMMING_DATA ?= ../snowball-data', which doesn't seem appropriate.
This commit is contained in:
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
''
|
||||
+ lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
substituteInPlace GNUmakefile \
|
||||
--replace './snowball' '${lib.getBin buildPackages.libstemmer}/bin/snowball'
|
||||
--replace-fail './snowball ' '${lib.getExe' buildPackages.libstemmer "snowball"} '
|
||||
'';
|
||||
|
||||
makeTarget = "libstemmer.a";
|
||||
|
||||
Reference in New Issue
Block a user