You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
609 B

#! /bin/bash
curl -d \
'{
"store_path": "/nix/store/dzyimsdk9yq7x6g24r79ipg3vbalyyy1-libidn2-2.3.1",
"nar_hash": "sha256:1rizfnla4lyjls0d6dpf195r5xm6mz1z34xg64pnirrdrlsqrksa",
"nar_size": 240792,
"references": [
"dzyimsdk9yq7x6g24r79ipg3vbalyyy1-libidn2-2.3.1",
"i1dc1ac2hxjfl59rvsj49vvgvl1nl16s-libunistring-0.9.10"
],
"sig": [
"cache.nixos.org-1:LuHqfckGdiPXBgpc1KYl49TCqHBjg85lFuJGb8UL93Z7OMc2Tl2+8MC081CWZ2lBx4ZkN0rc1jT21uInH0rlBw=="
],
"deriver": "vvikw51p1mrdw7lkqnnj16ha3612vp18-libidn2-2.3.1.drv"
}' -H 'Content-Type: application/json' http://localhost:8099/api_v1/upload