nix-bindings 2.28.4

Rust binding for Nix, the build tool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.05";
  outputs = {nixpkgs, ...}: let
    systems = ["x86_64-linux" "aarch64-linux"];
    forEachSystem = nixpkgs.lib.genAttrs systems;
    pkgsForEach = nixpkgs.legacyPackages;
  in {
    devShells = forEachSystem (system: let
      pkgs = pkgsForEach.${system};
    in {
      default = pkgsForEach.${system}.callPackage ./shell.nix {
        inherit pkgs;
      };
    });
  };
}