eduproj/jails/default.nix

15 lines
278 B
Nix
Raw Permalink Normal View History

2021-08-28 11:37:52 +00:00
{ 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
'';
}