Make the flake actually work(oops)

This commit is contained in:
bad 2022-07-28 19:03:43 +02:00
parent 61df486818
commit e004be110b

View file

@ -9,7 +9,10 @@
overlays.default = final: prev: {
rizin-unwrapped = prev.rizin;
rizin = self.packages.${prev.system}.rizin;
rizinPlugins = self.packages.${prev.system}.rizinPlugins;
rizinPlugins = {
rz-ghidra = self.packages.${prev.system}.rz-ghidra;
jsdec = self.packages.${prev.system}.jsdec;
};
};
}
// flake-utils.lib.eachSystem [
@ -24,10 +27,8 @@
rec {
packages = flake-utils.lib.flattenTree {
rizin = pkgs.callPackage ./rizin-with-plugin-support.nix { };
rizinPlugins = {
rz-ghidra = pkgs.callPackage ./rz-ghidra.nix { };
jsdec = pkgs.callPackage ./jsdec.nix { };
};
rz-ghidra = pkgs.callPackage ./rz-ghidra.nix { };
jsdec = pkgs.callPackage ./jsdec.nix { };
};
defaultPackage = packages.rizin;
}