diff options
Diffstat (limited to 'fun/paroxysm/default.nix')
-rw-r--r-- | fun/paroxysm/default.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/fun/paroxysm/default.nix b/fun/paroxysm/default.nix index 1aeaeb9912eb..54f59dc47659 100644 --- a/fun/paroxysm/default.nix +++ b/fun/paroxysm/default.nix @@ -1,14 +1,10 @@ -{ depot, pkgs, ... }: +{ pkgs, ... }: -depot.third_party.naersk.buildPackage { - name = "paroxysm"; - version = "0.0.2"; - src = ./.; +let + cargoNix = import ./Cargo.nix { + inherit pkgs; + nixpkgs = pkgs.path; + }; +in - buildInputs = with pkgs; [ - openssl - pkg-config - postgresql.lib - curl - ]; -} +cargoNix.rootCrate.build |