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

jfbview: remove mujs and no-longer-necessary patch #31629

Merged
merged 1 commit into from Nov 13, 2017

Conversation

lheckemann
Copy link
Member

Motivation for this change

mujs is only required when older versions of mupdf are used, but
we have a more recent one in nixpkgs.

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.

mujs is only required when older versions of mupdf are used, but
we have a more recent one in nixpkgs.
@grahamc
Copy link
Member

grahamc commented Nov 13, 2017

Would you like to be able to call borg, @lheckemann?

@grahamc
Copy link
Member

grahamc commented Nov 13, 2017

@GrahamcOfBorg build jfbview

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success for system: x86_64-linux

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4
shrinking /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4/bin/jpdfgrep
shrinking /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4/bin/jfbview
shrinking /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4/bin/jpdfcat
stripping (with flags -S) in /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4/bin 
patching script interpreter paths in /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4
checking for references to /tmp/nix-build-jfbview-0.5.4.drv-0 in /nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4...
/nix/store/9xwf10di373bzzjvb6xbn96qwjlyd6g9-jfbview-0.5.4

@grahamc grahamc merged commit c886b17 into NixOS:master Nov 13, 2017
Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: x86_64-darwin

error: Package ‘jfbview-0.5.4’ in /tmp/nix-ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/31629/pkgs/os-specific/linux/jfbview/default.nix:53 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@lheckemann lheckemann deleted the jfbview-mujs branch November 14, 2017 09:01
@lheckemann
Copy link
Member Author

Would you like to be able to call borg, @lheckemann?

That would be awesome!

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