mirror of
https://github.com/railwayapp/cli
synced 2026-04-21 22:17:25 +00:00
31 lines
625 B
Nix
31 lines
625 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
|
|
]);
|
|
in
|
|
pkgs.mkShell
|
|
{
|
|
buildInputs = inputs;
|
|
}
|