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";
|
||||
};
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue