Add an overlay that works
This commit is contained in:
parent
d2ae752053
commit
c21016e81a
10
flake.nix
10
flake.nix
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue