From b3e167e5d13bc8ab7dfadc21e7a6e1655ae4b4c5 Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 8 May 2025 12:07:00 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.nix | 9 ++++----- includes/help.hpp | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index b09b03d..27d7745 100644 --- a/flake.nix +++ b/flake.nix @@ -34,8 +34,8 @@ name = "webserv"; src = pkgs.fetchgit { url = "https://github.com/keyzox71/webserv.git"; - rev = "8f6875d"; # Specify the revision - sha256 = "XEy48IhXGLHw5+DI2oaV03P7rWzH+gSbOLYrbO2YTrE="; # Specify the SHA-256 hash + rev = "b418e4c"; # Specify the revision + sha256 = "EtYxNbxtsmEVpx3HN31HUoUbUrLqI++6mXqBP8CAM2w="; # Specify the SHA-256 hash fetchSubmodules = true; # need it for tomlpp }; buildInputs = with pkgs; [ @@ -45,9 +45,8 @@ PKGS=true make -j ''; installPhase = '' - mkdir -p /etc/webserv - mkdir -p $out/bin - cp webserv $out/bin + mkdir -p $out/bin + cp webserv $out/bin ''; }; } diff --git a/includes/help.hpp b/includes/help.hpp index c923d3f..6c8da1f 100644 --- a/includes/help.hpp +++ b/includes/help.hpp @@ -6,13 +6,13 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/10 13:43:54 by adjoly #+# #+# */ -/* Updated: 2025/05/08 11:54:17 by adjoly ### ########.fr */ +/* Updated: 2025/05/08 12:05:38 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once -#ifdef PKGS +#ifndef PKGS #define SAMPLE_CONF_PATH "./sample.toml" #else #define SAMPLE_CONF_PATH "/etc/webserv/default.conf"