Skip to content

Commit

Permalink
Use evalPackages to avoid depending on target platform
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Feb 3, 2025
1 parent 670d528 commit 8a6a30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hackage-project.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in {
config = {
src = lib.mkDefault {
outPath =
pkgs.pkgsBuildBuild.runCommand "from-hackage-${fullName}" {} ''
config.evalPackages.runCommand "from-hackage-${fullName}" {} ''
mkdir $out
echo "extra-packages: ${fullName}" > $out/cabal.project
'';
Expand Down

0 comments on commit 8a6a30c

Please sign in to comment.