Plume/flake.nix

25 lines
746 B
Nix
Raw Normal View History

2023-05-12 11:41:38 +02:00
{
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
];
};
});
}