forked from cadey/maj
14 lines
346 B
Nix
14 lines
346 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
cargo_nix = pkgs.callPackage ./Cargo.nix {
|
|
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
|
|
ncurses = attrs: { buildInputs = with pkgs; [ ncurses pkg-config ]; };
|
|
};
|
|
|
|
};
|
|
in {
|
|
majc = cargo_nix.workspaceMembers."majc".build;
|
|
majsite = cargo_nix.workspaceMembers."majsite".build;
|
|
}
|