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

emacsPackagesNg.lua-mode: Fix hash #56123

Merged
merged 1 commit into from Feb 22, 2019
Merged

Conversation

infinisil
Copy link
Member

Fixes #54641

While this file is indeed autogenerated (which usually means you shouldn't change it), it's okay in this case, because this change is supposed to only be temporary anyways, so it automatically gets "undone" when the next automatic update is done.

Ping @terlar @endgame @vlaci

I'm probably a bit late with this request, but if you still have them, can you upload the /nix/store paths of the older lua-mode version, @terlar? The /nix/store/sc08qxggk9nwj730s20yz8q81d7gfjgy-source one with hash 04m9njcpdmar3njjz4x2qq26xk0k6qprcfzx8whlmvapqf8w19iz. Preferably with nix-store --export /nix/store/sc08qxggk9nwj730s20yz8q81d7gfjgy-source > lua-source and then uploading the lua-source file. This would then be importable by other people with nix-store --import < lua-source.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@terlar
Copy link
Contributor

terlar commented Feb 21, 2019

I had cleaned that cache up, but fortunately I had another computer with nix that I haven't touched in a while that has this in the nix store.

Here is the file: [redacted]

How can I verify that this has the same hash? Although it should. Thanks for looking into this.

@infinisil
Copy link
Member Author

infinisil commented Feb 22, 2019

Thanks! A fixed output derivation only has the same hash when the output path is the same.

@infinisil infinisil merged commit baa9110 into NixOS:master Feb 22, 2019
@infinisil infinisil deleted the fix/lua-mode branch February 22, 2019 11:47
infinisil added a commit to infinisil/lua-mode that referenced this pull request Apr 4, 2020
This prevents GitHub's tarballs from changing depending on whether a
branch points to the commit or not. E.g. on latest master, %d would
evaluate to "master", whereas once master is updated again, the same
commit wouldn't be master anymore, meaning %d evaluates to "".

This is the cause for PRs NixOS/nixpkgs#56123 and
NixOS/nixpkgs#84277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants