packaging: Use a recent bower2nix to have fetch-bower
Recent versions of bower2nix provide "fetch-bower" as a separate command. This command is needed for the backported bower related utilities.
This commit is contained in:
parent
22a7abe8cc
commit
4d896a15bf
1 changed files with 8 additions and 1 deletions
|
|
@ -8,9 +8,16 @@
|
|||
{ buildInputs ? [], generated, ... } @ attrs:
|
||||
|
||||
let
|
||||
bower2nix-src = pkgs.fetchzip {
|
||||
url = "https://github.com/rvl/bower2nix/archive/v3.0.1.tar.gz";
|
||||
sha256 = "1zbvz96k2j6g0r4lvm5cgh41a73k9dgayk7x63cmg538dzznxvyb";
|
||||
};
|
||||
|
||||
bower2nix = import "${bower2nix-src}/default.nix" { inherit pkgs; };
|
||||
|
||||
fetchbower = import ./backport-16.03-fetchbower.nix {
|
||||
inherit (pkgs) stdenv lib;
|
||||
inherit (pkgs.nodePackages) bower2nix;
|
||||
inherit bower2nix;
|
||||
};
|
||||
|
||||
# Fetches the bower packages. `generated` should be the result of a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue