fix(packages/linux_jhovold): pad version to produce valid modVersion
This commit is contained in:
parent
cfbc504653
commit
1166c321f8
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ in
|
||||||
src = inputs.linux-jhovold;
|
src = inputs.linux-jhovold;
|
||||||
version = let
|
version = let
|
||||||
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
|
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
|
||||||
in builtins.elemAt (builtins.tail (builtins.split "xp-" lock.nodes.linux-jhovold.original.ref)) 1;
|
original = builtins.elemAt (builtins.tail (builtins.split "xp-" lock.nodes.linux-jhovold.original.ref)) 1;
|
||||||
|
modVersion = lib.versions.pad 3 original;
|
||||||
|
in modVersion;
|
||||||
|
|
||||||
defconfig = "johan_defconfig";
|
defconfig = "johan_defconfig";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue