Skip to content

Commit

Permalink
Added a migrate output to the IHP flake (#1762)
Browse files Browse the repository at this point in the history
* Added a migrate output to the IHP flake

* Remved `cd PROJECT_SRC`

* Removed unused projectSrc
  • Loading branch information
mpscholten authored Jul 21, 2023
1 parent 01b2016 commit c4924b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ ihpFlake:
optimized = false;
};


migrate = pkgs.writeScriptBin "migrate" ''
${ghcCompiler.ihp}/bin/migrate
'';

ihp-schema = pkgs.stdenv.mkDerivation {
name = "ihp-schema";
src = ihp;
Expand Down

0 comments on commit c4924b5

Please sign in to comment.