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

Update foo2zjs. #32812

Merged
merged 1 commit into from Feb 20, 2018
Merged

Update foo2zjs. #32812

merged 1 commit into from Feb 20, 2018

Conversation

lambdafu
Copy link
Contributor

Motivation for this change

Support printer Samsung CLX-3185FN.

Things done

Update foo2zjs to latest upstream version (2011-02-10 to 2017-12-02). Configured nixos to use foo2zjs driver, installed printer on localhost:631, printed a test page.

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

@grahamc
Copy link
Member

grahamc commented Dec 19, 2017

@GrahamcOfBorg eval

@joachifm
Copy link
Contributor

@GrahamcOfBorg build foo2zjs

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘foo2zjs-20171202’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/misc/drivers/foo2zjs/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.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2slx-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2zjs-pstops: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2oak-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2xqx-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2lava-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2hbpl2-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2hp2600-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/getweb: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
/nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202/bin/foo2ddst-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-foo2zjs-20171202.drv-0 in /nix/store/q4kzmbhr3j6xpww7ia3a10mvirxyb5x6-foo2zjs-20171202...

@joachifm joachifm merged commit 3d0b2f1 into NixOS:master Feb 20, 2018
@joachifm
Copy link
Contributor

Thank you. Please observe the convention of using the pkgname: old -> new for version bump commits.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2slx-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2qpdl-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2lava-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2xqx-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2hp2600-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2oak-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/foo2zjs-wrapper: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/bin/getweb: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
/nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202/etc/hotplug/usb/hplj1000: interpreter directive changed from "/bin/sh" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/gd6bnf5z58k17dkh4d5bbv8sk1lfrydl-foo2zjs-20171202...

@lambdafu
Copy link
Contributor Author

Thanks, also for letting me know about the commit message convention!

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

4 participants