build from source

This commit is contained in:
Jeffrey C. Ollie 2022-11-17 12:23:10 -06:00
parent e42abffa6b
commit 5175423ab1
No known key found for this signature in database
GPG key ID: F936E4DCB7E25F15
2 changed files with 17 additions and 8 deletions

View file

@ -19,7 +19,7 @@
in in
{ {
packages = { packages = {
open-lens = open-lens-from-binary =
let let
pname = "open-lens"; pname = "open-lens";
version = "6.1.19"; version = "6.1.19";
@ -56,13 +56,21 @@
''; '';
}; };
}; };
open-lens-from-source =
apps = { let
# asdm = { version = "6.2.0";
# type = "app"; in
# program = "${self.packages.${system}.mpc}/bin/mpc"; pkgs.mkYarnPackage {
# }; src = pkgs.fetchFromGitHub {
}; owner = "lensapp";
repo = "lens";
rev = "v${version}";
sha256 = "sha256-jJt731hUbBYFHZ9dJDfHPss1loIgyEogWwRQtukIKs8=";
};
buildPhase = ''
make build
'';
};
}; };
} }
); );

1
result Symbolic link
View file

@ -0,0 +1 @@
/nix/store/y3njclwrx38amm39ccgqzhvakq3hkvm1-open-lens-6.1.19