mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
gns3-server: keep gns3loopack on windows host platforms
This commit is contained in:
parent
e206ee4cf3
commit
62eb157894
@ -7,6 +7,7 @@
|
|||||||
, python3
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkgsStatic
|
, pkgsStatic
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication {
|
python3.pkgs.buildPythonApplication {
|
||||||
@ -46,8 +47,8 @@ python3.pkgs.buildPythonApplication {
|
|||||||
zipstream
|
zipstream
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||||
rm $out/bin/gns3loopback # For Windows only
|
rm $out/bin/gns3loopback
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user