eduproj/jails/default.nix
2021-08-28 06:37:52 -05:00

14 lines
278 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
ocamlStudentModule = pkgs.callPackage ./ocamlStudentModule.nix {};
in
pkgs.stdenv.mkDerivation {
name = "edujails";
src = ./.;
installPhase = ''
mkdir -p $out/bin
cp ${ocamlStudentModule} $out/bin/ocamlStudentModule
'';
}