Skip to content

Commit

Permalink
nix: add truststore as optional dependency
Browse files Browse the repository at this point in the history
Co-authored-by: Melody <[email protected]>
  • Loading branch information
R1kaB3rN and LovingMelody committed Dec 6, 2024
1 parent e376620 commit 1384e98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packaging/nix/umu-launcher.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{pyth1 ,python3Packages , umu-launcher, pkgs,version, ...}:
{lib, pyth1 ,python3Packages , umu-launcher, pkgs,version, truststore ? true, ...}:
python3Packages.buildPythonPackage {
pname = "umu-launcher";
version = "${version}";
Expand All @@ -20,8 +20,7 @@ python3Packages.buildPythonPackage {
pkgs.python3Packages.xlib
pkgs.python3Packages.filelock
pkgs.python3Packages.urllib3
pkgs.python3Packages.truststore
];
] ++ lib.optional truststore pkgs.python3Packages.truststore;
makeFlags = [ "PYTHON_INTERPRETER=${pyth1}/bin/python" "SHELL_INTERPRETER=/run/current-system/sw/bin/bash" "DESTDIR=${placeholder "out"}" ];
dontUseMesonConfigure = true;
dontUseNinjaBuild = true;
Expand Down

0 comments on commit 1384e98

Please sign in to comment.