diff --git a/nix/flake.nix b/nix/flake.nix index 338ed83..cf5674b 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -131,6 +131,7 @@ easy-hls-nix = import ./overlays/easy-hls-nix inputs.easy-hls-nix; mainsail = import ./overlays/mainsail inputs.nixng.lib; discord-canary = import "${inputs.yusdacra-dotfiles}/overlays/discord-canary-system.nix"; + winetricks = import ./overlays/winetricks; }; nixosModules = { @@ -160,6 +161,7 @@ shh = mkPkg "shh"; mainsail = mkPkg "mainsail"; easy-hls-nix = if system == "x86_64-linux" then mkPkg "easy-hls-nix" else (import nixpkgs-unstable { inherit system; }).hello; + winetricks = mkPkg "winetricks"; }); }; } diff --git a/nix/overlays/winetricks/default.nix b/nix/overlays/winetricks/default.nix new file mode 100644 index 0000000..9031b1b --- /dev/null +++ b/nix/overlays/winetricks/default.nix @@ -0,0 +1,13 @@ +final: prev: +{ + winetricks = prev.winetricks.overrideAttrs (_: + { + src = final.fetchFromGitHub { + rev = "fa11b11a91a984666bf83b42e09be33ec0d6b294"; + sha256 = "sha256-exMhj3dS8uXCEgOaWbftaq94mBOmtZIXsXb9xNX5ha8="; + owner = "Winetricks"; + repo = "winetricks"; + }; + } + ); +}