[{"data":1,"prerenderedAt":222},["ShallowReactive",2],{"navigation_docs_en":3,"\u002Fen\u002Fguides\u002Fupdating":85,"\u002Fen\u002Fguides\u002Fupdating-surround":217},[4,19,41,75],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":18},"Getting started","i-lucide-book-open","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,14],{"title":11,"path":12,"stem":13},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F1.installation",{"title":15,"path":16,"stem":17},"Your first Pin","\u002Fen\u002Fgetting-started\u002Ffirst-pin","en\u002F1.getting-started\u002F2.first-pin",false,{"title":20,"icon":21,"path":22,"stem":23,"children":24,"page":18},"Guides","i-lucide-route","\u002Fen\u002Fguides","en\u002F2.guides",[25,29,33,37],{"title":26,"path":27,"stem":28},"Updating and selecting Pins","\u002Fen\u002Fguides\u002Fupdating","en\u002F2.guides\u002F1.updating",{"title":30,"path":31,"stem":32},"Combining Checkers and Fetchers","\u002Fen\u002Fguides\u002Fcombinations","en\u002F2.guides\u002F2.combinations",{"title":34,"path":35,"stem":36},"Multiple Sources and patches","\u002Fen\u002Fguides\u002Fmulti-source","en\u002F2.guides\u002F3.multi-source",{"title":38,"path":39,"stem":40},"Packages and dependency hashes","\u002Fen\u002Fguides\u002Fdependencies","en\u002F2.guides\u002F4.dependencies",{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":18},"Reference","i-lucide-code","\u002Fen\u002Freference","en\u002F3.reference",[47,51,55,59,63,67,71],{"title":48,"path":49,"stem":50},"CLI","\u002Fen\u002Freference\u002Fcli","en\u002F3.reference\u002F1.cli",{"title":52,"path":53,"stem":54},"Runtime configuration","\u002Fen\u002Freference\u002Fconfiguration","en\u002F3.reference\u002F2.configuration",{"title":56,"path":57,"stem":58},"Pin declarations","\u002Fen\u002Freference\u002Fpins","en\u002F3.reference\u002F3.pins",{"title":60,"path":61,"stem":62},"Checkers","\u002Fen\u002Freference\u002Fcheckers","en\u002F3.reference\u002F4.checkers",{"title":64,"path":65,"stem":66},"Fetchers","\u002Fen\u002Freference\u002Ffetchers","en\u002F3.reference\u002F5.fetchers",{"title":68,"path":69,"stem":70},"Package Builders","\u002Fen\u002Freference\u002Fbuilders","en\u002F3.reference\u002F6.builders",{"title":72,"path":73,"stem":74},"Reader and Pins File","\u002Fen\u002Freference\u002Freader","en\u002F3.reference\u002F7.reader",{"title":76,"icon":77,"path":78,"stem":79,"children":80,"page":18},"Troubleshooting","i-lucide-wrench","\u002Fen\u002Ftroubleshooting","en\u002F4.troubleshooting",[81],{"title":82,"path":83,"stem":84},"Common errors","\u002Fen\u002Ftroubleshooting\u002Fcommon-errors","en\u002F4.troubleshooting\u002F1.common-errors",{"id":86,"title":26,"body":87,"description":210,"extension":211,"links":212,"meta":213,"navigation":214,"path":27,"seo":215,"stem":28,"__hash__":216},"docs_en\u002Fen\u002F2.guides\u002F1.updating.md",{"type":88,"value":89,"toc":204},"minimark",[90,95,112,120,124,146,149,152,156,176,187,191,194,197,200],[91,92,94],"h2",{"id":93},"update-all-pins","Update all Pins",[96,97,102],"pre",{"className":98,"code":99,"language":100,"meta":101,"style":101},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","nix-pins update\n","sh","",[103,104,105],"code",{"__ignoreMap":101},[106,107,110],"span",{"class":108,"line":109},"line",1,[106,111,99],{},[113,114,115,116,119],"p",{},"Without names or ",[103,117,118],{},"--filter",", the command processes every configured Pin. A full update also removes Pins and failure records that are no longer in the configuration from the Pins File.",[91,121,123],{"id":122},"select-pins-to-update","Select Pins to update",[96,125,127],{"className":98,"code":126,"language":100,"meta":101,"style":101},"nix-pins update patchelf ripgrep\nnix-pins update --filter '^python-'\nnix-pins update patchelf --filter '^python-'\n",[103,128,129,134,140],{"__ignoreMap":101},[106,130,131],{"class":108,"line":109},[106,132,133],{},"nix-pins update patchelf ripgrep\n",[106,135,137],{"class":108,"line":136},2,[106,138,139],{},"nix-pins update --filter '^python-'\n",[106,141,143],{"class":108,"line":142},3,[106,144,145],{},"nix-pins update patchelf --filter '^python-'\n",[113,147,148],{},"Names and regular expression matches are combined as a union. Every explicit name must exist. A filter with no matches and no explicit names is an error. Selective updates leave locked entries outside the selection unchanged, including entries removed from the configuration.",[113,150,151],{},"Sources and Packages cannot be selected individually. A Pin updates only after all of its Sources succeed.",[91,153,155],{"id":154},"inspect-without-updating","Inspect without updating",[96,157,159],{"className":98,"code":158,"language":100,"meta":101,"style":101},"nix-pins\nnix-pins status\nnix-pins status patchelf\n",[103,160,161,166,171],{"__ignoreMap":101},[106,162,163],{"class":108,"line":109},[106,164,165],{},"nix-pins\n",[106,167,168],{"class":108,"line":136},[106,169,170],{},"nix-pins status\n",[106,172,173],{"class":108,"line":142},[106,174,175],{},"nix-pins status patchelf\n",[113,177,178,179,182,183,186],{},"With no subcommand, the CLI runs ",[103,180,181],{},"status",". It reads existing locked results and the last recorded failures. There is currently no ",[103,184,185],{},"status --refresh"," command.",[91,188,190],{"id":189},"failures-and-cancellation","Failures and cancellation",[113,192,193],{},"Configuration errors fail the entire operation before any Checker runs. A runtime failure in one Pin does not stop other Pins from updating. Failed Pins retain their previous usable contents. If the first attempt to lock a Pin fails, only a failure record is saved; no Pin entry with a fake hash is created.",[113,195,196],{},"Successful results are written together atomically to the Pins File at the end. Cancellation does not write results. A write lock prevents multiple processes from writing the same Pins File concurrently.",[113,198,199],{},"Interactive terminals show Pin, Source, and Package progress. Redirected output and CI use text output. A completed indicator means computation succeeded; persistence happens during the final write.",[201,202,203],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":101,"searchDepth":136,"depth":136,"links":205},[206,207,208,209],{"id":93,"depth":136,"text":94},{"id":122,"depth":136,"text":123},{"id":154,"depth":136,"text":155},{"id":189,"depth":136,"text":190},"Full updates, selective updates, failure preservation, and cancellation.","md",null,{},true,{"title":26,"description":210},"baIeybiCMdP5fS7xHPsiAKY9xpYAFGavNERqRC3QEIQ",[218,220],{"title":15,"path":16,"stem":17,"description":219,"children":-1},"Check a version, lock source code, and consume it in Nix with a GitHub example.",{"title":30,"path":31,"stem":32,"description":221,"children":-1},"Select versions from registries, Git, or custom commands and choose how to download them independently.",1791031183960]