diff --git a/flake.nix b/flake.nix index fe643b1..32da764 100644 --- a/flake.nix +++ b/flake.nix @@ -8,9 +8,9 @@ outputs = { self, nixpkgs, utils }: let - supportedSystems = nixpkgs.lib.platforms.unix; + supportedSystems = [ "x86_64-linux" "aarch64-linux" ]; in - utils.lib.eachSystem supportedSystems (system: + (utils.lib.eachSystem supportedSystems (system: let pkgs = import nixpkgs { inherit system; }; in rec { @@ -45,5 +45,9 @@ packages = [ pkgconfig dbus rustup ]; }; devShell = devShells.rustybar; - }); + })) // { + overlay = final: prev: { + inherit (self.packages."${prev.system}") rustybar; + }; + }; }