Initial repo for search and displace code (written for, rather than the tools used in the processing)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
521 B

2 years ago
  1. ## Based on locolamp https://github.com/totten/locolamp
  2. {
  3. pkgs ? import <nixpkgs> {
  4. inherit system;
  5. },
  6. system ? builtins.currentSystem,
  7. }:
  8. pkgs.stdenv.mkDerivation rec {
  9. name = "searchanddisplace-core";
  10. buildInputs = import ./default.nix { inherit system; };
  11. ## When starting `nix-shell`, load all the project-wide config variables from `loco.yml`.
  12. ## This ensures that, e.g., the `mysql` and `mysqldump` commands have the right `MYSQL_HOME`.
  13. shellHook = ''
  14. eval $(loco env --export)
  15. '';
  16. }