diff options
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/ldap/389/default.nix | 6 | ||||
-rw-r--r-- | pkgs/servers/ldap/lldap/default.nix | 3 | ||||
-rw-r--r-- | pkgs/servers/matrix-synapse/default.nix | 5 | ||||
-rw-r--r-- | pkgs/servers/matrix-synapse/matrix-hookshot/default.nix | 6 | ||||
-rw-r--r-- | pkgs/servers/sql/postgresql/default.nix | 4 |
5 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/servers/ldap/389/default.nix b/pkgs/servers/ldap/389/default.nix index c14caa53175..47003f8b56a 100644 --- a/pkgs/servers/ldap/389/default.nix +++ b/pkgs/servers/ldap/389/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , autoconf , automake +, cargo , libtool , pkg-config , cracklib @@ -25,6 +26,7 @@ , pcre2 , python3 , rustPlatform +, rustc , openssl , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd , zlib @@ -57,8 +59,8 @@ stdenv.mkDerivation rec { libtool pkg-config python3 - rustPlatform.rust.cargo - rustPlatform.rust.rustc + cargo + rustc ] ++ lib.optional withCockpit rsync; diff --git a/pkgs/servers/ldap/lldap/default.nix b/pkgs/servers/ldap/lldap/default.nix index c4c6e1cc438..1eb885be785 100644 --- a/pkgs/servers/ldap/lldap/default.nix +++ b/pkgs/servers/ldap/lldap/default.nix @@ -6,6 +6,7 @@ , lldap , nixosTests , rustPlatform +, rustc , stdenv , wasm-bindgen-cli , wasm-pack @@ -25,7 +26,7 @@ let # replace with upstream wasm rustc, after resolution of # https://github.com/NixOS/nixpkgs/issues/89426 - rustc-wasm = (rustPlatform.rust.rustc.override { + rustc-wasm = (rustc.override { stdenv = stdenv.override { targetPlatform = stdenv.targetPlatform // { parsed = { diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index 70ad9591161..cc1a695d601 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform +{ lib, stdenv, fetchFromGitHub, python3, openssl, cargo, rustPlatform, rustc , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd , nixosTests , enableRedis ? true @@ -38,10 +38,9 @@ buildPythonApplication rec { poetry-core rustPlatform.cargoSetupHook setuptools-rust - ] ++ (with rustPlatform.rust; [ cargo rustc - ]); + ]; buildInputs = [ openssl ]; diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix index 840860f90d9..bf5cecd821f 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix @@ -6,7 +6,9 @@ , matrix-sdk-crypto-nodejs , mkYarnPackage , rust +, cargo , rustPlatform +, rustc , napi-rs-cli , nodejs }: @@ -44,8 +46,8 @@ mkYarnPackage rec { nativeBuildInputs = [ rustPlatform.cargoSetupHook - rustPlatform.rust.cargo - rustPlatform.rust.rustc + cargo + rustc napi-rs-cli makeWrapper ]; diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index 48b94841548..b97ba8ad975 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -22,7 +22,7 @@ let # JIT , jitSupport ? false , nukeReferences, patchelf, llvmPackages - , makeRustPlatform, buildPgxExtension, rustPlatform + , makeRustPlatform, buildPgxExtension, cargo, rustc # detection of crypt fails when using llvm stdenv, so we add it manually # for <13 (where it got removed: https://github.com/postgres/postgres/commit/c45643d618e35ec2fe91438df15abd4f3c0d85ca) @@ -215,7 +215,7 @@ let stdenv = stdenv'; rustPlatform = makeRustPlatform { stdenv = stdenv'; - inherit (rustPlatform.rust) rustc cargo; + inherit rustc cargo; }; }; }; |