nix flake pdate and drop mtp fix as we finally have libmtp 1.1.23
This commit is contained in:
1 parent
fc74a03ff9
commit
816daf4a62
3 files changed
+4
-35
No files matched your search
@@ -32,10 +32,9 @@
|
||||
../../modules/lazygit.nix
|
||||
../../modules/yazi.nix
|
||||
../../modules/cursor-cli.nix
|
||||
./mtp-fix.nix
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_7_1;
|
||||
# boot.kernelPackages = pkgs.linuxPackages_7_2;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(
|
||||
final: prev:
|
||||
let
|
||||
targetVersion = "1.1.23";
|
||||
in
|
||||
{
|
||||
libmtp =
|
||||
if builtins.compareVersions prev.libmtp.version targetVersion >= 0 then
|
||||
prev.libmtp
|
||||
else
|
||||
prev.libmtp.overrideAttrs (_: {
|
||||
version = targetVersion;
|
||||
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "libmtp";
|
||||
repo = "libmtp";
|
||||
rev = "v${targetVersion}";
|
||||
hash = "sha256-FlPj9PEeOAWabU11dFTzDgY9TBbgmJclbeL0iULYw6A=";
|
||||
};
|
||||
|
||||
patches = [ ];
|
||||
});
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user