mirror of
https://github.com/railwayapp/cli
synced 2026-04-21 14:07:23 +00:00
32 lines
646 B
Nix
32 lines
646 B
Nix
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/313b84933167.tar.gz") {
|
|
overlays = [
|
|
(import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/577ee84c69ba.tar.gz"))
|
|
];
|
|
}
|
|
}:
|
|
|
|
let
|
|
rust = with pkgs;
|
|
rust-bin.stable.latest.minimal;
|
|
basePkgs = with pkgs;
|
|
[
|
|
cmake
|
|
rust
|
|
act
|
|
cargo-zigbuild
|
|
cargo-release
|
|
];
|
|
|
|
# macOS only
|
|
inputs = with pkgs;
|
|
basePkgs ++ lib.optionals stdenv.isDarwin
|
|
(with darwin.apple_sdk.frameworks; [
|
|
Security
|
|
SystemConfiguration
|
|
CoreServices
|
|
]);
|
|
in
|
|
pkgs.mkShell
|
|
{
|
|
buildInputs = inputs;
|
|
}
|