···34 description = ''
35 A set of environment variables used in the global environment.
36 These variables will be set on shell initialisation (e.g. in /etc/profile).
037 The value of each variable can be either a string or a list of
38 strings. The latter is concatenated, interspersed with colon
39 characters.
00040 '';
41- type = with lib.types; attrsOf (oneOf [ (listOf (oneOf [ int str path ])) int str path ]);
42 apply = let
43 toStr = v: if lib.isPath v then "${v}" else toString v;
44- in lib.mapAttrs (n: v: if lib.isList v then lib.concatMapStringsSep ":" toStr v else toStr v);
45 };
4647 environment.profiles = lib.mkOption {
···34 description = ''
35 A set of environment variables used in the global environment.
36 These variables will be set on shell initialisation (e.g. in /etc/profile).
37+38 The value of each variable can be either a string or a list of
39 strings. The latter is concatenated, interspersed with colon
40 characters.
41+42+ Setting a variable to `null` does nothing. You can override a
43+ variable set by another module to `null` to unset it.
44 '';
45+ type = with lib.types; attrsOf (nullOr (oneOf [ (listOf (oneOf [ int str path ])) int str path ]));
46 apply = let
47 toStr = v: if lib.isPath v then "${v}" else toString v;
48+ 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);
49 };
5051 environment.profiles = lib.mkOption {
+3
nixos/modules/config/system-environment.nix
···21 list of strings. The latter is concatenated, interspersed with
22 colon characters.
2300024 Note, due to limitations in the PAM format values may not
25 contain the `"` character.
26
···21 list of strings. The latter is concatenated, interspersed with
22 colon characters.
2324+ Setting a variable to `null` does nothing. You can override a
25+ variable set by another module to `null` to unset it.
26+27 Note, due to limitations in the PAM format values may not
28 contain the `"` character.
29
···1314stdenvNoCC.mkDerivation rec {
15 pname = "cura-appimage";
16- version = "5.9.1";
1718 # Give some good names so the intermediate packages are easy
19 # to recognise by name in the Nix store.
···2223 src = fetchurl {
24 url = "https://github.com/Ultimaker/Cura/releases/download/${version}/Ultimaker-Cura-${version}-linux-X64.AppImage";
25- hash = "sha256-kkZGmpskFXEtTYHh62/Zyk6JBZsH5mSiQwzqrfjCrqU=";
26 };
2728 appimageContents = appimageTools.extract {
···1314stdenvNoCC.mkDerivation rec {
15 pname = "cura-appimage";
16+ version = "5.10.0";
1718 # Give some good names so the intermediate packages are easy
19 # to recognise by name in the Nix store.
···2223 src = fetchurl {
24 url = "https://github.com/Ultimaker/Cura/releases/download/${version}/Ultimaker-Cura-${version}-linux-X64.AppImage";
25+ hash = "sha256-8Km249t0m4YnOsyXyjJJD0y4n9kUCrA/AcsqBcrVf5Q=";
26 };
2728 appimageContents = appimageTools.extract {
···1diff --git a/albumentations/__init__.py b/albumentations/__init__.py
2-index 0b3b531..7c69c65 100644
3--- a/albumentations/__init__.py
4+++ b/albumentations/__init__.py
5-@@ -7,7 +7,3 @@ from .augmentations import *
6- from .core.composition import *
7- from .core.serialization import *
8- from .core.transforms_interface import *
9-
10-# Perform the version check after all other initializations
11-if os.getenv("NO_ALBUMENTATIONS_UPDATE", "").lower() not in {"true", "1"}:
···1diff --git a/albumentations/__init__.py b/albumentations/__init__.py
2+index 44ee9b9..ea3bc50 100644
3--- a/albumentations/__init__.py
4+++ b/albumentations/__init__.py
5+@@ -22,7 +22,3 @@ from .core.transforms_interface import *
6+7+ with suppress(ImportError):
8+ from .pytorch import *
9-
10-# Perform the version check after all other initializations
11-if os.getenv("NO_ALBUMENTATIONS_UPDATE", "").lower() not in {"true", "1"}: