Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

TawasalMessenger/aerospike-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Global installation for NixOS

/etc/nixos/configuration.nix:

{
# ...
  imports = [
    (import (fetchTarball {
      url = "https://github.com/TawasalMessenger/aerospike-flake/archive/5.5.0.3-1.tar.gz";
      sha256 = "16xvmr8jjgjz4ivh7bwz8780768dhmcwxz4v9a0jds2vphb9wpq4";
    })).nixosModule
  ];
  services.aerospike.enable = true;

  # Only this version supports `submodules` attribute for fetchTree
  nix.package = with pkgs; nixUnstable.overrideAttrs (_: {
    name = "nix-2.4";
    suffix = "";
    src = fetchFromGitHub {
      owner = "NixOS";
      repo = "nix";
      rev = "b7bfc7ee52dd425e0156f369eb4c05a62358f912";
      sha256 = "WCUtN3ICisLlSRDk4Tgl9Gh7+74TuNGsAXwKHpm3uVg=";
    };
    patches = [ ];
  });
# ...
}