ok/jj
1
0
Fork 0
forked from mirrors/jj

nix: use default list of systems

Most notably this removes the `i686-linux` target, which wasn't added
deliberately and is also not tested.
This commit is contained in:
Michael Forster 2023-01-27 11:54:52 +01:00 committed by Mike Forster
parent 3a139e81dc
commit 567a05d7ec

View file

@ -11,22 +11,12 @@
rust-overlay.inputs.flake-utils.follows = "flake-utils";
};
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
let
systems = with flake-utils.lib.system; [
aarch64-linux
aarch64-darwin
i686-linux
x86_64-darwin
x86_64-linux
];
in
{
outputs = { self, nixpkgs, flake-utils, rust-overlay }: {
overlays.default = (final: prev: {
jujutsu = self.packages.${final.system}.jujutsu;
});
} //
(flake-utils.lib.eachSystem systems (system:
(flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;