0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 21:48:21 -05:00

feat: add redis to devshell, fix comments

This commit is contained in:
Nico Jensch 2023-09-27 14:23:27 +02:00
parent bf0a22ccde
commit 838d0fd76a
No known key found for this signature in database
GPG Key ID: CB0F39958FA44FA8

View File

@ -18,7 +18,7 @@
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
naersk-lib = pkgs.callPackage naersk {}; naersk-lib = pkgs.callPackage naersk {};
in rec { in rec {
# Build via nix build .#defaultPackage.x86_64-linux # Build via "nix build .#default"
packages.default = naersk-lib.buildPackage { packages.default = naersk-lib.buildPackage {
# The build dependencies # The build dependencies
buildInputs = with pkgs; [pkg-config openssl]; buildInputs = with pkgs; [pkg-config openssl];
@ -37,7 +37,7 @@
nodePackages_latest.eslint nodePackages_latest.eslint
nodePackages_latest.markdownlint-cli2 nodePackages_latest.markdownlint-cli2
nodePackages_latest.stylelint nodePackages_latest.stylelint
nodePackages_latest.stylelint redis
rustPackages.clippy rustPackages.clippy
rustc rustc
yamllint yamllint
@ -45,7 +45,8 @@
RUST_SRC_PATH = rustPlatform.rustLibSrc; RUST_SRC_PATH = rustPlatform.rustLibSrc;
}; };
# Build via "nix build .#websurfx.x86_64-linux" # Build via "nix build .#websurfx", which is basically just
# calls the build function
packages.websurfx = packages.default; packages.websurfx = packages.default;
}); });
} }