Skip to content

Commit

Permalink
gamescope_git: inject commit as version
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroHLC committed Jun 23, 2024
1 parent cbeea98 commit 9a55cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/gamescope-git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ gitOverride (current: {
prevAttrs.postPatch + ''
substituteInPlace layer/VkLayer_FROG_gamescope_wsi.cpp \
--replace-fail 'WSI] Surface' 'WSI ${shortRev}] Surface'
substituteInPlace src/main.cpp \
--replace-fail 'usage:' 'rev: ${shortRev}\nusage:'
substituteInPlace src/meson.build \
--replace-fail "'git', 'describe', '--always', '--tags', '--dirty=+'" "'echo', '${current.rev}'"
'';
};
})

0 comments on commit 9a55cc7

Please sign in to comment.