monorepo/flake.nix

35 lines
898 B
Nix
Raw Normal View History

2022-12-31 17:07:58 +00:00
{
description = "Lumenescent Dreams Tools";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.05";
oxalica.url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
};
outputs = { self, nixpkgs, oxalica }:
let
version = builtins.string 0 8 self.lastModifiedDate;
supportedSystems = [ "x86_64-linux" ];
in
{
devShell."x86_64-linux" =
let
rust_overlay = import oxalica;
pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ rust_overlay ]; };
rust = pkgs.rust-bin.stable."1.65.0".default.override {
extensions = [ "rust-src" ];
};
in
pkgs.mkShell {
name = "ld-tools-devshell";
buildInputs = [
2023-02-06 14:36:02 +00:00
pkgs.glade
pkgs.gtk4
2022-12-31 17:07:58 +00:00
pkgs.openssl
2023-02-06 14:36:02 +00:00
pkgs.pkg-config
2022-12-31 17:07:58 +00:00
rust
];
};
};
}