guix-manual.sk.po 2.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) 2021 the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Marek Felšöci <marek@felsoci.sk>, 2021, 2022.
  5. # Rostislav Svoboda <Rostislav.Svoboda@gmail.com>, 2021.
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: guix manual checkout\n"
  9. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  10. "POT-Creation-Date: 2022-02-15 15:18+0000\n"
  11. "PO-Revision-Date: 2022-01-23 01:16+0000\n"
  12. "Last-Translator: Marek Felšöci <marek@felsoci.sk>\n"
  13. "Language-Team: Slovak <https://translate.fedoraproject.org/projects/guix/documentation-manual/sk/>\n"
  14. "Language: sk\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
  19. "X-Generator: Weblate 4.10.1\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:182
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Zapojiť sa"
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Libera Chat IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  32. msgstr "Tento projekt je výsledkom spoločného úsilia a potrebujeme vašu pomoc pri jeho rozširovaní! Spojte sa s nami prostredníctvom @email{guix-devel@@gnu.org} alebo @code{#guix} na sieti Libera Chat. Radi privítame vaše nápady, hlásenia chýb, záplaty a čokoľvek čo môže projektu pomôcť. Zvlášť radi privítame vašu pomoc s pridávaním balíkov (@pxref{Packaging Guidelines})."
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr "zásady správania, prispievateľov"
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr "záväzok prispievateľa"
  43. #. type: Plain text
  44. #: guix-git/doc/contributing.texi:17
  45. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  46. msgstr "Chceme vám poskytnúť príjemné a priateľské prostredie bez obťažovania, aby sa každý mohol zapojiť najlepšie ako vie. Preto sa náš projekt riadi „záväzkom prispievateľa“ založeným na @url{https://contributor-covenant.org/}. Úplné znenie záväzku nájdete v súbore @file{CODE-OF-CONDUCT} v strome zdrojových súborov."
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:21
  49. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  50. msgstr "Prispievatelia nemusia používať ich ozajstné meno v záplatách a online dokumentácii; môžu používať ľubovoľné meno alebo prezývku."
  51. #. type: section
  52. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  53. #: guix-git/doc/contributing.texi:36
  54. #, no-wrap
  55. msgid "Building from Git"
  56. msgstr "Zostavenie z Gitu"
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:33
  59. msgid "The latest and greatest."
  60. msgstr "Vždy ten najnovší."
  61. #. type: section
  62. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:192
  63. #: guix-git/doc/contributing.texi:193
  64. #, no-wrap
  65. msgid "Running Guix Before It Is Installed"
  66. msgstr "Spúšťanie Guixu ešte pred inštaláciou"
  67. #. type: menuentry
  68. #: guix-git/doc/contributing.texi:33
  69. msgid "Hacker tricks."
  70. msgstr "Finty pre hackerov."
  71. #. type: section
  72. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:284
  73. #: guix-git/doc/contributing.texi:285
  74. #, no-wrap
  75. msgid "The Perfect Setup"
  76. msgstr "Dokonalé nastavenie"
  77. #. type: menuentry
  78. #: guix-git/doc/contributing.texi:33
  79. msgid "The right tools."
  80. msgstr "Správne nástroje."
  81. #. type: section
  82. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:375
  83. #: guix-git/doc/contributing.texi:376
  84. #, no-wrap
  85. msgid "Packaging Guidelines"
  86. msgstr "Zásady pridávania balíkov"
  87. #. type: menuentry
  88. #: guix-git/doc/contributing.texi:33
  89. msgid "Growing the distribution."
  90. msgstr "Rast distribúcie."
  91. #. type: section
  92. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:939
  93. #: guix-git/doc/contributing.texi:940
  94. #, no-wrap
  95. msgid "Coding Style"
  96. msgstr "Štýl kódovania"
  97. #. type: menuentry
  98. #: guix-git/doc/contributing.texi:33
  99. msgid "Hygiene of the contributor."
  100. msgstr "Návyky prispievateľa."
  101. #. type: section
  102. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1032
  103. #: guix-git/doc/contributing.texi:1033
  104. #, no-wrap
  105. msgid "Submitting Patches"
  106. msgstr "Odovzdávanie záplat"
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:33
  109. msgid "Share your work."
  110. msgstr "Zdieľajte vašu prácu."
  111. #. type: section
  112. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1317
  113. #: guix-git/doc/contributing.texi:1318
  114. #, no-wrap
  115. msgid "Tracking Bugs and Patches"
  116. msgstr "Sledovanie chýb a záplat"
  117. #. type: menuentry
  118. #: guix-git/doc/contributing.texi:33
  119. msgid "Keeping it all organized."
  120. msgstr "Organizácia správy chýb."
  121. #. type: section
  122. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1432
  123. #: guix-git/doc/contributing.texi:1433
  124. #, no-wrap
  125. msgid "Commit Access"
  126. msgstr "Právo na úpravu"
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:33
  129. msgid "Pushing to the official repository."
  130. msgstr "Odosielanie úprav do oficiálneho repozitára."
  131. #. type: section
  132. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1663
  133. #: guix-git/doc/contributing.texi:1664
  134. #, no-wrap
  135. msgid "Updating the Guix Package"
  136. msgstr "Aktualizácia balíka Guix"
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:33
  139. msgid "Updating the Guix package definition."
  140. msgstr "Aktualizovať zadanie balíka Guix."
  141. #. type: section
  142. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1704
  143. #: guix-git/doc/contributing.texi:1705
  144. #, no-wrap
  145. msgid "Translating Guix"
  146. msgstr "Preklad Guixu"
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr "Guix vo vašom materinskom jazyku."
  151. #. type: Plain text
  152. #: guix-git/doc/contributing.texi:40
  153. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  154. msgstr "Ak chcete pracovať na Guixe samotnom, odporúčame vám použiť najnovšiu verziu z Git repozitára:"
  155. #. type: example
  156. #: guix-git/doc/contributing.texi:43
  157. #, no-wrap
  158. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  159. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr "overenie, miestneho Git repozitára Guixu"
  165. #. type: Plain text
  166. #: guix-git/doc/contributing.texi:50
  167. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  168. msgstr "Ako sa uistíte, že ste získali pravú kópiu repozitára? Spustite @command{guix git authenticate} a ako parametre použite číslo úpravy (commit) a OpenPGP odtlačok @dfn{úvodu kanála} (@pxref{Invoking guix git authenticate}):"
  169. #. type: example
  170. #: guix-git/doc/contributing.texi:57
  171. #, no-wrap
  172. msgid ""
  173. "git fetch origin keyring:keyring\n"
  174. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  175. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  176. msgstr ""
  177. "git fetch origin keyring:keyring\n"
  178. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  179. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:62
  182. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  183. msgstr "Tento príkaz má v prípade úspešného ukončenia nulovú návratovú hodnotu; v opačnom prípade zobrazí chybové hlásenie a vráti nenulovú hodnotu."
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:69
  186. msgid "As you can see, there is a chicken-and-egg problem: you first need to have Guix installed. Typically you would install Guix System (@pxref{System Installation}) or Guix on top of another distro (@pxref{Binary Installation}); in either case, you would verify the OpenPGP signature on the installation medium. This ``bootstraps'' the trust chain."
  187. msgstr "Ako vidíte, je to rovnaký problém ako v prípade sliepky a vajca: najprv musíte mať nainštalovaný Guix. Obyčajne by ste si nainštalovali Guix ako samostatný systém (@pxref{System Installation}) alebo ako doplnkového správcu balíkov na inej distribúcii (@pxref{Binary Installation}); v každom prípade by ste si overili OpenPGP podpis na inštalačnom nosiči. Toto predstavuje začiatok reťazca dôvery."
  188. #. type: Plain text
  189. #: guix-git/doc/contributing.texi:74
  190. msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:"
  191. msgstr "Najjednoduchší spôsob nastavenia vývojového prostredia pre Guix je samozrejme s použitím Guixu! Nasledovný príkaz spustí nový shell so všetkými závislosťami a premennými prostrediami potrebnými na prácu s Guixom:"
  192. #. type: example
  193. #: guix-git/doc/contributing.texi:77
  194. #, no-wrap
  195. msgid "guix shell -D guix --pure\n"
  196. msgstr "guix shell -D guix --pure\n"
  197. #. type: Plain text
  198. #: guix-git/doc/contributing.texi:80
  199. msgid "@xref{Invoking guix shell}, for more information on that command."
  200. msgstr "Viď @xref{Invoking guix shell} pre viac podrobností o tomto príkaze."
  201. #. type: Plain text
  202. #: guix-git/doc/contributing.texi:84
  203. msgid "If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the installation instructions (@pxref{Requirements})."
  204. msgstr "Ak nemáte možnosť použiť Guix na zostavenie Guixu zo zdrojových súborov, budete ešte okrem balíkov spomenutých v návode na inštaláciu (@pxref{Requirements}) potrebovať aj nasledovné balíky."
  205. #. type: item
  206. #: guix-git/doc/contributing.texi:86
  207. #, no-wrap
  208. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  209. msgstr "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  210. #. type: item
  211. #: guix-git/doc/contributing.texi:87
  212. #, no-wrap
  213. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  214. msgstr "@url{https://gnu.org/software/automake/, GNU Automake};"
  215. #. type: item
  216. #: guix-git/doc/contributing.texi:88
  217. #, no-wrap
  218. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  219. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  220. #. type: item
  221. #: guix-git/doc/contributing.texi:89
  222. #, no-wrap
  223. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  224. msgstr "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  225. #. type: item
  226. #: guix-git/doc/contributing.texi:90
  227. #, no-wrap
  228. msgid "@url{https://www.graphviz.org/, Graphviz};"
  229. msgstr "@url{https://www.graphviz.org/, Graphviz};"
  230. #. type: item
  231. #: guix-git/doc/contributing.texi:91
  232. #, no-wrap
  233. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  234. msgstr "@url{https://www.gnu.org/software/help2man/, GNU Help2man (nepovinné)}."
  235. #. type: Plain text
  236. #: guix-git/doc/contributing.texi:96
  237. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  238. msgstr "V Guixe môžete dodatočné závislosti pridať pomocou príkazu @command{guix shell}:"
  239. #. type: example
  240. #: guix-git/doc/contributing.texi:99
  241. #, no-wrap
  242. msgid "guix shell -D guix help2man git strace --pure\n"
  243. msgstr "guix shell -D guix help2man git strace --pure\n"
  244. #. type: Plain text
  245. #: guix-git/doc/contributing.texi:103
  246. #, fuzzy
  247. #| msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  248. msgid "From there you can generate the build system infrastructure using Autoconf and Automake:"
  249. msgstr "Spustite @command{./bootstrap} pre vytvorenie kostry zostavovacieho systému pomocou nástrojov Autoconf a Automake. V prípade chyby ako je táto:"
  250. #. type: example
  251. #: guix-git/doc/contributing.texi:106
  252. #, no-wrap
  253. msgid "./bootstrap\n"
  254. msgstr ""
  255. #. type: Plain text
  256. #: guix-git/doc/contributing.texi:109
  257. msgid "If you get an error like this one:"
  258. msgstr ""
  259. #. type: example
  260. #: guix-git/doc/contributing.texi:112
  261. #, no-wrap
  262. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  263. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  264. #. type: Plain text
  265. #: guix-git/doc/contributing.texi:121
  266. msgid "it probably means that Autoconf couldn’t find @file{pkg.m4}, which is provided by pkg-config. Make sure that @file{pkg.m4} is available. The same holds for the @file{guile.m4} set of macros provided by Guile. For instance, if you installed Automake in @file{/usr/local}, it wouldn’t look for @file{.m4} files in @file{/usr/share}. In that case, you have to invoke the following command:"
  267. msgstr "toto pravdepodobne znamená, že Autoconf nenašiel @file{pkg.m4} poskytovaný balíkom pkg-config. Uistite, sa že @file{pkg.m4} je dostupný. To isté platí pre zbierku makier @file{guile.m4}, ktorú poskytuje Guile. Napríklad, ak ste nainštalovali Automake do @file{/usr/local}, tak súbory @file{.m4} nebude hľadať v @file{/usr/share}. V tomto prípade musíte spustiť nasledovný príkaz:"
  268. #. type: example
  269. #: guix-git/doc/contributing.texi:124
  270. #, no-wrap
  271. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  272. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  273. #. type: Plain text
  274. #: guix-git/doc/contributing.texi:128
  275. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  276. msgstr "Viď @xref{Macro Search Path,,, automake, The GNU Automake Manual} pre viac podrobností."
  277. #. type: Plain text
  278. #: guix-git/doc/contributing.texi:130
  279. msgid "Then, run:"
  280. msgstr ""
  281. #. type: example
  282. #: guix-git/doc/contributing.texi:133
  283. #, no-wrap
  284. msgid "./configure --localstatedir=/var\n"
  285. msgstr ""
  286. #. type: Plain text
  287. #: guix-git/doc/contributing.texi:140
  288. msgid "... where @file{/var} is the normal @code{localstatedir} value (@pxref{The Store}, for information about this). Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  289. msgstr ""
  290. #. type: Plain text
  291. #: guix-git/doc/contributing.texi:143
  292. msgid "Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}):"
  293. msgstr ""
  294. #. type: example
  295. #: guix-git/doc/contributing.texi:147
  296. #, no-wrap
  297. msgid ""
  298. "make\n"
  299. "make check\n"
  300. msgstr ""
  301. #. type: Plain text
  302. #: guix-git/doc/contributing.texi:153
  303. msgid "If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  304. msgstr ""
  305. #. type: Plain text
  306. #: guix-git/doc/contributing.texi:156
  307. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  308. msgstr ""
  309. #. type: example
  310. #: guix-git/doc/contributing.texi:159
  311. #, no-wrap
  312. msgid "make authenticate\n"
  313. msgstr ""
  314. #. type: Plain text
  315. #: guix-git/doc/contributing.texi:162
  316. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  317. msgstr ""
  318. #. type: Plain text
  319. #: guix-git/doc/contributing.texi:168
  320. msgid "Or, when your configuration for your local Git repository doesn't match the default one, you can provide the reference for the @code{keyring} branch through the variable @code{GUIX_GIT_KEYRING}. The following example assumes that you have a Git remote called @samp{myremote} pointing to the official repository:"
  321. msgstr ""
  322. #. type: example
  323. #: guix-git/doc/contributing.texi:171
  324. #, no-wrap
  325. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  326. msgstr ""
  327. #. type: quotation
  328. #: guix-git/doc/contributing.texi:173 guix-git/doc/contributing.texi:1515
  329. #: guix-git/doc/guix.texi:605 guix-git/doc/guix.texi:654
  330. #: guix-git/doc/guix.texi:844 guix-git/doc/guix.texi:1830
  331. #: guix-git/doc/guix.texi:2093 guix-git/doc/guix.texi:2277
  332. #: guix-git/doc/guix.texi:2498 guix-git/doc/guix.texi:2710
  333. #: guix-git/doc/guix.texi:3841 guix-git/doc/guix.texi:4586
  334. #: guix-git/doc/guix.texi:4600 guix-git/doc/guix.texi:4682
  335. #: guix-git/doc/guix.texi:4912 guix-git/doc/guix.texi:5655
  336. #: guix-git/doc/guix.texi:6141 guix-git/doc/guix.texi:6398
  337. #: guix-git/doc/guix.texi:6519 guix-git/doc/guix.texi:6547
  338. #: guix-git/doc/guix.texi:6600 guix-git/doc/guix.texi:9685
  339. #: guix-git/doc/guix.texi:9809 guix-git/doc/guix.texi:9879
  340. #: guix-git/doc/guix.texi:11616 guix-git/doc/guix.texi:11656
  341. #: guix-git/doc/guix.texi:11930 guix-git/doc/guix.texi:11942
  342. #: guix-git/doc/guix.texi:14461 guix-git/doc/guix.texi:15092
  343. #: guix-git/doc/guix.texi:15999 guix-git/doc/guix.texi:16989
  344. #: guix-git/doc/guix.texi:19627 guix-git/doc/guix.texi:19797
  345. #: guix-git/doc/guix.texi:27621 guix-git/doc/guix.texi:31379
  346. #: guix-git/doc/guix.texi:35222 guix-git/doc/guix.texi:35456
  347. #: guix-git/doc/guix.texi:35626 guix-git/doc/guix.texi:35790
  348. #: guix-git/doc/guix.texi:35892 guix-git/doc/guix.texi:35931
  349. #: guix-git/doc/guix.texi:36005 guix-git/doc/guix.texi:36342
  350. #: guix-git/doc/guix.texi:37500 guix-git/doc/guix.texi:37575
  351. #: guix-git/doc/guix.texi:37610 guix-git/doc/guix.texi:37660
  352. #: guix-git/doc/guix.texi:37748 guix-git/doc/guix.texi:38237
  353. #, no-wrap
  354. msgid "Note"
  355. msgstr "Poznámka"
  356. #. type: quotation
  357. #: guix-git/doc/contributing.texi:177
  358. msgid "You are advised to run @command{make authenticate} after every @command{git pull} invocation. This ensures you keep receiving valid changes to the repository."
  359. msgstr ""
  360. #. type: Plain text
  361. #: guix-git/doc/contributing.texi:181
  362. msgid "After updating the repository, @command{make} might fail with an error similar to the following example:"
  363. msgstr ""
  364. #. type: example
  365. #: guix-git/doc/contributing.texi:185
  366. #, no-wrap
  367. msgid ""
  368. "error: failed to load 'gnu/packages/dunst.scm':\n"
  369. "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed\n"
  370. msgstr ""
  371. #. type: Plain text
  372. #: guix-git/doc/contributing.texi:191
  373. msgid "This means that one of the record types that Guix defines (in this example, the @code{origin} record) has changed, and all of guix needs to be recompiled to take that change into account. To do so, run @command{make clean-go} followed by @command{make}."
  374. msgstr ""
  375. #. type: Plain text
  376. #: guix-git/doc/contributing.texi:199
  377. msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume."
  378. msgstr ""
  379. #. type: Plain text
  380. #: guix-git/doc/contributing.texi:210
  381. msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix; it is generated by running @command{./bootstrap} followed by @command{./configure}). As an example, here is how you would build the @code{hello} package as defined in your working tree (this assumes @command{guix-daemon} is already running on your system; it's OK if it's a different version):"
  382. msgstr ""
  383. #. type: example
  384. #: guix-git/doc/contributing.texi:213
  385. #, no-wrap
  386. msgid "$ ./pre-inst-env guix build hello\n"
  387. msgstr ""
  388. #. type: Plain text
  389. #: guix-git/doc/contributing.texi:217
  390. msgid "Similarly, an example for a Guile session using the Guix modules:"
  391. msgstr ""
  392. #. type: example
  393. #: guix-git/doc/contributing.texi:220
  394. #, no-wrap
  395. msgid ""
  396. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  397. "\n"
  398. msgstr ""
  399. #. type: example
  400. #: guix-git/doc/contributing.texi:222
  401. #, no-wrap
  402. msgid ";;; (\"x86_64-linux\")\n"
  403. msgstr ""
  404. #. type: cindex
  405. #: guix-git/doc/contributing.texi:225
  406. #, no-wrap
  407. msgid "REPL"
  408. msgstr ""
  409. #. type: cindex
  410. #: guix-git/doc/contributing.texi:226
  411. #, no-wrap
  412. msgid "read-eval-print loop"
  413. msgstr ""
  414. #. type: Plain text
  415. #: guix-git/doc/contributing.texi:229
  416. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  417. msgstr ""
  418. #. type: example
  419. #: guix-git/doc/contributing.texi:244
  420. #, no-wrap
  421. msgid ""
  422. "$ ./pre-inst-env guile\n"
  423. "scheme@@(guile-user)> ,use(guix)\n"
  424. "scheme@@(guile-user)> ,use(gnu)\n"
  425. "scheme@@(guile-user)> (define snakes\n"
  426. " (fold-packages\n"
  427. " (lambda (package lst)\n"
  428. " (if (string-prefix? \"python\"\n"
  429. " (package-name package))\n"
  430. " (cons package lst)\n"
  431. " lst))\n"
  432. " '()))\n"
  433. "scheme@@(guile-user)> (length snakes)\n"
  434. "$1 = 361\n"
  435. msgstr ""
  436. #. type: Plain text
  437. #: guix-git/doc/contributing.texi:252
  438. msgid "If you are hacking on the daemon and its supporting code or if @command{guix-daemon} is not already running on your system, you can launch it straight from the build tree@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:"
  439. msgstr ""
  440. #. type: example
  441. #: guix-git/doc/contributing.texi:255
  442. #, no-wrap
  443. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  444. msgstr ""
  445. #. type: Plain text
  446. #: guix-git/doc/contributing.texi:259
  447. msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}."
  448. msgstr ""
  449. #. type: Plain text
  450. #: guix-git/doc/contributing.texi:264
  451. msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree."
  452. msgstr ""
  453. #. type: Plain text
  454. #: guix-git/doc/contributing.texi:268
  455. msgid "Sometimes, especially if you have recently updated your repository, running @command{./pre-inst-env} will print a message similar to the following example:"
  456. msgstr ""
  457. #. type: example
  458. #: guix-git/doc/contributing.texi:272
  459. #, no-wrap
  460. msgid ""
  461. ";;; note: source file /home/user/projects/guix/guix/progress.scm\n"
  462. ";;; newer than compiled /home/user/projects/guix/guix/progress.go\n"
  463. msgstr ""
  464. #. type: Plain text
  465. #: guix-git/doc/contributing.texi:278
  466. msgid "This is only a note and you can safely ignore it. You can get rid of the message by running @command{make -j4}. Until you do, Guile will run slightly slower because it will interpret the code instead of using prepared Guile object (@file{.go}) files."
  467. msgstr ""
  468. #. type: Plain text
  469. #: guix-git/doc/contributing.texi:283
  470. msgid "You can run @command{make} automatically as you work using @command{watchexec} from the @code{watchexec} package. For example, to build again each time you update a package file, you can run @samp{watchexec -w gnu/packages make -j4}."
  471. msgstr ""
  472. #. type: Plain text
  473. #: guix-git/doc/contributing.texi:292
  474. msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{https://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{https://nongnu.org/geiser/, Geiser}. To set that up, run:"
  475. msgstr ""
  476. #. type: example
  477. #: guix-git/doc/contributing.texi:295
  478. #, no-wrap
  479. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  480. msgstr ""
  481. #. type: Plain text
  482. #: guix-git/doc/contributing.texi:304
  483. msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:"
  484. msgstr ""
  485. #. type: lisp
  486. #: guix-git/doc/contributing.texi:309
  487. #, no-wrap
  488. msgid ""
  489. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  490. "(with-eval-after-load 'geiser-guile\n"
  491. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  492. msgstr ""
  493. #. type: Plain text
  494. #: guix-git/doc/contributing.texi:317
  495. msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{https://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc."
  496. msgstr ""
  497. #. type: cindex
  498. #: guix-git/doc/contributing.texi:318
  499. #, no-wrap
  500. msgid "code snippets"
  501. msgstr ""
  502. #. type: cindex
  503. #: guix-git/doc/contributing.texi:319
  504. #, no-wrap
  505. msgid "templates"
  506. msgstr ""
  507. #. type: cindex
  508. #: guix-git/doc/contributing.texi:320
  509. #, no-wrap
  510. msgid "reducing boilerplate"
  511. msgstr ""
  512. #. type: Plain text
  513. #: guix-git/doc/contributing.texi:327
  514. msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{https://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs."
  515. msgstr ""
  516. #. type: lisp
  517. #: guix-git/doc/contributing.texi:332
  518. #, no-wrap
  519. msgid ""
  520. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  521. "(with-eval-after-load 'yasnippet\n"
  522. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  523. msgstr ""
  524. #. type: Plain text
  525. #: guix-git/doc/contributing.texi:340
  526. msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS."
  527. msgstr ""
  528. #. type: Plain text
  529. #: guix-git/doc/contributing.texi:346
  530. msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further."
  531. msgstr ""
  532. #. type: cindex
  533. #: guix-git/doc/contributing.texi:347
  534. #, no-wrap
  535. msgid "insert or update copyright"
  536. msgstr ""
  537. #. type: code{#1}
  538. #: guix-git/doc/contributing.texi:348
  539. #, no-wrap
  540. msgid "M-x guix-copyright"
  541. msgstr ""
  542. #. type: code{#1}
  543. #: guix-git/doc/contributing.texi:349
  544. #, no-wrap
  545. msgid "M-x copyright-update"
  546. msgstr ""
  547. #. type: Plain text
  548. #: guix-git/doc/contributing.texi:353
  549. msgid "We additionally provide insertion and automatic update of a copyright in @file{etc/copyright.el}. You may want to set your full name, mail, and load a file."
  550. msgstr ""
  551. #. type: lisp
  552. #: guix-git/doc/contributing.texi:359
  553. #, no-wrap
  554. msgid ""
  555. "(setq user-full-name \"Alice Doe\")\n"
  556. "(setq user-mail-address \"alice@@mail.org\")\n"
  557. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  558. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  559. msgstr ""
  560. #. type: Plain text
  561. #: guix-git/doc/contributing.texi:362
  562. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  563. msgstr ""
  564. #. type: Plain text
  565. #: guix-git/doc/contributing.texi:364
  566. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  567. msgstr ""
  568. #. type: lisp
  569. #: guix-git/doc/contributing.texi:368
  570. #, no-wrap
  571. msgid ""
  572. "(setq copyright-names-regexp\n"
  573. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  574. msgstr ""
  575. #. type: Plain text
  576. #: guix-git/doc/contributing.texi:374
  577. msgid "You can check if your copyright is up to date by evaluating @code{M-x copyright-update}. If you want to do it automatically after each buffer save then add @code{(add-hook 'after-save-hook 'copyright-update)} in Emacs."
  578. msgstr ""
  579. #. type: cindex
  580. #: guix-git/doc/contributing.texi:378
  581. #, no-wrap
  582. msgid "packages, creating"
  583. msgstr ""
  584. #. type: Plain text
  585. #: guix-git/doc/contributing.texi:382
  586. msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow."
  587. msgstr ""
  588. #. type: Plain text
  589. #: guix-git/doc/contributing.texi:390
  590. msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information."
  591. msgstr ""
  592. #. type: Plain text
  593. #: guix-git/doc/contributing.texi:399
  594. msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}."
  595. msgstr ""
  596. #. type: Plain text
  597. #: guix-git/doc/contributing.texi:405
  598. msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):"
  599. msgstr ""
  600. #. type: example
  601. #: guix-git/doc/contributing.texi:408
  602. #, no-wrap
  603. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  604. msgstr ""
  605. #. type: Plain text
  606. #: guix-git/doc/contributing.texi:414
  607. msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log."
  608. msgstr ""
  609. #. type: Plain text
  610. #: guix-git/doc/contributing.texi:419
  611. msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:"
  612. msgstr ""
  613. #. type: example
  614. #: guix-git/doc/contributing.texi:422
  615. #, no-wrap
  616. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  617. msgstr ""
  618. #. type: Plain text
  619. #: guix-git/doc/contributing.texi:429
  620. msgid "Once your package builds correctly, please send us a patch (@pxref{Submitting Patches}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{https://@value{SUBSTITUTE-SERVER-1}, our continuous integration system}."
  621. msgstr ""
  622. #. type: cindex
  623. #: guix-git/doc/contributing.texi:430
  624. #, no-wrap
  625. msgid "substituter"
  626. msgstr ""
  627. #. type: Plain text
  628. #: guix-git/doc/contributing.texi:437
  629. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER-1}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch."
  630. msgstr ""
  631. #. type: subsection
  632. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:453
  633. #: guix-git/doc/contributing.texi:454
  634. #, no-wrap
  635. msgid "Software Freedom"
  636. msgstr ""
  637. #. type: menuentry
  638. #: guix-git/doc/contributing.texi:451
  639. msgid "What may go into the distribution."
  640. msgstr ""
  641. #. type: subsection
  642. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:481
  643. #: guix-git/doc/contributing.texi:482
  644. #, no-wrap
  645. msgid "Package Naming"
  646. msgstr ""
  647. #. type: menuentry
  648. #: guix-git/doc/contributing.texi:451
  649. msgid "What's in a name?"
  650. msgstr ""
  651. #. type: subsection
  652. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:514
  653. #: guix-git/doc/contributing.texi:515
  654. #, no-wrap
  655. msgid "Version Numbers"
  656. msgstr ""
  657. #. type: menuentry
  658. #: guix-git/doc/contributing.texi:451
  659. msgid "When the name is not enough."
  660. msgstr ""
  661. #. type: subsection
  662. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:621
  663. #: guix-git/doc/contributing.texi:622
  664. #, no-wrap
  665. msgid "Synopses and Descriptions"
  666. msgstr ""
  667. #. type: menuentry
  668. #: guix-git/doc/contributing.texi:451
  669. msgid "Helping users find the right package."
  670. msgstr ""
  671. #. type: subsection
  672. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:700
  673. #: guix-git/doc/contributing.texi:701
  674. #, no-wrap
  675. msgid "Snippets versus Phases"
  676. msgstr ""
  677. #. type: menuentry
  678. #: guix-git/doc/contributing.texi:451
  679. msgid "Whether to use a snippet, or a build phase."
  680. msgstr ""
  681. #. type: subsection
  682. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:715
  683. #: guix-git/doc/contributing.texi:716 guix-git/doc/guix.texi:2028
  684. #, no-wrap
  685. msgid "Emacs Packages"
  686. msgstr ""
  687. #. type: menuentry
  688. #: guix-git/doc/contributing.texi:451
  689. msgid "Your Elisp fix."
  690. msgstr ""
  691. #. type: subsection
  692. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:755
  693. #: guix-git/doc/contributing.texi:756
  694. #, no-wrap
  695. msgid "Python Modules"
  696. msgstr ""
  697. #. type: menuentry
  698. #: guix-git/doc/contributing.texi:451
  699. msgid "A touch of British comedy."
  700. msgstr ""
  701. #. type: subsection
  702. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:831
  703. #: guix-git/doc/contributing.texi:832
  704. #, no-wrap
  705. msgid "Perl Modules"
  706. msgstr ""
  707. #. type: menuentry
  708. #: guix-git/doc/contributing.texi:451
  709. msgid "Little pearls."
  710. msgstr ""
  711. #. type: subsection
  712. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:847
  713. #: guix-git/doc/contributing.texi:848
  714. #, no-wrap
  715. msgid "Java Packages"
  716. msgstr ""
  717. #. type: menuentry
  718. #: guix-git/doc/contributing.texi:451
  719. msgid "Coffee break."
  720. msgstr ""
  721. #. type: subsection
  722. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:867
  723. #: guix-git/doc/contributing.texi:868
  724. #, no-wrap
  725. msgid "Rust Crates"
  726. msgstr ""
  727. #. type: menuentry
  728. #: guix-git/doc/contributing.texi:451
  729. msgid "Beware of oxidation."
  730. msgstr ""
  731. #. type: subsection
  732. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:901
  733. #: guix-git/doc/contributing.texi:902
  734. #, no-wrap
  735. msgid "Fonts"
  736. msgstr "Písma"
  737. #. type: menuentry
  738. #: guix-git/doc/contributing.texi:451
  739. msgid "Fond of fonts."
  740. msgstr ""
  741. #. type: cindex
  742. #: guix-git/doc/contributing.texi:457
  743. #, no-wrap
  744. msgid "free software"
  745. msgstr "slobodný softvér"
  746. #. type: Plain text
  747. #: guix-git/doc/contributing.texi:465
  748. msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{https://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms."
  749. msgstr ""
  750. #. type: Plain text
  751. #: guix-git/doc/contributing.texi:471
  752. msgid "In addition, the GNU distribution follow the @url{https://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents."
  753. msgstr ""
  754. #. type: Plain text
  755. #: guix-git/doc/contributing.texi:479
  756. msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source."
  757. msgstr ""
  758. #. type: cindex
  759. #: guix-git/doc/contributing.texi:484
  760. #, no-wrap
  761. msgid "package name"
  762. msgstr ""
  763. #. type: Plain text
  764. #: guix-git/doc/contributing.texi:492
  765. msgid "A package actually has two names associated with it. First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}."
  766. msgstr ""
  767. #. type: Plain text
  768. #: guix-git/doc/contributing.texi:497
  769. msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}."
  770. msgstr ""
  771. #. type: Plain text
  772. #: guix-git/doc/contributing.texi:505
  773. msgid "A noteworthy exception to this rule is when the project name is only a single character, or if an older maintained project with the same name already exists---regardless of whether it has already been packaged for Guix. Use common sense to make such names unambiguous and meaningful. For example, Guix's package for the shell called ``s'' upstream is @code{s-shell} and @emph{not} @code{s}. Feel free to ask your fellow hackers for inspiration."
  774. msgstr ""
  775. #. type: Plain text
  776. #: guix-git/doc/contributing.texi:510
  777. msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages."
  778. msgstr ""
  779. #. type: Plain text
  780. #: guix-git/doc/contributing.texi:512
  781. msgid "Font package names are handled differently, @pxref{Fonts}."
  782. msgstr ""
  783. #. type: cindex
  784. #: guix-git/doc/contributing.texi:517
  785. #, no-wrap
  786. msgid "package version"
  787. msgstr ""
  788. #. type: Plain text
  789. #: guix-git/doc/contributing.texi:526
  790. msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions."
  791. msgstr ""
  792. #. type: Plain text
  793. #: guix-git/doc/contributing.texi:529
  794. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  795. msgstr ""
  796. #. type: Plain text
  797. #: guix-git/doc/contributing.texi:531
  798. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  799. msgstr ""
  800. #. type: lisp
  801. #: guix-git/doc/contributing.texi:543
  802. #, no-wrap
  803. msgid ""
  804. "(define-public gtk+\n"
  805. " (package\n"
  806. " (name \"gtk+\")\n"
  807. " (version \"3.9.12\")\n"
  808. " ...))\n"
  809. "(define-public gtk+-2\n"
  810. " (package\n"
  811. " (name \"gtk+\")\n"
  812. " (version \"2.24.20\")\n"
  813. " ...))\n"
  814. msgstr ""
  815. #. type: Plain text
  816. #: guix-git/doc/contributing.texi:545
  817. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  818. msgstr ""
  819. #. type: lisp
  820. #: guix-git/doc/contributing.texi:551
  821. #, no-wrap
  822. msgid ""
  823. "(define-public gtk+-3.8\n"
  824. " (package\n"
  825. " (name \"gtk+\")\n"
  826. " (version \"3.8.2\")\n"
  827. " ...))\n"
  828. msgstr ""
  829. #. type: cindex
  830. #: guix-git/doc/contributing.texi:555
  831. #, no-wrap
  832. msgid "version number, for VCS snapshots"
  833. msgstr ""
  834. #. type: Plain text
  835. #: guix-git/doc/contributing.texi:561
  836. msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?"
  837. msgstr ""
  838. #. type: Plain text
  839. #: guix-git/doc/contributing.texi:569
  840. msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:"
  841. msgstr ""
  842. #. type: example
  843. #: guix-git/doc/contributing.texi:578
  844. #, no-wrap
  845. msgid ""
  846. "2.0.11-3.cabba9e\n"
  847. " ^ ^ ^\n"
  848. " | | `-- upstream commit ID\n"
  849. " | |\n"
  850. " | `--- Guix package revision\n"
  851. " |\n"
  852. "latest upstream version\n"
  853. msgstr ""
  854. #. type: Plain text
  855. #: guix-git/doc/contributing.texi:588
  856. msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel). There are helper functions for doing this for packages using @code{git-fetch} or @code{hg-fetch} (see below). It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:"
  857. msgstr ""
  858. #. type: lisp
  859. #: guix-git/doc/contributing.texi:605
  860. #, no-wrap
  861. msgid ""
  862. "(define my-package\n"
  863. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  864. " (revision \"1\")) ;Guix package revision\n"
  865. " (package\n"
  866. " (version (git-version \"0.9\" revision commit))\n"
  867. " (source (origin\n"
  868. " (method git-fetch)\n"
  869. " (uri (git-reference\n"
  870. " (url \"git://example.org/my-package.git\")\n"
  871. " (commit commit)))\n"
  872. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  873. " (file-name (git-file-name name version))))\n"
  874. " ;; @dots{}\n"
  875. " )))\n"
  876. msgstr ""
  877. #. type: deffn
  878. #: guix-git/doc/contributing.texi:607
  879. #, no-wrap
  880. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  881. msgstr ""
  882. #. type: deffn
  883. #: guix-git/doc/contributing.texi:609
  884. msgid "Return the version string for packages using @code{git-fetch}."
  885. msgstr ""
  886. #. type: lisp
  887. #: guix-git/doc/contributing.texi:613
  888. #, no-wrap
  889. msgid ""
  890. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  891. "@result{} \"0.2.3-0.93818c9\"\n"
  892. msgstr ""
  893. #. type: deffn
  894. #: guix-git/doc/contributing.texi:616
  895. #, no-wrap
  896. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  897. msgstr ""
  898. #. type: deffn
  899. #: guix-git/doc/contributing.texi:619
  900. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  901. msgstr ""
  902. #. type: cindex
  903. #: guix-git/doc/contributing.texi:624
  904. #, no-wrap
  905. msgid "package description"
  906. msgstr ""
  907. #. type: cindex
  908. #: guix-git/doc/contributing.texi:625
  909. #, no-wrap
  910. msgid "package synopsis"
  911. msgstr ""
  912. #. type: Plain text
  913. #: guix-git/doc/contributing.texi:632
  914. msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them."
  915. msgstr ""
  916. #. type: Plain text
  917. #: guix-git/doc/contributing.texi:640
  918. msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''."
  919. msgstr ""
  920. #. type: Plain text
  921. #: guix-git/doc/contributing.texi:650
  922. msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for."
  923. msgstr ""
  924. #. type: Plain text
  925. #: guix-git/doc/contributing.texi:658
  926. msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features."
  927. msgstr ""
  928. #. type: cindex
  929. #: guix-git/doc/contributing.texi:659
  930. #, no-wrap
  931. msgid "Texinfo markup, in package descriptions"
  932. msgstr ""
  933. #. type: Plain text
  934. #: guix-git/doc/contributing.texi:668
  935. msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately."
  936. msgstr ""
  937. #. type: Plain text
  938. #: guix-git/doc/contributing.texi:674
  939. msgid "Synopses and descriptions are translated by volunteers @uref{https://translate.fedoraproject.org/projects/guix/packages, at Weblate} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale."
  940. msgstr ""
  941. #. type: Plain text
  942. #: guix-git/doc/contributing.texi:679
  943. msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:"
  944. msgstr ""
  945. #. type: lisp
  946. #: guix-git/doc/contributing.texi:685
  947. #, no-wrap
  948. msgid ""
  949. "(package\n"
  950. " ;; @dots{}\n"
  951. " (synopsis \"This is translatable\")\n"
  952. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  953. msgstr ""
  954. #. type: Plain text
  955. #: guix-git/doc/contributing.texi:693
  956. msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):"
  957. msgstr ""
  958. #. type: lisp
  959. #: guix-git/doc/contributing.texi:698
  960. #, no-wrap
  961. msgid ""
  962. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  963. "(description \"ARandR is designed to provide a simple visual front end\n"
  964. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  965. msgstr ""
  966. #. type: cindex
  967. #: guix-git/doc/contributing.texi:703
  968. #, no-wrap
  969. msgid "snippets, when to use"
  970. msgstr ""
  971. #. type: Plain text
  972. #: guix-git/doc/contributing.texi:714
  973. msgid "The boundary between using an origin snippet versus a build phase to modify the sources of a package can be elusive. Origin snippets are typically used to remove unwanted files such as bundled libraries, nonfree sources, or to apply simple substitutions. The source derived from an origin should produce a source that can be used to build the package on any system that the upstream package supports (i.e., act as the corresponding source). In particular, origin snippets must not embed store items in the sources; such patching should rather be done using build phases. Refer to the @code{origin} record documentation for more information (@pxref{origin Reference})."
  974. msgstr ""
  975. #. type: cindex
  976. #: guix-git/doc/contributing.texi:718
  977. #, no-wrap
  978. msgid "emacs, packaging"
  979. msgstr ""
  980. #. type: cindex
  981. #: guix-git/doc/contributing.texi:719
  982. #, no-wrap
  983. msgid "elisp, packaging"
  984. msgstr ""
  985. #. type: Plain text
  986. #: guix-git/doc/contributing.texi:731
  987. msgid "Emacs packages should preferably use the Emacs build system (@pxref{emacs-build-system}), for uniformity and the benefits provided by its build phases, such as the auto-generation of the autoloads file and the byte compilation of the sources. Because there is no standardized way to run a test suite for Emacs packages, tests are disabled by default. When a test suite is available, it should be enabled by setting the @code{#:tests?} argument to @code{#true}. By default, the command to run the test is @command{make check}, but any command can be specified via the @code{#:test-command} argument. The @code{#:test-command} argument expects a list containing a command and its arguments, to be invoked during the @code{check} phase."
  988. msgstr ""
  989. #. type: Plain text
  990. #: guix-git/doc/contributing.texi:736
  991. msgid "The Elisp dependencies of Emacs packages are typically provided as @code{propagated-inputs} when required at run time. As for other packages, build or test dependencies should be specified as @code{native-inputs}."
  992. msgstr ""
  993. #. type: Plain text
  994. #: guix-git/doc/contributing.texi:745
  995. msgid "Emacs packages sometimes depend on resources directories that should be installed along the Elisp files. The @code{#:include} argument can be used for that purpose, by specifying a list of regexps to match. The best practice when using the @code{#:include} argument is to extend rather than override its default value (accessible via the @code{%default-include} variable). As an example, a yasnippet extension package typically include a @file{snippets} directory, which could be copied to the installation directory using:"
  996. msgstr ""
  997. #. type: lisp
  998. #: guix-git/doc/contributing.texi:748
  999. #, no-wrap
  1000. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  1001. msgstr ""
  1002. #. type: Plain text
  1003. #: guix-git/doc/contributing.texi:754
  1004. msgid "When encountering problems, it is wise to check for the presence of the @code{Package-Requires} extension header in the package main source file, and whether any dependencies and their versions listed therein are satisfied."
  1005. msgstr ""
  1006. #. type: cindex
  1007. #: guix-git/doc/contributing.texi:758
  1008. #, no-wrap
  1009. msgid "python"
  1010. msgstr "python"
  1011. #. type: Plain text
  1012. #: guix-git/doc/contributing.texi:764
  1013. msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}."
  1014. msgstr ""
  1015. #. type: Plain text
  1016. #: guix-git/doc/contributing.texi:771
  1017. msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo is compiled with Python 3, we name it @code{python-foo}. If it is compiled with Python 2, we name it @code{python2-foo}. Packages should be added when they are necessary; we don't add Python 2 variants of the package unless we are going to use them."
  1018. msgstr ""
  1019. #. type: Plain text
  1020. #: guix-git/doc/contributing.texi:777
  1021. msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above."
  1022. msgstr ""
  1023. #. type: subsubsection
  1024. #: guix-git/doc/contributing.texi:778
  1025. #, no-wrap
  1026. msgid "Specifying Dependencies"
  1027. msgstr ""
  1028. #. type: cindex
  1029. #: guix-git/doc/contributing.texi:779
  1030. #, no-wrap
  1031. msgid "inputs, for Python packages"
  1032. msgstr ""
  1033. #. type: Plain text
  1034. #: guix-git/doc/contributing.texi:784
  1035. msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}."
  1036. msgstr ""
  1037. #. type: Plain text
  1038. #: guix-git/doc/contributing.texi:790
  1039. msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where."
  1040. msgstr ""
  1041. #. type: itemize
  1042. #: guix-git/doc/contributing.texi:798
  1043. msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do."
  1044. msgstr ""
  1045. #. type: itemize
  1046. #: guix-git/doc/contributing.texi:804
  1047. msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file."
  1048. msgstr ""
  1049. #. type: itemize
  1050. #: guix-git/doc/contributing.texi:812
  1051. msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want."
  1052. msgstr ""
  1053. #. type: itemize
  1054. #: guix-git/doc/contributing.texi:816
  1055. msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}."
  1056. msgstr ""
  1057. #. type: itemize
  1058. #: guix-git/doc/contributing.texi:821
  1059. msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions."
  1060. msgstr ""
  1061. #. type: itemize
  1062. #: guix-git/doc/contributing.texi:827
  1063. msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})."
  1064. msgstr ""
  1065. #. type: cindex
  1066. #: guix-git/doc/contributing.texi:834
  1067. #, no-wrap
  1068. msgid "perl"
  1069. msgstr ""
  1070. #. type: Plain text
  1071. #: guix-git/doc/contributing.texi:845
  1072. msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}."
  1073. msgstr ""
  1074. #. type: cindex
  1075. #: guix-git/doc/contributing.texi:850
  1076. #, no-wrap
  1077. msgid "java"
  1078. msgstr ""
  1079. #. type: Plain text
  1080. #: guix-git/doc/contributing.texi:853
  1081. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1082. msgstr ""
  1083. #. type: Plain text
  1084. #: guix-git/doc/contributing.texi:859
  1085. msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}."
  1086. msgstr ""
  1087. #. type: Plain text
  1088. #: guix-git/doc/contributing.texi:865
  1089. msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}."
  1090. msgstr ""
  1091. #. type: cindex
  1092. #: guix-git/doc/contributing.texi:870
  1093. #, no-wrap
  1094. msgid "rust"
  1095. msgstr ""
  1096. #. type: Plain text
  1097. #: guix-git/doc/contributing.texi:873
  1098. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1099. msgstr ""
  1100. #. type: Plain text
  1101. #: guix-git/doc/contributing.texi:877
  1102. msgid "To prevent namespace collisions we prefix all other Rust packages with the @code{rust-} prefix. The name should be changed to lowercase as appropriate and dashes should remain in place."
  1103. msgstr ""
  1104. #. type: Plain text
  1105. #: guix-git/doc/contributing.texi:883
  1106. msgid "In the rust ecosystem it is common for multiple incompatible versions of a package to be used at any given time, so all package definitions should have a versioned suffix. The versioned suffix is the left-most non-zero digit (and any leading zeros, of course). This follows the ``caret'' version scheme intended by Cargo. Examples@: @code{rust-clap-2}, @code{rust-rand-0.6}."
  1107. msgstr ""
  1108. #. type: Plain text
  1109. #: guix-git/doc/contributing.texi:893
  1110. msgid "Because of the difficulty in reusing rust packages as pre-compiled inputs for other packages the Cargo build system (@pxref{Build Systems, @code{cargo-build-system}}) presents the @code{#:cargo-inputs} and @code{cargo-development-inputs} keywords as build system arguments. It would be helpful to think of these as similar to @code{propagated-inputs} and @code{native-inputs}. Rust @code{dependencies} and @code{build-dependencies} should go in @code{#:cargo-inputs}, and @code{dev-dependencies} should go in @code{#:cargo-development-inputs}. If a Rust package links to other libraries then the standard placement in @code{inputs} and the like should be used."
  1111. msgstr ""
  1112. #. type: Plain text
  1113. #: guix-git/doc/contributing.texi:899
  1114. msgid "Care should be taken to ensure the correct version of dependencies are used; to this end we try to refrain from skipping the tests or using @code{#:skip-build?} when possible. Of course this is not always possible, as the package may be developed for a different Operating System, depend on features from the Nightly Rust compiler, or the test suite may have atrophied since it was released."
  1115. msgstr ""
  1116. #. type: cindex
  1117. #: guix-git/doc/contributing.texi:904 guix-git/doc/guix.texi:1963
  1118. #, no-wrap
  1119. msgid "fonts"
  1120. msgstr "písma"
  1121. #. type: Plain text
  1122. #: guix-git/doc/contributing.texi:910
  1123. msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live."
  1124. msgstr ""
  1125. #. type: Plain text
  1126. #: guix-git/doc/contributing.texi:914
  1127. msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name."
  1128. msgstr ""
  1129. #. type: Plain text
  1130. #: guix-git/doc/contributing.texi:922
  1131. msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}."
  1132. msgstr ""
  1133. #. type: Plain text
  1134. #: guix-git/doc/contributing.texi:931
  1135. msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}."
  1136. msgstr ""
  1137. #. type: Plain text
  1138. #: guix-git/doc/contributing.texi:937
  1139. msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts."
  1140. msgstr ""
  1141. #. type: Plain text
  1142. #: guix-git/doc/contributing.texi:945
  1143. msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules."
  1144. msgstr ""
  1145. #. type: subsection
  1146. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:953
  1147. #: guix-git/doc/contributing.texi:954
  1148. #, no-wrap
  1149. msgid "Programming Paradigm"
  1150. msgstr ""
  1151. #. type: menuentry
  1152. #: guix-git/doc/contributing.texi:951
  1153. msgid "How to compose your elements."
  1154. msgstr ""
  1155. #. type: subsection
  1156. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:960
  1157. #: guix-git/doc/contributing.texi:961
  1158. #, no-wrap
  1159. msgid "Modules"
  1160. msgstr "Moduly"
  1161. #. type: menuentry
  1162. #: guix-git/doc/contributing.texi:951
  1163. msgid "Where to store your code?"
  1164. msgstr ""
  1165. #. type: subsection
  1166. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:971
  1167. #: guix-git/doc/contributing.texi:972
  1168. #, no-wrap
  1169. msgid "Data Types and Pattern Matching"
  1170. msgstr ""
  1171. #. type: menuentry
  1172. #: guix-git/doc/contributing.texi:951
  1173. msgid "Implementing data structures."
  1174. msgstr ""
  1175. #. type: subsection
  1176. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:986
  1177. #: guix-git/doc/contributing.texi:987
  1178. #, no-wrap
  1179. msgid "Formatting Code"
  1180. msgstr ""
  1181. #. type: menuentry
  1182. #: guix-git/doc/contributing.texi:951
  1183. msgid "Writing conventions."
  1184. msgstr ""
  1185. #. type: Plain text
  1186. #: guix-git/doc/contributing.texi:959
  1187. msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure."
  1188. msgstr ""
  1189. #. type: Plain text
  1190. #: guix-git/doc/contributing.texi:967
  1191. msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module."
  1192. msgstr ""
  1193. #. type: Plain text
  1194. #: guix-git/doc/contributing.texi:970
  1195. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1196. msgstr ""
  1197. #. type: Plain text
  1198. #: guix-git/doc/contributing.texi:979
  1199. msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports."
  1200. msgstr ""
  1201. #. type: Plain text
  1202. #: guix-git/doc/contributing.texi:985
  1203. msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists (@pxref{Pattern Matching,,, guile, GNU Guile Reference Manual})."
  1204. msgstr ""
  1205. #. type: cindex
  1206. #: guix-git/doc/contributing.texi:989
  1207. #, no-wrap
  1208. msgid "formatting code"
  1209. msgstr ""
  1210. #. type: cindex
  1211. #: guix-git/doc/contributing.texi:990
  1212. #, no-wrap
  1213. msgid "coding style"
  1214. msgstr ""
  1215. #. type: Plain text
  1216. #: guix-git/doc/contributing.texi:997
  1217. msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{https://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it."
  1218. msgstr ""
  1219. #. type: Plain text
  1220. #: guix-git/doc/contributing.texi:1004
  1221. msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})."
  1222. msgstr ""
  1223. #. type: cindex
  1224. #: guix-git/doc/contributing.texi:1005
  1225. #, no-wrap
  1226. msgid "indentation, of code"
  1227. msgstr ""
  1228. #. type: cindex
  1229. #: guix-git/doc/contributing.texi:1006
  1230. #, no-wrap
  1231. msgid "formatting, of code"
  1232. msgstr ""
  1233. #. type: Plain text
  1234. #: guix-git/doc/contributing.texi:1009
  1235. msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:"
  1236. msgstr ""
  1237. #. type: example
  1238. #: guix-git/doc/contributing.texi:1012
  1239. #, no-wrap
  1240. msgid "./pre-inst-env guix style @var{package}\n"
  1241. msgstr ""
  1242. #. type: Plain text
  1243. #: guix-git/doc/contributing.texi:1016
  1244. msgid "@xref{Invoking guix style}, for more information."
  1245. msgstr "Viď @xref{Invoking guix style} pre viac podrobností."
  1246. #. type: cindex
  1247. #: guix-git/doc/contributing.texi:1017
  1248. #, no-wrap
  1249. msgid "Vim, Scheme code editing"
  1250. msgstr ""
  1251. #. type: Plain text
  1252. #: guix-git/doc/contributing.texi:1023
  1253. msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses."
  1254. msgstr ""
  1255. #. type: Plain text
  1256. #: guix-git/doc/contributing.texi:1027
  1257. msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though."
  1258. msgstr ""
  1259. #. type: Plain text
  1260. #: guix-git/doc/contributing.texi:1030
  1261. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1262. msgstr ""
  1263. #. type: Plain text
  1264. #: guix-git/doc/contributing.texi:1044
  1265. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list (@pxref{submitting patches,, Submitting patches to a project, git, Git User Manual}). Contributors are encouraged to take a moment to set some Git repository options (@pxref{Configuring Git}) first, which can improve the readability of patches. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1266. msgstr ""
  1267. #. type: Plain text
  1268. #: guix-git/doc/contributing.texi:1051
  1269. msgid "This mailing list is backed by a Debbugs instance, which allows us to keep track of submissions (@pxref{Tracking Bugs and Patches}). Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})."
  1270. msgstr ""
  1271. #. type: Plain text
  1272. #: guix-git/doc/contributing.texi:1055
  1273. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1274. msgstr ""
  1275. #. type: Plain text
  1276. #: guix-git/doc/contributing.texi:1058
  1277. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1278. msgstr ""
  1279. #. type: code{#1}
  1280. #: guix-git/doc/contributing.texi:1060 guix-git/doc/contributing.texi:1270
  1281. #, no-wrap
  1282. msgid "git format-patch"
  1283. msgstr ""
  1284. #. type: code{#1}
  1285. #: guix-git/doc/contributing.texi:1061
  1286. #, no-wrap
  1287. msgid "git-format-patch"
  1288. msgstr ""
  1289. #. type: enumerate
  1290. #: guix-git/doc/contributing.texi:1068
  1291. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1292. msgstr ""
  1293. #. type: enumerate
  1294. #: guix-git/doc/contributing.texi:1074
  1295. msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command."
  1296. msgstr ""
  1297. #. type: enumerate
  1298. #: guix-git/doc/contributing.texi:1078
  1299. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1300. msgstr ""
  1301. #. type: enumerate
  1302. #: guix-git/doc/contributing.texi:1083
  1303. msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})."
  1304. msgstr ""
  1305. #. type: enumerate
  1306. #: guix-git/doc/contributing.texi:1087
  1307. msgid "Run @code{guix style @var{package}} to format the new package definition according to the project's conventions (@pxref{Invoking guix style})."
  1308. msgstr ""
  1309. #. type: enumerate
  1310. #: guix-git/doc/contributing.texi:1091
  1311. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1312. msgstr ""
  1313. #. type: enumerate
  1314. #: guix-git/doc/contributing.texi:1099
  1315. msgid "We recommend you also try building the package on other supported platforms. As you may not have access to actual hardware platforms, we recommend using the @code{qemu-binfmt-service-type} to emulate them. In order to enable it, add the @code{virtualization} service module and the following service to the list of services in your @code{operating-system} configuration:"
  1316. msgstr ""
  1317. #. type: lisp
  1318. #: guix-git/doc/contributing.texi:1104
  1319. #, no-wrap
  1320. msgid ""
  1321. "(service qemu-binfmt-service-type\n"
  1322. " (qemu-binfmt-configuration\n"
  1323. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1324. msgstr ""
  1325. #. type: enumerate
  1326. #: guix-git/doc/contributing.texi:1107
  1327. msgid "Then reconfigure your system."
  1328. msgstr ""
  1329. #. type: enumerate
  1330. #: guix-git/doc/contributing.texi:1112
  1331. msgid "You can then build packages for different platforms by specifying the @code{--system} option. For example, to build the \"hello\" package for the armhf or aarch64 architectures, you would run the following commands, respectively:"
  1332. msgstr ""
  1333. #. type: example
  1334. #: guix-git/doc/contributing.texi:1115
  1335. #, no-wrap
  1336. msgid ""
  1337. "guix build --system=armhf-linux --rounds=2 hello\n"
  1338. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1339. msgstr ""
  1340. #. type: cindex
  1341. #: guix-git/doc/contributing.texi:1118
  1342. #, no-wrap
  1343. msgid "bundling"
  1344. msgstr ""
  1345. #. type: enumerate
  1346. #: guix-git/doc/contributing.texi:1121
  1347. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1348. msgstr ""
  1349. #. type: enumerate
  1350. #: guix-git/doc/contributing.texi:1130
  1351. msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent."
  1352. msgstr ""
  1353. #. type: enumerate
  1354. #: guix-git/doc/contributing.texi:1139
  1355. msgid "Take a look at the profile reported by @command{guix size} (@pxref{Invoking guix size}). This will allow you to notice references to other packages unwillingly retained. It may also help determine whether to split the package (@pxref{Packages with Multiple Outputs}), and which optional dependencies should be used. In particular, avoid adding @code{texlive} as a dependency: because of its extreme size, use the @code{texlive-tiny} package or @code{texlive-union} procedure instead."
  1356. msgstr ""
  1357. #. type: enumerate
  1358. #: guix-git/doc/contributing.texi:1144
  1359. msgid "For important changes, check that dependent packages (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1360. msgstr ""
  1361. #. type: cindex
  1362. #: guix-git/doc/contributing.texi:1146
  1363. #, no-wrap
  1364. msgid "branching strategy"
  1365. msgstr ""
  1366. #. type: cindex
  1367. #: guix-git/doc/contributing.texi:1147
  1368. #, no-wrap
  1369. msgid "rebuild scheduling strategy"
  1370. msgstr ""
  1371. #. type: enumerate
  1372. #: guix-git/doc/contributing.texi:1150
  1373. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1374. msgstr ""
  1375. #. type: item
  1376. #: guix-git/doc/contributing.texi:1152
  1377. #, no-wrap
  1378. msgid "300 dependent packages or less"
  1379. msgstr ""
  1380. #. type: table
  1381. #: guix-git/doc/contributing.texi:1154
  1382. msgid "@code{master} branch (non-disruptive changes)."
  1383. msgstr ""
  1384. #. type: item
  1385. #: guix-git/doc/contributing.texi:1155
  1386. #, no-wrap
  1387. msgid "between 300 and 1,800 dependent packages"
  1388. msgstr ""
  1389. #. type: table
  1390. #: guix-git/doc/contributing.texi:1161
  1391. msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 6 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates}). This branch is not expected to be buildable or usable until late in its development process."
  1392. msgstr ""
  1393. #. type: item
  1394. #: guix-git/doc/contributing.texi:1162
  1395. #, no-wrap
  1396. msgid "more than 1,800 dependent packages"
  1397. msgstr ""
  1398. #. type: table
  1399. #: guix-git/doc/contributing.texi:1167
  1400. msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 6 months or so. This branch is not expected to be buildable or usable until late in its development process."
  1401. msgstr ""
  1402. #. type: enumerate
  1403. #: guix-git/doc/contributing.texi:1174
  1404. msgid "All these branches are @uref{https://@value{SUBSTITUTE-SERVER-1}, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available."
  1405. msgstr ""
  1406. #. type: enumerate
  1407. #: guix-git/doc/contributing.texi:1183
  1408. msgid "When we decide to start building the @code{staging} or @code{core-updates} branches, they will be forked and renamed with the suffix @code{-frozen}, at which time only bug fixes may be pushed to the frozen branches. The @code{core-updates} and @code{staging} branches will remain open to accept patches for the next cycle. Please ask on the mailing list or IRC if unsure where to place a patch."
  1409. msgstr ""
  1410. #. type: cindex
  1411. #: guix-git/doc/contributing.texi:1185
  1412. #, no-wrap
  1413. msgid "determinism, of build processes"
  1414. msgstr ""
  1415. #. type: cindex
  1416. #: guix-git/doc/contributing.texi:1186
  1417. #, no-wrap
  1418. msgid "reproducible builds, checking"
  1419. msgstr ""
  1420. #. type: enumerate
  1421. #: guix-git/doc/contributing.texi:1190
  1422. msgid "Check whether the package's build process is deterministic. This typically means checking whether an independent build of the package yields the exact same result that you obtained, bit for bit."
  1423. msgstr ""
  1424. #. type: enumerate
  1425. #: guix-git/doc/contributing.texi:1193
  1426. msgid "A simple way to do that is by building the same package several times in a row on your machine (@pxref{Invoking guix build}):"
  1427. msgstr ""
  1428. #. type: example
  1429. #: guix-git/doc/contributing.texi:1196
  1430. #, no-wrap
  1431. msgid "guix build --rounds=2 my-package\n"
  1432. msgstr ""
  1433. #. type: enumerate
  1434. #: guix-git/doc/contributing.texi:1200
  1435. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1436. msgstr ""
  1437. #. type: enumerate
  1438. #: guix-git/doc/contributing.texi:1210
  1439. msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{@value{SUBSTITUTE-SERVER-1}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files."
  1440. msgstr ""
  1441. #. type: enumerate
  1442. #: guix-git/doc/contributing.texi:1216
  1443. msgid "When writing documentation, please use gender-neutral wording when referring to people, such as @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their''@comma{} ``them''}, and so forth."
  1444. msgstr ""
  1445. #. type: enumerate
  1446. #: guix-git/doc/contributing.texi:1220
  1447. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1448. msgstr ""
  1449. #. type: enumerate
  1450. #: guix-git/doc/contributing.texi:1223
  1451. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1452. msgstr ""
  1453. #. type: enumerate
  1454. #: guix-git/doc/contributing.texi:1228
  1455. msgid "Please follow our code formatting rules, possibly running @command{guix style} script to do that automatically for you (@pxref{Formatting Code})."
  1456. msgstr ""
  1457. #. type: enumerate
  1458. #: guix-git/doc/contributing.texi:1236
  1459. msgid "When possible, use mirrors in the source URL (@pxref{Invoking guix download}). Use reliable URLs, not generated ones. For instance, GitHub archives are not necessarily identical from one generation to the next, so in this case it's often better to clone the repository. Don't use the @command{name} field in the URL: it is not very useful and if the name changes, the URL will probably be wrong."
  1460. msgstr ""
  1461. #. type: enumerate
  1462. #: guix-git/doc/contributing.texi:1240
  1463. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1464. msgstr ""
  1465. #. type: enumerate
  1466. #: guix-git/doc/contributing.texi:1243
  1467. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1468. msgstr ""
  1469. #. type: example
  1470. #: guix-git/doc/contributing.texi:1245
  1471. #, no-wrap
  1472. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1473. msgstr ""
  1474. #. type: Plain text
  1475. #: guix-git/doc/contributing.texi:1258
  1476. msgid "When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a subject, if your patch is to be applied on a branch other than @code{master}, say @code{core-updates}, specify it in the subject like @samp{[PATCH core-updates] @dots{}}. You may use your email client or the @command{git send-email} command (@pxref{Sending a Patch Series}). We prefer to get patches in plain text messages, either inline or as MIME attachments. You are advised to pay attention if your email client changes anything like line breaks or indentation which could potentially break the patches."
  1477. msgstr ""
  1478. #. type: Plain text
  1479. #: guix-git/doc/contributing.texi:1263
  1480. msgid "Expect some delay when you submit your very first patch to @email{guix-patches@@gnu.org}. You have to wait until you get an acknowledgement with the assigned tracking number. Future acknowledgements should not be delayed."
  1481. msgstr ""
  1482. #. type: Plain text
  1483. #: guix-git/doc/contributing.texi:1266
  1484. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1485. msgstr ""
  1486. #. type: subsection
  1487. #: guix-git/doc/contributing.texi:1267 guix-git/doc/contributing.texi:1268
  1488. #, no-wrap
  1489. msgid "Configuring Git"
  1490. msgstr "Nastavenie Git"
  1491. #. type: cindex
  1492. #: guix-git/doc/contributing.texi:1269
  1493. #, no-wrap
  1494. msgid "git configuration"
  1495. msgstr "nastavenie git"
  1496. #. type: code{#1}
  1497. #: guix-git/doc/contributing.texi:1271 guix-git/doc/contributing.texi:1306
  1498. #, no-wrap
  1499. msgid "git send-email"
  1500. msgstr ""
  1501. #. type: Plain text
  1502. #: guix-git/doc/contributing.texi:1279
  1503. msgid "If you have not done so already, you may wish to set a name and email that will be associated with your commits (@pxref{telling git your name, , Telling Git your name, git, Git User Manual}). If you wish to use a different name or email just for commits in this repository, you can use @command{git config --local}, or edit @file{.git/config} in the repository instead of @file{~/.gitconfig}."
  1504. msgstr ""
  1505. #. type: Plain text
  1506. #: guix-git/doc/contributing.texi:1285
  1507. msgid "We provide some default settings in @file{etc/git/gitconfig} which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to @file{.git/config} in your checkout, or by telling Git to include the whole file:"
  1508. msgstr ""
  1509. #. type: example
  1510. #: guix-git/doc/contributing.texi:1288
  1511. #, no-wrap
  1512. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1513. msgstr ""
  1514. #. type: Plain text
  1515. #: guix-git/doc/contributing.texi:1292
  1516. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1517. msgstr ""
  1518. #. type: Plain text
  1519. #: guix-git/doc/contributing.texi:1297
  1520. msgid "Since the first patch in a series must be sent separately (@pxref{Sending a Patch Series}), it can also be helpful to tell @command{git format-patch} to handle the e-mail threading instead of @command{git send-email}:"
  1521. msgstr ""
  1522. #. type: example
  1523. #: guix-git/doc/contributing.texi:1301
  1524. #, no-wrap
  1525. msgid ""
  1526. "git config --local format.thread shallow\n"
  1527. "git config --local sendemail.thread no\n"
  1528. msgstr ""
  1529. #. type: anchor{#1}
  1530. #: guix-git/doc/contributing.texi:1303 guix-git/doc/contributing.texi:1305
  1531. #, no-wrap
  1532. msgid "Sending a Patch Series"
  1533. msgstr ""
  1534. #. type: cindex
  1535. #: guix-git/doc/contributing.texi:1305
  1536. #, no-wrap
  1537. msgid "patch series"
  1538. msgstr ""
  1539. #. type: Plain text
  1540. #: guix-git/doc/contributing.texi:1316
  1541. msgid "When sending a patch series (e.g., using @code{git send-email}), please first send one message to @email{guix-patches@@gnu.org}, and then send subsequent patches to @email{@var{NNN}@@debbugs.gnu.org} to make sure they are kept together. See @uref{https://debbugs.gnu.org/Advanced.html, the Debbugs documentation} for more information. You can install @command{git send-email} with @command{guix install git:send-email}."
  1542. msgstr ""
  1543. #. type: Plain text
  1544. #: guix-git/doc/contributing.texi:1322
  1545. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1546. msgstr ""
  1547. #. type: subsection
  1548. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1329
  1549. #: guix-git/doc/contributing.texi:1330
  1550. #, no-wrap
  1551. msgid "The Issue Tracker"
  1552. msgstr ""
  1553. #. type: menuentry
  1554. #: guix-git/doc/contributing.texi:1327
  1555. msgid "The official bug and patch tracker."
  1556. msgstr ""
  1557. #. type: subsection
  1558. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1343
  1559. #: guix-git/doc/contributing.texi:1344
  1560. #, no-wrap
  1561. msgid "Debbugs User Interfaces"
  1562. msgstr ""
  1563. #. type: menuentry
  1564. #: guix-git/doc/contributing.texi:1327
  1565. msgid "Ways to interact with Debbugs."
  1566. msgstr ""
  1567. #. type: subsection
  1568. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1383
  1569. #: guix-git/doc/contributing.texi:1384
  1570. #, no-wrap
  1571. msgid "Debbugs Usertags"
  1572. msgstr ""
  1573. #. type: menuentry
  1574. #: guix-git/doc/contributing.texi:1327
  1575. msgid "Tag reports with custom labels."
  1576. msgstr ""
  1577. #. type: cindex
  1578. #: guix-git/doc/contributing.texi:1332
  1579. #, no-wrap
  1580. msgid "bug reports, tracking"
  1581. msgstr ""
  1582. #. type: cindex
  1583. #: guix-git/doc/contributing.texi:1333
  1584. #, no-wrap
  1585. msgid "patch submissions, tracking"
  1586. msgstr ""
  1587. #. type: cindex
  1588. #: guix-git/doc/contributing.texi:1334
  1589. #, no-wrap
  1590. msgid "issue tracking"
  1591. msgstr ""
  1592. #. type: cindex
  1593. #: guix-git/doc/contributing.texi:1335
  1594. #, no-wrap
  1595. msgid "Debbugs, issue tracking system"
  1596. msgstr ""
  1597. #. type: Plain text
  1598. #: guix-git/doc/contributing.texi:1342
  1599. msgid "Bug reports and patch submissions are currently tracked using the Debbugs instance at @uref{https://bugs.gnu.org}. Bug reports are filed against the @code{guix} ``package'' (in Debbugs parlance), by sending email to @email{bug-guix@@gnu.org}, while patch submissions are filed against the @code{guix-patches} package by sending email to @email{guix-patches@@gnu.org} (@pxref{Submitting Patches})."
  1600. msgstr ""
  1601. #. type: Plain text
  1602. #: guix-git/doc/contributing.texi:1348
  1603. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1604. msgstr ""
  1605. #. type: itemize
  1606. #: guix-git/doc/contributing.texi:1357
  1607. msgid "@url{https://issues.guix.gnu.org} provides a pleasant interface@footnote{The web interface at @url{https://issues.guix.gnu.org} is powered by Mumi, a nice piece of software written in Guile, and you can help! See @url{https://git.elephly.net/gitweb.cgi?p=software/mumi.git}.} to browse bug reports and patches, and to participate in discussions;"
  1608. msgstr ""
  1609. #. type: itemize
  1610. #: guix-git/doc/contributing.texi:1359
  1611. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1612. msgstr ""
  1613. #. type: itemize
  1614. #: guix-git/doc/contributing.texi:1361
  1615. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1616. msgstr ""
  1617. #. type: Plain text
  1618. #: guix-git/doc/contributing.texi:1366
  1619. msgid "To view discussions related to issue number @var{n}, go to @indicateurl{https://issues.guix.gnu.org/@var{n}} or @indicateurl{https://bugs.gnu.org/@var{n}}."
  1620. msgstr ""
  1621. #. type: Plain text
  1622. #: guix-git/doc/contributing.texi:1369
  1623. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1624. msgstr ""
  1625. #. type: example
  1626. #: guix-git/doc/contributing.texi:1372
  1627. #, no-wrap
  1628. msgid "guix install emacs-debbugs\n"
  1629. msgstr ""
  1630. #. type: Plain text
  1631. #: guix-git/doc/contributing.texi:1375
  1632. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1633. msgstr ""
  1634. #. type: example
  1635. #: guix-git/doc/contributing.texi:1378
  1636. #, no-wrap
  1637. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1638. msgstr ""
  1639. #. type: Plain text
  1640. #: guix-git/doc/contributing.texi:1382
  1641. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1642. msgstr ""
  1643. #. type: cindex
  1644. #: guix-git/doc/contributing.texi:1386
  1645. #, no-wrap
  1646. msgid "usertags, for debbugs"
  1647. msgstr ""
  1648. #. type: cindex
  1649. #: guix-git/doc/contributing.texi:1387
  1650. #, no-wrap
  1651. msgid "Debbugs usertags"
  1652. msgstr ""
  1653. #. type: Plain text
  1654. #: guix-git/doc/contributing.texi:1393
  1655. msgid "Debbugs provides a feature called @dfn{usertags} that allows any user to tag any bug with an arbitrary label. Bugs can be searched by usertag, so this is a handy way to organize bugs@footnote{The list of usertags is public information, and anyone can modify any user's list of usertags, so keep that in mind if you choose to use this feature.}."
  1656. msgstr ""
  1657. #. type: Plain text
  1658. #: guix-git/doc/contributing.texi:1399
  1659. msgid "For example, to view all the bug reports (or patches, in the case of @code{guix-patches}) tagged with the usertag @code{powerpc64le-linux} for the user @code{guix}, open a URL like the following in a web browser: @url{https://debbugs.gnu.org/cgi-bin/pkgreport.cgi?tag=powerpc64le-linux;users=guix}."
  1660. msgstr ""
  1661. #. type: Plain text
  1662. #: guix-git/doc/contributing.texi:1403
  1663. msgid "For more information on how to use usertags, please refer to the documentation for Debbugs or the documentation for whatever tool you use to interact with Debbugs."
  1664. msgstr ""
  1665. #. type: Plain text
  1666. #: guix-git/doc/contributing.texi:1408
  1667. msgid "In Guix, we are experimenting with usertags to keep track of architecture-specific issues. To facilitate collaboration, all our usertags are associated with the single user @code{guix}. The following usertags currently exist for that user:"
  1668. msgstr ""
  1669. #. type: item
  1670. #: guix-git/doc/contributing.texi:1411 guix-git/doc/guix.texi:557
  1671. #, no-wrap
  1672. msgid "powerpc64le-linux"
  1673. msgstr ""
  1674. #. type: table
  1675. #: guix-git/doc/contributing.texi:1419
  1676. msgid "The purpose of this usertag is to make it easy to find the issues that matter most for the @code{powerpc64le-linux} system type. Please assign this usertag to bugs or patches that affect @code{powerpc64le-linux} but not other system types. In addition, you may use it to identify issues that for some reason are particularly important for the @code{powerpc64le-linux} system type, even if the issue affects other system types, too."
  1677. msgstr ""
  1678. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1679. #. type: item
  1680. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1681. #. type: cindex
  1682. #: guix-git/doc/contributing.texi:1420 guix-git/doc/guix.texi:3103
  1683. #: guix-git/doc/guix.texi:4809
  1684. #, no-wrap
  1685. msgid "reproducibility"
  1686. msgstr ""
  1687. #. type: table
  1688. #: guix-git/doc/contributing.texi:1424
  1689. msgid "For issues related to reproducibility. For example, it would be appropriate to assign this usertag to a bug report for a package that fails to build reproducibly."
  1690. msgstr ""
  1691. #. type: Plain text
  1692. #: guix-git/doc/contributing.texi:1431
  1693. msgid "If you're a committer and you want to add a usertag, just start using it with the @code{guix} user. If the usertag proves useful to you, consider updating this section of the manual so that others will know what your usertag means."
  1694. msgstr ""
  1695. #. type: cindex
  1696. #: guix-git/doc/contributing.texi:1435
  1697. #, no-wrap
  1698. msgid "commit access, for developers"
  1699. msgstr ""
  1700. #. type: Plain text
  1701. #: guix-git/doc/contributing.texi:1446
  1702. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. As a rule of thumb, a contributor should have accumulated fifty (50) reviewed commits to be considered as a committer and have sustained their activity in the project for at least 6 months. This ensures enough interactions with the contributor, which is essential for mentoring and assessing whether they are ready to become a committer. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project."
  1703. msgstr ""
  1704. #. type: Plain text
  1705. #: guix-git/doc/contributing.texi:1450
  1706. msgid "The following sections explain how to get commit access, how to be ready to push commits, and the policies and community expectations for commits pushed upstream."
  1707. msgstr ""
  1708. #. type: subsection
  1709. #: guix-git/doc/contributing.texi:1451
  1710. #, no-wrap
  1711. msgid "Applying for Commit Access"
  1712. msgstr "Požiadať o právo na úpravy"
  1713. #. type: Plain text
  1714. #: guix-git/doc/contributing.texi:1455
  1715. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1716. msgstr ""
  1717. #. type: enumerate
  1718. #: guix-git/doc/contributing.texi:1464
  1719. msgid "Find three committers who would vouch for you. You can view the list of committers at @url{https://savannah.gnu.org/project/memberlist.php?group=guix}. Each of them should email a statement to @email{guix-maintainers@@gnu.org} (a private alias for the collective of maintainers), signed with their OpenPGP key."
  1720. msgstr ""
  1721. #. type: enumerate
  1722. #: guix-git/doc/contributing.texi:1470
  1723. msgid "Committers are expected to have had some interactions with you as a contributor and to be able to judge whether you are sufficiently familiar with the project's practices. It is @emph{not} a judgment on the value of your work, so a refusal should rather be interpreted as ``let's try again later''."
  1724. msgstr ""
  1725. #. type: enumerate
  1726. #: guix-git/doc/contributing.texi:1477
  1727. msgid "Send @email{guix-maintainers@@gnu.org} a message stating your intent, listing the three committers who support your application, signed with the OpenPGP key you will use to sign commits, and giving its fingerprint (see below). See @uref{https://emailselfdefense.fsf.org/en/}, for an introduction to public-key cryptography with GnuPG."
  1728. msgstr ""
  1729. #. type: enumerate
  1730. #: guix-git/doc/contributing.texi:1483
  1731. msgid "Set up GnuPG such that it never uses the SHA1 hash algorithm for digital signatures, which is known to be unsafe since 2019, for instance by adding the following line to @file{~/.gnupg/gpg.conf} (@pxref{GPG Esoteric Options,,, gnupg, The GNU Privacy Guard Manual}):"
  1732. msgstr ""
  1733. #. type: example
  1734. #: guix-git/doc/contributing.texi:1486
  1735. #, no-wrap
  1736. msgid "digest-algo sha512\n"
  1737. msgstr ""
  1738. #. type: enumerate
  1739. #: guix-git/doc/contributing.texi:1491
  1740. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1741. msgstr ""
  1742. #. type: cindex
  1743. #: guix-git/doc/contributing.texi:1493
  1744. #, no-wrap
  1745. msgid "OpenPGP, signed commits"
  1746. msgstr ""
  1747. #. type: enumerate
  1748. #: guix-git/doc/contributing.texi:1498
  1749. msgid "If and once you've been given access, please send a message to @email{guix-devel@@gnu.org} to say so, again signed with the OpenPGP key you will use to sign commits (do that before pushing your first commit). That way, everyone can notice and ensure you control that OpenPGP key."
  1750. msgstr ""
  1751. #. type: quotation
  1752. #: guix-git/doc/contributing.texi:1499 guix-git/doc/guix.texi:18459
  1753. #, no-wrap
  1754. msgid "Important"
  1755. msgstr ""
  1756. #. type: quotation
  1757. #: guix-git/doc/contributing.texi:1501
  1758. msgid "Before you can push for the first time, maintainers must:"
  1759. msgstr ""
  1760. #. type: enumerate
  1761. #: guix-git/doc/contributing.texi:1505
  1762. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1763. msgstr ""
  1764. #. type: enumerate
  1765. #: guix-git/doc/contributing.texi:1508
  1766. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1767. msgstr ""
  1768. #. type: enumerate
  1769. #: guix-git/doc/contributing.texi:1513
  1770. msgid "Make sure to read the rest of this section and... profit!"
  1771. msgstr ""
  1772. #. type: quotation
  1773. #: guix-git/doc/contributing.texi:1519
  1774. msgid "Maintainers are happy to give commit access to people who have been contributing for some time and have a track record---don't be shy and don't underestimate your work!"
  1775. msgstr ""
  1776. #. type: quotation
  1777. #: guix-git/doc/contributing.texi:1523
  1778. msgid "However, note that the project is working towards a more automated patch review and merging system, which, as a consequence, may lead us to have fewer people with commit access to the main repository. Stay tuned!"
  1779. msgstr ""
  1780. #. type: Plain text
  1781. #: guix-git/doc/contributing.texi:1530
  1782. msgid "All commits that are pushed to the central repository on Savannah must be signed with an OpenPGP key, and the public key should be uploaded to your user account on Savannah and to public key servers, such as @code{keys.openpgp.org}. To configure Git to automatically sign commits, run:"
  1783. msgstr ""
  1784. #. type: example
  1785. #: guix-git/doc/contributing.texi:1533
  1786. #, no-wrap
  1787. msgid ""
  1788. "git config commit.gpgsign true\n"
  1789. "\n"
  1790. msgstr ""
  1791. #. type: example
  1792. #: guix-git/doc/contributing.texi:1536
  1793. #, no-wrap
  1794. msgid ""
  1795. "# Substitute the fingerprint of your public PGP key.\n"
  1796. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1797. msgstr ""
  1798. #. type: Plain text
  1799. #: guix-git/doc/contributing.texi:1541
  1800. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook located at @file{etc/git/pre-push}:"
  1801. msgstr ""
  1802. #. type: example
  1803. #: guix-git/doc/contributing.texi:1544
  1804. #, no-wrap
  1805. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1806. msgstr ""
  1807. #. type: subsection
  1808. #: guix-git/doc/contributing.texi:1546
  1809. #, no-wrap
  1810. msgid "Commit Policy"
  1811. msgstr "Pravidlá úprav"
  1812. #. type: Plain text
  1813. #: guix-git/doc/contributing.texi:1551
  1814. msgid "If you get commit access, please make sure to follow the policy below (discussions of the policy can take place on @email{guix-devel@@gnu.org})."
  1815. msgstr ""
  1816. #. type: Plain text
  1817. #: guix-git/doc/contributing.texi:1556
  1818. msgid "Non-trivial patches should always be posted to @email{guix-patches@@gnu.org} (trivial patches include fixing typos, etc.). This mailing list fills the patch-tracking database (@pxref{Tracking Bugs and Patches})."
  1819. msgstr ""
  1820. #. type: Plain text
  1821. #: guix-git/doc/contributing.texi:1565
  1822. msgid "For patches that just add a new package, and a simple one, it's OK to commit, if you're confident (which means you successfully built it in a chroot setup, and have done a reasonable copyright and license auditing). Likewise for package upgrades, except upgrades that trigger a lot of rebuilds (for example, upgrading GnuTLS or GLib). We have a mailing list for commit notifications (@email{guix-commits@@gnu.org}), so people can notice. Before pushing your changes, make sure to run @code{git pull --rebase}."
  1823. msgstr ""
  1824. #. type: Plain text
  1825. #: guix-git/doc/contributing.texi:1570
  1826. msgid "When pushing a commit on behalf of somebody else, please add a @code{Signed-off-by} line at the end of the commit log message---e.g., with @command{git am --signoff}. This improves tracking of who did what."
  1827. msgstr ""
  1828. #. type: Plain text
  1829. #: guix-git/doc/contributing.texi:1574
  1830. msgid "When adding channel news entries (@pxref{Channels, Writing Channel News}), make sure they are well-formed by running the following command right before pushing:"
  1831. msgstr ""
  1832. #. type: example
  1833. #: guix-git/doc/contributing.texi:1577
  1834. #, no-wrap
  1835. msgid "make check-channel-news\n"
  1836. msgstr ""
  1837. #. type: Plain text
  1838. #: guix-git/doc/contributing.texi:1583
  1839. msgid "For anything else, please post to @email{guix-patches@@gnu.org} and leave time for a review, without committing anything (@pxref{Submitting Patches}). If you didn’t receive any reply after two weeks, and if you're confident, it's OK to commit."
  1840. msgstr ""
  1841. #. type: Plain text
  1842. #: guix-git/doc/contributing.texi:1586
  1843. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1844. msgstr ""
  1845. #. type: subsection
  1846. #: guix-git/doc/contributing.texi:1587
  1847. #, no-wrap
  1848. msgid "Addressing Issues"
  1849. msgstr ""
  1850. #. type: Plain text
  1851. #: guix-git/doc/contributing.texi:1598
  1852. msgid "Peer review (@pxref{Submitting Patches}) and tools such as @command{guix lint} (@pxref{Invoking guix lint}) and the test suite (@pxref{Running the Test Suite}) should catch issues before they are pushed. Yet, commits that ``break'' functionality might occasionally go through. When that happens, there are two priorities: mitigating the impact, and understanding what happened to reduce the chance of similar incidents in the future. The responsibility for both these things primarily lies with those involved, but like everything this is a group effort."
  1853. msgstr ""
  1854. #. type: Plain text
  1855. #: guix-git/doc/contributing.texi:1603
  1856. msgid "Some issues can directly affect all users---for instance because they make @command{guix pull} fail or break core functionality, because they break major packages (at build time or run time), or because they introduce known security vulnerabilities."
  1857. msgstr ""
  1858. #. type: cindex
  1859. #: guix-git/doc/contributing.texi:1604
  1860. #, no-wrap
  1861. msgid "reverting commits"
  1862. msgstr ""
  1863. #. type: Plain text
  1864. #: guix-git/doc/contributing.texi:1610
  1865. msgid "The people involved in authoring, reviewing, and pushing such commit(s) should be at the forefront to mitigate their impact in a timely fashion: by pushing a followup commit to fix it (if possible), or by reverting it to leave time to come up with a proper fix, and by communicating with other developers about the problem."
  1866. msgstr ""
  1867. #. type: Plain text
  1868. #: guix-git/doc/contributing.texi:1616
  1869. msgid "If these persons are unavailable to address the issue in time, other committers are entitled to revert the commit(s), explaining in the commit log and on the mailing list what the problem was, with the goal of leaving time to the original committer, reviewer(s), and author(s) to propose a way forward."
  1870. msgstr ""
  1871. #. type: Plain text
  1872. #: guix-git/doc/contributing.texi:1625
  1873. msgid "Once the problem has been dealt with, it is the responsibility of those involved to make sure the situation is understood. If you are working to understand what happened, focus on gathering information and avoid assigning any blame. Do ask those involved to describe what happened, do not ask them to explain the situation---this would implicitly blame them, which is unhelpful. Accountability comes from a consensus about the problem, learning from it and improving processes so that it's less likely to reoccur."
  1874. msgstr ""
  1875. #. type: subsection
  1876. #: guix-git/doc/contributing.texi:1626
  1877. #, no-wrap
  1878. msgid "Commit Revocation"
  1879. msgstr ""
  1880. #. type: Plain text
  1881. #: guix-git/doc/contributing.texi:1633
  1882. msgid "In order to reduce the possibility of mistakes, committers will have their Savannah account removed from the Guix Savannah project and their key removed from @file{.guix-authorizations} after 12 months of inactivity; they can ask to regain commit access by emailing the maintainers, without going through the vouching process."
  1883. msgstr ""
  1884. #. type: Plain text
  1885. #: guix-git/doc/contributing.texi:1643
  1886. msgid "Maintainers@footnote{See @uref{https://guix.gnu.org/en/about} for the current list of maintainers. You can email them privately at @email{guix-maintainers@@gnu.org}.} may also revoke an individual's commit rights, as a last resort, if cooperation with the rest of the community has caused too much friction---even within the bounds of the project's code of conduct (@pxref{Contributing}). They would only do so after public or private discussion with the individual and a clear notice. Examples of behavior that hinders cooperation and could lead to such a decision include:"
  1887. msgstr ""
  1888. #. type: item
  1889. #: guix-git/doc/contributing.texi:1645
  1890. #, no-wrap
  1891. msgid "repeated violation of the commit policy stated above;"
  1892. msgstr ""
  1893. #. type: item
  1894. #: guix-git/doc/contributing.texi:1646
  1895. #, no-wrap
  1896. msgid "repeated failure to take peer criticism into account;"
  1897. msgstr ""
  1898. #. type: item
  1899. #: guix-git/doc/contributing.texi:1647
  1900. #, no-wrap
  1901. msgid "breaching trust through a series of grave incidents."
  1902. msgstr ""
  1903. #. type: Plain text
  1904. #: guix-git/doc/contributing.texi:1654
  1905. msgid "When maintainers resort to such a decision, they notify developers on @email{guix-devel@@gnu.org}; inquiries may be sent to @email{guix-maintainers@@gnu.org}. Depending on the situation, the individual may still be welcome to contribute."
  1906. msgstr ""
  1907. #. type: subsection
  1908. #: guix-git/doc/contributing.texi:1655
  1909. #, no-wrap
  1910. msgid "Helping Out"
  1911. msgstr ""
  1912. #. type: Plain text
  1913. #: guix-git/doc/contributing.texi:1662
  1914. msgid "One last thing: the project keeps moving forward because committers not only push their own awesome changes, but also offer some of their time @emph{reviewing} and pushing other people's changes. As a committer, you're welcome to use your expertise and commit rights to help other contributors, too!"
  1915. msgstr ""
  1916. #. type: cindex
  1917. #: guix-git/doc/contributing.texi:1666
  1918. #, no-wrap
  1919. msgid "update-guix-package, updating the guix package"
  1920. msgstr ""
  1921. #. type: Plain text
  1922. #: guix-git/doc/contributing.texi:1672
  1923. msgid "It is sometimes desirable to update the @code{guix} package itself (the package defined in @code{(gnu packages package-management)}), for example to make new daemon features available for use by the @code{guix-service-type} service type. In order to simplify this task, the following command can be used:"
  1924. msgstr ""
  1925. #. type: example
  1926. #: guix-git/doc/contributing.texi:1675
  1927. #, no-wrap
  1928. msgid "make update-guix-package\n"
  1929. msgstr ""
  1930. #. type: Plain text
  1931. #: guix-git/doc/contributing.texi:1682
  1932. msgid "The @code{update-guix-package} make target will use the last known @emph{commit} corresponding to @code{HEAD} in your Guix checkout, compute the hash of the Guix sources corresponding to that commit and update the @code{commit}, @code{revision} and hash of the @code{guix} package definition."
  1933. msgstr ""
  1934. #. type: Plain text
  1935. #: guix-git/doc/contributing.texi:1686
  1936. msgid "To validate that the updated @code{guix} package hashes are correct and that it can be built successfully, the following command can be run from the directory of your Guix checkout:"
  1937. msgstr ""
  1938. #. type: example
  1939. #: guix-git/doc/contributing.texi:1689
  1940. #, no-wrap
  1941. msgid "./pre-inst-env guix build guix\n"
  1942. msgstr ""
  1943. #. type: Plain text
  1944. #: guix-git/doc/contributing.texi:1694
  1945. msgid "To guard against accidentally updating the @code{guix} package to a commit that others can't refer to, a check is made that the commit used has already been pushed to the Savannah-hosted Guix git repository."
  1946. msgstr ""
  1947. #. type: Plain text
  1948. #: guix-git/doc/contributing.texi:1699
  1949. msgid "This check can be disabled, @emph{at your own peril}, by setting the @code{GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT} environment variable. When this variable is set, the updated package source is also added to the store. This is used as part of the release process of Guix."
  1950. msgstr ""
  1951. #. type: cindex
  1952. #: guix-git/doc/contributing.texi:1700
  1953. #, no-wrap
  1954. msgid "translation"
  1955. msgstr "preklad"
  1956. #. type: cindex
  1957. #: guix-git/doc/contributing.texi:1701
  1958. #, no-wrap
  1959. msgid "l10n"
  1960. msgstr ""
  1961. #. type: cindex
  1962. #: guix-git/doc/contributing.texi:1702
  1963. #, no-wrap
  1964. msgid "i18n"
  1965. msgstr ""
  1966. #. type: cindex
  1967. #: guix-git/doc/contributing.texi:1703
  1968. #, no-wrap
  1969. msgid "native language support"
  1970. msgstr ""
  1971. #. type: Plain text
  1972. #: guix-git/doc/contributing.texi:1713
  1973. msgid "Writing code and packages is not the only way to provide a meaningful contribution to Guix. Translating to a language you speak is another example of a valuable contribution you can make. This section is designed to describe the translation process. It gives you advice on how you can get involved, what can be translated, what mistakes you should avoid and what we can do to help you!"
  1974. msgstr ""
  1975. #. type: Plain text
  1976. #: guix-git/doc/contributing.texi:1719
  1977. msgid "Guix is a big project that has multiple components that can be translated. We coordinate the translation effort on a @uref{https://translate.fedoraproject.org/projects/guix/,Weblate instance} hosted by our friends at Fedora. You will need an account to submit translations."
  1978. msgstr ""
  1979. #. type: Plain text
  1980. #: guix-git/doc/contributing.texi:1726
  1981. msgid "Some of the software packaged in Guix also contain translations. We do not host a translation platform for them. If you want to translate a package provided by Guix, you should contact their developers or find the information on their website. As an example, you can find the homepage of the @code{hello} package by typing @code{guix show hello}. On the ``homepage'' line, you will see @url{https://www.gnu.org/software/hello/} as the homepage."
  1982. msgstr ""
  1983. #. type: Plain text
  1984. #: guix-git/doc/contributing.texi:1731
  1985. msgid "Many GNU and non-GNU packages can be translated on the @uref{https://translationproject.org,Translation Project}. Some projects with multiple components have their own platform. For instance, GNOME has its own platform, @uref{https://l10n.gnome.org/,Damned Lies}."
  1986. msgstr ""
  1987. #. type: Plain text
  1988. #: guix-git/doc/contributing.texi:1733
  1989. msgid "Guix has five components hosted on Weblate."
  1990. msgstr ""
  1991. #. type: item
  1992. #: guix-git/doc/contributing.texi:1735
  1993. #, no-wrap
  1994. msgid "@code{guix} contains all the strings from the Guix software (the"
  1995. msgstr ""
  1996. #. type: itemize
  1997. #: guix-git/doc/contributing.texi:1737
  1998. msgid "guided system installer, the package manager, etc), excluding packages."
  1999. msgstr ""
  2000. #. type: item
  2001. #: guix-git/doc/contributing.texi:1737
  2002. #, no-wrap
  2003. msgid "@code{packages} contains the synopsis (single-sentence description"
  2004. msgstr ""
  2005. #. type: itemize
  2006. #: guix-git/doc/contributing.texi:1739
  2007. msgid "of a package) and description (longer description) of packages in Guix."
  2008. msgstr ""
  2009. #. type: item
  2010. #: guix-git/doc/contributing.texi:1739
  2011. #, no-wrap
  2012. msgid "@code{website} contains the official Guix website, except for"
  2013. msgstr ""
  2014. #. type: itemize
  2015. #: guix-git/doc/contributing.texi:1741
  2016. msgid "blog posts and multimedia content."
  2017. msgstr ""
  2018. #. type: item
  2019. #: guix-git/doc/contributing.texi:1741
  2020. #, no-wrap
  2021. msgid "@code{documentation-manual} corresponds to this manual."
  2022. msgstr ""
  2023. #. type: item
  2024. #: guix-git/doc/contributing.texi:1742
  2025. #, no-wrap
  2026. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2027. msgstr ""
  2028. #. type: subsubheading
  2029. #: guix-git/doc/contributing.texi:1745
  2030. #, no-wrap
  2031. msgid "General Directions"
  2032. msgstr ""
  2033. #. type: Plain text
  2034. #: guix-git/doc/contributing.texi:1753
  2035. msgid "Once you get an account, you should be able to select a component from @uref{https://translate.fedoraproject.org/projects/guix/,the guix project}, and select a language. If your language does not appear in the list, go to the bottom and click on the ``Start new translation'' button. Select the language you want to translate to from the list, to start your new translation."
  2036. msgstr ""
  2037. #. type: Plain text
  2038. #: guix-git/doc/contributing.texi:1758
  2039. msgid "Like lots of other free software packages, Guix uses @uref{https://www.gnu.org/software/gettext,GNU Gettext} for its translations, with which translatable strings are extracted from the source code to so-called PO files."
  2040. msgstr ""
  2041. #. type: Plain text
  2042. #: guix-git/doc/contributing.texi:1769
  2043. msgid "Even though PO files are text files, changes should not be made with a text editor but with PO editing software. Weblate integrates PO editing functionality. Alternatively, translators can use any of various free-software tools for filling in translations, of which @uref{https://poedit.net/,Poedit} is one example, and (after logging in) @uref{https://docs.weblate.org/en/latest/user/files.html,upload} the changed file. There is also a special @uref{https://www.emacswiki.org/emacs/PoMode,PO editing mode} for users of GNU Emacs. Over time translators find out what software they are happy with and what features they need."
  2044. msgstr ""
  2045. #. type: Plain text
  2046. #: guix-git/doc/contributing.texi:1774
  2047. msgid "On Weblate, you will find various links to the editor, that will show various subsets (or all) of the strings. Have a look around and at the @uref{https://docs.weblate.org/en/latest/,documentation} to familiarize yourself with the platform."
  2048. msgstr ""
  2049. #. type: subsubheading
  2050. #: guix-git/doc/contributing.texi:1775
  2051. #, no-wrap
  2052. msgid "Translation Components"
  2053. msgstr ""
  2054. #. type: Plain text
  2055. #: guix-git/doc/contributing.texi:1780
  2056. msgid "In this section, we provide more detailed guidance on the translation process, as well as details on what you should or should not do. When in doubt, please contact us, we will be happy to help!"
  2057. msgstr ""
  2058. #. type: item
  2059. #: guix-git/doc/contributing.texi:1782 guix-git/doc/guix.texi:9838
  2060. #, no-wrap
  2061. msgid "guix"
  2062. msgstr ""
  2063. #. type: table
  2064. #: guix-git/doc/contributing.texi:1787
  2065. msgid "Guix is written in the Guile programming language, and some strings contain special formatting that is interpreted by Guile. These special formatting should be highlighted by Weblate. They start with @code{~} followed by one or more characters."
  2066. msgstr ""
  2067. #. type: table
  2068. #: guix-git/doc/contributing.texi:1796
  2069. msgid "When printing the string, Guile replaces the special formatting symbols with actual values. For instance, the string @samp{ambiguous package specification `~a'} would be substituted to contain said package specification instead of @code{~a}. To properly translate this string, you must keep the formatting code in your translation, although you can place it where it makes sense in your language. For instance, the French translation says @samp{spécification du paquet « ~a » ambiguë} because the adjective needs to be placed in the end of the sentence."
  2070. msgstr ""
  2071. #. type: table
  2072. #: guix-git/doc/contributing.texi:1800
  2073. msgid "If there are multiple formatting symbols, make sure to respect the order. Guile does not know in which order you intended the string to be read, so it will substitute the symbols in the same order as the English sentence."
  2074. msgstr ""
  2075. #. type: table
  2076. #: guix-git/doc/contributing.texi:1808
  2077. msgid "As an example, you cannot translate @samp{package '~a' has been superseded by '~a'} by @samp{'~a' superseeds package '~a'}, because the meaning would be reversed. If @var{foo} is superseded by @var{bar}, the translation would read @samp{'foo' superseeds package 'bar'}. To work around this problem, it is possible to use more advanced formatting to select a given piece of data, instead of following the default English order. @xref{Formatted Output,,, guile, GNU Guile Reference Manual}, for more information on formatting in Guile."
  2078. msgstr ""
  2079. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2080. #. type: item
  2081. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2082. #. type: cindex
  2083. #: guix-git/doc/contributing.texi:1809 guix-git/doc/guix.texi:3021
  2084. #, no-wrap
  2085. msgid "packages"
  2086. msgstr "balíky"
  2087. #. type: table
  2088. #: guix-git/doc/contributing.texi:1814
  2089. msgid "Package descriptions occasionally contain Texinfo markup (@pxref{Synopses and Descriptions}). Texinfo markup looks like @samp{@@code@{rm -rf@}}, @samp{@@emph@{important@}}, etc. When translating, please leave markup as is."
  2090. msgstr ""
  2091. #. type: table
  2092. #: guix-git/doc/contributing.texi:1823
  2093. msgid "The characters after ``@@'' form the name of the markup, and the text between ``@{'' and ``@}'' is its content. In general, you should not translate the content of markup like @code{@@code}, as it contains literal code that do not change with language. You can translate the content of formatting markup such as @code{@@emph}, @code{@@i}, @code{@@itemize}, @code{@@item}. However, do not translate the name of the markup, or it will not be recognized. Do not translate the word after @code{@@end}, it is the name of the markup that is closed at this position (e.g.@: @code{@@itemize ... @@end itemize})."
  2094. msgstr ""
  2095. #. type: item
  2096. #: guix-git/doc/contributing.texi:1824
  2097. #, no-wrap
  2098. msgid "documentation-manual and documentation-cookbook"
  2099. msgstr ""
  2100. #. type: table
  2101. #: guix-git/doc/contributing.texi:1828
  2102. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2103. msgstr ""
  2104. #. type: item
  2105. #: guix-git/doc/contributing.texi:1830
  2106. #, no-wrap
  2107. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2108. msgstr ""
  2109. #. type: itemize
  2110. #: guix-git/doc/contributing.texi:1833
  2111. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2112. msgstr ""
  2113. #. type: item
  2114. #: guix-git/doc/contributing.texi:1833
  2115. #, no-wrap
  2116. msgid "@code{contributing.texi}: Translate this string as"
  2117. msgstr ""
  2118. #. type: itemize
  2119. #: guix-git/doc/contributing.texi:1835
  2120. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2121. msgstr ""
  2122. #. type: item
  2123. #: guix-git/doc/contributing.texi:1835
  2124. #, no-wrap
  2125. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2126. msgstr ""
  2127. #. type: itemize
  2128. #: guix-git/doc/contributing.texi:1838
  2129. msgid "If you translate it, the document will be empty (missing a Top node). Please look for it, and register @code{Top} as its translation."
  2130. msgstr ""
  2131. #. type: table
  2132. #: guix-git/doc/contributing.texi:1843
  2133. msgid "Translating these strings first ensure we can include your translation in the guix repository without breaking the make process or the @command{guix pull} machinery."
  2134. msgstr ""
  2135. #. type: table
  2136. #: guix-git/doc/contributing.texi:1850
  2137. msgid "The manual and the cookbook both use Texinfo. As for @code{packages}, please keep Texinfo markup as is. There are more possible markup types in the manual than in the package descriptions. In general, do not translate the content of @code{@@code}, @code{@@file}, @code{@@var}, @code{@@value}, etc. You should translate the content of formatting markup such as @code{@@emph}, @code{@@i}, etc."
  2138. msgstr ""
  2139. #. type: table
  2140. #: guix-git/doc/contributing.texi:1858
  2141. msgid "The manual contains sections that can be referred to by name by @code{@@ref}, @code{@@xref} and @code{@@pxref}. We have a mechanism in place so you do not have to translate their content. If you keep the English title, we will automatically replace it with your translation of that title. This ensures that Texinfo will always be able to find the node. If you decide to change the translation of the title, the references will automatically be updated and you will not have to update them all yourself."
  2142. msgstr ""
  2143. #. type: table
  2144. #: guix-git/doc/contributing.texi:1868
  2145. msgid "When translating references from the cookbook to the manual, you need to replace the name of the manual and the name of the section. For instance, to translate @code{@@pxref@{Defining Packages,,, guix, GNU Guix Reference Manual@}}, you would replace @code{Defining Packages} with the title of that section in the translated manual @emph{only} if that title is translated. If the title is not translated in your language yet, do not translate it here, or the link will be broken. Replace @code{guix} with @code{guix.xx} where @code{xx} is your language code. @code{GNU Guix Reference Manual} is the text of the link. You can translate it however you wish."
  2146. msgstr ""
  2147. #. type: item
  2148. #: guix-git/doc/contributing.texi:1869
  2149. #, no-wrap
  2150. msgid "website"
  2151. msgstr "internetová stránka"
  2152. #. type: table
  2153. #: guix-git/doc/contributing.texi:1876
  2154. msgid "The website pages are written using SXML, an s-expression version of HTML, the basic language of the web. We have a process to extract translatable strings from the source, and replace complex s-expressions with a more familiar XML markup, where each markup is numbered. Translators can arbitrarily change the ordering, as in the following example."
  2155. msgstr ""
  2156. #. type: example
  2157. #: guix-git/doc/contributing.texi:1883
  2158. #, no-wrap
  2159. msgid ""
  2160. "#. TRANSLATORS: Defining Packages is a section name\n"
  2161. "#. in the English (en) manual.\n"
  2162. "#: apps/base/templates/about.scm:64\n"
  2163. "msgid \"Packages are <1>defined<1.1>en</1.1><1.2>Defining-Packages.html</1.2></1> as native <2>Guile</2> modules.\"\n"
  2164. "msgstr \"Pakete werden als reine <2>Guile</2>-Module <1>definiert<1.1>de</1.1><1.2>Pakete-definieren.html</1.2></1>.\"\n"
  2165. msgstr ""
  2166. #. type: table
  2167. #: guix-git/doc/contributing.texi:1886
  2168. msgid "Note that you need to include the same markups. You cannot skip any."
  2169. msgstr ""
  2170. #. type: Plain text
  2171. #: guix-git/doc/contributing.texi:1894
  2172. msgid "In case you make a mistake, the component might fail to build properly with your language, or even make guix pull fail. To prevent that, we have a process in place to check the content of the files before pushing to our repository. We will not be able to update the translation for your language in Guix, so we will notify you (through weblate and/or by email) so you get a chance to fix the issue."
  2173. msgstr ""
  2174. #. type: subsubheading
  2175. #: guix-git/doc/contributing.texi:1895
  2176. #, no-wrap
  2177. msgid "Outside of Weblate"
  2178. msgstr ""
  2179. #. type: Plain text
  2180. #: guix-git/doc/contributing.texi:1898
  2181. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2182. msgstr ""
  2183. #. type: item
  2184. #: guix-git/doc/contributing.texi:1900
  2185. #, no-wrap
  2186. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2187. msgstr ""
  2188. #. type: itemize
  2189. #: guix-git/doc/contributing.texi:1906
  2190. msgid "available from Weblate. If you want to provide a translation, you can prepare a patch as described above, or simply send us your translation with the name of the news entry you translated and your language. @xref{Writing Channel News}, for more information about channel news."
  2191. msgstr ""
  2192. #. type: item
  2193. #: guix-git/doc/contributing.texi:1906
  2194. #, no-wrap
  2195. msgid "Guix blog posts cannot currently be translated."
  2196. msgstr ""
  2197. #. type: item
  2198. #: guix-git/doc/contributing.texi:1907
  2199. #, no-wrap
  2200. msgid "The installer script (for foreign distributions) is entirely in English."
  2201. msgstr ""
  2202. #. type: item
  2203. #: guix-git/doc/contributing.texi:1908
  2204. #, no-wrap
  2205. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2206. msgstr ""
  2207. #. type: itemize
  2208. #: guix-git/doc/contributing.texi:1910
  2209. msgid "outside of the Guix project. Guile itself is not internationalized."
  2210. msgstr ""
  2211. #. type: item
  2212. #: guix-git/doc/contributing.texi:1910
  2213. #, no-wrap
  2214. msgid "Other manuals linked from this manual or the cookbook might not be"
  2215. msgstr ""
  2216. #. type: itemize
  2217. #: guix-git/doc/contributing.texi:1912
  2218. msgid "translated."
  2219. msgstr ""
  2220. #. type: subsubheading
  2221. #: guix-git/doc/contributing.texi:1914
  2222. #, no-wrap
  2223. msgid "Translation Infrastructure"
  2224. msgstr ""
  2225. #. type: Plain text
  2226. #: guix-git/doc/contributing.texi:1925
  2227. msgid "Weblate is backed by a git repository from which it discovers new strings to translate and pushes new and updated translations. Normally, it would be enough to give it commit access to our repositories. However, we decided to use a separate repository for two reasons. First, we would have to give Weblate commit access and authorize its signing key, but we do not trust it in the same way we trust guix developers, especially since we do not manage the instance ourselves. Second, if translators mess something up, it can break the generation of the website and/or guix pull for all our users, independently of their language."
  2228. msgstr ""
  2229. #. type: Plain text
  2230. #: guix-git/doc/contributing.texi:1929
  2231. msgid "For these reasons, we use a dedicated repository to host translations, and we synchronize it with our guix and artworks repositories after checking no issue was introduced in the translation."
  2232. msgstr ""
  2233. #. type: Plain text
  2234. #: guix-git/doc/contributing.texi:1935
  2235. msgid "Developers can download the latest PO files from weblate in the Guix repository by running the @command{make download-po} command. It will automatically download the latest files from weblate, reformat them to a canonical form, and check they do not contain issues. The manual needs to be built again to check for additional issues that might crash Texinfo."
  2236. msgstr ""
  2237. #. type: Plain text
  2238. #: guix-git/doc/contributing.texi:1939
  2239. msgid "Before pushing new translation files, developers should add them to the make machinery so the translations are actually available. The process differs for the various components."
  2240. msgstr ""
  2241. #. type: item
  2242. #: guix-git/doc/contributing.texi:1941
  2243. #, no-wrap
  2244. msgid "New po files for the @code{guix} and @code{packages} components must"
  2245. msgstr ""
  2246. #. type: itemize
  2247. #: guix-git/doc/contributing.texi:1944
  2248. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2249. msgstr ""
  2250. #. type: item
  2251. #: guix-git/doc/contributing.texi:1944
  2252. #, no-wrap
  2253. msgid "New po files for the @code{documentation-manual} component must be"
  2254. msgstr ""
  2255. #. type: itemize
  2256. #: guix-git/doc/contributing.texi:1950
  2257. msgid "registered by adding the file name to @code{DOC_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix.xx.texi} and @file{%D%/contributing.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2258. msgstr ""
  2259. #. type: item
  2260. #: guix-git/doc/contributing.texi:1950
  2261. #, no-wrap
  2262. msgid "New po files for the @code{documentation-cookbook} component must be"
  2263. msgstr ""
  2264. #. type: itemize
  2265. #: guix-git/doc/contributing.texi:1956
  2266. msgid "registered by adding the file name to @code{DOC_COOKBOOK_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix-cookbook.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix-cookbook.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2267. msgstr ""
  2268. #. type: item
  2269. #: guix-git/doc/contributing.texi:1956
  2270. #, no-wrap
  2271. msgid "New po files for the @code{website} component must be added to the"
  2272. msgstr ""
  2273. #. type: itemize
  2274. #: guix-git/doc/contributing.texi:1961
  2275. msgid "@code{guix-artwork} repository, in @file{website/po/}. @file{website/po/LINGUAS} and @file{website/po/ietf-tags.scm} must be updated accordingly (see @file{website/i18n-howto.txt} for more information on the process)."
  2276. msgstr ""
  2277. #. type: Plain text
  2278. #: guix-git/doc/guix.texi:7
  2279. msgid "@documentencoding UTF-8"
  2280. msgstr ""
  2281. "@documentencoding UTF-8\n"
  2282. "@documentlanguage sk"
  2283. #. type: title
  2284. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2285. #, no-wrap
  2286. msgid "GNU Guix Reference Manual"
  2287. msgstr ""
  2288. #. type: include
  2289. #: guix-git/doc/guix.texi:10
  2290. #, no-wrap
  2291. msgid "version.texi"
  2292. msgstr "version-sk.texi"
  2293. #. type: copying
  2294. #: guix-git/doc/guix.texi:103
  2295. msgid "Copyright @copyright{} 2012-2022 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021, 2022 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021, 2022 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2296. msgstr ""
  2297. #. type: copying
  2298. #: guix-git/doc/guix.texi:110
  2299. msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''."
  2300. msgstr "Tento dokument môžete kopírovať, ďalej šíriť a/alebo upravovať pod podmienkami licencie GNU Free Documentation License vo verzii 1.3 alebo v akejkoľvek novšej verzii, ktorú vydáva Free Software Foundation; bez nemenných oddielov, úvodnej strany a propagačného textu. Kópia tejto licencie je priložená v oddiele „GNU Free Documentation License“."
  2301. #. type: dircategory
  2302. #: guix-git/doc/guix.texi:112
  2303. #, no-wrap
  2304. msgid "System administration"
  2305. msgstr "Správa systému"
  2306. #. type: menuentry
  2307. #: guix-git/doc/guix.texi:120
  2308. msgid "Guix: (guix)"
  2309. msgstr ""
  2310. #. type: menuentry
  2311. #: guix-git/doc/guix.texi:120
  2312. msgid "Manage installed software and system configuration."
  2313. msgstr ""
  2314. #. type: menuentry
  2315. #: guix-git/doc/guix.texi:120
  2316. msgid "guix package: (guix)Invoking guix package"
  2317. msgstr ""
  2318. #. type: menuentry
  2319. #: guix-git/doc/guix.texi:120
  2320. msgid "Installing, removing, and upgrading packages."
  2321. msgstr ""
  2322. #. type: menuentry
  2323. #: guix-git/doc/guix.texi:120
  2324. msgid "guix gc: (guix)Invoking guix gc"
  2325. msgstr ""
  2326. #. type: menuentry
  2327. #: guix-git/doc/guix.texi:120
  2328. msgid "Reclaiming unused disk space."
  2329. msgstr ""
  2330. #. type: menuentry
  2331. #: guix-git/doc/guix.texi:120
  2332. msgid "guix pull: (guix)Invoking guix pull"
  2333. msgstr ""
  2334. #. type: menuentry
  2335. #: guix-git/doc/guix.texi:120
  2336. msgid "Update the list of available packages."
  2337. msgstr ""
  2338. #. type: menuentry
  2339. #: guix-git/doc/guix.texi:120
  2340. msgid "guix system: (guix)Invoking guix system"
  2341. msgstr ""
  2342. #. type: menuentry
  2343. #: guix-git/doc/guix.texi:120
  2344. msgid "Manage the operating system configuration."
  2345. msgstr ""
  2346. #. type: menuentry
  2347. #: guix-git/doc/guix.texi:120
  2348. msgid "guix deploy: (guix)Invoking guix deploy"
  2349. msgstr ""
  2350. #. type: menuentry
  2351. #: guix-git/doc/guix.texi:120
  2352. msgid "Manage operating system configurations for remote hosts."
  2353. msgstr ""
  2354. #. type: dircategory
  2355. #: guix-git/doc/guix.texi:122
  2356. #, no-wrap
  2357. msgid "Software development"
  2358. msgstr "Vývoj softvéru"
  2359. #. type: menuentry
  2360. #: guix-git/doc/guix.texi:128
  2361. msgid "guix shell: (guix)Invoking guix shell"
  2362. msgstr ""
  2363. #. type: menuentry
  2364. #: guix-git/doc/guix.texi:128
  2365. msgid "Creating software environments."
  2366. msgstr ""
  2367. #. type: menuentry
  2368. #: guix-git/doc/guix.texi:128
  2369. msgid "guix environment: (guix)Invoking guix environment"
  2370. msgstr ""
  2371. #. type: menuentry
  2372. #: guix-git/doc/guix.texi:128
  2373. msgid "Building development environments with Guix."
  2374. msgstr ""
  2375. #. type: menuentry
  2376. #: guix-git/doc/guix.texi:128
  2377. msgid "guix build: (guix)Invoking guix build"
  2378. msgstr ""
  2379. #. type: menuentry
  2380. #: guix-git/doc/guix.texi:128
  2381. msgid "Building packages."
  2382. msgstr ""
  2383. #. type: menuentry
  2384. #: guix-git/doc/guix.texi:128
  2385. msgid "guix pack: (guix)Invoking guix pack"
  2386. msgstr ""
  2387. #. type: menuentry
  2388. #: guix-git/doc/guix.texi:128
  2389. msgid "Creating binary bundles."
  2390. msgstr ""
  2391. #. type: subtitle
  2392. #: guix-git/doc/guix.texi:132
  2393. #, no-wrap
  2394. msgid "Using the GNU Guix Functional Package Manager"
  2395. msgstr ""
  2396. #. type: author
  2397. #: guix-git/doc/guix.texi:133
  2398. #, no-wrap
  2399. msgid "The GNU Guix Developers"
  2400. msgstr "Vývojári GNU Guix"
  2401. #. type: titlepage
  2402. #: guix-git/doc/guix.texi:139
  2403. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2404. msgstr ""
  2405. #. type: node
  2406. #: guix-git/doc/guix.texi:146
  2407. #, no-wrap
  2408. msgid "Top"
  2409. msgstr "Top"
  2410. #. type: top
  2411. #: guix-git/doc/guix.texi:147
  2412. #, no-wrap
  2413. msgid "GNU Guix"
  2414. msgstr ""
  2415. #. type: Plain text
  2416. #: guix-git/doc/guix.texi:151
  2417. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2418. msgstr ""
  2419. #. type: Plain text
  2420. #: guix-git/doc/guix.texi:163
  2421. msgid "This manual is also available in Simplified Chinese (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}), and Russian (@pxref{Top,,, guix.ru, Руководство GNU Guix}). If you would like to translate it in your native language, consider joining @uref{https://translate.fedoraproject.org/projects/guix/documentation-manual, Weblate} (@pxref{Translating Guix})."
  2422. msgstr ""
  2423. #. type: chapter
  2424. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2425. #: guix-git/doc/guix.texi:403 guix-git/doc/guix.texi:404
  2426. #, no-wrap
  2427. msgid "Introduction"
  2428. msgstr ""
  2429. #. type: menuentry
  2430. #: guix-git/doc/guix.texi:182
  2431. msgid "What is Guix about?"
  2432. msgstr ""
  2433. #. type: chapter
  2434. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2435. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:601
  2436. #, no-wrap
  2437. msgid "Installation"
  2438. msgstr "Inštalácia"
  2439. #. type: menuentry
  2440. #: guix-git/doc/guix.texi:182
  2441. msgid "Installing Guix."
  2442. msgstr ""
  2443. #. type: chapter
  2444. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2445. #: guix-git/doc/guix.texi:2082 guix-git/doc/guix.texi:2083
  2446. #, no-wrap
  2447. msgid "System Installation"
  2448. msgstr ""
  2449. #. type: menuentry
  2450. #: guix-git/doc/guix.texi:182
  2451. msgid "Installing the whole operating system."
  2452. msgstr ""
  2453. #. type: chapter
  2454. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2810
  2455. #: guix-git/doc/guix.texi:2811
  2456. #, no-wrap
  2457. msgid "Getting Started"
  2458. msgstr ""
  2459. #. type: menuentry
  2460. #: guix-git/doc/guix.texi:182
  2461. msgid "Your first steps."
  2462. msgstr ""
  2463. #. type: chapter
  2464. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2465. #: guix-git/doc/guix.texi:3018 guix-git/doc/guix.texi:3019
  2466. #, no-wrap
  2467. msgid "Package Management"
  2468. msgstr ""
  2469. #. type: menuentry
  2470. #: guix-git/doc/guix.texi:182
  2471. msgid "Package installation, upgrade, etc."
  2472. msgstr ""
  2473. #. type: chapter
  2474. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2475. #: guix-git/doc/guix.texi:5091 guix-git/doc/guix.texi:5092
  2476. #, no-wrap
  2477. msgid "Channels"
  2478. msgstr "Kanály"
  2479. #. type: menuentry
  2480. #: guix-git/doc/guix.texi:182
  2481. msgid "Customizing the package collection."
  2482. msgstr ""
  2483. #. type: chapter
  2484. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2485. #: guix-git/doc/guix.texi:5621 guix-git/doc/guix.texi:5622
  2486. #, no-wrap
  2487. msgid "Development"
  2488. msgstr "Vývoj"
  2489. #. type: menuentry
  2490. #: guix-git/doc/guix.texi:182
  2491. msgid "Guix-aided software development."
  2492. msgstr ""
  2493. #. type: chapter
  2494. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2495. #: guix-git/doc/guix.texi:6864 guix-git/doc/guix.texi:6865
  2496. #, no-wrap
  2497. msgid "Programming Interface"
  2498. msgstr ""
  2499. #. type: menuentry
  2500. #: guix-git/doc/guix.texi:182
  2501. msgid "Using Guix in Scheme."
  2502. msgstr ""
  2503. #. type: chapter
  2504. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:295
  2505. #: guix-git/doc/guix.texi:11192 guix-git/doc/guix.texi:11193
  2506. #, no-wrap
  2507. msgid "Utilities"
  2508. msgstr "Nástroje"
  2509. #. type: menuentry
  2510. #: guix-git/doc/guix.texi:182
  2511. msgid "Package management commands."
  2512. msgstr ""
  2513. #. type: chapter
  2514. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:321
  2515. #: guix-git/doc/guix.texi:14739 guix-git/doc/guix.texi:14740
  2516. #, no-wrap
  2517. msgid "System Configuration"
  2518. msgstr "Nastavenie systému"
  2519. #. type: menuentry
  2520. #: guix-git/doc/guix.texi:182
  2521. msgid "Configuring the operating system."
  2522. msgstr ""
  2523. #. type: chapter
  2524. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37485
  2525. #: guix-git/doc/guix.texi:37486
  2526. #, no-wrap
  2527. msgid "Home Configuration"
  2528. msgstr "Nastavenie domovského priečinka"
  2529. #. type: menuentry
  2530. #: guix-git/doc/guix.texi:182
  2531. msgid "Configuring the home environment."
  2532. msgstr ""
  2533. #. type: chapter
  2534. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38404
  2535. #: guix-git/doc/guix.texi:38405
  2536. #, no-wrap
  2537. msgid "Documentation"
  2538. msgstr "Dokumentácia"
  2539. #. type: menuentry
  2540. #: guix-git/doc/guix.texi:182
  2541. msgid "Browsing software user manuals."
  2542. msgstr ""
  2543. #. type: chapter
  2544. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:390
  2545. #: guix-git/doc/guix.texi:38470 guix-git/doc/guix.texi:38471
  2546. #, no-wrap
  2547. msgid "Installing Debugging Files"
  2548. msgstr ""
  2549. #. type: menuentry
  2550. #: guix-git/doc/guix.texi:182
  2551. msgid "Feeding the debugger."
  2552. msgstr ""
  2553. #. type: chapter
  2554. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38625
  2555. #: guix-git/doc/guix.texi:38626
  2556. #, no-wrap
  2557. msgid "Security Updates"
  2558. msgstr "Bezpečnostné aktualizácie"
  2559. #. type: menuentry
  2560. #: guix-git/doc/guix.texi:182
  2561. msgid "Deploying security fixes quickly."
  2562. msgstr ""
  2563. #. type: chapter
  2564. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:395
  2565. #: guix-git/doc/guix.texi:38740 guix-git/doc/guix.texi:38741
  2566. #, no-wrap
  2567. msgid "Bootstrapping"
  2568. msgstr ""
  2569. #. type: menuentry
  2570. #: guix-git/doc/guix.texi:182
  2571. msgid "GNU/Linux built from scratch."
  2572. msgstr ""
  2573. #. type: node
  2574. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:39032
  2575. #, no-wrap
  2576. msgid "Porting"
  2577. msgstr ""
  2578. #. type: menuentry
  2579. #: guix-git/doc/guix.texi:182
  2580. msgid "Targeting another platform or kernel."
  2581. msgstr ""
  2582. #. type: menuentry
  2583. #: guix-git/doc/guix.texi:182
  2584. msgid "Your help needed!"
  2585. msgstr ""
  2586. #. type: chapter
  2587. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39080
  2588. #: guix-git/doc/guix.texi:39081
  2589. #, no-wrap
  2590. msgid "Acknowledgments"
  2591. msgstr "Poďakovanie"
  2592. #. type: menuentry
  2593. #: guix-git/doc/guix.texi:187
  2594. msgid "Thanks!"
  2595. msgstr "Ďakujeme!"
  2596. #. type: appendix
  2597. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39102
  2598. #: guix-git/doc/guix.texi:39103
  2599. #, no-wrap
  2600. msgid "GNU Free Documentation License"
  2601. msgstr "Licencia GNU Free Documentation"
  2602. #. type: menuentry
  2603. #: guix-git/doc/guix.texi:187
  2604. msgid "The license of this manual."
  2605. msgstr ""
  2606. #. type: unnumbered
  2607. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39108
  2608. #: guix-git/doc/guix.texi:39109
  2609. #, no-wrap
  2610. msgid "Concept Index"
  2611. msgstr "Zoznam pojmov"
  2612. #. type: menuentry
  2613. #: guix-git/doc/guix.texi:187
  2614. msgid "Concepts."
  2615. msgstr "Pojmy."
  2616. #. type: unnumbered
  2617. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39112
  2618. #: guix-git/doc/guix.texi:39113
  2619. #, no-wrap
  2620. msgid "Programming Index"
  2621. msgstr ""
  2622. #. type: menuentry
  2623. #: guix-git/doc/guix.texi:187
  2624. msgid "Data types, functions, and variables."
  2625. msgstr ""
  2626. #. type: menuentry
  2627. #: guix-git/doc/guix.texi:190
  2628. msgid "--- The Detailed Node Listing ---"
  2629. msgstr "--- Podrobný zoznam uzlov ---"
  2630. #. type: section
  2631. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2632. #: guix-git/doc/guix.texi:432 guix-git/doc/guix.texi:433
  2633. #, no-wrap
  2634. msgid "Managing Software the Guix Way"
  2635. msgstr ""
  2636. #. type: menuentry
  2637. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2638. msgid "What's special."
  2639. msgstr ""
  2640. #. type: section
  2641. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2642. #: guix-git/doc/guix.texi:487 guix-git/doc/guix.texi:488
  2643. #, no-wrap
  2644. msgid "GNU Distribution"
  2645. msgstr ""
  2646. #. type: menuentry
  2647. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2648. msgid "The packages and tools."
  2649. msgstr ""
  2650. #. type: section
  2651. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2652. #: guix-git/doc/guix.texi:642 guix-git/doc/guix.texi:643
  2653. #, no-wrap
  2654. msgid "Binary Installation"
  2655. msgstr ""
  2656. #. type: menuentry
  2657. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2658. msgid "Getting Guix running in no time!"
  2659. msgstr ""
  2660. #. type: section
  2661. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2662. #: guix-git/doc/guix.texi:882 guix-git/doc/guix.texi:883
  2663. #, no-wrap
  2664. msgid "Requirements"
  2665. msgstr ""
  2666. #. type: menuentry
  2667. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2668. msgid "Software needed to build and run Guix."
  2669. msgstr ""
  2670. #. type: section
  2671. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2672. #: guix-git/doc/guix.texi:969 guix-git/doc/guix.texi:970
  2673. #, no-wrap
  2674. msgid "Running the Test Suite"
  2675. msgstr ""
  2676. #. type: menuentry
  2677. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2678. msgid "Testing Guix."
  2679. msgstr ""
  2680. #. type: section
  2681. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2682. #: guix-git/doc/guix.texi:640 guix-git/doc/guix.texi:1066
  2683. #: guix-git/doc/guix.texi:1067
  2684. #, no-wrap
  2685. msgid "Setting Up the Daemon"
  2686. msgstr ""
  2687. #. type: menuentry
  2688. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2689. msgid "Preparing the build daemon's environment."
  2690. msgstr ""
  2691. #. type: node
  2692. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2693. #: guix-git/doc/guix.texi:1542
  2694. #, no-wrap
  2695. msgid "Invoking guix-daemon"
  2696. msgstr ""
  2697. #. type: menuentry
  2698. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2699. msgid "Running the build daemon."
  2700. msgstr ""
  2701. #. type: section
  2702. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2703. #: guix-git/doc/guix.texi:1844 guix-git/doc/guix.texi:1845
  2704. #, no-wrap
  2705. msgid "Application Setup"
  2706. msgstr ""
  2707. #. type: menuentry
  2708. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2709. msgid "Application-specific setup."
  2710. msgstr ""
  2711. #. type: section
  2712. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2713. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2046
  2714. #, no-wrap
  2715. msgid "Upgrading Guix"
  2716. msgstr ""
  2717. #. type: menuentry
  2718. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2719. msgid "Upgrading Guix and its build daemon."
  2720. msgstr ""
  2721. #. type: subsection
  2722. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2723. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1089
  2724. #, no-wrap
  2725. msgid "Build Environment Setup"
  2726. msgstr ""
  2727. #. type: menuentry
  2728. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2729. msgid "Preparing the isolated build environment."
  2730. msgstr ""
  2731. #. type: node
  2732. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2733. #: guix-git/doc/guix.texi:1212
  2734. #, no-wrap
  2735. msgid "Daemon Offload Setup"
  2736. msgstr ""
  2737. #. type: menuentry
  2738. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2739. msgid "Offloading builds to remote machines."
  2740. msgstr ""
  2741. #. type: subsection
  2742. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2743. #: guix-git/doc/guix.texi:1451 guix-git/doc/guix.texi:1452
  2744. #, no-wrap
  2745. msgid "SELinux Support"
  2746. msgstr ""
  2747. #. type: menuentry
  2748. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2749. msgid "Using an SELinux policy for the daemon."
  2750. msgstr ""
  2751. #. type: section
  2752. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1487
  2753. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2118
  2754. #: guix-git/doc/guix.texi:2119
  2755. #, no-wrap
  2756. msgid "Limitations"
  2757. msgstr ""
  2758. #. type: menuentry
  2759. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2760. msgid "What you can expect."
  2761. msgstr ""
  2762. #. type: section
  2763. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2764. #: guix-git/doc/guix.texi:2144 guix-git/doc/guix.texi:2145
  2765. #, no-wrap
  2766. msgid "Hardware Considerations"
  2767. msgstr ""
  2768. #. type: menuentry
  2769. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2770. msgid "Supported hardware."
  2771. msgstr ""
  2772. #. type: section
  2773. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2774. #: guix-git/doc/guix.texi:2179 guix-git/doc/guix.texi:2180
  2775. #, no-wrap
  2776. msgid "USB Stick and DVD Installation"
  2777. msgstr ""
  2778. #. type: menuentry
  2779. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2780. msgid "Preparing the installation medium."
  2781. msgstr ""
  2782. #. type: section
  2783. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2784. #: guix-git/doc/guix.texi:2260 guix-git/doc/guix.texi:2261
  2785. #, no-wrap
  2786. msgid "Preparing for Installation"
  2787. msgstr ""
  2788. #. type: menuentry
  2789. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2790. msgid "Networking, partitioning, etc."
  2791. msgstr ""
  2792. #. type: section
  2793. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2794. #: guix-git/doc/guix.texi:2283 guix-git/doc/guix.texi:2284
  2795. #, no-wrap
  2796. msgid "Guided Graphical Installation"
  2797. msgstr ""
  2798. #. type: menuentry
  2799. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2800. msgid "Easy graphical installation."
  2801. msgstr ""
  2802. #. type: section
  2803. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2804. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2314
  2805. #: guix-git/doc/guix.texi:2315
  2806. #, no-wrap
  2807. msgid "Manual Installation"
  2808. msgstr ""
  2809. #. type: menuentry
  2810. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2811. msgid "Manual installation for wizards."
  2812. msgstr ""
  2813. #. type: section
  2814. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2815. #: guix-git/doc/guix.texi:2693 guix-git/doc/guix.texi:2694
  2816. #, no-wrap
  2817. msgid "After System Installation"
  2818. msgstr ""
  2819. #. type: menuentry
  2820. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2821. msgid "When installation succeeded."
  2822. msgstr ""
  2823. #. type: node
  2824. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2825. #: guix-git/doc/guix.texi:2727
  2826. #, no-wrap
  2827. msgid "Installing Guix in a VM"
  2828. msgstr ""
  2829. #. type: menuentry
  2830. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2831. msgid "Guix System playground."
  2832. msgstr ""
  2833. #. type: section
  2834. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2835. #: guix-git/doc/guix.texi:2778 guix-git/doc/guix.texi:2779
  2836. #, no-wrap
  2837. msgid "Building the Installation Image"
  2838. msgstr ""
  2839. #. type: menuentry
  2840. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2841. msgid "How this comes to be."
  2842. msgstr ""
  2843. #. type: node
  2844. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2845. #: guix-git/doc/guix.texi:2334
  2846. #, no-wrap
  2847. msgid "Keyboard Layout and Networking and Partitioning"
  2848. msgstr ""
  2849. #. type: menuentry
  2850. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2851. msgid "Initial setup."
  2852. msgstr "Počiatočné nastavenie."
  2853. #. type: subsection
  2854. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2855. #: guix-git/doc/guix.texi:2604 guix-git/doc/guix.texi:2605
  2856. #, no-wrap
  2857. msgid "Proceeding with the Installation"
  2858. msgstr ""
  2859. #. type: menuentry
  2860. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2861. msgid "Installing."
  2862. msgstr "Inštalácia."
  2863. #. type: section
  2864. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2865. #: guix-git/doc/guix.texi:3052 guix-git/doc/guix.texi:3053
  2866. #, no-wrap
  2867. msgid "Features"
  2868. msgstr "Možnosti"
  2869. #. type: menuentry
  2870. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2871. msgid "How Guix will make your life brighter."
  2872. msgstr ""
  2873. #. type: node
  2874. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2875. #: guix-git/doc/guix.texi:3142
  2876. #, no-wrap
  2877. msgid "Invoking guix package"
  2878. msgstr ""
  2879. #. type: menuentry
  2880. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2881. msgid "Package installation, removal, etc."
  2882. msgstr ""
  2883. #. type: section
  2884. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2885. #: guix-git/doc/guix.texi:3050 guix-git/doc/guix.texi:3772
  2886. #: guix-git/doc/guix.texi:3773
  2887. #, no-wrap
  2888. msgid "Substitutes"
  2889. msgstr ""
  2890. #. type: menuentry
  2891. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2892. msgid "Downloading pre-built binaries."
  2893. msgstr ""
  2894. #. type: section
  2895. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2896. #: guix-git/doc/guix.texi:4108 guix-git/doc/guix.texi:4109
  2897. #, no-wrap
  2898. msgid "Packages with Multiple Outputs"
  2899. msgstr ""
  2900. #. type: menuentry
  2901. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2902. msgid "Single source package, multiple outputs."
  2903. msgstr ""
  2904. #. type: node
  2905. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2906. #: guix-git/doc/guix.texi:4162
  2907. #, no-wrap
  2908. msgid "Invoking guix gc"
  2909. msgstr ""
  2910. #. type: menuentry
  2911. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2912. msgid "Running the garbage collector."
  2913. msgstr ""
  2914. #. type: node
  2915. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2916. #: guix-git/doc/guix.texi:4372
  2917. #, no-wrap
  2918. msgid "Invoking guix pull"
  2919. msgstr ""
  2920. #. type: menuentry
  2921. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2922. msgid "Fetching the latest Guix and distribution."
  2923. msgstr ""
  2924. #. type: node
  2925. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2926. #: guix-git/doc/guix.texi:4623
  2927. #, no-wrap
  2928. msgid "Invoking guix time-machine"
  2929. msgstr ""
  2930. #. type: menuentry
  2931. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2932. msgid "Running an older revision of Guix."
  2933. msgstr ""
  2934. #. type: section
  2935. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2936. #: guix-git/doc/guix.texi:4678 guix-git/doc/guix.texi:4679
  2937. #, no-wrap
  2938. msgid "Inferiors"
  2939. msgstr ""
  2940. #. type: menuentry
  2941. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2942. msgid "Interacting with another revision of Guix."
  2943. msgstr ""
  2944. #. type: node
  2945. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2946. #: guix-git/doc/guix.texi:4806
  2947. #, no-wrap
  2948. msgid "Invoking guix describe"
  2949. msgstr ""
  2950. #. type: menuentry
  2951. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2952. msgid "Display information about your Guix revision."
  2953. msgstr ""
  2954. #. type: node
  2955. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2956. #: guix-git/doc/guix.texi:4901
  2957. #, no-wrap
  2958. msgid "Invoking guix archive"
  2959. msgstr ""
  2960. #. type: menuentry
  2961. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2962. msgid "Exporting and importing store files."
  2963. msgstr ""
  2964. #. type: subsection
  2965. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2966. #: guix-git/doc/guix.texi:3798 guix-git/doc/guix.texi:3799
  2967. #, no-wrap
  2968. msgid "Official Substitute Servers"
  2969. msgstr ""
  2970. #. type: menuentry
  2971. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2972. msgid "One particular source of substitutes."
  2973. msgstr ""
  2974. #. type: subsection
  2975. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2976. #: guix-git/doc/guix.texi:3828 guix-git/doc/guix.texi:3829
  2977. #, no-wrap
  2978. msgid "Substitute Server Authorization"
  2979. msgstr ""
  2980. #. type: menuentry
  2981. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2982. msgid "How to enable or disable substitutes."
  2983. msgstr ""
  2984. #. type: subsection
  2985. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2986. #: guix-git/doc/guix.texi:3898 guix-git/doc/guix.texi:3899
  2987. #, no-wrap
  2988. msgid "Getting Substitutes from Other Servers"
  2989. msgstr ""
  2990. #. type: menuentry
  2991. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2992. msgid "Substitute diversity."
  2993. msgstr ""
  2994. #. type: subsection
  2995. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2996. #: guix-git/doc/guix.texi:4003 guix-git/doc/guix.texi:4004
  2997. #, no-wrap
  2998. msgid "Substitute Authentication"
  2999. msgstr ""
  3000. #. type: menuentry
  3001. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3002. msgid "How Guix verifies substitutes."
  3003. msgstr ""
  3004. #. type: subsection
  3005. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3006. #: guix-git/doc/guix.texi:4038 guix-git/doc/guix.texi:4039
  3007. #, no-wrap
  3008. msgid "Proxy Settings"
  3009. msgstr ""
  3010. #. type: menuentry
  3011. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3012. msgid "How to get substitutes via proxy."
  3013. msgstr ""
  3014. #. type: subsection
  3015. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3016. #: guix-git/doc/guix.texi:4050 guix-git/doc/guix.texi:4051
  3017. #, no-wrap
  3018. msgid "Substitution Failure"
  3019. msgstr ""
  3020. #. type: menuentry
  3021. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3022. msgid "What happens when substitution fails."
  3023. msgstr ""
  3024. #. type: subsection
  3025. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3026. #: guix-git/doc/guix.texi:4078 guix-git/doc/guix.texi:4079
  3027. #, no-wrap
  3028. msgid "On Trusting Binaries"
  3029. msgstr ""
  3030. #. type: menuentry
  3031. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3032. msgid "How can you trust that binary blob?"
  3033. msgstr ""
  3034. #. type: section
  3035. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3036. #: guix-git/doc/guix.texi:5124 guix-git/doc/guix.texi:5125
  3037. #, no-wrap
  3038. msgid "Specifying Additional Channels"
  3039. msgstr ""
  3040. #. type: menuentry
  3041. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3042. msgid "Extending the package collection."
  3043. msgstr ""
  3044. #. type: section
  3045. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3046. #: guix-git/doc/guix.texi:5174 guix-git/doc/guix.texi:5175
  3047. #, no-wrap
  3048. msgid "Using a Custom Guix Channel"
  3049. msgstr ""
  3050. #. type: menuentry
  3051. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3052. msgid "Using a customized Guix."
  3053. msgstr ""
  3054. #. type: section
  3055. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3056. #: guix-git/doc/guix.texi:5196 guix-git/doc/guix.texi:5197
  3057. #, no-wrap
  3058. msgid "Replicating Guix"
  3059. msgstr ""
  3060. #. type: menuentry
  3061. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3062. msgid "Running the @emph{exact same} Guix."
  3063. msgstr ""
  3064. #. type: section
  3065. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3066. #: guix-git/doc/guix.texi:5237 guix-git/doc/guix.texi:5238
  3067. #, no-wrap
  3068. msgid "Channel Authentication"
  3069. msgstr ""
  3070. #. type: menuentry
  3071. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3072. msgid "How Guix verifies what it fetches."
  3073. msgstr ""
  3074. #. type: section
  3075. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3076. #: guix-git/doc/guix.texi:5277 guix-git/doc/guix.texi:5278
  3077. #, no-wrap
  3078. msgid "Channels with Substitutes"
  3079. msgstr ""
  3080. #. type: menuentry
  3081. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3082. msgid "Using channels with available substitutes."
  3083. msgstr ""
  3084. #. type: section
  3085. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3086. #: guix-git/doc/guix.texi:5302 guix-git/doc/guix.texi:5303
  3087. #, no-wrap
  3088. msgid "Creating a Channel"
  3089. msgstr ""
  3090. #. type: menuentry
  3091. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3092. msgid "How to write your custom channel."
  3093. msgstr ""
  3094. #. type: section
  3095. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3096. #: guix-git/doc/guix.texi:5369 guix-git/doc/guix.texi:5370
  3097. #, no-wrap
  3098. msgid "Package Modules in a Sub-directory"
  3099. msgstr ""
  3100. #. type: menuentry
  3101. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3102. msgid "Specifying the channel's package modules location."
  3103. msgstr ""
  3104. #. type: section
  3105. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3106. #: guix-git/doc/guix.texi:5383 guix-git/doc/guix.texi:5384
  3107. #, no-wrap
  3108. msgid "Declaring Channel Dependencies"
  3109. msgstr ""
  3110. #. type: menuentry
  3111. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3112. msgid "How to depend on other channels."
  3113. msgstr ""
  3114. #. type: section
  3115. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3116. #: guix-git/doc/guix.texi:5425 guix-git/doc/guix.texi:5426
  3117. #, no-wrap
  3118. msgid "Specifying Channel Authorizations"
  3119. msgstr ""
  3120. #. type: menuentry
  3121. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3122. msgid "Defining channel authors authorizations."
  3123. msgstr ""
  3124. #. type: section
  3125. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3126. #: guix-git/doc/guix.texi:5528 guix-git/doc/guix.texi:5529
  3127. #, no-wrap
  3128. msgid "Primary URL"
  3129. msgstr ""
  3130. #. type: menuentry
  3131. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3132. msgid "Distinguishing mirror to original."
  3133. msgstr ""
  3134. #. type: section
  3135. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3136. #: guix-git/doc/guix.texi:5551 guix-git/doc/guix.texi:5552
  3137. #, no-wrap
  3138. msgid "Writing Channel News"
  3139. msgstr ""
  3140. #. type: menuentry
  3141. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3142. msgid "Communicating information to channel's users."
  3143. msgstr ""
  3144. #. type: node
  3145. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3146. #: guix-git/doc/guix.texi:5643
  3147. #, no-wrap
  3148. msgid "Invoking guix shell"
  3149. msgstr ""
  3150. #. type: menuentry
  3151. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3152. msgid "Spawning one-off software environments."
  3153. msgstr ""
  3154. #. type: node
  3155. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3156. #: guix-git/doc/guix.texi:6015
  3157. #, no-wrap
  3158. msgid "Invoking guix environment"
  3159. msgstr ""
  3160. #. type: menuentry
  3161. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3162. msgid "Setting up development environments."
  3163. msgstr ""
  3164. #. type: node
  3165. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3166. #: guix-git/doc/guix.texi:6390
  3167. #, no-wrap
  3168. msgid "Invoking guix pack"
  3169. msgstr ""
  3170. #. type: menuentry
  3171. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3172. msgid "Creating software bundles."
  3173. msgstr ""
  3174. #. type: section
  3175. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3176. #: guix-git/doc/guix.texi:6776 guix-git/doc/guix.texi:6777
  3177. #, no-wrap
  3178. msgid "The GCC toolchain"
  3179. msgstr ""
  3180. #. type: menuentry
  3181. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3182. msgid "Working with languages supported by GCC."
  3183. msgstr ""
  3184. #. type: node
  3185. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3186. #: guix-git/doc/guix.texi:6802
  3187. #, no-wrap
  3188. msgid "Invoking guix git authenticate"
  3189. msgstr ""
  3190. #. type: menuentry
  3191. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3192. msgid "Authenticating Git repositories."
  3193. msgstr ""
  3194. #. type: section
  3195. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3196. #: guix-git/doc/guix.texi:6907 guix-git/doc/guix.texi:6908
  3197. #, no-wrap
  3198. msgid "Package Modules"
  3199. msgstr ""
  3200. #. type: menuentry
  3201. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3202. msgid "Packages from the programmer's viewpoint."
  3203. msgstr ""
  3204. #. type: section
  3205. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:290
  3206. #: guix-git/doc/guix.texi:6905 guix-git/doc/guix.texi:6969
  3207. #: guix-git/doc/guix.texi:6970
  3208. #, no-wrap
  3209. msgid "Defining Packages"
  3210. msgstr ""
  3211. #. type: menuentry
  3212. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3213. msgid "Defining new packages."
  3214. msgstr ""
  3215. #. type: section
  3216. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3217. #: guix-git/doc/guix.texi:7634 guix-git/doc/guix.texi:7635
  3218. #, no-wrap
  3219. msgid "Defining Package Variants"
  3220. msgstr ""
  3221. #. type: menuentry
  3222. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3223. msgid "Customizing packages."
  3224. msgstr ""
  3225. #. type: section
  3226. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3227. #: guix-git/doc/guix.texi:7901 guix-git/doc/guix.texi:7902
  3228. #, no-wrap
  3229. msgid "Build Systems"
  3230. msgstr ""
  3231. #. type: menuentry
  3232. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3233. msgid "Specifying how packages are built."
  3234. msgstr ""
  3235. #. type: subsection
  3236. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3237. #: guix-git/doc/guix.texi:8940 guix-git/doc/guix.texi:8941
  3238. #: guix-git/doc/guix.texi:9449
  3239. #, no-wrap
  3240. msgid "Build Phases"
  3241. msgstr ""
  3242. #. type: menuentry
  3243. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3244. msgid "Phases of the build process of a package."
  3245. msgstr ""
  3246. #. type: section
  3247. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3248. #: guix-git/doc/guix.texi:9138 guix-git/doc/guix.texi:9139
  3249. #, no-wrap
  3250. msgid "Build Utilities"
  3251. msgstr ""
  3252. #. type: menuentry
  3253. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3254. msgid "Helpers for your package definitions and more."
  3255. msgstr ""
  3256. #. type: section
  3257. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3258. #: guix-git/doc/guix.texi:9608 guix-git/doc/guix.texi:9609
  3259. #, no-wrap
  3260. msgid "Search Paths"
  3261. msgstr ""
  3262. #. type: menuentry
  3263. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3264. msgid "Declaring search path environment variables."
  3265. msgstr ""
  3266. #. type: section
  3267. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3268. #: guix-git/doc/guix.texi:9787 guix-git/doc/guix.texi:9788
  3269. #, no-wrap
  3270. msgid "The Store"
  3271. msgstr ""
  3272. #. type: menuentry
  3273. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3274. msgid "Manipulating the package store."
  3275. msgstr ""
  3276. #. type: section
  3277. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3278. #: guix-git/doc/guix.texi:9940 guix-git/doc/guix.texi:9941
  3279. #, no-wrap
  3280. msgid "Derivations"
  3281. msgstr ""
  3282. #. type: menuentry
  3283. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3284. msgid "Low-level interface to package derivations."
  3285. msgstr ""
  3286. #. type: section
  3287. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3288. #: guix-git/doc/guix.texi:10134 guix-git/doc/guix.texi:10135
  3289. #, no-wrap
  3290. msgid "The Store Monad"
  3291. msgstr ""
  3292. #. type: menuentry
  3293. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3294. msgid "Purely functional interface to the store."
  3295. msgstr ""
  3296. #. type: section
  3297. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3298. #: guix-git/doc/guix.texi:10453 guix-git/doc/guix.texi:10454
  3299. #, no-wrap
  3300. msgid "G-Expressions"
  3301. msgstr ""
  3302. #. type: menuentry
  3303. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3304. msgid "Manipulating build expressions."
  3305. msgstr ""
  3306. #. type: node
  3307. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3308. #: guix-git/doc/guix.texi:11092
  3309. #, no-wrap
  3310. msgid "Invoking guix repl"
  3311. msgstr ""
  3312. #. type: menuentry
  3313. #: guix-git/doc/guix.texi:288
  3314. msgid "Programming Guix in Guile."
  3315. msgstr ""
  3316. #. type: node
  3317. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3318. #: guix-git/doc/guix.texi:7169
  3319. #, no-wrap
  3320. msgid "package Reference"
  3321. msgstr ""
  3322. #. type: menuentry
  3323. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3324. msgid "The package data type."
  3325. msgstr ""
  3326. #. type: node
  3327. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3328. #: guix-git/doc/guix.texi:7442
  3329. #, no-wrap
  3330. msgid "origin Reference"
  3331. msgstr ""
  3332. #. type: menuentry
  3333. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3334. msgid "The origin data type."
  3335. msgstr ""
  3336. #. type: node
  3337. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3338. #: guix-git/doc/guix.texi:11219
  3339. #, no-wrap
  3340. msgid "Invoking guix build"
  3341. msgstr ""
  3342. #. type: menuentry
  3343. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3344. msgid "Building packages from the command line."
  3345. msgstr ""
  3346. #. type: node
  3347. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3348. #: guix-git/doc/guix.texi:12117
  3349. #, no-wrap
  3350. msgid "Invoking guix edit"
  3351. msgstr ""
  3352. #. type: menuentry
  3353. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3354. msgid "Editing package definitions."
  3355. msgstr ""
  3356. #. type: node
  3357. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3358. #: guix-git/doc/guix.texi:12147
  3359. #, no-wrap
  3360. msgid "Invoking guix download"
  3361. msgstr ""
  3362. #. type: menuentry
  3363. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3364. msgid "Downloading a file and printing its hash."
  3365. msgstr ""
  3366. #. type: node
  3367. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3368. #: guix-git/doc/guix.texi:12205
  3369. #, no-wrap
  3370. msgid "Invoking guix hash"
  3371. msgstr ""
  3372. #. type: menuentry
  3373. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3374. msgid "Computing the cryptographic hash of a file."
  3375. msgstr ""
  3376. #. type: node
  3377. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3378. #: guix-git/doc/guix.texi:12296
  3379. #, no-wrap
  3380. msgid "Invoking guix import"
  3381. msgstr ""
  3382. #. type: menuentry
  3383. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3384. msgid "Importing package definitions."
  3385. msgstr ""
  3386. #. type: node
  3387. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3388. #: guix-git/doc/guix.texi:12831
  3389. #, no-wrap
  3390. msgid "Invoking guix refresh"
  3391. msgstr ""
  3392. #. type: menuentry
  3393. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3394. msgid "Updating package definitions."
  3395. msgstr ""
  3396. #. type: node
  3397. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3398. #: guix-git/doc/guix.texi:13203
  3399. #, no-wrap
  3400. msgid "Invoking guix style"
  3401. msgstr ""
  3402. #. type: menuentry
  3403. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3404. msgid "Styling package definitions."
  3405. msgstr "Úprava tvaru zadaní balíkov."
  3406. #. type: node
  3407. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3408. #: guix-git/doc/guix.texi:13341
  3409. #, no-wrap
  3410. msgid "Invoking guix lint"
  3411. msgstr ""
  3412. #. type: menuentry
  3413. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3414. msgid "Finding errors in package definitions."
  3415. msgstr ""
  3416. #. type: node
  3417. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3418. #: guix-git/doc/guix.texi:13517
  3419. #, no-wrap
  3420. msgid "Invoking guix size"
  3421. msgstr ""
  3422. #. type: menuentry
  3423. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3424. msgid "Profiling disk usage."
  3425. msgstr ""
  3426. #. type: node
  3427. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3428. #: guix-git/doc/guix.texi:13661
  3429. #, no-wrap
  3430. msgid "Invoking guix graph"
  3431. msgstr ""
  3432. #. type: menuentry
  3433. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3434. msgid "Visualizing the graph of packages."
  3435. msgstr ""
  3436. #. type: node
  3437. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3438. #: guix-git/doc/guix.texi:13942
  3439. #, no-wrap
  3440. msgid "Invoking guix publish"
  3441. msgstr ""
  3442. #. type: menuentry
  3443. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3444. msgid "Sharing substitutes."
  3445. msgstr ""
  3446. #. type: node
  3447. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3448. #: guix-git/doc/guix.texi:14211
  3449. #, no-wrap
  3450. msgid "Invoking guix challenge"
  3451. msgstr ""
  3452. #. type: menuentry
  3453. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3454. msgid "Challenging substitute servers."
  3455. msgstr ""
  3456. #. type: node
  3457. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3458. #: guix-git/doc/guix.texi:14394
  3459. #, no-wrap
  3460. msgid "Invoking guix copy"
  3461. msgstr ""
  3462. #. type: menuentry
  3463. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3464. msgid "Copying to and from a remote store."
  3465. msgstr ""
  3466. #. type: node
  3467. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3468. #: guix-git/doc/guix.texi:14457
  3469. #, no-wrap
  3470. msgid "Invoking guix container"
  3471. msgstr ""
  3472. #. type: menuentry
  3473. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3474. msgid "Process isolation."
  3475. msgstr ""
  3476. #. type: node
  3477. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3478. #: guix-git/doc/guix.texi:14511
  3479. #, no-wrap
  3480. msgid "Invoking guix weather"
  3481. msgstr ""
  3482. #. type: menuentry
  3483. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3484. msgid "Assessing substitute availability."
  3485. msgstr ""
  3486. #. type: node
  3487. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3488. #: guix-git/doc/guix.texi:14641
  3489. #, no-wrap
  3490. msgid "Invoking guix processes"
  3491. msgstr ""
  3492. #. type: menuentry
  3493. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3494. msgid "Listing client processes."
  3495. msgstr ""
  3496. #. type: section
  3497. #: guix-git/doc/guix.texi:314 guix-git/doc/guix.texi:11220
  3498. #, no-wrap
  3499. msgid "Invoking @command{guix build}"
  3500. msgstr ""
  3501. #. type: subsection
  3502. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3503. #: guix-git/doc/guix.texi:11273 guix-git/doc/guix.texi:11274
  3504. #, no-wrap
  3505. msgid "Common Build Options"
  3506. msgstr ""
  3507. #. type: menuentry
  3508. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3509. msgid "Build options for most commands."
  3510. msgstr ""
  3511. #. type: subsection
  3512. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3513. #: guix-git/doc/guix.texi:11428 guix-git/doc/guix.texi:11429
  3514. #, no-wrap
  3515. msgid "Package Transformation Options"
  3516. msgstr ""
  3517. #. type: menuentry
  3518. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3519. msgid "Creating variants of packages."
  3520. msgstr ""
  3521. #. type: subsection
  3522. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3523. #: guix-git/doc/guix.texi:11799 guix-git/doc/guix.texi:11800
  3524. #, no-wrap
  3525. msgid "Additional Build Options"
  3526. msgstr ""
  3527. #. type: menuentry
  3528. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3529. msgid "Options specific to 'guix build'."
  3530. msgstr ""
  3531. #. type: subsection
  3532. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3533. #: guix-git/doc/guix.texi:12037 guix-git/doc/guix.texi:12038
  3534. #, no-wrap
  3535. msgid "Debugging Build Failures"
  3536. msgstr ""
  3537. #. type: menuentry
  3538. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3539. msgid "Real life packaging experience."
  3540. msgstr ""
  3541. #. type: section
  3542. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3543. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:14786
  3544. #, no-wrap
  3545. msgid "Using the Configuration System"
  3546. msgstr ""
  3547. #. type: menuentry
  3548. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3549. msgid "Customizing your GNU system."
  3550. msgstr ""
  3551. #. type: node
  3552. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3553. #: guix-git/doc/guix.texi:15036
  3554. #, no-wrap
  3555. msgid "operating-system Reference"
  3556. msgstr ""
  3557. #. type: menuentry
  3558. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3559. msgid "Detail of operating-system declarations."
  3560. msgstr ""
  3561. #. type: section
  3562. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3563. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15260
  3564. #, no-wrap
  3565. msgid "File Systems"
  3566. msgstr "Súborový systém"
  3567. #. type: menuentry
  3568. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3569. msgid "Configuring file system mounts."
  3570. msgstr ""
  3571. #. type: section
  3572. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3573. #: guix-git/doc/guix.texi:15612 guix-git/doc/guix.texi:15613
  3574. #, no-wrap
  3575. msgid "Mapped Devices"
  3576. msgstr ""
  3577. #. type: menuentry
  3578. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3579. msgid "Block device extra processing."
  3580. msgstr ""
  3581. #. type: section
  3582. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3583. #: guix-git/doc/guix.texi:15761 guix-git/doc/guix.texi:15762
  3584. #, no-wrap
  3585. msgid "Swap Space"
  3586. msgstr "Odkladací priestor"
  3587. #. type: menuentry
  3588. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3589. msgid "Backing RAM with disk space."
  3590. msgstr ""
  3591. #. type: section
  3592. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3593. #: guix-git/doc/guix.texi:15878 guix-git/doc/guix.texi:15879
  3594. #, no-wrap
  3595. msgid "User Accounts"
  3596. msgstr ""
  3597. #. type: menuentry
  3598. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3599. msgid "Specifying user accounts."
  3600. msgstr ""
  3601. #. type: section
  3602. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2341
  3603. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16059
  3604. #: guix-git/doc/guix.texi:16060
  3605. #, no-wrap
  3606. msgid "Keyboard Layout"
  3607. msgstr ""
  3608. #. type: menuentry
  3609. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3610. msgid "How the system interprets key strokes."
  3611. msgstr ""
  3612. #. type: section
  3613. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1852
  3614. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16205
  3615. #: guix-git/doc/guix.texi:16206
  3616. #, no-wrap
  3617. msgid "Locales"
  3618. msgstr "Miestne jazykové nastavenie"
  3619. #. type: menuentry
  3620. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3621. msgid "Language and cultural convention settings."
  3622. msgstr ""
  3623. #. type: section
  3624. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:346
  3625. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16345
  3626. #: guix-git/doc/guix.texi:16346
  3627. #, no-wrap
  3628. msgid "Services"
  3629. msgstr "Služby"
  3630. #. type: menuentry
  3631. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3632. msgid "Specifying system services."
  3633. msgstr ""
  3634. #. type: section
  3635. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3636. #: guix-git/doc/guix.texi:34607 guix-git/doc/guix.texi:34608
  3637. #, no-wrap
  3638. msgid "Setuid Programs"
  3639. msgstr ""
  3640. #. type: menuentry
  3641. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3642. msgid "Programs running with root privileges."
  3643. msgstr ""
  3644. #. type: section
  3645. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2017
  3646. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34693
  3647. #: guix-git/doc/guix.texi:34694
  3648. #, no-wrap
  3649. msgid "X.509 Certificates"
  3650. msgstr ""
  3651. #. type: menuentry
  3652. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3653. msgid "Authenticating HTTPS servers."
  3654. msgstr ""
  3655. #. type: section
  3656. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1911
  3657. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34756
  3658. #: guix-git/doc/guix.texi:34757
  3659. #, no-wrap
  3660. msgid "Name Service Switch"
  3661. msgstr ""
  3662. #. type: menuentry
  3663. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3664. msgid "Configuring libc's name service switch."
  3665. msgstr ""
  3666. #. type: section
  3667. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3668. #: guix-git/doc/guix.texi:34894 guix-git/doc/guix.texi:34895
  3669. #, no-wrap
  3670. msgid "Initial RAM Disk"
  3671. msgstr ""
  3672. #. type: menuentry
  3673. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3674. msgid "Linux-Libre bootstrapping."
  3675. msgstr ""
  3676. #. type: section
  3677. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3678. #: guix-git/doc/guix.texi:35089 guix-git/doc/guix.texi:35090
  3679. #, no-wrap
  3680. msgid "Bootloader Configuration"
  3681. msgstr ""
  3682. #. type: menuentry
  3683. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3684. msgid "Configuring the boot loader."
  3685. msgstr ""
  3686. #. type: node
  3687. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3688. #: guix-git/doc/guix.texi:35387
  3689. #, no-wrap
  3690. msgid "Invoking guix system"
  3691. msgstr ""
  3692. #. type: menuentry
  3693. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3694. msgid "Instantiating a system configuration."
  3695. msgstr ""
  3696. #. type: node
  3697. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3698. #: guix-git/doc/guix.texi:35995
  3699. #, no-wrap
  3700. msgid "Invoking guix deploy"
  3701. msgstr ""
  3702. #. type: menuentry
  3703. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3704. msgid "Deploying a system configuration to a remote host."
  3705. msgstr ""
  3706. #. type: node
  3707. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3708. #: guix-git/doc/guix.texi:36235
  3709. #, no-wrap
  3710. msgid "Running Guix in a VM"
  3711. msgstr ""
  3712. #. type: menuentry
  3713. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3714. msgid "How to run Guix System in a virtual machine."
  3715. msgstr ""
  3716. #. type: section
  3717. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:382
  3718. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:36369
  3719. #: guix-git/doc/guix.texi:36370
  3720. #, no-wrap
  3721. msgid "Defining Services"
  3722. msgstr ""
  3723. #. type: menuentry
  3724. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3725. msgid "Adding new service definitions."
  3726. msgstr ""
  3727. #. type: menuentry
  3728. #: guix-git/doc/guix.texi:342
  3729. msgid "Home Environment Configuration"
  3730. msgstr "Nastavenie domovského prostredia"
  3731. #. type: node
  3732. #: guix-git/doc/guix.texi:344 guix-git/doc/guix.texi:37548
  3733. #: guix-git/doc/guix.texi:38168
  3734. #, no-wrap
  3735. msgid "Invoking guix home"
  3736. msgstr ""
  3737. #. type: menuentry
  3738. #: guix-git/doc/guix.texi:344
  3739. msgid "Instantiating a home environment configuration."
  3740. msgstr ""
  3741. #. type: subsection
  3742. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3743. #: guix-git/doc/guix.texi:16431 guix-git/doc/guix.texi:16432
  3744. #, no-wrap
  3745. msgid "Base Services"
  3746. msgstr ""
  3747. #. type: menuentry
  3748. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3749. msgid "Essential system services."
  3750. msgstr ""
  3751. #. type: subsection
  3752. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3753. #: guix-git/doc/guix.texi:17367 guix-git/doc/guix.texi:17368
  3754. #, no-wrap
  3755. msgid "Scheduled Job Execution"
  3756. msgstr ""
  3757. #. type: menuentry
  3758. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3759. msgid "The mcron service."
  3760. msgstr ""
  3761. #. type: subsection
  3762. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3763. #: guix-git/doc/guix.texi:17517 guix-git/doc/guix.texi:17518
  3764. #, no-wrap
  3765. msgid "Log Rotation"
  3766. msgstr ""
  3767. #. type: menuentry
  3768. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3769. msgid "The rottlog service."
  3770. msgstr ""
  3771. #. type: subsection
  3772. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3773. #: guix-git/doc/guix.texi:17630 guix-git/doc/guix.texi:17631
  3774. #, no-wrap
  3775. msgid "Networking Setup"
  3776. msgstr ""
  3777. #. type: menuentry
  3778. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3779. msgid "Setting up network interfaces."
  3780. msgstr ""
  3781. #. type: subsection
  3782. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3783. #: guix-git/doc/guix.texi:18048 guix-git/doc/guix.texi:18049
  3784. #, no-wrap
  3785. msgid "Networking Services"
  3786. msgstr "Sieťové služby"
  3787. #. type: menuentry
  3788. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3789. msgid "Firewall, SSH daemon, etc."
  3790. msgstr ""
  3791. #. type: subsection
  3792. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3793. #: guix-git/doc/guix.texi:19507 guix-git/doc/guix.texi:19508
  3794. #, no-wrap
  3795. msgid "Unattended Upgrades"
  3796. msgstr ""
  3797. #. type: menuentry
  3798. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3799. msgid "Automated system upgrades."
  3800. msgstr ""
  3801. #. type: subsection
  3802. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3803. #: guix-git/doc/guix.texi:19645 guix-git/doc/guix.texi:19646
  3804. #, no-wrap
  3805. msgid "X Window"
  3806. msgstr ""
  3807. #. type: menuentry
  3808. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3809. msgid "Graphical display."
  3810. msgstr ""
  3811. #. type: subsection
  3812. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3813. #: guix-git/doc/guix.texi:20043 guix-git/doc/guix.texi:20044
  3814. #, no-wrap
  3815. msgid "Printing Services"
  3816. msgstr ""
  3817. #. type: menuentry
  3818. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3819. msgid "Local and remote printer support."
  3820. msgstr ""
  3821. #. type: subsection
  3822. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3823. #: guix-git/doc/guix.texi:20896 guix-git/doc/guix.texi:20897
  3824. #, no-wrap
  3825. msgid "Desktop Services"
  3826. msgstr ""
  3827. #. type: menuentry
  3828. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3829. msgid "D-Bus and desktop services."
  3830. msgstr ""
  3831. #. type: subsection
  3832. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3833. #: guix-git/doc/guix.texi:21415 guix-git/doc/guix.texi:21416
  3834. #, no-wrap
  3835. msgid "Sound Services"
  3836. msgstr ""
  3837. #. type: menuentry
  3838. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3839. msgid "ALSA and Pulseaudio services."
  3840. msgstr ""
  3841. #. type: subsection
  3842. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3843. #: guix-git/doc/guix.texi:21588 guix-git/doc/guix.texi:21589
  3844. #, no-wrap
  3845. msgid "Database Services"
  3846. msgstr "Databázové služby"
  3847. #. type: menuentry
  3848. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3849. msgid "SQL databases, key-value stores, etc."
  3850. msgstr ""
  3851. #. type: subsection
  3852. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3853. #: guix-git/doc/guix.texi:21923 guix-git/doc/guix.texi:21924
  3854. #, no-wrap
  3855. msgid "Mail Services"
  3856. msgstr ""
  3857. #. type: menuentry
  3858. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3859. msgid "IMAP, POP3, SMTP, and all that."
  3860. msgstr ""
  3861. #. type: subsection
  3862. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3863. #: guix-git/doc/guix.texi:23782 guix-git/doc/guix.texi:23783
  3864. #, no-wrap
  3865. msgid "Messaging Services"
  3866. msgstr ""
  3867. #. type: menuentry
  3868. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3869. msgid "Messaging services."
  3870. msgstr ""
  3871. #. type: subsection
  3872. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3873. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:24286
  3874. #, no-wrap
  3875. msgid "Telephony Services"
  3876. msgstr ""
  3877. #. type: menuentry
  3878. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3879. msgid "Telephony services."
  3880. msgstr ""
  3881. #. type: subsection
  3882. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3883. #: guix-git/doc/guix.texi:25516 guix-git/doc/guix.texi:25517
  3884. #, no-wrap
  3885. msgid "Monitoring Services"
  3886. msgstr ""
  3887. #. type: menuentry
  3888. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3889. msgid "Monitoring services."
  3890. msgstr ""
  3891. #. type: subsection
  3892. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3893. #: guix-git/doc/guix.texi:25937 guix-git/doc/guix.texi:25938
  3894. #, no-wrap
  3895. msgid "Kerberos Services"
  3896. msgstr ""
  3897. #. type: menuentry
  3898. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3899. msgid "Kerberos services."
  3900. msgstr ""
  3901. #. type: subsection
  3902. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3903. #: guix-git/doc/guix.texi:26063 guix-git/doc/guix.texi:26064
  3904. #, no-wrap
  3905. msgid "LDAP Services"
  3906. msgstr ""
  3907. #. type: menuentry
  3908. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3909. msgid "LDAP services."
  3910. msgstr ""
  3911. #. type: subsection
  3912. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3913. #: guix-git/doc/guix.texi:26542 guix-git/doc/guix.texi:26543
  3914. #, no-wrap
  3915. msgid "Web Services"
  3916. msgstr ""
  3917. #. type: menuentry
  3918. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3919. msgid "Web servers."
  3920. msgstr ""
  3921. #. type: subsection
  3922. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3923. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27754
  3924. #, no-wrap
  3925. msgid "Certificate Services"
  3926. msgstr ""
  3927. #. type: menuentry
  3928. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3929. msgid "TLS certificates via Let's Encrypt."
  3930. msgstr ""
  3931. #. type: subsection
  3932. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3933. #: guix-git/doc/guix.texi:27934 guix-git/doc/guix.texi:27935
  3934. #, no-wrap
  3935. msgid "DNS Services"
  3936. msgstr ""
  3937. #. type: menuentry
  3938. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3939. msgid "DNS daemons."
  3940. msgstr ""
  3941. #. type: subsection
  3942. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3943. #: guix-git/doc/guix.texi:28679 guix-git/doc/guix.texi:28680
  3944. #, no-wrap
  3945. msgid "VPN Services"
  3946. msgstr ""
  3947. #. type: menuentry
  3948. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3949. msgid "VPN daemons."
  3950. msgstr ""
  3951. #. type: subsection
  3952. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3953. #: guix-git/doc/guix.texi:29191 guix-git/doc/guix.texi:29192
  3954. #, no-wrap
  3955. msgid "Network File System"
  3956. msgstr "Sieťový súborový systém"
  3957. #. type: menuentry
  3958. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3959. msgid "NFS related services."
  3960. msgstr ""
  3961. #. type: subsection
  3962. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3963. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29388
  3964. #, no-wrap
  3965. msgid "Continuous Integration"
  3966. msgstr ""
  3967. #. type: menuentry
  3968. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3969. msgid "Cuirass and Laminar services."
  3970. msgstr ""
  3971. #. type: subsection
  3972. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3973. #: guix-git/doc/guix.texi:29673 guix-git/doc/guix.texi:29674
  3974. #, no-wrap
  3975. msgid "Power Management Services"
  3976. msgstr ""
  3977. #. type: menuentry
  3978. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3979. msgid "Extending battery life."
  3980. msgstr ""
  3981. #. type: subsection
  3982. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3983. #: guix-git/doc/guix.texi:30235 guix-git/doc/guix.texi:30236
  3984. #, no-wrap
  3985. msgid "Audio Services"
  3986. msgstr ""
  3987. #. type: menuentry
  3988. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3989. msgid "The MPD."
  3990. msgstr ""
  3991. #. type: subsection
  3992. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3993. #: guix-git/doc/guix.texi:30354 guix-git/doc/guix.texi:30355
  3994. #, no-wrap
  3995. msgid "Virtualization Services"
  3996. msgstr ""
  3997. #. type: menuentry
  3998. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3999. msgid "Virtualization services."
  4000. msgstr ""
  4001. #. type: subsection
  4002. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4003. #: guix-git/doc/guix.texi:32026 guix-git/doc/guix.texi:32027
  4004. #, no-wrap
  4005. msgid "Version Control Services"
  4006. msgstr ""
  4007. #. type: menuentry
  4008. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4009. msgid "Providing remote access to Git repositories."
  4010. msgstr ""
  4011. #. type: subsection
  4012. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4013. #: guix-git/doc/guix.texi:33362 guix-git/doc/guix.texi:33363
  4014. #, no-wrap
  4015. msgid "Game Services"
  4016. msgstr ""
  4017. #. type: menuentry
  4018. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4019. msgid "Game servers."
  4020. msgstr ""
  4021. #. type: subsection
  4022. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4023. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33395
  4024. #, no-wrap
  4025. msgid "PAM Mount Service"
  4026. msgstr ""
  4027. #. type: menuentry
  4028. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4029. msgid "Service to mount volumes when logging in."
  4030. msgstr ""
  4031. #. type: subsection
  4032. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4033. #: guix-git/doc/guix.texi:33477 guix-git/doc/guix.texi:33478
  4034. #, no-wrap
  4035. msgid "Guix Services"
  4036. msgstr ""
  4037. #. type: menuentry
  4038. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4039. msgid "Services relating specifically to Guix."
  4040. msgstr ""
  4041. #. type: subsection
  4042. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4043. #: guix-git/doc/guix.texi:33841 guix-git/doc/guix.texi:33842
  4044. #, no-wrap
  4045. msgid "Linux Services"
  4046. msgstr ""
  4047. #. type: menuentry
  4048. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4049. msgid "Services tied to the Linux kernel."
  4050. msgstr ""
  4051. #. type: subsection
  4052. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4053. #: guix-git/doc/guix.texi:34068 guix-git/doc/guix.texi:34069
  4054. #, no-wrap
  4055. msgid "Hurd Services"
  4056. msgstr ""
  4057. #. type: menuentry
  4058. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4059. msgid "Services specific for a Hurd System."
  4060. msgstr ""
  4061. #. type: subsection
  4062. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4063. #: guix-git/doc/guix.texi:34110 guix-git/doc/guix.texi:34111
  4064. #, no-wrap
  4065. msgid "Miscellaneous Services"
  4066. msgstr ""
  4067. #. type: menuentry
  4068. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4069. msgid "Other services."
  4070. msgstr "Ďalšie služby."
  4071. #. type: subsection
  4072. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4073. #: guix-git/doc/guix.texi:36384 guix-git/doc/guix.texi:36385
  4074. #, no-wrap
  4075. msgid "Service Composition"
  4076. msgstr ""
  4077. #. type: menuentry
  4078. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4079. msgid "The model for composing services."
  4080. msgstr ""
  4081. #. type: subsection
  4082. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4083. #: guix-git/doc/guix.texi:36440 guix-git/doc/guix.texi:36441
  4084. #, no-wrap
  4085. msgid "Service Types and Services"
  4086. msgstr ""
  4087. #. type: menuentry
  4088. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4089. msgid "Types and services."
  4090. msgstr ""
  4091. #. type: subsection
  4092. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4093. #: guix-git/doc/guix.texi:36577 guix-git/doc/guix.texi:36578
  4094. #, no-wrap
  4095. msgid "Service Reference"
  4096. msgstr ""
  4097. #. type: menuentry
  4098. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4099. msgid "API reference."
  4100. msgstr ""
  4101. #. type: subsection
  4102. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4103. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36897
  4104. #, no-wrap
  4105. msgid "Shepherd Services"
  4106. msgstr ""
  4107. #. type: menuentry
  4108. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4109. msgid "A particular type of service."
  4110. msgstr ""
  4111. #. type: subsection
  4112. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4113. #: guix-git/doc/guix.texi:37115 guix-git/doc/guix.texi:37116
  4114. #, no-wrap
  4115. msgid "Complex Configurations"
  4116. msgstr "Zložité nastavenia"
  4117. #. type: menuentry
  4118. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4119. msgid "Defining bindings for complex configurations."
  4120. msgstr ""
  4121. #. type: section
  4122. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4123. #: guix-git/doc/guix.texi:38489 guix-git/doc/guix.texi:38490
  4124. #, no-wrap
  4125. msgid "Separate Debug Info"
  4126. msgstr ""
  4127. #. type: menuentry
  4128. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4129. msgid "Installing 'debug' outputs."
  4130. msgstr ""
  4131. #. type: section
  4132. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4133. #: guix-git/doc/guix.texi:38562 guix-git/doc/guix.texi:38563
  4134. #, no-wrap
  4135. msgid "Rebuilding Debug Info"
  4136. msgstr ""
  4137. #. type: menuentry
  4138. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4139. msgid "Building missing debug info."
  4140. msgstr ""
  4141. #. type: node
  4142. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4143. #: guix-git/doc/guix.texi:38781
  4144. #, no-wrap
  4145. msgid "Reduced Binary Seed Bootstrap"
  4146. msgstr ""
  4147. #. type: menuentry
  4148. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4149. msgid "A Bootstrap worthy of GNU."
  4150. msgstr ""
  4151. #. type: section
  4152. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4153. #: guix-git/doc/guix.texi:38856 guix-git/doc/guix.texi:38857
  4154. #, no-wrap
  4155. msgid "Preparing to Use the Bootstrap Binaries"
  4156. msgstr ""
  4157. #. type: menuentry
  4158. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4159. msgid "Building that what matters most."
  4160. msgstr ""
  4161. #. type: cindex
  4162. #: guix-git/doc/guix.texi:406
  4163. #, no-wrap
  4164. msgid "purpose"
  4165. msgstr "účel"
  4166. #. type: Plain text
  4167. #: guix-git/doc/guix.texi:414
  4168. msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for and distribution of the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove software packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments."
  4169. msgstr ""
  4170. #. type: cindex
  4171. #: guix-git/doc/guix.texi:415 guix-git/doc/guix.texi:490
  4172. #, no-wrap
  4173. msgid "Guix System"
  4174. msgstr ""
  4175. #. type: cindex
  4176. #: guix-git/doc/guix.texi:416
  4177. #, no-wrap
  4178. msgid "GuixSD, now Guix System"
  4179. msgstr ""
  4180. #. type: cindex
  4181. #: guix-git/doc/guix.texi:417
  4182. #, no-wrap
  4183. msgid "Guix System Distribution, now Guix System"
  4184. msgstr ""
  4185. #. type: Plain text
  4186. #: guix-git/doc/guix.texi:426
  4187. msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as a standalone operating system distribution, @dfn{Guix@tie{}System}@footnote{We used to refer to Guix System as ``Guix System Distribution'' or ``GuixSD''. We now consider it makes more sense to group everything under the ``Guix'' banner since, after all, Guix System is readily available through the @command{guix system} command, even if you're using a different distro underneath!}. @xref{GNU Distribution}."
  4188. msgstr ""
  4189. #. type: cindex
  4190. #: guix-git/doc/guix.texi:435
  4191. #, no-wrap
  4192. msgid "user interfaces"
  4193. msgstr ""
  4194. #. type: Plain text
  4195. #: guix-git/doc/guix.texi:441
  4196. msgid "Guix provides a command-line package management interface (@pxref{Package Management}), tools to help with software development (@pxref{Development}), command-line utilities for more advanced usage (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})."
  4197. msgstr ""
  4198. #. type: cindex
  4199. #: guix-git/doc/guix.texi:441
  4200. #, no-wrap
  4201. msgid "build daemon"
  4202. msgstr ""
  4203. #. type: Plain text
  4204. #: guix-git/doc/guix.texi:445
  4205. msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})."
  4206. msgstr ""
  4207. #. type: cindex
  4208. #: guix-git/doc/guix.texi:446
  4209. #, no-wrap
  4210. msgid "extensibility of the distribution"
  4211. msgstr ""
  4212. #. type: cindex
  4213. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:6929
  4214. #, no-wrap
  4215. msgid "customization, of packages"
  4216. msgstr ""
  4217. #. type: Plain text
  4218. #: guix-git/doc/guix.texi:456
  4219. msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})."
  4220. msgstr ""
  4221. #. type: cindex
  4222. #: guix-git/doc/guix.texi:457
  4223. #, no-wrap
  4224. msgid "functional package management"
  4225. msgstr ""
  4226. #. type: cindex
  4227. #: guix-git/doc/guix.texi:458
  4228. #, no-wrap
  4229. msgid "isolation"
  4230. msgstr ""
  4231. #. type: Plain text
  4232. #: guix-git/doc/guix.texi:473
  4233. msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible."
  4234. msgstr ""
  4235. #. type: cindex
  4236. #: guix-git/doc/guix.texi:474 guix-git/doc/guix.texi:9790
  4237. #, no-wrap
  4238. msgid "store"
  4239. msgstr ""
  4240. #. type: Plain text
  4241. #: guix-git/doc/guix.texi:481
  4242. msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name."
  4243. msgstr ""
  4244. #. type: Plain text
  4245. #: guix-git/doc/guix.texi:485
  4246. msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})."
  4247. msgstr ""
  4248. #. type: Plain text
  4249. #: guix-git/doc/guix.texi:500
  4250. msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{https://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). When we need to distinguish between the two, we refer to the standalone distribution as Guix@tie{}System."
  4251. msgstr ""
  4252. #. type: Plain text
  4253. #: guix-git/doc/guix.texi:506
  4254. msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{https://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):"
  4255. msgstr ""
  4256. #. type: example
  4257. #: guix-git/doc/guix.texi:509
  4258. #, no-wrap
  4259. msgid "guix package --list-available\n"
  4260. msgstr ""
  4261. #. type: Plain text
  4262. #: guix-git/doc/guix.texi:515
  4263. msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom."
  4264. msgstr ""
  4265. #. type: Plain text
  4266. #: guix-git/doc/guix.texi:517
  4267. msgid "Packages are currently available on the following platforms:"
  4268. msgstr ""
  4269. #. type: item
  4270. #: guix-git/doc/guix.texi:520 guix-git/doc/guix.texi:2188
  4271. #, no-wrap
  4272. msgid "x86_64-linux"
  4273. msgstr ""
  4274. #. type: table
  4275. #: guix-git/doc/guix.texi:522
  4276. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4277. msgstr ""
  4278. #. type: item
  4279. #: guix-git/doc/guix.texi:523 guix-git/doc/guix.texi:2191
  4280. #, no-wrap
  4281. msgid "i686-linux"
  4282. msgstr ""
  4283. #. type: table
  4284. #: guix-git/doc/guix.texi:525
  4285. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4286. msgstr ""
  4287. #. type: item
  4288. #: guix-git/doc/guix.texi:526
  4289. #, no-wrap
  4290. msgid "armhf-linux"
  4291. msgstr ""
  4292. #. type: table
  4293. #: guix-git/doc/guix.texi:530
  4294. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4295. msgstr ""
  4296. #. type: item
  4297. #: guix-git/doc/guix.texi:531
  4298. #, no-wrap
  4299. msgid "aarch64-linux"
  4300. msgstr ""
  4301. #. type: table
  4302. #: guix-git/doc/guix.texi:533
  4303. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4304. msgstr ""
  4305. #. type: item
  4306. #: guix-git/doc/guix.texi:534
  4307. #, no-wrap
  4308. msgid "i586-gnu"
  4309. msgstr ""
  4310. #. type: table
  4311. #: guix-git/doc/guix.texi:537
  4312. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4313. msgstr ""
  4314. #. type: table
  4315. #: guix-git/doc/guix.texi:543
  4316. msgid "This configuration is experimental and under development. The easiest way for you to give it a try is by setting up an instance of @code{hurd-vm-service-type} on your GNU/Linux machine (@pxref{transparent-emulation-qemu, @code{hurd-vm-service-type}}). @xref{Contributing}, on how to help!"
  4317. msgstr ""
  4318. #. type: item
  4319. #: guix-git/doc/guix.texi:544
  4320. #, no-wrap
  4321. msgid "mips64el-linux (unsupported)"
  4322. msgstr ""
  4323. #. type: table
  4324. #: guix-git/doc/guix.texi:550
  4325. msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel. This configuration is no longer fully supported; in particular, there is no ongoing work to ensure that this architecture still works. Should someone decide they wish to revive this architecture then the code is still available."
  4326. msgstr ""
  4327. #. type: item
  4328. #: guix-git/doc/guix.texi:551
  4329. #, no-wrap
  4330. msgid "powerpc-linux (unsupported)"
  4331. msgstr ""
  4332. #. type: table
  4333. #: guix-git/doc/guix.texi:556
  4334. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  4335. msgstr ""
  4336. #. type: table
  4337. #: guix-git/doc/guix.texi:567
  4338. msgid "little-endian 64-bit Power ISA processors, Linux-Libre kernel. This includes POWER9 systems such as the @uref{https://www.fsf.org/news/talos-ii-mainboard-and-talos-ii-lite-mainboard-now-fsf-certified-to-respect-your-freedom, RYF Talos II mainboard}. This platform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  4339. msgstr ""
  4340. #. type: item
  4341. #: guix-git/doc/guix.texi:568
  4342. #, no-wrap
  4343. msgid "riscv64-linux"
  4344. msgstr ""
  4345. #. type: table
  4346. #: guix-git/doc/guix.texi:576
  4347. msgid "little-endian 64-bit RISC-V processors, specifically RV64GC, and Linux-Libre kernel. This playform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  4348. msgstr ""
  4349. #. type: Plain text
  4350. #: guix-git/doc/guix.texi:586
  4351. msgid "With Guix@tie{}System, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration}). Guix System uses the Linux-libre kernel, the Shepherd initialization system (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}), the well-known GNU utilities and tool chain, as well as the graphical environment or system services of your choice."
  4352. msgstr ""
  4353. #. type: Plain text
  4354. #: guix-git/doc/guix.texi:590
  4355. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  4356. msgstr ""
  4357. #. type: Plain text
  4358. #: guix-git/doc/guix.texi:594
  4359. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4360. msgstr ""
  4361. #. type: Plain text
  4362. #: guix-git/doc/guix.texi:597
  4363. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4364. msgstr ""
  4365. #. type: cindex
  4366. #: guix-git/doc/guix.texi:603
  4367. #, no-wrap
  4368. msgid "installing Guix"
  4369. msgstr ""
  4370. #. type: quotation
  4371. #: guix-git/doc/guix.texi:615
  4372. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script} to install Guix on top of a running GNU/Linux system, thereafter called a @dfn{foreign distro}.@footnote{This section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}.} The script automates the download, installation, and initial configuration of Guix. It should be run as the root user."
  4373. msgstr ""
  4374. #. type: cindex
  4375. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:1847
  4376. #, no-wrap
  4377. msgid "foreign distro"
  4378. msgstr "cudzia distribúcia"
  4379. #. type: cindex
  4380. #: guix-git/doc/guix.texi:618
  4381. #, no-wrap
  4382. msgid "directories related to foreign distro"
  4383. msgstr ""
  4384. #. type: Plain text
  4385. #: guix-git/doc/guix.texi:623
  4386. msgid "When installed on a foreign distro, GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched."
  4387. msgstr ""
  4388. #. type: Plain text
  4389. #: guix-git/doc/guix.texi:626
  4390. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4391. msgstr ""
  4392. #. type: Plain text
  4393. #: guix-git/doc/guix.texi:631
  4394. msgid "If you prefer to perform the installation steps manually or want to tweak them, you may find the following subsections useful. They describe the software requirements of Guix, as well as how to install it manually and get ready to use it."
  4395. msgstr ""
  4396. #. type: cindex
  4397. #: guix-git/doc/guix.texi:645
  4398. #, no-wrap
  4399. msgid "installing Guix from binaries"
  4400. msgstr ""
  4401. #. type: cindex
  4402. #: guix-git/doc/guix.texi:646
  4403. #, no-wrap
  4404. msgid "installer script"
  4405. msgstr ""
  4406. #. type: Plain text
  4407. #: guix-git/doc/guix.texi:652
  4408. msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz."
  4409. msgstr ""
  4410. #. type: quotation
  4411. #: guix-git/doc/guix.texi:660
  4412. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user. As root, you can thus run this:"
  4413. msgstr ""
  4414. #. type: example
  4415. #: guix-git/doc/guix.texi:666
  4416. #, no-wrap
  4417. msgid ""
  4418. "cd /tmp\n"
  4419. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4420. "chmod +x guix-install.sh\n"
  4421. "./guix-install.sh\n"
  4422. msgstr ""
  4423. #. type: quotation
  4424. #: guix-git/doc/guix.texi:670
  4425. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4426. msgstr ""
  4427. #. type: Plain text
  4428. #: guix-git/doc/guix.texi:673
  4429. msgid "Installing goes along these lines:"
  4430. msgstr ""
  4431. #. type: cindex
  4432. #: guix-git/doc/guix.texi:676
  4433. #, no-wrap
  4434. msgid "downloading Guix binary"
  4435. msgstr ""
  4436. #. type: enumerate
  4437. #: guix-git/doc/guix.texi:682
  4438. msgid "Download the binary tarball from @indicateurl{@value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz}, where @code{x86_64-linux} can be replaced with @code{i686-linux} for an @code{i686} (32-bits) machine already running the kernel Linux, and so on (@pxref{GNU Distribution})."
  4439. msgstr ""
  4440. #. type: enumerate
  4441. #: guix-git/doc/guix.texi:686
  4442. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4443. msgstr ""
  4444. #. type: example
  4445. #: guix-git/doc/guix.texi:690
  4446. #, no-wrap
  4447. msgid ""
  4448. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4449. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4450. msgstr ""
  4451. #. type: Plain text
  4452. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2206
  4453. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4454. msgstr ""
  4455. #. type: example
  4456. #: guix-git/doc/guix.texi:698
  4457. #, no-wrap
  4458. msgid ""
  4459. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4460. " -qO - | gpg --import -\n"
  4461. msgstr ""
  4462. #. type: Plain text
  4463. #: guix-git/doc/guix.texi:702 guix-git/doc/guix.texi:2214
  4464. msgid "and rerun the @code{gpg --verify} command."
  4465. msgstr ""
  4466. #. type: Plain text
  4467. #: guix-git/doc/guix.texi:705 guix-git/doc/guix.texi:2217
  4468. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4469. msgstr ""
  4470. #. type: enumerate
  4471. #: guix-git/doc/guix.texi:711
  4472. msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:"
  4473. msgstr ""
  4474. #. type: example
  4475. #: guix-git/doc/guix.texi:717
  4476. #, no-wrap
  4477. msgid ""
  4478. "# cd /tmp\n"
  4479. "# tar --warning=no-timestamp -xf \\\n"
  4480. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4481. "# mv var/guix /var/ && mv gnu /\n"
  4482. msgstr ""
  4483. #. type: enumerate
  4484. #: guix-git/doc/guix.texi:722
  4485. msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step)."
  4486. msgstr ""
  4487. #. type: enumerate
  4488. #: guix-git/doc/guix.texi:725
  4489. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4490. msgstr ""
  4491. #. type: enumerate
  4492. #: guix-git/doc/guix.texi:735
  4493. msgid "The @option{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine). They stem from the fact that all the files in the archive have their modification time set to 1 (which means January 1st, 1970). This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible."
  4494. msgstr ""
  4495. #. type: enumerate
  4496. #: guix-git/doc/guix.texi:739
  4497. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4498. msgstr ""
  4499. #. type: example
  4500. #: guix-git/doc/guix.texi:744
  4501. #, no-wrap
  4502. msgid ""
  4503. "# mkdir -p ~root/.config/guix\n"
  4504. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4505. " ~root/.config/guix/current\n"
  4506. msgstr ""
  4507. #. type: enumerate
  4508. #: guix-git/doc/guix.texi:748
  4509. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4510. msgstr ""
  4511. #. type: example
  4512. #: guix-git/doc/guix.texi:752
  4513. #, no-wrap
  4514. msgid ""
  4515. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4516. " source $GUIX_PROFILE/etc/profile\n"
  4517. msgstr ""
  4518. #. type: enumerate
  4519. #: guix-git/doc/guix.texi:757
  4520. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4521. msgstr ""
  4522. #. type: enumerate
  4523. #: guix-git/doc/guix.texi:760
  4524. msgid "Run the daemon, and set it to automatically start on boot."
  4525. msgstr ""
  4526. #. type: enumerate
  4527. #: guix-git/doc/guix.texi:763
  4528. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4529. msgstr ""
  4530. #. type: example
  4531. #: guix-git/doc/guix.texi:776
  4532. #, no-wrap
  4533. msgid ""
  4534. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4535. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4536. " /etc/systemd/system/\n"
  4537. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4538. msgstr ""
  4539. #. type: enumerate
  4540. #: guix-git/doc/guix.texi:779
  4541. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4542. msgstr ""
  4543. #. type: example
  4544. #: guix-git/doc/guix.texi:785
  4545. #, no-wrap
  4546. msgid ""
  4547. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4548. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4549. " /etc/systemd/system/\n"
  4550. "# systemctl enable --now guix-gc.timer\n"
  4551. msgstr ""
  4552. #. type: enumerate
  4553. #: guix-git/doc/guix.texi:789
  4554. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4555. msgstr ""
  4556. #. type: itemize
  4557. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:14201
  4558. msgid "If your host distro uses the Upstart init system:"
  4559. msgstr ""
  4560. #. type: example
  4561. #: guix-git/doc/guix.texi:797
  4562. #, no-wrap
  4563. msgid ""
  4564. "# initctl reload-configuration\n"
  4565. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4566. " /etc/init/\n"
  4567. "# start guix-daemon\n"
  4568. msgstr ""
  4569. #. type: enumerate
  4570. #: guix-git/doc/guix.texi:800
  4571. msgid "Otherwise, you can still start the daemon manually with:"
  4572. msgstr ""
  4573. #. type: example
  4574. #: guix-git/doc/guix.texi:804
  4575. #, no-wrap
  4576. msgid ""
  4577. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4578. " --build-users-group=guixbuild\n"
  4579. msgstr ""
  4580. #. type: enumerate
  4581. #: guix-git/doc/guix.texi:809
  4582. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4583. msgstr ""
  4584. #. type: example
  4585. #: guix-git/doc/guix.texi:814
  4586. #, no-wrap
  4587. msgid ""
  4588. "# mkdir -p /usr/local/bin\n"
  4589. "# cd /usr/local/bin\n"
  4590. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4591. msgstr ""
  4592. #. type: enumerate
  4593. #: guix-git/doc/guix.texi:818
  4594. msgid "It is also a good idea to make the Info version of this manual available there:"
  4595. msgstr ""
  4596. #. type: example
  4597. #: guix-git/doc/guix.texi:824
  4598. #, no-wrap
  4599. msgid ""
  4600. "# mkdir -p /usr/local/share/info\n"
  4601. "# cd /usr/local/share/info\n"
  4602. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4603. " do ln -s $i ; done\n"
  4604. msgstr ""
  4605. #. type: enumerate
  4606. #: guix-git/doc/guix.texi:830
  4607. msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path)."
  4608. msgstr ""
  4609. #. type: cindex
  4610. #: guix-git/doc/guix.texi:832 guix-git/doc/guix.texi:3832
  4611. #: guix-git/doc/guix.texi:16976
  4612. #, no-wrap
  4613. msgid "substitutes, authorization thereof"
  4614. msgstr ""
  4615. #. type: enumerate
  4616. #: guix-git/doc/guix.texi:836
  4617. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4618. msgstr ""
  4619. #. type: example
  4620. #: guix-git/doc/guix.texi:842
  4621. #, no-wrap
  4622. msgid ""
  4623. "# guix archive --authorize < \\\n"
  4624. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4625. "# guix archive --authorize < \\\n"
  4626. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4627. msgstr ""
  4628. #. type: quotation
  4629. #: guix-git/doc/guix.texi:849
  4630. msgid "If you do not enable substitutes, Guix will end up building @emph{everything} from source on your machine, making each installation and upgrade very expensive. @xref{On Trusting Binaries}, for a discussion of reasons why one might want do disable substitutes."
  4631. msgstr ""
  4632. #. type: enumerate
  4633. #: guix-git/doc/guix.texi:854
  4634. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4635. msgstr ""
  4636. #. type: Plain text
  4637. #: guix-git/doc/guix.texi:857
  4638. msgid "Voilà, the installation is complete!"
  4639. msgstr ""
  4640. #. type: Plain text
  4641. #: guix-git/doc/guix.texi:860
  4642. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4643. msgstr ""
  4644. #. type: example
  4645. #: guix-git/doc/guix.texi:863
  4646. #, no-wrap
  4647. msgid "# guix install hello\n"
  4648. msgstr ""
  4649. #. type: Plain text
  4650. #: guix-git/doc/guix.texi:867
  4651. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4652. msgstr ""
  4653. #. type: example
  4654. #: guix-git/doc/guix.texi:870
  4655. #, no-wrap
  4656. msgid "make guix-binary.@var{system}.tar.xz\n"
  4657. msgstr ""
  4658. #. type: Plain text
  4659. #: guix-git/doc/guix.texi:874
  4660. msgid "...@: which, in turn, runs:"
  4661. msgstr ""
  4662. #. type: example
  4663. #: guix-git/doc/guix.texi:878
  4664. #, no-wrap
  4665. msgid ""
  4666. "guix pack -s @var{system} --localstatedir \\\n"
  4667. " --profile-name=current-guix guix\n"
  4668. msgstr ""
  4669. #. type: Plain text
  4670. #: guix-git/doc/guix.texi:881
  4671. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4672. msgstr ""
  4673. #. type: Plain text
  4674. #: guix-git/doc/guix.texi:889
  4675. msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details."
  4676. msgstr ""
  4677. #. type: cindex
  4678. #: guix-git/doc/guix.texi:890
  4679. #, no-wrap
  4680. msgid "official website"
  4681. msgstr ""
  4682. #. type: Plain text
  4683. #: guix-git/doc/guix.texi:893
  4684. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4685. msgstr ""
  4686. #. type: Plain text
  4687. #: guix-git/doc/guix.texi:895
  4688. msgid "GNU Guix depends on the following packages:"
  4689. msgstr ""
  4690. #. type: item
  4691. #: guix-git/doc/guix.texi:897
  4692. #, fuzzy, no-wrap
  4693. #| msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4694. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  4695. msgstr "@url{https://gnu.org/software/guile/, GNU Guile}, verzia 3.0.x;"
  4696. #. type: itemize
  4697. #: guix-git/doc/guix.texi:899
  4698. msgid "version 3.0.3 or later;"
  4699. msgstr ""
  4700. #. type: item
  4701. #: guix-git/doc/guix.texi:899
  4702. #, no-wrap
  4703. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4704. msgstr ""
  4705. #. type: itemize
  4706. #: guix-git/doc/guix.texi:901
  4707. msgid "0.1.0 or later;"
  4708. msgstr ""
  4709. #. type: itemize
  4710. #: guix-git/doc/guix.texi:905
  4711. msgid "@uref{https://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});"
  4712. msgstr ""
  4713. #. type: itemize
  4714. #: guix-git/doc/guix.texi:908
  4715. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4716. msgstr ""
  4717. #. type: item
  4718. #: guix-git/doc/guix.texi:908
  4719. #, no-wrap
  4720. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4721. msgstr ""
  4722. #. type: itemize
  4723. #: guix-git/doc/guix.texi:910
  4724. msgid "version 0.1.0 or later;"
  4725. msgstr ""
  4726. #. type: item
  4727. #: guix-git/doc/guix.texi:910
  4728. #, no-wrap
  4729. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4730. msgstr ""
  4731. #. type: item
  4732. #: guix-git/doc/guix.texi:911
  4733. #, no-wrap
  4734. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4735. msgstr ""
  4736. #. type: itemize
  4737. #: guix-git/doc/guix.texi:915
  4738. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4739. msgstr "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, verzia 0.5.0 alebo novšia;"
  4740. #. type: item
  4741. #: guix-git/doc/guix.texi:915
  4742. #, no-wrap
  4743. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4744. msgstr ""
  4745. #. type: itemize
  4746. #: guix-git/doc/guix.texi:917
  4747. msgid "4.3.0 or later;"
  4748. msgstr ""
  4749. #. type: item
  4750. #: guix-git/doc/guix.texi:917
  4751. #, no-wrap
  4752. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4753. msgstr ""
  4754. #. type: Plain text
  4755. #: guix-git/doc/guix.texi:921
  4756. msgid "The following dependencies are optional:"
  4757. msgstr ""
  4758. #. type: itemize
  4759. #: guix-git/doc/guix.texi:929
  4760. msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.13.0 or later."
  4761. msgstr ""
  4762. #. type: itemize
  4763. #: guix-git/doc/guix.texi:934
  4764. msgid "@uref{https://notabug.org/guile-zstd/guile-zstd, Guile-zstd}, for zstd compression and decompression in @command{guix publish} and for substitutes (@pxref{Invoking guix publish})."
  4765. msgstr ""
  4766. #. type: itemize
  4767. #: guix-git/doc/guix.texi:938
  4768. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4769. msgstr ""
  4770. #. type: itemize
  4771. #: guix-git/doc/guix.texi:943
  4772. msgid "@uref{https://www.nongnu.org/guile-lib/doc/ref/htmlprag/, Guile-Lib} for the @code{go} importer (@pxref{Invoking guix import}) and for some of the ``updaters'' (@pxref{Invoking guix refresh})."
  4773. msgstr ""
  4774. #. type: itemize
  4775. #: guix-git/doc/guix.texi:947
  4776. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4777. msgstr ""
  4778. #. type: Plain text
  4779. #: guix-git/doc/guix.texi:951
  4780. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4781. msgstr ""
  4782. #. type: item
  4783. #: guix-git/doc/guix.texi:953
  4784. #, no-wrap
  4785. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4786. msgstr ""
  4787. #. type: item
  4788. #: guix-git/doc/guix.texi:954
  4789. #, no-wrap
  4790. msgid "@url{https://sqlite.org, SQLite 3};"
  4791. msgstr ""
  4792. #. type: item
  4793. #: guix-git/doc/guix.texi:955
  4794. #, no-wrap
  4795. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4796. msgstr ""
  4797. #. type: itemize
  4798. #: guix-git/doc/guix.texi:957
  4799. msgid "C++11 standard."
  4800. msgstr ""
  4801. #. type: cindex
  4802. #: guix-git/doc/guix.texi:959
  4803. #, no-wrap
  4804. msgid "state directory"
  4805. msgstr ""
  4806. #. type: Plain text
  4807. #: guix-git/doc/guix.texi:968
  4808. msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @option{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Usually, this @var{localstatedir} option is set to the value @file{/var}. The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store})."
  4809. msgstr ""
  4810. #. type: cindex
  4811. #: guix-git/doc/guix.texi:972
  4812. #, no-wrap
  4813. msgid "test suite"
  4814. msgstr ""
  4815. #. type: Plain text
  4816. #: guix-git/doc/guix.texi:978
  4817. msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:"
  4818. msgstr ""
  4819. #. type: example
  4820. #: guix-git/doc/guix.texi:981
  4821. #, no-wrap
  4822. msgid "make check\n"
  4823. msgstr ""
  4824. #. type: Plain text
  4825. #: guix-git/doc/guix.texi:988
  4826. msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache."
  4827. msgstr ""
  4828. #. type: Plain text
  4829. #: guix-git/doc/guix.texi:991
  4830. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4831. msgstr ""
  4832. #. type: example
  4833. #: guix-git/doc/guix.texi:994
  4834. #, no-wrap
  4835. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4836. msgstr ""
  4837. #. type: Plain text
  4838. #: guix-git/doc/guix.texi:999
  4839. msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:"
  4840. msgstr ""
  4841. #. type: example
  4842. #: guix-git/doc/guix.texi:1002
  4843. #, no-wrap
  4844. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4845. msgstr ""
  4846. #. type: Plain text
  4847. #: guix-git/doc/guix.texi:1010
  4848. msgid "The underlying SRFI 64 custom Automake test driver used for the 'check' test suite (located at @file{build-aux/test-driver.scm}) also allows selecting which test cases to run at a finer level, via its @option{--select} and @option{--exclude} options. Here's an example, to run all the test cases from the @file{tests/packages.scm} test file whose names start with ``transaction-upgrade-entry'':"
  4849. msgstr ""
  4850. #. type: example
  4851. #: guix-git/doc/guix.texi:1014
  4852. #, no-wrap
  4853. msgid ""
  4854. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4855. "make check TESTS=\"tests/packages.scm\"\n"
  4856. msgstr ""
  4857. #. type: Plain text
  4858. #: guix-git/doc/guix.texi:1020
  4859. msgid "Those wishing to inspect the results of failed tests directly from the command line can add the @option{--errors-only=yes} option to the @code{SCM_LOG_DRIVER_FLAGS} makefile variable and set the @code{VERBOSE} Automake makefile variable, as in:"
  4860. msgstr ""
  4861. #. type: example
  4862. #: guix-git/doc/guix.texi:1023
  4863. #, no-wrap
  4864. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4865. msgstr ""
  4866. #. type: Plain text
  4867. #: guix-git/doc/guix.texi:1028
  4868. msgid "The @option{--show-duration=yes} option can be used to print the duration of the individual test cases, when used in combination with @option{--brief=no}:"
  4869. msgstr ""
  4870. #. type: example
  4871. #: guix-git/doc/guix.texi:1031
  4872. #, no-wrap
  4873. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4874. msgstr ""
  4875. #. type: Plain text
  4876. #: guix-git/doc/guix.texi:1035
  4877. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4878. msgstr ""
  4879. #. type: Plain text
  4880. #: guix-git/doc/guix.texi:1040
  4881. msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message."
  4882. msgstr ""
  4883. #. type: Plain text
  4884. #: guix-git/doc/guix.texi:1044
  4885. msgid "Guix also comes with a whole-system test suite that tests complete Guix System instances. It can only run on systems where Guix is already installed, using:"
  4886. msgstr ""
  4887. #. type: example
  4888. #: guix-git/doc/guix.texi:1047
  4889. #, no-wrap
  4890. msgid "make check-system\n"
  4891. msgstr ""
  4892. #. type: Plain text
  4893. #: guix-git/doc/guix.texi:1051
  4894. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4895. msgstr ""
  4896. #. type: example
  4897. #: guix-git/doc/guix.texi:1054
  4898. #, no-wrap
  4899. msgid "make check-system TESTS=\"basic mcron\"\n"
  4900. msgstr ""
  4901. #. type: Plain text
  4902. #: guix-git/doc/guix.texi:1062
  4903. msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images."
  4904. msgstr ""
  4905. #. type: Plain text
  4906. #: guix-git/doc/guix.texi:1065
  4907. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4908. msgstr ""
  4909. #. type: cindex
  4910. #: guix-git/doc/guix.texi:1069
  4911. #, no-wrap
  4912. msgid "daemon"
  4913. msgstr ""
  4914. #. type: Plain text
  4915. #: guix-git/doc/guix.texi:1077
  4916. msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do."
  4917. msgstr ""
  4918. #. type: Plain text
  4919. #: guix-git/doc/guix.texi:1081
  4920. msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries."
  4921. msgstr ""
  4922. #. type: cindex
  4923. #: guix-git/doc/guix.texi:1091 guix-git/doc/guix.texi:1559
  4924. #, no-wrap
  4925. msgid "build environment"
  4926. msgstr ""
  4927. #. type: Plain text
  4928. #: guix-git/doc/guix.texi:1099
  4929. msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users."
  4930. msgstr ""
  4931. #. type: cindex
  4932. #: guix-git/doc/guix.texi:1100
  4933. #, no-wrap
  4934. msgid "build users"
  4935. msgstr ""
  4936. #. type: Plain text
  4937. #: guix-git/doc/guix.texi:1111
  4938. msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})."
  4939. msgstr ""
  4940. #. type: Plain text
  4941. #: guix-git/doc/guix.texi:1114
  4942. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4943. msgstr ""
  4944. #. type: example
  4945. #: guix-git/doc/guix.texi:1126
  4946. #, no-wrap
  4947. msgid ""
  4948. "# groupadd --system guixbuild\n"
  4949. "# for i in $(seq -w 1 10);\n"
  4950. " do\n"
  4951. " useradd -g guixbuild -G guixbuild \\\n"
  4952. " -d /var/empty -s $(which nologin) \\\n"
  4953. " -c \"Guix build user $i\" --system \\\n"
  4954. " guixbuilder$i;\n"
  4955. " done\n"
  4956. msgstr ""
  4957. #. type: Plain text
  4958. #: guix-git/doc/guix.texi:1136
  4959. msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})."
  4960. msgstr ""
  4961. #. type: Plain text
  4962. #: guix-git/doc/guix.texi:1145
  4963. msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:"
  4964. msgstr ""
  4965. #. type: example
  4966. #: guix-git/doc/guix.texi:1148 guix-git/doc/guix.texi:1552
  4967. #, no-wrap
  4968. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4969. msgstr ""
  4970. #. type: cindex
  4971. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1557
  4972. #, no-wrap
  4973. msgid "chroot"
  4974. msgstr ""
  4975. #. type: Plain text
  4976. #: guix-git/doc/guix.texi:1155
  4977. msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:"
  4978. msgstr ""
  4979. #. type: itemize
  4980. #: guix-git/doc/guix.texi:1163
  4981. msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};"
  4982. msgstr ""
  4983. #. type: itemize
  4984. #: guix-git/doc/guix.texi:1167
  4985. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4986. msgstr ""
  4987. #. type: itemize
  4988. #: guix-git/doc/guix.texi:1171
  4989. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4990. msgstr ""
  4991. #. type: itemize
  4992. #: guix-git/doc/guix.texi:1174
  4993. msgid "@file{/etc/group} with an entry for the user's group;"
  4994. msgstr ""
  4995. #. type: itemize
  4996. #: guix-git/doc/guix.texi:1178
  4997. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4998. msgstr ""
  4999. #. type: itemize
  5000. #: guix-git/doc/guix.texi:1181
  5001. msgid "a writable @file{/tmp} directory."
  5002. msgstr ""
  5003. #. type: Plain text
  5004. #: guix-git/doc/guix.texi:1187
  5005. msgid "The chroot does not contain a @file{/home} directory, and the @env{HOME} environment variable is set to the non-existent @file{/homeless-shelter}. This helps to highlight inappropriate uses of @env{HOME} in the build scripts of packages."
  5006. msgstr ""
  5007. #. type: Plain text
  5008. #: guix-git/doc/guix.texi:1195
  5009. msgid "You can influence the directory where the daemon stores build trees @i{via} the @env{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @env{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree."
  5010. msgstr ""
  5011. #. type: vindex
  5012. #: guix-git/doc/guix.texi:1196 guix-git/doc/guix.texi:4041
  5013. #, no-wrap
  5014. msgid "http_proxy"
  5015. msgstr ""
  5016. #. type: vindex
  5017. #: guix-git/doc/guix.texi:1197 guix-git/doc/guix.texi:4042
  5018. #, no-wrap
  5019. msgid "https_proxy"
  5020. msgstr ""
  5021. #. type: Plain text
  5022. #: guix-git/doc/guix.texi:1202
  5023. msgid "The daemon also honors the @env{http_proxy} and @env{https_proxy} environment variables for HTTP and HTTPS downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})."
  5024. msgstr ""
  5025. #. type: Plain text
  5026. #: guix-git/doc/guix.texi:1210
  5027. msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @option{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions."
  5028. msgstr ""
  5029. #. type: subsection
  5030. #: guix-git/doc/guix.texi:1213
  5031. #, no-wrap
  5032. msgid "Using the Offload Facility"
  5033. msgstr ""
  5034. #. type: cindex
  5035. #: guix-git/doc/guix.texi:1215 guix-git/doc/guix.texi:1618
  5036. #, no-wrap
  5037. msgid "offloading"
  5038. msgstr ""
  5039. #. type: cindex
  5040. #: guix-git/doc/guix.texi:1216
  5041. #, no-wrap
  5042. msgid "build hook"
  5043. msgstr ""
  5044. #. type: Plain text
  5045. #: guix-git/doc/guix.texi:1235
  5046. msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system types---e.g., @code{x86_64-linux}. A single machine can have multiple system types, either because its architecture natively supports it, via emulation (@pxref{transparent-emulation-qemu, Transparent Emulation with QEMU}), or both. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine. The offload facility comes with a basic scheduler that attempts to select the best machine. The best machine is chosen among the available machines based on criteria such as:"
  5047. msgstr ""
  5048. #. type: enumerate
  5049. #: guix-git/doc/guix.texi:1241
  5050. msgid "The availability of a build slot. A build machine can have as many build slots (connections) as the value of the @code{parallel-builds} field of its @code{build-machine} object."
  5051. msgstr ""
  5052. #. type: enumerate
  5053. #: guix-git/doc/guix.texi:1245
  5054. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  5055. msgstr ""
  5056. #. type: enumerate
  5057. #: guix-git/doc/guix.texi:1250
  5058. msgid "Its load. The normalized machine load must be lower than a threshold value, configurable via the @code{overload-threshold} field of its @code{build-machine} object."
  5059. msgstr ""
  5060. #. type: enumerate
  5061. #: guix-git/doc/guix.texi:1253
  5062. msgid "Disk space availability. More than a 100 MiB must be available."
  5063. msgstr ""
  5064. #. type: Plain text
  5065. #: guix-git/doc/guix.texi:1256
  5066. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  5067. msgstr ""
  5068. #. type: lisp
  5069. #: guix-git/doc/guix.texi:1264
  5070. #, no-wrap
  5071. msgid ""
  5072. "(list (build-machine\n"
  5073. " (name \"eightysix.example.org\")\n"
  5074. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5075. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5076. " (user \"bob\")\n"
  5077. " (speed 2.)) ;incredibly fast!\n"
  5078. "\n"
  5079. msgstr ""
  5080. #. type: lisp
  5081. #: guix-git/doc/guix.texi:1270
  5082. #, no-wrap
  5083. msgid ""
  5084. " (build-machine\n"
  5085. " (name \"armeight.example.org\")\n"
  5086. " (systems (list \"aarch64-linux\"))\n"
  5087. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5088. " (user \"alice\")\n"
  5089. "\n"
  5090. msgstr ""
  5091. #. type: lisp
  5092. #: guix-git/doc/guix.texi:1274
  5093. #, no-wrap
  5094. msgid ""
  5095. " ;; Remember 'guix offload' is spawned by\n"
  5096. " ;; 'guix-daemon' as root.\n"
  5097. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5098. msgstr ""
  5099. #. type: Plain text
  5100. #: guix-git/doc/guix.texi:1280
  5101. msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} and @code{i686} architectures and one for the @code{aarch64} architecture."
  5102. msgstr ""
  5103. #. type: Plain text
  5104. #: guix-git/doc/guix.texi:1289
  5105. msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below."
  5106. msgstr ""
  5107. #. type: deftp
  5108. #: guix-git/doc/guix.texi:1290
  5109. #, no-wrap
  5110. msgid "{Data Type} build-machine"
  5111. msgstr ""
  5112. #. type: deftp
  5113. #: guix-git/doc/guix.texi:1293
  5114. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5115. msgstr ""
  5116. #. type: item
  5117. #: guix-git/doc/guix.texi:1296 guix-git/doc/guix.texi:7179
  5118. #: guix-git/doc/guix.texi:15924 guix-git/doc/guix.texi:16023
  5119. #: guix-git/doc/guix.texi:16264 guix-git/doc/guix.texi:17801
  5120. #: guix-git/doc/guix.texi:18422 guix-git/doc/guix.texi:18696
  5121. #: guix-git/doc/guix.texi:21789 guix-git/doc/guix.texi:24699
  5122. #: guix-git/doc/guix.texi:25998 guix-git/doc/guix.texi:26610
  5123. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:27005
  5124. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:31537
  5125. #: guix-git/doc/guix.texi:31557 guix-git/doc/guix.texi:34317
  5126. #: guix-git/doc/guix.texi:34334 guix-git/doc/guix.texi:34873
  5127. #: guix-git/doc/guix.texi:36699 guix-git/doc/guix.texi:37026
  5128. #, no-wrap
  5129. msgid "name"
  5130. msgstr "name"
  5131. #. type: table
  5132. #: guix-git/doc/guix.texi:1298
  5133. msgid "The host name of the remote machine."
  5134. msgstr ""
  5135. #. type: item
  5136. #: guix-git/doc/guix.texi:1299
  5137. #, no-wrap
  5138. msgid "systems"
  5139. msgstr "systémy"
  5140. #. type: table
  5141. #: guix-git/doc/guix.texi:1302
  5142. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5143. msgstr ""
  5144. #. type: code{#1}
  5145. #: guix-git/doc/guix.texi:1303 guix-git/doc/guix.texi:18432
  5146. #, no-wrap
  5147. msgid "user"
  5148. msgstr "user"
  5149. #. type: table
  5150. #: guix-git/doc/guix.texi:1307
  5151. msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins."
  5152. msgstr ""
  5153. #. type: item
  5154. #: guix-git/doc/guix.texi:1308
  5155. #, no-wrap
  5156. msgid "host-key"
  5157. msgstr ""
  5158. #. type: table
  5159. #: guix-git/doc/guix.texi:1312
  5160. msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:"
  5161. msgstr ""
  5162. #. type: example
  5163. #: guix-git/doc/guix.texi:1315
  5164. #, no-wrap
  5165. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5166. msgstr ""
  5167. #. type: table
  5168. #: guix-git/doc/guix.texi:1320
  5169. msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}."
  5170. msgstr ""
  5171. #. type: table
  5172. #: guix-git/doc/guix.texi:1325
  5173. msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):"
  5174. msgstr ""
  5175. #. type: example
  5176. #: guix-git/doc/guix.texi:1329
  5177. #, no-wrap
  5178. msgid ""
  5179. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5180. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5181. msgstr ""
  5182. #. type: deftp
  5183. #: guix-git/doc/guix.texi:1334
  5184. msgid "A number of optional fields may be specified:"
  5185. msgstr ""
  5186. #. type: item
  5187. #: guix-git/doc/guix.texi:1337 guix-git/doc/guix.texi:36175
  5188. #, no-wrap
  5189. msgid "@code{port} (default: @code{22})"
  5190. msgstr ""
  5191. #. type: table
  5192. #: guix-git/doc/guix.texi:1339
  5193. msgid "Port number of SSH server on the machine."
  5194. msgstr ""
  5195. #. type: item
  5196. #: guix-git/doc/guix.texi:1340
  5197. #, no-wrap
  5198. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5199. msgstr ""
  5200. #. type: table
  5201. #: guix-git/doc/guix.texi:1343
  5202. msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase."
  5203. msgstr ""
  5204. #. type: table
  5205. #: guix-git/doc/guix.texi:1346
  5206. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5207. msgstr ""
  5208. #. type: item
  5209. #: guix-git/doc/guix.texi:1347
  5210. #, no-wrap
  5211. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5212. msgstr ""
  5213. #. type: itemx
  5214. #: guix-git/doc/guix.texi:1348
  5215. #, no-wrap
  5216. msgid "@code{compression-level} (default: @code{3})"
  5217. msgstr ""
  5218. #. type: table
  5219. #: guix-git/doc/guix.texi:1350
  5220. msgid "The SSH-level compression methods and compression level requested."
  5221. msgstr ""
  5222. #. type: table
  5223. #: guix-git/doc/guix.texi:1353
  5224. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5225. msgstr ""
  5226. #. type: item
  5227. #: guix-git/doc/guix.texi:1354
  5228. #, no-wrap
  5229. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5230. msgstr ""
  5231. #. type: table
  5232. #: guix-git/doc/guix.texi:1357
  5233. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5234. msgstr ""
  5235. #. type: item
  5236. #: guix-git/doc/guix.texi:1358
  5237. #, no-wrap
  5238. msgid "@code{overload-threshold} (default: @code{0.6})"
  5239. msgstr ""
  5240. #. type: table
  5241. #: guix-git/doc/guix.texi:1364
  5242. msgid "The load threshold above which a potential offload machine is disregarded by the offload scheduler. The value roughly translates to the total processor usage of the build machine, ranging from 0.0 (0%) to 1.0 (100%). It can also be disabled by setting @code{overload-threshold} to @code{#f}."
  5243. msgstr ""
  5244. #. type: item
  5245. #: guix-git/doc/guix.texi:1365
  5246. #, no-wrap
  5247. msgid "@code{parallel-builds} (default: @code{1})"
  5248. msgstr ""
  5249. #. type: table
  5250. #: guix-git/doc/guix.texi:1367
  5251. msgid "The number of builds that may run in parallel on the machine."
  5252. msgstr ""
  5253. #. type: item
  5254. #: guix-git/doc/guix.texi:1368
  5255. #, no-wrap
  5256. msgid "@code{speed} (default: @code{1.0})"
  5257. msgstr ""
  5258. #. type: table
  5259. #: guix-git/doc/guix.texi:1371
  5260. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5261. msgstr ""
  5262. #. type: item
  5263. #: guix-git/doc/guix.texi:1372
  5264. #, no-wrap
  5265. msgid "@code{features} (default: @code{'()})"
  5266. msgstr ""
  5267. #. type: table
  5268. #: guix-git/doc/guix.texi:1377
  5269. msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines."
  5270. msgstr ""
  5271. #. type: Plain text
  5272. #: guix-git/doc/guix.texi:1383
  5273. msgid "The @command{guix} command must be in the search path on the build machines. You can check whether this is the case by running:"
  5274. msgstr ""
  5275. #. type: example
  5276. #: guix-git/doc/guix.texi:1386
  5277. #, no-wrap
  5278. msgid "ssh build-machine guix repl --version\n"
  5279. msgstr ""
  5280. #. type: Plain text
  5281. #: guix-git/doc/guix.texi:1393
  5282. msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):"
  5283. msgstr ""
  5284. #. type: example
  5285. #: guix-git/doc/guix.texi:1396 guix-git/doc/guix.texi:36079
  5286. #, no-wrap
  5287. msgid "# guix archive --generate-key\n"
  5288. msgstr ""
  5289. #. type: Plain text
  5290. #: guix-git/doc/guix.texi:1401
  5291. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5292. msgstr ""
  5293. #. type: example
  5294. #: guix-git/doc/guix.texi:1404
  5295. #, no-wrap
  5296. msgid "# guix archive --authorize < master-public-key.txt\n"
  5297. msgstr ""
  5298. #. type: Plain text
  5299. #: guix-git/doc/guix.texi:1408
  5300. msgid "Likewise, the master machine must authorize the key of each build machine."
  5301. msgstr ""
  5302. #. type: Plain text
  5303. #: guix-git/doc/guix.texi:1414
  5304. msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key."
  5305. msgstr ""
  5306. #. type: cindex
  5307. #: guix-git/doc/guix.texi:1415
  5308. #, no-wrap
  5309. msgid "offload test"
  5310. msgstr ""
  5311. #. type: Plain text
  5312. #: guix-git/doc/guix.texi:1418
  5313. msgid "To test whether your setup is operational, run this command on the master node:"
  5314. msgstr ""
  5315. #. type: example
  5316. #: guix-git/doc/guix.texi:1421
  5317. #, no-wrap
  5318. msgid "# guix offload test\n"
  5319. msgstr ""
  5320. #. type: Plain text
  5321. #: guix-git/doc/guix.texi:1427
  5322. msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guix is available on each machine, attempt to export to the machine and import from it, and report any error in the process."
  5323. msgstr ""
  5324. #. type: Plain text
  5325. #: guix-git/doc/guix.texi:1430
  5326. msgid "If you want to test a different machine file, just specify it on the command line:"
  5327. msgstr ""
  5328. #. type: example
  5329. #: guix-git/doc/guix.texi:1433
  5330. #, no-wrap
  5331. msgid "# guix offload test machines-qualif.scm\n"
  5332. msgstr ""
  5333. #. type: Plain text
  5334. #: guix-git/doc/guix.texi:1437
  5335. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5336. msgstr ""
  5337. #. type: example
  5338. #: guix-git/doc/guix.texi:1440
  5339. #, no-wrap
  5340. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5341. msgstr ""
  5342. #. type: cindex
  5343. #: guix-git/doc/guix.texi:1442
  5344. #, no-wrap
  5345. msgid "offload status"
  5346. msgstr ""
  5347. #. type: Plain text
  5348. #: guix-git/doc/guix.texi:1445
  5349. msgid "To display the current load of all build hosts, run this command on the main node:"
  5350. msgstr ""
  5351. #. type: example
  5352. #: guix-git/doc/guix.texi:1448
  5353. #, no-wrap
  5354. msgid "# guix offload status\n"
  5355. msgstr ""
  5356. #. type: cindex
  5357. #: guix-git/doc/guix.texi:1454
  5358. #, no-wrap
  5359. msgid "SELinux, daemon policy"
  5360. msgstr ""
  5361. #. type: cindex
  5362. #: guix-git/doc/guix.texi:1455
  5363. #, no-wrap
  5364. msgid "mandatory access control, SELinux"
  5365. msgstr ""
  5366. #. type: cindex
  5367. #: guix-git/doc/guix.texi:1456
  5368. #, no-wrap
  5369. msgid "security, guix-daemon"
  5370. msgstr ""
  5371. #. type: Plain text
  5372. #: guix-git/doc/guix.texi:1462
  5373. msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since Guix System does not provide an SELinux base policy, the daemon policy cannot be used on Guix System."
  5374. msgstr ""
  5375. #. type: subsubsection
  5376. #: guix-git/doc/guix.texi:1463
  5377. #, no-wrap
  5378. msgid "Installing the SELinux policy"
  5379. msgstr ""
  5380. #. type: cindex
  5381. #: guix-git/doc/guix.texi:1464
  5382. #, no-wrap
  5383. msgid "SELinux, policy installation"
  5384. msgstr ""
  5385. #. type: Plain text
  5386. #: guix-git/doc/guix.texi:1466
  5387. msgid "To install the policy run this command as root:"
  5388. msgstr ""
  5389. #. type: example
  5390. #: guix-git/doc/guix.texi:1469
  5391. #, no-wrap
  5392. msgid "semodule -i etc/guix-daemon.cil\n"
  5393. msgstr ""
  5394. #. type: Plain text
  5395. #: guix-git/doc/guix.texi:1473
  5396. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5397. msgstr ""
  5398. #. type: Plain text
  5399. #: guix-git/doc/guix.texi:1478
  5400. msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:"
  5401. msgstr ""
  5402. #. type: example
  5403. #: guix-git/doc/guix.texi:1481
  5404. #, no-wrap
  5405. msgid "ps -Zax | grep guix-daemon\n"
  5406. msgstr ""
  5407. #. type: Plain text
  5408. #: guix-git/doc/guix.texi:1486
  5409. msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations."
  5410. msgstr ""
  5411. #. type: cindex
  5412. #: guix-git/doc/guix.texi:1488
  5413. #, no-wrap
  5414. msgid "SELinux, limitations"
  5415. msgstr ""
  5416. #. type: Plain text
  5417. #: guix-git/doc/guix.texi:1493
  5418. msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon."
  5419. msgstr ""
  5420. #. type: enumerate
  5421. #: guix-git/doc/guix.texi:1500
  5422. msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferable to define socket rules for only this label."
  5423. msgstr ""
  5424. #. type: enumerate
  5425. #: guix-git/doc/guix.texi:1511
  5426. msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links."
  5427. msgstr ""
  5428. #. type: enumerate
  5429. #: guix-git/doc/guix.texi:1516
  5430. msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files."
  5431. msgstr ""
  5432. #. type: enumerate
  5433. #: guix-git/doc/guix.texi:1527
  5434. msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain."
  5435. msgstr ""
  5436. #. type: enumerate
  5437. #: guix-git/doc/guix.texi:1532
  5438. msgid "You will need to relabel the store directory after all upgrades to @file{guix-daemon}, such as after running @code{guix pull}. Assuming the store is in @file{/gnu}, you can do this with @code{restorecon -vR /gnu}, or by other means provided by your operating system."
  5439. msgstr ""
  5440. #. type: enumerate
  5441. #: guix-git/doc/guix.texi:1540
  5442. msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded."
  5443. msgstr ""
  5444. #. type: section
  5445. #: guix-git/doc/guix.texi:1543
  5446. #, no-wrap
  5447. msgid "Invoking @command{guix-daemon}"
  5448. msgstr ""
  5449. #. type: Plain text
  5450. #: guix-git/doc/guix.texi:1549
  5451. msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:"
  5452. msgstr ""
  5453. #. type: Plain text
  5454. #: guix-git/doc/guix.texi:1556
  5455. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5456. msgstr ""
  5457. #. type: cindex
  5458. #: guix-git/doc/guix.texi:1558
  5459. #, no-wrap
  5460. msgid "container, build environment"
  5461. msgstr ""
  5462. #. type: cindex
  5463. #: guix-git/doc/guix.texi:1560 guix-git/doc/guix.texi:3104
  5464. #: guix-git/doc/guix.texi:4022 guix-git/doc/guix.texi:14214
  5465. #, no-wrap
  5466. msgid "reproducible builds"
  5467. msgstr ""
  5468. #. type: Plain text
  5469. #: guix-git/doc/guix.texi:1572
  5470. msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @option{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})."
  5471. msgstr ""
  5472. #. type: Plain text
  5473. #: guix-git/doc/guix.texi:1578
  5474. msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @env{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}."
  5475. msgstr ""
  5476. #. type: Plain text
  5477. #: guix-git/doc/guix.texi:1582
  5478. msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Common Build Options, @option{--keep-failed}})."
  5479. msgstr ""
  5480. #. type: Plain text
  5481. #: guix-git/doc/guix.texi:1588
  5482. msgid "The daemon listens for connections and spawns one sub-process for each session started by a client (one of the @command{guix} sub-commands). The @command{guix processes} command allows you to get an overview of the activity on your system by viewing each of the active sessions and clients. @xref{Invoking guix processes}, for more information."
  5483. msgstr ""
  5484. #. type: Plain text
  5485. #: guix-git/doc/guix.texi:1590
  5486. msgid "The following command-line options are supported:"
  5487. msgstr ""
  5488. #. type: item
  5489. #: guix-git/doc/guix.texi:1592
  5490. #, no-wrap
  5491. msgid "--build-users-group=@var{group}"
  5492. msgstr ""
  5493. #. type: table
  5494. #: guix-git/doc/guix.texi:1595
  5495. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5496. msgstr ""
  5497. #. type: item
  5498. #: guix-git/doc/guix.texi:1596 guix-git/doc/guix.texi:11333
  5499. #, no-wrap
  5500. msgid "--no-substitutes"
  5501. msgstr ""
  5502. #. type: cindex
  5503. #: guix-git/doc/guix.texi:1597 guix-git/doc/guix.texi:3116
  5504. #: guix-git/doc/guix.texi:3775
  5505. #, no-wrap
  5506. msgid "substitutes"
  5507. msgstr ""
  5508. #. type: table
  5509. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:11337
  5510. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5511. msgstr ""
  5512. #. type: table
  5513. #: guix-git/doc/guix.texi:1605
  5514. msgid "When the daemon runs with @option{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})."
  5515. msgstr ""
  5516. #. type: anchor{#1}
  5517. #: guix-git/doc/guix.texi:1607
  5518. msgid "daemon-substitute-urls"
  5519. msgstr ""
  5520. #. type: item
  5521. #: guix-git/doc/guix.texi:1607 guix-git/doc/guix.texi:11320
  5522. #: guix-git/doc/guix.texi:13621 guix-git/doc/guix.texi:14360
  5523. #: guix-git/doc/guix.texi:14585
  5524. #, no-wrap
  5525. msgid "--substitute-urls=@var{urls}"
  5526. msgstr ""
  5527. #. type: table
  5528. #: guix-git/doc/guix.texi:1611
  5529. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5530. msgstr ""
  5531. #. type: table
  5532. #: guix-git/doc/guix.texi:1614
  5533. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5534. msgstr ""
  5535. #. type: table
  5536. #: guix-git/doc/guix.texi:1617
  5537. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5538. msgstr ""
  5539. #. type: item
  5540. #: guix-git/doc/guix.texi:1619 guix-git/doc/guix.texi:11356
  5541. #, no-wrap
  5542. msgid "--no-offload"
  5543. msgstr ""
  5544. #. type: table
  5545. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:11360
  5546. msgid "Do not use offload builds to other machines (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines."
  5547. msgstr ""
  5548. #. type: item
  5549. #: guix-git/doc/guix.texi:1624
  5550. #, no-wrap
  5551. msgid "--cache-failures"
  5552. msgstr ""
  5553. #. type: table
  5554. #: guix-git/doc/guix.texi:1626
  5555. msgid "Cache build failures. By default, only successful builds are cached."
  5556. msgstr ""
  5557. #. type: table
  5558. #: guix-git/doc/guix.texi:1631
  5559. msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}."
  5560. msgstr ""
  5561. #. type: item
  5562. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:11386
  5563. #, no-wrap
  5564. msgid "--cores=@var{n}"
  5565. msgstr ""
  5566. #. type: itemx
  5567. #: guix-git/doc/guix.texi:1633 guix-git/doc/guix.texi:11387
  5568. #, no-wrap
  5569. msgid "-c @var{n}"
  5570. msgstr ""
  5571. #. type: table
  5572. #: guix-git/doc/guix.texi:1636
  5573. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5574. msgstr ""
  5575. #. type: table
  5576. #: guix-git/doc/guix.texi:1640
  5577. msgid "The default value is @code{0}, but it may be overridden by clients, such as the @option{--cores} option of @command{guix build} (@pxref{Invoking guix build})."
  5578. msgstr ""
  5579. #. type: table
  5580. #: guix-git/doc/guix.texi:1644
  5581. msgid "The effect is to define the @env{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}."
  5582. msgstr ""
  5583. #. type: item
  5584. #: guix-git/doc/guix.texi:1645 guix-git/doc/guix.texi:11391
  5585. #, no-wrap
  5586. msgid "--max-jobs=@var{n}"
  5587. msgstr ""
  5588. #. type: itemx
  5589. #: guix-git/doc/guix.texi:1646 guix-git/doc/guix.texi:11392
  5590. #, no-wrap
  5591. msgid "-M @var{n}"
  5592. msgstr ""
  5593. #. type: table
  5594. #: guix-git/doc/guix.texi:1651
  5595. msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail."
  5596. msgstr ""
  5597. #. type: item
  5598. #: guix-git/doc/guix.texi:1652 guix-git/doc/guix.texi:11361
  5599. #, no-wrap
  5600. msgid "--max-silent-time=@var{seconds}"
  5601. msgstr ""
  5602. #. type: table
  5603. #: guix-git/doc/guix.texi:1655 guix-git/doc/guix.texi:11364
  5604. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5605. msgstr ""
  5606. #. type: table
  5607. #: guix-git/doc/guix.texi:1657 guix-git/doc/guix.texi:1666
  5608. msgid "The default value is @code{0}, which disables the timeout."
  5609. msgstr ""
  5610. #. type: table
  5611. #: guix-git/doc/guix.texi:1660
  5612. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5613. msgstr ""
  5614. #. type: item
  5615. #: guix-git/doc/guix.texi:1661 guix-git/doc/guix.texi:11368
  5616. #, no-wrap
  5617. msgid "--timeout=@var{seconds}"
  5618. msgstr ""
  5619. #. type: table
  5620. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:11371
  5621. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5622. msgstr ""
  5623. #. type: table
  5624. #: guix-git/doc/guix.texi:1669
  5625. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5626. msgstr ""
  5627. #. type: item
  5628. #: guix-git/doc/guix.texi:1670
  5629. #, no-wrap
  5630. msgid "--rounds=@var{N}"
  5631. msgstr ""
  5632. #. type: table
  5633. #: guix-git/doc/guix.texi:1675
  5634. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})."
  5635. msgstr ""
  5636. #. type: table
  5637. #: guix-git/doc/guix.texi:1679 guix-git/doc/guix.texi:11355
  5638. #: guix-git/doc/guix.texi:11979
  5639. msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results."
  5640. msgstr ""
  5641. #. type: item
  5642. #: guix-git/doc/guix.texi:1680
  5643. #, no-wrap
  5644. msgid "--debug"
  5645. msgstr ""
  5646. #. type: table
  5647. #: guix-git/doc/guix.texi:1682
  5648. msgid "Produce debugging output."
  5649. msgstr ""
  5650. #. type: table
  5651. #: guix-git/doc/guix.texi:1686
  5652. msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @option{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})."
  5653. msgstr ""
  5654. #. type: item
  5655. #: guix-git/doc/guix.texi:1687
  5656. #, no-wrap
  5657. msgid "--chroot-directory=@var{dir}"
  5658. msgstr ""
  5659. #. type: table
  5660. #: guix-git/doc/guix.texi:1689
  5661. msgid "Add @var{dir} to the build chroot."
  5662. msgstr ""
  5663. #. type: table
  5664. #: guix-git/doc/guix.texi:1695
  5665. msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs."
  5666. msgstr ""
  5667. #. type: item
  5668. #: guix-git/doc/guix.texi:1696
  5669. #, no-wrap
  5670. msgid "--disable-chroot"
  5671. msgstr ""
  5672. #. type: table
  5673. #: guix-git/doc/guix.texi:1698
  5674. msgid "Disable chroot builds."
  5675. msgstr ""
  5676. #. type: table
  5677. #: guix-git/doc/guix.texi:1703
  5678. msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account."
  5679. msgstr ""
  5680. #. type: item
  5681. #: guix-git/doc/guix.texi:1704
  5682. #, no-wrap
  5683. msgid "--log-compression=@var{type}"
  5684. msgstr ""
  5685. #. type: table
  5686. #: guix-git/doc/guix.texi:1707
  5687. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5688. msgstr ""
  5689. #. type: table
  5690. #: guix-git/doc/guix.texi:1711
  5691. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with gzip by default."
  5692. msgstr ""
  5693. #. type: item
  5694. #: guix-git/doc/guix.texi:1712
  5695. #, no-wrap
  5696. msgid "--discover[=yes|no]"
  5697. msgstr ""
  5698. #. type: table
  5699. #: guix-git/doc/guix.texi:1715 guix-git/doc/guix.texi:17045
  5700. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5701. msgstr ""
  5702. #. type: table
  5703. #: guix-git/doc/guix.texi:1718
  5704. msgid "This feature is still experimental. However, here are a few considerations."
  5705. msgstr ""
  5706. #. type: enumerate
  5707. #: guix-git/doc/guix.texi:1722
  5708. msgid "It might be faster/less expensive than fetching from remote servers;"
  5709. msgstr ""
  5710. #. type: enumerate
  5711. #: guix-git/doc/guix.texi:1725
  5712. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5713. msgstr ""
  5714. #. type: enumerate
  5715. #: guix-git/doc/guix.texi:1729
  5716. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5717. msgstr ""
  5718. #. type: enumerate
  5719. #: guix-git/doc/guix.texi:1732
  5720. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5721. msgstr ""
  5722. #. type: table
  5723. #: guix-git/doc/guix.texi:1736
  5724. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5725. msgstr ""
  5726. #. type: example
  5727. #: guix-git/doc/guix.texi:1740
  5728. #, no-wrap
  5729. msgid ""
  5730. "herd discover guix-daemon on\n"
  5731. "herd discover guix-daemon off\n"
  5732. msgstr ""
  5733. #. type: item
  5734. #: guix-git/doc/guix.texi:1742
  5735. #, no-wrap
  5736. msgid "--disable-deduplication"
  5737. msgstr ""
  5738. #. type: cindex
  5739. #: guix-git/doc/guix.texi:1743 guix-git/doc/guix.texi:4360
  5740. #, no-wrap
  5741. msgid "deduplication"
  5742. msgstr "deduplikácia"
  5743. #. type: table
  5744. #: guix-git/doc/guix.texi:1745
  5745. msgid "Disable automatic file ``deduplication'' in the store."
  5746. msgstr ""
  5747. #. type: table
  5748. #: guix-git/doc/guix.texi:1752
  5749. msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization."
  5750. msgstr ""
  5751. #. type: item
  5752. #: guix-git/doc/guix.texi:1753
  5753. #, no-wrap
  5754. msgid "--gc-keep-outputs[=yes|no]"
  5755. msgstr ""
  5756. #. type: table
  5757. #: guix-git/doc/guix.texi:1756
  5758. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5759. msgstr ""
  5760. #. type: cindex
  5761. #: guix-git/doc/guix.texi:1757 guix-git/doc/guix.texi:4173
  5762. #, no-wrap
  5763. msgid "GC roots"
  5764. msgstr ""
  5765. #. type: cindex
  5766. #: guix-git/doc/guix.texi:1758 guix-git/doc/guix.texi:4174
  5767. #, no-wrap
  5768. msgid "garbage collector roots"
  5769. msgstr ""
  5770. #. type: table
  5771. #: guix-git/doc/guix.texi:1764
  5772. msgid "When set to @code{yes}, the GC will keep the outputs of any live derivation available in the store---the @file{.drv} files. The default is @code{no}, meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots."
  5773. msgstr ""
  5774. #. type: item
  5775. #: guix-git/doc/guix.texi:1765
  5776. #, no-wrap
  5777. msgid "--gc-keep-derivations[=yes|no]"
  5778. msgstr ""
  5779. #. type: table
  5780. #: guix-git/doc/guix.texi:1768
  5781. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5782. msgstr ""
  5783. #. type: table
  5784. #: guix-git/doc/guix.texi:1774
  5785. msgid "When set to @code{yes}, as is the case by default, the GC keeps derivations---i.e., @file{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to @code{no} saves a bit of disk space."
  5786. msgstr ""
  5787. #. type: table
  5788. #: guix-git/doc/guix.texi:1783
  5789. msgid "In this way, setting @option{--gc-keep-derivations} to @code{yes} causes liveness to flow from outputs to derivations, and setting @option{--gc-keep-outputs} to @code{yes} causes liveness to flow from derivations to outputs. When both are set to @code{yes}, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads."
  5790. msgstr ""
  5791. #. type: item
  5792. #: guix-git/doc/guix.texi:1784
  5793. #, no-wrap
  5794. msgid "--impersonate-linux-2.6"
  5795. msgstr ""
  5796. #. type: table
  5797. #: guix-git/doc/guix.texi:1787
  5798. msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @command{uname} system call will report 2.6 as the release number."
  5799. msgstr ""
  5800. #. type: table
  5801. #: guix-git/doc/guix.texi:1790
  5802. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5803. msgstr ""
  5804. #. type: item
  5805. #: guix-git/doc/guix.texi:1791
  5806. #, no-wrap
  5807. msgid "--lose-logs"
  5808. msgstr ""
  5809. #. type: table
  5810. #: guix-git/doc/guix.texi:1794
  5811. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5812. msgstr ""
  5813. #. type: item
  5814. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:4605
  5815. #: guix-git/doc/guix.texi:5881 guix-git/doc/guix.texi:6294
  5816. #: guix-git/doc/guix.texi:6694 guix-git/doc/guix.texi:11923
  5817. #: guix-git/doc/guix.texi:13648 guix-git/doc/guix.texi:13913
  5818. #: guix-git/doc/guix.texi:14590 guix-git/doc/guix.texi:34995
  5819. #: guix-git/doc/guix.texi:35809
  5820. #, no-wrap
  5821. msgid "--system=@var{system}"
  5822. msgstr ""
  5823. #. type: table
  5824. #: guix-git/doc/guix.texi:1799
  5825. msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}."
  5826. msgstr ""
  5827. #. type: item
  5828. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:11165
  5829. #, no-wrap
  5830. msgid "--listen=@var{endpoint}"
  5831. msgstr ""
  5832. #. type: table
  5833. #: guix-git/doc/guix.texi:1805
  5834. msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:"
  5835. msgstr ""
  5836. #. type: item
  5837. #: guix-git/doc/guix.texi:1807
  5838. #, no-wrap
  5839. msgid "--listen=/gnu/var/daemon"
  5840. msgstr ""
  5841. #. type: table
  5842. #: guix-git/doc/guix.texi:1810
  5843. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5844. msgstr ""
  5845. #. type: item
  5846. #: guix-git/doc/guix.texi:1811
  5847. #, no-wrap
  5848. msgid "--listen=localhost"
  5849. msgstr ""
  5850. #. type: cindex
  5851. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:9839
  5852. #, no-wrap
  5853. msgid "daemon, remote access"
  5854. msgstr ""
  5855. #. type: cindex
  5856. #: guix-git/doc/guix.texi:1813 guix-git/doc/guix.texi:9840
  5857. #, no-wrap
  5858. msgid "remote access to the daemon"
  5859. msgstr ""
  5860. #. type: cindex
  5861. #: guix-git/doc/guix.texi:1814 guix-git/doc/guix.texi:9841
  5862. #, no-wrap
  5863. msgid "daemon, cluster setup"
  5864. msgstr ""
  5865. #. type: cindex
  5866. #: guix-git/doc/guix.texi:1815 guix-git/doc/guix.texi:9842
  5867. #, no-wrap
  5868. msgid "clusters, daemon setup"
  5869. msgstr ""
  5870. #. type: table
  5871. #: guix-git/doc/guix.texi:1818
  5872. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5873. msgstr ""
  5874. #. type: item
  5875. #: guix-git/doc/guix.texi:1819
  5876. #, no-wrap
  5877. msgid "--listen=128.0.0.42:1234"
  5878. msgstr ""
  5879. #. type: table
  5880. #: guix-git/doc/guix.texi:1822
  5881. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5882. msgstr ""
  5883. #. type: table
  5884. #: guix-git/doc/guix.texi:1829
  5885. msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @env{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @env{GUIX_DAEMON_SOCKET}})."
  5886. msgstr ""
  5887. #. type: quotation
  5888. #: guix-git/doc/guix.texi:1836
  5889. msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @option{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH."
  5890. msgstr ""
  5891. #. type: table
  5892. #: guix-git/doc/guix.texi:1841
  5893. msgid "When @option{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}."
  5894. msgstr ""
  5895. #. type: Plain text
  5896. #: guix-git/doc/guix.texi:1851
  5897. msgid "When using Guix on top of GNU/Linux distribution other than Guix System---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them."
  5898. msgstr ""
  5899. #. type: anchor{#1}
  5900. #: guix-git/doc/guix.texi:1855
  5901. msgid "locales-and-locpath"
  5902. msgstr ""
  5903. #. type: cindex
  5904. #: guix-git/doc/guix.texi:1855
  5905. #, no-wrap
  5906. msgid "locales, when not on Guix System"
  5907. msgstr ""
  5908. #. type: vindex
  5909. #: guix-git/doc/guix.texi:1856 guix-git/doc/guix.texi:16248
  5910. #, no-wrap
  5911. msgid "LOCPATH"
  5912. msgstr ""
  5913. #. type: vindex
  5914. #: guix-git/doc/guix.texi:1857
  5915. #, no-wrap
  5916. msgid "GUIX_LOCPATH"
  5917. msgstr ""
  5918. #. type: Plain text
  5919. #: guix-git/doc/guix.texi:1862
  5920. msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @env{GUIX_LOCPATH} environment variable:"
  5921. msgstr ""
  5922. #. type: example
  5923. #: guix-git/doc/guix.texi:1866
  5924. #, no-wrap
  5925. msgid ""
  5926. "$ guix install glibc-locales\n"
  5927. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5928. msgstr ""
  5929. #. type: Plain text
  5930. #: guix-git/doc/guix.texi:1878
  5931. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 930@tie{}MiB@footnote{The size of the @code{glibc-locales} package is reduced down to about 213@tie{}MiB with store deduplication and further down to about 67@tie{}MiB when using a zstd-compressed Btrfs file system.}. If you only need a few locales, you can define your custom locales package via the @code{make-glibc-utf8-locales} procedure from the @code{(gnu packages base)} module. The following example defines a package containing the various Canadian UTF-8 locales known to the GNU@tie{}libc, that weighs around 14@tie{}MiB:"
  5932. msgstr ""
  5933. #. type: lisp
  5934. #: guix-git/doc/guix.texi:1881
  5935. #, no-wrap
  5936. msgid ""
  5937. "(use-modules (gnu packages base))\n"
  5938. "\n"
  5939. msgstr ""
  5940. #. type: lisp
  5941. #: guix-git/doc/guix.texi:1887
  5942. #, no-wrap
  5943. msgid ""
  5944. "(define my-glibc-locales\n"
  5945. " (make-glibc-utf8-locales\n"
  5946. " glibc\n"
  5947. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  5948. " #:name \"glibc-canadian-utf8-locales\"))\n"
  5949. msgstr ""
  5950. #. type: Plain text
  5951. #: guix-git/doc/guix.texi:1892
  5952. msgid "The @env{GUIX_LOCPATH} variable plays a role similar to @env{LOCPATH} (@pxref{Locale Names, @env{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:"
  5953. msgstr ""
  5954. #. type: enumerate
  5955. #: guix-git/doc/guix.texi:1899
  5956. msgid "@env{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @env{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data."
  5957. msgstr ""
  5958. #. type: enumerate
  5959. #: guix-git/doc/guix.texi:1906
  5960. msgid "libc suffixes each entry of @env{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format."
  5961. msgstr ""
  5962. #. type: Plain text
  5963. #: guix-git/doc/guix.texi:1910
  5964. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5965. msgstr ""
  5966. #. type: cindex
  5967. #: guix-git/doc/guix.texi:1913
  5968. #, no-wrap
  5969. msgid "name service switch, glibc"
  5970. msgstr ""
  5971. #. type: cindex
  5972. #: guix-git/doc/guix.texi:1914
  5973. #, no-wrap
  5974. msgid "NSS (name service switch), glibc"
  5975. msgstr ""
  5976. #. type: cindex
  5977. #: guix-git/doc/guix.texi:1915
  5978. #, no-wrap
  5979. msgid "nscd (name service caching daemon)"
  5980. msgstr ""
  5981. #. type: cindex
  5982. #: guix-git/doc/guix.texi:1916
  5983. #, no-wrap
  5984. msgid "name service caching daemon (nscd)"
  5985. msgstr ""
  5986. #. type: Plain text
  5987. #: guix-git/doc/guix.texi:1923
  5988. msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why."
  5989. msgstr ""
  5990. #. type: file{#1}
  5991. #: guix-git/doc/guix.texi:1924
  5992. #, no-wrap
  5993. msgid "nsswitch.conf"
  5994. msgstr ""
  5995. #. type: Plain text
  5996. #: guix-git/doc/guix.texi:1929
  5997. msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})."
  5998. msgstr ""
  5999. #. type: cindex
  6000. #: guix-git/doc/guix.texi:1930
  6001. #, no-wrap
  6002. msgid "Network information service (NIS)"
  6003. msgstr ""
  6004. #. type: cindex
  6005. #: guix-git/doc/guix.texi:1931
  6006. #, no-wrap
  6007. msgid "NIS (Network information service)"
  6008. msgstr ""
  6009. #. type: Plain text
  6010. #: guix-git/doc/guix.texi:1940
  6011. msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})."
  6012. msgstr ""
  6013. #. type: Plain text
  6014. #: guix-git/doc/guix.texi:1950
  6015. msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)."
  6016. msgstr ""
  6017. #. type: Plain text
  6018. #: guix-git/doc/guix.texi:1955
  6019. msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly."
  6020. msgstr ""
  6021. #. type: Plain text
  6022. #: guix-git/doc/guix.texi:1960
  6023. msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves."
  6024. msgstr ""
  6025. #. type: subsection
  6026. #: guix-git/doc/guix.texi:1961
  6027. #, no-wrap
  6028. msgid "X11 Fonts"
  6029. msgstr ""
  6030. #. type: Plain text
  6031. #: guix-git/doc/guix.texi:1971
  6032. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  6033. msgstr ""
  6034. #. type: code{#1}
  6035. #: guix-git/doc/guix.texi:1972
  6036. #, no-wrap
  6037. msgid "fc-cache"
  6038. msgstr ""
  6039. #. type: cindex
  6040. #: guix-git/doc/guix.texi:1973
  6041. #, no-wrap
  6042. msgid "font cache"
  6043. msgstr ""
  6044. #. type: Plain text
  6045. #: guix-git/doc/guix.texi:1977
  6046. msgid "Once you have installed or removed fonts, or when you notice an application that does not find fonts, you may need to install Fontconfig and to force an update of its font cache by running:"
  6047. msgstr ""
  6048. #. type: example
  6049. #: guix-git/doc/guix.texi:1981
  6050. #, no-wrap
  6051. msgid ""
  6052. "guix install fontconfig\n"
  6053. "fc-cache -rv\n"
  6054. msgstr ""
  6055. #. type: Plain text
  6056. #: guix-git/doc/guix.texi:1989
  6057. msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:"
  6058. msgstr ""
  6059. #. type: example
  6060. #: guix-git/doc/guix.texi:1992
  6061. #, no-wrap
  6062. msgid "guix install font-adobe-source-han-sans:cn\n"
  6063. msgstr ""
  6064. #. type: code{#1}
  6065. #: guix-git/doc/guix.texi:1994
  6066. #, no-wrap
  6067. msgid "xterm"
  6068. msgstr ""
  6069. #. type: Plain text
  6070. #: guix-git/doc/guix.texi:1998
  6071. msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:"
  6072. msgstr ""
  6073. #. type: example
  6074. #: guix-git/doc/guix.texi:2001
  6075. #, no-wrap
  6076. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  6077. msgstr ""
  6078. #. type: Plain text
  6079. #: guix-git/doc/guix.texi:2005
  6080. msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:"
  6081. msgstr ""
  6082. #. type: example
  6083. #: guix-git/doc/guix.texi:2010
  6084. #, no-wrap
  6085. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  6086. msgstr ""
  6087. #. type: code{#1}
  6088. #: guix-git/doc/guix.texi:2012
  6089. #, no-wrap
  6090. msgid "xlsfonts"
  6091. msgstr ""
  6092. #. type: Plain text
  6093. #: guix-git/doc/guix.texi:2015
  6094. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6095. msgstr ""
  6096. #. type: code{#1}
  6097. #: guix-git/doc/guix.texi:2019 guix-git/doc/guix.texi:34714
  6098. #, no-wrap
  6099. msgid "nss-certs"
  6100. msgstr ""
  6101. #. type: Plain text
  6102. #: guix-git/doc/guix.texi:2022
  6103. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6104. msgstr ""
  6105. #. type: Plain text
  6106. #: guix-git/doc/guix.texi:2027
  6107. msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information."
  6108. msgstr ""
  6109. #. type: code{#1}
  6110. #: guix-git/doc/guix.texi:2030
  6111. #, no-wrap
  6112. msgid "emacs"
  6113. msgstr "emacs"
  6114. #. type: Plain text
  6115. #: guix-git/doc/guix.texi:2036
  6116. msgid "When you install Emacs packages with Guix, the Elisp files are placed under the @file{share/emacs/site-lisp/} directory of the profile in which they are installed. The Elisp libraries are made available to Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself."
  6117. msgstr ""
  6118. #. type: Plain text
  6119. #: guix-git/doc/guix.texi:2043
  6120. msgid "Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific @code{guix-emacs-autoload-packages} procedure. If, for some reason, you want to avoid auto-loading the Emacs packages installed with Guix, you can do so by running Emacs with the @option{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})."
  6121. msgstr ""
  6122. #. type: cindex
  6123. #: guix-git/doc/guix.texi:2048
  6124. #, no-wrap
  6125. msgid "Upgrading Guix, on a foreign distro"
  6126. msgstr ""
  6127. #. type: Plain text
  6128. #: guix-git/doc/guix.texi:2051
  6129. msgid "To upgrade Guix, run:"
  6130. msgstr ""
  6131. #. type: example
  6132. #: guix-git/doc/guix.texi:2054 guix-git/doc/guix.texi:2912
  6133. #, no-wrap
  6134. msgid "guix pull\n"
  6135. msgstr ""
  6136. #. type: Plain text
  6137. #: guix-git/doc/guix.texi:2057
  6138. msgid "@xref{Invoking guix pull}, for more information."
  6139. msgstr ""
  6140. #. type: cindex
  6141. #: guix-git/doc/guix.texi:2058
  6142. #, no-wrap
  6143. msgid "upgrading Guix for the root user, on a foreign distro"
  6144. msgstr ""
  6145. #. type: cindex
  6146. #: guix-git/doc/guix.texi:2059
  6147. #, no-wrap
  6148. msgid "upgrading the Guix daemon, on a foreign distro"
  6149. msgstr ""
  6150. #. type: cindex
  6151. #: guix-git/doc/guix.texi:2060
  6152. #, no-wrap
  6153. msgid "@command{guix pull} for the root user, on a foreign distro"
  6154. msgstr ""
  6155. #. type: Plain text
  6156. #: guix-git/doc/guix.texi:2063
  6157. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6158. msgstr ""
  6159. #. type: example
  6160. #: guix-git/doc/guix.texi:2066
  6161. #, no-wrap
  6162. msgid "sudo -i guix pull\n"
  6163. msgstr ""
  6164. #. type: Plain text
  6165. #: guix-git/doc/guix.texi:2071
  6166. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6167. msgstr ""
  6168. #. type: example
  6169. #: guix-git/doc/guix.texi:2074
  6170. #, no-wrap
  6171. msgid "systemctl restart guix-daemon.service\n"
  6172. msgstr ""
  6173. #. type: Plain text
  6174. #: guix-git/doc/guix.texi:2078
  6175. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6176. msgstr ""
  6177. #. type: cindex
  6178. #: guix-git/doc/guix.texi:2085
  6179. #, no-wrap
  6180. msgid "installing Guix System"
  6181. msgstr ""
  6182. #. type: cindex
  6183. #: guix-git/doc/guix.texi:2086
  6184. #, no-wrap
  6185. msgid "Guix System, installation"
  6186. msgstr ""
  6187. #. type: Plain text
  6188. #: guix-git/doc/guix.texi:2091
  6189. msgid "This section explains how to install Guix System on a machine. Guix, as a package manager, can also be installed on top of a running GNU/Linux system, @pxref{Installation}."
  6190. msgstr ""
  6191. #. type: quotation
  6192. #: guix-git/doc/guix.texi:2100
  6193. msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here."
  6194. msgstr ""
  6195. #. type: quotation
  6196. #: guix-git/doc/guix.texi:2103
  6197. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6198. msgstr ""
  6199. #. type: Plain text
  6200. #: guix-git/doc/guix.texi:2124
  6201. msgid "We consider Guix System to be ready for a wide range of ``desktop'' and server use cases. The reliability guarantees it provides---transactional upgrades and rollbacks, reproducibility---make it a solid foundation."
  6202. msgstr ""
  6203. #. type: Plain text
  6204. #: guix-git/doc/guix.texi:2127
  6205. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6206. msgstr ""
  6207. #. type: itemize
  6208. #: guix-git/doc/guix.texi:2132
  6209. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6210. msgstr ""
  6211. #. type: itemize
  6212. #: guix-git/doc/guix.texi:2137
  6213. msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, KDE is currently missing."
  6214. msgstr ""
  6215. #. type: Plain text
  6216. #: guix-git/doc/guix.texi:2142
  6217. msgid "More than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info."
  6218. msgstr ""
  6219. #. type: cindex
  6220. #: guix-git/doc/guix.texi:2147
  6221. #, no-wrap
  6222. msgid "hardware support on Guix System"
  6223. msgstr ""
  6224. #. type: Plain text
  6225. #: guix-git/doc/guix.texi:2156
  6226. msgid "GNU@tie{}Guix focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on Guix System."
  6227. msgstr ""
  6228. #. type: cindex
  6229. #: guix-git/doc/guix.texi:2157
  6230. #, no-wrap
  6231. msgid "WiFi, hardware support"
  6232. msgstr ""
  6233. #. type: Plain text
  6234. #: guix-git/doc/guix.texi:2166
  6235. msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on Guix System, as part of @code{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})."
  6236. msgstr ""
  6237. #. type: cindex
  6238. #: guix-git/doc/guix.texi:2167
  6239. #, no-wrap
  6240. msgid "RYF, Respects Your Freedom"
  6241. msgstr ""
  6242. #. type: Plain text
  6243. #: guix-git/doc/guix.texi:2173
  6244. msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices."
  6245. msgstr ""
  6246. #. type: Plain text
  6247. #: guix-git/doc/guix.texi:2177
  6248. msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux."
  6249. msgstr ""
  6250. #. type: Plain text
  6251. #: guix-git/doc/guix.texi:2186
  6252. msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso}, where you can replace @code{x86_64-linux} with one of:"
  6253. msgstr ""
  6254. #. type: table
  6255. #: guix-git/doc/guix.texi:2190
  6256. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6257. msgstr ""
  6258. #. type: table
  6259. #: guix-git/doc/guix.texi:2193
  6260. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6261. msgstr ""
  6262. #. type: Plain text
  6263. #: guix-git/doc/guix.texi:2198
  6264. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6265. msgstr ""
  6266. #. type: example
  6267. #: guix-git/doc/guix.texi:2202
  6268. #, no-wrap
  6269. msgid ""
  6270. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6271. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6272. msgstr ""
  6273. #. type: example
  6274. #: guix-git/doc/guix.texi:2210
  6275. #, no-wrap
  6276. msgid ""
  6277. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6278. " -qO - | gpg --import -\n"
  6279. msgstr ""
  6280. #. type: Plain text
  6281. #: guix-git/doc/guix.texi:2222
  6282. msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD."
  6283. msgstr ""
  6284. #. type: unnumberedsubsec
  6285. #: guix-git/doc/guix.texi:2223
  6286. #, no-wrap
  6287. msgid "Copying to a USB Stick"
  6288. msgstr ""
  6289. #. type: Plain text
  6290. #: guix-git/doc/guix.texi:2228
  6291. msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:"
  6292. msgstr ""
  6293. #. type: example
  6294. #: guix-git/doc/guix.texi:2232
  6295. #, no-wrap
  6296. msgid ""
  6297. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6298. "sync\n"
  6299. msgstr ""
  6300. #. type: Plain text
  6301. #: guix-git/doc/guix.texi:2235
  6302. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6303. msgstr ""
  6304. #. type: unnumberedsubsec
  6305. #: guix-git/doc/guix.texi:2236
  6306. #, no-wrap
  6307. msgid "Burning on a DVD"
  6308. msgstr ""
  6309. #. type: Plain text
  6310. #: guix-git/doc/guix.texi:2241
  6311. msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:"
  6312. msgstr ""
  6313. #. type: example
  6314. #: guix-git/doc/guix.texi:2244
  6315. #, no-wrap
  6316. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6317. msgstr ""
  6318. #. type: Plain text
  6319. #: guix-git/doc/guix.texi:2247
  6320. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6321. msgstr ""
  6322. #. type: unnumberedsubsec
  6323. #: guix-git/doc/guix.texi:2248
  6324. #, no-wrap
  6325. msgid "Booting"
  6326. msgstr ""
  6327. #. type: Plain text
  6328. #: guix-git/doc/guix.texi:2255
  6329. msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD@. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick. In order to boot from Libreboot, switch to the command mode by pressing the @kbd{c} key and type @command{search_grub usb}."
  6330. msgstr ""
  6331. #. type: Plain text
  6332. #: guix-git/doc/guix.texi:2258
  6333. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6334. msgstr ""
  6335. #. type: Plain text
  6336. #: guix-git/doc/guix.texi:2268
  6337. msgid "Once you have booted, you can use the guided graphical installer, which makes it easy to get started (@pxref{Guided Graphical Installation}). Alternatively, if you are already familiar with GNU/Linux and if you want more control than what the graphical installer provides, you can choose the ``manual'' installation process (@pxref{Manual Installation})."
  6338. msgstr ""
  6339. #. type: Plain text
  6340. #: guix-git/doc/guix.texi:2276
  6341. msgid "The graphical installer is available on TTY1. You can obtain root shells on TTYs 3 to 6 by hitting @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, etc. TTY2 shows this documentation and you can reach it with @kbd{ctrl-alt-f2}. Documentation is browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button."
  6342. msgstr ""
  6343. #. type: quotation
  6344. #: guix-git/doc/guix.texi:2281
  6345. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6346. msgstr ""
  6347. #. type: Plain text
  6348. #: guix-git/doc/guix.texi:2288
  6349. msgid "The graphical installer is a text-based user interface. It will guide you, with dialog boxes, through the steps needed to install GNU@tie{}Guix System."
  6350. msgstr ""
  6351. #. type: Plain text
  6352. #: guix-git/doc/guix.texi:2293
  6353. msgid "The first dialog boxes allow you to set up the system as you use it during the installation: you can choose the language, keyboard layout, and set up networking, which will be used during the installation. The image below shows the networking dialog."
  6354. msgstr ""
  6355. #. type: Plain text
  6356. #: guix-git/doc/guix.texi:2295
  6357. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6358. msgstr ""
  6359. #. type: Plain text
  6360. #: guix-git/doc/guix.texi:2300
  6361. msgid "Later steps allow you to partition your hard disk, as shown in the image below, to choose whether or not to use encrypted file systems, to enter the host name and root password, and to create an additional account, among other things."
  6362. msgstr ""
  6363. #. type: Plain text
  6364. #: guix-git/doc/guix.texi:2302
  6365. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6366. msgstr ""
  6367. #. type: Plain text
  6368. #: guix-git/doc/guix.texi:2305
  6369. msgid "Note that, at any time, the installer allows you to exit the current installation step and resume at a previous step, as show in the image below."
  6370. msgstr ""
  6371. #. type: Plain text
  6372. #: guix-git/doc/guix.texi:2307
  6373. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6374. msgstr ""
  6375. #. type: Plain text
  6376. #: guix-git/doc/guix.texi:2312
  6377. msgid "Once you're done, the installer produces an operating system configuration and displays it (@pxref{Using the Configuration System}). At that point you can hit ``OK'' and installation will proceed. On success, you can reboot into the new system and enjoy. @xref{After System Installation}, for what's next!"
  6378. msgstr ""
  6379. #. type: Plain text
  6380. #: guix-git/doc/guix.texi:2322
  6381. msgid "This section describes how you would ``manually'' install GNU@tie{}Guix System on your machine. This option requires familiarity with GNU/Linux, with the shell, and with common administration tools. If you think this is not for you, consider using the guided graphical installer (@pxref{Guided Graphical Installation})."
  6382. msgstr ""
  6383. #. type: Plain text
  6384. #: guix-git/doc/guix.texi:2328
  6385. msgid "The installation system provides root shells on TTYs 3 to 6; press @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, and so on to reach them. It includes many common tools needed to install the system. But it is also a full-blown Guix System, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})."
  6386. msgstr ""
  6387. #. type: subsection
  6388. #: guix-git/doc/guix.texi:2335
  6389. #, no-wrap
  6390. msgid "Keyboard Layout, Networking, and Partitioning"
  6391. msgstr ""
  6392. #. type: Plain text
  6393. #: guix-git/doc/guix.texi:2340
  6394. msgid "Before you can install the system, you may want to adjust the keyboard layout, set up networking, and partition your target hard disk. This section will guide you through this."
  6395. msgstr ""
  6396. #. type: cindex
  6397. #: guix-git/doc/guix.texi:2343 guix-git/doc/guix.texi:16062
  6398. #, no-wrap
  6399. msgid "keyboard layout"
  6400. msgstr ""
  6401. #. type: Plain text
  6402. #: guix-git/doc/guix.texi:2347
  6403. msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:"
  6404. msgstr ""
  6405. #. type: example
  6406. #: guix-git/doc/guix.texi:2350
  6407. #, no-wrap
  6408. msgid "loadkeys dvorak\n"
  6409. msgstr ""
  6410. #. type: Plain text
  6411. #: guix-git/doc/guix.texi:2355
  6412. msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information."
  6413. msgstr ""
  6414. #. type: subsubsection
  6415. #: guix-git/doc/guix.texi:2356
  6416. #, no-wrap
  6417. msgid "Networking"
  6418. msgstr "Sieť"
  6419. #. type: Plain text
  6420. #: guix-git/doc/guix.texi:2359
  6421. msgid "Run the following command to see what your network interfaces are called:"
  6422. msgstr ""
  6423. #. type: example
  6424. #: guix-git/doc/guix.texi:2362
  6425. #, no-wrap
  6426. msgid "ifconfig -a\n"
  6427. msgstr ""
  6428. #. type: table
  6429. #: guix-git/doc/guix.texi:2366 guix-git/doc/guix.texi:2388
  6430. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6431. msgstr ""
  6432. #. type: example
  6433. #: guix-git/doc/guix.texi:2369
  6434. #, no-wrap
  6435. msgid "ip address\n"
  6436. msgstr ""
  6437. #. type: Plain text
  6438. #: guix-git/doc/guix.texi:2376
  6439. msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}."
  6440. msgstr ""
  6441. #. type: item
  6442. #: guix-git/doc/guix.texi:2378
  6443. #, no-wrap
  6444. msgid "Wired connection"
  6445. msgstr ""
  6446. #. type: table
  6447. #: guix-git/doc/guix.texi:2381
  6448. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6449. msgstr ""
  6450. #. type: example
  6451. #: guix-git/doc/guix.texi:2384
  6452. #, no-wrap
  6453. msgid "ifconfig @var{interface} up\n"
  6454. msgstr ""
  6455. #. type: example
  6456. #: guix-git/doc/guix.texi:2391
  6457. #, no-wrap
  6458. msgid "ip link set @var{interface} up\n"
  6459. msgstr ""
  6460. #. type: item
  6461. #: guix-git/doc/guix.texi:2393
  6462. #, no-wrap
  6463. msgid "Wireless connection"
  6464. msgstr ""
  6465. #. type: cindex
  6466. #: guix-git/doc/guix.texi:2394 guix-git/doc/guix.texi:17971
  6467. #, no-wrap
  6468. msgid "wireless"
  6469. msgstr "bezdrôtová"
  6470. #. type: cindex
  6471. #: guix-git/doc/guix.texi:2395 guix-git/doc/guix.texi:17972
  6472. #, no-wrap
  6473. msgid "WiFi"
  6474. msgstr ""
  6475. #. type: table
  6476. #: guix-git/doc/guix.texi:2400
  6477. msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:"
  6478. msgstr ""
  6479. #. type: example
  6480. #: guix-git/doc/guix.texi:2403
  6481. #, no-wrap
  6482. msgid "nano wpa_supplicant.conf\n"
  6483. msgstr ""
  6484. #. type: table
  6485. #: guix-git/doc/guix.texi:2408
  6486. msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:"
  6487. msgstr ""
  6488. #. type: example
  6489. #: guix-git/doc/guix.texi:2415
  6490. #, no-wrap
  6491. msgid ""
  6492. "network=@{\n"
  6493. " ssid=\"@var{my-ssid}\"\n"
  6494. " key_mgmt=WPA-PSK\n"
  6495. " psk=\"the network's secret passphrase\"\n"
  6496. "@}\n"
  6497. msgstr ""
  6498. #. type: table
  6499. #: guix-git/doc/guix.texi:2420
  6500. msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):"
  6501. msgstr ""
  6502. #. type: example
  6503. #: guix-git/doc/guix.texi:2423
  6504. #, no-wrap
  6505. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6506. msgstr ""
  6507. #. type: table
  6508. #: guix-git/doc/guix.texi:2426
  6509. msgid "Run @command{man wpa_supplicant} for more information."
  6510. msgstr ""
  6511. #. type: cindex
  6512. #: guix-git/doc/guix.texi:2428
  6513. #, no-wrap
  6514. msgid "DHCP"
  6515. msgstr ""
  6516. #. type: Plain text
  6517. #: guix-git/doc/guix.texi:2431
  6518. msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:"
  6519. msgstr ""
  6520. #. type: example
  6521. #: guix-git/doc/guix.texi:2434
  6522. #, no-wrap
  6523. msgid "dhclient -v @var{interface}\n"
  6524. msgstr ""
  6525. #. type: Plain text
  6526. #: guix-git/doc/guix.texi:2437
  6527. msgid "Try to ping a server to see if networking is up and running:"
  6528. msgstr ""
  6529. #. type: example
  6530. #: guix-git/doc/guix.texi:2440
  6531. #, no-wrap
  6532. msgid "ping -c 3 gnu.org\n"
  6533. msgstr ""
  6534. #. type: Plain text
  6535. #: guix-git/doc/guix.texi:2444
  6536. msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed."
  6537. msgstr ""
  6538. #. type: cindex
  6539. #: guix-git/doc/guix.texi:2445
  6540. #, no-wrap
  6541. msgid "proxy, during system installation"
  6542. msgstr ""
  6543. #. type: Plain text
  6544. #: guix-git/doc/guix.texi:2448
  6545. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6546. msgstr ""
  6547. #. type: example
  6548. #: guix-git/doc/guix.texi:2451
  6549. #, no-wrap
  6550. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6551. msgstr ""
  6552. #. type: Plain text
  6553. #: guix-git/doc/guix.texi:2456
  6554. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6555. msgstr ""
  6556. #. type: cindex
  6557. #: guix-git/doc/guix.texi:2457
  6558. #, no-wrap
  6559. msgid "installing over SSH"
  6560. msgstr ""
  6561. #. type: Plain text
  6562. #: guix-git/doc/guix.texi:2460
  6563. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6564. msgstr ""
  6565. #. type: example
  6566. #: guix-git/doc/guix.texi:2463
  6567. #, no-wrap
  6568. msgid "herd start ssh-daemon\n"
  6569. msgstr ""
  6570. #. type: Plain text
  6571. #: guix-git/doc/guix.texi:2467
  6572. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6573. msgstr ""
  6574. #. type: subsubsection
  6575. #: guix-git/doc/guix.texi:2468
  6576. #, no-wrap
  6577. msgid "Disk Partitioning"
  6578. msgstr ""
  6579. #. type: Plain text
  6580. #: guix-git/doc/guix.texi:2472
  6581. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6582. msgstr ""
  6583. #. type: Plain text
  6584. #: guix-git/doc/guix.texi:2477
  6585. msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:"
  6586. msgstr ""
  6587. #. type: example
  6588. #: guix-git/doc/guix.texi:2480
  6589. #, no-wrap
  6590. msgid "cfdisk\n"
  6591. msgstr ""
  6592. #. type: Plain text
  6593. #: guix-git/doc/guix.texi:2486
  6594. msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})."
  6595. msgstr ""
  6596. #. type: cindex
  6597. #: guix-git/doc/guix.texi:2487
  6598. #, no-wrap
  6599. msgid "EFI, installation"
  6600. msgstr ""
  6601. #. type: cindex
  6602. #: guix-git/doc/guix.texi:2488
  6603. #, no-wrap
  6604. msgid "UEFI, installation"
  6605. msgstr ""
  6606. #. type: cindex
  6607. #: guix-git/doc/guix.texi:2489
  6608. #, no-wrap
  6609. msgid "ESP, EFI system partition"
  6610. msgstr ""
  6611. #. type: Plain text
  6612. #: guix-git/doc/guix.texi:2493
  6613. msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition can be mounted at @file{/boot/efi} for instance and must have the @code{esp} flag set. E.g., for @command{parted}:"
  6614. msgstr ""
  6615. #. type: example
  6616. #: guix-git/doc/guix.texi:2496
  6617. #, no-wrap
  6618. msgid "parted /dev/sda set 1 esp on\n"
  6619. msgstr ""
  6620. #. type: vindex
  6621. #: guix-git/doc/guix.texi:2499 guix-git/doc/guix.texi:35133
  6622. #, no-wrap
  6623. msgid "grub-bootloader"
  6624. msgstr ""
  6625. #. type: vindex
  6626. #: guix-git/doc/guix.texi:2500 guix-git/doc/guix.texi:35127
  6627. #, no-wrap
  6628. msgid "grub-efi-bootloader"
  6629. msgstr ""
  6630. #. type: quotation
  6631. #: guix-git/doc/guix.texi:2507
  6632. msgid "Unsure whether to use EFI- or BIOS-based GRUB? If the directory @file{/sys/firmware/efi} exists in the installation image, then you should probably perform an EFI installation, using @code{grub-efi-bootloader}. Otherwise you should use the BIOS-based GRUB, known as @code{grub-bootloader}. @xref{Bootloader Configuration}, for more info on bootloaders."
  6633. msgstr ""
  6634. #. type: Plain text
  6635. #: guix-git/doc/guix.texi:2515
  6636. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  6637. msgstr ""
  6638. #. type: example
  6639. #: guix-git/doc/guix.texi:2518
  6640. #, no-wrap
  6641. msgid "mkfs.fat -F32 /dev/sda1\n"
  6642. msgstr ""
  6643. #. type: Plain text
  6644. #: guix-git/doc/guix.texi:2525
  6645. msgid "For the root file system, ext4 is the most widely used format. Other file systems, such as Btrfs, support compression, which is reported to nicely complement file deduplication that the daemon performs independently of the file system (@pxref{Invoking guix-daemon, deduplication})."
  6646. msgstr ""
  6647. #. type: Plain text
  6648. #: guix-git/doc/guix.texi:2532
  6649. msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda2}, a file system with the label @code{my-root} can be created with:"
  6650. msgstr ""
  6651. #. type: example
  6652. #: guix-git/doc/guix.texi:2535
  6653. #, no-wrap
  6654. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6655. msgstr ""
  6656. #. type: cindex
  6657. #: guix-git/doc/guix.texi:2537 guix-git/doc/guix.texi:14936
  6658. #, no-wrap
  6659. msgid "encrypted disk"
  6660. msgstr ""
  6661. #. type: Plain text
  6662. #: guix-git/doc/guix.texi:2542
  6663. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information)."
  6664. msgstr ""
  6665. #. type: quotation
  6666. #: guix-git/doc/guix.texi:2543 guix-git/doc/guix.texi:5318
  6667. #: guix-git/doc/guix.texi:6554 guix-git/doc/guix.texi:15062
  6668. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:21507
  6669. #, no-wrap
  6670. msgid "Warning"
  6671. msgstr "Upozornenie"
  6672. #. type: quotation
  6673. #: guix-git/doc/guix.texi:2550
  6674. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  6675. msgstr ""
  6676. #. type: Plain text
  6677. #: guix-git/doc/guix.texi:2555
  6678. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  6679. msgstr ""
  6680. #. type: example
  6681. #: guix-git/doc/guix.texi:2560
  6682. #, no-wrap
  6683. msgid ""
  6684. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6685. "cryptsetup open /dev/sda2 my-partition\n"
  6686. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6687. msgstr ""
  6688. #. type: Plain text
  6689. #: guix-git/doc/guix.texi:2565
  6690. msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):"
  6691. msgstr ""
  6692. #. type: example
  6693. #: guix-git/doc/guix.texi:2568
  6694. #, no-wrap
  6695. msgid "mount LABEL=my-root /mnt\n"
  6696. msgstr ""
  6697. #. type: Plain text
  6698. #: guix-git/doc/guix.texi:2574
  6699. msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have opted for @file{/boot/efi} as an EFI mount point for example, mount it at @file{/mnt/boot/efi} now so it is found by @code{guix system init} afterwards."
  6700. msgstr ""
  6701. #. type: Plain text
  6702. #: guix-git/doc/guix.texi:2578
  6703. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6704. msgstr ""
  6705. #. type: example
  6706. #: guix-git/doc/guix.texi:2582
  6707. #, no-wrap
  6708. msgid ""
  6709. "mkswap /dev/sda3\n"
  6710. "swapon /dev/sda3\n"
  6711. msgstr ""
  6712. #. type: Plain text
  6713. #: guix-git/doc/guix.texi:2590
  6714. msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:"
  6715. msgstr ""
  6716. #. type: example
  6717. #: guix-git/doc/guix.texi:2598
  6718. #, no-wrap
  6719. msgid ""
  6720. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6721. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6722. "# For security, make the file readable and writable only by root.\n"
  6723. "chmod 600 /mnt/swapfile\n"
  6724. "mkswap /mnt/swapfile\n"
  6725. "swapon /mnt/swapfile\n"
  6726. msgstr ""
  6727. #. type: Plain text
  6728. #: guix-git/doc/guix.texi:2603
  6729. msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system."
  6730. msgstr ""
  6731. #. type: Plain text
  6732. #: guix-git/doc/guix.texi:2609
  6733. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6734. msgstr ""
  6735. #. type: example
  6736. #: guix-git/doc/guix.texi:2612
  6737. #, no-wrap
  6738. msgid "herd start cow-store /mnt\n"
  6739. msgstr ""
  6740. #. type: Plain text
  6741. #: guix-git/doc/guix.texi:2619
  6742. msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system."
  6743. msgstr ""
  6744. #. type: Plain text
  6745. #: guix-git/doc/guix.texi:2630
  6746. msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include mg (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system."
  6747. msgstr ""
  6748. #. type: Plain text
  6749. #: guix-git/doc/guix.texi:2637
  6750. msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:"
  6751. msgstr ""
  6752. #. type: example
  6753. #: guix-git/doc/guix.texi:2642
  6754. #, no-wrap
  6755. msgid ""
  6756. "# mkdir /mnt/etc\n"
  6757. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6758. "# nano /mnt/etc/config.scm\n"
  6759. msgstr ""
  6760. #. type: Plain text
  6761. #: guix-git/doc/guix.texi:2646
  6762. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6763. msgstr ""
  6764. #. type: itemize
  6765. #: guix-git/doc/guix.texi:2658
  6766. msgid "Make sure the @code{bootloader-configuration} form refers to the targets you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{targets} field contain the names of the devices, like @code{(list \"/dev/sda\")}; for UEFI systems it names the paths to mounted EFI partitions, like @code{(list \"/boot/efi\")}; do make sure the paths are currently mounted and a @code{file-system} entry is specified in your configuration."
  6767. msgstr ""
  6768. #. type: itemize
  6769. #: guix-git/doc/guix.texi:2664
  6770. msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration uses the @code{file-system-label} procedure in its @code{device} field."
  6771. msgstr ""
  6772. #. type: itemize
  6773. #: guix-git/doc/guix.texi:2668
  6774. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6775. msgstr ""
  6776. #. type: Plain text
  6777. #: guix-git/doc/guix.texi:2673
  6778. msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):"
  6779. msgstr ""
  6780. #. type: example
  6781. #: guix-git/doc/guix.texi:2676
  6782. #, no-wrap
  6783. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6784. msgstr ""
  6785. #. type: Plain text
  6786. #: guix-git/doc/guix.texi:2683
  6787. msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time."
  6788. msgstr ""
  6789. #. type: Plain text
  6790. #: guix-git/doc/guix.texi:2691
  6791. msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords}). @xref{After System Installation}, for what's next!"
  6792. msgstr ""
  6793. #. type: Plain text
  6794. #: guix-git/doc/guix.texi:2698
  6795. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6796. msgstr ""
  6797. #. type: example
  6798. #: guix-git/doc/guix.texi:2702
  6799. #, no-wrap
  6800. msgid ""
  6801. "guix pull\n"
  6802. "sudo guix system reconfigure /etc/config.scm\n"
  6803. msgstr ""
  6804. #. type: Plain text
  6805. #: guix-git/doc/guix.texi:2708
  6806. msgid "This builds a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})."
  6807. msgstr ""
  6808. #. type: cindex
  6809. #: guix-git/doc/guix.texi:2711
  6810. #, no-wrap
  6811. msgid "sudo vs. @command{guix pull}"
  6812. msgstr ""
  6813. #. type: quotation
  6814. #: guix-git/doc/guix.texi:2715
  6815. msgid "Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @env{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}."
  6816. msgstr ""
  6817. #. type: quotation
  6818. #: guix-git/doc/guix.texi:2720
  6819. msgid "The difference matters here, because @command{guix pull} updates the @command{guix} command and package definitions only for the user it is run as. This means that if you choose to use @command{guix system reconfigure} in root's login shell, you'll need to @command{guix pull} separately."
  6820. msgstr ""
  6821. #. type: Plain text
  6822. #: guix-git/doc/guix.texi:2725
  6823. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Libera Chat IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  6824. msgstr ""
  6825. #. type: section
  6826. #: guix-git/doc/guix.texi:2728
  6827. #, no-wrap
  6828. msgid "Installing Guix in a Virtual Machine"
  6829. msgstr ""
  6830. #. type: cindex
  6831. #: guix-git/doc/guix.texi:2730
  6832. #, no-wrap
  6833. msgid "virtual machine, Guix System installation"
  6834. msgstr ""
  6835. #. type: cindex
  6836. #: guix-git/doc/guix.texi:2731
  6837. #, no-wrap
  6838. msgid "virtual private server (VPS)"
  6839. msgstr ""
  6840. #. type: cindex
  6841. #: guix-git/doc/guix.texi:2732
  6842. #, no-wrap
  6843. msgid "VPS (virtual private server)"
  6844. msgstr ""
  6845. #. type: Plain text
  6846. #: guix-git/doc/guix.texi:2736
  6847. msgid "If you'd like to install Guix System in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you."
  6848. msgstr ""
  6849. #. type: Plain text
  6850. #: guix-git/doc/guix.texi:2739
  6851. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6852. msgstr ""
  6853. #. type: enumerate
  6854. #: guix-git/doc/guix.texi:2744
  6855. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6856. msgstr ""
  6857. #. type: enumerate
  6858. #: guix-git/doc/guix.texi:2748
  6859. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6860. msgstr ""
  6861. #. type: example
  6862. #: guix-git/doc/guix.texi:2751
  6863. #, no-wrap
  6864. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6865. msgstr ""
  6866. #. type: enumerate
  6867. #: guix-git/doc/guix.texi:2755
  6868. msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up."
  6869. msgstr ""
  6870. #. type: enumerate
  6871. #: guix-git/doc/guix.texi:2758
  6872. msgid "Boot the USB installation image in an VM:"
  6873. msgstr ""
  6874. #. type: example
  6875. #: guix-git/doc/guix.texi:2764
  6876. #, no-wrap
  6877. msgid ""
  6878. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6879. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6880. " -drive file=guix-system.img \\\n"
  6881. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6882. msgstr ""
  6883. #. type: enumerate
  6884. #: guix-git/doc/guix.texi:2768
  6885. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6886. msgstr ""
  6887. #. type: enumerate
  6888. #: guix-git/doc/guix.texi:2772
  6889. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6890. msgstr ""
  6891. #. type: Plain text
  6892. #: guix-git/doc/guix.texi:2777
  6893. msgid "Once installation is complete, you can boot the system that's on your @file{guix-system.img} image. @xref{Running Guix in a VM}, for how to do that."
  6894. msgstr ""
  6895. #. type: cindex
  6896. #: guix-git/doc/guix.texi:2781
  6897. #, no-wrap
  6898. msgid "installation image"
  6899. msgstr ""
  6900. #. type: Plain text
  6901. #: guix-git/doc/guix.texi:2784
  6902. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6903. msgstr ""
  6904. #. type: example
  6905. #: guix-git/doc/guix.texi:2787
  6906. #, no-wrap
  6907. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6908. msgstr ""
  6909. #. type: Plain text
  6910. #: guix-git/doc/guix.texi:2792
  6911. msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image."
  6912. msgstr ""
  6913. #. type: section
  6914. #: guix-git/doc/guix.texi:2793
  6915. #, no-wrap
  6916. msgid "Building the Installation Image for ARM Boards"
  6917. msgstr ""
  6918. #. type: Plain text
  6919. #: guix-git/doc/guix.texi:2797
  6920. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6921. msgstr ""
  6922. #. type: Plain text
  6923. #: guix-git/doc/guix.texi:2801
  6924. msgid "If you build a disk image and the bootloader is not available otherwise (on another boot drive etc), it's advisable to build an image that includes the bootloader, specifically:"
  6925. msgstr ""
  6926. #. type: example
  6927. #: guix-git/doc/guix.texi:2804
  6928. #, no-wrap
  6929. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6930. msgstr ""
  6931. #. type: Plain text
  6932. #: guix-git/doc/guix.texi:2808
  6933. msgid "@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an invalid board, a list of possible boards will be printed."
  6934. msgstr ""
  6935. #. type: Plain text
  6936. #: guix-git/doc/guix.texi:2818
  6937. msgid "Presumably, you've reached this section because either you have installed Guix on top of another distribution (@pxref{Installation}), or you've installed the standalone Guix System (@pxref{System Installation}). It's time for you to get started using Guix and this section aims to help you do that and give you a feel of what it's like."
  6938. msgstr ""
  6939. #. type: Plain text
  6940. #: guix-git/doc/guix.texi:2822
  6941. msgid "Guix is about installing software, so probably the first thing you'll want to do is to actually look for software. Let's say you're looking for a text editor, you can run:"
  6942. msgstr ""
  6943. #. type: example
  6944. #: guix-git/doc/guix.texi:2825
  6945. #, no-wrap
  6946. msgid "guix search text editor\n"
  6947. msgstr ""
  6948. #. type: Plain text
  6949. #: guix-git/doc/guix.texi:2832
  6950. msgid "This command shows you a number of matching @dfn{packages}, each time showing the package's name, version, a description, and additional info. Once you've found out the one you want to use, let's say Emacs (ah ha!), you can go ahead and install it (run this command as a regular user, @emph{no need for root privileges}!):"
  6951. msgstr ""
  6952. #. type: example
  6953. #: guix-git/doc/guix.texi:2835
  6954. #, no-wrap
  6955. msgid "guix install emacs\n"
  6956. msgstr ""
  6957. #. type: cindex
  6958. #: guix-git/doc/guix.texi:2837 guix-git/doc/guix.texi:3149
  6959. #: guix-git/doc/guix.texi:3201
  6960. #, no-wrap
  6961. msgid "profile"
  6962. msgstr "profil"
  6963. #. type: Plain text
  6964. #: guix-git/doc/guix.texi:2845
  6965. msgid "You've installed your first package, congrats! The package is now visible in your default @dfn{profile}, @file{$HOME/.guix-profile}---a profile is a directory containing installed packages. In the process, you've probably noticed that Guix downloaded pre-built binaries; or, if you explicitly chose to @emph{not} use pre-built binaries, then probably Guix is still building software (@pxref{Substitutes}, for more info)."
  6966. msgstr ""
  6967. #. type: Plain text
  6968. #: guix-git/doc/guix.texi:2848
  6969. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6970. msgstr ""
  6971. #. type: example
  6972. #: guix-git/doc/guix.texi:2851
  6973. #, no-wrap
  6974. msgid ""
  6975. "hint: Consider setting the necessary environment variables by running:\n"
  6976. "\n"
  6977. msgstr ""
  6978. #. type: example
  6979. #: guix-git/doc/guix.texi:2854
  6980. #, no-wrap
  6981. msgid ""
  6982. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6983. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6984. "\n"
  6985. msgstr ""
  6986. #. type: example
  6987. #: guix-git/doc/guix.texi:2856
  6988. #, no-wrap
  6989. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6990. msgstr ""
  6991. #. type: Plain text
  6992. #: guix-git/doc/guix.texi:2870
  6993. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @env{GUIX_PYTHONPATH} will be defined."
  6994. msgstr ""
  6995. #. type: Plain text
  6996. #: guix-git/doc/guix.texi:2873
  6997. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6998. msgstr ""
  6999. #. type: example
  7000. #: guix-git/doc/guix.texi:2876
  7001. #, no-wrap
  7002. msgid "guix package --list-installed\n"
  7003. msgstr ""
  7004. #. type: Plain text
  7005. #: guix-git/doc/guix.texi:2881
  7006. msgid "To remove a package, you would unsurprisingly run @command{guix remove}. A distinguishing feature is the ability to @dfn{roll back} any operation you made---installation, removal, upgrade---by simply typing:"
  7007. msgstr ""
  7008. #. type: example
  7009. #: guix-git/doc/guix.texi:2884
  7010. #, no-wrap
  7011. msgid "guix package --roll-back\n"
  7012. msgstr ""
  7013. #. type: Plain text
  7014. #: guix-git/doc/guix.texi:2889
  7015. msgid "This is because each operation is in fact a @dfn{transaction} that creates a new @dfn{generation}. These generations and the difference between them can be displayed by running:"
  7016. msgstr ""
  7017. #. type: example
  7018. #: guix-git/doc/guix.texi:2892
  7019. #, no-wrap
  7020. msgid "guix package --list-generations\n"
  7021. msgstr ""
  7022. #. type: Plain text
  7023. #: guix-git/doc/guix.texi:2895
  7024. msgid "Now you know the basics of package management!"
  7025. msgstr ""
  7026. #. type: quotation
  7027. #: guix-git/doc/guix.texi:2896 guix-git/doc/guix.texi:2955
  7028. #, no-wrap
  7029. msgid "Going further"
  7030. msgstr ""
  7031. #. type: quotation
  7032. #: guix-git/doc/guix.texi:2904
  7033. msgid "@xref{Package Management}, for more about package management. You may like @dfn{declarative} package management with @command{guix package --manifest}, managing separate @dfn{profiles} with @option{--profile}, deleting old generations, collecting garbage, and other nifty features that will come in handy as you become more familiar with Guix. If you are a developer, @pxref{Development} for additional tools. And if you're curious, @pxref{Features}, to peek under the hood."
  7034. msgstr ""
  7035. #. type: Plain text
  7036. #: guix-git/doc/guix.texi:2909
  7037. msgid "Once you've installed a set of packages, you will want to periodically @emph{upgrade} them to the latest and greatest version. To do that, you will first pull the latest revision of Guix and its package collection:"
  7038. msgstr ""
  7039. #. type: Plain text
  7040. #: guix-git/doc/guix.texi:2919
  7041. msgid "The end result is a new @command{guix} command, under @file{~/.config/guix/current/bin}. Unless you're on Guix System, the first time you run @command{guix pull}, be sure to follow the hint that the command prints and, similar to what we saw above, paste these two lines in your terminal and @file{.bash_profile}:"
  7042. msgstr ""
  7043. #. type: example
  7044. #: guix-git/doc/guix.texi:2923
  7045. #, no-wrap
  7046. msgid ""
  7047. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  7048. ". \"$GUIX_PROFILE/etc/profile\"\n"
  7049. msgstr ""
  7050. #. type: Plain text
  7051. #: guix-git/doc/guix.texi:2927
  7052. msgid "You must also instruct your shell to point to this new @command{guix}:"
  7053. msgstr ""
  7054. #. type: example
  7055. #: guix-git/doc/guix.texi:2930
  7056. #, no-wrap
  7057. msgid "hash guix\n"
  7058. msgstr ""
  7059. #. type: Plain text
  7060. #: guix-git/doc/guix.texi:2934
  7061. msgid "At this point, you're running a brand new Guix. You can thus go ahead and actually upgrade all the packages you previously installed:"
  7062. msgstr ""
  7063. #. type: example
  7064. #: guix-git/doc/guix.texi:2937
  7065. #, no-wrap
  7066. msgid "guix upgrade\n"
  7067. msgstr ""
  7068. #. type: Plain text
  7069. #: guix-git/doc/guix.texi:2943
  7070. msgid "As you run this command, you will see that binaries are downloaded (or perhaps some packages are built), and eventually you end up with the upgraded packages. Should one of these upgraded packages not be to your liking, remember you can always roll back!"
  7071. msgstr ""
  7072. #. type: Plain text
  7073. #: guix-git/doc/guix.texi:2946
  7074. msgid "You can display the exact revision of Guix you're currently using by running:"
  7075. msgstr ""
  7076. #. type: example
  7077. #: guix-git/doc/guix.texi:2949
  7078. #, no-wrap
  7079. msgid "guix describe\n"
  7080. msgstr ""
  7081. #. type: Plain text
  7082. #: guix-git/doc/guix.texi:2954
  7083. msgid "The information it displays is @emph{all it takes to reproduce the exact same Guix}, be it at a different point in time or on a different machine."
  7084. msgstr ""
  7085. #. type: quotation
  7086. #: guix-git/doc/guix.texi:2960
  7087. msgid "@xref{Invoking guix pull}, for more information. @xref{Channels}, on how to specify additional @dfn{channels} to pull packages from, how to replicate Guix, and more. You may also find @command{time-machine} handy (@pxref{Invoking guix time-machine})."
  7088. msgstr ""
  7089. #. type: Plain text
  7090. #: guix-git/doc/guix.texi:2965
  7091. msgid "If you installed Guix System, one of the first things you'll want to do is to upgrade your system. Once you've run @command{guix pull} to get the latest Guix, you can upgrade the system like this:"
  7092. msgstr ""
  7093. #. type: example
  7094. #: guix-git/doc/guix.texi:2968
  7095. #, no-wrap
  7096. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7097. msgstr ""
  7098. #. type: Plain text
  7099. #: guix-git/doc/guix.texi:2977
  7100. msgid "Upon completion, the system runs the latest versions of its software packages. When you eventually reboot, you'll notice a sub-menu in the bootloader that reads ``Old system generations'': it's what allows you to boot @emph{an older generation of your system}, should the latest generation be ``broken'' or otherwise unsatisfying. Just like for packages, you can always @emph{roll back} to a previous generation @emph{of the whole system}:"
  7101. msgstr ""
  7102. #. type: example
  7103. #: guix-git/doc/guix.texi:2980
  7104. #, no-wrap
  7105. msgid "sudo guix system roll-back\n"
  7106. msgstr ""
  7107. #. type: Plain text
  7108. #: guix-git/doc/guix.texi:2987
  7109. msgid "There are many things you'll probably want to tweak on your system: adding new user accounts, adding new system services, fiddling with the configuration of those services, etc. The system configuration is @emph{entirely} described in the @file{/etc/config.scm} file. @xref{Using the Configuration System}, to learn how to change it."
  7110. msgstr ""
  7111. #. type: Plain text
  7112. #: guix-git/doc/guix.texi:2989
  7113. msgid "Now you know enough to get started!"
  7114. msgstr ""
  7115. #. type: quotation
  7116. #: guix-git/doc/guix.texi:2990
  7117. #, no-wrap
  7118. msgid "Resources"
  7119. msgstr ""
  7120. #. type: quotation
  7121. #: guix-git/doc/guix.texi:2993
  7122. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7123. msgstr ""
  7124. #. type: itemize
  7125. #: guix-git/doc/guix.texi:2998
  7126. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7127. msgstr ""
  7128. #. type: itemize
  7129. #: guix-git/doc/guix.texi:3003
  7130. msgid "The @uref{https://guix.gnu.org/guix-refcard.pdf, GNU Guix Reference Card} lists in two pages most of the commands and options you'll ever need."
  7131. msgstr ""
  7132. #. type: itemize
  7133. #: guix-git/doc/guix.texi:3008
  7134. msgid "The web site contains @uref{https://guix.gnu.org/en/videos/, instructional videos} covering topics such as everyday use of Guix, how to get help, and how to become a contributor."
  7135. msgstr ""
  7136. #. type: itemize
  7137. #: guix-git/doc/guix.texi:3012
  7138. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7139. msgstr ""
  7140. #. type: quotation
  7141. #: guix-git/doc/guix.texi:3015
  7142. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7143. msgstr ""
  7144. #. type: Plain text
  7145. #: guix-git/doc/guix.texi:3026
  7146. msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features."
  7147. msgstr ""
  7148. #. type: Plain text
  7149. #: guix-git/doc/guix.texi:3034
  7150. msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):"
  7151. msgstr ""
  7152. #. type: example
  7153. #: guix-git/doc/guix.texi:3037
  7154. #, no-wrap
  7155. msgid "guix install emacs-guix\n"
  7156. msgstr ""
  7157. #. type: Plain text
  7158. #: guix-git/doc/guix.texi:3058
  7159. msgid "Here we assume you've already made your first steps with Guix (@pxref{Getting Started}) and would like to get an overview about what's going on under the hood."
  7160. msgstr ""
  7161. #. type: Plain text
  7162. #: guix-git/doc/guix.texi:3062
  7163. msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string."
  7164. msgstr ""
  7165. #. type: Plain text
  7166. #: guix-git/doc/guix.texi:3067
  7167. msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}."
  7168. msgstr ""
  7169. #. type: Plain text
  7170. #: guix-git/doc/guix.texi:3075
  7171. msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference."
  7172. msgstr ""
  7173. #. type: Plain text
  7174. #: guix-git/doc/guix.texi:3079
  7175. msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}."
  7176. msgstr ""
  7177. #. type: cindex
  7178. #: guix-git/doc/guix.texi:3080 guix-git/doc/guix.texi:3163
  7179. #, no-wrap
  7180. msgid "transactions"
  7181. msgstr "transakcie"
  7182. #. type: Plain text
  7183. #: guix-git/doc/guix.texi:3087
  7184. msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable."
  7185. msgstr ""
  7186. #. type: Plain text
  7187. #: guix-git/doc/guix.texi:3095
  7188. msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on Guix is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})."
  7189. msgstr ""
  7190. #. type: Plain text
  7191. #: guix-git/doc/guix.texi:3102
  7192. msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected."
  7193. msgstr ""
  7194. #. type: Plain text
  7195. #: guix-git/doc/guix.texi:3115
  7196. msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})."
  7197. msgstr ""
  7198. #. type: Plain text
  7199. #: guix-git/doc/guix.texi:3126
  7200. msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})."
  7201. msgstr ""
  7202. #. type: Plain text
  7203. #: guix-git/doc/guix.texi:3132
  7204. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix shell})."
  7205. msgstr ""
  7206. #. type: cindex
  7207. #: guix-git/doc/guix.texi:3133
  7208. #, no-wrap
  7209. msgid "replication, of software environments"
  7210. msgstr ""
  7211. #. type: cindex
  7212. #: guix-git/doc/guix.texi:3134
  7213. #, no-wrap
  7214. msgid "provenance tracking, of software artifacts"
  7215. msgstr ""
  7216. #. type: Plain text
  7217. #: guix-git/doc/guix.texi:3141
  7218. msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software."
  7219. msgstr ""
  7220. #. type: section
  7221. #: guix-git/doc/guix.texi:3143
  7222. #, no-wrap
  7223. msgid "Invoking @command{guix package}"
  7224. msgstr ""
  7225. #. type: cindex
  7226. #: guix-git/doc/guix.texi:3145
  7227. #, no-wrap
  7228. msgid "installing packages"
  7229. msgstr ""
  7230. #. type: cindex
  7231. #: guix-git/doc/guix.texi:3146
  7232. #, no-wrap
  7233. msgid "removing packages"
  7234. msgstr ""
  7235. #. type: cindex
  7236. #: guix-git/doc/guix.texi:3147
  7237. #, no-wrap
  7238. msgid "package installation"
  7239. msgstr ""
  7240. #. type: cindex
  7241. #: guix-git/doc/guix.texi:3148
  7242. #, no-wrap
  7243. msgid "package removal"
  7244. msgstr ""
  7245. #. type: Plain text
  7246. #: guix-git/doc/guix.texi:3158
  7247. msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. These operations work on a user @dfn{profile}---a directory of installed packages. Each user has a default profile in @file{$HOME/.guix-profile}. The command operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:"
  7248. msgstr ""
  7249. #. type: example
  7250. #: guix-git/doc/guix.texi:3161
  7251. #, no-wrap
  7252. msgid "guix package @var{options}\n"
  7253. msgstr ""
  7254. #. type: Plain text
  7255. #: guix-git/doc/guix.texi:3168
  7256. msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back."
  7257. msgstr ""
  7258. #. type: Plain text
  7259. #: guix-git/doc/guix.texi:3171
  7260. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7261. msgstr ""
  7262. #. type: example
  7263. #: guix-git/doc/guix.texi:3174
  7264. #, no-wrap
  7265. msgid "guix package -r lua -i guile guile-cairo\n"
  7266. msgstr ""
  7267. #. type: cindex
  7268. #: guix-git/doc/guix.texi:3176
  7269. #, no-wrap
  7270. msgid "aliases, for @command{guix package}"
  7271. msgstr ""
  7272. #. type: Plain text
  7273. #: guix-git/doc/guix.texi:3178
  7274. msgid "For your convenience, we also provide the following aliases:"
  7275. msgstr ""
  7276. #. type: itemize
  7277. #: guix-git/doc/guix.texi:3182
  7278. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7279. msgstr ""
  7280. #. type: itemize
  7281. #: guix-git/doc/guix.texi:3184
  7282. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7283. msgstr ""
  7284. #. type: itemize
  7285. #: guix-git/doc/guix.texi:3186
  7286. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7287. msgstr ""
  7288. #. type: itemize
  7289. #: guix-git/doc/guix.texi:3188
  7290. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7291. msgstr ""
  7292. #. type: itemize
  7293. #: guix-git/doc/guix.texi:3190
  7294. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7295. msgstr ""
  7296. #. type: Plain text
  7297. #: guix-git/doc/guix.texi:3195
  7298. msgid "These aliases are less expressive than @command{guix package} and provide fewer options, so in some cases you'll probably want to use @command{guix package} directly."
  7299. msgstr ""
  7300. #. type: Plain text
  7301. #: guix-git/doc/guix.texi:3200
  7302. msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})."
  7303. msgstr ""
  7304. #. type: Plain text
  7305. #: guix-git/doc/guix.texi:3207
  7306. msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @env{PATH} environment variable, and so on."
  7307. msgstr ""
  7308. #. type: cindex
  7309. #: guix-git/doc/guix.texi:3207 guix-git/doc/guix.texi:3451
  7310. #, no-wrap
  7311. msgid "search paths"
  7312. msgstr ""
  7313. #. type: Plain text
  7314. #: guix-git/doc/guix.texi:3212
  7315. msgid "If you are not using Guix System, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:"
  7316. msgstr ""
  7317. #. type: example
  7318. #: guix-git/doc/guix.texi:3216
  7319. #, no-wrap
  7320. msgid ""
  7321. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7322. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7323. msgstr ""
  7324. #. type: Plain text
  7325. #: guix-git/doc/guix.texi:3227
  7326. msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @option{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}."
  7327. msgstr ""
  7328. #. type: Plain text
  7329. #: guix-git/doc/guix.texi:3229
  7330. msgid "The @var{options} can be among the following:"
  7331. msgstr ""
  7332. #. type: item
  7333. #: guix-git/doc/guix.texi:3232
  7334. #, no-wrap
  7335. msgid "--install=@var{package} @dots{}"
  7336. msgstr ""
  7337. #. type: itemx
  7338. #: guix-git/doc/guix.texi:3233
  7339. #, no-wrap
  7340. msgid "-i @var{package} @dots{}"
  7341. msgstr ""
  7342. #. type: table
  7343. #: guix-git/doc/guix.texi:3235
  7344. msgid "Install the specified @var{package}s."
  7345. msgstr ""
  7346. #. type: table
  7347. #: guix-git/doc/guix.texi:3240
  7348. msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected)."
  7349. msgstr ""
  7350. #. type: table
  7351. #: guix-git/doc/guix.texi:3248
  7352. msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})."
  7353. msgstr ""
  7354. #. type: cindex
  7355. #: guix-git/doc/guix.texi:3249
  7356. #, no-wrap
  7357. msgid "propagated inputs"
  7358. msgstr "rozšírené vstupy"
  7359. #. type: table
  7360. #: guix-git/doc/guix.texi:3255
  7361. msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)."
  7362. msgstr ""
  7363. #. type: anchor{#1}
  7364. #: guix-git/doc/guix.texi:3262
  7365. msgid "package-cmd-propagated-inputs"
  7366. msgstr ""
  7367. #. type: table
  7368. #: guix-git/doc/guix.texi:3262
  7369. msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user."
  7370. msgstr ""
  7371. #. type: table
  7372. #: guix-git/doc/guix.texi:3267
  7373. msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @option{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here."
  7374. msgstr ""
  7375. #. type: item
  7376. #: guix-git/doc/guix.texi:3268
  7377. #, no-wrap
  7378. msgid "--install-from-expression=@var{exp}"
  7379. msgstr ""
  7380. #. type: itemx
  7381. #: guix-git/doc/guix.texi:3269
  7382. #, no-wrap
  7383. msgid "-e @var{exp}"
  7384. msgstr ""
  7385. #. type: table
  7386. #: guix-git/doc/guix.texi:3271
  7387. msgid "Install the package @var{exp} evaluates to."
  7388. msgstr ""
  7389. #. type: table
  7390. #: guix-git/doc/guix.texi:3276
  7391. msgid "@var{exp} must be a Scheme expression that evaluates to a @code{<package>} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}."
  7392. msgstr ""
  7393. #. type: table
  7394. #: guix-git/doc/guix.texi:3280
  7395. msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package."
  7396. msgstr ""
  7397. #. type: item
  7398. #: guix-git/doc/guix.texi:3281
  7399. #, no-wrap
  7400. msgid "--install-from-file=@var{file}"
  7401. msgstr ""
  7402. #. type: itemx
  7403. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5821
  7404. #: guix-git/doc/guix.texi:11814
  7405. #, no-wrap
  7406. msgid "-f @var{file}"
  7407. msgstr ""
  7408. #. type: table
  7409. #: guix-git/doc/guix.texi:3284
  7410. msgid "Install the package that the code within @var{file} evaluates to."
  7411. msgstr ""
  7412. #. type: table
  7413. #: guix-git/doc/guix.texi:3287 guix-git/doc/guix.texi:5827
  7414. #: guix-git/doc/guix.texi:6221
  7415. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7416. msgstr ""
  7417. #. type: include
  7418. #: guix-git/doc/guix.texi:3289 guix-git/doc/guix.texi:11822
  7419. #, no-wrap
  7420. msgid "package-hello.scm"
  7421. msgstr ""
  7422. #. type: table
  7423. #: guix-git/doc/guix.texi:3296
  7424. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix shell})."
  7425. msgstr ""
  7426. #. type: table
  7427. #: guix-git/doc/guix.texi:3301
  7428. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix package -f} on @file{hello.json} with the following contents would result in installing the package @code{greeter} after building @code{myhello}:"
  7429. msgstr ""
  7430. #. type: example
  7431. #: guix-git/doc/guix.texi:3304 guix-git/doc/guix.texi:11832
  7432. #, no-wrap
  7433. msgid "@verbatiminclude package-hello.json\n"
  7434. msgstr ""
  7435. #. type: item
  7436. #: guix-git/doc/guix.texi:3306
  7437. #, no-wrap
  7438. msgid "--remove=@var{package} @dots{}"
  7439. msgstr ""
  7440. #. type: itemx
  7441. #: guix-git/doc/guix.texi:3307
  7442. #, no-wrap
  7443. msgid "-r @var{package} @dots{}"
  7444. msgstr ""
  7445. #. type: table
  7446. #: guix-git/doc/guix.texi:3309
  7447. msgid "Remove the specified @var{package}s."
  7448. msgstr ""
  7449. #. type: table
  7450. #: guix-git/doc/guix.texi:3314
  7451. msgid "As for @option{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @samp{-r glibc:debug} would remove the @code{debug} output of @code{glibc}."
  7452. msgstr ""
  7453. #. type: item
  7454. #: guix-git/doc/guix.texi:3315
  7455. #, no-wrap
  7456. msgid "--upgrade[=@var{regexp} @dots{}]"
  7457. msgstr ""
  7458. #. type: itemx
  7459. #: guix-git/doc/guix.texi:3316
  7460. #, no-wrap
  7461. msgid "-u [@var{regexp} @dots{}]"
  7462. msgstr ""
  7463. #. type: cindex
  7464. #: guix-git/doc/guix.texi:3317
  7465. #, no-wrap
  7466. msgid "upgrading packages"
  7467. msgstr ""
  7468. #. type: table
  7469. #: guix-git/doc/guix.texi:3321
  7470. msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @option{--do-not-upgrade} option below."
  7471. msgstr ""
  7472. #. type: table
  7473. #: guix-git/doc/guix.texi:3326
  7474. msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})."
  7475. msgstr ""
  7476. #. type: cindex
  7477. #: guix-git/doc/guix.texi:3327
  7478. #, no-wrap
  7479. msgid "package transformations, upgrades"
  7480. msgstr ""
  7481. #. type: table
  7482. #: guix-git/doc/guix.texi:3332
  7483. msgid "When upgrading, package transformations that were originally applied when creating the profile are automatically re-applied (@pxref{Package Transformation Options}). For example, assume you first installed Emacs from the tip of its development branch with:"
  7484. msgstr ""
  7485. #. type: example
  7486. #: guix-git/doc/guix.texi:3335
  7487. #, no-wrap
  7488. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7489. msgstr ""
  7490. #. type: table
  7491. #: guix-git/doc/guix.texi:3340
  7492. msgid "Next time you run @command{guix upgrade}, Guix will again pull the tip of the Emacs development branch and build @code{emacs-next} from that checkout."
  7493. msgstr ""
  7494. #. type: table
  7495. #: guix-git/doc/guix.texi:3345
  7496. msgid "Note that transformation options such as @option{--with-branch} and @option{--with-source} depend on external state; it is up to you to ensure that they work as expected. You can also discard a transformations that apply to a package by running:"
  7497. msgstr ""
  7498. #. type: example
  7499. #: guix-git/doc/guix.texi:3348
  7500. #, no-wrap
  7501. msgid "guix install @var{package}\n"
  7502. msgstr ""
  7503. #. type: item
  7504. #: guix-git/doc/guix.texi:3350
  7505. #, no-wrap
  7506. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7507. msgstr ""
  7508. #. type: table
  7509. #: guix-git/doc/guix.texi:3355
  7510. msgid "When used together with the @option{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':"
  7511. msgstr ""
  7512. #. type: example
  7513. #: guix-git/doc/guix.texi:3358
  7514. #, no-wrap
  7515. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7516. msgstr ""
  7517. #. type: anchor{#1}
  7518. #: guix-git/doc/guix.texi:3360
  7519. #, no-wrap
  7520. msgid "profile-manifest"
  7521. msgstr ""
  7522. #. type: item
  7523. #: guix-git/doc/guix.texi:3360 guix-git/doc/guix.texi:5839
  7524. #: guix-git/doc/guix.texi:6226 guix-git/doc/guix.texi:6680
  7525. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:14596
  7526. #, no-wrap
  7527. msgid "--manifest=@var{file}"
  7528. msgstr ""
  7529. #. type: itemx
  7530. #: guix-git/doc/guix.texi:3361 guix-git/doc/guix.texi:5840
  7531. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:6681
  7532. #: guix-git/doc/guix.texi:12955
  7533. #, no-wrap
  7534. msgid "-m @var{file}"
  7535. msgstr ""
  7536. #. type: cindex
  7537. #: guix-git/doc/guix.texi:3362
  7538. #, no-wrap
  7539. msgid "profile declaration"
  7540. msgstr ""
  7541. #. type: cindex
  7542. #: guix-git/doc/guix.texi:3363
  7543. #, no-wrap
  7544. msgid "profile manifest"
  7545. msgstr ""
  7546. #. type: table
  7547. #: guix-git/doc/guix.texi:3367
  7548. msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  7549. msgstr ""
  7550. #. type: table
  7551. #: guix-git/doc/guix.texi:3373
  7552. msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @option{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on."
  7553. msgstr ""
  7554. #. type: table
  7555. #: guix-git/doc/guix.texi:3377
  7556. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7557. msgstr ""
  7558. #. type: findex
  7559. #: guix-git/doc/guix.texi:3378
  7560. #, no-wrap
  7561. msgid "packages->manifest"
  7562. msgstr ""
  7563. #. type: lisp
  7564. #: guix-git/doc/guix.texi:3381
  7565. #, no-wrap
  7566. msgid ""
  7567. "(use-package-modules guile emacs)\n"
  7568. "\n"
  7569. msgstr ""
  7570. #. type: lisp
  7571. #: guix-git/doc/guix.texi:3387
  7572. #, no-wrap
  7573. msgid ""
  7574. "(packages->manifest\n"
  7575. " (list emacs\n"
  7576. " guile-2.0\n"
  7577. " ;; Use a specific package output.\n"
  7578. " (list guile-2.0 \"debug\")))\n"
  7579. msgstr ""
  7580. #. type: findex
  7581. #: guix-git/doc/guix.texi:3389
  7582. #, no-wrap
  7583. msgid "specifications->manifest"
  7584. msgstr ""
  7585. #. type: table
  7586. #: guix-git/doc/guix.texi:3396
  7587. msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:"
  7588. msgstr ""
  7589. #. type: lisp
  7590. #: guix-git/doc/guix.texi:3400
  7591. #, no-wrap
  7592. msgid ""
  7593. "(specifications->manifest\n"
  7594. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7595. msgstr ""
  7596. #. type: findex
  7597. #: guix-git/doc/guix.texi:3402
  7598. #, no-wrap
  7599. msgid "package->development-manifest"
  7600. msgstr ""
  7601. #. type: table
  7602. #: guix-git/doc/guix.texi:3405
  7603. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7604. msgstr ""
  7605. #. type: lisp
  7606. #: guix-git/doc/guix.texi:3408
  7607. #, no-wrap
  7608. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7609. msgstr ""
  7610. #. type: table
  7611. #: guix-git/doc/guix.texi:3412
  7612. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7613. msgstr ""
  7614. #. type: table
  7615. #: guix-git/doc/guix.texi:3415
  7616. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7617. msgstr ""
  7618. #. type: item
  7619. #: guix-git/doc/guix.texi:3416 guix-git/doc/guix.texi:4530
  7620. #, no-wrap
  7621. msgid "--roll-back"
  7622. msgstr ""
  7623. #. type: cindex
  7624. #: guix-git/doc/guix.texi:3417 guix-git/doc/guix.texi:4531
  7625. #: guix-git/doc/guix.texi:35559 guix-git/doc/guix.texi:38314
  7626. #, no-wrap
  7627. msgid "rolling back"
  7628. msgstr ""
  7629. #. type: cindex
  7630. #: guix-git/doc/guix.texi:3418 guix-git/doc/guix.texi:4532
  7631. #, no-wrap
  7632. msgid "undoing transactions"
  7633. msgstr ""
  7634. #. type: cindex
  7635. #: guix-git/doc/guix.texi:3419 guix-git/doc/guix.texi:4533
  7636. #, no-wrap
  7637. msgid "transactions, undoing"
  7638. msgstr ""
  7639. #. type: table
  7640. #: guix-git/doc/guix.texi:3422
  7641. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7642. msgstr ""
  7643. #. type: table
  7644. #: guix-git/doc/guix.texi:3425
  7645. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7646. msgstr ""
  7647. #. type: table
  7648. #: guix-git/doc/guix.texi:3429
  7649. msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata."
  7650. msgstr ""
  7651. #. type: table
  7652. #: guix-git/doc/guix.texi:3433
  7653. msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear."
  7654. msgstr ""
  7655. #. type: item
  7656. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4537
  7657. #, no-wrap
  7658. msgid "--switch-generation=@var{pattern}"
  7659. msgstr ""
  7660. #. type: itemx
  7661. #: guix-git/doc/guix.texi:3435 guix-git/doc/guix.texi:4538
  7662. #, no-wrap
  7663. msgid "-S @var{pattern}"
  7664. msgstr ""
  7665. #. type: cindex
  7666. #: guix-git/doc/guix.texi:3436 guix-git/doc/guix.texi:3669
  7667. #: guix-git/doc/guix.texi:4539 guix-git/doc/guix.texi:35517
  7668. #, no-wrap
  7669. msgid "generations"
  7670. msgstr ""
  7671. #. type: table
  7672. #: guix-git/doc/guix.texi:3438 guix-git/doc/guix.texi:4541
  7673. msgid "Switch to a particular generation defined by @var{pattern}."
  7674. msgstr ""
  7675. #. type: table
  7676. #: guix-git/doc/guix.texi:3444 guix-git/doc/guix.texi:4547
  7677. msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @option{--roll-back}, use @option{--switch-generation=+1}."
  7678. msgstr ""
  7679. #. type: table
  7680. #: guix-git/doc/guix.texi:3449
  7681. msgid "The difference between @option{--roll-back} and @option{--switch-generation=-1} is that @option{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed."
  7682. msgstr ""
  7683. #. type: item
  7684. #: guix-git/doc/guix.texi:3450
  7685. #, no-wrap
  7686. msgid "--search-paths[=@var{kind}]"
  7687. msgstr ""
  7688. #. type: table
  7689. #: guix-git/doc/guix.texi:3456
  7690. msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages."
  7691. msgstr ""
  7692. #. type: table
  7693. #: guix-git/doc/guix.texi:3465
  7694. msgid "For example, GCC needs the @env{CPATH} and @env{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @option{--search-paths} will suggest setting these variables to @file{@var{profile}/include} and @file{@var{profile}/lib}, respectively (@pxref{Search Paths}, for info on search path specifications associated with packages.)"
  7695. msgstr ""
  7696. #. type: table
  7697. #: guix-git/doc/guix.texi:3468
  7698. msgid "The typical use case is to define these environment variables in the shell:"
  7699. msgstr ""
  7700. #. type: example
  7701. #: guix-git/doc/guix.texi:3471
  7702. #, no-wrap
  7703. msgid "$ eval `guix package --search-paths`\n"
  7704. msgstr ""
  7705. #. type: table
  7706. #: guix-git/doc/guix.texi:3477
  7707. msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}."
  7708. msgstr ""
  7709. #. type: table
  7710. #: guix-git/doc/guix.texi:3480
  7711. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7712. msgstr ""
  7713. #. type: example
  7714. #: guix-git/doc/guix.texi:3485
  7715. #, no-wrap
  7716. msgid ""
  7717. "$ guix package -p foo -i guile\n"
  7718. "$ guix package -p bar -i guile-json\n"
  7719. "$ guix package -p foo -p bar --search-paths\n"
  7720. msgstr ""
  7721. #. type: table
  7722. #: guix-git/doc/guix.texi:3490
  7723. msgid "The last command above reports about the @env{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation."
  7724. msgstr ""
  7725. #. type: cindex
  7726. #: guix-git/doc/guix.texi:3492
  7727. #, no-wrap
  7728. msgid "profile, choosing"
  7729. msgstr ""
  7730. #. type: item
  7731. #: guix-git/doc/guix.texi:3493 guix-git/doc/guix.texi:4567
  7732. #: guix-git/doc/guix.texi:4896 guix-git/doc/guix.texi:5849
  7733. #: guix-git/doc/guix.texi:6262
  7734. #, no-wrap
  7735. msgid "--profile=@var{profile}"
  7736. msgstr ""
  7737. #. type: itemx
  7738. #: guix-git/doc/guix.texi:3494 guix-git/doc/guix.texi:4568
  7739. #: guix-git/doc/guix.texi:4897 guix-git/doc/guix.texi:5850
  7740. #: guix-git/doc/guix.texi:6263
  7741. #, no-wrap
  7742. msgid "-p @var{profile}"
  7743. msgstr ""
  7744. #. type: table
  7745. #: guix-git/doc/guix.texi:3496
  7746. msgid "Use @var{profile} instead of the user's default profile."
  7747. msgstr ""
  7748. #. type: table
  7749. #: guix-git/doc/guix.texi:3501
  7750. msgid "@var{profile} must be the name of a file that will be created upon completion. Concretely, @var{profile} will be a mere symbolic link (``symlink'') pointing to the actual profile where packages are installed:"
  7751. msgstr ""
  7752. #. type: example
  7753. #: guix-git/doc/guix.texi:3507
  7754. #, no-wrap
  7755. msgid ""
  7756. "$ guix install hello -p ~/code/my-profile\n"
  7757. "@dots{}\n"
  7758. "$ ~/code/my-profile/bin/hello\n"
  7759. "Hello, world!\n"
  7760. msgstr ""
  7761. #. type: table
  7762. #: guix-git/doc/guix.texi:3511
  7763. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7764. msgstr ""
  7765. #. type: example
  7766. #: guix-git/doc/guix.texi:3514
  7767. #, no-wrap
  7768. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7769. msgstr ""
  7770. #. type: item
  7771. #: guix-git/doc/guix.texi:3516
  7772. #, no-wrap
  7773. msgid "--list-profiles"
  7774. msgstr ""
  7775. #. type: table
  7776. #: guix-git/doc/guix.texi:3518
  7777. msgid "List all the user's profiles:"
  7778. msgstr ""
  7779. #. type: example
  7780. #: guix-git/doc/guix.texi:3525
  7781. #, no-wrap
  7782. msgid ""
  7783. "$ guix package --list-profiles\n"
  7784. "/home/charlie/.guix-profile\n"
  7785. "/home/charlie/code/my-profile\n"
  7786. "/home/charlie/code/devel-profile\n"
  7787. "/home/charlie/tmp/test\n"
  7788. msgstr ""
  7789. #. type: table
  7790. #: guix-git/doc/guix.texi:3528
  7791. msgid "When running as root, list all the profiles of all the users."
  7792. msgstr ""
  7793. #. type: cindex
  7794. #: guix-git/doc/guix.texi:3529
  7795. #, no-wrap
  7796. msgid "collisions, in a profile"
  7797. msgstr ""
  7798. #. type: cindex
  7799. #: guix-git/doc/guix.texi:3530
  7800. #, no-wrap
  7801. msgid "colliding packages in profiles"
  7802. msgstr ""
  7803. #. type: cindex
  7804. #: guix-git/doc/guix.texi:3531
  7805. #, no-wrap
  7806. msgid "profile collisions"
  7807. msgstr ""
  7808. #. type: item
  7809. #: guix-git/doc/guix.texi:3532
  7810. #, no-wrap
  7811. msgid "--allow-collisions"
  7812. msgstr ""
  7813. #. type: table
  7814. #: guix-git/doc/guix.texi:3534
  7815. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7816. msgstr ""
  7817. #. type: table
  7818. #: guix-git/doc/guix.texi:3538
  7819. msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile."
  7820. msgstr ""
  7821. #. type: item
  7822. #: guix-git/doc/guix.texi:3539 guix-git/doc/guix.texi:4610
  7823. #: guix-git/doc/guix.texi:6766
  7824. #, no-wrap
  7825. msgid "--bootstrap"
  7826. msgstr ""
  7827. #. type: table
  7828. #: guix-git/doc/guix.texi:3542
  7829. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7830. msgstr ""
  7831. #. type: Plain text
  7832. #: guix-git/doc/guix.texi:3548
  7833. msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:"
  7834. msgstr ""
  7835. #. type: item
  7836. #: guix-git/doc/guix.texi:3551
  7837. #, no-wrap
  7838. msgid "--search=@var{regexp}"
  7839. msgstr ""
  7840. #. type: itemx
  7841. #: guix-git/doc/guix.texi:3552
  7842. #, no-wrap
  7843. msgid "-s @var{regexp}"
  7844. msgstr ""
  7845. #. type: anchor{#1}
  7846. #: guix-git/doc/guix.texi:3554
  7847. msgid "guix-search"
  7848. msgstr ""
  7849. #. type: cindex
  7850. #: guix-git/doc/guix.texi:3554
  7851. #, no-wrap
  7852. msgid "searching for packages"
  7853. msgstr ""
  7854. #. type: table
  7855. #: guix-git/doc/guix.texi:3560
  7856. msgid "List the available packages whose name, synopsis, or description matches @var{regexp} (in a case-insensitive fashion), sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7857. msgstr ""
  7858. #. type: table
  7859. #: guix-git/doc/guix.texi:3563
  7860. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7861. msgstr ""
  7862. #. type: example
  7863. #: guix-git/doc/guix.texi:3569
  7864. #, no-wrap
  7865. msgid ""
  7866. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7867. "name: jemalloc\n"
  7868. "version: 4.5.0\n"
  7869. "relevance: 6\n"
  7870. "\n"
  7871. msgstr ""
  7872. #. type: example
  7873. #: guix-git/doc/guix.texi:3573
  7874. #, no-wrap
  7875. msgid ""
  7876. "name: glibc\n"
  7877. "version: 2.25\n"
  7878. "relevance: 1\n"
  7879. "\n"
  7880. msgstr ""
  7881. #. type: example
  7882. #: guix-git/doc/guix.texi:3577
  7883. #, no-wrap
  7884. msgid ""
  7885. "name: libgc\n"
  7886. "version: 7.6.0\n"
  7887. "relevance: 1\n"
  7888. msgstr ""
  7889. #. type: table
  7890. #: guix-git/doc/guix.texi:3581
  7891. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7892. msgstr ""
  7893. #. type: example
  7894. #: guix-git/doc/guix.texi:3585
  7895. #, no-wrap
  7896. msgid ""
  7897. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7898. "name: elfutils\n"
  7899. "\n"
  7900. msgstr ""
  7901. #. type: example
  7902. #: guix-git/doc/guix.texi:3588
  7903. #, no-wrap
  7904. msgid ""
  7905. "name: gmp\n"
  7906. "@dots{}\n"
  7907. msgstr ""
  7908. #. type: table
  7909. #: guix-git/doc/guix.texi:3594
  7910. msgid "It is also possible to refine search results using several @code{-s} flags to @command{guix package}, or several arguments to @command{guix search}. For example, the following command returns a list of board games (this time using the @command{guix search} alias):"
  7911. msgstr ""
  7912. #. type: example
  7913. #: guix-git/doc/guix.texi:3599
  7914. #, no-wrap
  7915. msgid ""
  7916. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7917. "name: gnubg\n"
  7918. "@dots{}\n"
  7919. msgstr ""
  7920. #. type: table
  7921. #: guix-git/doc/guix.texi:3605
  7922. msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards."
  7923. msgstr ""
  7924. #. type: table
  7925. #: guix-git/doc/guix.texi:3609
  7926. msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:"
  7927. msgstr ""
  7928. #. type: example
  7929. #: guix-git/doc/guix.texi:3613
  7930. #, no-wrap
  7931. msgid ""
  7932. "$ guix search crypto library | \\\n"
  7933. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7934. msgstr ""
  7935. #. type: table
  7936. #: guix-git/doc/guix.texi:3618
  7937. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7938. msgstr ""
  7939. #. type: item
  7940. #: guix-git/doc/guix.texi:3619
  7941. #, no-wrap
  7942. msgid "--show=@var{package}"
  7943. msgstr ""
  7944. #. type: table
  7945. #: guix-git/doc/guix.texi:3623
  7946. msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7947. msgstr ""
  7948. #. type: example
  7949. #: guix-git/doc/guix.texi:3628
  7950. #, no-wrap
  7951. msgid ""
  7952. "$ guix package --show=guile | recsel -p name,version\n"
  7953. "name: guile\n"
  7954. "version: 3.0.5\n"
  7955. "\n"
  7956. msgstr ""
  7957. #. type: example
  7958. #: guix-git/doc/guix.texi:3631
  7959. #, no-wrap
  7960. msgid ""
  7961. "name: guile\n"
  7962. "version: 3.0.2\n"
  7963. "\n"
  7964. msgstr ""
  7965. #. type: example
  7966. #: guix-git/doc/guix.texi:3635
  7967. #, no-wrap
  7968. msgid ""
  7969. "name: guile\n"
  7970. "version: 2.2.7\n"
  7971. "@dots{}\n"
  7972. msgstr ""
  7973. #. type: table
  7974. #: guix-git/doc/guix.texi:3639
  7975. msgid "You may also specify the full name of a package to only get details about a specific version of it (this time using the @command{guix show} alias):"
  7976. msgstr ""
  7977. #. type: example
  7978. #: guix-git/doc/guix.texi:3643
  7979. #, no-wrap
  7980. msgid ""
  7981. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7982. "name: guile\n"
  7983. "version: 3.0.5\n"
  7984. msgstr ""
  7985. #. type: item
  7986. #: guix-git/doc/guix.texi:3645
  7987. #, no-wrap
  7988. msgid "--list-installed[=@var{regexp}]"
  7989. msgstr ""
  7990. #. type: itemx
  7991. #: guix-git/doc/guix.texi:3646
  7992. #, no-wrap
  7993. msgid "-I [@var{regexp}]"
  7994. msgstr ""
  7995. #. type: table
  7996. #: guix-git/doc/guix.texi:3650
  7997. msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}."
  7998. msgstr ""
  7999. #. type: table
  8000. #: guix-git/doc/guix.texi:3656
  8001. msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store."
  8002. msgstr ""
  8003. #. type: item
  8004. #: guix-git/doc/guix.texi:3657
  8005. #, no-wrap
  8006. msgid "--list-available[=@var{regexp}]"
  8007. msgstr ""
  8008. #. type: itemx
  8009. #: guix-git/doc/guix.texi:3658
  8010. #, no-wrap
  8011. msgid "-A [@var{regexp}]"
  8012. msgstr ""
  8013. #. type: table
  8014. #: guix-git/doc/guix.texi:3662
  8015. msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only available packages whose name matches @var{regexp}."
  8016. msgstr ""
  8017. #. type: table
  8018. #: guix-git/doc/guix.texi:3666
  8019. msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition."
  8020. msgstr ""
  8021. #. type: item
  8022. #: guix-git/doc/guix.texi:3667 guix-git/doc/guix.texi:4513
  8023. #, no-wrap
  8024. msgid "--list-generations[=@var{pattern}]"
  8025. msgstr ""
  8026. #. type: itemx
  8027. #: guix-git/doc/guix.texi:3668 guix-git/doc/guix.texi:4514
  8028. #, no-wrap
  8029. msgid "-l [@var{pattern}]"
  8030. msgstr ""
  8031. #. type: table
  8032. #: guix-git/doc/guix.texi:3674
  8033. msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown."
  8034. msgstr ""
  8035. #. type: table
  8036. #: guix-git/doc/guix.texi:3679
  8037. msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store."
  8038. msgstr ""
  8039. #. type: table
  8040. #: guix-git/doc/guix.texi:3682
  8041. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  8042. msgstr ""
  8043. #. type: item
  8044. #: guix-git/doc/guix.texi:3684
  8045. #, no-wrap
  8046. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  8047. msgstr ""
  8048. #. type: itemize
  8049. #: guix-git/doc/guix.texi:3687
  8050. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  8051. msgstr ""
  8052. #. type: itemize
  8053. #: guix-git/doc/guix.texi:3690
  8054. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  8055. msgstr ""
  8056. #. type: item
  8057. #: guix-git/doc/guix.texi:3691
  8058. #, no-wrap
  8059. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  8060. msgstr ""
  8061. #. type: itemize
  8062. #: guix-git/doc/guix.texi:3694
  8063. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  8064. msgstr ""
  8065. #. type: itemize
  8066. #: guix-git/doc/guix.texi:3698
  8067. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  8068. msgstr ""
  8069. #. type: item
  8070. #: guix-git/doc/guix.texi:3699
  8071. #, no-wrap
  8072. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  8073. msgstr ""
  8074. #. type: itemize
  8075. #: guix-git/doc/guix.texi:3703
  8076. msgid "or months by passing an integer along with the first letter of the duration. For example, @option{--list-generations=20d} lists generations that are up to 20 days old."
  8077. msgstr ""
  8078. #. type: item
  8079. #: guix-git/doc/guix.texi:3705 guix-git/doc/guix.texi:4548
  8080. #, no-wrap
  8081. msgid "--delete-generations[=@var{pattern}]"
  8082. msgstr ""
  8083. #. type: itemx
  8084. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:4549
  8085. #, no-wrap
  8086. msgid "-d [@var{pattern}]"
  8087. msgstr ""
  8088. #. type: table
  8089. #: guix-git/doc/guix.texi:3709 guix-git/doc/guix.texi:4552
  8090. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  8091. msgstr ""
  8092. #. type: table
  8093. #: guix-git/doc/guix.texi:3715 guix-git/doc/guix.texi:4558
  8094. msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @option{--delete-generations=1m} deletes generations that are more than one month old."
  8095. msgstr ""
  8096. #. type: table
  8097. #: guix-git/doc/guix.texi:3718
  8098. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8099. msgstr ""
  8100. #. type: table
  8101. #: guix-git/doc/guix.texi:3721 guix-git/doc/guix.texi:4563
  8102. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8103. msgstr ""
  8104. #. type: cindex
  8105. #: guix-git/doc/guix.texi:3722
  8106. #, no-wrap
  8107. msgid "manifest, exporting"
  8108. msgstr ""
  8109. #. type: anchor{#1}
  8110. #: guix-git/doc/guix.texi:3724
  8111. msgid "export-manifest"
  8112. msgstr ""
  8113. #. type: item
  8114. #: guix-git/doc/guix.texi:3724
  8115. #, no-wrap
  8116. msgid "--export-manifest"
  8117. msgstr ""
  8118. #. type: table
  8119. #: guix-git/doc/guix.texi:3727
  8120. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8121. msgstr ""
  8122. #. type: table
  8123. #: guix-git/doc/guix.texi:3731
  8124. msgid "This option is meant to help you migrate from the ``imperative'' operating mode---running @command{guix install}, @command{guix upgrade}, etc.---to the declarative mode that @option{--manifest} offers."
  8125. msgstr ""
  8126. #. type: table
  8127. #: guix-git/doc/guix.texi:3736
  8128. msgid "Be aware that the resulting manifest @emph{approximates} what your profile actually contains; for instance, depending on how your profile was created, it can refer to packages or package versions that are not exactly what you specified."
  8129. msgstr ""
  8130. #. type: table
  8131. #: guix-git/doc/guix.texi:3741
  8132. msgid "Keep in mind that a manifest is purely symbolic: it only contains package names and possibly versions, and their meaning varies over time. If you wish to ``pin'' channels to the revisions that were used to build the profile(s), see @option{--export-channels} below."
  8133. msgstr ""
  8134. #. type: cindex
  8135. #: guix-git/doc/guix.texi:3742
  8136. #, no-wrap
  8137. msgid "pinning, channel revisions of a profile"
  8138. msgstr ""
  8139. #. type: item
  8140. #: guix-git/doc/guix.texi:3743
  8141. #, no-wrap
  8142. msgid "--export-channels"
  8143. msgstr ""
  8144. #. type: table
  8145. #: guix-git/doc/guix.texi:3747
  8146. msgid "Write to standard output the list of channels used by the chosen profile(s), in a format suitable for @command{guix pull --channels} or @command{guix time-machine --channels} (@pxref{Channels})."
  8147. msgstr ""
  8148. #. type: table
  8149. #: guix-git/doc/guix.texi:3751
  8150. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8151. msgstr ""
  8152. #. type: table
  8153. #: guix-git/doc/guix.texi:3759
  8154. msgid "However, note that the output of this command @emph{approximates} what was actually used to build this profile. In particular, a single profile might have been built from several different revisions of the same channel. In that case, @option{--export-manifest} chooses the last one and writes the list of other revisions in a comment. If you really need to pick packages from different channel revisions, you can use inferiors in your manifest to do so (@pxref{Inferiors})."
  8155. msgstr ""
  8156. #. type: table
  8157. #: guix-git/doc/guix.texi:3764
  8158. msgid "Together with @option{--export-manifest}, this is a good starting point if you are willing to migrate from the ``imperative'' model to the fully declarative model consisting of a manifest file along with a channels file pinning the exact channel revision(s) you want."
  8159. msgstr ""
  8160. #. type: Plain text
  8161. #: guix-git/doc/guix.texi:3771
  8162. msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source}, and preserves them across upgrades (@pxref{Package Transformation Options})."
  8163. msgstr ""
  8164. #. type: cindex
  8165. #: guix-git/doc/guix.texi:3776
  8166. #, no-wrap
  8167. msgid "pre-built binaries"
  8168. msgstr ""
  8169. #. type: Plain text
  8170. #: guix-git/doc/guix.texi:3782
  8171. msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally."
  8172. msgstr ""
  8173. #. type: Plain text
  8174. #: guix-git/doc/guix.texi:3787
  8175. msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes."
  8176. msgstr ""
  8177. #. type: cindex
  8178. #: guix-git/doc/guix.texi:3801
  8179. #, no-wrap
  8180. msgid "build farm"
  8181. msgstr ""
  8182. #. type: Plain text
  8183. #: guix-git/doc/guix.texi:3812
  8184. msgid "@code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} are both front-ends to official build farms that build packages from Guix continuously for some architectures, and make them available as substitutes. These are the default source of substitutes; which can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})."
  8185. msgstr ""
  8186. #. type: Plain text
  8187. #: guix-git/doc/guix.texi:3818
  8188. msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities."
  8189. msgstr ""
  8190. #. type: Plain text
  8191. #: guix-git/doc/guix.texi:3827
  8192. msgid "Substitutes from the official build farms are enabled by default when using Guix System (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server."
  8193. msgstr ""
  8194. #. type: cindex
  8195. #: guix-git/doc/guix.texi:3831
  8196. #, no-wrap
  8197. msgid "security"
  8198. msgstr "bezpečnosť"
  8199. #. type: cindex
  8200. #: guix-git/doc/guix.texi:3833
  8201. #, no-wrap
  8202. msgid "access control list (ACL), for substitutes"
  8203. msgstr ""
  8204. #. type: cindex
  8205. #: guix-git/doc/guix.texi:3834
  8206. #, no-wrap
  8207. msgid "ACL (access control list), for substitutes"
  8208. msgstr ""
  8209. #. type: Plain text
  8210. #: guix-git/doc/guix.texi:3840
  8211. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror, you must add the relevant public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust the substitute server to not be compromised and to serve genuine substitutes."
  8212. msgstr ""
  8213. #. type: quotation
  8214. #: guix-git/doc/guix.texi:3845
  8215. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} by default."
  8216. msgstr ""
  8217. #. type: Plain text
  8218. #: guix-git/doc/guix.texi:3853
  8219. msgid "The public keys for each of the project maintained substitute servers are installed along with Guix, in @code{@var{prefix}/share/guix/}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:"
  8220. msgstr ""
  8221. #. type: example
  8222. #: guix-git/doc/guix.texi:3857
  8223. #, no-wrap
  8224. msgid ""
  8225. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8226. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8227. msgstr ""
  8228. #. type: Plain text
  8229. #: guix-git/doc/guix.texi:3861
  8230. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8231. msgstr ""
  8232. #. type: example
  8233. #: guix-git/doc/guix.texi:3870
  8234. #, no-wrap
  8235. msgid ""
  8236. "$ guix build emacs --dry-run\n"
  8237. "The following derivations would be built:\n"
  8238. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8239. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8240. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8241. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8242. "@dots{}\n"
  8243. msgstr ""
  8244. #. type: Plain text
  8245. #: guix-git/doc/guix.texi:3874
  8246. msgid "to something like:"
  8247. msgstr ""
  8248. #. type: example
  8249. #: guix-git/doc/guix.texi:3883
  8250. #, no-wrap
  8251. msgid ""
  8252. "$ guix build emacs --dry-run\n"
  8253. "112.3 MB would be downloaded:\n"
  8254. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8255. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8256. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8257. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8258. "@dots{}\n"
  8259. msgstr ""
  8260. #. type: Plain text
  8261. #: guix-git/doc/guix.texi:3890
  8262. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from the configured substitute servers are usable and will be downloaded, when possible, for future builds."
  8263. msgstr ""
  8264. #. type: cindex
  8265. #: guix-git/doc/guix.texi:3891
  8266. #, no-wrap
  8267. msgid "substitutes, how to disable"
  8268. msgstr ""
  8269. #. type: Plain text
  8270. #: guix-git/doc/guix.texi:3897
  8271. msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @option{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @option{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools."
  8272. msgstr ""
  8273. #. type: cindex
  8274. #: guix-git/doc/guix.texi:3901
  8275. #, no-wrap
  8276. msgid "substitute servers, adding more"
  8277. msgstr ""
  8278. #. type: Plain text
  8279. #: guix-git/doc/guix.texi:3908
  8280. msgid "Guix can look up and fetch substitutes from several servers. This is useful when you are using packages from additional channels for which the official server does not have substitutes but another server provides them. Another situation where this is useful is when you would prefer to download from your organization's substitute server, resorting to the official server only as a fallback or dismissing it altogether."
  8281. msgstr ""
  8282. #. type: Plain text
  8283. #: guix-git/doc/guix.texi:3913
  8284. msgid "You can give Guix a list of substitute server URLs and it will check them in the specified order. You also need to explicitly authorize the public keys of substitute servers to instruct Guix to accept the substitutes they sign."
  8285. msgstr ""
  8286. #. type: Plain text
  8287. #: guix-git/doc/guix.texi:3920
  8288. msgid "On Guix System, this is achieved by modifying the configuration of the @code{guix} service. Since the @code{guix} service is part of the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the URLs and substitute keys that you want (@pxref{Service Reference, @code{modify-services}})."
  8289. msgstr ""
  8290. #. type: Plain text
  8291. #: guix-git/doc/guix.texi:3926
  8292. msgid "As an example, suppose you want to fetch substitutes from @code{guix.example.org} and to authorize the signing key of that server, in addition to the default @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}}. The resulting operating system configuration will look something like:"
  8293. msgstr ""
  8294. #. type: lisp
  8295. #: guix-git/doc/guix.texi:3943
  8296. #, no-wrap
  8297. msgid ""
  8298. "(operating-system\n"
  8299. " ;; @dots{}\n"
  8300. " (services\n"
  8301. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8302. " ;; with the list of services you're actually using.\n"
  8303. " (modify-services %desktop-services\n"
  8304. " (guix-service-type config =>\n"
  8305. " (guix-configuration\n"
  8306. " (inherit config)\n"
  8307. " (substitute-urls\n"
  8308. " (append (list \"https://guix.example.org\")\n"
  8309. " %default-substitute-urls))\n"
  8310. " (authorized-keys\n"
  8311. " (append (list (local-file \"./key.pub\"))\n"
  8312. " %default-authorized-guix-keys)))))))\n"
  8313. msgstr ""
  8314. #. type: Plain text
  8315. #: guix-git/doc/guix.texi:3950
  8316. msgid "This assumes that the file @file{key.pub} contains the signing key of @code{guix.example.org}. With this change in place in your operating system configuration file (say @file{/etc/config.scm}), you can reconfigure and restart the @code{guix-daemon} service or reboot so the changes take effect:"
  8317. msgstr ""
  8318. #. type: example
  8319. #: guix-git/doc/guix.texi:3954
  8320. #, no-wrap
  8321. msgid ""
  8322. "$ sudo guix system reconfigure /etc/config.scm\n"
  8323. "$ sudo herd restart guix-daemon\n"
  8324. msgstr ""
  8325. #. type: Plain text
  8326. #: guix-git/doc/guix.texi:3958
  8327. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8328. msgstr ""
  8329. #. type: enumerate
  8330. #: guix-git/doc/guix.texi:3967
  8331. msgid "Edit the service configuration file for @code{guix-daemon}; when using systemd, this is normally @file{/etc/systemd/system/guix-daemon.service}. Add the @option{--substitute-urls} option on the @command{guix-daemon} command line and list the URLs of interest (@pxref{daemon-substitute-urls, @code{guix-daemon --substitute-urls}}):"
  8332. msgstr ""
  8333. #. type: example
  8334. #: guix-git/doc/guix.texi:3970
  8335. #, no-wrap
  8336. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8337. msgstr ""
  8338. #. type: enumerate
  8339. #: guix-git/doc/guix.texi:3974
  8340. msgid "Restart the daemon. For systemd, it goes like this:"
  8341. msgstr ""
  8342. #. type: example
  8343. #: guix-git/doc/guix.texi:3978
  8344. #, no-wrap
  8345. msgid ""
  8346. "systemctl daemon-reload\n"
  8347. "systemctl restart guix-daemon.service\n"
  8348. msgstr ""
  8349. #. type: enumerate
  8350. #: guix-git/doc/guix.texi:3982
  8351. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8352. msgstr ""
  8353. #. type: example
  8354. #: guix-git/doc/guix.texi:3985
  8355. #, no-wrap
  8356. msgid "guix archive --authorize < key.pub\n"
  8357. msgstr ""
  8358. #. type: enumerate
  8359. #: guix-git/doc/guix.texi:3989
  8360. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8361. msgstr ""
  8362. #. type: Plain text
  8363. #: guix-git/doc/guix.texi:3998
  8364. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER-1}} then @code{@value{SUBSTITUTE-SERVER-2}} as fallback options. Of course you can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted."
  8365. msgstr ""
  8366. #. type: Plain text
  8367. #: guix-git/doc/guix.texi:4002
  8368. msgid "Note that there are also situations where one may want to add the URL of a substitute server @emph{without} authorizing its key. @xref{Substitute Authentication}, to understand this fine point."
  8369. msgstr ""
  8370. #. type: cindex
  8371. #: guix-git/doc/guix.texi:4006
  8372. #, no-wrap
  8373. msgid "digital signatures"
  8374. msgstr ""
  8375. #. type: Plain text
  8376. #: guix-git/doc/guix.texi:4010
  8377. msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL."
  8378. msgstr ""
  8379. #. type: Plain text
  8380. #: guix-git/doc/guix.texi:4016
  8381. msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:"
  8382. msgstr ""
  8383. #. type: example
  8384. #: guix-git/doc/guix.texi:4019
  8385. #, no-wrap
  8386. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8387. msgstr ""
  8388. #. type: Plain text
  8389. #: guix-git/doc/guix.texi:4030
  8390. msgid "If the ACL contains only the key for @samp{b.example.org}, and if @samp{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @samp{a.example.org} because it comes first in the list and can be considered a mirror of @samp{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)."
  8391. msgstr ""
  8392. #. type: Plain text
  8393. #: guix-git/doc/guix.texi:4037
  8394. msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys)."
  8395. msgstr ""
  8396. #. type: Plain text
  8397. #: guix-git/doc/guix.texi:4049
  8398. msgid "Substitutes are downloaded over HTTP or HTTPS@. The @env{http_proxy} and @env{https_proxy} environment variables can be set in the environment of @command{guix-daemon} and are honored for downloads of substitutes. Note that the value of those environment variables in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}."
  8399. msgstr ""
  8400. #. type: Plain text
  8401. #: guix-git/doc/guix.texi:4058
  8402. msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc."
  8403. msgstr ""
  8404. #. type: Plain text
  8405. #: guix-git/doc/guix.texi:4072
  8406. msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @option{--fallback} was given (@pxref{fallback-option,, common build option @option{--fallback}}). Specifically, if @option{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @option{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @option{--fallback} was given."
  8407. msgstr ""
  8408. #. type: Plain text
  8409. #: guix-git/doc/guix.texi:4077
  8410. msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server."
  8411. msgstr ""
  8412. #. type: cindex
  8413. #: guix-git/doc/guix.texi:4081
  8414. #, no-wrap
  8415. msgid "trust, of pre-built binaries"
  8416. msgstr ""
  8417. #. type: Plain text
  8418. #: guix-git/doc/guix.texi:4091
  8419. msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that the project run substitute servers are less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})."
  8420. msgstr ""
  8421. #. type: Plain text
  8422. #: guix-git/doc/guix.texi:4103
  8423. msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})."
  8424. msgstr ""
  8425. #. type: Plain text
  8426. #: guix-git/doc/guix.texi:4107
  8427. msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}."
  8428. msgstr ""
  8429. #. type: cindex
  8430. #: guix-git/doc/guix.texi:4111
  8431. #, no-wrap
  8432. msgid "multiple-output packages"
  8433. msgstr ""
  8434. #. type: cindex
  8435. #: guix-git/doc/guix.texi:4112
  8436. #, no-wrap
  8437. msgid "package outputs"
  8438. msgstr ""
  8439. #. type: cindex
  8440. #: guix-git/doc/guix.texi:4113
  8441. #, no-wrap
  8442. msgid "outputs"
  8443. msgstr "výstupy"
  8444. #. type: Plain text
  8445. #: guix-git/doc/guix.texi:4123
  8446. msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix install glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files."
  8447. msgstr ""
  8448. #. type: Plain text
  8449. #: guix-git/doc/guix.texi:4131
  8450. msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:"
  8451. msgstr ""
  8452. #. type: example
  8453. #: guix-git/doc/guix.texi:4134
  8454. #, no-wrap
  8455. msgid "guix install glib\n"
  8456. msgstr ""
  8457. #. type: item
  8458. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:36972
  8459. #: guix-git/doc/guix.texi:37029
  8460. #, no-wrap
  8461. msgid "documentation"
  8462. msgstr "dokumentácia"
  8463. #. type: Plain text
  8464. #: guix-git/doc/guix.texi:4138
  8465. msgid "The command to install its documentation is:"
  8466. msgstr ""
  8467. #. type: example
  8468. #: guix-git/doc/guix.texi:4141
  8469. #, no-wrap
  8470. msgid "guix install glib:doc\n"
  8471. msgstr ""
  8472. #. type: Plain text
  8473. #: guix-git/doc/guix.texi:4152
  8474. msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})."
  8475. msgstr ""
  8476. #. type: Plain text
  8477. #: guix-git/doc/guix.texi:4160
  8478. msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})."
  8479. msgstr ""
  8480. #. type: section
  8481. #: guix-git/doc/guix.texi:4163
  8482. #, no-wrap
  8483. msgid "Invoking @command{guix gc}"
  8484. msgstr ""
  8485. #. type: cindex
  8486. #: guix-git/doc/guix.texi:4165
  8487. #, no-wrap
  8488. msgid "garbage collector"
  8489. msgstr ""
  8490. #. type: cindex
  8491. #: guix-git/doc/guix.texi:4166
  8492. #, no-wrap
  8493. msgid "disk space"
  8494. msgstr ""
  8495. #. type: Plain text
  8496. #: guix-git/doc/guix.texi:4172
  8497. msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!"
  8498. msgstr ""
  8499. #. type: Plain text
  8500. #: guix-git/doc/guix.texi:4183
  8501. msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build}). The @command{guix gc --list-roots} command lists them."
  8502. msgstr ""
  8503. #. type: Plain text
  8504. #: guix-git/doc/guix.texi:4189
  8505. msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})."
  8506. msgstr ""
  8507. #. type: Plain text
  8508. #: guix-git/doc/guix.texi:4193
  8509. msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:"
  8510. msgstr ""
  8511. #. type: example
  8512. #: guix-git/doc/guix.texi:4196
  8513. #, no-wrap
  8514. msgid "guix gc -F 5G\n"
  8515. msgstr ""
  8516. #. type: Plain text
  8517. #: guix-git/doc/guix.texi:4205
  8518. msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain."
  8519. msgstr ""
  8520. #. type: Plain text
  8521. #: guix-git/doc/guix.texi:4211
  8522. msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @option{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:"
  8523. msgstr ""
  8524. #. type: item
  8525. #: guix-git/doc/guix.texi:4213
  8526. #, no-wrap
  8527. msgid "--collect-garbage[=@var{min}]"
  8528. msgstr ""
  8529. #. type: itemx
  8530. #: guix-git/doc/guix.texi:4214
  8531. #, no-wrap
  8532. msgid "-C [@var{min}]"
  8533. msgstr ""
  8534. #. type: table
  8535. #: guix-git/doc/guix.texi:4218
  8536. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8537. msgstr ""
  8538. #. type: table
  8539. #: guix-git/doc/guix.texi:4223
  8540. msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  8541. msgstr ""
  8542. #. type: table
  8543. #: guix-git/doc/guix.texi:4225
  8544. msgid "When @var{min} is omitted, collect all the garbage."
  8545. msgstr ""
  8546. #. type: item
  8547. #: guix-git/doc/guix.texi:4226
  8548. #, no-wrap
  8549. msgid "--free-space=@var{free}"
  8550. msgstr ""
  8551. #. type: itemx
  8552. #: guix-git/doc/guix.texi:4227
  8553. #, no-wrap
  8554. msgid "-F @var{free}"
  8555. msgstr ""
  8556. #. type: table
  8557. #: guix-git/doc/guix.texi:4231
  8558. msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above."
  8559. msgstr ""
  8560. #. type: table
  8561. #: guix-git/doc/guix.texi:4234
  8562. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8563. msgstr ""
  8564. #. type: item
  8565. #: guix-git/doc/guix.texi:4235
  8566. #, no-wrap
  8567. msgid "--delete-generations[=@var{duration}]"
  8568. msgstr ""
  8569. #. type: itemx
  8570. #: guix-git/doc/guix.texi:4236
  8571. #, no-wrap
  8572. msgid "-d [@var{duration}]"
  8573. msgstr ""
  8574. #. type: table
  8575. #: guix-git/doc/guix.texi:4240
  8576. msgid "Before starting the garbage collection process, delete all the generations older than @var{duration}, for all the user profiles; when run as root, this applies to all the profiles @emph{of all the users}."
  8577. msgstr ""
  8578. #. type: table
  8579. #: guix-git/doc/guix.texi:4244
  8580. msgid "For example, this command deletes all the generations of all your profiles that are older than 2 months (except generations that are current), and then proceeds to free space until at least 10 GiB are available:"
  8581. msgstr ""
  8582. #. type: example
  8583. #: guix-git/doc/guix.texi:4247
  8584. #, no-wrap
  8585. msgid "guix gc -d 2m -F 10G\n"
  8586. msgstr ""
  8587. #. type: item
  8588. #: guix-git/doc/guix.texi:4249
  8589. #, no-wrap
  8590. msgid "--delete"
  8591. msgstr ""
  8592. #. type: itemx
  8593. #: guix-git/doc/guix.texi:4250 guix-git/doc/guix.texi:5780
  8594. #, no-wrap
  8595. msgid "-D"
  8596. msgstr ""
  8597. #. type: table
  8598. #: guix-git/doc/guix.texi:4254
  8599. msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live."
  8600. msgstr ""
  8601. #. type: item
  8602. #: guix-git/doc/guix.texi:4255
  8603. #, no-wrap
  8604. msgid "--list-failures"
  8605. msgstr ""
  8606. #. type: table
  8607. #: guix-git/doc/guix.texi:4257
  8608. msgid "List store items corresponding to cached build failures."
  8609. msgstr ""
  8610. #. type: table
  8611. #: guix-git/doc/guix.texi:4261
  8612. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8613. msgstr ""
  8614. #. type: item
  8615. #: guix-git/doc/guix.texi:4262
  8616. #, no-wrap
  8617. msgid "--list-roots"
  8618. msgstr ""
  8619. #. type: table
  8620. #: guix-git/doc/guix.texi:4265
  8621. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8622. msgstr ""
  8623. #. type: item
  8624. #: guix-git/doc/guix.texi:4266
  8625. #, no-wrap
  8626. msgid "--list-busy"
  8627. msgstr ""
  8628. #. type: table
  8629. #: guix-git/doc/guix.texi:4269
  8630. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8631. msgstr ""
  8632. #. type: item
  8633. #: guix-git/doc/guix.texi:4270
  8634. #, no-wrap
  8635. msgid "--clear-failures"
  8636. msgstr ""
  8637. #. type: table
  8638. #: guix-git/doc/guix.texi:4272
  8639. msgid "Remove the specified store items from the failed-build cache."
  8640. msgstr ""
  8641. #. type: table
  8642. #: guix-git/doc/guix.texi:4275
  8643. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8644. msgstr ""
  8645. #. type: item
  8646. #: guix-git/doc/guix.texi:4276
  8647. #, no-wrap
  8648. msgid "--list-dead"
  8649. msgstr ""
  8650. #. type: table
  8651. #: guix-git/doc/guix.texi:4279
  8652. msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root."
  8653. msgstr ""
  8654. #. type: item
  8655. #: guix-git/doc/guix.texi:4280
  8656. #, no-wrap
  8657. msgid "--list-live"
  8658. msgstr ""
  8659. #. type: table
  8660. #: guix-git/doc/guix.texi:4282
  8661. msgid "Show the list of live store files and directories."
  8662. msgstr ""
  8663. #. type: Plain text
  8664. #: guix-git/doc/guix.texi:4286
  8665. msgid "In addition, the references among existing store files can be queried:"
  8666. msgstr ""
  8667. #. type: item
  8668. #: guix-git/doc/guix.texi:4289
  8669. #, no-wrap
  8670. msgid "--references"
  8671. msgstr "--references"
  8672. #. type: itemx
  8673. #: guix-git/doc/guix.texi:4290
  8674. #, no-wrap
  8675. msgid "--referrers"
  8676. msgstr ""
  8677. #. type: cindex
  8678. #: guix-git/doc/guix.texi:4291 guix-git/doc/guix.texi:13666
  8679. #, no-wrap
  8680. msgid "package dependencies"
  8681. msgstr ""
  8682. #. type: table
  8683. #: guix-git/doc/guix.texi:4294
  8684. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8685. msgstr ""
  8686. #. type: item
  8687. #: guix-git/doc/guix.texi:4295
  8688. #, no-wrap
  8689. msgid "--requisites"
  8690. msgstr ""
  8691. #. type: itemx
  8692. #: guix-git/doc/guix.texi:4296 guix-git/doc/guix.texi:6566
  8693. #, no-wrap
  8694. msgid "-R"
  8695. msgstr ""
  8696. #. type: item
  8697. #: guix-git/doc/guix.texi:4297 guix-git/doc/guix.texi:13522
  8698. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13631
  8699. #, no-wrap
  8700. msgid "closure"
  8701. msgstr ""
  8702. #. type: table
  8703. #: guix-git/doc/guix.texi:4302
  8704. msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files."
  8705. msgstr ""
  8706. #. type: table
  8707. #: guix-git/doc/guix.texi:4306
  8708. msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references."
  8709. msgstr ""
  8710. #. type: item
  8711. #: guix-git/doc/guix.texi:4307
  8712. #, no-wrap
  8713. msgid "--derivers"
  8714. msgstr ""
  8715. #. type: item
  8716. #: guix-git/doc/guix.texi:4308 guix-git/doc/guix.texi:6880
  8717. #: guix-git/doc/guix.texi:13378 guix-git/doc/guix.texi:13775
  8718. #, no-wrap
  8719. msgid "derivation"
  8720. msgstr ""
  8721. #. type: table
  8722. #: guix-git/doc/guix.texi:4311
  8723. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8724. msgstr ""
  8725. #. type: table
  8726. #: guix-git/doc/guix.texi:4313
  8727. msgid "For example, this command:"
  8728. msgstr ""
  8729. #. type: example
  8730. #: guix-git/doc/guix.texi:4316
  8731. #, no-wrap
  8732. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8733. msgstr ""
  8734. #. type: table
  8735. #: guix-git/doc/guix.texi:4321
  8736. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8737. msgstr ""
  8738. #. type: table
  8739. #: guix-git/doc/guix.texi:4325
  8740. msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations."
  8741. msgstr ""
  8742. #. type: Plain text
  8743. #: guix-git/doc/guix.texi:4329
  8744. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8745. msgstr ""
  8746. #. type: item
  8747. #: guix-git/doc/guix.texi:4332
  8748. #, no-wrap
  8749. msgid "--verify[=@var{options}]"
  8750. msgstr ""
  8751. #. type: cindex
  8752. #: guix-git/doc/guix.texi:4333
  8753. #, no-wrap
  8754. msgid "integrity, of the store"
  8755. msgstr ""
  8756. #. type: cindex
  8757. #: guix-git/doc/guix.texi:4334
  8758. #, no-wrap
  8759. msgid "integrity checking"
  8760. msgstr ""
  8761. #. type: table
  8762. #: guix-git/doc/guix.texi:4336
  8763. msgid "Verify the integrity of the store."
  8764. msgstr ""
  8765. #. type: table
  8766. #: guix-git/doc/guix.texi:4339
  8767. msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}."
  8768. msgstr ""
  8769. #. type: table
  8770. #: guix-git/doc/guix.texi:4342
  8771. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8772. msgstr ""
  8773. #. type: table
  8774. #: guix-git/doc/guix.texi:4348
  8775. msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive."
  8776. msgstr ""
  8777. #. type: cindex
  8778. #: guix-git/doc/guix.texi:4349
  8779. #, no-wrap
  8780. msgid "repairing the store"
  8781. msgstr ""
  8782. #. type: cindex
  8783. #: guix-git/doc/guix.texi:4350 guix-git/doc/guix.texi:11982
  8784. #, no-wrap
  8785. msgid "corruption, recovering from"
  8786. msgstr ""
  8787. #. type: table
  8788. #: guix-git/doc/guix.texi:4358
  8789. msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})."
  8790. msgstr ""
  8791. #. type: item
  8792. #: guix-git/doc/guix.texi:4359
  8793. #, no-wrap
  8794. msgid "--optimize"
  8795. msgstr ""
  8796. #. type: table
  8797. #: guix-git/doc/guix.texi:4363
  8798. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8799. msgstr ""
  8800. #. type: table
  8801. #: guix-git/doc/guix.texi:4369
  8802. msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @option{--disable-deduplication} (@pxref{Invoking guix-daemon, @option{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @option{--disable-deduplication}."
  8803. msgstr ""
  8804. #. type: section
  8805. #: guix-git/doc/guix.texi:4373
  8806. #, no-wrap
  8807. msgid "Invoking @command{guix pull}"
  8808. msgstr ""
  8809. #. type: cindex
  8810. #: guix-git/doc/guix.texi:4375
  8811. #, no-wrap
  8812. msgid "upgrading Guix"
  8813. msgstr ""
  8814. #. type: cindex
  8815. #: guix-git/doc/guix.texi:4376
  8816. #, no-wrap
  8817. msgid "updating Guix"
  8818. msgstr ""
  8819. #. type: command{#1}
  8820. #: guix-git/doc/guix.texi:4377
  8821. #, no-wrap
  8822. msgid "guix pull"
  8823. msgstr ""
  8824. #. type: cindex
  8825. #: guix-git/doc/guix.texi:4378
  8826. #, no-wrap
  8827. msgid "pull"
  8828. msgstr ""
  8829. #. type: cindex
  8830. #: guix-git/doc/guix.texi:4379
  8831. #, no-wrap
  8832. msgid "security, @command{guix pull}"
  8833. msgstr ""
  8834. #. type: cindex
  8835. #: guix-git/doc/guix.texi:4380
  8836. #, no-wrap
  8837. msgid "authenticity, of code obtained with @command{guix pull}"
  8838. msgstr ""
  8839. #. type: Plain text
  8840. #: guix-git/doc/guix.texi:4390
  8841. msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized. @command{guix pull} ensures that the code it downloads is @emph{authentic} by verifying that commits are signed by Guix developers."
  8842. msgstr ""
  8843. #. type: Plain text
  8844. #: guix-git/doc/guix.texi:4393
  8845. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8846. msgstr ""
  8847. #. type: enumerate
  8848. #: guix-git/doc/guix.texi:4397
  8849. msgid "the @option{--channels} option;"
  8850. msgstr ""
  8851. #. type: enumerate
  8852. #: guix-git/doc/guix.texi:4399
  8853. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8854. msgstr ""
  8855. #. type: enumerate
  8856. #: guix-git/doc/guix.texi:4401
  8857. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8858. msgstr ""
  8859. #. type: enumerate
  8860. #: guix-git/doc/guix.texi:4404
  8861. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8862. msgstr ""
  8863. #. type: Plain text
  8864. #: guix-git/doc/guix.texi:4411
  8865. msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available."
  8866. msgstr ""
  8867. #. type: Plain text
  8868. #: guix-git/doc/guix.texi:4417
  8869. msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who ran @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa."
  8870. msgstr ""
  8871. #. type: Plain text
  8872. #: guix-git/doc/guix.texi:4423
  8873. msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):"
  8874. msgstr ""
  8875. #. type: example
  8876. #: guix-git/doc/guix.texi:4427
  8877. #, no-wrap
  8878. msgid ""
  8879. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8880. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8881. msgstr ""
  8882. #. type: Plain text
  8883. #: guix-git/doc/guix.texi:4431
  8884. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8885. msgstr ""
  8886. #. type: example
  8887. #: guix-git/doc/guix.texi:4439
  8888. #, no-wrap
  8889. msgid ""
  8890. "$ guix pull -l\n"
  8891. "Generation 1\tJun 10 2018 00:18:18\n"
  8892. " guix 65956ad\n"
  8893. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8894. " branch: origin/master\n"
  8895. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8896. "\n"
  8897. msgstr ""
  8898. #. type: example
  8899. #: guix-git/doc/guix.texi:4445
  8900. #, no-wrap
  8901. msgid ""
  8902. "Generation 2\tJun 11 2018 11:02:49\n"
  8903. " guix e0cc7f6\n"
  8904. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8905. " branch: origin/master\n"
  8906. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8907. "\n"
  8908. msgstr ""
  8909. #. type: example
  8910. #: guix-git/doc/guix.texi:4451
  8911. #, no-wrap
  8912. msgid ""
  8913. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8914. " guix 844cc1c\n"
  8915. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8916. " branch: origin/master\n"
  8917. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8918. msgstr ""
  8919. #. type: Plain text
  8920. #: guix-git/doc/guix.texi:4455
  8921. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8922. msgstr ""
  8923. #. type: Plain text
  8924. #: guix-git/doc/guix.texi:4460
  8925. msgid "This @code{~/.config/guix/current} profile works exactly like the profiles created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:"
  8926. msgstr ""
  8927. #. type: example
  8928. #: guix-git/doc/guix.texi:4466
  8929. #, no-wrap
  8930. msgid ""
  8931. "$ guix pull --roll-back\n"
  8932. "switched from generation 3 to 2\n"
  8933. "$ guix pull --delete-generations=1\n"
  8934. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8935. msgstr ""
  8936. #. type: Plain text
  8937. #: guix-git/doc/guix.texi:4470
  8938. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8939. msgstr ""
  8940. #. type: example
  8941. #: guix-git/doc/guix.texi:4475
  8942. #, no-wrap
  8943. msgid ""
  8944. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8945. "switched from generation 3 to 2\n"
  8946. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8947. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8948. msgstr ""
  8949. #. type: Plain text
  8950. #: guix-git/doc/guix.texi:4479
  8951. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8952. msgstr ""
  8953. #. type: item
  8954. #: guix-git/doc/guix.texi:4481 guix-git/doc/guix.texi:4649
  8955. #, no-wrap
  8956. msgid "--url=@var{url}"
  8957. msgstr ""
  8958. #. type: itemx
  8959. #: guix-git/doc/guix.texi:4482 guix-git/doc/guix.texi:4650
  8960. #, no-wrap
  8961. msgid "--commit=@var{commit}"
  8962. msgstr ""
  8963. #. type: itemx
  8964. #: guix-git/doc/guix.texi:4483 guix-git/doc/guix.texi:4651
  8965. #, no-wrap
  8966. msgid "--branch=@var{branch}"
  8967. msgstr ""
  8968. #. type: table
  8969. #: guix-git/doc/guix.texi:4487
  8970. msgid "Download code for the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  8971. msgstr ""
  8972. #. type: cindex
  8973. #: guix-git/doc/guix.texi:4488 guix-git/doc/guix.texi:5095
  8974. #, no-wrap
  8975. msgid "@file{channels.scm}, configuration file"
  8976. msgstr ""
  8977. #. type: cindex
  8978. #: guix-git/doc/guix.texi:4489 guix-git/doc/guix.texi:5096
  8979. #, no-wrap
  8980. msgid "configuration file for channels"
  8981. msgstr ""
  8982. #. type: table
  8983. #: guix-git/doc/guix.texi:4493
  8984. msgid "These options are provided for convenience, but you can also specify your configuration in the @file{~/.config/guix/channels.scm} file or using the @option{--channels} option (see below)."
  8985. msgstr ""
  8986. #. type: item
  8987. #: guix-git/doc/guix.texi:4494 guix-git/doc/guix.texi:4656
  8988. #, no-wrap
  8989. msgid "--channels=@var{file}"
  8990. msgstr ""
  8991. #. type: itemx
  8992. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:4657
  8993. #, no-wrap
  8994. msgid "-C @var{file}"
  8995. msgstr ""
  8996. #. type: table
  8997. #: guix-git/doc/guix.texi:4501
  8998. msgid "Read the list of channels from @var{file} instead of @file{~/.config/guix/channels.scm} or @file{/etc/guix/channels.scm}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels}, for more information."
  8999. msgstr ""
  9000. #. type: cindex
  9001. #: guix-git/doc/guix.texi:4502
  9002. #, no-wrap
  9003. msgid "channel news"
  9004. msgstr ""
  9005. #. type: item
  9006. #: guix-git/doc/guix.texi:4503
  9007. #, no-wrap
  9008. msgid "--news"
  9009. msgstr ""
  9010. #. type: itemx
  9011. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:5899
  9012. #: guix-git/doc/guix.texi:6312 guix-git/doc/guix.texi:35862
  9013. #, no-wrap
  9014. msgid "-N"
  9015. msgstr ""
  9016. #. type: table
  9017. #: guix-git/doc/guix.texi:4509
  9018. msgid "Display news written by channel authors for their users for changes made since the previous generation (@pxref{Channels, Writing Channel News}). When @option{--details} is passed, additionally display new and upgraded packages."
  9019. msgstr ""
  9020. #. type: table
  9021. #: guix-git/doc/guix.texi:4512
  9022. msgid "You can view that information for previous generations with @command{guix pull -l}."
  9023. msgstr ""
  9024. #. type: table
  9025. #: guix-git/doc/guix.texi:4519
  9026. msgid "List all the generations of @file{~/.config/guix/current} or, if @var{pattern} is provided, the subset of generations that match @var{pattern}. The syntax of @var{pattern} is the same as with @code{guix package --list-generations} (@pxref{Invoking guix package})."
  9027. msgstr ""
  9028. #. type: table
  9029. #: guix-git/doc/guix.texi:4524
  9030. msgid "By default, this prints information about the channels used in each revision as well as the corresponding news entries. If you pass @option{--details}, it will also print the list of packages added and upgraded in each generation compared to the previous one."
  9031. msgstr ""
  9032. #. type: item
  9033. #: guix-git/doc/guix.texi:4525
  9034. #, no-wrap
  9035. msgid "--details"
  9036. msgstr ""
  9037. #. type: table
  9038. #: guix-git/doc/guix.texi:4529
  9039. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  9040. msgstr ""
  9041. #. type: table
  9042. #: guix-git/doc/guix.texi:4536
  9043. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  9044. msgstr ""
  9045. #. type: table
  9046. #: guix-git/doc/guix.texi:4560
  9047. msgid "If the current generation matches, it is @emph{not} deleted."
  9048. msgstr ""
  9049. #. type: table
  9050. #: guix-git/doc/guix.texi:4566
  9051. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  9052. msgstr ""
  9053. #. type: table
  9054. #: guix-git/doc/guix.texi:4570
  9055. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  9056. msgstr ""
  9057. #. type: item
  9058. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:11311
  9059. #: guix-git/doc/guix.texi:13266
  9060. #, no-wrap
  9061. msgid "--dry-run"
  9062. msgstr ""
  9063. #. type: itemx
  9064. #: guix-git/doc/guix.texi:4572 guix-git/doc/guix.texi:11312
  9065. #: guix-git/doc/guix.texi:13267 guix-git/doc/guix.texi:13504
  9066. #, no-wrap
  9067. msgid "-n"
  9068. msgstr ""
  9069. #. type: table
  9070. #: guix-git/doc/guix.texi:4575
  9071. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  9072. msgstr ""
  9073. #. type: item
  9074. #: guix-git/doc/guix.texi:4576 guix-git/doc/guix.texi:35881
  9075. #: guix-git/doc/guix.texi:38392
  9076. #, no-wrap
  9077. msgid "--allow-downgrades"
  9078. msgstr ""
  9079. #. type: table
  9080. #: guix-git/doc/guix.texi:4579
  9081. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  9082. msgstr ""
  9083. #. type: cindex
  9084. #: guix-git/doc/guix.texi:4580
  9085. #, no-wrap
  9086. msgid "downgrade attacks, protection against"
  9087. msgstr ""
  9088. #. type: table
  9089. #: guix-git/doc/guix.texi:4585
  9090. msgid "By default, @command{guix pull} protects against so-called ``downgrade attacks'' whereby the Git repository of a channel would be reset to an earlier or unrelated revision of itself, potentially leading you to install older, known-vulnerable versions of software packages."
  9091. msgstr ""
  9092. #. type: quotation
  9093. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:35895
  9094. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  9095. msgstr ""
  9096. #. type: item
  9097. #: guix-git/doc/guix.texi:4591
  9098. #, no-wrap
  9099. msgid "--disable-authentication"
  9100. msgstr ""
  9101. #. type: table
  9102. #: guix-git/doc/guix.texi:4593
  9103. msgid "Allow pulling channel code without authenticating it."
  9104. msgstr ""
  9105. #. type: cindex
  9106. #: guix-git/doc/guix.texi:4594 guix-git/doc/guix.texi:5241
  9107. #, no-wrap
  9108. msgid "authentication, of channel code"
  9109. msgstr ""
  9110. #. type: table
  9111. #: guix-git/doc/guix.texi:4599
  9112. msgid "By default, @command{guix pull} authenticates code downloaded from channels by verifying that its commits are signed by authorized developers, and raises an error if this is not the case. This option instructs it to not perform any such verification."
  9113. msgstr ""
  9114. #. type: quotation
  9115. #: guix-git/doc/guix.texi:4603
  9116. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9117. msgstr ""
  9118. #. type: itemx
  9119. #: guix-git/doc/guix.texi:4606 guix-git/doc/guix.texi:5882
  9120. #: guix-git/doc/guix.texi:6295 guix-git/doc/guix.texi:6695
  9121. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:13649
  9122. #: guix-git/doc/guix.texi:13914 guix-git/doc/guix.texi:14591
  9123. #: guix-git/doc/guix.texi:35810
  9124. #, no-wrap
  9125. msgid "-s @var{system}"
  9126. msgstr ""
  9127. #. type: table
  9128. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:6698
  9129. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9130. msgstr ""
  9131. #. type: table
  9132. #: guix-git/doc/guix.texi:4613
  9133. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9134. msgstr ""
  9135. #. type: Plain text
  9136. #: guix-git/doc/guix.texi:4619
  9137. msgid "The @dfn{channel} mechanism allows you to instruct @command{guix pull} which repository and branch to pull from, as well as @emph{additional} repositories containing package modules that should be deployed. @xref{Channels}, for more information."
  9138. msgstr ""
  9139. #. type: Plain text
  9140. #: guix-git/doc/guix.texi:4622
  9141. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9142. msgstr ""
  9143. #. type: section
  9144. #: guix-git/doc/guix.texi:4624
  9145. #, no-wrap
  9146. msgid "Invoking @command{guix time-machine}"
  9147. msgstr ""
  9148. #. type: command{#1}
  9149. #: guix-git/doc/guix.texi:4626
  9150. #, no-wrap
  9151. msgid "guix time-machine"
  9152. msgstr ""
  9153. #. type: cindex
  9154. #: guix-git/doc/guix.texi:4627 guix-git/doc/guix.texi:5199
  9155. #, no-wrap
  9156. msgid "pinning, channels"
  9157. msgstr ""
  9158. #. type: cindex
  9159. #: guix-git/doc/guix.texi:4628 guix-git/doc/guix.texi:4810
  9160. #: guix-git/doc/guix.texi:5200
  9161. #, no-wrap
  9162. msgid "replicating Guix"
  9163. msgstr ""
  9164. #. type: cindex
  9165. #: guix-git/doc/guix.texi:4629 guix-git/doc/guix.texi:5201
  9166. #, no-wrap
  9167. msgid "reproducibility, of Guix"
  9168. msgstr ""
  9169. #. type: Plain text
  9170. #: guix-git/doc/guix.texi:4637
  9171. msgid "The @command{guix time-machine} command provides access to other revisions of Guix, for example to install older versions of packages, or to reproduce a computation in an identical environment. The revision of Guix to be used is defined by a commit or by a channel description file created by @command{guix describe} (@pxref{Invoking guix describe})."
  9172. msgstr ""
  9173. #. type: Plain text
  9174. #: guix-git/doc/guix.texi:4639 guix-git/doc/guix.texi:5663
  9175. #: guix-git/doc/guix.texi:6033 guix-git/doc/guix.texi:6818
  9176. #: guix-git/doc/guix.texi:11107 guix-git/doc/guix.texi:11231
  9177. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12311
  9178. #: guix-git/doc/guix.texi:13252 guix-git/doc/guix.texi:13479
  9179. #: guix-git/doc/guix.texi:13972 guix-git/doc/guix.texi:14345
  9180. #: guix-git/doc/guix.texi:14434 guix-git/doc/guix.texi:14473
  9181. #: guix-git/doc/guix.texi:14570
  9182. msgid "The general syntax is:"
  9183. msgstr ""
  9184. #. type: example
  9185. #: guix-git/doc/guix.texi:4642
  9186. #, no-wrap
  9187. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9188. msgstr ""
  9189. #. type: Plain text
  9190. #: guix-git/doc/guix.texi:4647
  9191. msgid "where @var{command} and @var{arg}@dots{} are passed unmodified to the @command{guix} command of the specified revision. The @var{options} that define this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull}):"
  9192. msgstr ""
  9193. #. type: table
  9194. #: guix-git/doc/guix.texi:4655
  9195. msgid "Use the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  9196. msgstr ""
  9197. #. type: table
  9198. #: guix-git/doc/guix.texi:4661
  9199. msgid "Read the list of channels from @var{file}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels} for more information."
  9200. msgstr ""
  9201. #. type: Plain text
  9202. #: guix-git/doc/guix.texi:4665
  9203. msgid "As for @command{guix pull}, the absence of any options means that the latest commit on the master branch will be used. The command"
  9204. msgstr ""
  9205. #. type: example
  9206. #: guix-git/doc/guix.texi:4668
  9207. #, no-wrap
  9208. msgid "guix time-machine -- build hello\n"
  9209. msgstr ""
  9210. #. type: Plain text
  9211. #: guix-git/doc/guix.texi:4673
  9212. msgid "will thus build the package @code{hello} as defined in the master branch, which is in general a newer revision of Guix than you have installed. Time travel works in both directions!"
  9213. msgstr ""
  9214. #. type: Plain text
  9215. #: guix-git/doc/guix.texi:4677
  9216. msgid "Note that @command{guix time-machine} can trigger builds of channels and their dependencies, and these are controlled by the standard build options (@pxref{Common Build Options})."
  9217. msgstr ""
  9218. #. type: quotation
  9219. #: guix-git/doc/guix.texi:4685
  9220. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9221. msgstr ""
  9222. #. type: cindex
  9223. #: guix-git/doc/guix.texi:4687 guix-git/doc/guix.texi:11144
  9224. #, no-wrap
  9225. msgid "inferiors"
  9226. msgstr ""
  9227. #. type: cindex
  9228. #: guix-git/doc/guix.texi:4688
  9229. #, no-wrap
  9230. msgid "composition of Guix revisions"
  9231. msgstr ""
  9232. #. type: Plain text
  9233. #: guix-git/doc/guix.texi:4693
  9234. msgid "Sometimes you might need to mix packages from the revision of Guix you're currently running with packages available in a different revision of Guix. Guix @dfn{inferiors} allow you to achieve that by composing different Guix revisions in arbitrary ways."
  9235. msgstr ""
  9236. #. type: cindex
  9237. #: guix-git/doc/guix.texi:4694 guix-git/doc/guix.texi:4759
  9238. #, no-wrap
  9239. msgid "inferior packages"
  9240. msgstr ""
  9241. #. type: Plain text
  9242. #: guix-git/doc/guix.texi:4700
  9243. msgid "Technically, an ``inferior'' is essentially a separate Guix process connected to your main Guix process through a REPL (@pxref{Invoking guix repl}). The @code{(guix inferior)} module allows you to create inferiors and to communicate with them. It also provides a high-level interface to browse and manipulate the packages that an inferior provides---@dfn{inferior packages}."
  9244. msgstr ""
  9245. #. type: Plain text
  9246. #: guix-git/doc/guix.texi:4710
  9247. msgid "When combined with channels (@pxref{Channels}), inferiors provide a simple way to interact with a separate revision of Guix. For example, let's assume you want to install in your profile the current @code{guile} package, along with the @code{guile-json} as it existed in an older revision of Guix---perhaps because the newer @code{guile-json} has an incompatible API and you want to run your code against the old API@. To do that, you could write a manifest for use by @code{guix package --manifest} (@pxref{Invoking guix package}); in that manifest, you would create an inferior for that old Guix revision you care about, and you would look up the @code{guile-json} package in the inferior:"
  9248. msgstr ""
  9249. #. type: lisp
  9250. #: guix-git/doc/guix.texi:4714
  9251. #, no-wrap
  9252. msgid ""
  9253. "(use-modules (guix inferior) (guix channels)\n"
  9254. " (srfi srfi-1)) ;for 'first'\n"
  9255. "\n"
  9256. msgstr ""
  9257. #. type: lisp
  9258. #: guix-git/doc/guix.texi:4723
  9259. #, no-wrap
  9260. msgid ""
  9261. "(define channels\n"
  9262. " ;; This is the old revision from which we want to\n"
  9263. " ;; extract guile-json.\n"
  9264. " (list (channel\n"
  9265. " (name 'guix)\n"
  9266. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9267. " (commit\n"
  9268. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9269. "\n"
  9270. msgstr ""
  9271. #. type: lisp
  9272. #: guix-git/doc/guix.texi:4727
  9273. #, no-wrap
  9274. msgid ""
  9275. "(define inferior\n"
  9276. " ;; An inferior representing the above revision.\n"
  9277. " (inferior-for-channels channels))\n"
  9278. "\n"
  9279. msgstr ""
  9280. #. type: lisp
  9281. #: guix-git/doc/guix.texi:4733
  9282. #, no-wrap
  9283. msgid ""
  9284. ";; Now create a manifest with the current \"guile\" package\n"
  9285. ";; and the old \"guile-json\" package.\n"
  9286. "(packages->manifest\n"
  9287. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9288. " (specification->package \"guile\")))\n"
  9289. msgstr ""
  9290. #. type: Plain text
  9291. #: guix-git/doc/guix.texi:4738
  9292. msgid "On its first run, @command{guix package --manifest} might have to build the channel you specified before it can create the inferior; subsequent runs will be much faster because the Guix revision will be cached."
  9293. msgstr ""
  9294. #. type: Plain text
  9295. #: guix-git/doc/guix.texi:4741
  9296. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9297. msgstr ""
  9298. #. type: deffn
  9299. #: guix-git/doc/guix.texi:4742
  9300. #, no-wrap
  9301. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9302. msgstr ""
  9303. #. type: deffn
  9304. #: guix-git/doc/guix.texi:4747
  9305. msgid "[#:cache-directory] [#:ttl] Return an inferior for @var{channels}, a list of channels. Use the cache at @var{cache-directory}, where entries can be reclaimed after @var{ttl} seconds. This procedure opens a new connection to the build daemon."
  9306. msgstr ""
  9307. #. type: deffn
  9308. #: guix-git/doc/guix.texi:4750
  9309. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9310. msgstr ""
  9311. #. type: deffn
  9312. #: guix-git/doc/guix.texi:4752
  9313. #, no-wrap
  9314. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9315. msgstr ""
  9316. #. type: deffn
  9317. #: guix-git/doc/guix.texi:4757
  9318. msgid "[#:command \"bin/guix\"] Open the inferior Guix in @var{directory}, running @code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} if the inferior could not be launched."
  9319. msgstr ""
  9320. #. type: Plain text
  9321. #: guix-git/doc/guix.texi:4762
  9322. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9323. msgstr ""
  9324. #. type: deffn
  9325. #: guix-git/doc/guix.texi:4763
  9326. #, no-wrap
  9327. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9328. msgstr ""
  9329. #. type: deffn
  9330. #: guix-git/doc/guix.texi:4765
  9331. msgid "Return the list of packages known to @var{inferior}."
  9332. msgstr ""
  9333. #. type: deffn
  9334. #: guix-git/doc/guix.texi:4767
  9335. #, no-wrap
  9336. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9337. msgstr ""
  9338. #. type: deffn
  9339. #: guix-git/doc/guix.texi:4772
  9340. msgid "[@var{version}] Return the sorted list of inferior packages matching @var{name} in @var{inferior}, with highest version numbers first. If @var{version} is true, return only packages with a version number prefixed by @var{version}."
  9341. msgstr ""
  9342. #. type: deffn
  9343. #: guix-git/doc/guix.texi:4774
  9344. #, no-wrap
  9345. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9346. msgstr ""
  9347. #. type: deffn
  9348. #: guix-git/doc/guix.texi:4776
  9349. msgid "Return true if @var{obj} is an inferior package."
  9350. msgstr ""
  9351. #. type: deffn
  9352. #: guix-git/doc/guix.texi:4778
  9353. #, no-wrap
  9354. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9355. msgstr ""
  9356. #. type: deffnx
  9357. #: guix-git/doc/guix.texi:4779
  9358. #, no-wrap
  9359. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9360. msgstr ""
  9361. #. type: deffnx
  9362. #: guix-git/doc/guix.texi:4780
  9363. #, no-wrap
  9364. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9365. msgstr ""
  9366. #. type: deffnx
  9367. #: guix-git/doc/guix.texi:4781
  9368. #, no-wrap
  9369. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9370. msgstr ""
  9371. #. type: deffnx
  9372. #: guix-git/doc/guix.texi:4782
  9373. #, no-wrap
  9374. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9375. msgstr ""
  9376. #. type: deffnx
  9377. #: guix-git/doc/guix.texi:4783
  9378. #, no-wrap
  9379. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9380. msgstr ""
  9381. #. type: deffnx
  9382. #: guix-git/doc/guix.texi:4784
  9383. #, no-wrap
  9384. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9385. msgstr ""
  9386. #. type: deffnx
  9387. #: guix-git/doc/guix.texi:4785
  9388. #, no-wrap
  9389. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9390. msgstr ""
  9391. #. type: deffnx
  9392. #: guix-git/doc/guix.texi:4786
  9393. #, no-wrap
  9394. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9395. msgstr ""
  9396. #. type: deffnx
  9397. #: guix-git/doc/guix.texi:4787
  9398. #, no-wrap
  9399. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9400. msgstr ""
  9401. #. type: deffnx
  9402. #: guix-git/doc/guix.texi:4788
  9403. #, no-wrap
  9404. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9405. msgstr ""
  9406. #. type: deffnx
  9407. #: guix-git/doc/guix.texi:4789
  9408. #, no-wrap
  9409. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9410. msgstr ""
  9411. #. type: deffnx
  9412. #: guix-git/doc/guix.texi:4790
  9413. #, no-wrap
  9414. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9415. msgstr ""
  9416. #. type: deffn
  9417. #: guix-git/doc/guix.texi:4795
  9418. msgid "These procedures are the counterpart of package record accessors (@pxref{package Reference}). Most of them work by querying the inferior @var{package} comes from, so the inferior must still be live when you call these procedures."
  9419. msgstr ""
  9420. #. type: Plain text
  9421. #: guix-git/doc/guix.texi:4805
  9422. msgid "Inferior packages can be used transparently like any other package or file-like object in G-expressions (@pxref{G-Expressions}). They are also transparently handled by the @code{packages->manifest} procedure, which is commonly used in manifests (@pxref{Invoking guix package, the @option{--manifest} option of @command{guix package}}). Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the @code{packages} field of your @code{operating-system} declaration, and so on."
  9423. msgstr ""
  9424. #. type: section
  9425. #: guix-git/doc/guix.texi:4807
  9426. #, no-wrap
  9427. msgid "Invoking @command{guix describe}"
  9428. msgstr ""
  9429. #. type: Plain text
  9430. #: guix-git/doc/guix.texi:4818
  9431. msgid "Often you may want to answer questions like: ``Which revision of Guix am I using?'' or ``Which channels am I using?'' This is useful information in many situations: if you want to @emph{replicate} an environment on a different machine or user account, if you want to report a bug or to determine what change in the channels you are using caused it, or if you want to record your system state for reproducibility purposes. The @command{guix describe} command answers these questions."
  9432. msgstr ""
  9433. #. type: Plain text
  9434. #: guix-git/doc/guix.texi:4822
  9435. msgid "When run from a @command{guix pull}ed @command{guix}, @command{guix describe} displays the channel(s) that it was built from, including their repository URL and commit IDs (@pxref{Channels}):"
  9436. msgstr ""
  9437. #. type: example
  9438. #: guix-git/doc/guix.texi:4830
  9439. #, no-wrap
  9440. msgid ""
  9441. "$ guix describe\n"
  9442. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9443. " guix e0fa68c\n"
  9444. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9445. " branch: master\n"
  9446. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9447. msgstr ""
  9448. #. type: Plain text
  9449. #: guix-git/doc/guix.texi:4839
  9450. msgid "If you're familiar with the Git version control system, this is similar in spirit to @command{git describe}; the output is also similar to that of @command{guix pull --list-generations}, but limited to the current generation (@pxref{Invoking guix pull, the @option{--list-generations} option}). Because the Git commit ID shown above unambiguously refers to a snapshot of Guix, this information is all it takes to describe the revision of Guix you're using, and also to replicate it."
  9451. msgstr ""
  9452. #. type: Plain text
  9453. #: guix-git/doc/guix.texi:4842
  9454. msgid "To make it easier to replicate Guix, @command{guix describe} can also be asked to return a list of channels instead of the human-readable description above:"
  9455. msgstr ""
  9456. #. type: example
  9457. #: guix-git/doc/guix.texi:4855
  9458. #, no-wrap
  9459. msgid ""
  9460. "$ guix describe -f channels\n"
  9461. "(list (channel\n"
  9462. " (name 'guix)\n"
  9463. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9464. " (commit\n"
  9465. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9466. " (introduction\n"
  9467. " (make-channel-introduction\n"
  9468. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9469. " (openpgp-fingerprint\n"
  9470. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9471. msgstr ""
  9472. #. type: Plain text
  9473. #: guix-git/doc/guix.texi:4864
  9474. msgid "You can save this to a file and feed it to @command{guix pull -C} on some other machine or at a later point in time, which will instantiate @emph{this exact Guix revision} (@pxref{Invoking guix pull, the @option{-C} option}). From there on, since you're able to deploy the same revision of Guix, you can just as well @emph{replicate a complete software environment}. We humbly think that this is @emph{awesome}, and we hope you'll like it too!"
  9475. msgstr ""
  9476. #. type: Plain text
  9477. #: guix-git/doc/guix.texi:4867
  9478. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9479. msgstr ""
  9480. #. type: item
  9481. #: guix-git/doc/guix.texi:4869 guix-git/doc/guix.texi:6496
  9482. #: guix-git/doc/guix.texi:14703
  9483. #, no-wrap
  9484. msgid "--format=@var{format}"
  9485. msgstr ""
  9486. #. type: itemx
  9487. #: guix-git/doc/guix.texi:4870 guix-git/doc/guix.texi:6497
  9488. #: guix-git/doc/guix.texi:14704
  9489. #, no-wrap
  9490. msgid "-f @var{format}"
  9491. msgstr ""
  9492. #. type: table
  9493. #: guix-git/doc/guix.texi:4872 guix-git/doc/guix.texi:14706
  9494. msgid "Produce output in the specified @var{format}, one of:"
  9495. msgstr ""
  9496. #. type: item
  9497. #: guix-git/doc/guix.texi:4874
  9498. #, no-wrap
  9499. msgid "human"
  9500. msgstr ""
  9501. #. type: table
  9502. #: guix-git/doc/guix.texi:4876
  9503. msgid "produce human-readable output;"
  9504. msgstr ""
  9505. #. type: cindex
  9506. #: guix-git/doc/guix.texi:4876 guix-git/doc/guix.texi:5094
  9507. #, no-wrap
  9508. msgid "channels"
  9509. msgstr ""
  9510. #. type: table
  9511. #: guix-git/doc/guix.texi:4880
  9512. msgid "produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull});"
  9513. msgstr ""
  9514. #. type: item
  9515. #: guix-git/doc/guix.texi:4880
  9516. #, no-wrap
  9517. msgid "channels-sans-intro"
  9518. msgstr ""
  9519. #. type: table
  9520. #: guix-git/doc/guix.texi:4886
  9521. msgid "like @code{channels}, but omit the @code{introduction} field; use it to produce a channel specification suitable for Guix version 1.1.0 or earlier---the @code{introduction} field has to do with channel authentication (@pxref{Channels, Channel Authentication}) and is not supported by these older versions;"
  9522. msgstr ""
  9523. #. type: item
  9524. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:12528
  9525. #, no-wrap
  9526. msgid "json"
  9527. msgstr ""
  9528. #. type: cindex
  9529. #: guix-git/doc/guix.texi:4887
  9530. #, no-wrap
  9531. msgid "JSON"
  9532. msgstr ""
  9533. #. type: table
  9534. #: guix-git/doc/guix.texi:4889
  9535. msgid "produce a list of channel specifications in JSON format;"
  9536. msgstr ""
  9537. #. type: item
  9538. #: guix-git/doc/guix.texi:4889 guix-git/doc/guix.texi:14708
  9539. #, no-wrap
  9540. msgid "recutils"
  9541. msgstr ""
  9542. #. type: table
  9543. #: guix-git/doc/guix.texi:4891
  9544. msgid "produce a list of channel specifications in Recutils format."
  9545. msgstr ""
  9546. #. type: item
  9547. #: guix-git/doc/guix.texi:4893
  9548. #, no-wrap
  9549. msgid "--list-formats"
  9550. msgstr ""
  9551. #. type: table
  9552. #: guix-git/doc/guix.texi:4895
  9553. msgid "Display available formats for @option{--format} option."
  9554. msgstr ""
  9555. #. type: table
  9556. #: guix-git/doc/guix.texi:4899
  9557. msgid "Display information about @var{profile}."
  9558. msgstr ""
  9559. #. type: section
  9560. #: guix-git/doc/guix.texi:4902
  9561. #, no-wrap
  9562. msgid "Invoking @command{guix archive}"
  9563. msgstr ""
  9564. #. type: command{#1}
  9565. #: guix-git/doc/guix.texi:4904
  9566. #, no-wrap
  9567. msgid "guix archive"
  9568. msgstr ""
  9569. #. type: cindex
  9570. #: guix-git/doc/guix.texi:4905
  9571. #, no-wrap
  9572. msgid "archive"
  9573. msgstr "archív"
  9574. #. type: Plain text
  9575. #: guix-git/doc/guix.texi:4911
  9576. msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine."
  9577. msgstr ""
  9578. #. type: quotation
  9579. #: guix-git/doc/guix.texi:4915
  9580. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9581. msgstr ""
  9582. #. type: cindex
  9583. #: guix-git/doc/guix.texi:4917
  9584. #, no-wrap
  9585. msgid "exporting store items"
  9586. msgstr ""
  9587. #. type: Plain text
  9588. #: guix-git/doc/guix.texi:4919
  9589. msgid "To export store files as an archive to standard output, run:"
  9590. msgstr ""
  9591. #. type: example
  9592. #: guix-git/doc/guix.texi:4922
  9593. #, no-wrap
  9594. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9595. msgstr ""
  9596. #. type: Plain text
  9597. #: guix-git/doc/guix.texi:4929
  9598. msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:"
  9599. msgstr ""
  9600. #. type: example
  9601. #: guix-git/doc/guix.texi:4932
  9602. #, no-wrap
  9603. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9604. msgstr ""
  9605. #. type: Plain text
  9606. #: guix-git/doc/guix.texi:4937
  9607. msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})."
  9608. msgstr ""
  9609. #. type: Plain text
  9610. #: guix-git/doc/guix.texi:4940
  9611. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9612. msgstr ""
  9613. #. type: example
  9614. #: guix-git/doc/guix.texi:4943
  9615. #, no-wrap
  9616. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9617. msgstr ""
  9618. #. type: Plain text
  9619. #: guix-git/doc/guix.texi:4948
  9620. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9621. msgstr ""
  9622. #. type: example
  9623. #: guix-git/doc/guix.texi:4952
  9624. #, no-wrap
  9625. msgid ""
  9626. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9627. " ssh the-machine guix archive --import\n"
  9628. msgstr ""
  9629. #. type: Plain text
  9630. #: guix-git/doc/guix.texi:4962
  9631. msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @option{-r}), regardless of what is already available in the store on the target machine. The @option{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})."
  9632. msgstr ""
  9633. #. type: cindex
  9634. #: guix-git/doc/guix.texi:4963
  9635. #, no-wrap
  9636. msgid "nar, archive format"
  9637. msgstr ""
  9638. #. type: cindex
  9639. #: guix-git/doc/guix.texi:4964
  9640. #, no-wrap
  9641. msgid "normalized archive (nar)"
  9642. msgstr ""
  9643. #. type: cindex
  9644. #: guix-git/doc/guix.texi:4965
  9645. #, no-wrap
  9646. msgid "nar bundle, archive format"
  9647. msgstr ""
  9648. #. type: Plain text
  9649. #: guix-git/doc/guix.texi:4970
  9650. msgid "Each store item is written in the @dfn{normalized archive} or @dfn{nar} format (described below), and the output of @command{guix archive --export} (and input of @command{guix archive --import}) is a @dfn{nar bundle}."
  9651. msgstr ""
  9652. #. type: Plain text
  9653. #: guix-git/doc/guix.texi:4980
  9654. msgid "The nar format is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic."
  9655. msgstr ""
  9656. #. type: Plain text
  9657. #: guix-git/doc/guix.texi:4984
  9658. msgid "That nar bundle format is essentially the concatenation of zero or more nars along with metadata for each store item it contains: its file name, references, corresponding derivation, and a digital signature."
  9659. msgstr ""
  9660. #. type: Plain text
  9661. #: guix-git/doc/guix.texi:4990
  9662. msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized."
  9663. msgstr ""
  9664. #. type: Plain text
  9665. #: guix-git/doc/guix.texi:4992
  9666. msgid "The main options are:"
  9667. msgstr ""
  9668. #. type: item
  9669. #: guix-git/doc/guix.texi:4994
  9670. #, no-wrap
  9671. msgid "--export"
  9672. msgstr ""
  9673. #. type: table
  9674. #: guix-git/doc/guix.texi:4997
  9675. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9676. msgstr ""
  9677. #. type: table
  9678. #: guix-git/doc/guix.texi:5000
  9679. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9680. msgstr ""
  9681. #. type: itemx
  9682. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:12248
  9683. #: guix-git/doc/guix.texi:12375 guix-git/doc/guix.texi:12400
  9684. #: guix-git/doc/guix.texi:12432 guix-git/doc/guix.texi:12603
  9685. #: guix-git/doc/guix.texi:12644 guix-git/doc/guix.texi:12695
  9686. #: guix-git/doc/guix.texi:12720 guix-git/doc/guix.texi:12736
  9687. #: guix-git/doc/guix.texi:12784 guix-git/doc/guix.texi:12820
  9688. #, no-wrap
  9689. msgid "-r"
  9690. msgstr ""
  9691. #. type: item
  9692. #: guix-git/doc/guix.texi:5002 guix-git/doc/guix.texi:12247
  9693. #: guix-git/doc/guix.texi:12374 guix-git/doc/guix.texi:12399
  9694. #: guix-git/doc/guix.texi:12431 guix-git/doc/guix.texi:12602
  9695. #: guix-git/doc/guix.texi:12643 guix-git/doc/guix.texi:12694
  9696. #: guix-git/doc/guix.texi:12719 guix-git/doc/guix.texi:12735
  9697. #: guix-git/doc/guix.texi:12783 guix-git/doc/guix.texi:12819
  9698. #: guix-git/doc/guix.texi:12868
  9699. #, no-wrap
  9700. msgid "--recursive"
  9701. msgstr ""
  9702. #. type: table
  9703. #: guix-git/doc/guix.texi:5007
  9704. msgid "When combined with @option{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items."
  9705. msgstr ""
  9706. #. type: item
  9707. #: guix-git/doc/guix.texi:5008
  9708. #, no-wrap
  9709. msgid "--import"
  9710. msgstr ""
  9711. #. type: table
  9712. #: guix-git/doc/guix.texi:5013
  9713. msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @option{--authorize} below)."
  9714. msgstr ""
  9715. #. type: item
  9716. #: guix-git/doc/guix.texi:5014
  9717. #, no-wrap
  9718. msgid "--missing"
  9719. msgstr ""
  9720. #. type: table
  9721. #: guix-git/doc/guix.texi:5018
  9722. msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store."
  9723. msgstr ""
  9724. #. type: item
  9725. #: guix-git/doc/guix.texi:5019
  9726. #, no-wrap
  9727. msgid "--generate-key[=@var{parameters}]"
  9728. msgstr ""
  9729. #. type: cindex
  9730. #: guix-git/doc/guix.texi:5020
  9731. #, no-wrap
  9732. msgid "signing, archives"
  9733. msgstr ""
  9734. #. type: table
  9735. #: guix-git/doc/guix.texi:5027
  9736. msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @option{--export}. This operation is usually instantaneous but it can take time if the system's entropy pool needs to be refilled. On Guix System, @code{guix-service-type} takes care of generating this key pair the first boot."
  9737. msgstr ""
  9738. #. type: table
  9739. #: guix-git/doc/guix.texi:5037
  9740. msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret). When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})."
  9741. msgstr ""
  9742. #. type: item
  9743. #: guix-git/doc/guix.texi:5038
  9744. #, no-wrap
  9745. msgid "--authorize"
  9746. msgstr ""
  9747. #. type: cindex
  9748. #: guix-git/doc/guix.texi:5039
  9749. #, no-wrap
  9750. msgid "authorizing, archives"
  9751. msgstr ""
  9752. #. type: table
  9753. #: guix-git/doc/guix.texi:5043
  9754. msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file."
  9755. msgstr ""
  9756. #. type: table
  9757. #: guix-git/doc/guix.texi:5050
  9758. msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{https://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{https://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}."
  9759. msgstr ""
  9760. #. type: item
  9761. #: guix-git/doc/guix.texi:5051
  9762. #, no-wrap
  9763. msgid "--extract=@var{directory}"
  9764. msgstr ""
  9765. #. type: itemx
  9766. #: guix-git/doc/guix.texi:5052
  9767. #, no-wrap
  9768. msgid "-x @var{directory}"
  9769. msgstr ""
  9770. #. type: table
  9771. #: guix-git/doc/guix.texi:5056
  9772. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below."
  9773. msgstr ""
  9774. #. type: table
  9775. #: guix-git/doc/guix.texi:5059
  9776. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9777. msgstr ""
  9778. #. type: example
  9779. #: guix-git/doc/guix.texi:5064
  9780. #, no-wrap
  9781. msgid ""
  9782. "$ wget -O - \\\n"
  9783. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9784. " | gunzip | guix archive -x /tmp/emacs\n"
  9785. msgstr ""
  9786. #. type: table
  9787. #: guix-git/doc/guix.texi:5071
  9788. msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe."
  9789. msgstr ""
  9790. #. type: table
  9791. #: guix-git/doc/guix.texi:5075
  9792. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9793. msgstr ""
  9794. #. type: item
  9795. #: guix-git/doc/guix.texi:5076
  9796. #, no-wrap
  9797. msgid "--list"
  9798. msgstr ""
  9799. #. type: itemx
  9800. #: guix-git/doc/guix.texi:5077 guix-git/doc/guix.texi:12590
  9801. #: guix-git/doc/guix.texi:12637
  9802. #, no-wrap
  9803. msgid "-t"
  9804. msgstr ""
  9805. #. type: table
  9806. #: guix-git/doc/guix.texi:5081
  9807. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and print the list of files it contains, as in this example:"
  9808. msgstr ""
  9809. #. type: example
  9810. #: guix-git/doc/guix.texi:5086
  9811. #, no-wrap
  9812. msgid ""
  9813. "$ wget -O - \\\n"
  9814. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9815. " | lzip -d | guix archive -t\n"
  9816. msgstr ""
  9817. #. type: cindex
  9818. #: guix-git/doc/guix.texi:5097
  9819. #, no-wrap
  9820. msgid "@command{guix pull}, configuration file"
  9821. msgstr ""
  9822. #. type: cindex
  9823. #: guix-git/doc/guix.texi:5098
  9824. #, no-wrap
  9825. msgid "configuration of @command{guix pull}"
  9826. msgstr ""
  9827. #. type: Plain text
  9828. #: guix-git/doc/guix.texi:5109
  9829. msgid "Guix and its package collection are updated by running @command{guix pull} (@pxref{Invoking guix pull}). By default @command{guix pull} downloads and deploys Guix itself from the official GNU@tie{}Guix repository. This can be customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file. A channel specifies a URL and branch of a Git repository to be deployed, and @command{guix pull} can be instructed to pull from one or more channels. In other words, channels can be used to @emph{customize} and to @emph{extend} Guix, as we will see below. Guix is able to take into account security concerns and deal with authenticated updates."
  9830. msgstr ""
  9831. #. type: cindex
  9832. #: guix-git/doc/guix.texi:5127
  9833. #, no-wrap
  9834. msgid "extending the package collection (channels)"
  9835. msgstr ""
  9836. #. type: cindex
  9837. #: guix-git/doc/guix.texi:5128
  9838. #, no-wrap
  9839. msgid "variant packages (channels)"
  9840. msgstr ""
  9841. #. type: Plain text
  9842. #: guix-git/doc/guix.texi:5132
  9843. msgid "You can specify @emph{additional channels} to pull from. To use a channel, write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to pull from it @emph{in addition} to the default Guix channel(s):"
  9844. msgstr ""
  9845. #. type: vindex
  9846. #: guix-git/doc/guix.texi:5133
  9847. #, no-wrap
  9848. msgid "%default-channels"
  9849. msgstr ""
  9850. #. type: lisp
  9851. #: guix-git/doc/guix.texi:5140
  9852. #, no-wrap
  9853. msgid ""
  9854. ";; Add variant packages to those Guix provides.\n"
  9855. "(cons (channel\n"
  9856. " (name 'variant-packages)\n"
  9857. " (url \"https://example.org/variant-packages.git\"))\n"
  9858. " %default-channels)\n"
  9859. msgstr ""
  9860. #. type: Plain text
  9861. #: guix-git/doc/guix.texi:5150
  9862. msgid "Note that the snippet above is (as always!)@: Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix but also the package modules from your own repository. The result in @file{~/.config/guix/current} is the union of Guix with your own package modules:"
  9863. msgstr ""
  9864. #. type: example
  9865. #: guix-git/doc/guix.texi:5165
  9866. #, no-wrap
  9867. msgid ""
  9868. "$ guix pull --list-generations\n"
  9869. "@dots{}\n"
  9870. "Generation 19\tAug 27 2018 16:20:48\n"
  9871. " guix d894ab8\n"
  9872. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9873. " branch: master\n"
  9874. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9875. " variant-packages dd3df5e\n"
  9876. " repository URL: https://example.org/variant-packages.git\n"
  9877. " branch: master\n"
  9878. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9879. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9880. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9881. msgstr ""
  9882. #. type: Plain text
  9883. #: guix-git/doc/guix.texi:5173
  9884. msgid "The output of @command{guix pull} above shows that Generation@tie{}19 includes both Guix and packages from the @code{variant-personal-packages} channel. Among the new and upgraded packages that are listed, some like @code{variant-gimp} and @code{variant-emacs-with-cool-features} might come from @code{variant-packages}, while others come from the Guix default channel."
  9885. msgstr ""
  9886. #. type: Plain text
  9887. #: guix-git/doc/guix.texi:5182
  9888. msgid "The channel called @code{guix} specifies where Guix itself---its command-line tools as well as its package collection---should be downloaded. For instance, suppose you want to update from another copy of the Guix repository at @code{example.org}, and specifically the @code{super-hacks} branch, you can write in @code{~/.config/guix/channels.scm} this specification:"
  9889. msgstr ""
  9890. #. type: lisp
  9891. #: guix-git/doc/guix.texi:5189
  9892. #, no-wrap
  9893. msgid ""
  9894. ";; Tell 'guix pull' to use another repo.\n"
  9895. "(list (channel\n"
  9896. " (name 'guix)\n"
  9897. " (url \"https://example.org/another-guix.git\")\n"
  9898. " (branch \"super-hacks\")))\n"
  9899. msgstr ""
  9900. #. type: Plain text
  9901. #: guix-git/doc/guix.texi:5195
  9902. msgid "From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concern is addressed below ((@pxref{Channel Authentication})."
  9903. msgstr ""
  9904. #. type: Plain text
  9905. #: guix-git/doc/guix.texi:5206
  9906. msgid "The @command{guix pull --list-generations} output above shows precisely which commits were used to build this instance of Guix. We can thus replicate it, say, on another machine, by providing a channel specification in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits:"
  9907. msgstr ""
  9908. #. type: lisp
  9909. #: guix-git/doc/guix.texi:5217
  9910. #, no-wrap
  9911. msgid ""
  9912. ";; Deploy specific commits of my channels of interest.\n"
  9913. "(list (channel\n"
  9914. " (name 'guix)\n"
  9915. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9916. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9917. " (channel\n"
  9918. " (name 'variant-packages)\n"
  9919. " (url \"https://example.org/variant-packages.git\")\n"
  9920. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9921. msgstr ""
  9922. #. type: Plain text
  9923. #: guix-git/doc/guix.texi:5224
  9924. msgid "The @command{guix describe --format=channels} command can even generate this list of channels directly (@pxref{Invoking guix describe}). The resulting file can be used with the -C options of @command{guix pull} (@pxref{Invoking guix pull}) or @command{guix time-machine} (@pxref{Invoking guix time-machine})."
  9925. msgstr ""
  9926. #. type: Plain text
  9927. #: guix-git/doc/guix.texi:5231
  9928. msgid "At this point the two machines run the @emph{exact same Guix}, with access to the @emph{exact same packages}. The output of @command{guix build gimp} on one machine will be exactly the same, bit for bit, as the output of the same command on the other machine. It also means both machines have access to all the source code of Guix and, transitively, to all the source code of every package it defines."
  9929. msgstr ""
  9930. #. type: Plain text
  9931. #: guix-git/doc/guix.texi:5236
  9932. msgid "This gives you super powers, allowing you to track the provenance of binary artifacts with very fine grain, and to reproduce software environments at will---some sort of ``meta reproducibility'' capabilities, if you will. @xref{Inferiors}, for another way to take advantage of these super powers."
  9933. msgstr ""
  9934. #. type: anchor{#1}
  9935. #: guix-git/doc/guix.texi:5241
  9936. msgid "channel-authentication"
  9937. msgstr ""
  9938. #. type: Plain text
  9939. #: guix-git/doc/guix.texi:5247
  9940. msgid "The @command{guix pull} and @command{guix time-machine} commands @dfn{authenticate} the code retrieved from channels: they make sure each commit that is fetched is signed by an authorized developer. The goal is to protect from unauthorized modifications to the channel that would lead users to run malicious code."
  9941. msgstr ""
  9942. #. type: Plain text
  9943. #: guix-git/doc/guix.texi:5252
  9944. msgid "As a user, you must provide a @dfn{channel introduction} in your channels file so that Guix knows how to authenticate its first commit. A channel specification, including its introduction, looks something along these lines:"
  9945. msgstr ""
  9946. #. type: lisp
  9947. #: guix-git/doc/guix.texi:5262
  9948. #, no-wrap
  9949. msgid ""
  9950. "(channel\n"
  9951. " (name 'some-channel)\n"
  9952. " (url \"https://example.org/some-channel.git\")\n"
  9953. " (introduction\n"
  9954. " (make-channel-introduction\n"
  9955. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9956. " (openpgp-fingerprint\n"
  9957. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9958. msgstr ""
  9959. #. type: Plain text
  9960. #: guix-git/doc/guix.texi:5268
  9961. msgid "The specification above shows the name and URL of the channel. The call to @code{make-channel-introduction} above specifies that authentication of this channel starts at commit @code{6f0d8cc@dots{}}, which is signed by the OpenPGP key with fingerprint @code{CABB A931@dots{}}."
  9962. msgstr ""
  9963. #. type: Plain text
  9964. #: guix-git/doc/guix.texi:5274
  9965. msgid "For the main channel, called @code{guix}, you automatically get that information from your Guix installation. For other channels, include the channel introduction provided by the channel authors in your @file{channels.scm} file. Make sure you retrieve the channel introduction from a trusted source since that is the root of your trust."
  9966. msgstr ""
  9967. #. type: Plain text
  9968. #: guix-git/doc/guix.texi:5276
  9969. msgid "If you're curious about the authentication mechanics, read on!"
  9970. msgstr ""
  9971. #. type: Plain text
  9972. #: guix-git/doc/guix.texi:5287
  9973. msgid "When running @command{guix pull}, Guix will first compile the definitions of every available package. This is an expensive operation for which substitutes (@pxref{Substitutes}) may be available. The following snippet in @file{channels.scm} will ensure that @command{guix pull} uses the latest commit with available substitutes for the package definitions: this is done by querying the continuous integration server at @url{https://ci.guix.gnu.org}."
  9974. msgstr ""
  9975. #. type: lisp
  9976. #: guix-git/doc/guix.texi:5290
  9977. #, no-wrap
  9978. msgid ""
  9979. "(use-modules (guix ci))\n"
  9980. "\n"
  9981. msgstr ""
  9982. #. type: lisp
  9983. #: guix-git/doc/guix.texi:5294
  9984. #, no-wrap
  9985. msgid ""
  9986. "(list (channel-with-substitutes-available\n"
  9987. " %default-guix-channel\n"
  9988. " \"https://ci.guix.gnu.org\"))\n"
  9989. msgstr ""
  9990. #. type: Plain text
  9991. #: guix-git/doc/guix.texi:5301
  9992. msgid "Note that this does not mean that all the packages that you will install after running @command{guix pull} will have available substitutes. It only ensures that @command{guix pull} will not try to compile package definitions. This is particularly useful when using machines with limited resources."
  9993. msgstr ""
  9994. #. type: cindex
  9995. #: guix-git/doc/guix.texi:5305
  9996. #, no-wrap
  9997. msgid "personal packages (channels)"
  9998. msgstr ""
  9999. #. type: cindex
  10000. #: guix-git/doc/guix.texi:5306
  10001. #, no-wrap
  10002. msgid "channels, for personal packages"
  10003. msgstr ""
  10004. #. type: Plain text
  10005. #: guix-git/doc/guix.texi:5314
  10006. msgid "Let's say you have a bunch of custom package variants or personal packages that you think would make little sense to contribute to the Guix project, but would like to have these packages transparently available to you at the command line. You would first write modules containing those package definitions (@pxref{Package Modules}), maintain them in a Git repository, and then you and anyone else can use it as an additional channel to get packages from. Neat, no?"
  10007. msgstr ""
  10008. #. type: quotation
  10009. #: guix-git/doc/guix.texi:5322
  10010. msgid "Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and publish your personal channel to the world, we would like to share a few words of caution:"
  10011. msgstr ""
  10012. #. type: itemize
  10013. #: guix-git/doc/guix.texi:5330
  10014. msgid "Before publishing a channel, please consider contributing your package definitions to Guix proper (@pxref{Contributing}). Guix as a project is open to free software of all sorts, and packages in Guix proper are readily available to all Guix users and benefit from the project's quality assurance process."
  10015. msgstr ""
  10016. #. type: itemize
  10017. #: guix-git/doc/guix.texi:5339
  10018. msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either."
  10019. msgstr ""
  10020. #. type: itemize
  10021. #: guix-git/doc/guix.texi:5343
  10022. msgid "Corollary: if you're using an external channel and that channel breaks, please @emph{report the issue to the channel authors}, not to the Guix project."
  10023. msgstr ""
  10024. #. type: quotation
  10025. #: guix-git/doc/guix.texi:5350
  10026. msgid "You've been warned! Having said this, we believe external channels are a practical way to exert your freedom to augment Guix' package collection and to share your improvements, which are basic tenets of @uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please email us at @email{guix-devel@@gnu.org} if you'd like to discuss this."
  10027. msgstr ""
  10028. #. type: Plain text
  10029. #: guix-git/doc/guix.texi:5362
  10030. msgid "To create a channel, create a Git repository containing your own package modules and make it available. The repository can contain anything, but a useful channel will contain Guile modules that export packages. Once you start using a channel, Guix will behave as if the root directory of that channel's Git repository has been added to the Guile load path (@pxref{Load Paths,,, guile, GNU Guile Reference Manual}). For example, if your channel contains a file at @file{my-packages/my-tools.scm} that defines a Guile module, then the module will be available under the name @code{(my-packages my-tools)}, and you will be able to use it like any other module (@pxref{Modules,,, guile, GNU Guile Reference Manual})."
  10031. msgstr ""
  10032. #. type: Plain text
  10033. #: guix-git/doc/guix.texi:5367
  10034. msgid "As a channel author, consider bundling authentication material with your channel so that users can authenticate it. @xref{Channel Authentication}, and @ref{Specifying Channel Authorizations}, for info on how to do it."
  10035. msgstr ""
  10036. #. type: cindex
  10037. #: guix-git/doc/guix.texi:5372
  10038. #, no-wrap
  10039. msgid "subdirectory, channels"
  10040. msgstr ""
  10041. #. type: Plain text
  10042. #: guix-git/doc/guix.texi:5376
  10043. msgid "As a channel author, you may want to keep your channel modules in a sub-directory. If your modules are in the sub-directory @file{guix}, you must add a meta-data file @file{.guix-channel} that contains:"
  10044. msgstr ""
  10045. #. type: lisp
  10046. #: guix-git/doc/guix.texi:5381
  10047. #, no-wrap
  10048. msgid ""
  10049. "(channel\n"
  10050. " (version 0)\n"
  10051. " (directory \"guix\"))\n"
  10052. msgstr ""
  10053. #. type: cindex
  10054. #: guix-git/doc/guix.texi:5386
  10055. #, no-wrap
  10056. msgid "dependencies, channels"
  10057. msgstr ""
  10058. #. type: cindex
  10059. #: guix-git/doc/guix.texi:5387
  10060. #, no-wrap
  10061. msgid "meta-data, channels"
  10062. msgstr ""
  10063. #. type: Plain text
  10064. #: guix-git/doc/guix.texi:5392
  10065. msgid "Channel authors may decide to augment a package collection provided by other channels. They can declare their channel to be dependent on other channels in a meta-data file @file{.guix-channel}, which is to be placed in the root of the channel repository."
  10066. msgstr ""
  10067. #. type: Plain text
  10068. #: guix-git/doc/guix.texi:5394
  10069. msgid "The meta-data file should contain a simple S-expression like this:"
  10070. msgstr ""
  10071. #. type: lisp
  10072. #: guix-git/doc/guix.texi:5402
  10073. #, no-wrap
  10074. msgid ""
  10075. "(channel\n"
  10076. " (version 0)\n"
  10077. " (dependencies\n"
  10078. " (channel\n"
  10079. " (name some-collection)\n"
  10080. " (url \"https://example.org/first-collection.git\")\n"
  10081. "\n"
  10082. msgstr ""
  10083. #. type: lisp
  10084. #: guix-git/doc/guix.texi:5414
  10085. #, no-wrap
  10086. msgid ""
  10087. " ;; The 'introduction' bit below is optional: you would\n"
  10088. " ;; provide it for dependencies that can be authenticated.\n"
  10089. " (introduction\n"
  10090. " (channel-introduction\n"
  10091. " (version 0)\n"
  10092. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  10093. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10094. " (channel\n"
  10095. " (name some-other-collection)\n"
  10096. " (url \"https://example.org/second-collection.git\")\n"
  10097. " (branch \"testing\"))))\n"
  10098. msgstr ""
  10099. #. type: Plain text
  10100. #: guix-git/doc/guix.texi:5420
  10101. msgid "In the above example this channel is declared to depend on two other channels, which will both be fetched automatically. The modules provided by the channel will be compiled in an environment where the modules of all these declared channels are available."
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:5424
  10105. msgid "For the sake of reliability and maintainability, you should avoid dependencies on channels that you don't control, and you should aim to keep the number of dependencies to a minimum."
  10106. msgstr ""
  10107. #. type: cindex
  10108. #: guix-git/doc/guix.texi:5428
  10109. #, no-wrap
  10110. msgid "channel authorizations"
  10111. msgstr ""
  10112. #. type: anchor{#1}
  10113. #: guix-git/doc/guix.texi:5442
  10114. msgid "channel-authorizations"
  10115. msgstr ""
  10116. #. type: Plain text
  10117. #: guix-git/doc/guix.texi:5442
  10118. msgid "As we saw above, Guix ensures the source code it pulls from channels comes from authorized developers. As a channel author, you need to specify the list of authorized developers in the @file{.guix-authorizations} file in the channel's Git repository. The authentication rule is simple: each commit must be signed by a key listed in the @file{.guix-authorizations} file of its parent commit(s)@footnote{Git commits form a @dfn{directed acyclic graph} (DAG). Each commit can have zero or more parents; ``regular'' commits have one parent and merge commits have two parent commits. Read @uref{https://eagain.net/articles/git-for-computer-scientists/, @i{Git for Computer Scientists}} for a great overview.} The @file{.guix-authorizations} file looks like this:"
  10119. msgstr ""
  10120. #. type: lisp
  10121. #: guix-git/doc/guix.texi:5445
  10122. #, no-wrap
  10123. msgid ""
  10124. ";; Example '.guix-authorizations' file.\n"
  10125. "\n"
  10126. msgstr ""
  10127. #. type: lisp
  10128. #: guix-git/doc/guix.texi:5448
  10129. #, no-wrap
  10130. msgid ""
  10131. "(authorizations\n"
  10132. " (version 0) ;current file format version\n"
  10133. "\n"
  10134. msgstr ""
  10135. #. type: lisp
  10136. #: guix-git/doc/guix.texi:5455
  10137. #, no-wrap
  10138. msgid ""
  10139. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10140. " (name \"alice\"))\n"
  10141. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10142. " (name \"bob\"))\n"
  10143. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10144. " (name \"charlie\"))))\n"
  10145. msgstr ""
  10146. #. type: Plain text
  10147. #: guix-git/doc/guix.texi:5459
  10148. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10149. msgstr ""
  10150. #. type: Plain text
  10151. #: guix-git/doc/guix.texi:5464
  10152. msgid "This authentication rule creates a chicken-and-egg issue: how do we authenticate the first commit? Related to that: how do we deal with channels whose repository history contains unsigned commits and lack @file{.guix-authorizations}? And how do we fork existing channels?"
  10153. msgstr ""
  10154. #. type: cindex
  10155. #: guix-git/doc/guix.texi:5465
  10156. #, no-wrap
  10157. msgid "channel introduction"
  10158. msgstr ""
  10159. #. type: Plain text
  10160. #: guix-git/doc/guix.texi:5474
  10161. msgid "Channel introductions answer these questions by describing the first commit of a channel that should be authenticated. The first time a channel is fetched with @command{guix pull} or @command{guix time-machine}, the command looks up the introductory commit and verifies that it is signed by the specified OpenPGP key. From then on, it authenticates commits according to the rule above. Authentication fails if the target commit is neither a descendant nor an ancestor of the introductory commit."
  10162. msgstr ""
  10163. #. type: Plain text
  10164. #: guix-git/doc/guix.texi:5481
  10165. msgid "Additionally, your channel must provide all the OpenPGP keys that were ever mentioned in @file{.guix-authorizations}, stored as @file{.key} files, which can be either binary or ``ASCII-armored''. By default, those @file{.key} files are searched for in the branch named @code{keyring} but you can specify a different branch name in @code{.guix-channel} like so:"
  10166. msgstr ""
  10167. #. type: lisp
  10168. #: guix-git/doc/guix.texi:5486
  10169. #, no-wrap
  10170. msgid ""
  10171. "(channel\n"
  10172. " (version 0)\n"
  10173. " (keyring-reference \"my-keyring-branch\"))\n"
  10174. msgstr ""
  10175. #. type: Plain text
  10176. #: guix-git/doc/guix.texi:5490
  10177. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10178. msgstr ""
  10179. #. type: enumerate
  10180. #: guix-git/doc/guix.texi:5496
  10181. msgid "Export the OpenPGP keys of past and present committers with @command{gpg --export} and store them in @file{.key} files, by default in a branch named @code{keyring} (we recommend making it an @dfn{orphan branch})."
  10182. msgstr ""
  10183. #. type: enumerate
  10184. #: guix-git/doc/guix.texi:5501
  10185. msgid "Introduce an initial @file{.guix-authorizations} in the channel's repository. Do that in a signed commit (@pxref{Commit Access}, for information on how to sign Git commits.)"
  10186. msgstr ""
  10187. #. type: enumerate
  10188. #: guix-git/doc/guix.texi:5507
  10189. msgid "Advertise the channel introduction, for instance on your channel's web page. The channel introduction, as we saw above, is the commit/key pair---i.e., the commit that introduced @file{.guix-authorizations}, and the fingerprint of the OpenPGP used to sign it."
  10190. msgstr ""
  10191. #. type: Plain text
  10192. #: guix-git/doc/guix.texi:5512
  10193. msgid "Before pushing to your public Git repository, you can run @command{guix git-authenticate} to verify that you did sign all the commits you are about to push with an authorized key:"
  10194. msgstr ""
  10195. #. type: example
  10196. #: guix-git/doc/guix.texi:5515
  10197. #, no-wrap
  10198. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10199. msgstr ""
  10200. #. type: Plain text
  10201. #: guix-git/doc/guix.texi:5520
  10202. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10203. msgstr ""
  10204. #. type: Plain text
  10205. #: guix-git/doc/guix.texi:5527
  10206. msgid "Publishing a signed channel requires discipline: any mistake, such as an unsigned commit or a commit signed by an unauthorized key, will prevent users from pulling from your channel---well, that's the whole point of authentication! Pay attention to merges in particular: merge commits are considered authentic if and only if they are signed by a key present in the @file{.guix-authorizations} file of @emph{both} branches."
  10207. msgstr ""
  10208. #. type: cindex
  10209. #: guix-git/doc/guix.texi:5531
  10210. #, no-wrap
  10211. msgid "primary URL, channels"
  10212. msgstr ""
  10213. #. type: Plain text
  10214. #: guix-git/doc/guix.texi:5534
  10215. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10216. msgstr ""
  10217. #. type: lisp
  10218. #: guix-git/doc/guix.texi:5539
  10219. #, no-wrap
  10220. msgid ""
  10221. "(channel\n"
  10222. " (version 0)\n"
  10223. " (url \"https://example.org/guix.git\"))\n"
  10224. msgstr ""
  10225. #. type: Plain text
  10226. #: guix-git/doc/guix.texi:5546
  10227. msgid "This allows @command{guix pull} to determine whether it is pulling code from a mirror of the channel; when that is the case, it warns the user that the mirror might be stale and displays the primary URL@. That way, users cannot be tricked into fetching code from a stale mirror that does not receive security updates."
  10228. msgstr ""
  10229. #. type: Plain text
  10230. #: guix-git/doc/guix.texi:5550
  10231. msgid "This feature only makes sense for authenticated repositories, such as the official @code{guix} channel, for which @command{guix pull} ensures the code it fetches is authentic."
  10232. msgstr ""
  10233. #. type: cindex
  10234. #: guix-git/doc/guix.texi:5554
  10235. #, no-wrap
  10236. msgid "news, for channels"
  10237. msgstr ""
  10238. #. type: Plain text
  10239. #: guix-git/doc/guix.texi:5558
  10240. msgid "Channel authors may occasionally want to communicate to their users information about important changes in the channel. You'd send them all an email, but that's not convenient."
  10241. msgstr ""
  10242. #. type: Plain text
  10243. #: guix-git/doc/guix.texi:5563
  10244. msgid "Instead, channels can provide a @dfn{news file}; when the channel users run @command{guix pull}, that news file is automatically read and @command{guix pull --news} can display the announcements that correspond to the new commits that have been pulled, if any."
  10245. msgstr ""
  10246. #. type: Plain text
  10247. #: guix-git/doc/guix.texi:5566
  10248. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10249. msgstr ""
  10250. #. type: lisp
  10251. #: guix-git/doc/guix.texi:5571
  10252. #, no-wrap
  10253. msgid ""
  10254. "(channel\n"
  10255. " (version 0)\n"
  10256. " (news-file \"etc/news.txt\"))\n"
  10257. msgstr ""
  10258. #. type: Plain text
  10259. #: guix-git/doc/guix.texi:5575
  10260. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10261. msgstr ""
  10262. #. type: lisp
  10263. #: guix-git/doc/guix.texi:5588
  10264. #, no-wrap
  10265. msgid ""
  10266. "(channel-news\n"
  10267. " (version 0)\n"
  10268. " (entry (tag \"the-bug-fix\")\n"
  10269. " (title (en \"Fixed terrible bug\")\n"
  10270. " (fr \"Oh la la\"))\n"
  10271. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10272. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10273. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10274. " (title (en \"Added a great package\")\n"
  10275. " (ca \"Què vol dir guix?\"))\n"
  10276. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10277. msgstr ""
  10278. #. type: Plain text
  10279. #: guix-git/doc/guix.texi:5595
  10280. msgid "While the news file is using the Scheme syntax, avoid naming it with a @file{.scm} extension or else it will get picked up when building the channel and yield an error since it is not a valid module. Alternatively, you can move the channel module to a subdirectory and store the news file in another directory."
  10281. msgstr ""
  10282. #. type: Plain text
  10283. #: guix-git/doc/guix.texi:5600
  10284. msgid "The file consists of a list of @dfn{news entries}. Each entry is associated with a commit or tag: it describes changes made in this commit, possibly in preceding commits as well. Users see entries only the first time they obtain the commit the entry refers to."
  10285. msgstr ""
  10286. #. type: Plain text
  10287. #: guix-git/doc/guix.texi:5606
  10288. msgid "The @code{title} field should be a one-line summary while @code{body} can be arbitrarily long, and both can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). Both the title and body are a list of language tag/message tuples, which allows @command{guix pull} to display news in the language that corresponds to the user's locale."
  10289. msgstr ""
  10290. #. type: Plain text
  10291. #: guix-git/doc/guix.texi:5612
  10292. msgid "If you want to translate news using a gettext-based workflow, you can extract translatable strings with @command{xgettext} (@pxref{xgettext Invocation,,, gettext, GNU Gettext Utilities}). For example, assuming you write news entries in English first, the command below creates a PO file containing the strings to translate:"
  10293. msgstr ""
  10294. #. type: example
  10295. #: guix-git/doc/guix.texi:5615
  10296. #, no-wrap
  10297. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10298. msgstr ""
  10299. #. type: Plain text
  10300. #: guix-git/doc/guix.texi:5619
  10301. msgid "To sum up, yes, you could use your channel as a blog. But beware, this is @emph{not quite} what your users might expect."
  10302. msgstr ""
  10303. #. type: cindex
  10304. #: guix-git/doc/guix.texi:5624
  10305. #, no-wrap
  10306. msgid "software development"
  10307. msgstr "vývoj softvéru"
  10308. #. type: Plain text
  10309. #: guix-git/doc/guix.texi:5628
  10310. msgid "If you are a software developer, Guix provides tools that you should find helpful---independently of the language you're developing in. This is what this chapter is about."
  10311. msgstr ""
  10312. #. type: Plain text
  10313. #: guix-git/doc/guix.texi:5634
  10314. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10315. msgstr ""
  10316. #. type: section
  10317. #: guix-git/doc/guix.texi:5644
  10318. #, no-wrap
  10319. msgid "Invoking @command{guix shell}"
  10320. msgstr ""
  10321. #. type: cindex
  10322. #: guix-git/doc/guix.texi:5646
  10323. #, no-wrap
  10324. msgid "reproducible build environments"
  10325. msgstr ""
  10326. #. type: cindex
  10327. #: guix-git/doc/guix.texi:5647
  10328. #, no-wrap
  10329. msgid "development environments"
  10330. msgstr ""
  10331. #. type: command{#1}
  10332. #: guix-git/doc/guix.texi:5648
  10333. #, no-wrap
  10334. msgid "guix environment"
  10335. msgstr ""
  10336. #. type: cindex
  10337. #: guix-git/doc/guix.texi:5649
  10338. #, no-wrap
  10339. msgid "environment, package build environment"
  10340. msgstr ""
  10341. #. type: Plain text
  10342. #: guix-git/doc/guix.texi:5654
  10343. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  10344. msgstr ""
  10345. #. type: quotation
  10346. #: guix-git/doc/guix.texi:5660
  10347. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  10348. msgstr ""
  10349. #. type: example
  10350. #: guix-git/doc/guix.texi:5666
  10351. #, no-wrap
  10352. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10353. msgstr ""
  10354. #. type: Plain text
  10355. #: guix-git/doc/guix.texi:5671
  10356. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  10357. msgstr ""
  10358. #. type: example
  10359. #: guix-git/doc/guix.texi:5674
  10360. #, no-wrap
  10361. msgid "guix shell python python-numpy -- python3\n"
  10362. msgstr ""
  10363. #. type: Plain text
  10364. #: guix-git/doc/guix.texi:5679
  10365. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  10366. msgstr ""
  10367. #. type: example
  10368. #: guix-git/doc/guix.texi:5682
  10369. #, no-wrap
  10370. msgid "guix shell --development inkscape\n"
  10371. msgstr ""
  10372. #. type: Plain text
  10373. #: guix-git/doc/guix.texi:5688
  10374. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  10375. msgstr ""
  10376. #. type: Plain text
  10377. #: guix-git/doc/guix.texi:5695
  10378. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10379. msgstr ""
  10380. #. type: example
  10381. #: guix-git/doc/guix.texi:5698
  10382. #, no-wrap
  10383. msgid "guix shell\n"
  10384. msgstr ""
  10385. #. type: Plain text
  10386. #: guix-git/doc/guix.texi:5702
  10387. msgid "This provides an easy way to define, share, and enter development environments."
  10388. msgstr ""
  10389. #. type: Plain text
  10390. #: guix-git/doc/guix.texi:5713
  10391. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  10392. msgstr ""
  10393. #. type: example
  10394. #: guix-git/doc/guix.texi:5716
  10395. #, no-wrap
  10396. msgid "guix shell --container emacs gcc-toolchain\n"
  10397. msgstr ""
  10398. #. type: Plain text
  10399. #: guix-git/doc/guix.texi:5724
  10400. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  10401. msgstr ""
  10402. #. type: Plain text
  10403. #: guix-git/doc/guix.texi:5731
  10404. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  10405. msgstr ""
  10406. #. type: example
  10407. #: guix-git/doc/guix.texi:5735
  10408. #, no-wrap
  10409. msgid ""
  10410. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10411. " --preserve='^DISPLAY$' -- chromium\n"
  10412. msgstr ""
  10413. #. type: vindex
  10414. #: guix-git/doc/guix.texi:5737 guix-git/doc/guix.texi:6067
  10415. #, no-wrap
  10416. msgid "GUIX_ENVIRONMENT"
  10417. msgstr ""
  10418. #. type: Plain text
  10419. #: guix-git/doc/guix.texi:5743
  10420. msgid "@command{guix shell} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10421. msgstr ""
  10422. #. type: example
  10423. #: guix-git/doc/guix.texi:5749 guix-git/doc/guix.texi:6079
  10424. #, no-wrap
  10425. msgid ""
  10426. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10427. "then\n"
  10428. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10429. "fi\n"
  10430. msgstr ""
  10431. #. type: Plain text
  10432. #: guix-git/doc/guix.texi:5753 guix-git/doc/guix.texi:6083
  10433. msgid "...@: or to browse the profile:"
  10434. msgstr ""
  10435. #. type: example
  10436. #: guix-git/doc/guix.texi:5756 guix-git/doc/guix.texi:6086
  10437. #, no-wrap
  10438. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10439. msgstr ""
  10440. #. type: Plain text
  10441. #: guix-git/doc/guix.texi:5759 guix-git/doc/guix.texi:6162
  10442. msgid "The available options are summarized below."
  10443. msgstr ""
  10444. #. type: item
  10445. #: guix-git/doc/guix.texi:5761 guix-git/doc/guix.texi:6164
  10446. #: guix-git/doc/guix.texi:11964
  10447. #, no-wrap
  10448. msgid "--check"
  10449. msgstr ""
  10450. #. type: table
  10451. #: guix-git/doc/guix.texi:5766
  10452. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  10453. msgstr ""
  10454. #. type: table
  10455. #: guix-git/doc/guix.texi:5770
  10456. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  10457. msgstr ""
  10458. #. type: table
  10459. #: guix-git/doc/guix.texi:5778
  10460. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  10461. msgstr ""
  10462. #. type: item
  10463. #: guix-git/doc/guix.texi:5779
  10464. #, no-wrap
  10465. msgid "--development"
  10466. msgstr ""
  10467. #. type: table
  10468. #: guix-git/doc/guix.texi:5786
  10469. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  10470. msgstr ""
  10471. #. type: example
  10472. #: guix-git/doc/guix.texi:5789
  10473. #, no-wrap
  10474. msgid "guix shell -D guile autoconf automake libtool\n"
  10475. msgstr ""
  10476. #. type: item
  10477. #: guix-git/doc/guix.texi:5791 guix-git/doc/guix.texi:6185
  10478. #: guix-git/doc/guix.texi:6672 guix-git/doc/guix.texi:11839
  10479. #: guix-git/doc/guix.texi:12913 guix-git/doc/guix.texi:13305
  10480. #: guix-git/doc/guix.texi:13903 guix-git/doc/guix.texi:35801
  10481. #: guix-git/doc/guix.texi:38386
  10482. #, no-wrap
  10483. msgid "--expression=@var{expr}"
  10484. msgstr ""
  10485. #. type: itemx
  10486. #: guix-git/doc/guix.texi:5792 guix-git/doc/guix.texi:6186
  10487. #: guix-git/doc/guix.texi:6673 guix-git/doc/guix.texi:11840
  10488. #: guix-git/doc/guix.texi:12914 guix-git/doc/guix.texi:13306
  10489. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:35802
  10490. #: guix-git/doc/guix.texi:38387
  10491. #, no-wrap
  10492. msgid "-e @var{expr}"
  10493. msgstr ""
  10494. #. type: table
  10495. #: guix-git/doc/guix.texi:5795 guix-git/doc/guix.texi:6189
  10496. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10497. msgstr ""
  10498. #. type: table
  10499. #: guix-git/doc/guix.texi:5797 guix-git/doc/guix.texi:6191
  10500. #: guix-git/doc/guix.texi:13310
  10501. msgid "For example, running:"
  10502. msgstr ""
  10503. #. type: example
  10504. #: guix-git/doc/guix.texi:5800
  10505. #, no-wrap
  10506. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10507. msgstr ""
  10508. #. type: table
  10509. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6198
  10510. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10511. msgstr ""
  10512. #. type: table
  10513. #: guix-git/doc/guix.texi:5806 guix-git/doc/guix.texi:6200
  10514. msgid "Running:"
  10515. msgstr "Spustiť:"
  10516. #. type: example
  10517. #: guix-git/doc/guix.texi:5809
  10518. #, no-wrap
  10519. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10520. msgstr ""
  10521. #. type: table
  10522. #: guix-git/doc/guix.texi:5812 guix-git/doc/guix.texi:6206
  10523. msgid "starts a shell with all the base system packages available."
  10524. msgstr ""
  10525. #. type: table
  10526. #: guix-git/doc/guix.texi:5815 guix-git/doc/guix.texi:6209
  10527. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10528. msgstr ""
  10529. #. type: example
  10530. #: guix-git/doc/guix.texi:5818
  10531. #, no-wrap
  10532. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10533. msgstr ""
  10534. #. type: item
  10535. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:11813
  10536. #, no-wrap
  10537. msgid "--file=@var{file}"
  10538. msgstr ""
  10539. #. type: table
  10540. #: guix-git/doc/guix.texi:5824
  10541. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10542. msgstr ""
  10543. #. type: lisp
  10544. #: guix-git/doc/guix.texi:5830 guix-git/doc/guix.texi:6224
  10545. #, no-wrap
  10546. msgid "@verbatiminclude environment-gdb.scm\n"
  10547. msgstr ""
  10548. #. type: table
  10549. #: guix-git/doc/guix.texi:5834
  10550. msgid "With the file above, you can enter a development environment for GDB by running:"
  10551. msgstr ""
  10552. #. type: example
  10553. #: guix-git/doc/guix.texi:5837
  10554. #, no-wrap
  10555. msgid "guix shell -D -f gdb-devel.scm\n"
  10556. msgstr ""
  10557. #. type: table
  10558. #: guix-git/doc/guix.texi:5844 guix-git/doc/guix.texi:6231
  10559. msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  10560. msgstr ""
  10561. #. type: table
  10562. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:6235
  10563. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10564. msgstr ""
  10565. #. type: table
  10566. #: guix-git/doc/guix.texi:5854 guix-git/doc/guix.texi:6267
  10567. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  10568. msgstr ""
  10569. #. type: item
  10570. #: guix-git/doc/guix.texi:5855 guix-git/doc/guix.texi:6268
  10571. #, no-wrap
  10572. msgid "--pure"
  10573. msgstr ""
  10574. #. type: table
  10575. #: guix-git/doc/guix.texi:5859 guix-git/doc/guix.texi:6272
  10576. msgid "Unset existing environment variables when building the new environment, except those specified with @option{--preserve} (see below). This has the effect of creating an environment in which search paths only contain package inputs."
  10577. msgstr ""
  10578. #. type: item
  10579. #: guix-git/doc/guix.texi:5860 guix-git/doc/guix.texi:6273
  10580. #, no-wrap
  10581. msgid "--preserve=@var{regexp}"
  10582. msgstr ""
  10583. #. type: itemx
  10584. #: guix-git/doc/guix.texi:5861 guix-git/doc/guix.texi:6274
  10585. #, no-wrap
  10586. msgid "-E @var{regexp}"
  10587. msgstr ""
  10588. #. type: table
  10589. #: guix-git/doc/guix.texi:5866 guix-git/doc/guix.texi:6279
  10590. msgid "When used alongside @option{--pure}, preserve the environment variables matching @var{regexp}---in other words, put them on a ``white list'' of environment variables that must be preserved. This option can be repeated several times."
  10591. msgstr ""
  10592. #. type: example
  10593. #: guix-git/doc/guix.texi:5870
  10594. #, no-wrap
  10595. msgid ""
  10596. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10597. " -- mpirun @dots{}\n"
  10598. msgstr ""
  10599. #. type: table
  10600. #: guix-git/doc/guix.texi:5876 guix-git/doc/guix.texi:6289
  10601. msgid "This example runs @command{mpirun} in a context where the only environment variables defined are @env{PATH}, environment variables whose name starts with @samp{SLURM}, as well as the usual ``precious'' variables (@env{HOME}, @env{USER}, etc.)."
  10602. msgstr ""
  10603. #. type: item
  10604. #: guix-git/doc/guix.texi:5877 guix-git/doc/guix.texi:6290
  10605. #, no-wrap
  10606. msgid "--search-paths"
  10607. msgstr ""
  10608. #. type: table
  10609. #: guix-git/doc/guix.texi:5880 guix-git/doc/guix.texi:6293
  10610. msgid "Display the environment variable definitions that make up the environment."
  10611. msgstr ""
  10612. #. type: table
  10613. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6297
  10614. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10615. msgstr ""
  10616. #. type: item
  10617. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6298
  10618. #, no-wrap
  10619. msgid "--container"
  10620. msgstr "--container"
  10621. #. type: itemx
  10622. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6299
  10623. #, no-wrap
  10624. msgid "-C"
  10625. msgstr ""
  10626. #. type: item
  10627. #: guix-git/doc/guix.texi:5887 guix-git/doc/guix.texi:6128
  10628. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:14459
  10629. #: guix-git/doc/guix.texi:35769
  10630. #, no-wrap
  10631. msgid "container"
  10632. msgstr "kontajner"
  10633. #. type: table
  10634. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6306
  10635. msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @option{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly."
  10636. msgstr ""
  10637. #. type: table
  10638. #: guix-git/doc/guix.texi:5897 guix-git/doc/guix.texi:6310
  10639. msgid "The spawned process runs as the current user outside the container. Inside the container, it has the same UID and GID as the current user, unless @option{--user} is passed (see below)."
  10640. msgstr ""
  10641. #. type: item
  10642. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6311
  10643. #: guix-git/doc/guix.texi:35861
  10644. #, no-wrap
  10645. msgid "--network"
  10646. msgstr ""
  10647. #. type: table
  10648. #: guix-git/doc/guix.texi:5903 guix-git/doc/guix.texi:6316
  10649. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10650. msgstr ""
  10651. #. type: item
  10652. #: guix-git/doc/guix.texi:5904 guix-git/doc/guix.texi:6317
  10653. #, no-wrap
  10654. msgid "--link-profile"
  10655. msgstr ""
  10656. #. type: itemx
  10657. #: guix-git/doc/guix.texi:5905 guix-git/doc/guix.texi:6318
  10658. #, no-wrap
  10659. msgid "-P"
  10660. msgstr ""
  10661. #. type: table
  10662. #: guix-git/doc/guix.texi:5913
  10663. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix shell} was invoked in the user's home directory."
  10664. msgstr ""
  10665. #. type: table
  10666. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6332
  10667. msgid "Certain packages are configured to look in @file{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @option{--link-profile} allows these programs to behave as expected within the environment."
  10668. msgstr ""
  10669. #. type: item
  10670. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6333
  10671. #: guix-git/doc/guix.texi:14036
  10672. #, no-wrap
  10673. msgid "--user=@var{user}"
  10674. msgstr ""
  10675. #. type: itemx
  10676. #: guix-git/doc/guix.texi:5921 guix-git/doc/guix.texi:6334
  10677. #: guix-git/doc/guix.texi:14037
  10678. #, no-wrap
  10679. msgid "-u @var{user}"
  10680. msgstr ""
  10681. #. type: table
  10682. #: guix-git/doc/guix.texi:5928 guix-git/doc/guix.texi:6341
  10683. msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}, the home directory will be @file{/home/@var{user}}, and no user GECOS data will be copied. Furthermore, the UID and GID inside the container are 1000. @var{user} need not exist on the system."
  10684. msgstr ""
  10685. #. type: table
  10686. #: guix-git/doc/guix.texi:5933 guix-git/doc/guix.texi:6346
  10687. msgid "Additionally, any shared or exposed path (see @option{--share} and @option{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory."
  10688. msgstr ""
  10689. #. type: example
  10690. #: guix-git/doc/guix.texi:5940
  10691. #, no-wrap
  10692. msgid ""
  10693. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10694. "cd $HOME/wd\n"
  10695. "guix shell --container --user=foo \\\n"
  10696. " --expose=$HOME/test \\\n"
  10697. " --expose=/tmp/target=$HOME/target\n"
  10698. msgstr ""
  10699. #. type: table
  10700. #: guix-git/doc/guix.texi:5945 guix-git/doc/guix.texi:6358
  10701. msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself."
  10702. msgstr ""
  10703. #. type: item
  10704. #: guix-git/doc/guix.texi:5946 guix-git/doc/guix.texi:6359
  10705. #, no-wrap
  10706. msgid "--no-cwd"
  10707. msgstr ""
  10708. #. type: table
  10709. #: guix-git/doc/guix.texi:5953 guix-git/doc/guix.texi:6366
  10710. msgid "For containers, the default behavior is to share the current working directory with the isolated container and immediately change to that directory within the container. If this is undesirable, @option{--no-cwd} will cause the current working directory to @emph{not} be automatically shared and will change to the user's home directory within the container instead. See also @option{--user}."
  10711. msgstr ""
  10712. #. type: item
  10713. #: guix-git/doc/guix.texi:5954 guix-git/doc/guix.texi:6367
  10714. #, no-wrap
  10715. msgid "--expose=@var{source}[=@var{target}]"
  10716. msgstr ""
  10717. #. type: itemx
  10718. #: guix-git/doc/guix.texi:5955 guix-git/doc/guix.texi:6368
  10719. #, no-wrap
  10720. msgid "--share=@var{source}[=@var{target}]"
  10721. msgstr ""
  10722. #. type: table
  10723. #: guix-git/doc/guix.texi:5961 guix-git/doc/guix.texi:6374
  10724. msgid "For containers, @option{--expose} (resp. @option{--share}) exposes the file system @var{source} from the host system as the read-only (resp. writable) file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container."
  10725. msgstr ""
  10726. #. type: table
  10727. #: guix-git/doc/guix.texi:5965 guix-git/doc/guix.texi:6378
  10728. msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:"
  10729. msgstr ""
  10730. #. type: example
  10731. #: guix-git/doc/guix.texi:5968
  10732. #, no-wrap
  10733. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10734. msgstr ""
  10735. #. type: item
  10736. #: guix-git/doc/guix.texi:5970
  10737. #, no-wrap
  10738. msgid "--rebuild-cache"
  10739. msgstr ""
  10740. #. type: cindex
  10741. #: guix-git/doc/guix.texi:5971
  10742. #, no-wrap
  10743. msgid "caching, of profiles"
  10744. msgstr ""
  10745. #. type: cindex
  10746. #: guix-git/doc/guix.texi:5972
  10747. #, no-wrap
  10748. msgid "caching, in @command{guix shell}"
  10749. msgstr ""
  10750. #. type: table
  10751. #: guix-git/doc/guix.texi:5978
  10752. msgid "In most cases, @command{guix shell} caches the environment so that subsequent uses are instantaneous. Least-recently used cache entries are periodically removed. The cache is also invalidated, when using @option{--file} or @option{--manifest}, anytime the corresponding file is modified."
  10753. msgstr ""
  10754. #. type: table
  10755. #: guix-git/doc/guix.texi:5984
  10756. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed. This is useful when using @option{--file} or @option{--manifest} and the @command{guix.scm} or @command{manifest.scm} file has external dependencies, or if its behavior depends, say, on environment variables."
  10757. msgstr ""
  10758. #. type: item
  10759. #: guix-git/doc/guix.texi:5985 guix-git/doc/guix.texi:6169
  10760. #: guix-git/doc/guix.texi:6740 guix-git/doc/guix.texi:11993
  10761. #: guix-git/doc/guix.texi:35866
  10762. #, no-wrap
  10763. msgid "--root=@var{file}"
  10764. msgstr ""
  10765. #. type: itemx
  10766. #: guix-git/doc/guix.texi:5986 guix-git/doc/guix.texi:6170
  10767. #: guix-git/doc/guix.texi:6741 guix-git/doc/guix.texi:11994
  10768. #: guix-git/doc/guix.texi:35867
  10769. #, no-wrap
  10770. msgid "-r @var{file}"
  10771. msgstr ""
  10772. #. type: cindex
  10773. #: guix-git/doc/guix.texi:5987 guix-git/doc/guix.texi:6171
  10774. #, no-wrap
  10775. msgid "persistent environment"
  10776. msgstr ""
  10777. #. type: cindex
  10778. #: guix-git/doc/guix.texi:5988 guix-git/doc/guix.texi:6172
  10779. #, no-wrap
  10780. msgid "garbage collector root, for environments"
  10781. msgstr ""
  10782. #. type: table
  10783. #: guix-git/doc/guix.texi:5991 guix-git/doc/guix.texi:6175
  10784. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10785. msgstr ""
  10786. #. type: table
  10787. #: guix-git/doc/guix.texi:5994 guix-git/doc/guix.texi:6178
  10788. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10789. msgstr ""
  10790. #. type: table
  10791. #: guix-git/doc/guix.texi:6000
  10792. msgid "When this option is omitted, @command{guix shell} caches profiles so that subsequent uses of the same environment are instantaneous---this is comparable to using @option{--root} except that @command{guix shell} takes care of periodically removing the least-recently used garbage collector roots."
  10793. msgstr ""
  10794. #. type: table
  10795. #: guix-git/doc/guix.texi:6007
  10796. msgid "In some cases, @command{guix shell} does not cache profiles---e.g., if transformation options such as @option{--with-latest} are used. In those cases, the environment is protected from garbage collection only for the duration of the @command{guix shell} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages."
  10797. msgstr ""
  10798. #. type: table
  10799. #: guix-git/doc/guix.texi:6009
  10800. msgid "@xref{Invoking guix gc}, for more on GC roots."
  10801. msgstr "Viď @xref{Invoking guix gc} pre viac podrobností o koreňoch zberača odpadkov."
  10802. #. type: Plain text
  10803. #: guix-git/doc/guix.texi:6014
  10804. msgid "@command{guix shell} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  10805. msgstr ""
  10806. #. type: section
  10807. #: guix-git/doc/guix.texi:6016
  10808. #, no-wrap
  10809. msgid "Invoking @command{guix environment}"
  10810. msgstr ""
  10811. #. type: Plain text
  10812. #: guix-git/doc/guix.texi:6020
  10813. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10814. msgstr ""
  10815. #. type: quotation
  10816. #: guix-git/doc/guix.texi:6021
  10817. #, no-wrap
  10818. msgid "Deprecation warning"
  10819. msgstr ""
  10820. #. type: quotation
  10821. #: guix-git/doc/guix.texi:6025
  10822. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  10823. msgstr ""
  10824. #. type: quotation
  10825. #: guix-git/doc/guix.texi:6030
  10826. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  10827. msgstr ""
  10828. #. type: example
  10829. #: guix-git/doc/guix.texi:6036
  10830. #, no-wrap
  10831. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10832. msgstr ""
  10833. #. type: Plain text
  10834. #: guix-git/doc/guix.texi:6040
  10835. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10836. msgstr ""
  10837. #. type: example
  10838. #: guix-git/doc/guix.texi:6043
  10839. #, no-wrap
  10840. msgid "guix environment guile\n"
  10841. msgstr ""
  10842. #. type: Plain text
  10843. #: guix-git/doc/guix.texi:6060
  10844. msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @option{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @env{PATH} in their @file{~/.bashrc} file. As a consequence, when @command{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}."
  10845. msgstr ""
  10846. #. type: Plain text
  10847. #: guix-git/doc/guix.texi:6066
  10848. msgid "Exiting from a Guix environment is the same as exiting from the shell, and will place the user back in the old environment before @command{guix environment} was invoked. The next garbage collection (@pxref{Invoking guix gc}) will clean up packages that were installed from within the environment and are no longer used outside of it."
  10849. msgstr ""
  10850. #. type: Plain text
  10851. #: guix-git/doc/guix.texi:6073
  10852. msgid "@command{guix environment} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10853. msgstr ""
  10854. #. type: Plain text
  10855. #: guix-git/doc/guix.texi:6092
  10856. msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:"
  10857. msgstr ""
  10858. #. type: example
  10859. #: guix-git/doc/guix.texi:6095
  10860. #, no-wrap
  10861. msgid "guix environment guile emacs\n"
  10862. msgstr ""
  10863. #. type: Plain text
  10864. #: guix-git/doc/guix.texi:6100
  10865. msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:"
  10866. msgstr ""
  10867. #. type: example
  10868. #: guix-git/doc/guix.texi:6103
  10869. #, no-wrap
  10870. msgid "guix environment guile -- make -j4\n"
  10871. msgstr ""
  10872. #. type: Plain text
  10873. #: guix-git/doc/guix.texi:6109
  10874. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}3 and NumPy:"
  10875. msgstr ""
  10876. #. type: example
  10877. #: guix-git/doc/guix.texi:6112
  10878. #, no-wrap
  10879. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10880. msgstr ""
  10881. #. type: Plain text
  10882. #: guix-git/doc/guix.texi:6123
  10883. msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @option{--ad-hoc} flag is positional. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:"
  10884. msgstr ""
  10885. #. type: example
  10886. #: guix-git/doc/guix.texi:6126
  10887. #, no-wrap
  10888. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10889. msgstr ""
  10890. #. type: Plain text
  10891. #: guix-git/doc/guix.texi:6136
  10892. msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not Guix System, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:"
  10893. msgstr ""
  10894. #. type: example
  10895. #: guix-git/doc/guix.texi:6139
  10896. #, no-wrap
  10897. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10898. msgstr ""
  10899. #. type: quotation
  10900. #: guix-git/doc/guix.texi:6143
  10901. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10902. msgstr ""
  10903. #. type: cindex
  10904. #: guix-git/doc/guix.texi:6145
  10905. #, no-wrap
  10906. msgid "certificates"
  10907. msgstr "certifikáty"
  10908. #. type: Plain text
  10909. #: guix-git/doc/guix.texi:6152
  10910. msgid "Another typical use case for containers is to run security-sensitive applications such as a web browser. To run Eolie, we must expose and share some files and directories; we include @code{nss-certs} and expose @file{/etc/ssl/certs/} for HTTPS authentication; finally we preserve the @env{DISPLAY} environment variable since containerized graphical applications won't display without it."
  10911. msgstr ""
  10912. #. type: example
  10913. #: guix-git/doc/guix.texi:6159
  10914. #, no-wrap
  10915. msgid ""
  10916. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10917. " --expose=/etc/machine-id \\\n"
  10918. " --expose=/etc/ssl/certs/ \\\n"
  10919. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10920. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10921. msgstr ""
  10922. #. type: table
  10923. #: guix-git/doc/guix.texi:6168
  10924. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10925. msgstr ""
  10926. #. type: table
  10927. #: guix-git/doc/guix.texi:6184
  10928. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots."
  10929. msgstr ""
  10930. #. type: example
  10931. #: guix-git/doc/guix.texi:6194
  10932. #, no-wrap
  10933. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10934. msgstr ""
  10935. #. type: example
  10936. #: guix-git/doc/guix.texi:6203
  10937. #, no-wrap
  10938. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10939. msgstr ""
  10940. #. type: example
  10941. #: guix-git/doc/guix.texi:6212
  10942. #, no-wrap
  10943. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10944. msgstr ""
  10945. #. type: item
  10946. #: guix-git/doc/guix.texi:6214
  10947. #, no-wrap
  10948. msgid "--load=@var{file}"
  10949. msgstr ""
  10950. #. type: itemx
  10951. #: guix-git/doc/guix.texi:6215
  10952. #, no-wrap
  10953. msgid "-l @var{file}"
  10954. msgstr ""
  10955. #. type: table
  10956. #: guix-git/doc/guix.texi:6218
  10957. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10958. msgstr ""
  10959. #. type: item
  10960. #: guix-git/doc/guix.texi:6236
  10961. #, no-wrap
  10962. msgid "--ad-hoc"
  10963. msgstr ""
  10964. #. type: table
  10965. #: guix-git/doc/guix.texi:6241
  10966. msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs."
  10967. msgstr ""
  10968. #. type: table
  10969. #: guix-git/doc/guix.texi:6243
  10970. msgid "For instance, the command:"
  10971. msgstr ""
  10972. #. type: example
  10973. #: guix-git/doc/guix.texi:6246
  10974. #, no-wrap
  10975. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10976. msgstr ""
  10977. #. type: table
  10978. #: guix-git/doc/guix.texi:6250
  10979. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10980. msgstr ""
  10981. #. type: table
  10982. #: guix-git/doc/guix.texi:6255
  10983. msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})."
  10984. msgstr ""
  10985. #. type: table
  10986. #: guix-git/doc/guix.texi:6261
  10987. msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly."
  10988. msgstr ""
  10989. #. type: example
  10990. #: guix-git/doc/guix.texi:6283
  10991. #, no-wrap
  10992. msgid ""
  10993. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10994. " -- mpirun @dots{}\n"
  10995. msgstr ""
  10996. #. type: table
  10997. #: guix-git/doc/guix.texi:6326
  10998. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory."
  10999. msgstr ""
  11000. #. type: example
  11001. #: guix-git/doc/guix.texi:6353
  11002. #, no-wrap
  11003. msgid ""
  11004. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  11005. "cd $HOME/wd\n"
  11006. "guix environment --container --user=foo \\\n"
  11007. " --expose=$HOME/test \\\n"
  11008. " --expose=/tmp/target=$HOME/target\n"
  11009. msgstr ""
  11010. #. type: example
  11011. #: guix-git/doc/guix.texi:6381
  11012. #, no-wrap
  11013. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  11014. msgstr ""
  11015. #. type: Plain text
  11016. #: guix-git/doc/guix.texi:6389
  11017. msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  11018. msgstr ""
  11019. #. type: section
  11020. #: guix-git/doc/guix.texi:6391
  11021. #, no-wrap
  11022. msgid "Invoking @command{guix pack}"
  11023. msgstr ""
  11024. #. type: Plain text
  11025. #: guix-git/doc/guix.texi:6397
  11026. msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in."
  11027. msgstr ""
  11028. #. type: quotation
  11029. #: guix-git/doc/guix.texi:6402
  11030. msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}."
  11031. msgstr ""
  11032. #. type: cindex
  11033. #: guix-git/doc/guix.texi:6404
  11034. #, no-wrap
  11035. msgid "pack"
  11036. msgstr ""
  11037. #. type: cindex
  11038. #: guix-git/doc/guix.texi:6405
  11039. #, no-wrap
  11040. msgid "bundle"
  11041. msgstr ""
  11042. #. type: cindex
  11043. #: guix-git/doc/guix.texi:6406
  11044. #, no-wrap
  11045. msgid "application bundle"
  11046. msgstr ""
  11047. #. type: cindex
  11048. #: guix-git/doc/guix.texi:6407
  11049. #, no-wrap
  11050. msgid "software bundle"
  11051. msgstr ""
  11052. #. type: Plain text
  11053. #: guix-git/doc/guix.texi:6416
  11054. msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping."
  11055. msgstr ""
  11056. #. type: Plain text
  11057. #: guix-git/doc/guix.texi:6419
  11058. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  11059. msgstr ""
  11060. #. type: example
  11061. #: guix-git/doc/guix.texi:6424
  11062. #, no-wrap
  11063. msgid ""
  11064. "$ guix pack guile emacs emacs-geiser\n"
  11065. "@dots{}\n"
  11066. "/gnu/store/@dots{}-pack.tar.gz\n"
  11067. msgstr ""
  11068. #. type: Plain text
  11069. #: guix-git/doc/guix.texi:6432
  11070. msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})."
  11071. msgstr ""
  11072. #. type: Plain text
  11073. #: guix-git/doc/guix.texi:6437
  11074. msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:"
  11075. msgstr ""
  11076. #. type: example
  11077. #: guix-git/doc/guix.texi:6440
  11078. #, no-wrap
  11079. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  11080. msgstr ""
  11081. #. type: Plain text
  11082. #: guix-git/doc/guix.texi:6444
  11083. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  11084. msgstr ""
  11085. #. type: cindex
  11086. #: guix-git/doc/guix.texi:6445
  11087. #, no-wrap
  11088. msgid "relocatable binaries, with @command{guix pack}"
  11089. msgstr ""
  11090. #. type: Plain text
  11091. #: guix-git/doc/guix.texi:6453
  11092. msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @option{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}."
  11093. msgstr ""
  11094. #. type: cindex
  11095. #: guix-git/doc/guix.texi:6454
  11096. #, no-wrap
  11097. msgid "Docker, build an image with guix pack"
  11098. msgstr ""
  11099. #. type: Plain text
  11100. #: guix-git/doc/guix.texi:6457
  11101. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  11102. msgstr ""
  11103. #. type: example
  11104. #: guix-git/doc/guix.texi:6460
  11105. #, no-wrap
  11106. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  11107. msgstr ""
  11108. #. type: Plain text
  11109. #: guix-git/doc/guix.texi:6465
  11110. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  11111. msgstr ""
  11112. #. type: example
  11113. #: guix-git/doc/guix.texi:6469
  11114. #, no-wrap
  11115. msgid ""
  11116. "docker load < @var{file}\n"
  11117. "docker run -ti guile-guile-readline /bin/guile\n"
  11118. msgstr ""
  11119. #. type: Plain text
  11120. #: guix-git/doc/guix.texi:6476
  11121. msgid "where @var{file} is the image returned by @var{guix pack}, and @code{guile-guile-readline} is its ``image tag''. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information."
  11122. msgstr ""
  11123. #. type: cindex
  11124. #: guix-git/doc/guix.texi:6477
  11125. #, no-wrap
  11126. msgid "Singularity, build an image with guix pack"
  11127. msgstr ""
  11128. #. type: cindex
  11129. #: guix-git/doc/guix.texi:6478
  11130. #, no-wrap
  11131. msgid "SquashFS, build an image with guix pack"
  11132. msgstr ""
  11133. #. type: Plain text
  11134. #: guix-git/doc/guix.texi:6481
  11135. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11136. msgstr ""
  11137. #. type: example
  11138. #: guix-git/doc/guix.texi:6484
  11139. #, no-wrap
  11140. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11141. msgstr ""
  11142. #. type: Plain text
  11143. #: guix-git/doc/guix.texi:6492
  11144. msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{https://www.sylabs.io/docs/, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}."
  11145. msgstr ""
  11146. #. type: Plain text
  11147. #: guix-git/doc/guix.texi:6494
  11148. msgid "Several command-line options allow you to customize your pack:"
  11149. msgstr ""
  11150. #. type: table
  11151. #: guix-git/doc/guix.texi:6499
  11152. msgid "Produce a pack in the given @var{format}."
  11153. msgstr ""
  11154. #. type: table
  11155. #: guix-git/doc/guix.texi:6501
  11156. msgid "The available formats are:"
  11157. msgstr ""
  11158. #. type: item
  11159. #: guix-git/doc/guix.texi:6503
  11160. #, no-wrap
  11161. msgid "tarball"
  11162. msgstr ""
  11163. #. type: table
  11164. #: guix-git/doc/guix.texi:6506
  11165. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11166. msgstr ""
  11167. #. type: item
  11168. #: guix-git/doc/guix.texi:6507
  11169. #, no-wrap
  11170. msgid "docker"
  11171. msgstr "docker"
  11172. #. type: table
  11173. #: guix-git/doc/guix.texi:6513
  11174. msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}. The ``repository name'' as it appears in the output of the @command{docker images} command is computed from package names passed on the command line or in the manifest file."
  11175. msgstr ""
  11176. #. type: item
  11177. #: guix-git/doc/guix.texi:6514
  11178. #, no-wrap
  11179. msgid "squashfs"
  11180. msgstr ""
  11181. #. type: table
  11182. #: guix-git/doc/guix.texi:6518
  11183. msgid "This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs."
  11184. msgstr ""
  11185. #. type: quotation
  11186. #: guix-git/doc/guix.texi:6524
  11187. msgid "Singularity @emph{requires} you to provide @file{/bin/sh} in the image. For that reason, @command{guix pack -f squashfs} always implies @code{-S /bin=bin}. Thus, your @command{guix pack} invocation must always start with something like:"
  11188. msgstr ""
  11189. #. type: example
  11190. #: guix-git/doc/guix.texi:6527
  11191. #, no-wrap
  11192. msgid "guix pack -f squashfs bash @dots{}\n"
  11193. msgstr ""
  11194. #. type: quotation
  11195. #: guix-git/doc/guix.texi:6532
  11196. msgid "If you forget the @code{bash} (or similar) package, @command{singularity run} and @command{singularity exec} will fail with an unhelpful ``no such file or directory'' message."
  11197. msgstr ""
  11198. #. type: item
  11199. #: guix-git/doc/guix.texi:6534
  11200. #, no-wrap
  11201. msgid "deb"
  11202. msgstr ""
  11203. #. type: table
  11204. #: guix-git/doc/guix.texi:6542
  11205. msgid "This produces a Debian archive (a package with the @samp{.deb} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any dpkg-based GNU(/Linux) distribution. Advanced options can be revealed via the @option{--help-deb-format} option. They allow embedding control files for more fine-grained control, such as activating specific triggers or providing a maintainer configure script to run arbitrary setup code upon installation."
  11206. msgstr ""
  11207. #. type: example
  11208. #: guix-git/doc/guix.texi:6545
  11209. #, no-wrap
  11210. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11211. msgstr ""
  11212. #. type: quotation
  11213. #: guix-git/doc/guix.texi:6552
  11214. msgid "Because archives produced with @command{guix pack} contain a collection of store items and because each @command{dpkg} package must not have conflicting files, in practice that means you likely won't be able to install more than one such archive on a given system."
  11215. msgstr ""
  11216. #. type: quotation
  11217. #: guix-git/doc/guix.texi:6560
  11218. msgid "@command{dpkg} will assume ownership of any files contained in the pack that it does @emph{not} know about. It is unwise to install Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-deb packs."
  11219. msgstr ""
  11220. #. type: cindex
  11221. #: guix-git/doc/guix.texi:6564
  11222. #, no-wrap
  11223. msgid "relocatable binaries"
  11224. msgstr ""
  11225. #. type: item
  11226. #: guix-git/doc/guix.texi:6565
  11227. #, no-wrap
  11228. msgid "--relocatable"
  11229. msgstr ""
  11230. #. type: table
  11231. #: guix-git/doc/guix.texi:6569
  11232. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11233. msgstr ""
  11234. #. type: table
  11235. #: guix-git/doc/guix.texi:6577
  11236. msgid "When this option is passed once, the resulting binaries require support for @dfn{user namespaces} in the kernel Linux; when passed @emph{twice}@footnote{Here's a trick to memorize it: @code{-RR}, which adds PRoot support, can be thought of as the abbreviation of ``Really Relocatable''. Neat, isn't it?}, relocatable binaries fall to back to other techniques if user namespaces are unavailable, and essentially work anywhere---see below for the implications."
  11237. msgstr ""
  11238. #. type: table
  11239. #: guix-git/doc/guix.texi:6579
  11240. msgid "For example, if you create a pack containing Bash with:"
  11241. msgstr ""
  11242. #. type: example
  11243. #: guix-git/doc/guix.texi:6582
  11244. #, no-wrap
  11245. msgid "guix pack -RR -S /mybin=bin bash\n"
  11246. msgstr ""
  11247. #. type: table
  11248. #: guix-git/doc/guix.texi:6587
  11249. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11250. msgstr ""
  11251. #. type: example
  11252. #: guix-git/doc/guix.texi:6591
  11253. #, no-wrap
  11254. msgid ""
  11255. "tar xf pack.tar.gz\n"
  11256. "./mybin/sh\n"
  11257. msgstr ""
  11258. #. type: table
  11259. #: guix-git/doc/guix.texi:6599
  11260. msgid "In that shell, if you type @code{ls /gnu/store}, you'll notice that @file{/gnu/store} shows up and contains all the dependencies of @code{bash}, even though the machine actually lacks @file{/gnu/store} altogether! That is probably the simplest way to deploy Guix-built software on a non-Guix machine."
  11261. msgstr ""
  11262. #. type: quotation
  11263. #: guix-git/doc/guix.texi:6605
  11264. msgid "By default, relocatable binaries rely on the @dfn{user namespace} feature of the kernel Linux, which allows unprivileged users to mount or change root. Old versions of Linux did not support it, and some GNU/Linux distributions turn it off."
  11265. msgstr ""
  11266. #. type: quotation
  11267. #: guix-git/doc/guix.texi:6611
  11268. msgid "To produce relocatable binaries that work even in the absence of user namespaces, pass @option{--relocatable} or @option{-R} @emph{twice}. In that case, binaries will try user namespace support and fall back to another @dfn{execution engine} if user namespaces are not supported. The following execution engines are supported:"
  11269. msgstr ""
  11270. #. type: item
  11271. #: guix-git/doc/guix.texi:6613 guix-git/doc/guix.texi:17858
  11272. #, no-wrap
  11273. msgid "default"
  11274. msgstr "predvolený"
  11275. #. type: table
  11276. #: guix-git/doc/guix.texi:6616
  11277. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11278. msgstr ""
  11279. #. type: item
  11280. #: guix-git/doc/guix.texi:6617
  11281. #, no-wrap
  11282. msgid "performance"
  11283. msgstr "výkon"
  11284. #. type: table
  11285. #: guix-git/doc/guix.texi:6620
  11286. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11287. msgstr ""
  11288. #. type: item
  11289. #: guix-git/doc/guix.texi:6621
  11290. #, no-wrap
  11291. msgid "userns"
  11292. msgstr ""
  11293. #. type: table
  11294. #: guix-git/doc/guix.texi:6624
  11295. msgid "Run the program through user namespaces and abort if they are not supported."
  11296. msgstr ""
  11297. #. type: item
  11298. #: guix-git/doc/guix.texi:6625
  11299. #, no-wrap
  11300. msgid "proot"
  11301. msgstr ""
  11302. #. type: table
  11303. #: guix-git/doc/guix.texi:6632
  11304. msgid "Run through PRoot. The @uref{https://proot-me.github.io/, PRoot} program provides the necessary support for file system virtualization. It achieves that by using the @code{ptrace} system call on the running program. This approach has the advantage to work without requiring special kernel support, but it incurs run-time overhead every time a system call is made."
  11305. msgstr ""
  11306. #. type: item
  11307. #: guix-git/doc/guix.texi:6633
  11308. #, no-wrap
  11309. msgid "fakechroot"
  11310. msgstr ""
  11311. #. type: table
  11312. #: guix-git/doc/guix.texi:6641
  11313. msgid "Run through Fakechroot. @uref{https://github.com/dex4er/fakechroot/, Fakechroot} virtualizes file system accesses by intercepting calls to C library functions such as @code{open}, @code{stat}, @code{exec}, and so on. Unlike PRoot, it incurs very little overhead. However, it does not always work: for example, some file system accesses made from within the C library are not intercepted, and file system accesses made @i{via} direct syscalls are not intercepted either, leading to erratic behavior."
  11314. msgstr ""
  11315. #. type: vindex
  11316. #: guix-git/doc/guix.texi:6643
  11317. #, no-wrap
  11318. msgid "GUIX_EXECUTION_ENGINE"
  11319. msgstr ""
  11320. #. type: quotation
  11321. #: guix-git/doc/guix.texi:6647
  11322. msgid "When running a wrapped program, you can explicitly request one of the execution engines listed above by setting the @env{GUIX_EXECUTION_ENGINE} environment variable accordingly."
  11323. msgstr ""
  11324. #. type: cindex
  11325. #: guix-git/doc/guix.texi:6649
  11326. #, no-wrap
  11327. msgid "entry point, for Docker images"
  11328. msgstr ""
  11329. #. type: item
  11330. #: guix-git/doc/guix.texi:6650
  11331. #, no-wrap
  11332. msgid "--entry-point=@var{command}"
  11333. msgstr ""
  11334. #. type: table
  11335. #: guix-git/doc/guix.texi:6655
  11336. msgid "Use @var{command} as the @dfn{entry point} of the resulting pack, if the pack format supports it---currently @code{docker} and @code{squashfs} (Singularity) support it. @var{command} must be relative to the profile contained in the pack."
  11337. msgstr ""
  11338. #. type: table
  11339. #: guix-git/doc/guix.texi:6659
  11340. msgid "The entry point specifies the command that tools like @code{docker run} or @code{singularity run} automatically start by default. For example, you can do:"
  11341. msgstr ""
  11342. #. type: example
  11343. #: guix-git/doc/guix.texi:6662
  11344. #, no-wrap
  11345. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11346. msgstr ""
  11347. #. type: table
  11348. #: guix-git/doc/guix.texi:6666
  11349. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11350. msgstr ""
  11351. #. type: example
  11352. #: guix-git/doc/guix.texi:6670
  11353. #, no-wrap
  11354. msgid ""
  11355. "docker load -i pack.tar.gz\n"
  11356. "docker run @var{image-id}\n"
  11357. msgstr ""
  11358. #. type: table
  11359. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:12916
  11360. #: guix-git/doc/guix.texi:13906
  11361. msgid "Consider the package @var{expr} evaluates to."
  11362. msgstr ""
  11363. #. type: table
  11364. #: guix-git/doc/guix.texi:6679
  11365. msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @option{--expression} in @command{guix build}})."
  11366. msgstr ""
  11367. #. type: table
  11368. #: guix-git/doc/guix.texi:6685
  11369. msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  11370. msgstr ""
  11371. #. type: table
  11372. #: guix-git/doc/guix.texi:6693
  11373. msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both."
  11374. msgstr ""
  11375. #. type: item
  11376. #: guix-git/doc/guix.texi:6699 guix-git/doc/guix.texi:11957
  11377. #, no-wrap
  11378. msgid "--target=@var{triplet}"
  11379. msgstr ""
  11380. #. type: cindex
  11381. #: guix-git/doc/guix.texi:6700 guix-git/doc/guix.texi:7146
  11382. #: guix-git/doc/guix.texi:11958
  11383. #, no-wrap
  11384. msgid "cross-compilation"
  11385. msgstr ""
  11386. #. type: table
  11387. #: guix-git/doc/guix.texi:6704
  11388. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})."
  11389. msgstr ""
  11390. #. type: item
  11391. #: guix-git/doc/guix.texi:6705
  11392. #, no-wrap
  11393. msgid "--compression=@var{tool}"
  11394. msgstr ""
  11395. #. type: itemx
  11396. #: guix-git/doc/guix.texi:6706
  11397. #, no-wrap
  11398. msgid "-C @var{tool}"
  11399. msgstr ""
  11400. #. type: table
  11401. #: guix-git/doc/guix.texi:6710
  11402. msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{zstd}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression."
  11403. msgstr ""
  11404. #. type: item
  11405. #: guix-git/doc/guix.texi:6711
  11406. #, no-wrap
  11407. msgid "--symlink=@var{spec}"
  11408. msgstr ""
  11409. #. type: itemx
  11410. #: guix-git/doc/guix.texi:6712
  11411. #, no-wrap
  11412. msgid "-S @var{spec}"
  11413. msgstr ""
  11414. #. type: table
  11415. #: guix-git/doc/guix.texi:6715
  11416. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11417. msgstr ""
  11418. #. type: table
  11419. #: guix-git/doc/guix.texi:6719
  11420. msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target."
  11421. msgstr ""
  11422. #. type: table
  11423. #: guix-git/doc/guix.texi:6722
  11424. msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile."
  11425. msgstr ""
  11426. #. type: item
  11427. #: guix-git/doc/guix.texi:6723 guix-git/doc/guix.texi:35820
  11428. #, no-wrap
  11429. msgid "--save-provenance"
  11430. msgstr ""
  11431. #. type: table
  11432. #: guix-git/doc/guix.texi:6727
  11433. msgid "Save provenance information for the packages passed on the command line. Provenance information includes the URL and commit of the channels in use (@pxref{Channels})."
  11434. msgstr ""
  11435. #. type: table
  11436. #: guix-git/doc/guix.texi:6733
  11437. msgid "Provenance information is saved in the @file{/gnu/store/@dots{}-profile/manifest} file in the pack, along with the usual package metadata---the name and version of each package, their propagated inputs, and so on. It is useful information to the recipient of the pack, who then knows how the pack was (supposedly) obtained."
  11438. msgstr ""
  11439. #. type: table
  11440. #: guix-git/doc/guix.texi:6739
  11441. msgid "This option is not enabled by default because, like timestamps, provenance information contributes nothing to the build process. In other words, there is an infinity of channel URLs and commit IDs that can lead to the same pack. Recording such ``silent'' metadata in the output thus potentially breaks the source-to-binary bitwise reproducibility property."
  11442. msgstr ""
  11443. #. type: cindex
  11444. #: guix-git/doc/guix.texi:6742
  11445. #, no-wrap
  11446. msgid "garbage collector root, for packs"
  11447. msgstr ""
  11448. #. type: table
  11449. #: guix-git/doc/guix.texi:6745
  11450. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11451. msgstr ""
  11452. #. type: item
  11453. #: guix-git/doc/guix.texi:6746
  11454. #, no-wrap
  11455. msgid "--localstatedir"
  11456. msgstr ""
  11457. #. type: itemx
  11458. #: guix-git/doc/guix.texi:6747
  11459. #, no-wrap
  11460. msgid "--profile-name=@var{name}"
  11461. msgstr ""
  11462. #. type: table
  11463. #: guix-git/doc/guix.texi:6752
  11464. msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} profile---by default @var{name} is @code{guix-profile}, which corresponds to @file{~root/.guix-profile}."
  11465. msgstr ""
  11466. #. type: table
  11467. #: guix-git/doc/guix.texi:6758
  11468. msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack."
  11469. msgstr ""
  11470. #. type: table
  11471. #: guix-git/doc/guix.texi:6761
  11472. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11473. msgstr ""
  11474. #. type: item
  11475. #: guix-git/doc/guix.texi:6762 guix-git/doc/guix.texi:35814
  11476. #, no-wrap
  11477. msgid "--derivation"
  11478. msgstr ""
  11479. #. type: itemx
  11480. #: guix-git/doc/guix.texi:6763 guix-git/doc/guix.texi:11989
  11481. #: guix-git/doc/guix.texi:35815
  11482. #, no-wrap
  11483. msgid "-d"
  11484. msgstr ""
  11485. #. type: table
  11486. #: guix-git/doc/guix.texi:6765
  11487. msgid "Print the name of the derivation that builds the pack."
  11488. msgstr ""
  11489. #. type: table
  11490. #: guix-git/doc/guix.texi:6769
  11491. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11492. msgstr ""
  11493. #. type: Plain text
  11494. #: guix-git/doc/guix.texi:6774
  11495. msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})."
  11496. msgstr ""
  11497. #. type: cindex
  11498. #: guix-git/doc/guix.texi:6779
  11499. #, no-wrap
  11500. msgid "GCC"
  11501. msgstr ""
  11502. #. type: cindex
  11503. #: guix-git/doc/guix.texi:6780
  11504. #, no-wrap
  11505. msgid "ld-wrapper"
  11506. msgstr ""
  11507. #. type: cindex
  11508. #: guix-git/doc/guix.texi:6781
  11509. #, no-wrap
  11510. msgid "linker wrapper"
  11511. msgstr ""
  11512. #. type: cindex
  11513. #: guix-git/doc/guix.texi:6782
  11514. #, no-wrap
  11515. msgid "toolchain, for C development"
  11516. msgstr ""
  11517. #. type: cindex
  11518. #: guix-git/doc/guix.texi:6783
  11519. #, no-wrap
  11520. msgid "toolchain, for Fortran development"
  11521. msgstr ""
  11522. #. type: Plain text
  11523. #: guix-git/doc/guix.texi:6790
  11524. msgid "If you need a complete toolchain for compiling and linking C or C++ source code, use the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper."
  11525. msgstr ""
  11526. #. type: Plain text
  11527. #: guix-git/doc/guix.texi:6796
  11528. msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. You can instruct the wrapper to refuse to link against libraries not in the store by setting the @env{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}."
  11529. msgstr ""
  11530. #. type: Plain text
  11531. #: guix-git/doc/guix.texi:6800
  11532. msgid "The package @code{gfortran-toolchain} provides a complete GCC toolchain for Fortran development. For other languages, please use @samp{guix search gcc toolchain} (@pxref{guix-search,, Invoking guix package})."
  11533. msgstr ""
  11534. #. type: section
  11535. #: guix-git/doc/guix.texi:6803
  11536. #, no-wrap
  11537. msgid "Invoking @command{guix git authenticate}"
  11538. msgstr ""
  11539. #. type: Plain text
  11540. #: guix-git/doc/guix.texi:6811
  11541. msgid "The @command{guix git authenticate} command authenticates a Git checkout following the same rule as for channels (@pxref{channel-authentication, channel authentication}). That is, starting from a given commit, it ensures that all subsequent commits are signed by an OpenPGP key whose fingerprint appears in the @file{.guix-authorizations} file of its parent commit(s)."
  11542. msgstr ""
  11543. #. type: Plain text
  11544. #: guix-git/doc/guix.texi:6816
  11545. msgid "You will find this command useful if you maintain a channel. But in fact, this authentication mechanism is useful in a broader context, so you might want to use it for Git repositories that have nothing to do with Guix."
  11546. msgstr ""
  11547. #. type: example
  11548. #: guix-git/doc/guix.texi:6821
  11549. #, no-wrap
  11550. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11551. msgstr ""
  11552. #. type: Plain text
  11553. #: guix-git/doc/guix.texi:6830
  11554. msgid "By default, this command authenticates the Git checkout in the current directory; it outputs nothing and exits with exit code zero on success and non-zero on failure. @var{commit} above denotes the first commit where authentication takes place, and @var{signer} is the OpenPGP fingerprint of public key used to sign @var{commit}. Together, they form a ``channel introduction'' (@pxref{channel-authentication, channel introduction}). The options below allow you to fine-tune the process."
  11555. msgstr ""
  11556. #. type: item
  11557. #: guix-git/doc/guix.texi:6832
  11558. #, no-wrap
  11559. msgid "--repository=@var{directory}"
  11560. msgstr ""
  11561. #. type: itemx
  11562. #: guix-git/doc/guix.texi:6833
  11563. #, no-wrap
  11564. msgid "-r @var{directory}"
  11565. msgstr ""
  11566. #. type: table
  11567. #: guix-git/doc/guix.texi:6836
  11568. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11569. msgstr ""
  11570. #. type: item
  11571. #: guix-git/doc/guix.texi:6837
  11572. #, no-wrap
  11573. msgid "--keyring=@var{reference}"
  11574. msgstr ""
  11575. #. type: itemx
  11576. #: guix-git/doc/guix.texi:6838
  11577. #, no-wrap
  11578. msgid "-k @var{reference}"
  11579. msgstr ""
  11580. #. type: table
  11581. #: guix-git/doc/guix.texi:6844
  11582. msgid "Load OpenPGP keyring from @var{reference}, the reference of a branch such as @code{origin/keyring} or @code{my-keyring}. The branch must contain OpenPGP public keys in @file{.key} files, either in binary form or ``ASCII-armored''. By default the keyring is loaded from the branch named @code{keyring}."
  11583. msgstr ""
  11584. #. type: item
  11585. #: guix-git/doc/guix.texi:6845
  11586. #, no-wrap
  11587. msgid "--stats"
  11588. msgstr ""
  11589. #. type: table
  11590. #: guix-git/doc/guix.texi:6847
  11591. msgid "Display commit signing statistics upon completion."
  11592. msgstr ""
  11593. #. type: item
  11594. #: guix-git/doc/guix.texi:6848
  11595. #, no-wrap
  11596. msgid "--cache-key=@var{key}"
  11597. msgstr ""
  11598. #. type: table
  11599. #: guix-git/doc/guix.texi:6852
  11600. msgid "Previously-authenticated commits are cached in a file under @file{~/.cache/guix/authentication}. This option forces the cache to be stored in file @var{key} in that directory."
  11601. msgstr ""
  11602. #. type: item
  11603. #: guix-git/doc/guix.texi:6853
  11604. #, no-wrap
  11605. msgid "--historical-authorizations=@var{file}"
  11606. msgstr ""
  11607. #. type: table
  11608. #: guix-git/doc/guix.texi:6860
  11609. msgid "By default, any commit whose parent commit(s) lack the @file{.guix-authorizations} file is considered inauthentic. In contrast, this option considers the authorizations in @var{file} for any commit that lacks @file{.guix-authorizations}. The format of @var{file} is the same as that of @file{.guix-authorizations} (@pxref{channel-authorizations, @file{.guix-authorizations} format})."
  11610. msgstr ""
  11611. #. type: Plain text
  11612. #: guix-git/doc/guix.texi:6873
  11613. msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions."
  11614. msgstr ""
  11615. #. type: Plain text
  11616. #: guix-git/doc/guix.texi:6879
  11617. msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under specific build users, to minimize interference with the rest of the system."
  11618. msgstr ""
  11619. #. type: Plain text
  11620. #: guix-git/doc/guix.texi:6888
  11621. msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them."
  11622. msgstr ""
  11623. #. type: Plain text
  11624. #: guix-git/doc/guix.texi:6891
  11625. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11626. msgstr ""
  11627. #. type: menuentry
  11628. #: guix-git/doc/guix.texi:6905
  11629. msgid "Programming Guix in Guile"
  11630. msgstr ""
  11631. #. type: Plain text
  11632. #: guix-git/doc/guix.texi:6921
  11633. msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{<package>} object (@pxref{Defining Packages})."
  11634. msgstr ""
  11635. #. type: Plain text
  11636. #: guix-git/doc/guix.texi:6928
  11637. msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix install emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module."
  11638. msgstr ""
  11639. #. type: cindex
  11640. #: guix-git/doc/guix.texi:6930
  11641. #, no-wrap
  11642. msgid "package module search path"
  11643. msgstr ""
  11644. #. type: Plain text
  11645. #: guix-git/doc/guix.texi:6939
  11646. msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @env{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. There are two ways to make these package definitions visible to the user interfaces:"
  11647. msgstr ""
  11648. #. type: enumerate
  11649. #: guix-git/doc/guix.texi:6946
  11650. msgid "By adding the directory containing your package modules to the search path with the @code{-L} flag of @command{guix package} and other commands (@pxref{Common Build Options}), or by setting the @env{GUIX_PACKAGE_PATH} environment variable described below."
  11651. msgstr ""
  11652. #. type: enumerate
  11653. #: guix-git/doc/guix.texi:6952
  11654. msgid "By defining a @dfn{channel} and configuring @command{guix pull} so that it pulls from it. A channel is essentially a Git repository containing package modules. @xref{Channels}, for more information on how to define and use channels."
  11655. msgstr ""
  11656. #. type: Plain text
  11657. #: guix-git/doc/guix.texi:6955
  11658. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11659. msgstr ""
  11660. #. type: defvr
  11661. #: guix-git/doc/guix.texi:6956
  11662. #, no-wrap
  11663. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11664. msgstr ""
  11665. #. type: defvr
  11666. #: guix-git/doc/guix.texi:6960
  11667. msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution."
  11668. msgstr ""
  11669. #. type: Plain text
  11670. #: guix-git/doc/guix.texi:6968
  11671. msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}."
  11672. msgstr ""
  11673. #. type: Plain text
  11674. #: guix-git/doc/guix.texi:6976
  11675. msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:"
  11676. msgstr ""
  11677. #. type: lisp
  11678. #: guix-git/doc/guix.texi:6984
  11679. #, no-wrap
  11680. msgid ""
  11681. "(define-module (gnu packages hello)\n"
  11682. " #:use-module (guix packages)\n"
  11683. " #:use-module (guix download)\n"
  11684. " #:use-module (guix build-system gnu)\n"
  11685. " #:use-module (guix licenses)\n"
  11686. " #:use-module (gnu packages gawk))\n"
  11687. "\n"
  11688. msgstr ""
  11689. #. type: lisp
  11690. #: guix-git/doc/guix.texi:7003
  11691. #, no-wrap
  11692. msgid ""
  11693. "(define-public hello\n"
  11694. " (package\n"
  11695. " (name \"hello\")\n"
  11696. " (version \"2.10\")\n"
  11697. " (source (origin\n"
  11698. " (method url-fetch)\n"
  11699. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11700. " \".tar.gz\"))\n"
  11701. " (sha256\n"
  11702. " (base32\n"
  11703. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11704. " (build-system gnu-build-system)\n"
  11705. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11706. " (inputs (list gawk))\n"
  11707. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11708. " (description \"Guess what GNU Hello prints!\")\n"
  11709. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11710. " (license gpl3+)))\n"
  11711. msgstr ""
  11712. #. type: Plain text
  11713. #: guix-git/doc/guix.texi:7013
  11714. msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{<package>} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}."
  11715. msgstr ""
  11716. #. type: Plain text
  11717. #: guix-git/doc/guix.texi:7017
  11718. msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})."
  11719. msgstr ""
  11720. #. type: Plain text
  11721. #: guix-git/doc/guix.texi:7023
  11722. msgid "In the example above, @code{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})."
  11723. msgstr ""
  11724. #. type: Plain text
  11725. #: guix-git/doc/guix.texi:7025
  11726. msgid "There are a few points worth noting in the above package definition:"
  11727. msgstr ""
  11728. #. type: itemize
  11729. #: guix-git/doc/guix.texi:7032
  11730. msgid "The @code{source} field of the package is an @code{<origin>} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP."
  11731. msgstr ""
  11732. #. type: itemize
  11733. #: guix-git/doc/guix.texi:7035
  11734. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11735. msgstr ""
  11736. #. type: itemize
  11737. #: guix-git/doc/guix.texi:7042
  11738. msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})."
  11739. msgstr ""
  11740. #. type: cindex
  11741. #: guix-git/doc/guix.texi:7043
  11742. #, no-wrap
  11743. msgid "patches"
  11744. msgstr ""
  11745. #. type: itemize
  11746. #: guix-git/doc/guix.texi:7047
  11747. msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code."
  11748. msgstr ""
  11749. #. type: cindex
  11750. #: guix-git/doc/guix.texi:7049
  11751. #, no-wrap
  11752. msgid "GNU Build System"
  11753. msgstr ""
  11754. #. type: itemize
  11755. #: guix-git/doc/guix.texi:7055
  11756. msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @code{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence."
  11757. msgstr ""
  11758. #. type: itemize
  11759. #: guix-git/doc/guix.texi:7059
  11760. msgid "When you start packaging non-trivial software, you may need tools to manipulate those build phases, manipulate files, and so on. @xref{Build Utilities}, for more on this."
  11761. msgstr ""
  11762. #. type: itemize
  11763. #: guix-git/doc/guix.texi:7065
  11764. msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @code{gnu-build-system} as a request run @file{configure} with the @option{--enable-silent-rules} flag."
  11765. msgstr ""
  11766. #. type: findex
  11767. #: guix-git/doc/guix.texi:7066 guix-git/doc/guix.texi:7069
  11768. #, no-wrap
  11769. msgid "quote"
  11770. msgstr ""
  11771. #. type: cindex
  11772. #: guix-git/doc/guix.texi:7067
  11773. #, no-wrap
  11774. msgid "quoting"
  11775. msgstr ""
  11776. #. type: findex
  11777. #: guix-git/doc/guix.texi:7068
  11778. #, no-wrap
  11779. msgid "'"
  11780. msgstr ""
  11781. #. type: cindex
  11782. #: guix-git/doc/guix.texi:7070
  11783. #, no-wrap
  11784. msgid "backquote (quasiquote)"
  11785. msgstr ""
  11786. #. type: findex
  11787. #: guix-git/doc/guix.texi:7071
  11788. #, no-wrap
  11789. msgid "`"
  11790. msgstr ""
  11791. #. type: findex
  11792. #: guix-git/doc/guix.texi:7072
  11793. #, no-wrap
  11794. msgid "quasiquote"
  11795. msgstr ""
  11796. #. type: cindex
  11797. #: guix-git/doc/guix.texi:7073
  11798. #, no-wrap
  11799. msgid "comma (unquote)"
  11800. msgstr ""
  11801. #. type: findex
  11802. #: guix-git/doc/guix.texi:7074
  11803. #, no-wrap
  11804. msgid ","
  11805. msgstr ""
  11806. #. type: findex
  11807. #: guix-git/doc/guix.texi:7075
  11808. #, no-wrap
  11809. msgid "unquote"
  11810. msgstr ""
  11811. #. type: itemize
  11812. #: guix-git/doc/guix.texi:7085
  11813. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  11814. msgstr ""
  11815. #. type: itemize
  11816. #: guix-git/doc/guix.texi:7091
  11817. msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})."
  11818. msgstr ""
  11819. #. type: itemize
  11820. #: guix-git/doc/guix.texi:7097
  11821. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11822. msgstr ""
  11823. #. type: itemize
  11824. #: guix-git/doc/guix.texi:7101
  11825. msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @code{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})."
  11826. msgstr ""
  11827. #. type: itemize
  11828. #: guix-git/doc/guix.texi:7105
  11829. msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure."
  11830. msgstr ""
  11831. #. type: Plain text
  11832. #: guix-git/doc/guix.texi:7108
  11833. msgid "@xref{package Reference}, for a full description of possible fields."
  11834. msgstr ""
  11835. #. type: Plain text
  11836. #: guix-git/doc/guix.texi:7119
  11837. msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance."
  11838. msgstr ""
  11839. #. type: vindex
  11840. #: guix-git/doc/guix.texi:7119
  11841. #, no-wrap
  11842. msgid "GUIX_PACKAGE_PATH"
  11843. msgstr "GUIX_PACKAGE_PATH"
  11844. #. type: Plain text
  11845. #: guix-git/doc/guix.texi:7123
  11846. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11847. msgstr ""
  11848. #. type: Plain text
  11849. #: guix-git/doc/guix.texi:7127
  11850. msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})."
  11851. msgstr ""
  11852. #. type: Plain text
  11853. #: guix-git/doc/guix.texi:7133
  11854. msgid "Behind the scenes, a derivation corresponding to the @code{<package>} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @file{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})."
  11855. msgstr ""
  11856. #. type: deffn
  11857. #: guix-git/doc/guix.texi:7134
  11858. #, no-wrap
  11859. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11860. msgstr ""
  11861. #. type: deffn
  11862. #: guix-git/doc/guix.texi:7137
  11863. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11864. msgstr ""
  11865. #. type: deffn
  11866. #: guix-git/doc/guix.texi:7143
  11867. msgid "@var{package} must be a valid @code{<package>} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})."
  11868. msgstr ""
  11869. #. type: Plain text
  11870. #: guix-git/doc/guix.texi:7149
  11871. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11872. msgstr ""
  11873. #. type: deffn
  11874. #: guix-git/doc/guix.texi:7150
  11875. #, no-wrap
  11876. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11877. msgstr ""
  11878. #. type: deffn
  11879. #: guix-git/doc/guix.texi:7154
  11880. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11881. msgstr ""
  11882. #. type: deffn
  11883. #: guix-git/doc/guix.texi:7158
  11884. msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets,,, autoconf, Autoconf})."
  11885. msgstr ""
  11886. #. type: Plain text
  11887. #: guix-git/doc/guix.texi:7162
  11888. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11889. msgstr ""
  11890. #. type: subsection
  11891. #: guix-git/doc/guix.texi:7170
  11892. #, no-wrap
  11893. msgid "@code{package} Reference"
  11894. msgstr ""
  11895. #. type: Plain text
  11896. #: guix-git/doc/guix.texi:7174
  11897. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11898. msgstr ""
  11899. #. type: deftp
  11900. #: guix-git/doc/guix.texi:7175
  11901. #, no-wrap
  11902. msgid "{Data Type} package"
  11903. msgstr ""
  11904. #. type: deftp
  11905. #: guix-git/doc/guix.texi:7177
  11906. msgid "This is the data type representing a package recipe."
  11907. msgstr ""
  11908. #. type: table
  11909. #: guix-git/doc/guix.texi:7181
  11910. msgid "The name of the package, as a string."
  11911. msgstr ""
  11912. #. type: code{#1}
  11913. #: guix-git/doc/guix.texi:7182
  11914. #, no-wrap
  11915. msgid "version"
  11916. msgstr "version"
  11917. #. type: table
  11918. #: guix-git/doc/guix.texi:7185
  11919. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11920. msgstr ""
  11921. #. type: code{#1}
  11922. #: guix-git/doc/guix.texi:7186 guix-git/doc/guix.texi:13361
  11923. #: guix-git/doc/guix.texi:15642 guix-git/doc/guix.texi:16268
  11924. #, no-wrap
  11925. msgid "source"
  11926. msgstr "source"
  11927. #. type: table
  11928. #: guix-git/doc/guix.texi:7193
  11929. msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})."
  11930. msgstr ""
  11931. #. type: code{#1}
  11932. #: guix-git/doc/guix.texi:7194
  11933. #, no-wrap
  11934. msgid "build-system"
  11935. msgstr "build-system"
  11936. #. type: table
  11937. #: guix-git/doc/guix.texi:7197
  11938. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11939. msgstr ""
  11940. #. type: item
  11941. #: guix-git/doc/guix.texi:7198 guix-git/doc/guix.texi:18440
  11942. #, no-wrap
  11943. msgid "@code{arguments} (default: @code{'()})"
  11944. msgstr ""
  11945. #. type: table
  11946. #: guix-git/doc/guix.texi:7201
  11947. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11948. msgstr ""
  11949. #. type: item
  11950. #: guix-git/doc/guix.texi:7202
  11951. #, no-wrap
  11952. msgid "@code{inputs} (default: @code{'()})"
  11953. msgstr ""
  11954. #. type: itemx
  11955. #: guix-git/doc/guix.texi:7203
  11956. #, no-wrap
  11957. msgid "@code{native-inputs} (default: @code{'()})"
  11958. msgstr ""
  11959. #. type: itemx
  11960. #: guix-git/doc/guix.texi:7204
  11961. #, no-wrap
  11962. msgid "@code{propagated-inputs} (default: @code{'()})"
  11963. msgstr ""
  11964. #. type: cindex
  11965. #: guix-git/doc/guix.texi:7205
  11966. #, no-wrap
  11967. msgid "inputs, of packages"
  11968. msgstr ""
  11969. #. type: table
  11970. #: guix-git/doc/guix.texi:7212
  11971. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11972. msgstr ""
  11973. #. type: lisp
  11974. #: guix-git/doc/guix.texi:7216
  11975. #, no-wrap
  11976. msgid ""
  11977. "(list libffi libunistring\n"
  11978. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11979. msgstr ""
  11980. #. type: table
  11981. #: guix-git/doc/guix.texi:7220
  11982. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11983. msgstr ""
  11984. #. type: quotation
  11985. #: guix-git/doc/guix.texi:7221
  11986. #, no-wrap
  11987. msgid "Compatibility Note"
  11988. msgstr ""
  11989. #. type: quotation
  11990. #: guix-git/doc/guix.texi:7228
  11991. msgid "Until version 1.3.0, input lists were a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  11992. msgstr ""
  11993. #. type: lisp
  11994. #: guix-git/doc/guix.texi:7234
  11995. #, no-wrap
  11996. msgid ""
  11997. ";; Old input style (deprecated).\n"
  11998. "`((\"libffi\" ,libffi)\n"
  11999. " (\"libunistring\" ,libunistring)\n"
  12000. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  12001. msgstr ""
  12002. #. type: quotation
  12003. #: guix-git/doc/guix.texi:7240
  12004. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  12005. msgstr ""
  12006. #. type: cindex
  12007. #: guix-git/doc/guix.texi:7242
  12008. #, no-wrap
  12009. msgid "cross compilation, package dependencies"
  12010. msgstr ""
  12011. #. type: table
  12012. #: guix-git/doc/guix.texi:7248
  12013. msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine."
  12014. msgstr ""
  12015. #. type: table
  12016. #: guix-git/doc/guix.texi:7253
  12017. msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})."
  12018. msgstr ""
  12019. #. type: anchor{#1}
  12020. #: guix-git/doc/guix.texi:7261
  12021. msgid "package-propagated-inputs"
  12022. msgstr ""
  12023. #. type: table
  12024. #: guix-git/doc/guix.texi:7261
  12025. msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs)."
  12026. msgstr ""
  12027. #. type: table
  12028. #: guix-git/doc/guix.texi:7265
  12029. msgid "For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field."
  12030. msgstr ""
  12031. #. type: table
  12032. #: guix-git/doc/guix.texi:7272
  12033. msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. When packaging libraries written in those languages, ensure they can find library code they depend on at run time by listing run-time dependencies in @code{propagated-inputs} rather than @code{inputs}."
  12034. msgstr ""
  12035. #. type: item
  12036. #: guix-git/doc/guix.texi:7273
  12037. #, no-wrap
  12038. msgid "@code{outputs} (default: @code{'(\"out\")})"
  12039. msgstr ""
  12040. #. type: table
  12041. #: guix-git/doc/guix.texi:7276
  12042. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  12043. msgstr ""
  12044. #. type: item
  12045. #: guix-git/doc/guix.texi:7277
  12046. #, no-wrap
  12047. msgid "@code{native-search-paths} (default: @code{'()})"
  12048. msgstr ""
  12049. #. type: itemx
  12050. #: guix-git/doc/guix.texi:7278
  12051. #, no-wrap
  12052. msgid "@code{search-paths} (default: @code{'()})"
  12053. msgstr ""
  12054. #. type: table
  12055. #: guix-git/doc/guix.texi:7282
  12056. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package. @xref{Search Paths}, for more on search path specifications."
  12057. msgstr ""
  12058. #. type: table
  12059. #: guix-git/doc/guix.texi:7288
  12060. msgid "As for inputs, the distinction between @code{native-search-paths} and @code{search-paths} only matters when cross-compiling. In a cross-compilation context, @code{native-search-paths} applies exclusively to native inputs whereas @code{search-paths} applies only to host inputs."
  12061. msgstr ""
  12062. #. type: table
  12063. #: guix-git/doc/guix.texi:7295
  12064. msgid "Packages such as cross-compilers care about target inputs---for instance, our (modified) GCC cross-compiler has @env{CROSS_C_INCLUDE_PATH} in @code{search-paths}, which allows it to pick @file{.h} files for the target system and @emph{not} those of native inputs. For the majority of packages though, only @code{native-search-paths} makes sense."
  12065. msgstr ""
  12066. #. type: item
  12067. #: guix-git/doc/guix.texi:7296
  12068. #, no-wrap
  12069. msgid "@code{replacement} (default: @code{#f})"
  12070. msgstr ""
  12071. #. type: table
  12072. #: guix-git/doc/guix.texi:7300
  12073. msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details."
  12074. msgstr ""
  12075. #. type: item
  12076. #: guix-git/doc/guix.texi:7301 guix-git/doc/guix.texi:13353
  12077. #, no-wrap
  12078. msgid "synopsis"
  12079. msgstr "synopsis"
  12080. #. type: table
  12081. #: guix-git/doc/guix.texi:7303
  12082. msgid "A one-line description of the package."
  12083. msgstr ""
  12084. #. type: code{#1}
  12085. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:13354
  12086. #: guix-git/doc/guix.texi:36563 guix-git/doc/guix.texi:36723
  12087. #, no-wrap
  12088. msgid "description"
  12089. msgstr "description"
  12090. #. type: table
  12091. #: guix-git/doc/guix.texi:7306
  12092. msgid "A more elaborate description of the package."
  12093. msgstr ""
  12094. #. type: code{#1}
  12095. #: guix-git/doc/guix.texi:7307
  12096. #, no-wrap
  12097. msgid "license"
  12098. msgstr "license"
  12099. #. type: cindex
  12100. #: guix-git/doc/guix.texi:7308
  12101. #, no-wrap
  12102. msgid "license, of packages"
  12103. msgstr ""
  12104. #. type: table
  12105. #: guix-git/doc/guix.texi:7311
  12106. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  12107. msgstr ""
  12108. #. type: itemx
  12109. #: guix-git/doc/guix.texi:7312 guix-git/doc/guix.texi:13362
  12110. #, no-wrap
  12111. msgid "home-page"
  12112. msgstr "home-page"
  12113. #. type: table
  12114. #: guix-git/doc/guix.texi:7314
  12115. msgid "The URL to the home-page of the package, as a string."
  12116. msgstr ""
  12117. #. type: item
  12118. #: guix-git/doc/guix.texi:7315
  12119. #, no-wrap
  12120. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  12121. msgstr ""
  12122. #. type: table
  12123. #: guix-git/doc/guix.texi:7318
  12124. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  12125. msgstr ""
  12126. #. type: item
  12127. #: guix-git/doc/guix.texi:7319
  12128. #, no-wrap
  12129. msgid "@code{location} (default: source location of the @code{package} form)"
  12130. msgstr ""
  12131. #. type: table
  12132. #: guix-git/doc/guix.texi:7323
  12133. msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected."
  12134. msgstr ""
  12135. #. type: deffn
  12136. #: guix-git/doc/guix.texi:7326
  12137. #, no-wrap
  12138. msgid "{Scheme Syntax} this-package"
  12139. msgstr ""
  12140. #. type: deffn
  12141. #: guix-git/doc/guix.texi:7329
  12142. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12143. msgstr ""
  12144. #. type: deffn
  12145. #: guix-git/doc/guix.texi:7332
  12146. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12147. msgstr ""
  12148. #. type: lisp
  12149. #: guix-git/doc/guix.texi:7337
  12150. #, no-wrap
  12151. msgid ""
  12152. "(package\n"
  12153. " (name \"guile\")\n"
  12154. " ;; ...\n"
  12155. "\n"
  12156. msgstr ""
  12157. #. type: lisp
  12158. #: guix-git/doc/guix.texi:7343
  12159. #, no-wrap
  12160. msgid ""
  12161. " ;; When cross-compiled, Guile, for example, depends on\n"
  12162. " ;; a native version of itself. Add it here.\n"
  12163. " (native-inputs (if (%current-target-system)\n"
  12164. " (list this-package)\n"
  12165. " '())))\n"
  12166. msgstr ""
  12167. #. type: deffn
  12168. #: guix-git/doc/guix.texi:7346
  12169. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12170. msgstr ""
  12171. #. type: Plain text
  12172. #: guix-git/doc/guix.texi:7350
  12173. msgid "The following helper procedures are provided to help deal with package inputs."
  12174. msgstr ""
  12175. #. type: deffn
  12176. #: guix-git/doc/guix.texi:7351
  12177. #, no-wrap
  12178. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12179. msgstr ""
  12180. #. type: deffnx
  12181. #: guix-git/doc/guix.texi:7352
  12182. #, no-wrap
  12183. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12184. msgstr ""
  12185. #. type: deffnx
  12186. #: guix-git/doc/guix.texi:7353
  12187. #, no-wrap
  12188. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12189. msgstr ""
  12190. #. type: deffnx
  12191. #: guix-git/doc/guix.texi:7354
  12192. #, no-wrap
  12193. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12194. msgstr ""
  12195. #. type: deffn
  12196. #: guix-git/doc/guix.texi:7357
  12197. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12198. msgstr ""
  12199. #. type: deffn
  12200. #: guix-git/doc/guix.texi:7360
  12201. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12202. msgstr ""
  12203. #. type: lisp
  12204. #: guix-git/doc/guix.texi:7363
  12205. #, no-wrap
  12206. msgid ""
  12207. "(use-modules (guix packages) (gnu packages base))\n"
  12208. "\n"
  12209. msgstr ""
  12210. #. type: lisp
  12211. #: guix-git/doc/guix.texi:7366
  12212. #, no-wrap
  12213. msgid ""
  12214. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12215. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12216. msgstr ""
  12217. #. type: deffn
  12218. #: guix-git/doc/guix.texi:7370
  12219. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12220. msgstr ""
  12221. #. type: cindex
  12222. #: guix-git/doc/guix.texi:7372
  12223. #, no-wrap
  12224. msgid "development inputs, of a package"
  12225. msgstr ""
  12226. #. type: cindex
  12227. #: guix-git/doc/guix.texi:7373
  12228. #, no-wrap
  12229. msgid "implicit inputs, of a package"
  12230. msgstr ""
  12231. #. type: Plain text
  12232. #: guix-git/doc/guix.texi:7378
  12233. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  12234. msgstr ""
  12235. #. type: deffn
  12236. #: guix-git/doc/guix.texi:7379
  12237. #, no-wrap
  12238. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12239. msgstr ""
  12240. #. type: deffn
  12241. #: guix-git/doc/guix.texi:7386
  12242. msgid "[@var{system}] [#:target #f] Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12243. msgstr ""
  12244. #. type: deffn
  12245. #: guix-git/doc/guix.texi:7390
  12246. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  12247. msgstr ""
  12248. #. type: lisp
  12249. #: guix-git/doc/guix.texi:7393
  12250. #, no-wrap
  12251. msgid ""
  12252. "(use-modules (gnu packages base) (guix packages))\n"
  12253. "\n"
  12254. msgstr ""
  12255. #. type: lisp
  12256. #: guix-git/doc/guix.texi:7396
  12257. #, no-wrap
  12258. msgid ""
  12259. "hello\n"
  12260. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12261. "\n"
  12262. msgstr ""
  12263. #. type: lisp
  12264. #: guix-git/doc/guix.texi:7399
  12265. #, no-wrap
  12266. msgid ""
  12267. "(package-direct-inputs hello)\n"
  12268. "@result{} ()\n"
  12269. "\n"
  12270. msgstr ""
  12271. #. type: lisp
  12272. #: guix-git/doc/guix.texi:7402
  12273. #, no-wrap
  12274. msgid ""
  12275. "(package-development-inputs hello)\n"
  12276. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12277. msgstr ""
  12278. #. type: deffn
  12279. #: guix-git/doc/guix.texi:7411
  12280. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  12281. msgstr ""
  12282. #. type: Plain text
  12283. #: guix-git/doc/guix.texi:7417
  12284. msgid "Because packages are regular Scheme objects that capture a complete dependency graph and associated build procedures, it is often useful to write procedures that take a package and return a modified version thereof according to some parameters. Below are a few examples."
  12285. msgstr ""
  12286. #. type: cindex
  12287. #: guix-git/doc/guix.texi:7418
  12288. #, no-wrap
  12289. msgid "tool chain, choosing a package's tool chain"
  12290. msgstr ""
  12291. #. type: deffn
  12292. #: guix-git/doc/guix.texi:7419
  12293. #, no-wrap
  12294. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12295. msgstr ""
  12296. #. type: deffn
  12297. #: guix-git/doc/guix.texi:7424
  12298. msgid "Return a variant of @var{package} that uses @var{toolchain} instead of the default GNU C/C++ toolchain. @var{toolchain} must be a list of inputs (label/package tuples) providing equivalent functionality, such as the @code{gcc-toolchain} package."
  12299. msgstr ""
  12300. #. type: deffn
  12301. #: guix-git/doc/guix.texi:7428
  12302. msgid "The example below returns a variant of the @code{hello} package built with GCC@tie{}10.x and the rest of the GNU tool chain (Binutils and the GNU C Library) instead of the default tool chain:"
  12303. msgstr ""
  12304. #. type: lisp
  12305. #: guix-git/doc/guix.texi:7432
  12306. #, no-wrap
  12307. msgid ""
  12308. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12309. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12310. msgstr ""
  12311. #. type: deffn
  12312. #: guix-git/doc/guix.texi:7440
  12313. msgid "The build tool chain is part of the @dfn{implicit inputs} of packages---it's usually not listed as part of the various ``inputs'' fields and is instead pulled in by the build system. Consequently, this procedure works by changing the build system of @var{package} so that it pulls in @var{toolchain} instead of the defaults. @ref{Build Systems}, for more on build systems."
  12314. msgstr ""
  12315. #. type: subsection
  12316. #: guix-git/doc/guix.texi:7443
  12317. #, no-wrap
  12318. msgid "@code{origin} Reference"
  12319. msgstr ""
  12320. #. type: Plain text
  12321. #: guix-git/doc/guix.texi:7451
  12322. msgid "This section documents @dfn{origins}. An @code{origin} declaration specifies data that must be ``produced''---downloaded, usually---and whose content hash is known in advance. Origins are primarily used to represent the source code of packages (@pxref{Defining Packages}). For that reason, the @code{origin} form allows you to declare patches to apply to the original source code as well as code snippets to modify it."
  12323. msgstr ""
  12324. #. type: deftp
  12325. #: guix-git/doc/guix.texi:7452
  12326. #, no-wrap
  12327. msgid "{Data Type} origin"
  12328. msgstr ""
  12329. #. type: deftp
  12330. #: guix-git/doc/guix.texi:7454
  12331. msgid "This is the data type representing a source code origin."
  12332. msgstr ""
  12333. #. type: code{#1}
  12334. #: guix-git/doc/guix.texi:7456 guix-git/doc/guix.texi:26983
  12335. #, no-wrap
  12336. msgid "uri"
  12337. msgstr ""
  12338. #. type: table
  12339. #: guix-git/doc/guix.texi:7461
  12340. msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof."
  12341. msgstr ""
  12342. #. type: cindex
  12343. #: guix-git/doc/guix.texi:7462
  12344. #, no-wrap
  12345. msgid "fixed-output derivations, for download"
  12346. msgstr ""
  12347. #. type: code{#1}
  12348. #: guix-git/doc/guix.texi:7463
  12349. #, no-wrap
  12350. msgid "method"
  12351. msgstr "method"
  12352. #. type: table
  12353. #: guix-git/doc/guix.texi:7470
  12354. msgid "A monadic procedure that handles the given URI@. The procedure must accept at least three arguments: the value of the @code{uri} field and the hash algorithm and hash value specified by the @code{hash} field. It must return a store item or a derivation in the store monad (@pxref{The Store Monad}); most methods return a fixed-output derivation (@pxref{Derivations})."
  12355. msgstr ""
  12356. #. type: table
  12357. #: guix-git/doc/guix.texi:7474
  12358. msgid "Commonly used methods include @code{url-fetch}, which fetches data from a URL, and @code{git-fetch}, which fetches data from a Git repository (see below)."
  12359. msgstr ""
  12360. #. type: code{#1}
  12361. #: guix-git/doc/guix.texi:7475
  12362. #, no-wrap
  12363. msgid "sha256"
  12364. msgstr ""
  12365. #. type: table
  12366. #: guix-git/doc/guix.texi:7479
  12367. msgid "A bytevector containing the SHA-256 hash of the source. This is equivalent to providing a @code{content-hash} SHA256 object in the @code{hash} field described below."
  12368. msgstr ""
  12369. #. type: code{#1}
  12370. #: guix-git/doc/guix.texi:7480
  12371. #, no-wrap
  12372. msgid "hash"
  12373. msgstr ""
  12374. #. type: table
  12375. #: guix-git/doc/guix.texi:7483
  12376. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12377. msgstr ""
  12378. #. type: table
  12379. #: guix-git/doc/guix.texi:7487
  12380. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12381. msgstr ""
  12382. #. type: item
  12383. #: guix-git/doc/guix.texi:7488
  12384. #, no-wrap
  12385. msgid "@code{file-name} (default: @code{#f})"
  12386. msgstr ""
  12387. #. type: table
  12388. #: guix-git/doc/guix.texi:7494
  12389. msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive."
  12390. msgstr ""
  12391. #. type: item
  12392. #: guix-git/doc/guix.texi:7495
  12393. #, no-wrap
  12394. msgid "@code{patches} (default: @code{'()})"
  12395. msgstr ""
  12396. #. type: table
  12397. #: guix-git/doc/guix.texi:7498
  12398. msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source."
  12399. msgstr ""
  12400. #. type: table
  12401. #: guix-git/doc/guix.texi:7502
  12402. msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}."
  12403. msgstr ""
  12404. #. type: item
  12405. #: guix-git/doc/guix.texi:7503
  12406. #, no-wrap
  12407. msgid "@code{snippet} (default: @code{#f})"
  12408. msgstr ""
  12409. #. type: table
  12410. #: guix-git/doc/guix.texi:7507
  12411. msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch."
  12412. msgstr ""
  12413. #. type: item
  12414. #: guix-git/doc/guix.texi:7508
  12415. #, no-wrap
  12416. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12417. msgstr ""
  12418. #. type: table
  12419. #: guix-git/doc/guix.texi:7511
  12420. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12421. msgstr ""
  12422. #. type: item
  12423. #: guix-git/doc/guix.texi:7512
  12424. #, no-wrap
  12425. msgid "@code{patch-inputs} (default: @code{#f})"
  12426. msgstr ""
  12427. #. type: table
  12428. #: guix-git/doc/guix.texi:7516
  12429. msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch."
  12430. msgstr ""
  12431. #. type: item
  12432. #: guix-git/doc/guix.texi:7517 guix-git/doc/guix.texi:26855
  12433. #, no-wrap
  12434. msgid "@code{modules} (default: @code{'()})"
  12435. msgstr ""
  12436. #. type: table
  12437. #: guix-git/doc/guix.texi:7520
  12438. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12439. msgstr ""
  12440. #. type: item
  12441. #: guix-git/doc/guix.texi:7521
  12442. #, no-wrap
  12443. msgid "@code{patch-guile} (default: @code{#f})"
  12444. msgstr ""
  12445. #. type: table
  12446. #: guix-git/doc/guix.texi:7524
  12447. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12448. msgstr ""
  12449. #. type: deftp
  12450. #: guix-git/doc/guix.texi:7527
  12451. #, no-wrap
  12452. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12453. msgstr ""
  12454. #. type: deftp
  12455. #: guix-git/doc/guix.texi:7531
  12456. msgid "Construct a content hash object for the given @var{algorithm}, and with @var{value} as its hash value. When @var{algorithm} is omitted, assume it is @code{sha256}."
  12457. msgstr ""
  12458. #. type: deftp
  12459. #: guix-git/doc/guix.texi:7534
  12460. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12461. msgstr ""
  12462. #. type: deftp
  12463. #: guix-git/doc/guix.texi:7536
  12464. msgid "The following forms are all equivalent:"
  12465. msgstr ""
  12466. #. type: lisp
  12467. #: guix-git/doc/guix.texi:7545
  12468. #, no-wrap
  12469. msgid ""
  12470. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12471. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12472. " sha256)\n"
  12473. "(content-hash (base32\n"
  12474. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12475. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12476. " sha256)\n"
  12477. msgstr ""
  12478. #. type: deftp
  12479. #: guix-git/doc/guix.texi:7550
  12480. msgid "Technically, @code{content-hash} is currently implemented as a macro. It performs sanity checks at macro-expansion time, when possible, such as ensuring that @var{value} has the right size for @var{algorithm}."
  12481. msgstr ""
  12482. #. type: Plain text
  12483. #: guix-git/doc/guix.texi:7556
  12484. msgid "As we have seen above, how exactly the data an origin refers to is retrieved is determined by its @code{method} field. The @code{(guix download)} module provides the most common method, @code{url-fetch}, described below."
  12485. msgstr ""
  12486. #. type: deffn
  12487. #: guix-git/doc/guix.texi:7557
  12488. #, no-wrap
  12489. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12490. msgstr ""
  12491. #. type: deffn
  12492. #: guix-git/doc/guix.texi:7565
  12493. msgid "[name] [#:executable? #f] Return a fixed-output derivation that fetches data from @var{url} (a string, or a list of strings denoting alternate URLs), which is expected to have hash @var{hash} of type @var{hash-algo} (a symbol). By default, the file name is the base name of URL; optionally, @var{name} can specify a different file name. When @var{executable?} is true, make the downloaded file executable."
  12494. msgstr ""
  12495. #. type: deffn
  12496. #: guix-git/doc/guix.texi:7568
  12497. msgid "When one of the URL starts with @code{mirror://}, then its host part is interpreted as the name of a mirror scheme, taken from @file{%mirror-file}."
  12498. msgstr ""
  12499. #. type: deffn
  12500. #: guix-git/doc/guix.texi:7571
  12501. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12502. msgstr ""
  12503. #. type: Plain text
  12504. #: guix-git/doc/guix.texi:7577
  12505. msgid "Likewise, the @code{(guix git-download)} module defines the @code{git-fetch} origin method, which fetches data from a Git version control repository, and the @code{git-reference} data type to describe the repository and revision to fetch."
  12506. msgstr ""
  12507. #. type: deffn
  12508. #: guix-git/doc/guix.texi:7578
  12509. #, no-wrap
  12510. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12511. msgstr ""
  12512. #. type: deffn
  12513. #: guix-git/doc/guix.texi:7583
  12514. msgid "Return a fixed-output derivation that fetches @var{ref}, a @code{<git-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#f}."
  12515. msgstr ""
  12516. #. type: deftp
  12517. #: guix-git/doc/guix.texi:7585
  12518. #, no-wrap
  12519. msgid "{Data Type} git-reference"
  12520. msgstr ""
  12521. #. type: deftp
  12522. #: guix-git/doc/guix.texi:7588
  12523. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12524. msgstr ""
  12525. #. type: code{#1}
  12526. #: guix-git/doc/guix.texi:7590 guix-git/doc/guix.texi:24706
  12527. #, no-wrap
  12528. msgid "url"
  12529. msgstr ""
  12530. #. type: table
  12531. #: guix-git/doc/guix.texi:7592
  12532. msgid "The URL of the Git repository to clone."
  12533. msgstr ""
  12534. #. type: code{#1}
  12535. #: guix-git/doc/guix.texi:7593
  12536. #, no-wrap
  12537. msgid "commit"
  12538. msgstr "commit"
  12539. #. type: table
  12540. #: guix-git/doc/guix.texi:7598
  12541. msgid "This string denotes either the commit to fetch (a hexadecimal string), or the tag to fetch. You can also use a ``short'' commit ID or a @command{git describe} style identifier such as @code{v1.0.1-10-g58d7909c97}."
  12542. msgstr ""
  12543. #. type: item
  12544. #: guix-git/doc/guix.texi:7599
  12545. #, no-wrap
  12546. msgid "@code{recursive?} (default: @code{#f})"
  12547. msgstr ""
  12548. #. type: table
  12549. #: guix-git/doc/guix.texi:7601
  12550. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12551. msgstr ""
  12552. #. type: deftp
  12553. #: guix-git/doc/guix.texi:7605
  12554. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12555. msgstr ""
  12556. #. type: lisp
  12557. #: guix-git/doc/guix.texi:7610
  12558. #, no-wrap
  12559. msgid ""
  12560. "(git-reference\n"
  12561. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12562. " (commit \"v2.10\"))\n"
  12563. msgstr ""
  12564. #. type: deftp
  12565. #: guix-git/doc/guix.texi:7614
  12566. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12567. msgstr ""
  12568. #. type: lisp
  12569. #: guix-git/doc/guix.texi:7619
  12570. #, no-wrap
  12571. msgid ""
  12572. "(git-reference\n"
  12573. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12574. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12575. msgstr ""
  12576. #. type: Plain text
  12577. #: guix-git/doc/guix.texi:7625
  12578. msgid "For Mercurial repositories, the module @code{(guix hg-download)} defines the @code{hg-fetch} origin method and @code{hg-reference} data type for support of the Mercurial version control system."
  12579. msgstr ""
  12580. #. type: deffn
  12581. #: guix-git/doc/guix.texi:7626
  12582. #, no-wrap
  12583. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12584. msgstr ""
  12585. #. type: deffn
  12586. #: guix-git/doc/guix.texi:7632
  12587. msgid "[name] Return a fixed-output derivation that fetches @var{ref}, a @code{<hg-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#false}."
  12588. msgstr ""
  12589. #. type: cindex
  12590. #: guix-git/doc/guix.texi:7637
  12591. #, no-wrap
  12592. msgid "customizing packages"
  12593. msgstr ""
  12594. #. type: cindex
  12595. #: guix-git/doc/guix.texi:7638
  12596. #, no-wrap
  12597. msgid "variants, of packages"
  12598. msgstr ""
  12599. #. type: Plain text
  12600. #: guix-git/doc/guix.texi:7648
  12601. msgid "One of the nice things with Guix is that, given a package definition, you can easily @emph{derive} variants of that package---for a different upstream version, with different dependencies, different compilation options, and so on. Some of these custom packages can be defined straight from the command line (@pxref{Package Transformation Options}). This section describes how to define package variants in code. This can be useful in ``manifests'' (@pxref{profile-manifest, @option{--manifest}}) and in your own package collection (@pxref{Creating a Channel}), among others!"
  12602. msgstr ""
  12603. #. type: cindex
  12604. #: guix-git/doc/guix.texi:7649
  12605. #, no-wrap
  12606. msgid "inherit, for package definitions"
  12607. msgstr ""
  12608. #. type: Plain text
  12609. #: guix-git/doc/guix.texi:7656
  12610. msgid "As discussed earlier, packages are first-class objects in the Scheme language. The @code{(guix packages)} module provides the @code{package} construct to define new package objects (@pxref{package Reference}). The easiest way to define a package variant is using the @code{inherit} keyword together with @code{package}. This allows you to inherit from a package definition while overriding the fields you want."
  12611. msgstr ""
  12612. #. type: Plain text
  12613. #: guix-git/doc/guix.texi:7661
  12614. msgid "For example, given the @code{hello} variable, which contains a definition for the current version of GNU@tie{}Hello, here's how you would define a variant for version 2.2 (released in 2006, it's vintage!):"
  12615. msgstr ""
  12616. #. type: lisp
  12617. #: guix-git/doc/guix.texi:7664
  12618. #, no-wrap
  12619. msgid ""
  12620. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12621. "\n"
  12622. msgstr ""
  12623. #. type: lisp
  12624. #: guix-git/doc/guix.texi:7676
  12625. #, no-wrap
  12626. msgid ""
  12627. "(define hello-2.2\n"
  12628. " (package\n"
  12629. " (inherit hello)\n"
  12630. " (version \"2.2\")\n"
  12631. " (source (origin\n"
  12632. " (method url-fetch)\n"
  12633. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12634. " \".tar.gz\"))\n"
  12635. " (sha256\n"
  12636. " (base32\n"
  12637. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12638. msgstr ""
  12639. #. type: Plain text
  12640. #: guix-git/doc/guix.texi:7685
  12641. msgid "The example above corresponds to what the @option{--with-source} package transformation option does. Essentially @code{hello-2.2} preserves all the fields of @code{hello}, except @code{version} and @code{source}, which it overrides. Note that the original @code{hello} variable is still there, in the @code{(gnu packages base)} module, unchanged. When you define a custom package like this, you are really @emph{adding} a new package definition; the original one remains available."
  12642. msgstr ""
  12643. #. type: Plain text
  12644. #: guix-git/doc/guix.texi:7691
  12645. msgid "You can just as well define variants with a different set of dependencies than the original package. For example, the default @code{gdb} package depends on @code{guile}, but since that is an optional dependency, you can define a variant that removes that dependency like so:"
  12646. msgstr ""
  12647. #. type: lisp
  12648. #: guix-git/doc/guix.texi:7694
  12649. #, no-wrap
  12650. msgid ""
  12651. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12652. "\n"
  12653. msgstr ""
  12654. #. type: lisp
  12655. #: guix-git/doc/guix.texi:7700
  12656. #, no-wrap
  12657. msgid ""
  12658. "(define gdb-sans-guile\n"
  12659. " (package\n"
  12660. " (inherit gdb)\n"
  12661. " (inputs (modify-inputs (package-inputs gdb)\n"
  12662. " (delete \"guile\")))))\n"
  12663. msgstr ""
  12664. #. type: Plain text
  12665. #: guix-git/doc/guix.texi:7706
  12666. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  12667. msgstr ""
  12668. #. type: deffn
  12669. #: guix-git/doc/guix.texi:7707
  12670. #, no-wrap
  12671. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12672. msgstr ""
  12673. #. type: deffn
  12674. #: guix-git/doc/guix.texi:7711
  12675. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  12676. msgstr ""
  12677. #. type: item
  12678. #: guix-git/doc/guix.texi:7713
  12679. #, no-wrap
  12680. msgid "(delete @var{name}@dots{})"
  12681. msgstr ""
  12682. #. type: table
  12683. #: guix-git/doc/guix.texi:7715
  12684. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12685. msgstr ""
  12686. #. type: item
  12687. #: guix-git/doc/guix.texi:7716
  12688. #, no-wrap
  12689. msgid "(append @var{package}@dots{})"
  12690. msgstr ""
  12691. #. type: table
  12692. #: guix-git/doc/guix.texi:7718
  12693. msgid "Add @var{package}s to the end of the input list."
  12694. msgstr ""
  12695. #. type: item
  12696. #: guix-git/doc/guix.texi:7719
  12697. #, no-wrap
  12698. msgid "(prepend @var{package}@dots{})"
  12699. msgstr ""
  12700. #. type: table
  12701. #: guix-git/doc/guix.texi:7721
  12702. msgid "Add @var{package}s to the front of the input list."
  12703. msgstr ""
  12704. #. type: deffn
  12705. #: guix-git/doc/guix.texi:7725
  12706. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12707. msgstr ""
  12708. #. type: lisp
  12709. #: guix-git/doc/guix.texi:7730
  12710. #, no-wrap
  12711. msgid ""
  12712. "(modify-inputs (package-inputs coreutils)\n"
  12713. " (delete \"gmp\" \"acl\")\n"
  12714. " (append libcap))\n"
  12715. msgstr ""
  12716. #. type: deffn
  12717. #: guix-git/doc/guix.texi:7734
  12718. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12719. msgstr ""
  12720. #. type: lisp
  12721. #: guix-git/doc/guix.texi:7738
  12722. #, no-wrap
  12723. msgid ""
  12724. "(modify-inputs (package-inputs guile-redis)\n"
  12725. " (replace \"guile\" guile-2.2))\n"
  12726. msgstr ""
  12727. #. type: deffn
  12728. #: guix-git/doc/guix.texi:7742
  12729. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12730. msgstr ""
  12731. #. type: Plain text
  12732. #: guix-git/doc/guix.texi:7751
  12733. msgid "In some cases, you may find it useful to write functions (``procedures'', in Scheme parlance) that return a package based on some parameters. For example, consider the @code{luasocket} library for the Lua programming language. We want to create @code{luasocket} packages for major versions of Lua. One way to do that is to define a procedure that takes a Lua package and returns a @code{luasocket} package that depends on it:"
  12734. msgstr ""
  12735. #. type: lisp
  12736. #: guix-git/doc/guix.texi:7761
  12737. #, no-wrap
  12738. msgid ""
  12739. "(define (make-lua-socket name lua)\n"
  12740. " ;; Return a luasocket package built with LUA.\n"
  12741. " (package\n"
  12742. " (name name)\n"
  12743. " (version \"3.0\")\n"
  12744. " ;; several fields omitted\n"
  12745. " (inputs (list lua))\n"
  12746. " (synopsis \"Socket library for Lua\")))\n"
  12747. "\n"
  12748. msgstr ""
  12749. #. type: lisp
  12750. #: guix-git/doc/guix.texi:7764
  12751. #, no-wrap
  12752. msgid ""
  12753. "(define-public lua5.1-socket\n"
  12754. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12755. "\n"
  12756. msgstr ""
  12757. #. type: lisp
  12758. #: guix-git/doc/guix.texi:7767
  12759. #, no-wrap
  12760. msgid ""
  12761. "(define-public lua5.2-socket\n"
  12762. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12763. msgstr ""
  12764. #. type: Plain text
  12765. #: guix-git/doc/guix.texi:7775
  12766. msgid "Here we have defined packages @code{lua5.1-socket} and @code{lua5.2-socket} by calling @code{make-lua-socket} with different arguments. @xref{Procedures,,, guile, GNU Guile Reference Manual}, for more info on procedures. Having top-level public definitions for these two packages means that they can be referred to from the command line (@pxref{Package Modules})."
  12767. msgstr ""
  12768. #. type: cindex
  12769. #: guix-git/doc/guix.texi:7776
  12770. #, no-wrap
  12771. msgid "package transformations"
  12772. msgstr ""
  12773. #. type: Plain text
  12774. #: guix-git/doc/guix.texi:7781
  12775. msgid "These are pretty simple package variants. As a convenience, the @code{(guix transformations)} module provides a high-level interface that directly maps to the more sophisticated package transformation options (@pxref{Package Transformation Options}):"
  12776. msgstr ""
  12777. #. type: deffn
  12778. #: guix-git/doc/guix.texi:7782
  12779. #, no-wrap
  12780. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12781. msgstr ""
  12782. #. type: deffn
  12783. #: guix-git/doc/guix.texi:7786
  12784. msgid "Return a procedure that, when passed an object to build (package, derivation, etc.), applies the transformations specified by @var{opts} and returns the resulting objects. @var{opts} must be a list of symbol/string pairs such as:"
  12785. msgstr ""
  12786. #. type: lisp
  12787. #: guix-git/doc/guix.texi:7790
  12788. #, no-wrap
  12789. msgid ""
  12790. "((with-branch . \"guile-gcrypt=master\")\n"
  12791. " (without-tests . \"libgcrypt\"))\n"
  12792. msgstr ""
  12793. #. type: deffn
  12794. #: guix-git/doc/guix.texi:7794
  12795. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12796. msgstr ""
  12797. #. type: Plain text
  12798. #: guix-git/doc/guix.texi:7797
  12799. msgid "For instance, a manifest equivalent to this command:"
  12800. msgstr ""
  12801. #. type: example
  12802. #: guix-git/doc/guix.texi:7802
  12803. #, no-wrap
  12804. msgid ""
  12805. "guix build guix \\\n"
  12806. " --with-branch=guile-gcrypt=master \\\n"
  12807. " --with-debug-info=zlib\n"
  12808. msgstr ""
  12809. #. type: Plain text
  12810. #: guix-git/doc/guix.texi:7806
  12811. msgid "... would look like this:"
  12812. msgstr ""
  12813. #. type: lisp
  12814. #: guix-git/doc/guix.texi:7809
  12815. #, no-wrap
  12816. msgid ""
  12817. "(use-modules (guix transformations))\n"
  12818. "\n"
  12819. msgstr ""
  12820. #. type: lisp
  12821. #: guix-git/doc/guix.texi:7815
  12822. #, no-wrap
  12823. msgid ""
  12824. "(define transform\n"
  12825. " ;; The package transformation procedure.\n"
  12826. " (options->transformation\n"
  12827. " '((with-branch . \"guile-gcrypt=master\")\n"
  12828. " (with-debug-info . \"zlib\"))))\n"
  12829. "\n"
  12830. msgstr ""
  12831. #. type: lisp
  12832. #: guix-git/doc/guix.texi:7818
  12833. #, no-wrap
  12834. msgid ""
  12835. "(packages->manifest\n"
  12836. " (list (transform (specification->package \"guix\"))))\n"
  12837. msgstr ""
  12838. #. type: cindex
  12839. #: guix-git/doc/guix.texi:7820
  12840. #, no-wrap
  12841. msgid "input rewriting"
  12842. msgstr ""
  12843. #. type: cindex
  12844. #: guix-git/doc/guix.texi:7821
  12845. #, no-wrap
  12846. msgid "dependency graph rewriting"
  12847. msgstr ""
  12848. #. type: Plain text
  12849. #: guix-git/doc/guix.texi:7828
  12850. msgid "The @code{options->transformation} procedure is convenient, but it's perhaps also not as flexible as you may like. How is it implemented? The astute reader probably noticed that most package transformation options go beyond the superficial changes shown in the first examples of this section: they involve @dfn{input rewriting}, whereby the dependency graph of a package is rewritten by replacing specific inputs by others."
  12851. msgstr ""
  12852. #. type: Plain text
  12853. #: guix-git/doc/guix.texi:7832
  12854. msgid "Dependency graph rewriting, for the purposes of swapping packages in the graph, is what the @code{package-input-rewriting} procedure in @code{(guix packages)} implements."
  12855. msgstr ""
  12856. #. type: deffn
  12857. #: guix-git/doc/guix.texi:7833
  12858. #, no-wrap
  12859. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12860. msgstr ""
  12861. #. type: deffn
  12862. #: guix-git/doc/guix.texi:7840
  12863. msgid "[@var{rewrite-name}] [#:deep? #t] Return a procedure that, when passed a package, replaces its direct and indirect dependencies, including implicit inputs when @var{deep?} is true, according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement."
  12864. msgstr ""
  12865. #. type: deffn
  12866. #: guix-git/doc/guix.texi:7843
  12867. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12868. msgstr ""
  12869. #. type: table
  12870. #: guix-git/doc/guix.texi:7847 guix-git/doc/guix.texi:11634
  12871. msgid "Consider this example:"
  12872. msgstr ""
  12873. #. type: lisp
  12874. #: guix-git/doc/guix.texi:7853
  12875. #, no-wrap
  12876. msgid ""
  12877. "(define libressl-instead-of-openssl\n"
  12878. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12879. " ;; recursively.\n"
  12880. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12881. "\n"
  12882. msgstr ""
  12883. #. type: lisp
  12884. #: guix-git/doc/guix.texi:7856
  12885. #, no-wrap
  12886. msgid ""
  12887. "(define git-with-libressl\n"
  12888. " (libressl-instead-of-openssl git))\n"
  12889. msgstr ""
  12890. #. type: Plain text
  12891. #: guix-git/doc/guix.texi:7864
  12892. msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})."
  12893. msgstr ""
  12894. #. type: Plain text
  12895. #: guix-git/doc/guix.texi:7867
  12896. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12897. msgstr ""
  12898. #. type: deffn
  12899. #: guix-git/doc/guix.texi:7868
  12900. #, no-wrap
  12901. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12902. msgstr ""
  12903. #. type: deffn
  12904. #: guix-git/doc/guix.texi:7875
  12905. msgid "Return a procedure that, given a package, applies the given @var{replacements} to all the package graph, including implicit inputs unless @var{deep?} is false. @var{replacements} is a list of spec/procedures pair; each spec is a package specification such as @code{\"gcc\"} or @code{\"guile@@2\"}, and each procedure takes a matching package and returns a replacement for that package."
  12906. msgstr ""
  12907. #. type: Plain text
  12908. #: guix-git/doc/guix.texi:7878
  12909. msgid "The example above could be rewritten this way:"
  12910. msgstr ""
  12911. #. type: lisp
  12912. #: guix-git/doc/guix.texi:7883
  12913. #, no-wrap
  12914. msgid ""
  12915. "(define libressl-instead-of-openssl\n"
  12916. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12917. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12918. msgstr ""
  12919. #. type: Plain text
  12920. #: guix-git/doc/guix.texi:7888
  12921. msgid "The key difference here is that, this time, packages are matched by spec and not by identity. In other words, any package in the graph that is called @code{openssl} will be replaced."
  12922. msgstr ""
  12923. #. type: Plain text
  12924. #: guix-git/doc/guix.texi:7892
  12925. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12926. msgstr ""
  12927. #. type: deffn
  12928. #: guix-git/doc/guix.texi:7893
  12929. #, no-wrap
  12930. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12931. msgstr ""
  12932. #. type: deffn
  12933. #: guix-git/doc/guix.texi:7898
  12934. msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package. When @var{deep?} is true, @var{proc} is applied to implicit inputs as well."
  12935. msgstr ""
  12936. #. type: cindex
  12937. #: guix-git/doc/guix.texi:7904
  12938. #, no-wrap
  12939. msgid "build system"
  12940. msgstr "zostavovací systém"
  12941. #. type: Plain text
  12942. #: guix-git/doc/guix.texi:7909
  12943. msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure."
  12944. msgstr ""
  12945. #. type: Plain text
  12946. #: guix-git/doc/guix.texi:7913
  12947. msgid "Build systems are @code{<build-system>} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules."
  12948. msgstr ""
  12949. #. type: cindex
  12950. #: guix-git/doc/guix.texi:7914
  12951. #, no-wrap
  12952. msgid "bag (low-level package representation)"
  12953. msgstr ""
  12954. #. type: Plain text
  12955. #: guix-git/doc/guix.texi:7924
  12956. msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations}). The @code{package-with-c-toolchain} is an example of a way to change the implicit inputs that a package's build system pulls in (@pxref{package Reference, @code{package-with-c-toolchain}})."
  12957. msgstr ""
  12958. #. type: Plain text
  12959. #: guix-git/doc/guix.texi:7932
  12960. msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})."
  12961. msgstr ""
  12962. #. type: Plain text
  12963. #: guix-git/doc/guix.texi:7936
  12964. msgid "The main build system is @code{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module."
  12965. msgstr ""
  12966. #. type: defvr
  12967. #: guix-git/doc/guix.texi:7937
  12968. #, no-wrap
  12969. msgid "{Scheme Variable} gnu-build-system"
  12970. msgstr ""
  12971. #. type: defvr
  12972. #: guix-git/doc/guix.texi:7941
  12973. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12974. msgstr ""
  12975. #. type: cindex
  12976. #: guix-git/doc/guix.texi:7942 guix-git/doc/guix.texi:8891
  12977. #: guix-git/doc/guix.texi:9451
  12978. #, no-wrap
  12979. msgid "build phases"
  12980. msgstr ""
  12981. #. type: defvr
  12982. #: guix-git/doc/guix.texi:7949
  12983. msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}. @xref{Build Phases}, for more info on build phases and ways to customize them."
  12984. msgstr ""
  12985. #. type: defvr
  12986. #: guix-git/doc/guix.texi:7956
  12987. msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them."
  12988. msgstr ""
  12989. #. type: defvr
  12990. #: guix-git/doc/guix.texi:7960
  12991. msgid "This build system supports a number of keyword arguments, which can be passed @i{via} the @code{arguments} field of a package. Here are some of the main parameters:"
  12992. msgstr ""
  12993. #. type: item
  12994. #: guix-git/doc/guix.texi:7962
  12995. #, no-wrap
  12996. msgid "#:phases"
  12997. msgstr ""
  12998. #. type: table
  12999. #: guix-git/doc/guix.texi:7965
  13000. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  13001. msgstr ""
  13002. #. type: item
  13003. #: guix-git/doc/guix.texi:7966
  13004. #, no-wrap
  13005. msgid "#:configure-flags"
  13006. msgstr ""
  13007. #. type: table
  13008. #: guix-git/doc/guix.texi:7969
  13009. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  13010. msgstr ""
  13011. #. type: item
  13012. #: guix-git/doc/guix.texi:7970
  13013. #, no-wrap
  13014. msgid "#:make-flags"
  13015. msgstr ""
  13016. #. type: table
  13017. #: guix-git/doc/guix.texi:7974
  13018. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  13019. msgstr ""
  13020. #. type: item
  13021. #: guix-git/doc/guix.texi:7975
  13022. #, no-wrap
  13023. msgid "#:out-of-source?"
  13024. msgstr ""
  13025. #. type: table
  13026. #: guix-git/doc/guix.texi:7978
  13027. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  13028. msgstr ""
  13029. #. type: table
  13030. #: guix-git/doc/guix.texi:7983
  13031. msgid "When it is true, the @code{configure} phase creates a separate build directory, changes to that directory, and runs the @code{configure} script from there. This is useful for packages that require it, such as @code{glibc}."
  13032. msgstr ""
  13033. #. type: item
  13034. #: guix-git/doc/guix.texi:7984
  13035. #, no-wrap
  13036. msgid "#:tests?"
  13037. msgstr ""
  13038. #. type: table
  13039. #: guix-git/doc/guix.texi:7987
  13040. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  13041. msgstr ""
  13042. #. type: item
  13043. #: guix-git/doc/guix.texi:7988
  13044. #, no-wrap
  13045. msgid "#:test-target"
  13046. msgstr ""
  13047. #. type: table
  13048. #: guix-git/doc/guix.texi:7991
  13049. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  13050. msgstr ""
  13051. #. type: item
  13052. #: guix-git/doc/guix.texi:7992
  13053. #, no-wrap
  13054. msgid "#:parallel-build?"
  13055. msgstr ""
  13056. #. type: itemx
  13057. #: guix-git/doc/guix.texi:7993
  13058. #, no-wrap
  13059. msgid "#:parallel-tests?"
  13060. msgstr ""
  13061. #. type: table
  13062. #: guix-git/doc/guix.texi:8000
  13063. msgid "These Boolean values specify whether to build, respectively run the test suite, in parallel, with the @code{-j} flag of @command{make}. When they are true, @code{make} is passed @code{-j@var{n}}, where @var{n} is the number specified as the @option{--cores} option of @command{guix-daemon} or that of the @command{guix} client command (@pxref{Common Build Options, @option{--cores}})."
  13064. msgstr ""
  13065. #. type: cindex
  13066. #: guix-git/doc/guix.texi:8001
  13067. #, no-wrap
  13068. msgid "RUNPATH, validation"
  13069. msgstr ""
  13070. #. type: item
  13071. #: guix-git/doc/guix.texi:8002
  13072. #, no-wrap
  13073. msgid "#:validate-runpath?"
  13074. msgstr ""
  13075. #. type: table
  13076. #: guix-git/doc/guix.texi:8006
  13077. msgid "This Boolean, @code{#t} by default, determines whether to ``validate'' the @code{RUNPATH} of ELF binaries (@code{.so} shared libraries as well as executables) previously installed by the @code{install} phase."
  13078. msgstr ""
  13079. #. type: table
  13080. #: guix-git/doc/guix.texi:8014
  13081. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binary, which are listed as @code{DT_NEEDED} entries in its @code{PT_DYNAMIC} segment, appear in the @code{DT_RUNPATH} entry of that binary. In other words, it ensures that running or using those binaries will not result in a ``file not found'' error at run time. @xref{Options, @option{-rpath},, ld, The GNU Linker}, for more information on @code{RUNPATH}."
  13082. msgstr ""
  13083. #. type: item
  13084. #: guix-git/doc/guix.texi:8015
  13085. #, no-wrap
  13086. msgid "#:substitutable?"
  13087. msgstr ""
  13088. #. type: table
  13089. #: guix-git/doc/guix.texi:8019
  13090. msgid "This Boolean, @code{#t} by default, tells whether the package outputs should be substitutable---i.e., whether users should be able to obtain substitutes for them instead of building locally (@pxref{Substitutes})."
  13091. msgstr ""
  13092. #. type: item
  13093. #: guix-git/doc/guix.texi:8020
  13094. #, no-wrap
  13095. msgid "#:allowed-references"
  13096. msgstr ""
  13097. #. type: itemx
  13098. #: guix-git/doc/guix.texi:8021
  13099. #, no-wrap
  13100. msgid "#:disallowed-references"
  13101. msgstr ""
  13102. #. type: table
  13103. #: guix-git/doc/guix.texi:8026
  13104. msgid "When true, these arguments must be a list of dependencies that must not appear among the references of the build results. If, upon build completion, some of these references are retained, the build process fails."
  13105. msgstr ""
  13106. #. type: table
  13107. #: guix-git/doc/guix.texi:8031
  13108. msgid "This is useful to ensure that a package does not erroneously keep a reference to some of it build-time inputs, in cases where doing so would, for example, unnecessarily increase its size (@pxref{Invoking guix size})."
  13109. msgstr ""
  13110. #. type: defvr
  13111. #: guix-git/doc/guix.texi:8034
  13112. msgid "Most other build systems support these keyword arguments."
  13113. msgstr ""
  13114. #. type: Plain text
  13115. #: guix-git/doc/guix.texi:8041
  13116. msgid "Other @code{<build-system>} objects are defined to support other conventions and tools used by free software packages. They inherit most of @code{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below."
  13117. msgstr ""
  13118. #. type: defvr
  13119. #: guix-git/doc/guix.texi:8042
  13120. #, no-wrap
  13121. msgid "{Scheme Variable} ant-build-system"
  13122. msgstr ""
  13123. #. type: defvr
  13124. #: guix-git/doc/guix.texi:8046
  13125. msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{https://ant.apache.org/, Ant build tool}."
  13126. msgstr ""
  13127. #. type: defvr
  13128. #: guix-git/doc/guix.texi:8051
  13129. msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively."
  13130. msgstr ""
  13131. #. type: defvr
  13132. #: guix-git/doc/guix.texi:8057
  13133. msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''."
  13134. msgstr ""
  13135. #. type: defvr
  13136. #: guix-git/doc/guix.texi:8065
  13137. msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests."
  13138. msgstr ""
  13139. #. type: defvr
  13140. #: guix-git/doc/guix.texi:8069
  13141. msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run."
  13142. msgstr ""
  13143. #. type: defvr
  13144. #: guix-git/doc/guix.texi:8072
  13145. #, no-wrap
  13146. msgid "{Scheme Variable} android-ndk-build-system"
  13147. msgstr ""
  13148. #. type: cindex
  13149. #: guix-git/doc/guix.texi:8073
  13150. #, no-wrap
  13151. msgid "Android distribution"
  13152. msgstr ""
  13153. #. type: cindex
  13154. #: guix-git/doc/guix.texi:8074
  13155. #, no-wrap
  13156. msgid "Android NDK build system"
  13157. msgstr ""
  13158. #. type: defvr
  13159. #: guix-git/doc/guix.texi:8078
  13160. msgid "This variable is exported by @code{(guix build-system android-ndk)}. It implements a build procedure for Android NDK (native development kit) packages using a Guix-specific build process."
  13161. msgstr ""
  13162. #. type: defvr
  13163. #: guix-git/doc/guix.texi:8082
  13164. msgid "The build system assumes that packages install their public interface (header) files to the subdirectory @file{include} of the @code{out} output and their libraries to the subdirectory @file{lib} the @code{out} output."
  13165. msgstr ""
  13166. #. type: defvr
  13167. #: guix-git/doc/guix.texi:8085
  13168. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13169. msgstr ""
  13170. #. type: defvr
  13171. #: guix-git/doc/guix.texi:8088
  13172. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13173. msgstr ""
  13174. #. type: defvr
  13175. #: guix-git/doc/guix.texi:8091
  13176. #, no-wrap
  13177. msgid "{Scheme Variable} asdf-build-system/source"
  13178. msgstr ""
  13179. #. type: defvrx
  13180. #: guix-git/doc/guix.texi:8092
  13181. #, no-wrap
  13182. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13183. msgstr ""
  13184. #. type: defvrx
  13185. #: guix-git/doc/guix.texi:8093
  13186. #, no-wrap
  13187. msgid "{Scheme Variable} asdf-build-system/ecl"
  13188. msgstr ""
  13189. #. type: defvr
  13190. #: guix-git/doc/guix.texi:8099
  13191. msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries."
  13192. msgstr ""
  13193. #. type: defvr
  13194. #: guix-git/doc/guix.texi:8106
  13195. msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF@. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded."
  13196. msgstr ""
  13197. #. type: defvr
  13198. #: guix-git/doc/guix.texi:8110
  13199. msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}."
  13200. msgstr ""
  13201. #. type: defvr
  13202. #: guix-git/doc/guix.texi:8114
  13203. msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix."
  13204. msgstr ""
  13205. #. type: defvr
  13206. #: guix-git/doc/guix.texi:8122
  13207. msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-asdf-configuration} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument."
  13208. msgstr ""
  13209. #. type: defvr
  13210. #: guix-git/doc/guix.texi:8131
  13211. msgid "By default, all the @file{.asd} files present in the sources are read to find system definitions. The @code{#:asd-files} parameter can be used to specify the list of @file{.asd} files to read. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{<system>-tests.asd}, @code{<system>-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist."
  13212. msgstr ""
  13213. #. type: defvr
  13214. #: guix-git/doc/guix.texi:8136
  13215. msgid "If for some reason the package must be named in a different way than the naming conventions suggest, or if several systems must be compiled, the @code{#:asd-systems} parameter can be used to specify the list of system names."
  13216. msgstr ""
  13217. #. type: defvr
  13218. #: guix-git/doc/guix.texi:8139
  13219. #, no-wrap
  13220. msgid "{Scheme Variable} cargo-build-system"
  13221. msgstr ""
  13222. #. type: cindex
  13223. #: guix-git/doc/guix.texi:8140
  13224. #, no-wrap
  13225. msgid "Rust programming language"
  13226. msgstr ""
  13227. #. type: cindex
  13228. #: guix-git/doc/guix.texi:8141
  13229. #, no-wrap
  13230. msgid "Cargo (Rust build system)"
  13231. msgstr ""
  13232. #. type: defvr
  13233. #: guix-git/doc/guix.texi:8145
  13234. msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}."
  13235. msgstr ""
  13236. #. type: defvr
  13237. #: guix-git/doc/guix.texi:8148
  13238. msgid "It adds @code{rustc} and @code{cargo} to the set of inputs. A different Rust package can be specified with the @code{#:rust} parameter."
  13239. msgstr ""
  13240. #. type: defvr
  13241. #: guix-git/doc/guix.texi:8158
  13242. msgid "Regular cargo dependencies should be added to the package definition similarly to other packages; those needed only at build time to native-inputs, others to inputs. If you need to add source-only crates then you should add them to via the @code{#:cargo-inputs} parameter as a list of name and spec pairs, where the spec can be a package or a source definition. Note that the spec must evaluate to a path to a gzipped tarball which includes a @code{Cargo.toml} file at its root, or it will be ignored. Similarly, cargo dev-dependencies should be added to the package definition via the @code{#:cargo-development-inputs} parameter."
  13243. msgstr ""
  13244. #. type: defvr
  13245. #: guix-git/doc/guix.texi:8168
  13246. msgid "In its @code{configure} phase, this build system will make any source inputs specified in the @code{#:cargo-inputs} and @code{#:cargo-development-inputs} parameters available to cargo. It will also remove an included @code{Cargo.lock} file to be recreated by @code{cargo} during the @code{build} phase. The @code{package} phase will run @code{cargo package} to create a source crate for future use. The @code{install} phase installs the binaries defined by the crate. Unless @code{install-source? #f} is defined it will also install a source crate repository of itself and unpacked sources, to ease in future hacking on rust packages."
  13247. msgstr ""
  13248. #. type: defvr
  13249. #: guix-git/doc/guix.texi:8170
  13250. #, no-wrap
  13251. msgid "{Scheme Variable} chicken-build-system"
  13252. msgstr ""
  13253. #. type: defvr
  13254. #: guix-git/doc/guix.texi:8175
  13255. msgid "This variable is exported by @code{(guix build-system chicken)}. It builds @uref{https://call-cc.org/, CHICKEN Scheme} modules, also called ``eggs'' or ``extensions''. CHICKEN generates C source code, which then gets compiled by a C compiler, in this case GCC."
  13256. msgstr ""
  13257. #. type: defvr
  13258. #: guix-git/doc/guix.texi:8178
  13259. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13260. msgstr ""
  13261. #. type: defvr
  13262. #: guix-git/doc/guix.texi:8182
  13263. msgid "The build system can't (yet) deduce the egg's name automatically, so just like with @code{go-build-system} and its @code{#:import-path}, you should define @code{#:egg-name} in the package's @code{arguments} field."
  13264. msgstr ""
  13265. #. type: defvr
  13266. #: guix-git/doc/guix.texi:8184
  13267. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13268. msgstr ""
  13269. #. type: lisp
  13270. #: guix-git/doc/guix.texi:8187
  13271. #, no-wrap
  13272. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13273. msgstr ""
  13274. #. type: defvr
  13275. #: guix-git/doc/guix.texi:8192
  13276. msgid "Egg dependencies must be defined in @code{propagated-inputs}, not @code{inputs} because CHICKEN doesn't embed absolute references in compiled eggs. Test dependencies should go to @code{native-inputs}, as usual."
  13277. msgstr ""
  13278. #. type: defvr
  13279. #: guix-git/doc/guix.texi:8194
  13280. #, no-wrap
  13281. msgid "{Scheme Variable} copy-build-system"
  13282. msgstr ""
  13283. #. type: defvr
  13284. #: guix-git/doc/guix.texi:8198
  13285. msgid "This variable is exported by @code{(guix build-system copy)}. It supports builds of simple packages that don't require much compiling, mostly just moving files around."
  13286. msgstr ""
  13287. #. type: defvr
  13288. #: guix-git/doc/guix.texi:8203
  13289. msgid "It adds much of the @code{gnu-build-system} packages to the set of inputs. Because of this, the @code{copy-build-system} does not require all the boilerplate code often needed for the @code{trivial-build-system}."
  13290. msgstr ""
  13291. #. type: defvr
  13292. #: guix-git/doc/guix.texi:8208
  13293. msgid "To further simplify the file installation process, an @code{#:install-plan} argument is exposed to let the packager specify which files go where. The install plan is a list of @code{(@var{source} @var{target} [@var{filters}])}. @var{filters} are optional."
  13294. msgstr ""
  13295. #. type: item
  13296. #: guix-git/doc/guix.texi:8210
  13297. #, no-wrap
  13298. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13299. msgstr ""
  13300. #. type: item
  13301. #: guix-git/doc/guix.texi:8212
  13302. #, no-wrap
  13303. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13304. msgstr ""
  13305. #. type: item
  13306. #: guix-git/doc/guix.texi:8213
  13307. #, no-wrap
  13308. msgid "Otherwise install @var{source} as @var{target}."
  13309. msgstr ""
  13310. #. type: item
  13311. #: guix-git/doc/guix.texi:8216
  13312. #, no-wrap
  13313. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13314. msgstr ""
  13315. #. type: itemize
  13316. #: guix-git/doc/guix.texi:8219
  13317. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13318. msgstr ""
  13319. #. type: item
  13320. #: guix-git/doc/guix.texi:8220
  13321. #, no-wrap
  13322. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13323. msgstr ""
  13324. #. type: item
  13325. #: guix-git/doc/guix.texi:8221
  13326. #, no-wrap
  13327. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13328. msgstr ""
  13329. #. type: itemize
  13330. #: guix-git/doc/guix.texi:8224
  13331. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13332. msgstr ""
  13333. #. type: item
  13334. #: guix-git/doc/guix.texi:8225
  13335. #, no-wrap
  13336. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13337. msgstr ""
  13338. #. type: itemize
  13339. #: guix-git/doc/guix.texi:8227
  13340. msgid "at least one of the elements in the given list."
  13341. msgstr ""
  13342. #. type: item
  13343. #: guix-git/doc/guix.texi:8227
  13344. #, no-wrap
  13345. msgid "With @code{#:include-regexp}, install all the files which the"
  13346. msgstr ""
  13347. #. type: itemize
  13348. #: guix-git/doc/guix.texi:8230
  13349. msgid "subpaths match at least one of the regular expressions in the given list."
  13350. msgstr ""
  13351. #. type: item
  13352. #: guix-git/doc/guix.texi:8230
  13353. #, no-wrap
  13354. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13355. msgstr ""
  13356. #. type: itemize
  13357. #: guix-git/doc/guix.texi:8235
  13358. msgid "are the complement of their inclusion counterpart. Without @code{#:include} flags, install all files but those matching the exclusion filters. If both inclusions and exclusions are specified, the exclusions are done on top of the inclusions."
  13359. msgstr ""
  13360. #. type: itemize
  13361. #: guix-git/doc/guix.texi:8239
  13362. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13363. msgstr ""
  13364. #. type: defvr
  13365. #: guix-git/doc/guix.texi:8242
  13366. msgid "Examples:"
  13367. msgstr "Príklady:"
  13368. #. type: item
  13369. #: guix-git/doc/guix.texi:8244
  13370. #, no-wrap
  13371. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13372. msgstr ""
  13373. #. type: item
  13374. #: guix-git/doc/guix.texi:8245
  13375. #, no-wrap
  13376. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13377. msgstr ""
  13378. #. type: item
  13379. #: guix-git/doc/guix.texi:8246
  13380. #, no-wrap
  13381. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13382. msgstr ""
  13383. #. type: itemize
  13384. #: guix-git/doc/guix.texi:8248
  13385. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13386. msgstr ""
  13387. #. type: item
  13388. #: guix-git/doc/guix.texi:8248
  13389. #, no-wrap
  13390. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13391. msgstr ""
  13392. #. type: itemize
  13393. #: guix-git/doc/guix.texi:8250
  13394. msgid "@file{share/my-app/sub/file}."
  13395. msgstr ""
  13396. #. type: item
  13397. #: guix-git/doc/guix.texi:8250
  13398. #, no-wrap
  13399. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13400. msgstr ""
  13401. #. type: itemize
  13402. #: guix-git/doc/guix.texi:8252
  13403. msgid "@file{share/my-app/file}."
  13404. msgstr ""
  13405. #. type: cindex
  13406. #: guix-git/doc/guix.texi:8256
  13407. #, no-wrap
  13408. msgid "Clojure (programming language)"
  13409. msgstr ""
  13410. #. type: cindex
  13411. #: guix-git/doc/guix.texi:8257
  13412. #, no-wrap
  13413. msgid "simple Clojure build system"
  13414. msgstr ""
  13415. #. type: defvr
  13416. #: guix-git/doc/guix.texi:8258
  13417. #, no-wrap
  13418. msgid "{Scheme Variable} clojure-build-system"
  13419. msgstr ""
  13420. #. type: defvr
  13421. #: guix-git/doc/guix.texi:8263
  13422. msgid "This variable is exported by @code{(guix build-system clojure)}. It implements a simple build procedure for @uref{https://clojure.org/, Clojure} packages using plain old @code{compile} in Clojure. Cross-compilation is not supported yet."
  13423. msgstr ""
  13424. #. type: defvr
  13425. #: guix-git/doc/guix.texi:8267
  13426. msgid "It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and @code{#:zip} parameters, respectively."
  13427. msgstr ""
  13428. #. type: defvr
  13429. #: guix-git/doc/guix.texi:8273
  13430. msgid "A list of source directories, test directories and jar names can be specified with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} parameters, respectively. Compile directory and main class can be specified with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. Other parameters are documented below."
  13431. msgstr ""
  13432. #. type: defvr
  13433. #: guix-git/doc/guix.texi:8276
  13434. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13435. msgstr ""
  13436. #. type: item
  13437. #: guix-git/doc/guix.texi:8279 guix-git/doc/guix.texi:8852
  13438. #: guix-git/doc/guix.texi:8901 guix-git/doc/guix.texi:8974
  13439. #: guix-git/doc/guix.texi:35595 guix-git/doc/guix.texi:38341
  13440. #, no-wrap
  13441. msgid "build"
  13442. msgstr ""
  13443. #. type: table
  13444. #: guix-git/doc/guix.texi:8288
  13445. msgid "This phase calls @code{compile} in Clojure to compile source files and runs @command{jar} to create jars from both source files and compiled files according to the include list and exclude list specified in @code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list has priority over the include list. These lists consist of symbols representing Clojure libraries or the special keyword @code{#:all} representing all Clojure libraries found under the source directories. The parameter @code{#:omit-source?} decides if source should be included into the jars."
  13446. msgstr ""
  13447. #. type: item
  13448. #: guix-git/doc/guix.texi:8289 guix-git/doc/guix.texi:8856
  13449. #: guix-git/doc/guix.texi:8979
  13450. #, no-wrap
  13451. msgid "check"
  13452. msgstr ""
  13453. #. type: table
  13454. #: guix-git/doc/guix.texi:8296
  13455. msgid "This phase runs tests according to the include list and exclude list specified in @code{#:test-include} and @code{#:test-exclude}, respectively. Their meanings are analogous to that of @code{#:aot-include} and @code{#:aot-exclude}, except that the special keyword @code{#:all} now stands for all Clojure libraries found under the test directories. The parameter @code{#:tests?} decides if tests should be run."
  13456. msgstr ""
  13457. #. type: item
  13458. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8862
  13459. #: guix-git/doc/guix.texi:8905 guix-git/doc/guix.texi:8985
  13460. #, no-wrap
  13461. msgid "install"
  13462. msgstr "inštalovať"
  13463. #. type: table
  13464. #: guix-git/doc/guix.texi:8299
  13465. msgid "This phase installs all jars built previously."
  13466. msgstr ""
  13467. #. type: defvr
  13468. #: guix-git/doc/guix.texi:8302
  13469. msgid "Apart from the above, this build system also contains an additional phase:"
  13470. msgstr ""
  13471. #. type: item
  13472. #: guix-git/doc/guix.texi:8305
  13473. #, no-wrap
  13474. msgid "install-doc"
  13475. msgstr ""
  13476. #. type: table
  13477. #: guix-git/doc/guix.texi:8310
  13478. msgid "This phase installs all top-level files with base name matching @code{%doc-regex}. A different regex can be specified with the @code{#:doc-regex} parameter. All files (recursively) inside the documentation directories specified in @code{#:doc-dirs} are installed as well."
  13479. msgstr ""
  13480. #. type: defvr
  13481. #: guix-git/doc/guix.texi:8313
  13482. #, no-wrap
  13483. msgid "{Scheme Variable} cmake-build-system"
  13484. msgstr ""
  13485. #. type: defvr
  13486. #: guix-git/doc/guix.texi:8317
  13487. msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{https://www.cmake.org, CMake build tool}."
  13488. msgstr ""
  13489. #. type: defvr
  13490. #: guix-git/doc/guix.texi:8321
  13491. msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter."
  13492. msgstr ""
  13493. #. type: defvr
  13494. #: guix-git/doc/guix.texi:8328
  13495. msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default."
  13496. msgstr ""
  13497. #. type: defvr
  13498. #: guix-git/doc/guix.texi:8330
  13499. #, no-wrap
  13500. msgid "{Scheme Variable} dune-build-system"
  13501. msgstr ""
  13502. #. type: defvr
  13503. #: guix-git/doc/guix.texi:8337
  13504. msgid "This variable is exported by @code{(guix build-system dune)}. It supports builds of packages using @uref{https://dune.build/, Dune}, a build tool for the OCaml programming language. It is implemented as an extension of the @code{ocaml-build-system} which is described below. As such, the @code{#:ocaml} and @code{#:findlib} parameters can be passed to this build system."
  13505. msgstr ""
  13506. #. type: defvr
  13507. #: guix-git/doc/guix.texi:8341
  13508. msgid "It automatically adds the @code{dune} package to the set of inputs. Which package is used can be specified with the @code{#:dune} parameter."
  13509. msgstr ""
  13510. #. type: defvr
  13511. #: guix-git/doc/guix.texi:8345
  13512. msgid "There is no @code{configure} phase because dune packages typically don't need to be configured. The @code{#:build-flags} parameter is taken as a list of flags passed to the @code{dune} command during the build."
  13513. msgstr ""
  13514. #. type: defvr
  13515. #: guix-git/doc/guix.texi:8349
  13516. msgid "The @code{#:jbuild?} parameter can be passed to use the @code{jbuild} command instead of the more recent @code{dune} command while building a package. Its default value is @code{#f}."
  13517. msgstr ""
  13518. #. type: defvr
  13519. #: guix-git/doc/guix.texi:8354
  13520. msgid "The @code{#:package} parameter can be passed to specify a package name, which is useful when a package contains multiple packages and you want to build only one of them. This is equivalent to passing the @code{-p} argument to @code{dune}."
  13521. msgstr ""
  13522. #. type: defvr
  13523. #: guix-git/doc/guix.texi:8357
  13524. #, no-wrap
  13525. msgid "{Scheme Variable} go-build-system"
  13526. msgstr ""
  13527. #. type: defvr
  13528. #: guix-git/doc/guix.texi:8362
  13529. msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}."
  13530. msgstr ""
  13531. #. type: defvr
  13532. #: guix-git/doc/guix.texi:8373
  13533. msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases."
  13534. msgstr ""
  13535. #. type: defvr
  13536. #: guix-git/doc/guix.texi:8378
  13537. msgid "Packages that provide Go libraries should install their source code into the built output. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files."
  13538. msgstr ""
  13539. #. type: defvr
  13540. #: guix-git/doc/guix.texi:8385
  13541. msgid "Packages can be cross-built, and if a specific architecture or operating system is desired then the keywords @code{#:goarch} and @code{#:goos} can be used to force the package to be built for that architecture and operating system. The combinations known to Go can be found @url{\"https://golang.org/doc/install/source#environment\", in their documentation}."
  13542. msgstr ""
  13543. #. type: defvr
  13544. #: guix-git/doc/guix.texi:8387
  13545. #, no-wrap
  13546. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13547. msgstr ""
  13548. #. type: defvr
  13549. #: guix-git/doc/guix.texi:8390
  13550. msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+."
  13551. msgstr ""
  13552. #. type: defvr
  13553. #: guix-git/doc/guix.texi:8393
  13554. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13555. msgstr ""
  13556. #. type: item
  13557. #: guix-git/doc/guix.texi:8395 guix-git/doc/guix.texi:8878
  13558. #, no-wrap
  13559. msgid "glib-or-gtk-wrap"
  13560. msgstr ""
  13561. #. type: table
  13562. #: guix-git/doc/guix.texi:8402
  13563. msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @env{XDG_DATA_DIRS} and @env{GTK_PATH} environment variables."
  13564. msgstr ""
  13565. #. type: table
  13566. #: guix-git/doc/guix.texi:8409
  13567. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+."
  13568. msgstr ""
  13569. #. type: item
  13570. #: guix-git/doc/guix.texi:8410 guix-git/doc/guix.texi:8882
  13571. #, no-wrap
  13572. msgid "glib-or-gtk-compile-schemas"
  13573. msgstr ""
  13574. #. type: table
  13575. #: guix-git/doc/guix.texi:8418
  13576. msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter."
  13577. msgstr ""
  13578. #. type: defvr
  13579. #: guix-git/doc/guix.texi:8421
  13580. msgid "Both phases are executed after the @code{install} phase."
  13581. msgstr ""
  13582. #. type: defvr
  13583. #: guix-git/doc/guix.texi:8423
  13584. #, no-wrap
  13585. msgid "{Scheme Variable} guile-build-system"
  13586. msgstr ""
  13587. #. type: defvr
  13588. #: guix-git/doc/guix.texi:8430
  13589. msgid "This build system is for Guile packages that consist exclusively of Scheme code and that are so lean that they don't even have a makefile, let alone a @file{configure} script. It compiles Scheme code using @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and installs the @file{.scm} and @file{.go} files in the right place. It also installs documentation."
  13590. msgstr ""
  13591. #. type: defvr
  13592. #: guix-git/doc/guix.texi:8433
  13593. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13594. msgstr ""
  13595. #. type: defvr
  13596. #: guix-git/doc/guix.texi:8436
  13597. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13598. msgstr ""
  13599. #. type: defvr
  13600. #: guix-git/doc/guix.texi:8438
  13601. #, no-wrap
  13602. msgid "{Scheme Variable} julia-build-system"
  13603. msgstr ""
  13604. #. type: defvr
  13605. #: guix-git/doc/guix.texi:8445
  13606. msgid "This variable is exported by @code{(guix build-system julia)}. It implements the build procedure used by @uref{https://julialang.org/, julia} packages, which essentially is similar to running @samp{julia -e 'using Pkg; Pkg.add(package)'} in an environment where @env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs. Tests are run by calling @code{/test/runtests.jl}."
  13607. msgstr ""
  13608. #. type: defvr
  13609. #: guix-git/doc/guix.texi:8450
  13610. msgid "The Julia package name and uuid is read from the file @file{Project.toml}. These values can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized) or @code{#:julia-package-uuid}."
  13611. msgstr ""
  13612. #. type: defvr
  13613. #: guix-git/doc/guix.texi:8454
  13614. msgid "Julia packages usually manage their binary dependencies via @code{JLLWrappers.jl}, a Julia package that creates a module (named after the wrapped library followed by @code{_jll.jl}."
  13615. msgstr ""
  13616. #. type: defvr
  13617. #: guix-git/doc/guix.texi:8459
  13618. msgid "To add the binary path @code{_jll.jl} packages, you need to patch the files under @file{src/wrappers/}, replacing the call to the macro @code{JLLWrappers.@@generate_wrapper_header}, adding as a second argument containing the store path the binary."
  13619. msgstr ""
  13620. #. type: defvr
  13621. #: guix-git/doc/guix.texi:8463
  13622. msgid "As an example, in the MbedTLS Julia package, we add a build phase (@pxref{Build Phases}) to insert the absolute file name of the wrapped MbedTLS package:"
  13623. msgstr ""
  13624. #. type: lisp
  13625. #: guix-git/doc/guix.texi:8475
  13626. #, no-wrap
  13627. msgid ""
  13628. "(add-after 'unpack 'override-binary-path\n"
  13629. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13630. " (for-each (lambda (wrapper)\n"
  13631. " (substitute* wrapper\n"
  13632. " ((\"generate_wrapper_header.*\")\n"
  13633. " (string-append\n"
  13634. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13635. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13636. " ;; There's a Julia file for each platform, override them all.\n"
  13637. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13638. msgstr ""
  13639. #. type: defvr
  13640. #: guix-git/doc/guix.texi:8481
  13641. msgid "Some older packages that aren't using @file{Project.toml} yet, will require this file to be created, too. It is internally done if the arguments @code{#:julia-package-name} and @code{#:julia-package-uuid} are provided."
  13642. msgstr ""
  13643. #. type: defvr
  13644. #: guix-git/doc/guix.texi:8483
  13645. #, no-wrap
  13646. msgid "{Scheme Variable} maven-build-system"
  13647. msgstr ""
  13648. #. type: defvr
  13649. #: guix-git/doc/guix.texi:8490
  13650. msgid "This variable is exported by @code{(guix build-system maven)}. It implements a build procedure for @uref{https://maven.apache.org, Maven} packages. Maven is a dependency and lifecycle management tool for Java. A user of Maven specifies dependencies and plugins in a @file{pom.xml} file that Maven reads. When Maven does not have one of the dependencies or plugins in its repository, it will download them and use them to build the package."
  13651. msgstr ""
  13652. #. type: defvr
  13653. #: guix-git/doc/guix.texi:8500
  13654. msgid "The maven build system ensures that maven will not try to download any dependency by running in offline mode. Maven will fail if a dependency is missing. Before running Maven, the @file{pom.xml} (and subprojects) are modified to specify the version of dependencies and plugins that match the versions available in the guix build environment. Dependencies and plugins must be installed in the fake maven repository at @file{lib/m2}, and are symlinked into a proper repository before maven is run. Maven is instructed to use that repository for the build and installs built artifacts there. Changed files are copied to the @file{lib/m2} directory of the package output."
  13655. msgstr ""
  13656. #. type: defvr
  13657. #: guix-git/doc/guix.texi:8503
  13658. msgid "You can specify a @file{pom.xml} file with the @code{#:pom-file} argument, or let the build system use the default @file{pom.xml} file in the sources."
  13659. msgstr ""
  13660. #. type: defvr
  13661. #: guix-git/doc/guix.texi:8509
  13662. msgid "In case you need to specify a dependency's version manually, you can use the @code{#:local-packages} argument. It takes an association list where the key is the groupId of the package and its value is an association list where the key is the artifactId of the package and its value is the version you want to override in the @file{pom.xml}."
  13663. msgstr ""
  13664. #. type: defvr
  13665. #: guix-git/doc/guix.texi:8515
  13666. msgid "Some packages use dependencies or plugins that are not useful at runtime nor at build time in Guix. You can alter the @file{pom.xml} file to remove them using the @code{#:exclude} argument. Its value is an association list where the key is the groupId of the plugin or dependency you want to remove, and the value is a list of artifactId you want to remove."
  13667. msgstr ""
  13668. #. type: defvr
  13669. #: guix-git/doc/guix.texi:8518
  13670. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13671. msgstr ""
  13672. #. type: defvr
  13673. #: guix-git/doc/guix.texi:8523
  13674. msgid "The @code{#:maven-plugins} argument is a list of maven plugins used during the build, with the same format as the @code{inputs} fields of the package declaration. Its default value is @code{(default-maven-plugins)} which is also exported."
  13675. msgstr ""
  13676. #. type: defvr
  13677. #: guix-git/doc/guix.texi:8525
  13678. #, no-wrap
  13679. msgid "{Scheme Variable} minetest-mod-build-system"
  13680. msgstr ""
  13681. #. type: defvr
  13682. #: guix-git/doc/guix.texi:8531
  13683. msgid "This variable is exported by @code{(guix build-system minetest)}. It implements a build procedure for @uref{https://www.minetest.net, Minetest} mods, which consists of copying Lua code, images and other resources to the location Minetest searches for mods. The build system also minimises PNG images and verifies that Minetest can load the mod without errors."
  13684. msgstr ""
  13685. #. type: defvr
  13686. #: guix-git/doc/guix.texi:8533
  13687. #, no-wrap
  13688. msgid "{Scheme Variable} minify-build-system"
  13689. msgstr ""
  13690. #. type: defvr
  13691. #: guix-git/doc/guix.texi:8536
  13692. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13693. msgstr ""
  13694. #. type: defvr
  13695. #: guix-git/doc/guix.texi:8542
  13696. msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output."
  13697. msgstr ""
  13698. #. type: defvr
  13699. #: guix-git/doc/guix.texi:8546
  13700. msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier."
  13701. msgstr ""
  13702. #. type: defvr
  13703. #: guix-git/doc/guix.texi:8548
  13704. #, no-wrap
  13705. msgid "{Scheme Variable} ocaml-build-system"
  13706. msgstr ""
  13707. #. type: defvr
  13708. #: guix-git/doc/guix.texi:8554
  13709. msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them."
  13710. msgstr ""
  13711. #. type: defvr
  13712. #: guix-git/doc/guix.texi:8564
  13713. msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases."
  13714. msgstr ""
  13715. #. type: defvr
  13716. #: guix-git/doc/guix.texi:8569
  13717. msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key."
  13718. msgstr ""
  13719. #. type: defvr
  13720. #: guix-git/doc/guix.texi:8573
  13721. msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key."
  13722. msgstr ""
  13723. #. type: defvr
  13724. #: guix-git/doc/guix.texi:8581
  13725. msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition."
  13726. msgstr ""
  13727. #. type: defvr
  13728. #: guix-git/doc/guix.texi:8589
  13729. msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @env{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed."
  13730. msgstr ""
  13731. #. type: defvr
  13732. #: guix-git/doc/guix.texi:8591
  13733. #, no-wrap
  13734. msgid "{Scheme Variable} python-build-system"
  13735. msgstr ""
  13736. #. type: defvr
  13737. #: guix-git/doc/guix.texi:8596
  13738. msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}."
  13739. msgstr ""
  13740. #. type: defvr
  13741. #: guix-git/doc/guix.texi:8601
  13742. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13743. msgstr ""
  13744. #. type: defvr
  13745. #: guix-git/doc/guix.texi:8607
  13746. msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version."
  13747. msgstr ""
  13748. #. type: defvr
  13749. #: guix-git/doc/guix.texi:8612
  13750. msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools?} parameter to @code{#f}."
  13751. msgstr ""
  13752. #. type: defvr
  13753. #: guix-git/doc/guix.texi:8618
  13754. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  13755. msgstr ""
  13756. #. type: defvr
  13757. #: guix-git/doc/guix.texi:8621
  13758. #, no-wrap
  13759. msgid "{Scheme Variable} perl-build-system"
  13760. msgstr ""
  13761. #. type: defvr
  13762. #: guix-git/doc/guix.texi:8633
  13763. msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter."
  13764. msgstr ""
  13765. #. type: defvr
  13766. #: guix-git/doc/guix.texi:8637
  13767. msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively."
  13768. msgstr ""
  13769. #. type: defvr
  13770. #: guix-git/doc/guix.texi:8639
  13771. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13772. msgstr ""
  13773. #. type: defvr
  13774. #: guix-git/doc/guix.texi:8641
  13775. #, no-wrap
  13776. msgid "{Scheme Variable} renpy-build-system"
  13777. msgstr ""
  13778. #. type: defvr
  13779. #: guix-git/doc/guix.texi:8645
  13780. msgid "This variable is exported by @code{(guix build-system renpy)}. It implements the more or less standard build procedure used by Ren'py games, which consists of loading @code{#:game} once, thereby creating bytecode for it."
  13781. msgstr ""
  13782. #. type: defvr
  13783. #: guix-git/doc/guix.texi:8648
  13784. msgid "It further creates a wrapper script in @code{bin/} and a desktop entry in @code{share/applications}, both of which can be used to launch the game."
  13785. msgstr ""
  13786. #. type: defvr
  13787. #: guix-git/doc/guix.texi:8652
  13788. msgid "Which Ren'py package is used can be specified with @code{#:renpy}. Games can also be installed in outputs other than ``out'' by using @code{#:output}."
  13789. msgstr ""
  13790. #. type: defvr
  13791. #: guix-git/doc/guix.texi:8654
  13792. #, no-wrap
  13793. msgid "{Scheme Variable} qt-build-system"
  13794. msgstr ""
  13795. #. type: defvr
  13796. #: guix-git/doc/guix.texi:8657
  13797. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13798. msgstr ""
  13799. #. type: defvr
  13800. #: guix-git/doc/guix.texi:8660
  13801. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13802. msgstr ""
  13803. #. type: item
  13804. #: guix-git/doc/guix.texi:8662
  13805. #, no-wrap
  13806. msgid "check-setup"
  13807. msgstr ""
  13808. #. type: table
  13809. #: guix-git/doc/guix.texi:8669
  13810. msgid "The phase @code{check-setup} prepares the environment for running the checks as commonly used by Qt test programs. For now this only sets some environment variables: @code{QT_QPA_PLATFORM=offscreen}, @code{DBUS_FATAL_WARNINGS=0} and @code{CTEST_OUTPUT_ON_FAILURE=1}."
  13811. msgstr ""
  13812. #. type: table
  13813. #: guix-git/doc/guix.texi:8672
  13814. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13815. msgstr ""
  13816. #. type: item
  13817. #: guix-git/doc/guix.texi:8673
  13818. #, no-wrap
  13819. msgid "qt-wrap"
  13820. msgstr ""
  13821. #. type: table
  13822. #: guix-git/doc/guix.texi:8679
  13823. msgid "The phase @code{qt-wrap} searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} directories are wrapped in scripts defining the necessary environment variables."
  13824. msgstr ""
  13825. #. type: table
  13826. #: guix-git/doc/guix.texi:8685
  13827. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:qt-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, and where wrapping would gratuitously add a dependency of that output on Qt, KDE, or such."
  13828. msgstr ""
  13829. #. type: table
  13830. #: guix-git/doc/guix.texi:8687
  13831. msgid "This phase is added after the @code{install} phase."
  13832. msgstr ""
  13833. #. type: defvr
  13834. #: guix-git/doc/guix.texi:8690
  13835. #, no-wrap
  13836. msgid "{Scheme Variable} r-build-system"
  13837. msgstr ""
  13838. #. type: defvr
  13839. #: guix-git/doc/guix.texi:8698
  13840. msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{https://r-project.org, R} packages, which essentially is little more than running @samp{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @env{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}."
  13841. msgstr ""
  13842. #. type: defvr
  13843. #: guix-git/doc/guix.texi:8700
  13844. #, no-wrap
  13845. msgid "{Scheme Variable} rakudo-build-system"
  13846. msgstr ""
  13847. #. type: defvr
  13848. #: guix-git/doc/guix.texi:8708
  13849. msgid "This variable is exported by @code{(guix build-system rakudo)}. It implements the build procedure used by @uref{https://rakudo.org/, Rakudo} for @uref{https://perl6.org/, Perl6} packages. It installs the package to @code{/gnu/store/@dots{}/NAME-VERSION/share/perl6} and installs the binaries, library files and the resources, as well as wrap the files under the @code{bin/} directory. Tests can be skipped by passing @code{#f} to the @code{tests?} parameter."
  13850. msgstr ""
  13851. #. type: defvr
  13852. #: guix-git/doc/guix.texi:8716
  13853. msgid "Which rakudo package is used can be specified with @code{rakudo}. Which perl6-tap-harness package used for the tests can be specified with @code{#:prove6} or removed by passing @code{#f} to the @code{with-prove6?} parameter. Which perl6-zef package used for tests and installing can be specified with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter."
  13854. msgstr ""
  13855. #. type: defvr
  13856. #: guix-git/doc/guix.texi:8718
  13857. #, no-wrap
  13858. msgid "{Scheme Variable} texlive-build-system"
  13859. msgstr ""
  13860. #. type: defvr
  13861. #: guix-git/doc/guix.texi:8723
  13862. msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @env{TEXINPUTS} variable to find all TeX source files in the inputs."
  13863. msgstr ""
  13864. #. type: defvr
  13865. #: guix-git/doc/guix.texi:8732
  13866. msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively."
  13867. msgstr ""
  13868. #. type: defvr
  13869. #: guix-git/doc/guix.texi:8735
  13870. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13871. msgstr ""
  13872. #. type: defvr
  13873. #: guix-git/doc/guix.texi:8737
  13874. #, no-wrap
  13875. msgid "{Scheme Variable} ruby-build-system"
  13876. msgstr ""
  13877. #. type: defvr
  13878. #: guix-git/doc/guix.texi:8741
  13879. msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}."
  13880. msgstr ""
  13881. #. type: defvr
  13882. #: guix-git/doc/guix.texi:8749
  13883. msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball."
  13884. msgstr ""
  13885. #. type: defvr
  13886. #: guix-git/doc/guix.texi:8753
  13887. msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter."
  13888. msgstr ""
  13889. #. type: defvr
  13890. #: guix-git/doc/guix.texi:8755
  13891. #, no-wrap
  13892. msgid "{Scheme Variable} waf-build-system"
  13893. msgstr ""
  13894. #. type: defvr
  13895. #: guix-git/doc/guix.texi:8761
  13896. msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script."
  13897. msgstr ""
  13898. #. type: defvr
  13899. #: guix-git/doc/guix.texi:8765
  13900. msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter."
  13901. msgstr ""
  13902. #. type: defvr
  13903. #: guix-git/doc/guix.texi:8767
  13904. #, no-wrap
  13905. msgid "{Scheme Variable} scons-build-system"
  13906. msgstr ""
  13907. #. type: defvr
  13908. #: guix-git/doc/guix.texi:8773
  13909. msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package."
  13910. msgstr ""
  13911. #. type: defvr
  13912. #: guix-git/doc/guix.texi:8780
  13913. msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The default build and install targets can be overridden with @code{#:build-targets} and @code{#:install-targets} respectively. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter."
  13914. msgstr ""
  13915. #. type: defvr
  13916. #: guix-git/doc/guix.texi:8782
  13917. #, no-wrap
  13918. msgid "{Scheme Variable} haskell-build-system"
  13919. msgstr ""
  13920. #. type: defvr
  13921. #: guix-git/doc/guix.texi:8796
  13922. msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead."
  13923. msgstr ""
  13924. #. type: defvr
  13925. #: guix-git/doc/guix.texi:8799
  13926. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13927. msgstr ""
  13928. #. type: defvr
  13929. #: guix-git/doc/guix.texi:8801
  13930. #, no-wrap
  13931. msgid "{Scheme Variable} dub-build-system"
  13932. msgstr ""
  13933. #. type: defvr
  13934. #: guix-git/doc/guix.texi:8806
  13935. msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually."
  13936. msgstr ""
  13937. #. type: defvr
  13938. #: guix-git/doc/guix.texi:8809
  13939. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13940. msgstr ""
  13941. #. type: anchor{#1}
  13942. #: guix-git/doc/guix.texi:8812
  13943. msgid "emacs-build-system"
  13944. msgstr ""
  13945. #. type: defvr
  13946. #: guix-git/doc/guix.texi:8812
  13947. #, no-wrap
  13948. msgid "{Scheme Variable} emacs-build-system"
  13949. msgstr ""
  13950. #. type: defvr
  13951. #: guix-git/doc/guix.texi:8816
  13952. msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  13953. msgstr ""
  13954. #. type: defvr
  13955. #: guix-git/doc/guix.texi:8822
  13956. msgid "It first creates the @code{@code{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. The Elisp package files are installed directly under @file{share/emacs/site-lisp}."
  13957. msgstr ""
  13958. #. type: defvr
  13959. #: guix-git/doc/guix.texi:8824
  13960. #, no-wrap
  13961. msgid "{Scheme Variable} font-build-system"
  13962. msgstr ""
  13963. #. type: defvr
  13964. #: guix-git/doc/guix.texi:8830
  13965. msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc.@: font files that merely need to be copied into place. It copies font files to standard locations in the output directory."
  13966. msgstr ""
  13967. #. type: defvr
  13968. #: guix-git/doc/guix.texi:8832
  13969. #, no-wrap
  13970. msgid "{Scheme Variable} meson-build-system"
  13971. msgstr ""
  13972. #. type: defvr
  13973. #: guix-git/doc/guix.texi:8836
  13974. msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{https://mesonbuild.com, Meson} as their build system."
  13975. msgstr ""
  13976. #. type: defvr
  13977. #: guix-git/doc/guix.texi:8840
  13978. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed."
  13979. msgstr ""
  13980. #. type: defvr
  13981. #: guix-git/doc/guix.texi:8843
  13982. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13983. msgstr ""
  13984. #. type: item
  13985. #: guix-git/doc/guix.texi:8846 guix-git/doc/guix.texi:8897
  13986. #: guix-git/doc/guix.texi:8969
  13987. #, no-wrap
  13988. msgid "configure"
  13989. msgstr "nastaviť"
  13990. #. type: table
  13991. #: guix-git/doc/guix.texi:8851
  13992. msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @option{--buildtype} is always set to @code{debugoptimized} unless something else is specified in @code{#:build-type}."
  13993. msgstr ""
  13994. #. type: table
  13995. #: guix-git/doc/guix.texi:8855
  13996. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13997. msgstr ""
  13998. #. type: table
  13999. #: guix-git/doc/guix.texi:8861
  14000. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  14001. msgstr ""
  14002. #. type: table
  14003. #: guix-git/doc/guix.texi:8864
  14004. msgid "The phase runs @code{ninja install} and can not be changed."
  14005. msgstr ""
  14006. #. type: defvr
  14007. #: guix-git/doc/guix.texi:8867
  14008. msgid "Apart from that, the build system also adds the following phases:"
  14009. msgstr ""
  14010. #. type: item
  14011. #: guix-git/doc/guix.texi:8870
  14012. #, no-wrap
  14013. msgid "fix-runpath"
  14014. msgstr ""
  14015. #. type: table
  14016. #: guix-git/doc/guix.texi:8877
  14017. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson}, such as test dependencies, that aren't actually required for the program to run."
  14018. msgstr ""
  14019. #. type: table
  14020. #: guix-git/doc/guix.texi:8881 guix-git/doc/guix.texi:8885
  14021. msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}."
  14022. msgstr ""
  14023. #. type: defvr
  14024. #: guix-git/doc/guix.texi:8888
  14025. #, no-wrap
  14026. msgid "{Scheme Variable} linux-module-build-system"
  14027. msgstr ""
  14028. #. type: defvr
  14029. #: guix-git/doc/guix.texi:8890
  14030. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  14031. msgstr ""
  14032. #. type: defvr
  14033. #: guix-git/doc/guix.texi:8894
  14034. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  14035. msgstr ""
  14036. #. type: table
  14037. #: guix-git/doc/guix.texi:8900
  14038. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  14039. msgstr ""
  14040. #. type: table
  14041. #: guix-git/doc/guix.texi:8904
  14042. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  14043. msgstr ""
  14044. #. type: table
  14045. #: guix-git/doc/guix.texi:8908
  14046. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  14047. msgstr ""
  14048. #. type: defvr
  14049. #: guix-git/doc/guix.texi:8913
  14050. msgid "It is possible and useful to specify the Linux kernel to use for building the module (in the @code{arguments} form of a package using the @code{linux-module-build-system}, use the key @code{#:linux} to specify it)."
  14051. msgstr ""
  14052. #. type: defvr
  14053. #: guix-git/doc/guix.texi:8915
  14054. #, no-wrap
  14055. msgid "{Scheme Variable} node-build-system"
  14056. msgstr ""
  14057. #. type: defvr
  14058. #: guix-git/doc/guix.texi:8920
  14059. msgid "This variable is exported by @code{(guix build-system node)}. It implements the build procedure used by @uref{https://nodejs.org, Node.js}, which implements an approximation of the @code{npm install} command, followed by an @code{npm test} command."
  14060. msgstr ""
  14061. #. type: defvr
  14062. #: guix-git/doc/guix.texi:8924
  14063. msgid "Which Node.js package is used to interpret the @code{npm} commands can be specified with the @code{#:node} parameter which defaults to @code{node}."
  14064. msgstr ""
  14065. #. type: Plain text
  14066. #: guix-git/doc/guix.texi:8930
  14067. msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases."
  14068. msgstr ""
  14069. #. type: defvr
  14070. #: guix-git/doc/guix.texi:8931
  14071. #, no-wrap
  14072. msgid "{Scheme Variable} trivial-build-system"
  14073. msgstr ""
  14074. #. type: defvr
  14075. #: guix-git/doc/guix.texi:8933
  14076. msgid "This variable is exported by @code{(guix build-system trivial)}."
  14077. msgstr ""
  14078. #. type: defvr
  14079. #: guix-git/doc/guix.texi:8938
  14080. msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})."
  14081. msgstr ""
  14082. #. type: cindex
  14083. #: guix-git/doc/guix.texi:8943
  14084. #, no-wrap
  14085. msgid "build phases, for packages"
  14086. msgstr ""
  14087. #. type: Plain text
  14088. #: guix-git/doc/guix.texi:8949
  14089. msgid "Almost all package build systems implement a notion @dfn{build phases}: a sequence of actions that the build system executes, when you build the package, leading to the installed byproducts in the store. A notable exception is the ``bare-bones'' @code{trivial-build-system} (@pxref{Build Systems})."
  14090. msgstr ""
  14091. #. type: Plain text
  14092. #: guix-git/doc/guix.texi:8953
  14093. msgid "As discussed in the previous section, those build systems provide a standard list of phases. For @code{gnu-build-system}, the main build phases are the following:"
  14094. msgstr ""
  14095. #. type: item
  14096. #: guix-git/doc/guix.texi:8955
  14097. #, no-wrap
  14098. msgid "set-paths"
  14099. msgstr ""
  14100. #. type: table
  14101. #: guix-git/doc/guix.texi:8958
  14102. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  14103. msgstr ""
  14104. #. type: item
  14105. #: guix-git/doc/guix.texi:8959
  14106. #, no-wrap
  14107. msgid "unpack"
  14108. msgstr ""
  14109. #. type: table
  14110. #: guix-git/doc/guix.texi:8963
  14111. msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory."
  14112. msgstr ""
  14113. #. type: item
  14114. #: guix-git/doc/guix.texi:8964
  14115. #, no-wrap
  14116. msgid "patch-source-shebangs"
  14117. msgstr ""
  14118. #. type: table
  14119. #: guix-git/doc/guix.texi:8968
  14120. msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}."
  14121. msgstr ""
  14122. #. type: table
  14123. #: guix-git/doc/guix.texi:8973
  14124. msgid "Run the @file{configure} script with a number of default options, such as @option{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument."
  14125. msgstr ""
  14126. #. type: table
  14127. #: guix-git/doc/guix.texi:8978
  14128. msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}."
  14129. msgstr ""
  14130. #. type: table
  14131. #: guix-git/doc/guix.texi:8984
  14132. msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}."
  14133. msgstr ""
  14134. #. type: table
  14135. #: guix-git/doc/guix.texi:8987
  14136. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  14137. msgstr ""
  14138. #. type: item
  14139. #: guix-git/doc/guix.texi:8988
  14140. #, no-wrap
  14141. msgid "patch-shebangs"
  14142. msgstr ""
  14143. #. type: table
  14144. #: guix-git/doc/guix.texi:8990
  14145. msgid "Patch shebangs on the installed executable files."
  14146. msgstr ""
  14147. #. type: item
  14148. #: guix-git/doc/guix.texi:8991
  14149. #, no-wrap
  14150. msgid "strip"
  14151. msgstr ""
  14152. #. type: table
  14153. #: guix-git/doc/guix.texi:8995
  14154. msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})."
  14155. msgstr ""
  14156. #. type: Plain text
  14157. #: guix-git/doc/guix.texi:9004
  14158. msgid "Other build systems have similar phases, with some variations. For example, @code{cmake-build-system} has same-named phases but its @code{configure} phases runs @code{cmake} instead of @code{./configure}. Others, such as @code{python-build-system}, have a wholly different list of standard phases. All this code runs on the @dfn{build side}: it is evaluated when you actually build the package, in a dedicated build process spawned by the build daemon (@pxref{Invoking guix-daemon})."
  14159. msgstr ""
  14160. #. type: Plain text
  14161. #: guix-git/doc/guix.texi:9011
  14162. msgid "Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol for the name of the phase and the associated value is a procedure that accepts an arbitrary number of arguments. By convention, those procedures receive information about the build in the form of @dfn{keyword parameters}, which they can use or ignore."
  14163. msgstr ""
  14164. #. type: vindex
  14165. #: guix-git/doc/guix.texi:9012
  14166. #, no-wrap
  14167. msgid "%standard-phases"
  14168. msgstr ""
  14169. #. type: Plain text
  14170. #: guix-git/doc/guix.texi:9018
  14171. msgid "For example, here is how @code{(guix build gnu-build-system)} defines @code{%standard-phases}, the variable holding its alist of build phases@footnote{We present a simplified view of those build phases, but do take a look at @code{(guix build gnu-build-system)} to see all the details!}:"
  14172. msgstr ""
  14173. #. type: lisp
  14174. #: guix-git/doc/guix.texi:9021
  14175. #, no-wrap
  14176. msgid ""
  14177. ";; The build phases of 'gnu-build-system'.\n"
  14178. "\n"
  14179. msgstr ""
  14180. #. type: lisp
  14181. #: guix-git/doc/guix.texi:9025
  14182. #, no-wrap
  14183. msgid ""
  14184. "(define* (unpack #:key source #:allow-other-keys)\n"
  14185. " ;; Extract the source tarball.\n"
  14186. " (invoke \"tar\" \"xvf\" source))\n"
  14187. "\n"
  14188. msgstr ""
  14189. #. type: lisp
  14190. #: guix-git/doc/guix.texi:9031
  14191. #, no-wrap
  14192. msgid ""
  14193. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14194. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14195. " (let ((out (assoc-ref outputs \"out\")))\n"
  14196. " (invoke \"./configure\"\n"
  14197. " (string-append \"--prefix=\" out))))\n"
  14198. "\n"
  14199. msgstr ""
  14200. #. type: lisp
  14201. #: guix-git/doc/guix.texi:9035
  14202. #, no-wrap
  14203. msgid ""
  14204. "(define* (build #:allow-other-keys)\n"
  14205. " ;; Compile.\n"
  14206. " (invoke \"make\"))\n"
  14207. "\n"
  14208. msgstr ""
  14209. #. type: lisp
  14210. #: guix-git/doc/guix.texi:9042
  14211. #, no-wrap
  14212. msgid ""
  14213. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14214. " #:allow-other-keys)\n"
  14215. " ;; Run the test suite.\n"
  14216. " (if tests?\n"
  14217. " (invoke \"make\" test-target)\n"
  14218. " (display \"test suite not run\\n\")))\n"
  14219. "\n"
  14220. msgstr ""
  14221. #. type: lisp
  14222. #: guix-git/doc/guix.texi:9046
  14223. #, no-wrap
  14224. msgid ""
  14225. "(define* (install #:allow-other-keys)\n"
  14226. " ;; Install files to the prefix 'configure' specified.\n"
  14227. " (invoke \"make\" \"install\"))\n"
  14228. "\n"
  14229. msgstr ""
  14230. #. type: lisp
  14231. #: guix-git/doc/guix.texi:9055
  14232. #, no-wrap
  14233. msgid ""
  14234. "(define %standard-phases\n"
  14235. " ;; The list of standard phases (quite a few are omitted\n"
  14236. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14237. " (list (cons 'unpack unpack)\n"
  14238. " (cons 'configure configure)\n"
  14239. " (cons 'build build)\n"
  14240. " (cons 'check check)\n"
  14241. " (cons 'install install)))\n"
  14242. msgstr ""
  14243. #. type: Plain text
  14244. #: guix-git/doc/guix.texi:9065
  14245. msgid "This shows how @code{%standard-phases} is defined as a list of symbol/procedure pairs (@pxref{Pairs,,, guile, GNU Guile Reference Manual}). The first pair associates the @code{unpack} procedure with the @code{unpack} symbol---a name; the second pair defines the @code{configure} phase similarly, and so on. When building a package that uses @code{gnu-build-system} with its default list of phases, those phases are executed sequentially. You can see the name of each phase started and completed in the build log of packages that you build."
  14246. msgstr ""
  14247. #. type: Plain text
  14248. #: guix-git/doc/guix.texi:9071
  14249. msgid "Let's now look at the procedures themselves. Each one is defined with @code{define*}: @code{#:key} lists keyword parameters the procedure accepts, possibly with a default value, and @code{#:allow-other-keys} specifies that other keyword parameters are ignored (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual})."
  14250. msgstr ""
  14251. #. type: Plain text
  14252. #: guix-git/doc/guix.texi:9087
  14253. msgid "The @code{unpack} procedure honors the @code{source} parameter, which the build system uses to pass the file name of the source tarball (or version control checkout), and it ignores other parameters. The @code{configure} phase only cares about the @code{outputs} parameter, an alist mapping package output names to their store file name (@pxref{Packages with Multiple Outputs}). It extracts the file name of for @code{out}, the default output, and passes it to @command{./configure} as the installation prefix, meaning that @command{make install} will eventually copy all the files in that directory (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards}). @code{build} and @code{install} ignore all their arguments. @code{check} honors the @code{test-target} argument, which specifies the name of the Makefile target to run tests; it prints a message and skips tests when @code{tests?} is false."
  14254. msgstr ""
  14255. #. type: cindex
  14256. #: guix-git/doc/guix.texi:9088
  14257. #, no-wrap
  14258. msgid "build phases, customizing"
  14259. msgstr ""
  14260. #. type: Plain text
  14261. #: guix-git/doc/guix.texi:9097
  14262. msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter of the build system. Changing the set of build phases boils down to building a new alist of phases based on the @code{%standard-phases} alist described above. This can be done with standard alist procedures such as @code{alist-delete} (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual}); however, it is more convenient to do so with @code{modify-phases} (@pxref{Build Utilities, @code{modify-phases}})."
  14263. msgstr ""
  14264. #. type: Plain text
  14265. #: guix-git/doc/guix.texi:9102
  14266. msgid "Here is an example of a package definition that removes the @code{configure} phase of @code{%standard-phases} and inserts a new phase before the @code{build} phase, called @code{set-prefix-in-makefile}:"
  14267. msgstr ""
  14268. #. type: lisp
  14269. #: guix-git/doc/guix.texi:9122
  14270. #, no-wrap
  14271. msgid ""
  14272. "(define-public example\n"
  14273. " (package\n"
  14274. " (name \"example\")\n"
  14275. " ;; other fields omitted\n"
  14276. " (build-system gnu-build-system)\n"
  14277. " (arguments\n"
  14278. " '(#:phases (modify-phases %standard-phases\n"
  14279. " (delete 'configure)\n"
  14280. " (add-before 'build 'set-prefix-in-makefile\n"
  14281. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14282. " ;; Modify the makefile so that its\n"
  14283. " ;; 'PREFIX' variable points to \"out\".\n"
  14284. " (let ((out (assoc-ref outputs \"out\")))\n"
  14285. " (substitute* \"Makefile\"\n"
  14286. " ((\"PREFIX =.*\")\n"
  14287. " (string-append \"PREFIX = \"\n"
  14288. " out \"\\n\")))\n"
  14289. " #true))))))))\n"
  14290. msgstr ""
  14291. #. type: Plain text
  14292. #: guix-git/doc/guix.texi:9128
  14293. msgid "The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it honors the @code{outputs} parameter we have seen before. @xref{Build Utilities}, for more about the helpers used by this phase, and for more examples of @code{modify-phases}."
  14294. msgstr ""
  14295. #. type: cindex
  14296. #: guix-git/doc/guix.texi:9129 guix-git/doc/guix.texi:10464
  14297. #, no-wrap
  14298. msgid "code staging"
  14299. msgstr ""
  14300. #. type: cindex
  14301. #: guix-git/doc/guix.texi:9130 guix-git/doc/guix.texi:10465
  14302. #, no-wrap
  14303. msgid "staging, of code"
  14304. msgstr ""
  14305. #. type: Plain text
  14306. #: guix-git/doc/guix.texi:9137
  14307. msgid "Keep in mind that build phases are code evaluated at the time the package is actually built. This explains why the whole @code{modify-phases} expression above is quoted (it comes after the @code{'} or apostrophe): it is @dfn{staged} for later execution. @xref{G-Expressions}, for an explanation of code staging and the @dfn{code strata} involved."
  14308. msgstr ""
  14309. #. type: Plain text
  14310. #: guix-git/doc/guix.texi:9147
  14311. msgid "As soon as you start writing non-trivial package definitions (@pxref{Defining Packages}) or other build actions (@pxref{G-Expressions}), you will likely start looking for helpers for ``shell-like'' actions---creating directories, copying and deleting files recursively, manipulating build phases, and so on. The @code{(guix build utils)} module provides such utility procedures."
  14312. msgstr ""
  14313. #. type: Plain text
  14314. #: guix-git/doc/guix.texi:9151
  14315. msgid "Most build systems load @code{(guix build utils)} (@pxref{Build Systems}). Thus, when writing custom build phases for your package definitions, you can usually assume those procedures are in scope."
  14316. msgstr ""
  14317. #. type: Plain text
  14318. #: guix-git/doc/guix.texi:9156
  14319. msgid "When writing G-expressions, you can import @code{(guix build utils)} on the ``build side'' using @code{with-imported-modules} and then put it in scope with the @code{use-modules} form (@pxref{Using Guile Modules,,, guile, GNU Guile Reference Manual}):"
  14320. msgstr ""
  14321. #. type: lisp
  14322. #: guix-git/doc/guix.texi:9163
  14323. #, no-wrap
  14324. msgid ""
  14325. "(with-imported-modules '((guix build utils)) ;import it\n"
  14326. " (computed-file \"empty-tree\"\n"
  14327. " #~(begin\n"
  14328. " ;; Put it in scope.\n"
  14329. " (use-modules (guix build utils))\n"
  14330. "\n"
  14331. msgstr ""
  14332. #. type: lisp
  14333. #: guix-git/doc/guix.texi:9166
  14334. #, no-wrap
  14335. msgid ""
  14336. " ;; Happily use its 'mkdir-p' procedure.\n"
  14337. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14338. msgstr ""
  14339. #. type: Plain text
  14340. #: guix-git/doc/guix.texi:9170
  14341. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14342. msgstr ""
  14343. #. type: subsection
  14344. #: guix-git/doc/guix.texi:9173
  14345. #, no-wrap
  14346. msgid "Dealing with Store File Names"
  14347. msgstr ""
  14348. #. type: Plain text
  14349. #: guix-git/doc/guix.texi:9176
  14350. msgid "This section documents procedures that deal with store file names."
  14351. msgstr ""
  14352. #. type: deffn
  14353. #: guix-git/doc/guix.texi:9177
  14354. #, no-wrap
  14355. msgid "{Scheme Procedure} %store-directory"
  14356. msgstr ""
  14357. #. type: deffn
  14358. #: guix-git/doc/guix.texi:9179
  14359. msgid "Return the directory name of the store."
  14360. msgstr ""
  14361. #. type: deffn
  14362. #: guix-git/doc/guix.texi:9181
  14363. #, no-wrap
  14364. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14365. msgstr ""
  14366. #. type: deffn
  14367. #: guix-git/doc/guix.texi:9183
  14368. msgid "Return true if @var{file} is in the store."
  14369. msgstr ""
  14370. #. type: deffn
  14371. #: guix-git/doc/guix.texi:9185
  14372. #, no-wrap
  14373. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14374. msgstr ""
  14375. #. type: deffn
  14376. #: guix-git/doc/guix.texi:9188
  14377. msgid "Strip the @file{/gnu/store} and hash from @var{file}, a store file name. The result is typically a @code{\"@var{package}-@var{version}\"} string."
  14378. msgstr ""
  14379. #. type: deffn
  14380. #: guix-git/doc/guix.texi:9190
  14381. #, no-wrap
  14382. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14383. msgstr ""
  14384. #. type: deffn
  14385. #: guix-git/doc/guix.texi:9195
  14386. msgid "Given @var{name}, a package name like @code{\"foo-0.9.1b\"}, return two values: @code{\"foo\"} and @code{\"0.9.1b\"}. When the version part is unavailable, @var{name} and @code{#f} are returned. The first hyphen followed by a digit is considered to introduce the version part."
  14387. msgstr ""
  14388. #. type: subsection
  14389. #: guix-git/doc/guix.texi:9197
  14390. #, no-wrap
  14391. msgid "File Types"
  14392. msgstr ""
  14393. #. type: Plain text
  14394. #: guix-git/doc/guix.texi:9200
  14395. msgid "The procedures below deal with files and file types."
  14396. msgstr ""
  14397. #. type: deffn
  14398. #: guix-git/doc/guix.texi:9201
  14399. #, no-wrap
  14400. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14401. msgstr ""
  14402. #. type: deffn
  14403. #: guix-git/doc/guix.texi:9203
  14404. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14405. msgstr ""
  14406. #. type: deffn
  14407. #: guix-git/doc/guix.texi:9205
  14408. #, no-wrap
  14409. msgid "{Scheme Procedure} executable-file? @var{file}"
  14410. msgstr ""
  14411. #. type: deffn
  14412. #: guix-git/doc/guix.texi:9207
  14413. msgid "Return @code{#t} if @var{file} exists and is executable."
  14414. msgstr ""
  14415. #. type: deffn
  14416. #: guix-git/doc/guix.texi:9209
  14417. #, no-wrap
  14418. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14419. msgstr ""
  14420. #. type: deffn
  14421. #: guix-git/doc/guix.texi:9211
  14422. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14423. msgstr ""
  14424. #. type: deffn
  14425. #: guix-git/doc/guix.texi:9213
  14426. #, no-wrap
  14427. msgid "{Scheme Procedure} elf-file? @var{file}"
  14428. msgstr ""
  14429. #. type: deffnx
  14430. #: guix-git/doc/guix.texi:9214
  14431. #, no-wrap
  14432. msgid "{Scheme Procedure} ar-file? @var{file}"
  14433. msgstr ""
  14434. #. type: deffnx
  14435. #: guix-git/doc/guix.texi:9215
  14436. #, no-wrap
  14437. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14438. msgstr ""
  14439. #. type: deffn
  14440. #: guix-git/doc/guix.texi:9218
  14441. msgid "Return @code{#t} if @var{file} is, respectively, an ELF file, an @code{ar} archive (such as a @file{.a} static library), or a gzip file."
  14442. msgstr ""
  14443. #. type: deffn
  14444. #: guix-git/doc/guix.texi:9220
  14445. #, no-wrap
  14446. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14447. msgstr ""
  14448. #. type: deffn
  14449. #: guix-git/doc/guix.texi:9224
  14450. msgid "If @var{file} is a gzip file, reset its embedded timestamp (as with @command{gzip --no-name}) and return true. Otherwise return @code{#f}. When @var{keep-mtime?} is true, preserve @var{file}'s modification time."
  14451. msgstr ""
  14452. #. type: subsection
  14453. #: guix-git/doc/guix.texi:9226
  14454. #, no-wrap
  14455. msgid "File Manipulation"
  14456. msgstr ""
  14457. #. type: Plain text
  14458. #: guix-git/doc/guix.texi:9233
  14459. msgid "The following procedures and macros help create, modify, and delete files. They provide functionality comparable to common shell utilities such as @command{mkdir -p}, @command{cp -r}, @command{rm -r}, and @command{sed}. They complement Guile's extensive, but low-level, file system interface (@pxref{POSIX,,, guile, GNU Guile Reference Manual})."
  14460. msgstr ""
  14461. #. type: deffn
  14462. #: guix-git/doc/guix.texi:9234
  14463. #, no-wrap
  14464. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14465. msgstr ""
  14466. #. type: deffn
  14467. #: guix-git/doc/guix.texi:9236
  14468. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14469. msgstr ""
  14470. #. type: deffn
  14471. #: guix-git/doc/guix.texi:9243
  14472. msgid "Essentially, this macro changes the current directory to @var{directory} before evaluating @var{body}, using @code{chdir} (@pxref{Processes,,, guile, GNU Guile Reference Manual}). It changes back to the initial directory when the dynamic extent of @var{body} is left, be it @i{via} normal procedure return or @i{via} a non-local exit such as an exception."
  14473. msgstr ""
  14474. #. type: deffn
  14475. #: guix-git/doc/guix.texi:9245
  14476. #, no-wrap
  14477. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14478. msgstr ""
  14479. #. type: deffn
  14480. #: guix-git/doc/guix.texi:9247
  14481. msgid "Create directory @var{dir} and all its ancestors."
  14482. msgstr ""
  14483. #. type: deffn
  14484. #: guix-git/doc/guix.texi:9249
  14485. #, no-wrap
  14486. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14487. msgstr ""
  14488. #. type: deffn
  14489. #: guix-git/doc/guix.texi:9252
  14490. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14491. msgstr ""
  14492. #. type: deffn
  14493. #: guix-git/doc/guix.texi:9254
  14494. #, no-wrap
  14495. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14496. msgstr ""
  14497. #. type: deffn
  14498. #: guix-git/doc/guix.texi:9256
  14499. msgid "Make @var{file} writable for its owner."
  14500. msgstr ""
  14501. #. type: deffn
  14502. #: guix-git/doc/guix.texi:9258
  14503. #, no-wrap
  14504. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14505. msgstr ""
  14506. #. type: deffn
  14507. #: guix-git/doc/guix.texi:9267
  14508. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  14509. msgstr ""
  14510. #. type: deffn
  14511. #: guix-git/doc/guix.texi:9269
  14512. #, no-wrap
  14513. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14514. msgstr ""
  14515. #. type: deffn
  14516. #: guix-git/doc/guix.texi:9274
  14517. msgid "[#:follow-mounts? #f] Delete @var{dir} recursively, like @command{rm -rf}, without following symlinks. Don't follow mount points either, unless @var{follow-mounts?} is true. Report but ignore errors."
  14518. msgstr ""
  14519. #. type: deffn
  14520. #: guix-git/doc/guix.texi:9276
  14521. #, no-wrap
  14522. msgid "{Scheme Syntax} substitute* @var{file} @"
  14523. msgstr ""
  14524. #. type: deffn
  14525. #: guix-git/doc/guix.texi:9281
  14526. msgid "((@var{regexp} @var{match-var}@dots{}) @var{body}@dots{}) @dots{} Substitute @var{regexp} in @var{file} by the string returned by @var{body}. @var{body} is evaluated with each @var{match-var} bound to the corresponding positional regexp sub-expression. For example:"
  14527. msgstr ""
  14528. #. type: lisp
  14529. #: guix-git/doc/guix.texi:9288
  14530. #, no-wrap
  14531. msgid ""
  14532. "(substitute* file\n"
  14533. " ((\"hello\")\n"
  14534. " \"good morning\\n\")\n"
  14535. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14536. " (string-append \"baz\" letters end)))\n"
  14537. msgstr ""
  14538. #. type: deffn
  14539. #: guix-git/doc/guix.texi:9294
  14540. msgid "Here, anytime a line of @var{file} contains @code{hello}, it is replaced by @code{good morning}. Anytime a line of @var{file} matches the second regexp, @code{all} is bound to the complete match, @code{letters} is bound to the first sub-expression, and @code{end} is bound to the last one."
  14541. msgstr ""
  14542. #. type: deffn
  14543. #: guix-git/doc/guix.texi:9297
  14544. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14545. msgstr ""
  14546. #. type: deffn
  14547. #: guix-git/doc/guix.texi:9300
  14548. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14549. msgstr ""
  14550. #. type: deffn
  14551. #: guix-git/doc/guix.texi:9303
  14552. msgid "Be careful about using @code{$} to match the end of a line; by itself it won't match the terminating newline of a line."
  14553. msgstr ""
  14554. #. type: subsection
  14555. #: guix-git/doc/guix.texi:9305
  14556. #, no-wrap
  14557. msgid "File Search"
  14558. msgstr ""
  14559. #. type: cindex
  14560. #: guix-git/doc/guix.texi:9307
  14561. #, no-wrap
  14562. msgid "file, searching"
  14563. msgstr ""
  14564. #. type: Plain text
  14565. #: guix-git/doc/guix.texi:9309
  14566. msgid "This section documents procedures to search and filter files."
  14567. msgstr ""
  14568. #. type: deffn
  14569. #: guix-git/doc/guix.texi:9310
  14570. #, no-wrap
  14571. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14572. msgstr ""
  14573. #. type: deffn
  14574. #: guix-git/doc/guix.texi:9313
  14575. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14576. msgstr ""
  14577. #. type: deffn
  14578. #: guix-git/doc/guix.texi:9315
  14579. #, no-wrap
  14580. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14581. msgstr ""
  14582. #. type: deffn
  14583. #: guix-git/doc/guix.texi:9326
  14584. msgid "[#:stat lstat] [#:directories? #f] [#:fail-on-error? #f] Return the lexicographically sorted list of files under @var{dir} for which @var{pred} returns true. @var{pred} is passed two arguments: the absolute file name, and its stat buffer; the default predicate always returns true. @var{pred} can also be a regular expression, in which case it is equivalent to @code{(file-name-predicate @var{pred})}. @var{stat} is used to obtain file information; using @code{lstat} means that symlinks are not followed. If @var{directories?} is true, then directories will also be included. If @var{fail-on-error?} is true, raise an exception upon error."
  14585. msgstr ""
  14586. #. type: Plain text
  14587. #: guix-git/doc/guix.texi:9330
  14588. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14589. msgstr ""
  14590. #. type: lisp
  14591. #: guix-git/doc/guix.texi:9335
  14592. #, no-wrap
  14593. msgid ""
  14594. ";; List all the regular files in the current directory.\n"
  14595. "(find-files \".\")\n"
  14596. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14597. "\n"
  14598. msgstr ""
  14599. #. type: lisp
  14600. #: guix-git/doc/guix.texi:9339
  14601. #, no-wrap
  14602. msgid ""
  14603. ";; List all the .scm files under gnu/services.\n"
  14604. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14605. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14606. "\n"
  14607. msgstr ""
  14608. #. type: lisp
  14609. #: guix-git/doc/guix.texi:9343
  14610. #, no-wrap
  14611. msgid ""
  14612. ";; List ar files in the current directory.\n"
  14613. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14614. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14615. msgstr ""
  14616. #. type: deffn
  14617. #: guix-git/doc/guix.texi:9345
  14618. #, no-wrap
  14619. msgid "{Scheme Procedure} which @var{program}"
  14620. msgstr ""
  14621. #. type: deffn
  14622. #: guix-git/doc/guix.texi:9348
  14623. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14624. msgstr ""
  14625. #. type: deffn
  14626. #: guix-git/doc/guix.texi:9350
  14627. #, no-wrap
  14628. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14629. msgstr ""
  14630. #. type: deffnx
  14631. #: guix-git/doc/guix.texi:9351
  14632. #, no-wrap
  14633. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14634. msgstr ""
  14635. #. type: deffn
  14636. #: guix-git/doc/guix.texi:9356
  14637. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  14638. msgstr ""
  14639. #. type: deffn
  14640. #: guix-git/doc/guix.texi:9360
  14641. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14642. msgstr ""
  14643. #. type: Plain text
  14644. #: guix-git/doc/guix.texi:9364
  14645. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14646. msgstr ""
  14647. #. type: lisp
  14648. #: guix-git/doc/guix.texi:9373
  14649. #, no-wrap
  14650. msgid ""
  14651. "(add-after 'install 'wrap-wg-quick\n"
  14652. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14653. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14654. " \"/bin\")))\n"
  14655. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14656. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14657. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14658. msgstr ""
  14659. #. type: subsection
  14660. #: guix-git/doc/guix.texi:9375
  14661. #, no-wrap
  14662. msgid "Program Invocation"
  14663. msgstr ""
  14664. #. type: cindex
  14665. #: guix-git/doc/guix.texi:9377
  14666. #, no-wrap
  14667. msgid "program invocation, from Scheme"
  14668. msgstr ""
  14669. #. type: cindex
  14670. #: guix-git/doc/guix.texi:9378
  14671. #, no-wrap
  14672. msgid "invoking programs, from Scheme"
  14673. msgstr ""
  14674. #. type: Plain text
  14675. #: guix-git/doc/guix.texi:9382
  14676. msgid "You'll find handy procedures to spawn processes in this module, essentially convenient wrappers around Guile's @code{system*} (@pxref{Processes, @code{system*},, guile, GNU Guile Reference Manual})."
  14677. msgstr ""
  14678. #. type: deffn
  14679. #: guix-git/doc/guix.texi:9383
  14680. #, no-wrap
  14681. msgid "{Scheme Procedure} invoke @var{program} @var{args}@dots{}"
  14682. msgstr ""
  14683. #. type: deffn
  14684. #: guix-git/doc/guix.texi:9387
  14685. msgid "Invoke @var{program} with the given @var{args}. Raise an @code{&invoke-error} exception if the exit code is non-zero; otherwise return @code{#t}."
  14686. msgstr ""
  14687. #. type: deffn
  14688. #: guix-git/doc/guix.texi:9391
  14689. msgid "The advantage compared to @code{system*} is that you do not need to check the return value. This reduces boilerplate in shell-script-like snippets for instance in package build phases."
  14690. msgstr ""
  14691. #. type: deffn
  14692. #: guix-git/doc/guix.texi:9393
  14693. #, no-wrap
  14694. msgid "{Scheme Procedure} invoke-error? @var{c}"
  14695. msgstr ""
  14696. #. type: deffn
  14697. #: guix-git/doc/guix.texi:9395
  14698. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  14699. msgstr ""
  14700. #. type: deffn
  14701. #: guix-git/doc/guix.texi:9397
  14702. #, no-wrap
  14703. msgid "{Scheme Procedure} invoke-error-program @var{c}"
  14704. msgstr ""
  14705. #. type: deffnx
  14706. #: guix-git/doc/guix.texi:9398
  14707. #, no-wrap
  14708. msgid "{Scheme Procedure} invoke-error-arguments @var{c}"
  14709. msgstr ""
  14710. #. type: deffnx
  14711. #: guix-git/doc/guix.texi:9399
  14712. #, no-wrap
  14713. msgid "{Scheme Procedure} invoke-error-exit-status @var{c}"
  14714. msgstr ""
  14715. #. type: deffnx
  14716. #: guix-git/doc/guix.texi:9400
  14717. #, no-wrap
  14718. msgid "{Scheme Procedure} invoke-error-term-signal @var{c}"
  14719. msgstr ""
  14720. #. type: deffnx
  14721. #: guix-git/doc/guix.texi:9401
  14722. #, no-wrap
  14723. msgid "{Scheme Procedure} invoke-error-stop-signal @var{c}"
  14724. msgstr ""
  14725. #. type: deffn
  14726. #: guix-git/doc/guix.texi:9403
  14727. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  14728. msgstr ""
  14729. #. type: deffn
  14730. #: guix-git/doc/guix.texi:9405
  14731. #, no-wrap
  14732. msgid "{Scheme Procedure} report-invoke-error @var{c} [@var{port}]"
  14733. msgstr ""
  14734. #. type: deffn
  14735. #: guix-git/doc/guix.texi:9408
  14736. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  14737. msgstr ""
  14738. #. type: deffn
  14739. #: guix-git/doc/guix.texi:9410
  14740. msgid "Typical usage would look like this:"
  14741. msgstr ""
  14742. #. type: lisp
  14743. #: guix-git/doc/guix.texi:9414
  14744. #, no-wrap
  14745. msgid ""
  14746. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14747. " (guix build utils))\n"
  14748. "\n"
  14749. msgstr ""
  14750. #. type: lisp
  14751. #: guix-git/doc/guix.texi:9418
  14752. #, no-wrap
  14753. msgid ""
  14754. "(guard (c ((invoke-error? c)\n"
  14755. " (report-invoke-error c)))\n"
  14756. " (invoke \"date\" \"--imaginary-option\"))\n"
  14757. "\n"
  14758. msgstr ""
  14759. #. type: lisp
  14760. #: guix-git/doc/guix.texi:9420
  14761. #, no-wrap
  14762. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  14763. msgstr ""
  14764. #. type: deffn
  14765. #: guix-git/doc/guix.texi:9423
  14766. #, no-wrap
  14767. msgid "{Scheme Procedure} invoke/quiet @var{program} @var{args}@dots{}"
  14768. msgstr ""
  14769. #. type: deffn
  14770. #: guix-git/doc/guix.texi:9429
  14771. msgid "Invoke @var{program} with @var{args} and capture @var{program}'s standard output and standard error. If @var{program} succeeds, print nothing and return the unspecified value; otherwise, raise a @code{&message} error condition that includes the status code and the output of @var{program}."
  14772. msgstr ""
  14773. #. type: deffn
  14774. #: guix-git/doc/guix.texi:9431
  14775. msgid "Here's an example:"
  14776. msgstr ""
  14777. #. type: lisp
  14778. #: guix-git/doc/guix.texi:9436
  14779. #, no-wrap
  14780. msgid ""
  14781. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14782. " (srfi srfi-35) ;for 'message-condition?'\n"
  14783. " (guix build utils))\n"
  14784. "\n"
  14785. msgstr ""
  14786. #. type: lisp
  14787. #: guix-git/doc/guix.texi:9441
  14788. #, no-wrap
  14789. msgid ""
  14790. "(guard (c ((message-condition? c)\n"
  14791. " (display (condition-message c))))\n"
  14792. " (invoke/quiet \"date\") ;all is fine\n"
  14793. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  14794. "\n"
  14795. msgstr ""
  14796. #. type: lisp
  14797. #: guix-git/doc/guix.texi:9443
  14798. #, no-wrap
  14799. msgid ""
  14800. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  14801. "\n"
  14802. msgstr ""
  14803. #. type: lisp
  14804. #: guix-git/doc/guix.texi:9446
  14805. #, no-wrap
  14806. msgid ""
  14807. " date: unrecognized option '--imaginary-option'\n"
  14808. " Try 'date --help' for more information.\n"
  14809. msgstr ""
  14810. #. type: Plain text
  14811. #: guix-git/doc/guix.texi:9458
  14812. msgid "The @code{(guix build utils)} also contains tools to manipulate build phases as used by build systems (@pxref{Build Systems}). Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol naming the phase and the associated value is a procedure (@pxref{Build Phases})."
  14813. msgstr ""
  14814. #. type: Plain text
  14815. #: guix-git/doc/guix.texi:9462
  14816. msgid "Guile core and the @code{(srfi srfi-1)} module both provide tools to manipulate alists. The @code{(guix build utils)} module complements those with tools written with build phases in mind."
  14817. msgstr ""
  14818. #. type: cindex
  14819. #: guix-git/doc/guix.texi:9463
  14820. #, no-wrap
  14821. msgid "build phases, modifying"
  14822. msgstr ""
  14823. #. type: deffn
  14824. #: guix-git/doc/guix.texi:9464
  14825. #, no-wrap
  14826. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14827. msgstr ""
  14828. #. type: deffn
  14829. #: guix-git/doc/guix.texi:9467
  14830. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14831. msgstr ""
  14832. #. type: lisp
  14833. #: guix-git/doc/guix.texi:9473
  14834. #, no-wrap
  14835. msgid ""
  14836. "(delete @var{old-phase-name})\n"
  14837. "(replace @var{old-phase-name} @var{new-phase})\n"
  14838. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14839. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14840. msgstr ""
  14841. #. type: deffn
  14842. #: guix-git/doc/guix.texi:9477
  14843. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14844. msgstr ""
  14845. #. type: Plain text
  14846. #: guix-git/doc/guix.texi:9488
  14847. msgid "The example below is taken from the definition of the @code{grep} package. It adds a phase to run after the @code{install} phase, called @code{fix-egrep-and-fgrep}. That phase is a procedure (@code{lambda*} is for anonymous procedures) that takes a @code{#:outputs} keyword argument and ignores extra keyword arguments (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual}, for more on @code{lambda*} and optional and keyword arguments.) The phase uses @code{substitute*} to modify the installed @file{egrep} and @file{fgrep} scripts so that they refer to @code{grep} by its absolute file name:"
  14848. msgstr ""
  14849. #. type: lisp
  14850. #: guix-git/doc/guix.texi:9501
  14851. #, no-wrap
  14852. msgid ""
  14853. "(modify-phases %standard-phases\n"
  14854. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14855. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14856. " ;; absolute file name instead of searching for it in $PATH.\n"
  14857. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14858. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14859. " (bin (string-append out \"/bin\")))\n"
  14860. " (substitute* (list (string-append bin \"/egrep\")\n"
  14861. " (string-append bin \"/fgrep\"))\n"
  14862. " ((\"^exec grep\")\n"
  14863. " (string-append \"exec \" bin \"/grep\")))))))\n"
  14864. msgstr ""
  14865. #. type: Plain text
  14866. #: guix-git/doc/guix.texi:9508
  14867. msgid "In the example below, phases are modified in two ways: the standard @code{configure} phase is deleted, presumably because the package does not have a @file{configure} script or anything similar, and the default @code{install} phase is replaced by one that manually copies the executable files to be installed:"
  14868. msgstr ""
  14869. #. type: lisp
  14870. #: guix-git/doc/guix.texi:9520
  14871. #, no-wrap
  14872. msgid ""
  14873. "(modify-phases %standard-phases\n"
  14874. " (delete 'configure) ;no 'configure' script\n"
  14875. " (replace 'install\n"
  14876. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14877. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14878. " ;; rule so do it by ourselves.\n"
  14879. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14880. " \"/bin\")))\n"
  14881. " (install-file \"footswitch\" bin)\n"
  14882. " (install-file \"scythe\" bin)))))\n"
  14883. msgstr ""
  14884. #. type: subsection
  14885. #: guix-git/doc/guix.texi:9524
  14886. #, no-wrap
  14887. msgid "Wrappers"
  14888. msgstr ""
  14889. #. type: cindex
  14890. #: guix-git/doc/guix.texi:9526
  14891. #, no-wrap
  14892. msgid "program wrappers"
  14893. msgstr ""
  14894. #. type: cindex
  14895. #: guix-git/doc/guix.texi:9527
  14896. #, no-wrap
  14897. msgid "wrapping programs"
  14898. msgstr ""
  14899. #. type: Plain text
  14900. #: guix-git/doc/guix.texi:9533
  14901. msgid "It is not unusual for a command to require certain environment variables to be set for proper functioning, typically search paths (@pxref{Search Paths}). Failing to do that, the command might fail to find files or other commands it relies on, or it might pick the ``wrong'' ones---depending on the environment in which it runs. Examples include:"
  14902. msgstr ""
  14903. #. type: itemize
  14904. #: guix-git/doc/guix.texi:9537
  14905. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  14906. msgstr ""
  14907. #. type: itemize
  14908. #: guix-git/doc/guix.texi:9541
  14909. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  14910. msgstr ""
  14911. #. type: itemize
  14912. #: guix-git/doc/guix.texi:9545
  14913. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  14914. msgstr ""
  14915. #. type: Plain text
  14916. #: guix-git/doc/guix.texi:9553
  14917. msgid "For a package writer, the goal is to make sure commands always work the same rather than depend on some external settings. One way to achieve that is to @dfn{wrap} commands in a thin script that sets those environment variables, thereby ensuring that those run-time dependencies are always found. The wrapper would be used to set @env{PATH}, @env{GUILE_LOAD_PATH}, or @env{QT_PLUGIN_PATH} in the examples above."
  14918. msgstr ""
  14919. #. type: Plain text
  14920. #: guix-git/doc/guix.texi:9556
  14921. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  14922. msgstr ""
  14923. #. type: deffn
  14924. #: guix-git/doc/guix.texi:9557
  14925. #, no-wrap
  14926. msgid "{Scheme Procedure} wrap-program @var{program} @"
  14927. msgstr ""
  14928. #. type: deffn
  14929. #: guix-git/doc/guix.texi:9560
  14930. msgid "[#:sh @var{sh}] [#:rest @var{variables}] Make a wrapper for @var{program}. @var{variables} should look like this:"
  14931. msgstr ""
  14932. #. type: lisp
  14933. #: guix-git/doc/guix.texi:9563
  14934. #, no-wrap
  14935. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  14936. msgstr ""
  14937. #. type: deffn
  14938. #: guix-git/doc/guix.texi:9567
  14939. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  14940. msgstr ""
  14941. #. type: deffn
  14942. #: guix-git/doc/guix.texi:9569
  14943. msgid "For example, this call:"
  14944. msgstr ""
  14945. #. type: lisp
  14946. #: guix-git/doc/guix.texi:9575
  14947. #, no-wrap
  14948. msgid ""
  14949. "(wrap-program \"foo\"\n"
  14950. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  14951. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  14952. " \"/qux/certs\")))\n"
  14953. msgstr ""
  14954. #. type: deffn
  14955. #: guix-git/doc/guix.texi:9579
  14956. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  14957. msgstr ""
  14958. #. type: example
  14959. #: guix-git/doc/guix.texi:9585
  14960. #, no-wrap
  14961. msgid ""
  14962. "#!location/of/bin/bash\n"
  14963. "export PATH=\"/gnu/.../bar/bin\"\n"
  14964. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  14965. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  14966. msgstr ""
  14967. #. type: deffn
  14968. #: guix-git/doc/guix.texi:9590
  14969. msgid "If @var{program} has previously been wrapped by @code{wrap-program}, the wrapper is extended with definitions for @var{variables}. If it is not, @var{sh} will be used as the interpreter."
  14970. msgstr ""
  14971. #. type: deffn
  14972. #: guix-git/doc/guix.texi:9592
  14973. #, no-wrap
  14974. msgid "{Scheme Procedure} wrap-script @var{program} @"
  14975. msgstr ""
  14976. #. type: deffn
  14977. #: guix-git/doc/guix.texi:9600
  14978. msgid "[#:guile @var{guile}] [#:rest @var{variables}] Wrap the script @var{program} such that @var{variables} are set first. The format of @var{variables} is the same as in the @code{wrap-program} procedure. This procedure differs from @code{wrap-program} in that it does not create a separate shell script. Instead, @var{program} is modified directly by prepending a Guile script, which is interpreted as a comment in the script's language."
  14979. msgstr ""
  14980. #. type: deffn
  14981. #: guix-git/doc/guix.texi:9603
  14982. msgid "Special encoding comments as supported by Python are recreated on the second line."
  14983. msgstr ""
  14984. #. type: deffn
  14985. #: guix-git/doc/guix.texi:9606
  14986. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  14987. msgstr ""
  14988. #. type: cindex
  14989. #: guix-git/doc/guix.texi:9611
  14990. #, fuzzy, no-wrap
  14991. #| msgid "search"
  14992. msgid "search path"
  14993. msgstr "vyhľadávanie"
  14994. #. type: Plain text
  14995. #: guix-git/doc/guix.texi:9618
  14996. msgid "Many programs and libraries look for input data in a @dfn{search path}, a list of directories: shells like Bash look for executables in the command search path, a C compiler looks for @file{.h} files in its header search path, the Python interpreter looks for @file{.py} files in its search path, the spell checker has a search path for dictionaries, and so on."
  14997. msgstr ""
  14998. #. type: Plain text
  14999. #: guix-git/doc/guix.texi:9626
  15000. msgid "Search paths can usually be defined or overridden @i{via} environment variables (@pxref{Environment Variables,,, libc, The GNU C Library Reference Manual}). For example, the search paths mentioned above can be changed by defining the @env{PATH}, @env{C_INCLUDE_PATH}, @env{PYTHONPATH} (or @env{GUIX_PYTHONPATH}), and @env{DICPATH} environment variables---you know, all these something-PATH variables that you need to get right or things ``won't be found''."
  15001. msgstr ""
  15002. #. type: Plain text
  15003. #: guix-git/doc/guix.texi:9636
  15004. msgid "You may have noticed from the command line that Guix ``knows'' which search path environment variables should be defined, and how. When you install packages in your default profile, the file @file{~/.guix-profile/etc/profile} is created, which you can ``source'' from the shell to set those variables. Likewise, if you ask @command{guix shell} to create an environment containing Python and NumPy, a Python library, and if you pass it the @option{--search-paths} option, it will tell you about @env{PATH} and @env{GUIX_PYTHONPATH} (@pxref{Invoking guix shell}):"
  15005. msgstr ""
  15006. #. type: example
  15007. #: guix-git/doc/guix.texi:9641
  15008. #, no-wrap
  15009. msgid ""
  15010. "$ guix shell python python-numpy --pure --search-paths\n"
  15011. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15012. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  15013. msgstr ""
  15014. #. type: Plain text
  15015. #: guix-git/doc/guix.texi:9645
  15016. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  15017. msgstr ""
  15018. #. type: example
  15019. #: guix-git/doc/guix.texi:9654
  15020. #, no-wrap
  15021. msgid ""
  15022. "$ guix shell python python-numpy -- python3\n"
  15023. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  15024. "[GCC 10.3.0] on linux\n"
  15025. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  15026. ">>> import numpy\n"
  15027. ">>> numpy.version.version\n"
  15028. "'1.20.3'\n"
  15029. msgstr ""
  15030. #. type: Plain text
  15031. #: guix-git/doc/guix.texi:9659
  15032. msgid "For this to work, the definition of the @code{python} package @emph{declares} the search path it cares about and its associated environment variable, @env{GUIX_PYTHONPATH}. It looks like this:"
  15033. msgstr ""
  15034. #. type: lisp
  15035. #: guix-git/doc/guix.texi:9669
  15036. #, no-wrap
  15037. msgid ""
  15038. "(package\n"
  15039. " (name \"python\")\n"
  15040. " (version \"3.9.9\")\n"
  15041. " ;; some fields omitted...\n"
  15042. " (native-search-paths\n"
  15043. " (list (search-path-specification\n"
  15044. " (variable \"GUIX_PYTHONPATH\")\n"
  15045. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  15046. msgstr ""
  15047. #. type: Plain text
  15048. #: guix-git/doc/guix.texi:9684
  15049. msgid "What this @code{native-search-paths} field says is that, when the @code{python} package is used, the @env{GUIX_PYTHONPATH} environment variable must be defined to include all the @file{lib/python/3.9/site-packages} sub-directories encountered in its environment. (The @code{native-} bit means that, if we are in a cross-compilation environment, only native inputs may be added to the search path; @pxref{package Reference, @code{search-paths}}.) In the NumPy example above, the profile where @code{python} appears contains exactly one such sub-directory, and @env{GUIX_PYTHONPATH} is set to that. When there are several @file{lib/python/3.9/site-packages}---this is the case in package build environments---they are all added to @env{GUIX_PYTHONPATH}, separated by colons (@code{:})."
  15050. msgstr ""
  15051. #. type: quotation
  15052. #: guix-git/doc/guix.texi:9691
  15053. msgid "Notice that @env{GUIX_PYTHONPATH} is specified as part of the definition of the @code{python} package, and @emph{not} as part of that of @code{python-numpy}. This is because this environment variable ``belongs'' to Python, not NumPy: Python actually reads the value of that variable and honors it."
  15054. msgstr ""
  15055. #. type: quotation
  15056. #: guix-git/doc/guix.texi:9695
  15057. msgid "Corollary: if you create a profile that does not contain @code{python}, @code{GUIX_PYTHONPATH} will @emph{not} be defined, even if it contains packages that provide @file{.py} files:"
  15058. msgstr ""
  15059. #. type: example
  15060. #: guix-git/doc/guix.texi:9699
  15061. #, no-wrap
  15062. msgid ""
  15063. "$ guix shell python-numpy --search-paths --pure\n"
  15064. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15065. msgstr ""
  15066. #. type: quotation
  15067. #: guix-git/doc/guix.texi:9703
  15068. msgid "This makes a lot of sense if we look at this profile in isolation: no software in this profile would read @env{GUIX_PYTHONPATH}."
  15069. msgstr ""
  15070. #. type: Plain text
  15071. #: guix-git/doc/guix.texi:9713
  15072. msgid "Of course, there are many variations on that theme: some packages honor more than one search path, some use separators other than colon, some accumulate several directories in their search path, and so on. A more complex example is the search path of libxml2: the value of the @env{XML_CATALOG_FILES} environment variable is space-separated, it must contain a list of @file{catalog.xml} files (not directories), which are to be found in @file{xml} sub-directories---nothing less. The search path specification looks like this:"
  15073. msgstr ""
  15074. #. type: lisp
  15075. #: guix-git/doc/guix.texi:9725
  15076. #, no-wrap
  15077. msgid ""
  15078. "(package\n"
  15079. " (name \"libxml2\")\n"
  15080. " ;; some fields omitted\n"
  15081. " (native-search-paths\n"
  15082. " (list (search-path-specification\n"
  15083. " (variable \"XML_CATALOG_FILES\")\n"
  15084. " (separator \" \")\n"
  15085. " (files '(\"xml\"))\n"
  15086. " (file-pattern \"^catalog\\\\.xml$\")\n"
  15087. " (file-type 'regular)))))\n"
  15088. msgstr ""
  15089. #. type: Plain text
  15090. #: guix-git/doc/guix.texi:9728
  15091. msgid "Worry not, search path specifications are usually not this tricky."
  15092. msgstr ""
  15093. #. type: Plain text
  15094. #: guix-git/doc/guix.texi:9732
  15095. msgid "The @code{(guix search-paths)} module defines the data type of search path specifications and a number of helper procedures. Below is the reference of search path specifications."
  15096. msgstr ""
  15097. #. type: deftp
  15098. #: guix-git/doc/guix.texi:9733
  15099. #, fuzzy, no-wrap
  15100. #| msgid "{Data Type} home-bash-configuration"
  15101. msgid "{Data Type} search-path-specification"
  15102. msgstr "{Druh údajov} home-bash-configuration"
  15103. #. type: deftp
  15104. #: guix-git/doc/guix.texi:9735
  15105. msgid "The data type for search path specifications."
  15106. msgstr ""
  15107. #. type: code{#1}
  15108. #: guix-git/doc/guix.texi:9737
  15109. #, no-wrap
  15110. msgid "variable"
  15111. msgstr ""
  15112. #. type: table
  15113. #: guix-git/doc/guix.texi:9739
  15114. msgid "The name of the environment variable for this search path (a string)."
  15115. msgstr ""
  15116. #. type: code{#1}
  15117. #: guix-git/doc/guix.texi:9740 guix-git/doc/guix.texi:17607
  15118. #, no-wrap
  15119. msgid "files"
  15120. msgstr "files"
  15121. #. type: table
  15122. #: guix-git/doc/guix.texi:9743
  15123. msgid "The list of sub-directories (strings) that should be added to the search path."
  15124. msgstr ""
  15125. #. type: item
  15126. #: guix-git/doc/guix.texi:9744
  15127. #, no-wrap
  15128. msgid "@code{separator} (default: @code{\":\"})"
  15129. msgstr ""
  15130. #. type: table
  15131. #: guix-git/doc/guix.texi:9746
  15132. msgid "The string used to separate search path components."
  15133. msgstr ""
  15134. #. type: table
  15135. #: guix-git/doc/guix.texi:9754
  15136. msgid "As a special case, a @code{separator} value of @code{#f} specifies a ``single-component search path''---in other words, a search path that cannot contain more than one element. This is useful in some cases, such as the @code{SSL_CERT_DIR} variable (honored by OpenSSL, cURL, and a few other packages) or the @code{ASPELL_DICT_DIR} variable (honored by the GNU Aspell spell checker), both of which must point to a single directory."
  15137. msgstr ""
  15138. #. type: item
  15139. #: guix-git/doc/guix.texi:9755
  15140. #, no-wrap
  15141. msgid "@code{file-type} (default: @code{'directory})"
  15142. msgstr ""
  15143. #. type: table
  15144. #: guix-git/doc/guix.texi:9759
  15145. msgid "The type of file being matched---@code{'directory} or @code{'regular}, though it can be any symbol returned by @code{stat:type} (@pxref{File System, @code{stat},, guile, GNU Guile Reference Manual})."
  15146. msgstr ""
  15147. #. type: table
  15148. #: guix-git/doc/guix.texi:9762
  15149. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  15150. msgstr ""
  15151. #. type: item
  15152. #: guix-git/doc/guix.texi:9763
  15153. #, no-wrap
  15154. msgid "@code{file-pattern} (default: @code{#f})"
  15155. msgstr ""
  15156. #. type: table
  15157. #: guix-git/doc/guix.texi:9767
  15158. msgid "This must be either @code{#f} or a regular expression specifying files to be matched @emph{within} the sub-directories specified by the @code{files} field."
  15159. msgstr ""
  15160. #. type: table
  15161. #: guix-git/doc/guix.texi:9769
  15162. msgid "Again, the libxml2 example shows a situation where this is needed."
  15163. msgstr ""
  15164. #. type: Plain text
  15165. #: guix-git/doc/guix.texi:9775
  15166. msgid "How do you turn search path specifications on one hand and a bunch of directories on the other hand in a set of environment variable definitions? That's the job of @code{evaluate-search-paths}."
  15167. msgstr ""
  15168. #. type: deffn
  15169. #: guix-git/doc/guix.texi:9776
  15170. #, no-wrap
  15171. msgid "{Scheme Procedure} evaluate-search-paths @var{search-paths} @"
  15172. msgstr ""
  15173. #. type: deffn
  15174. #: guix-git/doc/guix.texi:9782
  15175. msgid "@var{directories} [@var{getenv}] Evaluate @var{search-paths}, a list of search-path specifications, for @var{directories}, a list of directory names, and return a list of specification/value pairs. Use @var{getenv} to determine the current settings and report only settings not already effective."
  15176. msgstr ""
  15177. #. type: Plain text
  15178. #: guix-git/doc/guix.texi:9786
  15179. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  15180. msgstr ""
  15181. #. type: cindex
  15182. #: guix-git/doc/guix.texi:9791
  15183. #, no-wrap
  15184. msgid "store items"
  15185. msgstr ""
  15186. #. type: cindex
  15187. #: guix-git/doc/guix.texi:9792
  15188. #, no-wrap
  15189. msgid "store paths"
  15190. msgstr ""
  15191. #. type: Plain text
  15192. #: guix-git/doc/guix.texi:9803
  15193. msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}."
  15194. msgstr ""
  15195. #. type: Plain text
  15196. #: guix-git/doc/guix.texi:9808
  15197. msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs."
  15198. msgstr ""
  15199. #. type: quotation
  15200. #: guix-git/doc/guix.texi:9813
  15201. msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})."
  15202. msgstr ""
  15203. #. type: quotation
  15204. #: guix-git/doc/guix.texi:9817
  15205. msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications."
  15206. msgstr ""
  15207. #. type: Plain text
  15208. #: guix-git/doc/guix.texi:9824
  15209. msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @env{GUIX_DAEMON_SOCKET} environment variable."
  15210. msgstr ""
  15211. #. type: defvr
  15212. #: guix-git/doc/guix.texi:9825
  15213. #, no-wrap
  15214. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  15215. msgstr ""
  15216. #. type: defvr
  15217. #: guix-git/doc/guix.texi:9830
  15218. msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:"
  15219. msgstr ""
  15220. #. type: code{#1}
  15221. #: guix-git/doc/guix.texi:9832 guix-git/doc/guix.texi:26613
  15222. #, no-wrap
  15223. msgid "file"
  15224. msgstr "file"
  15225. #. type: itemx
  15226. #: guix-git/doc/guix.texi:9833
  15227. #, no-wrap
  15228. msgid "unix"
  15229. msgstr ""
  15230. #. type: table
  15231. #: guix-git/doc/guix.texi:9837
  15232. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  15233. msgstr ""
  15234. #. type: table
  15235. #: guix-git/doc/guix.texi:9846
  15236. msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):"
  15237. msgstr ""
  15238. #. type: example
  15239. #: guix-git/doc/guix.texi:9849
  15240. #, no-wrap
  15241. msgid "guix://master.guix.example.org:1234\n"
  15242. msgstr ""
  15243. #. type: table
  15244. #: guix-git/doc/guix.texi:9854
  15245. msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}."
  15246. msgstr ""
  15247. #. type: table
  15248. #: guix-git/doc/guix.texi:9858
  15249. msgid "The @option{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @option{--listen}})."
  15250. msgstr ""
  15251. #. type: item
  15252. #: guix-git/doc/guix.texi:9859
  15253. #, no-wrap
  15254. msgid "ssh"
  15255. msgstr "ssh"
  15256. #. type: cindex
  15257. #: guix-git/doc/guix.texi:9860
  15258. #, no-wrap
  15259. msgid "SSH access to build daemons"
  15260. msgstr ""
  15261. #. type: table
  15262. #: guix-git/doc/guix.texi:9866
  15263. msgid "These URIs allow you to connect to a remote daemon over SSH@. This feature requires Guile-SSH (@pxref{Requirements}) and a working @command{guile} binary in @env{PATH} on the destination machine. It supports public key and GSSAPI authentication. A typical URL might look like this:"
  15264. msgstr ""
  15265. #. type: example
  15266. #: guix-git/doc/guix.texi:9869
  15267. #, no-wrap
  15268. msgid "ssh://charlie@@guix.example.org:22\n"
  15269. msgstr ""
  15270. #. type: table
  15271. #: guix-git/doc/guix.texi:9873
  15272. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  15273. msgstr ""
  15274. #. type: defvr
  15275. #: guix-git/doc/guix.texi:9876
  15276. msgid "Additional URI schemes may be supported in the future."
  15277. msgstr ""
  15278. #. type: quotation
  15279. #: guix-git/doc/guix.texi:9883
  15280. msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})."
  15281. msgstr ""
  15282. #. type: deffn
  15283. #: guix-git/doc/guix.texi:9886
  15284. #, no-wrap
  15285. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  15286. msgstr ""
  15287. #. type: deffn
  15288. #: guix-git/doc/guix.texi:9891
  15289. msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object."
  15290. msgstr ""
  15291. #. type: deffn
  15292. #: guix-git/doc/guix.texi:9894
  15293. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  15294. msgstr ""
  15295. #. type: deffn
  15296. #: guix-git/doc/guix.texi:9896
  15297. #, no-wrap
  15298. msgid "{Scheme Procedure} close-connection @var{server}"
  15299. msgstr ""
  15300. #. type: deffn
  15301. #: guix-git/doc/guix.texi:9898
  15302. msgid "Close the connection to @var{server}."
  15303. msgstr ""
  15304. #. type: defvr
  15305. #: guix-git/doc/guix.texi:9900
  15306. #, no-wrap
  15307. msgid "{Scheme Variable} current-build-output-port"
  15308. msgstr ""
  15309. #. type: defvr
  15310. #: guix-git/doc/guix.texi:9903
  15311. msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written."
  15312. msgstr ""
  15313. #. type: Plain text
  15314. #: guix-git/doc/guix.texi:9907
  15315. msgid "Procedures that make RPCs all take a server object as their first argument."
  15316. msgstr ""
  15317. #. type: deffn
  15318. #: guix-git/doc/guix.texi:9908
  15319. #, no-wrap
  15320. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  15321. msgstr ""
  15322. #. type: cindex
  15323. #: guix-git/doc/guix.texi:9909
  15324. #, no-wrap
  15325. msgid "invalid store items"
  15326. msgstr ""
  15327. #. type: deffn
  15328. #: guix-git/doc/guix.texi:9914
  15329. msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build)."
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9917
  15333. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9919
  15337. #, no-wrap
  15338. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9923
  15342. msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path."
  15343. msgstr ""
  15344. #. type: deffn
  15345. #: guix-git/doc/guix.texi:9925
  15346. #, no-wrap
  15347. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  15348. msgstr ""
  15349. #. type: deffn
  15350. #: guix-git/doc/guix.texi:9930
  15351. msgid "[@var{mode}] Build @var{derivations}, a list of @code{<derivation>} objects, @file{.drv} file names, or derivation/output pairs, using the specified @var{mode}---@code{(build-mode normal)} by default."
  15352. msgstr ""
  15353. #. type: Plain text
  15354. #: guix-git/doc/guix.texi:9936
  15355. msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})."
  15356. msgstr ""
  15357. #. type: i{#1}
  15358. #: guix-git/doc/guix.texi:9939
  15359. msgid "This section is currently incomplete."
  15360. msgstr ""
  15361. #. type: cindex
  15362. #: guix-git/doc/guix.texi:9943
  15363. #, no-wrap
  15364. msgid "derivations"
  15365. msgstr ""
  15366. #. type: Plain text
  15367. #: guix-git/doc/guix.texi:9947
  15368. msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:"
  15369. msgstr ""
  15370. #. type: itemize
  15371. #: guix-git/doc/guix.texi:9952
  15372. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  15373. msgstr ""
  15374. #. type: cindex
  15375. #: guix-git/doc/guix.texi:9954
  15376. #, no-wrap
  15377. msgid "build-time dependencies"
  15378. msgstr ""
  15379. #. type: cindex
  15380. #: guix-git/doc/guix.texi:9955
  15381. #, no-wrap
  15382. msgid "dependencies, build-time"
  15383. msgstr ""
  15384. #. type: itemize
  15385. #: guix-git/doc/guix.texi:9959
  15386. msgid "The inputs of the derivations---i.e., its build-time dependencies---which may be other derivations or plain files in the store (patches, build scripts, etc.)."
  15387. msgstr ""
  15388. #. type: itemize
  15389. #: guix-git/doc/guix.texi:9962
  15390. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  15391. msgstr ""
  15392. #. type: itemize
  15393. #: guix-git/doc/guix.texi:9966
  15394. msgid "The file name of a build script in the store, along with the arguments to be passed."
  15395. msgstr ""
  15396. #. type: itemize
  15397. #: guix-git/doc/guix.texi:9969
  15398. msgid "A list of environment variables to be defined."
  15399. msgstr ""
  15400. #. type: cindex
  15401. #: guix-git/doc/guix.texi:9972
  15402. #, no-wrap
  15403. msgid "derivation path"
  15404. msgstr ""
  15405. #. type: Plain text
  15406. #: guix-git/doc/guix.texi:9980
  15407. msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @file{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})."
  15408. msgstr ""
  15409. #. type: cindex
  15410. #: guix-git/doc/guix.texi:9981
  15411. #, no-wrap
  15412. msgid "fixed-output derivations"
  15413. msgstr ""
  15414. #. type: Plain text
  15415. #: guix-git/doc/guix.texi:9988
  15416. msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used."
  15417. msgstr ""
  15418. #. type: item
  15419. #: guix-git/doc/guix.texi:9989 guix-git/doc/guix.texi:13802
  15420. #, no-wrap
  15421. msgid "references"
  15422. msgstr "odvolávky"
  15423. #. type: cindex
  15424. #: guix-git/doc/guix.texi:9990
  15425. #, no-wrap
  15426. msgid "run-time dependencies"
  15427. msgstr ""
  15428. #. type: cindex
  15429. #: guix-git/doc/guix.texi:9991
  15430. #, no-wrap
  15431. msgid "dependencies, run-time"
  15432. msgstr ""
  15433. #. type: Plain text
  15434. #: guix-git/doc/guix.texi:9998
  15435. msgid "The outputs of derivations---i.e., the build results---have a set of @dfn{references}, as reported by the @code{references} RPC or the @command{guix gc --references} command (@pxref{Invoking guix gc}). References are the set of run-time dependencies of the build results. References are a subset of the inputs of the derivation; this subset is automatically computed by the build daemon by scanning all the files in the outputs."
  15436. msgstr ""
  15437. #. type: Plain text
  15438. #: guix-git/doc/guix.texi:10003
  15439. msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:"
  15440. msgstr ""
  15441. #. type: deffn
  15442. #: guix-git/doc/guix.texi:10004
  15443. #, no-wrap
  15444. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  15445. msgstr ""
  15446. #. type: deffn
  15447. #: guix-git/doc/guix.texi:10013
  15448. msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{<derivation>} object."
  15449. msgstr ""
  15450. #. type: deffn
  15451. #: guix-git/doc/guix.texi:10020
  15452. msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output."
  15453. msgstr ""
  15454. #. type: deffn
  15455. #: guix-git/doc/guix.texi:10025
  15456. msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format."
  15457. msgstr ""
  15458. #. type: deffn
  15459. #: guix-git/doc/guix.texi:10030
  15460. msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to."
  15461. msgstr ""
  15462. #. type: deffn
  15463. #: guix-git/doc/guix.texi:10037
  15464. msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files."
  15465. msgstr ""
  15466. #. type: deffn
  15467. #: guix-git/doc/guix.texi:10042
  15468. msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits."
  15469. msgstr ""
  15470. #. type: deffn
  15471. #: guix-git/doc/guix.texi:10047
  15472. msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set."
  15473. msgstr ""
  15474. #. type: deffn
  15475. #: guix-git/doc/guix.texi:10050
  15476. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  15477. msgstr ""
  15478. #. type: Plain text
  15479. #: guix-git/doc/guix.texi:10056
  15480. msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:"
  15481. msgstr ""
  15482. #. type: lisp
  15483. #: guix-git/doc/guix.texi:10061
  15484. #, no-wrap
  15485. msgid ""
  15486. "(use-modules (guix utils)\n"
  15487. " (guix store)\n"
  15488. " (guix derivations))\n"
  15489. "\n"
  15490. msgstr ""
  15491. #. type: lisp
  15492. #: guix-git/doc/guix.texi:10070
  15493. #, no-wrap
  15494. msgid ""
  15495. "(let ((builder ; add the Bash script to the store\n"
  15496. " (add-text-to-store store \"my-builder.sh\"\n"
  15497. " \"echo hello world > $out\\n\" '())))\n"
  15498. " (derivation store \"foo\"\n"
  15499. " bash `(\"-e\" ,builder)\n"
  15500. " #:inputs `((,bash) (,builder))\n"
  15501. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  15502. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  15503. msgstr ""
  15504. #. type: Plain text
  15505. #: guix-git/doc/guix.texi:10077
  15506. msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}."
  15507. msgstr ""
  15508. #. type: Plain text
  15509. #: guix-git/doc/guix.texi:10082
  15510. msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}."
  15511. msgstr ""
  15512. #. type: deffn
  15513. #: guix-git/doc/guix.texi:10083
  15514. #, no-wrap
  15515. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  15516. msgstr ""
  15517. #. type: deffn
  15518. #: guix-git/doc/guix.texi:10099
  15519. msgid "@var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  15520. msgstr ""
  15521. #. type: deffn
  15522. #: guix-git/doc/guix.texi:10107
  15523. msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed."
  15524. msgstr ""
  15525. #. type: deffn
  15526. #: guix-git/doc/guix.texi:10111
  15527. msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead."
  15528. msgstr ""
  15529. #. type: deffn
  15530. #: guix-git/doc/guix.texi:10116
  15531. msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}."
  15532. msgstr ""
  15533. #. type: Plain text
  15534. #: guix-git/doc/guix.texi:10121
  15535. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  15536. msgstr ""
  15537. #. type: lisp
  15538. #: guix-git/doc/guix.texi:10129
  15539. #, no-wrap
  15540. msgid ""
  15541. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  15542. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  15543. " (call-with-output-file (string-append out \"/test\")\n"
  15544. " (lambda (p)\n"
  15545. " (display '(hello guix) p))))))\n"
  15546. " (build-expression->derivation store \"goo\" builder))\n"
  15547. "\n"
  15548. msgstr ""
  15549. #. type: lisp
  15550. #: guix-git/doc/guix.texi:10131
  15551. #, no-wrap
  15552. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  15553. msgstr ""
  15554. #. type: cindex
  15555. #: guix-git/doc/guix.texi:10137
  15556. #, no-wrap
  15557. msgid "monad"
  15558. msgstr ""
  15559. #. type: Plain text
  15560. #: guix-git/doc/guix.texi:10143
  15561. msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store."
  15562. msgstr ""
  15563. #. type: Plain text
  15564. #: guix-git/doc/guix.texi:10149
  15565. msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced."
  15566. msgstr ""
  15567. #. type: cindex
  15568. #: guix-git/doc/guix.texi:10150
  15569. #, no-wrap
  15570. msgid "monadic values"
  15571. msgstr ""
  15572. #. type: cindex
  15573. #: guix-git/doc/guix.texi:10151
  15574. #, no-wrap
  15575. msgid "monadic functions"
  15576. msgstr ""
  15577. #. type: Plain text
  15578. #: guix-git/doc/guix.texi:10161
  15579. msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}."
  15580. msgstr ""
  15581. #. type: Plain text
  15582. #: guix-git/doc/guix.texi:10163
  15583. msgid "Consider this ``normal'' procedure:"
  15584. msgstr ""
  15585. #. type: lisp
  15586. #: guix-git/doc/guix.texi:10172
  15587. #, no-wrap
  15588. msgid ""
  15589. "(define (sh-symlink store)\n"
  15590. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15591. " (let* ((drv (package-derivation store bash))\n"
  15592. " (out (derivation->output-path drv))\n"
  15593. " (sh (string-append out \"/bin/bash\")))\n"
  15594. " (build-expression->derivation store \"sh\"\n"
  15595. " `(symlink ,sh %output))))\n"
  15596. msgstr ""
  15597. #. type: Plain text
  15598. #: guix-git/doc/guix.texi:10176
  15599. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15600. msgstr ""
  15601. #. type: lisp
  15602. #: guix-git/doc/guix.texi:10184
  15603. #, no-wrap
  15604. msgid ""
  15605. "(define (sh-symlink)\n"
  15606. " ;; Same, but return a monadic value.\n"
  15607. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15608. " (gexp->derivation \"sh\"\n"
  15609. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15610. " #$output))))\n"
  15611. msgstr ""
  15612. #. type: Plain text
  15613. #: guix-git/doc/guix.texi:10191
  15614. msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}."
  15615. msgstr ""
  15616. #. type: Plain text
  15617. #: guix-git/doc/guix.texi:10195
  15618. msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):"
  15619. msgstr ""
  15620. #. type: lisp
  15621. #: guix-git/doc/guix.texi:10201
  15622. #, no-wrap
  15623. msgid ""
  15624. "(define (sh-symlink)\n"
  15625. " (gexp->derivation \"sh\"\n"
  15626. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15627. " #$output)))\n"
  15628. msgstr ""
  15629. #. type: Plain text
  15630. #: guix-git/doc/guix.texi:10210
  15631. msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:"
  15632. msgstr ""
  15633. #. type: lisp
  15634. #: guix-git/doc/guix.texi:10214
  15635. #, no-wrap
  15636. msgid ""
  15637. "(run-with-store (open-connection) (sh-symlink))\n"
  15638. "@result{} /gnu/store/...-sh-symlink\n"
  15639. msgstr ""
  15640. #. type: Plain text
  15641. #: guix-git/doc/guix.texi:10220
  15642. msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:"
  15643. msgstr ""
  15644. #. type: example
  15645. #: guix-git/doc/guix.texi:10224
  15646. #, no-wrap
  15647. msgid ""
  15648. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15649. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15650. msgstr ""
  15651. #. type: Plain text
  15652. #: guix-git/doc/guix.texi:10228
  15653. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15654. msgstr ""
  15655. #. type: example
  15656. #: guix-git/doc/guix.texi:10237
  15657. #, no-wrap
  15658. msgid ""
  15659. "scheme@@(guile-user)> ,enter-store-monad\n"
  15660. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15661. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15662. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15663. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15664. "store-monad@@(guile-user) [1]> ,q\n"
  15665. "scheme@@(guile-user)>\n"
  15666. msgstr ""
  15667. #. type: Plain text
  15668. #: guix-git/doc/guix.texi:10242
  15669. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15670. msgstr ""
  15671. #. type: Plain text
  15672. #: guix-git/doc/guix.texi:10245
  15673. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15674. msgstr ""
  15675. #. type: deffn
  15676. #: guix-git/doc/guix.texi:10246
  15677. #, no-wrap
  15678. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15679. msgstr ""
  15680. #. type: deffn
  15681. #: guix-git/doc/guix.texi:10249
  15682. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15683. msgstr ""
  15684. #. type: deffn
  15685. #: guix-git/doc/guix.texi:10251
  15686. #, no-wrap
  15687. msgid "{Scheme Syntax} return @var{val}"
  15688. msgstr ""
  15689. #. type: deffn
  15690. #: guix-git/doc/guix.texi:10253
  15691. msgid "Return a monadic value that encapsulates @var{val}."
  15692. msgstr ""
  15693. #. type: deffn
  15694. #: guix-git/doc/guix.texi:10255
  15695. #, no-wrap
  15696. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15697. msgstr ""
  15698. #. type: deffn
  15699. #: guix-git/doc/guix.texi:10262
  15700. msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:"
  15701. msgstr ""
  15702. #. type: lisp
  15703. #: guix-git/doc/guix.texi:10270
  15704. #, no-wrap
  15705. msgid ""
  15706. "(run-with-state\n"
  15707. " (with-monad %state-monad\n"
  15708. " (>>= (return 1)\n"
  15709. " (lambda (x) (return (+ 1 x)))\n"
  15710. " (lambda (x) (return (* 2 x)))))\n"
  15711. " 'some-state)\n"
  15712. "\n"
  15713. msgstr ""
  15714. #. type: lisp
  15715. #: guix-git/doc/guix.texi:10273
  15716. #, no-wrap
  15717. msgid ""
  15718. "@result{} 4\n"
  15719. "@result{} some-state\n"
  15720. msgstr ""
  15721. #. type: deffn
  15722. #: guix-git/doc/guix.texi:10276
  15723. #, no-wrap
  15724. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15725. msgstr ""
  15726. #. type: deffn
  15727. #: guix-git/doc/guix.texi:10278
  15728. msgid "@var{body} ..."
  15729. msgstr ""
  15730. #. type: deffnx
  15731. #: guix-git/doc/guix.texi:10278
  15732. #, no-wrap
  15733. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15734. msgstr ""
  15735. #. type: deffn
  15736. #: guix-git/doc/guix.texi:10290
  15737. msgid "@var{body} ... Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}."
  15738. msgstr ""
  15739. #. type: deffn
  15740. #: guix-git/doc/guix.texi:10293
  15741. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15742. msgstr ""
  15743. #. type: deffn
  15744. #: guix-git/doc/guix.texi:10295
  15745. #, no-wrap
  15746. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15747. msgstr ""
  15748. #. type: deffn
  15749. #: guix-git/doc/guix.texi:10299
  15750. msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression."
  15751. msgstr ""
  15752. #. type: deffn
  15753. #: guix-git/doc/guix.texi:10303
  15754. msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions."
  15755. msgstr ""
  15756. #. type: deffn
  15757. #: guix-git/doc/guix.texi:10305
  15758. #, no-wrap
  15759. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15760. msgstr ""
  15761. #. type: deffn
  15762. #: guix-git/doc/guix.texi:10310
  15763. msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  15764. msgstr ""
  15765. #. type: deffn
  15766. #: guix-git/doc/guix.texi:10312
  15767. #, no-wrap
  15768. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15769. msgstr ""
  15770. #. type: deffn
  15771. #: guix-git/doc/guix.texi:10317
  15772. msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  15773. msgstr ""
  15774. #. type: cindex
  15775. #: guix-git/doc/guix.texi:10319
  15776. #, no-wrap
  15777. msgid "state monad"
  15778. msgstr ""
  15779. #. type: Plain text
  15780. #: guix-git/doc/guix.texi:10323
  15781. msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls."
  15782. msgstr ""
  15783. #. type: defvr
  15784. #: guix-git/doc/guix.texi:10324
  15785. #, no-wrap
  15786. msgid "{Scheme Variable} %state-monad"
  15787. msgstr ""
  15788. #. type: defvr
  15789. #: guix-git/doc/guix.texi:10327
  15790. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15791. msgstr ""
  15792. #. type: defvr
  15793. #: guix-git/doc/guix.texi:10331
  15794. msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:"
  15795. msgstr ""
  15796. #. type: lisp
  15797. #: guix-git/doc/guix.texi:10338
  15798. #, no-wrap
  15799. msgid ""
  15800. "(define (square x)\n"
  15801. " (mlet %state-monad ((count (current-state)))\n"
  15802. " (mbegin %state-monad\n"
  15803. " (set-current-state (+ 1 count))\n"
  15804. " (return (* x x)))))\n"
  15805. "\n"
  15806. msgstr ""
  15807. #. type: lisp
  15808. #: guix-git/doc/guix.texi:10342
  15809. #, no-wrap
  15810. msgid ""
  15811. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15812. "@result{} (0 1 4)\n"
  15813. "@result{} 3\n"
  15814. msgstr ""
  15815. #. type: defvr
  15816. #: guix-git/doc/guix.texi:10346
  15817. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15818. msgstr ""
  15819. #. type: deffn
  15820. #: guix-git/doc/guix.texi:10348
  15821. #, no-wrap
  15822. msgid "{Monadic Procedure} current-state"
  15823. msgstr ""
  15824. #. type: deffn
  15825. #: guix-git/doc/guix.texi:10350
  15826. msgid "Return the current state as a monadic value."
  15827. msgstr ""
  15828. #. type: deffn
  15829. #: guix-git/doc/guix.texi:10352
  15830. #, no-wrap
  15831. msgid "{Monadic Procedure} set-current-state @var{value}"
  15832. msgstr ""
  15833. #. type: deffn
  15834. #: guix-git/doc/guix.texi:10355
  15835. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15836. msgstr ""
  15837. #. type: deffn
  15838. #: guix-git/doc/guix.texi:10357
  15839. #, no-wrap
  15840. msgid "{Monadic Procedure} state-push @var{value}"
  15841. msgstr ""
  15842. #. type: deffn
  15843. #: guix-git/doc/guix.texi:10360
  15844. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15845. msgstr ""
  15846. #. type: deffn
  15847. #: guix-git/doc/guix.texi:10362
  15848. #, no-wrap
  15849. msgid "{Monadic Procedure} state-pop"
  15850. msgstr ""
  15851. #. type: deffn
  15852. #: guix-git/doc/guix.texi:10365
  15853. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15854. msgstr ""
  15855. #. type: deffn
  15856. #: guix-git/doc/guix.texi:10367
  15857. #, no-wrap
  15858. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15859. msgstr ""
  15860. #. type: deffn
  15861. #: guix-git/doc/guix.texi:10370
  15862. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15863. msgstr ""
  15864. #. type: Plain text
  15865. #: guix-git/doc/guix.texi:10374
  15866. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15867. msgstr ""
  15868. #. type: defvr
  15869. #: guix-git/doc/guix.texi:10375
  15870. #, no-wrap
  15871. msgid "{Scheme Variable} %store-monad"
  15872. msgstr ""
  15873. #. type: defvr
  15874. #: guix-git/doc/guix.texi:10377
  15875. msgid "The store monad---an alias for @code{%state-monad}."
  15876. msgstr ""
  15877. #. type: defvr
  15878. #: guix-git/doc/guix.texi:10381
  15879. msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below)."
  15880. msgstr ""
  15881. #. type: deffn
  15882. #: guix-git/doc/guix.texi:10383
  15883. #, no-wrap
  15884. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15885. msgstr ""
  15886. #. type: deffn
  15887. #: guix-git/doc/guix.texi:10386
  15888. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15889. msgstr ""
  15890. #. type: deffn
  15891. #: guix-git/doc/guix.texi:10388
  15892. #, no-wrap
  15893. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15894. msgstr ""
  15895. #. type: deffn
  15896. #: guix-git/doc/guix.texi:10392
  15897. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list."
  15898. msgstr ""
  15899. #. type: deffn
  15900. #: guix-git/doc/guix.texi:10394
  15901. #, no-wrap
  15902. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15903. msgstr ""
  15904. #. type: deffn
  15905. #: guix-git/doc/guix.texi:10398
  15906. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{data}, a bytevector. @var{references} is a list of store items that the resulting binary file refers to; it defaults to the empty list."
  15907. msgstr ""
  15908. #. type: deffn
  15909. #: guix-git/doc/guix.texi:10400
  15910. #, no-wrap
  15911. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15912. msgstr ""
  15913. #. type: deffn
  15914. #: guix-git/doc/guix.texi:10405
  15915. msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted."
  15916. msgstr ""
  15917. #. type: deffn
  15918. #: guix-git/doc/guix.texi:10409 guix-git/doc/guix.texi:10832
  15919. msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept."
  15920. msgstr ""
  15921. #. type: deffn
  15922. #: guix-git/doc/guix.texi:10414 guix-git/doc/guix.texi:10837
  15923. msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true."
  15924. msgstr ""
  15925. #. type: deffn
  15926. #: guix-git/doc/guix.texi:10416
  15927. msgid "The example below adds a file to the store, under two different names:"
  15928. msgstr ""
  15929. #. type: lisp
  15930. #: guix-git/doc/guix.texi:10422
  15931. #, no-wrap
  15932. msgid ""
  15933. "(run-with-store (open-connection)\n"
  15934. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15935. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15936. " (return (list a b))))\n"
  15937. "\n"
  15938. msgstr ""
  15939. #. type: lisp
  15940. #: guix-git/doc/guix.texi:10424
  15941. #, no-wrap
  15942. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15943. msgstr ""
  15944. #. type: Plain text
  15945. #: guix-git/doc/guix.texi:10430
  15946. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15947. msgstr ""
  15948. #. type: deffn
  15949. #: guix-git/doc/guix.texi:10431
  15950. #, no-wrap
  15951. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15952. msgstr ""
  15953. #. type: deffn
  15954. #: guix-git/doc/guix.texi:10439
  15955. msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet."
  15956. msgstr ""
  15957. #. type: deffn
  15958. #: guix-git/doc/guix.texi:10443
  15959. msgid "Note that this procedure does @emph{not} build @var{package}. Thus, the result might or might not designate an existing file. We recommend not using this procedure unless you know what you are doing."
  15960. msgstr ""
  15961. #. type: deffn
  15962. #: guix-git/doc/guix.texi:10445
  15963. #, no-wrap
  15964. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15965. msgstr ""
  15966. #. type: deffnx
  15967. #: guix-git/doc/guix.texi:10446
  15968. #, no-wrap
  15969. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15970. msgstr ""
  15971. #. type: deffn
  15972. #: guix-git/doc/guix.texi:10450
  15973. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15974. msgstr ""
  15975. #. type: cindex
  15976. #: guix-git/doc/guix.texi:10456
  15977. #, no-wrap
  15978. msgid "G-expression"
  15979. msgstr ""
  15980. #. type: cindex
  15981. #: guix-git/doc/guix.texi:10457
  15982. #, no-wrap
  15983. msgid "build code quoting"
  15984. msgstr ""
  15985. #. type: Plain text
  15986. #: guix-git/doc/guix.texi:10463
  15987. msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})."
  15988. msgstr ""
  15989. #. type: cindex
  15990. #: guix-git/doc/guix.texi:10466
  15991. #, no-wrap
  15992. msgid "strata of code"
  15993. msgstr ""
  15994. #. type: Plain text
  15995. #: guix-git/doc/guix.texi:10478
  15996. msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, and so on (@pxref{Build Phases})."
  15997. msgstr ""
  15998. #. type: Plain text
  15999. #: guix-git/doc/guix.texi:10485
  16000. msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions."
  16001. msgstr ""
  16002. #. type: Plain text
  16003. #: guix-git/doc/guix.texi:10494
  16004. msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:"
  16005. msgstr ""
  16006. #. type: itemize
  16007. #: guix-git/doc/guix.texi:10499
  16008. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  16009. msgstr ""
  16010. #. type: itemize
  16011. #: guix-git/doc/guix.texi:10504
  16012. msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced."
  16013. msgstr ""
  16014. #. type: itemize
  16015. #: guix-git/doc/guix.texi:10509
  16016. msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them."
  16017. msgstr ""
  16018. #. type: cindex
  16019. #: guix-git/doc/guix.texi:10511 guix-git/doc/guix.texi:11068
  16020. #, no-wrap
  16021. msgid "lowering, of high-level objects in gexps"
  16022. msgstr ""
  16023. #. type: Plain text
  16024. #: guix-git/doc/guix.texi:10521
  16025. msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below)."
  16026. msgstr ""
  16027. #. type: Plain text
  16028. #: guix-git/doc/guix.texi:10523
  16029. msgid "To illustrate the idea, here is an example of a gexp:"
  16030. msgstr ""
  16031. #. type: lisp
  16032. #: guix-git/doc/guix.texi:10531
  16033. #, no-wrap
  16034. msgid ""
  16035. "(define build-exp\n"
  16036. " #~(begin\n"
  16037. " (mkdir #$output)\n"
  16038. " (chdir #$output)\n"
  16039. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  16040. " \"list-files\")))\n"
  16041. msgstr ""
  16042. #. type: Plain text
  16043. #: guix-git/doc/guix.texi:10536
  16044. msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:"
  16045. msgstr ""
  16046. #. type: lisp
  16047. #: guix-git/doc/guix.texi:10539
  16048. #, no-wrap
  16049. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  16050. msgstr ""
  16051. #. type: Plain text
  16052. #: guix-git/doc/guix.texi:10547
  16053. msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation."
  16054. msgstr ""
  16055. #. type: cindex
  16056. #: guix-git/doc/guix.texi:10548
  16057. #, no-wrap
  16058. msgid "cross compilation"
  16059. msgstr ""
  16060. #. type: Plain text
  16061. #: guix-git/doc/guix.texi:10554
  16062. msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:"
  16063. msgstr ""
  16064. #. type: lisp
  16065. #: guix-git/doc/guix.texi:10565
  16066. #, no-wrap
  16067. msgid ""
  16068. "(gexp->derivation \"vi\"\n"
  16069. " #~(begin\n"
  16070. " (mkdir #$output)\n"
  16071. " (mkdir (string-append #$output \"/bin\"))\n"
  16072. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  16073. " \"-s\"\n"
  16074. " (string-append #$emacs \"/bin/emacs\")\n"
  16075. " (string-append #$output \"/bin/vi\")))\n"
  16076. " #:target \"aarch64-linux-gnu\")\n"
  16077. msgstr ""
  16078. #. type: Plain text
  16079. #: guix-git/doc/guix.texi:10571
  16080. msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced."
  16081. msgstr ""
  16082. #. type: cindex
  16083. #: guix-git/doc/guix.texi:10572
  16084. #, no-wrap
  16085. msgid "imported modules, for gexps"
  16086. msgstr ""
  16087. #. type: findex
  16088. #: guix-git/doc/guix.texi:10573
  16089. #, no-wrap
  16090. msgid "with-imported-modules"
  16091. msgstr ""
  16092. #. type: Plain text
  16093. #: guix-git/doc/guix.texi:10578
  16094. msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:"
  16095. msgstr ""
  16096. #. type: lisp
  16097. #: guix-git/doc/guix.texi:10589
  16098. #, no-wrap
  16099. msgid ""
  16100. "(let ((build (with-imported-modules '((guix build utils))\n"
  16101. " #~(begin\n"
  16102. " (use-modules (guix build utils))\n"
  16103. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  16104. " (gexp->derivation \"empty-dir\"\n"
  16105. " #~(begin\n"
  16106. " #$build\n"
  16107. " (display \"success!\\n\")\n"
  16108. " #t)))\n"
  16109. msgstr ""
  16110. #. type: Plain text
  16111. #: guix-git/doc/guix.texi:10595
  16112. msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected."
  16113. msgstr ""
  16114. #. type: cindex
  16115. #: guix-git/doc/guix.texi:10596
  16116. #, no-wrap
  16117. msgid "module closure"
  16118. msgstr ""
  16119. #. type: findex
  16120. #: guix-git/doc/guix.texi:10597
  16121. #, no-wrap
  16122. msgid "source-module-closure"
  16123. msgstr ""
  16124. #. type: Plain text
  16125. #: guix-git/doc/guix.texi:10604
  16126. msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:"
  16127. msgstr ""
  16128. #. type: lisp
  16129. #: guix-git/doc/guix.texi:10607
  16130. #, no-wrap
  16131. msgid ""
  16132. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  16133. "\n"
  16134. msgstr ""
  16135. #. type: lisp
  16136. #: guix-git/doc/guix.texi:10616
  16137. #, no-wrap
  16138. msgid ""
  16139. "(with-imported-modules (source-module-closure\n"
  16140. " '((guix build utils)\n"
  16141. " (gnu build image)))\n"
  16142. " (gexp->derivation \"something-with-vms\"\n"
  16143. " #~(begin\n"
  16144. " (use-modules (guix build utils)\n"
  16145. " (gnu build image))\n"
  16146. " @dots{})))\n"
  16147. msgstr ""
  16148. #. type: cindex
  16149. #: guix-git/doc/guix.texi:10618
  16150. #, no-wrap
  16151. msgid "extensions, for gexps"
  16152. msgstr ""
  16153. #. type: findex
  16154. #: guix-git/doc/guix.texi:10619
  16155. #, no-wrap
  16156. msgid "with-extensions"
  16157. msgstr ""
  16158. #. type: Plain text
  16159. #: guix-git/doc/guix.texi:10624
  16160. msgid "In the same vein, sometimes you want to import not just pure-Scheme modules, but also ``extensions'' such as Guile bindings to C libraries or other ``full-blown'' packages. Say you need the @code{guile-json} package available on the build side, here's how you would do it:"
  16161. msgstr ""
  16162. #. type: lisp
  16163. #: guix-git/doc/guix.texi:10627
  16164. #, no-wrap
  16165. msgid ""
  16166. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  16167. "\n"
  16168. msgstr ""
  16169. #. type: lisp
  16170. #: guix-git/doc/guix.texi:10633
  16171. #, no-wrap
  16172. msgid ""
  16173. "(with-extensions (list guile-json)\n"
  16174. " (gexp->derivation \"something-with-json\"\n"
  16175. " #~(begin\n"
  16176. " (use-modules (json))\n"
  16177. " @dots{})))\n"
  16178. msgstr ""
  16179. #. type: Plain text
  16180. #: guix-git/doc/guix.texi:10636
  16181. msgid "The syntactic form to construct gexps is summarized below."
  16182. msgstr ""
  16183. #. type: deffn
  16184. #: guix-git/doc/guix.texi:10637
  16185. #, no-wrap
  16186. msgid "{Scheme Syntax} #~@var{exp}"
  16187. msgstr ""
  16188. #. type: deffnx
  16189. #: guix-git/doc/guix.texi:10638
  16190. #, no-wrap
  16191. msgid "{Scheme Syntax} (gexp @var{exp})"
  16192. msgstr ""
  16193. #. type: deffn
  16194. #: guix-git/doc/guix.texi:10641
  16195. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  16196. msgstr ""
  16197. #. type: item
  16198. #: guix-git/doc/guix.texi:10643
  16199. #, no-wrap
  16200. msgid "#$@var{obj}"
  16201. msgstr ""
  16202. #. type: itemx
  16203. #: guix-git/doc/guix.texi:10644
  16204. #, no-wrap
  16205. msgid "(ungexp @var{obj})"
  16206. msgstr ""
  16207. #. type: table
  16208. #: guix-git/doc/guix.texi:10649
  16209. msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}."
  16210. msgstr ""
  16211. #. type: table
  16212. #: guix-git/doc/guix.texi:10652
  16213. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  16214. msgstr ""
  16215. #. type: table
  16216. #: guix-git/doc/guix.texi:10655
  16217. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  16218. msgstr ""
  16219. #. type: table
  16220. #: guix-git/doc/guix.texi:10657
  16221. msgid "If @var{obj} is another kind of object, it is inserted as is."
  16222. msgstr ""
  16223. #. type: item
  16224. #: guix-git/doc/guix.texi:10658
  16225. #, no-wrap
  16226. msgid "#$@var{obj}:@var{output}"
  16227. msgstr ""
  16228. #. type: itemx
  16229. #: guix-git/doc/guix.texi:10659
  16230. #, no-wrap
  16231. msgid "(ungexp @var{obj} @var{output})"
  16232. msgstr ""
  16233. #. type: table
  16234. #: guix-git/doc/guix.texi:10663
  16235. msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})."
  16236. msgstr ""
  16237. #. type: item
  16238. #: guix-git/doc/guix.texi:10664
  16239. #, no-wrap
  16240. msgid "#+@var{obj}"
  16241. msgstr ""
  16242. #. type: itemx
  16243. #: guix-git/doc/guix.texi:10665
  16244. #, no-wrap
  16245. msgid "#+@var{obj}:output"
  16246. msgstr ""
  16247. #. type: itemx
  16248. #: guix-git/doc/guix.texi:10666
  16249. #, no-wrap
  16250. msgid "(ungexp-native @var{obj})"
  16251. msgstr ""
  16252. #. type: itemx
  16253. #: guix-git/doc/guix.texi:10667
  16254. #, no-wrap
  16255. msgid "(ungexp-native @var{obj} @var{output})"
  16256. msgstr ""
  16257. #. type: table
  16258. #: guix-git/doc/guix.texi:10670
  16259. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  16260. msgstr ""
  16261. #. type: item
  16262. #: guix-git/doc/guix.texi:10671
  16263. #, no-wrap
  16264. msgid "#$output[:@var{output}]"
  16265. msgstr ""
  16266. #. type: itemx
  16267. #: guix-git/doc/guix.texi:10672
  16268. #, no-wrap
  16269. msgid "(ungexp output [@var{output}])"
  16270. msgstr ""
  16271. #. type: table
  16272. #: guix-git/doc/guix.texi:10675
  16273. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  16274. msgstr ""
  16275. #. type: table
  16276. #: guix-git/doc/guix.texi:10677
  16277. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  16278. msgstr ""
  16279. #. type: item
  16280. #: guix-git/doc/guix.texi:10678
  16281. #, no-wrap
  16282. msgid "#$@@@var{lst}"
  16283. msgstr ""
  16284. #. type: itemx
  16285. #: guix-git/doc/guix.texi:10679
  16286. #, no-wrap
  16287. msgid "(ungexp-splicing @var{lst})"
  16288. msgstr ""
  16289. #. type: table
  16290. #: guix-git/doc/guix.texi:10682
  16291. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  16292. msgstr ""
  16293. #. type: item
  16294. #: guix-git/doc/guix.texi:10683
  16295. #, no-wrap
  16296. msgid "#+@@@var{lst}"
  16297. msgstr ""
  16298. #. type: itemx
  16299. #: guix-git/doc/guix.texi:10684
  16300. #, no-wrap
  16301. msgid "(ungexp-native-splicing @var{lst})"
  16302. msgstr ""
  16303. #. type: table
  16304. #: guix-git/doc/guix.texi:10687
  16305. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  16306. msgstr ""
  16307. #. type: deffn
  16308. #: guix-git/doc/guix.texi:10692
  16309. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  16310. msgstr ""
  16311. #. type: deffn
  16312. #: guix-git/doc/guix.texi:10694
  16313. #, no-wrap
  16314. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  16315. msgstr ""
  16316. #. type: deffn
  16317. #: guix-git/doc/guix.texi:10697
  16318. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  16319. msgstr ""
  16320. #. type: deffn
  16321. #: guix-git/doc/guix.texi:10701
  16322. msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:"
  16323. msgstr ""
  16324. #. type: lisp
  16325. #: guix-git/doc/guix.texi:10707
  16326. #, no-wrap
  16327. msgid ""
  16328. "`((guix build utils)\n"
  16329. " (guix gcrypt)\n"
  16330. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  16331. " #~(define-module @dots{}))))\n"
  16332. msgstr ""
  16333. #. type: deffn
  16334. #: guix-git/doc/guix.texi:10712
  16335. msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object."
  16336. msgstr ""
  16337. #. type: deffn
  16338. #: guix-git/doc/guix.texi:10716
  16339. msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}."
  16340. msgstr ""
  16341. #. type: deffn
  16342. #: guix-git/doc/guix.texi:10718
  16343. #, no-wrap
  16344. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  16345. msgstr ""
  16346. #. type: deffn
  16347. #: guix-git/doc/guix.texi:10723
  16348. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in their build and execution environment. @var{extensions} is typically a list of package objects such as those defined in the @code{(gnu packages guile)} module."
  16349. msgstr ""
  16350. #. type: deffn
  16351. #: guix-git/doc/guix.texi:10728
  16352. msgid "Concretely, the packages listed in @var{extensions} are added to the load path while compiling imported modules in @var{body}@dots{}; they are also added to the load path of the gexp returned by @var{body}@dots{}."
  16353. msgstr ""
  16354. #. type: deffn
  16355. #: guix-git/doc/guix.texi:10730
  16356. #, no-wrap
  16357. msgid "{Scheme Procedure} gexp? @var{obj}"
  16358. msgstr ""
  16359. #. type: deffn
  16360. #: guix-git/doc/guix.texi:10732
  16361. msgid "Return @code{#t} if @var{obj} is a G-expression."
  16362. msgstr ""
  16363. #. type: Plain text
  16364. #: guix-git/doc/guix.texi:10738
  16365. msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads)."
  16366. msgstr ""
  16367. #. type: deffn
  16368. #: guix-git/doc/guix.texi:10739
  16369. #, no-wrap
  16370. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  16371. msgstr ""
  16372. #. type: deffn
  16373. #: guix-git/doc/guix.texi:10757
  16374. msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @code{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}."
  16375. msgstr ""
  16376. #. type: deffn
  16377. #: guix-git/doc/guix.texi:10765
  16378. msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  16379. msgstr ""
  16380. #. type: deffn
  16381. #: guix-git/doc/guix.texi:10768
  16382. msgid "@var{effective-version} determines the string to use when adding extensions of @var{exp} (see @code{with-extensions}) to the search path---e.g., @code{\"2.2\"}."
  16383. msgstr ""
  16384. #. type: deffn
  16385. #: guix-git/doc/guix.texi:10771
  16386. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  16387. msgstr ""
  16388. #. type: deffn
  16389. #: guix-git/doc/guix.texi:10774
  16390. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  16391. msgstr ""
  16392. #. type: example
  16393. #: guix-git/doc/guix.texi:10781
  16394. #, no-wrap
  16395. msgid ""
  16396. "(@var{file-name} @var{package})\n"
  16397. "(@var{file-name} @var{package} @var{output})\n"
  16398. "(@var{file-name} @var{derivation})\n"
  16399. "(@var{file-name} @var{derivation} @var{output})\n"
  16400. "(@var{file-name} @var{store-item})\n"
  16401. msgstr ""
  16402. #. type: deffn
  16403. #: guix-git/doc/guix.texi:10787
  16404. msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format."
  16405. msgstr ""
  16406. #. type: deffn
  16407. #: guix-git/doc/guix.texi:10793
  16408. msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs."
  16409. msgstr ""
  16410. #. type: deffn
  16411. #: guix-git/doc/guix.texi:10796
  16412. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  16413. msgstr ""
  16414. #. type: deffn
  16415. #: guix-git/doc/guix.texi:10798
  16416. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  16417. msgstr ""
  16418. #. type: cindex
  16419. #: guix-git/doc/guix.texi:10800
  16420. #, no-wrap
  16421. msgid "file-like objects"
  16422. msgstr ""
  16423. #. type: Plain text
  16424. #: guix-git/doc/guix.texi:10805
  16425. msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:"
  16426. msgstr ""
  16427. #. type: lisp
  16428. #: guix-git/doc/guix.texi:10809
  16429. #, no-wrap
  16430. msgid ""
  16431. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  16432. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  16433. msgstr ""
  16434. #. type: Plain text
  16435. #: guix-git/doc/guix.texi:10818
  16436. msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string."
  16437. msgstr ""
  16438. #. type: deffn
  16439. #: guix-git/doc/guix.texi:10819
  16440. #, no-wrap
  16441. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  16442. msgstr ""
  16443. #. type: deffn
  16444. #: guix-git/doc/guix.texi:10828
  16445. msgid "[#:recursive? #f] [#:select? (const #t)] Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a literal string denoting a relative file name, it is looked up relative to the source file where it appears; if @var{file} is not a literal string, it is looked up relative to the current working directory at run time. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}."
  16446. msgstr ""
  16447. #. type: deffn
  16448. #: guix-git/doc/guix.texi:10840
  16449. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  16450. msgstr ""
  16451. #. type: deffn
  16452. #: guix-git/doc/guix.texi:10842
  16453. #, no-wrap
  16454. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  16455. msgstr ""
  16456. #. type: deffn
  16457. #: guix-git/doc/guix.texi:10845
  16458. msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string or a bytevector) to be added to the store."
  16459. msgstr ""
  16460. #. type: deffn
  16461. #: guix-git/doc/guix.texi:10847
  16462. msgid "This is the declarative counterpart of @code{text-file}."
  16463. msgstr ""
  16464. #. type: deffn
  16465. #: guix-git/doc/guix.texi:10849
  16466. #, no-wrap
  16467. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  16468. msgstr ""
  16469. #. type: deffn
  16470. #: guix-git/doc/guix.texi:10856
  16471. msgid "[#:local-build? #t] [#:options '()] Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. When @var{local-build?} is true (the default), the derivation is built locally. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}."
  16472. msgstr ""
  16473. #. type: deffn
  16474. #: guix-git/doc/guix.texi:10858
  16475. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  16476. msgstr ""
  16477. #. type: deffn
  16478. #: guix-git/doc/guix.texi:10860
  16479. #, no-wrap
  16480. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  16481. msgstr ""
  16482. #. type: deffn
  16483. #: guix-git/doc/guix.texi:10866
  16484. msgid "[#:guile (default-guile)] [#:module-path %load-path] @ [#:system (%current-system)] [#:target #f] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}."
  16485. msgstr ""
  16486. #. type: deffn
  16487. #: guix-git/doc/guix.texi:10869
  16488. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  16489. msgstr ""
  16490. #. type: lisp
  16491. #: guix-git/doc/guix.texi:10872
  16492. #, no-wrap
  16493. msgid ""
  16494. "(use-modules (guix gexp) (gnu packages base))\n"
  16495. "\n"
  16496. msgstr ""
  16497. #. type: lisp
  16498. #: guix-git/doc/guix.texi:10876
  16499. #, no-wrap
  16500. msgid ""
  16501. "(gexp->script \"list-files\"\n"
  16502. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  16503. " \"ls\"))\n"
  16504. msgstr ""
  16505. #. type: deffn
  16506. #: guix-git/doc/guix.texi:10881
  16507. msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:"
  16508. msgstr ""
  16509. #. type: example
  16510. #: guix-git/doc/guix.texi:10886
  16511. #, no-wrap
  16512. msgid ""
  16513. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  16514. "!#\n"
  16515. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  16516. msgstr ""
  16517. #. type: deffn
  16518. #: guix-git/doc/guix.texi:10889
  16519. #, no-wrap
  16520. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  16521. msgstr ""
  16522. #. type: deffn
  16523. #: guix-git/doc/guix.texi:10894
  16524. msgid "[#:guile #f] [#:module-path %load-path] Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}."
  16525. msgstr ""
  16526. #. type: deffn
  16527. #: guix-git/doc/guix.texi:10896
  16528. msgid "This is the declarative counterpart of @code{gexp->script}."
  16529. msgstr ""
  16530. #. type: deffn
  16531. #: guix-git/doc/guix.texi:10898
  16532. #, no-wrap
  16533. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  16534. msgstr ""
  16535. #. type: deffn
  16536. #: guix-git/doc/guix.texi:10905
  16537. msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file."
  16538. msgstr ""
  16539. #. type: deffn
  16540. #: guix-git/doc/guix.texi:10910
  16541. msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}."
  16542. msgstr ""
  16543. #. type: deffn
  16544. #: guix-git/doc/guix.texi:10913
  16545. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  16546. msgstr ""
  16547. #. type: deffn
  16548. #: guix-git/doc/guix.texi:10915
  16549. #, no-wrap
  16550. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  16551. msgstr ""
  16552. #. type: deffn
  16553. #: guix-git/doc/guix.texi:10919
  16554. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  16555. msgstr ""
  16556. #. type: deffn
  16557. #: guix-git/doc/guix.texi:10921
  16558. msgid "This is the declarative counterpart of @code{gexp->file}."
  16559. msgstr ""
  16560. #. type: deffn
  16561. #: guix-git/doc/guix.texi:10923
  16562. #, no-wrap
  16563. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  16564. msgstr ""
  16565. #. type: deffn
  16566. #: guix-git/doc/guix.texi:10929
  16567. msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these."
  16568. msgstr ""
  16569. #. type: deffn
  16570. #: guix-git/doc/guix.texi:10934
  16571. msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:"
  16572. msgstr ""
  16573. #. type: lisp
  16574. #: guix-git/doc/guix.texi:10942
  16575. #, no-wrap
  16576. msgid ""
  16577. "(define (profile.sh)\n"
  16578. " ;; Return the name of a shell script in the store that\n"
  16579. " ;; initializes the 'PATH' environment variable.\n"
  16580. " (text-file* \"profile.sh\"\n"
  16581. " \"export PATH=\" coreutils \"/bin:\"\n"
  16582. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  16583. msgstr ""
  16584. #. type: deffn
  16585. #: guix-git/doc/guix.texi:10947
  16586. msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime."
  16587. msgstr ""
  16588. #. type: deffn
  16589. #: guix-git/doc/guix.texi:10949
  16590. #, no-wrap
  16591. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16592. msgstr ""
  16593. #. type: deffn
  16594. #: guix-git/doc/guix.texi:10953
  16595. msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:"
  16596. msgstr ""
  16597. #. type: lisp
  16598. #: guix-git/doc/guix.texi:10957
  16599. #, no-wrap
  16600. msgid ""
  16601. "(mixed-text-file \"profile\"\n"
  16602. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16603. msgstr ""
  16604. #. type: deffn
  16605. #: guix-git/doc/guix.texi:10960
  16606. msgid "This is the declarative counterpart of @code{text-file*}."
  16607. msgstr ""
  16608. #. type: deffn
  16609. #: guix-git/doc/guix.texi:10962
  16610. #, no-wrap
  16611. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16612. msgstr ""
  16613. #. type: deffn
  16614. #: guix-git/doc/guix.texi:10967
  16615. msgid "Return a @code{<computed-file>} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:"
  16616. msgstr ""
  16617. #. type: lisp
  16618. #: guix-git/doc/guix.texi:10974
  16619. #, no-wrap
  16620. msgid ""
  16621. "(file-union \"etc\"\n"
  16622. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16623. " \"127.0.0.1 localhost\"))\n"
  16624. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16625. " \"alias ls='ls --color=auto'\"))))\n"
  16626. msgstr ""
  16627. #. type: deffn
  16628. #: guix-git/doc/guix.texi:10977
  16629. msgid "This yields an @code{etc} directory containing these two files."
  16630. msgstr ""
  16631. #. type: deffn
  16632. #: guix-git/doc/guix.texi:10979
  16633. #, no-wrap
  16634. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16635. msgstr ""
  16636. #. type: deffn
  16637. #: guix-git/doc/guix.texi:10982
  16638. msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:"
  16639. msgstr ""
  16640. #. type: lisp
  16641. #: guix-git/doc/guix.texi:10985
  16642. #, no-wrap
  16643. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16644. msgstr ""
  16645. #. type: deffn
  16646. #: guix-git/doc/guix.texi:10988
  16647. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16648. msgstr ""
  16649. #. type: deffn
  16650. #: guix-git/doc/guix.texi:10990
  16651. #, no-wrap
  16652. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16653. msgstr ""
  16654. #. type: deffn
  16655. #: guix-git/doc/guix.texi:10994
  16656. msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string."
  16657. msgstr ""
  16658. #. type: deffn
  16659. #: guix-git/doc/guix.texi:10996
  16660. msgid "As an example, consider this gexp:"
  16661. msgstr ""
  16662. #. type: lisp
  16663. #: guix-git/doc/guix.texi:11001
  16664. #, no-wrap
  16665. msgid ""
  16666. "(gexp->script \"run-uname\"\n"
  16667. " #~(system* #$(file-append coreutils\n"
  16668. " \"/bin/uname\")))\n"
  16669. msgstr ""
  16670. #. type: deffn
  16671. #: guix-git/doc/guix.texi:11004
  16672. msgid "The same effect could be achieved with:"
  16673. msgstr ""
  16674. #. type: lisp
  16675. #: guix-git/doc/guix.texi:11009
  16676. #, no-wrap
  16677. msgid ""
  16678. "(gexp->script \"run-uname\"\n"
  16679. " #~(system* (string-append #$coreutils\n"
  16680. " \"/bin/uname\")))\n"
  16681. msgstr ""
  16682. #. type: deffn
  16683. #: guix-git/doc/guix.texi:11015
  16684. msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}."
  16685. msgstr ""
  16686. #. type: deffn
  16687. #: guix-git/doc/guix.texi:11017
  16688. #, no-wrap
  16689. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16690. msgstr ""
  16691. #. type: deffnx
  16692. #: guix-git/doc/guix.texi:11018
  16693. #, no-wrap
  16694. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16695. msgstr ""
  16696. #. type: deffn
  16697. #: guix-git/doc/guix.texi:11021
  16698. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16699. msgstr ""
  16700. #. type: deffn
  16701. #: guix-git/doc/guix.texi:11026
  16702. msgid "In the second case, additionally bind @var{target} to the current cross-compilation target---a GNU triplet such as @code{\"arm-linux-gnueabihf\"}---or @code{#f} if we are not cross-compiling."
  16703. msgstr ""
  16704. #. type: deffn
  16705. #: guix-git/doc/guix.texi:11029
  16706. msgid "@code{let-system} is useful in the occasional case where the object spliced into the gexp depends on the target system, as in this example:"
  16707. msgstr ""
  16708. #. type: lisp
  16709. #: guix-git/doc/guix.texi:11040
  16710. #, no-wrap
  16711. msgid ""
  16712. "#~(system*\n"
  16713. " #+(let-system system\n"
  16714. " (cond ((string-prefix? \"armhf-\" system)\n"
  16715. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16716. " ((string-prefix? \"x86_64-\" system)\n"
  16717. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16718. " (else\n"
  16719. " (error \"dunno!\"))))\n"
  16720. " \"-net\" \"user\" #$image)\n"
  16721. msgstr ""
  16722. #. type: deffn
  16723. #: guix-git/doc/guix.texi:11043
  16724. #, no-wrap
  16725. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16726. msgstr ""
  16727. #. type: deffn
  16728. #: guix-git/doc/guix.texi:11049
  16729. msgid "This macro is similar to the @code{parameterize} form for dynamically-bound @dfn{parameters} (@pxref{Parameters,,, guile, GNU Guile Reference Manual}). The key difference is that it takes effect when the file-like object returned by @var{exp} is lowered to a derivation or store item."
  16730. msgstr ""
  16731. #. type: deffn
  16732. #: guix-git/doc/guix.texi:11052
  16733. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16734. msgstr ""
  16735. #. type: lisp
  16736. #: guix-git/doc/guix.texi:11056
  16737. #, no-wrap
  16738. msgid ""
  16739. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16740. " coreutils)\n"
  16741. msgstr ""
  16742. #. type: deffn
  16743. #: guix-git/doc/guix.texi:11060
  16744. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16745. msgstr ""
  16746. #. type: Plain text
  16747. #: guix-git/doc/guix.texi:11067
  16748. msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space."
  16749. msgstr ""
  16750. #. type: Plain text
  16751. #: guix-git/doc/guix.texi:11073
  16752. msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure."
  16753. msgstr ""
  16754. #. type: deffn
  16755. #: guix-git/doc/guix.texi:11074
  16756. #, no-wrap
  16757. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16758. msgstr ""
  16759. #. type: deffn
  16760. #: guix-git/doc/guix.texi:11080
  16761. msgid "[#:target #f] Return as a value in @code{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{<package>}."
  16762. msgstr ""
  16763. #. type: deffn
  16764. #: guix-git/doc/guix.texi:11082
  16765. #, no-wrap
  16766. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16767. msgstr ""
  16768. #. type: deffn
  16769. #: guix-git/doc/guix.texi:11090
  16770. msgid "Sometimes, it may be useful to convert a G-exp into a S-exp. For example, some linters (@pxref{Invoking guix lint}) peek into the build phases of a package to detect potential problems. This conversion can be achieved with this procedure. However, some information can be lost in the process. More specifically, lowerable objects will be silently replaced with some arbitrary object -- currently the list @code{(*approximate*)}, but this may change."
  16771. msgstr ""
  16772. #. type: section
  16773. #: guix-git/doc/guix.texi:11093
  16774. #, no-wrap
  16775. msgid "Invoking @command{guix repl}"
  16776. msgstr ""
  16777. #. type: cindex
  16778. #: guix-git/doc/guix.texi:11095
  16779. #, no-wrap
  16780. msgid "REPL, read-eval-print loop, script"
  16781. msgstr ""
  16782. #. type: Plain text
  16783. #: guix-git/doc/guix.texi:11105
  16784. msgid "The @command{guix repl} command makes it easier to program Guix in Guile by launching a Guile @dfn{read-eval-print loop} (REPL) for interactive programming (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}), or by running Guile scripts (@pxref{Running Guile Scripts,,, guile, GNU Guile Reference Manual}). Compared to just launching the @command{guile} command, @command{guix repl} guarantees that all the Guix modules and all its dependencies are available in the search path."
  16785. msgstr ""
  16786. #. type: example
  16787. #: guix-git/doc/guix.texi:11110
  16788. #, no-wrap
  16789. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16790. msgstr ""
  16791. #. type: Plain text
  16792. #: guix-git/doc/guix.texi:11114
  16793. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16794. msgstr ""
  16795. #. type: example
  16796. #: guix-git/doc/guix.texi:11117
  16797. #, no-wrap
  16798. msgid "guix repl my-script.scm\n"
  16799. msgstr ""
  16800. #. type: Plain text
  16801. #: guix-git/doc/guix.texi:11121
  16802. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16803. msgstr ""
  16804. #. type: example
  16805. #: guix-git/doc/guix.texi:11124
  16806. #, no-wrap
  16807. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16808. msgstr ""
  16809. #. type: Plain text
  16810. #: guix-git/doc/guix.texi:11129
  16811. msgid "To make a script executable directly from the shell, using the guix executable that is on the user's search path, add the following two lines at the top of the script:"
  16812. msgstr ""
  16813. #. type: example
  16814. #: guix-git/doc/guix.texi:11133
  16815. #, no-wrap
  16816. msgid ""
  16817. "@code{#!/usr/bin/env -S guix repl --}\n"
  16818. "@code{!#}\n"
  16819. msgstr ""
  16820. #. type: Plain text
  16821. #: guix-git/doc/guix.texi:11136
  16822. msgid "Without a file name argument, a Guile REPL is started:"
  16823. msgstr ""
  16824. #. type: example
  16825. #: guix-git/doc/guix.texi:11142
  16826. #, no-wrap
  16827. msgid ""
  16828. "$ guix repl\n"
  16829. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16830. "scheme@@(guile-user)> coreutils\n"
  16831. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16832. msgstr ""
  16833. #. type: Plain text
  16834. #: guix-git/doc/guix.texi:11149
  16835. msgid "In addition, @command{guix repl} implements a simple machine-readable REPL protocol for use by @code{(guix inferior)}, a facility to interact with @dfn{inferiors}, separate processes running a potentially different revision of Guix."
  16836. msgstr ""
  16837. #. type: Plain text
  16838. #: guix-git/doc/guix.texi:11151
  16839. msgid "The available options are as follows:"
  16840. msgstr ""
  16841. #. type: item
  16842. #: guix-git/doc/guix.texi:11153 guix-git/doc/guix.texi:13872
  16843. #, no-wrap
  16844. msgid "--type=@var{type}"
  16845. msgstr ""
  16846. #. type: itemx
  16847. #: guix-git/doc/guix.texi:11154 guix-git/doc/guix.texi:13873
  16848. #: guix-git/doc/guix.texi:35839
  16849. #, no-wrap
  16850. msgid "-t @var{type}"
  16851. msgstr ""
  16852. #. type: table
  16853. #: guix-git/doc/guix.texi:11156
  16854. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16855. msgstr ""
  16856. #. type: item
  16857. #: guix-git/doc/guix.texi:11158
  16858. #, no-wrap
  16859. msgid "guile"
  16860. msgstr ""
  16861. #. type: table
  16862. #: guix-git/doc/guix.texi:11160
  16863. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16864. msgstr ""
  16865. #. type: item
  16866. #: guix-git/doc/guix.texi:11160
  16867. #, no-wrap
  16868. msgid "machine"
  16869. msgstr "stroj"
  16870. #. type: table
  16871. #: guix-git/doc/guix.texi:11163
  16872. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16873. msgstr ""
  16874. #. type: table
  16875. #: guix-git/doc/guix.texi:11169
  16876. msgid "By default, @command{guix repl} reads from standard input and writes to standard output. When this option is passed, it will instead listen for connections on @var{endpoint}. Here are examples of valid options:"
  16877. msgstr ""
  16878. #. type: item
  16879. #: guix-git/doc/guix.texi:11171
  16880. #, no-wrap
  16881. msgid "--listen=tcp:37146"
  16882. msgstr ""
  16883. #. type: table
  16884. #: guix-git/doc/guix.texi:11173
  16885. msgid "Accept connections on localhost on port 37146."
  16886. msgstr ""
  16887. #. type: item
  16888. #: guix-git/doc/guix.texi:11174
  16889. #, no-wrap
  16890. msgid "--listen=unix:/tmp/socket"
  16891. msgstr ""
  16892. #. type: table
  16893. #: guix-git/doc/guix.texi:11176
  16894. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16895. msgstr ""
  16896. #. type: item
  16897. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11283
  16898. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:13300
  16899. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13652
  16900. #: guix-git/doc/guix.texi:13920
  16901. #, no-wrap
  16902. msgid "--load-path=@var{directory}"
  16903. msgstr ""
  16904. #. type: itemx
  16905. #: guix-git/doc/guix.texi:11179 guix-git/doc/guix.texi:11284
  16906. #: guix-git/doc/guix.texi:13301 guix-git/doc/guix.texi:13508
  16907. #: guix-git/doc/guix.texi:13653 guix-git/doc/guix.texi:13921
  16908. #, no-wrap
  16909. msgid "-L @var{directory}"
  16910. msgstr ""
  16911. #. type: table
  16912. #: guix-git/doc/guix.texi:11182 guix-git/doc/guix.texi:11287
  16913. #: guix-git/doc/guix.texi:13185 guix-git/doc/guix.texi:13304
  16914. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13656
  16915. #: guix-git/doc/guix.texi:13924
  16916. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16917. msgstr ""
  16918. #. type: table
  16919. #: guix-git/doc/guix.texi:11185
  16920. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16921. msgstr ""
  16922. #. type: itemx
  16923. #: guix-git/doc/guix.texi:11186 guix-git/doc/guix.texi:11808
  16924. #, no-wrap
  16925. msgid "-q"
  16926. msgstr ""
  16927. #. type: table
  16928. #: guix-git/doc/guix.texi:11189
  16929. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16930. msgstr ""
  16931. #. type: Plain text
  16932. #: guix-git/doc/guix.texi:11199
  16933. msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way."
  16934. msgstr ""
  16935. #. type: cindex
  16936. #: guix-git/doc/guix.texi:11222
  16937. #, no-wrap
  16938. msgid "package building"
  16939. msgstr ""
  16940. #. type: command{#1}
  16941. #: guix-git/doc/guix.texi:11223
  16942. #, no-wrap
  16943. msgid "guix build"
  16944. msgstr ""
  16945. #. type: Plain text
  16946. #: guix-git/doc/guix.texi:11229
  16947. msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers."
  16948. msgstr ""
  16949. #. type: example
  16950. #: guix-git/doc/guix.texi:11234
  16951. #, no-wrap
  16952. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16953. msgstr ""
  16954. #. type: Plain text
  16955. #: guix-git/doc/guix.texi:11239
  16956. msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:"
  16957. msgstr ""
  16958. #. type: example
  16959. #: guix-git/doc/guix.texi:11242
  16960. #, no-wrap
  16961. msgid "guix build emacs guile\n"
  16962. msgstr ""
  16963. #. type: Plain text
  16964. #: guix-git/doc/guix.texi:11245
  16965. msgid "Similarly, the following command builds all the available packages:"
  16966. msgstr ""
  16967. #. type: example
  16968. #: guix-git/doc/guix.texi:11249
  16969. #, no-wrap
  16970. msgid ""
  16971. "guix build --quiet --keep-going \\\n"
  16972. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16973. msgstr ""
  16974. #. type: Plain text
  16975. #: guix-git/doc/guix.texi:11257
  16976. msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})."
  16977. msgstr ""
  16978. #. type: Plain text
  16979. #: guix-git/doc/guix.texi:11262
  16980. msgid "Alternatively, the @option{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed."
  16981. msgstr ""
  16982. #. type: Plain text
  16983. #: guix-git/doc/guix.texi:11265
  16984. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16985. msgstr ""
  16986. #. type: Plain text
  16987. #: guix-git/doc/guix.texi:11280
  16988. msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:"
  16989. msgstr ""
  16990. #. type: table
  16991. #: guix-git/doc/guix.texi:11290 guix-git/doc/guix.texi:13188
  16992. #: guix-git/doc/guix.texi:13514 guix-git/doc/guix.texi:13659
  16993. #: guix-git/doc/guix.texi:13927
  16994. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16995. msgstr ""
  16996. #. type: item
  16997. #: guix-git/doc/guix.texi:11291
  16998. #, no-wrap
  16999. msgid "--keep-failed"
  17000. msgstr ""
  17001. #. type: itemx
  17002. #: guix-git/doc/guix.texi:11292
  17003. #, no-wrap
  17004. msgid "-K"
  17005. msgstr ""
  17006. #. type: table
  17007. #: guix-git/doc/guix.texi:11298
  17008. msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues."
  17009. msgstr ""
  17010. #. type: table
  17011. #: guix-git/doc/guix.texi:11302
  17012. msgid "This option implies @option{--no-offload}, and it has no effect when connecting to a remote daemon with a @code{guix://} URI (@pxref{The Store, the @env{GUIX_DAEMON_SOCKET} variable})."
  17013. msgstr ""
  17014. #. type: item
  17015. #: guix-git/doc/guix.texi:11303
  17016. #, no-wrap
  17017. msgid "--keep-going"
  17018. msgstr ""
  17019. #. type: itemx
  17020. #: guix-git/doc/guix.texi:11304
  17021. #, no-wrap
  17022. msgid "-k"
  17023. msgstr ""
  17024. #. type: table
  17025. #: guix-git/doc/guix.texi:11307
  17026. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  17027. msgstr ""
  17028. #. type: table
  17029. #: guix-git/doc/guix.texi:11310
  17030. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  17031. msgstr ""
  17032. #. type: table
  17033. #: guix-git/doc/guix.texi:11314
  17034. msgid "Do not build the derivations."
  17035. msgstr ""
  17036. #. type: anchor{#1}
  17037. #: guix-git/doc/guix.texi:11316
  17038. msgid "fallback-option"
  17039. msgstr ""
  17040. #. type: item
  17041. #: guix-git/doc/guix.texi:11316
  17042. #, no-wrap
  17043. msgid "--fallback"
  17044. msgstr ""
  17045. #. type: table
  17046. #: guix-git/doc/guix.texi:11319
  17047. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  17048. msgstr ""
  17049. #. type: anchor{#1}
  17050. #: guix-git/doc/guix.texi:11325
  17051. msgid "client-substitute-urls"
  17052. msgstr ""
  17053. #. type: table
  17054. #: guix-git/doc/guix.texi:11325
  17055. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})."
  17056. msgstr ""
  17057. #. type: table
  17058. #: guix-git/doc/guix.texi:11329
  17059. msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})."
  17060. msgstr ""
  17061. #. type: table
  17062. #: guix-git/doc/guix.texi:11332
  17063. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  17064. msgstr ""
  17065. #. type: item
  17066. #: guix-git/doc/guix.texi:11338
  17067. #, no-wrap
  17068. msgid "--no-grafts"
  17069. msgstr ""
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11342
  17072. msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts."
  17073. msgstr ""
  17074. #. type: item
  17075. #: guix-git/doc/guix.texi:11343
  17076. #, no-wrap
  17077. msgid "--rounds=@var{n}"
  17078. msgstr ""
  17079. #. type: table
  17080. #: guix-git/doc/guix.texi:11346
  17081. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  17082. msgstr ""
  17083. #. type: table
  17084. #: guix-git/doc/guix.texi:11351
  17085. msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more."
  17086. msgstr ""
  17087. #. type: table
  17088. #: guix-git/doc/guix.texi:11367
  17089. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  17090. msgstr ""
  17091. #. type: table
  17092. #: guix-git/doc/guix.texi:11374
  17093. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  17094. msgstr ""
  17095. #. type: cindex
  17096. #: guix-git/doc/guix.texi:11377
  17097. #, no-wrap
  17098. msgid "verbosity, of the command-line tools"
  17099. msgstr ""
  17100. #. type: cindex
  17101. #: guix-git/doc/guix.texi:11378
  17102. #, no-wrap
  17103. msgid "build logs, verbosity"
  17104. msgstr ""
  17105. #. type: item
  17106. #: guix-git/doc/guix.texi:11379
  17107. #, no-wrap
  17108. msgid "-v @var{level}"
  17109. msgstr ""
  17110. #. type: itemx
  17111. #: guix-git/doc/guix.texi:11380
  17112. #, no-wrap
  17113. msgid "--verbosity=@var{level}"
  17114. msgstr ""
  17115. #. type: table
  17116. #: guix-git/doc/guix.texi:11385
  17117. msgid "Use the given verbosity @var{level}, an integer. Choosing 0 means that no output is produced, 1 is for quiet output; 2 is similar to 1 but it additionally displays download URLs; 3 shows all the build log output on standard error."
  17118. msgstr ""
  17119. #. type: table
  17120. #: guix-git/doc/guix.texi:11390
  17121. msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available."
  17122. msgstr ""
  17123. #. type: table
  17124. #: guix-git/doc/guix.texi:11396
  17125. msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @option{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option."
  17126. msgstr ""
  17127. #. type: item
  17128. #: guix-git/doc/guix.texi:11397
  17129. #, no-wrap
  17130. msgid "--debug=@var{level}"
  17131. msgstr ""
  17132. #. type: table
  17133. #: guix-git/doc/guix.texi:11401
  17134. msgid "Produce debugging output coming from the build daemon. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon."
  17135. msgstr ""
  17136. #. type: Plain text
  17137. #: guix-git/doc/guix.texi:11408
  17138. msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module."
  17139. msgstr ""
  17140. #. type: Plain text
  17141. #: guix-git/doc/guix.texi:11412
  17142. msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @env{GUIX_BUILD_OPTIONS} environment variable."
  17143. msgstr ""
  17144. #. type: defvr
  17145. #: guix-git/doc/guix.texi:11413
  17146. #, no-wrap
  17147. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  17148. msgstr ""
  17149. #. type: defvr
  17150. #: guix-git/doc/guix.texi:11418
  17151. msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:"
  17152. msgstr ""
  17153. #. type: example
  17154. #: guix-git/doc/guix.texi:11421
  17155. #, no-wrap
  17156. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  17157. msgstr ""
  17158. #. type: defvr
  17159. #: guix-git/doc/guix.texi:11425
  17160. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  17161. msgstr ""
  17162. #. type: cindex
  17163. #: guix-git/doc/guix.texi:11431
  17164. #, no-wrap
  17165. msgid "package variants"
  17166. msgstr ""
  17167. #. type: Plain text
  17168. #: guix-git/doc/guix.texi:11439
  17169. msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})."
  17170. msgstr ""
  17171. #. type: Plain text
  17172. #: guix-git/doc/guix.texi:11443
  17173. msgid "Package transformation options are preserved across upgrades: @command{guix upgrade} attempts to apply transformation options initially used when creating the profile to the upgraded packages."
  17174. msgstr ""
  17175. #. type: Plain text
  17176. #: guix-git/doc/guix.texi:11448
  17177. msgid "The available options are listed below. Most commands support them and also support a @option{--help-transform} option that lists all the available options and a synopsis (these options are not shown in the @option{--help} output for brevity)."
  17178. msgstr ""
  17179. #. type: cindex
  17180. #: guix-git/doc/guix.texi:11451
  17181. #, no-wrap
  17182. msgid "performance, tuning code"
  17183. msgstr ""
  17184. #. type: cindex
  17185. #: guix-git/doc/guix.texi:11452
  17186. #, no-wrap
  17187. msgid "optimization, of package code"
  17188. msgstr ""
  17189. #. type: cindex
  17190. #: guix-git/doc/guix.texi:11453
  17191. #, no-wrap
  17192. msgid "tuning, of package code"
  17193. msgstr ""
  17194. #. type: cindex
  17195. #: guix-git/doc/guix.texi:11454
  17196. #, no-wrap
  17197. msgid "SIMD support"
  17198. msgstr ""
  17199. #. type: cindex
  17200. #: guix-git/doc/guix.texi:11455
  17201. #, no-wrap
  17202. msgid "tunable packages"
  17203. msgstr ""
  17204. #. type: cindex
  17205. #: guix-git/doc/guix.texi:11456
  17206. #, no-wrap
  17207. msgid "package multi-versioning"
  17208. msgstr ""
  17209. #. type: item
  17210. #: guix-git/doc/guix.texi:11457
  17211. #, no-wrap
  17212. msgid "--tune[=@var{cpu}]"
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11461
  17216. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  17217. msgstr ""
  17218. #. type: table
  17219. #: guix-git/doc/guix.texi:11467
  17220. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  17221. msgstr ""
  17222. #. type: table
  17223. #: guix-git/doc/guix.texi:11474
  17224. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  17225. msgstr ""
  17226. #. type: table
  17227. #: guix-git/doc/guix.texi:11481
  17228. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  17229. msgstr ""
  17230. #. type: lisp
  17231. #: guix-git/doc/guix.texi:11486
  17232. #, no-wrap
  17233. msgid ""
  17234. "(package\n"
  17235. " (name \"hello-simd\")\n"
  17236. " ;; ...\n"
  17237. "\n"
  17238. msgstr ""
  17239. #. type: lisp
  17240. #: guix-git/doc/guix.texi:11490
  17241. #, no-wrap
  17242. msgid ""
  17243. " ;; This package may benefit from SIMD extensions so\n"
  17244. " ;; mark it as \"tunable\".\n"
  17245. " (properties '((tunable? . #t))))\n"
  17246. msgstr ""
  17247. #. type: table
  17248. #: guix-git/doc/guix.texi:11495
  17249. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  17250. msgstr ""
  17251. #. type: table
  17252. #: guix-git/doc/guix.texi:11501
  17253. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  17254. msgstr ""
  17255. #. type: table
  17256. #: guix-git/doc/guix.texi:11505
  17257. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  17258. msgstr ""
  17259. #. type: table
  17260. #: guix-git/doc/guix.texi:11511
  17261. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  17262. msgstr ""
  17263. #. type: item
  17264. #: guix-git/doc/guix.texi:11512
  17265. #, no-wrap
  17266. msgid "--with-source=@var{source}"
  17267. msgstr ""
  17268. #. type: itemx
  17269. #: guix-git/doc/guix.texi:11513
  17270. #, no-wrap
  17271. msgid "--with-source=@var{package}=@var{source}"
  17272. msgstr ""
  17273. #. type: itemx
  17274. #: guix-git/doc/guix.texi:11514
  17275. #, no-wrap
  17276. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11519
  17280. msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})."
  17281. msgstr ""
  17282. #. type: table
  17283. #: guix-git/doc/guix.texi:11525
  17284. msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}."
  17285. msgstr ""
  17286. #. type: table
  17287. #: guix-git/doc/guix.texi:11528
  17288. msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}."
  17289. msgstr ""
  17290. #. type: table
  17291. #: guix-git/doc/guix.texi:11533
  17292. msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:"
  17293. msgstr ""
  17294. #. type: example
  17295. #: guix-git/doc/guix.texi:11536
  17296. #, no-wrap
  17297. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  17298. msgstr ""
  17299. #. type: table
  17300. #: guix-git/doc/guix.texi:11540
  17301. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  17302. msgstr ""
  17303. #. type: example
  17304. #: guix-git/doc/guix.texi:11543
  17305. #, no-wrap
  17306. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  17307. msgstr ""
  17308. #. type: table
  17309. #: guix-git/doc/guix.texi:11546
  17310. msgid "@dots{} or to build from a checkout in a pristine environment:"
  17311. msgstr ""
  17312. #. type: example
  17313. #: guix-git/doc/guix.texi:11550
  17314. #, no-wrap
  17315. msgid ""
  17316. "$ git clone git://git.sv.gnu.org/guix.git\n"
  17317. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  17318. msgstr ""
  17319. #. type: item
  17320. #: guix-git/doc/guix.texi:11552
  17321. #, no-wrap
  17322. msgid "--with-input=@var{package}=@var{replacement}"
  17323. msgstr ""
  17324. #. type: table
  17325. #: guix-git/doc/guix.texi:11557
  17326. msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}."
  17327. msgstr ""
  17328. #. type: table
  17329. #: guix-git/doc/guix.texi:11561
  17330. msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.0}:"
  17331. msgstr ""
  17332. #. type: example
  17333. #: guix-git/doc/guix.texi:11564
  17334. #, no-wrap
  17335. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  17336. msgstr ""
  17337. #. type: table
  17338. #: guix-git/doc/guix.texi:11569
  17339. msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.0}."
  17340. msgstr ""
  17341. #. type: table
  17342. #: guix-git/doc/guix.texi:11572
  17343. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  17344. msgstr ""
  17345. #. type: item
  17346. #: guix-git/doc/guix.texi:11573
  17347. #, no-wrap
  17348. msgid "--with-graft=@var{package}=@var{replacement}"
  17349. msgstr ""
  17350. #. type: table
  17351. #: guix-git/doc/guix.texi:11579
  17352. msgid "This is similar to @option{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts."
  17353. msgstr ""
  17354. #. type: table
  17355. #: guix-git/doc/guix.texi:11583
  17356. msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:"
  17357. msgstr ""
  17358. #. type: example
  17359. #: guix-git/doc/guix.texi:11586
  17360. #, no-wrap
  17361. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  17362. msgstr ""
  17363. #. type: table
  17364. #: guix-git/doc/guix.texi:11595
  17365. msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!"
  17366. msgstr ""
  17367. #. type: cindex
  17368. #: guix-git/doc/guix.texi:11596 guix-git/doc/guix.texi:38565
  17369. #, no-wrap
  17370. msgid "debugging info, rebuilding"
  17371. msgstr ""
  17372. #. type: item
  17373. #: guix-git/doc/guix.texi:11597
  17374. #, no-wrap
  17375. msgid "--with-debug-info=@var{package}"
  17376. msgstr ""
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11602
  17379. msgid "Build @var{package} in a way that preserves its debugging info and graft it onto packages that depend on it. This is useful if @var{package} does not already provide debugging info as a @code{debug} output (@pxref{Installing Debugging Files})."
  17380. msgstr ""
  17381. #. type: table
  17382. #: guix-git/doc/guix.texi:11608
  17383. msgid "For example, suppose you're experiencing a crash in Inkscape and would like to see what's up in GLib, a library deep down in Inkscape's dependency graph. GLib lacks a @code{debug} output, so debugging is tough. Fortunately, you rebuild GLib with debugging info and tack it on Inkscape:"
  17384. msgstr ""
  17385. #. type: example
  17386. #: guix-git/doc/guix.texi:11611 guix-git/doc/guix.texi:38596
  17387. #, no-wrap
  17388. msgid "guix install inkscape --with-debug-info=glib\n"
  17389. msgstr ""
  17390. #. type: table
  17391. #: guix-git/doc/guix.texi:11615
  17392. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  17393. msgstr ""
  17394. #. type: quotation
  17395. #: guix-git/doc/guix.texi:11621
  17396. msgid "Under the hood, this option works by passing the @samp{#:strip-binaries? #f} to the build system of the package of interest (@pxref{Build Systems}). Most build systems support that option but some do not. In that case, an error is raised."
  17397. msgstr ""
  17398. #. type: quotation
  17399. #: guix-git/doc/guix.texi:11625
  17400. msgid "Likewise, if a C/C++ package is built without @code{-g} (which is rarely the case), debugging info will remain unavailable even when @code{#:strip-binaries?} is false."
  17401. msgstr ""
  17402. #. type: cindex
  17403. #: guix-git/doc/guix.texi:11627
  17404. #, no-wrap
  17405. msgid "tool chain, changing the build tool chain of a package"
  17406. msgstr ""
  17407. #. type: item
  17408. #: guix-git/doc/guix.texi:11628
  17409. #, no-wrap
  17410. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  17411. msgstr ""
  17412. #. type: table
  17413. #: guix-git/doc/guix.texi:11632
  17414. msgid "This option changes the compilation of @var{package} and everything that depends on it so that they get built with @var{toolchain} instead of the default GNU tool chain for C/C++."
  17415. msgstr ""
  17416. #. type: example
  17417. #: guix-git/doc/guix.texi:11639
  17418. #, no-wrap
  17419. msgid ""
  17420. "guix build octave-cli \\\n"
  17421. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  17422. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  17423. msgstr ""
  17424. #. type: table
  17425. #: guix-git/doc/guix.texi:11646
  17426. msgid "The command above builds a variant of the @code{fftw} and @code{fftwf} packages using version 10 of @code{gcc-toolchain} instead of the default tool chain, and then builds a variant of the GNU@tie{}Octave command-line interface using them. GNU@tie{}Octave itself is also built with @code{gcc-toolchain@@10}."
  17427. msgstr ""
  17428. #. type: table
  17429. #: guix-git/doc/guix.texi:11650
  17430. msgid "This other example builds the Hardware Locality (@code{hwloc}) library and its dependents up to @code{intel-mpi-benchmarks} with the Clang C compiler:"
  17431. msgstr ""
  17432. #. type: example
  17433. #: guix-git/doc/guix.texi:11654
  17434. #, no-wrap
  17435. msgid ""
  17436. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  17437. " intel-mpi-benchmarks\n"
  17438. msgstr ""
  17439. #. type: quotation
  17440. #: guix-git/doc/guix.texi:11663
  17441. msgid "There can be application binary interface (ABI) incompatibilities among tool chains. This is particularly true of the C++ standard library and run-time support libraries such as that of OpenMP@. By rebuilding all dependents with the same tool chain, @option{--with-c-toolchain} minimizes the risks of incompatibility but cannot entirely eliminate them. Choose @var{package} wisely."
  17442. msgstr ""
  17443. #. type: item
  17444. #: guix-git/doc/guix.texi:11665
  17445. #, no-wrap
  17446. msgid "--with-git-url=@var{package}=@var{url}"
  17447. msgstr ""
  17448. #. type: cindex
  17449. #: guix-git/doc/guix.texi:11666
  17450. #, no-wrap
  17451. msgid "Git, using the latest commit"
  17452. msgstr ""
  17453. #. type: cindex
  17454. #: guix-git/doc/guix.texi:11667
  17455. #, no-wrap
  17456. msgid "latest commit, building"
  17457. msgstr ""
  17458. #. type: table
  17459. #: guix-git/doc/guix.texi:11671
  17460. msgid "Build @var{package} from the latest commit of the @code{master} branch of the Git repository at @var{url}. Git sub-modules of the repository are fetched, recursively."
  17461. msgstr ""
  17462. #. type: table
  17463. #: guix-git/doc/guix.texi:11674
  17464. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  17465. msgstr ""
  17466. #. type: example
  17467. #: guix-git/doc/guix.texi:11678
  17468. #, no-wrap
  17469. msgid ""
  17470. "guix build python-numpy \\\n"
  17471. " --with-git-url=python=https://github.com/python/cpython\n"
  17472. msgstr ""
  17473. #. type: table
  17474. #: guix-git/doc/guix.texi:11682
  17475. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  17476. msgstr ""
  17477. #. type: cindex
  17478. #: guix-git/doc/guix.texi:11683 guix-git/doc/guix.texi:29390
  17479. #, no-wrap
  17480. msgid "continuous integration"
  17481. msgstr ""
  17482. #. type: table
  17483. #: guix-git/doc/guix.texi:11689
  17484. msgid "Obviously, since it uses the latest commit of the given branch, the result of such a command varies over time. Nevertheless it is a convenient way to rebuild entire software stacks against the latest commit of one or more packages. This is particularly useful in the context of continuous integration (CI)."
  17485. msgstr ""
  17486. #. type: table
  17487. #: guix-git/doc/guix.texi:11693
  17488. msgid "Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed up consecutive accesses to the same repository. You may want to clean it up once in a while to save disk space."
  17489. msgstr ""
  17490. #. type: item
  17491. #: guix-git/doc/guix.texi:11694
  17492. #, no-wrap
  17493. msgid "--with-branch=@var{package}=@var{branch}"
  17494. msgstr ""
  17495. #. type: table
  17496. #: guix-git/doc/guix.texi:11700
  17497. msgid "Build @var{package} from the latest commit of @var{branch}. If the @code{source} field of @var{package} is an origin with the @code{git-fetch} method (@pxref{origin Reference}) or a @code{git-checkout} object, the repository URL is taken from that @code{source}. Otherwise you have to use @option{--with-git-url} to specify the URL of the Git repository."
  17498. msgstr ""
  17499. #. type: table
  17500. #: guix-git/doc/guix.texi:11705
  17501. msgid "For instance, the following command builds @code{guile-sqlite3} from the latest commit of its @code{master} branch, and then builds @code{guix} (which depends on it) and @code{cuirass} (which depends on @code{guix}) against this specific @code{guile-sqlite3} build:"
  17502. msgstr ""
  17503. #. type: example
  17504. #: guix-git/doc/guix.texi:11708
  17505. #, no-wrap
  17506. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17507. msgstr ""
  17508. #. type: item
  17509. #: guix-git/doc/guix.texi:11710
  17510. #, no-wrap
  17511. msgid "--with-commit=@var{package}=@var{commit}"
  17512. msgstr ""
  17513. #. type: table
  17514. #: guix-git/doc/guix.texi:11715
  17515. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier, a tag, or a @command{git describe} style identifier such as @code{1.0-3-gabc123}."
  17516. msgstr ""
  17517. #. type: item
  17518. #: guix-git/doc/guix.texi:11716
  17519. #, no-wrap
  17520. msgid "--with-patch=@var{package}=@var{file}"
  17521. msgstr ""
  17522. #. type: table
  17523. #: guix-git/doc/guix.texi:11723
  17524. msgid "Add @var{file} to the list of patches applied to @var{package}, where @var{package} is a spec such as @code{python@@3.8} or @code{glibc}. @var{file} must contain a patch; it is applied with the flags specified in the @code{origin} of @var{package} (@pxref{origin Reference}), which by default includes @code{-p1} (@pxref{patch Directories,,, diffutils, Comparing and Merging Files})."
  17525. msgstr ""
  17526. #. type: table
  17527. #: guix-git/doc/guix.texi:11726
  17528. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  17529. msgstr ""
  17530. #. type: example
  17531. #: guix-git/doc/guix.texi:11729
  17532. #, no-wrap
  17533. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  17534. msgstr ""
  17535. #. type: table
  17536. #: guix-git/doc/guix.texi:11733
  17537. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  17538. msgstr ""
  17539. #. type: cindex
  17540. #: guix-git/doc/guix.texi:11734
  17541. #, no-wrap
  17542. msgid "upstream, latest version"
  17543. msgstr ""
  17544. #. type: item
  17545. #: guix-git/doc/guix.texi:11735
  17546. #, no-wrap
  17547. msgid "--with-latest=@var{package}"
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11740
  17551. msgid "So you like living on the bleeding edge? This option is for you! It replaces occurrences of @var{package} in the dependency graph with its latest upstream version, as reported by @command{guix refresh} (@pxref{Invoking guix refresh})."
  17552. msgstr ""
  17553. #. type: table
  17554. #: guix-git/doc/guix.texi:11744
  17555. msgid "It does so by determining the latest upstream release of @var{package} (if possible), downloading it, and authenticating it @emph{if} it comes with an OpenPGP signature."
  17556. msgstr ""
  17557. #. type: table
  17558. #: guix-git/doc/guix.texi:11747
  17559. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  17560. msgstr ""
  17561. #. type: example
  17562. #: guix-git/doc/guix.texi:11750
  17563. #, no-wrap
  17564. msgid "guix build guix --with-latest=guile-json\n"
  17565. msgstr ""
  17566. #. type: table
  17567. #: guix-git/doc/guix.texi:11759
  17568. msgid "There are limitations. First, in cases where the tool cannot or does not know how to authenticate source code, you are at risk of running malicious code; a warning is emitted in this case. Second, this option simply changes the source used in the existing package definitions, which is not always sufficient: there might be additional dependencies that need to be added, patches to apply, and more generally the quality assurance work that Guix developers normally do will be missing."
  17569. msgstr ""
  17570. #. type: table
  17571. #: guix-git/doc/guix.texi:11764
  17572. msgid "You've been warned! In all the other cases, it's a snappy way to stay on top. We encourage you to submit patches updating the actual package definitions once you have successfully tested an upgrade (@pxref{Contributing})."
  17573. msgstr ""
  17574. #. type: cindex
  17575. #: guix-git/doc/guix.texi:11765
  17576. #, no-wrap
  17577. msgid "test suite, skipping"
  17578. msgstr ""
  17579. #. type: item
  17580. #: guix-git/doc/guix.texi:11766
  17581. #, no-wrap
  17582. msgid "--without-tests=@var{package}"
  17583. msgstr ""
  17584. #. type: table
  17585. #: guix-git/doc/guix.texi:11772
  17586. msgid "Build @var{package} without running its tests. This can be useful in situations where you want to skip the lengthy test suite of a intermediate package, or if a package's test suite fails in a non-deterministic fashion. It should be used with care because running the test suite is a good way to ensure a package is working as intended."
  17587. msgstr ""
  17588. #. type: table
  17589. #: guix-git/doc/guix.texi:11776
  17590. msgid "Turning off tests leads to a different store item. Consequently, when using this option, anything that depends on @var{package} must be rebuilt, as in this example:"
  17591. msgstr ""
  17592. #. type: example
  17593. #: guix-git/doc/guix.texi:11779
  17594. #, no-wrap
  17595. msgid "guix install --without-tests=python python-notebook\n"
  17596. msgstr ""
  17597. #. type: table
  17598. #: guix-git/doc/guix.texi:11785
  17599. msgid "The command above installs @code{python-notebook} on top of @code{python} built without running its test suite. To do so, it also rebuilds everything that depends on @code{python}, including @code{python-notebook} itself."
  17600. msgstr ""
  17601. #. type: table
  17602. #: guix-git/doc/guix.texi:11791
  17603. msgid "Internally, @option{--without-tests} relies on changing the @code{#:tests?} option of a package's @code{check} phase (@pxref{Build Systems}). Note that some packages use a customized @code{check} phase that does not respect a @code{#:tests? #f} setting. Therefore, @option{--without-tests} has no effect on these packages."
  17604. msgstr ""
  17605. #. type: Plain text
  17606. #: guix-git/doc/guix.texi:11798
  17607. msgid "Wondering how to achieve the same effect using Scheme code, for example in your manifest, or how to write your own package transformation? @xref{Defining Package Variants}, for an overview of the programming interfaces available."
  17608. msgstr ""
  17609. #. type: Plain text
  17610. #: guix-git/doc/guix.texi:11804
  17611. msgid "The command-line options presented below are specific to @command{guix build}."
  17612. msgstr ""
  17613. #. type: item
  17614. #: guix-git/doc/guix.texi:11807
  17615. #, no-wrap
  17616. msgid "--quiet"
  17617. msgstr ""
  17618. #. type: table
  17619. #: guix-git/doc/guix.texi:11812
  17620. msgid "Build quietly, without displaying the build log; this is equivalent to @option{--verbosity=0}. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option."
  17621. msgstr ""
  17622. #. type: table
  17623. #: guix-git/doc/guix.texi:11817
  17624. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17625. msgstr ""
  17626. #. type: table
  17627. #: guix-git/doc/guix.texi:11820
  17628. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17629. msgstr ""
  17630. #. type: table
  17631. #: guix-git/doc/guix.texi:11829
  17632. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix build -f} on @file{hello.json} with the following contents would result in building the packages @code{myhello} and @code{greeter}:"
  17633. msgstr ""
  17634. #. type: item
  17635. #: guix-git/doc/guix.texi:11834
  17636. #, no-wrap
  17637. msgid "--manifest=@var{manifest}"
  17638. msgstr ""
  17639. #. type: itemx
  17640. #: guix-git/doc/guix.texi:11835
  17641. #, no-wrap
  17642. msgid "-m @var{manifest}"
  17643. msgstr ""
  17644. #. type: table
  17645. #: guix-git/doc/guix.texi:11838
  17646. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17647. msgstr ""
  17648. #. type: table
  17649. #: guix-git/doc/guix.texi:11842
  17650. msgid "Build the package or derivation @var{expr} evaluates to."
  17651. msgstr ""
  17652. #. type: table
  17653. #: guix-git/doc/guix.texi:11846
  17654. msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile."
  17655. msgstr ""
  17656. #. type: table
  17657. #: guix-git/doc/guix.texi:11850
  17658. msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})."
  17659. msgstr ""
  17660. #. type: table
  17661. #: guix-git/doc/guix.texi:11854
  17662. msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}."
  17663. msgstr ""
  17664. #. type: item
  17665. #: guix-git/doc/guix.texi:11855
  17666. #, no-wrap
  17667. msgid "--source"
  17668. msgstr ""
  17669. #. type: itemx
  17670. #: guix-git/doc/guix.texi:11856
  17671. #, no-wrap
  17672. msgid "-S"
  17673. msgstr ""
  17674. #. type: table
  17675. #: guix-git/doc/guix.texi:11859
  17676. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17677. msgstr ""
  17678. #. type: table
  17679. #: guix-git/doc/guix.texi:11863
  17680. msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball."
  17681. msgstr ""
  17682. #. type: table
  17683. #: guix-git/doc/guix.texi:11867
  17684. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17685. msgstr ""
  17686. #. type: cindex
  17687. #: guix-git/doc/guix.texi:11868
  17688. #, no-wrap
  17689. msgid "source, verification"
  17690. msgstr ""
  17691. #. type: table
  17692. #: guix-git/doc/guix.texi:11874
  17693. msgid "As with other derivations, the result of building a source derivation can be verified using the @option{--check} option (@pxref{build-check}). This is useful to validate that a (potentially already built or substituted, thus cached) package source matches against its declared hash."
  17694. msgstr ""
  17695. #. type: table
  17696. #: guix-git/doc/guix.texi:11879
  17697. msgid "Note that @command{guix build -S} compiles the sources only of the specified packages. They do not include the sources of statically linked dependencies and by themselves are insufficient for reproducing the packages."
  17698. msgstr ""
  17699. #. type: item
  17700. #: guix-git/doc/guix.texi:11880
  17701. #, no-wrap
  17702. msgid "--sources"
  17703. msgstr ""
  17704. #. type: table
  17705. #: guix-git/doc/guix.texi:11887
  17706. msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @option{--source} option and can accept one of the following optional argument values:"
  17707. msgstr ""
  17708. #. type: item
  17709. #: guix-git/doc/guix.texi:11889 guix-git/doc/guix.texi:13713
  17710. #, no-wrap
  17711. msgid "package"
  17712. msgstr "balík"
  17713. #. type: table
  17714. #: guix-git/doc/guix.texi:11892
  17715. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17716. msgstr ""
  17717. #. type: item
  17718. #: guix-git/doc/guix.texi:11893 guix-git/doc/guix.texi:20169
  17719. #, no-wrap
  17720. msgid "all"
  17721. msgstr ""
  17722. #. type: table
  17723. #: guix-git/doc/guix.texi:11896
  17724. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17725. msgstr ""
  17726. #. type: example
  17727. #: guix-git/doc/guix.texi:11902
  17728. #, no-wrap
  17729. msgid ""
  17730. "$ guix build --sources tzdata\n"
  17731. "The following derivations will be built:\n"
  17732. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17733. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17734. msgstr ""
  17735. #. type: item
  17736. #: guix-git/doc/guix.texi:11904
  17737. #, no-wrap
  17738. msgid "transitive"
  17739. msgstr ""
  17740. #. type: table
  17741. #: guix-git/doc/guix.texi:11908
  17742. msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g.@: to prefetch package source for later offline building."
  17743. msgstr ""
  17744. #. type: example
  17745. #: guix-git/doc/guix.texi:11919
  17746. #, no-wrap
  17747. msgid ""
  17748. "$ guix build --sources=transitive tzdata\n"
  17749. "The following derivations will be built:\n"
  17750. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17751. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17752. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17753. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17754. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17755. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17756. "@dots{}\n"
  17757. msgstr ""
  17758. #. type: table
  17759. #: guix-git/doc/guix.texi:11929
  17760. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host. The @command{guix build} command allows you to repeat this option several times, in which case it builds for all the specified systems; other commands ignore extraneous @option{-s} options."
  17761. msgstr ""
  17762. #. type: quotation
  17763. #: guix-git/doc/guix.texi:11934
  17764. msgid "The @option{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @option{--target} below for information on cross-compilation."
  17765. msgstr ""
  17766. #. type: table
  17767. #: guix-git/doc/guix.texi:11941
  17768. msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @option{--system=i686-linux} on an @code{x86_64-linux} system or @option{--system=armhf-linux} on an @code{aarch64-linux} system allows you to build packages in a complete 32-bit environment."
  17769. msgstr ""
  17770. #. type: quotation
  17771. #: guix-git/doc/guix.texi:11946
  17772. msgid "Building for an @code{armhf-linux} system is unconditionally enabled on @code{aarch64-linux} machines, although certain aarch64 chipsets do not allow for this functionality, notably the ThunderX."
  17773. msgstr ""
  17774. #. type: table
  17775. #: guix-git/doc/guix.texi:11952
  17776. msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed."
  17777. msgstr ""
  17778. #. type: table
  17779. #: guix-git/doc/guix.texi:11956
  17780. msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading."
  17781. msgstr ""
  17782. #. type: table
  17783. #: guix-git/doc/guix.texi:11962
  17784. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  17785. msgstr ""
  17786. #. type: anchor{#1}
  17787. #: guix-git/doc/guix.texi:11964
  17788. msgid "build-check"
  17789. msgstr ""
  17790. #. type: cindex
  17791. #: guix-git/doc/guix.texi:11965
  17792. #, no-wrap
  17793. msgid "determinism, checking"
  17794. msgstr ""
  17795. #. type: cindex
  17796. #: guix-git/doc/guix.texi:11966
  17797. #, no-wrap
  17798. msgid "reproducibility, checking"
  17799. msgstr ""
  17800. #. type: table
  17801. #: guix-git/doc/guix.texi:11970
  17802. msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical."
  17803. msgstr ""
  17804. #. type: table
  17805. #: guix-git/doc/guix.texi:11975
  17806. msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools."
  17807. msgstr ""
  17808. #. type: item
  17809. #: guix-git/doc/guix.texi:11980
  17810. #, no-wrap
  17811. msgid "--repair"
  17812. msgstr ""
  17813. #. type: cindex
  17814. #: guix-git/doc/guix.texi:11981
  17815. #, no-wrap
  17816. msgid "repairing store items"
  17817. msgstr ""
  17818. #. type: table
  17819. #: guix-git/doc/guix.texi:11985
  17820. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17821. msgstr ""
  17822. #. type: table
  17823. #: guix-git/doc/guix.texi:11987
  17824. msgid "This operation is not atomic and thus restricted to @code{root}."
  17825. msgstr ""
  17826. #. type: item
  17827. #: guix-git/doc/guix.texi:11988
  17828. #, no-wrap
  17829. msgid "--derivations"
  17830. msgstr ""
  17831. #. type: table
  17832. #: guix-git/doc/guix.texi:11992
  17833. msgid "Return the derivation paths, not the output paths, of the given packages."
  17834. msgstr ""
  17835. #. type: cindex
  17836. #: guix-git/doc/guix.texi:11995
  17837. #, no-wrap
  17838. msgid "GC roots, adding"
  17839. msgstr ""
  17840. #. type: cindex
  17841. #: guix-git/doc/guix.texi:11996
  17842. #, no-wrap
  17843. msgid "garbage collector roots, adding"
  17844. msgstr ""
  17845. #. type: table
  17846. #: guix-git/doc/guix.texi:11999 guix-git/doc/guix.texi:35870
  17847. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17848. msgstr ""
  17849. #. type: table
  17850. #: guix-git/doc/guix.texi:12005
  17851. msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots."
  17852. msgstr ""
  17853. #. type: item
  17854. #: guix-git/doc/guix.texi:12006
  17855. #, no-wrap
  17856. msgid "--log-file"
  17857. msgstr ""
  17858. #. type: cindex
  17859. #: guix-git/doc/guix.texi:12007
  17860. #, no-wrap
  17861. msgid "build logs, access"
  17862. msgstr ""
  17863. #. type: table
  17864. #: guix-git/doc/guix.texi:12011
  17865. msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing."
  17866. msgstr ""
  17867. #. type: table
  17868. #: guix-git/doc/guix.texi:12014
  17869. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17870. msgstr ""
  17871. #. type: example
  17872. #: guix-git/doc/guix.texi:12020
  17873. #, no-wrap
  17874. msgid ""
  17875. "guix build --log-file $(guix build -d guile)\n"
  17876. "guix build --log-file $(guix build guile)\n"
  17877. "guix build --log-file guile\n"
  17878. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:12025
  17882. msgid "If a log is unavailable locally, and unless @option{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @option{--substitute-urls})."
  17883. msgstr ""
  17884. #. type: table
  17885. #: guix-git/doc/guix.texi:12028
  17886. msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:"
  17887. msgstr ""
  17888. #. type: example
  17889. #: guix-git/doc/guix.texi:12032
  17890. #, no-wrap
  17891. msgid ""
  17892. "$ guix build --log-file gdb -s aarch64-linux\n"
  17893. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17894. msgstr ""
  17895. #. type: table
  17896. #: guix-git/doc/guix.texi:12035
  17897. msgid "You can freely access a huge library of build logs!"
  17898. msgstr ""
  17899. #. type: cindex
  17900. #: guix-git/doc/guix.texi:12040
  17901. #, no-wrap
  17902. msgid "build failures, debugging"
  17903. msgstr ""
  17904. #. type: Plain text
  17905. #: guix-git/doc/guix.texi:12046
  17906. msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses."
  17907. msgstr ""
  17908. #. type: Plain text
  17909. #: guix-git/doc/guix.texi:12051
  17910. msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @env{TMPDIR} (@pxref{Common Build Options, @option{--keep-failed}})."
  17911. msgstr ""
  17912. #. type: Plain text
  17913. #: guix-git/doc/guix.texi:12057
  17914. msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:"
  17915. msgstr ""
  17916. #. type: example
  17917. #: guix-git/doc/guix.texi:12064
  17918. #, no-wrap
  17919. msgid ""
  17920. "$ guix build foo -K\n"
  17921. "@dots{} @i{build fails}\n"
  17922. "$ cd /tmp/guix-build-foo.drv-0\n"
  17923. "$ source ./environment-variables\n"
  17924. "$ cd foo-1.2\n"
  17925. msgstr ""
  17926. #. type: Plain text
  17927. #: guix-git/doc/guix.texi:12068
  17928. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17929. msgstr ""
  17930. #. type: Plain text
  17931. #: guix-git/doc/guix.texi:12074
  17932. msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})."
  17933. msgstr ""
  17934. #. type: Plain text
  17935. #: guix-git/doc/guix.texi:12077
  17936. msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:"
  17937. msgstr ""
  17938. #. type: example
  17939. #: guix-git/doc/guix.texi:12085
  17940. #, no-wrap
  17941. msgid ""
  17942. "$ guix build -K foo\n"
  17943. "@dots{}\n"
  17944. "$ cd /tmp/guix-build-foo.drv-0\n"
  17945. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17946. "[env]# source ./environment-variables\n"
  17947. "[env]# cd foo-1.2\n"
  17948. msgstr ""
  17949. #. type: Plain text
  17950. #: guix-git/doc/guix.texi:12094
  17951. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  17952. msgstr ""
  17953. #. type: Plain text
  17954. #: guix-git/doc/guix.texi:12097
  17955. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17956. msgstr ""
  17957. #. type: example
  17958. #: guix-git/doc/guix.texi:12100
  17959. #, no-wrap
  17960. msgid "[env]# rm /bin/sh\n"
  17961. msgstr ""
  17962. #. type: Plain text
  17963. #: guix-git/doc/guix.texi:12104
  17964. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17965. msgstr ""
  17966. #. type: Plain text
  17967. #: guix-git/doc/guix.texi:12107
  17968. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17969. msgstr ""
  17970. #. type: example
  17971. #: guix-git/doc/guix.texi:12110
  17972. #, no-wrap
  17973. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17974. msgstr ""
  17975. #. type: Plain text
  17976. #: guix-git/doc/guix.texi:12115
  17977. msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses."
  17978. msgstr ""
  17979. #. type: section
  17980. #: guix-git/doc/guix.texi:12118
  17981. #, no-wrap
  17982. msgid "Invoking @command{guix edit}"
  17983. msgstr ""
  17984. #. type: command{#1}
  17985. #: guix-git/doc/guix.texi:12120
  17986. #, no-wrap
  17987. msgid "guix edit"
  17988. msgstr ""
  17989. #. type: cindex
  17990. #: guix-git/doc/guix.texi:12121
  17991. #, no-wrap
  17992. msgid "package definition, editing"
  17993. msgstr ""
  17994. #. type: Plain text
  17995. #: guix-git/doc/guix.texi:12126
  17996. msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:"
  17997. msgstr ""
  17998. #. type: example
  17999. #: guix-git/doc/guix.texi:12129
  18000. #, no-wrap
  18001. msgid "guix edit gcc@@4.9 vim\n"
  18002. msgstr ""
  18003. #. type: Plain text
  18004. #: guix-git/doc/guix.texi:12135
  18005. msgid "launches the program specified in the @env{VISUAL} or in the @env{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim."
  18006. msgstr ""
  18007. #. type: Plain text
  18008. #: guix-git/doc/guix.texi:12141
  18009. msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @env{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), you will be able to edit the package recipes. In other cases, you will be able to examine the read-only recipes for packages currently in the store."
  18010. msgstr ""
  18011. #. type: Plain text
  18012. #: guix-git/doc/guix.texi:12146
  18013. msgid "Instead of @env{GUIX_PACKAGE_PATH}, the command-line option @option{--load-path=@var{directory}} (or in short @option{-L @var{directory}}) allows you to add @var{directory} to the front of the package module search path and so make your own packages visible."
  18014. msgstr ""
  18015. #. type: section
  18016. #: guix-git/doc/guix.texi:12148
  18017. #, no-wrap
  18018. msgid "Invoking @command{guix download}"
  18019. msgstr ""
  18020. #. type: command{#1}
  18021. #: guix-git/doc/guix.texi:12150
  18022. #, no-wrap
  18023. msgid "guix download"
  18024. msgstr ""
  18025. #. type: cindex
  18026. #: guix-git/doc/guix.texi:12151
  18027. #, no-wrap
  18028. msgid "downloading package sources"
  18029. msgstr ""
  18030. #. type: Plain text
  18031. #: guix-git/doc/guix.texi:12158
  18032. msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash."
  18033. msgstr ""
  18034. #. type: Plain text
  18035. #: guix-git/doc/guix.texi:12165
  18036. msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})."
  18037. msgstr ""
  18038. #. type: Plain text
  18039. #: guix-git/doc/guix.texi:12173
  18040. msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information."
  18041. msgstr ""
  18042. #. type: Plain text
  18043. #: guix-git/doc/guix.texi:12178
  18044. msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @env{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used."
  18045. msgstr ""
  18046. #. type: Plain text
  18047. #: guix-git/doc/guix.texi:12180 guix-git/doc/guix.texi:14026
  18048. msgid "The following options are available:"
  18049. msgstr ""
  18050. #. type: item
  18051. #: guix-git/doc/guix.texi:12182 guix-git/doc/guix.texi:12226
  18052. #, no-wrap
  18053. msgid "--hash=@var{algorithm}"
  18054. msgstr ""
  18055. #. type: itemx
  18056. #: guix-git/doc/guix.texi:12183 guix-git/doc/guix.texi:12227
  18057. #, no-wrap
  18058. msgid "-H @var{algorithm}"
  18059. msgstr ""
  18060. #. type: table
  18061. #: guix-git/doc/guix.texi:12186
  18062. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  18063. msgstr ""
  18064. #. type: item
  18065. #: guix-git/doc/guix.texi:12187 guix-git/doc/guix.texi:12236
  18066. #, no-wrap
  18067. msgid "--format=@var{fmt}"
  18068. msgstr ""
  18069. #. type: itemx
  18070. #: guix-git/doc/guix.texi:12188 guix-git/doc/guix.texi:12237
  18071. #, no-wrap
  18072. msgid "-f @var{fmt}"
  18073. msgstr ""
  18074. #. type: table
  18075. #: guix-git/doc/guix.texi:12191
  18076. msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}."
  18077. msgstr ""
  18078. #. type: item
  18079. #: guix-git/doc/guix.texi:12192
  18080. #, no-wrap
  18081. msgid "--no-check-certificate"
  18082. msgstr ""
  18083. #. type: table
  18084. #: guix-git/doc/guix.texi:12194
  18085. msgid "Do not validate the X.509 certificates of HTTPS servers."
  18086. msgstr ""
  18087. #. type: table
  18088. #: guix-git/doc/guix.texi:12198
  18089. msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks."
  18090. msgstr ""
  18091. #. type: item
  18092. #: guix-git/doc/guix.texi:12199
  18093. #, no-wrap
  18094. msgid "--output=@var{file}"
  18095. msgstr ""
  18096. #. type: itemx
  18097. #: guix-git/doc/guix.texi:12200
  18098. #, no-wrap
  18099. msgid "-o @var{file}"
  18100. msgstr ""
  18101. #. type: table
  18102. #: guix-git/doc/guix.texi:12203
  18103. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  18104. msgstr ""
  18105. #. type: section
  18106. #: guix-git/doc/guix.texi:12206
  18107. #, no-wrap
  18108. msgid "Invoking @command{guix hash}"
  18109. msgstr ""
  18110. #. type: command{#1}
  18111. #: guix-git/doc/guix.texi:12208
  18112. #, no-wrap
  18113. msgid "guix hash"
  18114. msgstr ""
  18115. #. type: Plain text
  18116. #: guix-git/doc/guix.texi:12213
  18117. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  18118. msgstr ""
  18119. #. type: example
  18120. #: guix-git/doc/guix.texi:12218
  18121. #, no-wrap
  18122. msgid "guix hash @var{option} @var{file} ...\n"
  18123. msgstr ""
  18124. #. type: Plain text
  18125. #: guix-git/doc/guix.texi:12223
  18126. msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:"
  18127. msgstr ""
  18128. #. type: table
  18129. #: guix-git/doc/guix.texi:12230
  18130. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  18131. msgstr ""
  18132. #. type: table
  18133. #: guix-git/doc/guix.texi:12235
  18134. msgid "@var{algorithm} must be the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  18135. msgstr ""
  18136. #. type: table
  18137. #: guix-git/doc/guix.texi:12239
  18138. msgid "Write the hash in the format specified by @var{fmt}."
  18139. msgstr ""
  18140. #. type: table
  18141. #: guix-git/doc/guix.texi:12242
  18142. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  18143. msgstr ""
  18144. #. type: table
  18145. #: guix-git/doc/guix.texi:12246
  18146. msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages."
  18147. msgstr ""
  18148. #. type: table
  18149. #: guix-git/doc/guix.texi:12252
  18150. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  18151. msgstr ""
  18152. #. type: item
  18153. #: guix-git/doc/guix.texi:12253
  18154. #, no-wrap
  18155. msgid "--serializer=@var{type}"
  18156. msgstr ""
  18157. #. type: itemx
  18158. #: guix-git/doc/guix.texi:12254
  18159. #, no-wrap
  18160. msgid "-S @var{type}"
  18161. msgstr ""
  18162. #. type: table
  18163. #: guix-git/doc/guix.texi:12256
  18164. msgid "Compute the hash on @var{file} using @var{type} serialization."
  18165. msgstr ""
  18166. #. type: table
  18167. #: guix-git/doc/guix.texi:12258
  18168. msgid "@var{type} may be one of the following:"
  18169. msgstr ""
  18170. #. type: item
  18171. #: guix-git/doc/guix.texi:12260 guix-git/doc/guix.texi:14379
  18172. #: guix-git/doc/guix.texi:17892 guix-git/doc/guix.texi:20166
  18173. #, no-wrap
  18174. msgid "none"
  18175. msgstr "žiadny"
  18176. #. type: table
  18177. #: guix-git/doc/guix.texi:12262
  18178. msgid "This is the default: it computes the hash of a file's contents."
  18179. msgstr ""
  18180. #. type: item
  18181. #: guix-git/doc/guix.texi:12263
  18182. #, no-wrap
  18183. msgid "nar"
  18184. msgstr ""
  18185. #. type: table
  18186. #: guix-git/doc/guix.texi:12273
  18187. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps have no impact on the hash (@pxref{Invoking guix archive}, for more info on the nar format)."
  18188. msgstr ""
  18189. #. type: item
  18190. #: guix-git/doc/guix.texi:12274
  18191. #, no-wrap
  18192. msgid "git"
  18193. msgstr "git"
  18194. #. type: table
  18195. #: guix-git/doc/guix.texi:12277
  18196. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  18197. msgstr ""
  18198. #. type: item
  18199. #: guix-git/doc/guix.texi:12279
  18200. #, no-wrap
  18201. msgid "--exclude-vcs"
  18202. msgstr ""
  18203. #. type: itemx
  18204. #: guix-git/doc/guix.texi:12280 guix-git/doc/guix.texi:13499
  18205. #, no-wrap
  18206. msgid "-x"
  18207. msgstr ""
  18208. #. type: table
  18209. #: guix-git/doc/guix.texi:12283
  18210. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  18211. msgstr ""
  18212. #. type: vindex
  18213. #: guix-git/doc/guix.texi:12284
  18214. #, no-wrap
  18215. msgid "git-fetch"
  18216. msgstr ""
  18217. #. type: table
  18218. #: guix-git/doc/guix.texi:12288
  18219. msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):"
  18220. msgstr ""
  18221. #. type: example
  18222. #: guix-git/doc/guix.texi:12293
  18223. #, no-wrap
  18224. msgid ""
  18225. "$ git clone http://example.org/foo.git\n"
  18226. "$ cd foo\n"
  18227. "$ guix hash -x --serializer=nar .\n"
  18228. msgstr ""
  18229. #. type: cindex
  18230. #: guix-git/doc/guix.texi:12297 guix-git/doc/guix.texi:12302
  18231. #, no-wrap
  18232. msgid "Invoking @command{guix import}"
  18233. msgstr ""
  18234. #. type: cindex
  18235. #: guix-git/doc/guix.texi:12299
  18236. #, no-wrap
  18237. msgid "importing packages"
  18238. msgstr ""
  18239. #. type: cindex
  18240. #: guix-git/doc/guix.texi:12300
  18241. #, no-wrap
  18242. msgid "package import"
  18243. msgstr ""
  18244. #. type: cindex
  18245. #: guix-git/doc/guix.texi:12301
  18246. #, no-wrap
  18247. msgid "package conversion"
  18248. msgstr ""
  18249. #. type: Plain text
  18250. #: guix-git/doc/guix.texi:12309
  18251. msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})."
  18252. msgstr ""
  18253. #. type: example
  18254. #: guix-git/doc/guix.texi:12314
  18255. #, no-wrap
  18256. msgid "guix import @var{importer} @var{options}@dots{}\n"
  18257. msgstr ""
  18258. #. type: Plain text
  18259. #: guix-git/doc/guix.texi:12319
  18260. msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}."
  18261. msgstr ""
  18262. #. type: Plain text
  18263. #: guix-git/doc/guix.texi:12323
  18264. msgid "Some of the importers rely on the ability to run the @command{gpgv} command. For these, GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  18265. msgstr ""
  18266. #. type: Plain text
  18267. #: guix-git/doc/guix.texi:12325
  18268. msgid "Currently, the available ``importers'' are:"
  18269. msgstr ""
  18270. #. type: item
  18271. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12965
  18272. #, no-wrap
  18273. msgid "gnu"
  18274. msgstr ""
  18275. #. type: table
  18276. #: guix-git/doc/guix.texi:12331
  18277. msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description."
  18278. msgstr ""
  18279. #. type: table
  18280. #: guix-git/doc/guix.texi:12334
  18281. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  18282. msgstr ""
  18283. #. type: table
  18284. #: guix-git/doc/guix.texi:12337
  18285. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  18286. msgstr ""
  18287. #. type: example
  18288. #: guix-git/doc/guix.texi:12340
  18289. #, no-wrap
  18290. msgid "guix import gnu hello\n"
  18291. msgstr ""
  18292. #. type: table
  18293. #: guix-git/doc/guix.texi:12343 guix-git/doc/guix.texi:12584
  18294. #: guix-git/doc/guix.texi:12634 guix-git/doc/guix.texi:12663
  18295. msgid "Specific command-line options are:"
  18296. msgstr ""
  18297. #. type: item
  18298. #: guix-git/doc/guix.texi:12345 guix-git/doc/guix.texi:13162
  18299. #, no-wrap
  18300. msgid "--key-download=@var{policy}"
  18301. msgstr ""
  18302. #. type: table
  18303. #: guix-git/doc/guix.texi:12349
  18304. msgid "As for @command{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @option{--key-download}}."
  18305. msgstr ""
  18306. #. type: item
  18307. #: guix-git/doc/guix.texi:12351 guix-git/doc/guix.texi:12352
  18308. #: guix-git/doc/guix.texi:12989
  18309. #, no-wrap
  18310. msgid "pypi"
  18311. msgstr ""
  18312. #. type: table
  18313. #: guix-git/doc/guix.texi:12359
  18314. msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them."
  18315. msgstr ""
  18316. #. type: table
  18317. #: guix-git/doc/guix.texi:12362
  18318. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  18319. msgstr ""
  18320. #. type: example
  18321. #: guix-git/doc/guix.texi:12365
  18322. #, no-wrap
  18323. msgid "guix import pypi itsdangerous\n"
  18324. msgstr ""
  18325. #. type: table
  18326. #: guix-git/doc/guix.texi:12368 guix-git/doc/guix.texi:12471
  18327. #: guix-git/doc/guix.texi:12812
  18328. msgid "You can also ask for a specific version:"
  18329. msgstr ""
  18330. #. type: example
  18331. #: guix-git/doc/guix.texi:12371
  18332. #, no-wrap
  18333. msgid "guix import pypi itsdangerous@@1.1.0\n"
  18334. msgstr ""
  18335. #. type: table
  18336. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12404
  18337. #: guix-git/doc/guix.texi:12436 guix-git/doc/guix.texi:12607
  18338. #: guix-git/doc/guix.texi:12648 guix-git/doc/guix.texi:12699
  18339. #: guix-git/doc/guix.texi:12724 guix-git/doc/guix.texi:12740
  18340. #: guix-git/doc/guix.texi:12788 guix-git/doc/guix.texi:12824
  18341. msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  18342. msgstr ""
  18343. #. type: item
  18344. #: guix-git/doc/guix.texi:12381 guix-git/doc/guix.texi:12382
  18345. #: guix-git/doc/guix.texi:12991
  18346. #, no-wrap
  18347. msgid "gem"
  18348. msgstr ""
  18349. #. type: table
  18350. #: guix-git/doc/guix.texi:12391
  18351. msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager."
  18352. msgstr ""
  18353. #. type: table
  18354. #: guix-git/doc/guix.texi:12393
  18355. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  18356. msgstr ""
  18357. #. type: example
  18358. #: guix-git/doc/guix.texi:12396
  18359. #, no-wrap
  18360. msgid "guix import gem rails\n"
  18361. msgstr ""
  18362. #. type: cindex
  18363. #: guix-git/doc/guix.texi:12406 guix-git/doc/guix.texi:12407
  18364. #, no-wrap
  18365. msgid "minetest"
  18366. msgstr ""
  18367. #. type: cindex
  18368. #: guix-git/doc/guix.texi:12408
  18369. #, no-wrap
  18370. msgid "ContentDB"
  18371. msgstr ""
  18372. #. type: table
  18373. #: guix-git/doc/guix.texi:12417
  18374. msgid "Import metadata from @uref{https://content.minetest.net, ContentDB}. Information is taken from the JSON-formatted metadata provided through @uref{https://content.minetest.net/help/api/, ContentDB's API} and includes most relevant information, including dependencies. There are some caveats, however. The license information is often incomplete. The commit hash is sometimes missing. The descriptions are in the Markdown format, but Guix uses Texinfo instead. Texture packs and subgames are unsupported."
  18375. msgstr ""
  18376. #. type: table
  18377. #: guix-git/doc/guix.texi:12419
  18378. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  18379. msgstr ""
  18380. #. type: example
  18381. #: guix-git/doc/guix.texi:12422
  18382. #, no-wrap
  18383. msgid "guix import minetest Jeija/mesecons\n"
  18384. msgstr ""
  18385. #. type: table
  18386. #: guix-git/doc/guix.texi:12425
  18387. msgid "The author name can also be left out:"
  18388. msgstr ""
  18389. #. type: example
  18390. #: guix-git/doc/guix.texi:12428
  18391. #, no-wrap
  18392. msgid "guix import minetest mesecons\n"
  18393. msgstr ""
  18394. #. type: item
  18395. #: guix-git/doc/guix.texi:12438 guix-git/doc/guix.texi:12987
  18396. #, no-wrap
  18397. msgid "cpan"
  18398. msgstr ""
  18399. #. type: cindex
  18400. #: guix-git/doc/guix.texi:12439
  18401. #, no-wrap
  18402. msgid "CPAN"
  18403. msgstr ""
  18404. #. type: table
  18405. #: guix-git/doc/guix.texi:12447
  18406. msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies."
  18407. msgstr ""
  18408. #. type: table
  18409. #: guix-git/doc/guix.texi:12450
  18410. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  18411. msgstr ""
  18412. #. type: example
  18413. #: guix-git/doc/guix.texi:12453
  18414. #, no-wrap
  18415. msgid "guix import cpan Acme::Boolean\n"
  18416. msgstr ""
  18417. #. type: item
  18418. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12983
  18419. #, no-wrap
  18420. msgid "cran"
  18421. msgstr ""
  18422. #. type: cindex
  18423. #: guix-git/doc/guix.texi:12456
  18424. #, no-wrap
  18425. msgid "CRAN"
  18426. msgstr ""
  18427. #. type: cindex
  18428. #: guix-git/doc/guix.texi:12457
  18429. #, no-wrap
  18430. msgid "Bioconductor"
  18431. msgstr ""
  18432. #. type: table
  18433. #: guix-git/doc/guix.texi:12461
  18434. msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{https://r-project.org, GNU@tie{}R statistical and graphical environment}."
  18435. msgstr ""
  18436. #. type: table
  18437. #: guix-git/doc/guix.texi:12463
  18438. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  18439. msgstr ""
  18440. #. type: table
  18441. #: guix-git/doc/guix.texi:12465
  18442. msgid "The command command below imports metadata for the Cairo R package:"
  18443. msgstr ""
  18444. #. type: example
  18445. #: guix-git/doc/guix.texi:12468
  18446. #, no-wrap
  18447. msgid "guix import cran Cairo\n"
  18448. msgstr ""
  18449. #. type: example
  18450. #: guix-git/doc/guix.texi:12474
  18451. #, no-wrap
  18452. msgid "guix import cran rasterVis@@0.50.3\n"
  18453. msgstr ""
  18454. #. type: table
  18455. #: guix-git/doc/guix.texi:12479
  18456. msgid "When @option{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  18457. msgstr ""
  18458. #. type: table
  18459. #: guix-git/doc/guix.texi:12486
  18460. msgid "When @option{--style=specification} is added, the importer will generate package definitions whose inputs are package specifications instead of references to package variables. This is useful when generated package definitions are to be appended to existing user modules, as the list of used package modules need not be changed. The default is @option{--style=variable}."
  18461. msgstr ""
  18462. #. type: table
  18463. #: guix-git/doc/guix.texi:12491
  18464. msgid "When @option{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for the analysis and comprehension of high-throughput genomic data in bioinformatics."
  18465. msgstr ""
  18466. #. type: table
  18467. #: guix-git/doc/guix.texi:12494
  18468. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  18469. msgstr ""
  18470. #. type: table
  18471. #: guix-git/doc/guix.texi:12496
  18472. msgid "The command below imports metadata for the GenomicRanges R package:"
  18473. msgstr ""
  18474. #. type: example
  18475. #: guix-git/doc/guix.texi:12499
  18476. #, no-wrap
  18477. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  18478. msgstr ""
  18479. #. type: table
  18480. #: guix-git/doc/guix.texi:12504
  18481. msgid "Finally, you can also import R packages that have not yet been published on CRAN or Bioconductor as long as they are in a git repository. Use @option{--archive=git} followed by the URL of the git repository:"
  18482. msgstr ""
  18483. #. type: example
  18484. #: guix-git/doc/guix.texi:12507
  18485. #, no-wrap
  18486. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  18487. msgstr ""
  18488. #. type: item
  18489. #: guix-git/doc/guix.texi:12509
  18490. #, no-wrap
  18491. msgid "texlive"
  18492. msgstr ""
  18493. #. type: cindex
  18494. #: guix-git/doc/guix.texi:12510
  18495. #, no-wrap
  18496. msgid "TeX Live"
  18497. msgstr ""
  18498. #. type: cindex
  18499. #: guix-git/doc/guix.texi:12511
  18500. #, no-wrap
  18501. msgid "CTAN"
  18502. msgstr ""
  18503. #. type: table
  18504. #: guix-git/doc/guix.texi:12515
  18505. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  18506. msgstr ""
  18507. #. type: table
  18508. #: guix-git/doc/guix.texi:12520
  18509. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  18510. msgstr ""
  18511. #. type: table
  18512. #: guix-git/doc/guix.texi:12523
  18513. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  18514. msgstr ""
  18515. #. type: example
  18516. #: guix-git/doc/guix.texi:12526
  18517. #, no-wrap
  18518. msgid "guix import texlive fontspec\n"
  18519. msgstr ""
  18520. #. type: cindex
  18521. #: guix-git/doc/guix.texi:12529
  18522. #, no-wrap
  18523. msgid "JSON, import"
  18524. msgstr ""
  18525. #. type: table
  18526. #: guix-git/doc/guix.texi:12532
  18527. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  18528. msgstr ""
  18529. #. type: example
  18530. #: guix-git/doc/guix.texi:12545
  18531. #, no-wrap
  18532. msgid ""
  18533. "@{\n"
  18534. " \"name\": \"hello\",\n"
  18535. " \"version\": \"2.10\",\n"
  18536. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18537. " \"build-system\": \"gnu\",\n"
  18538. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  18539. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  18540. " \"description\": \"GNU Hello prints a greeting.\",\n"
  18541. " \"license\": \"GPL-3.0+\",\n"
  18542. " \"native-inputs\": [\"gettext\"]\n"
  18543. "@}\n"
  18544. msgstr ""
  18545. #. type: table
  18546. #: guix-git/doc/guix.texi:12551
  18547. msgid "The field names are the same as for the @code{<package>} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}."
  18548. msgstr ""
  18549. #. type: table
  18550. #: guix-git/doc/guix.texi:12554
  18551. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  18552. msgstr ""
  18553. #. type: example
  18554. #: guix-git/doc/guix.texi:12567
  18555. #, no-wrap
  18556. msgid ""
  18557. "@{\n"
  18558. " @dots{}\n"
  18559. " \"source\": @{\n"
  18560. " \"method\": \"url-fetch\",\n"
  18561. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18562. " \"sha256\": @{\n"
  18563. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  18564. " @}\n"
  18565. " @}\n"
  18566. " @dots{}\n"
  18567. "@}\n"
  18568. msgstr ""
  18569. #. type: table
  18570. #: guix-git/doc/guix.texi:12571
  18571. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  18572. msgstr ""
  18573. #. type: example
  18574. #: guix-git/doc/guix.texi:12574
  18575. #, no-wrap
  18576. msgid "guix import json hello.json\n"
  18577. msgstr ""
  18578. #. type: item
  18579. #: guix-git/doc/guix.texi:12576 guix-git/doc/guix.texi:12577
  18580. #: guix-git/doc/guix.texi:12995
  18581. #, no-wrap
  18582. msgid "hackage"
  18583. msgstr ""
  18584. #. type: table
  18585. #: guix-git/doc/guix.texi:12582
  18586. msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies."
  18587. msgstr ""
  18588. #. type: item
  18589. #: guix-git/doc/guix.texi:12586
  18590. #, no-wrap
  18591. msgid "--stdin"
  18592. msgstr ""
  18593. #. type: itemx
  18594. #: guix-git/doc/guix.texi:12587
  18595. #, no-wrap
  18596. msgid "-s"
  18597. msgstr ""
  18598. #. type: table
  18599. #: guix-git/doc/guix.texi:12589
  18600. msgid "Read a Cabal file from standard input."
  18601. msgstr ""
  18602. #. type: item
  18603. #: guix-git/doc/guix.texi:12589 guix-git/doc/guix.texi:12636
  18604. #, no-wrap
  18605. msgid "--no-test-dependencies"
  18606. msgstr ""
  18607. #. type: table
  18608. #: guix-git/doc/guix.texi:12592 guix-git/doc/guix.texi:12639
  18609. msgid "Do not include dependencies required only by the test suites."
  18610. msgstr ""
  18611. #. type: item
  18612. #: guix-git/doc/guix.texi:12592
  18613. #, no-wrap
  18614. msgid "--cabal-environment=@var{alist}"
  18615. msgstr ""
  18616. #. type: itemx
  18617. #: guix-git/doc/guix.texi:12593
  18618. #, no-wrap
  18619. msgid "-e @var{alist}"
  18620. msgstr ""
  18621. #. type: table
  18622. #: guix-git/doc/guix.texi:12602
  18623. msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively."
  18624. msgstr ""
  18625. #. type: table
  18626. #: guix-git/doc/guix.texi:12612
  18627. msgid "The command below imports metadata for the latest version of the HTTP Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:"
  18628. msgstr ""
  18629. #. type: example
  18630. #: guix-git/doc/guix.texi:12615
  18631. #, no-wrap
  18632. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18633. msgstr ""
  18634. #. type: table
  18635. #: guix-git/doc/guix.texi:12619
  18636. msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:"
  18637. msgstr ""
  18638. #. type: example
  18639. #: guix-git/doc/guix.texi:12622
  18640. #, no-wrap
  18641. msgid "guix import hackage mtl@@2.1.3.1\n"
  18642. msgstr ""
  18643. #. type: item
  18644. #: guix-git/doc/guix.texi:12624 guix-git/doc/guix.texi:12625
  18645. #: guix-git/doc/guix.texi:12997
  18646. #, no-wrap
  18647. msgid "stackage"
  18648. msgstr ""
  18649. #. type: table
  18650. #: guix-git/doc/guix.texi:12632
  18651. msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix."
  18652. msgstr ""
  18653. #. type: item
  18654. #: guix-git/doc/guix.texi:12639
  18655. #, no-wrap
  18656. msgid "--lts-version=@var{version}"
  18657. msgstr ""
  18658. #. type: itemx
  18659. #: guix-git/doc/guix.texi:12640
  18660. #, no-wrap
  18661. msgid "-l @var{version}"
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:12643
  18665. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18666. msgstr ""
  18667. #. type: table
  18668. #: guix-git/doc/guix.texi:12652
  18669. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18670. msgstr ""
  18671. #. type: example
  18672. #: guix-git/doc/guix.texi:12655
  18673. #, no-wrap
  18674. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18675. msgstr ""
  18676. #. type: item
  18677. #: guix-git/doc/guix.texi:12657 guix-git/doc/guix.texi:12658
  18678. #: guix-git/doc/guix.texi:12981
  18679. #, no-wrap
  18680. msgid "elpa"
  18681. msgstr ""
  18682. #. type: table
  18683. #: guix-git/doc/guix.texi:12661
  18684. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18685. msgstr ""
  18686. #. type: item
  18687. #: guix-git/doc/guix.texi:12665
  18688. #, no-wrap
  18689. msgid "--archive=@var{repo}"
  18690. msgstr ""
  18691. #. type: itemx
  18692. #: guix-git/doc/guix.texi:12666
  18693. #, no-wrap
  18694. msgid "-a @var{repo}"
  18695. msgstr ""
  18696. #. type: table
  18697. #: guix-git/doc/guix.texi:12670
  18698. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18699. msgstr ""
  18700. #. type: itemize
  18701. #: guix-git/doc/guix.texi:12674
  18702. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18703. msgstr ""
  18704. #. type: itemize
  18705. #: guix-git/doc/guix.texi:12680
  18706. msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})."
  18707. msgstr ""
  18708. #. type: itemize
  18709. #: guix-git/doc/guix.texi:12684
  18710. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18711. msgstr ""
  18712. #. type: itemize
  18713. #: guix-git/doc/guix.texi:12688
  18714. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18715. msgstr ""
  18716. #. type: itemize
  18717. #: guix-git/doc/guix.texi:12692
  18718. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18719. msgstr ""
  18720. #. type: item
  18721. #: guix-git/doc/guix.texi:12701 guix-git/doc/guix.texi:12702
  18722. #: guix-git/doc/guix.texi:12999
  18723. #, no-wrap
  18724. msgid "crate"
  18725. msgstr ""
  18726. #. type: table
  18727. #: guix-git/doc/guix.texi:12705
  18728. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18729. msgstr ""
  18730. #. type: example
  18731. #: guix-git/doc/guix.texi:12708
  18732. #, no-wrap
  18733. msgid "guix import crate blake2-rfc\n"
  18734. msgstr ""
  18735. #. type: table
  18736. #: guix-git/doc/guix.texi:12711
  18737. msgid "The crate importer also allows you to specify a version string:"
  18738. msgstr ""
  18739. #. type: example
  18740. #: guix-git/doc/guix.texi:12714
  18741. #, no-wrap
  18742. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18743. msgstr ""
  18744. #. type: table
  18745. #: guix-git/doc/guix.texi:12717 guix-git/doc/guix.texi:12733
  18746. #: guix-git/doc/guix.texi:12781 guix-git/doc/guix.texi:12818
  18747. msgid "Additional options include:"
  18748. msgstr ""
  18749. #. type: item
  18750. #: guix-git/doc/guix.texi:12726
  18751. #, no-wrap
  18752. msgid "opam"
  18753. msgstr ""
  18754. #. type: cindex
  18755. #: guix-git/doc/guix.texi:12727
  18756. #, no-wrap
  18757. msgid "OPAM"
  18758. msgstr ""
  18759. #. type: cindex
  18760. #: guix-git/doc/guix.texi:12728
  18761. #, no-wrap
  18762. msgid "OCaml"
  18763. msgstr "OCaml"
  18764. #. type: table
  18765. #: guix-git/doc/guix.texi:12731
  18766. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18767. msgstr ""
  18768. #. type: item
  18769. #: guix-git/doc/guix.texi:12740
  18770. #, no-wrap
  18771. msgid "--repo"
  18772. msgstr ""
  18773. #. type: table
  18774. #: guix-git/doc/guix.texi:12744
  18775. msgid "By default, packages are searched in the official OPAM repository. This option, which can be used more than once, lets you add other repositories which will be searched for packages. It accepts as valid arguments:"
  18776. msgstr ""
  18777. #. type: item
  18778. #: guix-git/doc/guix.texi:12746
  18779. #, no-wrap
  18780. msgid "the name of a known repository - can be one of @code{opam},"
  18781. msgstr ""
  18782. #. type: itemize
  18783. #: guix-git/doc/guix.texi:12749
  18784. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18785. msgstr ""
  18786. #. type: item
  18787. #: guix-git/doc/guix.texi:12749
  18788. #, no-wrap
  18789. msgid "the URL of a repository as expected by the"
  18790. msgstr ""
  18791. #. type: itemize
  18792. #: guix-git/doc/guix.texi:12753
  18793. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18794. msgstr ""
  18795. #. type: item
  18796. #: guix-git/doc/guix.texi:12753
  18797. #, no-wrap
  18798. msgid "the path to a local copy of a repository (a directory containing a"
  18799. msgstr ""
  18800. #. type: itemize
  18801. #: guix-git/doc/guix.texi:12755
  18802. msgid "@file{packages/} sub-directory)."
  18803. msgstr ""
  18804. #. type: table
  18805. #: guix-git/doc/guix.texi:12760
  18806. msgid "Repositories are assumed to be passed to this option by order of preference. The additional repositories will not replace the default @code{opam} repository, which is always kept as a fallback."
  18807. msgstr ""
  18808. #. type: table
  18809. #: guix-git/doc/guix.texi:12765
  18810. msgid "Also, please note that versions are not compared across repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  18811. msgstr ""
  18812. #. type: cindex
  18813. #: guix-git/doc/guix.texi:12768 guix-git/doc/guix.texi:12769
  18814. #, no-wrap
  18815. msgid "go"
  18816. msgstr ""
  18817. #. type: table
  18818. #: guix-git/doc/guix.texi:12772
  18819. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18820. msgstr ""
  18821. #. type: example
  18822. #: guix-git/doc/guix.texi:12775
  18823. #, no-wrap
  18824. msgid "guix import go gopkg.in/yaml.v2\n"
  18825. msgstr ""
  18826. #. type: table
  18827. #: guix-git/doc/guix.texi:12779
  18828. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18829. msgstr ""
  18830. #. type: item
  18831. #: guix-git/doc/guix.texi:12788
  18832. #, no-wrap
  18833. msgid "--pin-versions"
  18834. msgstr ""
  18835. #. type: table
  18836. #: guix-git/doc/guix.texi:12796
  18837. msgid "When using this option, the importer preserves the exact versions of the Go modules dependencies instead of using their latest available versions. This can be useful when attempting to import packages that recursively depend on former versions of themselves to build. When using this mode, the symbol of the package is made by appending the version to its name, so that multiple versions of the same package can coexist."
  18838. msgstr ""
  18839. #. type: item
  18840. #: guix-git/doc/guix.texi:12798 guix-git/doc/guix.texi:12799
  18841. #: guix-git/doc/guix.texi:12979
  18842. #, no-wrap
  18843. msgid "egg"
  18844. msgstr ""
  18845. #. type: table
  18846. #: guix-git/doc/guix.texi:12806
  18847. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  18848. msgstr ""
  18849. #. type: example
  18850. #: guix-git/doc/guix.texi:12809
  18851. #, no-wrap
  18852. msgid "guix import egg sourcehut\n"
  18853. msgstr ""
  18854. #. type: example
  18855. #: guix-git/doc/guix.texi:12815
  18856. #, no-wrap
  18857. msgid "guix import egg arrays@@1.0\n"
  18858. msgstr ""
  18859. #. type: Plain text
  18860. #: guix-git/doc/guix.texi:12830
  18861. msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})."
  18862. msgstr ""
  18863. #. type: section
  18864. #: guix-git/doc/guix.texi:12832
  18865. #, no-wrap
  18866. msgid "Invoking @command{guix refresh}"
  18867. msgstr ""
  18868. #. type: command{#1}
  18869. #: guix-git/doc/guix.texi:12834
  18870. #, no-wrap
  18871. msgid "guix refresh"
  18872. msgstr ""
  18873. #. type: Plain text
  18874. #: guix-git/doc/guix.texi:12842
  18875. msgid "The primary audience of the @command{guix refresh} command is packagers. As a user, you may be interested in the @option{--with-latest} option, which can bring you package update superpowers built upon @command{guix refresh} (@pxref{Package Transformation Options, @option{--with-latest}}). By default, @command{guix refresh} reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:"
  18876. msgstr ""
  18877. #. type: example
  18878. #: guix-git/doc/guix.texi:12847
  18879. #, no-wrap
  18880. msgid ""
  18881. "$ guix refresh\n"
  18882. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18883. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18884. msgstr ""
  18885. #. type: Plain text
  18886. #: guix-git/doc/guix.texi:12851
  18887. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18888. msgstr ""
  18889. #. type: example
  18890. #: guix-git/doc/guix.texi:12856
  18891. #, no-wrap
  18892. msgid ""
  18893. "$ guix refresh coreutils guile guile-ssh\n"
  18894. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18895. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18896. msgstr ""
  18897. #. type: Plain text
  18898. #: guix-git/doc/guix.texi:12865
  18899. msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!"
  18900. msgstr ""
  18901. #. type: table
  18902. #: guix-git/doc/guix.texi:12870
  18903. msgid "Consider the packages specified, and all the packages upon which they depend."
  18904. msgstr ""
  18905. #. type: example
  18906. #: guix-git/doc/guix.texi:12878
  18907. #, no-wrap
  18908. msgid ""
  18909. "$ guix refresh --recursive coreutils\n"
  18910. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18911. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18912. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18913. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18914. "@dots{}\n"
  18915. msgstr ""
  18916. #. type: Plain text
  18917. #: guix-git/doc/guix.texi:12886
  18918. msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:"
  18919. msgstr ""
  18920. #. type: lisp
  18921. #: guix-git/doc/guix.texi:12893
  18922. #, no-wrap
  18923. msgid ""
  18924. "(define-public network-manager\n"
  18925. " (package\n"
  18926. " (name \"network-manager\")\n"
  18927. " ;; @dots{}\n"
  18928. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18929. msgstr ""
  18930. #. type: Plain text
  18931. #: guix-git/doc/guix.texi:12902
  18932. msgid "When passed @option{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpgv}, and finally computing its hash---note that GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  18933. msgstr ""
  18934. #. type: Plain text
  18935. #: guix-git/doc/guix.texi:12908
  18936. msgid "When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error."
  18937. msgstr ""
  18938. #. type: Plain text
  18939. #: guix-git/doc/guix.texi:12910
  18940. msgid "The following options are supported:"
  18941. msgstr ""
  18942. #. type: table
  18943. #: guix-git/doc/guix.texi:12918 guix-git/doc/guix.texi:13908
  18944. msgid "This is useful to precisely refer to a package, as in this example:"
  18945. msgstr ""
  18946. #. type: example
  18947. #: guix-git/doc/guix.texi:12921
  18948. #, no-wrap
  18949. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18950. msgstr ""
  18951. #. type: table
  18952. #: guix-git/doc/guix.texi:12925
  18953. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18954. msgstr ""
  18955. #. type: item
  18956. #: guix-git/doc/guix.texi:12926
  18957. #, no-wrap
  18958. msgid "--update"
  18959. msgstr ""
  18960. #. type: itemx
  18961. #: guix-git/doc/guix.texi:12927
  18962. #, no-wrap
  18963. msgid "-u"
  18964. msgstr ""
  18965. #. type: table
  18966. #: guix-git/doc/guix.texi:12931
  18967. msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):"
  18968. msgstr ""
  18969. #. type: example
  18970. #: guix-git/doc/guix.texi:12934
  18971. #, no-wrap
  18972. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18973. msgstr ""
  18974. #. type: table
  18975. #: guix-git/doc/guix.texi:12937
  18976. msgid "@xref{Defining Packages}, for more information on package definitions."
  18977. msgstr ""
  18978. #. type: item
  18979. #: guix-git/doc/guix.texi:12938
  18980. #, no-wrap
  18981. msgid "--select=[@var{subset}]"
  18982. msgstr ""
  18983. #. type: itemx
  18984. #: guix-git/doc/guix.texi:12939
  18985. #, no-wrap
  18986. msgid "-s @var{subset}"
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12942
  18990. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18991. msgstr ""
  18992. #. type: table
  18993. #: guix-git/doc/guix.texi:12949
  18994. msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade."
  18995. msgstr ""
  18996. #. type: table
  18997. #: guix-git/doc/guix.texi:12953
  18998. msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient."
  18999. msgstr ""
  19000. #. type: table
  19001. #: guix-git/doc/guix.texi:12958
  19002. msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated."
  19003. msgstr ""
  19004. #. type: item
  19005. #: guix-git/doc/guix.texi:12959
  19006. #, no-wrap
  19007. msgid "--type=@var{updater}"
  19008. msgstr ""
  19009. #. type: itemx
  19010. #: guix-git/doc/guix.texi:12960
  19011. #, no-wrap
  19012. msgid "-t @var{updater}"
  19013. msgstr ""
  19014. #. type: table
  19015. #: guix-git/doc/guix.texi:12963
  19016. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  19017. msgstr ""
  19018. #. type: table
  19019. #: guix-git/doc/guix.texi:12967
  19020. msgid "the updater for GNU packages;"
  19021. msgstr ""
  19022. #. type: item
  19023. #: guix-git/doc/guix.texi:12967
  19024. #, no-wrap
  19025. msgid "savannah"
  19026. msgstr ""
  19027. #. type: table
  19028. #: guix-git/doc/guix.texi:12969
  19029. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  19030. msgstr ""
  19031. #. type: item
  19032. #: guix-git/doc/guix.texi:12969
  19033. #, no-wrap
  19034. msgid "sourceforge"
  19035. msgstr ""
  19036. #. type: table
  19037. #: guix-git/doc/guix.texi:12971
  19038. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  19039. msgstr ""
  19040. #. type: item
  19041. #: guix-git/doc/guix.texi:12971
  19042. #, no-wrap
  19043. msgid "gnome"
  19044. msgstr ""
  19045. #. type: table
  19046. #: guix-git/doc/guix.texi:12973
  19047. msgid "the updater for GNOME packages;"
  19048. msgstr ""
  19049. #. type: item
  19050. #: guix-git/doc/guix.texi:12973
  19051. #, no-wrap
  19052. msgid "kde"
  19053. msgstr "kde"
  19054. #. type: table
  19055. #: guix-git/doc/guix.texi:12975
  19056. msgid "the updater for KDE packages;"
  19057. msgstr ""
  19058. #. type: item
  19059. #: guix-git/doc/guix.texi:12975
  19060. #, no-wrap
  19061. msgid "xorg"
  19062. msgstr ""
  19063. #. type: table
  19064. #: guix-git/doc/guix.texi:12977
  19065. msgid "the updater for X.org packages;"
  19066. msgstr ""
  19067. #. type: item
  19068. #: guix-git/doc/guix.texi:12977
  19069. #, no-wrap
  19070. msgid "kernel.org"
  19071. msgstr ""
  19072. #. type: table
  19073. #: guix-git/doc/guix.texi:12979
  19074. msgid "the updater for packages hosted on kernel.org;"
  19075. msgstr ""
  19076. #. type: table
  19077. #: guix-git/doc/guix.texi:12981
  19078. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  19079. msgstr ""
  19080. #. type: table
  19081. #: guix-git/doc/guix.texi:12983
  19082. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  19083. msgstr ""
  19084. #. type: table
  19085. #: guix-git/doc/guix.texi:12985
  19086. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  19087. msgstr ""
  19088. #. type: item
  19089. #: guix-git/doc/guix.texi:12985
  19090. #, no-wrap
  19091. msgid "bioconductor"
  19092. msgstr ""
  19093. #. type: table
  19094. #: guix-git/doc/guix.texi:12987
  19095. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  19096. msgstr ""
  19097. #. type: table
  19098. #: guix-git/doc/guix.texi:12989
  19099. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  19100. msgstr ""
  19101. #. type: table
  19102. #: guix-git/doc/guix.texi:12991
  19103. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  19104. msgstr ""
  19105. #. type: table
  19106. #: guix-git/doc/guix.texi:12993
  19107. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  19108. msgstr ""
  19109. #. type: item
  19110. #: guix-git/doc/guix.texi:12993
  19111. #, no-wrap
  19112. msgid "github"
  19113. msgstr ""
  19114. #. type: table
  19115. #: guix-git/doc/guix.texi:12995
  19116. msgid "the updater for @uref{https://github.com, GitHub} packages."
  19117. msgstr ""
  19118. #. type: table
  19119. #: guix-git/doc/guix.texi:12997
  19120. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  19121. msgstr ""
  19122. #. type: table
  19123. #: guix-git/doc/guix.texi:12999
  19124. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  19125. msgstr ""
  19126. #. type: table
  19127. #: guix-git/doc/guix.texi:13001
  19128. msgid "the updater for @uref{https://crates.io, Crates} packages."
  19129. msgstr ""
  19130. #. type: item
  19131. #: guix-git/doc/guix.texi:13001
  19132. #, no-wrap
  19133. msgid "launchpad"
  19134. msgstr ""
  19135. #. type: table
  19136. #: guix-git/doc/guix.texi:13003
  19137. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  19138. msgstr ""
  19139. #. type: item
  19140. #: guix-git/doc/guix.texi:13003
  19141. #, no-wrap
  19142. msgid "generic-html"
  19143. msgstr ""
  19144. #. type: table
  19145. #: guix-git/doc/guix.texi:13006
  19146. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  19147. msgstr ""
  19148. #. type: item
  19149. #: guix-git/doc/guix.texi:13007
  19150. #, no-wrap
  19151. msgid "generic-git"
  19152. msgstr ""
  19153. #. type: table
  19154. #: guix-git/doc/guix.texi:13012
  19155. msgid "a generic updater for packages hosted on Git repositories. It tries to be smart about parsing Git tag names, but if it is not able to parse the tag name and compare tags correctly, users can define the following properties for a package."
  19156. msgstr ""
  19157. #. type: item
  19158. #: guix-git/doc/guix.texi:13014
  19159. #, no-wrap
  19160. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  19161. msgstr ""
  19162. #. type: itemize
  19163. #: guix-git/doc/guix.texi:13016 guix-git/doc/guix.texi:13019
  19164. msgid "the tag name."
  19165. msgstr ""
  19166. #. type: item
  19167. #: guix-git/doc/guix.texi:13017
  19168. #, no-wrap
  19169. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  19170. msgstr ""
  19171. #. type: item
  19172. #: guix-git/doc/guix.texi:13020
  19173. #, no-wrap
  19174. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  19175. msgstr ""
  19176. #. type: itemize
  19177. #: guix-git/doc/guix.texi:13022
  19178. msgid "the tag name for separating the numbers of the version."
  19179. msgstr ""
  19180. #. type: item
  19181. #: guix-git/doc/guix.texi:13023
  19182. #, no-wrap
  19183. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  19184. msgstr ""
  19185. #. type: itemize
  19186. #: guix-git/doc/guix.texi:13026
  19187. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  19188. msgstr ""
  19189. #. type: lisp
  19190. #: guix-git/doc/guix.texi:13037
  19191. #, no-wrap
  19192. msgid ""
  19193. "(package\n"
  19194. " (name \"foo\")\n"
  19195. " ;; ...\n"
  19196. " (properties\n"
  19197. " '((release-tag-prefix . \"^release0-\")\n"
  19198. " (release-tag-suffix . \"[a-z]?$\")\n"
  19199. " (release-tag-version-delimiter . \":\"))))\n"
  19200. msgstr ""
  19201. #. type: table
  19202. #: guix-git/doc/guix.texi:13044
  19203. msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:"
  19204. msgstr ""
  19205. #. type: example
  19206. #: guix-git/doc/guix.texi:13049
  19207. #, no-wrap
  19208. msgid ""
  19209. "$ guix refresh --type=elpa,cran\n"
  19210. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  19211. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  19212. msgstr ""
  19213. #. type: item
  19214. #: guix-git/doc/guix.texi:13051
  19215. #, no-wrap
  19216. msgid "--list-updaters"
  19217. msgstr ""
  19218. #. type: itemx
  19219. #: guix-git/doc/guix.texi:13052
  19220. #, no-wrap
  19221. msgid "-L"
  19222. msgstr ""
  19223. #. type: table
  19224. #: guix-git/doc/guix.texi:13054
  19225. msgid "List available updaters and exit (see @option{--type} above)."
  19226. msgstr ""
  19227. #. type: table
  19228. #: guix-git/doc/guix.texi:13057
  19229. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  19230. msgstr ""
  19231. #. type: Plain text
  19232. #: guix-git/doc/guix.texi:13061
  19233. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  19234. msgstr ""
  19235. #. type: example
  19236. #: guix-git/doc/guix.texi:13064
  19237. #, no-wrap
  19238. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  19239. msgstr ""
  19240. #. type: Plain text
  19241. #: guix-git/doc/guix.texi:13071
  19242. msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @option{--select} option would have no effect in this case. You might also want to update definitions that correspond to the packages installed in your profile:"
  19243. msgstr ""
  19244. #. type: example
  19245. #: guix-git/doc/guix.texi:13075
  19246. #, no-wrap
  19247. msgid ""
  19248. "$ ./pre-inst-env guix refresh -u \\\n"
  19249. " $(guix package --list-installed | cut -f1)\n"
  19250. msgstr ""
  19251. #. type: Plain text
  19252. #: guix-git/doc/guix.texi:13081
  19253. msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:"
  19254. msgstr ""
  19255. #. type: item
  19256. #: guix-git/doc/guix.texi:13084
  19257. #, no-wrap
  19258. msgid "--list-dependent"
  19259. msgstr ""
  19260. #. type: itemx
  19261. #: guix-git/doc/guix.texi:13085 guix-git/doc/guix.texi:13489
  19262. #, no-wrap
  19263. msgid "-l"
  19264. msgstr ""
  19265. #. type: table
  19266. #: guix-git/doc/guix.texi:13088
  19267. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  19268. msgstr ""
  19269. #. type: table
  19270. #: guix-git/doc/guix.texi:13092
  19271. msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package."
  19272. msgstr ""
  19273. #. type: Plain text
  19274. #: guix-git/doc/guix.texi:13098
  19275. msgid "Be aware that the @option{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances."
  19276. msgstr ""
  19277. #. type: example
  19278. #: guix-git/doc/guix.texi:13103
  19279. #, no-wrap
  19280. msgid ""
  19281. "$ guix refresh --list-dependent flex\n"
  19282. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  19283. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  19284. msgstr ""
  19285. #. type: Plain text
  19286. #: guix-git/doc/guix.texi:13107
  19287. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  19288. msgstr ""
  19289. #. type: item
  19290. #: guix-git/doc/guix.texi:13110
  19291. #, no-wrap
  19292. msgid "--list-transitive"
  19293. msgstr ""
  19294. #. type: table
  19295. #: guix-git/doc/guix.texi:13112
  19296. msgid "List all the packages which one or more packages depend upon."
  19297. msgstr ""
  19298. #. type: example
  19299. #: guix-git/doc/guix.texi:13117
  19300. #, no-wrap
  19301. msgid ""
  19302. "$ guix refresh --list-transitive flex\n"
  19303. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  19304. "bison@@3.0.5 indent@@2.2.10 tar@@1.30 gzip@@1.9 bzip2@@1.0.6 xz@@5.2.4 file@@5.33 @dots{}\n"
  19305. msgstr ""
  19306. #. type: Plain text
  19307. #: guix-git/doc/guix.texi:13123
  19308. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  19309. msgstr ""
  19310. #. type: Plain text
  19311. #: guix-git/doc/guix.texi:13125
  19312. msgid "The following options can be used to customize GnuPG operation:"
  19313. msgstr ""
  19314. #. type: item
  19315. #: guix-git/doc/guix.texi:13128
  19316. #, no-wrap
  19317. msgid "--gpg=@var{command}"
  19318. msgstr ""
  19319. #. type: table
  19320. #: guix-git/doc/guix.texi:13131
  19321. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  19322. msgstr ""
  19323. #. type: item
  19324. #: guix-git/doc/guix.texi:13132
  19325. #, no-wrap
  19326. msgid "--keyring=@var{file}"
  19327. msgstr ""
  19328. #. type: table
  19329. #: guix-git/doc/guix.texi:13138
  19330. msgid "Use @var{file} as the keyring for upstream keys. @var{file} must be in the @dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} and the GNU@tie{}Privacy Guard (GPG) can manipulate these files (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, for information on a tool to manipulate keybox files)."
  19331. msgstr ""
  19332. #. type: table
  19333. #: guix-git/doc/guix.texi:13144
  19334. msgid "When this option is omitted, @command{guix refresh} uses @file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream signing keys. OpenPGP signatures are checked against keys from this keyring; missing keys are downloaded to this keyring as well (see @option{--key-download} below)."
  19335. msgstr ""
  19336. #. type: table
  19337. #: guix-git/doc/guix.texi:13147
  19338. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  19339. msgstr ""
  19340. #. type: example
  19341. #: guix-git/doc/guix.texi:13150
  19342. #, no-wrap
  19343. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  19344. msgstr ""
  19345. #. type: table
  19346. #: guix-git/doc/guix.texi:13153
  19347. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  19348. msgstr ""
  19349. #. type: example
  19350. #: guix-git/doc/guix.texi:13157
  19351. #, no-wrap
  19352. msgid ""
  19353. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  19354. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  19355. msgstr ""
  19356. #. type: table
  19357. #: guix-git/doc/guix.texi:13161
  19358. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  19359. msgstr ""
  19360. #. type: table
  19361. #: guix-git/doc/guix.texi:13165
  19362. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  19363. msgstr ""
  19364. #. type: item
  19365. #: guix-git/doc/guix.texi:13167 guix-git/doc/guix.texi:13332
  19366. #: guix-git/doc/guix.texi:22769
  19367. #, no-wrap
  19368. msgid "always"
  19369. msgstr "vždy"
  19370. #. type: table
  19371. #: guix-git/doc/guix.texi:13170
  19372. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  19373. msgstr ""
  19374. #. type: item
  19375. #: guix-git/doc/guix.texi:13171 guix-git/doc/guix.texi:22771
  19376. #, no-wrap
  19377. msgid "never"
  19378. msgstr "nikdy"
  19379. #. type: table
  19380. #: guix-git/doc/guix.texi:13173
  19381. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  19382. msgstr ""
  19383. #. type: item
  19384. #: guix-git/doc/guix.texi:13174
  19385. #, no-wrap
  19386. msgid "interactive"
  19387. msgstr ""
  19388. #. type: table
  19389. #: guix-git/doc/guix.texi:13177
  19390. msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior."
  19391. msgstr ""
  19392. #. type: item
  19393. #: guix-git/doc/guix.texi:13179
  19394. #, no-wrap
  19395. msgid "--key-server=@var{host}"
  19396. msgstr ""
  19397. #. type: table
  19398. #: guix-git/doc/guix.texi:13181
  19399. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  19400. msgstr ""
  19401. #. type: Plain text
  19402. #: guix-git/doc/guix.texi:13201
  19403. msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g.@: when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @env{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise."
  19404. msgstr ""
  19405. #. type: section
  19406. #: guix-git/doc/guix.texi:13204
  19407. #, no-wrap
  19408. msgid "Invoking @command{guix style}"
  19409. msgstr ""
  19410. #. type: Plain text
  19411. #: guix-git/doc/guix.texi:13209
  19412. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently provides the following styling rules:"
  19413. msgstr ""
  19414. #. type: itemize
  19415. #: guix-git/doc/guix.texi:13214
  19416. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  19417. msgstr ""
  19418. #. type: itemize
  19419. #: guix-git/doc/guix.texi:13217
  19420. msgid "rewriting package inputs to the ``new style'', as explained below."
  19421. msgstr ""
  19422. #. type: Plain text
  19423. #: guix-git/doc/guix.texi:13223
  19424. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  19425. msgstr ""
  19426. #. type: lisp
  19427. #: guix-git/doc/guix.texi:13230
  19428. #, no-wrap
  19429. msgid ""
  19430. "(package\n"
  19431. " ;; @dots{}\n"
  19432. " ;; The \"old style\" (deprecated).\n"
  19433. " (inputs `((\"libunistring\" ,libunistring)\n"
  19434. " (\"libffi\" ,libffi))))\n"
  19435. msgstr ""
  19436. #. type: Plain text
  19437. #: guix-git/doc/guix.texi:13234
  19438. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  19439. msgstr ""
  19440. #. type: lisp
  19441. #: guix-git/doc/guix.texi:13240
  19442. #, no-wrap
  19443. msgid ""
  19444. "(package\n"
  19445. " ;; @dots{}\n"
  19446. " ;; The \"new style\".\n"
  19447. " (inputs (list libunistring libffi)))\n"
  19448. msgstr ""
  19449. #. type: Plain text
  19450. #: guix-git/doc/guix.texi:13245
  19451. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  19452. msgstr ""
  19453. #. type: Plain text
  19454. #: guix-git/doc/guix.texi:13250
  19455. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style -S inputs} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  19456. msgstr ""
  19457. #. type: example
  19458. #: guix-git/doc/guix.texi:13255
  19459. #, no-wrap
  19460. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  19461. msgstr ""
  19462. #. type: Plain text
  19463. #: guix-git/doc/guix.texi:13262
  19464. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{} or, when @var{package} is omitted, of @emph{all} the packages. The @option{--styling} or @option{-S} option allows you to select the style rule, the default rule being @code{format}---see below."
  19465. msgstr ""
  19466. #. type: Plain text
  19467. #: guix-git/doc/guix.texi:13264 guix-git/doc/guix.texi:14583
  19468. msgid "The available options are listed below."
  19469. msgstr ""
  19470. #. type: table
  19471. #: guix-git/doc/guix.texi:13269
  19472. msgid "Show source file locations that would be edited but do not modify them."
  19473. msgstr ""
  19474. #. type: item
  19475. #: guix-git/doc/guix.texi:13270
  19476. #, no-wrap
  19477. msgid "--styling=@var{rule}"
  19478. msgstr ""
  19479. #. type: itemx
  19480. #: guix-git/doc/guix.texi:13271
  19481. #, no-wrap
  19482. msgid "-S @var{rule}"
  19483. msgstr ""
  19484. #. type: table
  19485. #: guix-git/doc/guix.texi:13273
  19486. msgid "Apply @var{rule}, one of the following styling rules:"
  19487. msgstr ""
  19488. #. type: item
  19489. #: guix-git/doc/guix.texi:13275
  19490. #, no-wrap
  19491. msgid "format"
  19492. msgstr "formátovať"
  19493. #. type: table
  19494. #: guix-git/doc/guix.texi:13280
  19495. msgid "Format the given package definition(s)---this is the default styling rule. For example, a packager running Guix on a checkout (@pxref{Running Guix Before It Is Installed}) might want to reformat the definition of the Coreutils package like so:"
  19496. msgstr ""
  19497. #. type: example
  19498. #: guix-git/doc/guix.texi:13283
  19499. #, no-wrap
  19500. msgid "./pre-inst-env guix style coreutils\n"
  19501. msgstr ""
  19502. #. type: item
  19503. #: guix-git/doc/guix.texi:13285
  19504. #, no-wrap
  19505. msgid "inputs"
  19506. msgstr "vstupy"
  19507. #. type: table
  19508. #: guix-git/doc/guix.texi:13289
  19509. msgid "Rewrite package inputs to the ``new style'', as described above. This is how you would rewrite inputs of package @code{whatnot} in your own channel:"
  19510. msgstr ""
  19511. #. type: example
  19512. #: guix-git/doc/guix.texi:13292
  19513. #, no-wrap
  19514. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  19515. msgstr ""
  19516. #. type: table
  19517. #: guix-git/doc/guix.texi:13298
  19518. msgid "Rewriting is done in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The @option{--input-simplification} option described below provides fine-grain control over when inputs should be simplified."
  19519. msgstr ""
  19520. #. type: table
  19521. #: guix-git/doc/guix.texi:13308
  19522. msgid "Style the package @var{expr} evaluates to."
  19523. msgstr ""
  19524. #. type: example
  19525. #: guix-git/doc/guix.texi:13313
  19526. #, no-wrap
  19527. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  19528. msgstr ""
  19529. #. type: table
  19530. #: guix-git/doc/guix.texi:13316
  19531. msgid "styles the @code{gcc-5} package definition."
  19532. msgstr "upraví tvar zadania balíka @code{gcc-5}."
  19533. #. type: item
  19534. #: guix-git/doc/guix.texi:13317
  19535. #, no-wrap
  19536. msgid "--input-simplification=@var{policy}"
  19537. msgstr ""
  19538. #. type: table
  19539. #: guix-git/doc/guix.texi:13322
  19540. msgid "When using the @code{inputs} styling rule, with @samp{-S inputs}, this option specifies the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  19541. msgstr ""
  19542. #. type: item
  19543. #: guix-git/doc/guix.texi:13324
  19544. #, no-wrap
  19545. msgid "silent"
  19546. msgstr ""
  19547. #. type: table
  19548. #: guix-git/doc/guix.texi:13327
  19549. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  19550. msgstr ""
  19551. #. type: item
  19552. #: guix-git/doc/guix.texi:13328
  19553. #, no-wrap
  19554. msgid "safe"
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13331
  19558. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  19559. msgstr ""
  19560. #. type: table
  19561. #: guix-git/doc/guix.texi:13335
  19562. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  19563. msgstr ""
  19564. #. type: table
  19565. #: guix-git/doc/guix.texi:13339
  19566. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  19567. msgstr ""
  19568. #. type: section
  19569. #: guix-git/doc/guix.texi:13342
  19570. #, no-wrap
  19571. msgid "Invoking @command{guix lint}"
  19572. msgstr ""
  19573. #. type: command{#1}
  19574. #: guix-git/doc/guix.texi:13344
  19575. #, no-wrap
  19576. msgid "guix lint"
  19577. msgstr ""
  19578. #. type: cindex
  19579. #: guix-git/doc/guix.texi:13345
  19580. #, no-wrap
  19581. msgid "package, checking for errors"
  19582. msgstr ""
  19583. #. type: Plain text
  19584. #: guix-git/doc/guix.texi:13351
  19585. msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @option{--list-checkers} for a complete list):"
  19586. msgstr ""
  19587. #. type: table
  19588. #: guix-git/doc/guix.texi:13357
  19589. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  19590. msgstr ""
  19591. #. type: item
  19592. #: guix-git/doc/guix.texi:13358
  19593. #, no-wrap
  19594. msgid "inputs-should-be-native"
  19595. msgstr ""
  19596. #. type: table
  19597. #: guix-git/doc/guix.texi:13360
  19598. msgid "Identify inputs that should most likely be native inputs."
  19599. msgstr ""
  19600. #. type: itemx
  19601. #: guix-git/doc/guix.texi:13363
  19602. #, no-wrap
  19603. msgid "mirror-url"
  19604. msgstr ""
  19605. #. type: itemx
  19606. #: guix-git/doc/guix.texi:13364
  19607. #, no-wrap
  19608. msgid "github-url"
  19609. msgstr ""
  19610. #. type: itemx
  19611. #: guix-git/doc/guix.texi:13365
  19612. #, no-wrap
  19613. msgid "source-file-name"
  19614. msgstr ""
  19615. #. type: table
  19616. #: guix-git/doc/guix.texi:13372
  19617. msgid "Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. If the @code{source} URL redirects to a GitHub URL, recommend usage of the GitHub URL@. Check that the source file name is meaningful, e.g.@: is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference})."
  19618. msgstr ""
  19619. #. type: item
  19620. #: guix-git/doc/guix.texi:13373
  19621. #, no-wrap
  19622. msgid "source-unstable-tarball"
  19623. msgstr ""
  19624. #. type: table
  19625. #: guix-git/doc/guix.texi:13377
  19626. msgid "Parse the @code{source} URL to determine if a tarball from GitHub is autogenerated or if it is a release tarball. Unfortunately GitHub's autogenerated tarballs are sometimes regenerated."
  19627. msgstr ""
  19628. #. type: table
  19629. #: guix-git/doc/guix.texi:13381
  19630. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  19631. msgstr ""
  19632. #. type: item
  19633. #: guix-git/doc/guix.texi:13382
  19634. #, no-wrap
  19635. msgid "profile-collisions"
  19636. msgstr ""
  19637. #. type: table
  19638. #: guix-git/doc/guix.texi:13388
  19639. msgid "Check whether installing the given packages in a profile would lead to collisions. Collisions occur when several packages with the same name but a different version or a different store file name are propagated. @xref{package Reference, @code{propagated-inputs}}, for more information on propagated inputs."
  19640. msgstr ""
  19641. #. type: item
  19642. #: guix-git/doc/guix.texi:13389
  19643. #, no-wrap
  19644. msgid "archival"
  19645. msgstr ""
  19646. #. type: cindex
  19647. #: guix-git/doc/guix.texi:13390
  19648. #, no-wrap
  19649. msgid "Software Heritage, source code archive"
  19650. msgstr ""
  19651. #. type: cindex
  19652. #: guix-git/doc/guix.texi:13391
  19653. #, no-wrap
  19654. msgid "archival of source code, Software Heritage"
  19655. msgstr ""
  19656. #. type: table
  19657. #: guix-git/doc/guix.texi:13394
  19658. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19659. msgstr ""
  19660. #. type: table
  19661. #: guix-git/doc/guix.texi:13402
  19662. msgid "When the source code that is not archived comes from a version-control system (VCS)---e.g., it's obtained with @code{git-fetch}, send Software Heritage a ``save'' request so that it eventually archives it. This ensures that the source will remain available in the long term, and that Guix can fall back to Software Heritage should the source code disappear from its original host. The status of recent ``save'' requests can be @uref{https://archive.softwareheritage.org/save/#requests, viewed on-line}."
  19663. msgstr ""
  19664. #. type: table
  19665. #: guix-git/doc/guix.texi:13407
  19666. msgid "When source code is a tarball obtained with @code{url-fetch}, simply print a message when it is not archived. As of this writing, Software Heritage does not allow requests to save arbitrary tarballs; we are working on ways to ensure that non-VCS source code is also archived."
  19667. msgstr ""
  19668. #. type: table
  19669. #: guix-git/doc/guix.texi:13413
  19670. msgid "Software Heritage @uref{https://archive.softwareheritage.org/api/#rate-limiting, limits the request rate per IP address}. When the limit is reached, @command{guix lint} prints a message and the @code{archival} checker stops doing anything until that limit has been reset."
  19671. msgstr ""
  19672. #. type: item
  19673. #: guix-git/doc/guix.texi:13414
  19674. #, no-wrap
  19675. msgid "cve"
  19676. msgstr ""
  19677. #. type: cindex
  19678. #: guix-git/doc/guix.texi:13415 guix-git/doc/guix.texi:38629
  19679. #, no-wrap
  19680. msgid "security vulnerabilities"
  19681. msgstr ""
  19682. #. type: cindex
  19683. #: guix-git/doc/guix.texi:13416
  19684. #, no-wrap
  19685. msgid "CVE, Common Vulnerabilities and Exposures"
  19686. msgstr ""
  19687. #. type: table
  19688. #: guix-git/doc/guix.texi:13421
  19689. msgid "Report known vulnerabilities found in the Common Vulnerabilities and Exposures (CVE) databases of the current and past year @uref{https://nvd.nist.gov/vuln/data-feeds, published by the US NIST}."
  19690. msgstr ""
  19691. #. type: table
  19692. #: guix-git/doc/guix.texi:13423
  19693. msgid "To view information about a particular vulnerability, visit pages such as:"
  19694. msgstr ""
  19695. #. type: indicateurl{#1}
  19696. #: guix-git/doc/guix.texi:13427
  19697. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19698. msgstr ""
  19699. #. type: indicateurl{#1}
  19700. #: guix-git/doc/guix.texi:13429
  19701. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19702. msgstr ""
  19703. #. type: table
  19704. #: guix-git/doc/guix.texi:13434
  19705. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19706. msgstr ""
  19707. #. type: table
  19708. #: guix-git/doc/guix.texi:13439
  19709. msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/products/cpe,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name or version that Guix uses, as in this example:"
  19710. msgstr ""
  19711. #. type: lisp
  19712. #: guix-git/doc/guix.texi:13447
  19713. #, no-wrap
  19714. msgid ""
  19715. "(package\n"
  19716. " (name \"grub\")\n"
  19717. " ;; @dots{}\n"
  19718. " ;; CPE calls this package \"grub2\".\n"
  19719. " (properties '((cpe-name . \"grub2\")\n"
  19720. " (cpe-version . \"2.3\"))))\n"
  19721. msgstr ""
  19722. #. type: table
  19723. #: guix-git/doc/guix.texi:13454
  19724. msgid "Some entries in the CVE database do not specify which version of a package they apply to, and would thus ``stick around'' forever. Package developers who found CVE alerts and verified they can be ignored can declare them as in this example:"
  19725. msgstr ""
  19726. #. type: lisp
  19727. #: guix-git/doc/guix.texi:13464
  19728. #, no-wrap
  19729. msgid ""
  19730. "(package\n"
  19731. " (name \"t1lib\")\n"
  19732. " ;; @dots{}\n"
  19733. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19734. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19735. " \"CVE-2011-1553\"\n"
  19736. " \"CVE-2011-1554\"\n"
  19737. " \"CVE-2011-5244\")))))\n"
  19738. msgstr ""
  19739. #. type: item
  19740. #: guix-git/doc/guix.texi:13466
  19741. #, no-wrap
  19742. msgid "formatting"
  19743. msgstr ""
  19744. #. type: table
  19745. #: guix-git/doc/guix.texi:13469
  19746. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19747. msgstr ""
  19748. #. type: item
  19749. #: guix-git/doc/guix.texi:13470
  19750. #, no-wrap
  19751. msgid "input-labels"
  19752. msgstr ""
  19753. #. type: table
  19754. #: guix-git/doc/guix.texi:13476
  19755. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  19756. msgstr ""
  19757. #. type: example
  19758. #: guix-git/doc/guix.texi:13482
  19759. #, no-wrap
  19760. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19761. msgstr ""
  19762. #. type: Plain text
  19763. #: guix-git/doc/guix.texi:13486
  19764. msgid "If no package is given on the command line, then all packages are checked. The @var{options} may be zero or more of the following:"
  19765. msgstr ""
  19766. #. type: item
  19767. #: guix-git/doc/guix.texi:13488
  19768. #, no-wrap
  19769. msgid "--list-checkers"
  19770. msgstr ""
  19771. #. type: table
  19772. #: guix-git/doc/guix.texi:13492
  19773. msgid "List and describe all the available checkers that will be run on packages and exit."
  19774. msgstr ""
  19775. #. type: item
  19776. #: guix-git/doc/guix.texi:13493
  19777. #, no-wrap
  19778. msgid "--checkers"
  19779. msgstr ""
  19780. #. type: itemx
  19781. #: guix-git/doc/guix.texi:13494
  19782. #, no-wrap
  19783. msgid "-c"
  19784. msgstr ""
  19785. #. type: table
  19786. #: guix-git/doc/guix.texi:13497
  19787. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19788. msgstr ""
  19789. #. type: item
  19790. #: guix-git/doc/guix.texi:13498
  19791. #, no-wrap
  19792. msgid "--exclude"
  19793. msgstr ""
  19794. #. type: table
  19795. #: guix-git/doc/guix.texi:13502
  19796. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19797. msgstr ""
  19798. #. type: item
  19799. #: guix-git/doc/guix.texi:13503
  19800. #, no-wrap
  19801. msgid "--no-network"
  19802. msgstr ""
  19803. #. type: table
  19804. #: guix-git/doc/guix.texi:13506
  19805. msgid "Only enable the checkers that do not depend on Internet access."
  19806. msgstr ""
  19807. #. type: section
  19808. #: guix-git/doc/guix.texi:13518
  19809. #, no-wrap
  19810. msgid "Invoking @command{guix size}"
  19811. msgstr ""
  19812. #. type: code{#1}
  19813. #: guix-git/doc/guix.texi:13520 guix-git/doc/guix.texi:36228
  19814. #, no-wrap
  19815. msgid "size"
  19816. msgstr ""
  19817. #. type: cindex
  19818. #: guix-git/doc/guix.texi:13521
  19819. #, no-wrap
  19820. msgid "package size"
  19821. msgstr ""
  19822. #. type: command{#1}
  19823. #: guix-git/doc/guix.texi:13523
  19824. #, no-wrap
  19825. msgid "guix size"
  19826. msgstr ""
  19827. #. type: Plain text
  19828. #: guix-git/doc/guix.texi:13530
  19829. msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight."
  19830. msgstr ""
  19831. #. type: Plain text
  19832. #: guix-git/doc/guix.texi:13535
  19833. msgid "The command can be passed one or more package specifications such as @code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. Consider this example:"
  19834. msgstr ""
  19835. #. type: example
  19836. #: guix-git/doc/guix.texi:13548
  19837. #, no-wrap
  19838. msgid ""
  19839. "$ guix size coreutils\n"
  19840. "store item total self\n"
  19841. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19842. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19843. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19844. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19845. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19846. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19847. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19848. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19849. "total: 78.9 MiB\n"
  19850. msgstr ""
  19851. #. type: Plain text
  19852. #: guix-git/doc/guix.texi:13554
  19853. msgid "The store items listed here constitute the @dfn{transitive closure} of Coreutils---i.e., Coreutils and all its dependencies, recursively---as would be returned by:"
  19854. msgstr ""
  19855. #. type: example
  19856. #: guix-git/doc/guix.texi:13557
  19857. #, no-wrap
  19858. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19859. msgstr ""
  19860. #. type: Plain text
  19861. #: guix-git/doc/guix.texi:13565
  19862. msgid "Here the output shows three columns next to store items. The first column, labeled ``total'', shows the size in mebibytes (MiB) of the closure of the store item---that is, its own size plus the size of all its dependencies. The next column, labeled ``self'', shows the size of the item itself. The last column shows the ratio of the size of the item itself to the space occupied by all the items listed here."
  19863. msgstr ""
  19864. #. type: Plain text
  19865. #: guix-git/doc/guix.texi:13571
  19866. msgid "In this example, we see that the closure of Coreutils weighs in at 79@tie{}MiB, most of which is taken by libc and GCC's run-time support libraries. (That libc and GCC's libraries represent a large fraction of the closure is not a problem @i{per se} because they are always available on the system anyway.)"
  19867. msgstr ""
  19868. #. type: Plain text
  19869. #: guix-git/doc/guix.texi:13574
  19870. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19871. msgstr ""
  19872. #. type: example
  19873. #: guix-git/doc/guix.texi:13577
  19874. #, no-wrap
  19875. msgid "guix size $(guix system build config.scm)\n"
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13587
  19879. msgid "When the package(s) passed to @command{guix size} are available in the store@footnote{More precisely, @command{guix size} looks for the @emph{ungrafted} variant of the given package(s), as returned by @code{guix build @var{package} --no-grafts}. @xref{Security Updates}, for information on grafts.}, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})."
  19880. msgstr ""
  19881. #. type: Plain text
  19882. #: guix-git/doc/guix.texi:13592
  19883. msgid "When the given packages are @emph{not} in the store, @command{guix size} reports information based on the available substitutes (@pxref{Substitutes}). This makes it possible it to profile disk usage of store items that are not even on disk, only available remotely."
  19884. msgstr ""
  19885. #. type: Plain text
  19886. #: guix-git/doc/guix.texi:13594
  19887. msgid "You can also specify several package names:"
  19888. msgstr ""
  19889. #. type: example
  19890. #: guix-git/doc/guix.texi:13604
  19891. #, no-wrap
  19892. msgid ""
  19893. "$ guix size coreutils grep sed bash\n"
  19894. "store item total self\n"
  19895. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19896. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19897. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19898. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19899. "@dots{}\n"
  19900. "total: 102.3 MiB\n"
  19901. msgstr ""
  19902. #. type: Plain text
  19903. #: guix-git/doc/guix.texi:13610
  19904. msgid "In this example we see that the combination of the four packages takes 102.3@tie{}MiB in total, which is much less than the sum of each closure since they have a lot of dependencies in common."
  19905. msgstr ""
  19906. #. type: Plain text
  19907. #: guix-git/doc/guix.texi:13616
  19908. msgid "When looking at the profile returned by @command{guix size}, you may find yourself wondering why a given package shows up in the profile at all. To understand it, you can use @command{guix graph --path -t references} to display the shortest path between the two packages (@pxref{Invoking guix graph})."
  19909. msgstr ""
  19910. #. type: Plain text
  19911. #: guix-git/doc/guix.texi:13618
  19912. msgid "The available options are:"
  19913. msgstr ""
  19914. #. type: table
  19915. #: guix-git/doc/guix.texi:13624
  19916. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19917. msgstr ""
  19918. #. type: item
  19919. #: guix-git/doc/guix.texi:13625
  19920. #, no-wrap
  19921. msgid "--sort=@var{key}"
  19922. msgstr ""
  19923. #. type: table
  19924. #: guix-git/doc/guix.texi:13627
  19925. msgid "Sort lines according to @var{key}, one of the following options:"
  19926. msgstr ""
  19927. #. type: item
  19928. #: guix-git/doc/guix.texi:13629
  19929. #, no-wrap
  19930. msgid "self"
  19931. msgstr "sám"
  19932. #. type: table
  19933. #: guix-git/doc/guix.texi:13631
  19934. msgid "the size of each item (the default);"
  19935. msgstr ""
  19936. #. type: table
  19937. #: guix-git/doc/guix.texi:13633
  19938. msgid "the total size of the item's closure."
  19939. msgstr ""
  19940. #. type: item
  19941. #: guix-git/doc/guix.texi:13635
  19942. #, no-wrap
  19943. msgid "--map-file=@var{file}"
  19944. msgstr ""
  19945. #. type: table
  19946. #: guix-git/doc/guix.texi:13637
  19947. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19948. msgstr ""
  19949. #. type: table
  19950. #: guix-git/doc/guix.texi:13639
  19951. msgid "For the example above, the map looks like this:"
  19952. msgstr ""
  19953. #. type: table
  19954. #: guix-git/doc/guix.texi:13642
  19955. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19956. msgstr ""
  19957. #. type: table
  19958. #: guix-git/doc/guix.texi:13647
  19959. msgid "This option requires that @uref{https://wingolog.org/software/guile-charting/, Guile-Charting} be installed and visible in Guile's module search path. When that is not the case, @command{guix size} fails as it tries to load it."
  19960. msgstr ""
  19961. #. type: table
  19962. #: guix-git/doc/guix.texi:13651
  19963. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19964. msgstr ""
  19965. #. type: section
  19966. #: guix-git/doc/guix.texi:13662
  19967. #, no-wrap
  19968. msgid "Invoking @command{guix graph}"
  19969. msgstr ""
  19970. #. type: cindex
  19971. #: guix-git/doc/guix.texi:13664
  19972. #, no-wrap
  19973. msgid "DAG"
  19974. msgstr ""
  19975. #. type: command{#1}
  19976. #: guix-git/doc/guix.texi:13665
  19977. #, no-wrap
  19978. msgid "guix graph"
  19979. msgstr ""
  19980. #. type: Plain text
  19981. #: guix-git/doc/guix.texi:13680
  19982. msgid "Packages and their dependencies form a @dfn{graph}, specifically a directed acyclic graph (DAG). It can quickly become difficult to have a mental model of the package DAG, so the @command{guix graph} command provides a visual representation of the DAG@. By default, @command{guix graph} emits a DAG representation in the input format of @uref{https://www.graphviz.org/, Graphviz}, so its output can be passed directly to the @command{dot} command of Graphviz. It can also emit an HTML page with embedded JavaScript code to display a ``chord diagram'' in a Web browser, using the @uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct a graph in a graph database supporting the @uref{https://www.opencypher.org/, openCypher} query language. With @option{--path}, it simply displays the shortest path between two packages. The general syntax is:"
  19983. msgstr ""
  19984. #. type: example
  19985. #: guix-git/doc/guix.texi:13683
  19986. #, no-wrap
  19987. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19988. msgstr ""
  19989. #. type: Plain text
  19990. #: guix-git/doc/guix.texi:13688
  19991. msgid "For example, the following command generates a PDF file representing the package DAG for the GNU@tie{}Core Utilities, showing its build-time dependencies:"
  19992. msgstr ""
  19993. #. type: example
  19994. #: guix-git/doc/guix.texi:13691
  19995. #, no-wrap
  19996. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19997. msgstr ""
  19998. #. type: Plain text
  19999. #: guix-git/doc/guix.texi:13694
  20000. msgid "The output looks like this:"
  20001. msgstr ""
  20002. #. type: Plain text
  20003. #: guix-git/doc/guix.texi:13696
  20004. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  20005. msgstr ""
  20006. #. type: Plain text
  20007. #: guix-git/doc/guix.texi:13698
  20008. msgid "Nice little graph, no?"
  20009. msgstr ""
  20010. #. type: Plain text
  20011. #: guix-git/doc/guix.texi:13701
  20012. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  20013. msgstr ""
  20014. #. type: example
  20015. #: guix-git/doc/guix.texi:13704
  20016. #, no-wrap
  20017. msgid "guix graph coreutils | xdot -\n"
  20018. msgstr ""
  20019. #. type: Plain text
  20020. #: guix-git/doc/guix.texi:13711
  20021. msgid "But there is more than one graph! The one above is concise: it is the graph of package objects, omitting implicit inputs such as GCC, libc, grep, etc. It is often useful to have such a concise graph, but sometimes one may want to see more details. @command{guix graph} supports several types of graphs, allowing you to choose the level of detail:"
  20022. msgstr ""
  20023. #. type: table
  20024. #: guix-git/doc/guix.texi:13717
  20025. msgid "This is the default type used in the example above. It shows the DAG of package objects, excluding implicit dependencies. It is concise, but filters out many details."
  20026. msgstr ""
  20027. #. type: item
  20028. #: guix-git/doc/guix.texi:13718
  20029. #, no-wrap
  20030. msgid "reverse-package"
  20031. msgstr ""
  20032. #. type: table
  20033. #: guix-git/doc/guix.texi:13720
  20034. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  20035. msgstr ""
  20036. #. type: example
  20037. #: guix-git/doc/guix.texi:13723
  20038. #, no-wrap
  20039. msgid "guix graph --type=reverse-package ocaml\n"
  20040. msgstr ""
  20041. #. type: table
  20042. #: guix-git/doc/guix.texi:13728
  20043. msgid "...@: yields the graph of packages that @emph{explicitly} depend on OCaml (if you are also interested in cases where OCaml is an implicit dependency, see @code{reverse-bag} below)."
  20044. msgstr ""
  20045. #. type: table
  20046. #: guix-git/doc/guix.texi:13733
  20047. msgid "Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})."
  20048. msgstr ""
  20049. #. type: item
  20050. #: guix-git/doc/guix.texi:13734
  20051. #, no-wrap
  20052. msgid "bag-emerged"
  20053. msgstr ""
  20054. #. type: table
  20055. #: guix-git/doc/guix.texi:13736
  20056. msgid "This is the package DAG, @emph{including} implicit inputs."
  20057. msgstr ""
  20058. #. type: table
  20059. #: guix-git/doc/guix.texi:13738
  20060. msgid "For instance, the following command:"
  20061. msgstr ""
  20062. #. type: example
  20063. #: guix-git/doc/guix.texi:13741
  20064. #, no-wrap
  20065. msgid "guix graph --type=bag-emerged coreutils\n"
  20066. msgstr ""
  20067. #. type: table
  20068. #: guix-git/doc/guix.texi:13744
  20069. msgid "...@: yields this bigger graph:"
  20070. msgstr ""
  20071. #. type: table
  20072. #: guix-git/doc/guix.texi:13746
  20073. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  20074. msgstr ""
  20075. #. type: table
  20076. #: guix-git/doc/guix.texi:13749
  20077. msgid "At the bottom of the graph, we see all the implicit inputs of @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  20078. msgstr ""
  20079. #. type: table
  20080. #: guix-git/doc/guix.texi:13753
  20081. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  20082. msgstr ""
  20083. #. type: item
  20084. #: guix-git/doc/guix.texi:13754
  20085. #, no-wrap
  20086. msgid "bag"
  20087. msgstr ""
  20088. #. type: table
  20089. #: guix-git/doc/guix.texi:13757
  20090. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  20091. msgstr ""
  20092. #. type: item
  20093. #: guix-git/doc/guix.texi:13758
  20094. #, no-wrap
  20095. msgid "bag-with-origins"
  20096. msgstr ""
  20097. #. type: table
  20098. #: guix-git/doc/guix.texi:13760
  20099. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  20100. msgstr ""
  20101. #. type: item
  20102. #: guix-git/doc/guix.texi:13761
  20103. #, no-wrap
  20104. msgid "reverse-bag"
  20105. msgstr ""
  20106. #. type: table
  20107. #: guix-git/doc/guix.texi:13764
  20108. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  20109. msgstr ""
  20110. #. type: example
  20111. #: guix-git/doc/guix.texi:13767
  20112. #, no-wrap
  20113. msgid "guix graph -t reverse-bag dune\n"
  20114. msgstr ""
  20115. #. type: table
  20116. #: guix-git/doc/guix.texi:13774
  20117. msgid "...@: yields the graph of all packages that depend on Dune, directly or indirectly. Since Dune is an @emph{implicit} dependency of many packages @i{via} @code{dune-build-system}, this shows a large number of packages, whereas @code{reverse-package} would show very few if any."
  20118. msgstr ""
  20119. #. type: table
  20120. #: guix-git/doc/guix.texi:13780
  20121. msgid "This is the most detailed representation: It shows the DAG of derivations (@pxref{Derivations}) and plain store items. Compared to the above representation, many additional nodes are visible, including build scripts, patches, Guile modules, etc."
  20122. msgstr ""
  20123. #. type: table
  20124. #: guix-git/doc/guix.texi:13783
  20125. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  20126. msgstr ""
  20127. #. type: example
  20128. #: guix-git/doc/guix.texi:13786
  20129. #, no-wrap
  20130. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  20131. msgstr ""
  20132. #. type: item
  20133. #: guix-git/doc/guix.texi:13788
  20134. #, no-wrap
  20135. msgid "module"
  20136. msgstr "modul"
  20137. #. type: table
  20138. #: guix-git/doc/guix.texi:13792
  20139. msgid "This is the graph of @dfn{package modules} (@pxref{Package Modules}). For example, the following command shows the graph for the package module that defines the @code{guile} package:"
  20140. msgstr ""
  20141. #. type: example
  20142. #: guix-git/doc/guix.texi:13795
  20143. #, no-wrap
  20144. msgid "guix graph -t module guile | xdot -\n"
  20145. msgstr ""
  20146. #. type: Plain text
  20147. #: guix-git/doc/guix.texi:13800
  20148. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  20149. msgstr ""
  20150. #. type: table
  20151. #: guix-git/doc/guix.texi:13805
  20152. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  20153. msgstr ""
  20154. #. type: table
  20155. #: guix-git/doc/guix.texi:13808
  20156. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  20157. msgstr ""
  20158. #. type: table
  20159. #: guix-git/doc/guix.texi:13812
  20160. msgid "Here you can also pass a store file name instead of a package name. For example, the command below produces the reference graph of your profile (which can be big!):"
  20161. msgstr ""
  20162. #. type: example
  20163. #: guix-git/doc/guix.texi:13815
  20164. #, no-wrap
  20165. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  20166. msgstr ""
  20167. #. type: item
  20168. #: guix-git/doc/guix.texi:13817
  20169. #, no-wrap
  20170. msgid "referrers"
  20171. msgstr ""
  20172. #. type: table
  20173. #: guix-git/doc/guix.texi:13820
  20174. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  20175. msgstr ""
  20176. #. type: table
  20177. #: guix-git/doc/guix.texi:13826
  20178. msgid "This relies exclusively on local information from your store. For instance, let us suppose that the current Inkscape is available in 10 profiles on your machine; @command{guix graph -t referrers inkscape} will show a graph rooted at Inkscape and with those 10 profiles linked to it."
  20179. msgstr ""
  20180. #. type: table
  20181. #: guix-git/doc/guix.texi:13829
  20182. msgid "It can help determine what is preventing a store item from being garbage collected."
  20183. msgstr ""
  20184. #. type: cindex
  20185. #: guix-git/doc/guix.texi:13832
  20186. #, no-wrap
  20187. msgid "shortest path, between packages"
  20188. msgstr ""
  20189. #. type: Plain text
  20190. #: guix-git/doc/guix.texi:13839
  20191. msgid "Often, the graph of the package you are interested in does not fit on your screen, and anyway all you want to know is @emph{why} that package actually depends on some seemingly unrelated package. The @option{--path} option instructs @command{guix graph} to display the shortest path between two packages (or derivations, or store items, etc.):"
  20192. msgstr ""
  20193. #. type: example
  20194. #: guix-git/doc/guix.texi:13853
  20195. #, no-wrap
  20196. msgid ""
  20197. "$ guix graph --path emacs libunistring\n"
  20198. "emacs@@26.3\n"
  20199. "mailutils@@3.9\n"
  20200. "libunistring@@0.9.10\n"
  20201. "$ guix graph --path -t derivation emacs libunistring\n"
  20202. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  20203. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  20204. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  20205. "$ guix graph --path -t references emacs libunistring\n"
  20206. "/gnu/store/@dots{}-emacs-26.3\n"
  20207. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  20208. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  20209. msgstr ""
  20210. #. type: Plain text
  20211. #: guix-git/doc/guix.texi:13861
  20212. msgid "Sometimes you still want to visualize the graph but would like to trim it so it can actually be displayed. One way to do it is via the @option{--max-depth} (or @option{-M}) option, which lets you specify the maximum depth of the graph. In the example below, we visualize only @code{libreoffice} and the nodes whose distance to @code{libreoffice} is at most 2:"
  20213. msgstr ""
  20214. #. type: example
  20215. #: guix-git/doc/guix.texi:13864
  20216. #, no-wrap
  20217. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  20218. msgstr ""
  20219. #. type: Plain text
  20220. #: guix-git/doc/guix.texi:13868
  20221. msgid "Mind you, that's still a big ball of spaghetti, but at least @command{dot} can render it quickly and it can be browsed somewhat."
  20222. msgstr ""
  20223. #. type: Plain text
  20224. #: guix-git/doc/guix.texi:13870
  20225. msgid "The available options are the following:"
  20226. msgstr ""
  20227. #. type: table
  20228. #: guix-git/doc/guix.texi:13876
  20229. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  20230. msgstr ""
  20231. #. type: item
  20232. #: guix-git/doc/guix.texi:13877
  20233. #, no-wrap
  20234. msgid "--list-types"
  20235. msgstr ""
  20236. #. type: table
  20237. #: guix-git/doc/guix.texi:13879
  20238. msgid "List the supported graph types."
  20239. msgstr ""
  20240. #. type: item
  20241. #: guix-git/doc/guix.texi:13880
  20242. #, no-wrap
  20243. msgid "--backend=@var{backend}"
  20244. msgstr ""
  20245. #. type: itemx
  20246. #: guix-git/doc/guix.texi:13881
  20247. #, no-wrap
  20248. msgid "-b @var{backend}"
  20249. msgstr ""
  20250. #. type: table
  20251. #: guix-git/doc/guix.texi:13883
  20252. msgid "Produce a graph using the selected @var{backend}."
  20253. msgstr ""
  20254. #. type: item
  20255. #: guix-git/doc/guix.texi:13884
  20256. #, no-wrap
  20257. msgid "--list-backends"
  20258. msgstr ""
  20259. #. type: table
  20260. #: guix-git/doc/guix.texi:13886
  20261. msgid "List the supported graph backends."
  20262. msgstr ""
  20263. #. type: table
  20264. #: guix-git/doc/guix.texi:13888
  20265. msgid "Currently, the available backends are Graphviz and d3.js."
  20266. msgstr ""
  20267. #. type: item
  20268. #: guix-git/doc/guix.texi:13889
  20269. #, no-wrap
  20270. msgid "--path"
  20271. msgstr ""
  20272. #. type: table
  20273. #: guix-git/doc/guix.texi:13894
  20274. msgid "Display the shortest path between two nodes of the type specified by @option{--type}. The example below shows the shortest path between @code{libreoffice} and @code{llvm} according to the references of @code{libreoffice}:"
  20275. msgstr ""
  20276. #. type: example
  20277. #: guix-git/doc/guix.texi:13901
  20278. #, no-wrap
  20279. msgid ""
  20280. "$ guix graph --path -t references libreoffice llvm\n"
  20281. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  20282. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  20283. "/gnu/store/@dots{}-mesa-19.3.4\n"
  20284. "/gnu/store/@dots{}-llvm-9.0.1\n"
  20285. msgstr ""
  20286. #. type: example
  20287. #: guix-git/doc/guix.texi:13911
  20288. #, no-wrap
  20289. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  20290. msgstr ""
  20291. #. type: table
  20292. #: guix-git/doc/guix.texi:13916
  20293. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  20294. msgstr ""
  20295. #. type: table
  20296. #: guix-git/doc/guix.texi:13919
  20297. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  20298. msgstr ""
  20299. #. type: Plain text
  20300. #: guix-git/doc/guix.texi:13935
  20301. msgid "On top of that, @command{guix graph} supports all the usual package transformation options (@pxref{Package Transformation Options}). This makes it easy to view the effect of a graph-rewriting transformation such as @option{--with-input}. For example, the command below outputs the graph of @code{git} once @code{openssl} has been replaced by @code{libressl} everywhere in the graph:"
  20302. msgstr ""
  20303. #. type: example
  20304. #: guix-git/doc/guix.texi:13938
  20305. #, no-wrap
  20306. msgid "guix graph git --with-input=openssl=libressl\n"
  20307. msgstr ""
  20308. #. type: Plain text
  20309. #: guix-git/doc/guix.texi:13941
  20310. msgid "So many possibilities, so much fun!"
  20311. msgstr ""
  20312. #. type: section
  20313. #: guix-git/doc/guix.texi:13943
  20314. #, no-wrap
  20315. msgid "Invoking @command{guix publish}"
  20316. msgstr ""
  20317. #. type: command{#1}
  20318. #: guix-git/doc/guix.texi:13945
  20319. #, no-wrap
  20320. msgid "guix publish"
  20321. msgstr ""
  20322. #. type: Plain text
  20323. #: guix-git/doc/guix.texi:13949
  20324. msgid "The purpose of @command{guix publish} is to enable users to easily share their store with others, who can then use it as a substitute server (@pxref{Substitutes})."
  20325. msgstr ""
  20326. #. type: Plain text
  20327. #: guix-git/doc/guix.texi:13955
  20328. msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Cuirass, the software behind the @code{@value{SUBSTITUTE-SERVER-1}} build farm."
  20329. msgstr ""
  20330. #. type: Plain text
  20331. #: guix-git/doc/guix.texi:13961
  20332. msgid "For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @command{guix publish} uses the signing key of the system, which is only readable by the system administrator, it must be started as root; the @option{--user} option makes it drop root privileges early on."
  20333. msgstr ""
  20334. #. type: Plain text
  20335. #: guix-git/doc/guix.texi:13965
  20336. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  20337. msgstr ""
  20338. #. type: Plain text
  20339. #: guix-git/doc/guix.texi:13970
  20340. msgid "When the @option{--advertise} option is passed, the server advertises its availability on the local network using multicast DNS (mDNS) and DNS service discovery (DNS-SD), currently @i{via} Guile-Avahi (@pxref{Top,,, guile-avahi, Using Avahi in Guile Scheme Programs})."
  20341. msgstr ""
  20342. #. type: example
  20343. #: guix-git/doc/guix.texi:13975
  20344. #, no-wrap
  20345. msgid "guix publish @var{options}@dots{}\n"
  20346. msgstr ""
  20347. #. type: Plain text
  20348. #: guix-git/doc/guix.texi:13979
  20349. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  20350. msgstr ""
  20351. #. type: example
  20352. #: guix-git/doc/guix.texi:13982
  20353. #, no-wrap
  20354. msgid "guix publish\n"
  20355. msgstr ""
  20356. #. type: Plain text
  20357. #: guix-git/doc/guix.texi:13986
  20358. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  20359. msgstr ""
  20360. #. type: Plain text
  20361. #: guix-git/doc/guix.texi:13994
  20362. msgid "By default, @command{guix publish} compresses archives on the fly as it serves them. This ``on-the-fly'' mode is convenient in that it requires no setup and is immediately available. However, when serving lots of clients, we recommend using the @option{--cache} option, which enables caching of the archives before they are sent to clients---see below for details. The @command{guix weather} command provides a handy way to check what a server provides (@pxref{Invoking guix weather})."
  20363. msgstr ""
  20364. #. type: Plain text
  20365. #: guix-git/doc/guix.texi:14001
  20366. msgid "As a bonus, @command{guix publish} also serves as a content-addressed mirror for source files referenced in @code{origin} records (@pxref{origin Reference}). For instance, assuming @command{guix publish} is running on @code{example.org}, the following URL returns the raw @file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in @code{nix-base32} format, @pxref{Invoking guix hash}):"
  20367. msgstr ""
  20368. #. type: example
  20369. #: guix-git/doc/guix.texi:14004
  20370. #, no-wrap
  20371. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  20372. msgstr ""
  20373. #. type: Plain text
  20374. #: guix-git/doc/guix.texi:14008
  20375. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  20376. msgstr ""
  20377. #. type: cindex
  20378. #: guix-git/doc/guix.texi:14009
  20379. #, no-wrap
  20380. msgid "build logs, publication"
  20381. msgstr ""
  20382. #. type: Plain text
  20383. #: guix-git/doc/guix.texi:14011
  20384. msgid "Build logs are available from @code{/log} URLs like:"
  20385. msgstr ""
  20386. #. type: example
  20387. #: guix-git/doc/guix.texi:14014
  20388. #, no-wrap
  20389. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  20390. msgstr ""
  20391. #. type: Plain text
  20392. #: guix-git/doc/guix.texi:14024
  20393. msgid "When @command{guix-daemon} is configured to save compressed build logs, as is the case by default (@pxref{Invoking guix-daemon}), @code{/log} URLs return the compressed log as-is, with an appropriate @code{Content-Type} and/or @code{Content-Encoding} header. We recommend running @command{guix-daemon} with @option{--log-compression=gzip} since Web browsers can automatically decompress it, which is not the case with Bzip2 compression."
  20394. msgstr ""
  20395. #. type: item
  20396. #: guix-git/doc/guix.texi:14028
  20397. #, no-wrap
  20398. msgid "--port=@var{port}"
  20399. msgstr ""
  20400. #. type: itemx
  20401. #: guix-git/doc/guix.texi:14029
  20402. #, no-wrap
  20403. msgid "-p @var{port}"
  20404. msgstr ""
  20405. #. type: table
  20406. #: guix-git/doc/guix.texi:14031
  20407. msgid "Listen for HTTP requests on @var{port}."
  20408. msgstr ""
  20409. #. type: item
  20410. #: guix-git/doc/guix.texi:14032
  20411. #, no-wrap
  20412. msgid "--listen=@var{host}"
  20413. msgstr ""
  20414. #. type: table
  20415. #: guix-git/doc/guix.texi:14035
  20416. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  20417. msgstr ""
  20418. #. type: table
  20419. #: guix-git/doc/guix.texi:14040
  20420. msgid "Change privileges to @var{user} as soon as possible---i.e., once the server socket is open and the signing key has been read."
  20421. msgstr ""
  20422. #. type: item
  20423. #: guix-git/doc/guix.texi:14041
  20424. #, no-wrap
  20425. msgid "--compression[=@var{method}[:@var{level}]]"
  20426. msgstr ""
  20427. #. type: itemx
  20428. #: guix-git/doc/guix.texi:14042
  20429. #, no-wrap
  20430. msgid "-C [@var{method}[:@var{level}]]"
  20431. msgstr ""
  20432. #. type: table
  20433. #: guix-git/doc/guix.texi:14046
  20434. msgid "Compress data using the given @var{method} and @var{level}. @var{method} is one of @code{lzip}, @code{zstd}, and @code{gzip}; when @var{method} is omitted, @code{gzip} is used."
  20435. msgstr ""
  20436. #. type: table
  20437. #: guix-git/doc/guix.texi:14050
  20438. msgid "When @var{level} is zero, disable compression. The range 1 to 9 corresponds to different compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). The default is 3."
  20439. msgstr ""
  20440. #. type: table
  20441. #: guix-git/doc/guix.texi:14057
  20442. msgid "Usually, @code{lzip} compresses noticeably better than @code{gzip} for a small increase in CPU usage; see @uref{https://nongnu.org/lzip/lzip_benchmark.html,benchmarks on the lzip Web page}. However, @code{lzip} achieves low decompression throughput (on the order of 50@tie{}MiB/s on modern hardware), which can be a bottleneck for someone who downloads over a fast network connection."
  20443. msgstr ""
  20444. #. type: table
  20445. #: guix-git/doc/guix.texi:14061
  20446. msgid "The compression ratio of @code{zstd} is between that of @code{lzip} and that of @code{gzip}; its main advantage is a @uref{https://facebook.github.io/zstd/,high decompression speed}."
  20447. msgstr ""
  20448. #. type: table
  20449. #: guix-git/doc/guix.texi:14070
  20450. msgid "Unless @option{--cache} is used, compression occurs on the fly and the compressed streams are not cached. Thus, to reduce load on the machine that runs @command{guix publish}, it may be a good idea to choose a low compression level, to run @command{guix publish} behind a caching proxy, or to use @option{--cache}. Using @option{--cache} has the advantage that it allows @command{guix publish} to add @code{Content-Length} HTTP header to its responses."
  20451. msgstr ""
  20452. #. type: table
  20453. #: guix-git/doc/guix.texi:14075
  20454. msgid "This option can be repeated, in which case every substitute gets compressed using all the selected methods, and all of them are advertised. This is useful when users may not support all the compression methods: they can select the one they support."
  20455. msgstr ""
  20456. #. type: item
  20457. #: guix-git/doc/guix.texi:14076
  20458. #, no-wrap
  20459. msgid "--cache=@var{directory}"
  20460. msgstr ""
  20461. #. type: itemx
  20462. #: guix-git/doc/guix.texi:14077
  20463. #, no-wrap
  20464. msgid "-c @var{directory}"
  20465. msgstr ""
  20466. #. type: table
  20467. #: guix-git/doc/guix.texi:14080
  20468. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  20469. msgstr ""
  20470. #. type: table
  20471. #: guix-git/doc/guix.texi:14088
  20472. msgid "When this option is omitted, archives and meta-data are created on-the-fly. This can reduce the available bandwidth, especially when compression is enabled, since this may become CPU-bound. Another drawback of the default mode is that the length of archives is not known in advance, so @command{guix publish} does not add a @code{Content-Length} HTTP header to its responses, which in turn prevents clients from knowing the amount of data being downloaded."
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:14096
  20476. msgid "Conversely, when @option{--cache} is used, the first request for a store item (@i{via} a @code{.narinfo} URL) triggers a background process to @dfn{bake} the archive---computing its @code{.narinfo} and compressing the archive, if needed. Once the archive is cached in @var{directory}, subsequent requests succeed and are served directly from the cache, which guarantees that clients get the best possible bandwidth."
  20477. msgstr ""
  20478. #. type: table
  20479. #: guix-git/doc/guix.texi:14103
  20480. msgid "That first @code{.narinfo} request nonetheless returns 200, provided the requested store item is ``small enough'', below the cache bypass threshold---see @option{--cache-bypass-threshold} below. That way, clients do not have to wait until the archive is baked. For larger store items, the first @code{.narinfo} request returns 404, meaning that clients have to wait until the archive is baked."
  20481. msgstr ""
  20482. #. type: table
  20483. #: guix-git/doc/guix.texi:14107
  20484. msgid "The ``baking'' process is performed by worker threads. By default, one thread per CPU core is created, but this can be customized. See @option{--workers} below."
  20485. msgstr ""
  20486. #. type: table
  20487. #: guix-git/doc/guix.texi:14110
  20488. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  20489. msgstr ""
  20490. #. type: item
  20491. #: guix-git/doc/guix.texi:14111
  20492. #, no-wrap
  20493. msgid "--workers=@var{N}"
  20494. msgstr ""
  20495. #. type: table
  20496. #: guix-git/doc/guix.texi:14114
  20497. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  20498. msgstr ""
  20499. #. type: item
  20500. #: guix-git/doc/guix.texi:14115
  20501. #, no-wrap
  20502. msgid "--ttl=@var{ttl}"
  20503. msgstr ""
  20504. #. type: table
  20505. #: guix-git/doc/guix.texi:14119 guix-git/doc/guix.texi:33828
  20506. msgid "Produce @code{Cache-Control} HTTP headers that advertise a time-to-live (TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 days, @code{1m} means 1 month, and so on."
  20507. msgstr ""
  20508. #. type: table
  20509. #: guix-git/doc/guix.texi:14124
  20510. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}. However, note that @code{guix publish} does not itself guarantee that the store items it provides will indeed remain available for as long as @var{ttl}."
  20511. msgstr ""
  20512. #. type: table
  20513. #: guix-git/doc/guix.texi:14128
  20514. msgid "Additionally, when @option{--cache} is used, cached entries that have not been accessed for @var{ttl} and that no longer have a corresponding item in the store, may be deleted."
  20515. msgstr ""
  20516. #. type: item
  20517. #: guix-git/doc/guix.texi:14129
  20518. #, no-wrap
  20519. msgid "--negative-ttl=@var{ttl}"
  20520. msgstr ""
  20521. #. type: table
  20522. #: guix-git/doc/guix.texi:14134 guix-git/doc/guix.texi:33837
  20523. msgid "Similarly produce @code{Cache-Control} HTTP headers to advertise the time-to-live (TTL) of @emph{negative} lookups---missing store items, for which the HTTP 404 code is returned. By default, no negative TTL is advertised."
  20524. msgstr ""
  20525. #. type: table
  20526. #: guix-git/doc/guix.texi:14138
  20527. msgid "This parameter can help adjust server load and substitute latency by instructing cooperating clients to be more or less patient when a store item is missing."
  20528. msgstr ""
  20529. #. type: item
  20530. #: guix-git/doc/guix.texi:14139
  20531. #, no-wrap
  20532. msgid "--cache-bypass-threshold=@var{size}"
  20533. msgstr ""
  20534. #. type: table
  20535. #: guix-git/doc/guix.texi:14144
  20536. msgid "When used in conjunction with @option{--cache}, store items smaller than @var{size} are immediately available, even when they are not yet in cache. @var{size} is a size in bytes, or it can be suffixed by @code{M} for megabytes and so on. The default is @code{10M}."
  20537. msgstr ""
  20538. #. type: table
  20539. #: guix-git/doc/guix.texi:14149
  20540. msgid "``Cache bypass'' allows you to reduce the publication delay for clients at the expense of possibly additional I/O and CPU use on the server side: depending on the client access patterns, those store items can end up being baked several times until a copy is available in cache."
  20541. msgstr ""
  20542. #. type: table
  20543. #: guix-git/doc/guix.texi:14153
  20544. msgid "Increasing the threshold may be useful for sites that have few users, or to guarantee that users get substitutes even for store items that are not popular."
  20545. msgstr ""
  20546. #. type: item
  20547. #: guix-git/doc/guix.texi:14154
  20548. #, no-wrap
  20549. msgid "--nar-path=@var{path}"
  20550. msgstr ""
  20551. #. type: table
  20552. #: guix-git/doc/guix.texi:14157
  20553. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  20554. msgstr ""
  20555. #. type: table
  20556. #: guix-git/doc/guix.texi:14161
  20557. msgid "By default, nars are served at a URL such as @code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change the @code{/nar} part to @var{path}."
  20558. msgstr ""
  20559. #. type: item
  20560. #: guix-git/doc/guix.texi:14162
  20561. #, no-wrap
  20562. msgid "--public-key=@var{file}"
  20563. msgstr ""
  20564. #. type: itemx
  20565. #: guix-git/doc/guix.texi:14163
  20566. #, no-wrap
  20567. msgid "--private-key=@var{file}"
  20568. msgstr ""
  20569. #. type: table
  20570. #: guix-git/doc/guix.texi:14166 guix-git/doc/guix.texi:29574
  20571. #: guix-git/doc/guix.texi:29611
  20572. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  20573. msgstr ""
  20574. #. type: table
  20575. #: guix-git/doc/guix.texi:14173
  20576. msgid "The files must correspond to the same key pair (the private key is used for signing and the public key is merely advertised in the signature metadata). They must contain keys in the canonical s-expression format as produced by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). By default, @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} are used."
  20577. msgstr ""
  20578. #. type: item
  20579. #: guix-git/doc/guix.texi:14174
  20580. #, no-wrap
  20581. msgid "--repl[=@var{port}]"
  20582. msgstr ""
  20583. #. type: itemx
  20584. #: guix-git/doc/guix.texi:14175
  20585. #, no-wrap
  20586. msgid "-r [@var{port}]"
  20587. msgstr ""
  20588. #. type: table
  20589. #: guix-git/doc/guix.texi:14179
  20590. msgid "Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) on @var{port} (37146 by default). This is used primarily for debugging a running @command{guix publish} server."
  20591. msgstr ""
  20592. #. type: Plain text
  20593. #: guix-git/doc/guix.texi:14185
  20594. msgid "Enabling @command{guix publish} on Guix System is a one-liner: just instantiate a @code{guix-publish-service-type} service in the @code{services} field of the @code{operating-system} declaration (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})."
  20595. msgstr ""
  20596. #. type: Plain text
  20597. #: guix-git/doc/guix.texi:14188
  20598. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  20599. msgstr ""
  20600. #. type: itemize
  20601. #: guix-git/doc/guix.texi:14192
  20602. msgid "If your host distro uses the systemd init system:"
  20603. msgstr ""
  20604. #. type: example
  20605. #: guix-git/doc/guix.texi:14197
  20606. #, no-wrap
  20607. msgid ""
  20608. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  20609. " /etc/systemd/system/\n"
  20610. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  20611. msgstr ""
  20612. #. type: example
  20613. #: guix-git/doc/guix.texi:14205
  20614. #, no-wrap
  20615. msgid ""
  20616. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  20617. "# start guix-publish\n"
  20618. msgstr ""
  20619. #. type: itemize
  20620. #: guix-git/doc/guix.texi:14209
  20621. msgid "Otherwise, proceed similarly with your distro's init system."
  20622. msgstr ""
  20623. #. type: section
  20624. #: guix-git/doc/guix.texi:14212
  20625. #, no-wrap
  20626. msgid "Invoking @command{guix challenge}"
  20627. msgstr ""
  20628. #. type: cindex
  20629. #: guix-git/doc/guix.texi:14215
  20630. #, no-wrap
  20631. msgid "verifiable builds"
  20632. msgstr ""
  20633. #. type: command{#1}
  20634. #: guix-git/doc/guix.texi:14216
  20635. #, no-wrap
  20636. msgid "guix challenge"
  20637. msgstr ""
  20638. #. type: cindex
  20639. #: guix-git/doc/guix.texi:14217
  20640. #, no-wrap
  20641. msgid "challenge"
  20642. msgstr ""
  20643. #. type: Plain text
  20644. #: guix-git/doc/guix.texi:14222
  20645. msgid "Do the binaries provided by this server really correspond to the source code it claims to build? Is a package build process deterministic? These are the questions the @command{guix challenge} command attempts to answer."
  20646. msgstr ""
  20647. #. type: Plain text
  20648. #: guix-git/doc/guix.texi:14230
  20649. msgid "The former is obviously an important question: Before using a substitute server (@pxref{Substitutes}), one had better @emph{verify} that it provides the right binaries, and thus @emph{challenge} it. The latter is what enables the former: If package builds are deterministic, then independent builds of the package should yield the exact same result, bit for bit; if a server provides a binary different from the one obtained locally, it may be either corrupt or malicious."
  20650. msgstr ""
  20651. #. type: Plain text
  20652. #: guix-git/doc/guix.texi:14239
  20653. msgid "We know that the hash that shows up in @file{/gnu/store} file names is the hash of all the inputs of the process that built the file or directory---compilers, libraries, build scripts, etc. (@pxref{Introduction}). Assuming deterministic build processes, one store file name should map to exactly one build output. @command{guix challenge} checks whether there is, indeed, a single mapping by comparing the build outputs of several independent builds of any given store item."
  20654. msgstr ""
  20655. #. type: Plain text
  20656. #: guix-git/doc/guix.texi:14241
  20657. msgid "The command output looks like this:"
  20658. msgstr ""
  20659. #. type: smallexample
  20660. #: guix-git/doc/guix.texi:14253
  20661. #, no-wrap
  20662. msgid ""
  20663. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20664. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20665. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20666. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20667. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20668. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20669. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20670. " differing files:\n"
  20671. " /lib/libcrypto.so.1.1\n"
  20672. " /lib/libssl.so.1.1\n"
  20673. "\n"
  20674. msgstr ""
  20675. #. type: smallexample
  20676. #: guix-git/doc/guix.texi:14260
  20677. #, no-wrap
  20678. msgid ""
  20679. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20680. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20681. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20682. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20683. " differing file:\n"
  20684. " /libexec/git-core/git-fsck\n"
  20685. "\n"
  20686. msgstr ""
  20687. #. type: smallexample
  20688. #: guix-git/doc/guix.texi:14267
  20689. #, no-wrap
  20690. msgid ""
  20691. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20692. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20693. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20694. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20695. " differing file:\n"
  20696. " /share/man/man1/pius.1.gz\n"
  20697. "\n"
  20698. msgstr ""
  20699. #. type: smallexample
  20700. #: guix-git/doc/guix.texi:14269
  20701. #, no-wrap
  20702. msgid ""
  20703. "@dots{}\n"
  20704. "\n"
  20705. msgstr ""
  20706. #. type: smallexample
  20707. #: guix-git/doc/guix.texi:14274
  20708. #, no-wrap
  20709. msgid ""
  20710. "6,406 store items were analyzed:\n"
  20711. " - 4,749 (74.1%) were identical\n"
  20712. " - 525 (8.2%) differed\n"
  20713. " - 1,132 (17.7%) were inconclusive\n"
  20714. msgstr ""
  20715. #. type: Plain text
  20716. #: guix-git/doc/guix.texi:14282
  20717. msgid "In this example, @command{guix challenge} first scans the store to determine the set of locally-built derivations---as opposed to store items that were downloaded from a substitute server---and then queries all the substitute servers. It then reports those store items for which the servers obtained a result different from the local build."
  20718. msgstr ""
  20719. #. type: cindex
  20720. #: guix-git/doc/guix.texi:14283
  20721. #, no-wrap
  20722. msgid "non-determinism, in package builds"
  20723. msgstr ""
  20724. #. type: Plain text
  20725. #: guix-git/doc/guix.texi:14294
  20726. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER-1}} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information."
  20727. msgstr ""
  20728. #. type: Plain text
  20729. #: guix-git/doc/guix.texi:14297
  20730. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20731. msgstr ""
  20732. #. type: example
  20733. #: guix-git/doc/guix.texi:14302
  20734. #, no-wrap
  20735. msgid ""
  20736. "guix challenge git \\\n"
  20737. " --diff=diffoscope \\\n"
  20738. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:14306
  20742. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20743. msgstr ""
  20744. #. type: Plain text
  20745. #: guix-git/doc/guix.texi:14309
  20746. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20747. msgstr ""
  20748. #. type: example
  20749. #: guix-git/doc/guix.texi:14314
  20750. #, no-wrap
  20751. msgid ""
  20752. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20753. " | lzip -d | guix archive -x /tmp/git\n"
  20754. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20755. msgstr ""
  20756. #. type: Plain text
  20757. #: guix-git/doc/guix.texi:14323
  20758. msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{@value{SUBSTITUTE-SERVER-1}} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files."
  20759. msgstr ""
  20760. #. type: Plain text
  20761. #: guix-git/doc/guix.texi:14331
  20762. msgid "Once you have done that work, you can tell whether the differences are due to a non-deterministic build process or to a malicious server. We try hard to remove sources of non-determinism in packages to make it easier to verify substitutes, but of course, this is a process that involves not just Guix, but a large part of the free software community. In the meantime, @command{guix challenge} is one tool to help address the problem."
  20763. msgstr ""
  20764. #. type: Plain text
  20765. #: guix-git/doc/guix.texi:14335
  20766. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER-1}} and other substitute servers obtain the same build result as you did with:"
  20767. msgstr ""
  20768. #. type: example
  20769. #: guix-git/doc/guix.texi:14338
  20770. #, no-wrap
  20771. msgid "$ guix challenge @var{package}\n"
  20772. msgstr ""
  20773. #. type: Plain text
  20774. #: guix-git/doc/guix.texi:14343
  20775. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20776. msgstr ""
  20777. #. type: example
  20778. #: guix-git/doc/guix.texi:14348
  20779. #, no-wrap
  20780. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20781. msgstr ""
  20782. #. type: Plain text
  20783. #: guix-git/doc/guix.texi:14355
  20784. msgid "When a difference is found between the hash of a locally-built item and that of a server-provided substitute, or among substitutes provided by different servers, the command displays it as in the example above and its exit code is 2 (other non-zero exit codes denote other kinds of errors)."
  20785. msgstr ""
  20786. #. type: Plain text
  20787. #: guix-git/doc/guix.texi:14357
  20788. msgid "The one option that matters is:"
  20789. msgstr ""
  20790. #. type: table
  20791. #: guix-git/doc/guix.texi:14363
  20792. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20793. msgstr ""
  20794. #. type: item
  20795. #: guix-git/doc/guix.texi:14364
  20796. #, no-wrap
  20797. msgid "--diff=@var{mode}"
  20798. msgstr ""
  20799. #. type: table
  20800. #: guix-git/doc/guix.texi:14366
  20801. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20802. msgstr ""
  20803. #. type: item
  20804. #: guix-git/doc/guix.texi:14368
  20805. #, no-wrap
  20806. msgid "@code{simple} (the default)"
  20807. msgstr ""
  20808. #. type: table
  20809. #: guix-git/doc/guix.texi:14370
  20810. msgid "Show the list of files that differ."
  20811. msgstr ""
  20812. #. type: code{#1}
  20813. #: guix-git/doc/guix.texi:14371
  20814. #, no-wrap
  20815. msgid "diffoscope"
  20816. msgstr ""
  20817. #. type: var{#1}
  20818. #: guix-git/doc/guix.texi:14372
  20819. #, no-wrap
  20820. msgid "command"
  20821. msgstr "command"
  20822. #. type: table
  20823. #: guix-git/doc/guix.texi:14375
  20824. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20825. msgstr ""
  20826. #. type: table
  20827. #: guix-git/doc/guix.texi:14378
  20828. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20829. msgstr ""
  20830. #. type: table
  20831. #: guix-git/doc/guix.texi:14381
  20832. msgid "Do not show further details about the differences."
  20833. msgstr ""
  20834. #. type: table
  20835. #: guix-git/doc/guix.texi:14386
  20836. msgid "Thus, unless @option{--diff=none} is passed, @command{guix challenge} downloads the store items from the given substitute servers so that it can compare them."
  20837. msgstr ""
  20838. #. type: item
  20839. #: guix-git/doc/guix.texi:14387
  20840. #, no-wrap
  20841. msgid "--verbose"
  20842. msgstr ""
  20843. #. type: itemx
  20844. #: guix-git/doc/guix.texi:14388
  20845. #, no-wrap
  20846. msgid "-v"
  20847. msgstr ""
  20848. #. type: table
  20849. #: guix-git/doc/guix.texi:14391
  20850. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20851. msgstr ""
  20852. #. type: section
  20853. #: guix-git/doc/guix.texi:14395
  20854. #, no-wrap
  20855. msgid "Invoking @command{guix copy}"
  20856. msgstr ""
  20857. #. type: cindex
  20858. #: guix-git/doc/guix.texi:14397
  20859. #, no-wrap
  20860. msgid "copy, of store items, over SSH"
  20861. msgstr ""
  20862. #. type: cindex
  20863. #: guix-git/doc/guix.texi:14398
  20864. #, no-wrap
  20865. msgid "SSH, copy of store items"
  20866. msgstr ""
  20867. #. type: cindex
  20868. #: guix-git/doc/guix.texi:14399
  20869. #, no-wrap
  20870. msgid "sharing store items across machines"
  20871. msgstr ""
  20872. #. type: cindex
  20873. #: guix-git/doc/guix.texi:14400
  20874. #, no-wrap
  20875. msgid "transferring store items across machines"
  20876. msgstr ""
  20877. #. type: Plain text
  20878. #: guix-git/doc/guix.texi:14407
  20879. msgid "The @command{guix copy} command copies items from the store of one machine to that of another machine over a secure shell (SSH) connection@footnote{This command is available only when Guile-SSH was found. @xref{Requirements}, for details.}. For example, the following command copies the @code{coreutils} package, the user's profile, and all their dependencies over to @var{host}, logged in as @var{user}:"
  20880. msgstr ""
  20881. #. type: example
  20882. #: guix-git/doc/guix.texi:14411
  20883. #, no-wrap
  20884. msgid ""
  20885. "guix copy --to=@var{user}@@@var{host} \\\n"
  20886. " coreutils $(readlink -f ~/.guix-profile)\n"
  20887. msgstr ""
  20888. #. type: Plain text
  20889. #: guix-git/doc/guix.texi:14415
  20890. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20891. msgstr ""
  20892. #. type: Plain text
  20893. #: guix-git/doc/guix.texi:14418
  20894. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20895. msgstr ""
  20896. #. type: example
  20897. #: guix-git/doc/guix.texi:14421
  20898. #, no-wrap
  20899. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20900. msgstr ""
  20901. #. type: Plain text
  20902. #: guix-git/doc/guix.texi:14426
  20903. msgid "The SSH connection is established using the Guile-SSH client, which is compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and @file{~/.ssh/config}, and uses the SSH agent for authentication."
  20904. msgstr ""
  20905. #. type: Plain text
  20906. #: guix-git/doc/guix.texi:14432
  20907. msgid "The key used to sign items that are sent must be accepted by the remote machine. Likewise, the key used by the remote machine to sign items you are retrieving must be in @file{/etc/guix/acl} so it is accepted by your own daemon. @xref{Invoking guix archive}, for more information about store item authentication."
  20908. msgstr ""
  20909. #. type: example
  20910. #: guix-git/doc/guix.texi:14437
  20911. #, no-wrap
  20912. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20913. msgstr ""
  20914. #. type: Plain text
  20915. #: guix-git/doc/guix.texi:14440
  20916. msgid "You must always specify one of the following options:"
  20917. msgstr ""
  20918. #. type: item
  20919. #: guix-git/doc/guix.texi:14442
  20920. #, no-wrap
  20921. msgid "--to=@var{spec}"
  20922. msgstr ""
  20923. #. type: itemx
  20924. #: guix-git/doc/guix.texi:14443
  20925. #, no-wrap
  20926. msgid "--from=@var{spec}"
  20927. msgstr ""
  20928. #. type: table
  20929. #: guix-git/doc/guix.texi:14447
  20930. msgid "Specify the host to send to or receive from. @var{spec} must be an SSH spec such as @code{example.org}, @code{charlie@@example.org}, or @code{charlie@@example.org:2222}."
  20931. msgstr ""
  20932. #. type: Plain text
  20933. #: guix-git/doc/guix.texi:14451
  20934. msgid "The @var{items} can be either package names, such as @code{gimp}, or store items, such as @file{/gnu/store/@dots{}-idutils-4.6}."
  20935. msgstr ""
  20936. #. type: Plain text
  20937. #: guix-git/doc/guix.texi:14455
  20938. msgid "When specifying the name of a package to send, it is first built if needed, unless @option{--dry-run} was specified. Common build options are supported (@pxref{Common Build Options})."
  20939. msgstr ""
  20940. #. type: section
  20941. #: guix-git/doc/guix.texi:14458
  20942. #, no-wrap
  20943. msgid "Invoking @command{guix container}"
  20944. msgstr ""
  20945. #. type: command{#1}
  20946. #: guix-git/doc/guix.texi:14460
  20947. #, no-wrap
  20948. msgid "guix container"
  20949. msgstr ""
  20950. #. type: quotation
  20951. #: guix-git/doc/guix.texi:14464
  20952. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20953. msgstr ""
  20954. #. type: Plain text
  20955. #: guix-git/doc/guix.texi:14471
  20956. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  20957. msgstr ""
  20958. #. type: example
  20959. #: guix-git/doc/guix.texi:14476
  20960. #, no-wrap
  20961. msgid "guix container @var{action} @var{options}@dots{}\n"
  20962. msgstr ""
  20963. #. type: Plain text
  20964. #: guix-git/doc/guix.texi:14480
  20965. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20966. msgstr ""
  20967. #. type: Plain text
  20968. #: guix-git/doc/guix.texi:14482
  20969. msgid "The following actions are available:"
  20970. msgstr ""
  20971. #. type: item
  20972. #: guix-git/doc/guix.texi:14484
  20973. #, no-wrap
  20974. msgid "exec"
  20975. msgstr ""
  20976. #. type: table
  20977. #: guix-git/doc/guix.texi:14486
  20978. msgid "Execute a command within the context of a running container."
  20979. msgstr ""
  20980. #. type: table
  20981. #: guix-git/doc/guix.texi:14488
  20982. msgid "The syntax is:"
  20983. msgstr ""
  20984. #. type: example
  20985. #: guix-git/doc/guix.texi:14491
  20986. #, no-wrap
  20987. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20988. msgstr ""
  20989. #. type: table
  20990. #: guix-git/doc/guix.texi:14497
  20991. msgid "@var{pid} specifies the process ID of the running container. @var{program} specifies an executable file name within the root file system of the container. @var{arguments} are the additional options that will be passed to @var{program}."
  20992. msgstr ""
  20993. #. type: table
  20994. #: guix-git/doc/guix.texi:14501
  20995. msgid "The following command launches an interactive login shell inside a Guix system container, started by @command{guix system container}, and whose process ID is 9001:"
  20996. msgstr ""
  20997. #. type: example
  20998. #: guix-git/doc/guix.texi:14504
  20999. #, no-wrap
  21000. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  21001. msgstr "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  21002. #. type: table
  21003. #: guix-git/doc/guix.texi:14508
  21004. msgid "Note that the @var{pid} cannot be the parent process of a container. It must be PID 1 of the container or one of its child processes."
  21005. msgstr ""
  21006. #. type: section
  21007. #: guix-git/doc/guix.texi:14512
  21008. #, no-wrap
  21009. msgid "Invoking @command{guix weather}"
  21010. msgstr ""
  21011. #. type: Plain text
  21012. #: guix-git/doc/guix.texi:14521
  21013. msgid "Occasionally you're grumpy because substitutes are lacking and you end up building packages by yourself (@pxref{Substitutes}). The @command{guix weather} command reports on substitute availability on the specified servers so you can have an idea of whether you'll be grumpy today. It can sometimes be useful info as a user, but it is primarily useful to people running @command{guix publish} (@pxref{Invoking guix publish})."
  21014. msgstr ""
  21015. #. type: cindex
  21016. #: guix-git/doc/guix.texi:14522
  21017. #, no-wrap
  21018. msgid "statistics, for substitutes"
  21019. msgstr ""
  21020. #. type: cindex
  21021. #: guix-git/doc/guix.texi:14523
  21022. #, no-wrap
  21023. msgid "availability of substitutes"
  21024. msgstr ""
  21025. #. type: cindex
  21026. #: guix-git/doc/guix.texi:14524
  21027. #, no-wrap
  21028. msgid "substitute availability"
  21029. msgstr ""
  21030. #. type: cindex
  21031. #: guix-git/doc/guix.texi:14525
  21032. #, no-wrap
  21033. msgid "weather, substitute availability"
  21034. msgstr ""
  21035. #. type: Plain text
  21036. #: guix-git/doc/guix.texi:14527
  21037. msgid "Here's a sample run:"
  21038. msgstr ""
  21039. #. type: example
  21040. #: guix-git/doc/guix.texi:14539
  21041. #, no-wrap
  21042. msgid ""
  21043. "$ guix weather --substitute-urls=https://guix.example.org\n"
  21044. "computing 5,872 package derivations for x86_64-linux...\n"
  21045. "looking for 6,128 store items on https://guix.example.org..\n"
  21046. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  21047. "https://guix.example.org\n"
  21048. " 43.4% substitutes available (2,658 out of 6,128)\n"
  21049. " 7,032.5 MiB of nars (compressed)\n"
  21050. " 19,824.2 MiB on disk (uncompressed)\n"
  21051. " 0.030 seconds per request (182.9 seconds in total)\n"
  21052. " 33.5 requests per second\n"
  21053. "\n"
  21054. msgstr ""
  21055. #. type: example
  21056. #: guix-git/doc/guix.texi:14549
  21057. #, no-wrap
  21058. msgid ""
  21059. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  21060. " 867 queued builds\n"
  21061. " x86_64-linux: 518 (59.7%)\n"
  21062. " i686-linux: 221 (25.5%)\n"
  21063. " aarch64-linux: 128 (14.8%)\n"
  21064. " build rate: 23.41 builds per hour\n"
  21065. " x86_64-linux: 11.16 builds per hour\n"
  21066. " i686-linux: 6.03 builds per hour\n"
  21067. " aarch64-linux: 6.41 builds per hour\n"
  21068. msgstr ""
  21069. #. type: cindex
  21070. #: guix-git/doc/guix.texi:14551
  21071. #, no-wrap
  21072. msgid "continuous integration, statistics"
  21073. msgstr ""
  21074. #. type: Plain text
  21075. #: guix-git/doc/guix.texi:14562
  21076. msgid "As you can see, it reports the fraction of all the packages for which substitutes are available on the server---regardless of whether substitutes are enabled, and regardless of whether this server's signing key is authorized. It also reports the size of the compressed archives (``nars'') provided by the server, the size the corresponding store items occupy in the store (assuming deduplication is turned off), and the server's throughput. The second part gives continuous integration (CI) statistics, if the server supports it. In addition, using the @option{--coverage} option, @command{guix weather} can list ``important'' package substitutes missing on the server (see below)."
  21077. msgstr ""
  21078. #. type: Plain text
  21079. #: guix-git/doc/guix.texi:14568
  21080. msgid "To achieve that, @command{guix weather} queries over HTTP(S) meta-data (@dfn{narinfos}) for all the relevant store items. Like @command{guix challenge}, it ignores signatures on those substitutes, which is innocuous since the command only gathers statistics and cannot install those substitutes."
  21081. msgstr ""
  21082. #. type: example
  21083. #: guix-git/doc/guix.texi:14573
  21084. #, no-wrap
  21085. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  21086. msgstr ""
  21087. #. type: Plain text
  21088. #: guix-git/doc/guix.texi:14581
  21089. msgid "When @var{packages} is omitted, @command{guix weather} checks the availability of substitutes for @emph{all} the packages, or for those specified with @option{--manifest}; otherwise it only considers the specified packages. It is also possible to query specific system types with @option{--system}. @command{guix weather} exits with a non-zero code when the fraction of available substitutes is below 100%."
  21090. msgstr ""
  21091. #. type: table
  21092. #: guix-git/doc/guix.texi:14589
  21093. msgid "@var{urls} is the space-separated list of substitute server URLs to query. When this option is omitted, the default set of substitute servers is queried."
  21094. msgstr ""
  21095. #. type: table
  21096. #: guix-git/doc/guix.texi:14595
  21097. msgid "Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This option can be repeated, in which case @command{guix weather} will query substitutes for several system types."
  21098. msgstr ""
  21099. #. type: table
  21100. #: guix-git/doc/guix.texi:14601
  21101. msgid "Instead of querying substitutes for all the packages, only ask for those specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package})."
  21102. msgstr ""
  21103. #. type: table
  21104. #: guix-git/doc/guix.texi:14604
  21105. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  21106. msgstr ""
  21107. #. type: item
  21108. #: guix-git/doc/guix.texi:14605
  21109. #, no-wrap
  21110. msgid "--coverage[=@var{count}]"
  21111. msgstr ""
  21112. #. type: itemx
  21113. #: guix-git/doc/guix.texi:14606
  21114. #, no-wrap
  21115. msgid "-c [@var{count}]"
  21116. msgstr ""
  21117. #. type: table
  21118. #: guix-git/doc/guix.texi:14612
  21119. msgid "Report on substitute coverage for packages: list packages with at least @var{count} dependents (zero by default) for which substitutes are unavailable. Dependent packages themselves are not listed: if @var{b} depends on @var{a} and @var{a} has no substitutes, only @var{a} is listed, even though @var{b} usually lacks substitutes as well. The result looks like this:"
  21120. msgstr ""
  21121. #. type: example
  21122. #: guix-git/doc/guix.texi:14626
  21123. #, no-wrap
  21124. msgid ""
  21125. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  21126. "computing 8,983 package derivations for x86_64-linux...\n"
  21127. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  21128. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  21129. "@value{SUBSTITUTE-URLS}\n"
  21130. " 64.7% substitutes available (6,047 out of 9,343)\n"
  21131. "@dots{}\n"
  21132. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  21133. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  21134. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  21135. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  21136. " @dots{}\n"
  21137. msgstr ""
  21138. #. type: table
  21139. #: guix-git/doc/guix.texi:14632
  21140. msgid "What this example shows is that @code{kcoreaddons} and presumably the 58 packages that depend on it have no substitutes at @code{@value{SUBSTITUTE-SERVER-1}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  21141. msgstr ""
  21142. #. type: table
  21143. #: guix-git/doc/guix.texi:14636
  21144. msgid "If you are a Guix developer, or if you are taking care of this build farm, you'll probably want to have a closer look at these packages: they may simply fail to build."
  21145. msgstr ""
  21146. #. type: item
  21147. #: guix-git/doc/guix.texi:14637
  21148. #, no-wrap
  21149. msgid "--display-missing"
  21150. msgstr ""
  21151. #. type: table
  21152. #: guix-git/doc/guix.texi:14639
  21153. msgid "Display the list of store items for which substitutes are missing."
  21154. msgstr ""
  21155. #. type: section
  21156. #: guix-git/doc/guix.texi:14642
  21157. #, no-wrap
  21158. msgid "Invoking @command{guix processes}"
  21159. msgstr ""
  21160. #. type: Plain text
  21161. #: guix-git/doc/guix.texi:14650
  21162. msgid "The @command{guix processes} command can be useful to developers and system administrators, especially on multi-user machines and on build farms: it lists the current sessions (connections to the daemon), as well as information about the processes involved@footnote{Remote sessions, when @command{guix-daemon} is started with @option{--listen} specifying a TCP endpoint, are @emph{not} listed.}. Here's an example of the information it returns:"
  21163. msgstr ""
  21164. #. type: example
  21165. #: guix-git/doc/guix.texi:14656
  21166. #, no-wrap
  21167. msgid ""
  21168. "$ sudo guix processes\n"
  21169. "SessionPID: 19002\n"
  21170. "ClientPID: 19090\n"
  21171. "ClientCommand: guix shell python\n"
  21172. "\n"
  21173. msgstr ""
  21174. #. type: example
  21175. #: guix-git/doc/guix.texi:14660
  21176. #, no-wrap
  21177. msgid ""
  21178. "SessionPID: 19402\n"
  21179. "ClientPID: 19367\n"
  21180. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  21181. "\n"
  21182. msgstr ""
  21183. #. type: example
  21184. #: guix-git/doc/guix.texi:14673
  21185. #, no-wrap
  21186. msgid ""
  21187. "SessionPID: 19444\n"
  21188. "ClientPID: 19419\n"
  21189. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21190. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  21191. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  21192. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  21193. "ChildPID: 20495\n"
  21194. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21195. "ChildPID: 27733\n"
  21196. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21197. "ChildPID: 27793\n"
  21198. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21199. msgstr ""
  21200. #. type: Plain text
  21201. #: guix-git/doc/guix.texi:14680
  21202. msgid "In this example we see that @command{guix-daemon} has three clients: @command{guix environment}, @command{guix publish}, and the Cuirass continuous integration tool; their process identifier (PID) is given by the @code{ClientPID} field. The @code{SessionPID} field gives the PID of the @command{guix-daemon} sub-process of this particular session."
  21203. msgstr ""
  21204. #. type: Plain text
  21205. #: guix-git/doc/guix.texi:14687
  21206. msgid "The @code{LockHeld} fields show which store items are currently locked by this session, which corresponds to store items being built or substituted (the @code{LockHeld} field is not displayed when @command{guix processes} is not running as root). Last, by looking at the @code{ChildPID} and @code{ChildCommand} fields, we understand that these three builds are being offloaded (@pxref{Daemon Offload Setup})."
  21207. msgstr ""
  21208. #. type: Plain text
  21209. #: guix-git/doc/guix.texi:14692
  21210. msgid "The output is in Recutils format so we can use the handy @command{recsel} command to select sessions of interest (@pxref{Selection Expressions,,, recutils, GNU recutils manual}). As an example, the command shows the command line and PID of the client that triggered the build of a Perl package:"
  21211. msgstr ""
  21212. #. type: example
  21213. #: guix-git/doc/guix.texi:14698
  21214. #, no-wrap
  21215. msgid ""
  21216. "$ sudo guix processes | \\\n"
  21217. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  21218. "ClientPID: 19419\n"
  21219. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21220. msgstr ""
  21221. #. type: Plain text
  21222. #: guix-git/doc/guix.texi:14701
  21223. msgid "Additional options are listed below."
  21224. msgstr ""
  21225. #. type: table
  21226. #: guix-git/doc/guix.texi:14711
  21227. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  21228. msgstr ""
  21229. #. type: item
  21230. #: guix-git/doc/guix.texi:14712
  21231. #, no-wrap
  21232. msgid "normalized"
  21233. msgstr ""
  21234. #. type: table
  21235. #: guix-git/doc/guix.texi:14719
  21236. msgid "Normalize the output records into record sets (@pxref{Record Sets,,, recutils, GNU recutils manual}). Normalizing into record sets allows joins across record types. The example below lists the PID of each @code{ChildProcess} and the associated PID for @code{Session} that spawned the @code{ChildProcess} where the @code{Session} was started using @command{guix build}."
  21237. msgstr ""
  21238. #. type: example
  21239. #: guix-git/doc/guix.texi:14729
  21240. #, no-wrap
  21241. msgid ""
  21242. "$ guix processes --format=normalized | \\\n"
  21243. " recsel \\\n"
  21244. " -j Session \\\n"
  21245. " -t ChildProcess \\\n"
  21246. " -p Session.PID,PID \\\n"
  21247. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  21248. "PID: 4435\n"
  21249. "Session_PID: 4278\n"
  21250. "\n"
  21251. msgstr ""
  21252. #. type: example
  21253. #: guix-git/doc/guix.texi:14732
  21254. #, no-wrap
  21255. msgid ""
  21256. "PID: 4554\n"
  21257. "Session_PID: 4278\n"
  21258. "\n"
  21259. msgstr ""
  21260. #. type: example
  21261. #: guix-git/doc/guix.texi:14735
  21262. #, no-wrap
  21263. msgid ""
  21264. "PID: 4646\n"
  21265. "Session_PID: 4278\n"
  21266. msgstr ""
  21267. #. type: cindex
  21268. #: guix-git/doc/guix.texi:14742
  21269. #, no-wrap
  21270. msgid "system configuration"
  21271. msgstr "nastavenie systému"
  21272. #. type: Plain text
  21273. #: guix-git/doc/guix.texi:14748
  21274. msgid "Guix System supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration---such as the available system services, timezone and locale settings, user accounts---are declared in a single place. Such a @dfn{system configuration} can be @dfn{instantiated}---i.e., effected."
  21275. msgstr ""
  21276. #. type: Plain text
  21277. #: guix-git/doc/guix.texi:14758
  21278. msgid "One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll back to a previous system instantiation, should something go wrong with the new one (@pxref{Features}). Another advantage is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the own tools of the system."
  21279. msgstr ""
  21280. #. type: Plain text
  21281. #: guix-git/doc/guix.texi:14763
  21282. msgid "This section describes this mechanism. First we focus on the system administrator's viewpoint---explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services."
  21283. msgstr ""
  21284. #. type: Plain text
  21285. #: guix-git/doc/guix.texi:14793
  21286. msgid "The operating system is configured by providing an @code{operating-system} declaration in a file that can then be passed to the @command{guix system} command (@pxref{Invoking guix system}). A simple setup, with the default system services, the default Linux-Libre kernel, initial RAM disk, and boot loader looks like this:"
  21287. msgstr ""
  21288. #. type: code{#1}
  21289. #: guix-git/doc/guix.texi:14794 guix-git/doc/guix.texi:36147
  21290. #, no-wrap
  21291. msgid "operating-system"
  21292. msgstr "operating-system"
  21293. #. type: include
  21294. #: guix-git/doc/guix.texi:14796
  21295. #, no-wrap
  21296. msgid "os-config-bare-bones.texi"
  21297. msgstr ""
  21298. #. type: Plain text
  21299. #: guix-git/doc/guix.texi:14803
  21300. msgid "This example should be self-describing. Some of the fields defined above, such as @code{host-name} and @code{bootloader}, are mandatory. Others, such as @code{packages} and @code{services}, can be omitted, in which case they get a default value."
  21301. msgstr ""
  21302. #. type: Plain text
  21303. #: guix-git/doc/guix.texi:14808
  21304. msgid "Below we discuss the effect of some of the most important fields (@pxref{operating-system Reference}, for details about all the available fields), and how to @dfn{instantiate} the operating system using @command{guix system}."
  21305. msgstr ""
  21306. #. type: unnumberedsubsec
  21307. #: guix-git/doc/guix.texi:14809
  21308. #, no-wrap
  21309. msgid "Bootloader"
  21310. msgstr ""
  21311. #. type: cindex
  21312. #: guix-git/doc/guix.texi:14811
  21313. #, no-wrap
  21314. msgid "legacy boot, on Intel machines"
  21315. msgstr ""
  21316. #. type: cindex
  21317. #: guix-git/doc/guix.texi:14812
  21318. #, no-wrap
  21319. msgid "BIOS boot, on Intel machines"
  21320. msgstr ""
  21321. #. type: cindex
  21322. #: guix-git/doc/guix.texi:14813
  21323. #, no-wrap
  21324. msgid "UEFI boot"
  21325. msgstr ""
  21326. #. type: cindex
  21327. #: guix-git/doc/guix.texi:14814
  21328. #, no-wrap
  21329. msgid "EFI boot"
  21330. msgstr ""
  21331. #. type: Plain text
  21332. #: guix-git/doc/guix.texi:14820
  21333. msgid "The @code{bootloader} field describes the method that will be used to boot your system. Machines based on Intel processors can boot in ``legacy'' BIOS mode, as in the example above. However, more recent machines rely instead on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that case, the @code{bootloader} field should contain something along these lines:"
  21334. msgstr ""
  21335. #. type: lisp
  21336. #: guix-git/doc/guix.texi:14825
  21337. #, no-wrap
  21338. msgid ""
  21339. "(bootloader-configuration\n"
  21340. " (bootloader grub-efi-bootloader)\n"
  21341. " (targets '(\"/boot/efi\")))\n"
  21342. msgstr ""
  21343. #. type: Plain text
  21344. #: guix-git/doc/guix.texi:14829
  21345. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  21346. msgstr ""
  21347. #. type: unnumberedsubsec
  21348. #: guix-git/doc/guix.texi:14830
  21349. #, no-wrap
  21350. msgid "Globally-Visible Packages"
  21351. msgstr ""
  21352. #. type: vindex
  21353. #: guix-git/doc/guix.texi:14832
  21354. #, no-wrap
  21355. msgid "%base-packages"
  21356. msgstr ""
  21357. #. type: Plain text
  21358. #: guix-git/doc/guix.texi:14845
  21359. msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @env{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @code{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the @command{mg} lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:"
  21360. msgstr ""
  21361. #. type: lisp
  21362. #: guix-git/doc/guix.texi:14849
  21363. #, no-wrap
  21364. msgid ""
  21365. "(use-modules (gnu packages))\n"
  21366. "(use-modules (gnu packages dns))\n"
  21367. "\n"
  21368. msgstr ""
  21369. #. type: lisp
  21370. #: guix-git/doc/guix.texi:14854
  21371. #, no-wrap
  21372. msgid ""
  21373. "(operating-system\n"
  21374. " ;; ...\n"
  21375. " (packages (cons (list isc-bind \"utils\")\n"
  21376. " %base-packages)))\n"
  21377. msgstr ""
  21378. #. type: findex
  21379. #: guix-git/doc/guix.texi:14856
  21380. #, no-wrap
  21381. msgid "specification->package"
  21382. msgstr ""
  21383. #. type: Plain text
  21384. #: guix-git/doc/guix.texi:14865
  21385. msgid "Referring to packages by variable name, like @code{isc-bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:"
  21386. msgstr ""
  21387. #. type: lisp
  21388. #: guix-git/doc/guix.texi:14868
  21389. #, no-wrap
  21390. msgid ""
  21391. "(use-modules (gnu packages))\n"
  21392. "\n"
  21393. msgstr ""
  21394. #. type: lisp
  21395. #: guix-git/doc/guix.texi:14874
  21396. #, no-wrap
  21397. msgid ""
  21398. "(operating-system\n"
  21399. " ;; ...\n"
  21400. " (packages (append (map specification->package\n"
  21401. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  21402. " %base-packages)))\n"
  21403. msgstr ""
  21404. #. type: unnumberedsubsec
  21405. #: guix-git/doc/guix.texi:14876
  21406. #, no-wrap
  21407. msgid "System Services"
  21408. msgstr "Systémové služby"
  21409. #. type: cindex
  21410. #: guix-git/doc/guix.texi:14878 guix-git/doc/guix.texi:34860
  21411. #: guix-git/doc/guix.texi:36387
  21412. #, no-wrap
  21413. msgid "services"
  21414. msgstr "služby"
  21415. #. type: vindex
  21416. #: guix-git/doc/guix.texi:14879
  21417. #, no-wrap
  21418. msgid "%base-services"
  21419. msgstr ""
  21420. #. type: Plain text
  21421. #: guix-git/doc/guix.texi:14889
  21422. msgid "The @code{services} field lists @dfn{system services} to be made available when the system starts (@pxref{Services}). The @code{operating-system} declaration above specifies that, in addition to the basic services, we want the OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}}). Under the hood, @code{openssh-service-type} arranges so that @command{sshd} is started with the right command-line options, possibly with supporting configuration files generated as needed (@pxref{Defining Services})."
  21423. msgstr ""
  21424. #. type: cindex
  21425. #: guix-git/doc/guix.texi:14890
  21426. #, no-wrap
  21427. msgid "customization, of services"
  21428. msgstr ""
  21429. #. type: findex
  21430. #: guix-git/doc/guix.texi:14891
  21431. #, no-wrap
  21432. msgid "modify-services"
  21433. msgstr ""
  21434. #. type: Plain text
  21435. #: guix-git/doc/guix.texi:14895
  21436. msgid "Occasionally, instead of using the base services as is, you will want to customize them. To do this, use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) to modify the list."
  21437. msgstr ""
  21438. #. type: anchor{#1}
  21439. #: guix-git/doc/guix.texi:14901
  21440. msgid "auto-login to TTY"
  21441. msgstr ""
  21442. #. type: Plain text
  21443. #: guix-git/doc/guix.texi:14901
  21444. msgid "For example, suppose you want to modify @code{guix-daemon} and Mingetty (the console log-in) in the @code{%base-services} list (@pxref{Base Services, @code{%base-services}}). To do that, you can write the following in your operating system declaration:"
  21445. msgstr ""
  21446. #. type: lisp
  21447. #: guix-git/doc/guix.texi:14918
  21448. #, no-wrap
  21449. msgid ""
  21450. "(define %my-services\n"
  21451. " ;; My very own list of services.\n"
  21452. " (modify-services %base-services\n"
  21453. " (guix-service-type config =>\n"
  21454. " (guix-configuration\n"
  21455. " (inherit config)\n"
  21456. " ;; Fetch substitutes from example.org.\n"
  21457. " (substitute-urls\n"
  21458. " (list \"https://example.org/guix\"\n"
  21459. " \"https://ci.guix.gnu.org\"))))\n"
  21460. " (mingetty-service-type config =>\n"
  21461. " (mingetty-configuration\n"
  21462. " (inherit config)\n"
  21463. " ;; Automatically log in as \"guest\".\n"
  21464. " (auto-login \"guest\")))))\n"
  21465. "\n"
  21466. msgstr ""
  21467. #. type: lisp
  21468. #: guix-git/doc/guix.texi:14922
  21469. #, no-wrap
  21470. msgid ""
  21471. "(operating-system\n"
  21472. " ;; @dots{}\n"
  21473. " (services %my-services))\n"
  21474. msgstr ""
  21475. "(operating-system\n"
  21476. " ;; @dots{}\n"
  21477. " (services %my-services))\n"
  21478. #. type: Plain text
  21479. #: guix-git/doc/guix.texi:14935
  21480. msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @code{%base-services} list (@pxref{Auto-Login to a Specific TTY, see the cookbook for how to auto-login one user to a specific TTY,, guix-cookbook, GNU Guix Cookbook})). Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications."
  21481. msgstr ""
  21482. #. type: Plain text
  21483. #: guix-git/doc/guix.texi:14942
  21484. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  21485. msgstr ""
  21486. #. type: include
  21487. #: guix-git/doc/guix.texi:14944
  21488. #, no-wrap
  21489. msgid "os-config-desktop.texi"
  21490. msgstr ""
  21491. #. type: Plain text
  21492. #: guix-git/doc/guix.texi:14949
  21493. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  21494. msgstr ""
  21495. #. type: include
  21496. #: guix-git/doc/guix.texi:14951
  21497. #, no-wrap
  21498. msgid "os-config-lightweight-desktop.texi"
  21499. msgstr ""
  21500. #. type: Plain text
  21501. #: guix-git/doc/guix.texi:14957
  21502. msgid "This example refers to the @file{/boot/efi} file system by its UUID, @code{1234-ABCD}. Replace this UUID with the right UUID on your system, as returned by the @command{blkid} command."
  21503. msgstr ""
  21504. #. type: Plain text
  21505. #: guix-git/doc/guix.texi:14961
  21506. msgid "@xref{Desktop Services}, for the exact list of services provided by @code{%desktop-services}. @xref{X.509 Certificates}, for background information about the @code{nss-certs} package that is used here."
  21507. msgstr ""
  21508. #. type: Plain text
  21509. #: guix-git/doc/guix.texi:14968
  21510. msgid "Again, @code{%desktop-services} is just a list of service objects. If you want to remove services from there, you can do so using the procedures for list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). For instance, the following expression returns a list that contains all the services in @code{%desktop-services} minus the Avahi service:"
  21511. msgstr ""
  21512. #. type: lisp
  21513. #: guix-git/doc/guix.texi:14973
  21514. #, no-wrap
  21515. msgid ""
  21516. "(remove (lambda (service)\n"
  21517. " (eq? (service-kind service) avahi-service-type))\n"
  21518. " %desktop-services)\n"
  21519. msgstr ""
  21520. #. type: Plain text
  21521. #: guix-git/doc/guix.texi:14976
  21522. msgid "Alternatively, the @code{modify-services} macro can be used:"
  21523. msgstr ""
  21524. #. type: lisp
  21525. #: guix-git/doc/guix.texi:14980
  21526. #, no-wrap
  21527. msgid ""
  21528. "(modify-services %desktop-services\n"
  21529. " (delete avahi-service-type))\n"
  21530. msgstr ""
  21531. #. type: unnumberedsubsec
  21532. #: guix-git/doc/guix.texi:14983
  21533. #, no-wrap
  21534. msgid "Instantiating the System"
  21535. msgstr ""
  21536. #. type: Plain text
  21537. #: guix-git/doc/guix.texi:14990
  21538. msgid "Assuming the @code{operating-system} declaration is stored in the @file{my-system-config.scm} file, the @command{guix system reconfigure my-system-config.scm} command instantiates that configuration, and makes it the default GRUB boot entry (@pxref{Invoking guix system})."
  21539. msgstr ""
  21540. #. type: Plain text
  21541. #: guix-git/doc/guix.texi:14998
  21542. msgid "The normal way to change the system configuration is by updating this file and re-running @command{guix system reconfigure}. One should never have to touch files in @file{/etc} or to run commands that modify the system state such as @command{useradd} or @command{grub-install}. In fact, you must avoid that since that would not only void your warranty but also prevent you from rolling back to previous versions of your system, should you ever need to."
  21543. msgstr ""
  21544. #. type: cindex
  21545. #: guix-git/doc/guix.texi:14999
  21546. #, no-wrap
  21547. msgid "roll-back, of the operating system"
  21548. msgstr ""
  21549. #. type: Plain text
  21550. #: guix-git/doc/guix.texi:15009
  21551. msgid "Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the system via the commands @command{guix system roll-back} and @command{guix system switch-generation}."
  21552. msgstr ""
  21553. #. type: Plain text
  21554. #: guix-git/doc/guix.texi:15015
  21555. msgid "Although the @command{guix system reconfigure} command will not modify previous generations, you must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})."
  21556. msgstr ""
  21557. #. type: unnumberedsubsec
  21558. #: guix-git/doc/guix.texi:15016
  21559. #, no-wrap
  21560. msgid "The Programming Interface"
  21561. msgstr ""
  21562. #. type: Plain text
  21563. #: guix-git/doc/guix.texi:15021
  21564. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  21565. msgstr ""
  21566. #. type: deffn
  21567. #: guix-git/doc/guix.texi:15022
  21568. #, no-wrap
  21569. msgid "{Monadic Procedure} operating-system-derivation os"
  21570. msgstr ""
  21571. #. type: deffn
  21572. #: guix-git/doc/guix.texi:15025
  21573. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  21574. msgstr ""
  21575. #. type: deffn
  21576. #: guix-git/doc/guix.texi:15029
  21577. msgid "The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate @var{os}."
  21578. msgstr ""
  21579. #. type: Plain text
  21580. #: guix-git/doc/guix.texi:15034
  21581. msgid "This procedure is provided by the @code{(gnu system)} module. Along with @code{(gnu services)} (@pxref{Services}), this module contains the guts of Guix System. Make sure to visit it!"
  21582. msgstr ""
  21583. #. type: section
  21584. #: guix-git/doc/guix.texi:15037
  21585. #, no-wrap
  21586. msgid "@code{operating-system} Reference"
  21587. msgstr ""
  21588. #. type: Plain text
  21589. #: guix-git/doc/guix.texi:15042
  21590. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  21591. msgstr ""
  21592. #. type: deftp
  21593. #: guix-git/doc/guix.texi:15043
  21594. #, no-wrap
  21595. msgid "{Data Type} operating-system"
  21596. msgstr ""
  21597. #. type: deftp
  21598. #: guix-git/doc/guix.texi:15047
  21599. msgid "This is the data type representing an operating system configuration. By that, we mean all the global system configuration, not per-user configuration (@pxref{Using the Configuration System})."
  21600. msgstr ""
  21601. #. type: item
  21602. #: guix-git/doc/guix.texi:15049
  21603. #, no-wrap
  21604. msgid "@code{kernel} (default: @code{linux-libre})"
  21605. msgstr ""
  21606. #. type: table
  21607. #: guix-git/doc/guix.texi:15054
  21608. msgid "The package object of the operating system kernel to use@footnote{Currently only the Linux-libre kernel is fully supported. Using GNU@tie{}mach with the GNU@tie{}Hurd is experimental and only available when building a virtual machine disk image.}."
  21609. msgstr ""
  21610. #. type: code{#1}
  21611. #: guix-git/doc/guix.texi:15055 guix-git/doc/guix.texi:31198
  21612. #, no-wrap
  21613. msgid "hurd"
  21614. msgstr ""
  21615. #. type: item
  21616. #: guix-git/doc/guix.texi:15056
  21617. #, no-wrap
  21618. msgid "@code{hurd} (default: @code{#f})"
  21619. msgstr ""
  21620. #. type: table
  21621. #: guix-git/doc/guix.texi:15061
  21622. msgid "The package object of the Hurd to be started by the kernel. When this field is set, produce a GNU/Hurd operating system. In that case, @code{kernel} must also be set to the @code{gnumach} package---the microkernel the Hurd runs on."
  21623. msgstr ""
  21624. #. type: quotation
  21625. #: guix-git/doc/guix.texi:15064
  21626. msgid "This feature is experimental and only supported for disk images."
  21627. msgstr ""
  21628. #. type: item
  21629. #: guix-git/doc/guix.texi:15066
  21630. #, no-wrap
  21631. msgid "@code{kernel-loadable-modules} (default: '())"
  21632. msgstr ""
  21633. #. type: table
  21634. #: guix-git/doc/guix.texi:15069
  21635. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  21636. msgstr ""
  21637. #. type: item
  21638. #: guix-git/doc/guix.texi:15070
  21639. #, no-wrap
  21640. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  21641. msgstr ""
  21642. #. type: table
  21643. #: guix-git/doc/guix.texi:15073
  21644. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  21645. msgstr ""
  21646. #. type: code{#1}
  21647. #: guix-git/doc/guix.texi:15074 guix-git/doc/guix.texi:35092
  21648. #: guix-git/doc/guix.texi:35111
  21649. #, no-wrap
  21650. msgid "bootloader"
  21651. msgstr ""
  21652. #. type: table
  21653. #: guix-git/doc/guix.texi:15076
  21654. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21655. msgstr ""
  21656. #. type: code{#1}
  21657. #: guix-git/doc/guix.texi:15077 guix-git/doc/guix.texi:35285
  21658. #, no-wrap
  21659. msgid "label"
  21660. msgstr "label"
  21661. #. type: table
  21662. #: guix-git/doc/guix.texi:15080
  21663. msgid "This is the label (a string) as it appears in the bootloader's menu entry. The default label includes the kernel name and version."
  21664. msgstr ""
  21665. #. type: item
  21666. #: guix-git/doc/guix.texi:15081 guix-git/doc/guix.texi:16800
  21667. #: guix-git/doc/guix.texi:19990 guix-git/doc/guix.texi:35215
  21668. #, no-wrap
  21669. msgid "@code{keyboard-layout} (default: @code{#f})"
  21670. msgstr ""
  21671. #. type: table
  21672. #: guix-git/doc/guix.texi:15086
  21673. msgid "This field specifies the keyboard layout to use in the console. It can be either @code{#f}, in which case the default keyboard layout is used (usually US English), or a @code{<keyboard-layout>} record. @xref{Keyboard Layout}, for more information."
  21674. msgstr ""
  21675. #. type: table
  21676. #: guix-git/doc/guix.texi:15091
  21677. msgid "This keyboard layout is in effect as soon as the kernel has booted. For instance, it is the keyboard layout in effect when you type a passphrase if your root file system is on a @code{luks-device-mapping} mapped device (@pxref{Mapped Devices})."
  21678. msgstr ""
  21679. #. type: quotation
  21680. #: guix-git/doc/guix.texi:15098
  21681. msgid "This does @emph{not} specify the keyboard layout used by the bootloader, nor that used by the graphical display server. @xref{Bootloader Configuration}, for information on how to specify the bootloader's keyboard layout. @xref{X Window}, for information on how to specify the keyboard layout used by the X Window System."
  21682. msgstr ""
  21683. #. type: item
  21684. #: guix-git/doc/guix.texi:15100
  21685. #, no-wrap
  21686. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21687. msgstr ""
  21688. #. type: cindex
  21689. #: guix-git/doc/guix.texi:15101 guix-git/doc/guix.texi:34897
  21690. #: guix-git/doc/guix.texi:35020
  21691. #, no-wrap
  21692. msgid "initrd"
  21693. msgstr ""
  21694. #. type: cindex
  21695. #: guix-git/doc/guix.texi:15102 guix-git/doc/guix.texi:34898
  21696. #: guix-git/doc/guix.texi:35021
  21697. #, no-wrap
  21698. msgid "initial RAM disk"
  21699. msgstr ""
  21700. #. type: table
  21701. #: guix-git/doc/guix.texi:15105
  21702. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21703. msgstr ""
  21704. #. type: item
  21705. #: guix-git/doc/guix.texi:15106
  21706. #, no-wrap
  21707. msgid "@code{initrd} (default: @code{base-initrd})"
  21708. msgstr ""
  21709. #. type: table
  21710. #: guix-git/doc/guix.texi:15110
  21711. msgid "A procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}."
  21712. msgstr ""
  21713. #. type: item
  21714. #: guix-git/doc/guix.texi:15111
  21715. #, no-wrap
  21716. msgid "@code{firmware} (default: @code{%base-firmware})"
  21717. msgstr ""
  21718. #. type: cindex
  21719. #: guix-git/doc/guix.texi:15112
  21720. #, no-wrap
  21721. msgid "firmware"
  21722. msgstr "mikroprogramové vybavenie"
  21723. #. type: table
  21724. #: guix-git/doc/guix.texi:15114
  21725. msgid "List of firmware packages loadable by the operating system kernel."
  21726. msgstr ""
  21727. #. type: table
  21728. #: guix-git/doc/guix.texi:15119
  21729. msgid "The default includes firmware needed for Atheros- and Broadcom-based WiFi devices (Linux-libre modules @code{ath9k} and @code{b43-open}, respectively). @xref{Hardware Considerations}, for more info on supported hardware."
  21730. msgstr ""
  21731. #. type: code{#1}
  21732. #: guix-git/doc/guix.texi:15120 guix-git/doc/guix.texi:36166
  21733. #, no-wrap
  21734. msgid "host-name"
  21735. msgstr ""
  21736. #. type: table
  21737. #: guix-git/doc/guix.texi:15122
  21738. msgid "The host name."
  21739. msgstr ""
  21740. #. type: code{#1}
  21741. #: guix-git/doc/guix.texi:15123
  21742. #, no-wrap
  21743. msgid "hosts-file"
  21744. msgstr ""
  21745. #. type: cindex
  21746. #: guix-git/doc/guix.texi:15124
  21747. #, no-wrap
  21748. msgid "hosts file"
  21749. msgstr ""
  21750. #. type: table
  21751. #: guix-git/doc/guix.texi:15129
  21752. msgid "A file-like object (@pxref{G-Expressions, file-like objects}) for use as @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). The default is a file with entries for @code{localhost} and @var{host-name}."
  21753. msgstr ""
  21754. #. type: item
  21755. #: guix-git/doc/guix.texi:15130
  21756. #, no-wrap
  21757. msgid "@code{mapped-devices} (default: @code{'()})"
  21758. msgstr ""
  21759. #. type: table
  21760. #: guix-git/doc/guix.texi:15132
  21761. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21762. msgstr ""
  21763. #. type: code{#1}
  21764. #: guix-git/doc/guix.texi:15133
  21765. #, no-wrap
  21766. msgid "file-systems"
  21767. msgstr "file-systems"
  21768. #. type: table
  21769. #: guix-git/doc/guix.texi:15135
  21770. msgid "A list of file systems. @xref{File Systems}."
  21771. msgstr ""
  21772. #. type: item
  21773. #: guix-git/doc/guix.texi:15136
  21774. #, no-wrap
  21775. msgid "@code{swap-devices} (default: @code{'()})"
  21776. msgstr ""
  21777. #. type: cindex
  21778. #: guix-git/doc/guix.texi:15137
  21779. #, no-wrap
  21780. msgid "swap devices"
  21781. msgstr ""
  21782. #. type: table
  21783. #: guix-git/doc/guix.texi:15139
  21784. msgid "A list of swap spaces. @xref{Swap Space}."
  21785. msgstr ""
  21786. #. type: item
  21787. #: guix-git/doc/guix.texi:15140
  21788. #, no-wrap
  21789. msgid "@code{users} (default: @code{%base-user-accounts})"
  21790. msgstr ""
  21791. #. type: itemx
  21792. #: guix-git/doc/guix.texi:15141
  21793. #, no-wrap
  21794. msgid "@code{groups} (default: @code{%base-groups})"
  21795. msgstr ""
  21796. #. type: table
  21797. #: guix-git/doc/guix.texi:15143
  21798. msgid "List of user accounts and groups. @xref{User Accounts}."
  21799. msgstr ""
  21800. #. type: table
  21801. #: guix-git/doc/guix.texi:15146
  21802. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21803. msgstr ""
  21804. #. type: item
  21805. #: guix-git/doc/guix.texi:15147
  21806. #, no-wrap
  21807. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21808. msgstr ""
  21809. #. type: table
  21810. #: guix-git/doc/guix.texi:15151
  21811. msgid "A list of target file name/file-like object tuples (@pxref{G-Expressions, file-like objects}). These are the skeleton files that will be added to the home directory of newly-created user accounts."
  21812. msgstr ""
  21813. #. type: table
  21814. #: guix-git/doc/guix.texi:15153
  21815. msgid "For instance, a valid value may look like this:"
  21816. msgstr ""
  21817. #. type: lisp
  21818. #: guix-git/doc/guix.texi:15159
  21819. #, no-wrap
  21820. msgid ""
  21821. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21822. " (\".guile\" ,(plain-file \"guile\"\n"
  21823. " \"(use-modules (ice-9 readline))\n"
  21824. " (activate-readline)\")))\n"
  21825. msgstr ""
  21826. #. type: item
  21827. #: guix-git/doc/guix.texi:15161
  21828. #, no-wrap
  21829. msgid "@code{issue} (default: @code{%default-issue})"
  21830. msgstr ""
  21831. #. type: table
  21832. #: guix-git/doc/guix.texi:15164
  21833. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21834. msgstr ""
  21835. #. type: item
  21836. #: guix-git/doc/guix.texi:15165
  21837. #, no-wrap
  21838. msgid "@code{packages} (default: @code{%base-packages})"
  21839. msgstr ""
  21840. #. type: table
  21841. #: guix-git/doc/guix.texi:15169
  21842. msgid "A list of packages to be installed in the global profile, which is accessible at @file{/run/current-system/profile}. Each element is either a package variable or a package/output tuple. Here's a simple example of both:"
  21843. msgstr ""
  21844. #. type: lisp
  21845. #: guix-git/doc/guix.texi:15174
  21846. #, no-wrap
  21847. msgid ""
  21848. "(cons* git ; the default \"out\" output\n"
  21849. " (list git \"send-email\") ; another output of git\n"
  21850. " %base-packages) ; the default set\n"
  21851. msgstr ""
  21852. #. type: table
  21853. #: guix-git/doc/guix.texi:15179
  21854. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21855. msgstr ""
  21856. #. type: code{#1}
  21857. #: guix-git/doc/guix.texi:15180
  21858. #, no-wrap
  21859. msgid "timezone"
  21860. msgstr ""
  21861. #. type: table
  21862. #: guix-git/doc/guix.texi:15182
  21863. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21864. msgstr ""
  21865. #. type: table
  21866. #: guix-git/doc/guix.texi:15186
  21867. msgid "You can run the @command{tzselect} command to find out which timezone string corresponds to your region. Choosing an invalid timezone name causes @command{guix system} to fail."
  21868. msgstr ""
  21869. #. type: item
  21870. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:21635
  21871. #, no-wrap
  21872. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21873. msgstr ""
  21874. #. type: table
  21875. #: guix-git/doc/guix.texi:15190
  21876. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21877. msgstr ""
  21878. #. type: item
  21879. #: guix-git/doc/guix.texi:15191
  21880. #, no-wrap
  21881. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21882. msgstr ""
  21883. #. type: table
  21884. #: guix-git/doc/guix.texi:15194
  21885. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21886. msgstr ""
  21887. #. type: item
  21888. #: guix-git/doc/guix.texi:15195
  21889. #, no-wrap
  21890. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21891. msgstr ""
  21892. #. type: table
  21893. #: guix-git/doc/guix.texi:15199
  21894. msgid "The list of GNU@tie{}libc packages whose locale data and tools are used to build the locale definitions. @xref{Locales}, for compatibility considerations that justify this option."
  21895. msgstr ""
  21896. #. type: item
  21897. #: guix-git/doc/guix.texi:15200
  21898. #, no-wrap
  21899. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21900. msgstr ""
  21901. #. type: table
  21902. #: guix-git/doc/guix.texi:15204
  21903. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21904. msgstr ""
  21905. #. type: item
  21906. #: guix-git/doc/guix.texi:15205
  21907. #, no-wrap
  21908. msgid "@code{services} (default: @code{%base-services})"
  21909. msgstr ""
  21910. #. type: table
  21911. #: guix-git/doc/guix.texi:15207
  21912. msgid "A list of service objects denoting system services. @xref{Services}."
  21913. msgstr ""
  21914. #. type: cindex
  21915. #: guix-git/doc/guix.texi:15208
  21916. #, no-wrap
  21917. msgid "essential services"
  21918. msgstr ""
  21919. #. type: item
  21920. #: guix-git/doc/guix.texi:15209
  21921. #, no-wrap
  21922. msgid "@code{essential-services} (default: ...)"
  21923. msgstr ""
  21924. #. type: table
  21925. #: guix-git/doc/guix.texi:15214
  21926. msgid "The list of ``essential services''---i.e., things like instances of @code{system-service-type} and @code{host-name-service-type} (@pxref{Service Reference}), which are derived from the operating system definition itself. As a user you should @emph{never} need to touch this field."
  21927. msgstr ""
  21928. #. type: item
  21929. #: guix-git/doc/guix.texi:15215
  21930. #, no-wrap
  21931. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21932. msgstr ""
  21933. #. type: cindex
  21934. #: guix-git/doc/guix.texi:15216
  21935. #, no-wrap
  21936. msgid "PAM"
  21937. msgstr ""
  21938. #. type: cindex
  21939. #: guix-git/doc/guix.texi:15217
  21940. #, no-wrap
  21941. msgid "pluggable authentication modules"
  21942. msgstr ""
  21943. #. type: table
  21944. #: guix-git/doc/guix.texi:15220
  21945. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21946. msgstr ""
  21947. #. type: item
  21948. #: guix-git/doc/guix.texi:15221
  21949. #, no-wrap
  21950. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21951. msgstr ""
  21952. #. type: table
  21953. #: guix-git/doc/guix.texi:15224
  21954. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21955. msgstr ""
  21956. #. type: item
  21957. #: guix-git/doc/guix.texi:15225
  21958. #, no-wrap
  21959. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21960. msgstr ""
  21961. #. type: cindex
  21962. #: guix-git/doc/guix.texi:15226
  21963. #, no-wrap
  21964. msgid "sudoers file"
  21965. msgstr ""
  21966. #. type: table
  21967. #: guix-git/doc/guix.texi:15229
  21968. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21969. msgstr ""
  21970. #. type: table
  21971. #: guix-git/doc/guix.texi:15234
  21972. msgid "This file specifies which users can use the @command{sudo} command, what they are allowed to do, and what privileges they may gain. The default is that only @code{root} and members of the @code{wheel} group may use @code{sudo}."
  21973. msgstr ""
  21974. #. type: deffn
  21975. #: guix-git/doc/guix.texi:15237
  21976. #, no-wrap
  21977. msgid "{Scheme Syntax} this-operating-system"
  21978. msgstr ""
  21979. #. type: deffn
  21980. #: guix-git/doc/guix.texi:15240
  21981. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21982. msgstr ""
  21983. #. type: deffn
  21984. #: guix-git/doc/guix.texi:15243
  21985. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21986. msgstr ""
  21987. #. type: lisp
  21988. #: guix-git/doc/guix.texi:15246 guix-git/doc/guix.texi:19198
  21989. #, no-wrap
  21990. msgid ""
  21991. "(use-modules (gnu) (guix))\n"
  21992. "\n"
  21993. msgstr ""
  21994. #. type: lisp
  21995. #: guix-git/doc/guix.texi:15251
  21996. #, no-wrap
  21997. msgid ""
  21998. "(operating-system\n"
  21999. " ;; ...\n"
  22000. " (label (package-full-name\n"
  22001. " (operating-system-kernel this-operating-system))))\n"
  22002. msgstr ""
  22003. #. type: deffn
  22004. #: guix-git/doc/guix.texi:15255
  22005. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  22006. msgstr ""
  22007. #. type: Plain text
  22008. #: guix-git/doc/guix.texi:15266
  22009. msgid "The list of file systems to be mounted is specified in the @code{file-systems} field of the operating system declaration (@pxref{Using the Configuration System}). Each file system is declared using the @code{file-system} form, like this:"
  22010. msgstr ""
  22011. #. type: lisp
  22012. #: guix-git/doc/guix.texi:15272
  22013. #, no-wrap
  22014. msgid ""
  22015. "(file-system\n"
  22016. " (mount-point \"/home\")\n"
  22017. " (device \"/dev/sda3\")\n"
  22018. " (type \"ext4\"))\n"
  22019. msgstr ""
  22020. #. type: Plain text
  22021. #: guix-git/doc/guix.texi:15276
  22022. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  22023. msgstr ""
  22024. #. type: deftp
  22025. #: guix-git/doc/guix.texi:15277
  22026. #, no-wrap
  22027. msgid "{Data Type} file-system"
  22028. msgstr ""
  22029. #. type: deftp
  22030. #: guix-git/doc/guix.texi:15280
  22031. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  22032. msgstr ""
  22033. #. type: item
  22034. #: guix-git/doc/guix.texi:15282 guix-git/doc/guix.texi:15662
  22035. #: guix-git/doc/guix.texi:17804
  22036. #, no-wrap
  22037. msgid "type"
  22038. msgstr ""
  22039. #. type: table
  22040. #: guix-git/doc/guix.texi:15285
  22041. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  22042. msgstr ""
  22043. #. type: code{#1}
  22044. #: guix-git/doc/guix.texi:15286
  22045. #, no-wrap
  22046. msgid "mount-point"
  22047. msgstr "mount-point"
  22048. #. type: table
  22049. #: guix-git/doc/guix.texi:15288
  22050. msgid "This designates the place where the file system is to be mounted."
  22051. msgstr ""
  22052. #. type: item
  22053. #: guix-git/doc/guix.texi:15289 guix-git/doc/guix.texi:17754
  22054. #, no-wrap
  22055. msgid "device"
  22056. msgstr "zariadenie"
  22057. #. type: table
  22058. #: guix-git/doc/guix.texi:15299
  22059. msgid "This names the ``source'' of the file system. It can be one of three things: a file system label, a file system UUID, or the name of a @file{/dev} node. Labels and UUIDs offer a way to refer to file systems without having to hard-code their actual device name@footnote{Note that, while it is tempting to use @file{/dev/disk/by-uuid} and similar device names to achieve the same result, this is not recommended: These special device nodes are created by the udev daemon and may be unavailable at the time the device is mounted.}."
  22060. msgstr ""
  22061. #. type: findex
  22062. #: guix-git/doc/guix.texi:15300
  22063. #, no-wrap
  22064. msgid "file-system-label"
  22065. msgstr ""
  22066. #. type: table
  22067. #: guix-git/doc/guix.texi:15305
  22068. msgid "File system labels are created using the @code{file-system-label} procedure, UUIDs are created using @code{uuid}, and @file{/dev} node are plain strings. Here's an example of a file system referred to by its label, as shown by the @command{e2label} command:"
  22069. msgstr ""
  22070. #. type: lisp
  22071. #: guix-git/doc/guix.texi:15311
  22072. #, no-wrap
  22073. msgid ""
  22074. "(file-system\n"
  22075. " (mount-point \"/home\")\n"
  22076. " (type \"ext4\")\n"
  22077. " (device (file-system-label \"my-home\")))\n"
  22078. msgstr ""
  22079. #. type: code{#1}
  22080. #: guix-git/doc/guix.texi:15313 guix-git/doc/guix.texi:33595
  22081. #: guix-git/doc/guix.texi:33611
  22082. #, no-wrap
  22083. msgid "uuid"
  22084. msgstr ""
  22085. #. type: table
  22086. #: guix-git/doc/guix.texi:15321
  22087. msgid "UUIDs are converted from their string representation (as shown by the @command{tune2fs -l} command) using the @code{uuid} form@footnote{The @code{uuid} form expects 16-byte UUIDs as defined in @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form of UUID used by the ext2 family of file systems and others, but it is different from ``UUIDs'' found in FAT file systems, for instance.}, like this:"
  22088. msgstr ""
  22089. #. type: lisp
  22090. #: guix-git/doc/guix.texi:15327
  22091. #, no-wrap
  22092. msgid ""
  22093. "(file-system\n"
  22094. " (mount-point \"/home\")\n"
  22095. " (type \"ext4\")\n"
  22096. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22097. msgstr ""
  22098. #. type: table
  22099. #: guix-git/doc/guix.texi:15335
  22100. msgid "When the source of a file system is a mapped device (@pxref{Mapped Devices}), its @code{device} field @emph{must} refer to the mapped device name---e.g., @file{\"/dev/mapper/root-partition\"}. This is required so that the system knows that mounting the file system depends on having the corresponding device mapping established."
  22101. msgstr ""
  22102. #. type: item
  22103. #: guix-git/doc/guix.texi:15336
  22104. #, no-wrap
  22105. msgid "@code{flags} (default: @code{'()})"
  22106. msgstr ""
  22107. #. type: table
  22108. #: guix-git/doc/guix.texi:15346
  22109. msgid "This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), @code{no-atime} (do not update file access times), @code{strict-atime} (update file access time), @code{lazy-time} (only update time on the in-memory version of the file inode), and @code{no-exec} (disallow program execution). @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for more information on these flags."
  22110. msgstr ""
  22111. #. type: item
  22112. #: guix-git/doc/guix.texi:15347
  22113. #, no-wrap
  22114. msgid "@code{options} (default: @code{#f})"
  22115. msgstr ""
  22116. #. type: table
  22117. #: guix-git/doc/guix.texi:15356
  22118. msgid "This is either @code{#f}, or a string denoting mount options passed to the file system driver. @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for details and run @command{man 8 mount} for options for various file systems. Note that the @code{file-system-options->alist} and @code{alist->file-system-options} procedures from @code{(gnu system file-systems)} can be used to convert file system options given as an association list to the string representation, and vice-versa."
  22119. msgstr ""
  22120. #. type: item
  22121. #: guix-git/doc/guix.texi:15357
  22122. #, no-wrap
  22123. msgid "@code{mount?} (default: @code{#t})"
  22124. msgstr ""
  22125. #. type: table
  22126. #: guix-git/doc/guix.texi:15362
  22127. msgid "This value indicates whether to automatically mount the file system when the system is brought up. When set to @code{#f}, the file system gets an entry in @file{/etc/fstab} (read by the @command{mount} command) but is not automatically mounted."
  22128. msgstr ""
  22129. #. type: item
  22130. #: guix-git/doc/guix.texi:15363
  22131. #, no-wrap
  22132. msgid "@code{needed-for-boot?} (default: @code{#f})"
  22133. msgstr ""
  22134. #. type: table
  22135. #: guix-git/doc/guix.texi:15368
  22136. msgid "This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the initial RAM disk (initrd) is loaded. This is always the case, for instance, for the root file system."
  22137. msgstr ""
  22138. #. type: item
  22139. #: guix-git/doc/guix.texi:15369
  22140. #, no-wrap
  22141. msgid "@code{check?} (default: @code{#t})"
  22142. msgstr ""
  22143. #. type: table
  22144. #: guix-git/doc/guix.texi:15373
  22145. msgid "This Boolean indicates whether the file system should be checked for errors before being mounted. How and when this happens can be further adjusted with the following options."
  22146. msgstr ""
  22147. #. type: item
  22148. #: guix-git/doc/guix.texi:15374
  22149. #, no-wrap
  22150. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  22151. msgstr ""
  22152. #. type: table
  22153. #: guix-git/doc/guix.texi:15379
  22154. msgid "When true, this Boolean indicates that a file system check triggered by @code{check?} may exit early if the file system is marked as ``clean'', meaning that it was previously correctly unmounted and should not contain errors."
  22155. msgstr ""
  22156. #. type: table
  22157. #: guix-git/doc/guix.texi:15383
  22158. msgid "Setting this to false will always force a full consistency check when @code{check?} is true. This may take a very long time and is not recommended on healthy systems---in fact, it may reduce reliability!"
  22159. msgstr ""
  22160. #. type: table
  22161. #: guix-git/doc/guix.texi:15387
  22162. msgid "Conversely, some primitive file systems like @code{fat} do not keep track of clean shutdowns and will perform a full scan regardless of the value of this option."
  22163. msgstr ""
  22164. #. type: item
  22165. #: guix-git/doc/guix.texi:15388
  22166. #, no-wrap
  22167. msgid "@code{repair} (default: @code{'preen})"
  22168. msgstr ""
  22169. #. type: table
  22170. #: guix-git/doc/guix.texi:15391
  22171. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  22172. msgstr ""
  22173. #. type: table
  22174. #: guix-git/doc/guix.texi:15395
  22175. msgid "If false, try not to modify the file system at all. Checking certain file systems like @code{jfs} may still write to the device to replay the journal. No repairs will be attempted."
  22176. msgstr ""
  22177. #. type: table
  22178. #: guix-git/doc/guix.texi:15398
  22179. msgid "If @code{#t}, try to repair any errors found and assume ``yes'' to all questions. This will fix the most errors, but may be risky."
  22180. msgstr ""
  22181. #. type: table
  22182. #: guix-git/doc/guix.texi:15402
  22183. msgid "If @code{'preen}, repair only errors that are safe to fix without human interaction. What that means is left up to the developers of each file system and may be equivalent to ``none'' or ``all''."
  22184. msgstr ""
  22185. #. type: item
  22186. #: guix-git/doc/guix.texi:15403
  22187. #, no-wrap
  22188. msgid "@code{create-mount-point?} (default: @code{#f})"
  22189. msgstr ""
  22190. #. type: table
  22191. #: guix-git/doc/guix.texi:15405
  22192. msgid "When true, the mount point is created if it does not exist yet."
  22193. msgstr ""
  22194. #. type: item
  22195. #: guix-git/doc/guix.texi:15406
  22196. #, no-wrap
  22197. msgid "@code{mount-may-fail?} (default: @code{#f})"
  22198. msgstr ""
  22199. #. type: table
  22200. #: guix-git/doc/guix.texi:15411
  22201. msgid "When true, this indicates that mounting this file system can fail but that should not be considered an error. This is useful in unusual cases; an example of this is @code{efivarfs}, a file system that can only be mounted on EFI/UEFI systems."
  22202. msgstr ""
  22203. #. type: item
  22204. #: guix-git/doc/guix.texi:15412 guix-git/doc/guix.texi:15808
  22205. #, no-wrap
  22206. msgid "@code{dependencies} (default: @code{'()})"
  22207. msgstr ""
  22208. #. type: table
  22209. #: guix-git/doc/guix.texi:15416
  22210. msgid "This is a list of @code{<file-system>} or @code{<mapped-device>} objects representing file systems that must be mounted or mapped devices that must be opened before (and unmounted or closed after) this one."
  22211. msgstr ""
  22212. #. type: table
  22213. #: guix-git/doc/guix.texi:15420
  22214. msgid "As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}."
  22215. msgstr ""
  22216. #. type: table
  22217. #: guix-git/doc/guix.texi:15423
  22218. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  22219. msgstr ""
  22220. #. type: deffn
  22221. #: guix-git/doc/guix.texi:15426
  22222. #, no-wrap
  22223. msgid "{Scheme Procedure} file-system-label @var{str}"
  22224. msgstr ""
  22225. #. type: deffn
  22226. #: guix-git/doc/guix.texi:15429
  22227. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  22228. msgstr ""
  22229. #. type: lisp
  22230. #: guix-git/doc/guix.texi:15433
  22231. #, no-wrap
  22232. msgid ""
  22233. "(file-system-label \"home\")\n"
  22234. "@result{} #<file-system-label \"home\">\n"
  22235. msgstr ""
  22236. #. type: deffn
  22237. #: guix-git/doc/guix.texi:15437
  22238. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  22239. msgstr ""
  22240. #. type: Plain text
  22241. #: guix-git/doc/guix.texi:15441
  22242. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  22243. msgstr ""
  22244. #. type: defvr
  22245. #: guix-git/doc/guix.texi:15442
  22246. #, no-wrap
  22247. msgid "{Scheme Variable} %base-file-systems"
  22248. msgstr ""
  22249. #. type: defvr
  22250. #: guix-git/doc/guix.texi:15447
  22251. msgid "These are essential file systems that are required on normal systems, such as @code{%pseudo-terminal-file-system} and @code{%immutable-store} (see below). Operating system declarations should always contain at least these."
  22252. msgstr ""
  22253. #. type: defvr
  22254. #: guix-git/doc/guix.texi:15449
  22255. #, no-wrap
  22256. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  22257. msgstr ""
  22258. #. type: defvr
  22259. #: guix-git/doc/guix.texi:15455
  22260. msgid "This is the file system to be mounted as @file{/dev/pts}. It supports @dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Pseudo-terminals are used by terminal emulators such as @command{xterm}."
  22261. msgstr ""
  22262. #. type: defvr
  22263. #: guix-git/doc/guix.texi:15457
  22264. #, no-wrap
  22265. msgid "{Scheme Variable} %shared-memory-file-system"
  22266. msgstr ""
  22267. #. type: defvr
  22268. #: guix-git/doc/guix.texi:15461
  22269. msgid "This file system is mounted as @file{/dev/shm} and is used to support memory sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})."
  22270. msgstr ""
  22271. #. type: defvr
  22272. #: guix-git/doc/guix.texi:15463
  22273. #, no-wrap
  22274. msgid "{Scheme Variable} %immutable-store"
  22275. msgstr ""
  22276. #. type: defvr
  22277. #: guix-git/doc/guix.texi:15468
  22278. msgid "This file system performs a read-only ``bind mount'' of @file{/gnu/store}, making it read-only for all the users including @code{root}. This prevents against accidental modification by software running as @code{root} or by system administrators."
  22279. msgstr ""
  22280. #. type: defvr
  22281. #: guix-git/doc/guix.texi:15471
  22282. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  22283. msgstr ""
  22284. #. type: defvr
  22285. #: guix-git/doc/guix.texi:15473
  22286. #, no-wrap
  22287. msgid "{Scheme Variable} %binary-format-file-system"
  22288. msgstr ""
  22289. #. type: defvr
  22290. #: guix-git/doc/guix.texi:15477
  22291. msgid "The @code{binfmt_misc} file system, which allows handling of arbitrary executable file types to be delegated to user space. This requires the @code{binfmt.ko} kernel module to be loaded."
  22292. msgstr ""
  22293. #. type: defvr
  22294. #: guix-git/doc/guix.texi:15479
  22295. #, no-wrap
  22296. msgid "{Scheme Variable} %fuse-control-file-system"
  22297. msgstr ""
  22298. #. type: defvr
  22299. #: guix-git/doc/guix.texi:15483
  22300. msgid "The @code{fusectl} file system, which allows unprivileged users to mount and unmount user-space FUSE file systems. This requires the @code{fuse.ko} kernel module to be loaded."
  22301. msgstr ""
  22302. #. type: Plain text
  22303. #: guix-git/doc/guix.texi:15487
  22304. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  22305. msgstr ""
  22306. #. type: deffn
  22307. #: guix-git/doc/guix.texi:15488
  22308. #, no-wrap
  22309. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  22310. msgstr ""
  22311. #. type: deffn
  22312. #: guix-git/doc/guix.texi:15491
  22313. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  22314. msgstr ""
  22315. #. type: lisp
  22316. #: guix-git/doc/guix.texi:15495
  22317. #, no-wrap
  22318. msgid ""
  22319. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  22320. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  22321. "\n"
  22322. msgstr ""
  22323. #. type: lisp
  22324. #: guix-git/doc/guix.texi:15498
  22325. #, no-wrap
  22326. msgid ""
  22327. "(uuid \"1234-ABCD\" 'fat)\n"
  22328. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  22329. msgstr ""
  22330. #. type: deffn
  22331. #: guix-git/doc/guix.texi:15502
  22332. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  22333. msgstr ""
  22334. #. type: deffn
  22335. #: guix-git/doc/guix.texi:15505
  22336. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  22337. msgstr ""
  22338. #. type: subsection
  22339. #: guix-git/doc/guix.texi:15508 guix-git/doc/guix.texi:15509
  22340. #, no-wrap
  22341. msgid "Btrfs file system"
  22342. msgstr ""
  22343. #. type: Plain text
  22344. #: guix-git/doc/guix.texi:15515
  22345. msgid "The Btrfs has special features, such as subvolumes, that merit being explained in more details. The following section attempts to cover basic as well as complex uses of a Btrfs file system with the Guix System."
  22346. msgstr ""
  22347. #. type: Plain text
  22348. #: guix-git/doc/guix.texi:15518
  22349. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  22350. msgstr ""
  22351. #. type: lisp
  22352. #: guix-git/doc/guix.texi:15524
  22353. #, no-wrap
  22354. msgid ""
  22355. "(file-system\n"
  22356. " (mount-point \"/home\")\n"
  22357. " (type \"btrfs\")\n"
  22358. " (device (file-system-label \"my-home\")))\n"
  22359. msgstr ""
  22360. #. type: Plain text
  22361. #: guix-git/doc/guix.texi:15530
  22362. msgid "The example below is more complex, as it makes use of a Btrfs subvolume, named @code{rootfs}. The parent Btrfs file system is labeled @code{my-btrfs-pool}, and is located on an encrypted device (hence the dependency on @code{mapped-devices}):"
  22363. msgstr ""
  22364. #. type: lisp
  22365. #: guix-git/doc/guix.texi:15538
  22366. #, no-wrap
  22367. msgid ""
  22368. "(file-system\n"
  22369. " (device (file-system-label \"my-btrfs-pool\"))\n"
  22370. " (mount-point \"/\")\n"
  22371. " (type \"btrfs\")\n"
  22372. " (options \"subvol=rootfs\")\n"
  22373. " (dependencies mapped-devices))\n"
  22374. msgstr ""
  22375. #. type: Plain text
  22376. #: guix-git/doc/guix.texi:15549
  22377. msgid "Some bootloaders, for example GRUB, only mount a Btrfs partition at its top level during the early boot, and rely on their configuration to refer to the correct subvolume path within that top level. The bootloaders operating in this way typically produce their configuration on a running system where the Btrfs partitions are already mounted and where the subvolume information is readily available. As an example, @command{grub-mkconfig}, the configuration generator command shipped with GRUB, reads @file{/proc/self/mountinfo} to determine the top-level path of a subvolume."
  22378. msgstr ""
  22379. #. type: Plain text
  22380. #: guix-git/doc/guix.texi:15557
  22381. msgid "The Guix System produces a bootloader configuration using the operating system configuration as its sole input; it is therefore necessary to extract the subvolume name on which @file{/gnu/store} lives (if any) from that operating system configuration. To better illustrate, consider a subvolume named 'rootfs' which contains the root file system data. In such situation, the GRUB bootloader would only see the top level of the root Btrfs partition, e.g.:"
  22382. msgstr ""
  22383. #. type: example
  22384. #: guix-git/doc/guix.texi:15564
  22385. #, no-wrap
  22386. msgid ""
  22387. "/ (top level)\n"
  22388. "├── rootfs (subvolume directory)\n"
  22389. " ├── gnu (normal directory)\n"
  22390. " ├── store (normal directory)\n"
  22391. "[...]\n"
  22392. msgstr ""
  22393. #. type: Plain text
  22394. #: guix-git/doc/guix.texi:15569
  22395. msgid "Thus, the subvolume name must be prepended to the @file{/gnu/store} path of the kernel, initrd binaries and any other files referred to in the GRUB configuration that must be found during the early boot."
  22396. msgstr ""
  22397. #. type: Plain text
  22398. #: guix-git/doc/guix.texi:15572
  22399. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  22400. msgstr ""
  22401. #. type: example
  22402. #: guix-git/doc/guix.texi:15579
  22403. #, no-wrap
  22404. msgid ""
  22405. "/ (top level)\n"
  22406. "├── rootfs (subvolume)\n"
  22407. " ├── gnu (normal directory)\n"
  22408. " ├── store (subvolume)\n"
  22409. "[...]\n"
  22410. msgstr ""
  22411. #. type: Plain text
  22412. #: guix-git/doc/guix.texi:15586
  22413. msgid "This scenario would work without mounting the 'store' subvolume. Mounting 'rootfs' is sufficient, since the subvolume name matches its intended mount point in the file system hierarchy. Alternatively, the 'store' subvolume could be referred to by setting the @code{subvol} option to either @code{/rootfs/gnu/store} or @code{rootfs/gnu/store}."
  22414. msgstr ""
  22415. #. type: Plain text
  22416. #: guix-git/doc/guix.texi:15588
  22417. msgid "Finally, a more contrived example of nested subvolumes:"
  22418. msgstr ""
  22419. #. type: example
  22420. #: guix-git/doc/guix.texi:15595
  22421. #, no-wrap
  22422. msgid ""
  22423. "/ (top level)\n"
  22424. "├── root-snapshots (subvolume)\n"
  22425. " ├── root-current (subvolume)\n"
  22426. " ├── guix-store (subvolume)\n"
  22427. "[...]\n"
  22428. msgstr ""
  22429. #. type: Plain text
  22430. #: guix-git/doc/guix.texi:15602
  22431. msgid "Here, the 'guix-store' subvolume doesn't match its intended mount point, so it is necessary to mount it. The subvolume must be fully specified, by passing its file name to the @code{subvol} option. To illustrate, the 'guix-store' subvolume could be mounted on @file{/gnu/store} by using a file system declaration such as:"
  22432. msgstr ""
  22433. #. type: lisp
  22434. #: guix-git/doc/guix.texi:15610
  22435. #, no-wrap
  22436. msgid ""
  22437. "(file-system\n"
  22438. " (device (file-system-label \"btrfs-pool-1\"))\n"
  22439. " (mount-point \"/gnu/store\")\n"
  22440. " (type \"btrfs\")\n"
  22441. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  22442. "compress-force=zstd,space_cache=v2\"))\n"
  22443. msgstr ""
  22444. #. type: cindex
  22445. #: guix-git/doc/guix.texi:15615
  22446. #, no-wrap
  22447. msgid "device mapping"
  22448. msgstr ""
  22449. #. type: cindex
  22450. #: guix-git/doc/guix.texi:15616
  22451. #, no-wrap
  22452. msgid "mapped devices"
  22453. msgstr ""
  22454. #. type: Plain text
  22455. #: guix-git/doc/guix.texi:15633
  22456. msgid "The Linux kernel has a notion of @dfn{device mapping}: a block device, such as a hard disk partition, can be @dfn{mapped} into another device, usually in @code{/dev/mapper/}, with additional processing over the data that flows through it@footnote{Note that the GNU@tie{}Hurd makes no difference between the concept of a ``mapped device'' and that of a file system: both boil down to @emph{translating} input/output operations made on a file to operations on its backing store. Thus, the Hurd implements mapped devices, like file systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption device mapping: all writes to the mapped device are encrypted, and all reads are deciphered, transparently. Guix extends this notion by considering any device or set of devices that are @dfn{transformed} in some way to create a new device; for instance, RAID devices are obtained by @dfn{assembling} several other devices, such as hard disks or partitions, into a new one that behaves as one partition."
  22457. msgstr ""
  22458. #. type: Plain text
  22459. #: guix-git/doc/guix.texi:15636
  22460. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  22461. msgstr ""
  22462. #. type: deftp
  22463. #: guix-git/doc/guix.texi:15637
  22464. #, no-wrap
  22465. msgid "{Data Type} mapped-device"
  22466. msgstr ""
  22467. #. type: deftp
  22468. #: guix-git/doc/guix.texi:15640
  22469. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  22470. msgstr ""
  22471. #. type: table
  22472. #: guix-git/doc/guix.texi:15647
  22473. msgid "This is either a string specifying the name of the block device to be mapped, such as @code{\"/dev/sda3\"}, or a list of such strings when several devices need to be assembled for creating a new one. In case of LVM this is a string specifying name of the volume group to be mapped."
  22474. msgstr ""
  22475. #. type: code{#1}
  22476. #: guix-git/doc/guix.texi:15648 guix-git/doc/guix.texi:15803
  22477. #, no-wrap
  22478. msgid "target"
  22479. msgstr "target"
  22480. #. type: table
  22481. #: guix-git/doc/guix.texi:15657
  22482. msgid "This string specifies the name of the resulting mapped device. For kernel mappers such as encrypted devices of type @code{luks-device-mapping}, specifying @code{\"my-partition\"} leads to the creation of the @code{\"/dev/mapper/my-partition\"} device. For RAID devices of type @code{raid-device-mapping}, the full device name such as @code{\"/dev/md0\"} needs to be given. LVM logical volumes of type @code{lvm-device-mapping} need to be specified as @code{\"VGNAME-LVNAME\"}."
  22483. msgstr ""
  22484. #. type: code{#1}
  22485. #: guix-git/doc/guix.texi:15658 guix-git/doc/guix.texi:35187
  22486. #, no-wrap
  22487. msgid "targets"
  22488. msgstr "targets"
  22489. #. type: table
  22490. #: guix-git/doc/guix.texi:15661
  22491. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  22492. msgstr ""
  22493. #. type: table
  22494. #: guix-git/doc/guix.texi:15665
  22495. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  22496. msgstr ""
  22497. #. type: defvr
  22498. #: guix-git/doc/guix.texi:15668
  22499. #, no-wrap
  22500. msgid "{Scheme Variable} luks-device-mapping"
  22501. msgstr ""
  22502. #. type: defvr
  22503. #: guix-git/doc/guix.texi:15672
  22504. msgid "This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module."
  22505. msgstr ""
  22506. #. type: defvr
  22507. #: guix-git/doc/guix.texi:15674
  22508. #, no-wrap
  22509. msgid "{Scheme Variable} raid-device-mapping"
  22510. msgstr ""
  22511. #. type: defvr
  22512. #: guix-git/doc/guix.texi:15679
  22513. msgid "This defines a RAID device, which is assembled using the @code{mdadm} command from the package with the same name. It requires a Linux kernel module for the appropriate RAID level to be loaded, such as @code{raid456} for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10."
  22514. msgstr ""
  22515. #. type: cindex
  22516. #: guix-git/doc/guix.texi:15681
  22517. #, no-wrap
  22518. msgid "LVM, logical volume manager"
  22519. msgstr ""
  22520. #. type: defvr
  22521. #: guix-git/doc/guix.texi:15682
  22522. #, no-wrap
  22523. msgid "{Scheme Variable} lvm-device-mapping"
  22524. msgstr ""
  22525. #. type: defvr
  22526. #: guix-git/doc/guix.texi:15687
  22527. msgid "This defines one or more logical volumes for the Linux @uref{https://www.sourceware.org/lvm2/, Logical Volume Manager (LVM)}. The volume group is activated by the @command{vgchange} command from the @code{lvm2} package."
  22528. msgstr ""
  22529. #. type: cindex
  22530. #: guix-git/doc/guix.texi:15689
  22531. #, no-wrap
  22532. msgid "disk encryption"
  22533. msgstr ""
  22534. #. type: cindex
  22535. #: guix-git/doc/guix.texi:15690
  22536. #, no-wrap
  22537. msgid "LUKS"
  22538. msgstr "LUKS"
  22539. #. type: Plain text
  22540. #: guix-git/doc/guix.texi:15698
  22541. msgid "The following example specifies a mapping from @file{/dev/sda3} to @file{/dev/mapper/home} using LUKS---the @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a standard mechanism for disk encryption. The @file{/dev/mapper/home} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  22542. msgstr ""
  22543. #. type: lisp
  22544. #: guix-git/doc/guix.texi:15704
  22545. #, no-wrap
  22546. msgid ""
  22547. "(mapped-device\n"
  22548. " (source \"/dev/sda3\")\n"
  22549. " (target \"home\")\n"
  22550. " (type luks-device-mapping))\n"
  22551. msgstr ""
  22552. #. type: Plain text
  22553. #: guix-git/doc/guix.texi:15709
  22554. msgid "Alternatively, to become independent of device numbering, one may obtain the LUKS UUID (@dfn{unique identifier}) of the source device by a command like:"
  22555. msgstr ""
  22556. #. type: example
  22557. #: guix-git/doc/guix.texi:15712
  22558. #, no-wrap
  22559. msgid "cryptsetup luksUUID /dev/sda3\n"
  22560. msgstr ""
  22561. #. type: Plain text
  22562. #: guix-git/doc/guix.texi:15715
  22563. msgid "and use it as follows:"
  22564. msgstr ""
  22565. #. type: lisp
  22566. #: guix-git/doc/guix.texi:15721
  22567. #, no-wrap
  22568. msgid ""
  22569. "(mapped-device\n"
  22570. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  22571. " (target \"home\")\n"
  22572. " (type luks-device-mapping))\n"
  22573. msgstr ""
  22574. #. type: cindex
  22575. #: guix-git/doc/guix.texi:15723
  22576. #, no-wrap
  22577. msgid "swap encryption"
  22578. msgstr ""
  22579. #. type: Plain text
  22580. #: guix-git/doc/guix.texi:15730
  22581. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  22582. msgstr ""
  22583. #. type: Plain text
  22584. #: guix-git/doc/guix.texi:15733
  22585. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  22586. msgstr ""
  22587. #. type: lisp
  22588. #: guix-git/doc/guix.texi:15739
  22589. #, no-wrap
  22590. msgid ""
  22591. "(mapped-device\n"
  22592. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  22593. " (target \"/dev/md0\")\n"
  22594. " (type raid-device-mapping))\n"
  22595. msgstr ""
  22596. #. type: Plain text
  22597. #: guix-git/doc/guix.texi:15746
  22598. msgid "The @file{/dev/md0} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems}). Note that the RAID level need not be given; it is chosen during the initial creation and formatting of the RAID device and is determined automatically later."
  22599. msgstr ""
  22600. #. type: Plain text
  22601. #: guix-git/doc/guix.texi:15749
  22602. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  22603. msgstr ""
  22604. #. type: lisp
  22605. #: guix-git/doc/guix.texi:15755
  22606. #, no-wrap
  22607. msgid ""
  22608. "(mapped-device\n"
  22609. " (source \"vg0\")\n"
  22610. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  22611. " (type lvm-device-mapping))\n"
  22612. msgstr ""
  22613. #. type: Plain text
  22614. #: guix-git/doc/guix.texi:15760
  22615. msgid "Devices @file{/dev/mapper/vg0-alpha} and @file{/dev/mapper/vg0-beta} can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  22616. msgstr ""
  22617. #. type: cindex
  22618. #: guix-git/doc/guix.texi:15763
  22619. #, no-wrap
  22620. msgid "swap space"
  22621. msgstr "odkladací priestor"
  22622. #. type: Plain text
  22623. #: guix-git/doc/guix.texi:15773
  22624. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  22625. msgstr ""
  22626. #. type: Plain text
  22627. #: guix-git/doc/guix.texi:15779
  22628. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  22629. msgstr ""
  22630. #. type: Plain text
  22631. #: guix-git/doc/guix.texi:15783
  22632. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  22633. msgstr ""
  22634. #. type: Plain text
  22635. #: guix-git/doc/guix.texi:15792
  22636. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  22637. msgstr ""
  22638. #. type: Plain text
  22639. #: guix-git/doc/guix.texi:15797
  22640. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  22641. msgstr ""
  22642. #. type: deftp
  22643. #: guix-git/doc/guix.texi:15798
  22644. #, no-wrap
  22645. msgid "{Data Type} swap-space"
  22646. msgstr ""
  22647. #. type: deftp
  22648. #: guix-git/doc/guix.texi:15801
  22649. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22650. msgstr ""
  22651. #. type: table
  22652. #: guix-git/doc/guix.texi:15807
  22653. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  22654. msgstr ""
  22655. #. type: table
  22656. #: guix-git/doc/guix.texi:15814
  22657. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  22658. msgstr ""
  22659. #. type: item
  22660. #: guix-git/doc/guix.texi:15815
  22661. #, no-wrap
  22662. msgid "@code{priority} (default: @code{#f})"
  22663. msgstr ""
  22664. #. type: table
  22665. #: guix-git/doc/guix.texi:15822
  22666. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  22667. msgstr ""
  22668. #. type: item
  22669. #: guix-git/doc/guix.texi:15823
  22670. #, no-wrap
  22671. msgid "@code{discard?} (default: @code{#f})"
  22672. msgstr ""
  22673. #. type: table
  22674. #: guix-git/doc/guix.texi:15827
  22675. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  22676. msgstr ""
  22677. #. type: Plain text
  22678. #: guix-git/doc/guix.texi:15832
  22679. msgid "Here are some examples:"
  22680. msgstr ""
  22681. #. type: lisp
  22682. #: guix-git/doc/guix.texi:15835
  22683. #, no-wrap
  22684. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22685. msgstr ""
  22686. #. type: Plain text
  22687. #: guix-git/doc/guix.texi:15840
  22688. msgid "Use the swap partition with the given UUID@. You can learn the UUID of a Linux swap partition by running @command{swaplabel @var{device}}, where @var{device} is the @file{/dev} file name of that partition."
  22689. msgstr ""
  22690. #. type: lisp
  22691. #: guix-git/doc/guix.texi:15845
  22692. #, no-wrap
  22693. msgid ""
  22694. "(swap-space\n"
  22695. " (target (file-system-label \"swap\"))\n"
  22696. " (dependencies mapped-devices))\n"
  22697. msgstr ""
  22698. #. type: Plain text
  22699. #: guix-git/doc/guix.texi:15851
  22700. msgid "Use the partition with label @code{swap}, which can be found after all the @var{mapped-devices} mapped devices have been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  22701. msgstr ""
  22702. #. type: Plain text
  22703. #: guix-git/doc/guix.texi:15854
  22704. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  22705. msgstr ""
  22706. #. type: lisp
  22707. #: guix-git/doc/guix.texi:15865
  22708. #, no-wrap
  22709. msgid ""
  22710. "(file-systems\n"
  22711. " (list (file-system\n"
  22712. " (device (file-system-label \"root\"))\n"
  22713. " (mount-point \"/\")\n"
  22714. " (type \"ext4\"))\n"
  22715. " (file-system\n"
  22716. " (device (file-system-label \"btrfs\"))\n"
  22717. " (mount-point \"/btrfs\")\n"
  22718. " (type \"btrfs\"))))\n"
  22719. "\n"
  22720. msgstr ""
  22721. #. type: lisp
  22722. #: guix-git/doc/guix.texi:15872
  22723. #, no-wrap
  22724. msgid ""
  22725. "(swap-devices\n"
  22726. " (list\n"
  22727. " (swap-space\n"
  22728. " (target \"/btrfs/swapfile\")\n"
  22729. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  22730. " file-systems)))))\n"
  22731. msgstr ""
  22732. #. type: Plain text
  22733. #: guix-git/doc/guix.texi:15877
  22734. msgid "Use the file @file{/btrfs/swapfile} as swap space, which depends on the file system mounted at @file{/btrfs}. Note how we use Guile's filter to select the file system in an elegant fashion!"
  22735. msgstr ""
  22736. #. type: cindex
  22737. #: guix-git/doc/guix.texi:15881
  22738. #, no-wrap
  22739. msgid "users"
  22740. msgstr "používatelia"
  22741. #. type: cindex
  22742. #: guix-git/doc/guix.texi:15882
  22743. #, no-wrap
  22744. msgid "accounts"
  22745. msgstr "účty"
  22746. #. type: cindex
  22747. #: guix-git/doc/guix.texi:15883
  22748. #, no-wrap
  22749. msgid "user accounts"
  22750. msgstr ""
  22751. #. type: Plain text
  22752. #: guix-git/doc/guix.texi:15887
  22753. msgid "User accounts and groups are entirely managed through the @code{operating-system} declaration. They are specified with the @code{user-account} and @code{user-group} forms:"
  22754. msgstr ""
  22755. #. type: lisp
  22756. #: guix-git/doc/guix.texi:15897
  22757. #, no-wrap
  22758. msgid ""
  22759. "(user-account\n"
  22760. " (name \"alice\")\n"
  22761. " (group \"users\")\n"
  22762. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22763. " \"audio\" ;sound card\n"
  22764. " \"video\" ;video devices such as webcams\n"
  22765. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22766. " (comment \"Bob's sister\"))\n"
  22767. msgstr ""
  22768. #. type: Plain text
  22769. #: guix-git/doc/guix.texi:15901
  22770. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22771. msgstr ""
  22772. #. type: lisp
  22773. #: guix-git/doc/guix.texi:15909
  22774. #, no-wrap
  22775. msgid ""
  22776. "(user-account\n"
  22777. " (name \"bob\")\n"
  22778. " (group \"users\")\n"
  22779. " (comment \"Alice's bro\")\n"
  22780. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22781. " (home-directory \"/home/robert\"))\n"
  22782. msgstr ""
  22783. #. type: Plain text
  22784. #: guix-git/doc/guix.texi:15918
  22785. msgid "When booting or upon completion of @command{guix system reconfigure}, the system ensures that only the user accounts and groups specified in the @code{operating-system} declaration exist, and with the specified properties. Thus, account or group creations or modifications made by directly invoking commands such as @command{useradd} are lost upon reconfiguration or reboot. This ensures that the system remains exactly as declared."
  22786. msgstr ""
  22787. #. type: deftp
  22788. #: guix-git/doc/guix.texi:15919
  22789. #, no-wrap
  22790. msgid "{Data Type} user-account"
  22791. msgstr ""
  22792. #. type: deftp
  22793. #: guix-git/doc/guix.texi:15922
  22794. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22795. msgstr ""
  22796. #. type: table
  22797. #: guix-git/doc/guix.texi:15926
  22798. msgid "The name of the user account."
  22799. msgstr ""
  22800. #. type: itemx
  22801. #: guix-git/doc/guix.texi:15927 guix-git/doc/guix.texi:34851
  22802. #, no-wrap
  22803. msgid "group"
  22804. msgstr "skupina"
  22805. #. type: cindex
  22806. #: guix-git/doc/guix.texi:15928 guix-git/doc/guix.texi:16012
  22807. #, no-wrap
  22808. msgid "groups"
  22809. msgstr "skupiny"
  22810. #. type: table
  22811. #: guix-git/doc/guix.texi:15931
  22812. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22813. msgstr ""
  22814. #. type: item
  22815. #: guix-git/doc/guix.texi:15932
  22816. #, no-wrap
  22817. msgid "@code{supplementary-groups} (default: @code{'()})"
  22818. msgstr ""
  22819. #. type: table
  22820. #: guix-git/doc/guix.texi:15935
  22821. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22822. msgstr ""
  22823. #. type: item
  22824. #: guix-git/doc/guix.texi:15936
  22825. #, no-wrap
  22826. msgid "@code{uid} (default: @code{#f})"
  22827. msgstr ""
  22828. #. type: table
  22829. #: guix-git/doc/guix.texi:15940
  22830. msgid "This is the user ID for this account (a number), or @code{#f}. In the latter case, a number is automatically chosen by the system when the account is created."
  22831. msgstr ""
  22832. #. type: item
  22833. #: guix-git/doc/guix.texi:15941 guix-git/doc/guix.texi:18704
  22834. #, no-wrap
  22835. msgid "@code{comment} (default: @code{\"\"})"
  22836. msgstr ""
  22837. #. type: table
  22838. #: guix-git/doc/guix.texi:15943
  22839. msgid "A comment about the account, such as the account owner's full name."
  22840. msgstr ""
  22841. #. type: table
  22842. #: guix-git/doc/guix.texi:15948
  22843. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  22844. msgstr ""
  22845. #. type: code{#1}
  22846. #: guix-git/doc/guix.texi:15949
  22847. #, no-wrap
  22848. msgid "home-directory"
  22849. msgstr "home-directory"
  22850. #. type: table
  22851. #: guix-git/doc/guix.texi:15951
  22852. msgid "This is the name of the home directory for the account."
  22853. msgstr ""
  22854. #. type: item
  22855. #: guix-git/doc/guix.texi:15952
  22856. #, no-wrap
  22857. msgid "@code{create-home-directory?} (default: @code{#t})"
  22858. msgstr ""
  22859. #. type: table
  22860. #: guix-git/doc/guix.texi:15955
  22861. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22862. msgstr ""
  22863. #. type: item
  22864. #: guix-git/doc/guix.texi:15956
  22865. #, no-wrap
  22866. msgid "@code{shell} (default: Bash)"
  22867. msgstr ""
  22868. #. type: table
  22869. #: guix-git/doc/guix.texi:15960
  22870. msgid "This is a G-expression denoting the file name of a program to be used as the shell (@pxref{G-Expressions}). For example, you would refer to the Bash executable like this:"
  22871. msgstr ""
  22872. #. type: lisp
  22873. #: guix-git/doc/guix.texi:15963
  22874. #, no-wrap
  22875. msgid "(file-append bash \"/bin/bash\")\n"
  22876. msgstr ""
  22877. #. type: table
  22878. #: guix-git/doc/guix.texi:15967
  22879. msgid "... and to the Zsh executable like that:"
  22880. msgstr ""
  22881. #. type: lisp
  22882. #: guix-git/doc/guix.texi:15970
  22883. #, no-wrap
  22884. msgid "(file-append zsh \"/bin/zsh\")\n"
  22885. msgstr ""
  22886. #. type: item
  22887. #: guix-git/doc/guix.texi:15972 guix-git/doc/guix.texi:16030
  22888. #, no-wrap
  22889. msgid "@code{system?} (default: @code{#f})"
  22890. msgstr ""
  22891. #. type: table
  22892. #: guix-git/doc/guix.texi:15976
  22893. msgid "This Boolean value indicates whether the account is a ``system'' account. System accounts are sometimes treated specially; for instance, graphical login managers do not list them."
  22894. msgstr ""
  22895. #. type: anchor{#1}
  22896. #: guix-git/doc/guix.texi:15978
  22897. msgid "user-account-password"
  22898. msgstr ""
  22899. #. type: cindex
  22900. #: guix-git/doc/guix.texi:15978
  22901. #, no-wrap
  22902. msgid "password, for user accounts"
  22903. msgstr ""
  22904. #. type: item
  22905. #: guix-git/doc/guix.texi:15979 guix-git/doc/guix.texi:16034
  22906. #, no-wrap
  22907. msgid "@code{password} (default: @code{#f})"
  22908. msgstr ""
  22909. #. type: table
  22910. #: guix-git/doc/guix.texi:15985
  22911. msgid "You would normally leave this field to @code{#f}, initialize user passwords as @code{root} with the @command{passwd} command, and then let users change it with @command{passwd}. Passwords set with @command{passwd} are of course preserved across reboot and reconfiguration."
  22912. msgstr ""
  22913. #. type: table
  22914. #: guix-git/doc/guix.texi:15989
  22915. msgid "If you @emph{do} want to set an initial password for an account, then this field must contain the encrypted password, as a string. You can use the @code{crypt} procedure for this purpose:"
  22916. msgstr ""
  22917. #. type: lisp
  22918. #: guix-git/doc/guix.texi:15994
  22919. #, no-wrap
  22920. msgid ""
  22921. "(user-account\n"
  22922. " (name \"charlie\")\n"
  22923. " (group \"users\")\n"
  22924. "\n"
  22925. msgstr ""
  22926. #. type: lisp
  22927. #: guix-git/doc/guix.texi:15997
  22928. #, no-wrap
  22929. msgid ""
  22930. " ;; Specify a SHA-512-hashed initial password.\n"
  22931. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22932. msgstr ""
  22933. #. type: quotation
  22934. #: guix-git/doc/guix.texi:16003
  22935. msgid "The hash of this initial password will be available in a file in @file{/gnu/store}, readable by all the users, so this method must be used with care."
  22936. msgstr ""
  22937. #. type: table
  22938. #: guix-git/doc/guix.texi:16008
  22939. msgid "@xref{Passphrase Storage,,, libc, The GNU C Library Reference Manual}, for more information on password encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for information on Guile's @code{crypt} procedure."
  22940. msgstr ""
  22941. #. type: Plain text
  22942. #: guix-git/doc/guix.texi:16014
  22943. msgid "User group declarations are even simpler:"
  22944. msgstr ""
  22945. #. type: lisp
  22946. #: guix-git/doc/guix.texi:16017
  22947. #, no-wrap
  22948. msgid "(user-group (name \"students\"))\n"
  22949. msgstr ""
  22950. #. type: deftp
  22951. #: guix-git/doc/guix.texi:16019
  22952. #, no-wrap
  22953. msgid "{Data Type} user-group"
  22954. msgstr ""
  22955. #. type: deftp
  22956. #: guix-git/doc/guix.texi:16021
  22957. msgid "This type is for, well, user groups. There are just a few fields:"
  22958. msgstr ""
  22959. #. type: table
  22960. #: guix-git/doc/guix.texi:16025
  22961. msgid "The name of the group."
  22962. msgstr ""
  22963. #. type: item
  22964. #: guix-git/doc/guix.texi:16026 guix-git/doc/guix.texi:31284
  22965. #, no-wrap
  22966. msgid "@code{id} (default: @code{#f})"
  22967. msgstr ""
  22968. #. type: table
  22969. #: guix-git/doc/guix.texi:16029
  22970. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22971. msgstr ""
  22972. #. type: table
  22973. #: guix-git/doc/guix.texi:16033
  22974. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22975. msgstr ""
  22976. #. type: table
  22977. #: guix-git/doc/guix.texi:16037
  22978. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22979. msgstr ""
  22980. #. type: Plain text
  22981. #: guix-git/doc/guix.texi:16043
  22982. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22983. msgstr ""
  22984. #. type: defvr
  22985. #: guix-git/doc/guix.texi:16044
  22986. #, no-wrap
  22987. msgid "{Scheme Variable} %base-groups"
  22988. msgstr ""
  22989. #. type: defvr
  22990. #: guix-git/doc/guix.texi:16049
  22991. msgid "This is the list of basic user groups that users and/or packages expect to be present on the system. This includes groups such as ``root'', ``wheel'', and ``users'', as well as groups used to control access to specific devices such as ``audio'', ``disk'', and ``cdrom''."
  22992. msgstr ""
  22993. #. type: defvr
  22994. #: guix-git/doc/guix.texi:16051
  22995. #, no-wrap
  22996. msgid "{Scheme Variable} %base-user-accounts"
  22997. msgstr ""
  22998. #. type: defvr
  22999. #: guix-git/doc/guix.texi:16054
  23000. msgid "This is the list of basic system accounts that programs may expect to find on a GNU/Linux system, such as the ``nobody'' account."
  23001. msgstr ""
  23002. #. type: defvr
  23003. #: guix-git/doc/guix.texi:16057
  23004. msgid "Note that the ``root'' account is not included here. It is a special-case and is automatically added whether or not it is specified."
  23005. msgstr ""
  23006. #. type: cindex
  23007. #: guix-git/doc/guix.texi:16063
  23008. #, no-wrap
  23009. msgid "keymap"
  23010. msgstr ""
  23011. #. type: Plain text
  23012. #: guix-git/doc/guix.texi:16071
  23013. msgid "To specify what each key of your keyboard does, you need to tell the operating system what @dfn{keyboard layout} you want to use. The default, when nothing is specified, is the US English QWERTY layout for 105-key PC keyboards. However, German speakers will usually prefer the German QWERTZ layout, French speakers will want the AZERTY layout, and so on; hackers might prefer Dvorak or bépo, and they might even want to further customize the effect of some of the keys. This section explains how to get that done."
  23014. msgstr ""
  23015. #. type: cindex
  23016. #: guix-git/doc/guix.texi:16072
  23017. #, no-wrap
  23018. msgid "keyboard layout, definition"
  23019. msgstr ""
  23020. #. type: Plain text
  23021. #: guix-git/doc/guix.texi:16074
  23022. msgid "There are three components that will want to know about your keyboard layout:"
  23023. msgstr ""
  23024. #. type: itemize
  23025. #: guix-git/doc/guix.texi:16081
  23026. msgid "The @emph{bootloader} may want to know what keyboard layout you want to use (@pxref{Bootloader Configuration, @code{keyboard-layout}}). This is useful if you want, for instance, to make sure that you can type the passphrase of your encrypted root partition using the right layout."
  23027. msgstr ""
  23028. #. type: itemize
  23029. #: guix-git/doc/guix.texi:16086
  23030. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  23031. msgstr ""
  23032. #. type: itemize
  23033. #: guix-git/doc/guix.texi:16090
  23034. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  23035. msgstr ""
  23036. #. type: Plain text
  23037. #: guix-git/doc/guix.texi:16094
  23038. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  23039. msgstr ""
  23040. #. type: cindex
  23041. #: guix-git/doc/guix.texi:16095
  23042. #, no-wrap
  23043. msgid "XKB, keyboard layouts"
  23044. msgstr ""
  23045. #. type: Plain text
  23046. #: guix-git/doc/guix.texi:16103
  23047. msgid "Keyboard layouts are represented by records created by the @code{keyboard-layout} procedure of @code{(gnu system keyboard)}. Following the X Keyboard extension (XKB), each layout has four attributes: a name (often a language code such as ``fi'' for Finnish or ``jp'' for Japanese), an optional variant name, an optional keyboard model name, and a possibly empty list of additional options. In most cases the layout name is all you care about."
  23048. msgstr ""
  23049. #. type: deffn
  23050. #: guix-git/doc/guix.texi:16104
  23051. #, no-wrap
  23052. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  23053. msgstr ""
  23054. #. type: deffn
  23055. #: guix-git/doc/guix.texi:16107
  23056. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  23057. msgstr ""
  23058. #. type: deffn
  23059. #: guix-git/doc/guix.texi:16111
  23060. msgid "@var{name} must be a string such as @code{\"fr\"}; @var{variant} must be a string such as @code{\"bepo\"} or @code{\"nodeadkeys\"}. See the @code{xkeyboard-config} package for valid options."
  23061. msgstr ""
  23062. #. type: Plain text
  23063. #: guix-git/doc/guix.texi:16114
  23064. msgid "Here are a few examples:"
  23065. msgstr ""
  23066. #. type: lisp
  23067. #: guix-git/doc/guix.texi:16119
  23068. #, no-wrap
  23069. msgid ""
  23070. ";; The German QWERTZ layout. Here we assume a standard\n"
  23071. ";; \"pc105\" keyboard model.\n"
  23072. "(keyboard-layout \"de\")\n"
  23073. "\n"
  23074. msgstr ""
  23075. #. type: lisp
  23076. #: guix-git/doc/guix.texi:16122
  23077. #, no-wrap
  23078. msgid ""
  23079. ";; The bépo variant of the French layout.\n"
  23080. "(keyboard-layout \"fr\" \"bepo\")\n"
  23081. "\n"
  23082. msgstr ""
  23083. #. type: lisp
  23084. #: guix-git/doc/guix.texi:16125
  23085. #, no-wrap
  23086. msgid ""
  23087. ";; The Catalan layout.\n"
  23088. "(keyboard-layout \"es\" \"cat\")\n"
  23089. "\n"
  23090. msgstr ""
  23091. #. type: lisp
  23092. #: guix-git/doc/guix.texi:16128
  23093. #, no-wrap
  23094. msgid ""
  23095. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  23096. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  23097. "\n"
  23098. msgstr ""
  23099. #. type: lisp
  23100. #: guix-git/doc/guix.texi:16135
  23101. #, no-wrap
  23102. msgid ""
  23103. ";; The Latin American Spanish layout. In addition, the\n"
  23104. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  23105. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  23106. ";; accented letters.\n"
  23107. "(keyboard-layout \"latam\"\n"
  23108. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  23109. "\n"
  23110. msgstr ""
  23111. #. type: lisp
  23112. #: guix-git/doc/guix.texi:16138
  23113. #, no-wrap
  23114. msgid ""
  23115. ";; The Russian layout for a ThinkPad keyboard.\n"
  23116. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  23117. "\n"
  23118. msgstr ""
  23119. #. type: lisp
  23120. #: guix-git/doc/guix.texi:16143
  23121. #, no-wrap
  23122. msgid ""
  23123. ";; The \"US international\" layout, which is the US layout plus\n"
  23124. ";; dead keys to enter accented characters. This is for an\n"
  23125. ";; Apple MacBook keyboard.\n"
  23126. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  23127. msgstr ""
  23128. #. type: Plain text
  23129. #: guix-git/doc/guix.texi:16147
  23130. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  23131. msgstr ""
  23132. #. type: cindex
  23133. #: guix-git/doc/guix.texi:16148
  23134. #, no-wrap
  23135. msgid "keyboard layout, configuration"
  23136. msgstr ""
  23137. #. type: Plain text
  23138. #: guix-git/doc/guix.texi:16152
  23139. msgid "Let's say you want your system to use the Turkish keyboard layout throughout your system---bootloader, console, and Xorg. Here's what your system configuration would look like:"
  23140. msgstr ""
  23141. #. type: findex
  23142. #: guix-git/doc/guix.texi:16153
  23143. #, no-wrap
  23144. msgid "set-xorg-configuration"
  23145. msgstr ""
  23146. #. type: lisp
  23147. #: guix-git/doc/guix.texi:16157
  23148. #, no-wrap
  23149. msgid ""
  23150. ";; Using the Turkish layout for the bootloader, the console,\n"
  23151. ";; and for Xorg.\n"
  23152. "\n"
  23153. msgstr ""
  23154. #. type: lisp
  23155. #: guix-git/doc/guix.texi:16169
  23156. #, no-wrap
  23157. msgid ""
  23158. "(operating-system\n"
  23159. " ;; ...\n"
  23160. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  23161. " (bootloader (bootloader-configuration\n"
  23162. " (bootloader grub-efi-bootloader)\n"
  23163. " (targets '(\"/boot/efi\"))\n"
  23164. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  23165. " (services (cons (set-xorg-configuration\n"
  23166. " (xorg-configuration ;for Xorg\n"
  23167. " (keyboard-layout keyboard-layout)))\n"
  23168. " %desktop-services)))\n"
  23169. msgstr ""
  23170. #. type: Plain text
  23171. #: guix-git/doc/guix.texi:16176
  23172. msgid "In the example above, for GRUB and for Xorg, we just refer to the @code{keyboard-layout} field defined above, but we could just as well refer to a different layout. The @code{set-xorg-configuration} procedure communicates the desired Xorg configuration to the graphical log-in manager, by default GDM."
  23173. msgstr ""
  23174. #. type: Plain text
  23175. #: guix-git/doc/guix.texi:16179
  23176. msgid "We've discussed how to specify the @emph{default} keyboard layout of your system when it starts, but you can also adjust it at run time:"
  23177. msgstr ""
  23178. #. type: itemize
  23179. #: guix-git/doc/guix.texi:16184
  23180. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  23181. msgstr ""
  23182. #. type: itemize
  23183. #: guix-git/doc/guix.texi:16189
  23184. msgid "Under Xorg, the @command{setxkbmap} command (from the same-named package) allows you to change the current layout. For example, this is how you would change the layout to US Dvorak:"
  23185. msgstr ""
  23186. #. type: example
  23187. #: guix-git/doc/guix.texi:16192
  23188. #, no-wrap
  23189. msgid "setxkbmap us dvorak\n"
  23190. msgstr ""
  23191. #. type: itemize
  23192. #: guix-git/doc/guix.texi:16199
  23193. msgid "The @code{loadkeys} command changes the keyboard layout in effect in the Linux console. However, note that @code{loadkeys} does @emph{not} use the XKB keyboard layout categorization described above. The command below loads the French bépo layout:"
  23194. msgstr ""
  23195. #. type: example
  23196. #: guix-git/doc/guix.texi:16202
  23197. #, no-wrap
  23198. msgid "loadkeys fr-bepo\n"
  23199. msgstr ""
  23200. #. type: cindex
  23201. #: guix-git/doc/guix.texi:16208
  23202. #, no-wrap
  23203. msgid "locale"
  23204. msgstr ""
  23205. #. type: Plain text
  23206. #: guix-git/doc/guix.texi:16215
  23207. msgid "A @dfn{locale} defines cultural conventions for a particular language and region of the world (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Each locale has a name that typically has the form @code{@var{language}_@var{territory}.@var{codeset}}---e.g., @code{fr_LU.utf8} designates the locale for the French language, with cultural conventions from Luxembourg, and using the UTF-8 encoding."
  23208. msgstr ""
  23209. #. type: cindex
  23210. #: guix-git/doc/guix.texi:16216
  23211. #, no-wrap
  23212. msgid "locale definition"
  23213. msgstr ""
  23214. #. type: Plain text
  23215. #: guix-git/doc/guix.texi:16220
  23216. msgid "Usually, you will want to specify the default locale for the machine using the @code{locale} field of the @code{operating-system} declaration (@pxref{operating-system Reference, @code{locale}})."
  23217. msgstr ""
  23218. #. type: Plain text
  23219. #: guix-git/doc/guix.texi:16229
  23220. msgid "The selected locale is automatically added to the @dfn{locale definitions} known to the system if needed, with its codeset inferred from its name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} codeset. Additional locale definitions can be specified in the @code{locale-definitions} slot of @code{operating-system}---this is useful, for instance, if the codeset could not be inferred from the locale name. The default set of locale definitions includes some widely used locales, but not all the available locales, in order to save space."
  23221. msgstr ""
  23222. #. type: Plain text
  23223. #: guix-git/doc/guix.texi:16232
  23224. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  23225. msgstr ""
  23226. #. type: lisp
  23227. #: guix-git/doc/guix.texi:16237
  23228. #, no-wrap
  23229. msgid ""
  23230. "(cons (locale-definition\n"
  23231. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  23232. " %default-locale-definitions)\n"
  23233. msgstr ""
  23234. #. type: Plain text
  23235. #: guix-git/doc/guix.texi:16241
  23236. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  23237. msgstr ""
  23238. #. type: lisp
  23239. #: guix-git/doc/guix.texi:16246
  23240. #, no-wrap
  23241. msgid ""
  23242. "(list (locale-definition\n"
  23243. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  23244. " (charset \"EUC-JP\")))\n"
  23245. msgstr ""
  23246. #. type: Plain text
  23247. #: guix-git/doc/guix.texi:16255
  23248. msgid "The compiled locale definitions are available at @file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, which is the default location where the GNU@tie{}libc provided by Guix looks for locale data. This can be overridden using the @env{LOCPATH} environment variable (@pxref{locales-and-locpath, @env{LOCPATH} and locale packages})."
  23249. msgstr ""
  23250. #. type: Plain text
  23251. #: guix-git/doc/guix.texi:16258
  23252. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  23253. msgstr ""
  23254. #. type: deftp
  23255. #: guix-git/doc/guix.texi:16259
  23256. #, no-wrap
  23257. msgid "{Data Type} locale-definition"
  23258. msgstr ""
  23259. #. type: deftp
  23260. #: guix-git/doc/guix.texi:16261
  23261. msgid "This is the data type of a locale definition."
  23262. msgstr ""
  23263. #. type: table
  23264. #: guix-git/doc/guix.texi:16267
  23265. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  23266. msgstr ""
  23267. #. type: table
  23268. #: guix-git/doc/guix.texi:16271
  23269. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  23270. msgstr ""
  23271. #. type: item
  23272. #: guix-git/doc/guix.texi:16272
  23273. #, no-wrap
  23274. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  23275. msgstr ""
  23276. #. type: table
  23277. #: guix-git/doc/guix.texi:16276
  23278. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  23279. msgstr ""
  23280. #. type: defvr
  23281. #: guix-git/doc/guix.texi:16280
  23282. #, no-wrap
  23283. msgid "{Scheme Variable} %default-locale-definitions"
  23284. msgstr ""
  23285. #. type: defvr
  23286. #: guix-git/doc/guix.texi:16284
  23287. msgid "A list of commonly used UTF-8 locales, used as the default value of the @code{locale-definitions} field of @code{operating-system} declarations."
  23288. msgstr ""
  23289. #. type: cindex
  23290. #: guix-git/doc/guix.texi:16285
  23291. #, no-wrap
  23292. msgid "locale name"
  23293. msgstr ""
  23294. #. type: cindex
  23295. #: guix-git/doc/guix.texi:16286
  23296. #, no-wrap
  23297. msgid "normalized codeset in locale names"
  23298. msgstr ""
  23299. #. type: defvr
  23300. #: guix-git/doc/guix.texi:16292
  23301. msgid "These locale definitions use the @dfn{normalized codeset} for the part that follows the dot in the name (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). So for instance it has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}."
  23302. msgstr ""
  23303. #. type: subsection
  23304. #: guix-git/doc/guix.texi:16294
  23305. #, no-wrap
  23306. msgid "Locale Data Compatibility Considerations"
  23307. msgstr ""
  23308. #. type: cindex
  23309. #: guix-git/doc/guix.texi:16296
  23310. #, no-wrap
  23311. msgid "incompatibility, of locale data"
  23312. msgstr ""
  23313. #. type: Plain text
  23314. #: guix-git/doc/guix.texi:16303
  23315. msgid "@code{operating-system} declarations provide a @code{locale-libcs} field to specify the GNU@tie{}libc packages that are used to compile locale declarations (@pxref{operating-system Reference}). ``Why would I care?'', you may ask. Well, it turns out that the binary format of locale data is occasionally incompatible from one libc version to another."
  23316. msgstr ""
  23317. #. type: Plain text
  23318. #: guix-git/doc/guix.texi:16315
  23319. msgid "For instance, a program linked against libc version 2.21 is unable to read locale data produced with libc 2.22; worse, that program @emph{aborts} instead of simply ignoring the incompatible locale data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip the incompatible locale data, which is already an improvement.}. Similarly, a program linked against libc 2.22 can read most, but not all, of the locale data from libc 2.21 (specifically, @env{LC_COLLATE} data is incompatible); thus calls to @code{setlocale} may fail, but programs will not abort."
  23320. msgstr ""
  23321. #. type: Plain text
  23322. #: guix-git/doc/guix.texi:16320
  23323. msgid "The ``problem'' with Guix is that users have a lot of freedom: They can choose whether and when to upgrade software in their profiles, and might be using a libc version different from the one the system administrator used to build the system-wide locale data."
  23324. msgstr ""
  23325. #. type: Plain text
  23326. #: guix-git/doc/guix.texi:16324
  23327. msgid "Fortunately, unprivileged users can also install their own locale data and define @env{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, @env{GUIX_LOCPATH} and locale packages})."
  23328. msgstr ""
  23329. #. type: Plain text
  23330. #: guix-git/doc/guix.texi:16331
  23331. msgid "Still, it is best if the system-wide locale data at @file{/run/current-system/locale} is built for all the libc versions actually in use on the system, so that all the programs can access it---this is especially crucial on a multi-user system. To do that, the administrator can specify several libc packages in the @code{locale-libcs} field of @code{operating-system}:"
  23332. msgstr ""
  23333. #. type: lisp
  23334. #: guix-git/doc/guix.texi:16334
  23335. #, no-wrap
  23336. msgid ""
  23337. "(use-package-modules base)\n"
  23338. "\n"
  23339. msgstr ""
  23340. #. type: lisp
  23341. #: guix-git/doc/guix.texi:16338
  23342. #, no-wrap
  23343. msgid ""
  23344. "(operating-system\n"
  23345. " ;; @dots{}\n"
  23346. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  23347. msgstr ""
  23348. #. type: Plain text
  23349. #: guix-git/doc/guix.texi:16343
  23350. msgid "This example would lead to a system containing locale definitions for both libc 2.21 and the current version of libc in @file{/run/current-system/locale}."
  23351. msgstr ""
  23352. #. type: cindex
  23353. #: guix-git/doc/guix.texi:16348
  23354. #, no-wrap
  23355. msgid "system services"
  23356. msgstr "systémové služby"
  23357. #. type: Plain text
  23358. #: guix-git/doc/guix.texi:16354
  23359. msgid "An important part of preparing an @code{operating-system} declaration is listing @dfn{system services} and their configuration (@pxref{Using the Configuration System}). System services are typically daemons launched when the system boots, or other actions needed at that time---e.g., configuring network access."
  23360. msgstr ""
  23361. #. type: Plain text
  23362. #: guix-git/doc/guix.texi:16361
  23363. msgid "Guix has a broad definition of ``service'' (@pxref{Service Composition}), but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd Services}). On a running system, the @command{herd} command allows you to list the available services, show their status, start and stop them, or do other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). For example:"
  23364. msgstr ""
  23365. #. type: example
  23366. #: guix-git/doc/guix.texi:16364
  23367. #, no-wrap
  23368. msgid "# herd status\n"
  23369. msgstr ""
  23370. #. type: Plain text
  23371. #: guix-git/doc/guix.texi:16369
  23372. msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service and its associated actions:"
  23373. msgstr ""
  23374. #. type: example
  23375. #: guix-git/doc/guix.texi:16373
  23376. #, no-wrap
  23377. msgid ""
  23378. "# herd doc nscd\n"
  23379. "Run libc's name service cache daemon (nscd).\n"
  23380. "\n"
  23381. msgstr ""
  23382. #. type: example
  23383. #: guix-git/doc/guix.texi:16376
  23384. #, no-wrap
  23385. msgid ""
  23386. "# herd doc nscd action invalidate\n"
  23387. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  23388. msgstr ""
  23389. #. type: Plain text
  23390. #: guix-git/doc/guix.texi:16381
  23391. msgid "The @command{start}, @command{stop}, and @command{restart} sub-commands have the effect you would expect. For instance, the commands below stop the nscd service and restart the Xorg display server:"
  23392. msgstr ""
  23393. #. type: example
  23394. #: guix-git/doc/guix.texi:16388
  23395. #, no-wrap
  23396. msgid ""
  23397. "# herd stop nscd\n"
  23398. "Service nscd has been stopped.\n"
  23399. "# herd restart xorg-server\n"
  23400. "Service xorg-server has been stopped.\n"
  23401. "Service xorg-server has been started.\n"
  23402. msgstr ""
  23403. #. type: Plain text
  23404. #: guix-git/doc/guix.texi:16393
  23405. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  23406. msgstr ""
  23407. #. type: subsection
  23408. #: guix-git/doc/guix.texi:16429 guix-git/doc/guix.texi:24718
  23409. #: guix-git/doc/guix.texi:24719
  23410. #, no-wrap
  23411. msgid "File-Sharing Services"
  23412. msgstr ""
  23413. #. type: menuentry
  23414. #: guix-git/doc/guix.texi:16429
  23415. msgid "File-sharing services."
  23416. msgstr ""
  23417. #. type: Plain text
  23418. #: guix-git/doc/guix.texi:16437
  23419. msgid "The @code{(gnu services base)} module provides definitions for the basic services that one expects from the system. The services exported by this module are listed below."
  23420. msgstr ""
  23421. #. type: defvr
  23422. #: guix-git/doc/guix.texi:16438
  23423. #, no-wrap
  23424. msgid "{Scheme Variable} %base-services"
  23425. msgstr ""
  23426. #. type: defvr
  23427. #: guix-git/doc/guix.texi:16444
  23428. msgid "This variable contains a list of basic services (@pxref{Service Types and Services}, for more information on service objects) one would expect from the system: a login service (mingetty) on each tty, syslogd, the libc name service cache daemon (nscd), the udev device manager, and more."
  23429. msgstr ""
  23430. #. type: defvr
  23431. #: guix-git/doc/guix.texi:16449
  23432. msgid "This is the default value of the @code{services} field of @code{operating-system} declarations. Usually, when customizing a system, you will want to append services to @code{%base-services}, like this:"
  23433. msgstr ""
  23434. #. type: lisp
  23435. #: guix-git/doc/guix.texi:16454
  23436. #, no-wrap
  23437. msgid ""
  23438. "(append (list (service avahi-service-type)\n"
  23439. " (service openssh-service-type))\n"
  23440. " %base-services)\n"
  23441. msgstr ""
  23442. #. type: defvr
  23443. #: guix-git/doc/guix.texi:16457
  23444. #, no-wrap
  23445. msgid "{Scheme Variable} special-files-service-type"
  23446. msgstr ""
  23447. #. type: defvr
  23448. #: guix-git/doc/guix.texi:16460
  23449. msgid "This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}."
  23450. msgstr ""
  23451. #. type: defvr
  23452. #: guix-git/doc/guix.texi:16464
  23453. msgid "The value associated with @code{special-files-service-type} services must be a list of tuples where the first element is the ``special file'' and the second element is its target. By default it is:"
  23454. msgstr ""
  23455. #. type: file{#1}
  23456. #: guix-git/doc/guix.texi:16465
  23457. #, no-wrap
  23458. msgid "/bin/sh"
  23459. msgstr ""
  23460. #. type: cindex
  23461. #: guix-git/doc/guix.texi:16466
  23462. #, no-wrap
  23463. msgid "@file{sh}, in @file{/bin}"
  23464. msgstr ""
  23465. #. type: lisp
  23466. #: guix-git/doc/guix.texi:16469
  23467. #, no-wrap
  23468. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  23469. msgstr ""
  23470. #. type: file{#1}
  23471. #: guix-git/doc/guix.texi:16471
  23472. #, no-wrap
  23473. msgid "/usr/bin/env"
  23474. msgstr ""
  23475. #. type: cindex
  23476. #: guix-git/doc/guix.texi:16472
  23477. #, no-wrap
  23478. msgid "@file{env}, in @file{/usr/bin}"
  23479. msgstr ""
  23480. #. type: defvr
  23481. #: guix-git/doc/guix.texi:16475
  23482. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  23483. msgstr ""
  23484. #. type: lisp
  23485. #: guix-git/doc/guix.texi:16479
  23486. #, no-wrap
  23487. msgid ""
  23488. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  23489. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  23490. msgstr ""
  23491. #. type: defvr
  23492. #: guix-git/doc/guix.texi:16486
  23493. msgid "Since this is part of @code{%base-services}, you can use @code{modify-services} to customize the set of special files (@pxref{Service Reference, @code{modify-services}}). But the simple way to add a special file is @i{via} the @code{extra-special-file} procedure (see below)."
  23494. msgstr ""
  23495. #. type: deffn
  23496. #: guix-git/doc/guix.texi:16488
  23497. #, no-wrap
  23498. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  23499. msgstr ""
  23500. #. type: deffn
  23501. #: guix-git/doc/guix.texi:16490
  23502. msgid "Use @var{target} as the ``special file'' @var{file}."
  23503. msgstr ""
  23504. #. type: deffn
  23505. #: guix-git/doc/guix.texi:16494
  23506. msgid "For example, adding the following lines to the @code{services} field of your operating system declaration leads to a @file{/usr/bin/env} symlink:"
  23507. msgstr ""
  23508. #. type: lisp
  23509. #: guix-git/doc/guix.texi:16498
  23510. #, no-wrap
  23511. msgid ""
  23512. "(extra-special-file \"/usr/bin/env\"\n"
  23513. " (file-append coreutils \"/bin/env\"))\n"
  23514. msgstr ""
  23515. #. type: deffn
  23516. #: guix-git/doc/guix.texi:16501
  23517. #, no-wrap
  23518. msgid "{Scheme Procedure} host-name-service @var{name}"
  23519. msgstr ""
  23520. #. type: deffn
  23521. #: guix-git/doc/guix.texi:16503
  23522. msgid "Return a service that sets the host name to @var{name}."
  23523. msgstr ""
  23524. #. type: defvr
  23525. #: guix-git/doc/guix.texi:16505
  23526. #, no-wrap
  23527. msgid "{Scheme Variable} console-font-service-type"
  23528. msgstr ""
  23529. #. type: defvr
  23530. #: guix-git/doc/guix.texi:16510
  23531. msgid "Install the given fonts on the specified ttys (fonts are per virtual console on the kernel Linux). The value of this service is a list of tty/font pairs. The font can be the name of a font provided by the @code{kbd} package or any valid argument to @command{setfont}, as in this example:"
  23532. msgstr ""
  23533. #. type: lisp
  23534. #: guix-git/doc/guix.texi:16519
  23535. #, no-wrap
  23536. msgid ""
  23537. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  23538. " (\"tty2\" . ,(file-append\n"
  23539. " font-tamzen\n"
  23540. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  23541. " (\"tty3\" . ,(file-append\n"
  23542. " font-terminus\n"
  23543. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  23544. msgstr ""
  23545. #. type: deffn
  23546. #: guix-git/doc/guix.texi:16522
  23547. #, no-wrap
  23548. msgid "{Scheme Procedure} login-service @var{config}"
  23549. msgstr ""
  23550. #. type: deffn
  23551. #: guix-git/doc/guix.texi:16526
  23552. msgid "Return a service to run login according to @var{config}, a @code{<login-configuration>} object, which specifies the message of the day, among other things."
  23553. msgstr ""
  23554. #. type: deftp
  23555. #: guix-git/doc/guix.texi:16528
  23556. #, no-wrap
  23557. msgid "{Data Type} login-configuration"
  23558. msgstr ""
  23559. #. type: deftp
  23560. #: guix-git/doc/guix.texi:16530
  23561. msgid "This is the data type representing the configuration of login."
  23562. msgstr ""
  23563. #. type: code{#1}
  23564. #: guix-git/doc/guix.texi:16533
  23565. #, no-wrap
  23566. msgid "motd"
  23567. msgstr ""
  23568. #. type: cindex
  23569. #: guix-git/doc/guix.texi:16534
  23570. #, no-wrap
  23571. msgid "message of the day"
  23572. msgstr ""
  23573. #. type: table
  23574. #: guix-git/doc/guix.texi:16536
  23575. msgid "A file-like object containing the ``message of the day''."
  23576. msgstr ""
  23577. #. type: item
  23578. #: guix-git/doc/guix.texi:16537 guix-git/doc/guix.texi:19767
  23579. #, no-wrap
  23580. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  23581. msgstr ""
  23582. #. type: table
  23583. #: guix-git/doc/guix.texi:16540
  23584. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  23585. msgstr ""
  23586. #. type: deffn
  23587. #: guix-git/doc/guix.texi:16544
  23588. #, no-wrap
  23589. msgid "{Scheme Procedure} mingetty-service @var{config}"
  23590. msgstr ""
  23591. #. type: deffn
  23592. #: guix-git/doc/guix.texi:16548
  23593. msgid "Return a service to run mingetty according to @var{config}, a @code{<mingetty-configuration>} object, which specifies the tty to run, among other things."
  23594. msgstr ""
  23595. #. type: deftp
  23596. #: guix-git/doc/guix.texi:16550
  23597. #, no-wrap
  23598. msgid "{Data Type} mingetty-configuration"
  23599. msgstr ""
  23600. #. type: deftp
  23601. #: guix-git/doc/guix.texi:16553
  23602. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  23603. msgstr ""
  23604. #. type: code{#1}
  23605. #: guix-git/doc/guix.texi:16556 guix-git/doc/guix.texi:16595
  23606. #: guix-git/doc/guix.texi:34101
  23607. #, no-wrap
  23608. msgid "tty"
  23609. msgstr ""
  23610. #. type: table
  23611. #: guix-git/doc/guix.texi:16558
  23612. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  23613. msgstr ""
  23614. #. type: item
  23615. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:16624
  23616. #: guix-git/doc/guix.texi:16787
  23617. #, no-wrap
  23618. msgid "@code{auto-login} (default: @code{#f})"
  23619. msgstr ""
  23620. #. type: table
  23621. #: guix-git/doc/guix.texi:16563
  23622. msgid "When true, this field must be a string denoting the user name under which the system automatically logs in. When it is @code{#f}, a user name and password must be entered to log in."
  23623. msgstr ""
  23624. #. type: item
  23625. #: guix-git/doc/guix.texi:16564
  23626. #, no-wrap
  23627. msgid "@code{login-program} (default: @code{#f})"
  23628. msgstr ""
  23629. #. type: table
  23630. #: guix-git/doc/guix.texi:16568
  23631. msgid "This must be either @code{#f}, in which case the default log-in program is used (@command{login} from the Shadow tool suite), or a gexp denoting the name of the log-in program."
  23632. msgstr ""
  23633. #. type: item
  23634. #: guix-git/doc/guix.texi:16569
  23635. #, no-wrap
  23636. msgid "@code{login-pause?} (default: @code{#f})"
  23637. msgstr ""
  23638. #. type: table
  23639. #: guix-git/doc/guix.texi:16572
  23640. msgid "When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched."
  23641. msgstr ""
  23642. #. type: item
  23643. #: guix-git/doc/guix.texi:16573
  23644. #, no-wrap
  23645. msgid "@code{clear-on-logout?} (default: @code{#t})"
  23646. msgstr ""
  23647. #. type: table
  23648. #: guix-git/doc/guix.texi:16575
  23649. msgid "When set to @code{#t}, the screen will be cleared after logout."
  23650. msgstr ""
  23651. #. type: item
  23652. #: guix-git/doc/guix.texi:16576
  23653. #, no-wrap
  23654. msgid "@code{mingetty} (default: @var{mingetty})"
  23655. msgstr ""
  23656. #. type: table
  23657. #: guix-git/doc/guix.texi:16578
  23658. msgid "The Mingetty package to use."
  23659. msgstr ""
  23660. #. type: deffn
  23661. #: guix-git/doc/guix.texi:16582
  23662. #, no-wrap
  23663. msgid "{Scheme Procedure} agetty-service @var{config}"
  23664. msgstr ""
  23665. #. type: deffn
  23666. #: guix-git/doc/guix.texi:16586
  23667. msgid "Return a service to run agetty according to @var{config}, an @code{<agetty-configuration>} object, which specifies the tty to run, among other things."
  23668. msgstr ""
  23669. #. type: deftp
  23670. #: guix-git/doc/guix.texi:16588
  23671. #, no-wrap
  23672. msgid "{Data Type} agetty-configuration"
  23673. msgstr ""
  23674. #. type: deftp
  23675. #: guix-git/doc/guix.texi:16592
  23676. msgid "This is the data type representing the configuration of agetty, which implements virtual and serial console log-in. See the @code{agetty(8)} man page for more information."
  23677. msgstr ""
  23678. #. type: table
  23679. #: guix-git/doc/guix.texi:16599
  23680. msgid "The name of the console this agetty runs on, as a string---e.g., @code{\"ttyS0\"}. This argument is optional, it will default to a reasonable default serial port used by the kernel Linux."
  23681. msgstr ""
  23682. #. type: table
  23683. #: guix-git/doc/guix.texi:16603
  23684. msgid "For this, if there is a value for an option @code{agetty.tty} in the kernel command line, agetty will extract the device name of the serial port from it and use that."
  23685. msgstr ""
  23686. #. type: table
  23687. #: guix-git/doc/guix.texi:16607
  23688. msgid "If not and if there is a value for an option @code{console} with a tty in the Linux command line, agetty will extract the device name of the serial port from it and use that."
  23689. msgstr ""
  23690. #. type: table
  23691. #: guix-git/doc/guix.texi:16611
  23692. msgid "In both cases, agetty will leave the other serial device settings (baud rate etc.)@: alone---in the hope that Linux pinned them to the correct values."
  23693. msgstr ""
  23694. #. type: item
  23695. #: guix-git/doc/guix.texi:16612 guix-git/doc/guix.texi:34262
  23696. #, no-wrap
  23697. msgid "@code{baud-rate} (default: @code{#f})"
  23698. msgstr ""
  23699. #. type: table
  23700. #: guix-git/doc/guix.texi:16615
  23701. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23702. msgstr ""
  23703. #. type: item
  23704. #: guix-git/doc/guix.texi:16616
  23705. #, no-wrap
  23706. msgid "@code{term} (default: @code{#f})"
  23707. msgstr ""
  23708. #. type: table
  23709. #: guix-git/doc/guix.texi:16619
  23710. msgid "A string containing the value used for the @env{TERM} environment variable."
  23711. msgstr ""
  23712. #. type: item
  23713. #: guix-git/doc/guix.texi:16620
  23714. #, no-wrap
  23715. msgid "@code{eight-bits?} (default: @code{#f})"
  23716. msgstr ""
  23717. #. type: table
  23718. #: guix-git/doc/guix.texi:16623
  23719. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23720. msgstr ""
  23721. #. type: table
  23722. #: guix-git/doc/guix.texi:16627 guix-git/doc/guix.texi:16790
  23723. msgid "When passed a login name, as a string, the specified user will be logged in automatically without prompting for their login name or password."
  23724. msgstr ""
  23725. #. type: item
  23726. #: guix-git/doc/guix.texi:16628
  23727. #, no-wrap
  23728. msgid "@code{no-reset?} (default: @code{#f})"
  23729. msgstr ""
  23730. #. type: table
  23731. #: guix-git/doc/guix.texi:16630
  23732. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23733. msgstr ""
  23734. #. type: item
  23735. #: guix-git/doc/guix.texi:16631
  23736. #, no-wrap
  23737. msgid "@code{host} (default: @code{#f})"
  23738. msgstr ""
  23739. #. type: table
  23740. #: guix-git/doc/guix.texi:16634
  23741. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23742. msgstr ""
  23743. #. type: item
  23744. #: guix-git/doc/guix.texi:16635
  23745. #, no-wrap
  23746. msgid "@code{remote?} (default: @code{#f})"
  23747. msgstr ""
  23748. #. type: table
  23749. #: guix-git/doc/guix.texi:16639
  23750. msgid "When set to @code{#t} in conjunction with @var{host}, this will add an @code{-r} fakehost option to the command line of the login program specified in @var{login-program}."
  23751. msgstr ""
  23752. #. type: item
  23753. #: guix-git/doc/guix.texi:16640
  23754. #, no-wrap
  23755. msgid "@code{flow-control?} (default: @code{#f})"
  23756. msgstr ""
  23757. #. type: table
  23758. #: guix-git/doc/guix.texi:16642
  23759. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23760. msgstr ""
  23761. #. type: item
  23762. #: guix-git/doc/guix.texi:16643
  23763. #, no-wrap
  23764. msgid "@code{no-issue?} (default: @code{#f})"
  23765. msgstr ""
  23766. #. type: table
  23767. #: guix-git/doc/guix.texi:16646
  23768. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23769. msgstr ""
  23770. #. type: item
  23771. #: guix-git/doc/guix.texi:16647
  23772. #, no-wrap
  23773. msgid "@code{init-string} (default: @code{#f})"
  23774. msgstr ""
  23775. #. type: table
  23776. #: guix-git/doc/guix.texi:16650
  23777. msgid "This accepts a string that will be sent to the tty or modem before sending anything else. It can be used to initialize a modem."
  23778. msgstr ""
  23779. #. type: item
  23780. #: guix-git/doc/guix.texi:16651
  23781. #, no-wrap
  23782. msgid "@code{no-clear?} (default: @code{#f})"
  23783. msgstr ""
  23784. #. type: table
  23785. #: guix-git/doc/guix.texi:16654
  23786. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23787. msgstr ""
  23788. #. type: item
  23789. #: guix-git/doc/guix.texi:16655
  23790. #, no-wrap
  23791. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23792. msgstr ""
  23793. #. type: table
  23794. #: guix-git/doc/guix.texi:16659
  23795. msgid "This must be either a gexp denoting the name of a log-in program, or unset, in which case the default value is the @command{login} from the Shadow tool suite."
  23796. msgstr ""
  23797. #. type: item
  23798. #: guix-git/doc/guix.texi:16660
  23799. #, no-wrap
  23800. msgid "@code{local-line} (default: @code{#f})"
  23801. msgstr ""
  23802. #. type: table
  23803. #: guix-git/doc/guix.texi:16664
  23804. msgid "Control the CLOCAL line flag. This accepts one of three symbols as arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the default value chosen by agetty is @code{'auto}."
  23805. msgstr ""
  23806. #. type: item
  23807. #: guix-git/doc/guix.texi:16665
  23808. #, no-wrap
  23809. msgid "@code{extract-baud?} (default: @code{#f})"
  23810. msgstr ""
  23811. #. type: table
  23812. #: guix-git/doc/guix.texi:16668
  23813. msgid "When set to @code{#t}, instruct agetty to try to extract the baud rate from the status messages produced by certain types of modems."
  23814. msgstr ""
  23815. #. type: item
  23816. #: guix-git/doc/guix.texi:16669
  23817. #, no-wrap
  23818. msgid "@code{skip-login?} (default: @code{#f})"
  23819. msgstr ""
  23820. #. type: table
  23821. #: guix-git/doc/guix.texi:16673
  23822. msgid "When set to @code{#t}, do not prompt the user for a login name. This can be used with @var{login-program} field to use non-standard login systems."
  23823. msgstr ""
  23824. #. type: item
  23825. #: guix-git/doc/guix.texi:16674
  23826. #, no-wrap
  23827. msgid "@code{no-newline?} (default: @code{#f})"
  23828. msgstr ""
  23829. #. type: table
  23830. #: guix-git/doc/guix.texi:16677
  23831. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23832. msgstr ""
  23833. #. type: item
  23834. #: guix-git/doc/guix.texi:16679
  23835. #, no-wrap
  23836. msgid "@code{login-options} (default: @code{#f})"
  23837. msgstr ""
  23838. #. type: table
  23839. #: guix-git/doc/guix.texi:16684
  23840. msgid "This option accepts a string containing options that are passed to the login program. When used with the @var{login-program}, be aware that a malicious user could try to enter a login name containing embedded options that could be parsed by the login program."
  23841. msgstr ""
  23842. #. type: item
  23843. #: guix-git/doc/guix.texi:16685
  23844. #, no-wrap
  23845. msgid "@code{login-pause} (default: @code{#f})"
  23846. msgstr ""
  23847. #. type: table
  23848. #: guix-git/doc/guix.texi:16689
  23849. msgid "When set to @code{#t}, wait for any key before showing the login prompt. This can be used in conjunction with @var{auto-login} to save memory by lazily spawning shells."
  23850. msgstr ""
  23851. #. type: item
  23852. #: guix-git/doc/guix.texi:16690
  23853. #, no-wrap
  23854. msgid "@code{chroot} (default: @code{#f})"
  23855. msgstr ""
  23856. #. type: table
  23857. #: guix-git/doc/guix.texi:16693
  23858. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23859. msgstr ""
  23860. #. type: item
  23861. #: guix-git/doc/guix.texi:16694
  23862. #, no-wrap
  23863. msgid "@code{hangup?} (default: @code{#f})"
  23864. msgstr ""
  23865. #. type: table
  23866. #: guix-git/doc/guix.texi:16697
  23867. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23868. msgstr ""
  23869. #. type: item
  23870. #: guix-git/doc/guix.texi:16698
  23871. #, no-wrap
  23872. msgid "@code{keep-baud?} (default: @code{#f})"
  23873. msgstr ""
  23874. #. type: table
  23875. #: guix-git/doc/guix.texi:16702
  23876. msgid "When set to @code{#t}, try to keep the existing baud rate. The baud rates from @var{baud-rate} are used when agetty receives a @key{BREAK} character."
  23877. msgstr ""
  23878. #. type: item
  23879. #: guix-git/doc/guix.texi:16703
  23880. #, no-wrap
  23881. msgid "@code{timeout} (default: @code{#f})"
  23882. msgstr ""
  23883. #. type: table
  23884. #: guix-git/doc/guix.texi:16706
  23885. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23886. msgstr ""
  23887. #. type: item
  23888. #: guix-git/doc/guix.texi:16707
  23889. #, no-wrap
  23890. msgid "@code{detect-case?} (default: @code{#f})"
  23891. msgstr ""
  23892. #. type: table
  23893. #: guix-git/doc/guix.texi:16713
  23894. msgid "When set to @code{#t}, turn on support for detecting an uppercase-only terminal. This setting will detect a login name containing only uppercase letters as indicating an uppercase-only terminal and turn on some upper-to-lower case conversions. Note that this will not support Unicode characters."
  23895. msgstr ""
  23896. #. type: item
  23897. #: guix-git/doc/guix.texi:16714
  23898. #, no-wrap
  23899. msgid "@code{wait-cr?} (default: @code{#f})"
  23900. msgstr ""
  23901. #. type: table
  23902. #: guix-git/doc/guix.texi:16719
  23903. msgid "When set to @code{#t}, wait for the user or modem to send a carriage-return or linefeed character before displaying @file{/etc/issue} or login prompt. This is typically used with the @var{init-string} option."
  23904. msgstr ""
  23905. #. type: item
  23906. #: guix-git/doc/guix.texi:16720
  23907. #, no-wrap
  23908. msgid "@code{no-hints?} (default: @code{#f})"
  23909. msgstr ""
  23910. #. type: table
  23911. #: guix-git/doc/guix.texi:16723
  23912. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23913. msgstr ""
  23914. #. type: item
  23915. #: guix-git/doc/guix.texi:16724
  23916. #, no-wrap
  23917. msgid "@code{no-hostname?} (default: @code{#f})"
  23918. msgstr ""
  23919. #. type: table
  23920. #: guix-git/doc/guix.texi:16727
  23921. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23922. msgstr ""
  23923. #. type: item
  23924. #: guix-git/doc/guix.texi:16728
  23925. #, no-wrap
  23926. msgid "@code{long-hostname?} (default: @code{#f})"
  23927. msgstr ""
  23928. #. type: table
  23929. #: guix-git/doc/guix.texi:16732
  23930. msgid "By default, the hostname is only printed until the first dot. When this option is set to @code{#t}, the fully qualified hostname by @code{gethostname} or @code{getaddrinfo} is shown."
  23931. msgstr ""
  23932. #. type: item
  23933. #: guix-git/doc/guix.texi:16733
  23934. #, no-wrap
  23935. msgid "@code{erase-characters} (default: @code{#f})"
  23936. msgstr ""
  23937. #. type: table
  23938. #: guix-git/doc/guix.texi:16736
  23939. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23940. msgstr ""
  23941. #. type: item
  23942. #: guix-git/doc/guix.texi:16737
  23943. #, no-wrap
  23944. msgid "@code{kill-characters} (default: @code{#f})"
  23945. msgstr ""
  23946. #. type: table
  23947. #: guix-git/doc/guix.texi:16741
  23948. msgid "This option accepts a string that should be interpreted to mean ``ignore all previous characters'' (also called a ``kill'' character) when the user types their login name."
  23949. msgstr ""
  23950. #. type: item
  23951. #: guix-git/doc/guix.texi:16742
  23952. #, no-wrap
  23953. msgid "@code{chdir} (default: @code{#f})"
  23954. msgstr ""
  23955. #. type: table
  23956. #: guix-git/doc/guix.texi:16745
  23957. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23958. msgstr ""
  23959. #. type: item
  23960. #: guix-git/doc/guix.texi:16746
  23961. #, no-wrap
  23962. msgid "@code{delay} (default: @code{#f})"
  23963. msgstr ""
  23964. #. type: table
  23965. #: guix-git/doc/guix.texi:16749
  23966. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23967. msgstr ""
  23968. #. type: item
  23969. #: guix-git/doc/guix.texi:16750
  23970. #, no-wrap
  23971. msgid "@code{nice} (default: @code{#f})"
  23972. msgstr ""
  23973. #. type: table
  23974. #: guix-git/doc/guix.texi:16753
  23975. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23976. msgstr ""
  23977. #. type: item
  23978. #: guix-git/doc/guix.texi:16754 guix-git/doc/guix.texi:17046
  23979. #: guix-git/doc/guix.texi:17965 guix-git/doc/guix.texi:25702
  23980. #: guix-git/doc/guix.texi:27089 guix-git/doc/guix.texi:29507
  23981. #: guix-git/doc/guix.texi:30330 guix-git/doc/guix.texi:32087
  23982. #: guix-git/doc/guix.texi:34602
  23983. #, no-wrap
  23984. msgid "@code{extra-options} (default: @code{'()})"
  23985. msgstr ""
  23986. #. type: table
  23987. #: guix-git/doc/guix.texi:16757
  23988. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23989. msgstr ""
  23990. #. type: item
  23991. #: guix-git/doc/guix.texi:16758
  23992. #, no-wrap
  23993. msgid "@code{shepherd-requirement} (default: @code{'()})"
  23994. msgstr ""
  23995. #. type: table
  23996. #: guix-git/doc/guix.texi:16761
  23997. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  23998. msgstr ""
  23999. #. type: deffn
  24000. #: guix-git/doc/guix.texi:16765
  24001. #, no-wrap
  24002. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  24003. msgstr ""
  24004. #. type: deffn
  24005. #: guix-git/doc/guix.texi:16769
  24006. msgid "Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to @var{config}, a @code{<kmscon-configuration>} object, which specifies the tty to run, among other things."
  24007. msgstr ""
  24008. #. type: deftp
  24009. #: guix-git/doc/guix.texi:16771
  24010. #, no-wrap
  24011. msgid "{Data Type} kmscon-configuration"
  24012. msgstr ""
  24013. #. type: deftp
  24014. #: guix-git/doc/guix.texi:16774
  24015. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  24016. msgstr ""
  24017. #. type: code{#1}
  24018. #: guix-git/doc/guix.texi:16777
  24019. #, no-wrap
  24020. msgid "virtual-terminal"
  24021. msgstr ""
  24022. #. type: table
  24023. #: guix-git/doc/guix.texi:16779
  24024. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  24025. msgstr ""
  24026. #. type: item
  24027. #: guix-git/doc/guix.texi:16780
  24028. #, no-wrap
  24029. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  24030. msgstr ""
  24031. #. type: table
  24032. #: guix-git/doc/guix.texi:16783
  24033. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  24034. msgstr ""
  24035. #. type: item
  24036. #: guix-git/doc/guix.texi:16784
  24037. #, no-wrap
  24038. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  24039. msgstr ""
  24040. #. type: table
  24041. #: guix-git/doc/guix.texi:16786
  24042. msgid "A list of arguments to pass to @command{login}."
  24043. msgstr ""
  24044. #. type: item
  24045. #: guix-git/doc/guix.texi:16791
  24046. #, no-wrap
  24047. msgid "@code{hardware-acceleration?} (default: #f)"
  24048. msgstr ""
  24049. #. type: table
  24050. #: guix-git/doc/guix.texi:16793
  24051. msgid "Whether to use hardware acceleration."
  24052. msgstr ""
  24053. #. type: item
  24054. #: guix-git/doc/guix.texi:16794
  24055. #, no-wrap
  24056. msgid "@code{font-engine} (default: @code{\"pango\"})"
  24057. msgstr ""
  24058. #. type: table
  24059. #: guix-git/doc/guix.texi:16796
  24060. msgid "Font engine used in Kmscon."
  24061. msgstr ""
  24062. #. type: item
  24063. #: guix-git/doc/guix.texi:16797
  24064. #, no-wrap
  24065. msgid "@code{font-size} (default: @code{12})"
  24066. msgstr ""
  24067. #. type: table
  24068. #: guix-git/doc/guix.texi:16799
  24069. msgid "Font size used in Kmscon."
  24070. msgstr ""
  24071. #. type: table
  24072. #: guix-git/doc/guix.texi:16803
  24073. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  24074. msgstr ""
  24075. #. type: table
  24076. #: guix-git/doc/guix.texi:16807
  24077. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  24078. msgstr ""
  24079. #. type: item
  24080. #: guix-git/doc/guix.texi:16808
  24081. #, no-wrap
  24082. msgid "@code{kmscon} (default: @var{kmscon})"
  24083. msgstr ""
  24084. #. type: table
  24085. #: guix-git/doc/guix.texi:16810
  24086. msgid "The Kmscon package to use."
  24087. msgstr ""
  24088. #. type: cindex
  24089. #: guix-git/doc/guix.texi:16814
  24090. #, no-wrap
  24091. msgid "name service cache daemon"
  24092. msgstr ""
  24093. #. type: cindex
  24094. #: guix-git/doc/guix.texi:16815
  24095. #, no-wrap
  24096. msgid "nscd"
  24097. msgstr ""
  24098. #. type: deffn
  24099. #: guix-git/doc/guix.texi:16816
  24100. #, no-wrap
  24101. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  24102. msgstr ""
  24103. #. type: deffn
  24104. #: guix-git/doc/guix.texi:16821
  24105. msgid "[#:name-services '()] Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{<nscd-configuration>} object. @xref{Name Service Switch}, for an example."
  24106. msgstr ""
  24107. #. type: deffn
  24108. #: guix-git/doc/guix.texi:16823
  24109. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  24110. msgstr ""
  24111. #. type: item
  24112. #: guix-git/doc/guix.texi:16825
  24113. #, no-wrap
  24114. msgid "invalidate"
  24115. msgstr ""
  24116. #. type: cindex
  24117. #: guix-git/doc/guix.texi:16826
  24118. #, no-wrap
  24119. msgid "cache invalidation, nscd"
  24120. msgstr ""
  24121. #. type: cindex
  24122. #: guix-git/doc/guix.texi:16827
  24123. #, no-wrap
  24124. msgid "nscd, cache invalidation"
  24125. msgstr ""
  24126. #. type: table
  24127. #: guix-git/doc/guix.texi:16829
  24128. msgid "This invalidate the given cache. For instance, running:"
  24129. msgstr ""
  24130. #. type: example
  24131. #: guix-git/doc/guix.texi:16832
  24132. #, no-wrap
  24133. msgid "herd invalidate nscd hosts\n"
  24134. msgstr ""
  24135. #. type: table
  24136. #: guix-git/doc/guix.texi:16836
  24137. msgid "invalidates the host name lookup cache of nscd."
  24138. msgstr ""
  24139. #. type: item
  24140. #: guix-git/doc/guix.texi:16837
  24141. #, no-wrap
  24142. msgid "statistics"
  24143. msgstr ""
  24144. #. type: table
  24145. #: guix-git/doc/guix.texi:16840
  24146. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  24147. msgstr ""
  24148. #. type: defvr
  24149. #: guix-git/doc/guix.texi:16844
  24150. #, no-wrap
  24151. msgid "{Scheme Variable} %nscd-default-configuration"
  24152. msgstr ""
  24153. #. type: defvr
  24154. #: guix-git/doc/guix.texi:16848
  24155. msgid "This is the default @code{<nscd-configuration>} value (see below) used by @code{nscd-service}. It uses the caches defined by @code{%nscd-default-caches}; see below."
  24156. msgstr ""
  24157. #. type: deftp
  24158. #: guix-git/doc/guix.texi:16850
  24159. #, no-wrap
  24160. msgid "{Data Type} nscd-configuration"
  24161. msgstr ""
  24162. #. type: deftp
  24163. #: guix-git/doc/guix.texi:16853
  24164. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  24165. msgstr ""
  24166. #. type: item
  24167. #: guix-git/doc/guix.texi:16856
  24168. #, no-wrap
  24169. msgid "@code{name-services} (default: @code{'()})"
  24170. msgstr ""
  24171. #. type: table
  24172. #: guix-git/doc/guix.texi:16859
  24173. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  24174. msgstr ""
  24175. #. type: item
  24176. #: guix-git/doc/guix.texi:16860
  24177. #, no-wrap
  24178. msgid "@code{glibc} (default: @var{glibc})"
  24179. msgstr ""
  24180. #. type: table
  24181. #: guix-git/doc/guix.texi:16863
  24182. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  24183. msgstr ""
  24184. #. type: item
  24185. #: guix-git/doc/guix.texi:16864
  24186. #, no-wrap
  24187. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  24188. msgstr ""
  24189. #. type: table
  24190. #: guix-git/doc/guix.texi:16867
  24191. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  24192. msgstr ""
  24193. #. type: item
  24194. #: guix-git/doc/guix.texi:16868
  24195. #, no-wrap
  24196. msgid "@code{debug-level} (default: @code{0})"
  24197. msgstr ""
  24198. #. type: table
  24199. #: guix-git/doc/guix.texi:16871
  24200. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  24201. msgstr ""
  24202. #. type: item
  24203. #: guix-git/doc/guix.texi:16872
  24204. #, no-wrap
  24205. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  24206. msgstr ""
  24207. #. type: table
  24208. #: guix-git/doc/guix.texi:16875
  24209. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  24210. msgstr ""
  24211. #. type: deftp
  24212. #: guix-git/doc/guix.texi:16879
  24213. #, no-wrap
  24214. msgid "{Data Type} nscd-cache"
  24215. msgstr ""
  24216. #. type: deftp
  24217. #: guix-git/doc/guix.texi:16881
  24218. msgid "Data type representing a cache database of nscd and its parameters."
  24219. msgstr ""
  24220. #. type: cindex
  24221. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:21591
  24222. #, no-wrap
  24223. msgid "database"
  24224. msgstr ""
  24225. #. type: table
  24226. #: guix-git/doc/guix.texi:16889
  24227. msgid "This is a symbol representing the name of the database to be cached. Valid values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})."
  24228. msgstr ""
  24229. #. type: code{#1}
  24230. #: guix-git/doc/guix.texi:16890
  24231. #, no-wrap
  24232. msgid "positive-time-to-live"
  24233. msgstr ""
  24234. #. type: itemx
  24235. #: guix-git/doc/guix.texi:16891
  24236. #, no-wrap
  24237. msgid "@code{negative-time-to-live} (default: @code{20})"
  24238. msgstr ""
  24239. #. type: table
  24240. #: guix-git/doc/guix.texi:16894
  24241. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  24242. msgstr ""
  24243. #. type: item
  24244. #: guix-git/doc/guix.texi:16895
  24245. #, no-wrap
  24246. msgid "@code{check-files?} (default: @code{#t})"
  24247. msgstr ""
  24248. #. type: table
  24249. #: guix-git/doc/guix.texi:16898
  24250. msgid "Whether to check for updates of the files corresponding to @var{database}."
  24251. msgstr ""
  24252. #. type: table
  24253. #: guix-git/doc/guix.texi:16902
  24254. msgid "For instance, when @var{database} is @code{hosts}, setting this flag instructs nscd to check for updates in @file{/etc/hosts} and to take them into account."
  24255. msgstr ""
  24256. #. type: item
  24257. #: guix-git/doc/guix.texi:16903
  24258. #, no-wrap
  24259. msgid "@code{persistent?} (default: @code{#t})"
  24260. msgstr ""
  24261. #. type: table
  24262. #: guix-git/doc/guix.texi:16905
  24263. msgid "Whether the cache should be stored persistently on disk."
  24264. msgstr ""
  24265. #. type: item
  24266. #: guix-git/doc/guix.texi:16906
  24267. #, no-wrap
  24268. msgid "@code{shared?} (default: @code{#t})"
  24269. msgstr ""
  24270. #. type: table
  24271. #: guix-git/doc/guix.texi:16908
  24272. msgid "Whether the cache should be shared among users."
  24273. msgstr ""
  24274. #. type: item
  24275. #: guix-git/doc/guix.texi:16909
  24276. #, no-wrap
  24277. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  24278. msgstr ""
  24279. #. type: table
  24280. #: guix-git/doc/guix.texi:16911
  24281. msgid "Maximum size in bytes of the database cache."
  24282. msgstr ""
  24283. #. type: defvr
  24284. #: guix-git/doc/guix.texi:16918
  24285. #, no-wrap
  24286. msgid "{Scheme Variable} %nscd-default-caches"
  24287. msgstr ""
  24288. #. type: defvr
  24289. #: guix-git/doc/guix.texi:16921
  24290. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  24291. msgstr ""
  24292. #. type: defvr
  24293. #: guix-git/doc/guix.texi:16927
  24294. msgid "It enables persistent and aggressive caching of service and host name lookups. The latter provides better host name lookup performance, resilience in the face of unreliable name servers, and also better privacy---often the result of host name lookups is in local cache, so external name servers do not even need to be queried."
  24295. msgstr ""
  24296. #. type: anchor{#1}
  24297. #: guix-git/doc/guix.texi:16930
  24298. msgid "syslog-configuration-type"
  24299. msgstr ""
  24300. #. type: cindex
  24301. #: guix-git/doc/guix.texi:16930 guix-git/doc/guix.texi:16946
  24302. #, no-wrap
  24303. msgid "syslog"
  24304. msgstr ""
  24305. #. type: cindex
  24306. #: guix-git/doc/guix.texi:16931 guix-git/doc/guix.texi:17522
  24307. #, no-wrap
  24308. msgid "logging"
  24309. msgstr ""
  24310. #. type: deftp
  24311. #: guix-git/doc/guix.texi:16932
  24312. #, no-wrap
  24313. msgid "{Data Type} syslog-configuration"
  24314. msgstr ""
  24315. #. type: deftp
  24316. #: guix-git/doc/guix.texi:16934
  24317. msgid "This data type represents the configuration of the syslog daemon."
  24318. msgstr ""
  24319. #. type: item
  24320. #: guix-git/doc/guix.texi:16936
  24321. #, no-wrap
  24322. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  24323. msgstr ""
  24324. #. type: table
  24325. #: guix-git/doc/guix.texi:16938
  24326. msgid "The syslog daemon to use."
  24327. msgstr ""
  24328. #. type: item
  24329. #: guix-git/doc/guix.texi:16939
  24330. #, no-wrap
  24331. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  24332. msgstr ""
  24333. #. type: table
  24334. #: guix-git/doc/guix.texi:16941
  24335. msgid "The syslog configuration file to use."
  24336. msgstr ""
  24337. #. type: anchor{#1}
  24338. #: guix-git/doc/guix.texi:16946
  24339. msgid "syslog-service"
  24340. msgstr ""
  24341. #. type: deffn
  24342. #: guix-git/doc/guix.texi:16947
  24343. #, no-wrap
  24344. msgid "{Scheme Procedure} syslog-service @var{config}"
  24345. msgstr ""
  24346. #. type: deffn
  24347. #: guix-git/doc/guix.texi:16949
  24348. msgid "Return a service that runs a syslog daemon according to @var{config}."
  24349. msgstr ""
  24350. #. type: deffn
  24351. #: guix-git/doc/guix.texi:16952
  24352. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  24353. msgstr ""
  24354. #. type: defvr
  24355. #: guix-git/doc/guix.texi:16954
  24356. #, no-wrap
  24357. msgid "{Scheme Variable} guix-service-type"
  24358. msgstr ""
  24359. #. type: defvr
  24360. #: guix-git/doc/guix.texi:16958
  24361. msgid "This is the type of the service that runs the build daemon, @command{guix-daemon} (@pxref{Invoking guix-daemon}). Its value must be a @code{guix-configuration} record as described below."
  24362. msgstr ""
  24363. #. type: anchor{#1}
  24364. #: guix-git/doc/guix.texi:16961
  24365. msgid "guix-configuration-type"
  24366. msgstr ""
  24367. #. type: deftp
  24368. #: guix-git/doc/guix.texi:16961
  24369. #, no-wrap
  24370. msgid "{Data Type} guix-configuration"
  24371. msgstr ""
  24372. #. type: deftp
  24373. #: guix-git/doc/guix.texi:16964
  24374. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  24375. msgstr ""
  24376. #. type: item
  24377. #: guix-git/doc/guix.texi:16966
  24378. #, no-wrap
  24379. msgid "@code{guix} (default: @var{guix})"
  24380. msgstr ""
  24381. #. type: table
  24382. #: guix-git/doc/guix.texi:16968 guix-git/doc/guix.texi:17245
  24383. msgid "The Guix package to use."
  24384. msgstr ""
  24385. #. type: item
  24386. #: guix-git/doc/guix.texi:16969
  24387. #, no-wrap
  24388. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  24389. msgstr ""
  24390. #. type: table
  24391. #: guix-git/doc/guix.texi:16971
  24392. msgid "Name of the group for build user accounts."
  24393. msgstr ""
  24394. #. type: item
  24395. #: guix-git/doc/guix.texi:16972
  24396. #, no-wrap
  24397. msgid "@code{build-accounts} (default: @code{10})"
  24398. msgstr ""
  24399. #. type: table
  24400. #: guix-git/doc/guix.texi:16974
  24401. msgid "Number of build user accounts to create."
  24402. msgstr ""
  24403. #. type: item
  24404. #: guix-git/doc/guix.texi:16975
  24405. #, no-wrap
  24406. msgid "@code{authorize-key?} (default: @code{#t})"
  24407. msgstr ""
  24408. #. type: table
  24409. #: guix-git/doc/guix.texi:16982
  24410. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes})."
  24411. msgstr ""
  24412. #. type: table
  24413. #: guix-git/doc/guix.texi:16988
  24414. msgid "When @code{authorize-key?} is true, @file{/etc/guix/acl} cannot be changed by invoking @command{guix archive --authorize}. You must instead adjust @code{guix-configuration} as you wish and reconfigure the system. This ensures that your operating system configuration file is self-contained."
  24415. msgstr ""
  24416. #. type: quotation
  24417. #: guix-git/doc/guix.texi:16995
  24418. msgid "When booting or reconfiguring to a system where @code{authorize-key?} is true, the existing @file{/etc/guix/acl} file is backed up as @file{/etc/guix/acl.bak} if it was determined to be a manually modified file. This is to facilitate migration from earlier versions, which allowed for in-place modifications to @file{/etc/guix/acl}."
  24419. msgstr ""
  24420. #. type: vindex
  24421. #: guix-git/doc/guix.texi:16997
  24422. #, no-wrap
  24423. msgid "%default-authorized-guix-keys"
  24424. msgstr ""
  24425. #. type: item
  24426. #: guix-git/doc/guix.texi:16998
  24427. #, no-wrap
  24428. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  24429. msgstr ""
  24430. #. type: table
  24431. #: guix-git/doc/guix.texi:17004
  24432. msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  24433. msgstr ""
  24434. #. type: item
  24435. #: guix-git/doc/guix.texi:17005
  24436. #, no-wrap
  24437. msgid "@code{use-substitutes?} (default: @code{#t})"
  24438. msgstr ""
  24439. #. type: table
  24440. #: guix-git/doc/guix.texi:17007
  24441. msgid "Whether to use substitutes."
  24442. msgstr ""
  24443. #. type: item
  24444. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:29604
  24445. #, no-wrap
  24446. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  24447. msgstr ""
  24448. #. type: table
  24449. #: guix-git/doc/guix.texi:17010 guix-git/doc/guix.texi:29606
  24450. msgid "The list of URLs where to look for substitutes by default."
  24451. msgstr ""
  24452. #. type: table
  24453. #: guix-git/doc/guix.texi:17017
  24454. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER-1}}. You will need to do two things: (1) add @code{guix.example.org} to @code{substitute-urls}, and (2) authorize its signing key, having done appropriate checks (@pxref{Substitute Server Authorization}). The configuration below does exactly that:"
  24455. msgstr ""
  24456. #. type: lisp
  24457. #: guix-git/doc/guix.texi:17026
  24458. #, no-wrap
  24459. msgid ""
  24460. "(guix-configuration\n"
  24461. " (substitute-urls\n"
  24462. " (append (list \"https://guix.example.org\")\n"
  24463. " %default-substitute-urls))\n"
  24464. " (authorized-keys\n"
  24465. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  24466. " %default-authorized-guix-keys)))\n"
  24467. msgstr ""
  24468. #. type: table
  24469. #: guix-git/doc/guix.texi:17031
  24470. msgid "This example assumes that the file @file{./guix.example.org-key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  24471. msgstr ""
  24472. #. type: item
  24473. #: guix-git/doc/guix.texi:17032
  24474. #, no-wrap
  24475. msgid "@code{max-silent-time} (default: @code{0})"
  24476. msgstr ""
  24477. #. type: itemx
  24478. #: guix-git/doc/guix.texi:17033
  24479. #, no-wrap
  24480. msgid "@code{timeout} (default: @code{0})"
  24481. msgstr ""
  24482. #. type: table
  24483. #: guix-git/doc/guix.texi:17037
  24484. msgid "The number of seconds of silence and the number of seconds of activity, respectively, after which a build process times out. A value of zero disables the timeout."
  24485. msgstr ""
  24486. #. type: item
  24487. #: guix-git/doc/guix.texi:17038
  24488. #, no-wrap
  24489. msgid "@code{log-compression} (default: @code{'gzip})"
  24490. msgstr ""
  24491. #. type: table
  24492. #: guix-git/doc/guix.texi:17041
  24493. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  24494. msgstr ""
  24495. #. type: item
  24496. #: guix-git/doc/guix.texi:17042
  24497. #, no-wrap
  24498. msgid "@code{discover?} (default: @code{#f})"
  24499. msgstr ""
  24500. #. type: table
  24501. #: guix-git/doc/guix.texi:17048
  24502. msgid "List of extra command-line options for @command{guix-daemon}."
  24503. msgstr ""
  24504. #. type: item
  24505. #: guix-git/doc/guix.texi:17049
  24506. #, no-wrap
  24507. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  24508. msgstr ""
  24509. #. type: table
  24510. #: guix-git/doc/guix.texi:17052
  24511. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  24512. msgstr ""
  24513. #. type: cindex
  24514. #: guix-git/doc/guix.texi:17053
  24515. #, no-wrap
  24516. msgid "HTTP proxy, for @code{guix-daemon}"
  24517. msgstr ""
  24518. #. type: cindex
  24519. #: guix-git/doc/guix.texi:17054
  24520. #, no-wrap
  24521. msgid "proxy, for @code{guix-daemon} HTTP access"
  24522. msgstr ""
  24523. #. type: item
  24524. #: guix-git/doc/guix.texi:17055
  24525. #, no-wrap
  24526. msgid "@code{http-proxy} (default: @code{#f})"
  24527. msgstr ""
  24528. #. type: table
  24529. #: guix-git/doc/guix.texi:17058
  24530. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  24531. msgstr ""
  24532. #. type: table
  24533. #: guix-git/doc/guix.texi:17061
  24534. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  24535. msgstr ""
  24536. #. type: example
  24537. #: guix-git/doc/guix.texi:17064
  24538. #, no-wrap
  24539. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  24540. msgstr ""
  24541. #. type: table
  24542. #: guix-git/doc/guix.texi:17067
  24543. msgid "To clear the proxy settings, run:"
  24544. msgstr ""
  24545. #. type: example
  24546. #: guix-git/doc/guix.texi:17070
  24547. #, no-wrap
  24548. msgid "herd set-http-proxy guix-daemon\n"
  24549. msgstr ""
  24550. #. type: item
  24551. #: guix-git/doc/guix.texi:17072
  24552. #, no-wrap
  24553. msgid "@code{tmpdir} (default: @code{#f})"
  24554. msgstr ""
  24555. #. type: table
  24556. #: guix-git/doc/guix.texi:17074
  24557. msgid "A directory path where the @command{guix-daemon} will perform builds."
  24558. msgstr ""
  24559. #. type: deffn
  24560. #: guix-git/doc/guix.texi:17078
  24561. #, no-wrap
  24562. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  24563. msgstr ""
  24564. #. type: deffn
  24565. #: guix-git/doc/guix.texi:17084
  24566. msgid "Run @var{udev}, which populates the @file{/dev} directory dynamically. udev rules can be provided as a list of files through the @var{rules} variable. The procedures @code{udev-rule}, @code{udev-rules-service} and @code{file->udev-rule} from @code{(gnu services base)} simplify the creation of such rule files."
  24567. msgstr ""
  24568. #. type: deffn
  24569. #: guix-git/doc/guix.texi:17087
  24570. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  24571. msgstr ""
  24572. #. type: deffn
  24573. #: guix-git/doc/guix.texi:17089
  24574. #, no-wrap
  24575. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  24576. msgstr ""
  24577. #. type: deffn
  24578. #: guix-git/doc/guix.texi:17092
  24579. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  24580. msgstr ""
  24581. #. type: deffn
  24582. #: guix-git/doc/guix.texi:17096
  24583. msgid "In the following example, a rule for a USB device is defined to be stored in the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a USB device with a given product identifier."
  24584. msgstr ""
  24585. #. type: lisp
  24586. #: guix-git/doc/guix.texi:17104
  24587. #, no-wrap
  24588. msgid ""
  24589. "(define %example-udev-rule\n"
  24590. " (udev-rule\n"
  24591. " \"90-usb-thing.rules\"\n"
  24592. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  24593. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  24594. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  24595. msgstr ""
  24596. #. type: deffn
  24597. #: guix-git/doc/guix.texi:17107
  24598. #, no-wrap
  24599. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  24600. msgstr ""
  24601. #. type: deffn
  24602. #: guix-git/doc/guix.texi:17114
  24603. msgid "[#:groups @var{groups}] Return a service that extends @code{udev-service-type } with @var{rules} and @code{account-service-type} with @var{groups} as system groups. This works by creating a singleton service type @code{@var{name}-udev-rules}, of which the returned service is an instance."
  24604. msgstr ""
  24605. #. type: deffn
  24606. #: guix-git/doc/guix.texi:17117
  24607. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  24608. msgstr ""
  24609. #. type: lisp
  24610. #: guix-git/doc/guix.texi:17124
  24611. #, no-wrap
  24612. msgid ""
  24613. "(operating-system\n"
  24614. " ;; @dots{}\n"
  24615. " (services\n"
  24616. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  24617. " %desktop-services)))\n"
  24618. msgstr ""
  24619. #. type: deffn
  24620. #: guix-git/doc/guix.texi:17127
  24621. #, no-wrap
  24622. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  24623. msgstr ""
  24624. #. type: deffn
  24625. #: guix-git/doc/guix.texi:17130
  24626. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  24627. msgstr ""
  24628. #. type: deffn
  24629. #: guix-git/doc/guix.texi:17132
  24630. msgid "The following example showcases how we can use an existing rule file."
  24631. msgstr ""
  24632. #. type: lisp
  24633. #: guix-git/doc/guix.texi:17137
  24634. #, no-wrap
  24635. msgid ""
  24636. "(use-modules (guix download) ;for url-fetch\n"
  24637. " (guix packages) ;for origin\n"
  24638. " @dots{})\n"
  24639. "\n"
  24640. msgstr ""
  24641. #. type: lisp
  24642. #: guix-git/doc/guix.texi:17148
  24643. #, no-wrap
  24644. msgid ""
  24645. "(define %android-udev-rules\n"
  24646. " (file->udev-rule\n"
  24647. " \"51-android-udev.rules\"\n"
  24648. " (let ((version \"20170910\"))\n"
  24649. " (origin\n"
  24650. " (method url-fetch)\n"
  24651. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  24652. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  24653. " (sha256\n"
  24654. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  24655. msgstr ""
  24656. #. type: Plain text
  24657. #: guix-git/doc/guix.texi:17157
  24658. msgid "Additionally, Guix package definitions can be included in @var{rules} in order to extend the udev rules with the definitions found under their @file{lib/udev/rules.d} sub-directory. In lieu of the previous @var{file->udev-rule} example, we could have used the @var{android-udev-rules} package which exists in Guix in the @code{(gnu packages android)} module."
  24659. msgstr ""
  24660. #. type: Plain text
  24661. #: guix-git/doc/guix.texi:17166
  24662. msgid "The following example shows how to use the @var{android-udev-rules} package so that the Android tool @command{adb} can detect devices without root privileges. It also details how to create the @code{adbusers} group, which is required for the proper functioning of the rules defined within the @code{android-udev-rules} package. To create such a group, we must define it both as part of the @code{supplementary-groups} of our @code{user-account} declaration, as well as in the @var{groups} of the @code{udev-rules-service} procedure."
  24663. msgstr ""
  24664. #. type: lisp
  24665. #: guix-git/doc/guix.texi:17171
  24666. #, no-wrap
  24667. msgid ""
  24668. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  24669. " (gnu system shadow) ;for user-group\n"
  24670. " @dots{})\n"
  24671. "\n"
  24672. msgstr ""
  24673. #. type: lisp
  24674. #: guix-git/doc/guix.texi:17184
  24675. #, no-wrap
  24676. msgid ""
  24677. "(operating-system\n"
  24678. " ;; @dots{}\n"
  24679. " (users (cons (user-account\n"
  24680. " ;; @dots{}\n"
  24681. " (supplementary-groups\n"
  24682. " '(\"adbusers\" ;for adb\n"
  24683. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24684. " ;; @dots{}\n"
  24685. " (services\n"
  24686. " (cons (udev-rules-service 'android android-udev-rules\n"
  24687. " #:groups '(\"adbusers\"))\n"
  24688. " %desktop-services)))\n"
  24689. msgstr ""
  24690. #. type: defvr
  24691. #: guix-git/doc/guix.texi:17186
  24692. #, no-wrap
  24693. msgid "{Scheme Variable} urandom-seed-service-type"
  24694. msgstr ""
  24695. #. type: defvr
  24696. #: guix-git/doc/guix.texi:17191
  24697. msgid "Save some entropy in @code{%random-seed-file} to seed @file{/dev/urandom} when rebooting. It also tries to seed @file{/dev/urandom} from @file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is readable."
  24698. msgstr ""
  24699. #. type: defvr
  24700. #: guix-git/doc/guix.texi:17193
  24701. #, no-wrap
  24702. msgid "{Scheme Variable} %random-seed-file"
  24703. msgstr ""
  24704. #. type: defvr
  24705. #: guix-git/doc/guix.texi:17197
  24706. msgid "This is the name of the file where some random bytes are saved by @var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It defaults to @file{/var/lib/random-seed}."
  24707. msgstr ""
  24708. #. type: cindex
  24709. #: guix-git/doc/guix.texi:17199
  24710. #, no-wrap
  24711. msgid "mouse"
  24712. msgstr "myš"
  24713. #. type: cindex
  24714. #: guix-git/doc/guix.texi:17200
  24715. #, no-wrap
  24716. msgid "gpm"
  24717. msgstr ""
  24718. #. type: defvr
  24719. #: guix-git/doc/guix.texi:17201
  24720. #, no-wrap
  24721. msgid "{Scheme Variable} gpm-service-type"
  24722. msgstr ""
  24723. #. type: defvr
  24724. #: guix-git/doc/guix.texi:17206
  24725. msgid "This is the type of the service that runs GPM, the @dfn{general-purpose mouse daemon}, which provides mouse support to the Linux console. GPM allows users to use the mouse in the console, notably to select, copy, and paste text."
  24726. msgstr ""
  24727. #. type: defvr
  24728. #: guix-git/doc/guix.texi:17209
  24729. msgid "The value for services of this type must be a @code{gpm-configuration} (see below). This service is not part of @code{%base-services}."
  24730. msgstr ""
  24731. #. type: deftp
  24732. #: guix-git/doc/guix.texi:17211
  24733. #, no-wrap
  24734. msgid "{Data Type} gpm-configuration"
  24735. msgstr ""
  24736. #. type: deftp
  24737. #: guix-git/doc/guix.texi:17213
  24738. msgid "Data type representing the configuration of GPM."
  24739. msgstr ""
  24740. #. type: item
  24741. #: guix-git/doc/guix.texi:17215
  24742. #, no-wrap
  24743. msgid "@code{options} (default: @code{%default-gpm-options})"
  24744. msgstr ""
  24745. #. type: table
  24746. #: guix-git/doc/guix.texi:17220
  24747. msgid "Command-line options passed to @command{gpm}. The default set of options instruct @command{gpm} to listen to mouse events on @file{/dev/input/mice}. @xref{Command Line,,, gpm, gpm manual}, for more information."
  24748. msgstr ""
  24749. #. type: item
  24750. #: guix-git/doc/guix.texi:17221
  24751. #, no-wrap
  24752. msgid "@code{gpm} (default: @code{gpm})"
  24753. msgstr ""
  24754. #. type: table
  24755. #: guix-git/doc/guix.texi:17223
  24756. msgid "The GPM package to use."
  24757. msgstr ""
  24758. #. type: anchor{#1}
  24759. #: guix-git/doc/guix.texi:17228
  24760. msgid "guix-publish-service-type"
  24761. msgstr ""
  24762. #. type: deffn
  24763. #: guix-git/doc/guix.texi:17228
  24764. #, no-wrap
  24765. msgid "{Scheme Variable} guix-publish-service-type"
  24766. msgstr ""
  24767. #. type: deffn
  24768. #: guix-git/doc/guix.texi:17232
  24769. msgid "This is the service type for @command{guix publish} (@pxref{Invoking guix publish}). Its value must be a @code{guix-publish-configuration} object, as described below."
  24770. msgstr ""
  24771. #. type: deffn
  24772. #: guix-git/doc/guix.texi:17236
  24773. msgid "This assumes that @file{/etc/guix} already contains a signing key pair as created by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). If that is not the case, the service will fail to start."
  24774. msgstr ""
  24775. #. type: deftp
  24776. #: guix-git/doc/guix.texi:17238
  24777. #, no-wrap
  24778. msgid "{Data Type} guix-publish-configuration"
  24779. msgstr ""
  24780. #. type: deftp
  24781. #: guix-git/doc/guix.texi:17241
  24782. msgid "Data type representing the configuration of the @code{guix publish} service."
  24783. msgstr ""
  24784. #. type: item
  24785. #: guix-git/doc/guix.texi:17243
  24786. #, no-wrap
  24787. msgid "@code{guix} (default: @code{guix})"
  24788. msgstr ""
  24789. #. type: item
  24790. #: guix-git/doc/guix.texi:17246 guix-git/doc/guix.texi:31942
  24791. #, no-wrap
  24792. msgid "@code{port} (default: @code{80})"
  24793. msgstr ""
  24794. #. type: table
  24795. #: guix-git/doc/guix.texi:17248
  24796. msgid "The TCP port to listen for connections."
  24797. msgstr ""
  24798. #. type: item
  24799. #: guix-git/doc/guix.texi:17249 guix-git/doc/guix.texi:29487
  24800. #: guix-git/doc/guix.texi:33323
  24801. #, no-wrap
  24802. msgid "@code{host} (default: @code{\"localhost\"})"
  24803. msgstr ""
  24804. #. type: table
  24805. #: guix-git/doc/guix.texi:17252
  24806. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24807. msgstr ""
  24808. #. type: item
  24809. #: guix-git/doc/guix.texi:17253
  24810. #, no-wrap
  24811. msgid "@code{advertise?} (default: @code{#f})"
  24812. msgstr ""
  24813. #. type: table
  24814. #: guix-git/doc/guix.texi:17256
  24815. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24816. msgstr ""
  24817. #. type: table
  24818. #: guix-git/doc/guix.texi:17260
  24819. msgid "This allows neighboring Guix devices with discovery on (see @code{guix-configuration} above) to discover this @command{guix publish} instance and to automatically download substitutes from it."
  24820. msgstr ""
  24821. #. type: item
  24822. #: guix-git/doc/guix.texi:17261
  24823. #, no-wrap
  24824. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24825. msgstr ""
  24826. #. type: table
  24827. #: guix-git/doc/guix.texi:17265
  24828. msgid "This is a list of compression method/level tuple used when compressing substitutes. For example, to compress all substitutes with @emph{both} lzip at level 7 and gzip at level 9, write:"
  24829. msgstr ""
  24830. #. type: lisp
  24831. #: guix-git/doc/guix.texi:17268
  24832. #, no-wrap
  24833. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24834. msgstr ""
  24835. #. type: table
  24836. #: guix-git/doc/guix.texi:17274
  24837. msgid "Level 9 achieves the best compression ratio at the expense of increased CPU usage, whereas level 1 achieves fast compression. @xref{Invoking guix publish}, for more information on the available compression methods and the tradeoffs involved."
  24838. msgstr ""
  24839. #. type: table
  24840. #: guix-git/doc/guix.texi:17276
  24841. msgid "An empty list disables compression altogether."
  24842. msgstr ""
  24843. #. type: item
  24844. #: guix-git/doc/guix.texi:17277
  24845. #, no-wrap
  24846. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24847. msgstr ""
  24848. #. type: table
  24849. #: guix-git/doc/guix.texi:17280
  24850. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24851. msgstr ""
  24852. #. type: item
  24853. #: guix-git/doc/guix.texi:17281
  24854. #, no-wrap
  24855. msgid "@code{cache} (default: @code{#f})"
  24856. msgstr ""
  24857. #. type: table
  24858. #: guix-git/doc/guix.texi:17287
  24859. msgid "When it is @code{#f}, disable caching and instead generate archives on demand. Otherwise, this should be the name of a directory---e.g., @code{\"/var/cache/guix/publish\"}---where @command{guix publish} caches archives and meta-data ready to be sent. @xref{Invoking guix publish, @option{--cache}}, for more information on the tradeoffs involved."
  24860. msgstr ""
  24861. #. type: item
  24862. #: guix-git/doc/guix.texi:17288
  24863. #, no-wrap
  24864. msgid "@code{workers} (default: @code{#f})"
  24865. msgstr ""
  24866. #. type: table
  24867. #: guix-git/doc/guix.texi:17292
  24868. msgid "When it is an integer, this is the number of worker threads used for caching; when @code{#f}, the number of processors is used. @xref{Invoking guix publish, @option{--workers}}, for more information."
  24869. msgstr ""
  24870. #. type: item
  24871. #: guix-git/doc/guix.texi:17293
  24872. #, no-wrap
  24873. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24874. msgstr ""
  24875. #. type: table
  24876. #: guix-git/doc/guix.texi:17298
  24877. msgid "When @code{cache} is true, this is the maximum size in bytes of a store item for which @command{guix publish} may bypass its cache in case of a cache miss. @xref{Invoking guix publish, @option{--cache-bypass-threshold}}, for more information."
  24878. msgstr ""
  24879. #. type: item
  24880. #: guix-git/doc/guix.texi:17299 guix-git/doc/guix.texi:33824
  24881. #, no-wrap
  24882. msgid "@code{ttl} (default: @code{#f})"
  24883. msgstr ""
  24884. #. type: table
  24885. #: guix-git/doc/guix.texi:17303
  24886. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds of the published archives. @xref{Invoking guix publish, @option{--ttl}}, for more information."
  24887. msgstr ""
  24888. #. type: item
  24889. #: guix-git/doc/guix.texi:17304 guix-git/doc/guix.texi:33832
  24890. #, no-wrap
  24891. msgid "@code{negative-ttl} (default: @code{#f})"
  24892. msgstr ""
  24893. #. type: table
  24894. #: guix-git/doc/guix.texi:17308
  24895. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds for the negative lookups. @xref{Invoking guix publish, @option{--negative-ttl}}, for more information."
  24896. msgstr ""
  24897. #. type: anchor{#1}
  24898. #: guix-git/doc/guix.texi:17312
  24899. msgid "rngd-service"
  24900. msgstr ""
  24901. #. type: deffn
  24902. #: guix-git/doc/guix.texi:17312
  24903. #, no-wrap
  24904. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24905. msgstr ""
  24906. #. type: deffn
  24907. #: guix-git/doc/guix.texi:17317
  24908. msgid "[#:device \"/dev/hwrng\"] Return a service that runs the @command{rngd} program from @var{rng-tools} to add @var{device} to the kernel's entropy pool. The service will fail if @var{device} does not exist."
  24909. msgstr ""
  24910. #. type: anchor{#1}
  24911. #: guix-git/doc/guix.texi:17320
  24912. msgid "pam-limits-service"
  24913. msgstr ""
  24914. #. type: cindex
  24915. #: guix-git/doc/guix.texi:17320
  24916. #, no-wrap
  24917. msgid "session limits"
  24918. msgstr ""
  24919. #. type: cindex
  24920. #: guix-git/doc/guix.texi:17321
  24921. #, no-wrap
  24922. msgid "ulimit"
  24923. msgstr ""
  24924. #. type: cindex
  24925. #: guix-git/doc/guix.texi:17322
  24926. #, no-wrap
  24927. msgid "priority"
  24928. msgstr "priorita"
  24929. #. type: cindex
  24930. #: guix-git/doc/guix.texi:17323
  24931. #, no-wrap
  24932. msgid "realtime"
  24933. msgstr ""
  24934. #. type: cindex
  24935. #: guix-git/doc/guix.texi:17324
  24936. #, no-wrap
  24937. msgid "jackd"
  24938. msgstr ""
  24939. #. type: cindex
  24940. #: guix-git/doc/guix.texi:17325
  24941. #, no-wrap
  24942. msgid "nofile"
  24943. msgstr ""
  24944. #. type: cindex
  24945. #: guix-git/doc/guix.texi:17326
  24946. #, no-wrap
  24947. msgid "open file descriptors"
  24948. msgstr ""
  24949. #. type: deffn
  24950. #: guix-git/doc/guix.texi:17327
  24951. #, no-wrap
  24952. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24953. msgstr ""
  24954. #. type: deffn
  24955. #: guix-git/doc/guix.texi:17334
  24956. msgid "Return a service that installs a configuration file for the @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, @code{pam_limits} module}. The procedure optionally takes a list of @code{pam-limits-entry} values, which can be used to specify @code{ulimit} limits and @code{nice} priority limits to user sessions."
  24957. msgstr ""
  24958. #. type: deffn
  24959. #: guix-git/doc/guix.texi:17337
  24960. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24961. msgstr ""
  24962. #. type: lisp
  24963. #: guix-git/doc/guix.texi:17343
  24964. #, no-wrap
  24965. msgid ""
  24966. "(pam-limits-service\n"
  24967. " (list\n"
  24968. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24969. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24970. msgstr ""
  24971. #. type: deffn
  24972. #: guix-git/doc/guix.texi:17349
  24973. msgid "The first entry increases the maximum realtime priority for non-privileged processes; the second entry lifts any restriction of the maximum address space that can be locked in memory. These settings are commonly used for real-time audio systems."
  24974. msgstr ""
  24975. #. type: deffn
  24976. #: guix-git/doc/guix.texi:17352
  24977. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24978. msgstr ""
  24979. #. type: lisp
  24980. #: guix-git/doc/guix.texi:17357
  24981. #, no-wrap
  24982. msgid ""
  24983. "(pam-limits-service\n"
  24984. " (list\n"
  24985. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24986. msgstr ""
  24987. #. type: deffn
  24988. #: guix-git/doc/guix.texi:17365
  24989. msgid "In the above example, the asterisk means the limit should apply to any user. It is important to ensure the chosen value doesn't exceed the maximum system value visible in the @file{/proc/sys/fs/file-max} file, else the users would be prevented from login in. For more information about the Pluggable Authentication Module (PAM) limits, refer to the @samp{pam_limits} man page from the @code{linux-pam} package."
  24990. msgstr ""
  24991. #. type: cindex
  24992. #: guix-git/doc/guix.texi:17370 guix-git/doc/guix.texi:38012
  24993. #, no-wrap
  24994. msgid "cron"
  24995. msgstr ""
  24996. #. type: cindex
  24997. #: guix-git/doc/guix.texi:17371 guix-git/doc/guix.texi:38013
  24998. #, no-wrap
  24999. msgid "mcron"
  25000. msgstr ""
  25001. #. type: cindex
  25002. #: guix-git/doc/guix.texi:17372 guix-git/doc/guix.texi:38014
  25003. #, no-wrap
  25004. msgid "scheduling jobs"
  25005. msgstr ""
  25006. #. type: Plain text
  25007. #: guix-git/doc/guix.texi:17379
  25008. msgid "The @code{(gnu services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix @command{cron} daemon; the main difference is that it is implemented in Guile Scheme, which provides a lot of flexibility when specifying the scheduling of jobs and their actions."
  25009. msgstr ""
  25010. #. type: Plain text
  25011. #: guix-git/doc/guix.texi:17387
  25012. msgid "The example below defines an operating system that runs the @command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and the @command{guix gc} commands (@pxref{Invoking guix gc}) daily, as well as the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce job definitions that are passed to mcron (@pxref{G-Expressions})."
  25013. msgstr ""
  25014. #. type: lisp
  25015. #: guix-git/doc/guix.texi:17391
  25016. #, no-wrap
  25017. msgid ""
  25018. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  25019. "(use-package-modules base idutils)\n"
  25020. "\n"
  25021. msgstr ""
  25022. #. type: lisp
  25023. #: guix-git/doc/guix.texi:17401
  25024. #, no-wrap
  25025. msgid ""
  25026. "(define updatedb-job\n"
  25027. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  25028. " ;; job's action as a Scheme procedure.\n"
  25029. " #~(job '(next-hour '(3))\n"
  25030. " (lambda ()\n"
  25031. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  25032. " \"updatedb\"\n"
  25033. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  25034. " \"updatedb\"))\n"
  25035. "\n"
  25036. msgstr ""
  25037. #. type: lisp
  25038. #: guix-git/doc/guix.texi:17407
  25039. #, no-wrap
  25040. msgid ""
  25041. "(define garbage-collector-job\n"
  25042. " ;; Collect garbage 5 minutes after midnight every day.\n"
  25043. " ;; The job's action is a shell command.\n"
  25044. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  25045. " \"guix gc -F 1G\"))\n"
  25046. "\n"
  25047. msgstr ""
  25048. #. type: lisp
  25049. #: guix-git/doc/guix.texi:17414
  25050. #, no-wrap
  25051. msgid ""
  25052. "(define idutils-job\n"
  25053. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  25054. " ;; and 19:15PM. This runs from the user's home directory.\n"
  25055. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  25056. " (string-append #$idutils \"/bin/mkid src\")\n"
  25057. " #:user \"charlie\"))\n"
  25058. "\n"
  25059. msgstr ""
  25060. #. type: lisp
  25061. #: guix-git/doc/guix.texi:17417
  25062. #, no-wrap
  25063. msgid ""
  25064. "(operating-system\n"
  25065. " ;; @dots{}\n"
  25066. "\n"
  25067. msgstr ""
  25068. #. type: lisp
  25069. #: guix-git/doc/guix.texi:17427
  25070. #, no-wrap
  25071. msgid ""
  25072. " ;; %BASE-SERVICES already includes an instance of\n"
  25073. " ;; 'mcron-service-type', which we extend with additional\n"
  25074. " ;; jobs using 'simple-service'.\n"
  25075. " (services (cons (simple-service 'my-cron-jobs\n"
  25076. " mcron-service-type\n"
  25077. " (list garbage-collector-job\n"
  25078. " updatedb-job\n"
  25079. " idutils-job))\n"
  25080. " %base-services)))\n"
  25081. msgstr ""
  25082. #. type: quotation
  25083. #: guix-git/doc/guix.texi:17429
  25084. #, no-wrap
  25085. msgid "Tip"
  25086. msgstr "Rada"
  25087. #. type: quotation
  25088. #: guix-git/doc/guix.texi:17435
  25089. msgid "When providing the action of a job specification as a procedure, you should provide an explicit name for the job via the optional 3rd argument as done in the @code{updatedb-job} example above. Otherwise, the job would appear as ``Lambda function'' in the output of @command{herd schedule mcron}, which is not nearly descriptive enough!"
  25090. msgstr ""
  25091. #. type: Plain text
  25092. #: guix-git/doc/guix.texi:17442
  25093. msgid "For more complex jobs defined in Scheme where you need control over the top level, for instance to introduce a @code{use-modules} form, you can move your code to a separate program using the @code{program-file} procedure of the @code{(guix gexp)} module (@pxref{G-Expressions}). The example below illustrates that."
  25094. msgstr ""
  25095. #. type: lisp
  25096. #: guix-git/doc/guix.texi:17458
  25097. #, no-wrap
  25098. msgid ""
  25099. "(define %battery-alert-job\n"
  25100. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  25101. " #~(job\n"
  25102. " '(next-minute (range 0 60 1))\n"
  25103. " #$(program-file\n"
  25104. " \"battery-alert.scm\"\n"
  25105. " (with-imported-modules (source-module-closure\n"
  25106. " '((guix build utils)))\n"
  25107. " #~(begin\n"
  25108. " (use-modules (guix build utils)\n"
  25109. " (ice-9 popen)\n"
  25110. " (ice-9 regex)\n"
  25111. " (ice-9 textual-ports)\n"
  25112. " (srfi srfi-2))\n"
  25113. "\n"
  25114. msgstr ""
  25115. #. type: lisp
  25116. #: guix-git/doc/guix.texi:17460
  25117. #, no-wrap
  25118. msgid ""
  25119. " (define %min-level 20)\n"
  25120. "\n"
  25121. msgstr ""
  25122. #. type: lisp
  25123. #: guix-git/doc/guix.texi:17471
  25124. #, no-wrap
  25125. msgid ""
  25126. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  25127. " (and-let* ((input-pipe (open-pipe*\n"
  25128. " OPEN_READ\n"
  25129. " #$(file-append acpi \"/bin/acpi\")))\n"
  25130. " (output (get-string-all input-pipe))\n"
  25131. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  25132. " (level (string->number (match:substring m 1)))\n"
  25133. " ((< level %min-level)))\n"
  25134. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  25135. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  25136. msgstr ""
  25137. #. type: Plain text
  25138. #: guix-git/doc/guix.texi:17476
  25139. msgid "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for more information on mcron job specifications. Below is the reference of the mcron service."
  25140. msgstr ""
  25141. #. type: Plain text
  25142. #: guix-git/doc/guix.texi:17479
  25143. msgid "On a running system, you can use the @code{schedule} action of the service to visualize the mcron jobs that will be executed next:"
  25144. msgstr ""
  25145. #. type: example
  25146. #: guix-git/doc/guix.texi:17482
  25147. #, no-wrap
  25148. msgid "# herd schedule mcron\n"
  25149. msgstr ""
  25150. #. type: Plain text
  25151. #: guix-git/doc/guix.texi:17487
  25152. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  25153. msgstr ""
  25154. #. type: example
  25155. #: guix-git/doc/guix.texi:17490
  25156. #, no-wrap
  25157. msgid "# herd schedule mcron 10\n"
  25158. msgstr ""
  25159. #. type: defvr
  25160. #: guix-git/doc/guix.texi:17492
  25161. #, no-wrap
  25162. msgid "{Scheme Variable} mcron-service-type"
  25163. msgstr ""
  25164. #. type: defvr
  25165. #: guix-git/doc/guix.texi:17495
  25166. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  25167. msgstr ""
  25168. #. type: defvr
  25169. #: guix-git/doc/guix.texi:17500 guix-git/doc/guix.texi:38033
  25170. msgid "This service type can be the target of a service extension that provides additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  25171. msgstr ""
  25172. #. type: deftp
  25173. #: guix-git/doc/guix.texi:17502
  25174. #, no-wrap
  25175. msgid "{Data Type} mcron-configuration"
  25176. msgstr ""
  25177. #. type: deftp
  25178. #: guix-git/doc/guix.texi:17504 guix-git/doc/guix.texi:38037
  25179. msgid "Data type representing the configuration of mcron."
  25180. msgstr ""
  25181. #. type: item
  25182. #: guix-git/doc/guix.texi:17506 guix-git/doc/guix.texi:38039
  25183. #, no-wrap
  25184. msgid "@code{mcron} (default: @var{mcron})"
  25185. msgstr ""
  25186. #. type: table
  25187. #: guix-git/doc/guix.texi:17508 guix-git/doc/guix.texi:38041
  25188. msgid "The mcron package to use."
  25189. msgstr ""
  25190. #. type: code{#1}
  25191. #: guix-git/doc/guix.texi:17509 guix-git/doc/guix.texi:17578
  25192. #: guix-git/doc/guix.texi:38042
  25193. #, no-wrap
  25194. msgid "jobs"
  25195. msgstr ""
  25196. #. type: table
  25197. #: guix-git/doc/guix.texi:17513 guix-git/doc/guix.texi:38046
  25198. msgid "This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})."
  25199. msgstr ""
  25200. #. type: cindex
  25201. #: guix-git/doc/guix.texi:17520
  25202. #, no-wrap
  25203. msgid "rottlog"
  25204. msgstr ""
  25205. #. type: cindex
  25206. #: guix-git/doc/guix.texi:17521
  25207. #, no-wrap
  25208. msgid "log rotation"
  25209. msgstr ""
  25210. #. type: Plain text
  25211. #: guix-git/doc/guix.texi:17528
  25212. msgid "Log files such as those found in @file{/var/log} tend to grow endlessly, so it's a good idea to @dfn{rotate} them once in a while---i.e., archive their contents in separate files, possibly compressed. The @code{(gnu services admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})."
  25213. msgstr ""
  25214. #. type: Plain text
  25215. #: guix-git/doc/guix.texi:17534
  25216. msgid "This service is part of @code{%base-services}, and thus enabled by default, with the default settings, for commonly encountered log files. The example below shows how to extend it with an additional @dfn{rotation}, should you need to do that (usually, services that produce log files already take care of that):"
  25217. msgstr ""
  25218. #. type: lisp
  25219. #: guix-git/doc/guix.texi:17538
  25220. #, no-wrap
  25221. msgid ""
  25222. "(use-modules (guix) (gnu))\n"
  25223. "(use-service-modules admin)\n"
  25224. "\n"
  25225. msgstr ""
  25226. #. type: lisp
  25227. #: guix-git/doc/guix.texi:17542
  25228. #, no-wrap
  25229. msgid ""
  25230. "(define my-log-files\n"
  25231. " ;; Log files that I want to rotate.\n"
  25232. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  25233. "\n"
  25234. msgstr ""
  25235. #. type: lisp
  25236. #: guix-git/doc/guix.texi:17551
  25237. #, no-wrap
  25238. msgid ""
  25239. "(operating-system\n"
  25240. " ;; @dots{}\n"
  25241. " (services (cons (simple-service 'rotate-my-stuff\n"
  25242. " rottlog-service-type\n"
  25243. " (list (log-rotation\n"
  25244. " (frequency 'daily)\n"
  25245. " (files my-log-files))))\n"
  25246. " %base-services)))\n"
  25247. msgstr ""
  25248. #. type: defvr
  25249. #: guix-git/doc/guix.texi:17553
  25250. #, no-wrap
  25251. msgid "{Scheme Variable} rottlog-service-type"
  25252. msgstr ""
  25253. #. type: defvr
  25254. #: guix-git/doc/guix.texi:17556
  25255. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  25256. msgstr ""
  25257. #. type: defvr
  25258. #: guix-git/doc/guix.texi:17559
  25259. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  25260. msgstr ""
  25261. #. type: defvr
  25262. #: guix-git/doc/guix.texi:17562
  25263. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  25264. msgstr ""
  25265. #. type: deftp
  25266. #: guix-git/doc/guix.texi:17564
  25267. #, no-wrap
  25268. msgid "{Data Type} rottlog-configuration"
  25269. msgstr ""
  25270. #. type: deftp
  25271. #: guix-git/doc/guix.texi:17566
  25272. msgid "Data type representing the configuration of rottlog."
  25273. msgstr ""
  25274. #. type: item
  25275. #: guix-git/doc/guix.texi:17568
  25276. #, no-wrap
  25277. msgid "@code{rottlog} (default: @code{rottlog})"
  25278. msgstr ""
  25279. #. type: table
  25280. #: guix-git/doc/guix.texi:17570
  25281. msgid "The Rottlog package to use."
  25282. msgstr ""
  25283. #. type: item
  25284. #: guix-git/doc/guix.texi:17571
  25285. #, no-wrap
  25286. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  25287. msgstr ""
  25288. #. type: table
  25289. #: guix-git/doc/guix.texi:17574
  25290. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  25291. msgstr ""
  25292. #. type: item
  25293. #: guix-git/doc/guix.texi:17575
  25294. #, no-wrap
  25295. msgid "@code{rotations} (default: @code{%default-rotations})"
  25296. msgstr ""
  25297. #. type: table
  25298. #: guix-git/doc/guix.texi:17577
  25299. msgid "A list of @code{log-rotation} objects as defined below."
  25300. msgstr ""
  25301. #. type: table
  25302. #: guix-git/doc/guix.texi:17581
  25303. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  25304. msgstr ""
  25305. #. type: deftp
  25306. #: guix-git/doc/guix.texi:17584
  25307. #, no-wrap
  25308. msgid "{Data Type} log-rotation"
  25309. msgstr ""
  25310. #. type: deftp
  25311. #: guix-git/doc/guix.texi:17586
  25312. msgid "Data type representing the rotation of a group of log files."
  25313. msgstr ""
  25314. #. type: deftp
  25315. #: guix-git/doc/guix.texi:17590
  25316. msgid "Taking an example from the Rottlog manual (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined like this:"
  25317. msgstr ""
  25318. #. type: lisp
  25319. #: guix-git/doc/guix.texi:17599
  25320. #, no-wrap
  25321. msgid ""
  25322. "(log-rotation\n"
  25323. " (frequency 'daily)\n"
  25324. " (files '(\"/var/log/apache/*\"))\n"
  25325. " (options '(\"storedir apache-archives\"\n"
  25326. " \"rotate 6\"\n"
  25327. " \"notifempty\"\n"
  25328. " \"nocompress\")))\n"
  25329. msgstr ""
  25330. #. type: deftp
  25331. #: guix-git/doc/guix.texi:17602
  25332. msgid "The list of fields is as follows:"
  25333. msgstr ""
  25334. #. type: item
  25335. #: guix-git/doc/guix.texi:17604
  25336. #, no-wrap
  25337. msgid "@code{frequency} (default: @code{'weekly})"
  25338. msgstr ""
  25339. #. type: table
  25340. #: guix-git/doc/guix.texi:17606
  25341. msgid "The log rotation frequency, a symbol."
  25342. msgstr ""
  25343. #. type: table
  25344. #: guix-git/doc/guix.texi:17609
  25345. msgid "The list of files or file glob patterns to rotate."
  25346. msgstr ""
  25347. #. type: item
  25348. #: guix-git/doc/guix.texi:17610
  25349. #, no-wrap
  25350. msgid "@code{options} (default: @code{'()})"
  25351. msgstr ""
  25352. #. type: table
  25353. #: guix-git/doc/guix.texi:17613
  25354. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  25355. msgstr ""
  25356. #. type: item
  25357. #: guix-git/doc/guix.texi:17614
  25358. #, no-wrap
  25359. msgid "@code{post-rotate} (default: @code{#f})"
  25360. msgstr ""
  25361. #. type: table
  25362. #: guix-git/doc/guix.texi:17616
  25363. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  25364. msgstr ""
  25365. #. type: defvr
  25366. #: guix-git/doc/guix.texi:17619
  25367. #, no-wrap
  25368. msgid "{Scheme Variable} %default-rotations"
  25369. msgstr ""
  25370. #. type: defvr
  25371. #: guix-git/doc/guix.texi:17622
  25372. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  25373. msgstr ""
  25374. #. type: defvr
  25375. #: guix-git/doc/guix.texi:17624
  25376. #, no-wrap
  25377. msgid "{Scheme Variable} %rotated-files"
  25378. msgstr ""
  25379. #. type: defvr
  25380. #: guix-git/doc/guix.texi:17628
  25381. msgid "The list of syslog-controlled files to be rotated. By default it is: @code{'(\"/var/log/messages\" \"/var/log/secure\" \"/var/log/debug\" \\ \"/var/log/maillog\")}."
  25382. msgstr ""
  25383. #. type: Plain text
  25384. #: guix-git/doc/guix.texi:17641
  25385. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  25386. msgstr ""
  25387. #. type: Plain text
  25388. #: guix-git/doc/guix.texi:17647
  25389. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  25390. msgstr ""
  25391. #. type: Plain text
  25392. #: guix-git/doc/guix.texi:17650
  25393. msgid "This section describes the various network setup services available, starting with static network configuration."
  25394. msgstr ""
  25395. #. type: defvr
  25396. #: guix-git/doc/guix.texi:17651
  25397. #, no-wrap
  25398. msgid "{Scheme Variable} static-networking-service-type"
  25399. msgstr ""
  25400. #. type: defvr
  25401. #: guix-git/doc/guix.texi:17656
  25402. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as show below."
  25403. msgstr ""
  25404. #. type: cindex
  25405. #: guix-git/doc/guix.texi:17657
  25406. #, no-wrap
  25407. msgid "network interface controller (NIC)"
  25408. msgstr ""
  25409. #. type: cindex
  25410. #: guix-git/doc/guix.texi:17658
  25411. #, no-wrap
  25412. msgid "NIC, networking interface controller"
  25413. msgstr ""
  25414. #. type: defvr
  25415. #: guix-git/doc/guix.texi:17661
  25416. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  25417. msgstr ""
  25418. #. type: lisp
  25419. #: guix-git/doc/guix.texi:17675
  25420. #, no-wrap
  25421. msgid ""
  25422. ";; Static networking for one NIC, IPv4-only.\n"
  25423. "(service static-networking-service-type\n"
  25424. " (list (static-networking\n"
  25425. " (addresses\n"
  25426. " (list (network-address\n"
  25427. " (device \"eno1\")\n"
  25428. " (value \"10.0.2.15/24\"))))\n"
  25429. " (routes\n"
  25430. " (list (network-route\n"
  25431. " (destination \"default\")\n"
  25432. " (gateway \"10.0.2.2\"))))\n"
  25433. " (name-servers '(\"10.0.2.3\")))))\n"
  25434. msgstr ""
  25435. #. type: defvr
  25436. #: guix-git/doc/guix.texi:17684
  25437. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  25438. msgstr ""
  25439. #. type: deftp
  25440. #: guix-git/doc/guix.texi:17686
  25441. #, no-wrap
  25442. msgid "{Data Type} static-networking"
  25443. msgstr "{Druh údajov} static-networking"
  25444. #. type: deftp
  25445. #: guix-git/doc/guix.texi:17688
  25446. msgid "This is the data type representing a static network configuration."
  25447. msgstr ""
  25448. #. type: deftp
  25449. #: guix-git/doc/guix.texi:17692
  25450. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  25451. msgstr ""
  25452. #. type: lisp
  25453. #: guix-git/doc/guix.texi:17709
  25454. #, no-wrap
  25455. msgid ""
  25456. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  25457. "(static-networking\n"
  25458. " (addresses (list (network-address\n"
  25459. " (device \"eno1\")\n"
  25460. " (value \"10.0.2.15/24\"))\n"
  25461. " (network-address\n"
  25462. " (device \"eno1\")\n"
  25463. " (value \"2001:123:4567:101::1/64\"))))\n"
  25464. " (routes (list (network-route\n"
  25465. " (destination \"default\")\n"
  25466. " (gateway \"10.0.2.2\"))\n"
  25467. " (network-route\n"
  25468. " (destination \"default\")\n"
  25469. " (gateway \"2020:321:4567:42::1\"))))\n"
  25470. " (name-servers '(\"10.0.2.3\")))\n"
  25471. msgstr ""
  25472. #. type: deftp
  25473. #: guix-git/doc/guix.texi:17715
  25474. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  25475. msgstr ""
  25476. #. type: example
  25477. #: guix-git/doc/guix.texi:17721
  25478. #, no-wrap
  25479. msgid ""
  25480. "ip address add 10.0.2.15/24 dev eno1\n"
  25481. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  25482. "ip route add default via inet 10.0.2.2\n"
  25483. "ip route add default via inet6 2020:321:4567:42::1\n"
  25484. msgstr ""
  25485. #. type: deftp
  25486. #: guix-git/doc/guix.texi:17726
  25487. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  25488. msgstr ""
  25489. #. type: deftp
  25490. #: guix-git/doc/guix.texi:17728
  25491. msgid "The available fields of this data type are as follows:"
  25492. msgstr ""
  25493. #. type: code{#1}
  25494. #: guix-git/doc/guix.texi:17730
  25495. #, no-wrap
  25496. msgid "addresses"
  25497. msgstr "adresy"
  25498. #. type: itemx
  25499. #: guix-git/doc/guix.texi:17731
  25500. #, no-wrap
  25501. msgid "@code{links} (default: @code{'()})"
  25502. msgstr ""
  25503. #. type: itemx
  25504. #: guix-git/doc/guix.texi:17732
  25505. #, no-wrap
  25506. msgid "@code{routes} (default: @code{'()})"
  25507. msgstr ""
  25508. #. type: table
  25509. #: guix-git/doc/guix.texi:17735
  25510. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  25511. msgstr ""
  25512. #. type: item
  25513. #: guix-git/doc/guix.texi:17736
  25514. #, no-wrap
  25515. msgid "@code{name-servers} (default: @code{'()})"
  25516. msgstr ""
  25517. #. type: table
  25518. #: guix-git/doc/guix.texi:17739
  25519. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  25520. msgstr ""
  25521. #. type: item
  25522. #: guix-git/doc/guix.texi:17740
  25523. #, no-wrap
  25524. msgid "@code{provision} (default: @code{'(networking)})"
  25525. msgstr ""
  25526. #. type: table
  25527. #: guix-git/doc/guix.texi:17743
  25528. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  25529. msgstr ""
  25530. #. type: item
  25531. #: guix-git/doc/guix.texi:17744
  25532. #, no-wrap
  25533. msgid "@code{requirement} (default @code{'()})"
  25534. msgstr ""
  25535. #. type: table
  25536. #: guix-git/doc/guix.texi:17746
  25537. msgid "The list of Shepherd services depended on."
  25538. msgstr ""
  25539. #. type: deftp
  25540. #: guix-git/doc/guix.texi:17749
  25541. #, no-wrap
  25542. msgid "{Data Type} network-address"
  25543. msgstr ""
  25544. #. type: deftp
  25545. #: guix-git/doc/guix.texi:17752
  25546. msgid "This is the data type representing the IP address of a network interface."
  25547. msgstr ""
  25548. #. type: table
  25549. #: guix-git/doc/guix.texi:17757
  25550. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  25551. msgstr ""
  25552. #. type: item
  25553. #: guix-git/doc/guix.texi:17758
  25554. #, no-wrap
  25555. msgid "value"
  25556. msgstr "hodnota"
  25557. #. type: table
  25558. #: guix-git/doc/guix.texi:17762
  25559. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  25560. msgstr ""
  25561. #. type: table
  25562. #: guix-git/doc/guix.texi:17766
  25563. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  25564. msgstr ""
  25565. #. type: item
  25566. #: guix-git/doc/guix.texi:17767
  25567. #, no-wrap
  25568. msgid "ipv6?"
  25569. msgstr "ipv6?"
  25570. #. type: table
  25571. #: guix-git/doc/guix.texi:17770
  25572. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  25573. msgstr ""
  25574. #. type: deftp
  25575. #: guix-git/doc/guix.texi:17773
  25576. #, no-wrap
  25577. msgid "{Data Type} network-route"
  25578. msgstr ""
  25579. #. type: deftp
  25580. #: guix-git/doc/guix.texi:17775
  25581. msgid "This is the data type representing a network route."
  25582. msgstr ""
  25583. #. type: code{#1}
  25584. #: guix-git/doc/guix.texi:17777
  25585. #, no-wrap
  25586. msgid "destination"
  25587. msgstr "destination"
  25588. #. type: table
  25589. #: guix-git/doc/guix.texi:17780
  25590. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  25591. msgstr ""
  25592. #. type: item
  25593. #: guix-git/doc/guix.texi:17781
  25594. #, no-wrap
  25595. msgid "@code{source} (default: @code{#f})"
  25596. msgstr ""
  25597. #. type: table
  25598. #: guix-git/doc/guix.texi:17783
  25599. msgid "The route source."
  25600. msgstr ""
  25601. #. type: item
  25602. #: guix-git/doc/guix.texi:17784 guix-git/doc/guix.texi:35314
  25603. #, no-wrap
  25604. msgid "@code{device} (default: @code{#f})"
  25605. msgstr ""
  25606. #. type: table
  25607. #: guix-git/doc/guix.texi:17786
  25608. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  25609. msgstr ""
  25610. #. type: item
  25611. #: guix-git/doc/guix.texi:17787
  25612. #, no-wrap
  25613. msgid "@code{ipv6?} (default: auto)"
  25614. msgstr ""
  25615. #. type: table
  25616. #: guix-git/doc/guix.texi:17790
  25617. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  25618. msgstr ""
  25619. #. type: item
  25620. #: guix-git/doc/guix.texi:17791
  25621. #, no-wrap
  25622. msgid "@code{gateway} (default: @code{#f})"
  25623. msgstr ""
  25624. #. type: table
  25625. #: guix-git/doc/guix.texi:17793
  25626. msgid "IP address (a string) through which traffic is routed."
  25627. msgstr ""
  25628. #. type: deftp
  25629. #: guix-git/doc/guix.texi:17796
  25630. #, no-wrap
  25631. msgid "{Data Type} network-link"
  25632. msgstr "{Druh údajov} network-link"
  25633. #. type: deftp
  25634. #: guix-git/doc/guix.texi:17799
  25635. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  25636. msgstr ""
  25637. #. type: table
  25638. #: guix-git/doc/guix.texi:17803
  25639. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  25640. msgstr ""
  25641. #. type: table
  25642. #: guix-git/doc/guix.texi:17806
  25643. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  25644. msgstr ""
  25645. #. type: item
  25646. #: guix-git/doc/guix.texi:17807
  25647. #, no-wrap
  25648. msgid "arguments"
  25649. msgstr ""
  25650. #. type: table
  25651. #: guix-git/doc/guix.texi:17809
  25652. msgid "List of arguments for this type of link."
  25653. msgstr ""
  25654. #. type: cindex
  25655. #: guix-git/doc/guix.texi:17812
  25656. #, no-wrap
  25657. msgid "loopback device"
  25658. msgstr ""
  25659. #. type: defvr
  25660. #: guix-git/doc/guix.texi:17813
  25661. #, no-wrap
  25662. msgid "{Scheme Variable} %loopback-static-networking"
  25663. msgstr ""
  25664. #. type: defvr
  25665. #: guix-git/doc/guix.texi:17817
  25666. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  25667. msgstr ""
  25668. #. type: cindex
  25669. #: guix-git/doc/guix.texi:17819
  25670. #, no-wrap
  25671. msgid "networking, with QEMU"
  25672. msgstr ""
  25673. #. type: cindex
  25674. #: guix-git/doc/guix.texi:17820
  25675. #, no-wrap
  25676. msgid "QEMU, networking"
  25677. msgstr ""
  25678. #. type: defvr
  25679. #: guix-git/doc/guix.texi:17821
  25680. #, no-wrap
  25681. msgid "{Scheme Variable} %qemu-static-networking"
  25682. msgstr ""
  25683. #. type: defvr
  25684. #: guix-git/doc/guix.texi:17825
  25685. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  25686. msgstr ""
  25687. #. type: cindex
  25688. #: guix-git/doc/guix.texi:17827
  25689. #, no-wrap
  25690. msgid "DHCP, networking service"
  25691. msgstr ""
  25692. #. type: defvr
  25693. #: guix-git/doc/guix.texi:17828
  25694. #, no-wrap
  25695. msgid "{Scheme Variable} dhcp-client-service-type"
  25696. msgstr ""
  25697. #. type: defvr
  25698. #: guix-git/doc/guix.texi:17832
  25699. msgid "This is the type of services that run @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces. Its value is the DHCP client package to use, @code{isc-dhcp} by default."
  25700. msgstr ""
  25701. #. type: cindex
  25702. #: guix-git/doc/guix.texi:17834
  25703. #, no-wrap
  25704. msgid "NetworkManager"
  25705. msgstr "NetworkManager"
  25706. #. type: defvr
  25707. #: guix-git/doc/guix.texi:17836
  25708. #, no-wrap
  25709. msgid "{Scheme Variable} network-manager-service-type"
  25710. msgstr ""
  25711. #. type: defvr
  25712. #: guix-git/doc/guix.texi:17841
  25713. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} service. The value for this service type is a @code{network-manager-configuration} record."
  25714. msgstr ""
  25715. #. type: defvr
  25716. #: guix-git/doc/guix.texi:17844 guix-git/doc/guix.texi:17996
  25717. #: guix-git/doc/guix.texi:18025
  25718. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25719. msgstr ""
  25720. #. type: deftp
  25721. #: guix-git/doc/guix.texi:17846
  25722. #, no-wrap
  25723. msgid "{Data Type} network-manager-configuration"
  25724. msgstr ""
  25725. #. type: deftp
  25726. #: guix-git/doc/guix.texi:17848
  25727. msgid "Data type representing the configuration of NetworkManager."
  25728. msgstr ""
  25729. #. type: item
  25730. #: guix-git/doc/guix.texi:17850
  25731. #, no-wrap
  25732. msgid "@code{network-manager} (default: @code{network-manager})"
  25733. msgstr ""
  25734. #. type: table
  25735. #: guix-git/doc/guix.texi:17852
  25736. msgid "The NetworkManager package to use."
  25737. msgstr ""
  25738. #. type: item
  25739. #: guix-git/doc/guix.texi:17853
  25740. #, no-wrap
  25741. msgid "@code{dns} (default: @code{\"default\"})"
  25742. msgstr ""
  25743. #. type: table
  25744. #: guix-git/doc/guix.texi:17856
  25745. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25746. msgstr ""
  25747. #. type: table
  25748. #: guix-git/doc/guix.texi:17861
  25749. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25750. msgstr ""
  25751. #. type: item
  25752. #: guix-git/doc/guix.texi:17862
  25753. #, no-wrap
  25754. msgid "dnsmasq"
  25755. msgstr ""
  25756. #. type: table
  25757. #: guix-git/doc/guix.texi:17866
  25758. msgid "NetworkManager will run @code{dnsmasq} as a local caching nameserver, using a @dfn{conditional forwarding} configuration if you are connected to a VPN, and then update @code{resolv.conf} to point to the local nameserver."
  25759. msgstr ""
  25760. #. type: table
  25761. #: guix-git/doc/guix.texi:17872
  25762. msgid "With this setting, you can share your network connection. For example when you want to share your network connection to another laptop @i{via} an Ethernet cable, you can open @command{nm-connection-editor} and configure the Wired connection's method for IPv4 and IPv6 to be ``Shared to other computers'' and reestablish the connection (or reboot)."
  25763. msgstr ""
  25764. #. type: table
  25765. #: guix-git/doc/guix.texi:17879
  25766. msgid "You can also set up a @dfn{host-to-guest connection} to QEMU VMs (@pxref{Installing Guix in a VM}). With a host-to-guest connection, you can e.g.@: access a Web server running on the VM (@pxref{Web Services}) from a Web browser on your host system, or connect to the VM @i{via} SSH (@pxref{Networking Services, @code{openssh-service-type}}). To set up a host-to-guest connection, run this command once:"
  25767. msgstr ""
  25768. #. type: example
  25769. #: guix-git/doc/guix.texi:17886
  25770. #, no-wrap
  25771. msgid ""
  25772. "nmcli connection add type tun \\\n"
  25773. " connection.interface-name tap0 \\\n"
  25774. " tun.mode tap tun.owner $(id -u) \\\n"
  25775. " ipv4.method shared \\\n"
  25776. " ipv4.addresses 172.28.112.1/24\n"
  25777. msgstr ""
  25778. #. type: table
  25779. #: guix-git/doc/guix.texi:17891
  25780. msgid "Then each time you launch your QEMU VM (@pxref{Running Guix in a VM}), pass @option{-nic tap,ifname=tap0,script=no,downscript=no} to @command{qemu-system-...}."
  25781. msgstr ""
  25782. #. type: table
  25783. #: guix-git/doc/guix.texi:17894
  25784. msgid "NetworkManager will not modify @code{resolv.conf}."
  25785. msgstr ""
  25786. #. type: item
  25787. #: guix-git/doc/guix.texi:17896
  25788. #, no-wrap
  25789. msgid "@code{vpn-plugins} (default: @code{'()})"
  25790. msgstr ""
  25791. #. type: table
  25792. #: guix-git/doc/guix.texi:17900
  25793. msgid "This is the list of available plugins for virtual private networks (VPNs). An example of this is the @code{network-manager-openvpn} package, which allows NetworkManager to manage VPNs @i{via} OpenVPN."
  25794. msgstr ""
  25795. #. type: cindex
  25796. #: guix-git/doc/guix.texi:17904
  25797. #, no-wrap
  25798. msgid "Connman"
  25799. msgstr ""
  25800. #. type: deffn
  25801. #: guix-git/doc/guix.texi:17905
  25802. #, no-wrap
  25803. msgid "{Scheme Variable} connman-service-type"
  25804. msgstr ""
  25805. #. type: deffn
  25806. #: guix-git/doc/guix.texi:17908
  25807. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25808. msgstr ""
  25809. #. type: deffn
  25810. #: guix-git/doc/guix.texi:17911
  25811. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25812. msgstr ""
  25813. #. type: lisp
  25814. #: guix-git/doc/guix.texi:17916
  25815. #, no-wrap
  25816. msgid ""
  25817. "(service connman-service-type\n"
  25818. " (connman-configuration\n"
  25819. " (disable-vpn? #t)))\n"
  25820. msgstr ""
  25821. #. type: deffn
  25822. #: guix-git/doc/guix.texi:17919
  25823. msgid "See below for details about @code{connman-configuration}."
  25824. msgstr ""
  25825. #. type: deftp
  25826. #: guix-git/doc/guix.texi:17921
  25827. #, no-wrap
  25828. msgid "{Data Type} connman-configuration"
  25829. msgstr ""
  25830. #. type: deftp
  25831. #: guix-git/doc/guix.texi:17923
  25832. msgid "Data Type representing the configuration of connman."
  25833. msgstr ""
  25834. #. type: item
  25835. #: guix-git/doc/guix.texi:17925
  25836. #, no-wrap
  25837. msgid "@code{connman} (default: @var{connman})"
  25838. msgstr ""
  25839. #. type: table
  25840. #: guix-git/doc/guix.texi:17927
  25841. msgid "The connman package to use."
  25842. msgstr ""
  25843. #. type: item
  25844. #: guix-git/doc/guix.texi:17928
  25845. #, no-wrap
  25846. msgid "@code{disable-vpn?} (default: @code{#f})"
  25847. msgstr ""
  25848. #. type: table
  25849. #: guix-git/doc/guix.texi:17930
  25850. msgid "When true, disable connman's vpn plugin."
  25851. msgstr ""
  25852. #. type: cindex
  25853. #: guix-git/doc/guix.texi:17933
  25854. #, no-wrap
  25855. msgid "WPA Supplicant"
  25856. msgstr ""
  25857. #. type: defvr
  25858. #: guix-git/doc/guix.texi:17934
  25859. #, no-wrap
  25860. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25861. msgstr ""
  25862. #. type: defvr
  25863. #: guix-git/doc/guix.texi:17938
  25864. msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks."
  25865. msgstr ""
  25866. #. type: deftp
  25867. #: guix-git/doc/guix.texi:17940
  25868. #, no-wrap
  25869. msgid "{Data Type} wpa-supplicant-configuration"
  25870. msgstr ""
  25871. #. type: deftp
  25872. #: guix-git/doc/guix.texi:17942
  25873. msgid "Data type representing the configuration of WPA Supplicant."
  25874. msgstr ""
  25875. #. type: deftp
  25876. #: guix-git/doc/guix.texi:17944 guix-git/doc/guix.texi:33410
  25877. msgid "It takes the following parameters:"
  25878. msgstr ""
  25879. #. type: item
  25880. #: guix-git/doc/guix.texi:17946
  25881. #, no-wrap
  25882. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25883. msgstr ""
  25884. #. type: table
  25885. #: guix-git/doc/guix.texi:17948
  25886. msgid "The WPA Supplicant package to use."
  25887. msgstr ""
  25888. #. type: item
  25889. #: guix-git/doc/guix.texi:17949
  25890. #, no-wrap
  25891. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25892. msgstr ""
  25893. #. type: table
  25894. #: guix-git/doc/guix.texi:17951
  25895. msgid "List of services that should be started before WPA Supplicant starts."
  25896. msgstr ""
  25897. #. type: item
  25898. #: guix-git/doc/guix.texi:17952
  25899. #, no-wrap
  25900. msgid "@code{dbus?} (default: @code{#t})"
  25901. msgstr ""
  25902. #. type: table
  25903. #: guix-git/doc/guix.texi:17954
  25904. msgid "Whether to listen for requests on D-Bus."
  25905. msgstr ""
  25906. #. type: item
  25907. #: guix-git/doc/guix.texi:17955
  25908. #, no-wrap
  25909. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25910. msgstr ""
  25911. #. type: table
  25912. #: guix-git/doc/guix.texi:17957
  25913. msgid "Where to store the PID file."
  25914. msgstr ""
  25915. #. type: item
  25916. #: guix-git/doc/guix.texi:17958 guix-git/doc/guix.texi:31711
  25917. #: guix-git/doc/guix.texi:31853
  25918. #, no-wrap
  25919. msgid "@code{interface} (default: @code{#f})"
  25920. msgstr ""
  25921. #. type: table
  25922. #: guix-git/doc/guix.texi:17961
  25923. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25924. msgstr ""
  25925. #. type: item
  25926. #: guix-git/doc/guix.texi:17962 guix-git/doc/guix.texi:18078
  25927. #: guix-git/doc/guix.texi:23399
  25928. #, no-wrap
  25929. msgid "@code{config-file} (default: @code{#f})"
  25930. msgstr ""
  25931. #. type: table
  25932. #: guix-git/doc/guix.texi:17964
  25933. msgid "Optional configuration file to use."
  25934. msgstr ""
  25935. #. type: table
  25936. #: guix-git/doc/guix.texi:17967
  25937. msgid "List of additional command-line arguments to pass to the daemon."
  25938. msgstr ""
  25939. #. type: cindex
  25940. #: guix-git/doc/guix.texi:17970
  25941. #, no-wrap
  25942. msgid "wicd"
  25943. msgstr ""
  25944. #. type: cindex
  25945. #: guix-git/doc/guix.texi:17973
  25946. #, no-wrap
  25947. msgid "network management"
  25948. msgstr ""
  25949. #. type: deffn
  25950. #: guix-git/doc/guix.texi:17974
  25951. #, no-wrap
  25952. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25953. msgstr ""
  25954. #. type: deffn
  25955. #: guix-git/doc/guix.texi:17977
  25956. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25957. msgstr ""
  25958. #. type: deffn
  25959. #: guix-git/doc/guix.texi:17982
  25960. msgid "This service adds the @var{wicd} package to the global profile, providing several commands to interact with the daemon and configure networking: @command{wicd-client}, a graphical user interface, and the @command{wicd-cli} and @command{wicd-curses} user interfaces."
  25961. msgstr ""
  25962. #. type: cindex
  25963. #: guix-git/doc/guix.texi:17984
  25964. #, no-wrap
  25965. msgid "ModemManager"
  25966. msgstr ""
  25967. #. type: Plain text
  25968. #: guix-git/doc/guix.texi:17987
  25969. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25970. msgstr ""
  25971. #. type: defvr
  25972. #: guix-git/doc/guix.texi:17988
  25973. #, no-wrap
  25974. msgid "{Scheme Variable} modem-manager-service-type"
  25975. msgstr ""
  25976. #. type: defvr
  25977. #: guix-git/doc/guix.texi:17993
  25978. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager} service. The value for this service type is a @code{modem-manager-configuration} record."
  25979. msgstr ""
  25980. #. type: deftp
  25981. #: guix-git/doc/guix.texi:17998
  25982. #, no-wrap
  25983. msgid "{Data Type} modem-manager-configuration"
  25984. msgstr ""
  25985. #. type: deftp
  25986. #: guix-git/doc/guix.texi:18000
  25987. msgid "Data type representing the configuration of ModemManager."
  25988. msgstr ""
  25989. #. type: item
  25990. #: guix-git/doc/guix.texi:18002
  25991. #, no-wrap
  25992. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25993. msgstr ""
  25994. #. type: table
  25995. #: guix-git/doc/guix.texi:18004
  25996. msgid "The ModemManager package to use."
  25997. msgstr ""
  25998. #. type: cindex
  25999. #: guix-git/doc/guix.texi:18008
  26000. #, no-wrap
  26001. msgid "USB_ModeSwitch"
  26002. msgstr ""
  26003. #. type: cindex
  26004. #: guix-git/doc/guix.texi:18009
  26005. #, no-wrap
  26006. msgid "Modeswitching"
  26007. msgstr ""
  26008. #. type: defvr
  26009. #: guix-git/doc/guix.texi:18011
  26010. #, no-wrap
  26011. msgid "{Scheme Variable} usb-modeswitch-service-type"
  26012. msgstr ""
  26013. #. type: defvr
  26014. #: guix-git/doc/guix.texi:18016
  26015. msgid "This is the service type for the @uref{https://www.draisberghof.de/usb_modeswitch/, USB_ModeSwitch} service. The value for this service type is a @code{usb-modeswitch-configuration} record."
  26016. msgstr ""
  26017. #. type: defvr
  26018. #: guix-git/doc/guix.texi:18022
  26019. msgid "When plugged in, some USB modems (and other USB devices) initially present themselves as a read-only storage medium and not as a modem. They need to be @dfn{modeswitched} before they are usable. The USB_ModeSwitch service type installs udev rules to automatically modeswitch these devices when they are plugged in."
  26020. msgstr ""
  26021. #. type: deftp
  26022. #: guix-git/doc/guix.texi:18027
  26023. #, no-wrap
  26024. msgid "{Data Type} usb-modeswitch-configuration"
  26025. msgstr ""
  26026. #. type: deftp
  26027. #: guix-git/doc/guix.texi:18029
  26028. msgid "Data type representing the configuration of USB_ModeSwitch."
  26029. msgstr ""
  26030. #. type: item
  26031. #: guix-git/doc/guix.texi:18031
  26032. #, no-wrap
  26033. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  26034. msgstr ""
  26035. #. type: table
  26036. #: guix-git/doc/guix.texi:18033
  26037. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  26038. msgstr ""
  26039. #. type: item
  26040. #: guix-git/doc/guix.texi:18034
  26041. #, no-wrap
  26042. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  26043. msgstr ""
  26044. #. type: table
  26045. #: guix-git/doc/guix.texi:18037
  26046. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  26047. msgstr ""
  26048. #. type: item
  26049. #: guix-git/doc/guix.texi:18038
  26050. #, no-wrap
  26051. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  26052. msgstr ""
  26053. #. type: table
  26054. #: guix-git/doc/guix.texi:18043
  26055. msgid "Which config file to use for the USB_ModeSwitch dispatcher. By default the config file shipped with USB_ModeSwitch is used which disables logging to @file{/var/log} among other default settings. If set to @code{#f}, no config file is used."
  26056. msgstr ""
  26057. #. type: Plain text
  26058. #: guix-git/doc/guix.texi:18057
  26059. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  26060. msgstr ""
  26061. #. type: deffn
  26062. #: guix-git/doc/guix.texi:18058
  26063. #, no-wrap
  26064. msgid "{Scheme Procedure} dhcpd-service-type"
  26065. msgstr ""
  26066. #. type: deffn
  26067. #: guix-git/doc/guix.texi:18062
  26068. msgid "This type defines a service that runs a DHCP daemon. To create a service of this type, you must supply a @code{<dhcpd-configuration>}. For example:"
  26069. msgstr ""
  26070. #. type: lisp
  26071. #: guix-git/doc/guix.texi:18068
  26072. #, no-wrap
  26073. msgid ""
  26074. "(service dhcpd-service-type\n"
  26075. " (dhcpd-configuration\n"
  26076. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  26077. " (interfaces '(\"enp0s25\"))))\n"
  26078. msgstr ""
  26079. #. type: deftp
  26080. #: guix-git/doc/guix.texi:18071
  26081. #, no-wrap
  26082. msgid "{Data Type} dhcpd-configuration"
  26083. msgstr ""
  26084. #. type: item
  26085. #: guix-git/doc/guix.texi:18073
  26086. #, no-wrap
  26087. msgid "@code{package} (default: @code{isc-dhcp})"
  26088. msgstr ""
  26089. #. type: table
  26090. #: guix-git/doc/guix.texi:18078
  26091. msgid "The package that provides the DHCP daemon. This package is expected to provide the daemon at @file{sbin/dhcpd} relative to its output directory. The default package is the @uref{https://www.isc.org/products/DHCP, ISC's DHCP server}."
  26092. msgstr ""
  26093. #. type: table
  26094. #: guix-git/doc/guix.texi:18083
  26095. msgid "The configuration file to use. This is required. It will be passed to @code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man dhcpd.conf} for details on the configuration file syntax."
  26096. msgstr ""
  26097. #. type: item
  26098. #: guix-git/doc/guix.texi:18083
  26099. #, no-wrap
  26100. msgid "@code{version} (default: @code{\"4\"})"
  26101. msgstr ""
  26102. #. type: table
  26103. #: guix-git/doc/guix.texi:18088
  26104. msgid "The DHCP version to use. The ISC DHCP server supports the values ``4'', ``6'', and ``4o6''. These correspond to the @code{dhcpd} program options @code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details."
  26105. msgstr ""
  26106. #. type: item
  26107. #: guix-git/doc/guix.texi:18088
  26108. #, no-wrap
  26109. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  26110. msgstr ""
  26111. #. type: table
  26112. #: guix-git/doc/guix.texi:18091
  26113. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  26114. msgstr ""
  26115. #. type: item
  26116. #: guix-git/doc/guix.texi:18091
  26117. #, no-wrap
  26118. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  26119. msgstr ""
  26120. #. type: table
  26121. #: guix-git/doc/guix.texi:18094
  26122. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  26123. msgstr ""
  26124. #. type: item
  26125. #: guix-git/doc/guix.texi:18094
  26126. #, no-wrap
  26127. msgid "@code{interfaces} (default: @code{'()})"
  26128. msgstr ""
  26129. #. type: table
  26130. #: guix-git/doc/guix.texi:18100
  26131. msgid "The names of the network interfaces on which dhcpd should listen for broadcasts. If this list is not empty, then its elements (which must be strings) will be appended to the @code{dhcpd} invocation when starting the daemon. It may not be necessary to explicitly specify any interfaces here; see @code{man dhcpd} for details."
  26132. msgstr ""
  26133. #. type: cindex
  26134. #: guix-git/doc/guix.texi:18103
  26135. #, no-wrap
  26136. msgid "hostapd service, for Wi-Fi access points"
  26137. msgstr ""
  26138. #. type: cindex
  26139. #: guix-git/doc/guix.texi:18104
  26140. #, no-wrap
  26141. msgid "Wi-Fi access points, hostapd service"
  26142. msgstr ""
  26143. #. type: defvr
  26144. #: guix-git/doc/guix.texi:18105
  26145. #, no-wrap
  26146. msgid "{Scheme Variable} hostapd-service-type"
  26147. msgstr ""
  26148. #. type: defvr
  26149. #: guix-git/doc/guix.texi:18110
  26150. msgid "This is the service type to run the @uref{https://w1.fi/hostapd/, hostapd} daemon to set up WiFi (IEEE 802.11) access points and authentication servers. Its associated value must be a @code{hostapd-configuration} as shown below:"
  26151. msgstr ""
  26152. #. type: lisp
  26153. #: guix-git/doc/guix.texi:18118
  26154. #, no-wrap
  26155. msgid ""
  26156. ";; Use wlan1 to run the access point for \"My Network\".\n"
  26157. "(service hostapd-service-type\n"
  26158. " (hostapd-configuration\n"
  26159. " (interface \"wlan1\")\n"
  26160. " (ssid \"My Network\")\n"
  26161. " (channel 12)))\n"
  26162. msgstr ""
  26163. #. type: deftp
  26164. #: guix-git/doc/guix.texi:18121
  26165. #, no-wrap
  26166. msgid "{Data Type} hostapd-configuration"
  26167. msgstr ""
  26168. #. type: deftp
  26169. #: guix-git/doc/guix.texi:18124
  26170. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  26171. msgstr ""
  26172. #. type: item
  26173. #: guix-git/doc/guix.texi:18126
  26174. #, no-wrap
  26175. msgid "@code{package} (default: @code{hostapd})"
  26176. msgstr ""
  26177. #. type: table
  26178. #: guix-git/doc/guix.texi:18128
  26179. msgid "The hostapd package to use."
  26180. msgstr ""
  26181. #. type: item
  26182. #: guix-git/doc/guix.texi:18129
  26183. #, no-wrap
  26184. msgid "@code{interface} (default: @code{\"wlan0\"})"
  26185. msgstr ""
  26186. #. type: table
  26187. #: guix-git/doc/guix.texi:18131
  26188. msgid "The network interface to run the WiFi access point."
  26189. msgstr ""
  26190. #. type: code{#1}
  26191. #: guix-git/doc/guix.texi:18132
  26192. #, no-wrap
  26193. msgid "ssid"
  26194. msgstr ""
  26195. #. type: table
  26196. #: guix-git/doc/guix.texi:18135
  26197. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  26198. msgstr ""
  26199. #. type: item
  26200. #: guix-git/doc/guix.texi:18136
  26201. #, no-wrap
  26202. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  26203. msgstr ""
  26204. #. type: table
  26205. #: guix-git/doc/guix.texi:18138
  26206. msgid "Whether to broadcast this SSID."
  26207. msgstr ""
  26208. #. type: item
  26209. #: guix-git/doc/guix.texi:18139
  26210. #, no-wrap
  26211. msgid "@code{channel} (default: @code{1})"
  26212. msgstr ""
  26213. #. type: table
  26214. #: guix-git/doc/guix.texi:18141
  26215. msgid "The WiFi channel to use."
  26216. msgstr ""
  26217. #. type: item
  26218. #: guix-git/doc/guix.texi:18142
  26219. #, no-wrap
  26220. msgid "@code{driver} (default: @code{\"nl80211\"})"
  26221. msgstr ""
  26222. #. type: table
  26223. #: guix-git/doc/guix.texi:18146
  26224. msgid "The driver interface type. @code{\"nl80211\"} is used with all Linux mac80211 drivers. Use @code{\"none\"} if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver."
  26225. msgstr ""
  26226. #. type: item
  26227. #: guix-git/doc/guix.texi:18147 guix-git/doc/guix.texi:24248
  26228. #: guix-git/doc/guix.texi:27238
  26229. #, no-wrap
  26230. msgid "@code{extra-settings} (default: @code{\"\"})"
  26231. msgstr ""
  26232. #. type: table
  26233. #: guix-git/doc/guix.texi:18151
  26234. msgid "Extra settings to append as-is to the hostapd configuration file. See @uref{https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf} for the configuration file reference."
  26235. msgstr ""
  26236. #. type: defvr
  26237. #: guix-git/doc/guix.texi:18154
  26238. #, no-wrap
  26239. msgid "{Scheme Variable} simulated-wifi-service-type"
  26240. msgstr ""
  26241. #. type: defvr
  26242. #: guix-git/doc/guix.texi:18161
  26243. msgid "This is the type of a service to simulate WiFi networking, which can be useful in virtual machines for testing purposes. The service loads the Linux kernel @uref{https://www.kernel.org/doc/html/latest/networking/mac80211_hwsim/mac80211_hwsim.html, @code{mac80211_hwsim} module} and starts hostapd to create a pseudo WiFi network that can be seen on @code{wlan0}, by default."
  26244. msgstr ""
  26245. #. type: defvr
  26246. #: guix-git/doc/guix.texi:18163
  26247. msgid "The service's value is a @code{hostapd-configuration} record."
  26248. msgstr ""
  26249. #. type: cindex
  26250. #: guix-git/doc/guix.texi:18166
  26251. #, no-wrap
  26252. msgid "iptables"
  26253. msgstr ""
  26254. #. type: defvr
  26255. #: guix-git/doc/guix.texi:18167
  26256. #, no-wrap
  26257. msgid "{Scheme Variable} iptables-service-type"
  26258. msgstr ""
  26259. #. type: defvr
  26260. #: guix-git/doc/guix.texi:18173
  26261. msgid "This is the service type to set up an iptables configuration. iptables is a packet filtering framework supported by the Linux kernel. This service supports configuring iptables for both IPv4 and IPv6. A simple example configuration rejecting all incoming connections except those to the ssh port 22 is shown below."
  26262. msgstr ""
  26263. #. type: lisp
  26264. #: guix-git/doc/guix.texi:18195
  26265. #, no-wrap
  26266. msgid ""
  26267. "(service iptables-service-type\n"
  26268. " (iptables-configuration\n"
  26269. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  26270. ":INPUT ACCEPT\n"
  26271. ":FORWARD ACCEPT\n"
  26272. ":OUTPUT ACCEPT\n"
  26273. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26274. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26275. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  26276. "COMMIT\n"
  26277. "\"))\n"
  26278. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  26279. ":INPUT ACCEPT\n"
  26280. ":FORWARD ACCEPT\n"
  26281. ":OUTPUT ACCEPT\n"
  26282. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26283. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26284. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  26285. "COMMIT\n"
  26286. "\"))))\n"
  26287. msgstr ""
  26288. #. type: deftp
  26289. #: guix-git/doc/guix.texi:18198
  26290. #, no-wrap
  26291. msgid "{Data Type} iptables-configuration"
  26292. msgstr ""
  26293. #. type: deftp
  26294. #: guix-git/doc/guix.texi:18200
  26295. msgid "The data type representing the configuration of iptables."
  26296. msgstr ""
  26297. #. type: item
  26298. #: guix-git/doc/guix.texi:18202
  26299. #, no-wrap
  26300. msgid "@code{iptables} (default: @code{iptables})"
  26301. msgstr ""
  26302. #. type: table
  26303. #: guix-git/doc/guix.texi:18205
  26304. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  26305. msgstr ""
  26306. #. type: item
  26307. #: guix-git/doc/guix.texi:18205
  26308. #, no-wrap
  26309. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  26310. msgstr ""
  26311. #. type: table
  26312. #: guix-git/doc/guix.texi:18209
  26313. msgid "The iptables rules to use. It will be passed to @code{iptables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26314. msgstr ""
  26315. #. type: item
  26316. #: guix-git/doc/guix.texi:18209
  26317. #, no-wrap
  26318. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  26319. msgstr ""
  26320. #. type: table
  26321. #: guix-git/doc/guix.texi:18213
  26322. msgid "The ip6tables rules to use. It will be passed to @code{ip6tables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26323. msgstr ""
  26324. #. type: cindex
  26325. #: guix-git/doc/guix.texi:18216
  26326. #, no-wrap
  26327. msgid "nftables"
  26328. msgstr ""
  26329. #. type: defvr
  26330. #: guix-git/doc/guix.texi:18217
  26331. #, no-wrap
  26332. msgid "{Scheme Variable} nftables-service-type"
  26333. msgstr ""
  26334. #. type: defvr
  26335. #: guix-git/doc/guix.texi:18225
  26336. msgid "This is the service type to set up a nftables configuration. nftables is a netfilter project that aims to replace the existing iptables, ip6tables, arptables and ebtables framework. It provides a new packet filtering framework, a new user-space utility @command{nft}, and a compatibility layer for iptables. This service comes with a default ruleset @code{%default-nftables-ruleset} that rejecting all incoming connections except those to the ssh port 22. To use it, simply write:"
  26337. msgstr ""
  26338. #. type: lisp
  26339. #: guix-git/doc/guix.texi:18228
  26340. #, no-wrap
  26341. msgid "(service nftables-service-type)\n"
  26342. msgstr ""
  26343. #. type: deftp
  26344. #: guix-git/doc/guix.texi:18231
  26345. #, no-wrap
  26346. msgid "{Data Type} nftables-configuration"
  26347. msgstr ""
  26348. #. type: deftp
  26349. #: guix-git/doc/guix.texi:18233
  26350. msgid "The data type representing the configuration of nftables."
  26351. msgstr ""
  26352. #. type: item
  26353. #: guix-git/doc/guix.texi:18235
  26354. #, no-wrap
  26355. msgid "@code{package} (default: @code{nftables})"
  26356. msgstr ""
  26357. #. type: table
  26358. #: guix-git/doc/guix.texi:18237
  26359. msgid "The nftables package that provides @command{nft}."
  26360. msgstr ""
  26361. #. type: item
  26362. #: guix-git/doc/guix.texi:18237
  26363. #, no-wrap
  26364. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  26365. msgstr ""
  26366. #. type: table
  26367. #: guix-git/doc/guix.texi:18240
  26368. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26369. msgstr ""
  26370. #. type: cindex
  26371. #: guix-git/doc/guix.texi:18243
  26372. #, no-wrap
  26373. msgid "NTP (Network Time Protocol), service"
  26374. msgstr ""
  26375. #. type: cindex
  26376. #: guix-git/doc/guix.texi:18244
  26377. #, no-wrap
  26378. msgid "ntpd, service for the Network Time Protocol daemon"
  26379. msgstr ""
  26380. #. type: cindex
  26381. #: guix-git/doc/guix.texi:18245
  26382. #, no-wrap
  26383. msgid "real time clock"
  26384. msgstr ""
  26385. #. type: defvr
  26386. #: guix-git/doc/guix.texi:18246
  26387. #, no-wrap
  26388. msgid "{Scheme Variable} ntp-service-type"
  26389. msgstr ""
  26390. #. type: defvr
  26391. #: guix-git/doc/guix.texi:18250
  26392. msgid "This is the type of the service running the @uref{https://www.ntp.org, Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the system clock synchronized with that of the specified NTP servers."
  26393. msgstr ""
  26394. #. type: defvr
  26395. #: guix-git/doc/guix.texi:18253
  26396. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  26397. msgstr ""
  26398. #. type: deftp
  26399. #: guix-git/doc/guix.texi:18255
  26400. #, no-wrap
  26401. msgid "{Data Type} ntp-configuration"
  26402. msgstr ""
  26403. #. type: deftp
  26404. #: guix-git/doc/guix.texi:18257
  26405. msgid "This is the data type for the NTP service configuration."
  26406. msgstr ""
  26407. #. type: item
  26408. #: guix-git/doc/guix.texi:18259
  26409. #, no-wrap
  26410. msgid "@code{servers} (default: @code{%ntp-servers})"
  26411. msgstr ""
  26412. #. type: table
  26413. #: guix-git/doc/guix.texi:18263
  26414. msgid "This is the list of servers (@code{<ntp-server>} records) with which @command{ntpd} will be synchronized. See the @code{ntp-server} data type definition below."
  26415. msgstr ""
  26416. #. type: item
  26417. #: guix-git/doc/guix.texi:18264
  26418. #, no-wrap
  26419. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  26420. msgstr ""
  26421. #. type: table
  26422. #: guix-git/doc/guix.texi:18267
  26423. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  26424. msgstr ""
  26425. #. type: item
  26426. #: guix-git/doc/guix.texi:18268
  26427. #, no-wrap
  26428. msgid "@code{ntp} (default: @code{ntp})"
  26429. msgstr ""
  26430. #. type: table
  26431. #: guix-git/doc/guix.texi:18270
  26432. msgid "The NTP package to use."
  26433. msgstr ""
  26434. #. type: defvr
  26435. #: guix-git/doc/guix.texi:18273
  26436. #, no-wrap
  26437. msgid "{Scheme Variable} %ntp-servers"
  26438. msgstr ""
  26439. #. type: defvr
  26440. #: guix-git/doc/guix.texi:18276
  26441. msgid "List of host names used as the default NTP servers. These are servers of the @uref{https://www.ntppool.org/en/, NTP Pool Project}."
  26442. msgstr ""
  26443. #. type: deftp
  26444. #: guix-git/doc/guix.texi:18278
  26445. #, no-wrap
  26446. msgid "{Data Type} ntp-server"
  26447. msgstr ""
  26448. #. type: deftp
  26449. #: guix-git/doc/guix.texi:18280
  26450. msgid "The data type representing the configuration of a NTP server."
  26451. msgstr ""
  26452. #. type: item
  26453. #: guix-git/doc/guix.texi:18282
  26454. #, no-wrap
  26455. msgid "@code{type} (default: @code{'server})"
  26456. msgstr ""
  26457. #. type: table
  26458. #: guix-git/doc/guix.texi:18285
  26459. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  26460. msgstr ""
  26461. #. type: code{#1}
  26462. #: guix-git/doc/guix.texi:18286
  26463. #, no-wrap
  26464. msgid "address"
  26465. msgstr "adresa"
  26466. #. type: table
  26467. #: guix-git/doc/guix.texi:18288
  26468. msgid "The address of the server, as a string."
  26469. msgstr ""
  26470. #. type: code{#1}
  26471. #: guix-git/doc/guix.texi:18289 guix-git/doc/guix.texi:34325
  26472. #: guix-git/doc/guix.texi:34345
  26473. #, no-wrap
  26474. msgid "options"
  26475. msgstr "options"
  26476. #. type: table
  26477. #: guix-git/doc/guix.texi:18294
  26478. msgid "NTPD options to use with that specific server, given as a list of option names and/or of option names and values tuples. The following example define a server to use with the options @option{iburst} and @option{prefer}, as well as @option{version} 3 and a @option{maxpoll} time of 16 seconds."
  26479. msgstr ""
  26480. #. type: example
  26481. #: guix-git/doc/guix.texi:18300
  26482. #, no-wrap
  26483. msgid ""
  26484. "(ntp-server\n"
  26485. " (type 'server)\n"
  26486. " (address \"some.ntp.server.org\")\n"
  26487. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  26488. msgstr ""
  26489. #. type: cindex
  26490. #: guix-git/doc/guix.texi:18304
  26491. #, no-wrap
  26492. msgid "OpenNTPD"
  26493. msgstr ""
  26494. #. type: deffn
  26495. #: guix-git/doc/guix.texi:18305
  26496. #, no-wrap
  26497. msgid "{Scheme Procedure} openntpd-service-type"
  26498. msgstr ""
  26499. #. type: deffn
  26500. #: guix-git/doc/guix.texi:18309
  26501. msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers."
  26502. msgstr ""
  26503. #. type: lisp
  26504. #: guix-git/doc/guix.texi:18318
  26505. #, no-wrap
  26506. msgid ""
  26507. "(service\n"
  26508. " openntpd-service-type\n"
  26509. " (openntpd-configuration\n"
  26510. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  26511. " (sensor '(\"udcf0 correction 70000\"))\n"
  26512. " (constraint-from '(\"www.gnu.org\"))\n"
  26513. " (constraints-from '(\"https://www.google.com/\"))))\n"
  26514. "\n"
  26515. msgstr ""
  26516. #. type: defvr
  26517. #: guix-git/doc/guix.texi:18322
  26518. #, no-wrap
  26519. msgid "{Scheme Variable} %openntpd-servers"
  26520. msgstr ""
  26521. #. type: defvr
  26522. #: guix-git/doc/guix.texi:18325
  26523. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  26524. msgstr ""
  26525. #. type: deftp
  26526. #: guix-git/doc/guix.texi:18327
  26527. #, no-wrap
  26528. msgid "{Data Type} openntpd-configuration"
  26529. msgstr ""
  26530. #. type: item
  26531. #: guix-git/doc/guix.texi:18329
  26532. #, no-wrap
  26533. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  26534. msgstr ""
  26535. #. type: table
  26536. #: guix-git/doc/guix.texi:18331
  26537. msgid "The openntpd executable to use."
  26538. msgstr ""
  26539. #. type: item
  26540. #: guix-git/doc/guix.texi:18331
  26541. #, no-wrap
  26542. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  26543. msgstr ""
  26544. #. type: table
  26545. #: guix-git/doc/guix.texi:18333
  26546. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  26547. msgstr ""
  26548. #. type: item
  26549. #: guix-git/doc/guix.texi:18333
  26550. #, no-wrap
  26551. msgid "@code{query-from} (default: @code{'()})"
  26552. msgstr ""
  26553. #. type: table
  26554. #: guix-git/doc/guix.texi:18335
  26555. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  26556. msgstr ""
  26557. #. type: item
  26558. #: guix-git/doc/guix.texi:18335
  26559. #, no-wrap
  26560. msgid "@code{sensor} (default: @code{'()})"
  26561. msgstr ""
  26562. #. type: table
  26563. #: guix-git/doc/guix.texi:18340
  26564. msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that actually exists and ignore non-existent ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information."
  26565. msgstr ""
  26566. #. type: item
  26567. #: guix-git/doc/guix.texi:18340
  26568. #, no-wrap
  26569. msgid "@code{server} (default: @code{'()})"
  26570. msgstr ""
  26571. #. type: table
  26572. #: guix-git/doc/guix.texi:18342
  26573. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  26574. msgstr ""
  26575. #. type: item
  26576. #: guix-git/doc/guix.texi:18342
  26577. #, no-wrap
  26578. msgid "@code{servers} (default: @code{%openntp-servers})"
  26579. msgstr ""
  26580. #. type: table
  26581. #: guix-git/doc/guix.texi:18344
  26582. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  26583. msgstr ""
  26584. #. type: item
  26585. #: guix-git/doc/guix.texi:18344
  26586. #, no-wrap
  26587. msgid "@code{constraint-from} (default: @code{'()})"
  26588. msgstr ""
  26589. #. type: table
  26590. #: guix-git/doc/guix.texi:18351
  26591. msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint."
  26592. msgstr ""
  26593. #. type: item
  26594. #: guix-git/doc/guix.texi:18351
  26595. #, no-wrap
  26596. msgid "@code{constraints-from} (default: @code{'()})"
  26597. msgstr ""
  26598. #. type: table
  26599. #: guix-git/doc/guix.texi:18355
  26600. msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them."
  26601. msgstr ""
  26602. #. type: cindex
  26603. #: guix-git/doc/guix.texi:18358
  26604. #, no-wrap
  26605. msgid "inetd"
  26606. msgstr ""
  26607. #. type: deffn
  26608. #: guix-git/doc/guix.texi:18359
  26609. #, no-wrap
  26610. msgid "{Scheme variable} inetd-service-type"
  26611. msgstr ""
  26612. #. type: deffn
  26613. #: guix-git/doc/guix.texi:18364
  26614. msgid "This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}) daemon. @command{inetd} listens for connections on internet sockets, and lazily starts the specified server program when a connection is made on one of these sockets."
  26615. msgstr ""
  26616. #. type: deffn
  26617. #: guix-git/doc/guix.texi:18370
  26618. msgid "The value of this service is an @code{inetd-configuration} object. The following example configures the @command{inetd} daemon to provide the built-in @command{echo} service, as well as an smtp service which forwards smtp traffic over ssh to a server @code{smtp-server} behind a gateway @code{hostname}:"
  26619. msgstr ""
  26620. #. type: lisp
  26621. #: guix-git/doc/guix.texi:18393
  26622. #, no-wrap
  26623. msgid ""
  26624. "(service\n"
  26625. " inetd-service-type\n"
  26626. " (inetd-configuration\n"
  26627. " (entries (list\n"
  26628. " (inetd-entry\n"
  26629. " (name \"echo\")\n"
  26630. " (socket-type 'stream)\n"
  26631. " (protocol \"tcp\")\n"
  26632. " (wait? #f)\n"
  26633. " (user \"root\"))\n"
  26634. " (inetd-entry\n"
  26635. " (node \"127.0.0.1\")\n"
  26636. " (name \"smtp\")\n"
  26637. " (socket-type 'stream)\n"
  26638. " (protocol \"tcp\")\n"
  26639. " (wait? #f)\n"
  26640. " (user \"root\")\n"
  26641. " (program (file-append openssh \"/bin/ssh\"))\n"
  26642. " (arguments\n"
  26643. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  26644. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  26645. msgstr ""
  26646. #. type: deffn
  26647. #: guix-git/doc/guix.texi:18396
  26648. msgid "See below for more details about @code{inetd-configuration}."
  26649. msgstr ""
  26650. #. type: deftp
  26651. #: guix-git/doc/guix.texi:18398
  26652. #, no-wrap
  26653. msgid "{Data Type} inetd-configuration"
  26654. msgstr ""
  26655. #. type: deftp
  26656. #: guix-git/doc/guix.texi:18400
  26657. msgid "Data type representing the configuration of @command{inetd}."
  26658. msgstr ""
  26659. #. type: item
  26660. #: guix-git/doc/guix.texi:18402
  26661. #, no-wrap
  26662. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  26663. msgstr ""
  26664. #. type: table
  26665. #: guix-git/doc/guix.texi:18404
  26666. msgid "The @command{inetd} executable to use."
  26667. msgstr ""
  26668. #. type: item
  26669. #: guix-git/doc/guix.texi:18405 guix-git/doc/guix.texi:28088
  26670. #, no-wrap
  26671. msgid "@code{entries} (default: @code{'()})"
  26672. msgstr ""
  26673. #. type: table
  26674. #: guix-git/doc/guix.texi:18408
  26675. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  26676. msgstr ""
  26677. #. type: deftp
  26678. #: guix-git/doc/guix.texi:18411
  26679. #, no-wrap
  26680. msgid "{Data Type} inetd-entry"
  26681. msgstr ""
  26682. #. type: deftp
  26683. #: guix-git/doc/guix.texi:18415
  26684. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26685. msgstr ""
  26686. #. type: item
  26687. #: guix-git/doc/guix.texi:18417
  26688. #, no-wrap
  26689. msgid "@code{node} (default: @code{#f})"
  26690. msgstr ""
  26691. #. type: table
  26692. #: guix-git/doc/guix.texi:18422
  26693. msgid "Optional string, a comma-separated list of local addresses @command{inetd} should use when listening for this service. @xref{Configuration file,,, inetutils, GNU Inetutils} for a complete description of all options."
  26694. msgstr ""
  26695. #. type: table
  26696. #: guix-git/doc/guix.texi:18424
  26697. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26698. msgstr ""
  26699. #. type: code{#1}
  26700. #: guix-git/doc/guix.texi:18424
  26701. #, no-wrap
  26702. msgid "socket-type"
  26703. msgstr ""
  26704. #. type: table
  26705. #: guix-git/doc/guix.texi:18427
  26706. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26707. msgstr ""
  26708. #. type: code{#1}
  26709. #: guix-git/doc/guix.texi:18427
  26710. #, no-wrap
  26711. msgid "protocol"
  26712. msgstr "protocol"
  26713. #. type: table
  26714. #: guix-git/doc/guix.texi:18429
  26715. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26716. msgstr ""
  26717. #. type: item
  26718. #: guix-git/doc/guix.texi:18429
  26719. #, no-wrap
  26720. msgid "@code{wait?} (default: @code{#t})"
  26721. msgstr ""
  26722. #. type: table
  26723. #: guix-git/doc/guix.texi:18432
  26724. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26725. msgstr ""
  26726. #. type: table
  26727. #: guix-git/doc/guix.texi:18437
  26728. msgid "A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a suffix, separated by a colon or period, i.e.@: @code{\"user\"}, @code{\"user:group\"} or @code{\"user.group\"}."
  26729. msgstr ""
  26730. #. type: item
  26731. #: guix-git/doc/guix.texi:18437
  26732. #, no-wrap
  26733. msgid "@code{program} (default: @code{\"internal\"})"
  26734. msgstr ""
  26735. #. type: table
  26736. #: guix-git/doc/guix.texi:18440
  26737. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26738. msgstr ""
  26739. #. type: table
  26740. #: guix-git/doc/guix.texi:18445
  26741. msgid "A list strings or file-like objects, which are the server program's arguments, starting with the zeroth argument, i.e.@: the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'(\"internal\")}."
  26742. msgstr ""
  26743. #. type: deftp
  26744. #: guix-git/doc/guix.texi:18449
  26745. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26746. msgstr ""
  26747. #. type: cindex
  26748. #: guix-git/doc/guix.texi:18451
  26749. #, no-wrap
  26750. msgid "opendht, distributed hash table network service"
  26751. msgstr ""
  26752. #. type: cindex
  26753. #: guix-git/doc/guix.texi:18452
  26754. #, no-wrap
  26755. msgid "dhtproxy, for use with jami"
  26756. msgstr ""
  26757. #. type: defvr
  26758. #: guix-git/doc/guix.texi:18453
  26759. #, no-wrap
  26760. msgid "{Scheme Variable} opendht-service-type"
  26761. msgstr ""
  26762. #. type: defvr
  26763. #: guix-git/doc/guix.texi:18458
  26764. msgid "This is the type of the service running a @uref{https://opendht.net, OpenDHT} node, @command{dhtnode}. The daemon can be used to host your own proxy service to the distributed hash table (DHT), for example to connect to with Jami, among other applications."
  26765. msgstr ""
  26766. #. type: quotation
  26767. #: guix-git/doc/guix.texi:18468
  26768. msgid "When using the OpenDHT proxy server, the IP addresses it ``sees'' from the clients should be addresses reachable from other peers. In practice this means that a publicly reachable address is best suited for a proxy server, outside of your private network. For example, hosting the proxy server on a IPv4 private local network and exposing it via port forwarding could work for external peers, but peers local to the proxy would have their private addresses shared with the external peers, leading to connectivity problems."
  26769. msgstr ""
  26770. #. type: defvr
  26771. #: guix-git/doc/guix.texi:18472
  26772. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26773. msgstr ""
  26774. #. type: deftp
  26775. #: guix-git/doc/guix.texi:18474
  26776. #, no-wrap
  26777. msgid "{Data Type} opendht-configuration"
  26778. msgstr ""
  26779. #. type: deftp
  26780. #: guix-git/doc/guix.texi:18476
  26781. msgid "This is the data type for the OpenDHT service configuration."
  26782. msgstr ""
  26783. #. type: deftp
  26784. #: guix-git/doc/guix.texi:18481
  26785. msgid "Available @code{opendht-configuration} fields are:"
  26786. msgstr ""
  26787. #. type: deftypevr
  26788. #: guix-git/doc/guix.texi:18482
  26789. #, no-wrap
  26790. msgid "{@code{opendht-configuration} parameter} package opendht"
  26791. msgstr ""
  26792. #. type: deftypevr
  26793. #: guix-git/doc/guix.texi:18484
  26794. msgid "The @code{opendht} package to use."
  26795. msgstr ""
  26796. #. type: deftypevr
  26797. #: guix-git/doc/guix.texi:18487
  26798. #, no-wrap
  26799. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26800. msgstr ""
  26801. #. type: deftypevr
  26802. #: guix-git/doc/guix.texi:18489
  26803. msgid "Whether to enable the multicast local peer discovery mechanism."
  26804. msgstr ""
  26805. #. type: deftypevr
  26806. #: guix-git/doc/guix.texi:18491 guix-git/doc/guix.texi:18499
  26807. #: guix-git/doc/guix.texi:18507 guix-git/doc/guix.texi:20199
  26808. #: guix-git/doc/guix.texi:20275 guix-git/doc/guix.texi:20317
  26809. #: guix-git/doc/guix.texi:20337 guix-git/doc/guix.texi:20343
  26810. #: guix-git/doc/guix.texi:20359 guix-git/doc/guix.texi:20447
  26811. #: guix-git/doc/guix.texi:20535 guix-git/doc/guix.texi:20848
  26812. #: guix-git/doc/guix.texi:20861 guix-git/doc/guix.texi:22012
  26813. #: guix-git/doc/guix.texi:23490 guix-git/doc/guix.texi:23596
  26814. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23670
  26815. #: guix-git/doc/guix.texi:24903 guix-git/doc/guix.texi:24947
  26816. #: guix-git/doc/guix.texi:24964 guix-git/doc/guix.texi:24972
  26817. #: guix-git/doc/guix.texi:24987 guix-git/doc/guix.texi:25005
  26818. #: guix-git/doc/guix.texi:25029 guix-git/doc/guix.texi:25082
  26819. #: guix-git/doc/guix.texi:25215 guix-git/doc/guix.texi:25249
  26820. #: guix-git/doc/guix.texi:25285 guix-git/doc/guix.texi:25301
  26821. #: guix-git/doc/guix.texi:25329 guix-git/doc/guix.texi:25390
  26822. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:28800
  26823. #: guix-git/doc/guix.texi:28814 guix-git/doc/guix.texi:28836
  26824. #: guix-git/doc/guix.texi:28955 guix-git/doc/guix.texi:28969
  26825. #: guix-git/doc/guix.texi:28990 guix-git/doc/guix.texi:29011
  26826. #: guix-git/doc/guix.texi:29018 guix-git/doc/guix.texi:29063
  26827. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29859
  26828. #: guix-git/doc/guix.texi:29873 guix-git/doc/guix.texi:30073
  26829. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30205
  26830. #: guix-git/doc/guix.texi:30407 guix-git/doc/guix.texi:30440
  26831. #: guix-git/doc/guix.texi:30580 guix-git/doc/guix.texi:30591
  26832. #: guix-git/doc/guix.texi:30842 guix-git/doc/guix.texi:32365
  26833. #: guix-git/doc/guix.texi:32374 guix-git/doc/guix.texi:32382
  26834. #: guix-git/doc/guix.texi:32390 guix-git/doc/guix.texi:32406
  26835. #: guix-git/doc/guix.texi:32422 guix-git/doc/guix.texi:32430
  26836. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32447
  26837. #: guix-git/doc/guix.texi:32456 guix-git/doc/guix.texi:32472
  26838. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32642
  26839. #: guix-git/doc/guix.texi:32650 guix-git/doc/guix.texi:32658
  26840. #: guix-git/doc/guix.texi:32683 guix-git/doc/guix.texi:32737
  26841. #: guix-git/doc/guix.texi:32785 guix-git/doc/guix.texi:32986
  26842. #: guix-git/doc/guix.texi:32993
  26843. msgid "Defaults to @samp{#f}."
  26844. msgstr ""
  26845. #. type: deftypevr
  26846. #: guix-git/doc/guix.texi:18494
  26847. #, no-wrap
  26848. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26849. msgstr ""
  26850. #. type: deftypevr
  26851. #: guix-git/doc/guix.texi:18497
  26852. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26853. msgstr ""
  26854. #. type: deftypevr
  26855. #: guix-git/doc/guix.texi:18502
  26856. #, no-wrap
  26857. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26858. msgstr ""
  26859. #. type: deftypevr
  26860. #: guix-git/doc/guix.texi:18505
  26861. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26862. msgstr ""
  26863. #. type: deftypevr
  26864. #: guix-git/doc/guix.texi:18510
  26865. #, no-wrap
  26866. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26867. msgstr ""
  26868. #. type: deftypevr
  26869. #: guix-git/doc/guix.texi:18516
  26870. msgid "The node host name that is used to make the first connection to the network. A specific port value can be provided by appending the @code{:PORT} suffix. By default, it uses the Jami bootstrap nodes, but any host can be specified here. It's also possible to disable bootsrapping by setting this to the @code{'disabled} symbol."
  26871. msgstr ""
  26872. #. type: deftypevr
  26873. #: guix-git/doc/guix.texi:18518
  26874. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26875. msgstr ""
  26876. #. type: deftypevr
  26877. #: guix-git/doc/guix.texi:18521
  26878. #, no-wrap
  26879. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26880. msgstr ""
  26881. #. type: deftypevr
  26882. #: guix-git/doc/guix.texi:18524
  26883. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26884. msgstr ""
  26885. #. type: deftypevr
  26886. #: guix-git/doc/guix.texi:18526
  26887. msgid "Defaults to @samp{4222}."
  26888. msgstr ""
  26889. #. type: deftypevr
  26890. #: guix-git/doc/guix.texi:18529
  26891. #, no-wrap
  26892. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26893. msgstr ""
  26894. #. type: deftypevr
  26895. #: guix-git/doc/guix.texi:18531
  26896. msgid "Spawn a proxy server listening on the specified port."
  26897. msgstr ""
  26898. #. type: deftypevr
  26899. #: guix-git/doc/guix.texi:18533 guix-git/doc/guix.texi:18540
  26900. #: guix-git/doc/guix.texi:24911 guix-git/doc/guix.texi:24955
  26901. #: guix-git/doc/guix.texi:25168 guix-git/doc/guix.texi:25224
  26902. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25409
  26903. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:26117
  26904. #: guix-git/doc/guix.texi:26160 guix-git/doc/guix.texi:26168
  26905. #: guix-git/doc/guix.texi:26176 guix-git/doc/guix.texi:26184
  26906. #: guix-git/doc/guix.texi:26193 guix-git/doc/guix.texi:26201
  26907. #: guix-git/doc/guix.texi:26208 guix-git/doc/guix.texi:26216
  26908. #: guix-git/doc/guix.texi:26224 guix-git/doc/guix.texi:26234
  26909. #: guix-git/doc/guix.texi:26241 guix-git/doc/guix.texi:26265
  26910. #: guix-git/doc/guix.texi:26273 guix-git/doc/guix.texi:26299
  26911. #: guix-git/doc/guix.texi:26308 guix-git/doc/guix.texi:26317
  26912. #: guix-git/doc/guix.texi:26326 guix-git/doc/guix.texi:26335
  26913. #: guix-git/doc/guix.texi:26344 guix-git/doc/guix.texi:26352
  26914. #: guix-git/doc/guix.texi:26360 guix-git/doc/guix.texi:26367
  26915. #: guix-git/doc/guix.texi:26375 guix-git/doc/guix.texi:26382
  26916. #: guix-git/doc/guix.texi:26390 guix-git/doc/guix.texi:26398
  26917. #: guix-git/doc/guix.texi:26407 guix-git/doc/guix.texi:26416
  26918. #: guix-git/doc/guix.texi:26424 guix-git/doc/guix.texi:26432
  26919. #: guix-git/doc/guix.texi:26440 guix-git/doc/guix.texi:26451
  26920. #: guix-git/doc/guix.texi:26461 guix-git/doc/guix.texi:26472
  26921. #: guix-git/doc/guix.texi:26481 guix-git/doc/guix.texi:26491
  26922. #: guix-git/doc/guix.texi:26499 guix-git/doc/guix.texi:26510
  26923. #: guix-git/doc/guix.texi:26519 guix-git/doc/guix.texi:26529
  26924. #: guix-git/doc/guix.texi:29772 guix-git/doc/guix.texi:29779
  26925. #: guix-git/doc/guix.texi:29786 guix-git/doc/guix.texi:29793
  26926. #: guix-git/doc/guix.texi:29800 guix-git/doc/guix.texi:29807
  26927. #: guix-git/doc/guix.texi:29815 guix-git/doc/guix.texi:29823
  26928. #: guix-git/doc/guix.texi:29830 guix-git/doc/guix.texi:29837
  26929. #: guix-git/doc/guix.texi:29844 guix-git/doc/guix.texi:29851
  26930. #: guix-git/doc/guix.texi:29881 guix-git/doc/guix.texi:29919
  26931. #: guix-git/doc/guix.texi:29926 guix-git/doc/guix.texi:29935
  26932. #: guix-git/doc/guix.texi:29957 guix-git/doc/guix.texi:29965
  26933. #: guix-git/doc/guix.texi:29972 guix-git/doc/guix.texi:30001
  26934. #: guix-git/doc/guix.texi:30008 guix-git/doc/guix.texi:30015
  26935. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30155
  26936. #: guix-git/doc/guix.texi:30175 guix-git/doc/guix.texi:30190
  26937. #: guix-git/doc/guix.texi:30197 guix-git/doc/guix.texi:32938
  26938. #: guix-git/doc/guix.texi:32946 guix-git/doc/guix.texi:32954
  26939. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32970
  26940. #: guix-git/doc/guix.texi:32978
  26941. msgid "Defaults to @samp{disabled}."
  26942. msgstr ""
  26943. #. type: deftypevr
  26944. #: guix-git/doc/guix.texi:18536
  26945. #, no-wrap
  26946. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26947. msgstr ""
  26948. #. type: deftypevr
  26949. #: guix-git/doc/guix.texi:18538
  26950. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26951. msgstr ""
  26952. #. type: cindex
  26953. #: guix-git/doc/guix.texi:18544
  26954. #, no-wrap
  26955. msgid "Tor"
  26956. msgstr ""
  26957. #. type: defvr
  26958. #: guix-git/doc/guix.texi:18545
  26959. #, no-wrap
  26960. msgid "{Scheme Variable} tor-service-type"
  26961. msgstr ""
  26962. #. type: defvr
  26963. #: guix-git/doc/guix.texi:18550
  26964. msgid "This is the type for a service that runs the @uref{https://torproject.org, Tor} anonymous networking daemon. The service is configured using a @code{<tor-configuration>} record. By default, the Tor daemon runs as the @code{tor} unprivileged user, which is a member of the @code{tor} group."
  26965. msgstr ""
  26966. #. type: deftp
  26967. #: guix-git/doc/guix.texi:18553
  26968. #, no-wrap
  26969. msgid "{Data Type} tor-configuration"
  26970. msgstr ""
  26971. #. type: item
  26972. #: guix-git/doc/guix.texi:18555
  26973. #, no-wrap
  26974. msgid "@code{tor} (default: @code{tor})"
  26975. msgstr ""
  26976. #. type: table
  26977. #: guix-git/doc/guix.texi:18560
  26978. msgid "The package that provides the Tor daemon. This package is expected to provide the daemon at @file{bin/tor} relative to its output directory. The default package is the @uref{https://www.torproject.org, Tor Project's} implementation."
  26979. msgstr ""
  26980. #. type: item
  26981. #: guix-git/doc/guix.texi:18561
  26982. #, no-wrap
  26983. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26984. msgstr ""
  26985. #. type: table
  26986. #: guix-git/doc/guix.texi:18567
  26987. msgid "The configuration file to use. It will be appended to a default configuration file, and the final configuration file will be passed to @code{tor} via its @code{-f} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man tor} for details on the configuration file syntax."
  26988. msgstr ""
  26989. #. type: item
  26990. #: guix-git/doc/guix.texi:18568
  26991. #, no-wrap
  26992. msgid "@code{hidden-services} (default: @code{'()})"
  26993. msgstr ""
  26994. #. type: table
  26995. #: guix-git/doc/guix.texi:18574
  26996. msgid "The list of @code{<hidden-service>} records to use. For any hidden service you include in this list, appropriate configuration to enable the hidden service will be automatically added to the default configuration file. You may conveniently create @code{<hidden-service>} records using the @code{tor-hidden-service} procedure described below."
  26997. msgstr ""
  26998. #. type: item
  26999. #: guix-git/doc/guix.texi:18575
  27000. #, no-wrap
  27001. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  27002. msgstr ""
  27003. #. type: table
  27004. #: guix-git/doc/guix.texi:18582
  27005. msgid "The default socket type that Tor should use for its SOCKS socket. This must be either @code{'tcp} or @code{'unix}. If it is @code{'tcp}, then by default Tor will listen on TCP port 9050 on the loopback interface (i.e., localhost). If it is @code{'unix}, then Tor will listen on the UNIX domain socket @file{/var/run/tor/socks-sock}, which will be made writable by members of the @code{tor} group."
  27006. msgstr ""
  27007. #. type: table
  27008. #: guix-git/doc/guix.texi:18587
  27009. msgid "If you want to customize the SOCKS socket in more detail, leave @code{socks-socket-type} at its default value of @code{'tcp} and use @code{config-file} to override the default by providing your own @code{SocksPort} option."
  27010. msgstr ""
  27011. #. type: item
  27012. #: guix-git/doc/guix.texi:18588
  27013. #, no-wrap
  27014. msgid "@code{control-socket?} (default: @code{#f})"
  27015. msgstr ""
  27016. #. type: table
  27017. #: guix-git/doc/guix.texi:18594
  27018. msgid "Whether or not to provide a ``control socket'' by which Tor can be controlled to, for instance, dynamically instantiate tor onion services. If @code{#t}, Tor will listen for control commands on the UNIX domain socket @file{/var/run/tor/control-sock}, which will be made writable by members of the @code{tor} group."
  27019. msgstr ""
  27020. #. type: cindex
  27021. #: guix-git/doc/guix.texi:18598
  27022. #, no-wrap
  27023. msgid "hidden service"
  27024. msgstr ""
  27025. #. type: deffn
  27026. #: guix-git/doc/guix.texi:18599
  27027. #, no-wrap
  27028. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  27029. msgstr ""
  27030. #. type: deffn
  27031. #: guix-git/doc/guix.texi:18602
  27032. msgid "Define a new Tor @dfn{hidden service} called @var{name} and implementing @var{mapping}. @var{mapping} is a list of port/host tuples, such as:"
  27033. msgstr ""
  27034. #. type: example
  27035. #: guix-git/doc/guix.texi:18606
  27036. #, no-wrap
  27037. msgid ""
  27038. " '((22 \"127.0.0.1:22\")\n"
  27039. " (80 \"127.0.0.1:8080\"))\n"
  27040. msgstr ""
  27041. #. type: deffn
  27042. #: guix-git/doc/guix.texi:18610
  27043. msgid "In this example, port 22 of the hidden service is mapped to local port 22, and port 80 is mapped to local port 8080."
  27044. msgstr ""
  27045. #. type: deffn
  27046. #: guix-git/doc/guix.texi:18614
  27047. msgid "This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @code{.onion} host name for the hidden service."
  27048. msgstr ""
  27049. #. type: deffn
  27050. #: guix-git/doc/guix.texi:18617
  27051. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  27052. msgstr ""
  27053. #. type: Plain text
  27054. #: guix-git/doc/guix.texi:18620
  27055. msgid "The @code{(gnu services rsync)} module provides the following services:"
  27056. msgstr ""
  27057. #. type: Plain text
  27058. #: guix-git/doc/guix.texi:18624
  27059. msgid "You might want an rsync daemon if you have files that you want available so anyone (or just yourself) can download existing files or upload new files."
  27060. msgstr ""
  27061. #. type: deffn
  27062. #: guix-git/doc/guix.texi:18625
  27063. #, no-wrap
  27064. msgid "{Scheme Variable} rsync-service-type"
  27065. msgstr ""
  27066. #. type: deffn
  27067. #: guix-git/doc/guix.texi:18629
  27068. msgid "This is the service type for the @uref{https://rsync.samba.org, rsync} daemon, The value for this service type is a @command{rsync-configuration} record as in this example:"
  27069. msgstr ""
  27070. #. type: lisp
  27071. #: guix-git/doc/guix.texi:18642
  27072. #, no-wrap
  27073. msgid ""
  27074. ";; Export two directories over rsync. By default rsync listens on\n"
  27075. ";; all the network interfaces.\n"
  27076. "(service rsync-service-type\n"
  27077. " (rsync-configuration\n"
  27078. " (modules (list (rsync-module\n"
  27079. " (name \"music\")\n"
  27080. " (file-name \"/srv/zik\")\n"
  27081. " (read-only? #f))\n"
  27082. " (rsync-module\n"
  27083. " (name \"movies\")\n"
  27084. " (file-name \"/home/charlie/movies\"))))))\n"
  27085. msgstr ""
  27086. #. type: deffn
  27087. #: guix-git/doc/guix.texi:18645
  27088. msgid "See below for details about @code{rsync-configuration}."
  27089. msgstr ""
  27090. #. type: deftp
  27091. #: guix-git/doc/guix.texi:18647
  27092. #, no-wrap
  27093. msgid "{Data Type} rsync-configuration"
  27094. msgstr ""
  27095. #. type: deftp
  27096. #: guix-git/doc/guix.texi:18649
  27097. msgid "Data type representing the configuration for @code{rsync-service}."
  27098. msgstr ""
  27099. #. type: item
  27100. #: guix-git/doc/guix.texi:18651
  27101. #, no-wrap
  27102. msgid "@code{package} (default: @var{rsync})"
  27103. msgstr ""
  27104. #. type: table
  27105. #: guix-git/doc/guix.texi:18653
  27106. msgid "@code{rsync} package to use."
  27107. msgstr ""
  27108. #. type: item
  27109. #: guix-git/doc/guix.texi:18654 guix-git/doc/guix.texi:31945
  27110. #, no-wrap
  27111. msgid "@code{address} (default: @code{#f})"
  27112. msgstr ""
  27113. #. type: table
  27114. #: guix-git/doc/guix.texi:18657
  27115. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  27116. msgstr ""
  27117. #. type: item
  27118. #: guix-git/doc/guix.texi:18658
  27119. #, no-wrap
  27120. msgid "@code{port-number} (default: @code{873})"
  27121. msgstr ""
  27122. #. type: table
  27123. #: guix-git/doc/guix.texi:18662
  27124. msgid "TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the @code{root} user and group."
  27125. msgstr ""
  27126. #. type: item
  27127. #: guix-git/doc/guix.texi:18663
  27128. #, no-wrap
  27129. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  27130. msgstr ""
  27131. #. type: table
  27132. #: guix-git/doc/guix.texi:18665
  27133. msgid "Name of the file where @command{rsync} writes its PID."
  27134. msgstr ""
  27135. #. type: item
  27136. #: guix-git/doc/guix.texi:18666
  27137. #, no-wrap
  27138. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  27139. msgstr ""
  27140. #. type: table
  27141. #: guix-git/doc/guix.texi:18668
  27142. msgid "Name of the file where @command{rsync} writes its lock file."
  27143. msgstr ""
  27144. #. type: item
  27145. #: guix-git/doc/guix.texi:18669
  27146. #, no-wrap
  27147. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  27148. msgstr ""
  27149. #. type: table
  27150. #: guix-git/doc/guix.texi:18671
  27151. msgid "Name of the file where @command{rsync} writes its log file."
  27152. msgstr ""
  27153. #. type: item
  27154. #: guix-git/doc/guix.texi:18672 guix-git/doc/guix.texi:36176
  27155. #, no-wrap
  27156. msgid "@code{user} (default: @code{\"root\"})"
  27157. msgstr ""
  27158. #. type: table
  27159. #: guix-git/doc/guix.texi:18674
  27160. msgid "Owner of the @code{rsync} process."
  27161. msgstr ""
  27162. #. type: item
  27163. #: guix-git/doc/guix.texi:18675
  27164. #, no-wrap
  27165. msgid "@code{group} (default: @code{\"root\"})"
  27166. msgstr ""
  27167. #. type: table
  27168. #: guix-git/doc/guix.texi:18677
  27169. msgid "Group of the @code{rsync} process."
  27170. msgstr ""
  27171. #. type: item
  27172. #: guix-git/doc/guix.texi:18678
  27173. #, no-wrap
  27174. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  27175. msgstr ""
  27176. #. type: table
  27177. #: guix-git/doc/guix.texi:18681
  27178. msgid "User name or user ID that file transfers to and from that module should take place as when the daemon was run as @code{root}."
  27179. msgstr ""
  27180. #. type: item
  27181. #: guix-git/doc/guix.texi:18682
  27182. #, no-wrap
  27183. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  27184. msgstr ""
  27185. #. type: table
  27186. #: guix-git/doc/guix.texi:18684 guix-git/doc/guix.texi:19163
  27187. msgid "Group name or group ID that will be used when accessing the module."
  27188. msgstr ""
  27189. #. type: item
  27190. #: guix-git/doc/guix.texi:18685 guix-git/doc/guix.texi:36982
  27191. #, no-wrap
  27192. msgid "@code{modules} (default: @code{%default-modules})"
  27193. msgstr ""
  27194. #. type: table
  27195. #: guix-git/doc/guix.texi:18688
  27196. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  27197. msgstr ""
  27198. #. type: deftp
  27199. #: guix-git/doc/guix.texi:18691
  27200. #, no-wrap
  27201. msgid "{Data Type} rsync-module"
  27202. msgstr "{Druh údajov} rsync-module"
  27203. #. type: deftp
  27204. #: guix-git/doc/guix.texi:18694
  27205. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  27206. msgstr ""
  27207. #. type: table
  27208. #: guix-git/doc/guix.texi:18700
  27209. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  27210. msgstr ""
  27211. #. type: code{#1}
  27212. #: guix-git/doc/guix.texi:18701
  27213. #, no-wrap
  27214. msgid "file-name"
  27215. msgstr "file-name"
  27216. #. type: table
  27217. #: guix-git/doc/guix.texi:18703
  27218. msgid "Name of the directory being exported."
  27219. msgstr ""
  27220. #. type: table
  27221. #: guix-git/doc/guix.texi:18707
  27222. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  27223. msgstr ""
  27224. #. type: item
  27225. #: guix-git/doc/guix.texi:18708
  27226. #, no-wrap
  27227. msgid "@code{read-only?} (default: @code{#t})"
  27228. msgstr ""
  27229. #. type: table
  27230. #: guix-git/doc/guix.texi:18712
  27231. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  27232. msgstr ""
  27233. #. type: item
  27234. #: guix-git/doc/guix.texi:18713
  27235. #, no-wrap
  27236. msgid "@code{chroot?} (default: @code{#t})"
  27237. msgstr ""
  27238. #. type: table
  27239. #: guix-git/doc/guix.texi:18717
  27240. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  27241. msgstr ""
  27242. #. type: item
  27243. #: guix-git/doc/guix.texi:18718
  27244. #, no-wrap
  27245. msgid "@code{timeout} (default: @code{300})"
  27246. msgstr ""
  27247. #. type: table
  27248. #: guix-git/doc/guix.texi:18721
  27249. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  27250. msgstr ""
  27251. #. type: Plain text
  27252. #: guix-git/doc/guix.texi:18725
  27253. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  27254. msgstr ""
  27255. #. type: cindex
  27256. #: guix-git/doc/guix.texi:18725
  27257. #, no-wrap
  27258. msgid "syncthing"
  27259. msgstr ""
  27260. #. type: Plain text
  27261. #: guix-git/doc/guix.texi:18730
  27262. msgid "You might want a syncthing daemon if you have files between two or more computers and want to sync them in real time, safely protected from prying eyes."
  27263. msgstr ""
  27264. #. type: deffn
  27265. #: guix-git/doc/guix.texi:18731
  27266. #, no-wrap
  27267. msgid "{Scheme Variable} syncthing-service-type"
  27268. msgstr ""
  27269. #. type: deffn
  27270. #: guix-git/doc/guix.texi:18735
  27271. msgid "This is the service type for the @uref{https://syncthing.net/, syncthing} daemon, The value for this service type is a @command{syncthing-configuration} record as in this example:"
  27272. msgstr ""
  27273. #. type: lisp
  27274. #: guix-git/doc/guix.texi:18739
  27275. #, no-wrap
  27276. msgid ""
  27277. "(service syncthing-service-type\n"
  27278. " (syncthing-configuration (user \"alice\")))\n"
  27279. msgstr ""
  27280. #. type: deffn
  27281. #: guix-git/doc/guix.texi:18742
  27282. msgid "See below for details about @code{syncthing-configuration}."
  27283. msgstr ""
  27284. #. type: deftp
  27285. #: guix-git/doc/guix.texi:18743
  27286. #, no-wrap
  27287. msgid "{Data Type} syncthing-configuration"
  27288. msgstr ""
  27289. #. type: deftp
  27290. #: guix-git/doc/guix.texi:18745
  27291. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  27292. msgstr ""
  27293. #. type: item
  27294. #: guix-git/doc/guix.texi:18747
  27295. #, no-wrap
  27296. msgid "@code{syncthing} (default: @var{syncthing})"
  27297. msgstr ""
  27298. #. type: table
  27299. #: guix-git/doc/guix.texi:18749
  27300. msgid "@code{syncthing} package to use."
  27301. msgstr ""
  27302. #. type: item
  27303. #: guix-git/doc/guix.texi:18750
  27304. #, no-wrap
  27305. msgid "@code{arguments} (default: @var{'()})"
  27306. msgstr ""
  27307. #. type: table
  27308. #: guix-git/doc/guix.texi:18752
  27309. msgid "List of command-line arguments passing to @code{syncthing} binary."
  27310. msgstr ""
  27311. #. type: item
  27312. #: guix-git/doc/guix.texi:18753
  27313. #, no-wrap
  27314. msgid "@code{logflags} (default: @var{0})"
  27315. msgstr ""
  27316. #. type: table
  27317. #: guix-git/doc/guix.texi:18756
  27318. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  27319. msgstr ""
  27320. #. type: item
  27321. #: guix-git/doc/guix.texi:18757
  27322. #, no-wrap
  27323. msgid "@code{user} (default: @var{#f})"
  27324. msgstr ""
  27325. #. type: table
  27326. #: guix-git/doc/guix.texi:18760
  27327. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  27328. msgstr ""
  27329. #. type: item
  27330. #: guix-git/doc/guix.texi:18761
  27331. #, no-wrap
  27332. msgid "@code{group} (default: @var{\"users\"})"
  27333. msgstr ""
  27334. #. type: table
  27335. #: guix-git/doc/guix.texi:18764
  27336. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  27337. msgstr ""
  27338. #. type: item
  27339. #: guix-git/doc/guix.texi:18765
  27340. #, no-wrap
  27341. msgid "@code{home} (default: @var{#f})"
  27342. msgstr ""
  27343. #. type: table
  27344. #: guix-git/doc/guix.texi:18768
  27345. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  27346. msgstr ""
  27347. #. type: Plain text
  27348. #: guix-git/doc/guix.texi:18774
  27349. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  27350. msgstr ""
  27351. #. type: cindex
  27352. #: guix-git/doc/guix.texi:18774 guix-git/doc/guix.texi:18813
  27353. #: guix-git/doc/guix.texi:36319
  27354. #, no-wrap
  27355. msgid "SSH"
  27356. msgstr ""
  27357. #. type: cindex
  27358. #: guix-git/doc/guix.texi:18775 guix-git/doc/guix.texi:18814
  27359. #: guix-git/doc/guix.texi:36320
  27360. #, no-wrap
  27361. msgid "SSH server"
  27362. msgstr ""
  27363. #. type: deffn
  27364. #: guix-git/doc/guix.texi:18777
  27365. #, no-wrap
  27366. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  27367. msgstr ""
  27368. #. type: deffn
  27369. #: guix-git/doc/guix.texi:18786
  27370. msgid "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ [#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] [#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @ [#:public-key-authentication? #t] [#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}. @var{host-key} must designate a file containing the host key, and readable only by root."
  27371. msgstr ""
  27372. #. type: deffn
  27373. #: guix-git/doc/guix.texi:18792
  27374. msgid "When @var{daemonic?} is true, @command{lshd} will detach from the controlling terminal and log its output to syslogd, unless one sets @var{syslog-output?} to false. Obviously, it also makes lsh-service depend on existence of syslogd service. When @var{pid-file?} is true, @command{lshd} writes its PID to the file called @var{pid-file}."
  27375. msgstr ""
  27376. #. type: deffn
  27377. #: guix-git/doc/guix.texi:18796
  27378. msgid "When @var{initialize?} is true, automatically create the seed and host key upon service activation if they do not exist yet. This may take long and require interaction."
  27379. msgstr ""
  27380. #. type: deffn
  27381. #: guix-git/doc/guix.texi:18801
  27382. msgid "When @var{initialize?} is false, it is up to the user to initialize the randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to create a key pair with the private key stored in file @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})."
  27383. msgstr ""
  27384. #. type: deffn
  27385. #: guix-git/doc/guix.texi:18805
  27386. msgid "When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host names or addresses."
  27387. msgstr ""
  27388. #. type: deffn
  27389. #: guix-git/doc/guix.texi:18809
  27390. msgid "@var{allow-empty-passwords?} specifies whether to accept log-ins with empty passwords, and @var{root-login?} specifies whether to accept log-ins as root."
  27391. msgstr ""
  27392. #. type: deffn
  27393. #: guix-git/doc/guix.texi:18811
  27394. msgid "The other options should be self-descriptive."
  27395. msgstr ""
  27396. #. type: deffn
  27397. #: guix-git/doc/guix.texi:18815
  27398. #, no-wrap
  27399. msgid "{Scheme Variable} openssh-service-type"
  27400. msgstr ""
  27401. #. type: deffn
  27402. #: guix-git/doc/guix.texi:18819
  27403. msgid "This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell daemon, @command{sshd}. Its value must be an @code{openssh-configuration} record as in this example:"
  27404. msgstr ""
  27405. #. type: lisp
  27406. #: guix-git/doc/guix.texi:18828
  27407. #, no-wrap
  27408. msgid ""
  27409. "(service openssh-service-type\n"
  27410. " (openssh-configuration\n"
  27411. " (x11-forwarding? #t)\n"
  27412. " (permit-root-login 'prohibit-password)\n"
  27413. " (authorized-keys\n"
  27414. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  27415. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  27416. msgstr ""
  27417. #. type: deffn
  27418. #: guix-git/doc/guix.texi:18831
  27419. msgid "See below for details about @code{openssh-configuration}."
  27420. msgstr ""
  27421. #. type: deffn
  27422. #: guix-git/doc/guix.texi:18834
  27423. msgid "This service can be extended with extra authorized keys, as in this example:"
  27424. msgstr ""
  27425. #. type: lisp
  27426. #: guix-git/doc/guix.texi:18839
  27427. #, no-wrap
  27428. msgid ""
  27429. "(service-extension openssh-service-type\n"
  27430. " (const `((\"charlie\"\n"
  27431. " ,(local-file \"charlie.pub\")))))\n"
  27432. msgstr ""
  27433. #. type: deftp
  27434. #: guix-git/doc/guix.texi:18842
  27435. #, no-wrap
  27436. msgid "{Data Type} openssh-configuration"
  27437. msgstr ""
  27438. #. type: deftp
  27439. #: guix-git/doc/guix.texi:18844
  27440. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  27441. msgstr ""
  27442. #. type: item
  27443. #: guix-git/doc/guix.texi:18846
  27444. #, no-wrap
  27445. msgid "@code{openssh} (default @var{openssh})"
  27446. msgstr ""
  27447. #. type: table
  27448. #: guix-git/doc/guix.texi:18848
  27449. msgid "The Openssh package to use."
  27450. msgstr ""
  27451. #. type: item
  27452. #: guix-git/doc/guix.texi:18849
  27453. #, no-wrap
  27454. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  27455. msgstr ""
  27456. #. type: table
  27457. #: guix-git/doc/guix.texi:18851
  27458. msgid "Name of the file where @command{sshd} writes its PID."
  27459. msgstr ""
  27460. #. type: item
  27461. #: guix-git/doc/guix.texi:18852
  27462. #, no-wrap
  27463. msgid "@code{port-number} (default: @code{22})"
  27464. msgstr ""
  27465. #. type: table
  27466. #: guix-git/doc/guix.texi:18854
  27467. msgid "TCP port on which @command{sshd} listens for incoming connections."
  27468. msgstr ""
  27469. #. type: item
  27470. #: guix-git/doc/guix.texi:18855
  27471. #, no-wrap
  27472. msgid "@code{permit-root-login} (default: @code{#f})"
  27473. msgstr ""
  27474. #. type: table
  27475. #: guix-git/doc/guix.texi:18860
  27476. msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'prohibit-password}, then root logins are permitted but not with password-based authentication."
  27477. msgstr ""
  27478. #. type: item
  27479. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:19022
  27480. #, no-wrap
  27481. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  27482. msgstr ""
  27483. #. type: table
  27484. #: guix-git/doc/guix.texi:18864
  27485. msgid "When true, users with empty passwords may log in. When false, they may not."
  27486. msgstr ""
  27487. #. type: item
  27488. #: guix-git/doc/guix.texi:18865 guix-git/doc/guix.texi:19025
  27489. #, no-wrap
  27490. msgid "@code{password-authentication?} (default: @code{#t})"
  27491. msgstr ""
  27492. #. type: table
  27493. #: guix-git/doc/guix.texi:18868
  27494. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  27495. msgstr ""
  27496. #. type: item
  27497. #: guix-git/doc/guix.texi:18869
  27498. #, no-wrap
  27499. msgid "@code{public-key-authentication?} (default: @code{#t})"
  27500. msgstr ""
  27501. #. type: table
  27502. #: guix-git/doc/guix.texi:18872
  27503. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  27504. msgstr ""
  27505. #. type: table
  27506. #: guix-git/doc/guix.texi:18875
  27507. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  27508. msgstr ""
  27509. #. type: item
  27510. #: guix-git/doc/guix.texi:18876
  27511. #, no-wrap
  27512. msgid "@code{x11-forwarding?} (default: @code{#f})"
  27513. msgstr ""
  27514. #. type: table
  27515. #: guix-git/doc/guix.texi:18880
  27516. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  27517. msgstr ""
  27518. #. type: item
  27519. #: guix-git/doc/guix.texi:18881
  27520. #, no-wrap
  27521. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  27522. msgstr ""
  27523. #. type: table
  27524. #: guix-git/doc/guix.texi:18883
  27525. msgid "Whether to allow agent forwarding."
  27526. msgstr ""
  27527. #. type: item
  27528. #: guix-git/doc/guix.texi:18884
  27529. #, no-wrap
  27530. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  27531. msgstr ""
  27532. #. type: table
  27533. #: guix-git/doc/guix.texi:18886
  27534. msgid "Whether to allow TCP forwarding."
  27535. msgstr ""
  27536. #. type: item
  27537. #: guix-git/doc/guix.texi:18887
  27538. #, no-wrap
  27539. msgid "@code{gateway-ports?} (default: @code{#f})"
  27540. msgstr ""
  27541. #. type: table
  27542. #: guix-git/doc/guix.texi:18889
  27543. msgid "Whether to allow gateway ports."
  27544. msgstr ""
  27545. #. type: item
  27546. #: guix-git/doc/guix.texi:18890
  27547. #, no-wrap
  27548. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  27549. msgstr ""
  27550. #. type: table
  27551. #: guix-git/doc/guix.texi:18893
  27552. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  27553. msgstr ""
  27554. #. type: item
  27555. #: guix-git/doc/guix.texi:18894
  27556. #, no-wrap
  27557. msgid "@code{use-pam?} (default: @code{#t})"
  27558. msgstr ""
  27559. #. type: table
  27560. #: guix-git/doc/guix.texi:18900
  27561. msgid "Enables the Pluggable Authentication Module interface. If set to @code{#t}, this will enable PAM authentication using @code{challenge-response-authentication?} and @code{password-authentication?}, in addition to PAM account and session module processing for all authentication types."
  27562. msgstr ""
  27563. #. type: table
  27564. #: guix-git/doc/guix.texi:18905
  27565. msgid "Because PAM challenge response authentication usually serves an equivalent role to password authentication, you should disable either @code{challenge-response-authentication?} or @code{password-authentication?}."
  27566. msgstr ""
  27567. #. type: item
  27568. #: guix-git/doc/guix.texi:18906
  27569. #, no-wrap
  27570. msgid "@code{print-last-log?} (default: @code{#t})"
  27571. msgstr ""
  27572. #. type: table
  27573. #: guix-git/doc/guix.texi:18909
  27574. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  27575. msgstr ""
  27576. #. type: item
  27577. #: guix-git/doc/guix.texi:18910
  27578. #, no-wrap
  27579. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  27580. msgstr ""
  27581. #. type: table
  27582. #: guix-git/doc/guix.texi:18912
  27583. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  27584. msgstr ""
  27585. #. type: table
  27586. #: guix-git/doc/guix.texi:18916
  27587. msgid "This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon subsystem request."
  27588. msgstr ""
  27589. #. type: table
  27590. #: guix-git/doc/guix.texi:18919
  27591. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  27592. msgstr ""
  27593. #. type: lisp
  27594. #: guix-git/doc/guix.texi:18924
  27595. #, no-wrap
  27596. msgid ""
  27597. "(service openssh-service-type\n"
  27598. " (openssh-configuration\n"
  27599. " (subsystems\n"
  27600. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  27601. msgstr ""
  27602. #. type: item
  27603. #: guix-git/doc/guix.texi:18926
  27604. #, no-wrap
  27605. msgid "@code{accepted-environment} (default: @code{'()})"
  27606. msgstr ""
  27607. #. type: table
  27608. #: guix-git/doc/guix.texi:18928
  27609. msgid "List of strings describing which environment variables may be exported."
  27610. msgstr ""
  27611. #. type: table
  27612. #: guix-git/doc/guix.texi:18931
  27613. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  27614. msgstr ""
  27615. #. type: table
  27616. #: guix-git/doc/guix.texi:18936
  27617. msgid "This example allows ssh-clients to export the @env{COLORTERM} variable. It is set by terminal emulators, which support colors. You can use it in your shell's resource file to enable colors for the prompt and commands if this variable is set."
  27618. msgstr ""
  27619. #. type: lisp
  27620. #: guix-git/doc/guix.texi:18941
  27621. #, no-wrap
  27622. msgid ""
  27623. "(service openssh-service-type\n"
  27624. " (openssh-configuration\n"
  27625. " (accepted-environment '(\"COLORTERM\"))))\n"
  27626. msgstr ""
  27627. #. type: item
  27628. #: guix-git/doc/guix.texi:18943
  27629. #, no-wrap
  27630. msgid "@code{authorized-keys} (default: @code{'()})"
  27631. msgstr ""
  27632. #. type: cindex
  27633. #: guix-git/doc/guix.texi:18944
  27634. #, no-wrap
  27635. msgid "authorized keys, SSH"
  27636. msgstr ""
  27637. #. type: cindex
  27638. #: guix-git/doc/guix.texi:18945
  27639. #, no-wrap
  27640. msgid "SSH authorized keys"
  27641. msgstr ""
  27642. #. type: table
  27643. #: guix-git/doc/guix.texi:18949
  27644. msgid "This is the list of authorized keys. Each element of the list is a user name followed by one or more file-like objects that represent SSH public keys. For example:"
  27645. msgstr ""
  27646. #. type: lisp
  27647. #: guix-git/doc/guix.texi:18956
  27648. #, no-wrap
  27649. msgid ""
  27650. "(openssh-configuration\n"
  27651. " (authorized-keys\n"
  27652. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  27653. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  27654. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  27655. msgstr ""
  27656. #. type: table
  27657. #: guix-git/doc/guix.texi:18961
  27658. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  27659. msgstr ""
  27660. #. type: table
  27661. #: guix-git/doc/guix.texi:18964
  27662. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  27663. msgstr ""
  27664. #. type: table
  27665. #: guix-git/doc/guix.texi:18967
  27666. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  27667. msgstr ""
  27668. #. type: item
  27669. #: guix-git/doc/guix.texi:18968 guix-git/doc/guix.texi:19399
  27670. #, no-wrap
  27671. msgid "@code{log-level} (default: @code{'info})"
  27672. msgstr ""
  27673. #. type: table
  27674. #: guix-git/doc/guix.texi:18972
  27675. msgid "This is a symbol specifying the logging level: @code{quiet}, @code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. See the man page for @file{sshd_config} for the full list of level names."
  27676. msgstr ""
  27677. #. type: item
  27678. #: guix-git/doc/guix.texi:18973 guix-git/doc/guix.texi:21848
  27679. #: guix-git/doc/guix.texi:26899
  27680. #, no-wrap
  27681. msgid "@code{extra-content} (default: @code{\"\"})"
  27682. msgstr ""
  27683. #. type: table
  27684. #: guix-git/doc/guix.texi:18978
  27685. msgid "This field can be used to append arbitrary text to the configuration file. It is especially useful for elaborate configurations that cannot be expressed otherwise. This configuration, for example, would generally disable root logins, but permit them from one specific IP address:"
  27686. msgstr ""
  27687. #. type: lisp
  27688. #: guix-git/doc/guix.texi:18984
  27689. #, no-wrap
  27690. msgid ""
  27691. "(openssh-configuration\n"
  27692. " (extra-content \"\\\n"
  27693. "Match Address 192.168.0.1\n"
  27694. " PermitRootLogin yes\"))\n"
  27695. msgstr ""
  27696. #. type: deffn
  27697. #: guix-git/doc/guix.texi:18989
  27698. #, no-wrap
  27699. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27700. msgstr ""
  27701. #. type: deffn
  27702. #: guix-git/doc/guix.texi:18993
  27703. msgid "Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH daemon} with the given @var{config}, a @code{<dropbear-configuration>} object."
  27704. msgstr ""
  27705. #. type: deffn
  27706. #: guix-git/doc/guix.texi:18996
  27707. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27708. msgstr ""
  27709. #. type: lisp
  27710. #: guix-git/doc/guix.texi:19000
  27711. #, no-wrap
  27712. msgid ""
  27713. "(dropbear-service (dropbear-configuration\n"
  27714. " (port-number 1234)))\n"
  27715. msgstr ""
  27716. #. type: deftp
  27717. #: guix-git/doc/guix.texi:19003
  27718. #, no-wrap
  27719. msgid "{Data Type} dropbear-configuration"
  27720. msgstr ""
  27721. #. type: deftp
  27722. #: guix-git/doc/guix.texi:19005
  27723. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27724. msgstr ""
  27725. #. type: item
  27726. #: guix-git/doc/guix.texi:19007
  27727. #, no-wrap
  27728. msgid "@code{dropbear} (default: @var{dropbear})"
  27729. msgstr ""
  27730. #. type: table
  27731. #: guix-git/doc/guix.texi:19009
  27732. msgid "The Dropbear package to use."
  27733. msgstr ""
  27734. #. type: item
  27735. #: guix-git/doc/guix.texi:19010
  27736. #, no-wrap
  27737. msgid "@code{port-number} (default: 22)"
  27738. msgstr ""
  27739. #. type: table
  27740. #: guix-git/doc/guix.texi:19012
  27741. msgid "The TCP port where the daemon waits for incoming connections."
  27742. msgstr ""
  27743. #. type: item
  27744. #: guix-git/doc/guix.texi:19013
  27745. #, no-wrap
  27746. msgid "@code{syslog-output?} (default: @code{#t})"
  27747. msgstr ""
  27748. #. type: table
  27749. #: guix-git/doc/guix.texi:19015
  27750. msgid "Whether to enable syslog output."
  27751. msgstr ""
  27752. #. type: item
  27753. #: guix-git/doc/guix.texi:19016
  27754. #, no-wrap
  27755. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27756. msgstr ""
  27757. #. type: table
  27758. #: guix-git/doc/guix.texi:19018
  27759. msgid "File name of the daemon's PID file."
  27760. msgstr ""
  27761. #. type: item
  27762. #: guix-git/doc/guix.texi:19019
  27763. #, no-wrap
  27764. msgid "@code{root-login?} (default: @code{#f})"
  27765. msgstr ""
  27766. #. type: table
  27767. #: guix-git/doc/guix.texi:19021
  27768. msgid "Whether to allow @code{root} logins."
  27769. msgstr ""
  27770. #. type: table
  27771. #: guix-git/doc/guix.texi:19024
  27772. msgid "Whether to allow empty passwords."
  27773. msgstr ""
  27774. #. type: table
  27775. #: guix-git/doc/guix.texi:19027
  27776. msgid "Whether to enable password-based authentication."
  27777. msgstr ""
  27778. #. type: cindex
  27779. #: guix-git/doc/guix.texi:19030
  27780. #, no-wrap
  27781. msgid "AutoSSH"
  27782. msgstr ""
  27783. #. type: deffn
  27784. #: guix-git/doc/guix.texi:19031
  27785. #, no-wrap
  27786. msgid "{Scheme Variable} autossh-service-type"
  27787. msgstr ""
  27788. #. type: deffn
  27789. #: guix-git/doc/guix.texi:19039
  27790. msgid "This is the type for the @uref{https://www.harding.motd.ca/autossh, AutoSSH} program that runs a copy of @command{ssh} and monitors it, restarting it as necessary should it die or stop passing traffic. AutoSSH can be run manually from the command-line by passing arguments to the binary @command{autossh} from the package @code{autossh}, but it can also be run as a Guix service. This latter use case is documented here."
  27791. msgstr ""
  27792. #. type: deffn
  27793. #: guix-git/doc/guix.texi:19043
  27794. msgid "AutoSSH can be used to forward local traffic to a remote machine using an SSH tunnel, and it respects the @file{~/.ssh/config} of the user it is run as."
  27795. msgstr ""
  27796. #. type: deffn
  27797. #: guix-git/doc/guix.texi:19048
  27798. msgid "For example, to specify a service running autossh as the user @code{pino} and forwarding all local connections to port @code{8081} to @code{remote:8081} using an SSH tunnel, add this call to the operating system's @code{services} field:"
  27799. msgstr ""
  27800. #. type: lisp
  27801. #: guix-git/doc/guix.texi:19054
  27802. #, no-wrap
  27803. msgid ""
  27804. "(service autossh-service-type\n"
  27805. " (autossh-configuration\n"
  27806. " (user \"pino\")\n"
  27807. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27808. msgstr ""
  27809. #. type: deftp
  27810. #: guix-git/doc/guix.texi:19057
  27811. #, no-wrap
  27812. msgid "{Data Type} autossh-configuration"
  27813. msgstr ""
  27814. #. type: deftp
  27815. #: guix-git/doc/guix.texi:19059
  27816. msgid "This data type represents the configuration of an AutoSSH service."
  27817. msgstr ""
  27818. #. type: item
  27819. #: guix-git/doc/guix.texi:19062
  27820. #, no-wrap
  27821. msgid "@code{user} (default @code{\"autossh\"})"
  27822. msgstr ""
  27823. #. type: table
  27824. #: guix-git/doc/guix.texi:19065
  27825. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27826. msgstr ""
  27827. #. type: item
  27828. #: guix-git/doc/guix.texi:19066
  27829. #, no-wrap
  27830. msgid "@code{poll} (default @code{600})"
  27831. msgstr ""
  27832. #. type: table
  27833. #: guix-git/doc/guix.texi:19068
  27834. msgid "Specifies the connection poll time in seconds."
  27835. msgstr ""
  27836. #. type: item
  27837. #: guix-git/doc/guix.texi:19069
  27838. #, no-wrap
  27839. msgid "@code{first-poll} (default @code{#f})"
  27840. msgstr ""
  27841. #. type: table
  27842. #: guix-git/doc/guix.texi:19075
  27843. msgid "Specifies how many seconds AutoSSH waits before the first connection test. After this first test, polling is resumed at the pace defined in @code{poll}. When set to @code{#f}, the first poll is not treated specially and will also use the connection poll specified in @code{poll}."
  27844. msgstr ""
  27845. #. type: item
  27846. #: guix-git/doc/guix.texi:19076
  27847. #, no-wrap
  27848. msgid "@code{gate-time} (default @code{30})"
  27849. msgstr ""
  27850. #. type: table
  27851. #: guix-git/doc/guix.texi:19079
  27852. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27853. msgstr ""
  27854. #. type: item
  27855. #: guix-git/doc/guix.texi:19080
  27856. #, no-wrap
  27857. msgid "@code{log-level} (default @code{1})"
  27858. msgstr ""
  27859. #. type: table
  27860. #: guix-git/doc/guix.texi:19083
  27861. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27862. msgstr ""
  27863. #. type: item
  27864. #: guix-git/doc/guix.texi:19084
  27865. #, no-wrap
  27866. msgid "@code{max-start} (default @code{#f})"
  27867. msgstr ""
  27868. #. type: table
  27869. #: guix-git/doc/guix.texi:19087
  27870. msgid "The maximum number of times SSH may be (re)started before AutoSSH exits. When set to @code{#f}, no maximum is configured and AutoSSH may restart indefinitely."
  27871. msgstr ""
  27872. #. type: item
  27873. #: guix-git/doc/guix.texi:19088
  27874. #, no-wrap
  27875. msgid "@code{message} (default @code{\"\"})"
  27876. msgstr ""
  27877. #. type: table
  27878. #: guix-git/doc/guix.texi:19090
  27879. msgid "The message to append to the echo message sent when testing connections."
  27880. msgstr ""
  27881. #. type: item
  27882. #: guix-git/doc/guix.texi:19091
  27883. #, no-wrap
  27884. msgid "@code{port} (default @code{\"0\"})"
  27885. msgstr ""
  27886. #. type: table
  27887. #: guix-git/doc/guix.texi:19101
  27888. msgid "The ports used for monitoring the connection. When set to @code{\"0\"}, monitoring is disabled. When set to @code{\"@var{n}\"} where @var{n} is a positive integer, ports @var{n} and @var{n}+1 are used for monitoring the connection, such that port @var{n} is the base monitoring port and @code{n+1} is the echo port. When set to @code{\"@var{n}:@var{m}\"} where @var{n} and @var{m} are positive integers, the ports @var{n} and @var{m} are used for monitoring the connection, such that port @var{n} is the base monitoring port and @var{m} is the echo port."
  27889. msgstr ""
  27890. #. type: item
  27891. #: guix-git/doc/guix.texi:19102
  27892. #, no-wrap
  27893. msgid "@code{ssh-options} (default @code{'()})"
  27894. msgstr ""
  27895. #. type: table
  27896. #: guix-git/doc/guix.texi:19106
  27897. msgid "The list of command-line arguments to pass to @command{ssh} when it is run. Options @option{-f} and @option{-M} are reserved for AutoSSH and may cause undefined behaviour."
  27898. msgstr ""
  27899. #. type: cindex
  27900. #: guix-git/doc/guix.texi:19110
  27901. #, no-wrap
  27902. msgid "WebSSH"
  27903. msgstr ""
  27904. #. type: deffn
  27905. #: guix-git/doc/guix.texi:19111
  27906. #, no-wrap
  27907. msgid "{Scheme Variable} webssh-service-type"
  27908. msgstr ""
  27909. #. type: deffn
  27910. #: guix-git/doc/guix.texi:19117
  27911. msgid "This is the type for the @uref{https://webssh.huashengdun.org/, WebSSH} program that runs a web SSH client. WebSSH can be run manually from the command-line by passing arguments to the binary @command{wssh} from the package @code{webssh}, but it can also be run as a Guix service. This latter use case is documented here."
  27912. msgstr ""
  27913. #. type: deffn
  27914. #: guix-git/doc/guix.texi:19123
  27915. msgid "For example, to specify a service running WebSSH on loopback interface on port @code{8888} with reject policy with a list of allowed to connection hosts, and NGINX as a reverse-proxy to this service listening for HTTPS connection, add this call to the operating system's @code{services} field:"
  27916. msgstr ""
  27917. #. type: lisp
  27918. #: guix-git/doc/guix.texi:19131
  27919. #, no-wrap
  27920. msgid ""
  27921. "(service webssh-service-type\n"
  27922. " (webssh-configuration (address \"127.0.0.1\")\n"
  27923. " (port 8888)\n"
  27924. " (policy 'reject)\n"
  27925. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27926. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27927. "\n"
  27928. msgstr ""
  27929. #. type: lisp
  27930. #: guix-git/doc/guix.texi:19147
  27931. #, no-wrap
  27932. msgid ""
  27933. "(service nginx-service-type\n"
  27934. " (nginx-configuration\n"
  27935. " (server-blocks\n"
  27936. " (list\n"
  27937. " (nginx-server-configuration\n"
  27938. " (inherit %webssh-configuration-nginx)\n"
  27939. " (server-name '(\"webssh.example.com\"))\n"
  27940. " (listen '(\"443 ssl\"))\n"
  27941. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27942. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27943. " (locations\n"
  27944. " (cons (nginx-location-configuration\n"
  27945. " (uri \"/.well-known\")\n"
  27946. " (body '(\"root /var/www;\")))\n"
  27947. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27948. msgstr ""
  27949. #. type: deftp
  27950. #: guix-git/doc/guix.texi:19150
  27951. #, no-wrap
  27952. msgid "{Data Type} webssh-configuration"
  27953. msgstr ""
  27954. #. type: deftp
  27955. #: guix-git/doc/guix.texi:19152
  27956. msgid "Data type representing the configuration for @code{webssh-service}."
  27957. msgstr ""
  27958. #. type: item
  27959. #: guix-git/doc/guix.texi:19154
  27960. #, no-wrap
  27961. msgid "@code{package} (default: @var{webssh})"
  27962. msgstr ""
  27963. #. type: table
  27964. #: guix-git/doc/guix.texi:19156
  27965. msgid "@code{webssh} package to use."
  27966. msgstr ""
  27967. #. type: item
  27968. #: guix-git/doc/guix.texi:19157
  27969. #, no-wrap
  27970. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27971. msgstr ""
  27972. #. type: table
  27973. #: guix-git/doc/guix.texi:19160
  27974. msgid "User name or user ID that file transfers to and from that module should take place."
  27975. msgstr ""
  27976. #. type: item
  27977. #: guix-git/doc/guix.texi:19161
  27978. #, no-wrap
  27979. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27980. msgstr ""
  27981. #. type: item
  27982. #: guix-git/doc/guix.texi:19164
  27983. #, no-wrap
  27984. msgid "@code{address} (default: @var{#f})"
  27985. msgstr ""
  27986. #. type: table
  27987. #: guix-git/doc/guix.texi:19166
  27988. msgid "IP address on which @command{webssh} listens for incoming connections."
  27989. msgstr ""
  27990. #. type: item
  27991. #: guix-git/doc/guix.texi:19167
  27992. #, no-wrap
  27993. msgid "@code{port} (default: @var{8888})"
  27994. msgstr ""
  27995. #. type: table
  27996. #: guix-git/doc/guix.texi:19169
  27997. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27998. msgstr ""
  27999. #. type: item
  28000. #: guix-git/doc/guix.texi:19170
  28001. #, no-wrap
  28002. msgid "@code{policy} (default: @var{#f})"
  28003. msgstr ""
  28004. #. type: table
  28005. #: guix-git/doc/guix.texi:19172
  28006. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  28007. msgstr ""
  28008. #. type: item
  28009. #: guix-git/doc/guix.texi:19173
  28010. #, no-wrap
  28011. msgid "@code{known-hosts} (default: @var{'()})"
  28012. msgstr ""
  28013. #. type: table
  28014. #: guix-git/doc/guix.texi:19175
  28015. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  28016. msgstr ""
  28017. #. type: item
  28018. #: guix-git/doc/guix.texi:19176
  28019. #, no-wrap
  28020. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  28021. msgstr ""
  28022. #. type: table
  28023. #: guix-git/doc/guix.texi:19178
  28024. msgid "Name of the file where @command{webssh} writes its log file."
  28025. msgstr ""
  28026. #. type: item
  28027. #: guix-git/doc/guix.texi:19179
  28028. #, no-wrap
  28029. msgid "@code{log-level} (default: @var{#f})"
  28030. msgstr ""
  28031. #. type: table
  28032. #: guix-git/doc/guix.texi:19181
  28033. msgid "Logging level."
  28034. msgstr ""
  28035. #. type: defvr
  28036. #: guix-git/doc/guix.texi:19185
  28037. #, no-wrap
  28038. msgid "{Scheme Variable} %facebook-host-aliases"
  28039. msgstr ""
  28040. #. type: defvr
  28041. #: guix-git/doc/guix.texi:19191
  28042. msgid "This variable contains a string for use in @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). Each line contains a entry that maps a known server name of the Facebook on-line service---e.g., @code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}."
  28043. msgstr ""
  28044. #. type: defvr
  28045. #: guix-git/doc/guix.texi:19195
  28046. msgid "This variable is typically used in the @code{hosts-file} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @file{/etc/hosts}}):"
  28047. msgstr ""
  28048. #. type: lisp
  28049. #: guix-git/doc/guix.texi:19208
  28050. #, no-wrap
  28051. msgid ""
  28052. "(operating-system\n"
  28053. " (host-name \"mymachine\")\n"
  28054. " ;; ...\n"
  28055. " (hosts-file\n"
  28056. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  28057. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  28058. " (plain-file \"hosts\"\n"
  28059. " (string-append (local-host-aliases host-name)\n"
  28060. " %facebook-host-aliases))))\n"
  28061. msgstr ""
  28062. #. type: defvr
  28063. #: guix-git/doc/guix.texi:19212
  28064. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  28065. msgstr ""
  28066. #. type: Plain text
  28067. #: guix-git/doc/guix.texi:19215
  28068. msgid "The @code{(gnu services avahi)} provides the following definition."
  28069. msgstr ""
  28070. #. type: defvr
  28071. #: guix-git/doc/guix.texi:19216
  28072. #, no-wrap
  28073. msgid "{Scheme Variable} avahi-service-type"
  28074. msgstr ""
  28075. #. type: defvr
  28076. #: guix-git/doc/guix.texi:19221
  28077. msgid "This is the service that runs @command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for service discovery and ``zero-configuration'' host name lookups (see @uref{https://avahi.org/}). Its value must be an @code{avahi-configuration} record---see below."
  28078. msgstr ""
  28079. #. type: defvr
  28080. #: guix-git/doc/guix.texi:19226
  28081. msgid "This service extends the name service cache daemon (nscd) so that it can resolve @code{.local} host names using @uref{https://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. @xref{Name Service Switch}, for information on host name resolution."
  28082. msgstr ""
  28083. #. type: defvr
  28084. #: guix-git/doc/guix.texi:19229
  28085. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  28086. msgstr ""
  28087. #. type: deftp
  28088. #: guix-git/doc/guix.texi:19231
  28089. #, no-wrap
  28090. msgid "{Data Type} avahi-configuration"
  28091. msgstr ""
  28092. #. type: deftp
  28093. #: guix-git/doc/guix.texi:19233
  28094. msgid "Data type representation the configuration for Avahi."
  28095. msgstr ""
  28096. #. type: item
  28097. #: guix-git/doc/guix.texi:19236
  28098. #, no-wrap
  28099. msgid "@code{host-name} (default: @code{#f})"
  28100. msgstr ""
  28101. #. type: table
  28102. #: guix-git/doc/guix.texi:19239
  28103. msgid "If different from @code{#f}, use that as the host name to publish for this machine; otherwise, use the machine's actual host name."
  28104. msgstr ""
  28105. #. type: item
  28106. #: guix-git/doc/guix.texi:19240 guix-git/doc/guix.texi:29565
  28107. #, no-wrap
  28108. msgid "@code{publish?} (default: @code{#t})"
  28109. msgstr ""
  28110. #. type: table
  28111. #: guix-git/doc/guix.texi:19243
  28112. msgid "When true, allow host names and services to be published (broadcast) over the network."
  28113. msgstr ""
  28114. #. type: item
  28115. #: guix-git/doc/guix.texi:19244
  28116. #, no-wrap
  28117. msgid "@code{publish-workstation?} (default: @code{#t})"
  28118. msgstr ""
  28119. #. type: table
  28120. #: guix-git/doc/guix.texi:19248
  28121. msgid "When true, @command{avahi-daemon} publishes the machine's host name and IP address via mDNS on the local network. To view the host names published on your local network, you can run:"
  28122. msgstr ""
  28123. #. type: example
  28124. #: guix-git/doc/guix.texi:19251
  28125. #, no-wrap
  28126. msgid "avahi-browse _workstation._tcp\n"
  28127. msgstr ""
  28128. #. type: item
  28129. #: guix-git/doc/guix.texi:19253
  28130. #, no-wrap
  28131. msgid "@code{wide-area?} (default: @code{#f})"
  28132. msgstr ""
  28133. #. type: table
  28134. #: guix-git/doc/guix.texi:19255
  28135. msgid "When true, DNS-SD over unicast DNS is enabled."
  28136. msgstr ""
  28137. #. type: item
  28138. #: guix-git/doc/guix.texi:19256
  28139. #, no-wrap
  28140. msgid "@code{ipv4?} (default: @code{#t})"
  28141. msgstr ""
  28142. #. type: itemx
  28143. #: guix-git/doc/guix.texi:19257
  28144. #, no-wrap
  28145. msgid "@code{ipv6?} (default: @code{#t})"
  28146. msgstr ""
  28147. #. type: table
  28148. #: guix-git/doc/guix.texi:19259
  28149. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  28150. msgstr ""
  28151. #. type: item
  28152. #: guix-git/doc/guix.texi:19260
  28153. #, no-wrap
  28154. msgid "@code{domains-to-browse} (default: @code{'()})"
  28155. msgstr ""
  28156. #. type: table
  28157. #: guix-git/doc/guix.texi:19262
  28158. msgid "This is a list of domains to browse."
  28159. msgstr ""
  28160. #. type: deffn
  28161. #: guix-git/doc/guix.texi:19265
  28162. #, no-wrap
  28163. msgid "{Scheme Variable} openvswitch-service-type"
  28164. msgstr ""
  28165. #. type: deffn
  28166. #: guix-git/doc/guix.texi:19269
  28167. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  28168. msgstr ""
  28169. #. type: deftp
  28170. #: guix-git/doc/guix.texi:19271
  28171. #, no-wrap
  28172. msgid "{Data Type} openvswitch-configuration"
  28173. msgstr ""
  28174. #. type: deftp
  28175. #: guix-git/doc/guix.texi:19275
  28176. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  28177. msgstr ""
  28178. #. type: item
  28179. #: guix-git/doc/guix.texi:19277
  28180. #, no-wrap
  28181. msgid "@code{package} (default: @var{openvswitch})"
  28182. msgstr ""
  28183. #. type: table
  28184. #: guix-git/doc/guix.texi:19279
  28185. msgid "Package object of the Open vSwitch."
  28186. msgstr ""
  28187. #. type: defvr
  28188. #: guix-git/doc/guix.texi:19283
  28189. #, no-wrap
  28190. msgid "{Scheme Variable} pagekite-service-type"
  28191. msgstr ""
  28192. #. type: defvr
  28193. #: guix-git/doc/guix.texi:19288
  28194. msgid "This is the service type for the @uref{https://pagekite.net, PageKite} service, a tunneling solution for making localhost servers publicly visible, even from behind restrictive firewalls or NAT without forwarded ports. The value for this service type is a @code{pagekite-configuration} record."
  28195. msgstr ""
  28196. #. type: defvr
  28197. #: guix-git/doc/guix.texi:19290
  28198. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  28199. msgstr ""
  28200. #. type: lisp
  28201. #: guix-git/doc/guix.texi:19297
  28202. #, no-wrap
  28203. msgid ""
  28204. "(service pagekite-service-type\n"
  28205. " (pagekite-configuration\n"
  28206. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  28207. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  28208. " (extra-file \"/etc/pagekite.rc\")))\n"
  28209. msgstr ""
  28210. #. type: deftp
  28211. #: guix-git/doc/guix.texi:19300
  28212. #, no-wrap
  28213. msgid "{Data Type} pagekite-configuration"
  28214. msgstr ""
  28215. #. type: deftp
  28216. #: guix-git/doc/guix.texi:19302
  28217. msgid "Data type representing the configuration of PageKite."
  28218. msgstr ""
  28219. #. type: item
  28220. #: guix-git/doc/guix.texi:19304
  28221. #, no-wrap
  28222. msgid "@code{package} (default: @var{pagekite})"
  28223. msgstr ""
  28224. #. type: table
  28225. #: guix-git/doc/guix.texi:19306
  28226. msgid "Package object of PageKite."
  28227. msgstr ""
  28228. #. type: item
  28229. #: guix-git/doc/guix.texi:19307
  28230. #, no-wrap
  28231. msgid "@code{kitename} (default: @code{#f})"
  28232. msgstr ""
  28233. #. type: table
  28234. #: guix-git/doc/guix.texi:19309
  28235. msgid "PageKite name for authenticating to the frontend server."
  28236. msgstr ""
  28237. #. type: item
  28238. #: guix-git/doc/guix.texi:19310
  28239. #, no-wrap
  28240. msgid "@code{kitesecret} (default: @code{#f})"
  28241. msgstr ""
  28242. #. type: table
  28243. #: guix-git/doc/guix.texi:19313
  28244. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  28245. msgstr ""
  28246. #. type: item
  28247. #: guix-git/doc/guix.texi:19314
  28248. #, no-wrap
  28249. msgid "@code{frontend} (default: @code{#f})"
  28250. msgstr ""
  28251. #. type: table
  28252. #: guix-git/doc/guix.texi:19317
  28253. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  28254. msgstr ""
  28255. #. type: item
  28256. #: guix-git/doc/guix.texi:19318
  28257. #, no-wrap
  28258. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  28259. msgstr ""
  28260. #. type: table
  28261. #: guix-git/doc/guix.texi:19321
  28262. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  28263. msgstr ""
  28264. #. type: item
  28265. #: guix-git/doc/guix.texi:19322
  28266. #, no-wrap
  28267. msgid "@code{extra-file} (default: @code{#f})"
  28268. msgstr ""
  28269. #. type: table
  28270. #: guix-git/doc/guix.texi:19325
  28271. msgid "Extra configuration file to read, which you are expected to create manually. Use this to add additional options and manage shared secrets out-of-band."
  28272. msgstr ""
  28273. #. type: defvr
  28274. #: guix-git/doc/guix.texi:19329
  28275. #, no-wrap
  28276. msgid "{Scheme Variable} yggdrasil-service-type"
  28277. msgstr ""
  28278. #. type: defvr
  28279. #: guix-git/doc/guix.texi:19333
  28280. msgid "The service type for connecting to the @uref{https://yggdrasil-network.github.io/, Yggdrasil network}, an early-stage implementation of a fully end-to-end encrypted IPv6 network."
  28281. msgstr ""
  28282. #. type: quotation
  28283. #: guix-git/doc/guix.texi:19340
  28284. msgid "Yggdrasil provides name-independent routing with cryptographically generated addresses. Static addressing means you can keep the same address as long as you want, even if you move to a new location, or generate a new address (by generating new keys) whenever you want. @uref{https://yggdrasil-network.github.io/2018/07/28/addressing.html}"
  28285. msgstr ""
  28286. #. type: defvr
  28287. #: guix-git/doc/guix.texi:19344
  28288. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  28289. msgstr ""
  28290. #. type: defvr
  28291. #: guix-git/doc/guix.texi:19348
  28292. msgid "Here is an example using public peers and a static address. The static signing and encryption keys are defined in @file{/etc/yggdrasil-private.conf} (the default value for @code{config-file})."
  28293. msgstr ""
  28294. #. type: lisp
  28295. #: guix-git/doc/guix.texi:19360
  28296. #, no-wrap
  28297. msgid ""
  28298. ";; part of the operating-system declaration\n"
  28299. "(service yggdrasil-service-type\n"
  28300. " (yggdrasil-configuration\n"
  28301. " (autoconf? #f) ;; use only the public peers\n"
  28302. " (json-config\n"
  28303. " ;; choose one from\n"
  28304. " ;; https://github.com/yggdrasil-network/public-peers\n"
  28305. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  28306. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  28307. " ))\n"
  28308. msgstr ""
  28309. #. type: example
  28310. #: guix-git/doc/guix.texi:19367
  28311. #, no-wrap
  28312. msgid ""
  28313. "# sample content for /etc/yggdrasil-private.conf\n"
  28314. "@{\n"
  28315. " # Your public encryption key. Your peers may ask you for this to put\n"
  28316. " # into their AllowedEncryptionPublicKeys configuration.\n"
  28317. " EncryptionPublicKey: 378dc5...\n"
  28318. "\n"
  28319. msgstr ""
  28320. #. type: example
  28321. #: guix-git/doc/guix.texi:19370
  28322. #, no-wrap
  28323. msgid ""
  28324. " # Your private encryption key. DO NOT share this with anyone!\n"
  28325. " EncryptionPrivateKey: 0777...\n"
  28326. "\n"
  28327. msgstr ""
  28328. #. type: example
  28329. #: guix-git/doc/guix.texi:19374
  28330. #, no-wrap
  28331. msgid ""
  28332. " # Your public signing key. You should not ordinarily need to share\n"
  28333. " # this with anyone.\n"
  28334. " SigningPublicKey: e1664...\n"
  28335. "\n"
  28336. msgstr ""
  28337. #. type: example
  28338. #: guix-git/doc/guix.texi:19378
  28339. #, no-wrap
  28340. msgid ""
  28341. " # Your private signing key. DO NOT share this with anyone!\n"
  28342. " SigningPrivateKey: 0589d...\n"
  28343. "@}\n"
  28344. msgstr ""
  28345. #. type: deftp
  28346. #: guix-git/doc/guix.texi:19381
  28347. #, no-wrap
  28348. msgid "{Data Type} yggdrasil-configuration"
  28349. msgstr ""
  28350. #. type: deftp
  28351. #: guix-git/doc/guix.texi:19383
  28352. msgid "Data type representing the configuration of Yggdrasil."
  28353. msgstr ""
  28354. #. type: item
  28355. #: guix-git/doc/guix.texi:19385
  28356. #, no-wrap
  28357. msgid "@code{package} (default: @code{yggdrasil})"
  28358. msgstr ""
  28359. #. type: table
  28360. #: guix-git/doc/guix.texi:19387
  28361. msgid "Package object of Yggdrasil."
  28362. msgstr ""
  28363. #. type: item
  28364. #: guix-git/doc/guix.texi:19388
  28365. #, no-wrap
  28366. msgid "@code{json-config} (default: @code{'()})"
  28367. msgstr ""
  28368. #. type: table
  28369. #: guix-git/doc/guix.texi:19394
  28370. msgid "Contents of @file{/etc/yggdrasil.conf}. Will be merged with @file{/etc/yggdrasil-private.conf}. Note that these settings are stored in the Guix store, which is readable to all users. @strong{Do not store your private keys in it}. See the output of @code{yggdrasil -genconf} for a quick overview of valid keys and their default values."
  28371. msgstr ""
  28372. #. type: item
  28373. #: guix-git/doc/guix.texi:19395
  28374. #, no-wrap
  28375. msgid "@code{autoconf?} (default: @code{#f})"
  28376. msgstr ""
  28377. #. type: table
  28378. #: guix-git/doc/guix.texi:19398
  28379. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  28380. msgstr ""
  28381. #. type: table
  28382. #: guix-git/doc/guix.texi:19401
  28383. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  28384. msgstr ""
  28385. #. type: item
  28386. #: guix-git/doc/guix.texi:19402
  28387. #, no-wrap
  28388. msgid "@code{log-to} (default: @code{'stdout})"
  28389. msgstr ""
  28390. #. type: table
  28391. #: guix-git/doc/guix.texi:19406
  28392. msgid "Where to send logs. By default, the service logs standard output to @file{/var/log/yggdrasil.log}. The alternative is @code{'syslog}, which sends output to the running syslog service."
  28393. msgstr ""
  28394. #. type: item
  28395. #: guix-git/doc/guix.texi:19407
  28396. #, no-wrap
  28397. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  28398. msgstr ""
  28399. #. type: table
  28400. #: guix-git/doc/guix.texi:19414
  28401. msgid "What HJSON file to load sensitive data from. This is where private keys should be stored, which are necessary to specify if you don't want a randomized address after each restart. Use @code{#f} to disable. Options defined in this file take precedence over @code{json-config}. Use the output of @code{yggdrasil -genconf} as a starting point. To configure a static address, delete everything except these options:"
  28402. msgstr ""
  28403. #. type: code{#1}
  28404. #: guix-git/doc/guix.texi:19416
  28405. #, no-wrap
  28406. msgid "EncryptionPublicKey"
  28407. msgstr ""
  28408. #. type: code{#1}
  28409. #: guix-git/doc/guix.texi:19417
  28410. #, no-wrap
  28411. msgid "EncryptionPrivateKey"
  28412. msgstr ""
  28413. #. type: code{#1}
  28414. #: guix-git/doc/guix.texi:19418
  28415. #, no-wrap
  28416. msgid "SigningPublicKey"
  28417. msgstr ""
  28418. #. type: code{#1}
  28419. #: guix-git/doc/guix.texi:19419
  28420. #, no-wrap
  28421. msgid "SigningPrivateKey"
  28422. msgstr ""
  28423. #. type: cindex
  28424. #: guix-git/doc/guix.texi:19424
  28425. #, no-wrap
  28426. msgid "IPFS"
  28427. msgstr ""
  28428. #. type: defvr
  28429. #: guix-git/doc/guix.texi:19425
  28430. #, no-wrap
  28431. msgid "{Scheme Variable} ipfs-service-type"
  28432. msgstr ""
  28433. #. type: defvr
  28434. #: guix-git/doc/guix.texi:19429
  28435. msgid "The service type for connecting to the @uref{https://ipfs.io,IPFS network}, a global, versioned, peer-to-peer file system. Pass it a @code{ipfs-configuration} to change the ports used for the gateway and API."
  28436. msgstr ""
  28437. #. type: defvr
  28438. #: guix-git/doc/guix.texi:19431
  28439. msgid "Here's an example configuration, using some non-standard ports:"
  28440. msgstr ""
  28441. #. type: lisp
  28442. #: guix-git/doc/guix.texi:19437
  28443. #, no-wrap
  28444. msgid ""
  28445. "(service ipfs-service-type\n"
  28446. " (ipfs-configuration\n"
  28447. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  28448. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  28449. msgstr ""
  28450. #. type: deftp
  28451. #: guix-git/doc/guix.texi:19440
  28452. #, no-wrap
  28453. msgid "{Data Type} ipfs-configuration"
  28454. msgstr ""
  28455. #. type: deftp
  28456. #: guix-git/doc/guix.texi:19442
  28457. msgid "Data type representing the configuration of IPFS."
  28458. msgstr ""
  28459. #. type: item
  28460. #: guix-git/doc/guix.texi:19444
  28461. #, no-wrap
  28462. msgid "@code{package} (default: @code{go-ipfs})"
  28463. msgstr ""
  28464. #. type: table
  28465. #: guix-git/doc/guix.texi:19446
  28466. msgid "Package object of IPFS."
  28467. msgstr ""
  28468. #. type: item
  28469. #: guix-git/doc/guix.texi:19447
  28470. #, no-wrap
  28471. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  28472. msgstr ""
  28473. #. type: table
  28474. #: guix-git/doc/guix.texi:19449
  28475. msgid "Address of the gateway, in ‘multiaddress’ format."
  28476. msgstr ""
  28477. #. type: item
  28478. #: guix-git/doc/guix.texi:19450
  28479. #, no-wrap
  28480. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  28481. msgstr ""
  28482. #. type: table
  28483. #: guix-git/doc/guix.texi:19452
  28484. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  28485. msgstr ""
  28486. #. type: cindex
  28487. #: guix-git/doc/guix.texi:19455
  28488. #, no-wrap
  28489. msgid "keepalived"
  28490. msgstr ""
  28491. #. type: deffn
  28492. #: guix-git/doc/guix.texi:19456
  28493. #, no-wrap
  28494. msgid "{Scheme Variable} keepalived-service-type"
  28495. msgstr ""
  28496. #. type: deffn
  28497. #: guix-git/doc/guix.texi:19461
  28498. msgid "This is the type for the @uref{https://www.keepalived.org/, Keepalived} routing software, @command{keepalived}. Its value must be an @code{keepalived-configuration} record as in this example for master machine:"
  28499. msgstr ""
  28500. #. type: lisp
  28501. #: guix-git/doc/guix.texi:19466
  28502. #, no-wrap
  28503. msgid ""
  28504. "(service keepalived-service-type\n"
  28505. " (keepalived-configuration\n"
  28506. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  28507. msgstr ""
  28508. #. type: deffn
  28509. #: guix-git/doc/guix.texi:19469
  28510. msgid "where @file{keepalived-master.conf}:"
  28511. msgstr ""
  28512. #. type: example
  28513. #: guix-git/doc/guix.texi:19481
  28514. #, no-wrap
  28515. msgid ""
  28516. "vrrp_instance my-group @{\n"
  28517. " state MASTER\n"
  28518. " interface enp9s0\n"
  28519. " virtual_router_id 100\n"
  28520. " priority 100\n"
  28521. " unicast_peer @{ 10.0.0.2 @}\n"
  28522. " virtual_ipaddress @{\n"
  28523. " 10.0.0.4/24\n"
  28524. " @}\n"
  28525. "@}\n"
  28526. msgstr ""
  28527. #. type: deffn
  28528. #: guix-git/doc/guix.texi:19484
  28529. msgid "and for backup machine:"
  28530. msgstr ""
  28531. #. type: lisp
  28532. #: guix-git/doc/guix.texi:19489
  28533. #, no-wrap
  28534. msgid ""
  28535. "(service keepalived-service-type\n"
  28536. " (keepalived-configuration\n"
  28537. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  28538. msgstr ""
  28539. #. type: deffn
  28540. #: guix-git/doc/guix.texi:19492
  28541. msgid "where @file{keepalived-backup.conf}:"
  28542. msgstr ""
  28543. #. type: example
  28544. #: guix-git/doc/guix.texi:19504
  28545. #, no-wrap
  28546. msgid ""
  28547. "vrrp_instance my-group @{\n"
  28548. " state BACKUP\n"
  28549. " interface enp9s0\n"
  28550. " virtual_router_id 100\n"
  28551. " priority 99\n"
  28552. " unicast_peer @{ 10.0.0.3 @}\n"
  28553. " virtual_ipaddress @{\n"
  28554. " 10.0.0.4/24\n"
  28555. " @}\n"
  28556. "@}\n"
  28557. msgstr ""
  28558. #. type: cindex
  28559. #: guix-git/doc/guix.texi:19510
  28560. #, no-wrap
  28561. msgid "unattended upgrades"
  28562. msgstr ""
  28563. #. type: cindex
  28564. #: guix-git/doc/guix.texi:19511
  28565. #, no-wrap
  28566. msgid "upgrades, unattended"
  28567. msgstr ""
  28568. #. type: Plain text
  28569. #: guix-git/doc/guix.texi:19516
  28570. msgid "Guix provides a service to perform @emph{unattended upgrades}: periodically, the system automatically reconfigures itself from the latest Guix. Guix System has several properties that make unattended upgrades safe:"
  28571. msgstr ""
  28572. #. type: itemize
  28573. #: guix-git/doc/guix.texi:19521
  28574. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  28575. msgstr ""
  28576. #. type: itemize
  28577. #: guix-git/doc/guix.texi:19525
  28578. msgid "the upgrade log is kept---you can view it with @command{guix system list-generations}---and you can roll back to any previous generation, should the upgraded system fail to behave as intended;"
  28579. msgstr ""
  28580. #. type: itemize
  28581. #: guix-git/doc/guix.texi:19528
  28582. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  28583. msgstr ""
  28584. #. type: itemize
  28585. #: guix-git/doc/guix.texi:19531
  28586. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  28587. msgstr ""
  28588. #. type: Plain text
  28589. #: guix-git/doc/guix.texi:19536
  28590. msgid "To set up unattended upgrades, add an instance of @code{unattended-upgrade-service-type} like the one below to the list of your operating system services:"
  28591. msgstr ""
  28592. #. type: lisp
  28593. #: guix-git/doc/guix.texi:19539
  28594. #, no-wrap
  28595. msgid "(service unattended-upgrade-service-type)\n"
  28596. msgstr ""
  28597. #. type: Plain text
  28598. #: guix-git/doc/guix.texi:19546
  28599. msgid "The defaults above set up weekly upgrades: every Sunday at midnight. You do not need to provide the operating system configuration file: it uses @file{/run/current-system/configuration.scm}, which ensures it always uses your latest configuration---@pxref{provenance-service-type}, for more information about this file."
  28600. msgstr ""
  28601. #. type: Plain text
  28602. #: guix-git/doc/guix.texi:19552
  28603. msgid "There are several things that can be configured, in particular the periodicity and services (daemons) to be restarted upon completion. When the upgrade is successful, the service takes care of deleting system generations older that some threshold, as per @command{guix system delete-generations}. See the reference below for details."
  28604. msgstr ""
  28605. #. type: Plain text
  28606. #: guix-git/doc/guix.texi:19556
  28607. msgid "To ensure that upgrades are actually happening, you can run @command{guix system describe}. To investigate upgrade failures, visit the unattended upgrade log file (see below)."
  28608. msgstr ""
  28609. #. type: defvr
  28610. #: guix-git/doc/guix.texi:19557
  28611. #, no-wrap
  28612. msgid "{Scheme Variable} unattended-upgrade-service-type"
  28613. msgstr ""
  28614. #. type: defvr
  28615. #: guix-git/doc/guix.texi:19561
  28616. msgid "This is the service type for unattended upgrades. It sets up an mcron job (@pxref{Scheduled Job Execution}) that runs @command{guix system reconfigure} from the latest version of the specified channels."
  28617. msgstr ""
  28618. #. type: defvr
  28619. #: guix-git/doc/guix.texi:19564
  28620. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  28621. msgstr ""
  28622. #. type: deftp
  28623. #: guix-git/doc/guix.texi:19566
  28624. #, no-wrap
  28625. msgid "{Data Type} unattended-upgrade-configuration"
  28626. msgstr ""
  28627. #. type: deftp
  28628. #: guix-git/doc/guix.texi:19569
  28629. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  28630. msgstr ""
  28631. #. type: item
  28632. #: guix-git/doc/guix.texi:19571
  28633. #, no-wrap
  28634. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  28635. msgstr ""
  28636. #. type: table
  28637. #: guix-git/doc/guix.texi:19575
  28638. msgid "This is the schedule of upgrades, expressed as a gexp containing an mcron job schedule (@pxref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})."
  28639. msgstr ""
  28640. #. type: item
  28641. #: guix-git/doc/guix.texi:19576
  28642. #, no-wrap
  28643. msgid "@code{channels} (default: @code{#~%default-channels})"
  28644. msgstr ""
  28645. #. type: table
  28646. #: guix-git/doc/guix.texi:19580
  28647. msgid "This gexp specifies the channels to use for the upgrade (@pxref{Channels}). By default, the tip of the official @code{guix} channel is used."
  28648. msgstr ""
  28649. #. type: item
  28650. #: guix-git/doc/guix.texi:19581
  28651. #, no-wrap
  28652. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  28653. msgstr ""
  28654. #. type: table
  28655. #: guix-git/doc/guix.texi:19584
  28656. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  28657. msgstr ""
  28658. #. type: table
  28659. #: guix-git/doc/guix.texi:19590
  28660. msgid "There are cases, though, where referring to @file{/run/current-system/configuration.scm} is not enough, for instance because that file refers to extra files (SSH public keys, extra configuration files, etc.) @i{via} @code{local-file} and similar constructs. For those cases, we recommend something along these lines:"
  28661. msgstr ""
  28662. #. type: lisp
  28663. #: guix-git/doc/guix.texi:19596
  28664. #, no-wrap
  28665. msgid ""
  28666. "(unattended-upgrade-configuration\n"
  28667. " (operating-system-file\n"
  28668. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  28669. " \"/config.scm\")))\n"
  28670. msgstr ""
  28671. #. type: table
  28672. #: guix-git/doc/guix.texi:19603
  28673. msgid "The effect here is to import all of the current directory into the store, and to refer to @file{config.scm} within that directory. Therefore, uses of @code{local-file} within @file{config.scm} will work as expected. @xref{G-Expressions}, for information about @code{local-file} and @code{file-append}."
  28674. msgstr ""
  28675. #. type: item
  28676. #: guix-git/doc/guix.texi:19604
  28677. #, no-wrap
  28678. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28679. msgstr ""
  28680. #. type: table
  28681. #: guix-git/doc/guix.texi:19607
  28682. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28683. msgstr ""
  28684. #. type: table
  28685. #: guix-git/doc/guix.texi:19614
  28686. msgid "Those services are restarted right away upon completion, as with @command{herd restart}, which ensures that the latest version is running---remember that by default @command{guix system reconfigure} only restarts services that are not currently running, which is conservative: it minimizes disruption but leaves outdated services running."
  28687. msgstr ""
  28688. #. type: table
  28689. #: guix-git/doc/guix.texi:19618
  28690. msgid "Use @command{herd status} to find out candidates for restarting. @xref{Services}, for general information about services. Common services to restart would include @code{ntpd} and @code{ssh-daemon}."
  28691. msgstr ""
  28692. #. type: table
  28693. #: guix-git/doc/guix.texi:19621
  28694. msgid "By default, the @code{mcron} service is restarted. This ensures that the latest version of the unattended upgrade job will be used next time."
  28695. msgstr ""
  28696. #. type: item
  28697. #: guix-git/doc/guix.texi:19622
  28698. #, no-wrap
  28699. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28700. msgstr ""
  28701. #. type: table
  28702. #: guix-git/doc/guix.texi:19626
  28703. msgid "This is the expiration time in seconds for system generations. System generations older that this amount of time are deleted with @command{guix system delete-generations} when an upgrade completes."
  28704. msgstr ""
  28705. #. type: quotation
  28706. #: guix-git/doc/guix.texi:19631
  28707. msgid "The unattended upgrade service does not run the garbage collector. You will probably want to set up your own mcron job to run @command{guix gc} periodically."
  28708. msgstr ""
  28709. #. type: item
  28710. #: guix-git/doc/guix.texi:19633
  28711. #, no-wrap
  28712. msgid "@code{maximum-duration} (default: @code{3600})"
  28713. msgstr ""
  28714. #. type: table
  28715. #: guix-git/doc/guix.texi:19636
  28716. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28717. msgstr ""
  28718. #. type: table
  28719. #: guix-git/doc/guix.texi:19639
  28720. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28721. msgstr ""
  28722. #. type: item
  28723. #: guix-git/doc/guix.texi:19640
  28724. #, no-wrap
  28725. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28726. msgstr ""
  28727. #. type: table
  28728. #: guix-git/doc/guix.texi:19642
  28729. msgid "File where unattended upgrades are logged."
  28730. msgstr ""
  28731. #. type: cindex
  28732. #: guix-git/doc/guix.texi:19648
  28733. #, no-wrap
  28734. msgid "X11"
  28735. msgstr ""
  28736. #. type: cindex
  28737. #: guix-git/doc/guix.texi:19649
  28738. #, no-wrap
  28739. msgid "X Window System"
  28740. msgstr "Systém okien X"
  28741. #. type: cindex
  28742. #: guix-git/doc/guix.texi:19650 guix-git/doc/guix.texi:19923
  28743. #, no-wrap
  28744. msgid "login manager"
  28745. msgstr ""
  28746. #. type: Plain text
  28747. #: guix-git/doc/guix.texi:19655
  28748. msgid "Support for the X Window graphical display system---specifically Xorg---is provided by the @code{(gnu services xorg)} module. Note that there is no @code{xorg-service} procedure. Instead, the X server is started by the @dfn{login manager}, by default the GNOME Display Manager (GDM)."
  28749. msgstr ""
  28750. #. type: cindex
  28751. #: guix-git/doc/guix.texi:19656
  28752. #, no-wrap
  28753. msgid "GDM"
  28754. msgstr ""
  28755. #. type: cindex
  28756. #: guix-git/doc/guix.texi:19657
  28757. #, no-wrap
  28758. msgid "GNOME, login manager"
  28759. msgstr ""
  28760. #. type: Plain text
  28761. #: guix-git/doc/guix.texi:19661
  28762. msgid "GDM of course allows users to log in into window managers and desktop environments other than GNOME; for those using GNOME, GDM is required for features such as automatic screen locking."
  28763. msgstr ""
  28764. #. type: cindex
  28765. #: guix-git/doc/guix.texi:19662
  28766. #, no-wrap
  28767. msgid "window manager"
  28768. msgstr "správca okien"
  28769. #. type: Plain text
  28770. #: guix-git/doc/guix.texi:19667
  28771. msgid "To use X11, you must install at least one @dfn{window manager}---for example the @code{windowmaker} or @code{openbox} packages---preferably by adding it to the @code{packages} field of your operating system definition (@pxref{operating-system Reference, system-wide packages})."
  28772. msgstr ""
  28773. #. type: anchor{#1}
  28774. #: guix-git/doc/guix.texi:19673
  28775. msgid "wayland-gdm"
  28776. msgstr ""
  28777. #. type: Plain text
  28778. #: guix-git/doc/guix.texi:19673
  28779. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  28780. msgstr ""
  28781. #. type: defvr
  28782. #: guix-git/doc/guix.texi:19674
  28783. #, no-wrap
  28784. msgid "{Scheme Variable} gdm-service-type"
  28785. msgstr ""
  28786. #. type: defvr
  28787. #: guix-git/doc/guix.texi:19679
  28788. msgid "This is the type for the @uref{https://wiki.gnome.org/Projects/GDM/, GNOME Desktop Manager} (GDM), a program that manages graphical display servers and handles graphical user logins. Its value must be a @code{gdm-configuration} (see below)."
  28789. msgstr ""
  28790. #. type: cindex
  28791. #: guix-git/doc/guix.texi:19680
  28792. #, no-wrap
  28793. msgid "session types"
  28794. msgstr ""
  28795. #. type: defvr
  28796. #: guix-git/doc/guix.texi:19688
  28797. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  28798. msgstr ""
  28799. #. type: defvr
  28800. #: guix-git/doc/guix.texi:19692
  28801. msgid "In addition, @file{~/.xsession} files are honored. When available, @file{~/.xsession} must be an executable that starts a window manager and/or other X clients."
  28802. msgstr ""
  28803. #. type: deftp
  28804. #: guix-git/doc/guix.texi:19694
  28805. #, no-wrap
  28806. msgid "{Data Type} gdm-configuration"
  28807. msgstr ""
  28808. #. type: item
  28809. #: guix-git/doc/guix.texi:19696 guix-git/doc/guix.texi:19778
  28810. #, no-wrap
  28811. msgid "@code{auto-login?} (default: @code{#f})"
  28812. msgstr ""
  28813. #. type: itemx
  28814. #: guix-git/doc/guix.texi:19697
  28815. #, no-wrap
  28816. msgid "@code{default-user} (default: @code{#f})"
  28817. msgstr ""
  28818. #. type: table
  28819. #: guix-git/doc/guix.texi:19699
  28820. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28821. msgstr ""
  28822. #. type: table
  28823. #: guix-git/doc/guix.texi:19702
  28824. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28825. msgstr ""
  28826. #. type: item
  28827. #: guix-git/doc/guix.texi:19703 guix-git/doc/guix.texi:25597
  28828. #: guix-git/doc/guix.texi:27217 guix-git/doc/guix.texi:31731
  28829. #: guix-git/doc/guix.texi:31760 guix-git/doc/guix.texi:31789
  28830. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31871
  28831. #: guix-git/doc/guix.texi:31896 guix-git/doc/guix.texi:31923
  28832. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31991
  28833. #, no-wrap
  28834. msgid "@code{debug?} (default: @code{#f})"
  28835. msgstr ""
  28836. #. type: table
  28837. #: guix-git/doc/guix.texi:19705
  28838. msgid "When true, GDM writes debug messages to its log."
  28839. msgstr ""
  28840. #. type: item
  28841. #: guix-git/doc/guix.texi:19706
  28842. #, no-wrap
  28843. msgid "@code{gnome-shell-assets} (default: ...)"
  28844. msgstr ""
  28845. #. type: table
  28846. #: guix-git/doc/guix.texi:19708
  28847. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28848. msgstr ""
  28849. #. type: item
  28850. #: guix-git/doc/guix.texi:19709
  28851. #, no-wrap
  28852. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28853. msgstr ""
  28854. #. type: table
  28855. #: guix-git/doc/guix.texi:19711 guix-git/doc/guix.texi:19805
  28856. #: guix-git/doc/guix.texi:19889
  28857. msgid "Configuration of the Xorg graphical server."
  28858. msgstr ""
  28859. #. type: item
  28860. #: guix-git/doc/guix.texi:19712
  28861. #, no-wrap
  28862. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28863. msgstr ""
  28864. #. type: table
  28865. #: guix-git/doc/guix.texi:19714 guix-git/doc/guix.texi:19904
  28866. msgid "Script to run before starting a X session."
  28867. msgstr ""
  28868. #. type: item
  28869. #: guix-git/doc/guix.texi:19715
  28870. #, no-wrap
  28871. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28872. msgstr ""
  28873. #. type: table
  28874. #: guix-git/doc/guix.texi:19717
  28875. msgid "File name of the @code{dbus-daemon} executable."
  28876. msgstr ""
  28877. #. type: item
  28878. #: guix-git/doc/guix.texi:19718
  28879. #, no-wrap
  28880. msgid "@code{gdm} (default: @code{gdm})"
  28881. msgstr ""
  28882. #. type: table
  28883. #: guix-git/doc/guix.texi:19720
  28884. msgid "The GDM package to use."
  28885. msgstr ""
  28886. #. type: item
  28887. #: guix-git/doc/guix.texi:19721
  28888. #, no-wrap
  28889. msgid "@code{wayland?} (default: @code{#f})"
  28890. msgstr ""
  28891. #. type: table
  28892. #: guix-git/doc/guix.texi:19723
  28893. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28894. msgstr ""
  28895. #. type: item
  28896. #: guix-git/doc/guix.texi:19724
  28897. #, no-wrap
  28898. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28899. msgstr ""
  28900. #. type: table
  28901. #: guix-git/doc/guix.texi:19727
  28902. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28903. msgstr ""
  28904. #. type: defvr
  28905. #: guix-git/doc/guix.texi:19730
  28906. #, no-wrap
  28907. msgid "{Scheme Variable} slim-service-type"
  28908. msgstr ""
  28909. #. type: defvr
  28910. #: guix-git/doc/guix.texi:19732
  28911. msgid "This is the type for the SLiM graphical login manager for X11."
  28912. msgstr ""
  28913. #. type: defvr
  28914. #: guix-git/doc/guix.texi:19736
  28915. msgid "Like GDM, SLiM looks for session types described by @file{.desktop} files and allows users to choose a session from the log-in screen using @kbd{F1}. It also honors @file{~/.xsession} files."
  28916. msgstr ""
  28917. #. type: defvr
  28918. #: guix-git/doc/guix.texi:19743
  28919. msgid "Unlike GDM, SLiM does not spawn the user session on a different VT after logging in, which means that you can only start one graphical session. If you want to be able to run multiple graphical sessions at the same time you have to add multiple SLiM services to your system services. The following example shows how to replace the default GDM service with two SLiM services on tty7 and tty8."
  28920. msgstr ""
  28921. #. type: lisp
  28922. #: guix-git/doc/guix.texi:19748
  28923. #, no-wrap
  28924. msgid ""
  28925. "(use-modules (gnu services)\n"
  28926. " (gnu services desktop)\n"
  28927. " (gnu services xorg))\n"
  28928. "\n"
  28929. msgstr ""
  28930. #. type: lisp
  28931. #: guix-git/doc/guix.texi:19759
  28932. #, no-wrap
  28933. msgid ""
  28934. "(operating-system\n"
  28935. " ;; ...\n"
  28936. " (services (cons* (service slim-service-type (slim-configuration\n"
  28937. " (display \":0\")\n"
  28938. " (vt \"vt7\")))\n"
  28939. " (service slim-service-type (slim-configuration\n"
  28940. " (display \":1\")\n"
  28941. " (vt \"vt8\")))\n"
  28942. " (modify-services %desktop-services\n"
  28943. " (delete gdm-service-type)))))\n"
  28944. msgstr ""
  28945. #. type: deftp
  28946. #: guix-git/doc/guix.texi:19763
  28947. #, no-wrap
  28948. msgid "{Data Type} slim-configuration"
  28949. msgstr ""
  28950. #. type: deftp
  28951. #: guix-git/doc/guix.texi:19765
  28952. msgid "Data type representing the configuration of @code{slim-service-type}."
  28953. msgstr ""
  28954. #. type: table
  28955. #: guix-git/doc/guix.texi:19769
  28956. msgid "Whether to allow logins with empty passwords."
  28957. msgstr ""
  28958. #. type: item
  28959. #: guix-git/doc/guix.texi:19770
  28960. #, no-wrap
  28961. msgid "@code{gnupg?} (default: @code{#f})"
  28962. msgstr ""
  28963. #. type: table
  28964. #: guix-git/doc/guix.texi:19777
  28965. msgid "If enabled, @code{pam-gnupg} will attempt to automatically unlock the user's GPG keys with the login password via @code{gpg-agent}. The keygrips of all keys to be unlocked should be written to @file{~/.pam-gnupg}, and can be queried with @code{gpg -K --with-keygrip}. Presetting passphrases must be enabled by adding @code{allow-preset-passphrase} in @file{~/.gnupg/gpg-agent.conf}."
  28966. msgstr ""
  28967. #. type: itemx
  28968. #: guix-git/doc/guix.texi:19779
  28969. #, no-wrap
  28970. msgid "@code{default-user} (default: @code{\"\"})"
  28971. msgstr ""
  28972. #. type: table
  28973. #: guix-git/doc/guix.texi:19781
  28974. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28975. msgstr ""
  28976. #. type: table
  28977. #: guix-git/doc/guix.texi:19784
  28978. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28979. msgstr ""
  28980. #. type: item
  28981. #: guix-git/doc/guix.texi:19785
  28982. #, no-wrap
  28983. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28984. msgstr ""
  28985. #. type: itemx
  28986. #: guix-git/doc/guix.texi:19786
  28987. #, no-wrap
  28988. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28989. msgstr ""
  28990. #. type: table
  28991. #: guix-git/doc/guix.texi:19788
  28992. msgid "The graphical theme to use and its name."
  28993. msgstr ""
  28994. #. type: item
  28995. #: guix-git/doc/guix.texi:19789
  28996. #, no-wrap
  28997. msgid "@code{auto-login-session} (default: @code{#f})"
  28998. msgstr ""
  28999. #. type: table
  29000. #: guix-git/doc/guix.texi:19792
  29001. msgid "If true, this must be the name of the executable to start as the default session---e.g., @code{(file-append windowmaker \"/bin/windowmaker\")}."
  29002. msgstr ""
  29003. #. type: table
  29004. #: guix-git/doc/guix.texi:19796
  29005. msgid "If false, a session described by one of the available @file{.desktop} files in @code{/run/current-system/profile} and @code{~/.guix-profile} will be used."
  29006. msgstr ""
  29007. #. type: quotation
  29008. #: guix-git/doc/guix.texi:19801
  29009. msgid "You must install at least one window manager in the system profile or in your user profile. Failing to do that, if @code{auto-login-session} is false, you will be unable to log in."
  29010. msgstr ""
  29011. #. type: item
  29012. #: guix-git/doc/guix.texi:19803 guix-git/doc/guix.texi:19887
  29013. #, no-wrap
  29014. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  29015. msgstr ""
  29016. #. type: item
  29017. #: guix-git/doc/guix.texi:19806
  29018. #, no-wrap
  29019. msgid "@code{display} (default @code{\":0\"})"
  29020. msgstr ""
  29021. #. type: table
  29022. #: guix-git/doc/guix.texi:19808
  29023. msgid "The display on which to start the Xorg graphical server."
  29024. msgstr ""
  29025. #. type: item
  29026. #: guix-git/doc/guix.texi:19809
  29027. #, no-wrap
  29028. msgid "@code{vt} (default @code{\"vt7\"})"
  29029. msgstr ""
  29030. #. type: table
  29031. #: guix-git/doc/guix.texi:19811
  29032. msgid "The VT on which to start the Xorg graphical server."
  29033. msgstr ""
  29034. #. type: item
  29035. #: guix-git/doc/guix.texi:19812
  29036. #, no-wrap
  29037. msgid "@code{xauth} (default: @code{xauth})"
  29038. msgstr ""
  29039. #. type: table
  29040. #: guix-git/doc/guix.texi:19814
  29041. msgid "The XAuth package to use."
  29042. msgstr ""
  29043. #. type: item
  29044. #: guix-git/doc/guix.texi:19815
  29045. #, no-wrap
  29046. msgid "@code{shepherd} (default: @code{shepherd})"
  29047. msgstr ""
  29048. #. type: table
  29049. #: guix-git/doc/guix.texi:19818
  29050. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  29051. msgstr ""
  29052. #. type: item
  29053. #: guix-git/doc/guix.texi:19819
  29054. #, no-wrap
  29055. msgid "@code{sessreg} (default: @code{sessreg})"
  29056. msgstr ""
  29057. #. type: table
  29058. #: guix-git/doc/guix.texi:19821
  29059. msgid "The sessreg package used in order to register the session."
  29060. msgstr ""
  29061. #. type: item
  29062. #: guix-git/doc/guix.texi:19822
  29063. #, no-wrap
  29064. msgid "@code{slim} (default: @code{slim})"
  29065. msgstr ""
  29066. #. type: table
  29067. #: guix-git/doc/guix.texi:19824
  29068. msgid "The SLiM package to use."
  29069. msgstr ""
  29070. #. type: defvr
  29071. #: guix-git/doc/guix.texi:19827
  29072. #, no-wrap
  29073. msgid "{Scheme Variable} %default-theme"
  29074. msgstr ""
  29075. #. type: defvrx
  29076. #: guix-git/doc/guix.texi:19828
  29077. #, no-wrap
  29078. msgid "{Scheme Variable} %default-theme-name"
  29079. msgstr ""
  29080. #. type: defvr
  29081. #: guix-git/doc/guix.texi:19830
  29082. msgid "The default SLiM theme and its name."
  29083. msgstr ""
  29084. #. type: deftp
  29085. #: guix-git/doc/guix.texi:19833 guix-git/doc/guix.texi:19940
  29086. #, no-wrap
  29087. msgid "{Data Type} sddm-configuration"
  29088. msgstr ""
  29089. #. type: deftp
  29090. #: guix-git/doc/guix.texi:19835
  29091. msgid "This is the data type representing the SDDM service configuration."
  29092. msgstr ""
  29093. #. type: item
  29094. #: guix-git/doc/guix.texi:19837
  29095. #, no-wrap
  29096. msgid "@code{display-server} (default: \"x11\")"
  29097. msgstr ""
  29098. #. type: table
  29099. #: guix-git/doc/guix.texi:19840
  29100. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  29101. msgstr ""
  29102. #. type: item
  29103. #: guix-git/doc/guix.texi:19841
  29104. #, no-wrap
  29105. msgid "@code{numlock} (default: \"on\")"
  29106. msgstr ""
  29107. #. type: table
  29108. #: guix-git/doc/guix.texi:19843
  29109. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  29110. msgstr ""
  29111. #. type: item
  29112. #: guix-git/doc/guix.texi:19844
  29113. #, no-wrap
  29114. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  29115. msgstr ""
  29116. #. type: table
  29117. #: guix-git/doc/guix.texi:19846
  29118. msgid "Command to run when halting."
  29119. msgstr ""
  29120. #. type: item
  29121. #: guix-git/doc/guix.texi:19847
  29122. #, no-wrap
  29123. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  29124. msgstr ""
  29125. #. type: table
  29126. #: guix-git/doc/guix.texi:19849
  29127. msgid "Command to run when rebooting."
  29128. msgstr ""
  29129. #. type: item
  29130. #: guix-git/doc/guix.texi:19850
  29131. #, no-wrap
  29132. msgid "@code{theme} (default \"maldives\")"
  29133. msgstr ""
  29134. #. type: table
  29135. #: guix-git/doc/guix.texi:19853
  29136. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  29137. msgstr ""
  29138. #. type: item
  29139. #: guix-git/doc/guix.texi:19854
  29140. #, no-wrap
  29141. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  29142. msgstr ""
  29143. #. type: table
  29144. #: guix-git/doc/guix.texi:19856
  29145. msgid "Directory to look for themes."
  29146. msgstr ""
  29147. #. type: item
  29148. #: guix-git/doc/guix.texi:19857
  29149. #, no-wrap
  29150. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  29151. msgstr ""
  29152. #. type: table
  29153. #: guix-git/doc/guix.texi:19859
  29154. msgid "Directory to look for faces."
  29155. msgstr ""
  29156. #. type: item
  29157. #: guix-git/doc/guix.texi:19860
  29158. #, no-wrap
  29159. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  29160. msgstr ""
  29161. #. type: table
  29162. #: guix-git/doc/guix.texi:19862
  29163. msgid "Default PATH to use."
  29164. msgstr ""
  29165. #. type: item
  29166. #: guix-git/doc/guix.texi:19863
  29167. #, no-wrap
  29168. msgid "@code{minimum-uid} (default: 1000)"
  29169. msgstr ""
  29170. #. type: table
  29171. #: guix-git/doc/guix.texi:19865
  29172. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  29173. msgstr ""
  29174. #. type: item
  29175. #: guix-git/doc/guix.texi:19866
  29176. #, no-wrap
  29177. msgid "@code{maximum-uid} (default: 2000)"
  29178. msgstr ""
  29179. #. type: table
  29180. #: guix-git/doc/guix.texi:19868
  29181. msgid "Maximum UID to display in SDDM."
  29182. msgstr ""
  29183. #. type: item
  29184. #: guix-git/doc/guix.texi:19869
  29185. #, no-wrap
  29186. msgid "@code{remember-last-user?} (default #t)"
  29187. msgstr ""
  29188. #. type: table
  29189. #: guix-git/doc/guix.texi:19871
  29190. msgid "Remember last user."
  29191. msgstr ""
  29192. #. type: item
  29193. #: guix-git/doc/guix.texi:19872
  29194. #, no-wrap
  29195. msgid "@code{remember-last-session?} (default #t)"
  29196. msgstr ""
  29197. #. type: table
  29198. #: guix-git/doc/guix.texi:19874
  29199. msgid "Remember last session."
  29200. msgstr ""
  29201. #. type: item
  29202. #: guix-git/doc/guix.texi:19875
  29203. #, no-wrap
  29204. msgid "@code{hide-users} (default \"\")"
  29205. msgstr ""
  29206. #. type: table
  29207. #: guix-git/doc/guix.texi:19877
  29208. msgid "Usernames to hide from SDDM greeter."
  29209. msgstr ""
  29210. #. type: item
  29211. #: guix-git/doc/guix.texi:19878
  29212. #, no-wrap
  29213. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  29214. msgstr ""
  29215. #. type: table
  29216. #: guix-git/doc/guix.texi:19880
  29217. msgid "Users with shells listed will be hidden from the SDDM greeter."
  29218. msgstr ""
  29219. #. type: item
  29220. #: guix-git/doc/guix.texi:19881
  29221. #, no-wrap
  29222. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  29223. msgstr ""
  29224. #. type: table
  29225. #: guix-git/doc/guix.texi:19883
  29226. msgid "Script to run before starting a wayland session."
  29227. msgstr ""
  29228. #. type: item
  29229. #: guix-git/doc/guix.texi:19884
  29230. #, no-wrap
  29231. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  29232. msgstr ""
  29233. #. type: table
  29234. #: guix-git/doc/guix.texi:19886
  29235. msgid "Directory to look for desktop files starting wayland sessions."
  29236. msgstr ""
  29237. #. type: item
  29238. #: guix-git/doc/guix.texi:19890
  29239. #, no-wrap
  29240. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  29241. msgstr ""
  29242. #. type: table
  29243. #: guix-git/doc/guix.texi:19892
  29244. msgid "Path to xauth."
  29245. msgstr ""
  29246. #. type: item
  29247. #: guix-git/doc/guix.texi:19893
  29248. #, no-wrap
  29249. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  29250. msgstr ""
  29251. #. type: table
  29252. #: guix-git/doc/guix.texi:19895
  29253. msgid "Path to Xephyr."
  29254. msgstr ""
  29255. #. type: item
  29256. #: guix-git/doc/guix.texi:19896
  29257. #, no-wrap
  29258. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  29259. msgstr ""
  29260. #. type: table
  29261. #: guix-git/doc/guix.texi:19898
  29262. msgid "Script to run after starting xorg-server."
  29263. msgstr ""
  29264. #. type: item
  29265. #: guix-git/doc/guix.texi:19899
  29266. #, no-wrap
  29267. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  29268. msgstr ""
  29269. #. type: table
  29270. #: guix-git/doc/guix.texi:19901
  29271. msgid "Script to run before stopping xorg-server."
  29272. msgstr ""
  29273. #. type: item
  29274. #: guix-git/doc/guix.texi:19902
  29275. #, no-wrap
  29276. msgid "@code{xsession-command} (default: @code{xinitrc})"
  29277. msgstr ""
  29278. #. type: item
  29279. #: guix-git/doc/guix.texi:19905
  29280. #, no-wrap
  29281. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  29282. msgstr ""
  29283. #. type: table
  29284. #: guix-git/doc/guix.texi:19907
  29285. msgid "Directory to look for desktop files starting X sessions."
  29286. msgstr ""
  29287. #. type: item
  29288. #: guix-git/doc/guix.texi:19908
  29289. #, no-wrap
  29290. msgid "@code{minimum-vt} (default: 7)"
  29291. msgstr ""
  29292. #. type: table
  29293. #: guix-git/doc/guix.texi:19910
  29294. msgid "Minimum VT to use."
  29295. msgstr ""
  29296. #. type: item
  29297. #: guix-git/doc/guix.texi:19911
  29298. #, no-wrap
  29299. msgid "@code{auto-login-user} (default \"\")"
  29300. msgstr ""
  29301. #. type: table
  29302. #: guix-git/doc/guix.texi:19913
  29303. msgid "User to use for auto-login."
  29304. msgstr ""
  29305. #. type: item
  29306. #: guix-git/doc/guix.texi:19914
  29307. #, no-wrap
  29308. msgid "@code{auto-login-session} (default \"\")"
  29309. msgstr ""
  29310. #. type: table
  29311. #: guix-git/doc/guix.texi:19916
  29312. msgid "Desktop file to use for auto-login."
  29313. msgstr ""
  29314. #. type: item
  29315. #: guix-git/doc/guix.texi:19917
  29316. #, no-wrap
  29317. msgid "@code{relogin?} (default #f)"
  29318. msgstr ""
  29319. #. type: table
  29320. #: guix-git/doc/guix.texi:19919
  29321. msgid "Relogin after logout."
  29322. msgstr ""
  29323. #. type: cindex
  29324. #: guix-git/doc/guix.texi:19924
  29325. #, no-wrap
  29326. msgid "X11 login"
  29327. msgstr ""
  29328. #. type: defvr
  29329. #: guix-git/doc/guix.texi:19925
  29330. #, no-wrap
  29331. msgid "{Scheme Variable} sddm-service-type"
  29332. msgstr ""
  29333. #. type: defvr
  29334. #: guix-git/doc/guix.texi:19929
  29335. msgid "This is the type of the service to run the @uref{https://github.com/sddm/sddm,SDDM display manager}. Its value must be a @code{sddm-configuration} record (see below)."
  29336. msgstr ""
  29337. #. type: defvr
  29338. #: guix-git/doc/guix.texi:19931
  29339. msgid "Here's an example use:"
  29340. msgstr ""
  29341. #. type: lisp
  29342. #: guix-git/doc/guix.texi:19937
  29343. #, no-wrap
  29344. msgid ""
  29345. "(service sddm-service-type\n"
  29346. " (sddm-configuration\n"
  29347. " (auto-login-user \"alice\")\n"
  29348. " (auto-login-session \"xfce.desktop\")))\n"
  29349. msgstr ""
  29350. #. type: deftp
  29351. #: guix-git/doc/guix.texi:19943
  29352. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  29353. msgstr ""
  29354. #. type: item
  29355. #: guix-git/doc/guix.texi:19945
  29356. #, no-wrap
  29357. msgid "@code{sddm} (default: @code{sddm})"
  29358. msgstr ""
  29359. #. type: table
  29360. #: guix-git/doc/guix.texi:19947
  29361. msgid "The SDDM package to use."
  29362. msgstr ""
  29363. #. type: item
  29364. #: guix-git/doc/guix.texi:19948
  29365. #, no-wrap
  29366. msgid "@code{display-server} (default: @code{\"x11\"})"
  29367. msgstr ""
  29368. #. type: table
  29369. #: guix-git/doc/guix.texi:19950
  29370. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  29371. msgstr ""
  29372. #. type: item
  29373. #: guix-git/doc/guix.texi:19953
  29374. #, no-wrap
  29375. msgid "@code{auto-login-user} (default: @code{\"\"})"
  29376. msgstr ""
  29377. #. type: table
  29378. #: guix-git/doc/guix.texi:19956
  29379. msgid "If non-empty, this is the user account under which to log in automatically."
  29380. msgstr ""
  29381. #. type: item
  29382. #: guix-git/doc/guix.texi:19957
  29383. #, no-wrap
  29384. msgid "@code{auto-login-session} (default: @code{\"\"})"
  29385. msgstr ""
  29386. #. type: table
  29387. #: guix-git/doc/guix.texi:19960
  29388. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  29389. msgstr ""
  29390. #. type: cindex
  29391. #: guix-git/doc/guix.texi:19963
  29392. #, no-wrap
  29393. msgid "Xorg, configuration"
  29394. msgstr ""
  29395. #. type: deftp
  29396. #: guix-git/doc/guix.texi:19964
  29397. #, no-wrap
  29398. msgid "{Data Type} xorg-configuration"
  29399. msgstr ""
  29400. #. type: deftp
  29401. #: guix-git/doc/guix.texi:19969
  29402. msgid "This data type represents the configuration of the Xorg graphical display server. Note that there is no Xorg service; instead, the X server is started by a ``display manager'' such as GDM, SDDM, and SLiM@. Thus, the configuration of these display managers aggregates an @code{xorg-configuration} record."
  29403. msgstr ""
  29404. #. type: item
  29405. #: guix-git/doc/guix.texi:19971
  29406. #, no-wrap
  29407. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  29408. msgstr ""
  29409. #. type: table
  29410. #: guix-git/doc/guix.texi:19974
  29411. msgid "This is a list of @dfn{module packages} loaded by the Xorg server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so on."
  29412. msgstr ""
  29413. #. type: item
  29414. #: guix-git/doc/guix.texi:19975
  29415. #, no-wrap
  29416. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  29417. msgstr ""
  29418. #. type: table
  29419. #: guix-git/doc/guix.texi:19977
  29420. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  29421. msgstr ""
  29422. #. type: item
  29423. #: guix-git/doc/guix.texi:19978
  29424. #, no-wrap
  29425. msgid "@code{drivers} (default: @code{'()})"
  29426. msgstr ""
  29427. #. type: table
  29428. #: guix-git/doc/guix.texi:19982
  29429. msgid "This must be either the empty list, in which case Xorg chooses a graphics driver automatically, or a list of driver names that will be tried in this order---e.g., @code{(\"modesetting\" \"vesa\")}."
  29430. msgstr ""
  29431. #. type: item
  29432. #: guix-git/doc/guix.texi:19983
  29433. #, no-wrap
  29434. msgid "@code{resolutions} (default: @code{'()})"
  29435. msgstr ""
  29436. #. type: table
  29437. #: guix-git/doc/guix.texi:19987
  29438. msgid "When @code{resolutions} is the empty list, Xorg chooses an appropriate screen resolution. Otherwise, it must be a list of resolutions---e.g., @code{((1024 768) (640 480))}."
  29439. msgstr ""
  29440. #. type: cindex
  29441. #: guix-git/doc/guix.texi:19988
  29442. #, no-wrap
  29443. msgid "keyboard layout, for Xorg"
  29444. msgstr ""
  29445. #. type: cindex
  29446. #: guix-git/doc/guix.texi:19989
  29447. #, no-wrap
  29448. msgid "keymap, for Xorg"
  29449. msgstr ""
  29450. #. type: table
  29451. #: guix-git/doc/guix.texi:19993
  29452. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  29453. msgstr ""
  29454. #. type: table
  29455. #: guix-git/doc/guix.texi:19997
  29456. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout in use when Xorg is running. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  29457. msgstr ""
  29458. #. type: item
  29459. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:21743
  29460. #: guix-git/doc/guix.texi:34597
  29461. #, no-wrap
  29462. msgid "@code{extra-config} (default: @code{'()})"
  29463. msgstr ""
  29464. #. type: table
  29465. #: guix-git/doc/guix.texi:20001 guix-git/doc/guix.texi:34601
  29466. msgid "This is a list of strings or objects appended to the configuration file. It is used to pass extra text to be added verbatim to the configuration file."
  29467. msgstr ""
  29468. #. type: item
  29469. #: guix-git/doc/guix.texi:20002
  29470. #, no-wrap
  29471. msgid "@code{server} (default: @code{xorg-server})"
  29472. msgstr ""
  29473. #. type: table
  29474. #: guix-git/doc/guix.texi:20004
  29475. msgid "This is the package providing the Xorg server."
  29476. msgstr ""
  29477. #. type: item
  29478. #: guix-git/doc/guix.texi:20005
  29479. #, no-wrap
  29480. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  29481. msgstr ""
  29482. #. type: table
  29483. #: guix-git/doc/guix.texi:20008
  29484. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  29485. msgstr ""
  29486. #. type: deffn
  29487. #: guix-git/doc/guix.texi:20011
  29488. #, no-wrap
  29489. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  29490. msgstr ""
  29491. #. type: deffn
  29492. #: guix-git/doc/guix.texi:20015
  29493. msgid "[@var{login-manager-service-type}] Tell the log-in manager (of type @var{login-manager-service-type}) to use @var{config}, an @code{<xorg-configuration>} record."
  29494. msgstr ""
  29495. #. type: deffn
  29496. #: guix-git/doc/guix.texi:20019
  29497. msgid "Since the Xorg configuration is embedded in the log-in manager's configuration---e.g., @code{gdm-configuration}---this procedure provides a shorthand to set the Xorg configuration."
  29498. msgstr ""
  29499. #. type: deffn
  29500. #: guix-git/doc/guix.texi:20021
  29501. #, no-wrap
  29502. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  29503. msgstr ""
  29504. #. type: deffn
  29505. #: guix-git/doc/guix.texi:20025
  29506. msgid "Return a @code{startx} script in which the modules, fonts, etc. specified in @var{config}, are available. The result should be used in place of @code{startx}."
  29507. msgstr ""
  29508. #. type: deffn
  29509. #: guix-git/doc/guix.texi:20027
  29510. msgid "Usually the X server is started by a login manager."
  29511. msgstr ""
  29512. #. type: deffn
  29513. #: guix-git/doc/guix.texi:20030
  29514. #, no-wrap
  29515. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  29516. msgstr ""
  29517. #. type: deffn
  29518. #: guix-git/doc/guix.texi:20034
  29519. msgid "Add @var{package}, a package for a screen locker or screen saver whose command is @var{program}, to the set of setuid programs and add a PAM entry for it. For example:"
  29520. msgstr ""
  29521. #. type: lisp
  29522. #: guix-git/doc/guix.texi:20037
  29523. #, no-wrap
  29524. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  29525. msgstr ""
  29526. #. type: deffn
  29527. #: guix-git/doc/guix.texi:20040
  29528. msgid "makes the good ol' XlockMore usable."
  29529. msgstr ""
  29530. #. type: cindex
  29531. #: guix-git/doc/guix.texi:20046
  29532. #, no-wrap
  29533. msgid "printer support with CUPS"
  29534. msgstr ""
  29535. #. type: Plain text
  29536. #: guix-git/doc/guix.texi:20050
  29537. msgid "The @code{(gnu services cups)} module provides a Guix service definition for the CUPS printing service. To add printer support to a Guix system, add a @code{cups-service} to the operating system definition:"
  29538. msgstr ""
  29539. #. type: deffn
  29540. #: guix-git/doc/guix.texi:20051
  29541. #, no-wrap
  29542. msgid "{Scheme Variable} cups-service-type"
  29543. msgstr ""
  29544. #. type: deffn
  29545. #: guix-git/doc/guix.texi:20055
  29546. msgid "The service type for the CUPS print server. Its value should be a valid CUPS configuration (see below). To use the default settings, simply write:"
  29547. msgstr ""
  29548. #. type: lisp
  29549. #: guix-git/doc/guix.texi:20057
  29550. #, no-wrap
  29551. msgid "(service cups-service-type)\n"
  29552. msgstr ""
  29553. #. type: Plain text
  29554. #: guix-git/doc/guix.texi:20067
  29555. msgid "The CUPS configuration controls the basic things about your CUPS installation: what interfaces it listens on, what to do if a print job fails, how much logging to do, and so on. To actually add a printer, you have to visit the @url{http://localhost:631} URL, or use a tool such as GNOME's printer configuration services. By default, configuring a CUPS service will generate a self-signed certificate if needed, for secure connections to the print server."
  29556. msgstr ""
  29557. #. type: Plain text
  29558. #: guix-git/doc/guix.texi:20073
  29559. msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{epson-inkjet-printer-escpr} package and for HP printers @i{via} the @code{hplip-minimal} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):"
  29560. msgstr ""
  29561. #. type: lisp
  29562. #: guix-git/doc/guix.texi:20080
  29563. #, no-wrap
  29564. msgid ""
  29565. "(service cups-service-type\n"
  29566. " (cups-configuration\n"
  29567. " (web-interface? #t)\n"
  29568. " (extensions\n"
  29569. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  29570. msgstr ""
  29571. #. type: Plain text
  29572. #: guix-git/doc/guix.texi:20085
  29573. msgid "Note: If you wish to use the Qt5 based GUI which comes with the hplip package then it is suggested that you install the @code{hplip} package, either in your OS configuration file or as your user."
  29574. msgstr ""
  29575. #. type: Plain text
  29576. #: guix-git/doc/guix.texi:20092
  29577. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{cupsd.conf} file that you want to port over from some other system; see the end for more details."
  29578. msgstr ""
  29579. #. type: Plain text
  29580. #: guix-git/doc/guix.texi:20103
  29581. msgid "Available @code{cups-configuration} fields are:"
  29582. msgstr ""
  29583. #. type: deftypevr
  29584. #: guix-git/doc/guix.texi:20104
  29585. #, no-wrap
  29586. msgid "{@code{cups-configuration} parameter} package cups"
  29587. msgstr ""
  29588. #. type: deftypevr
  29589. #: guix-git/doc/guix.texi:20106 guix-git/doc/guix.texi:20874
  29590. msgid "The CUPS package."
  29591. msgstr ""
  29592. #. type: deftypevr
  29593. #: guix-git/doc/guix.texi:20108
  29594. #, no-wrap
  29595. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  29596. msgstr ""
  29597. #. type: deftypevr
  29598. #: guix-git/doc/guix.texi:20110
  29599. msgid "Drivers and other extensions to the CUPS package."
  29600. msgstr ""
  29601. #. type: deftypevr
  29602. #: guix-git/doc/guix.texi:20112
  29603. #, no-wrap
  29604. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  29605. msgstr ""
  29606. #. type: deftypevr
  29607. #: guix-git/doc/guix.texi:20115
  29608. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  29609. msgstr ""
  29610. #. type: deftypevr
  29611. #: guix-git/doc/guix.texi:20117
  29612. msgid "Available @code{files-configuration} fields are:"
  29613. msgstr ""
  29614. #. type: deftypevr
  29615. #: guix-git/doc/guix.texi:20118
  29616. #, no-wrap
  29617. msgid "{@code{files-configuration} parameter} log-location access-log"
  29618. msgstr ""
  29619. #. type: deftypevr
  29620. #: guix-git/doc/guix.texi:20126
  29621. msgid "Defines the access log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-access_log}."
  29622. msgstr ""
  29623. #. type: deftypevr
  29624. #: guix-git/doc/guix.texi:20128
  29625. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  29626. msgstr ""
  29627. #. type: deftypevr
  29628. #: guix-git/doc/guix.texi:20130
  29629. #, no-wrap
  29630. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  29631. msgstr ""
  29632. #. type: deftypevr
  29633. #: guix-git/doc/guix.texi:20132
  29634. msgid "Where CUPS should cache data."
  29635. msgstr ""
  29636. #. type: deftypevr
  29637. #: guix-git/doc/guix.texi:20134
  29638. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  29639. msgstr ""
  29640. #. type: deftypevr
  29641. #: guix-git/doc/guix.texi:20136
  29642. #, no-wrap
  29643. msgid "{@code{files-configuration} parameter} string config-file-perm"
  29644. msgstr ""
  29645. #. type: deftypevr
  29646. #: guix-git/doc/guix.texi:20139
  29647. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  29648. msgstr ""
  29649. #. type: deftypevr
  29650. #: guix-git/doc/guix.texi:20145
  29651. msgid "Note that the permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature."
  29652. msgstr ""
  29653. #. type: deftypevr
  29654. #: guix-git/doc/guix.texi:20147
  29655. msgid "Defaults to @samp{\"0640\"}."
  29656. msgstr ""
  29657. #. type: deftypevr
  29658. #: guix-git/doc/guix.texi:20149
  29659. #, no-wrap
  29660. msgid "{@code{files-configuration} parameter} log-location error-log"
  29661. msgstr ""
  29662. #. type: deftypevr
  29663. #: guix-git/doc/guix.texi:20157
  29664. msgid "Defines the error log filename. Specifying a blank filename disables error log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-error_log}."
  29665. msgstr ""
  29666. #. type: deftypevr
  29667. #: guix-git/doc/guix.texi:20159
  29668. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  29669. msgstr ""
  29670. #. type: deftypevr
  29671. #: guix-git/doc/guix.texi:20161
  29672. #, no-wrap
  29673. msgid "{@code{files-configuration} parameter} string fatal-errors"
  29674. msgstr ""
  29675. #. type: deftypevr
  29676. #: guix-git/doc/guix.texi:20164
  29677. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29678. msgstr ""
  29679. #. type: table
  29680. #: guix-git/doc/guix.texi:20168
  29681. msgid "No errors are fatal."
  29682. msgstr ""
  29683. #. type: table
  29684. #: guix-git/doc/guix.texi:20171
  29685. msgid "All of the errors below are fatal."
  29686. msgstr ""
  29687. #. type: item
  29688. #: guix-git/doc/guix.texi:20172
  29689. #, no-wrap
  29690. msgid "browse"
  29691. msgstr "prechádzať"
  29692. #. type: table
  29693. #: guix-git/doc/guix.texi:20175
  29694. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29695. msgstr ""
  29696. #. type: item
  29697. #: guix-git/doc/guix.texi:20176
  29698. #, no-wrap
  29699. msgid "config"
  29700. msgstr ""
  29701. #. type: table
  29702. #: guix-git/doc/guix.texi:20178
  29703. msgid "Configuration file syntax errors are fatal."
  29704. msgstr ""
  29705. #. type: item
  29706. #: guix-git/doc/guix.texi:20179
  29707. #, no-wrap
  29708. msgid "listen"
  29709. msgstr ""
  29710. #. type: table
  29711. #: guix-git/doc/guix.texi:20182
  29712. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29713. msgstr ""
  29714. #. type: item
  29715. #: guix-git/doc/guix.texi:20183
  29716. #, no-wrap
  29717. msgid "log"
  29718. msgstr "záznam"
  29719. #. type: table
  29720. #: guix-git/doc/guix.texi:20185
  29721. msgid "Log file creation or write errors are fatal."
  29722. msgstr ""
  29723. #. type: item
  29724. #: guix-git/doc/guix.texi:20186
  29725. #, no-wrap
  29726. msgid "permissions"
  29727. msgstr "povolenia"
  29728. #. type: table
  29729. #: guix-git/doc/guix.texi:20189
  29730. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29731. msgstr ""
  29732. #. type: deftypevr
  29733. #: guix-git/doc/guix.texi:20192
  29734. msgid "Defaults to @samp{\"all -browse\"}."
  29735. msgstr ""
  29736. #. type: deftypevr
  29737. #: guix-git/doc/guix.texi:20194
  29738. #, no-wrap
  29739. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29740. msgstr ""
  29741. #. type: deftypevr
  29742. #: guix-git/doc/guix.texi:20197
  29743. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29744. msgstr ""
  29745. #. type: deftypevr
  29746. #: guix-git/doc/guix.texi:20201
  29747. #, no-wrap
  29748. msgid "{@code{files-configuration} parameter} string group"
  29749. msgstr ""
  29750. #. type: deftypevr
  29751. #: guix-git/doc/guix.texi:20204
  29752. msgid "Specifies the group name or ID that will be used when executing external programs."
  29753. msgstr ""
  29754. #. type: deftypevr
  29755. #: guix-git/doc/guix.texi:20206 guix-git/doc/guix.texi:20292
  29756. msgid "Defaults to @samp{\"lp\"}."
  29757. msgstr ""
  29758. #. type: deftypevr
  29759. #: guix-git/doc/guix.texi:20208
  29760. #, no-wrap
  29761. msgid "{@code{files-configuration} parameter} string log-file-group"
  29762. msgstr ""
  29763. #. type: deftypevr
  29764. #: guix-git/doc/guix.texi:20210
  29765. msgid "Specifies the group name or ID that will be used for log files."
  29766. msgstr ""
  29767. #. type: deftypevr
  29768. #: guix-git/doc/guix.texi:20212
  29769. msgid "Defaults to @samp{\"lpadmin\"}."
  29770. msgstr ""
  29771. #. type: deftypevr
  29772. #: guix-git/doc/guix.texi:20214
  29773. #, no-wrap
  29774. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29775. msgstr ""
  29776. #. type: deftypevr
  29777. #: guix-git/doc/guix.texi:20216
  29778. msgid "Specifies the permissions for all log files that the scheduler writes."
  29779. msgstr ""
  29780. #. type: deftypevr
  29781. #: guix-git/doc/guix.texi:20218
  29782. msgid "Defaults to @samp{\"0644\"}."
  29783. msgstr ""
  29784. #. type: deftypevr
  29785. #: guix-git/doc/guix.texi:20220
  29786. #, no-wrap
  29787. msgid "{@code{files-configuration} parameter} log-location page-log"
  29788. msgstr ""
  29789. #. type: deftypevr
  29790. #: guix-git/doc/guix.texi:20228
  29791. msgid "Defines the page log filename. Specifying a blank filename disables page log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-page_log}."
  29792. msgstr ""
  29793. #. type: deftypevr
  29794. #: guix-git/doc/guix.texi:20230
  29795. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29796. msgstr ""
  29797. #. type: deftypevr
  29798. #: guix-git/doc/guix.texi:20232
  29799. #, no-wrap
  29800. msgid "{@code{files-configuration} parameter} string remote-root"
  29801. msgstr ""
  29802. #. type: deftypevr
  29803. #: guix-git/doc/guix.texi:20235
  29804. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29805. msgstr ""
  29806. #. type: deftypevr
  29807. #: guix-git/doc/guix.texi:20237
  29808. msgid "Defaults to @samp{\"remroot\"}."
  29809. msgstr ""
  29810. #. type: deftypevr
  29811. #: guix-git/doc/guix.texi:20239
  29812. #, no-wrap
  29813. msgid "{@code{files-configuration} parameter} file-name request-root"
  29814. msgstr ""
  29815. #. type: deftypevr
  29816. #: guix-git/doc/guix.texi:20242
  29817. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29818. msgstr ""
  29819. #. type: deftypevr
  29820. #: guix-git/doc/guix.texi:20244
  29821. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29822. msgstr ""
  29823. #. type: deftypevr
  29824. #: guix-git/doc/guix.texi:20246
  29825. #, no-wrap
  29826. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29827. msgstr ""
  29828. #. type: deftypevr
  29829. #: guix-git/doc/guix.texi:20251
  29830. msgid "Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler; either @code{relaxed} or @code{strict}. This directive is currently only used/supported on macOS."
  29831. msgstr ""
  29832. #. type: deftypevr
  29833. #: guix-git/doc/guix.texi:20253
  29834. msgid "Defaults to @samp{strict}."
  29835. msgstr ""
  29836. #. type: deftypevr
  29837. #: guix-git/doc/guix.texi:20255
  29838. #, no-wrap
  29839. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29840. msgstr ""
  29841. #. type: deftypevr
  29842. #: guix-git/doc/guix.texi:20260
  29843. msgid "Specifies the location of TLS certificates and private keys. CUPS will look for public and private keys in this directory: @file{.crt} files for PEM-encoded certificates and corresponding @file{.key} files for PEM-encoded private keys."
  29844. msgstr ""
  29845. #. type: deftypevr
  29846. #: guix-git/doc/guix.texi:20262
  29847. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29848. msgstr ""
  29849. #. type: deftypevr
  29850. #: guix-git/doc/guix.texi:20264
  29851. #, no-wrap
  29852. msgid "{@code{files-configuration} parameter} file-name server-root"
  29853. msgstr ""
  29854. #. type: deftypevr
  29855. #: guix-git/doc/guix.texi:20266
  29856. msgid "Specifies the directory containing the server configuration files."
  29857. msgstr ""
  29858. #. type: deftypevr
  29859. #: guix-git/doc/guix.texi:20268
  29860. msgid "Defaults to @samp{\"/etc/cups\"}."
  29861. msgstr ""
  29862. #. type: deftypevr
  29863. #: guix-git/doc/guix.texi:20270
  29864. #, no-wrap
  29865. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29866. msgstr ""
  29867. #. type: deftypevr
  29868. #: guix-git/doc/guix.texi:20273
  29869. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29870. msgstr ""
  29871. #. type: deftypevr
  29872. #: guix-git/doc/guix.texi:20277
  29873. #, no-wrap
  29874. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29875. msgstr ""
  29876. #. type: deftypevr
  29877. #: guix-git/doc/guix.texi:20279
  29878. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29879. msgstr ""
  29880. #. type: deftypevr
  29881. #: guix-git/doc/guix.texi:20281
  29882. #, no-wrap
  29883. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29884. msgstr ""
  29885. #. type: deftypevr
  29886. #: guix-git/doc/guix.texi:20283
  29887. msgid "Specifies the directory where temporary files are stored."
  29888. msgstr ""
  29889. #. type: deftypevr
  29890. #: guix-git/doc/guix.texi:20285
  29891. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29892. msgstr ""
  29893. #. type: deftypevr
  29894. #: guix-git/doc/guix.texi:20287
  29895. #, no-wrap
  29896. msgid "{@code{files-configuration} parameter} string user"
  29897. msgstr ""
  29898. #. type: deftypevr
  29899. #: guix-git/doc/guix.texi:20290
  29900. msgid "Specifies the user name or ID that is used when running external programs."
  29901. msgstr ""
  29902. #. type: deftypevr
  29903. #: guix-git/doc/guix.texi:20294
  29904. #, no-wrap
  29905. msgid "{@code{files-configuration} parameter} string set-env"
  29906. msgstr ""
  29907. #. type: deftypevr
  29908. #: guix-git/doc/guix.texi:20296
  29909. msgid "Set the specified environment variable to be passed to child processes."
  29910. msgstr ""
  29911. #. type: deftypevr
  29912. #: guix-git/doc/guix.texi:20298
  29913. msgid "Defaults to @samp{\"variable value\"}."
  29914. msgstr ""
  29915. #. type: deftypevr
  29916. #: guix-git/doc/guix.texi:20301
  29917. #, no-wrap
  29918. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29919. msgstr ""
  29920. #. type: deftypevr
  29921. #: guix-git/doc/guix.texi:20308
  29922. msgid "Specifies the logging level for the AccessLog file. The @code{config} level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. The @code{actions} level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for @code{config}. The @code{all} level logs all requests."
  29923. msgstr ""
  29924. #. type: deftypevr
  29925. #: guix-git/doc/guix.texi:20310
  29926. msgid "Defaults to @samp{actions}."
  29927. msgstr ""
  29928. #. type: deftypevr
  29929. #: guix-git/doc/guix.texi:20312
  29930. #, no-wrap
  29931. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29932. msgstr ""
  29933. #. type: deftypevr
  29934. #: guix-git/doc/guix.texi:20315
  29935. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29936. msgstr ""
  29937. #. type: deftypevr
  29938. #: guix-git/doc/guix.texi:20319
  29939. #, no-wrap
  29940. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29941. msgstr ""
  29942. #. type: deftypevr
  29943. #: guix-git/doc/guix.texi:20323
  29944. msgid "Specifies a list of DNS-SD sub-types to advertise for each shared printer. For example, @samp{\"_cups\" \"_print\"} will tell network clients that both CUPS sharing and IPP Everywhere are supported."
  29945. msgstr ""
  29946. #. type: deftypevr
  29947. #: guix-git/doc/guix.texi:20325
  29948. msgid "Defaults to @samp{\"_cups\"}."
  29949. msgstr ""
  29950. #. type: deftypevr
  29951. #: guix-git/doc/guix.texi:20327
  29952. #, no-wrap
  29953. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29954. msgstr ""
  29955. #. type: deftypevr
  29956. #: guix-git/doc/guix.texi:20329
  29957. msgid "Specifies which protocols to use for local printer sharing."
  29958. msgstr ""
  29959. #. type: deftypevr
  29960. #: guix-git/doc/guix.texi:20331
  29961. msgid "Defaults to @samp{dnssd}."
  29962. msgstr ""
  29963. #. type: deftypevr
  29964. #: guix-git/doc/guix.texi:20333
  29965. #, no-wrap
  29966. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29967. msgstr ""
  29968. #. type: deftypevr
  29969. #: guix-git/doc/guix.texi:20335
  29970. msgid "Specifies whether the CUPS web interface is advertised."
  29971. msgstr ""
  29972. #. type: deftypevr
  29973. #: guix-git/doc/guix.texi:20339
  29974. #, no-wrap
  29975. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29976. msgstr ""
  29977. #. type: deftypevr
  29978. #: guix-git/doc/guix.texi:20341
  29979. msgid "Specifies whether shared printers are advertised."
  29980. msgstr ""
  29981. #. type: deftypevr
  29982. #: guix-git/doc/guix.texi:20345
  29983. #, no-wrap
  29984. msgid "{@code{cups-configuration} parameter} string classification"
  29985. msgstr ""
  29986. #. type: deftypevr
  29987. #: guix-git/doc/guix.texi:20350
  29988. msgid "Specifies the security classification of the server. Any valid banner name can be used, including @samp{\"classified\"}, @samp{\"confidential\"}, @samp{\"secret\"}, @samp{\"topsecret\"}, and @samp{\"unclassified\"}, or the banner can be omitted to disable secure printing functions."
  29989. msgstr ""
  29990. #. type: deftypevr
  29991. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20683
  29992. #: guix-git/doc/guix.texi:22700 guix-git/doc/guix.texi:22712
  29993. #: guix-git/doc/guix.texi:22740 guix-git/doc/guix.texi:23497
  29994. #: guix-git/doc/guix.texi:23511 guix-git/doc/guix.texi:23518
  29995. #: guix-git/doc/guix.texi:23525 guix-git/doc/guix.texi:23555
  29996. #: guix-git/doc/guix.texi:23653 guix-git/doc/guix.texi:30546
  29997. #: guix-git/doc/guix.texi:30554 guix-git/doc/guix.texi:30562
  29998. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30849
  29999. #: guix-git/doc/guix.texi:32208 guix-git/doc/guix.texi:32216
  30000. #: guix-git/doc/guix.texi:32224 guix-git/doc/guix.texi:32332
  30001. #: guix-git/doc/guix.texi:32357 guix-git/doc/guix.texi:32488
  30002. #: guix-git/doc/guix.texi:32496 guix-git/doc/guix.texi:32504
  30003. #: guix-git/doc/guix.texi:32512 guix-git/doc/guix.texi:32520
  30004. #: guix-git/doc/guix.texi:32528 guix-git/doc/guix.texi:32551
  30005. #: guix-git/doc/guix.texi:32559 guix-git/doc/guix.texi:32611
  30006. #: guix-git/doc/guix.texi:32627 guix-git/doc/guix.texi:32635
  30007. #: guix-git/doc/guix.texi:32674 guix-git/doc/guix.texi:32697
  30008. #: guix-git/doc/guix.texi:32719 guix-git/doc/guix.texi:32726
  30009. #: guix-git/doc/guix.texi:32761 guix-git/doc/guix.texi:32769
  30010. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:32825
  30011. #: guix-git/doc/guix.texi:32854 guix-git/doc/guix.texi:32861
  30012. #: guix-git/doc/guix.texi:32868 guix-git/doc/guix.texi:32876
  30013. #: guix-git/doc/guix.texi:32890 guix-git/doc/guix.texi:32899
  30014. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:32916
  30015. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32930
  30016. #: guix-git/doc/guix.texi:33001 guix-git/doc/guix.texi:33008
  30017. #: guix-git/doc/guix.texi:33015 guix-git/doc/guix.texi:33024
  30018. #: guix-git/doc/guix.texi:33040 guix-git/doc/guix.texi:33047
  30019. #: guix-git/doc/guix.texi:33054 guix-git/doc/guix.texi:33061
  30020. #: guix-git/doc/guix.texi:33069 guix-git/doc/guix.texi:33077
  30021. msgid "Defaults to @samp{\"\"}."
  30022. msgstr ""
  30023. #. type: deftypevr
  30024. #: guix-git/doc/guix.texi:20354
  30025. #, no-wrap
  30026. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  30027. msgstr ""
  30028. #. type: deftypevr
  30029. #: guix-git/doc/guix.texi:20357
  30030. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  30031. msgstr ""
  30032. #. type: deftypevr
  30033. #: guix-git/doc/guix.texi:20361
  30034. #, no-wrap
  30035. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  30036. msgstr ""
  30037. #. type: deftypevr
  30038. #: guix-git/doc/guix.texi:20363
  30039. msgid "Specifies the default type of authentication to use."
  30040. msgstr ""
  30041. #. type: deftypevr
  30042. #: guix-git/doc/guix.texi:20365
  30043. msgid "Defaults to @samp{Basic}."
  30044. msgstr ""
  30045. #. type: deftypevr
  30046. #: guix-git/doc/guix.texi:20367
  30047. #, no-wrap
  30048. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  30049. msgstr ""
  30050. #. type: deftypevr
  30051. #: guix-git/doc/guix.texi:20369
  30052. msgid "Specifies whether encryption will be used for authenticated requests."
  30053. msgstr ""
  30054. #. type: deftypevr
  30055. #: guix-git/doc/guix.texi:20371
  30056. msgid "Defaults to @samp{Required}."
  30057. msgstr ""
  30058. #. type: deftypevr
  30059. #: guix-git/doc/guix.texi:20373
  30060. #, no-wrap
  30061. msgid "{@code{cups-configuration} parameter} string default-language"
  30062. msgstr ""
  30063. #. type: deftypevr
  30064. #: guix-git/doc/guix.texi:20375
  30065. msgid "Specifies the default language to use for text and web content."
  30066. msgstr ""
  30067. #. type: deftypevr
  30068. #: guix-git/doc/guix.texi:20377
  30069. msgid "Defaults to @samp{\"en\"}."
  30070. msgstr ""
  30071. #. type: deftypevr
  30072. #: guix-git/doc/guix.texi:20379
  30073. #, no-wrap
  30074. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  30075. msgstr ""
  30076. #. type: deftypevr
  30077. #: guix-git/doc/guix.texi:20384
  30078. msgid "Specifies the default paper size for new print queues. @samp{\"Auto\"} uses a locale-specific default, while @samp{\"None\"} specifies there is no default paper size. Specific size names are typically @samp{\"Letter\"} or @samp{\"A4\"}."
  30079. msgstr ""
  30080. #. type: deftypevr
  30081. #: guix-git/doc/guix.texi:20386
  30082. msgid "Defaults to @samp{\"Auto\"}."
  30083. msgstr ""
  30084. #. type: deftypevr
  30085. #: guix-git/doc/guix.texi:20388
  30086. #, no-wrap
  30087. msgid "{@code{cups-configuration} parameter} string default-policy"
  30088. msgstr ""
  30089. #. type: deftypevr
  30090. #: guix-git/doc/guix.texi:20390
  30091. msgid "Specifies the default access policy to use."
  30092. msgstr ""
  30093. #. type: deftypevr
  30094. #: guix-git/doc/guix.texi:20392
  30095. msgid "Defaults to @samp{\"default\"}."
  30096. msgstr ""
  30097. #. type: deftypevr
  30098. #: guix-git/doc/guix.texi:20394
  30099. #, no-wrap
  30100. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  30101. msgstr ""
  30102. #. type: deftypevr
  30103. #: guix-git/doc/guix.texi:20396
  30104. msgid "Specifies whether local printers are shared by default."
  30105. msgstr ""
  30106. #. type: deftypevr
  30107. #: guix-git/doc/guix.texi:20398 guix-git/doc/guix.texi:20478
  30108. #: guix-git/doc/guix.texi:20768 guix-git/doc/guix.texi:23587
  30109. #: guix-git/doc/guix.texi:23638 guix-git/doc/guix.texi:23645
  30110. #: guix-git/doc/guix.texi:24927 guix-git/doc/guix.texi:25115
  30111. #: guix-git/doc/guix.texi:25232 guix-git/doc/guix.texi:25268
  30112. #: guix-git/doc/guix.texi:25319 guix-git/doc/guix.texi:25338
  30113. #: guix-git/doc/guix.texi:25348 guix-git/doc/guix.texi:25358
  30114. #: guix-git/doc/guix.texi:25417 guix-git/doc/guix.texi:25439
  30115. #: guix-git/doc/guix.texi:25464 guix-git/doc/guix.texi:25490
  30116. #: guix-git/doc/guix.texi:25508 guix-git/doc/guix.texi:28613
  30117. #: guix-git/doc/guix.texi:28641 guix-git/doc/guix.texi:28777
  30118. #: guix-git/doc/guix.texi:28784 guix-git/doc/guix.texi:28792
  30119. #: guix-git/doc/guix.texi:28829 guix-git/doc/guix.texi:28843
  30120. #: guix-git/doc/guix.texi:28932 guix-git/doc/guix.texi:28939
  30121. #: guix-git/doc/guix.texi:28947 guix-git/doc/guix.texi:29726
  30122. #: guix-git/doc/guix.texi:29866 guix-git/doc/guix.texi:30080
  30123. #: guix-git/doc/guix.texi:30087 guix-git/doc/guix.texi:30109
  30124. #: guix-git/doc/guix.texi:30148 guix-git/doc/guix.texi:30168
  30125. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30395
  30126. #: guix-git/doc/guix.texi:32310 guix-git/doc/guix.texi:32398
  30127. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32464
  30128. msgid "Defaults to @samp{#t}."
  30129. msgstr ""
  30130. #. type: deftypevr
  30131. #: guix-git/doc/guix.texi:20400
  30132. #, no-wrap
  30133. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  30134. msgstr ""
  30135. #. type: deftypevr
  30136. #: guix-git/doc/guix.texi:20404
  30137. msgid "Specifies the delay for updating of configuration and state files, in seconds. A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds."
  30138. msgstr ""
  30139. #. type: deftypevr
  30140. #: guix-git/doc/guix.texi:20406 guix-git/doc/guix.texi:20454
  30141. #: guix-git/doc/guix.texi:20463 guix-git/doc/guix.texi:20775
  30142. #: guix-git/doc/guix.texi:25277 guix-git/doc/guix.texi:25310
  30143. msgid "Defaults to @samp{30}."
  30144. msgstr ""
  30145. #. type: deftypevr
  30146. #: guix-git/doc/guix.texi:20408
  30147. #, no-wrap
  30148. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  30149. msgstr ""
  30150. #. type: deftypevr
  30151. #: guix-git/doc/guix.texi:20414
  30152. msgid "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; @code{retry-current-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer."
  30153. msgstr ""
  30154. #. type: deftypevr
  30155. #: guix-git/doc/guix.texi:20416
  30156. msgid "Defaults to @samp{stop-printer}."
  30157. msgstr ""
  30158. #. type: deftypevr
  30159. #: guix-git/doc/guix.texi:20418
  30160. #, no-wrap
  30161. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  30162. msgstr ""
  30163. #. type: deftypevr
  30164. #: guix-git/doc/guix.texi:20426
  30165. msgid "Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. A limit of 0 disables filter limiting. An average print to a non-PostScript printer needs a filter limit of about 200. A PostScript printer needs about half that (100). Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time."
  30166. msgstr ""
  30167. #. type: deftypevr
  30168. #: guix-git/doc/guix.texi:20428 guix-git/doc/guix.texi:20436
  30169. #: guix-git/doc/guix.texi:20485 guix-git/doc/guix.texi:20601
  30170. #: guix-git/doc/guix.texi:20615 guix-git/doc/guix.texi:20622
  30171. #: guix-git/doc/guix.texi:22142 guix-git/doc/guix.texi:22158
  30172. #: guix-git/doc/guix.texi:22815 guix-git/doc/guix.texi:22827
  30173. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23615
  30174. #: guix-git/doc/guix.texi:23623 guix-git/doc/guix.texi:23631
  30175. #: guix-git/doc/guix.texi:29742 guix-git/doc/guix.texi:30095
  30176. #: guix-git/doc/guix.texi:32303 guix-git/doc/guix.texi:32603
  30177. #: guix-git/doc/guix.texi:32777
  30178. msgid "Defaults to @samp{0}."
  30179. msgstr ""
  30180. #. type: deftypevr
  30181. #: guix-git/doc/guix.texi:20430
  30182. #, no-wrap
  30183. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  30184. msgstr ""
  30185. #. type: deftypevr
  30186. #: guix-git/doc/guix.texi:20434
  30187. msgid "Specifies the scheduling priority of filters that are run to print a job. The nice value ranges from 0, the highest priority, to 19, the lowest priority."
  30188. msgstr ""
  30189. #. type: deftypevr
  30190. #: guix-git/doc/guix.texi:20438
  30191. #, no-wrap
  30192. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  30193. msgstr ""
  30194. #. type: deftypevr
  30195. #: guix-git/doc/guix.texi:20445
  30196. msgid "Specifies whether to do reverse lookups on connecting clients. The @code{double} setting causes @code{cupsd} to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. Double lookups also prevent clients with unregistered addresses from connecting to your server. Only set this option to @code{#t} or @code{double} if absolutely required."
  30197. msgstr ""
  30198. #. type: deftypevr
  30199. #: guix-git/doc/guix.texi:20449
  30200. #, no-wrap
  30201. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  30202. msgstr ""
  30203. #. type: deftypevr
  30204. #: guix-git/doc/guix.texi:20452
  30205. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  30206. msgstr ""
  30207. #. type: deftypevr
  30208. #: guix-git/doc/guix.texi:20456
  30209. #, no-wrap
  30210. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  30211. msgstr ""
  30212. #. type: deftypevr
  30213. #: guix-git/doc/guix.texi:20461
  30214. msgid "Specifies the interval between retries of jobs in seconds. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  30215. msgstr ""
  30216. #. type: deftypevr
  30217. #: guix-git/doc/guix.texi:20465
  30218. #, no-wrap
  30219. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  30220. msgstr ""
  30221. #. type: deftypevr
  30222. #: guix-git/doc/guix.texi:20470
  30223. msgid "Specifies the number of retries that are done for jobs. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  30224. msgstr ""
  30225. #. type: deftypevr
  30226. #: guix-git/doc/guix.texi:20472 guix-git/doc/guix.texi:25241
  30227. #: guix-git/doc/guix.texi:30647 guix-git/doc/guix.texi:30667
  30228. #: guix-git/doc/guix.texi:30683 guix-git/doc/guix.texi:30697
  30229. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  30230. #: guix-git/doc/guix.texi:30718 guix-git/doc/guix.texi:30878
  30231. #: guix-git/doc/guix.texi:30894 guix-git/doc/guix.texi:30901
  30232. #: guix-git/doc/guix.texi:30908 guix-git/doc/guix.texi:30919
  30233. #: guix-git/doc/guix.texi:32255 guix-git/doc/guix.texi:32263
  30234. #: guix-git/doc/guix.texi:32271 guix-git/doc/guix.texi:32295
  30235. msgid "Defaults to @samp{5}."
  30236. msgstr ""
  30237. #. type: deftypevr
  30238. #: guix-git/doc/guix.texi:20474
  30239. #, no-wrap
  30240. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  30241. msgstr ""
  30242. #. type: deftypevr
  30243. #: guix-git/doc/guix.texi:20476
  30244. msgid "Specifies whether to support HTTP keep-alive connections."
  30245. msgstr ""
  30246. #. type: deftypevr
  30247. #: guix-git/doc/guix.texi:20480
  30248. #, no-wrap
  30249. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  30250. msgstr ""
  30251. #. type: deftypevr
  30252. #: guix-git/doc/guix.texi:20483
  30253. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  30254. msgstr ""
  30255. #. type: deftypevr
  30256. #: guix-git/doc/guix.texi:20487
  30257. #, no-wrap
  30258. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  30259. msgstr ""
  30260. #. type: deftypevr
  30261. #: guix-git/doc/guix.texi:20494
  30262. msgid "Listens on the specified interfaces for connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses. Values can also be file names of local UNIX domain sockets. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks."
  30263. msgstr ""
  30264. #. type: deftypevr
  30265. #: guix-git/doc/guix.texi:20496
  30266. #, no-wrap
  30267. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  30268. msgstr ""
  30269. #. type: deftypevr
  30270. #: guix-git/doc/guix.texi:20503
  30271. msgid "Specifies the number of pending connections that will be allowed. This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones."
  30272. msgstr ""
  30273. #. type: deftypevr
  30274. #: guix-git/doc/guix.texi:20505
  30275. msgid "Defaults to @samp{128}."
  30276. msgstr ""
  30277. #. type: deftypevr
  30278. #: guix-git/doc/guix.texi:20507
  30279. #, no-wrap
  30280. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  30281. msgstr ""
  30282. #. type: deftypevr
  30283. #: guix-git/doc/guix.texi:20509
  30284. msgid "Specifies a set of additional access controls."
  30285. msgstr ""
  30286. #. type: deftypevr
  30287. #: guix-git/doc/guix.texi:20511
  30288. msgid "Available @code{location-access-controls} fields are:"
  30289. msgstr ""
  30290. #. type: deftypevr
  30291. #: guix-git/doc/guix.texi:20512
  30292. #, no-wrap
  30293. msgid "{@code{location-access-controls} parameter} file-name path"
  30294. msgstr ""
  30295. #. type: deftypevr
  30296. #: guix-git/doc/guix.texi:20514
  30297. msgid "Specifies the URI path to which the access control applies."
  30298. msgstr ""
  30299. #. type: deftypevr
  30300. #: guix-git/doc/guix.texi:20516
  30301. #, no-wrap
  30302. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  30303. msgstr ""
  30304. #. type: deftypevr
  30305. #: guix-git/doc/guix.texi:20519
  30306. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  30307. msgstr ""
  30308. #. type: deftypevr
  30309. #: guix-git/doc/guix.texi:20521 guix-git/doc/guix.texi:20527
  30310. #: guix-git/doc/guix.texi:20541 guix-git/doc/guix.texi:20548
  30311. #: guix-git/doc/guix.texi:20690 guix-git/doc/guix.texi:20749
  30312. #: guix-git/doc/guix.texi:20827 guix-git/doc/guix.texi:20841
  30313. #: guix-git/doc/guix.texi:22022 guix-git/doc/guix.texi:22031
  30314. #: guix-git/doc/guix.texi:23301 guix-git/doc/guix.texi:23504
  30315. #: guix-git/doc/guix.texi:23532 guix-git/doc/guix.texi:23562
  30316. #: guix-git/doc/guix.texi:23677 guix-git/doc/guix.texi:23690
  30317. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:25447
  30318. #: guix-git/doc/guix.texi:26283 guix-git/doc/guix.texi:26291
  30319. #: guix-git/doc/guix.texi:26536 guix-git/doc/guix.texi:28672
  30320. #: guix-git/doc/guix.texi:28850 guix-git/doc/guix.texi:29049
  30321. #: guix-git/doc/guix.texi:30538 guix-git/doc/guix.texi:30598
  30322. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:32318
  30323. #: guix-git/doc/guix.texi:32325 guix-git/doc/guix.texi:32667
  30324. #: guix-git/doc/guix.texi:32745 guix-git/doc/guix.texi:32839
  30325. #: guix-git/doc/guix.texi:32847 guix-git/doc/guix.texi:32883
  30326. #: guix-git/doc/guix.texi:33033 guix-git/doc/guix.texi:33084
  30327. #: guix-git/doc/guix.texi:33093
  30328. msgid "Defaults to @samp{()}."
  30329. msgstr ""
  30330. #. type: deftypevr
  30331. #: guix-git/doc/guix.texi:20523
  30332. #, no-wrap
  30333. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  30334. msgstr ""
  30335. #. type: deftypevr
  30336. #: guix-git/doc/guix.texi:20525
  30337. msgid "Access controls for method-specific access to this path."
  30338. msgstr ""
  30339. #. type: deftypevr
  30340. #: guix-git/doc/guix.texi:20529
  30341. msgid "Available @code{method-access-controls} fields are:"
  30342. msgstr ""
  30343. #. type: deftypevr
  30344. #: guix-git/doc/guix.texi:20530
  30345. #, no-wrap
  30346. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  30347. msgstr ""
  30348. #. type: deftypevr
  30349. #: guix-git/doc/guix.texi:20533
  30350. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  30351. msgstr ""
  30352. #. type: deftypevr
  30353. #: guix-git/doc/guix.texi:20537
  30354. #, no-wrap
  30355. msgid "{@code{method-access-controls} parameter} method-list methods"
  30356. msgstr ""
  30357. #. type: deftypevr
  30358. #: guix-git/doc/guix.texi:20539
  30359. msgid "Methods to which this access control applies."
  30360. msgstr ""
  30361. #. type: deftypevr
  30362. #: guix-git/doc/guix.texi:20543
  30363. #, no-wrap
  30364. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  30365. msgstr ""
  30366. #. type: deftypevr
  30367. #: guix-git/doc/guix.texi:20546
  30368. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  30369. msgstr ""
  30370. #. type: deftypevr
  30371. #: guix-git/doc/guix.texi:20552
  30372. #, no-wrap
  30373. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20556
  30377. msgid "Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting."
  30378. msgstr ""
  30379. #. type: deftypevr
  30380. #: guix-git/doc/guix.texi:20558 guix-git/doc/guix.texi:20579
  30381. #: guix-git/doc/guix.texi:20586 guix-git/doc/guix.texi:23061
  30382. #: guix-git/doc/guix.texi:24979 guix-git/doc/guix.texi:24994
  30383. #: guix-git/doc/guix.texi:29034
  30384. msgid "Defaults to @samp{100}."
  30385. msgstr ""
  30386. #. type: deftypevr
  30387. #: guix-git/doc/guix.texi:20560
  30388. #, no-wrap
  30389. msgid "{@code{cups-configuration} parameter} log-level log-level"
  30390. msgstr ""
  30391. #. type: deftypevr
  30392. #: guix-git/doc/guix.texi:20563
  30393. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  30394. msgstr ""
  30395. #. type: deftypevr
  30396. #: guix-git/doc/guix.texi:20565 guix-git/doc/guix.texi:25456
  30397. msgid "Defaults to @samp{info}."
  30398. msgstr ""
  30399. #. type: deftypevr
  30400. #: guix-git/doc/guix.texi:20567
  30401. #, no-wrap
  30402. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  30403. msgstr ""
  30404. #. type: deftypevr
  30405. #: guix-git/doc/guix.texi:20570
  30406. msgid "Specifies the format of the date and time in the log files. The value @code{standard} logs whole seconds while @code{usecs} logs microseconds."
  30407. msgstr ""
  30408. #. type: deftypevr
  30409. #: guix-git/doc/guix.texi:20572
  30410. msgid "Defaults to @samp{standard}."
  30411. msgstr ""
  30412. #. type: deftypevr
  30413. #: guix-git/doc/guix.texi:20574
  30414. #, no-wrap
  30415. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  30416. msgstr ""
  30417. #. type: deftypevr
  30418. #: guix-git/doc/guix.texi:20577
  30419. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  30420. msgstr ""
  30421. #. type: deftypevr
  30422. #: guix-git/doc/guix.texi:20581
  30423. #, no-wrap
  30424. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  30425. msgstr ""
  30426. #. type: deftypevr
  30427. #: guix-git/doc/guix.texi:20584
  30428. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  30429. msgstr ""
  30430. #. type: deftypevr
  30431. #: guix-git/doc/guix.texi:20588
  30432. #, no-wrap
  30433. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  30434. msgstr ""
  30435. #. type: deftypevr
  30436. #: guix-git/doc/guix.texi:20591
  30437. msgid "Specifies the maximum number of copies that a user can print of each job."
  30438. msgstr ""
  30439. #. type: deftypevr
  30440. #: guix-git/doc/guix.texi:20593
  30441. msgid "Defaults to @samp{9999}."
  30442. msgstr ""
  30443. #. type: deftypevr
  30444. #: guix-git/doc/guix.texi:20595
  30445. #, no-wrap
  30446. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  30447. msgstr ""
  30448. #. type: deftypevr
  30449. #: guix-git/doc/guix.texi:20599
  30450. msgid "Specifies the maximum time a job may remain in the @code{indefinite} hold state before it is canceled. A value of 0 disables cancellation of held jobs."
  30451. msgstr ""
  30452. #. type: deftypevr
  30453. #: guix-git/doc/guix.texi:20603
  30454. #, no-wrap
  30455. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  30456. msgstr ""
  30457. #. type: deftypevr
  30458. #: guix-git/doc/guix.texi:20606
  30459. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  30460. msgstr ""
  30461. #. type: deftypevr
  30462. #: guix-git/doc/guix.texi:20608
  30463. msgid "Defaults to @samp{500}."
  30464. msgstr ""
  30465. #. type: deftypevr
  30466. #: guix-git/doc/guix.texi:20610
  30467. #, no-wrap
  30468. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  30469. msgstr ""
  30470. #. type: deftypevr
  30471. #: guix-git/doc/guix.texi:20613
  30472. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  30473. msgstr ""
  30474. #. type: deftypevr
  30475. #: guix-git/doc/guix.texi:20617
  30476. #, no-wrap
  30477. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  30478. msgstr ""
  30479. #. type: deftypevr
  30480. #: guix-git/doc/guix.texi:20620
  30481. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  30482. msgstr ""
  30483. #. type: deftypevr
  30484. #: guix-git/doc/guix.texi:20624
  30485. #, no-wrap
  30486. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  30487. msgstr ""
  30488. #. type: deftypevr
  30489. #: guix-git/doc/guix.texi:20627
  30490. msgid "Specifies the maximum time a job may take to print before it is canceled, in seconds. Set to 0 to disable cancellation of ``stuck'' jobs."
  30491. msgstr ""
  30492. #. type: deftypevr
  30493. #: guix-git/doc/guix.texi:20629
  30494. msgid "Defaults to @samp{10800}."
  30495. msgstr ""
  30496. #. type: deftypevr
  30497. #: guix-git/doc/guix.texi:20631
  30498. #, no-wrap
  30499. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  30500. msgstr ""
  30501. #. type: deftypevr
  30502. #: guix-git/doc/guix.texi:20634
  30503. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  30504. msgstr ""
  30505. #. type: deftypevr
  30506. #: guix-git/doc/guix.texi:20636
  30507. msgid "Defaults to @samp{1048576}."
  30508. msgstr ""
  30509. #. type: deftypevr
  30510. #: guix-git/doc/guix.texi:20638
  30511. #, no-wrap
  30512. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  30513. msgstr ""
  30514. #. type: deftypevr
  30515. #: guix-git/doc/guix.texi:20641
  30516. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  30517. msgstr ""
  30518. #. type: deftypevr
  30519. #: guix-git/doc/guix.texi:20643 guix-git/doc/guix.texi:20854
  30520. msgid "Defaults to @samp{900}."
  30521. msgstr ""
  30522. #. type: deftypevr
  30523. #: guix-git/doc/guix.texi:20645
  30524. #, no-wrap
  30525. msgid "{@code{cups-configuration} parameter} string page-log-format"
  30526. msgstr ""
  30527. #. type: deftypevr
  30528. #: guix-git/doc/guix.texi:20650
  30529. msgid "Specifies the format of PageLog lines. Sequences beginning with percent (@samp{%}) characters are replaced with the corresponding information, while all other characters are copied literally. The following percent sequences are recognized:"
  30530. msgstr ""
  30531. #. type: item
  30532. #: guix-git/doc/guix.texi:20652
  30533. #, no-wrap
  30534. msgid "%%"
  30535. msgstr ""
  30536. #. type: table
  30537. #: guix-git/doc/guix.texi:20654
  30538. msgid "insert a single percent character"
  30539. msgstr ""
  30540. #. type: item
  30541. #: guix-git/doc/guix.texi:20655
  30542. #, no-wrap
  30543. msgid "%@{name@}"
  30544. msgstr ""
  30545. #. type: table
  30546. #: guix-git/doc/guix.texi:20657
  30547. msgid "insert the value of the specified IPP attribute"
  30548. msgstr ""
  30549. #. type: item
  30550. #: guix-git/doc/guix.texi:20658
  30551. #, no-wrap
  30552. msgid "%C"
  30553. msgstr ""
  30554. #. type: table
  30555. #: guix-git/doc/guix.texi:20660
  30556. msgid "insert the number of copies for the current page"
  30557. msgstr ""
  30558. #. type: item
  30559. #: guix-git/doc/guix.texi:20661
  30560. #, no-wrap
  30561. msgid "%P"
  30562. msgstr ""
  30563. #. type: table
  30564. #: guix-git/doc/guix.texi:20663
  30565. msgid "insert the current page number"
  30566. msgstr ""
  30567. #. type: item
  30568. #: guix-git/doc/guix.texi:20664
  30569. #, no-wrap
  30570. msgid "%T"
  30571. msgstr ""
  30572. #. type: table
  30573. #: guix-git/doc/guix.texi:20666
  30574. msgid "insert the current date and time in common log format"
  30575. msgstr ""
  30576. #. type: item
  30577. #: guix-git/doc/guix.texi:20667
  30578. #, no-wrap
  30579. msgid "%j"
  30580. msgstr ""
  30581. #. type: table
  30582. #: guix-git/doc/guix.texi:20669
  30583. msgid "insert the job ID"
  30584. msgstr ""
  30585. #. type: item
  30586. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:22660
  30587. #, no-wrap
  30588. msgid "%p"
  30589. msgstr ""
  30590. #. type: table
  30591. #: guix-git/doc/guix.texi:20672
  30592. msgid "insert the printer name"
  30593. msgstr ""
  30594. #. type: item
  30595. #: guix-git/doc/guix.texi:20673 guix-git/doc/guix.texi:22683
  30596. #, no-wrap
  30597. msgid "%u"
  30598. msgstr ""
  30599. #. type: table
  30600. #: guix-git/doc/guix.texi:20675
  30601. msgid "insert the username"
  30602. msgstr ""
  30603. #. type: deftypevr
  30604. #: guix-git/doc/guix.texi:20681
  30605. msgid "A value of the empty string disables page logging. The string @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} creates a page log with the standard items."
  30606. msgstr ""
  30607. #. type: deftypevr
  30608. #: guix-git/doc/guix.texi:20685
  30609. #, no-wrap
  30610. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  30611. msgstr ""
  30612. #. type: deftypevr
  30613. #: guix-git/doc/guix.texi:20688
  30614. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  30615. msgstr ""
  30616. #. type: deftypevr
  30617. #: guix-git/doc/guix.texi:20692
  30618. #, no-wrap
  30619. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  30620. msgstr ""
  30621. #. type: deftypevr
  30622. #: guix-git/doc/guix.texi:20694
  30623. msgid "Specifies named access control policies."
  30624. msgstr ""
  30625. #. type: deftypevr
  30626. #: guix-git/doc/guix.texi:20696
  30627. msgid "Available @code{policy-configuration} fields are:"
  30628. msgstr ""
  30629. #. type: deftypevr
  30630. #: guix-git/doc/guix.texi:20697
  30631. #, no-wrap
  30632. msgid "{@code{policy-configuration} parameter} string name"
  30633. msgstr ""
  30634. #. type: deftypevr
  30635. #: guix-git/doc/guix.texi:20699
  30636. msgid "Name of the policy."
  30637. msgstr ""
  30638. #. type: deftypevr
  30639. #: guix-git/doc/guix.texi:20701
  30640. #, no-wrap
  30641. msgid "{@code{policy-configuration} parameter} string job-private-access"
  30642. msgstr ""
  30643. #. type: deftypevr
  30644. #: guix-git/doc/guix.texi:20711
  30645. msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  30646. msgstr ""
  30647. #. type: deftypevr
  30648. #: guix-git/doc/guix.texi:20713 guix-git/doc/guix.texi:20735
  30649. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  30650. msgstr ""
  30651. #. type: deftypevr
  30652. #: guix-git/doc/guix.texi:20715
  30653. #, no-wrap
  30654. msgid "{@code{policy-configuration} parameter} string job-private-values"
  30655. msgstr ""
  30656. #. type: deftypevr
  30657. #: guix-git/doc/guix.texi:20718 guix-git/doc/guix.texi:20740
  30658. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  30659. msgstr ""
  30660. #. type: deftypevr
  30661. #: guix-git/doc/guix.texi:20721
  30662. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  30663. msgstr ""
  30664. #. type: deftypevr
  30665. #: guix-git/doc/guix.texi:20723
  30666. #, no-wrap
  30667. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  30668. msgstr ""
  30669. #. type: deftypevr
  30670. #: guix-git/doc/guix.texi:20733
  30671. msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  30672. msgstr ""
  30673. #. type: deftypevr
  30674. #: guix-git/doc/guix.texi:20737
  30675. #, no-wrap
  30676. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30677. msgstr ""
  30678. #. type: deftypevr
  30679. #: guix-git/doc/guix.texi:20743
  30680. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30681. msgstr ""
  30682. #. type: deftypevr
  30683. #: guix-git/doc/guix.texi:20745
  30684. #, no-wrap
  30685. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30686. msgstr ""
  30687. #. type: deftypevr
  30688. #: guix-git/doc/guix.texi:20747
  30689. msgid "Access control by IPP operation."
  30690. msgstr ""
  30691. #. type: deftypevr
  30692. #: guix-git/doc/guix.texi:20752
  30693. #, no-wrap
  30694. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30695. msgstr ""
  30696. #. type: deftypevr
  30697. #: guix-git/doc/guix.texi:20757
  30698. msgid "Specifies whether job files (documents) are preserved after a job is printed. If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. Otherwise a boolean value applies indefinitely."
  30699. msgstr ""
  30700. #. type: deftypevr
  30701. #: guix-git/doc/guix.texi:20759
  30702. msgid "Defaults to @samp{86400}."
  30703. msgstr ""
  30704. #. type: deftypevr
  30705. #: guix-git/doc/guix.texi:20761
  30706. #, no-wrap
  30707. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30708. msgstr ""
  30709. #. type: deftypevr
  30710. #: guix-git/doc/guix.texi:20766
  30711. msgid "Specifies whether the job history is preserved after a job is printed. If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. If @code{#t}, the job history is preserved until the MaxJobs limit is reached."
  30712. msgstr ""
  30713. #. type: deftypevr
  30714. #: guix-git/doc/guix.texi:20770
  30715. #, no-wrap
  30716. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30717. msgstr ""
  30718. #. type: deftypevr
  30719. #: guix-git/doc/guix.texi:20773
  30720. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30721. msgstr ""
  30722. #. type: deftypevr
  30723. #: guix-git/doc/guix.texi:20777
  30724. #, no-wrap
  30725. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30726. msgstr ""
  30727. #. type: deftypevr
  30728. #: guix-git/doc/guix.texi:20780
  30729. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30730. msgstr ""
  30731. #. type: deftypevr
  30732. #: guix-git/doc/guix.texi:20782
  30733. msgid "Defaults to @samp{\"128m\"}."
  30734. msgstr ""
  30735. #. type: deftypevr
  30736. #: guix-git/doc/guix.texi:20784
  30737. #, no-wrap
  30738. msgid "{@code{cups-configuration} parameter} string server-admin"
  30739. msgstr ""
  30740. #. type: deftypevr
  30741. #: guix-git/doc/guix.texi:20786
  30742. msgid "Specifies the email address of the server administrator."
  30743. msgstr ""
  30744. #. type: deftypevr
  30745. #: guix-git/doc/guix.texi:20788
  30746. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30747. msgstr ""
  30748. #. type: deftypevr
  30749. #: guix-git/doc/guix.texi:20790
  30750. #, no-wrap
  30751. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30752. msgstr ""
  30753. #. type: deftypevr
  30754. #: guix-git/doc/guix.texi:20798
  30755. msgid "The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. Using the special name @code{*} can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using @code{*}."
  30756. msgstr ""
  30757. #. type: deftypevr
  30758. #: guix-git/doc/guix.texi:20800
  30759. msgid "Defaults to @samp{*}."
  30760. msgstr ""
  30761. #. type: deftypevr
  30762. #: guix-git/doc/guix.texi:20802
  30763. #, no-wrap
  30764. msgid "{@code{cups-configuration} parameter} string server-name"
  30765. msgstr ""
  30766. #. type: deftypevr
  30767. #: guix-git/doc/guix.texi:20804
  30768. msgid "Specifies the fully-qualified host name of the server."
  30769. msgstr ""
  30770. #. type: deftypevr
  30771. #: guix-git/doc/guix.texi:20806
  30772. msgid "Defaults to @samp{\"localhost\"}."
  30773. msgstr ""
  30774. #. type: deftypevr
  30775. #: guix-git/doc/guix.texi:20808
  30776. #, no-wrap
  30777. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30778. msgstr ""
  30779. #. type: deftypevr
  30780. #: guix-git/doc/guix.texi:20816
  30781. msgid "Specifies what information is included in the Server header of HTTP responses. @code{None} disables the Server header. @code{ProductOnly} reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}."
  30782. msgstr ""
  30783. #. type: deftypevr
  30784. #: guix-git/doc/guix.texi:20818
  30785. msgid "Defaults to @samp{Minimal}."
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20820
  30789. #, no-wrap
  30790. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30791. msgstr ""
  30792. #. type: deftypevr
  30793. #: guix-git/doc/guix.texi:20825
  30794. msgid "Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses."
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20829
  30798. #, no-wrap
  30799. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30800. msgstr ""
  30801. #. type: deftypevr
  30802. #: guix-git/doc/guix.texi:20839
  30803. msgid "Sets encryption options. By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. Security is reduced when @code{Allow} options are used, and enhanced when @code{Deny} options are used. The @code{AllowRC4} option enables the 128-bit RC4 cipher suites, which are required for some older clients. The @code{AllowSSL3} option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. The @code{DenyCBC} option disables all CBC cipher suites. The @code{DenyTLS1.0} option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1."
  30804. msgstr ""
  30805. #. type: deftypevr
  30806. #: guix-git/doc/guix.texi:20843
  30807. #, no-wrap
  30808. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30809. msgstr ""
  30810. #. type: deftypevr
  30811. #: guix-git/doc/guix.texi:20846
  30812. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30813. msgstr ""
  30814. #. type: deftypevr
  30815. #: guix-git/doc/guix.texi:20850
  30816. #, no-wrap
  30817. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30818. msgstr ""
  30819. #. type: deftypevr
  30820. #: guix-git/doc/guix.texi:20852
  30821. msgid "Specifies the HTTP request timeout, in seconds."
  30822. msgstr ""
  30823. #. type: deftypevr
  30824. #: guix-git/doc/guix.texi:20857
  30825. #, no-wrap
  30826. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30827. msgstr ""
  30828. #. type: deftypevr
  30829. #: guix-git/doc/guix.texi:20859
  30830. msgid "Specifies whether the web interface is enabled."
  30831. msgstr ""
  30832. #. type: Plain text
  30833. #: guix-git/doc/guix.texi:20869
  30834. msgid "At this point you're probably thinking ``oh dear, Guix manual, I like you but you can stop already with the configuration options''. Indeed. However, one more point: it could be that you have an existing @code{cupsd.conf} that you want to use. In that case, you can pass an @code{opaque-cups-configuration} as the configuration of a @code{cups-service-type}."
  30835. msgstr ""
  30836. #. type: Plain text
  30837. #: guix-git/doc/guix.texi:20871
  30838. msgid "Available @code{opaque-cups-configuration} fields are:"
  30839. msgstr ""
  30840. #. type: deftypevr
  30841. #: guix-git/doc/guix.texi:20872
  30842. #, no-wrap
  30843. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30844. msgstr ""
  30845. #. type: deftypevr
  30846. #: guix-git/doc/guix.texi:20876
  30847. #, no-wrap
  30848. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30849. msgstr ""
  30850. #. type: deftypevr
  30851. #: guix-git/doc/guix.texi:20878
  30852. msgid "The contents of the @code{cupsd.conf}, as a string."
  30853. msgstr ""
  30854. #. type: deftypevr
  30855. #: guix-git/doc/guix.texi:20880
  30856. #, no-wrap
  30857. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30858. msgstr ""
  30859. #. type: deftypevr
  30860. #: guix-git/doc/guix.texi:20882
  30861. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30862. msgstr ""
  30863. #. type: Plain text
  30864. #: guix-git/doc/guix.texi:20887
  30865. msgid "For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in strings of the same name, you could instantiate a CUPS service like this:"
  30866. msgstr ""
  30867. #. type: lisp
  30868. #: guix-git/doc/guix.texi:20893
  30869. #, no-wrap
  30870. msgid ""
  30871. "(service cups-service-type\n"
  30872. " (opaque-cups-configuration\n"
  30873. " (cupsd.conf cupsd.conf)\n"
  30874. " (cups-files.conf cups-files.conf)))\n"
  30875. msgstr ""
  30876. #. type: Plain text
  30877. #: guix-git/doc/guix.texi:20904
  30878. msgid "The @code{(gnu services desktop)} module provides services that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop environments like GNOME, Xfce or MATE."
  30879. msgstr ""
  30880. #. type: Plain text
  30881. #: guix-git/doc/guix.texi:20908
  30882. msgid "To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical environment and networking:"
  30883. msgstr ""
  30884. #. type: defvr
  30885. #: guix-git/doc/guix.texi:20909
  30886. #, no-wrap
  30887. msgid "{Scheme Variable} %desktop-services"
  30888. msgstr ""
  30889. #. type: defvr
  30890. #: guix-git/doc/guix.texi:20912
  30891. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30892. msgstr ""
  30893. #. type: defvr
  30894. #: guix-git/doc/guix.texi:20923
  30895. msgid "In particular, it adds a graphical login manager (@pxref{X Window, @code{gdm-service-type}}), screen lockers, a network management tool (@pxref{Networking Services, @code{network-manager-service-type}}) with modem support (@pxref{Networking Services, @code{modem-manager-service-type}}), energy and color management services, the @code{elogind} login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, an NTP client (@pxref{Networking Services}), the Avahi daemon, and has the name service switch service configured to be able to use @code{nss-mdns} (@pxref{Name Service Switch, mDNS})."
  30896. msgstr ""
  30897. #. type: Plain text
  30898. #: guix-git/doc/guix.texi:20928
  30899. msgid "The @code{%desktop-services} variable can be used as the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}})."
  30900. msgstr ""
  30901. #. type: Plain text
  30902. #: guix-git/doc/guix.texi:20951
  30903. msgid "Additionally, the @code{gnome-desktop-service-type}, @code{xfce-desktop-service}, @code{mate-desktop-service-type}, @code{lxqt-desktop-service-type} and @code{enlightenment-desktop-service-type} procedures can add GNOME, Xfce, MATE and/or Enlightenment to a system. To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{gnome-desktop-service-type} adds the GNOME metapackage to the system profile. Likewise, adding the Xfce service not only adds the @code{xfce} metapackage to the system profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. To ``add MATE'' means that @code{polkit} and @code{dbus} are extended appropriately, allowing MATE to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service of type @code{mate-desktop-service-type} adds the MATE metapackage to the system profile. ``Adding Enlightenment'' means that @code{dbus} is extended appropriately, and several of Enlightenment's binaries are set as setuid, allowing Enlightenment's screen locker and other functionality to work as expected."
  30904. msgstr ""
  30905. #. type: Plain text
  30906. #: guix-git/doc/guix.texi:20961
  30907. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  30908. msgstr ""
  30909. #. type: defvr
  30910. #: guix-git/doc/guix.texi:20962
  30911. #, no-wrap
  30912. msgid "{Scheme Variable} gnome-desktop-service-type"
  30913. msgstr ""
  30914. #. type: defvr
  30915. #: guix-git/doc/guix.texi:20966
  30916. msgid "This is the type of the service that adds the @uref{https://www.gnome.org, GNOME} desktop environment. Its value is a @code{gnome-desktop-configuration} object (see below)."
  30917. msgstr ""
  30918. #. type: defvr
  30919. #: guix-git/doc/guix.texi:20969
  30920. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30921. msgstr ""
  30922. #. type: deftp
  30923. #: guix-git/doc/guix.texi:20971
  30924. #, no-wrap
  30925. msgid "{Data Type} gnome-desktop-configuration"
  30926. msgstr ""
  30927. #. type: deftp
  30928. #: guix-git/doc/guix.texi:20973
  30929. msgid "Configuration record for the GNOME desktop environment."
  30930. msgstr ""
  30931. #. type: item
  30932. #: guix-git/doc/guix.texi:20975
  30933. #, no-wrap
  30934. msgid "@code{gnome} (default: @code{gnome})"
  30935. msgstr ""
  30936. #. type: table
  30937. #: guix-git/doc/guix.texi:20977
  30938. msgid "The GNOME package to use."
  30939. msgstr ""
  30940. #. type: defvr
  30941. #: guix-git/doc/guix.texi:20980
  30942. #, no-wrap
  30943. msgid "{Scheme Variable} xfce-desktop-service-type"
  30944. msgstr ""
  30945. #. type: defvr
  30946. #: guix-git/doc/guix.texi:20984
  30947. msgid "This is the type of a service to run the @uref{Xfce, https://xfce.org/} desktop environment. Its value is an @code{xfce-desktop-configuration} object (see below)."
  30948. msgstr ""
  30949. #. type: defvr
  30950. #: guix-git/doc/guix.texi:20989
  30951. msgid "This service adds the @code{xfce} package to the system profile, and extends polkit with the ability for @code{thunar} to manipulate the file system as root from within a user session, after the user has authenticated with the administrator's password."
  30952. msgstr ""
  30953. #. type: defvr
  30954. #: guix-git/doc/guix.texi:20995
  30955. msgid "Note that @code{xfce4-panel} and its plugin packages should be installed in the same profile to ensure compatibility. When using this service, you should add extra plugins (@code{xfce4-whiskermenu-plugin}, @code{xfce4-weather-plugin}, etc.) to the @code{packages} field of your @code{operating-system}."
  30956. msgstr ""
  30957. #. type: deftp
  30958. #: guix-git/doc/guix.texi:20997
  30959. #, no-wrap
  30960. msgid "{Data Type} xfce-desktop-configuration"
  30961. msgstr ""
  30962. #. type: deftp
  30963. #: guix-git/doc/guix.texi:20999
  30964. msgid "Configuration record for the Xfce desktop environment."
  30965. msgstr ""
  30966. #. type: item
  30967. #: guix-git/doc/guix.texi:21001
  30968. #, no-wrap
  30969. msgid "@code{xfce} (default: @code{xfce})"
  30970. msgstr ""
  30971. #. type: table
  30972. #: guix-git/doc/guix.texi:21003
  30973. msgid "The Xfce package to use."
  30974. msgstr ""
  30975. #. type: deffn
  30976. #: guix-git/doc/guix.texi:21006
  30977. #, no-wrap
  30978. msgid "{Scheme Variable} mate-desktop-service-type"
  30979. msgstr ""
  30980. #. type: deffn
  30981. #: guix-git/doc/guix.texi:21010
  30982. msgid "This is the type of the service that runs the @uref{https://mate-desktop.org/, MATE desktop environment}. Its value is a @code{mate-desktop-configuration} object (see below)."
  30983. msgstr ""
  30984. #. type: deffn
  30985. #: guix-git/doc/guix.texi:21014
  30986. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30987. msgstr ""
  30988. #. type: deftp
  30989. #: guix-git/doc/guix.texi:21016
  30990. #, no-wrap
  30991. msgid "{Data Type} mate-desktop-configuration"
  30992. msgstr ""
  30993. #. type: deftp
  30994. #: guix-git/doc/guix.texi:21018
  30995. msgid "Configuration record for the MATE desktop environment."
  30996. msgstr ""
  30997. #. type: item
  30998. #: guix-git/doc/guix.texi:21020
  30999. #, no-wrap
  31000. msgid "@code{mate} (default: @code{mate})"
  31001. msgstr ""
  31002. #. type: table
  31003. #: guix-git/doc/guix.texi:21022
  31004. msgid "The MATE package to use."
  31005. msgstr ""
  31006. #. type: deffn
  31007. #: guix-git/doc/guix.texi:21025
  31008. #, no-wrap
  31009. msgid "{Scheme Variable} lxqt-desktop-service-type"
  31010. msgstr ""
  31011. #. type: deffn
  31012. #: guix-git/doc/guix.texi:21029
  31013. msgid "This is the type of the service that runs the @uref{https://lxqt-project.org, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  31014. msgstr ""
  31015. #. type: deffn
  31016. #: guix-git/doc/guix.texi:21032
  31017. msgid "This service adds the @code{lxqt} package to the system profile."
  31018. msgstr ""
  31019. #. type: deftp
  31020. #: guix-git/doc/guix.texi:21034
  31021. #, no-wrap
  31022. msgid "{Data Type} lxqt-desktop-configuration"
  31023. msgstr ""
  31024. #. type: deftp
  31025. #: guix-git/doc/guix.texi:21036
  31026. msgid "Configuration record for the LXQt desktop environment."
  31027. msgstr ""
  31028. #. type: item
  31029. #: guix-git/doc/guix.texi:21038
  31030. #, no-wrap
  31031. msgid "@code{lxqt} (default: @code{lxqt})"
  31032. msgstr ""
  31033. #. type: table
  31034. #: guix-git/doc/guix.texi:21040
  31035. msgid "The LXQT package to use."
  31036. msgstr ""
  31037. #. type: deffn
  31038. #: guix-git/doc/guix.texi:21043
  31039. #, no-wrap
  31040. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  31041. msgstr ""
  31042. #. type: deffn
  31043. #: guix-git/doc/guix.texi:21046
  31044. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  31045. msgstr ""
  31046. #. type: deftp
  31047. #: guix-git/doc/guix.texi:21048
  31048. #, no-wrap
  31049. msgid "{Data Type} enlightenment-desktop-service-configuration"
  31050. msgstr ""
  31051. #. type: item
  31052. #: guix-git/doc/guix.texi:21050
  31053. #, no-wrap
  31054. msgid "@code{enlightenment} (default: @code{enlightenment})"
  31055. msgstr ""
  31056. #. type: table
  31057. #: guix-git/doc/guix.texi:21052
  31058. msgid "The enlightenment package to use."
  31059. msgstr ""
  31060. #. type: Plain text
  31061. #: guix-git/doc/guix.texi:21060
  31062. msgid "Because the GNOME, Xfce and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include any of them by default. To add GNOME, Xfce or MATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}:"
  31063. msgstr ""
  31064. #. type: lisp
  31065. #: guix-git/doc/guix.texi:21071
  31066. #, no-wrap
  31067. msgid ""
  31068. "(use-modules (gnu))\n"
  31069. "(use-service-modules desktop)\n"
  31070. "(operating-system\n"
  31071. " ...\n"
  31072. " ;; cons* adds items to the list given as its last argument.\n"
  31073. " (services (cons* (service gnome-desktop-service-type)\n"
  31074. " (service xfce-desktop-service)\n"
  31075. " %desktop-services))\n"
  31076. " ...)\n"
  31077. msgstr ""
  31078. #. type: Plain text
  31079. #: guix-git/doc/guix.texi:21075
  31080. msgid "These desktop environments will then be available as options in the graphical login window."
  31081. msgstr ""
  31082. #. type: Plain text
  31083. #: guix-git/doc/guix.texi:21079
  31084. msgid "The actual service definitions included in @code{%desktop-services} and provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are described below."
  31085. msgstr ""
  31086. #. type: deffn
  31087. #: guix-git/doc/guix.texi:21080
  31088. #, no-wrap
  31089. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  31090. msgstr ""
  31091. #. type: deffn
  31092. #: guix-git/doc/guix.texi:21083
  31093. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  31094. msgstr ""
  31095. #. type: deffn
  31096. #: guix-git/doc/guix.texi:21087
  31097. msgid "@uref{https://dbus.freedesktop.org/, D-Bus} is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events."
  31098. msgstr ""
  31099. #. type: deffn
  31100. #: guix-git/doc/guix.texi:21092
  31101. msgid "@var{services} must be a list of packages that provide an @file{etc/dbus-1/system.d} directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, @var{services} must be equal to @code{(list avahi)}."
  31102. msgstr ""
  31103. #. type: deffn
  31104. #: guix-git/doc/guix.texi:21094
  31105. #, no-wrap
  31106. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  31107. msgstr ""
  31108. #. type: deffn
  31109. #: guix-git/doc/guix.texi:21100
  31110. msgid "Return a service that runs the @code{elogind} login and seat management daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks."
  31111. msgstr ""
  31112. #. type: deffn
  31113. #: guix-git/doc/guix.texi:21104
  31114. msgid "Elogind handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed."
  31115. msgstr ""
  31116. #. type: deffn
  31117. #: guix-git/doc/guix.texi:21109
  31118. msgid "The @var{config} keyword argument specifies the configuration for elogind, and should be the result of an @code{(elogind-configuration (@var{parameter} @var{value})...)} invocation. Available parameters and their default values are:"
  31119. msgstr ""
  31120. #. type: item
  31121. #: guix-git/doc/guix.texi:21111
  31122. #, no-wrap
  31123. msgid "kill-user-processes?"
  31124. msgstr ""
  31125. #. type: code{#1}
  31126. #: guix-git/doc/guix.texi:21113 guix-git/doc/guix.texi:21133
  31127. #: guix-git/doc/guix.texi:21135 guix-git/doc/guix.texi:21137
  31128. #: guix-git/doc/guix.texi:21149
  31129. msgid "#f"
  31130. msgstr ""
  31131. #. type: item
  31132. #: guix-git/doc/guix.texi:21113
  31133. #, no-wrap
  31134. msgid "kill-only-users"
  31135. msgstr ""
  31136. #. type: code{#1}
  31137. #: guix-git/doc/guix.texi:21115 guix-git/doc/guix.texi:21155
  31138. msgid "()"
  31139. msgstr ""
  31140. #. type: item
  31141. #: guix-git/doc/guix.texi:21115
  31142. #, no-wrap
  31143. msgid "kill-exclude-users"
  31144. msgstr ""
  31145. #. type: code{#1}
  31146. #: guix-git/doc/guix.texi:21117
  31147. msgid "(\"root\")"
  31148. msgstr ""
  31149. #. type: item
  31150. #: guix-git/doc/guix.texi:21117
  31151. #, no-wrap
  31152. msgid "inhibit-delay-max-seconds"
  31153. msgstr ""
  31154. #. type: code{#1}
  31155. #: guix-git/doc/guix.texi:21119
  31156. msgid "5"
  31157. msgstr ""
  31158. #. type: item
  31159. #: guix-git/doc/guix.texi:21119
  31160. #, no-wrap
  31161. msgid "handle-power-key"
  31162. msgstr ""
  31163. #. type: code{#1}
  31164. #: guix-git/doc/guix.texi:21121
  31165. msgid "poweroff"
  31166. msgstr ""
  31167. #. type: item
  31168. #: guix-git/doc/guix.texi:21121
  31169. #, no-wrap
  31170. msgid "handle-suspend-key"
  31171. msgstr ""
  31172. #. type: code{#1}
  31173. #: guix-git/doc/guix.texi:21123 guix-git/doc/guix.texi:21127
  31174. msgid "suspend"
  31175. msgstr ""
  31176. #. type: item
  31177. #: guix-git/doc/guix.texi:21123
  31178. #, no-wrap
  31179. msgid "handle-hibernate-key"
  31180. msgstr ""
  31181. #. type: code{#1}
  31182. #: guix-git/doc/guix.texi:21125
  31183. msgid "hibernate"
  31184. msgstr ""
  31185. #. type: item
  31186. #: guix-git/doc/guix.texi:21125
  31187. #, no-wrap
  31188. msgid "handle-lid-switch"
  31189. msgstr ""
  31190. #. type: item
  31191. #: guix-git/doc/guix.texi:21127
  31192. #, no-wrap
  31193. msgid "handle-lid-switch-docked"
  31194. msgstr ""
  31195. #. type: code{#1}
  31196. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21131
  31197. #: guix-git/doc/guix.texi:21143
  31198. msgid "ignore"
  31199. msgstr "ignore"
  31200. #. type: item
  31201. #: guix-git/doc/guix.texi:21129
  31202. #, no-wrap
  31203. msgid "handle-lid-switch-external-power"
  31204. msgstr ""
  31205. #. type: item
  31206. #: guix-git/doc/guix.texi:21131
  31207. #, no-wrap
  31208. msgid "power-key-ignore-inhibited?"
  31209. msgstr ""
  31210. #. type: item
  31211. #: guix-git/doc/guix.texi:21133
  31212. #, no-wrap
  31213. msgid "suspend-key-ignore-inhibited?"
  31214. msgstr ""
  31215. #. type: item
  31216. #: guix-git/doc/guix.texi:21135
  31217. #, no-wrap
  31218. msgid "hibernate-key-ignore-inhibited?"
  31219. msgstr ""
  31220. #. type: item
  31221. #: guix-git/doc/guix.texi:21137
  31222. #, no-wrap
  31223. msgid "lid-switch-ignore-inhibited?"
  31224. msgstr ""
  31225. #. type: code{#1}
  31226. #: guix-git/doc/guix.texi:21139 guix-git/doc/guix.texi:21151
  31227. msgid "#t"
  31228. msgstr ""
  31229. #. type: item
  31230. #: guix-git/doc/guix.texi:21139
  31231. #, no-wrap
  31232. msgid "holdoff-timeout-seconds"
  31233. msgstr ""
  31234. #. type: code{#1}
  31235. #: guix-git/doc/guix.texi:21141
  31236. msgid "30"
  31237. msgstr ""
  31238. #. type: item
  31239. #: guix-git/doc/guix.texi:21141
  31240. #, no-wrap
  31241. msgid "idle-action"
  31242. msgstr ""
  31243. #. type: item
  31244. #: guix-git/doc/guix.texi:21143
  31245. #, no-wrap
  31246. msgid "idle-action-seconds"
  31247. msgstr ""
  31248. #. type: code{#1}
  31249. #: guix-git/doc/guix.texi:21145
  31250. msgid "(* 30 60)"
  31251. msgstr ""
  31252. #. type: item
  31253. #: guix-git/doc/guix.texi:21145
  31254. #, no-wrap
  31255. msgid "runtime-directory-size-percent"
  31256. msgstr ""
  31257. #. type: code{#1}
  31258. #: guix-git/doc/guix.texi:21147
  31259. msgid "10"
  31260. msgstr ""
  31261. #. type: item
  31262. #: guix-git/doc/guix.texi:21147
  31263. #, no-wrap
  31264. msgid "runtime-directory-size"
  31265. msgstr ""
  31266. #. type: item
  31267. #: guix-git/doc/guix.texi:21149
  31268. #, no-wrap
  31269. msgid "remove-ipc?"
  31270. msgstr ""
  31271. #. type: item
  31272. #: guix-git/doc/guix.texi:21151
  31273. #, no-wrap
  31274. msgid "suspend-state"
  31275. msgstr ""
  31276. #. type: code{#1}
  31277. #: guix-git/doc/guix.texi:21153
  31278. msgid "(\"mem\" \"standby\" \"freeze\")"
  31279. msgstr ""
  31280. #. type: item
  31281. #: guix-git/doc/guix.texi:21153
  31282. #, no-wrap
  31283. msgid "suspend-mode"
  31284. msgstr ""
  31285. #. type: item
  31286. #: guix-git/doc/guix.texi:21155
  31287. #, no-wrap
  31288. msgid "hibernate-state"
  31289. msgstr ""
  31290. #. type: code{#1}
  31291. #: guix-git/doc/guix.texi:21157 guix-git/doc/guix.texi:21161
  31292. msgid "(\"disk\")"
  31293. msgstr ""
  31294. #. type: item
  31295. #: guix-git/doc/guix.texi:21157
  31296. #, no-wrap
  31297. msgid "hibernate-mode"
  31298. msgstr ""
  31299. #. type: code{#1}
  31300. #: guix-git/doc/guix.texi:21159
  31301. msgid "(\"platform\" \"shutdown\")"
  31302. msgstr ""
  31303. #. type: item
  31304. #: guix-git/doc/guix.texi:21159
  31305. #, no-wrap
  31306. msgid "hybrid-sleep-state"
  31307. msgstr ""
  31308. #. type: item
  31309. #: guix-git/doc/guix.texi:21161
  31310. #, no-wrap
  31311. msgid "hybrid-sleep-mode"
  31312. msgstr ""
  31313. #. type: code{#1}
  31314. #: guix-git/doc/guix.texi:21163
  31315. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  31316. msgstr ""
  31317. #. type: deffn
  31318. #: guix-git/doc/guix.texi:21166
  31319. #, no-wrap
  31320. msgid "{Scheme Procedure} accountsservice-service @"
  31321. msgstr ""
  31322. #. type: deffn
  31323. #: guix-git/doc/guix.texi:21174
  31324. msgid "[#:accountsservice @var{accountsservice}] Return a service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the accountsservice web site} for more information."
  31325. msgstr ""
  31326. #. type: deffn
  31327. #: guix-git/doc/guix.texi:21177
  31328. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  31329. msgstr ""
  31330. #. type: deffn
  31331. #: guix-git/doc/guix.texi:21179
  31332. #, no-wrap
  31333. msgid "{Scheme Procedure} polkit-service @"
  31334. msgstr ""
  31335. #. type: deffn
  31336. #: guix-git/doc/guix.texi:21188
  31337. msgid "[#:polkit @var{polkit}] Return a service that runs the @uref{https://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege management service}, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally."
  31338. msgstr ""
  31339. #. type: defvr
  31340. #: guix-git/doc/guix.texi:21190
  31341. #, no-wrap
  31342. msgid "{Scheme Variable} polkit-wheel-service"
  31343. msgstr ""
  31344. #. type: defvr
  31345. #: guix-git/doc/guix.texi:21195
  31346. msgid "Service that adds the @code{wheel} group as admins to the Polkit service. This makes it so that users in the @code{wheel} group are queried for their own passwords when performing administrative actions instead of @code{root}'s, similar to the behaviour used by @code{sudo}."
  31347. msgstr ""
  31348. #. type: defvr
  31349. #: guix-git/doc/guix.texi:21197
  31350. #, no-wrap
  31351. msgid "{Scheme Variable} upower-service-type"
  31352. msgstr ""
  31353. #. type: defvr
  31354. #: guix-git/doc/guix.texi:21201
  31355. msgid "Service that runs @uref{https://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and battery levels, with the given configuration settings."
  31356. msgstr ""
  31357. #. type: defvr
  31358. #: guix-git/doc/guix.texi:21204
  31359. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  31360. msgstr ""
  31361. #. type: deftp
  31362. #: guix-git/doc/guix.texi:21206
  31363. #, no-wrap
  31364. msgid "{Data Type} upower-configuration"
  31365. msgstr ""
  31366. #. type: deftp
  31367. #: guix-git/doc/guix.texi:21208
  31368. msgid "Data type representation the configuration for UPower."
  31369. msgstr ""
  31370. #. type: item
  31371. #: guix-git/doc/guix.texi:21211
  31372. #, no-wrap
  31373. msgid "@code{upower} (default: @var{upower})"
  31374. msgstr ""
  31375. #. type: table
  31376. #: guix-git/doc/guix.texi:21213
  31377. msgid "Package to use for @code{upower}."
  31378. msgstr ""
  31379. #. type: item
  31380. #: guix-git/doc/guix.texi:21214
  31381. #, no-wrap
  31382. msgid "@code{watts-up-pro?} (default: @code{#f})"
  31383. msgstr ""
  31384. #. type: table
  31385. #: guix-git/doc/guix.texi:21216
  31386. msgid "Enable the Watts Up Pro device."
  31387. msgstr ""
  31388. #. type: item
  31389. #: guix-git/doc/guix.texi:21217
  31390. #, no-wrap
  31391. msgid "@code{poll-batteries?} (default: @code{#t})"
  31392. msgstr ""
  31393. #. type: table
  31394. #: guix-git/doc/guix.texi:21219
  31395. msgid "Enable polling the kernel for battery level changes."
  31396. msgstr ""
  31397. #. type: item
  31398. #: guix-git/doc/guix.texi:21220
  31399. #, no-wrap
  31400. msgid "@code{ignore-lid?} (default: @code{#f})"
  31401. msgstr ""
  31402. #. type: table
  31403. #: guix-git/doc/guix.texi:21222
  31404. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  31405. msgstr ""
  31406. #. type: item
  31407. #: guix-git/doc/guix.texi:21223
  31408. #, no-wrap
  31409. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  31410. msgstr ""
  31411. #. type: table
  31412. #: guix-git/doc/guix.texi:21226
  31413. msgid "Whether battery percentage based policy should be used. The default is to use the time left, change to @code{#t} to use the percentage."
  31414. msgstr ""
  31415. #. type: item
  31416. #: guix-git/doc/guix.texi:21227
  31417. #, no-wrap
  31418. msgid "@code{percentage-low} (default: @code{10})"
  31419. msgstr ""
  31420. #. type: table
  31421. #: guix-git/doc/guix.texi:21230
  31422. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  31423. msgstr ""
  31424. #. type: item
  31425. #: guix-git/doc/guix.texi:21231
  31426. #, no-wrap
  31427. msgid "@code{percentage-critical} (default: @code{3})"
  31428. msgstr ""
  31429. #. type: table
  31430. #: guix-git/doc/guix.texi:21234
  31431. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  31432. msgstr ""
  31433. #. type: item
  31434. #: guix-git/doc/guix.texi:21235
  31435. #, no-wrap
  31436. msgid "@code{percentage-action} (default: @code{2})"
  31437. msgstr ""
  31438. #. type: table
  31439. #: guix-git/doc/guix.texi:21238
  31440. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  31441. msgstr ""
  31442. #. type: item
  31443. #: guix-git/doc/guix.texi:21239
  31444. #, no-wrap
  31445. msgid "@code{time-low} (default: @code{1200})"
  31446. msgstr ""
  31447. #. type: table
  31448. #: guix-git/doc/guix.texi:21242
  31449. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  31450. msgstr ""
  31451. #. type: item
  31452. #: guix-git/doc/guix.texi:21243
  31453. #, no-wrap
  31454. msgid "@code{time-critical} (default: @code{300})"
  31455. msgstr ""
  31456. #. type: table
  31457. #: guix-git/doc/guix.texi:21246
  31458. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  31459. msgstr ""
  31460. #. type: item
  31461. #: guix-git/doc/guix.texi:21247
  31462. #, no-wrap
  31463. msgid "@code{time-action} (default: @code{120})"
  31464. msgstr ""
  31465. #. type: table
  31466. #: guix-git/doc/guix.texi:21250
  31467. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  31468. msgstr ""
  31469. #. type: item
  31470. #: guix-git/doc/guix.texi:21251
  31471. #, no-wrap
  31472. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  31473. msgstr ""
  31474. #. type: table
  31475. #: guix-git/doc/guix.texi:21254
  31476. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  31477. msgstr ""
  31478. #. type: table
  31479. #: guix-git/doc/guix.texi:21256
  31480. msgid "Possible values are:"
  31481. msgstr ""
  31482. #. type: code{#1}
  31483. #: guix-git/doc/guix.texi:21260
  31484. msgid "'power-off"
  31485. msgstr ""
  31486. #. type: code{#1}
  31487. #: guix-git/doc/guix.texi:21263
  31488. msgid "'hibernate"
  31489. msgstr ""
  31490. #. type: itemize
  31491. #: guix-git/doc/guix.texi:21266
  31492. msgid "@code{'hybrid-sleep}."
  31493. msgstr ""
  31494. #. type: deffn
  31495. #: guix-git/doc/guix.texi:21271
  31496. #, no-wrap
  31497. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  31498. msgstr ""
  31499. #. type: deffn
  31500. #: guix-git/doc/guix.texi:21281
  31501. msgid "Return a service for @uref{https://udisks.freedesktop.org/docs/latest/, UDisks}, a @dfn{disk management} daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the @command{udisksctl} command, part of UDisks, and GNOME Disks. Note that Udisks relies on the @command{mount} command, so it will only be able to use the file-system utilities installed in the system profile. For example if you want to be able to mount NTFS file-systems in read and write fashion, you'll need to have @code{ntfs-3g} installed system-wide."
  31502. msgstr ""
  31503. #. type: deffn
  31504. #: guix-git/doc/guix.texi:21283
  31505. #, no-wrap
  31506. msgid "{Scheme Variable} colord-service-type"
  31507. msgstr ""
  31508. #. type: deffn
  31509. #: guix-git/doc/guix.texi:21290
  31510. msgid "This is the type of the service that runs @command{colord}, a system service with a D-Bus interface to manage the color profiles of input and output devices such as screens and scanners. It is notably used by the GNOME Color Manager graphical tool. See @uref{https://www.freedesktop.org/software/colord/, the colord web site} for more information."
  31511. msgstr ""
  31512. #. type: cindex
  31513. #: guix-git/doc/guix.texi:21292
  31514. #, no-wrap
  31515. msgid "scanner access"
  31516. msgstr ""
  31517. #. type: defvr
  31518. #: guix-git/doc/guix.texi:21293
  31519. #, no-wrap
  31520. msgid "{Scheme Variable} sane-service-type"
  31521. msgstr ""
  31522. #. type: defvr
  31523. #: guix-git/doc/guix.texi:21299
  31524. msgid "This service provides access to scanners @i{via} @uref{http://www.sane-project.org, SANE} by installing the necessary udev rules. It is included in @code{%desktop-services} (@pxref{Desktop Services}) and relies by default on @code{sane-backends-minimal} package (see below) for hardware support."
  31525. msgstr ""
  31526. #. type: defvr
  31527. #: guix-git/doc/guix.texi:21301
  31528. #, no-wrap
  31529. msgid "{Scheme Variable} sane-backends-minimal"
  31530. msgstr ""
  31531. #. type: defvr
  31532. #: guix-git/doc/guix.texi:21304
  31533. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  31534. msgstr ""
  31535. #. type: defvr
  31536. #: guix-git/doc/guix.texi:21306
  31537. #, no-wrap
  31538. msgid "{Scheme Variable} sane-backends"
  31539. msgstr ""
  31540. #. type: defvr
  31541. #: guix-git/doc/guix.texi:21313
  31542. msgid "This package includes support for all scanners that @code{sane-backends-minimal} supports, plus older Hewlett-Packard scanners supported by @code{hplip} package. In order to use this on a system which relies on @code{%desktop-services}, you may use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) as illustrated below:"
  31543. msgstr ""
  31544. #. type: lisp
  31545. #: guix-git/doc/guix.texi:21322
  31546. #, no-wrap
  31547. msgid ""
  31548. "(use-modules (gnu))\n"
  31549. "(use-service-modules\n"
  31550. " @dots{}\n"
  31551. " desktop)\n"
  31552. "(use-package-modules\n"
  31553. " @dots{}\n"
  31554. " scanner)\n"
  31555. "\n"
  31556. msgstr ""
  31557. #. type: lisp
  31558. #: guix-git/doc/guix.texi:21327
  31559. #, no-wrap
  31560. msgid ""
  31561. "(define %my-desktop-services\n"
  31562. " ;; List of desktop services that supports a broader range of scanners.\n"
  31563. " (modify-services %desktop-services\n"
  31564. " (sane-service-type _ => sane-backends)))\n"
  31565. "\n"
  31566. msgstr ""
  31567. #. type: lisp
  31568. #: guix-git/doc/guix.texi:21331
  31569. #, no-wrap
  31570. msgid ""
  31571. "(operating-system\n"
  31572. " @dots{}\n"
  31573. " (services %my-desktop-services))\n"
  31574. msgstr ""
  31575. #. type: deffn
  31576. #: guix-git/doc/guix.texi:21334
  31577. #, no-wrap
  31578. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  31579. msgstr ""
  31580. #. type: deffn
  31581. #: guix-git/doc/guix.texi:21343
  31582. msgid "Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without the @code{.desktop} part. If @var{allowed?} is true, the application will have access to location information by default. The boolean @var{system?} value indicates whether an application is a system component or not. Finally @var{users} is a list of UIDs of all users for which this application is allowed location info access. An empty users list means that all users are allowed."
  31583. msgstr ""
  31584. #. type: defvr
  31585. #: guix-git/doc/guix.texi:21345
  31586. #, no-wrap
  31587. msgid "{Scheme Variable} %standard-geoclue-applications"
  31588. msgstr ""
  31589. #. type: defvr
  31590. #: guix-git/doc/guix.texi:21352
  31591. msgid "The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the current location in order to set the time zone, and allowing the IceCat and Epiphany web browsers to request location information. IceCat and Epiphany both query the user before allowing a web page to know the user's location."
  31592. msgstr ""
  31593. #. type: deffn
  31594. #: guix-git/doc/guix.texi:21354
  31595. #, no-wrap
  31596. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  31597. msgstr ""
  31598. #. type: deffn
  31599. #: guix-git/doc/guix.texi:21367
  31600. msgid "[#:whitelist '()] @ [#:wifi-geolocation-url \"https://location.services.mozilla.com/v1/geolocate?key=geoclue\"] @ [#:submit-data? #f] [#:wifi-submission-url \"https://location.services.mozilla.com/v1/submit?key=geoclue\"] @ [#:submission-nick \"geoclue\"] @ [#:applications %standard-geoclue-applications] Return a service that runs the GeoClue location service. This service provides a D-Bus interface to allow applications to request access to a user's physical location, and optionally to add information to online location databases. See @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web site} for more information."
  31601. msgstr ""
  31602. #. type: deffn
  31603. #: guix-git/doc/guix.texi:21369
  31604. #, no-wrap
  31605. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  31606. msgstr ""
  31607. #. type: deffn
  31608. #: guix-git/doc/guix.texi:21376
  31609. msgid "[@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} daemon, which manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse."
  31610. msgstr ""
  31611. #. type: deffn
  31612. #: guix-git/doc/guix.texi:21378
  31613. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  31614. msgstr ""
  31615. #. type: defvr
  31616. #: guix-git/doc/guix.texi:21380
  31617. #, no-wrap
  31618. msgid "{Scheme Variable} gnome-keyring-service-type"
  31619. msgstr ""
  31620. #. type: defvr
  31621. #: guix-git/doc/guix.texi:21384
  31622. msgid "This is the type of the service that adds the @uref{https://wiki.gnome.org/Projects/GnomeKeyring, GNOME Keyring}. Its value is a @code{gnome-keyring-configuration} object (see below)."
  31623. msgstr ""
  31624. #. type: defvr
  31625. #: guix-git/doc/guix.texi:21388
  31626. msgid "This service adds the @code{gnome-keyring} package to the system profile and extends PAM with entries using @code{pam_gnome_keyring.so}, unlocking a user's login keyring when they log in or setting its password with passwd."
  31627. msgstr ""
  31628. #. type: deftp
  31629. #: guix-git/doc/guix.texi:21390
  31630. #, no-wrap
  31631. msgid "{Data Type} gnome-keyring-configuration"
  31632. msgstr ""
  31633. #. type: deftp
  31634. #: guix-git/doc/guix.texi:21392
  31635. msgid "Configuration record for the GNOME Keyring service."
  31636. msgstr ""
  31637. #. type: item
  31638. #: guix-git/doc/guix.texi:21394
  31639. #, no-wrap
  31640. msgid "@code{keyring} (default: @code{gnome-keyring})"
  31641. msgstr ""
  31642. #. type: table
  31643. #: guix-git/doc/guix.texi:21396
  31644. msgid "The GNOME keyring package to use."
  31645. msgstr ""
  31646. #. type: code{#1}
  31647. #: guix-git/doc/guix.texi:21397
  31648. #, no-wrap
  31649. msgid "pam-services"
  31650. msgstr ""
  31651. #. type: table
  31652. #: guix-git/doc/guix.texi:21402
  31653. msgid "A list of @code{(@var{service} . @var{kind})} pairs denoting PAM services to extend, where @var{service} is the name of an existing service to extend and @var{kind} is one of @code{login} or @code{passwd}."
  31654. msgstr ""
  31655. #. type: table
  31656. #: guix-git/doc/guix.texi:21408
  31657. msgid "If @code{login} is given, it adds an optional @code{pam_gnome_keyring.so} to the auth block without arguments and to the session block with @code{auto_start}. If @code{passwd} is given, it adds an optional @code{pam_gnome_keyring.so} to the password block without arguments."
  31658. msgstr ""
  31659. #. type: table
  31660. #: guix-git/doc/guix.texi:21411
  31661. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  31662. msgstr ""
  31663. #. type: cindex
  31664. #: guix-git/doc/guix.texi:21418
  31665. #, no-wrap
  31666. msgid "sound support"
  31667. msgstr ""
  31668. #. type: cindex
  31669. #: guix-git/doc/guix.texi:21419
  31670. #, no-wrap
  31671. msgid "ALSA"
  31672. msgstr ""
  31673. #. type: cindex
  31674. #: guix-git/doc/guix.texi:21420
  31675. #, no-wrap
  31676. msgid "PulseAudio, sound support"
  31677. msgstr ""
  31678. #. type: Plain text
  31679. #: guix-git/doc/guix.texi:21425
  31680. msgid "The @code{(gnu services sound)} module provides a service to configure the Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the preferred ALSA output driver."
  31681. msgstr ""
  31682. #. type: deffn
  31683. #: guix-git/doc/guix.texi:21426
  31684. #, no-wrap
  31685. msgid "{Scheme Variable} alsa-service-type"
  31686. msgstr ""
  31687. #. type: deffn
  31688. #: guix-git/doc/guix.texi:21431
  31689. msgid "This is the type for the @uref{https://alsa-project.org/, Advanced Linux Sound Architecture} (ALSA) system, which generates the @file{/etc/asound.conf} configuration file. The value for this type is a @command{alsa-configuration} record as in this example:"
  31690. msgstr ""
  31691. #. type: lisp
  31692. #: guix-git/doc/guix.texi:21434
  31693. #, no-wrap
  31694. msgid "(service alsa-service-type)\n"
  31695. msgstr ""
  31696. #. type: deffn
  31697. #: guix-git/doc/guix.texi:21437
  31698. msgid "See below for details about @code{alsa-configuration}."
  31699. msgstr ""
  31700. #. type: deftp
  31701. #: guix-git/doc/guix.texi:21439
  31702. #, no-wrap
  31703. msgid "{Data Type} alsa-configuration"
  31704. msgstr ""
  31705. #. type: deftp
  31706. #: guix-git/doc/guix.texi:21441
  31707. msgid "Data type representing the configuration for @code{alsa-service}."
  31708. msgstr ""
  31709. #. type: item
  31710. #: guix-git/doc/guix.texi:21443
  31711. #, no-wrap
  31712. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31713. msgstr ""
  31714. #. type: table
  31715. #: guix-git/doc/guix.texi:21445
  31716. msgid "@code{alsa-plugins} package to use."
  31717. msgstr ""
  31718. #. type: item
  31719. #: guix-git/doc/guix.texi:21446
  31720. #, no-wrap
  31721. msgid "@code{pulseaudio?} (default: @var{#t})"
  31722. msgstr ""
  31723. #. type: table
  31724. #: guix-git/doc/guix.texi:21449
  31725. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31726. msgstr ""
  31727. #. type: table
  31728. #: guix-git/doc/guix.texi:21453
  31729. msgid "Using PulseAudio allows you to run several sound-producing applications at the same time and to individual control them @i{via} @command{pavucontrol}, among other things."
  31730. msgstr ""
  31731. #. type: item
  31732. #: guix-git/doc/guix.texi:21454
  31733. #, no-wrap
  31734. msgid "@code{extra-options} (default: @var{\"\"})"
  31735. msgstr ""
  31736. #. type: table
  31737. #: guix-git/doc/guix.texi:21456
  31738. msgid "String to append to the @file{/etc/asound.conf} file."
  31739. msgstr ""
  31740. #. type: Plain text
  31741. #: guix-git/doc/guix.texi:21462
  31742. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31743. msgstr ""
  31744. #. type: example
  31745. #: guix-git/doc/guix.texi:21468
  31746. #, no-wrap
  31747. msgid ""
  31748. "# In guix, we have to specify the absolute path for plugins.\n"
  31749. "pcm_type.jack @{\n"
  31750. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31751. "@}\n"
  31752. "\n"
  31753. msgstr ""
  31754. #. type: example
  31755. #: guix-git/doc/guix.texi:21477
  31756. #, no-wrap
  31757. msgid ""
  31758. "# Routing ALSA to jack:\n"
  31759. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31760. "pcm.rawjack @{\n"
  31761. " type jack\n"
  31762. " playback_ports @{\n"
  31763. " 0 system:playback_1\n"
  31764. " 1 system:playback_2\n"
  31765. " @}\n"
  31766. "\n"
  31767. msgstr ""
  31768. #. type: example
  31769. #: guix-git/doc/guix.texi:21483
  31770. #, no-wrap
  31771. msgid ""
  31772. " capture_ports @{\n"
  31773. " 0 system:capture_1\n"
  31774. " 1 system:capture_2\n"
  31775. " @}\n"
  31776. "@}\n"
  31777. "\n"
  31778. msgstr ""
  31779. #. type: example
  31780. #: guix-git/doc/guix.texi:21490
  31781. #, no-wrap
  31782. msgid ""
  31783. "pcm.!default @{\n"
  31784. " type plug\n"
  31785. " slave @{\n"
  31786. " pcm \"rawjack\"\n"
  31787. " @}\n"
  31788. "@}\n"
  31789. msgstr ""
  31790. #. type: Plain text
  31791. #: guix-git/doc/guix.texi:21494
  31792. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31793. msgstr ""
  31794. #. type: deffn
  31795. #: guix-git/doc/guix.texi:21495
  31796. #, no-wrap
  31797. msgid "{Scheme Variable} pulseaudio-service-type"
  31798. msgstr ""
  31799. #. type: deffn
  31800. #: guix-git/doc/guix.texi:21499
  31801. msgid "This is the type for the @uref{https://www.pulseaudio.org/, PulseAudio} sound server. It exists to allow system overrides of the default settings via @code{pulseaudio-configuration}, see below."
  31802. msgstr ""
  31803. #. type: quotation
  31804. #: guix-git/doc/guix.texi:21505
  31805. msgid "This service overrides per-user configuration files. If you want PulseAudio to honor configuration files in @file{~/.config/pulse} you have to unset the environment variables @env{PULSE_CONFIG} and @env{PULSE_CLIENTCONFIG} in your @file{~/.bash_profile}."
  31806. msgstr ""
  31807. #. type: quotation
  31808. #: guix-git/doc/guix.texi:21513
  31809. msgid "This service on its own does not ensure, that the @code{pulseaudio} package exists on your machine. It merely adds configuration files for it, as detailed below. In the (admittedly unlikely) case, that you find yourself without a @code{pulseaudio} package, consider enabling it through the @code{alsa-service-type} above."
  31810. msgstr ""
  31811. #. type: deftp
  31812. #: guix-git/doc/guix.texi:21516
  31813. #, no-wrap
  31814. msgid "{Data Type} pulseaudio-configuration"
  31815. msgstr ""
  31816. #. type: deftp
  31817. #: guix-git/doc/guix.texi:21518
  31818. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31819. msgstr ""
  31820. #. type: item
  31821. #: guix-git/doc/guix.texi:21520
  31822. #, no-wrap
  31823. msgid "@code{client-conf} (default: @code{'()})"
  31824. msgstr ""
  31825. #. type: table
  31826. #: guix-git/doc/guix.texi:21525
  31827. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  31828. msgstr ""
  31829. #. type: item
  31830. #: guix-git/doc/guix.texi:21526
  31831. #, no-wrap
  31832. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31833. msgstr ""
  31834. #. type: table
  31835. #: guix-git/doc/guix.texi:21529
  31836. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31837. msgstr ""
  31838. #. type: item
  31839. #: guix-git/doc/guix.texi:21530
  31840. #, no-wrap
  31841. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31842. msgstr ""
  31843. #. type: table
  31844. #: guix-git/doc/guix.texi:21535
  31845. msgid "Script file to use as @file{default.pa}. In case the @code{extra-script-files} field below is used, an @code{.include} directive pointing to @file{/etc/pulse/default.pa.d} is appended to the provided script."
  31846. msgstr ""
  31847. #. type: item
  31848. #: guix-git/doc/guix.texi:21536
  31849. #, no-wrap
  31850. msgid "@code{extra-script-files} (default: @code{'())})"
  31851. msgstr ""
  31852. #. type: table
  31853. #: guix-git/doc/guix.texi:21543
  31854. msgid "A list of file-like objects defining extra PulseAudio scripts to run at the initialization of the @command{pulseaudio} daemon, after the main @code{script-file}. The scripts are deployed to the @file{/etc/pulse/default.pa.d} directory; they should have the @samp{.pa} file name extension. For a reference of the available commands, refer to @command{man pulse-cli-syntax}."
  31855. msgstr ""
  31856. #. type: item
  31857. #: guix-git/doc/guix.texi:21544
  31858. #, no-wrap
  31859. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31860. msgstr ""
  31861. #. type: table
  31862. #: guix-git/doc/guix.texi:21546
  31863. msgid "Script file to use as @file{system.pa}."
  31864. msgstr ""
  31865. #. type: deftp
  31866. #: guix-git/doc/guix.texi:21551
  31867. msgid "The example below sets the default PulseAudio card profile, the default sink and the default source to use for a old SoundBlaster Audigy sound card:"
  31868. msgstr ""
  31869. #. type: lisp
  31870. #: guix-git/doc/guix.texi:21560
  31871. #, no-wrap
  31872. msgid ""
  31873. "(pulseaudio-configuration\n"
  31874. " (extra-script-files\n"
  31875. " (list (plain-file \"audigy.pa\"\n"
  31876. " (string-append \"\\\n"
  31877. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  31878. " output:analog-surround-40+input:analog-mono\n"
  31879. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  31880. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  31881. msgstr ""
  31882. #. type: deftp
  31883. #: guix-git/doc/guix.texi:21568
  31884. msgid "Note that @code{pulseaudio-service-type} is part of @code{%desktop-services}; if your operating system declaration was derived from one of the desktop templates, you'll want to adjust the above example to modify the existing @code{pulseaudio-service-type} via @code{modify-services} (@pxref{Service Reference, @code{modify-services}}), instead of defining a new one."
  31885. msgstr ""
  31886. #. type: deffn
  31887. #: guix-git/doc/guix.texi:21571
  31888. #, no-wrap
  31889. msgid "{Scheme Variable} ladspa-service-type"
  31890. msgstr ""
  31891. #. type: deffn
  31892. #: guix-git/doc/guix.texi:21574
  31893. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31894. msgstr ""
  31895. #. type: deffn
  31896. #: guix-git/doc/guix.texi:21577
  31897. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31898. msgstr ""
  31899. #. type: lisp
  31900. #: guix-git/doc/guix.texi:21581
  31901. #, no-wrap
  31902. msgid ""
  31903. "(service ladspa-service-type\n"
  31904. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31905. msgstr ""
  31906. #. type: deffn
  31907. #: guix-git/doc/guix.texi:21585
  31908. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31909. msgstr ""
  31910. #. type: cindex
  31911. #: guix-git/doc/guix.texi:21592
  31912. #, no-wrap
  31913. msgid "SQL"
  31914. msgstr ""
  31915. #. type: Plain text
  31916. #: guix-git/doc/guix.texi:21594
  31917. msgid "The @code{(gnu services databases)} module provides the following services."
  31918. msgstr ""
  31919. #. type: subsubheading
  31920. #: guix-git/doc/guix.texi:21595
  31921. #, no-wrap
  31922. msgid "PostgreSQL"
  31923. msgstr ""
  31924. #. type: Plain text
  31925. #: guix-git/doc/guix.texi:21599
  31926. msgid "The following example describes a PostgreSQL service with the default configuration."
  31927. msgstr ""
  31928. #. type: lisp
  31929. #: guix-git/doc/guix.texi:21604
  31930. #, no-wrap
  31931. msgid ""
  31932. "(service postgresql-service-type\n"
  31933. " (postgresql-configuration\n"
  31934. " (postgresql postgresql-10)))\n"
  31935. msgstr ""
  31936. #. type: Plain text
  31937. #: guix-git/doc/guix.texi:21610
  31938. msgid "If the services fails to start, it may be due to an incompatible cluster already present in @var{data-directory}. Adjust it (or, if you don't need the cluster anymore, delete @var{data-directory}), then restart the service."
  31939. msgstr ""
  31940. #. type: Plain text
  31941. #: guix-git/doc/guix.texi:21617
  31942. msgid "Peer authentication is used by default and the @code{postgres} user account has no shell, which prevents the direct execution of @code{psql} commands as this user. To use @code{psql}, you can temporarily log in as @code{postgres} using a shell, create a PostgreSQL superuser with the same name as one of the system users and then create the associated database."
  31943. msgstr ""
  31944. #. type: example
  31945. #: guix-git/doc/guix.texi:21622
  31946. #, no-wrap
  31947. msgid ""
  31948. "sudo -u postgres -s /bin/sh\n"
  31949. "createuser --interactive\n"
  31950. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31951. msgstr ""
  31952. #. type: deftp
  31953. #: guix-git/doc/guix.texi:21624
  31954. #, no-wrap
  31955. msgid "{Data Type} postgresql-configuration"
  31956. msgstr ""
  31957. #. type: deftp
  31958. #: guix-git/doc/guix.texi:21627
  31959. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31960. msgstr ""
  31961. #. type: code{#1}
  31962. #: guix-git/doc/guix.texi:21629
  31963. #, no-wrap
  31964. msgid "postgresql"
  31965. msgstr ""
  31966. #. type: table
  31967. #: guix-git/doc/guix.texi:21631
  31968. msgid "PostgreSQL package to use for the service."
  31969. msgstr ""
  31970. #. type: item
  31971. #: guix-git/doc/guix.texi:21632
  31972. #, no-wrap
  31973. msgid "@code{port} (default: @code{5432})"
  31974. msgstr ""
  31975. #. type: table
  31976. #: guix-git/doc/guix.texi:21634
  31977. msgid "Port on which PostgreSQL should listen."
  31978. msgstr ""
  31979. #. type: table
  31980. #: guix-git/doc/guix.texi:21637
  31981. msgid "Locale to use as the default when creating the database cluster."
  31982. msgstr ""
  31983. #. type: item
  31984. #: guix-git/doc/guix.texi:21638
  31985. #, no-wrap
  31986. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31987. msgstr ""
  31988. #. type: table
  31989. #: guix-git/doc/guix.texi:21642
  31990. msgid "The configuration file to use when running PostgreSQL@. The default behaviour uses the postgresql-config-file record with the default values for the fields."
  31991. msgstr ""
  31992. #. type: item
  31993. #: guix-git/doc/guix.texi:21643
  31994. #, no-wrap
  31995. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31996. msgstr ""
  31997. #. type: table
  31998. #: guix-git/doc/guix.texi:21647
  31999. msgid "The directory where @command{pg_ctl} output will be written in a file named @code{\"pg_ctl.log\"}. This file can be useful to debug PostgreSQL configuration errors for instance."
  32000. msgstr ""
  32001. #. type: item
  32002. #: guix-git/doc/guix.texi:21648
  32003. #, no-wrap
  32004. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  32005. msgstr ""
  32006. #. type: table
  32007. #: guix-git/doc/guix.texi:21650
  32008. msgid "Directory in which to store the data."
  32009. msgstr ""
  32010. #. type: item
  32011. #: guix-git/doc/guix.texi:21651
  32012. #, no-wrap
  32013. msgid "@code{extension-packages} (default: @code{'()})"
  32014. msgstr ""
  32015. #. type: cindex
  32016. #: guix-git/doc/guix.texi:21652
  32017. #, no-wrap
  32018. msgid "postgresql extension-packages"
  32019. msgstr ""
  32020. #. type: table
  32021. #: guix-git/doc/guix.texi:21657
  32022. msgid "Additional extensions are loaded from packages listed in @var{extension-packages}. Extensions are available at runtime. For instance, to create a geographic database using the @code{postgis} extension, a user can configure the postgresql-service as in this example:"
  32023. msgstr ""
  32024. #. type: cindex
  32025. #: guix-git/doc/guix.texi:21658
  32026. #, no-wrap
  32027. msgid "postgis"
  32028. msgstr ""
  32029. #. type: lisp
  32030. #: guix-git/doc/guix.texi:21661
  32031. #, no-wrap
  32032. msgid ""
  32033. "(use-package-modules databases geo)\n"
  32034. "\n"
  32035. msgstr ""
  32036. #. type: lisp
  32037. #: guix-git/doc/guix.texi:21674
  32038. #, no-wrap
  32039. msgid ""
  32040. "(operating-system\n"
  32041. " ...\n"
  32042. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  32043. " ;; proper operation.\n"
  32044. " (packages (cons* postgresql %base-packages))\n"
  32045. " (services\n"
  32046. " (cons*\n"
  32047. " (service postgresql-service-type\n"
  32048. " (postgresql-configuration\n"
  32049. " (postgresql postgresql-10)\n"
  32050. " (extension-packages (list postgis))))\n"
  32051. " %base-services)))\n"
  32052. msgstr ""
  32053. #. type: table
  32054. #: guix-git/doc/guix.texi:21678
  32055. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  32056. msgstr ""
  32057. #. type: example
  32058. #: guix-git/doc/guix.texi:21685
  32059. #, no-wrap
  32060. msgid ""
  32061. "psql -U postgres\n"
  32062. "> create database postgistest;\n"
  32063. "> \\connect postgistest;\n"
  32064. "> create extension postgis;\n"
  32065. "> create extension postgis_topology;\n"
  32066. msgstr ""
  32067. #. type: table
  32068. #: guix-git/doc/guix.texi:21690
  32069. msgid "There is no need to add this field for contrib extensions such as hstore or dblink as they are already loadable by postgresql. This field is only required to add extensions provided by other packages."
  32070. msgstr ""
  32071. #. type: deftp
  32072. #: guix-git/doc/guix.texi:21694
  32073. #, no-wrap
  32074. msgid "{Data Type} postgresql-config-file"
  32075. msgstr ""
  32076. #. type: deftp
  32077. #: guix-git/doc/guix.texi:21700
  32078. msgid "Data type representing the PostgreSQL configuration file. As shown in the following example, this can be used to customize the configuration of PostgreSQL@. Note that you can use any G-expression or filename in place of this record, if you already have a configuration file you'd like to use for example."
  32079. msgstr ""
  32080. #. type: lisp
  32081. #: guix-git/doc/guix.texi:21720
  32082. #, no-wrap
  32083. msgid ""
  32084. "(service postgresql-service-type\n"
  32085. " (postgresql-configuration\n"
  32086. " (config-file\n"
  32087. " (postgresql-config-file\n"
  32088. " (log-destination \"stderr\")\n"
  32089. " (hba-file\n"
  32090. " (plain-file \"pg_hba.conf\"\n"
  32091. " \"\n"
  32092. "local\tall\tall\t\t\ttrust\n"
  32093. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  32094. "host\tall\tall\t::1/128 \tmd5\"))\n"
  32095. " (extra-config\n"
  32096. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  32097. " (\"random_page_cost\" 2)\n"
  32098. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  32099. " (\"work_mem\" \"500 MB\")\n"
  32100. " (\"logging_collector\" #t)\n"
  32101. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  32102. msgstr ""
  32103. #. type: item
  32104. #: guix-git/doc/guix.texi:21723
  32105. #, no-wrap
  32106. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  32107. msgstr ""
  32108. #. type: table
  32109. #: guix-git/doc/guix.texi:21726
  32110. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  32111. msgstr ""
  32112. #. type: item
  32113. #: guix-git/doc/guix.texi:21727
  32114. #, no-wrap
  32115. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  32116. msgstr ""
  32117. #. type: table
  32118. #: guix-git/doc/guix.texi:21730
  32119. msgid "Filename or G-expression for the host-based authentication configuration."
  32120. msgstr ""
  32121. #. type: item
  32122. #: guix-git/doc/guix.texi:21731
  32123. #, no-wrap
  32124. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  32125. msgstr ""
  32126. #. type: table
  32127. #: guix-git/doc/guix.texi:21733
  32128. msgid "Filename or G-expression for the user name mapping configuration."
  32129. msgstr ""
  32130. #. type: item
  32131. #: guix-git/doc/guix.texi:21734
  32132. #, no-wrap
  32133. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  32134. msgstr ""
  32135. #. type: table
  32136. #: guix-git/doc/guix.texi:21739
  32137. msgid "Specifies the directory of the Unix-domain socket(s) on which PostgreSQL is to listen for connections from client applications. If set to @code{\"\"} PostgreSQL does not listen on any Unix-domain sockets, in which case only TCP/IP sockets can be used to connect to the server."
  32138. msgstr ""
  32139. #. type: table
  32140. #: guix-git/doc/guix.texi:21742
  32141. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  32142. msgstr ""
  32143. #. type: table
  32144. #: guix-git/doc/guix.texi:21747
  32145. msgid "List of additional keys and values to include in the PostgreSQL config file. Each entry in the list should be a list where the first element is the key, and the remaining elements are the values."
  32146. msgstr ""
  32147. #. type: table
  32148. #: guix-git/doc/guix.texi:21753
  32149. msgid "The values can be numbers, booleans or strings and will be mapped to PostgreSQL parameters types @code{Boolean}, @code{String}, @code{Numeric}, @code{Numeric with Unit} and @code{Enumerated} described @uref{https://www.postgresql.org/docs/current/config-setting.html, here}."
  32150. msgstr ""
  32151. #. type: deffn
  32152. #: guix-git/doc/guix.texi:21757
  32153. #, no-wrap
  32154. msgid "{Scheme Variable} postgresql-role-service-type"
  32155. msgstr ""
  32156. #. type: deffn
  32157. #: guix-git/doc/guix.texi:21760
  32158. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  32159. msgstr ""
  32160. #. type: lisp
  32161. #: guix-git/doc/guix.texi:21768
  32162. #, no-wrap
  32163. msgid ""
  32164. "(service postgresql-role-service-type\n"
  32165. " (postgresql-role-configuration\n"
  32166. " (roles\n"
  32167. " (list (postgresql-role\n"
  32168. " (name \"test\")\n"
  32169. " (create-database? #t))))))\n"
  32170. msgstr ""
  32171. #. type: deffn
  32172. #: guix-git/doc/guix.texi:21772
  32173. msgid "This service can be extended with extra roles, as in this example:"
  32174. msgstr ""
  32175. #. type: lisp
  32176. #: guix-git/doc/guix.texi:21778
  32177. #, no-wrap
  32178. msgid ""
  32179. "(service-extension postgresql-role-service-type\n"
  32180. " (const (postgresql-role\n"
  32181. " (name \"alice\")\n"
  32182. " (create-database? #t))))\n"
  32183. msgstr ""
  32184. #. type: deftp
  32185. #: guix-git/doc/guix.texi:21781
  32186. #, no-wrap
  32187. msgid "{Data Type} postgresql-role"
  32188. msgstr ""
  32189. #. type: deftp
  32190. #: guix-git/doc/guix.texi:21787
  32191. msgid "PostgreSQL manages database access permissions using the concept of roles. A role can be thought of as either a database user, or a group of database users, depending on how the role is set up. Roles can own database objects (for example, tables) and can assign privileges on those objects to other roles to control who has access to which objects."
  32192. msgstr ""
  32193. #. type: table
  32194. #: guix-git/doc/guix.texi:21791
  32195. msgid "The role name."
  32196. msgstr ""
  32197. #. type: item
  32198. #: guix-git/doc/guix.texi:21792
  32199. #, no-wrap
  32200. msgid "@code{permissions} (default: @code{'(createdb login)})"
  32201. msgstr ""
  32202. #. type: table
  32203. #: guix-git/doc/guix.texi:21796
  32204. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  32205. msgstr ""
  32206. #. type: item
  32207. #: guix-git/doc/guix.texi:21797
  32208. #, no-wrap
  32209. msgid "@code{create-database?} (default: @code{#f})"
  32210. msgstr ""
  32211. #. type: table
  32212. #: guix-git/doc/guix.texi:21799
  32213. msgid "Whether to create a database with the same name as the role."
  32214. msgstr ""
  32215. #. type: deftp
  32216. #: guix-git/doc/guix.texi:21803
  32217. #, no-wrap
  32218. msgid "{Data Type} postgresql-role-configuration"
  32219. msgstr ""
  32220. #. type: deftp
  32221. #: guix-git/doc/guix.texi:21806
  32222. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  32223. msgstr ""
  32224. #. type: item
  32225. #: guix-git/doc/guix.texi:21808
  32226. #, no-wrap
  32227. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  32228. msgstr ""
  32229. #. type: table
  32230. #: guix-git/doc/guix.texi:21810
  32231. msgid "The PostgreSQL host to connect to."
  32232. msgstr ""
  32233. #. type: item
  32234. #: guix-git/doc/guix.texi:21811
  32235. #, no-wrap
  32236. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  32237. msgstr ""
  32238. #. type: table
  32239. #: guix-git/doc/guix.texi:21813
  32240. msgid "File name of the log file."
  32241. msgstr ""
  32242. #. type: item
  32243. #: guix-git/doc/guix.texi:21814
  32244. #, no-wrap
  32245. msgid "@code{roles} (default: @code{'()})"
  32246. msgstr ""
  32247. #. type: table
  32248. #: guix-git/doc/guix.texi:21816
  32249. msgid "The initial PostgreSQL roles to create."
  32250. msgstr ""
  32251. #. type: subsubheading
  32252. #: guix-git/doc/guix.texi:21819
  32253. #, no-wrap
  32254. msgid "MariaDB/MySQL"
  32255. msgstr ""
  32256. #. type: defvr
  32257. #: guix-git/doc/guix.texi:21821
  32258. #, no-wrap
  32259. msgid "{Scheme Variable} mysql-service-type"
  32260. msgstr ""
  32261. #. type: defvr
  32262. #: guix-git/doc/guix.texi:21825
  32263. msgid "This is the service type for a MySQL or MariaDB database server. Its value is a @code{mysql-configuration} object that specifies which package to use, as well as various settings for the @command{mysqld} daemon."
  32264. msgstr ""
  32265. #. type: deftp
  32266. #: guix-git/doc/guix.texi:21827
  32267. #, no-wrap
  32268. msgid "{Data Type} mysql-configuration"
  32269. msgstr ""
  32270. #. type: deftp
  32271. #: guix-git/doc/guix.texi:21829
  32272. msgid "Data type representing the configuration of @var{mysql-service-type}."
  32273. msgstr ""
  32274. #. type: item
  32275. #: guix-git/doc/guix.texi:21831
  32276. #, no-wrap
  32277. msgid "@code{mysql} (default: @var{mariadb})"
  32278. msgstr ""
  32279. #. type: table
  32280. #: guix-git/doc/guix.texi:21834
  32281. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  32282. msgstr ""
  32283. #. type: table
  32284. #: guix-git/doc/guix.texi:21837
  32285. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  32286. msgstr ""
  32287. #. type: item
  32288. #: guix-git/doc/guix.texi:21838 guix-git/doc/guix.texi:25658
  32289. #, no-wrap
  32290. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  32291. msgstr ""
  32292. #. type: table
  32293. #: guix-git/doc/guix.texi:21841
  32294. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  32295. msgstr ""
  32296. #. type: item
  32297. #: guix-git/doc/guix.texi:21842
  32298. #, no-wrap
  32299. msgid "@code{port} (default: @code{3306})"
  32300. msgstr ""
  32301. #. type: table
  32302. #: guix-git/doc/guix.texi:21844
  32303. msgid "TCP port on which the database server listens for incoming connections."
  32304. msgstr ""
  32305. #. type: item
  32306. #: guix-git/doc/guix.texi:21845
  32307. #, no-wrap
  32308. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  32309. msgstr ""
  32310. #. type: table
  32311. #: guix-git/doc/guix.texi:21847
  32312. msgid "Socket file to use for local (non-network) connections."
  32313. msgstr ""
  32314. #. type: table
  32315. #: guix-git/doc/guix.texi:21850
  32316. msgid "Additional settings for the @file{my.cnf} configuration file."
  32317. msgstr ""
  32318. #. type: item
  32319. #: guix-git/doc/guix.texi:21851
  32320. #, no-wrap
  32321. msgid "@code{extra-environment} (default: @code{#~'()})"
  32322. msgstr ""
  32323. #. type: table
  32324. #: guix-git/doc/guix.texi:21853
  32325. msgid "List of environment variables passed to the @command{mysqld} process."
  32326. msgstr ""
  32327. #. type: item
  32328. #: guix-git/doc/guix.texi:21854
  32329. #, no-wrap
  32330. msgid "@code{auto-upgrade?} (default: @code{#t})"
  32331. msgstr ""
  32332. #. type: table
  32333. #: guix-git/doc/guix.texi:21859
  32334. msgid "Whether to automatically run @command{mysql_upgrade} after starting the service. This is necessary to upgrade the @dfn{system schema} after ``major'' updates (such as switching from MariaDB 10.4 to 10.5), but can be disabled if you would rather do that manually."
  32335. msgstr ""
  32336. #. type: subsubheading
  32337. #: guix-git/doc/guix.texi:21863
  32338. #, no-wrap
  32339. msgid "Memcached"
  32340. msgstr ""
  32341. #. type: defvr
  32342. #: guix-git/doc/guix.texi:21865
  32343. #, no-wrap
  32344. msgid "{Scheme Variable} memcached-service-type"
  32345. msgstr ""
  32346. #. type: defvr
  32347. #: guix-git/doc/guix.texi:21869
  32348. msgid "This is the service type for the @uref{https://memcached.org/, Memcached} service, which provides a distributed in memory cache. The value for the service type is a @code{memcached-configuration} object."
  32349. msgstr ""
  32350. #. type: lisp
  32351. #: guix-git/doc/guix.texi:21873
  32352. #, no-wrap
  32353. msgid "(service memcached-service-type)\n"
  32354. msgstr ""
  32355. #. type: deftp
  32356. #: guix-git/doc/guix.texi:21875
  32357. #, no-wrap
  32358. msgid "{Data Type} memcached-configuration"
  32359. msgstr ""
  32360. #. type: deftp
  32361. #: guix-git/doc/guix.texi:21877
  32362. msgid "Data type representing the configuration of memcached."
  32363. msgstr ""
  32364. #. type: item
  32365. #: guix-git/doc/guix.texi:21879
  32366. #, no-wrap
  32367. msgid "@code{memcached} (default: @code{memcached})"
  32368. msgstr ""
  32369. #. type: table
  32370. #: guix-git/doc/guix.texi:21881
  32371. msgid "The Memcached package to use."
  32372. msgstr ""
  32373. #. type: item
  32374. #: guix-git/doc/guix.texi:21882
  32375. #, no-wrap
  32376. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  32377. msgstr ""
  32378. #. type: table
  32379. #: guix-git/doc/guix.texi:21884
  32380. msgid "Network interfaces on which to listen."
  32381. msgstr ""
  32382. #. type: item
  32383. #: guix-git/doc/guix.texi:21885
  32384. #, no-wrap
  32385. msgid "@code{tcp-port} (default: @code{11211})"
  32386. msgstr ""
  32387. #. type: table
  32388. #: guix-git/doc/guix.texi:21887
  32389. msgid "Port on which to accept connections."
  32390. msgstr ""
  32391. #. type: item
  32392. #: guix-git/doc/guix.texi:21888
  32393. #, no-wrap
  32394. msgid "@code{udp-port} (default: @code{11211})"
  32395. msgstr ""
  32396. #. type: table
  32397. #: guix-git/doc/guix.texi:21891
  32398. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  32399. msgstr ""
  32400. #. type: item
  32401. #: guix-git/doc/guix.texi:21892
  32402. #, no-wrap
  32403. msgid "@code{additional-options} (default: @code{'()})"
  32404. msgstr ""
  32405. #. type: table
  32406. #: guix-git/doc/guix.texi:21894
  32407. msgid "Additional command line options to pass to @code{memcached}."
  32408. msgstr ""
  32409. #. type: subsubheading
  32410. #: guix-git/doc/guix.texi:21897
  32411. #, no-wrap
  32412. msgid "Redis"
  32413. msgstr ""
  32414. #. type: defvr
  32415. #: guix-git/doc/guix.texi:21899
  32416. #, no-wrap
  32417. msgid "{Scheme Variable} redis-service-type"
  32418. msgstr ""
  32419. #. type: defvr
  32420. #: guix-git/doc/guix.texi:21902
  32421. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  32422. msgstr ""
  32423. #. type: deftp
  32424. #: guix-git/doc/guix.texi:21904
  32425. #, no-wrap
  32426. msgid "{Data Type} redis-configuration"
  32427. msgstr ""
  32428. #. type: deftp
  32429. #: guix-git/doc/guix.texi:21906
  32430. msgid "Data type representing the configuration of redis."
  32431. msgstr ""
  32432. #. type: item
  32433. #: guix-git/doc/guix.texi:21908
  32434. #, no-wrap
  32435. msgid "@code{redis} (default: @code{redis})"
  32436. msgstr ""
  32437. #. type: table
  32438. #: guix-git/doc/guix.texi:21910
  32439. msgid "The Redis package to use."
  32440. msgstr ""
  32441. #. type: item
  32442. #: guix-git/doc/guix.texi:21911
  32443. #, no-wrap
  32444. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  32445. msgstr ""
  32446. #. type: table
  32447. #: guix-git/doc/guix.texi:21913
  32448. msgid "Network interface on which to listen."
  32449. msgstr ""
  32450. #. type: item
  32451. #: guix-git/doc/guix.texi:21914
  32452. #, no-wrap
  32453. msgid "@code{port} (default: @code{6379})"
  32454. msgstr ""
  32455. #. type: table
  32456. #: guix-git/doc/guix.texi:21917
  32457. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  32458. msgstr ""
  32459. #. type: item
  32460. #: guix-git/doc/guix.texi:21918
  32461. #, no-wrap
  32462. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  32463. msgstr ""
  32464. #. type: table
  32465. #: guix-git/doc/guix.texi:21920
  32466. msgid "Directory in which to store the database and related files."
  32467. msgstr ""
  32468. #. type: cindex
  32469. #: guix-git/doc/guix.texi:21926
  32470. #, no-wrap
  32471. msgid "mail"
  32472. msgstr ""
  32473. #. type: cindex
  32474. #: guix-git/doc/guix.texi:21927
  32475. #, no-wrap
  32476. msgid "email"
  32477. msgstr "elektronická pošta"
  32478. #. type: Plain text
  32479. #: guix-git/doc/guix.texi:21932
  32480. msgid "The @code{(gnu services mail)} module provides Guix service definitions for email services: IMAP, POP3, and LMTP servers, as well as mail transport agents (MTAs). Lots of acronyms! These services are detailed in the subsections below."
  32481. msgstr ""
  32482. #. type: subsubheading
  32483. #: guix-git/doc/guix.texi:21933
  32484. #, no-wrap
  32485. msgid "Dovecot Service"
  32486. msgstr ""
  32487. #. type: deffn
  32488. #: guix-git/doc/guix.texi:21935
  32489. #, no-wrap
  32490. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  32491. msgstr ""
  32492. #. type: deffn
  32493. #: guix-git/doc/guix.texi:21937
  32494. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  32495. msgstr ""
  32496. #. type: Plain text
  32497. #: guix-git/doc/guix.texi:21947
  32498. msgid "By default, Dovecot does not need much configuration; the default configuration object created by @code{(dovecot-configuration)} will suffice if your mail is delivered to @code{~/Maildir}. A self-signed certificate will be generated for TLS-protected connections, though Dovecot will also listen on cleartext ports by default. There are a number of options, though, which mail administrators might need to change, and as is the case with other services, Guix allows the system administrator to specify these parameters via a uniform Scheme interface."
  32499. msgstr ""
  32500. #. type: Plain text
  32501. #: guix-git/doc/guix.texi:21950
  32502. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  32503. msgstr ""
  32504. #. type: lisp
  32505. #: guix-git/doc/guix.texi:21955
  32506. #, no-wrap
  32507. msgid ""
  32508. "(dovecot-service #:config\n"
  32509. " (dovecot-configuration\n"
  32510. " (mail-location \"maildir:~/.mail\")))\n"
  32511. msgstr ""
  32512. #. type: Plain text
  32513. #: guix-git/doc/guix.texi:21963
  32514. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{dovecot.conf} file that you want to port over from some other system; see the end for more details."
  32515. msgstr ""
  32516. #. type: Plain text
  32517. #: guix-git/doc/guix.texi:21973
  32518. msgid "Available @code{dovecot-configuration} fields are:"
  32519. msgstr ""
  32520. #. type: deftypevr
  32521. #: guix-git/doc/guix.texi:21974
  32522. #, no-wrap
  32523. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  32524. msgstr ""
  32525. #. type: deftypevr
  32526. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:23325
  32527. msgid "The dovecot package."
  32528. msgstr ""
  32529. #. type: deftypevr
  32530. #: guix-git/doc/guix.texi:21978
  32531. #, no-wrap
  32532. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  32533. msgstr ""
  32534. #. type: deftypevr
  32535. #: guix-git/doc/guix.texi:21984
  32536. msgid "A list of IPs or hosts where to listen for connections. @samp{*} listens on all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want to specify non-default ports or anything more complex, customize the address and port fields of the @samp{inet-listener} of the specific services you are interested in."
  32537. msgstr ""
  32538. #. type: deftypevr
  32539. #: guix-git/doc/guix.texi:21986
  32540. #, no-wrap
  32541. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  32542. msgstr ""
  32543. #. type: deftypevr
  32544. #: guix-git/doc/guix.texi:21989
  32545. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  32546. msgstr ""
  32547. #. type: deftypevr
  32548. #: guix-git/doc/guix.texi:21991
  32549. msgid "Available @code{protocol-configuration} fields are:"
  32550. msgstr ""
  32551. #. type: deftypevr
  32552. #: guix-git/doc/guix.texi:21992
  32553. #, no-wrap
  32554. msgid "{@code{protocol-configuration} parameter} string name"
  32555. msgstr ""
  32556. #. type: deftypevr
  32557. #: guix-git/doc/guix.texi:21994
  32558. msgid "The name of the protocol."
  32559. msgstr ""
  32560. #. type: deftypevr
  32561. #: guix-git/doc/guix.texi:21996
  32562. #, no-wrap
  32563. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  32564. msgstr ""
  32565. #. type: deftypevr
  32566. #: guix-git/doc/guix.texi:22000
  32567. msgid "UNIX socket path to the master authentication server to find users. This is used by imap (for shared users) and lda. It defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  32568. msgstr ""
  32569. #. type: deftypevr
  32570. #: guix-git/doc/guix.texi:22002
  32571. #, no-wrap
  32572. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  32573. msgstr ""
  32574. #. type: deftypevr
  32575. #: guix-git/doc/guix.texi:22007
  32576. msgid "Whether to enable the @code{IMAP METADATA} extension as defined in @uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}, which provides a means for clients to set and retrieve per-mailbox, per-user metadata and annotations over IMAP."
  32577. msgstr ""
  32578. #. type: deftypevr
  32579. #: guix-git/doc/guix.texi:22010
  32580. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  32581. msgstr ""
  32582. #. type: deftypevr
  32583. #: guix-git/doc/guix.texi:22015
  32584. #, no-wrap
  32585. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  32586. msgstr ""
  32587. #. type: deftypevr
  32588. #: guix-git/doc/guix.texi:22020
  32589. msgid "Which NOTIFY capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  32590. msgstr ""
  32591. #. type: deftypevr
  32592. #: guix-git/doc/guix.texi:22024
  32593. #, no-wrap
  32594. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  32595. msgstr ""
  32596. #. type: deftypevr
  32597. #: guix-git/doc/guix.texi:22029
  32598. msgid "Which SIEVE capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  32599. msgstr ""
  32600. #. type: deftypevr
  32601. #: guix-git/doc/guix.texi:22034
  32602. #, no-wrap
  32603. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  32604. msgstr ""
  32605. #. type: deftypevr
  32606. #: guix-git/doc/guix.texi:22036
  32607. msgid "Space separated list of plugins to load."
  32608. msgstr ""
  32609. #. type: deftypevr
  32610. #: guix-git/doc/guix.texi:22038
  32611. #, no-wrap
  32612. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  32613. msgstr ""
  32614. #. type: deftypevr
  32615. #: guix-git/doc/guix.texi:22042
  32616. msgid "Maximum number of IMAP connections allowed for a user from each IP address. NOTE: The username is compared case-sensitively. Defaults to @samp{10}."
  32617. msgstr ""
  32618. #. type: deftypevr
  32619. #: guix-git/doc/guix.texi:22046
  32620. #, no-wrap
  32621. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  32622. msgstr ""
  32623. #. type: deftypevr
  32624. #: guix-git/doc/guix.texi:22050
  32625. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  32626. msgstr ""
  32627. #. type: deftypevr
  32628. #: guix-git/doc/guix.texi:22052
  32629. msgid "Available @code{service-configuration} fields are:"
  32630. msgstr ""
  32631. #. type: deftypevr
  32632. #: guix-git/doc/guix.texi:22053
  32633. #, no-wrap
  32634. msgid "{@code{service-configuration} parameter} string kind"
  32635. msgstr ""
  32636. #. type: deftypevr
  32637. #: guix-git/doc/guix.texi:22058
  32638. msgid "The service kind. Valid values include @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or anything else."
  32639. msgstr ""
  32640. #. type: deftypevr
  32641. #: guix-git/doc/guix.texi:22060
  32642. #, no-wrap
  32643. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  32644. msgstr ""
  32645. #. type: deftypevr
  32646. #: guix-git/doc/guix.texi:22065
  32647. msgid "Listeners for the service. A listener is either a @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}. Defaults to @samp{()}."
  32648. msgstr ""
  32649. #. type: deftypevr
  32650. #: guix-git/doc/guix.texi:22067
  32651. msgid "Available @code{unix-listener-configuration} fields are:"
  32652. msgstr ""
  32653. #. type: deftypevr
  32654. #: guix-git/doc/guix.texi:22068
  32655. #, no-wrap
  32656. msgid "{@code{unix-listener-configuration} parameter} string path"
  32657. msgstr ""
  32658. #. type: deftypevr
  32659. #: guix-git/doc/guix.texi:22071 guix-git/doc/guix.texi:22094
  32660. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  32661. msgstr ""
  32662. #. type: deftypevr
  32663. #: guix-git/doc/guix.texi:22073
  32664. #, no-wrap
  32665. msgid "{@code{unix-listener-configuration} parameter} string mode"
  32666. msgstr ""
  32667. #. type: deftypevr
  32668. #: guix-git/doc/guix.texi:22076 guix-git/doc/guix.texi:22099
  32669. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  32670. msgstr ""
  32671. #. type: deftypevr
  32672. #: guix-git/doc/guix.texi:22078
  32673. #, no-wrap
  32674. msgid "{@code{unix-listener-configuration} parameter} string user"
  32675. msgstr ""
  32676. #. type: deftypevr
  32677. #: guix-git/doc/guix.texi:22081 guix-git/doc/guix.texi:22104
  32678. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  32679. msgstr ""
  32680. #. type: deftypevr
  32681. #: guix-git/doc/guix.texi:22083
  32682. #, no-wrap
  32683. msgid "{@code{unix-listener-configuration} parameter} string group"
  32684. msgstr ""
  32685. #. type: deftypevr
  32686. #: guix-git/doc/guix.texi:22086 guix-git/doc/guix.texi:22109
  32687. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  32688. msgstr ""
  32689. #. type: deftypevr
  32690. #: guix-git/doc/guix.texi:22090
  32691. msgid "Available @code{fifo-listener-configuration} fields are:"
  32692. msgstr ""
  32693. #. type: deftypevr
  32694. #: guix-git/doc/guix.texi:22091
  32695. #, no-wrap
  32696. msgid "{@code{fifo-listener-configuration} parameter} string path"
  32697. msgstr ""
  32698. #. type: deftypevr
  32699. #: guix-git/doc/guix.texi:22096
  32700. #, no-wrap
  32701. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32702. msgstr ""
  32703. #. type: deftypevr
  32704. #: guix-git/doc/guix.texi:22101
  32705. #, no-wrap
  32706. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32707. msgstr ""
  32708. #. type: deftypevr
  32709. #: guix-git/doc/guix.texi:22106
  32710. #, no-wrap
  32711. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32712. msgstr ""
  32713. #. type: deftypevr
  32714. #: guix-git/doc/guix.texi:22113
  32715. msgid "Available @code{inet-listener-configuration} fields are:"
  32716. msgstr ""
  32717. #. type: deftypevr
  32718. #: guix-git/doc/guix.texi:22114
  32719. #, no-wrap
  32720. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32721. msgstr ""
  32722. #. type: deftypevr
  32723. #: guix-git/doc/guix.texi:22116
  32724. msgid "The protocol to listen for."
  32725. msgstr ""
  32726. #. type: deftypevr
  32727. #: guix-git/doc/guix.texi:22118
  32728. #, no-wrap
  32729. msgid "{@code{inet-listener-configuration} parameter} string address"
  32730. msgstr ""
  32731. #. type: deftypevr
  32732. #: guix-git/doc/guix.texi:22121
  32733. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32734. msgstr ""
  32735. #. type: deftypevr
  32736. #: guix-git/doc/guix.texi:22123
  32737. #, no-wrap
  32738. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32739. msgstr ""
  32740. #. type: deftypevr
  32741. #: guix-git/doc/guix.texi:22125
  32742. msgid "The port on which to listen."
  32743. msgstr ""
  32744. #. type: deftypevr
  32745. #: guix-git/doc/guix.texi:22127
  32746. #, no-wrap
  32747. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32748. msgstr ""
  32749. #. type: deftypevr
  32750. #: guix-git/doc/guix.texi:22131
  32751. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32752. msgstr ""
  32753. #. type: deftypevr
  32754. #: guix-git/doc/guix.texi:22135
  32755. #, no-wrap
  32756. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32757. msgstr ""
  32758. #. type: deftypevr
  32759. #: guix-git/doc/guix.texi:22140
  32760. msgid "Maximum number of simultaneous client connections per process. Once this number of connections is received, the next incoming connection will prompt Dovecot to spawn another process. If set to 0, @code{default-client-limit} is used instead."
  32761. msgstr ""
  32762. #. type: deftypevr
  32763. #: guix-git/doc/guix.texi:22145
  32764. #, no-wrap
  32765. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32766. msgstr ""
  32767. #. type: deftypevr
  32768. #: guix-git/doc/guix.texi:22150
  32769. msgid "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. <doc/wiki/LoginProcess.txt>. Defaults to @samp{1}."
  32770. msgstr ""
  32771. #. type: deftypevr
  32772. #: guix-git/doc/guix.texi:22153
  32773. #, no-wrap
  32774. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32775. msgstr ""
  32776. #. type: deftypevr
  32777. #: guix-git/doc/guix.texi:22156
  32778. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32779. msgstr ""
  32780. #. type: deftypevr
  32781. #: guix-git/doc/guix.texi:22161
  32782. #, no-wrap
  32783. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32784. msgstr ""
  32785. #. type: deftypevr
  32786. #: guix-git/doc/guix.texi:22164
  32787. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32788. msgstr ""
  32789. #. type: deftypevr
  32790. #: guix-git/doc/guix.texi:22166
  32791. #, no-wrap
  32792. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32793. msgstr ""
  32794. #. type: deftypevr
  32795. #: guix-git/doc/guix.texi:22170
  32796. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32797. msgstr ""
  32798. #. type: deftypevr
  32799. #: guix-git/doc/guix.texi:22174
  32800. #, no-wrap
  32801. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32802. msgstr ""
  32803. #. type: deftypevr
  32804. #: guix-git/doc/guix.texi:22177
  32805. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32806. msgstr ""
  32807. #. type: deftypevr
  32808. #: guix-git/doc/guix.texi:22179
  32809. msgid "Available @code{dict-configuration} fields are:"
  32810. msgstr ""
  32811. #. type: deftypevr
  32812. #: guix-git/doc/guix.texi:22180
  32813. #, no-wrap
  32814. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32815. msgstr ""
  32816. #. type: deftypevr
  32817. #: guix-git/doc/guix.texi:22183
  32818. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32819. msgstr ""
  32820. #. type: deftypevr
  32821. #: guix-git/doc/guix.texi:22187
  32822. #, no-wrap
  32823. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32824. msgstr ""
  32825. #. type: deftypevr
  32826. #: guix-git/doc/guix.texi:22190
  32827. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32828. msgstr ""
  32829. #. type: deftypevr
  32830. #: guix-git/doc/guix.texi:22192
  32831. msgid "Available @code{passdb-configuration} fields are:"
  32832. msgstr ""
  32833. #. type: deftypevr
  32834. #: guix-git/doc/guix.texi:22193
  32835. #, no-wrap
  32836. msgid "{@code{passdb-configuration} parameter} string driver"
  32837. msgstr ""
  32838. #. type: deftypevr
  32839. #: guix-git/doc/guix.texi:22198
  32840. msgid "The driver that the passdb should use. Valid values include @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults to @samp{\"pam\"}."
  32841. msgstr ""
  32842. #. type: deftypevr
  32843. #: guix-git/doc/guix.texi:22200
  32844. #, no-wrap
  32845. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32846. msgstr ""
  32847. #. type: deftypevr
  32848. #: guix-git/doc/guix.texi:22203
  32849. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32850. msgstr ""
  32851. #. type: deftypevr
  32852. #: guix-git/doc/guix.texi:22207
  32853. #, no-wrap
  32854. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32855. msgstr ""
  32856. #. type: deftypevr
  32857. #: guix-git/doc/guix.texi:22210
  32858. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32859. msgstr ""
  32860. #. type: deftypevr
  32861. #: guix-git/doc/guix.texi:22212
  32862. msgid "Available @code{userdb-configuration} fields are:"
  32863. msgstr ""
  32864. #. type: deftypevr
  32865. #: guix-git/doc/guix.texi:22213
  32866. #, no-wrap
  32867. msgid "{@code{userdb-configuration} parameter} string driver"
  32868. msgstr ""
  32869. #. type: deftypevr
  32870. #: guix-git/doc/guix.texi:22217
  32871. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32872. msgstr ""
  32873. #. type: deftypevr
  32874. #: guix-git/doc/guix.texi:22219
  32875. #, no-wrap
  32876. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32877. msgstr ""
  32878. #. type: deftypevr
  32879. #: guix-git/doc/guix.texi:22222
  32880. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32881. msgstr ""
  32882. #. type: deftypevr
  32883. #: guix-git/doc/guix.texi:22224
  32884. #, no-wrap
  32885. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32886. msgstr ""
  32887. #. type: deftypevr
  32888. #: guix-git/doc/guix.texi:22227
  32889. msgid "Override fields from passwd. Defaults to @samp{()}."
  32890. msgstr ""
  32891. #. type: deftypevr
  32892. #: guix-git/doc/guix.texi:22231
  32893. #, no-wrap
  32894. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32895. msgstr ""
  32896. #. type: deftypevr
  32897. #: guix-git/doc/guix.texi:22234
  32898. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32899. msgstr ""
  32900. #. type: deftypevr
  32901. #: guix-git/doc/guix.texi:22236
  32902. #, no-wrap
  32903. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32904. msgstr ""
  32905. #. type: deftypevr
  32906. #: guix-git/doc/guix.texi:22239
  32907. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32908. msgstr ""
  32909. #. type: deftypevr
  32910. #: guix-git/doc/guix.texi:22241
  32911. msgid "Available @code{namespace-configuration} fields are:"
  32912. msgstr ""
  32913. #. type: deftypevr
  32914. #: guix-git/doc/guix.texi:22242
  32915. #, no-wrap
  32916. msgid "{@code{namespace-configuration} parameter} string name"
  32917. msgstr ""
  32918. #. type: deftypevr
  32919. #: guix-git/doc/guix.texi:22244
  32920. msgid "Name for this namespace."
  32921. msgstr ""
  32922. #. type: deftypevr
  32923. #: guix-git/doc/guix.texi:22246
  32924. #, no-wrap
  32925. msgid "{@code{namespace-configuration} parameter} string type"
  32926. msgstr ""
  32927. #. type: deftypevr
  32928. #: guix-git/doc/guix.texi:22249
  32929. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32930. msgstr ""
  32931. #. type: deftypevr
  32932. #: guix-git/doc/guix.texi:22251
  32933. #, no-wrap
  32934. msgid "{@code{namespace-configuration} parameter} string separator"
  32935. msgstr ""
  32936. #. type: deftypevr
  32937. #: guix-git/doc/guix.texi:22257
  32938. msgid "Hierarchy separator to use. You should use the same separator for all namespaces or some clients get confused. @samp{/} is usually a good one. The default however depends on the underlying mail storage format. Defaults to @samp{\"\"}."
  32939. msgstr ""
  32940. #. type: deftypevr
  32941. #: guix-git/doc/guix.texi:22259
  32942. #, no-wrap
  32943. msgid "{@code{namespace-configuration} parameter} string prefix"
  32944. msgstr ""
  32945. #. type: deftypevr
  32946. #: guix-git/doc/guix.texi:22263
  32947. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32948. msgstr ""
  32949. #. type: deftypevr
  32950. #: guix-git/doc/guix.texi:22265
  32951. #, no-wrap
  32952. msgid "{@code{namespace-configuration} parameter} string location"
  32953. msgstr ""
  32954. #. type: deftypevr
  32955. #: guix-git/doc/guix.texi:22269
  32956. msgid "Physical location of the mailbox. This is in the same format as mail_location, which is also the default for it. Defaults to @samp{\"\"}."
  32957. msgstr ""
  32958. #. type: deftypevr
  32959. #: guix-git/doc/guix.texi:22271
  32960. #, no-wrap
  32961. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32962. msgstr ""
  32963. #. type: deftypevr
  32964. #: guix-git/doc/guix.texi:22275
  32965. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32966. msgstr ""
  32967. #. type: deftypevr
  32968. #: guix-git/doc/guix.texi:22277
  32969. #, no-wrap
  32970. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32971. msgstr ""
  32972. #. type: deftypevr
  32973. #: guix-git/doc/guix.texi:22285
  32974. msgid "If namespace is hidden, it's not advertised to clients via NAMESPACE extension. You'll most likely also want to set @samp{list? #f}. This is mostly useful when converting from another server with different namespaces which you want to deprecate but still keep working. For example you can create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and @samp{mail/}. Defaults to @samp{#f}."
  32975. msgstr ""
  32976. #. type: deftypevr
  32977. #: guix-git/doc/guix.texi:22287
  32978. #, no-wrap
  32979. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32980. msgstr ""
  32981. #. type: deftypevr
  32982. #: guix-git/doc/guix.texi:22293
  32983. msgid "Show the mailboxes under this namespace with the LIST command. This makes the namespace visible for clients that do not support the NAMESPACE extension. The special @code{children} value lists child mailboxes, but hides the namespace prefix. Defaults to @samp{#t}."
  32984. msgstr ""
  32985. #. type: deftypevr
  32986. #: guix-git/doc/guix.texi:22295
  32987. #, no-wrap
  32988. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32989. msgstr ""
  32990. #. type: deftypevr
  32991. #: guix-git/doc/guix.texi:22300
  32992. msgid "Namespace handles its own subscriptions. If set to @code{#f}, the parent namespace handles them. The empty prefix should always have this as @code{#t}). Defaults to @samp{#t}."
  32993. msgstr ""
  32994. #. type: deftypevr
  32995. #: guix-git/doc/guix.texi:22302
  32996. #, no-wrap
  32997. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32998. msgstr ""
  32999. #. type: deftypevr
  33000. #: guix-git/doc/guix.texi:22305
  33001. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  33002. msgstr ""
  33003. #. type: deftypevr
  33004. #: guix-git/doc/guix.texi:22307
  33005. msgid "Available @code{mailbox-configuration} fields are:"
  33006. msgstr ""
  33007. #. type: deftypevr
  33008. #: guix-git/doc/guix.texi:22308
  33009. #, no-wrap
  33010. msgid "{@code{mailbox-configuration} parameter} string name"
  33011. msgstr ""
  33012. #. type: deftypevr
  33013. #: guix-git/doc/guix.texi:22310
  33014. msgid "Name for this mailbox."
  33015. msgstr ""
  33016. #. type: deftypevr
  33017. #: guix-git/doc/guix.texi:22312
  33018. #, no-wrap
  33019. msgid "{@code{mailbox-configuration} parameter} string auto"
  33020. msgstr ""
  33021. #. type: deftypevr
  33022. #: guix-git/doc/guix.texi:22316
  33023. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  33024. msgstr ""
  33025. #. type: deftypevr
  33026. #: guix-git/doc/guix.texi:22318
  33027. #, no-wrap
  33028. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  33029. msgstr ""
  33030. #. type: deftypevr
  33031. #: guix-git/doc/guix.texi:22323
  33032. msgid "List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid values are @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent}, and @code{\\Trash}. Defaults to @samp{()}."
  33033. msgstr ""
  33034. #. type: deftypevr
  33035. #: guix-git/doc/guix.texi:22329
  33036. #, no-wrap
  33037. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  33038. msgstr ""
  33039. #. type: deftypevr
  33040. #: guix-git/doc/guix.texi:22332
  33041. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  33042. msgstr ""
  33043. #. type: deftypevr
  33044. #: guix-git/doc/guix.texi:22334
  33045. #, no-wrap
  33046. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  33047. msgstr ""
  33048. #. type: deftypevr
  33049. #: guix-git/doc/guix.texi:22337
  33050. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  33051. msgstr ""
  33052. #. type: deftypevr
  33053. #: guix-git/doc/guix.texi:22339
  33054. #, no-wrap
  33055. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  33056. msgstr ""
  33057. #. type: deftypevr
  33058. #: guix-git/doc/guix.texi:22346
  33059. msgid "List of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). @samp{disable-plaintext-auth} is also ignored for these networks. Typically you would specify your IMAP proxy servers here. Defaults to @samp{()}."
  33060. msgstr ""
  33061. #. type: deftypevr
  33062. #: guix-git/doc/guix.texi:22348
  33063. #, no-wrap
  33064. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  33065. msgstr ""
  33066. #. type: deftypevr
  33067. #: guix-git/doc/guix.texi:22351
  33068. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  33069. msgstr ""
  33070. #. type: deftypevr
  33071. #: guix-git/doc/guix.texi:22353
  33072. #, no-wrap
  33073. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  33074. msgstr ""
  33075. #. type: deftypevr
  33076. #: guix-git/doc/guix.texi:22359
  33077. msgid "Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP processes (e.g.@: shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}."
  33078. msgstr ""
  33079. #. type: deftypevr
  33080. #: guix-git/doc/guix.texi:22361
  33081. #, no-wrap
  33082. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  33083. msgstr ""
  33084. #. type: deftypevr
  33085. #: guix-git/doc/guix.texi:22367
  33086. msgid "Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}."
  33087. msgstr ""
  33088. #. type: deftypevr
  33089. #: guix-git/doc/guix.texi:22369
  33090. #, no-wrap
  33091. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  33092. msgstr ""
  33093. #. type: deftypevr
  33094. #: guix-git/doc/guix.texi:22373
  33095. msgid "If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. Defaults to @samp{0}."
  33096. msgstr ""
  33097. #. type: deftypevr
  33098. #: guix-git/doc/guix.texi:22375
  33099. #, no-wrap
  33100. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  33101. msgstr ""
  33102. #. type: deftypevr
  33103. #: guix-git/doc/guix.texi:22378
  33104. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  33105. msgstr ""
  33106. #. type: deftypevr
  33107. #: guix-git/doc/guix.texi:22380
  33108. #, no-wrap
  33109. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  33110. msgstr ""
  33111. #. type: deftypevr
  33112. #: guix-git/doc/guix.texi:22384
  33113. msgid "List of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings."
  33114. msgstr ""
  33115. #. type: deftypevr
  33116. #: guix-git/doc/guix.texi:22386
  33117. #, no-wrap
  33118. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  33119. msgstr ""
  33120. #. type: deftypevr
  33121. #: guix-git/doc/guix.texi:22393
  33122. msgid "Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP matches the local IP (i.e.@: you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}."
  33123. msgstr ""
  33124. #. type: deftypevr
  33125. #: guix-git/doc/guix.texi:22395
  33126. #, no-wrap
  33127. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  33128. msgstr ""
  33129. #. type: deftypevr
  33130. #: guix-git/doc/guix.texi:22400
  33131. msgid "Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}."
  33132. msgstr ""
  33133. #. type: deftypevr
  33134. #: guix-git/doc/guix.texi:22402
  33135. #, no-wrap
  33136. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  33137. msgstr ""
  33138. #. type: deftypevr
  33139. #: guix-git/doc/guix.texi:22410
  33140. msgid "Time to live for cached data. After TTL expires the cached record is no longer used, *except* if the main database lookup returns internal failure. We also try to handle password changes automatically: If user's previous authentication was successful, but this one wasn't, the cache isn't used. For now this works only with plaintext authentication. Defaults to @samp{\"1 hour\"}."
  33141. msgstr ""
  33142. #. type: deftypevr
  33143. #: guix-git/doc/guix.texi:22412
  33144. #, no-wrap
  33145. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  33146. msgstr ""
  33147. #. type: deftypevr
  33148. #: guix-git/doc/guix.texi:22416
  33149. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  33150. msgstr ""
  33151. #. type: deftypevr
  33152. #: guix-git/doc/guix.texi:22418
  33153. #, no-wrap
  33154. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  33155. msgstr ""
  33156. #. type: deftypevr
  33157. #: guix-git/doc/guix.texi:22424
  33158. msgid "List of realms for SASL authentication mechanisms that need them. You can leave it empty if you don't want to support multiple realms. Many clients simply use the first one listed here, so keep the default realm first. Defaults to @samp{()}."
  33159. msgstr ""
  33160. #. type: deftypevr
  33161. #: guix-git/doc/guix.texi:22426
  33162. #, no-wrap
  33163. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  33164. msgstr ""
  33165. #. type: deftypevr
  33166. #: guix-git/doc/guix.texi:22431
  33167. msgid "Default realm/domain to use if none was specified. This is used for both SASL realms and appending @@domain to username in plaintext logins. Defaults to @samp{\"\"}."
  33168. msgstr ""
  33169. #. type: deftypevr
  33170. #: guix-git/doc/guix.texi:22433
  33171. #, no-wrap
  33172. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  33173. msgstr ""
  33174. #. type: deftypevr
  33175. #: guix-git/doc/guix.texi:22440
  33176. msgid "List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. This is just an extra check to make sure user can't exploit any potential quote escaping vulnerabilities with SQL/LDAP databases. If you want to allow all characters, set this value to empty. Defaults to @samp{\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@\"}."
  33177. msgstr ""
  33178. #. type: deftypevr
  33179. #: guix-git/doc/guix.texi:22442
  33180. #, no-wrap
  33181. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  33182. msgstr ""
  33183. #. type: deftypevr
  33184. #: guix-git/doc/guix.texi:22448
  33185. msgid "Username character translations before it's looked up from databases. The value contains series of from -> to characters. For example @samp{#@@/@@} means that @samp{#} and @samp{/} characters are translated to @samp{@@}. Defaults to @samp{\"\"}."
  33186. msgstr ""
  33187. #. type: deftypevr
  33188. #: guix-git/doc/guix.texi:22450
  33189. #, no-wrap
  33190. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  33191. msgstr ""
  33192. #. type: deftypevr
  33193. #: guix-git/doc/guix.texi:22457
  33194. msgid "Username formatting before it's looked up from databases. You can use the standard variables here, e.g.@: %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. Defaults to @samp{\"%Lu\"}."
  33195. msgstr ""
  33196. #. type: deftypevr
  33197. #: guix-git/doc/guix.texi:22459
  33198. #, no-wrap
  33199. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  33200. msgstr ""
  33201. #. type: deftypevr
  33202. #: guix-git/doc/guix.texi:22467
  33203. msgid "If you want to allow master users to log in by specifying the master username within the normal username string (i.e.@: not using SASL mechanism's support for it), you can specify the separator character here. The format is then <username><separator><master username>. UW-IMAP uses @samp{*} as the separator, so that could be a good choice. Defaults to @samp{\"\"}."
  33204. msgstr ""
  33205. #. type: deftypevr
  33206. #: guix-git/doc/guix.texi:22469
  33207. #, no-wrap
  33208. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  33209. msgstr ""
  33210. #. type: deftypevr
  33211. #: guix-git/doc/guix.texi:22473
  33212. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  33213. msgstr ""
  33214. #. type: deftypevr
  33215. #: guix-git/doc/guix.texi:22475
  33216. #, no-wrap
  33217. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  33218. msgstr ""
  33219. #. type: deftypevr
  33220. #: guix-git/doc/guix.texi:22480
  33221. msgid "Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}."
  33222. msgstr ""
  33223. #. type: deftypevr
  33224. #: guix-git/doc/guix.texi:22482
  33225. #, no-wrap
  33226. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  33227. msgstr ""
  33228. #. type: deftypevr
  33229. #: guix-git/doc/guix.texi:22487
  33230. msgid "Host name to use in GSSAPI principal names. The default is to use the name returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all keytab entries. Defaults to @samp{\"\"}."
  33231. msgstr ""
  33232. #. type: deftypevr
  33233. #: guix-git/doc/guix.texi:22489
  33234. #, no-wrap
  33235. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  33236. msgstr ""
  33237. #. type: deftypevr
  33238. #: guix-git/doc/guix.texi:22495
  33239. msgid "Kerberos keytab to use for the GSSAPI mechanism. Will use the system default (usually @file{/etc/krb5.keytab}) if not specified. You may need to change the auth service to run as root to be able to read this file. Defaults to @samp{\"\"}."
  33240. msgstr ""
  33241. #. type: deftypevr
  33242. #: guix-git/doc/guix.texi:22497
  33243. #, no-wrap
  33244. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  33245. msgstr ""
  33246. #. type: deftypevr
  33247. #: guix-git/doc/guix.texi:22502
  33248. msgid "Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and @samp{ntlm-auth} helper. <doc/wiki/Authentication/Mechanisms/Winbind.txt>. Defaults to @samp{#f}."
  33249. msgstr ""
  33250. #. type: deftypevr
  33251. #: guix-git/doc/guix.texi:22504
  33252. #, no-wrap
  33253. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  33254. msgstr ""
  33255. #. type: deftypevr
  33256. #: guix-git/doc/guix.texi:22507
  33257. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  33258. msgstr ""
  33259. #. type: deftypevr
  33260. #: guix-git/doc/guix.texi:22509
  33261. #, no-wrap
  33262. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  33263. msgstr ""
  33264. #. type: deftypevr
  33265. #: guix-git/doc/guix.texi:22512
  33266. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  33267. msgstr ""
  33268. #. type: deftypevr
  33269. #: guix-git/doc/guix.texi:22514
  33270. #, no-wrap
  33271. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  33272. msgstr ""
  33273. #. type: deftypevr
  33274. #: guix-git/doc/guix.texi:22518
  33275. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  33276. msgstr ""
  33277. #. type: deftypevr
  33278. #: guix-git/doc/guix.texi:22520
  33279. #, no-wrap
  33280. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  33281. msgstr ""
  33282. #. type: deftypevr
  33283. #: guix-git/doc/guix.texi:22525
  33284. msgid "Take the username from client's SSL certificate, using @code{X509_NAME_get_text_by_NID()} which returns the subject's DN's CommonName. Defaults to @samp{#f}."
  33285. msgstr ""
  33286. #. type: deftypevr
  33287. #: guix-git/doc/guix.texi:22527
  33288. #, no-wrap
  33289. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  33290. msgstr ""
  33291. #. type: deftypevr
  33292. #: guix-git/doc/guix.texi:22533
  33293. msgid "List of wanted authentication mechanisms. Supported mechanisms are: @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey}, and @samp{gss-spnego}. NOTE: See also @samp{disable-plaintext-auth} setting."
  33294. msgstr ""
  33295. #. type: deftypevr
  33296. #: guix-git/doc/guix.texi:22535
  33297. #, no-wrap
  33298. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  33299. msgstr ""
  33300. #. type: deftypevr
  33301. #: guix-git/doc/guix.texi:22540
  33302. msgid "List of IPs or hostnames to all director servers, including ourself. Ports can be specified as ip:port. The default port is the same as what director service's @samp{inet-listener} is using. Defaults to @samp{()}."
  33303. msgstr ""
  33304. #. type: deftypevr
  33305. #: guix-git/doc/guix.texi:22542
  33306. #, no-wrap
  33307. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  33308. msgstr ""
  33309. #. type: deftypevr
  33310. #: guix-git/doc/guix.texi:22546
  33311. msgid "List of IPs or hostnames to all backend mail servers. Ranges are allowed too, like 10.0.0.10-10.0.0.30. Defaults to @samp{()}."
  33312. msgstr ""
  33313. #. type: deftypevr
  33314. #: guix-git/doc/guix.texi:22548
  33315. #, no-wrap
  33316. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  33317. msgstr ""
  33318. #. type: deftypevr
  33319. #: guix-git/doc/guix.texi:22552
  33320. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  33321. msgstr ""
  33322. #. type: deftypevr
  33323. #: guix-git/doc/guix.texi:22554
  33324. #, no-wrap
  33325. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  33326. msgstr ""
  33327. #. type: deftypevr
  33328. #: guix-git/doc/guix.texi:22559
  33329. msgid "How the username is translated before being hashed. Useful values include %Ln if user can log in with or without @@domain, %Ld if mailboxes are shared within domain. Defaults to @samp{\"%Lu\"}."
  33330. msgstr ""
  33331. #. type: deftypevr
  33332. #: guix-git/doc/guix.texi:22561
  33333. #, no-wrap
  33334. msgid "{@code{dovecot-configuration} parameter} string log-path"
  33335. msgstr ""
  33336. #. type: deftypevr
  33337. #: guix-git/doc/guix.texi:22565
  33338. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  33339. msgstr ""
  33340. #. type: deftypevr
  33341. #: guix-git/doc/guix.texi:22567
  33342. #, no-wrap
  33343. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  33344. msgstr ""
  33345. #. type: deftypevr
  33346. #: guix-git/doc/guix.texi:22571
  33347. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  33348. msgstr ""
  33349. #. type: deftypevr
  33350. #: guix-git/doc/guix.texi:22573
  33351. #, no-wrap
  33352. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  33353. msgstr ""
  33354. #. type: deftypevr
  33355. #: guix-git/doc/guix.texi:22577
  33356. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  33357. msgstr ""
  33358. #. type: deftypevr
  33359. #: guix-git/doc/guix.texi:22579
  33360. #, no-wrap
  33361. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  33362. msgstr ""
  33363. #. type: deftypevr
  33364. #: guix-git/doc/guix.texi:22584
  33365. msgid "Syslog facility to use if you're logging to syslog. Usually if you don't want to use @samp{mail}, you'll use local0..local7. Also other standard facilities are supported. Defaults to @samp{\"mail\"}."
  33366. msgstr ""
  33367. #. type: deftypevr
  33368. #: guix-git/doc/guix.texi:22586
  33369. #, no-wrap
  33370. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  33371. msgstr ""
  33372. #. type: deftypevr
  33373. #: guix-git/doc/guix.texi:22590
  33374. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  33375. msgstr ""
  33376. #. type: deftypevr
  33377. #: guix-git/doc/guix.texi:22592
  33378. #, no-wrap
  33379. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  33380. msgstr ""
  33381. #. type: deftypevr
  33382. #: guix-git/doc/guix.texi:22599
  33383. msgid "In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending \":n\" (e.g.@: sha1:6). Defaults to @samp{\"no\"}."
  33384. msgstr ""
  33385. #. type: deftypevr
  33386. #: guix-git/doc/guix.texi:22601
  33387. #, no-wrap
  33388. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  33389. msgstr ""
  33390. #. type: deftypevr
  33391. #: guix-git/doc/guix.texi:22605
  33392. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  33393. msgstr ""
  33394. #. type: deftypevr
  33395. #: guix-git/doc/guix.texi:22607
  33396. #, no-wrap
  33397. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  33398. msgstr ""
  33399. #. type: deftypevr
  33400. #: guix-git/doc/guix.texi:22612
  33401. msgid "In case of password mismatches, log the passwords and used scheme so the problem can be debugged. Enabling this also enables @samp{auth-debug}. Defaults to @samp{#f}."
  33402. msgstr ""
  33403. #. type: deftypevr
  33404. #: guix-git/doc/guix.texi:22614
  33405. #, no-wrap
  33406. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  33407. msgstr ""
  33408. #. type: deftypevr
  33409. #: guix-git/doc/guix.texi:22618
  33410. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  33411. msgstr ""
  33412. #. type: deftypevr
  33413. #: guix-git/doc/guix.texi:22620
  33414. #, no-wrap
  33415. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  33416. msgstr ""
  33417. #. type: deftypevr
  33418. #: guix-git/doc/guix.texi:22623
  33419. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  33420. msgstr ""
  33421. #. type: deftypevr
  33422. #: guix-git/doc/guix.texi:22625
  33423. #, no-wrap
  33424. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  33425. msgstr ""
  33426. #. type: deftypevr
  33427. #: guix-git/doc/guix.texi:22629
  33428. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  33429. msgstr ""
  33430. #. type: deftypevr
  33431. #: guix-git/doc/guix.texi:22631
  33432. #, no-wrap
  33433. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  33434. msgstr ""
  33435. #. type: deftypevr
  33436. #: guix-git/doc/guix.texi:22635
  33437. msgid "List of elements we want to log. The elements which have a non-empty variable value are joined together to form a comma-separated string."
  33438. msgstr ""
  33439. #. type: deftypevr
  33440. #: guix-git/doc/guix.texi:22637
  33441. #, no-wrap
  33442. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  33443. msgstr ""
  33444. #. type: deftypevr
  33445. #: guix-git/doc/guix.texi:22641
  33446. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  33447. msgstr ""
  33448. #. type: deftypevr
  33449. #: guix-git/doc/guix.texi:22643
  33450. #, no-wrap
  33451. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  33452. msgstr ""
  33453. #. type: deftypevr
  33454. #: guix-git/doc/guix.texi:22647
  33455. msgid "Log prefix for mail processes. See doc/wiki/Variables.txt for list of possible variables you can use. Defaults to @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}."
  33456. msgstr ""
  33457. #. type: deftypevr
  33458. #: guix-git/doc/guix.texi:22649
  33459. #, no-wrap
  33460. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  33461. msgstr ""
  33462. #. type: deftypevr
  33463. #: guix-git/doc/guix.texi:22651
  33464. msgid "Format to use for logging mail deliveries. You can use variables:"
  33465. msgstr ""
  33466. #. type: item
  33467. #: guix-git/doc/guix.texi:22652
  33468. #, no-wrap
  33469. msgid "%$"
  33470. msgstr ""
  33471. #. type: table
  33472. #: guix-git/doc/guix.texi:22654
  33473. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  33474. msgstr ""
  33475. #. type: item
  33476. #: guix-git/doc/guix.texi:22654
  33477. #, no-wrap
  33478. msgid "%m"
  33479. msgstr ""
  33480. #. type: table
  33481. #: guix-git/doc/guix.texi:22656
  33482. msgid "Message-ID"
  33483. msgstr ""
  33484. #. type: item
  33485. #: guix-git/doc/guix.texi:22656 guix-git/doc/guix.texi:23199
  33486. #, no-wrap
  33487. msgid "%s"
  33488. msgstr ""
  33489. #. type: table
  33490. #: guix-git/doc/guix.texi:22658
  33491. msgid "Subject"
  33492. msgstr "Predmet"
  33493. #. type: item
  33494. #: guix-git/doc/guix.texi:22658
  33495. #, no-wrap
  33496. msgid "%f"
  33497. msgstr ""
  33498. #. type: table
  33499. #: guix-git/doc/guix.texi:22660
  33500. msgid "From address"
  33501. msgstr ""
  33502. #. type: table
  33503. #: guix-git/doc/guix.texi:22662
  33504. msgid "Physical size"
  33505. msgstr ""
  33506. #. type: item
  33507. #: guix-git/doc/guix.texi:22662
  33508. #, no-wrap
  33509. msgid "%w"
  33510. msgstr ""
  33511. #. type: table
  33512. #: guix-git/doc/guix.texi:22664
  33513. msgid "Virtual size."
  33514. msgstr ""
  33515. #. type: deftypevr
  33516. #: guix-git/doc/guix.texi:22666
  33517. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  33518. msgstr ""
  33519. #. type: deftypevr
  33520. #: guix-git/doc/guix.texi:22668
  33521. #, no-wrap
  33522. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  33523. msgstr ""
  33524. #. type: deftypevr
  33525. #: guix-git/doc/guix.texi:22673
  33526. msgid "Location for users' mailboxes. The default is empty, which means that Dovecot tries to find the mailboxes automatically. This won't work if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location."
  33527. msgstr ""
  33528. #. type: deftypevr
  33529. #: guix-git/doc/guix.texi:22679
  33530. msgid "If you're using mbox, giving a path to the INBOX file (e.g.@: @file{/var/mail/%u}) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the @emph{root mail directory}, and it must be the first path given in the @samp{mail-location} setting."
  33531. msgstr ""
  33532. #. type: deftypevr
  33533. #: guix-git/doc/guix.texi:22681
  33534. msgid "There are a few special variables you can use, e.g.:"
  33535. msgstr ""
  33536. #. type: table
  33537. #: guix-git/doc/guix.texi:22685
  33538. msgid "username"
  33539. msgstr "používateľské meno"
  33540. #. type: item
  33541. #: guix-git/doc/guix.texi:22685 guix-git/doc/guix.texi:23195
  33542. #, no-wrap
  33543. msgid "%n"
  33544. msgstr ""
  33545. #. type: table
  33546. #: guix-git/doc/guix.texi:22687
  33547. msgid "user part in user@@domain, same as %u if there's no domain"
  33548. msgstr ""
  33549. #. type: item
  33550. #: guix-git/doc/guix.texi:22687
  33551. #, no-wrap
  33552. msgid "%d"
  33553. msgstr ""
  33554. #. type: table
  33555. #: guix-git/doc/guix.texi:22689
  33556. msgid "domain part in user@@domain, empty if there's no domain"
  33557. msgstr ""
  33558. #. type: item
  33559. #: guix-git/doc/guix.texi:22689
  33560. #, no-wrap
  33561. msgid "%h"
  33562. msgstr ""
  33563. #. type: table
  33564. #: guix-git/doc/guix.texi:22691
  33565. msgid "home director"
  33566. msgstr "domovský priečinok"
  33567. #. type: deftypevr
  33568. #: guix-git/doc/guix.texi:22694
  33569. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  33570. msgstr ""
  33571. #. type: item
  33572. #: guix-git/doc/guix.texi:22695
  33573. #, no-wrap
  33574. msgid "maildir:~/Maildir"
  33575. msgstr ""
  33576. #. type: item
  33577. #: guix-git/doc/guix.texi:22696
  33578. #, no-wrap
  33579. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  33580. msgstr ""
  33581. #. type: item
  33582. #: guix-git/doc/guix.texi:22697
  33583. #, no-wrap
  33584. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  33585. msgstr ""
  33586. #. type: deftypevr
  33587. #: guix-git/doc/guix.texi:22702
  33588. #, no-wrap
  33589. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  33590. msgstr ""
  33591. #. type: deftypevr
  33592. #: guix-git/doc/guix.texi:22707
  33593. msgid "System user and group used to access mails. If you use multiple, userdb can override these by returning uid or gid fields. You can use either numbers or names. <doc/wiki/UserIds.txt>. Defaults to @samp{\"\"}."
  33594. msgstr ""
  33595. #. type: deftypevr
  33596. #: guix-git/doc/guix.texi:22709
  33597. #, no-wrap
  33598. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  33599. msgstr ""
  33600. #. type: deftypevr
  33601. #: guix-git/doc/guix.texi:22714
  33602. #, no-wrap
  33603. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  33604. msgstr ""
  33605. #. type: deftypevr
  33606. #: guix-git/doc/guix.texi:22720
  33607. msgid "Group to enable temporarily for privileged operations. Currently this is used only with INBOX when either its initial creation or dotlocking fails. Typically this is set to @samp{\"mail\"} to give access to @file{/var/mail}. Defaults to @samp{\"\"}."
  33608. msgstr ""
  33609. #. type: deftypevr
  33610. #: guix-git/doc/guix.texi:22722
  33611. #, no-wrap
  33612. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  33613. msgstr ""
  33614. #. type: deftypevr
  33615. #: guix-git/doc/guix.texi:22730
  33616. msgid "Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create symlinks (e.g.@: if @samp{mail} group is set here, @code{ln -s /var/mail ~/mail/var} could allow a user to delete others' mailboxes, or @code{ln -s /secret/shared/box ~/mail/mybox} would allow reading it). Defaults to @samp{\"\"}."
  33617. msgstr ""
  33618. #. type: deftypevr
  33619. #: guix-git/doc/guix.texi:22732
  33620. #, no-wrap
  33621. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  33622. msgstr ""
  33623. #. type: deftypevr
  33624. #: guix-git/doc/guix.texi:22735
  33625. msgid "The location of a dictionary used to store @code{IMAP METADATA} as defined by @uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}."
  33626. msgstr ""
  33627. #. type: deftypevr
  33628. #: guix-git/doc/guix.texi:22738
  33629. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  33630. msgstr ""
  33631. #. type: deftypevr
  33632. #: guix-git/doc/guix.texi:22743
  33633. #, no-wrap
  33634. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  33635. msgstr ""
  33636. #. type: deftypevr
  33637. #: guix-git/doc/guix.texi:22749
  33638. msgid "Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID@. It works with both maildir and mboxes, allowing you to prefix mailboxes names with e.g.@: @file{/path/} or @file{~user/}. Defaults to @samp{#f}."
  33639. msgstr ""
  33640. #. type: deftypevr
  33641. #: guix-git/doc/guix.texi:22751
  33642. #, no-wrap
  33643. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  33644. msgstr ""
  33645. #. type: deftypevr
  33646. #: guix-git/doc/guix.texi:22755
  33647. msgid "Don't use @code{mmap()} at all. This is required if you store indexes to shared file systems (NFS or clustered file system). Defaults to @samp{#f}."
  33648. msgstr ""
  33649. #. type: deftypevr
  33650. #: guix-git/doc/guix.texi:22757
  33651. #, no-wrap
  33652. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  33653. msgstr ""
  33654. #. type: deftypevr
  33655. #: guix-git/doc/guix.texi:22762
  33656. msgid "Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports @samp{O_EXCL} since version 3, so this should be safe to use nowadays by default. Defaults to @samp{#t}."
  33657. msgstr ""
  33658. #. type: deftypevr
  33659. #: guix-git/doc/guix.texi:22764
  33660. #, no-wrap
  33661. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  33662. msgstr ""
  33663. #. type: deftypevr
  33664. #: guix-git/doc/guix.texi:22766
  33665. msgid "When to use fsync() or fdatasync() calls:"
  33666. msgstr ""
  33667. #. type: item
  33668. #: guix-git/doc/guix.texi:22767
  33669. #, no-wrap
  33670. msgid "optimized"
  33671. msgstr ""
  33672. #. type: table
  33673. #: guix-git/doc/guix.texi:22769
  33674. msgid "Whenever necessary to avoid losing important data"
  33675. msgstr ""
  33676. #. type: table
  33677. #: guix-git/doc/guix.texi:22771
  33678. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  33679. msgstr ""
  33680. #. type: table
  33681. #: guix-git/doc/guix.texi:22773
  33682. msgid "Never use it (best performance, but crashes can lose data)."
  33683. msgstr ""
  33684. #. type: deftypevr
  33685. #: guix-git/doc/guix.texi:22775
  33686. msgid "Defaults to @samp{\"optimized\"}."
  33687. msgstr ""
  33688. #. type: deftypevr
  33689. #: guix-git/doc/guix.texi:22777
  33690. #, no-wrap
  33691. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  33692. msgstr ""
  33693. #. type: deftypevr
  33694. #: guix-git/doc/guix.texi:22782
  33695. msgid "Mail storage exists in NFS@. Set this to yes to make Dovecot flush NFS caches whenever needed. If you're using only a single mail server this isn't needed. Defaults to @samp{#f}."
  33696. msgstr ""
  33697. #. type: deftypevr
  33698. #: guix-git/doc/guix.texi:22784
  33699. #, no-wrap
  33700. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33701. msgstr ""
  33702. #. type: deftypevr
  33703. #: guix-git/doc/guix.texi:22788
  33704. msgid "Mail index files also exist in NFS@. Setting this to yes requires @samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to @samp{#f}."
  33705. msgstr ""
  33706. #. type: deftypevr
  33707. #: guix-git/doc/guix.texi:22790
  33708. #, no-wrap
  33709. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33710. msgstr ""
  33711. #. type: deftypevr
  33712. #: guix-git/doc/guix.texi:22796
  33713. msgid "Locking method for index files. Alternatives are fcntl, flock and dotlock. Dotlocking uses some tricks which may create more disk I/O than other locking methods. NFS users: flock doesn't work, remember to change @samp{mmap-disable}. Defaults to @samp{\"fcntl\"}."
  33714. msgstr ""
  33715. #. type: deftypevr
  33716. #: guix-git/doc/guix.texi:22798
  33717. #, no-wrap
  33718. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33719. msgstr ""
  33720. #. type: deftypevr
  33721. #: guix-git/doc/guix.texi:22802
  33722. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33723. msgstr ""
  33724. #. type: deftypevr
  33725. #: guix-git/doc/guix.texi:22804
  33726. #, no-wrap
  33727. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33728. msgstr ""
  33729. #. type: deftypevr
  33730. #: guix-git/doc/guix.texi:22810
  33731. msgid "Valid UID range for users. This is mostly to make sure that users can't log in as daemons or other system users. Note that denying root logins is hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} is set to 0. Defaults to @samp{500}."
  33732. msgstr ""
  33733. #. type: deftypevr
  33734. #: guix-git/doc/guix.texi:22812
  33735. #, no-wrap
  33736. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33737. msgstr ""
  33738. #. type: deftypevr
  33739. #: guix-git/doc/guix.texi:22817
  33740. #, no-wrap
  33741. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33742. msgstr ""
  33743. #. type: deftypevr
  33744. #: guix-git/doc/guix.texi:22822
  33745. msgid "Valid GID range for users. Users having non-valid GID as primary group ID aren't allowed to log in. If user belongs to supplementary groups with non-valid GIDs, those groups are not set. Defaults to @samp{1}."
  33746. msgstr ""
  33747. #. type: deftypevr
  33748. #: guix-git/doc/guix.texi:22824
  33749. #, no-wrap
  33750. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33751. msgstr ""
  33752. #. type: deftypevr
  33753. #: guix-git/doc/guix.texi:22829
  33754. #, no-wrap
  33755. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33756. msgstr ""
  33757. #. type: deftypevr
  33758. #: guix-git/doc/guix.texi:22833
  33759. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33760. msgstr ""
  33761. #. type: deftypevr
  33762. #: guix-git/doc/guix.texi:22835
  33763. #, no-wrap
  33764. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33765. msgstr ""
  33766. #. type: deftypevr
  33767. #: guix-git/doc/guix.texi:22845
  33768. msgid "List of directories under which chrooting is allowed for mail processes (i.e.@: @file{/var/mail} will allow chrooting to @file{/var/mail/foo/bar} too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, @samp{/./} in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may lead to root exploit. Usually this should be done only if you don't allow shell access for users. <doc/wiki/Chrooting.txt>. Defaults to @samp{()}."
  33769. msgstr ""
  33770. #. type: deftypevr
  33771. #: guix-git/doc/guix.texi:22847
  33772. #, no-wrap
  33773. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33774. msgstr ""
  33775. #. type: deftypevr
  33776. #: guix-git/doc/guix.texi:22856
  33777. msgid "Default chroot directory for mail processes. This can be overridden for specific users in user database by giving @samp{/./} in user's home directory (e.g.@: @samp{/home/./user} chroots into @file{/home}). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home directories are prefixed with the chroot directory, append @samp{/.} to @samp{mail-chroot}. <doc/wiki/Chrooting.txt>. Defaults to @samp{\"\"}."
  33778. msgstr ""
  33779. #. type: deftypevr
  33780. #: guix-git/doc/guix.texi:22858
  33781. #, no-wrap
  33782. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33783. msgstr ""
  33784. #. type: deftypevr
  33785. #: guix-git/doc/guix.texi:22862
  33786. msgid "UNIX socket path to master authentication server to find users. This is used by imap (for shared users) and lda. Defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  33787. msgstr ""
  33788. #. type: deftypevr
  33789. #: guix-git/doc/guix.texi:22864
  33790. #, no-wrap
  33791. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33792. msgstr ""
  33793. #. type: deftypevr
  33794. #: guix-git/doc/guix.texi:22867
  33795. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33796. msgstr ""
  33797. #. type: deftypevr
  33798. #: guix-git/doc/guix.texi:22869
  33799. #, no-wrap
  33800. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33801. msgstr ""
  33802. #. type: deftypevr
  33803. #: guix-git/doc/guix.texi:22873
  33804. msgid "List of plugins to load for all services. Plugins specific to IMAP, LDA, etc.@: are added to this list in their own .conf files. Defaults to @samp{()}."
  33805. msgstr ""
  33806. #. type: deftypevr
  33807. #: guix-git/doc/guix.texi:22875
  33808. #, no-wrap
  33809. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33810. msgstr ""
  33811. #. type: deftypevr
  33812. #: guix-git/doc/guix.texi:22880
  33813. msgid "The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads. Defaults to @samp{0}."
  33814. msgstr ""
  33815. #. type: deftypevr
  33816. #: guix-git/doc/guix.texi:22882
  33817. #, no-wrap
  33818. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33819. msgstr ""
  33820. #. type: deftypevr
  33821. #: guix-git/doc/guix.texi:22889
  33822. msgid "When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes. This setting defines the minimum time to wait between those checks. Dovecot can also use dnotify, inotify and kqueue to find out immediately when changes occur. Defaults to @samp{\"30 secs\"}."
  33823. msgstr ""
  33824. #. type: deftypevr
  33825. #: guix-git/doc/guix.texi:22891
  33826. #, no-wrap
  33827. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33828. msgstr ""
  33829. #. type: deftypevr
  33830. #: guix-git/doc/guix.texi:22898
  33831. msgid "Save mails with CR+LF instead of plain LF@. This makes sending those mails take less CPU, especially with sendfile() syscall with Linux and FreeBSD@. But it also creates a bit more disk I/O which may just make it slower. Also note that if other software reads the mboxes/maildirs, they may handle the extra CRs wrong and cause problems. Defaults to @samp{#f}."
  33832. msgstr ""
  33833. #. type: deftypevr
  33834. #: guix-git/doc/guix.texi:22900
  33835. #, no-wrap
  33836. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33837. msgstr ""
  33838. #. type: deftypevr
  33839. #: guix-git/doc/guix.texi:22908
  33840. msgid "By default LIST command returns all entries in maildir beginning with a dot. Enabling this option makes Dovecot return only entries which are directories. This is done by stat()ing each entry, so it causes more disk I/O. (For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). Defaults to @samp{#f}."
  33841. msgstr ""
  33842. #. type: deftypevr
  33843. #: guix-git/doc/guix.texi:22910
  33844. #, no-wrap
  33845. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33846. msgstr ""
  33847. #. type: deftypevr
  33848. #: guix-git/doc/guix.texi:22915
  33849. msgid "When copying a message, do it with hard links whenever possible. This makes the performance much better, and it's unlikely to have any side effects. Defaults to @samp{#t}."
  33850. msgstr ""
  33851. #. type: deftypevr
  33852. #: guix-git/doc/guix.texi:22917
  33853. #, no-wrap
  33854. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33855. msgstr ""
  33856. #. type: deftypevr
  33857. #: guix-git/doc/guix.texi:22922
  33858. msgid "Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only when its mtime changes unexpectedly or when we can't find the mail otherwise. Defaults to @samp{#f}."
  33859. msgstr ""
  33860. #. type: deftypevr
  33861. #: guix-git/doc/guix.texi:22924
  33862. #, no-wrap
  33863. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33864. msgstr ""
  33865. #. type: deftypevr
  33866. #: guix-git/doc/guix.texi:22927
  33867. msgid "Which locking methods to use for locking mbox. There are four available:"
  33868. msgstr ""
  33869. #. type: item
  33870. #: guix-git/doc/guix.texi:22929
  33871. #, no-wrap
  33872. msgid "dotlock"
  33873. msgstr ""
  33874. #. type: table
  33875. #: guix-git/doc/guix.texi:22933
  33876. msgid "Create <mailbox>.lock file. This is the oldest and most NFS-safe solution. If you want to use /var/mail/ like directory, the users will need write access to that directory."
  33877. msgstr ""
  33878. #. type: item
  33879. #: guix-git/doc/guix.texi:22933
  33880. #, no-wrap
  33881. msgid "dotlock-try"
  33882. msgstr ""
  33883. #. type: table
  33884. #: guix-git/doc/guix.texi:22936
  33885. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33886. msgstr ""
  33887. #. type: item
  33888. #: guix-git/doc/guix.texi:22936
  33889. #, no-wrap
  33890. msgid "fcntl"
  33891. msgstr ""
  33892. #. type: table
  33893. #: guix-git/doc/guix.texi:22938
  33894. msgid "Use this if possible. Works with NFS too if lockd is used."
  33895. msgstr ""
  33896. #. type: item
  33897. #: guix-git/doc/guix.texi:22938
  33898. #, no-wrap
  33899. msgid "flock"
  33900. msgstr ""
  33901. #. type: table
  33902. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22942
  33903. msgid "May not exist in all systems. Doesn't work with NFS."
  33904. msgstr ""
  33905. #. type: item
  33906. #: guix-git/doc/guix.texi:22940
  33907. #, no-wrap
  33908. msgid "lockf"
  33909. msgstr ""
  33910. #. type: deftypevr
  33911. #: guix-git/doc/guix.texi:22948
  33912. msgid "You can use multiple locking methods; if you do the order they're declared in is important to avoid deadlocks if other MTAs/MUAs are using multiple locking methods as well. Some operating systems don't allow using some of them simultaneously."
  33913. msgstr ""
  33914. #. type: deftypevr
  33915. #: guix-git/doc/guix.texi:22950
  33916. #, no-wrap
  33917. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33918. msgstr ""
  33919. #. type: deftypevr
  33920. #: guix-git/doc/guix.texi:22954
  33921. #, no-wrap
  33922. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33923. msgstr ""
  33924. #. type: deftypevr
  33925. #: guix-git/doc/guix.texi:22957
  33926. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33927. msgstr ""
  33928. #. type: deftypevr
  33929. #: guix-git/doc/guix.texi:22959
  33930. #, no-wrap
  33931. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33932. msgstr ""
  33933. #. type: deftypevr
  33934. #: guix-git/doc/guix.texi:22963
  33935. msgid "If dotlock exists but the mailbox isn't modified in any way, override the lock file after this much time. Defaults to @samp{\"2 mins\"}."
  33936. msgstr ""
  33937. #. type: deftypevr
  33938. #: guix-git/doc/guix.texi:22965
  33939. #, no-wrap
  33940. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33941. msgstr ""
  33942. #. type: deftypevr
  33943. #: guix-git/doc/guix.texi:22976
  33944. msgid "When mbox changes unexpectedly we have to fully read it to find out what changed. If the mbox is large this can take a long time. Since the change is usually just a newly appended mail, it'd be faster to simply read the new mails. If this setting is enabled, Dovecot does this but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn't how it's expected to be. The only real downside to this setting is that if some other MUA changes message flags, Dovecot doesn't notice it immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK commands. Defaults to @samp{#t}."
  33945. msgstr ""
  33946. #. type: deftypevr
  33947. #: guix-git/doc/guix.texi:22978
  33948. #, no-wrap
  33949. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33950. msgstr ""
  33951. #. type: deftypevr
  33952. #: guix-git/doc/guix.texi:22983
  33953. msgid "Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} is ignored. Defaults to @samp{#f}."
  33954. msgstr ""
  33955. #. type: deftypevr
  33956. #: guix-git/doc/guix.texi:22985
  33957. #, no-wrap
  33958. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33959. msgstr ""
  33960. #. type: deftypevr
  33961. #: guix-git/doc/guix.texi:22991
  33962. msgid "Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox). This is especially useful for POP3 where clients often delete all mails. The downside is that our changes aren't immediately visible to other MUAs. Defaults to @samp{#t}."
  33963. msgstr ""
  33964. #. type: deftypevr
  33965. #: guix-git/doc/guix.texi:22993
  33966. #, no-wrap
  33967. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33968. msgstr ""
  33969. #. type: deftypevr
  33970. #: guix-git/doc/guix.texi:22998
  33971. msgid "If mbox size is smaller than this (e.g.@: 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}."
  33972. msgstr ""
  33973. #. type: deftypevr
  33974. #: guix-git/doc/guix.texi:23000
  33975. #, no-wrap
  33976. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33977. msgstr ""
  33978. #. type: deftypevr
  33979. #: guix-git/doc/guix.texi:23003
  33980. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33981. msgstr ""
  33982. #. type: deftypevr
  33983. #: guix-git/doc/guix.texi:23005
  33984. #, no-wrap
  33985. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33986. msgstr ""
  33987. #. type: deftypevr
  33988. #: guix-git/doc/guix.texi:23010
  33989. msgid "Maximum dbox file age until it's rotated. Typically in days. Day begins from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. Defaults to @samp{\"1d\"}."
  33990. msgstr ""
  33991. #. type: deftypevr
  33992. #: guix-git/doc/guix.texi:23012
  33993. #, no-wrap
  33994. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33995. msgstr ""
  33996. #. type: deftypevr
  33997. #: guix-git/doc/guix.texi:23017
  33998. msgid "When creating new mdbox files, immediately preallocate their size to @samp{mdbox-rotate-size}. This setting currently works only in Linux with some file systems (ext4, xfs). Defaults to @samp{#f}."
  33999. msgstr ""
  34000. #. type: deftypevr
  34001. #: guix-git/doc/guix.texi:23019
  34002. #, no-wrap
  34003. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  34004. msgstr ""
  34005. #. type: deftypevr
  34006. #: guix-git/doc/guix.texi:23023
  34007. msgid "sdbox and mdbox support saving mail attachments to external files, which also allows single instance storage for them. Other backends don't support this for now."
  34008. msgstr ""
  34009. #. type: deftypevr
  34010. #: guix-git/doc/guix.texi:23025
  34011. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  34012. msgstr ""
  34013. #. type: deftypevr
  34014. #: guix-git/doc/guix.texi:23028
  34015. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  34016. msgstr ""
  34017. #. type: deftypevr
  34018. #: guix-git/doc/guix.texi:23030
  34019. #, no-wrap
  34020. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  34021. msgstr ""
  34022. #. type: deftypevr
  34023. #: guix-git/doc/guix.texi:23035
  34024. msgid "Attachments smaller than this aren't saved externally. It's also possible to write a plugin to disable saving specific attachments externally. Defaults to @samp{128000}."
  34025. msgstr ""
  34026. #. type: deftypevr
  34027. #: guix-git/doc/guix.texi:23037
  34028. #, no-wrap
  34029. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  34030. msgstr ""
  34031. #. type: deftypevr
  34032. #: guix-git/doc/guix.texi:23039
  34033. msgid "File system backend to use for saving attachments:"
  34034. msgstr ""
  34035. #. type: item
  34036. #: guix-git/doc/guix.texi:23040
  34037. #, no-wrap
  34038. msgid "posix"
  34039. msgstr ""
  34040. #. type: table
  34041. #: guix-git/doc/guix.texi:23042
  34042. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  34043. msgstr ""
  34044. #. type: item
  34045. #: guix-git/doc/guix.texi:23042
  34046. #, no-wrap
  34047. msgid "sis posix"
  34048. msgstr ""
  34049. #. type: table
  34050. #: guix-git/doc/guix.texi:23044
  34051. msgid "SiS with immediate byte-by-byte comparison during saving"
  34052. msgstr ""
  34053. #. type: item
  34054. #: guix-git/doc/guix.texi:23044
  34055. #, no-wrap
  34056. msgid "sis-queue posix"
  34057. msgstr ""
  34058. #. type: table
  34059. #: guix-git/doc/guix.texi:23046
  34060. msgid "SiS with delayed comparison and deduplication."
  34061. msgstr ""
  34062. #. type: deftypevr
  34063. #: guix-git/doc/guix.texi:23048
  34064. msgid "Defaults to @samp{\"sis posix\"}."
  34065. msgstr ""
  34066. #. type: deftypevr
  34067. #: guix-git/doc/guix.texi:23050
  34068. #, no-wrap
  34069. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  34070. msgstr ""
  34071. #. type: deftypevr
  34072. #: guix-git/doc/guix.texi:23056
  34073. msgid "Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{\"%@{sha1@}\"}."
  34074. msgstr ""
  34075. #. type: deftypevr
  34076. #: guix-git/doc/guix.texi:23058
  34077. #, no-wrap
  34078. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  34079. msgstr ""
  34080. #. type: deftypevr
  34081. #: guix-git/doc/guix.texi:23063
  34082. #, no-wrap
  34083. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  34084. msgstr ""
  34085. #. type: deftypevr
  34086. #: guix-git/doc/guix.texi:23066 guix-git/doc/guix.texi:30632
  34087. msgid "Defaults to @samp{1000}."
  34088. msgstr ""
  34089. #. type: deftypevr
  34090. #: guix-git/doc/guix.texi:23068
  34091. #, no-wrap
  34092. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  34093. msgstr ""
  34094. #. type: deftypevr
  34095. #: guix-git/doc/guix.texi:23073
  34096. msgid "Default VSZ (virtual memory size) limit for service processes. This is mainly intended to catch and kill processes that leak memory before they eat up everything. Defaults to @samp{256000000}."
  34097. msgstr ""
  34098. #. type: deftypevr
  34099. #: guix-git/doc/guix.texi:23075
  34100. #, no-wrap
  34101. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  34102. msgstr ""
  34103. #. type: deftypevr
  34104. #: guix-git/doc/guix.texi:23080
  34105. msgid "Login user is internally used by login processes. This is the most untrusted user in Dovecot system. It shouldn't have access to anything at all. Defaults to @samp{\"dovenull\"}."
  34106. msgstr ""
  34107. #. type: deftypevr
  34108. #: guix-git/doc/guix.texi:23082
  34109. #, no-wrap
  34110. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  34111. msgstr ""
  34112. #. type: deftypevr
  34113. #: guix-git/doc/guix.texi:23087
  34114. msgid "Internal user is used by unprivileged processes. It should be separate from login user, so that login processes can't disturb other processes. Defaults to @samp{\"dovecot\"}."
  34115. msgstr ""
  34116. #. type: deftypevr
  34117. #: guix-git/doc/guix.texi:23089
  34118. #, no-wrap
  34119. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  34120. msgstr ""
  34121. #. type: deftypevr
  34122. #: guix-git/doc/guix.texi:23092
  34123. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  34124. msgstr ""
  34125. #. type: deftypevr
  34126. #: guix-git/doc/guix.texi:23094
  34127. #, no-wrap
  34128. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  34129. msgstr ""
  34130. #. type: deftypevr
  34131. #: guix-git/doc/guix.texi:23097
  34132. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  34133. msgstr ""
  34134. #. type: deftypevr
  34135. #: guix-git/doc/guix.texi:23099
  34136. #, no-wrap
  34137. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  34138. msgstr ""
  34139. #. type: deftypevr
  34140. #: guix-git/doc/guix.texi:23104
  34141. msgid "PEM encoded SSL/TLS private key. The key is opened before dropping root privileges, so keep the key file unreadable by anyone but root. Defaults to @samp{\"</etc/dovecot/private/default.pem\"}."
  34142. msgstr ""
  34143. #. type: deftypevr
  34144. #: guix-git/doc/guix.texi:23106
  34145. #, no-wrap
  34146. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  34147. msgstr ""
  34148. #. type: deftypevr
  34149. #: guix-git/doc/guix.texi:23112
  34150. msgid "If key file is password protected, give the password here. Alternatively give it when starting dovecot with -p parameter. Since this file is often world-readable, you may want to place this setting instead to a different. Defaults to @samp{\"\"}."
  34151. msgstr ""
  34152. #. type: deftypevr
  34153. #: guix-git/doc/guix.texi:23114
  34154. #, no-wrap
  34155. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  34156. msgstr ""
  34157. #. type: deftypevr
  34158. #: guix-git/doc/guix.texi:23120
  34159. msgid "PEM encoded trusted certificate authority. Set this only if you intend to use @samp{ssl-verify-client-cert? #t}. The file should contain the CA certificate(s) followed by the matching CRL(s). (e.g.@: @samp{ssl-ca </etc/ssl/certs/ca.pem}). Defaults to @samp{\"\"}."
  34160. msgstr ""
  34161. #. type: deftypevr
  34162. #: guix-git/doc/guix.texi:23122
  34163. #, no-wrap
  34164. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  34165. msgstr ""
  34166. #. type: deftypevr
  34167. #: guix-git/doc/guix.texi:23125
  34168. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  34169. msgstr ""
  34170. #. type: deftypevr
  34171. #: guix-git/doc/guix.texi:23127
  34172. #, no-wrap
  34173. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  34174. msgstr ""
  34175. #. type: deftypevr
  34176. #: guix-git/doc/guix.texi:23131
  34177. msgid "Request client to send a certificate. If you also want to require it, set @samp{auth-ssl-require-client-cert? #t} in auth section. Defaults to @samp{#f}."
  34178. msgstr ""
  34179. #. type: deftypevr
  34180. #: guix-git/doc/guix.texi:23133
  34181. #, no-wrap
  34182. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  34183. msgstr ""
  34184. #. type: deftypevr
  34185. #: guix-git/doc/guix.texi:23138
  34186. msgid "Which field from certificate to use for username. commonName and x500UniqueIdentifier are the usual choices. You'll also need to set @samp{auth-ssl-username-from-cert? #t}. Defaults to @samp{\"commonName\"}."
  34187. msgstr ""
  34188. #. type: deftypevr
  34189. #: guix-git/doc/guix.texi:23140
  34190. #, no-wrap
  34191. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  34192. msgstr ""
  34193. #. type: deftypevr
  34194. #: guix-git/doc/guix.texi:23143
  34195. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  34196. msgstr ""
  34197. #. type: deftypevr
  34198. #: guix-git/doc/guix.texi:23145
  34199. #, no-wrap
  34200. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  34201. msgstr ""
  34202. #. type: deftypevr
  34203. #: guix-git/doc/guix.texi:23148
  34204. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  34205. msgstr ""
  34206. #. type: deftypevr
  34207. #: guix-git/doc/guix.texi:23150
  34208. #, no-wrap
  34209. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  34210. msgstr ""
  34211. #. type: deftypevr
  34212. #: guix-git/doc/guix.texi:23153
  34213. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  34214. msgstr ""
  34215. #. type: deftypevr
  34216. #: guix-git/doc/guix.texi:23155
  34217. #, no-wrap
  34218. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  34219. msgstr ""
  34220. #. type: deftypevr
  34221. #: guix-git/doc/guix.texi:23159
  34222. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  34223. msgstr ""
  34224. #. type: deftypevr
  34225. #: guix-git/doc/guix.texi:23161
  34226. #, no-wrap
  34227. msgid "{@code{dovecot-configuration} parameter} string hostname"
  34228. msgstr ""
  34229. #. type: deftypevr
  34230. #: guix-git/doc/guix.texi:23165
  34231. msgid "Hostname to use in various parts of sent mails (e.g.@: in Message-Id) and in LMTP replies. Default is the system's real hostname@@domain. Defaults to @samp{\"\"}."
  34232. msgstr ""
  34233. #. type: deftypevr
  34234. #: guix-git/doc/guix.texi:23167
  34235. #, no-wrap
  34236. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  34237. msgstr ""
  34238. #. type: deftypevr
  34239. #: guix-git/doc/guix.texi:23171
  34240. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  34241. msgstr ""
  34242. #. type: deftypevr
  34243. #: guix-git/doc/guix.texi:23173
  34244. #, no-wrap
  34245. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  34246. msgstr ""
  34247. #. type: deftypevr
  34248. #: guix-git/doc/guix.texi:23176
  34249. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  34250. msgstr ""
  34251. #. type: deftypevr
  34252. #: guix-git/doc/guix.texi:23178
  34253. #, no-wrap
  34254. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  34255. msgstr ""
  34256. #. type: deftypevr
  34257. #: guix-git/doc/guix.texi:23182
  34258. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  34259. msgstr ""
  34260. #. type: deftypevr
  34261. #: guix-git/doc/guix.texi:23184
  34262. #, no-wrap
  34263. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  34264. msgstr ""
  34265. #. type: deftypevr
  34266. #: guix-git/doc/guix.texi:23188
  34267. msgid "Subject: header to use for rejection mails. You can use the same variables as for @samp{rejection-reason} below. Defaults to @samp{\"Rejected: %s\"}."
  34268. msgstr ""
  34269. #. type: deftypevr
  34270. #: guix-git/doc/guix.texi:23190
  34271. #, no-wrap
  34272. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  34273. msgstr ""
  34274. #. type: deftypevr
  34275. #: guix-git/doc/guix.texi:23193
  34276. msgid "Human readable error message for rejection mails. You can use variables:"
  34277. msgstr ""
  34278. #. type: table
  34279. #: guix-git/doc/guix.texi:23197
  34280. msgid "CRLF"
  34281. msgstr ""
  34282. #. type: item
  34283. #: guix-git/doc/guix.texi:23197
  34284. #, no-wrap
  34285. msgid "%r"
  34286. msgstr ""
  34287. #. type: table
  34288. #: guix-git/doc/guix.texi:23199
  34289. msgid "reason"
  34290. msgstr ""
  34291. #. type: table
  34292. #: guix-git/doc/guix.texi:23201
  34293. msgid "original subject"
  34294. msgstr ""
  34295. #. type: item
  34296. #: guix-git/doc/guix.texi:23201
  34297. #, no-wrap
  34298. msgid "%t"
  34299. msgstr ""
  34300. #. type: table
  34301. #: guix-git/doc/guix.texi:23203
  34302. msgid "recipient"
  34303. msgstr "príjemca"
  34304. #. type: deftypevr
  34305. #: guix-git/doc/guix.texi:23205
  34306. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  34307. msgstr ""
  34308. #. type: deftypevr
  34309. #: guix-git/doc/guix.texi:23207
  34310. #, no-wrap
  34311. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  34312. msgstr ""
  34313. #. type: deftypevr
  34314. #: guix-git/doc/guix.texi:23211
  34315. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  34316. msgstr ""
  34317. #. type: deftypevr
  34318. #: guix-git/doc/guix.texi:23213
  34319. #, no-wrap
  34320. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  34321. msgstr ""
  34322. #. type: deftypevr
  34323. #: guix-git/doc/guix.texi:23219
  34324. msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}."
  34325. msgstr ""
  34326. #. type: deftypevr
  34327. #: guix-git/doc/guix.texi:23221
  34328. #, no-wrap
  34329. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  34330. msgstr ""
  34331. #. type: deftypevr
  34332. #: guix-git/doc/guix.texi:23225
  34333. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  34334. msgstr ""
  34335. #. type: deftypevr
  34336. #: guix-git/doc/guix.texi:23227
  34337. #, no-wrap
  34338. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  34339. msgstr ""
  34340. #. type: deftypevr
  34341. #: guix-git/doc/guix.texi:23231
  34342. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  34343. msgstr ""
  34344. #. type: deftypevr
  34345. #: guix-git/doc/guix.texi:23233
  34346. #, no-wrap
  34347. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  34348. msgstr ""
  34349. #. type: deftypevr
  34350. #: guix-git/doc/guix.texi:23239
  34351. msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}."
  34352. msgstr ""
  34353. #. type: deftypevr
  34354. #: guix-git/doc/guix.texi:23241
  34355. #, no-wrap
  34356. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  34357. msgstr ""
  34358. #. type: deftypevr
  34359. #: guix-git/doc/guix.texi:23243
  34360. msgid "IMAP logout format string:"
  34361. msgstr ""
  34362. #. type: item
  34363. #: guix-git/doc/guix.texi:23244
  34364. #, no-wrap
  34365. msgid "%i"
  34366. msgstr ""
  34367. #. type: table
  34368. #: guix-git/doc/guix.texi:23246
  34369. msgid "total number of bytes read from client"
  34370. msgstr ""
  34371. #. type: item
  34372. #: guix-git/doc/guix.texi:23246
  34373. #, no-wrap
  34374. msgid "%o"
  34375. msgstr ""
  34376. #. type: table
  34377. #: guix-git/doc/guix.texi:23248
  34378. msgid "total number of bytes sent to client."
  34379. msgstr ""
  34380. #. type: deftypevr
  34381. #: guix-git/doc/guix.texi:23251
  34382. msgid "See @file{doc/wiki/Variables.txt} for a list of all the variables you can use. Defaults to @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}."
  34383. msgstr ""
  34384. #. type: deftypevr
  34385. #: guix-git/doc/guix.texi:23253
  34386. #, no-wrap
  34387. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  34388. msgstr ""
  34389. #. type: deftypevr
  34390. #: guix-git/doc/guix.texi:23257
  34391. msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults to @samp{\"\"}."
  34392. msgstr ""
  34393. #. type: deftypevr
  34394. #: guix-git/doc/guix.texi:23259
  34395. #, no-wrap
  34396. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  34397. msgstr ""
  34398. #. type: deftypevr
  34399. #: guix-git/doc/guix.texi:23263
  34400. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  34401. msgstr ""
  34402. #. type: deftypevr
  34403. #: guix-git/doc/guix.texi:23265
  34404. #, no-wrap
  34405. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  34406. msgstr ""
  34407. #. type: deftypevr
  34408. #: guix-git/doc/guix.texi:23271
  34409. msgid "ID field names and values to send to clients. Using * as the value makes Dovecot use the default value. The following fields have default values currently: name, version, os, os-version, support-url, support-email. Defaults to @samp{\"\"}."
  34410. msgstr ""
  34411. #. type: deftypevr
  34412. #: guix-git/doc/guix.texi:23273
  34413. #, no-wrap
  34414. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  34415. msgstr ""
  34416. #. type: deftypevr
  34417. #: guix-git/doc/guix.texi:23276
  34418. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  34419. msgstr ""
  34420. #. type: deftypevr
  34421. #: guix-git/doc/guix.texi:23278
  34422. #, no-wrap
  34423. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  34424. msgstr ""
  34425. #. type: deftypevr
  34426. #: guix-git/doc/guix.texi:23280
  34427. msgid "Workarounds for various client bugs:"
  34428. msgstr ""
  34429. #. type: item
  34430. #: guix-git/doc/guix.texi:23282
  34431. #, no-wrap
  34432. msgid "delay-newmail"
  34433. msgstr ""
  34434. #. type: table
  34435. #: guix-git/doc/guix.texi:23289
  34436. msgid "Send EXISTS/RECENT new mail notifications only when replying to NOOP and CHECK commands. Some clients ignore them otherwise, for example OSX Mail (<v2.1). Outlook Express breaks more badly though, without this it may show user \"Message no longer in server\" errors. Note that OE6 still breaks even with this workaround if synchronization is set to \"Headers Only\"."
  34437. msgstr ""
  34438. #. type: item
  34439. #: guix-git/doc/guix.texi:23290
  34440. #, no-wrap
  34441. msgid "tb-extra-mailbox-sep"
  34442. msgstr ""
  34443. #. type: table
  34444. #: guix-git/doc/guix.texi:23294
  34445. msgid "Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and adds extra @samp{/} suffixes to mailbox names. This option causes Dovecot to ignore the extra @samp{/} instead of treating it as invalid mailbox name."
  34446. msgstr ""
  34447. #. type: item
  34448. #: guix-git/doc/guix.texi:23295
  34449. #, no-wrap
  34450. msgid "tb-lsub-flags"
  34451. msgstr ""
  34452. #. type: table
  34453. #: guix-git/doc/guix.texi:23299
  34454. msgid "Show \\Noselect flags for LSUB replies with LAYOUT=fs (e.g.@: mbox). This makes Thunderbird realize they aren't selectable and show them greyed out, instead of only later giving \"not selectable\" popup error."
  34455. msgstr ""
  34456. #. type: deftypevr
  34457. #: guix-git/doc/guix.texi:23303
  34458. #, no-wrap
  34459. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  34460. msgstr ""
  34461. #. type: deftypevr
  34462. #: guix-git/doc/guix.texi:23306
  34463. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  34464. msgstr ""
  34465. #. type: Plain text
  34466. #: guix-git/doc/guix.texi:23314
  34467. msgid "Whew! Lots of configuration options. The nice thing about it though is that Guix has a complete interface to Dovecot's configuration language. This allows not only a nice way to declare configurations, but also offers reflective capabilities as well: users can write code to inspect and transform configurations from within Scheme."
  34468. msgstr ""
  34469. #. type: Plain text
  34470. #: guix-git/doc/guix.texi:23320
  34471. msgid "However, it could be that you just want to get a @code{dovecot.conf} up and running. In that case, you can pass an @code{opaque-dovecot-configuration} as the @code{#:config} parameter to @code{dovecot-service}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  34472. msgstr ""
  34473. #. type: Plain text
  34474. #: guix-git/doc/guix.texi:23322
  34475. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  34476. msgstr ""
  34477. #. type: deftypevr
  34478. #: guix-git/doc/guix.texi:23323
  34479. #, no-wrap
  34480. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  34481. msgstr ""
  34482. #. type: deftypevr
  34483. #: guix-git/doc/guix.texi:23327
  34484. #, no-wrap
  34485. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  34486. msgstr ""
  34487. #. type: deftypevr
  34488. #: guix-git/doc/guix.texi:23329
  34489. msgid "The contents of the @code{dovecot.conf}, as a string."
  34490. msgstr ""
  34491. #. type: Plain text
  34492. #: guix-git/doc/guix.texi:23333
  34493. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  34494. msgstr ""
  34495. #. type: lisp
  34496. #: guix-git/doc/guix.texi:23338
  34497. #, no-wrap
  34498. msgid ""
  34499. "(dovecot-service #:config\n"
  34500. " (opaque-dovecot-configuration\n"
  34501. " (string \"\")))\n"
  34502. msgstr ""
  34503. #. type: subsubheading
  34504. #: guix-git/doc/guix.texi:23340
  34505. #, no-wrap
  34506. msgid "OpenSMTPD Service"
  34507. msgstr ""
  34508. #. type: deffn
  34509. #: guix-git/doc/guix.texi:23342
  34510. #, no-wrap
  34511. msgid "{Scheme Variable} opensmtpd-service-type"
  34512. msgstr ""
  34513. #. type: deffn
  34514. #: guix-git/doc/guix.texi:23346
  34515. msgid "This is the type of the @uref{https://www.opensmtpd.org, OpenSMTPD} service, whose value should be an @code{opensmtpd-configuration} object as in this example:"
  34516. msgstr ""
  34517. #. type: lisp
  34518. #: guix-git/doc/guix.texi:23351
  34519. #, no-wrap
  34520. msgid ""
  34521. "(service opensmtpd-service-type\n"
  34522. " (opensmtpd-configuration\n"
  34523. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  34524. msgstr ""
  34525. #. type: deftp
  34526. #: guix-git/doc/guix.texi:23354
  34527. #, no-wrap
  34528. msgid "{Data Type} opensmtpd-configuration"
  34529. msgstr ""
  34530. #. type: deftp
  34531. #: guix-git/doc/guix.texi:23356
  34532. msgid "Data type representing the configuration of opensmtpd."
  34533. msgstr ""
  34534. #. type: item
  34535. #: guix-git/doc/guix.texi:23358
  34536. #, no-wrap
  34537. msgid "@code{package} (default: @var{opensmtpd})"
  34538. msgstr ""
  34539. #. type: table
  34540. #: guix-git/doc/guix.texi:23360
  34541. msgid "Package object of the OpenSMTPD SMTP server."
  34542. msgstr ""
  34543. #. type: item
  34544. #: guix-git/doc/guix.texi:23361
  34545. #, no-wrap
  34546. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  34547. msgstr ""
  34548. #. type: table
  34549. #: guix-git/doc/guix.texi:23366
  34550. msgid "File-like object of the OpenSMTPD configuration file to use. By default it listens on the loopback network interface, and allows for mail from users and daemons on the local machine, as well as permitting email to remote servers. Run @command{man smtpd.conf} for more information."
  34551. msgstr ""
  34552. #. type: subsubheading
  34553. #: guix-git/doc/guix.texi:23370
  34554. #, no-wrap
  34555. msgid "Exim Service"
  34556. msgstr "Služba Exim"
  34557. #. type: cindex
  34558. #: guix-git/doc/guix.texi:23372
  34559. #, no-wrap
  34560. msgid "mail transfer agent (MTA)"
  34561. msgstr ""
  34562. #. type: cindex
  34563. #: guix-git/doc/guix.texi:23373
  34564. #, no-wrap
  34565. msgid "MTA (mail transfer agent)"
  34566. msgstr ""
  34567. #. type: cindex
  34568. #: guix-git/doc/guix.texi:23374
  34569. #, no-wrap
  34570. msgid "SMTP"
  34571. msgstr ""
  34572. #. type: deffn
  34573. #: guix-git/doc/guix.texi:23376
  34574. #, no-wrap
  34575. msgid "{Scheme Variable} exim-service-type"
  34576. msgstr ""
  34577. #. type: deffn
  34578. #: guix-git/doc/guix.texi:23380
  34579. msgid "This is the type of the @uref{https://exim.org, Exim} mail transfer agent (MTA), whose value should be an @code{exim-configuration} object as in this example:"
  34580. msgstr ""
  34581. #. type: lisp
  34582. #: guix-git/doc/guix.texi:23385
  34583. #, no-wrap
  34584. msgid ""
  34585. "(service exim-service-type\n"
  34586. " (exim-configuration\n"
  34587. " (config-file (local-file \"./my-exim.conf\"))))\n"
  34588. msgstr ""
  34589. #. type: Plain text
  34590. #: guix-git/doc/guix.texi:23391
  34591. msgid "In order to use an @code{exim-service-type} service you must also have a @code{mail-aliases-service-type} service present in your @code{operating-system} (even if it has no aliases)."
  34592. msgstr ""
  34593. #. type: deftp
  34594. #: guix-git/doc/guix.texi:23392
  34595. #, no-wrap
  34596. msgid "{Data Type} exim-configuration"
  34597. msgstr ""
  34598. #. type: deftp
  34599. #: guix-git/doc/guix.texi:23394
  34600. msgid "Data type representing the configuration of exim."
  34601. msgstr ""
  34602. #. type: item
  34603. #: guix-git/doc/guix.texi:23396
  34604. #, no-wrap
  34605. msgid "@code{package} (default: @var{exim})"
  34606. msgstr ""
  34607. #. type: table
  34608. #: guix-git/doc/guix.texi:23398
  34609. msgid "Package object of the Exim server."
  34610. msgstr ""
  34611. #. type: table
  34612. #: guix-git/doc/guix.texi:23405
  34613. msgid "File-like object of the Exim configuration file to use. If its value is @code{#f} then use the default configuration file from the package provided in @code{package}. The resulting configuration file is loaded after setting the @code{exim_user} and @code{exim_group} configuration variables."
  34614. msgstr ""
  34615. #. type: subsubheading
  34616. #: guix-git/doc/guix.texi:23409
  34617. #, no-wrap
  34618. msgid "Getmail service"
  34619. msgstr ""
  34620. #. type: cindex
  34621. #: guix-git/doc/guix.texi:23411
  34622. #, no-wrap
  34623. msgid "IMAP"
  34624. msgstr ""
  34625. #. type: cindex
  34626. #: guix-git/doc/guix.texi:23412
  34627. #, no-wrap
  34628. msgid "POP"
  34629. msgstr ""
  34630. #. type: deffn
  34631. #: guix-git/doc/guix.texi:23414
  34632. #, no-wrap
  34633. msgid "{Scheme Variable} getmail-service-type"
  34634. msgstr ""
  34635. #. type: deffn
  34636. #: guix-git/doc/guix.texi:23417
  34637. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  34638. msgstr ""
  34639. #. type: Plain text
  34640. #: guix-git/doc/guix.texi:23420
  34641. msgid "Available @code{getmail-configuration} fields are:"
  34642. msgstr ""
  34643. #. type: deftypevr
  34644. #: guix-git/doc/guix.texi:23421
  34645. #, no-wrap
  34646. msgid "{@code{getmail-configuration} parameter} symbol name"
  34647. msgstr ""
  34648. #. type: deftypevr
  34649. #: guix-git/doc/guix.texi:23423
  34650. msgid "A symbol to identify the getmail service."
  34651. msgstr ""
  34652. #. type: deftypevr
  34653. #: guix-git/doc/guix.texi:23425
  34654. msgid "Defaults to @samp{\"unset\"}."
  34655. msgstr ""
  34656. #. type: deftypevr
  34657. #: guix-git/doc/guix.texi:23428
  34658. #, no-wrap
  34659. msgid "{@code{getmail-configuration} parameter} package package"
  34660. msgstr ""
  34661. #. type: deftypevr
  34662. #: guix-git/doc/guix.texi:23430
  34663. msgid "The getmail package to use."
  34664. msgstr ""
  34665. #. type: deftypevr
  34666. #: guix-git/doc/guix.texi:23433
  34667. #, no-wrap
  34668. msgid "{@code{getmail-configuration} parameter} string user"
  34669. msgstr ""
  34670. #. type: deftypevr
  34671. #: guix-git/doc/guix.texi:23435
  34672. msgid "The user to run getmail as."
  34673. msgstr ""
  34674. #. type: deftypevr
  34675. #: guix-git/doc/guix.texi:23437 guix-git/doc/guix.texi:23444
  34676. msgid "Defaults to @samp{\"getmail\"}."
  34677. msgstr ""
  34678. #. type: deftypevr
  34679. #: guix-git/doc/guix.texi:23440
  34680. #, no-wrap
  34681. msgid "{@code{getmail-configuration} parameter} string group"
  34682. msgstr ""
  34683. #. type: deftypevr
  34684. #: guix-git/doc/guix.texi:23442
  34685. msgid "The group to run getmail as."
  34686. msgstr ""
  34687. #. type: deftypevr
  34688. #: guix-git/doc/guix.texi:23447
  34689. #, no-wrap
  34690. msgid "{@code{getmail-configuration} parameter} string directory"
  34691. msgstr ""
  34692. #. type: deftypevr
  34693. #: guix-git/doc/guix.texi:23449
  34694. msgid "The getmail directory to use."
  34695. msgstr ""
  34696. #. type: deftypevr
  34697. #: guix-git/doc/guix.texi:23451
  34698. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  34699. msgstr ""
  34700. #. type: deftypevr
  34701. #: guix-git/doc/guix.texi:23454
  34702. #, no-wrap
  34703. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34704. msgstr ""
  34705. #. type: deftypevr
  34706. #: guix-git/doc/guix.texi:23456
  34707. msgid "The getmail configuration file to use."
  34708. msgstr ""
  34709. #. type: deftypevr
  34710. #: guix-git/doc/guix.texi:23458
  34711. msgid "Available @code{getmail-configuration-file} fields are:"
  34712. msgstr ""
  34713. #. type: deftypevr
  34714. #: guix-git/doc/guix.texi:23459
  34715. #, no-wrap
  34716. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34717. msgstr ""
  34718. #. type: deftypevr
  34719. #: guix-git/doc/guix.texi:23461
  34720. msgid "What mail account to retrieve mail from, and how to access that account."
  34721. msgstr ""
  34722. #. type: deftypevr
  34723. #: guix-git/doc/guix.texi:23463
  34724. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34725. msgstr ""
  34726. #. type: deftypevr
  34727. #: guix-git/doc/guix.texi:23464
  34728. #, no-wrap
  34729. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  34730. msgstr ""
  34731. #. type: deftypevr
  34732. #: guix-git/doc/guix.texi:23467
  34733. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34734. msgstr ""
  34735. #. type: deftypevr
  34736. #: guix-git/doc/guix.texi:23469
  34737. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34738. msgstr ""
  34739. #. type: deftypevr
  34740. #: guix-git/doc/guix.texi:23472
  34741. #, no-wrap
  34742. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34743. msgstr ""
  34744. #. type: deftypevr
  34745. #: guix-git/doc/guix.texi:23474 guix-git/doc/guix.texi:23481
  34746. msgid "Username to login to the mail server with."
  34747. msgstr ""
  34748. #. type: deftypevr
  34749. #: guix-git/doc/guix.texi:23476 guix-git/doc/guix.texi:23483
  34750. #: guix-git/doc/guix.texi:23547
  34751. msgid "Defaults to @samp{unset}."
  34752. msgstr ""
  34753. #. type: deftypevr
  34754. #: guix-git/doc/guix.texi:23479
  34755. #, no-wrap
  34756. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34757. msgstr ""
  34758. #. type: deftypevr
  34759. #: guix-git/doc/guix.texi:23486
  34760. #, no-wrap
  34761. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34762. msgstr ""
  34763. #. type: deftypevr
  34764. #: guix-git/doc/guix.texi:23488
  34765. msgid "Port number to connect to."
  34766. msgstr ""
  34767. #. type: deftypevr
  34768. #: guix-git/doc/guix.texi:23493
  34769. #, no-wrap
  34770. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34771. msgstr ""
  34772. #. type: deftypevr
  34773. #: guix-git/doc/guix.texi:23495 guix-git/doc/guix.texi:23502
  34774. msgid "Override fields from passwd."
  34775. msgstr ""
  34776. #. type: deftypevr
  34777. #: guix-git/doc/guix.texi:23500
  34778. #, no-wrap
  34779. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34780. msgstr ""
  34781. #. type: deftypevr
  34782. #: guix-git/doc/guix.texi:23507
  34783. #, no-wrap
  34784. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34785. msgstr ""
  34786. #. type: deftypevr
  34787. #: guix-git/doc/guix.texi:23509
  34788. msgid "PEM-formatted key file to use for the TLS negotiation."
  34789. msgstr ""
  34790. #. type: deftypevr
  34791. #: guix-git/doc/guix.texi:23514
  34792. #, no-wrap
  34793. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34794. msgstr ""
  34795. #. type: deftypevr
  34796. #: guix-git/doc/guix.texi:23516
  34797. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34798. msgstr ""
  34799. #. type: deftypevr
  34800. #: guix-git/doc/guix.texi:23521
  34801. #, no-wrap
  34802. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34803. msgstr ""
  34804. #. type: deftypevr
  34805. #: guix-git/doc/guix.texi:23523
  34806. msgid "CA certificates to use."
  34807. msgstr ""
  34808. #. type: deftypevr
  34809. #: guix-git/doc/guix.texi:23528
  34810. #, no-wrap
  34811. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34812. msgstr ""
  34813. #. type: deftypevr
  34814. #: guix-git/doc/guix.texi:23530
  34815. msgid "Extra retriever parameters."
  34816. msgstr ""
  34817. #. type: deftypevr
  34818. #: guix-git/doc/guix.texi:23537
  34819. #, no-wrap
  34820. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34821. msgstr ""
  34822. #. type: deftypevr
  34823. #: guix-git/doc/guix.texi:23539
  34824. msgid "What to do with retrieved messages."
  34825. msgstr ""
  34826. #. type: deftypevr
  34827. #: guix-git/doc/guix.texi:23541
  34828. msgid "Available @code{getmail-destination-configuration} fields are:"
  34829. msgstr ""
  34830. #. type: deftypevr
  34831. #: guix-git/doc/guix.texi:23542
  34832. #, no-wrap
  34833. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34834. msgstr ""
  34835. #. type: deftypevr
  34836. #: guix-git/doc/guix.texi:23545
  34837. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34838. msgstr ""
  34839. #. type: deftypevr
  34840. #: guix-git/doc/guix.texi:23550
  34841. #, no-wrap
  34842. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34843. msgstr ""
  34844. #. type: deftypevr
  34845. #: guix-git/doc/guix.texi:23553
  34846. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34847. msgstr ""
  34848. #. type: deftypevr
  34849. #: guix-git/doc/guix.texi:23558
  34850. #, no-wrap
  34851. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34852. msgstr ""
  34853. #. type: deftypevr
  34854. #: guix-git/doc/guix.texi:23560
  34855. msgid "Extra destination parameters"
  34856. msgstr ""
  34857. #. type: deftypevr
  34858. #: guix-git/doc/guix.texi:23567
  34859. #, no-wrap
  34860. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34861. msgstr ""
  34862. #. type: deftypevr
  34863. #: guix-git/doc/guix.texi:23569
  34864. msgid "Configure getmail."
  34865. msgstr ""
  34866. #. type: deftypevr
  34867. #: guix-git/doc/guix.texi:23571
  34868. msgid "Available @code{getmail-options-configuration} fields are:"
  34869. msgstr ""
  34870. #. type: deftypevr
  34871. #: guix-git/doc/guix.texi:23572
  34872. #, no-wrap
  34873. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34874. msgstr ""
  34875. #. type: deftypevr
  34876. #: guix-git/doc/guix.texi:23577
  34877. msgid "If set to @samp{0}, getmail will only print warnings and errors. A value of @samp{1} means that messages will be printed about retrieving and deleting messages. If set to @samp{2}, getmail will print messages about each of its actions."
  34878. msgstr ""
  34879. #. type: deftypevr
  34880. #: guix-git/doc/guix.texi:23579 guix-git/doc/guix.texi:30102
  34881. #: guix-git/doc/guix.texi:30690 guix-git/doc/guix.texi:30835
  34882. msgid "Defaults to @samp{1}."
  34883. msgstr ""
  34884. #. type: deftypevr
  34885. #: guix-git/doc/guix.texi:23582
  34886. #, no-wrap
  34887. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34888. msgstr ""
  34889. #. type: deftypevr
  34890. #: guix-git/doc/guix.texi:23585
  34891. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34892. msgstr ""
  34893. #. type: deftypevr
  34894. #: guix-git/doc/guix.texi:23590
  34895. #, no-wrap
  34896. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34897. msgstr ""
  34898. #. type: deftypevr
  34899. #: guix-git/doc/guix.texi:23594
  34900. msgid "If set to true, messages will be deleted from the server after retrieving and successfully delivering them. Otherwise, messages will be left on the server."
  34901. msgstr ""
  34902. #. type: deftypevr
  34903. #: guix-git/doc/guix.texi:23599
  34904. #, no-wrap
  34905. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34906. msgstr ""
  34907. #. type: deftypevr
  34908. #: guix-git/doc/guix.texi:23604
  34909. msgid "Getmail will delete messages this number of days after seeing them, if they have been delivered. This means messages will be left on the server this number of days after delivering them. A value of @samp{0} disabled this feature."
  34910. msgstr ""
  34911. #. type: deftypevr
  34912. #: guix-git/doc/guix.texi:23609
  34913. #, no-wrap
  34914. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34915. msgstr ""
  34916. #. type: deftypevr
  34917. #: guix-git/doc/guix.texi:23613
  34918. msgid "Delete messages larger than this of bytes after retrieving them, even if the delete and delete-after options are disabled. A value of @samp{0} disables this feature."
  34919. msgstr ""
  34920. #. type: deftypevr
  34921. #: guix-git/doc/guix.texi:23618
  34922. #, no-wrap
  34923. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34924. msgstr ""
  34925. #. type: deftypevr
  34926. #: guix-git/doc/guix.texi:23621
  34927. msgid "Retrieve messages totalling up to this number of bytes before closing the session with the server. A value of @samp{0} disables this feature."
  34928. msgstr ""
  34929. #. type: deftypevr
  34930. #: guix-git/doc/guix.texi:23626
  34931. #, no-wrap
  34932. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34933. msgstr ""
  34934. #. type: deftypevr
  34935. #: guix-git/doc/guix.texi:23629
  34936. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34937. msgstr ""
  34938. #. type: deftypevr
  34939. #: guix-git/doc/guix.texi:23634
  34940. #, no-wrap
  34941. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34942. msgstr ""
  34943. #. type: deftypevr
  34944. #: guix-git/doc/guix.texi:23636
  34945. msgid "If true, getmail will add a Delivered-To header to messages."
  34946. msgstr ""
  34947. #. type: deftypevr
  34948. #: guix-git/doc/guix.texi:23641
  34949. #, no-wrap
  34950. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34951. msgstr ""
  34952. #. type: deftypevr
  34953. #: guix-git/doc/guix.texi:23643
  34954. msgid "If set, getmail adds a Received header to the messages."
  34955. msgstr ""
  34956. #. type: deftypevr
  34957. #: guix-git/doc/guix.texi:23648
  34958. #, no-wrap
  34959. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34960. msgstr ""
  34961. #. type: deftypevr
  34962. #: guix-git/doc/guix.texi:23651
  34963. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34964. msgstr ""
  34965. #. type: deftypevr
  34966. #: guix-git/doc/guix.texi:23656
  34967. #, no-wrap
  34968. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23659
  34972. msgid "If true, getmail will record a log of its actions using the system logger."
  34973. msgstr ""
  34974. #. type: deftypevr
  34975. #: guix-git/doc/guix.texi:23664
  34976. #, no-wrap
  34977. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34978. msgstr ""
  34979. #. type: deftypevr
  34980. #: guix-git/doc/guix.texi:23668
  34981. msgid "If true, getmail will log information about messages not retrieved and the reason for not retrieving them, as well as starting and ending information lines."
  34982. msgstr ""
  34983. #. type: deftypevr
  34984. #: guix-git/doc/guix.texi:23673
  34985. #, no-wrap
  34986. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34987. msgstr ""
  34988. #. type: deftypevr
  34989. #: guix-git/doc/guix.texi:23675
  34990. msgid "Extra options to include."
  34991. msgstr ""
  34992. #. type: deftypevr
  34993. #: guix-git/doc/guix.texi:23684
  34994. #, no-wrap
  34995. msgid "{@code{getmail-configuration} parameter} list idle"
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23688
  34999. msgid "A list of mailboxes that getmail should wait on the server for new mail notifications. This depends on the server supporting the IDLE extension."
  35000. msgstr ""
  35001. #. type: deftypevr
  35002. #: guix-git/doc/guix.texi:23693
  35003. #, no-wrap
  35004. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23695
  35008. msgid "Environment variables to set for getmail."
  35009. msgstr ""
  35010. #. type: subsubheading
  35011. #: guix-git/doc/guix.texi:23700
  35012. #, no-wrap
  35013. msgid "Mail Aliases Service"
  35014. msgstr ""
  35015. #. type: cindex
  35016. #: guix-git/doc/guix.texi:23702
  35017. #, no-wrap
  35018. msgid "email aliases"
  35019. msgstr ""
  35020. #. type: cindex
  35021. #: guix-git/doc/guix.texi:23703
  35022. #, no-wrap
  35023. msgid "aliases, for email addresses"
  35024. msgstr ""
  35025. #. type: deffn
  35026. #: guix-git/doc/guix.texi:23705
  35027. #, no-wrap
  35028. msgid "{Scheme Variable} mail-aliases-service-type"
  35029. msgstr ""
  35030. #. type: deffn
  35031. #: guix-git/doc/guix.texi:23708
  35032. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  35033. msgstr ""
  35034. #. type: lisp
  35035. #: guix-git/doc/guix.texi:23713
  35036. #, no-wrap
  35037. msgid ""
  35038. "(service mail-aliases-service-type\n"
  35039. " '((\"postmaster\" \"bob\")\n"
  35040. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  35041. msgstr ""
  35042. #. type: Plain text
  35043. #: guix-git/doc/guix.texi:23721
  35044. msgid "The configuration for a @code{mail-aliases-service-type} service is an association list denoting how to deliver mail that comes to this system. Each entry is of the form @code{(alias addresses ...)}, with @code{alias} specifying the local alias and @code{addresses} specifying where to deliver this user's mail."
  35045. msgstr ""
  35046. #. type: Plain text
  35047. #: guix-git/doc/guix.texi:23727
  35048. msgid "The aliases aren't required to exist as users on the local system. In the above example, there doesn't need to be a @code{postmaster} entry in the @code{operating-system}'s @code{user-accounts} in order to deliver the @code{postmaster} mail to @code{bob} (which subsequently would deliver mail to @code{bob@@example.com} and @code{bob@@example2.com})."
  35049. msgstr ""
  35050. #. type: cindex
  35051. #: guix-git/doc/guix.texi:23728 guix-git/doc/guix.texi:23729
  35052. #, no-wrap
  35053. msgid "GNU Mailutils IMAP4 Daemon"
  35054. msgstr ""
  35055. #. type: deffn
  35056. #: guix-git/doc/guix.texi:23731
  35057. #, no-wrap
  35058. msgid "{Scheme Variable} imap4d-service-type"
  35059. msgstr ""
  35060. #. type: deffn
  35061. #: guix-git/doc/guix.texi:23735
  35062. msgid "This is the type of the GNU Mailutils IMAP4 Daemon (@pxref{imap4d,,, mailutils, GNU Mailutils Manual}), whose value should be an @code{imap4d-configuration} object as in this example:"
  35063. msgstr ""
  35064. #. type: lisp
  35065. #: guix-git/doc/guix.texi:23740
  35066. #, no-wrap
  35067. msgid ""
  35068. "(service imap4d-service-type\n"
  35069. " (imap4d-configuration\n"
  35070. " (config-file (local-file \"imap4d.conf\"))))\n"
  35071. msgstr ""
  35072. #. type: deftp
  35073. #: guix-git/doc/guix.texi:23743
  35074. #, no-wrap
  35075. msgid "{Data Type} imap4d-configuration"
  35076. msgstr ""
  35077. #. type: deftp
  35078. #: guix-git/doc/guix.texi:23745
  35079. msgid "Data type representing the configuration of @command{imap4d}."
  35080. msgstr ""
  35081. #. type: item
  35082. #: guix-git/doc/guix.texi:23747
  35083. #, no-wrap
  35084. msgid "@code{package} (default: @code{mailutils})"
  35085. msgstr ""
  35086. #. type: table
  35087. #: guix-git/doc/guix.texi:23749
  35088. msgid "The package that provides @command{imap4d}."
  35089. msgstr ""
  35090. #. type: item
  35091. #: guix-git/doc/guix.texi:23750
  35092. #, no-wrap
  35093. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  35094. msgstr ""
  35095. #. type: table
  35096. #: guix-git/doc/guix.texi:23754
  35097. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 143 of @code{localhost}. @xref{Conf-imap4d,,, mailutils, GNU Mailutils Manual}, for details."
  35098. msgstr ""
  35099. #. type: subsubheading
  35100. #: guix-git/doc/guix.texi:23758
  35101. #, no-wrap
  35102. msgid "Radicale Service"
  35103. msgstr ""
  35104. #. type: cindex
  35105. #: guix-git/doc/guix.texi:23759
  35106. #, no-wrap
  35107. msgid "CalDAV"
  35108. msgstr ""
  35109. #. type: cindex
  35110. #: guix-git/doc/guix.texi:23760
  35111. #, no-wrap
  35112. msgid "CardDAV"
  35113. msgstr ""
  35114. #. type: deffn
  35115. #: guix-git/doc/guix.texi:23762
  35116. #, no-wrap
  35117. msgid "{Scheme Variable} radicale-service-type"
  35118. msgstr ""
  35119. #. type: deffn
  35120. #: guix-git/doc/guix.texi:23765
  35121. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  35122. msgstr ""
  35123. #. type: deftp
  35124. #: guix-git/doc/guix.texi:23767
  35125. #, no-wrap
  35126. msgid "{Data Type} radicale-configuration"
  35127. msgstr ""
  35128. #. type: deftp
  35129. #: guix-git/doc/guix.texi:23769
  35130. msgid "Data type representing the configuration of @command{radicale}."
  35131. msgstr ""
  35132. #. type: item
  35133. #: guix-git/doc/guix.texi:23771
  35134. #, no-wrap
  35135. msgid "@code{package} (default: @code{radicale})"
  35136. msgstr ""
  35137. #. type: table
  35138. #: guix-git/doc/guix.texi:23773
  35139. msgid "The package that provides @command{radicale}."
  35140. msgstr ""
  35141. #. type: item
  35142. #: guix-git/doc/guix.texi:23774
  35143. #, no-wrap
  35144. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  35145. msgstr ""
  35146. #. type: table
  35147. #: guix-git/doc/guix.texi:23778
  35148. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 5232 of @code{localhost} and use the @code{htpasswd} file at @file{/var/lib/radicale/users} with no (@code{plain}) encryption."
  35149. msgstr ""
  35150. #. type: cindex
  35151. #: guix-git/doc/guix.texi:23785
  35152. #, no-wrap
  35153. msgid "messaging"
  35154. msgstr ""
  35155. #. type: cindex
  35156. #: guix-git/doc/guix.texi:23786
  35157. #, no-wrap
  35158. msgid "jabber"
  35159. msgstr ""
  35160. #. type: cindex
  35161. #: guix-git/doc/guix.texi:23787
  35162. #, no-wrap
  35163. msgid "XMPP"
  35164. msgstr ""
  35165. #. type: Plain text
  35166. #: guix-git/doc/guix.texi:23791
  35167. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  35168. msgstr ""
  35169. #. type: subsubheading
  35170. #: guix-git/doc/guix.texi:23792
  35171. #, no-wrap
  35172. msgid "Prosody Service"
  35173. msgstr ""
  35174. #. type: deffn
  35175. #: guix-git/doc/guix.texi:23794
  35176. #, no-wrap
  35177. msgid "{Scheme Variable} prosody-service-type"
  35178. msgstr ""
  35179. #. type: deffn
  35180. #: guix-git/doc/guix.texi:23798
  35181. msgid "This is the type for the @uref{https://prosody.im, Prosody XMPP communication server}. Its value must be a @code{prosody-configuration} record as in this example:"
  35182. msgstr ""
  35183. #. type: lisp
  35184. #: guix-git/doc/guix.texi:23813
  35185. #, no-wrap
  35186. msgid ""
  35187. "(service prosody-service-type\n"
  35188. " (prosody-configuration\n"
  35189. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  35190. " (int-components\n"
  35191. " (list\n"
  35192. " (int-component-configuration\n"
  35193. " (hostname \"conference.example.net\")\n"
  35194. " (plugin \"muc\")\n"
  35195. " (mod-muc (mod-muc-configuration)))))\n"
  35196. " (virtualhosts\n"
  35197. " (list\n"
  35198. " (virtualhost-configuration\n"
  35199. " (domain \"example.net\"))))))\n"
  35200. msgstr ""
  35201. #. type: deffn
  35202. #: guix-git/doc/guix.texi:23816
  35203. msgid "See below for details about @code{prosody-configuration}."
  35204. msgstr ""
  35205. #. type: Plain text
  35206. #: guix-git/doc/guix.texi:23822
  35207. msgid "By default, Prosody does not need much configuration. Only one @code{virtualhosts} field is needed: it specifies the domain you wish Prosody to serve."
  35208. msgstr ""
  35209. #. type: Plain text
  35210. #: guix-git/doc/guix.texi:23825
  35211. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  35212. msgstr ""
  35213. #. type: Plain text
  35214. #: guix-git/doc/guix.texi:23829
  35215. msgid "Prosodyctl will also help you to import certificates from the @code{letsencrypt} directory so that the @code{prosody} user can access them. See @url{https://prosody.im/doc/letsencrypt}."
  35216. msgstr ""
  35217. #. type: example
  35218. #: guix-git/doc/guix.texi:23832
  35219. #, no-wrap
  35220. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  35221. msgstr ""
  35222. #. type: Plain text
  35223. #: guix-git/doc/guix.texi:23839
  35224. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. Types starting with @code{maybe-} denote parameters that won't show up in @code{prosody.cfg.lua} when their value is @code{'disabled}."
  35225. msgstr ""
  35226. #. type: Plain text
  35227. #: guix-git/doc/guix.texi:23843
  35228. msgid "There is also a way to specify the configuration as a string, if you have an old @code{prosody.cfg.lua} file that you want to port over from some other system; see the end for more details."
  35229. msgstr ""
  35230. #. type: Plain text
  35231. #: guix-git/doc/guix.texi:23846
  35232. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  35233. msgstr ""
  35234. #. type: Plain text
  35235. #: guix-git/doc/guix.texi:23856
  35236. msgid "Available @code{prosody-configuration} fields are:"
  35237. msgstr ""
  35238. #. type: deftypevr
  35239. #: guix-git/doc/guix.texi:23857
  35240. #, no-wrap
  35241. msgid "{@code{prosody-configuration} parameter} package prosody"
  35242. msgstr ""
  35243. #. type: deftypevr
  35244. #: guix-git/doc/guix.texi:23859
  35245. msgid "The Prosody package."
  35246. msgstr ""
  35247. #. type: deftypevr
  35248. #: guix-git/doc/guix.texi:23861
  35249. #, no-wrap
  35250. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  35251. msgstr ""
  35252. #. type: deftypevr
  35253. #: guix-git/doc/guix.texi:23865
  35254. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  35255. msgstr ""
  35256. #. type: deftypevr
  35257. #: guix-git/doc/guix.texi:23867
  35258. #, no-wrap
  35259. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  35260. msgstr ""
  35261. #. type: deftypevr
  35262. #: guix-git/doc/guix.texi:23871
  35263. msgid "Additional plugin directories. They are searched in all the specified paths in order. See @url{https://prosody.im/doc/plugins_directory}. Defaults to @samp{()}."
  35264. msgstr ""
  35265. #. type: deftypevr
  35266. #: guix-git/doc/guix.texi:23873
  35267. #, no-wrap
  35268. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  35269. msgstr ""
  35270. #. type: deftypevr
  35271. #: guix-git/doc/guix.texi:23878
  35272. msgid "Every virtual host and component needs a certificate so that clients and servers can securely verify its identity. Prosody will automatically load certificates/keys from the directory specified here. Defaults to @samp{\"/etc/prosody/certs\"}."
  35273. msgstr ""
  35274. #. type: deftypevr
  35275. #: guix-git/doc/guix.texi:23880
  35276. #, no-wrap
  35277. msgid "{@code{prosody-configuration} parameter} string-list admins"
  35278. msgstr ""
  35279. #. type: deftypevr
  35280. #: guix-git/doc/guix.texi:23886
  35281. msgid "This is a list of accounts that are admins for the server. Note that you must create the accounts separately. See @url{https://prosody.im/doc/admins} and @url{https://prosody.im/doc/creating_accounts}. Example: @code{(admins '(\"user1@@example.com\" \"user2@@example.net\"))} Defaults to @samp{()}."
  35282. msgstr ""
  35283. #. type: deftypevr
  35284. #: guix-git/doc/guix.texi:23888
  35285. #, no-wrap
  35286. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  35287. msgstr ""
  35288. #. type: deftypevr
  35289. #: guix-git/doc/guix.texi:23892
  35290. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  35291. msgstr ""
  35292. #. type: deftypevr
  35293. #: guix-git/doc/guix.texi:23894
  35294. #, no-wrap
  35295. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  35296. msgstr ""
  35297. #. type: deftypevr
  35298. #: guix-git/doc/guix.texi:23900
  35299. msgid "This is the list of modules Prosody will load on startup. It looks for @code{mod_modulename.lua} in the plugins folder, so make sure that exists too. Documentation on modules can be found at: @url{https://prosody.im/doc/modules}. Defaults to @samp{(\"roster\" \"saslauth\" \"tls\" \"dialback\" \"disco\" \"carbons\" \"private\" \"blocklist\" \"vcard\" \"version\" \"uptime\" \"time\" \"ping\" \"pep\" \"register\" \"admin_adhoc\")}."
  35300. msgstr ""
  35301. #. type: deftypevr
  35302. #: guix-git/doc/guix.texi:23902
  35303. #, no-wrap
  35304. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  35305. msgstr ""
  35306. #. type: deftypevr
  35307. #: guix-git/doc/guix.texi:23906
  35308. msgid "@samp{\"offline\"}, @samp{\"c2s\"} and @samp{\"s2s\"} are auto-loaded, but should you want to disable them then add them to this list. Defaults to @samp{()}."
  35309. msgstr ""
  35310. #. type: deftypevr
  35311. #: guix-git/doc/guix.texi:23908
  35312. #, no-wrap
  35313. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  35314. msgstr ""
  35315. #. type: deftypevr
  35316. #: guix-git/doc/guix.texi:23913
  35317. msgid "Path to a text file where the shared groups are defined. If this path is empty then @samp{mod_groups} does nothing. See @url{https://prosody.im/doc/modules/mod_groups}. Defaults to @samp{\"/var/lib/prosody/sharedgroups.txt\"}."
  35318. msgstr ""
  35319. #. type: deftypevr
  35320. #: guix-git/doc/guix.texi:23915
  35321. #, no-wrap
  35322. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  35323. msgstr ""
  35324. #. type: deftypevr
  35325. #: guix-git/doc/guix.texi:23919
  35326. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  35327. msgstr ""
  35328. #. type: deftypevr
  35329. #: guix-git/doc/guix.texi:23921
  35330. #, no-wrap
  35331. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  35332. msgstr ""
  35333. #. type: deftypevr
  35334. #: guix-git/doc/guix.texi:23926
  35335. msgid "These are the SSL/TLS-related settings. Most of them are disabled so to use Prosody's defaults. If you do not completely understand these options, do not add them to your config, it is easy to lower the security of your server using them. See @url{https://prosody.im/doc/advanced_ssl_config}."
  35336. msgstr ""
  35337. #. type: deftypevr
  35338. #: guix-git/doc/guix.texi:23928
  35339. msgid "Available @code{ssl-configuration} fields are:"
  35340. msgstr ""
  35341. #. type: deftypevr
  35342. #: guix-git/doc/guix.texi:23929
  35343. #, no-wrap
  35344. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  35345. msgstr ""
  35346. #. type: deftypevr
  35347. #: guix-git/doc/guix.texi:23931
  35348. msgid "This determines what handshake to use."
  35349. msgstr ""
  35350. #. type: deftypevr
  35351. #: guix-git/doc/guix.texi:23933
  35352. #, no-wrap
  35353. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  35354. msgstr ""
  35355. #. type: deftypevr
  35356. #: guix-git/doc/guix.texi:23935
  35357. msgid "Path to your private key file."
  35358. msgstr ""
  35359. #. type: deftypevr
  35360. #: guix-git/doc/guix.texi:23937
  35361. #, no-wrap
  35362. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  35363. msgstr ""
  35364. #. type: deftypevr
  35365. #: guix-git/doc/guix.texi:23939
  35366. msgid "Path to your certificate file."
  35367. msgstr ""
  35368. #. type: deftypevr
  35369. #: guix-git/doc/guix.texi:23941
  35370. #, no-wrap
  35371. msgid "{@code{ssl-configuration} parameter} file-object capath"
  35372. msgstr ""
  35373. #. type: deftypevr
  35374. #: guix-git/doc/guix.texi:23945
  35375. msgid "Path to directory containing root certificates that you wish Prosody to trust when verifying the certificates of remote servers. Defaults to @samp{\"/etc/ssl/certs\"}."
  35376. msgstr ""
  35377. #. type: deftypevr
  35378. #: guix-git/doc/guix.texi:23947
  35379. #, no-wrap
  35380. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  35381. msgstr ""
  35382. #. type: deftypevr
  35383. #: guix-git/doc/guix.texi:23950
  35384. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  35385. msgstr ""
  35386. #. type: deftypevr
  35387. #: guix-git/doc/guix.texi:23952
  35388. #, no-wrap
  35389. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  35390. msgstr ""
  35391. #. type: deftypevr
  35392. #: guix-git/doc/guix.texi:23955
  35393. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  35394. msgstr ""
  35395. #. type: deftypevr
  35396. #: guix-git/doc/guix.texi:23957
  35397. #, no-wrap
  35398. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  35399. msgstr ""
  35400. #. type: deftypevr
  35401. #: guix-git/doc/guix.texi:23961
  35402. msgid "A list of general options relating to SSL/TLS@. These map to OpenSSL's @code{set_options()}. For a full list of options available in LuaSec, see the LuaSec source."
  35403. msgstr ""
  35404. #. type: deftypevr
  35405. #: guix-git/doc/guix.texi:23963
  35406. #, no-wrap
  35407. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  35408. msgstr ""
  35409. #. type: deftypevr
  35410. #: guix-git/doc/guix.texi:23966
  35411. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  35412. msgstr ""
  35413. #. type: deftypevr
  35414. #: guix-git/doc/guix.texi:23968
  35415. #, no-wrap
  35416. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  35417. msgstr ""
  35418. #. type: deftypevr
  35419. #: guix-git/doc/guix.texi:23971
  35420. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  35421. msgstr ""
  35422. #. type: deftypevr
  35423. #: guix-git/doc/guix.texi:23973
  35424. #, no-wrap
  35425. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  35426. msgstr ""
  35427. #. type: deftypevr
  35428. #: guix-git/doc/guix.texi:23977
  35429. msgid "A path to a file containing parameters for Diffie-Hellman key exchange. You can create such a file with: @code{openssl dhparam -out /etc/prosody/certs/dh-2048.pem 2048}"
  35430. msgstr ""
  35431. #. type: deftypevr
  35432. #: guix-git/doc/guix.texi:23979
  35433. #, no-wrap
  35434. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  35435. msgstr ""
  35436. #. type: deftypevr
  35437. #: guix-git/doc/guix.texi:23982
  35438. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  35439. msgstr ""
  35440. #. type: deftypevr
  35441. #: guix-git/doc/guix.texi:23984
  35442. #, no-wrap
  35443. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  35444. msgstr ""
  35445. #. type: deftypevr
  35446. #: guix-git/doc/guix.texi:23986
  35447. msgid "A list of ``extra'' verification options."
  35448. msgstr ""
  35449. #. type: deftypevr
  35450. #: guix-git/doc/guix.texi:23988
  35451. #, no-wrap
  35452. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  35453. msgstr ""
  35454. #. type: deftypevr
  35455. #: guix-git/doc/guix.texi:23990
  35456. msgid "Password for encrypted private keys."
  35457. msgstr ""
  35458. #. type: deftypevr
  35459. #: guix-git/doc/guix.texi:23994
  35460. #, no-wrap
  35461. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  35462. msgstr ""
  35463. #. type: deftypevr
  35464. #: guix-git/doc/guix.texi:23998
  35465. msgid "Whether to force all client-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  35466. msgstr ""
  35467. #. type: deftypevr
  35468. #: guix-git/doc/guix.texi:24000
  35469. #, no-wrap
  35470. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  35471. msgstr ""
  35472. #. type: deftypevr
  35473. #: guix-git/doc/guix.texi:24004
  35474. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  35475. msgstr ""
  35476. #. type: deftypevr
  35477. #: guix-git/doc/guix.texi:24006
  35478. #, no-wrap
  35479. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  35480. msgstr ""
  35481. #. type: deftypevr
  35482. #: guix-git/doc/guix.texi:24010
  35483. msgid "Whether to force all server-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  35484. msgstr ""
  35485. #. type: deftypevr
  35486. #: guix-git/doc/guix.texi:24012
  35487. #, no-wrap
  35488. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  35489. msgstr ""
  35490. #. type: deftypevr
  35491. #: guix-git/doc/guix.texi:24018
  35492. msgid "Whether to require encryption and certificate authentication. This provides ideal security, but requires servers you communicate with to support encryption AND present valid, trusted certificates. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{#f}."
  35493. msgstr ""
  35494. #. type: deftypevr
  35495. #: guix-git/doc/guix.texi:24020
  35496. #, no-wrap
  35497. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  35498. msgstr ""
  35499. #. type: deftypevr
  35500. #: guix-git/doc/guix.texi:24026
  35501. msgid "Many servers don't support encryption or have invalid or self-signed certificates. You can list domains here that will not be required to authenticate using certificates. They will be authenticated using DNS@. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}."
  35502. msgstr ""
  35503. #. type: deftypevr
  35504. #: guix-git/doc/guix.texi:24028
  35505. #, no-wrap
  35506. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  35507. msgstr ""
  35508. #. type: deftypevr
  35509. #: guix-git/doc/guix.texi:24033
  35510. msgid "Even if you leave @code{s2s-secure-auth?} disabled, you can still require valid certificates for some domains by specifying a list here. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}."
  35511. msgstr ""
  35512. #. type: deftypevr
  35513. #: guix-git/doc/guix.texi:24035
  35514. #, no-wrap
  35515. msgid "{@code{prosody-configuration} parameter} string authentication"
  35516. msgstr ""
  35517. #. type: deftypevr
  35518. #: guix-git/doc/guix.texi:24043
  35519. msgid "Select the authentication backend to use. The default provider stores passwords in plaintext and uses Prosody's configured data storage to store the authentication data. If you do not trust your server please see @url{https://prosody.im/doc/modules/mod_auth_internal_hashed} for information about using the hashed backend. See also @url{https://prosody.im/doc/authentication} Defaults to @samp{\"internal_plain\"}."
  35520. msgstr ""
  35521. #. type: deftypevr
  35522. #: guix-git/doc/guix.texi:24045
  35523. #, no-wrap
  35524. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  35525. msgstr ""
  35526. #. type: deftypevr
  35527. #: guix-git/doc/guix.texi:24049
  35528. msgid "Set logging options. Advanced logging configuration is not yet supported by the Prosody service. See @url{https://prosody.im/doc/logging}. Defaults to @samp{\"*syslog\"}."
  35529. msgstr ""
  35530. #. type: deftypevr
  35531. #: guix-git/doc/guix.texi:24051
  35532. #, no-wrap
  35533. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  35534. msgstr ""
  35535. #. type: deftypevr
  35536. #: guix-git/doc/guix.texi:24054
  35537. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  35538. msgstr ""
  35539. #. type: deftypevr
  35540. #: guix-git/doc/guix.texi:24056
  35541. #, no-wrap
  35542. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  35543. msgstr ""
  35544. #. type: deftypevr
  35545. #: guix-git/doc/guix.texi:24058
  35546. msgid "Maximum allowed size of the HTTP body (in bytes)."
  35547. msgstr ""
  35548. #. type: deftypevr
  35549. #: guix-git/doc/guix.texi:24060
  35550. #, no-wrap
  35551. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  35552. msgstr ""
  35553. #. type: deftypevr
  35554. #: guix-git/doc/guix.texi:24065
  35555. msgid "Some modules expose their own URL in various ways. This URL is built from the protocol, host and port used. If Prosody sits behind a proxy, the public URL will be @code{http-external-url} instead. See @url{https://prosody.im/doc/http#external_url}."
  35556. msgstr ""
  35557. #. type: deftypevr
  35558. #: guix-git/doc/guix.texi:24067
  35559. #, no-wrap
  35560. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  35561. msgstr ""
  35562. #. type: deftypevr
  35563. #: guix-git/doc/guix.texi:24072
  35564. msgid "A host in Prosody is a domain on which user accounts can be created. For example if you want your users to have addresses like @samp{\"john.smith@@example.com\"} then you need to add a host @samp{\"example.com\"}. All options in this list will apply only to this host."
  35565. msgstr ""
  35566. #. type: deftypevr
  35567. #: guix-git/doc/guix.texi:24078
  35568. msgid "Note: the name @emph{virtual} host is used in configuration to avoid confusion with the actual physical host that Prosody is installed on. A single Prosody instance can serve many domains, each one defined as a VirtualHost entry in Prosody's configuration. Conversely a server that hosts a single domain would have just one VirtualHost entry."
  35569. msgstr ""
  35570. #. type: deftypevr
  35571. #: guix-git/doc/guix.texi:24080
  35572. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  35573. msgstr ""
  35574. #. type: deftypevr
  35575. #: guix-git/doc/guix.texi:24082
  35576. msgid "Available @code{virtualhost-configuration} fields are:"
  35577. msgstr ""
  35578. #. type: deftypevr
  35579. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24106
  35580. #: guix-git/doc/guix.texi:24159
  35581. msgid "all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus:"
  35582. msgstr ""
  35583. #. type: deftypevr
  35584. #: guix-git/doc/guix.texi:24084
  35585. #, no-wrap
  35586. msgid "{@code{virtualhost-configuration} parameter} string domain"
  35587. msgstr ""
  35588. #. type: deftypevr
  35589. #: guix-git/doc/guix.texi:24086
  35590. msgid "Domain you wish Prosody to serve."
  35591. msgstr ""
  35592. #. type: deftypevr
  35593. #: guix-git/doc/guix.texi:24090
  35594. #, no-wrap
  35595. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  35596. msgstr ""
  35597. #. type: deftypevr
  35598. #: guix-git/doc/guix.texi:24095
  35599. msgid "Components are extra services on a server which are available to clients, usually on a subdomain of the main server (such as @samp{\"mycomponent.example.com\"}). Example components might be chatroom servers, user directories, or gateways to other protocols."
  35600. msgstr ""
  35601. #. type: deftypevr
  35602. #: guix-git/doc/guix.texi:24099
  35603. msgid "Internal components are implemented with Prosody-specific plugins. To add an internal component, you simply fill the hostname field, and the plugin you wish to use for the component."
  35604. msgstr ""
  35605. #. type: deftypevr
  35606. #: guix-git/doc/guix.texi:24102
  35607. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35608. msgstr ""
  35609. #. type: deftypevr
  35610. #: guix-git/doc/guix.texi:24104
  35611. msgid "Available @code{int-component-configuration} fields are:"
  35612. msgstr ""
  35613. #. type: deftypevr
  35614. #: guix-git/doc/guix.texi:24106
  35615. #, no-wrap
  35616. msgid "{@code{int-component-configuration} parameter} string hostname"
  35617. msgstr ""
  35618. #. type: deftypevr
  35619. #: guix-git/doc/guix.texi:24108 guix-git/doc/guix.texi:24165
  35620. msgid "Hostname of the component."
  35621. msgstr ""
  35622. #. type: deftypevr
  35623. #: guix-git/doc/guix.texi:24110
  35624. #, no-wrap
  35625. msgid "{@code{int-component-configuration} parameter} string plugin"
  35626. msgstr ""
  35627. #. type: deftypevr
  35628. #: guix-git/doc/guix.texi:24112
  35629. msgid "Plugin you wish to use for the component."
  35630. msgstr ""
  35631. #. type: deftypevr
  35632. #: guix-git/doc/guix.texi:24114
  35633. #, no-wrap
  35634. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  35635. msgstr ""
  35636. #. type: deftypevr
  35637. #: guix-git/doc/guix.texi:24117
  35638. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  35639. msgstr ""
  35640. #. type: deftypevr
  35641. #: guix-git/doc/guix.texi:24121
  35642. msgid "General information on setting up and using multi-user chatrooms can be found in the ``Chatrooms'' documentation (@url{https://prosody.im/doc/chatrooms}), which you should read if you are new to XMPP chatrooms."
  35643. msgstr ""
  35644. #. type: deftypevr
  35645. #: guix-git/doc/guix.texi:24123
  35646. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  35647. msgstr ""
  35648. #. type: deftypevr
  35649. #: guix-git/doc/guix.texi:24125
  35650. msgid "Available @code{mod-muc-configuration} fields are:"
  35651. msgstr ""
  35652. #. type: deftypevr
  35653. #: guix-git/doc/guix.texi:24126
  35654. #, no-wrap
  35655. msgid "{@code{mod-muc-configuration} parameter} string name"
  35656. msgstr ""
  35657. #. type: deftypevr
  35658. #: guix-git/doc/guix.texi:24129
  35659. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  35660. msgstr ""
  35661. #. type: deftypevr
  35662. #: guix-git/doc/guix.texi:24131
  35663. #, no-wrap
  35664. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  35665. msgstr ""
  35666. #. type: deftypevr
  35667. #: guix-git/doc/guix.texi:24138
  35668. msgid "If @samp{#t}, this will only allow admins to create new chatrooms. Otherwise anyone can create a room. The value @samp{\"local\"} restricts room creation to users on the service's parent domain. E.g.@: @samp{user@@example.com} can create rooms on @samp{rooms.example.com}. The value @samp{\"admin\"} restricts to service administrators only. Defaults to @samp{#f}."
  35669. msgstr ""
  35670. #. type: deftypevr
  35671. #: guix-git/doc/guix.texi:24140
  35672. #, no-wrap
  35673. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  35674. msgstr ""
  35675. #. type: deftypevr
  35676. #: guix-git/doc/guix.texi:24144
  35677. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  35678. msgstr ""
  35679. #. type: deftypevr
  35680. #: guix-git/doc/guix.texi:24150
  35681. #, no-wrap
  35682. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  35683. msgstr ""
  35684. #. type: deftypevr
  35685. #: guix-git/doc/guix.texi:24155
  35686. msgid "External components use XEP-0114, which most standalone components support. To add an external component, you simply fill the hostname field. See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35687. msgstr ""
  35688. #. type: deftypevr
  35689. #: guix-git/doc/guix.texi:24157
  35690. msgid "Available @code{ext-component-configuration} fields are:"
  35691. msgstr ""
  35692. #. type: deftypevr
  35693. #: guix-git/doc/guix.texi:24159
  35694. #, no-wrap
  35695. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  35696. msgstr ""
  35697. #. type: deftypevr
  35698. #: guix-git/doc/guix.texi:24161
  35699. msgid "Password which the component will use to log in."
  35700. msgstr ""
  35701. #. type: deftypevr
  35702. #: guix-git/doc/guix.texi:24163
  35703. #, no-wrap
  35704. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35705. msgstr ""
  35706. #. type: deftypevr
  35707. #: guix-git/doc/guix.texi:24169
  35708. #, no-wrap
  35709. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35710. msgstr ""
  35711. #. type: deftypevr
  35712. #: guix-git/doc/guix.texi:24172
  35713. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35714. msgstr ""
  35715. #. type: deftypevr
  35716. #: guix-git/doc/guix.texi:24174
  35717. #, no-wrap
  35718. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35719. msgstr ""
  35720. #. type: deftypevr
  35721. #: guix-git/doc/guix.texi:24177
  35722. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35723. msgstr ""
  35724. #. type: deftypevr
  35725. #: guix-git/doc/guix.texi:24179
  35726. #, no-wrap
  35727. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35728. msgstr ""
  35729. #. type: deftypevr
  35730. #: guix-git/doc/guix.texi:24181
  35731. msgid "Raw content that will be added to the configuration file."
  35732. msgstr ""
  35733. #. type: Plain text
  35734. #: guix-git/doc/guix.texi:24189
  35735. msgid "It could be that you just want to get a @code{prosody.cfg.lua} up and running. In that case, you can pass an @code{opaque-prosody-configuration} record as the value of @code{prosody-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities. Available @code{opaque-prosody-configuration} fields are:"
  35736. msgstr ""
  35737. #. type: deftypevr
  35738. #: guix-git/doc/guix.texi:24190
  35739. #, no-wrap
  35740. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35741. msgstr ""
  35742. #. type: deftypevr
  35743. #: guix-git/doc/guix.texi:24192
  35744. msgid "The prosody package."
  35745. msgstr ""
  35746. #. type: deftypevr
  35747. #: guix-git/doc/guix.texi:24194
  35748. #, no-wrap
  35749. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35750. msgstr ""
  35751. #. type: deftypevr
  35752. #: guix-git/doc/guix.texi:24196
  35753. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35754. msgstr ""
  35755. #. type: Plain text
  35756. #: guix-git/doc/guix.texi:24200
  35757. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35758. msgstr ""
  35759. #. type: lisp
  35760. #: guix-git/doc/guix.texi:24205
  35761. #, no-wrap
  35762. msgid ""
  35763. "(service prosody-service-type\n"
  35764. " (opaque-prosody-configuration\n"
  35765. " (prosody.cfg.lua \"\")))\n"
  35766. msgstr ""
  35767. #. type: subsubheading
  35768. #: guix-git/doc/guix.texi:24209
  35769. #, no-wrap
  35770. msgid "BitlBee Service"
  35771. msgstr ""
  35772. #. type: cindex
  35773. #: guix-git/doc/guix.texi:24211 guix-git/doc/guix.texi:24255
  35774. #, no-wrap
  35775. msgid "IRC (Internet Relay Chat)"
  35776. msgstr ""
  35777. #. type: cindex
  35778. #: guix-git/doc/guix.texi:24212
  35779. #, no-wrap
  35780. msgid "IRC gateway"
  35781. msgstr ""
  35782. #. type: Plain text
  35783. #: guix-git/doc/guix.texi:24215
  35784. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35785. msgstr ""
  35786. #. type: defvr
  35787. #: guix-git/doc/guix.texi:24216
  35788. #, no-wrap
  35789. msgid "{Scheme Variable} bitlbee-service-type"
  35790. msgstr ""
  35791. #. type: defvr
  35792. #: guix-git/doc/guix.texi:24220
  35793. msgid "This is the service type for the @url{https://bitlbee.org,BitlBee} IRC gateway daemon. Its value is a @code{bitlbee-configuration} (see below)."
  35794. msgstr ""
  35795. #. type: defvr
  35796. #: guix-git/doc/guix.texi:24223
  35797. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35798. msgstr ""
  35799. #. type: lisp
  35800. #: guix-git/doc/guix.texi:24226
  35801. #, no-wrap
  35802. msgid "(service bitlbee-service-type)\n"
  35803. msgstr ""
  35804. #. type: deftp
  35805. #: guix-git/doc/guix.texi:24229
  35806. #, no-wrap
  35807. msgid "{Data Type} bitlbee-configuration"
  35808. msgstr ""
  35809. #. type: deftp
  35810. #: guix-git/doc/guix.texi:24231
  35811. msgid "This is the configuration for BitlBee, with the following fields:"
  35812. msgstr ""
  35813. #. type: item
  35814. #: guix-git/doc/guix.texi:24233
  35815. #, no-wrap
  35816. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35817. msgstr ""
  35818. #. type: itemx
  35819. #: guix-git/doc/guix.texi:24234
  35820. #, no-wrap
  35821. msgid "@code{port} (default: @code{6667})"
  35822. msgstr ""
  35823. #. type: table
  35824. #: guix-git/doc/guix.texi:24237
  35825. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35826. msgstr ""
  35827. #. type: table
  35828. #: guix-git/doc/guix.texi:24241
  35829. msgid "When @var{interface} is @code{127.0.0.1}, only local clients can connect; when it is @code{0.0.0.0}, connections can come from any networking interface."
  35830. msgstr ""
  35831. #. type: item
  35832. #: guix-git/doc/guix.texi:24242
  35833. #, no-wrap
  35834. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35835. msgstr ""
  35836. #. type: table
  35837. #: guix-git/doc/guix.texi:24244
  35838. msgid "The BitlBee package to use."
  35839. msgstr ""
  35840. #. type: item
  35841. #: guix-git/doc/guix.texi:24245
  35842. #, no-wrap
  35843. msgid "@code{plugins} (default: @code{'()})"
  35844. msgstr ""
  35845. #. type: table
  35846. #: guix-git/doc/guix.texi:24247
  35847. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35848. msgstr ""
  35849. #. type: table
  35850. #: guix-git/doc/guix.texi:24250
  35851. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35852. msgstr ""
  35853. #. type: subsubheading
  35854. #: guix-git/doc/guix.texi:24253
  35855. #, no-wrap
  35856. msgid "Quassel Service"
  35857. msgstr ""
  35858. #. type: Plain text
  35859. #: guix-git/doc/guix.texi:24259
  35860. msgid "@url{https://quassel-irc.org/,Quassel} is a distributed IRC client, meaning that one or more clients can attach to and detach from the central core."
  35861. msgstr ""
  35862. #. type: defvr
  35863. #: guix-git/doc/guix.texi:24260
  35864. #, no-wrap
  35865. msgid "{Scheme Variable} quassel-service-type"
  35866. msgstr ""
  35867. #. type: defvr
  35868. #: guix-git/doc/guix.texi:24264
  35869. msgid "This is the service type for the @url{https://quassel-irc.org/,Quassel} IRC backend daemon. Its value is a @code{quassel-configuration} (see below)."
  35870. msgstr ""
  35871. #. type: deftp
  35872. #: guix-git/doc/guix.texi:24266
  35873. #, no-wrap
  35874. msgid "{Data Type} quassel-configuration"
  35875. msgstr ""
  35876. #. type: deftp
  35877. #: guix-git/doc/guix.texi:24268
  35878. msgid "This is the configuration for Quassel, with the following fields:"
  35879. msgstr ""
  35880. #. type: item
  35881. #: guix-git/doc/guix.texi:24270
  35882. #, no-wrap
  35883. msgid "@code{quassel} (default: @code{quassel})"
  35884. msgstr ""
  35885. #. type: table
  35886. #: guix-git/doc/guix.texi:24272
  35887. msgid "The Quassel package to use."
  35888. msgstr ""
  35889. #. type: item
  35890. #: guix-git/doc/guix.texi:24273
  35891. #, no-wrap
  35892. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35893. msgstr ""
  35894. #. type: item
  35895. #: guix-git/doc/guix.texi:24274
  35896. #, no-wrap
  35897. msgid "@code{port} (default: @code{4242})"
  35898. msgstr ""
  35899. #. type: table
  35900. #: guix-git/doc/guix.texi:24278
  35901. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35902. msgstr ""
  35903. #. type: item
  35904. #: guix-git/doc/guix.texi:24279
  35905. #, no-wrap
  35906. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35907. msgstr ""
  35908. #. type: table
  35909. #: guix-git/doc/guix.texi:24282
  35910. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35911. msgstr ""
  35912. #. type: cindex
  35913. #: guix-git/doc/guix.texi:24288
  35914. #, no-wrap
  35915. msgid "telephony, services"
  35916. msgstr ""
  35917. #. type: Plain text
  35918. #: guix-git/doc/guix.texi:24292
  35919. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35920. msgstr ""
  35921. #. type: subsubheading
  35922. #: guix-git/doc/guix.texi:24293
  35923. #, no-wrap
  35924. msgid "Jami"
  35925. msgstr ""
  35926. #. type: cindex
  35927. #: guix-git/doc/guix.texi:24295
  35928. #, no-wrap
  35929. msgid "jami, service"
  35930. msgstr ""
  35931. #. type: Plain text
  35932. #: guix-git/doc/guix.texi:24301
  35933. msgid "This section describes how to configure a Jami server that can be used to host video (or audio) conferences, among other uses. The following example demonstrates how to specify Jami account archives (backups) to be provisioned automatically:"
  35934. msgstr ""
  35935. #. type: lisp
  35936. #: guix-git/doc/guix.texi:24310
  35937. #, no-wrap
  35938. msgid ""
  35939. "(service jami-service-type\n"
  35940. " (jami-configuration\n"
  35941. " (accounts\n"
  35942. " (list (jami-account\n"
  35943. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35944. " (jami-account\n"
  35945. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35946. msgstr ""
  35947. #. type: Plain text
  35948. #: guix-git/doc/guix.texi:24315
  35949. msgid "When the accounts field is specified, the Jami account files of the service found under @file{/var/lib/jami} are recreated every time the service starts."
  35950. msgstr ""
  35951. #. type: Plain text
  35952. #: guix-git/doc/guix.texi:24320
  35953. msgid "Jami accounts and their corresponding backup archives can be generated using the @code{jami} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  35954. msgstr ""
  35955. #. type: Plain text
  35956. #: guix-git/doc/guix.texi:24323
  35957. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35958. msgstr ""
  35959. #. type: lisp
  35960. #: guix-git/doc/guix.texi:24335
  35961. #, no-wrap
  35962. msgid ""
  35963. "(service jami-service-type\n"
  35964. " (jami-configuration\n"
  35965. " (accounts\n"
  35966. " (list (jami-account\n"
  35967. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35968. " (peer-discovery? #t)\n"
  35969. " (rendezvous-point? #t)\n"
  35970. " (allowed-contacts\n"
  35971. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35972. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35973. msgstr ""
  35974. #. type: Plain text
  35975. #: guix-git/doc/guix.texi:24341
  35976. msgid "In this mode, only the declared @code{allowed-contacts} can initiate communication with the Jami account. This can be used, for example, with rendezvous point accounts to create a private video conferencing space."
  35977. msgstr ""
  35978. #. type: Plain text
  35979. #: guix-git/doc/guix.texi:24344
  35980. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35981. msgstr ""
  35982. #. type: example
  35983. #: guix-git/doc/guix.texi:24356
  35984. #, no-wrap
  35985. msgid ""
  35986. "# herd doc jami list-actions\n"
  35987. "(list-accounts\n"
  35988. " list-account-details\n"
  35989. " list-banned-contacts\n"
  35990. " list-contacts\n"
  35991. " list-moderators\n"
  35992. " add-moderator\n"
  35993. " ban-contact\n"
  35994. " enable-account\n"
  35995. " disable-account)\n"
  35996. msgstr ""
  35997. #. type: Plain text
  35998. #: guix-git/doc/guix.texi:24363
  35999. msgid "The above actions aim to provide the most valuable actions for moderation purposes, not to cover the whole Jami API. Users wanting to interact with the Jami daemon from Guile may be interested in experimenting with the @code{(gnu build jami-service)} module, which powers the above Shepherd actions."
  36000. msgstr ""
  36001. #. type: Plain text
  36002. #: guix-git/doc/guix.texi:24369
  36003. msgid "The @code{add-moderator} and @code{ban-contact} actions accept a contact @emph{fingerprint} (40 characters long hash) as first argument and an account fingerprint or username as second argument:"
  36004. msgstr ""
  36005. #. type: example
  36006. #: guix-git/doc/guix.texi:24373
  36007. #, no-wrap
  36008. msgid ""
  36009. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  36010. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36011. "\n"
  36012. msgstr ""
  36013. #. type: example
  36014. #: guix-git/doc/guix.texi:24377
  36015. #, no-wrap
  36016. msgid ""
  36017. "# herd list-moderators jami\n"
  36018. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36019. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36020. "\n"
  36021. msgstr ""
  36022. #. type: Plain text
  36023. #: guix-git/doc/guix.texi:24382
  36024. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  36025. msgstr ""
  36026. #. type: example
  36027. #: guix-git/doc/guix.texi:24385
  36028. #, no-wrap
  36029. msgid ""
  36030. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36031. "\n"
  36032. msgstr ""
  36033. #. type: example
  36034. #: guix-git/doc/guix.texi:24389
  36035. #, no-wrap
  36036. msgid ""
  36037. "# herd list-banned-contacts jami\n"
  36038. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36039. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36040. "\n"
  36041. msgstr ""
  36042. #. type: Plain text
  36043. #: guix-git/doc/guix.texi:24393
  36044. msgid "Banned contacts are also stripped from their moderation privileges."
  36045. msgstr ""
  36046. #. type: Plain text
  36047. #: guix-git/doc/guix.texi:24398
  36048. msgid "The @code{disable-account} action allows to completely disconnect an account from the network, making it unreachable, while @code{enable-account} does the inverse. They accept a single account username or fingerprint as first argument:"
  36049. msgstr ""
  36050. #. type: example
  36051. #: guix-git/doc/guix.texi:24401
  36052. #, no-wrap
  36053. msgid ""
  36054. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36055. "\n"
  36056. msgstr ""
  36057. #. type: example
  36058. #: guix-git/doc/guix.texi:24405
  36059. #, no-wrap
  36060. msgid ""
  36061. "# herd list-accounts jami\n"
  36062. "The following Jami accounts are available:\n"
  36063. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  36064. "\n"
  36065. msgstr ""
  36066. #. type: Plain text
  36067. #: guix-git/doc/guix.texi:24416
  36068. msgid "The @code{list-account-details} action prints the detailed parameters of each accounts in the Recutils format, which means the @command{recsel} command can be used to select accounts of interest (@pxref{Selection Expressions,,,recutils, GNU recutils manual}). Note that period characters (@samp{.}) found in the account parameter keys are mapped to underscores (@samp{_}) in the output, to meet the requirements of the Recutils format. The following example shows how to print the account fingerprints for all accounts operating in the rendezvous point mode:"
  36069. msgstr ""
  36070. #. type: example
  36071. #: guix-git/doc/guix.texi:24421
  36072. #, no-wrap
  36073. msgid ""
  36074. "# herd list-account-details jami | \\\n"
  36075. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  36076. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36077. msgstr ""
  36078. #. type: Plain text
  36079. #: guix-git/doc/guix.texi:24424
  36080. msgid "The remaining actions should be self-explanatory."
  36081. msgstr ""
  36082. #. type: Plain text
  36083. #: guix-git/doc/guix.texi:24426
  36084. msgid "The complete set of available configuration options is detailed below."
  36085. msgstr ""
  36086. #. type: deftp
  36087. #: guix-git/doc/guix.texi:24430
  36088. #, no-wrap
  36089. msgid "{Data Type} jami-configuration"
  36090. msgstr "{Druh údajov} jami-configuration"
  36091. #. type: deftp
  36092. #: guix-git/doc/guix.texi:24432
  36093. msgid "Available @code{jami-configuration} fields are:"
  36094. msgstr ""
  36095. #. type: item
  36096. #: guix-git/doc/guix.texi:24434
  36097. #, no-wrap
  36098. msgid "@code{jamid} (default: @code{libjami}) (type: package)"
  36099. msgstr ""
  36100. #. type: table
  36101. #: guix-git/doc/guix.texi:24436
  36102. msgid "The Jami daemon package to use."
  36103. msgstr ""
  36104. #. type: item
  36105. #: guix-git/doc/guix.texi:24437
  36106. #, no-wrap
  36107. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  36108. msgstr ""
  36109. #. type: table
  36110. #: guix-git/doc/guix.texi:24439
  36111. msgid "The D-Bus package to use to start the required D-Bus session."
  36112. msgstr ""
  36113. #. type: item
  36114. #: guix-git/doc/guix.texi:24440
  36115. #, no-wrap
  36116. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  36117. msgstr ""
  36118. #. type: table
  36119. #: guix-git/doc/guix.texi:24442
  36120. msgid "The nss-certs package to use to provide TLS certificates."
  36121. msgstr ""
  36122. #. type: item
  36123. #: guix-git/doc/guix.texi:24443
  36124. #, no-wrap
  36125. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  36126. msgstr ""
  36127. #. type: table
  36128. #: guix-git/doc/guix.texi:24445
  36129. msgid "Whether to enable logging to syslog."
  36130. msgstr ""
  36131. #. type: item
  36132. #: guix-git/doc/guix.texi:24446
  36133. #, no-wrap
  36134. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  36135. msgstr ""
  36136. #. type: table
  36137. #: guix-git/doc/guix.texi:24448
  36138. msgid "Whether to enable debug level messages."
  36139. msgstr ""
  36140. #. type: item
  36141. #: guix-git/doc/guix.texi:24449
  36142. #, no-wrap
  36143. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  36144. msgstr ""
  36145. #. type: table
  36146. #: guix-git/doc/guix.texi:24451
  36147. msgid "Whether to force automatic answer to incoming calls."
  36148. msgstr ""
  36149. #. type: item
  36150. #: guix-git/doc/guix.texi:24452
  36151. #, no-wrap
  36152. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  36153. msgstr ""
  36154. #. type: table
  36155. #: guix-git/doc/guix.texi:24457
  36156. msgid "A list of Jami accounts to be (re-)provisioned every time the Jami daemon service starts. When providing this field, the account directories under @file{/var/lib/jami/} are recreated every time the service starts, ensuring a consistent state."
  36157. msgstr ""
  36158. #. type: deftp
  36159. #: guix-git/doc/guix.texi:24463
  36160. #, no-wrap
  36161. msgid "{Data Type} jami-account"
  36162. msgstr ""
  36163. #. type: deftp
  36164. #: guix-git/doc/guix.texi:24465
  36165. msgid "Available @code{jami-account} fields are:"
  36166. msgstr ""
  36167. #. type: item
  36168. #: guix-git/doc/guix.texi:24467
  36169. #, no-wrap
  36170. msgid "@code{archive} (type: string-or-computed-file)"
  36171. msgstr ""
  36172. #. type: table
  36173. #: guix-git/doc/guix.texi:24473
  36174. msgid "The account archive (backup) file name of the account. This is used to provision the account when the service starts. The account archive should @emph{not} be encrypted. It is highly recommended to make it readable only to the @samp{root} user (i.e., not in the store), to guard against leaking the secret key material of the Jami account it contains."
  36175. msgstr ""
  36176. #. type: item
  36177. #: guix-git/doc/guix.texi:24474
  36178. #, no-wrap
  36179. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36180. msgstr ""
  36181. #. type: table
  36182. #: guix-git/doc/guix.texi:24481
  36183. msgid "The list of allowed contacts for the account, entered as their 40 characters long fingerprint. Messages or calls from accounts not in that list will be rejected. When unspecified, the configuration of the account archive is used as-is with respect to contacts and public inbound calls/messaging allowance, which typically defaults to allow any contact to communicate with the account."
  36184. msgstr ""
  36185. #. type: item
  36186. #: guix-git/doc/guix.texi:24482
  36187. #, no-wrap
  36188. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36189. msgstr ""
  36190. #. type: table
  36191. #: guix-git/doc/guix.texi:24488
  36192. msgid "The list of contacts that should have moderation privileges (to ban, mute, etc. other users) in rendezvous conferences, entered as their 40 characters long fingerprint. When unspecified, the configuration of the account archive is used as-is with respect to moderation, which typically defaults to allow anyone to moderate."
  36193. msgstr ""
  36194. #. type: item
  36195. #: guix-git/doc/guix.texi:24489
  36196. #, no-wrap
  36197. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  36198. msgstr ""
  36199. #. type: table
  36200. #: guix-git/doc/guix.texi:24493
  36201. msgid "Whether the account should operate in the rendezvous mode. In this mode, all the incoming audio/video calls are mixed into a conference. When left unspecified, the value from the account archive prevails."
  36202. msgstr ""
  36203. #. type: item
  36204. #: guix-git/doc/guix.texi:24494
  36205. #, no-wrap
  36206. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  36207. msgstr ""
  36208. #. type: table
  36209. #: guix-git/doc/guix.texi:24500
  36210. msgid "Whether peer discovery should be enabled. Peer discovery is used to discover other OpenDHT nodes on the local network, which can be useful to maintain communication between devices on such network even when the connection to the the Internet has been lost. When left unspecified, the value from the account archive prevails."
  36211. msgstr ""
  36212. #. type: item
  36213. #: guix-git/doc/guix.texi:24501
  36214. #, no-wrap
  36215. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  36216. msgstr ""
  36217. #. type: table
  36218. #: guix-git/doc/guix.texi:24505
  36219. msgid "A list of hostnames or IPs pointing to OpenDHT nodes, that should be used to initially join the OpenDHT network. When left unspecified, the value from the account archive prevails."
  36220. msgstr ""
  36221. #. type: item
  36222. #: guix-git/doc/guix.texi:24506
  36223. #, no-wrap
  36224. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  36225. msgstr ""
  36226. #. type: table
  36227. #: guix-git/doc/guix.texi:24509
  36228. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  36229. msgstr ""
  36230. #. type: cindex
  36231. #: guix-git/doc/guix.texi:24514 guix-git/doc/guix.texi:24516
  36232. #, no-wrap
  36233. msgid "Murmur (VoIP server)"
  36234. msgstr ""
  36235. #. type: cindex
  36236. #: guix-git/doc/guix.texi:24517
  36237. #, no-wrap
  36238. msgid "VoIP server"
  36239. msgstr ""
  36240. #. type: Plain text
  36241. #: guix-git/doc/guix.texi:24521
  36242. msgid "This section describes how to set up and run a Murmur server. Murmur is the server of the @uref{https://mumble.info, Mumble} voice-over-IP (VoIP) suite."
  36243. msgstr ""
  36244. #. type: deftp
  36245. #: guix-git/doc/guix.texi:24522
  36246. #, no-wrap
  36247. msgid "{Data Type} murmur-configuration"
  36248. msgstr ""
  36249. #. type: deftp
  36250. #: guix-git/doc/guix.texi:24525
  36251. msgid "The service type for the Murmur server. An example configuration can look like this:"
  36252. msgstr ""
  36253. #. type: lisp
  36254. #: guix-git/doc/guix.texi:24534
  36255. #, no-wrap
  36256. msgid ""
  36257. "(service murmur-service-type\n"
  36258. " (murmur-configuration\n"
  36259. " (welcome-text\n"
  36260. " \"Welcome to this Mumble server running on Guix!\")\n"
  36261. " (cert-required? #t) ;disallow text password logins\n"
  36262. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  36263. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  36264. msgstr ""
  36265. #. type: deftp
  36266. #: guix-git/doc/guix.texi:24538
  36267. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  36268. msgstr ""
  36269. #. type: deftp
  36270. #: guix-git/doc/guix.texi:24547
  36271. msgid "It is recommended to register a normal Mumble user account and grant it admin or moderator rights. You can use the @code{mumble} client to login as new normal user, register yourself, and log out. For the next step login with the name @code{SuperUser} use the @code{SuperUser} password that you set previously, and grant your newly registered mumble user administrator or moderator rights and create some channels."
  36272. msgstr ""
  36273. #. type: deftp
  36274. #: guix-git/doc/guix.texi:24549
  36275. msgid "Available @code{murmur-configuration} fields are:"
  36276. msgstr ""
  36277. #. type: item
  36278. #: guix-git/doc/guix.texi:24551
  36279. #, no-wrap
  36280. msgid "@code{package} (default: @code{mumble})"
  36281. msgstr ""
  36282. #. type: table
  36283. #: guix-git/doc/guix.texi:24553
  36284. msgid "Package that contains @code{bin/murmurd}."
  36285. msgstr ""
  36286. #. type: item
  36287. #: guix-git/doc/guix.texi:24554
  36288. #, no-wrap
  36289. msgid "@code{user} (default: @code{\"murmur\"})"
  36290. msgstr ""
  36291. #. type: table
  36292. #: guix-git/doc/guix.texi:24556
  36293. msgid "User who will run the Murmur server."
  36294. msgstr ""
  36295. #. type: item
  36296. #: guix-git/doc/guix.texi:24557
  36297. #, no-wrap
  36298. msgid "@code{group} (default: @code{\"murmur\"})"
  36299. msgstr ""
  36300. #. type: table
  36301. #: guix-git/doc/guix.texi:24559
  36302. msgid "Group of the user who will run the murmur server."
  36303. msgstr ""
  36304. #. type: item
  36305. #: guix-git/doc/guix.texi:24560
  36306. #, no-wrap
  36307. msgid "@code{port} (default: @code{64738})"
  36308. msgstr ""
  36309. #. type: table
  36310. #: guix-git/doc/guix.texi:24562
  36311. msgid "Port on which the server will listen."
  36312. msgstr ""
  36313. #. type: item
  36314. #: guix-git/doc/guix.texi:24563
  36315. #, no-wrap
  36316. msgid "@code{welcome-text} (default: @code{\"\"})"
  36317. msgstr ""
  36318. #. type: table
  36319. #: guix-git/doc/guix.texi:24565
  36320. msgid "Welcome text sent to clients when they connect."
  36321. msgstr ""
  36322. #. type: item
  36323. #: guix-git/doc/guix.texi:24566
  36324. #, no-wrap
  36325. msgid "@code{server-password} (default: @code{\"\"})"
  36326. msgstr ""
  36327. #. type: table
  36328. #: guix-git/doc/guix.texi:24568
  36329. msgid "Password the clients have to enter in order to connect."
  36330. msgstr ""
  36331. #. type: item
  36332. #: guix-git/doc/guix.texi:24569
  36333. #, no-wrap
  36334. msgid "@code{max-users} (default: @code{100})"
  36335. msgstr ""
  36336. #. type: table
  36337. #: guix-git/doc/guix.texi:24571
  36338. msgid "Maximum of users that can be connected to the server at once."
  36339. msgstr ""
  36340. #. type: item
  36341. #: guix-git/doc/guix.texi:24572
  36342. #, no-wrap
  36343. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  36344. msgstr ""
  36345. #. type: table
  36346. #: guix-git/doc/guix.texi:24574
  36347. msgid "Maximum voice traffic a user can send per second."
  36348. msgstr ""
  36349. #. type: item
  36350. #: guix-git/doc/guix.texi:24575
  36351. #, no-wrap
  36352. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  36353. msgstr ""
  36354. #. type: table
  36355. #: guix-git/doc/guix.texi:24578
  36356. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  36357. msgstr ""
  36358. #. type: item
  36359. #: guix-git/doc/guix.texi:24579
  36360. #, no-wrap
  36361. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  36362. msgstr ""
  36363. #. type: table
  36364. #: guix-git/doc/guix.texi:24582
  36365. msgid "File name of the log file. The service's user will become the owner of the directory."
  36366. msgstr ""
  36367. #. type: item
  36368. #: guix-git/doc/guix.texi:24583
  36369. #, no-wrap
  36370. msgid "@code{autoban-attempts} (default: @code{10})"
  36371. msgstr ""
  36372. #. type: table
  36373. #: guix-git/doc/guix.texi:24586
  36374. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  36375. msgstr ""
  36376. #. type: item
  36377. #: guix-git/doc/guix.texi:24587
  36378. #, no-wrap
  36379. msgid "@code{autoban-timeframe} (default: @code{120})"
  36380. msgstr ""
  36381. #. type: table
  36382. #: guix-git/doc/guix.texi:24589
  36383. msgid "Timeframe for autoban in seconds."
  36384. msgstr ""
  36385. #. type: item
  36386. #: guix-git/doc/guix.texi:24590
  36387. #, no-wrap
  36388. msgid "@code{autoban-time} (default: @code{300})"
  36389. msgstr ""
  36390. #. type: table
  36391. #: guix-git/doc/guix.texi:24593
  36392. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  36393. msgstr ""
  36394. #. type: item
  36395. #: guix-git/doc/guix.texi:24594
  36396. #, no-wrap
  36397. msgid "@code{opus-threshold} (default: @code{100})"
  36398. msgstr ""
  36399. #. type: table
  36400. #: guix-git/doc/guix.texi:24597
  36401. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  36402. msgstr ""
  36403. #. type: item
  36404. #: guix-git/doc/guix.texi:24598
  36405. #, no-wrap
  36406. msgid "@code{channel-nesting-limit} (default: @code{10})"
  36407. msgstr ""
  36408. #. type: table
  36409. #: guix-git/doc/guix.texi:24600
  36410. msgid "How deep channels can be nested at maximum."
  36411. msgstr ""
  36412. #. type: item
  36413. #: guix-git/doc/guix.texi:24601
  36414. #, no-wrap
  36415. msgid "@code{channelname-regex} (default: @code{#f})"
  36416. msgstr ""
  36417. #. type: table
  36418. #: guix-git/doc/guix.texi:24603
  36419. msgid "A string in form of a Qt regular expression that channel names must conform to."
  36420. msgstr ""
  36421. #. type: item
  36422. #: guix-git/doc/guix.texi:24604
  36423. #, no-wrap
  36424. msgid "@code{username-regex} (default: @code{#f})"
  36425. msgstr ""
  36426. #. type: table
  36427. #: guix-git/doc/guix.texi:24606
  36428. msgid "A string in form of a Qt regular expression that user names must conform to."
  36429. msgstr ""
  36430. #. type: item
  36431. #: guix-git/doc/guix.texi:24607
  36432. #, no-wrap
  36433. msgid "@code{text-message-length} (default: @code{5000})"
  36434. msgstr ""
  36435. #. type: table
  36436. #: guix-git/doc/guix.texi:24609
  36437. msgid "Maximum size in bytes that a user can send in one text chat message."
  36438. msgstr ""
  36439. #. type: item
  36440. #: guix-git/doc/guix.texi:24610
  36441. #, no-wrap
  36442. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  36443. msgstr ""
  36444. #. type: table
  36445. #: guix-git/doc/guix.texi:24612
  36446. msgid "Maximum size in bytes that a user can send in one image message."
  36447. msgstr ""
  36448. #. type: item
  36449. #: guix-git/doc/guix.texi:24613
  36450. #, no-wrap
  36451. msgid "@code{cert-required?} (default: @code{#f})"
  36452. msgstr ""
  36453. #. type: table
  36454. #: guix-git/doc/guix.texi:24616
  36455. msgid "If it is set to @code{#t} clients that use weak password authentication will not be accepted. Users must have completed the certificate wizard to join."
  36456. msgstr ""
  36457. #. type: item
  36458. #: guix-git/doc/guix.texi:24617
  36459. #, no-wrap
  36460. msgid "@code{remember-channel?} (default: @code{#f})"
  36461. msgstr ""
  36462. #. type: table
  36463. #: guix-git/doc/guix.texi:24620
  36464. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  36465. msgstr ""
  36466. #. type: item
  36467. #: guix-git/doc/guix.texi:24621
  36468. #, no-wrap
  36469. msgid "@code{allow-html?} (default: @code{#f})"
  36470. msgstr ""
  36471. #. type: table
  36472. #: guix-git/doc/guix.texi:24623
  36473. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  36474. msgstr ""
  36475. #. type: item
  36476. #: guix-git/doc/guix.texi:24624
  36477. #, no-wrap
  36478. msgid "@code{allow-ping?} (default: @code{#f})"
  36479. msgstr ""
  36480. #. type: table
  36481. #: guix-git/doc/guix.texi:24628
  36482. msgid "Setting to true exposes the current user count, the maximum user count, and the server's maximum bandwidth per client to unauthenticated users. In the Mumble client, this information is shown in the Connect dialog."
  36483. msgstr ""
  36484. #. type: table
  36485. #: guix-git/doc/guix.texi:24630
  36486. msgid "Disabling this setting will prevent public listing of the server."
  36487. msgstr ""
  36488. #. type: item
  36489. #: guix-git/doc/guix.texi:24631
  36490. #, no-wrap
  36491. msgid "@code{bonjour?} (default: @code{#f})"
  36492. msgstr ""
  36493. #. type: table
  36494. #: guix-git/doc/guix.texi:24633
  36495. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  36496. msgstr ""
  36497. #. type: item
  36498. #: guix-git/doc/guix.texi:24634
  36499. #, no-wrap
  36500. msgid "@code{send-version?} (default: @code{#f})"
  36501. msgstr ""
  36502. #. type: table
  36503. #: guix-git/doc/guix.texi:24636
  36504. msgid "Should the murmur server version be exposed in ping requests."
  36505. msgstr ""
  36506. #. type: item
  36507. #: guix-git/doc/guix.texi:24637
  36508. #, no-wrap
  36509. msgid "@code{log-days} (default: @code{31})"
  36510. msgstr ""
  36511. #. type: table
  36512. #: guix-git/doc/guix.texi:24641
  36513. msgid "Murmur also stores logs in the database, which are accessible via RPC. The default is 31 days of months, but you can set this setting to 0 to keep logs forever, or -1 to disable logging to the database."
  36514. msgstr ""
  36515. #. type: item
  36516. #: guix-git/doc/guix.texi:24642
  36517. #, no-wrap
  36518. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  36519. msgstr ""
  36520. #. type: table
  36521. #: guix-git/doc/guix.texi:24644
  36522. msgid "Should logged ips be obfuscated to protect the privacy of users."
  36523. msgstr ""
  36524. #. type: item
  36525. #: guix-git/doc/guix.texi:24645
  36526. #, no-wrap
  36527. msgid "@code{ssl-cert} (default: @code{#f})"
  36528. msgstr ""
  36529. #. type: table
  36530. #: guix-git/doc/guix.texi:24647
  36531. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  36532. msgstr ""
  36533. #. type: lisp
  36534. #: guix-git/doc/guix.texi:24650
  36535. #, no-wrap
  36536. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  36537. msgstr ""
  36538. #. type: item
  36539. #: guix-git/doc/guix.texi:24651
  36540. #, no-wrap
  36541. msgid "@code{ssl-key} (default: @code{#f})"
  36542. msgstr ""
  36543. #. type: table
  36544. #: guix-git/doc/guix.texi:24653
  36545. msgid "Filepath to the ssl private key used for encrypted connections."
  36546. msgstr ""
  36547. #. type: lisp
  36548. #: guix-git/doc/guix.texi:24655
  36549. #, no-wrap
  36550. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  36551. msgstr ""
  36552. #. type: item
  36553. #: guix-git/doc/guix.texi:24657
  36554. #, no-wrap
  36555. msgid "@code{ssl-dh-params} (default: @code{#f})"
  36556. msgstr ""
  36557. #. type: table
  36558. #: guix-git/doc/guix.texi:24662
  36559. msgid "File name of a PEM-encoded file with Diffie-Hellman parameters for the SSL/TLS encryption. Alternatively you set it to @code{\"@@ffdhe2048\"}, @code{\"@@ffdhe3072\"}, @code{\"@@ffdhe4096\"}, @code{\"@@ffdhe6144\"} or @code{\"@@ffdhe8192\"} to use bundled parameters from RFC 7919."
  36560. msgstr ""
  36561. #. type: item
  36562. #: guix-git/doc/guix.texi:24663
  36563. #, no-wrap
  36564. msgid "@code{ssl-ciphers} (default: @code{#f})"
  36565. msgstr ""
  36566. #. type: table
  36567. #: guix-git/doc/guix.texi:24666
  36568. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  36569. msgstr ""
  36570. #. type: table
  36571. #: guix-git/doc/guix.texi:24670
  36572. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  36573. msgstr ""
  36574. #. type: table
  36575. #: guix-git/doc/guix.texi:24675
  36576. msgid "It is recommended that you try your cipher string using 'openssl ciphers <string>' before setting it here, to get a feel for which cipher suites you will get. After setting this option, it is recommend that you inspect your Murmur log to ensure that Murmur is using the cipher suites that you expected it to."
  36577. msgstr ""
  36578. #. type: table
  36579. #: guix-git/doc/guix.texi:24679
  36580. msgid "Note: Changing this option may impact the backwards compatibility of your Murmur server, and can remove the ability for older Mumble clients to be able to connect to it."
  36581. msgstr ""
  36582. #. type: item
  36583. #: guix-git/doc/guix.texi:24680
  36584. #, no-wrap
  36585. msgid "@code{public-registration} (default: @code{#f})"
  36586. msgstr ""
  36587. #. type: table
  36588. #: guix-git/doc/guix.texi:24682
  36589. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  36590. msgstr ""
  36591. #. type: table
  36592. #: guix-git/doc/guix.texi:24687
  36593. msgid "You can optionally register your server in the public server list that the @code{mumble} client shows on startup. You cannot register your server if you have set a @code{server-password}, or set @code{allow-ping} to @code{#f}."
  36594. msgstr ""
  36595. #. type: table
  36596. #: guix-git/doc/guix.texi:24689
  36597. msgid "It might take a few hours until it shows up in the public list."
  36598. msgstr ""
  36599. #. type: item
  36600. #: guix-git/doc/guix.texi:24690 guix-git/doc/guix.texi:26837
  36601. #, no-wrap
  36602. msgid "@code{file} (default: @code{#f})"
  36603. msgstr ""
  36604. #. type: table
  36605. #: guix-git/doc/guix.texi:24692
  36606. msgid "Optional alternative override for this configuration."
  36607. msgstr ""
  36608. #. type: deftp
  36609. #: guix-git/doc/guix.texi:24695
  36610. #, no-wrap
  36611. msgid "{Data Type} murmur-public-registration-configuration"
  36612. msgstr ""
  36613. #. type: deftp
  36614. #: guix-git/doc/guix.texi:24697
  36615. msgid "Configuration for public registration of a murmur service."
  36616. msgstr ""
  36617. #. type: table
  36618. #: guix-git/doc/guix.texi:24701
  36619. msgid "This is a display name for your server. Not to be confused with the hostname."
  36620. msgstr ""
  36621. #. type: itemx
  36622. #: guix-git/doc/guix.texi:24702 guix-git/doc/guix.texi:33600
  36623. #: guix-git/doc/guix.texi:34857
  36624. #, no-wrap
  36625. msgid "password"
  36626. msgstr "heslo"
  36627. #. type: table
  36628. #: guix-git/doc/guix.texi:24705
  36629. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  36630. msgstr ""
  36631. #. type: table
  36632. #: guix-git/doc/guix.texi:24709
  36633. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  36634. msgstr ""
  36635. #. type: item
  36636. #: guix-git/doc/guix.texi:24710 guix-git/doc/guix.texi:27725
  36637. #, no-wrap
  36638. msgid "@code{hostname} (default: @code{#f})"
  36639. msgstr ""
  36640. #. type: table
  36641. #: guix-git/doc/guix.texi:24713
  36642. msgid "By default your server will be listed by its IP address. If it is set your server will be linked by this host name instead."
  36643. msgstr ""
  36644. #. type: Plain text
  36645. #: guix-git/doc/guix.texi:24723
  36646. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  36647. msgstr ""
  36648. #. type: subsubheading
  36649. #: guix-git/doc/guix.texi:24724
  36650. #, no-wrap
  36651. msgid "Transmission Daemon Service"
  36652. msgstr ""
  36653. #. type: Plain text
  36654. #: guix-git/doc/guix.texi:24732
  36655. msgid "@uref{https://transmissionbt.com/, Transmission} is a flexible BitTorrent client that offers a variety of graphical and command-line interfaces. A @code{transmission-daemon-service-type} service provides Transmission's headless variant, @command{transmission-daemon}, as a system service, allowing users to share files via BitTorrent even when they are not logged in."
  36656. msgstr ""
  36657. #. type: deffn
  36658. #: guix-git/doc/guix.texi:24733
  36659. #, no-wrap
  36660. msgid "{Scheme Variable} transmission-daemon-service-type"
  36661. msgstr ""
  36662. #. type: deffn
  36663. #: guix-git/doc/guix.texi:24737
  36664. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  36665. msgstr ""
  36666. #. type: lisp
  36667. #: guix-git/doc/guix.texi:24748
  36668. #, no-wrap
  36669. msgid ""
  36670. "(service transmission-daemon-service-type\n"
  36671. " (transmission-daemon-configuration\n"
  36672. " ;; Restrict access to the RPC (\"control\") interface\n"
  36673. " (rpc-authentication-required? #t)\n"
  36674. " (rpc-username \"transmission\")\n"
  36675. " (rpc-password\n"
  36676. " (transmission-password-hash\n"
  36677. " \"transmission\" ; desired password\n"
  36678. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  36679. "\n"
  36680. msgstr ""
  36681. #. type: lisp
  36682. #: guix-git/doc/guix.texi:24753
  36683. #, no-wrap
  36684. msgid ""
  36685. " ;; Accept requests from this and other hosts on the\n"
  36686. " ;; local network\n"
  36687. " (rpc-whitelist-enabled? #t)\n"
  36688. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  36689. "\n"
  36690. msgstr ""
  36691. #. type: lisp
  36692. #: guix-git/doc/guix.texi:24757
  36693. #, no-wrap
  36694. msgid ""
  36695. " ;; Limit bandwidth use during work hours\n"
  36696. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  36697. " (alt-speed-up 512) ; 512 kB/s\n"
  36698. "\n"
  36699. msgstr ""
  36700. #. type: lisp
  36701. #: guix-git/doc/guix.texi:24764
  36702. #, no-wrap
  36703. msgid ""
  36704. " (alt-speed-time-enabled? #t)\n"
  36705. " (alt-speed-time-day 'weekdays)\n"
  36706. " (alt-speed-time-begin\n"
  36707. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36708. " (alt-speed-time-end\n"
  36709. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36710. msgstr ""
  36711. #. type: Plain text
  36712. #: guix-git/doc/guix.texi:24777
  36713. msgid "Once the service is started, users can interact with the daemon through its Web interface (at @code{http://localhost:9091/}) or by using the @command{transmission-remote} command-line tool, available in the @code{transmission} package. (Emacs users may want to also consider the @code{emacs-transmission} package.) Both communicate with the daemon through its remote procedure call (RPC) interface, which by default is available to all users on the system; you may wish to change this by assigning values to the @code{rpc-authentication-required?}, @code{rpc-username} and @code{rpc-password} settings, as shown in the example above and documented further below."
  36714. msgstr ""
  36715. #. type: Plain text
  36716. #: guix-git/doc/guix.texi:24785
  36717. msgid "The value for @code{rpc-password} must be a password hash of the type generated and used by Transmission clients. This can be copied verbatim from an existing @file{settings.json} file, if another Transmission client is already being used. Otherwise, the @code{transmission-password-hash} and @code{transmission-random-salt} procedures provided by this module can be used to obtain a suitable hash value."
  36718. msgstr ""
  36719. #. type: deffn
  36720. #: guix-git/doc/guix.texi:24786
  36721. #, no-wrap
  36722. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  36723. msgstr ""
  36724. #. type: deffn
  36725. #: guix-git/doc/guix.texi:24790
  36726. msgid "Returns a string containing the result of hashing @var{password} together with @var{salt}, in the format recognized by Transmission clients for their @code{rpc-password} configuration setting."
  36727. msgstr ""
  36728. #. type: deffn
  36729. #: guix-git/doc/guix.texi:24794
  36730. msgid "@var{salt} must be an eight-character string. The @code{transmission-random-salt} procedure can be used to generate a suitable salt value at random."
  36731. msgstr ""
  36732. #. type: deffn
  36733. #: guix-git/doc/guix.texi:24796
  36734. #, no-wrap
  36735. msgid "{Scheme Procedure} transmission-random-salt"
  36736. msgstr ""
  36737. #. type: deffn
  36738. #: guix-git/doc/guix.texi:24800
  36739. msgid "Returns a string containing a random, eight-character salt value of the type generated and used by Transmission clients, suitable for passing to the @code{transmission-password-hash} procedure."
  36740. msgstr ""
  36741. #. type: Plain text
  36742. #: guix-git/doc/guix.texi:24806
  36743. msgid "These procedures are accessible from within a Guile REPL started with the @command{guix repl} command (@pxref{Invoking guix repl}). This is useful for obtaining a random salt value to provide as the second parameter to `transmission-password-hash`, as in this example session:"
  36744. msgstr ""
  36745. #. type: example
  36746. #: guix-git/doc/guix.texi:24812
  36747. #, no-wrap
  36748. msgid ""
  36749. "$ guix repl\n"
  36750. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36751. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36752. "$1 = \"uKd1uMs9\"\n"
  36753. msgstr ""
  36754. #. type: Plain text
  36755. #: guix-git/doc/guix.texi:24815
  36756. msgid "Alternatively, a complete password hash can generated in a single step:"
  36757. msgstr ""
  36758. #. type: example
  36759. #: guix-git/doc/guix.texi:24820
  36760. #, no-wrap
  36761. msgid ""
  36762. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36763. "(transmission-random-salt))\n"
  36764. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36765. msgstr ""
  36766. #. type: Plain text
  36767. #: guix-git/doc/guix.texi:24825
  36768. msgid "The resulting string can be used as-is for the value of @code{rpc-password}, allowing the password to be kept hidden even in the operating-system configuration."
  36769. msgstr ""
  36770. #. type: Plain text
  36771. #: guix-git/doc/guix.texi:24834
  36772. msgid "Torrent files downloaded by the daemon are directly accessible only to users in the ``transmission'' user group, who receive read-only access to the directory specified by the @code{download-dir} configuration setting (and also the directory specified by @code{incomplete-dir}, if @code{incomplete-dir-enabled?} is @code{#t}). Downloaded files can be moved to another directory or deleted altogether using @command{transmission-remote} with its @code{--move} and @code{--remove-and-delete} options."
  36773. msgstr ""
  36774. #. type: Plain text
  36775. #: guix-git/doc/guix.texi:24841
  36776. msgid "If the @code{watch-dir-enabled?} setting is set to @code{#t}, users in the ``transmission'' group are able also to place @file{.torrent} files in the directory specified by @code{watch-dir} to have the corresponding torrents added by the daemon. (The @code{trash-original-torrent-files?} setting controls whether the daemon deletes these files after processing them.)"
  36777. msgstr ""
  36778. #. type: Plain text
  36779. #: guix-git/doc/guix.texi:24846
  36780. msgid "Some of the daemon's configuration settings can be changed temporarily by @command{transmission-remote} and similar tools. To undo these changes, use the service's @code{reload} action to have the daemon reload its settings from disk:"
  36781. msgstr ""
  36782. #. type: example
  36783. #: guix-git/doc/guix.texi:24849
  36784. #, no-wrap
  36785. msgid "# herd reload transmission-daemon\n"
  36786. msgstr ""
  36787. #. type: Plain text
  36788. #: guix-git/doc/guix.texi:24853
  36789. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36790. msgstr ""
  36791. #. type: deftp
  36792. #: guix-git/doc/guix.texi:24854
  36793. #, no-wrap
  36794. msgid "{Data Type} transmission-daemon-configuration"
  36795. msgstr ""
  36796. #. type: deftp
  36797. #: guix-git/doc/guix.texi:24858
  36798. msgid "The data type representing configuration settings for Transmission Daemon. These correspond directly to the settings recognized by Transmission clients in their @file{settings.json} file."
  36799. msgstr ""
  36800. #. type: Plain text
  36801. #: guix-git/doc/guix.texi:24872
  36802. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36803. msgstr ""
  36804. #. type: deftypevr
  36805. #: guix-git/doc/guix.texi:24873
  36806. #, no-wrap
  36807. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36808. msgstr ""
  36809. #. type: deftypevr
  36810. #: guix-git/doc/guix.texi:24875
  36811. msgid "The Transmission package to use."
  36812. msgstr ""
  36813. #. type: deftypevr
  36814. #: guix-git/doc/guix.texi:24878
  36815. #, no-wrap
  36816. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36817. msgstr ""
  36818. #. type: deftypevr
  36819. #: guix-git/doc/guix.texi:24884
  36820. msgid "The period, in seconds, to wait when stopping the service for @command{transmission-daemon} to exit before killing its process. This allows the daemon time to complete its housekeeping and send a final update to trackers as it shuts down. On slow hosts, or hosts with a slow network connection, this value may need to be increased."
  36821. msgstr ""
  36822. #. type: deftypevr
  36823. #: guix-git/doc/guix.texi:24886 guix-git/doc/guix.texi:25258
  36824. #: guix-git/doc/guix.texi:32566 guix-git/doc/guix.texi:32801
  36825. #: guix-git/doc/guix.texi:32809 guix-git/doc/guix.texi:32817
  36826. msgid "Defaults to @samp{10}."
  36827. msgstr ""
  36828. #. type: deftypevr
  36829. #: guix-git/doc/guix.texi:24889
  36830. #, no-wrap
  36831. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36832. msgstr ""
  36833. #. type: deftypevr
  36834. #: guix-git/doc/guix.texi:24891
  36835. msgid "The directory to which torrent files are downloaded."
  36836. msgstr ""
  36837. #. type: deftypevr
  36838. #: guix-git/doc/guix.texi:24893
  36839. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36840. msgstr ""
  36841. #. type: deftypevr
  36842. #: guix-git/doc/guix.texi:24896
  36843. #, no-wrap
  36844. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36845. msgstr ""
  36846. #. type: deftypevr
  36847. #: guix-git/doc/guix.texi:24901
  36848. msgid "If @code{#t}, files will be held in @code{incomplete-dir} while their torrent is being downloaded, then moved to @code{download-dir} once the torrent is complete. Otherwise, files for all torrents (including those still being downloaded) will be placed in @code{download-dir}."
  36849. msgstr ""
  36850. #. type: deftypevr
  36851. #: guix-git/doc/guix.texi:24906
  36852. #, no-wrap
  36853. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36854. msgstr ""
  36855. #. type: deftypevr
  36856. #: guix-git/doc/guix.texi:24909
  36857. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36858. msgstr ""
  36859. #. type: deftypevr
  36860. #: guix-git/doc/guix.texi:24914
  36861. #, no-wrap
  36862. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36863. msgstr ""
  36864. #. type: deftypevr
  36865. #: guix-git/doc/guix.texi:24917
  36866. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36867. msgstr ""
  36868. #. type: deftypevr
  36869. #: guix-git/doc/guix.texi:24919
  36870. msgid "Defaults to @samp{18}."
  36871. msgstr ""
  36872. #. type: deftypevr
  36873. #: guix-git/doc/guix.texi:24922
  36874. #, no-wrap
  36875. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36876. msgstr ""
  36877. #. type: deftypevr
  36878. #: guix-git/doc/guix.texi:24925
  36879. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36880. msgstr ""
  36881. #. type: deftypevr
  36882. #: guix-git/doc/guix.texi:24930
  36883. #, no-wrap
  36884. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36885. msgstr ""
  36886. #. type: deftypevr
  36887. #: guix-git/doc/guix.texi:24935
  36888. msgid "The mode by which space should be preallocated for downloaded files, one of @code{none}, @code{fast} (or @code{sparse}) and @code{full}. Specifying @code{full} will minimize disk fragmentation at a cost to file-creation speed."
  36889. msgstr ""
  36890. #. type: deftypevr
  36891. #: guix-git/doc/guix.texi:24937
  36892. msgid "Defaults to @samp{fast}."
  36893. msgstr ""
  36894. #. type: deftypevr
  36895. #: guix-git/doc/guix.texi:24940
  36896. #, no-wrap
  36897. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36898. msgstr ""
  36899. #. type: deftypevr
  36900. #: guix-git/doc/guix.texi:24945
  36901. msgid "If @code{#t}, the directory specified by @code{watch-dir} will be watched for new @file{.torrent} files and the torrents they describe added automatically (and the original files removed, if @code{trash-original-torrent-files?} is @code{#t})."
  36902. msgstr ""
  36903. #. type: deftypevr
  36904. #: guix-git/doc/guix.texi:24950
  36905. #, no-wrap
  36906. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36907. msgstr ""
  36908. #. type: deftypevr
  36909. #: guix-git/doc/guix.texi:24953
  36910. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36911. msgstr ""
  36912. #. type: deftypevr
  36913. #: guix-git/doc/guix.texi:24958
  36914. #, no-wrap
  36915. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36916. msgstr ""
  36917. #. type: deftypevr
  36918. #: guix-git/doc/guix.texi:24962
  36919. msgid "When @code{#t}, @file{.torrent} files will be deleted from the watch directory once their torrent has been added (see @code{watch-directory-enabled?})."
  36920. msgstr ""
  36921. #. type: deftypevr
  36922. #: guix-git/doc/guix.texi:24967
  36923. #, no-wrap
  36924. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36925. msgstr ""
  36926. #. type: deftypevr
  36927. #: guix-git/doc/guix.texi:24970
  36928. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36929. msgstr ""
  36930. #. type: deftypevr
  36931. #: guix-git/doc/guix.texi:24975
  36932. #, no-wrap
  36933. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36934. msgstr ""
  36935. #. type: deftypevr
  36936. #: guix-git/doc/guix.texi:24977
  36937. msgid "The default global-maximum download speed, in kilobytes per second."
  36938. msgstr ""
  36939. #. type: deftypevr
  36940. #: guix-git/doc/guix.texi:24982
  36941. #, no-wrap
  36942. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36943. msgstr ""
  36944. #. type: deftypevr
  36945. #: guix-git/doc/guix.texi:24985
  36946. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36947. msgstr ""
  36948. #. type: deftypevr
  36949. #: guix-git/doc/guix.texi:24990
  36950. #, no-wrap
  36951. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36952. msgstr ""
  36953. #. type: deftypevr
  36954. #: guix-git/doc/guix.texi:24992
  36955. msgid "The default global-maximum upload speed, in kilobytes per second."
  36956. msgstr ""
  36957. #. type: deftypevr
  36958. #: guix-git/doc/guix.texi:24997
  36959. #, no-wrap
  36960. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36961. msgstr ""
  36962. #. type: deftypevr
  36963. #: guix-git/doc/guix.texi:25003
  36964. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} are used (in place of @code{speed-limit-down} and @code{speed-limit-up}, if they are enabled) to constrain the daemon's bandwidth usage. This can be scheduled to occur automatically at certain times during the week; see @code{alt-speed-time-enabled?}."
  36965. msgstr ""
  36966. #. type: deftypevr
  36967. #: guix-git/doc/guix.texi:25008
  36968. #, no-wrap
  36969. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36970. msgstr ""
  36971. #. type: deftypevr
  36972. #: guix-git/doc/guix.texi:25010
  36973. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36974. msgstr ""
  36975. #. type: deftypevr
  36976. #: guix-git/doc/guix.texi:25012 guix-git/doc/guix.texi:25019
  36977. #: guix-git/doc/guix.texi:25191 guix-git/doc/guix.texi:32573
  36978. #: guix-git/doc/guix.texi:32588
  36979. msgid "Defaults to @samp{50}."
  36980. msgstr ""
  36981. #. type: deftypevr
  36982. #: guix-git/doc/guix.texi:25015
  36983. #, no-wrap
  36984. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36985. msgstr ""
  36986. #. type: deftypevr
  36987. #: guix-git/doc/guix.texi:25017
  36988. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36989. msgstr ""
  36990. #. type: deftypevr
  36991. #: guix-git/doc/guix.texi:25022
  36992. #, no-wrap
  36993. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36994. msgstr ""
  36995. #. type: deftypevr
  36996. #: guix-git/doc/guix.texi:25027
  36997. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} will be enabled automatically during the periods specified by @code{alt-speed-time-day}, @code{alt-speed-time-begin} and @code{alt-time-speed-end}."
  36998. msgstr ""
  36999. #. type: deftypevr
  37000. #: guix-git/doc/guix.texi:25032
  37001. #, no-wrap
  37002. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  37003. msgstr ""
  37004. #. type: deftypevr
  37005. #: guix-git/doc/guix.texi:25037
  37006. msgid "The days of the week on which the alternate-speed schedule should be used, specified either as a list of days (@code{sunday}, @code{monday}, and so on) or using one of the symbols @code{weekdays}, @code{weekends} or @code{all}."
  37007. msgstr ""
  37008. #. type: deftypevr
  37009. #: guix-git/doc/guix.texi:25039
  37010. msgid "Defaults to @samp{all}."
  37011. msgstr ""
  37012. #. type: deftypevr
  37013. #: guix-git/doc/guix.texi:25042
  37014. #, no-wrap
  37015. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  37016. msgstr ""
  37017. #. type: deftypevr
  37018. #: guix-git/doc/guix.texi:25045
  37019. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  37020. msgstr ""
  37021. #. type: deftypevr
  37022. #: guix-git/doc/guix.texi:25047
  37023. msgid "Defaults to @samp{540}."
  37024. msgstr ""
  37025. #. type: deftypevr
  37026. #: guix-git/doc/guix.texi:25050
  37027. #, no-wrap
  37028. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  37029. msgstr ""
  37030. #. type: deftypevr
  37031. #: guix-git/doc/guix.texi:25053
  37032. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  37033. msgstr ""
  37034. #. type: deftypevr
  37035. #: guix-git/doc/guix.texi:25055
  37036. msgid "Defaults to @samp{1020}."
  37037. msgstr ""
  37038. #. type: deftypevr
  37039. #: guix-git/doc/guix.texi:25058
  37040. #, no-wrap
  37041. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  37042. msgstr ""
  37043. #. type: deftypevr
  37044. #: guix-git/doc/guix.texi:25061
  37045. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37046. msgstr ""
  37047. #. type: deftypevr
  37048. #: guix-git/doc/guix.texi:25063 guix-git/doc/guix.texi:25366
  37049. #: guix-git/doc/guix.texi:30430
  37050. msgid "Defaults to @samp{\"0.0.0.0\"}."
  37051. msgstr ""
  37052. #. type: deftypevr
  37053. #: guix-git/doc/guix.texi:25066
  37054. #, no-wrap
  37055. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  37056. msgstr ""
  37057. #. type: deftypevr
  37058. #: guix-git/doc/guix.texi:25069
  37059. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  37060. msgstr ""
  37061. #. type: deftypevr
  37062. #: guix-git/doc/guix.texi:25071
  37063. msgid "Defaults to @samp{\"::\"}."
  37064. msgstr ""
  37065. #. type: deftypevr
  37066. #: guix-git/doc/guix.texi:25074
  37067. #, no-wrap
  37068. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  37069. msgstr ""
  37070. #. type: deftypevr
  37071. #: guix-git/doc/guix.texi:25080
  37072. msgid "If @code{#t}, when the daemon starts it will select a port at random on which to listen for peer connections, from the range specified (inclusively) by @code{peer-port-random-low} and @code{peer-port-random-high}. Otherwise, it listens on the port specified by @code{peer-port}."
  37073. msgstr ""
  37074. #. type: deftypevr
  37075. #: guix-git/doc/guix.texi:25085
  37076. #, no-wrap
  37077. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  37078. msgstr ""
  37079. #. type: deftypevr
  37080. #: guix-git/doc/guix.texi:25088
  37081. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  37082. msgstr ""
  37083. #. type: deftypevr
  37084. #: guix-git/doc/guix.texi:25090
  37085. msgid "Defaults to @samp{49152}."
  37086. msgstr ""
  37087. #. type: deftypevr
  37088. #: guix-git/doc/guix.texi:25093
  37089. #, no-wrap
  37090. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  37091. msgstr ""
  37092. #. type: deftypevr
  37093. #: guix-git/doc/guix.texi:25096
  37094. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  37095. msgstr ""
  37096. #. type: deftypevr
  37097. #: guix-git/doc/guix.texi:25098
  37098. msgid "Defaults to @samp{65535}."
  37099. msgstr ""
  37100. #. type: deftypevr
  37101. #: guix-git/doc/guix.texi:25101
  37102. #, no-wrap
  37103. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  37104. msgstr ""
  37105. #. type: deftypevr
  37106. #: guix-git/doc/guix.texi:25104
  37107. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  37108. msgstr ""
  37109. #. type: deftypevr
  37110. #: guix-git/doc/guix.texi:25106
  37111. msgid "Defaults to @samp{51413}."
  37112. msgstr ""
  37113. #. type: deftypevr
  37114. #: guix-git/doc/guix.texi:25109
  37115. #, no-wrap
  37116. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  37117. msgstr ""
  37118. #. type: deftypevr
  37119. #: guix-git/doc/guix.texi:25113
  37120. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  37121. msgstr ""
  37122. #. type: deftypevr
  37123. #: guix-git/doc/guix.texi:25118
  37124. #, no-wrap
  37125. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  37126. msgstr ""
  37127. #. type: deftypevr
  37128. #: guix-git/doc/guix.texi:25123
  37129. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  37130. msgstr ""
  37131. #. type: deftypevr
  37132. #: guix-git/doc/guix.texi:25125
  37133. msgid "Defaults to @samp{prefer-encrypted-connections}."
  37134. msgstr ""
  37135. #. type: deftypevr
  37136. #: guix-git/doc/guix.texi:25128
  37137. #, no-wrap
  37138. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  37139. msgstr ""
  37140. #. type: deftypevr
  37141. #: guix-git/doc/guix.texi:25133
  37142. msgid "The TCP congestion-control algorithm to use for peer connections, specified using a string recognized by the operating system in calls to @code{setsockopt} (or set to @code{disabled}, in which case the operating-system default is used)."
  37143. msgstr ""
  37144. #. type: deftypevr
  37145. #: guix-git/doc/guix.texi:25142
  37146. msgid "Note that on GNU/Linux systems, the kernel must be configured to allow processes to use a congestion-control algorithm not in the default set; otherwise, it will deny these requests with ``Operation not permitted''. To see which algorithms are available on your system and which are currently permitted for use, look at the contents of the files @file{tcp_available_congestion_control} and @file{tcp_allowed_congestion_control} in the @file{/proc/sys/net/ipv4} directory."
  37147. msgstr ""
  37148. #. type: deftypevr
  37149. #: guix-git/doc/guix.texi:25150
  37150. msgid "As an example, to have Transmission Daemon use @uref{http://www-ece.rice.edu/networks/TCP-LP/,the TCP Low Priority congestion-control algorithm}, you'll need to modify your kernel configuration to build in support for the algorithm, then update your operating-system configuration to allow its use by adding a @code{sysctl-service-type} service (or updating the existing one's configuration) with lines like the following:"
  37151. msgstr ""
  37152. #. type: lisp
  37153. #: guix-git/doc/guix.texi:25157
  37154. #, no-wrap
  37155. msgid ""
  37156. "(service sysctl-service-type\n"
  37157. " (sysctl-configuration\n"
  37158. " (settings\n"
  37159. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  37160. " \"reno cubic lp\"))))\n"
  37161. msgstr ""
  37162. #. type: deftypevr
  37163. #: guix-git/doc/guix.texi:25160
  37164. msgid "The Transmission Daemon configuration can then be updated with"
  37165. msgstr ""
  37166. #. type: lisp
  37167. #: guix-git/doc/guix.texi:25163
  37168. #, no-wrap
  37169. msgid "(peer-congestion-algorithm \"lp\")\n"
  37170. msgstr ""
  37171. #. type: deftypevr
  37172. #: guix-git/doc/guix.texi:25166
  37173. msgid "and the system reconfigured to have the changes take effect."
  37174. msgstr ""
  37175. #. type: deftypevr
  37176. #: guix-git/doc/guix.texi:25171
  37177. #, no-wrap
  37178. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  37179. msgstr ""
  37180. #. type: deftypevr
  37181. #: guix-git/doc/guix.texi:25175
  37182. msgid "The type of service to request in outgoing @acronym{TCP} packets, one of @code{default}, @code{low-cost}, @code{throughput}, @code{low-delay} and @code{reliability}."
  37183. msgstr ""
  37184. #. type: deftypevr
  37185. #: guix-git/doc/guix.texi:25177
  37186. msgid "Defaults to @samp{default}."
  37187. msgstr ""
  37188. #. type: deftypevr
  37189. #: guix-git/doc/guix.texi:25180
  37190. #, no-wrap
  37191. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  37192. msgstr ""
  37193. #. type: deftypevr
  37194. #: guix-git/doc/guix.texi:25182
  37195. msgid "The global limit on the number of connected peers."
  37196. msgstr ""
  37197. #. type: deftypevr
  37198. #: guix-git/doc/guix.texi:25184
  37199. msgid "Defaults to @samp{200}."
  37200. msgstr ""
  37201. #. type: deftypevr
  37202. #: guix-git/doc/guix.texi:25187
  37203. #, no-wrap
  37204. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  37205. msgstr ""
  37206. #. type: deftypevr
  37207. #: guix-git/doc/guix.texi:25189
  37208. msgid "The per-torrent limit on the number of connected peers."
  37209. msgstr ""
  37210. #. type: deftypevr
  37211. #: guix-git/doc/guix.texi:25194
  37212. #, no-wrap
  37213. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  37214. msgstr ""
  37215. #. type: deftypevr
  37216. #: guix-git/doc/guix.texi:25197
  37217. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  37218. msgstr ""
  37219. #. type: deftypevr
  37220. #: guix-git/doc/guix.texi:25199
  37221. msgid "Defaults to @samp{14}."
  37222. msgstr ""
  37223. #. type: deftypevr
  37224. #: guix-git/doc/guix.texi:25202
  37225. #, no-wrap
  37226. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  37227. msgstr ""
  37228. #. type: deftypevr
  37229. #: guix-git/doc/guix.texi:25205
  37230. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  37231. msgstr ""
  37232. #. type: deftypevr
  37233. #: guix-git/doc/guix.texi:25207
  37234. msgid "Defaults to @samp{6}."
  37235. msgstr ""
  37236. #. type: deftypevr
  37237. #: guix-git/doc/guix.texi:25210
  37238. #, no-wrap
  37239. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  37240. msgstr ""
  37241. #. type: deftypevr
  37242. #: guix-git/doc/guix.texi:25213
  37243. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  37244. msgstr ""
  37245. #. type: deftypevr
  37246. #: guix-git/doc/guix.texi:25218
  37247. #, no-wrap
  37248. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  37249. msgstr ""
  37250. #. type: deftypevr
  37251. #: guix-git/doc/guix.texi:25222
  37252. msgid "The URL of a peer blocklist (in @acronym{P2P}-plaintext or eMule @file{.dat} format) to be periodically downloaded and applied when @code{blocklist-enabled?} is @code{#t}."
  37253. msgstr ""
  37254. #. type: deftypevr
  37255. #: guix-git/doc/guix.texi:25227
  37256. #, no-wrap
  37257. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  37258. msgstr ""
  37259. #. type: deftypevr
  37260. #: guix-git/doc/guix.texi:25230
  37261. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  37262. msgstr ""
  37263. #. type: deftypevr
  37264. #: guix-git/doc/guix.texi:25235
  37265. #, no-wrap
  37266. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  37267. msgstr ""
  37268. #. type: deftypevr
  37269. #: guix-git/doc/guix.texi:25239
  37270. msgid "The size of the daemon's download queue, which limits the number of non-stalled torrents it will download at any one time when @code{download-queue-enabled?} is @code{#t}."
  37271. msgstr ""
  37272. #. type: deftypevr
  37273. #: guix-git/doc/guix.texi:25244
  37274. #, no-wrap
  37275. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  37276. msgstr ""
  37277. #. type: deftypevr
  37278. #: guix-git/doc/guix.texi:25247
  37279. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  37280. msgstr ""
  37281. #. type: deftypevr
  37282. #: guix-git/doc/guix.texi:25252
  37283. #, no-wrap
  37284. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  37285. msgstr ""
  37286. #. type: deftypevr
  37287. #: guix-git/doc/guix.texi:25256
  37288. msgid "The size of the daemon's seed queue, which limits the number of non-stalled torrents it will seed at any one time when @code{seed-queue-enabled?} is @code{#t}."
  37289. msgstr ""
  37290. #. type: deftypevr
  37291. #: guix-git/doc/guix.texi:25261
  37292. #, no-wrap
  37293. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  37294. msgstr ""
  37295. #. type: deftypevr
  37296. #: guix-git/doc/guix.texi:25266
  37297. msgid "When @code{#t}, the daemon will consider torrents for which it has not shared data in the past @code{queue-stalled-minutes} minutes to be stalled and not count them against its @code{download-queue-size} and @code{seed-queue-size} limits."
  37298. msgstr ""
  37299. #. type: deftypevr
  37300. #: guix-git/doc/guix.texi:25271
  37301. #, no-wrap
  37302. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  37303. msgstr ""
  37304. #. type: deftypevr
  37305. #: guix-git/doc/guix.texi:25275
  37306. msgid "The maximum period, in minutes, a torrent may be idle before it is considered to be stalled, when @code{queue-stalled-enabled?} is @code{#t}."
  37307. msgstr ""
  37308. #. type: deftypevr
  37309. #: guix-git/doc/guix.texi:25280
  37310. #, no-wrap
  37311. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  37312. msgstr ""
  37313. #. type: deftypevr
  37314. #: guix-git/doc/guix.texi:25283
  37315. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  37316. msgstr ""
  37317. #. type: deftypevr
  37318. #: guix-git/doc/guix.texi:25288
  37319. #, no-wrap
  37320. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  37321. msgstr ""
  37322. #. type: deftypevr
  37323. #: guix-git/doc/guix.texi:25291
  37324. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  37325. msgstr ""
  37326. #. type: deftypevr
  37327. #: guix-git/doc/guix.texi:25293
  37328. msgid "Defaults to @samp{2.0}."
  37329. msgstr ""
  37330. #. type: deftypevr
  37331. #: guix-git/doc/guix.texi:25296
  37332. #, no-wrap
  37333. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  37334. msgstr ""
  37335. #. type: deftypevr
  37336. #: guix-git/doc/guix.texi:25299
  37337. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  37338. msgstr ""
  37339. #. type: deftypevr
  37340. #: guix-git/doc/guix.texi:25304
  37341. #, no-wrap
  37342. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  37343. msgstr ""
  37344. #. type: deftypevr
  37345. #: guix-git/doc/guix.texi:25308
  37346. msgid "The maximum period, in minutes, a torrent being seeded may be idle before it is paused, when @code{idle-seeding-limit-enabled?} is @code{#t}."
  37347. msgstr ""
  37348. #. type: deftypevr
  37349. #: guix-git/doc/guix.texi:25313
  37350. #, no-wrap
  37351. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  37352. msgstr ""
  37353. #. type: deftypevr
  37354. #: guix-git/doc/guix.texi:25317
  37355. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  37356. msgstr ""
  37357. #. type: deftypevr
  37358. #: guix-git/doc/guix.texi:25322
  37359. #, no-wrap
  37360. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  37361. msgstr ""
  37362. #. type: deftypevr
  37363. #: guix-git/doc/guix.texi:25327
  37364. msgid "Enable @uref{https://en.wikipedia.org/wiki/Local_Peer_Discovery,local peer discovery} (@acronym{LPD}), which allows the discovery of peers on the local network and may reduce the amount of data sent over the public Internet."
  37365. msgstr ""
  37366. #. type: deftypevr
  37367. #: guix-git/doc/guix.texi:25332
  37368. #, no-wrap
  37369. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  37370. msgstr ""
  37371. #. type: deftypevr
  37372. #: guix-git/doc/guix.texi:25336
  37373. msgid "Enable @uref{https://en.wikipedia.org/wiki/Peer_exchange,peer exchange} (@acronym{PEX}), which reduces the daemon's reliance on external trackers and may improve its performance."
  37374. msgstr ""
  37375. #. type: deftypevr
  37376. #: guix-git/doc/guix.texi:25341
  37377. #, no-wrap
  37378. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  37379. msgstr ""
  37380. #. type: deftypevr
  37381. #: guix-git/doc/guix.texi:25346
  37382. msgid "Enable @uref{http://bittorrent.org/beps/bep_0029.html,the micro transport protocol} (@acronym{uTP}), which aims to reduce the impact of BitTorrent traffic on other users of the local network while maintaining full utilization of the available bandwidth."
  37383. msgstr ""
  37384. #. type: deftypevr
  37385. #: guix-git/doc/guix.texi:25351
  37386. #, no-wrap
  37387. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  37388. msgstr ""
  37389. #. type: deftypevr
  37390. #: guix-git/doc/guix.texi:25356
  37391. msgid "If @code{#t}, enable the remote procedure call (@acronym{RPC}) interface, which allows remote control of the daemon via its Web interface, the @command{transmission-remote} command-line client, and similar tools."
  37392. msgstr ""
  37393. #. type: deftypevr
  37394. #: guix-git/doc/guix.texi:25361
  37395. #, no-wrap
  37396. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  37397. msgstr ""
  37398. #. type: deftypevr
  37399. #: guix-git/doc/guix.texi:25364
  37400. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37401. msgstr ""
  37402. #. type: deftypevr
  37403. #: guix-git/doc/guix.texi:25369
  37404. #, no-wrap
  37405. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  37406. msgstr ""
  37407. #. type: deftypevr
  37408. #: guix-git/doc/guix.texi:25371
  37409. msgid "The port on which to listen for @acronym{RPC} connections."
  37410. msgstr ""
  37411. #. type: deftypevr
  37412. #: guix-git/doc/guix.texi:25373
  37413. msgid "Defaults to @samp{9091}."
  37414. msgstr ""
  37415. #. type: deftypevr
  37416. #: guix-git/doc/guix.texi:25376
  37417. #, no-wrap
  37418. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  37419. msgstr ""
  37420. #. type: deftypevr
  37421. #: guix-git/doc/guix.texi:25378
  37422. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  37423. msgstr ""
  37424. #. type: deftypevr
  37425. #: guix-git/doc/guix.texi:25380
  37426. msgid "Defaults to @samp{\"/transmission/\"}."
  37427. msgstr ""
  37428. #. type: deftypevr
  37429. #: guix-git/doc/guix.texi:25383
  37430. #, no-wrap
  37431. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  37432. msgstr ""
  37433. #. type: deftypevr
  37434. #: guix-git/doc/guix.texi:25388
  37435. msgid "When @code{#t}, clients must authenticate (see @code{rpc-username} and @code{rpc-password}) when using the @acronym{RPC} interface. Note this has the side effect of disabling host-name whitelisting (see @code{rpc-host-whitelist-enabled?}."
  37436. msgstr ""
  37437. #. type: deftypevr
  37438. #: guix-git/doc/guix.texi:25393
  37439. #, no-wrap
  37440. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  37441. msgstr ""
  37442. #. type: deftypevr
  37443. #: guix-git/doc/guix.texi:25396
  37444. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  37445. msgstr ""
  37446. #. type: deftypevr
  37447. #: guix-git/doc/guix.texi:25401
  37448. #, no-wrap
  37449. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  37450. msgstr ""
  37451. #. type: deftypevr
  37452. #: guix-git/doc/guix.texi:25407
  37453. msgid "The password required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}. This must be specified using a password hash in the format recognized by Transmission clients, either copied from an existing @file{settings.json} file or generated using the @code{transmission-password-hash} procedure."
  37454. msgstr ""
  37455. #. type: deftypevr
  37456. #: guix-git/doc/guix.texi:25412
  37457. #, no-wrap
  37458. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  37459. msgstr ""
  37460. #. type: deftypevr
  37461. #: guix-git/doc/guix.texi:25415
  37462. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  37463. msgstr ""
  37464. #. type: deftypevr
  37465. #: guix-git/doc/guix.texi:25420
  37466. #, no-wrap
  37467. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  37468. msgstr ""
  37469. #. type: deftypevr
  37470. #: guix-git/doc/guix.texi:25424
  37471. msgid "The list of IP and IPv6 addresses from which @acronym{RPC} requests will be accepted when @code{rpc-whitelist-enabled?} is @code{#t}. Wildcards may be specified using @samp{*}."
  37472. msgstr ""
  37473. #. type: deftypevr
  37474. #: guix-git/doc/guix.texi:25426
  37475. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  37476. msgstr ""
  37477. #. type: deftypevr
  37478. #: guix-git/doc/guix.texi:25429
  37479. #, no-wrap
  37480. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  37481. msgstr ""
  37482. #. type: deftypevr
  37483. #: guix-git/doc/guix.texi:25434
  37484. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they are addressed to a host named in @code{rpc-host-whitelist}. Note that requests to ``localhost'' or ``localhost.'', or to a numeric address, are always accepted regardless of these settings."
  37485. msgstr ""
  37486. #. type: deftypevr
  37487. #: guix-git/doc/guix.texi:25437
  37488. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  37489. msgstr ""
  37490. #. type: deftypevr
  37491. #: guix-git/doc/guix.texi:25442
  37492. #, no-wrap
  37493. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  37494. msgstr ""
  37495. #. type: deftypevr
  37496. #: guix-git/doc/guix.texi:25445
  37497. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  37498. msgstr ""
  37499. #. type: deftypevr
  37500. #: guix-git/doc/guix.texi:25450
  37501. #, no-wrap
  37502. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  37503. msgstr ""
  37504. #. type: deftypevr
  37505. #: guix-git/doc/guix.texi:25454
  37506. msgid "The minimum severity level of messages to be logged (to @file{/var/log/transmission.log}) by the daemon, one of @code{none} (no logging), @code{error}, @code{info} and @code{debug}."
  37507. msgstr ""
  37508. #. type: deftypevr
  37509. #: guix-git/doc/guix.texi:25459
  37510. #, no-wrap
  37511. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  37512. msgstr ""
  37513. #. type: deftypevr
  37514. #: guix-git/doc/guix.texi:25462
  37515. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  37516. msgstr ""
  37517. #. type: deftypevr
  37518. #: guix-git/doc/guix.texi:25467
  37519. #, no-wrap
  37520. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  37521. msgstr ""
  37522. #. type: deftypevr
  37523. #: guix-git/doc/guix.texi:25471
  37524. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  37525. msgstr ""
  37526. #. type: deftypevr
  37527. #: guix-git/doc/guix.texi:25476
  37528. #, no-wrap
  37529. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  37530. msgstr ""
  37531. #. type: deftypevr
  37532. #: guix-git/doc/guix.texi:25480
  37533. msgid "A file name or file-like object specifying a script to run each time a torrent completes, when @code{script-torrent-done-enabled?} is @code{#t}."
  37534. msgstr ""
  37535. #. type: deftypevr
  37536. #: guix-git/doc/guix.texi:25485
  37537. #, no-wrap
  37538. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  37539. msgstr ""
  37540. #. type: deftypevr
  37541. #: guix-git/doc/guix.texi:25488
  37542. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  37543. msgstr ""
  37544. #. type: deftypevr
  37545. #: guix-git/doc/guix.texi:25493
  37546. #, no-wrap
  37547. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  37548. msgstr ""
  37549. #. type: deftypevr
  37550. #: guix-git/doc/guix.texi:25497
  37551. msgid "The amount of memory, in megabytes, to allocate for the daemon's in-memory cache. A larger value may increase performance by reducing the frequency of disk I/O."
  37552. msgstr ""
  37553. #. type: deftypevr
  37554. #: guix-git/doc/guix.texi:25499
  37555. msgid "Defaults to @samp{4}."
  37556. msgstr ""
  37557. #. type: deftypevr
  37558. #: guix-git/doc/guix.texi:25502
  37559. #, no-wrap
  37560. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  37561. msgstr ""
  37562. #. type: deftypevr
  37563. #: guix-git/doc/guix.texi:25506
  37564. msgid "When @code{#t}, the daemon will try to improve I/O performance by hinting to the operating system which data is likely to be read next from disk to satisfy requests from peers."
  37565. msgstr ""
  37566. #. type: subsubheading
  37567. #: guix-git/doc/guix.texi:25519
  37568. #, no-wrap
  37569. msgid "Tailon Service"
  37570. msgstr ""
  37571. #. type: Plain text
  37572. #: guix-git/doc/guix.texi:25523
  37573. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  37574. msgstr ""
  37575. #. type: Plain text
  37576. #: guix-git/doc/guix.texi:25526
  37577. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  37578. msgstr ""
  37579. #. type: lisp
  37580. #: guix-git/doc/guix.texi:25529
  37581. #, no-wrap
  37582. msgid "(service tailon-service-type)\n"
  37583. msgstr ""
  37584. #. type: Plain text
  37585. #: guix-git/doc/guix.texi:25533
  37586. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  37587. msgstr ""
  37588. #. type: lisp
  37589. #: guix-git/doc/guix.texi:25540
  37590. #, no-wrap
  37591. msgid ""
  37592. "(service tailon-service-type\n"
  37593. " (tailon-configuration\n"
  37594. " (config-file\n"
  37595. " (tailon-configuration-file\n"
  37596. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  37597. msgstr ""
  37598. #. type: deftp
  37599. #: guix-git/doc/guix.texi:25543
  37600. #, no-wrap
  37601. msgid "{Data Type} tailon-configuration"
  37602. msgstr ""
  37603. #. type: deftp
  37604. #: guix-git/doc/guix.texi:25546
  37605. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  37606. msgstr ""
  37607. #. type: item
  37608. #: guix-git/doc/guix.texi:25548
  37609. #, no-wrap
  37610. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  37611. msgstr ""
  37612. #. type: table
  37613. #: guix-git/doc/guix.texi:25552
  37614. msgid "The configuration file to use for Tailon. This can be set to a @dfn{tailon-configuration-file} record value, or any gexp (@pxref{G-Expressions})."
  37615. msgstr ""
  37616. #. type: table
  37617. #: guix-git/doc/guix.texi:25555
  37618. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  37619. msgstr ""
  37620. #. type: lisp
  37621. #: guix-git/doc/guix.texi:25560
  37622. #, no-wrap
  37623. msgid ""
  37624. "(service tailon-service-type\n"
  37625. " (tailon-configuration\n"
  37626. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  37627. msgstr ""
  37628. #. type: item
  37629. #: guix-git/doc/guix.texi:25562
  37630. #, no-wrap
  37631. msgid "@code{package} (default: @code{tailon})"
  37632. msgstr ""
  37633. #. type: table
  37634. #: guix-git/doc/guix.texi:25564
  37635. msgid "The tailon package to use."
  37636. msgstr ""
  37637. #. type: deftp
  37638. #: guix-git/doc/guix.texi:25568
  37639. #, no-wrap
  37640. msgid "{Data Type} tailon-configuration-file"
  37641. msgstr ""
  37642. #. type: deftp
  37643. #: guix-git/doc/guix.texi:25571
  37644. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  37645. msgstr ""
  37646. #. type: item
  37647. #: guix-git/doc/guix.texi:25573
  37648. #, no-wrap
  37649. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  37650. msgstr ""
  37651. #. type: table
  37652. #: guix-git/doc/guix.texi:25578
  37653. msgid "List of files to display. The list can include strings for a single file or directory, or a list, where the first item is the name of a subsection, and the remaining items are the files or directories in that subsection."
  37654. msgstr ""
  37655. #. type: item
  37656. #: guix-git/doc/guix.texi:25579
  37657. #, no-wrap
  37658. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  37659. msgstr ""
  37660. #. type: table
  37661. #: guix-git/doc/guix.texi:25581
  37662. msgid "Address and port to which Tailon should bind on."
  37663. msgstr ""
  37664. #. type: item
  37665. #: guix-git/doc/guix.texi:25582
  37666. #, no-wrap
  37667. msgid "@code{relative-root} (default: @code{#f})"
  37668. msgstr ""
  37669. #. type: table
  37670. #: guix-git/doc/guix.texi:25584
  37671. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  37672. msgstr ""
  37673. #. type: item
  37674. #: guix-git/doc/guix.texi:25585
  37675. #, no-wrap
  37676. msgid "@code{allow-transfers?} (default: @code{#t})"
  37677. msgstr ""
  37678. #. type: table
  37679. #: guix-git/doc/guix.texi:25587
  37680. msgid "Allow downloading the log files in the web interface."
  37681. msgstr ""
  37682. #. type: item
  37683. #: guix-git/doc/guix.texi:25588
  37684. #, no-wrap
  37685. msgid "@code{follow-names?} (default: @code{#t})"
  37686. msgstr ""
  37687. #. type: table
  37688. #: guix-git/doc/guix.texi:25590
  37689. msgid "Allow tailing of not-yet existent files."
  37690. msgstr ""
  37691. #. type: item
  37692. #: guix-git/doc/guix.texi:25591
  37693. #, no-wrap
  37694. msgid "@code{tail-lines} (default: @code{200})"
  37695. msgstr ""
  37696. #. type: table
  37697. #: guix-git/doc/guix.texi:25593
  37698. msgid "Number of lines to read initially from each file."
  37699. msgstr ""
  37700. #. type: item
  37701. #: guix-git/doc/guix.texi:25594
  37702. #, no-wrap
  37703. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37704. msgstr ""
  37705. #. type: table
  37706. #: guix-git/doc/guix.texi:25596
  37707. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37708. msgstr ""
  37709. #. type: table
  37710. #: guix-git/doc/guix.texi:25599
  37711. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37712. msgstr ""
  37713. #. type: item
  37714. #: guix-git/doc/guix.texi:25600
  37715. #, no-wrap
  37716. msgid "@code{wrap-lines} (default: @code{#t})"
  37717. msgstr ""
  37718. #. type: table
  37719. #: guix-git/doc/guix.texi:25604
  37720. msgid "Initial line wrapping state in the web interface. Set to @code{#t} to initially wrap lines (the default), or to @code{#f} to initially not wrap lines."
  37721. msgstr ""
  37722. #. type: item
  37723. #: guix-git/doc/guix.texi:25605
  37724. #, no-wrap
  37725. msgid "@code{http-auth} (default: @code{#f})"
  37726. msgstr ""
  37727. #. type: table
  37728. #: guix-git/doc/guix.texi:25609
  37729. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  37730. msgstr ""
  37731. #. type: item
  37732. #: guix-git/doc/guix.texi:25610
  37733. #, no-wrap
  37734. msgid "@code{users} (default: @code{#f})"
  37735. msgstr ""
  37736. #. type: table
  37737. #: guix-git/doc/guix.texi:25615
  37738. msgid "If HTTP authentication is enabled (see @code{http-auth}), access will be restricted to the credentials provided here. To configure users, use a list of pairs, where the first element of the pair is the username, and the 2nd element of the pair is the password."
  37739. msgstr ""
  37740. #. type: lisp
  37741. #: guix-git/doc/guix.texi:25621
  37742. #, no-wrap
  37743. msgid ""
  37744. "(tailon-configuration-file\n"
  37745. " (http-auth \"basic\")\n"
  37746. " (users '((\"user1\" . \"password1\")\n"
  37747. " (\"user2\" . \"password2\"))))\n"
  37748. msgstr ""
  37749. #. type: subsubheading
  37750. #: guix-git/doc/guix.texi:25627
  37751. #, no-wrap
  37752. msgid "Darkstat Service"
  37753. msgstr ""
  37754. #. type: cindex
  37755. #: guix-git/doc/guix.texi:25628
  37756. #, no-wrap
  37757. msgid "darkstat"
  37758. msgstr ""
  37759. #. type: Plain text
  37760. #: guix-git/doc/guix.texi:25631
  37761. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37762. msgstr ""
  37763. #. type: defvar
  37764. #: guix-git/doc/guix.texi:25632
  37765. #, no-wrap
  37766. msgid "{Scheme Variable} darkstat-service-type"
  37767. msgstr ""
  37768. #. type: defvar
  37769. #: guix-git/doc/guix.texi:25637
  37770. msgid "This is the service type for the @uref{https://unix4lyfe.org/darkstat/, darkstat} service, its value must be a @code{darkstat-configuration} record as in this example:"
  37771. msgstr ""
  37772. #. type: lisp
  37773. #: guix-git/doc/guix.texi:25642
  37774. #, no-wrap
  37775. msgid ""
  37776. "(service darkstat-service-type\n"
  37777. " (darkstat-configuration\n"
  37778. " (interface \"eno1\")))\n"
  37779. msgstr ""
  37780. #. type: deftp
  37781. #: guix-git/doc/guix.texi:25645
  37782. #, no-wrap
  37783. msgid "{Data Type} darkstat-configuration"
  37784. msgstr ""
  37785. #. type: deftp
  37786. #: guix-git/doc/guix.texi:25647
  37787. msgid "Data type representing the configuration of @command{darkstat}."
  37788. msgstr ""
  37789. #. type: item
  37790. #: guix-git/doc/guix.texi:25649
  37791. #, no-wrap
  37792. msgid "@code{package} (default: @code{darkstat})"
  37793. msgstr ""
  37794. #. type: table
  37795. #: guix-git/doc/guix.texi:25651
  37796. msgid "The darkstat package to use."
  37797. msgstr ""
  37798. #. type: code{#1}
  37799. #: guix-git/doc/guix.texi:25652
  37800. #, no-wrap
  37801. msgid "interface"
  37802. msgstr "interface"
  37803. #. type: table
  37804. #: guix-git/doc/guix.texi:25654
  37805. msgid "Capture traffic on the specified network interface."
  37806. msgstr ""
  37807. #. type: item
  37808. #: guix-git/doc/guix.texi:25655
  37809. #, no-wrap
  37810. msgid "@code{port} (default: @code{\"667\"})"
  37811. msgstr ""
  37812. #. type: table
  37813. #: guix-git/doc/guix.texi:25657
  37814. msgid "Bind the web interface to the specified port."
  37815. msgstr ""
  37816. #. type: table
  37817. #: guix-git/doc/guix.texi:25660 guix-git/doc/guix.texi:25696
  37818. msgid "Bind the web interface to the specified address."
  37819. msgstr ""
  37820. #. type: item
  37821. #: guix-git/doc/guix.texi:25661
  37822. #, no-wrap
  37823. msgid "@code{base} (default: @code{\"/\"})"
  37824. msgstr ""
  37825. #. type: table
  37826. #: guix-git/doc/guix.texi:25664
  37827. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37828. msgstr ""
  37829. #. type: cindex
  37830. #: guix-git/doc/guix.texi:25669 guix-git/doc/guix.texi:25670
  37831. #, no-wrap
  37832. msgid "prometheus-node-exporter"
  37833. msgstr ""
  37834. #. type: subsubheading
  37835. #: guix-git/doc/guix.texi:25669
  37836. #, no-wrap
  37837. msgid "Prometheus Node Exporter Service"
  37838. msgstr ""
  37839. #. type: Plain text
  37840. #: guix-git/doc/guix.texi:25676
  37841. msgid "The Prometheus ``node exporter'' makes hardware and operating system statistics provided by the Linux kernel available for the Prometheus monitoring system. This service should be deployed on all physical nodes and virtual machines, where monitoring these statistics is desirable."
  37842. msgstr ""
  37843. #. type: defvar
  37844. #: guix-git/doc/guix.texi:25677
  37845. #, no-wrap
  37846. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37847. msgstr ""
  37848. #. type: defvar
  37849. #: guix-git/doc/guix.texi:25681
  37850. msgid "This is the service type for the @uref{https://github.com/prometheus/node_exporter/, prometheus-node-exporter} service, its value must be a @code{prometheus-node-exporter-configuration}."
  37851. msgstr ""
  37852. #. type: lisp
  37853. #: guix-git/doc/guix.texi:25684
  37854. #, no-wrap
  37855. msgid "(service prometheus-node-exporter-service-type)\n"
  37856. msgstr ""
  37857. #. type: deftp
  37858. #: guix-git/doc/guix.texi:25687
  37859. #, no-wrap
  37860. msgid "{Data Type} prometheus-node-exporter-configuration"
  37861. msgstr ""
  37862. #. type: deftp
  37863. #: guix-git/doc/guix.texi:25689
  37864. msgid "Data type representing the configuration of @command{node_exporter}."
  37865. msgstr ""
  37866. #. type: item
  37867. #: guix-git/doc/guix.texi:25691
  37868. #, no-wrap
  37869. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37870. msgstr ""
  37871. #. type: table
  37872. #: guix-git/doc/guix.texi:25693
  37873. msgid "The prometheus-node-exporter package to use."
  37874. msgstr ""
  37875. #. type: item
  37876. #: guix-git/doc/guix.texi:25694
  37877. #, no-wrap
  37878. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37879. msgstr ""
  37880. #. type: item
  37881. #: guix-git/doc/guix.texi:25697
  37882. #, no-wrap
  37883. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37884. msgstr ""
  37885. #. type: table
  37886. #: guix-git/doc/guix.texi:25701
  37887. msgid "This directory can be used to export metrics specific to this machine. Files containing metrics in the text format, with the filename ending in @code{.prom} should be placed in this directory."
  37888. msgstr ""
  37889. #. type: table
  37890. #: guix-git/doc/guix.texi:25704
  37891. msgid "Extra options to pass to the Prometheus node exporter."
  37892. msgstr ""
  37893. #. type: subsubheading
  37894. #: guix-git/doc/guix.texi:25708
  37895. #, no-wrap
  37896. msgid "Zabbix server"
  37897. msgstr ""
  37898. #. type: cindex
  37899. #: guix-git/doc/guix.texi:25709
  37900. #, no-wrap
  37901. msgid "zabbix zabbix-server"
  37902. msgstr ""
  37903. #. type: Plain text
  37904. #: guix-git/doc/guix.texi:25714
  37905. msgid "Zabbix is a high performance monitoring system that can collect data from a variety of sources and provide the results in a web-based interface. Alerting and reporting is built-in, as well as @dfn{templates} for common operating system metrics such as network utilization, CPU load, and disk space consumption."
  37906. msgstr ""
  37907. #. type: Plain text
  37908. #: guix-git/doc/guix.texi:25721
  37909. msgid "This service provides the central Zabbix monitoring service; you also need @ref{zabbix-front-end,@code{zabbix-front-end-service-type}} to configure Zabbix and display results, and optionally @ref{zabbix-agent, @code{zabbix-agent-service-type}} on machines that should be monitored (other data sources are supported, such as @ref{prometheus-node-exporter, Prometheus Node Exporter})."
  37910. msgstr ""
  37911. #. type: defvar
  37912. #: guix-git/doc/guix.texi:25722
  37913. #, no-wrap
  37914. msgid "{Scheme variable} zabbix-server-service-type"
  37915. msgstr ""
  37916. #. type: defvar
  37917. #: guix-git/doc/guix.texi:25725
  37918. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  37919. msgstr ""
  37920. #. type: deftp
  37921. #: guix-git/doc/guix.texi:25729
  37922. #, fuzzy, no-wrap
  37923. #| msgid "{Data Type} gitile-configuration"
  37924. msgid "{Data Type} zabbix-server-configuration"
  37925. msgstr "{Druh údajov} gitile-configuration"
  37926. #. type: deftp
  37927. #: guix-git/doc/guix.texi:25731
  37928. msgid "Available @code{zabbix-server-configuration} fields are:"
  37929. msgstr ""
  37930. #. type: item
  37931. #: guix-git/doc/guix.texi:25733 guix-git/doc/guix.texi:25896
  37932. #, no-wrap
  37933. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  37934. msgstr ""
  37935. #. type: table
  37936. #: guix-git/doc/guix.texi:25735
  37937. msgid "The zabbix-server package."
  37938. msgstr ""
  37939. #. type: item
  37940. #: guix-git/doc/guix.texi:25736 guix-git/doc/guix.texi:25822
  37941. #, no-wrap
  37942. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  37943. msgstr ""
  37944. #. type: table
  37945. #: guix-git/doc/guix.texi:25738
  37946. msgid "User who will run the Zabbix server."
  37947. msgstr ""
  37948. #. type: item
  37949. #: guix-git/doc/guix.texi:25739 guix-git/doc/guix.texi:25825
  37950. #, no-wrap
  37951. msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  37952. msgstr ""
  37953. #. type: table
  37954. #: guix-git/doc/guix.texi:25741
  37955. msgid "Group who will run the Zabbix server."
  37956. msgstr ""
  37957. #. type: item
  37958. #: guix-git/doc/guix.texi:25742
  37959. #, no-wrap
  37960. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  37961. msgstr ""
  37962. #. type: table
  37963. #: guix-git/doc/guix.texi:25744 guix-git/doc/guix.texi:25906
  37964. msgid "Database host name."
  37965. msgstr ""
  37966. #. type: item
  37967. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:25910
  37968. #, no-wrap
  37969. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  37970. msgstr ""
  37971. #. type: table
  37972. #: guix-git/doc/guix.texi:25747 guix-git/doc/guix.texi:25912
  37973. msgid "Database name."
  37974. msgstr ""
  37975. #. type: item
  37976. #: guix-git/doc/guix.texi:25748 guix-git/doc/guix.texi:25913
  37977. #, no-wrap
  37978. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  37979. msgstr ""
  37980. #. type: table
  37981. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25915
  37982. msgid "Database user."
  37983. msgstr ""
  37984. #. type: item
  37985. #: guix-git/doc/guix.texi:25751 guix-git/doc/guix.texi:25916
  37986. #, no-wrap
  37987. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  37988. msgstr ""
  37989. #. type: table
  37990. #: guix-git/doc/guix.texi:25754
  37991. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37992. msgstr ""
  37993. #. type: item
  37994. #: guix-git/doc/guix.texi:25755 guix-git/doc/guix.texi:25907
  37995. #, no-wrap
  37996. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  37997. msgstr ""
  37998. #. type: table
  37999. #: guix-git/doc/guix.texi:25757 guix-git/doc/guix.texi:25909
  38000. msgid "Database port."
  38001. msgstr ""
  38002. #. type: item
  38003. #: guix-git/doc/guix.texi:25758 guix-git/doc/guix.texi:25832
  38004. #, no-wrap
  38005. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  38006. msgstr ""
  38007. #. type: table
  38008. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25834
  38009. msgid "Specifies where log messages are written to:"
  38010. msgstr ""
  38011. #. type: itemize
  38012. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25838
  38013. #, no-wrap
  38014. msgid "@code{system} - syslog."
  38015. msgstr ""
  38016. #. type: item
  38017. #: guix-git/doc/guix.texi:25765
  38018. #, no-wrap
  38019. msgid "@code{file} - file specified with @code{log-file} parameter."
  38020. msgstr ""
  38021. #. type: item
  38022. #: guix-git/doc/guix.texi:25767 guix-git/doc/guix.texi:25842
  38023. #, no-wrap
  38024. msgid "@code{console} - standard output."
  38025. msgstr ""
  38026. #. type: item
  38027. #: guix-git/doc/guix.texi:25771
  38028. #, no-wrap
  38029. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  38030. msgstr ""
  38031. #. type: table
  38032. #: guix-git/doc/guix.texi:25773 guix-git/doc/guix.texi:25848
  38033. msgid "Log file name for @code{log-type} @code{file} parameter."
  38034. msgstr ""
  38035. #. type: item
  38036. #: guix-git/doc/guix.texi:25774
  38037. #, no-wrap
  38038. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  38039. msgstr ""
  38040. #. type: table
  38041. #: guix-git/doc/guix.texi:25776 guix-git/doc/guix.texi:25851
  38042. msgid "Name of PID file."
  38043. msgstr ""
  38044. #. type: item
  38045. #: guix-git/doc/guix.texi:25777
  38046. #, no-wrap
  38047. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  38048. msgstr ""
  38049. #. type: table
  38050. #: guix-git/doc/guix.texi:25780
  38051. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  38052. msgstr ""
  38053. #. type: item
  38054. #: guix-git/doc/guix.texi:25781
  38055. #, no-wrap
  38056. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  38057. msgstr ""
  38058. #. type: table
  38059. #: guix-git/doc/guix.texi:25783
  38060. msgid "Location of SSL client certificates."
  38061. msgstr ""
  38062. #. type: item
  38063. #: guix-git/doc/guix.texi:25784 guix-git/doc/guix.texi:25862
  38064. #, no-wrap
  38065. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  38066. msgstr ""
  38067. #. type: table
  38068. #: guix-git/doc/guix.texi:25786 guix-git/doc/guix.texi:25864
  38069. msgid "Extra options will be appended to Zabbix server configuration file."
  38070. msgstr ""
  38071. #. type: item
  38072. #: guix-git/doc/guix.texi:25787 guix-git/doc/guix.texi:25865
  38073. #, no-wrap
  38074. msgid "@code{include-files} (default: @code{()}) (type: include-files)"
  38075. msgstr ""
  38076. #. type: table
  38077. #: guix-git/doc/guix.texi:25790 guix-git/doc/guix.texi:25868
  38078. msgid "You may include individual files or all files in a directory in the configuration file."
  38079. msgstr ""
  38080. #. type: anchor{#1}
  38081. #: guix-git/doc/guix.texi:25799
  38082. msgid "zabbix-agent"
  38083. msgstr ""
  38084. #. type: subsubheading
  38085. #: guix-git/doc/guix.texi:25799
  38086. #, no-wrap
  38087. msgid "Zabbix agent"
  38088. msgstr ""
  38089. #. type: cindex
  38090. #: guix-git/doc/guix.texi:25800
  38091. #, no-wrap
  38092. msgid "zabbix zabbix-agent"
  38093. msgstr ""
  38094. #. type: Plain text
  38095. #: guix-git/doc/guix.texi:25807
  38096. msgid "The Zabbix agent gathers information about the running system for the Zabbix monitoring server. It has a variety of built-in checks, and can be extended with custom @uref{https://www.zabbix.com/documentation/current/en/manual/config/items/userparameters, @dfn{user parameters}}."
  38097. msgstr ""
  38098. #. type: defvar
  38099. #: guix-git/doc/guix.texi:25808
  38100. #, no-wrap
  38101. msgid "{Scheme variable} zabbix-agent-service-type"
  38102. msgstr ""
  38103. #. type: defvar
  38104. #: guix-git/doc/guix.texi:25811
  38105. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  38106. msgstr ""
  38107. #. type: deftp
  38108. #: guix-git/doc/guix.texi:25815
  38109. #, fuzzy, no-wrap
  38110. #| msgid "{Data Type} gitile-configuration"
  38111. msgid "{Data Type} zabbix-agent-configuration"
  38112. msgstr "{Druh údajov} gitile-configuration"
  38113. #. type: deftp
  38114. #: guix-git/doc/guix.texi:25817
  38115. msgid "Available @code{zabbix-agent-configuration} fields are:"
  38116. msgstr ""
  38117. #. type: item
  38118. #: guix-git/doc/guix.texi:25819
  38119. #, no-wrap
  38120. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  38121. msgstr ""
  38122. #. type: table
  38123. #: guix-git/doc/guix.texi:25821
  38124. msgid "The zabbix-agent package."
  38125. msgstr ""
  38126. #. type: table
  38127. #: guix-git/doc/guix.texi:25824
  38128. msgid "User who will run the Zabbix agent."
  38129. msgstr ""
  38130. #. type: table
  38131. #: guix-git/doc/guix.texi:25827
  38132. msgid "Group who will run the Zabbix agent."
  38133. msgstr ""
  38134. #. type: item
  38135. #: guix-git/doc/guix.texi:25828
  38136. #, no-wrap
  38137. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  38138. msgstr ""
  38139. #. type: table
  38140. #: guix-git/doc/guix.texi:25831
  38141. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  38142. msgstr ""
  38143. #. type: item
  38144. #: guix-git/doc/guix.texi:25839
  38145. #, no-wrap
  38146. msgid "@code{file} - file specified with"
  38147. msgstr ""
  38148. #. type: itemize
  38149. #: guix-git/doc/guix.texi:25841
  38150. msgid "@code{log-file} parameter."
  38151. msgstr ""
  38152. #. type: item
  38153. #: guix-git/doc/guix.texi:25846
  38154. #, no-wrap
  38155. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  38156. msgstr ""
  38157. #. type: item
  38158. #: guix-git/doc/guix.texi:25849
  38159. #, no-wrap
  38160. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  38161. msgstr ""
  38162. #. type: item
  38163. #: guix-git/doc/guix.texi:25852
  38164. #, no-wrap
  38165. msgid "@code{server} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38166. msgstr ""
  38167. #. type: table
  38168. #: guix-git/doc/guix.texi:25856
  38169. msgid "List of IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers and Zabbix proxies. Incoming connections will be accepted only from the hosts listed here."
  38170. msgstr ""
  38171. #. type: item
  38172. #: guix-git/doc/guix.texi:25857
  38173. #, no-wrap
  38174. msgid "@code{server-active} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38175. msgstr ""
  38176. #. type: table
  38177. #: guix-git/doc/guix.texi:25861
  38178. msgid "List of IP:port (or hostname:port) pairs of Zabbix servers and Zabbix proxies for active checks. If port is not specified, default port is used. If this parameter is not specified, active checks are disabled."
  38179. msgstr ""
  38180. #. type: anchor{#1}
  38181. #: guix-git/doc/guix.texi:25877
  38182. msgid "zabbix-front-end"
  38183. msgstr ""
  38184. #. type: subsubheading
  38185. #: guix-git/doc/guix.texi:25877
  38186. #, no-wrap
  38187. msgid "Zabbix front-end"
  38188. msgstr ""
  38189. #. type: cindex
  38190. #: guix-git/doc/guix.texi:25878
  38191. #, no-wrap
  38192. msgid "zabbix zabbix-front-end"
  38193. msgstr ""
  38194. #. type: Plain text
  38195. #: guix-git/doc/guix.texi:25884
  38196. msgid "The Zabbix front-end provides a web interface to Zabbix. It does not need to run on the same machine as the Zabbix server. This service works by extending the @ref{PHP-FPM} and @ref{NGINX} services with the configuration necessary for loading the Zabbix user interface."
  38197. msgstr ""
  38198. #. type: defvar
  38199. #: guix-git/doc/guix.texi:25885
  38200. #, no-wrap
  38201. msgid "{Scheme variable} zabbix-front-end-service-type"
  38202. msgstr ""
  38203. #. type: defvar
  38204. #: guix-git/doc/guix.texi:25888
  38205. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  38206. msgstr ""
  38207. #. type: deftp
  38208. #: guix-git/doc/guix.texi:25892
  38209. #, fuzzy, no-wrap
  38210. #| msgid "{Data Type} gitile-configuration"
  38211. msgid "{Data Type} zabbix-front-end-configuration"
  38212. msgstr "{Druh údajov} gitile-configuration"
  38213. #. type: deftp
  38214. #: guix-git/doc/guix.texi:25894
  38215. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  38216. msgstr ""
  38217. #. type: table
  38218. #: guix-git/doc/guix.texi:25898
  38219. msgid "The Zabbix server package to use."
  38220. msgstr ""
  38221. #. type: item
  38222. #: guix-git/doc/guix.texi:25899
  38223. #, no-wrap
  38224. msgid "@code{nginx} (default: @code{()}) (type: list)"
  38225. msgstr ""
  38226. #. type: table
  38227. #: guix-git/doc/guix.texi:25903
  38228. msgid "List of @ref{nginx-server-configuration,@code{nginx-server-configuration}} blocks for the Zabbix front-end. When empty, a default that listens on port 80 is used."
  38229. msgstr ""
  38230. #. type: item
  38231. #: guix-git/doc/guix.texi:25904
  38232. #, no-wrap
  38233. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  38234. msgstr ""
  38235. #. type: table
  38236. #: guix-git/doc/guix.texi:25918
  38237. msgid "Database password. Please, use @code{db-secret-file} instead."
  38238. msgstr ""
  38239. #. type: item
  38240. #: guix-git/doc/guix.texi:25919
  38241. #, no-wrap
  38242. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  38243. msgstr ""
  38244. #. type: table
  38245. #: guix-git/doc/guix.texi:25923
  38246. msgid "Secret file which will be appended to @file{zabbix.conf.php} file. This file contains credentials for use by Zabbix front-end. You are expected to create it manually."
  38247. msgstr ""
  38248. #. type: item
  38249. #: guix-git/doc/guix.texi:25924
  38250. #, no-wrap
  38251. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  38252. msgstr ""
  38253. #. type: table
  38254. #: guix-git/doc/guix.texi:25926
  38255. msgid "Zabbix server hostname."
  38256. msgstr ""
  38257. #. type: item
  38258. #: guix-git/doc/guix.texi:25927
  38259. #, no-wrap
  38260. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  38261. msgstr ""
  38262. #. type: table
  38263. #: guix-git/doc/guix.texi:25929
  38264. msgid "Zabbix server port."
  38265. msgstr ""
  38266. #. type: cindex
  38267. #: guix-git/doc/guix.texi:25939
  38268. #, no-wrap
  38269. msgid "Kerberos"
  38270. msgstr ""
  38271. #. type: Plain text
  38272. #: guix-git/doc/guix.texi:25943
  38273. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  38274. msgstr ""
  38275. #. type: subsubheading
  38276. #: guix-git/doc/guix.texi:25944
  38277. #, no-wrap
  38278. msgid "Krb5 Service"
  38279. msgstr ""
  38280. #. type: Plain text
  38281. #: guix-git/doc/guix.texi:25951
  38282. msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started."
  38283. msgstr ""
  38284. #. type: Plain text
  38285. #: guix-git/doc/guix.texi:25955
  38286. msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested."
  38287. msgstr ""
  38288. #. type: defvr
  38289. #: guix-git/doc/guix.texi:25956
  38290. #, no-wrap
  38291. msgid "{Scheme Variable} krb5-service-type"
  38292. msgstr ""
  38293. #. type: defvr
  38294. #: guix-git/doc/guix.texi:25958
  38295. msgid "A service type for Kerberos 5 clients."
  38296. msgstr ""
  38297. #. type: Plain text
  38298. #: guix-git/doc/guix.texi:25962
  38299. msgid "Here is an example of its use:"
  38300. msgstr ""
  38301. #. type: lisp
  38302. #: guix-git/doc/guix.texi:25976
  38303. #, no-wrap
  38304. msgid ""
  38305. "(service krb5-service-type\n"
  38306. " (krb5-configuration\n"
  38307. " (default-realm \"EXAMPLE.COM\")\n"
  38308. " (allow-weak-crypto? #t)\n"
  38309. " (realms (list\n"
  38310. " (krb5-realm\n"
  38311. " (name \"EXAMPLE.COM\")\n"
  38312. " (admin-server \"groucho.example.com\")\n"
  38313. " (kdc \"karl.example.com\"))\n"
  38314. " (krb5-realm\n"
  38315. " (name \"ARGRX.EDU\")\n"
  38316. " (admin-server \"kerb-admin.argrx.edu\")\n"
  38317. " (kdc \"keys.argrx.edu\"))))))\n"
  38318. msgstr ""
  38319. #. type: Plain text
  38320. #: guix-git/doc/guix.texi:25980
  38321. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  38322. msgstr ""
  38323. #. type: item
  38324. #: guix-git/doc/guix.texi:25981
  38325. #, no-wrap
  38326. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  38327. msgstr ""
  38328. #. type: itemize
  38329. #: guix-git/doc/guix.texi:25983
  38330. msgid "of which have distinct administration servers and key distribution centers;"
  38331. msgstr ""
  38332. #. type: item
  38333. #: guix-git/doc/guix.texi:25983
  38334. #, no-wrap
  38335. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  38336. msgstr ""
  38337. #. type: itemize
  38338. #: guix-git/doc/guix.texi:25985
  38339. msgid "specified by clients;"
  38340. msgstr ""
  38341. #. type: item
  38342. #: guix-git/doc/guix.texi:25985
  38343. #, no-wrap
  38344. msgid "Accepts services which only support encryption types known to be weak."
  38345. msgstr ""
  38346. #. type: Plain text
  38347. #: guix-git/doc/guix.texi:25993
  38348. msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation."
  38349. msgstr ""
  38350. #. type: deftp
  38351. #: guix-git/doc/guix.texi:25995
  38352. #, no-wrap
  38353. msgid "{Data Type} krb5-realm"
  38354. msgstr ""
  38355. #. type: cindex
  38356. #: guix-git/doc/guix.texi:25996
  38357. #, no-wrap
  38358. msgid "realm, kerberos"
  38359. msgstr ""
  38360. #. type: table
  38361. #: guix-git/doc/guix.texi:26002
  38362. msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case."
  38363. msgstr ""
  38364. #. type: code{#1}
  38365. #: guix-git/doc/guix.texi:26003
  38366. #, no-wrap
  38367. msgid "admin-server"
  38368. msgstr ""
  38369. #. type: table
  38370. #: guix-git/doc/guix.texi:26006
  38371. msgid "This field is a string identifying the host where the administration server is running."
  38372. msgstr ""
  38373. #. type: code{#1}
  38374. #: guix-git/doc/guix.texi:26007
  38375. #, no-wrap
  38376. msgid "kdc"
  38377. msgstr ""
  38378. #. type: table
  38379. #: guix-git/doc/guix.texi:26010
  38380. msgid "This field is a string identifying the key distribution center for the realm."
  38381. msgstr ""
  38382. #. type: deftp
  38383. #: guix-git/doc/guix.texi:26013
  38384. #, no-wrap
  38385. msgid "{Data Type} krb5-configuration"
  38386. msgstr ""
  38387. #. type: item
  38388. #: guix-git/doc/guix.texi:26016
  38389. #, no-wrap
  38390. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  38391. msgstr ""
  38392. #. type: table
  38393. #: guix-git/doc/guix.texi:26019
  38394. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  38395. msgstr ""
  38396. #. type: item
  38397. #: guix-git/doc/guix.texi:26020
  38398. #, no-wrap
  38399. msgid "@code{default-realm} (default: @code{#f})"
  38400. msgstr ""
  38401. #. type: table
  38402. #: guix-git/doc/guix.texi:26027
  38403. msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}."
  38404. msgstr ""
  38405. #. type: code{#1}
  38406. #: guix-git/doc/guix.texi:26028
  38407. #, no-wrap
  38408. msgid "realms"
  38409. msgstr ""
  38410. #. type: table
  38411. #: guix-git/doc/guix.texi:26033
  38412. msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field."
  38413. msgstr ""
  38414. #. type: subsubheading
  38415. #: guix-git/doc/guix.texi:26037
  38416. #, no-wrap
  38417. msgid "PAM krb5 Service"
  38418. msgstr ""
  38419. #. type: cindex
  38420. #: guix-git/doc/guix.texi:26038
  38421. #, no-wrap
  38422. msgid "pam-krb5"
  38423. msgstr ""
  38424. #. type: Plain text
  38425. #: guix-git/doc/guix.texi:26044
  38426. msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos."
  38427. msgstr ""
  38428. #. type: defvr
  38429. #: guix-git/doc/guix.texi:26045
  38430. #, no-wrap
  38431. msgid "{Scheme Variable} pam-krb5-service-type"
  38432. msgstr ""
  38433. #. type: defvr
  38434. #: guix-git/doc/guix.texi:26047
  38435. msgid "A service type for the Kerberos 5 PAM module."
  38436. msgstr ""
  38437. #. type: deftp
  38438. #: guix-git/doc/guix.texi:26049
  38439. #, no-wrap
  38440. msgid "{Data Type} pam-krb5-configuration"
  38441. msgstr ""
  38442. #. type: deftp
  38443. #: guix-git/doc/guix.texi:26052
  38444. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  38445. msgstr ""
  38446. #. type: item
  38447. #: guix-git/doc/guix.texi:26053
  38448. #, no-wrap
  38449. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  38450. msgstr ""
  38451. #. type: table
  38452. #: guix-git/doc/guix.texi:26055
  38453. msgid "The pam-krb5 package to use."
  38454. msgstr ""
  38455. #. type: item
  38456. #: guix-git/doc/guix.texi:26056
  38457. #, no-wrap
  38458. msgid "@code{minimum-uid} (default: @code{1000})"
  38459. msgstr ""
  38460. #. type: table
  38461. #: guix-git/doc/guix.texi:26059
  38462. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  38463. msgstr ""
  38464. #. type: cindex
  38465. #: guix-git/doc/guix.texi:26065
  38466. #, no-wrap
  38467. msgid "LDAP"
  38468. msgstr ""
  38469. #. type: cindex
  38470. #: guix-git/doc/guix.texi:26066
  38471. #, no-wrap
  38472. msgid "nslcd, LDAP service"
  38473. msgstr ""
  38474. #. type: Plain text
  38475. #: guix-git/doc/guix.texi:26073
  38476. msgid "The @code{(gnu services authentication)} module provides the @code{nslcd-service-type}, which can be used to authenticate against an LDAP server. In addition to configuring the service itself, you may want to add @code{ldap} as a name service to the Name Service Switch. @xref{Name Service Switch} for detailed information."
  38477. msgstr ""
  38478. #. type: Plain text
  38479. #: guix-git/doc/guix.texi:26077
  38480. msgid "Here is a simple operating system declaration with a default configuration of the @code{nslcd-service-type} and a Name Service Switch configuration that consults the @code{ldap} name service last:"
  38481. msgstr ""
  38482. #. type: lisp
  38483. #: guix-git/doc/guix.texi:26100
  38484. #, no-wrap
  38485. msgid ""
  38486. "(use-service-modules authentication)\n"
  38487. "(use-modules (gnu system nss))\n"
  38488. "...\n"
  38489. "(operating-system\n"
  38490. " ...\n"
  38491. " (services\n"
  38492. " (cons*\n"
  38493. " (service nslcd-service-type)\n"
  38494. " (service dhcp-client-service-type)\n"
  38495. " %base-services))\n"
  38496. " (name-service-switch\n"
  38497. " (let ((services (list (name-service (name \"db\"))\n"
  38498. " (name-service (name \"files\"))\n"
  38499. " (name-service (name \"ldap\")))))\n"
  38500. " (name-service-switch\n"
  38501. " (inherit %mdns-host-lookup-nss)\n"
  38502. " (password services)\n"
  38503. " (shadow services)\n"
  38504. " (group services)\n"
  38505. " (netgroup services)\n"
  38506. " (gshadow services)))))\n"
  38507. msgstr ""
  38508. #. type: Plain text
  38509. #: guix-git/doc/guix.texi:26105
  38510. msgid "Available @code{nslcd-configuration} fields are:"
  38511. msgstr ""
  38512. #. type: deftypevr
  38513. #: guix-git/doc/guix.texi:26106
  38514. #, no-wrap
  38515. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  38516. msgstr ""
  38517. #. type: deftypevr
  38518. #: guix-git/doc/guix.texi:26108
  38519. msgid "The @code{nss-pam-ldapd} package to use."
  38520. msgstr ""
  38521. #. type: deftypevr
  38522. #: guix-git/doc/guix.texi:26111
  38523. #, no-wrap
  38524. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  38525. msgstr ""
  38526. #. type: deftypevr
  38527. #: guix-git/doc/guix.texi:26115
  38528. msgid "The number of threads to start that can handle requests and perform LDAP queries. Each thread opens a separate connection to the LDAP server. The default is to start 5 threads."
  38529. msgstr ""
  38530. #. type: deftypevr
  38531. #: guix-git/doc/guix.texi:26120
  38532. #, no-wrap
  38533. msgid "{@code{nslcd-configuration} parameter} string uid"
  38534. msgstr ""
  38535. #. type: deftypevr
  38536. #: guix-git/doc/guix.texi:26122
  38537. msgid "This specifies the user id with which the daemon should be run."
  38538. msgstr ""
  38539. #. type: deftypevr
  38540. #: guix-git/doc/guix.texi:26124 guix-git/doc/guix.texi:26131
  38541. msgid "Defaults to @samp{\"nslcd\"}."
  38542. msgstr ""
  38543. #. type: deftypevr
  38544. #: guix-git/doc/guix.texi:26127
  38545. #, no-wrap
  38546. msgid "{@code{nslcd-configuration} parameter} string gid"
  38547. msgstr ""
  38548. #. type: deftypevr
  38549. #: guix-git/doc/guix.texi:26129
  38550. msgid "This specifies the group id with which the daemon should be run."
  38551. msgstr ""
  38552. #. type: deftypevr
  38553. #: guix-git/doc/guix.texi:26134
  38554. #, no-wrap
  38555. msgid "{@code{nslcd-configuration} parameter} log-option log"
  38556. msgstr ""
  38557. #. type: deftypevr
  38558. #: guix-git/doc/guix.texi:26142
  38559. msgid "This option controls the way logging is done via a list containing SCHEME and LEVEL@. The SCHEME argument may either be the symbols @samp{none} or @samp{syslog}, or an absolute file name. The LEVEL argument is optional and specifies the log level. The log level may be one of the following symbols: @samp{crit}, @samp{error}, @samp{warning}, @samp{notice}, @samp{info} or @samp{debug}. All messages with the specified log level or higher are logged."
  38560. msgstr ""
  38561. #. type: deftypevr
  38562. #: guix-git/doc/guix.texi:26144
  38563. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  38564. msgstr ""
  38565. #. type: deftypevr
  38566. #: guix-git/doc/guix.texi:26147
  38567. #, no-wrap
  38568. msgid "{@code{nslcd-configuration} parameter} list uri"
  38569. msgstr ""
  38570. #. type: deftypevr
  38571. #: guix-git/doc/guix.texi:26150
  38572. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  38573. msgstr ""
  38574. #. type: deftypevr
  38575. #: guix-git/doc/guix.texi:26152
  38576. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  38577. msgstr ""
  38578. #. type: deftypevr
  38579. #: guix-git/doc/guix.texi:26155
  38580. #, no-wrap
  38581. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  38582. msgstr ""
  38583. #. type: deftypevr
  38584. #: guix-git/doc/guix.texi:26158
  38585. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  38586. msgstr ""
  38587. #. type: deftypevr
  38588. #: guix-git/doc/guix.texi:26163
  38589. #, no-wrap
  38590. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  38591. msgstr ""
  38592. #. type: deftypevr
  38593. #: guix-git/doc/guix.texi:26166
  38594. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  38595. msgstr ""
  38596. #. type: deftypevr
  38597. #: guix-git/doc/guix.texi:26171
  38598. #, no-wrap
  38599. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  38600. msgstr ""
  38601. #. type: deftypevr
  38602. #: guix-git/doc/guix.texi:26174
  38603. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  38604. msgstr ""
  38605. #. type: deftypevr
  38606. #: guix-git/doc/guix.texi:26179
  38607. #, no-wrap
  38608. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  38609. msgstr ""
  38610. #. type: deftypevr
  38611. #: guix-git/doc/guix.texi:26182
  38612. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  38613. msgstr ""
  38614. #. type: deftypevr
  38615. #: guix-git/doc/guix.texi:26187
  38616. #, no-wrap
  38617. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  38618. msgstr ""
  38619. #. type: deftypevr
  38620. #: guix-git/doc/guix.texi:26191
  38621. msgid "Specifies the credentials with which to bind if the root user tries to change a user's password. This option is only applicable when used with rootpwmoddn"
  38622. msgstr ""
  38623. #. type: deftypevr
  38624. #: guix-git/doc/guix.texi:26196
  38625. #, no-wrap
  38626. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  38627. msgstr ""
  38628. #. type: deftypevr
  38629. #: guix-git/doc/guix.texi:26199
  38630. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  38631. msgstr ""
  38632. #. type: deftypevr
  38633. #: guix-git/doc/guix.texi:26204
  38634. #, no-wrap
  38635. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  38636. msgstr ""
  38637. #. type: deftypevr
  38638. #: guix-git/doc/guix.texi:26206
  38639. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  38640. msgstr ""
  38641. #. type: deftypevr
  38642. #: guix-git/doc/guix.texi:26211
  38643. #, no-wrap
  38644. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38645. msgstr ""
  38646. #. type: deftypevr
  38647. #: guix-git/doc/guix.texi:26214
  38648. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38649. msgstr ""
  38650. #. type: deftypevr
  38651. #: guix-git/doc/guix.texi:26219
  38652. #, no-wrap
  38653. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38654. msgstr ""
  38655. #. type: deftypevr
  38656. #: guix-git/doc/guix.texi:26222
  38657. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38658. msgstr ""
  38659. #. type: deftypevr
  38660. #: guix-git/doc/guix.texi:26227
  38661. #, no-wrap
  38662. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38663. msgstr ""
  38664. #. type: deftypevr
  38665. #: guix-git/doc/guix.texi:26232
  38666. msgid "Determines whether the LDAP server host name should be canonicalised. If this is enabled the LDAP library will do a reverse host name lookup. By default, it is left up to the LDAP library whether this check is performed or not."
  38667. msgstr ""
  38668. #. type: deftypevr
  38669. #: guix-git/doc/guix.texi:26237
  38670. #, no-wrap
  38671. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38672. msgstr ""
  38673. #. type: deftypevr
  38674. #: guix-git/doc/guix.texi:26239
  38675. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38676. msgstr ""
  38677. #. type: deftypevr
  38678. #: guix-git/doc/guix.texi:26244
  38679. #, no-wrap
  38680. msgid "{@code{nslcd-configuration} parameter} string base"
  38681. msgstr ""
  38682. #. type: deftypevr
  38683. #: guix-git/doc/guix.texi:26246
  38684. msgid "The directory search base."
  38685. msgstr ""
  38686. #. type: deftypevr
  38687. #: guix-git/doc/guix.texi:26248
  38688. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38689. msgstr ""
  38690. #. type: deftypevr
  38691. #: guix-git/doc/guix.texi:26251
  38692. #, no-wrap
  38693. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38694. msgstr ""
  38695. #. type: deftypevr
  38696. #: guix-git/doc/guix.texi:26255
  38697. msgid "Specifies the search scope (subtree, onelevel, base or children). The default scope is subtree; base scope is almost never useful for name service lookups; children scope is not supported on all servers."
  38698. msgstr ""
  38699. #. type: deftypevr
  38700. #: guix-git/doc/guix.texi:26257
  38701. msgid "Defaults to @samp{(subtree)}."
  38702. msgstr ""
  38703. #. type: deftypevr
  38704. #: guix-git/doc/guix.texi:26260
  38705. #, no-wrap
  38706. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38707. msgstr ""
  38708. #. type: deftypevr
  38709. #: guix-git/doc/guix.texi:26263
  38710. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38711. msgstr ""
  38712. #. type: deftypevr
  38713. #: guix-git/doc/guix.texi:26268
  38714. #, no-wrap
  38715. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38716. msgstr ""
  38717. #. type: deftypevr
  38718. #: guix-git/doc/guix.texi:26271
  38719. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38720. msgstr ""
  38721. #. type: deftypevr
  38722. #: guix-git/doc/guix.texi:26276
  38723. #, no-wrap
  38724. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38725. msgstr ""
  38726. #. type: deftypevr
  38727. #: guix-git/doc/guix.texi:26281
  38728. msgid "This option allows for custom attributes to be looked up instead of the default RFC 2307 attributes. It is a list of maps, each consisting of the name of a map, the RFC 2307 attribute to match and the query expression for the attribute as it is available in the directory."
  38729. msgstr ""
  38730. #. type: deftypevr
  38731. #: guix-git/doc/guix.texi:26286
  38732. #, no-wrap
  38733. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38734. msgstr ""
  38735. #. type: deftypevr
  38736. #: guix-git/doc/guix.texi:26289
  38737. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38738. msgstr ""
  38739. #. type: deftypevr
  38740. #: guix-git/doc/guix.texi:26294
  38741. #, no-wrap
  38742. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38743. msgstr ""
  38744. #. type: deftypevr
  38745. #: guix-git/doc/guix.texi:26297
  38746. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38747. msgstr ""
  38748. #. type: deftypevr
  38749. #: guix-git/doc/guix.texi:26302
  38750. #, no-wrap
  38751. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38752. msgstr ""
  38753. #. type: deftypevr
  38754. #: guix-git/doc/guix.texi:26306
  38755. msgid "Specifies the time limit (in seconds) to wait for a response from the LDAP server. A value of zero, which is the default, is to wait indefinitely for searches to be completed."
  38756. msgstr ""
  38757. #. type: deftypevr
  38758. #: guix-git/doc/guix.texi:26311
  38759. #, no-wrap
  38760. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38761. msgstr ""
  38762. #. type: deftypevr
  38763. #: guix-git/doc/guix.texi:26315
  38764. msgid "Specifies the period if inactivity (in seconds) after which the con‐ nection to the LDAP server will be closed. The default is not to time out connections."
  38765. msgstr ""
  38766. #. type: deftypevr
  38767. #: guix-git/doc/guix.texi:26320
  38768. #, no-wrap
  38769. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38770. msgstr ""
  38771. #. type: deftypevr
  38772. #: guix-git/doc/guix.texi:26324
  38773. msgid "Specifies the number of seconds to sleep when connecting to all LDAP servers fails. By default one second is waited between the first failure and the first retry."
  38774. msgstr ""
  38775. #. type: deftypevr
  38776. #: guix-git/doc/guix.texi:26329
  38777. #, no-wrap
  38778. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38779. msgstr ""
  38780. #. type: deftypevr
  38781. #: guix-git/doc/guix.texi:26333
  38782. msgid "Specifies the time after which the LDAP server is considered to be permanently unavailable. Once this time is reached retries will be done only once per this time period. The default value is 10 seconds."
  38783. msgstr ""
  38784. #. type: deftypevr
  38785. #: guix-git/doc/guix.texi:26338
  38786. #, no-wrap
  38787. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38788. msgstr ""
  38789. #. type: deftypevr
  38790. #: guix-git/doc/guix.texi:26342
  38791. msgid "Specifies whether to use SSL/TLS or not (the default is not to). If 'start-tls is specified then StartTLS is used rather than raw LDAP over SSL."
  38792. msgstr ""
  38793. #. type: deftypevr
  38794. #: guix-git/doc/guix.texi:26347
  38795. #, no-wrap
  38796. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38797. msgstr ""
  38798. #. type: deftypevr
  38799. #: guix-git/doc/guix.texi:26350
  38800. msgid "Specifies what checks to perform on a server-supplied certificate. The meaning of the values is described in the ldap.conf(5) manual page."
  38801. msgstr ""
  38802. #. type: deftypevr
  38803. #: guix-git/doc/guix.texi:26355
  38804. #, no-wrap
  38805. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38806. msgstr ""
  38807. #. type: deftypevr
  38808. #: guix-git/doc/guix.texi:26358
  38809. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38810. msgstr ""
  38811. #. type: deftypevr
  38812. #: guix-git/doc/guix.texi:26363
  38813. #, no-wrap
  38814. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38815. msgstr ""
  38816. #. type: deftypevr
  38817. #: guix-git/doc/guix.texi:26365
  38818. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38819. msgstr ""
  38820. #. type: deftypevr
  38821. #: guix-git/doc/guix.texi:26370
  38822. #, no-wrap
  38823. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38824. msgstr ""
  38825. #. type: deftypevr
  38826. #: guix-git/doc/guix.texi:26373
  38827. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38828. msgstr ""
  38829. #. type: deftypevr
  38830. #: guix-git/doc/guix.texi:26378
  38831. #, no-wrap
  38832. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38833. msgstr ""
  38834. #. type: deftypevr
  38835. #: guix-git/doc/guix.texi:26380
  38836. msgid "Specifies the ciphers to use for TLS as a string."
  38837. msgstr ""
  38838. #. type: deftypevr
  38839. #: guix-git/doc/guix.texi:26385
  38840. #, no-wrap
  38841. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38842. msgstr ""
  38843. #. type: deftypevr
  38844. #: guix-git/doc/guix.texi:26388
  38845. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38846. msgstr ""
  38847. #. type: deftypevr
  38848. #: guix-git/doc/guix.texi:26393
  38849. #, no-wrap
  38850. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38851. msgstr ""
  38852. #. type: deftypevr
  38853. #: guix-git/doc/guix.texi:26396
  38854. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38855. msgstr ""
  38856. #. type: deftypevr
  38857. #: guix-git/doc/guix.texi:26401
  38858. #, no-wrap
  38859. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38860. msgstr ""
  38861. #. type: deftypevr
  38862. #: guix-git/doc/guix.texi:26405
  38863. msgid "Set this to a number greater than 0 to request paged results from the LDAP server in accordance with RFC2696. The default (0) is to not request paged results."
  38864. msgstr ""
  38865. #. type: deftypevr
  38866. #: guix-git/doc/guix.texi:26410
  38867. #, no-wrap
  38868. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38869. msgstr ""
  38870. #. type: deftypevr
  38871. #: guix-git/doc/guix.texi:26414
  38872. msgid "This option prevents group membership lookups through LDAP for the specified users. Alternatively, the value 'all-local may be used. With that value nslcd builds a full list of non-LDAP users on startup."
  38873. msgstr ""
  38874. #. type: deftypevr
  38875. #: guix-git/doc/guix.texi:26419
  38876. #, no-wrap
  38877. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38878. msgstr ""
  38879. #. type: deftypevr
  38880. #: guix-git/doc/guix.texi:26422
  38881. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38882. msgstr ""
  38883. #. type: deftypevr
  38884. #: guix-git/doc/guix.texi:26427
  38885. #, no-wrap
  38886. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38887. msgstr ""
  38888. #. type: deftypevr
  38889. #: guix-git/doc/guix.texi:26430
  38890. msgid "This option specifies an offset that is added to all LDAP numeric user ids. This can be used to avoid user id collisions with local users."
  38891. msgstr ""
  38892. #. type: deftypevr
  38893. #: guix-git/doc/guix.texi:26435
  38894. #, no-wrap
  38895. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38896. msgstr ""
  38897. #. type: deftypevr
  38898. #: guix-git/doc/guix.texi:26438
  38899. msgid "This option specifies an offset that is added to all LDAP numeric group ids. This can be used to avoid user id collisions with local groups."
  38900. msgstr ""
  38901. #. type: deftypevr
  38902. #: guix-git/doc/guix.texi:26443
  38903. #, no-wrap
  38904. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38905. msgstr ""
  38906. #. type: deftypevr
  38907. #: guix-git/doc/guix.texi:26449
  38908. msgid "If this option is set, the member attribute of a group may point to another group. Members of nested groups are also returned in the higher level group and parent groups are returned when finding groups for a specific user. The default is not to perform extra searches for nested groups."
  38909. msgstr ""
  38910. #. type: deftypevr
  38911. #: guix-git/doc/guix.texi:26454
  38912. #, no-wrap
  38913. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38914. msgstr ""
  38915. #. type: deftypevr
  38916. #: guix-git/doc/guix.texi:26459
  38917. msgid "If this option is set, the group member list is not retrieved when looking up groups. Lookups for finding which groups a user belongs to will remain functional so the user will likely still get the correct groups assigned on login."
  38918. msgstr ""
  38919. #. type: deftypevr
  38920. #: guix-git/doc/guix.texi:26464
  38921. #, no-wrap
  38922. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38923. msgstr ""
  38924. #. type: deftypevr
  38925. #: guix-git/doc/guix.texi:26470
  38926. msgid "If this option is set, functions which cause all user/group entries to be loaded from the directory will not succeed in doing so. This can dramatically reduce LDAP server load in situations where there are a great number of users and/or groups. This option is not recommended for most configurations."
  38927. msgstr ""
  38928. #. type: deftypevr
  38929. #: guix-git/doc/guix.texi:26475
  38930. #, no-wrap
  38931. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38932. msgstr ""
  38933. #. type: deftypevr
  38934. #: guix-git/doc/guix.texi:26479
  38935. msgid "This option can be used to specify how user and group names are verified within the system. This pattern is used to check all user and group names that are requested and returned from LDAP."
  38936. msgstr ""
  38937. #. type: deftypevr
  38938. #: guix-git/doc/guix.texi:26484
  38939. #, no-wrap
  38940. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38941. msgstr ""
  38942. #. type: deftypevr
  38943. #: guix-git/doc/guix.texi:26489
  38944. msgid "This specifies whether or not to perform searches using case-insensitive matching. Enabling this could open up the system to authorization bypass vulnerabilities and introduce nscd cache poisoning vulnerabilities which allow denial of service."
  38945. msgstr ""
  38946. #. type: deftypevr
  38947. #: guix-git/doc/guix.texi:26494
  38948. #, no-wrap
  38949. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38950. msgstr ""
  38951. #. type: deftypevr
  38952. #: guix-git/doc/guix.texi:26497
  38953. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38954. msgstr ""
  38955. #. type: deftypevr
  38956. #: guix-git/doc/guix.texi:26502
  38957. #, no-wrap
  38958. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38959. msgstr ""
  38960. #. type: deftypevr
  38961. #: guix-git/doc/guix.texi:26508
  38962. msgid "By default nslcd performs an LDAP search with the user's credentials after BIND (authentication) to ensure that the BIND operation was successful. The default search is a simple check to see if the user's DN exists. A search filter can be specified that will be used instead. It should return at least one entry."
  38963. msgstr ""
  38964. #. type: deftypevr
  38965. #: guix-git/doc/guix.texi:26513
  38966. #, no-wrap
  38967. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38968. msgstr ""
  38969. #. type: deftypevr
  38970. #: guix-git/doc/guix.texi:26517
  38971. msgid "This option allows flexible fine tuning of the authorisation check that should be performed. The search filter specified is executed and if any entries match, access is granted, otherwise access is denied."
  38972. msgstr ""
  38973. #. type: deftypevr
  38974. #: guix-git/doc/guix.texi:26522
  38975. #, no-wrap
  38976. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38977. msgstr ""
  38978. #. type: deftypevr
  38979. #: guix-git/doc/guix.texi:26527
  38980. msgid "If this option is set password modification using pam_ldap will be denied and the specified message will be presented to the user instead. The message can be used to direct the user to an alternative means of changing their password."
  38981. msgstr ""
  38982. #. type: deftypevr
  38983. #: guix-git/doc/guix.texi:26532
  38984. #, no-wrap
  38985. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38986. msgstr ""
  38987. #. type: deftypevr
  38988. #: guix-git/doc/guix.texi:26534
  38989. msgid "List of pam service names for which LDAP authentication should suffice."
  38990. msgstr ""
  38991. #. type: cindex
  38992. #: guix-git/doc/guix.texi:26545
  38993. #, no-wrap
  38994. msgid "web"
  38995. msgstr ""
  38996. #. type: cindex
  38997. #: guix-git/doc/guix.texi:26546
  38998. #, no-wrap
  38999. msgid "www"
  39000. msgstr ""
  39001. #. type: cindex
  39002. #: guix-git/doc/guix.texi:26547
  39003. #, no-wrap
  39004. msgid "HTTP"
  39005. msgstr "HTTP"
  39006. #. type: Plain text
  39007. #: guix-git/doc/guix.texi:26550
  39008. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  39009. msgstr ""
  39010. #. type: subsubheading
  39011. #: guix-git/doc/guix.texi:26551
  39012. #, no-wrap
  39013. msgid "Apache HTTP Server"
  39014. msgstr ""
  39015. #. type: deffn
  39016. #: guix-git/doc/guix.texi:26553
  39017. #, no-wrap
  39018. msgid "{Scheme Variable} httpd-service-type"
  39019. msgstr ""
  39020. #. type: deffn
  39021. #: guix-git/doc/guix.texi:26557
  39022. msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{httpd-configuration} record."
  39023. msgstr ""
  39024. #. type: deffn
  39025. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26741
  39026. msgid "A simple example configuration is given below."
  39027. msgstr ""
  39028. #. type: lisp
  39029. #: guix-git/doc/guix.texi:26567
  39030. #, no-wrap
  39031. msgid ""
  39032. "(service httpd-service-type\n"
  39033. " (httpd-configuration\n"
  39034. " (config\n"
  39035. " (httpd-config-file\n"
  39036. " (server-name \"www.example.com\")\n"
  39037. " (document-root \"/srv/http/www.example.com\")))))\n"
  39038. msgstr ""
  39039. #. type: deffn
  39040. #: guix-git/doc/guix.texi:26571
  39041. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  39042. msgstr ""
  39043. #. type: lisp
  39044. #: guix-git/doc/guix.texi:26580 guix-git/doc/guix.texi:26720
  39045. #, no-wrap
  39046. msgid ""
  39047. "(simple-service 'www.example.com-server httpd-service-type\n"
  39048. " (list\n"
  39049. " (httpd-virtualhost\n"
  39050. " \"*:80\"\n"
  39051. " (list (string-join '(\"ServerName www.example.com\"\n"
  39052. " \"DocumentRoot /srv/http/www.example.com\")\n"
  39053. " \"\\n\")))))\n"
  39054. msgstr ""
  39055. #. type: Plain text
  39056. #: guix-git/doc/guix.texi:26586
  39057. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  39058. msgstr ""
  39059. #. type: deffn
  39060. #: guix-git/doc/guix.texi:26587
  39061. #, no-wrap
  39062. msgid "{Data Type} httpd-configuration"
  39063. msgstr ""
  39064. #. type: deffn
  39065. #: guix-git/doc/guix.texi:26589
  39066. msgid "This data type represents the configuration for the httpd service."
  39067. msgstr ""
  39068. #. type: item
  39069. #: guix-git/doc/guix.texi:26591
  39070. #, no-wrap
  39071. msgid "@code{package} (default: @code{httpd})"
  39072. msgstr ""
  39073. #. type: table
  39074. #: guix-git/doc/guix.texi:26593
  39075. msgid "The httpd package to use."
  39076. msgstr ""
  39077. #. type: item
  39078. #: guix-git/doc/guix.texi:26594 guix-git/doc/guix.texi:26683
  39079. #, no-wrap
  39080. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  39081. msgstr ""
  39082. #. type: table
  39083. #: guix-git/doc/guix.texi:26596
  39084. msgid "The pid file used by the shepherd-service."
  39085. msgstr ""
  39086. #. type: item
  39087. #: guix-git/doc/guix.texi:26597
  39088. #, no-wrap
  39089. msgid "@code{config} (default: @code{(httpd-config-file)})"
  39090. msgstr ""
  39091. #. type: table
  39092. #: guix-git/doc/guix.texi:26602
  39093. msgid "The configuration file to use with the httpd service. The default value is a @code{httpd-config-file} record, but this can also be a different G-expression that generates a file, for example a @code{plain-file}. A file outside of the store can also be specified through a string."
  39094. msgstr ""
  39095. #. type: deffn
  39096. #: guix-git/doc/guix.texi:26606
  39097. #, no-wrap
  39098. msgid "{Data Type} httpd-module"
  39099. msgstr ""
  39100. #. type: deffn
  39101. #: guix-git/doc/guix.texi:26608
  39102. msgid "This data type represents a module for the httpd service."
  39103. msgstr ""
  39104. #. type: table
  39105. #: guix-git/doc/guix.texi:26612
  39106. msgid "The name of the module."
  39107. msgstr ""
  39108. #. type: table
  39109. #: guix-git/doc/guix.texi:26618
  39110. msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}."
  39111. msgstr ""
  39112. #. type: defvr
  39113. #: guix-git/doc/guix.texi:26622
  39114. #, no-wrap
  39115. msgid "{Scheme Variable} %default-httpd-modules"
  39116. msgstr ""
  39117. #. type: defvr
  39118. #: guix-git/doc/guix.texi:26624
  39119. msgid "A default list of @code{httpd-module} objects."
  39120. msgstr ""
  39121. #. type: deffn
  39122. #: guix-git/doc/guix.texi:26626
  39123. #, no-wrap
  39124. msgid "{Data Type} httpd-config-file"
  39125. msgstr ""
  39126. #. type: deffn
  39127. #: guix-git/doc/guix.texi:26628
  39128. msgid "This data type represents a configuration file for the httpd service."
  39129. msgstr ""
  39130. #. type: item
  39131. #: guix-git/doc/guix.texi:26630
  39132. #, no-wrap
  39133. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  39134. msgstr ""
  39135. #. type: table
  39136. #: guix-git/doc/guix.texi:26633
  39137. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  39138. msgstr ""
  39139. #. type: table
  39140. #: guix-git/doc/guix.texi:26636
  39141. msgid "For example, in order to handle requests for PHP files, you can use Apache’s @code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}:"
  39142. msgstr ""
  39143. #. type: lisp
  39144. #: guix-git/doc/guix.texi:26658
  39145. #, no-wrap
  39146. msgid ""
  39147. "(service httpd-service-type\n"
  39148. " (httpd-configuration\n"
  39149. " (config\n"
  39150. " (httpd-config-file\n"
  39151. " (modules (cons*\n"
  39152. " (httpd-module\n"
  39153. " (name \"proxy_module\")\n"
  39154. " (file \"modules/mod_proxy.so\"))\n"
  39155. " (httpd-module\n"
  39156. " (name \"proxy_fcgi_module\")\n"
  39157. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  39158. " %default-httpd-modules))\n"
  39159. " (extra-config (list \"\\\n"
  39160. "<FilesMatch \\\\.php$>\n"
  39161. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  39162. "</FilesMatch>\"))))))\n"
  39163. "(service php-fpm-service-type\n"
  39164. " (php-fpm-configuration\n"
  39165. " (socket \"/var/run/php-fpm.sock\")\n"
  39166. " (socket-group \"httpd\")))\n"
  39167. msgstr ""
  39168. #. type: item
  39169. #: guix-git/doc/guix.texi:26660
  39170. #, no-wrap
  39171. msgid "@code{server-root} (default: @code{httpd})"
  39172. msgstr ""
  39173. #. type: table
  39174. #: guix-git/doc/guix.texi:26664
  39175. msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root."
  39176. msgstr ""
  39177. #. type: item
  39178. #: guix-git/doc/guix.texi:26665
  39179. #, no-wrap
  39180. msgid "@code{server-name} (default: @code{#f})"
  39181. msgstr ""
  39182. #. type: table
  39183. #: guix-git/doc/guix.texi:26669
  39184. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  39185. msgstr ""
  39186. #. type: table
  39187. #: guix-git/doc/guix.texi:26673
  39188. msgid "This doesn't need to be set in the server config, and can be specified in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}."
  39189. msgstr ""
  39190. #. type: item
  39191. #: guix-git/doc/guix.texi:26674
  39192. #, no-wrap
  39193. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  39194. msgstr ""
  39195. #. type: table
  39196. #: guix-git/doc/guix.texi:26676
  39197. msgid "The @code{DocumentRoot} from which files will be served."
  39198. msgstr ""
  39199. #. type: item
  39200. #: guix-git/doc/guix.texi:26677
  39201. #, no-wrap
  39202. msgid "@code{listen} (default: @code{'(\"80\")})"
  39203. msgstr ""
  39204. #. type: table
  39205. #: guix-git/doc/guix.texi:26682
  39206. msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use."
  39207. msgstr ""
  39208. #. type: table
  39209. #: guix-git/doc/guix.texi:26687
  39210. msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly."
  39211. msgstr ""
  39212. #. type: item
  39213. #: guix-git/doc/guix.texi:26688
  39214. #, no-wrap
  39215. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  39216. msgstr ""
  39217. #. type: table
  39218. #: guix-git/doc/guix.texi:26690
  39219. msgid "The @code{ErrorLog} to which the server will log errors."
  39220. msgstr ""
  39221. #. type: item
  39222. #: guix-git/doc/guix.texi:26691 guix-git/doc/guix.texi:27254
  39223. #, no-wrap
  39224. msgid "@code{user} (default: @code{\"httpd\"})"
  39225. msgstr ""
  39226. #. type: table
  39227. #: guix-git/doc/guix.texi:26693
  39228. msgid "The @code{User} which the server will answer requests as."
  39229. msgstr ""
  39230. #. type: item
  39231. #: guix-git/doc/guix.texi:26694
  39232. #, no-wrap
  39233. msgid "@code{group} (default: @code{\"httpd\"})"
  39234. msgstr ""
  39235. #. type: table
  39236. #: guix-git/doc/guix.texi:26696
  39237. msgid "The @code{Group} which the server will answer requests as."
  39238. msgstr ""
  39239. #. type: item
  39240. #: guix-git/doc/guix.texi:26697
  39241. #, no-wrap
  39242. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  39243. msgstr ""
  39244. #. type: table
  39245. #: guix-git/doc/guix.texi:26700
  39246. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  39247. msgstr ""
  39248. #. type: table
  39249. #: guix-git/doc/guix.texi:26703
  39250. msgid "Any values which the service is extended with will be appended to this list."
  39251. msgstr ""
  39252. #. type: deffn
  39253. #: guix-git/doc/guix.texi:26707
  39254. #, no-wrap
  39255. msgid "{Data Type} httpd-virtualhost"
  39256. msgstr ""
  39257. #. type: deffn
  39258. #: guix-git/doc/guix.texi:26709
  39259. msgid "This data type represents a virtualhost configuration block for the httpd service."
  39260. msgstr ""
  39261. #. type: deffn
  39262. #: guix-git/doc/guix.texi:26711
  39263. msgid "These should be added to the extra-config for the httpd-service."
  39264. msgstr ""
  39265. #. type: code{#1}
  39266. #: guix-git/doc/guix.texi:26723
  39267. #, no-wrap
  39268. msgid "addresses-and-ports"
  39269. msgstr ""
  39270. #. type: table
  39271. #: guix-git/doc/guix.texi:26725
  39272. msgid "The addresses and ports for the @code{VirtualHost} directive."
  39273. msgstr ""
  39274. #. type: code{#1}
  39275. #: guix-git/doc/guix.texi:26726
  39276. #, no-wrap
  39277. msgid "contents"
  39278. msgstr "contents"
  39279. #. type: table
  39280. #: guix-git/doc/guix.texi:26729
  39281. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  39282. msgstr ""
  39283. #. type: subsubheading
  39284. #: guix-git/doc/guix.texi:26734
  39285. #, no-wrap
  39286. msgid "NGINX"
  39287. msgstr ""
  39288. #. type: deffn
  39289. #: guix-git/doc/guix.texi:26736
  39290. #, no-wrap
  39291. msgid "{Scheme Variable} nginx-service-type"
  39292. msgstr ""
  39293. #. type: deffn
  39294. #: guix-git/doc/guix.texi:26739
  39295. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  39296. msgstr ""
  39297. #. type: lisp
  39298. #: guix-git/doc/guix.texi:26749 guix-git/doc/guix.texi:26803
  39299. #, no-wrap
  39300. msgid ""
  39301. "(service nginx-service-type\n"
  39302. " (nginx-configuration\n"
  39303. " (server-blocks\n"
  39304. " (list (nginx-server-configuration\n"
  39305. " (server-name '(\"www.example.com\"))\n"
  39306. " (root \"/srv/http/www.example.com\"))))))\n"
  39307. msgstr ""
  39308. #. type: deffn
  39309. #: guix-git/doc/guix.texi:26754
  39310. msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:"
  39311. msgstr ""
  39312. #. type: lisp
  39313. #: guix-git/doc/guix.texi:26760
  39314. #, no-wrap
  39315. msgid ""
  39316. "(simple-service 'my-extra-server nginx-service-type\n"
  39317. " (list (nginx-server-configuration\n"
  39318. " (root \"/srv/http/extra-website\")\n"
  39319. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  39320. msgstr ""
  39321. #. type: Plain text
  39322. #: guix-git/doc/guix.texi:26771
  39323. msgid "At startup, @command{nginx} has not yet read its configuration file, so it uses a default file to log error messages. If it fails to load its configuration file, that is where error messages are logged. After the configuration file is loaded, the default error log file changes as per configuration. In our case, startup error messages can be found in @file{/var/run/nginx/logs/error.log}, and after configuration in @file{/var/log/nginx/error.log}. The second location can be changed with the @var{log-directory} configuration option."
  39324. msgstr ""
  39325. #. type: deffn
  39326. #: guix-git/doc/guix.texi:26772
  39327. #, no-wrap
  39328. msgid "{Data Type} nginx-configuration"
  39329. msgstr ""
  39330. #. type: deffn
  39331. #: guix-git/doc/guix.texi:26776
  39332. msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided."
  39333. msgstr ""
  39334. #. type: item
  39335. #: guix-git/doc/guix.texi:26778
  39336. #, no-wrap
  39337. msgid "@code{nginx} (default: @code{nginx})"
  39338. msgstr ""
  39339. #. type: table
  39340. #: guix-git/doc/guix.texi:26780
  39341. msgid "The nginx package to use."
  39342. msgstr ""
  39343. #. type: item
  39344. #: guix-git/doc/guix.texi:26781
  39345. #, no-wrap
  39346. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  39347. msgstr ""
  39348. #. type: table
  39349. #: guix-git/doc/guix.texi:26783
  39350. msgid "The directory to which NGinx will write log files."
  39351. msgstr ""
  39352. #. type: item
  39353. #: guix-git/doc/guix.texi:26784
  39354. #, no-wrap
  39355. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  39356. msgstr ""
  39357. #. type: table
  39358. #: guix-git/doc/guix.texi:26787
  39359. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  39360. msgstr ""
  39361. #. type: item
  39362. #: guix-git/doc/guix.texi:26788
  39363. #, no-wrap
  39364. msgid "@code{server-blocks} (default: @code{'()})"
  39365. msgstr ""
  39366. #. type: table
  39367. #: guix-git/doc/guix.texi:26792
  39368. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  39369. msgstr ""
  39370. #. type: table
  39371. #: guix-git/doc/guix.texi:26796
  39372. msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS."
  39373. msgstr ""
  39374. #. type: item
  39375. #: guix-git/doc/guix.texi:26805
  39376. #, no-wrap
  39377. msgid "@code{upstream-blocks} (default: @code{'()})"
  39378. msgstr ""
  39379. #. type: table
  39380. #: guix-git/doc/guix.texi:26809
  39381. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  39382. msgstr ""
  39383. #. type: table
  39384. #: guix-git/doc/guix.texi:26816
  39385. msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{<nginx-server-configuration>} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers."
  39386. msgstr ""
  39387. #. type: lisp
  39388. #: guix-git/doc/guix.texi:26835
  39389. #, no-wrap
  39390. msgid ""
  39391. "(service\n"
  39392. " nginx-service-type\n"
  39393. " (nginx-configuration\n"
  39394. " (server-blocks\n"
  39395. " (list (nginx-server-configuration\n"
  39396. " (server-name '(\"www.example.com\"))\n"
  39397. " (root \"/srv/http/www.example.com\")\n"
  39398. " (locations\n"
  39399. " (list\n"
  39400. " (nginx-location-configuration\n"
  39401. " (uri \"/path1\")\n"
  39402. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  39403. " (upstream-blocks\n"
  39404. " (list (nginx-upstream-configuration\n"
  39405. " (name \"server-proxy\")\n"
  39406. " (servers (list \"server1.example.com\"\n"
  39407. " \"server2.example.com\")))))))\n"
  39408. msgstr ""
  39409. #. type: table
  39410. #: guix-git/doc/guix.texi:26843
  39411. msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated."
  39412. msgstr ""
  39413. #. type: table
  39414. #: guix-git/doc/guix.texi:26847
  39415. msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record."
  39416. msgstr ""
  39417. #. type: item
  39418. #: guix-git/doc/guix.texi:26848
  39419. #, no-wrap
  39420. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  39421. msgstr ""
  39422. #. type: table
  39423. #: guix-git/doc/guix.texi:26851
  39424. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  39425. msgstr ""
  39426. #. type: item
  39427. #: guix-git/doc/guix.texi:26852
  39428. #, no-wrap
  39429. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  39430. msgstr ""
  39431. #. type: table
  39432. #: guix-git/doc/guix.texi:26854
  39433. msgid "Maximum bucket size for the server names hash tables."
  39434. msgstr ""
  39435. #. type: table
  39436. #: guix-git/doc/guix.texi:26858
  39437. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  39438. msgstr ""
  39439. #. type: lisp
  39440. #: guix-git/doc/guix.texi:26866
  39441. #, no-wrap
  39442. msgid ""
  39443. "(modules\n"
  39444. " (list\n"
  39445. " (file-append nginx-accept-language-module \"\\\n"
  39446. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  39447. " (file-append nginx-lua-module \"\\\n"
  39448. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  39449. msgstr ""
  39450. #. type: item
  39451. #: guix-git/doc/guix.texi:26868
  39452. #, no-wrap
  39453. msgid "@code{lua-package-path} (default: @code{'()})"
  39454. msgstr ""
  39455. #. type: table
  39456. #: guix-git/doc/guix.texi:26871
  39457. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  39458. msgstr ""
  39459. #. type: lisp
  39460. #: guix-git/doc/guix.texi:26878
  39461. #, no-wrap
  39462. msgid ""
  39463. "(lua-package-path (list lua-resty-core\n"
  39464. " lua-resty-lrucache\n"
  39465. " lua-resty-signal\n"
  39466. " lua-tablepool\n"
  39467. " lua-resty-shell))\n"
  39468. msgstr ""
  39469. #. type: item
  39470. #: guix-git/doc/guix.texi:26880
  39471. #, no-wrap
  39472. msgid "@code{lua-package-cpath} (default: @code{'()})"
  39473. msgstr ""
  39474. #. type: table
  39475. #: guix-git/doc/guix.texi:26883
  39476. msgid "List of nginx lua C packages to load. This should be a list of package names of loadable lua C modules, as in this example:"
  39477. msgstr ""
  39478. #. type: lisp
  39479. #: guix-git/doc/guix.texi:26886
  39480. #, no-wrap
  39481. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  39482. msgstr ""
  39483. #. type: item
  39484. #: guix-git/doc/guix.texi:26888
  39485. #, no-wrap
  39486. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  39487. msgstr ""
  39488. #. type: table
  39489. #: guix-git/doc/guix.texi:26891
  39490. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  39491. msgstr ""
  39492. #. type: lisp
  39493. #: guix-git/doc/guix.texi:26897
  39494. #, no-wrap
  39495. msgid ""
  39496. "(global-directives\n"
  39497. " `((worker_processes . 16)\n"
  39498. " (pcre_jit . on)\n"
  39499. " (events . ((worker_connections . 1024)))))\n"
  39500. msgstr ""
  39501. #. type: table
  39502. #: guix-git/doc/guix.texi:26902
  39503. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  39504. msgstr ""
  39505. #. type: anchor{#1}
  39506. #: guix-git/doc/guix.texi:26907
  39507. #, fuzzy
  39508. #| msgid "{Data Type} gitile-configuration"
  39509. msgid "nginx-server-configuration"
  39510. msgstr "{Druh údajov} gitile-configuration"
  39511. #. type: deftp
  39512. #: guix-git/doc/guix.texi:26907
  39513. #, no-wrap
  39514. msgid "{Data Type} nginx-server-configuration"
  39515. msgstr ""
  39516. #. type: deftp
  39517. #: guix-git/doc/guix.texi:26910
  39518. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  39519. msgstr ""
  39520. #. type: item
  39521. #: guix-git/doc/guix.texi:26912
  39522. #, no-wrap
  39523. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  39524. msgstr ""
  39525. #. type: table
  39526. #: guix-git/doc/guix.texi:26917
  39527. msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:"
  39528. msgstr ""
  39529. #. type: lisp
  39530. #: guix-git/doc/guix.texi:26920
  39531. #, no-wrap
  39532. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  39533. msgstr ""
  39534. #. type: item
  39535. #: guix-git/doc/guix.texi:26922
  39536. #, no-wrap
  39537. msgid "@code{server-name} (default: @code{(list 'default)})"
  39538. msgstr ""
  39539. #. type: table
  39540. #: guix-git/doc/guix.texi:26925
  39541. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  39542. msgstr ""
  39543. #. type: item
  39544. #: guix-git/doc/guix.texi:26926
  39545. #, no-wrap
  39546. msgid "@code{root} (default: @code{\"/srv/http\"})"
  39547. msgstr ""
  39548. #. type: table
  39549. #: guix-git/doc/guix.texi:26928
  39550. msgid "Root of the website nginx will serve."
  39551. msgstr ""
  39552. #. type: item
  39553. #: guix-git/doc/guix.texi:26929
  39554. #, no-wrap
  39555. msgid "@code{locations} (default: @code{'()})"
  39556. msgstr ""
  39557. #. type: table
  39558. #: guix-git/doc/guix.texi:26933
  39559. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  39560. msgstr ""
  39561. #. type: item
  39562. #: guix-git/doc/guix.texi:26934
  39563. #, no-wrap
  39564. msgid "@code{index} (default: @code{(list \"index.html\")})"
  39565. msgstr ""
  39566. #. type: table
  39567. #: guix-git/doc/guix.texi:26937
  39568. msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory."
  39569. msgstr ""
  39570. #. type: item
  39571. #: guix-git/doc/guix.texi:26938
  39572. #, no-wrap
  39573. msgid "@code{try-files} (default: @code{'()})"
  39574. msgstr ""
  39575. #. type: table
  39576. #: guix-git/doc/guix.texi:26941
  39577. msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request."
  39578. msgstr ""
  39579. #. type: item
  39580. #: guix-git/doc/guix.texi:26942
  39581. #, no-wrap
  39582. msgid "@code{ssl-certificate} (default: @code{#f})"
  39583. msgstr ""
  39584. #. type: table
  39585. #: guix-git/doc/guix.texi:26945
  39586. msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS."
  39587. msgstr ""
  39588. #. type: item
  39589. #: guix-git/doc/guix.texi:26946
  39590. #, no-wrap
  39591. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  39592. msgstr ""
  39593. #. type: table
  39594. #: guix-git/doc/guix.texi:26949
  39595. msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS."
  39596. msgstr ""
  39597. #. type: item
  39598. #: guix-git/doc/guix.texi:26950
  39599. #, no-wrap
  39600. msgid "@code{server-tokens?} (default: @code{#f})"
  39601. msgstr ""
  39602. #. type: table
  39603. #: guix-git/doc/guix.texi:26952
  39604. msgid "Whether the server should add its configuration to response."
  39605. msgstr ""
  39606. #. type: item
  39607. #: guix-git/doc/guix.texi:26953
  39608. #, no-wrap
  39609. msgid "@code{raw-content} (default: @code{'()})"
  39610. msgstr ""
  39611. #. type: table
  39612. #: guix-git/doc/guix.texi:26955
  39613. msgid "A list of raw lines added to the server block."
  39614. msgstr ""
  39615. #. type: deftp
  39616. #: guix-git/doc/guix.texi:26959
  39617. #, no-wrap
  39618. msgid "{Data Type} nginx-upstream-configuration"
  39619. msgstr ""
  39620. #. type: deftp
  39621. #: guix-git/doc/guix.texi:26962
  39622. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  39623. msgstr ""
  39624. #. type: table
  39625. #: guix-git/doc/guix.texi:26966
  39626. msgid "Name for this group of servers."
  39627. msgstr ""
  39628. #. type: code{#1}
  39629. #: guix-git/doc/guix.texi:26967
  39630. #, no-wrap
  39631. msgid "servers"
  39632. msgstr "servers"
  39633. #. type: table
  39634. #: guix-git/doc/guix.texi:26974
  39635. msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly."
  39636. msgstr ""
  39637. #. type: deftp
  39638. #: guix-git/doc/guix.texi:26978
  39639. #, no-wrap
  39640. msgid "{Data Type} nginx-location-configuration"
  39641. msgstr ""
  39642. #. type: deftp
  39643. #: guix-git/doc/guix.texi:26981
  39644. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  39645. msgstr ""
  39646. #. type: table
  39647. #: guix-git/doc/guix.texi:26985
  39648. msgid "URI which this location block matches."
  39649. msgstr ""
  39650. #. type: anchor{#1}
  39651. #: guix-git/doc/guix.texi:26987
  39652. msgid "nginx-location-configuration body"
  39653. msgstr ""
  39654. #. type: code{#1}
  39655. #: guix-git/doc/guix.texi:26987 guix-git/doc/guix.texi:27008
  39656. #, no-wrap
  39657. msgid "body"
  39658. msgstr ""
  39659. #. type: table
  39660. #: guix-git/doc/guix.texi:26994
  39661. msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}."
  39662. msgstr ""
  39663. #. type: deftp
  39664. #: guix-git/doc/guix.texi:26998
  39665. #, no-wrap
  39666. msgid "{Data Type} nginx-named-location-configuration"
  39667. msgstr ""
  39668. #. type: deftp
  39669. #: guix-git/doc/guix.texi:27003
  39670. msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:"
  39671. msgstr ""
  39672. #. type: table
  39673. #: guix-git/doc/guix.texi:27007
  39674. msgid "Name to identify this location block."
  39675. msgstr ""
  39676. #. type: table
  39677. #: guix-git/doc/guix.texi:27013
  39678. msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks."
  39679. msgstr ""
  39680. #. type: subsubheading
  39681. #: guix-git/doc/guix.texi:27017
  39682. #, no-wrap
  39683. msgid "Varnish Cache"
  39684. msgstr ""
  39685. #. type: cindex
  39686. #: guix-git/doc/guix.texi:27018
  39687. #, no-wrap
  39688. msgid "Varnish"
  39689. msgstr ""
  39690. #. type: Plain text
  39691. #: guix-git/doc/guix.texi:27023
  39692. msgid "Varnish is a fast cache server that sits in between web applications and end users. It proxies requests from clients and caches the accessed URLs such that multiple requests for the same resource only creates one request to the back-end."
  39693. msgstr ""
  39694. #. type: defvr
  39695. #: guix-git/doc/guix.texi:27024
  39696. #, no-wrap
  39697. msgid "{Scheme Variable} varnish-service-type"
  39698. msgstr ""
  39699. #. type: defvr
  39700. #: guix-git/doc/guix.texi:27026
  39701. msgid "Service type for the Varnish daemon."
  39702. msgstr ""
  39703. #. type: deftp
  39704. #: guix-git/doc/guix.texi:27028
  39705. #, no-wrap
  39706. msgid "{Data Type} varnish-configuration"
  39707. msgstr ""
  39708. #. type: deftp
  39709. #: guix-git/doc/guix.texi:27031
  39710. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39711. msgstr ""
  39712. #. type: item
  39713. #: guix-git/doc/guix.texi:27033
  39714. #, no-wrap
  39715. msgid "@code{package} (default: @code{varnish})"
  39716. msgstr ""
  39717. #. type: table
  39718. #: guix-git/doc/guix.texi:27035
  39719. msgid "The Varnish package to use."
  39720. msgstr ""
  39721. #. type: item
  39722. #: guix-git/doc/guix.texi:27036
  39723. #, no-wrap
  39724. msgid "@code{name} (default: @code{\"default\"})"
  39725. msgstr ""
  39726. #. type: table
  39727. #: guix-git/doc/guix.texi:27041
  39728. msgid "A name for this Varnish instance. Varnish will create a directory in @file{/var/varnish/} with this name and keep temporary files there. If the name starts with a forward slash, it is interpreted as an absolute directory name."
  39729. msgstr ""
  39730. #. type: table
  39731. #: guix-git/doc/guix.texi:27044
  39732. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39733. msgstr ""
  39734. #. type: item
  39735. #: guix-git/doc/guix.texi:27045
  39736. #, no-wrap
  39737. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39738. msgstr ""
  39739. #. type: table
  39740. #: guix-git/doc/guix.texi:27047
  39741. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39742. msgstr ""
  39743. #. type: item
  39744. #: guix-git/doc/guix.texi:27048
  39745. #, no-wrap
  39746. msgid "@code{vcl} (default: #f)"
  39747. msgstr ""
  39748. #. type: table
  39749. #: guix-git/doc/guix.texi:27053
  39750. msgid "The @dfn{VCL} (Varnish Configuration Language) program to run. If this is @code{#f}, Varnish will proxy @code{backend} using the default configuration. Otherwise this must be a file-like object with valid VCL syntax."
  39751. msgstr ""
  39752. #. type: table
  39753. #: guix-git/doc/guix.texi:27057
  39754. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39755. msgstr ""
  39756. #. type: lisp
  39757. #: guix-git/doc/guix.texi:27063
  39758. #, no-wrap
  39759. msgid ""
  39760. "(define %gnu-mirror\n"
  39761. " (plain-file \"gnu.vcl\"\n"
  39762. " \"vcl 4.1;\n"
  39763. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39764. "\n"
  39765. msgstr ""
  39766. #. type: lisp
  39767. #: guix-git/doc/guix.texi:27071
  39768. #, no-wrap
  39769. msgid ""
  39770. "(operating-system\n"
  39771. " ;; @dots{}\n"
  39772. " (services (cons (service varnish-service-type\n"
  39773. " (varnish-configuration\n"
  39774. " (listen '(\":80\"))\n"
  39775. " (vcl %gnu-mirror)))\n"
  39776. " %base-services)))\n"
  39777. msgstr ""
  39778. #. type: table
  39779. #: guix-git/doc/guix.texi:27075
  39780. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39781. msgstr ""
  39782. #. type: table
  39783. #: guix-git/doc/guix.texi:27079
  39784. msgid "Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and @url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive documentation on Varnish and its configuration language."
  39785. msgstr ""
  39786. #. type: item
  39787. #: guix-git/doc/guix.texi:27080
  39788. #, no-wrap
  39789. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39790. msgstr ""
  39791. #. type: table
  39792. #: guix-git/doc/guix.texi:27082
  39793. msgid "List of addresses Varnish will listen on."
  39794. msgstr ""
  39795. #. type: item
  39796. #: guix-git/doc/guix.texi:27083
  39797. #, no-wrap
  39798. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39799. msgstr ""
  39800. #. type: table
  39801. #: guix-git/doc/guix.texi:27085
  39802. msgid "List of storage backends that will be available in VCL."
  39803. msgstr ""
  39804. #. type: item
  39805. #: guix-git/doc/guix.texi:27086
  39806. #, no-wrap
  39807. msgid "@code{parameters} (default: @code{'()})"
  39808. msgstr ""
  39809. #. type: table
  39810. #: guix-git/doc/guix.texi:27088
  39811. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39812. msgstr ""
  39813. #. type: table
  39814. #: guix-git/doc/guix.texi:27091
  39815. msgid "Additional arguments to pass to the @command{varnishd} process."
  39816. msgstr ""
  39817. #. type: cindex
  39818. #: guix-git/doc/guix.texi:27095 guix-git/doc/guix.texi:27096
  39819. #, no-wrap
  39820. msgid "Patchwork"
  39821. msgstr ""
  39822. #. type: Plain text
  39823. #: guix-git/doc/guix.texi:27099
  39824. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39825. msgstr ""
  39826. #. type: defvr
  39827. #: guix-git/doc/guix.texi:27100
  39828. #, no-wrap
  39829. msgid "{Scheme Variable} patchwork-service-type"
  39830. msgstr ""
  39831. #. type: defvr
  39832. #: guix-git/doc/guix.texi:27102
  39833. msgid "Service type for Patchwork."
  39834. msgstr ""
  39835. #. type: Plain text
  39836. #: guix-git/doc/guix.texi:27106
  39837. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39838. msgstr ""
  39839. #. type: lisp
  39840. #: guix-git/doc/guix.texi:27126
  39841. #, no-wrap
  39842. msgid ""
  39843. "(service patchwork-service-type\n"
  39844. " (patchwork-configuration\n"
  39845. " (domain \"patchwork.example.com\")\n"
  39846. " (settings-module\n"
  39847. " (patchwork-settings-module\n"
  39848. " (allowed-hosts (list domain))\n"
  39849. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39850. " (getmail-retriever-config\n"
  39851. " (getmail-retriever-configuration\n"
  39852. " (type \"SimpleIMAPSSLRetriever\")\n"
  39853. " (server \"imap.example.com\")\n"
  39854. " (port 993)\n"
  39855. " (username \"patchwork\")\n"
  39856. " (password-command\n"
  39857. " (list (file-append coreutils \"/bin/cat\")\n"
  39858. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39859. " (extra-parameters\n"
  39860. " '((mailboxes . (\"Patches\"))))))))\n"
  39861. "\n"
  39862. msgstr ""
  39863. #. type: Plain text
  39864. #: guix-git/doc/guix.texi:27132
  39865. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39866. msgstr ""
  39867. #. type: Plain text
  39868. #: guix-git/doc/guix.texi:27136
  39869. msgid "The @code{settings-module} field within the @code{<patchwork-configuration>} record can be populated with the @code{<patchwork-settings-module>} record, which describes a settings module that is generated within the Guix store."
  39870. msgstr ""
  39871. #. type: Plain text
  39872. #: guix-git/doc/guix.texi:27140
  39873. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39874. msgstr ""
  39875. #. type: deftp
  39876. #: guix-git/doc/guix.texi:27141
  39877. #, no-wrap
  39878. msgid "{Data Type} patchwork-configuration"
  39879. msgstr ""
  39880. #. type: deftp
  39881. #: guix-git/doc/guix.texi:27144
  39882. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39883. msgstr ""
  39884. #. type: item
  39885. #: guix-git/doc/guix.texi:27146
  39886. #, no-wrap
  39887. msgid "@code{patchwork} (default: @code{patchwork})"
  39888. msgstr ""
  39889. #. type: table
  39890. #: guix-git/doc/guix.texi:27148
  39891. msgid "The Patchwork package to use."
  39892. msgstr ""
  39893. #. type: code{#1}
  39894. #: guix-git/doc/guix.texi:27149
  39895. #, no-wrap
  39896. msgid "domain"
  39897. msgstr "domain"
  39898. #. type: table
  39899. #: guix-git/doc/guix.texi:27152
  39900. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39901. msgstr ""
  39902. #. type: code{#1}
  39903. #: guix-git/doc/guix.texi:27153
  39904. #, no-wrap
  39905. msgid "settings-module"
  39906. msgstr ""
  39907. #. type: table
  39908. #: guix-git/doc/guix.texi:27159
  39909. msgid "The settings module to use for Patchwork. As a Django application, Patchwork is configured with a Python module containing the settings. This can either be an instance of the @code{<patchwork-settings-module>} record, any other record that represents the settings in the store, or a directory outside of the store."
  39910. msgstr ""
  39911. #. type: item
  39912. #: guix-git/doc/guix.texi:27160
  39913. #, no-wrap
  39914. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39915. msgstr ""
  39916. #. type: table
  39917. #: guix-git/doc/guix.texi:27162
  39918. msgid "The path under which the HTTPD service should serve the static files."
  39919. msgstr ""
  39920. #. type: code{#1}
  39921. #: guix-git/doc/guix.texi:27163
  39922. #, no-wrap
  39923. msgid "getmail-retriever-config"
  39924. msgstr ""
  39925. #. type: table
  39926. #: guix-git/doc/guix.texi:27167
  39927. msgid "The getmail-retriever-configuration record value to use with Patchwork. Getmail will be configured with this value, the messages will be delivered to Patchwork."
  39928. msgstr ""
  39929. #. type: deftp
  39930. #: guix-git/doc/guix.texi:27171
  39931. #, no-wrap
  39932. msgid "{Data Type} patchwork-settings-module"
  39933. msgstr ""
  39934. #. type: deftp
  39935. #: guix-git/doc/guix.texi:27176
  39936. msgid "Data type representing a settings module for Patchwork. Some of these settings relate directly to Patchwork, but others relate to Django, the web framework used by Patchwork, or the Django Rest Framework library. This type has the following parameters:"
  39937. msgstr ""
  39938. #. type: item
  39939. #: guix-git/doc/guix.texi:27178
  39940. #, no-wrap
  39941. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39942. msgstr ""
  39943. #. type: table
  39944. #: guix-git/doc/guix.texi:27181
  39945. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39946. msgstr ""
  39947. #. type: item
  39948. #: guix-git/doc/guix.texi:27182
  39949. #, no-wrap
  39950. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39951. msgstr ""
  39952. #. type: table
  39953. #: guix-git/doc/guix.texi:27185
  39954. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39955. msgstr ""
  39956. #. type: table
  39957. #: guix-git/doc/guix.texi:27188
  39958. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39959. msgstr ""
  39960. #. type: table
  39961. #: guix-git/doc/guix.texi:27190
  39962. msgid "This setting relates to Django."
  39963. msgstr ""
  39964. #. type: code{#1}
  39965. #: guix-git/doc/guix.texi:27191
  39966. #, no-wrap
  39967. msgid "allowed-hosts"
  39968. msgstr ""
  39969. #. type: table
  39970. #: guix-git/doc/guix.texi:27194
  39971. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39972. msgstr ""
  39973. #. type: table
  39974. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27210
  39975. #: guix-git/doc/guix.texi:27216 guix-git/doc/guix.texi:27222
  39976. msgid "This is a Django setting."
  39977. msgstr ""
  39978. #. type: code{#1}
  39979. #: guix-git/doc/guix.texi:27197
  39980. #, no-wrap
  39981. msgid "default-from-email"
  39982. msgstr ""
  39983. #. type: table
  39984. #: guix-git/doc/guix.texi:27199
  39985. msgid "The email address from which Patchwork should send email by default."
  39986. msgstr ""
  39987. #. type: table
  39988. #: guix-git/doc/guix.texi:27201 guix-git/doc/guix.texi:27227
  39989. #: guix-git/doc/guix.texi:27232 guix-git/doc/guix.texi:27237
  39990. msgid "This is a Patchwork setting."
  39991. msgstr ""
  39992. #. type: item
  39993. #: guix-git/doc/guix.texi:27202
  39994. #, no-wrap
  39995. msgid "@code{static-url} (default: @code{#f})"
  39996. msgstr ""
  39997. #. type: table
  39998. #: guix-git/doc/guix.texi:27205
  39999. msgid "The URL to use when serving static assets. It can be part of a URL, or a full URL, but must end in a @code{/}."
  40000. msgstr ""
  40001. #. type: table
  40002. #: guix-git/doc/guix.texi:27208
  40003. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  40004. msgstr ""
  40005. #. type: item
  40006. #: guix-git/doc/guix.texi:27211
  40007. #, no-wrap
  40008. msgid "@code{admins} (default: @code{'()})"
  40009. msgstr ""
  40010. #. type: table
  40011. #: guix-git/doc/guix.texi:27214
  40012. msgid "Email addresses to send the details of errors that occur. Each value should be a list containing two elements, the name and then the email address."
  40013. msgstr ""
  40014. #. type: table
  40015. #: guix-git/doc/guix.texi:27220
  40016. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  40017. msgstr ""
  40018. #. type: item
  40019. #: guix-git/doc/guix.texi:27223
  40020. #, no-wrap
  40021. msgid "@code{enable-rest-api?} (default: @code{#t})"
  40022. msgstr ""
  40023. #. type: table
  40024. #: guix-git/doc/guix.texi:27225
  40025. msgid "Whether to enable the Patchwork REST API."
  40026. msgstr ""
  40027. #. type: item
  40028. #: guix-git/doc/guix.texi:27228
  40029. #, no-wrap
  40030. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  40031. msgstr ""
  40032. #. type: table
  40033. #: guix-git/doc/guix.texi:27230
  40034. msgid "Whether to enable the XML RPC API."
  40035. msgstr ""
  40036. #. type: item
  40037. #: guix-git/doc/guix.texi:27233
  40038. #, no-wrap
  40039. msgid "@code{force-https-links?} (default: @code{#t})"
  40040. msgstr ""
  40041. #. type: table
  40042. #: guix-git/doc/guix.texi:27235
  40043. msgid "Whether to use HTTPS links on Patchwork pages."
  40044. msgstr ""
  40045. #. type: table
  40046. #: guix-git/doc/guix.texi:27240
  40047. msgid "Extra code to place at the end of the Patchwork settings module."
  40048. msgstr ""
  40049. #. type: deftp
  40050. #: guix-git/doc/guix.texi:27244
  40051. #, no-wrap
  40052. msgid "{Data Type} patchwork-database-configuration"
  40053. msgstr ""
  40054. #. type: deftp
  40055. #: guix-git/doc/guix.texi:27246
  40056. msgid "Data type representing the database configuration for Patchwork."
  40057. msgstr ""
  40058. #. type: item
  40059. #: guix-git/doc/guix.texi:27248
  40060. #, no-wrap
  40061. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  40062. msgstr ""
  40063. #. type: table
  40064. #: guix-git/doc/guix.texi:27250
  40065. msgid "The database engine to use."
  40066. msgstr ""
  40067. #. type: item
  40068. #: guix-git/doc/guix.texi:27251
  40069. #, no-wrap
  40070. msgid "@code{name} (default: @code{\"patchwork\"})"
  40071. msgstr ""
  40072. #. type: table
  40073. #: guix-git/doc/guix.texi:27253
  40074. msgid "The name of the database to use."
  40075. msgstr ""
  40076. #. type: table
  40077. #: guix-git/doc/guix.texi:27256
  40078. msgid "The user to connect to the database as."
  40079. msgstr ""
  40080. #. type: item
  40081. #: guix-git/doc/guix.texi:27257
  40082. #, no-wrap
  40083. msgid "@code{password} (default: @code{\"\"})"
  40084. msgstr ""
  40085. #. type: table
  40086. #: guix-git/doc/guix.texi:27259
  40087. msgid "The password to use when connecting to the database."
  40088. msgstr ""
  40089. #. type: item
  40090. #: guix-git/doc/guix.texi:27260
  40091. #, no-wrap
  40092. msgid "@code{host} (default: @code{\"\"})"
  40093. msgstr ""
  40094. #. type: table
  40095. #: guix-git/doc/guix.texi:27262
  40096. msgid "The host to make the database connection to."
  40097. msgstr ""
  40098. #. type: item
  40099. #: guix-git/doc/guix.texi:27263
  40100. #, no-wrap
  40101. msgid "@code{port} (default: @code{\"\"})"
  40102. msgstr ""
  40103. #. type: table
  40104. #: guix-git/doc/guix.texi:27265
  40105. msgid "The port on which to connect to the database."
  40106. msgstr ""
  40107. #. type: subsubheading
  40108. #: guix-git/doc/guix.texi:27269
  40109. #, no-wrap
  40110. msgid "Mumi"
  40111. msgstr ""
  40112. #. type: cindex
  40113. #: guix-git/doc/guix.texi:27271
  40114. #, no-wrap
  40115. msgid "Mumi, Debbugs Web interface"
  40116. msgstr ""
  40117. #. type: cindex
  40118. #: guix-git/doc/guix.texi:27272
  40119. #, no-wrap
  40120. msgid "Debbugs, Mumi Web interface"
  40121. msgstr ""
  40122. #. type: Plain text
  40123. #: guix-git/doc/guix.texi:27277
  40124. msgid "@uref{https://git.elephly.net/gitweb.cgi?p=software/mumi.git, Mumi} is a Web interface to the Debbugs bug tracker, by default for @uref{https://bugs.gnu.org, the GNU instance}. Mumi is a Web server, but it also fetches and indexes mail retrieved from Debbugs."
  40125. msgstr ""
  40126. #. type: defvr
  40127. #: guix-git/doc/guix.texi:27278
  40128. #, no-wrap
  40129. msgid "{Scheme Variable} mumi-service-type"
  40130. msgstr ""
  40131. #. type: defvr
  40132. #: guix-git/doc/guix.texi:27280
  40133. msgid "This is the service type for Mumi."
  40134. msgstr ""
  40135. #. type: deftp
  40136. #: guix-git/doc/guix.texi:27282
  40137. #, no-wrap
  40138. msgid "{Data Type} mumi-configuration"
  40139. msgstr ""
  40140. #. type: deftp
  40141. #: guix-git/doc/guix.texi:27285
  40142. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  40143. msgstr ""
  40144. #. type: item
  40145. #: guix-git/doc/guix.texi:27287
  40146. #, no-wrap
  40147. msgid "@code{mumi} (default: @code{mumi})"
  40148. msgstr ""
  40149. #. type: table
  40150. #: guix-git/doc/guix.texi:27289
  40151. msgid "The Mumi package to use."
  40152. msgstr ""
  40153. #. type: item
  40154. #: guix-git/doc/guix.texi:27290
  40155. #, no-wrap
  40156. msgid "@code{mailer?} (default: @code{#true})"
  40157. msgstr ""
  40158. #. type: table
  40159. #: guix-git/doc/guix.texi:27292
  40160. msgid "Whether to enable or disable the mailer component."
  40161. msgstr ""
  40162. #. type: code{#1}
  40163. #: guix-git/doc/guix.texi:27293
  40164. #, no-wrap
  40165. msgid "mumi-configuration-sender"
  40166. msgstr ""
  40167. #. type: table
  40168. #: guix-git/doc/guix.texi:27295
  40169. msgid "The email address used as the sender for comments."
  40170. msgstr ""
  40171. #. type: code{#1}
  40172. #: guix-git/doc/guix.texi:27296
  40173. #, no-wrap
  40174. msgid "mumi-configuration-smtp"
  40175. msgstr ""
  40176. #. type: table
  40177. #: guix-git/doc/guix.texi:27301
  40178. msgid "A URI to configure the SMTP settings for Mailutils. This could be something like @code{sendmail:///path/to/bin/msmtp} or any other URI supported by Mailutils. @xref{SMTP Mailboxes, SMTP Mailboxes,, mailutils, GNU@tie{}Mailutils}."
  40179. msgstr ""
  40180. #. type: subsubheading
  40181. #: guix-git/doc/guix.texi:27306
  40182. #, no-wrap
  40183. msgid "FastCGI"
  40184. msgstr ""
  40185. #. type: cindex
  40186. #: guix-git/doc/guix.texi:27307
  40187. #, no-wrap
  40188. msgid "fastcgi"
  40189. msgstr ""
  40190. #. type: cindex
  40191. #: guix-git/doc/guix.texi:27308
  40192. #, no-wrap
  40193. msgid "fcgiwrap"
  40194. msgstr ""
  40195. #. type: Plain text
  40196. #: guix-git/doc/guix.texi:27315
  40197. msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix."
  40198. msgstr ""
  40199. #. type: Plain text
  40200. #: guix-git/doc/guix.texi:27322
  40201. msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process."
  40202. msgstr ""
  40203. #. type: defvr
  40204. #: guix-git/doc/guix.texi:27323
  40205. #, no-wrap
  40206. msgid "{Scheme Variable} fcgiwrap-service-type"
  40207. msgstr ""
  40208. #. type: defvr
  40209. #: guix-git/doc/guix.texi:27325
  40210. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  40211. msgstr ""
  40212. #. type: deftp
  40213. #: guix-git/doc/guix.texi:27327
  40214. #, no-wrap
  40215. msgid "{Data Type} fcgiwrap-configuration"
  40216. msgstr ""
  40217. #. type: deftp
  40218. #: guix-git/doc/guix.texi:27330
  40219. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  40220. msgstr ""
  40221. #. type: item
  40222. #: guix-git/doc/guix.texi:27331
  40223. #, no-wrap
  40224. msgid "@code{package} (default: @code{fcgiwrap})"
  40225. msgstr ""
  40226. #. type: table
  40227. #: guix-git/doc/guix.texi:27333
  40228. msgid "The fcgiwrap package to use."
  40229. msgstr ""
  40230. #. type: item
  40231. #: guix-git/doc/guix.texi:27334
  40232. #, no-wrap
  40233. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  40234. msgstr ""
  40235. #. type: table
  40236. #: guix-git/doc/guix.texi:27340
  40237. msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}."
  40238. msgstr ""
  40239. #. type: item
  40240. #: guix-git/doc/guix.texi:27341
  40241. #, no-wrap
  40242. msgid "@code{user} (default: @code{fcgiwrap})"
  40243. msgstr ""
  40244. #. type: itemx
  40245. #: guix-git/doc/guix.texi:27342
  40246. #, no-wrap
  40247. msgid "@code{group} (default: @code{fcgiwrap})"
  40248. msgstr ""
  40249. #. type: table
  40250. #: guix-git/doc/guix.texi:27347
  40251. msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system."
  40252. msgstr ""
  40253. #. type: table
  40254. #: guix-git/doc/guix.texi:27354
  40255. msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end, run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well."
  40256. msgstr ""
  40257. #. type: subsubheading
  40258. #: guix-git/doc/guix.texi:27358
  40259. #, no-wrap
  40260. msgid "PHP-FPM"
  40261. msgstr ""
  40262. #. type: cindex
  40263. #: guix-git/doc/guix.texi:27359
  40264. #, no-wrap
  40265. msgid "php-fpm"
  40266. msgstr ""
  40267. #. type: Plain text
  40268. #: guix-git/doc/guix.texi:27362
  40269. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  40270. msgstr ""
  40271. #. type: Plain text
  40272. #: guix-git/doc/guix.texi:27364
  40273. msgid "These features include:"
  40274. msgstr ""
  40275. #. type: item
  40276. #: guix-git/doc/guix.texi:27365
  40277. #, no-wrap
  40278. msgid "Adaptive process spawning"
  40279. msgstr ""
  40280. #. type: item
  40281. #: guix-git/doc/guix.texi:27366
  40282. #, no-wrap
  40283. msgid "Basic statistics (similar to Apache's mod_status)"
  40284. msgstr ""
  40285. #. type: item
  40286. #: guix-git/doc/guix.texi:27367
  40287. #, no-wrap
  40288. msgid "Advanced process management with graceful stop/start"
  40289. msgstr ""
  40290. #. type: item
  40291. #: guix-git/doc/guix.texi:27368
  40292. #, no-wrap
  40293. msgid "Ability to start workers with different uid/gid/chroot/environment"
  40294. msgstr ""
  40295. #. type: itemize
  40296. #: guix-git/doc/guix.texi:27370
  40297. msgid "and different php.ini (replaces safe_mode)"
  40298. msgstr ""
  40299. #. type: item
  40300. #: guix-git/doc/guix.texi:27370
  40301. #, no-wrap
  40302. msgid "Stdout & stderr logging"
  40303. msgstr ""
  40304. #. type: item
  40305. #: guix-git/doc/guix.texi:27371
  40306. #, no-wrap
  40307. msgid "Emergency restart in case of accidental opcode cache destruction"
  40308. msgstr ""
  40309. #. type: item
  40310. #: guix-git/doc/guix.texi:27372
  40311. #, no-wrap
  40312. msgid "Accelerated upload support"
  40313. msgstr ""
  40314. #. type: item
  40315. #: guix-git/doc/guix.texi:27373
  40316. #, no-wrap
  40317. msgid "Support for a \"slowlog\""
  40318. msgstr ""
  40319. #. type: item
  40320. #: guix-git/doc/guix.texi:27374
  40321. #, no-wrap
  40322. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  40323. msgstr ""
  40324. #. type: itemize
  40325. #: guix-git/doc/guix.texi:27377
  40326. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  40327. msgstr ""
  40328. #. type: Plain text
  40329. #: guix-git/doc/guix.texi:27379
  40330. msgid "...@: and much more."
  40331. msgstr ""
  40332. #. type: defvr
  40333. #: guix-git/doc/guix.texi:27380
  40334. #, no-wrap
  40335. msgid "{Scheme Variable} php-fpm-service-type"
  40336. msgstr ""
  40337. #. type: defvr
  40338. #: guix-git/doc/guix.texi:27382
  40339. msgid "A Service type for @code{php-fpm}."
  40340. msgstr ""
  40341. #. type: deftp
  40342. #: guix-git/doc/guix.texi:27384
  40343. #, no-wrap
  40344. msgid "{Data Type} php-fpm-configuration"
  40345. msgstr ""
  40346. #. type: deftp
  40347. #: guix-git/doc/guix.texi:27386
  40348. msgid "Data Type for php-fpm service configuration."
  40349. msgstr ""
  40350. #. type: item
  40351. #: guix-git/doc/guix.texi:27387
  40352. #, no-wrap
  40353. msgid "@code{php} (default: @code{php})"
  40354. msgstr ""
  40355. #. type: table
  40356. #: guix-git/doc/guix.texi:27389
  40357. msgid "The php package to use."
  40358. msgstr ""
  40359. #. type: item
  40360. #: guix-git/doc/guix.texi:27389
  40361. #, no-wrap
  40362. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  40363. msgstr ""
  40364. #. type: table
  40365. #: guix-git/doc/guix.texi:27391
  40366. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  40367. msgstr ""
  40368. #. type: code{#1}
  40369. #: guix-git/doc/guix.texi:27392
  40370. #, no-wrap
  40371. msgid "\"ip.add.re.ss:port\""
  40372. msgstr ""
  40373. #. type: table
  40374. #: guix-git/doc/guix.texi:27394
  40375. msgid "Listen on a TCP socket to a specific address on a specific port."
  40376. msgstr ""
  40377. #. type: code{#1}
  40378. #: guix-git/doc/guix.texi:27394
  40379. #, no-wrap
  40380. msgid "\"port\""
  40381. msgstr ""
  40382. #. type: table
  40383. #: guix-git/doc/guix.texi:27396
  40384. msgid "Listen on a TCP socket to all addresses on a specific port."
  40385. msgstr ""
  40386. #. type: code{#1}
  40387. #: guix-git/doc/guix.texi:27396
  40388. #, no-wrap
  40389. msgid "\"/path/to/unix/socket\""
  40390. msgstr ""
  40391. #. type: table
  40392. #: guix-git/doc/guix.texi:27398
  40393. msgid "Listen on a unix socket."
  40394. msgstr ""
  40395. #. type: item
  40396. #: guix-git/doc/guix.texi:27400
  40397. #, no-wrap
  40398. msgid "@code{user} (default: @code{php-fpm})"
  40399. msgstr ""
  40400. #. type: table
  40401. #: guix-git/doc/guix.texi:27402
  40402. msgid "User who will own the php worker processes."
  40403. msgstr ""
  40404. #. type: item
  40405. #: guix-git/doc/guix.texi:27402
  40406. #, no-wrap
  40407. msgid "@code{group} (default: @code{php-fpm})"
  40408. msgstr ""
  40409. #. type: table
  40410. #: guix-git/doc/guix.texi:27404
  40411. msgid "Group of the worker processes."
  40412. msgstr ""
  40413. #. type: item
  40414. #: guix-git/doc/guix.texi:27404
  40415. #, no-wrap
  40416. msgid "@code{socket-user} (default: @code{php-fpm})"
  40417. msgstr ""
  40418. #. type: table
  40419. #: guix-git/doc/guix.texi:27406
  40420. msgid "User who can speak to the php-fpm socket."
  40421. msgstr ""
  40422. #. type: item
  40423. #: guix-git/doc/guix.texi:27406
  40424. #, no-wrap
  40425. msgid "@code{socket-group} (default: @code{nginx})"
  40426. msgstr ""
  40427. #. type: table
  40428. #: guix-git/doc/guix.texi:27408
  40429. msgid "Group that can speak to the php-fpm socket."
  40430. msgstr ""
  40431. #. type: item
  40432. #: guix-git/doc/guix.texi:27408
  40433. #, no-wrap
  40434. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  40435. msgstr ""
  40436. #. type: table
  40437. #: guix-git/doc/guix.texi:27411
  40438. msgid "The process id of the php-fpm process is written to this file once the service has started."
  40439. msgstr ""
  40440. #. type: item
  40441. #: guix-git/doc/guix.texi:27411
  40442. #, no-wrap
  40443. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  40444. msgstr ""
  40445. #. type: table
  40446. #: guix-git/doc/guix.texi:27413
  40447. msgid "Log for the php-fpm master process."
  40448. msgstr ""
  40449. #. type: item
  40450. #: guix-git/doc/guix.texi:27413
  40451. #, no-wrap
  40452. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  40453. msgstr ""
  40454. #. type: table
  40455. #: guix-git/doc/guix.texi:27416
  40456. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  40457. msgstr ""
  40458. #. type: code{#1}
  40459. #: guix-git/doc/guix.texi:27417
  40460. #, no-wrap
  40461. msgid "<php-fpm-dynamic-process-manager-configuration>"
  40462. msgstr ""
  40463. #. type: code{#1}
  40464. #: guix-git/doc/guix.texi:27418
  40465. #, no-wrap
  40466. msgid "<php-fpm-static-process-manager-configuration>"
  40467. msgstr ""
  40468. #. type: code{#1}
  40469. #: guix-git/doc/guix.texi:27419
  40470. #, no-wrap
  40471. msgid "<php-fpm-on-demand-process-manager-configuration>"
  40472. msgstr ""
  40473. #. type: item
  40474. #: guix-git/doc/guix.texi:27421
  40475. #, no-wrap
  40476. msgid "@code{display-errors} (default @code{#f})"
  40477. msgstr ""
  40478. #. type: table
  40479. #: guix-git/doc/guix.texi:27426
  40480. msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data."
  40481. msgstr ""
  40482. #. type: item
  40483. #: guix-git/doc/guix.texi:27426
  40484. #, no-wrap
  40485. msgid "@code{timezone} (default @code{#f})"
  40486. msgstr ""
  40487. #. type: table
  40488. #: guix-git/doc/guix.texi:27428
  40489. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  40490. msgstr ""
  40491. #. type: item
  40492. #: guix-git/doc/guix.texi:27428
  40493. #, no-wrap
  40494. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  40495. msgstr ""
  40496. #. type: table
  40497. #: guix-git/doc/guix.texi:27431
  40498. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  40499. msgstr ""
  40500. #. type: item
  40501. #: guix-git/doc/guix.texi:27431
  40502. #, no-wrap
  40503. msgid "@code{file} (default @code{#f})"
  40504. msgstr ""
  40505. #. type: table
  40506. #: guix-git/doc/guix.texi:27434
  40507. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40508. msgstr ""
  40509. #. type: item
  40510. #: guix-git/doc/guix.texi:27434
  40511. #, no-wrap
  40512. msgid "@code{php-ini-file} (default @code{#f})"
  40513. msgstr ""
  40514. #. type: table
  40515. #: guix-git/doc/guix.texi:27438
  40516. msgid "An optional override of the default php settings. It may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40517. msgstr ""
  40518. #. type: table
  40519. #: guix-git/doc/guix.texi:27442
  40520. msgid "For local development it is useful to set a higher timeout and memory limit for spawned php processes. This be accomplished with the following operating system configuration snippet:"
  40521. msgstr ""
  40522. #. type: lisp
  40523. #: guix-git/doc/guix.texi:27447
  40524. #, no-wrap
  40525. msgid ""
  40526. "(define %local-php-ini\n"
  40527. " (plain-file \"php.ini\"\n"
  40528. " \"memory_limit = 2G\n"
  40529. "max_execution_time = 1800\"))\n"
  40530. "\n"
  40531. msgstr ""
  40532. #. type: lisp
  40533. #: guix-git/doc/guix.texi:27454
  40534. #, no-wrap
  40535. msgid ""
  40536. "(operating-system\n"
  40537. " ;; @dots{}\n"
  40538. " (services (cons (service php-fpm-service-type\n"
  40539. " (php-fpm-configuration\n"
  40540. " (php-ini-file %local-php-ini)))\n"
  40541. " %base-services)))\n"
  40542. msgstr ""
  40543. #. type: table
  40544. #: guix-git/doc/guix.texi:27459
  40545. msgid "Consult the @url{https://www.php.net/manual/en/ini.core.php,core php.ini directives} for comprehensive documentation on the acceptable @file{php.ini} directives."
  40546. msgstr ""
  40547. #. type: deftp
  40548. #: guix-git/doc/guix.texi:27462
  40549. #, no-wrap
  40550. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  40551. msgstr ""
  40552. #. type: deftp
  40553. #: guix-git/doc/guix.texi:27466
  40554. msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on its configured limits."
  40555. msgstr ""
  40556. #. type: item
  40557. #: guix-git/doc/guix.texi:27467 guix-git/doc/guix.texi:27483
  40558. #: guix-git/doc/guix.texi:27493
  40559. #, no-wrap
  40560. msgid "@code{max-children} (default: @code{5})"
  40561. msgstr ""
  40562. #. type: table
  40563. #: guix-git/doc/guix.texi:27469 guix-git/doc/guix.texi:27485
  40564. #: guix-git/doc/guix.texi:27495
  40565. msgid "Maximum of worker processes."
  40566. msgstr ""
  40567. #. type: item
  40568. #: guix-git/doc/guix.texi:27469
  40569. #, no-wrap
  40570. msgid "@code{start-servers} (default: @code{2})"
  40571. msgstr ""
  40572. #. type: table
  40573. #: guix-git/doc/guix.texi:27471
  40574. msgid "How many worker processes should be started on start-up."
  40575. msgstr ""
  40576. #. type: item
  40577. #: guix-git/doc/guix.texi:27471
  40578. #, no-wrap
  40579. msgid "@code{min-spare-servers} (default: @code{1})"
  40580. msgstr ""
  40581. #. type: table
  40582. #: guix-git/doc/guix.texi:27473
  40583. msgid "How many spare worker processes should be kept around at minimum."
  40584. msgstr ""
  40585. #. type: item
  40586. #: guix-git/doc/guix.texi:27473
  40587. #, no-wrap
  40588. msgid "@code{max-spare-servers} (default: @code{3})"
  40589. msgstr ""
  40590. #. type: table
  40591. #: guix-git/doc/guix.texi:27475
  40592. msgid "How many spare worker processes should be kept around at maximum."
  40593. msgstr ""
  40594. #. type: deftp
  40595. #: guix-git/doc/guix.texi:27478
  40596. #, no-wrap
  40597. msgid "{Data type} php-fpm-static-process-manager-configuration"
  40598. msgstr ""
  40599. #. type: deftp
  40600. #: guix-git/doc/guix.texi:27482
  40601. msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created."
  40602. msgstr ""
  40603. #. type: deftp
  40604. #: guix-git/doc/guix.texi:27488
  40605. #, no-wrap
  40606. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  40607. msgstr ""
  40608. #. type: deftp
  40609. #: guix-git/doc/guix.texi:27492
  40610. msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive."
  40611. msgstr ""
  40612. #. type: item
  40613. #: guix-git/doc/guix.texi:27495
  40614. #, no-wrap
  40615. msgid "@code{process-idle-timeout} (default: @code{10})"
  40616. msgstr ""
  40617. #. type: table
  40618. #: guix-git/doc/guix.texi:27497
  40619. msgid "The time in seconds after which a process with no requests is killed."
  40620. msgstr ""
  40621. #. type: deffn
  40622. #: guix-git/doc/guix.texi:27501
  40623. #, no-wrap
  40624. msgid "{Scheme Procedure} nginx-php-location @"
  40625. msgstr ""
  40626. #. type: deffn
  40627. #: guix-git/doc/guix.texi:27507
  40628. msgid "[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}."
  40629. msgstr ""
  40630. #. type: Plain text
  40631. #: guix-git/doc/guix.texi:27510
  40632. msgid "A simple services setup for nginx with php can look like this:"
  40633. msgstr ""
  40634. #. type: lisp
  40635. #: guix-git/doc/guix.texi:27523
  40636. #, no-wrap
  40637. msgid ""
  40638. "(services (cons* (service dhcp-client-service-type)\n"
  40639. " (service php-fpm-service-type)\n"
  40640. " (service nginx-service-type\n"
  40641. " (nginx-server-configuration\n"
  40642. " (server-name '(\"example.com\"))\n"
  40643. " (root \"/srv/http/\")\n"
  40644. " (locations\n"
  40645. " (list (nginx-php-location)))\n"
  40646. " (listen '(\"80\"))\n"
  40647. " (ssl-certificate #f)\n"
  40648. " (ssl-certificate-key #f)))\n"
  40649. " %base-services))\n"
  40650. msgstr ""
  40651. #. type: cindex
  40652. #: guix-git/doc/guix.texi:27525
  40653. #, no-wrap
  40654. msgid "cat-avatar-generator"
  40655. msgstr ""
  40656. #. type: Plain text
  40657. #: guix-git/doc/guix.texi:27529
  40658. msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address."
  40659. msgstr ""
  40660. #. type: deffn
  40661. #: guix-git/doc/guix.texi:27530
  40662. #, no-wrap
  40663. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40664. msgstr ""
  40665. #. type: deffn
  40666. #: guix-git/doc/guix.texi:27538
  40667. msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory."
  40668. msgstr ""
  40669. #. type: Plain text
  40670. #: guix-git/doc/guix.texi:27541
  40671. msgid "A simple setup for cat-avatar-generator can look like this:"
  40672. msgstr ""
  40673. #. type: lisp
  40674. #: guix-git/doc/guix.texi:27548
  40675. #, no-wrap
  40676. msgid ""
  40677. "(services (cons* (cat-avatar-generator-service\n"
  40678. " #:configuration\n"
  40679. " (nginx-server-configuration\n"
  40680. " (server-name '(\"example.com\"))))\n"
  40681. " ...\n"
  40682. " %base-services))\n"
  40683. msgstr ""
  40684. #. type: subsubheading
  40685. #: guix-git/doc/guix.texi:27550
  40686. #, no-wrap
  40687. msgid "Hpcguix-web"
  40688. msgstr ""
  40689. #. type: cindex
  40690. #: guix-git/doc/guix.texi:27552
  40691. #, no-wrap
  40692. msgid "hpcguix-web"
  40693. msgstr ""
  40694. #. type: Plain text
  40695. #: guix-git/doc/guix.texi:27557
  40696. msgid "The @uref{https://github.com/UMCUGenetics/hpcguix-web/, hpcguix-web} program is a customizable web interface to browse Guix packages, initially designed for users of high-performance computing (HPC) clusters."
  40697. msgstr ""
  40698. #. type: defvr
  40699. #: guix-git/doc/guix.texi:27558
  40700. #, no-wrap
  40701. msgid "{Scheme Variable} hpcguix-web-service-type"
  40702. msgstr ""
  40703. #. type: defvr
  40704. #: guix-git/doc/guix.texi:27560
  40705. msgid "The service type for @code{hpcguix-web}."
  40706. msgstr ""
  40707. #. type: deftp
  40708. #: guix-git/doc/guix.texi:27562
  40709. #, no-wrap
  40710. msgid "{Data Type} hpcguix-web-configuration"
  40711. msgstr ""
  40712. #. type: deftp
  40713. #: guix-git/doc/guix.texi:27564
  40714. msgid "Data type for the hpcguix-web service configuration."
  40715. msgstr ""
  40716. #. type: code{#1}
  40717. #: guix-git/doc/guix.texi:27566
  40718. #, no-wrap
  40719. msgid "specs"
  40720. msgstr ""
  40721. #. type: table
  40722. #: guix-git/doc/guix.texi:27569
  40723. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40724. msgstr ""
  40725. #. type: item
  40726. #: guix-git/doc/guix.texi:27571
  40727. #, no-wrap
  40728. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40729. msgstr ""
  40730. #. type: table
  40731. #: guix-git/doc/guix.texi:27573
  40732. msgid "The page title prefix."
  40733. msgstr ""
  40734. #. type: item
  40735. #: guix-git/doc/guix.texi:27574
  40736. #, no-wrap
  40737. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40738. msgstr ""
  40739. #. type: table
  40740. #: guix-git/doc/guix.texi:27576
  40741. msgid "The @command{guix} command."
  40742. msgstr ""
  40743. #. type: item
  40744. #: guix-git/doc/guix.texi:27577
  40745. #, no-wrap
  40746. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40747. msgstr ""
  40748. #. type: table
  40749. #: guix-git/doc/guix.texi:27579
  40750. msgid "A procedure specifying how to filter packages that are displayed."
  40751. msgstr ""
  40752. #. type: item
  40753. #: guix-git/doc/guix.texi:27580
  40754. #, no-wrap
  40755. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40756. msgstr ""
  40757. #. type: table
  40758. #: guix-git/doc/guix.texi:27582
  40759. msgid "Extension package for @code{hpcguix-web}."
  40760. msgstr ""
  40761. #. type: item
  40762. #: guix-git/doc/guix.texi:27583
  40763. #, no-wrap
  40764. msgid "@code{menu} (default: @code{'()})"
  40765. msgstr ""
  40766. #. type: table
  40767. #: guix-git/doc/guix.texi:27585
  40768. msgid "Additional entry in page @code{menu}."
  40769. msgstr ""
  40770. #. type: item
  40771. #: guix-git/doc/guix.texi:27586
  40772. #, no-wrap
  40773. msgid "@code{channels} (default: @code{%default-channels})"
  40774. msgstr ""
  40775. #. type: table
  40776. #: guix-git/doc/guix.texi:27588
  40777. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40778. msgstr ""
  40779. #. type: item
  40780. #: guix-git/doc/guix.texi:27589
  40781. #, no-wrap
  40782. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40783. msgstr ""
  40784. #. type: table
  40785. #: guix-git/doc/guix.texi:27592
  40786. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40787. msgstr ""
  40788. #. type: table
  40789. #: guix-git/doc/guix.texi:27597
  40790. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40791. msgstr ""
  40792. #. type: item
  40793. #: guix-git/doc/guix.texi:27598
  40794. #, no-wrap
  40795. msgid "@code{package} (default: @code{hpcguix-web})"
  40796. msgstr ""
  40797. #. type: table
  40798. #: guix-git/doc/guix.texi:27600
  40799. msgid "The hpcguix-web package to use."
  40800. msgstr ""
  40801. #. type: item
  40802. #: guix-git/doc/guix.texi:27601
  40803. #, no-wrap
  40804. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40805. msgstr ""
  40806. #. type: table
  40807. #: guix-git/doc/guix.texi:27603
  40808. msgid "The IP address to listen to."
  40809. msgstr ""
  40810. #. type: item
  40811. #: guix-git/doc/guix.texi:27604
  40812. #, no-wrap
  40813. msgid "@code{port} (default: @code{5000})"
  40814. msgstr ""
  40815. #. type: table
  40816. #: guix-git/doc/guix.texi:27606
  40817. msgid "The port number to listen to."
  40818. msgstr ""
  40819. #. type: Plain text
  40820. #: guix-git/doc/guix.texi:27610
  40821. msgid "A typical hpcguix-web service declaration looks like this:"
  40822. msgstr ""
  40823. #. type: lisp
  40824. #: guix-git/doc/guix.texi:27619
  40825. #, no-wrap
  40826. msgid ""
  40827. "(service hpcguix-web-service-type\n"
  40828. " (hpcguix-web-configuration\n"
  40829. " (specs\n"
  40830. " #~(define site-config\n"
  40831. " (hpcweb-configuration\n"
  40832. " (title-prefix \"Guix-HPC - \")\n"
  40833. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40834. msgstr ""
  40835. #. type: quotation
  40836. #: guix-git/doc/guix.texi:27626
  40837. msgid "The hpcguix-web service periodically updates the package list it publishes by pulling channels from Git. To that end, it needs to access X.509 certificates so that it can authenticate Git servers when communicating over HTTPS, and it assumes that @file{/etc/ssl/certs} contains those certificates."
  40838. msgstr ""
  40839. #. type: quotation
  40840. #: guix-git/doc/guix.texi:27630
  40841. msgid "Thus, make sure to add @code{nss-certs} or another certificate package to the @code{packages} field of your configuration. @ref{X.509 Certificates}, for more information on X.509 certificates."
  40842. msgstr ""
  40843. #. type: cindex
  40844. #: guix-git/doc/guix.texi:27632 guix-git/doc/guix.texi:27634
  40845. #, no-wrap
  40846. msgid "gmnisrv"
  40847. msgstr ""
  40848. #. type: Plain text
  40849. #: guix-git/doc/guix.texi:27637
  40850. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40851. msgstr ""
  40852. #. type: deffn
  40853. #: guix-git/doc/guix.texi:27638
  40854. #, no-wrap
  40855. msgid "{Scheme Variable} gmnisrv-service-type"
  40856. msgstr ""
  40857. #. type: deffn
  40858. #: guix-git/doc/guix.texi:27641
  40859. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40860. msgstr ""
  40861. #. type: lisp
  40862. #: guix-git/doc/guix.texi:27646
  40863. #, no-wrap
  40864. msgid ""
  40865. "(service gmnisrv-service-type\n"
  40866. " (gmnisrv-configuration\n"
  40867. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40868. msgstr ""
  40869. #. type: deftp
  40870. #: guix-git/doc/guix.texi:27649
  40871. #, no-wrap
  40872. msgid "{Data Type} gmnisrv-configuration"
  40873. msgstr ""
  40874. #. type: deftp
  40875. #: guix-git/doc/guix.texi:27651
  40876. msgid "Data type representing the configuration of gmnisrv."
  40877. msgstr ""
  40878. #. type: item
  40879. #: guix-git/doc/guix.texi:27653
  40880. #, no-wrap
  40881. msgid "@code{package} (default: @var{gmnisrv})"
  40882. msgstr ""
  40883. #. type: table
  40884. #: guix-git/doc/guix.texi:27655
  40885. msgid "Package object of the gmnisrv server."
  40886. msgstr ""
  40887. #. type: item
  40888. #: guix-git/doc/guix.texi:27656
  40889. #, no-wrap
  40890. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40891. msgstr ""
  40892. #. type: table
  40893. #: guix-git/doc/guix.texi:27662
  40894. msgid "File-like object of the gmnisrv configuration file to use. The default configuration listens on port 1965 and serves files from @file{/srv/gemini}. Certificates are stored in @file{/var/lib/gemini/certs}. For more information, run @command{man gmnisrv} and @command{man gmnisrv.ini}."
  40895. msgstr ""
  40896. #. type: subsubheading
  40897. #: guix-git/doc/guix.texi:27666
  40898. #, no-wrap
  40899. msgid "Agate"
  40900. msgstr ""
  40901. #. type: cindex
  40902. #: guix-git/doc/guix.texi:27668
  40903. #, no-wrap
  40904. msgid "agate"
  40905. msgstr ""
  40906. #. type: Plain text
  40907. #: guix-git/doc/guix.texi:27673
  40908. msgid "The @uref{gemini://qwertqwefsday.eu/agate.gmi, Agate} (@uref{https://github.com/mbrubeck/agate, GitHub page over HTTPS}) program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server written in Rust."
  40909. msgstr ""
  40910. #. type: deffn
  40911. #: guix-git/doc/guix.texi:27674
  40912. #, no-wrap
  40913. msgid "{Scheme Variable} agate-service-type"
  40914. msgstr ""
  40915. #. type: deffn
  40916. #: guix-git/doc/guix.texi:27677
  40917. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40918. msgstr ""
  40919. #. type: lisp
  40920. #: guix-git/doc/guix.texi:27684
  40921. #, no-wrap
  40922. msgid ""
  40923. "(service agate-service-type\n"
  40924. "\t (agate-configuration\n"
  40925. "\t (content \"/srv/gemini\")\n"
  40926. "\t (cert \"/srv/cert.pem\")\n"
  40927. "\t (key \"/srv/key.rsa\")))\n"
  40928. msgstr ""
  40929. #. type: deffn
  40930. #: guix-git/doc/guix.texi:27689
  40931. msgid "The example above represents the minimal tweaking necessary to get Agate up and running. Specifying the path to the certificate and key is always necessary, as the Gemini protocol requires TLS by default."
  40932. msgstr ""
  40933. #. type: deffn
  40934. #: guix-git/doc/guix.texi:27692
  40935. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40936. msgstr ""
  40937. #. type: example
  40938. #: guix-git/doc/guix.texi:27696
  40939. #, no-wrap
  40940. msgid ""
  40941. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40942. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40943. msgstr ""
  40944. #. type: deffn
  40945. #: guix-git/doc/guix.texi:27701
  40946. msgid "Of course, you'll have to replace @i{example.com} with your own domain name, and then point the Agate configuration towards the path of the generated key and certificate."
  40947. msgstr ""
  40948. #. type: deftp
  40949. #: guix-git/doc/guix.texi:27704
  40950. #, no-wrap
  40951. msgid "{Data Type} agate-configuration"
  40952. msgstr ""
  40953. #. type: deftp
  40954. #: guix-git/doc/guix.texi:27706
  40955. msgid "Data type representing the configuration of Agate."
  40956. msgstr ""
  40957. #. type: item
  40958. #: guix-git/doc/guix.texi:27708
  40959. #, no-wrap
  40960. msgid "@code{package} (default: @code{agate})"
  40961. msgstr ""
  40962. #. type: table
  40963. #: guix-git/doc/guix.texi:27710
  40964. msgid "The package object of the Agate server."
  40965. msgstr ""
  40966. #. type: item
  40967. #: guix-git/doc/guix.texi:27711
  40968. #, no-wrap
  40969. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40970. msgstr ""
  40971. #. type: table
  40972. #: guix-git/doc/guix.texi:27713
  40973. msgid "The directory from which Agate will serve files."
  40974. msgstr ""
  40975. #. type: item
  40976. #: guix-git/doc/guix.texi:27714
  40977. #, no-wrap
  40978. msgid "@code{cert} (default: @code{#f})"
  40979. msgstr ""
  40980. #. type: table
  40981. #: guix-git/doc/guix.texi:27717
  40982. msgid "The path to the TLS certificate PEM file to be used for encrypted connections. Must be filled in with a value from the user."
  40983. msgstr ""
  40984. #. type: item
  40985. #: guix-git/doc/guix.texi:27718 guix-git/doc/guix.texi:28154
  40986. #, no-wrap
  40987. msgid "@code{key} (default: @code{#f})"
  40988. msgstr ""
  40989. #. type: table
  40990. #: guix-git/doc/guix.texi:27721
  40991. msgid "The path to the PKCS8 private key file to be used for encrypted connections. Must be filled in with a value from the user."
  40992. msgstr ""
  40993. #. type: item
  40994. #: guix-git/doc/guix.texi:27722
  40995. #, no-wrap
  40996. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40997. msgstr ""
  40998. #. type: table
  40999. #: guix-git/doc/guix.texi:27724
  41000. msgid "A list of the addresses to listen on."
  41001. msgstr ""
  41002. #. type: table
  41003. #: guix-git/doc/guix.texi:27727
  41004. msgid "The domain name of this Gemini server. Optional."
  41005. msgstr ""
  41006. #. type: item
  41007. #: guix-git/doc/guix.texi:27728
  41008. #, no-wrap
  41009. msgid "@code{lang} (default: @code{#f})"
  41010. msgstr ""
  41011. #. type: table
  41012. #: guix-git/doc/guix.texi:27730
  41013. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  41014. msgstr ""
  41015. #. type: item
  41016. #: guix-git/doc/guix.texi:27731
  41017. #, no-wrap
  41018. msgid "@code{silent?} (default: @code{#f})"
  41019. msgstr ""
  41020. #. type: table
  41021. #: guix-git/doc/guix.texi:27733
  41022. msgid "Set to @code{#t} to disable logging output."
  41023. msgstr ""
  41024. #. type: item
  41025. #: guix-git/doc/guix.texi:27734
  41026. #, no-wrap
  41027. msgid "@code{serve-secret?} (default: @code{#f})"
  41028. msgstr ""
  41029. #. type: table
  41030. #: guix-git/doc/guix.texi:27737
  41031. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  41032. msgstr ""
  41033. #. type: item
  41034. #: guix-git/doc/guix.texi:27738
  41035. #, no-wrap
  41036. msgid "@code{log-ip?} (default: @code{#t})"
  41037. msgstr ""
  41038. #. type: table
  41039. #: guix-git/doc/guix.texi:27740
  41040. msgid "Whether or not to output IP addresses when logging."
  41041. msgstr ""
  41042. #. type: item
  41043. #: guix-git/doc/guix.texi:27741
  41044. #, no-wrap
  41045. msgid "@code{user} (default: @code{\"agate\"})"
  41046. msgstr ""
  41047. #. type: table
  41048. #: guix-git/doc/guix.texi:27743
  41049. msgid "Owner of the @code{agate} process."
  41050. msgstr ""
  41051. #. type: item
  41052. #: guix-git/doc/guix.texi:27744
  41053. #, no-wrap
  41054. msgid "@code{group} (default: @code{\"agate\"})"
  41055. msgstr ""
  41056. #. type: table
  41057. #: guix-git/doc/guix.texi:27746
  41058. msgid "Owner's group of the @code{agate} process."
  41059. msgstr ""
  41060. #. type: item
  41061. #: guix-git/doc/guix.texi:27747
  41062. #, no-wrap
  41063. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  41064. msgstr ""
  41065. #. type: table
  41066. #: guix-git/doc/guix.texi:27749
  41067. msgid "The file which should store the logging output of Agate."
  41068. msgstr ""
  41069. #. type: cindex
  41070. #: guix-git/doc/guix.texi:27756
  41071. #, no-wrap
  41072. msgid "Web"
  41073. msgstr ""
  41074. #. type: cindex
  41075. #: guix-git/doc/guix.texi:27757
  41076. #, no-wrap
  41077. msgid "HTTP, HTTPS"
  41078. msgstr ""
  41079. #. type: cindex
  41080. #: guix-git/doc/guix.texi:27758
  41081. #, no-wrap
  41082. msgid "Let's Encrypt"
  41083. msgstr ""
  41084. #. type: cindex
  41085. #: guix-git/doc/guix.texi:27759
  41086. #, no-wrap
  41087. msgid "TLS certificates"
  41088. msgstr ""
  41089. #. type: Plain text
  41090. #: guix-git/doc/guix.texi:27766
  41091. msgid "The @code{(gnu services certbot)} module provides a service to automatically obtain a valid TLS certificate from the Let's Encrypt certificate authority. These certificates can then be used to serve content securely over HTTPS or other TLS-based protocols, with the knowledge that the client will be able to verify the server's authenticity."
  41092. msgstr ""
  41093. #. type: Plain text
  41094. #: guix-git/doc/guix.texi:27778
  41095. msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP@. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature."
  41096. msgstr ""
  41097. #. type: Plain text
  41098. #: guix-git/doc/guix.texi:27785
  41099. msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g.@: reloading services, copying keys with different permissions)."
  41100. msgstr ""
  41101. #. type: Plain text
  41102. #: guix-git/doc/guix.texi:27791
  41103. msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason."
  41104. msgstr ""
  41105. #. type: Plain text
  41106. #: guix-git/doc/guix.texi:27795
  41107. msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}."
  41108. msgstr ""
  41109. #. type: defvr
  41110. #: guix-git/doc/guix.texi:27796
  41111. #, no-wrap
  41112. msgid "{Scheme Variable} certbot-service-type"
  41113. msgstr ""
  41114. #. type: defvr
  41115. #: guix-git/doc/guix.texi:27799
  41116. msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:"
  41117. msgstr ""
  41118. #. type: lisp
  41119. #: guix-git/doc/guix.texi:27806
  41120. #, no-wrap
  41121. msgid ""
  41122. "(define %nginx-deploy-hook\n"
  41123. " (program-file\n"
  41124. " \"nginx-deploy-hook\"\n"
  41125. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  41126. " (kill pid SIGHUP))))\n"
  41127. "\n"
  41128. msgstr ""
  41129. #. type: lisp
  41130. #: guix-git/doc/guix.texi:27817
  41131. #, no-wrap
  41132. msgid ""
  41133. "(service certbot-service-type\n"
  41134. " (certbot-configuration\n"
  41135. " (email \"foo@@example.net\")\n"
  41136. " (certificates\n"
  41137. " (list\n"
  41138. " (certificate-configuration\n"
  41139. " (domains '(\"example.net\" \"www.example.net\"))\n"
  41140. " (deploy-hook %nginx-deploy-hook))\n"
  41141. " (certificate-configuration\n"
  41142. " (domains '(\"bar.example.net\")))))))\n"
  41143. msgstr ""
  41144. #. type: defvr
  41145. #: guix-git/doc/guix.texi:27820
  41146. msgid "See below for details about @code{certbot-configuration}."
  41147. msgstr ""
  41148. #. type: deftp
  41149. #: guix-git/doc/guix.texi:27822
  41150. #, no-wrap
  41151. msgid "{Data Type} certbot-configuration"
  41152. msgstr ""
  41153. #. type: deftp
  41154. #: guix-git/doc/guix.texi:27825
  41155. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  41156. msgstr ""
  41157. #. type: item
  41158. #: guix-git/doc/guix.texi:27827
  41159. #, no-wrap
  41160. msgid "@code{package} (default: @code{certbot})"
  41161. msgstr ""
  41162. #. type: table
  41163. #: guix-git/doc/guix.texi:27829
  41164. msgid "The certbot package to use."
  41165. msgstr ""
  41166. #. type: item
  41167. #: guix-git/doc/guix.texi:27830
  41168. #, no-wrap
  41169. msgid "@code{webroot} (default: @code{/var/www})"
  41170. msgstr ""
  41171. #. type: table
  41172. #: guix-git/doc/guix.texi:27833
  41173. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  41174. msgstr ""
  41175. #. type: item
  41176. #: guix-git/doc/guix.texi:27834
  41177. #, no-wrap
  41178. msgid "@code{certificates} (default: @code{()})"
  41179. msgstr ""
  41180. #. type: table
  41181. #: guix-git/doc/guix.texi:27838
  41182. msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}."
  41183. msgstr ""
  41184. #. type: item
  41185. #: guix-git/doc/guix.texi:27839
  41186. #, no-wrap
  41187. msgid "@code{email} (default: @code{#f})"
  41188. msgstr ""
  41189. #. type: table
  41190. #: guix-git/doc/guix.texi:27843
  41191. msgid "Optional email address used for registration and recovery contact. Setting this is encouraged as it allows you to receive important notifications about the account and issued certificates."
  41192. msgstr ""
  41193. #. type: item
  41194. #: guix-git/doc/guix.texi:27844 guix-git/doc/guix.texi:29591
  41195. #, no-wrap
  41196. msgid "@code{server} (default: @code{#f})"
  41197. msgstr ""
  41198. #. type: table
  41199. #: guix-git/doc/guix.texi:27847
  41200. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  41201. msgstr ""
  41202. #. type: item
  41203. #: guix-git/doc/guix.texi:27848
  41204. #, no-wrap
  41205. msgid "@code{rsa-key-size} (default: @code{2048})"
  41206. msgstr ""
  41207. #. type: table
  41208. #: guix-git/doc/guix.texi:27850
  41209. msgid "Size of the RSA key."
  41210. msgstr ""
  41211. #. type: item
  41212. #: guix-git/doc/guix.texi:27851
  41213. #, no-wrap
  41214. msgid "@code{default-location} (default: @i{see below})"
  41215. msgstr ""
  41216. #. type: table
  41217. #: guix-git/doc/guix.texi:27860
  41218. msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types."
  41219. msgstr ""
  41220. #. type: table
  41221. #: guix-git/doc/guix.texi:27864
  41222. msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s."
  41223. msgstr ""
  41224. #. type: table
  41225. #: guix-git/doc/guix.texi:27868
  41226. msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}."
  41227. msgstr ""
  41228. #. type: table
  41229. #: guix-git/doc/guix.texi:27870
  41230. msgid "Pass @code{#f} to not issue a default location."
  41231. msgstr ""
  41232. #. type: deftp
  41233. #: guix-git/doc/guix.texi:27873
  41234. #, no-wrap
  41235. msgid "{Data Type} certificate-configuration"
  41236. msgstr ""
  41237. #. type: deftp
  41238. #: guix-git/doc/guix.texi:27876
  41239. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  41240. msgstr ""
  41241. #. type: item
  41242. #: guix-git/doc/guix.texi:27878
  41243. #, no-wrap
  41244. msgid "@code{name} (default: @i{see below})"
  41245. msgstr ""
  41246. #. type: table
  41247. #: guix-git/doc/guix.texi:27882
  41248. msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}."
  41249. msgstr ""
  41250. #. type: table
  41251. #: guix-git/doc/guix.texi:27884
  41252. msgid "Its default is the first provided domain."
  41253. msgstr ""
  41254. #. type: item
  41255. #: guix-git/doc/guix.texi:27885
  41256. #, no-wrap
  41257. msgid "@code{domains} (default: @code{()})"
  41258. msgstr ""
  41259. #. type: table
  41260. #: guix-git/doc/guix.texi:27888
  41261. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  41262. msgstr ""
  41263. #. type: item
  41264. #: guix-git/doc/guix.texi:27889
  41265. #, no-wrap
  41266. msgid "@code{challenge} (default: @code{#f})"
  41267. msgstr ""
  41268. #. type: table
  41269. #: guix-git/doc/guix.texi:27896
  41270. msgid "The challenge type that has to be run by certbot. If @code{#f} is specified, default to the HTTP challenge. If a value is specified, defaults to the manual plugin (see @code{authentication-hook}, @code{cleanup-hook} and the documentation at @url{https://certbot.eff.org/docs/using.html#hooks}), and gives Let's Encrypt permission to log the public IP address of the requesting machine."
  41271. msgstr ""
  41272. #. type: item
  41273. #: guix-git/doc/guix.texi:27897
  41274. #, no-wrap
  41275. msgid "@code{csr} (default: @code{#f})"
  41276. msgstr ""
  41277. #. type: table
  41278. #: guix-git/doc/guix.texi:27904
  41279. msgid "File name of Certificate Signing Request (CSR) in DER or PEM format. If @code{#f} is specified, this argument will not be passed to certbot. If a value is specified, certbot will use it to obtain a certificate, instead of using a self-generated CSR. The domain-name(s) mentioned in @code{domains}, must be consistent with the domain-name(s) mentioned in CSR file."
  41280. msgstr ""
  41281. #. type: item
  41282. #: guix-git/doc/guix.texi:27905
  41283. #, no-wrap
  41284. msgid "@code{authentication-hook} (default: @code{#f})"
  41285. msgstr ""
  41286. #. type: table
  41287. #: guix-git/doc/guix.texi:27911
  41288. msgid "Command to be run in a shell once for each certificate challenge to be answered. For this command, the shell variable @code{$CERTBOT_DOMAIN} will contain the domain being authenticated, @code{$CERTBOT_VALIDATION} contains the validation string and @code{$CERTBOT_TOKEN} contains the file name of the resource requested when performing an HTTP-01 challenge."
  41289. msgstr ""
  41290. #. type: item
  41291. #: guix-git/doc/guix.texi:27912
  41292. #, no-wrap
  41293. msgid "@code{cleanup-hook} (default: @code{#f})"
  41294. msgstr ""
  41295. #. type: table
  41296. #: guix-git/doc/guix.texi:27918
  41297. msgid "Command to be run in a shell once for each certificate challenge that have been answered by the @code{auth-hook}. For this command, the shell variables available in the @code{auth-hook} script are still available, and additionally @code{$CERTBOT_AUTH_OUTPUT} will contain the standard output of the @code{auth-hook} script."
  41298. msgstr ""
  41299. #. type: item
  41300. #: guix-git/doc/guix.texi:27919
  41301. #, no-wrap
  41302. msgid "@code{deploy-hook} (default: @code{#f})"
  41303. msgstr ""
  41304. #. type: table
  41305. #: guix-git/doc/guix.texi:27927
  41306. msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}."
  41307. msgstr ""
  41308. #. type: Plain text
  41309. #: guix-git/doc/guix.texi:27934
  41310. msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}."
  41311. msgstr ""
  41312. #. type: cindex
  41313. #: guix-git/doc/guix.texi:27936
  41314. #, no-wrap
  41315. msgid "DNS (domain name system)"
  41316. msgstr ""
  41317. #. type: cindex
  41318. #: guix-git/doc/guix.texi:27937
  41319. #, no-wrap
  41320. msgid "domain name system (DNS)"
  41321. msgstr ""
  41322. #. type: Plain text
  41323. #: guix-git/doc/guix.texi:27945
  41324. msgid "The @code{(gnu services dns)} module provides services related to the @dfn{domain name system} (DNS). It provides a server service for hosting an @emph{authoritative} DNS server for multiple zones, slave or master. This service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching and forwarding DNS server for the LAN, which uses @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}."
  41325. msgstr ""
  41326. #. type: subsubheading
  41327. #: guix-git/doc/guix.texi:27946
  41328. #, no-wrap
  41329. msgid "Knot Service"
  41330. msgstr ""
  41331. #. type: Plain text
  41332. #: guix-git/doc/guix.texi:27950
  41333. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  41334. msgstr ""
  41335. #. type: lisp
  41336. #: guix-git/doc/guix.texi:27957
  41337. #, no-wrap
  41338. msgid ""
  41339. "(define-zone-entries example.org.zone\n"
  41340. ";; Name TTL Class Type Data\n"
  41341. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  41342. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  41343. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  41344. "\n"
  41345. msgstr ""
  41346. #. type: lisp
  41347. #: guix-git/doc/guix.texi:27964
  41348. #, no-wrap
  41349. msgid ""
  41350. "(define master-zone\n"
  41351. " (knot-zone-configuration\n"
  41352. " (domain \"example.org\")\n"
  41353. " (zone (zone-file\n"
  41354. " (origin \"example.org\")\n"
  41355. " (entries example.org.zone)))))\n"
  41356. "\n"
  41357. msgstr ""
  41358. #. type: lisp
  41359. #: guix-git/doc/guix.texi:27970
  41360. #, no-wrap
  41361. msgid ""
  41362. "(define slave-zone\n"
  41363. " (knot-zone-configuration\n"
  41364. " (domain \"plop.org\")\n"
  41365. " (dnssec-policy \"default\")\n"
  41366. " (master (list \"plop-master\"))))\n"
  41367. "\n"
  41368. msgstr ""
  41369. #. type: lisp
  41370. #: guix-git/doc/guix.texi:27975
  41371. #, no-wrap
  41372. msgid ""
  41373. "(define plop-master\n"
  41374. " (knot-remote-configuration\n"
  41375. " (id \"plop-master\")\n"
  41376. " (address (list \"208.76.58.171\"))))\n"
  41377. "\n"
  41378. msgstr ""
  41379. #. type: lisp
  41380. #: guix-git/doc/guix.texi:27984
  41381. #, no-wrap
  41382. msgid ""
  41383. "(operating-system\n"
  41384. " ;; ...\n"
  41385. " (services (cons* (service knot-service-type\n"
  41386. " (knot-configuration\n"
  41387. " (remotes (list plop-master))\n"
  41388. " (zones (list master-zone slave-zone))))\n"
  41389. " ;; ...\n"
  41390. " %base-services)))\n"
  41391. msgstr ""
  41392. #. type: deffn
  41393. #: guix-git/doc/guix.texi:27986
  41394. #, no-wrap
  41395. msgid "{Scheme Variable} knot-service-type"
  41396. msgstr ""
  41397. #. type: deffn
  41398. #: guix-git/doc/guix.texi:27988
  41399. msgid "This is the type for the Knot DNS server."
  41400. msgstr ""
  41401. #. type: deffn
  41402. #: guix-git/doc/guix.texi:27996
  41403. msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave."
  41404. msgstr ""
  41405. #. type: deffn
  41406. #: guix-git/doc/guix.texi:27998
  41407. msgid "The following data types are used to configure the Knot DNS server:"
  41408. msgstr ""
  41409. #. type: deftp
  41410. #: guix-git/doc/guix.texi:28000
  41411. #, no-wrap
  41412. msgid "{Data Type} knot-key-configuration"
  41413. msgstr ""
  41414. #. type: deftp
  41415. #: guix-git/doc/guix.texi:28003
  41416. msgid "Data type representing a key. This type has the following parameters:"
  41417. msgstr ""
  41418. #. type: item
  41419. #: guix-git/doc/guix.texi:28005 guix-git/doc/guix.texi:28025
  41420. #: guix-git/doc/guix.texi:28140 guix-git/doc/guix.texi:28166
  41421. #: guix-git/doc/guix.texi:28201
  41422. #, no-wrap
  41423. msgid "@code{id} (default: @code{\"\"})"
  41424. msgstr ""
  41425. #. type: table
  41426. #: guix-git/doc/guix.texi:28008 guix-git/doc/guix.texi:28028
  41427. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  41428. msgstr ""
  41429. #. type: item
  41430. #: guix-git/doc/guix.texi:28009
  41431. #, no-wrap
  41432. msgid "@code{algorithm} (default: @code{#f})"
  41433. msgstr ""
  41434. #. type: table
  41435. #: guix-git/doc/guix.texi:28013
  41436. msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}."
  41437. msgstr ""
  41438. #. type: item
  41439. #: guix-git/doc/guix.texi:28014
  41440. #, no-wrap
  41441. msgid "@code{secret} (default: @code{\"\"})"
  41442. msgstr ""
  41443. #. type: table
  41444. #: guix-git/doc/guix.texi:28016
  41445. msgid "The secret key itself."
  41446. msgstr ""
  41447. #. type: deftp
  41448. #: guix-git/doc/guix.texi:28020
  41449. #, no-wrap
  41450. msgid "{Data Type} knot-acl-configuration"
  41451. msgstr ""
  41452. #. type: deftp
  41453. #: guix-git/doc/guix.texi:28023
  41454. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  41455. msgstr ""
  41456. #. type: item
  41457. #: guix-git/doc/guix.texi:28029 guix-git/doc/guix.texi:28144
  41458. #, no-wrap
  41459. msgid "@code{address} (default: @code{'()})"
  41460. msgstr ""
  41461. #. type: table
  41462. #: guix-git/doc/guix.texi:28033
  41463. msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required."
  41464. msgstr ""
  41465. #. type: item
  41466. #: guix-git/doc/guix.texi:28034
  41467. #, no-wrap
  41468. msgid "@code{key} (default: @code{'()})"
  41469. msgstr ""
  41470. #. type: table
  41471. #: guix-git/doc/guix.texi:28038
  41472. msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL."
  41473. msgstr ""
  41474. #. type: item
  41475. #: guix-git/doc/guix.texi:28039
  41476. #, no-wrap
  41477. msgid "@code{action} (default: @code{'()})"
  41478. msgstr ""
  41479. #. type: table
  41480. #: guix-git/doc/guix.texi:28043
  41481. msgid "An ordered list of actions that are permitted or forbidden by this ACL@. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}."
  41482. msgstr ""
  41483. #. type: item
  41484. #: guix-git/doc/guix.texi:28044
  41485. #, no-wrap
  41486. msgid "@code{deny?} (default: @code{#f})"
  41487. msgstr ""
  41488. #. type: table
  41489. #: guix-git/doc/guix.texi:28047
  41490. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  41491. msgstr ""
  41492. #. type: deftp
  41493. #: guix-git/doc/guix.texi:28051
  41494. #, no-wrap
  41495. msgid "{Data Type} zone-entry"
  41496. msgstr ""
  41497. #. type: deftp
  41498. #: guix-git/doc/guix.texi:28054
  41499. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  41500. msgstr ""
  41501. #. type: item
  41502. #: guix-git/doc/guix.texi:28056
  41503. #, no-wrap
  41504. msgid "@code{name} (default: @code{\"@@\"})"
  41505. msgstr ""
  41506. #. type: table
  41507. #: guix-git/doc/guix.texi:28062
  41508. msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}."
  41509. msgstr ""
  41510. #. type: item
  41511. #: guix-git/doc/guix.texi:28063
  41512. #, no-wrap
  41513. msgid "@code{ttl} (default: @code{\"\"})"
  41514. msgstr ""
  41515. #. type: table
  41516. #: guix-git/doc/guix.texi:28065
  41517. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  41518. msgstr ""
  41519. #. type: item
  41520. #: guix-git/doc/guix.texi:28066
  41521. #, no-wrap
  41522. msgid "@code{class} (default: @code{\"IN\"})"
  41523. msgstr ""
  41524. #. type: table
  41525. #: guix-git/doc/guix.texi:28069
  41526. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  41527. msgstr ""
  41528. #. type: item
  41529. #: guix-git/doc/guix.texi:28070
  41530. #, no-wrap
  41531. msgid "@code{type} (default: @code{\"A\"})"
  41532. msgstr ""
  41533. #. type: table
  41534. #: guix-git/doc/guix.texi:28074
  41535. msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined."
  41536. msgstr ""
  41537. #. type: item
  41538. #: guix-git/doc/guix.texi:28075
  41539. #, no-wrap
  41540. msgid "@code{data} (default: @code{\"\"})"
  41541. msgstr ""
  41542. #. type: table
  41543. #: guix-git/doc/guix.texi:28079
  41544. msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot."
  41545. msgstr ""
  41546. #. type: deftp
  41547. #: guix-git/doc/guix.texi:28083
  41548. #, no-wrap
  41549. msgid "{Data Type} zone-file"
  41550. msgstr ""
  41551. #. type: deftp
  41552. #: guix-git/doc/guix.texi:28086
  41553. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  41554. msgstr ""
  41555. #. type: table
  41556. #: guix-git/doc/guix.texi:28095
  41557. msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}."
  41558. msgstr ""
  41559. #. type: item
  41560. #: guix-git/doc/guix.texi:28096
  41561. #, no-wrap
  41562. msgid "@code{origin} (default: @code{\"\"})"
  41563. msgstr ""
  41564. #. type: table
  41565. #: guix-git/doc/guix.texi:28098
  41566. msgid "The name of your zone. This parameter cannot be empty."
  41567. msgstr ""
  41568. #. type: item
  41569. #: guix-git/doc/guix.texi:28099
  41570. #, no-wrap
  41571. msgid "@code{ns} (default: @code{\"ns\"})"
  41572. msgstr ""
  41573. #. type: table
  41574. #: guix-git/doc/guix.texi:28104
  41575. msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries."
  41576. msgstr ""
  41577. #. type: item
  41578. #: guix-git/doc/guix.texi:28105
  41579. #, no-wrap
  41580. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  41581. msgstr ""
  41582. #. type: table
  41583. #: guix-git/doc/guix.texi:28108
  41584. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  41585. msgstr ""
  41586. #. type: item
  41587. #: guix-git/doc/guix.texi:28109
  41588. #, no-wrap
  41589. msgid "@code{serial} (default: @code{1})"
  41590. msgstr ""
  41591. #. type: table
  41592. #: guix-git/doc/guix.texi:28113
  41593. msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone."
  41594. msgstr ""
  41595. #. type: item
  41596. #: guix-git/doc/guix.texi:28114
  41597. #, no-wrap
  41598. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  41599. msgstr ""
  41600. #. type: table
  41601. #: guix-git/doc/guix.texi:28118
  41602. msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}."
  41603. msgstr ""
  41604. #. type: item
  41605. #: guix-git/doc/guix.texi:28119
  41606. #, no-wrap
  41607. msgid "@code{retry} (default: @code{(* 15 60)})"
  41608. msgstr ""
  41609. #. type: table
  41610. #: guix-git/doc/guix.texi:28122
  41611. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  41612. msgstr ""
  41613. #. type: item
  41614. #: guix-git/doc/guix.texi:28123
  41615. #, no-wrap
  41616. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  41617. msgstr ""
  41618. #. type: table
  41619. #: guix-git/doc/guix.texi:28127
  41620. msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists."
  41621. msgstr ""
  41622. #. type: item
  41623. #: guix-git/doc/guix.texi:28128
  41624. #, no-wrap
  41625. msgid "@code{nx} (default: @code{3600})"
  41626. msgstr ""
  41627. #. type: table
  41628. #: guix-git/doc/guix.texi:28131
  41629. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  41630. msgstr ""
  41631. #. type: deftp
  41632. #: guix-git/doc/guix.texi:28135
  41633. #, no-wrap
  41634. msgid "{Data Type} knot-remote-configuration"
  41635. msgstr ""
  41636. #. type: deftp
  41637. #: guix-git/doc/guix.texi:28138
  41638. msgid "Data type representing a remote configuration. This type has the following parameters:"
  41639. msgstr ""
  41640. #. type: table
  41641. #: guix-git/doc/guix.texi:28143
  41642. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  41643. msgstr ""
  41644. #. type: table
  41645. #: guix-git/doc/guix.texi:28148
  41646. msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53."
  41647. msgstr ""
  41648. #. type: item
  41649. #: guix-git/doc/guix.texi:28149
  41650. #, no-wrap
  41651. msgid "@code{via} (default: @code{'()})"
  41652. msgstr ""
  41653. #. type: table
  41654. #: guix-git/doc/guix.texi:28153
  41655. msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP@. An optional port can be given with the @@ separator. The default is to choose at random."
  41656. msgstr ""
  41657. #. type: table
  41658. #: guix-git/doc/guix.texi:28157
  41659. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41660. msgstr ""
  41661. #. type: deftp
  41662. #: guix-git/doc/guix.texi:28161
  41663. #, no-wrap
  41664. msgid "{Data Type} knot-keystore-configuration"
  41665. msgstr ""
  41666. #. type: deftp
  41667. #: guix-git/doc/guix.texi:28164
  41668. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41669. msgstr ""
  41670. #. type: table
  41671. #: guix-git/doc/guix.texi:28168
  41672. msgid "The id of the keystore. It must not be empty."
  41673. msgstr ""
  41674. #. type: item
  41675. #: guix-git/doc/guix.texi:28169
  41676. #, no-wrap
  41677. msgid "@code{backend} (default: @code{'pem})"
  41678. msgstr ""
  41679. #. type: table
  41680. #: guix-git/doc/guix.texi:28171
  41681. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41682. msgstr ""
  41683. #. type: item
  41684. #: guix-git/doc/guix.texi:28172
  41685. #, no-wrap
  41686. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41687. msgstr ""
  41688. #. type: table
  41689. #: guix-git/doc/guix.texi:28176
  41690. msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string represents a path in the file system."
  41691. msgstr ""
  41692. #. type: deftp
  41693. #: guix-git/doc/guix.texi:28180
  41694. #, no-wrap
  41695. msgid "{Data Type} knot-policy-configuration"
  41696. msgstr ""
  41697. #. type: deftp
  41698. #: guix-git/doc/guix.texi:28184
  41699. msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate."
  41700. msgstr ""
  41701. #. type: deftp
  41702. #: guix-git/doc/guix.texi:28191
  41703. msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK."
  41704. msgstr ""
  41705. #. type: deftp
  41706. #: guix-git/doc/guix.texi:28197
  41707. msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record."
  41708. msgstr ""
  41709. #. type: deftp
  41710. #: guix-git/doc/guix.texi:28199
  41711. msgid "This type has the following parameters:"
  41712. msgstr ""
  41713. #. type: table
  41714. #: guix-git/doc/guix.texi:28203
  41715. msgid "The id of the policy. It must not be empty."
  41716. msgstr ""
  41717. #. type: item
  41718. #: guix-git/doc/guix.texi:28204
  41719. #, no-wrap
  41720. msgid "@code{keystore} (default: @code{\"default\"})"
  41721. msgstr ""
  41722. #. type: table
  41723. #: guix-git/doc/guix.texi:28209
  41724. msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)."
  41725. msgstr ""
  41726. #. type: item
  41727. #: guix-git/doc/guix.texi:28210
  41728. #, no-wrap
  41729. msgid "@code{manual?} (default: @code{#f})"
  41730. msgstr ""
  41731. #. type: table
  41732. #: guix-git/doc/guix.texi:28212
  41733. msgid "Whether the key management is manual or automatic."
  41734. msgstr ""
  41735. #. type: item
  41736. #: guix-git/doc/guix.texi:28213
  41737. #, no-wrap
  41738. msgid "@code{single-type-signing?} (default: @code{#f})"
  41739. msgstr ""
  41740. #. type: table
  41741. #: guix-git/doc/guix.texi:28215
  41742. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41743. msgstr ""
  41744. #. type: item
  41745. #: guix-git/doc/guix.texi:28216
  41746. #, no-wrap
  41747. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41748. msgstr ""
  41749. #. type: table
  41750. #: guix-git/doc/guix.texi:28218
  41751. msgid "An algorithm of signing keys and issued signatures."
  41752. msgstr ""
  41753. #. type: item
  41754. #: guix-git/doc/guix.texi:28219
  41755. #, no-wrap
  41756. msgid "@code{ksk-size} (default: @code{256})"
  41757. msgstr ""
  41758. #. type: table
  41759. #: guix-git/doc/guix.texi:28222
  41760. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41761. msgstr ""
  41762. #. type: item
  41763. #: guix-git/doc/guix.texi:28223
  41764. #, no-wrap
  41765. msgid "@code{zsk-size} (default: @code{256})"
  41766. msgstr ""
  41767. #. type: table
  41768. #: guix-git/doc/guix.texi:28226
  41769. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41770. msgstr ""
  41771. #. type: item
  41772. #: guix-git/doc/guix.texi:28227
  41773. #, no-wrap
  41774. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41775. msgstr ""
  41776. #. type: table
  41777. #: guix-git/doc/guix.texi:28230
  41778. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41779. msgstr ""
  41780. #. type: item
  41781. #: guix-git/doc/guix.texi:28231
  41782. #, no-wrap
  41783. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41784. msgstr ""
  41785. #. type: table
  41786. #: guix-git/doc/guix.texi:28233
  41787. msgid "The period between ZSK publication and the next rollover initiation."
  41788. msgstr ""
  41789. #. type: item
  41790. #: guix-git/doc/guix.texi:28234
  41791. #, no-wrap
  41792. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41793. msgstr ""
  41794. #. type: table
  41795. #: guix-git/doc/guix.texi:28237
  41796. msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves."
  41797. msgstr ""
  41798. #. type: item
  41799. #: guix-git/doc/guix.texi:28238
  41800. #, no-wrap
  41801. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41802. msgstr ""
  41803. #. type: table
  41804. #: guix-git/doc/guix.texi:28240
  41805. msgid "A validity period of newly issued signatures."
  41806. msgstr ""
  41807. #. type: item
  41808. #: guix-git/doc/guix.texi:28241
  41809. #, no-wrap
  41810. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41811. msgstr ""
  41812. #. type: table
  41813. #: guix-git/doc/guix.texi:28243
  41814. msgid "A period how long before a signature expiration the signature will be refreshed."
  41815. msgstr ""
  41816. #. type: item
  41817. #: guix-git/doc/guix.texi:28244
  41818. #, no-wrap
  41819. msgid "@code{nsec3?} (default: @code{#f})"
  41820. msgstr ""
  41821. #. type: table
  41822. #: guix-git/doc/guix.texi:28246
  41823. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41824. msgstr ""
  41825. #. type: item
  41826. #: guix-git/doc/guix.texi:28247
  41827. #, no-wrap
  41828. msgid "@code{nsec3-iterations} (default: @code{5})"
  41829. msgstr ""
  41830. #. type: table
  41831. #: guix-git/doc/guix.texi:28249
  41832. msgid "The number of additional times the hashing is performed."
  41833. msgstr ""
  41834. #. type: item
  41835. #: guix-git/doc/guix.texi:28250
  41836. #, no-wrap
  41837. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41838. msgstr ""
  41839. #. type: table
  41840. #: guix-git/doc/guix.texi:28253
  41841. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41842. msgstr ""
  41843. #. type: item
  41844. #: guix-git/doc/guix.texi:28254
  41845. #, no-wrap
  41846. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41847. msgstr ""
  41848. #. type: table
  41849. #: guix-git/doc/guix.texi:28256
  41850. msgid "The validity period of newly issued salt field."
  41851. msgstr ""
  41852. #. type: deftp
  41853. #: guix-git/doc/guix.texi:28260
  41854. #, no-wrap
  41855. msgid "{Data Type} knot-zone-configuration"
  41856. msgstr ""
  41857. #. type: deftp
  41858. #: guix-git/doc/guix.texi:28263
  41859. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41860. msgstr ""
  41861. #. type: item
  41862. #: guix-git/doc/guix.texi:28265
  41863. #, no-wrap
  41864. msgid "@code{domain} (default: @code{\"\"})"
  41865. msgstr ""
  41866. #. type: table
  41867. #: guix-git/doc/guix.texi:28267
  41868. msgid "The domain served by this configuration. It must not be empty."
  41869. msgstr ""
  41870. #. type: item
  41871. #: guix-git/doc/guix.texi:28268
  41872. #, no-wrap
  41873. msgid "@code{file} (default: @code{\"\"})"
  41874. msgstr ""
  41875. #. type: table
  41876. #: guix-git/doc/guix.texi:28271
  41877. msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name."
  41878. msgstr ""
  41879. #. type: item
  41880. #: guix-git/doc/guix.texi:28272
  41881. #, no-wrap
  41882. msgid "@code{zone} (default: @code{(zone-file)})"
  41883. msgstr ""
  41884. #. type: table
  41885. #: guix-git/doc/guix.texi:28275
  41886. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41887. msgstr ""
  41888. #. type: item
  41889. #: guix-git/doc/guix.texi:28276
  41890. #, no-wrap
  41891. msgid "@code{master} (default: @code{'()})"
  41892. msgstr ""
  41893. #. type: table
  41894. #: guix-git/doc/guix.texi:28279
  41895. msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers."
  41896. msgstr ""
  41897. #. type: item
  41898. #: guix-git/doc/guix.texi:28280
  41899. #, no-wrap
  41900. msgid "@code{ddns-master} (default: @code{#f})"
  41901. msgstr ""
  41902. #. type: table
  41903. #: guix-git/doc/guix.texi:28283
  41904. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41905. msgstr ""
  41906. #. type: item
  41907. #: guix-git/doc/guix.texi:28284
  41908. #, no-wrap
  41909. msgid "@code{notify} (default: @code{'()})"
  41910. msgstr ""
  41911. #. type: table
  41912. #: guix-git/doc/guix.texi:28286
  41913. msgid "A list of slave remote identifiers."
  41914. msgstr ""
  41915. #. type: item
  41916. #: guix-git/doc/guix.texi:28287
  41917. #, no-wrap
  41918. msgid "@code{acl} (default: @code{'()})"
  41919. msgstr ""
  41920. #. type: table
  41921. #: guix-git/doc/guix.texi:28289
  41922. msgid "A list of acl identifiers."
  41923. msgstr ""
  41924. #. type: item
  41925. #: guix-git/doc/guix.texi:28290
  41926. #, no-wrap
  41927. msgid "@code{semantic-checks?} (default: @code{#f})"
  41928. msgstr ""
  41929. #. type: table
  41930. #: guix-git/doc/guix.texi:28292
  41931. msgid "When set, this adds more semantic checks to the zone."
  41932. msgstr ""
  41933. #. type: item
  41934. #: guix-git/doc/guix.texi:28293
  41935. #, no-wrap
  41936. msgid "@code{zonefile-sync} (default: @code{0})"
  41937. msgstr ""
  41938. #. type: table
  41939. #: guix-git/doc/guix.texi:28296
  41940. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41941. msgstr ""
  41942. #. type: item
  41943. #: guix-git/doc/guix.texi:28297
  41944. #, no-wrap
  41945. msgid "@code{zonefile-load} (default: @code{#f})"
  41946. msgstr ""
  41947. #. type: table
  41948. #: guix-git/doc/guix.texi:28300
  41949. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41950. msgstr ""
  41951. #. type: item
  41952. #: guix-git/doc/guix.texi:28302
  41953. #, no-wrap
  41954. msgid "@code{#f} for using the default value from Knot,"
  41955. msgstr ""
  41956. #. type: item
  41957. #: guix-git/doc/guix.texi:28303
  41958. #, no-wrap
  41959. msgid "@code{'none} for not using the zone file at all,"
  41960. msgstr ""
  41961. #. type: item
  41962. #: guix-git/doc/guix.texi:28304
  41963. #, no-wrap
  41964. msgid "@code{'difference} for computing the difference between already available"
  41965. msgstr ""
  41966. #. type: itemize
  41967. #: guix-git/doc/guix.texi:28306
  41968. msgid "contents and zone contents and applying it to the current zone contents,"
  41969. msgstr ""
  41970. #. type: item
  41971. #: guix-git/doc/guix.texi:28306
  41972. #, no-wrap
  41973. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41974. msgstr ""
  41975. #. type: itemize
  41976. #: guix-git/doc/guix.texi:28309
  41977. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41978. msgstr ""
  41979. #. type: item
  41980. #: guix-git/doc/guix.texi:28309
  41981. #, no-wrap
  41982. msgid "@code{'whole} for loading zone contents from the zone file."
  41983. msgstr ""
  41984. #. type: item
  41985. #: guix-git/doc/guix.texi:28312
  41986. #, no-wrap
  41987. msgid "@code{journal-content} (default: @code{#f})"
  41988. msgstr ""
  41989. #. type: table
  41990. #: guix-git/doc/guix.texi:28317
  41991. msgid "The way the journal is used to store zone and its changes. Possible values are @code{'none} to not use it at all, @code{'changes} to store changes and @code{'all} to store contents. @code{#f} does not set this option, so the default value from Knot is used."
  41992. msgstr ""
  41993. #. type: item
  41994. #: guix-git/doc/guix.texi:28318
  41995. #, no-wrap
  41996. msgid "@code{max-journal-usage} (default: @code{#f})"
  41997. msgstr ""
  41998. #. type: table
  41999. #: guix-git/doc/guix.texi:28321
  42000. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  42001. msgstr ""
  42002. #. type: item
  42003. #: guix-git/doc/guix.texi:28322
  42004. #, no-wrap
  42005. msgid "@code{max-journal-depth} (default: @code{#f})"
  42006. msgstr ""
  42007. #. type: table
  42008. #: guix-git/doc/guix.texi:28325
  42009. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  42010. msgstr ""
  42011. #. type: item
  42012. #: guix-git/doc/guix.texi:28326
  42013. #, no-wrap
  42014. msgid "@code{max-zone-size} (default: @code{#f})"
  42015. msgstr ""
  42016. #. type: table
  42017. #: guix-git/doc/guix.texi:28330
  42018. msgid "The maximum size of the zone file. This limit is enforced for incoming transfer and updates. @code{#f} does not set this option, so the default value from Knot is used."
  42019. msgstr ""
  42020. #. type: item
  42021. #: guix-git/doc/guix.texi:28331
  42022. #, no-wrap
  42023. msgid "@code{dnssec-policy} (default: @code{#f})"
  42024. msgstr ""
  42025. #. type: table
  42026. #: guix-git/doc/guix.texi:28335
  42027. msgid "A reference to a @code{knot-policy-configuration} record, or the special name @code{\"default\"}. If the value is @code{#f}, there is no dnssec signing on this zone."
  42028. msgstr ""
  42029. #. type: item
  42030. #: guix-git/doc/guix.texi:28336
  42031. #, no-wrap
  42032. msgid "@code{serial-policy} (default: @code{'increment})"
  42033. msgstr ""
  42034. #. type: table
  42035. #: guix-git/doc/guix.texi:28338
  42036. msgid "A policy between @code{'increment} and @code{'unixtime}."
  42037. msgstr ""
  42038. #. type: deftp
  42039. #: guix-git/doc/guix.texi:28342
  42040. #, no-wrap
  42041. msgid "{Data Type} knot-configuration"
  42042. msgstr ""
  42043. #. type: deftp
  42044. #: guix-git/doc/guix.texi:28345
  42045. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  42046. msgstr ""
  42047. #. type: item
  42048. #: guix-git/doc/guix.texi:28347
  42049. #, no-wrap
  42050. msgid "@code{knot} (default: @code{knot})"
  42051. msgstr ""
  42052. #. type: table
  42053. #: guix-git/doc/guix.texi:28349
  42054. msgid "The Knot package."
  42055. msgstr ""
  42056. #. type: item
  42057. #: guix-git/doc/guix.texi:28350
  42058. #, no-wrap
  42059. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  42060. msgstr ""
  42061. #. type: table
  42062. #: guix-git/doc/guix.texi:28352
  42063. msgid "The run directory. This directory will be used for pid file and sockets."
  42064. msgstr ""
  42065. #. type: item
  42066. #: guix-git/doc/guix.texi:28353
  42067. #, no-wrap
  42068. msgid "@code{includes} (default: @code{'()})"
  42069. msgstr ""
  42070. #. type: table
  42071. #: guix-git/doc/guix.texi:28356
  42072. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  42073. msgstr ""
  42074. #. type: cindex
  42075. #: guix-git/doc/guix.texi:28357
  42076. #, no-wrap
  42077. msgid "secrets, Knot service"
  42078. msgstr ""
  42079. #. type: table
  42080. #: guix-git/doc/guix.texi:28363
  42081. msgid "This can be used to manage secrets out-of-band. For example, secret keys may be stored in an out-of-band file not managed by Guix, and thus not visible in @file{/gnu/store}---e.g., you could store secret key configuration in @file{/etc/knot/secrets.conf} and add this file to the @code{includes} list."
  42082. msgstr ""
  42083. #. type: table
  42084. #: guix-git/doc/guix.texi:28368
  42085. msgid "One can generate a secret tsig key (for nsupdate and zone transfers with the keymgr command from the knot package. Note that the package is not automatically installed by the service. The following example shows how to generate a new tsig key:"
  42086. msgstr ""
  42087. #. type: example
  42088. #: guix-git/doc/guix.texi:28372
  42089. #, no-wrap
  42090. msgid ""
  42091. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  42092. "chmod 600 /etc/knot/secrets.conf\n"
  42093. msgstr ""
  42094. #. type: table
  42095. #: guix-git/doc/guix.texi:28378
  42096. msgid "Also note that the generated key will be named @var{mysecret}, so it is the name that needs to be used in the @var{key} field of the @code{knot-acl-configuration} record and in other places that need to refer to that key."
  42097. msgstr ""
  42098. #. type: table
  42099. #: guix-git/doc/guix.texi:28380
  42100. msgid "It can also be used to add configuration not supported by this interface."
  42101. msgstr ""
  42102. #. type: item
  42103. #: guix-git/doc/guix.texi:28381
  42104. #, no-wrap
  42105. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  42106. msgstr ""
  42107. #. type: table
  42108. #: guix-git/doc/guix.texi:28383 guix-git/doc/guix.texi:28386
  42109. msgid "An ip address on which to listen."
  42110. msgstr ""
  42111. #. type: item
  42112. #: guix-git/doc/guix.texi:28384
  42113. #, no-wrap
  42114. msgid "@code{listen-v6} (default: @code{\"::\"})"
  42115. msgstr ""
  42116. #. type: item
  42117. #: guix-git/doc/guix.texi:28387
  42118. #, no-wrap
  42119. msgid "@code{listen-port} (default: @code{53})"
  42120. msgstr ""
  42121. #. type: table
  42122. #: guix-git/doc/guix.texi:28389
  42123. msgid "A port on which to listen."
  42124. msgstr ""
  42125. #. type: item
  42126. #: guix-git/doc/guix.texi:28390
  42127. #, no-wrap
  42128. msgid "@code{keys} (default: @code{'()})"
  42129. msgstr ""
  42130. #. type: table
  42131. #: guix-git/doc/guix.texi:28392
  42132. msgid "The list of knot-key-configuration used by this configuration."
  42133. msgstr ""
  42134. #. type: item
  42135. #: guix-git/doc/guix.texi:28393
  42136. #, no-wrap
  42137. msgid "@code{acls} (default: @code{'()})"
  42138. msgstr ""
  42139. #. type: table
  42140. #: guix-git/doc/guix.texi:28395
  42141. msgid "The list of knot-acl-configuration used by this configuration."
  42142. msgstr ""
  42143. #. type: item
  42144. #: guix-git/doc/guix.texi:28396
  42145. #, no-wrap
  42146. msgid "@code{remotes} (default: @code{'()})"
  42147. msgstr ""
  42148. #. type: table
  42149. #: guix-git/doc/guix.texi:28398
  42150. msgid "The list of knot-remote-configuration used by this configuration."
  42151. msgstr ""
  42152. #. type: item
  42153. #: guix-git/doc/guix.texi:28399
  42154. #, no-wrap
  42155. msgid "@code{zones} (default: @code{'()})"
  42156. msgstr ""
  42157. #. type: table
  42158. #: guix-git/doc/guix.texi:28401
  42159. msgid "The list of knot-zone-configuration used by this configuration."
  42160. msgstr ""
  42161. #. type: subsubheading
  42162. #: guix-git/doc/guix.texi:28405
  42163. #, no-wrap
  42164. msgid "Knot Resolver Service"
  42165. msgstr ""
  42166. #. type: deffn
  42167. #: guix-git/doc/guix.texi:28407
  42168. #, no-wrap
  42169. msgid "{Scheme Variable} knot-resolver-service-type"
  42170. msgstr ""
  42171. #. type: deffn
  42172. #: guix-git/doc/guix.texi:28410
  42173. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  42174. msgstr ""
  42175. #. type: lisp
  42176. #: guix-git/doc/guix.texi:28420
  42177. #, no-wrap
  42178. msgid ""
  42179. "(service knot-resolver-service-type\n"
  42180. " (knot-resolver-configuration\n"
  42181. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  42182. "net.listen('192.168.0.1', 5353)\n"
  42183. "user('knot-resolver', 'knot-resolver')\n"
  42184. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  42185. "cache.size = 100 * MB\n"
  42186. "\"))))\n"
  42187. msgstr ""
  42188. #. type: deffn
  42189. #: guix-git/doc/guix.texi:28423
  42190. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  42191. msgstr ""
  42192. #. type: deftp
  42193. #: guix-git/doc/guix.texi:28425
  42194. #, no-wrap
  42195. msgid "{Data Type} knot-resolver-configuration"
  42196. msgstr ""
  42197. #. type: deftp
  42198. #: guix-git/doc/guix.texi:28427
  42199. msgid "Data type representing the configuration of knot-resolver."
  42200. msgstr ""
  42201. #. type: item
  42202. #: guix-git/doc/guix.texi:28429
  42203. #, no-wrap
  42204. msgid "@code{package} (default: @var{knot-resolver})"
  42205. msgstr ""
  42206. #. type: table
  42207. #: guix-git/doc/guix.texi:28431
  42208. msgid "Package object of the knot DNS resolver."
  42209. msgstr ""
  42210. #. type: item
  42211. #: guix-git/doc/guix.texi:28432
  42212. #, no-wrap
  42213. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  42214. msgstr ""
  42215. #. type: table
  42216. #: guix-git/doc/guix.texi:28435
  42217. msgid "File-like object of the kresd configuration file to use, by default it will listen on @code{127.0.0.1} and @code{::1}."
  42218. msgstr ""
  42219. #. type: item
  42220. #: guix-git/doc/guix.texi:28436
  42221. #, no-wrap
  42222. msgid "@code{garbage-collection-interval} (default: 1000)"
  42223. msgstr ""
  42224. #. type: table
  42225. #: guix-git/doc/guix.texi:28438
  42226. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  42227. msgstr ""
  42228. #. type: subsubheading
  42229. #: guix-git/doc/guix.texi:28443
  42230. #, no-wrap
  42231. msgid "Dnsmasq Service"
  42232. msgstr ""
  42233. #. type: deffn
  42234. #: guix-git/doc/guix.texi:28445
  42235. #, no-wrap
  42236. msgid "{Scheme Variable} dnsmasq-service-type"
  42237. msgstr ""
  42238. #. type: deffn
  42239. #: guix-git/doc/guix.texi:28448
  42240. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  42241. msgstr ""
  42242. #. type: lisp
  42243. #: guix-git/doc/guix.texi:28454
  42244. #, no-wrap
  42245. msgid ""
  42246. "(service dnsmasq-service-type\n"
  42247. " (dnsmasq-configuration\n"
  42248. " (no-resolv? #t)\n"
  42249. " (servers '(\"192.168.1.1\"))))\n"
  42250. msgstr ""
  42251. #. type: deftp
  42252. #: guix-git/doc/guix.texi:28457
  42253. #, no-wrap
  42254. msgid "{Data Type} dnsmasq-configuration"
  42255. msgstr ""
  42256. #. type: deftp
  42257. #: guix-git/doc/guix.texi:28459
  42258. msgid "Data type representing the configuration of dnsmasq."
  42259. msgstr ""
  42260. #. type: item
  42261. #: guix-git/doc/guix.texi:28461
  42262. #, no-wrap
  42263. msgid "@code{package} (default: @var{dnsmasq})"
  42264. msgstr ""
  42265. #. type: table
  42266. #: guix-git/doc/guix.texi:28463
  42267. msgid "Package object of the dnsmasq server."
  42268. msgstr ""
  42269. #. type: item
  42270. #: guix-git/doc/guix.texi:28464
  42271. #, no-wrap
  42272. msgid "@code{no-hosts?} (default: @code{#f})"
  42273. msgstr ""
  42274. #. type: table
  42275. #: guix-git/doc/guix.texi:28466
  42276. msgid "When true, don't read the hostnames in /etc/hosts."
  42277. msgstr ""
  42278. #. type: item
  42279. #: guix-git/doc/guix.texi:28467
  42280. #, no-wrap
  42281. msgid "@code{port} (default: @code{53})"
  42282. msgstr ""
  42283. #. type: table
  42284. #: guix-git/doc/guix.texi:28470
  42285. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  42286. msgstr ""
  42287. #. type: item
  42288. #: guix-git/doc/guix.texi:28471
  42289. #, no-wrap
  42290. msgid "@code{local-service?} (default: @code{#t})"
  42291. msgstr ""
  42292. #. type: table
  42293. #: guix-git/doc/guix.texi:28474
  42294. msgid "Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server."
  42295. msgstr ""
  42296. #. type: item
  42297. #: guix-git/doc/guix.texi:28475
  42298. #, no-wrap
  42299. msgid "@code{listen-addresses} (default: @code{'()})"
  42300. msgstr ""
  42301. #. type: table
  42302. #: guix-git/doc/guix.texi:28477
  42303. msgid "Listen on the given IP addresses."
  42304. msgstr ""
  42305. #. type: item
  42306. #: guix-git/doc/guix.texi:28478
  42307. #, no-wrap
  42308. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  42309. msgstr ""
  42310. #. type: table
  42311. #: guix-git/doc/guix.texi:28480
  42312. msgid "The file to read the IP address of the upstream nameservers from."
  42313. msgstr ""
  42314. #. type: item
  42315. #: guix-git/doc/guix.texi:28481
  42316. #, no-wrap
  42317. msgid "@code{no-resolv?} (default: @code{#f})"
  42318. msgstr ""
  42319. #. type: table
  42320. #: guix-git/doc/guix.texi:28483
  42321. msgid "When true, don't read @var{resolv-file}."
  42322. msgstr ""
  42323. #. type: item
  42324. #: guix-git/doc/guix.texi:28484
  42325. #, no-wrap
  42326. msgid "@code{servers} (default: @code{'()})"
  42327. msgstr ""
  42328. #. type: table
  42329. #: guix-git/doc/guix.texi:28486
  42330. msgid "Specify IP address of upstream servers directly."
  42331. msgstr ""
  42332. #. type: item
  42333. #: guix-git/doc/guix.texi:28487
  42334. #, no-wrap
  42335. msgid "@code{addresses} (default: @code{'()})"
  42336. msgstr ""
  42337. #. type: table
  42338. #: guix-git/doc/guix.texi:28491
  42339. msgid "For each entry, specify an IP address to return for any host in the given domains. Queries in the domains are never forwarded and always replied to with the specified IP address."
  42340. msgstr ""
  42341. #. type: table
  42342. #: guix-git/doc/guix.texi:28493
  42343. msgid "This is useful for redirecting hosts locally, for example:"
  42344. msgstr ""
  42345. #. type: lisp
  42346. #: guix-git/doc/guix.texi:28502
  42347. #, no-wrap
  42348. msgid ""
  42349. "(service dnsmasq-service-type\n"
  42350. " (dnsmasq-configuration\n"
  42351. " (addresses\n"
  42352. " '(; Redirect to a local web-server.\n"
  42353. " \"/example.org/127.0.0.1\"\n"
  42354. " ; Redirect subdomain to a specific IP.\n"
  42355. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  42356. msgstr ""
  42357. #. type: table
  42358. #: guix-git/doc/guix.texi:28505
  42359. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  42360. msgstr ""
  42361. #. type: item
  42362. #: guix-git/doc/guix.texi:28506
  42363. #, no-wrap
  42364. msgid "@code{cache-size} (default: @code{150})"
  42365. msgstr ""
  42366. #. type: table
  42367. #: guix-git/doc/guix.texi:28509
  42368. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  42369. msgstr ""
  42370. #. type: item
  42371. #: guix-git/doc/guix.texi:28510
  42372. #, no-wrap
  42373. msgid "@code{negative-cache?} (default: @code{#t})"
  42374. msgstr ""
  42375. #. type: table
  42376. #: guix-git/doc/guix.texi:28512
  42377. msgid "When false, disable negative caching."
  42378. msgstr ""
  42379. #. type: item
  42380. #: guix-git/doc/guix.texi:28513
  42381. #, no-wrap
  42382. msgid "@code{tftp-enable?} (default: @code{#f})"
  42383. msgstr ""
  42384. #. type: table
  42385. #: guix-git/doc/guix.texi:28515
  42386. msgid "Whether to enable the built-in TFTP server."
  42387. msgstr ""
  42388. #. type: item
  42389. #: guix-git/doc/guix.texi:28516
  42390. #, no-wrap
  42391. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  42392. msgstr ""
  42393. #. type: table
  42394. #: guix-git/doc/guix.texi:28518
  42395. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  42396. msgstr ""
  42397. #. type: item
  42398. #: guix-git/doc/guix.texi:28519
  42399. #, no-wrap
  42400. msgid "@code{tftp-single-port?} (default: @code{#f})"
  42401. msgstr ""
  42402. #. type: table
  42403. #: guix-git/doc/guix.texi:28521
  42404. msgid "Whether to use only one single port for TFTP."
  42405. msgstr ""
  42406. #. type: item
  42407. #: guix-git/doc/guix.texi:28522
  42408. #, no-wrap
  42409. msgid "@code{tftp-secure?} (default: @code{#f})"
  42410. msgstr ""
  42411. #. type: table
  42412. #: guix-git/doc/guix.texi:28524
  42413. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  42414. msgstr ""
  42415. #. type: table
  42416. #: guix-git/doc/guix.texi:28528
  42417. msgid "If dnsmasq is being run as root, different rules apply: @code{tftp-secure?} has no effect, but only files which have the world-readable bit set are accessible."
  42418. msgstr ""
  42419. #. type: item
  42420. #: guix-git/doc/guix.texi:28529
  42421. #, no-wrap
  42422. msgid "@code{tftp-max} (default: @code{#f})"
  42423. msgstr ""
  42424. #. type: table
  42425. #: guix-git/doc/guix.texi:28531
  42426. msgid "If set, sets the maximal number of concurrent connections allowed."
  42427. msgstr ""
  42428. #. type: item
  42429. #: guix-git/doc/guix.texi:28532
  42430. #, no-wrap
  42431. msgid "@code{tftp-mtu} (default: @code{#f})"
  42432. msgstr ""
  42433. #. type: table
  42434. #: guix-git/doc/guix.texi:28534
  42435. msgid "If set, sets the MTU for TFTP packets to that value."
  42436. msgstr ""
  42437. #. type: item
  42438. #: guix-git/doc/guix.texi:28535
  42439. #, no-wrap
  42440. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  42441. msgstr ""
  42442. #. type: table
  42443. #: guix-git/doc/guix.texi:28537
  42444. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  42445. msgstr ""
  42446. #. type: item
  42447. #: guix-git/doc/guix.texi:28538
  42448. #, no-wrap
  42449. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  42450. msgstr ""
  42451. #. type: table
  42452. #: guix-git/doc/guix.texi:28540
  42453. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  42454. msgstr ""
  42455. #. type: item
  42456. #: guix-git/doc/guix.texi:28541
  42457. #, no-wrap
  42458. msgid "@code{tftp-port-range} (default: @code{#f})"
  42459. msgstr ""
  42460. #. type: table
  42461. #: guix-git/doc/guix.texi:28544
  42462. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  42463. msgstr ""
  42464. #. type: item
  42465. #: guix-git/doc/guix.texi:28545
  42466. #, no-wrap
  42467. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  42468. msgstr ""
  42469. #. type: table
  42470. #: guix-git/doc/guix.texi:28552
  42471. msgid "Look for files to transfer using TFTP relative to the given directory. When this is set, TFTP paths which include @samp{..} are rejected, to stop clients getting outside the specified root. Absolute paths (starting with @samp{/}) are allowed, but they must be within the TFTP-root. If the optional interface argument is given, the directory is only used for TFTP requests via that interface."
  42472. msgstr ""
  42473. #. type: item
  42474. #: guix-git/doc/guix.texi:28553
  42475. #, no-wrap
  42476. msgid "@code{tftp-unique-root} (default: @code{#f})"
  42477. msgstr ""
  42478. #. type: table
  42479. #: guix-git/doc/guix.texi:28558
  42480. msgid "If set, add the IP or hardware address of the TFTP client as a path component on the end of the TFTP-root. Only valid if a TFTP root is set and the directory exists. Defaults to adding IP address (in standard dotted-quad format)."
  42481. msgstr ""
  42482. #. type: table
  42483. #: guix-git/doc/guix.texi:28567
  42484. msgid "For instance, if @option{--tftp-root} is @samp{/tftp} and client @samp{1.2.3.4} requests file @file{myfile} then the effective path will be @file{/tftp/1.2.3.4/myfile} if @file{/tftp/1.2.3.4} exists or @file{/tftp/myfile} otherwise. When @samp{=mac} is specified it will append the MAC address instead, using lowercase zero padded digits separated by dashes, e.g.: @samp{01-02-03-04-aa-bb}. Note that resolving MAC addresses is only possible if the client is in the local network or obtained a DHCP lease from dnsmasq."
  42485. msgstr ""
  42486. #. type: subsubheading
  42487. #: guix-git/doc/guix.texi:28571
  42488. #, no-wrap
  42489. msgid "ddclient Service"
  42490. msgstr ""
  42491. #. type: cindex
  42492. #: guix-git/doc/guix.texi:28573
  42493. #, no-wrap
  42494. msgid "ddclient"
  42495. msgstr ""
  42496. #. type: Plain text
  42497. #: guix-git/doc/guix.texi:28577
  42498. msgid "The ddclient service described below runs the ddclient daemon, which takes care of automatically updating DNS entries for service providers such as @uref{https://dyn.com/dns/, Dyn}."
  42499. msgstr ""
  42500. #. type: Plain text
  42501. #: guix-git/doc/guix.texi:28580
  42502. msgid "The following example show instantiates the service with its default configuration:"
  42503. msgstr ""
  42504. #. type: lisp
  42505. #: guix-git/doc/guix.texi:28583
  42506. #, no-wrap
  42507. msgid "(service ddclient-service-type)\n"
  42508. msgstr ""
  42509. #. type: Plain text
  42510. #: guix-git/doc/guix.texi:28592
  42511. msgid "Note that ddclient needs to access credentials that are stored in a @dfn{secret file}, by default @file{/etc/ddclient/secrets} (see @code{secret-file} below). You are expected to create this file manually, in an ``out-of-band'' fashion (you @emph{could} make this file part of the service configuration, for instance by using @code{plain-file}, but it will be world-readable @i{via} @file{/gnu/store}). See the examples in the @file{share/ddclient} directory of the @code{ddclient} package."
  42512. msgstr ""
  42513. #. type: Plain text
  42514. #: guix-git/doc/guix.texi:28596
  42515. msgid "Available @code{ddclient-configuration} fields are:"
  42516. msgstr ""
  42517. #. type: deftypevr
  42518. #: guix-git/doc/guix.texi:28597
  42519. #, no-wrap
  42520. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  42521. msgstr ""
  42522. #. type: deftypevr
  42523. #: guix-git/doc/guix.texi:28599
  42524. msgid "The ddclient package."
  42525. msgstr ""
  42526. #. type: deftypevr
  42527. #: guix-git/doc/guix.texi:28602
  42528. #, no-wrap
  42529. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  42530. msgstr ""
  42531. #. type: deftypevr
  42532. #: guix-git/doc/guix.texi:28604
  42533. msgid "The period after which ddclient will retry to check IP and domain name."
  42534. msgstr ""
  42535. #. type: deftypevr
  42536. #: guix-git/doc/guix.texi:28606
  42537. msgid "Defaults to @samp{300}."
  42538. msgstr ""
  42539. #. type: deftypevr
  42540. #: guix-git/doc/guix.texi:28609
  42541. #, no-wrap
  42542. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  42543. msgstr ""
  42544. #. type: deftypevr
  42545. #: guix-git/doc/guix.texi:28611
  42546. msgid "Use syslog for the output."
  42547. msgstr ""
  42548. #. type: deftypevr
  42549. #: guix-git/doc/guix.texi:28616
  42550. #, no-wrap
  42551. msgid "{@code{ddclient-configuration} parameter} string mail"
  42552. msgstr ""
  42553. #. type: deftypevr
  42554. #: guix-git/doc/guix.texi:28618
  42555. msgid "Mail to user."
  42556. msgstr ""
  42557. #. type: deftypevr
  42558. #: guix-git/doc/guix.texi:28620 guix-git/doc/guix.texi:28627
  42559. #: guix-git/doc/guix.texi:30457
  42560. msgid "Defaults to @samp{\"root\"}."
  42561. msgstr ""
  42562. #. type: deftypevr
  42563. #: guix-git/doc/guix.texi:28623
  42564. #, no-wrap
  42565. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  42566. msgstr ""
  42567. #. type: deftypevr
  42568. #: guix-git/doc/guix.texi:28625
  42569. msgid "Mail failed update to user."
  42570. msgstr ""
  42571. #. type: deftypevr
  42572. #: guix-git/doc/guix.texi:28630
  42573. #, no-wrap
  42574. msgid "{@code{ddclient-configuration} parameter} string pid"
  42575. msgstr ""
  42576. #. type: deftypevr
  42577. #: guix-git/doc/guix.texi:28632
  42578. msgid "The ddclient PID file."
  42579. msgstr ""
  42580. #. type: deftypevr
  42581. #: guix-git/doc/guix.texi:28634
  42582. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  42583. msgstr ""
  42584. #. type: deftypevr
  42585. #: guix-git/doc/guix.texi:28637
  42586. #, no-wrap
  42587. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  42588. msgstr ""
  42589. #. type: deftypevr
  42590. #: guix-git/doc/guix.texi:28639
  42591. msgid "Enable SSL support."
  42592. msgstr ""
  42593. #. type: deftypevr
  42594. #: guix-git/doc/guix.texi:28644
  42595. #, no-wrap
  42596. msgid "{@code{ddclient-configuration} parameter} string user"
  42597. msgstr ""
  42598. #. type: deftypevr
  42599. #: guix-git/doc/guix.texi:28647
  42600. msgid "Specifies the user name or ID that is used when running ddclient program."
  42601. msgstr ""
  42602. #. type: deftypevr
  42603. #: guix-git/doc/guix.texi:28649 guix-git/doc/guix.texi:28656
  42604. msgid "Defaults to @samp{\"ddclient\"}."
  42605. msgstr ""
  42606. #. type: deftypevr
  42607. #: guix-git/doc/guix.texi:28652
  42608. #, no-wrap
  42609. msgid "{@code{ddclient-configuration} parameter} string group"
  42610. msgstr ""
  42611. #. type: deftypevr
  42612. #: guix-git/doc/guix.texi:28654
  42613. msgid "Group of the user who will run the ddclient program."
  42614. msgstr ""
  42615. #. type: deftypevr
  42616. #: guix-git/doc/guix.texi:28659
  42617. #, no-wrap
  42618. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  42619. msgstr ""
  42620. #. type: deftypevr
  42621. #: guix-git/doc/guix.texi:28663
  42622. msgid "Secret file which will be appended to @file{ddclient.conf} file. This file contains credentials for use by ddclient. You are expected to create it manually."
  42623. msgstr ""
  42624. #. type: deftypevr
  42625. #: guix-git/doc/guix.texi:28665
  42626. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  42627. msgstr ""
  42628. #. type: deftypevr
  42629. #: guix-git/doc/guix.texi:28668
  42630. #, no-wrap
  42631. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  42632. msgstr ""
  42633. #. type: deftypevr
  42634. #: guix-git/doc/guix.texi:28670
  42635. msgid "Extra options will be appended to @file{ddclient.conf} file."
  42636. msgstr ""
  42637. #. type: cindex
  42638. #: guix-git/doc/guix.texi:28681
  42639. #, no-wrap
  42640. msgid "VPN (virtual private network)"
  42641. msgstr ""
  42642. #. type: cindex
  42643. #: guix-git/doc/guix.texi:28682
  42644. #, no-wrap
  42645. msgid "virtual private network (VPN)"
  42646. msgstr ""
  42647. #. type: Plain text
  42648. #: guix-git/doc/guix.texi:28686
  42649. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  42650. msgstr ""
  42651. #. type: subsubheading
  42652. #: guix-git/doc/guix.texi:28687
  42653. #, no-wrap
  42654. msgid "Bitmask"
  42655. msgstr "Bitmask"
  42656. #. type: defvr
  42657. #: guix-git/doc/guix.texi:28689
  42658. #, no-wrap
  42659. msgid "{Scheme Variable} bitmask-service-type"
  42660. msgstr ""
  42661. #. type: defvr
  42662. #: guix-git/doc/guix.texi:28694
  42663. msgid "A service type for the @uref{https://bitmask.net, Bitmask} VPN client. It makes the client available in the system and loads its polkit policy. Please note that the client expects an active polkit-agent, which is either run by your desktop-environment or should be run manually."
  42664. msgstr ""
  42665. #. type: subsubheading
  42666. #: guix-git/doc/guix.texi:28696
  42667. #, no-wrap
  42668. msgid "OpenVPN"
  42669. msgstr ""
  42670. #. type: Plain text
  42671. #: guix-git/doc/guix.texi:28700
  42672. msgid "It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{server} service for your machine to host a VPN@."
  42673. msgstr ""
  42674. #. type: deffn
  42675. #: guix-git/doc/guix.texi:28701
  42676. #, no-wrap
  42677. msgid "{Scheme Procedure} openvpn-client-service @"
  42678. msgstr ""
  42679. #. type: deffn
  42680. #: guix-git/doc/guix.texi:28703
  42681. msgid "[#:config (openvpn-client-configuration)]"
  42682. msgstr ""
  42683. #. type: deffn
  42684. #: guix-git/doc/guix.texi:28705
  42685. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42686. msgstr ""
  42687. #. type: deffn
  42688. #: guix-git/doc/guix.texi:28707
  42689. #, no-wrap
  42690. msgid "{Scheme Procedure} openvpn-server-service @"
  42691. msgstr ""
  42692. #. type: deffn
  42693. #: guix-git/doc/guix.texi:28709
  42694. msgid "[#:config (openvpn-server-configuration)]"
  42695. msgstr ""
  42696. #. type: deffn
  42697. #: guix-git/doc/guix.texi:28711
  42698. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42699. msgstr ""
  42700. #. type: deffn
  42701. #: guix-git/doc/guix.texi:28713
  42702. msgid "Both can be run simultaneously."
  42703. msgstr ""
  42704. #. type: Plain text
  42705. #: guix-git/doc/guix.texi:28718
  42706. msgid "Available @code{openvpn-client-configuration} fields are:"
  42707. msgstr ""
  42708. #. type: deftypevr
  42709. #: guix-git/doc/guix.texi:28719
  42710. #, no-wrap
  42711. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42712. msgstr ""
  42713. #. type: deftypevr
  42714. #: guix-git/doc/guix.texi:28721 guix-git/doc/guix.texi:28876
  42715. msgid "The OpenVPN package."
  42716. msgstr ""
  42717. #. type: deftypevr
  42718. #: guix-git/doc/guix.texi:28724
  42719. #, no-wrap
  42720. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42721. msgstr ""
  42722. #. type: deftypevr
  42723. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28881
  42724. msgid "The OpenVPN pid file."
  42725. msgstr ""
  42726. #. type: deftypevr
  42727. #: guix-git/doc/guix.texi:28728 guix-git/doc/guix.texi:28883
  42728. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42729. msgstr ""
  42730. #. type: deftypevr
  42731. #: guix-git/doc/guix.texi:28731
  42732. #, no-wrap
  42733. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42734. msgstr ""
  42735. #. type: deftypevr
  42736. #: guix-git/doc/guix.texi:28734 guix-git/doc/guix.texi:28889
  42737. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42738. msgstr ""
  42739. #. type: deftypevr
  42740. #: guix-git/doc/guix.texi:28736 guix-git/doc/guix.texi:28891
  42741. msgid "Defaults to @samp{udp}."
  42742. msgstr ""
  42743. #. type: deftypevr
  42744. #: guix-git/doc/guix.texi:28739
  42745. #, no-wrap
  42746. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42747. msgstr ""
  42748. #. type: deftypevr
  42749. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28896
  42750. msgid "The device type used to represent the VPN connection."
  42751. msgstr ""
  42752. #. type: deftypevr
  42753. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28898
  42754. msgid "Defaults to @samp{tun}."
  42755. msgstr ""
  42756. #. type: Plain text
  42757. #: guix-git/doc/guix.texi:28749 guix-git/doc/guix.texi:28904
  42758. msgid "If you do not have some of these files (eg.@: you use a username and password), you can disable any of the following three fields by setting it to @code{'disabled}."
  42759. msgstr ""
  42760. #. type: deftypevr
  42761. #: guix-git/doc/guix.texi:28750
  42762. #, no-wrap
  42763. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42764. msgstr ""
  42765. #. type: deftypevr
  42766. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28907
  42767. msgid "The certificate authority to check connections against."
  42768. msgstr ""
  42769. #. type: deftypevr
  42770. #: guix-git/doc/guix.texi:28754 guix-git/doc/guix.texi:28909
  42771. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42772. msgstr ""
  42773. #. type: deftypevr
  42774. #: guix-git/doc/guix.texi:28757
  42775. #, no-wrap
  42776. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42777. msgstr ""
  42778. #. type: deftypevr
  42779. #: guix-git/doc/guix.texi:28760 guix-git/doc/guix.texi:28915
  42780. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42781. msgstr ""
  42782. #. type: deftypevr
  42783. #: guix-git/doc/guix.texi:28762 guix-git/doc/guix.texi:28917
  42784. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42785. msgstr ""
  42786. #. type: deftypevr
  42787. #: guix-git/doc/guix.texi:28765
  42788. #, no-wrap
  42789. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42790. msgstr ""
  42791. #. type: deftypevr
  42792. #: guix-git/doc/guix.texi:28768 guix-git/doc/guix.texi:28923
  42793. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42794. msgstr ""
  42795. #. type: deftypevr
  42796. #: guix-git/doc/guix.texi:28770 guix-git/doc/guix.texi:28925
  42797. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42798. msgstr ""
  42799. #. type: deftypevr
  42800. #: guix-git/doc/guix.texi:28773
  42801. #, no-wrap
  42802. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42803. msgstr ""
  42804. #. type: deftypevr
  42805. #: guix-git/doc/guix.texi:28775 guix-git/doc/guix.texi:28930
  42806. msgid "Whether to use the lzo compression algorithm."
  42807. msgstr ""
  42808. #. type: deftypevr
  42809. #: guix-git/doc/guix.texi:28780
  42810. #, no-wrap
  42811. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42812. msgstr ""
  42813. #. type: deftypevr
  42814. #: guix-git/doc/guix.texi:28782 guix-git/doc/guix.texi:28937
  42815. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42816. msgstr ""
  42817. #. type: deftypevr
  42818. #: guix-git/doc/guix.texi:28787
  42819. #, no-wrap
  42820. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42821. msgstr ""
  42822. #. type: deftypevr
  42823. #: guix-git/doc/guix.texi:28790 guix-git/doc/guix.texi:28945
  42824. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42825. msgstr ""
  42826. #. type: deftypevr
  42827. #: guix-git/doc/guix.texi:28795
  42828. #, no-wrap
  42829. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42830. msgstr ""
  42831. #. type: deftypevr
  42832. #: guix-git/doc/guix.texi:28798 guix-git/doc/guix.texi:28953
  42833. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42834. msgstr ""
  42835. #. type: deftypevr
  42836. #: guix-git/doc/guix.texi:28802
  42837. #, no-wrap
  42838. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42839. msgstr ""
  42840. #. type: deftypevr
  42841. #: guix-git/doc/guix.texi:28804 guix-git/doc/guix.texi:28959
  42842. msgid "Verbosity level."
  42843. msgstr ""
  42844. #. type: deftypevr
  42845. #: guix-git/doc/guix.texi:28806 guix-git/doc/guix.texi:28961
  42846. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:30953
  42847. msgid "Defaults to @samp{3}."
  42848. msgstr ""
  42849. #. type: deftypevr
  42850. #: guix-git/doc/guix.texi:28809
  42851. #, no-wrap
  42852. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42853. msgstr ""
  42854. #. type: deftypevr
  42855. #: guix-git/doc/guix.texi:28812 guix-git/doc/guix.texi:28967
  42856. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42857. msgstr ""
  42858. #. type: deftypevr
  42859. #: guix-git/doc/guix.texi:28817
  42860. #, no-wrap
  42861. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42862. msgstr ""
  42863. #. type: deftypevr
  42864. #: guix-git/doc/guix.texi:28821
  42865. msgid "Authenticate with server using username/password. The option is a file containing username/password on 2 lines. Do not use a file-like object as it would be added to the store and readable by any user."
  42866. msgstr ""
  42867. #. type: deftypevr
  42868. #: guix-git/doc/guix.texi:28823
  42869. msgid "Defaults to @samp{'disabled}."
  42870. msgstr ""
  42871. #. type: deftypevr
  42872. #: guix-git/doc/guix.texi:28825
  42873. #, no-wrap
  42874. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42875. msgstr ""
  42876. #. type: deftypevr
  42877. #: guix-git/doc/guix.texi:28827
  42878. msgid "Whether to check the server certificate has server usage extension."
  42879. msgstr ""
  42880. #. type: deftypevr
  42881. #: guix-git/doc/guix.texi:28832
  42882. #, no-wrap
  42883. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42884. msgstr ""
  42885. #. type: deftypevr
  42886. #: guix-git/doc/guix.texi:28834
  42887. msgid "Bind to a specific local port number."
  42888. msgstr ""
  42889. #. type: deftypevr
  42890. #: guix-git/doc/guix.texi:28839
  42891. #, no-wrap
  42892. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42893. msgstr ""
  42894. #. type: deftypevr
  42895. #: guix-git/doc/guix.texi:28841
  42896. msgid "Retry resolving server address."
  42897. msgstr ""
  42898. #. type: deftypevr
  42899. #: guix-git/doc/guix.texi:28846
  42900. #, no-wrap
  42901. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42902. msgstr ""
  42903. #. type: deftypevr
  42904. #: guix-git/doc/guix.texi:28848
  42905. msgid "A list of remote servers to connect to."
  42906. msgstr ""
  42907. #. type: deftypevr
  42908. #: guix-git/doc/guix.texi:28852
  42909. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42910. msgstr ""
  42911. #. type: deftypevr
  42912. #: guix-git/doc/guix.texi:28853
  42913. #, no-wrap
  42914. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42915. msgstr ""
  42916. #. type: deftypevr
  42917. #: guix-git/doc/guix.texi:28855
  42918. msgid "Server name."
  42919. msgstr "Názov servera."
  42920. #. type: deftypevr
  42921. #: guix-git/doc/guix.texi:28857
  42922. msgid "Defaults to @samp{\"my-server\"}."
  42923. msgstr ""
  42924. #. type: deftypevr
  42925. #: guix-git/doc/guix.texi:28860
  42926. #, no-wrap
  42927. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42928. msgstr ""
  42929. #. type: deftypevr
  42930. #: guix-git/doc/guix.texi:28862
  42931. msgid "Port number the server listens to."
  42932. msgstr ""
  42933. #. type: deftypevr
  42934. #: guix-git/doc/guix.texi:28864 guix-git/doc/guix.texi:28976
  42935. msgid "Defaults to @samp{1194}."
  42936. msgstr ""
  42937. #. type: Plain text
  42938. #: guix-git/doc/guix.texi:28873
  42939. msgid "Available @code{openvpn-server-configuration} fields are:"
  42940. msgstr ""
  42941. #. type: deftypevr
  42942. #: guix-git/doc/guix.texi:28874
  42943. #, no-wrap
  42944. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42945. msgstr ""
  42946. #. type: deftypevr
  42947. #: guix-git/doc/guix.texi:28879
  42948. #, no-wrap
  42949. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42950. msgstr ""
  42951. #. type: deftypevr
  42952. #: guix-git/doc/guix.texi:28886
  42953. #, no-wrap
  42954. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42955. msgstr ""
  42956. #. type: deftypevr
  42957. #: guix-git/doc/guix.texi:28894
  42958. #, no-wrap
  42959. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42960. msgstr ""
  42961. #. type: deftypevr
  42962. #: guix-git/doc/guix.texi:28905
  42963. #, no-wrap
  42964. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42965. msgstr ""
  42966. #. type: deftypevr
  42967. #: guix-git/doc/guix.texi:28912
  42968. #, no-wrap
  42969. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42970. msgstr ""
  42971. #. type: deftypevr
  42972. #: guix-git/doc/guix.texi:28920
  42973. #, no-wrap
  42974. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42975. msgstr ""
  42976. #. type: deftypevr
  42977. #: guix-git/doc/guix.texi:28928
  42978. #, no-wrap
  42979. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42980. msgstr ""
  42981. #. type: deftypevr
  42982. #: guix-git/doc/guix.texi:28935
  42983. #, no-wrap
  42984. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42985. msgstr ""
  42986. #. type: deftypevr
  42987. #: guix-git/doc/guix.texi:28942
  42988. #, no-wrap
  42989. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42990. msgstr ""
  42991. #. type: deftypevr
  42992. #: guix-git/doc/guix.texi:28950
  42993. #, no-wrap
  42994. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42995. msgstr ""
  42996. #. type: deftypevr
  42997. #: guix-git/doc/guix.texi:28957
  42998. #, no-wrap
  42999. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  43000. msgstr ""
  43001. #. type: deftypevr
  43002. #: guix-git/doc/guix.texi:28964
  43003. #, no-wrap
  43004. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  43005. msgstr ""
  43006. #. type: deftypevr
  43007. #: guix-git/doc/guix.texi:28972
  43008. #, no-wrap
  43009. msgid "{@code{openvpn-server-configuration} parameter} number port"
  43010. msgstr ""
  43011. #. type: deftypevr
  43012. #: guix-git/doc/guix.texi:28974
  43013. msgid "Specifies the port number on which the server listens."
  43014. msgstr ""
  43015. #. type: deftypevr
  43016. #: guix-git/doc/guix.texi:28979
  43017. #, no-wrap
  43018. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  43019. msgstr ""
  43020. #. type: deftypevr
  43021. #: guix-git/doc/guix.texi:28981
  43022. msgid "An ip and mask specifying the subnet inside the virtual network."
  43023. msgstr ""
  43024. #. type: deftypevr
  43025. #: guix-git/doc/guix.texi:28983
  43026. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  43027. msgstr ""
  43028. #. type: deftypevr
  43029. #: guix-git/doc/guix.texi:28986
  43030. #, no-wrap
  43031. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  43032. msgstr ""
  43033. #. type: deftypevr
  43034. #: guix-git/doc/guix.texi:28988
  43035. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  43036. msgstr ""
  43037. #. type: deftypevr
  43038. #: guix-git/doc/guix.texi:28993
  43039. #, no-wrap
  43040. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  43041. msgstr ""
  43042. #. type: deftypevr
  43043. #: guix-git/doc/guix.texi:28995
  43044. msgid "The Diffie-Hellman parameters file."
  43045. msgstr ""
  43046. #. type: deftypevr
  43047. #: guix-git/doc/guix.texi:28997
  43048. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  43049. msgstr ""
  43050. #. type: deftypevr
  43051. #: guix-git/doc/guix.texi:29000
  43052. #, no-wrap
  43053. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  43054. msgstr ""
  43055. #. type: deftypevr
  43056. #: guix-git/doc/guix.texi:29002
  43057. msgid "The file that records client IPs."
  43058. msgstr ""
  43059. #. type: deftypevr
  43060. #: guix-git/doc/guix.texi:29004
  43061. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  43062. msgstr ""
  43063. #. type: deftypevr
  43064. #: guix-git/doc/guix.texi:29007
  43065. #, no-wrap
  43066. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  43067. msgstr ""
  43068. #. type: deftypevr
  43069. #: guix-git/doc/guix.texi:29009
  43070. msgid "When true, the server will act as a gateway for its clients."
  43071. msgstr ""
  43072. #. type: deftypevr
  43073. #: guix-git/doc/guix.texi:29014
  43074. #, no-wrap
  43075. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  43076. msgstr ""
  43077. #. type: deftypevr
  43078. #: guix-git/doc/guix.texi:29016
  43079. msgid "When true, clients are allowed to talk to each other inside the VPN."
  43080. msgstr ""
  43081. #. type: deftypevr
  43082. #: guix-git/doc/guix.texi:29021
  43083. #, no-wrap
  43084. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  43085. msgstr ""
  43086. #. type: deftypevr
  43087. #: guix-git/doc/guix.texi:29027
  43088. msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down."
  43089. msgstr ""
  43090. #. type: deftypevr
  43091. #: guix-git/doc/guix.texi:29030
  43092. #, no-wrap
  43093. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  43094. msgstr ""
  43095. #. type: deftypevr
  43096. #: guix-git/doc/guix.texi:29032
  43097. msgid "The maximum number of clients."
  43098. msgstr ""
  43099. #. type: deftypevr
  43100. #: guix-git/doc/guix.texi:29037
  43101. #, no-wrap
  43102. msgid "{@code{openvpn-server-configuration} parameter} string status"
  43103. msgstr ""
  43104. #. type: deftypevr
  43105. #: guix-git/doc/guix.texi:29040
  43106. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  43107. msgstr ""
  43108. #. type: deftypevr
  43109. #: guix-git/doc/guix.texi:29042
  43110. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  43111. msgstr ""
  43112. #. type: deftypevr
  43113. #: guix-git/doc/guix.texi:29045
  43114. #, no-wrap
  43115. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  43116. msgstr ""
  43117. #. type: deftypevr
  43118. #: guix-git/doc/guix.texi:29047
  43119. msgid "The list of configuration for some clients."
  43120. msgstr ""
  43121. #. type: deftypevr
  43122. #: guix-git/doc/guix.texi:29051
  43123. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  43124. msgstr ""
  43125. #. type: deftypevr
  43126. #: guix-git/doc/guix.texi:29052
  43127. #, no-wrap
  43128. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  43129. msgstr ""
  43130. #. type: deftypevr
  43131. #: guix-git/doc/guix.texi:29054
  43132. msgid "Client name."
  43133. msgstr ""
  43134. #. type: deftypevr
  43135. #: guix-git/doc/guix.texi:29056
  43136. msgid "Defaults to @samp{\"client\"}."
  43137. msgstr ""
  43138. #. type: deftypevr
  43139. #: guix-git/doc/guix.texi:29059
  43140. #, no-wrap
  43141. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  43142. msgstr ""
  43143. #. type: deftypevr
  43144. #: guix-git/doc/guix.texi:29061
  43145. msgid "Client own network"
  43146. msgstr ""
  43147. #. type: deftypevr
  43148. #: guix-git/doc/guix.texi:29066
  43149. #, no-wrap
  43150. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  43151. msgstr ""
  43152. #. type: deftypevr
  43153. #: guix-git/doc/guix.texi:29068
  43154. msgid "Client VPN IP."
  43155. msgstr ""
  43156. #. type: subheading
  43157. #: guix-git/doc/guix.texi:29077
  43158. #, no-wrap
  43159. msgid "strongSwan"
  43160. msgstr "strongSwan"
  43161. #. type: Plain text
  43162. #: guix-git/doc/guix.texi:29081
  43163. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  43164. msgstr ""
  43165. #. type: defvr
  43166. #: guix-git/doc/guix.texi:29082
  43167. #, no-wrap
  43168. msgid "{Scheme Variable} strongswan-service-type"
  43169. msgstr ""
  43170. #. type: defvr
  43171. #: guix-git/doc/guix.texi:29086
  43172. msgid "A service type for configuring strongSwan for IPsec @acronym{VPN, Virtual Private Networking}. Its value must be a @code{strongswan-configuration} record as in this example:"
  43173. msgstr ""
  43174. #. type: lisp
  43175. #: guix-git/doc/guix.texi:29092
  43176. #, no-wrap
  43177. msgid ""
  43178. "(service strongswan-service-type\n"
  43179. " (strongswan-configuration\n"
  43180. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  43181. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  43182. msgstr ""
  43183. #. type: deftp
  43184. #: guix-git/doc/guix.texi:29096
  43185. #, no-wrap
  43186. msgid "{Data Type} strongswan-configuration"
  43187. msgstr ""
  43188. #. type: deftp
  43189. #: guix-git/doc/guix.texi:29098
  43190. msgid "Data type representing the configuration of the StrongSwan service."
  43191. msgstr ""
  43192. #. type: code{#1}
  43193. #: guix-git/doc/guix.texi:29100
  43194. #, no-wrap
  43195. msgid "strongswan"
  43196. msgstr ""
  43197. #. type: table
  43198. #: guix-git/doc/guix.texi:29102
  43199. msgid "The strongSwan package to use for this service."
  43200. msgstr ""
  43201. #. type: item
  43202. #: guix-git/doc/guix.texi:29103
  43203. #, no-wrap
  43204. msgid "@code{ipsec-conf} (default: @code{#f})"
  43205. msgstr ""
  43206. #. type: table
  43207. #: guix-git/doc/guix.texi:29106
  43208. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  43209. msgstr ""
  43210. #. type: item
  43211. #: guix-git/doc/guix.texi:29107
  43212. #, no-wrap
  43213. msgid "@code{ipsec-secrets} (default @code{#f})"
  43214. msgstr ""
  43215. #. type: table
  43216. #: guix-git/doc/guix.texi:29110
  43217. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  43218. msgstr ""
  43219. #. type: subsubheading
  43220. #: guix-git/doc/guix.texi:29114
  43221. #, no-wrap
  43222. msgid "Wireguard"
  43223. msgstr ""
  43224. #. type: defvr
  43225. #: guix-git/doc/guix.texi:29116
  43226. #, no-wrap
  43227. msgid "{Scheme Variable} wireguard-service-type"
  43228. msgstr ""
  43229. #. type: defvr
  43230. #: guix-git/doc/guix.texi:29119
  43231. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  43232. msgstr ""
  43233. #. type: lisp
  43234. #: guix-git/doc/guix.texi:29130
  43235. #, no-wrap
  43236. msgid ""
  43237. "(service wireguard-service-type\n"
  43238. " (wireguard-configuration\n"
  43239. " (peers\n"
  43240. " (list\n"
  43241. " (wireguard-peer\n"
  43242. " (name \"my-peer\")\n"
  43243. " (endpoint \"my.wireguard.com:51820\")\n"
  43244. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  43245. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  43246. msgstr ""
  43247. #. type: deftp
  43248. #: guix-git/doc/guix.texi:29134
  43249. #, no-wrap
  43250. msgid "{Data Type} wireguard-configuration"
  43251. msgstr ""
  43252. #. type: deftp
  43253. #: guix-git/doc/guix.texi:29136
  43254. msgid "Data type representing the configuration of the Wireguard service."
  43255. msgstr ""
  43256. #. type: code{#1}
  43257. #: guix-git/doc/guix.texi:29138
  43258. #, no-wrap
  43259. msgid "wireguard"
  43260. msgstr ""
  43261. #. type: table
  43262. #: guix-git/doc/guix.texi:29140
  43263. msgid "The wireguard package to use for this service."
  43264. msgstr ""
  43265. #. type: item
  43266. #: guix-git/doc/guix.texi:29141
  43267. #, no-wrap
  43268. msgid "@code{interface} (default: @code{\"wg0\"})"
  43269. msgstr ""
  43270. #. type: table
  43271. #: guix-git/doc/guix.texi:29143
  43272. msgid "The interface name for the VPN."
  43273. msgstr ""
  43274. #. type: item
  43275. #: guix-git/doc/guix.texi:29144
  43276. #, no-wrap
  43277. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  43278. msgstr ""
  43279. #. type: table
  43280. #: guix-git/doc/guix.texi:29146
  43281. msgid "The IP addresses to be assigned to the above interface."
  43282. msgstr ""
  43283. #. type: item
  43284. #: guix-git/doc/guix.texi:29147
  43285. #, no-wrap
  43286. msgid "@code{port} (default: @code{51820})"
  43287. msgstr ""
  43288. #. type: table
  43289. #: guix-git/doc/guix.texi:29149
  43290. msgid "The port on which to listen for incoming connections."
  43291. msgstr ""
  43292. #. type: item
  43293. #: guix-git/doc/guix.texi:29150
  43294. #, no-wrap
  43295. msgid "@code{dns} (default: @code{#f})"
  43296. msgstr ""
  43297. #. type: table
  43298. #: guix-git/doc/guix.texi:29152
  43299. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  43300. msgstr ""
  43301. #. type: item
  43302. #: guix-git/doc/guix.texi:29153
  43303. #, no-wrap
  43304. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  43305. msgstr ""
  43306. #. type: table
  43307. #: guix-git/doc/guix.texi:29156
  43308. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  43309. msgstr ""
  43310. #. type: item
  43311. #: guix-git/doc/guix.texi:29157
  43312. #, no-wrap
  43313. msgid "@code{peers} (default: @code{'()})"
  43314. msgstr ""
  43315. #. type: table
  43316. #: guix-git/doc/guix.texi:29160
  43317. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  43318. msgstr ""
  43319. #. type: deftp
  43320. #: guix-git/doc/guix.texi:29164
  43321. #, no-wrap
  43322. msgid "{Data Type} wireguard-peer"
  43323. msgstr ""
  43324. #. type: deftp
  43325. #: guix-git/doc/guix.texi:29166
  43326. msgid "Data type representing a Wireguard peer attached to a given interface."
  43327. msgstr ""
  43328. #. type: table
  43329. #: guix-git/doc/guix.texi:29170
  43330. msgid "The peer name."
  43331. msgstr ""
  43332. #. type: item
  43333. #: guix-git/doc/guix.texi:29171
  43334. #, no-wrap
  43335. msgid "@code{endpoint} (default: @code{#f})"
  43336. msgstr ""
  43337. #. type: table
  43338. #: guix-git/doc/guix.texi:29174
  43339. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  43340. msgstr ""
  43341. #. type: itemx
  43342. #: guix-git/doc/guix.texi:29175 guix-git/doc/guix.texi:29570
  43343. #: guix-git/doc/guix.texi:29607 guix-git/doc/guix.texi:34858
  43344. #, no-wrap
  43345. msgid "public-key"
  43346. msgstr ""
  43347. #. type: table
  43348. #: guix-git/doc/guix.texi:29177
  43349. msgid "The peer public-key represented as a base64 string."
  43350. msgstr ""
  43351. #. type: code{#1}
  43352. #: guix-git/doc/guix.texi:29178
  43353. #, no-wrap
  43354. msgid "allowed-ips"
  43355. msgstr ""
  43356. #. type: table
  43357. #: guix-git/doc/guix.texi:29181
  43358. msgid "A list of IP addresses from which incoming traffic for this peer is allowed and to which incoming traffic for this peer is directed."
  43359. msgstr ""
  43360. #. type: item
  43361. #: guix-git/doc/guix.texi:29182
  43362. #, no-wrap
  43363. msgid "@code{keep-alive} (default: @code{#f})"
  43364. msgstr ""
  43365. #. type: table
  43366. #: guix-git/doc/guix.texi:29187
  43367. msgid "An optional time interval in seconds. A packet will be sent to the server endpoint once per time interval. This helps receiving incoming connections from this peer when you are behind a NAT or a firewall."
  43368. msgstr ""
  43369. #. type: cindex
  43370. #: guix-git/doc/guix.texi:29193
  43371. #, no-wrap
  43372. msgid "NFS"
  43373. msgstr ""
  43374. #. type: Plain text
  43375. #: guix-git/doc/guix.texi:29198
  43376. msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)."
  43377. msgstr ""
  43378. #. type: Plain text
  43379. #: guix-git/doc/guix.texi:29202
  43380. msgid "While it is possible to use the individual components that together make up a Network File System service, we recommended to configure an NFS server with the @code{nfs-service-type}."
  43381. msgstr ""
  43382. #. type: subsubheading
  43383. #: guix-git/doc/guix.texi:29203
  43384. #, no-wrap
  43385. msgid "NFS Service"
  43386. msgstr ""
  43387. #. type: cindex
  43388. #: guix-git/doc/guix.texi:29204
  43389. #, no-wrap
  43390. msgid "NFS, server"
  43391. msgstr ""
  43392. #. type: Plain text
  43393. #: guix-git/doc/guix.texi:29209
  43394. msgid "The NFS service takes care of setting up all NFS component services, kernel configuration file systems, and installs configuration files in the locations that NFS expects."
  43395. msgstr ""
  43396. #. type: defvr
  43397. #: guix-git/doc/guix.texi:29210
  43398. #, no-wrap
  43399. msgid "{Scheme Variable} nfs-service-type"
  43400. msgstr ""
  43401. #. type: defvr
  43402. #: guix-git/doc/guix.texi:29212
  43403. msgid "A service type for a complete NFS server."
  43404. msgstr ""
  43405. #. type: deftp
  43406. #: guix-git/doc/guix.texi:29214
  43407. #, no-wrap
  43408. msgid "{Data Type} nfs-configuration"
  43409. msgstr ""
  43410. #. type: deftp
  43411. #: guix-git/doc/guix.texi:29217
  43412. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  43413. msgstr ""
  43414. #. type: deftp
  43415. #: guix-git/doc/guix.texi:29219
  43416. msgid "It has the following parameters:"
  43417. msgstr ""
  43418. #. type: item
  43419. #: guix-git/doc/guix.texi:29220 guix-git/doc/guix.texi:29345
  43420. #: guix-git/doc/guix.texi:29370
  43421. #, no-wrap
  43422. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  43423. msgstr ""
  43424. #. type: table
  43425. #: guix-git/doc/guix.texi:29222
  43426. msgid "The nfs-utils package to use."
  43427. msgstr ""
  43428. #. type: item
  43429. #: guix-git/doc/guix.texi:29223
  43430. #, no-wrap
  43431. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  43432. msgstr ""
  43433. #. type: table
  43434. #: guix-git/doc/guix.texi:29226
  43435. msgid "If a list of string values is provided, the @command{rpc.nfsd} daemon will be limited to supporting the given versions of the NFS protocol."
  43436. msgstr ""
  43437. #. type: item
  43438. #: guix-git/doc/guix.texi:29227
  43439. #, no-wrap
  43440. msgid "@code{exports} (default: @code{'()})"
  43441. msgstr ""
  43442. #. type: table
  43443. #: guix-git/doc/guix.texi:29232
  43444. msgid "This is a list of directories the NFS server should export. Each entry is a list consisting of two elements: a directory name and a string containing all options. This is an example in which the directory @file{/export} is served to all NFS clients as a read-only share:"
  43445. msgstr ""
  43446. #. type: lisp
  43447. #: guix-git/doc/guix.texi:29238
  43448. #, no-wrap
  43449. msgid ""
  43450. "(nfs-configuration\n"
  43451. " (exports\n"
  43452. " '((\"/export\"\n"
  43453. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  43454. msgstr ""
  43455. #. type: item
  43456. #: guix-git/doc/guix.texi:29240
  43457. #, no-wrap
  43458. msgid "@code{rpcmountd-port} (default: @code{#f})"
  43459. msgstr ""
  43460. #. type: table
  43461. #: guix-git/doc/guix.texi:29242
  43462. msgid "The network port that the @command{rpc.mountd} daemon should use."
  43463. msgstr ""
  43464. #. type: item
  43465. #: guix-git/doc/guix.texi:29243
  43466. #, no-wrap
  43467. msgid "@code{rpcstatd-port} (default: @code{#f})"
  43468. msgstr ""
  43469. #. type: table
  43470. #: guix-git/doc/guix.texi:29245
  43471. msgid "The network port that the @command{rpc.statd} daemon should use."
  43472. msgstr ""
  43473. #. type: item
  43474. #: guix-git/doc/guix.texi:29246 guix-git/doc/guix.texi:29294
  43475. #, no-wrap
  43476. msgid "@code{rpcbind} (default: @code{rpcbind})"
  43477. msgstr ""
  43478. #. type: table
  43479. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29296
  43480. msgid "The rpcbind package to use."
  43481. msgstr ""
  43482. #. type: item
  43483. #: guix-git/doc/guix.texi:29249
  43484. #, no-wrap
  43485. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  43486. msgstr ""
  43487. #. type: table
  43488. #: guix-git/doc/guix.texi:29251
  43489. msgid "The local NFSv4 domain name."
  43490. msgstr ""
  43491. #. type: item
  43492. #: guix-git/doc/guix.texi:29252
  43493. #, no-wrap
  43494. msgid "@code{nfsd-port} (default: @code{2049})"
  43495. msgstr ""
  43496. #. type: table
  43497. #: guix-git/doc/guix.texi:29254
  43498. msgid "The network port that the @command{nfsd} daemon should use."
  43499. msgstr ""
  43500. #. type: item
  43501. #: guix-git/doc/guix.texi:29255
  43502. #, no-wrap
  43503. msgid "@code{nfsd-threads} (default: @code{8})"
  43504. msgstr ""
  43505. #. type: table
  43506. #: guix-git/doc/guix.texi:29257
  43507. msgid "The number of threads used by the @command{nfsd} daemon."
  43508. msgstr ""
  43509. #. type: item
  43510. #: guix-git/doc/guix.texi:29258
  43511. #, no-wrap
  43512. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  43513. msgstr ""
  43514. #. type: table
  43515. #: guix-git/doc/guix.texi:29260
  43516. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  43517. msgstr ""
  43518. #. type: item
  43519. #: guix-git/doc/guix.texi:29261
  43520. #, no-wrap
  43521. msgid "@code{nfsd-udp?} (default: @code{#f})"
  43522. msgstr ""
  43523. #. type: table
  43524. #: guix-git/doc/guix.texi:29263
  43525. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  43526. msgstr ""
  43527. #. type: item
  43528. #: guix-git/doc/guix.texi:29264 guix-git/doc/guix.texi:29348
  43529. #: guix-git/doc/guix.texi:29373
  43530. #, no-wrap
  43531. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43532. msgstr ""
  43533. #. type: table
  43534. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29350
  43535. #: guix-git/doc/guix.texi:29375
  43536. msgid "The directory where the pipefs file system is mounted."
  43537. msgstr ""
  43538. #. type: item
  43539. #: guix-git/doc/guix.texi:29267
  43540. #, no-wrap
  43541. msgid "@code{debug} (default: @code{'()\"})"
  43542. msgstr ""
  43543. #. type: table
  43544. #: guix-git/doc/guix.texi:29271
  43545. msgid "A list of subsystems for which debugging output should be enabled. This is a list of symbols. Any of these symbols are valid: @code{nfsd}, @code{nfs}, @code{rpc}, @code{idmap}, @code{statd}, or @code{mountd}."
  43546. msgstr ""
  43547. #. type: Plain text
  43548. #: guix-git/doc/guix.texi:29276
  43549. msgid "If you don't need a complete NFS service or prefer to build it yourself you can use the individual component services that are documented below."
  43550. msgstr ""
  43551. #. type: subsubheading
  43552. #: guix-git/doc/guix.texi:29277
  43553. #, no-wrap
  43554. msgid "RPC Bind Service"
  43555. msgstr ""
  43556. #. type: cindex
  43557. #: guix-git/doc/guix.texi:29278
  43558. #, no-wrap
  43559. msgid "rpcbind"
  43560. msgstr ""
  43561. #. type: Plain text
  43562. #: guix-git/doc/guix.texi:29284
  43563. msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts."
  43564. msgstr ""
  43565. #. type: defvr
  43566. #: guix-git/doc/guix.texi:29285
  43567. #, no-wrap
  43568. msgid "{Scheme Variable} rpcbind-service-type"
  43569. msgstr ""
  43570. #. type: defvr
  43571. #: guix-git/doc/guix.texi:29287
  43572. msgid "A service type for the RPC portmapper daemon."
  43573. msgstr ""
  43574. #. type: deftp
  43575. #: guix-git/doc/guix.texi:29290
  43576. #, no-wrap
  43577. msgid "{Data Type} rpcbind-configuration"
  43578. msgstr ""
  43579. #. type: deftp
  43580. #: guix-git/doc/guix.texi:29293
  43581. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  43582. msgstr ""
  43583. #. type: item
  43584. #: guix-git/doc/guix.texi:29297
  43585. #, no-wrap
  43586. msgid "@code{warm-start?} (default: @code{#t})"
  43587. msgstr ""
  43588. #. type: table
  43589. #: guix-git/doc/guix.texi:29301
  43590. msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance."
  43591. msgstr ""
  43592. #. type: subsubheading
  43593. #: guix-git/doc/guix.texi:29305
  43594. #, no-wrap
  43595. msgid "Pipefs Pseudo File System"
  43596. msgstr ""
  43597. #. type: cindex
  43598. #: guix-git/doc/guix.texi:29306
  43599. #, no-wrap
  43600. msgid "pipefs"
  43601. msgstr ""
  43602. #. type: cindex
  43603. #: guix-git/doc/guix.texi:29307
  43604. #, no-wrap
  43605. msgid "rpc_pipefs"
  43606. msgstr ""
  43607. #. type: Plain text
  43608. #: guix-git/doc/guix.texi:29311
  43609. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  43610. msgstr ""
  43611. #. type: defvr
  43612. #: guix-git/doc/guix.texi:29312
  43613. #, no-wrap
  43614. msgid "{Scheme Variable} pipefs-service-type"
  43615. msgstr ""
  43616. #. type: defvr
  43617. #: guix-git/doc/guix.texi:29314
  43618. msgid "A service type for the pipefs pseudo file system."
  43619. msgstr ""
  43620. #. type: deftp
  43621. #: guix-git/doc/guix.texi:29316
  43622. #, no-wrap
  43623. msgid "{Data Type} pipefs-configuration"
  43624. msgstr ""
  43625. #. type: deftp
  43626. #: guix-git/doc/guix.texi:29319
  43627. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  43628. msgstr ""
  43629. #. type: item
  43630. #: guix-git/doc/guix.texi:29320
  43631. #, no-wrap
  43632. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43633. msgstr ""
  43634. #. type: table
  43635. #: guix-git/doc/guix.texi:29322
  43636. msgid "The directory to which the file system is to be attached."
  43637. msgstr ""
  43638. #. type: subsubheading
  43639. #: guix-git/doc/guix.texi:29326
  43640. #, no-wrap
  43641. msgid "GSS Daemon Service"
  43642. msgstr ""
  43643. #. type: cindex
  43644. #: guix-git/doc/guix.texi:29327
  43645. #, no-wrap
  43646. msgid "GSSD"
  43647. msgstr ""
  43648. #. type: cindex
  43649. #: guix-git/doc/guix.texi:29328
  43650. #, no-wrap
  43651. msgid "GSS"
  43652. msgstr ""
  43653. #. type: cindex
  43654. #: guix-git/doc/guix.texi:29329
  43655. #, no-wrap
  43656. msgid "global security system"
  43657. msgstr ""
  43658. #. type: Plain text
  43659. #: guix-git/doc/guix.texi:29336
  43660. msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})."
  43661. msgstr ""
  43662. #. type: defvr
  43663. #: guix-git/doc/guix.texi:29337
  43664. #, no-wrap
  43665. msgid "{Scheme Variable} gss-service-type"
  43666. msgstr ""
  43667. #. type: defvr
  43668. #: guix-git/doc/guix.texi:29339
  43669. msgid "A service type for the Global Security System (GSS) daemon."
  43670. msgstr ""
  43671. #. type: deftp
  43672. #: guix-git/doc/guix.texi:29341
  43673. #, no-wrap
  43674. msgid "{Data Type} gss-configuration"
  43675. msgstr ""
  43676. #. type: deftp
  43677. #: guix-git/doc/guix.texi:29344
  43678. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43679. msgstr ""
  43680. #. type: table
  43681. #: guix-git/doc/guix.texi:29347
  43682. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43683. msgstr ""
  43684. #. type: subsubheading
  43685. #: guix-git/doc/guix.texi:29355
  43686. #, no-wrap
  43687. msgid "IDMAP Daemon Service"
  43688. msgstr ""
  43689. #. type: cindex
  43690. #: guix-git/doc/guix.texi:29356
  43691. #, no-wrap
  43692. msgid "idmapd"
  43693. msgstr ""
  43694. #. type: cindex
  43695. #: guix-git/doc/guix.texi:29357
  43696. #, no-wrap
  43697. msgid "name mapper"
  43698. msgstr ""
  43699. #. type: Plain text
  43700. #: guix-git/doc/guix.texi:29361
  43701. msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4."
  43702. msgstr ""
  43703. #. type: defvr
  43704. #: guix-git/doc/guix.texi:29362
  43705. #, no-wrap
  43706. msgid "{Scheme Variable} idmap-service-type"
  43707. msgstr ""
  43708. #. type: defvr
  43709. #: guix-git/doc/guix.texi:29364
  43710. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43711. msgstr ""
  43712. #. type: deftp
  43713. #: guix-git/doc/guix.texi:29366
  43714. #, no-wrap
  43715. msgid "{Data Type} idmap-configuration"
  43716. msgstr ""
  43717. #. type: deftp
  43718. #: guix-git/doc/guix.texi:29369
  43719. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43720. msgstr ""
  43721. #. type: table
  43722. #: guix-git/doc/guix.texi:29372
  43723. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43724. msgstr ""
  43725. #. type: item
  43726. #: guix-git/doc/guix.texi:29376
  43727. #, no-wrap
  43728. msgid "@code{domain} (default: @code{#f})"
  43729. msgstr ""
  43730. #. type: table
  43731. #: guix-git/doc/guix.texi:29380
  43732. msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name."
  43733. msgstr ""
  43734. #. type: item
  43735. #: guix-git/doc/guix.texi:29381
  43736. #, no-wrap
  43737. msgid "@code{verbosity} (default: @code{0})"
  43738. msgstr ""
  43739. #. type: table
  43740. #: guix-git/doc/guix.texi:29383
  43741. msgid "The verbosity level of the daemon."
  43742. msgstr ""
  43743. #. type: Plain text
  43744. #: guix-git/doc/guix.texi:29394
  43745. msgid "@uref{https://guix.gnu.org/cuirass/, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})."
  43746. msgstr ""
  43747. #. type: Plain text
  43748. #: guix-git/doc/guix.texi:29396
  43749. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43750. msgstr ""
  43751. #. type: defvr
  43752. #: guix-git/doc/guix.texi:29397
  43753. #, no-wrap
  43754. msgid "{Scheme Procedure} cuirass-service-type"
  43755. msgstr ""
  43756. #. type: defvr
  43757. #: guix-git/doc/guix.texi:29400
  43758. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43759. msgstr ""
  43760. #. type: Plain text
  43761. #: guix-git/doc/guix.texi:29405
  43762. msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. For instance, the following example will build all the packages provided by the @code{my-channel} channel."
  43763. msgstr ""
  43764. #. type: lisp
  43765. #: guix-git/doc/guix.texi:29416
  43766. #, no-wrap
  43767. msgid ""
  43768. "(define %cuirass-specs\n"
  43769. " #~(list (specification\n"
  43770. " (name \"my-channel\")\n"
  43771. " (build '(channels my-channel))\n"
  43772. " (channels\n"
  43773. " (cons (channel\n"
  43774. " (name 'my-channel)\n"
  43775. " (url \"https://my-channel.git\"))\n"
  43776. " %default-channels)))))\n"
  43777. "\n"
  43778. msgstr ""
  43779. #. type: lisp
  43780. #: guix-git/doc/guix.texi:29420 guix-git/doc/guix.texi:29434
  43781. #, no-wrap
  43782. msgid ""
  43783. "(service cuirass-service-type\n"
  43784. " (cuirass-configuration\n"
  43785. " (specifications %cuirass-specs)))\n"
  43786. msgstr ""
  43787. #. type: Plain text
  43788. #: guix-git/doc/guix.texi:29424
  43789. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43790. msgstr ""
  43791. #. type: lisp
  43792. #: guix-git/doc/guix.texi:29430
  43793. #, no-wrap
  43794. msgid ""
  43795. "(define %cuirass-specs\n"
  43796. " #~(list (specification\n"
  43797. " (name \"my-linux\")\n"
  43798. " (build '(packages \"linux-libre\")))))\n"
  43799. "\n"
  43800. msgstr ""
  43801. #. type: Plain text
  43802. #: guix-git/doc/guix.texi:29439
  43803. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43804. msgstr ""
  43805. #. type: Plain text
  43806. #: guix-git/doc/guix.texi:29443
  43807. msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields."
  43808. msgstr ""
  43809. #. type: deftp
  43810. #: guix-git/doc/guix.texi:29444
  43811. #, no-wrap
  43812. msgid "{Data Type} cuirass-configuration"
  43813. msgstr ""
  43814. #. type: deftp
  43815. #: guix-git/doc/guix.texi:29446
  43816. msgid "Data type representing the configuration of Cuirass."
  43817. msgstr ""
  43818. #. type: item
  43819. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29585
  43820. #, no-wrap
  43821. msgid "@code{cuirass} (default: @code{cuirass})"
  43822. msgstr ""
  43823. #. type: table
  43824. #: guix-git/doc/guix.texi:29450 guix-git/doc/guix.texi:29587
  43825. msgid "The Cuirass package to use."
  43826. msgstr ""
  43827. #. type: item
  43828. #: guix-git/doc/guix.texi:29451
  43829. #, no-wrap
  43830. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43831. msgstr ""
  43832. #. type: table
  43833. #: guix-git/doc/guix.texi:29453 guix-git/doc/guix.texi:29557
  43834. #: guix-git/doc/guix.texi:29600
  43835. msgid "Location of the log file."
  43836. msgstr ""
  43837. #. type: item
  43838. #: guix-git/doc/guix.texi:29454
  43839. #, no-wrap
  43840. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43841. msgstr ""
  43842. #. type: table
  43843. #: guix-git/doc/guix.texi:29456
  43844. msgid "Location of the log file used by the web interface."
  43845. msgstr ""
  43846. #. type: item
  43847. #: guix-git/doc/guix.texi:29457
  43848. #, no-wrap
  43849. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43850. msgstr ""
  43851. #. type: table
  43852. #: guix-git/doc/guix.texi:29459
  43853. msgid "Location of the repository cache."
  43854. msgstr ""
  43855. #. type: item
  43856. #: guix-git/doc/guix.texi:29460
  43857. #, no-wrap
  43858. msgid "@code{user} (default: @code{\"cuirass\"})"
  43859. msgstr ""
  43860. #. type: table
  43861. #: guix-git/doc/guix.texi:29462
  43862. msgid "Owner of the @code{cuirass} process."
  43863. msgstr ""
  43864. #. type: item
  43865. #: guix-git/doc/guix.texi:29463
  43866. #, no-wrap
  43867. msgid "@code{group} (default: @code{\"cuirass\"})"
  43868. msgstr ""
  43869. #. type: table
  43870. #: guix-git/doc/guix.texi:29465
  43871. msgid "Owner's group of the @code{cuirass} process."
  43872. msgstr ""
  43873. #. type: item
  43874. #: guix-git/doc/guix.texi:29466
  43875. #, no-wrap
  43876. msgid "@code{interval} (default: @code{60})"
  43877. msgstr ""
  43878. #. type: table
  43879. #: guix-git/doc/guix.texi:29469
  43880. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43881. msgstr ""
  43882. #. type: item
  43883. #: guix-git/doc/guix.texi:29470
  43884. #, no-wrap
  43885. msgid "@code{parameters} (default: @code{#f})"
  43886. msgstr ""
  43887. #. type: table
  43888. #: guix-git/doc/guix.texi:29473
  43889. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43890. msgstr ""
  43891. #. type: item
  43892. #: guix-git/doc/guix.texi:29474
  43893. #, no-wrap
  43894. msgid "@code{remote-server} (default: @code{#f})"
  43895. msgstr ""
  43896. #. type: table
  43897. #: guix-git/doc/guix.texi:29477
  43898. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43899. msgstr ""
  43900. #. type: item
  43901. #: guix-git/doc/guix.texi:29478
  43902. #, no-wrap
  43903. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43904. msgstr ""
  43905. #. type: table
  43906. #: guix-git/doc/guix.texi:29483
  43907. msgid "Use @var{database} as the database containing the jobs and the past build results. Since Cuirass uses PostgreSQL as a database engine, @var{database} must be a string such as @code{\"dbname=cuirass host=localhost\"}."
  43908. msgstr ""
  43909. #. type: item
  43910. #: guix-git/doc/guix.texi:29484
  43911. #, no-wrap
  43912. msgid "@code{port} (default: @code{8081})"
  43913. msgstr ""
  43914. #. type: table
  43915. #: guix-git/doc/guix.texi:29486
  43916. msgid "Port number used by the HTTP server."
  43917. msgstr ""
  43918. #. type: table
  43919. #: guix-git/doc/guix.texi:29490
  43920. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43921. msgstr ""
  43922. #. type: item
  43923. #: guix-git/doc/guix.texi:29491
  43924. #, no-wrap
  43925. msgid "@code{specifications} (default: @code{#~'()})"
  43926. msgstr ""
  43927. #. type: table
  43928. #: guix-git/doc/guix.texi:29495
  43929. msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications records. The specification record is described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43930. msgstr ""
  43931. #. type: item
  43932. #: guix-git/doc/guix.texi:29496
  43933. #, no-wrap
  43934. msgid "@code{use-substitutes?} (default: @code{#f})"
  43935. msgstr ""
  43936. #. type: table
  43937. #: guix-git/doc/guix.texi:29499
  43938. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43939. msgstr ""
  43940. #. type: item
  43941. #: guix-git/doc/guix.texi:29500 guix-git/doc/guix.texi:36940
  43942. #, no-wrap
  43943. msgid "@code{one-shot?} (default: @code{#f})"
  43944. msgstr ""
  43945. #. type: table
  43946. #: guix-git/doc/guix.texi:29502
  43947. msgid "Only evaluate specifications and build derivations once."
  43948. msgstr ""
  43949. #. type: item
  43950. #: guix-git/doc/guix.texi:29503
  43951. #, no-wrap
  43952. msgid "@code{fallback?} (default: @code{#f})"
  43953. msgstr ""
  43954. #. type: table
  43955. #: guix-git/doc/guix.texi:29506
  43956. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43957. msgstr ""
  43958. #. type: table
  43959. #: guix-git/doc/guix.texi:29509
  43960. msgid "Extra options to pass when running the Cuirass processes."
  43961. msgstr ""
  43962. #. type: cindex
  43963. #: guix-git/doc/guix.texi:29513
  43964. #, no-wrap
  43965. msgid "remote build"
  43966. msgstr ""
  43967. #. type: subsubheading
  43968. #: guix-git/doc/guix.texi:29514
  43969. #, no-wrap
  43970. msgid "Cuirass remote building"
  43971. msgstr ""
  43972. #. type: Plain text
  43973. #: guix-git/doc/guix.texi:29517
  43974. msgid "Cuirass supports two mechanisms to build derivations."
  43975. msgstr ""
  43976. #. type: item
  43977. #: guix-git/doc/guix.texi:29519
  43978. #, no-wrap
  43979. msgid "Using the local Guix daemon."
  43980. msgstr ""
  43981. #. type: itemize
  43982. #: guix-git/doc/guix.texi:29523
  43983. msgid "This is the default build mechanism. Once the build jobs are evaluated, they are sent to the local Guix daemon. Cuirass then listens to the Guix daemon output to detect the various build events."
  43984. msgstr ""
  43985. #. type: item
  43986. #: guix-git/doc/guix.texi:29524
  43987. #, no-wrap
  43988. msgid "Using the remote build mechanism."
  43989. msgstr ""
  43990. #. type: itemize
  43991. #: guix-git/doc/guix.texi:29528
  43992. msgid "The build jobs are not submitted to the local Guix daemon. Instead, a remote server dispatches build requests to the connect remote workers, according to the build priorities."
  43993. msgstr ""
  43994. #. type: Plain text
  43995. #: guix-git/doc/guix.texi:29535
  43996. msgid "To enable this build mode a @code{cuirass-remote-server-configuration} record must be passed as @code{remote-server} argument of the @code{cuirass-configuration} record. The @code{cuirass-remote-server-configuration} record is described below."
  43997. msgstr ""
  43998. #. type: Plain text
  43999. #: guix-git/doc/guix.texi:29540
  44000. msgid "This build mode scales way better than the default build mode. This is the build mode that is used on the GNU Guix build farm at @url{https://ci.guix.gnu.org}. It should be preferred when using Cuirass to build large amount of packages."
  44001. msgstr ""
  44002. #. type: deftp
  44003. #: guix-git/doc/guix.texi:29541
  44004. #, no-wrap
  44005. msgid "{Data Type} cuirass-remote-server-configuration"
  44006. msgstr ""
  44007. #. type: deftp
  44008. #: guix-git/doc/guix.texi:29543
  44009. msgid "Data type representing the configuration of the Cuirass remote-server."
  44010. msgstr ""
  44011. #. type: item
  44012. #: guix-git/doc/guix.texi:29545
  44013. #, no-wrap
  44014. msgid "@code{backend-port} (default: @code{5555})"
  44015. msgstr ""
  44016. #. type: table
  44017. #: guix-git/doc/guix.texi:29548
  44018. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  44019. msgstr ""
  44020. #. type: item
  44021. #: guix-git/doc/guix.texi:29549
  44022. #, no-wrap
  44023. msgid "@code{log-port} (default: @code{5556})"
  44024. msgstr ""
  44025. #. type: table
  44026. #: guix-git/doc/guix.texi:29551
  44027. msgid "The TCP port of the log server. It defaults to @code{5556}."
  44028. msgstr ""
  44029. #. type: item
  44030. #: guix-git/doc/guix.texi:29552
  44031. #, no-wrap
  44032. msgid "@code{publish-port} (default: @code{5557})"
  44033. msgstr ""
  44034. #. type: table
  44035. #: guix-git/doc/guix.texi:29554
  44036. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  44037. msgstr ""
  44038. #. type: item
  44039. #: guix-git/doc/guix.texi:29555
  44040. #, no-wrap
  44041. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  44042. msgstr ""
  44043. #. type: item
  44044. #: guix-git/doc/guix.texi:29558
  44045. #, no-wrap
  44046. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  44047. msgstr ""
  44048. #. type: table
  44049. #: guix-git/doc/guix.texi:29560
  44050. msgid "Use @var{cache} directory to cache build log files."
  44051. msgstr ""
  44052. #. type: item
  44053. #: guix-git/doc/guix.texi:29561
  44054. #, no-wrap
  44055. msgid "@code{trigger-url} (default: @code{#f})"
  44056. msgstr ""
  44057. #. type: table
  44058. #: guix-git/doc/guix.texi:29564
  44059. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  44060. msgstr ""
  44061. #. type: table
  44062. #: guix-git/doc/guix.texi:29569
  44063. msgid "If set to false, do not start a publish server and ignore the @code{publish-port} argument. This can be useful if there is already a standalone publish server standing next to the remote server."
  44064. msgstr ""
  44065. #. type: code{#1}
  44066. #: guix-git/doc/guix.texi:29571 guix-git/doc/guix.texi:29608
  44067. #, no-wrap
  44068. msgid "private-key"
  44069. msgstr ""
  44070. #. type: Plain text
  44071. #: guix-git/doc/guix.texi:29580
  44072. msgid "At least one remote worker must also be started on any machine of the local network to actually perform the builds and report their status."
  44073. msgstr ""
  44074. #. type: deftp
  44075. #: guix-git/doc/guix.texi:29581
  44076. #, no-wrap
  44077. msgid "{Data Type} cuirass-remote-worker-configuration"
  44078. msgstr ""
  44079. #. type: deftp
  44080. #: guix-git/doc/guix.texi:29583
  44081. msgid "Data type representing the configuration of the Cuirass remote-worker."
  44082. msgstr ""
  44083. #. type: item
  44084. #: guix-git/doc/guix.texi:29588
  44085. #, no-wrap
  44086. msgid "@code{workers} (default: @code{1})"
  44087. msgstr ""
  44088. #. type: table
  44089. #: guix-git/doc/guix.texi:29590
  44090. msgid "Start @var{workers} parallel workers."
  44091. msgstr ""
  44092. #. type: table
  44093. #: guix-git/doc/guix.texi:29594
  44094. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  44095. msgstr ""
  44096. #. type: item
  44097. #: guix-git/doc/guix.texi:29595
  44098. #, no-wrap
  44099. msgid "@code{systems} (default: @code{(list (%current-system))})"
  44100. msgstr ""
  44101. #. type: table
  44102. #: guix-git/doc/guix.texi:29597
  44103. msgid "Only request builds for the given @var{systems}."
  44104. msgstr ""
  44105. #. type: item
  44106. #: guix-git/doc/guix.texi:29598
  44107. #, no-wrap
  44108. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  44109. msgstr ""
  44110. #. type: item
  44111. #: guix-git/doc/guix.texi:29601
  44112. #, no-wrap
  44113. msgid "@code{publish-port} (default: @code{5558})"
  44114. msgstr ""
  44115. #. type: table
  44116. #: guix-git/doc/guix.texi:29603
  44117. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  44118. msgstr ""
  44119. #. type: subsubheading
  44120. #: guix-git/doc/guix.texi:29615
  44121. #, no-wrap
  44122. msgid "Laminar"
  44123. msgstr ""
  44124. #. type: Plain text
  44125. #: guix-git/doc/guix.texi:29620
  44126. msgid "@uref{https://laminar.ohwg.net/, Laminar} is a lightweight and modular Continuous Integration service. It doesn't have a configuration web UI instead uses version-controllable configuration files and scripts."
  44127. msgstr ""
  44128. #. type: Plain text
  44129. #: guix-git/doc/guix.texi:29623
  44130. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  44131. msgstr ""
  44132. #. type: defvr
  44133. #: guix-git/doc/guix.texi:29624
  44134. #, no-wrap
  44135. msgid "{Scheme Procedure} laminar-service-type"
  44136. msgstr ""
  44137. #. type: defvr
  44138. #: guix-git/doc/guix.texi:29627
  44139. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  44140. msgstr ""
  44141. #. type: defvr
  44142. #: guix-git/doc/guix.texi:29631
  44143. msgid "All configuration values have defaults, a minimal configuration to get Laminar running is shown below. By default, the web interface is available on port 8080."
  44144. msgstr ""
  44145. #. type: lisp
  44146. #: guix-git/doc/guix.texi:29634
  44147. #, no-wrap
  44148. msgid "(service laminar-service-type)\n"
  44149. msgstr ""
  44150. #. type: deftp
  44151. #: guix-git/doc/guix.texi:29637
  44152. #, no-wrap
  44153. msgid "{Data Type} laminar-configuration"
  44154. msgstr ""
  44155. #. type: deftp
  44156. #: guix-git/doc/guix.texi:29639
  44157. msgid "Data type representing the configuration of Laminar."
  44158. msgstr ""
  44159. #. type: item
  44160. #: guix-git/doc/guix.texi:29641
  44161. #, no-wrap
  44162. msgid "@code{laminar} (default: @code{laminar})"
  44163. msgstr ""
  44164. #. type: table
  44165. #: guix-git/doc/guix.texi:29643
  44166. msgid "The Laminar package to use."
  44167. msgstr ""
  44168. #. type: item
  44169. #: guix-git/doc/guix.texi:29644
  44170. #, no-wrap
  44171. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  44172. msgstr ""
  44173. #. type: table
  44174. #: guix-git/doc/guix.texi:29646
  44175. msgid "The directory for job configurations and run directories."
  44176. msgstr ""
  44177. #. type: item
  44178. #: guix-git/doc/guix.texi:29647
  44179. #, no-wrap
  44180. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  44181. msgstr ""
  44182. #. type: table
  44183. #: guix-git/doc/guix.texi:29650
  44184. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  44185. msgstr ""
  44186. #. type: item
  44187. #: guix-git/doc/guix.texi:29651
  44188. #, no-wrap
  44189. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  44190. msgstr ""
  44191. #. type: table
  44192. #: guix-git/doc/guix.texi:29654
  44193. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  44194. msgstr ""
  44195. #. type: item
  44196. #: guix-git/doc/guix.texi:29655
  44197. #, no-wrap
  44198. msgid "@code{title} (default: @code{\"Laminar\"})"
  44199. msgstr ""
  44200. #. type: table
  44201. #: guix-git/doc/guix.texi:29657
  44202. msgid "The page title to show in the web frontend."
  44203. msgstr ""
  44204. #. type: item
  44205. #: guix-git/doc/guix.texi:29658
  44206. #, no-wrap
  44207. msgid "@code{keep-rundirs} (default: @code{0})"
  44208. msgstr ""
  44209. #. type: table
  44210. #: guix-git/doc/guix.texi:29662
  44211. msgid "Set to an integer defining how many rundirs to keep per job. The lowest-numbered ones will be deleted. The default is 0, meaning all run dirs will be immediately deleted."
  44212. msgstr ""
  44213. #. type: item
  44214. #: guix-git/doc/guix.texi:29663
  44215. #, no-wrap
  44216. msgid "@code{archive-url} (default: @code{#f})"
  44217. msgstr ""
  44218. #. type: table
  44219. #: guix-git/doc/guix.texi:29666
  44220. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  44221. msgstr ""
  44222. #. type: item
  44223. #: guix-git/doc/guix.texi:29667
  44224. #, no-wrap
  44225. msgid "@code{base-url} (default: @code{#f})"
  44226. msgstr ""
  44227. #. type: table
  44228. #: guix-git/doc/guix.texi:29669
  44229. msgid "Base URL to use for links to laminar itself."
  44230. msgstr ""
  44231. #. type: cindex
  44232. #: guix-git/doc/guix.texi:29676
  44233. #, no-wrap
  44234. msgid "tlp"
  44235. msgstr ""
  44236. #. type: cindex
  44237. #: guix-git/doc/guix.texi:29677
  44238. #, no-wrap
  44239. msgid "power management with TLP"
  44240. msgstr ""
  44241. #. type: subsubheading
  44242. #: guix-git/doc/guix.texi:29678
  44243. #, no-wrap
  44244. msgid "TLP daemon"
  44245. msgstr ""
  44246. #. type: Plain text
  44247. #: guix-git/doc/guix.texi:29682
  44248. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  44249. msgstr ""
  44250. #. type: Plain text
  44251. #: guix-git/doc/guix.texi:29688
  44252. msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}."
  44253. msgstr ""
  44254. #. type: deffn
  44255. #: guix-git/doc/guix.texi:29689
  44256. #, no-wrap
  44257. msgid "{Scheme Variable} tlp-service-type"
  44258. msgstr ""
  44259. #. type: deffn
  44260. #: guix-git/doc/guix.texi:29693
  44261. msgid "The service type for the TLP tool. The default settings are optimised for battery life on most systems, but you can tweak them to your heart's content by adding a valid @code{tlp-configuration}:"
  44262. msgstr ""
  44263. #. type: lisp
  44264. #: guix-git/doc/guix.texi:29698
  44265. #, no-wrap
  44266. msgid ""
  44267. "(service tlp-service-type\n"
  44268. " (tlp-configuration\n"
  44269. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  44270. " (sched-powersave-on-bat? #t)))\n"
  44271. msgstr ""
  44272. #. type: Plain text
  44273. #: guix-git/doc/guix.texi:29706
  44274. msgid "Each parameter definition is preceded by its type; for example, @samp{boolean foo} indicates that the @code{foo} parameter should be specified as a boolean. Types starting with @code{maybe-} denote parameters that won't show up in TLP config file when their value is @code{'disabled}."
  44275. msgstr ""
  44276. #. type: Plain text
  44277. #: guix-git/doc/guix.texi:29716
  44278. msgid "Available @code{tlp-configuration} fields are:"
  44279. msgstr ""
  44280. #. type: deftypevr
  44281. #: guix-git/doc/guix.texi:29717
  44282. #, no-wrap
  44283. msgid "{@code{tlp-configuration} parameter} package tlp"
  44284. msgstr ""
  44285. #. type: deftypevr
  44286. #: guix-git/doc/guix.texi:29719
  44287. msgid "The TLP package."
  44288. msgstr ""
  44289. #. type: deftypevr
  44290. #: guix-git/doc/guix.texi:29722
  44291. #, no-wrap
  44292. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  44293. msgstr ""
  44294. #. type: deftypevr
  44295. #: guix-git/doc/guix.texi:29724
  44296. msgid "Set to true if you wish to enable TLP."
  44297. msgstr ""
  44298. #. type: deftypevr
  44299. #: guix-git/doc/guix.texi:29729
  44300. #, no-wrap
  44301. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  44302. msgstr ""
  44303. #. type: deftypevr
  44304. #: guix-git/doc/guix.texi:29732
  44305. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  44306. msgstr ""
  44307. #. type: deftypevr
  44308. #: guix-git/doc/guix.texi:29734
  44309. msgid "Defaults to @samp{\"AC\"}."
  44310. msgstr ""
  44311. #. type: deftypevr
  44312. #: guix-git/doc/guix.texi:29737
  44313. #, no-wrap
  44314. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  44315. msgstr ""
  44316. #. type: deftypevr
  44317. #: guix-git/doc/guix.texi:29740
  44318. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  44319. msgstr ""
  44320. #. type: deftypevr
  44321. #: guix-git/doc/guix.texi:29745
  44322. #, no-wrap
  44323. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  44324. msgstr ""
  44325. #. type: deftypevr
  44326. #: guix-git/doc/guix.texi:29747
  44327. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  44328. msgstr ""
  44329. #. type: deftypevr
  44330. #: guix-git/doc/guix.texi:29749
  44331. msgid "Defaults to @samp{2}."
  44332. msgstr ""
  44333. #. type: deftypevr
  44334. #: guix-git/doc/guix.texi:29752
  44335. #, no-wrap
  44336. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  44337. msgstr ""
  44338. #. type: deftypevr
  44339. #: guix-git/doc/guix.texi:29754
  44340. msgid "Dirty pages flushing periodicity, expressed in seconds."
  44341. msgstr ""
  44342. #. type: deftypevr
  44343. #: guix-git/doc/guix.texi:29756 guix-git/doc/guix.texi:29979
  44344. #: guix-git/doc/guix.texi:32279 guix-git/doc/guix.texi:32287
  44345. msgid "Defaults to @samp{15}."
  44346. msgstr ""
  44347. #. type: deftypevr
  44348. #: guix-git/doc/guix.texi:29759
  44349. #, no-wrap
  44350. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  44351. msgstr ""
  44352. #. type: deftypevr
  44353. #: guix-git/doc/guix.texi:29761
  44354. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  44355. msgstr ""
  44356. #. type: deftypevr
  44357. #: guix-git/doc/guix.texi:29763
  44358. msgid "Defaults to @samp{60}."
  44359. msgstr ""
  44360. #. type: deftypevr
  44361. #: guix-git/doc/guix.texi:29766
  44362. #, no-wrap
  44363. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  44364. msgstr ""
  44365. #. type: deftypevr
  44366. #: guix-git/doc/guix.texi:29770
  44367. msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative."
  44368. msgstr ""
  44369. #. type: deftypevr
  44370. #: guix-git/doc/guix.texi:29775
  44371. #, no-wrap
  44372. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  44373. msgstr ""
  44374. #. type: deftypevr
  44375. #: guix-git/doc/guix.texi:29777
  44376. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  44377. msgstr ""
  44378. #. type: deftypevr
  44379. #: guix-git/doc/guix.texi:29782
  44380. #, no-wrap
  44381. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  44382. msgstr ""
  44383. #. type: deftypevr
  44384. #: guix-git/doc/guix.texi:29784
  44385. msgid "Set the min available frequency for the scaling governor on AC."
  44386. msgstr ""
  44387. #. type: deftypevr
  44388. #: guix-git/doc/guix.texi:29789
  44389. #, no-wrap
  44390. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  44391. msgstr ""
  44392. #. type: deftypevr
  44393. #: guix-git/doc/guix.texi:29791
  44394. msgid "Set the max available frequency for the scaling governor on AC."
  44395. msgstr ""
  44396. #. type: deftypevr
  44397. #: guix-git/doc/guix.texi:29796
  44398. #, no-wrap
  44399. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  44400. msgstr ""
  44401. #. type: deftypevr
  44402. #: guix-git/doc/guix.texi:29798
  44403. msgid "Set the min available frequency for the scaling governor on BAT."
  44404. msgstr ""
  44405. #. type: deftypevr
  44406. #: guix-git/doc/guix.texi:29803
  44407. #, no-wrap
  44408. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  44409. msgstr ""
  44410. #. type: deftypevr
  44411. #: guix-git/doc/guix.texi:29805
  44412. msgid "Set the max available frequency for the scaling governor on BAT."
  44413. msgstr ""
  44414. #. type: deftypevr
  44415. #: guix-git/doc/guix.texi:29810
  44416. #, no-wrap
  44417. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  44418. msgstr ""
  44419. #. type: deftypevr
  44420. #: guix-git/doc/guix.texi:29813
  44421. msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  44422. msgstr ""
  44423. #. type: deftypevr
  44424. #: guix-git/doc/guix.texi:29818
  44425. #, no-wrap
  44426. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  44427. msgstr ""
  44428. #. type: deftypevr
  44429. #: guix-git/doc/guix.texi:29821
  44430. msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  44431. msgstr ""
  44432. #. type: deftypevr
  44433. #: guix-git/doc/guix.texi:29826
  44434. #, no-wrap
  44435. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  44436. msgstr ""
  44437. #. type: deftypevr
  44438. #: guix-git/doc/guix.texi:29828
  44439. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  44440. msgstr ""
  44441. #. type: deftypevr
  44442. #: guix-git/doc/guix.texi:29833
  44443. #, no-wrap
  44444. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  44445. msgstr ""
  44446. #. type: deftypevr
  44447. #: guix-git/doc/guix.texi:29835
  44448. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  44449. msgstr ""
  44450. #. type: deftypevr
  44451. #: guix-git/doc/guix.texi:29840
  44452. #, no-wrap
  44453. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  44454. msgstr ""
  44455. #. type: deftypevr
  44456. #: guix-git/doc/guix.texi:29842
  44457. msgid "Enable CPU turbo boost feature on AC mode."
  44458. msgstr ""
  44459. #. type: deftypevr
  44460. #: guix-git/doc/guix.texi:29847
  44461. #, no-wrap
  44462. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  44463. msgstr ""
  44464. #. type: deftypevr
  44465. #: guix-git/doc/guix.texi:29849
  44466. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  44467. msgstr ""
  44468. #. type: deftypevr
  44469. #: guix-git/doc/guix.texi:29854
  44470. #, no-wrap
  44471. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  44472. msgstr ""
  44473. #. type: deftypevr
  44474. #: guix-git/doc/guix.texi:29857
  44475. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  44476. msgstr ""
  44477. #. type: deftypevr
  44478. #: guix-git/doc/guix.texi:29862
  44479. #, no-wrap
  44480. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  44481. msgstr ""
  44482. #. type: deftypevr
  44483. #: guix-git/doc/guix.texi:29864
  44484. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  44485. msgstr ""
  44486. #. type: deftypevr
  44487. #: guix-git/doc/guix.texi:29869
  44488. #, no-wrap
  44489. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  44490. msgstr ""
  44491. #. type: deftypevr
  44492. #: guix-git/doc/guix.texi:29871
  44493. msgid "Enable Linux kernel NMI watchdog."
  44494. msgstr ""
  44495. #. type: deftypevr
  44496. #: guix-git/doc/guix.texi:29876
  44497. #, no-wrap
  44498. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  44499. msgstr ""
  44500. #. type: deftypevr
  44501. #: guix-git/doc/guix.texi:29879
  44502. msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}."
  44503. msgstr ""
  44504. #. type: deftypevr
  44505. #: guix-git/doc/guix.texi:29884
  44506. #, no-wrap
  44507. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  44508. msgstr ""
  44509. #. type: deftypevr
  44510. #: guix-git/doc/guix.texi:29887
  44511. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  44512. msgstr ""
  44513. #. type: deftypevr
  44514. #: guix-git/doc/guix.texi:29889 guix-git/doc/guix.texi:29987
  44515. #: guix-git/doc/guix.texi:30045
  44516. msgid "Defaults to @samp{\"performance\"}."
  44517. msgstr ""
  44518. #. type: deftypevr
  44519. #: guix-git/doc/guix.texi:29892
  44520. #, no-wrap
  44521. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  44522. msgstr ""
  44523. #. type: deftypevr
  44524. #: guix-git/doc/guix.texi:29894
  44525. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  44526. msgstr ""
  44527. #. type: deftypevr
  44528. #: guix-git/doc/guix.texi:29896 guix-git/doc/guix.texi:29994
  44529. msgid "Defaults to @samp{\"powersave\"}."
  44530. msgstr ""
  44531. #. type: deftypevr
  44532. #: guix-git/doc/guix.texi:29899
  44533. #, no-wrap
  44534. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  44535. msgstr ""
  44536. #. type: deftypevr
  44537. #: guix-git/doc/guix.texi:29901
  44538. msgid "Hard disk devices."
  44539. msgstr ""
  44540. #. type: deftypevr
  44541. #: guix-git/doc/guix.texi:29904
  44542. #, no-wrap
  44543. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  44544. msgstr ""
  44545. #. type: deftypevr
  44546. #: guix-git/doc/guix.texi:29906
  44547. msgid "Hard disk advanced power management level."
  44548. msgstr ""
  44549. #. type: deftypevr
  44550. #: guix-git/doc/guix.texi:29909
  44551. #, no-wrap
  44552. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  44553. msgstr ""
  44554. #. type: deftypevr
  44555. #: guix-git/doc/guix.texi:29911
  44556. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  44557. msgstr ""
  44558. #. type: deftypevr
  44559. #: guix-git/doc/guix.texi:29914
  44560. #, no-wrap
  44561. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  44562. msgstr ""
  44563. #. type: deftypevr
  44564. #: guix-git/doc/guix.texi:29917
  44565. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  44566. msgstr ""
  44567. #. type: deftypevr
  44568. #: guix-git/doc/guix.texi:29922
  44569. #, no-wrap
  44570. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  44571. msgstr ""
  44572. #. type: deftypevr
  44573. #: guix-git/doc/guix.texi:29924
  44574. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  44575. msgstr ""
  44576. #. type: deftypevr
  44577. #: guix-git/doc/guix.texi:29929
  44578. #, no-wrap
  44579. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  44580. msgstr ""
  44581. #. type: deftypevr
  44582. #: guix-git/doc/guix.texi:29933
  44583. msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop."
  44584. msgstr ""
  44585. #. type: deftypevr
  44586. #: guix-git/doc/guix.texi:29938
  44587. #, no-wrap
  44588. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  44589. msgstr ""
  44590. #. type: deftypevr
  44591. #: guix-git/doc/guix.texi:29941
  44592. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  44593. msgstr ""
  44594. #. type: deftypevr
  44595. #: guix-git/doc/guix.texi:29943
  44596. msgid "Defaults to @samp{\"max_performance\"}."
  44597. msgstr ""
  44598. #. type: deftypevr
  44599. #: guix-git/doc/guix.texi:29946
  44600. #, no-wrap
  44601. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  44602. msgstr ""
  44603. #. type: deftypevr
  44604. #: guix-git/doc/guix.texi:29948
  44605. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  44606. msgstr ""
  44607. #. type: deftypevr
  44608. #: guix-git/doc/guix.texi:29950
  44609. msgid "Defaults to @samp{\"min_power\"}."
  44610. msgstr ""
  44611. #. type: deftypevr
  44612. #: guix-git/doc/guix.texi:29953
  44613. #, no-wrap
  44614. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  44615. msgstr ""
  44616. #. type: deftypevr
  44617. #: guix-git/doc/guix.texi:29955
  44618. msgid "Exclude specified SATA host devices for link power management."
  44619. msgstr ""
  44620. #. type: deftypevr
  44621. #: guix-git/doc/guix.texi:29960
  44622. #, no-wrap
  44623. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  44624. msgstr ""
  44625. #. type: deftypevr
  44626. #: guix-git/doc/guix.texi:29963
  44627. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  44628. msgstr ""
  44629. #. type: deftypevr
  44630. #: guix-git/doc/guix.texi:29968
  44631. #, no-wrap
  44632. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  44633. msgstr ""
  44634. #. type: deftypevr
  44635. #: guix-git/doc/guix.texi:29970
  44636. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  44637. msgstr ""
  44638. #. type: deftypevr
  44639. #: guix-git/doc/guix.texi:29975
  44640. #, no-wrap
  44641. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  44642. msgstr ""
  44643. #. type: deftypevr
  44644. #: guix-git/doc/guix.texi:29977
  44645. msgid "Seconds of inactivity before disk is suspended."
  44646. msgstr ""
  44647. #. type: deftypevr
  44648. #: guix-git/doc/guix.texi:29982
  44649. #, no-wrap
  44650. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  44651. msgstr ""
  44652. #. type: deftypevr
  44653. #: guix-git/doc/guix.texi:29985
  44654. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44655. msgstr ""
  44656. #. type: deftypevr
  44657. #: guix-git/doc/guix.texi:29990
  44658. #, no-wrap
  44659. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44660. msgstr ""
  44661. #. type: deftypevr
  44662. #: guix-git/doc/guix.texi:29992
  44663. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44664. msgstr ""
  44665. #. type: deftypevr
  44666. #: guix-git/doc/guix.texi:29997
  44667. #, no-wrap
  44668. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  44669. msgstr ""
  44670. #. type: deftypevr
  44671. #: guix-git/doc/guix.texi:29999
  44672. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  44673. msgstr ""
  44674. #. type: deftypevr
  44675. #: guix-git/doc/guix.texi:30004
  44676. #, no-wrap
  44677. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  44678. msgstr ""
  44679. #. type: deftypevr
  44680. #: guix-git/doc/guix.texi:30006
  44681. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  44682. msgstr ""
  44683. #. type: deftypevr
  44684. #: guix-git/doc/guix.texi:30011
  44685. #, no-wrap
  44686. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  44687. msgstr ""
  44688. #. type: deftypevr
  44689. #: guix-git/doc/guix.texi:30013
  44690. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  44691. msgstr ""
  44692. #. type: deftypevr
  44693. #: guix-git/doc/guix.texi:30018
  44694. #, no-wrap
  44695. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  44696. msgstr ""
  44697. #. type: deftypevr
  44698. #: guix-git/doc/guix.texi:30020
  44699. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  44700. msgstr ""
  44701. #. type: deftypevr
  44702. #: guix-git/doc/guix.texi:30025
  44703. #, no-wrap
  44704. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  44705. msgstr ""
  44706. #. type: deftypevr
  44707. #: guix-git/doc/guix.texi:30028
  44708. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  44709. msgstr ""
  44710. #. type: deftypevr
  44711. #: guix-git/doc/guix.texi:30030
  44712. msgid "Defaults to @samp{\"high\"}."
  44713. msgstr ""
  44714. #. type: deftypevr
  44715. #: guix-git/doc/guix.texi:30033
  44716. #, no-wrap
  44717. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  44718. msgstr ""
  44719. #. type: deftypevr
  44720. #: guix-git/doc/guix.texi:30035
  44721. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44722. msgstr ""
  44723. #. type: deftypevr
  44724. #: guix-git/doc/guix.texi:30037
  44725. msgid "Defaults to @samp{\"low\"}."
  44726. msgstr ""
  44727. #. type: deftypevr
  44728. #: guix-git/doc/guix.texi:30040
  44729. #, no-wrap
  44730. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44731. msgstr ""
  44732. #. type: deftypevr
  44733. #: guix-git/doc/guix.texi:30043
  44734. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44735. msgstr ""
  44736. #. type: deftypevr
  44737. #: guix-git/doc/guix.texi:30048
  44738. #, no-wrap
  44739. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44740. msgstr ""
  44741. #. type: deftypevr
  44742. #: guix-git/doc/guix.texi:30050
  44743. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44744. msgstr ""
  44745. #. type: deftypevr
  44746. #: guix-git/doc/guix.texi:30052
  44747. msgid "Defaults to @samp{\"battery\"}."
  44748. msgstr ""
  44749. #. type: deftypevr
  44750. #: guix-git/doc/guix.texi:30055
  44751. #, no-wrap
  44752. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44753. msgstr ""
  44754. #. type: deftypevr
  44755. #: guix-git/doc/guix.texi:30057
  44756. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44757. msgstr ""
  44758. #. type: deftypevr
  44759. #: guix-git/doc/guix.texi:30059 guix-git/doc/guix.texi:30066
  44760. #: guix-git/doc/guix.texi:30140
  44761. msgid "Defaults to @samp{\"auto\"}."
  44762. msgstr ""
  44763. #. type: deftypevr
  44764. #: guix-git/doc/guix.texi:30062
  44765. #, no-wrap
  44766. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44767. msgstr ""
  44768. #. type: deftypevr
  44769. #: guix-git/doc/guix.texi:30064
  44770. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44771. msgstr ""
  44772. #. type: deftypevr
  44773. #: guix-git/doc/guix.texi:30069
  44774. #, no-wrap
  44775. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44776. msgstr ""
  44777. #. type: deftypevr
  44778. #: guix-git/doc/guix.texi:30071
  44779. msgid "Wifi power saving mode."
  44780. msgstr ""
  44781. #. type: deftypevr
  44782. #: guix-git/doc/guix.texi:30076
  44783. #, no-wrap
  44784. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44785. msgstr ""
  44786. #. type: deftypevr
  44787. #: guix-git/doc/guix.texi:30078
  44788. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44789. msgstr ""
  44790. #. type: deftypevr
  44791. #: guix-git/doc/guix.texi:30083
  44792. #, no-wrap
  44793. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44794. msgstr ""
  44795. #. type: deftypevr
  44796. #: guix-git/doc/guix.texi:30085
  44797. msgid "Disable wake on LAN."
  44798. msgstr ""
  44799. #. type: deftypevr
  44800. #: guix-git/doc/guix.texi:30090
  44801. #, no-wrap
  44802. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44803. msgstr ""
  44804. #. type: deftypevr
  44805. #: guix-git/doc/guix.texi:30093
  44806. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44807. msgstr ""
  44808. #. type: deftypevr
  44809. #: guix-git/doc/guix.texi:30098
  44810. #, no-wrap
  44811. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44812. msgstr ""
  44813. #. type: deftypevr
  44814. #: guix-git/doc/guix.texi:30100
  44815. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44816. msgstr ""
  44817. #. type: deftypevr
  44818. #: guix-git/doc/guix.texi:30105
  44819. #, no-wrap
  44820. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44821. msgstr ""
  44822. #. type: deftypevr
  44823. #: guix-git/doc/guix.texi:30107
  44824. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44825. msgstr ""
  44826. #. type: deftypevr
  44827. #: guix-git/doc/guix.texi:30112
  44828. #, no-wrap
  44829. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44830. msgstr ""
  44831. #. type: deftypevr
  44832. #: guix-git/doc/guix.texi:30116
  44833. msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models."
  44834. msgstr ""
  44835. #. type: deftypevr
  44836. #: guix-git/doc/guix.texi:30121
  44837. #, no-wrap
  44838. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44839. msgstr ""
  44840. #. type: deftypevr
  44841. #: guix-git/doc/guix.texi:30123
  44842. msgid "Name of the optical drive device to power off."
  44843. msgstr ""
  44844. #. type: deftypevr
  44845. #: guix-git/doc/guix.texi:30125
  44846. msgid "Defaults to @samp{\"sr0\"}."
  44847. msgstr ""
  44848. #. type: deftypevr
  44849. #: guix-git/doc/guix.texi:30128
  44850. #, no-wrap
  44851. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44852. msgstr ""
  44853. #. type: deftypevr
  44854. #: guix-git/doc/guix.texi:30131
  44855. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44856. msgstr ""
  44857. #. type: deftypevr
  44858. #: guix-git/doc/guix.texi:30133
  44859. msgid "Defaults to @samp{\"on\"}."
  44860. msgstr ""
  44861. #. type: deftypevr
  44862. #: guix-git/doc/guix.texi:30136
  44863. #, no-wrap
  44864. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44865. msgstr ""
  44866. #. type: deftypevr
  44867. #: guix-git/doc/guix.texi:30138
  44868. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44869. msgstr ""
  44870. #. type: deftypevr
  44871. #: guix-git/doc/guix.texi:30143
  44872. #, no-wrap
  44873. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44874. msgstr ""
  44875. #. type: deftypevr
  44876. #: guix-git/doc/guix.texi:30146
  44877. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44878. msgstr ""
  44879. #. type: deftypevr
  44880. #: guix-git/doc/guix.texi:30151
  44881. #, no-wrap
  44882. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44883. msgstr ""
  44884. #. type: deftypevr
  44885. #: guix-git/doc/guix.texi:30153
  44886. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44887. msgstr ""
  44888. #. type: deftypevr
  44889. #: guix-git/doc/guix.texi:30158
  44890. #, no-wrap
  44891. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44892. msgstr ""
  44893. #. type: deftypevr
  44894. #: guix-git/doc/guix.texi:30161
  44895. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44896. msgstr ""
  44897. #. type: deftypevr
  44898. #: guix-git/doc/guix.texi:30164
  44899. #, no-wrap
  44900. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44901. msgstr ""
  44902. #. type: deftypevr
  44903. #: guix-git/doc/guix.texi:30166
  44904. msgid "Enable USB autosuspend feature."
  44905. msgstr ""
  44906. #. type: deftypevr
  44907. #: guix-git/doc/guix.texi:30171
  44908. #, no-wrap
  44909. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44910. msgstr ""
  44911. #. type: deftypevr
  44912. #: guix-git/doc/guix.texi:30173
  44913. msgid "Exclude specified devices from USB autosuspend."
  44914. msgstr ""
  44915. #. type: deftypevr
  44916. #: guix-git/doc/guix.texi:30178
  44917. #, no-wrap
  44918. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44919. msgstr ""
  44920. #. type: deftypevr
  44921. #: guix-git/doc/guix.texi:30180
  44922. msgid "Exclude WWAN devices from USB autosuspend."
  44923. msgstr ""
  44924. #. type: deftypevr
  44925. #: guix-git/doc/guix.texi:30185
  44926. #, no-wrap
  44927. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44928. msgstr ""
  44929. #. type: deftypevr
  44930. #: guix-git/doc/guix.texi:30188
  44931. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44932. msgstr ""
  44933. #. type: deftypevr
  44934. #: guix-git/doc/guix.texi:30193
  44935. #, no-wrap
  44936. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44937. msgstr ""
  44938. #. type: deftypevr
  44939. #: guix-git/doc/guix.texi:30195
  44940. msgid "Enable USB autosuspend before shutdown."
  44941. msgstr ""
  44942. #. type: deftypevr
  44943. #: guix-git/doc/guix.texi:30200
  44944. #, no-wrap
  44945. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44946. msgstr ""
  44947. #. type: deftypevr
  44948. #: guix-git/doc/guix.texi:30203
  44949. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44950. msgstr ""
  44951. #. type: cindex
  44952. #: guix-git/doc/guix.texi:30208
  44953. #, no-wrap
  44954. msgid "thermald"
  44955. msgstr ""
  44956. #. type: cindex
  44957. #: guix-git/doc/guix.texi:30209
  44958. #, no-wrap
  44959. msgid "CPU frequency scaling with thermald"
  44960. msgstr ""
  44961. #. type: subsubheading
  44962. #: guix-git/doc/guix.texi:30210
  44963. #, no-wrap
  44964. msgid "Thermald daemon"
  44965. msgstr ""
  44966. #. type: Plain text
  44967. #: guix-git/doc/guix.texi:30214
  44968. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44969. msgstr ""
  44970. #. type: defvr
  44971. #: guix-git/doc/guix.texi:30215
  44972. #, no-wrap
  44973. msgid "{Scheme Variable} thermald-service-type"
  44974. msgstr ""
  44975. #. type: defvr
  44976. #: guix-git/doc/guix.texi:30220
  44977. msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating."
  44978. msgstr ""
  44979. #. type: deftp
  44980. #: guix-git/doc/guix.texi:30222
  44981. #, no-wrap
  44982. msgid "{Data Type} thermald-configuration"
  44983. msgstr ""
  44984. #. type: deftp
  44985. #: guix-git/doc/guix.texi:30224
  44986. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44987. msgstr ""
  44988. #. type: item
  44989. #: guix-git/doc/guix.texi:30226
  44990. #, no-wrap
  44991. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44992. msgstr ""
  44993. #. type: table
  44994. #: guix-git/doc/guix.texi:30228
  44995. msgid "Ignore cpuid check for supported CPU models."
  44996. msgstr ""
  44997. #. type: item
  44998. #: guix-git/doc/guix.texi:30229
  44999. #, no-wrap
  45000. msgid "@code{thermald} (default: @var{thermald})"
  45001. msgstr ""
  45002. #. type: table
  45003. #: guix-git/doc/guix.texi:30231
  45004. msgid "Package object of thermald."
  45005. msgstr ""
  45006. #. type: Plain text
  45007. #: guix-git/doc/guix.texi:30240
  45008. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  45009. msgstr ""
  45010. #. type: cindex
  45011. #: guix-git/doc/guix.texi:30241
  45012. #, no-wrap
  45013. msgid "mpd"
  45014. msgstr ""
  45015. #. type: subsubheading
  45016. #: guix-git/doc/guix.texi:30242
  45017. #, no-wrap
  45018. msgid "Music Player Daemon"
  45019. msgstr ""
  45020. #. type: Plain text
  45021. #: guix-git/doc/guix.texi:30247
  45022. msgid "The Music Player Daemon (MPD) is a service that can play music while being controlled from the local machine or over the network by a variety of clients."
  45023. msgstr ""
  45024. #. type: Plain text
  45025. #: guix-git/doc/guix.texi:30250
  45026. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  45027. msgstr ""
  45028. #. type: lisp
  45029. #: guix-git/doc/guix.texi:30256
  45030. #, no-wrap
  45031. msgid ""
  45032. "(service mpd-service-type\n"
  45033. " (mpd-configuration\n"
  45034. " (user \"bob\")\n"
  45035. " (port \"6666\")))\n"
  45036. msgstr ""
  45037. #. type: defvr
  45038. #: guix-git/doc/guix.texi:30258
  45039. #, no-wrap
  45040. msgid "{Scheme Variable} mpd-service-type"
  45041. msgstr ""
  45042. #. type: defvr
  45043. #: guix-git/doc/guix.texi:30260
  45044. msgid "The service type for @command{mpd}"
  45045. msgstr ""
  45046. #. type: deftp
  45047. #: guix-git/doc/guix.texi:30262
  45048. #, no-wrap
  45049. msgid "{Data Type} mpd-configuration"
  45050. msgstr ""
  45051. #. type: deftp
  45052. #: guix-git/doc/guix.texi:30264
  45053. msgid "Data type representing the configuration of @command{mpd}."
  45054. msgstr ""
  45055. #. type: item
  45056. #: guix-git/doc/guix.texi:30266
  45057. #, no-wrap
  45058. msgid "@code{user} (default: @code{\"mpd\"})"
  45059. msgstr ""
  45060. #. type: table
  45061. #: guix-git/doc/guix.texi:30268
  45062. msgid "The user to run mpd as."
  45063. msgstr ""
  45064. #. type: item
  45065. #: guix-git/doc/guix.texi:30269
  45066. #, no-wrap
  45067. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  45068. msgstr ""
  45069. #. type: table
  45070. #: guix-git/doc/guix.texi:30271
  45071. msgid "The directory to scan for music files."
  45072. msgstr ""
  45073. #. type: item
  45074. #: guix-git/doc/guix.texi:30272
  45075. #, no-wrap
  45076. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  45077. msgstr ""
  45078. #. type: table
  45079. #: guix-git/doc/guix.texi:30274
  45080. msgid "The directory to store playlists."
  45081. msgstr ""
  45082. #. type: item
  45083. #: guix-git/doc/guix.texi:30275
  45084. #, no-wrap
  45085. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  45086. msgstr ""
  45087. #. type: table
  45088. #: guix-git/doc/guix.texi:30277
  45089. msgid "The location of the music database."
  45090. msgstr ""
  45091. #. type: item
  45092. #: guix-git/doc/guix.texi:30278
  45093. #, no-wrap
  45094. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  45095. msgstr ""
  45096. #. type: table
  45097. #: guix-git/doc/guix.texi:30280
  45098. msgid "The location of the file that stores current MPD's state."
  45099. msgstr ""
  45100. #. type: item
  45101. #: guix-git/doc/guix.texi:30281
  45102. #, no-wrap
  45103. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  45104. msgstr ""
  45105. #. type: table
  45106. #: guix-git/doc/guix.texi:30283
  45107. msgid "The location of the sticker database."
  45108. msgstr ""
  45109. #. type: item
  45110. #: guix-git/doc/guix.texi:30284
  45111. #, no-wrap
  45112. msgid "@code{port} (default: @code{\"6600\"})"
  45113. msgstr ""
  45114. #. type: table
  45115. #: guix-git/doc/guix.texi:30286
  45116. msgid "The port to run mpd on."
  45117. msgstr ""
  45118. #. type: item
  45119. #: guix-git/doc/guix.texi:30287
  45120. #, no-wrap
  45121. msgid "@code{address} (default: @code{\"any\"})"
  45122. msgstr ""
  45123. #. type: table
  45124. #: guix-git/doc/guix.texi:30290
  45125. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  45126. msgstr ""
  45127. #. type: item
  45128. #: guix-git/doc/guix.texi:30291
  45129. #, no-wrap
  45130. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  45131. msgstr ""
  45132. #. type: table
  45133. #: guix-git/doc/guix.texi:30293
  45134. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  45135. msgstr ""
  45136. #. type: deftp
  45137. #: guix-git/doc/guix.texi:30297
  45138. #, no-wrap
  45139. msgid "{Data Type} mpd-output"
  45140. msgstr ""
  45141. #. type: deftp
  45142. #: guix-git/doc/guix.texi:30299
  45143. msgid "Data type representing an @command{mpd} audio output."
  45144. msgstr ""
  45145. #. type: item
  45146. #: guix-git/doc/guix.texi:30301
  45147. #, no-wrap
  45148. msgid "@code{name} (default: @code{\"MPD\"})"
  45149. msgstr ""
  45150. #. type: table
  45151. #: guix-git/doc/guix.texi:30303
  45152. msgid "The name of the audio output."
  45153. msgstr ""
  45154. #. type: item
  45155. #: guix-git/doc/guix.texi:30304
  45156. #, no-wrap
  45157. msgid "@code{type} (default: @code{\"pulse\"})"
  45158. msgstr ""
  45159. #. type: table
  45160. #: guix-git/doc/guix.texi:30306
  45161. msgid "The type of audio output."
  45162. msgstr ""
  45163. #. type: item
  45164. #: guix-git/doc/guix.texi:30307
  45165. #, no-wrap
  45166. msgid "@code{enabled?} (default: @code{#t})"
  45167. msgstr ""
  45168. #. type: table
  45169. #: guix-git/doc/guix.texi:30312
  45170. msgid "Specifies whether this audio output is enabled when MPD is started. By default, all audio outputs are enabled. This is just the default setting when there is no state file; with a state file, the previous state is restored."
  45171. msgstr ""
  45172. #. type: item
  45173. #: guix-git/doc/guix.texi:30313
  45174. #, no-wrap
  45175. msgid "@code{tags?} (default: @code{#t})"
  45176. msgstr ""
  45177. #. type: table
  45178. #: guix-git/doc/guix.texi:30317
  45179. msgid "If set to @code{#f}, then MPD will not send tags to this output. This is only useful for output plugins that can receive tags, for example the @code{httpd} output plugin."
  45180. msgstr ""
  45181. #. type: item
  45182. #: guix-git/doc/guix.texi:30318
  45183. #, no-wrap
  45184. msgid "@code{always-on?} (default: @code{#f})"
  45185. msgstr ""
  45186. #. type: table
  45187. #: guix-git/doc/guix.texi:30322
  45188. msgid "If set to @code{#t}, then MPD attempts to keep this audio output always open. This may be useful for streaming servers, when you don’t want to disconnect all listeners even when playback is accidentally stopped."
  45189. msgstr ""
  45190. #. type: code{#1}
  45191. #: guix-git/doc/guix.texi:30323
  45192. #, no-wrap
  45193. msgid "mixer-type"
  45194. msgstr ""
  45195. #. type: table
  45196. #: guix-git/doc/guix.texi:30329
  45197. msgid "This field accepts a symbol that specifies which mixer should be used for this audio output: the @code{hardware} mixer, the @code{software} mixer, the @code{null} mixer (allows setting the volume, but with no effect; this can be used as a trick to implement an external mixer External Mixer) or no mixer (@code{none})."
  45198. msgstr ""
  45199. #. type: table
  45200. #: guix-git/doc/guix.texi:30333
  45201. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  45202. msgstr ""
  45203. #. type: Plain text
  45204. #: guix-git/doc/guix.texi:30339
  45205. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  45206. msgstr ""
  45207. #. type: lisp
  45208. #: guix-git/doc/guix.texi:30351
  45209. #, no-wrap
  45210. msgid ""
  45211. "(service mpd-service-type\n"
  45212. " (mpd-configuration\n"
  45213. " (outputs\n"
  45214. " (list (mpd-output\n"
  45215. " (name \"streaming\")\n"
  45216. " (type \"httpd\")\n"
  45217. " (mixer-type 'null)\n"
  45218. " (extra-options\n"
  45219. " `((encoder . \"vorbis\")\n"
  45220. " (port . \"8080\"))))))))\n"
  45221. msgstr ""
  45222. #. type: Plain text
  45223. #: guix-git/doc/guix.texi:30360
  45224. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  45225. msgstr ""
  45226. #. type: subsubheading
  45227. #: guix-git/doc/guix.texi:30361
  45228. #, no-wrap
  45229. msgid "Libvirt daemon"
  45230. msgstr ""
  45231. #. type: Plain text
  45232. #: guix-git/doc/guix.texi:30366
  45233. msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests."
  45234. msgstr ""
  45235. #. type: deffn
  45236. #: guix-git/doc/guix.texi:30367
  45237. #, no-wrap
  45238. msgid "{Scheme Variable} libvirt-service-type"
  45239. msgstr ""
  45240. #. type: deffn
  45241. #: guix-git/doc/guix.texi:30370
  45242. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  45243. msgstr ""
  45244. #. type: lisp
  45245. #: guix-git/doc/guix.texi:30376
  45246. #, no-wrap
  45247. msgid ""
  45248. "(service libvirt-service-type\n"
  45249. " (libvirt-configuration\n"
  45250. " (unix-sock-group \"libvirt\")\n"
  45251. " (tls-port \"16555\")))\n"
  45252. msgstr ""
  45253. #. type: Plain text
  45254. #: guix-git/doc/guix.texi:30381
  45255. msgid "Available @code{libvirt-configuration} fields are:"
  45256. msgstr ""
  45257. #. type: deftypevr
  45258. #: guix-git/doc/guix.texi:30382
  45259. #, no-wrap
  45260. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  45261. msgstr ""
  45262. #. type: deftypevar
  45263. #: guix-git/doc/guix.texi:30384 guix-git/doc/guix.texi:30947
  45264. msgid "Libvirt package."
  45265. msgstr ""
  45266. #. type: deftypevr
  45267. #: guix-git/doc/guix.texi:30387
  45268. #, no-wrap
  45269. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  45270. msgstr ""
  45271. #. type: deftypevr
  45272. #: guix-git/doc/guix.texi:30390
  45273. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45274. msgstr ""
  45275. #. type: deftypevr
  45276. #: guix-git/doc/guix.texi:30393
  45277. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  45278. msgstr ""
  45279. #. type: deftypevr
  45280. #: guix-git/doc/guix.texi:30398
  45281. #, no-wrap
  45282. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  45283. msgstr ""
  45284. #. type: deftypevr
  45285. #: guix-git/doc/guix.texi:30401
  45286. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45287. msgstr ""
  45288. #. type: deftypevr
  45289. #: guix-git/doc/guix.texi:30405
  45290. msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)."
  45291. msgstr ""
  45292. #. type: deftypevr
  45293. #: guix-git/doc/guix.texi:30410
  45294. #, no-wrap
  45295. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  45296. msgstr ""
  45297. #. type: deftypevr
  45298. #: guix-git/doc/guix.texi:30413
  45299. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  45300. msgstr ""
  45301. #. type: deftypevr
  45302. #: guix-git/doc/guix.texi:30415
  45303. msgid "Defaults to @samp{\"16514\"}."
  45304. msgstr ""
  45305. #. type: deftypevr
  45306. #: guix-git/doc/guix.texi:30418
  45307. #, no-wrap
  45308. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  45309. msgstr ""
  45310. #. type: deftypevr
  45311. #: guix-git/doc/guix.texi:30421
  45312. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  45313. msgstr ""
  45314. #. type: deftypevr
  45315. #: guix-git/doc/guix.texi:30423
  45316. msgid "Defaults to @samp{\"16509\"}."
  45317. msgstr ""
  45318. #. type: deftypevr
  45319. #: guix-git/doc/guix.texi:30426
  45320. #, no-wrap
  45321. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  45322. msgstr ""
  45323. #. type: deftypevr
  45324. #: guix-git/doc/guix.texi:30428
  45325. msgid "IP address or hostname used for client connections."
  45326. msgstr ""
  45327. #. type: deftypevr
  45328. #: guix-git/doc/guix.texi:30433
  45329. #, no-wrap
  45330. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  45331. msgstr ""
  45332. #. type: deftypevr
  45333. #: guix-git/doc/guix.texi:30435
  45334. msgid "Flag toggling mDNS advertisement of the libvirt service."
  45335. msgstr ""
  45336. #. type: deftypevr
  45337. #: guix-git/doc/guix.texi:30438
  45338. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  45339. msgstr ""
  45340. #. type: deftypevr
  45341. #: guix-git/doc/guix.texi:30443
  45342. #, no-wrap
  45343. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  45344. msgstr ""
  45345. #. type: deftypevr
  45346. #: guix-git/doc/guix.texi:30446
  45347. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  45348. msgstr ""
  45349. #. type: deftypevr
  45350. #: guix-git/doc/guix.texi:30448
  45351. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  45352. msgstr ""
  45353. #. type: deftypevr
  45354. #: guix-git/doc/guix.texi:30451
  45355. #, no-wrap
  45356. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  45357. msgstr ""
  45358. #. type: deftypevr
  45359. #: guix-git/doc/guix.texi:30455
  45360. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  45361. msgstr ""
  45362. #. type: deftypevr
  45363. #: guix-git/doc/guix.texi:30460
  45364. #, no-wrap
  45365. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  45366. msgstr ""
  45367. #. type: deftypevr
  45368. #: guix-git/doc/guix.texi:30463
  45369. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  45370. msgstr ""
  45371. #. type: deftypevr
  45372. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30483
  45373. msgid "Defaults to @samp{\"0777\"}."
  45374. msgstr ""
  45375. #. type: deftypevr
  45376. #: guix-git/doc/guix.texi:30468
  45377. #, no-wrap
  45378. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  45379. msgstr ""
  45380. #. type: deftypevr
  45381. #: guix-git/doc/guix.texi:30472
  45382. msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)"
  45383. msgstr ""
  45384. #. type: deftypevr
  45385. #: guix-git/doc/guix.texi:30474
  45386. msgid "Defaults to @samp{\"0770\"}."
  45387. msgstr ""
  45388. #. type: deftypevr
  45389. #: guix-git/doc/guix.texi:30477
  45390. #, no-wrap
  45391. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  45392. msgstr ""
  45393. #. type: deftypevr
  45394. #: guix-git/doc/guix.texi:30481
  45395. msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to."
  45396. msgstr ""
  45397. #. type: deftypevr
  45398. #: guix-git/doc/guix.texi:30486
  45399. #, no-wrap
  45400. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  45401. msgstr ""
  45402. #. type: deftypevr
  45403. #: guix-git/doc/guix.texi:30488
  45404. msgid "The directory in which sockets will be found/created."
  45405. msgstr ""
  45406. #. type: deftypevr
  45407. #: guix-git/doc/guix.texi:30490
  45408. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  45409. msgstr ""
  45410. #. type: deftypevr
  45411. #: guix-git/doc/guix.texi:30493
  45412. #, no-wrap
  45413. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  45414. msgstr ""
  45415. #. type: deftypevr
  45416. #: guix-git/doc/guix.texi:30496
  45417. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  45418. msgstr ""
  45419. #. type: deftypevr
  45420. #: guix-git/doc/guix.texi:30498 guix-git/doc/guix.texi:30507
  45421. msgid "Defaults to @samp{\"polkit\"}."
  45422. msgstr ""
  45423. #. type: deftypevr
  45424. #: guix-git/doc/guix.texi:30501
  45425. #, no-wrap
  45426. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  45427. msgstr ""
  45428. #. type: deftypevr
  45429. #: guix-git/doc/guix.texi:30505
  45430. msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth."
  45431. msgstr ""
  45432. #. type: deftypevr
  45433. #: guix-git/doc/guix.texi:30510
  45434. #, no-wrap
  45435. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  45436. msgstr ""
  45437. #. type: deftypevr
  45438. #: guix-git/doc/guix.texi:30514
  45439. msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario."
  45440. msgstr ""
  45441. #. type: deftypevr
  45442. #: guix-git/doc/guix.texi:30516
  45443. msgid "Defaults to @samp{\"sasl\"}."
  45444. msgstr ""
  45445. #. type: deftypevr
  45446. #: guix-git/doc/guix.texi:30519
  45447. #, no-wrap
  45448. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  45449. msgstr ""
  45450. #. type: deftypevr
  45451. #: guix-git/doc/guix.texi:30523
  45452. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  45453. msgstr ""
  45454. #. type: deftypevr
  45455. #: guix-git/doc/guix.texi:30526
  45456. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  45457. msgstr ""
  45458. #. type: deftypevr
  45459. #: guix-git/doc/guix.texi:30528
  45460. msgid "Defaults to @samp{\"none\"}."
  45461. msgstr ""
  45462. #. type: deftypevr
  45463. #: guix-git/doc/guix.texi:30531
  45464. #, no-wrap
  45465. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  45466. msgstr ""
  45467. #. type: deftypevr
  45468. #: guix-git/doc/guix.texi:30533
  45469. msgid "API access control scheme."
  45470. msgstr ""
  45471. #. type: deftypevr
  45472. #: guix-git/doc/guix.texi:30536
  45473. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  45474. msgstr ""
  45475. #. type: deftypevr
  45476. #: guix-git/doc/guix.texi:30541
  45477. #, no-wrap
  45478. msgid "{@code{libvirt-configuration} parameter} string key-file"
  45479. msgstr ""
  45480. #. type: deftypevr
  45481. #: guix-git/doc/guix.texi:30544
  45482. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  45483. msgstr ""
  45484. #. type: deftypevr
  45485. #: guix-git/doc/guix.texi:30549
  45486. #, no-wrap
  45487. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  45488. msgstr ""
  45489. #. type: deftypevr
  45490. #: guix-git/doc/guix.texi:30552
  45491. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  45492. msgstr ""
  45493. #. type: deftypevr
  45494. #: guix-git/doc/guix.texi:30557
  45495. #, no-wrap
  45496. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  45497. msgstr ""
  45498. #. type: deftypevr
  45499. #: guix-git/doc/guix.texi:30560
  45500. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  45501. msgstr ""
  45502. #. type: deftypevr
  45503. #: guix-git/doc/guix.texi:30565
  45504. #, no-wrap
  45505. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  45506. msgstr ""
  45507. #. type: deftypevr
  45508. #: guix-git/doc/guix.texi:30568
  45509. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  45510. msgstr ""
  45511. #. type: deftypevr
  45512. #: guix-git/doc/guix.texi:30573
  45513. #, no-wrap
  45514. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  45515. msgstr ""
  45516. #. type: deftypevr
  45517. #: guix-git/doc/guix.texi:30575
  45518. msgid "Disable verification of our own server certificates."
  45519. msgstr ""
  45520. #. type: deftypevr
  45521. #: guix-git/doc/guix.texi:30578
  45522. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  45523. msgstr ""
  45524. #. type: deftypevr
  45525. #: guix-git/doc/guix.texi:30583
  45526. #, no-wrap
  45527. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  45528. msgstr ""
  45529. #. type: deftypevr
  45530. #: guix-git/doc/guix.texi:30585
  45531. msgid "Disable verification of client certificates."
  45532. msgstr ""
  45533. #. type: deftypevr
  45534. #: guix-git/doc/guix.texi:30589
  45535. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  45536. msgstr ""
  45537. #. type: deftypevr
  45538. #: guix-git/doc/guix.texi:30594
  45539. #, no-wrap
  45540. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  45541. msgstr ""
  45542. #. type: deftypevr
  45543. #: guix-git/doc/guix.texi:30596
  45544. msgid "Whitelist of allowed x509 Distinguished Name."
  45545. msgstr ""
  45546. #. type: deftypevr
  45547. #: guix-git/doc/guix.texi:30601
  45548. #, no-wrap
  45549. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  45550. msgstr ""
  45551. #. type: deftypevr
  45552. #: guix-git/doc/guix.texi:30604
  45553. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  45554. msgstr ""
  45555. #. type: deftypevr
  45556. #: guix-git/doc/guix.texi:30609
  45557. #, no-wrap
  45558. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  45559. msgstr ""
  45560. #. type: deftypevr
  45561. #: guix-git/doc/guix.texi:30613
  45562. msgid "Override the compile time default TLS priority string. The default is usually @samp{\"NORMAL\"} unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings."
  45563. msgstr ""
  45564. #. type: deftypevr
  45565. #: guix-git/doc/guix.texi:30615
  45566. msgid "Defaults to @samp{\"NORMAL\"}."
  45567. msgstr ""
  45568. #. type: deftypevr
  45569. #: guix-git/doc/guix.texi:30618
  45570. #, no-wrap
  45571. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  45572. msgstr ""
  45573. #. type: deftypevr
  45574. #: guix-git/doc/guix.texi:30621 guix-git/doc/guix.texi:31049
  45575. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  45576. msgstr ""
  45577. #. type: deftypevr
  45578. #: guix-git/doc/guix.texi:30623
  45579. msgid "Defaults to @samp{5000}."
  45580. msgstr ""
  45581. #. type: deftypevr
  45582. #: guix-git/doc/guix.texi:30626
  45583. #, no-wrap
  45584. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  45585. msgstr ""
  45586. #. type: deftypevr
  45587. #: guix-git/doc/guix.texi:30630
  45588. msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds."
  45589. msgstr ""
  45590. #. type: deftypevr
  45591. #: guix-git/doc/guix.texi:30635
  45592. #, no-wrap
  45593. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  45594. msgstr ""
  45595. #. type: deftypevr
  45596. #: guix-git/doc/guix.texi:30638
  45597. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  45598. msgstr ""
  45599. #. type: deftypevr
  45600. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30658
  45601. #: guix-git/doc/guix.texi:30674
  45602. msgid "Defaults to @samp{20}."
  45603. msgstr ""
  45604. #. type: deftypevr
  45605. #: guix-git/doc/guix.texi:30643
  45606. #, no-wrap
  45607. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  45608. msgstr ""
  45609. #. type: deftypevr
  45610. #: guix-git/doc/guix.texi:30645
  45611. msgid "Number of workers to start up initially."
  45612. msgstr ""
  45613. #. type: deftypevr
  45614. #: guix-git/doc/guix.texi:30650
  45615. #, no-wrap
  45616. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  45617. msgstr ""
  45618. #. type: deftypevr
  45619. #: guix-git/doc/guix.texi:30652
  45620. msgid "Maximum number of worker threads."
  45621. msgstr ""
  45622. #. type: deftypevr
  45623. #: guix-git/doc/guix.texi:30656
  45624. msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed."
  45625. msgstr ""
  45626. #. type: deftypevr
  45627. #: guix-git/doc/guix.texi:30661
  45628. #, no-wrap
  45629. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  45630. msgstr ""
  45631. #. type: deftypevr
  45632. #: guix-git/doc/guix.texi:30665
  45633. msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool."
  45634. msgstr ""
  45635. #. type: deftypevr
  45636. #: guix-git/doc/guix.texi:30670
  45637. #, no-wrap
  45638. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  45639. msgstr ""
  45640. #. type: deftypevr
  45641. #: guix-git/doc/guix.texi:30672
  45642. msgid "Total global limit on concurrent RPC calls."
  45643. msgstr ""
  45644. #. type: deftypevr
  45645. #: guix-git/doc/guix.texi:30677
  45646. #, no-wrap
  45647. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  45648. msgstr ""
  45649. #. type: deftypevr
  45650. #: guix-git/doc/guix.texi:30681
  45651. msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter."
  45652. msgstr ""
  45653. #. type: deftypevr
  45654. #: guix-git/doc/guix.texi:30686
  45655. #, no-wrap
  45656. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  45657. msgstr ""
  45658. #. type: deftypevr
  45659. #: guix-git/doc/guix.texi:30688
  45660. msgid "Same as @code{min-workers} but for the admin interface."
  45661. msgstr ""
  45662. #. type: deftypevr
  45663. #: guix-git/doc/guix.texi:30693
  45664. #, no-wrap
  45665. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  45666. msgstr ""
  45667. #. type: deftypevr
  45668. #: guix-git/doc/guix.texi:30695
  45669. msgid "Same as @code{max-workers} but for the admin interface."
  45670. msgstr ""
  45671. #. type: deftypevr
  45672. #: guix-git/doc/guix.texi:30700
  45673. #, no-wrap
  45674. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  45675. msgstr ""
  45676. #. type: deftypevr
  45677. #: guix-git/doc/guix.texi:30702
  45678. msgid "Same as @code{max-clients} but for the admin interface."
  45679. msgstr ""
  45680. #. type: deftypevr
  45681. #: guix-git/doc/guix.texi:30707
  45682. #, no-wrap
  45683. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  45684. msgstr ""
  45685. #. type: deftypevr
  45686. #: guix-git/doc/guix.texi:30709
  45687. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45688. msgstr ""
  45689. #. type: deftypevr
  45690. #: guix-git/doc/guix.texi:30714
  45691. #, no-wrap
  45692. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  45693. msgstr ""
  45694. #. type: deftypevr
  45695. #: guix-git/doc/guix.texi:30716
  45696. msgid "Same as @code{max-client-requests} but for the admin interface."
  45697. msgstr ""
  45698. #. type: deftypevr
  45699. #: guix-git/doc/guix.texi:30721
  45700. #, no-wrap
  45701. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  45702. msgstr ""
  45703. #. type: deftypevr
  45704. #: guix-git/doc/guix.texi:30723 guix-git/doc/guix.texi:30951
  45705. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  45706. msgstr ""
  45707. #. type: deftypevr
  45708. #: guix-git/doc/guix.texi:30728
  45709. #, no-wrap
  45710. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  45711. msgstr ""
  45712. #. type: deftypevr
  45713. #: guix-git/doc/guix.texi:30730 guix-git/doc/guix.texi:30958
  45714. msgid "Logging filters."
  45715. msgstr ""
  45716. #. type: deftypevr
  45717. #: guix-git/doc/guix.texi:30733
  45718. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45719. msgstr ""
  45720. #. type: itemize
  45721. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30965
  45722. msgid "x:name"
  45723. msgstr ""
  45724. #. type: itemize
  45725. #: guix-git/doc/guix.texi:30740 guix-git/doc/guix.texi:30968
  45726. msgid "x:+name"
  45727. msgstr ""
  45728. #. type: deftypevr
  45729. #: guix-git/doc/guix.texi:30751
  45730. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., @samp{\"remote\"}, @samp{\"qemu\"}, or @samp{\"util.json\"} (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional @samp{\"+\"} prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  45731. msgstr ""
  45732. #. type: itemize
  45733. #: guix-git/doc/guix.texi:30755 guix-git/doc/guix.texi:30800
  45734. #: guix-git/doc/guix.texi:30982 guix-git/doc/guix.texi:31027
  45735. msgid "1: DEBUG"
  45736. msgstr ""
  45737. #. type: itemize
  45738. #: guix-git/doc/guix.texi:30758 guix-git/doc/guix.texi:30803
  45739. #: guix-git/doc/guix.texi:30985 guix-git/doc/guix.texi:31030
  45740. msgid "2: INFO"
  45741. msgstr ""
  45742. #. type: itemize
  45743. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:30806
  45744. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31033
  45745. msgid "3: WARNING"
  45746. msgstr ""
  45747. #. type: itemize
  45748. #: guix-git/doc/guix.texi:30764 guix-git/doc/guix.texi:30809
  45749. #: guix-git/doc/guix.texi:30991 guix-git/doc/guix.texi:31036
  45750. msgid "4: ERROR"
  45751. msgstr ""
  45752. #. type: deftypevr
  45753. #: guix-git/doc/guix.texi:30769 guix-git/doc/guix.texi:30996
  45754. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45755. msgstr ""
  45756. #. type: deftypevr
  45757. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30998
  45758. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45759. msgstr ""
  45760. #. type: deftypevr
  45761. #: guix-git/doc/guix.texi:30774
  45762. #, no-wrap
  45763. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45764. msgstr ""
  45765. #. type: deftypevr
  45766. #: guix-git/doc/guix.texi:30776 guix-git/doc/guix.texi:31003
  45767. msgid "Logging outputs."
  45768. msgstr ""
  45769. #. type: deftypevr
  45770. #: guix-git/doc/guix.texi:30779
  45771. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45772. msgstr ""
  45773. #. type: item
  45774. #: guix-git/doc/guix.texi:30781 guix-git/doc/guix.texi:31008
  45775. #, no-wrap
  45776. msgid "x:stderr"
  45777. msgstr ""
  45778. #. type: table
  45779. #: guix-git/doc/guix.texi:30783 guix-git/doc/guix.texi:31010
  45780. msgid "output goes to stderr"
  45781. msgstr ""
  45782. #. type: item
  45783. #: guix-git/doc/guix.texi:30784 guix-git/doc/guix.texi:31011
  45784. #, no-wrap
  45785. msgid "x:syslog:name"
  45786. msgstr ""
  45787. #. type: table
  45788. #: guix-git/doc/guix.texi:30786 guix-git/doc/guix.texi:31013
  45789. msgid "use syslog for the output and use the given name as the ident"
  45790. msgstr ""
  45791. #. type: item
  45792. #: guix-git/doc/guix.texi:30787 guix-git/doc/guix.texi:31014
  45793. #, no-wrap
  45794. msgid "x:file:file_path"
  45795. msgstr ""
  45796. #. type: table
  45797. #: guix-git/doc/guix.texi:30789 guix-git/doc/guix.texi:31016
  45798. msgid "output to a file, with the given filepath"
  45799. msgstr ""
  45800. #. type: item
  45801. #: guix-git/doc/guix.texi:30790 guix-git/doc/guix.texi:31017
  45802. #, no-wrap
  45803. msgid "x:journald"
  45804. msgstr ""
  45805. #. type: table
  45806. #: guix-git/doc/guix.texi:30792 guix-git/doc/guix.texi:31019
  45807. msgid "output to journald logging system"
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:31023
  45811. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45812. msgstr ""
  45813. #. type: deftypevr
  45814. #: guix-git/doc/guix.texi:30814 guix-git/doc/guix.texi:31041
  45815. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45816. msgstr ""
  45817. #. type: deftypevr
  45818. #: guix-git/doc/guix.texi:30816 guix-git/doc/guix.texi:31043
  45819. msgid "Defaults to @samp{\"3:stderr\"}."
  45820. msgstr ""
  45821. #. type: deftypevr
  45822. #: guix-git/doc/guix.texi:30819
  45823. #, no-wrap
  45824. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45825. msgstr ""
  45826. #. type: deftypevr
  45827. #: guix-git/doc/guix.texi:30821
  45828. msgid "Allows usage of the auditing subsystem to be altered"
  45829. msgstr ""
  45830. #. type: itemize
  45831. #: guix-git/doc/guix.texi:30825
  45832. msgid "0: disable all auditing"
  45833. msgstr ""
  45834. #. type: itemize
  45835. #: guix-git/doc/guix.texi:30828
  45836. msgid "1: enable auditing, only if enabled on host"
  45837. msgstr ""
  45838. #. type: itemize
  45839. #: guix-git/doc/guix.texi:30831
  45840. msgid "2: enable auditing, and exit if disabled on host."
  45841. msgstr ""
  45842. #. type: deftypevr
  45843. #: guix-git/doc/guix.texi:30838
  45844. #, no-wrap
  45845. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45846. msgstr ""
  45847. #. type: deftypevr
  45848. #: guix-git/doc/guix.texi:30840
  45849. msgid "Send audit messages via libvirt logging infrastructure."
  45850. msgstr ""
  45851. #. type: deftypevr
  45852. #: guix-git/doc/guix.texi:30845
  45853. #, no-wrap
  45854. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45855. msgstr ""
  45856. #. type: deftypevr
  45857. #: guix-git/doc/guix.texi:30847
  45858. msgid "Host UUID@. UUID must not have all digits be the same."
  45859. msgstr ""
  45860. #. type: deftypevr
  45861. #: guix-git/doc/guix.texi:30852
  45862. #, no-wrap
  45863. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45864. msgstr ""
  45865. #. type: deftypevr
  45866. #: guix-git/doc/guix.texi:30854
  45867. msgid "Source to read host UUID."
  45868. msgstr ""
  45869. #. type: itemize
  45870. #: guix-git/doc/guix.texi:30858
  45871. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45872. msgstr ""
  45873. #. type: itemize
  45874. #: guix-git/doc/guix.texi:30861
  45875. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45876. msgstr ""
  45877. #. type: deftypevr
  45878. #: guix-git/doc/guix.texi:30866
  45879. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45880. msgstr ""
  45881. #. type: deftypevr
  45882. #: guix-git/doc/guix.texi:30868
  45883. msgid "Defaults to @samp{\"smbios\"}."
  45884. msgstr ""
  45885. #. type: deftypevr
  45886. #: guix-git/doc/guix.texi:30871
  45887. #, no-wrap
  45888. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45889. msgstr ""
  45890. #. type: deftypevr
  45891. #: guix-git/doc/guix.texi:30876
  45892. msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses."
  45893. msgstr ""
  45894. #. type: deftypevr
  45895. #: guix-git/doc/guix.texi:30881
  45896. #, no-wrap
  45897. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45898. msgstr ""
  45899. #. type: deftypevr
  45900. #: guix-git/doc/guix.texi:30885
  45901. msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken."
  45902. msgstr ""
  45903. #. type: deftypevr
  45904. #: guix-git/doc/guix.texi:30892
  45905. msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages."
  45906. msgstr ""
  45907. #. type: deftypevr
  45908. #: guix-git/doc/guix.texi:30897
  45909. #, no-wrap
  45910. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45911. msgstr ""
  45912. #. type: deftypevr
  45913. #: guix-git/doc/guix.texi:30899 guix-git/doc/guix.texi:30906
  45914. msgid "Same as above but for admin interface."
  45915. msgstr ""
  45916. #. type: deftypevr
  45917. #: guix-git/doc/guix.texi:30904
  45918. #, no-wrap
  45919. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45920. msgstr ""
  45921. #. type: deftypevr
  45922. #: guix-git/doc/guix.texi:30911
  45923. #, no-wrap
  45924. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45925. msgstr ""
  45926. #. type: deftypevr
  45927. #: guix-git/doc/guix.texi:30913
  45928. msgid "Timeout for Open vSwitch calls."
  45929. msgstr ""
  45930. #. type: deftypevr
  45931. #: guix-git/doc/guix.texi:30917
  45932. msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt."
  45933. msgstr ""
  45934. #. type: subsubheading
  45935. #: guix-git/doc/guix.texi:30924
  45936. #, no-wrap
  45937. msgid "Virtlog daemon"
  45938. msgstr ""
  45939. #. type: Plain text
  45940. #: guix-git/doc/guix.texi:30927
  45941. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45942. msgstr ""
  45943. #. type: Plain text
  45944. #: guix-git/doc/guix.texi:30933
  45945. msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime."
  45946. msgstr ""
  45947. #. type: deffn
  45948. #: guix-git/doc/guix.texi:30934
  45949. #, no-wrap
  45950. msgid "{Scheme Variable} virtlog-service-type"
  45951. msgstr ""
  45952. #. type: deffn
  45953. #: guix-git/doc/guix.texi:30937
  45954. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45955. msgstr ""
  45956. #. type: lisp
  45957. #: guix-git/doc/guix.texi:30942
  45958. #, no-wrap
  45959. msgid ""
  45960. "(service virtlog-service-type\n"
  45961. " (virtlog-configuration\n"
  45962. " (max-clients 1000)))\n"
  45963. msgstr ""
  45964. #. type: deftypevar
  45965. #: guix-git/doc/guix.texi:30945
  45966. #, no-wrap
  45967. msgid "{@code{libvirt} parameter} package libvirt"
  45968. msgstr ""
  45969. #. type: deftypevr
  45970. #: guix-git/doc/guix.texi:30949
  45971. #, no-wrap
  45972. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45973. msgstr ""
  45974. #. type: deftypevr
  45975. #: guix-git/doc/guix.texi:30956
  45976. #, no-wrap
  45977. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45978. msgstr ""
  45979. #. type: deftypevr
  45980. #: guix-git/doc/guix.texi:30961
  45981. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45982. msgstr ""
  45983. #. type: deftypevr
  45984. #: guix-git/doc/guix.texi:30978
  45985. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  45986. msgstr ""
  45987. #. type: deftypevr
  45988. #: guix-git/doc/guix.texi:31001
  45989. #, no-wrap
  45990. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45991. msgstr ""
  45992. #. type: deftypevr
  45993. #: guix-git/doc/guix.texi:31006
  45994. msgid "An output is one of the places to save logging information The format for an output can be:"
  45995. msgstr ""
  45996. #. type: deftypevr
  45997. #: guix-git/doc/guix.texi:31046
  45998. #, no-wrap
  45999. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  46000. msgstr ""
  46001. #. type: deftypevr
  46002. #: guix-git/doc/guix.texi:31051
  46003. msgid "Defaults to @samp{1024}."
  46004. msgstr ""
  46005. #. type: deftypevr
  46006. #: guix-git/doc/guix.texi:31054
  46007. #, no-wrap
  46008. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  46009. msgstr ""
  46010. #. type: deftypevr
  46011. #: guix-git/doc/guix.texi:31056
  46012. msgid "Maximum file size before rolling over."
  46013. msgstr ""
  46014. #. type: deftypevr
  46015. #: guix-git/doc/guix.texi:31058
  46016. msgid "Defaults to @samp{2MB}"
  46017. msgstr ""
  46018. #. type: deftypevr
  46019. #: guix-git/doc/guix.texi:31061
  46020. #, no-wrap
  46021. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  46022. msgstr ""
  46023. #. type: deftypevr
  46024. #: guix-git/doc/guix.texi:31063
  46025. msgid "Maximum number of backup files to keep."
  46026. msgstr ""
  46027. #. type: deftypevr
  46028. #: guix-git/doc/guix.texi:31065
  46029. msgid "Defaults to @samp{3}"
  46030. msgstr ""
  46031. #. type: anchor{#1}
  46032. #: guix-git/doc/guix.texi:31069
  46033. msgid "transparent-emulation-qemu"
  46034. msgstr ""
  46035. #. type: subsubheading
  46036. #: guix-git/doc/guix.texi:31069
  46037. #, no-wrap
  46038. msgid "Transparent Emulation with QEMU"
  46039. msgstr ""
  46040. #. type: cindex
  46041. #: guix-git/doc/guix.texi:31071 guix-git/doc/guix.texi:31151
  46042. #, no-wrap
  46043. msgid "emulation"
  46044. msgstr ""
  46045. #. type: code{#1}
  46046. #: guix-git/doc/guix.texi:31072
  46047. #, no-wrap
  46048. msgid "binfmt_misc"
  46049. msgstr ""
  46050. #. type: Plain text
  46051. #: guix-git/doc/guix.texi:31080
  46052. msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux. This feature only allows you to emulate GNU/Linux on a different architecture, but see below for GNU/Hurd support."
  46053. msgstr ""
  46054. #. type: defvr
  46055. #: guix-git/doc/guix.texi:31081
  46056. #, no-wrap
  46057. msgid "{Scheme Variable} qemu-binfmt-service-type"
  46058. msgstr ""
  46059. #. type: defvr
  46060. #: guix-git/doc/guix.texi:31086
  46061. msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:"
  46062. msgstr ""
  46063. #. type: lisp
  46064. #: guix-git/doc/guix.texi:31091
  46065. #, no-wrap
  46066. msgid ""
  46067. "(service qemu-binfmt-service-type\n"
  46068. " (qemu-binfmt-configuration\n"
  46069. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  46070. msgstr ""
  46071. #. type: defvr
  46072. #: guix-git/doc/guix.texi:31097
  46073. msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})."
  46074. msgstr ""
  46075. #. type: deftp
  46076. #: guix-git/doc/guix.texi:31099
  46077. #, no-wrap
  46078. msgid "{Data Type} qemu-binfmt-configuration"
  46079. msgstr ""
  46080. #. type: deftp
  46081. #: guix-git/doc/guix.texi:31101
  46082. msgid "This is the configuration for the @code{qemu-binfmt} service."
  46083. msgstr ""
  46084. #. type: item
  46085. #: guix-git/doc/guix.texi:31103
  46086. #, no-wrap
  46087. msgid "@code{platforms} (default: @code{'()})"
  46088. msgstr ""
  46089. #. type: table
  46090. #: guix-git/doc/guix.texi:31106
  46091. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  46092. msgstr ""
  46093. #. type: table
  46094. #: guix-git/doc/guix.texi:31109
  46095. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  46096. msgstr ""
  46097. #. type: lisp
  46098. #: guix-git/doc/guix.texi:31114
  46099. #, no-wrap
  46100. msgid ""
  46101. "(service qemu-binfmt-service-type\n"
  46102. " (qemu-binfmt-configuration\n"
  46103. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  46104. msgstr ""
  46105. #. type: table
  46106. #: guix-git/doc/guix.texi:31117
  46107. msgid "You can run:"
  46108. msgstr ""
  46109. #. type: example
  46110. #: guix-git/doc/guix.texi:31120
  46111. #, no-wrap
  46112. msgid "guix build -s armhf-linux inkscape\n"
  46113. msgstr ""
  46114. #. type: table
  46115. #: guix-git/doc/guix.texi:31127
  46116. msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU@. Pretty handy if you'd like to test a package build for an architecture you don't have access to!"
  46117. msgstr ""
  46118. #. type: item
  46119. #: guix-git/doc/guix.texi:31128
  46120. #, no-wrap
  46121. msgid "@code{qemu} (default: @code{qemu})"
  46122. msgstr ""
  46123. #. type: table
  46124. #: guix-git/doc/guix.texi:31130 guix-git/doc/guix.texi:31188
  46125. #: guix-git/doc/guix.texi:31270
  46126. msgid "The QEMU package to use."
  46127. msgstr ""
  46128. #. type: deffn
  46129. #: guix-git/doc/guix.texi:31133
  46130. #, no-wrap
  46131. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  46132. msgstr ""
  46133. #. type: deffn
  46134. #: guix-git/doc/guix.texi:31138
  46135. msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on."
  46136. msgstr ""
  46137. #. type: deffn
  46138. #: guix-git/doc/guix.texi:31140
  46139. #, no-wrap
  46140. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  46141. msgstr ""
  46142. #. type: deffn
  46143. #: guix-git/doc/guix.texi:31142
  46144. msgid "Return true if @var{obj} is a platform object."
  46145. msgstr ""
  46146. #. type: deffn
  46147. #: guix-git/doc/guix.texi:31144
  46148. #, no-wrap
  46149. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  46150. msgstr ""
  46151. #. type: deffn
  46152. #: guix-git/doc/guix.texi:31146
  46153. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  46154. msgstr ""
  46155. #. type: subsubheading
  46156. #: guix-git/doc/guix.texi:31149
  46157. #, no-wrap
  46158. msgid "QEMU Guest Agent"
  46159. msgstr ""
  46160. #. type: Plain text
  46161. #: guix-git/doc/guix.texi:31157
  46162. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  46163. msgstr ""
  46164. #. type: example
  46165. #: guix-git/doc/guix.texi:31164
  46166. #, no-wrap
  46167. msgid ""
  46168. "qemu-system-x86_64 \\\n"
  46169. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  46170. "\t-device virtio-serial \\\n"
  46171. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  46172. "\t...\n"
  46173. msgstr ""
  46174. #. type: Plain text
  46175. #: guix-git/doc/guix.texi:31168
  46176. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  46177. msgstr ""
  46178. #. type: example
  46179. #: guix-git/doc/guix.texi:31173
  46180. #, no-wrap
  46181. msgid ""
  46182. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  46183. "@{\"execute\": \"guest-get-host-name\"@}\n"
  46184. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  46185. msgstr ""
  46186. #. type: Plain text
  46187. #: guix-git/doc/guix.texi:31177
  46188. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  46189. msgstr ""
  46190. #. type: defvr
  46191. #: guix-git/doc/guix.texi:31178
  46192. #, no-wrap
  46193. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  46194. msgstr ""
  46195. #. type: defvr
  46196. #: guix-git/doc/guix.texi:31180
  46197. msgid "Service type for the QEMU guest agent service."
  46198. msgstr ""
  46199. #. type: deftp
  46200. #: guix-git/doc/guix.texi:31182
  46201. #, no-wrap
  46202. msgid "{Data Type} qemu-guest-agent-configuration"
  46203. msgstr "{Druh údajov} qemu-guest-agent-configuration"
  46204. #. type: deftp
  46205. #: guix-git/doc/guix.texi:31184
  46206. msgid "Configuration for the @code{qemu-guest-agent} service."
  46207. msgstr ""
  46208. #. type: item
  46209. #: guix-git/doc/guix.texi:31186 guix-git/doc/guix.texi:31268
  46210. #, no-wrap
  46211. msgid "@code{qemu} (default: @code{qemu-minimal})"
  46212. msgstr ""
  46213. #. type: item
  46214. #: guix-git/doc/guix.texi:31189
  46215. #, no-wrap
  46216. msgid "@code{device} (default: @code{\"\"})"
  46217. msgstr ""
  46218. #. type: table
  46219. #: guix-git/doc/guix.texi:31192
  46220. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  46221. msgstr ""
  46222. #. type: subsubheading
  46223. #: guix-git/doc/guix.texi:31196
  46224. #, no-wrap
  46225. msgid "The Hurd in a Virtual Machine"
  46226. msgstr ""
  46227. #. type: cindex
  46228. #: guix-git/doc/guix.texi:31199
  46229. #, no-wrap
  46230. msgid "the Hurd"
  46231. msgstr ""
  46232. #. type: cindex
  46233. #: guix-git/doc/guix.texi:31200
  46234. #, no-wrap
  46235. msgid "childhurd"
  46236. msgstr ""
  46237. #. type: Plain text
  46238. #: guix-git/doc/guix.texi:31208
  46239. msgid "Service @code{hurd-vm} provides support for running GNU/Hurd in a virtual machine (VM), a so-called @dfn{childhurd}. This service is meant to be used on GNU/Linux and the given GNU/Hurd operating system configuration is cross-compiled. The virtual machine is a Shepherd service that can be referred to by the names @code{hurd-vm} and @code{childhurd} and be controlled with commands such as:"
  46240. msgstr ""
  46241. #. type: example
  46242. #: guix-git/doc/guix.texi:31212
  46243. #, no-wrap
  46244. msgid ""
  46245. "herd start hurd-vm\n"
  46246. "herd stop childhurd\n"
  46247. msgstr ""
  46248. #. type: Plain text
  46249. #: guix-git/doc/guix.texi:31216
  46250. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  46251. msgstr ""
  46252. #. type: example
  46253. #: guix-git/doc/guix.texi:31219
  46254. #, no-wrap
  46255. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  46256. msgstr ""
  46257. #. type: Plain text
  46258. #: guix-git/doc/guix.texi:31225
  46259. msgid "The default configuration (see @code{hurd-vm-configuration} below) spawns a secure shell (SSH) server in your GNU/Hurd system, which QEMU (the virtual machine emulator) redirects to port 10222 on the host. Thus, you can connect over SSH to the childhurd with:"
  46260. msgstr ""
  46261. #. type: example
  46262. #: guix-git/doc/guix.texi:31228
  46263. #, no-wrap
  46264. msgid "ssh root@@localhost -p 10022\n"
  46265. msgstr ""
  46266. #. type: Plain text
  46267. #: guix-git/doc/guix.texi:31237
  46268. msgid "The childhurd is volatile and stateless: it starts with a fresh root file system every time you restart it. By default though, all the files under @file{/etc/childhurd} on the host are copied as is to the root file system of the childhurd when it boots. This allows you to initialize ``secrets'' inside the VM: SSH host keys, authorized substitute keys, and so on---see the explanation of @code{secret-root} below."
  46269. msgstr ""
  46270. #. type: defvr
  46271. #: guix-git/doc/guix.texi:31238
  46272. #, no-wrap
  46273. msgid "{Scheme Variable} hurd-vm-service-type"
  46274. msgstr ""
  46275. #. type: defvr
  46276. #: guix-git/doc/guix.texi:31244
  46277. msgid "This is the type of the Hurd in a Virtual Machine service. Its value must be a @code{hurd-vm-configuration} object, which specifies the operating system (@pxref{operating-system Reference}) and the disk size for the Hurd Virtual Machine, the QEMU package to use as well as the options for running it."
  46278. msgstr ""
  46279. #. type: defvr
  46280. #: guix-git/doc/guix.texi:31246
  46281. msgid "For example:"
  46282. msgstr ""
  46283. #. type: lisp
  46284. #: guix-git/doc/guix.texi:31252
  46285. #, no-wrap
  46286. msgid ""
  46287. "(service hurd-vm-service-type\n"
  46288. " (hurd-vm-configuration\n"
  46289. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  46290. " (memory-size 1024))) ;1024MiB\n"
  46291. msgstr ""
  46292. #. type: defvr
  46293. #: guix-git/doc/guix.texi:31256
  46294. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  46295. msgstr ""
  46296. #. type: deftp
  46297. #: guix-git/doc/guix.texi:31258
  46298. #, no-wrap
  46299. msgid "{Data Type} hurd-vm-configuration"
  46300. msgstr ""
  46301. #. type: deftp
  46302. #: guix-git/doc/guix.texi:31261
  46303. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  46304. msgstr ""
  46305. #. type: item
  46306. #: guix-git/doc/guix.texi:31263
  46307. #, no-wrap
  46308. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  46309. msgstr ""
  46310. #. type: table
  46311. #: guix-git/doc/guix.texi:31267
  46312. msgid "The operating system to instantiate. This default is bare-bones with a permissive OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}})."
  46313. msgstr ""
  46314. #. type: item
  46315. #: guix-git/doc/guix.texi:31271
  46316. #, no-wrap
  46317. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  46318. msgstr ""
  46319. #. type: table
  46320. #: guix-git/doc/guix.texi:31274
  46321. msgid "The procedure used to build the disk-image built from this configuration."
  46322. msgstr ""
  46323. #. type: item
  46324. #: guix-git/doc/guix.texi:31275
  46325. #, no-wrap
  46326. msgid "@code{disk-size} (default: @code{'guess})"
  46327. msgstr ""
  46328. #. type: table
  46329. #: guix-git/doc/guix.texi:31277
  46330. msgid "The size of the disk image."
  46331. msgstr ""
  46332. #. type: item
  46333. #: guix-git/doc/guix.texi:31278
  46334. #, no-wrap
  46335. msgid "@code{memory-size} (default: @code{512})"
  46336. msgstr ""
  46337. #. type: table
  46338. #: guix-git/doc/guix.texi:31280
  46339. msgid "The memory size of the Virtual Machine in mebibytes."
  46340. msgstr ""
  46341. #. type: item
  46342. #: guix-git/doc/guix.texi:31281
  46343. #, no-wrap
  46344. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  46345. msgstr ""
  46346. #. type: table
  46347. #: guix-git/doc/guix.texi:31283
  46348. msgid "The extra options for running QEMU."
  46349. msgstr ""
  46350. #. type: table
  46351. #: guix-git/doc/guix.texi:31288
  46352. msgid "If set, a non-zero positive integer used to parameterize Childhurd instances. It is appended to the service's name, e.g. @code{childhurd1}."
  46353. msgstr ""
  46354. #. type: item
  46355. #: guix-git/doc/guix.texi:31289
  46356. #, no-wrap
  46357. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  46358. msgstr ""
  46359. #. type: table
  46360. #: guix-git/doc/guix.texi:31291
  46361. msgid "The procedure used to produce the list of QEMU networking options."
  46362. msgstr ""
  46363. #. type: table
  46364. #: guix-git/doc/guix.texi:31293
  46365. msgid "By default, it produces"
  46366. msgstr ""
  46367. #. type: lisp
  46368. #: guix-git/doc/guix.texi:31301
  46369. #, no-wrap
  46370. msgid ""
  46371. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  46372. " \"--netdev\" (string-append\n"
  46373. " \"user,id=net0,\"\n"
  46374. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  46375. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  46376. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  46377. msgstr ""
  46378. #. type: table
  46379. #: guix-git/doc/guix.texi:31304
  46380. msgid "with forwarded ports:"
  46381. msgstr ""
  46382. #. type: example
  46383. #: guix-git/doc/guix.texi:31309
  46384. #, no-wrap
  46385. msgid ""
  46386. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  46387. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  46388. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  46389. msgstr ""
  46390. #. type: item
  46391. #: guix-git/doc/guix.texi:31311
  46392. #, no-wrap
  46393. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  46394. msgstr ""
  46395. #. type: table
  46396. #: guix-git/doc/guix.texi:31316
  46397. msgid "The root directory with out-of-band secrets to be installed into the childhurd once it runs. Childhurds are volatile which means that on every startup, secrets such as the SSH host keys and Guix signing key are recreated."
  46398. msgstr ""
  46399. #. type: table
  46400. #: guix-git/doc/guix.texi:31320
  46401. msgid "If the @file{/etc/childhurd} directory does not exist, the @code{secret-service} running in the Childhurd will be sent an empty list of secrets."
  46402. msgstr ""
  46403. #. type: table
  46404. #: guix-git/doc/guix.texi:31323
  46405. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  46406. msgstr ""
  46407. #. type: example
  46408. #: guix-git/doc/guix.texi:31332
  46409. #, no-wrap
  46410. msgid ""
  46411. "/etc/childhurd/etc/guix/acl\n"
  46412. "/etc/childhurd/etc/guix/signing-key.pub\n"
  46413. "/etc/childhurd/etc/guix/signing-key.sec\n"
  46414. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  46415. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  46416. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  46417. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  46418. msgstr ""
  46419. #. type: table
  46420. #: guix-git/doc/guix.texi:31336
  46421. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  46422. msgstr ""
  46423. #. type: cindex
  46424. #: guix-git/doc/guix.texi:31337
  46425. #, no-wrap
  46426. msgid "childhurd, offloading"
  46427. msgstr ""
  46428. #. type: cindex
  46429. #: guix-git/doc/guix.texi:31338
  46430. #, no-wrap
  46431. msgid "Hurd, offloading"
  46432. msgstr ""
  46433. #. type: table
  46434. #: guix-git/doc/guix.texi:31342
  46435. msgid "Having these files in place means that only a couple of things are missing to allow the host to offload @code{i586-gnu} builds to the childhurd:"
  46436. msgstr ""
  46437. #. type: enumerate
  46438. #: guix-git/doc/guix.texi:31347
  46439. msgid "Authorizing the childhurd's key on the host so that the host accepts build results coming from the childhurd, which can be done like so:"
  46440. msgstr ""
  46441. #. type: example
  46442. #: guix-git/doc/guix.texi:31351
  46443. #, no-wrap
  46444. msgid ""
  46445. "guix archive --authorize < \\\n"
  46446. " /etc/childhurd/etc/guix/signing-key.pub\n"
  46447. msgstr ""
  46448. #. type: enumerate
  46449. #: guix-git/doc/guix.texi:31356
  46450. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  46451. msgstr ""
  46452. #. type: table
  46453. #: guix-git/doc/guix.texi:31360
  46454. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  46455. msgstr ""
  46456. #. type: Plain text
  46457. #: guix-git/doc/guix.texi:31367
  46458. msgid "Note that by default the VM image is volatile, i.e., once stopped the contents are lost. If you want a stateful image instead, override the configuration's @code{image} and @code{options} without the @code{--snapshot} flag using something along these lines:"
  46459. msgstr ""
  46460. #. type: lisp
  46461. #: guix-git/doc/guix.texi:31373
  46462. #, no-wrap
  46463. msgid ""
  46464. "(service hurd-vm-service-type\n"
  46465. " (hurd-vm-configuration\n"
  46466. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  46467. " (options '())))\n"
  46468. msgstr ""
  46469. #. type: subsubheading
  46470. #: guix-git/doc/guix.texi:31375
  46471. #, no-wrap
  46472. msgid "Ganeti"
  46473. msgstr ""
  46474. #. type: cindex
  46475. #: guix-git/doc/guix.texi:31377
  46476. #, no-wrap
  46477. msgid "ganeti"
  46478. msgstr ""
  46479. #. type: quotation
  46480. #: guix-git/doc/guix.texi:31384
  46481. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested. Users of this service are encouraged to share their experience at @email{guix-devel@@gnu.org}."
  46482. msgstr ""
  46483. #. type: Plain text
  46484. #: guix-git/doc/guix.texi:31394
  46485. msgid "Ganeti is a virtual machine management system. It is designed to keep virtual machines running on a cluster of servers even in the event of hardware failures, and to make maintenance and recovery tasks easy. It consists of multiple services which are described later in this section. In addition to the Ganeti service, you will need the OpenSSH service (@pxref{Networking Services, @code{openssh-service-type}}), and update the @file{/etc/hosts} file (@pxref{operating-system Reference, @code{hosts-file}}) with the cluster name and address (or use a DNS server)."
  46486. msgstr ""
  46487. #. type: Plain text
  46488. #: guix-git/doc/guix.texi:31399
  46489. msgid "All nodes participating in a Ganeti cluster should have the same Ganeti and @file{/etc/hosts} configuration. Here is an example configuration for a Ganeti cluster node that supports multiple storage backends, and installs the @code{debootstrap} and @code{guix} @dfn{OS providers}:"
  46490. msgstr ""
  46491. #. type: lisp
  46492. #: guix-git/doc/guix.texi:31409
  46493. #, no-wrap
  46494. msgid ""
  46495. "(use-package-modules virtualization)\n"
  46496. "(use-service-modules base ganeti networking ssh)\n"
  46497. "(operating-system\n"
  46498. " ;; @dots{}\n"
  46499. " (host-name \"node1\")\n"
  46500. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  46501. "127.0.0.1 localhost\n"
  46502. "::1 localhost\n"
  46503. "\n"
  46504. msgstr ""
  46505. #. type: lisp
  46506. #: guix-git/doc/guix.texi:31414
  46507. #, no-wrap
  46508. msgid ""
  46509. "192.168.1.200 ganeti.example.com\n"
  46510. "192.168.1.201 node1.example.com node1\n"
  46511. "192.168.1.202 node2.example.com node2\n"
  46512. "\")))\n"
  46513. "\n"
  46514. msgstr ""
  46515. #. type: lisp
  46516. #: guix-git/doc/guix.texi:31435
  46517. #, no-wrap
  46518. msgid ""
  46519. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  46520. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  46521. " (packages (append (map specification->package\n"
  46522. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  46523. " ;; Add the debootstrap and guix OS providers.\n"
  46524. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  46525. " %base-packages))\n"
  46526. " (services\n"
  46527. " (append (list (service static-networking-service-type\n"
  46528. " (list (static-networking\n"
  46529. " (addresses\n"
  46530. " (list (network-address\n"
  46531. " (device \"eth0\")\n"
  46532. " (value \"192.168.1.201/24\"))))\n"
  46533. " (routes\n"
  46534. " (list (network-route\n"
  46535. " (destination \"default\")\n"
  46536. " (gateway \"192.168.1.254\"))))\n"
  46537. " (name-servers '(\"192.168.1.252\"\n"
  46538. " \"192.168.1.253\")))))\n"
  46539. "\n"
  46540. msgstr ""
  46541. #. type: lisp
  46542. #: guix-git/doc/guix.texi:31440
  46543. #, no-wrap
  46544. msgid ""
  46545. " ;; Ganeti uses SSH to communicate between nodes.\n"
  46546. " (service openssh-service-type\n"
  46547. " (openssh-configuration\n"
  46548. " (permit-root-login 'prohibit-password)))\n"
  46549. "\n"
  46550. msgstr ""
  46551. #. type: lisp
  46552. #: guix-git/doc/guix.texi:31450
  46553. #, no-wrap
  46554. msgid ""
  46555. " (service ganeti-service-type\n"
  46556. " (ganeti-configuration\n"
  46557. " ;; This list specifies allowed file system paths\n"
  46558. " ;; for storing virtual machine images.\n"
  46559. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  46560. " ;; This variable configures a single \"variant\" for\n"
  46561. " ;; both Debootstrap and Guix that works with KVM.\n"
  46562. " (os %default-ganeti-os))))\n"
  46563. " %base-services)))\n"
  46564. msgstr ""
  46565. #. type: Plain text
  46566. #: guix-git/doc/guix.texi:31458
  46567. msgid "Users are advised to read the @url{http://docs.ganeti.org/ganeti/master/html/admin.html,Ganeti administrators guide} to learn about the various cluster options and day-to-day operations. There is also a @url{https://guix.gnu.org/blog/2020/running-a-ganeti-cluster-on-guix/,blog post} describing how to configure and initialize a small cluster."
  46568. msgstr ""
  46569. #. type: defvr
  46570. #: guix-git/doc/guix.texi:31459
  46571. #, no-wrap
  46572. msgid "{Scheme Variable} ganeti-service-type"
  46573. msgstr ""
  46574. #. type: defvr
  46575. #: guix-git/doc/guix.texi:31462
  46576. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  46577. msgstr ""
  46578. #. type: defvr
  46579. #: guix-git/doc/guix.texi:31467
  46580. msgid "Its value is a @code{ganeti-configuration} object that defines the package to use for CLI operations, as well as configuration for the various daemons. Allowed file storage paths and available guest operating systems are also configured through this data type."
  46581. msgstr ""
  46582. #. type: deftp
  46583. #: guix-git/doc/guix.texi:31469
  46584. #, no-wrap
  46585. msgid "{Data Type} ganeti-configuration"
  46586. msgstr ""
  46587. #. type: deftp
  46588. #: guix-git/doc/guix.texi:31471
  46589. msgid "The @code{ganeti} service takes the following configuration options:"
  46590. msgstr ""
  46591. #. type: item
  46592. #: guix-git/doc/guix.texi:31473 guix-git/doc/guix.texi:31701
  46593. #: guix-git/doc/guix.texi:31751 guix-git/doc/guix.texi:31781
  46594. #: guix-git/doc/guix.texi:31808 guix-git/doc/guix.texi:31840
  46595. #: guix-git/doc/guix.texi:31893 guix-git/doc/guix.texi:31913
  46596. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31972
  46597. #: guix-git/doc/guix.texi:32012
  46598. #, no-wrap
  46599. msgid "@code{ganeti} (default: @code{ganeti})"
  46600. msgstr ""
  46601. #. type: table
  46602. #: guix-git/doc/guix.texi:31478
  46603. msgid "The @code{ganeti} package to use. It will be installed to the system profile and make @command{gnt-cluster}, @command{gnt-instance}, etc available. Note that the value specified here does not affect the other services as each refer to a specific @code{ganeti} package (see below)."
  46604. msgstr ""
  46605. #. type: item
  46606. #: guix-git/doc/guix.texi:31479
  46607. #, no-wrap
  46608. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  46609. msgstr ""
  46610. #. type: itemx
  46611. #: guix-git/doc/guix.texi:31480
  46612. #, no-wrap
  46613. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  46614. msgstr ""
  46615. #. type: itemx
  46616. #: guix-git/doc/guix.texi:31481
  46617. #, no-wrap
  46618. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  46619. msgstr ""
  46620. #. type: itemx
  46621. #: guix-git/doc/guix.texi:31482
  46622. #, no-wrap
  46623. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  46624. msgstr ""
  46625. #. type: itemx
  46626. #: guix-git/doc/guix.texi:31483
  46627. #, no-wrap
  46628. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  46629. msgstr ""
  46630. #. type: itemx
  46631. #: guix-git/doc/guix.texi:31484
  46632. #, no-wrap
  46633. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  46634. msgstr ""
  46635. #. type: itemx
  46636. #: guix-git/doc/guix.texi:31485
  46637. #, no-wrap
  46638. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  46639. msgstr ""
  46640. #. type: itemx
  46641. #: guix-git/doc/guix.texi:31486
  46642. #, no-wrap
  46643. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  46644. msgstr ""
  46645. #. type: itemx
  46646. #: guix-git/doc/guix.texi:31487
  46647. #, no-wrap
  46648. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  46649. msgstr ""
  46650. #. type: itemx
  46651. #: guix-git/doc/guix.texi:31488
  46652. #, no-wrap
  46653. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  46654. msgstr ""
  46655. #. type: table
  46656. #: guix-git/doc/guix.texi:31493
  46657. msgid "These options control the various daemons and cron jobs that are distributed with Ganeti. The possible values for these are described in detail below. To override a setting, you must use the configuration type for that service:"
  46658. msgstr ""
  46659. #. type: lisp
  46660. #: guix-git/doc/guix.texi:31503
  46661. #, no-wrap
  46662. msgid ""
  46663. "(service ganeti-service-type\n"
  46664. " (ganeti-configuration\n"
  46665. " (rapi-configuration\n"
  46666. " (ganeti-rapi-configuration\n"
  46667. " (interface \"eth1\"))))\n"
  46668. " (watcher-configuration\n"
  46669. " (ganeti-watcher-configuration\n"
  46670. " (rapi-ip \"10.0.0.1\"))))\n"
  46671. msgstr ""
  46672. #. type: item
  46673. #: guix-git/doc/guix.texi:31505
  46674. #, no-wrap
  46675. msgid "@code{file-storage-paths} (default: @code{'()})"
  46676. msgstr ""
  46677. #. type: table
  46678. #: guix-git/doc/guix.texi:31507
  46679. msgid "List of allowed directories for file storage backend."
  46680. msgstr ""
  46681. #. type: item
  46682. #: guix-git/doc/guix.texi:31508
  46683. #, no-wrap
  46684. msgid "@code{os} (default: @code{%default-ganeti-os})"
  46685. msgstr ""
  46686. #. type: table
  46687. #: guix-git/doc/guix.texi:31510
  46688. msgid "List of @code{<ganeti-os>} records."
  46689. msgstr ""
  46690. #. type: deftp
  46691. #: guix-git/doc/guix.texi:31514
  46692. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  46693. msgstr ""
  46694. #. type: lisp
  46695. #: guix-git/doc/guix.texi:31525
  46696. #, no-wrap
  46697. msgid ""
  46698. "(service ganeti-noded-service-type)\n"
  46699. "(service ganeti-confd-service-type)\n"
  46700. "(service ganeti-wconfd-service-type)\n"
  46701. "(service ganeti-luxid-service-type)\n"
  46702. "(service ganeti-kvmd-service-type)\n"
  46703. "(service ganeti-mond-service-type)\n"
  46704. "(service ganeti-metad-service-type)\n"
  46705. "(service ganeti-watcher-service-type)\n"
  46706. "(service ganeti-cleaner-service-type)\n"
  46707. msgstr ""
  46708. #. type: deftp
  46709. #: guix-git/doc/guix.texi:31529
  46710. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  46711. msgstr ""
  46712. #. type: deftp
  46713. #: guix-git/doc/guix.texi:31532
  46714. #, no-wrap
  46715. msgid "{Data Type} ganeti-os"
  46716. msgstr ""
  46717. #. type: deftp
  46718. #: guix-git/doc/guix.texi:31535
  46719. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  46720. msgstr ""
  46721. #. type: table
  46722. #: guix-git/doc/guix.texi:31541
  46723. msgid "The name for this OS provider. It is only used to specify where the configuration ends up. Setting it to ``debootstrap'' will create @file{/etc/ganeti/instance-debootstrap}."
  46724. msgstr ""
  46725. #. type: code{#1}
  46726. #: guix-git/doc/guix.texi:31542
  46727. #, no-wrap
  46728. msgid "extension"
  46729. msgstr "extension"
  46730. #. type: table
  46731. #: guix-git/doc/guix.texi:31545
  46732. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46733. msgstr ""
  46734. #. type: item
  46735. #: guix-git/doc/guix.texi:31546
  46736. #, no-wrap
  46737. msgid "@code{variants} (default: @code{'()})"
  46738. msgstr ""
  46739. #. type: table
  46740. #: guix-git/doc/guix.texi:31548
  46741. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46742. msgstr ""
  46743. #. type: deftp
  46744. #: guix-git/doc/guix.texi:31552
  46745. #, no-wrap
  46746. msgid "{Data Type} ganeti-os-variant"
  46747. msgstr ""
  46748. #. type: deftp
  46749. #: guix-git/doc/guix.texi:31555
  46750. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46751. msgstr ""
  46752. #. type: table
  46753. #: guix-git/doc/guix.texi:31559
  46754. msgid "The name of this variant."
  46755. msgstr ""
  46756. #. type: code{#1}
  46757. #: guix-git/doc/guix.texi:31560
  46758. #, no-wrap
  46759. msgid "configuration"
  46760. msgstr "configuration"
  46761. #. type: table
  46762. #: guix-git/doc/guix.texi:31562
  46763. msgid "A configuration file for this variant."
  46764. msgstr ""
  46765. #. type: defvr
  46766. #: guix-git/doc/guix.texi:31565
  46767. #, no-wrap
  46768. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46769. msgstr ""
  46770. #. type: defvr
  46771. #: guix-git/doc/guix.texi:31567
  46772. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46773. msgstr ""
  46774. #. type: defvr
  46775. #: guix-git/doc/guix.texi:31569
  46776. #, no-wrap
  46777. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46778. msgstr ""
  46779. #. type: defvr
  46780. #: guix-git/doc/guix.texi:31571
  46781. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46782. msgstr ""
  46783. #. type: deftp
  46784. #: guix-git/doc/guix.texi:31573
  46785. #, no-wrap
  46786. msgid "{Data Type} debootstrap-configuration"
  46787. msgstr ""
  46788. #. type: deftp
  46789. #: guix-git/doc/guix.texi:31576
  46790. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46791. msgstr ""
  46792. #. type: item
  46793. #: guix-git/doc/guix.texi:31578
  46794. #, no-wrap
  46795. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46796. msgstr ""
  46797. #. type: table
  46798. #: guix-git/doc/guix.texi:31582
  46799. msgid "When not @code{#f}, this must be a G-expression that specifies a directory with scripts that will run when the OS is installed. It can also be a list of @code{(name . file-like)} pairs. For example:"
  46800. msgstr ""
  46801. #. type: lisp
  46802. #: guix-git/doc/guix.texi:31585
  46803. #, no-wrap
  46804. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46805. msgstr ""
  46806. #. type: table
  46807. #: guix-git/doc/guix.texi:31590
  46808. msgid "That will create a directory with one executable named @code{99-hello-world} and run it every time this variant is installed. If set to @code{#f}, hooks in @file{/etc/ganeti/instance-debootstrap/hooks} will be used, if any."
  46809. msgstr ""
  46810. #. type: item
  46811. #: guix-git/doc/guix.texi:31590
  46812. #, no-wrap
  46813. msgid "@code{proxy} (default: @code{#f})"
  46814. msgstr ""
  46815. #. type: table
  46816. #: guix-git/doc/guix.texi:31592
  46817. msgid "Optional HTTP proxy to use."
  46818. msgstr ""
  46819. #. type: item
  46820. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:33785
  46821. #, no-wrap
  46822. msgid "@code{mirror} (default: @code{#f})"
  46823. msgstr ""
  46824. #. type: table
  46825. #: guix-git/doc/guix.texi:31595
  46826. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46827. msgstr ""
  46828. #. type: item
  46829. #: guix-git/doc/guix.texi:31595
  46830. #, no-wrap
  46831. msgid "@code{arch} (default: @code{#f})"
  46832. msgstr ""
  46833. #. type: table
  46834. #: guix-git/doc/guix.texi:31598
  46835. msgid "The dpkg architecture. Set to @code{armhf} to debootstrap an ARMv7 instance on an AArch64 host. Default is to use the current system architecture."
  46836. msgstr ""
  46837. #. type: item
  46838. #: guix-git/doc/guix.texi:31598
  46839. #, no-wrap
  46840. msgid "@code{suite} (default: @code{\"stable\"})"
  46841. msgstr ""
  46842. #. type: table
  46843. #: guix-git/doc/guix.texi:31601
  46844. msgid "When set, this must be a Debian distribution ``suite'' such as @code{buster} or @code{focal}. If set to @code{#f}, the default for the OS provider is used."
  46845. msgstr ""
  46846. #. type: item
  46847. #: guix-git/doc/guix.texi:31601
  46848. #, no-wrap
  46849. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46850. msgstr ""
  46851. #. type: table
  46852. #: guix-git/doc/guix.texi:31604
  46853. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46854. msgstr ""
  46855. #. type: item
  46856. #: guix-git/doc/guix.texi:31604
  46857. #, no-wrap
  46858. msgid "@code{components} (default: @code{#f})"
  46859. msgstr ""
  46860. #. type: table
  46861. #: guix-git/doc/guix.texi:31607
  46862. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46863. msgstr ""
  46864. #. type: item
  46865. #: guix-git/doc/guix.texi:31607
  46866. #, no-wrap
  46867. msgid "@code{generate-cache?} (default: @code{#t})"
  46868. msgstr ""
  46869. #. type: table
  46870. #: guix-git/doc/guix.texi:31609
  46871. msgid "Whether to automatically cache the generated debootstrap archive."
  46872. msgstr ""
  46873. #. type: item
  46874. #: guix-git/doc/guix.texi:31609
  46875. #, no-wrap
  46876. msgid "@code{clean-cache} (default: @code{14})"
  46877. msgstr ""
  46878. #. type: table
  46879. #: guix-git/doc/guix.texi:31612
  46880. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46881. msgstr ""
  46882. #. type: item
  46883. #: guix-git/doc/guix.texi:31612
  46884. #, no-wrap
  46885. msgid "@code{partition-style} (default: @code{'msdos})"
  46886. msgstr ""
  46887. #. type: table
  46888. #: guix-git/doc/guix.texi:31615
  46889. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46890. msgstr ""
  46891. #. type: item
  46892. #: guix-git/doc/guix.texi:31615
  46893. #, no-wrap
  46894. msgid "@code{partition-alignment} (default: @code{2048})"
  46895. msgstr ""
  46896. #. type: table
  46897. #: guix-git/doc/guix.texi:31617
  46898. msgid "Alignment of the partition in sectors."
  46899. msgstr ""
  46900. #. type: deffn
  46901. #: guix-git/doc/guix.texi:31620
  46902. #, no-wrap
  46903. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46904. msgstr ""
  46905. #. type: deffn
  46906. #: guix-git/doc/guix.texi:31623
  46907. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record. It takes two parameters: a name and a @code{debootstrap-configuration} object."
  46908. msgstr ""
  46909. #. type: deffn
  46910. #: guix-git/doc/guix.texi:31625
  46911. #, no-wrap
  46912. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46913. msgstr ""
  46914. #. type: deffn
  46915. #: guix-git/doc/guix.texi:31628
  46916. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46917. msgstr ""
  46918. #. type: deffn
  46919. #: guix-git/doc/guix.texi:31630
  46920. #, no-wrap
  46921. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46922. msgstr ""
  46923. #. type: deffn
  46924. #: guix-git/doc/guix.texi:31635
  46925. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record for use with the Guix OS provider. It takes a name and a G-expression that returns a ``file-like'' (@pxref{G-Expressions, file-like objects}) object containing a Guix System configuration."
  46926. msgstr ""
  46927. #. type: deffn
  46928. #: guix-git/doc/guix.texi:31637
  46929. #, no-wrap
  46930. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46931. msgstr ""
  46932. #. type: deffn
  46933. #: guix-git/doc/guix.texi:31640
  46934. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46935. msgstr ""
  46936. #. type: defvr
  46937. #: guix-git/doc/guix.texi:31642
  46938. #, no-wrap
  46939. msgid "{Scheme Variable} %default-debootstrap-variants"
  46940. msgstr ""
  46941. #. type: defvr
  46942. #: guix-git/doc/guix.texi:31646
  46943. msgid "This is a convenience variable to make the debootstrap provider work ``out of the box'' without users having to declare variants manually. It contains a single debootstrap variant with the default configuration:"
  46944. msgstr ""
  46945. #. type: lisp
  46946. #: guix-git/doc/guix.texi:31651
  46947. #, no-wrap
  46948. msgid ""
  46949. "(list (debootstrap-variant\n"
  46950. " \"default\"\n"
  46951. " (debootstrap-configuration)))\n"
  46952. msgstr ""
  46953. #. type: defvr
  46954. #: guix-git/doc/guix.texi:31654
  46955. #, no-wrap
  46956. msgid "{Scheme Variable} %default-guix-variants"
  46957. msgstr ""
  46958. #. type: defvr
  46959. #: guix-git/doc/guix.texi:31658
  46960. msgid "This is a convenience variable to make the Guix OS provider work without additional configuration. It creates a virtual machine that has an SSH server, a serial console, and authorizes the Ganeti hosts SSH keys."
  46961. msgstr ""
  46962. #. type: lisp
  46963. #: guix-git/doc/guix.texi:31664
  46964. #, no-wrap
  46965. msgid ""
  46966. "(list (guix-variant\n"
  46967. " \"default\"\n"
  46968. " (file-append ganeti-instance-guix\n"
  46969. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46970. msgstr ""
  46971. #. type: Plain text
  46972. #: guix-git/doc/guix.texi:31670
  46973. msgid "Users can implement support for OS providers unbeknownst to Guix by extending the @code{ganeti-os} and @code{ganeti-os-variant} records appropriately. For example:"
  46974. msgstr ""
  46975. #. type: lisp
  46976. #: guix-git/doc/guix.texi:31679
  46977. #, no-wrap
  46978. msgid ""
  46979. "(ganeti-os\n"
  46980. " (name \"custom\")\n"
  46981. " (extension \".conf\")\n"
  46982. " (variants\n"
  46983. " (list (ganeti-os-variant\n"
  46984. " (name \"foo\")\n"
  46985. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46986. msgstr ""
  46987. #. type: Plain text
  46988. #: guix-git/doc/guix.texi:31684
  46989. msgid "That creates @file{/etc/ganeti/instance-custom/variants/foo.conf} which points to a file in the store with contents @code{this is fine}. It also creates @file{/etc/ganeti/instance-custom/variants/variants.list} with contents @code{foo}."
  46990. msgstr ""
  46991. #. type: Plain text
  46992. #: guix-git/doc/guix.texi:31687
  46993. msgid "Obviously this may not work for all OS providers out there. If you find the interface limiting, please reach out to @email{guix-devel@@gnu.org}."
  46994. msgstr ""
  46995. #. type: Plain text
  46996. #: guix-git/doc/guix.texi:31690
  46997. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46998. msgstr ""
  46999. #. type: defvr
  47000. #: guix-git/doc/guix.texi:31691
  47001. #, no-wrap
  47002. msgid "{Scheme Variable} ganeti-noded-service-type"
  47003. msgstr ""
  47004. #. type: defvr
  47005. #: guix-git/doc/guix.texi:31695
  47006. msgid "@command{ganeti-noded} is the daemon responsible for node-specific functions within the Ganeti system. The value of this service must be a @code{ganeti-noded-configuration} object."
  47007. msgstr ""
  47008. #. type: deftp
  47009. #: guix-git/doc/guix.texi:31697
  47010. #, no-wrap
  47011. msgid "{Data Type} ganeti-noded-configuration"
  47012. msgstr ""
  47013. #. type: deftp
  47014. #: guix-git/doc/guix.texi:31699
  47015. msgid "This is the configuration for the @code{ganeti-noded} service."
  47016. msgstr ""
  47017. #. type: table
  47018. #: guix-git/doc/guix.texi:31703 guix-git/doc/guix.texi:31753
  47019. #: guix-git/doc/guix.texi:31783 guix-git/doc/guix.texi:31810
  47020. #: guix-git/doc/guix.texi:31842 guix-git/doc/guix.texi:31895
  47021. #: guix-git/doc/guix.texi:31915 guix-git/doc/guix.texi:31941
  47022. #: guix-git/doc/guix.texi:31974
  47023. msgid "The @code{ganeti} package to use for this service."
  47024. msgstr ""
  47025. #. type: item
  47026. #: guix-git/doc/guix.texi:31704
  47027. #, no-wrap
  47028. msgid "@code{port} (default: @code{1811})"
  47029. msgstr ""
  47030. #. type: table
  47031. #: guix-git/doc/guix.texi:31706
  47032. msgid "The TCP port on which the node daemon listens for network requests."
  47033. msgstr ""
  47034. #. type: item
  47035. #: guix-git/doc/guix.texi:31707 guix-git/doc/guix.texi:31757
  47036. #: guix-git/doc/guix.texi:31849 guix-git/doc/guix.texi:31919
  47037. #, no-wrap
  47038. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  47039. msgstr ""
  47040. #. type: table
  47041. #: guix-git/doc/guix.texi:31710
  47042. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  47043. msgstr ""
  47044. #. type: table
  47045. #: guix-git/doc/guix.texi:31714
  47046. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  47047. msgstr ""
  47048. #. type: item
  47049. #: guix-git/doc/guix.texi:31715 guix-git/doc/guix.texi:31857
  47050. #, no-wrap
  47051. msgid "@code{max-clients} (default: @code{20})"
  47052. msgstr ""
  47053. #. type: table
  47054. #: guix-git/doc/guix.texi:31719
  47055. msgid "This sets a limit on the maximum number of simultaneous client connections that the daemon will handle. Connections above this count are accepted, but no responses will be sent until enough connections have closed."
  47056. msgstr ""
  47057. #. type: item
  47058. #: guix-git/doc/guix.texi:31720 guix-git/doc/guix.texi:31862
  47059. #, no-wrap
  47060. msgid "@code{ssl?} (default: @code{#t})"
  47061. msgstr ""
  47062. #. type: table
  47063. #: guix-git/doc/guix.texi:31724
  47064. msgid "Whether to use SSL/TLS to encrypt network communications. The certificate is automatically provisioned by the cluster and can be rotated with @command{gnt-cluster renew-crypto}."
  47065. msgstr ""
  47066. #. type: item
  47067. #: guix-git/doc/guix.texi:31725 guix-git/doc/guix.texi:31865
  47068. #, no-wrap
  47069. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47070. msgstr ""
  47071. #. type: table
  47072. #: guix-git/doc/guix.texi:31727 guix-git/doc/guix.texi:31867
  47073. msgid "This can be used to provide a specific encryption key for TLS communications."
  47074. msgstr ""
  47075. #. type: item
  47076. #: guix-git/doc/guix.texi:31728 guix-git/doc/guix.texi:31868
  47077. #, no-wrap
  47078. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47079. msgstr ""
  47080. #. type: table
  47081. #: guix-git/doc/guix.texi:31730 guix-git/doc/guix.texi:31870
  47082. msgid "This can be used to provide a specific certificate for TLS communications."
  47083. msgstr ""
  47084. #. type: table
  47085. #: guix-git/doc/guix.texi:31734 guix-git/doc/guix.texi:31874
  47086. msgid "When true, the daemon performs additional logging for debugging purposes. Note that this will leak encryption details to the log files, use with caution."
  47087. msgstr ""
  47088. #. type: defvr
  47089. #: guix-git/doc/guix.texi:31738
  47090. #, no-wrap
  47091. msgid "{Scheme Variable} ganeti-confd-service-type"
  47092. msgstr ""
  47093. #. type: defvr
  47094. #: guix-git/doc/guix.texi:31744
  47095. msgid "@command{ganeti-confd} answers queries related to the configuration of a Ganeti cluster. The purpose of this daemon is to have a highly available and fast way to query cluster configuration values. It is automatically active on all @dfn{master candidates}. The value of this service must be a @code{ganeti-confd-configuration} object."
  47096. msgstr ""
  47097. #. type: deftp
  47098. #: guix-git/doc/guix.texi:31747
  47099. #, no-wrap
  47100. msgid "{Data Type} ganeti-confd-configuration"
  47101. msgstr ""
  47102. #. type: deftp
  47103. #: guix-git/doc/guix.texi:31749
  47104. msgid "This is the configuration for the @code{ganeti-confd} service."
  47105. msgstr ""
  47106. #. type: item
  47107. #: guix-git/doc/guix.texi:31754
  47108. #, no-wrap
  47109. msgid "@code{port} (default: @code{1814})"
  47110. msgstr ""
  47111. #. type: table
  47112. #: guix-git/doc/guix.texi:31756
  47113. msgid "The UDP port on which to listen for network requests."
  47114. msgstr ""
  47115. #. type: table
  47116. #: guix-git/doc/guix.texi:31759
  47117. msgid "Network address that the daemon will bind to."
  47118. msgstr ""
  47119. #. type: table
  47120. #: guix-git/doc/guix.texi:31762 guix-git/doc/guix.texi:31791
  47121. #: guix-git/doc/guix.texi:31818 guix-git/doc/guix.texi:31898
  47122. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31951
  47123. msgid "When true, the daemon performs additional logging for debugging purposes."
  47124. msgstr ""
  47125. #. type: defvr
  47126. #: guix-git/doc/guix.texi:31766
  47127. #, no-wrap
  47128. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  47129. msgstr ""
  47130. #. type: defvr
  47131. #: guix-git/doc/guix.texi:31772
  47132. msgid "@command{ganeti-wconfd} is the daemon that has authoritative knowledge about the cluster configuration and is the only entity that can accept changes to it. All jobs that need to modify the configuration will do so by sending appropriate requests to this daemon. It only runs on the @dfn{master node} and will automatically disable itself on other nodes."
  47133. msgstr ""
  47134. #. type: defvr
  47135. #: guix-git/doc/guix.texi:31775
  47136. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  47137. msgstr ""
  47138. #. type: deftp
  47139. #: guix-git/doc/guix.texi:31777
  47140. #, no-wrap
  47141. msgid "{Data Type} ganeti-wconfd-configuration"
  47142. msgstr ""
  47143. #. type: deftp
  47144. #: guix-git/doc/guix.texi:31779
  47145. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  47146. msgstr ""
  47147. #. type: item
  47148. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31811
  47149. #, no-wrap
  47150. msgid "@code{no-voting?} (default: @code{#f})"
  47151. msgstr ""
  47152. #. type: table
  47153. #: guix-git/doc/guix.texi:31788
  47154. msgid "The daemon will refuse to start if the majority of cluster nodes does not agree that it is running on the master node. Set to @code{#t} to start even if a quorum can not be reached (dangerous, use with caution)."
  47155. msgstr ""
  47156. #. type: defvr
  47157. #: guix-git/doc/guix.texi:31795
  47158. #, no-wrap
  47159. msgid "{Scheme Variable} ganeti-luxid-service-type"
  47160. msgstr ""
  47161. #. type: defvr
  47162. #: guix-git/doc/guix.texi:31800
  47163. msgid "@command{ganeti-luxid} is a daemon used to answer queries related to the configuration and the current live state of a Ganeti cluster. Additionally, it is the authoritative daemon for the Ganeti job queue. Jobs can be submitted via this daemon and it schedules and starts them."
  47164. msgstr ""
  47165. #. type: defvr
  47166. #: guix-git/doc/guix.texi:31802
  47167. msgid "It takes a @code{ganeti-luxid-configuration} object."
  47168. msgstr ""
  47169. #. type: deftp
  47170. #: guix-git/doc/guix.texi:31804
  47171. #, no-wrap
  47172. msgid "{Data Type} ganeti-luxid-configuration"
  47173. msgstr ""
  47174. #. type: deftp
  47175. #: guix-git/doc/guix.texi:31806
  47176. msgid "This is the configuration for the @code{ganeti-luxid} service."
  47177. msgstr ""
  47178. #. type: table
  47179. #: guix-git/doc/guix.texi:31815
  47180. msgid "The daemon will refuse to start if it cannot verify that the majority of cluster nodes believes that it is running on the master node. Set to @code{#t} to ignore such checks and start anyway (this can be dangerous)."
  47181. msgstr ""
  47182. #. type: defvr
  47183. #: guix-git/doc/guix.texi:31822
  47184. #, no-wrap
  47185. msgid "{Scheme Variable} ganeti-rapi-service-type"
  47186. msgstr ""
  47187. #. type: defvr
  47188. #: guix-git/doc/guix.texi:31826
  47189. msgid "@command{ganeti-rapi} provides a remote API for Ganeti clusters. It runs on the master node and can be used to perform cluster actions programmatically via a JSON-based RPC protocol."
  47190. msgstr ""
  47191. #. type: defvr
  47192. #: guix-git/doc/guix.texi:31832
  47193. msgid "Most query operations are allowed without authentication (unless @var{require-authentication?} is set), whereas write operations require explicit authorization via the @file{/var/lib/ganeti/rapi/users} file. See the @url{http://docs.ganeti.org/ganeti/master/html/rapi.html, Ganeti Remote API documentation} for more information."
  47194. msgstr ""
  47195. #. type: defvr
  47196. #: guix-git/doc/guix.texi:31834
  47197. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  47198. msgstr ""
  47199. #. type: deftp
  47200. #: guix-git/doc/guix.texi:31836
  47201. #, no-wrap
  47202. msgid "{Data Type} ganeti-rapi-configuration"
  47203. msgstr ""
  47204. #. type: deftp
  47205. #: guix-git/doc/guix.texi:31838
  47206. msgid "This is the configuration for the @code{ganeti-rapi} service."
  47207. msgstr ""
  47208. #. type: item
  47209. #: guix-git/doc/guix.texi:31843
  47210. #, no-wrap
  47211. msgid "@code{require-authentication?} (default: @code{#f})"
  47212. msgstr ""
  47213. #. type: table
  47214. #: guix-git/doc/guix.texi:31845
  47215. msgid "Whether to require authentication even for read-only operations."
  47216. msgstr ""
  47217. #. type: item
  47218. #: guix-git/doc/guix.texi:31846
  47219. #, no-wrap
  47220. msgid "@code{port} (default: @code{5080})"
  47221. msgstr ""
  47222. #. type: table
  47223. #: guix-git/doc/guix.texi:31848
  47224. msgid "The TCP port on which to listen to API requests."
  47225. msgstr ""
  47226. #. type: table
  47227. #: guix-git/doc/guix.texi:31852
  47228. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  47229. msgstr ""
  47230. #. type: table
  47231. #: guix-git/doc/guix.texi:31856
  47232. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  47233. msgstr ""
  47234. #. type: table
  47235. #: guix-git/doc/guix.texi:31861
  47236. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  47237. msgstr ""
  47238. #. type: table
  47239. #: guix-git/doc/guix.texi:31864
  47240. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  47241. msgstr ""
  47242. #. type: defvr
  47243. #: guix-git/doc/guix.texi:31878
  47244. #, no-wrap
  47245. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  47246. msgstr ""
  47247. #. type: defvr
  47248. #: guix-git/doc/guix.texi:31886
  47249. msgid "@command{ganeti-kvmd} is responsible for determining whether a given KVM instance was shut down by an administrator or a user. Normally Ganeti will restart an instance that was not stopped through Ganeti itself. If the cluster option @code{user_shutdown} is true, this daemon monitors the @code{QMP} socket provided by QEMU and listens for shutdown events, and marks the instance as @dfn{USER_down} instead of @dfn{ERROR_down} when it shuts down gracefully by itself."
  47250. msgstr ""
  47251. #. type: defvr
  47252. #: guix-git/doc/guix.texi:31888
  47253. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  47254. msgstr ""
  47255. #. type: deftp
  47256. #: guix-git/doc/guix.texi:31890
  47257. #, no-wrap
  47258. msgid "{Data Type} ganeti-kvmd-configuration"
  47259. msgstr ""
  47260. #. type: defvr
  47261. #: guix-git/doc/guix.texi:31902
  47262. #, no-wrap
  47263. msgid "{Scheme Variable} ganeti-mond-service-type"
  47264. msgstr ""
  47265. #. type: defvr
  47266. #: guix-git/doc/guix.texi:31906
  47267. msgid "@command{ganeti-mond} is an optional daemon that provides Ganeti monitoring functionality. It is responsible for running data collectors and publish the collected information through a HTTP interface."
  47268. msgstr ""
  47269. #. type: defvr
  47270. #: guix-git/doc/guix.texi:31908
  47271. msgid "It takes a @code{ganeti-mond-configuration} object."
  47272. msgstr ""
  47273. #. type: deftp
  47274. #: guix-git/doc/guix.texi:31910
  47275. #, no-wrap
  47276. msgid "{Data Type} ganeti-mond-configuration"
  47277. msgstr ""
  47278. #. type: item
  47279. #: guix-git/doc/guix.texi:31916
  47280. #, no-wrap
  47281. msgid "@code{port} (default: @code{1815})"
  47282. msgstr ""
  47283. #. type: table
  47284. #: guix-git/doc/guix.texi:31918 guix-git/doc/guix.texi:31944
  47285. msgid "The port on which the daemon will listen."
  47286. msgstr ""
  47287. #. type: table
  47288. #: guix-git/doc/guix.texi:31922
  47289. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  47290. msgstr ""
  47291. #. type: defvr
  47292. #: guix-git/doc/guix.texi:31929
  47293. #, no-wrap
  47294. msgid "{Scheme Variable} ganeti-metad-service-type"
  47295. msgstr ""
  47296. #. type: defvr
  47297. #: guix-git/doc/guix.texi:31932
  47298. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  47299. msgstr ""
  47300. #. type: defvr
  47301. #: guix-git/doc/guix.texi:31934
  47302. msgid "It takes a @code{ganeti-metad-configuration} object."
  47303. msgstr ""
  47304. #. type: deftp
  47305. #: guix-git/doc/guix.texi:31936
  47306. #, no-wrap
  47307. msgid "{Data Type} ganeti-metad-configuration"
  47308. msgstr ""
  47309. #. type: table
  47310. #: guix-git/doc/guix.texi:31948
  47311. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  47312. msgstr ""
  47313. #. type: defvr
  47314. #: guix-git/doc/guix.texi:31955
  47315. #, no-wrap
  47316. msgid "{Scheme Variable} ganeti-watcher-service-type"
  47317. msgstr ""
  47318. #. type: defvr
  47319. #: guix-git/doc/guix.texi:31963
  47320. msgid "@command{ganeti-watcher} is a script designed to run periodically and ensure the health of a cluster. It will automatically restart instances that have stopped without Ganeti's consent, and repairs DRBD links in case a node has rebooted. It also archives old cluster jobs and restarts Ganeti daemons that are not running. If the cluster parameter @code{ensure_node_health} is set, the watcher will also shutdown instances and DRBD devices if the node it is running on is declared offline by known master candidates."
  47321. msgstr ""
  47322. #. type: defvr
  47323. #: guix-git/doc/guix.texi:31965
  47324. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  47325. msgstr ""
  47326. #. type: defvr
  47327. #: guix-git/doc/guix.texi:31967
  47328. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  47329. msgstr ""
  47330. #. type: deftp
  47331. #: guix-git/doc/guix.texi:31969
  47332. #, no-wrap
  47333. msgid "{Data Type} ganeti-watcher-configuration"
  47334. msgstr ""
  47335. #. type: item
  47336. #: guix-git/doc/guix.texi:31975
  47337. #, no-wrap
  47338. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  47339. msgstr ""
  47340. #. type: table
  47341. #: guix-git/doc/guix.texi:31977
  47342. msgid "How often to run the script. The default is every five minutes."
  47343. msgstr ""
  47344. #. type: item
  47345. #: guix-git/doc/guix.texi:31978
  47346. #, no-wrap
  47347. msgid "@code{rapi-ip} (default: @code{#f})"
  47348. msgstr ""
  47349. #. type: table
  47350. #: guix-git/doc/guix.texi:31981
  47351. msgid "This option needs to be specified only if the RAPI daemon is configured to use a particular interface or address. By default the cluster address is used."
  47352. msgstr ""
  47353. #. type: item
  47354. #: guix-git/doc/guix.texi:31982
  47355. #, no-wrap
  47356. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  47357. msgstr ""
  47358. #. type: table
  47359. #: guix-git/doc/guix.texi:31985
  47360. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  47361. msgstr ""
  47362. #. type: item
  47363. #: guix-git/doc/guix.texi:31986
  47364. #, no-wrap
  47365. msgid "@code{verify-disks?} (default: @code{#t})"
  47366. msgstr ""
  47367. #. type: table
  47368. #: guix-git/doc/guix.texi:31990
  47369. msgid "If this is @code{#f}, the watcher will not try to repair broken DRBD links automatically. Administrators will need to use @command{gnt-cluster verify-disks} manually instead."
  47370. msgstr ""
  47371. #. type: table
  47372. #: guix-git/doc/guix.texi:31993
  47373. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  47374. msgstr ""
  47375. #. type: defvr
  47376. #: guix-git/doc/guix.texi:31997
  47377. #, no-wrap
  47378. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  47379. msgstr ""
  47380. #. type: defvr
  47381. #: guix-git/doc/guix.texi:32005
  47382. msgid "@command{ganeti-cleaner} is a script designed to run periodically and remove old files from the cluster. This service type controls two @dfn{cron jobs}: one intended for the master node that permanently purges old cluster jobs, and one intended for every node that removes expired X509 certificates, keys, and outdated @command{ganeti-watcher} information. Like all Ganeti services, it is safe to include even on non-master nodes as it will disable itself as necessary."
  47383. msgstr ""
  47384. #. type: defvr
  47385. #: guix-git/doc/guix.texi:32007
  47386. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  47387. msgstr ""
  47388. #. type: deftp
  47389. #: guix-git/doc/guix.texi:32009
  47390. #, no-wrap
  47391. msgid "{Data Type} ganeti-cleaner-configuration"
  47392. msgstr ""
  47393. #. type: table
  47394. #: guix-git/doc/guix.texi:32014
  47395. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  47396. msgstr ""
  47397. #. type: item
  47398. #: guix-git/doc/guix.texi:32015
  47399. #, no-wrap
  47400. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  47401. msgstr ""
  47402. #. type: table
  47403. #: guix-git/doc/guix.texi:32018
  47404. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  47405. msgstr ""
  47406. #. type: item
  47407. #: guix-git/doc/guix.texi:32019
  47408. #, no-wrap
  47409. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  47410. msgstr ""
  47411. #. type: table
  47412. #: guix-git/doc/guix.texi:32022
  47413. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  47414. msgstr ""
  47415. #. type: Plain text
  47416. #: guix-git/doc/guix.texi:32036
  47417. msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}."
  47418. msgstr ""
  47419. #. type: deffn
  47420. #: guix-git/doc/guix.texi:32037
  47421. #, no-wrap
  47422. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  47423. msgstr ""
  47424. #. type: deffn
  47425. #: guix-git/doc/guix.texi:32041
  47426. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  47427. msgstr ""
  47428. #. type: deffn
  47429. #: guix-git/doc/guix.texi:32047
  47430. msgid "The optional @var{config} argument should be a @code{<git-daemon-configuration>} object, by default it allows read-only access to exported@footnote{By creating the magic file @file{git-daemon-export-ok} in the repository directory.} repositories under @file{/srv/git}."
  47431. msgstr ""
  47432. #. type: deftp
  47433. #: guix-git/doc/guix.texi:32050
  47434. #, no-wrap
  47435. msgid "{Data Type} git-daemon-configuration"
  47436. msgstr ""
  47437. #. type: deftp
  47438. #: guix-git/doc/guix.texi:32052
  47439. msgid "Data type representing the configuration for @code{git-daemon-service}."
  47440. msgstr ""
  47441. #. type: item
  47442. #: guix-git/doc/guix.texi:32054
  47443. #, no-wrap
  47444. msgid "@code{package} (default: @code{git})"
  47445. msgstr ""
  47446. #. type: table
  47447. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32116
  47448. msgid "Package object of the Git distributed version control system."
  47449. msgstr ""
  47450. #. type: item
  47451. #: guix-git/doc/guix.texi:32057 guix-git/doc/guix.texi:32120
  47452. #, no-wrap
  47453. msgid "@code{export-all?} (default: @code{#f})"
  47454. msgstr ""
  47455. #. type: table
  47456. #: guix-git/doc/guix.texi:32060
  47457. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  47458. msgstr ""
  47459. #. type: item
  47460. #: guix-git/doc/guix.texi:32061
  47461. #, no-wrap
  47462. msgid "@code{base-path} (default: @file{/srv/git})"
  47463. msgstr ""
  47464. #. type: table
  47465. #: guix-git/doc/guix.texi:32067
  47466. msgid "Whether to remap all the path requests as relative to the given path. If you run @command{git daemon} with @code{(base-path \"/srv/git\")} on @samp{example.com}, then if you later try to pull @indicateurl{git://example.com/hello.git}, git daemon will interpret the path as @file{/srv/git/hello.git}."
  47467. msgstr ""
  47468. #. type: item
  47469. #: guix-git/doc/guix.texi:32068
  47470. #, no-wrap
  47471. msgid "@code{user-path} (default: @code{#f})"
  47472. msgstr ""
  47473. #. type: table
  47474. #: guix-git/doc/guix.texi:32076
  47475. msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @indicateurl{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @code{(user-path \"@var{path}\")} is specified, the same request is taken as a request to access @file{@var{path}/foo} repository in the home directory of user @code{alice}."
  47476. msgstr ""
  47477. #. type: item
  47478. #: guix-git/doc/guix.texi:32077
  47479. #, no-wrap
  47480. msgid "@code{listen} (default: @code{'()})"
  47481. msgstr ""
  47482. #. type: table
  47483. #: guix-git/doc/guix.texi:32080
  47484. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  47485. msgstr ""
  47486. #. type: item
  47487. #: guix-git/doc/guix.texi:32081
  47488. #, no-wrap
  47489. msgid "@code{port} (default: @code{#f})"
  47490. msgstr ""
  47491. #. type: table
  47492. #: guix-git/doc/guix.texi:32083
  47493. msgid "Whether to listen on an alternative port, which defaults to 9418."
  47494. msgstr ""
  47495. #. type: item
  47496. #: guix-git/doc/guix.texi:32084
  47497. #, no-wrap
  47498. msgid "@code{whitelist} (default: @code{'()})"
  47499. msgstr ""
  47500. #. type: table
  47501. #: guix-git/doc/guix.texi:32086
  47502. msgid "If not empty, only allow access to this list of directories."
  47503. msgstr ""
  47504. #. type: table
  47505. #: guix-git/doc/guix.texi:32090
  47506. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  47507. msgstr ""
  47508. #. type: Plain text
  47509. #: guix-git/doc/guix.texi:32104
  47510. msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know whether the data you receive was modified or is even coming from the specified host, and your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon."
  47511. msgstr ""
  47512. #. type: Plain text
  47513. #: guix-git/doc/guix.texi:32107
  47514. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  47515. msgstr ""
  47516. #. type: deftp
  47517. #: guix-git/doc/guix.texi:32108
  47518. #, no-wrap
  47519. msgid "{Data Type} git-http-configuration"
  47520. msgstr ""
  47521. #. type: deftp
  47522. #: guix-git/doc/guix.texi:32112
  47523. msgid "Data type representing the configuration for a future @code{git-http-service-type}; can currently be used to configure Nginx through @code{git-http-nginx-location-configuration}."
  47524. msgstr ""
  47525. #. type: item
  47526. #: guix-git/doc/guix.texi:32114
  47527. #, no-wrap
  47528. msgid "@code{package} (default: @var{git})"
  47529. msgstr ""
  47530. #. type: item
  47531. #: guix-git/doc/guix.texi:32117
  47532. #, no-wrap
  47533. msgid "@code{git-root} (default: @file{/srv/git})"
  47534. msgstr ""
  47535. #. type: table
  47536. #: guix-git/doc/guix.texi:32119
  47537. msgid "Directory containing the Git repositories to expose to the world."
  47538. msgstr ""
  47539. #. type: table
  47540. #: guix-git/doc/guix.texi:32123
  47541. msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file."
  47542. msgstr ""
  47543. #. type: item
  47544. #: guix-git/doc/guix.texi:32124
  47545. #, no-wrap
  47546. msgid "@code{uri-path} (default: @samp{/git/})"
  47547. msgstr ""
  47548. #. type: table
  47549. #: guix-git/doc/guix.texi:32129
  47550. msgid "Path prefix for Git access. With the default @samp{/git/} prefix, this will map @indicateurl{http://@var{server}/git/@var{repo}.git} to @file{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance."
  47551. msgstr ""
  47552. #. type: item
  47553. #: guix-git/doc/guix.texi:32130
  47554. #, no-wrap
  47555. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  47556. msgstr ""
  47557. #. type: table
  47558. #: guix-git/doc/guix.texi:32133
  47559. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  47560. msgstr ""
  47561. #. type: Plain text
  47562. #: guix-git/doc/guix.texi:32140
  47563. msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server."
  47564. msgstr ""
  47565. #. type: deffn
  47566. #: guix-git/doc/guix.texi:32141
  47567. #, no-wrap
  47568. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  47569. msgstr ""
  47570. #. type: deffn
  47571. #: guix-git/doc/guix.texi:32146
  47572. msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:"
  47573. msgstr ""
  47574. #. type: lisp
  47575. #: guix-git/doc/guix.texi:32163
  47576. #, no-wrap
  47577. msgid ""
  47578. "(service nginx-service-type\n"
  47579. " (nginx-configuration\n"
  47580. " (server-blocks\n"
  47581. " (list\n"
  47582. " (nginx-server-configuration\n"
  47583. " (listen '(\"443 ssl\"))\n"
  47584. " (server-name \"git.my-host.org\")\n"
  47585. " (ssl-certificate\n"
  47586. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  47587. " (ssl-certificate-key\n"
  47588. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  47589. " (locations\n"
  47590. " (list\n"
  47591. " (git-http-nginx-location-configuration\n"
  47592. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  47593. msgstr ""
  47594. #. type: deffn
  47595. #: guix-git/doc/guix.texi:32170
  47596. msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS@. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}."
  47597. msgstr ""
  47598. #. type: subsubheading
  47599. #: guix-git/doc/guix.texi:32172
  47600. #, no-wrap
  47601. msgid "Cgit Service"
  47602. msgstr "Služba Cgit"
  47603. #. type: cindex
  47604. #: guix-git/doc/guix.texi:32174
  47605. #, no-wrap
  47606. msgid "Cgit service"
  47607. msgstr ""
  47608. #. type: cindex
  47609. #: guix-git/doc/guix.texi:32175
  47610. #, no-wrap
  47611. msgid "Git, web interface"
  47612. msgstr ""
  47613. #. type: Plain text
  47614. #: guix-git/doc/guix.texi:32178
  47615. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  47616. msgstr ""
  47617. #. type: Plain text
  47618. #: guix-git/doc/guix.texi:32181
  47619. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  47620. msgstr ""
  47621. #. type: lisp
  47622. #: guix-git/doc/guix.texi:32184
  47623. #, no-wrap
  47624. msgid "(service cgit-service-type)\n"
  47625. msgstr ""
  47626. #. type: Plain text
  47627. #: guix-git/doc/guix.texi:32188
  47628. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  47629. msgstr ""
  47630. #. type: Plain text
  47631. #: guix-git/doc/guix.texi:32192
  47632. msgid "Available @code{cgit-configuration} fields are:"
  47633. msgstr ""
  47634. #. type: deftypevr
  47635. #: guix-git/doc/guix.texi:32193
  47636. #, no-wrap
  47637. msgid "{@code{cgit-configuration} parameter} package package"
  47638. msgstr ""
  47639. #. type: deftypevr
  47640. #: guix-git/doc/guix.texi:32195
  47641. msgid "The CGIT package."
  47642. msgstr ""
  47643. #. type: deftypevr
  47644. #: guix-git/doc/guix.texi:32198
  47645. #, no-wrap
  47646. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  47647. msgstr ""
  47648. #. type: deftypevr
  47649. #: guix-git/doc/guix.texi:32200
  47650. msgid "NGINX configuration."
  47651. msgstr ""
  47652. #. type: deftypevr
  47653. #: guix-git/doc/guix.texi:32203
  47654. #, no-wrap
  47655. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  47656. msgstr ""
  47657. #. type: deftypevr
  47658. #: guix-git/doc/guix.texi:32206
  47659. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  47660. msgstr ""
  47661. #. type: deftypevr
  47662. #: guix-git/doc/guix.texi:32211
  47663. #, no-wrap
  47664. msgid "{@code{cgit-configuration} parameter} string agefile"
  47665. msgstr ""
  47666. #. type: deftypevr
  47667. #: guix-git/doc/guix.texi:32214
  47668. msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository."
  47669. msgstr ""
  47670. #. type: deftypevr
  47671. #: guix-git/doc/guix.texi:32219
  47672. #, no-wrap
  47673. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  47674. msgstr ""
  47675. #. type: deftypevr
  47676. #: guix-git/doc/guix.texi:32222
  47677. msgid "Specifies a command that will be invoked for authenticating repository access."
  47678. msgstr ""
  47679. #. type: deftypevr
  47680. #: guix-git/doc/guix.texi:32227
  47681. #, no-wrap
  47682. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  47683. msgstr ""
  47684. #. type: deftypevr
  47685. #: guix-git/doc/guix.texi:32230
  47686. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name."
  47687. msgstr ""
  47688. #. type: deftypevr
  47689. #: guix-git/doc/guix.texi:32232
  47690. msgid "Defaults to @samp{\"name\"}."
  47691. msgstr ""
  47692. #. type: deftypevr
  47693. #: guix-git/doc/guix.texi:32235
  47694. #, no-wrap
  47695. msgid "{@code{cgit-configuration} parameter} string cache-root"
  47696. msgstr ""
  47697. #. type: deftypevr
  47698. #: guix-git/doc/guix.texi:32237
  47699. msgid "Path used to store the cgit cache entries."
  47700. msgstr ""
  47701. #. type: deftypevr
  47702. #: guix-git/doc/guix.texi:32239
  47703. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  47704. msgstr ""
  47705. #. type: deftypevr
  47706. #: guix-git/doc/guix.texi:32242
  47707. #, no-wrap
  47708. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  47709. msgstr ""
  47710. #. type: deftypevr
  47711. #: guix-git/doc/guix.texi:32245
  47712. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  47713. msgstr ""
  47714. #. type: deftypevr
  47715. #: guix-git/doc/guix.texi:32247 guix-git/doc/guix.texi:32690
  47716. msgid "Defaults to @samp{-1}."
  47717. msgstr ""
  47718. #. type: deftypevr
  47719. #: guix-git/doc/guix.texi:32250
  47720. #, no-wrap
  47721. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  47722. msgstr ""
  47723. #. type: deftypevr
  47724. #: guix-git/doc/guix.texi:32253
  47725. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  47726. msgstr ""
  47727. #. type: deftypevr
  47728. #: guix-git/doc/guix.texi:32258
  47729. #, no-wrap
  47730. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47731. msgstr ""
  47732. #. type: deftypevr
  47733. #: guix-git/doc/guix.texi:32261
  47734. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47735. msgstr ""
  47736. #. type: deftypevr
  47737. #: guix-git/doc/guix.texi:32266
  47738. #, no-wrap
  47739. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47740. msgstr ""
  47741. #. type: deftypevr
  47742. #: guix-git/doc/guix.texi:32269
  47743. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47744. msgstr ""
  47745. #. type: deftypevr
  47746. #: guix-git/doc/guix.texi:32274
  47747. #, no-wrap
  47748. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47749. msgstr ""
  47750. #. type: deftypevr
  47751. #: guix-git/doc/guix.texi:32277
  47752. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47753. msgstr ""
  47754. #. type: deftypevr
  47755. #: guix-git/doc/guix.texi:32282
  47756. #, no-wrap
  47757. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47758. msgstr ""
  47759. #. type: deftypevr
  47760. #: guix-git/doc/guix.texi:32285
  47761. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47762. msgstr ""
  47763. #. type: deftypevr
  47764. #: guix-git/doc/guix.texi:32290
  47765. #, no-wrap
  47766. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47767. msgstr ""
  47768. #. type: deftypevr
  47769. #: guix-git/doc/guix.texi:32293
  47770. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47771. msgstr ""
  47772. #. type: deftypevr
  47773. #: guix-git/doc/guix.texi:32298
  47774. #, no-wrap
  47775. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47776. msgstr ""
  47777. #. type: deftypevr
  47778. #: guix-git/doc/guix.texi:32301
  47779. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47780. msgstr ""
  47781. #. type: deftypevr
  47782. #: guix-git/doc/guix.texi:32306
  47783. #, no-wrap
  47784. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47785. msgstr ""
  47786. #. type: deftypevr
  47787. #: guix-git/doc/guix.texi:32308
  47788. msgid "Sort items in the repo list case sensitively."
  47789. msgstr ""
  47790. #. type: deftypevr
  47791. #: guix-git/doc/guix.texi:32313
  47792. #, no-wrap
  47793. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47794. msgstr ""
  47795. #. type: deftypevr
  47796. #: guix-git/doc/guix.texi:32316
  47797. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47798. msgstr ""
  47799. #. type: deftypevr
  47800. #: guix-git/doc/guix.texi:32321
  47801. #, no-wrap
  47802. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47803. msgstr ""
  47804. #. type: deftypevr
  47805. #: guix-git/doc/guix.texi:32323
  47806. msgid "List of @code{clone-url} templates."
  47807. msgstr ""
  47808. #. type: deftypevr
  47809. #: guix-git/doc/guix.texi:32328
  47810. #, no-wrap
  47811. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47812. msgstr ""
  47813. #. type: deftypevr
  47814. #: guix-git/doc/guix.texi:32330
  47815. msgid "Command which will be invoked to format commit messages."
  47816. msgstr ""
  47817. #. type: deftypevr
  47818. #: guix-git/doc/guix.texi:32335
  47819. #, no-wrap
  47820. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47821. msgstr ""
  47822. #. type: deftypevr
  47823. #: guix-git/doc/guix.texi:32339 guix-git/doc/guix.texi:32897
  47824. msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering."
  47825. msgstr ""
  47826. #. type: deftypevr
  47827. #: guix-git/doc/guix.texi:32341
  47828. msgid "Defaults to @samp{\"git log\"}."
  47829. msgstr ""
  47830. #. type: deftypevr
  47831. #: guix-git/doc/guix.texi:32344
  47832. #, no-wrap
  47833. msgid "{@code{cgit-configuration} parameter} file-object css"
  47834. msgstr ""
  47835. #. type: deftypevr
  47836. #: guix-git/doc/guix.texi:32346
  47837. msgid "URL which specifies the css document to include in all cgit pages."
  47838. msgstr ""
  47839. #. type: deftypevr
  47840. #: guix-git/doc/guix.texi:32348
  47841. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47842. msgstr ""
  47843. #. type: deftypevr
  47844. #: guix-git/doc/guix.texi:32351
  47845. #, no-wrap
  47846. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47847. msgstr ""
  47848. #. type: deftypevr
  47849. #: guix-git/doc/guix.texi:32355
  47850. msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface."
  47851. msgstr ""
  47852. #. type: deftypevr
  47853. #: guix-git/doc/guix.texi:32360
  47854. #, no-wrap
  47855. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47856. msgstr ""
  47857. #. type: deftypevr
  47858. #: guix-git/doc/guix.texi:32363
  47859. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47860. msgstr ""
  47861. #. type: deftypevr
  47862. #: guix-git/doc/guix.texi:32368
  47863. #, no-wrap
  47864. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47865. msgstr ""
  47866. #. type: deftypevr
  47867. #: guix-git/doc/guix.texi:32372
  47868. msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page."
  47869. msgstr ""
  47870. #. type: deftypevr
  47871. #: guix-git/doc/guix.texi:32377
  47872. #, no-wrap
  47873. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47874. msgstr ""
  47875. #. type: deftypevr
  47876. #: guix-git/doc/guix.texi:32380
  47877. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47878. msgstr ""
  47879. #. type: deftypevr
  47880. #: guix-git/doc/guix.texi:32385
  47881. #, no-wrap
  47882. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47883. msgstr ""
  47884. #. type: deftypevr
  47885. #: guix-git/doc/guix.texi:32388
  47886. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47887. msgstr ""
  47888. #. type: deftypevr
  47889. #: guix-git/doc/guix.texi:32393
  47890. #, no-wrap
  47891. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47892. msgstr ""
  47893. #. type: deftypevr
  47894. #: guix-git/doc/guix.texi:32396
  47895. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47896. msgstr ""
  47897. #. type: deftypevr
  47898. #: guix-git/doc/guix.texi:32401
  47899. #, no-wrap
  47900. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47901. msgstr ""
  47902. #. type: deftypevr
  47903. #: guix-git/doc/guix.texi:32404
  47904. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47905. msgstr ""
  47906. #. type: deftypevr
  47907. #: guix-git/doc/guix.texi:32409
  47908. #, no-wrap
  47909. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47910. msgstr ""
  47911. #. type: deftypevr
  47912. #: guix-git/doc/guix.texi:32412
  47913. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47914. msgstr ""
  47915. #. type: deftypevr
  47916. #: guix-git/doc/guix.texi:32417
  47917. #, no-wrap
  47918. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47919. msgstr ""
  47920. #. type: deftypevr
  47921. #: guix-git/doc/guix.texi:32420
  47922. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page."
  47923. msgstr ""
  47924. #. type: deftypevr
  47925. #: guix-git/doc/guix.texi:32425
  47926. #, no-wrap
  47927. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47928. msgstr ""
  47929. #. type: deftypevr
  47930. #: guix-git/doc/guix.texi:32428
  47931. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page."
  47932. msgstr ""
  47933. #. type: deftypevr
  47934. #: guix-git/doc/guix.texi:32433
  47935. #, no-wrap
  47936. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47937. msgstr ""
  47938. #. type: deftypevr
  47939. #: guix-git/doc/guix.texi:32436 guix-git/doc/guix.texi:32960
  47940. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47941. msgstr ""
  47942. #. type: deftypevr
  47943. #: guix-git/doc/guix.texi:32441
  47944. #, no-wrap
  47945. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47946. msgstr ""
  47947. #. type: deftypevr
  47948. #: guix-git/doc/guix.texi:32445
  47949. msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  47950. msgstr ""
  47951. #. type: deftypevr
  47952. #: guix-git/doc/guix.texi:32450
  47953. #, no-wrap
  47954. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47955. msgstr ""
  47956. #. type: deftypevr
  47957. #: guix-git/doc/guix.texi:32454
  47958. msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  47959. msgstr ""
  47960. #. type: deftypevr
  47961. #: guix-git/doc/guix.texi:32459
  47962. #, no-wrap
  47963. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47964. msgstr ""
  47965. #. type: deftypevr
  47966. #: guix-git/doc/guix.texi:32462
  47967. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47968. msgstr ""
  47969. #. type: deftypevr
  47970. #: guix-git/doc/guix.texi:32467
  47971. #, no-wrap
  47972. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47973. msgstr ""
  47974. #. type: deftypevr
  47975. #: guix-git/doc/guix.texi:32470
  47976. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47977. msgstr ""
  47978. #. type: deftypevr
  47979. #: guix-git/doc/guix.texi:32475
  47980. #, no-wrap
  47981. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47982. msgstr ""
  47983. #. type: deftypevr
  47984. #: guix-git/doc/guix.texi:32477
  47985. msgid "URL used as link to a shortcut icon for cgit."
  47986. msgstr ""
  47987. #. type: deftypevr
  47988. #: guix-git/doc/guix.texi:32479
  47989. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47990. msgstr ""
  47991. #. type: deftypevr
  47992. #: guix-git/doc/guix.texi:32482
  47993. #, no-wrap
  47994. msgid "{@code{cgit-configuration} parameter} string footer"
  47995. msgstr ""
  47996. #. type: deftypevr
  47997. #: guix-git/doc/guix.texi:32486
  47998. msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e.@: it replaces the standard \"generated by...\"@: message)."
  47999. msgstr ""
  48000. #. type: deftypevr
  48001. #: guix-git/doc/guix.texi:32491
  48002. #, no-wrap
  48003. msgid "{@code{cgit-configuration} parameter} string head-include"
  48004. msgstr ""
  48005. #. type: deftypevr
  48006. #: guix-git/doc/guix.texi:32494
  48007. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  48008. msgstr ""
  48009. #. type: deftypevr
  48010. #: guix-git/doc/guix.texi:32499
  48011. #, no-wrap
  48012. msgid "{@code{cgit-configuration} parameter} string header"
  48013. msgstr ""
  48014. #. type: deftypevr
  48015. #: guix-git/doc/guix.texi:32502
  48016. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  48017. msgstr ""
  48018. #. type: deftypevr
  48019. #: guix-git/doc/guix.texi:32507
  48020. #, no-wrap
  48021. msgid "{@code{cgit-configuration} parameter} file-object include"
  48022. msgstr ""
  48023. #. type: deftypevr
  48024. #: guix-git/doc/guix.texi:32510
  48025. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  48026. msgstr ""
  48027. #. type: deftypevr
  48028. #: guix-git/doc/guix.texi:32515
  48029. #, no-wrap
  48030. msgid "{@code{cgit-configuration} parameter} string index-header"
  48031. msgstr ""
  48032. #. type: deftypevr
  48033. #: guix-git/doc/guix.texi:32518
  48034. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  48035. msgstr ""
  48036. #. type: deftypevr
  48037. #: guix-git/doc/guix.texi:32523
  48038. #, no-wrap
  48039. msgid "{@code{cgit-configuration} parameter} string index-info"
  48040. msgstr ""
  48041. #. type: deftypevr
  48042. #: guix-git/doc/guix.texi:32526
  48043. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  48044. msgstr ""
  48045. #. type: deftypevr
  48046. #: guix-git/doc/guix.texi:32531
  48047. #, no-wrap
  48048. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  48049. msgstr ""
  48050. #. type: deftypevr
  48051. #: guix-git/doc/guix.texi:32534
  48052. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  48053. msgstr ""
  48054. #. type: deftypevr
  48055. #: guix-git/doc/guix.texi:32539
  48056. #, no-wrap
  48057. msgid "{@code{cgit-configuration} parameter} file-object logo"
  48058. msgstr ""
  48059. #. type: deftypevr
  48060. #: guix-git/doc/guix.texi:32542
  48061. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  48062. msgstr ""
  48063. #. type: deftypevr
  48064. #: guix-git/doc/guix.texi:32544
  48065. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  48066. msgstr ""
  48067. #. type: deftypevr
  48068. #: guix-git/doc/guix.texi:32547
  48069. #, no-wrap
  48070. msgid "{@code{cgit-configuration} parameter} string logo-link"
  48071. msgstr ""
  48072. #. type: deftypevr
  48073. #: guix-git/doc/guix.texi:32549 guix-git/doc/guix.texi:33006
  48074. msgid "URL loaded when clicking on the cgit logo image."
  48075. msgstr ""
  48076. #. type: deftypevr
  48077. #: guix-git/doc/guix.texi:32554
  48078. #, no-wrap
  48079. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  48080. msgstr ""
  48081. #. type: deftypevr
  48082. #: guix-git/doc/guix.texi:32557
  48083. msgid "Command which will be invoked to format the Owner column of the main page."
  48084. msgstr ""
  48085. #. type: deftypevr
  48086. #: guix-git/doc/guix.texi:32562
  48087. #, no-wrap
  48088. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  48089. msgstr ""
  48090. #. type: deftypevr
  48091. #: guix-git/doc/guix.texi:32564
  48092. msgid "Number of items to display in atom feeds view."
  48093. msgstr ""
  48094. #. type: deftypevr
  48095. #: guix-git/doc/guix.texi:32569
  48096. #, no-wrap
  48097. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  48098. msgstr ""
  48099. #. type: deftypevr
  48100. #: guix-git/doc/guix.texi:32571
  48101. msgid "Number of entries to list per page in \"log\" view."
  48102. msgstr ""
  48103. #. type: deftypevr
  48104. #: guix-git/doc/guix.texi:32576
  48105. #, no-wrap
  48106. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  48107. msgstr ""
  48108. #. type: deftypevr
  48109. #: guix-git/doc/guix.texi:32578
  48110. msgid "Number of commit message characters to display in \"log\" view."
  48111. msgstr ""
  48112. #. type: deftypevr
  48113. #: guix-git/doc/guix.texi:32580 guix-git/doc/guix.texi:32596
  48114. msgid "Defaults to @samp{80}."
  48115. msgstr ""
  48116. #. type: deftypevr
  48117. #: guix-git/doc/guix.texi:32583
  48118. #, no-wrap
  48119. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  48120. msgstr ""
  48121. #. type: deftypevr
  48122. #: guix-git/doc/guix.texi:32586
  48123. msgid "Specifies the number of entries to list per page on the repository index page."
  48124. msgstr ""
  48125. #. type: deftypevr
  48126. #: guix-git/doc/guix.texi:32591
  48127. #, no-wrap
  48128. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  48129. msgstr ""
  48130. #. type: deftypevr
  48131. #: guix-git/doc/guix.texi:32594
  48132. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  48133. msgstr ""
  48134. #. type: deftypevr
  48135. #: guix-git/doc/guix.texi:32599
  48136. #, no-wrap
  48137. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  48138. msgstr ""
  48139. #. type: deftypevr
  48140. #: guix-git/doc/guix.texi:32601
  48141. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  48142. msgstr ""
  48143. #. type: deftypevr
  48144. #: guix-git/doc/guix.texi:32606
  48145. #, no-wrap
  48146. msgid "{@code{cgit-configuration} parameter} string max-stats"
  48147. msgstr ""
  48148. #. type: deftypevr
  48149. #: guix-git/doc/guix.texi:32609
  48150. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  48151. msgstr ""
  48152. #. type: deftypevr
  48153. #: guix-git/doc/guix.texi:32614
  48154. #, no-wrap
  48155. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  48156. msgstr ""
  48157. #. type: deftypevr
  48158. #: guix-git/doc/guix.texi:32616
  48159. msgid "Mimetype for the specified filename extension."
  48160. msgstr ""
  48161. #. type: deftypevr
  48162. #: guix-git/doc/guix.texi:32620
  48163. msgid "Defaults to @samp{((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}."
  48164. msgstr ""
  48165. #. type: deftypevr
  48166. #: guix-git/doc/guix.texi:32623
  48167. #, no-wrap
  48168. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  48169. msgstr ""
  48170. #. type: deftypevr
  48171. #: guix-git/doc/guix.texi:32625
  48172. msgid "Specifies the file to use for automatic mimetype lookup."
  48173. msgstr ""
  48174. #. type: deftypevr
  48175. #: guix-git/doc/guix.texi:32630
  48176. #, no-wrap
  48177. msgid "{@code{cgit-configuration} parameter} string module-link"
  48178. msgstr ""
  48179. #. type: deftypevr
  48180. #: guix-git/doc/guix.texi:32633
  48181. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  48182. msgstr ""
  48183. #. type: deftypevr
  48184. #: guix-git/doc/guix.texi:32638
  48185. #, no-wrap
  48186. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  48187. msgstr ""
  48188. #. type: deftypevr
  48189. #: guix-git/doc/guix.texi:32640
  48190. msgid "If set to the value @samp{#t} caching will be disabled."
  48191. msgstr ""
  48192. #. type: deftypevr
  48193. #: guix-git/doc/guix.texi:32645
  48194. #, no-wrap
  48195. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  48196. msgstr ""
  48197. #. type: deftypevr
  48198. #: guix-git/doc/guix.texi:32648
  48199. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  48200. msgstr ""
  48201. #. type: deftypevr
  48202. #: guix-git/doc/guix.texi:32653
  48203. #, no-wrap
  48204. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  48205. msgstr ""
  48206. #. type: deftypevr
  48207. #: guix-git/doc/guix.texi:32656
  48208. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  48209. msgstr ""
  48210. #. type: deftypevr
  48211. #: guix-git/doc/guix.texi:32661
  48212. #, no-wrap
  48213. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  48214. msgstr ""
  48215. #. type: deftypevr
  48216. #: guix-git/doc/guix.texi:32665
  48217. msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded."
  48218. msgstr ""
  48219. #. type: deftypevr
  48220. #: guix-git/doc/guix.texi:32670
  48221. #, no-wrap
  48222. msgid "{@code{cgit-configuration} parameter} file-object readme"
  48223. msgstr ""
  48224. #. type: deftypevr
  48225. #: guix-git/doc/guix.texi:32672
  48226. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  48227. msgstr ""
  48228. #. type: deftypevr
  48229. #: guix-git/doc/guix.texi:32677
  48230. #, no-wrap
  48231. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  48232. msgstr ""
  48233. #. type: deftypevr
  48234. #: guix-git/doc/guix.texi:32681
  48235. msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name."
  48236. msgstr ""
  48237. #. type: deftypevr
  48238. #: guix-git/doc/guix.texi:32686
  48239. #, no-wrap
  48240. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  48241. msgstr ""
  48242. #. type: deftypevr
  48243. #: guix-git/doc/guix.texi:32688
  48244. msgid "Maximum number of files to consider when detecting renames."
  48245. msgstr ""
  48246. #. type: deftypevr
  48247. #: guix-git/doc/guix.texi:32693
  48248. #, no-wrap
  48249. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  48250. msgstr ""
  48251. #. type: deftypevr
  48252. #: guix-git/doc/guix.texi:32695
  48253. msgid "The way in which repositories in each section are sorted."
  48254. msgstr ""
  48255. #. type: deftypevr
  48256. #: guix-git/doc/guix.texi:32700
  48257. #, no-wrap
  48258. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  48259. msgstr ""
  48260. #. type: deftypevr
  48261. #: guix-git/doc/guix.texi:32702
  48262. msgid "Text used as content for the @code{robots} meta-tag."
  48263. msgstr ""
  48264. #. type: deftypevr
  48265. #: guix-git/doc/guix.texi:32704
  48266. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  48267. msgstr ""
  48268. #. type: deftypevr
  48269. #: guix-git/doc/guix.texi:32707
  48270. #, no-wrap
  48271. msgid "{@code{cgit-configuration} parameter} string root-desc"
  48272. msgstr ""
  48273. #. type: deftypevr
  48274. #: guix-git/doc/guix.texi:32709
  48275. msgid "Text printed below the heading on the repository index page."
  48276. msgstr ""
  48277. #. type: deftypevr
  48278. #: guix-git/doc/guix.texi:32711
  48279. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  48280. msgstr ""
  48281. #. type: deftypevr
  48282. #: guix-git/doc/guix.texi:32714
  48283. #, no-wrap
  48284. msgid "{@code{cgit-configuration} parameter} string root-readme"
  48285. msgstr ""
  48286. #. type: deftypevr
  48287. #: guix-git/doc/guix.texi:32717
  48288. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  48289. msgstr ""
  48290. #. type: deftypevr
  48291. #: guix-git/doc/guix.texi:32722
  48292. #, no-wrap
  48293. msgid "{@code{cgit-configuration} parameter} string root-title"
  48294. msgstr ""
  48295. #. type: deftypevr
  48296. #: guix-git/doc/guix.texi:32724
  48297. msgid "Text printed as heading on the repository index page."
  48298. msgstr ""
  48299. #. type: deftypevr
  48300. #: guix-git/doc/guix.texi:32729
  48301. #, no-wrap
  48302. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  48303. msgstr ""
  48304. #. type: deftypevr
  48305. #: guix-git/doc/guix.texi:32735
  48306. msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as ``hidden''. Note that this does not apply to the @file{.git} directory in non-bare repos."
  48307. msgstr ""
  48308. #. type: deftypevr
  48309. #: guix-git/doc/guix.texi:32740
  48310. #, no-wrap
  48311. msgid "{@code{cgit-configuration} parameter} list snapshots"
  48312. msgstr ""
  48313. #. type: deftypevr
  48314. #: guix-git/doc/guix.texi:32743
  48315. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  48316. msgstr ""
  48317. #. type: deftypevr
  48318. #: guix-git/doc/guix.texi:32748
  48319. #, no-wrap
  48320. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  48321. msgstr ""
  48322. #. type: deftypevr
  48323. #: guix-git/doc/guix.texi:32751
  48324. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  48325. msgstr ""
  48326. #. type: deftypevr
  48327. #: guix-git/doc/guix.texi:32753
  48328. msgid "Defaults to @samp{\"/srv/git\"}."
  48329. msgstr ""
  48330. #. type: deftypevr
  48331. #: guix-git/doc/guix.texi:32756
  48332. #, no-wrap
  48333. msgid "{@code{cgit-configuration} parameter} string section"
  48334. msgstr ""
  48335. #. type: deftypevr
  48336. #: guix-git/doc/guix.texi:32759 guix-git/doc/guix.texi:33075
  48337. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  48338. msgstr ""
  48339. #. type: deftypevr
  48340. #: guix-git/doc/guix.texi:32764
  48341. #, no-wrap
  48342. msgid "{@code{cgit-configuration} parameter} string section-sort"
  48343. msgstr ""
  48344. #. type: deftypevr
  48345. #: guix-git/doc/guix.texi:32767
  48346. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  48347. msgstr ""
  48348. #. type: deftypevr
  48349. #: guix-git/doc/guix.texi:32772
  48350. #, no-wrap
  48351. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  48352. msgstr ""
  48353. #. type: deftypevr
  48354. #: guix-git/doc/guix.texi:32775
  48355. msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name."
  48356. msgstr ""
  48357. #. type: deftypevr
  48358. #: guix-git/doc/guix.texi:32780
  48359. #, no-wrap
  48360. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  48361. msgstr ""
  48362. #. type: deftypevr
  48363. #: guix-git/doc/guix.texi:32783
  48364. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  48365. msgstr ""
  48366. #. type: deftypevr
  48367. #: guix-git/doc/guix.texi:32788
  48368. #, no-wrap
  48369. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  48370. msgstr ""
  48371. #. type: deftypevr
  48372. #: guix-git/doc/guix.texi:32791
  48373. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  48374. msgstr ""
  48375. #. type: deftypevr
  48376. #: guix-git/doc/guix.texi:32796
  48377. #, no-wrap
  48378. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  48379. msgstr ""
  48380. #. type: deftypevr
  48381. #: guix-git/doc/guix.texi:32799
  48382. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  48383. msgstr ""
  48384. #. type: deftypevr
  48385. #: guix-git/doc/guix.texi:32804
  48386. #, no-wrap
  48387. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  48388. msgstr ""
  48389. #. type: deftypevr
  48390. #: guix-git/doc/guix.texi:32807
  48391. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  48392. msgstr ""
  48393. #. type: deftypevr
  48394. #: guix-git/doc/guix.texi:32812
  48395. #, no-wrap
  48396. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  48397. msgstr ""
  48398. #. type: deftypevr
  48399. #: guix-git/doc/guix.texi:32815
  48400. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  48401. msgstr ""
  48402. #. type: deftypevr
  48403. #: guix-git/doc/guix.texi:32820
  48404. #, no-wrap
  48405. msgid "{@code{cgit-configuration} parameter} string strict-export"
  48406. msgstr ""
  48407. #. type: deftypevr
  48408. #: guix-git/doc/guix.texi:32823
  48409. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  48410. msgstr ""
  48411. #. type: deftypevr
  48412. #: guix-git/doc/guix.texi:32828
  48413. #, no-wrap
  48414. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  48415. msgstr ""
  48416. #. type: deftypevr
  48417. #: guix-git/doc/guix.texi:32830
  48418. msgid "URL which, if specified, will be used as root for all cgit links."
  48419. msgstr ""
  48420. #. type: deftypevr
  48421. #: guix-git/doc/guix.texi:32832
  48422. msgid "Defaults to @samp{\"/\"}."
  48423. msgstr ""
  48424. #. type: deftypevr
  48425. #: guix-git/doc/guix.texi:32835
  48426. #, no-wrap
  48427. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  48428. msgstr ""
  48429. #. type: deftypevr
  48430. #: guix-git/doc/guix.texi:32837
  48431. msgid "A list of @dfn{cgit-repo} records to use with config."
  48432. msgstr ""
  48433. #. type: deftypevr
  48434. #: guix-git/doc/guix.texi:32841
  48435. msgid "Available @code{repository-cgit-configuration} fields are:"
  48436. msgstr ""
  48437. #. type: deftypevr
  48438. #: guix-git/doc/guix.texi:32842
  48439. #, no-wrap
  48440. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  48441. msgstr ""
  48442. #. type: deftypevr
  48443. #: guix-git/doc/guix.texi:32845
  48444. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  48445. msgstr ""
  48446. #. type: deftypevr
  48447. #: guix-git/doc/guix.texi:32850
  48448. #, no-wrap
  48449. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  48450. msgstr ""
  48451. #. type: deftypevr
  48452. #: guix-git/doc/guix.texi:32852
  48453. msgid "Override the default @code{source-filter}."
  48454. msgstr ""
  48455. #. type: deftypevr
  48456. #: guix-git/doc/guix.texi:32857
  48457. #, no-wrap
  48458. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  48459. msgstr ""
  48460. #. type: deftypevr
  48461. #: guix-git/doc/guix.texi:32859
  48462. msgid "The relative URL used to access the repository."
  48463. msgstr ""
  48464. #. type: deftypevr
  48465. #: guix-git/doc/guix.texi:32864
  48466. #, no-wrap
  48467. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  48468. msgstr ""
  48469. #. type: deftypevr
  48470. #: guix-git/doc/guix.texi:32866
  48471. msgid "Override the default @code{about-filter}."
  48472. msgstr ""
  48473. #. type: deftypevr
  48474. #: guix-git/doc/guix.texi:32871
  48475. #, no-wrap
  48476. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  48477. msgstr ""
  48478. #. type: deftypevr
  48479. #: guix-git/doc/guix.texi:32874
  48480. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name."
  48481. msgstr ""
  48482. #. type: deftypevr
  48483. #: guix-git/doc/guix.texi:32879
  48484. #, no-wrap
  48485. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  48486. msgstr ""
  48487. #. type: deftypevr
  48488. #: guix-git/doc/guix.texi:32881
  48489. msgid "A list of URLs which can be used to clone repo."
  48490. msgstr ""
  48491. #. type: deftypevr
  48492. #: guix-git/doc/guix.texi:32886
  48493. #, no-wrap
  48494. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  48495. msgstr ""
  48496. #. type: deftypevr
  48497. #: guix-git/doc/guix.texi:32888
  48498. msgid "Override the default @code{commit-filter}."
  48499. msgstr ""
  48500. #. type: deftypevr
  48501. #: guix-git/doc/guix.texi:32893
  48502. #, no-wrap
  48503. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  48504. msgstr ""
  48505. #. type: deftypevr
  48506. #: guix-git/doc/guix.texi:32902
  48507. #, no-wrap
  48508. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  48509. msgstr ""
  48510. #. type: deftypevr
  48511. #: guix-git/doc/guix.texi:32907
  48512. msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or ``master'' if there is no suitable HEAD."
  48513. msgstr ""
  48514. #. type: deftypevr
  48515. #: guix-git/doc/guix.texi:32912
  48516. #, no-wrap
  48517. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  48518. msgstr ""
  48519. #. type: deftypevr
  48520. #: guix-git/doc/guix.texi:32914
  48521. msgid "The value to show as repository description."
  48522. msgstr ""
  48523. #. type: deftypevr
  48524. #: guix-git/doc/guix.texi:32919
  48525. #, no-wrap
  48526. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  48527. msgstr ""
  48528. #. type: deftypevr
  48529. #: guix-git/doc/guix.texi:32921
  48530. msgid "The value to show as repository homepage."
  48531. msgstr ""
  48532. #. type: deftypevr
  48533. #: guix-git/doc/guix.texi:32926
  48534. #, no-wrap
  48535. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  48536. msgstr ""
  48537. #. type: deftypevr
  48538. #: guix-git/doc/guix.texi:32928
  48539. msgid "Override the default @code{email-filter}."
  48540. msgstr ""
  48541. #. type: deftypevr
  48542. #: guix-git/doc/guix.texi:32933
  48543. #, no-wrap
  48544. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  48545. msgstr ""
  48546. #. type: deftypevr
  48547. #: guix-git/doc/guix.texi:32936
  48548. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  48549. msgstr ""
  48550. #. type: deftypevr
  48551. #: guix-git/doc/guix.texi:32941
  48552. #, no-wrap
  48553. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  48554. msgstr ""
  48555. #. type: deftypevr
  48556. #: guix-git/doc/guix.texi:32944
  48557. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  48558. msgstr ""
  48559. #. type: deftypevr
  48560. #: guix-git/doc/guix.texi:32949
  48561. #, no-wrap
  48562. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  48563. msgstr ""
  48564. #. type: deftypevr
  48565. #: guix-git/doc/guix.texi:32952
  48566. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  48567. msgstr ""
  48568. #. type: deftypevr
  48569. #: guix-git/doc/guix.texi:32957
  48570. #, no-wrap
  48571. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  48572. msgstr ""
  48573. #. type: deftypevr
  48574. #: guix-git/doc/guix.texi:32965
  48575. #, no-wrap
  48576. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  48577. msgstr ""
  48578. #. type: deftypevr
  48579. #: guix-git/doc/guix.texi:32968
  48580. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  48581. msgstr ""
  48582. #. type: deftypevr
  48583. #: guix-git/doc/guix.texi:32973
  48584. #, no-wrap
  48585. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  48586. msgstr ""
  48587. #. type: deftypevr
  48588. #: guix-git/doc/guix.texi:32976
  48589. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  48590. msgstr ""
  48591. #. type: deftypevr
  48592. #: guix-git/doc/guix.texi:32981
  48593. #, no-wrap
  48594. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  48595. msgstr ""
  48596. #. type: deftypevr
  48597. #: guix-git/doc/guix.texi:32984
  48598. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  48599. msgstr ""
  48600. #. type: deftypevr
  48601. #: guix-git/doc/guix.texi:32989
  48602. #, no-wrap
  48603. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  48604. msgstr ""
  48605. #. type: deftypevr
  48606. #: guix-git/doc/guix.texi:32991
  48607. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  48608. msgstr ""
  48609. #. type: deftypevr
  48610. #: guix-git/doc/guix.texi:32996
  48611. #, no-wrap
  48612. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  48613. msgstr ""
  48614. #. type: deftypevr
  48615. #: guix-git/doc/guix.texi:32999
  48616. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  48617. msgstr ""
  48618. #. type: deftypevr
  48619. #: guix-git/doc/guix.texi:33004
  48620. #, no-wrap
  48621. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  48622. msgstr ""
  48623. #. type: deftypevr
  48624. #: guix-git/doc/guix.texi:33011
  48625. #, no-wrap
  48626. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  48627. msgstr ""
  48628. #. type: deftypevr
  48629. #: guix-git/doc/guix.texi:33013
  48630. msgid "Override the default @code{owner-filter}."
  48631. msgstr ""
  48632. #. type: deftypevr
  48633. #: guix-git/doc/guix.texi:33018
  48634. #, no-wrap
  48635. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  48636. msgstr ""
  48637. #. type: deftypevr
  48638. #: guix-git/doc/guix.texi:33022
  48639. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit."
  48640. msgstr ""
  48641. #. type: deftypevr
  48642. #: guix-git/doc/guix.texi:33027
  48643. #, no-wrap
  48644. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  48645. msgstr ""
  48646. #. type: deftypevr
  48647. #: guix-git/doc/guix.texi:33031
  48648. msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing."
  48649. msgstr ""
  48650. #. type: deftypevr
  48651. #: guix-git/doc/guix.texi:33036
  48652. #, no-wrap
  48653. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  48654. msgstr ""
  48655. #. type: deftypevr
  48656. #: guix-git/doc/guix.texi:33038
  48657. msgid "Override the default maximum statistics period."
  48658. msgstr ""
  48659. #. type: deftypevr
  48660. #: guix-git/doc/guix.texi:33043
  48661. #, no-wrap
  48662. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  48663. msgstr ""
  48664. #. type: deftypevr
  48665. #: guix-git/doc/guix.texi:33045
  48666. msgid "The value to show as repository name."
  48667. msgstr ""
  48668. #. type: deftypevr
  48669. #: guix-git/doc/guix.texi:33050
  48670. #, no-wrap
  48671. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  48672. msgstr ""
  48673. #. type: deftypevr
  48674. #: guix-git/doc/guix.texi:33052
  48675. msgid "A value used to identify the owner of the repository."
  48676. msgstr ""
  48677. #. type: deftypevr
  48678. #: guix-git/doc/guix.texi:33057
  48679. #, no-wrap
  48680. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  48681. msgstr ""
  48682. #. type: deftypevr
  48683. #: guix-git/doc/guix.texi:33059
  48684. msgid "An absolute path to the repository directory."
  48685. msgstr ""
  48686. #. type: deftypevr
  48687. #: guix-git/doc/guix.texi:33064
  48688. #, no-wrap
  48689. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  48690. msgstr ""
  48691. #. type: deftypevr
  48692. #: guix-git/doc/guix.texi:33067
  48693. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  48694. msgstr ""
  48695. #. type: deftypevr
  48696. #: guix-git/doc/guix.texi:33072
  48697. #, no-wrap
  48698. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  48699. msgstr ""
  48700. #. type: deftypevr
  48701. #: guix-git/doc/guix.texi:33080
  48702. #, no-wrap
  48703. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  48704. msgstr ""
  48705. #. type: deftypevr
  48706. #: guix-git/doc/guix.texi:33082 guix-git/doc/guix.texi:33091
  48707. msgid "Extra options will be appended to cgitrc file."
  48708. msgstr ""
  48709. #. type: deftypevr
  48710. #: guix-git/doc/guix.texi:33089
  48711. #, no-wrap
  48712. msgid "{@code{cgit-configuration} parameter} list extra-options"
  48713. msgstr ""
  48714. #. type: Plain text
  48715. #: guix-git/doc/guix.texi:33103
  48716. msgid "However, it could be that you just want to get a @code{cgitrc} up and running. In that case, you can pass an @code{opaque-cgit-configuration} as a record to @code{cgit-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  48717. msgstr ""
  48718. #. type: Plain text
  48719. #: guix-git/doc/guix.texi:33105
  48720. msgid "Available @code{opaque-cgit-configuration} fields are:"
  48721. msgstr ""
  48722. #. type: deftypevr
  48723. #: guix-git/doc/guix.texi:33106
  48724. #, no-wrap
  48725. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  48726. msgstr ""
  48727. #. type: deftypevr
  48728. #: guix-git/doc/guix.texi:33108
  48729. msgid "The cgit package."
  48730. msgstr ""
  48731. #. type: deftypevr
  48732. #: guix-git/doc/guix.texi:33110
  48733. #, no-wrap
  48734. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48735. msgstr ""
  48736. #. type: deftypevr
  48737. #: guix-git/doc/guix.texi:33112
  48738. msgid "The contents of the @code{cgitrc}, as a string."
  48739. msgstr ""
  48740. #. type: Plain text
  48741. #: guix-git/doc/guix.texi:33116
  48742. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48743. msgstr ""
  48744. #. type: lisp
  48745. #: guix-git/doc/guix.texi:33121
  48746. #, no-wrap
  48747. msgid ""
  48748. "(service cgit-service-type\n"
  48749. " (opaque-cgit-configuration\n"
  48750. " (cgitrc \"\")))\n"
  48751. msgstr ""
  48752. #. type: subsubheading
  48753. #: guix-git/doc/guix.texi:33123
  48754. #, no-wrap
  48755. msgid "Gitolite Service"
  48756. msgstr ""
  48757. #. type: cindex
  48758. #: guix-git/doc/guix.texi:33125
  48759. #, no-wrap
  48760. msgid "Gitolite service"
  48761. msgstr ""
  48762. #. type: cindex
  48763. #: guix-git/doc/guix.texi:33126
  48764. #, no-wrap
  48765. msgid "Git, hosting"
  48766. msgstr ""
  48767. #. type: Plain text
  48768. #: guix-git/doc/guix.texi:33129
  48769. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48770. msgstr ""
  48771. #. type: Plain text
  48772. #: guix-git/doc/guix.texi:33132
  48773. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48774. msgstr ""
  48775. #. type: Plain text
  48776. #: guix-git/doc/guix.texi:33135
  48777. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48778. msgstr ""
  48779. #. type: lisp
  48780. #: guix-git/doc/guix.texi:33142
  48781. #, no-wrap
  48782. msgid ""
  48783. "(service gitolite-service-type\n"
  48784. " (gitolite-configuration\n"
  48785. " (admin-pubkey (plain-file\n"
  48786. " \"yourname.pub\"\n"
  48787. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48788. msgstr ""
  48789. #. type: Plain text
  48790. #: guix-git/doc/guix.texi:33147
  48791. msgid "Gitolite is configured through a special admin repository which you can clone, for example, if you setup Gitolite on @code{example.com}, you would run the following command to clone the admin repository."
  48792. msgstr ""
  48793. #. type: example
  48794. #: guix-git/doc/guix.texi:33150
  48795. #, no-wrap
  48796. msgid "git clone git@@example.com:gitolite-admin\n"
  48797. msgstr ""
  48798. #. type: Plain text
  48799. #: guix-git/doc/guix.texi:33156
  48800. msgid "When the Gitolite service is activated, the provided @code{admin-pubkey} will be inserted in to the @file{keydir} directory in the gitolite-admin repository. If this results in a change in the repository, it will be committed using the message ``gitolite setup by GNU Guix''."
  48801. msgstr ""
  48802. #. type: deftp
  48803. #: guix-git/doc/guix.texi:33157
  48804. #, no-wrap
  48805. msgid "{Data Type} gitolite-configuration"
  48806. msgstr ""
  48807. #. type: deftp
  48808. #: guix-git/doc/guix.texi:33159
  48809. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48810. msgstr ""
  48811. #. type: item
  48812. #: guix-git/doc/guix.texi:33161
  48813. #, no-wrap
  48814. msgid "@code{package} (default: @var{gitolite})"
  48815. msgstr ""
  48816. #. type: table
  48817. #: guix-git/doc/guix.texi:33163
  48818. msgid "Gitolite package to use."
  48819. msgstr ""
  48820. #. type: item
  48821. #: guix-git/doc/guix.texi:33164
  48822. #, no-wrap
  48823. msgid "@code{user} (default: @var{git})"
  48824. msgstr ""
  48825. #. type: table
  48826. #: guix-git/doc/guix.texi:33167
  48827. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48828. msgstr ""
  48829. #. type: item
  48830. #: guix-git/doc/guix.texi:33168
  48831. #, no-wrap
  48832. msgid "@code{group} (default: @var{git})"
  48833. msgstr ""
  48834. #. type: table
  48835. #: guix-git/doc/guix.texi:33170
  48836. msgid "Group to use for Gitolite."
  48837. msgstr ""
  48838. #. type: item
  48839. #: guix-git/doc/guix.texi:33171
  48840. #, no-wrap
  48841. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48842. msgstr ""
  48843. #. type: table
  48844. #: guix-git/doc/guix.texi:33173
  48845. msgid "Directory in which to store the Gitolite configuration and repositories."
  48846. msgstr ""
  48847. #. type: item
  48848. #: guix-git/doc/guix.texi:33174
  48849. #, no-wrap
  48850. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48851. msgstr ""
  48852. #. type: table
  48853. #: guix-git/doc/guix.texi:33177
  48854. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48855. msgstr ""
  48856. #. type: item
  48857. #: guix-git/doc/guix.texi:33178
  48858. #, no-wrap
  48859. msgid "@code{admin-pubkey} (default: @var{#f})"
  48860. msgstr ""
  48861. #. type: table
  48862. #: guix-git/doc/guix.texi:33182
  48863. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}) used to setup Gitolite. This will be inserted in to the @file{keydir} directory within the gitolite-admin repository."
  48864. msgstr ""
  48865. #. type: table
  48866. #: guix-git/doc/guix.texi:33184
  48867. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48868. msgstr ""
  48869. #. type: lisp
  48870. #: guix-git/doc/guix.texi:33187
  48871. #, no-wrap
  48872. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48873. msgstr ""
  48874. #. type: deftp
  48875. #: guix-git/doc/guix.texi:33192
  48876. #, no-wrap
  48877. msgid "{Data Type} gitolite-rc-file"
  48878. msgstr ""
  48879. #. type: deftp
  48880. #: guix-git/doc/guix.texi:33194
  48881. msgid "Data type representing the Gitolite RC file."
  48882. msgstr ""
  48883. #. type: item
  48884. #: guix-git/doc/guix.texi:33196
  48885. #, no-wrap
  48886. msgid "@code{umask} (default: @code{#o0077})"
  48887. msgstr ""
  48888. #. type: table
  48889. #: guix-git/doc/guix.texi:33199
  48890. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48891. msgstr ""
  48892. #. type: table
  48893. #: guix-git/doc/guix.texi:33203
  48894. msgid "A value like @code{#o0027} will give read access to the group used by Gitolite (by default: @code{git}). This is necessary when using Gitolite with software like cgit or gitweb."
  48895. msgstr ""
  48896. #. type: item
  48897. #: guix-git/doc/guix.texi:33204
  48898. #, no-wrap
  48899. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48900. msgstr ""
  48901. #. type: table
  48902. #: guix-git/doc/guix.texi:33209
  48903. msgid "An optional Perl regular expression for catching unsafe configurations in the configuration file. See @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, Gitolite's documentation} for more information."
  48904. msgstr ""
  48905. #. type: table
  48906. #: guix-git/doc/guix.texi:33216
  48907. msgid "When the value is not @code{#f}, it should be a string containing a Perl regular expression, such as @samp{\"[`~#\\$\\&()|;<>]\"}, which is the default value used by gitolite. It rejects any special character in configuration that might be interpreted by a shell, which is useful when sharing the administration burden with other people that do not otherwise have shell access on the server."
  48908. msgstr ""
  48909. #. type: item
  48910. #: guix-git/doc/guix.texi:33217
  48911. #, no-wrap
  48912. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48913. msgstr ""
  48914. #. type: table
  48915. #: guix-git/doc/guix.texi:33220
  48916. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48917. msgstr ""
  48918. #. type: item
  48919. #: guix-git/doc/guix.texi:33221
  48920. #, no-wrap
  48921. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48922. msgstr ""
  48923. #. type: table
  48924. #: guix-git/doc/guix.texi:33223
  48925. msgid "Set the role names allowed to be used by users running the perms command."
  48926. msgstr ""
  48927. #. type: item
  48928. #: guix-git/doc/guix.texi:33224
  48929. #, no-wrap
  48930. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48931. msgstr ""
  48932. #. type: table
  48933. #: guix-git/doc/guix.texi:33226
  48934. msgid "This setting controls the commands and features to enable within Gitolite."
  48935. msgstr ""
  48936. #. type: subsubheading
  48937. #: guix-git/doc/guix.texi:33231
  48938. #, no-wrap
  48939. msgid "Gitile Service"
  48940. msgstr "Služba Gitile"
  48941. #. type: cindex
  48942. #: guix-git/doc/guix.texi:33233
  48943. #, no-wrap
  48944. msgid "Gitile service"
  48945. msgstr ""
  48946. #. type: cindex
  48947. #: guix-git/doc/guix.texi:33234
  48948. #, no-wrap
  48949. msgid "Git, forge"
  48950. msgstr ""
  48951. #. type: Plain text
  48952. #: guix-git/doc/guix.texi:33237
  48953. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48954. msgstr ""
  48955. #. type: Plain text
  48956. #: guix-git/doc/guix.texi:33243
  48957. msgid "Gitile works best in collaboration with Gitolite, and will serve the public repositories from Gitolite by default. The service should listen only on a local port, and a webserver should be configured to serve static resources. The gitile service provides an easy way to extend the Nginx service for that purpose (@pxref{NGINX})."
  48958. msgstr ""
  48959. #. type: Plain text
  48960. #: guix-git/doc/guix.texi:33247
  48961. msgid "The following example will configure Gitile to serve repositories from a custom location, with some default messages for the home page and the footers."
  48962. msgstr ""
  48963. #. type: lisp
  48964. #: guix-git/doc/guix.texi:33270
  48965. #, no-wrap
  48966. msgid ""
  48967. "(service gitile-service-type\n"
  48968. " (gitile-configuration\n"
  48969. " (repositories \"/srv/git\")\n"
  48970. " (base-git-url \"https://myweb.site/git\")\n"
  48971. " (index-title \"My git repositories\")\n"
  48972. " (intro '((p \"This is all my public work!\")))\n"
  48973. " (footer '((p \"This is the end\")))\n"
  48974. " (nginx-server-block\n"
  48975. " (nginx-server-configuration\n"
  48976. " (ssl-certificate\n"
  48977. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48978. " (ssl-certificate-key\n"
  48979. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48980. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48981. " (locations\n"
  48982. " (list\n"
  48983. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48984. " (git-http-nginx-location-configuration\n"
  48985. " (git-http-configuration\n"
  48986. " (uri-path \"/git/\")\n"
  48987. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48988. msgstr ""
  48989. #. type: Plain text
  48990. #: guix-git/doc/guix.texi:33279
  48991. msgid "In addition to the configuration record, you should configure your git repositories to contain some optional information. First, your public repositories need to contain the @file{git-daemon-export-ok} magic file that allows Git to export the repository. Gitile uses the presence of this file to detect public repositories it should make accessible. To do so with Gitolite for instance, modify your @file{conf/gitolite.conf} to include this in the repositories you want to make public:"
  48992. msgstr ""
  48993. #. type: example
  48994. #: guix-git/doc/guix.texi:33283
  48995. #, no-wrap
  48996. msgid ""
  48997. "repo foo\n"
  48998. " R = daemon\n"
  48999. msgstr ""
  49000. #. type: Plain text
  49001. #: guix-git/doc/guix.texi:33289
  49002. msgid "In addition, Gitile can read the repository configuration to display more information on the repository. Gitile uses the gitweb namespace for its configuration. As an example, you can use the following in your @file{conf/gitolite.conf}:"
  49003. msgstr ""
  49004. #. type: example
  49005. #: guix-git/doc/guix.texi:33296
  49006. #, no-wrap
  49007. msgid ""
  49008. "repo foo\n"
  49009. " R = daemon\n"
  49010. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  49011. " config gitweb.name = The Foo Project\n"
  49012. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  49013. msgstr ""
  49014. #. type: Plain text
  49015. #: guix-git/doc/guix.texi:33302
  49016. msgid "Do not forget to commit and push these changes once you are satisfied. You may need to change your gitolite configuration to allow the previous configuration options to be set. One way to do that is to add the following service definition:"
  49017. msgstr ""
  49018. #. type: lisp
  49019. #: guix-git/doc/guix.texi:33314
  49020. #, no-wrap
  49021. msgid ""
  49022. "(service gitolite-service-type\n"
  49023. " (gitolite-configuration\n"
  49024. " (admin-pubkey (local-file \"key.pub\"))\n"
  49025. " (rc-file\n"
  49026. " (gitolite-rc-file\n"
  49027. " (umask #o0027)\n"
  49028. " ;; Allow to set any configuration key\n"
  49029. " (git-config-keys \".*\")\n"
  49030. " ;; Allow any text as a valid configuration value\n"
  49031. " (unsafe-patt \"^$\")))))\n"
  49032. msgstr ""
  49033. #. type: deftp
  49034. #: guix-git/doc/guix.texi:33316
  49035. #, no-wrap
  49036. msgid "{Data Type} gitile-configuration"
  49037. msgstr "{Druh údajov} gitile-configuration"
  49038. #. type: deftp
  49039. #: guix-git/doc/guix.texi:33318
  49040. msgid "Data type representing the configuration for @code{gitile-service-type}."
  49041. msgstr ""
  49042. #. type: item
  49043. #: guix-git/doc/guix.texi:33320
  49044. #, no-wrap
  49045. msgid "@code{package} (default: @var{gitile})"
  49046. msgstr ""
  49047. #. type: table
  49048. #: guix-git/doc/guix.texi:33322
  49049. msgid "Gitile package to use."
  49050. msgstr ""
  49051. #. type: table
  49052. #: guix-git/doc/guix.texi:33325
  49053. msgid "The host on which gitile is listening."
  49054. msgstr ""
  49055. #. type: item
  49056. #: guix-git/doc/guix.texi:33326
  49057. #, no-wrap
  49058. msgid "@code{port} (default: @code{8080})"
  49059. msgstr ""
  49060. #. type: table
  49061. #: guix-git/doc/guix.texi:33328
  49062. msgid "The port on which gitile is listening."
  49063. msgstr ""
  49064. #. type: item
  49065. #: guix-git/doc/guix.texi:33329
  49066. #, no-wrap
  49067. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  49068. msgstr ""
  49069. #. type: table
  49070. #: guix-git/doc/guix.texi:33331
  49071. msgid "The location of the database."
  49072. msgstr ""
  49073. #. type: item
  49074. #: guix-git/doc/guix.texi:33332
  49075. #, no-wrap
  49076. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  49077. msgstr ""
  49078. #. type: table
  49079. #: guix-git/doc/guix.texi:33336
  49080. msgid "The location of the repositories. Note that only public repositories will be shown by Gitile. To make a repository public, add an empty @file{git-daemon-export-ok} file at the root of that repository."
  49081. msgstr ""
  49082. #. type: code{#1}
  49083. #: guix-git/doc/guix.texi:33337
  49084. #, no-wrap
  49085. msgid "base-git-url"
  49086. msgstr ""
  49087. #. type: table
  49088. #: guix-git/doc/guix.texi:33339
  49089. msgid "The base git url that will be used to show clone commands."
  49090. msgstr ""
  49091. #. type: item
  49092. #: guix-git/doc/guix.texi:33340
  49093. #, no-wrap
  49094. msgid "@code{index-title} (default: @code{\"Index\"})"
  49095. msgstr ""
  49096. #. type: table
  49097. #: guix-git/doc/guix.texi:33342
  49098. msgid "The page title for the index page that lists all the available repositories."
  49099. msgstr ""
  49100. #. type: item
  49101. #: guix-git/doc/guix.texi:33343
  49102. #, no-wrap
  49103. msgid "@code{intro} (default: @code{'()})"
  49104. msgstr ""
  49105. #. type: table
  49106. #: guix-git/doc/guix.texi:33346
  49107. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  49108. msgstr ""
  49109. #. type: item
  49110. #: guix-git/doc/guix.texi:33347
  49111. #, no-wrap
  49112. msgid "@code{footer} (default: @code{'()})"
  49113. msgstr ""
  49114. #. type: table
  49115. #: guix-git/doc/guix.texi:33350
  49116. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  49117. msgstr ""
  49118. #. type: code{#1}
  49119. #: guix-git/doc/guix.texi:33351
  49120. #, no-wrap
  49121. msgid "nginx-server-block"
  49122. msgstr ""
  49123. #. type: table
  49124. #: guix-git/doc/guix.texi:33354
  49125. msgid "An nginx server block that will be extended and used as a reverse proxy by Gitile to serve its pages, and as a normal web server to serve its assets."
  49126. msgstr ""
  49127. #. type: table
  49128. #: guix-git/doc/guix.texi:33358
  49129. msgid "You can use this block to add more custom URLs to your domain, such as a @code{/git/} URL for anonymous clones, or serving any other files you would like to serve."
  49130. msgstr ""
  49131. #. type: subsubheading
  49132. #: guix-git/doc/guix.texi:33365
  49133. #, no-wrap
  49134. msgid "The Battle for Wesnoth Service"
  49135. msgstr ""
  49136. #. type: cindex
  49137. #: guix-git/doc/guix.texi:33366
  49138. #, no-wrap
  49139. msgid "wesnothd"
  49140. msgstr ""
  49141. #. type: Plain text
  49142. #: guix-git/doc/guix.texi:33370
  49143. msgid "@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based tactical strategy game, with several single player campaigns, and multiplayer games (both networked and local)."
  49144. msgstr ""
  49145. #. type: defvar
  49146. #: guix-git/doc/guix.texi:33371
  49147. #, no-wrap
  49148. msgid "{Scheme Variable} wesnothd-service-type"
  49149. msgstr ""
  49150. #. type: defvar
  49151. #: guix-git/doc/guix.texi:33375
  49152. msgid "Service type for the wesnothd service. Its value must be a @code{wesnothd-configuration} object. To run wesnothd in the default configuration, instantiate it as:"
  49153. msgstr ""
  49154. #. type: lisp
  49155. #: guix-git/doc/guix.texi:33378
  49156. #, no-wrap
  49157. msgid "(service wesnothd-service-type)\n"
  49158. msgstr ""
  49159. #. type: deftp
  49160. #: guix-git/doc/guix.texi:33381
  49161. #, no-wrap
  49162. msgid "{Data Type} wesnothd-configuration"
  49163. msgstr ""
  49164. #. type: deftp
  49165. #: guix-git/doc/guix.texi:33383
  49166. msgid "Data type representing the configuration of @command{wesnothd}."
  49167. msgstr ""
  49168. #. type: item
  49169. #: guix-git/doc/guix.texi:33385
  49170. #, no-wrap
  49171. msgid "@code{package} (default: @code{wesnoth-server})"
  49172. msgstr ""
  49173. #. type: table
  49174. #: guix-git/doc/guix.texi:33387
  49175. msgid "The wesnoth server package to use."
  49176. msgstr ""
  49177. #. type: item
  49178. #: guix-git/doc/guix.texi:33388
  49179. #, no-wrap
  49180. msgid "@code{port} (default: @code{15000})"
  49181. msgstr ""
  49182. #. type: table
  49183. #: guix-git/doc/guix.texi:33390 guix-git/doc/guix.texi:33781
  49184. msgid "The port to bind the server to."
  49185. msgstr ""
  49186. #. type: cindex
  49187. #: guix-git/doc/guix.texi:33396
  49188. #, no-wrap
  49189. msgid "pam-mount"
  49190. msgstr ""
  49191. #. type: Plain text
  49192. #: guix-git/doc/guix.texi:33401
  49193. msgid "The @code{(gnu services pam-mount)} module provides a service allowing users to mount volumes when they log in. It should be able to mount any volume format supported by the system."
  49194. msgstr ""
  49195. #. type: defvar
  49196. #: guix-git/doc/guix.texi:33402
  49197. #, no-wrap
  49198. msgid "{Scheme Variable} pam-mount-service-type"
  49199. msgstr ""
  49200. #. type: defvar
  49201. #: guix-git/doc/guix.texi:33404
  49202. msgid "Service type for PAM Mount support."
  49203. msgstr ""
  49204. #. type: deftp
  49205. #: guix-git/doc/guix.texi:33406
  49206. #, no-wrap
  49207. msgid "{Data Type} pam-mount-configuration"
  49208. msgstr ""
  49209. #. type: deftp
  49210. #: guix-git/doc/guix.texi:33408
  49211. msgid "Data type representing the configuration of PAM Mount."
  49212. msgstr ""
  49213. #. type: code{#1}
  49214. #: guix-git/doc/guix.texi:33412
  49215. #, no-wrap
  49216. msgid "rules"
  49217. msgstr "rules"
  49218. #. type: table
  49219. #: guix-git/doc/guix.texi:33415
  49220. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  49221. msgstr ""
  49222. #. type: table
  49223. #: guix-git/doc/guix.texi:33419
  49224. msgid "The configuration rules are SXML elements (@pxref{SXML,,, guile, GNU Guile Reference Manual}), and the default ones don't mount anything for anyone at login:"
  49225. msgstr ""
  49226. #. type: lisp
  49227. #: guix-git/doc/guix.texi:33434
  49228. #, no-wrap
  49229. msgid ""
  49230. "`((debug (@@ (enable \"0\")))\n"
  49231. " (mntoptions (@@ (allow ,(string-join\n"
  49232. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49233. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49234. " \"allow_root\" \"allow_other\")\n"
  49235. " \",\"))))\n"
  49236. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49237. " (logout (@@ (wait \"0\")\n"
  49238. " (hup \"0\")\n"
  49239. " (term \"no\")\n"
  49240. " (kill \"no\")))\n"
  49241. " (mkmountpoint (@@ (enable \"1\")\n"
  49242. " (remove \"true\"))))\n"
  49243. msgstr ""
  49244. #. type: table
  49245. #: guix-git/doc/guix.texi:33440
  49246. msgid "Some @code{volume} elements must be added to automatically mount volumes at login. Here's an example allowing the user @code{alice} to mount her encrypted @env{HOME} directory and allowing the user @code{bob} to mount the partition where he stores his data:"
  49247. msgstr ""
  49248. #. type: lisp
  49249. #: guix-git/doc/guix.texi:33465
  49250. #, no-wrap
  49251. msgid ""
  49252. "(define pam-mount-rules\n"
  49253. "`((debug (@@ (enable \"0\")))\n"
  49254. " (volume (@@ (user \"alice\")\n"
  49255. " (fstype \"crypt\")\n"
  49256. " (path \"/dev/sda2\")\n"
  49257. " (mountpoint \"/home/alice\")))\n"
  49258. " (volume (@@ (user \"bob\")\n"
  49259. " (fstype \"auto\")\n"
  49260. " (path \"/dev/sdb3\")\n"
  49261. " (mountpoint \"/home/bob/data\")\n"
  49262. " (options \"defaults,autodefrag,compress\")))\n"
  49263. " (mntoptions (@@ (allow ,(string-join\n"
  49264. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49265. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49266. " \"allow_root\" \"allow_other\")\n"
  49267. " \",\"))))\n"
  49268. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49269. " (logout (@@ (wait \"0\")\n"
  49270. " (hup \"0\")\n"
  49271. " (term \"no\")\n"
  49272. " (kill \"no\")))\n"
  49273. " (mkmountpoint (@@ (enable \"1\")\n"
  49274. " (remove \"true\")))))\n"
  49275. "\n"
  49276. msgstr ""
  49277. #. type: lisp
  49278. #: guix-git/doc/guix.texi:33469
  49279. #, no-wrap
  49280. msgid ""
  49281. "(service pam-mount-service-type\n"
  49282. " (pam-mount-configuration\n"
  49283. " (rules pam-mount-rules)))\n"
  49284. msgstr ""
  49285. #. type: table
  49286. #: guix-git/doc/guix.texi:33473
  49287. msgid "The complete list of possible options can be found in the man page for @uref{http://pam-mount.sourceforge.net/pam_mount.conf.5.html, pam_mount.conf}."
  49288. msgstr ""
  49289. #. type: subsubheading
  49290. #: guix-git/doc/guix.texi:33480
  49291. #, no-wrap
  49292. msgid "Guix Build Coordinator"
  49293. msgstr ""
  49294. #. type: Plain text
  49295. #: guix-git/doc/guix.texi:33486
  49296. msgid "The @uref{https://git.cbaines.net/guix/build-coordinator/,Guix Build Coordinator} aids in distributing derivation builds among machines running an @dfn{agent}. The build daemon is still used to build the derivations, but the Guix Build Coordinator manages allocating builds and working with the results."
  49297. msgstr ""
  49298. #. type: Plain text
  49299. #: guix-git/doc/guix.texi:33492
  49300. msgid "The Guix Build Coordinator consists of one @dfn{coordinator}, and one or more connected @dfn{agent} processes. The coordinator process handles clients submitting builds, and allocating builds to agents. The agent processes talk to a build daemon to actually perform the builds, then send the results back to the coordinator."
  49301. msgstr ""
  49302. #. type: Plain text
  49303. #: guix-git/doc/guix.texi:33496
  49304. msgid "There is a script to run the coordinator component of the Guix Build Coordinator, but the Guix service uses a custom Guile script instead, to provide better integration with G-expressions used in the configuration."
  49305. msgstr ""
  49306. #. type: defvar
  49307. #: guix-git/doc/guix.texi:33497
  49308. #, no-wrap
  49309. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  49310. msgstr ""
  49311. #. type: defvar
  49312. #: guix-git/doc/guix.texi:33500
  49313. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  49314. msgstr ""
  49315. #. type: deftp
  49316. #: guix-git/doc/guix.texi:33502
  49317. #, no-wrap
  49318. msgid "{Data Type} guix-build-coordinator-configuration"
  49319. msgstr ""
  49320. #. type: deftp
  49321. #: guix-git/doc/guix.texi:33504
  49322. msgid "Data type representing the configuration of the Guix Build Coordinator."
  49323. msgstr ""
  49324. #. type: item
  49325. #: guix-git/doc/guix.texi:33506 guix-git/doc/guix.texi:33676
  49326. #, no-wrap
  49327. msgid "@code{package} (default: @code{guix-build-coordinator})"
  49328. msgstr ""
  49329. #. type: table
  49330. #: guix-git/doc/guix.texi:33508 guix-git/doc/guix.texi:33552
  49331. #: guix-git/doc/guix.texi:33678
  49332. msgid "The Guix Build Coordinator package to use."
  49333. msgstr ""
  49334. #. type: item
  49335. #: guix-git/doc/guix.texi:33509
  49336. #, no-wrap
  49337. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  49338. msgstr ""
  49339. #. type: table
  49340. #: guix-git/doc/guix.texi:33511 guix-git/doc/guix.texi:33555
  49341. #: guix-git/doc/guix.texi:33681 guix-git/doc/guix.texi:33727
  49342. #: guix-git/doc/guix.texi:33775
  49343. msgid "The system user to run the service as."
  49344. msgstr ""
  49345. #. type: item
  49346. #: guix-git/doc/guix.texi:33512
  49347. #, no-wrap
  49348. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  49349. msgstr ""
  49350. #. type: table
  49351. #: guix-git/doc/guix.texi:33514 guix-git/doc/guix.texi:33730
  49352. #: guix-git/doc/guix.texi:33778
  49353. msgid "The system group to run the service as."
  49354. msgstr ""
  49355. #. type: item
  49356. #: guix-git/doc/guix.texi:33515
  49357. #, no-wrap
  49358. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  49359. msgstr ""
  49360. #. type: table
  49361. #: guix-git/doc/guix.texi:33517
  49362. msgid "The URI to use for the database."
  49363. msgstr ""
  49364. #. type: item
  49365. #: guix-git/doc/guix.texi:33518
  49366. #, no-wrap
  49367. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  49368. msgstr ""
  49369. #. type: table
  49370. #: guix-git/doc/guix.texi:33520
  49371. msgid "The URI describing how to listen to requests from agent processes."
  49372. msgstr ""
  49373. #. type: item
  49374. #: guix-git/doc/guix.texi:33521
  49375. #, no-wrap
  49376. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  49377. msgstr ""
  49378. #. type: table
  49379. #: guix-git/doc/guix.texi:33525
  49380. msgid "The URI describing how to listen to requests from clients. The client API allows submitting builds and currently isn't authenticated, so take care when configuring this value."
  49381. msgstr ""
  49382. #. type: item
  49383. #: guix-git/doc/guix.texi:33526
  49384. #, no-wrap
  49385. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  49386. msgstr ""
  49387. #. type: table
  49388. #: guix-git/doc/guix.texi:33530
  49389. msgid "A G-expression for the allocation strategy to be used. This is a procedure that takes the datastore as an argument and populates the allocation plan in the database."
  49390. msgstr ""
  49391. #. type: item
  49392. #: guix-git/doc/guix.texi:33531
  49393. #, no-wrap
  49394. msgid "@code{hooks} (default: @var{'()})"
  49395. msgstr ""
  49396. #. type: table
  49397. #: guix-git/doc/guix.texi:33534
  49398. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  49399. msgstr ""
  49400. #. type: item
  49401. #: guix-git/doc/guix.texi:33535
  49402. #, no-wrap
  49403. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  49404. msgstr ""
  49405. #. type: table
  49406. #: guix-git/doc/guix.texi:33537
  49407. msgid "The Guile package with which to run the Guix Build Coordinator."
  49408. msgstr ""
  49409. #. type: defvar
  49410. #: guix-git/doc/guix.texi:33541
  49411. #, no-wrap
  49412. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  49413. msgstr ""
  49414. #. type: defvar
  49415. #: guix-git/doc/guix.texi:33544
  49416. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  49417. msgstr ""
  49418. #. type: deftp
  49419. #: guix-git/doc/guix.texi:33546
  49420. #, no-wrap
  49421. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  49422. msgstr ""
  49423. #. type: deftp
  49424. #: guix-git/doc/guix.texi:33548
  49425. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  49426. msgstr ""
  49427. #. type: item
  49428. #: guix-git/doc/guix.texi:33550
  49429. #, no-wrap
  49430. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  49431. msgstr ""
  49432. #. type: item
  49433. #: guix-git/doc/guix.texi:33553
  49434. #, no-wrap
  49435. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  49436. msgstr ""
  49437. #. type: item
  49438. #: guix-git/doc/guix.texi:33556
  49439. #, no-wrap
  49440. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  49441. msgstr ""
  49442. #. type: table
  49443. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33684
  49444. msgid "The URI to use when connecting to the coordinator."
  49445. msgstr ""
  49446. #. type: code{#1}
  49447. #: guix-git/doc/guix.texi:33559
  49448. #, no-wrap
  49449. msgid "authentication"
  49450. msgstr "authentication"
  49451. #. type: table
  49452. #: guix-git/doc/guix.texi:33562
  49453. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  49454. msgstr ""
  49455. #. type: item
  49456. #: guix-git/doc/guix.texi:33563 guix-git/doc/guix.texi:33685
  49457. #, no-wrap
  49458. msgid "@code{systems} (default: @code{#f})"
  49459. msgstr ""
  49460. #. type: table
  49461. #: guix-git/doc/guix.texi:33566
  49462. msgid "The systems for which this agent should fetch builds. The agent process will use the current system it's running on as the default."
  49463. msgstr ""
  49464. #. type: item
  49465. #: guix-git/doc/guix.texi:33567
  49466. #, no-wrap
  49467. msgid "@code{max-parallel-builds} (default: @code{1})"
  49468. msgstr ""
  49469. #. type: table
  49470. #: guix-git/doc/guix.texi:33569
  49471. msgid "The number of builds to perform in parallel."
  49472. msgstr ""
  49473. #. type: item
  49474. #: guix-git/doc/guix.texi:33570
  49475. #, no-wrap
  49476. msgid "@code{max-1min-load-average} (default: @code{#f})"
  49477. msgstr ""
  49478. #. type: table
  49479. #: guix-git/doc/guix.texi:33574
  49480. msgid "Load average value to look at when considering starting new builds, if the 1 minute load average exceeds this value, the agent will wait before starting new builds."
  49481. msgstr ""
  49482. #. type: table
  49483. #: guix-git/doc/guix.texi:33578
  49484. msgid "This will be unspecified if the value is @code{#f}, and the agent will use the number of cores reported by the system as the max 1 minute load average."
  49485. msgstr ""
  49486. #. type: item
  49487. #: guix-git/doc/guix.texi:33579
  49488. #, no-wrap
  49489. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  49490. msgstr ""
  49491. #. type: table
  49492. #: guix-git/doc/guix.texi:33582
  49493. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  49494. msgstr ""
  49495. #. type: item
  49496. #: guix-git/doc/guix.texi:33583
  49497. #, no-wrap
  49498. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  49499. msgstr ""
  49500. #. type: table
  49501. #: guix-git/doc/guix.texi:33586
  49502. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  49503. msgstr ""
  49504. #. type: deftp
  49505. #: guix-git/doc/guix.texi:33590
  49506. #, no-wrap
  49507. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  49508. msgstr ""
  49509. #. type: deftp
  49510. #: guix-git/doc/guix.texi:33593
  49511. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  49512. msgstr ""
  49513. #. type: table
  49514. #: guix-git/doc/guix.texi:33599 guix-git/doc/guix.texi:33615
  49515. msgid "The UUID of the agent. This should be generated by the coordinator process, stored in the coordinator database, and used by the intended agent."
  49516. msgstr ""
  49517. #. type: table
  49518. #: guix-git/doc/guix.texi:33602
  49519. msgid "The password to use when connecting to the coordinator."
  49520. msgstr ""
  49521. #. type: deftp
  49522. #: guix-git/doc/guix.texi:33606
  49523. #, no-wrap
  49524. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  49525. msgstr ""
  49526. #. type: deftp
  49527. #: guix-git/doc/guix.texi:33609
  49528. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  49529. msgstr ""
  49530. #. type: code{#1}
  49531. #: guix-git/doc/guix.texi:33616
  49532. #, no-wrap
  49533. msgid "password-file"
  49534. msgstr ""
  49535. #. type: table
  49536. #: guix-git/doc/guix.texi:33619
  49537. msgid "A file containing the password to use when connecting to the coordinator."
  49538. msgstr ""
  49539. #. type: deftp
  49540. #: guix-git/doc/guix.texi:33623
  49541. #, no-wrap
  49542. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  49543. msgstr ""
  49544. #. type: deftp
  49545. #: guix-git/doc/guix.texi:33626
  49546. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  49547. msgstr ""
  49548. #. type: code{#1}
  49549. #: guix-git/doc/guix.texi:33628 guix-git/doc/guix.texi:33645
  49550. #, no-wrap
  49551. msgid "agent-name"
  49552. msgstr ""
  49553. #. type: table
  49554. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33649
  49555. msgid "Name of an agent, this is used to match up to an existing entry in the database if there is one. When no existing entry is found, a new entry is automatically added."
  49556. msgstr ""
  49557. #. type: code{#1}
  49558. #: guix-git/doc/guix.texi:33633
  49559. #, no-wrap
  49560. msgid "token"
  49561. msgstr ""
  49562. #. type: table
  49563. #: guix-git/doc/guix.texi:33636
  49564. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49565. msgstr ""
  49566. #. type: deftp
  49567. #: guix-git/doc/guix.texi:33640
  49568. #, no-wrap
  49569. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  49570. msgstr ""
  49571. #. type: deftp
  49572. #: guix-git/doc/guix.texi:33643
  49573. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  49574. msgstr ""
  49575. #. type: code{#1}
  49576. #: guix-git/doc/guix.texi:33650
  49577. #, no-wrap
  49578. msgid "token-file"
  49579. msgstr ""
  49580. #. type: table
  49581. #: guix-git/doc/guix.texi:33653
  49582. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49583. msgstr ""
  49584. #. type: Plain text
  49585. #: guix-git/doc/guix.texi:33663
  49586. msgid "The Guix Build Coordinator package contains a script to query an instance of the Guix Data Service for derivations to build, and then submit builds for those derivations to the coordinator. The service type below assists in running this script. This is an additional tool that may be useful when building derivations contained within an instance of the Guix Data Service."
  49587. msgstr ""
  49588. #. type: defvar
  49589. #: guix-git/doc/guix.texi:33664
  49590. #, no-wrap
  49591. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  49592. msgstr ""
  49593. #. type: defvar
  49594. #: guix-git/doc/guix.texi:33669
  49595. msgid "Service type for the guix-build-coordinator-queue-builds-from-guix-data-service script. Its value must be a @code{guix-build-coordinator-queue-builds-configuration} object."
  49596. msgstr ""
  49597. #. type: deftp
  49598. #: guix-git/doc/guix.texi:33671
  49599. #, no-wrap
  49600. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  49601. msgstr ""
  49602. #. type: deftp
  49603. #: guix-git/doc/guix.texi:33674
  49604. msgid "Data type representing the options to the queue builds from guix data service script."
  49605. msgstr ""
  49606. #. type: item
  49607. #: guix-git/doc/guix.texi:33679
  49608. #, no-wrap
  49609. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  49610. msgstr ""
  49611. #. type: item
  49612. #: guix-git/doc/guix.texi:33682
  49613. #, no-wrap
  49614. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  49615. msgstr ""
  49616. #. type: table
  49617. #: guix-git/doc/guix.texi:33687
  49618. msgid "The systems for which to fetch derivations to build."
  49619. msgstr ""
  49620. #. type: item
  49621. #: guix-git/doc/guix.texi:33688
  49622. #, no-wrap
  49623. msgid "@code{systems-and-targets} (default: @code{#f})"
  49624. msgstr ""
  49625. #. type: table
  49626. #: guix-git/doc/guix.texi:33691
  49627. msgid "An association list of system and target pairs for which to fetch derivations to build."
  49628. msgstr ""
  49629. #. type: item
  49630. #: guix-git/doc/guix.texi:33692
  49631. #, no-wrap
  49632. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  49633. msgstr ""
  49634. #. type: table
  49635. #: guix-git/doc/guix.texi:33695
  49636. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  49637. msgstr ""
  49638. #. type: item
  49639. #: guix-git/doc/guix.texi:33696
  49640. #, no-wrap
  49641. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  49642. msgstr ""
  49643. #. type: table
  49644. #: guix-git/doc/guix.texi:33699
  49645. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  49646. msgstr ""
  49647. #. type: subsubheading
  49648. #: guix-git/doc/guix.texi:33703
  49649. #, no-wrap
  49650. msgid "Guix Data Service"
  49651. msgstr ""
  49652. #. type: Plain text
  49653. #: guix-git/doc/guix.texi:33707
  49654. msgid "The @uref{http://data.guix.gnu.org,Guix Data Service} processes, stores and provides data about GNU Guix. This includes information about packages, derivations and lint warnings."
  49655. msgstr ""
  49656. #. type: Plain text
  49657. #: guix-git/doc/guix.texi:33710
  49658. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  49659. msgstr ""
  49660. #. type: defvar
  49661. #: guix-git/doc/guix.texi:33711
  49662. #, no-wrap
  49663. msgid "{Scheme Variable} guix-data-service-type"
  49664. msgstr ""
  49665. #. type: defvar
  49666. #: guix-git/doc/guix.texi:33716
  49667. msgid "Service type for the Guix Data Service. Its value must be a @code{guix-data-service-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  49668. msgstr ""
  49669. #. type: deftp
  49670. #: guix-git/doc/guix.texi:33718
  49671. #, no-wrap
  49672. msgid "{Data Type} guix-data-service-configuration"
  49673. msgstr ""
  49674. #. type: deftp
  49675. #: guix-git/doc/guix.texi:33720 guix-git/doc/guix.texi:33768
  49676. msgid "Data type representing the configuration of the Guix Data Service."
  49677. msgstr ""
  49678. #. type: item
  49679. #: guix-git/doc/guix.texi:33722
  49680. #, no-wrap
  49681. msgid "@code{package} (default: @code{guix-data-service})"
  49682. msgstr ""
  49683. #. type: table
  49684. #: guix-git/doc/guix.texi:33724
  49685. msgid "The Guix Data Service package to use."
  49686. msgstr ""
  49687. #. type: item
  49688. #: guix-git/doc/guix.texi:33725
  49689. #, no-wrap
  49690. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  49691. msgstr ""
  49692. #. type: item
  49693. #: guix-git/doc/guix.texi:33728
  49694. #, no-wrap
  49695. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  49696. msgstr ""
  49697. #. type: item
  49698. #: guix-git/doc/guix.texi:33731
  49699. #, no-wrap
  49700. msgid "@code{port} (default: @code{8765})"
  49701. msgstr ""
  49702. #. type: table
  49703. #: guix-git/doc/guix.texi:33733
  49704. msgid "The port to bind the web service to."
  49705. msgstr ""
  49706. #. type: item
  49707. #: guix-git/doc/guix.texi:33734 guix-git/doc/guix.texi:33782
  49708. #, no-wrap
  49709. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  49710. msgstr ""
  49711. #. type: table
  49712. #: guix-git/doc/guix.texi:33736
  49713. msgid "The host to bind the web service to."
  49714. msgstr ""
  49715. #. type: item
  49716. #: guix-git/doc/guix.texi:33737
  49717. #, no-wrap
  49718. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  49719. msgstr ""
  49720. #. type: table
  49721. #: guix-git/doc/guix.texi:33740
  49722. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  49723. msgstr ""
  49724. #. type: item
  49725. #: guix-git/doc/guix.texi:33741
  49726. #, no-wrap
  49727. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  49728. msgstr ""
  49729. #. type: table
  49730. #: guix-git/doc/guix.texi:33745
  49731. msgid "If set, this is the @code{getmail-retriever-configuration} object with which to configure getmail to fetch mail from the guix-commits mailing list."
  49732. msgstr ""
  49733. #. type: item
  49734. #: guix-git/doc/guix.texi:33746
  49735. #, no-wrap
  49736. msgid "@code{extra-options} (default: @var{'()})"
  49737. msgstr ""
  49738. #. type: table
  49739. #: guix-git/doc/guix.texi:33748
  49740. msgid "Extra command line options for @code{guix-data-service}."
  49741. msgstr ""
  49742. #. type: item
  49743. #: guix-git/doc/guix.texi:33749
  49744. #, no-wrap
  49745. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49746. msgstr ""
  49747. #. type: table
  49748. #: guix-git/doc/guix.texi:33751
  49749. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49750. msgstr ""
  49751. #. type: subsubheading
  49752. #: guix-git/doc/guix.texi:33755
  49753. #, no-wrap
  49754. msgid "Nar Herder"
  49755. msgstr ""
  49756. #. type: Plain text
  49757. #: guix-git/doc/guix.texi:33758
  49758. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  49759. msgstr ""
  49760. #. type: defvar
  49761. #: guix-git/doc/guix.texi:33759
  49762. #, no-wrap
  49763. msgid "{Scheme Variable} nar-herder-type"
  49764. msgstr ""
  49765. #. type: defvar
  49766. #: guix-git/doc/guix.texi:33764
  49767. msgid "Service type for the Guix Data Service. Its value must be a @code{nar-herder-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  49768. msgstr ""
  49769. #. type: deftp
  49770. #: guix-git/doc/guix.texi:33766
  49771. #, fuzzy, no-wrap
  49772. #| msgid "{Data Type} home-shepherd-configuration"
  49773. msgid "{Data Type} nar-herder-configuration"
  49774. msgstr "{Druh údajov} home-shepherd-configuration"
  49775. #. type: item
  49776. #: guix-git/doc/guix.texi:33770
  49777. #, no-wrap
  49778. msgid "@code{package} (default: @code{nar-herder})"
  49779. msgstr ""
  49780. #. type: table
  49781. #: guix-git/doc/guix.texi:33772
  49782. msgid "The Nar Herder package to use."
  49783. msgstr ""
  49784. #. type: item
  49785. #: guix-git/doc/guix.texi:33773
  49786. #, no-wrap
  49787. msgid "@code{user} (default: @code{\"nar-herder\"})"
  49788. msgstr ""
  49789. #. type: item
  49790. #: guix-git/doc/guix.texi:33776
  49791. #, no-wrap
  49792. msgid "@code{group} (default: @code{\"nar-herder\"})"
  49793. msgstr ""
  49794. #. type: item
  49795. #: guix-git/doc/guix.texi:33779
  49796. #, no-wrap
  49797. msgid "@code{port} (default: @code{8734})"
  49798. msgstr ""
  49799. #. type: table
  49800. #: guix-git/doc/guix.texi:33784
  49801. msgid "The host to bind the server to."
  49802. msgstr ""
  49803. #. type: table
  49804. #: guix-git/doc/guix.texi:33789
  49805. msgid "Optional URL of the other Nar Herder instance which should be mirrored. This means that this Nar Herder instance will download it's database, and keep it up to date."
  49806. msgstr ""
  49807. #. type: item
  49808. #: guix-git/doc/guix.texi:33790
  49809. #, no-wrap
  49810. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  49811. msgstr ""
  49812. #. type: table
  49813. #: guix-git/doc/guix.texi:33795
  49814. msgid "Location for the database. If this Nar Herder instance is mirroring another, the database will be downloaded if it doesn't exist. If this Nar Herder instance isn't mirroring another, an empty database will be created."
  49815. msgstr ""
  49816. #. type: item
  49817. #: guix-git/doc/guix.texi:33796
  49818. #, no-wrap
  49819. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  49820. msgstr ""
  49821. #. type: table
  49822. #: guix-git/doc/guix.texi:33800
  49823. msgid "Location of the database dump. This is created and regularly updated by taking a copy of the database. This is the version of the database that is available to download."
  49824. msgstr ""
  49825. #. type: item
  49826. #: guix-git/doc/guix.texi:33801
  49827. #, no-wrap
  49828. msgid "@code{storage} (default: @code{#f})"
  49829. msgstr ""
  49830. #. type: table
  49831. #: guix-git/doc/guix.texi:33803
  49832. msgid "Optional location in which to store nars."
  49833. msgstr ""
  49834. #. type: item
  49835. #: guix-git/doc/guix.texi:33804
  49836. #, no-wrap
  49837. msgid "@code{storage-limit} (default: @code{\"none\"})"
  49838. msgstr ""
  49839. #. type: table
  49840. #: guix-git/doc/guix.texi:33807
  49841. msgid "Limit in bytes for the nars stored in the storage location. This can also be set to ``none'' so that there is no limit."
  49842. msgstr ""
  49843. #. type: table
  49844. #: guix-git/doc/guix.texi:33810
  49845. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  49846. msgstr ""
  49847. #. type: item
  49848. #: guix-git/doc/guix.texi:33811
  49849. #, no-wrap
  49850. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  49851. msgstr ""
  49852. #. type: table
  49853. #: guix-git/doc/guix.texi:33814
  49854. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  49855. msgstr ""
  49856. #. type: table
  49857. #: guix-git/doc/guix.texi:33819
  49858. msgid "When the storage location exceeds the storage limit size, nars will be checked against the nar removal criteria and if any of the criteria match, they will be removed. This will continue until the storage location is below the storage limit size."
  49859. msgstr ""
  49860. #. type: table
  49861. #: guix-git/doc/guix.texi:33823
  49862. msgid "Each criteria is specified by a string, then an equals sign, then another string. Currently, only one criteria is supported, checking if a nar is stored on another Nar Herder instance."
  49863. msgstr ""
  49864. #. type: table
  49865. #: guix-git/doc/guix.texi:33831
  49866. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  49867. msgstr ""
  49868. #. type: cindex
  49869. #: guix-git/doc/guix.texi:33844
  49870. #, no-wrap
  49871. msgid "oom"
  49872. msgstr ""
  49873. #. type: cindex
  49874. #: guix-git/doc/guix.texi:33845
  49875. #, no-wrap
  49876. msgid "out of memory killer"
  49877. msgstr ""
  49878. #. type: cindex
  49879. #: guix-git/doc/guix.texi:33846
  49880. #, no-wrap
  49881. msgid "earlyoom"
  49882. msgstr ""
  49883. #. type: cindex
  49884. #: guix-git/doc/guix.texi:33847
  49885. #, no-wrap
  49886. msgid "early out of memory daemon"
  49887. msgstr ""
  49888. #. type: subsubheading
  49889. #: guix-git/doc/guix.texi:33848
  49890. #, no-wrap
  49891. msgid "Early OOM Service"
  49892. msgstr ""
  49893. #. type: Plain text
  49894. #: guix-git/doc/guix.texi:33855
  49895. msgid "@uref{https://github.com/rfjakob/earlyoom,Early OOM}, also known as Earlyoom, is a minimalist out of memory (OOM) daemon that runs in user space and provides a more responsive and configurable alternative to the in-kernel OOM killer. It is useful to prevent the system from becoming unresponsive when it runs out of memory."
  49896. msgstr ""
  49897. #. type: deffn
  49898. #: guix-git/doc/guix.texi:33856
  49899. #, no-wrap
  49900. msgid "{Scheme Variable} earlyoom-service-type"
  49901. msgstr ""
  49902. #. type: deffn
  49903. #: guix-git/doc/guix.texi:33861
  49904. msgid "The service type for running @command{earlyoom}, the Early OOM daemon. Its value must be a @code{earlyoom-configuration} object, described below. The service can be instantiated in its default configuration with:"
  49905. msgstr ""
  49906. #. type: lisp
  49907. #: guix-git/doc/guix.texi:33864
  49908. #, no-wrap
  49909. msgid "(service earlyoom-service-type)\n"
  49910. msgstr ""
  49911. #. type: deftp
  49912. #: guix-git/doc/guix.texi:33867
  49913. #, no-wrap
  49914. msgid "{Data Type} earlyoom-configuration"
  49915. msgstr ""
  49916. #. type: deftp
  49917. #: guix-git/doc/guix.texi:33869
  49918. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49919. msgstr ""
  49920. #. type: item
  49921. #: guix-git/doc/guix.texi:33871
  49922. #, no-wrap
  49923. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49924. msgstr ""
  49925. #. type: table
  49926. #: guix-git/doc/guix.texi:33873
  49927. msgid "The Earlyoom package to use."
  49928. msgstr ""
  49929. #. type: item
  49930. #: guix-git/doc/guix.texi:33874
  49931. #, no-wrap
  49932. msgid "@code{minimum-available-memory} (default: @code{10})"
  49933. msgstr ""
  49934. #. type: table
  49935. #: guix-git/doc/guix.texi:33876
  49936. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49937. msgstr ""
  49938. #. type: item
  49939. #: guix-git/doc/guix.texi:33877
  49940. #, no-wrap
  49941. msgid "@code{minimum-free-swap} (default: @code{10})"
  49942. msgstr ""
  49943. #. type: table
  49944. #: guix-git/doc/guix.texi:33879
  49945. msgid "The threshold for the minimum free swap memory, in percentages."
  49946. msgstr ""
  49947. #. type: item
  49948. #: guix-git/doc/guix.texi:33880
  49949. #, no-wrap
  49950. msgid "@code{prefer-regexp} (default: @code{#f})"
  49951. msgstr ""
  49952. #. type: table
  49953. #: guix-git/doc/guix.texi:33883
  49954. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49955. msgstr ""
  49956. #. type: item
  49957. #: guix-git/doc/guix.texi:33884
  49958. #, no-wrap
  49959. msgid "@code{avoid-regexp} (default: @code{#f})"
  49960. msgstr ""
  49961. #. type: table
  49962. #: guix-git/doc/guix.texi:33887
  49963. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49964. msgstr ""
  49965. #. type: item
  49966. #: guix-git/doc/guix.texi:33888
  49967. #, no-wrap
  49968. msgid "@code{memory-report-interval} (default: @code{0})"
  49969. msgstr ""
  49970. #. type: table
  49971. #: guix-git/doc/guix.texi:33891
  49972. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49973. msgstr ""
  49974. #. type: item
  49975. #: guix-git/doc/guix.texi:33892
  49976. #, no-wrap
  49977. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49978. msgstr ""
  49979. #. type: table
  49980. #: guix-git/doc/guix.texi:33895
  49981. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49982. msgstr ""
  49983. #. type: item
  49984. #: guix-git/doc/guix.texi:33896
  49985. #, no-wrap
  49986. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49987. msgstr ""
  49988. #. type: table
  49989. #: guix-git/doc/guix.texi:33899
  49990. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49991. msgstr ""
  49992. #. type: item
  49993. #: guix-git/doc/guix.texi:33900
  49994. #, no-wrap
  49995. msgid "@code{send-notification-command} (default: @code{#f})"
  49996. msgstr ""
  49997. #. type: table
  49998. #: guix-git/doc/guix.texi:33903
  49999. msgid "This can be used to provide a custom command used for sending notifications."
  50000. msgstr ""
  50001. #. type: cindex
  50002. #: guix-git/doc/guix.texi:33906
  50003. #, no-wrap
  50004. msgid "modprobe"
  50005. msgstr ""
  50006. #. type: cindex
  50007. #: guix-git/doc/guix.texi:33907
  50008. #, no-wrap
  50009. msgid "kernel module loader"
  50010. msgstr ""
  50011. #. type: subsubheading
  50012. #: guix-git/doc/guix.texi:33908
  50013. #, no-wrap
  50014. msgid "Kernel Module Loader Service"
  50015. msgstr ""
  50016. #. type: Plain text
  50017. #: guix-git/doc/guix.texi:33914
  50018. msgid "The kernel module loader service allows one to load loadable kernel modules at boot. This is especially useful for modules that don't autoload and need to be manually loaded, as is the case with @code{ddcci}."
  50019. msgstr ""
  50020. #. type: deffn
  50021. #: guix-git/doc/guix.texi:33915
  50022. #, no-wrap
  50023. msgid "{Scheme Variable} kernel-module-loader-service-type"
  50024. msgstr ""
  50025. #. type: deffn
  50026. #: guix-git/doc/guix.texi:33921
  50027. msgid "The service type for loading loadable kernel modules at boot with @command{modprobe}. Its value must be a list of strings representing module names. For example loading the drivers provided by @code{ddcci-driver-linux}, in debugging mode by passing some module parameters, can be done as follow:"
  50028. msgstr ""
  50029. #. type: lisp
  50030. #: guix-git/doc/guix.texi:33926
  50031. #, no-wrap
  50032. msgid ""
  50033. "(use-modules (gnu) (gnu services))\n"
  50034. "(use-package-modules linux)\n"
  50035. "(use-service-modules linux)\n"
  50036. "\n"
  50037. msgstr ""
  50038. #. type: lisp
  50039. #: guix-git/doc/guix.texi:33930
  50040. #, no-wrap
  50041. msgid ""
  50042. "(define ddcci-config\n"
  50043. " (plain-file \"ddcci.conf\"\n"
  50044. " \"options ddcci dyndbg delay=120\"))\n"
  50045. "\n"
  50046. msgstr ""
  50047. #. type: lisp
  50048. #: guix-git/doc/guix.texi:33940
  50049. #, no-wrap
  50050. msgid ""
  50051. "(operating-system\n"
  50052. " ...\n"
  50053. " (services (cons* (service kernel-module-loader-service-type\n"
  50054. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  50055. " (simple-service 'ddcci-config etc-service-type\n"
  50056. " (list `(\"modprobe.d/ddcci.conf\"\n"
  50057. " ,ddcci-config)))\n"
  50058. " %base-services))\n"
  50059. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  50060. msgstr ""
  50061. #. type: cindex
  50062. #: guix-git/doc/guix.texi:33943
  50063. #, no-wrap
  50064. msgid "rasdaemon"
  50065. msgstr ""
  50066. #. type: cindex
  50067. #: guix-git/doc/guix.texi:33944
  50068. #, no-wrap
  50069. msgid "Platform Reliability, Availability and Serviceability daemon"
  50070. msgstr ""
  50071. #. type: subsubheading
  50072. #: guix-git/doc/guix.texi:33945
  50073. #, no-wrap
  50074. msgid "Rasdaemon Service"
  50075. msgstr ""
  50076. #. type: Plain text
  50077. #: guix-git/doc/guix.texi:33950
  50078. msgid "The Rasdaemon service provides a daemon which monitors platform @acronym{RAS, Reliability@comma{} Availability@comma{} and Serviceability} reports from Linux kernel trace events, logging them to syslogd."
  50079. msgstr ""
  50080. #. type: Plain text
  50081. #: guix-git/doc/guix.texi:33953
  50082. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  50083. msgstr ""
  50084. #. type: Plain text
  50085. #: guix-git/doc/guix.texi:33956
  50086. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  50087. msgstr ""
  50088. #. type: item
  50089. #: guix-git/doc/guix.texi:33958
  50090. #, no-wrap
  50091. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  50092. msgstr ""
  50093. #. type: item
  50094. #: guix-git/doc/guix.texi:33959
  50095. #, no-wrap
  50096. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  50097. msgstr ""
  50098. #. type: itemize
  50099. #: guix-git/doc/guix.texi:33961
  50100. msgid "faults"
  50101. msgstr ""
  50102. #. type: Plain text
  50103. #: guix-git/doc/guix.texi:33965
  50104. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  50105. msgstr ""
  50106. #. type: item
  50107. #: guix-git/doc/guix.texi:33967
  50108. #, no-wrap
  50109. msgid "Generally measured as a percentage of downtime per a period of time, and"
  50110. msgstr ""
  50111. #. type: item
  50112. #: guix-git/doc/guix.texi:33968
  50113. #, no-wrap
  50114. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  50115. msgstr ""
  50116. #. type: Plain text
  50117. #: guix-git/doc/guix.texi:33973
  50118. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  50119. msgstr ""
  50120. #. type: item
  50121. #: guix-git/doc/guix.texi:33975
  50122. #, no-wrap
  50123. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  50124. msgstr ""
  50125. #. type: Plain text
  50126. #: guix-git/doc/guix.texi:33980
  50127. msgid "Among the monitoring measures, the most usual ones include:"
  50128. msgstr ""
  50129. #. type: item
  50130. #: guix-git/doc/guix.texi:33982
  50131. #, no-wrap
  50132. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  50133. msgstr ""
  50134. #. type: item
  50135. #: guix-git/doc/guix.texi:33983
  50136. #, no-wrap
  50137. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  50138. msgstr ""
  50139. #. type: item
  50140. #: guix-git/doc/guix.texi:33984
  50141. #, no-wrap
  50142. msgid "I/O – add CRC checksums for transferred data;"
  50143. msgstr ""
  50144. #. type: item
  50145. #: guix-git/doc/guix.texi:33985
  50146. #, no-wrap
  50147. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  50148. msgstr ""
  50149. #. type: itemize
  50150. #: guix-git/doc/guix.texi:33987
  50151. msgid "Analysis and Reporting Technology (SMART)."
  50152. msgstr ""
  50153. #. type: Plain text
  50154. #: guix-git/doc/guix.texi:33993
  50155. msgid "By monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable."
  50156. msgstr ""
  50157. #. type: Plain text
  50158. #: guix-git/doc/guix.texi:33997
  50159. msgid "For detailed information about the types of error events gathered and how to make sense of them, see the kernel administrator's guide at @url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}."
  50160. msgstr ""
  50161. #. type: defvr
  50162. #: guix-git/doc/guix.texi:33998
  50163. #, no-wrap
  50164. msgid "{Scheme Variable} rasdaemon-service-type"
  50165. msgstr ""
  50166. #. type: defvr
  50167. #: guix-git/doc/guix.texi:34001
  50168. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  50169. msgstr ""
  50170. #. type: lisp
  50171. #: guix-git/doc/guix.texi:34004
  50172. #, no-wrap
  50173. msgid "(service rasdaemon-service-type)\n"
  50174. msgstr ""
  50175. #. type: defvr
  50176. #: guix-git/doc/guix.texi:34008
  50177. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  50178. msgstr ""
  50179. #. type: deftp
  50180. #: guix-git/doc/guix.texi:34010
  50181. #, no-wrap
  50182. msgid "{Data Type} rasdaemon-configuration"
  50183. msgstr ""
  50184. #. type: deftp
  50185. #: guix-git/doc/guix.texi:34012
  50186. msgid "The data type representing the configuration of @command{rasdaemon}."
  50187. msgstr ""
  50188. #. type: item
  50189. #: guix-git/doc/guix.texi:34014
  50190. #, no-wrap
  50191. msgid "@code{record?} (default: @code{#f})"
  50192. msgstr ""
  50193. #. type: table
  50194. #: guix-git/doc/guix.texi:34019
  50195. msgid "A boolean indicating whether to record the events in an SQLite database. This provides a more structured access to the information contained in the log file. The database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_event.db}."
  50196. msgstr ""
  50197. #. type: cindex
  50198. #: guix-git/doc/guix.texi:34023
  50199. #, no-wrap
  50200. msgid "zram"
  50201. msgstr ""
  50202. #. type: cindex
  50203. #: guix-git/doc/guix.texi:34024
  50204. #, no-wrap
  50205. msgid "compressed swap"
  50206. msgstr ""
  50207. #. type: cindex
  50208. #: guix-git/doc/guix.texi:34025
  50209. #, no-wrap
  50210. msgid "Compressed RAM-based block devices"
  50211. msgstr ""
  50212. #. type: subsubheading
  50213. #: guix-git/doc/guix.texi:34026
  50214. #, no-wrap
  50215. msgid "Zram Device Service"
  50216. msgstr ""
  50217. #. type: Plain text
  50218. #: guix-git/doc/guix.texi:34032
  50219. msgid "The Zram device service provides a compressed swap device in system memory. The Linux Kernel documentation has more information about @uref{https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html,zram} devices."
  50220. msgstr ""
  50221. #. type: deffn
  50222. #: guix-git/doc/guix.texi:34033
  50223. #, no-wrap
  50224. msgid "{Scheme Variable} zram-device-service-type"
  50225. msgstr ""
  50226. #. type: deffn
  50227. #: guix-git/doc/guix.texi:34037
  50228. msgid "This service creates the zram block device, formats it as swap and enables it as a swap device. The service's value is a @code{zram-device-configuration} record."
  50229. msgstr ""
  50230. #. type: deftp
  50231. #: guix-git/doc/guix.texi:34038
  50232. #, no-wrap
  50233. msgid "{Data Type} zram-device-configuration"
  50234. msgstr ""
  50235. #. type: deftp
  50236. #: guix-git/doc/guix.texi:34041
  50237. msgid "This is the data type representing the configuration for the zram-device service."
  50238. msgstr ""
  50239. #. type: item
  50240. #: guix-git/doc/guix.texi:34043
  50241. #, no-wrap
  50242. msgid "@code{size} (default @code{\"1G\"})"
  50243. msgstr ""
  50244. #. type: table
  50245. #: guix-git/doc/guix.texi:34047
  50246. msgid "This is the amount of space you wish to provide for the zram device. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"512M\"} or @code{1024000}."
  50247. msgstr ""
  50248. #. type: item
  50249. #: guix-git/doc/guix.texi:34047
  50250. #, no-wrap
  50251. msgid "@code{compression-algorithm} (default @code{'lzo})"
  50252. msgstr ""
  50253. #. type: table
  50254. #: guix-git/doc/guix.texi:34051
  50255. msgid "This is the compression algorithm you wish to use. It is difficult to list all the possible compression options, but common ones supported by Guix's Linux Libre Kernel include @code{'lzo}, @code{'lz4} and @code{'zstd}."
  50256. msgstr ""
  50257. #. type: item
  50258. #: guix-git/doc/guix.texi:34051
  50259. #, no-wrap
  50260. msgid "@code{memory-limit} (default @code{0})"
  50261. msgstr ""
  50262. #. type: table
  50263. #: guix-git/doc/guix.texi:34058
  50264. msgid "This is the maximum amount of memory which the zram device can use. Setting it to '0' disables the limit. While it is generally expected that compression will be 2:1, it is possible that uncompressable data can be written to swap and this is a method to limit how much memory can be used. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"2G\"}."
  50265. msgstr ""
  50266. #. type: item
  50267. #: guix-git/doc/guix.texi:34058
  50268. #, no-wrap
  50269. msgid "@code{priority} (default @code{-1})"
  50270. msgstr ""
  50271. #. type: table
  50272. #: guix-git/doc/guix.texi:34063
  50273. msgid "This is the priority of the swap device created from the zram device. @code{swapon} accepts values between -1 and 32767, with higher values indicating higher priority. Higher priority swap will generally be used first."
  50274. msgstr ""
  50275. #. type: defvr
  50276. #: guix-git/doc/guix.texi:34071
  50277. #, no-wrap
  50278. msgid "{Scheme Variable} hurd-console-service-type"
  50279. msgstr ""
  50280. #. type: defvr
  50281. #: guix-git/doc/guix.texi:34073
  50282. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  50283. msgstr ""
  50284. #. type: defvr
  50285. #: guix-git/doc/guix.texi:34075
  50286. msgid "The service's value is a @code{hurd-console-configuration} record."
  50287. msgstr ""
  50288. #. type: deftp
  50289. #: guix-git/doc/guix.texi:34077
  50290. #, no-wrap
  50291. msgid "{Data Type} hurd-console-configuration"
  50292. msgstr ""
  50293. #. type: deftp
  50294. #: guix-git/doc/guix.texi:34080
  50295. msgid "This is the data type representing the configuration for the hurd-console-service."
  50296. msgstr ""
  50297. #. type: item
  50298. #: guix-git/doc/guix.texi:34082 guix-git/doc/guix.texi:34098
  50299. #, no-wrap
  50300. msgid "@code{hurd} (default: @var{hurd})"
  50301. msgstr ""
  50302. #. type: table
  50303. #: guix-git/doc/guix.texi:34084 guix-git/doc/guix.texi:34100
  50304. msgid "The Hurd package to use."
  50305. msgstr ""
  50306. #. type: defvr
  50307. #: guix-git/doc/guix.texi:34087
  50308. #, no-wrap
  50309. msgid "{Scheme Variable} hurd-getty-service-type"
  50310. msgstr ""
  50311. #. type: defvr
  50312. #: guix-git/doc/guix.texi:34089
  50313. msgid "This service starts a tty using the Hurd @code{getty} program."
  50314. msgstr ""
  50315. #. type: defvr
  50316. #: guix-git/doc/guix.texi:34091
  50317. msgid "The service's value is a @code{hurd-getty-configuration} record."
  50318. msgstr ""
  50319. #. type: deftp
  50320. #: guix-git/doc/guix.texi:34093
  50321. #, no-wrap
  50322. msgid "{Data Type} hurd-getty-configuration"
  50323. msgstr ""
  50324. #. type: deftp
  50325. #: guix-git/doc/guix.texi:34096
  50326. msgid "This is the data type representing the configuration for the hurd-getty-service."
  50327. msgstr ""
  50328. #. type: table
  50329. #: guix-git/doc/guix.texi:34103
  50330. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  50331. msgstr ""
  50332. #. type: item
  50333. #: guix-git/doc/guix.texi:34104
  50334. #, no-wrap
  50335. msgid "@code{baud-rate} (default: @code{38400})"
  50336. msgstr ""
  50337. #. type: table
  50338. #: guix-git/doc/guix.texi:34106
  50339. msgid "An integer specifying the baud rate of the tty."
  50340. msgstr ""
  50341. #. type: cindex
  50342. #: guix-git/doc/guix.texi:34113
  50343. #, no-wrap
  50344. msgid "fingerprint"
  50345. msgstr "odtlačok prsta"
  50346. #. type: subsubheading
  50347. #: guix-git/doc/guix.texi:34114
  50348. #, no-wrap
  50349. msgid "Fingerprint Service"
  50350. msgstr ""
  50351. #. type: Plain text
  50352. #: guix-git/doc/guix.texi:34118
  50353. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  50354. msgstr ""
  50355. #. type: defvr
  50356. #: guix-git/doc/guix.texi:34119
  50357. #, no-wrap
  50358. msgid "{Scheme Variable} fprintd-service-type"
  50359. msgstr ""
  50360. #. type: defvr
  50361. #: guix-git/doc/guix.texi:34122
  50362. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  50363. msgstr ""
  50364. #. type: lisp
  50365. #: guix-git/doc/guix.texi:34125
  50366. #, no-wrap
  50367. msgid "(service fprintd-service-type)\n"
  50368. msgstr ""
  50369. #. type: cindex
  50370. #: guix-git/doc/guix.texi:34128
  50371. #, no-wrap
  50372. msgid "sysctl"
  50373. msgstr ""
  50374. #. type: subsubheading
  50375. #: guix-git/doc/guix.texi:34129
  50376. #, no-wrap
  50377. msgid "System Control Service"
  50378. msgstr ""
  50379. #. type: Plain text
  50380. #: guix-git/doc/guix.texi:34133
  50381. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  50382. msgstr ""
  50383. #. type: defvr
  50384. #: guix-git/doc/guix.texi:34134
  50385. #, no-wrap
  50386. msgid "{Scheme Variable} sysctl-service-type"
  50387. msgstr ""
  50388. #. type: defvr
  50389. #: guix-git/doc/guix.texi:34138
  50390. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  50391. msgstr ""
  50392. #. type: lisp
  50393. #: guix-git/doc/guix.texi:34143
  50394. #, no-wrap
  50395. msgid ""
  50396. "(service sysctl-service-type\n"
  50397. " (sysctl-configuration\n"
  50398. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  50399. msgstr ""
  50400. #. type: defvr
  50401. #: guix-git/doc/guix.texi:34150
  50402. msgid "Since @code{sysctl-service-type} is used in the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the kernel parameters that you want (@pxref{Service Reference, @code{modify-services}})."
  50403. msgstr ""
  50404. #. type: lisp
  50405. #: guix-git/doc/guix.texi:34157
  50406. #, no-wrap
  50407. msgid ""
  50408. "(modify-services %base-services\n"
  50409. " (sysctl-service-type config =>\n"
  50410. " (sysctl-configuration\n"
  50411. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  50412. " %default-sysctl-settings)))))\n"
  50413. msgstr ""
  50414. #. type: deftp
  50415. #: guix-git/doc/guix.texi:34161
  50416. #, no-wrap
  50417. msgid "{Data Type} sysctl-configuration"
  50418. msgstr ""
  50419. #. type: deftp
  50420. #: guix-git/doc/guix.texi:34163
  50421. msgid "The data type representing the configuration of @command{sysctl}."
  50422. msgstr ""
  50423. #. type: item
  50424. #: guix-git/doc/guix.texi:34165
  50425. #, no-wrap
  50426. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  50427. msgstr ""
  50428. #. type: table
  50429. #: guix-git/doc/guix.texi:34167
  50430. msgid "The @command{sysctl} executable to use."
  50431. msgstr ""
  50432. #. type: item
  50433. #: guix-git/doc/guix.texi:34168
  50434. #, no-wrap
  50435. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  50436. msgstr ""
  50437. #. type: table
  50438. #: guix-git/doc/guix.texi:34170
  50439. msgid "An association list specifies kernel parameters and their values."
  50440. msgstr ""
  50441. #. type: defvr
  50442. #: guix-git/doc/guix.texi:34173
  50443. #, no-wrap
  50444. msgid "{Scheme Variable} %default-sysctl-settings"
  50445. msgstr ""
  50446. #. type: defvr
  50447. #: guix-git/doc/guix.texi:34176
  50448. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  50449. msgstr ""
  50450. #. type: cindex
  50451. #: guix-git/doc/guix.texi:34178
  50452. #, no-wrap
  50453. msgid "pcscd"
  50454. msgstr ""
  50455. #. type: subsubheading
  50456. #: guix-git/doc/guix.texi:34179
  50457. #, no-wrap
  50458. msgid "PC/SC Smart Card Daemon Service"
  50459. msgstr ""
  50460. #. type: Plain text
  50461. #: guix-git/doc/guix.texi:34186
  50462. msgid "The @code{(gnu services security-token)} module provides the following service to run @command{pcscd}, the PC/SC Smart Card Daemon. @command{pcscd} is the daemon program for pcsc-lite and the MuscleCard framework. It is a resource manager that coordinates communications with smart card readers, smart cards and cryptographic tokens that are connected to the system."
  50463. msgstr ""
  50464. #. type: defvr
  50465. #: guix-git/doc/guix.texi:34187
  50466. #, no-wrap
  50467. msgid "{Scheme Variable} pcscd-service-type"
  50468. msgstr ""
  50469. #. type: defvr
  50470. #: guix-git/doc/guix.texi:34191
  50471. msgid "Service type for the @command{pcscd} service. Its value must be a @code{pcscd-configuration} object. To run pcscd in the default configuration, instantiate it as:"
  50472. msgstr ""
  50473. #. type: lisp
  50474. #: guix-git/doc/guix.texi:34194
  50475. #, no-wrap
  50476. msgid "(service pcscd-service-type)\n"
  50477. msgstr ""
  50478. #. type: deftp
  50479. #: guix-git/doc/guix.texi:34197
  50480. #, no-wrap
  50481. msgid "{Data Type} pcscd-configuration"
  50482. msgstr ""
  50483. #. type: deftp
  50484. #: guix-git/doc/guix.texi:34199
  50485. msgid "The data type representing the configuration of @command{pcscd}."
  50486. msgstr ""
  50487. #. type: item
  50488. #: guix-git/doc/guix.texi:34201
  50489. #, no-wrap
  50490. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  50491. msgstr ""
  50492. #. type: table
  50493. #: guix-git/doc/guix.texi:34203
  50494. msgid "The pcsc-lite package that provides pcscd."
  50495. msgstr ""
  50496. #. type: item
  50497. #: guix-git/doc/guix.texi:34203
  50498. #, no-wrap
  50499. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  50500. msgstr ""
  50501. #. type: table
  50502. #: guix-git/doc/guix.texi:34206
  50503. msgid "List of packages that provide USB drivers to pcscd. Drivers are expected to be under @file{pcsc/drivers} in the store directory of the package."
  50504. msgstr ""
  50505. #. type: cindex
  50506. #: guix-git/doc/guix.texi:34209
  50507. #, no-wrap
  50508. msgid "lirc"
  50509. msgstr ""
  50510. #. type: subsubheading
  50511. #: guix-git/doc/guix.texi:34210
  50512. #, no-wrap
  50513. msgid "Lirc Service"
  50514. msgstr ""
  50515. #. type: Plain text
  50516. #: guix-git/doc/guix.texi:34213
  50517. msgid "The @code{(gnu services lirc)} module provides the following service."
  50518. msgstr ""
  50519. #. type: deffn
  50520. #: guix-git/doc/guix.texi:34214
  50521. #, no-wrap
  50522. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  50523. msgstr ""
  50524. #. type: deffn
  50525. #: guix-git/doc/guix.texi:34219
  50526. msgid "[#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that decodes infrared signals from remote controls."
  50527. msgstr ""
  50528. #. type: deffn
  50529. #: guix-git/doc/guix.texi:34223
  50530. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  50531. msgstr ""
  50532. #. type: deffn
  50533. #: guix-git/doc/guix.texi:34226
  50534. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  50535. msgstr ""
  50536. #. type: cindex
  50537. #: guix-git/doc/guix.texi:34228
  50538. #, no-wrap
  50539. msgid "spice"
  50540. msgstr ""
  50541. #. type: subsubheading
  50542. #: guix-git/doc/guix.texi:34229
  50543. #, no-wrap
  50544. msgid "Spice Service"
  50545. msgstr ""
  50546. #. type: Plain text
  50547. #: guix-git/doc/guix.texi:34232
  50548. msgid "The @code{(gnu services spice)} module provides the following service."
  50549. msgstr ""
  50550. #. type: deffn
  50551. #: guix-git/doc/guix.texi:34233
  50552. #, no-wrap
  50553. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  50554. msgstr ""
  50555. #. type: deffn
  50556. #: guix-git/doc/guix.texi:34237
  50557. msgid "Returns a service that runs @url{https://www.spice-space.org,VDAGENT}, a daemon that enables sharing the clipboard with a vm and setting the guest display resolution when the graphical console window resizes."
  50558. msgstr ""
  50559. #. type: cindex
  50560. #: guix-git/doc/guix.texi:34239
  50561. #, no-wrap
  50562. msgid "inputattach"
  50563. msgstr ""
  50564. #. type: subsubheading
  50565. #: guix-git/doc/guix.texi:34240
  50566. #, no-wrap
  50567. msgid "inputattach Service"
  50568. msgstr ""
  50569. #. type: cindex
  50570. #: guix-git/doc/guix.texi:34242
  50571. #, no-wrap
  50572. msgid "tablet input, for Xorg"
  50573. msgstr ""
  50574. #. type: cindex
  50575. #: guix-git/doc/guix.texi:34243
  50576. #, no-wrap
  50577. msgid "touchscreen input, for Xorg"
  50578. msgstr ""
  50579. #. type: Plain text
  50580. #: guix-git/doc/guix.texi:34247
  50581. msgid "The @uref{https://linuxwacom.github.io/, inputattach} service allows you to use input devices such as Wacom tablets, touchscreens, or joysticks with the Xorg display server."
  50582. msgstr ""
  50583. #. type: deffn
  50584. #: guix-git/doc/guix.texi:34248
  50585. #, no-wrap
  50586. msgid "{Scheme Variable} inputattach-service-type"
  50587. msgstr ""
  50588. #. type: deffn
  50589. #: guix-git/doc/guix.texi:34251
  50590. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  50591. msgstr ""
  50592. #. type: deftp
  50593. #: guix-git/doc/guix.texi:34253
  50594. #, no-wrap
  50595. msgid "{Data Type} inputattach-configuration"
  50596. msgstr ""
  50597. #. type: item
  50598. #: guix-git/doc/guix.texi:34255
  50599. #, no-wrap
  50600. msgid "@code{device-type} (default: @code{\"wacom\"})"
  50601. msgstr ""
  50602. #. type: table
  50603. #: guix-git/doc/guix.texi:34258
  50604. msgid "The type of device to connect to. Run @command{inputattach --help}, from the @code{inputattach} package, to see the list of supported device types."
  50605. msgstr ""
  50606. #. type: item
  50607. #: guix-git/doc/guix.texi:34259
  50608. #, no-wrap
  50609. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  50610. msgstr ""
  50611. #. type: table
  50612. #: guix-git/doc/guix.texi:34261
  50613. msgid "The device file to connect to the device."
  50614. msgstr ""
  50615. #. type: table
  50616. #: guix-git/doc/guix.texi:34265
  50617. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  50618. msgstr ""
  50619. #. type: item
  50620. #: guix-git/doc/guix.texi:34266
  50621. #, no-wrap
  50622. msgid "@code{log-file} (default: @code{#f})"
  50623. msgstr ""
  50624. #. type: table
  50625. #: guix-git/doc/guix.texi:34268
  50626. msgid "If true, this must be the name of a file to log messages to."
  50627. msgstr ""
  50628. #. type: subsubheading
  50629. #: guix-git/doc/guix.texi:34271
  50630. #, no-wrap
  50631. msgid "Dictionary Service"
  50632. msgstr ""
  50633. #. type: cindex
  50634. #: guix-git/doc/guix.texi:34272
  50635. #, no-wrap
  50636. msgid "dictionary"
  50637. msgstr ""
  50638. #. type: Plain text
  50639. #: guix-git/doc/guix.texi:34274
  50640. msgid "The @code{(gnu services dict)} module provides the following service:"
  50641. msgstr ""
  50642. #. type: defvr
  50643. #: guix-git/doc/guix.texi:34275
  50644. #, no-wrap
  50645. msgid "{Scheme Variable} dicod-service-type"
  50646. msgstr ""
  50647. #. type: defvr
  50648. #: guix-git/doc/guix.texi:34278
  50649. msgid "This is the type of the service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50650. msgstr ""
  50651. #. type: deffn
  50652. #: guix-git/doc/guix.texi:34280
  50653. #, no-wrap
  50654. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  50655. msgstr ""
  50656. #. type: deffn
  50657. #: guix-git/doc/guix.texi:34283
  50658. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50659. msgstr ""
  50660. #. type: deffn
  50661. #: guix-git/doc/guix.texi:34287
  50662. msgid "The optional @var{config} argument specifies the configuration for @command{dicod}, which should be a @code{<dicod-configuration>} object, by default it serves the GNU Collaborative International Dictionary of English."
  50663. msgstr ""
  50664. #. type: deffn
  50665. #: guix-git/doc/guix.texi:34291
  50666. msgid "You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual})."
  50667. msgstr ""
  50668. #. type: deftp
  50669. #: guix-git/doc/guix.texi:34293
  50670. #, no-wrap
  50671. msgid "{Data Type} dicod-configuration"
  50672. msgstr ""
  50673. #. type: deftp
  50674. #: guix-git/doc/guix.texi:34295
  50675. msgid "Data type representing the configuration of dicod."
  50676. msgstr ""
  50677. #. type: item
  50678. #: guix-git/doc/guix.texi:34297
  50679. #, no-wrap
  50680. msgid "@code{dico} (default: @var{dico})"
  50681. msgstr ""
  50682. #. type: table
  50683. #: guix-git/doc/guix.texi:34299
  50684. msgid "Package object of the GNU Dico dictionary server."
  50685. msgstr ""
  50686. #. type: item
  50687. #: guix-git/doc/guix.texi:34300
  50688. #, no-wrap
  50689. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  50690. msgstr ""
  50691. #. type: table
  50692. #: guix-git/doc/guix.texi:34304
  50693. msgid "This is the list of IP addresses and ports and possibly socket file names to listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico Manual})."
  50694. msgstr ""
  50695. #. type: item
  50696. #: guix-git/doc/guix.texi:34305
  50697. #, no-wrap
  50698. msgid "@code{handlers} (default: @var{'()})"
  50699. msgstr ""
  50700. #. type: table
  50701. #: guix-git/doc/guix.texi:34307
  50702. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  50703. msgstr ""
  50704. #. type: item
  50705. #: guix-git/doc/guix.texi:34308
  50706. #, no-wrap
  50707. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  50708. msgstr ""
  50709. #. type: table
  50710. #: guix-git/doc/guix.texi:34310
  50711. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  50712. msgstr ""
  50713. #. type: deftp
  50714. #: guix-git/doc/guix.texi:34313
  50715. #, no-wrap
  50716. msgid "{Data Type} dicod-handler"
  50717. msgstr ""
  50718. #. type: deftp
  50719. #: guix-git/doc/guix.texi:34315
  50720. msgid "Data type representing a dictionary handler (module instance)."
  50721. msgstr ""
  50722. #. type: table
  50723. #: guix-git/doc/guix.texi:34319
  50724. msgid "Name of the handler (module instance)."
  50725. msgstr ""
  50726. #. type: item
  50727. #: guix-git/doc/guix.texi:34320
  50728. #, no-wrap
  50729. msgid "@code{module} (default: @var{#f})"
  50730. msgstr ""
  50731. #. type: table
  50732. #: guix-git/doc/guix.texi:34324
  50733. msgid "Name of the dicod module of the handler (instance). If it is @code{#f}, the module has the same name as the handler. (@pxref{Modules,,, dico, GNU Dico Manual})."
  50734. msgstr ""
  50735. #. type: table
  50736. #: guix-git/doc/guix.texi:34327
  50737. msgid "List of strings or gexps representing the arguments for the module handler"
  50738. msgstr ""
  50739. #. type: deftp
  50740. #: guix-git/doc/guix.texi:34330
  50741. #, no-wrap
  50742. msgid "{Data Type} dicod-database"
  50743. msgstr ""
  50744. #. type: deftp
  50745. #: guix-git/doc/guix.texi:34332
  50746. msgid "Data type representing a dictionary database."
  50747. msgstr ""
  50748. #. type: table
  50749. #: guix-git/doc/guix.texi:34336
  50750. msgid "Name of the database, will be used in DICT commands."
  50751. msgstr ""
  50752. #. type: code{#1}
  50753. #: guix-git/doc/guix.texi:34337
  50754. #, no-wrap
  50755. msgid "handler"
  50756. msgstr ""
  50757. #. type: table
  50758. #: guix-git/doc/guix.texi:34340
  50759. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  50760. msgstr ""
  50761. #. type: item
  50762. #: guix-git/doc/guix.texi:34341
  50763. #, no-wrap
  50764. msgid "@code{complex?} (default: @var{#f})"
  50765. msgstr ""
  50766. #. type: table
  50767. #: guix-git/doc/guix.texi:34344
  50768. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  50769. msgstr ""
  50770. #. type: table
  50771. #: guix-git/doc/guix.texi:34348
  50772. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  50773. msgstr ""
  50774. #. type: defvr
  50775. #: guix-git/doc/guix.texi:34351
  50776. #, no-wrap
  50777. msgid "{Scheme Variable} %dicod-database:gcide"
  50778. msgstr ""
  50779. #. type: defvr
  50780. #: guix-git/doc/guix.texi:34354
  50781. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  50782. msgstr ""
  50783. #. type: Plain text
  50784. #: guix-git/doc/guix.texi:34357
  50785. msgid "The following is an example @code{dicod-service} configuration."
  50786. msgstr ""
  50787. #. type: lisp
  50788. #: guix-git/doc/guix.texi:34372
  50789. #, no-wrap
  50790. msgid ""
  50791. "(dicod-service #:config\n"
  50792. " (dicod-configuration\n"
  50793. " (handlers (list (dicod-handler\n"
  50794. " (name \"wordnet\")\n"
  50795. " (module \"dictorg\")\n"
  50796. " (options\n"
  50797. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  50798. " (databases (list (dicod-database\n"
  50799. " (name \"wordnet\")\n"
  50800. " (complex? #t)\n"
  50801. " (handler \"wordnet\")\n"
  50802. " (options '(\"database=wn\")))\n"
  50803. " %dicod-database:gcide))))\n"
  50804. msgstr ""
  50805. #. type: cindex
  50806. #: guix-git/doc/guix.texi:34374
  50807. #, no-wrap
  50808. msgid "Docker"
  50809. msgstr "Docker"
  50810. #. type: subsubheading
  50811. #: guix-git/doc/guix.texi:34375
  50812. #, no-wrap
  50813. msgid "Docker Service"
  50814. msgstr ""
  50815. #. type: Plain text
  50816. #: guix-git/doc/guix.texi:34378
  50817. msgid "The @code{(gnu services docker)} module provides the following services."
  50818. msgstr ""
  50819. #. type: defvr
  50820. #: guix-git/doc/guix.texi:34379
  50821. #, no-wrap
  50822. msgid "{Scheme Variable} docker-service-type"
  50823. msgstr ""
  50824. #. type: defvr
  50825. #: guix-git/doc/guix.texi:34384
  50826. msgid "This is the type of the service that runs @url{https://www.docker.com,Docker}, a daemon that can execute application bundles (sometimes referred to as ``containers'') in isolated environments."
  50827. msgstr ""
  50828. #. type: deftp
  50829. #: guix-git/doc/guix.texi:34387
  50830. #, no-wrap
  50831. msgid "{Data Type} docker-configuration"
  50832. msgstr ""
  50833. #. type: deftp
  50834. #: guix-git/doc/guix.texi:34389
  50835. msgid "This is the data type representing the configuration of Docker and Containerd."
  50836. msgstr ""
  50837. #. type: item
  50838. #: guix-git/doc/guix.texi:34392
  50839. #, no-wrap
  50840. msgid "@code{docker} (default: @code{docker})"
  50841. msgstr ""
  50842. #. type: table
  50843. #: guix-git/doc/guix.texi:34394
  50844. msgid "The Docker daemon package to use."
  50845. msgstr ""
  50846. #. type: item
  50847. #: guix-git/doc/guix.texi:34395
  50848. #, no-wrap
  50849. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50850. msgstr ""
  50851. #. type: table
  50852. #: guix-git/doc/guix.texi:34397
  50853. msgid "The Docker client package to use."
  50854. msgstr ""
  50855. #. type: item
  50856. #: guix-git/doc/guix.texi:34398
  50857. #, no-wrap
  50858. msgid "@code{containerd} (default: @var{containerd})"
  50859. msgstr ""
  50860. #. type: table
  50861. #: guix-git/doc/guix.texi:34400
  50862. msgid "The Containerd package to use."
  50863. msgstr ""
  50864. #. type: item
  50865. #: guix-git/doc/guix.texi:34401
  50866. #, no-wrap
  50867. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50868. msgstr ""
  50869. #. type: table
  50870. #: guix-git/doc/guix.texi:34403
  50871. msgid "The Docker user-land networking proxy package to use."
  50872. msgstr ""
  50873. #. type: item
  50874. #: guix-git/doc/guix.texi:34404
  50875. #, no-wrap
  50876. msgid "@code{enable-proxy?} (default @code{#t})"
  50877. msgstr ""
  50878. #. type: table
  50879. #: guix-git/doc/guix.texi:34406
  50880. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50881. msgstr ""
  50882. #. type: item
  50883. #: guix-git/doc/guix.texi:34407
  50884. #, no-wrap
  50885. msgid "@code{debug?} (default @code{#f})"
  50886. msgstr ""
  50887. #. type: table
  50888. #: guix-git/doc/guix.texi:34409
  50889. msgid "Enable or disable debug output."
  50890. msgstr ""
  50891. #. type: item
  50892. #: guix-git/doc/guix.texi:34410
  50893. #, no-wrap
  50894. msgid "@code{enable-iptables?} (default @code{#t})"
  50895. msgstr ""
  50896. #. type: table
  50897. #: guix-git/doc/guix.texi:34412
  50898. msgid "Enable or disable the addition of iptables rules."
  50899. msgstr ""
  50900. #. type: item
  50901. #: guix-git/doc/guix.texi:34413
  50902. #, no-wrap
  50903. msgid "@code{environment-variables} (default: @code{()})"
  50904. msgstr ""
  50905. #. type: table
  50906. #: guix-git/doc/guix.texi:34415
  50907. msgid "List of environment variables to set for @command{dockerd}."
  50908. msgstr ""
  50909. #. type: table
  50910. #: guix-git/doc/guix.texi:34418
  50911. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50912. msgstr ""
  50913. #. type: lisp
  50914. #: guix-git/doc/guix.texi:34422
  50915. #, no-wrap
  50916. msgid ""
  50917. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50918. " \"TMPDIR=/tmp/dockerd\")\n"
  50919. msgstr ""
  50920. #. type: cindex
  50921. #: guix-git/doc/guix.texi:34427
  50922. #, no-wrap
  50923. msgid "Singularity, container service"
  50924. msgstr ""
  50925. #. type: defvr
  50926. #: guix-git/doc/guix.texi:34428
  50927. #, no-wrap
  50928. msgid "{Scheme Variable} singularity-service-type"
  50929. msgstr ""
  50930. #. type: defvr
  50931. #: guix-git/doc/guix.texi:34433
  50932. msgid "This is the type of the service that allows you to run @url{https://www.sylabs.io/singularity/, Singularity}, a Docker-style tool to create and run application bundles (aka. ``containers''). The value for this service is the Singularity package to use."
  50933. msgstr ""
  50934. #. type: defvr
  50935. #: guix-git/doc/guix.texi:34437
  50936. msgid "The service does not install a daemon; instead, it installs helper programs as setuid-root (@pxref{Setuid Programs}) such that unprivileged users can invoke @command{singularity run} and similar commands."
  50937. msgstr ""
  50938. #. type: cindex
  50939. #: guix-git/doc/guix.texi:34439
  50940. #, no-wrap
  50941. msgid "Audit"
  50942. msgstr "Audit"
  50943. #. type: subsubheading
  50944. #: guix-git/doc/guix.texi:34440
  50945. #, no-wrap
  50946. msgid "Auditd Service"
  50947. msgstr ""
  50948. #. type: Plain text
  50949. #: guix-git/doc/guix.texi:34443
  50950. msgid "The @code{(gnu services auditd)} module provides the following service."
  50951. msgstr ""
  50952. #. type: defvr
  50953. #: guix-git/doc/guix.texi:34444
  50954. #, no-wrap
  50955. msgid "{Scheme Variable} auditd-service-type"
  50956. msgstr ""
  50957. #. type: defvr
  50958. #: guix-git/doc/guix.texi:34449
  50959. msgid "This is the type of the service that runs @url{https://people.redhat.com/sgrubb/audit/,auditd}, a daemon that tracks security-relevant information on your system."
  50960. msgstr ""
  50961. #. type: defvr
  50962. #: guix-git/doc/guix.texi:34451
  50963. msgid "Examples of things that can be tracked:"
  50964. msgstr ""
  50965. #. type: enumerate
  50966. #: guix-git/doc/guix.texi:34455
  50967. msgid "File accesses"
  50968. msgstr ""
  50969. #. type: enumerate
  50970. #: guix-git/doc/guix.texi:34457
  50971. msgid "System calls"
  50972. msgstr ""
  50973. #. type: enumerate
  50974. #: guix-git/doc/guix.texi:34459
  50975. msgid "Invoked commands"
  50976. msgstr ""
  50977. #. type: enumerate
  50978. #: guix-git/doc/guix.texi:34461
  50979. msgid "Failed login attempts"
  50980. msgstr ""
  50981. #. type: enumerate
  50982. #: guix-git/doc/guix.texi:34463
  50983. msgid "Firewall filtering"
  50984. msgstr ""
  50985. #. type: enumerate
  50986. #: guix-git/doc/guix.texi:34465
  50987. msgid "Network access"
  50988. msgstr "Prístup do siete"
  50989. #. type: defvr
  50990. #: guix-git/doc/guix.texi:34476
  50991. msgid "@command{auditctl} from the @code{audit} package can be used in order to add or remove events to be tracked (until the next reboot). In order to permanently track events, put the command line arguments of auditctl into a file called @code{audit.rules} in the configuration directory (see below). @command{aureport} from the @code{audit} package can be used in order to view a report of all recorded events. The audit daemon by default logs into the file @file{/var/log/audit.log}."
  50992. msgstr ""
  50993. #. type: deftp
  50994. #: guix-git/doc/guix.texi:34479
  50995. #, no-wrap
  50996. msgid "{Data Type} auditd-configuration"
  50997. msgstr ""
  50998. #. type: deftp
  50999. #: guix-git/doc/guix.texi:34481
  51000. msgid "This is the data type representing the configuration of auditd."
  51001. msgstr ""
  51002. #. type: item
  51003. #: guix-git/doc/guix.texi:34484
  51004. #, no-wrap
  51005. msgid "@code{audit} (default: @code{audit})"
  51006. msgstr ""
  51007. #. type: table
  51008. #: guix-git/doc/guix.texi:34486
  51009. msgid "The audit package to use."
  51010. msgstr ""
  51011. #. type: item
  51012. #: guix-git/doc/guix.texi:34487
  51013. #, no-wrap
  51014. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  51015. msgstr ""
  51016. #. type: table
  51017. #: guix-git/doc/guix.texi:34491
  51018. msgid "The directory containing the configuration file for the audit package, which must be named @code{auditd.conf}, and optionally some audit rules to instantiate on startup."
  51019. msgstr ""
  51020. #. type: cindex
  51021. #: guix-git/doc/guix.texi:34495
  51022. #, no-wrap
  51023. msgid "rshiny"
  51024. msgstr ""
  51025. #. type: subsubheading
  51026. #: guix-git/doc/guix.texi:34496
  51027. #, no-wrap
  51028. msgid "R-Shiny service"
  51029. msgstr ""
  51030. #. type: Plain text
  51031. #: guix-git/doc/guix.texi:34499
  51032. msgid "The @code{(gnu services science)} module provides the following service."
  51033. msgstr ""
  51034. #. type: defvr
  51035. #: guix-git/doc/guix.texi:34500
  51036. #, no-wrap
  51037. msgid "{Scheme Variable} rshiny-service-type"
  51038. msgstr ""
  51039. #. type: defvr
  51040. #: guix-git/doc/guix.texi:34505
  51041. msgid "This is a type of service which is used to run a webapp created with @code{r-shiny}. This service sets the @env{R_LIBS_USER} environment variable and runs the provided script to call @code{runApp}."
  51042. msgstr ""
  51043. #. type: deftp
  51044. #: guix-git/doc/guix.texi:34506
  51045. #, no-wrap
  51046. msgid "{Data Type} rshiny-configuration"
  51047. msgstr ""
  51048. #. type: deftp
  51049. #: guix-git/doc/guix.texi:34508
  51050. msgid "This is the data type representing the configuration of rshiny."
  51051. msgstr ""
  51052. #. type: item
  51053. #: guix-git/doc/guix.texi:34511
  51054. #, no-wrap
  51055. msgid "@code{package} (default: @code{r-shiny})"
  51056. msgstr ""
  51057. #. type: table
  51058. #: guix-git/doc/guix.texi:34513
  51059. msgid "The package to use."
  51060. msgstr ""
  51061. #. type: item
  51062. #: guix-git/doc/guix.texi:34514
  51063. #, no-wrap
  51064. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  51065. msgstr ""
  51066. #. type: table
  51067. #: guix-git/doc/guix.texi:34517
  51068. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  51069. msgstr ""
  51070. #. type: table
  51071. #: guix-git/doc/guix.texi:34519
  51072. msgid "The common way to create this file is as follows:"
  51073. msgstr ""
  51074. #. type: lisp
  51075. #: guix-git/doc/guix.texi:34536
  51076. #, no-wrap
  51077. msgid ""
  51078. "@dots{}\n"
  51079. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  51080. " (targetdir (string-append out \"/share/\" ,name))\n"
  51081. " (app (string-append out \"/bin/\" ,name))\n"
  51082. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  51083. " ;; @dots{}\n"
  51084. " (mkdir-p (string-append out \"/bin\"))\n"
  51085. " (call-with-output-file app\n"
  51086. " (lambda (port)\n"
  51087. " (format port\n"
  51088. "\"#!~a\n"
  51089. "library(shiny)\n"
  51090. "setwd(\\\"~a\\\")\n"
  51091. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  51092. " Rbin targetdir))))\n"
  51093. msgstr ""
  51094. #. type: cindex
  51095. #: guix-git/doc/guix.texi:34542
  51096. #, no-wrap
  51097. msgid "Nix"
  51098. msgstr ""
  51099. #. type: subsubheading
  51100. #: guix-git/doc/guix.texi:34543
  51101. #, no-wrap
  51102. msgid "Nix service"
  51103. msgstr ""
  51104. #. type: Plain text
  51105. #: guix-git/doc/guix.texi:34546
  51106. msgid "The @code{(gnu services nix)} module provides the following service."
  51107. msgstr ""
  51108. #. type: defvr
  51109. #: guix-git/doc/guix.texi:34547
  51110. #, no-wrap
  51111. msgid "{Scheme Variable} nix-service-type"
  51112. msgstr ""
  51113. #. type: defvr
  51114. #: guix-git/doc/guix.texi:34552
  51115. msgid "This is the type of the service that runs build daemon of the @url{https://nixos.org/nix/, Nix} package manager. Here is an example showing how to use it:"
  51116. msgstr ""
  51117. #. type: lisp
  51118. #: guix-git/doc/guix.texi:34557
  51119. #, no-wrap
  51120. msgid ""
  51121. "(use-modules (gnu))\n"
  51122. "(use-service-modules nix)\n"
  51123. "(use-package-modules package-management)\n"
  51124. "\n"
  51125. msgstr ""
  51126. #. type: lisp
  51127. #: guix-git/doc/guix.texi:34562
  51128. #, no-wrap
  51129. msgid ""
  51130. "(operating-system\n"
  51131. " ;; @dots{}\n"
  51132. " (packages (append (list nix)\n"
  51133. " %base-packages))\n"
  51134. "\n"
  51135. msgstr ""
  51136. #. type: lisp
  51137. #: guix-git/doc/guix.texi:34565
  51138. #, no-wrap
  51139. msgid ""
  51140. " (services (append (list (service nix-service-type))\n"
  51141. " %base-services)))\n"
  51142. msgstr ""
  51143. #. type: defvr
  51144. #: guix-git/doc/guix.texi:34568
  51145. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  51146. msgstr ""
  51147. #. type: item
  51148. #: guix-git/doc/guix.texi:34570
  51149. #, no-wrap
  51150. msgid "Add a Nix channel and update it. See"
  51151. msgstr ""
  51152. #. type: itemize
  51153. #: guix-git/doc/guix.texi:34572
  51154. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  51155. msgstr ""
  51156. #. type: item
  51157. #: guix-git/doc/guix.texi:34573
  51158. #, no-wrap
  51159. msgid "Create a symlink to your profile and activate Nix profile:"
  51160. msgstr ""
  51161. #. type: example
  51162. #: guix-git/doc/guix.texi:34579
  51163. #, no-wrap
  51164. msgid ""
  51165. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  51166. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  51167. msgstr ""
  51168. #. type: deftp
  51169. #: guix-git/doc/guix.texi:34583
  51170. #, no-wrap
  51171. msgid "{Data Type} nix-configuration"
  51172. msgstr ""
  51173. #. type: deftp
  51174. #: guix-git/doc/guix.texi:34585
  51175. msgid "This data type represents the configuration of the Nix daemon."
  51176. msgstr ""
  51177. #. type: item
  51178. #: guix-git/doc/guix.texi:34587
  51179. #, no-wrap
  51180. msgid "@code{nix} (default: @code{nix})"
  51181. msgstr ""
  51182. #. type: table
  51183. #: guix-git/doc/guix.texi:34589
  51184. msgid "The Nix package to use."
  51185. msgstr ""
  51186. #. type: item
  51187. #: guix-git/doc/guix.texi:34590
  51188. #, no-wrap
  51189. msgid "@code{sandbox} (default: @code{#t})"
  51190. msgstr ""
  51191. #. type: table
  51192. #: guix-git/doc/guix.texi:34592
  51193. msgid "Specifies whether builds are sandboxed by default."
  51194. msgstr ""
  51195. #. type: item
  51196. #: guix-git/doc/guix.texi:34593
  51197. #, no-wrap
  51198. msgid "@code{build-sandbox-items} (default: @code{'()})"
  51199. msgstr ""
  51200. #. type: table
  51201. #: guix-git/doc/guix.texi:34596
  51202. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  51203. msgstr ""
  51204. #. type: table
  51205. #: guix-git/doc/guix.texi:34604
  51206. msgid "Extra command line options for @code{nix-service-type}."
  51207. msgstr ""
  51208. #. type: cindex
  51209. #: guix-git/doc/guix.texi:34610
  51210. #, no-wrap
  51211. msgid "setuid programs"
  51212. msgstr ""
  51213. #. type: Plain text
  51214. #: guix-git/doc/guix.texi:34620
  51215. msgid "Some programs need to run with ``root'' privileges, even when they are launched by unprivileged users. A notorious example is the @command{passwd} program, which users can run to change their password, and which needs to access the @file{/etc/passwd} and @file{/etc/shadow} files---something normally restricted to root, for obvious security reasons. To address that, these executables are @dfn{setuid-root}, meaning that they always run with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism)."
  51216. msgstr ""
  51217. #. type: Plain text
  51218. #: guix-git/doc/guix.texi:34627
  51219. msgid "The store itself @emph{cannot} contain setuid programs: that would be a security issue since any user on the system can write derivations that populate the store (@pxref{The Store}). Thus, a different mechanism is used: instead of changing the setuid bit directly on files that are in the store, we let the system administrator @emph{declare} which programs should be setuid root."
  51220. msgstr ""
  51221. #. type: Plain text
  51222. #: guix-git/doc/guix.texi:34634
  51223. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  51224. msgstr ""
  51225. #. type: lisp
  51226. #: guix-git/doc/guix.texi:34638
  51227. #, no-wrap
  51228. msgid ""
  51229. "(setuid-program\n"
  51230. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  51231. msgstr ""
  51232. #. type: Plain text
  51233. #: guix-git/doc/guix.texi:34643
  51234. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  51235. msgstr ""
  51236. #. type: lisp
  51237. #: guix-git/doc/guix.texi:34651
  51238. #, no-wrap
  51239. msgid ""
  51240. "(operating-system\n"
  51241. " ;; Some fields omitted...\n"
  51242. " (setuid-programs\n"
  51243. " (append (list (setuid-program\n"
  51244. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  51245. " %setuid-programs)))\n"
  51246. msgstr ""
  51247. #. type: deftp
  51248. #: guix-git/doc/guix.texi:34653
  51249. #, no-wrap
  51250. msgid "{Data Type} setuid-program"
  51251. msgstr ""
  51252. #. type: deftp
  51253. #: guix-git/doc/guix.texi:34655
  51254. msgid "This data type represents a program with a setuid or setgid bit set."
  51255. msgstr ""
  51256. #. type: code{#1}
  51257. #: guix-git/doc/guix.texi:34657
  51258. #, no-wrap
  51259. msgid "program"
  51260. msgstr ""
  51261. #. type: table
  51262. #: guix-git/doc/guix.texi:34659
  51263. msgid "A file-like object having its setuid and/or setgid bit set."
  51264. msgstr ""
  51265. #. type: item
  51266. #: guix-git/doc/guix.texi:34660
  51267. #, no-wrap
  51268. msgid "@code{setuid?} (default: @code{#t})"
  51269. msgstr ""
  51270. #. type: table
  51271. #: guix-git/doc/guix.texi:34662
  51272. msgid "Whether to set user setuid bit."
  51273. msgstr ""
  51274. #. type: item
  51275. #: guix-git/doc/guix.texi:34663
  51276. #, no-wrap
  51277. msgid "@code{setgid?} (default: @code{#f})"
  51278. msgstr ""
  51279. #. type: table
  51280. #: guix-git/doc/guix.texi:34665
  51281. msgid "Whether to set group setgid bit."
  51282. msgstr ""
  51283. #. type: item
  51284. #: guix-git/doc/guix.texi:34666
  51285. #, no-wrap
  51286. msgid "@code{user} (default: @code{0})"
  51287. msgstr ""
  51288. #. type: table
  51289. #: guix-git/doc/guix.texi:34669
  51290. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  51291. msgstr ""
  51292. #. type: item
  51293. #: guix-git/doc/guix.texi:34670
  51294. #, no-wrap
  51295. msgid "@code{group} (default: @code{0})"
  51296. msgstr ""
  51297. #. type: table
  51298. #: guix-git/doc/guix.texi:34673
  51299. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  51300. msgstr ""
  51301. #. type: Plain text
  51302. #: guix-git/doc/guix.texi:34679
  51303. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  51304. msgstr ""
  51305. #. type: defvr
  51306. #: guix-git/doc/guix.texi:34680
  51307. #, no-wrap
  51308. msgid "{Scheme Variable} %setuid-programs"
  51309. msgstr ""
  51310. #. type: defvr
  51311. #: guix-git/doc/guix.texi:34683
  51312. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  51313. msgstr ""
  51314. #. type: defvr
  51315. #: guix-git/doc/guix.texi:34686
  51316. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  51317. msgstr ""
  51318. #. type: Plain text
  51319. #: guix-git/doc/guix.texi:34692
  51320. msgid "Under the hood, the actual setuid programs are created in the @file{/run/setuid-programs} directory at system activation time. The files in this directory refer to the ``real'' binaries, which are in the store."
  51321. msgstr ""
  51322. #. type: cindex
  51323. #: guix-git/doc/guix.texi:34696
  51324. #, no-wrap
  51325. msgid "HTTPS, certificates"
  51326. msgstr ""
  51327. #. type: cindex
  51328. #: guix-git/doc/guix.texi:34697
  51329. #, no-wrap
  51330. msgid "X.509 certificates"
  51331. msgstr ""
  51332. #. type: cindex
  51333. #: guix-git/doc/guix.texi:34698
  51334. #, no-wrap
  51335. msgid "TLS"
  51336. msgstr ""
  51337. #. type: Plain text
  51338. #: guix-git/doc/guix.texi:34705
  51339. msgid "Web servers available over HTTPS (that is, HTTP over the transport-layer security mechanism, TLS) send client programs an @dfn{X.509 certificate} that the client can then use to @emph{authenticate} the server. To do that, clients verify that the server's certificate is signed by a so-called @dfn{certificate authority} (CA). But to verify the CA's signature, clients must have first acquired the CA's certificate."
  51340. msgstr ""
  51341. #. type: Plain text
  51342. #: guix-git/doc/guix.texi:34709
  51343. msgid "Web browsers such as GNU@tie{}IceCat include their own set of CA certificates, such that they are able to verify CA signatures out-of-the-box."
  51344. msgstr ""
  51345. #. type: Plain text
  51346. #: guix-git/doc/guix.texi:34713
  51347. msgid "However, most other programs that can talk HTTPS---@command{wget}, @command{git}, @command{w3m}, etc.---need to be told where CA certificates can be found."
  51348. msgstr ""
  51349. #. type: Plain text
  51350. #: guix-git/doc/guix.texi:34720
  51351. msgid "In Guix, this is done by adding a package that provides certificates to the @code{packages} field of the @code{operating-system} declaration (@pxref{operating-system Reference}). Guix includes one such package, @code{nss-certs}, which is a set of CA certificates provided as part of Mozilla's Network Security Services."
  51352. msgstr ""
  51353. #. type: Plain text
  51354. #: guix-git/doc/guix.texi:34725
  51355. msgid "Note that it is @emph{not} part of @code{%base-packages}, so you need to explicitly add it. The @file{/etc/ssl/certs} directory, which is where most applications and libraries look for certificates by default, points to the certificates installed globally."
  51356. msgstr ""
  51357. #. type: Plain text
  51358. #: guix-git/doc/guix.texi:34735
  51359. msgid "Unprivileged users, including users of Guix on a foreign distro, can also install their own certificate package in their profile. A number of environment variables need to be defined so that applications and libraries know where to find them. Namely, the OpenSSL library honors the @env{SSL_CERT_DIR} and @env{SSL_CERT_FILE} variables. Some applications add their own environment variables; for instance, the Git version control system honors the certificate bundle pointed to by the @env{GIT_SSL_CAINFO} environment variable. Thus, you would typically run something like:"
  51360. msgstr ""
  51361. #. type: example
  51362. #: guix-git/doc/guix.texi:34741
  51363. #, no-wrap
  51364. msgid ""
  51365. "guix install nss-certs\n"
  51366. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  51367. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51368. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  51369. msgstr ""
  51370. #. type: Plain text
  51371. #: guix-git/doc/guix.texi:34746
  51372. msgid "As another example, R requires the @env{CURL_CA_BUNDLE} environment variable to point to a certificate bundle, so you would have to run something like this:"
  51373. msgstr ""
  51374. #. type: example
  51375. #: guix-git/doc/guix.texi:34750
  51376. #, no-wrap
  51377. msgid ""
  51378. "guix install nss-certs\n"
  51379. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51380. msgstr ""
  51381. #. type: Plain text
  51382. #: guix-git/doc/guix.texi:34754
  51383. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  51384. msgstr ""
  51385. #. type: cindex
  51386. #: guix-git/doc/guix.texi:34759
  51387. #, no-wrap
  51388. msgid "name service switch"
  51389. msgstr ""
  51390. #. type: cindex
  51391. #: guix-git/doc/guix.texi:34760
  51392. #, no-wrap
  51393. msgid "NSS"
  51394. msgstr ""
  51395. #. type: Plain text
  51396. #: guix-git/doc/guix.texi:34769
  51397. msgid "The @code{(gnu system nss)} module provides bindings to the configuration file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). In a nutshell, the NSS is a mechanism that allows libc to be extended with new ``name'' lookup methods for system databases, which includes host names, service names, user accounts, and more (@pxref{Name Service Switch, System Databases and Name Service Switch,, libc, The GNU C Library Reference Manual})."
  51398. msgstr ""
  51399. #. type: Plain text
  51400. #: guix-git/doc/guix.texi:34776
  51401. msgid "The NSS configuration specifies, for each system database, which lookup method is to be used, and how the various methods are chained together---for instance, under which circumstances NSS should try the next method in the list. The NSS configuration is given in the @code{name-service-switch} field of @code{operating-system} declarations (@pxref{operating-system Reference, @code{name-service-switch}})."
  51402. msgstr ""
  51403. #. type: cindex
  51404. #: guix-git/doc/guix.texi:34777
  51405. #, no-wrap
  51406. msgid "nss-mdns"
  51407. msgstr ""
  51408. #. type: cindex
  51409. #: guix-git/doc/guix.texi:34778
  51410. #, no-wrap
  51411. msgid ".local, host name lookup"
  51412. msgstr ""
  51413. #. type: Plain text
  51414. #: guix-git/doc/guix.texi:34783
  51415. msgid "As an example, the declaration below configures the NSS to use the @uref{https://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} back-end}, which supports host name lookups over multicast DNS (mDNS) for host names ending in @code{.local}:"
  51416. msgstr ""
  51417. #. type: lisp
  51418. #: guix-git/doc/guix.texi:34787
  51419. #, no-wrap
  51420. msgid ""
  51421. "(name-service-switch\n"
  51422. " (hosts (list %files ;first, check /etc/hosts\n"
  51423. "\n"
  51424. msgstr ""
  51425. #. type: lisp
  51426. #: guix-git/doc/guix.texi:34792
  51427. #, no-wrap
  51428. msgid ""
  51429. " ;; If the above did not succeed, try\n"
  51430. " ;; with 'mdns_minimal'.\n"
  51431. " (name-service\n"
  51432. " (name \"mdns_minimal\")\n"
  51433. "\n"
  51434. msgstr ""
  51435. #. type: lisp
  51436. #: guix-git/doc/guix.texi:34798
  51437. #, no-wrap
  51438. msgid ""
  51439. " ;; 'mdns_minimal' is authoritative for\n"
  51440. " ;; '.local'. When it returns \"not found\",\n"
  51441. " ;; no need to try the next methods.\n"
  51442. " (reaction (lookup-specification\n"
  51443. " (not-found => return))))\n"
  51444. "\n"
  51445. msgstr ""
  51446. #. type: lisp
  51447. #: guix-git/doc/guix.texi:34802
  51448. #, no-wrap
  51449. msgid ""
  51450. " ;; Then fall back to DNS.\n"
  51451. " (name-service\n"
  51452. " (name \"dns\"))\n"
  51453. "\n"
  51454. msgstr ""
  51455. #. type: lisp
  51456. #: guix-git/doc/guix.texi:34806
  51457. #, no-wrap
  51458. msgid ""
  51459. " ;; Finally, try with the \"full\" 'mdns'.\n"
  51460. " (name-service\n"
  51461. " (name \"mdns\")))))\n"
  51462. msgstr ""
  51463. #. type: Plain text
  51464. #: guix-git/doc/guix.texi:34811
  51465. msgid "Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) contains this configuration, so you will not have to type it if all you want is to have @code{.local} host lookup working."
  51466. msgstr ""
  51467. #. type: Plain text
  51468. #: guix-git/doc/guix.texi:34819
  51469. msgid "Note that, in this case, in addition to setting the @code{name-service-switch} of the @code{operating-system} declaration, you also need to use @code{avahi-service-type} (@pxref{Networking Services, @code{avahi-service-type}}), or @code{%desktop-services}, which includes it (@pxref{Desktop Services}). Doing this makes @code{nss-mdns} accessible to the name service cache daemon (@pxref{Base Services, @code{nscd-service}})."
  51470. msgstr ""
  51471. #. type: Plain text
  51472. #: guix-git/doc/guix.texi:34822
  51473. msgid "For convenience, the following variables provide typical NSS configurations."
  51474. msgstr ""
  51475. #. type: defvr
  51476. #: guix-git/doc/guix.texi:34823
  51477. #, no-wrap
  51478. msgid "{Scheme Variable} %default-nss"
  51479. msgstr ""
  51480. #. type: defvr
  51481. #: guix-git/doc/guix.texi:34826
  51482. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  51483. msgstr ""
  51484. #. type: defvr
  51485. #: guix-git/doc/guix.texi:34828
  51486. #, no-wrap
  51487. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  51488. msgstr ""
  51489. #. type: defvr
  51490. #: guix-git/doc/guix.texi:34831
  51491. msgid "This is the name service switch configuration with support for host name lookup over multicast DNS (mDNS) for host names ending in @code{.local}."
  51492. msgstr ""
  51493. #. type: Plain text
  51494. #: guix-git/doc/guix.texi:34841
  51495. msgid "The reference for name service switch configuration is given below. It is a direct mapping of the configuration file format of the C library , so please refer to the C library manual for more information (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). Compared to the configuration file format of libc NSS, it has the advantage not only of adding this warm parenthetic feel that we like, but also static checks: you will know about syntax errors and typos as soon as you run @command{guix system}."
  51496. msgstr ""
  51497. #. type: deftp
  51498. #: guix-git/doc/guix.texi:34842
  51499. #, no-wrap
  51500. msgid "{Data Type} name-service-switch"
  51501. msgstr ""
  51502. #. type: deftp
  51503. #: guix-git/doc/guix.texi:34847
  51504. msgid "This is the data type representation the configuration of libc's name service switch (NSS). Each field below represents one of the supported system databases."
  51505. msgstr ""
  51506. #. type: item
  51507. #: guix-git/doc/guix.texi:34849
  51508. #, no-wrap
  51509. msgid "aliases"
  51510. msgstr ""
  51511. #. type: itemx
  51512. #: guix-git/doc/guix.texi:34850
  51513. #, no-wrap
  51514. msgid "ethers"
  51515. msgstr ""
  51516. #. type: itemx
  51517. #: guix-git/doc/guix.texi:34852
  51518. #, no-wrap
  51519. msgid "gshadow"
  51520. msgstr ""
  51521. #. type: itemx
  51522. #: guix-git/doc/guix.texi:34853
  51523. #, no-wrap
  51524. msgid "hosts"
  51525. msgstr "hostitelia"
  51526. #. type: itemx
  51527. #: guix-git/doc/guix.texi:34854
  51528. #, no-wrap
  51529. msgid "initgroups"
  51530. msgstr ""
  51531. #. type: itemx
  51532. #: guix-git/doc/guix.texi:34855
  51533. #, no-wrap
  51534. msgid "netgroup"
  51535. msgstr ""
  51536. #. type: itemx
  51537. #: guix-git/doc/guix.texi:34856
  51538. #, no-wrap
  51539. msgid "networks"
  51540. msgstr "siete"
  51541. #. type: itemx
  51542. #: guix-git/doc/guix.texi:34859
  51543. #, no-wrap
  51544. msgid "rpc"
  51545. msgstr ""
  51546. #. type: itemx
  51547. #: guix-git/doc/guix.texi:34861
  51548. #, no-wrap
  51549. msgid "shadow"
  51550. msgstr ""
  51551. #. type: table
  51552. #: guix-git/doc/guix.texi:34864
  51553. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  51554. msgstr ""
  51555. #. type: deftp
  51556. #: guix-git/doc/guix.texi:34867
  51557. #, no-wrap
  51558. msgid "{Data Type} name-service"
  51559. msgstr ""
  51560. #. type: deftp
  51561. #: guix-git/doc/guix.texi:34871
  51562. msgid "This is the data type representing an actual name service and the associated lookup action."
  51563. msgstr ""
  51564. #. type: table
  51565. #: guix-git/doc/guix.texi:34876
  51566. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  51567. msgstr ""
  51568. #. type: table
  51569. #: guix-git/doc/guix.texi:34881
  51570. msgid "Note that name services listed here must be visible to nscd. This is achieved by passing the @code{#:name-services} argument to @code{nscd-service} the list of packages providing the needed name services (@pxref{Base Services, @code{nscd-service}})."
  51571. msgstr ""
  51572. #. type: item
  51573. #: guix-git/doc/guix.texi:34882
  51574. #, no-wrap
  51575. msgid "reaction"
  51576. msgstr ""
  51577. #. type: table
  51578. #: guix-git/doc/guix.texi:34886
  51579. msgid "An action specified using the @code{lookup-specification} macro (@pxref{Actions in the NSS configuration,,, libc, The GNU C Library Reference Manual}). For example:"
  51580. msgstr ""
  51581. #. type: lisp
  51582. #: guix-git/doc/guix.texi:34890
  51583. #, no-wrap
  51584. msgid ""
  51585. "(lookup-specification (unavailable => continue)\n"
  51586. " (success => return))\n"
  51587. msgstr ""
  51588. #. type: Plain text
  51589. #: guix-git/doc/guix.texi:34904
  51590. msgid "For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system as well as an initialization script. The latter is responsible for mounting the real root file system, and for loading any kernel modules that may be needed to achieve that."
  51591. msgstr ""
  51592. #. type: Plain text
  51593. #: guix-git/doc/guix.texi:34913
  51594. msgid "The @code{initrd-modules} field of an @code{operating-system} declaration allows you to specify Linux-libre kernel modules that must be available in the initrd. In particular, this is where you would list modules needed to actually drive the hard disk where your root partition is---although the default value of @code{initrd-modules} should cover most use cases. For example, assuming you need the @code{megaraid_sas} module in addition to the default modules to be able to access your root file system, you would write:"
  51595. msgstr ""
  51596. #. type: lisp
  51597. #: guix-git/doc/guix.texi:34918
  51598. #, no-wrap
  51599. msgid ""
  51600. "(operating-system\n"
  51601. " ;; @dots{}\n"
  51602. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  51603. msgstr ""
  51604. #. type: defvr
  51605. #: guix-git/doc/guix.texi:34920
  51606. #, no-wrap
  51607. msgid "{Scheme Variable} %base-initrd-modules"
  51608. msgstr ""
  51609. #. type: defvr
  51610. #: guix-git/doc/guix.texi:34922
  51611. msgid "This is the list of kernel modules included in the initrd by default."
  51612. msgstr ""
  51613. #. type: Plain text
  51614. #: guix-git/doc/guix.texi:34930
  51615. msgid "Furthermore, if you need lower-level customization, the @code{initrd} field of an @code{operating-system} declaration allows you to specify which initrd you would like to use. The @code{(gnu system linux-initrd)} module provides three ways to build an initrd: the high-level @code{base-initrd} procedure and the low-level @code{raw-initrd} and @code{expression->initrd} procedures."
  51616. msgstr ""
  51617. #. type: Plain text
  51618. #: guix-git/doc/guix.texi:34935
  51619. msgid "The @code{base-initrd} procedure is intended to cover most common uses. For example, if you want to add a bunch of kernel modules to be loaded at boot time, you can define the @code{initrd} field of the operating system declaration like this:"
  51620. msgstr ""
  51621. #. type: lisp
  51622. #: guix-git/doc/guix.texi:34943
  51623. #, no-wrap
  51624. msgid ""
  51625. "(initrd (lambda (file-systems . rest)\n"
  51626. " ;; Create a standard initrd but set up networking\n"
  51627. " ;; with the parameters QEMU expects by default.\n"
  51628. " (apply base-initrd file-systems\n"
  51629. " #:qemu-networking? #t\n"
  51630. " rest)))\n"
  51631. msgstr ""
  51632. #. type: Plain text
  51633. #: guix-git/doc/guix.texi:34948
  51634. msgid "The @code{base-initrd} procedure also handles common use cases that involves using the system as a QEMU guest, or as a ``live'' system with volatile root file system."
  51635. msgstr ""
  51636. #. type: Plain text
  51637. #: guix-git/doc/guix.texi:34955
  51638. msgid "The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, such as trying to guess which kernel modules and packages should be included to the initrd. An example use of @code{raw-initrd} is when a user has a custom Linux kernel configuration and default kernel modules included by @code{base-initrd} are not available."
  51639. msgstr ""
  51640. #. type: Plain text
  51641. #: guix-git/doc/guix.texi:34960
  51642. msgid "The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} honors several options passed on the Linux kernel command line (that is, arguments passed @i{via} the @code{linux} command of GRUB, or the @code{-append} option of QEMU), notably:"
  51643. msgstr ""
  51644. #. type: item
  51645. #: guix-git/doc/guix.texi:34962
  51646. #, no-wrap
  51647. msgid "--load=@var{boot}"
  51648. msgstr ""
  51649. #. type: table
  51650. #: guix-git/doc/guix.texi:34965
  51651. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  51652. msgstr ""
  51653. #. type: table
  51654. #: guix-git/doc/guix.texi:34969
  51655. msgid "Guix uses this option to yield control to a boot program that runs the service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system."
  51656. msgstr ""
  51657. #. type: item
  51658. #: guix-git/doc/guix.texi:34970
  51659. #, no-wrap
  51660. msgid "--root=@var{root}"
  51661. msgstr ""
  51662. #. type: table
  51663. #: guix-git/doc/guix.texi:34975
  51664. msgid "Mount @var{root} as the root file system. @var{root} can be a device name like @code{/dev/sda1}, a file system label, or a file system UUID. When unspecified, the device name from the root file system of the operating system declaration is used."
  51665. msgstr ""
  51666. #. type: item
  51667. #: guix-git/doc/guix.texi:34976
  51668. #, no-wrap
  51669. msgid "fsck.mode=@var{mode}"
  51670. msgstr ""
  51671. #. type: table
  51672. #: guix-git/doc/guix.texi:34982
  51673. msgid "Whether to check the @var{root} file system for errors before mounting it. @var{mode} is one of @code{skip} (never check), @code{force} (always check), or @code{auto} to respect the root file-system object's 'check?' setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  51674. msgstr ""
  51675. #. type: table
  51676. #: guix-git/doc/guix.texi:34985
  51677. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  51678. msgstr ""
  51679. #. type: item
  51680. #: guix-git/doc/guix.texi:34986
  51681. #, no-wrap
  51682. msgid "fsck.repair=@var{level}"
  51683. msgstr ""
  51684. #. type: table
  51685. #: guix-git/doc/guix.texi:34991
  51686. msgid "The level of repairs to perform automatically if errors are found in the @var{root} file system. @var{level} is one of @code{no} (do not write to @var{root} at all if possible), @code{yes} (repair as much as possible), or @code{preen} to repair problems considered safe to repair automatically."
  51687. msgstr ""
  51688. #. type: table
  51689. #: guix-git/doc/guix.texi:34994
  51690. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  51691. msgstr ""
  51692. #. type: table
  51693. #: guix-git/doc/guix.texi:34998
  51694. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  51695. msgstr ""
  51696. #. type: item
  51697. #: guix-git/doc/guix.texi:34999
  51698. #, no-wrap
  51699. msgid "modprobe.blacklist=@var{modules}@dots{}"
  51700. msgstr ""
  51701. #. type: cindex
  51702. #: guix-git/doc/guix.texi:35000
  51703. #, no-wrap
  51704. msgid "module, black-listing"
  51705. msgstr ""
  51706. #. type: cindex
  51707. #: guix-git/doc/guix.texi:35001
  51708. #, no-wrap
  51709. msgid "black list, of kernel modules"
  51710. msgstr ""
  51711. #. type: table
  51712. #: guix-git/doc/guix.texi:35006
  51713. msgid "Instruct the initial RAM disk as well as the @command{modprobe} command (from the kmod package) to refuse to load @var{modules}. @var{modules} must be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}."
  51714. msgstr ""
  51715. #. type: item
  51716. #: guix-git/doc/guix.texi:35007
  51717. #, no-wrap
  51718. msgid "--repl"
  51719. msgstr ""
  51720. #. type: table
  51721. #: guix-git/doc/guix.texi:35013
  51722. msgid "Start a read-eval-print loop (REPL) from the initial RAM disk before it tries to load kernel modules and to mount the root file system. Our marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, for more information on Guile's REPL."
  51723. msgstr ""
  51724. #. type: Plain text
  51725. #: guix-git/doc/guix.texi:35019
  51726. msgid "Now that you know all the features that initial RAM disks produced by @code{base-initrd} and @code{raw-initrd} provide, here is how to use it and customize it further."
  51727. msgstr ""
  51728. #. type: deffn
  51729. #: guix-git/doc/guix.texi:35022
  51730. #, no-wrap
  51731. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  51732. msgstr ""
  51733. #. type: deffn
  51734. #: guix-git/doc/guix.texi:35036
  51735. msgid "[#:linux-modules '()] [#:mapped-devices '()] @ [#:keyboard-layout #f] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system."
  51736. msgstr ""
  51737. #. type: deffn
  51738. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:35066
  51739. msgid "When true, @var{keyboard-layout} is a @code{<keyboard-layout>} record denoting the desired console keyboard layout. This is done before @var{mapped-devices} are set up and before @var{file-systems} are mounted such that, should the user need to enter a passphrase or use the REPL, this happens using the intended keyboard layout."
  51740. msgstr ""
  51741. #. type: deffn
  51742. #: guix-git/doc/guix.texi:35046
  51743. msgid "When @var{qemu-networking?} is true, set up networking with the standard QEMU parameters. When @var{virtio?} is true, load additional modules so that the initrd can be used as a QEMU guest with para-virtualized I/O drivers."
  51744. msgstr ""
  51745. #. type: deffn
  51746. #: guix-git/doc/guix.texi:35049
  51747. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  51748. msgstr ""
  51749. #. type: deffn
  51750. #: guix-git/doc/guix.texi:35051
  51751. #, no-wrap
  51752. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  51753. msgstr ""
  51754. #. type: deffn
  51755. #: guix-git/doc/guix.texi:35060
  51756. msgid "[#:mapped-devices '()] [#:keyboard-layout #f] @ [#:qemu-networking? #f] [#:volatile-root? #f] @ [#:linux-modules '()] Return as a file-like object a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{--root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted."
  51757. msgstr ""
  51758. #. type: deffn
  51759. #: guix-git/doc/guix.texi:35068
  51760. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  51761. msgstr ""
  51762. #. type: deffn
  51763. #: guix-git/doc/guix.texi:35073
  51764. msgid "The initrd is automatically populated with all the kernel modules necessary for @var{file-systems} and for the given options. Additional kernel modules can be listed in @var{linux-modules}. They will be added to the initrd, and loaded at boot time in the order in which they appear."
  51765. msgstr ""
  51766. #. type: Plain text
  51767. #: guix-git/doc/guix.texi:35080
  51768. msgid "Needless to say, the initrds we produce and use embed a statically-linked Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd."
  51769. msgstr ""
  51770. #. type: deffn
  51771. #: guix-git/doc/guix.texi:35081
  51772. #, no-wrap
  51773. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  51774. msgstr ""
  51775. #. type: deffn
  51776. #: guix-git/doc/guix.texi:35087
  51777. msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd."
  51778. msgstr ""
  51779. #. type: cindex
  51780. #: guix-git/doc/guix.texi:35093
  51781. #, no-wrap
  51782. msgid "boot loader"
  51783. msgstr ""
  51784. #. type: Plain text
  51785. #: guix-git/doc/guix.texi:35100
  51786. msgid "The operating system supports multiple bootloaders. The bootloader is configured using @code{bootloader-configuration} declaration. All the fields of this structure are bootloader agnostic except for one field, @code{bootloader} that indicates the bootloader to be configured and installed."
  51787. msgstr ""
  51788. #. type: Plain text
  51789. #: guix-git/doc/guix.texi:35105
  51790. msgid "Some of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field."
  51791. msgstr ""
  51792. #. type: deftp
  51793. #: guix-git/doc/guix.texi:35106
  51794. #, no-wrap
  51795. msgid "{Data Type} bootloader-configuration"
  51796. msgstr ""
  51797. #. type: deftp
  51798. #: guix-git/doc/guix.texi:35108
  51799. msgid "The type of a bootloader configuration declaration."
  51800. msgstr ""
  51801. #. type: cindex
  51802. #: guix-git/doc/guix.texi:35112
  51803. #, no-wrap
  51804. msgid "EFI, bootloader"
  51805. msgstr ""
  51806. #. type: cindex
  51807. #: guix-git/doc/guix.texi:35113
  51808. #, no-wrap
  51809. msgid "UEFI, bootloader"
  51810. msgstr ""
  51811. #. type: cindex
  51812. #: guix-git/doc/guix.texi:35114
  51813. #, no-wrap
  51814. msgid "BIOS, bootloader"
  51815. msgstr ""
  51816. #. type: table
  51817. #: guix-git/doc/guix.texi:35119
  51818. msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{grub-efi-netboot-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported."
  51819. msgstr ""
  51820. #. type: cindex
  51821. #: guix-git/doc/guix.texi:35120
  51822. #, no-wrap
  51823. msgid "ARM, bootloaders"
  51824. msgstr ""
  51825. #. type: cindex
  51826. #: guix-git/doc/guix.texi:35121
  51827. #, no-wrap
  51828. msgid "AArch64, bootloaders"
  51829. msgstr ""
  51830. #. type: table
  51831. #: guix-git/doc/guix.texi:35126
  51832. msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules. In particular, @code{(gnu bootloader u-boot)} contains definitions of bootloaders for a wide range of ARM and AArch64 systems, using the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot bootloader}."
  51833. msgstr ""
  51834. #. type: table
  51835. #: guix-git/doc/guix.texi:35132
  51836. msgid "@code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI). This is what you should use if the installation image contains a @file{/sys/firmware/efi} directory when you boot it on your system."
  51837. msgstr ""
  51838. #. type: table
  51839. #: guix-git/doc/guix.texi:35136
  51840. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  51841. msgstr ""
  51842. #. type: vindex
  51843. #: guix-git/doc/guix.texi:35137
  51844. #, no-wrap
  51845. msgid "grub-efi-netboot-bootloader"
  51846. msgstr ""
  51847. #. type: table
  51848. #: guix-git/doc/guix.texi:35141
  51849. msgid "@code{grub-efi-netboot-bootloader} allows you to boot your system over network through TFTP@. In combination with an NFS root file system this allows you to build a diskless Guix system."
  51850. msgstr ""
  51851. #. type: table
  51852. #: guix-git/doc/guix.texi:35147
  51853. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{targets} (@pxref{Bootloader Configuration, @code{targets}}), to be served by a TFTP server. You may want to mount your TFTP server directories onto the @code{targets} to move the required files to the TFTP server automatically."
  51854. msgstr ""
  51855. #. type: table
  51856. #: guix-git/doc/guix.texi:35156
  51857. msgid "If you plan to use an NFS root file system as well (actually if you mount the store from an NFS share), then the TFTP server needs to serve the file @file{/boot/grub/grub.cfg} and other files from the store (like GRUBs background image, the kernel (@pxref{operating-system Reference, @code{kernel}}) and the initrd (@pxref{operating-system Reference, @code{initrd}})), too. All these files from the store will be accessed by GRUB through TFTP with their normal store path, for example as @file{tftp://tftp-server/gnu/store/…-initrd/initrd.cpio.gz}."
  51858. msgstr ""
  51859. #. type: table
  51860. #: guix-git/doc/guix.texi:35165
  51861. msgid "Two symlinks are created to make this possible. For each target in the @code{targets} field, the first symlink is @samp{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @samp{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @samp{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  51862. msgstr ""
  51863. #. type: table
  51864. #: guix-git/doc/guix.texi:35171
  51865. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{targets} directories—usually a single @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  51866. msgstr ""
  51867. #. type: table
  51868. #: guix-git/doc/guix.texi:35176
  51869. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory to your @code{targets}."
  51870. msgstr ""
  51871. #. type: table
  51872. #: guix-git/doc/guix.texi:35181
  51873. msgid "It is important to note that symlinks pointing outside the TFTP root directory may need to be allowed in the configuration of your TFTP server. Further the store link exposes the whole store through TFTP@. Both points need to be considered carefully for security aspects."
  51874. msgstr ""
  51875. #. type: table
  51876. #: guix-git/doc/guix.texi:35186
  51877. msgid "Beside the @code{grub-efi-netboot-bootloader}, the already mentioned TFTP and NFS servers, you also need a properly configured DHCP server to make the booting over netboot possible. For all this we can currently only recommend you to look for instructions about @acronym{PXE, Preboot eXecution Environment}."
  51878. msgstr ""
  51879. #. type: table
  51880. #: guix-git/doc/guix.texi:35190
  51881. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51882. msgstr ""
  51883. #. type: table
  51884. #: guix-git/doc/guix.texi:35200
  51885. msgid "The interpretation of targets depends on the bootloader in question. For @code{grub-bootloader}, for example, they should be device names understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, they should be mount points of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{targets} should be the mount points corresponding to TFTP root directories served by your TFTP server."
  51886. msgstr ""
  51887. #. type: item
  51888. #: guix-git/doc/guix.texi:35201
  51889. #, no-wrap
  51890. msgid "@code{menu-entries} (default: @code{()})"
  51891. msgstr ""
  51892. #. type: table
  51893. #: guix-git/doc/guix.texi:35205
  51894. msgid "A possibly empty list of @code{menu-entry} objects (see below), denoting entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations."
  51895. msgstr ""
  51896. #. type: item
  51897. #: guix-git/doc/guix.texi:35206
  51898. #, no-wrap
  51899. msgid "@code{default-entry} (default: @code{0})"
  51900. msgstr ""
  51901. #. type: table
  51902. #: guix-git/doc/guix.texi:35209
  51903. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51904. msgstr ""
  51905. #. type: item
  51906. #: guix-git/doc/guix.texi:35210
  51907. #, no-wrap
  51908. msgid "@code{timeout} (default: @code{5})"
  51909. msgstr ""
  51910. #. type: table
  51911. #: guix-git/doc/guix.texi:35213
  51912. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51913. msgstr ""
  51914. #. type: cindex
  51915. #: guix-git/doc/guix.texi:35214
  51916. #, no-wrap
  51917. msgid "keyboard layout, for the bootloader"
  51918. msgstr ""
  51919. #. type: table
  51920. #: guix-git/doc/guix.texi:35218
  51921. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51922. msgstr ""
  51923. #. type: table
  51924. #: guix-git/doc/guix.texi:35221
  51925. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51926. msgstr ""
  51927. #. type: quotation
  51928. #: guix-git/doc/guix.texi:35225
  51929. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51930. msgstr ""
  51931. #. type: item
  51932. #: guix-git/doc/guix.texi:35227
  51933. #, no-wrap
  51934. msgid "@code{theme} (default: @var{#f})"
  51935. msgstr ""
  51936. #. type: table
  51937. #: guix-git/doc/guix.texi:35231
  51938. msgid "The bootloader theme object describing the theme to use. If no theme is provided, some bootloaders might use a default theme, that's true for GRUB."
  51939. msgstr ""
  51940. #. type: item
  51941. #: guix-git/doc/guix.texi:35232
  51942. #, no-wrap
  51943. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51944. msgstr ""
  51945. #. type: table
  51946. #: guix-git/doc/guix.texi:35239
  51947. msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_OUTPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  51948. msgstr ""
  51949. #. type: item
  51950. #: guix-git/doc/guix.texi:35240
  51951. #, no-wrap
  51952. msgid "@code{terminal-inputs} (default: @code{'()})"
  51953. msgstr ""
  51954. #. type: table
  51955. #: guix-git/doc/guix.texi:35248
  51956. msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_INPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  51957. msgstr ""
  51958. #. type: item
  51959. #: guix-git/doc/guix.texi:35249
  51960. #, no-wrap
  51961. msgid "@code{serial-unit} (default: @code{#f})"
  51962. msgstr ""
  51963. #. type: table
  51964. #: guix-git/doc/guix.texi:35253
  51965. msgid "The serial unit used by the bootloader, as an integer from 0 to 3. For GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  51966. msgstr ""
  51967. #. type: item
  51968. #: guix-git/doc/guix.texi:35254
  51969. #, no-wrap
  51970. msgid "@code{serial-speed} (default: @code{#f})"
  51971. msgstr ""
  51972. #. type: table
  51973. #: guix-git/doc/guix.texi:35258
  51974. msgid "The speed of the serial interface, as an integer. For GRUB, the default value is chosen at run-time; currently GRUB chooses 9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  51975. msgstr ""
  51976. #. type: cindex
  51977. #: guix-git/doc/guix.texi:35262
  51978. #, no-wrap
  51979. msgid "dual boot"
  51980. msgstr ""
  51981. #. type: cindex
  51982. #: guix-git/doc/guix.texi:35263
  51983. #, no-wrap
  51984. msgid "boot menu"
  51985. msgstr ""
  51986. #. type: Plain text
  51987. #: guix-git/doc/guix.texi:35269
  51988. msgid "Should you want to list additional boot menu entries @i{via} the @code{menu-entries} field above, you will need to create them with the @code{menu-entry} form. For example, imagine you want to be able to boot another distro (hard to imagine!), you can define a menu entry along these lines:"
  51989. msgstr ""
  51990. #. type: lisp
  51991. #: guix-git/doc/guix.texi:35276
  51992. #, no-wrap
  51993. msgid ""
  51994. "(menu-entry\n"
  51995. " (label \"The Other Distro\")\n"
  51996. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51997. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51998. " (initrd \"/boot/old/initrd\"))\n"
  51999. msgstr ""
  52000. #. type: Plain text
  52001. #: guix-git/doc/guix.texi:35279
  52002. msgid "Details below."
  52003. msgstr ""
  52004. #. type: deftp
  52005. #: guix-git/doc/guix.texi:35280
  52006. #, no-wrap
  52007. msgid "{Data Type} menu-entry"
  52008. msgstr ""
  52009. #. type: deftp
  52010. #: guix-git/doc/guix.texi:35282
  52011. msgid "The type of an entry in the bootloader menu."
  52012. msgstr ""
  52013. #. type: table
  52014. #: guix-git/doc/guix.texi:35287
  52015. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  52016. msgstr ""
  52017. #. type: item
  52018. #: guix-git/doc/guix.texi:35288
  52019. #, no-wrap
  52020. msgid "@code{linux} (default: @code{#f})"
  52021. msgstr ""
  52022. #. type: table
  52023. #: guix-git/doc/guix.texi:35290
  52024. msgid "The Linux kernel image to boot, for example:"
  52025. msgstr ""
  52026. #. type: lisp
  52027. #: guix-git/doc/guix.texi:35293
  52028. #, no-wrap
  52029. msgid "(file-append linux-libre \"/bzImage\")\n"
  52030. msgstr ""
  52031. #. type: table
  52032. #: guix-git/doc/guix.texi:35298
  52033. msgid "For GRUB, it is also possible to specify a device explicitly in the file path using GRUB's device naming convention (@pxref{Naming convention,,, grub, GNU GRUB manual}), for example:"
  52034. msgstr ""
  52035. #. type: example
  52036. #: guix-git/doc/guix.texi:35301
  52037. #, no-wrap
  52038. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  52039. msgstr ""
  52040. #. type: table
  52041. #: guix-git/doc/guix.texi:35305
  52042. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  52043. msgstr ""
  52044. #. type: item
  52045. #: guix-git/doc/guix.texi:35306
  52046. #, no-wrap
  52047. msgid "@code{linux-arguments} (default: @code{()})"
  52048. msgstr ""
  52049. #. type: table
  52050. #: guix-git/doc/guix.texi:35309
  52051. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  52052. msgstr ""
  52053. #. type: item
  52054. #: guix-git/doc/guix.texi:35310
  52055. #, no-wrap
  52056. msgid "@code{initrd} (default: @code{#f})"
  52057. msgstr ""
  52058. #. type: table
  52059. #: guix-git/doc/guix.texi:35313
  52060. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  52061. msgstr ""
  52062. #. type: table
  52063. #: guix-git/doc/guix.texi:35317
  52064. msgid "The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual})."
  52065. msgstr ""
  52066. #. type: table
  52067. #: guix-git/doc/guix.texi:35323
  52068. msgid "This may be a file system label (a string), a file system UUID (a bytevector, @pxref{File Systems}), or @code{#f}, in which case the bootloader will search the device containing the file specified by the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be an OS device name such as @file{/dev/sda1}."
  52069. msgstr ""
  52070. #. type: item
  52071. #: guix-git/doc/guix.texi:35324
  52072. #, no-wrap
  52073. msgid "@code{multiboot-kernel} (default: @code{#f})"
  52074. msgstr ""
  52075. #. type: table
  52076. #: guix-git/doc/guix.texi:35328
  52077. msgid "The kernel to boot in Multiboot-mode (@pxref{multiboot,,, grub, GNU GRUB manual}). When this field is set, a Multiboot menu-entry is generated. For example:"
  52078. msgstr ""
  52079. #. type: lisp
  52080. #: guix-git/doc/guix.texi:35331
  52081. #, no-wrap
  52082. msgid "(file-append mach \"/boot/gnumach\")\n"
  52083. msgstr ""
  52084. #. type: item
  52085. #: guix-git/doc/guix.texi:35333
  52086. #, no-wrap
  52087. msgid "@code{multiboot-arguments} (default: @code{()})"
  52088. msgstr ""
  52089. #. type: table
  52090. #: guix-git/doc/guix.texi:35335
  52091. msgid "The list of extra command-line arguments for the multiboot-kernel."
  52092. msgstr ""
  52093. #. type: item
  52094. #: guix-git/doc/guix.texi:35336
  52095. #, no-wrap
  52096. msgid "@code{multiboot-modules} (default: @code{()})"
  52097. msgstr ""
  52098. #. type: table
  52099. #: guix-git/doc/guix.texi:35338
  52100. msgid "The list of commands for loading Multiboot modules. For example:"
  52101. msgstr ""
  52102. #. type: lisp
  52103. #: guix-git/doc/guix.texi:35344
  52104. #, no-wrap
  52105. msgid ""
  52106. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  52107. " @dots{})\n"
  52108. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  52109. " @dots{}))\n"
  52110. msgstr ""
  52111. #. type: cindex
  52112. #: guix-git/doc/guix.texi:35349 guix-git/doc/guix.texi:35408
  52113. #, no-wrap
  52114. msgid "HDPI"
  52115. msgstr ""
  52116. #. type: cindex
  52117. #: guix-git/doc/guix.texi:35350 guix-git/doc/guix.texi:35409
  52118. #, no-wrap
  52119. msgid "HiDPI"
  52120. msgstr ""
  52121. #. type: cindex
  52122. #: guix-git/doc/guix.texi:35351 guix-git/doc/guix.texi:35410
  52123. #, no-wrap
  52124. msgid "resolution"
  52125. msgstr "rozlíšenie"
  52126. #. type: Plain text
  52127. #: guix-git/doc/guix.texi:35355
  52128. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  52129. msgstr ""
  52130. #. type: deftp
  52131. #: guix-git/doc/guix.texi:35356
  52132. #, no-wrap
  52133. msgid "{Data Type} grub-theme"
  52134. msgstr ""
  52135. #. type: deftp
  52136. #: guix-git/doc/guix.texi:35358
  52137. msgid "Data type representing the configuration of the GRUB theme."
  52138. msgstr ""
  52139. #. type: item
  52140. #: guix-git/doc/guix.texi:35360
  52141. #, no-wrap
  52142. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  52143. msgstr ""
  52144. #. type: table
  52145. #: guix-git/doc/guix.texi:35363
  52146. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  52147. msgstr ""
  52148. #. type: deffn
  52149. #: guix-git/doc/guix.texi:35366
  52150. #, no-wrap
  52151. msgid "{Scheme Procedure} grub-theme"
  52152. msgstr ""
  52153. #. type: deffn
  52154. #: guix-git/doc/guix.texi:35370
  52155. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  52156. msgstr ""
  52157. #. type: deffn
  52158. #: guix-git/doc/guix.texi:35373
  52159. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  52160. msgstr ""
  52161. #. type: Plain text
  52162. #: guix-git/doc/guix.texi:35377
  52163. msgid "For example, to override the default resolution, you may use something like"
  52164. msgstr ""
  52165. #. type: lisp
  52166. #: guix-git/doc/guix.texi:35385
  52167. #, no-wrap
  52168. msgid ""
  52169. "(bootloader\n"
  52170. " (bootloader-configuration\n"
  52171. " ;; @dots{}\n"
  52172. " (theme (grub-theme\n"
  52173. " (inherit (grub-theme))\n"
  52174. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  52175. msgstr ""
  52176. #. type: section
  52177. #: guix-git/doc/guix.texi:35388
  52178. #, no-wrap
  52179. msgid "Invoking @code{guix system}"
  52180. msgstr ""
  52181. #. type: Plain text
  52182. #: guix-git/doc/guix.texi:35393
  52183. msgid "Once you have written an operating system declaration as seen in the previous section, it can be @dfn{instantiated} using the @command{guix system} command. The synopsis is:"
  52184. msgstr ""
  52185. #. type: example
  52186. #: guix-git/doc/guix.texi:35396
  52187. #, no-wrap
  52188. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  52189. msgstr ""
  52190. #. type: Plain text
  52191. #: guix-git/doc/guix.texi:35402
  52192. msgid "@var{file} must be the name of a file containing an @code{operating-system} declaration. @var{action} specifies how the operating system is instantiated. Currently the following values are supported:"
  52193. msgstr ""
  52194. #. type: item
  52195. #: guix-git/doc/guix.texi:35404 guix-git/doc/guix.texi:38186
  52196. #, no-wrap
  52197. msgid "search"
  52198. msgstr "vyhľadávanie"
  52199. #. type: table
  52200. #: guix-git/doc/guix.texi:35407
  52201. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  52202. msgstr ""
  52203. #. type: example
  52204. #: guix-git/doc/guix.texi:35429
  52205. #, no-wrap
  52206. msgid ""
  52207. "$ guix system search console\n"
  52208. "name: console-fonts\n"
  52209. "location: gnu/services/base.scm:806:2\n"
  52210. "extends: shepherd-root\n"
  52211. "description: Install the given fonts on the specified ttys (fonts are per\n"
  52212. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  52213. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  52214. "+ package or any valid argument to `setfont', as in this example:\n"
  52215. "+\n"
  52216. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  52217. "+ (\"tty2\" . (file-append\n"
  52218. "+ font-tamzen\n"
  52219. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  52220. "+ (\"tty3\" . (file-append\n"
  52221. "+ font-terminus\n"
  52222. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  52223. "relevance: 9\n"
  52224. "\n"
  52225. msgstr ""
  52226. #. type: example
  52227. #: guix-git/doc/guix.texi:35435
  52228. #, no-wrap
  52229. msgid ""
  52230. "name: mingetty\n"
  52231. "location: gnu/services/base.scm:1190:2\n"
  52232. "extends: shepherd-root\n"
  52233. "description: Provide console login using the `mingetty' program.\n"
  52234. "relevance: 2\n"
  52235. "\n"
  52236. msgstr ""
  52237. #. type: example
  52238. #: guix-git/doc/guix.texi:35442
  52239. #, no-wrap
  52240. msgid ""
  52241. "name: login\n"
  52242. "location: gnu/services/base.scm:860:2\n"
  52243. "extends: pam\n"
  52244. "description: Provide a console log-in service as specified by its\n"
  52245. "+ configuration value, a `login-configuration' object.\n"
  52246. "relevance: 2\n"
  52247. "\n"
  52248. msgstr ""
  52249. #. type: example
  52250. #: guix-git/doc/guix.texi:35444 guix-git/doc/guix.texi:38222
  52251. #, no-wrap
  52252. msgid "@dots{}\n"
  52253. msgstr ""
  52254. #. type: table
  52255. #: guix-git/doc/guix.texi:35449
  52256. msgid "As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  52257. msgstr ""
  52258. #. type: item
  52259. #: guix-git/doc/guix.texi:35450 guix-git/doc/guix.texi:38228
  52260. #, no-wrap
  52261. msgid "reconfigure"
  52262. msgstr ""
  52263. #. type: table
  52264. #: guix-git/doc/guix.texi:35455
  52265. msgid "Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions @code{switch-generation} and @code{roll-back}) are usable only on systems already running Guix System.}."
  52266. msgstr ""
  52267. #. type: quotation
  52268. #: guix-git/doc/guix.texi:35463
  52269. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix system reconfigure} for the first time (@pxref{Invoking guix pull}). Failing to do that you would see an older version of Guix once @command{reconfigure} has completed."
  52270. msgstr ""
  52271. #. type: table
  52272. #: guix-git/doc/guix.texi:35471
  52273. msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or @code{herd restart X})."
  52274. msgstr ""
  52275. #. type: table
  52276. #: guix-git/doc/guix.texi:35477
  52277. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  52278. msgstr ""
  52279. #. type: table
  52280. #: guix-git/doc/guix.texi:35482
  52281. msgid "It also adds a bootloader menu entry for the new OS configuration, ---unless @option{--no-bootloader} is passed. For GRUB, it moves entries for older configurations to a submenu, allowing you to choose an older system generation at boot time should you need it."
  52282. msgstr ""
  52283. #. type: cindex
  52284. #: guix-git/doc/guix.texi:35483 guix-git/doc/guix.texi:35819
  52285. #: guix-git/doc/guix.texi:36827
  52286. #, no-wrap
  52287. msgid "provenance tracking, of the operating system"
  52288. msgstr ""
  52289. #. type: table
  52290. #: guix-git/doc/guix.texi:35488
  52291. msgid "Upon completion, the new system is deployed under @file{/run/current-system}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view it by running:"
  52292. msgstr ""
  52293. #. type: example
  52294. #: guix-git/doc/guix.texi:35491
  52295. #, no-wrap
  52296. msgid "guix system describe\n"
  52297. msgstr ""
  52298. #. type: table
  52299. #: guix-git/doc/guix.texi:35497
  52300. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your operating system with:"
  52301. msgstr ""
  52302. #. type: example
  52303. #: guix-git/doc/guix.texi:35503
  52304. #, no-wrap
  52305. msgid ""
  52306. "guix time-machine \\\n"
  52307. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  52308. " system reconfigure \\\n"
  52309. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  52310. msgstr ""
  52311. #. type: table
  52312. #: guix-git/doc/guix.texi:35509
  52313. msgid "You can think of it as some sort of built-in version control! Your system is not just a binary artifact: @emph{it carries its own source}. @xref{Service Reference, @code{provenance-service-type}}, for more information on provenance tracking."
  52314. msgstr ""
  52315. #. type: table
  52316. #: guix-git/doc/guix.texi:35515
  52317. msgid "By default, @command{reconfigure} @emph{prevents you from downgrading your system}, which could (re)introduce security vulnerabilities and also cause problems with ``stateful'' services such as database management systems. You can override that behavior by passing @option{--allow-downgrades}."
  52318. msgstr ""
  52319. #. type: item
  52320. #: guix-git/doc/guix.texi:35516 guix-git/doc/guix.texi:38287
  52321. #, no-wrap
  52322. msgid "switch-generation"
  52323. msgstr ""
  52324. #. type: table
  52325. #: guix-git/doc/guix.texi:35525
  52326. msgid "Switch to an existing system generation. This action atomically switches the system profile to the specified system generation. It also rearranges the system's existing bootloader menu entries. It makes the menu entry for the specified system generation the default, and it moves the entries for the other generations to a submenu, if supported by the bootloader being used. The next time the system boots, it will use the specified system generation."
  52327. msgstr ""
  52328. #. type: table
  52329. #: guix-git/doc/guix.texi:35529
  52330. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  52331. msgstr ""
  52332. #. type: table
  52333. #: guix-git/doc/guix.texi:35533
  52334. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  52335. msgstr ""
  52336. #. type: example
  52337. #: guix-git/doc/guix.texi:35536
  52338. #, no-wrap
  52339. msgid "guix system switch-generation 7\n"
  52340. msgstr ""
  52341. #. type: table
  52342. #: guix-git/doc/guix.texi:35544 guix-git/doc/guix.texi:38306
  52343. msgid "The target generation can also be specified relative to the current generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 generations ahead of the current generation,'' and @code{-1} means ``1 generation prior to the current generation.'' When specifying a negative value such as @code{-1}, you must precede it with @code{--} to prevent it from being parsed as an option. For example:"
  52344. msgstr ""
  52345. #. type: example
  52346. #: guix-git/doc/guix.texi:35547
  52347. #, no-wrap
  52348. msgid "guix system switch-generation -- -1\n"
  52349. msgstr ""
  52350. #. type: table
  52351. #: guix-git/doc/guix.texi:35555
  52352. msgid "Currently, the effect of invoking this action is @emph{only} to switch the system profile to an existing generation and rearrange the bootloader menu entries. To actually start using the target system generation, you must reboot after running this action. In the future, it will be updated to do the same things as @command{reconfigure}, like activating and deactivating services."
  52353. msgstr ""
  52354. #. type: table
  52355. #: guix-git/doc/guix.texi:35557 guix-git/doc/guix.texi:38312
  52356. msgid "This action will fail if the specified generation does not exist."
  52357. msgstr ""
  52358. #. type: item
  52359. #: guix-git/doc/guix.texi:35558 guix-git/doc/guix.texi:38313
  52360. #, no-wrap
  52361. msgid "roll-back"
  52362. msgstr ""
  52363. #. type: table
  52364. #: guix-git/doc/guix.texi:35564
  52365. msgid "Switch to the preceding system generation. The next time the system boots, it will use the preceding system generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  52366. msgstr ""
  52367. #. type: table
  52368. #: guix-git/doc/guix.texi:35568
  52369. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  52370. msgstr ""
  52371. #. type: item
  52372. #: guix-git/doc/guix.texi:35569 guix-git/doc/guix.texi:38319
  52373. #, no-wrap
  52374. msgid "delete-generations"
  52375. msgstr ""
  52376. #. type: cindex
  52377. #: guix-git/doc/guix.texi:35570
  52378. #, no-wrap
  52379. msgid "deleting system generations"
  52380. msgstr ""
  52381. #. type: cindex
  52382. #: guix-git/doc/guix.texi:35571 guix-git/doc/guix.texi:38321
  52383. #, no-wrap
  52384. msgid "saving space"
  52385. msgstr ""
  52386. #. type: table
  52387. #: guix-git/doc/guix.texi:35575
  52388. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52389. msgstr ""
  52390. #. type: table
  52391. #: guix-git/doc/guix.texi:35579
  52392. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all system generations but the current one are deleted:"
  52393. msgstr ""
  52394. #. type: example
  52395. #: guix-git/doc/guix.texi:35582
  52396. #, no-wrap
  52397. msgid "guix system delete-generations\n"
  52398. msgstr ""
  52399. #. type: table
  52400. #: guix-git/doc/guix.texi:35586
  52401. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  52402. msgstr ""
  52403. #. type: example
  52404. #: guix-git/doc/guix.texi:35589
  52405. #, no-wrap
  52406. msgid "guix system delete-generations 2m\n"
  52407. msgstr ""
  52408. #. type: table
  52409. #: guix-git/doc/guix.texi:35594
  52410. msgid "Running this command automatically reinstalls the bootloader with an updated list of menu entries---e.g., the ``old generations'' sub-menu in GRUB no longer lists the generations that have been deleted."
  52411. msgstr ""
  52412. #. type: table
  52413. #: guix-git/doc/guix.texi:35599
  52414. msgid "Build the derivation of the operating system, which includes all the configuration files and programs needed to boot and run the system. This action does not actually install anything."
  52415. msgstr ""
  52416. #. type: item
  52417. #: guix-git/doc/guix.texi:35600
  52418. #, no-wrap
  52419. msgid "init"
  52420. msgstr ""
  52421. #. type: table
  52422. #: guix-git/doc/guix.texi:35604
  52423. msgid "Populate the given directory with all the files necessary to run the operating system specified in @var{file}. This is useful for first-time installations of Guix System. For instance:"
  52424. msgstr ""
  52425. #. type: example
  52426. #: guix-git/doc/guix.texi:35607
  52427. #, no-wrap
  52428. msgid "guix system init my-os-config.scm /mnt\n"
  52429. msgstr ""
  52430. #. type: table
  52431. #: guix-git/doc/guix.texi:35614
  52432. msgid "copies to @file{/mnt} all the store items required by the configuration specified in @file{my-os-config.scm}. This includes configuration files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file."
  52433. msgstr ""
  52434. #. type: table
  52435. #: guix-git/doc/guix.texi:35618
  52436. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  52437. msgstr ""
  52438. #. type: item
  52439. #: guix-git/doc/guix.texi:35619
  52440. #, no-wrap
  52441. msgid "vm"
  52442. msgstr "virtuálny stroj"
  52443. #. type: cindex
  52444. #: guix-git/doc/guix.texi:35620 guix-git/doc/guix.texi:36238
  52445. #, no-wrap
  52446. msgid "virtual machine"
  52447. msgstr "virtuálny stroj"
  52448. #. type: cindex
  52449. #: guix-git/doc/guix.texi:35621
  52450. #, no-wrap
  52451. msgid "VM"
  52452. msgstr ""
  52453. #. type: anchor{#1}
  52454. #: guix-git/doc/guix.texi:35625
  52455. msgid "guix system vm"
  52456. msgstr ""
  52457. #. type: table
  52458. #: guix-git/doc/guix.texi:35625
  52459. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  52460. msgstr ""
  52461. #. type: quotation
  52462. #: guix-git/doc/guix.texi:35633
  52463. msgid "The @code{vm} action and others below can use KVM support in the Linux-libre kernel. Specifically, if the machine has hardware virtualization support, the corresponding KVM kernel module should be loaded, and the @file{/dev/kvm} device node must exist and be readable and writable by the user and by the build users of the daemon (@pxref{Build Environment Setup})."
  52464. msgstr ""
  52465. #. type: table
  52466. #: guix-git/doc/guix.texi:35638
  52467. msgid "Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine:"
  52468. msgstr ""
  52469. #. type: example
  52470. #: guix-git/doc/guix.texi:35641
  52471. #, no-wrap
  52472. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52473. msgstr ""
  52474. #. type: table
  52475. #: guix-git/doc/guix.texi:35644
  52476. msgid "It's possible to combine the two steps into one:"
  52477. msgstr ""
  52478. #. type: example
  52479. #: guix-git/doc/guix.texi:35647
  52480. #, no-wrap
  52481. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52482. msgstr ""
  52483. #. type: table
  52484. #: guix-git/doc/guix.texi:35650
  52485. msgid "The VM shares its store with the host system."
  52486. msgstr ""
  52487. #. type: table
  52488. #: guix-git/doc/guix.texi:35655
  52489. msgid "By default, the root file system of the VM is mounted volatile; the @option{--persistent} option can be provided to make it persistent instead. In that case, the VM disk-image file will be copied from the store to the @env{TMPDIR} directory to make it writable."
  52490. msgstr ""
  52491. #. type: table
  52492. #: guix-git/doc/guix.texi:35660
  52493. msgid "Additional file systems can be shared between the host and the VM using the @option{--share} and @option{--expose} command-line options: the former specifies a directory to be shared with write access, while the latter provides read-only access to the shared directory."
  52494. msgstr ""
  52495. #. type: table
  52496. #: guix-git/doc/guix.texi:35664
  52497. msgid "The example below creates a VM in which the user's home directory is accessible read-only, and where the @file{/exchange} directory is a read-write mapping of @file{$HOME/tmp} on the host:"
  52498. msgstr ""
  52499. #. type: example
  52500. #: guix-git/doc/guix.texi:35668
  52501. #, no-wrap
  52502. msgid ""
  52503. "guix system vm my-config.scm \\\n"
  52504. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52505. msgstr ""
  52506. #. type: table
  52507. #: guix-git/doc/guix.texi:35673
  52508. msgid "On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted."
  52509. msgstr ""
  52510. #. type: table
  52511. #: guix-git/doc/guix.texi:35678
  52512. msgid "The @option{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created."
  52513. msgstr ""
  52514. #. type: table
  52515. #: guix-git/doc/guix.texi:35681
  52516. msgid "The @option{--image-size} option can be used to specify the size of the image."
  52517. msgstr ""
  52518. #. type: table
  52519. #: guix-git/doc/guix.texi:35688
  52520. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  52521. msgstr ""
  52522. #. type: cindex
  52523. #: guix-git/doc/guix.texi:35689
  52524. #, no-wrap
  52525. msgid "System images, creation in various formats"
  52526. msgstr ""
  52527. #. type: cindex
  52528. #: guix-git/doc/guix.texi:35690
  52529. #, no-wrap
  52530. msgid "Creating system images in various formats"
  52531. msgstr ""
  52532. #. type: item
  52533. #: guix-git/doc/guix.texi:35691
  52534. #, no-wrap
  52535. msgid "image"
  52536. msgstr "obraz"
  52537. #. type: cindex
  52538. #: guix-git/doc/guix.texi:35692
  52539. #, no-wrap
  52540. msgid "image, creating disk images"
  52541. msgstr ""
  52542. #. type: table
  52543. #: guix-git/doc/guix.texi:35704
  52544. msgid "The @code{image} command can produce various image types. The image type can be selected using the @option{--image-type} option. It defaults to @code{efi-raw}. When its value is @code{iso9660}, the @option{--label} option can be used to specify a volume ID with @code{image}. By default, the root file system of a disk image is mounted non-volatile; the @option{--volatile} option can be provided to make it volatile instead. When using @code{image}, the bootloader installed on the generated image is taken from the provided @code{operating-system} definition. The following example demonstrates how to generate an image that uses the @code{grub-efi-bootloader} bootloader and boot it with QEMU:"
  52545. msgstr ""
  52546. #. type: example
  52547. #: guix-git/doc/guix.texi:35712
  52548. #, no-wrap
  52549. msgid ""
  52550. "image=$(guix system image --image-type=qcow2 \\\n"
  52551. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  52552. "cp $image /tmp/my-image.qcow2\n"
  52553. "chmod +w /tmp/my-image.qcow2\n"
  52554. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  52555. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  52556. msgstr ""
  52557. #. type: table
  52558. #: guix-git/doc/guix.texi:35718
  52559. msgid "When using the @code{efi-raw} image type, a raw disk image is produced; it can be copied as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device corresponding to a USB stick, one can copy the image to it using the following command:"
  52560. msgstr ""
  52561. #. type: example
  52562. #: guix-git/doc/guix.texi:35721
  52563. #, no-wrap
  52564. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  52565. msgstr ""
  52566. #. type: table
  52567. #: guix-git/doc/guix.texi:35725
  52568. msgid "The @code{--list-image-types} command lists all the available image types."
  52569. msgstr ""
  52570. #. type: cindex
  52571. #: guix-git/doc/guix.texi:35726
  52572. #, no-wrap
  52573. msgid "creating virtual machine images"
  52574. msgstr ""
  52575. #. type: table
  52576. #: guix-git/doc/guix.texi:35735
  52577. msgid "When using the @code{qcow2} image type, the returned image is in qcow2 format, which the QEMU emulator can efficiently use. @xref{Running Guix in a VM}, for more information on how to run the image in a virtual machine. The @code{grub-bootloader} bootloader is always used independently of what is declared in the @code{operating-system} file passed as argument. This is to make it easier to work with QEMU, which uses the SeaBIOS BIOS by default, expecting a bootloader to be installed in the Master Boot Record (MBR)."
  52578. msgstr ""
  52579. #. type: cindex
  52580. #: guix-git/doc/guix.texi:35736
  52581. #, no-wrap
  52582. msgid "docker-image, creating docker images"
  52583. msgstr ""
  52584. #. type: table
  52585. #: guix-git/doc/guix.texi:35742
  52586. msgid "When using the @code{docker} image type, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  52587. msgstr ""
  52588. #. type: example
  52589. #: guix-git/doc/guix.texi:35747
  52590. #, no-wrap
  52591. msgid ""
  52592. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  52593. "container_id=\"$(docker create $image_id)\"\n"
  52594. "docker start $container_id\n"
  52595. msgstr ""
  52596. #. type: table
  52597. #: guix-git/doc/guix.texi:35754
  52598. msgid "This command starts a new Docker container from the specified image. It will boot the Guix system in the usual manner, which means it will start any services you have defined in the operating system configuration. You can get an interactive shell running in the container using @command{docker exec}:"
  52599. msgstr ""
  52600. #. type: example
  52601. #: guix-git/doc/guix.texi:35757
  52602. #, no-wrap
  52603. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  52604. msgstr ""
  52605. #. type: table
  52606. #: guix-git/doc/guix.texi:35764
  52607. msgid "Depending on what you run in the Docker container, it may be necessary to give the container additional permissions. For example, if you intend to build software using Guix inside of the Docker container, you may need to pass the @option{--privileged} option to @code{docker create}."
  52608. msgstr ""
  52609. #. type: table
  52610. #: guix-git/doc/guix.texi:35768
  52611. msgid "Last, the @option{--network} option applies to @command{guix system docker-image}: it produces an image where network is supposedly shared with the host, and thus without services like nscd or NetworkManager."
  52612. msgstr ""
  52613. #. type: table
  52614. #: guix-git/doc/guix.texi:35776
  52615. msgid "Return a script to run the operating system declared in @var{file} within a container. Containers are a set of lightweight isolation mechanisms provided by the kernel Linux-libre. Containers are substantially less resource-demanding than full virtual machines since the kernel, shared objects, and other resources can be shared with the host system; this also means they provide thinner isolation."
  52616. msgstr ""
  52617. #. type: table
  52618. #: guix-git/doc/guix.texi:35780
  52619. msgid "Currently, the script must be run as root in order to support more than a single user and group. The container shares its store with the host system."
  52620. msgstr ""
  52621. #. type: table
  52622. #: guix-git/doc/guix.texi:35784
  52623. msgid "As with the @code{vm} action (@pxref{guix system vm}), additional file systems to be shared between the host and container can be specified using the @option{--share} and @option{--expose} options:"
  52624. msgstr ""
  52625. #. type: example
  52626. #: guix-git/doc/guix.texi:35788
  52627. #, no-wrap
  52628. msgid ""
  52629. "guix system container my-config.scm \\\n"
  52630. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52631. msgstr ""
  52632. #. type: quotation
  52633. #: guix-git/doc/guix.texi:35792
  52634. msgid "This option requires Linux-libre 3.19 or newer."
  52635. msgstr ""
  52636. #. type: Plain text
  52637. #: guix-git/doc/guix.texi:35799 guix-git/doc/guix.texi:38383
  52638. msgid "@var{options} can contain any of the common build options (@pxref{Common Build Options}). In addition, @var{options} can contain one of the following:"
  52639. msgstr ""
  52640. #. type: table
  52641. #: guix-git/doc/guix.texi:35808
  52642. msgid "Consider the operating-system @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to an operating system. This is used to generate the Guix system installer @pxref{Building the Installation Image})."
  52643. msgstr ""
  52644. #. type: table
  52645. #: guix-git/doc/guix.texi:35813
  52646. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  52647. msgstr ""
  52648. #. type: table
  52649. #: guix-git/doc/guix.texi:35818
  52650. msgid "Return the derivation file name of the given operating system without building anything."
  52651. msgstr ""
  52652. #. type: table
  52653. #: guix-git/doc/guix.texi:35827
  52654. msgid "As discussed above, @command{guix system init} and @command{guix system reconfigure} always save provenance information @i{via} a dedicated service (@pxref{Service Reference, @code{provenance-service-type}}). However, other commands don't do that by default. If you wish to, say, create a virtual machine image that contains provenance information, you can run:"
  52655. msgstr ""
  52656. #. type: example
  52657. #: guix-git/doc/guix.texi:35830
  52658. #, no-wrap
  52659. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  52660. msgstr ""
  52661. #. type: table
  52662. #: guix-git/doc/guix.texi:35837
  52663. msgid "That way, the resulting image will effectively ``embed its own source'' in the form of meta-data in @file{/run/current-system}. With that information, one can rebuild the image to make sure it really contains what it pretends to contain; or they could use that to derive a variant of the image."
  52664. msgstr ""
  52665. #. type: item
  52666. #: guix-git/doc/guix.texi:35838
  52667. #, no-wrap
  52668. msgid "--image-type=@var{type}"
  52669. msgstr ""
  52670. #. type: table
  52671. #: guix-git/doc/guix.texi:35841
  52672. msgid "For the @code{image} action, create an image with given @var{type}."
  52673. msgstr ""
  52674. #. type: table
  52675. #: guix-git/doc/guix.texi:35844
  52676. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  52677. msgstr ""
  52678. #. type: cindex
  52679. #: guix-git/doc/guix.texi:35845
  52680. #, no-wrap
  52681. msgid "ISO-9660 format"
  52682. msgstr ""
  52683. #. type: cindex
  52684. #: guix-git/doc/guix.texi:35846
  52685. #, no-wrap
  52686. msgid "CD image format"
  52687. msgstr ""
  52688. #. type: cindex
  52689. #: guix-git/doc/guix.texi:35847
  52690. #, no-wrap
  52691. msgid "DVD image format"
  52692. msgstr ""
  52693. #. type: table
  52694. #: guix-git/doc/guix.texi:35850
  52695. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  52696. msgstr ""
  52697. #. type: item
  52698. #: guix-git/doc/guix.texi:35851
  52699. #, no-wrap
  52700. msgid "--image-size=@var{size}"
  52701. msgstr ""
  52702. #. type: table
  52703. #: guix-git/doc/guix.texi:35856
  52704. msgid "For the @code{image} action, create an image of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  52705. msgstr ""
  52706. #. type: table
  52707. #: guix-git/doc/guix.texi:35860
  52708. msgid "When this option is omitted, @command{guix system} computes an estimate of the image size as a function of the size of the system declared in @var{file}."
  52709. msgstr ""
  52710. #. type: table
  52711. #: guix-git/doc/guix.texi:35865
  52712. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  52713. msgstr ""
  52714. #. type: item
  52715. #: guix-git/doc/guix.texi:35871
  52716. #, no-wrap
  52717. msgid "--skip-checks"
  52718. msgstr ""
  52719. #. type: table
  52720. #: guix-git/doc/guix.texi:35873
  52721. msgid "Skip pre-installation safety checks."
  52722. msgstr ""
  52723. #. type: table
  52724. #: guix-git/doc/guix.texi:35880
  52725. msgid "By default, @command{guix system init} and @command{guix system reconfigure} perform safety checks: they make sure the file systems that appear in the @code{operating-system} declaration actually exist (@pxref{File Systems}), and that any Linux kernel modules that may be needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether."
  52726. msgstr ""
  52727. #. type: table
  52728. #: guix-git/doc/guix.texi:35883
  52729. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  52730. msgstr ""
  52731. #. type: table
  52732. #: guix-git/doc/guix.texi:35891
  52733. msgid "By default, @command{reconfigure} prevents you from downgrading your system. It achieves that by comparing the provenance info of your system (shown by @command{guix system describe}) with that of your @command{guix} command (shown by @command{guix describe}). If the commits for @command{guix} are not descendants of those used for your system, @command{guix system reconfigure} errors out. Passing @option{--allow-downgrades} allows you to bypass these checks."
  52734. msgstr ""
  52735. #. type: cindex
  52736. #: guix-git/doc/guix.texi:35897
  52737. #, no-wrap
  52738. msgid "on-error"
  52739. msgstr ""
  52740. #. type: cindex
  52741. #: guix-git/doc/guix.texi:35898
  52742. #, no-wrap
  52743. msgid "on-error strategy"
  52744. msgstr ""
  52745. #. type: cindex
  52746. #: guix-git/doc/guix.texi:35899
  52747. #, no-wrap
  52748. msgid "error strategy"
  52749. msgstr ""
  52750. #. type: item
  52751. #: guix-git/doc/guix.texi:35900
  52752. #, no-wrap
  52753. msgid "--on-error=@var{strategy}"
  52754. msgstr ""
  52755. #. type: table
  52756. #: guix-git/doc/guix.texi:35903
  52757. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  52758. msgstr ""
  52759. #. type: item
  52760. #: guix-git/doc/guix.texi:35905
  52761. #, no-wrap
  52762. msgid "nothing-special"
  52763. msgstr ""
  52764. #. type: table
  52765. #: guix-git/doc/guix.texi:35907
  52766. msgid "Report the error concisely and exit. This is the default strategy."
  52767. msgstr ""
  52768. #. type: item
  52769. #: guix-git/doc/guix.texi:35908
  52770. #, no-wrap
  52771. msgid "backtrace"
  52772. msgstr ""
  52773. #. type: table
  52774. #: guix-git/doc/guix.texi:35910
  52775. msgid "Likewise, but also display a backtrace."
  52776. msgstr ""
  52777. #. type: item
  52778. #: guix-git/doc/guix.texi:35911
  52779. #, no-wrap
  52780. msgid "debug"
  52781. msgstr "ladenie"
  52782. #. type: table
  52783. #: guix-git/doc/guix.texi:35917
  52784. msgid "Report the error and enter Guile's debugger. From there, you can run commands such as @code{,bt} to get a backtrace, @code{,locals} to display local variable values, and more generally inspect the state of the program. @xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of available debugging commands."
  52785. msgstr ""
  52786. #. type: Plain text
  52787. #: guix-git/doc/guix.texi:35924
  52788. msgid "Once you have built, configured, re-configured, and re-re-configured your Guix installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the bootloader boot menu:"
  52789. msgstr ""
  52790. #. type: item
  52791. #: guix-git/doc/guix.texi:35927 guix-git/doc/guix.texi:38346
  52792. #, no-wrap
  52793. msgid "describe"
  52794. msgstr ""
  52795. #. type: table
  52796. #: guix-git/doc/guix.texi:35930
  52797. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  52798. msgstr ""
  52799. #. type: quotation
  52800. #: guix-git/doc/guix.texi:35937
  52801. msgid "The @emph{running} system generation---referred to by @file{/run/current-system}---is not necessarily the @emph{current} system generation---referred to by @file{/var/guix/profiles/system}: it differs when, for instance, you chose from the bootloader menu to boot an older generation."
  52802. msgstr ""
  52803. #. type: quotation
  52804. #: guix-git/doc/guix.texi:35941
  52805. msgid "It can also differ from the @emph{booted} system generation---referred to by @file{/run/booted-system}---for instance because you reconfigured the system in the meantime."
  52806. msgstr ""
  52807. #. type: item
  52808. #: guix-git/doc/guix.texi:35943 guix-git/doc/guix.texi:38350
  52809. #, no-wrap
  52810. msgid "list-generations"
  52811. msgstr ""
  52812. #. type: table
  52813. #: guix-git/doc/guix.texi:35948
  52814. msgid "List a summary of each generation of the operating system available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  52815. msgstr ""
  52816. #. type: table
  52817. #: guix-git/doc/guix.texi:35953 guix-git/doc/guix.texi:38360
  52818. msgid "Optionally, one can specify a pattern, with the same syntax that is used in @command{guix package --list-generations}, to restrict the list of generations displayed. For instance, the following command displays generations that are up to 10 days old:"
  52819. msgstr ""
  52820. #. type: example
  52821. #: guix-git/doc/guix.texi:35956
  52822. #, no-wrap
  52823. msgid "$ guix system list-generations 10d\n"
  52824. msgstr ""
  52825. #. type: Plain text
  52826. #: guix-git/doc/guix.texi:35963
  52827. msgid "The @command{guix system} command has even more to offer! The following sub-commands allow you to visualize how your system services relate to each other:"
  52828. msgstr ""
  52829. #. type: anchor{#1}
  52830. #: guix-git/doc/guix.texi:35965
  52831. msgid "system-extension-graph"
  52832. msgstr ""
  52833. #. type: item
  52834. #: guix-git/doc/guix.texi:35967
  52835. #, no-wrap
  52836. msgid "extension-graph"
  52837. msgstr ""
  52838. #. type: table
  52839. #: guix-git/doc/guix.texi:35974
  52840. msgid "Emit to standard output the @dfn{service extension graph} of the operating system defined in @var{file} (@pxref{Service Composition}, for more information on service extensions). By default the output is in Dot/Graphviz format, but you can choose a different format with @option{--graph-backend}, as with @command{guix graph} (@pxref{Invoking guix graph, @option{--backend}}):"
  52841. msgstr ""
  52842. #. type: table
  52843. #: guix-git/doc/guix.texi:35976
  52844. msgid "The command:"
  52845. msgstr ""
  52846. #. type: example
  52847. #: guix-git/doc/guix.texi:35979
  52848. #, no-wrap
  52849. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  52850. msgstr ""
  52851. #. type: table
  52852. #: guix-git/doc/guix.texi:35982
  52853. msgid "shows the extension relations among services."
  52854. msgstr ""
  52855. #. type: anchor{#1}
  52856. #: guix-git/doc/guix.texi:35984
  52857. msgid "system-shepherd-graph"
  52858. msgstr ""
  52859. #. type: item
  52860. #: guix-git/doc/guix.texi:35984
  52861. #, no-wrap
  52862. msgid "shepherd-graph"
  52863. msgstr ""
  52864. #. type: table
  52865. #: guix-git/doc/guix.texi:35989
  52866. msgid "Emit to standard output the @dfn{dependency graph} of shepherd services of the operating system defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph."
  52867. msgstr ""
  52868. #. type: table
  52869. #: guix-git/doc/guix.texi:35992
  52870. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52871. msgstr ""
  52872. #. type: section
  52873. #: guix-git/doc/guix.texi:35996
  52874. #, no-wrap
  52875. msgid "Invoking @code{guix deploy}"
  52876. msgstr ""
  52877. #. type: Plain text
  52878. #: guix-git/doc/guix.texi:36004
  52879. msgid "We've already seen @code{operating-system} declarations used to manage a machine's configuration locally. Suppose you need to configure multiple machines, though---perhaps you're managing a service on the web that's comprised of several servers. @command{guix deploy} enables you to use those same @code{operating-system} declarations to manage multiple remote hosts at once as a logical ``deployment''."
  52880. msgstr ""
  52881. #. type: quotation
  52882. #: guix-git/doc/guix.texi:36009 guix-git/doc/guix.texi:37504
  52883. msgid "The functionality described in this section is still under development and is subject to change. Get in touch with us on @email{guix-devel@@gnu.org}!"
  52884. msgstr ""
  52885. #. type: example
  52886. #: guix-git/doc/guix.texi:36013
  52887. #, no-wrap
  52888. msgid "guix deploy @var{file}\n"
  52889. msgstr ""
  52890. #. type: Plain text
  52891. #: guix-git/doc/guix.texi:36017
  52892. msgid "Such an invocation will deploy the machines that the code within @var{file} evaluates to. As an example, @var{file} might contain a definition like this:"
  52893. msgstr ""
  52894. #. type: lisp
  52895. #: guix-git/doc/guix.texi:36024
  52896. #, no-wrap
  52897. msgid ""
  52898. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52899. ";; no X11 display server, to a machine with an SSH daemon\n"
  52900. ";; listening on localhost:2222. A configuration such as this\n"
  52901. ";; may be appropriate for virtual machine with ports\n"
  52902. ";; forwarded to the host's loopback interface.\n"
  52903. "\n"
  52904. msgstr ""
  52905. #. type: lisp
  52906. #: guix-git/doc/guix.texi:36027
  52907. #, no-wrap
  52908. msgid ""
  52909. "(use-service-modules networking ssh)\n"
  52910. "(use-package-modules bootloaders)\n"
  52911. "\n"
  52912. msgstr ""
  52913. #. type: lisp
  52914. #: guix-git/doc/guix.texi:36048
  52915. #, no-wrap
  52916. msgid ""
  52917. "(define %system\n"
  52918. " (operating-system\n"
  52919. " (host-name \"gnu-deployed\")\n"
  52920. " (timezone \"Etc/UTC\")\n"
  52921. " (bootloader (bootloader-configuration\n"
  52922. " (bootloader grub-bootloader)\n"
  52923. " (targets '(\"/dev/vda\"))\n"
  52924. " (terminal-outputs '(console))))\n"
  52925. " (file-systems (cons (file-system\n"
  52926. " (mount-point \"/\")\n"
  52927. " (device \"/dev/vda1\")\n"
  52928. " (type \"ext4\"))\n"
  52929. " %base-file-systems))\n"
  52930. " (services\n"
  52931. " (append (list (service dhcp-client-service-type)\n"
  52932. " (service openssh-service-type\n"
  52933. " (openssh-configuration\n"
  52934. " (permit-root-login #t)\n"
  52935. " (allow-empty-passwords? #t))))\n"
  52936. " %base-services))))\n"
  52937. "\n"
  52938. msgstr ""
  52939. #. type: lisp
  52940. #: guix-git/doc/guix.texi:36058
  52941. #, no-wrap
  52942. msgid ""
  52943. "(list (machine\n"
  52944. " (operating-system %system)\n"
  52945. " (environment managed-host-environment-type)\n"
  52946. " (configuration (machine-ssh-configuration\n"
  52947. " (host-name \"localhost\")\n"
  52948. " (system \"x86_64-linux\")\n"
  52949. " (user \"alice\")\n"
  52950. " (identity \"./id_rsa\")\n"
  52951. " (port 2222)))))\n"
  52952. msgstr ""
  52953. #. type: Plain text
  52954. #: guix-git/doc/guix.texi:36071
  52955. msgid "The file should evaluate to a list of @var{machine} objects. This example, upon being deployed, will create a new generation on the remote system realizing the @code{operating-system} declaration @code{%system}. @code{environment} and @code{configuration} specify how the machine should be provisioned---that is, how the computing resources should be created and managed. The above example does not create any resources, as a @code{'managed-host} is a machine that is already running the Guix system and available over the network. This is a particularly simple case; a more complex deployment may involve, for example, starting virtual machines through a Virtual Private Server (VPS) provider. In such a case, a different @var{environment} type would be used."
  52956. msgstr ""
  52957. #. type: Plain text
  52958. #: guix-git/doc/guix.texi:36076
  52959. msgid "Do note that you first need to generate a key pair on the coordinator machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}), though this step is automatic on Guix System:"
  52960. msgstr ""
  52961. #. type: Plain text
  52962. #: guix-git/doc/guix.texi:36084
  52963. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52964. msgstr ""
  52965. #. type: example
  52966. #: guix-git/doc/guix.texi:36087
  52967. #, no-wrap
  52968. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52969. msgstr ""
  52970. #. type: Plain text
  52971. #: guix-git/doc/guix.texi:36098
  52972. msgid "@code{user}, in this example, specifies the name of the user account to log in as to perform the deployment. Its default value is @code{root}, but root login over SSH may be forbidden in some cases. To work around this, @command{guix deploy} can log in as an unprivileged user and employ @code{sudo} to escalate privileges. This will only work if @code{sudo} is currently installed on the remote and can be invoked non-interactively as @code{user}. That is, the line in @code{sudoers} granting @code{user} the ability to use @code{sudo} must contain the @code{NOPASSWD} tag. This can be accomplished with the following operating system configuration snippet:"
  52973. msgstr ""
  52974. #. type: lisp
  52975. #: guix-git/doc/guix.texi:36102
  52976. #, no-wrap
  52977. msgid ""
  52978. "(use-modules ...\n"
  52979. " (gnu system)) ;for %sudoers-specification\n"
  52980. "\n"
  52981. msgstr ""
  52982. #. type: lisp
  52983. #: guix-git/doc/guix.texi:36104
  52984. #, no-wrap
  52985. msgid ""
  52986. "(define %user \"username\")\n"
  52987. "\n"
  52988. msgstr ""
  52989. #. type: lisp
  52990. #: guix-git/doc/guix.texi:36112
  52991. #, no-wrap
  52992. msgid ""
  52993. "(operating-system\n"
  52994. " ...\n"
  52995. " (sudoers-file\n"
  52996. " (plain-file \"sudoers\"\n"
  52997. " (string-append (plain-file-content %sudoers-specification)\n"
  52998. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52999. " %user)))))\n"
  53000. "\n"
  53001. msgstr ""
  53002. #. type: Plain text
  53003. #: guix-git/doc/guix.texi:36117
  53004. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  53005. msgstr ""
  53006. #. type: Plain text
  53007. #: guix-git/doc/guix.texi:36122
  53008. msgid "Once you've deployed a system on a set of machines, you may find it useful to run a command on all of them. The @option{--execute} or @option{-x} option lets you do that; the example below runs @command{uname -a} on all the machines listed in the deployment file:"
  53009. msgstr ""
  53010. #. type: example
  53011. #: guix-git/doc/guix.texi:36125
  53012. #, no-wrap
  53013. msgid "guix deploy @var{file} -x -- uname -a\n"
  53014. msgstr ""
  53015. #. type: Plain text
  53016. #: guix-git/doc/guix.texi:36129
  53017. msgid "One thing you may often need to do after deployment is restart specific services on all the machines, which you can do like so:"
  53018. msgstr ""
  53019. #. type: example
  53020. #: guix-git/doc/guix.texi:36132
  53021. #, no-wrap
  53022. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  53023. msgstr ""
  53024. #. type: Plain text
  53025. #: guix-git/doc/guix.texi:36136
  53026. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  53027. msgstr ""
  53028. #. type: Plain text
  53029. #: guix-git/doc/guix.texi:36141
  53030. msgid "Below are the data types you need to know about when writing a deployment file."
  53031. msgstr ""
  53032. #. type: deftp
  53033. #: guix-git/doc/guix.texi:36142
  53034. #, no-wrap
  53035. msgid "{Data Type} machine"
  53036. msgstr ""
  53037. #. type: deftp
  53038. #: guix-git/doc/guix.texi:36145
  53039. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  53040. msgstr ""
  53041. #. type: table
  53042. #: guix-git/doc/guix.texi:36149
  53043. msgid "The object of the operating system configuration to deploy."
  53044. msgstr ""
  53045. #. type: code{#1}
  53046. #: guix-git/doc/guix.texi:36150
  53047. #, no-wrap
  53048. msgid "environment"
  53049. msgstr "environment"
  53050. #. type: table
  53051. #: guix-git/doc/guix.texi:36152
  53052. msgid "An @code{environment-type} describing how the machine should be provisioned."
  53053. msgstr ""
  53054. #. type: item
  53055. #: guix-git/doc/guix.texi:36153
  53056. #, no-wrap
  53057. msgid "@code{configuration} (default: @code{#f})"
  53058. msgstr ""
  53059. #. type: table
  53060. #: guix-git/doc/guix.texi:36158
  53061. msgid "An object describing the configuration for the machine's @code{environment}. If the @code{environment} has a default configuration, @code{#f} may be used. If @code{#f} is used for an environment with no default configuration, however, an error will be thrown."
  53062. msgstr ""
  53063. #. type: deftp
  53064. #: guix-git/doc/guix.texi:36161
  53065. #, no-wrap
  53066. msgid "{Data Type} machine-ssh-configuration"
  53067. msgstr ""
  53068. #. type: deftp
  53069. #: guix-git/doc/guix.texi:36164
  53070. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  53071. msgstr ""
  53072. #. type: item
  53073. #: guix-git/doc/guix.texi:36167
  53074. #, no-wrap
  53075. msgid "@code{build-locally?} (default: @code{#t})"
  53076. msgstr ""
  53077. #. type: table
  53078. #: guix-git/doc/guix.texi:36169
  53079. msgid "If false, system derivations will be built on the machine being deployed to."
  53080. msgstr ""
  53081. #. type: code{#1}
  53082. #: guix-git/doc/guix.texi:36169
  53083. #, no-wrap
  53084. msgid "system"
  53085. msgstr "system"
  53086. #. type: table
  53087. #: guix-git/doc/guix.texi:36172
  53088. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  53089. msgstr ""
  53090. #. type: item
  53091. #: guix-git/doc/guix.texi:36172
  53092. #, no-wrap
  53093. msgid "@code{authorize?} (default: @code{#t})"
  53094. msgstr ""
  53095. #. type: table
  53096. #: guix-git/doc/guix.texi:36175
  53097. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  53098. msgstr ""
  53099. #. type: item
  53100. #: guix-git/doc/guix.texi:36177
  53101. #, no-wrap
  53102. msgid "@code{identity} (default: @code{#f})"
  53103. msgstr ""
  53104. #. type: table
  53105. #: guix-git/doc/guix.texi:36180
  53106. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  53107. msgstr ""
  53108. #. type: item
  53109. #: guix-git/doc/guix.texi:36181
  53110. #, no-wrap
  53111. msgid "@code{host-key} (default: @code{#f})"
  53112. msgstr ""
  53113. #. type: table
  53114. #: guix-git/doc/guix.texi:36183
  53115. msgid "This should be the SSH host key of the machine, which looks like this:"
  53116. msgstr ""
  53117. #. type: example
  53118. #: guix-git/doc/guix.texi:36186
  53119. #, no-wrap
  53120. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  53121. msgstr ""
  53122. #. type: table
  53123. #: guix-git/doc/guix.texi:36191
  53124. msgid "When @code{host-key} is @code{#f}, the server is authenticated against the @file{~/.ssh/known_hosts} file, just like the OpenSSH @command{ssh} client does."
  53125. msgstr ""
  53126. #. type: item
  53127. #: guix-git/doc/guix.texi:36192
  53128. #, no-wrap
  53129. msgid "@code{allow-downgrades?} (default: @code{#f})"
  53130. msgstr ""
  53131. #. type: table
  53132. #: guix-git/doc/guix.texi:36194
  53133. msgid "Whether to allow potential downgrades."
  53134. msgstr ""
  53135. #. type: table
  53136. #: guix-git/doc/guix.texi:36202
  53137. msgid "Like @command{guix system reconfigure}, @command{guix deploy} compares the channel commits currently deployed on the remote host (as returned by @command{guix system describe}) to those currently in use (as returned by @command{guix describe}) to determine whether commits currently in use are descendants of those deployed. When this is not the case and @code{allow-downgrades?} is false, it raises an error. This ensures you do not accidentally downgrade remote machines."
  53138. msgstr ""
  53139. #. type: item
  53140. #: guix-git/doc/guix.texi:36203
  53141. #, no-wrap
  53142. msgid "@code{safety-checks?} (default: @code{#t})"
  53143. msgstr ""
  53144. #. type: table
  53145. #: guix-git/doc/guix.texi:36209
  53146. msgid "Whether to perform ``safety checks'' before deployment. This includes verifying that devices and file systems referred to in the operating system configuration actually exist on the target machine, and making sure that Linux modules required to access storage devices at boot time are listed in the @code{initrd-modules} field of the operating system."
  53147. msgstr ""
  53148. #. type: table
  53149. #: guix-git/doc/guix.texi:36212
  53150. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  53151. msgstr ""
  53152. #. type: deftp
  53153. #: guix-git/doc/guix.texi:36215
  53154. #, no-wrap
  53155. msgid "{Data Type} digital-ocean-configuration"
  53156. msgstr ""
  53157. #. type: deftp
  53158. #: guix-git/doc/guix.texi:36218
  53159. msgid "This is the data type describing the Droplet that should be created for a machine with an @code{environment} of @code{digital-ocean-environment-type}."
  53160. msgstr ""
  53161. #. type: code{#1}
  53162. #: guix-git/doc/guix.texi:36220
  53163. #, no-wrap
  53164. msgid "ssh-key"
  53165. msgstr "ssh-key"
  53166. #. type: table
  53167. #: guix-git/doc/guix.texi:36223
  53168. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  53169. msgstr ""
  53170. #. type: code{#1}
  53171. #: guix-git/doc/guix.texi:36223
  53172. #, no-wrap
  53173. msgid "tags"
  53174. msgstr ""
  53175. #. type: table
  53176. #: guix-git/doc/guix.texi:36226
  53177. msgid "A list of string ``tags'' that uniquely identify the machine. Must be given such that no two machines in the deployment have the same set of tags."
  53178. msgstr ""
  53179. #. type: code{#1}
  53180. #: guix-git/doc/guix.texi:36226
  53181. #, no-wrap
  53182. msgid "region"
  53183. msgstr "region"
  53184. #. type: table
  53185. #: guix-git/doc/guix.texi:36228
  53186. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  53187. msgstr ""
  53188. #. type: table
  53189. #: guix-git/doc/guix.texi:36230
  53190. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  53191. msgstr ""
  53192. #. type: code{#1}
  53193. #: guix-git/doc/guix.texi:36230
  53194. #, no-wrap
  53195. msgid "enable-ipv6?"
  53196. msgstr ""
  53197. #. type: table
  53198. #: guix-git/doc/guix.texi:36232
  53199. msgid "Whether or not the droplet should be created with IPv6 networking."
  53200. msgstr ""
  53201. #. type: section
  53202. #: guix-git/doc/guix.texi:36236
  53203. #, no-wrap
  53204. msgid "Running Guix in a Virtual Machine"
  53205. msgstr ""
  53206. #. type: Plain text
  53207. #: guix-git/doc/guix.texi:36244
  53208. msgid "To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image distributed at @url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2}. This image is a compressed image in QCOW format. You can pass it to an emulator such as @uref{https://qemu.org/, QEMU} (see below for details)."
  53209. msgstr ""
  53210. #. type: Plain text
  53211. #: guix-git/doc/guix.texi:36251
  53212. msgid "This image boots the Xfce graphical environment and it contains some commonly used tools. You can install more software in the image by running @command{guix package} in a terminal (@pxref{Invoking guix package}). You can also reconfigure the system based on its initial configuration file available as @file{/run/current-system/configuration.scm} (@pxref{Using the Configuration System})."
  53213. msgstr ""
  53214. #. type: Plain text
  53215. #: guix-git/doc/guix.texi:36254
  53216. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  53217. msgstr ""
  53218. #. type: cindex
  53219. #: guix-git/doc/guix.texi:36255
  53220. #, no-wrap
  53221. msgid "QEMU"
  53222. msgstr ""
  53223. #. type: Plain text
  53224. #: guix-git/doc/guix.texi:36262
  53225. msgid "If you built your own image, you must copy it out of the store (@pxref{The Store}) and give yourself permission to write to the copy before you can use it. When invoking QEMU, you must choose a system emulator that is suitable for your hardware platform. Here is a minimal QEMU invocation that will boot the result of @command{guix system image -t qcow2} on x86_64 hardware:"
  53226. msgstr ""
  53227. #. type: example
  53228. #: guix-git/doc/guix.texi:36269
  53229. #, no-wrap
  53230. msgid ""
  53231. "$ qemu-system-x86_64 \\\n"
  53232. " -nic user,model=virtio-net-pci \\\n"
  53233. " -enable-kvm -m 1024 \\\n"
  53234. " -device virtio-blk,drive=myhd \\\n"
  53235. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  53236. msgstr ""
  53237. #. type: Plain text
  53238. #: guix-git/doc/guix.texi:36272
  53239. msgid "Here is what each of these options means:"
  53240. msgstr ""
  53241. #. type: item
  53242. #: guix-git/doc/guix.texi:36274
  53243. #, no-wrap
  53244. msgid "qemu-system-x86_64"
  53245. msgstr ""
  53246. #. type: table
  53247. #: guix-git/doc/guix.texi:36277
  53248. msgid "This specifies the hardware platform to emulate. This should match the host."
  53249. msgstr ""
  53250. #. type: item
  53251. #: guix-git/doc/guix.texi:36278
  53252. #, no-wrap
  53253. msgid "-nic user,model=virtio-net-pci"
  53254. msgstr ""
  53255. #. type: table
  53256. #: guix-git/doc/guix.texi:36286
  53257. msgid "Enable the unprivileged user-mode network stack. The guest OS can access the host but not vice versa. This is the simplest way to get the guest OS online. @code{model} specifies which network device to emulate: @code{virtio-net-pci} is a special device made for virtualized operating systems and recommended for most uses. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -nic model=help}."
  53258. msgstr ""
  53259. #. type: item
  53260. #: guix-git/doc/guix.texi:36287
  53261. #, no-wrap
  53262. msgid "-enable-kvm"
  53263. msgstr ""
  53264. #. type: table
  53265. #: guix-git/doc/guix.texi:36291
  53266. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  53267. msgstr ""
  53268. #. type: item
  53269. #: guix-git/doc/guix.texi:36293
  53270. #, no-wrap
  53271. msgid "-m 1024"
  53272. msgstr ""
  53273. #. type: table
  53274. #: guix-git/doc/guix.texi:36296
  53275. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  53276. msgstr ""
  53277. #. type: item
  53278. #: guix-git/doc/guix.texi:36297
  53279. #, no-wrap
  53280. msgid "-device virtio-blk,drive=myhd"
  53281. msgstr ""
  53282. #. type: table
  53283. #: guix-git/doc/guix.texi:36302
  53284. msgid "Create a @code{virtio-blk} drive called ``myhd''. @code{virtio-blk} is a ``paravirtualization'' mechanism for block devices that allows QEMU to achieve better performance than if it were emulating a complete disk drive. See the QEMU and KVM documentation for more info."
  53285. msgstr ""
  53286. #. type: item
  53287. #: guix-git/doc/guix.texi:36303
  53288. #, no-wrap
  53289. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  53290. msgstr ""
  53291. #. type: table
  53292. #: guix-git/doc/guix.texi:36306
  53293. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  53294. msgstr ""
  53295. #. type: Plain text
  53296. #: guix-git/doc/guix.texi:36316
  53297. msgid "The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-nic user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using @command{$(guix system vm config.scm) -nic user}. An important caveat of using @command{-nic user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}."
  53298. msgstr ""
  53299. #. type: subsection
  53300. #: guix-git/doc/guix.texi:36317
  53301. #, no-wrap
  53302. msgid "Connecting Through SSH"
  53303. msgstr ""
  53304. #. type: Plain text
  53305. #: guix-git/doc/guix.texi:36325
  53306. msgid "To enable SSH inside a VM you need to add an SSH server like @code{openssh-service-type} to your VM (@pxref{Networking Services, @code{openssh-service-type}}). In addition you need to forward the SSH port, 22 by default, to the host. You can do this with"
  53307. msgstr ""
  53308. #. type: example
  53309. #: guix-git/doc/guix.texi:36328
  53310. #, no-wrap
  53311. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  53312. msgstr ""
  53313. #. type: Plain text
  53314. #: guix-git/doc/guix.texi:36331
  53315. msgid "To connect to the VM you can run"
  53316. msgstr ""
  53317. #. type: example
  53318. #: guix-git/doc/guix.texi:36334
  53319. #, no-wrap
  53320. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  53321. msgstr ""
  53322. #. type: Plain text
  53323. #: guix-git/doc/guix.texi:36341
  53324. msgid "The @command{-p} tells @command{ssh} the port you want to connect to. @command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from complaining every time you modify your @command{config.scm} file and the @command{-o StrictHostKeyChecking=no} prevents you from having to allow a connection to an unknown host every time you connect."
  53325. msgstr ""
  53326. #. type: quotation
  53327. #: guix-git/doc/guix.texi:36347
  53328. msgid "If you find the above @samp{hostfwd} example not to be working (e.g., your SSH client hangs attempting to connect to the mapped port of your VM), make sure that your Guix System VM has networking support, such as by using the @code{dhcp-client-service-type} service type."
  53329. msgstr ""
  53330. #. type: subsection
  53331. #: guix-git/doc/guix.texi:36349
  53332. #, no-wrap
  53333. msgid "Using @command{virt-viewer} with Spice"
  53334. msgstr ""
  53335. #. type: Plain text
  53336. #: guix-git/doc/guix.texi:36355
  53337. msgid "As an alternative to the default @command{qemu} graphical client you can use the @command{remote-viewer} from the @command{virt-viewer} package. To connect pass the @command{-spice port=5930,disable-ticketing} flag to @command{qemu}. See previous section for further information on how to do this."
  53338. msgstr ""
  53339. #. type: Plain text
  53340. #: guix-git/doc/guix.texi:36358
  53341. msgid "Spice also allows you to do some nice stuff like share your clipboard with your VM@. To enable that you'll also have to pass the following flags to @command{qemu}:"
  53342. msgstr ""
  53343. #. type: example
  53344. #: guix-git/doc/guix.texi:36364
  53345. #, no-wrap
  53346. msgid ""
  53347. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  53348. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  53349. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  53350. "name=com.redhat.spice.0\n"
  53351. msgstr ""
  53352. #. type: Plain text
  53353. #: guix-git/doc/guix.texi:36368
  53354. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  53355. msgstr ""
  53356. #. type: Plain text
  53357. #: guix-git/doc/guix.texi:36375
  53358. msgid "The previous sections show the available services and how one can combine them in an @code{operating-system} declaration. But how do we define them in the first place? And what is a service anyway?"
  53359. msgstr ""
  53360. #. type: cindex
  53361. #: guix-git/doc/guix.texi:36388
  53362. #, no-wrap
  53363. msgid "daemons"
  53364. msgstr ""
  53365. #. type: Plain text
  53366. #: guix-git/doc/guix.texi:36401
  53367. msgid "Here we define a @dfn{service} as, broadly, something that extends the functionality of the operating system. Often a service is a process---a @dfn{daemon}---started when the system boots: a secure shell server, a Web server, the Guix build daemon, etc. Sometimes a service is a daemon whose execution can be triggered by another daemon---e.g., an FTP server started by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. Occasionally, a service does not map to a daemon. For instance, the ``account'' service collects user accounts and makes sure they exist when the system runs; the ``udev'' service collects device management rules and makes them available to the eudev daemon; the @file{/etc} service populates the @file{/etc} directory of the system."
  53368. msgstr ""
  53369. #. type: cindex
  53370. #: guix-git/doc/guix.texi:36402
  53371. #, no-wrap
  53372. msgid "service extensions"
  53373. msgstr ""
  53374. #. type: Plain text
  53375. #: guix-git/doc/guix.texi:36414
  53376. msgid "Guix system services are connected by @dfn{extensions}. For instance, the secure shell service @emph{extends} the Shepherd---the initialization system, running as PID@tie{}1---by giving it the command lines to start and stop the secure shell daemon (@pxref{Networking Services, @code{openssh-service-type}}); the UPower service extends the D-Bus service by passing it its @file{.service} specification, and extends the udev service by passing it device management rules (@pxref{Desktop Services, @code{upower-service}}); the Guix daemon service extends the Shepherd by passing it the command lines to start and stop the daemon, and extends the account service by passing it a list of required build user accounts (@pxref{Base Services})."
  53377. msgstr ""
  53378. #. type: Plain text
  53379. #: guix-git/doc/guix.texi:36418
  53380. msgid "All in all, services and their ``extends'' relations form a directed acyclic graph (DAG). If we represent services as boxes and extensions as arrows, a typical system might provide something like this:"
  53381. msgstr ""
  53382. #. type: Plain text
  53383. #: guix-git/doc/guix.texi:36420
  53384. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  53385. msgstr ""
  53386. #. type: cindex
  53387. #: guix-git/doc/guix.texi:36421
  53388. #, no-wrap
  53389. msgid "system service"
  53390. msgstr "systémová služba"
  53391. #. type: Plain text
  53392. #: guix-git/doc/guix.texi:36429
  53393. msgid "At the bottom, we see the @dfn{system service}, which produces the directory containing everything to run and boot the system, as returned by the @command{guix system build} command. @xref{Service Reference}, to learn about the other service types shown here. @xref{system-extension-graph, the @command{guix system extension-graph} command}, for information on how to generate this representation for a particular operating system definition."
  53394. msgstr ""
  53395. #. type: cindex
  53396. #: guix-git/doc/guix.texi:36430
  53397. #, no-wrap
  53398. msgid "service types"
  53399. msgstr ""
  53400. #. type: Plain text
  53401. #: guix-git/doc/guix.texi:36436
  53402. msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @code{lsh-service-type}, with different parameters."
  53403. msgstr ""
  53404. #. type: Plain text
  53405. #: guix-git/doc/guix.texi:36439
  53406. msgid "The following section describes the programming interface for service types and services."
  53407. msgstr ""
  53408. #. type: Plain text
  53409. #: guix-git/doc/guix.texi:36446
  53410. msgid "A @dfn{service type} is a node in the DAG described above. Let us start with a simple example, the service type for the Guix build daemon (@pxref{Invoking guix-daemon}):"
  53411. msgstr ""
  53412. #. type: lisp
  53413. #: guix-git/doc/guix.texi:36456
  53414. #, no-wrap
  53415. msgid ""
  53416. "(define guix-service-type\n"
  53417. " (service-type\n"
  53418. " (name 'guix)\n"
  53419. " (extensions\n"
  53420. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  53421. " (service-extension account-service-type guix-accounts)\n"
  53422. " (service-extension activation-service-type guix-activation)))\n"
  53423. " (default-value (guix-configuration))))\n"
  53424. msgstr ""
  53425. #. type: Plain text
  53426. #: guix-git/doc/guix.texi:36460
  53427. msgid "It defines three things:"
  53428. msgstr ""
  53429. #. type: enumerate
  53430. #: guix-git/doc/guix.texi:36464
  53431. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  53432. msgstr ""
  53433. #. type: enumerate
  53434. #: guix-git/doc/guix.texi:36469
  53435. msgid "A list of @dfn{service extensions}, where each extension designates the target service type and a procedure that, given the parameters of the service, returns a list of objects to extend the service of that type."
  53436. msgstr ""
  53437. #. type: enumerate
  53438. #: guix-git/doc/guix.texi:36472
  53439. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  53440. msgstr ""
  53441. #. type: enumerate
  53442. #: guix-git/doc/guix.texi:36475
  53443. msgid "Optionally, a default value for instances of this type."
  53444. msgstr ""
  53445. #. type: Plain text
  53446. #: guix-git/doc/guix.texi:36478
  53447. msgid "In this example, @code{guix-service-type} extends three services:"
  53448. msgstr ""
  53449. #. type: item
  53450. #: guix-git/doc/guix.texi:36480
  53451. #, no-wrap
  53452. msgid "shepherd-root-service-type"
  53453. msgstr ""
  53454. #. type: table
  53455. #: guix-git/doc/guix.texi:36485
  53456. msgid "The @code{guix-shepherd-service} procedure defines how the Shepherd service is extended. Namely, it returns a @code{<shepherd-service>} object that defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd Services})."
  53457. msgstr ""
  53458. #. type: item
  53459. #: guix-git/doc/guix.texi:36486
  53460. #, no-wrap
  53461. msgid "account-service-type"
  53462. msgstr ""
  53463. #. type: table
  53464. #: guix-git/doc/guix.texi:36491
  53465. msgid "This extension for this service is computed by @code{guix-accounts}, which returns a list of @code{user-group} and @code{user-account} objects representing the build user accounts (@pxref{Invoking guix-daemon})."
  53466. msgstr ""
  53467. #. type: item
  53468. #: guix-git/doc/guix.texi:36492
  53469. #, no-wrap
  53470. msgid "activation-service-type"
  53471. msgstr ""
  53472. #. type: table
  53473. #: guix-git/doc/guix.texi:36496
  53474. msgid "Here @code{guix-activation} is a procedure that returns a gexp, which is a code snippet to run at ``activation time''---e.g., when the service is booted."
  53475. msgstr ""
  53476. #. type: Plain text
  53477. #: guix-git/doc/guix.texi:36499
  53478. msgid "A service of this type is instantiated like this:"
  53479. msgstr ""
  53480. #. type: lisp
  53481. #: guix-git/doc/guix.texi:36505
  53482. #, no-wrap
  53483. msgid ""
  53484. "(service guix-service-type\n"
  53485. " (guix-configuration\n"
  53486. " (build-accounts 5)\n"
  53487. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  53488. msgstr ""
  53489. #. type: Plain text
  53490. #: guix-git/doc/guix.texi:36513
  53491. msgid "The second argument to the @code{service} form is a value representing the parameters of this specific service instance. @xref{guix-configuration-type, @code{guix-configuration}}, for information about the @code{guix-configuration} data type. When the value is omitted, the default value specified by @code{guix-service-type} is used:"
  53492. msgstr ""
  53493. #. type: lisp
  53494. #: guix-git/doc/guix.texi:36516
  53495. #, no-wrap
  53496. msgid "(service guix-service-type)\n"
  53497. msgstr ""
  53498. #. type: Plain text
  53499. #: guix-git/doc/guix.texi:36520
  53500. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  53501. msgstr ""
  53502. #. type: Plain text
  53503. #: guix-git/doc/guix.texi:36524
  53504. msgid "The service type for an @emph{extensible} service looks like this:"
  53505. msgstr ""
  53506. #. type: lisp
  53507. #: guix-git/doc/guix.texi:36531
  53508. #, no-wrap
  53509. msgid ""
  53510. "(define udev-service-type\n"
  53511. " (service-type (name 'udev)\n"
  53512. " (extensions\n"
  53513. " (list (service-extension shepherd-root-service-type\n"
  53514. " udev-shepherd-service)))\n"
  53515. "\n"
  53516. msgstr ""
  53517. #. type: lisp
  53518. #: guix-git/doc/guix.texi:36539
  53519. #, no-wrap
  53520. msgid ""
  53521. " (compose concatenate) ;concatenate the list of rules\n"
  53522. " (extend (lambda (config rules)\n"
  53523. " (match config\n"
  53524. " (($ <udev-configuration> udev initial-rules)\n"
  53525. " (udev-configuration\n"
  53526. " (udev udev) ;the udev package to use\n"
  53527. " (rules (append initial-rules rules)))))))))\n"
  53528. msgstr ""
  53529. #. type: Plain text
  53530. #: guix-git/doc/guix.texi:36545
  53531. msgid "This is the service type for the @uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management daemon}. Compared to the previous example, in addition to an extension of @code{shepherd-root-service-type}, we see two new fields:"
  53532. msgstr ""
  53533. #. type: item
  53534. #: guix-git/doc/guix.texi:36547
  53535. #, no-wrap
  53536. msgid "compose"
  53537. msgstr ""
  53538. #. type: table
  53539. #: guix-git/doc/guix.texi:36550
  53540. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  53541. msgstr ""
  53542. #. type: table
  53543. #: guix-git/doc/guix.texi:36553
  53544. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  53545. msgstr ""
  53546. #. type: item
  53547. #: guix-git/doc/guix.texi:36554
  53548. #, no-wrap
  53549. msgid "extend"
  53550. msgstr ""
  53551. #. type: table
  53552. #: guix-git/doc/guix.texi:36557
  53553. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  53554. msgstr ""
  53555. #. type: table
  53556. #: guix-git/doc/guix.texi:36562
  53557. msgid "Udev extensions are composed into a list of rules, but the udev service value is itself a @code{<udev-configuration>} record. So here, we extend that record by appending the list of rules it contains to the list of contributed rules."
  53558. msgstr ""
  53559. #. type: table
  53560. #: guix-git/doc/guix.texi:36568
  53561. msgid "This is a string giving an overview of the service type. The string can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The @command{guix system search} command searches these strings and displays them (@pxref{Invoking guix system})."
  53562. msgstr ""
  53563. #. type: Plain text
  53564. #: guix-git/doc/guix.texi:36573
  53565. msgid "There can be only one instance of an extensible service type such as @code{udev-service-type}. If there were more, the @code{service-extension} specifications would be ambiguous."
  53566. msgstr ""
  53567. #. type: Plain text
  53568. #: guix-git/doc/guix.texi:36576
  53569. msgid "Still here? The next section provides a reference of the programming interface for services."
  53570. msgstr ""
  53571. #. type: Plain text
  53572. #: guix-git/doc/guix.texi:36584
  53573. msgid "We have seen an overview of service types (@pxref{Service Types and Services}). This section provides a reference on how to manipulate services and service types. This interface is provided by the @code{(gnu services)} module."
  53574. msgstr ""
  53575. #. type: deffn
  53576. #: guix-git/doc/guix.texi:36585
  53577. #, no-wrap
  53578. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  53579. msgstr ""
  53580. #. type: deffn
  53581. #: guix-git/doc/guix.texi:36589
  53582. msgid "Return a new service of @var{type}, a @code{<service-type>} object (see below). @var{value} can be any object; it represents the parameters of this particular service instance."
  53583. msgstr ""
  53584. #. type: deffn
  53585. #: guix-git/doc/guix.texi:36593
  53586. msgid "When @var{value} is omitted, the default value specified by @var{type} is used; if @var{type} does not specify a default value, an error is raised."
  53587. msgstr ""
  53588. #. type: deffn
  53589. #: guix-git/doc/guix.texi:36595
  53590. msgid "For instance, this:"
  53591. msgstr ""
  53592. #. type: lisp
  53593. #: guix-git/doc/guix.texi:36598
  53594. #, no-wrap
  53595. msgid "(service openssh-service-type)\n"
  53596. msgstr ""
  53597. #. type: deffn
  53598. #: guix-git/doc/guix.texi:36602
  53599. msgid "is equivalent to this:"
  53600. msgstr ""
  53601. #. type: lisp
  53602. #: guix-git/doc/guix.texi:36606
  53603. #, no-wrap
  53604. msgid ""
  53605. "(service openssh-service-type\n"
  53606. " (openssh-configuration))\n"
  53607. msgstr ""
  53608. #. type: deffn
  53609. #: guix-git/doc/guix.texi:36610
  53610. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  53611. msgstr ""
  53612. #. type: deffn
  53613. #: guix-git/doc/guix.texi:36612
  53614. #, no-wrap
  53615. msgid "{Scheme Procedure} service? @var{obj}"
  53616. msgstr ""
  53617. #. type: deffn
  53618. #: guix-git/doc/guix.texi:36614
  53619. msgid "Return true if @var{obj} is a service."
  53620. msgstr ""
  53621. #. type: deffn
  53622. #: guix-git/doc/guix.texi:36616
  53623. #, no-wrap
  53624. msgid "{Scheme Procedure} service-kind @var{service}"
  53625. msgstr ""
  53626. #. type: deffn
  53627. #: guix-git/doc/guix.texi:36618
  53628. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  53629. msgstr ""
  53630. #. type: deffn
  53631. #: guix-git/doc/guix.texi:36620
  53632. #, no-wrap
  53633. msgid "{Scheme Procedure} service-value @var{service}"
  53634. msgstr ""
  53635. #. type: deffn
  53636. #: guix-git/doc/guix.texi:36623
  53637. msgid "Return the value associated with @var{service}. It represents its parameters."
  53638. msgstr ""
  53639. #. type: Plain text
  53640. #: guix-git/doc/guix.texi:36626
  53641. msgid "Here is an example of how a service is created and manipulated:"
  53642. msgstr ""
  53643. #. type: lisp
  53644. #: guix-git/doc/guix.texi:36635
  53645. #, no-wrap
  53646. msgid ""
  53647. "(define s\n"
  53648. " (service nginx-service-type\n"
  53649. " (nginx-configuration\n"
  53650. " (nginx nginx)\n"
  53651. " (log-directory log-directory)\n"
  53652. " (run-directory run-directory)\n"
  53653. " (file config-file))))\n"
  53654. "\n"
  53655. msgstr ""
  53656. #. type: lisp
  53657. #: guix-git/doc/guix.texi:36638
  53658. #, no-wrap
  53659. msgid ""
  53660. "(service? s)\n"
  53661. "@result{} #t\n"
  53662. "\n"
  53663. msgstr ""
  53664. #. type: lisp
  53665. #: guix-git/doc/guix.texi:36641
  53666. #, no-wrap
  53667. msgid ""
  53668. "(eq? (service-kind s) nginx-service-type)\n"
  53669. "@result{} #t\n"
  53670. msgstr ""
  53671. #. type: Plain text
  53672. #: guix-git/doc/guix.texi:36651
  53673. msgid "The @code{modify-services} form provides a handy way to change the parameters of some of the services of a list such as @code{%base-services} (@pxref{Base Services, @code{%base-services}}). It evaluates to a list of services. Of course, you could always use standard list combinators such as @code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, GNU Guile Reference Manual}); @code{modify-services} simply provides a more concise form for this common pattern."
  53674. msgstr ""
  53675. #. type: deffn
  53676. #: guix-git/doc/guix.texi:36652
  53677. #, no-wrap
  53678. msgid "{Scheme Syntax} modify-services @var{services} @"
  53679. msgstr ""
  53680. #. type: deffn
  53681. #: guix-git/doc/guix.texi:36654
  53682. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  53683. msgstr ""
  53684. #. type: deffn
  53685. #: guix-git/doc/guix.texi:36657
  53686. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  53687. msgstr ""
  53688. #. type: example
  53689. #: guix-git/doc/guix.texi:36660
  53690. #, no-wrap
  53691. msgid "(@var{type} @var{variable} => @var{body})\n"
  53692. msgstr ""
  53693. #. type: deffn
  53694. #: guix-git/doc/guix.texi:36667
  53695. msgid "where @var{type} is a service type---e.g., @code{guix-service-type}---and @var{variable} is an identifier that is bound within the @var{body} to the service parameters---e.g., a @code{guix-configuration} instance---of the original service of that @var{type}."
  53696. msgstr ""
  53697. #. type: deffn
  53698. #: guix-git/doc/guix.texi:36674
  53699. msgid "The @var{body} should evaluate to the new service parameters, which will be used to configure the new service. This new service will replace the original in the resulting list. Because a service's service parameters are created using @code{define-record-type*}, you can write a succinct @var{body} that evaluates to the new service parameters by using the @code{inherit} feature that @code{define-record-type*} provides."
  53700. msgstr ""
  53701. #. type: deffn
  53702. #: guix-git/doc/guix.texi:36676
  53703. msgid "Clauses can also have the following form:"
  53704. msgstr ""
  53705. #. type: lisp
  53706. #: guix-git/doc/guix.texi:36679
  53707. #, no-wrap
  53708. msgid "(delete @var{type})\n"
  53709. msgstr ""
  53710. #. type: deffn
  53711. #: guix-git/doc/guix.texi:36683
  53712. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  53713. msgstr ""
  53714. #. type: deffn
  53715. #: guix-git/doc/guix.texi:36685
  53716. msgid "@xref{Using the Configuration System}, for example usage."
  53717. msgstr ""
  53718. #. type: Plain text
  53719. #: guix-git/doc/guix.texi:36692
  53720. msgid "Next comes the programming interface for service types. This is something you want to know when writing new service definitions, but not necessarily when simply looking for ways to customize your @code{operating-system} declaration."
  53721. msgstr ""
  53722. #. type: deftp
  53723. #: guix-git/doc/guix.texi:36693
  53724. #, no-wrap
  53725. msgid "{Data Type} service-type"
  53726. msgstr ""
  53727. #. type: cindex
  53728. #: guix-git/doc/guix.texi:36694
  53729. #, no-wrap
  53730. msgid "service type"
  53731. msgstr ""
  53732. #. type: deftp
  53733. #: guix-git/doc/guix.texi:36697
  53734. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  53735. msgstr ""
  53736. #. type: table
  53737. #: guix-git/doc/guix.texi:36701
  53738. msgid "This is a symbol, used only to simplify inspection and debugging."
  53739. msgstr ""
  53740. #. type: code{#1}
  53741. #: guix-git/doc/guix.texi:36702
  53742. #, no-wrap
  53743. msgid "extensions"
  53744. msgstr "extensions"
  53745. #. type: table
  53746. #: guix-git/doc/guix.texi:36704
  53747. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  53748. msgstr ""
  53749. #. type: item
  53750. #: guix-git/doc/guix.texi:36705
  53751. #, no-wrap
  53752. msgid "@code{compose} (default: @code{#f})"
  53753. msgstr ""
  53754. #. type: table
  53755. #: guix-git/doc/guix.texi:36709
  53756. msgid "If this is @code{#f}, then the service type denotes services that cannot be extended---i.e., services that do not receive ``values'' from other services."
  53757. msgstr ""
  53758. #. type: table
  53759. #: guix-git/doc/guix.texi:36713
  53760. msgid "Otherwise, it must be a one-argument procedure. The procedure is called by @code{fold-services} and is passed a list of values collected from extensions. It may return any single value."
  53761. msgstr ""
  53762. #. type: item
  53763. #: guix-git/doc/guix.texi:36714
  53764. #, no-wrap
  53765. msgid "@code{extend} (default: @code{#f})"
  53766. msgstr ""
  53767. #. type: table
  53768. #: guix-git/doc/guix.texi:36716
  53769. msgid "If this is @code{#f}, services of this type cannot be extended."
  53770. msgstr ""
  53771. #. type: table
  53772. #: guix-git/doc/guix.texi:36722
  53773. msgid "Otherwise, it must be a two-argument procedure: @code{fold-services} calls it, passing it the initial value of the service as the first argument and the result of applying @code{compose} to the extension values as the second argument. It must return a value that is a valid parameter value for the service instance."
  53774. msgstr ""
  53775. #. type: table
  53776. #: guix-git/doc/guix.texi:36728
  53777. msgid "This is a string, possibly using Texinfo markup, describing in a couple of sentences what the service is about. This string allows users to find about the service through @command{guix system search} (@pxref{Invoking guix system})."
  53778. msgstr ""
  53779. #. type: item
  53780. #: guix-git/doc/guix.texi:36729
  53781. #, no-wrap
  53782. msgid "@code{default-value} (default: @code{&no-default-value})"
  53783. msgstr ""
  53784. #. type: table
  53785. #: guix-git/doc/guix.texi:36732
  53786. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  53787. msgstr ""
  53788. #. type: lisp
  53789. #: guix-git/doc/guix.texi:36735
  53790. #, no-wrap
  53791. msgid "(service @var{type})\n"
  53792. msgstr ""
  53793. #. type: table
  53794. #: guix-git/doc/guix.texi:36739
  53795. msgid "The returned service in this case has the default value specified by @var{type}."
  53796. msgstr ""
  53797. #. type: deftp
  53798. #: guix-git/doc/guix.texi:36742
  53799. msgid "@xref{Service Types and Services}, for examples."
  53800. msgstr ""
  53801. #. type: deffn
  53802. #: guix-git/doc/guix.texi:36744
  53803. #, no-wrap
  53804. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  53805. msgstr ""
  53806. #. type: deffn
  53807. #: guix-git/doc/guix.texi:36750
  53808. msgid "@var{compute} Return a new extension for services of type @var{target-type}. @var{compute} must be a one-argument procedure: @code{fold-services} calls it, passing it the value associated with the service that provides the extension; it must return a valid value for the target service."
  53809. msgstr ""
  53810. #. type: deffn
  53811. #: guix-git/doc/guix.texi:36752
  53812. #, no-wrap
  53813. msgid "{Scheme Procedure} service-extension? @var{obj}"
  53814. msgstr ""
  53815. #. type: deffn
  53816. #: guix-git/doc/guix.texi:36754
  53817. msgid "Return true if @var{obj} is a service extension."
  53818. msgstr ""
  53819. #. type: Plain text
  53820. #: guix-git/doc/guix.texi:36760
  53821. msgid "Occasionally, you might want to simply extend an existing service. This involves creating a new service type and specifying the extension of interest, which can be verbose; the @code{simple-service} procedure provides a shorthand for this."
  53822. msgstr ""
  53823. #. type: deffn
  53824. #: guix-git/doc/guix.texi:36761
  53825. #, no-wrap
  53826. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  53827. msgstr ""
  53828. #. type: deffn
  53829. #: guix-git/doc/guix.texi:36765
  53830. msgid "Return a service that extends @var{target} with @var{value}. This works by creating a singleton service type @var{name}, of which the returned service is an instance."
  53831. msgstr ""
  53832. #. type: deffn
  53833. #: guix-git/doc/guix.texi:36768
  53834. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  53835. msgstr ""
  53836. #. type: lisp
  53837. #: guix-git/doc/guix.texi:36772
  53838. #, no-wrap
  53839. msgid ""
  53840. "(simple-service 'my-mcron-job mcron-service-type\n"
  53841. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  53842. msgstr ""
  53843. #. type: Plain text
  53844. #: guix-git/doc/guix.texi:36782
  53845. msgid "At the core of the service abstraction lies the @code{fold-services} procedure, which is responsible for ``compiling'' a list of services down to a single directory that contains everything needed to boot and run the system---the directory shown by the @command{guix system build} command (@pxref{Invoking guix system}). In essence, it propagates service extensions down the service graph, updating each node parameters on the way, until it reaches the root node."
  53846. msgstr ""
  53847. #. type: deffn
  53848. #: guix-git/doc/guix.texi:36783
  53849. #, no-wrap
  53850. msgid "{Scheme Procedure} fold-services @var{services} @"
  53851. msgstr ""
  53852. #. type: deffn
  53853. #: guix-git/doc/guix.texi:36787
  53854. msgid "[#:target-type @var{system-service-type}] Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly."
  53855. msgstr ""
  53856. #. type: Plain text
  53857. #: guix-git/doc/guix.texi:36791
  53858. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  53859. msgstr ""
  53860. #. type: defvr
  53861. #: guix-git/doc/guix.texi:36792
  53862. #, no-wrap
  53863. msgid "{Scheme Variable} system-service-type"
  53864. msgstr ""
  53865. #. type: defvr
  53866. #: guix-git/doc/guix.texi:36795
  53867. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  53868. msgstr ""
  53869. #. type: defvr
  53870. #: guix-git/doc/guix.texi:36797
  53871. #, no-wrap
  53872. msgid "{Scheme Variable} boot-service-type"
  53873. msgstr ""
  53874. #. type: defvr
  53875. #: guix-git/doc/guix.texi:36800
  53876. msgid "The type of the ``boot service'', which produces the @dfn{boot script}. The boot script is what the initial RAM disk runs when booting."
  53877. msgstr ""
  53878. #. type: defvr
  53879. #: guix-git/doc/guix.texi:36802
  53880. #, no-wrap
  53881. msgid "{Scheme Variable} etc-service-type"
  53882. msgstr ""
  53883. #. type: defvr
  53884. #: guix-git/doc/guix.texi:36806
  53885. msgid "The type of the @file{/etc} service. This service is used to create files under @file{/etc} and can be extended by passing it name/file tuples such as:"
  53886. msgstr ""
  53887. #. type: lisp
  53888. #: guix-git/doc/guix.texi:36809
  53889. #, no-wrap
  53890. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  53891. msgstr ""
  53892. #. type: defvr
  53893. #: guix-git/doc/guix.texi:36813
  53894. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  53895. msgstr ""
  53896. #. type: defvr
  53897. #: guix-git/doc/guix.texi:36815
  53898. #, no-wrap
  53899. msgid "{Scheme Variable} setuid-program-service-type"
  53900. msgstr ""
  53901. #. type: defvr
  53902. #: guix-git/doc/guix.texi:36819
  53903. msgid "Type for the ``setuid-program service''. This service collects lists of executable file names, passed as gexps, and adds them to the set of setuid-root programs on the system (@pxref{Setuid Programs})."
  53904. msgstr ""
  53905. #. type: defvr
  53906. #: guix-git/doc/guix.texi:36821
  53907. #, no-wrap
  53908. msgid "{Scheme Variable} profile-service-type"
  53909. msgstr ""
  53910. #. type: defvr
  53911. #: guix-git/doc/guix.texi:36825
  53912. msgid "Type of the service that populates the @dfn{system profile}---i.e., the programs under @file{/run/current-system/profile}. Other services can extend it by passing it lists of packages to add to the system profile."
  53913. msgstr ""
  53914. #. type: anchor{#1}
  53915. #: guix-git/doc/guix.texi:36829
  53916. msgid "provenance-service-type"
  53917. msgstr ""
  53918. #. type: defvr
  53919. #: guix-git/doc/guix.texi:36829
  53920. #, no-wrap
  53921. msgid "{Scheme Variable} provenance-service-type"
  53922. msgstr ""
  53923. #. type: defvr
  53924. #: guix-git/doc/guix.texi:36833
  53925. msgid "This is the type of the service that records @dfn{provenance meta-data} in the system itself. It creates several files under @file{/run/current-system}:"
  53926. msgstr ""
  53927. #. type: item
  53928. #: guix-git/doc/guix.texi:36835
  53929. #, no-wrap
  53930. msgid "channels.scm"
  53931. msgstr ""
  53932. #. type: table
  53933. #: guix-git/doc/guix.texi:36840
  53934. msgid "This is a ``channel file'' that can be passed to @command{guix pull -C} or @command{guix time-machine -C}, and which describes the channels used to build the system, if that information was available (@pxref{Channels})."
  53935. msgstr ""
  53936. #. type: item
  53937. #: guix-git/doc/guix.texi:36841
  53938. #, no-wrap
  53939. msgid "configuration.scm"
  53940. msgstr ""
  53941. #. type: table
  53942. #: guix-git/doc/guix.texi:36846
  53943. msgid "This is the file that was passed as the value for this @code{provenance-service-type} service. By default, @command{guix system reconfigure} automatically passes the OS configuration file it received on the command line."
  53944. msgstr ""
  53945. #. type: item
  53946. #: guix-git/doc/guix.texi:36847
  53947. #, no-wrap
  53948. msgid "provenance"
  53949. msgstr ""
  53950. #. type: table
  53951. #: guix-git/doc/guix.texi:36850
  53952. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53953. msgstr ""
  53954. #. type: defvr
  53955. #: guix-git/doc/guix.texi:36854
  53956. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53957. msgstr ""
  53958. #. type: quotation
  53959. #: guix-git/doc/guix.texi:36855
  53960. #, no-wrap
  53961. msgid "Caveats"
  53962. msgstr ""
  53963. #. type: quotation
  53964. #: guix-git/doc/guix.texi:36862
  53965. msgid "This information is necessary to rebuild your operating system, but it is not always sufficient. In particular, @file{configuration.scm} itself is insufficient if it is not self-contained---if it refers to external Guile modules or to extra files. If you want @file{configuration.scm} to be self-contained, we recommend that modules or files it refers to be part of a channel."
  53966. msgstr ""
  53967. #. type: quotation
  53968. #: guix-git/doc/guix.texi:36870
  53969. msgid "Besides, provenance meta-data is ``silent'' in the sense that it does not change the bits contained in your system, @emph{except for the meta-data bits themselves}. Two different OS configurations or sets of channels can lead to the same system, bit-for-bit; when @code{provenance-service-type} is used, these two systems will have different meta-data and thus different store file names, which makes comparison less trivial."
  53970. msgstr ""
  53971. #. type: defvr
  53972. #: guix-git/doc/guix.texi:36875
  53973. msgid "This service is automatically added to your operating system configuration when you use @command{guix system reconfigure}, @command{guix system init}, or @command{guix deploy}."
  53974. msgstr ""
  53975. #. type: defvr
  53976. #: guix-git/doc/guix.texi:36877
  53977. #, no-wrap
  53978. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53979. msgstr ""
  53980. #. type: defvr
  53981. #: guix-git/doc/guix.texi:36881
  53982. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53983. msgstr ""
  53984. #. type: defvr
  53985. #: guix-git/doc/guix.texi:36884
  53986. msgid "This service type is intended to be extended by other service types, such as below:"
  53987. msgstr ""
  53988. #. type: lisp
  53989. #: guix-git/doc/guix.texi:36890
  53990. #, no-wrap
  53991. msgid ""
  53992. "(simple-service 'installing-module\n"
  53993. " linux-loadable-module-service-type\n"
  53994. " (list module-to-install-1\n"
  53995. " module-to-install-2))\n"
  53996. msgstr ""
  53997. #. type: defvr
  53998. #: guix-git/doc/guix.texi:36894
  53999. msgid "This does not actually load modules at bootup, only adds it to the kernel profile so that it @emph{can} be loaded by other means."
  54000. msgstr ""
  54001. #. type: cindex
  54002. #: guix-git/doc/guix.texi:36899
  54003. #, no-wrap
  54004. msgid "shepherd services"
  54005. msgstr ""
  54006. #. type: cindex
  54007. #: guix-git/doc/guix.texi:36900
  54008. #, no-wrap
  54009. msgid "PID 1"
  54010. msgstr ""
  54011. #. type: cindex
  54012. #: guix-git/doc/guix.texi:36901
  54013. #, no-wrap
  54014. msgid "init system"
  54015. msgstr ""
  54016. #. type: Plain text
  54017. #: guix-git/doc/guix.texi:36907
  54018. msgid "The @code{(gnu services shepherd)} module provides a way to define services managed by the GNU@tie{}Shepherd, which is the initialization system---the first process that is started when the system boots, also known as PID@tie{}1 (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual})."
  54019. msgstr ""
  54020. #. type: Plain text
  54021. #: guix-git/doc/guix.texi:36913
  54022. msgid "Services in the Shepherd can depend on each other. For instance, the SSH daemon may need to be started after the syslog daemon has been started, which in turn can only happen once all the file systems have been mounted. The simple operating system defined earlier (@pxref{Using the Configuration System}) results in a service graph like this:"
  54023. msgstr ""
  54024. #. type: Plain text
  54025. #: guix-git/doc/guix.texi:36915
  54026. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  54027. msgstr ""
  54028. #. type: Plain text
  54029. #: guix-git/doc/guix.texi:36919
  54030. msgid "You can actually generate such a graph for any operating system definition using the @command{guix system shepherd-graph} command (@pxref{system-shepherd-graph, @command{guix system shepherd-graph}})."
  54031. msgstr ""
  54032. #. type: Plain text
  54033. #: guix-git/doc/guix.texi:36923
  54034. msgid "The @code{%shepherd-root-service} is a service object representing PID@tie{}1, of type @code{shepherd-root-service-type}; it can be extended by passing it lists of @code{<shepherd-service>} objects."
  54035. msgstr ""
  54036. #. type: deftp
  54037. #: guix-git/doc/guix.texi:36924
  54038. #, no-wrap
  54039. msgid "{Data Type} shepherd-service"
  54040. msgstr ""
  54041. #. type: deftp
  54042. #: guix-git/doc/guix.texi:36926
  54043. msgid "The data type representing a service managed by the Shepherd."
  54044. msgstr ""
  54045. #. type: code{#1}
  54046. #: guix-git/doc/guix.texi:36928
  54047. #, no-wrap
  54048. msgid "provision"
  54049. msgstr ""
  54050. #. type: table
  54051. #: guix-git/doc/guix.texi:36930
  54052. msgid "This is a list of symbols denoting what the service provides."
  54053. msgstr ""
  54054. #. type: table
  54055. #: guix-git/doc/guix.texi:36935
  54056. msgid "These are the names that may be passed to @command{herd start}, @command{herd status}, and similar commands (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). @xref{Slots of services, the @code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details."
  54057. msgstr ""
  54058. #. type: item
  54059. #: guix-git/doc/guix.texi:36936
  54060. #, no-wrap
  54061. msgid "@code{requirement} (default: @code{'()})"
  54062. msgstr ""
  54063. #. type: table
  54064. #: guix-git/doc/guix.texi:36938
  54065. msgid "List of symbols denoting the Shepherd services this one depends on."
  54066. msgstr ""
  54067. #. type: cindex
  54068. #: guix-git/doc/guix.texi:36939
  54069. #, no-wrap
  54070. msgid "one-shot services, for the Shepherd"
  54071. msgstr ""
  54072. #. type: table
  54073. #: guix-git/doc/guix.texi:36944
  54074. msgid "Whether this service is @dfn{one-shot}. One-shot services stop immediately after their @code{start} action has completed. @xref{Slots of services,,, shepherd, The GNU Shepherd Manual}, for more info."
  54075. msgstr ""
  54076. #. type: item
  54077. #: guix-git/doc/guix.texi:36945
  54078. #, no-wrap
  54079. msgid "@code{respawn?} (default: @code{#t})"
  54080. msgstr ""
  54081. #. type: table
  54082. #: guix-git/doc/guix.texi:36948
  54083. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  54084. msgstr ""
  54085. #. type: code{#1}
  54086. #: guix-git/doc/guix.texi:36949
  54087. #, no-wrap
  54088. msgid "start"
  54089. msgstr "start"
  54090. #. type: itemx
  54091. #: guix-git/doc/guix.texi:36950
  54092. #, no-wrap
  54093. msgid "@code{stop} (default: @code{#~(const #f)})"
  54094. msgstr ""
  54095. #. type: table
  54096. #: guix-git/doc/guix.texi:36956
  54097. msgid "The @code{start} and @code{stop} fields refer to the Shepherd's facilities to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions})."
  54098. msgstr ""
  54099. #. type: item
  54100. #: guix-git/doc/guix.texi:36957
  54101. #, no-wrap
  54102. msgid "@code{actions} (default: @code{'()})"
  54103. msgstr ""
  54104. #. type: cindex
  54105. #: guix-git/doc/guix.texi:36958
  54106. #, no-wrap
  54107. msgid "actions, of Shepherd services"
  54108. msgstr ""
  54109. #. type: table
  54110. #: guix-git/doc/guix.texi:36963
  54111. msgid "This is a list of @code{shepherd-action} objects (see below) defining @dfn{actions} supported by the service, in addition to the standard @code{start} and @code{stop} actions. Actions listed here become available as @command{herd} sub-commands:"
  54112. msgstr ""
  54113. #. type: example
  54114. #: guix-git/doc/guix.texi:36966
  54115. #, no-wrap
  54116. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  54117. msgstr ""
  54118. #. type: item
  54119. #: guix-git/doc/guix.texi:36968
  54120. #, no-wrap
  54121. msgid "@code{auto-start?} (default: @code{#t})"
  54122. msgstr ""
  54123. #. type: table
  54124. #: guix-git/doc/guix.texi:36971
  54125. msgid "Whether this service should be started automatically by the Shepherd. If it is @code{#f} the service has to be started manually with @code{herd start}."
  54126. msgstr ""
  54127. #. type: table
  54128. #: guix-git/doc/guix.texi:36974
  54129. msgid "A documentation string, as shown when running:"
  54130. msgstr ""
  54131. #. type: example
  54132. #: guix-git/doc/guix.texi:36977
  54133. #, no-wrap
  54134. msgid "herd doc @var{service-name}\n"
  54135. msgstr ""
  54136. #. type: table
  54137. #: guix-git/doc/guix.texi:36981
  54138. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  54139. msgstr ""
  54140. #. type: table
  54141. #: guix-git/doc/guix.texi:36985
  54142. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  54143. msgstr ""
  54144. #. type: Plain text
  54145. #: guix-git/doc/guix.texi:36993
  54146. msgid "The example below defines a Shepherd service that spawns @command{syslogd}, the system logger from the GNU Networking Utilities (@pxref{syslogd invocation, @command{syslogd},, inetutils, GNU Inetutils}):"
  54147. msgstr ""
  54148. #. type: example
  54149. #: guix-git/doc/guix.texi:37005
  54150. #, no-wrap
  54151. msgid ""
  54152. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  54153. " (shepherd-service\n"
  54154. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  54155. " (provision '(syslogd))\n"
  54156. " (requirement '(user-processes))\n"
  54157. " (start #~(make-forkexec-constructor\n"
  54158. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  54159. " \"--rcfile\" #$config)\n"
  54160. " #:pid-file \"/var/run/syslog.pid\"))\n"
  54161. " (stop #~(make-kill-destructor))))\n"
  54162. msgstr ""
  54163. #. type: Plain text
  54164. #: guix-git/doc/guix.texi:37020
  54165. msgid "Key elements in this example are the @code{start} and @code{stop} fields: they are @dfn{staged} code snippets that use the @code{make-forkexec-constructor} procedure provided by the Shepherd and its dual, @code{make-kill-destructor} (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). The @code{start} field will have @command{shepherd} spawn @command{syslogd} with the given option; note that we pass @code{config} after @option{--rcfile}, which is a configuration file declared above (contents of this file are omitted). Likewise, the @code{stop} field tells how this service is to be stopped; in this case, it is stopped by making the @code{kill} system call on its PID@. Code staging is achieved using G-expressions: @code{#~} stages code, while @code{#$} ``escapes'' back to host code (@pxref{G-Expressions})."
  54166. msgstr ""
  54167. #. type: deftp
  54168. #: guix-git/doc/guix.texi:37021
  54169. #, no-wrap
  54170. msgid "{Data Type} shepherd-action"
  54171. msgstr ""
  54172. #. type: deftp
  54173. #: guix-git/doc/guix.texi:37024
  54174. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  54175. msgstr ""
  54176. #. type: table
  54177. #: guix-git/doc/guix.texi:37028
  54178. msgid "Symbol naming the action."
  54179. msgstr ""
  54180. #. type: table
  54181. #: guix-git/doc/guix.texi:37031
  54182. msgid "This is a documentation string for the action. It can be viewed by running:"
  54183. msgstr ""
  54184. #. type: example
  54185. #: guix-git/doc/guix.texi:37034
  54186. #, no-wrap
  54187. msgid "herd doc @var{service} action @var{action}\n"
  54188. msgstr ""
  54189. #. type: item
  54190. #: guix-git/doc/guix.texi:37036
  54191. #, no-wrap
  54192. msgid "procedure"
  54193. msgstr ""
  54194. #. type: table
  54195. #: guix-git/doc/guix.texi:37040
  54196. msgid "This should be a gexp that evaluates to a procedure of at least one argument, which is the ``running value'' of the service (@pxref{Slots of services,,, shepherd, The GNU Shepherd Manual})."
  54197. msgstr ""
  54198. #. type: deftp
  54199. #: guix-git/doc/guix.texi:37044
  54200. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  54201. msgstr ""
  54202. #. type: lisp
  54203. #: guix-git/doc/guix.texi:37053
  54204. #, no-wrap
  54205. msgid ""
  54206. "(shepherd-action\n"
  54207. " (name 'say-hello)\n"
  54208. " (documentation \"Say hi!\")\n"
  54209. " (procedure #~(lambda (running . args)\n"
  54210. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  54211. " args)\n"
  54212. " #t)))\n"
  54213. msgstr ""
  54214. #. type: deftp
  54215. #: guix-git/doc/guix.texi:37056
  54216. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  54217. msgstr ""
  54218. #. type: example
  54219. #: guix-git/doc/guix.texi:37062
  54220. #, no-wrap
  54221. msgid ""
  54222. "# herd say-hello example\n"
  54223. "Hello, friend! arguments: ()\n"
  54224. "# herd say-hello example a b c\n"
  54225. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  54226. msgstr ""
  54227. #. type: deftp
  54228. #: guix-git/doc/guix.texi:37067
  54229. msgid "This, as you can see, is a fairly sophisticated way to say hello. @xref{Service Convenience,,, shepherd, The GNU Shepherd Manual}, for more info on actions."
  54230. msgstr ""
  54231. #. type: defvr
  54232. #: guix-git/doc/guix.texi:37069
  54233. #, no-wrap
  54234. msgid "{Scheme Variable} shepherd-root-service-type"
  54235. msgstr ""
  54236. #. type: defvr
  54237. #: guix-git/doc/guix.texi:37071
  54238. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  54239. msgstr ""
  54240. #. type: defvr
  54241. #: guix-git/doc/guix.texi:37076
  54242. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{shepherd-configuration}, as described below."
  54243. msgstr ""
  54244. #. type: deftp
  54245. #: guix-git/doc/guix.texi:37078
  54246. #, no-wrap
  54247. msgid "{Data Type} shepherd-configuration"
  54248. msgstr ""
  54249. #. type: deftp
  54250. #: guix-git/doc/guix.texi:37080 guix-git/doc/guix.texi:38074
  54251. msgid "This data type represents the Shepherd's configuration."
  54252. msgstr ""
  54253. #. type: item
  54254. #: guix-git/doc/guix.texi:37082 guix-git/doc/guix.texi:38076
  54255. #, no-wrap
  54256. msgid "shepherd (default: @code{shepherd})"
  54257. msgstr ""
  54258. #. type: table
  54259. #: guix-git/doc/guix.texi:37084 guix-git/doc/guix.texi:38078
  54260. msgid "The Shepherd package to use."
  54261. msgstr ""
  54262. #. type: item
  54263. #: guix-git/doc/guix.texi:37085 guix-git/doc/guix.texi:38082
  54264. #, no-wrap
  54265. msgid "services (default: @code{'()})"
  54266. msgstr ""
  54267. #. type: table
  54268. #: guix-git/doc/guix.texi:37089 guix-git/doc/guix.texi:38086
  54269. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  54270. msgstr ""
  54271. #. type: Plain text
  54272. #: guix-git/doc/guix.texi:37094
  54273. msgid "The following example specifies the Shepherd package for the operating system:"
  54274. msgstr ""
  54275. #. type: lisp
  54276. #: guix-git/doc/guix.texi:37109
  54277. #, no-wrap
  54278. msgid ""
  54279. "(operating-system\n"
  54280. " ;; ...\n"
  54281. " (services (append (list openssh-service-type))\n"
  54282. " ;; ...\n"
  54283. " %desktop-services)\n"
  54284. " ;; ...\n"
  54285. " ;; Use own Shepherd package.\n"
  54286. " (essential-services\n"
  54287. " (modify-services (operating-system-default-essential-services\n"
  54288. " this-operating-system)\n"
  54289. " (shepherd-root-service-type config => (shepherd-configuration\n"
  54290. " (inherit config)\n"
  54291. " (shepherd my-shepherd))))))\n"
  54292. msgstr ""
  54293. #. type: defvr
  54294. #: guix-git/doc/guix.texi:37111
  54295. #, no-wrap
  54296. msgid "{Scheme Variable} %shepherd-root-service"
  54297. msgstr ""
  54298. #. type: defvr
  54299. #: guix-git/doc/guix.texi:37113
  54300. msgid "This service represents PID@tie{}1."
  54301. msgstr ""
  54302. #. type: cindex
  54303. #: guix-git/doc/guix.texi:37117
  54304. #, no-wrap
  54305. msgid "complex configurations"
  54306. msgstr "zložité nastavenia"
  54307. #. type: Plain text
  54308. #: guix-git/doc/guix.texi:37122
  54309. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  54310. msgstr ""
  54311. #. type: Plain text
  54312. #: guix-git/doc/guix.texi:37130
  54313. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  54314. msgstr ""
  54315. #. type: deffn
  54316. #: guix-git/doc/guix.texi:37131
  54317. #, no-wrap
  54318. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  54319. msgstr ""
  54320. #. type: deffn
  54321. #: guix-git/doc/guix.texi:37135
  54322. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  54323. msgstr ""
  54324. #. type: deffn
  54325. #: guix-git/doc/guix.texi:37137
  54326. msgid "A clause can have one of the following forms:"
  54327. msgstr ""
  54328. #. type: example
  54329. #: guix-git/doc/guix.texi:37142
  54330. #, no-wrap
  54331. msgid ""
  54332. "(@var{field-name}\n"
  54333. " (@var{type} @var{default-value})\n"
  54334. " @var{documentation})\n"
  54335. " \n"
  54336. msgstr ""
  54337. #. type: example
  54338. #: guix-git/doc/guix.texi:37147
  54339. #, no-wrap
  54340. msgid ""
  54341. "(@var{field-name}\n"
  54342. " (@var{type} @var{default-value})\n"
  54343. " @var{documentation}\n"
  54344. " @var{serializer})\n"
  54345. "\n"
  54346. msgstr ""
  54347. #. type: example
  54348. #: guix-git/doc/guix.texi:37151
  54349. #, no-wrap
  54350. msgid ""
  54351. "(@var{field-name}\n"
  54352. " (@var{type})\n"
  54353. " @var{documentation})\n"
  54354. "\n"
  54355. msgstr ""
  54356. #. type: example
  54357. #: guix-git/doc/guix.texi:37156
  54358. #, no-wrap
  54359. msgid ""
  54360. "(@var{field-name}\n"
  54361. " (@var{type})\n"
  54362. " @var{documentation}\n"
  54363. " @var{serializer})\n"
  54364. msgstr ""
  54365. #. type: deffn
  54366. #: guix-git/doc/guix.texi:37160
  54367. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  54368. msgstr ""
  54369. #. type: deffn
  54370. #: guix-git/doc/guix.texi:37168
  54371. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  54372. msgstr ""
  54373. #. type: deffn
  54374. #: guix-git/doc/guix.texi:37172
  54375. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  54376. msgstr ""
  54377. #. type: deffn
  54378. #: guix-git/doc/guix.texi:37177
  54379. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  54380. msgstr ""
  54381. #. type: deffn
  54382. #: guix-git/doc/guix.texi:37184
  54383. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  54384. msgstr ""
  54385. #. type: deffn
  54386. #: guix-git/doc/guix.texi:37186
  54387. msgid "A simple serializer procedure could look like this:"
  54388. msgstr ""
  54389. #. type: lisp
  54390. #: guix-git/doc/guix.texi:37191
  54391. #, no-wrap
  54392. msgid ""
  54393. "(define (serialize-boolean field-name value)\n"
  54394. " (let ((value (if value \"true\" \"false\")))\n"
  54395. " #~(string-append #$field-name #$value)))\n"
  54396. msgstr ""
  54397. #. type: deffn
  54398. #: guix-git/doc/guix.texi:37202
  54399. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different for the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  54400. msgstr ""
  54401. #. type: lisp
  54402. #: guix-git/doc/guix.texi:37206
  54403. #, no-wrap
  54404. msgid ""
  54405. "(define (foo-serialize-string field-name value)\n"
  54406. " @dots{})\n"
  54407. "\n"
  54408. msgstr ""
  54409. #. type: lisp
  54410. #: guix-git/doc/guix.texi:37209
  54411. #, no-wrap
  54412. msgid ""
  54413. "(define (bar-serialize-string field-name value)\n"
  54414. " @dots{})\n"
  54415. " \n"
  54416. msgstr ""
  54417. #. type: lisp
  54418. #: guix-git/doc/guix.texi:37215
  54419. #, no-wrap
  54420. msgid ""
  54421. "(define-configuration foo-configuration\n"
  54422. " (label\n"
  54423. " (string)\n"
  54424. " \"The name of label.\")\n"
  54425. " (prefix foo-))\n"
  54426. "\n"
  54427. msgstr ""
  54428. #. type: lisp
  54429. #: guix-git/doc/guix.texi:37221
  54430. #, no-wrap
  54431. msgid ""
  54432. "(define-configuration bar-configuration\n"
  54433. " (ip-address\n"
  54434. " (string)\n"
  54435. " \"The IPv4 address for this device.\")\n"
  54436. " (prefix bar-))\n"
  54437. msgstr ""
  54438. #. type: deffn
  54439. #: guix-git/doc/guix.texi:37227
  54440. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  54441. msgstr ""
  54442. #. type: lisp
  54443. #: guix-git/doc/guix.texi:37235
  54444. #, no-wrap
  54445. msgid ""
  54446. ";; Nothing will be serialized to disk.\n"
  54447. "(define-configuration foo-configuration\n"
  54448. " (field\n"
  54449. " (string \"test\")\n"
  54450. " \"Some documentation.\")\n"
  54451. " (no-serialization))\n"
  54452. "\n"
  54453. msgstr ""
  54454. #. type: lisp
  54455. #: guix-git/doc/guix.texi:37241
  54456. #, no-wrap
  54457. msgid ""
  54458. ";; The same thing as above.\n"
  54459. "(define-configuration/no-serialization bar-configuration\n"
  54460. " (field\n"
  54461. " (string \"test\")\n"
  54462. " \"Some documentation.\"))\n"
  54463. msgstr ""
  54464. #. type: deffn
  54465. #: guix-git/doc/guix.texi:37244
  54466. #, no-wrap
  54467. msgid "{Scheme Syntax} define-maybe @var{type}"
  54468. msgstr ""
  54469. #. type: deffn
  54470. #: guix-git/doc/guix.texi:37249
  54471. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is set to the @code{disabled}, it will not be serialized."
  54472. msgstr ""
  54473. #. type: deffn
  54474. #: guix-git/doc/guix.texi:37256
  54475. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, unless it is set to the @code{disabled} symbol."
  54476. msgstr ""
  54477. #. type: lisp
  54478. #: guix-git/doc/guix.texi:37259
  54479. #, no-wrap
  54480. msgid ""
  54481. "(define-maybe string)\n"
  54482. "\n"
  54483. msgstr ""
  54484. #. type: lisp
  54485. #: guix-git/doc/guix.texi:37262
  54486. #, no-wrap
  54487. msgid ""
  54488. "(define (serialize-string field-name value)\n"
  54489. " @dots{})\n"
  54490. "\n"
  54491. msgstr ""
  54492. #. type: lisp
  54493. #: guix-git/doc/guix.texi:37269
  54494. #, no-wrap
  54495. msgid ""
  54496. "(define-configuration baz-configuration\n"
  54497. " (name\n"
  54498. " ;; Nothing will be serialized by default. If set to a string, the\n"
  54499. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  54500. " (maybe-string 'disabled)\n"
  54501. " \"The name of this module.\"))\n"
  54502. msgstr ""
  54503. #. type: deffn
  54504. #: guix-git/doc/guix.texi:37273
  54505. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  54506. msgstr ""
  54507. #. type: lisp
  54508. #: guix-git/doc/guix.texi:37277
  54509. #, no-wrap
  54510. msgid ""
  54511. "(define-maybe integer\n"
  54512. " (prefix baz-))\n"
  54513. "\n"
  54514. msgstr ""
  54515. #. type: lisp
  54516. #: guix-git/doc/guix.texi:37280
  54517. #, no-wrap
  54518. msgid ""
  54519. "(define (baz-serialize-interger field-name value)\n"
  54520. " @dots{})\n"
  54521. msgstr ""
  54522. #. type: deffn
  54523. #: guix-git/doc/guix.texi:37287
  54524. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  54525. msgstr ""
  54526. #. type: lisp
  54527. #: guix-git/doc/guix.texi:37290
  54528. #, no-wrap
  54529. msgid ""
  54530. "(define-maybe/no-serialization symbol)\n"
  54531. "\n"
  54532. msgstr ""
  54533. #. type: lisp
  54534. #: guix-git/doc/guix.texi:37295
  54535. #, no-wrap
  54536. msgid ""
  54537. "(define-configuration/no-serialization test-configuration\n"
  54538. " (mode\n"
  54539. " (maybe-symbol 'disabled)\n"
  54540. " \"Docstring.\"))\n"
  54541. msgstr ""
  54542. #. type: deffn
  54543. #: guix-git/doc/guix.texi:37298
  54544. #, no-wrap
  54545. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  54546. msgstr ""
  54547. #. type: deffn
  54548. #: guix-git/doc/guix.texi:37304
  54549. msgid "@var{fields} Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  54550. msgstr ""
  54551. #. type: deffn
  54552. #: guix-git/doc/guix.texi:37306
  54553. #, no-wrap
  54554. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  54555. msgstr ""
  54556. #. type: deffn
  54557. #: guix-git/doc/guix.texi:37310
  54558. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  54559. msgstr ""
  54560. #. type: deffn
  54561. #: guix-git/doc/guix.texi:37312
  54562. #, no-wrap
  54563. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  54564. msgstr ""
  54565. #. type: deffn
  54566. #: guix-git/doc/guix.texi:37315
  54567. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  54568. msgstr ""
  54569. #. type: Plain text
  54570. #: guix-git/doc/guix.texi:37320
  54571. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  54572. msgstr ""
  54573. #. type: deffn
  54574. #: guix-git/doc/guix.texi:37321
  54575. #, no-wrap
  54576. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  54577. msgstr ""
  54578. #. type: deffn
  54579. #: guix-git/doc/guix.texi:37328
  54580. msgid "@var{documentation-name} Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  54581. msgstr ""
  54582. #. type: deffn
  54583. #: guix-git/doc/guix.texi:37333
  54584. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  54585. msgstr ""
  54586. #. type: deffn
  54587. #: guix-git/doc/guix.texi:37340
  54588. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  54589. msgstr ""
  54590. #. type: lisp
  54591. #: guix-git/doc/guix.texi:37347
  54592. #, no-wrap
  54593. msgid ""
  54594. "(generate-documentation\n"
  54595. " `((getmail-configuration ,getmail-configuration-fields\n"
  54596. " (rcfile getmail-configuration-file))\n"
  54597. " @dots{})\n"
  54598. " 'getmail-configuration)\n"
  54599. msgstr ""
  54600. #. type: deffn
  54601. #: guix-git/doc/guix.texi:37351
  54602. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  54603. msgstr ""
  54604. #. type: deffn
  54605. #: guix-git/doc/guix.texi:37354
  54606. #, no-wrap
  54607. msgid "{Scheme Procedure} configuration->documentation"
  54608. msgstr ""
  54609. #. type: deffn
  54610. #: guix-git/doc/guix.texi:37361
  54611. msgid "@var{configuration-symbol} Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  54612. msgstr ""
  54613. #. type: Plain text
  54614. #: guix-git/doc/guix.texi:37369
  54615. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  54616. msgstr ""
  54617. #. type: Plain text
  54618. #: guix-git/doc/guix.texi:37373
  54619. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  54620. msgstr ""
  54621. #. type: lisp
  54622. #: guix-git/doc/guix.texi:37380
  54623. #, no-wrap
  54624. msgid ""
  54625. "(use-modules (gnu services)\n"
  54626. " (guix gexp)\n"
  54627. " (gnu services configuration)\n"
  54628. " (srfi srfi-26)\n"
  54629. " (srfi srfi-1))\n"
  54630. "\n"
  54631. msgstr ""
  54632. #. type: lisp
  54633. #: guix-git/doc/guix.texi:37388
  54634. #, no-wrap
  54635. msgid ""
  54636. ";; Turn field names, which are Scheme symbols into strings\n"
  54637. "(define (uglify-field-name field-name)\n"
  54638. " (let ((str (symbol->string field-name)))\n"
  54639. " ;; field? -> is-field\n"
  54640. " (if (string-suffix? \"?\" str)\n"
  54641. " (string-append \"is-\" (string-drop-right str 1))\n"
  54642. " str)))\n"
  54643. "\n"
  54644. msgstr ""
  54645. #. type: lisp
  54646. #: guix-git/doc/guix.texi:37391
  54647. #, no-wrap
  54648. msgid ""
  54649. "(define (serialize-string field-name value)\n"
  54650. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  54651. "\n"
  54652. msgstr ""
  54653. #. type: lisp
  54654. #: guix-git/doc/guix.texi:37394
  54655. #, no-wrap
  54656. msgid ""
  54657. "(define (serialize-integer field-name value)\n"
  54658. " (serialize-string field-name (number->string value)))\n"
  54659. "\n"
  54660. msgstr ""
  54661. #. type: lisp
  54662. #: guix-git/doc/guix.texi:37397
  54663. #, no-wrap
  54664. msgid ""
  54665. "(define (serialize-boolean field-name value)\n"
  54666. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  54667. "\n"
  54668. msgstr ""
  54669. #. type: lisp
  54670. #: guix-git/doc/guix.texi:37400
  54671. #, no-wrap
  54672. msgid ""
  54673. "(define (serialize-contact-name field-name value)\n"
  54674. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  54675. "\n"
  54676. msgstr ""
  54677. #. type: lisp
  54678. #: guix-git/doc/guix.texi:37403
  54679. #, no-wrap
  54680. msgid ""
  54681. "(define (list-of-contact-configurations? lst)\n"
  54682. " (every contact-configuration? lst))\n"
  54683. "\n"
  54684. msgstr ""
  54685. #. type: lisp
  54686. #: guix-git/doc/guix.texi:37408
  54687. #, no-wrap
  54688. msgid ""
  54689. "(define (serialize-list-of-contact-configurations field-name value)\n"
  54690. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  54691. " contact-configuration-fields)\n"
  54692. " value)))\n"
  54693. "\n"
  54694. msgstr ""
  54695. #. type: lisp
  54696. #: guix-git/doc/guix.texi:37415
  54697. #, no-wrap
  54698. msgid ""
  54699. "(define (serialize-contacts-list-configuration configuration)\n"
  54700. " (mixed-text-file\n"
  54701. " \"contactrc\"\n"
  54702. " #~(string-append \"[Owner]\\n\"\n"
  54703. " #$(serialize-configuration\n"
  54704. " configuration contacts-list-configuration-fields))))\n"
  54705. "\n"
  54706. msgstr ""
  54707. #. type: lisp
  54708. #: guix-git/doc/guix.texi:37418
  54709. #, no-wrap
  54710. msgid ""
  54711. "(define-maybe integer)\n"
  54712. "(define-maybe string)\n"
  54713. "\n"
  54714. msgstr ""
  54715. #. type: lisp
  54716. #: guix-git/doc/guix.texi:37433
  54717. #, no-wrap
  54718. msgid ""
  54719. "(define-configuration contact-configuration\n"
  54720. " (name\n"
  54721. " (string)\n"
  54722. " \"The name of the contact.\"\n"
  54723. " serialize-contact-name)\n"
  54724. " (phone-number\n"
  54725. " (maybe-integer 'disabled)\n"
  54726. " \"The person's phone number.\")\n"
  54727. " (email\n"
  54728. " (maybe-string 'disabled)\n"
  54729. " \"The person's email address.\")\n"
  54730. " (married?\n"
  54731. " (boolean)\n"
  54732. " \"Whether the person is married.\"))\n"
  54733. "\n"
  54734. msgstr ""
  54735. #. type: lisp
  54736. #: guix-git/doc/guix.texi:37445
  54737. #, no-wrap
  54738. msgid ""
  54739. "(define-configuration contacts-list-configuration\n"
  54740. " (name\n"
  54741. " (string)\n"
  54742. " \"The name of the owner of this contact list.\")\n"
  54743. " (email\n"
  54744. " (string)\n"
  54745. " \"The owner's email address.\")\n"
  54746. " (contacts\n"
  54747. " (list-of-contact-configurations '())\n"
  54748. " \"A list of @@code@{contact-configuation@} records which contain\n"
  54749. "information about all your contacts.\"))\n"
  54750. msgstr ""
  54751. #. type: Plain text
  54752. #: guix-git/doc/guix.texi:37448
  54753. msgid "A contacts list configuration could then be created like this:"
  54754. msgstr ""
  54755. #. type: lisp
  54756. #: guix-git/doc/guix.texi:37464
  54757. #, no-wrap
  54758. msgid ""
  54759. "(define my-contacts\n"
  54760. " (contacts-list-configuration\n"
  54761. " (name \"Alice\")\n"
  54762. " (email \"alice@@example.org\")\n"
  54763. " (contacts\n"
  54764. " (list (contact-configuration\n"
  54765. " (name \"Bob\")\n"
  54766. " (phone-number 1234)\n"
  54767. " (email \"bob@@gnu.org\")\n"
  54768. " (married? #f))\n"
  54769. " (contact-configuration\n"
  54770. " (name \"Charlie\")\n"
  54771. " (phone-number 0000)\n"
  54772. " (married? #t))))))\n"
  54773. msgstr ""
  54774. #. type: Plain text
  54775. #: guix-git/doc/guix.texi:37468
  54776. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  54777. msgstr ""
  54778. #. type: example
  54779. #: guix-git/doc/guix.texi:37473
  54780. #, no-wrap
  54781. msgid ""
  54782. "[owner]\n"
  54783. "name = Alice\n"
  54784. "email = alice@@example.org\n"
  54785. "\n"
  54786. msgstr ""
  54787. #. type: example
  54788. #: guix-git/doc/guix.texi:37478
  54789. #, no-wrap
  54790. msgid ""
  54791. "[Bob]\n"
  54792. "phone-number = 1234\n"
  54793. "email = bob@@gnu.org\n"
  54794. "is-married = false\n"
  54795. "\n"
  54796. msgstr ""
  54797. #. type: example
  54798. #: guix-git/doc/guix.texi:37482
  54799. #, no-wrap
  54800. msgid ""
  54801. "[Charlie]\n"
  54802. "phone-number = 0\n"
  54803. "is-married = true\n"
  54804. msgstr ""
  54805. #. type: cindex
  54806. #: guix-git/doc/guix.texi:37487
  54807. #, no-wrap
  54808. msgid "home configuration"
  54809. msgstr "nastavenie domovského priečinka"
  54810. #. type: Plain text
  54811. #: guix-git/doc/guix.texi:37499
  54812. msgid "Guix supports declarative configuration of @dfn{home environments} by utilizing the configuration mechanism described in the previous chapter (@pxref{Defining Services}), but for user's dotfiles and packages. It works both on Guix System and foreign distros and allows users to declare all the packages and services that should be installed and configured for the user. Once a user has written a file containing @code{home-environment} record, such a configuration can be @dfn{instantiated} by an unprivileged user with the @command{guix home} command (@pxref{Invoking guix home})."
  54813. msgstr ""
  54814. #. type: Plain text
  54815. #: guix-git/doc/guix.texi:37516
  54816. msgid "The user's home environment usually consists of three basic parts: software, configuration, and state. Software in mainstream distros are usually installed system-wide, but with GNU Guix most software packages can be installed on a per-user basis without needing root privileges, and are thus considered part of the user’s @dfn{home environment}. Packages on their own not very useful in many cases, because often they require some additional configuration, usually config files that reside in @env{XDG_CONFIG_HOME} (@file{~/.config} by default) or other directories. Everything else can be considered state, like media files, application databases, and logs."
  54817. msgstr ""
  54818. #. type: Plain text
  54819. #: guix-git/doc/guix.texi:37519
  54820. msgid "Using Guix for managing home environments provides a number of advantages:"
  54821. msgstr ""
  54822. #. type: item
  54823. #: guix-git/doc/guix.texi:37522
  54824. #, no-wrap
  54825. msgid "All software can be configured in one language (Guile Scheme),"
  54826. msgstr ""
  54827. #. type: itemize
  54828. #: guix-git/doc/guix.texi:37525
  54829. msgid "this gives users the ability to share values between configurations of different programs."
  54830. msgstr ""
  54831. #. type: item
  54832. #: guix-git/doc/guix.texi:37526
  54833. #, no-wrap
  54834. msgid "A well-defined home environment is self-contained and can be"
  54835. msgstr ""
  54836. #. type: itemize
  54837. #: guix-git/doc/guix.texi:37529
  54838. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  54839. msgstr ""
  54840. #. type: item
  54841. #: guix-git/doc/guix.texi:37530
  54842. #, no-wrap
  54843. msgid "After every @command{guix home reconfigure} invocation, a new home"
  54844. msgstr ""
  54845. #. type: itemize
  54846. #: guix-git/doc/guix.texi:37534
  54847. msgid "environment generation will be created. This means that users can rollback to a previous home environment generation so they don’t have to worry about breaking their configuration."
  54848. msgstr ""
  54849. #. type: item
  54850. #: guix-git/doc/guix.texi:37535
  54851. #, no-wrap
  54852. msgid "It is possible to manage stateful data with Guix Home, this"
  54853. msgstr ""
  54854. #. type: itemize
  54855. #: guix-git/doc/guix.texi:37540
  54856. msgid "includes the ability to automatically clone Git repositories on the initial setup of the machine, and periodically running commands like @command{rsync} to sync data with another host. This functionality is still in an experimental stage, though."
  54857. msgstr ""
  54858. #. type: section
  54859. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37550
  54860. #: guix-git/doc/guix.texi:37551
  54861. #, no-wrap
  54862. msgid "Declaring the Home Environment"
  54863. msgstr ""
  54864. #. type: menuentry
  54865. #: guix-git/doc/guix.texi:37548
  54866. msgid "Customizing your Home."
  54867. msgstr ""
  54868. #. type: section
  54869. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37618
  54870. #: guix-git/doc/guix.texi:37619
  54871. #, no-wrap
  54872. msgid "Configuring the Shell"
  54873. msgstr ""
  54874. #. type: menuentry
  54875. #: guix-git/doc/guix.texi:37548
  54876. msgid "Enabling home environment."
  54877. msgstr ""
  54878. #. type: section
  54879. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37665
  54880. #: guix-git/doc/guix.texi:37666
  54881. #, no-wrap
  54882. msgid "Home Services"
  54883. msgstr "Služby domovského priečinka"
  54884. #. type: menuentry
  54885. #: guix-git/doc/guix.texi:37548
  54886. msgid "Specifying home services."
  54887. msgstr ""
  54888. #. type: menuentry
  54889. #: guix-git/doc/guix.texi:37548
  54890. msgid "Instantiating a home configuration."
  54891. msgstr ""
  54892. #. type: Plain text
  54893. #: guix-git/doc/guix.texi:37557
  54894. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  54895. msgstr ""
  54896. #. type: example
  54897. #: guix-git/doc/guix.texi:37560
  54898. #, no-wrap
  54899. msgid "guix home import ~/src/guix-config\n"
  54900. msgstr ""
  54901. #. type: Plain text
  54902. #: guix-git/doc/guix.texi:37568
  54903. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  54904. msgstr ""
  54905. #. type: Plain text
  54906. #: guix-git/doc/guix.texi:37574
  54907. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  54908. msgstr ""
  54909. #. type: quotation
  54910. #: guix-git/doc/guix.texi:37580
  54911. msgid "It is highly recommended that you manage your shell or shells with Guix Home, because it will make sure that all the necessary scripts are sourced by the shell configuration file. Otherwise you will need to do it manually. (@pxref{Configuring the Shell})."
  54912. msgstr ""
  54913. #. type: findex
  54914. #: guix-git/doc/guix.texi:37582
  54915. #, no-wrap
  54916. msgid "home-environment"
  54917. msgstr ""
  54918. #. type: include
  54919. #: guix-git/doc/guix.texi:37584
  54920. #, no-wrap
  54921. msgid "he-config-bare-bones.scm"
  54922. msgstr ""
  54923. #. type: Plain text
  54924. #: guix-git/doc/guix.texi:37591
  54925. msgid "The @code{packages} field should be self-explanatory, it will install the list of packages into the user's profile. The most important field is @code{services}, it contains a list of @dfn{home services}, which are the basic building blocks of a home environment."
  54926. msgstr ""
  54927. #. type: Plain text
  54928. #: guix-git/doc/guix.texi:37599
  54929. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  54930. msgstr ""
  54931. #. type: Plain text
  54932. #: guix-git/doc/guix.texi:37602
  54933. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54934. msgstr ""
  54935. #. type: example
  54936. #: guix-git/doc/guix.texi:37605
  54937. #, no-wrap
  54938. msgid "guix home reconfigure config.scm\n"
  54939. msgstr ""
  54940. #. type: Plain text
  54941. #: guix-git/doc/guix.texi:37609
  54942. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54943. msgstr ""
  54944. #. type: quotation
  54945. #: guix-git/doc/guix.texi:37616
  54946. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  54947. msgstr ""
  54948. #. type: Plain text
  54949. #: guix-git/doc/guix.texi:37622
  54950. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54951. msgstr ""
  54952. #. type: Plain text
  54953. #: guix-git/doc/guix.texi:37629
  54954. msgid "There are a few scripts that must be evaluated by a login shell to activate the home environment. The shell startup files only read by login shells often have @code{profile} suffix. For more information about login shells see @ref{Invoking Bash,,, bash, The GNU Bash Reference Manual} and see @ref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54955. msgstr ""
  54956. #. type: Plain text
  54957. #: guix-git/doc/guix.texi:37636
  54958. msgid "The first script that needs to be sourced is @file{setup-environment}, which sets all the necessary environment variables (including variables declared by the user) and the second one is @file{on-first-login}, which starts Shepherd for the current user and performs actions declared by other home services that extends @code{home-run-on-first-login-service-type}."
  54959. msgstr ""
  54960. #. type: Plain text
  54961. #: guix-git/doc/guix.texi:37639
  54962. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54963. msgstr ""
  54964. #. type: example
  54965. #: guix-git/doc/guix.texi:37644
  54966. #, no-wrap
  54967. msgid ""
  54968. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54969. ". $HOME_ENVIRONMENT/setup-environment\n"
  54970. "$HOME_ENVIRONMENT/on-first-login\n"
  54971. msgstr ""
  54972. #. type: Plain text
  54973. #: guix-git/doc/guix.texi:37654
  54974. msgid "This makes POSIX compliant login shells activate the home environment. However, in most cases this file won't be read by most modern shells, because they are run in non POSIX mode by default and have their own @file{*profile} startup files. For example Bash will prefer @file{~/.bash_profile} in case it exists and only if it doesn't will it fallback to @file{~/.profile}. Zsh (if no additional options are specified) will ignore @file{~/.profile}, even if @file{~/.zprofile} doesn't exist."
  54975. msgstr ""
  54976. #. type: Plain text
  54977. #: guix-git/doc/guix.texi:37659
  54978. msgid "To make your shell respect @file{~/.profile}, add @code{. ~/.profile} or @code{source ~/profile} to the startup file for the login shell. In case of Bash, it is @file{~/.bash_profile}, and in case of Zsh, it is @file{~/.zprofile}."
  54979. msgstr ""
  54980. #. type: quotation
  54981. #: guix-git/doc/guix.texi:37663
  54982. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54983. msgstr ""
  54984. #. type: cindex
  54985. #: guix-git/doc/guix.texi:37667
  54986. #, no-wrap
  54987. msgid "home services"
  54988. msgstr "domovské služby"
  54989. #. type: Plain text
  54990. #: guix-git/doc/guix.texi:37676
  54991. msgid "A @dfn{home service} is not necessarily something that has a daemon and is managed by Shepherd (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}), in most cases it doesn't. It's a simple building block of the home environment, often declaring a set of packages to be installed in the home environment profile, a set of config files to be symlinked into @env{XDG_CONFIG_HOME} (@file{~/.config} by default), and environment variables to be set by a login shell."
  54992. msgstr ""
  54993. #. type: Plain text
  54994. #: guix-git/doc/guix.texi:37684
  54995. msgid "There is a service extension mechanism (@pxref{Service Composition}) which allows home services to extend other home services and utilize capabilities they provide; for example: declare mcron jobs (@pxref{Top,,, mcron, GNU@tie{}Mcron}) by extending @ref{Mcron Home Service}; declare daemons by extending @ref{Shepherd Home Service}; add commands, which will be invoked on by the Bash by extending @ref{Shells Home Services, @code{home-bash-service-type}}."
  54996. msgstr ""
  54997. #. type: Plain text
  54998. #: guix-git/doc/guix.texi:37695
  54999. msgid "A good way to discover available home services is using the @command{guix home search} command (@pxref{Invoking guix home}). After the required home services are found, include its module with the @code{use-modules} form (@pxref{use-modules,, Using Guile Modules, guile, The GNU Guile Reference Manual}), or the @code{#:use-modules} directive (@pxref{define-module,, Creating Guile Modules, guile, The GNU Guile Reference Manual}) and declare a home service using the @code{service} function, or extend a service type by declaring a new service with the @code{simple-service} procedure from @code{(gnu services)}."
  55000. msgstr ""
  55001. #. type: subsection
  55002. #: guix-git/doc/guix.texi:37702 guix-git/doc/guix.texi:37705
  55003. #: guix-git/doc/guix.texi:37706
  55004. #, no-wrap
  55005. msgid "Essential Home Services"
  55006. msgstr "Základné domovské služby"
  55007. #. type: menuentry
  55008. #: guix-git/doc/guix.texi:37702
  55009. msgid "Environment variables, packages, on-* scripts."
  55010. msgstr ""
  55011. #. type: menuentry
  55012. #: guix-git/doc/guix.texi:37702
  55013. msgid "Shells: Shells Home Services"
  55014. msgstr ""
  55015. #. type: menuentry
  55016. #: guix-git/doc/guix.texi:37702
  55017. msgid "POSIX shells, Bash, Zsh."
  55018. msgstr ""
  55019. #. type: menuentry
  55020. #: guix-git/doc/guix.texi:37702
  55021. msgid "Mcron: Mcron Home Service"
  55022. msgstr ""
  55023. #. type: menuentry
  55024. #: guix-git/doc/guix.texi:37702
  55025. msgid "Scheduled User's Job Execution."
  55026. msgstr ""
  55027. #. type: menuentry
  55028. #: guix-git/doc/guix.texi:37702
  55029. msgid "Shepherd: Shepherd Home Service"
  55030. msgstr ""
  55031. #. type: menuentry
  55032. #: guix-git/doc/guix.texi:37702
  55033. msgid "Managing User's Daemons."
  55034. msgstr ""
  55035. #. type: menuentry
  55036. #: guix-git/doc/guix.texi:37702
  55037. #, fuzzy
  55038. #| msgid "Essential Home Services"
  55039. msgid "Desktop: Desktop Home Services"
  55040. msgstr "Základné domovské služby"
  55041. #. type: menuentry
  55042. #: guix-git/doc/guix.texi:37702
  55043. msgid "Services for graphical environments."
  55044. msgstr ""
  55045. #. type: Plain text
  55046. #: guix-git/doc/guix.texi:37711
  55047. msgid "There are a few essential home services defined in @code{(gnu services)}, they are mostly for internal use and are required to build a home environment, but some of them will be useful for the end user."
  55048. msgstr ""
  55049. #. type: cindex
  55050. #: guix-git/doc/guix.texi:37712
  55051. #, no-wrap
  55052. msgid "environment variables"
  55053. msgstr ""
  55054. #. type: defvr
  55055. #: guix-git/doc/guix.texi:37714
  55056. #, no-wrap
  55057. msgid "{Scheme Variable} home-environment-variables-service-type"
  55058. msgstr ""
  55059. #. type: defvr
  55060. #: guix-git/doc/guix.texi:37719
  55061. msgid "The service of this type will be instantiated by every home environment automatically by default, there is no need to define it, but someone may want to extend it with a list of pairs to set some environment variables."
  55062. msgstr ""
  55063. #. type: lisp
  55064. #: guix-git/doc/guix.texi:37723
  55065. #, no-wrap
  55066. msgid ""
  55067. "(list (\"ENV_VAR1\" . \"value1\")\n"
  55068. " (\"ENV_VAR2\" . \"value2\"))\n"
  55069. msgstr ""
  55070. #. type: defvr
  55071. #: guix-git/doc/guix.texi:37728
  55072. msgid "The easiest way to extend a service type, without defining new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  55073. msgstr ""
  55074. #. type: lisp
  55075. #: guix-git/doc/guix.texi:37736
  55076. #, no-wrap
  55077. msgid ""
  55078. "(simple-service 'some-useful-env-vars-service\n"
  55079. "\t\thome-environment-variables-service-type\n"
  55080. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  55081. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  55082. " (\"USELESS_VAR\" . #f)\n"
  55083. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  55084. msgstr ""
  55085. #. type: defvr
  55086. #: guix-git/doc/guix.texi:37741
  55087. msgid "If you include such a service in you home environment definition, it will add the following content to the @file{setup-environment} script (which is expected to be sourced by the login shell):"
  55088. msgstr ""
  55089. #. type: example
  55090. #: guix-git/doc/guix.texi:37746
  55091. #, no-wrap
  55092. msgid ""
  55093. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  55094. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  55095. "export _JAVA_AWT_WM_NONREPARENTING\n"
  55096. msgstr ""
  55097. #. type: quotation
  55098. #: guix-git/doc/guix.texi:37753
  55099. msgid "Make sure that module @code{(gnu packages shells)} is imported with @code{use-modules} or any other way, this namespace contains the definition of the @code{zsh} packages, which is used in the example above."
  55100. msgstr ""
  55101. #. type: defvr
  55102. #: guix-git/doc/guix.texi:37766
  55103. msgid "The association list (@pxref{Association Lists, alists, Association Lists, guile, The GNU Guile Reference manual}) is a data structure containing key-value pairs, for @code{home-environment-variables-service-type} the key is always a string, the value can be a string, string-valued gexp (@pxref{G-Expressions}), file-like object (@pxref{G-Expressions, file-like object}) or boolean. For gexps, the variable will be set to the value of the gexp; for file-like objects, it will be set to the path of the file in the store (@pxref{The Store}); for @code{#t}, it will export the variable without any value; and for @code{#f}, it will omit variable."
  55104. msgstr ""
  55105. #. type: defvr
  55106. #: guix-git/doc/guix.texi:37769
  55107. #, no-wrap
  55108. msgid "{Scheme Variable} home-profile-service-type"
  55109. msgstr ""
  55110. #. type: defvr
  55111. #: guix-git/doc/guix.texi:37775
  55112. msgid "The service of this type will be instantiated by every home environment automatically, there is no need to define it, but you may want to extend it with a list of packages if you want to install additional packages into your profile. Other services, which need to make some programs available to the user will also extend this service type."
  55113. msgstr ""
  55114. #. type: defvr
  55115. #: guix-git/doc/guix.texi:37777
  55116. msgid "The extension value is just a list of packages:"
  55117. msgstr ""
  55118. #. type: lisp
  55119. #: guix-git/doc/guix.texi:37780
  55120. #, no-wrap
  55121. msgid "(list htop vim emacs)\n"
  55122. msgstr ""
  55123. #. type: defvr
  55124. #: guix-git/doc/guix.texi:37790
  55125. msgid "The same approach as @code{simple-service} (@pxref{Service Reference, simple-service}) for @code{home-environment-variables-service-type} can be used here, too. Make sure that modules containing the specified packages are imported with @code{use-modules}. To find a package or information about its module use @command{guix search} (@pxref{Invoking guix package}). Alternatively, @code{specification->package} can be used to get the package record from string without importing related module."
  55126. msgstr ""
  55127. #. type: Plain text
  55128. #: guix-git/doc/guix.texi:37794
  55129. msgid "There are few more essential services, but users are not expected to extend them."
  55130. msgstr ""
  55131. #. type: defvr
  55132. #: guix-git/doc/guix.texi:37795
  55133. #, no-wrap
  55134. msgid "{Scheme Variable} home-service-type"
  55135. msgstr ""
  55136. #. type: defvr
  55137. #: guix-git/doc/guix.texi:37800
  55138. msgid "The root of home services DAG, it generates a folder, which later will be symlinked to @file{~/.guix-home}, it contains configurations, profile with binaries and libraries, and some necessary scripts to glue things together."
  55139. msgstr ""
  55140. #. type: defvr
  55141. #: guix-git/doc/guix.texi:37802
  55142. #, no-wrap
  55143. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  55144. msgstr ""
  55145. #. type: defvr
  55146. #: guix-git/doc/guix.texi:37807
  55147. msgid "The service of this type generates a Guile script, which is expected to be executed by the login shell. It is only executed if the special flag file inside @env{XDG_RUNTIME_DIR} hasn't been created, this prevents redundant executions of the script if multiple login shells are spawned."
  55148. msgstr ""
  55149. #. type: defvr
  55150. #: guix-git/doc/guix.texi:37813
  55151. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  55152. msgstr ""
  55153. #. type: defvr
  55154. #: guix-git/doc/guix.texi:37815
  55155. #, no-wrap
  55156. msgid "{Scheme Variable} home-activation-service-type"
  55157. msgstr ""
  55158. #. type: defvr
  55159. #: guix-git/doc/guix.texi:37819
  55160. msgid "The service of this type generates a guile script, which runs on every @command{guix home reconfigure} invocation or any other action, which leads to the activation of the home environment."
  55161. msgstr ""
  55162. #. type: node
  55163. #: guix-git/doc/guix.texi:37821
  55164. #, no-wrap
  55165. msgid "Shells Home Services"
  55166. msgstr ""
  55167. #. type: subsection
  55168. #: guix-git/doc/guix.texi:37822
  55169. #, no-wrap
  55170. msgid "Shells"
  55171. msgstr "Príkazové riadky"
  55172. #. type: cindex
  55173. #: guix-git/doc/guix.texi:37824 guix-git/doc/guix.texi:38190
  55174. #, no-wrap
  55175. msgid "shell"
  55176. msgstr "shell"
  55177. #. type: cindex
  55178. #: guix-git/doc/guix.texi:37825
  55179. #, no-wrap
  55180. msgid "login shell"
  55181. msgstr ""
  55182. #. type: cindex
  55183. #: guix-git/doc/guix.texi:37826
  55184. #, no-wrap
  55185. msgid "interactive shell"
  55186. msgstr ""
  55187. #. type: cindex
  55188. #: guix-git/doc/guix.texi:37827 guix-git/doc/guix.texi:38192
  55189. #, no-wrap
  55190. msgid "bash"
  55191. msgstr "bash"
  55192. #. type: cindex
  55193. #: guix-git/doc/guix.texi:37828 guix-git/doc/guix.texi:38193
  55194. #, no-wrap
  55195. msgid "zsh"
  55196. msgstr ""
  55197. #. type: Plain text
  55198. #: guix-git/doc/guix.texi:37834
  55199. msgid "Shells play a quite important role in the environment initialization process, you can configure them manually as described in section @ref{Configuring the Shell}, but the recommended way is to use home services listed below. It's both easier and more reliable."
  55200. msgstr ""
  55201. #. type: Plain text
  55202. #: guix-git/doc/guix.texi:37844
  55203. msgid "Each home environment instantiates @code{home-shell-profile-service-type}, which creates a @file{~/.profile} startup file for all POSIX-compatible shells. This file contains all the necessary steps to properly initialize the environment, but many modern shells like Bash or Zsh prefer their own startup files, that's why the respective home services (@code{home-bash-service-type} and @code{home-zsh-service-type}) ensure that @file{~/.profile} is sourced by @file{~/.bash_profile} and @file{~/.zprofile}, respectively."
  55204. msgstr ""
  55205. #. type: subsubheading
  55206. #: guix-git/doc/guix.texi:37845
  55207. #, no-wrap
  55208. msgid "Shell Profile Service"
  55209. msgstr "Služba profilu shell"
  55210. #. type: deftp
  55211. #: guix-git/doc/guix.texi:37847
  55212. #, no-wrap
  55213. msgid "{Data Type} home-shell-profile-configuration"
  55214. msgstr "{Druh údajov} home-shell-profile-configuration"
  55215. #. type: deftp
  55216. #: guix-git/doc/guix.texi:37849
  55217. msgid "Available @code{home-shell-profile-configuration} fields are:"
  55218. msgstr ""
  55219. #. type: item
  55220. #: guix-git/doc/guix.texi:37851
  55221. #, no-wrap
  55222. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  55223. msgstr ""
  55224. #. type: table
  55225. #: guix-git/doc/guix.texi:37861
  55226. msgid "@code{home-shell-profile} is instantiated automatically by @code{home-environment}, DO NOT create this service manually, it can only be extended. @code{profile} is a list of file-like objects, which will go to @file{~/.profile}. By default @file{~/.profile} contains the initialization code which must be evaluated by the login shell to make home-environment's profile available to the user, but other commands can be added to the file if it is really necessary. In most cases shell's configuration files are preferred places for user's customizations. Extend home-shell-profile service only if you really know what you do."
  55227. msgstr ""
  55228. #. type: subsubheading
  55229. #: guix-git/doc/guix.texi:37866
  55230. #, no-wrap
  55231. msgid "Bash Home Service"
  55232. msgstr ""
  55233. #. type: anchor{#1}
  55234. #: guix-git/doc/guix.texi:37869
  55235. msgid "home-bash-configuration"
  55236. msgstr "home-bash-configuration"
  55237. #. type: deftp
  55238. #: guix-git/doc/guix.texi:37869
  55239. #, no-wrap
  55240. msgid "{Data Type} home-bash-configuration"
  55241. msgstr "{Druh údajov} home-bash-configuration"
  55242. #. type: deftp
  55243. #: guix-git/doc/guix.texi:37871
  55244. msgid "Available @code{home-bash-configuration} fields are:"
  55245. msgstr ""
  55246. #. type: item
  55247. #: guix-git/doc/guix.texi:37873
  55248. #, no-wrap
  55249. msgid "@code{package} (default: @code{bash}) (type: package)"
  55250. msgstr ""
  55251. #. type: table
  55252. #: guix-git/doc/guix.texi:37875
  55253. msgid "The Bash package to use."
  55254. msgstr ""
  55255. #. type: item
  55256. #: guix-git/doc/guix.texi:37876
  55257. #, no-wrap
  55258. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  55259. msgstr ""
  55260. #. type: table
  55261. #: guix-git/doc/guix.texi:37879
  55262. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  55263. msgstr ""
  55264. #. type: item
  55265. #: guix-git/doc/guix.texi:37880 guix-git/doc/guix.texi:37934
  55266. #: guix-git/doc/guix.texi:37973
  55267. #, no-wrap
  55268. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  55269. msgstr ""
  55270. #. type: table
  55271. #: guix-git/doc/guix.texi:37885
  55272. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  55273. msgstr ""
  55274. #. type: item
  55275. #: guix-git/doc/guix.texi:37886 guix-git/doc/guix.texi:37939
  55276. #, no-wrap
  55277. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  55278. msgstr ""
  55279. #. type: table
  55280. #: guix-git/doc/guix.texi:37891
  55281. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something line this:"
  55282. msgstr ""
  55283. #. type: lisp
  55284. #: guix-git/doc/guix.texi:37894
  55285. #, no-wrap
  55286. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  55287. msgstr ""
  55288. #. type: table
  55289. #: guix-git/doc/guix.texi:37897
  55290. msgid "turns into"
  55291. msgstr ""
  55292. #. type: example
  55293. #: guix-git/doc/guix.texi:37900
  55294. #, no-wrap
  55295. msgid "alias ls=\\\"ls -alF\\\"\n"
  55296. msgstr ""
  55297. #. type: item
  55298. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37943
  55299. #, no-wrap
  55300. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  55301. msgstr ""
  55302. #. type: table
  55303. #: guix-git/doc/guix.texi:37907
  55304. msgid "List of file-like objects, which will be added to @file{.bash_profile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). @file{.bash_login} won't be ever read, because @file{.bash_profile} always present."
  55305. msgstr ""
  55306. #. type: item
  55307. #: guix-git/doc/guix.texi:37908 guix-git/doc/guix.texi:37947
  55308. #, no-wrap
  55309. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  55310. msgstr ""
  55311. #. type: table
  55312. #: guix-git/doc/guix.texi:37913
  55313. msgid "List of file-like objects, which will be added to @file{.bashrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{bash} or by terminal app or any other program)."
  55314. msgstr ""
  55315. #. type: item
  55316. #: guix-git/doc/guix.texi:37914 guix-git/doc/guix.texi:37951
  55317. #, no-wrap
  55318. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  55319. msgstr ""
  55320. #. type: table
  55321. #: guix-git/doc/guix.texi:37919
  55322. msgid "List of file-like objects, which will be added to @file{.bash_logout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55323. msgstr ""
  55324. #. type: Plain text
  55325. #: guix-git/doc/guix.texi:37929
  55326. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  55327. msgstr ""
  55328. #. type: deftp
  55329. #: guix-git/doc/guix.texi:37930
  55330. #, no-wrap
  55331. msgid "{Data Type} home-bash-extension"
  55332. msgstr "{Druh údajov} home-bash-extension"
  55333. #. type: deftp
  55334. #: guix-git/doc/guix.texi:37932
  55335. msgid "Available @code{home-bash-extension} fields are:"
  55336. msgstr ""
  55337. #. type: table
  55338. #: guix-git/doc/guix.texi:37938
  55339. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  55340. msgstr ""
  55341. #. type: table
  55342. #: guix-git/doc/guix.texi:37942
  55343. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  55344. msgstr ""
  55345. #. type: table
  55346. #: guix-git/doc/guix.texi:37946
  55347. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  55348. msgstr ""
  55349. #. type: table
  55350. #: guix-git/doc/guix.texi:37950
  55351. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  55352. msgstr ""
  55353. #. type: table
  55354. #: guix-git/doc/guix.texi:37954
  55355. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  55356. msgstr ""
  55357. #. type: subsubheading
  55358. #: guix-git/doc/guix.texi:37958
  55359. #, no-wrap
  55360. msgid "Zsh Home Service"
  55361. msgstr "Domovská služba Zsh"
  55362. #. type: deftp
  55363. #: guix-git/doc/guix.texi:37960
  55364. #, no-wrap
  55365. msgid "{Data Type} home-zsh-configuration"
  55366. msgstr "{Druh údajov} home-zsh-configuration"
  55367. #. type: deftp
  55368. #: guix-git/doc/guix.texi:37962
  55369. msgid "Available @code{home-zsh-configuration} fields are:"
  55370. msgstr ""
  55371. #. type: item
  55372. #: guix-git/doc/guix.texi:37964
  55373. #, no-wrap
  55374. msgid "@code{package} (default: @code{zsh}) (type: package)"
  55375. msgstr ""
  55376. #. type: table
  55377. #: guix-git/doc/guix.texi:37966
  55378. msgid "The Zsh package to use."
  55379. msgstr ""
  55380. #. type: item
  55381. #: guix-git/doc/guix.texi:37967
  55382. #, no-wrap
  55383. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  55384. msgstr ""
  55385. #. type: table
  55386. #: guix-git/doc/guix.texi:37972
  55387. msgid "Place all the configs to @file{$XDG_CONFIG_HOME/zsh}. Makes @file{~/.zshenv} to set @env{ZDOTDIR} to @file{$XDG_CONFIG_HOME/zsh}. Shell startup process will continue with @file{$XDG_CONFIG_HOME/zsh/.zshenv}."
  55388. msgstr ""
  55389. #. type: table
  55390. #: guix-git/doc/guix.texi:37975
  55391. msgid "Association list of environment variables to set for the Zsh session."
  55392. msgstr ""
  55393. #. type: item
  55394. #: guix-git/doc/guix.texi:37976
  55395. #, no-wrap
  55396. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  55397. msgstr ""
  55398. #. type: table
  55399. #: guix-git/doc/guix.texi:37981
  55400. msgid "List of file-like objects, which will be added to @file{.zshenv}. Used for setting user's shell environment variables. Must not contain commands assuming the presence of tty or producing output. Will be read always. Will be read before any other file in @env{ZDOTDIR}."
  55401. msgstr ""
  55402. #. type: item
  55403. #: guix-git/doc/guix.texi:37982
  55404. #, no-wrap
  55405. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  55406. msgstr ""
  55407. #. type: table
  55408. #: guix-git/doc/guix.texi:37987
  55409. msgid "List of file-like objects, which will be added to @file{.zprofile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). Will be read before @file{.zlogin}."
  55410. msgstr ""
  55411. #. type: item
  55412. #: guix-git/doc/guix.texi:37988
  55413. #, no-wrap
  55414. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  55415. msgstr ""
  55416. #. type: table
  55417. #: guix-git/doc/guix.texi:37993
  55418. msgid "List of file-like objects, which will be added to @file{.zshrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{zsh} or by terminal app or any other program)."
  55419. msgstr ""
  55420. #. type: item
  55421. #: guix-git/doc/guix.texi:37994
  55422. #, no-wrap
  55423. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  55424. msgstr ""
  55425. #. type: table
  55426. #: guix-git/doc/guix.texi:37998
  55427. msgid "List of file-like objects, which will be added to @file{.zlogin}. Used for executing user's commands at the end of starting process of login shell."
  55428. msgstr ""
  55429. #. type: item
  55430. #: guix-git/doc/guix.texi:37999
  55431. #, no-wrap
  55432. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  55433. msgstr ""
  55434. #. type: table
  55435. #: guix-git/doc/guix.texi:38004
  55436. msgid "List of file-like objects, which will be added to @file{.zlogout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55437. msgstr ""
  55438. #. type: node
  55439. #: guix-git/doc/guix.texi:38009
  55440. #, no-wrap
  55441. msgid "Mcron Home Service"
  55442. msgstr ""
  55443. #. type: subsection
  55444. #: guix-git/doc/guix.texi:38010
  55445. #, no-wrap
  55446. msgid "Scheduled User's Job Execution"
  55447. msgstr ""
  55448. #. type: Plain text
  55449. #: guix-git/doc/guix.texi:38023
  55450. msgid "The @code{(gnu home services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). The information about system's mcron is applicable here (@pxref{Scheduled Job Execution}), the only difference for home services is that they have to be declared in a @code{home-envirnoment} record instead of an @code{operating-system} record."
  55451. msgstr ""
  55452. #. type: defvr
  55453. #: guix-git/doc/guix.texi:38024
  55454. #, no-wrap
  55455. msgid "{Scheme Variable} home-mcron-service-type"
  55456. msgstr ""
  55457. #. type: defvr
  55458. #: guix-git/doc/guix.texi:38028
  55459. msgid "This is the type of the @code{mcron} home service, whose value is an @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  55460. msgstr ""
  55461. #. type: deftp
  55462. #: guix-git/doc/guix.texi:38035
  55463. #, no-wrap
  55464. msgid "{Data Type} home-mcron-configuration"
  55465. msgstr "{Druh údajov} home-mcron-configuration"
  55466. #. type: node
  55467. #: guix-git/doc/guix.texi:38049
  55468. #, no-wrap
  55469. msgid "Shepherd Home Service"
  55470. msgstr ""
  55471. #. type: subsection
  55472. #: guix-git/doc/guix.texi:38050
  55473. #, no-wrap
  55474. msgid "Managing User Daemons"
  55475. msgstr ""
  55476. #. type: cindex
  55477. #: guix-git/doc/guix.texi:38052
  55478. #, no-wrap
  55479. msgid "shepherd services, for users"
  55480. msgstr ""
  55481. #. type: Plain text
  55482. #: guix-git/doc/guix.texi:38059
  55483. msgid "The @code{(gnu home services shepherd)} module supports the definitions of per-user Shepherd services (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}). You extend @code{home-shepherd-service-type} with new services; Guix Home then takes care of starting the @code{shepherd} daemon for you when you log in, which in turns starts the services you asked for."
  55484. msgstr ""
  55485. #. type: defvr
  55486. #: guix-git/doc/guix.texi:38060
  55487. #, no-wrap
  55488. msgid "{Scheme Variable} home-shepherd-service-type"
  55489. msgstr ""
  55490. #. type: defvr
  55491. #: guix-git/doc/guix.texi:38065
  55492. msgid "The service type for the userland Shepherd, which allows one to manage long-running processes or one-shot tasks. User's Shepherd is not an init process (PID 1), but almost all other information described in (@pxref{Shepherd Services}) is applicable here too."
  55493. msgstr ""
  55494. #. type: defvr
  55495. #: guix-git/doc/guix.texi:38070
  55496. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{home-shepherd-configuration}, as described below."
  55497. msgstr ""
  55498. #. type: deftp
  55499. #: guix-git/doc/guix.texi:38072
  55500. #, no-wrap
  55501. msgid "{Data Type} home-shepherd-configuration"
  55502. msgstr "{Druh údajov} home-shepherd-configuration"
  55503. #. type: item
  55504. #: guix-git/doc/guix.texi:38079
  55505. #, no-wrap
  55506. msgid "auto-start? (default: @code{#t})"
  55507. msgstr ""
  55508. #. type: table
  55509. #: guix-git/doc/guix.texi:38081
  55510. msgid "Whether or not to start Shepherd on first login."
  55511. msgstr ""
  55512. #. type: subsection
  55513. #: guix-git/doc/guix.texi:38089 guix-git/doc/guix.texi:38090
  55514. #, fuzzy, no-wrap
  55515. #| msgid "Home Services"
  55516. msgid "Desktop Home Services"
  55517. msgstr "Služby domovského priečinka"
  55518. #. type: Plain text
  55519. #: guix-git/doc/guix.texi:38095
  55520. msgid "The @code{(gnu home services desktop)} module provides services that you may find useful on ``desktop'' systems running a graphical user environment such as Xorg."
  55521. msgstr ""
  55522. #. type: defvr
  55523. #: guix-git/doc/guix.texi:38096
  55524. #, no-wrap
  55525. msgid "{Scheme Variable} home-redshift-service-type"
  55526. msgstr ""
  55527. #. type: defvr
  55528. #: guix-git/doc/guix.texi:38101
  55529. msgid "This is the service type for @uref{https://github.com/jonls/redshift, Redshift}, a program that adjusts the display color temperature according to the time of day. Its associated value must be a @code{home-redshift-configuration} record, as shown below."
  55530. msgstr ""
  55531. #. type: defvr
  55532. #: guix-git/doc/guix.texi:38104
  55533. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  55534. msgstr ""
  55535. #. type: lisp
  55536. #: guix-git/doc/guix.texi:38111
  55537. #, no-wrap
  55538. msgid ""
  55539. "(service home-redshift-service-type\n"
  55540. " (home-redshift-configuration\n"
  55541. " (location-provider 'manual)\n"
  55542. " (latitude 35.81) ;northern hemisphere\n"
  55543. " (longitude -0.80))) ;west of Greenwich\n"
  55544. msgstr ""
  55545. #. type: deftp
  55546. #: guix-git/doc/guix.texi:38114
  55547. #, fuzzy, no-wrap
  55548. #| msgid "{Data Type} home-zsh-configuration"
  55549. msgid "{Data Type} home-redshift-configuration"
  55550. msgstr "{Druh údajov} home-zsh-configuration"
  55551. #. type: deftp
  55552. #: guix-git/doc/guix.texi:38116
  55553. msgid "Available @code{home-redshift-configuration} fields are:"
  55554. msgstr ""
  55555. #. type: item
  55556. #: guix-git/doc/guix.texi:38118
  55557. #, no-wrap
  55558. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  55559. msgstr ""
  55560. #. type: table
  55561. #: guix-git/doc/guix.texi:38120
  55562. msgid "Redshift package to use."
  55563. msgstr ""
  55564. #. type: item
  55565. #: guix-git/doc/guix.texi:38121
  55566. #, no-wrap
  55567. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  55568. msgstr ""
  55569. #. type: table
  55570. #: guix-git/doc/guix.texi:38127
  55571. msgid "Geolocation provider---@code{'manual} or @code{'geoclue2}. In the former case, you must also specify the @code{latitude} and @code{longitude} fields so Redshift can determine daytime at your place. In the latter case, the Geoclue system service must be running; it will be queried for location information."
  55572. msgstr ""
  55573. #. type: item
  55574. #: guix-git/doc/guix.texi:38128
  55575. #, no-wrap
  55576. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  55577. msgstr ""
  55578. #. type: table
  55579. #: guix-git/doc/guix.texi:38130
  55580. msgid "Color adjustment method."
  55581. msgstr ""
  55582. #. type: item
  55583. #: guix-git/doc/guix.texi:38131
  55584. #, no-wrap
  55585. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  55586. msgstr ""
  55587. #. type: table
  55588. #: guix-git/doc/guix.texi:38133
  55589. msgid "Daytime color temperature (kelvins)."
  55590. msgstr ""
  55591. #. type: item
  55592. #: guix-git/doc/guix.texi:38134
  55593. #, no-wrap
  55594. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  55595. msgstr ""
  55596. #. type: table
  55597. #: guix-git/doc/guix.texi:38136
  55598. msgid "Nighttime color temperature (kelvins)."
  55599. msgstr ""
  55600. #. type: item
  55601. #: guix-git/doc/guix.texi:38137
  55602. #, no-wrap
  55603. msgid "@code{daytime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55604. msgstr ""
  55605. #. type: table
  55606. #: guix-git/doc/guix.texi:38139
  55607. msgid "Daytime screen brightness, between 0.1 and 1.0."
  55608. msgstr ""
  55609. #. type: item
  55610. #: guix-git/doc/guix.texi:38140
  55611. #, no-wrap
  55612. msgid "@code{nighttime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55613. msgstr ""
  55614. #. type: table
  55615. #: guix-git/doc/guix.texi:38142
  55616. msgid "Nighttime screen brightness, between 0.1 and 1.0."
  55617. msgstr ""
  55618. #. type: item
  55619. #: guix-git/doc/guix.texi:38143
  55620. #, no-wrap
  55621. msgid "@code{latitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55622. msgstr ""
  55623. #. type: table
  55624. #: guix-git/doc/guix.texi:38145
  55625. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  55626. msgstr ""
  55627. #. type: item
  55628. #: guix-git/doc/guix.texi:38146
  55629. #, no-wrap
  55630. msgid "@code{longitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55631. msgstr ""
  55632. #. type: table
  55633. #: guix-git/doc/guix.texi:38148
  55634. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  55635. msgstr ""
  55636. #. type: item
  55637. #: guix-git/doc/guix.texi:38149
  55638. #, no-wrap
  55639. msgid "@code{dawn-time} (default: @code{disabled}) (type: maybe-string)"
  55640. msgstr ""
  55641. #. type: table
  55642. #: guix-git/doc/guix.texi:38153
  55643. msgid "Custom time for the transition from night to day in the morning---@code{\"HH:MM\"} format. When specified, solar elevation is not used to determine the daytime/nighttime period."
  55644. msgstr ""
  55645. #. type: item
  55646. #: guix-git/doc/guix.texi:38154
  55647. #, no-wrap
  55648. msgid "@code{dusk-time} (default: @code{disabled}) (type: maybe-string)"
  55649. msgstr ""
  55650. #. type: table
  55651. #: guix-git/doc/guix.texi:38157
  55652. msgid "Likewise, custom time for the transition from day to night in the evening."
  55653. msgstr ""
  55654. #. type: item
  55655. #: guix-git/doc/guix.texi:38158
  55656. #, no-wrap
  55657. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  55658. msgstr ""
  55659. #. type: table
  55660. #: guix-git/doc/guix.texi:38162
  55661. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  55662. msgstr ""
  55663. #. type: section
  55664. #: guix-git/doc/guix.texi:38169
  55665. #, no-wrap
  55666. msgid "Invoking @code{guix home}"
  55667. msgstr ""
  55668. #. type: Plain text
  55669. #: guix-git/doc/guix.texi:38174
  55670. msgid "Once you have written a home environment declaration (@pxref{Declaring the Home Environment,,,,}, it can be @dfn{instantiated} using the @command{guix home} command. The synopsis is:"
  55671. msgstr ""
  55672. #. type: example
  55673. #: guix-git/doc/guix.texi:38177
  55674. #, no-wrap
  55675. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  55676. msgstr ""
  55677. #. type: Plain text
  55678. #: guix-git/doc/guix.texi:38184
  55679. msgid "@var{file} must be the name of a file containing a @code{home-environment} declaration. @var{action} specifies how the home environment is instantiated, but there are few auxiliary actions which don't instantiate it. Currently the following values are supported:"
  55680. msgstr ""
  55681. #. type: table
  55682. #: guix-git/doc/guix.texi:38189
  55683. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  55684. msgstr ""
  55685. #. type: cindex
  55686. #: guix-git/doc/guix.texi:38191
  55687. #, no-wrap
  55688. msgid "shell-profile"
  55689. msgstr ""
  55690. #. type: example
  55691. #: guix-git/doc/guix.texi:38202
  55692. #, no-wrap
  55693. msgid ""
  55694. "$ guix home search shell\n"
  55695. "name: home-shell-profile\n"
  55696. "location: gnu/home/services/shells.scm:100:2\n"
  55697. "extends: home-files\n"
  55698. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  55699. "+ This service type can be extended with a list of file-like objects.\n"
  55700. "relevance: 6\n"
  55701. "\n"
  55702. msgstr ""
  55703. #. type: example
  55704. #: guix-git/doc/guix.texi:38208
  55705. #, no-wrap
  55706. msgid ""
  55707. "name: home-fish\n"
  55708. "location: gnu/home/services/shells.scm:640:2\n"
  55709. "extends: home-files home-profile\n"
  55710. "description: Install and configure Fish, the friendly interactive shell.\n"
  55711. "relevance: 3\n"
  55712. "\n"
  55713. msgstr ""
  55714. #. type: example
  55715. #: guix-git/doc/guix.texi:38214
  55716. #, no-wrap
  55717. msgid ""
  55718. "name: home-zsh\n"
  55719. "location: gnu/home/services/shells.scm:290:2\n"
  55720. "extends: home-files home-profile\n"
  55721. "description: Install and configure Zsh.\n"
  55722. "relevance: 1\n"
  55723. "\n"
  55724. msgstr ""
  55725. #. type: example
  55726. #: guix-git/doc/guix.texi:38220
  55727. #, no-wrap
  55728. msgid ""
  55729. "name: home-bash\n"
  55730. "location: gnu/home/services/shells.scm:508:2\n"
  55731. "extends: home-files home-profile\n"
  55732. "description: Install and configure GNU Bash.\n"
  55733. "relevance: 1\n"
  55734. "\n"
  55735. msgstr ""
  55736. #. type: table
  55737. #: guix-git/doc/guix.texi:38227
  55738. msgid "As for @command{guix search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  55739. msgstr ""
  55740. #. type: table
  55741. #: guix-git/doc/guix.texi:38236
  55742. msgid "Build the home environment described in @var{file}, and switch to it. Switching means that the activation script will be evaluated and (in basic scenario) symlinks to configuration files generated from @code{home-environment} declaration will be created in @file{~}. If the file with the same path already exists in home folder it will be moved to @file{~/@var{timestamp}-guix-home-legacy-configs-backup}, where @var{timestamp} is a current UNIX epoch time."
  55743. msgstr ""
  55744. #. type: quotation
  55745. #: guix-git/doc/guix.texi:38241
  55746. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix home reconfigure} for the first time (@pxref{Invoking guix pull})."
  55747. msgstr ""
  55748. #. type: table
  55749. #: guix-git/doc/guix.texi:38248
  55750. msgid "This effects all the configuration specified in @var{file}. The command starts Shepherd services specified in @var{file} that are not currently running; if a service is currently running, this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop @var{service}} or @code{herd restart @var{service}})."
  55751. msgstr ""
  55752. #. type: table
  55753. #: guix-git/doc/guix.texi:38254
  55754. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix home list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  55755. msgstr ""
  55756. #. type: cindex
  55757. #: guix-git/doc/guix.texi:38255
  55758. #, no-wrap
  55759. msgid "provenance tracking, of the home environment"
  55760. msgstr ""
  55761. #. type: table
  55762. #: guix-git/doc/guix.texi:38260
  55763. msgid "Upon completion, the new home is deployed under @file{~/.guix-home}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view the provenance information by running:"
  55764. msgstr ""
  55765. #. type: example
  55766. #: guix-git/doc/guix.texi:38263
  55767. #, no-wrap
  55768. msgid "guix home describe\n"
  55769. msgstr ""
  55770. #. type: table
  55771. #: guix-git/doc/guix.texi:38269
  55772. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your home environment with:"
  55773. msgstr ""
  55774. #. type: example
  55775. #: guix-git/doc/guix.texi:38275
  55776. #, no-wrap
  55777. msgid ""
  55778. "guix time-machine \\\n"
  55779. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  55780. " home reconfigure \\\n"
  55781. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  55782. "\n"
  55783. msgstr ""
  55784. #. type: table
  55785. #: guix-git/doc/guix.texi:38282
  55786. msgid "You can think of it as some sort of built-in version control! Your home is not just a binary artifact: @emph{it carries its own source}."
  55787. msgstr ""
  55788. #. type: cindex
  55789. #: guix-git/doc/guix.texi:38288
  55790. #, no-wrap
  55791. msgid "home generations"
  55792. msgstr "pokolenia domovského priečinka"
  55793. #. type: table
  55794. #: guix-git/doc/guix.texi:38291
  55795. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  55796. msgstr ""
  55797. #. type: table
  55798. #: guix-git/doc/guix.texi:38295
  55799. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  55800. msgstr ""
  55801. #. type: example
  55802. #: guix-git/doc/guix.texi:38298
  55803. #, no-wrap
  55804. msgid "guix home switch-generation 7\n"
  55805. msgstr ""
  55806. #. type: example
  55807. #: guix-git/doc/guix.texi:38309
  55808. #, no-wrap
  55809. msgid "guix home switch-generation -- -1\n"
  55810. msgstr ""
  55811. #. type: table
  55812. #: guix-git/doc/guix.texi:38318
  55813. msgid "Switch to the preceding home generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  55814. msgstr ""
  55815. #. type: cindex
  55816. #: guix-git/doc/guix.texi:38320
  55817. #, no-wrap
  55818. msgid "deleting home generations"
  55819. msgstr ""
  55820. #. type: table
  55821. #: guix-git/doc/guix.texi:38325
  55822. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  55823. msgstr ""
  55824. #. type: table
  55825. #: guix-git/doc/guix.texi:38329
  55826. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all home generations but the current one are deleted:"
  55827. msgstr ""
  55828. #. type: example
  55829. #: guix-git/doc/guix.texi:38332
  55830. #, no-wrap
  55831. msgid "guix home delete-generations\n"
  55832. msgstr ""
  55833. #. type: table
  55834. #: guix-git/doc/guix.texi:38336
  55835. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  55836. msgstr ""
  55837. #. type: example
  55838. #: guix-git/doc/guix.texi:38339
  55839. #, no-wrap
  55840. msgid "guix home delete-generations 2m\n"
  55841. msgstr ""
  55842. #. type: table
  55843. #: guix-git/doc/guix.texi:38345
  55844. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  55845. msgstr ""
  55846. #. type: table
  55847. #: guix-git/doc/guix.texi:38349
  55848. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  55849. msgstr ""
  55850. #. type: table
  55851. #: guix-git/doc/guix.texi:38355
  55852. msgid "List a summary of each generation of the home environment available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  55853. msgstr ""
  55854. #. type: example
  55855. #: guix-git/doc/guix.texi:38363
  55856. #, no-wrap
  55857. msgid "$ guix home list-generations 10d\n"
  55858. msgstr ""
  55859. #. type: item
  55860. #: guix-git/doc/guix.texi:38365
  55861. #, no-wrap
  55862. msgid "import"
  55863. msgstr "načítať"
  55864. #. type: table
  55865. #: guix-git/doc/guix.texi:38372
  55866. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  55867. msgstr ""
  55868. #. type: example
  55869. #: guix-git/doc/guix.texi:38376
  55870. #, no-wrap
  55871. msgid ""
  55872. "$ guix home import ~/guix-config\n"
  55873. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  55874. msgstr ""
  55875. #. type: table
  55876. #: guix-git/doc/guix.texi:38391
  55877. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  55878. msgstr ""
  55879. #. type: table
  55880. #: guix-git/doc/guix.texi:38394
  55881. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  55882. msgstr ""
  55883. #. type: table
  55884. #: guix-git/doc/guix.texi:38401
  55885. msgid "Just like @command{guix system}, @command{guix home reconfigure}, by default, prevents you from downgrading your home to older or unrelated revisions compared to the channel revisions that were used to deploy it---those shown by @command{guix home describe}. Using @option{--allow-downgrades} allows you to bypass that check, at the risk of downgrading your home---be careful!"
  55886. msgstr ""
  55887. #. type: cindex
  55888. #: guix-git/doc/guix.texi:38407
  55889. #, no-wrap
  55890. msgid "documentation, searching for"
  55891. msgstr ""
  55892. #. type: cindex
  55893. #: guix-git/doc/guix.texi:38408
  55894. #, no-wrap
  55895. msgid "searching for documentation"
  55896. msgstr ""
  55897. #. type: cindex
  55898. #: guix-git/doc/guix.texi:38409
  55899. #, no-wrap
  55900. msgid "Info, documentation format"
  55901. msgstr ""
  55902. #. type: cindex
  55903. #: guix-git/doc/guix.texi:38410
  55904. #, no-wrap
  55905. msgid "man pages"
  55906. msgstr ""
  55907. #. type: cindex
  55908. #: guix-git/doc/guix.texi:38411
  55909. #, no-wrap
  55910. msgid "manual pages"
  55911. msgstr ""
  55912. #. type: Plain text
  55913. #: guix-git/doc/guix.texi:38418
  55914. msgid "In most cases packages installed with Guix come with documentation. There are two main documentation formats: ``Info'', a browsable hypertext format used for GNU software, and ``manual pages'' (or ``man pages''), the linear documentation format traditionally found on Unix. Info manuals are accessed with the @command{info} command or with Emacs, and man pages are accessed using @command{man}."
  55915. msgstr ""
  55916. #. type: Plain text
  55917. #: guix-git/doc/guix.texi:38422
  55918. msgid "You can look for documentation of software installed on your system by keyword. For example, the following command searches for information about ``TLS'' in Info manuals:"
  55919. msgstr ""
  55920. #. type: example
  55921. #: guix-git/doc/guix.texi:38430
  55922. #, no-wrap
  55923. msgid ""
  55924. "$ info -k TLS\n"
  55925. "\"(emacs)Network Security\" -- STARTTLS\n"
  55926. "\"(emacs)Network Security\" -- TLS\n"
  55927. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  55928. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  55929. "@dots{}\n"
  55930. msgstr ""
  55931. #. type: Plain text
  55932. #: guix-git/doc/guix.texi:38436
  55933. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  55934. msgstr ""
  55935. #. type: example
  55936. #: guix-git/doc/guix.texi:38442
  55937. #, no-wrap
  55938. msgid ""
  55939. "$ man -k TLS\n"
  55940. "SSL (7) - OpenSSL SSL/TLS library\n"
  55941. "certtool (1) - GnuTLS certificate tool\n"
  55942. "@dots {}\n"
  55943. msgstr ""
  55944. #. type: Plain text
  55945. #: guix-git/doc/guix.texi:38448
  55946. msgid "These searches are purely local to your computer so you have the guarantee that documentation you find corresponds to what you have actually installed, you can access it off-line, and your privacy is respected."
  55947. msgstr ""
  55948. #. type: Plain text
  55949. #: guix-git/doc/guix.texi:38451
  55950. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  55951. msgstr ""
  55952. #. type: example
  55953. #: guix-git/doc/guix.texi:38454
  55954. #, no-wrap
  55955. msgid "$ info \"(gnutls)Core TLS API\"\n"
  55956. msgstr ""
  55957. #. type: Plain text
  55958. #: guix-git/doc/guix.texi:38458
  55959. msgid "or:"
  55960. msgstr ""
  55961. #. type: example
  55962. #: guix-git/doc/guix.texi:38461
  55963. #, no-wrap
  55964. msgid "$ man certtool\n"
  55965. msgstr ""
  55966. #. type: Plain text
  55967. #: guix-git/doc/guix.texi:38469
  55968. msgid "Info manuals contain sections and indices as well as hyperlinks like those found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, for an introduction to Info navigation."
  55969. msgstr ""
  55970. #. type: cindex
  55971. #: guix-git/doc/guix.texi:38473
  55972. #, no-wrap
  55973. msgid "debugging files"
  55974. msgstr ""
  55975. #. type: Plain text
  55976. #: guix-git/doc/guix.texi:38479
  55977. msgid "Program binaries, as produced by the GCC compilers for instance, are typically written in the ELF format, with a section containing @dfn{debugging information}. Debugging information is what allows the debugger, GDB, to map binary code to source code; it is required to debug a compiled program in good conditions."
  55978. msgstr ""
  55979. #. type: Plain text
  55980. #: guix-git/doc/guix.texi:38483
  55981. msgid "This chapter explains how to use separate debug info when packages provide it, and how to rebuild packages with debug info when it's missing."
  55982. msgstr ""
  55983. #. type: Plain text
  55984. #: guix-git/doc/guix.texi:38499
  55985. msgid "The problem with debugging information is that is takes up a fair amount of disk space. For example, debugging information for the GNU C Library weighs in at more than 60 MiB@. Thus, as a user, keeping all the debugging info of all the installed programs is usually not an option. Yet, space savings should not come at the cost of an impediment to debugging---especially in the GNU system, which should make it easier for users to exert their computing freedom (@pxref{GNU Distribution})."
  55986. msgstr ""
  55987. #. type: Plain text
  55988. #: guix-git/doc/guix.texi:38506
  55989. msgid "Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism that allows users to get the best of both worlds: debugging information can be stripped from the binaries and stored in separate files. GDB is then able to load debugging information from those files, when they are available (@pxref{Separate Debug Files,,, gdb, Debugging with GDB})."
  55990. msgstr ""
  55991. #. type: Plain text
  55992. #: guix-git/doc/guix.texi:38514
  55993. msgid "The GNU distribution takes advantage of this by storing debugging information in the @code{lib/debug} sub-directory of a separate package output unimaginatively called @code{debug} (@pxref{Packages with Multiple Outputs}). Users can choose to install the @code{debug} output of a package when they need it. For instance, the following command installs the debugging information for the GNU C Library and for GNU Guile:"
  55994. msgstr ""
  55995. #. type: example
  55996. #: guix-git/doc/guix.texi:38517
  55997. #, no-wrap
  55998. msgid "guix install glibc:debug guile:debug\n"
  55999. msgstr ""
  56000. #. type: Plain text
  56001. #: guix-git/doc/guix.texi:38523
  56002. msgid "GDB must then be told to look for debug files in the user's profile, by setting the @code{debug-file-directory} variable (consider setting it from the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}):"
  56003. msgstr ""
  56004. #. type: example
  56005. #: guix-git/doc/guix.texi:38526
  56006. #, no-wrap
  56007. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  56008. msgstr ""
  56009. #. type: Plain text
  56010. #: guix-git/doc/guix.texi:38530
  56011. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  56012. msgstr ""
  56013. #. type: Plain text
  56014. #: guix-git/doc/guix.texi:38535
  56015. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  56016. msgstr ""
  56017. #. type: example
  56018. #: guix-git/doc/guix.texi:38543
  56019. #, no-wrap
  56020. msgid ""
  56021. "guile\n"
  56022. "(use-modules (gdb))\n"
  56023. "(execute (string-append \"set debug-file-directory \"\n"
  56024. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  56025. " \"~/.guix-profile/lib/debug\")))\n"
  56026. "end\n"
  56027. msgstr ""
  56028. #. type: Plain text
  56029. #: guix-git/doc/guix.texi:38551
  56030. msgid "In addition, you will most likely want GDB to be able to show the source code being debugged. To do that, you will have to unpack the source code of the package of interest (obtained with @code{guix build --source}, @pxref{Invoking guix build}), and to point GDB to that source directory using the @code{directory} command (@pxref{Source Path, @code{directory},, gdb, Debugging with GDB})."
  56031. msgstr ""
  56032. #. type: Plain text
  56033. #: guix-git/doc/guix.texi:38559
  56034. msgid "The @code{debug} output mechanism in Guix is implemented by the @code{gnu-build-system} (@pxref{Build Systems}). Currently, it is opt-in---debugging information is available only for the packages with definitions explicitly declaring a @code{debug} output. To check whether a package has a @code{debug} output, use @command{guix package --list-available} (@pxref{Invoking guix package})."
  56035. msgstr ""
  56036. #. type: Plain text
  56037. #: guix-git/doc/guix.texi:38561
  56038. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  56039. msgstr ""
  56040. #. type: Plain text
  56041. #: guix-git/doc/guix.texi:38573
  56042. msgid "As we saw above, some packages, but not all, provide debugging info in a @code{debug} output. What can you do when debugging info is missing? The @option{--with-debug-info} option provides a solution to that: it allows you to rebuild the package(s) for which debugging info is missing---and only those---and to graft those onto the application you're debugging. Thus, while it's not as fast as installing a @code{debug} output, it is relatively inexpensive."
  56043. msgstr ""
  56044. #. type: Plain text
  56045. #: guix-git/doc/guix.texi:38578
  56046. msgid "Let's illustrate that. Suppose you're experiencing a bug in Inkscape and would like to see what's going on in GLib, a library that's deep down in its dependency graph. As it turns out, GLib does not have a @code{debug} output and the backtrace GDB shows is all sadness:"
  56047. msgstr ""
  56048. #. type: example
  56049. #: guix-git/doc/guix.texi:38589
  56050. #, no-wrap
  56051. msgid ""
  56052. "(gdb) bt\n"
  56053. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  56054. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  56055. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  56056. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  56057. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  56058. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  56059. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  56060. " at dl-init.c:118\n"
  56061. msgstr ""
  56062. #. type: Plain text
  56063. #: guix-git/doc/guix.texi:38593
  56064. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  56065. msgstr ""
  56066. #. type: Plain text
  56067. #: guix-git/doc/guix.texi:38599
  56068. msgid "This time, debugging will be a whole lot nicer:"
  56069. msgstr ""
  56070. #. type: example
  56071. #: guix-git/doc/guix.texi:38617
  56072. #, no-wrap
  56073. msgid ""
  56074. "$ gdb --args sh -c 'exec inkscape'\n"
  56075. "@dots{}\n"
  56076. "(gdb) b g_getenv\n"
  56077. "Function \"g_getenv\" not defined.\n"
  56078. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  56079. "Breakpoint 1 (g_getenv) pending.\n"
  56080. "(gdb) r\n"
  56081. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  56082. "@dots{}\n"
  56083. "(gdb) bt\n"
  56084. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  56085. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  56086. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  56087. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  56088. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  56089. "@dots{}\n"
  56090. msgstr ""
  56091. #. type: Plain text
  56092. #: guix-git/doc/guix.texi:38620
  56093. msgid "Much better!"
  56094. msgstr ""
  56095. #. type: Plain text
  56096. #: guix-git/doc/guix.texi:38624
  56097. msgid "Note that there can be packages for which @option{--with-debug-info} will not have the desired effect. @xref{Package Transformation Options, @option{--with-debug-info}}, for more information."
  56098. msgstr ""
  56099. #. type: cindex
  56100. #: guix-git/doc/guix.texi:38628
  56101. #, no-wrap
  56102. msgid "security updates"
  56103. msgstr "bezpečnostné aktualizácie"
  56104. #. type: Plain text
  56105. #: guix-git/doc/guix.texi:38637
  56106. msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates). The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:"
  56107. msgstr ""
  56108. #. type: smallexample
  56109. #: guix-git/doc/guix.texi:38644
  56110. #, no-wrap
  56111. msgid ""
  56112. "$ guix lint -c cve\n"
  56113. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  56114. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  56115. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  56116. "@dots{}\n"
  56117. msgstr ""
  56118. #. type: Plain text
  56119. #: guix-git/doc/guix.texi:38647
  56120. msgid "@xref{Invoking guix lint}, for more information."
  56121. msgstr ""
  56122. #. type: Plain text
  56123. #: guix-git/doc/guix.texi:38656
  56124. msgid "Guix follows a functional package management discipline (@pxref{Introduction}), which implies that, when a package is changed, @emph{every package that depends on it} must be rebuilt. This can significantly slow down the deployment of fixes in core packages such as libc or Bash, since basically the whole distribution would need to be rebuilt. Using pre-built binaries helps (@pxref{Substitutes}), but deployment may still take more time than desired."
  56125. msgstr ""
  56126. #. type: cindex
  56127. #: guix-git/doc/guix.texi:38657
  56128. #, no-wrap
  56129. msgid "grafts"
  56130. msgstr ""
  56131. #. type: Plain text
  56132. #: guix-git/doc/guix.texi:38665
  56133. msgid "To address this, Guix implements @dfn{grafts}, a mechanism that allows for fast deployment of critical updates without the costs associated with a whole-distribution rebuild. The idea is to rebuild only the package that needs to be patched, and then to ``graft'' it onto packages explicitly installed by the user and that were previously referring to the original package. The cost of grafting is typically very low, and order of magnitudes lower than a full rebuild of the dependency chain."
  56134. msgstr ""
  56135. #. type: cindex
  56136. #: guix-git/doc/guix.texi:38666
  56137. #, no-wrap
  56138. msgid "replacements of packages, for grafts"
  56139. msgstr ""
  56140. #. type: Plain text
  56141. #: guix-git/doc/guix.texi:38672
  56142. msgid "For instance, suppose a security update needs to be applied to Bash. Guix developers will provide a package definition for the ``fixed'' Bash, say @code{bash-fixed}, in the usual way (@pxref{Defining Packages}). Then, the original package definition is augmented with a @code{replacement} field pointing to the package containing the bug fix:"
  56143. msgstr ""
  56144. #. type: lisp
  56145. #: guix-git/doc/guix.texi:38679
  56146. #, no-wrap
  56147. msgid ""
  56148. "(define bash\n"
  56149. " (package\n"
  56150. " (name \"bash\")\n"
  56151. " ;; @dots{}\n"
  56152. " (replacement bash-fixed)))\n"
  56153. msgstr ""
  56154. #. type: Plain text
  56155. #: guix-git/doc/guix.texi:38689
  56156. msgid "From there on, any package depending directly or indirectly on Bash---as reported by @command{guix gc --requisites} (@pxref{Invoking guix gc})---that is installed is automatically ``rewritten'' to refer to @code{bash-fixed} instead of @code{bash}. This grafting process takes time proportional to the size of the package, usually less than a minute for an ``average'' package on a recent machine. Grafting is recursive: when an indirect dependency requires grafting, then grafting ``propagates'' up to the package that the user is installing."
  56157. msgstr ""
  56158. #. type: Plain text
  56159. #: guix-git/doc/guix.texi:38697
  56160. msgid "Currently, the length of the name and version of the graft and that of the package it replaces (@code{bash-fixed} and @code{bash} in the example above) must be equal. This restriction mostly comes from the fact that grafting works by patching files, including binary files, directly. Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same @code{SONAME} and be binary-compatible."
  56161. msgstr ""
  56162. #. type: Plain text
  56163. #: guix-git/doc/guix.texi:38701
  56164. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  56165. msgstr ""
  56166. #. type: example
  56167. #: guix-git/doc/guix.texi:38704
  56168. #, no-wrap
  56169. msgid "guix build bash --no-grafts\n"
  56170. msgstr ""
  56171. #. type: Plain text
  56172. #: guix-git/doc/guix.texi:38708
  56173. msgid "returns the store file name of the original Bash, whereas:"
  56174. msgstr ""
  56175. #. type: example
  56176. #: guix-git/doc/guix.texi:38711
  56177. #, no-wrap
  56178. msgid "guix build bash\n"
  56179. msgstr ""
  56180. #. type: Plain text
  56181. #: guix-git/doc/guix.texi:38716
  56182. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  56183. msgstr ""
  56184. #. type: Plain text
  56185. #: guix-git/doc/guix.texi:38719
  56186. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  56187. msgstr ""
  56188. #. type: example
  56189. #: guix-git/doc/guix.texi:38722
  56190. #, no-wrap
  56191. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  56192. msgstr ""
  56193. #. type: Plain text
  56194. #: guix-git/doc/guix.texi:38727
  56195. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  56196. msgstr ""
  56197. #. type: example
  56198. #: guix-git/doc/guix.texi:38730
  56199. #, no-wrap
  56200. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  56201. msgstr ""
  56202. #. type: Plain text
  56203. #: guix-git/doc/guix.texi:38734
  56204. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  56205. msgstr ""
  56206. #. type: example
  56207. #: guix-git/doc/guix.texi:38737
  56208. #, no-wrap
  56209. msgid "lsof | grep /gnu/store/.*bash\n"
  56210. msgstr ""
  56211. #. type: cindex
  56212. #: guix-git/doc/guix.texi:38745
  56213. #, no-wrap
  56214. msgid "bootstrapping"
  56215. msgstr ""
  56216. #. type: Plain text
  56217. #: guix-git/doc/guix.texi:38752
  56218. msgid "Bootstrapping in our context refers to how the distribution gets built ``from nothing''. Remember that the build environment of a derivation contains nothing but its declared inputs (@pxref{Introduction}). So there's an obvious chicken-and-egg problem: how does the first package get built? How does the first compiler get compiled?"
  56219. msgstr ""
  56220. #. type: Plain text
  56221. #: guix-git/doc/guix.texi:38760
  56222. msgid "It is tempting to think of this question as one that only die-hard hackers may care about. However, while the answer to that question is technical in nature, its implications are wide-ranging. How the distribution is bootstrapped defines the extent to which we, as individuals and as a collective of users and hackers, can trust the software we run. It is a central concern from the standpoint of @emph{security} and from a @emph{user freedom} viewpoint."
  56223. msgstr ""
  56224. #. type: cindex
  56225. #: guix-git/doc/guix.texi:38761 guix-git/doc/guix.texi:38973
  56226. #, no-wrap
  56227. msgid "bootstrap binaries"
  56228. msgstr ""
  56229. #. type: Plain text
  56230. #: guix-git/doc/guix.texi:38771
  56231. msgid "The GNU system is primarily made of C code, with libc at its core. The GNU build system itself assumes the availability of a Bourne shell and command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep'. Furthermore, build programs---programs that run @code{./configure}, @code{make}, etc.---are written in Guile Scheme (@pxref{Derivations}). Consequently, to be able to build anything at all, from scratch, Guix relies on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages mentioned above---the @dfn{bootstrap binaries}."
  56232. msgstr ""
  56233. #. type: Plain text
  56234. #: guix-git/doc/guix.texi:38775
  56235. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  56236. msgstr ""
  56237. #. type: section
  56238. #: guix-git/doc/guix.texi:38782
  56239. #, no-wrap
  56240. msgid "The Reduced Binary Seed Bootstrap"
  56241. msgstr ""
  56242. #. type: Plain text
  56243. #: guix-git/doc/guix.texi:38789
  56244. msgid "Guix---like other GNU/Linux distributions---is traditionally bootstrapped from a set of bootstrap binaries: Bourne shell, command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep' and Guile, GCC, Binutils, and the GNU C Library (@pxref{Bootstrapping}). Usually, these bootstrap binaries are ``taken for granted.''"
  56245. msgstr ""
  56246. #. type: Plain text
  56247. #: guix-git/doc/guix.texi:38795
  56248. msgid "Taking the bootstrap binaries for granted means that we consider them to be a correct and trustworthy ``seed'' for building the complete system. Therein lies a problem: the combined size of these bootstrap binaries is about 250MB (@pxref{Bootstrappable Builds,,, mes, GNU Mes}). Auditing or even inspecting these is next to impossible."
  56249. msgstr ""
  56250. #. type: Plain text
  56251. #: guix-git/doc/guix.texi:38800
  56252. msgid "For @code{i686-linux} and @code{x86_64-linux}, Guix now features a ``Reduced Binary Seed'' bootstrap @footnote{We would like to say: ``Full Source Bootstrap'' and while we are working towards that goal it would be hyperbole to use that term for what we do now.}."
  56253. msgstr ""
  56254. #. type: Plain text
  56255. #: guix-git/doc/guix.texi:38806
  56256. msgid "The Reduced Binary Seed bootstrap removes the most critical tools---from a trust perspective---from the bootstrap binaries: GCC, Binutils and the GNU C Library are replaced by: @code{bootstrap-mescc-tools} (a tiny assembler and linker) and @code{bootstrap-mes} (a small Scheme Interpreter and a C compiler written in Scheme and the Mes C Library, built for TinyCC and for GCC)."
  56257. msgstr ""
  56258. #. type: Plain text
  56259. #: guix-git/doc/guix.texi:38811
  56260. msgid "Using these new binary seeds the ``missing'' Binutils, GCC, and the GNU C Library are built from source. From here on the more traditional bootstrap process resumes. This approach has reduced the bootstrap binaries in size to about 145MB in Guix v1.1."
  56261. msgstr ""
  56262. #. type: Plain text
  56263. #: guix-git/doc/guix.texi:38819
  56264. msgid "The next step that Guix has taken is to replace the shell and all its utilities with implementations in Guile Scheme, the @emph{Scheme-only bootstrap}. Gash (@pxref{Gash,,, gash, The Gash manual}) is a POSIX-compatible shell that replaces Bash, and it comes with Gash Utils which has minimalist replacements for Awk, the GNU Core Utilities, Grep, Gzip, Sed, and Tar. The rest of the bootstrap binary seeds that were removed are now built from source."
  56265. msgstr ""
  56266. #. type: Plain text
  56267. #: guix-git/doc/guix.texi:38829
  56268. msgid "Building the GNU System from source is currently only possible by adding some historical GNU packages as intermediate steps@footnote{Packages such as @code{gcc-2.95.3}, @code{binutils-2.14}, @code{glibc-2.2.5}, @code{gzip-1.2.4}, @code{tar-1.22}, and some others. For details, see @file{gnu/packages/commencement.scm}.}. As Gash and Gash Utils mature, and GNU packages become more bootstrappable again (e.g., new releases of GNU Sed will also ship as gzipped tarballs again, as alternative to the hard to bootstrap @code{xz}-compression), this set of added packages can hopefully be reduced again."
  56269. msgstr ""
  56270. #. type: Plain text
  56271. #: guix-git/doc/guix.texi:38833
  56272. msgid "The graph below shows the resulting dependency graph for @code{gcc-core-mesboot0}, the bootstrap compiler used for the traditional bootstrap of the rest of the Guix System."
  56273. msgstr ""
  56274. #. type: Plain text
  56275. #: guix-git/doc/guix.texi:38836
  56276. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  56277. msgstr ""
  56278. #. type: Plain text
  56279. #: guix-git/doc/guix.texi:38843
  56280. msgid "The only significant binary bootstrap seeds that remain@footnote{ Ignoring the 68KB @code{mescc-tools}; that will be removed later, together with @code{mes}.} are a Scheme interpreter and a Scheme compiler: GNU Mes and GNU Guile@footnote{Not shown in this graph are the static binaries for @file{bash}, @code{tar}, and @code{xz} that are used to get Guile running.}."
  56281. msgstr ""
  56282. #. type: Plain text
  56283. #: guix-git/doc/guix.texi:38846
  56284. msgid "This further reduction has brought down the size of the binary seed to about 60MB for @code{i686-linux} and @code{x86_64-linux}."
  56285. msgstr ""
  56286. #. type: Plain text
  56287. #: guix-git/doc/guix.texi:38851
  56288. msgid "Work is ongoing to remove all binary blobs from our free software bootstrap stack, working towards a Full Source Bootstrap. Also ongoing is work to bring these bootstraps to the @code{arm-linux} and @code{aarch64-linux} architectures and to the Hurd."
  56289. msgstr ""
  56290. #. type: Plain text
  56291. #: guix-git/doc/guix.texi:38855
  56292. msgid "If you are interested, join us on @samp{#bootstrappable} on the Freenode IRC network or discuss on @email{bug-mes@@gnu.org} or @email{gash-devel@@nongnu.org}."
  56293. msgstr ""
  56294. #. type: Plain text
  56295. #: guix-git/doc/guix.texi:38862
  56296. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  56297. msgstr ""
  56298. #. type: Plain text
  56299. #: guix-git/doc/guix.texi:38867
  56300. msgid "The figure above shows the very beginning of the dependency graph of the distribution, corresponding to the package definitions of the @code{(gnu packages bootstrap)} module. A similar figure can be generated with @command{guix graph} (@pxref{Invoking guix graph}), along the lines of:"
  56301. msgstr ""
  56302. #. type: example
  56303. #: guix-git/doc/guix.texi:38872
  56304. #, no-wrap
  56305. msgid ""
  56306. "guix graph -t derivation \\\n"
  56307. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  56308. " | dot -Tps > gcc.ps\n"
  56309. msgstr ""
  56310. #. type: Plain text
  56311. #: guix-git/doc/guix.texi:38875
  56312. msgid "or, for the further Reduced Binary Seed bootstrap"
  56313. msgstr ""
  56314. #. type: example
  56315. #: guix-git/doc/guix.texi:38880
  56316. #, no-wrap
  56317. msgid ""
  56318. "guix graph -t derivation \\\n"
  56319. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  56320. " | dot -Tps > mes.ps\n"
  56321. msgstr ""
  56322. #. type: Plain text
  56323. #: guix-git/doc/guix.texi:38889
  56324. msgid "At this level of detail, things are slightly complex. First, Guile itself consists of an ELF executable, along with many source and compiled Scheme files that are dynamically loaded when it runs. This gets stored in the @file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part of Guix's ``source'' distribution, and gets inserted into the store with @code{add-to-store} (@pxref{The Store})."
  56325. msgstr ""
  56326. #. type: Plain text
  56327. #: guix-git/doc/guix.texi:38898
  56328. msgid "But how do we write a derivation that unpacks this tarball and adds it to the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} derivation---the first one that gets built---uses @code{bash} as its builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls @code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, and @file{mkdir} are statically-linked binaries, also part of the Guix source distribution, whose sole purpose is to allow the Guile tarball to be unpacked."
  56329. msgstr ""
  56330. #. type: Plain text
  56331. #: guix-git/doc/guix.texi:38910
  56332. msgid "Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile that can be used to run subsequent build programs. Its first task is to download tarballs containing the other pre-built binaries---this is what the @file{.tar.xz.drv} derivations do. Guix modules such as @code{ftp-client.scm} are used for this purpose. The @code{module-import.drv} derivations import those modules in a directory in the store, using the original layout. The @code{module-import-compiled.drv} derivations compile those modules, and write them in an output directory with the right layout. This corresponds to the @code{#:modules} argument of @code{build-expression->derivation} (@pxref{Derivations})."
  56333. msgstr ""
  56334. #. type: Plain text
  56335. #: guix-git/doc/guix.texi:38915
  56336. msgid "Finally, the various tarballs are unpacked by the derivations @code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, or @code{bootstrap-mes-0.drv} and @code{bootstrap-mescc-tools-0.drv}, at which point we have a working C tool chain."
  56337. msgstr ""
  56338. #. type: unnumberedsec
  56339. #: guix-git/doc/guix.texi:38916
  56340. #, no-wrap
  56341. msgid "Building the Build Tools"
  56342. msgstr ""
  56343. #. type: Plain text
  56344. #: guix-git/doc/guix.texi:38925
  56345. msgid "Bootstrapping is complete when we have a full tool chain that does not depend on the pre-built bootstrap tools discussed above. This no-dependency requirement is verified by checking whether the files of the final tool chain contain references to the @file{/gnu/store} directories of the bootstrap inputs. The process that leads to this ``final'' tool chain is described by the package definitions found in the @code{(gnu packages commencement)} module."
  56346. msgstr ""
  56347. #. type: Plain text
  56348. #: guix-git/doc/guix.texi:38932
  56349. msgid "The @command{guix graph} command allows us to ``zoom out'' compared to the graph above, by looking at the level of package objects instead of individual derivations---remember that a package may translate to several derivations, typically one derivation to download its source, one to build the Guile modules it needs, and one to actually build the package from source. The command:"
  56350. msgstr ""
  56351. #. type: example
  56352. #: guix-git/doc/guix.texi:38937
  56353. #, no-wrap
  56354. msgid ""
  56355. "guix graph -t bag \\\n"
  56356. " -e '(@@@@ (gnu packages commencement)\n"
  56357. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  56358. msgstr ""
  56359. #. type: Plain text
  56360. #: guix-git/doc/guix.texi:38944
  56361. msgid "displays the dependency graph leading to the ``final'' C library@footnote{You may notice the @code{glibc-intermediate} label, suggesting that it is not @emph{quite} final, but as a good approximation, we will consider it final.}, depicted below."
  56362. msgstr ""
  56363. #. type: Plain text
  56364. #: guix-git/doc/guix.texi:38946
  56365. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  56366. msgstr ""
  56367. #. type: Plain text
  56368. #: guix-git/doc/guix.texi:38952
  56369. msgid "The first tool that gets built with the bootstrap binaries is GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for all the following packages. From there Findutils and Diffutils get built."
  56370. msgstr ""
  56371. #. type: Plain text
  56372. #: guix-git/doc/guix.texi:38957
  56373. msgid "Then come the first-stage Binutils and GCC, built as pseudo cross tools---i.e., with @option{--target} equal to @option{--host}. They are used to build libc. Thanks to this cross-build trick, this libc is guaranteed not to hold any reference to the initial tool chain."
  56374. msgstr ""
  56375. #. type: Plain text
  56376. #: guix-git/doc/guix.texi:38963
  56377. msgid "From there the final Binutils and GCC (not shown above) are built. GCC uses @command{ld} from the final Binutils, and links programs against the just-built libc. This tool chain is used to build the other packages used by Guix and by the GNU Build System: Guile, Bash, Coreutils, etc."
  56378. msgstr ""
  56379. #. type: Plain text
  56380. #: guix-git/doc/guix.texi:38969
  56381. msgid "And voilà! At this point we have the complete set of build tools that the GNU Build System expects. These are in the @code{%final-inputs} variable of the @code{(gnu packages commencement)} module, and are implicitly used by any package that uses @code{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  56382. msgstr ""
  56383. #. type: unnumberedsec
  56384. #: guix-git/doc/guix.texi:38971
  56385. #, no-wrap
  56386. msgid "Building the Bootstrap Binaries"
  56387. msgstr ""
  56388. #. type: Plain text
  56389. #: guix-git/doc/guix.texi:38978
  56390. msgid "Because the final tool chain does not depend on the bootstrap binaries, those rarely need to be updated. Nevertheless, it is useful to have an automated way to produce them, should an update occur, and this is what the @code{(gnu packages make-bootstrap)} module provides."
  56391. msgstr ""
  56392. #. type: Plain text
  56393. #: guix-git/doc/guix.texi:38984
  56394. msgid "The following command builds the tarballs containing the bootstrap binaries (Binutils, GCC, glibc, for the traditional bootstrap and linux-libre-headers, bootstrap-mescc-tools, bootstrap-mes for the Reduced Binary Seed bootstrap, and Guile, and a tarball containing a mixture of Coreutils and other basic command-line tools):"
  56395. msgstr ""
  56396. #. type: example
  56397. #: guix-git/doc/guix.texi:38987
  56398. #, no-wrap
  56399. msgid "guix build bootstrap-tarballs\n"
  56400. msgstr ""
  56401. #. type: Plain text
  56402. #: guix-git/doc/guix.texi:38992
  56403. msgid "The generated tarballs are those that should be referred to in the @code{(gnu packages bootstrap)} module mentioned at the beginning of this section."
  56404. msgstr ""
  56405. #. type: Plain text
  56406. #: guix-git/doc/guix.texi:38998
  56407. msgid "Still here? Then perhaps by now you've started to wonder: when do we reach a fixed point? That is an interesting question! The answer is unknown, but if you would like to investigate further (and have significant computational and storage resources to do so), then let us know."
  56408. msgstr ""
  56409. #. type: unnumberedsec
  56410. #: guix-git/doc/guix.texi:38999
  56411. #, no-wrap
  56412. msgid "Reducing the Set of Bootstrap Binaries"
  56413. msgstr ""
  56414. #. type: Plain text
  56415. #: guix-git/doc/guix.texi:39007
  56416. msgid "Our traditional bootstrap includes GCC, GNU Libc, Guile, etc. That's a lot of binary code! Why is that a problem? It's a problem because these big chunks of binary code are practically non-auditable, which makes it hard to establish what source code produced them. Every unauditable binary also leaves us vulnerable to compiler backdoors as described by Ken Thompson in the 1984 paper @emph{Reflections on Trusting Trust}."
  56417. msgstr ""
  56418. #. type: Plain text
  56419. #: guix-git/doc/guix.texi:39013
  56420. msgid "This is mitigated by the fact that our bootstrap binaries were generated from an earlier Guix revision. Nevertheless it lacks the level of transparency that we get in the rest of the package dependency graph, where Guix always gives us a source-to-binary mapping. Thus, our goal is to reduce the set of bootstrap binaries to the bare minimum."
  56421. msgstr ""
  56422. #. type: Plain text
  56423. #: guix-git/doc/guix.texi:39019
  56424. msgid "The @uref{https://bootstrappable.org, Bootstrappable.org web site} lists on-going projects to do that. One of these is about replacing the bootstrap GCC with a sequence of assemblers, interpreters, and compilers of increasing complexity, which could be built from source starting from a simple and auditable assembler."
  56425. msgstr ""
  56426. #. type: Plain text
  56427. #: guix-git/doc/guix.texi:39028
  56428. msgid "Our first major achievement is the replacement of of GCC, the GNU C Library and Binutils by MesCC-Tools (a simple hex linker and macro assembler) and Mes (@pxref{Top, GNU Mes Reference Manual,, mes, GNU Mes}, a Scheme interpreter and C compiler in Scheme). Neither MesCC-Tools nor Mes can be fully bootstrapped yet and thus we inject them as binary seeds. We call this the Reduced Binary Seed bootstrap, as it has halved the size of our bootstrap binaries! Also, it has eliminated the C compiler binary; i686-linux and x86_64-linux Guix packages are now bootstrapped without any binary C compiler."
  56429. msgstr ""
  56430. #. type: Plain text
  56431. #: guix-git/doc/guix.texi:39031
  56432. msgid "Work is ongoing to make MesCC-Tools and Mes fully bootstrappable and we are also looking at any other bootstrap binaries. Your help is welcome!"
  56433. msgstr ""
  56434. #. type: chapter
  56435. #: guix-git/doc/guix.texi:39033
  56436. #, no-wrap
  56437. msgid "Porting to a New Platform"
  56438. msgstr ""
  56439. #. type: Plain text
  56440. #: guix-git/doc/guix.texi:39042
  56441. msgid "As discussed above, the GNU distribution is self-contained, and self-containment is achieved by relying on pre-built ``bootstrap binaries'' (@pxref{Bootstrapping}). These binaries are specific to an operating system kernel, CPU architecture, and application binary interface (ABI). Thus, to port the distribution to a platform that is not yet supported, one must build those bootstrap binaries, and update the @code{(gnu packages bootstrap)} module to use them on that platform."
  56442. msgstr ""
  56443. #. type: Plain text
  56444. #: guix-git/doc/guix.texi:39047
  56445. msgid "Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When everything goes well, and assuming the GNU tool chain supports the target platform, this can be as simple as running a command like this one:"
  56446. msgstr ""
  56447. #. type: example
  56448. #: guix-git/doc/guix.texi:39050
  56449. #, no-wrap
  56450. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  56451. msgstr ""
  56452. #. type: Plain text
  56453. #: guix-git/doc/guix.texi:39057
  56454. msgid "For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu packages bootstrap)} must be augmented to return the right file name for libc's dynamic linker on that platform; likewise, @code{system->linux-architecture} in @code{(gnu packages linux)} must be taught about the new platform."
  56455. msgstr ""
  56456. #. type: Plain text
  56457. #: guix-git/doc/guix.texi:39066
  56458. msgid "Once these are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well."
  56459. msgstr ""
  56460. #. type: Plain text
  56461. #: guix-git/doc/guix.texi:39075
  56462. msgid "In practice, there may be some complications. First, it may be that the extended GNU triplet that specifies an ABI (like the @code{eabi} suffix above) is not recognized by all the GNU tools. Typically, glibc recognizes some of these, whereas GCC uses an extra @option{--with-abi} configure flag (see @code{gcc.scm} for examples of how to handle this). Second, some of the required packages could fail to build for that platform. Lastly, the generated binaries could be broken for some reason."
  56463. msgstr ""
  56464. #. type: include
  56465. #: guix-git/doc/guix.texi:39077
  56466. #, no-wrap
  56467. msgid "contributing.texi"
  56468. msgstr "contributing.sk.texi"
  56469. #. type: Plain text
  56470. #: guix-git/doc/guix.texi:39090
  56471. msgid "Guix is based on the @uref{https://nixos.org/nix/, Nix package manager}, which was designed and implemented by Eelco Dolstra, with contributions from other people (see the @file{nix/AUTHORS} file in Guix). Nix pioneered functional package management, and promoted unprecedented features, such as transactional package upgrades and rollbacks, per-user profiles, and referentially transparent build processes. Without this work, Guix would not exist."
  56472. msgstr ""
  56473. #. type: Plain text
  56474. #: guix-git/doc/guix.texi:39093
  56475. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  56476. msgstr ""
  56477. #. type: Plain text
  56478. #: guix-git/doc/guix.texi:39099
  56479. msgid "GNU@tie{}Guix itself is a collective work with contributions from a number of people. See the @file{AUTHORS} file in Guix for more information on these fine people. The @file{THANKS} file lists people who have helped by reporting bugs, taking care of the infrastructure, providing artwork and themes, making suggestions, and more---thank you!"
  56480. msgstr ""
  56481. #. type: cindex
  56482. #: guix-git/doc/guix.texi:39104
  56483. #, no-wrap
  56484. msgid "license, GNU Free Documentation License"
  56485. msgstr ""
  56486. #. type: include
  56487. #: guix-git/doc/guix.texi:39105
  56488. #, no-wrap
  56489. msgid "fdl-1.3.texi"
  56490. msgstr ""
  56491. #~ msgid "Using Debbugs."
  56492. #~ msgstr "Používanie Debbugs."