diff options
author | Felix Buehler <account@buehler.rocks> | 2021-12-07 20:40:23 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-12-24 15:51:27 +0100 |
commit | b5e0221e44c6367f7150cb65a4de78e8f29586b9 (patch) | |
tree | 0588a5058790a50ec4b0b8fc76204748e7aaa864 /pkgs/servers | |
parent | e5a24a242d9f011fe44f3389f7ba0131c32194a9 (diff) |
treewide: use pname&version instead of name
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/openafs/1.8/module.nix | 5 | ||||
-rw-r--r-- | pkgs/servers/openafs/1.9/module.nix | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/servers/openafs/1.8/module.nix b/pkgs/servers/openafs/1.8/module.nix index f8b2d222af17..02966d2ac70d 100644 --- a/pkgs/servers/openafs/1.8/module.nix +++ b/pkgs/servers/openafs/1.8/module.nix @@ -23,8 +23,9 @@ let in stdenv.mkDerivation { - name = "openafs-${version}-${kernel.modDirVersion}"; - inherit version src; + pname = "openafs"; + version = "${version}-${kernel.modDirVersion}"; + inherit src; nativeBuildInputs = [ autoconf automake flex libtool_2 perl which bison ] ++ kernel.moduleBuildDependencies; diff --git a/pkgs/servers/openafs/1.9/module.nix b/pkgs/servers/openafs/1.9/module.nix index 83fe7ac98a7c..9799454223b2 100644 --- a/pkgs/servers/openafs/1.9/module.nix +++ b/pkgs/servers/openafs/1.9/module.nix @@ -10,8 +10,9 @@ let kernelBuildDir = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; in stdenv.mkDerivation { - name = "openafs-${version}-${kernel.modDirVersion}"; - inherit version src; + pname = "openafs"; + version = "${version}-${kernel.modDirVersion}"; + inherit src; nativeBuildInputs = [ autoconf automake flex libtool_2 perl which bison ] ++ kernel.moduleBuildDependencies; |