update: 2024.8.4 -> 2024.10.0
See https://docs.goauthentik.io/docs/releases/2024.10
This commit is contained in:
parent
4e1f5a6a36
commit
26829732e1
5 changed files with 36 additions and 11 deletions
|
|
@ -12,6 +12,9 @@ buildNapalmPackage "${authentik-src}/web" rec {
|
|||
ln -sv ${authentikComponents.docs} ../website
|
||||
ln -sv ${authentik-src}/package.json ../
|
||||
'';
|
||||
# upstream does not clearly separate development dependencies
|
||||
# from release build dependencies, therefore this workaround
|
||||
CHROMEDRIVER_SKIP_DOWNLOAD = "true";
|
||||
npmCommands = [
|
||||
"npm install --include=dev --nodedir=${nodejs}/include/node --loglevel verbose"
|
||||
"npm run build"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ buildGo123Module {
|
|||
"cmd/proxy"
|
||||
"cmd/radius"
|
||||
];
|
||||
vendorHash = "sha256-xaVEyG5fNGh/zmXkewve5V2q2W7u+hqo27GqabAV9H0=";
|
||||
vendorHash = "sha256-x5y+3s4PkiE5HieXOHNaMPPvSwhh8gJ73JkfQps1/nU=";
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
doCheck = false;
|
||||
postInstall = ''
|
||||
|
|
|
|||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -3,16 +3,16 @@
|
|||
"authentik-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1730315123,
|
||||
"narHash": "sha256-UYOdBlkGeIGCG/pCGLANWv1bKTdBEUp6jTiLG7BpY7E=",
|
||||
"lastModified": 1730324748,
|
||||
"narHash": "sha256-nhQl16FBK5eFSvBnwyDzmSQnJsIigRQpOxYtPlDPBxk=",
|
||||
"owner": "goauthentik",
|
||||
"repo": "authentik",
|
||||
"rev": "e8b5e4c1272151f4a3666e53754f7deefb8e2fb3",
|
||||
"rev": "6ce33ab912d764a87ec75876febcd57a6355f3c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "goauthentik",
|
||||
"ref": "version/2024.8.4",
|
||||
"ref": "version/2024.10.0",
|
||||
"repo": "authentik",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
};
|
||||
};
|
||||
authentik-src = { # change version string in outputs as well when updating
|
||||
url = "github:goauthentik/authentik/version/2024.8.4";
|
||||
url = "github:goauthentik/authentik/version/2024.10.0";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
{ inherit inputs; }
|
||||
({ inputs, lib, withSystem, ... }:
|
||||
let
|
||||
authentik-version = "2024.8.4"; # to pass to the drvs of some components
|
||||
authentik-version = "2024.10.0"; # to pass to the drvs of some components
|
||||
in {
|
||||
systems = import inputs.systems;
|
||||
flake = { self, ... }: {
|
||||
|
|
|
|||
|
|
@ -109,10 +109,32 @@ pkgs:
|
|||
'';
|
||||
});
|
||||
msgraph-sdk = prev.msgraph-sdk.overrideAttrs (oA: {
|
||||
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||
final.flit-core
|
||||
];
|
||||
});
|
||||
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||
final.flit-core
|
||||
];
|
||||
});
|
||||
python-kadmin = prev.python-kadmin.overrideAttrs (oA: {
|
||||
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||
final.setuptools
|
||||
final.poetry-core
|
||||
];
|
||||
buildInputs = oA.buildInputs ++ [
|
||||
pkgs.krb5
|
||||
];
|
||||
pythonImportsCheck = [ "kadmin" ];
|
||||
});
|
||||
gssapi = prev.gssapi.overrideAttrs (oA: {
|
||||
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||
final.setuptools
|
||||
final.cython
|
||||
pkgs.krb5 # needs krb5-config
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'get_output(f"{kc} gssapi --prefix")' '"${pkgs.krb5.dev}"'
|
||||
'';
|
||||
pythonImportsCheck = [ "gssapi" ];
|
||||
});
|
||||
}
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue