linux-libre: fix build and unmark as broken
This commit is contained in:
parent
807370df94
commit
8840f68cd4
1 changed files with 7 additions and 4 deletions
|
@ -14,9 +14,14 @@ let
|
|||
minor = lib.versions.minor linux.modDirVersion;
|
||||
patch = lib.versions.patch linux.modDirVersion;
|
||||
|
||||
# See http://linux-libre.fsfla.org/pub/linux-libre/releases
|
||||
versionPrefix = if linux.kernelOlder "5.14" then
|
||||
"gnu1"
|
||||
else
|
||||
"gnu";
|
||||
in linux.override {
|
||||
argsOverride = {
|
||||
modDirVersion = "${linux.modDirVersion}-gnu";
|
||||
modDirVersion = "${linux.modDirVersion}-${versionPrefix}";
|
||||
isLibre = true;
|
||||
|
||||
src = stdenv.mkDerivation {
|
||||
|
@ -35,10 +40,8 @@ in linux.override {
|
|||
'';
|
||||
};
|
||||
|
||||
extraMeta.broken = true;
|
||||
|
||||
passthru.updateScript = ./update-libre.sh;
|
||||
|
||||
maintainers = [ lib.maintainers.qyliss ];
|
||||
maintainers = with lib.maintainers; [ qyliss ivar ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue