Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ let
]) (builtins.attrNames sharedLibDeps);
in
pkgs.mkShell {
inherit (pkgs.nodejs_latest) nativeBuildInputs;
inherit (pkgs.nodejs-slim_latest) nativeBuildInputs;

buildInputs =
buildInputs
Expand Down
4 changes: 2 additions & 2 deletions tools/nix/pkgs.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
arg:
let
repo = "https://github.com/NixOS/nixpkgs";
rev = "d1c15b7d5806069da59e819999d70e1cec0760bf";
rev = "e38213b91d3786389a446dfce4ff5a8aaf6012f2";
nixpkgs = import (builtins.fetchTarball {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "08f0iv9rn4d9ha35kblqpkrgbbnfby87bj8fx1839l3r4grqdnvg";
sha256 = "0nrbkm95nl6y96l0f95hraapp7zx10c01b8m95zj8056z57dlv65";
}) arg;
in
nixpkgs
15 changes: 1 addition & 14 deletions tools/nix/sharedLibDeps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,9 @@
// (pkgs.lib.optionalAttrs withSSL (
let
version = "3.5.5";
opensslSrc = "/pkgs/development/libraries/openssl/";
inherit
(pkgs.callPackage "${
pkgs.fetchgit {
url = "https://github.com/NixOS/nixpkgs.git";
rev = "a5b50d31e0fd60227495ad2b2760cbda3581ec77";
sparseCheckout = [ opensslSrc ];
nonConeMode = true;
hash = "sha256-Qo3IoUeccGO2GxFSYufyYjZmN5LGSek0z82pN73YXic=";
}
}${opensslSrc}" { })
openssl_3_6
;
in
{
openssl = openssl_3_6.overrideAttrs (old: {
openssl = pkgs.openssl_3_6.overrideAttrs (old: {
inherit version;
src = pkgs.fetchurl {
url = builtins.replaceStrings [ old.version ] [ version ] old.src.url;
Expand Down