stockholm/krebs/5pkgs/override/default.nix

31 lines
781 B
Nix
Raw Normal View History

2020-05-01 09:58:42 +00:00
with import <stockholm/lib>;
self: super: {
2021-02-02 21:46:39 +00:00
bitlbee-facebook = super.bitlbee-facebook.overrideAttrs (old: {
src = self.fetchFromGitHub {
owner = "bitlbee";
repo = "bitlbee-facebook";
rev = "49ea312d98b0578b9b2c1ff759e2cfa820a41f4d";
sha256 = "0zg1p9pyfsdbfqac2qmyzcr6zjibwdn2907qgc808gljfx8bfnmk";
};
});
flameshot = super.flameshot.overrideAttrs (old: rec {
patches = old.patches or [] ++ {
"0.6.0" = [
./flameshot/flameshot_imgur_0.6.0.patch
];
"0.9.0" = [
./flameshot/flameshot_imgur_0.9.0.patch
];
}.${old.version};
});
2020-05-01 09:58:42 +00:00
# https://github.com/proot-me/PRoot/issues/106
proot = self.writeDashBin "proot" ''
export PROOT_NO_SECCOMP=1
exec ${super.proot}/bin/proot "$@"
'';
}