overlays/android-studio: remove

This commit is contained in:
LavaDesu 2025-07-17 19:39:10 +10:00
parent 92a7023ba0
commit ed43feb5b6
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 0 additions and 28 deletions

View file

@ -1,27 +0,0 @@
self: { bash, buildFHSEnv, cacert, ncurses5, runCommand, ... } @ super:
let
drvName = super.android-studio.name;
fhsEnv = buildFHSEnv {
name = "${drvName}-fhs-env";
# google's analytics calls jdk's getOperatingSystemMXBean which tries to parse cgroups and ultimately fails for whatever reason with an npe
unshareCgroup = false;
multiPkgs = pkgs: [
ncurses5
(runCommand "fedoracert" {}
''
mkdir -p $out/etc/pki/tls/
ln -s ${cacert}/etc/ssl/certs $out/etc/pki/tls/certs
'')
];
};
startScript = ''
#!${bash}/bin/bash
${fhsEnv}/bin/${drvName}-fhs-env ${super.android-studio.passthru.unwrapped}/bin/studio.sh "$@"
'';
in {
android-studio-patched = super.android-studio.overrideAttrs(_: {
inherit startScript;
});
}

View file

@ -1,5 +1,4 @@
builtins.map (path: import path) [
./android-studio.nix
./bitwarden-desktop.nix
./cascadia-code.nix
./ccache.nix