-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (28 loc) · 729 Bytes
/
flake.nix
File metadata and controls
30 lines (28 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
description = "A Flake providing everything needed to run beheader";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "aarch64-linux" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system:
f {
pkgs = import nixpkgs { inherit system; };
system = system;
}
);
in {
packages = forAllSystems ({ pkgs, ... }: {
default = pkgs.buildEnv {
name = "beheader-env";
paths = [
pkgs.ffmpeg
pkgs.imagemagick
pkgs.zip
pkgs.unzip
pkgs.bun
pkgs.bento4
];
};
});
};
}