dex-oidc: clean up overlay
This commit is contained in:
parent
091f1266f7
commit
b625818eeb
|
@ -18,23 +18,15 @@ with final; {
|
||||||
ceph_17_2 = assert (lib.versions.majorMinor ceph.version) == "17.2"; prev.ceph;
|
ceph_17_2 = assert (lib.versions.majorMinor ceph.version) == "17.2"; prev.ceph;
|
||||||
|
|
||||||
dex-oidc = prev.dex-oidc.override {
|
dex-oidc = prev.dex-oidc.override {
|
||||||
buildGoModule = let
|
buildGoModule = args: buildGoModule (args // {
|
||||||
ver = lib.versions.majorMinor prev.dex-oidc.version;
|
patches = args.patches or [ ] ++ [
|
||||||
in args: buildGoModule (args // {
|
|
||||||
patches = args.patches or [ ]
|
|
||||||
# remember session
|
# remember session
|
||||||
# TODO: remove 2.35 when 23.05 is stable
|
(fetchpatch {
|
||||||
++ lib.optional (ver == "2.35") (fetchpatch {
|
|
||||||
url = "https://github.com/dexidp/dex/commit/dd0fb05386ce89c74381ce49e903cc10b987459e.patch";
|
|
||||||
hash = "sha256-71py0pysgS3jDkKeqD/K4KJ821bolz/4PTjt2rDdUy8=";
|
|
||||||
})
|
|
||||||
++ lib.optional (ver == "2.36") (fetchpatch {
|
|
||||||
url = "https://github.com/dexidp/dex/commit/000004b13b876e04a6f75ec0394f7cabe84fb15e.patch";
|
url = "https://github.com/dexidp/dex/commit/000004b13b876e04a6f75ec0394f7cabe84fb15e.patch";
|
||||||
hash = "sha256-u85RnwfhcQt7RK11Ed/fDLUbHOuD+TKJU8UHQslZowM=";
|
hash = "sha256-u85RnwfhcQt7RK11Ed/fDLUbHOuD+TKJU8UHQslZowM=";
|
||||||
});
|
})
|
||||||
} // lib.optionalAttrs (ver == "2.35") {
|
];
|
||||||
vendorSha256 = "sha256-BxFiRHOGIJf3jTVtrw/QbnvG5gyfwAKQGd3IiWw5iVc=";
|
|
||||||
} // lib.optionalAttrs (ver == "2.36") {
|
|
||||||
vendorHash = "sha256-hxq7JPz8uD5WQIPO2anSf9+kzyoQy/BQ0OVTblA8qts=";
|
vendorHash = "sha256-hxq7JPz8uD5WQIPO2anSf9+kzyoQy/BQ0OVTblA8qts=";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user