+/rectangle

git clone https://git.julia.blue/+/rectangle

Julia RyanAdd TODOs7c9de1e

main
604 B21 linesraw
1{
2  inputs = {
3    flake-utils.url = "github:numtide/flake-utils";
4    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5    rust-overlay.url = "github:oxalica/rust-overlay";
6  };
7  outputs = { flake-utils, nixpkgs, rust-overlay, ... }: flake-utils.lib.eachDefaultSystem (system: let
8    np = import nixpkgs {
9      inherit system;
10      overlays = [ rust-overlay.overlays.default ];
11    };
12  in {
13    devShells.default = np.mkShell {
14      nativeBuildInputs = with np; [
15        flip-link
16        elf2uf2-rs
17        (np.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
18      ];
19    };
20  });
21}