[NixOS] Remove keybase overlay

This commit is contained in:
Ivan Malison 2019-06-23 17:32:58 -07:00
parent e2c76cd0dd
commit a20b11a070
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 1 additions and 32 deletions

View File

@ -103,7 +103,7 @@ in
gitter gitter
google-chrome google-chrome
hexchat hexchat
keybase-gui-fixed keybase-gui
kleopatra kleopatra
kodi kodi
libreoffice libreoffice

View File

@ -33,37 +33,6 @@ self: super:
makeWrapper libtool gnome3.gnome-common makeWrapper libtool gnome3.gnome-common
]; ];
}); });
keybase-gui-fixed = super.keybase-gui.overrideAttrs (oldAttrs: rec {
installPhase = ''
mkdir -p $out/bin
mv usr/share $out/share
mv opt/keybase $out/share/
cat > $out/bin/keybase-gui <<EOF
#!${self.stdenv.shell}
checkFailed() {
if [ "\$NIX_SKIP_KEYBASE_CHECKS" = "1" ]; then
return
fi
echo "Set NIX_SKIP_KEYBASE_CHECKS=1 if you want to skip this check." >&2
exit 1
}
if [ ! -S "\$XDG_RUNTIME_DIR/keybase/keybased.sock" ]; then
echo "Keybase service doesn't seem to be running." >&2
echo "You might need to run: keybase service" >&2
checkFailed
fi
if [ -z "\$(keybase status | grep kbfsfuse)" ]; then
echo "Could not find kbfsfuse client in keybase status." >&2
echo "You might need to run: kbfsfuse" >&2
checkFailed
fi
exec $out/share/keybase/Keybase "\$@"
EOF
chmod +x $out/bin/keybase-gui
substituteInPlace $out/share/applications/keybase.desktop \
--replace run_keybase $out/bin/keybase-gui
'';
});
networkmanager_strongswan = super.networkmanager_strongswan.overrideAttrs (oldAttrs: rec { networkmanager_strongswan = super.networkmanager_strongswan.overrideAttrs (oldAttrs: rec {
src = super.fetchFromGitHub { src = super.fetchFromGitHub {
owner = "IvanMalison"; owner = "IvanMalison";