git-trim 0.4.2 -> 0.4.3 https://github.com/foriequal0/git-trim/releases
attrpath: git-trim
Checking auto update branch...
No auto update branch exists
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] Replacing cargoHash with sha256-VbHvNhX/TA7R7mluhF+o2txjIU/6bPU/MqlpsBThmOc=
Received ExitFailure 1 when running
Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A git-trim
nix build failed.
[0m[0m[1m[32m Compiling[0m humantime v2.1.0
[0m[0m[1m[32m Compiling[0m either v1.8.0
[0m[0m[1m[32m Compiling[0m strsim v0.10.0
[0m[0m[1m[32m Compiling[0m smawk v0.3.1
[0m[0m[1m[32m Compiling[0m paw-raw v1.0.0
[0m[0m[1m[32m Compiling[0m zeroize v1.5.7
[0m[0m[1m[32m Compiling[0m openssl-probe v0.1.5
[0m[0m[1m[32m Compiling[0m rayon v1.6.0
[0m[0m[1m[32m Compiling[0m dialoguer v0.10.2
[0m[0m[1m[32m Compiling[0m env_logger v0.10.0
[0m[0m[1m[32m Compiling[0m unicode-linebreak v0.1.4
[0m[0m[1m[32m Compiling[0m thiserror-impl v1.0.37
[0m[0m[1m[32m Compiling[0m enum-iterator-derive v1.1.0
[0m[0m[1m[32m Compiling[0m getset v0.1.2
[0m[0m[1m[32m Compiling[0m clap_derive v4.0.21
[0m[0m[1m[32m Compiling[0m paw-attributes v1.0.2
[0m[0m[1m[32m Compiling[0m textwrap v0.16.0
[0m[0m[1m[32m Compiling[0m paw v1.0.0
[0m[0m[1m[32m Compiling[0m enum-iterator v1.1.3
[0m[0m[1m[32m Compiling[0m clap v4.0.29
[0m[0m[1m[32m Compiling[0m git2 v0.14.4
[0m[0m[1m[32m Compiling[0m git-trim v0.4.3 (/build/source)
[0m[0m[1m[31merror[0m[1m:[0m failed to run custom build command for `git-trim v0.4.3 (/build/source)`
Caused by:
process didn't exit successfully: `/build/source/target/release/build/git-trim-8fd5e2fe5aebaf00/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at 'Unable to generate the cargo keys!: could not find repository from '/build/source'; class=Repository (6); code=NotFound (-3)', build.rs:5:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[0m[0m[1m[33mwarning[0m[1m:[0m build failed, waiting for other jobs to finish...
git-trim 0.4.2 -> 0.4.4 https://repology.org/metapackage/git-trim/versions
attrpath: git-trim
Checking auto update branch...
No auto update branch exists
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] Replacing cargoHash with sha256-KCLMb8NXxjscrmKXkP/RbV+LsJqOG7zaClJGFiQ4o9k=
[rustCrateVersion] Finished updating Crate version and replacing hashes
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
[quotedUrls]
[quotedUrls] nothing found to replace
Diff after rewrites:
diff --git a/pkgs/applications/version-management/git-trim/default.nix b/pkgs/applications/version-management/git-trim/default.nix
index a20c750ade1..0ef5a678ee8 100644
--- a/pkgs/applications/version-management/git-trim/default.nix
+++ b/pkgs/applications/version-management/git-trim/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "git-trim";
- version = "0.4.2";
+ version = "0.4.4";
src = fetchFromGitHub {
owner = "foriequal0";
repo = pname;
rev = "v${version}";
- sha256 = "1rb9dhj7b7mjrhsvm9vw5gzjfxj10idnzv488jkfdz7sfhd3fcvz";
+ sha256 = "sha256-XAO3Qg5I2lYZVNx4+Z5jKHRIFdNwBJsUQwJXFb4CbvM=";
};
- cargoSha256 = "1gy77c1cnm2qpgf0fr03alvxi3936x36c032865a6ch8bzns7k5v";
+ cargoHash = "sha256-KCLMb8NXxjscrmKXkP/RbV+LsJqOG7zaClJGFiQ4o9k=";
nativeBuildInputs = [ pkg-config ];
Successfully finished processing
cachix "/nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4"
[check][nixpkgs-review]
Result of `nixpkgs-review` 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 https://repology.org/metapackage/git-trim/versions.
meta.description for git-trim is: Automatically trims your branches whose tracking remote refs are merged or gone
meta.homepage for git-trim is: https://github.com/foriequal0/git-trim
###### Updates performed
- Rust version update
###### To inspect upstream changes
- [Compare changes on GitHub](https://github.com/foriequal0/git-trim/compare/v0.4.2...v0.4.4)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.4.4 with grep in /nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4
- found 0.4.4 in filename of file in /nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4
---
Rebuild report (if merged into master) (click to expand)
```
1 total rebuild path(s)
1 package rebuild(s)
First fifty rebuilds by attrpath
git-trim
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4 \
--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 git-trim https://github.com/r-ryantm/nixpkgs/archive/305cec3e7ed4899fada9fcebfbb14928fe3e07c6.tar.gz
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4
ls -la /nix/store/dfghrh0ims05lmaqg6vk2nysf6bv46qa-git-trim-0.4.4/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` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
---
###### Maintainer pings
cc @marsam for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/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/211669