Skip to content

Commit

Permalink
Add version info and URL to nix output
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Sep 15, 2016
1 parent 475ba0c commit bbecd10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bower2nix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ async function parseBowerJson(filename: string): Promise<DepResult[]> {

function writeHeader(output: NodeJS.WritableStream) {
// please note: program output is all yours, NOT copyrighted or covered by GPL
output.write(`# Generated by bower2nix v${version} (https://github.com/rvl/bower2nix)\n`);
output.write("{ fetchbower, buildEnv }:\n");
output.write("buildEnv { name = \"bower-env\"; ignoreCollisions = true; paths = [\n");
}
Expand Down

2 comments on commit bbecd10

@grahamc
Copy link

Choose a reason for hiding this comment

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

Yayayay! Thank you so much!

@johbo
Copy link
Contributor

@johbo johbo commented on bbecd10 Sep 17, 2016

Choose a reason for hiding this comment

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

Really nice! I'll steal this for pip2nix as well

Please sign in to comment.