We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b85c2 commit 7c85eb1Copy full SHA for 7c85eb1
modules/usbip.nix
@@ -1,9 +1,16 @@
1
{ config, lib, pkgs, ... }:
2
3
let
4
- usbipd-win-auto-attach = pkgs.fetchurl {
5
- url = "https://raw.githubusercontent.com/dorssel/usbipd-win/v4.2.0/Usbipd/WSL/auto-attach.sh";
6
- hash = "sha256-AiXbRWwOy48mxQxxpWPtog7AAwL3mU3ZSHxrVuVk8/s=";
+ usbipd-win-auto-attach = pkgs.substitute {
+ src = pkgs.fetchurl {
+ url = "https://raw.githubusercontent.com/dorssel/usbipd-win/v4.2.0/Usbipd/WSL/auto-attach.sh";
7
+ hash = "sha256-AiXbRWwOy48mxQxxpWPtog7AAwL3mU3ZSHxrVuVk8/s=";
8
+ };
9
+ substitutions = [
10
+ "--replace"
11
+ "./usbip"
12
+ "usbip"
13
+ ];
14
};
15
16
cfg = config.wsl.usbip;
0 commit comments