Something went wrong. Try again.
Interpreter for the i++ programming language
Something went wrong. Try again.
i_plus_plus flake.nix
12345678910111213141516171819202122232425262728293031323334{ description = "i++ SKI combinator language";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; };
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ rustc cargo clippy rustfmt wasm-bindgen-cli lld just nodejs ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ libiconv ];
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_LINKER = "${pkgs.lld}/bin/lld"; RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}"; }; });}