Format nixpkgs

This commit is contained in:
bad 2022-08-02 19:15:07 +02:00
parent 3f91ac23a0
commit f690335d83
2 changed files with 18 additions and 16 deletions

View file

@ -8,7 +8,7 @@
{
overlays.default = final: prev: {
rizin-unwrapped = prev.rizin.overrideAttrs (o: {
mesonFlags = o.mesonFlags ++ ["-Dportable=true"];
mesonFlags = o.mesonFlags ++ [ "-Dportable=true" ];
});
rizin = self.packages.${prev.system}.rizin;
rizinPlugins = {

View file

@ -1,7 +1,8 @@
{ rizin-unwrapped, rizinPlugins, symlinkJoin }:
let
makeRizinPackageWithPlugins = plugins:
symlinkJoin {
symlinkJoin
{
name = "rizin";
paths = [ rizin-unwrapped ] ++ plugins;
postBuild = ''
@ -18,4 +19,5 @@ let
} // {
withPlugins = p: makeRizinPackageWithPlugins (plugins ++ (p rizinPlugins));
};
in makeRizinPackageWithPlugins []
in
makeRizinPackageWithPlugins [ ]