File tree 3 files changed +12
-16
lines changed
3 files changed +12
-16
lines changed Original file line number Diff line number Diff line change
1
+ { nixpkgs , extra ? [ ] } :
2
+ nixpkgs . stdenv . mkDerivation rec {
3
+ name = "pfhub" ;
4
+ env = nixpkgs . buildEnv { name = name ; paths = buildInputs ; } ;
5
+ buildInputs = ( import ./build.nix { inherit nixpkgs ; } ) ++ extra ;
6
+ }
Original file line number Diff line number Diff line change 1
1
let
2
2
nixpkgs = import ./_nix/nixpkgs_version.nix ;
3
3
in
4
- nixpkgs . stdenv . mkDerivation rec {
5
- name = "pfhub" ;
6
- env = nixpkgs . buildEnv { name = name ; paths = buildInputs ; } ;
7
- buildInputs = [
8
- ( import ./_nix/build.nix { inherit nixpkgs ; } )
9
- ] ;
10
- }
4
+ import ./_nix/env.nix { inherit nixpkgs ; }
Original file line number Diff line number Diff line change 1
1
let
2
2
nixpkgs = import ./_nix/nixpkgs_version.nix ;
3
+ extra = [
4
+ nixpkgs . python36Packages . jupyter
5
+ nixpkgs . python36Packages . bokeh
6
+ ] ;
3
7
in
4
- nixpkgs . stdenv . mkDerivation rec {
5
- name = "pfhub" ;
6
- env = nixpkgs . buildEnv { name = name ; paths = buildInputs ; } ;
7
- buildInputs = [
8
- ( import ./_nix/build.nix { inherit nixpkgs ; } )
9
- nixpkgs . python36Packages . jupyter
10
- nixpkgs . python36Packages . bokeh
11
- ] ;
12
- }
8
+ import ./_nix/env.nix { inherit nixpkgs ; inherit extra ; }
You can’t perform that action at this time.
0 commit comments