File tree 7 files changed +282
-195
lines changed
7 files changed +282
-195
lines changed Original file line number Diff line number Diff line change 2
2
perSystem =
3
3
{ config , lib , ... } :
4
4
{
5
- devShells =
6
- lib . concatMapAttrs
7
- ( name : package : {
8
- ${ name } = package . passthru . shell ;
9
- ${ name + "-extra" } = package . passthru . shell-extra ;
10
- } )
11
- config . packages ;
5
+ devShells = lib . concatMapAttrs ( name : package : {
6
+ ${ name } = package . passthru . shell ;
7
+ ${ name + "-extra" } = package . passthru . shell-extra ;
8
+ } ) config . packages ;
12
9
} ;
13
10
}
Original file line number Diff line number Diff line change 26
26
config . cudaSupport = true ;
27
27
config . allowUnfreePredicate =
28
28
p :
29
- builtins . all
30
- (
31
- license :
32
- license . free
33
- || builtins . elem license . shortName [
34
- "CUDA EULA"
35
- "cuDNN EULA"
36
- ]
37
- )
38
- ( p . meta . licenses or [ p . meta . license ] ) ;
29
+ builtins . all (
30
+ license :
31
+ license . free
32
+ || builtins . elem license . shortName [
33
+ "CUDA EULA"
34
+ "cuDNN EULA"
35
+ ]
36
+ ) ( p . meta . licenses or [ p . meta . license ] ) ;
39
37
} ;
40
38
# Ensure dependencies use ROCm consistently
41
39
pkgsRocm = import inputs . nixpkgs {
You can’t perform that action at this time.
0 commit comments