##// END OF EJS Templates
nix: Propagate doCheck argument through nix files.
johbo -
r34:640a4096 default
parent child Browse files
Show More
@@ -1,13 +1,15 b''
1 { pkgs ? import <nixpkgs> {}
1 { pkgs ? import <nixpkgs> {}
2 , doCheck ? true
2 }:
3 }:
3
4
4 let
5 let
5
6
6 vcsserver = import ./default.nix {
7 vcsserver = import ./default.nix {
7 inherit
8 inherit
9 doCheck
8 pkgs;
10 pkgs;
9 };
11 };
10
12
11 in {
13 in {
12 build = vcsserver;
14 build = vcsserver;
13 }
15 }
@@ -1,13 +1,18 b''
1 { pkgs ? (import <nixpkgs> {})
1 { pkgs ? import <nixpkgs> {}
2 , doCheck ? false
2 }:
3 }:
3
4
4 let
5 let
5 vcsserver = import ./default.nix {inherit pkgs;};
6 vcsserver = import ./default.nix {
7 inherit
8 doCheck
9 pkgs;
10 };
6
11
7 in vcsserver.override (attrs: {
12 in vcsserver.override (attrs: {
8
13
9 # Avoid that we dump any sources into the store when entering the shell and
14 # Avoid that we dump any sources into the store when entering the shell and
10 # make development a little bit more convenient.
15 # make development a little bit more convenient.
11 src = null;
16 src = null;
12
17
13 })
18 })
General Comments 0
You need to be logged in to leave comments. Login now