replace the aur package with a nix flake

This commit is contained in:
pj committed 2026-09-03 13:24:20 +05:30
1 parent 958931f5ef
commit a88055cbbd
11 files changed
+231 -107

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{
description = "Margin Calendar, a calendar for Google Calendar";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
overlays.default = final: prev: {
margin-calendar = final.callPackage ./nix/package.nix { };
};
packages.${system} = {
margin-calendar = pkgs.callPackage ./nix/package.nix { };
default = self.packages.${system}.margin-calendar;
};
};
}