Skip to content

Commit

Permalink
🐛 Add export XMAKE_ROOT=y
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Nov 5, 2024
1 parent f0da3ca commit 58b4f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/misc/tmux-rime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ stdenv.mkDerivation rec {
buildInputs = [ glib.dev librime ];

postPatch = ''
substituteInPlace xmake.lua --replace "glib" "glib-2.0"
substituteInPlace xmake.lua --replace-quiet "glib" "glib-2.0"
'';

configurePhase = ''
export HOME=$(mktemp -d)
export XMAKE_ROOT=y HOME=$(mktemp -d)
xmake g --network=private
xmake f --verbose
'';
Expand Down

0 comments on commit 58b4f36

Please sign in to comment.