Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
use prerelease version of argparse-cpp (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
aakropotkin authored Aug 11, 2023
1 parent 59487c1 commit 9d7205b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ src/pkgdb.o: $(SQL_HH_FILES)

ignores: tests/.gitignore
tests/.gitignore: FORCE
printf '%s\n' $(patsubst tests/%,%,$(TESTS)) > $@
printf '%s\n' $(patsubst tests/%,%,$(test_SRCS:.cc=)) > $@


# ---------------------------------------------------------------------------- #
Expand Down
3 changes: 2 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{ nixpkgs ? builtins.getFlake "nixpkgs"
, floco ? builtins.getFlake "github:aakropotkin/floco"
, sqlite3pp-flake ? builtins.getFlake "github:aakropotkin/sqlite3pp"
, argparse-flake ? builtins.getFlake "github:aakropotkin/argparse"
, sql-builder-src ? builtins.fetchTree {
type = "github"; owner = "six-ddc"; repo = "sql-builder";
}
Expand All @@ -18,7 +19,7 @@
, nlohmann_json ? pkgsFor.nlohmann_json
, nix ? pkgsFor.nix
, boost ? pkgsFor.boost
, argparse ? pkgsFor.argparse
, argparse ? argparse-flake.packages.${system}.argparse
, semver ? floco.packages.${system}.semver
, sqlite3pp ? sqlite3pp-flake.packages.${system}.sqlite3pp
, sql-builder ? pkgsFor.runCommandNoCC "sql-builder" {
Expand Down
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
inputs.floco.url = "github:aakropotkin/floco";
inputs.floco.inputs.nixpkgs.follows = "/nixpkgs";
inputs.argparse.url = "github:aakropotkin/argparse";
inputs.argparse.inputs.nixpkgs.follows = "/nixpkgs";
inputs.sqlite3pp.url = "github:aakropotkin/sqlite3pp";
inputs.sqlite3pp.inputs.nixpkgs.follows = "/nixpkgs";
inputs.sql-builder = {
Expand All @@ -21,7 +23,7 @@

# ---------------------------------------------------------------------------- #

outputs = { nixpkgs, floco, sql-builder, sqlite3pp, ... }: let
outputs = { nixpkgs, floco, argparse, sql-builder, sqlite3pp, ... }: let

# ---------------------------------------------------------------------------- #

Expand All @@ -36,8 +38,11 @@

# ---------------------------------------------------------------------------- #

overlays.deps = nixpkgs.lib.composeExtensions floco.overlays.default
sqlite3pp.overlays.default;
overlays.deps = nixpkgs.lib.composeManyExtensions [
floco.overlays.default
sqlite3pp.overlays.default
argparse.overlays.default
];
overlays.flox-pkgdb = final: prev: {
flox-pkgdb = final.callPackage ./pkg-fun.nix {};
sql-builder = final.runCommandNoCC "sql-builder" {
Expand Down

0 comments on commit 9d7205b

Please sign in to comment.