wired/flake.nix

32 lines
732 B
Nix
Raw Normal View History

2022-08-01 11:44:28 -06:00
{
description = "A very basic flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
2022-08-26 10:17:13 -06:00
zig.url = "github:mitchellh/zig-overlay";
2022-08-03 15:12:03 -06:00
unstable.url = "nixpkgs/nixos-unstable";
2022-08-01 11:44:28 -06:00
};
2022-08-03 15:12:03 -06:00
outputs = { self, nixpkgs, zig, flake-utils, unstable }:
2022-08-01 11:44:28 -06:00
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
2022-08-03 15:12:03 -06:00
upkgs = unstable.legacyPackages.${system};
2022-08-01 11:44:28 -06:00
in
{
# nix develop
devShells.default = pkgs.mkShell {
buildInputs = [
2022-08-26 10:17:13 -06:00
zig.packages.${system}.master
2022-08-01 11:44:28 -06:00
pkgs.butler
pkgs.binaryen
2022-08-01 23:37:25 -06:00
pkgs.tiled
2022-08-03 15:12:03 -06:00
pkgs.libresprite
upkgs.ldtk
2022-08-01 11:44:28 -06:00
];
};
});
}