diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index 9448adc00c00..00d84dddfd9d 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -35,28 +35,23 @@ python3Packages.buildPythonApplication { build-system = with python3Packages; [ setuptools ]; - dependencies = - with python3Packages; - [ - aiofiles - aiohttp - aiohttp-cors - async-generator - distro - jinja2 - jsonschema - multidict - platformdirs - prompt-toolkit - psutil - py-cpuinfo - sentry-sdk - truststore - yarl - ] - ++ lib.optionals (pythonOlder "3.9") [ - importlib-resources - ]; + dependencies = with python3Packages; [ + aiofiles + aiohttp + aiohttp-cors + async-generator + distro + jinja2 + jsonschema + multidict + platformdirs + prompt-toolkit + psutil + py-cpuinfo + sentry-sdk + truststore + yarl + ]; postInstall = lib.optionalString (!stdenv.hostPlatform.isWindows) '' rm $out/bin/gns3loopback