mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-25 04:51:27 +00:00
24 lines
746 B
Nix
24 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
|
|
];
|
|
};
|
|
});
|
|
}
|