diff options
author | Felix Buehler <account@buehler.rocks> | 2021-11-29 19:24:13 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-30 21:11:29 +0100 |
commit | 22dffe27f394427505d1c9006dcb6aebc6b9f85b (patch) | |
tree | 6a83be474c2b7aa0d3fa41cb572df841da3ea0c7 /pkgs/tools/networking/rp-pppoe | |
parent | 4f6849f7c416bcaf48b349a33890d67713838ec1 (diff) |
pkgs/tools: use pname&version instead of name
Diffstat (limited to 'pkgs/tools/networking/rp-pppoe')
-rw-r--r-- | pkgs/tools/networking/rp-pppoe/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/networking/rp-pppoe/default.nix b/pkgs/tools/networking/rp-pppoe/default.nix index fd3a563c209d8..572625651e9ab 100644 --- a/pkgs/tools/networking/rp-pppoe/default.nix +++ b/pkgs/tools/networking/rp-pppoe/default.nix @@ -1,9 +1,10 @@ { lib, stdenv, fetchurl, ppp } : let - version = "3.12"; in -stdenv.mkDerivation { - name = "rp-pppoe-" + version; +stdenv.mkDerivation rec { + pname = "rp-pppoe"; + version = "3.12"; + src = fetchurl { url = "https://www.roaringpenguin.com/files/download/rp-pppoe-${version}.tar.gz"; sha256 = "1hl6rjvplapgsyrap8xj46kc9kqwdlm6ya6gp3lv0ihm0c24wy80"; @@ -11,7 +12,6 @@ stdenv.mkDerivation { buildInputs = [ ppp ]; - preConfigure = '' cd src export PPPD=${ppp}/sbin/pppd |