From e2048ac05ba57ddddff9c6d91b288edf49a125ad Mon Sep 17 00:00:00 2001 From: Robert Rose Date: Sun, 17 Nov 2024 18:27:24 +0100 Subject: [PATCH] k3s: use nurl instead of nix-prefetch in update script The changes introduced with https://github.com/NixOS/nixpkgs/pull/354367 lead currently to an evaluation error when prefetching vendored go dependencies with `nix-prefetch`. Although this is probably a bug in `nix-prefetch`, I prefer to use `nurl` instead as it does the same thing, seems better maintained and doesn't block k3s updates even longer. --- pkgs/applications/networking/cluster/k3s/update-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/k3s/update-script.sh b/pkgs/applications/networking/cluster/k3s/update-script.sh index ac451806ff663..d6c0784050ca4 100755 --- a/pkgs/applications/networking/cluster/k3s/update-script.sh +++ b/pkgs/applications/networking/cluster/k3s/update-script.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p curl gnugrep gnused jq yq-go nix-prefetch +#!nix-shell -i bash -p curl gnugrep gnused jq nurl yq-go set -x -eu -o pipefail @@ -141,7 +141,7 @@ cat >versions.nix <