Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kirk committed Oct 12, 2023
1 parent dd7be19 commit 4fc24d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: nix develop --command cargo fmt -- --check

- name: Clippy
run: nix develop --command printenv; cargo clippy --all-targets --no-deps -- -Dwarnings
run: nix develop --command cargo clippy --all-targets --no-deps -- -Dwarnings

- name: Build
run: nix develop --command cargo build --all
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
zlib
zstd
rdkafka
tdengine
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]);
};
});
Expand Down
13 changes: 5 additions & 8 deletions overlays/tdengine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@ stdenv.mkDerivation {
dontUseCmakeConfigure=true;

nativeBuildInputs = with nixpkgs; [
cjson
lz4
cacert
git
pkg-config
xz
jansson
cmake
];

buildPhase = ''
mkdir debug
cd debug
cmake .. -DBUILD_TOOLS=false -DBUILD_HTTP=true
ls
make
ls -f
./build.sh
'';

installPhase = ''
Expand Down

0 comments on commit 4fc24d0

Please sign in to comment.