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

game-rs: init at 0.1.3 #218590

Merged
merged 2 commits into from
Sep 29, 2023
Merged

game-rs: init at 0.1.3 #218590

merged 2 commits into from
Sep 29, 2023

Conversation

Amanse
Copy link
Contributor

@Amanse Amanse commented Feb 27, 2023

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

maintainers/maintainer-list.nix Outdated Show resolved Hide resolved
@wozeparrot
Copy link
Member

The vendor hash is showing up as different for me:

 specified: sha256-0W9FeGdlVQujbUJS9wRlMSw9q/m1W9t5NxRmRZ/fDEw=
    got:    sha256-dBUx7xh9b1gWe0Uc7GYti0r/qib+6jXxeSLu3Uk633c=

@Amanse
Copy link
Contributor Author

Amanse commented Mar 2, 2023

is that the cargo256sum? oh it needs updating after every change in dependencies, i'll use the lockFile argument then

@wozeparrot
Copy link
Member

Result of nixpkgs-review pr 218590 run on x86_64-linux 1

1 package built:
  • game-rs

Copy link
Member

@wozeparrot wozeparrot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be using fetchFromGitHub?

@Lord-Valen
Copy link
Contributor

Could you change the commit message to maintainers: add amanse?

@Amanse
Copy link
Contributor Author

Amanse commented Jun 23, 2023

done! apologies for the delay

@Amanse
Copy link
Contributor Author

Amanse commented Jun 23, 2023

oh no duplicate commits, I'll push the fix in a while

@Amanse Amanse changed the title game-rs: init at 0.1.1 game-rs: init at 0.1.3 Jun 26, 2023
@Amanse Amanse requested a review from Lord-Valen June 27, 2023 06:41
pkgs/misc/game-rs/Cargo.lock Outdated Show resolved Hide resolved
pkgs/misc/game-rs/default.nix Outdated Show resolved Hide resolved
@Amanse Amanse requested a review from Lord-Valen June 30, 2023 14:57
@Amanse Amanse requested a review from wozeparrot July 3, 2023 12:47
@wozeparrot
Copy link
Member

Vendor hash is different for me again:

         specified: sha256-8gpWV96E9BbvObwuzX6IEBEjrcDArbt04MM+FqAUvGQ=
            got:    sha256-aq58sFK4/Zd8S4dOWjag+g5PmTeaVAK3FS3fW/YlCLs=

@Amanse
Copy link
Contributor Author

Amanse commented Jul 3, 2023

i just did a nix-build -A game-rs on a new VM and it compiled successfully, is there something I'm doing wrong here?

@Lord-Valen
Copy link
Contributor

I'm pretty sure it has to do with fixed-output derivations. Since you built the previous version, and the hash was the same, Nix did not build the vendor derivation and thus did not discover a mismatch. Nix will always build with an empty hash. So, you should specify an empty hash whenever you update before testing. This guarantees that you will always see the correct hash.

@Amanse
Copy link
Contributor Author

Amanse commented Jul 4, 2023

that's what i did... that's why i created a new VM too so that nix store would be empty, it gave the mismatch error on empty string and then i used the hash it provided.
I will try from scratch again, see where i went wrong

@Lord-Valen
Copy link
Contributor

Did you ever figure this out?

@Lord-Valen
Copy link
Contributor

Result of nixpkgs-review pr 218590 run on x86_64-linux 1

1 package built:
  • game-rs

@Amanse
Copy link
Contributor Author

Amanse commented Sep 24, 2023

does wozeparrot need to approve too? or it's just waiting time?

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/2692

@wozeparrot
Copy link
Member

Result of nixpkgs-review pr 218590 run on x86_64-linux 1

1 package built:
  • game-rs

@lelgenio
Copy link

Result of nixpkgs-review pr 218590 run on x86_64-linux 1

1 package built:
  • game-rs

@wegank
Copy link
Member

wegank commented Sep 29, 2023

@ofborg build game-rs game-rs.passthru.tests

@wegank wegank merged commit 874b654 into NixOS:master Sep 29, 2023
23 checks passed
@github-actions
Copy link
Contributor

Successfully created backport PR for release-23.05:

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

7 participants