File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
pkgs/by-name/md/mdk3-master Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 55 wirelesstools ,
66} :
77
8- stdenv . mkDerivation rec {
8+ stdenv . mkDerivation ( finalAttrs : {
99 pname = "mdk3-master" ;
1010 version = "6-unstable-2015-05-24" ;
1111
@@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
1818
1919 runtimeDependencies = [ wirelesstools ] ;
2020
21+ # fix
22+ env . NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types" ;
23+
2124 installPhase = ''
2225 runHook preInstall
2326 make -C osdep install
@@ -26,13 +29,13 @@ stdenv.mkDerivation rec {
2629 runHook postInstall
2730 '' ;
2831
29- meta = with lib ; {
32+ meta = {
3033 description = "MDK3 fork able to force reboot Access Points" ;
3134 homepage = "https://github.com/charlesxsh/mdk3-master" ;
32- changelog = "https://github.com/charlesxsh/mdk3-master/blob/${ src . rev } /CHANGELOG" ;
33- license = licenses . gpl2Only ;
34- maintainers = with maintainers ; [ pinpox ] ;
35+ changelog = "https://github.com/charlesxsh/mdk3-master/blob/${ finalAttrs . src . rev } /CHANGELOG" ;
36+ license = lib . licenses . gpl2Only ;
37+ maintainers = with lib . maintainers ; [ pinpox ] ;
3538 mainProgram = "mdk3" ;
36- platforms = platforms . all ;
39+ platforms = lib . platforms . all ;
3740 } ;
38- }
41+ } )
You can’t perform that action at this time.
0 commit comments