diff options
author | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2022-01-19 11:35:10 +0100 |
---|---|---|
committer | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2022-01-19 11:35:10 +0100 |
commit | 3c434c4a998ac600d4b2be77ecdabbc3bbb96c9b (patch) | |
tree | 03a3e6f8b59954899493157bbe5d43646c0e2855 /pkgs/development/libraries/amdvlk/default.nix | |
parent | a29be1353f39dc104c4fb7e049571b75be9108d3 (diff) |
amdvlk: 2021.Q4.3 -> 2022.Q1.1
Diffstat (limited to 'pkgs/development/libraries/amdvlk/default.nix')
-rw-r--r-- | pkgs/development/libraries/amdvlk/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/amdvlk/default.nix b/pkgs/development/libraries/amdvlk/default.nix index 1ccb320054700..16fb32cf011f3 100644 --- a/pkgs/development/libraries/amdvlk/default.nix +++ b/pkgs/development/libraries/amdvlk/default.nix @@ -22,13 +22,13 @@ let in stdenv.mkDerivation rec { pname = "amdvlk"; - version = "2021.Q4.3"; + version = "2022.Q1.1"; src = fetchRepoProject { name = "${pname}-src"; manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git"; rev = "refs/tags/v-${version}"; - sha256 = "M+58gJjP33yOuq6RYN73HG7wACPaYRz7WFC/AFFGMzw="; + sha256 = "jdAFIC2JYPqCADx/73KM6E3rLFWF4SlEdY9lCK1NOhU="; }; buildInputs = [ @@ -87,11 +87,11 @@ in stdenv.mkDerivation rec { #!nix-shell -i bash -p coreutils curl gnused jq common-updater-scripts function setHash() { - sed -i "pkgs/development/libraries/amdvlk/default.nix" -e 's,sha256 = "[^.'"'"']*",sha256 = "'"$1"'",' + sed -i "pkgs/development/libraries/amdvlk/default.nix" -e 's,sha256 = "[^'"'"'"]*",sha256 = "'"$1"'",' } version="$(curl -sL "https://api.github.com/repos/GPUOpen-Drivers/AMDVLK/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" - sed -i "pkgs/development/libraries/amdvlk/default.nix" -e 's/version = "[^.'"'"']*"/version = "'"$version"'"/' + sed -i "pkgs/development/libraries/amdvlk/default.nix" -e 's/version = "[^'"'"'"]*"/version = "'"$version"'"/' setHash "$(nix-instantiate --eval -A lib.fakeSha256 | xargs echo)" hash="$(nix to-base64 $(nix-build -A amdvlk 2>&1 | tail -n3 | grep 'got:' | cut -d: -f2- | xargs echo || true))" |