Files
Alfablos a0881e1ef8 added nix build (with source filtering) and nix run to the project (#59)
* 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
2026-09-12 17:00:40 +03:00

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
];
};
});
};
}