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
todoman: init at 3.4.0 #45570
todoman: init at 3.4.0 #45570
Conversation
b16efbd
to
eb469f7
Compare
I actually have no idea why this evaluation fails. It builds on NixOS and on other Linux distro's, and there is really nothing 'special' about it. |
Hm, not sure, builds locally here. Let's try again |
|
||
postInstall = '' | ||
wrapProgram "$out/bin/todo" --set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive \ | ||
--set CHARSET=en_us.UTF-8 |
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.
should be --set CHARSET en_us.UTF-8
. (the =
is wrong). Maybe that causes the eval error.
Also this creates two layers of wrappers (because buildPythonApplication
already creates one) which is ugly.
A better solution may be to use makeWrapperArgs = [ "--set LOCALE_ARCHIVE ..." "--set CHARSET ..." ];
instead of the makeWrapper
, see other examples in nixpkgs.
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.
Thanks, did that. Let's see what comes out of it.
glibcLocales doesn't exist on Darwin
@leenaars the eval ssue was that |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: todoman Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: todoman Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: todoman Partial log (click to expand)
|
Awesome. Thanks! |
Motivation for this change
Sisterproject to khal and vdirsyncer for task management on command line, using iCalender files.
Things done
sandbox
innix.conf
on non-NixOS)./result/bin/
)nix path-info -S
before and after)