@@ 12,13 12,20 @@
supportedSystems = nixpkgs.lib.systems.flakeExposed;
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f system);
+
+ nixpkgsFor = forAllSystems (system: import nixpkgs {
+ inherit system;
+ overlays = [ self.overlay ];
+ });
in
{
+ overlay = final: prev: { };
+
defaultPackage = forAllSystems (system: self.packages.${system}.${name});
packages = forAllSystems (system:
let
- pkgs = import nixpkgs { inherit system; };
+ pkgs = nixpkgsFor.${system};
in
{
srht_markup_massager = import ./srht_markup_massager/default.nix {
@@ 59,7 66,7 @@
devShell = forAllSystems (system:
let
- pkgs = import nixpkgs { inherit system; };
+ pkgs = nixpkgsFor.${system};
in
pkgs.mkShell {
inherit name;