Merge branch 'past'

This commit is contained in:
Maxime Vorwerk
2025-05-31 17:37:11 +02:00
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,2 @@
# nixos-db-main # nixos-db-main
Nixos Derivation for DB-Main (https://www.db-main.eu/). Nixos Derivation for DB-Main (https://www.db-main.eu/).
This needs the DB-Main files separately. The files are expected to be in a db-main directory, so that the db_main binary in in ./db-main/bin/db_main. This has been tested for version 11.0.2 .

View File

@@ -3,7 +3,13 @@ pkgs.stdenv.mkDerivation {
pname = "db-main"; pname = "db-main";
version = "1.0"; version = "1.0";
src = ./db-main; #src = ./db-main;
src = builtins.fetchurl {
url = "https://projects.info.unamur.be/dbmain/files/dbm-1102-linux-amd64-setup.tar.gz";
};
umpackCmd = "tar -xzf $src";
nativeBuildInputs = [ nativeBuildInputs = [
pkgs.makeWrapper pkgs.makeWrapper
pkgs.patchelf pkgs.patchelf