From 6dc6960872d5d46b7e04a1bc114f51f9d38acdcf Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Mon, 8 Jun 2026 16:41:22 +0200 Subject: [PATCH] prqlc: modernize --- pkgs/by-name/pr/prqlc/package.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/pr/prqlc/package.nix b/pkgs/by-name/pr/prqlc/package.nix index b8359220958e..7a727a4b0b2d 100644 --- a/pkgs/by-name/pr/prqlc/package.nix +++ b/pkgs/by-name/pr/prqlc/package.nix @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage (finalAttrs: { src = fetchFromGitHub { owner = "prql"; repo = "prql"; - rev = finalAttrs.version; + tag = finalAttrs.version; hash = "sha256-dVabMpXrdNV6hvUVk80mWuIpg8Vb0ZaJnrezO+FtbKg="; }; @@ -33,9 +33,7 @@ rustPlatform.buildRustPackage (finalAttrs: { zlib ]; - env = { - PYO3_PYTHON = "${python3}/bin/python3"; - }; + env.PYO3_PYTHON = "${python3}/bin/python3"; # we are only interested in the prqlc binary postInstall = '' @@ -45,7 +43,7 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "CLI for the PRQL compiler - a simple, powerful, pipelined SQL replacement"; homepage = "https://github.com/prql/prql"; - changelog = "https://github.com/prql/prql/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + changelog = "https://github.com/prql/prql/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; };