forked from potsda.mn/mobilizon
29 lines
620 B
Nix
29 lines
620 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs }: {
|
|
|
|
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
|
|
|
|
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;
|
|
|
|
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 = pkgs.nodejs-16_x;
|
|
})
|
|
yarn2nix
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|