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

qbs: init at 1.8 #27015

Merged
merged 1 commit into from
Jul 6, 2017
Merged

qbs: init at 1.8 #27015

merged 1 commit into from
Jul 6, 2017

Conversation

expipiplus1
Copy link
Contributor

No description provided.

qtscript
];

installFlags = [ "INSTALL_ROOT=$(out)" ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong type of parentheses?

Copy link
Member

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?

Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor

@0xABAB 0xABAB left a 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";
Copy link
Member

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.

Copy link
Contributor Author

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)" ];
Copy link
Member

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?

@expipiplus1
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants