Compare commits

..

No commits in common. "nix-shell" and "develop" have entirely different histories.

2 changed files with 0 additions and 25 deletions

1
.envrc
View File

@ -1 +0,0 @@
use nix

View File

@ -1,24 +0,0 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = with pkgs; [
gcc
gnumake
automake
autoconf
];
env.MYSQL_DIR = toString (pkgs.symlinkJoin {
name ="libmysqlclient";
paths = with pkgs; [
libmysqlclient.out
libmysqlclient.dev
];
});
env.BUILD = pkgs.writeShellScript "build" ''
make maintainer-clean
autoreconf --force --install --symlink
./configure --with-mysql="$MYSQL_DIR" --sysconfdir=$(pwd)
make
'';
}