File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 15
15
overlays = [ self . overlay ] ;
16
16
}
17
17
) ;
18
-
18
+ version = builtins . readFile ./version
19
+ + "." + builtins . substring 0 8 self . lastModifiedDate
20
+ + "." + ( self . shortRev or "dirty" ) ;
19
21
pkgs = nixpkgsFor . ${ "x86_64-linux" } ;
20
-
21
22
in
22
23
23
24
{
24
-
25
25
overlay = final : prev : {
26
-
27
26
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 ] ;
31
31
doCheck = true ;
32
32
} ;
33
33
38
38
tarball =
39
39
pkgs . releaseTools . sourceTarball rec {
40
40
name = "patchelf-tarball" ;
41
- version = builtins . readFile ./version
42
- + "." + builtins . substring 0 8 self . lastModifiedDate
43
- + "." + ( self . shortRev or "dirty" ) ;
41
+ inherit version ;
44
42
versionSuffix = "" ; # obsolete
45
43
src = self ;
46
44
preAutoconf = "echo ${ version } > version" ;
You can’t perform that action at this time.
0 commit comments