mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 08:17:13 +00:00
Co-authored-by: semgrep-companion-app[bot] <218312740+semgrep-companion-app[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
26 lines
841 B
Nix
26 lines
841 B
Nix
{
|
|
description = "Nix related things for xrpld";
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
# nixpkgs snapshot (2020-06-30) that shipped glibc 2.31 as the primary
|
|
# version — matches the system libc on Ubuntu 20.04 LTS. Imported
|
|
# manually (flake = false) because this revision predates nixpkgs'
|
|
# own flake.nix.
|
|
nixpkgs-custom-glibc = {
|
|
url = "github:NixOS/nixpkgs/9cd98386a38891d1074fc18036b842dc4416f562";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
{ nixpkgs, nixpkgs-custom-glibc, ... }:
|
|
let
|
|
forEachSystem = import ./nix/utils.nix { inherit nixpkgs nixpkgs-custom-glibc; };
|
|
in
|
|
{
|
|
devShells = forEachSystem (import ./nix/devshell.nix);
|
|
packages = forEachSystem (import ./nix/ci-env.nix);
|
|
formatter = forEachSystem ({ pkgs, ... }: pkgs.nixfmt);
|
|
};
|
|
}
|