urbit/shell.nix

17 lines
396 B
Nix
Raw Normal View History

with (import ./nixpkgs {});
2018-11-07 06:56:48 +03:00
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 ];
2018-11-07 06:56:48 +03:00
in stdenv.mkDerivation {
name = "urbit";
buildInputs = osxdeps ++ deps;
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreServices";
}