-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
qbs: init at 1.8 #27015
qbs: init at 1.8 #27015
Conversation
274de3c
to
fc3fb91
Compare
qtscript | ||
]; | ||
|
||
installFlags = [ "INSTALL_ROOT=$(out)" ]; |
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.
Wrong type of parentheses?
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.
Looks good to me. Do you mean the inner or outer parentheses?
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 meant those in $(out)
. Shouldn't that be ${out}
? (Given that you see nothing wrong, I am probably just unaware of something.)
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.
This style is used in a few other places in nixpkgs
pkgs/applications/editors/focuswriter/default.nix
pkgs/applications/audio/iannix/default.nix
pkgs/applications/misc/cool-retro-term/default.nix
for example
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.
@0xABAB ${out}
would refer to the nix value out
which doesn't exist. Here $(out)
expands the out
environment variable, present at build time.
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.
@expipiplus1 yes that is correct.
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.
Retracting my former OK.
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Qbs is a tool that helps simplify the build process for developing projects across multiple platforms"; |
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.
description
should not contain the name of the package. See https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes.
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.
Fixed
qtscript | ||
]; | ||
|
||
installFlags = [ "INSTALL_ROOT=$(out)" ]; |
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.
Looks good to me. Do you mean the inner or outer parentheses?
Thanks! |
No description provided.