gns3-server: keep gns3loopack on windows host platforms

This commit is contained in:
Anthony Roussel 2023-09-20 22:41:03 +02:00
parent e206ee4cf3
commit 62eb157894
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -7,6 +7,7 @@
, python3
, fetchFromGitHub
, pkgsStatic
, stdenv
}:
python3.pkgs.buildPythonApplication {
@ -46,8 +47,8 @@ python3.pkgs.buildPythonApplication {
zipstream
];
postInstall = ''
rm $out/bin/gns3loopback # For Windows only
postInstall = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
rm $out/bin/gns3loopback
'';
doCheck = true;