glrnvim: fix build on darwin
This commit is contained in:
parent
e689d11166
commit
00095ffa60
@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -18,6 +19,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-cHEse+pXwgPTL8GJyY4s1mhWXGTY8Fnn2rFpA5SNerY=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
DiskArbitration
|
||||
Foundation
|
||||
]);
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 glrnvim.desktop -t $out/share/applications
|
||||
install -Dm644 glrnvim.svg $out/share/icons/hicolor/scalable/apps/glrnvim.svg
|
||||
|
Loading…
Reference in New Issue
Block a user