Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appeditor: 1.1.0 -> 1.1.1 #94455

wants to merge 1 commit into from


Copy link

r-ryantm commented Aug 1, 2020

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for appeditor is: "Edit the Pantheon desktop application menu"

meta.homepage for appeditor is: ""

meta.changelog for appeditor is: ""

Updates performed
To inspect upstream changes
Checks done (click to expand)

Rebuild report (if merged into master) (click to expand)
3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1 \
  --option binary-caches '' \
  --option trusted-public-keys '

(r-ryantm's 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 appeditor

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1
ls -la /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1/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 1

1 package built:
  • appeditor

Maintainer pings

cc @xiorcale @worldofpeace for testing.

Copy link

ryantm left a comment

Looks like something went wrong with this update

Copy link

ryantm commented Aug 1, 2020

Looks like the updateScript failed, and it didn't properly exit the update process.

these derivations will be built:
these paths will be fetched (0.03 MiB download, 0.11 MiB unpacked):
copying path '/nix/store/70zpgy8q9swkgc1vlvspcnln03455vvi-nix-prefetch-0.3.1' from ''...
copying path '/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1' from ''...
building '/nix/store/81x4psimcacgkmiqkaja0pi0gjf1alv5-packages.json.drv'...
running post-build-hook '/nix/store/'...
/nix/store/19nj63a9kkf15nc2yq2cp3mdvzq4ixbh-stdenv-linux/setup: line 795: /tmp/env-vars: Permission denied

Going to be running update for following packages:
 - appeditor-1.1.0

Press Enter key to continue...
Running update for:
 - appeditor-1.1.0: UPDATING ...
 - appeditor-1.1.0: ERROR

--- SHOWING ERROR LOG FOR appeditor-1.1.0 ----------------------

error: Could not determine the runtime directory (i.e. XDG_RUNTIME_DIR).
$ nix eval --json (with import ./. {};
      pkg = appeditor;
      position = if pkg ? isRubyGem then
        builtins.unsafeGetAttrPos "version" pkg
        builtins.unsafeGetAttrPos "src" pkg;
    in {
      name =;
      old_version = (builtins.parseDrvName;
      filename = position.file;
      line = position.line;
      urls = pkg.src.urls or null;
      url = pkg.src.url or null;
      rev = pkg.src.url.rev or null;
      hash = pkg.src.outputHash;
      mod_sha256 = pkg.modSha256 or null;
      vendor_sha256 = pkg.vendorSha256 or null;
      cargo_sha256 = pkg.cargoSha256 or null;
Update 1.1.0 -> 1.1.1 in /var/cache/nixpkgs-update/nixpkgs/pkgs/applications/misc/appeditor/default.nix
$ nix-prefetch (import ./. {}).appeditor
Traceback (most recent call last):
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/bin/.nix-update-wrapped", line 9, in <module>
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/", line 142, in main
    package = update(options)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/", line 82, in update
    update_src_hash(opts, package.filename, package.hash)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/", line 42, in update_src_hash
    target_hash = nix_prefetch([f"(import {opts.import_path} {{}}).{opts.attribute}"])
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/", line 37, in nix_prefetch
    res = run(["nix-prefetch"] + cmd)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/", line 32, in run
    return, cwd=cwd, check=check, text=True, stdout=stdout)
  File "/nix/store/8hf2rpqx8fnx6a3jm9pvn0d40c065zxl-python3-3.8.3/lib/python3.8/", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nix-prefetch', '(import ./. {}).appeditor']' returned non-zero exit status 1.

--- SHOWING ERROR LOG FOR appeditor-1.1.0 ----------------------
@ryantm ryantm closed this Aug 1, 2020
@ryantm ryantm deleted the r-ryantm:auto-update/appeditor branch Aug 1, 2020
Copy link

worldofpeace commented Aug 2, 2020

@ryantm I'm using nix-update to update my packages now
It looks like there's an issue with running in nixpkgs-update.
I'm guessing a lot of my packages will fail to update with the bot now 😦

Copy link

worldofpeace commented Aug 2, 2020

I'm guessing from this it won't actually create a PR now ryantm/nixpkgs-update@f07e406

Copy link

ryantm commented Aug 2, 2020

@worldofpeace Yes, that's all correct of course. We'll have to figure out what's wrong with nix-update and r-ryantm. I made an issue to track this ryantm/nixpkgs-update#227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.