Unverified Commit 91daf0dd authored by tomf's avatar tomf Committed by GitHub
Browse files

wslu: remove (#508167)

parents 914060f0 baa43217
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
diff --git a/src/wslu-header b/src/wslu-header
index 5f33925..159c6af 100644
--- a/src/wslu-header
+++ b/src/wslu-header
@@ -169,11 +169,17 @@ if [ -f "$HOME/.config/wslu/conf" ]; then
 	debug_echo "$HOME/.config/wslu/conf found, sourcing"
 	source "$HOME/.config/wslu/conf"
 fi
+
 if [ -f "$HOME/.wslurc" ]; then
 	debug_echo "$HOME/.wslurc found, sourcing"
 	source "$HOME/.wslurc"
 fi
 
+if [ -f "@out@/share/wslu/conf" ]; then
+	debug_echo "@out@/share/wslu/conf found, sourcing"
+	source "@out@/share/wslu/conf"
+fi
+
 # functions
 
 function help {

pkgs/by-name/ws/wslu/package.nix

deleted100644 → 0
+0 −45
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  copyDesktopItems,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "wslu";
  version = "4.1.4";

  src = fetchFromGitHub {
    owner = "wslutilities";
    repo = "wslu";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ssiwYkQg2rOirC/ZZVq2bJm4Ggc364uRkoS2y365Eb0=";
  };

  nativeBuildInputs = [ copyDesktopItems ];

  patches = [
    ./fallback-conf-nix-store.diff
  ];

  postPatch = ''
    substituteInPlace src/wslu-header \
      --subst-var out
    substituteInPlace src/etc/wslview.desktop \
      --replace-fail /usr/bin/wslview wslview
  '';

  makeFlags = [
    "DESTDIR=$(out)"
    "PREFIX="
  ];

  meta = {
    description = "Collection of utilities for Windows Subsystem for Linux";
    homepage = "https://github.com/wslutilities/wslu";
    changelog = "https://github.com/wslutilities/wslu/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ jamiemagee ];
    platforms = lib.platforms.linux;
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -2117,6 +2117,7 @@ mapAliases {
  wrapGradle = throw "'wrapGradle' has been removed; use `gradle-packages.wrapGradle` or `(gradle-packages.mkGradle { ... }).wrapped` instead"; # Added 2025-11-02
  wring = throw "'wring' has been removed since it has been abandoned upstream"; # Added 2025-11-07
  write_stylus = throw "'write_stylus' has been renamed to/replaced by 'styluslabs-write-bin'"; # Converted to throw 2025-10-27
  wslu = throw "'wslu' has been removed because the project has been discontinued and the repository has been archived"; # Added 2026-04-08
  wxGTK31 = warnAlias "'wxGTK31' has been renamed to 'wxwidgets_3_1'" wxwidgets_3_1; # Added 2026-02-12
  wxGTK32 = warnAlias "'wxGTK32' has been renamed to 'wxwidgets_3_2'" wxwidgets_3_2; # Added 2026-02-12
  wxGTK33 = wxwidgets_3_3; # Added 2025-07-20