mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
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:
parent
265db5ebfe
commit
858bf5b2a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue