diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-09-20 22:41:03 +0200 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-09-20 23:19:12 +0200 |
commit | 62eb1578944f01e36264129b1d2342251f346787 (patch) | |
tree | c76eeb140f81a48e0c9bd483b2378427adbb868e | |
parent | e206ee4cf3b4fd8b5bf848d115b4a6baa305f632 (diff) | |
download | nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar.gz nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar.bz2 nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar.lz nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar.xz nixpkgs-62eb1578944f01e36264129b1d2342251f346787.tar.zst nixpkgs-62eb1578944f01e36264129b1d2342251f346787.zip |
gns3-server: keep gns3loopack on windows host platforms
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index 98ae803492f..48d48de83b2 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -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; |