janus/default.nix
2021-12-10 14:22:15 -05:00

17 lines
328 B
Nix

{pkgs ? import <nixpkgs> {}}:
with pkgs;
let
ruby = ruby_3_0;
gems = bundlerEnv {
name = "env";
inherit ruby;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = import ./gemset.nix;
};
in
stdenv.mkDerivation {
name = "janus";
src = ./.;
buildInputs = [gems gems.wrappedRuby yarn];
}