@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "sha256-u5EXU+BrTMeDbZAv8WyBTyFcZHdBIUMpJSLTYgf3Mo8=";
1212 };
1313
14− patchPhase = ''
14+ postPatch = ''
1515 # VERSION and changelog are usually generated using Git
1616 # unless HWINFO_VERSION is defined (see Makefile)
1717 export HWINFO_VERSION="${version}"
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 meta = with lib; {
3434 description = "Hardware detection tool from openSUSE";
35− license = licenses.gpl2;
35+ license = licenses.gpl2Only;
3636 homepage = "https://github.com/openSUSE/hwinfo";
3737 maintainers = with maintainers; [ bobvanderlinden ];
3838 platforms = platforms.linux;