Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7fbbf88ae8f7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c3b325c17b0d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Nov 26, 2020

  1. Copy the full SHA
    040f04d View commit details

Commits on Dec 4, 2020

  1. Merge pull request #100175 from SuperSandro2000/wsl-open

    wsl-open: init at 2.1.1
    SuperSandro2000 authored Dec 4, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    c3b325c View commit details
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/tools/misc/wsl-open/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
28 changes: 28 additions & 0 deletions pkgs/tools/misc/wsl-open/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, installShellFiles }:

stdenv.mkDerivation rec {
pname = "wsl-open";
version = "2.1.1";

src = fetchFromGitHub {
owner = "4U6U57";
repo = "wsl-open";
rev = "v${version}";
sha256 = "1mwak846zh47p3pp4q5f54cw8d9qk61zn43q81j2pkcm35mv9lzg";
};

nativeBuildInputs = [ installShellFiles ];

installPhase = ''
install -m0755 -D wsl-open.sh $out/bin/wsl-open
installManPage wsl-open.1
'';

meta = with stdenv.lib; {
description = "Open files with xdg-open from Windows Subsystem for Linux (WSL) in Windows applications";
homepage = "https://gitlab.com/4U6U57/wsl-open";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3618,6 +3618,8 @@ in

wshowkeys = callPackage ../tools/wayland/wshowkeys { };

wsl-open = callPackage ../tools/misc/wsl-open { };

xkcdpass = with pythonPackages; toPythonApplication xkcdpass;

xob = callPackage ../tools/X11/xob { };