Skip to content

Commit

Permalink
systems: Add name to nix-systems local flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 5, 2024
1 parent 7e26d6a commit ca6e8f8
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions crates/nix_rs/crate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,22 @@ in
};
INSPECT_FLAKE = inputs.inspect;
NIX_SYSTEMS = builtins.toJSON {
x86_64-linux = inputs.nix-systems-x86_64-linux;
aarch64-linux = inputs.nix-systems-aarch64-linux;
x86_64-darwin = inputs.nix-systems-x86_64-darwin;
aarch64-darwin = inputs.nix-systems-aarch64-darwin;
x86_64-linux = lib.cleanSourceWith {
name = "x86_64-linux";
src = inputs.nix-systems-x86_64-linux;
};
aarch64-linux = lib.cleanSourceWith {
name = "aarch64-linux";
src = inputs.nix-systems-aarch64-linux;
};
aarch64-darwin = lib.cleanSourceWith {
name = "aarch64-darwin";
src = inputs.nix-systems-aarch64-darwin;
};
x86_64-darwin = lib.cleanSourceWith {
name = "x86_64-darwin";
src = inputs.nix-systems-x86_64-darwin;
};
};
};
};
Expand Down

0 comments on commit ca6e8f8

Please sign in to comment.