mirror of
https://github.com/priyanshujain/margin-calendar.git
synced 2026-10-02 11:07:04 +00:00
replace the aur package with a nix flake
This commit is contained in:
1 parent
958931f5ef
commit
a88055cbbd
11 files changed
+231
-107
No files matched your search
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user