From 838d0fd76abd8d549a7888870f00c5c5a517cae2 Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Wed, 27 Sep 2023 14:23:27 +0200 Subject: [PATCH] feat: add redis to devshell, fix comments --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 35bd6f1..6c30713 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ pkgs = import nixpkgs {inherit system;}; naersk-lib = pkgs.callPackage naersk {}; in rec { - # Build via nix build .#defaultPackage.x86_64-linux + # Build via "nix build .#default" packages.default = naersk-lib.buildPackage { # The build dependencies buildInputs = with pkgs; [pkg-config openssl]; @@ -37,7 +37,7 @@ nodePackages_latest.eslint nodePackages_latest.markdownlint-cli2 nodePackages_latest.stylelint - nodePackages_latest.stylelint + redis rustPackages.clippy rustc yamllint @@ -45,7 +45,8 @@ 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; }); }