32 lines
701 B
Nix
32 lines
701 B
Nix
{
|
|
description = "Mobilizon fork for potsda.mn";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs }: let
|
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
|
in {
|
|
|
|
packages.x86_64-linux.mobilizon = pkgs.callPackage ./. { };
|
|
|
|
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
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|