From ba4c3b061226e7d951eaa93f5c82c8535e086afc Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Wed, 27 Sep 2023 09:04:36 +0200 Subject: [PATCH] fix: pass nix flake check; ignore result --- .gitignore | 11 ++++++----- flake.nix | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5889518..2ab2745 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/flake.nix b/flake.nix index d7fb5f9..35bd6f1 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }); }