Skip to content

Commit

Permalink
Move all patch files to patches subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys-T committed Sep 24, 2024
1 parent c5a37d6 commit 4f79970
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/hfsutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ stdenv.mkDerivation rec {
'';

patches = [
./0001-Don-t-set-ug-id-unless-it-s-actually-different.patch
./patches/0001-Don-t-set-ug-id-unless-it-s-actually-different.patch
] ++ lib.optionals enableTclTk [
./0002-Rename-bitmaps-to-avoid-conflict-with-Mac-builtins.patch
./patches/0002-Rename-bitmaps-to-avoid-conflict-with-Mac-builtins.patch
(fetchpatch {
name = "0003-xhfs-Use-Tcl_Alloc-Tcl_Free-as-required-when-interac.patch";
url = https://github.com/JotaRandom/hfsutils/commit/e62ea3c5ac49ca894db853d966f1cd2cb808f35c.patch;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/pce/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ stdenv.mkDerivation {
# to make certain features work. These patches allow the config file to refer to
# $PCE_DIR_DATA in the 'path' setting, instead of having to update the config file
# whenever the store path changes.
patches = patches ++ [./0001-Allow-referencing-PCE_DIR_DATA-in-config-files-inste.patch];
patches = patches ++ [./patches/0001-Allow-referencing-PCE_DIR_DATA-in-config-files-inste.patch];
postPatch = ''
for file in src/arch/*/Makefile.inc; do
substituteInPlace "$file" --replace-quiet '"s]PCE_DIR_DATA]$(datadir)]g"' '"s]PCE_DIR_DATA]\$$PCE_DIR_DATA/pce]g"'
Expand Down

0 comments on commit 4f79970

Please sign in to comment.