Files
nix/packages/linux-firmware-latest/default.nix
2025-06-12 13:12:24 +01:00

32 lines
630 B
Nix

{ pkgs, ... }:
# AUTO-UPDATE: nix-update --flake --version=branch=main linux-firmware
pkgs.stdenvNoCC.mkDerivation rec {
pname = "linux-firmware";
version = "20250509-unstable-2025-06-12";
src = pkgs.fetchFromGitLab {
owner = "kernel-firmware";
repo = pname;
rev = "0d92efb540f49e0aa254f0685b8a71b82608f5c1";
hash = "sha256-EwYluSaLL1Fp6QdFnPjSVxH1q5tVgjbo/Ub/fHbQkDs=";
};
postUnpack = ''
patchShebangs .
'';
nativeBuildInputs = with pkgs; [
python3
rdfind
which
];
installTargets = [
"install"
"dedup"
];
makeFlags = [ "DESTDIR=$(out)" ];
dontFixup = true;
}