Skip to content

Commit 4ea55c4

Browse files
committed
cleanup flake
1 parent df0c4e9 commit 4ea55c4

File tree

8 files changed

+1
-25
lines changed

8 files changed

+1
-25
lines changed

.nix-mix/cache.ets

43.2 KB
Binary file not shown.
81 KB
Binary file not shown.
11.5 KB
Binary file not shown.
28.5 KB
Binary file not shown.
41.5 KB
Binary file not shown.
14.5 KB
Binary file not shown.
38.5 KB
Binary file not shown.

flake.nix

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,35 +39,11 @@
3939
in {
4040
packages = forAllSystems (system: let
4141
pkgs = nixpkgsFor system;
42-
# FIXME: import the Mix deps into Nix by running `mix2nix > deps.nix` from a dev shell
43-
# mixNixDeps = import ./deps.nix {
44-
# lib = pkgs.lib;
45-
# beamPackages = pkgs.beamPackages;
46-
#};
4742
in {
4843
default = pkgs.beamPackages.mixRelease {
49-
pname = "my-phx-app";
50-
# Elixir app source path
44+
pname = "testcontainers-elixir-lib";
5145
src = ./.;
5246
version = "0.1.0";
53-
# FIXME: mixNixDeps was specified in the FIXME above. Uncomment the next line.
54-
# inherit mixNixDeps;
55-
56-
# add esbuild and tailwindcss
57-
buildInputs = [pkgs.elixir pkgs.esbuild pkgs.tailwindcss];
58-
59-
# Explicitly declare tailwind and esbuild binary paths (don't let Mix fetch them)
60-
preConfigure = ''
61-
substituteInPlace config/config.exs \
62-
--replace "config :tailwind," "config :tailwind, path: \"${pkgs.tailwindcss}/bin/tailwindcss\","\
63-
--replace "config :esbuild," "config :esbuild, path: \"${pkgs.esbuild}/bin/esbuild\", "
64-
'';
65-
66-
# Deploy assets before creating release
67-
preInstall = ''
68-
# https://github.com/phoenixframework/phoenix/issues/2690
69-
mix do deps.loadpaths --no-deps-check, assets.deploy
70-
'';
7147
};
7248
});
7349
devShells = forAllSystems (system: let

0 commit comments

Comments
 (0)