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
megalinter-reports/
/target
dhat-heap.json
dump.rdb
megalinter-reports/
package-lock.json
package.json
result

View File

@ -19,7 +19,7 @@
naersk-lib = pkgs.callPackage naersk {};
in rec {
# Build via nix build .#defaultPackage.x86_64-linux
defaultPackage = naersk-lib.buildPackage {
packages.default = naersk-lib.buildPackage {
# The build dependencies
buildInputs = with pkgs; [pkg-config openssl];
src = ./.;
@ -27,7 +27,7 @@
# Enter devshell with all the tools via "nix develop"
# or "nix-shell"
devShell = with pkgs;
devShells.default = with pkgs;
mkShell {
buildInputs = [
actionlint
@ -46,6 +46,6 @@
};
# Build via "nix build .#websurfx.x86_64-linux"
websurfx = defaultPackage;
packages.websurfx = packages.default;
});
}