From eb4cac0f14bfbb82bfbe81ea220307ff27cf8b0f Mon Sep 17 00:00:00 2001 From: chn Date: Thu, 6 Jun 2024 22:31:49 +0800 Subject: [PATCH] localPackages.mirism: fix --- local/pkgs/default.nix | 3 ++- local/pkgs/mirism/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/local/pkgs/default.nix b/local/pkgs/default.nix index 8e715c00..b7cf2950 100644 --- a/local/pkgs/default.nix +++ b/local/pkgs/default.nix @@ -25,7 +25,8 @@ inputs: rec { inherit cppcoro nameof tgbot-cpp date; nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs."nixpkgs-23.05"}/pkgs/development/libraries/nghttp2" - { enableAsioLib = true; }; + { enableAsioLib = true; stdenv = inputs.pkgs.gcc12Stdenv; }; + stdenv = inputs.pkgs.gcc12Stdenv; }; cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; }; date = inputs.pkgs.callPackage ./date { src = inputs.topInputs.date; }; diff --git a/local/pkgs/mirism/default.nix b/local/pkgs/mirism/default.nix index 56739a98..9e5b14db 100644 --- a/local/pkgs/mirism/default.nix +++ b/local/pkgs/mirism/default.nix @@ -24,6 +24,7 @@ runHook preInstall mkdir -p $out/bin cp build/{ng01,beta} $out/bin + ln -s ${src} $out/src runHook postInstall ''; }