wired/flake.nix

32 lines
734 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";
zig.url = "github:arqv/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 = [
zig.packages.${system}.master.latest
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
];
};
});
}