Skip to content

Commit

Permalink
explicitly define packages in buildPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
hall committed Jan 21, 2024
1 parent 1e9b4f1 commit 890834d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@
ffmpeg
xxd
];
buildPhase = ''
find ./config/res/spoken -maxdepth 1 -mindepth 1 -type d -exec sh -c 'make -j LANGUAGE=$(basename {})' \;
buildPhase = with pkgs; ''
${findutils}/bin/find ./config/res/spoken -maxdepth 1 -mindepth 1 -type d -exec \
${bash}/bin/sh -c '${gnumake}/bin/make -j LANGUAGE=$(${coreutils}/bin/basename {})' \;
'';
installPhase = ''
version=$(cat CHANGELOG.md | grep '^## \[[0-9]' | head -1 | cut -d "[" -f2 | cut -d "]" -f1)
Expand Down

0 comments on commit 890834d

Please sign in to comment.