-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
cascadia-code: add useVariableFont option #391207
Conversation
Additionally, refer to the commit conventions; the commit message (and PR title) should be something along the lines of |
9ffc014
to
60d98b2
Compare
I squashed the commits and reworded the commit message. |
if useVariableFont then | ||
"install -Dm644 ttf/*.ttf -t $out/share/fonts/truetype" | ||
else | ||
"install -Dm644 otf/static/*.otf -t $out/share/fonts/opentype && install -Dm644 ttf/static/*.ttf -t $out/share/fonts/truetype" |
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.
Please put the two install
commands on separate lines; sorry! I was under the assumption that they were installing to the same destination, which is evidently not the case.
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.
will do
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.
is it ok now?
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.
wait. I somehow messed up the rebase.
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 fine now.
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.
oh man, I forgot to build and now there's a syntax error. I'm really sorry! Will fix!
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.
Finally!
41d6c56
to
d90d9d9
Compare
c7a345f
to
c8f47e9
Compare
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 all right once you squash the second commit into the first (with a clean description)! Thank you for putting up with my reviews 😄
c8f47e9
to
c5c6ad7
Compare
It's fine. It's partly my fault for not reading contribution conventions thoroughly enough. |
Now I am confused. How did the wit-bindgen commit end up in the pr? |
Cascadia Code provides variable .tff files. Defaulting to false to avoid altering the package's behavior.
c5c6ad7
to
b96ad59
Compare
Anyway. Fixed that. |
|
Added
useVarableFont
argument to the package. By default, the variable ttf variant will now be used. Resolves #391109.@ryanccn @alastortenebris
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
) (No binary files!)Add a 👍 reaction to pull requests you find important.