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
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)
|
|
'';
|
|
|
|
}
|