build from source
This commit is contained in:
parent
e42abffa6b
commit
5175423ab1
2 changed files with 17 additions and 8 deletions
24
flake.nix
24
flake.nix
|
@ -19,7 +19,7 @@
|
|||
in
|
||||
{
|
||||
packages = {
|
||||
open-lens =
|
||||
open-lens-from-binary =
|
||||
let
|
||||
pname = "open-lens";
|
||||
version = "6.1.19";
|
||||
|
@ -56,13 +56,21 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
apps = {
|
||||
# asdm = {
|
||||
# type = "app";
|
||||
# program = "${self.packages.${system}.mpc}/bin/mpc";
|
||||
# };
|
||||
};
|
||||
open-lens-from-source =
|
||||
let
|
||||
version = "6.2.0";
|
||||
in
|
||||
pkgs.mkYarnPackage {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "lensapp";
|
||||
repo = "lens";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jJt731hUbBYFHZ9dJDfHPss1loIgyEogWwRQtukIKs8=";
|
||||
};
|
||||
buildPhase = ''
|
||||
make build
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
1
result
Symbolic link
1
result
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/y3njclwrx38amm39ccgqzhvakq3hkvm1-open-lens-6.1.19
|
Loading…
Reference in a new issue