Skip to content

Commit

Permalink
hack: set spagoVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 28, 2024
1 parent 6def68f commit a96030d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/build-spago-lock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@
else defaultVersion
);

dependenciesList = lib.attrValues dependencies;
# FIXME hack to provide spago and spago-bin with spagoVersion
dependenciesList = lib.attrValues dependencies ++ [ { name = "spago-bin"; version = version; } ];

renderPackageType = p: ''"${p.name}" :: String'';
packagesType = "{ ${ lib.concatMapStringsSep ", " renderPackageType dependenciesList } }";
Expand Down Expand Up @@ -218,7 +219,7 @@
pursVersion = "${purs.version}"
spagoVersion :: String
spagoVersion = "${defaultVersion}"
spagoVersion = "${version}"
'';

preBuild = ''
Expand Down

0 comments on commit a96030d

Please sign in to comment.