File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 30
30
name = "Ipld" ; # must match the name of the top-level .lean file
31
31
project = leanPkgs . buildLeanPackage {
32
32
inherit name ;
33
- # deps = [ lean-ipld.project.${system} ];
34
33
# Where the lean files are located
35
- src = ./src ;
34
+ src = ./. ;
36
35
} ;
37
36
test = leanPkgs . buildLeanPackage {
38
37
name = "Tests" ;
39
38
deps = [ project ] ;
40
39
# Where the lean files are located
41
- src = ./test ;
40
+ src = ./. ;
42
41
} ;
43
- joinDepsDerivationns = getSubDrv :
44
- pkgs . lib . concatStringsSep ":" ( map ( d : "${ getSubDrv d } " ) ( [ project ] ++ project . allExternalDeps ) ) ;
45
42
in
46
43
{
47
44
inherit project test ;
58
55
buildInputs = with pkgs ; [
59
56
leanPkgs . lean-dev
60
57
] ;
61
- LEAN_PATH = "./src:./test:" + joinDepsDerivationns ( d : d . modRoot ) ;
62
- LEAN_SRC_PATH = "./src:./test:" + joinDepsDerivationns ( d : d . src ) ;
58
+ LEAN_PATH = "./src:./test" ;
59
+ LEAN_SRC_PATH = "./src:./test" ;
63
60
} ;
64
61
} ) ;
65
62
}
You can’t perform that action at this time.
0 commit comments