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:
parent
3a139e81dc
commit
567a05d7ec
1 changed files with 95 additions and 105 deletions
14
flake.nix
14
flake.nix
|
@ -11,22 +11,12 @@
|
||||||
rust-overlay.inputs.flake-utils.follows = "flake-utils";
|
rust-overlay.inputs.flake-utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
|
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
|
|
||||||
{
|
|
||||||
overlays.default = (final: prev: {
|
overlays.default = (final: prev: {
|
||||||
jujutsu = self.packages.${final.system}.jujutsu;
|
jujutsu = self.packages.${final.system}.jujutsu;
|
||||||
});
|
});
|
||||||
} //
|
} //
|
||||||
(flake-utils.lib.eachSystem systems (system:
|
(flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
Loading…
Reference in a new issue