File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,11 @@ with stdenv.lib; let
7676 yarnAlias = ''yarn() { ${ yarnCmd } $yarnFlags "$@"; }'' ;
7777
7878 npmFlagsYarn = [ "--offline" "--script-shell=${ shellWrap } /bin/npm-shell-wrap.sh" ] ;
79- npmFlagsNpm = [ "--cache=./npm-cache" "--nodedir=${ _nodejs } " ] ++ npmFlagsYarn ;
79+ npmFlagsNpm = [
80+ # `npm ci` treats cache parameter differently since npm 6.11.3:
81+ "--cache=${ if versionAtLeast _nodejs . version "10.17.0" then "./npm-cache/_cacache" else "./npm-cache" } "
82+ "--nodedir=${ _nodejs } "
83+ ] ++ npmFlagsYarn ;
8084
8185 commonEnv = {
8286 XDG_CONFIG_DIRS = "." ;
Original file line number Diff line number Diff line change 55 "homepage" : null ,
66 "owner" : " NixOS" ,
77 "repo" : " nixpkgs" ,
8- "rev" : " a36b2925a5082e821ad80b3a7bfedcc6e488b91c " ,
9- "sha256" : " 14sx173cg1g1lpd5hcarxxz8n78jsffr6pv9l05a58aq0ilgk328 " ,
8+ "rev" : " 93223f5cc35ccee76d000bb1a18781d35b99878b " ,
9+ "sha256" : " 0a52g32w9rxkdq81avzbx8vy8bdbxzkbh41qg8mdxl7wb9qcqv9v " ,
1010 "type" : " tarball" ,
11- "url" : " https://github.com/NixOS/nixpkgs/archive/a36b2925a5082e821ad80b3a7bfedcc6e488b91c .tar.gz" ,
11+ "url" : " https://github.com/NixOS/nixpkgs/archive/93223f5cc35ccee76d000bb1a18781d35b99878b .tar.gz" ,
1212 "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313 }
1414}
You can’t perform that action at this time.
0 commit comments