Nico Jensch
commited on
Commit
•
ba4c3b0
1
Parent(s):
32b2b27
fix: pass nix flake check; ignore result
Browse files- .gitignore +5 -4
- flake.nix +3 -3
.gitignore
CHANGED
@@ -1,7 +1,8 @@
|
|
|
|
1 |
/target
|
2 |
-
|
3 |
-
package-lock.json
|
4 |
dump.rdb
|
5 |
-
.vscode
|
6 |
megalinter-reports/
|
7 |
-
|
|
|
|
|
|
1 |
+
.vscode
|
2 |
/target
|
3 |
+
dhat-heap.json
|
|
|
4 |
dump.rdb
|
|
|
5 |
megalinter-reports/
|
6 |
+
package-lock.json
|
7 |
+
package.json
|
8 |
+
result
|
flake.nix
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
naersk-lib = pkgs.callPackage naersk {};
|
20 |
in rec {
|
21 |
# Build via nix build .#defaultPackage.x86_64-linux
|
22 |
-
|
23 |
# The build dependencies
|
24 |
buildInputs = with pkgs; [pkg-config openssl];
|
25 |
src = ./.;
|
@@ -27,7 +27,7 @@
|
|
27 |
|
28 |
# Enter devshell with all the tools via "nix develop"
|
29 |
# or "nix-shell"
|
30 |
-
|
31 |
mkShell {
|
32 |
buildInputs = [
|
33 |
actionlint
|
@@ -46,6 +46,6 @@
|
|
46 |
};
|
47 |
|
48 |
# Build via "nix build .#websurfx.x86_64-linux"
|
49 |
-
websurfx =
|
50 |
});
|
51 |
}
|
|
|
19 |
naersk-lib = pkgs.callPackage naersk {};
|
20 |
in rec {
|
21 |
# Build via nix build .#defaultPackage.x86_64-linux
|
22 |
+
packages.default = naersk-lib.buildPackage {
|
23 |
# The build dependencies
|
24 |
buildInputs = with pkgs; [pkg-config openssl];
|
25 |
src = ./.;
|
|
|
27 |
|
28 |
# Enter devshell with all the tools via "nix develop"
|
29 |
# or "nix-shell"
|
30 |
+
devShells.default = with pkgs;
|
31 |
mkShell {
|
32 |
buildInputs = [
|
33 |
actionlint
|
|
|
46 |
};
|
47 |
|
48 |
# Build via "nix build .#websurfx.x86_64-linux"
|
49 |
+
packages.websurfx = packages.default;
|
50 |
});
|
51 |
}
|