Skip to content

Commit

Permalink
fix: remove easyOverlay
Browse files Browse the repository at this point in the history
Create the default overlay manually as NixOS/nixpkgs#269551 seems to have caused some issues with easyOverlay where it's trying to touch an i686 package when that system is not in the listed systems.
  • Loading branch information
brianmcgee committed Jan 29, 2024
1 parent 5af3215 commit 72a312e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
{
imports = [
inputs.devshell.flakeModule
inputs.flake-parts.flakeModules.easyOverlay
inputs.flake-root.flakeModule
inputs.treefmt-nix.flakeModule
./mkdocs.nix
Expand Down
9 changes: 7 additions & 2 deletions packages/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
self,
inputs,
lib,
...
}: {
# add all our packages based on host platform
flake.overlays.default = _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in
self.packages.${system};

perSystem = {
self',
pkgs,
Expand Down Expand Up @@ -171,7 +178,5 @@
tx-fuzz.bin = "tx-fuzz";
zcli.bin = "zcli";
};

overlayAttrs = self'.packages;
};
}

0 comments on commit 72a312e

Please sign in to comment.