Skip to content

Commit decb81b

Browse files
wslu: 4.1.3 -> 4.1.4 (#373755)
2 parents bb2b435 + 337c0bd commit decb81b

File tree

2 files changed

+4
-44
lines changed

2 files changed

+4
-44
lines changed

pkgs/by-name/ws/wslu/fix-desktop-item.patch

Lines changed: 0 additions & 39 deletions
This file was deleted.

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,33 @@
77

88
stdenv.mkDerivation rec {
99
pname = "wslu";
10-
version = "4.1.3";
10+
version = "4.1.4";
1111

1212
src = fetchFromGitHub {
1313
owner = "wslutilities";
1414
repo = "wslu";
1515
rev = "v${version}";
16-
hash = "sha256-lyJk8nOADq+s7GkZXsd1T4ilrDzMRsoALOesG8NxYK8=";
16+
hash = "sha256-ssiwYkQg2rOirC/ZZVq2bJm4Ggc364uRkoS2y365Eb0=";
1717
};
1818

1919
nativeBuildInputs = [ copyDesktopItems ];
2020

2121
patches = [
2222
./fallback-conf-nix-store.diff
23-
./fix-desktop-item.patch
2423
];
2524

2625
postPatch = ''
2726
substituteInPlace src/wslu-header \
2827
--subst-var out
28+
substituteInPlace src/etc/wslview.desktop \
29+
--replace-fail /usr/bin/wslview wslview
2930
'';
3031

3132
makeFlags = [
3233
"DESTDIR=$(out)"
3334
"PREFIX="
3435
];
3536

36-
desktopItems = [ "src/etc/wslview.desktop" ];
37-
3837
meta = with lib; {
3938
description = "Collection of utilities for Windows Subsystem for Linux";
4039
homepage = "https://github.com/wslutilities/wslu";

0 commit comments

Comments
 (0)