mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 21:24:03 +00:00
![aleksana](/assets/img/avatar_default.png)
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 14635f8a87423f7682e22c4d4bc34551cfe1d10d Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
|
|
Date: Thu, 30 Jun 2022 07:33:44 +0000
|
|
Subject: [PATCH] make near-test-contracts optional
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
|
|
---
|
|
Cargo.lock | 1 -
|
|
tools/state-viewer/Cargo.toml | 2 +-
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/Cargo.lock b/Cargo.lock
|
|
index e1d8b2a83..3317587f5 100644
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -5253,7 +5253,6 @@ dependencies = [
|
|
"near-primitives",
|
|
"near-primitives-core",
|
|
"near-store",
|
|
- "near-test-contracts",
|
|
"nearcore",
|
|
"node-runtime",
|
|
"once_cell",
|
|
diff --git a/tools/state-viewer/Cargo.toml b/tools/state-viewer/Cargo.toml
|
|
index 02346bf71..51cfc4cb5 100644
|
|
--- a/tools/state-viewer/Cargo.toml
|
|
+++ b/tools/state-viewer/Cargo.toml
|
|
@@ -30,7 +30,7 @@ near-network = { path = "../../chain/network" }
|
|
near-primitives = { path = "../../core/primitives" }
|
|
near-primitives-core = { path = "../../core/primitives-core" }
|
|
near-store = { path = "../../core/store" }
|
|
-near-test-contracts = { path = "../../runtime/near-test-contracts" }
|
|
+#near-test-contracts = { path = "../../runtime/near-test-contracts" }
|
|
nearcore = { path = "../../nearcore" }
|
|
node-runtime = { path = "../../runtime/runtime" }
|
|
|
|
--
|
|
2.36.1
|
|
|