15 lines
278 B
Nix
15 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
|
||
|
'';
|
||
|
}
|