Skip to content

Commit

Permalink
Switch back to using stdenv for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
andehen committed Jul 6, 2024
1 parent e81b90e commit 4846c7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/misc/snowsql/linux.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
lib,
stdevnNoCC,
stdenv,
fetchurl,
rpmextract,
makeWrapper,
Expand All @@ -11,7 +11,7 @@
pname,
meta,
}:
stdevnNoCC.mkDerivation (finalAttrs: {
stdenv.mkDerivation (finalAttrs: {
inherit pname version meta;
src = fetchurl {
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${lib.versions.majorMinor finalAttrs.version}/linux_x86_64/snowflake-snowsql-${finalAttrs.version}-1.x86_64.rpm";
Expand Down Expand Up @@ -46,6 +46,6 @@ stdevnNoCC.mkDerivation (finalAttrs: {

postFixup = ''
makeWrapper $out/lib/snowsql $out/bin/snowsql \
--set LD_LIBRARY_PATH "${libPath}":"$out/lib"
--set LD_LIBRARY_PATH "${finalAttrs.libPath}":"$out/lib"
'';
})

0 comments on commit 4846c7a

Please sign in to comment.