25 lines
746 B
Nix
25 lines
746 B
Nix
{
|
|
description = "Developpment shell for Plume including nightly Rust compiler";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
inputs.rust-overlay.url = "github:oxalica/rust-overlay";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
overlays = [ (import rust-overlay) ];
|
|
pkgs = import nixpkgs { inherit system overlays; };
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
rust-bin.nightly.latest.default
|
|
openssl
|
|
pkg-config
|
|
gettext
|
|
postgresql
|
|
];
|
|
};
|
|
});
|
|
}
|