formatting changes

via nixfmt
This commit is contained in:
2026-01-17 16:04:07 -05:00
parent ad68d7f98d
commit f9fd5d357d

View File

@@ -6,16 +6,29 @@
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*";
};
outputs = { self, flake-schemas, nixpkgs }:
outputs =
{
self,
flake-schemas,
nixpkgs,
}:
let
supportedSystems = [ "x86_64-linux" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
forEachSupportedSystem =
f:
nixpkgs.lib.genAttrs supportedSystems (
system:
f {
pkgs = import nixpkgs { inherit system; };
});
in {
}
);
in
{
schemas = flake-schemas.schemas;
devShells = forEachSupportedSystem ({ pkgs }: {
devShells = forEachSupportedSystem (
{ pkgs }:
{
default = pkgs.mkShell {
packages = with pkgs; [
curl
@@ -25,10 +38,14 @@
nixpkgs-fmt
];
};
});
}
);
packages = forEachSupportedSystem ({ pkgs }: {
default = let
packages = forEachSupportedSystem (
{ pkgs }:
{
default =
let
pname = "musicpresence";
version = "2.3.4";
@@ -38,7 +55,8 @@
};
appimageContents = pkgs.appimageTools.extract { inherit pname version src; };
in pkgs.appimageTools.wrapType2 {
in
pkgs.appimageTools.wrapType2 {
inherit pname version src;
nativeBuildInputs = with pkgs; [ makeWrapper ];
@@ -60,6 +78,7 @@
changelog = "https://github.com/ungive/discord-music-presence/releases/tag/v${version}";
};
};
});
}
);
};
}