{riseup,calyx}-vpn: migrate to by-name (#503064)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
riseup-vpn,
|
||||
}:
|
||||
|
||||
riseup-vpn.override {
|
||||
provider = "calyx";
|
||||
}
|
||||
+11
-17
@@ -5,22 +5,16 @@
|
||||
git,
|
||||
fetchFromGitLab,
|
||||
buildGoModule,
|
||||
wrapQtAppsHook,
|
||||
python3,
|
||||
python3Packages,
|
||||
pkg-config,
|
||||
openvpn,
|
||||
cmake,
|
||||
qmake,
|
||||
which,
|
||||
iproute2,
|
||||
iptables,
|
||||
procps,
|
||||
qtbase,
|
||||
qtdeclarative,
|
||||
qtsvg,
|
||||
qttools,
|
||||
qtwayland,
|
||||
qt6,
|
||||
provider ? "riseup",
|
||||
}:
|
||||
|
||||
@@ -41,7 +35,7 @@ buildGoModule (finalAttrs: {
|
||||
# This patch fixes the paths in the build script generated by qmake
|
||||
# to use the correct paths for qmlcachegen and lrelease
|
||||
(replaceVars ./fix_paths.patch {
|
||||
inherit qtbase qtdeclarative qttools;
|
||||
inherit (qt6) qtbase qtdeclarative qttools;
|
||||
})
|
||||
|
||||
# Don't build the debug version
|
||||
@@ -80,23 +74,23 @@ buildGoModule (finalAttrs: {
|
||||
python3
|
||||
python3Packages.wrapPython
|
||||
which
|
||||
wrapQtAppsHook
|
||||
qmake
|
||||
qttools
|
||||
qtsvg
|
||||
qt6.wrapQtAppsHook
|
||||
qt6.qmake
|
||||
qt6.qttools
|
||||
qt6.qtsvg
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtdeclarative
|
||||
qtsvg
|
||||
qt6.qtbase
|
||||
qt6.qtdeclarative
|
||||
qt6.qtsvg
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ qt6.qtwayland ];
|
||||
|
||||
# Workaround qmake looking for lrelease in wrong package
|
||||
# Issue: https://github.com/NixOS/nixpkgs/issues/214765
|
||||
qmakeFlags = [
|
||||
"QT_TOOL.lrelease.binary=${lib.getDev qttools}/bin/lrelease"
|
||||
"QT_TOOL.lrelease.binary=${lib.getDev qt6.qttools}/bin/lrelease"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
@@ -2052,10 +2052,6 @@ with pkgs;
|
||||
|
||||
bluetooth_battery = python3Packages.callPackage ../applications/misc/bluetooth_battery { };
|
||||
|
||||
calyx-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn {
|
||||
provider = "calyx";
|
||||
};
|
||||
|
||||
cffconvert = python3Packages.toPythonApplication python3Packages.cffconvert;
|
||||
|
||||
clickhouse-lts = callPackage ../by-name/cl/clickhouse/lts.nix { };
|
||||
@@ -3104,10 +3100,6 @@ with pkgs;
|
||||
|
||||
remarshal = with python3Packages; toPythonApplication remarshal;
|
||||
|
||||
riseup-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn {
|
||||
provider = "riseup";
|
||||
};
|
||||
|
||||
rtaudio = rtaudio_5;
|
||||
|
||||
mpi = openmpi; # this attribute should used to build MPI applications
|
||||
|
||||
Reference in New Issue
Block a user