···461 the `Cargo.lock`/`Cargo.toml` files need to be patched before462 vendoring.463464-In case the lockfile contains cargo `git` dependencies, you can use465-`fetchCargoVendor` instead.466-```nix467-{468- cargoDeps = rustPlatform.fetchCargoVendor {469- inherit src;470- hash = "sha256-RqPVFovDaD2rW31HyETJfQ0qVwFxoGEvqkIgag3H6KU=";471- };472-}473-```474-475If a `Cargo.lock` file is available, you can alternatively use the476`importCargoLock` function. In contrast to `fetchCargoVendor`, this477function does not require a hash (unless git dependencies are used)
···461 the `Cargo.lock`/`Cargo.toml` files need to be patched before462 vendoring.46300000000000464If a `Cargo.lock` file is available, you can alternatively use the465`importCargoLock` function. In contrast to `fetchCargoVendor`, this466function does not require a hash (unless git dependencies are used)
+2-2
lib/attrsets.nix
···17 /**18 Return an attribute from nested attribute sets.1920- Nix has an [attribute selection operator `. or`](https://nixos.org/manual/nix/stable/language/operators#attribute-selection) which is sufficient for such queries, as long as the number of attributes is static. For example:2122 ```nix23 (x.a.b or 6) == attrByPath ["a" "b"] 6 x···319 getAttrFromPath =320 attrPath:321 set:322- attrByPath attrPath (abort ("cannot find attribute `" + concatStringsSep "." attrPath + "'")) set;323324 /**325 Map each attribute in the given set and merge them into a new attribute set.
···17 /**18 Return an attribute from nested attribute sets.1920+ Nix has an [attribute selection operator `.`](https://nixos.org/manual/nix/stable/language/operators#attribute-selection) which is sufficient for such queries, as long as the number of attributes is static. For example:2122 ```nix23 (x.a.b or 6) == attrByPath ["a" "b"] 6 x···319 getAttrFromPath =320 attrPath:321 set:322+ attrByPath attrPath (abort ("cannot find attribute '" + concatStringsSep "." attrPath + "'")) set;323324 /**325 Map each attribute in the given set and merge them into a new attribute set.
···67buildGoModule rec {8 pname = "micromdm";9- version = "1.12.1";1011 src = fetchFromGitHub {12 owner = "micromdm";13 repo = "micromdm";14 rev = "v${version}";15- hash = "sha256-hFoInkeJAd5h6UiF19YE9f6kkIZRmhVFVvUAkSkSqlM=";16 };1718- vendorHash = "sha256-XYrv/cjma2ZYHs2x6hSXxifuS10Xa/zUx4s5O/OMLf4=";1920 meta = {21 description = "Mobile Device Management server for Apple Devices, focused on giving you all the power through an API";
···67buildGoModule rec {8 pname = "micromdm";9+ version = "1.13.0";1011 src = fetchFromGitHub {12 owner = "micromdm";13 repo = "micromdm";14 rev = "v${version}";15+ hash = "sha256-o/HK1bjaUwsSQG7QbYe0gFnD/OKV00cHXLXpftNa3iY=";16 };1718+ vendorHash = "sha256-aKm8a/PS+1ozImh1aL2EliALyUqjPMMBh4NTbL0H/ng=";1920 meta = {21 description = "Mobile Device Management server for Apple Devices, focused on giving you all the power through an API";