File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020
2121 officialRelease = false ;
2222
23- version = "1.8" + ( if officialRelease then "" else "pre${ builtins . substring 0 8 self . lastModifiedDate } .${ self . shortRev } " ) ;
23+ version = "1.8" + ( if officialRelease then "" else "pre${ builtins . substring 0 8 self . lastModifiedDate } .${ self . shortRev or "dirty" } " ) ;
2424
2525 pkgs = import nixpkgs {
2626 system = "x86_64-linux" ;
3838
3939 buildInputs = [ python2Packages . nose python2Packages . coverage ] ;
4040
41- nativeBuildInputs = [ pkgs . mypy ] ;
41+ nativeBuildInputs = [ mypy ] ;
4242
4343 propagatedBuildInputs = with python2Packages ;
4444 [ prettytable
7373 '' ;
7474
7575 # Needed by libcloud during tests.
76- SSL_CERT_FILE = "${ pkgs . cacert } /etc/ssl/certs/ca-bundle.crt" ;
76+ SSL_CERT_FILE = "${ cacert } /etc/ssl/certs/ca-bundle.crt" ;
7777
7878 # Add openssh to nixops' PATH. On some platforms, e.g. CentOS and RHEL
7979 # the version of openssh is causing errors with big networks (40+).
119119 distPhase =
120120 ''
121121 # Generate the manual and the man page.
122- cp ${ ( import ./doc/manual { revision = self . rev ; inherit nixpkgs ; } ) . optionsDocBook } doc/manual/machine-options.xml
122+ cp ${ ( import ./doc/manual { revision = self . rev or "dirty" ; inherit nixpkgs ; } ) . optionsDocBook } doc/manual/machine-options.xml
123123
124124 for i in scripts/nixops setup.py doc/manual/manual.xml; do
125125 substituteInPlace $i --subst-var-by version ${ version }
You can’t perform that action at this time.
0 commit comments