Commit ac082ce9 authored by Florian Franzen's avatar Florian Franzen
Browse files

flake: move source out of packages

parent a69cb8f8
......@@ -5,6 +5,17 @@
final: prev:
let
# Work-arounds for limitation of current stable nixUnstable
sources = {
# Add submodules polkadot-tests source
polkadot-tests = builtins.fetchGit {
url = "git://github.com/w3f/polkadot-tests";
ref = "main";
inherit (polkadot-tests) rev;
submodules = true;
};
};
# Support derivations and environments used during build
support = with final; {
# Nigthly rust with rust-std for wasm target
......@@ -62,14 +73,6 @@ let
# Specification Testsuite binaries (buildable)
testsuite = with final; {
# Turn source in derivation including submodules
polkadot-tests = builtins.fetchGit {
url = "git://github.com/w3f/polkadot-tests";
ref = "main";
inherit (polkadot-tests) rev;
submodules = true;
};
# Adapters
substrate-adapter = callPackage ./adapters/substrate.nix {};
kagome-adapter = callPackage ./adapters/kagome.nix {};
......@@ -94,8 +97,7 @@ let
# Export some of the package sets as subset.
virtual = {
inherit implementations testsuite dependencies environments;
inherit implementations dependencies testsuite environments;
};
in
support // dependencies // implementations // testsuite // virtual
sources // support // dependencies // implementations // testsuite // virtual
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment