about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-03-06 06:08:24 -0500
committeréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-03-06 06:08:51 -0500
commit90b78e4c4ac46dc483b6108d9834f9e8be23e771 (patch)
treece924326538a23450d68c1e62ae3f2740c49a2d5 /pkgs/tools/system
parent68a41f14e49fdd3c4b103748f59c7021d87c5798 (diff)
downloadnixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar.gz
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar.bz2
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar.lz
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar.xz
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.tar.zst
nixlib-90b78e4c4ac46dc483b6108d9834f9e8be23e771.zip
wslu: move to `pkgs/by-name`
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/wslu/default.nix39
-rw-r--r--pkgs/tools/system/wslu/fallback-conf-nix-store.diff22
2 files changed, 0 insertions, 61 deletions
diff --git a/pkgs/tools/system/wslu/default.nix b/pkgs/tools/system/wslu/default.nix
deleted file mode 100644
index 6337e479bb31..000000000000
--- a/pkgs/tools/system/wslu/default.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-}:
-
-stdenv.mkDerivation rec {
-  pname = "wslu";
-  version = "4.1.1";
-
-  src = fetchFromGitHub {
-    owner = "wslutilities";
-    repo = pname;
-    rev = "v${version}";
-    hash = "sha256-yhugh836BoSISbTu19ubLOrz5X31Opu5QtCR0DXrbWc=";
-  };
-
-  patches = [
-    ./fallback-conf-nix-store.diff
-  ];
-
-  postPatch = ''
-    substituteInPlace src/wslu-header \
-      --subst-var out
-  '';
-
-  makeFlags = [
-    "DESTDIR=$(out)"
-    "PREFIX="
-  ];
-
-  meta = with lib; {
-    description = "A collection of utilities for Windows Subsystem for Linux";
-    homepage = "https://github.com/wslutilities/wslu";
-    changelog = "https://github.com/wslutilities/wslu/releases/tag/v${version}";
-    license = licenses.gpl3Plus;
-    maintainers = with maintainers; [ jamiemagee ];
-    platforms = platforms.linux;
-  };
-}
diff --git a/pkgs/tools/system/wslu/fallback-conf-nix-store.diff b/pkgs/tools/system/wslu/fallback-conf-nix-store.diff
deleted file mode 100644
index 6315e78d7de4..000000000000
--- a/pkgs/tools/system/wslu/fallback-conf-nix-store.diff
+++ /dev/null
@@ -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 {