Files
transcode-video/flake.nix

31 lines
770 B
Nix

{
description = "A ffmpeg script to compress organic videos.";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
outputs =
{ self, nixpkgs, nix, }:
let
systems = [ "x86_64-linux" ];
forEachSystem = nixpkgs.lib.genAttrs systems;
overlayList = [ self.overlays.default ];
pkgsBySystem = forEachSystem (
system:
import nixpkgs {
inherit system;
overlays = overlayList;
}
);
in
rec {
overlays.default = final: prev: { transcode-video = final.callPackage ./package.nix { }; };
packages = forEachSystem (system: {
transcode-video = pkgsBySystem.${system}.transcode-video;
default = pkgsBySystem.${system}.transcode-video;
});
};
}