Merge pull request #187022 from SuperSandro2000/linux-update-script

authored by

Sandro and committed by
GitHub
d941f93a d15c4093

+2 -2
+2 -2
pkgs/os-specific/linux/kernel/hardened/update.py
··· 1 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i python -p "python38.withPackages (ps: [ps.PyGithub])" git gnupg 2 + #! nix-shell -i python -p "python3.withPackages (ps: [ps.PyGithub])" git gnupg 3 3 4 4 # This is automatically called by ../update.sh. 5 5 ··· 201 201 (callPackage {NIXPKGS_KERNEL_PATH / filename} {{}}).version 202 202 """ 203 203 kernel_version_json = run( 204 - "nix-instantiate", "--eval", "--json", "--expr", nix_version_expr, 204 + "nix-instantiate", "--eval", "--system", "x86_64-linux", "--json", "--expr", nix_version_expr, 205 205 ).stdout 206 206 kernel_version = parse_version(json.loads(kernel_version_json)) 207 207 if kernel_version < MIN_KERNEL_VERSION: