!RiPDGrdCYgVcyxoGfW:matrix.org

Fedimint Off-Topic

810 Members
3 Servers

Load older messages


SenderMessageTime
6 Oct 2023
@_discord_1106209895818199131:t2bot.ioethantuttle Feels like the latter argument is not too strong, but the initial one, I don't understand enough to comment. 15:10:55
@_discord_1142108788887916686:t2bot.ioshaurya947_61140 I would be happy to not have super long derives on each struct if they're mostly going to be the same. There are several macros in the codebase to reduce repetition. 18:57:22
7 Oct 2023
@_discord_731020446685986877:t2bot.iogigabitcoin joined the room.06:27:04
@_discord_417757729633861632:t2bot.io_b_i_s_c_u_i_t_s_ joined the room.09:03:00
9 Oct 2023
@_discord_999685318158602331:t2bot.iom1sterc001guy Looks like bitcoincore.org is down and is causing our linter to fail lol 01:41:34
@_discord_665009783354425344:t2bot.io.justinmoon Is that CI job required to pass? Perhaps we should make it optional if it isn't already? 12:29:45
@_discord_999685318158602331:t2bot.iom1sterc001guy I believe its optional 14:22:33
@_discord_1106209895818199131:t2bot.ioethantuttle https://github.com/EthnTuttle/awesome-ecash/blob/master/README.md 16:01:04
@_discord_1106209895818199131:t2bot.ioethantuttle * https://github.com/EthnTuttle/awesome-ecash/ 16:01:08
@_discord_332755519561400320:t2bot.iodpcpw I just noticed that jitsi does not have corrupted video now. Something has changed under the hood, because I also hear a variable speed voice which sometimes sounds funny. 16:29:40
@_discord_999685318158602331:t2bot.iom1sterc001guy oh yeah me too 16:31:07
@_discord_392553943298998302:t2bot.ioneedcreationsRedacted or Malformed Event22:57:47
@_discord_392553943298998302:t2bot.ioneedcreationsRedacted or Malformed Event22:57:47
10 Oct 2023
@_discord_1106209895818199131:t2bot.ioethantuttle Bitcoin Park doing a LN month in October. Seems like now would be a good time to shill fedimint gateways to LN node operators? As an option to consider for theri operations. 00:21:27
@_discord_1106209895818199131:t2bot.ioethantuttle CC: kodylow 00:22:00
@_discord_1106209895818199131:t2bot.ioethantuttle Rust devs, do you commit if it doesn't compile? I always hesitate to but sometime the wrestling with the compiler is lengthy. 01:55:34
@_discord_889744123983167548:t2bot.io0xsaksham changed their display name from 0xSaksham to 0xsaksham#0.13:33:11
@_discord_889744123983167548:t2bot.io0xsaksham changed their display name from 0xsaksham#0 to 0xsaksham.13:33:13
@_discord_332755519561400320:t2bot.iodpcpw During local work i spam chore: wip commits anytime I feel like. 16:17:35
11 Oct 2023
@_discord_1106209895818199131:t2bot.ioethantuttle then rebase -i and squash locally before pushing. 01:32:19
@_discord_1106209895818199131:t2bot.ioethantuttle 💡 01:32:27
@_discord_332755519561400320:t2bot.iodpcpw While at it: git absorb is great. 01:48:48
@_discord_1052955408471429152:t2bot.iorealeinherjarRedacted or Malformed Event19:00:06
@_discord_1052955408471429152:t2bot.iorealeinherjar Guys we are trying to migrate our CI at BDK to Nix. I am having a really hard time figuring it out how to point crane to a Cargo.toml.

Here are some details:
.
├── Cargo.lock
├── Cargo.toml
└── crates
    ├── bdk
    │   └── Cargo.toml
    ├── bitcoind_rpc
    │   └── Cargo.toml
    ├── chain
    │   └── Cargo.toml
    ├── electrum
    │   └── Cargo.toml
    ├── esplora
    │   └── Cargo.toml
    └── file_store
        └── Cargo.toml

As you can see there's only one Cargo.lock at the root of the repo.

Here are the important parts of the flake.nix:
  outputs = { self, nixpkgs, nixpkgs-bitcoind, crane, rust-overlay, flake-utils, ... }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        overlays = [ (import rust-overlay) ];
        lib = pkgs.lib;
        pkgs = import nixpkgs {
          inherit system overlays;
        };
        craneLib = crane.lib.${system};
        commonArgs = {
          src = craneLib.cleanCargoSource (craneLib.path ./crates/bdk);
          buildInputs = [
            pkgs-bitcoind.bitcoind
            pkgs.electrs
            pkgs.openssl
          ];
          nativeBuildInputs = [
            pkgs.python3
          ];
        };
        cargoArtifacts = craneLib.buildDepsOnly (commonArgs // {
          pname = "bdk";
        });
        bdkClippy = craneLib.cargoClippy (commonArgs // {
          inherit cargoArtifacts;
          pname = "bdk";
          cargoClippyExtraArgs = "--all-features --all-targets -- -D warnings";
        });
        bdk = craneLib.buildDepsOnly (commonArgs // {
          inherit cargoArtifacts;
          pname = "bdk";
        });
      in
      {
        checks = {
          inherit bdkClippy;
        };
        packages.default = bdk;
        };
      });
19:05:03
@_discord_1052955408471429152:t2bot.iorealeinherjar I am getting the following error:
warning: Git tree '/Users/einherjar/git/btc/bdk' is dirty
error:
       … while checking flake output 'checks'

         at /nix/store/p58d2j0ac7zvja5jl14xzbc19fakjxh2-source/lib.nix:39:17:

           38|               {
           39|                 ${key} = (attrs.${key} or { })
             |                 ^
           40|                   // { ${system} = ret.${key}; };

       … while checking the derivation 'checks.aarch64-darwin.bdkClippy'

         at /nix/store/7sf8jijcv573vj2sfjzkwc2nq2lpv1xd-source/flake.nix:115:18:

          114|           # Build the crate as part of `nix flake check` for convenience
          115|           inherit bdkClippy;
             |                  ^
          116|

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: unable to find Cargo.lock at /nix/store/6lr0d0kxkbxpcdckn6x824m4aman3w15-source. please ensure one of the following:
       - a Cargo.lock exists at the root of the source directory of the derivation
       - set `cargoVendorDir = vendorCargoDeps { cargoLock = ./some/path/to/Cargo.lock; }`
       - set `cargoVendorDir = vendorCargoDeps { src = ./src/containing/cargo/lock/file; }`
       - set `cargoVendorDir = null` to skip vendoring altogether
19:05:17
@_discord_1052955408471429152:t2bot.iorealeinherjar * I am getting the following error:
 I  ~/g/b/bdk einherjar/nix• 9.2s ❱ nix flake check
warning: Git tree '/Users/einherjar/git/btc/bdk' is dirty
error:
       … while checking flake output 'checks'

         at /nix/store/p58d2j0ac7zvja5jl14xzbc19fakjxh2-source/lib.nix:39:17:

           38|               {
           39|                 ${key} = (attrs.${key} or { })
             |                 ^
           40|                   // { ${system} = ret.${key}; };

       … while checking the derivation 'checks.aarch64-darwin.bdkClippy'

         at /nix/store/7sf8jijcv573vj2sfjzkwc2nq2lpv1xd-source/flake.nix:115:18:

          114|           # Build the crate as part of `nix flake check` for convenience
          115|           inherit bdkClippy;
             |                  ^
          116|

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: unable to find Cargo.lock at /nix/store/6lr0d0kxkbxpcdckn6x824m4aman3w15-source. please ensure one of the following:
       - a Cargo.lock exists at the root of the source directory of the derivation
       - set `cargoVendorDir = vendorCargoDeps { cargoLock = ./some/path/to/Cargo.lock; }`
       - set `cargoVendorDir = vendorCargoDeps { src = ./src/containing/cargo/lock/file; }`
       - set `cargoVendorDir = null` to skip vendoring altogether
19:05:32
@_discord_1106209895818199131:t2bot.ioethantuttle CC: cguida 19:08:31
@_discord_1106209895818199131:t2bot.ioethantuttle * CC: cguida dpcpw 19:08:38
@_discord_392553943298998302:t2bot.ioneedcreations changed their display name from needcreations#0 to @NEEDcreations (Phil).19:18:51
@_discord_360078862396162058:t2bot.iocguida Not sure, would need to do some experimentation, maybe dpcpw knows 19:19:47

Show newer messages


Back to Room ListRoom Version: 9