File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1515 overlays = [ self . overlay ] ;
1616 }
1717 ) ;
18-
18+ version = builtins . readFile ./version
19+ + "." + builtins . substring 0 8 self . lastModifiedDate
20+ + "." + ( self . shortRev or "dirty" ) ;
1921 pkgs = nixpkgsFor . ${ "x86_64-linux" } ;
20-
2122 in
2223
2324 {
24-
2525 overlay = final : prev : {
26-
2726 patchelf-new = final . stdenv . mkDerivation {
28- name = "patchelf-${ self . hydraJobs . tarball . version } " ;
29- src = "${ self . hydraJobs . tarball } /tarballs/*.tar.bz2" ;
30- nativeBuildInputs = [ pkgs . autoreconfHook ] ;
27+ pname = "patchelf" ;
28+ inherit version ;
29+ src = self ;
30+ nativeBuildInputs = [ final . autoreconfHook ] ;
3131 doCheck = true ;
3232 } ;
3333
3838 tarball =
3939 pkgs . releaseTools . sourceTarball rec {
4040 name = "patchelf-tarball" ;
41- version = builtins . readFile ./version
42- + "." + builtins . substring 0 8 self . lastModifiedDate
43- + "." + ( self . shortRev or "dirty" ) ;
41+ inherit version ;
4442 versionSuffix = "" ; # obsolete
4543 src = self ;
4644 preAutoconf = "echo ${ version } > version" ;
You can’t perform that action at this time.
0 commit comments