mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 15:06:14 -05:00
Prefer Native Shell on supported Linux installations
This commit is contained in:
37 files changed
+869
-250
No files matched your search
+11
-2
@@ -18,9 +18,13 @@ let
|
||||
'';
|
||||
binaries = unpack "gp-ci-binaries" "GP_BINARY_ARCHIVE";
|
||||
gui = unpack "gp-ci-gui" "GP_GUI_ARCHIVE";
|
||||
sourcePackage = gp.packages.${system}.fromSource.override { inherit gui; };
|
||||
nativeShellArchive = builtins.path {
|
||||
path = builtins.toPath (builtins.getEnv "GP_NSH_ARCHIVE");
|
||||
name = "gpgui-nsh.tar.xz";
|
||||
};
|
||||
sourcePackage = gp.packages.${system}.fromSource.override { inherit gui nativeShellArchive; };
|
||||
prebuiltInputs = {
|
||||
inherit binaries gui;
|
||||
inherit binaries gui nativeShellArchive;
|
||||
version = sourcePackage.version;
|
||||
};
|
||||
prebuiltPackage = gp.packages.${system}.prebuilt.override prebuiltInputs;
|
||||
@@ -52,6 +56,11 @@ in {
|
||||
package = sourcePackage;
|
||||
module = gp.nixosModules.default;
|
||||
};
|
||||
graphical-prebuilt = import ./tests/desktop-interfaces.nix {
|
||||
inherit pkgs;
|
||||
package = prebuiltPackage;
|
||||
module = gp.nixosModules.default;
|
||||
};
|
||||
runtime-prebuilt = import ./tests/native-runtime.nix {
|
||||
inherit pkgs;
|
||||
package = prebuiltPackage;
|
||||
|
||||
Reference in new issue
Block a user