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

kiwix: refactor and fix expression #23525

Merged
merged 2 commits into from Mar 7, 2017
Merged

Conversation

oxij
Copy link
Member

@oxij oxij commented Mar 5, 2017

Motivation for this change

OCD. Also doesn't build properly without patching ctpp2's stdenv.

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

@mention-bot
Copy link

@oxij, thanks for your PR! By analyzing the history of the files in this pull request, we identified @robbinch, @aske and @dezgeg to be potential reviewers.

@@ -28,6 +28,7 @@ let
then { tar = xulrunner64_tar; sdk = xulrunnersdk64_tar; }
else { tar = xulrunner32_tar; sdk = xulrunnersdk32_tar; };

ctpp2 = callPackage ../../../development/libraries/ctpp2 { inherit stdenv; };
Copy link
Member

Choose a reason for hiding this comment

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

Sorry I do not understand the purpose of using callPackage here. How is stdenv in this context different?

Copy link
Member

Choose a reason for hiding this comment

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

From all-packages.nix:

  kiwix = callPackage ../applications/misc/kiwix {
    stdenv = overrideCC stdenv gcc49;
  };

@Mic92
Copy link
Member

Mic92 commented Mar 6, 2017

Also related to #23253

@Mic92 Mic92 added this to the 17.03 milestone Mar 6, 2017
@grahamc
Copy link
Member

grahamc commented Mar 7, 2017

kiwix appears to still be broken after this PR?

error: cannot coerce a set to a string, at /home/grahamc/projects/nixpkgs/pkgs/applications/misc/kiwix/default.nix:64:3

@oxij
Copy link
Member Author

oxij commented Mar 7, 2017 via email

@LnL7
Copy link
Member

LnL7 commented Mar 7, 2017

@globin globin self-assigned this Mar 7, 2017
@globin globin merged commit 8698782 into NixOS:master Mar 7, 2017
@globin
Copy link
Member

globin commented Mar 7, 2017

Additional fix in 09d7f7d

@oxij oxij deleted the pkg/pretty-kiwix branch August 29, 2017 11:18
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

7 participants