Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
Introduce Nix Tooling
Merged fintohaps opened 1 year ago

Adds a flake.nix so that Nix users can easily build and test the crate, as well as use it to retrieve the binary for NixOS users.

The patch also provides some fixes so that nix flake check succeeds.

fintohaps opened with revision f0a16f05 on base 35830ecb +286 -32 1 year ago

Adds a flake.nix so that Nix users can easily build and test the crate, as well as use it to retrieve the binary for NixOS users.

The patch also provides some fixes so that nix flake check succeeds.

lorenz pushed revision 2 70a47c4b on base 35830ecb +286 -32 1 year ago

git range-diff main 080eccb 2a078e0

1:  644e23e = 1:  644e23e ui: add missing doc
2:  2cb9fac = 2:  2cb9fac bin: use Display over ToString
3:  080eccb ! 3:  2a078e0 nix: add flake.nix
    @@ flake.lock (new)
      ## flake.nix (new) ##
     @@
     +{
    -+  description = "Build a cargo project";
    ++  description = "Radicle terminal user interface";
     +
     +  inputs = {
     +    nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
    @@ flake.nix (new)
     +        };
     +
     +        devShells.default = craneLib.devShell {
    -+          packages = [
    -+            pkgs.cargo-watch
    -+            pkgs.cargo-nextest
    -+            pkgs.ripgrep
    -+            pkgs.rust-analyzer
    ++          packages = with pkgs; [
    ++            cargo-watch
    ++            cargo-nextest
    ++            ripgrep
    ++            rust-analyzer
     +          ];
     +        };
     +      });
fintohaps pushed revision 3 0fa9a46a on base 35830ecb +329 -32 1 year ago

Changes:

  • Fix to adding apps entry in flake.nix
  • Add README entry for Nix
  • Add CHANGELOG entries
fintohaps pushed revision 4 4fdda142 on base 35830ecb +329 -32 1 year ago

Changes:

  • Reword commit titles
  • Reword CHANGELOG entries
did:key:z6MkfUy2...Kau8 pushed revision 5 c925ef12 on base 35830ecb +331 -32 1 year ago

fix(warning): input ‘rust-overlay’ has an override for a non-existent input ‘flake-utils’

fix(error): missing package definition

The error could be reproduced by runnin nix run.

error:
       … while evaluating the attribute 'packages.x86_64-linux.radicle-tui'
         at /nix/store/na7sykizsgkzh9i3wc8m8pz5xfqib2rv-source/lib.nix:40:24:
           39|                 ${key} = (attrs.${key} or { })
           40|                   // { ${system} = ret.${key}; };
             |                        ^
           41|               }

       error: attribute 'radicle-tui' missing
       at /nix/store/hqqa3dsg0gg91kmlkbqcylqbr92vj90n-source/flake.nix:116:17:
          115|           name = "rad-tui";
          116|           drv = self.packages.${system}.radicle-tui;
             |                 ^
          117|         };

chore(gitignore): add result to ignore nix build artifacts

fintohaps pushed revision 6 7d919965 on base 71eb49c1 +301 -1 1 year ago

Changes:

  • Rebased and squashed commits
  • Re-order of mod log line for alphabetical ordering – caught by cargo fmt
did:key:z6MkswQE...2C1V pushed revision 7 053453be on base accdb5bb +301 -1 1 year ago

Rebased.

lorenz pushed revision 8 78aefea5 on base 71eb49c1 +301 -1 1 year ago

Bump Rust toolchain to current stable and update flake inputs.

lorenz pushed revision 9 1cd6118c on base 71eb49c1 +301 -1 1 year ago

Rebase to get rid of fixup commit.

lorenz pushed revision 10 8e7f91f0 on base accdb5bb +301 -1 1 year ago

Rebase

did:key:z6MkswQE...2C1V pushed revision 11 7ac1c0a3 on base accdb5bb +304 -2 1 year ago

Fix CI fail with toolchain override

did:key:z6MkswQE...2C1V merged revision 7ac1c0a3 at fa67e278 1 year ago