tridactyl-native: build with lockfile

This commit is contained in:
Emery Hemingway 2023-10-31 15:57:14 +00:00
parent dce1f58e63
commit a7758d7dd8
3 changed files with 20 additions and 5 deletions

View file

@ -0,0 +1,16 @@
{
"depends": [
{
"method": "fetchzip",
"packages": [
"tempfile"
],
"path": "/nix/store/d0x874ngf02b8fk1xralnvmij7xh0kjc-source",
"ref": "0.1.7",
"rev": "26e0239441755e5edcfd170e9aa566bb9c9eb6f3",
"sha256": "10d1g09q6p554pwr6a3b6ajnwqbphz3a4cwkfa05jbviflfyzjyk",
"srcDir": "",
"url": "https://github.com/OpenSystemsLab/tempfile.nim/archive/26e0239441755e5edcfd170e9aa566bb9c9eb6f3.tar.gz"
}
]
}

View file

@ -1,6 +1,6 @@
{ lib, nimPackages, fetchFromGitHub }:
{ lib, buildNimPackage, fetchFromGitHub }:
nimPackages.buildNimPackage rec {
buildNimPackage {
pname = "tridactyl-native";
version = "0.3.7";
@ -10,7 +10,8 @@ nimPackages.buildNimPackage rec {
rev = "62f19dba573b924703829847feb1bfee68885514";
sha256 = "sha256-YGDVcfFcI9cRCCZ4BrO5xTuI9mrGq1lfbEITB7o3vQQ=";
};
buildInputs = with nimPackages; [ tempfile ];
lockFile = ./lock.json;
installPhase = ''
mkdir -p "$out/lib/mozilla/native-messaging-hosts"

View file

@ -7832,8 +7832,6 @@ with pkgs;
tracy = callPackage ../development/tools/tracy { };
tridactyl-native = callPackage ../tools/networking/tridactyl-native { };
trivy = callPackage ../tools/admin/trivy { };
trompeloeil = callPackage ../development/libraries/trompeloeil { };