Add an overlay that works

This commit is contained in:
Artemis Tosini 2021-11-20 03:50:10 +00:00
parent d2ae752053
commit c21016e81a
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

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