mirror of
https://github.com/Heretek-AI/ompweb.git
synced 2026-11-07 10:56:00 -10:00
* added nix build (with source filtering) and nix run to the project * Update nix build to conform to version 0.5.0: - Removed leftover ouput dependency in flake.nix - Added local font download during derivation build for JetBrains Mono and Geist - Aadded `instrumentation.ts` to the nix source fileset - Updated npm deps module hash in nix build - Removed stale comments
35 lines
789 B
Nix
35 lines
789 B
Nix
{
|
|
description = "A clean, modern web UI for the oh-my-pi (omp) coding agent";
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
supportedSystems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
forAllSystems =
|
|
f: nixpkgs.lib.genAttrs supportedSystems (system: f (import nixpkgs { inherit system; }));
|
|
in
|
|
{
|
|
packages = forAllSystems (pkgs: {
|
|
default = pkgs.callPackage ./nix/package.nix { };
|
|
});
|
|
devShells = forAllSystems (pkgs: {
|
|
default = pkgs.mkShellNoCC {
|
|
packages = with pkgs; [
|
|
nodejs-slim
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|