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

## Based on locolamp https://github.com/totten/locolamp
{
pkgs ? import <nixpkgs> {
inherit system;
},
system ? builtins.currentSystem,
}:
pkgs.stdenv.mkDerivation rec {
name = "searchanddisplace-core";
buildInputs = import ./default.nix { inherit system; };
## When starting `nix-shell`, load all the project-wide config variables from `loco.yml`.
## This ensures that, e.g., the `mysql` and `mysqldump` commands have the right `MYSQL_HOME`.
shellHook = ''
eval $(loco env --export)
'';
}