{ description = "Mobilizon fork for potsda.mn"; inputs.nixpkgs.url = "github:erictapen/nixpkgs/mobilizon-3"; outputs = { self, nixpkgs }: let pkgs = import nixpkgs { system = "x86_64-linux"; }; in { packages.x86_64-linux.mobilizon = pkgs.callPackage ./. { src = ./.; mobilizon-js = self.packages.x86_64-linux.mobilizon-frontend; }; packages.x86_64-linux.mobilizon-frontend = pkgs.callPackage ./js { }; packages.x86_64-linux.default = self.packages.x86_64-linux.mobilizon; devShells.x86_64-linux.default = let pkgs = import nixpkgs { system = "x86_64-linux"; }; in pkgs.mkShell { buildInputs = with pkgs; [ elixir mix2nix cmake imagemagick (yarn.override { nodejs = nodejs-18_x; }) yarn2nix nodejs-18_x ]; }; }; }