Nico Jensch
commited on
Commit
•
838d0fd
1
Parent(s):
bf0a22c
feat: add redis to devshell, fix comments
Browse files
flake.nix
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
pkgs = import nixpkgs {inherit system;};
|
19 |
naersk-lib = pkgs.callPackage naersk {};
|
20 |
in rec {
|
21 |
-
# Build via nix build .#
|
22 |
packages.default = naersk-lib.buildPackage {
|
23 |
# The build dependencies
|
24 |
buildInputs = with pkgs; [pkg-config openssl];
|
@@ -37,7 +37,7 @@
|
|
37 |
nodePackages_latest.eslint
|
38 |
nodePackages_latest.markdownlint-cli2
|
39 |
nodePackages_latest.stylelint
|
40 |
-
|
41 |
rustPackages.clippy
|
42 |
rustc
|
43 |
yamllint
|
@@ -45,7 +45,8 @@
|
|
45 |
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
46 |
};
|
47 |
|
48 |
-
# Build via "nix build .#websurfx
|
|
|
49 |
packages.websurfx = packages.default;
|
50 |
});
|
51 |
}
|
|
|
18 |
pkgs = import nixpkgs {inherit system;};
|
19 |
naersk-lib = pkgs.callPackage naersk {};
|
20 |
in rec {
|
21 |
+
# Build via "nix build .#default"
|
22 |
packages.default = naersk-lib.buildPackage {
|
23 |
# The build dependencies
|
24 |
buildInputs = with pkgs; [pkg-config openssl];
|
|
|
37 |
nodePackages_latest.eslint
|
38 |
nodePackages_latest.markdownlint-cli2
|
39 |
nodePackages_latest.stylelint
|
40 |
+
redis
|
41 |
rustPackages.clippy
|
42 |
rustc
|
43 |
yamllint
|
|
|
45 |
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
46 |
};
|
47 |
|
48 |
+
# Build via "nix build .#websurfx", which is basically just
|
49 |
+
# calls the build function
|
50 |
packages.websurfx = packages.default;
|
51 |
});
|
52 |
}
|