summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-08-31 11:41:23 +0000
committerSamuel Leathers <disasm@gmail.com>2019-08-31 07:41:22 -0400
commit7bb6b373ab163639386f6a8a8f710790226c49af (patch)
tree8182a64a14991ef398aafd7985811edfedd13ad7 /pkgs/os-specific
parent01c4c15ef55845de1052ed915b4f05b7b7059a75 (diff)
downloadnixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar.gz
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar.bz2
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar.lz
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar.xz
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.tar.zst
nixpkgs-7bb6b373ab163639386f6a8a8f710790226c49af.zip
treewide: name -> pname (#67513)
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/dstat/default.nix2
-rw-r--r--pkgs/os-specific/linux/kernel-headers/default.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/dstat/default.nix b/pkgs/os-specific/linux/dstat/default.nix
index 63b766b21a5..25d0eb1fd02 100644
--- a/pkgs/os-specific/linux/dstat/default.nix
+++ b/pkgs/os-specific/linux/dstat/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, python2Packages }:
 
 python2Packages.buildPythonApplication rec {
-  name = "dstat-${version}";
+  pname = "dstat";
   format = "other";
   version = "0.7.3";
 
diff --git a/pkgs/os-specific/linux/kernel-headers/default.nix b/pkgs/os-specific/linux/kernel-headers/default.nix
index 1e9b1c276d0..1699324546d 100644
--- a/pkgs/os-specific/linux/kernel-headers/default.nix
+++ b/pkgs/os-specific/linux/kernel-headers/default.nix
@@ -7,7 +7,8 @@ let
   makeLinuxHeaders = { src, version, patches ? [] }: stdenvNoCC.mkDerivation {
     inherit src;
 
-    name = "linux-headers-${version}";
+    pname = "linux-headers";
+    inherit version;
 
     ARCH = stdenvNoCC.hostPlatform.platform.kernelArch or stdenvNoCC.hostPlatform.kernelArch;