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
Generated
+3
-3
@@ -38,11 +38,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1789114715,
|
||||
"narHash": "sha256-ugpsyk3NM2s87vXfUiIIiibbJ4Pp0JPS5p/3mfs+q+c=",
|
||||
"lastModified": 1789344334,
|
||||
"narHash": "sha256-vdhpDJ3Lr24lkZ+fDCjmBRRtw9/vcSzkqGJOJyF5h2U=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "21a67dc470149f337cecafbe965d8d252a390518",
|
||||
"rev": "c3eea5b2156db11c7eeeada3dc737711255b253e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -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