Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 18 lines 536 B view raw
1{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args: 2 3with lib; 4 5buildLinux (args // rec { 6 version = "4.19.269"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = versions.pad 3 version; 10 11 # branchVersion needs to be x.y 12 extraMeta.branch = versions.majorMinor version; 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 sha256 = "02mjb16xxfj984vibpxvhjl84y5yg0jgzjccjdxnn8db4k9aa2vf"; 17 }; 18} // (args.argsOverride or {}))