X-Git-Url: https://gitweb.ps.run/flakes/blobdiff_plain/a4f1082296bf26067735578efc605070545be86b..611bb975297182650d63191a2dfb296e5261b6c1:/flake.nix diff --git a/flake.nix b/flake.nix index 40898d3..ae83df3 100644 --- a/flake.nix +++ b/flake.nix @@ -4,19 +4,18 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, nixpkgs, flake-utils }: { + overlays = { + cgit = final: prev: { + cgit = prev.cgit.overrideAttrs (oldAttrs: { + postPatch = ''substituteInPlace ui-repolist.c --replace "master" "main"''; + }); + }; + }; + inherit (flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { - overlays = { - cgit = final: prev: { - cgit = prev.cgit.overrideAttrs (oldAttrs: { - postPatch = ''substituteInPlace ui-repolist.c --replace "master" "main"''; - }); - }; - }; - packages.resetmsmice = pkgs.stdenv.mkDerivation { pname = "resetmsmice"; version = "0.0.0"; @@ -47,6 +46,8 @@ type = "app"; program = "${self.packages.${system}.resetmsmice}/bin/resetmsmice"; }; - }); + }) + ) + }; }