wslu: remove (#508167)
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
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 {
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
})
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user