overlays: add bitwarden_rs-vault

This commit is contained in:
Antoine Martin 2021-02-06 00:35:57 +01:00
parent bbdb35db7e
commit 16ac9ae637
3 changed files with 14 additions and 1 deletions

View file

@ -18,4 +18,4 @@ jobs:
with: with:
name: alarsyo name: alarsyo
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build -E 'let pkgs = import <nixpkgs> { overlays = import ./overlays; }; in pkgs.bitwarden_rs-postgresql' - run: nix-build -E 'let pkgs = import <nixpkgs> { overlays = import ./overlays; }; in with pkgs; [ bitwarden_rs-postgresql bitwarden_rs-vault ]'

View file

@ -0,0 +1,11 @@
final: prev:
{
bitwarden_rs-vault = prev.bitwarden_rs-vault.overrideAttrs (drv: rec {
version = "2.17.1";
src = prev.fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
sha256 = "1kd21higniszk1na5ag7q4g0l7h6ddl91gpbjbwym28hsbjvxla7";
};
});
}

View file

@ -1,6 +1,8 @@
let let
bitwarden_rs = import ./bitwarden_rs.nix; bitwarden_rs = import ./bitwarden_rs.nix;
bitwarden_rs-vault = import ./bitwarden_rs-vault.nix;
in in
[ [
bitwarden_rs bitwarden_rs
bitwarden_rs-vault
] ]