File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,16 @@ rustPlatform.buildRustPackage rec {
1616 src = fetchFromGitHub {
1717 owner = "facebookincubator" ;
1818 repo = "below" ;
19- rev = "v${ version } " ;
20- sha256 = "sha256-87Fdx3Jqi3dNWM5DZl+UYs031qn2DoiiWd3IysT/glQ=" ;
19+ tag = "v${ version } " ;
20+ hash = "sha256-87Fdx3Jqi3dNWM5DZl+UYs031qn2DoiiWd3IysT/glQ=" ;
2121 } ;
2222
2323 useFetchCargoVendor = true ;
2424 cargoHash = "sha256-iRDe3zg7tfEYGLCRY6bJ6OdoT8ej0MB/vteCIf5xqNA=" ;
2525
26- prePatch = ''sed -i "s,ExecStart=.*/bin,ExecStart=$out/bin," etc/below.service'' ;
26+ prePatch = ''
27+ sed -i "s,ExecStart=.*/bin,ExecStart=$out/bin," etc/below.service
28+ '' ;
2729 postInstall = ''
2830 install -d $out/lib/systemd/system
2931 install -t $out/lib/systemd/system etc/below.service
@@ -48,11 +50,11 @@ rustPlatform.buildRustPackage rec {
4850 # needs /sys/fs/cgroup
4951 doCheck = false ;
5052
51- meta = with lib ; {
52- platforms = platforms . linux ;
53- maintainers = with maintainers ; [ globin ] ;
53+ meta = {
54+ platforms = lib . platforms . linux ;
55+ maintainers = with lib . maintainers ; [ globin ] ;
5456 description = "Time traveling resource monitor for modern Linux systems" ;
55- license = licenses . asl20 ;
57+ license = lib . licenses . asl20 ;
5658 homepage = "https://github.com/facebookincubator/below" ;
5759 mainProgram = "below" ;
5860 } ;
You can’t perform that action at this time.
0 commit comments