nixfiles/overlay/piped-overlay.nix

28 lines
925 B
Nix

{piped-flake}: (prev: final: let
system = final.system;
piped-flake-pkgs = piped-flake.packages.${system};
in {
inherit (piped-flake-pkgs) piped-frontend;
inherit (piped-flake-pkgs) piped-proxy piped-proxy-openssl;
inherit (piped-flake-pkgs) piped-proxy-full piped-proxy-full-openssl;
inherit (piped-flake-pkgs) piped-proxy-minimal piped-proxy-minimal-openssl;
# Won't build due to this; added a native-arm64 to all builders on arm64
# https://github.com/NixOS/nixpkgs/issues/255780
piped-backend =
(piped-flake-pkgs.piped-backend.override (prev: {
piped-backend-deps = prev.piped-backend-deps.overrideAttrs {
requiredSystemFeatures =
if system == "aarch64-linux"
then ["native-arm64"]
else [];
};
}))
.overrideAttrs {
requiredSystemFeatures =
if system == "aarch64-linux"
then ["native-arm64"]
else [];
};
})