Andrew Bryant 9d5b2ac88f revert 5c12d64623b519b324c404aab067b97da0e6339e
revert Modified overlay to force use of flutter319
2025-08-28 19:10:24 -04:00

36 lines
1007 B
Nix

{
description = "Invoice Ninja desktop package.";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.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 {
nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./vm ];
};
overlays.default = final: prev: { invoiceninja-desktop = final.callPackage ./package.nix { }; };
packages = forEachSystem (system: {
invoiceninja-desktop = pkgsBySystem.${system}.invoiceninja-desktop;
default = pkgsBySystem.${system}.invoiceninja-desktop;
});
};
}