lsd: fix build on darwin
This commit is contained in:
parent
0fbb1591d8
commit
1d96a0fb97
1 changed files with 5 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, installShellFiles
|
||||
, darwin
|
||||
, pandoc
|
||||
, testers
|
||||
, lsd
|
||||
|
@ -21,6 +23,9 @@ rustPlatform.buildRustPackage rec {
|
|||
cargoHash = "sha256-viLr76Bq9OkPMp+BoprQusMDgx59nbevVi4uxjZ+eZg=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles pandoc ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
postInstall = ''
|
||||
pandoc --standalone --to man doc/lsd.md -o lsd.1
|
||||
installManPage lsd.1
|
||||
|
|
Loading…
Reference in a new issue