nix dev environment
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
description = "development shell for nomad game shell";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
# build
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
|
||||
# Qt / QML
|
||||
qt6.qtbase
|
||||
qt6.qtdeclarative
|
||||
qt6.qttools
|
||||
|
||||
# nested Wayland environment
|
||||
sway
|
||||
wayland
|
||||
wayland-utils
|
||||
|
||||
# rust stuff
|
||||
rustc
|
||||
cargo
|
||||
|
||||
# etc
|
||||
jq
|
||||
socat
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "nomad development environment"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user