Closed mr-ouss closed 8 years ago
Sometimes I got different hashes when there was an error downloading the bower package. Could you try fetch-bower -o tmp-bower angular-block-ui 0.2.2 0.2.2
and see if that works ok?
Thank you for the quick reply! That command did not produce anything
[nix-shell:/Volumes/Projects/foo]$ fetch-bower -o tmp-bower angular-block-ui 0.2.2 0.2.2
[nix-shell:/Volumes/Projects/foo]$ ls -l
total 0
I tried with other packages as well. Nothing seems to happen.
Could I please confirm what are the versions coming from bower2nix --version
and fetch-bower --version
? The hashes in the above bower-generated.nix
work for me.
I'm using the following version of bower2nix
$ bower2nix --version
2.1.0
fetch-bower is not returning anything !
$ fetch-bower --version
Aha, sorry for not noticing earlier. Nixpkgs unstable has a newer version of bower2nix (3.0.1) with bug fixes.
If you switch to the unstable channel, you will also be able to use a simpler method to build bower_components
(see Nixpkgs manual 16.09).
If you need to stay with 16.03, it may require overriding the fetchbower
function.
Thank you Roney! I'll do that!
Issue description
After using
bower2nix
to generate bower-generated.nix, I get the following error when running a nix-build on my expression:and the hash is different time I run nix-build!
Steps to reproduce
The problem is easily reproducible.
1- I have the following
bower-generated.nix
:2- And this
default.nix
:3- Command that is run:
$ nix-build
Technical details
OSX El Capitan v 10.11.5
(Nix) 1.11.2
16.03.1011.6317da4