File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ pkgs.mkShell {
1919 ( import ../nix/testenv.nix { inherit pkgs ; } )
2020 ( import ../nix/chainmain.nix { inherit pkgs ; } )
2121 ( import ../nix/hermes.nix { inherit pkgs ; } )
22+ ( import ../nix/expansion.nix { inherit pkgs ; } )
2223 ] ;
2324}
Original file line number Diff line number Diff line change 1+ { pkgs } :
2+ let
3+ project_root = builtins . toString ../integration_tests ;
4+ dotenv = builtins . path { name = "dotenv" ; path = ../scripts/.env ; } ;
5+ expansion = builtins . toString ../integration_tests/expansion.py ;
6+ in with pkgs ;
7+ stdenv . mkDerivation {
8+ name = "expansion" ;
9+ buildInputs = [
10+ ( import ../nix/testenv.nix { inherit pkgs ; } )
11+ ] ;
12+ buildCommand = ''
13+ mkdir -p $out
14+ cp ${ dotenv } $out
15+ cd ${ project_root }
16+ python ${ expansion }
17+ '' ;
18+ }
You can’t perform that action at this time.
0 commit comments