Commit 3e71b112 authored by Florian Franzen's avatar Florian Franzen
Browse files

flake: add dev shell

parent c9030ce1
......@@ -41,16 +41,25 @@
];
};
lib = pkgs.lib // utils.lib;
version = if self ? rev then (builtins.substring 0 7 self.rev)
else if self ? lastModifiedDate then self.lastModifiedDate
else "dirty";
in {
apps = {
testsuite = lib.mkApp {
testsuite = utils.lib.mkApp {
drv = pkgs.polkadot-testsuite;
};
};
devShell = pkgs.mkShell {
pname = "polkadot-tests-env";
inherit version;
inputsFrom = builtins.attrValues self.packages."${system}";
buildInputs = [ pkgs.gnumake ];
};
packages = pkgs.implementations // pkgs.testsuite;
}
......
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