Skip to content

Commit

Permalink
flake: Bump inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Dec 24, 2024
1 parent f280b25 commit 0a65248
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 28 deletions.
1 change: 0 additions & 1 deletion build/hacks/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ in
cryptography =
(hacks.importCargoLock {
prev = prev.cryptography;
cargoRoot = "src/rust";
}).overrideAttrs
(old: {
nativeBuildInputs =
Expand Down
51 changes: 28 additions & 23 deletions build/pkgs/cffi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,35 @@
resolveBuildSystem,
pkg-config,
libffi,
lib,
}:
stdenv.mkDerivation {
inherit (python3Packages.cffi)
pname
version
src
meta
patches
postPatch
;
stdenv.mkDerivation (
{
inherit (python3Packages.cffi)
pname
version
src
meta
patches
;

env = {
inherit (python3Packages.cffi) NIX_CFLAGS_COMPILE;
};
env = {
inherit (python3Packages.cffi) NIX_CFLAGS_COMPILE;
};

buildInputs = [ libffi ];
buildInputs = [ libffi ];

nativeBuildInputs =
[
pyprojectHook
pkg-config
python
]
++ resolveBuildSystem {
setuptools = [ ];
};
}
nativeBuildInputs =
[
pyprojectHook
pkg-config
python
]
++ resolveBuildSystem {
setuptools = [ ];
};
}
// lib.optionalAttrs (python3Packages.cffi ? postPatch) {
inherit (python3Packages.cffi) postPatch;
}
)
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a65248

Please sign in to comment.