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

zsdcc: init at unstable-2018-02-24 #35463

Closed
wants to merge 4 commits into from
Closed

Conversation

bignaux
Copy link
Contributor

@bignaux bignaux commented Feb 24, 2018

Motivation for this change

This provides only zsdcc and zsdcpp for z88dk. Not conflict with sdcc.
@bjornfor : can you have a look please since you are sdcc derivation maintainer ?

Things done

tested with z88dk example.

  • 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.

@bignaux bignaux changed the title zsdcc: init at Unstable-20180224 zsdcc: init at unstable-2018-02-24 Feb 24, 2018
@@ -0,0 +1,48 @@
{ stdenv, sdcc, fetchFromGitHub, ... }:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove ... and list each needed input explicitly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will i not lost the interest of derivate sdcc doing that ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand that question.


sdcc.overrideAttrs (oldAttrs: rec {
version = "2018-02-24";
name = "zsdcc-unstable-${version}"; # ${oldAttrs.version}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not happy about packaging unstable versions. To me, that means it's not ready for Nixpkgs / end users.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there is no release of zsdcc, and it's not target end users, but users of z88dk that wants to work with new clibs.

version = "2018-02-24";
name = "zsdcc-unstable-${version}"; # ${oldAttrs.version}

meta = oldAttrs.meta // {
Copy link
Contributor

Choose a reason for hiding this comment

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

The "meta" section is usually at the end of the file.

Copy link
Contributor

@bjornfor bjornfor left a comment

Choose a reason for hiding this comment

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

See inline comments.

@bjornfor
Copy link
Contributor

Oh, and please squash the commits. (It looks like only one logical change to me.)

@aanderse
Copy link
Member

@bignaux are you able to address the comments above?

@wamserma
Copy link
Member

wamserma commented May 8, 2020

This PR seems abandoned. @bignaux would you mind closing?

@aanderse
Copy link
Member

aanderse commented May 9, 2020

Easy enough to reopen PR if there is interest again.

@aanderse aanderse closed this May 9, 2020
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

6 participants