Skip to content

Commit

Permalink
fix(nix): Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <[email protected]>
  • Loading branch information
stv0g committed Nov 7, 2024
1 parent 3a928e9 commit a8dcb00
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
14 changes: 10 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# SPDX-FileCopyrightText: 2024 Steffen Vogel <[email protected]>
# SPDX-License-Identifier: Apache-2.0
{ buildGoModule, buildNpmPackage, lib }: let
{
buildGoModule,
buildNpmPackage,
lib,
}:
let
version = "0.6.0";

frontend = buildNpmPackage {
pname = "gose-frontend";
inherit version;
inherit version;
src = ./frontend;

npmDepsHash = "sha256-p24s2SgCL8E9vUoZEyWSrd15IdkprneAXS7dwb7UbyA=";
Expand All @@ -16,7 +21,8 @@
cp -r dist/* $out/
'';
};
in buildGoModule {
in
buildGoModule {
pname = "gose";
inherit version;
src = ./.;
Expand All @@ -41,4 +47,4 @@ in buildGoModule {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ stv0g ];
};
}
}
21 changes: 10 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@
};
in
{
devShell =
pkgs.mkShell {
inputsFrom = [
self.packages.${system}.default
];
devShell = pkgs.mkShell {
inputsFrom = [
self.packages.${system}.default
];

packages = with pkgs; [
golangci-lint
reuse
nodejs_22
];
};
packages = with pkgs; [
golangci-lint
reuse
nodejs_22
];
};

packages.default = pkgs.callPackage ./default.nix { };

Expand Down

0 comments on commit a8dcb00

Please sign in to comment.