diff --git a/pkgs/by-name/pr/proton-ge-bin/package.nix b/pkgs/by-name/pr/proton-ge-bin/package.nix index 92c841349a4a..68e147ca4f9c 100644 --- a/pkgs/by-name/pr/proton-ge-bin/package.nix +++ b/pkgs/by-name/pr/proton-ge-bin/package.nix @@ -17,8 +17,9 @@ stdenvNoCC.mkDerivation (finalAttrs: { buildCommand = '' runHook preBuild - # Intentionally empty - mkdir -p $out + # Make it impossible to add to an environment. You should use the appropriate NixOS option. + # Also leave some breadcrumbs in the file. + echo "${finalAttrs.pname} should not be installed into environments. Please use programs.steam.extraCompatPackages instead." > $out ln -s $src $steamcompattool @@ -42,7 +43,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; meta = { - description = "Compatibility tool for Steam Play based on Wine and additional components"; + description = '' + Compatibility tool for Steam Play based on Wine and additional components. + + (This is intended for use in the `programs.steam.extraCompatPackages` option only.) + ''; homepage = "https://github.com/GloriousEggroll/proton-ge-custom"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ NotAShelf shawn8901 ];