From f75bb5063eef044cfdd8d71ef29af5ee21e35ee4 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 20 Nov 2024 17:19:19 +0300 Subject: [PATCH] Nix: Replace nix hash with nix hash convert. --- home/program/bash/module/Nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/program/bash/module/Nix.nix b/home/program/bash/module/Nix.nix index bc25b9f..cde775e 100644 --- a/home/program/bash/module/Nix.nix +++ b/home/program/bash/module/Nix.nix @@ -57,7 +57,7 @@ return 2 fi - local result=$(nix hash to-sri --type sha256 $(nix-prefetch-url "''${url}")) + local result=$(nix hash convert to-sri --type sha256 $(nix-prefetch-url "''${url}")) printf "%s" ''${result} | copy printf "%s\n" ''${result} }