Open jluttine opened 6 years ago
Hi @jluttine, thanks for the report! There are two issues.
hsl_rgb_converter
for some reason I haven't figured out yet.Hi @jluttine
Problem 1 is fixed in nixpkgs so might appear on the unstable channel some time.
Problem 2 is not fixed yet, but maybe you should reformulate the dependency as kayellpeee/hsl_rgb_converter#3936a3896dd2f45a5c66317aab6f9175c9fde9fb
. The advantage of this is that it works, and the version is locked (ensures future nix builds will work!).
@rvl Thanks! I did try that reformulation you suggest. In my second attempt, I tried this bower.json
:
{
"name": "nextcloud-calendar",
"dependencies": {
"angular": "1.6.4",
"angular-bootstrap": "2.5.0",
"jquery-timepicker": "883bb2cd94",
"jstzdetect": "georgehrke/jstimezonedetect#d90d861a98a30a802cb1f4c7864854fe3a583134",
"ical.js": "1.2.2",
"fullcalendar": "3.4.0",
"hsl_rgb_converter": "kayellpeee/hsl_rgb_converter#3936a3896dd2f45a5c66317aab6f9175c9fde9fb"
},
"devDependencies": {
"angular-mocks": "1.6.4"
}
}
And it didn't work (then at least). Any other workaround ideas?
I'm not able to generate a nix expression that would work with
nix-rebuild
so I thought I'd ask here if I'm doing something wrong or if there's something wrong in bower2nix.With original file
The original
bower.json
file looks like:The result of
bower2nix
:Using with nix-rebuild raises this error:
Clean GitHub URLs
Based on this comment: https://github.com/rvl/bower2nix/issues/9#issuecomment-253807818 , I thought I need to clean the GitHub URLs. So I tried that:
bower.json
:bower2nix
:nix-rebuild
:Add git prefix and suffix
Now I tried adding
git@github.com:
prefix and.git
suffix to repo id.bower.json
:bower2nix
:nix-rebuild
:Conclusion
I'm out of ideas and very lost here. Any ideas what I'm doing wrong?