Compare commits
No commits in common. "main" and "0.1.0" have entirely different histories.
12
package.nix
12
package.nix
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
mkShell,
|
mkShell,
|
||||||
gitSource,
|
|
||||||
|
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
ppxlib,
|
ppxlib,
|
||||||
|
@ -15,10 +14,17 @@
|
||||||
enableShell ? false
|
enableShell ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
let
|
||||||
|
sourceRoot = ./.;
|
||||||
|
fs = lib.fileset;
|
||||||
|
sourceFiles = fs.difference
|
||||||
|
(fs.gitTracked sourceRoot)
|
||||||
|
(fs.fileFilter (file: file.hasExt "nix") sourceRoot);
|
||||||
|
sourceSet = fs.toSource { root = sourceRoot; fileset = sourceFiles; };
|
||||||
|
in buildDunePackage rec {
|
||||||
pname = "ppx_unicode";
|
pname = "ppx_unicode";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = gitSource { root = ./.; };
|
src = sourceSet;
|
||||||
|
|
||||||
minimalOCamlVersion = "5.1";
|
minimalOCamlVersion = "5.1";
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
Loading…
Reference in New Issue