dev.fron.io rc / d32d4d3
overlays: bump brig Tony Olagbaiye 8 months ago
5 changed file(s) with 32 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
170170 "type": "github"
171171 }
172172 },
173 "brig": {
174 "flake": false,
175 "locked": {
176 "lastModified": 1609713088,
177 "narHash": "sha256-0DCUBB4neEx6MCoBqP5nJ9pcEY3G8ztSuYaeviClxeI=",
178 "owner": "sahib",
179 "repo": "brig",
180 "rev": "cd3ba4a9f7b3eb55019e43b54d8ec6863537201a",
181 "type": "github"
182 },
183 "original": {
184 "owner": "sahib",
185 "repo": "brig",
186 "type": "github"
187 }
188 },
173189 "cachix": {
174190 "locked": {
175191 "lastModified": 1607856232,
14741490 "apparmor": "apparmor",
14751491 "baduk": "baduk",
14761492 "bottom": "bottom",
1493 "brig": "brig",
14771494 "conix": "conix",
14781495 "construct": "construct",
14791496 "devshell": "devshell",
119119 giara = { url = "git+https://gitlab.gnome.org/world/giara"; flake = false; };
120120 ini2json = { url = "github:anubisss/ini2json"; flake = false; };
121121 mfs-replace-root = { url = "github:hsanjuan/mfs-replace-root"; flake = false; };
122 brig = { url = "github:sahib/brig"; flake = false; };
122123 };
123124
124125 outputs = inputs: with builtins; let
0 inputs@{ brig, ... }: final: prev: {
1 brig = if final.lib.versionAtLeast prev.brig.version "0.5.0"
2 then builtins.trace "pkgs.brig: overlay expired" prev.brig
3 else (with prev.brig; final.buildGoModule {
4 name = "brig-${inputs.brig.lastModifiedDate}";
5 inherit pname doCheck meta;
6 version = inputs.brig.shortRev;
7 src = inputs.brig;
8 vendorSha256 = "9kVTRRQWJq3gMsIqrsJobOZTucF2beDiHwXOA1LaAOQ=";
9 });
10 }
00 inputs@{...}: final: prev: {
11 ipfs-cluster = if final.lib.versionAtLeast prev.ipfs-cluster.version "0.13.1"
2 then builtins.trace "pkgs.ipfs-clpster: overlay expired" prev.ipfs-cluster
2 then builtins.trace "pkgs.ipfs-cluster: overlay expired" prev.ipfs-cluster
33 else (with prev.ipfs-cluster; final.buildGoModule {
44 inherit pname version doCheck meta;
55 src = final.fetchgit {
66 url = src.meta.homepage;
7 rev = "c78f7839a2d5645806e01bfbf7af862600f8fbc4";
78 sha256 = "c9amvmxU+3P14NygJK2hTNR+lTdFK7eEj1eoqv2FTDs=";
89 };
910 vendorSha256 = "bejsbVMp5HnfUgG6pETK8Beeiax+BItVQh57sgmFbik=";
6565 ${pkgs.utillinux}/bin/unshare -rm
6666 if { mount -t tmpfs -o size=1K tmpfs /var/empty }
6767 if { redirfd -w 1 /var/empty/api echo "${api-addr}" }
68 #if { chmod 000 /var/empty/api }
6869 if { mount --bind /var/empty/api /var/lib/ipfs/api }
6970 if { umount /var/empty }
7071 ${pkgs.brig}/bin/brig $@