mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bazel: add tool dependencies for image upload
This commit is contained in:
parent
711dff37a4
commit
f7b22f3705
@ -56,6 +56,13 @@ nixpkgs_flake_package(
|
||||
package = "mkosi",
|
||||
)
|
||||
|
||||
nixpkgs_flake_package(
|
||||
name = "uplosi",
|
||||
nix_flake_file = "//:flake.nix",
|
||||
nix_flake_lock_file = "//:flake.lock",
|
||||
package = "uplosi",
|
||||
)
|
||||
|
||||
nixpkgs_package(
|
||||
name = "diffutils",
|
||||
repository = "@nixpkgs",
|
||||
@ -96,6 +103,21 @@ nixpkgs_package(
|
||||
repository = "@nixpkgs",
|
||||
)
|
||||
|
||||
nixpkgs_package(
|
||||
name = "parallel",
|
||||
repository = "@nixpkgs",
|
||||
)
|
||||
|
||||
nixpkgs_package(
|
||||
name = "cosign",
|
||||
repository = "@nixpkgs",
|
||||
)
|
||||
|
||||
nixpkgs_package(
|
||||
name = "rekor-cli",
|
||||
repository = "@nixpkgs",
|
||||
)
|
||||
|
||||
load("//nix/cc:nixpkgs_cc_libraries.bzl", "nixpkgs_cc_library_deps")
|
||||
|
||||
nixpkgs_cc_library_deps()
|
||||
|
11
flake.nix
11
flake.nix
@ -47,12 +47,23 @@
|
||||
]);
|
||||
}));
|
||||
|
||||
uplosiDev = (pkgsUnstable.uplosi.overrideAttrs (oldAttrs: rec {
|
||||
src = pkgsUnstable.fetchFromGitHub {
|
||||
owner = "edgelesssys";
|
||||
repo = "uplosi";
|
||||
rev = "0190e8c548b5811066b7e2d9db5e3167f51c005f";
|
||||
hash = "sha256-AHj3XTX+vd8QP4hWGPAt2iJnrIGoiH61UgQMK7vlYU0=";
|
||||
};
|
||||
}));
|
||||
|
||||
openssl-static = pkgsUnstable.openssl.override { static = true; };
|
||||
|
||||
in
|
||||
{
|
||||
packages.mkosi = mkosiDev;
|
||||
|
||||
packages.uplosi = uplosiDev;
|
||||
|
||||
packages.openssl = callPackage ./nix/cc/openssl.nix { pkgs = pkgsUnstable; };
|
||||
|
||||
packages.cryptsetup = callPackage ./nix/cc/cryptsetup.nix { pkgs = pkgsUnstable; pkgsLinux = import nixpkgsUnstable { system = "x86_64-linux"; }; };
|
||||
|
Loading…
Reference in New Issue
Block a user