fix: properly name patches & remove nixfmt pre-commit hook since it requires GHC & hackage

This commit is contained in:
Oskar Manhart 2024-09-09 16:12:22 +02:00
parent 28e958e600
commit b044cb41c7
4 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,5 @@
ci:
autoupdate_branch: "rewrite"
skip: [nixfmt]
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
@ -49,8 +48,3 @@ repos:
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/NixOS/nixfmt
rev: d0c0cda4fe6b7ae2b9aa37f3ee15e6412573eb01
hooks:
- id: nixfmt

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
(callPackage ../winapps { })
];
patches = [ ./WinAppsLauncher.diff ];
patches = [ ./WinAppsLauncher.patch ];
postPatch = ''
substituteAllInPlace WinAppsLauncher.sh