update: 2024.4.1 -> 2024.4.2
- removed patch for frontend package-lock.json, meaning IFD (import from
derivation) is no longer an issue
Flake lock file updates:
• Updated input 'authentik-src':
'github:goauthentik/authentik/ca70c963e55daf73b479a4513da06ac5cea77718' (2024-04-26)
→ 'github:goauthentik/authentik/1f5953b5b7e72c085246e8f19b94482dac946d83' (2024-05-07)
• Updated input 'poetry2nix':
'github:nix-community/poetry2nix/9245811b58905453033f1ef551f516cbee71c42c' (2024-04-26)
→ 'github:nix-community/poetry2nix/e6b36523407ae6a7a4dfe29770c30b3a3563b43a' (2024-05-06)
• Updated input 'poetry2nix/treefmt-nix':
'github:numtide/treefmt-nix/e504621290a1fd896631ddbc5e9c16f4366c9f65' (2024-02-19)
→ 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
This commit is contained in:
parent
47e376250e
commit
53e00921be
5 changed files with 14 additions and 83 deletions
|
|
@ -27,7 +27,6 @@ pkgs:
|
|||
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||
final.setuptools
|
||||
final.tomli
|
||||
final.cython-3
|
||||
pkgs.postgresql
|
||||
];
|
||||
});
|
||||
|
|
@ -42,7 +41,7 @@ pkgs:
|
|||
src = oA.src;
|
||||
sourceRoot = "${oA.pname}-${oA.version}/src/rust";
|
||||
name = "${oA.pname}-${oA.version}";
|
||||
sha256 = "sha256-qaXQiF1xZvv4sNIiR2cb5TfD7oNiYdvUwcm37nh2P2M=";
|
||||
sha256 = "sha256-Pw3ftpcDMfZr/w6US5fnnyPVsFSB9+BuIKazDocYjTU=";
|
||||
};
|
||||
});
|
||||
dnspython = prev.dnspython.overrideAttrs (oA: {
|
||||
|
|
@ -67,33 +66,6 @@ pkgs:
|
|||
final.poetry-core
|
||||
];
|
||||
});
|
||||
# alias because lxml references cython_3 in nativeBuildInputs
|
||||
cython_3 = final.cython-3;
|
||||
#pyyaml = pkgs.python312.pkgs.pyyaml;
|
||||
pyyaml = prev.pyyaml.overrideAttrs (oA:
|
||||
let
|
||||
# checks if derivation is cython with major version 3
|
||||
isNotCython3 = drv:
|
||||
let
|
||||
drvInfo = builtins.parseDrvName drv.name;
|
||||
isCython = pkgs.lib.hasSuffix "-cython" drvInfo.name;
|
||||
isVersion3 = pkgs.lib.versions.major drvInfo.version == "3";
|
||||
in
|
||||
isCython -> !isVersion3;
|
||||
|
||||
# removes cython3 derivation from list
|
||||
removeCython3 = builtins.filter isNotCython3;
|
||||
in
|
||||
{
|
||||
# pyyaml 6.0.1 doesn't build with cython3, see upstream nixpkgs
|
||||
nativeBuildInputs = (removeCython3 oA.nativeBuildInputs) ++ [
|
||||
pkgs.python312Packages.cython_0
|
||||
final.setuptools
|
||||
];
|
||||
buildInputs = oA.buildInputs ++ [
|
||||
pkgs.libyaml
|
||||
];
|
||||
});
|
||||
}
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue