From 469a36cdb9a4c5616a119a44b4f4ed2baaa63705 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 21 Dec 2018 11:02:59 +0100 Subject: [PATCH] gns3-server: Switch to overrideAttrs --- pkgs/applications/networking/gns3/server.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index f3927d8cdd29..24e641abc826 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -4,7 +4,7 @@ let pythonPackages = python36Packages; - async-timeout = (stdenv.lib.overrideDerivation pythonPackages.async-timeout + async-timeout = pythonPackages.async-timeout.overrideAttrs (oldAttrs: rec { pname = "async-timeout"; @@ -13,8 +13,8 @@ let inherit pname version; sha256 = "1l3kg062m02mph6rf9rdv8r5c5n356clxa6b6mrn0i77vk9g9kq0"; }; - })); - aiohttp = (stdenv.lib.overrideDerivation pythonPackages.aiohttp + }); + aiohttp = pythonPackages.aiohttp.overrideAttrs (oldAttrs: rec { pname = "aiohttp"; @@ -25,8 +25,8 @@ let }; propagatedBuildInputs = [ async-timeout ] ++ (with pythonPackages; [ attrs chardet multidict yarl idna-ssl ]); - })); - aiohttp-cors = (stdenv.lib.overrideDerivation pythonPackages.aiohttp-cors + }); + aiohttp-cors = pythonPackages.aiohttp-cors.overrideAttrs (oldAttrs: rec { pname = "aiohttp-cors"; @@ -40,7 +40,7 @@ let ++ stdenv.lib.optional (pythonPackages.pythonOlder "3.5") pythonPackages.typing; - })); + }); in pythonPackages.buildPythonPackage rec { name = "${pname}-${version}"; pname = "gns3-server";