Add winetricks

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-08-18 22:16:54 +02:00
parent c1ddc6a7c7
commit acd4f809a0
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 15 additions and 0 deletions

View file

@ -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";
});
};
}

View file

@ -0,0 +1,13 @@
final: prev:
{
winetricks = prev.winetricks.overrideAttrs (_:
{
src = final.fetchFromGitHub {
rev = "fa11b11a91a984666bf83b42e09be33ec0d6b294";
sha256 = "sha256-exMhj3dS8uXCEgOaWbftaq94mBOmtZIXsXb9xNX5ha8=";
owner = "Winetricks";
repo = "winetricks";
};
}
);
}