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

add nix highligh #1345

Merged
merged 4 commits into from
Oct 25, 2020
Merged

add nix highligh #1345

merged 4 commits into from
Oct 25, 2020

Conversation

Horki
Copy link
Contributor

@Horki Horki commented Oct 25, 2020

Part of #1213 ; nix script simple example

Comment on lines 12 to 17
buildInputs = {
gzip
bzip2
python27
};
}
Copy link
Owner

Choose a reason for hiding this comment

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

GitHub syntax highlighting seems to indicate syntax errors here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sharkdp hi, I have fixed buildInputs arr

version = "0.2.3";
name = "${pname}-${version}";

src = ./;
Copy link
Owner

Choose a reason for hiding this comment

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

There's another syntax error here? Is this an actual .nix file that works?

bzip2
python27
];
}
Copy link
Owner

Choose a reason for hiding this comment

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

Could you please add a trailing newline?

@SuperSandro2000
Copy link

image

@Horki
Copy link
Contributor Author

Horki commented Oct 25, 2020

@SuperSandro2000 added trailing newline

@sharkdp sharkdp merged commit e571cb5 into sharkdp:master Oct 25, 2020
@sharkdp
Copy link
Owner

sharkdp commented Oct 25, 2020

Thank you very much for your contribution!

@Horki Horki deleted the 1213_nix_test_highlight branch October 25, 2020 20:23
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.

None yet

3 participants