Format nixpkgs
This commit is contained in:
parent
3f91ac23a0
commit
f690335d83
2 changed files with 18 additions and 16 deletions
|
@ -8,7 +8,7 @@
|
||||||
{
|
{
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
rizin-unwrapped = prev.rizin.overrideAttrs (o: {
|
rizin-unwrapped = prev.rizin.overrideAttrs (o: {
|
||||||
mesonFlags = o.mesonFlags ++ ["-Dportable=true"];
|
mesonFlags = o.mesonFlags ++ [ "-Dportable=true" ];
|
||||||
});
|
});
|
||||||
rizin = self.packages.${prev.system}.rizin;
|
rizin = self.packages.${prev.system}.rizin;
|
||||||
rizinPlugins = {
|
rizinPlugins = {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ rizin-unwrapped, rizinPlugins, symlinkJoin }:
|
{ rizin-unwrapped, rizinPlugins, symlinkJoin }:
|
||||||
let
|
let
|
||||||
makeRizinPackageWithPlugins = plugins:
|
makeRizinPackageWithPlugins = plugins:
|
||||||
symlinkJoin {
|
symlinkJoin
|
||||||
|
{
|
||||||
name = "rizin";
|
name = "rizin";
|
||||||
paths = [ rizin-unwrapped ] ++ plugins;
|
paths = [ rizin-unwrapped ] ++ plugins;
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
@ -18,4 +19,5 @@ let
|
||||||
} // {
|
} // {
|
||||||
withPlugins = p: makeRizinPackageWithPlugins (plugins ++ (p rizinPlugins));
|
withPlugins = p: makeRizinPackageWithPlugins (plugins ++ (p rizinPlugins));
|
||||||
};
|
};
|
||||||
in makeRizinPackageWithPlugins []
|
in
|
||||||
|
makeRizinPackageWithPlugins [ ]
|
||||||
|
|
Loading…
Reference in a new issue