27 lines
613 B
Nix
27 lines
613 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/da141d2fef4636aca767188e7a9f6e89e65264ce";
|
|
|
|
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
|
|
cmake
|
|
imagemagick
|
|
(yarn.override {
|
|
nodejs = pkgs.nodejs-16_x;
|
|
})
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|