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

fix: pass nix flake check; ignore result

This commit is contained in:
Nico Jensch 2023-09-27 09:04:36 +02:00
parent 32b2b27509
commit ba4c3b0612
No known key found for this signature in database
GPG Key ID: CB0F39958FA44FA8
2 changed files with 9 additions and 8 deletions

11
.gitignore vendored
View File

@ -1,7 +1,8 @@
/target
package.json
package-lock.json
dump.rdb
.vscode .vscode
megalinter-reports/ /target
dhat-heap.json dhat-heap.json
dump.rdb
megalinter-reports/
package-lock.json
package.json
result

View File

@ -19,7 +19,7 @@
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 .#defaultPackage.x86_64-linux
defaultPackage = 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];
src = ./.; src = ./.;
@ -27,7 +27,7 @@
# Enter devshell with all the tools via "nix develop" # Enter devshell with all the tools via "nix develop"
# or "nix-shell" # or "nix-shell"
devShell = with pkgs; devShells.default = with pkgs;
mkShell { mkShell {
buildInputs = [ buildInputs = [
actionlint actionlint
@ -46,6 +46,6 @@
}; };
# Build via "nix build .#websurfx.x86_64-linux" # Build via "nix build .#websurfx.x86_64-linux"
websurfx = defaultPackage; packages.websurfx = packages.default;
}); });
} }