ejson2env 0 -> 1
attrpath: ejson2env
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] skipping because derivation has updateScript
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/x56nsqdc7zfg10dzzdhl54gq0i8smcxk-packages.json.drv
building '/nix/store/x56nsqdc7zfg10dzzdhl54gq0i8smcxk-packages.json.drv'...
Going to be running update for following packages:
- ejson2env-2.0.5
Press Enter key to continue...
Running update for:
- ejson2env-2.0.5: UPDATING ...
- ejson2env-2.0.5: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/tools/admin/ejson2env/default.nix b/pkgs/tools/admin/ejson2env/default.nix
index 9675d3775681..619a891ea38f 100644
--- a/pkgs/tools/admin/ejson2env/default.nix
+++ b/pkgs/tools/admin/ejson2env/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "ejson2env";
- version = "2.0.5";
+ version = "2.0.6";
src = fetchFromGitHub {
owner = "Shopify";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-HcUmFajbOUZ0T5Th6OA9WBtfTz646qLbXx8NVeJsVng=";
+ sha256 = "sha256-VXkWmmX+4D+j9ODSEeJJbIx+Bfni9d2X22BFQIe4kwk=";
};
- vendorHash = "sha256-agWcD8vFNde1SCdkRovMNPf+1KODxV8wW1mXvE0w/CI=";
+ vendorHash = "sha256-7oy8bCegsvv35zyo2aTFMSGZMFkArmxy0rOpK6WlubI=";
ldflags = [
"-s"
No auto update branch exists
Successfully finished processing
cachix "/nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6"
[check][nixpkgs-review]
Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for ejson2env is: Decrypt EJSON secrets and export them as environment variables
meta.homepage for ejson2env is: https://github.com/Shopify/ejson2env
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
- [Release on GitHub](https://github.com/Shopify/ejson2env/releases/tag/v2.0.6)
- [Compare changes on GitHub](https://github.com/Shopify/ejson2env/compare/v2.0.5...v2.0.6)
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 2.0.6 with grep in /nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6
- found 2.0.6 in filename of file in /nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6
---
Rebuild report (if merged into master) (click to expand)
```
2 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
ejson2env
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A ejson2env https://github.com/r-ryantm/nixpkgs/archive/4738ac4745c3bd5b44e4fda47377e544e29b525c.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/4738ac4745c3bd5b44e4fda47377e544e29b525c#ejson2env
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6
ls -la /nix/store/8zfhxchbsj4gbf5s7d7l9cn3fp4s76z7-ejson2env-2.0.6/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
---
###### Maintainer pings
cc @viraptor for [testing](https://github.com/ryantm/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
https://api.github.com/repos/NixOS/nixpkgs/pulls/316007