mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
28 lines
580 B
Nix
28 lines
580 B
Nix
|
{
|
||
|
description = "";
|
||
|
|
||
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||
|
|
||
|
outputs =
|
||
|
{ nixpkgs, ... }:
|
||
|
let
|
||
|
inherit (nixpkgs.lib) genAttrs;
|
||
|
systems = [
|
||
|
"x86_64-linux"
|
||
|
"x86_64-darwin"
|
||
|
"aarch64-linux"
|
||
|
"aarch64-darwin"
|
||
|
];
|
||
|
forAllSystems = f: genAttrs systems (system: f (import nixpkgs { inherit system; }));
|
||
|
in
|
||
|
{
|
||
|
devShells = forAllSystems (pkgs: {
|
||
|
default = pkgs.mkShell {
|
||
|
packages = with pkgs; [
|
||
|
# insert packages here
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
};
|
||
|
}
|