# We do not use Nix for reproducible builds. There's no point, since Rust libraries can't really be distributed in precompiled form. # However, this flake does provide a dev shell, because I (Nasado) run NixOS as of writing (Nov 2023), so that's convenient. { description = "borc: CBOR done right"; inputs = { flake-utils.url = "github:numtide/flake-utils"; nixpkgs.url = "nixpkgs"; }; outputs = { self, flake-utils, nixpkgs }: let nixpkgs_raw = nixpkgs; supportedSystems = flake-utils.lib.defaultSystems; in flake-utils.lib.eachSystem supportedSystems (system: let nixpkgs = nixpkgs_raw // { pkgs = nixpkgs_raw.legacyPackages.${system}; }; in { devShells.default = nixpkgs.pkgs.mkShell { pname = "borc"; buildInputs = [ nixpkgs.pkgs.cargo nixpkgs.pkgs.clippy nixpkgs.pkgs.gitflow nixpkgs.pkgs.reuse nixpkgs.pkgs.rust-analyzer nixpkgs.pkgs.rustfmt ]; }; }); }