use buildEnv for radical-native
This commit is contained in:
parent
c037f7b4e1
commit
3c169e222e
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
pkgs, stdenv, lib, fetchFromGitHub, rustPlatform,
|
pkgs, buildEnv, lib, fetchFromGitHub, rustPlatform,
|
||||||
sqlcipher, ...
|
sqlcipher, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -22,10 +22,9 @@ let
|
||||||
cargoSha256 = "07499mybgr91kklbxcp3wlj0d2a3d25hj68w98z2xy1j1dkyhyw6";
|
cargoSha256 = "07499mybgr91kklbxcp3wlj0d2a3d25hj68w98z2xy1j1dkyhyw6";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
manifest = pkgs.writeTextFile {
|
||||||
|
|
||||||
pkgs.writeTextFile {
|
|
||||||
name = "radical.native.json";
|
name = "radical.native.json";
|
||||||
|
destination = "/lib/mozilla/native-messaging-hosts/radical.native.json";
|
||||||
text = ''
|
text = ''
|
||||||
{
|
{
|
||||||
"name": "radical.native",
|
"name": "radical.native",
|
||||||
|
@ -35,4 +34,14 @@ pkgs.writeTextFile {
|
||||||
"allowed_extensions": [ "@radical-native" ]
|
"allowed_extensions": [ "@radical-native" ]
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
|
buildEnv {
|
||||||
|
|
||||||
|
name = "radical-nativeFull";
|
||||||
|
|
||||||
|
paths = [ host manifest ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue