fortune-kind: fix FORTUNE_DIR wrapping
FORTUNE_DIR supports only one folder. I chose --set-default to allow for overriding https://github.com/cafkafk/fortune-kind/issues/88#issuecomment-2817625295
This commit is contained in:
@@ -52,7 +52,7 @@ rustPlatform.buildRustPackage rec {
|
||||
postInstall =
|
||||
''
|
||||
wrapProgram $out/bin/fortune-kind \
|
||||
--prefix FORTUNE_DIR : "$out/fortunes"
|
||||
--set-default FORTUNE_DIR "$out/fortunes"
|
||||
''
|
||||
+ lib.optionalString fortuneAlias ''
|
||||
ln -s fortune-kind $out/bin/fortune
|
||||
|
||||
Reference in New Issue
Block a user