drop darwin targets bc I can’t build them
All checks were successful
Hydra git-mit.i686-linux Hydra build #1592 of dark-kirb:rust-binaries:git-mit.i686-linux
Hydra mit-commit-message-lints.i686-linux Hydra build #1594 of dark-kirb:rust-binaries:mit-commit-message-lints.i686-linux
Hydra mit-pre-commit.i686-linux Hydra build #1584 of dark-kirb:rust-binaries:mit-pre-commit.i686-linux
Hydra mit-hook-test-helper.x86_64-linux Hydra build #1589 of dark-kirb:rust-binaries:mit-hook-test-helper.x86_64-linux
Hydra mit-prepare-commit-msg.x86_64-linux Hydra build #1590 of dark-kirb:rust-binaries:mit-prepare-commit-msg.x86_64-linux
Hydra git-mit-config.i686-linux Hydra build #1588 of dark-kirb:rust-binaries:git-mit-config.i686-linux
Hydra mit-commit-message-lints.x86_64-linux Hydra build #1596 of dark-kirb:rust-binaries:mit-commit-message-lints.x86_64-linux
Hydra git-mit-relates-to.x86_64-linux Hydra build #1601 of dark-kirb:rust-binaries:git-mit-relates-to.x86_64-linux
Hydra mit-pre-commit.x86_64-linux Hydra build #1605 of dark-kirb:rust-binaries:mit-pre-commit.x86_64-linux
Hydra git-mit.x86_64-linux Hydra build #1610 of dark-kirb:rust-binaries:git-mit.x86_64-linux
Hydra git-mit-config.x86_64-linux Hydra build #1612 of dark-kirb:rust-binaries:git-mit-config.x86_64-linux
Hydra mit-commit-msg.x86_64-linux Hydra build #1613 of dark-kirb:rust-binaries:mit-commit-msg.x86_64-linux
Hydra git-mit-install.x86_64-linux Hydra build #1627 of dark-kirb:rust-binaries:git-mit-install.x86_64-linux
Hydra mit-hook-test-helper.i686-linux Hydra build #1591 of dark-kirb:rust-binaries:mit-hook-test-helper.i686-linux
Hydra git-mit-relates-to.i686-linux Hydra build #1615 of dark-kirb:rust-binaries:git-mit-relates-to.i686-linux
Hydra mit-prepare-commit-msg.i686-linux Hydra build #1607 of dark-kirb:rust-binaries:mit-prepare-commit-msg.i686-linux
Hydra git-mit-install.i686-linux Hydra build #1619 of dark-kirb:rust-binaries:git-mit-install.i686-linux
Hydra mit-commit-msg.i686-linux Hydra build #1618 of dark-kirb:rust-binaries:mit-commit-msg.i686-linux
Hydra mit-hook-test-helper.aarch64-linux Hydra build #1611 of dark-kirb:rust-binaries:mit-hook-test-helper.aarch64-linux
Hydra mit-commit-message-lints.aarch64-linux Hydra build #1617 of dark-kirb:rust-binaries:mit-commit-message-lints.aarch64-linux
Hydra git-mit-relates-to.aarch64-linux Hydra build #1587 of dark-kirb:rust-binaries:git-mit-relates-to.aarch64-linux
Hydra git-mit-install.aarch64-linux Hydra build #1606 of dark-kirb:rust-binaries:git-mit-install.aarch64-linux
Hydra mit-pre-commit.aarch64-linux Hydra build #1609 of dark-kirb:rust-binaries:mit-pre-commit.aarch64-linux
Hydra git-mit.aarch64-linux Hydra build #1586 of dark-kirb:rust-binaries:git-mit.aarch64-linux
Hydra mit-prepare-commit-msg.aarch64-linux Hydra build #1623 of dark-kirb:rust-binaries:mit-prepare-commit-msg.aarch64-linux
Hydra git-mit-config.aarch64-linux Hydra build #1603 of dark-kirb:rust-binaries:git-mit-config.aarch64-linux
Hydra mit-commit-msg.aarch64-linux Hydra build #1622 of dark-kirb:rust-binaries:mit-commit-msg.aarch64-linux

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-06 08:17:14 +01:00
parent eee24fab9e
commit 4a37c8d2a2
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -13,26 +13,31 @@
cargo2nix.inputs.flake-utils.follows = "flake-utils";
};
outputs = { self, nixpkgs, flake-utils, rust-overlay, cargo2nix, ... } @ args: flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ cargo2nix.overlay ];
pkgs = import nixpkgs {
inherit system overlays;
};
git-mit = pkgs.rustBuilder.makePackageSet' {
packageFun = import ./git-mit/Cargo.nix;
workspaceSrc = pkgs.fetchFromGitHub {
owner = "PurpleBooth";
repo = "git-mit";
rev = "0aa22b8e2baafc392c9b6d7a01cc1806f09e2194";
sha256 = "059hkl0xm818ahr829g8f2hn8c4x2ilhbbq6v21ycf9r3hyj65ld";
outputs = { self, nixpkgs, flake-utils, rust-overlay, cargo2nix, ... } @ args: flake-utils.lib.eachSystem [
"x86_64-linux"
"aarch64-linux"
"i686-linux"
]
(system:
let
overlays = [ cargo2nix.overlay ];
pkgs = import nixpkgs {
inherit system overlays;
};
packageOverrides = pkgs: pkgs.rustBuilder.overrides.all;
rustChannel = "1.59.0";
};
in
rec {
packages = builtins.mapAttrs (_: f: (f { }).bin) git-mit.workspace;
hydraJobs = packages;
});
git-mit = pkgs.rustBuilder.makePackageSet' {
packageFun = import ./git-mit/Cargo.nix;
workspaceSrc = pkgs.fetchFromGitHub {
owner = "PurpleBooth";
repo = "git-mit";
rev = "0aa22b8e2baafc392c9b6d7a01cc1806f09e2194";
sha256 = "059hkl0xm818ahr829g8f2hn8c4x2ilhbbq6v21ycf9r3hyj65ld";
};
packageOverrides = pkgs: pkgs.rustBuilder.overrides.all;
rustChannel = "1.59.0";
};
in
rec {
packages = builtins.mapAttrs (_: f: (f { }).bin) git-mit.workspace;
hydraJobs = packages;
});
}