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
qt59: darwin compatibility #31570
qt59: darwin compatibility #31570
Conversation
Ping @j-hao : can you take a look at this? The |
I've moved the |
|
||
# Recent Qt releases use SDK (and Objective-C) features beyond | ||
# the 10.10 available in nixpkgs | ||
sed 's/NSEnumerator<NSWindow\*>/NSEnumerator/' -i ./src/plugins/platforms/cocoa/qcocoawindow.mm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer using substituteInPlace for literals so you don't have to worry about escaping stuff.
@GrahamcOfBorg build qt59.qtbase |
There was a problem hiding this 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
these derivations will be built:
/nix/store/lf4lzy6kby0ai7aybnck5gbpvw8n3vjr-qtbase-5.9.1.drv
error: a 'x86_64-darwin' is required to build '/nix/store/lf4lzy6kby0ai7aybnck5gbpvw8n3vjr-qtbase-5.9.1.drv', but I am a 'x86_64-linux'
There was a problem hiding this 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
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
21 5858k 21 1251k 0 0 1251k 0 0:00:04 --:--:-- 0:00:04 3525k
100 5858k 100 5858k 0 0 5858k 0 0:00:01 0:00:01 --:--:-- 5369k
fetching path ‘/nix/store/fabf1691l4cc85ic7b6d4bq88lxs5yxy-qtbase-5.9.1-bin’...
*** Downloading ‘https://cache.nixos.org/nar/0q2cfilfqpkc3yv9cm1gvyzqq9vlyzhykga4cyxlab5al1cv9smd.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/fabf1691l4cc85ic7b6d4bq88lxs5yxy-qtbase-5.9.1-bin’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 525k 100 525k 0 0 525k 0 0:00:01 --:--:-- 0:00:01 1884k
/nix/store/fabf1691l4cc85ic7b6d4bq88lxs5yxy-qtbase-5.9.1-bin
@grahamc hmm, evaluates fine on hydra. |
@GrahamcOfBorg build qt59.qtbase |
There was a problem hiding this 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
these derivations will be built:
/nix/store/lf4lzy6kby0ai7aybnck5gbpvw8n3vjr-qtbase-5.9.1.drv
error: a 'x86_64-darwin' is required to build '/nix/store/lf4lzy6kby0ai7aybnck5gbpvw8n3vjr-qtbase-5.9.1.drv', but I am a 'x86_64-linux'
There was a problem hiding this 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-linux
could not download ‘/nix/store/wg9hblgn2swhg79qn9qa3xq0v735y9d4-xkeyboard-config-2.22’ from any binary cache
fetching path ‘/nix/store/j4rjrn15yrcybw1yj4iqmqym7srl9cw0-dns-root-data-2017-10-24’ failed with exit code 1
fetching path ‘/nix/store/wg9hblgn2swhg79qn9qa3xq0v735y9d4-xkeyboard-config-2.22’ failed with exit code 1
error: creating directory ‘/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75’: No space left on device
0 5521k 0 48800 0 0 48800 0 0:01:55 --:--:-- 0:01:55 189k
curl: (23) Failed writing body (334 != 16366)
download of ‘https://cache.nixos.org/nar/1lci8777y3gy9pm2ydhzpadjra48l04sr8r9i7azx2d1vpi8gyxk.nar.xz’ failed: No such file or directory
could not download ‘/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75’ from any binary cache
fetching path ‘/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75’ failed with exit code 1
error: build of ‘/nix/store/smsqqpsmk6jfc5d1iyzklb9r2av1hyz6-qtbase-5.9.1.drv’ failed
Okay, I tend to have more trouble with |
I've swapped out the uses of |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)