dotfiles/fixups.nix

22 lines
721 B
Nix
Raw Normal View History

2021-11-15 13:34:51 +01:00
(pkgs: super: {
# https://github.com/NixOS/nixpkgs/pull/145738
2022-01-17 20:35:48 +01:00
# tree = super.tree.overrideAttrs (o: {
# preConfigure = o.preConfigure + ''
# makeFlags+=("CC=$CC")
# '';
# makeFlags = pkgs.lib.filter (x: x != "CC=$CC") o.makeFlags;
# });
2022-03-16 15:54:46 +01:00
yubikey-manager = super.yubikey-manager.overrideAttrs (o: {
# remove after 7d8d3c71228756406b70e142411295affbbb3fa1 is merged
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'cryptography = "^2.1 || ^3.0"' 'cryptography = "*"'
substituteInPlace "ykman/pcsc/__init__.py" \
--replace 'pkill' '${pkgs.procps}/bin/pkill'
'';
});
2022-01-17 20:35:48 +01:00
notmuch = super.notmuch.overrideAttrs (o: {
doCheck = false;
2021-11-15 13:34:51 +01:00
});
})