mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-22 07:24:48 +02:00
fix: cleanup the nix packages
`curl` and `openssl` have to be specified with `.out` Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
5d2f58d9a2
commit
9680e32e82
10 changed files with 18 additions and 36 deletions
|
@ -1,15 +1,13 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2024 Matter Labs
|
||||
{ lib
|
||||
, gccStdenv
|
||||
, makeRustPlatform
|
||||
, nixsgx
|
||||
, pkg-config
|
||||
, rust-bin
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cargoToml = (builtins.fromTOML (builtins.readFile ../../Cargo.toml));
|
||||
cargoToml = builtins.fromTOML (builtins.readFile ../../Cargo.toml);
|
||||
rustVersion = rust-bin.fromRustupToolchainFile ../../rust-toolchain.toml;
|
||||
rustPlatform = makeRustPlatform {
|
||||
cargo = rustVersion;
|
||||
|
@ -18,7 +16,7 @@ let
|
|||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = cargoToml.package.name;
|
||||
version = cargoToml.workspace.package.version;
|
||||
inherit (cargoToml.workspace.package) version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue