summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2021-04-28 16:48:00 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2021-04-29 18:48:28 +0200
commit89435196454bedc8363b4bdf727bde179b08fcf4 (patch)
treefdfbefeb1bfdc858a2b18358f1c8aa2a0ab3f328 /pkgs/tools/system
parentabecdfea738e9be0f375f9d9019ed52b293f82d2 (diff)
downloadnixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar.gz
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar.bz2
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar.lz
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar.xz
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.tar.zst
nixpkgs-89435196454bedc8363b4bdf727bde179b08fcf4.zip
hwinfo: update meta information
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/hwinfo/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/hwinfo/default.nix b/pkgs/tools/system/hwinfo/default.nix
index 5272fb8666e..503df3a31f9 100644
--- a/pkgs/tools/system/hwinfo/default.nix
+++ b/pkgs/tools/system/hwinfo/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-u5EXU+BrTMeDbZAv8WyBTyFcZHdBIUMpJSLTYgf3Mo8=";
   };
 
-  patchPhase = ''
+  postPatch = ''
     # VERSION and changelog are usually generated using Git
     # unless HWINFO_VERSION is defined (see Makefile)
     export HWINFO_VERSION="${version}"
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "Hardware detection tool from openSUSE";
-    license = licenses.gpl2;
+    license = licenses.gpl2Only;
     homepage = "https://github.com/openSUSE/hwinfo";
     maintainers = with maintainers; [ bobvanderlinden ];
     platforms = platforms.linux;