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

awesomebump: 4.0 -> 5.1 #30728

Merged
merged 2 commits into from Oct 24, 2017
Merged

awesomebump: 4.0 -> 5.1 #30728

merged 2 commits into from Oct 24, 2017

Conversation

pmiddend
Copy link
Contributor

Motivation for this change

awesomebump-5 is out now, I'd like to upgrade to the latest version. The build process is a bit complex due to the embedded QtnProperty dependency, but it seems to work. I'm a newbie to NixOS, so feel free to complain. :)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.


buildPhase = ''
cd Sources/utils/QtnProperty
unzip "${fetchurl { url = "https://github.com/kmkolasinski/QtnProperty/archive/master.zip"; sha256 = "1hd2bqxhv2w26b5xs5hwxc0s8q8z0bvlkz9zpnr814v8kwkqwp21"; } }"
Copy link
Member

Choose a reason for hiding this comment

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

Surely master can change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good catch. I've hard-coded the git revision now.

@Mic92 Mic92 changed the title awesomebump-4.0 -> 5.1 awesomebump: 4.0 -> 5.1 Oct 23, 2017
then all the hacks are not necessary
url = "https://github.com/kmkolasinski/AwesomeBump.git";
rev = "Winx32v${version}";
sha256 = "1c8b9jki0v8kzkvsvyv7q1w3s7j40br6ph15hh2xi0a1mpwckq56";
fetchSubmodules = true;
Copy link
Member

Choose a reason for hiding this comment

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

By using the submodule qtnproperty should be in sync with AwesomeBump.

@Mic92 Mic92 merged commit 56a6144 into NixOS:master Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants