···3434 description = ''
3535 A set of environment variables used in the global environment.
3636 These variables will be set on shell initialisation (e.g. in /etc/profile).
3737+3738 The value of each variable can be either a string or a list of
3839 strings. The latter is concatenated, interspersed with colon
3940 characters.
4141+4242+ Setting a variable to `null` does nothing. You can override a
4343+ variable set by another module to `null` to unset it.
4044 '';
4141- type = with lib.types; attrsOf (oneOf [ (listOf (oneOf [ int str path ])) int str path ]);
4545+ type = with lib.types; attrsOf (nullOr (oneOf [ (listOf (oneOf [ int str path ])) int str path ]));
4246 apply = let
4347 toStr = v: if lib.isPath v then "${v}" else toString v;
4444- in lib.mapAttrs (n: v: if lib.isList v then lib.concatMapStringsSep ":" toStr v else toStr v);
4848+ in attrs: lib.mapAttrs (n: v: if lib.isList v then lib.concatMapStringsSep ":" toStr v else toStr v) (lib.filterAttrs (n: v: v != null) attrs);
4549 };
46504751 environment.profiles = lib.mkOption {
+3
nixos/modules/config/system-environment.nix
···2121 list of strings. The latter is concatenated, interspersed with
2222 colon characters.
23232424+ Setting a variable to `null` does nothing. You can override a
2525+ variable set by another module to `null` to unset it.
2626+2427 Note, due to limitations in the PAM format values may not
2528 contain the `"` character.
2629
···13131414stdenvNoCC.mkDerivation rec {
1515 pname = "cura-appimage";
1616- version = "5.9.1";
1616+ version = "5.10.0";
17171818 # Give some good names so the intermediate packages are easy
1919 # to recognise by name in the Nix store.
···22222323 src = fetchurl {
2424 url = "https://github.com/Ultimaker/Cura/releases/download/${version}/Ultimaker-Cura-${version}-linux-X64.AppImage";
2525- hash = "sha256-kkZGmpskFXEtTYHh62/Zyk6JBZsH5mSiQwzqrfjCrqU=";
2525+ hash = "sha256-8Km249t0m4YnOsyXyjJJD0y4n9kUCrA/AcsqBcrVf5Q=";
2626 };
27272828 appimageContents = appimageTools.extract {
···11diff --git a/albumentations/__init__.py b/albumentations/__init__.py
22-index 0b3b531..7c69c65 100644
22+index 44ee9b9..ea3bc50 100644
33--- a/albumentations/__init__.py
44+++ b/albumentations/__init__.py
55-@@ -7,7 +7,3 @@ from .augmentations import *
66- from .core.composition import *
77- from .core.serialization import *
88- from .core.transforms_interface import *
55+@@ -22,7 +22,3 @@ from .core.transforms_interface import *
66+77+ with suppress(ImportError):
88+ from .pytorch import *
99-
1010-# Perform the version check after all other initializations
1111-if os.getenv("NO_ALBUMENTATIONS_UPDATE", "").lower() not in {"true", "1"}: