mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 04:11:49 +03:00
17 lines
396 B
Nix
17 lines
396 B
Nix
with (import ./nixpkgs {});
|
|
|
|
let
|
|
|
|
osxdeps = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
|
Cocoa
|
|
CoreServices
|
|
]);
|
|
|
|
deps = [ cmark curl gcc gmp libsigsegv meson ncurses ninja pkgconfig zlib re2c openssl ];
|
|
|
|
in stdenv.mkDerivation {
|
|
name = "urbit";
|
|
buildInputs = osxdeps ++ deps;
|
|
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreServices";
|
|
}
|