mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
gns3-server: keep gns3loopack on windows host platforms
This commit is contained in:
parent
e206ee4cf3
commit
62eb157894
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue