Skip to content

Commit

Permalink
deps: use migrate from nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello committed Feb 3, 2024
1 parent d701638 commit 2b533a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
6 changes: 2 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

# Scripts to wrap, with their dependencies, available via `nix run .#script-name`
scripts = with pkgs; {
add-migration = [ self.packages.${system}.migrate ];
run-migrate = [ self.packages.${system}.migrate ];
add-migration = [ go-migrate ];
run-migrate = [ go-migrate ];
run-server = [ pinnedGo reflex self.packages.${system}.ory ];
run-tests = [ pinnedGo golangci-lint ];
update-assets = [ pinnedGo nodejs-slim-18_x nodePackages.npm ];
Expand All @@ -41,7 +41,6 @@
packages = {
render = pkgs.callPackage ./nix/letsblockit.nix { cmd = "render"; };
server = pkgs.callPackage ./nix/letsblockit.nix { cmd = "server"; };
migrate = pkgs.callPackage ./nix/migrate.nix { };
ory = pkgs.callPackage ./nix/ory.nix { };
sqlc = pkgs.callPackage ./nix/sqlc.nix { };

Expand Down Expand Up @@ -105,7 +104,6 @@

overlay = final: prev: {
letsblockit = self.packages.${system}.server;
migrate = self.packages.${system}.migrate;
ory = self.packages.${system}.ory;
};
});
Expand Down
16 changes: 0 additions & 16 deletions nix/migrate.nix

This file was deleted.

0 comments on commit 2b533a5

Please sign in to comment.