Skip to content

Commit 1c3dd94

Browse files
packaging: add truststore as optional nixos dependency (#298)
* nix: add truststore as dependency * nix: add truststore as optional dependency Co-authored-by: Melody <[email protected]> --------- Co-authored-by: Melody <[email protected]>
1 parent e559e2e commit 1c3dd94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/nix/umu-launcher.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{pyth1 ,python3Packages , umu-launcher, pkgs,version, ...}:
1+
{lib, pyth1 ,python3Packages , umu-launcher, pkgs,version, truststore ? true, ...}:
22
python3Packages.buildPythonPackage {
33
pname = "umu-launcher";
44
version = "${version}";
@@ -20,7 +20,7 @@ python3Packages.buildPythonPackage {
2020
pkgs.python3Packages.xlib
2121
pkgs.python3Packages.filelock
2222
pkgs.python3Packages.urllib3
23-
];
23+
] ++ lib.optional truststore pkgs.python3Packages.truststore;
2424
makeFlags = [ "PYTHON_INTERPRETER=${pyth1}/bin/python" "SHELL_INTERPRETER=/run/current-system/sw/bin/bash" "DESTDIR=${placeholder "out"}" ];
2525
dontUseMesonConfigure = true;
2626
dontUseNinjaBuild = true;

0 commit comments

Comments
 (0)