guix-manual.sk.po 2.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715
  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.
  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: 2021-10-14 15:18+0000\n"
  11. "PO-Revision-Date: 2021-08-25 21:37+0000\n"
  12. "Last-Translator: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>\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.8\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:179
  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:161
  63. #: guix-git/doc/contributing.texi:162
  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:235
  73. #: guix-git/doc/contributing.texi:236
  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:326
  83. #: guix-git/doc/contributing.texi:327
  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:890
  93. #: guix-git/doc/contributing.texi:891
  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:989
  103. #: guix-git/doc/contributing.texi:990
  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:1267
  113. #: guix-git/doc/contributing.texi:1268
  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:1382
  123. #: guix-git/doc/contributing.texi:1383
  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:1608
  133. #: guix-git/doc/contributing.texi:1609
  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:1649
  143. #: guix-git/doc/contributing.texi:1650
  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 environment guix --pure\n"
  196. msgstr "guix environment guix --pure\n"
  197. #. type: Plain text
  198. #: guix-git/doc/contributing.texi:80
  199. msgid "@xref{Invoking guix environment}, for more information on that command."
  200. msgstr "@xref{Invoking guix environment}, 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 environment} with @option{--ad-hoc}:"
  238. msgstr "S Guixom môžete pridať dodatočné závislosti pomocou príkazu @command{guix environment} s prepínačom @option{--ad-hoc}:"
  239. #. type: example
  240. #: guix-git/doc/contributing.texi:99
  241. #, no-wrap
  242. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  243. msgstr "guix environment guix --pure --ad-hoc help2man git strace\n"
  244. #. type: Plain text
  245. #: guix-git/doc/contributing.texi:103
  246. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  247. msgstr "Spustite @command{./bootstrap} pre vytvorenie kostry zostavovacieho systému pomocou nástrojov Autoconf a Automake. V prípade chyby ako je táto:"
  248. #. type: example
  249. #: guix-git/doc/contributing.texi:106
  250. #, no-wrap
  251. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  252. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  253. #. type: Plain text
  254. #: guix-git/doc/contributing.texi:115
  255. 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:"
  256. msgstr ""
  257. #. type: example
  258. #: guix-git/doc/contributing.texi:118
  259. #, no-wrap
  260. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  261. msgstr ""
  262. #. type: Plain text
  263. #: guix-git/doc/contributing.texi:122
  264. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  265. msgstr ""
  266. #. type: Plain text
  267. #: guix-git/doc/contributing.texi:129
  268. msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this), usually @file{/var}. 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}."
  269. msgstr ""
  270. #. type: Plain text
  271. #: guix-git/doc/contributing.texi:134
  272. msgid "Finally, you have to invoke @code{make && make check} to build Guix and run the tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  273. msgstr ""
  274. #. type: Plain text
  275. #: guix-git/doc/contributing.texi:137
  276. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  277. msgstr ""
  278. #. type: example
  279. #: guix-git/doc/contributing.texi:140
  280. #, no-wrap
  281. msgid "make authenticate\n"
  282. msgstr ""
  283. #. type: Plain text
  284. #: guix-git/doc/contributing.texi:143
  285. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  286. msgstr ""
  287. #. type: Plain text
  288. #: guix-git/doc/contributing.texi:149
  289. 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:"
  290. msgstr ""
  291. #. type: example
  292. #: guix-git/doc/contributing.texi:152
  293. #, no-wrap
  294. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  295. msgstr ""
  296. #. type: quotation
  297. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1460
  298. #: guix-git/doc/guix.texi:580 guix-git/doc/guix.texi:629
  299. #: guix-git/doc/guix.texi:819 guix-git/doc/guix.texi:1798
  300. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2229
  301. #: guix-git/doc/guix.texi:2450 guix-git/doc/guix.texi:2652
  302. #: guix-git/doc/guix.texi:3769 guix-git/doc/guix.texi:4510
  303. #: guix-git/doc/guix.texi:4524 guix-git/doc/guix.texi:4606
  304. #: guix-git/doc/guix.texi:4836 guix-git/doc/guix.texi:5686
  305. #: guix-git/doc/guix.texi:5932 guix-git/doc/guix.texi:6053
  306. #: guix-git/doc/guix.texi:6081 guix-git/doc/guix.texi:6134
  307. #: guix-git/doc/guix.texi:8839 guix-git/doc/guix.texi:8909
  308. #: guix-git/doc/guix.texi:10584 guix-git/doc/guix.texi:10624
  309. #: guix-git/doc/guix.texi:10898 guix-git/doc/guix.texi:10910
  310. #: guix-git/doc/guix.texi:13260 guix-git/doc/guix.texi:13890
  311. #: guix-git/doc/guix.texi:14703 guix-git/doc/guix.texi:15688
  312. #: guix-git/doc/guix.texi:18109 guix-git/doc/guix.texi:18266
  313. #: guix-git/doc/guix.texi:26131 guix-git/doc/guix.texi:29808
  314. #: guix-git/doc/guix.texi:31909 guix-git/doc/guix.texi:33541
  315. #: guix-git/doc/guix.texi:33775 guix-git/doc/guix.texi:33945
  316. #: guix-git/doc/guix.texi:34098 guix-git/doc/guix.texi:34200
  317. #: guix-git/doc/guix.texi:34301 guix-git/doc/guix.texi:34604
  318. #: guix-git/doc/guix.texi:35382 guix-git/doc/guix.texi:35443
  319. #: guix-git/doc/guix.texi:35510 guix-git/doc/guix.texi:35597
  320. #: guix-git/doc/guix.texi:35964
  321. #, no-wrap
  322. msgid "Note"
  323. msgstr ""
  324. #. type: quotation
  325. #: guix-git/doc/contributing.texi:158
  326. 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."
  327. msgstr ""
  328. #. type: Plain text
  329. #: guix-git/doc/contributing.texi:168
  330. 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."
  331. msgstr ""
  332. #. type: Plain text
  333. #: guix-git/doc/contributing.texi:179
  334. 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):"
  335. msgstr ""
  336. #. type: example
  337. #: guix-git/doc/contributing.texi:182
  338. #, no-wrap
  339. msgid "$ ./pre-inst-env guix build hello\n"
  340. msgstr ""
  341. #. type: Plain text
  342. #: guix-git/doc/contributing.texi:186
  343. msgid "Similarly, an example for a Guile session using the Guix modules:"
  344. msgstr ""
  345. #. type: example
  346. #: guix-git/doc/contributing.texi:189
  347. #, no-wrap
  348. msgid ""
  349. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  350. "\n"
  351. msgstr ""
  352. #. type: example
  353. #: guix-git/doc/contributing.texi:191
  354. #, no-wrap
  355. msgid ";;; (\"x86_64-linux\")\n"
  356. msgstr ""
  357. #. type: cindex
  358. #: guix-git/doc/contributing.texi:194
  359. #, no-wrap
  360. msgid "REPL"
  361. msgstr ""
  362. #. type: cindex
  363. #: guix-git/doc/contributing.texi:195
  364. #, no-wrap
  365. msgid "read-eval-print loop"
  366. msgstr ""
  367. #. type: Plain text
  368. #: guix-git/doc/contributing.texi:198
  369. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  370. msgstr ""
  371. #. type: example
  372. #: guix-git/doc/contributing.texi:213
  373. #, no-wrap
  374. msgid ""
  375. "$ ./pre-inst-env guile\n"
  376. "scheme@@(guile-user)> ,use(guix)\n"
  377. "scheme@@(guile-user)> ,use(gnu)\n"
  378. "scheme@@(guile-user)> (define snakes\n"
  379. " (fold-packages\n"
  380. " (lambda (package lst)\n"
  381. " (if (string-prefix? \"python\"\n"
  382. " (package-name package))\n"
  383. " (cons package lst)\n"
  384. " lst))\n"
  385. " '()))\n"
  386. "scheme@@(guile-user)> (length snakes)\n"
  387. "$1 = 361\n"
  388. msgstr ""
  389. #. type: Plain text
  390. #: guix-git/doc/contributing.texi:221
  391. 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.}:"
  392. msgstr ""
  393. #. type: example
  394. #: guix-git/doc/contributing.texi:224
  395. #, no-wrap
  396. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  397. msgstr ""
  398. #. type: Plain text
  399. #: guix-git/doc/contributing.texi:228
  400. 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}."
  401. msgstr ""
  402. #. type: Plain text
  403. #: guix-git/doc/contributing.texi:233
  404. 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."
  405. msgstr ""
  406. #. type: Plain text
  407. #: guix-git/doc/contributing.texi:243
  408. 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:"
  409. msgstr ""
  410. #. type: example
  411. #: guix-git/doc/contributing.texi:246
  412. #, no-wrap
  413. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  414. msgstr ""
  415. #. type: Plain text
  416. #: guix-git/doc/contributing.texi:255
  417. 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:"
  418. msgstr ""
  419. #. type: lisp
  420. #: guix-git/doc/contributing.texi:260
  421. #, no-wrap
  422. msgid ""
  423. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  424. "(with-eval-after-load 'geiser-guile\n"
  425. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  426. msgstr ""
  427. #. type: Plain text
  428. #: guix-git/doc/contributing.texi:268
  429. 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."
  430. msgstr ""
  431. #. type: cindex
  432. #: guix-git/doc/contributing.texi:269
  433. #, no-wrap
  434. msgid "code snippets"
  435. msgstr ""
  436. #. type: cindex
  437. #: guix-git/doc/contributing.texi:270
  438. #, no-wrap
  439. msgid "templates"
  440. msgstr ""
  441. #. type: cindex
  442. #: guix-git/doc/contributing.texi:271
  443. #, no-wrap
  444. msgid "reducing boilerplate"
  445. msgstr ""
  446. #. type: Plain text
  447. #: guix-git/doc/contributing.texi:278
  448. 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."
  449. msgstr ""
  450. #. type: lisp
  451. #: guix-git/doc/contributing.texi:283
  452. #, no-wrap
  453. msgid ""
  454. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  455. "(with-eval-after-load 'yasnippet\n"
  456. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  457. msgstr ""
  458. #. type: Plain text
  459. #: guix-git/doc/contributing.texi:291
  460. 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."
  461. msgstr ""
  462. #. type: Plain text
  463. #: guix-git/doc/contributing.texi:297
  464. 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."
  465. msgstr ""
  466. #. type: cindex
  467. #: guix-git/doc/contributing.texi:298
  468. #, no-wrap
  469. msgid "insert or update copyright"
  470. msgstr ""
  471. #. type: code{#1}
  472. #: guix-git/doc/contributing.texi:299
  473. #, no-wrap
  474. msgid "M-x guix-copyright"
  475. msgstr ""
  476. #. type: code{#1}
  477. #: guix-git/doc/contributing.texi:300
  478. #, no-wrap
  479. msgid "M-x copyright-update"
  480. msgstr ""
  481. #. type: Plain text
  482. #: guix-git/doc/contributing.texi:304
  483. 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."
  484. msgstr ""
  485. #. type: lisp
  486. #: guix-git/doc/contributing.texi:310
  487. #, no-wrap
  488. msgid ""
  489. "(setq user-full-name \"Alice Doe\")\n"
  490. "(setq user-mail-address \"alice@@mail.org\")\n"
  491. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  492. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  493. msgstr ""
  494. #. type: Plain text
  495. #: guix-git/doc/contributing.texi:313
  496. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  497. msgstr ""
  498. #. type: Plain text
  499. #: guix-git/doc/contributing.texi:315
  500. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  501. msgstr ""
  502. #. type: lisp
  503. #: guix-git/doc/contributing.texi:319
  504. #, no-wrap
  505. msgid ""
  506. "(setq copyright-names-regexp\n"
  507. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  508. msgstr ""
  509. #. type: Plain text
  510. #: guix-git/doc/contributing.texi:325
  511. 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."
  512. msgstr ""
  513. #. type: cindex
  514. #: guix-git/doc/contributing.texi:329
  515. #, no-wrap
  516. msgid "packages, creating"
  517. msgstr ""
  518. #. type: Plain text
  519. #: guix-git/doc/contributing.texi:333
  520. 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."
  521. msgstr ""
  522. #. type: Plain text
  523. #: guix-git/doc/contributing.texi:341
  524. 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."
  525. msgstr ""
  526. #. type: Plain text
  527. #: guix-git/doc/contributing.texi:350
  528. 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}."
  529. msgstr ""
  530. #. type: Plain text
  531. #: guix-git/doc/contributing.texi:356
  532. 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}):"
  533. msgstr ""
  534. #. type: example
  535. #: guix-git/doc/contributing.texi:359
  536. #, no-wrap
  537. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  538. msgstr ""
  539. #. type: Plain text
  540. #: guix-git/doc/contributing.texi:365
  541. 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."
  542. msgstr ""
  543. #. type: Plain text
  544. #: guix-git/doc/contributing.texi:370
  545. 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:"
  546. msgstr ""
  547. #. type: example
  548. #: guix-git/doc/contributing.texi:373
  549. #, no-wrap
  550. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  551. msgstr ""
  552. #. type: Plain text
  553. #: guix-git/doc/contributing.texi:380
  554. 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}."
  555. msgstr ""
  556. #. type: cindex
  557. #: guix-git/doc/contributing.texi:381
  558. #, no-wrap
  559. msgid "substituter"
  560. msgstr ""
  561. #. type: Plain text
  562. #: guix-git/doc/contributing.texi:388
  563. 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."
  564. msgstr ""
  565. #. type: subsection
  566. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  567. #: guix-git/doc/contributing.texi:405
  568. #, no-wrap
  569. msgid "Software Freedom"
  570. msgstr ""
  571. #. type: menuentry
  572. #: guix-git/doc/contributing.texi:402
  573. msgid "What may go into the distribution."
  574. msgstr ""
  575. #. type: subsection
  576. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  577. #: guix-git/doc/contributing.texi:433
  578. #, no-wrap
  579. msgid "Package Naming"
  580. msgstr ""
  581. #. type: menuentry
  582. #: guix-git/doc/contributing.texi:402
  583. msgid "What's in a name?"
  584. msgstr ""
  585. #. type: subsection
  586. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  587. #: guix-git/doc/contributing.texi:466
  588. #, no-wrap
  589. msgid "Version Numbers"
  590. msgstr ""
  591. #. type: menuentry
  592. #: guix-git/doc/contributing.texi:402
  593. msgid "When the name is not enough."
  594. msgstr ""
  595. #. type: subsection
  596. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  597. #: guix-git/doc/contributing.texi:573
  598. #, no-wrap
  599. msgid "Synopses and Descriptions"
  600. msgstr ""
  601. #. type: menuentry
  602. #: guix-git/doc/contributing.texi:402
  603. msgid "Helping users find the right package."
  604. msgstr ""
  605. #. type: subsection
  606. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  607. #: guix-git/doc/contributing.texi:652
  608. #, no-wrap
  609. msgid "Snippets versus Phases"
  610. msgstr ""
  611. #. type: menuentry
  612. #: guix-git/doc/contributing.texi:402
  613. msgid "Whether to use a snippet, or a build phase."
  614. msgstr ""
  615. #. type: subsection
  616. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  617. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1980
  618. #, no-wrap
  619. msgid "Emacs Packages"
  620. msgstr ""
  621. #. type: menuentry
  622. #: guix-git/doc/contributing.texi:402
  623. msgid "Your Elisp fix."
  624. msgstr ""
  625. #. type: subsection
  626. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  627. #: guix-git/doc/contributing.texi:707
  628. #, no-wrap
  629. msgid "Python Modules"
  630. msgstr ""
  631. #. type: menuentry
  632. #: guix-git/doc/contributing.texi:402
  633. msgid "A touch of British comedy."
  634. msgstr ""
  635. #. type: subsection
  636. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  637. #: guix-git/doc/contributing.texi:783
  638. #, no-wrap
  639. msgid "Perl Modules"
  640. msgstr ""
  641. #. type: menuentry
  642. #: guix-git/doc/contributing.texi:402
  643. msgid "Little pearls."
  644. msgstr ""
  645. #. type: subsection
  646. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  647. #: guix-git/doc/contributing.texi:799
  648. #, no-wrap
  649. msgid "Java Packages"
  650. msgstr ""
  651. #. type: menuentry
  652. #: guix-git/doc/contributing.texi:402
  653. msgid "Coffee break."
  654. msgstr ""
  655. #. type: subsection
  656. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  657. #: guix-git/doc/contributing.texi:819
  658. #, no-wrap
  659. msgid "Rust Crates"
  660. msgstr ""
  661. #. type: menuentry
  662. #: guix-git/doc/contributing.texi:402
  663. msgid "Beware of oxidation."
  664. msgstr ""
  665. #. type: subsection
  666. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  667. #: guix-git/doc/contributing.texi:853
  668. #, no-wrap
  669. msgid "Fonts"
  670. msgstr ""
  671. #. type: menuentry
  672. #: guix-git/doc/contributing.texi:402
  673. msgid "Fond of fonts."
  674. msgstr ""
  675. #. type: cindex
  676. #: guix-git/doc/contributing.texi:408
  677. #, no-wrap
  678. msgid "free software"
  679. msgstr ""
  680. #. type: Plain text
  681. #: guix-git/doc/contributing.texi:416
  682. 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."
  683. msgstr ""
  684. #. type: Plain text
  685. #: guix-git/doc/contributing.texi:422
  686. 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."
  687. msgstr ""
  688. #. type: Plain text
  689. #: guix-git/doc/contributing.texi:430
  690. 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."
  691. msgstr ""
  692. #. type: cindex
  693. #: guix-git/doc/contributing.texi:435
  694. #, no-wrap
  695. msgid "package name"
  696. msgstr ""
  697. #. type: Plain text
  698. #: guix-git/doc/contributing.texi:443
  699. 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}."
  700. msgstr ""
  701. #. type: Plain text
  702. #: guix-git/doc/contributing.texi:448
  703. 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}."
  704. msgstr ""
  705. #. type: Plain text
  706. #: guix-git/doc/contributing.texi:456
  707. 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."
  708. msgstr ""
  709. #. type: Plain text
  710. #: guix-git/doc/contributing.texi:461
  711. 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."
  712. msgstr ""
  713. #. type: Plain text
  714. #: guix-git/doc/contributing.texi:463
  715. msgid "Font package names are handled differently, @pxref{Fonts}."
  716. msgstr ""
  717. #. type: cindex
  718. #: guix-git/doc/contributing.texi:468
  719. #, no-wrap
  720. msgid "package version"
  721. msgstr ""
  722. #. type: Plain text
  723. #: guix-git/doc/contributing.texi:477
  724. 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."
  725. msgstr ""
  726. #. type: Plain text
  727. #: guix-git/doc/contributing.texi:480
  728. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  729. msgstr ""
  730. #. type: Plain text
  731. #: guix-git/doc/contributing.texi:482
  732. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  733. msgstr ""
  734. #. type: lisp
  735. #: guix-git/doc/contributing.texi:494
  736. #, no-wrap
  737. msgid ""
  738. "(define-public gtk+\n"
  739. " (package\n"
  740. " (name \"gtk+\")\n"
  741. " (version \"3.9.12\")\n"
  742. " ...))\n"
  743. "(define-public gtk+-2\n"
  744. " (package\n"
  745. " (name \"gtk+\")\n"
  746. " (version \"2.24.20\")\n"
  747. " ...))\n"
  748. msgstr ""
  749. #. type: Plain text
  750. #: guix-git/doc/contributing.texi:496
  751. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  752. msgstr ""
  753. #. type: lisp
  754. #: guix-git/doc/contributing.texi:502
  755. #, no-wrap
  756. msgid ""
  757. "(define-public gtk+-3.8\n"
  758. " (package\n"
  759. " (name \"gtk+\")\n"
  760. " (version \"3.8.2\")\n"
  761. " ...))\n"
  762. msgstr ""
  763. #. type: cindex
  764. #: guix-git/doc/contributing.texi:506
  765. #, no-wrap
  766. msgid "version number, for VCS snapshots"
  767. msgstr ""
  768. #. type: Plain text
  769. #: guix-git/doc/contributing.texi:512
  770. 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?"
  771. msgstr ""
  772. #. type: Plain text
  773. #: guix-git/doc/contributing.texi:520
  774. 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:"
  775. msgstr ""
  776. #. type: example
  777. #: guix-git/doc/contributing.texi:529
  778. #, no-wrap
  779. msgid ""
  780. "2.0.11-3.cabba9e\n"
  781. " ^ ^ ^\n"
  782. " | | `-- upstream commit ID\n"
  783. " | |\n"
  784. " | `--- Guix package revision\n"
  785. " |\n"
  786. "latest upstream version\n"
  787. msgstr ""
  788. #. type: Plain text
  789. #: guix-git/doc/contributing.texi:539
  790. 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:"
  791. msgstr ""
  792. #. type: lisp
  793. #: guix-git/doc/contributing.texi:556
  794. #, no-wrap
  795. msgid ""
  796. "(define my-package\n"
  797. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  798. " (revision \"1\")) ;Guix package revision\n"
  799. " (package\n"
  800. " (version (git-version \"0.9\" revision commit))\n"
  801. " (source (origin\n"
  802. " (method git-fetch)\n"
  803. " (uri (git-reference\n"
  804. " (url \"git://example.org/my-package.git\")\n"
  805. " (commit commit)))\n"
  806. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  807. " (file-name (git-file-name name version))))\n"
  808. " ;; @dots{}\n"
  809. " )))\n"
  810. msgstr ""
  811. #. type: deffn
  812. #: guix-git/doc/contributing.texi:558
  813. #, no-wrap
  814. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  815. msgstr ""
  816. #. type: deffn
  817. #: guix-git/doc/contributing.texi:560
  818. msgid "Return the version string for packages using @code{git-fetch}."
  819. msgstr ""
  820. #. type: lisp
  821. #: guix-git/doc/contributing.texi:564
  822. #, no-wrap
  823. msgid ""
  824. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  825. "@result{} \"0.2.3-0.93818c9\"\n"
  826. msgstr ""
  827. #. type: deffn
  828. #: guix-git/doc/contributing.texi:567
  829. #, no-wrap
  830. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  831. msgstr ""
  832. #. type: deffn
  833. #: guix-git/doc/contributing.texi:570
  834. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  835. msgstr ""
  836. #. type: cindex
  837. #: guix-git/doc/contributing.texi:575
  838. #, no-wrap
  839. msgid "package description"
  840. msgstr ""
  841. #. type: cindex
  842. #: guix-git/doc/contributing.texi:576
  843. #, no-wrap
  844. msgid "package synopsis"
  845. msgstr ""
  846. #. type: Plain text
  847. #: guix-git/doc/contributing.texi:583
  848. 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."
  849. msgstr ""
  850. #. type: Plain text
  851. #: guix-git/doc/contributing.texi:591
  852. 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''."
  853. msgstr ""
  854. #. type: Plain text
  855. #: guix-git/doc/contributing.texi:601
  856. 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."
  857. msgstr ""
  858. #. type: Plain text
  859. #: guix-git/doc/contributing.texi:609
  860. 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."
  861. msgstr ""
  862. #. type: cindex
  863. #: guix-git/doc/contributing.texi:610
  864. #, no-wrap
  865. msgid "Texinfo markup, in package descriptions"
  866. msgstr ""
  867. #. type: Plain text
  868. #: guix-git/doc/contributing.texi:619
  869. 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."
  870. msgstr ""
  871. #. type: Plain text
  872. #: guix-git/doc/contributing.texi:625
  873. 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."
  874. msgstr ""
  875. #. type: Plain text
  876. #: guix-git/doc/contributing.texi:630
  877. 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:"
  878. msgstr ""
  879. #. type: lisp
  880. #: guix-git/doc/contributing.texi:636
  881. #, no-wrap
  882. msgid ""
  883. "(package\n"
  884. " ;; @dots{}\n"
  885. " (synopsis \"This is translatable\")\n"
  886. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  887. msgstr ""
  888. #. type: Plain text
  889. #: guix-git/doc/contributing.texi:644
  890. 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}):"
  891. msgstr ""
  892. #. type: lisp
  893. #: guix-git/doc/contributing.texi:649
  894. #, no-wrap
  895. msgid ""
  896. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  897. "(description \"ARandR is designed to provide a simple visual front end\n"
  898. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  899. msgstr ""
  900. #. type: cindex
  901. #: guix-git/doc/contributing.texi:654
  902. #, no-wrap
  903. msgid "snippets, when to use"
  904. msgstr ""
  905. #. type: Plain text
  906. #: guix-git/doc/contributing.texi:665
  907. 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})."
  908. msgstr ""
  909. #. type: cindex
  910. #: guix-git/doc/contributing.texi:669
  911. #, no-wrap
  912. msgid "emacs, packaging"
  913. msgstr ""
  914. #. type: cindex
  915. #: guix-git/doc/contributing.texi:670
  916. #, no-wrap
  917. msgid "elisp, packaging"
  918. msgstr ""
  919. #. type: Plain text
  920. #: guix-git/doc/contributing.texi:682
  921. 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."
  922. msgstr ""
  923. #. type: Plain text
  924. #: guix-git/doc/contributing.texi:687
  925. 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}."
  926. msgstr ""
  927. #. type: Plain text
  928. #: guix-git/doc/contributing.texi:696
  929. 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:"
  930. msgstr ""
  931. #. type: lisp
  932. #: guix-git/doc/contributing.texi:699
  933. #, no-wrap
  934. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  935. msgstr ""
  936. #. type: Plain text
  937. #: guix-git/doc/contributing.texi:705
  938. 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."
  939. msgstr ""
  940. #. type: cindex
  941. #: guix-git/doc/contributing.texi:709
  942. #, no-wrap
  943. msgid "python"
  944. msgstr ""
  945. #. type: Plain text
  946. #: guix-git/doc/contributing.texi:715
  947. 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}."
  948. msgstr ""
  949. #. type: Plain text
  950. #: guix-git/doc/contributing.texi:722
  951. 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."
  952. msgstr ""
  953. #. type: Plain text
  954. #: guix-git/doc/contributing.texi:728
  955. 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."
  956. msgstr ""
  957. #. type: subsubsection
  958. #: guix-git/doc/contributing.texi:729
  959. #, no-wrap
  960. msgid "Specifying Dependencies"
  961. msgstr ""
  962. #. type: cindex
  963. #: guix-git/doc/contributing.texi:730
  964. #, no-wrap
  965. msgid "inputs, for Python packages"
  966. msgstr ""
  967. #. type: Plain text
  968. #: guix-git/doc/contributing.texi:735
  969. 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}."
  970. msgstr ""
  971. #. type: Plain text
  972. #: guix-git/doc/contributing.texi:741
  973. 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."
  974. msgstr ""
  975. #. type: itemize
  976. #: guix-git/doc/contributing.texi:749
  977. 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."
  978. msgstr ""
  979. #. type: itemize
  980. #: guix-git/doc/contributing.texi:755
  981. 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."
  982. msgstr ""
  983. #. type: itemize
  984. #: guix-git/doc/contributing.texi:763
  985. 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."
  986. msgstr ""
  987. #. type: itemize
  988. #: guix-git/doc/contributing.texi:767
  989. 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}."
  990. msgstr ""
  991. #. type: itemize
  992. #: guix-git/doc/contributing.texi:772
  993. 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."
  994. msgstr ""
  995. #. type: itemize
  996. #: guix-git/doc/contributing.texi:778
  997. 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}})."
  998. msgstr ""
  999. #. type: cindex
  1000. #: guix-git/doc/contributing.texi:785
  1001. #, no-wrap
  1002. msgid "perl"
  1003. msgstr ""
  1004. #. type: Plain text
  1005. #: guix-git/doc/contributing.texi:796
  1006. 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}."
  1007. msgstr ""
  1008. #. type: cindex
  1009. #: guix-git/doc/contributing.texi:801
  1010. #, no-wrap
  1011. msgid "java"
  1012. msgstr ""
  1013. #. type: Plain text
  1014. #: guix-git/doc/contributing.texi:804
  1015. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1016. msgstr ""
  1017. #. type: Plain text
  1018. #: guix-git/doc/contributing.texi:810
  1019. 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}."
  1020. msgstr ""
  1021. #. type: Plain text
  1022. #: guix-git/doc/contributing.texi:816
  1023. 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}."
  1024. msgstr ""
  1025. #. type: cindex
  1026. #: guix-git/doc/contributing.texi:821
  1027. #, no-wrap
  1028. msgid "rust"
  1029. msgstr ""
  1030. #. type: Plain text
  1031. #: guix-git/doc/contributing.texi:824
  1032. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1033. msgstr ""
  1034. #. type: Plain text
  1035. #: guix-git/doc/contributing.texi:828
  1036. 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."
  1037. msgstr ""
  1038. #. type: Plain text
  1039. #: guix-git/doc/contributing.texi:834
  1040. 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}."
  1041. msgstr ""
  1042. #. type: Plain text
  1043. #: guix-git/doc/contributing.texi:844
  1044. 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."
  1045. msgstr ""
  1046. #. type: Plain text
  1047. #: guix-git/doc/contributing.texi:850
  1048. 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."
  1049. msgstr ""
  1050. #. type: cindex
  1051. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1915
  1052. #, no-wrap
  1053. msgid "fonts"
  1054. msgstr ""
  1055. #. type: Plain text
  1056. #: guix-git/doc/contributing.texi:861
  1057. 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."
  1058. msgstr ""
  1059. #. type: Plain text
  1060. #: guix-git/doc/contributing.texi:865
  1061. 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."
  1062. msgstr ""
  1063. #. type: Plain text
  1064. #: guix-git/doc/contributing.texi:873
  1065. 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}."
  1066. msgstr ""
  1067. #. type: Plain text
  1068. #: guix-git/doc/contributing.texi:882
  1069. 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}."
  1070. msgstr ""
  1071. #. type: Plain text
  1072. #: guix-git/doc/contributing.texi:888
  1073. 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."
  1074. msgstr ""
  1075. #. type: Plain text
  1076. #: guix-git/doc/contributing.texi:896
  1077. 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."
  1078. msgstr ""
  1079. #. type: subsection
  1080. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1081. #: guix-git/doc/contributing.texi:905
  1082. #, no-wrap
  1083. msgid "Programming Paradigm"
  1084. msgstr ""
  1085. #. type: menuentry
  1086. #: guix-git/doc/contributing.texi:902
  1087. msgid "How to compose your elements."
  1088. msgstr ""
  1089. #. type: subsection
  1090. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1091. #: guix-git/doc/contributing.texi:912
  1092. #, no-wrap
  1093. msgid "Modules"
  1094. msgstr ""
  1095. #. type: menuentry
  1096. #: guix-git/doc/contributing.texi:902
  1097. msgid "Where to store your code?"
  1098. msgstr ""
  1099. #. type: subsection
  1100. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1101. #: guix-git/doc/contributing.texi:923
  1102. #, no-wrap
  1103. msgid "Data Types and Pattern Matching"
  1104. msgstr ""
  1105. #. type: menuentry
  1106. #: guix-git/doc/contributing.texi:902
  1107. msgid "Implementing data structures."
  1108. msgstr ""
  1109. #. type: subsection
  1110. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1111. #: guix-git/doc/contributing.texi:938
  1112. #, no-wrap
  1113. msgid "Formatting Code"
  1114. msgstr ""
  1115. #. type: menuentry
  1116. #: guix-git/doc/contributing.texi:902
  1117. msgid "Writing conventions."
  1118. msgstr ""
  1119. #. type: Plain text
  1120. #: guix-git/doc/contributing.texi:910
  1121. 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."
  1122. msgstr ""
  1123. #. type: Plain text
  1124. #: guix-git/doc/contributing.texi:918
  1125. 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."
  1126. msgstr ""
  1127. #. type: Plain text
  1128. #: guix-git/doc/contributing.texi:921
  1129. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1130. msgstr ""
  1131. #. type: Plain text
  1132. #: guix-git/doc/contributing.texi:930
  1133. 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."
  1134. msgstr ""
  1135. #. type: Plain text
  1136. #: guix-git/doc/contributing.texi:936
  1137. 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})."
  1138. msgstr ""
  1139. #. type: cindex
  1140. #: guix-git/doc/contributing.texi:940
  1141. #, no-wrap
  1142. msgid "formatting code"
  1143. msgstr ""
  1144. #. type: cindex
  1145. #: guix-git/doc/contributing.texi:941
  1146. #, no-wrap
  1147. msgid "coding style"
  1148. msgstr ""
  1149. #. type: Plain text
  1150. #: guix-git/doc/contributing.texi:948
  1151. 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."
  1152. msgstr ""
  1153. #. type: Plain text
  1154. #: guix-git/doc/contributing.texi:955
  1155. 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})."
  1156. msgstr ""
  1157. #. type: cindex
  1158. #: guix-git/doc/contributing.texi:956
  1159. #, no-wrap
  1160. msgid "indentation, of code"
  1161. msgstr ""
  1162. #. type: cindex
  1163. #: guix-git/doc/contributing.texi:957
  1164. #, no-wrap
  1165. msgid "formatting, of code"
  1166. msgstr ""
  1167. #. type: Plain text
  1168. #: guix-git/doc/contributing.texi:960
  1169. 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:"
  1170. msgstr ""
  1171. #. type: example
  1172. #: guix-git/doc/contributing.texi:963
  1173. #, no-wrap
  1174. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1175. msgstr ""
  1176. #. type: Plain text
  1177. #: guix-git/doc/contributing.texi:969
  1178. msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:"
  1179. msgstr ""
  1180. #. type: example
  1181. #: guix-git/doc/contributing.texi:972
  1182. #, no-wrap
  1183. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1184. msgstr ""
  1185. #. type: cindex
  1186. #: guix-git/doc/contributing.texi:974
  1187. #, no-wrap
  1188. msgid "Vim, Scheme code editing"
  1189. msgstr ""
  1190. #. type: Plain text
  1191. #: guix-git/doc/contributing.texi:980
  1192. 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."
  1193. msgstr ""
  1194. #. type: Plain text
  1195. #: guix-git/doc/contributing.texi:984
  1196. 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."
  1197. msgstr ""
  1198. #. type: Plain text
  1199. #: guix-git/doc/contributing.texi:987
  1200. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1201. msgstr ""
  1202. #. type: Plain text
  1203. #: guix-git/doc/contributing.texi:1001
  1204. 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})."
  1205. msgstr ""
  1206. #. type: Plain text
  1207. #: guix-git/doc/contributing.texi:1008
  1208. 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})."
  1209. msgstr ""
  1210. #. type: Plain text
  1211. #: guix-git/doc/contributing.texi:1012
  1212. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1213. msgstr ""
  1214. #. type: Plain text
  1215. #: guix-git/doc/contributing.texi:1015
  1216. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1217. msgstr ""
  1218. #. type: code{#1}
  1219. #: guix-git/doc/contributing.texi:1017 guix-git/doc/contributing.texi:1220
  1220. #, no-wrap
  1221. msgid "git format-patch"
  1222. msgstr ""
  1223. #. type: code{#1}
  1224. #: guix-git/doc/contributing.texi:1018
  1225. #, no-wrap
  1226. msgid "git-format-patch"
  1227. msgstr ""
  1228. #. type: enumerate
  1229. #: guix-git/doc/contributing.texi:1022
  1230. msgid "We recommend to use the command @code{git format-patch --base} to include the commit where your patch applies."
  1231. msgstr ""
  1232. #. type: enumerate
  1233. #: guix-git/doc/contributing.texi:1028
  1234. 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."
  1235. msgstr ""
  1236. #. type: enumerate
  1237. #: guix-git/doc/contributing.texi:1032
  1238. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1239. msgstr ""
  1240. #. type: enumerate
  1241. #: guix-git/doc/contributing.texi:1037
  1242. 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})."
  1243. msgstr ""
  1244. #. type: enumerate
  1245. #: guix-git/doc/contributing.texi:1041
  1246. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1247. msgstr ""
  1248. #. type: enumerate
  1249. #: guix-git/doc/contributing.texi:1049
  1250. 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:"
  1251. msgstr ""
  1252. #. type: lisp
  1253. #: guix-git/doc/contributing.texi:1054
  1254. #, no-wrap
  1255. msgid ""
  1256. "(service qemu-binfmt-service-type\n"
  1257. " (qemu-binfmt-configuration\n"
  1258. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1259. msgstr ""
  1260. #. type: enumerate
  1261. #: guix-git/doc/contributing.texi:1057
  1262. msgid "Then reconfigure your system."
  1263. msgstr ""
  1264. #. type: enumerate
  1265. #: guix-git/doc/contributing.texi:1062
  1266. 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:"
  1267. msgstr ""
  1268. #. type: example
  1269. #: guix-git/doc/contributing.texi:1065
  1270. #, no-wrap
  1271. msgid ""
  1272. "guix build --system=armhf-linux --rounds=2 hello\n"
  1273. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1274. msgstr ""
  1275. #. type: cindex
  1276. #: guix-git/doc/contributing.texi:1068
  1277. #, no-wrap
  1278. msgid "bundling"
  1279. msgstr ""
  1280. #. type: enumerate
  1281. #: guix-git/doc/contributing.texi:1071
  1282. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1283. msgstr ""
  1284. #. type: enumerate
  1285. #: guix-git/doc/contributing.texi:1080
  1286. 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."
  1287. msgstr ""
  1288. #. type: enumerate
  1289. #: guix-git/doc/contributing.texi:1089
  1290. 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."
  1291. msgstr ""
  1292. #. type: enumerate
  1293. #: guix-git/doc/contributing.texi:1094
  1294. 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})."
  1295. msgstr ""
  1296. #. type: cindex
  1297. #: guix-git/doc/contributing.texi:1096
  1298. #, no-wrap
  1299. msgid "branching strategy"
  1300. msgstr ""
  1301. #. type: cindex
  1302. #: guix-git/doc/contributing.texi:1097
  1303. #, no-wrap
  1304. msgid "rebuild scheduling strategy"
  1305. msgstr ""
  1306. #. type: enumerate
  1307. #: guix-git/doc/contributing.texi:1100
  1308. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1309. msgstr ""
  1310. #. type: item
  1311. #: guix-git/doc/contributing.texi:1102
  1312. #, no-wrap
  1313. msgid "300 dependent packages or less"
  1314. msgstr ""
  1315. #. type: table
  1316. #: guix-git/doc/contributing.texi:1104
  1317. msgid "@code{master} branch (non-disruptive changes)."
  1318. msgstr ""
  1319. #. type: item
  1320. #: guix-git/doc/contributing.texi:1105
  1321. #, no-wrap
  1322. msgid "between 300 and 1,800 dependent packages"
  1323. msgstr ""
  1324. #. type: table
  1325. #: guix-git/doc/contributing.texi:1111
  1326. 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."
  1327. msgstr ""
  1328. #. type: item
  1329. #: guix-git/doc/contributing.texi:1112
  1330. #, no-wrap
  1331. msgid "more than 1,800 dependent packages"
  1332. msgstr ""
  1333. #. type: table
  1334. #: guix-git/doc/contributing.texi:1117
  1335. 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."
  1336. msgstr ""
  1337. #. type: enumerate
  1338. #: guix-git/doc/contributing.texi:1124
  1339. 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."
  1340. msgstr ""
  1341. #. type: enumerate
  1342. #: guix-git/doc/contributing.texi:1133
  1343. 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."
  1344. msgstr ""
  1345. #. type: cindex
  1346. #: guix-git/doc/contributing.texi:1135
  1347. #, no-wrap
  1348. msgid "determinism, of build processes"
  1349. msgstr ""
  1350. #. type: cindex
  1351. #: guix-git/doc/contributing.texi:1136
  1352. #, no-wrap
  1353. msgid "reproducible builds, checking"
  1354. msgstr ""
  1355. #. type: enumerate
  1356. #: guix-git/doc/contributing.texi:1140
  1357. 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."
  1358. msgstr ""
  1359. #. type: enumerate
  1360. #: guix-git/doc/contributing.texi:1143
  1361. 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}):"
  1362. msgstr ""
  1363. #. type: example
  1364. #: guix-git/doc/contributing.texi:1146
  1365. #, no-wrap
  1366. msgid "guix build --rounds=2 my-package\n"
  1367. msgstr ""
  1368. #. type: enumerate
  1369. #: guix-git/doc/contributing.texi:1150
  1370. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1371. msgstr ""
  1372. #. type: enumerate
  1373. #: guix-git/doc/contributing.texi:1160
  1374. 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."
  1375. msgstr ""
  1376. #. type: enumerate
  1377. #: guix-git/doc/contributing.texi:1166
  1378. 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."
  1379. msgstr ""
  1380. #. type: enumerate
  1381. #: guix-git/doc/contributing.texi:1170
  1382. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1383. msgstr ""
  1384. #. type: enumerate
  1385. #: guix-git/doc/contributing.texi:1173
  1386. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1387. msgstr ""
  1388. #. type: enumerate
  1389. #: guix-git/doc/contributing.texi:1178
  1390. msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})."
  1391. msgstr ""
  1392. #. type: enumerate
  1393. #: guix-git/doc/contributing.texi:1186
  1394. 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."
  1395. msgstr ""
  1396. #. type: enumerate
  1397. #: guix-git/doc/contributing.texi:1190
  1398. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1399. msgstr ""
  1400. #. type: enumerate
  1401. #: guix-git/doc/contributing.texi:1193
  1402. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1403. msgstr ""
  1404. #. type: example
  1405. #: guix-git/doc/contributing.texi:1195
  1406. #, no-wrap
  1407. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1408. msgstr ""
  1409. #. type: Plain text
  1410. #: guix-git/doc/contributing.texi:1208
  1411. 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."
  1412. msgstr ""
  1413. #. type: Plain text
  1414. #: guix-git/doc/contributing.texi:1213
  1415. 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."
  1416. msgstr ""
  1417. #. type: Plain text
  1418. #: guix-git/doc/contributing.texi:1216
  1419. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1420. msgstr ""
  1421. #. type: subsection
  1422. #: guix-git/doc/contributing.texi:1217 guix-git/doc/contributing.texi:1218
  1423. #, fuzzy, no-wrap
  1424. #| msgid "System Configuration"
  1425. msgid "Configuring Git"
  1426. msgstr "Nastavenie systému"
  1427. #. type: cindex
  1428. #: guix-git/doc/contributing.texi:1219
  1429. #, fuzzy, no-wrap
  1430. #| msgid "System Configuration"
  1431. msgid "git configuration"
  1432. msgstr "Nastavenie systému"
  1433. #. type: code{#1}
  1434. #: guix-git/doc/contributing.texi:1221 guix-git/doc/contributing.texi:1256
  1435. #, no-wrap
  1436. msgid "git send-email"
  1437. msgstr ""
  1438. #. type: Plain text
  1439. #: guix-git/doc/contributing.texi:1229
  1440. 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}."
  1441. msgstr ""
  1442. #. type: Plain text
  1443. #: guix-git/doc/contributing.texi:1235
  1444. 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:"
  1445. msgstr ""
  1446. #. type: example
  1447. #: guix-git/doc/contributing.texi:1238
  1448. #, no-wrap
  1449. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1450. msgstr ""
  1451. #. type: Plain text
  1452. #: guix-git/doc/contributing.texi:1242
  1453. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1454. msgstr ""
  1455. #. type: Plain text
  1456. #: guix-git/doc/contributing.texi:1247
  1457. 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}:"
  1458. msgstr ""
  1459. #. type: example
  1460. #: guix-git/doc/contributing.texi:1251
  1461. #, no-wrap
  1462. msgid ""
  1463. "git config --local format.thread shallow\n"
  1464. "git config --local sendemail.thread no\n"
  1465. msgstr ""
  1466. #. type: anchor{#1}
  1467. #: guix-git/doc/contributing.texi:1253 guix-git/doc/contributing.texi:1255
  1468. #, no-wrap
  1469. msgid "Sending a Patch Series"
  1470. msgstr ""
  1471. #. type: cindex
  1472. #: guix-git/doc/contributing.texi:1255
  1473. #, no-wrap
  1474. msgid "patch series"
  1475. msgstr ""
  1476. #. type: Plain text
  1477. #: guix-git/doc/contributing.texi:1266
  1478. 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}."
  1479. msgstr ""
  1480. #. type: Plain text
  1481. #: guix-git/doc/contributing.texi:1272
  1482. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1483. msgstr ""
  1484. #. type: subsection
  1485. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1279
  1486. #: guix-git/doc/contributing.texi:1280
  1487. #, no-wrap
  1488. msgid "The Issue Tracker"
  1489. msgstr ""
  1490. #. type: menuentry
  1491. #: guix-git/doc/contributing.texi:1277
  1492. msgid "The official bug and patch tracker."
  1493. msgstr ""
  1494. #. type: subsection
  1495. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1293
  1496. #: guix-git/doc/contributing.texi:1294
  1497. #, no-wrap
  1498. msgid "Debbugs User Interfaces"
  1499. msgstr ""
  1500. #. type: menuentry
  1501. #: guix-git/doc/contributing.texi:1277
  1502. msgid "Ways to interact with Debbugs."
  1503. msgstr ""
  1504. #. type: subsection
  1505. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1333
  1506. #: guix-git/doc/contributing.texi:1334
  1507. #, no-wrap
  1508. msgid "Debbugs Usertags"
  1509. msgstr ""
  1510. #. type: menuentry
  1511. #: guix-git/doc/contributing.texi:1277
  1512. msgid "Tag reports with custom labels."
  1513. msgstr ""
  1514. #. type: cindex
  1515. #: guix-git/doc/contributing.texi:1282
  1516. #, no-wrap
  1517. msgid "bug reports, tracking"
  1518. msgstr ""
  1519. #. type: cindex
  1520. #: guix-git/doc/contributing.texi:1283
  1521. #, no-wrap
  1522. msgid "patch submissions, tracking"
  1523. msgstr ""
  1524. #. type: cindex
  1525. #: guix-git/doc/contributing.texi:1284
  1526. #, no-wrap
  1527. msgid "issue tracking"
  1528. msgstr ""
  1529. #. type: cindex
  1530. #: guix-git/doc/contributing.texi:1285
  1531. #, no-wrap
  1532. msgid "Debbugs, issue tracking system"
  1533. msgstr ""
  1534. #. type: Plain text
  1535. #: guix-git/doc/contributing.texi:1292
  1536. 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})."
  1537. msgstr ""
  1538. #. type: Plain text
  1539. #: guix-git/doc/contributing.texi:1298
  1540. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1541. msgstr ""
  1542. #. type: itemize
  1543. #: guix-git/doc/contributing.texi:1307
  1544. 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;"
  1545. msgstr ""
  1546. #. type: itemize
  1547. #: guix-git/doc/contributing.texi:1309
  1548. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1549. msgstr ""
  1550. #. type: itemize
  1551. #: guix-git/doc/contributing.texi:1311
  1552. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1553. msgstr ""
  1554. #. type: Plain text
  1555. #: guix-git/doc/contributing.texi:1316
  1556. 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}}."
  1557. msgstr ""
  1558. #. type: Plain text
  1559. #: guix-git/doc/contributing.texi:1319
  1560. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1561. msgstr ""
  1562. #. type: example
  1563. #: guix-git/doc/contributing.texi:1322
  1564. #, no-wrap
  1565. msgid "guix install emacs-debbugs\n"
  1566. msgstr ""
  1567. #. type: Plain text
  1568. #: guix-git/doc/contributing.texi:1325
  1569. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1570. msgstr ""
  1571. #. type: example
  1572. #: guix-git/doc/contributing.texi:1328
  1573. #, no-wrap
  1574. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1575. msgstr ""
  1576. #. type: Plain text
  1577. #: guix-git/doc/contributing.texi:1332
  1578. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1579. msgstr ""
  1580. #. type: cindex
  1581. #: guix-git/doc/contributing.texi:1336
  1582. #, no-wrap
  1583. msgid "usertags, for debbugs"
  1584. msgstr ""
  1585. #. type: cindex
  1586. #: guix-git/doc/contributing.texi:1337
  1587. #, no-wrap
  1588. msgid "Debbugs usertags"
  1589. msgstr ""
  1590. #. type: Plain text
  1591. #: guix-git/doc/contributing.texi:1343
  1592. 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.}."
  1593. msgstr ""
  1594. #. type: Plain text
  1595. #: guix-git/doc/contributing.texi:1349
  1596. 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}."
  1597. msgstr ""
  1598. #. type: Plain text
  1599. #: guix-git/doc/contributing.texi:1353
  1600. 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."
  1601. msgstr ""
  1602. #. type: Plain text
  1603. #: guix-git/doc/contributing.texi:1358
  1604. 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:"
  1605. msgstr ""
  1606. #. type: item
  1607. #: guix-git/doc/contributing.texi:1361 guix-git/doc/guix.texi:542
  1608. #, no-wrap
  1609. msgid "powerpc64le-linux"
  1610. msgstr ""
  1611. #. type: table
  1612. #: guix-git/doc/contributing.texi:1369
  1613. 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."
  1614. msgstr ""
  1615. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1616. #. type: item
  1617. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1618. #. type: cindex
  1619. #: guix-git/doc/contributing.texi:1370 guix-git/doc/guix.texi:3045
  1620. #: guix-git/doc/guix.texi:4733
  1621. #, no-wrap
  1622. msgid "reproducibility"
  1623. msgstr ""
  1624. #. type: table
  1625. #: guix-git/doc/contributing.texi:1374
  1626. 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."
  1627. msgstr ""
  1628. #. type: Plain text
  1629. #: guix-git/doc/contributing.texi:1381
  1630. 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."
  1631. msgstr ""
  1632. #. type: cindex
  1633. #: guix-git/doc/contributing.texi:1385
  1634. #, no-wrap
  1635. msgid "commit access, for developers"
  1636. msgstr ""
  1637. #. type: Plain text
  1638. #: guix-git/doc/contributing.texi:1391
  1639. 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. 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."
  1640. msgstr ""
  1641. #. type: Plain text
  1642. #: guix-git/doc/contributing.texi:1395
  1643. 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."
  1644. msgstr ""
  1645. #. type: subsection
  1646. #: guix-git/doc/contributing.texi:1396
  1647. #, fuzzy, no-wrap
  1648. #| msgid "Commit Access"
  1649. msgid "Applying for Commit Access"
  1650. msgstr "Právo na úpravu"
  1651. #. type: Plain text
  1652. #: guix-git/doc/contributing.texi:1400
  1653. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1654. msgstr ""
  1655. #. type: enumerate
  1656. #: guix-git/doc/contributing.texi:1409
  1657. 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."
  1658. msgstr ""
  1659. #. type: enumerate
  1660. #: guix-git/doc/contributing.texi:1415
  1661. 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''."
  1662. msgstr ""
  1663. #. type: enumerate
  1664. #: guix-git/doc/contributing.texi:1422
  1665. 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."
  1666. msgstr ""
  1667. #. type: enumerate
  1668. #: guix-git/doc/contributing.texi:1428
  1669. 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}):"
  1670. msgstr ""
  1671. #. type: example
  1672. #: guix-git/doc/contributing.texi:1431
  1673. #, no-wrap
  1674. msgid "digest-algo sha512\n"
  1675. msgstr ""
  1676. #. type: enumerate
  1677. #: guix-git/doc/contributing.texi:1436
  1678. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1679. msgstr ""
  1680. #. type: cindex
  1681. #: guix-git/doc/contributing.texi:1438
  1682. #, no-wrap
  1683. msgid "OpenPGP, signed commits"
  1684. msgstr ""
  1685. #. type: enumerate
  1686. #: guix-git/doc/contributing.texi:1443
  1687. 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."
  1688. msgstr ""
  1689. #. type: quotation
  1690. #: guix-git/doc/contributing.texi:1444 guix-git/doc/guix.texi:16976
  1691. #, no-wrap
  1692. msgid "Important"
  1693. msgstr ""
  1694. #. type: quotation
  1695. #: guix-git/doc/contributing.texi:1446
  1696. msgid "Before you can push for the first time, maintainers must:"
  1697. msgstr ""
  1698. #. type: enumerate
  1699. #: guix-git/doc/contributing.texi:1450
  1700. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1701. msgstr ""
  1702. #. type: enumerate
  1703. #: guix-git/doc/contributing.texi:1453
  1704. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1705. msgstr ""
  1706. #. type: enumerate
  1707. #: guix-git/doc/contributing.texi:1458
  1708. msgid "Make sure to read the rest of this section and... profit!"
  1709. msgstr ""
  1710. #. type: quotation
  1711. #: guix-git/doc/contributing.texi:1464
  1712. 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!"
  1713. msgstr ""
  1714. #. type: quotation
  1715. #: guix-git/doc/contributing.texi:1468
  1716. 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!"
  1717. msgstr ""
  1718. #. type: Plain text
  1719. #: guix-git/doc/contributing.texi:1475
  1720. 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:"
  1721. msgstr ""
  1722. #. type: example
  1723. #: guix-git/doc/contributing.texi:1478
  1724. #, no-wrap
  1725. msgid ""
  1726. "git config commit.gpgsign true\n"
  1727. "\n"
  1728. msgstr ""
  1729. #. type: example
  1730. #: guix-git/doc/contributing.texi:1481
  1731. #, no-wrap
  1732. msgid ""
  1733. "# Substitute the fingerprint of your public PGP key.\n"
  1734. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1735. msgstr ""
  1736. #. type: Plain text
  1737. #: guix-git/doc/contributing.texi:1486
  1738. 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}:"
  1739. msgstr ""
  1740. #. type: example
  1741. #: guix-git/doc/contributing.texi:1489
  1742. #, no-wrap
  1743. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1744. msgstr ""
  1745. #. type: subsection
  1746. #: guix-git/doc/contributing.texi:1491
  1747. #, fuzzy, no-wrap
  1748. #| msgid "Commit Access"
  1749. msgid "Commit Policy"
  1750. msgstr "Právo na úpravu"
  1751. #. type: Plain text
  1752. #: guix-git/doc/contributing.texi:1496
  1753. 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})."
  1754. msgstr ""
  1755. #. type: Plain text
  1756. #: guix-git/doc/contributing.texi:1501
  1757. 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})."
  1758. msgstr ""
  1759. #. type: Plain text
  1760. #: guix-git/doc/contributing.texi:1510
  1761. 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}."
  1762. msgstr ""
  1763. #. type: Plain text
  1764. #: guix-git/doc/contributing.texi:1515
  1765. 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."
  1766. msgstr ""
  1767. #. type: Plain text
  1768. #: guix-git/doc/contributing.texi:1519
  1769. 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:"
  1770. msgstr ""
  1771. #. type: example
  1772. #: guix-git/doc/contributing.texi:1522
  1773. #, no-wrap
  1774. msgid "make check-channel-news\n"
  1775. msgstr ""
  1776. #. type: Plain text
  1777. #: guix-git/doc/contributing.texi:1528
  1778. 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."
  1779. msgstr ""
  1780. #. type: Plain text
  1781. #: guix-git/doc/contributing.texi:1531
  1782. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1783. msgstr ""
  1784. #. type: subsection
  1785. #: guix-git/doc/contributing.texi:1532
  1786. #, no-wrap
  1787. msgid "Addressing Issues"
  1788. msgstr ""
  1789. #. type: Plain text
  1790. #: guix-git/doc/contributing.texi:1543
  1791. 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."
  1792. msgstr ""
  1793. #. type: Plain text
  1794. #: guix-git/doc/contributing.texi:1548
  1795. 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."
  1796. msgstr ""
  1797. #. type: cindex
  1798. #: guix-git/doc/contributing.texi:1549
  1799. #, no-wrap
  1800. msgid "reverting commits"
  1801. msgstr ""
  1802. #. type: Plain text
  1803. #: guix-git/doc/contributing.texi:1555
  1804. 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."
  1805. msgstr ""
  1806. #. type: Plain text
  1807. #: guix-git/doc/contributing.texi:1561
  1808. 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."
  1809. msgstr ""
  1810. #. type: Plain text
  1811. #: guix-git/doc/contributing.texi:1570
  1812. 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."
  1813. msgstr ""
  1814. #. type: subsection
  1815. #: guix-git/doc/contributing.texi:1571
  1816. #, no-wrap
  1817. msgid "Commit Revocation"
  1818. msgstr ""
  1819. #. type: Plain text
  1820. #: guix-git/doc/contributing.texi:1578
  1821. 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."
  1822. msgstr ""
  1823. #. type: Plain text
  1824. #: guix-git/doc/contributing.texi:1588
  1825. 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:"
  1826. msgstr ""
  1827. #. type: item
  1828. #: guix-git/doc/contributing.texi:1590
  1829. #, no-wrap
  1830. msgid "repeated violation of the commit policy stated above;"
  1831. msgstr ""
  1832. #. type: item
  1833. #: guix-git/doc/contributing.texi:1591
  1834. #, no-wrap
  1835. msgid "repeated failure to take peer criticism into account;"
  1836. msgstr ""
  1837. #. type: item
  1838. #: guix-git/doc/contributing.texi:1592
  1839. #, no-wrap
  1840. msgid "breaching trust through a series of grave incidents."
  1841. msgstr ""
  1842. #. type: Plain text
  1843. #: guix-git/doc/contributing.texi:1599
  1844. 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."
  1845. msgstr ""
  1846. #. type: subsection
  1847. #: guix-git/doc/contributing.texi:1600
  1848. #, no-wrap
  1849. msgid "Helping Out"
  1850. msgstr ""
  1851. #. type: Plain text
  1852. #: guix-git/doc/contributing.texi:1607
  1853. 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!"
  1854. msgstr ""
  1855. #. type: cindex
  1856. #: guix-git/doc/contributing.texi:1611
  1857. #, no-wrap
  1858. msgid "update-guix-package, updating the guix package"
  1859. msgstr ""
  1860. #. type: Plain text
  1861. #: guix-git/doc/contributing.texi:1617
  1862. 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:"
  1863. msgstr ""
  1864. #. type: example
  1865. #: guix-git/doc/contributing.texi:1620
  1866. #, no-wrap
  1867. msgid "make update-guix-package\n"
  1868. msgstr ""
  1869. #. type: Plain text
  1870. #: guix-git/doc/contributing.texi:1627
  1871. 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."
  1872. msgstr ""
  1873. #. type: Plain text
  1874. #: guix-git/doc/contributing.texi:1631
  1875. 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:"
  1876. msgstr ""
  1877. #. type: example
  1878. #: guix-git/doc/contributing.texi:1634
  1879. #, no-wrap
  1880. msgid "./pre-inst-env guix build guix\n"
  1881. msgstr ""
  1882. #. type: Plain text
  1883. #: guix-git/doc/contributing.texi:1639
  1884. 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."
  1885. msgstr ""
  1886. #. type: Plain text
  1887. #: guix-git/doc/contributing.texi:1644
  1888. 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."
  1889. msgstr ""
  1890. #. type: cindex
  1891. #: guix-git/doc/contributing.texi:1645
  1892. #, no-wrap
  1893. msgid "translation"
  1894. msgstr ""
  1895. #. type: cindex
  1896. #: guix-git/doc/contributing.texi:1646
  1897. #, no-wrap
  1898. msgid "l10n"
  1899. msgstr ""
  1900. #. type: cindex
  1901. #: guix-git/doc/contributing.texi:1647
  1902. #, no-wrap
  1903. msgid "i18n"
  1904. msgstr ""
  1905. #. type: cindex
  1906. #: guix-git/doc/contributing.texi:1648
  1907. #, no-wrap
  1908. msgid "native language support"
  1909. msgstr ""
  1910. #. type: Plain text
  1911. #: guix-git/doc/contributing.texi:1658
  1912. 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!"
  1913. msgstr ""
  1914. #. type: Plain text
  1915. #: guix-git/doc/contributing.texi:1664
  1916. 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."
  1917. msgstr ""
  1918. #. type: Plain text
  1919. #: guix-git/doc/contributing.texi:1671
  1920. 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."
  1921. msgstr ""
  1922. #. type: Plain text
  1923. #: guix-git/doc/contributing.texi:1676
  1924. 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}."
  1925. msgstr ""
  1926. #. type: Plain text
  1927. #: guix-git/doc/contributing.texi:1678
  1928. msgid "Guix has five components hosted on Weblate."
  1929. msgstr ""
  1930. #. type: item
  1931. #: guix-git/doc/contributing.texi:1680
  1932. #, no-wrap
  1933. msgid "@code{guix} contains all the strings from the Guix software (the"
  1934. msgstr ""
  1935. #. type: itemize
  1936. #: guix-git/doc/contributing.texi:1682
  1937. msgid "guided system installer, the package manager, etc), excluding packages."
  1938. msgstr ""
  1939. #. type: item
  1940. #: guix-git/doc/contributing.texi:1682
  1941. #, no-wrap
  1942. msgid "@code{packages} contains the synopsis (single-sentence description"
  1943. msgstr ""
  1944. #. type: itemize
  1945. #: guix-git/doc/contributing.texi:1684
  1946. msgid "of a package) and description (longer description) of packages in Guix."
  1947. msgstr ""
  1948. #. type: item
  1949. #: guix-git/doc/contributing.texi:1684
  1950. #, no-wrap
  1951. msgid "@code{website} contains the official Guix website, except for"
  1952. msgstr ""
  1953. #. type: itemize
  1954. #: guix-git/doc/contributing.texi:1686
  1955. msgid "blog posts and multimedia content."
  1956. msgstr ""
  1957. #. type: item
  1958. #: guix-git/doc/contributing.texi:1686
  1959. #, no-wrap
  1960. msgid "@code{documentation-manual} corresponds to this manual."
  1961. msgstr ""
  1962. #. type: item
  1963. #: guix-git/doc/contributing.texi:1687
  1964. #, no-wrap
  1965. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1966. msgstr ""
  1967. #. type: subsubheading
  1968. #: guix-git/doc/contributing.texi:1690
  1969. #, no-wrap
  1970. msgid "General Directions"
  1971. msgstr ""
  1972. #. type: Plain text
  1973. #: guix-git/doc/contributing.texi:1698
  1974. 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."
  1975. msgstr ""
  1976. #. type: Plain text
  1977. #: guix-git/doc/contributing.texi:1703
  1978. 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."
  1979. msgstr ""
  1980. #. type: Plain text
  1981. #: guix-git/doc/contributing.texi:1714
  1982. 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."
  1983. msgstr ""
  1984. #. type: Plain text
  1985. #: guix-git/doc/contributing.texi:1719
  1986. 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."
  1987. msgstr ""
  1988. #. type: subsubheading
  1989. #: guix-git/doc/contributing.texi:1720
  1990. #, no-wrap
  1991. msgid "Translation Components"
  1992. msgstr ""
  1993. #. type: Plain text
  1994. #: guix-git/doc/contributing.texi:1725
  1995. 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!"
  1996. msgstr ""
  1997. #. type: item
  1998. #: guix-git/doc/contributing.texi:1727 guix-git/doc/guix.texi:8868
  1999. #, no-wrap
  2000. msgid "guix"
  2001. msgstr ""
  2002. #. type: table
  2003. #: guix-git/doc/contributing.texi:1732
  2004. 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."
  2005. msgstr ""
  2006. #. type: table
  2007. #: guix-git/doc/contributing.texi:1741
  2008. 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."
  2009. msgstr ""
  2010. #. type: table
  2011. #: guix-git/doc/contributing.texi:1745
  2012. 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."
  2013. msgstr ""
  2014. #. type: table
  2015. #: guix-git/doc/contributing.texi:1753
  2016. 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."
  2017. msgstr ""
  2018. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2019. #. type: item
  2020. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2021. #. type: cindex
  2022. #: guix-git/doc/contributing.texi:1754 guix-git/doc/guix.texi:2963
  2023. #, no-wrap
  2024. msgid "packages"
  2025. msgstr ""
  2026. #. type: table
  2027. #: guix-git/doc/contributing.texi:1759
  2028. 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."
  2029. msgstr ""
  2030. #. type: table
  2031. #: guix-git/doc/contributing.texi:1768
  2032. 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})."
  2033. msgstr ""
  2034. #. type: item
  2035. #: guix-git/doc/contributing.texi:1769
  2036. #, no-wrap
  2037. msgid "documentation-manual and documentation-cookbook"
  2038. msgstr ""
  2039. #. type: table
  2040. #: guix-git/doc/contributing.texi:1773
  2041. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2042. msgstr ""
  2043. #. type: item
  2044. #: guix-git/doc/contributing.texi:1775
  2045. #, no-wrap
  2046. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2047. msgstr ""
  2048. #. type: itemize
  2049. #: guix-git/doc/contributing.texi:1778
  2050. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2051. msgstr ""
  2052. #. type: item
  2053. #: guix-git/doc/contributing.texi:1778
  2054. #, no-wrap
  2055. msgid "@code{contributing.texi}: Translate this string as"
  2056. msgstr ""
  2057. #. type: itemize
  2058. #: guix-git/doc/contributing.texi:1780
  2059. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2060. msgstr ""
  2061. #. type: item
  2062. #: guix-git/doc/contributing.texi:1780
  2063. #, no-wrap
  2064. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2065. msgstr ""
  2066. #. type: itemize
  2067. #: guix-git/doc/contributing.texi:1783
  2068. 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."
  2069. msgstr ""
  2070. #. type: table
  2071. #: guix-git/doc/contributing.texi:1788
  2072. 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."
  2073. msgstr ""
  2074. #. type: table
  2075. #: guix-git/doc/contributing.texi:1795
  2076. 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."
  2077. msgstr ""
  2078. #. type: table
  2079. #: guix-git/doc/contributing.texi:1803
  2080. 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."
  2081. msgstr ""
  2082. #. type: table
  2083. #: guix-git/doc/contributing.texi:1813
  2084. 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."
  2085. msgstr ""
  2086. #. type: item
  2087. #: guix-git/doc/contributing.texi:1814
  2088. #, no-wrap
  2089. msgid "website"
  2090. msgstr ""
  2091. #. type: table
  2092. #: guix-git/doc/contributing.texi:1821
  2093. 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."
  2094. msgstr ""
  2095. #. type: example
  2096. #: guix-git/doc/contributing.texi:1828
  2097. #, no-wrap
  2098. msgid ""
  2099. "#. TRANSLATORS: Defining Packages is a section name\n"
  2100. "#. in the English (en) manual.\n"
  2101. "#: apps/base/templates/about.scm:64\n"
  2102. "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"
  2103. "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"
  2104. msgstr ""
  2105. #. type: table
  2106. #: guix-git/doc/contributing.texi:1831
  2107. msgid "Note that you need to include the same markups. You cannot skip any."
  2108. msgstr ""
  2109. #. type: Plain text
  2110. #: guix-git/doc/contributing.texi:1839
  2111. 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."
  2112. msgstr ""
  2113. #. type: subsubheading
  2114. #: guix-git/doc/contributing.texi:1840
  2115. #, no-wrap
  2116. msgid "Outside of Weblate"
  2117. msgstr ""
  2118. #. type: Plain text
  2119. #: guix-git/doc/contributing.texi:1843
  2120. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2121. msgstr ""
  2122. #. type: item
  2123. #: guix-git/doc/contributing.texi:1845
  2124. #, no-wrap
  2125. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2126. msgstr ""
  2127. #. type: itemize
  2128. #: guix-git/doc/contributing.texi:1851
  2129. 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."
  2130. msgstr ""
  2131. #. type: item
  2132. #: guix-git/doc/contributing.texi:1851
  2133. #, no-wrap
  2134. msgid "Guix blog posts cannot currently be translated."
  2135. msgstr ""
  2136. #. type: item
  2137. #: guix-git/doc/contributing.texi:1852
  2138. #, no-wrap
  2139. msgid "The installer script (for foreign distributions) is entirely in English."
  2140. msgstr ""
  2141. #. type: item
  2142. #: guix-git/doc/contributing.texi:1853
  2143. #, no-wrap
  2144. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2145. msgstr ""
  2146. #. type: itemize
  2147. #: guix-git/doc/contributing.texi:1855
  2148. msgid "outside of the Guix project. Guile itself is not internationalized."
  2149. msgstr ""
  2150. #. type: item
  2151. #: guix-git/doc/contributing.texi:1855
  2152. #, no-wrap
  2153. msgid "Other manuals linked from this manual or the cookbook might not be"
  2154. msgstr ""
  2155. #. type: itemize
  2156. #: guix-git/doc/contributing.texi:1857
  2157. msgid "translated."
  2158. msgstr ""
  2159. #. type: subsubheading
  2160. #: guix-git/doc/contributing.texi:1859
  2161. #, no-wrap
  2162. msgid "Translation Infrastructure"
  2163. msgstr ""
  2164. #. type: Plain text
  2165. #: guix-git/doc/contributing.texi:1870
  2166. 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."
  2167. msgstr ""
  2168. #. type: Plain text
  2169. #: guix-git/doc/contributing.texi:1874
  2170. 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."
  2171. msgstr ""
  2172. #. type: Plain text
  2173. #: guix-git/doc/contributing.texi:1880
  2174. 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."
  2175. msgstr ""
  2176. #. type: Plain text
  2177. #: guix-git/doc/contributing.texi:1884
  2178. 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."
  2179. msgstr ""
  2180. #. type: item
  2181. #: guix-git/doc/contributing.texi:1886
  2182. #, no-wrap
  2183. msgid "New po files for the @code{guix} and @code{packages} components must"
  2184. msgstr ""
  2185. #. type: itemize
  2186. #: guix-git/doc/contributing.texi:1889
  2187. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2188. msgstr ""
  2189. #. type: item
  2190. #: guix-git/doc/contributing.texi:1889
  2191. #, no-wrap
  2192. msgid "New po files for the @code{documentation-manual} component must be"
  2193. msgstr ""
  2194. #. type: itemize
  2195. #: guix-git/doc/contributing.texi:1895
  2196. 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}."
  2197. msgstr ""
  2198. #. type: item
  2199. #: guix-git/doc/contributing.texi:1895
  2200. #, no-wrap
  2201. msgid "New po files for the @code{documentation-cookbook} component must be"
  2202. msgstr ""
  2203. #. type: itemize
  2204. #: guix-git/doc/contributing.texi:1901
  2205. 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}."
  2206. msgstr ""
  2207. #. type: item
  2208. #: guix-git/doc/contributing.texi:1901
  2209. #, no-wrap
  2210. msgid "New po files for the @code{website} component must be added to the"
  2211. msgstr ""
  2212. #. type: itemize
  2213. #: guix-git/doc/contributing.texi:1906
  2214. 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)."
  2215. msgstr ""
  2216. #. type: Plain text
  2217. #: guix-git/doc/guix.texi:7
  2218. msgid "@documentencoding UTF-8"
  2219. msgstr ""
  2220. "@documentencoding UTF-8\n"
  2221. "@documentlanguage sk"
  2222. #. type: title
  2223. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:128
  2224. #, no-wrap
  2225. msgid "GNU Guix Reference Manual"
  2226. msgstr ""
  2227. #. type: include
  2228. #: guix-git/doc/guix.texi:10
  2229. #, no-wrap
  2230. msgid "version.texi"
  2231. msgstr "version-sk.texi"
  2232. #. type: copying
  2233. #: guix-git/doc/guix.texi:101
  2234. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 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 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 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 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 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 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020 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 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@*"
  2235. msgstr ""
  2236. #. type: copying
  2237. #: guix-git/doc/guix.texi:108
  2238. 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''."
  2239. 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“."
  2240. #. type: dircategory
  2241. #: guix-git/doc/guix.texi:110
  2242. #, no-wrap
  2243. msgid "System administration"
  2244. msgstr "Správa systému"
  2245. #. type: menuentry
  2246. #: guix-git/doc/guix.texi:118
  2247. msgid "Guix: (guix)"
  2248. msgstr ""
  2249. #. type: menuentry
  2250. #: guix-git/doc/guix.texi:118
  2251. msgid "Manage installed software and system configuration."
  2252. msgstr ""
  2253. #. type: menuentry
  2254. #: guix-git/doc/guix.texi:118
  2255. msgid "guix package: (guix)Invoking guix package"
  2256. msgstr ""
  2257. #. type: menuentry
  2258. #: guix-git/doc/guix.texi:118
  2259. msgid "Installing, removing, and upgrading packages."
  2260. msgstr ""
  2261. #. type: menuentry
  2262. #: guix-git/doc/guix.texi:118
  2263. msgid "guix gc: (guix)Invoking guix gc"
  2264. msgstr ""
  2265. #. type: menuentry
  2266. #: guix-git/doc/guix.texi:118
  2267. msgid "Reclaiming unused disk space."
  2268. msgstr ""
  2269. #. type: menuentry
  2270. #: guix-git/doc/guix.texi:118
  2271. msgid "guix pull: (guix)Invoking guix pull"
  2272. msgstr ""
  2273. #. type: menuentry
  2274. #: guix-git/doc/guix.texi:118
  2275. msgid "Update the list of available packages."
  2276. msgstr ""
  2277. #. type: menuentry
  2278. #: guix-git/doc/guix.texi:118
  2279. msgid "guix system: (guix)Invoking guix system"
  2280. msgstr ""
  2281. #. type: menuentry
  2282. #: guix-git/doc/guix.texi:118
  2283. msgid "Manage the operating system configuration."
  2284. msgstr ""
  2285. #. type: menuentry
  2286. #: guix-git/doc/guix.texi:118
  2287. msgid "guix deploy: (guix)Invoking guix deploy"
  2288. msgstr ""
  2289. #. type: menuentry
  2290. #: guix-git/doc/guix.texi:118
  2291. msgid "Manage operating system configurations for remote hosts."
  2292. msgstr ""
  2293. #. type: dircategory
  2294. #: guix-git/doc/guix.texi:120
  2295. #, no-wrap
  2296. msgid "Software development"
  2297. msgstr ""
  2298. #. type: menuentry
  2299. #: guix-git/doc/guix.texi:125
  2300. msgid "guix environment: (guix)Invoking guix environment"
  2301. msgstr ""
  2302. #. type: menuentry
  2303. #: guix-git/doc/guix.texi:125
  2304. msgid "Building development environments with Guix."
  2305. msgstr ""
  2306. #. type: menuentry
  2307. #: guix-git/doc/guix.texi:125
  2308. msgid "guix build: (guix)Invoking guix build"
  2309. msgstr ""
  2310. #. type: menuentry
  2311. #: guix-git/doc/guix.texi:125
  2312. msgid "Building packages."
  2313. msgstr ""
  2314. #. type: menuentry
  2315. #: guix-git/doc/guix.texi:125
  2316. msgid "guix pack: (guix)Invoking guix pack"
  2317. msgstr ""
  2318. #. type: menuentry
  2319. #: guix-git/doc/guix.texi:125
  2320. msgid "Creating binary bundles."
  2321. msgstr ""
  2322. #. type: subtitle
  2323. #: guix-git/doc/guix.texi:129
  2324. #, no-wrap
  2325. msgid "Using the GNU Guix Functional Package Manager"
  2326. msgstr ""
  2327. #. type: author
  2328. #: guix-git/doc/guix.texi:130
  2329. #, no-wrap
  2330. msgid "The GNU Guix Developers"
  2331. msgstr "Vývojári GNU Guix"
  2332. #. type: titlepage
  2333. #: guix-git/doc/guix.texi:136
  2334. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2335. msgstr ""
  2336. #. type: node
  2337. #: guix-git/doc/guix.texi:143
  2338. #, no-wrap
  2339. msgid "Top"
  2340. msgstr "Top"
  2341. #. type: top
  2342. #: guix-git/doc/guix.texi:144
  2343. #, no-wrap
  2344. msgid "GNU Guix"
  2345. msgstr ""
  2346. #. type: Plain text
  2347. #: guix-git/doc/guix.texi:148
  2348. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2349. msgstr ""
  2350. #. type: Plain text
  2351. #: guix-git/doc/guix.texi:160
  2352. 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})."
  2353. msgstr ""
  2354. #. type: chapter
  2355. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:189
  2356. #: guix-git/doc/guix.texi:394 guix-git/doc/guix.texi:395
  2357. #, no-wrap
  2358. msgid "Introduction"
  2359. msgstr ""
  2360. #. type: menuentry
  2361. #: guix-git/doc/guix.texi:179
  2362. msgid "What is Guix about?"
  2363. msgstr ""
  2364. #. type: chapter
  2365. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:194
  2366. #: guix-git/doc/guix.texi:575 guix-git/doc/guix.texi:576
  2367. #, no-wrap
  2368. msgid "Installation"
  2369. msgstr ""
  2370. #. type: menuentry
  2371. #: guix-git/doc/guix.texi:179
  2372. msgid "Installing Guix."
  2373. msgstr ""
  2374. #. type: chapter
  2375. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:210
  2376. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2035
  2377. #, no-wrap
  2378. msgid "System Installation"
  2379. msgstr ""
  2380. #. type: menuentry
  2381. #: guix-git/doc/guix.texi:179
  2382. msgid "Installing the whole operating system."
  2383. msgstr ""
  2384. #. type: chapter
  2385. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:2752
  2386. #: guix-git/doc/guix.texi:2753
  2387. #, no-wrap
  2388. msgid "Getting Started"
  2389. msgstr ""
  2390. #. type: menuentry
  2391. #: guix-git/doc/guix.texi:179
  2392. msgid "Your first steps."
  2393. msgstr ""
  2394. #. type: chapter
  2395. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:227
  2396. #: guix-git/doc/guix.texi:2960 guix-git/doc/guix.texi:2961
  2397. #, no-wrap
  2398. msgid "Package Management"
  2399. msgstr ""
  2400. #. type: menuentry
  2401. #: guix-git/doc/guix.texi:179
  2402. msgid "Package installation, upgrade, etc."
  2403. msgstr ""
  2404. #. type: chapter
  2405. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:250
  2406. #: guix-git/doc/guix.texi:5015 guix-git/doc/guix.texi:5016
  2407. #, no-wrap
  2408. msgid "Channels"
  2409. msgstr ""
  2410. #. type: menuentry
  2411. #: guix-git/doc/guix.texi:179
  2412. msgid "Customizing the package collection."
  2413. msgstr ""
  2414. #. type: chapter
  2415. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:264
  2416. #: guix-git/doc/guix.texi:5543 guix-git/doc/guix.texi:5544
  2417. #, no-wrap
  2418. msgid "Development"
  2419. msgstr ""
  2420. #. type: menuentry
  2421. #: guix-git/doc/guix.texi:179
  2422. msgid "Guix-aided software development."
  2423. msgstr ""
  2424. #. type: chapter
  2425. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:271
  2426. #: guix-git/doc/guix.texi:6398 guix-git/doc/guix.texi:6399
  2427. #, no-wrap
  2428. msgid "Programming Interface"
  2429. msgstr ""
  2430. #. type: menuentry
  2431. #: guix-git/doc/guix.texi:179
  2432. msgid "Using Guix in Scheme."
  2433. msgstr ""
  2434. #. type: chapter
  2435. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:290
  2436. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:10223
  2437. #, no-wrap
  2438. msgid "Utilities"
  2439. msgstr ""
  2440. #. type: menuentry
  2441. #: guix-git/doc/guix.texi:179
  2442. msgid "Package management commands."
  2443. msgstr ""
  2444. #. type: chapter
  2445. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:315
  2446. #: guix-git/doc/guix.texi:13538 guix-git/doc/guix.texi:13539
  2447. #, no-wrap
  2448. msgid "System Configuration"
  2449. msgstr "Nastavenie systému"
  2450. #. type: menuentry
  2451. #: guix-git/doc/guix.texi:179
  2452. msgid "Configuring the operating system."
  2453. msgstr ""
  2454. #. type: chapter
  2455. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:35367
  2456. #: guix-git/doc/guix.texi:35368
  2457. #, fuzzy, no-wrap
  2458. #| msgid "System Configuration"
  2459. msgid "Home Configuration"
  2460. msgstr "Nastavenie systému"
  2461. #. type: menuentry
  2462. #: guix-git/doc/guix.texi:179
  2463. msgid "Configuring the home environment."
  2464. msgstr ""
  2465. #. type: chapter
  2466. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36108
  2467. #: guix-git/doc/guix.texi:36109
  2468. #, no-wrap
  2469. msgid "Documentation"
  2470. msgstr "Dokumentácia"
  2471. #. type: menuentry
  2472. #: guix-git/doc/guix.texi:179
  2473. msgid "Browsing software user manuals."
  2474. msgstr ""
  2475. #. type: chapter
  2476. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:381
  2477. #: guix-git/doc/guix.texi:36172 guix-git/doc/guix.texi:36173
  2478. #, no-wrap
  2479. msgid "Installing Debugging Files"
  2480. msgstr ""
  2481. #. type: menuentry
  2482. #: guix-git/doc/guix.texi:179
  2483. msgid "Feeding the debugger."
  2484. msgstr ""
  2485. #. type: chapter
  2486. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36313
  2487. #: guix-git/doc/guix.texi:36314
  2488. #, no-wrap
  2489. msgid "Security Updates"
  2490. msgstr ""
  2491. #. type: menuentry
  2492. #: guix-git/doc/guix.texi:179
  2493. msgid "Deploying security fixes quickly."
  2494. msgstr ""
  2495. #. type: chapter
  2496. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:386
  2497. #: guix-git/doc/guix.texi:36428 guix-git/doc/guix.texi:36429
  2498. #, no-wrap
  2499. msgid "Bootstrapping"
  2500. msgstr ""
  2501. #. type: menuentry
  2502. #: guix-git/doc/guix.texi:179
  2503. msgid "GNU/Linux built from scratch."
  2504. msgstr ""
  2505. #. type: node
  2506. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36720
  2507. #, no-wrap
  2508. msgid "Porting"
  2509. msgstr ""
  2510. #. type: menuentry
  2511. #: guix-git/doc/guix.texi:179
  2512. msgid "Targeting another platform or kernel."
  2513. msgstr ""
  2514. #. type: menuentry
  2515. #: guix-git/doc/guix.texi:179
  2516. msgid "Your help needed!"
  2517. msgstr ""
  2518. #. type: chapter
  2519. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36768
  2520. #: guix-git/doc/guix.texi:36769
  2521. #, no-wrap
  2522. msgid "Acknowledgments"
  2523. msgstr "Poďakovanie"
  2524. #. type: menuentry
  2525. #: guix-git/doc/guix.texi:184
  2526. msgid "Thanks!"
  2527. msgstr "Ďakujeme!"
  2528. #. type: appendix
  2529. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36790
  2530. #: guix-git/doc/guix.texi:36791
  2531. #, no-wrap
  2532. msgid "GNU Free Documentation License"
  2533. msgstr "GNU Free Documentation License"
  2534. #. type: menuentry
  2535. #: guix-git/doc/guix.texi:184
  2536. msgid "The license of this manual."
  2537. msgstr ""
  2538. #. type: unnumbered
  2539. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36796
  2540. #: guix-git/doc/guix.texi:36797
  2541. #, no-wrap
  2542. msgid "Concept Index"
  2543. msgstr "Zoznam pojmov"
  2544. #. type: menuentry
  2545. #: guix-git/doc/guix.texi:184
  2546. msgid "Concepts."
  2547. msgstr "Pojmy."
  2548. #. type: unnumbered
  2549. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36800
  2550. #: guix-git/doc/guix.texi:36801
  2551. #, no-wrap
  2552. msgid "Programming Index"
  2553. msgstr ""
  2554. #. type: menuentry
  2555. #: guix-git/doc/guix.texi:184
  2556. msgid "Data types, functions, and variables."
  2557. msgstr ""
  2558. #. type: menuentry
  2559. #: guix-git/doc/guix.texi:187
  2560. msgid "--- The Detailed Node Listing ---"
  2561. msgstr "--- Podrobný zoznam uzlov ---"
  2562. #. type: section
  2563. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2564. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:424
  2565. #, no-wrap
  2566. msgid "Managing Software the Guix Way"
  2567. msgstr ""
  2568. #. type: menuentry
  2569. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2570. msgid "What's special."
  2571. msgstr ""
  2572. #. type: section
  2573. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2574. #: guix-git/doc/guix.texi:478 guix-git/doc/guix.texi:479
  2575. #, no-wrap
  2576. msgid "GNU Distribution"
  2577. msgstr ""
  2578. #. type: menuentry
  2579. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2580. msgid "The packages and tools."
  2581. msgstr ""
  2582. #. type: section
  2583. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2584. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:618
  2585. #, no-wrap
  2586. msgid "Binary Installation"
  2587. msgstr ""
  2588. #. type: menuentry
  2589. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2590. msgid "Getting Guix running in no time!"
  2591. msgstr ""
  2592. #. type: section
  2593. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2594. #: guix-git/doc/guix.texi:857 guix-git/doc/guix.texi:858
  2595. #, no-wrap
  2596. msgid "Requirements"
  2597. msgstr ""
  2598. #. type: menuentry
  2599. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2600. msgid "Software needed to build and run Guix."
  2601. msgstr ""
  2602. #. type: section
  2603. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2604. #: guix-git/doc/guix.texi:943 guix-git/doc/guix.texi:944
  2605. #, no-wrap
  2606. msgid "Running the Test Suite"
  2607. msgstr ""
  2608. #. type: menuentry
  2609. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2610. msgid "Testing Guix."
  2611. msgstr ""
  2612. #. type: section
  2613. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:204
  2614. #: guix-git/doc/guix.texi:615 guix-git/doc/guix.texi:1040
  2615. #: guix-git/doc/guix.texi:1041
  2616. #, no-wrap
  2617. msgid "Setting Up the Daemon"
  2618. msgstr ""
  2619. #. type: menuentry
  2620. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2621. msgid "Preparing the build daemon's environment."
  2622. msgstr ""
  2623. #. type: node
  2624. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2625. #: guix-git/doc/guix.texi:1510
  2626. #, no-wrap
  2627. msgid "Invoking guix-daemon"
  2628. msgstr ""
  2629. #. type: menuentry
  2630. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2631. msgid "Running the build daemon."
  2632. msgstr ""
  2633. #. type: section
  2634. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2635. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:1813
  2636. #, no-wrap
  2637. msgid "Application Setup"
  2638. msgstr ""
  2639. #. type: menuentry
  2640. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2641. msgid "Application-specific setup."
  2642. msgstr ""
  2643. #. type: section
  2644. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2645. #: guix-git/doc/guix.texi:1997 guix-git/doc/guix.texi:1998
  2646. #, no-wrap
  2647. msgid "Upgrading Guix"
  2648. msgstr ""
  2649. #. type: menuentry
  2650. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2651. msgid "Upgrading Guix and its build daemon."
  2652. msgstr ""
  2653. #. type: subsection
  2654. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2655. #: guix-git/doc/guix.texi:1062 guix-git/doc/guix.texi:1063
  2656. #, no-wrap
  2657. msgid "Build Environment Setup"
  2658. msgstr ""
  2659. #. type: menuentry
  2660. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2661. msgid "Preparing the isolated build environment."
  2662. msgstr ""
  2663. #. type: node
  2664. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2665. #: guix-git/doc/guix.texi:1181
  2666. #, no-wrap
  2667. msgid "Daemon Offload Setup"
  2668. msgstr ""
  2669. #. type: menuentry
  2670. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2671. msgid "Offloading builds to remote machines."
  2672. msgstr ""
  2673. #. type: subsection
  2674. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2675. #: guix-git/doc/guix.texi:1419 guix-git/doc/guix.texi:1420
  2676. #, no-wrap
  2677. msgid "SELinux Support"
  2678. msgstr ""
  2679. #. type: menuentry
  2680. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2681. msgid "Using an SELinux policy for the daemon."
  2682. msgstr ""
  2683. #. type: section
  2684. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:1455
  2685. #: guix-git/doc/guix.texi:2068 guix-git/doc/guix.texi:2070
  2686. #: guix-git/doc/guix.texi:2071
  2687. #, no-wrap
  2688. msgid "Limitations"
  2689. msgstr ""
  2690. #. type: menuentry
  2691. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2692. msgid "What you can expect."
  2693. msgstr ""
  2694. #. type: section
  2695. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2696. #: guix-git/doc/guix.texi:2096 guix-git/doc/guix.texi:2097
  2697. #, no-wrap
  2698. msgid "Hardware Considerations"
  2699. msgstr ""
  2700. #. type: menuentry
  2701. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2702. msgid "Supported hardware."
  2703. msgstr ""
  2704. #. type: section
  2705. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2706. #: guix-git/doc/guix.texi:2131 guix-git/doc/guix.texi:2132
  2707. #, no-wrap
  2708. msgid "USB Stick and DVD Installation"
  2709. msgstr ""
  2710. #. type: menuentry
  2711. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2712. msgid "Preparing the installation medium."
  2713. msgstr ""
  2714. #. type: section
  2715. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2716. #: guix-git/doc/guix.texi:2212 guix-git/doc/guix.texi:2213
  2717. #, no-wrap
  2718. msgid "Preparing for Installation"
  2719. msgstr ""
  2720. #. type: menuentry
  2721. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2722. msgid "Networking, partitioning, etc."
  2723. msgstr ""
  2724. #. type: section
  2725. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2726. #: guix-git/doc/guix.texi:2235 guix-git/doc/guix.texi:2236
  2727. #, no-wrap
  2728. msgid "Guided Graphical Installation"
  2729. msgstr ""
  2730. #. type: menuentry
  2731. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2732. msgid "Easy graphical installation."
  2733. msgstr ""
  2734. #. type: section
  2735. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:222
  2736. #: guix-git/doc/guix.texi:2068 guix-git/doc/guix.texi:2266
  2737. #: guix-git/doc/guix.texi:2267
  2738. #, no-wrap
  2739. msgid "Manual Installation"
  2740. msgstr ""
  2741. #. type: menuentry
  2742. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2743. msgid "Manual installation for wizards."
  2744. msgstr ""
  2745. #. type: section
  2746. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2747. #: guix-git/doc/guix.texi:2635 guix-git/doc/guix.texi:2636
  2748. #, no-wrap
  2749. msgid "After System Installation"
  2750. msgstr ""
  2751. #. type: menuentry
  2752. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2753. msgid "When installation succeeded."
  2754. msgstr ""
  2755. #. type: node
  2756. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2757. #: guix-git/doc/guix.texi:2669
  2758. #, no-wrap
  2759. msgid "Installing Guix in a VM"
  2760. msgstr ""
  2761. #. type: menuentry
  2762. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2763. msgid "Guix System playground."
  2764. msgstr ""
  2765. #. type: section
  2766. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2767. #: guix-git/doc/guix.texi:2720 guix-git/doc/guix.texi:2721
  2768. #, no-wrap
  2769. msgid "Building the Installation Image"
  2770. msgstr ""
  2771. #. type: menuentry
  2772. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2773. msgid "How this comes to be."
  2774. msgstr ""
  2775. #. type: node
  2776. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2777. #: guix-git/doc/guix.texi:2286
  2778. #, no-wrap
  2779. msgid "Keyboard Layout and Networking and Partitioning"
  2780. msgstr ""
  2781. #. type: menuentry
  2782. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2783. msgid "Initial setup."
  2784. msgstr ""
  2785. #. type: subsection
  2786. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2787. #: guix-git/doc/guix.texi:2546 guix-git/doc/guix.texi:2547
  2788. #, no-wrap
  2789. msgid "Proceeding with the Installation"
  2790. msgstr ""
  2791. #. type: menuentry
  2792. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2793. msgid "Installing."
  2794. msgstr ""
  2795. #. type: section
  2796. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2797. #: guix-git/doc/guix.texi:2994 guix-git/doc/guix.texi:2995
  2798. #, no-wrap
  2799. msgid "Features"
  2800. msgstr "Možnosti"
  2801. #. type: menuentry
  2802. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2803. msgid "How Guix will make your life brighter."
  2804. msgstr ""
  2805. #. type: node
  2806. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2807. #: guix-git/doc/guix.texi:3084
  2808. #, no-wrap
  2809. msgid "Invoking guix package"
  2810. msgstr ""
  2811. #. type: menuentry
  2812. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2813. msgid "Package installation, removal, etc."
  2814. msgstr ""
  2815. #. type: section
  2816. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:240
  2817. #: guix-git/doc/guix.texi:2992 guix-git/doc/guix.texi:3700
  2818. #: guix-git/doc/guix.texi:3701
  2819. #, no-wrap
  2820. msgid "Substitutes"
  2821. msgstr ""
  2822. #. type: menuentry
  2823. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2824. msgid "Downloading pre-built binaries."
  2825. msgstr ""
  2826. #. type: section
  2827. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2828. #: guix-git/doc/guix.texi:4036 guix-git/doc/guix.texi:4037
  2829. #, no-wrap
  2830. msgid "Packages with Multiple Outputs"
  2831. msgstr ""
  2832. #. type: menuentry
  2833. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2834. msgid "Single source package, multiple outputs."
  2835. msgstr ""
  2836. #. type: node
  2837. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2838. #: guix-git/doc/guix.texi:4090
  2839. #, no-wrap
  2840. msgid "Invoking guix gc"
  2841. msgstr ""
  2842. #. type: menuentry
  2843. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2844. msgid "Running the garbage collector."
  2845. msgstr ""
  2846. #. type: node
  2847. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2848. #: guix-git/doc/guix.texi:4300
  2849. #, no-wrap
  2850. msgid "Invoking guix pull"
  2851. msgstr ""
  2852. #. type: menuentry
  2853. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2854. msgid "Fetching the latest Guix and distribution."
  2855. msgstr ""
  2856. #. type: node
  2857. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2858. #: guix-git/doc/guix.texi:4547
  2859. #, no-wrap
  2860. msgid "Invoking guix time-machine"
  2861. msgstr ""
  2862. #. type: menuentry
  2863. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2864. msgid "Running an older revision of Guix."
  2865. msgstr ""
  2866. #. type: section
  2867. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2868. #: guix-git/doc/guix.texi:4602 guix-git/doc/guix.texi:4603
  2869. #, no-wrap
  2870. msgid "Inferiors"
  2871. msgstr ""
  2872. #. type: menuentry
  2873. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2874. msgid "Interacting with another revision of Guix."
  2875. msgstr ""
  2876. #. type: node
  2877. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2878. #: guix-git/doc/guix.texi:4730
  2879. #, no-wrap
  2880. msgid "Invoking guix describe"
  2881. msgstr ""
  2882. #. type: menuentry
  2883. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2884. msgid "Display information about your Guix revision."
  2885. msgstr ""
  2886. #. type: node
  2887. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2888. #: guix-git/doc/guix.texi:4825
  2889. #, no-wrap
  2890. msgid "Invoking guix archive"
  2891. msgstr ""
  2892. #. type: menuentry
  2893. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2894. msgid "Exporting and importing store files."
  2895. msgstr ""
  2896. #. type: subsection
  2897. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2898. #: guix-git/doc/guix.texi:3726 guix-git/doc/guix.texi:3727
  2899. #, no-wrap
  2900. msgid "Official Substitute Servers"
  2901. msgstr ""
  2902. #. type: menuentry
  2903. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2904. msgid "One particular source of substitutes."
  2905. msgstr ""
  2906. #. type: subsection
  2907. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2908. #: guix-git/doc/guix.texi:3756 guix-git/doc/guix.texi:3757
  2909. #, no-wrap
  2910. msgid "Substitute Server Authorization"
  2911. msgstr ""
  2912. #. type: menuentry
  2913. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2914. msgid "How to enable or disable substitutes."
  2915. msgstr ""
  2916. #. type: subsection
  2917. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2918. #: guix-git/doc/guix.texi:3826 guix-git/doc/guix.texi:3827
  2919. #, no-wrap
  2920. msgid "Getting Substitutes from Other Servers"
  2921. msgstr ""
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2924. msgid "Substitute diversity."
  2925. msgstr ""
  2926. #. type: subsection
  2927. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2928. #: guix-git/doc/guix.texi:3931 guix-git/doc/guix.texi:3932
  2929. #, no-wrap
  2930. msgid "Substitute Authentication"
  2931. msgstr ""
  2932. #. type: menuentry
  2933. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2934. msgid "How Guix verifies substitutes."
  2935. msgstr ""
  2936. #. type: subsection
  2937. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2938. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2939. #, no-wrap
  2940. msgid "Proxy Settings"
  2941. msgstr ""
  2942. #. type: menuentry
  2943. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2944. msgid "How to get substitutes via proxy."
  2945. msgstr ""
  2946. #. type: subsection
  2947. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2948. #: guix-git/doc/guix.texi:3978 guix-git/doc/guix.texi:3979
  2949. #, no-wrap
  2950. msgid "Substitution Failure"
  2951. msgstr ""
  2952. #. type: menuentry
  2953. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2954. msgid "What happens when substitution fails."
  2955. msgstr ""
  2956. #. type: subsection
  2957. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2958. #: guix-git/doc/guix.texi:4006 guix-git/doc/guix.texi:4007
  2959. #, no-wrap
  2960. msgid "On Trusting Binaries"
  2961. msgstr ""
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2964. msgid "How can you trust that binary blob?"
  2965. msgstr ""
  2966. #. type: section
  2967. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2968. #: guix-git/doc/guix.texi:5048 guix-git/doc/guix.texi:5049
  2969. #, no-wrap
  2970. msgid "Specifying Additional Channels"
  2971. msgstr ""
  2972. #. type: menuentry
  2973. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2974. msgid "Extending the package collection."
  2975. msgstr ""
  2976. #. type: section
  2977. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2978. #: guix-git/doc/guix.texi:5098 guix-git/doc/guix.texi:5099
  2979. #, no-wrap
  2980. msgid "Using a Custom Guix Channel"
  2981. msgstr ""
  2982. #. type: menuentry
  2983. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2984. msgid "Using a customized Guix."
  2985. msgstr ""
  2986. #. type: section
  2987. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2988. #: guix-git/doc/guix.texi:5120 guix-git/doc/guix.texi:5121
  2989. #, no-wrap
  2990. msgid "Replicating Guix"
  2991. msgstr ""
  2992. #. type: menuentry
  2993. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2994. msgid "Running the @emph{exact same} Guix."
  2995. msgstr ""
  2996. #. type: section
  2997. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2998. #: guix-git/doc/guix.texi:5161 guix-git/doc/guix.texi:5162
  2999. #, no-wrap
  3000. msgid "Channel Authentication"
  3001. msgstr ""
  3002. #. type: menuentry
  3003. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3004. msgid "How Guix verifies what it fetches."
  3005. msgstr ""
  3006. #. type: section
  3007. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3008. #: guix-git/doc/guix.texi:5201 guix-git/doc/guix.texi:5202
  3009. #, no-wrap
  3010. msgid "Channels with Substitutes"
  3011. msgstr ""
  3012. #. type: menuentry
  3013. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3014. msgid "Using channels with available substitutes."
  3015. msgstr ""
  3016. #. type: section
  3017. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3018. #: guix-git/doc/guix.texi:5226 guix-git/doc/guix.texi:5227
  3019. #, no-wrap
  3020. msgid "Creating a Channel"
  3021. msgstr ""
  3022. #. type: menuentry
  3023. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3024. msgid "How to write your custom channel."
  3025. msgstr ""
  3026. #. type: section
  3027. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3028. #: guix-git/doc/guix.texi:5293 guix-git/doc/guix.texi:5294
  3029. #, no-wrap
  3030. msgid "Package Modules in a Sub-directory"
  3031. msgstr ""
  3032. #. type: menuentry
  3033. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3034. msgid "Specifying the channel's package modules location."
  3035. msgstr ""
  3036. #. type: section
  3037. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3038. #: guix-git/doc/guix.texi:5307 guix-git/doc/guix.texi:5308
  3039. #, no-wrap
  3040. msgid "Declaring Channel Dependencies"
  3041. msgstr ""
  3042. #. type: menuentry
  3043. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3044. msgid "How to depend on other channels."
  3045. msgstr ""
  3046. #. type: section
  3047. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3048. #: guix-git/doc/guix.texi:5349 guix-git/doc/guix.texi:5350
  3049. #, no-wrap
  3050. msgid "Specifying Channel Authorizations"
  3051. msgstr ""
  3052. #. type: menuentry
  3053. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3054. msgid "Defining channel authors authorizations."
  3055. msgstr ""
  3056. #. type: section
  3057. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3058. #: guix-git/doc/guix.texi:5450 guix-git/doc/guix.texi:5451
  3059. #, no-wrap
  3060. msgid "Primary URL"
  3061. msgstr ""
  3062. #. type: menuentry
  3063. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3064. msgid "Distinguishing mirror to original."
  3065. msgstr ""
  3066. #. type: section
  3067. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3068. #: guix-git/doc/guix.texi:5473 guix-git/doc/guix.texi:5474
  3069. #, no-wrap
  3070. msgid "Writing Channel News"
  3071. msgstr ""
  3072. #. type: menuentry
  3073. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3074. msgid "Communicating information to channel's users."
  3075. msgstr ""
  3076. #. type: node
  3077. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3078. #: guix-git/doc/guix.texi:5564
  3079. #, no-wrap
  3080. msgid "Invoking guix environment"
  3081. msgstr ""
  3082. #. type: menuentry
  3083. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3084. msgid "Setting up development environments."
  3085. msgstr ""
  3086. #. type: node
  3087. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3088. #: guix-git/doc/guix.texi:5924
  3089. #, no-wrap
  3090. msgid "Invoking guix pack"
  3091. msgstr ""
  3092. #. type: menuentry
  3093. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3094. msgid "Creating software bundles."
  3095. msgstr ""
  3096. #. type: section
  3097. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3098. #: guix-git/doc/guix.texi:6310 guix-git/doc/guix.texi:6311
  3099. #, no-wrap
  3100. msgid "The GCC toolchain"
  3101. msgstr ""
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3104. msgid "Working with languages supported by GCC."
  3105. msgstr ""
  3106. #. type: node
  3107. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3108. #: guix-git/doc/guix.texi:6336
  3109. #, no-wrap
  3110. msgid "Invoking guix git authenticate"
  3111. msgstr ""
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3114. msgid "Authenticating Git repositories."
  3115. msgstr ""
  3116. #. type: section
  3117. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3118. #: guix-git/doc/guix.texi:6440 guix-git/doc/guix.texi:6441
  3119. #, no-wrap
  3120. msgid "Package Modules"
  3121. msgstr ""
  3122. #. type: menuentry
  3123. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3124. msgid "Packages from the programmer's viewpoint."
  3125. msgstr ""
  3126. #. type: section
  3127. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:285
  3128. #: guix-git/doc/guix.texi:6438 guix-git/doc/guix.texi:6502
  3129. #: guix-git/doc/guix.texi:6503
  3130. #, no-wrap
  3131. msgid "Defining Packages"
  3132. msgstr ""
  3133. #. type: menuentry
  3134. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3135. msgid "Defining new packages."
  3136. msgstr ""
  3137. #. type: section
  3138. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3139. #: guix-git/doc/guix.texi:7072 guix-git/doc/guix.texi:7073
  3140. #, no-wrap
  3141. msgid "Defining Package Variants"
  3142. msgstr ""
  3143. #. type: menuentry
  3144. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3145. msgid "Customizing packages."
  3146. msgstr ""
  3147. #. type: section
  3148. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3149. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:7305
  3150. #, no-wrap
  3151. msgid "Build Systems"
  3152. msgstr ""
  3153. #. type: menuentry
  3154. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3155. msgid "Specifying how packages are built."
  3156. msgstr ""
  3157. #. type: subsection
  3158. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3159. #: guix-git/doc/guix.texi:8336 guix-git/doc/guix.texi:8337
  3160. #: guix-git/doc/guix.texi:8740
  3161. #, no-wrap
  3162. msgid "Build Phases"
  3163. msgstr ""
  3164. #. type: menuentry
  3165. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3166. msgid "Phases of the build process of a package."
  3167. msgstr ""
  3168. #. type: section
  3169. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3170. #: guix-git/doc/guix.texi:8530 guix-git/doc/guix.texi:8531
  3171. #, no-wrap
  3172. msgid "Build Utilities"
  3173. msgstr ""
  3174. #. type: menuentry
  3175. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3176. msgid "Helpers for your package definitions and more."
  3177. msgstr ""
  3178. #. type: section
  3179. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3180. #: guix-git/doc/guix.texi:8817 guix-git/doc/guix.texi:8818
  3181. #, no-wrap
  3182. msgid "The Store"
  3183. msgstr ""
  3184. #. type: menuentry
  3185. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3186. msgid "Manipulating the package store."
  3187. msgstr ""
  3188. #. type: section
  3189. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3190. #: guix-git/doc/guix.texi:8970 guix-git/doc/guix.texi:8971
  3191. #, no-wrap
  3192. msgid "Derivations"
  3193. msgstr ""
  3194. #. type: menuentry
  3195. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3196. msgid "Low-level interface to package derivations."
  3197. msgstr ""
  3198. #. type: section
  3199. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3200. #: guix-git/doc/guix.texi:9164 guix-git/doc/guix.texi:9165
  3201. #, no-wrap
  3202. msgid "The Store Monad"
  3203. msgstr ""
  3204. #. type: menuentry
  3205. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3206. msgid "Purely functional interface to the store."
  3207. msgstr ""
  3208. #. type: section
  3209. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3210. #: guix-git/doc/guix.texi:9483 guix-git/doc/guix.texi:9484
  3211. #, no-wrap
  3212. msgid "G-Expressions"
  3213. msgstr ""
  3214. #. type: menuentry
  3215. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3216. msgid "Manipulating build expressions."
  3217. msgstr ""
  3218. #. type: node
  3219. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3220. #: guix-git/doc/guix.texi:10122
  3221. #, no-wrap
  3222. msgid "Invoking guix repl"
  3223. msgstr ""
  3224. #. type: menuentry
  3225. #: guix-git/doc/guix.texi:283
  3226. msgid "Programming Guix in Guile."
  3227. msgstr ""
  3228. #. type: node
  3229. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3230. #: guix-git/doc/guix.texi:6708
  3231. #, no-wrap
  3232. msgid "package Reference"
  3233. msgstr ""
  3234. #. type: menuentry
  3235. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3236. msgid "The package data type."
  3237. msgstr ""
  3238. #. type: node
  3239. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3240. #: guix-git/doc/guix.texi:6880
  3241. #, no-wrap
  3242. msgid "origin Reference"
  3243. msgstr ""
  3244. #. type: menuentry
  3245. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3246. msgid "The origin data type."
  3247. msgstr ""
  3248. #. type: node
  3249. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3250. #: guix-git/doc/guix.texi:10248
  3251. #, no-wrap
  3252. msgid "Invoking guix build"
  3253. msgstr ""
  3254. #. type: menuentry
  3255. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3256. msgid "Building packages from the command line."
  3257. msgstr ""
  3258. #. type: node
  3259. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3260. #: guix-git/doc/guix.texi:11085
  3261. #, no-wrap
  3262. msgid "Invoking guix edit"
  3263. msgstr ""
  3264. #. type: menuentry
  3265. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3266. msgid "Editing package definitions."
  3267. msgstr ""
  3268. #. type: node
  3269. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3270. #: guix-git/doc/guix.texi:11115
  3271. #, no-wrap
  3272. msgid "Invoking guix download"
  3273. msgstr ""
  3274. #. type: menuentry
  3275. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3276. msgid "Downloading a file and printing its hash."
  3277. msgstr ""
  3278. #. type: node
  3279. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3280. #: guix-git/doc/guix.texi:11173
  3281. #, no-wrap
  3282. msgid "Invoking guix hash"
  3283. msgstr ""
  3284. #. type: menuentry
  3285. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3286. msgid "Computing the cryptographic hash of a file."
  3287. msgstr ""
  3288. #. type: node
  3289. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3290. #: guix-git/doc/guix.texi:11245
  3291. #, no-wrap
  3292. msgid "Invoking guix import"
  3293. msgstr ""
  3294. #. type: menuentry
  3295. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3296. msgid "Importing package definitions."
  3297. msgstr ""
  3298. #. type: node
  3299. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3300. #: guix-git/doc/guix.texi:11775
  3301. #, no-wrap
  3302. msgid "Invoking guix refresh"
  3303. msgstr ""
  3304. #. type: menuentry
  3305. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3306. msgid "Updating package definitions."
  3307. msgstr ""
  3308. #. type: node
  3309. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3310. #: guix-git/doc/guix.texi:12147
  3311. #, no-wrap
  3312. msgid "Invoking guix lint"
  3313. msgstr ""
  3314. #. type: menuentry
  3315. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3316. msgid "Finding errors in package definitions."
  3317. msgstr ""
  3318. #. type: node
  3319. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3320. #: guix-git/doc/guix.texi:12316
  3321. #, no-wrap
  3322. msgid "Invoking guix size"
  3323. msgstr ""
  3324. #. type: menuentry
  3325. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3326. msgid "Profiling disk usage."
  3327. msgstr ""
  3328. #. type: node
  3329. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3330. #: guix-git/doc/guix.texi:12460
  3331. #, no-wrap
  3332. msgid "Invoking guix graph"
  3333. msgstr ""
  3334. #. type: menuentry
  3335. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3336. msgid "Visualizing the graph of packages."
  3337. msgstr ""
  3338. #. type: node
  3339. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3340. #: guix-git/doc/guix.texi:12741
  3341. #, no-wrap
  3342. msgid "Invoking guix publish"
  3343. msgstr ""
  3344. #. type: menuentry
  3345. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3346. msgid "Sharing substitutes."
  3347. msgstr ""
  3348. #. type: node
  3349. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3350. #: guix-git/doc/guix.texi:13010
  3351. #, no-wrap
  3352. msgid "Invoking guix challenge"
  3353. msgstr ""
  3354. #. type: menuentry
  3355. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3356. msgid "Challenging substitute servers."
  3357. msgstr ""
  3358. #. type: node
  3359. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3360. #: guix-git/doc/guix.texi:13193
  3361. #, no-wrap
  3362. msgid "Invoking guix copy"
  3363. msgstr ""
  3364. #. type: menuentry
  3365. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3366. msgid "Copying to and from a remote store."
  3367. msgstr ""
  3368. #. type: node
  3369. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3370. #: guix-git/doc/guix.texi:13256
  3371. #, no-wrap
  3372. msgid "Invoking guix container"
  3373. msgstr ""
  3374. #. type: menuentry
  3375. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3376. msgid "Process isolation."
  3377. msgstr ""
  3378. #. type: node
  3379. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3380. #: guix-git/doc/guix.texi:13310
  3381. #, no-wrap
  3382. msgid "Invoking guix weather"
  3383. msgstr ""
  3384. #. type: menuentry
  3385. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3386. msgid "Assessing substitute availability."
  3387. msgstr ""
  3388. #. type: node
  3389. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3390. #: guix-git/doc/guix.texi:13440
  3391. #, no-wrap
  3392. msgid "Invoking guix processes"
  3393. msgstr ""
  3394. #. type: menuentry
  3395. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3396. msgid "Listing client processes."
  3397. msgstr ""
  3398. #. type: section
  3399. #: guix-git/doc/guix.texi:308 guix-git/doc/guix.texi:10249
  3400. #, no-wrap
  3401. msgid "Invoking @command{guix build}"
  3402. msgstr ""
  3403. #. type: subsection
  3404. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3405. #: guix-git/doc/guix.texi:10302 guix-git/doc/guix.texi:10303
  3406. #, no-wrap
  3407. msgid "Common Build Options"
  3408. msgstr ""
  3409. #. type: menuentry
  3410. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3411. msgid "Build options for most commands."
  3412. msgstr ""
  3413. #. type: subsection
  3414. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3415. #: guix-git/doc/guix.texi:10457 guix-git/doc/guix.texi:10458
  3416. #, no-wrap
  3417. msgid "Package Transformation Options"
  3418. msgstr ""
  3419. #. type: menuentry
  3420. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3421. msgid "Creating variants of packages."
  3422. msgstr ""
  3423. #. type: subsection
  3424. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3425. #: guix-git/doc/guix.texi:10767 guix-git/doc/guix.texi:10768
  3426. #, no-wrap
  3427. msgid "Additional Build Options"
  3428. msgstr ""
  3429. #. type: menuentry
  3430. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3431. msgid "Options specific to 'guix build'."
  3432. msgstr ""
  3433. #. type: subsection
  3434. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3435. #: guix-git/doc/guix.texi:11005 guix-git/doc/guix.texi:11006
  3436. #, no-wrap
  3437. msgid "Debugging Build Failures"
  3438. msgstr ""
  3439. #. type: menuentry
  3440. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3441. msgid "Real life packaging experience."
  3442. msgstr ""
  3443. #. type: section
  3444. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3445. #: guix-git/doc/guix.texi:13583 guix-git/doc/guix.texi:13584
  3446. #, no-wrap
  3447. msgid "Using the Configuration System"
  3448. msgstr ""
  3449. #. type: menuentry
  3450. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3451. msgid "Customizing your GNU system."
  3452. msgstr ""
  3453. #. type: node
  3454. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3455. #: guix-git/doc/guix.texi:13834
  3456. #, no-wrap
  3457. msgid "operating-system Reference"
  3458. msgstr ""
  3459. #. type: menuentry
  3460. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3461. msgid "Detail of operating-system declarations."
  3462. msgstr ""
  3463. #. type: section
  3464. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3465. #: guix-git/doc/guix.texi:14086 guix-git/doc/guix.texi:14087
  3466. #, no-wrap
  3467. msgid "File Systems"
  3468. msgstr ""
  3469. #. type: menuentry
  3470. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3471. msgid "Configuring file system mounts."
  3472. msgstr ""
  3473. #. type: section
  3474. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3475. #: guix-git/doc/guix.texi:14439 guix-git/doc/guix.texi:14440
  3476. #, no-wrap
  3477. msgid "Mapped Devices"
  3478. msgstr ""
  3479. #. type: menuentry
  3480. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3481. msgid "Block device extra processing."
  3482. msgstr ""
  3483. #. type: section
  3484. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3485. #: guix-git/doc/guix.texi:14587 guix-git/doc/guix.texi:14588
  3486. #, no-wrap
  3487. msgid "User Accounts"
  3488. msgstr ""
  3489. #. type: menuentry
  3490. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3491. msgid "Specifying user accounts."
  3492. msgstr ""
  3493. #. type: section
  3494. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:2293
  3495. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:14763
  3496. #: guix-git/doc/guix.texi:14764
  3497. #, no-wrap
  3498. msgid "Keyboard Layout"
  3499. msgstr ""
  3500. #. type: menuentry
  3501. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3502. msgid "How the system interprets key strokes."
  3503. msgstr ""
  3504. #. type: section
  3505. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1820
  3506. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:14909
  3507. #: guix-git/doc/guix.texi:14910
  3508. #, no-wrap
  3509. msgid "Locales"
  3510. msgstr ""
  3511. #. type: menuentry
  3512. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3513. msgid "Language and cultural convention settings."
  3514. msgstr ""
  3515. #. type: section
  3516. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:339
  3517. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:15049
  3518. #: guix-git/doc/guix.texi:15050
  3519. #, no-wrap
  3520. msgid "Services"
  3521. msgstr "Služby"
  3522. #. type: menuentry
  3523. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3524. msgid "Specifying system services."
  3525. msgstr ""
  3526. #. type: section
  3527. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3528. #: guix-git/doc/guix.texi:32939 guix-git/doc/guix.texi:32940
  3529. #, no-wrap
  3530. msgid "Setuid Programs"
  3531. msgstr ""
  3532. #. type: menuentry
  3533. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3534. msgid "Programs running with root privileges."
  3535. msgstr ""
  3536. #. type: section
  3537. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1969
  3538. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:33012
  3539. #: guix-git/doc/guix.texi:33013
  3540. #, no-wrap
  3541. msgid "X.509 Certificates"
  3542. msgstr ""
  3543. #. type: menuentry
  3544. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3545. msgid "Authenticating HTTPS servers."
  3546. msgstr ""
  3547. #. type: section
  3548. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1863
  3549. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:33075
  3550. #: guix-git/doc/guix.texi:33076
  3551. #, no-wrap
  3552. msgid "Name Service Switch"
  3553. msgstr ""
  3554. #. type: menuentry
  3555. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3556. msgid "Configuring libc's name service switch."
  3557. msgstr ""
  3558. #. type: section
  3559. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3560. #: guix-git/doc/guix.texi:33213 guix-git/doc/guix.texi:33214
  3561. #, no-wrap
  3562. msgid "Initial RAM Disk"
  3563. msgstr ""
  3564. #. type: menuentry
  3565. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3566. msgid "Linux-Libre bootstrapping."
  3567. msgstr ""
  3568. #. type: section
  3569. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3570. #: guix-git/doc/guix.texi:33408 guix-git/doc/guix.texi:33409
  3571. #, no-wrap
  3572. msgid "Bootloader Configuration"
  3573. msgstr ""
  3574. #. type: menuentry
  3575. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3576. msgid "Configuring the boot loader."
  3577. msgstr ""
  3578. #. type: node
  3579. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3580. #: guix-git/doc/guix.texi:33706
  3581. #, no-wrap
  3582. msgid "Invoking guix system"
  3583. msgstr ""
  3584. #. type: menuentry
  3585. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3586. msgid "Instantiating a system configuration."
  3587. msgstr ""
  3588. #. type: node
  3589. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3590. #: guix-git/doc/guix.texi:34291
  3591. #, no-wrap
  3592. msgid "Invoking guix deploy"
  3593. msgstr ""
  3594. #. type: menuentry
  3595. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3596. msgid "Deploying a system configuration to a remote host."
  3597. msgstr ""
  3598. #. type: node
  3599. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3600. #: guix-git/doc/guix.texi:34497
  3601. #, no-wrap
  3602. msgid "Running Guix in a VM"
  3603. msgstr ""
  3604. #. type: menuentry
  3605. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3606. msgid "How to run Guix System in a virtual machine."
  3607. msgstr ""
  3608. #. type: section
  3609. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:374
  3610. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:34631
  3611. #: guix-git/doc/guix.texi:34632
  3612. #, no-wrap
  3613. msgid "Defining Services"
  3614. msgstr ""
  3615. #. type: menuentry
  3616. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3617. msgid "Adding new service definitions."
  3618. msgstr ""
  3619. #. type: menuentry
  3620. #: guix-git/doc/guix.texi:335
  3621. #, fuzzy
  3622. #| msgid "System Configuration"
  3623. msgid "Home Environment Configuration"
  3624. msgstr "Nastavenie systému"
  3625. #. type: node
  3626. #: guix-git/doc/guix.texi:337 guix-git/doc/guix.texi:35430
  3627. #: guix-git/doc/guix.texi:35878
  3628. #, no-wrap
  3629. msgid "Invoking guix home"
  3630. msgstr ""
  3631. #. type: menuentry
  3632. #: guix-git/doc/guix.texi:337
  3633. msgid "Instantiating a home environment configuration."
  3634. msgstr ""
  3635. #. type: subsection
  3636. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3637. #: guix-git/doc/guix.texi:15134 guix-git/doc/guix.texi:15135
  3638. #, no-wrap
  3639. msgid "Base Services"
  3640. msgstr ""
  3641. #. type: menuentry
  3642. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3643. msgid "Essential system services."
  3644. msgstr ""
  3645. #. type: subsection
  3646. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3647. #: guix-git/doc/guix.texi:16061 guix-git/doc/guix.texi:16062
  3648. #, no-wrap
  3649. msgid "Scheduled Job Execution"
  3650. msgstr ""
  3651. #. type: menuentry
  3652. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3653. msgid "The mcron service."
  3654. msgstr ""
  3655. #. type: subsection
  3656. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3657. #: guix-git/doc/guix.texi:16211 guix-git/doc/guix.texi:16212
  3658. #, no-wrap
  3659. msgid "Log Rotation"
  3660. msgstr ""
  3661. #. type: menuentry
  3662. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3663. msgid "The rottlog service."
  3664. msgstr ""
  3665. #. type: subsection
  3666. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3667. #: guix-git/doc/guix.texi:16324 guix-git/doc/guix.texi:16325
  3668. #, no-wrap
  3669. msgid "Networking Services"
  3670. msgstr ""
  3671. #. type: menuentry
  3672. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3673. msgid "Network setup, SSH daemon, etc."
  3674. msgstr ""
  3675. #. type: subsection
  3676. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3677. #: guix-git/doc/guix.texi:17989 guix-git/doc/guix.texi:17990
  3678. #, no-wrap
  3679. msgid "Unattended Upgrades"
  3680. msgstr ""
  3681. #. type: menuentry
  3682. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3683. msgid "Automated system upgrades."
  3684. msgstr ""
  3685. #. type: subsection
  3686. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3687. #: guix-git/doc/guix.texi:18127 guix-git/doc/guix.texi:18128
  3688. #, no-wrap
  3689. msgid "X Window"
  3690. msgstr ""
  3691. #. type: menuentry
  3692. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3693. msgid "Graphical display."
  3694. msgstr ""
  3695. #. type: subsection
  3696. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3697. #: guix-git/doc/guix.texi:18512 guix-git/doc/guix.texi:18513
  3698. #, no-wrap
  3699. msgid "Printing Services"
  3700. msgstr ""
  3701. #. type: menuentry
  3702. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3703. msgid "Local and remote printer support."
  3704. msgstr ""
  3705. #. type: subsection
  3706. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3707. #: guix-git/doc/guix.texi:19359 guix-git/doc/guix.texi:19360
  3708. #, no-wrap
  3709. msgid "Desktop Services"
  3710. msgstr ""
  3711. #. type: menuentry
  3712. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3713. msgid "D-Bus and desktop services."
  3714. msgstr ""
  3715. #. type: subsection
  3716. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3717. #: guix-git/doc/guix.texi:19877 guix-git/doc/guix.texi:19878
  3718. #, no-wrap
  3719. msgid "Sound Services"
  3720. msgstr ""
  3721. #. type: menuentry
  3722. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3723. msgid "ALSA and Pulseaudio services."
  3724. msgstr ""
  3725. #. type: subsection
  3726. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3727. #: guix-git/doc/guix.texi:20017 guix-git/doc/guix.texi:20018
  3728. #, no-wrap
  3729. msgid "Database Services"
  3730. msgstr ""
  3731. #. type: menuentry
  3732. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3733. msgid "SQL databases, key-value stores, etc."
  3734. msgstr ""
  3735. #. type: subsection
  3736. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3737. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20353
  3738. #, no-wrap
  3739. msgid "Mail Services"
  3740. msgstr ""
  3741. #. type: menuentry
  3742. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3743. msgid "IMAP, POP3, SMTP, and all that."
  3744. msgstr ""
  3745. #. type: subsection
  3746. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3747. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22212
  3748. #, no-wrap
  3749. msgid "Messaging Services"
  3750. msgstr ""
  3751. #. type: menuentry
  3752. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3753. msgid "Messaging services."
  3754. msgstr ""
  3755. #. type: subsection
  3756. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3757. #: guix-git/doc/guix.texi:22714 guix-git/doc/guix.texi:22715
  3758. #, no-wrap
  3759. msgid "Telephony Services"
  3760. msgstr ""
  3761. #. type: menuentry
  3762. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3763. msgid "Telephony services."
  3764. msgstr ""
  3765. #. type: subsection
  3766. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3767. #: guix-git/doc/guix.texi:23945 guix-git/doc/guix.texi:23946
  3768. #, no-wrap
  3769. msgid "Monitoring Services"
  3770. msgstr ""
  3771. #. type: menuentry
  3772. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3773. msgid "Monitoring services."
  3774. msgstr ""
  3775. #. type: subsection
  3776. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3777. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24457
  3778. #, no-wrap
  3779. msgid "Kerberos Services"
  3780. msgstr ""
  3781. #. type: menuentry
  3782. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3783. msgid "Kerberos services."
  3784. msgstr ""
  3785. #. type: subsection
  3786. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3787. #: guix-git/doc/guix.texi:24582 guix-git/doc/guix.texi:24583
  3788. #, no-wrap
  3789. msgid "LDAP Services"
  3790. msgstr ""
  3791. #. type: menuentry
  3792. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3793. msgid "LDAP services."
  3794. msgstr ""
  3795. #. type: subsection
  3796. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3797. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25062
  3798. #, no-wrap
  3799. msgid "Web Services"
  3800. msgstr ""
  3801. #. type: menuentry
  3802. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3803. msgid "Web servers."
  3804. msgstr ""
  3805. #. type: subsection
  3806. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3807. #: guix-git/doc/guix.texi:26263 guix-git/doc/guix.texi:26264
  3808. #, no-wrap
  3809. msgid "Certificate Services"
  3810. msgstr ""
  3811. #. type: menuentry
  3812. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3813. msgid "TLS certificates via Let's Encrypt."
  3814. msgstr ""
  3815. #. type: subsection
  3816. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3817. #: guix-git/doc/guix.texi:26444 guix-git/doc/guix.texi:26445
  3818. #, no-wrap
  3819. msgid "DNS Services"
  3820. msgstr ""
  3821. #. type: menuentry
  3822. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3823. msgid "DNS daemons."
  3824. msgstr ""
  3825. #. type: subsection
  3826. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3827. #: guix-git/doc/guix.texi:27189 guix-git/doc/guix.texi:27190
  3828. #, no-wrap
  3829. msgid "VPN Services"
  3830. msgstr ""
  3831. #. type: menuentry
  3832. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3833. msgid "VPN daemons."
  3834. msgstr ""
  3835. #. type: subsection
  3836. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3837. #: guix-git/doc/guix.texi:27698 guix-git/doc/guix.texi:27699
  3838. #, no-wrap
  3839. msgid "Network File System"
  3840. msgstr ""
  3841. #. type: menuentry
  3842. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3843. msgid "NFS related services."
  3844. msgstr ""
  3845. #. type: subsection
  3846. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3847. #: guix-git/doc/guix.texi:27894 guix-git/doc/guix.texi:27895
  3848. #, no-wrap
  3849. msgid "Continuous Integration"
  3850. msgstr ""
  3851. #. type: menuentry
  3852. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3853. msgid "Cuirass and Laminar services."
  3854. msgstr ""
  3855. #. type: subsection
  3856. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3857. #: guix-git/doc/guix.texi:28180 guix-git/doc/guix.texi:28181
  3858. #, no-wrap
  3859. msgid "Power Management Services"
  3860. msgstr ""
  3861. #. type: menuentry
  3862. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3863. msgid "Extending battery life."
  3864. msgstr ""
  3865. #. type: subsection
  3866. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3867. #: guix-git/doc/guix.texi:28714 guix-git/doc/guix.texi:28715
  3868. #, no-wrap
  3869. msgid "Audio Services"
  3870. msgstr ""
  3871. #. type: menuentry
  3872. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3873. msgid "The MPD."
  3874. msgstr ""
  3875. #. type: subsection
  3876. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3877. #: guix-git/doc/guix.texi:28833 guix-git/doc/guix.texi:28834
  3878. #, no-wrap
  3879. msgid "Virtualization Services"
  3880. msgstr ""
  3881. #. type: menuentry
  3882. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3883. msgid "Virtualization services."
  3884. msgstr ""
  3885. #. type: subsection
  3886. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3887. #: guix-git/doc/guix.texi:30448 guix-git/doc/guix.texi:30449
  3888. #, no-wrap
  3889. msgid "Version Control Services"
  3890. msgstr ""
  3891. #. type: menuentry
  3892. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3893. msgid "Providing remote access to Git repositories."
  3894. msgstr ""
  3895. #. type: subsection
  3896. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3897. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31785
  3898. #, no-wrap
  3899. msgid "Game Services"
  3900. msgstr ""
  3901. #. type: menuentry
  3902. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3903. msgid "Game servers."
  3904. msgstr ""
  3905. #. type: subsection
  3906. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3907. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31817
  3908. #, no-wrap
  3909. msgid "PAM Mount Service"
  3910. msgstr ""
  3911. #. type: menuentry
  3912. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3913. msgid "Service to mount volumes when logging in."
  3914. msgstr ""
  3915. #. type: subsection
  3916. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3917. #: guix-git/doc/guix.texi:31899 guix-git/doc/guix.texi:31900
  3918. #, no-wrap
  3919. msgid "Guix Services"
  3920. msgstr ""
  3921. #. type: menuentry
  3922. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3923. msgid "Services relating specifically to Guix."
  3924. msgstr ""
  3925. #. type: subsection
  3926. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3927. #: guix-git/doc/guix.texi:32183 guix-git/doc/guix.texi:32184
  3928. #, no-wrap
  3929. msgid "Linux Services"
  3930. msgstr ""
  3931. #. type: menuentry
  3932. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3933. msgid "Services tied to the Linux kernel."
  3934. msgstr ""
  3935. #. type: subsection
  3936. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3937. #: guix-git/doc/guix.texi:32410 guix-git/doc/guix.texi:32411
  3938. #, no-wrap
  3939. msgid "Hurd Services"
  3940. msgstr ""
  3941. #. type: menuentry
  3942. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3943. msgid "Services specific for a Hurd System."
  3944. msgstr ""
  3945. #. type: subsection
  3946. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3947. #: guix-git/doc/guix.texi:32452 guix-git/doc/guix.texi:32453
  3948. #, no-wrap
  3949. msgid "Miscellaneous Services"
  3950. msgstr ""
  3951. #. type: menuentry
  3952. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3953. msgid "Other services."
  3954. msgstr ""
  3955. #. type: subsection
  3956. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3957. #: guix-git/doc/guix.texi:34645 guix-git/doc/guix.texi:34646
  3958. #, no-wrap
  3959. msgid "Service Composition"
  3960. msgstr ""
  3961. #. type: menuentry
  3962. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3963. msgid "The model for composing services."
  3964. msgstr ""
  3965. #. type: subsection
  3966. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3967. #: guix-git/doc/guix.texi:34701 guix-git/doc/guix.texi:34702
  3968. #, no-wrap
  3969. msgid "Service Types and Services"
  3970. msgstr ""
  3971. #. type: menuentry
  3972. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3973. msgid "Types and services."
  3974. msgstr ""
  3975. #. type: subsection
  3976. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3977. #: guix-git/doc/guix.texi:34838 guix-git/doc/guix.texi:34839
  3978. #, no-wrap
  3979. msgid "Service Reference"
  3980. msgstr ""
  3981. #. type: menuentry
  3982. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3983. msgid "API reference."
  3984. msgstr ""
  3985. #. type: subsection
  3986. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3987. #: guix-git/doc/guix.texi:35148 guix-git/doc/guix.texi:35149
  3988. #, no-wrap
  3989. msgid "Shepherd Services"
  3990. msgstr ""
  3991. #. type: menuentry
  3992. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3993. msgid "A particular type of service."
  3994. msgstr ""
  3995. #. type: section
  3996. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  3997. #: guix-git/doc/guix.texi:36191 guix-git/doc/guix.texi:36192
  3998. #, no-wrap
  3999. msgid "Separate Debug Info"
  4000. msgstr ""
  4001. #. type: menuentry
  4002. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  4003. msgid "Installing 'debug' outputs."
  4004. msgstr ""
  4005. #. type: section
  4006. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  4007. #: guix-git/doc/guix.texi:36250 guix-git/doc/guix.texi:36251
  4008. #, no-wrap
  4009. msgid "Rebuilding Debug Info"
  4010. msgstr ""
  4011. #. type: menuentry
  4012. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  4013. msgid "Building missing debug info."
  4014. msgstr ""
  4015. #. type: node
  4016. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4017. #: guix-git/doc/guix.texi:36469
  4018. #, no-wrap
  4019. msgid "Reduced Binary Seed Bootstrap"
  4020. msgstr ""
  4021. #. type: menuentry
  4022. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4023. msgid "A Bootstrap worthy of GNU."
  4024. msgstr ""
  4025. #. type: section
  4026. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4027. #: guix-git/doc/guix.texi:36544 guix-git/doc/guix.texi:36545
  4028. #, no-wrap
  4029. msgid "Preparing to Use the Bootstrap Binaries"
  4030. msgstr ""
  4031. #. type: menuentry
  4032. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4033. msgid "Building that what matters most."
  4034. msgstr ""
  4035. #. type: cindex
  4036. #: guix-git/doc/guix.texi:397
  4037. #, no-wrap
  4038. msgid "purpose"
  4039. msgstr ""
  4040. #. type: Plain text
  4041. #: guix-git/doc/guix.texi:405
  4042. 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."
  4043. msgstr ""
  4044. #. type: cindex
  4045. #: guix-git/doc/guix.texi:406 guix-git/doc/guix.texi:481
  4046. #, no-wrap
  4047. msgid "Guix System"
  4048. msgstr ""
  4049. #. type: cindex
  4050. #: guix-git/doc/guix.texi:407
  4051. #, no-wrap
  4052. msgid "GuixSD, now Guix System"
  4053. msgstr ""
  4054. #. type: cindex
  4055. #: guix-git/doc/guix.texi:408
  4056. #, no-wrap
  4057. msgid "Guix System Distribution, now Guix System"
  4058. msgstr ""
  4059. #. type: Plain text
  4060. #: guix-git/doc/guix.texi:417
  4061. 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}."
  4062. msgstr ""
  4063. #. type: cindex
  4064. #: guix-git/doc/guix.texi:426
  4065. #, no-wrap
  4066. msgid "user interfaces"
  4067. msgstr ""
  4068. #. type: Plain text
  4069. #: guix-git/doc/guix.texi:432
  4070. 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})."
  4071. msgstr ""
  4072. #. type: cindex
  4073. #: guix-git/doc/guix.texi:432
  4074. #, no-wrap
  4075. msgid "build daemon"
  4076. msgstr ""
  4077. #. type: Plain text
  4078. #: guix-git/doc/guix.texi:436
  4079. 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})."
  4080. msgstr ""
  4081. #. type: cindex
  4082. #: guix-git/doc/guix.texi:437
  4083. #, no-wrap
  4084. msgid "extensibility of the distribution"
  4085. msgstr ""
  4086. #. type: cindex
  4087. #: guix-git/doc/guix.texi:438 guix-git/doc/guix.texi:6462
  4088. #, no-wrap
  4089. msgid "customization, of packages"
  4090. msgstr ""
  4091. #. type: Plain text
  4092. #: guix-git/doc/guix.texi:447
  4093. 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})."
  4094. msgstr ""
  4095. #. type: cindex
  4096. #: guix-git/doc/guix.texi:448
  4097. #, no-wrap
  4098. msgid "functional package management"
  4099. msgstr ""
  4100. #. type: cindex
  4101. #: guix-git/doc/guix.texi:449
  4102. #, no-wrap
  4103. msgid "isolation"
  4104. msgstr ""
  4105. #. type: Plain text
  4106. #: guix-git/doc/guix.texi:464
  4107. 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."
  4108. msgstr ""
  4109. #. type: cindex
  4110. #: guix-git/doc/guix.texi:465 guix-git/doc/guix.texi:8820
  4111. #, no-wrap
  4112. msgid "store"
  4113. msgstr ""
  4114. #. type: Plain text
  4115. #: guix-git/doc/guix.texi:472
  4116. 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."
  4117. msgstr ""
  4118. #. type: Plain text
  4119. #: guix-git/doc/guix.texi:476
  4120. 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})."
  4121. msgstr ""
  4122. #. type: Plain text
  4123. #: guix-git/doc/guix.texi:491
  4124. 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."
  4125. msgstr ""
  4126. #. type: Plain text
  4127. #: guix-git/doc/guix.texi:497
  4128. 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}):"
  4129. msgstr ""
  4130. #. type: example
  4131. #: guix-git/doc/guix.texi:500
  4132. #, no-wrap
  4133. msgid "guix package --list-available\n"
  4134. msgstr ""
  4135. #. type: Plain text
  4136. #: guix-git/doc/guix.texi:506
  4137. 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."
  4138. msgstr ""
  4139. #. type: Plain text
  4140. #: guix-git/doc/guix.texi:508
  4141. msgid "Packages are currently available on the following platforms:"
  4142. msgstr ""
  4143. #. type: item
  4144. #: guix-git/doc/guix.texi:511 guix-git/doc/guix.texi:2140
  4145. #, no-wrap
  4146. msgid "x86_64-linux"
  4147. msgstr ""
  4148. #. type: table
  4149. #: guix-git/doc/guix.texi:513
  4150. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4151. msgstr ""
  4152. #. type: item
  4153. #: guix-git/doc/guix.texi:514 guix-git/doc/guix.texi:2143
  4154. #, no-wrap
  4155. msgid "i686-linux"
  4156. msgstr ""
  4157. #. type: table
  4158. #: guix-git/doc/guix.texi:516
  4159. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4160. msgstr ""
  4161. #. type: item
  4162. #: guix-git/doc/guix.texi:517
  4163. #, no-wrap
  4164. msgid "armhf-linux"
  4165. msgstr ""
  4166. #. type: table
  4167. #: guix-git/doc/guix.texi:521
  4168. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4169. msgstr ""
  4170. #. type: item
  4171. #: guix-git/doc/guix.texi:522
  4172. #, no-wrap
  4173. msgid "aarch64-linux"
  4174. msgstr ""
  4175. #. type: table
  4176. #: guix-git/doc/guix.texi:524
  4177. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4178. msgstr ""
  4179. #. type: item
  4180. #: guix-git/doc/guix.texi:525
  4181. #, no-wrap
  4182. msgid "i586-gnu"
  4183. msgstr ""
  4184. #. type: table
  4185. #: guix-git/doc/guix.texi:528
  4186. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4187. msgstr ""
  4188. #. type: table
  4189. #: guix-git/doc/guix.texi:534
  4190. 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!"
  4191. msgstr ""
  4192. #. type: item
  4193. #: guix-git/doc/guix.texi:535
  4194. #, no-wrap
  4195. msgid "mips64el-linux (deprecated)"
  4196. msgstr ""
  4197. #. type: table
  4198. #: guix-git/doc/guix.texi:541
  4199. 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."
  4200. msgstr ""
  4201. #. type: table
  4202. #: guix-git/doc/guix.texi:552
  4203. 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!"
  4204. msgstr ""
  4205. #. type: Plain text
  4206. #: guix-git/doc/guix.texi:562
  4207. 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."
  4208. msgstr ""
  4209. #. type: Plain text
  4210. #: guix-git/doc/guix.texi:565
  4211. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4212. msgstr ""
  4213. #. type: Plain text
  4214. #: guix-git/doc/guix.texi:569
  4215. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4216. msgstr ""
  4217. #. type: Plain text
  4218. #: guix-git/doc/guix.texi:572
  4219. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4220. msgstr ""
  4221. #. type: cindex
  4222. #: guix-git/doc/guix.texi:578
  4223. #, no-wrap
  4224. msgid "installing Guix"
  4225. msgstr ""
  4226. #. type: quotation
  4227. #: guix-git/doc/guix.texi:590
  4228. 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."
  4229. msgstr ""
  4230. #. type: cindex
  4231. #: guix-git/doc/guix.texi:592 guix-git/doc/guix.texi:1815
  4232. #, no-wrap
  4233. msgid "foreign distro"
  4234. msgstr ""
  4235. #. type: cindex
  4236. #: guix-git/doc/guix.texi:593
  4237. #, no-wrap
  4238. msgid "directories related to foreign distro"
  4239. msgstr ""
  4240. #. type: Plain text
  4241. #: guix-git/doc/guix.texi:598
  4242. 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."
  4243. msgstr ""
  4244. #. type: Plain text
  4245. #: guix-git/doc/guix.texi:601
  4246. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4247. msgstr ""
  4248. #. type: Plain text
  4249. #: guix-git/doc/guix.texi:606
  4250. 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."
  4251. msgstr ""
  4252. #. type: cindex
  4253. #: guix-git/doc/guix.texi:620
  4254. #, no-wrap
  4255. msgid "installing Guix from binaries"
  4256. msgstr ""
  4257. #. type: cindex
  4258. #: guix-git/doc/guix.texi:621
  4259. #, no-wrap
  4260. msgid "installer script"
  4261. msgstr ""
  4262. #. type: Plain text
  4263. #: guix-git/doc/guix.texi:627
  4264. 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."
  4265. msgstr ""
  4266. #. type: quotation
  4267. #: guix-git/doc/guix.texi:635
  4268. 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:"
  4269. msgstr ""
  4270. #. type: example
  4271. #: guix-git/doc/guix.texi:641
  4272. #, no-wrap
  4273. msgid ""
  4274. "cd /tmp\n"
  4275. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4276. "chmod +x guix-install.sh\n"
  4277. "./guix-install.sh\n"
  4278. msgstr ""
  4279. #. type: quotation
  4280. #: guix-git/doc/guix.texi:645
  4281. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4282. msgstr ""
  4283. #. type: Plain text
  4284. #: guix-git/doc/guix.texi:648
  4285. msgid "Installing goes along these lines:"
  4286. msgstr ""
  4287. #. type: cindex
  4288. #: guix-git/doc/guix.texi:651
  4289. #, no-wrap
  4290. msgid "downloading Guix binary"
  4291. msgstr ""
  4292. #. type: enumerate
  4293. #: guix-git/doc/guix.texi:657
  4294. 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})."
  4295. msgstr ""
  4296. #. type: enumerate
  4297. #: guix-git/doc/guix.texi:661
  4298. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4299. msgstr ""
  4300. #. type: example
  4301. #: guix-git/doc/guix.texi:665
  4302. #, no-wrap
  4303. msgid ""
  4304. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4305. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4306. msgstr ""
  4307. #. type: Plain text
  4308. #: guix-git/doc/guix.texi:669 guix-git/doc/guix.texi:2158
  4309. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4310. msgstr ""
  4311. #. type: example
  4312. #: guix-git/doc/guix.texi:673
  4313. #, no-wrap
  4314. msgid ""
  4315. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4316. " -qO - | gpg --import -\n"
  4317. msgstr ""
  4318. #. type: Plain text
  4319. #: guix-git/doc/guix.texi:677 guix-git/doc/guix.texi:2166
  4320. msgid "and rerun the @code{gpg --verify} command."
  4321. msgstr ""
  4322. #. type: Plain text
  4323. #: guix-git/doc/guix.texi:680 guix-git/doc/guix.texi:2169
  4324. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4325. msgstr ""
  4326. #. type: enumerate
  4327. #: guix-git/doc/guix.texi:686
  4328. 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:"
  4329. msgstr ""
  4330. #. type: example
  4331. #: guix-git/doc/guix.texi:692
  4332. #, no-wrap
  4333. msgid ""
  4334. "# cd /tmp\n"
  4335. "# tar --warning=no-timestamp -xf \\\n"
  4336. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4337. "# mv var/guix /var/ && mv gnu /\n"
  4338. msgstr ""
  4339. #. type: enumerate
  4340. #: guix-git/doc/guix.texi:697
  4341. 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)."
  4342. msgstr ""
  4343. #. type: enumerate
  4344. #: guix-git/doc/guix.texi:700
  4345. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4346. msgstr ""
  4347. #. type: enumerate
  4348. #: guix-git/doc/guix.texi:710
  4349. 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."
  4350. msgstr ""
  4351. #. type: enumerate
  4352. #: guix-git/doc/guix.texi:714
  4353. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4354. msgstr ""
  4355. #. type: example
  4356. #: guix-git/doc/guix.texi:719
  4357. #, no-wrap
  4358. msgid ""
  4359. "# mkdir -p ~root/.config/guix\n"
  4360. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4361. " ~root/.config/guix/current\n"
  4362. msgstr ""
  4363. #. type: enumerate
  4364. #: guix-git/doc/guix.texi:723
  4365. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4366. msgstr ""
  4367. #. type: example
  4368. #: guix-git/doc/guix.texi:727
  4369. #, no-wrap
  4370. msgid ""
  4371. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4372. " source $GUIX_PROFILE/etc/profile\n"
  4373. msgstr ""
  4374. #. type: enumerate
  4375. #: guix-git/doc/guix.texi:732
  4376. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4377. msgstr ""
  4378. #. type: enumerate
  4379. #: guix-git/doc/guix.texi:735
  4380. msgid "Run the daemon, and set it to automatically start on boot."
  4381. msgstr ""
  4382. #. type: enumerate
  4383. #: guix-git/doc/guix.texi:738
  4384. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4385. msgstr ""
  4386. #. type: example
  4387. #: guix-git/doc/guix.texi:751
  4388. #, no-wrap
  4389. msgid ""
  4390. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4391. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4392. " /etc/systemd/system/\n"
  4393. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4394. msgstr ""
  4395. #. type: enumerate
  4396. #: guix-git/doc/guix.texi:754
  4397. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4398. msgstr ""
  4399. #. type: example
  4400. #: guix-git/doc/guix.texi:760
  4401. #, no-wrap
  4402. msgid ""
  4403. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4404. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4405. " /etc/systemd/system/\n"
  4406. "# systemctl enable --now guix-gc.timer\n"
  4407. msgstr ""
  4408. #. type: enumerate
  4409. #: guix-git/doc/guix.texi:764
  4410. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4411. msgstr ""
  4412. #. type: itemize
  4413. #: guix-git/doc/guix.texi:766 guix-git/doc/guix.texi:13000
  4414. msgid "If your host distro uses the Upstart init system:"
  4415. msgstr ""
  4416. #. type: example
  4417. #: guix-git/doc/guix.texi:772
  4418. #, no-wrap
  4419. msgid ""
  4420. "# initctl reload-configuration\n"
  4421. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4422. " /etc/init/\n"
  4423. "# start guix-daemon\n"
  4424. msgstr ""
  4425. #. type: enumerate
  4426. #: guix-git/doc/guix.texi:775
  4427. msgid "Otherwise, you can still start the daemon manually with:"
  4428. msgstr ""
  4429. #. type: example
  4430. #: guix-git/doc/guix.texi:779
  4431. #, no-wrap
  4432. msgid ""
  4433. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4434. " --build-users-group=guixbuild\n"
  4435. msgstr ""
  4436. #. type: enumerate
  4437. #: guix-git/doc/guix.texi:784
  4438. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4439. msgstr ""
  4440. #. type: example
  4441. #: guix-git/doc/guix.texi:789
  4442. #, no-wrap
  4443. msgid ""
  4444. "# mkdir -p /usr/local/bin\n"
  4445. "# cd /usr/local/bin\n"
  4446. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4447. msgstr ""
  4448. #. type: enumerate
  4449. #: guix-git/doc/guix.texi:793
  4450. msgid "It is also a good idea to make the Info version of this manual available there:"
  4451. msgstr ""
  4452. #. type: example
  4453. #: guix-git/doc/guix.texi:799
  4454. #, no-wrap
  4455. msgid ""
  4456. "# mkdir -p /usr/local/share/info\n"
  4457. "# cd /usr/local/share/info\n"
  4458. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4459. " do ln -s $i ; done\n"
  4460. msgstr ""
  4461. #. type: enumerate
  4462. #: guix-git/doc/guix.texi:805
  4463. 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)."
  4464. msgstr ""
  4465. #. type: cindex
  4466. #: guix-git/doc/guix.texi:807 guix-git/doc/guix.texi:3760
  4467. #: guix-git/doc/guix.texi:15675
  4468. #, no-wrap
  4469. msgid "substitutes, authorization thereof"
  4470. msgstr ""
  4471. #. type: enumerate
  4472. #: guix-git/doc/guix.texi:811
  4473. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4474. msgstr ""
  4475. #. type: example
  4476. #: guix-git/doc/guix.texi:817
  4477. #, no-wrap
  4478. msgid ""
  4479. "# guix archive --authorize < \\\n"
  4480. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4481. "# guix archive --authorize < \\\n"
  4482. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4483. msgstr ""
  4484. #. type: quotation
  4485. #: guix-git/doc/guix.texi:824
  4486. 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."
  4487. msgstr ""
  4488. #. type: enumerate
  4489. #: guix-git/doc/guix.texi:829
  4490. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4491. msgstr ""
  4492. #. type: Plain text
  4493. #: guix-git/doc/guix.texi:832
  4494. msgid "Voilà, the installation is complete!"
  4495. msgstr ""
  4496. #. type: Plain text
  4497. #: guix-git/doc/guix.texi:835
  4498. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4499. msgstr ""
  4500. #. type: example
  4501. #: guix-git/doc/guix.texi:838
  4502. #, no-wrap
  4503. msgid "# guix install hello\n"
  4504. msgstr ""
  4505. #. type: Plain text
  4506. #: guix-git/doc/guix.texi:842
  4507. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4508. msgstr ""
  4509. #. type: example
  4510. #: guix-git/doc/guix.texi:845
  4511. #, no-wrap
  4512. msgid "make guix-binary.@var{system}.tar.xz\n"
  4513. msgstr ""
  4514. #. type: Plain text
  4515. #: guix-git/doc/guix.texi:849
  4516. msgid "...@: which, in turn, runs:"
  4517. msgstr ""
  4518. #. type: example
  4519. #: guix-git/doc/guix.texi:853
  4520. #, no-wrap
  4521. msgid ""
  4522. "guix pack -s @var{system} --localstatedir \\\n"
  4523. " --profile-name=current-guix guix\n"
  4524. msgstr ""
  4525. #. type: Plain text
  4526. #: guix-git/doc/guix.texi:856
  4527. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4528. msgstr ""
  4529. #. type: Plain text
  4530. #: guix-git/doc/guix.texi:864
  4531. 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."
  4532. msgstr ""
  4533. #. type: cindex
  4534. #: guix-git/doc/guix.texi:865
  4535. #, no-wrap
  4536. msgid "official website"
  4537. msgstr ""
  4538. #. type: Plain text
  4539. #: guix-git/doc/guix.texi:868
  4540. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4541. msgstr ""
  4542. #. type: Plain text
  4543. #: guix-git/doc/guix.texi:870
  4544. msgid "GNU Guix depends on the following packages:"
  4545. msgstr ""
  4546. #. type: item
  4547. #: guix-git/doc/guix.texi:872
  4548. #, fuzzy, no-wrap
  4549. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4550. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4551. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4552. #. type: item
  4553. #: guix-git/doc/guix.texi:873
  4554. #, no-wrap
  4555. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4556. msgstr ""
  4557. #. type: itemize
  4558. #: guix-git/doc/guix.texi:875
  4559. msgid "0.1.0 or later;"
  4560. msgstr ""
  4561. #. type: itemize
  4562. #: guix-git/doc/guix.texi:879
  4563. 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});"
  4564. msgstr ""
  4565. #. type: itemize
  4566. #: guix-git/doc/guix.texi:882
  4567. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4568. msgstr ""
  4569. #. type: item
  4570. #: guix-git/doc/guix.texi:882
  4571. #, no-wrap
  4572. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4573. msgstr ""
  4574. #. type: itemize
  4575. #: guix-git/doc/guix.texi:884
  4576. msgid "version 0.1.0 or later;"
  4577. msgstr ""
  4578. #. type: item
  4579. #: guix-git/doc/guix.texi:884
  4580. #, no-wrap
  4581. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4582. msgstr ""
  4583. #. type: item
  4584. #: guix-git/doc/guix.texi:885
  4585. #, no-wrap
  4586. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4587. msgstr ""
  4588. #. type: itemize
  4589. #: guix-git/doc/guix.texi:889
  4590. #, fuzzy
  4591. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4592. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4593. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4594. #. type: item
  4595. #: guix-git/doc/guix.texi:889
  4596. #, no-wrap
  4597. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4598. msgstr ""
  4599. #. type: itemize
  4600. #: guix-git/doc/guix.texi:891
  4601. msgid "4.3.0 or later;"
  4602. msgstr ""
  4603. #. type: item
  4604. #: guix-git/doc/guix.texi:891
  4605. #, no-wrap
  4606. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4607. msgstr ""
  4608. #. type: Plain text
  4609. #: guix-git/doc/guix.texi:895
  4610. msgid "The following dependencies are optional:"
  4611. msgstr ""
  4612. #. type: itemize
  4613. #: guix-git/doc/guix.texi:903
  4614. 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."
  4615. msgstr ""
  4616. #. type: itemize
  4617. #: guix-git/doc/guix.texi:908
  4618. 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})."
  4619. msgstr ""
  4620. #. type: itemize
  4621. #: guix-git/doc/guix.texi:912
  4622. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4623. msgstr ""
  4624. #. type: itemize
  4625. #: guix-git/doc/guix.texi:917
  4626. 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})."
  4627. msgstr ""
  4628. #. type: itemize
  4629. #: guix-git/doc/guix.texi:921
  4630. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4631. msgstr ""
  4632. #. type: Plain text
  4633. #: guix-git/doc/guix.texi:925
  4634. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4635. msgstr ""
  4636. #. type: item
  4637. #: guix-git/doc/guix.texi:927
  4638. #, no-wrap
  4639. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4640. msgstr ""
  4641. #. type: item
  4642. #: guix-git/doc/guix.texi:928
  4643. #, no-wrap
  4644. msgid "@url{https://sqlite.org, SQLite 3};"
  4645. msgstr ""
  4646. #. type: item
  4647. #: guix-git/doc/guix.texi:929
  4648. #, no-wrap
  4649. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4650. msgstr ""
  4651. #. type: itemize
  4652. #: guix-git/doc/guix.texi:931
  4653. msgid "C++11 standard."
  4654. msgstr ""
  4655. #. type: cindex
  4656. #: guix-git/doc/guix.texi:933
  4657. #, no-wrap
  4658. msgid "state directory"
  4659. msgstr ""
  4660. #. type: Plain text
  4661. #: guix-git/doc/guix.texi:942
  4662. 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})."
  4663. msgstr ""
  4664. #. type: cindex
  4665. #: guix-git/doc/guix.texi:946
  4666. #, no-wrap
  4667. msgid "test suite"
  4668. msgstr ""
  4669. #. type: Plain text
  4670. #: guix-git/doc/guix.texi:952
  4671. 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:"
  4672. msgstr ""
  4673. #. type: example
  4674. #: guix-git/doc/guix.texi:955
  4675. #, no-wrap
  4676. msgid "make check\n"
  4677. msgstr ""
  4678. #. type: Plain text
  4679. #: guix-git/doc/guix.texi:962
  4680. 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."
  4681. msgstr ""
  4682. #. type: Plain text
  4683. #: guix-git/doc/guix.texi:965
  4684. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4685. msgstr ""
  4686. #. type: example
  4687. #: guix-git/doc/guix.texi:968
  4688. #, no-wrap
  4689. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4690. msgstr ""
  4691. #. type: Plain text
  4692. #: guix-git/doc/guix.texi:973
  4693. 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:"
  4694. msgstr ""
  4695. #. type: example
  4696. #: guix-git/doc/guix.texi:976
  4697. #, no-wrap
  4698. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4699. msgstr ""
  4700. #. type: Plain text
  4701. #: guix-git/doc/guix.texi:984
  4702. 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'':"
  4703. msgstr ""
  4704. #. type: example
  4705. #: guix-git/doc/guix.texi:988
  4706. #, no-wrap
  4707. msgid ""
  4708. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4709. "make check TESTS=\"tests/packages.scm\"\n"
  4710. msgstr ""
  4711. #. type: Plain text
  4712. #: guix-git/doc/guix.texi:994
  4713. 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:"
  4714. msgstr ""
  4715. #. type: example
  4716. #: guix-git/doc/guix.texi:997
  4717. #, no-wrap
  4718. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4719. msgstr ""
  4720. #. type: Plain text
  4721. #: guix-git/doc/guix.texi:1002
  4722. 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}:"
  4723. msgstr ""
  4724. #. type: example
  4725. #: guix-git/doc/guix.texi:1005
  4726. #, no-wrap
  4727. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4728. msgstr ""
  4729. #. type: Plain text
  4730. #: guix-git/doc/guix.texi:1009
  4731. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4732. msgstr ""
  4733. #. type: Plain text
  4734. #: guix-git/doc/guix.texi:1014
  4735. 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."
  4736. msgstr ""
  4737. #. type: Plain text
  4738. #: guix-git/doc/guix.texi:1018
  4739. 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:"
  4740. msgstr ""
  4741. #. type: example
  4742. #: guix-git/doc/guix.texi:1021
  4743. #, no-wrap
  4744. msgid "make check-system\n"
  4745. msgstr ""
  4746. #. type: Plain text
  4747. #: guix-git/doc/guix.texi:1025
  4748. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4749. msgstr ""
  4750. #. type: example
  4751. #: guix-git/doc/guix.texi:1028
  4752. #, no-wrap
  4753. msgid "make check-system TESTS=\"basic mcron\"\n"
  4754. msgstr ""
  4755. #. type: Plain text
  4756. #: guix-git/doc/guix.texi:1036
  4757. 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."
  4758. msgstr ""
  4759. #. type: Plain text
  4760. #: guix-git/doc/guix.texi:1039
  4761. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4762. msgstr ""
  4763. #. type: cindex
  4764. #: guix-git/doc/guix.texi:1043
  4765. #, no-wrap
  4766. msgid "daemon"
  4767. msgstr ""
  4768. #. type: Plain text
  4769. #: guix-git/doc/guix.texi:1051
  4770. 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."
  4771. msgstr ""
  4772. #. type: Plain text
  4773. #: guix-git/doc/guix.texi:1055
  4774. 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."
  4775. msgstr ""
  4776. #. type: cindex
  4777. #: guix-git/doc/guix.texi:1065 guix-git/doc/guix.texi:1527
  4778. #, no-wrap
  4779. msgid "build environment"
  4780. msgstr ""
  4781. #. type: Plain text
  4782. #: guix-git/doc/guix.texi:1073
  4783. 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."
  4784. msgstr ""
  4785. #. type: cindex
  4786. #: guix-git/doc/guix.texi:1074
  4787. #, no-wrap
  4788. msgid "build users"
  4789. msgstr ""
  4790. #. type: Plain text
  4791. #: guix-git/doc/guix.texi:1085
  4792. 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})."
  4793. msgstr ""
  4794. #. type: Plain text
  4795. #: guix-git/doc/guix.texi:1088
  4796. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4797. msgstr ""
  4798. #. type: example
  4799. #: guix-git/doc/guix.texi:1100
  4800. #, no-wrap
  4801. msgid ""
  4802. "# groupadd --system guixbuild\n"
  4803. "# for i in $(seq -w 1 10);\n"
  4804. " do\n"
  4805. " useradd -g guixbuild -G guixbuild \\\n"
  4806. " -d /var/empty -s $(which nologin) \\\n"
  4807. " -c \"Guix build user $i\" --system \\\n"
  4808. " guixbuilder$i;\n"
  4809. " done\n"
  4810. msgstr ""
  4811. #. type: Plain text
  4812. #: guix-git/doc/guix.texi:1110
  4813. 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})."
  4814. msgstr ""
  4815. #. type: Plain text
  4816. #: guix-git/doc/guix.texi:1119
  4817. 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}.}:"
  4818. msgstr ""
  4819. #. type: example
  4820. #: guix-git/doc/guix.texi:1122 guix-git/doc/guix.texi:1520
  4821. #, no-wrap
  4822. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4823. msgstr ""
  4824. #. type: cindex
  4825. #: guix-git/doc/guix.texi:1124 guix-git/doc/guix.texi:1525
  4826. #, no-wrap
  4827. msgid "chroot"
  4828. msgstr ""
  4829. #. type: Plain text
  4830. #: guix-git/doc/guix.texi:1129
  4831. 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:"
  4832. msgstr ""
  4833. #. type: itemize
  4834. #: guix-git/doc/guix.texi:1137
  4835. 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.};"
  4836. msgstr ""
  4837. #. type: itemize
  4838. #: guix-git/doc/guix.texi:1141
  4839. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4840. msgstr ""
  4841. #. type: itemize
  4842. #: guix-git/doc/guix.texi:1145
  4843. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4844. msgstr ""
  4845. #. type: itemize
  4846. #: guix-git/doc/guix.texi:1148
  4847. msgid "@file{/etc/group} with an entry for the user's group;"
  4848. msgstr ""
  4849. #. type: itemize
  4850. #: guix-git/doc/guix.texi:1152
  4851. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4852. msgstr ""
  4853. #. type: itemize
  4854. #: guix-git/doc/guix.texi:1155
  4855. msgid "a writable @file{/tmp} directory."
  4856. msgstr ""
  4857. #. type: Plain text
  4858. #: guix-git/doc/guix.texi:1164
  4859. 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."
  4860. msgstr ""
  4861. #. type: vindex
  4862. #: guix-git/doc/guix.texi:1165 guix-git/doc/guix.texi:3969
  4863. #, no-wrap
  4864. msgid "http_proxy"
  4865. msgstr ""
  4866. #. type: vindex
  4867. #: guix-git/doc/guix.texi:1166 guix-git/doc/guix.texi:3970
  4868. #, no-wrap
  4869. msgid "https_proxy"
  4870. msgstr ""
  4871. #. type: Plain text
  4872. #: guix-git/doc/guix.texi:1171
  4873. 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})."
  4874. msgstr ""
  4875. #. type: Plain text
  4876. #: guix-git/doc/guix.texi:1179
  4877. 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."
  4878. msgstr ""
  4879. #. type: subsection
  4880. #: guix-git/doc/guix.texi:1182
  4881. #, no-wrap
  4882. msgid "Using the Offload Facility"
  4883. msgstr ""
  4884. #. type: cindex
  4885. #: guix-git/doc/guix.texi:1184 guix-git/doc/guix.texi:1586
  4886. #, no-wrap
  4887. msgid "offloading"
  4888. msgstr ""
  4889. #. type: cindex
  4890. #: guix-git/doc/guix.texi:1185
  4891. #, no-wrap
  4892. msgid "build hook"
  4893. msgstr ""
  4894. #. type: Plain text
  4895. #: guix-git/doc/guix.texi:1204
  4896. 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:"
  4897. msgstr ""
  4898. #. type: enumerate
  4899. #: guix-git/doc/guix.texi:1210
  4900. 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."
  4901. msgstr ""
  4902. #. type: enumerate
  4903. #: guix-git/doc/guix.texi:1214
  4904. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4905. msgstr ""
  4906. #. type: enumerate
  4907. #: guix-git/doc/guix.texi:1219
  4908. 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."
  4909. msgstr ""
  4910. #. type: enumerate
  4911. #: guix-git/doc/guix.texi:1222
  4912. msgid "Disk space availability. More than a 100 MiB must be available."
  4913. msgstr ""
  4914. #. type: Plain text
  4915. #: guix-git/doc/guix.texi:1225
  4916. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4917. msgstr ""
  4918. #. type: lisp
  4919. #: guix-git/doc/guix.texi:1233
  4920. #, no-wrap
  4921. msgid ""
  4922. "(list (build-machine\n"
  4923. " (name \"eightysix.example.org\")\n"
  4924. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4925. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4926. " (user \"bob\")\n"
  4927. " (speed 2.)) ;incredibly fast!\n"
  4928. "\n"
  4929. msgstr ""
  4930. #. type: lisp
  4931. #: guix-git/doc/guix.texi:1242
  4932. #, no-wrap
  4933. msgid ""
  4934. " (build-machine\n"
  4935. " (name \"armeight.example.org\")\n"
  4936. " (systems (list \"aarch64-linux\"))\n"
  4937. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4938. " (user \"alice\")\n"
  4939. " (private-key\n"
  4940. " (string-append (getenv \"HOME\")\n"
  4941. " \"/.ssh/identity-for-guix\"))))\n"
  4942. msgstr ""
  4943. #. type: Plain text
  4944. #: guix-git/doc/guix.texi:1248
  4945. 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."
  4946. msgstr ""
  4947. #. type: Plain text
  4948. #: guix-git/doc/guix.texi:1257
  4949. 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."
  4950. msgstr ""
  4951. #. type: deftp
  4952. #: guix-git/doc/guix.texi:1258
  4953. #, no-wrap
  4954. msgid "{Data Type} build-machine"
  4955. msgstr ""
  4956. #. type: deftp
  4957. #: guix-git/doc/guix.texi:1261
  4958. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4959. msgstr ""
  4960. #. type: item
  4961. #: guix-git/doc/guix.texi:1264 guix-git/doc/guix.texi:6718
  4962. #: guix-git/doc/guix.texi:14633 guix-git/doc/guix.texi:14727
  4963. #: guix-git/doc/guix.texi:14968 guix-git/doc/guix.texi:16939
  4964. #: guix-git/doc/guix.texi:20218 guix-git/doc/guix.texi:23128
  4965. #: guix-git/doc/guix.texi:24517 guix-git/doc/guix.texi:25129
  4966. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:25523
  4967. #: guix-git/doc/guix.texi:27675 guix-git/doc/guix.texi:29959
  4968. #: guix-git/doc/guix.texi:29979 guix-git/doc/guix.texi:32659
  4969. #: guix-git/doc/guix.texi:32676 guix-git/doc/guix.texi:33192
  4970. #: guix-git/doc/guix.texi:34951 guix-git/doc/guix.texi:35278
  4971. #, no-wrap
  4972. msgid "name"
  4973. msgstr ""
  4974. #. type: table
  4975. #: guix-git/doc/guix.texi:1266
  4976. msgid "The host name of the remote machine."
  4977. msgstr ""
  4978. #. type: item
  4979. #: guix-git/doc/guix.texi:1267
  4980. #, no-wrap
  4981. msgid "systems"
  4982. msgstr ""
  4983. #. type: table
  4984. #: guix-git/doc/guix.texi:1270
  4985. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4986. msgstr ""
  4987. #. type: code{#1}
  4988. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:16949
  4989. #, no-wrap
  4990. msgid "user"
  4991. msgstr ""
  4992. #. type: table
  4993. #: guix-git/doc/guix.texi:1275
  4994. 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."
  4995. msgstr ""
  4996. #. type: item
  4997. #: guix-git/doc/guix.texi:1276
  4998. #, no-wrap
  4999. msgid "host-key"
  5000. msgstr ""
  5001. #. type: table
  5002. #: guix-git/doc/guix.texi:1280
  5003. 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:"
  5004. msgstr ""
  5005. #. type: example
  5006. #: guix-git/doc/guix.texi:1283
  5007. #, no-wrap
  5008. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5009. msgstr ""
  5010. #. type: table
  5011. #: guix-git/doc/guix.texi:1288
  5012. 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}."
  5013. msgstr ""
  5014. #. type: table
  5015. #: guix-git/doc/guix.texi:1293
  5016. 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}):"
  5017. msgstr ""
  5018. #. type: example
  5019. #: guix-git/doc/guix.texi:1297
  5020. #, no-wrap
  5021. msgid ""
  5022. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5023. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5024. msgstr ""
  5025. #. type: deftp
  5026. #: guix-git/doc/guix.texi:1302
  5027. msgid "A number of optional fields may be specified:"
  5028. msgstr ""
  5029. #. type: item
  5030. #: guix-git/doc/guix.texi:1305 guix-git/doc/guix.texi:34447
  5031. #, no-wrap
  5032. msgid "@code{port} (default: @code{22})"
  5033. msgstr ""
  5034. #. type: table
  5035. #: guix-git/doc/guix.texi:1307
  5036. msgid "Port number of SSH server on the machine."
  5037. msgstr ""
  5038. #. type: item
  5039. #: guix-git/doc/guix.texi:1308
  5040. #, no-wrap
  5041. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5042. msgstr ""
  5043. #. type: table
  5044. #: guix-git/doc/guix.texi:1311
  5045. 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."
  5046. msgstr ""
  5047. #. type: table
  5048. #: guix-git/doc/guix.texi:1314
  5049. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5050. msgstr ""
  5051. #. type: item
  5052. #: guix-git/doc/guix.texi:1315
  5053. #, no-wrap
  5054. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5055. msgstr ""
  5056. #. type: itemx
  5057. #: guix-git/doc/guix.texi:1316
  5058. #, no-wrap
  5059. msgid "@code{compression-level} (default: @code{3})"
  5060. msgstr ""
  5061. #. type: table
  5062. #: guix-git/doc/guix.texi:1318
  5063. msgid "The SSH-level compression methods and compression level requested."
  5064. msgstr ""
  5065. #. type: table
  5066. #: guix-git/doc/guix.texi:1321
  5067. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5068. msgstr ""
  5069. #. type: item
  5070. #: guix-git/doc/guix.texi:1322
  5071. #, no-wrap
  5072. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5073. msgstr ""
  5074. #. type: table
  5075. #: guix-git/doc/guix.texi:1325
  5076. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5077. msgstr ""
  5078. #. type: item
  5079. #: guix-git/doc/guix.texi:1326
  5080. #, no-wrap
  5081. msgid "@code{overload-threshold} (default: @code{0.6})"
  5082. msgstr ""
  5083. #. type: table
  5084. #: guix-git/doc/guix.texi:1332
  5085. 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}."
  5086. msgstr ""
  5087. #. type: item
  5088. #: guix-git/doc/guix.texi:1333
  5089. #, no-wrap
  5090. msgid "@code{parallel-builds} (default: @code{1})"
  5091. msgstr ""
  5092. #. type: table
  5093. #: guix-git/doc/guix.texi:1335
  5094. msgid "The number of builds that may run in parallel on the machine."
  5095. msgstr ""
  5096. #. type: item
  5097. #: guix-git/doc/guix.texi:1336
  5098. #, no-wrap
  5099. msgid "@code{speed} (default: @code{1.0})"
  5100. msgstr ""
  5101. #. type: table
  5102. #: guix-git/doc/guix.texi:1339
  5103. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5104. msgstr ""
  5105. #. type: item
  5106. #: guix-git/doc/guix.texi:1340
  5107. #, no-wrap
  5108. msgid "@code{features} (default: @code{'()})"
  5109. msgstr ""
  5110. #. type: table
  5111. #: guix-git/doc/guix.texi:1345
  5112. 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."
  5113. msgstr ""
  5114. #. type: Plain text
  5115. #: guix-git/doc/guix.texi:1351
  5116. 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:"
  5117. msgstr ""
  5118. #. type: example
  5119. #: guix-git/doc/guix.texi:1354
  5120. #, no-wrap
  5121. msgid "ssh build-machine guix repl --version\n"
  5122. msgstr ""
  5123. #. type: Plain text
  5124. #: guix-git/doc/guix.texi:1361
  5125. 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}):"
  5126. msgstr ""
  5127. #. type: example
  5128. #: guix-git/doc/guix.texi:1364 guix-git/doc/guix.texi:34375
  5129. #, no-wrap
  5130. msgid "# guix archive --generate-key\n"
  5131. msgstr ""
  5132. #. type: Plain text
  5133. #: guix-git/doc/guix.texi:1369
  5134. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5135. msgstr ""
  5136. #. type: example
  5137. #: guix-git/doc/guix.texi:1372
  5138. #, no-wrap
  5139. msgid "# guix archive --authorize < master-public-key.txt\n"
  5140. msgstr ""
  5141. #. type: Plain text
  5142. #: guix-git/doc/guix.texi:1376
  5143. msgid "Likewise, the master machine must authorize the key of each build machine."
  5144. msgstr ""
  5145. #. type: Plain text
  5146. #: guix-git/doc/guix.texi:1382
  5147. 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."
  5148. msgstr ""
  5149. #. type: cindex
  5150. #: guix-git/doc/guix.texi:1383
  5151. #, no-wrap
  5152. msgid "offload test"
  5153. msgstr ""
  5154. #. type: Plain text
  5155. #: guix-git/doc/guix.texi:1386
  5156. msgid "To test whether your setup is operational, run this command on the master node:"
  5157. msgstr ""
  5158. #. type: example
  5159. #: guix-git/doc/guix.texi:1389
  5160. #, no-wrap
  5161. msgid "# guix offload test\n"
  5162. msgstr ""
  5163. #. type: Plain text
  5164. #: guix-git/doc/guix.texi:1395
  5165. 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."
  5166. msgstr ""
  5167. #. type: Plain text
  5168. #: guix-git/doc/guix.texi:1398
  5169. msgid "If you want to test a different machine file, just specify it on the command line:"
  5170. msgstr ""
  5171. #. type: example
  5172. #: guix-git/doc/guix.texi:1401
  5173. #, no-wrap
  5174. msgid "# guix offload test machines-qualif.scm\n"
  5175. msgstr ""
  5176. #. type: Plain text
  5177. #: guix-git/doc/guix.texi:1405
  5178. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5179. msgstr ""
  5180. #. type: example
  5181. #: guix-git/doc/guix.texi:1408
  5182. #, no-wrap
  5183. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5184. msgstr ""
  5185. #. type: cindex
  5186. #: guix-git/doc/guix.texi:1410
  5187. #, no-wrap
  5188. msgid "offload status"
  5189. msgstr ""
  5190. #. type: Plain text
  5191. #: guix-git/doc/guix.texi:1413
  5192. msgid "To display the current load of all build hosts, run this command on the main node:"
  5193. msgstr ""
  5194. #. type: example
  5195. #: guix-git/doc/guix.texi:1416
  5196. #, no-wrap
  5197. msgid "# guix offload status\n"
  5198. msgstr ""
  5199. #. type: cindex
  5200. #: guix-git/doc/guix.texi:1422
  5201. #, no-wrap
  5202. msgid "SELinux, daemon policy"
  5203. msgstr ""
  5204. #. type: cindex
  5205. #: guix-git/doc/guix.texi:1423
  5206. #, no-wrap
  5207. msgid "mandatory access control, SELinux"
  5208. msgstr ""
  5209. #. type: cindex
  5210. #: guix-git/doc/guix.texi:1424
  5211. #, no-wrap
  5212. msgid "security, guix-daemon"
  5213. msgstr ""
  5214. #. type: Plain text
  5215. #: guix-git/doc/guix.texi:1430
  5216. 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."
  5217. msgstr ""
  5218. #. type: subsubsection
  5219. #: guix-git/doc/guix.texi:1431
  5220. #, no-wrap
  5221. msgid "Installing the SELinux policy"
  5222. msgstr ""
  5223. #. type: cindex
  5224. #: guix-git/doc/guix.texi:1432
  5225. #, no-wrap
  5226. msgid "SELinux, policy installation"
  5227. msgstr ""
  5228. #. type: Plain text
  5229. #: guix-git/doc/guix.texi:1434
  5230. msgid "To install the policy run this command as root:"
  5231. msgstr ""
  5232. #. type: example
  5233. #: guix-git/doc/guix.texi:1437
  5234. #, no-wrap
  5235. msgid "semodule -i etc/guix-daemon.cil\n"
  5236. msgstr ""
  5237. #. type: Plain text
  5238. #: guix-git/doc/guix.texi:1441
  5239. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5240. msgstr ""
  5241. #. type: Plain text
  5242. #: guix-git/doc/guix.texi:1446
  5243. 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:"
  5244. msgstr ""
  5245. #. type: example
  5246. #: guix-git/doc/guix.texi:1449
  5247. #, no-wrap
  5248. msgid "ps -Zax | grep guix-daemon\n"
  5249. msgstr ""
  5250. #. type: Plain text
  5251. #: guix-git/doc/guix.texi:1454
  5252. 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."
  5253. msgstr ""
  5254. #. type: cindex
  5255. #: guix-git/doc/guix.texi:1456
  5256. #, no-wrap
  5257. msgid "SELinux, limitations"
  5258. msgstr ""
  5259. #. type: Plain text
  5260. #: guix-git/doc/guix.texi:1461
  5261. 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."
  5262. msgstr ""
  5263. #. type: enumerate
  5264. #: guix-git/doc/guix.texi:1468
  5265. 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."
  5266. msgstr ""
  5267. #. type: enumerate
  5268. #: guix-git/doc/guix.texi:1479
  5269. 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."
  5270. msgstr ""
  5271. #. type: enumerate
  5272. #: guix-git/doc/guix.texi:1484
  5273. 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."
  5274. msgstr ""
  5275. #. type: enumerate
  5276. #: guix-git/doc/guix.texi:1495
  5277. 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."
  5278. msgstr ""
  5279. #. type: enumerate
  5280. #: guix-git/doc/guix.texi:1500
  5281. 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."
  5282. msgstr ""
  5283. #. type: enumerate
  5284. #: guix-git/doc/guix.texi:1508
  5285. 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."
  5286. msgstr ""
  5287. #. type: section
  5288. #: guix-git/doc/guix.texi:1511
  5289. #, no-wrap
  5290. msgid "Invoking @command{guix-daemon}"
  5291. msgstr ""
  5292. #. type: Plain text
  5293. #: guix-git/doc/guix.texi:1517
  5294. 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:"
  5295. msgstr ""
  5296. #. type: Plain text
  5297. #: guix-git/doc/guix.texi:1524
  5298. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5299. msgstr ""
  5300. #. type: cindex
  5301. #: guix-git/doc/guix.texi:1526
  5302. #, no-wrap
  5303. msgid "container, build environment"
  5304. msgstr ""
  5305. #. type: cindex
  5306. #: guix-git/doc/guix.texi:1528 guix-git/doc/guix.texi:3046
  5307. #: guix-git/doc/guix.texi:3950 guix-git/doc/guix.texi:13013
  5308. #, no-wrap
  5309. msgid "reproducible builds"
  5310. msgstr ""
  5311. #. type: Plain text
  5312. #: guix-git/doc/guix.texi:1540
  5313. 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})."
  5314. msgstr ""
  5315. #. type: Plain text
  5316. #: guix-git/doc/guix.texi:1546
  5317. 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}."
  5318. msgstr ""
  5319. #. type: Plain text
  5320. #: guix-git/doc/guix.texi:1550
  5321. 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}})."
  5322. msgstr ""
  5323. #. type: Plain text
  5324. #: guix-git/doc/guix.texi:1556
  5325. 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."
  5326. msgstr ""
  5327. #. type: Plain text
  5328. #: guix-git/doc/guix.texi:1558
  5329. msgid "The following command-line options are supported:"
  5330. msgstr ""
  5331. #. type: item
  5332. #: guix-git/doc/guix.texi:1560
  5333. #, no-wrap
  5334. msgid "--build-users-group=@var{group}"
  5335. msgstr ""
  5336. #. type: table
  5337. #: guix-git/doc/guix.texi:1563
  5338. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5339. msgstr ""
  5340. #. type: item
  5341. #: guix-git/doc/guix.texi:1564 guix-git/doc/guix.texi:10362
  5342. #, no-wrap
  5343. msgid "--no-substitutes"
  5344. msgstr ""
  5345. #. type: cindex
  5346. #: guix-git/doc/guix.texi:1565 guix-git/doc/guix.texi:3058
  5347. #: guix-git/doc/guix.texi:3703
  5348. #, no-wrap
  5349. msgid "substitutes"
  5350. msgstr ""
  5351. #. type: table
  5352. #: guix-git/doc/guix.texi:1569 guix-git/doc/guix.texi:10366
  5353. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5354. msgstr ""
  5355. #. type: table
  5356. #: guix-git/doc/guix.texi:1573
  5357. 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})."
  5358. msgstr ""
  5359. #. type: anchor{#1}
  5360. #: guix-git/doc/guix.texi:1575
  5361. msgid "daemon-substitute-urls"
  5362. msgstr ""
  5363. #. type: item
  5364. #: guix-git/doc/guix.texi:1575 guix-git/doc/guix.texi:10349
  5365. #: guix-git/doc/guix.texi:12420 guix-git/doc/guix.texi:13159
  5366. #: guix-git/doc/guix.texi:13384
  5367. #, no-wrap
  5368. msgid "--substitute-urls=@var{urls}"
  5369. msgstr ""
  5370. #. type: table
  5371. #: guix-git/doc/guix.texi:1579
  5372. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5373. msgstr ""
  5374. #. type: table
  5375. #: guix-git/doc/guix.texi:1582
  5376. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5377. msgstr ""
  5378. #. type: table
  5379. #: guix-git/doc/guix.texi:1585
  5380. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5381. msgstr ""
  5382. #. type: item
  5383. #: guix-git/doc/guix.texi:1587 guix-git/doc/guix.texi:10385
  5384. #, no-wrap
  5385. msgid "--no-offload"
  5386. msgstr ""
  5387. #. type: table
  5388. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:10389
  5389. 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."
  5390. msgstr ""
  5391. #. type: item
  5392. #: guix-git/doc/guix.texi:1592
  5393. #, no-wrap
  5394. msgid "--cache-failures"
  5395. msgstr ""
  5396. #. type: table
  5397. #: guix-git/doc/guix.texi:1594
  5398. msgid "Cache build failures. By default, only successful builds are cached."
  5399. msgstr ""
  5400. #. type: table
  5401. #: guix-git/doc/guix.texi:1599
  5402. 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}."
  5403. msgstr ""
  5404. #. type: item
  5405. #: guix-git/doc/guix.texi:1600 guix-git/doc/guix.texi:10415
  5406. #, no-wrap
  5407. msgid "--cores=@var{n}"
  5408. msgstr ""
  5409. #. type: itemx
  5410. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:10416
  5411. #, no-wrap
  5412. msgid "-c @var{n}"
  5413. msgstr ""
  5414. #. type: table
  5415. #: guix-git/doc/guix.texi:1604
  5416. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5417. msgstr ""
  5418. #. type: table
  5419. #: guix-git/doc/guix.texi:1608
  5420. 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})."
  5421. msgstr ""
  5422. #. type: table
  5423. #: guix-git/doc/guix.texi:1612
  5424. 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}."
  5425. msgstr ""
  5426. #. type: item
  5427. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10420
  5428. #, no-wrap
  5429. msgid "--max-jobs=@var{n}"
  5430. msgstr ""
  5431. #. type: itemx
  5432. #: guix-git/doc/guix.texi:1614 guix-git/doc/guix.texi:10421
  5433. #, no-wrap
  5434. msgid "-M @var{n}"
  5435. msgstr ""
  5436. #. type: table
  5437. #: guix-git/doc/guix.texi:1619
  5438. 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."
  5439. msgstr ""
  5440. #. type: item
  5441. #: guix-git/doc/guix.texi:1620 guix-git/doc/guix.texi:10390
  5442. #, no-wrap
  5443. msgid "--max-silent-time=@var{seconds}"
  5444. msgstr ""
  5445. #. type: table
  5446. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:10393
  5447. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5448. msgstr ""
  5449. #. type: table
  5450. #: guix-git/doc/guix.texi:1625 guix-git/doc/guix.texi:1634
  5451. msgid "The default value is @code{0}, which disables the timeout."
  5452. msgstr ""
  5453. #. type: table
  5454. #: guix-git/doc/guix.texi:1628
  5455. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5456. msgstr ""
  5457. #. type: item
  5458. #: guix-git/doc/guix.texi:1629 guix-git/doc/guix.texi:10397
  5459. #, no-wrap
  5460. msgid "--timeout=@var{seconds}"
  5461. msgstr ""
  5462. #. type: table
  5463. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:10400
  5464. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5465. msgstr ""
  5466. #. type: table
  5467. #: guix-git/doc/guix.texi:1637
  5468. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5469. msgstr ""
  5470. #. type: item
  5471. #: guix-git/doc/guix.texi:1638
  5472. #, no-wrap
  5473. msgid "--rounds=@var{N}"
  5474. msgstr ""
  5475. #. type: table
  5476. #: guix-git/doc/guix.texi:1643
  5477. 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})."
  5478. msgstr ""
  5479. #. type: table
  5480. #: guix-git/doc/guix.texi:1647 guix-git/doc/guix.texi:10384
  5481. #: guix-git/doc/guix.texi:10947
  5482. 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."
  5483. msgstr ""
  5484. #. type: item
  5485. #: guix-git/doc/guix.texi:1648
  5486. #, no-wrap
  5487. msgid "--debug"
  5488. msgstr ""
  5489. #. type: table
  5490. #: guix-git/doc/guix.texi:1650
  5491. msgid "Produce debugging output."
  5492. msgstr ""
  5493. #. type: table
  5494. #: guix-git/doc/guix.texi:1654
  5495. 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})."
  5496. msgstr ""
  5497. #. type: item
  5498. #: guix-git/doc/guix.texi:1655
  5499. #, no-wrap
  5500. msgid "--chroot-directory=@var{dir}"
  5501. msgstr ""
  5502. #. type: table
  5503. #: guix-git/doc/guix.texi:1657
  5504. msgid "Add @var{dir} to the build chroot."
  5505. msgstr ""
  5506. #. type: table
  5507. #: guix-git/doc/guix.texi:1663
  5508. 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."
  5509. msgstr ""
  5510. #. type: item
  5511. #: guix-git/doc/guix.texi:1664
  5512. #, no-wrap
  5513. msgid "--disable-chroot"
  5514. msgstr ""
  5515. #. type: table
  5516. #: guix-git/doc/guix.texi:1666
  5517. msgid "Disable chroot builds."
  5518. msgstr ""
  5519. #. type: table
  5520. #: guix-git/doc/guix.texi:1671
  5521. 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."
  5522. msgstr ""
  5523. #. type: item
  5524. #: guix-git/doc/guix.texi:1672
  5525. #, no-wrap
  5526. msgid "--log-compression=@var{type}"
  5527. msgstr ""
  5528. #. type: table
  5529. #: guix-git/doc/guix.texi:1675
  5530. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5531. msgstr ""
  5532. #. type: table
  5533. #: guix-git/doc/guix.texi:1679
  5534. 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 Bzip2 by default."
  5535. msgstr ""
  5536. #. type: item
  5537. #: guix-git/doc/guix.texi:1680
  5538. #, no-wrap
  5539. msgid "--discover[=yes|no]"
  5540. msgstr ""
  5541. #. type: table
  5542. #: guix-git/doc/guix.texi:1683 guix-git/doc/guix.texi:15744
  5543. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5544. msgstr ""
  5545. #. type: table
  5546. #: guix-git/doc/guix.texi:1686
  5547. msgid "This feature is still experimental. However, here are a few considerations."
  5548. msgstr ""
  5549. #. type: enumerate
  5550. #: guix-git/doc/guix.texi:1690
  5551. msgid "It might be faster/less expensive than fetching from remote servers;"
  5552. msgstr ""
  5553. #. type: enumerate
  5554. #: guix-git/doc/guix.texi:1693
  5555. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5556. msgstr ""
  5557. #. type: enumerate
  5558. #: guix-git/doc/guix.texi:1697
  5559. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5560. msgstr ""
  5561. #. type: enumerate
  5562. #: guix-git/doc/guix.texi:1700
  5563. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5564. msgstr ""
  5565. #. type: table
  5566. #: guix-git/doc/guix.texi:1704
  5567. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5568. msgstr ""
  5569. #. type: example
  5570. #: guix-git/doc/guix.texi:1708
  5571. #, no-wrap
  5572. msgid ""
  5573. "herd discover guix-daemon on\n"
  5574. "herd discover guix-daemon off\n"
  5575. msgstr ""
  5576. #. type: item
  5577. #: guix-git/doc/guix.texi:1710
  5578. #, no-wrap
  5579. msgid "--disable-deduplication"
  5580. msgstr ""
  5581. #. type: cindex
  5582. #: guix-git/doc/guix.texi:1711 guix-git/doc/guix.texi:4288
  5583. #, no-wrap
  5584. msgid "deduplication"
  5585. msgstr ""
  5586. #. type: table
  5587. #: guix-git/doc/guix.texi:1713
  5588. msgid "Disable automatic file ``deduplication'' in the store."
  5589. msgstr ""
  5590. #. type: table
  5591. #: guix-git/doc/guix.texi:1720
  5592. 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."
  5593. msgstr ""
  5594. #. type: item
  5595. #: guix-git/doc/guix.texi:1721
  5596. #, no-wrap
  5597. msgid "--gc-keep-outputs[=yes|no]"
  5598. msgstr ""
  5599. #. type: table
  5600. #: guix-git/doc/guix.texi:1724
  5601. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5602. msgstr ""
  5603. #. type: cindex
  5604. #: guix-git/doc/guix.texi:1725 guix-git/doc/guix.texi:4101
  5605. #, no-wrap
  5606. msgid "GC roots"
  5607. msgstr ""
  5608. #. type: cindex
  5609. #: guix-git/doc/guix.texi:1726 guix-git/doc/guix.texi:4102
  5610. #, no-wrap
  5611. msgid "garbage collector roots"
  5612. msgstr ""
  5613. #. type: table
  5614. #: guix-git/doc/guix.texi:1732
  5615. 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."
  5616. msgstr ""
  5617. #. type: item
  5618. #: guix-git/doc/guix.texi:1733
  5619. #, no-wrap
  5620. msgid "--gc-keep-derivations[=yes|no]"
  5621. msgstr ""
  5622. #. type: table
  5623. #: guix-git/doc/guix.texi:1736
  5624. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5625. msgstr ""
  5626. #. type: table
  5627. #: guix-git/doc/guix.texi:1742
  5628. 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."
  5629. msgstr ""
  5630. #. type: table
  5631. #: guix-git/doc/guix.texi:1751
  5632. 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."
  5633. msgstr ""
  5634. #. type: item
  5635. #: guix-git/doc/guix.texi:1752
  5636. #, no-wrap
  5637. msgid "--impersonate-linux-2.6"
  5638. msgstr ""
  5639. #. type: table
  5640. #: guix-git/doc/guix.texi:1755
  5641. 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."
  5642. msgstr ""
  5643. #. type: table
  5644. #: guix-git/doc/guix.texi:1758
  5645. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5646. msgstr ""
  5647. #. type: item
  5648. #: guix-git/doc/guix.texi:1759
  5649. #, no-wrap
  5650. msgid "--lose-logs"
  5651. msgstr ""
  5652. #. type: table
  5653. #: guix-git/doc/guix.texi:1762
  5654. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5655. msgstr ""
  5656. #. type: item
  5657. #: guix-git/doc/guix.texi:1763 guix-git/doc/guix.texi:4529
  5658. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:6228
  5659. #: guix-git/doc/guix.texi:10891 guix-git/doc/guix.texi:12447
  5660. #: guix-git/doc/guix.texi:12712 guix-git/doc/guix.texi:13389
  5661. #: guix-git/doc/guix.texi:33314 guix-git/doc/guix.texi:34117
  5662. #, no-wrap
  5663. msgid "--system=@var{system}"
  5664. msgstr ""
  5665. #. type: table
  5666. #: guix-git/doc/guix.texi:1767
  5667. 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}."
  5668. msgstr ""
  5669. #. type: item
  5670. #: guix-git/doc/guix.texi:1768 guix-git/doc/guix.texi:10195
  5671. #, no-wrap
  5672. msgid "--listen=@var{endpoint}"
  5673. msgstr ""
  5674. #. type: table
  5675. #: guix-git/doc/guix.texi:1773
  5676. 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:"
  5677. msgstr ""
  5678. #. type: item
  5679. #: guix-git/doc/guix.texi:1775
  5680. #, no-wrap
  5681. msgid "--listen=/gnu/var/daemon"
  5682. msgstr ""
  5683. #. type: table
  5684. #: guix-git/doc/guix.texi:1778
  5685. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5686. msgstr ""
  5687. #. type: item
  5688. #: guix-git/doc/guix.texi:1779
  5689. #, no-wrap
  5690. msgid "--listen=localhost"
  5691. msgstr ""
  5692. #. type: cindex
  5693. #: guix-git/doc/guix.texi:1780 guix-git/doc/guix.texi:8869
  5694. #, no-wrap
  5695. msgid "daemon, remote access"
  5696. msgstr ""
  5697. #. type: cindex
  5698. #: guix-git/doc/guix.texi:1781 guix-git/doc/guix.texi:8870
  5699. #, no-wrap
  5700. msgid "remote access to the daemon"
  5701. msgstr ""
  5702. #. type: cindex
  5703. #: guix-git/doc/guix.texi:1782 guix-git/doc/guix.texi:8871
  5704. #, no-wrap
  5705. msgid "daemon, cluster setup"
  5706. msgstr ""
  5707. #. type: cindex
  5708. #: guix-git/doc/guix.texi:1783 guix-git/doc/guix.texi:8872
  5709. #, no-wrap
  5710. msgid "clusters, daemon setup"
  5711. msgstr ""
  5712. #. type: table
  5713. #: guix-git/doc/guix.texi:1786
  5714. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5715. msgstr ""
  5716. #. type: item
  5717. #: guix-git/doc/guix.texi:1787
  5718. #, no-wrap
  5719. msgid "--listen=128.0.0.42:1234"
  5720. msgstr ""
  5721. #. type: table
  5722. #: guix-git/doc/guix.texi:1790
  5723. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5724. msgstr ""
  5725. #. type: table
  5726. #: guix-git/doc/guix.texi:1797
  5727. 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}})."
  5728. msgstr ""
  5729. #. type: quotation
  5730. #: guix-git/doc/guix.texi:1804
  5731. 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."
  5732. msgstr ""
  5733. #. type: table
  5734. #: guix-git/doc/guix.texi:1809
  5735. 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}."
  5736. msgstr ""
  5737. #. type: Plain text
  5738. #: guix-git/doc/guix.texi:1819
  5739. 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."
  5740. msgstr ""
  5741. #. type: anchor{#1}
  5742. #: guix-git/doc/guix.texi:1823
  5743. msgid "locales-and-locpath"
  5744. msgstr ""
  5745. #. type: cindex
  5746. #: guix-git/doc/guix.texi:1823
  5747. #, no-wrap
  5748. msgid "locales, when not on Guix System"
  5749. msgstr ""
  5750. #. type: vindex
  5751. #: guix-git/doc/guix.texi:1824 guix-git/doc/guix.texi:14952
  5752. #, no-wrap
  5753. msgid "LOCPATH"
  5754. msgstr ""
  5755. #. type: vindex
  5756. #: guix-git/doc/guix.texi:1825
  5757. #, no-wrap
  5758. msgid "GUIX_LOCPATH"
  5759. msgstr ""
  5760. #. type: Plain text
  5761. #: guix-git/doc/guix.texi:1830
  5762. 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:"
  5763. msgstr ""
  5764. #. type: example
  5765. #: guix-git/doc/guix.texi:1834
  5766. #, no-wrap
  5767. msgid ""
  5768. "$ guix install glibc-locales\n"
  5769. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5770. msgstr ""
  5771. #. type: Plain text
  5772. #: guix-git/doc/guix.texi:1840
  5773. 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 917@tie{}MiB@. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales."
  5774. msgstr ""
  5775. #. type: Plain text
  5776. #: guix-git/doc/guix.texi:1844
  5777. 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:"
  5778. msgstr ""
  5779. #. type: enumerate
  5780. #: guix-git/doc/guix.texi:1851
  5781. 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."
  5782. msgstr ""
  5783. #. type: enumerate
  5784. #: guix-git/doc/guix.texi:1858
  5785. 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."
  5786. msgstr ""
  5787. #. type: Plain text
  5788. #: guix-git/doc/guix.texi:1862
  5789. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5790. msgstr ""
  5791. #. type: cindex
  5792. #: guix-git/doc/guix.texi:1865
  5793. #, no-wrap
  5794. msgid "name service switch, glibc"
  5795. msgstr ""
  5796. #. type: cindex
  5797. #: guix-git/doc/guix.texi:1866
  5798. #, no-wrap
  5799. msgid "NSS (name service switch), glibc"
  5800. msgstr ""
  5801. #. type: cindex
  5802. #: guix-git/doc/guix.texi:1867
  5803. #, no-wrap
  5804. msgid "nscd (name service caching daemon)"
  5805. msgstr ""
  5806. #. type: cindex
  5807. #: guix-git/doc/guix.texi:1868
  5808. #, no-wrap
  5809. msgid "name service caching daemon (nscd)"
  5810. msgstr ""
  5811. #. type: Plain text
  5812. #: guix-git/doc/guix.texi:1875
  5813. 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."
  5814. msgstr ""
  5815. #. type: file{#1}
  5816. #: guix-git/doc/guix.texi:1876
  5817. #, no-wrap
  5818. msgid "nsswitch.conf"
  5819. msgstr ""
  5820. #. type: Plain text
  5821. #: guix-git/doc/guix.texi:1881
  5822. 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})."
  5823. msgstr ""
  5824. #. type: cindex
  5825. #: guix-git/doc/guix.texi:1882
  5826. #, no-wrap
  5827. msgid "Network information service (NIS)"
  5828. msgstr ""
  5829. #. type: cindex
  5830. #: guix-git/doc/guix.texi:1883
  5831. #, no-wrap
  5832. msgid "NIS (Network information service)"
  5833. msgstr ""
  5834. #. type: Plain text
  5835. #: guix-git/doc/guix.texi:1892
  5836. 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})."
  5837. msgstr ""
  5838. #. type: Plain text
  5839. #: guix-git/doc/guix.texi:1902
  5840. 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)."
  5841. msgstr ""
  5842. #. type: Plain text
  5843. #: guix-git/doc/guix.texi:1907
  5844. 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."
  5845. msgstr ""
  5846. #. type: Plain text
  5847. #: guix-git/doc/guix.texi:1912
  5848. 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."
  5849. msgstr ""
  5850. #. type: subsection
  5851. #: guix-git/doc/guix.texi:1913
  5852. #, no-wrap
  5853. msgid "X11 Fonts"
  5854. msgstr ""
  5855. #. type: Plain text
  5856. #: guix-git/doc/guix.texi:1923
  5857. 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{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5858. msgstr ""
  5859. #. type: code{#1}
  5860. #: guix-git/doc/guix.texi:1924
  5861. #, no-wrap
  5862. msgid "fc-cache"
  5863. msgstr ""
  5864. #. type: cindex
  5865. #: guix-git/doc/guix.texi:1925
  5866. #, no-wrap
  5867. msgid "font cache"
  5868. msgstr ""
  5869. #. type: Plain text
  5870. #: guix-git/doc/guix.texi:1929
  5871. 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:"
  5872. msgstr ""
  5873. #. type: example
  5874. #: guix-git/doc/guix.texi:1933
  5875. #, no-wrap
  5876. msgid ""
  5877. "guix install fontconfig\n"
  5878. "fc-cache -rv\n"
  5879. msgstr ""
  5880. #. type: Plain text
  5881. #: guix-git/doc/guix.texi:1941
  5882. 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:"
  5883. msgstr ""
  5884. #. type: example
  5885. #: guix-git/doc/guix.texi:1944
  5886. #, no-wrap
  5887. msgid "guix install font-adobe-source-han-sans:cn\n"
  5888. msgstr ""
  5889. #. type: code{#1}
  5890. #: guix-git/doc/guix.texi:1946
  5891. #, no-wrap
  5892. msgid "xterm"
  5893. msgstr ""
  5894. #. type: Plain text
  5895. #: guix-git/doc/guix.texi:1950
  5896. 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:"
  5897. msgstr ""
  5898. #. type: example
  5899. #: guix-git/doc/guix.texi:1953
  5900. #, no-wrap
  5901. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5902. msgstr ""
  5903. #. type: Plain text
  5904. #: guix-git/doc/guix.texi:1957
  5905. 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:"
  5906. msgstr ""
  5907. #. type: example
  5908. #: guix-git/doc/guix.texi:1962
  5909. #, no-wrap
  5910. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5911. msgstr ""
  5912. #. type: code{#1}
  5913. #: guix-git/doc/guix.texi:1964
  5914. #, no-wrap
  5915. msgid "xlsfonts"
  5916. msgstr ""
  5917. #. type: Plain text
  5918. #: guix-git/doc/guix.texi:1967
  5919. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5920. msgstr ""
  5921. #. type: code{#1}
  5922. #: guix-git/doc/guix.texi:1971 guix-git/doc/guix.texi:33033
  5923. #, no-wrap
  5924. msgid "nss-certs"
  5925. msgstr ""
  5926. #. type: Plain text
  5927. #: guix-git/doc/guix.texi:1974
  5928. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5929. msgstr ""
  5930. #. type: Plain text
  5931. #: guix-git/doc/guix.texi:1979
  5932. 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."
  5933. msgstr ""
  5934. #. type: code{#1}
  5935. #: guix-git/doc/guix.texi:1982
  5936. #, no-wrap
  5937. msgid "emacs"
  5938. msgstr ""
  5939. #. type: Plain text
  5940. #: guix-git/doc/guix.texi:1988
  5941. 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."
  5942. msgstr ""
  5943. #. type: Plain text
  5944. #: guix-git/doc/guix.texi:1995
  5945. 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})."
  5946. msgstr ""
  5947. #. type: cindex
  5948. #: guix-git/doc/guix.texi:2000
  5949. #, no-wrap
  5950. msgid "Upgrading Guix, on a foreign distro"
  5951. msgstr ""
  5952. #. type: Plain text
  5953. #: guix-git/doc/guix.texi:2003
  5954. msgid "To upgrade Guix, run:"
  5955. msgstr ""
  5956. #. type: example
  5957. #: guix-git/doc/guix.texi:2006 guix-git/doc/guix.texi:2854
  5958. #, no-wrap
  5959. msgid "guix pull\n"
  5960. msgstr ""
  5961. #. type: Plain text
  5962. #: guix-git/doc/guix.texi:2009
  5963. msgid "@xref{Invoking guix pull}, for more information."
  5964. msgstr ""
  5965. #. type: cindex
  5966. #: guix-git/doc/guix.texi:2010
  5967. #, no-wrap
  5968. msgid "upgrading Guix for the root user, on a foreign distro"
  5969. msgstr ""
  5970. #. type: cindex
  5971. #: guix-git/doc/guix.texi:2011
  5972. #, no-wrap
  5973. msgid "upgrading the Guix daemon, on a foreign distro"
  5974. msgstr ""
  5975. #. type: cindex
  5976. #: guix-git/doc/guix.texi:2012
  5977. #, no-wrap
  5978. msgid "@command{guix pull} for the root user, on a foreign distro"
  5979. msgstr ""
  5980. #. type: Plain text
  5981. #: guix-git/doc/guix.texi:2015
  5982. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5983. msgstr ""
  5984. #. type: example
  5985. #: guix-git/doc/guix.texi:2018
  5986. #, no-wrap
  5987. msgid "sudo -i guix pull\n"
  5988. msgstr ""
  5989. #. type: Plain text
  5990. #: guix-git/doc/guix.texi:2023
  5991. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5992. msgstr ""
  5993. #. type: example
  5994. #: guix-git/doc/guix.texi:2026
  5995. #, no-wrap
  5996. msgid "systemctl restart guix-daemon.service\n"
  5997. msgstr ""
  5998. #. type: Plain text
  5999. #: guix-git/doc/guix.texi:2030
  6000. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6001. msgstr ""
  6002. #. type: cindex
  6003. #: guix-git/doc/guix.texi:2037
  6004. #, no-wrap
  6005. msgid "installing Guix System"
  6006. msgstr ""
  6007. #. type: cindex
  6008. #: guix-git/doc/guix.texi:2038
  6009. #, no-wrap
  6010. msgid "Guix System, installation"
  6011. msgstr ""
  6012. #. type: Plain text
  6013. #: guix-git/doc/guix.texi:2043
  6014. 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}."
  6015. msgstr ""
  6016. #. type: quotation
  6017. #: guix-git/doc/guix.texi:2052
  6018. 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."
  6019. msgstr ""
  6020. #. type: quotation
  6021. #: guix-git/doc/guix.texi:2055
  6022. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6023. msgstr ""
  6024. #. type: Plain text
  6025. #: guix-git/doc/guix.texi:2076
  6026. 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."
  6027. msgstr ""
  6028. #. type: Plain text
  6029. #: guix-git/doc/guix.texi:2079
  6030. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6031. msgstr ""
  6032. #. type: itemize
  6033. #: guix-git/doc/guix.texi:2084
  6034. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6035. msgstr ""
  6036. #. type: itemize
  6037. #: guix-git/doc/guix.texi:2089
  6038. 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."
  6039. msgstr ""
  6040. #. type: Plain text
  6041. #: guix-git/doc/guix.texi:2094
  6042. 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."
  6043. msgstr ""
  6044. #. type: cindex
  6045. #: guix-git/doc/guix.texi:2099
  6046. #, no-wrap
  6047. msgid "hardware support on Guix System"
  6048. msgstr ""
  6049. #. type: Plain text
  6050. #: guix-git/doc/guix.texi:2108
  6051. 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."
  6052. msgstr ""
  6053. #. type: cindex
  6054. #: guix-git/doc/guix.texi:2109
  6055. #, no-wrap
  6056. msgid "WiFi, hardware support"
  6057. msgstr ""
  6058. #. type: Plain text
  6059. #: guix-git/doc/guix.texi:2118
  6060. 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}})."
  6061. msgstr ""
  6062. #. type: cindex
  6063. #: guix-git/doc/guix.texi:2119
  6064. #, no-wrap
  6065. msgid "RYF, Respects Your Freedom"
  6066. msgstr ""
  6067. #. type: Plain text
  6068. #: guix-git/doc/guix.texi:2125
  6069. 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."
  6070. msgstr ""
  6071. #. type: Plain text
  6072. #: guix-git/doc/guix.texi:2129
  6073. 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."
  6074. msgstr ""
  6075. #. type: Plain text
  6076. #: guix-git/doc/guix.texi:2138
  6077. 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:"
  6078. msgstr ""
  6079. #. type: table
  6080. #: guix-git/doc/guix.texi:2142
  6081. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6082. msgstr ""
  6083. #. type: table
  6084. #: guix-git/doc/guix.texi:2145
  6085. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6086. msgstr ""
  6087. #. type: Plain text
  6088. #: guix-git/doc/guix.texi:2150
  6089. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6090. msgstr ""
  6091. #. type: example
  6092. #: guix-git/doc/guix.texi:2154
  6093. #, no-wrap
  6094. msgid ""
  6095. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6096. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6097. msgstr ""
  6098. #. type: example
  6099. #: guix-git/doc/guix.texi:2162
  6100. #, no-wrap
  6101. msgid ""
  6102. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6103. " -qO - | gpg --import -\n"
  6104. msgstr ""
  6105. #. type: Plain text
  6106. #: guix-git/doc/guix.texi:2174
  6107. 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."
  6108. msgstr ""
  6109. #. type: unnumberedsubsec
  6110. #: guix-git/doc/guix.texi:2175
  6111. #, no-wrap
  6112. msgid "Copying to a USB Stick"
  6113. msgstr ""
  6114. #. type: Plain text
  6115. #: guix-git/doc/guix.texi:2180
  6116. 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:"
  6117. msgstr ""
  6118. #. type: example
  6119. #: guix-git/doc/guix.texi:2184
  6120. #, no-wrap
  6121. msgid ""
  6122. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6123. "sync\n"
  6124. msgstr ""
  6125. #. type: Plain text
  6126. #: guix-git/doc/guix.texi:2187
  6127. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6128. msgstr ""
  6129. #. type: unnumberedsubsec
  6130. #: guix-git/doc/guix.texi:2188
  6131. #, no-wrap
  6132. msgid "Burning on a DVD"
  6133. msgstr ""
  6134. #. type: Plain text
  6135. #: guix-git/doc/guix.texi:2193
  6136. 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:"
  6137. msgstr ""
  6138. #. type: example
  6139. #: guix-git/doc/guix.texi:2196
  6140. #, no-wrap
  6141. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6142. msgstr ""
  6143. #. type: Plain text
  6144. #: guix-git/doc/guix.texi:2199
  6145. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6146. msgstr ""
  6147. #. type: unnumberedsubsec
  6148. #: guix-git/doc/guix.texi:2200
  6149. #, no-wrap
  6150. msgid "Booting"
  6151. msgstr ""
  6152. #. type: Plain text
  6153. #: guix-git/doc/guix.texi:2207
  6154. 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}."
  6155. msgstr ""
  6156. #. type: Plain text
  6157. #: guix-git/doc/guix.texi:2210
  6158. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6159. msgstr ""
  6160. #. type: Plain text
  6161. #: guix-git/doc/guix.texi:2220
  6162. 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})."
  6163. msgstr ""
  6164. #. type: Plain text
  6165. #: guix-git/doc/guix.texi:2228
  6166. 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."
  6167. msgstr ""
  6168. #. type: quotation
  6169. #: guix-git/doc/guix.texi:2233
  6170. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6171. msgstr ""
  6172. #. type: Plain text
  6173. #: guix-git/doc/guix.texi:2240
  6174. 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."
  6175. msgstr ""
  6176. #. type: Plain text
  6177. #: guix-git/doc/guix.texi:2245
  6178. 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."
  6179. msgstr ""
  6180. #. type: Plain text
  6181. #: guix-git/doc/guix.texi:2247
  6182. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6183. msgstr ""
  6184. #. type: Plain text
  6185. #: guix-git/doc/guix.texi:2252
  6186. 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."
  6187. msgstr ""
  6188. #. type: Plain text
  6189. #: guix-git/doc/guix.texi:2254
  6190. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2257
  6194. 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."
  6195. msgstr ""
  6196. #. type: Plain text
  6197. #: guix-git/doc/guix.texi:2259
  6198. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6199. msgstr ""
  6200. #. type: Plain text
  6201. #: guix-git/doc/guix.texi:2264
  6202. 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!"
  6203. msgstr ""
  6204. #. type: Plain text
  6205. #: guix-git/doc/guix.texi:2274
  6206. 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})."
  6207. msgstr ""
  6208. #. type: Plain text
  6209. #: guix-git/doc/guix.texi:2280
  6210. 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})."
  6211. msgstr ""
  6212. #. type: subsection
  6213. #: guix-git/doc/guix.texi:2287
  6214. #, no-wrap
  6215. msgid "Keyboard Layout, Networking, and Partitioning"
  6216. msgstr ""
  6217. #. type: Plain text
  6218. #: guix-git/doc/guix.texi:2292
  6219. 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."
  6220. msgstr ""
  6221. #. type: cindex
  6222. #: guix-git/doc/guix.texi:2295 guix-git/doc/guix.texi:14766
  6223. #, no-wrap
  6224. msgid "keyboard layout"
  6225. msgstr ""
  6226. #. type: Plain text
  6227. #: guix-git/doc/guix.texi:2299
  6228. 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:"
  6229. msgstr ""
  6230. #. type: example
  6231. #: guix-git/doc/guix.texi:2302
  6232. #, no-wrap
  6233. msgid "loadkeys dvorak\n"
  6234. msgstr ""
  6235. #. type: Plain text
  6236. #: guix-git/doc/guix.texi:2307
  6237. 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."
  6238. msgstr ""
  6239. #. type: subsubsection
  6240. #: guix-git/doc/guix.texi:2308
  6241. #, no-wrap
  6242. msgid "Networking"
  6243. msgstr ""
  6244. #. type: Plain text
  6245. #: guix-git/doc/guix.texi:2311
  6246. msgid "Run the following command to see what your network interfaces are called:"
  6247. msgstr ""
  6248. #. type: example
  6249. #: guix-git/doc/guix.texi:2314
  6250. #, no-wrap
  6251. msgid "ifconfig -a\n"
  6252. msgstr ""
  6253. #. type: table
  6254. #: guix-git/doc/guix.texi:2318 guix-git/doc/guix.texi:2340
  6255. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6256. msgstr ""
  6257. #. type: example
  6258. #: guix-git/doc/guix.texi:2321
  6259. #, no-wrap
  6260. msgid "ip address\n"
  6261. msgstr ""
  6262. #. type: Plain text
  6263. #: guix-git/doc/guix.texi:2328
  6264. 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}."
  6265. msgstr ""
  6266. #. type: item
  6267. #: guix-git/doc/guix.texi:2330
  6268. #, no-wrap
  6269. msgid "Wired connection"
  6270. msgstr ""
  6271. #. type: table
  6272. #: guix-git/doc/guix.texi:2333
  6273. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6274. msgstr ""
  6275. #. type: example
  6276. #: guix-git/doc/guix.texi:2336
  6277. #, no-wrap
  6278. msgid "ifconfig @var{interface} up\n"
  6279. msgstr ""
  6280. #. type: example
  6281. #: guix-git/doc/guix.texi:2343
  6282. #, no-wrap
  6283. msgid "ip link set @var{interface} up\n"
  6284. msgstr ""
  6285. #. type: item
  6286. #: guix-git/doc/guix.texi:2345
  6287. #, no-wrap
  6288. msgid "Wireless connection"
  6289. msgstr ""
  6290. #. type: cindex
  6291. #: guix-git/doc/guix.texi:2346 guix-git/doc/guix.texi:16411
  6292. #, no-wrap
  6293. msgid "wireless"
  6294. msgstr ""
  6295. #. type: cindex
  6296. #: guix-git/doc/guix.texi:2347 guix-git/doc/guix.texi:16412
  6297. #, no-wrap
  6298. msgid "WiFi"
  6299. msgstr ""
  6300. #. type: table
  6301. #: guix-git/doc/guix.texi:2352
  6302. 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}:"
  6303. msgstr ""
  6304. #. type: example
  6305. #: guix-git/doc/guix.texi:2355
  6306. #, no-wrap
  6307. msgid "nano wpa_supplicant.conf\n"
  6308. msgstr ""
  6309. #. type: table
  6310. #: guix-git/doc/guix.texi:2360
  6311. 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:"
  6312. msgstr ""
  6313. #. type: example
  6314. #: guix-git/doc/guix.texi:2367
  6315. #, no-wrap
  6316. msgid ""
  6317. "network=@{\n"
  6318. " ssid=\"@var{my-ssid}\"\n"
  6319. " key_mgmt=WPA-PSK\n"
  6320. " psk=\"the network's secret passphrase\"\n"
  6321. "@}\n"
  6322. msgstr ""
  6323. #. type: table
  6324. #: guix-git/doc/guix.texi:2372
  6325. 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):"
  6326. msgstr ""
  6327. #. type: example
  6328. #: guix-git/doc/guix.texi:2375
  6329. #, no-wrap
  6330. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6331. msgstr ""
  6332. #. type: table
  6333. #: guix-git/doc/guix.texi:2378
  6334. msgid "Run @command{man wpa_supplicant} for more information."
  6335. msgstr ""
  6336. #. type: cindex
  6337. #: guix-git/doc/guix.texi:2380
  6338. #, no-wrap
  6339. msgid "DHCP"
  6340. msgstr ""
  6341. #. type: Plain text
  6342. #: guix-git/doc/guix.texi:2383
  6343. 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:"
  6344. msgstr ""
  6345. #. type: example
  6346. #: guix-git/doc/guix.texi:2386
  6347. #, no-wrap
  6348. msgid "dhclient -v @var{interface}\n"
  6349. msgstr ""
  6350. #. type: Plain text
  6351. #: guix-git/doc/guix.texi:2389
  6352. msgid "Try to ping a server to see if networking is up and running:"
  6353. msgstr ""
  6354. #. type: example
  6355. #: guix-git/doc/guix.texi:2392
  6356. #, no-wrap
  6357. msgid "ping -c 3 gnu.org\n"
  6358. msgstr ""
  6359. #. type: Plain text
  6360. #: guix-git/doc/guix.texi:2396
  6361. 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."
  6362. msgstr ""
  6363. #. type: cindex
  6364. #: guix-git/doc/guix.texi:2397
  6365. #, no-wrap
  6366. msgid "proxy, during system installation"
  6367. msgstr ""
  6368. #. type: Plain text
  6369. #: guix-git/doc/guix.texi:2400
  6370. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6371. msgstr ""
  6372. #. type: example
  6373. #: guix-git/doc/guix.texi:2403
  6374. #, no-wrap
  6375. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6376. msgstr ""
  6377. #. type: Plain text
  6378. #: guix-git/doc/guix.texi:2408
  6379. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6380. msgstr ""
  6381. #. type: cindex
  6382. #: guix-git/doc/guix.texi:2409
  6383. #, no-wrap
  6384. msgid "installing over SSH"
  6385. msgstr ""
  6386. #. type: Plain text
  6387. #: guix-git/doc/guix.texi:2412
  6388. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6389. msgstr ""
  6390. #. type: example
  6391. #: guix-git/doc/guix.texi:2415
  6392. #, no-wrap
  6393. msgid "herd start ssh-daemon\n"
  6394. msgstr ""
  6395. #. type: Plain text
  6396. #: guix-git/doc/guix.texi:2419
  6397. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6398. msgstr ""
  6399. #. type: subsubsection
  6400. #: guix-git/doc/guix.texi:2420
  6401. #, no-wrap
  6402. msgid "Disk Partitioning"
  6403. msgstr ""
  6404. #. type: Plain text
  6405. #: guix-git/doc/guix.texi:2424
  6406. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6407. msgstr ""
  6408. #. type: Plain text
  6409. #: guix-git/doc/guix.texi:2429
  6410. 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:"
  6411. msgstr ""
  6412. #. type: example
  6413. #: guix-git/doc/guix.texi:2432
  6414. #, no-wrap
  6415. msgid "cfdisk\n"
  6416. msgstr ""
  6417. #. type: Plain text
  6418. #: guix-git/doc/guix.texi:2438
  6419. 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})."
  6420. msgstr ""
  6421. #. type: cindex
  6422. #: guix-git/doc/guix.texi:2439
  6423. #, no-wrap
  6424. msgid "EFI, installation"
  6425. msgstr ""
  6426. #. type: cindex
  6427. #: guix-git/doc/guix.texi:2440
  6428. #, no-wrap
  6429. msgid "UEFI, installation"
  6430. msgstr ""
  6431. #. type: cindex
  6432. #: guix-git/doc/guix.texi:2441
  6433. #, no-wrap
  6434. msgid "ESP, EFI system partition"
  6435. msgstr ""
  6436. #. type: Plain text
  6437. #: guix-git/doc/guix.texi:2445
  6438. 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}:"
  6439. msgstr ""
  6440. #. type: example
  6441. #: guix-git/doc/guix.texi:2448
  6442. #, no-wrap
  6443. msgid "parted /dev/sda set 1 esp on\n"
  6444. msgstr ""
  6445. #. type: vindex
  6446. #: guix-git/doc/guix.texi:2451 guix-git/doc/guix.texi:33452
  6447. #, no-wrap
  6448. msgid "grub-bootloader"
  6449. msgstr ""
  6450. #. type: vindex
  6451. #: guix-git/doc/guix.texi:2452 guix-git/doc/guix.texi:33446
  6452. #, no-wrap
  6453. msgid "grub-efi-bootloader"
  6454. msgstr ""
  6455. #. type: quotation
  6456. #: guix-git/doc/guix.texi:2459
  6457. 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."
  6458. msgstr ""
  6459. #. type: Plain text
  6460. #: guix-git/doc/guix.texi:2467
  6461. 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:"
  6462. msgstr ""
  6463. #. type: example
  6464. #: guix-git/doc/guix.texi:2470
  6465. #, no-wrap
  6466. msgid "mkfs.fat -F32 /dev/sda1\n"
  6467. msgstr ""
  6468. #. type: Plain text
  6469. #: guix-git/doc/guix.texi:2477
  6470. 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})."
  6471. msgstr ""
  6472. #. type: Plain text
  6473. #: guix-git/doc/guix.texi:2484
  6474. 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:"
  6475. msgstr ""
  6476. #. type: example
  6477. #: guix-git/doc/guix.texi:2487
  6478. #, no-wrap
  6479. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6480. msgstr ""
  6481. #. type: cindex
  6482. #: guix-git/doc/guix.texi:2489 guix-git/doc/guix.texi:13734
  6483. #, no-wrap
  6484. msgid "encrypted disk"
  6485. msgstr ""
  6486. #. type: Plain text
  6487. #: guix-git/doc/guix.texi:2496
  6488. 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). Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:"
  6489. msgstr ""
  6490. #. type: example
  6491. #: guix-git/doc/guix.texi:2501
  6492. #, no-wrap
  6493. msgid ""
  6494. "cryptsetup luksFormat /dev/sda2\n"
  6495. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  6496. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6497. msgstr ""
  6498. #. type: Plain text
  6499. #: guix-git/doc/guix.texi:2506
  6500. 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):"
  6501. msgstr ""
  6502. #. type: example
  6503. #: guix-git/doc/guix.texi:2509
  6504. #, no-wrap
  6505. msgid "mount LABEL=my-root /mnt\n"
  6506. msgstr ""
  6507. #. type: Plain text
  6508. #: guix-git/doc/guix.texi:2515
  6509. 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."
  6510. msgstr ""
  6511. #. type: Plain text
  6512. #: guix-git/doc/guix.texi:2520
  6513. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6514. msgstr ""
  6515. #. type: example
  6516. #: guix-git/doc/guix.texi:2524
  6517. #, no-wrap
  6518. msgid ""
  6519. "mkswap /dev/sda3\n"
  6520. "swapon /dev/sda3\n"
  6521. msgstr ""
  6522. #. type: Plain text
  6523. #: guix-git/doc/guix.texi:2532
  6524. 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}.}:"
  6525. msgstr ""
  6526. #. type: example
  6527. #: guix-git/doc/guix.texi:2540
  6528. #, no-wrap
  6529. msgid ""
  6530. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6531. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6532. "# For security, make the file readable and writable only by root.\n"
  6533. "chmod 600 /mnt/swapfile\n"
  6534. "mkswap /mnt/swapfile\n"
  6535. "swapon /mnt/swapfile\n"
  6536. msgstr ""
  6537. #. type: Plain text
  6538. #: guix-git/doc/guix.texi:2545
  6539. 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."
  6540. msgstr ""
  6541. #. type: Plain text
  6542. #: guix-git/doc/guix.texi:2551
  6543. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6544. msgstr ""
  6545. #. type: example
  6546. #: guix-git/doc/guix.texi:2554
  6547. #, no-wrap
  6548. msgid "herd start cow-store /mnt\n"
  6549. msgstr ""
  6550. #. type: Plain text
  6551. #: guix-git/doc/guix.texi:2561
  6552. 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."
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:2572
  6556. 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."
  6557. msgstr ""
  6558. #. type: Plain text
  6559. #: guix-git/doc/guix.texi:2579
  6560. 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:"
  6561. msgstr ""
  6562. #. type: example
  6563. #: guix-git/doc/guix.texi:2584
  6564. #, no-wrap
  6565. msgid ""
  6566. "# mkdir /mnt/etc\n"
  6567. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6568. "# nano /mnt/etc/config.scm\n"
  6569. msgstr ""
  6570. #. type: Plain text
  6571. #: guix-git/doc/guix.texi:2588
  6572. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6573. msgstr ""
  6574. #. type: itemize
  6575. #: guix-git/doc/guix.texi:2600
  6576. 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."
  6577. msgstr ""
  6578. #. type: itemize
  6579. #: guix-git/doc/guix.texi:2606
  6580. 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."
  6581. msgstr ""
  6582. #. type: itemize
  6583. #: guix-git/doc/guix.texi:2610
  6584. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6585. msgstr ""
  6586. #. type: Plain text
  6587. #: guix-git/doc/guix.texi:2615
  6588. 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}):"
  6589. msgstr ""
  6590. #. type: example
  6591. #: guix-git/doc/guix.texi:2618
  6592. #, no-wrap
  6593. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6594. msgstr ""
  6595. #. type: Plain text
  6596. #: guix-git/doc/guix.texi:2625
  6597. 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."
  6598. msgstr ""
  6599. #. type: Plain text
  6600. #: guix-git/doc/guix.texi:2633
  6601. 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!"
  6602. msgstr ""
  6603. #. type: Plain text
  6604. #: guix-git/doc/guix.texi:2640
  6605. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6606. msgstr ""
  6607. #. type: example
  6608. #: guix-git/doc/guix.texi:2644
  6609. #, no-wrap
  6610. msgid ""
  6611. "guix pull\n"
  6612. "sudo guix system reconfigure /etc/config.scm\n"
  6613. msgstr ""
  6614. #. type: Plain text
  6615. #: guix-git/doc/guix.texi:2650
  6616. 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})."
  6617. msgstr ""
  6618. #. type: cindex
  6619. #: guix-git/doc/guix.texi:2653
  6620. #, no-wrap
  6621. msgid "sudo vs. @command{guix pull}"
  6622. msgstr ""
  6623. #. type: quotation
  6624. #: guix-git/doc/guix.texi:2657
  6625. 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{}}."
  6626. msgstr ""
  6627. #. type: quotation
  6628. #: guix-git/doc/guix.texi:2662
  6629. 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."
  6630. msgstr ""
  6631. #. type: Plain text
  6632. #: guix-git/doc/guix.texi:2667
  6633. 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!"
  6634. msgstr ""
  6635. #. type: section
  6636. #: guix-git/doc/guix.texi:2670
  6637. #, no-wrap
  6638. msgid "Installing Guix in a Virtual Machine"
  6639. msgstr ""
  6640. #. type: cindex
  6641. #: guix-git/doc/guix.texi:2672
  6642. #, no-wrap
  6643. msgid "virtual machine, Guix System installation"
  6644. msgstr ""
  6645. #. type: cindex
  6646. #: guix-git/doc/guix.texi:2673
  6647. #, no-wrap
  6648. msgid "virtual private server (VPS)"
  6649. msgstr ""
  6650. #. type: cindex
  6651. #: guix-git/doc/guix.texi:2674
  6652. #, no-wrap
  6653. msgid "VPS (virtual private server)"
  6654. msgstr ""
  6655. #. type: Plain text
  6656. #: guix-git/doc/guix.texi:2678
  6657. 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."
  6658. msgstr ""
  6659. #. type: Plain text
  6660. #: guix-git/doc/guix.texi:2681
  6661. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6662. msgstr ""
  6663. #. type: enumerate
  6664. #: guix-git/doc/guix.texi:2686
  6665. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6666. msgstr ""
  6667. #. type: enumerate
  6668. #: guix-git/doc/guix.texi:2690
  6669. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6670. msgstr ""
  6671. #. type: example
  6672. #: guix-git/doc/guix.texi:2693
  6673. #, no-wrap
  6674. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6675. msgstr ""
  6676. #. type: enumerate
  6677. #: guix-git/doc/guix.texi:2697
  6678. 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."
  6679. msgstr ""
  6680. #. type: enumerate
  6681. #: guix-git/doc/guix.texi:2700
  6682. msgid "Boot the USB installation image in an VM:"
  6683. msgstr ""
  6684. #. type: example
  6685. #: guix-git/doc/guix.texi:2706
  6686. #, no-wrap
  6687. msgid ""
  6688. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6689. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6690. " -drive file=guix-system.img \\\n"
  6691. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6692. msgstr ""
  6693. #. type: enumerate
  6694. #: guix-git/doc/guix.texi:2710
  6695. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6696. msgstr ""
  6697. #. type: enumerate
  6698. #: guix-git/doc/guix.texi:2714
  6699. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6700. msgstr ""
  6701. #. type: Plain text
  6702. #: guix-git/doc/guix.texi:2719
  6703. 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."
  6704. msgstr ""
  6705. #. type: cindex
  6706. #: guix-git/doc/guix.texi:2723
  6707. #, no-wrap
  6708. msgid "installation image"
  6709. msgstr ""
  6710. #. type: Plain text
  6711. #: guix-git/doc/guix.texi:2726
  6712. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6713. msgstr ""
  6714. #. type: example
  6715. #: guix-git/doc/guix.texi:2729
  6716. #, no-wrap
  6717. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6718. msgstr ""
  6719. #. type: Plain text
  6720. #: guix-git/doc/guix.texi:2734
  6721. 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."
  6722. msgstr ""
  6723. #. type: section
  6724. #: guix-git/doc/guix.texi:2735
  6725. #, no-wrap
  6726. msgid "Building the Installation Image for ARM Boards"
  6727. msgstr ""
  6728. #. type: Plain text
  6729. #: guix-git/doc/guix.texi:2739
  6730. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6731. msgstr ""
  6732. #. type: Plain text
  6733. #: guix-git/doc/guix.texi:2743
  6734. 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:"
  6735. msgstr ""
  6736. #. type: example
  6737. #: guix-git/doc/guix.texi:2746
  6738. #, no-wrap
  6739. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6740. msgstr ""
  6741. #. type: Plain text
  6742. #: guix-git/doc/guix.texi:2750
  6743. 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."
  6744. msgstr ""
  6745. #. type: Plain text
  6746. #: guix-git/doc/guix.texi:2760
  6747. 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."
  6748. msgstr ""
  6749. #. type: Plain text
  6750. #: guix-git/doc/guix.texi:2764
  6751. 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:"
  6752. msgstr ""
  6753. #. type: example
  6754. #: guix-git/doc/guix.texi:2767
  6755. #, no-wrap
  6756. msgid "guix search text editor\n"
  6757. msgstr ""
  6758. #. type: Plain text
  6759. #: guix-git/doc/guix.texi:2774
  6760. 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}!):"
  6761. msgstr ""
  6762. #. type: example
  6763. #: guix-git/doc/guix.texi:2777
  6764. #, no-wrap
  6765. msgid "guix install emacs\n"
  6766. msgstr ""
  6767. #. type: cindex
  6768. #: guix-git/doc/guix.texi:2779 guix-git/doc/guix.texi:3091
  6769. #: guix-git/doc/guix.texi:3143
  6770. #, no-wrap
  6771. msgid "profile"
  6772. msgstr ""
  6773. #. type: Plain text
  6774. #: guix-git/doc/guix.texi:2787
  6775. 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)."
  6776. msgstr ""
  6777. #. type: Plain text
  6778. #: guix-git/doc/guix.texi:2790
  6779. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6780. msgstr ""
  6781. #. type: example
  6782. #: guix-git/doc/guix.texi:2793
  6783. #, no-wrap
  6784. msgid ""
  6785. "hint: Consider setting the necessary environment variables by running:\n"
  6786. "\n"
  6787. msgstr ""
  6788. #. type: example
  6789. #: guix-git/doc/guix.texi:2796
  6790. #, no-wrap
  6791. msgid ""
  6792. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6793. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6794. "\n"
  6795. msgstr ""
  6796. #. type: example
  6797. #: guix-git/doc/guix.texi:2798
  6798. #, no-wrap
  6799. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6800. msgstr ""
  6801. #. type: Plain text
  6802. #: guix-git/doc/guix.texi:2812
  6803. 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, @code{PYTHONPATH} will be defined."
  6804. msgstr ""
  6805. #. type: Plain text
  6806. #: guix-git/doc/guix.texi:2815
  6807. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6808. msgstr ""
  6809. #. type: example
  6810. #: guix-git/doc/guix.texi:2818
  6811. #, no-wrap
  6812. msgid "guix package --list-installed\n"
  6813. msgstr ""
  6814. #. type: Plain text
  6815. #: guix-git/doc/guix.texi:2823
  6816. 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:"
  6817. msgstr ""
  6818. #. type: example
  6819. #: guix-git/doc/guix.texi:2826
  6820. #, no-wrap
  6821. msgid "guix package --roll-back\n"
  6822. msgstr ""
  6823. #. type: Plain text
  6824. #: guix-git/doc/guix.texi:2831
  6825. 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:"
  6826. msgstr ""
  6827. #. type: example
  6828. #: guix-git/doc/guix.texi:2834
  6829. #, no-wrap
  6830. msgid "guix package --list-generations\n"
  6831. msgstr ""
  6832. #. type: Plain text
  6833. #: guix-git/doc/guix.texi:2837
  6834. msgid "Now you know the basics of package management!"
  6835. msgstr ""
  6836. #. type: quotation
  6837. #: guix-git/doc/guix.texi:2838 guix-git/doc/guix.texi:2897
  6838. #, no-wrap
  6839. msgid "Going further"
  6840. msgstr ""
  6841. #. type: quotation
  6842. #: guix-git/doc/guix.texi:2846
  6843. 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."
  6844. msgstr ""
  6845. #. type: Plain text
  6846. #: guix-git/doc/guix.texi:2851
  6847. 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:"
  6848. msgstr ""
  6849. #. type: Plain text
  6850. #: guix-git/doc/guix.texi:2861
  6851. 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}:"
  6852. msgstr ""
  6853. #. type: example
  6854. #: guix-git/doc/guix.texi:2865
  6855. #, no-wrap
  6856. msgid ""
  6857. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6858. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6859. msgstr ""
  6860. #. type: Plain text
  6861. #: guix-git/doc/guix.texi:2869
  6862. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6863. msgstr ""
  6864. #. type: example
  6865. #: guix-git/doc/guix.texi:2872
  6866. #, no-wrap
  6867. msgid "hash guix\n"
  6868. msgstr ""
  6869. #. type: Plain text
  6870. #: guix-git/doc/guix.texi:2876
  6871. 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:"
  6872. msgstr ""
  6873. #. type: example
  6874. #: guix-git/doc/guix.texi:2879
  6875. #, no-wrap
  6876. msgid "guix upgrade\n"
  6877. msgstr ""
  6878. #. type: Plain text
  6879. #: guix-git/doc/guix.texi:2885
  6880. 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!"
  6881. msgstr ""
  6882. #. type: Plain text
  6883. #: guix-git/doc/guix.texi:2888
  6884. msgid "You can display the exact revision of Guix you're currently using by running:"
  6885. msgstr ""
  6886. #. type: example
  6887. #: guix-git/doc/guix.texi:2891
  6888. #, no-wrap
  6889. msgid "guix describe\n"
  6890. msgstr ""
  6891. #. type: Plain text
  6892. #: guix-git/doc/guix.texi:2896
  6893. 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."
  6894. msgstr ""
  6895. #. type: quotation
  6896. #: guix-git/doc/guix.texi:2902
  6897. 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})."
  6898. msgstr ""
  6899. #. type: Plain text
  6900. #: guix-git/doc/guix.texi:2907
  6901. 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:"
  6902. msgstr ""
  6903. #. type: example
  6904. #: guix-git/doc/guix.texi:2910
  6905. #, no-wrap
  6906. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6907. msgstr ""
  6908. #. type: Plain text
  6909. #: guix-git/doc/guix.texi:2919
  6910. 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}:"
  6911. msgstr ""
  6912. #. type: example
  6913. #: guix-git/doc/guix.texi:2922
  6914. #, no-wrap
  6915. msgid "sudo guix system roll-back\n"
  6916. msgstr ""
  6917. #. type: Plain text
  6918. #: guix-git/doc/guix.texi:2929
  6919. 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."
  6920. msgstr ""
  6921. #. type: Plain text
  6922. #: guix-git/doc/guix.texi:2931
  6923. msgid "Now you know enough to get started!"
  6924. msgstr ""
  6925. #. type: quotation
  6926. #: guix-git/doc/guix.texi:2932
  6927. #, no-wrap
  6928. msgid "Resources"
  6929. msgstr ""
  6930. #. type: quotation
  6931. #: guix-git/doc/guix.texi:2935
  6932. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6933. msgstr ""
  6934. #. type: itemize
  6935. #: guix-git/doc/guix.texi:2940
  6936. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6937. msgstr ""
  6938. #. type: itemize
  6939. #: guix-git/doc/guix.texi:2945
  6940. 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."
  6941. msgstr ""
  6942. #. type: itemize
  6943. #: guix-git/doc/guix.texi:2950
  6944. 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."
  6945. msgstr ""
  6946. #. type: itemize
  6947. #: guix-git/doc/guix.texi:2954
  6948. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6949. msgstr ""
  6950. #. type: quotation
  6951. #: guix-git/doc/guix.texi:2957
  6952. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6953. msgstr ""
  6954. #. type: Plain text
  6955. #: guix-git/doc/guix.texi:2968
  6956. 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."
  6957. msgstr ""
  6958. #. type: Plain text
  6959. #: guix-git/doc/guix.texi:2976
  6960. 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):"
  6961. msgstr ""
  6962. #. type: example
  6963. #: guix-git/doc/guix.texi:2979
  6964. #, no-wrap
  6965. msgid "guix install emacs-guix\n"
  6966. msgstr ""
  6967. #. type: Plain text
  6968. #: guix-git/doc/guix.texi:3000
  6969. 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."
  6970. msgstr ""
  6971. #. type: Plain text
  6972. #: guix-git/doc/guix.texi:3004
  6973. 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."
  6974. msgstr ""
  6975. #. type: Plain text
  6976. #: guix-git/doc/guix.texi:3009
  6977. 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}."
  6978. msgstr ""
  6979. #. type: Plain text
  6980. #: guix-git/doc/guix.texi:3017
  6981. 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."
  6982. msgstr ""
  6983. #. type: Plain text
  6984. #: guix-git/doc/guix.texi:3021
  6985. 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}."
  6986. msgstr ""
  6987. #. type: cindex
  6988. #: guix-git/doc/guix.texi:3022 guix-git/doc/guix.texi:3105
  6989. #, no-wrap
  6990. msgid "transactions"
  6991. msgstr ""
  6992. #. type: Plain text
  6993. #: guix-git/doc/guix.texi:3029
  6994. 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."
  6995. msgstr ""
  6996. #. type: Plain text
  6997. #: guix-git/doc/guix.texi:3037
  6998. 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})."
  6999. msgstr ""
  7000. #. type: Plain text
  7001. #: guix-git/doc/guix.texi:3044
  7002. 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."
  7003. msgstr ""
  7004. #. type: Plain text
  7005. #: guix-git/doc/guix.texi:3057
  7006. 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})."
  7007. msgstr ""
  7008. #. type: Plain text
  7009. #: guix-git/doc/guix.texi:3068
  7010. 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})."
  7011. msgstr ""
  7012. #. type: Plain text
  7013. #: guix-git/doc/guix.texi:3074
  7014. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} 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 environment})."
  7015. msgstr ""
  7016. #. type: cindex
  7017. #: guix-git/doc/guix.texi:3075
  7018. #, no-wrap
  7019. msgid "replication, of software environments"
  7020. msgstr ""
  7021. #. type: cindex
  7022. #: guix-git/doc/guix.texi:3076
  7023. #, no-wrap
  7024. msgid "provenance tracking, of software artifacts"
  7025. msgstr ""
  7026. #. type: Plain text
  7027. #: guix-git/doc/guix.texi:3083
  7028. 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."
  7029. msgstr ""
  7030. #. type: section
  7031. #: guix-git/doc/guix.texi:3085
  7032. #, no-wrap
  7033. msgid "Invoking @command{guix package}"
  7034. msgstr ""
  7035. #. type: cindex
  7036. #: guix-git/doc/guix.texi:3087
  7037. #, no-wrap
  7038. msgid "installing packages"
  7039. msgstr ""
  7040. #. type: cindex
  7041. #: guix-git/doc/guix.texi:3088
  7042. #, no-wrap
  7043. msgid "removing packages"
  7044. msgstr ""
  7045. #. type: cindex
  7046. #: guix-git/doc/guix.texi:3089
  7047. #, no-wrap
  7048. msgid "package installation"
  7049. msgstr ""
  7050. #. type: cindex
  7051. #: guix-git/doc/guix.texi:3090
  7052. #, no-wrap
  7053. msgid "package removal"
  7054. msgstr ""
  7055. #. type: Plain text
  7056. #: guix-git/doc/guix.texi:3100
  7057. 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:"
  7058. msgstr ""
  7059. #. type: example
  7060. #: guix-git/doc/guix.texi:3103
  7061. #, no-wrap
  7062. msgid "guix package @var{options}\n"
  7063. msgstr ""
  7064. #. type: Plain text
  7065. #: guix-git/doc/guix.texi:3110
  7066. 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."
  7067. msgstr ""
  7068. #. type: Plain text
  7069. #: guix-git/doc/guix.texi:3113
  7070. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7071. msgstr ""
  7072. #. type: example
  7073. #: guix-git/doc/guix.texi:3116
  7074. #, no-wrap
  7075. msgid "guix package -r lua -i guile guile-cairo\n"
  7076. msgstr ""
  7077. #. type: cindex
  7078. #: guix-git/doc/guix.texi:3118
  7079. #, no-wrap
  7080. msgid "aliases, for @command{guix package}"
  7081. msgstr ""
  7082. #. type: Plain text
  7083. #: guix-git/doc/guix.texi:3120
  7084. msgid "For your convenience, we also provide the following aliases:"
  7085. msgstr ""
  7086. #. type: itemize
  7087. #: guix-git/doc/guix.texi:3124
  7088. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7089. msgstr ""
  7090. #. type: itemize
  7091. #: guix-git/doc/guix.texi:3126
  7092. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7093. msgstr ""
  7094. #. type: itemize
  7095. #: guix-git/doc/guix.texi:3128
  7096. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7097. msgstr ""
  7098. #. type: itemize
  7099. #: guix-git/doc/guix.texi:3130
  7100. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7101. msgstr ""
  7102. #. type: itemize
  7103. #: guix-git/doc/guix.texi:3132
  7104. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7105. msgstr ""
  7106. #. type: Plain text
  7107. #: guix-git/doc/guix.texi:3137
  7108. 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."
  7109. msgstr ""
  7110. #. type: Plain text
  7111. #: guix-git/doc/guix.texi:3142
  7112. 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}})."
  7113. msgstr ""
  7114. #. type: Plain text
  7115. #: guix-git/doc/guix.texi:3149
  7116. 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."
  7117. msgstr ""
  7118. #. type: cindex
  7119. #: guix-git/doc/guix.texi:3149 guix-git/doc/guix.texi:3382
  7120. #, no-wrap
  7121. msgid "search paths"
  7122. msgstr ""
  7123. #. type: Plain text
  7124. #: guix-git/doc/guix.texi:3154
  7125. 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:"
  7126. msgstr ""
  7127. #. type: example
  7128. #: guix-git/doc/guix.texi:3158
  7129. #, no-wrap
  7130. msgid ""
  7131. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7132. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7133. msgstr ""
  7134. #. type: Plain text
  7135. #: guix-git/doc/guix.texi:3169
  7136. 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}."
  7137. msgstr ""
  7138. #. type: Plain text
  7139. #: guix-git/doc/guix.texi:3171
  7140. msgid "The @var{options} can be among the following:"
  7141. msgstr ""
  7142. #. type: item
  7143. #: guix-git/doc/guix.texi:3174
  7144. #, no-wrap
  7145. msgid "--install=@var{package} @dots{}"
  7146. msgstr ""
  7147. #. type: itemx
  7148. #: guix-git/doc/guix.texi:3175
  7149. #, no-wrap
  7150. msgid "-i @var{package} @dots{}"
  7151. msgstr ""
  7152. #. type: table
  7153. #: guix-git/doc/guix.texi:3177
  7154. msgid "Install the specified @var{package}s."
  7155. msgstr ""
  7156. #. type: table
  7157. #: guix-git/doc/guix.texi:3182
  7158. 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)."
  7159. msgstr ""
  7160. #. type: table
  7161. #: guix-git/doc/guix.texi:3190
  7162. 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})."
  7163. msgstr ""
  7164. #. type: cindex
  7165. #: guix-git/doc/guix.texi:3191
  7166. #, no-wrap
  7167. msgid "propagated inputs"
  7168. msgstr ""
  7169. #. type: table
  7170. #: guix-git/doc/guix.texi:3197
  7171. 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)."
  7172. msgstr ""
  7173. #. type: anchor{#1}
  7174. #: guix-git/doc/guix.texi:3204
  7175. msgid "package-cmd-propagated-inputs"
  7176. msgstr ""
  7177. #. type: table
  7178. #: guix-git/doc/guix.texi:3204
  7179. 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."
  7180. msgstr ""
  7181. #. type: table
  7182. #: guix-git/doc/guix.texi:3209
  7183. 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."
  7184. msgstr ""
  7185. #. type: item
  7186. #: guix-git/doc/guix.texi:3210
  7187. #, no-wrap
  7188. msgid "--install-from-expression=@var{exp}"
  7189. msgstr ""
  7190. #. type: itemx
  7191. #: guix-git/doc/guix.texi:3211
  7192. #, no-wrap
  7193. msgid "-e @var{exp}"
  7194. msgstr ""
  7195. #. type: table
  7196. #: guix-git/doc/guix.texi:3213
  7197. msgid "Install the package @var{exp} evaluates to."
  7198. msgstr ""
  7199. #. type: table
  7200. #: guix-git/doc/guix.texi:3218
  7201. 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)}."
  7202. msgstr ""
  7203. #. type: table
  7204. #: guix-git/doc/guix.texi:3222
  7205. 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."
  7206. msgstr ""
  7207. #. type: item
  7208. #: guix-git/doc/guix.texi:3223
  7209. #, no-wrap
  7210. msgid "--install-from-file=@var{file}"
  7211. msgstr ""
  7212. #. type: itemx
  7213. #: guix-git/doc/guix.texi:3224 guix-git/doc/guix.texi:10782
  7214. #, no-wrap
  7215. msgid "-f @var{file}"
  7216. msgstr ""
  7217. #. type: table
  7218. #: guix-git/doc/guix.texi:3226
  7219. msgid "Install the package that the code within @var{file} evaluates to."
  7220. msgstr ""
  7221. #. type: table
  7222. #: guix-git/doc/guix.texi:3229 guix-git/doc/guix.texi:5761
  7223. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7224. msgstr ""
  7225. #. type: include
  7226. #: guix-git/doc/guix.texi:3231 guix-git/doc/guix.texi:10790
  7227. #, no-wrap
  7228. msgid "package-hello.scm"
  7229. msgstr ""
  7230. #. type: table
  7231. #: guix-git/doc/guix.texi:3238
  7232. 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 environment})."
  7233. msgstr ""
  7234. #. type: table
  7235. #: guix-git/doc/guix.texi:3243
  7236. 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}:"
  7237. msgstr ""
  7238. #. type: example
  7239. #: guix-git/doc/guix.texi:3246 guix-git/doc/guix.texi:10800
  7240. #, no-wrap
  7241. msgid "@verbatiminclude package-hello.json\n"
  7242. msgstr ""
  7243. #. type: item
  7244. #: guix-git/doc/guix.texi:3248
  7245. #, no-wrap
  7246. msgid "--remove=@var{package} @dots{}"
  7247. msgstr ""
  7248. #. type: itemx
  7249. #: guix-git/doc/guix.texi:3249
  7250. #, no-wrap
  7251. msgid "-r @var{package} @dots{}"
  7252. msgstr ""
  7253. #. type: table
  7254. #: guix-git/doc/guix.texi:3251
  7255. msgid "Remove the specified @var{package}s."
  7256. msgstr ""
  7257. #. type: table
  7258. #: guix-git/doc/guix.texi:3256
  7259. 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}."
  7260. msgstr ""
  7261. #. type: item
  7262. #: guix-git/doc/guix.texi:3257
  7263. #, no-wrap
  7264. msgid "--upgrade[=@var{regexp} @dots{}]"
  7265. msgstr ""
  7266. #. type: itemx
  7267. #: guix-git/doc/guix.texi:3258
  7268. #, no-wrap
  7269. msgid "-u [@var{regexp} @dots{}]"
  7270. msgstr ""
  7271. #. type: cindex
  7272. #: guix-git/doc/guix.texi:3259
  7273. #, no-wrap
  7274. msgid "upgrading packages"
  7275. msgstr ""
  7276. #. type: table
  7277. #: guix-git/doc/guix.texi:3263
  7278. 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."
  7279. msgstr ""
  7280. #. type: table
  7281. #: guix-git/doc/guix.texi:3268
  7282. 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})."
  7283. msgstr ""
  7284. #. type: cindex
  7285. #: guix-git/doc/guix.texi:3269
  7286. #, no-wrap
  7287. msgid "package transformations, upgrades"
  7288. msgstr ""
  7289. #. type: table
  7290. #: guix-git/doc/guix.texi:3274
  7291. 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:"
  7292. msgstr ""
  7293. #. type: example
  7294. #: guix-git/doc/guix.texi:3277
  7295. #, no-wrap
  7296. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7297. msgstr ""
  7298. #. type: table
  7299. #: guix-git/doc/guix.texi:3282
  7300. 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."
  7301. msgstr ""
  7302. #. type: table
  7303. #: guix-git/doc/guix.texi:3287
  7304. 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:"
  7305. msgstr ""
  7306. #. type: example
  7307. #: guix-git/doc/guix.texi:3290
  7308. #, no-wrap
  7309. msgid "guix install @var{package}\n"
  7310. msgstr ""
  7311. #. type: item
  7312. #: guix-git/doc/guix.texi:3292
  7313. #, no-wrap
  7314. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7315. msgstr ""
  7316. #. type: table
  7317. #: guix-git/doc/guix.texi:3297
  7318. 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'':"
  7319. msgstr ""
  7320. #. type: example
  7321. #: guix-git/doc/guix.texi:3300
  7322. #, no-wrap
  7323. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7324. msgstr ""
  7325. #. type: anchor{#1}
  7326. #: guix-git/doc/guix.texi:3302
  7327. #, no-wrap
  7328. msgid "profile-manifest"
  7329. msgstr ""
  7330. #. type: item
  7331. #: guix-git/doc/guix.texi:3302 guix-git/doc/guix.texi:5766
  7332. #: guix-git/doc/guix.texi:6214 guix-git/doc/guix.texi:11898
  7333. #: guix-git/doc/guix.texi:13395
  7334. #, no-wrap
  7335. msgid "--manifest=@var{file}"
  7336. msgstr ""
  7337. #. type: itemx
  7338. #: guix-git/doc/guix.texi:3303 guix-git/doc/guix.texi:5767
  7339. #: guix-git/doc/guix.texi:6215 guix-git/doc/guix.texi:11899
  7340. #, no-wrap
  7341. msgid "-m @var{file}"
  7342. msgstr ""
  7343. #. type: cindex
  7344. #: guix-git/doc/guix.texi:3304
  7345. #, no-wrap
  7346. msgid "profile declaration"
  7347. msgstr ""
  7348. #. type: cindex
  7349. #: guix-git/doc/guix.texi:3305
  7350. #, no-wrap
  7351. msgid "profile manifest"
  7352. msgstr ""
  7353. #. type: table
  7354. #: guix-git/doc/guix.texi:3309
  7355. 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."
  7356. msgstr ""
  7357. #. type: table
  7358. #: guix-git/doc/guix.texi:3315
  7359. 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."
  7360. msgstr ""
  7361. #. type: table
  7362. #: guix-git/doc/guix.texi:3319
  7363. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7364. msgstr ""
  7365. #. type: findex
  7366. #: guix-git/doc/guix.texi:3320
  7367. #, no-wrap
  7368. msgid "packages->manifest"
  7369. msgstr ""
  7370. #. type: lisp
  7371. #: guix-git/doc/guix.texi:3323
  7372. #, no-wrap
  7373. msgid ""
  7374. "(use-package-modules guile emacs)\n"
  7375. "\n"
  7376. msgstr ""
  7377. #. type: lisp
  7378. #: guix-git/doc/guix.texi:3329
  7379. #, no-wrap
  7380. msgid ""
  7381. "(packages->manifest\n"
  7382. " (list emacs\n"
  7383. " guile-2.0\n"
  7384. " ;; Use a specific package output.\n"
  7385. " (list guile-2.0 \"debug\")))\n"
  7386. msgstr ""
  7387. #. type: findex
  7388. #: guix-git/doc/guix.texi:3331
  7389. #, no-wrap
  7390. msgid "specifications->manifest"
  7391. msgstr ""
  7392. #. type: table
  7393. #: guix-git/doc/guix.texi:3338
  7394. 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:"
  7395. msgstr ""
  7396. #. type: lisp
  7397. #: guix-git/doc/guix.texi:3342
  7398. #, no-wrap
  7399. msgid ""
  7400. "(specifications->manifest\n"
  7401. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7402. msgstr ""
  7403. #. type: table
  7404. #: guix-git/doc/guix.texi:3346
  7405. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7406. msgstr ""
  7407. #. type: item
  7408. #: guix-git/doc/guix.texi:3347 guix-git/doc/guix.texi:4454
  7409. #, no-wrap
  7410. msgid "--roll-back"
  7411. msgstr ""
  7412. #. type: cindex
  7413. #: guix-git/doc/guix.texi:3348 guix-git/doc/guix.texi:4455
  7414. #: guix-git/doc/guix.texi:33878 guix-git/doc/guix.texi:36041
  7415. #, no-wrap
  7416. msgid "rolling back"
  7417. msgstr ""
  7418. #. type: cindex
  7419. #: guix-git/doc/guix.texi:3349 guix-git/doc/guix.texi:4456
  7420. #, no-wrap
  7421. msgid "undoing transactions"
  7422. msgstr ""
  7423. #. type: cindex
  7424. #: guix-git/doc/guix.texi:3350 guix-git/doc/guix.texi:4457
  7425. #, no-wrap
  7426. msgid "transactions, undoing"
  7427. msgstr ""
  7428. #. type: table
  7429. #: guix-git/doc/guix.texi:3353
  7430. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7431. msgstr ""
  7432. #. type: table
  7433. #: guix-git/doc/guix.texi:3356
  7434. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7435. msgstr ""
  7436. #. type: table
  7437. #: guix-git/doc/guix.texi:3360
  7438. 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."
  7439. msgstr ""
  7440. #. type: table
  7441. #: guix-git/doc/guix.texi:3364
  7442. 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."
  7443. msgstr ""
  7444. #. type: item
  7445. #: guix-git/doc/guix.texi:3365 guix-git/doc/guix.texi:4461
  7446. #, no-wrap
  7447. msgid "--switch-generation=@var{pattern}"
  7448. msgstr ""
  7449. #. type: itemx
  7450. #: guix-git/doc/guix.texi:3366 guix-git/doc/guix.texi:4462
  7451. #, no-wrap
  7452. msgid "-S @var{pattern}"
  7453. msgstr ""
  7454. #. type: cindex
  7455. #: guix-git/doc/guix.texi:3367 guix-git/doc/guix.texi:3597
  7456. #: guix-git/doc/guix.texi:4463 guix-git/doc/guix.texi:33836
  7457. #, no-wrap
  7458. msgid "generations"
  7459. msgstr ""
  7460. #. type: table
  7461. #: guix-git/doc/guix.texi:3369 guix-git/doc/guix.texi:4465
  7462. msgid "Switch to a particular generation defined by @var{pattern}."
  7463. msgstr ""
  7464. #. type: table
  7465. #: guix-git/doc/guix.texi:3375 guix-git/doc/guix.texi:4471
  7466. 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}."
  7467. msgstr ""
  7468. #. type: table
  7469. #: guix-git/doc/guix.texi:3380
  7470. 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."
  7471. msgstr ""
  7472. #. type: item
  7473. #: guix-git/doc/guix.texi:3381
  7474. #, no-wrap
  7475. msgid "--search-paths[=@var{kind}]"
  7476. msgstr ""
  7477. #. type: table
  7478. #: guix-git/doc/guix.texi:3387
  7479. 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."
  7480. msgstr ""
  7481. #. type: table
  7482. #: guix-git/doc/guix.texi:3395
  7483. 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."
  7484. msgstr ""
  7485. #. type: table
  7486. #: guix-git/doc/guix.texi:3398
  7487. msgid "The typical use case is to define these environment variables in the shell:"
  7488. msgstr ""
  7489. #. type: example
  7490. #: guix-git/doc/guix.texi:3401
  7491. #, no-wrap
  7492. msgid "$ eval `guix package --search-paths`\n"
  7493. msgstr ""
  7494. #. type: table
  7495. #: guix-git/doc/guix.texi:3407
  7496. 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}."
  7497. msgstr ""
  7498. #. type: table
  7499. #: guix-git/doc/guix.texi:3410
  7500. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7501. msgstr ""
  7502. #. type: example
  7503. #: guix-git/doc/guix.texi:3415
  7504. #, no-wrap
  7505. msgid ""
  7506. "$ guix package -p foo -i guile\n"
  7507. "$ guix package -p bar -i guile-json\n"
  7508. "$ guix package -p foo -p bar --search-paths\n"
  7509. msgstr ""
  7510. #. type: table
  7511. #: guix-git/doc/guix.texi:3420
  7512. 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."
  7513. msgstr ""
  7514. #. type: cindex
  7515. #: guix-git/doc/guix.texi:3422
  7516. #, no-wrap
  7517. msgid "profile, choosing"
  7518. msgstr ""
  7519. #. type: item
  7520. #: guix-git/doc/guix.texi:3423 guix-git/doc/guix.texi:4491
  7521. #: guix-git/doc/guix.texi:4820
  7522. #, no-wrap
  7523. msgid "--profile=@var{profile}"
  7524. msgstr ""
  7525. #. type: itemx
  7526. #: guix-git/doc/guix.texi:3424 guix-git/doc/guix.texi:4492
  7527. #: guix-git/doc/guix.texi:4821
  7528. #, no-wrap
  7529. msgid "-p @var{profile}"
  7530. msgstr ""
  7531. #. type: table
  7532. #: guix-git/doc/guix.texi:3426
  7533. msgid "Use @var{profile} instead of the user's default profile."
  7534. msgstr ""
  7535. #. type: table
  7536. #: guix-git/doc/guix.texi:3431
  7537. 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:"
  7538. msgstr ""
  7539. #. type: example
  7540. #: guix-git/doc/guix.texi:3437
  7541. #, no-wrap
  7542. msgid ""
  7543. "$ guix install hello -p ~/code/my-profile\n"
  7544. "@dots{}\n"
  7545. "$ ~/code/my-profile/bin/hello\n"
  7546. "Hello, world!\n"
  7547. msgstr ""
  7548. #. type: table
  7549. #: guix-git/doc/guix.texi:3441
  7550. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7551. msgstr ""
  7552. #. type: example
  7553. #: guix-git/doc/guix.texi:3444
  7554. #, no-wrap
  7555. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7556. msgstr ""
  7557. #. type: item
  7558. #: guix-git/doc/guix.texi:3446
  7559. #, no-wrap
  7560. msgid "--list-profiles"
  7561. msgstr ""
  7562. #. type: table
  7563. #: guix-git/doc/guix.texi:3448
  7564. msgid "List all the user's profiles:"
  7565. msgstr ""
  7566. #. type: example
  7567. #: guix-git/doc/guix.texi:3455
  7568. #, no-wrap
  7569. msgid ""
  7570. "$ guix package --list-profiles\n"
  7571. "/home/charlie/.guix-profile\n"
  7572. "/home/charlie/code/my-profile\n"
  7573. "/home/charlie/code/devel-profile\n"
  7574. "/home/charlie/tmp/test\n"
  7575. msgstr ""
  7576. #. type: table
  7577. #: guix-git/doc/guix.texi:3458
  7578. msgid "When running as root, list all the profiles of all the users."
  7579. msgstr ""
  7580. #. type: cindex
  7581. #: guix-git/doc/guix.texi:3459
  7582. #, no-wrap
  7583. msgid "collisions, in a profile"
  7584. msgstr ""
  7585. #. type: cindex
  7586. #: guix-git/doc/guix.texi:3460
  7587. #, no-wrap
  7588. msgid "colliding packages in profiles"
  7589. msgstr ""
  7590. #. type: cindex
  7591. #: guix-git/doc/guix.texi:3461
  7592. #, no-wrap
  7593. msgid "profile collisions"
  7594. msgstr ""
  7595. #. type: item
  7596. #: guix-git/doc/guix.texi:3462
  7597. #, no-wrap
  7598. msgid "--allow-collisions"
  7599. msgstr ""
  7600. #. type: table
  7601. #: guix-git/doc/guix.texi:3464
  7602. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7603. msgstr ""
  7604. #. type: table
  7605. #: guix-git/doc/guix.texi:3468
  7606. 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."
  7607. msgstr ""
  7608. #. type: item
  7609. #: guix-git/doc/guix.texi:3469 guix-git/doc/guix.texi:4534
  7610. #: guix-git/doc/guix.texi:6300
  7611. #, no-wrap
  7612. msgid "--bootstrap"
  7613. msgstr ""
  7614. #. type: table
  7615. #: guix-git/doc/guix.texi:3472
  7616. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7617. msgstr ""
  7618. #. type: Plain text
  7619. #: guix-git/doc/guix.texi:3478
  7620. 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:"
  7621. msgstr ""
  7622. #. type: item
  7623. #: guix-git/doc/guix.texi:3481
  7624. #, no-wrap
  7625. msgid "--search=@var{regexp}"
  7626. msgstr ""
  7627. #. type: itemx
  7628. #: guix-git/doc/guix.texi:3482
  7629. #, no-wrap
  7630. msgid "-s @var{regexp}"
  7631. msgstr ""
  7632. #. type: anchor{#1}
  7633. #: guix-git/doc/guix.texi:3484
  7634. msgid "guix-search"
  7635. msgstr ""
  7636. #. type: cindex
  7637. #: guix-git/doc/guix.texi:3484
  7638. #, no-wrap
  7639. msgid "searching for packages"
  7640. msgstr ""
  7641. #. type: table
  7642. #: guix-git/doc/guix.texi:3490
  7643. 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})."
  7644. msgstr ""
  7645. #. type: table
  7646. #: guix-git/doc/guix.texi:3493
  7647. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7648. msgstr ""
  7649. #. type: example
  7650. #: guix-git/doc/guix.texi:3499
  7651. #, no-wrap
  7652. msgid ""
  7653. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7654. "name: jemalloc\n"
  7655. "version: 4.5.0\n"
  7656. "relevance: 6\n"
  7657. "\n"
  7658. msgstr ""
  7659. #. type: example
  7660. #: guix-git/doc/guix.texi:3503
  7661. #, no-wrap
  7662. msgid ""
  7663. "name: glibc\n"
  7664. "version: 2.25\n"
  7665. "relevance: 1\n"
  7666. "\n"
  7667. msgstr ""
  7668. #. type: example
  7669. #: guix-git/doc/guix.texi:3507
  7670. #, no-wrap
  7671. msgid ""
  7672. "name: libgc\n"
  7673. "version: 7.6.0\n"
  7674. "relevance: 1\n"
  7675. msgstr ""
  7676. #. type: table
  7677. #: guix-git/doc/guix.texi:3511
  7678. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7679. msgstr ""
  7680. #. type: example
  7681. #: guix-git/doc/guix.texi:3515
  7682. #, no-wrap
  7683. msgid ""
  7684. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7685. "name: elfutils\n"
  7686. "\n"
  7687. msgstr ""
  7688. #. type: example
  7689. #: guix-git/doc/guix.texi:3518
  7690. #, no-wrap
  7691. msgid ""
  7692. "name: gmp\n"
  7693. "@dots{}\n"
  7694. msgstr ""
  7695. #. type: table
  7696. #: guix-git/doc/guix.texi:3524
  7697. 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):"
  7698. msgstr ""
  7699. #. type: example
  7700. #: guix-git/doc/guix.texi:3529
  7701. #, no-wrap
  7702. msgid ""
  7703. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7704. "name: gnubg\n"
  7705. "@dots{}\n"
  7706. msgstr ""
  7707. #. type: table
  7708. #: guix-git/doc/guix.texi:3535
  7709. 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."
  7710. msgstr ""
  7711. #. type: table
  7712. #: guix-git/doc/guix.texi:3539
  7713. 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:"
  7714. msgstr ""
  7715. #. type: example
  7716. #: guix-git/doc/guix.texi:3543
  7717. #, no-wrap
  7718. msgid ""
  7719. "$ guix search crypto library | \\\n"
  7720. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7721. msgstr ""
  7722. #. type: table
  7723. #: guix-git/doc/guix.texi:3548
  7724. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7725. msgstr ""
  7726. #. type: item
  7727. #: guix-git/doc/guix.texi:3549
  7728. #, no-wrap
  7729. msgid "--show=@var{package}"
  7730. msgstr ""
  7731. #. type: table
  7732. #: guix-git/doc/guix.texi:3553
  7733. 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})."
  7734. msgstr ""
  7735. #. type: example
  7736. #: guix-git/doc/guix.texi:3558
  7737. #, no-wrap
  7738. msgid ""
  7739. "$ guix package --show=python | recsel -p name,version\n"
  7740. "name: python\n"
  7741. "version: 2.7.6\n"
  7742. "\n"
  7743. msgstr ""
  7744. #. type: example
  7745. #: guix-git/doc/guix.texi:3561
  7746. #, no-wrap
  7747. msgid ""
  7748. "name: python\n"
  7749. "version: 3.3.5\n"
  7750. msgstr ""
  7751. #. type: table
  7752. #: guix-git/doc/guix.texi:3565
  7753. 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):"
  7754. msgstr ""
  7755. #. type: example
  7756. #: guix-git/doc/guix.texi:3569
  7757. #, no-wrap
  7758. msgid ""
  7759. "$ guix show python@@3.4 | recsel -p name,version\n"
  7760. "name: python\n"
  7761. "version: 3.4.3\n"
  7762. msgstr ""
  7763. #. type: item
  7764. #: guix-git/doc/guix.texi:3573
  7765. #, no-wrap
  7766. msgid "--list-installed[=@var{regexp}]"
  7767. msgstr ""
  7768. #. type: itemx
  7769. #: guix-git/doc/guix.texi:3574
  7770. #, no-wrap
  7771. msgid "-I [@var{regexp}]"
  7772. msgstr ""
  7773. #. type: table
  7774. #: guix-git/doc/guix.texi:3578
  7775. 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}."
  7776. msgstr ""
  7777. #. type: table
  7778. #: guix-git/doc/guix.texi:3584
  7779. 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."
  7780. msgstr ""
  7781. #. type: item
  7782. #: guix-git/doc/guix.texi:3585
  7783. #, no-wrap
  7784. msgid "--list-available[=@var{regexp}]"
  7785. msgstr ""
  7786. #. type: itemx
  7787. #: guix-git/doc/guix.texi:3586
  7788. #, no-wrap
  7789. msgid "-A [@var{regexp}]"
  7790. msgstr ""
  7791. #. type: table
  7792. #: guix-git/doc/guix.texi:3590
  7793. 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}."
  7794. msgstr ""
  7795. #. type: table
  7796. #: guix-git/doc/guix.texi:3594
  7797. 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."
  7798. msgstr ""
  7799. #. type: item
  7800. #: guix-git/doc/guix.texi:3595 guix-git/doc/guix.texi:4447
  7801. #, no-wrap
  7802. msgid "--list-generations[=@var{pattern}]"
  7803. msgstr ""
  7804. #. type: itemx
  7805. #: guix-git/doc/guix.texi:3596 guix-git/doc/guix.texi:4448
  7806. #, no-wrap
  7807. msgid "-l [@var{pattern}]"
  7808. msgstr ""
  7809. #. type: table
  7810. #: guix-git/doc/guix.texi:3602
  7811. 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."
  7812. msgstr ""
  7813. #. type: table
  7814. #: guix-git/doc/guix.texi:3607
  7815. 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."
  7816. msgstr ""
  7817. #. type: table
  7818. #: guix-git/doc/guix.texi:3610
  7819. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7820. msgstr ""
  7821. #. type: item
  7822. #: guix-git/doc/guix.texi:3612
  7823. #, no-wrap
  7824. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7825. msgstr ""
  7826. #. type: itemize
  7827. #: guix-git/doc/guix.texi:3615
  7828. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7829. msgstr ""
  7830. #. type: itemize
  7831. #: guix-git/doc/guix.texi:3618
  7832. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7833. msgstr ""
  7834. #. type: item
  7835. #: guix-git/doc/guix.texi:3619
  7836. #, no-wrap
  7837. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7838. msgstr ""
  7839. #. type: itemize
  7840. #: guix-git/doc/guix.texi:3622
  7841. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7842. msgstr ""
  7843. #. type: itemize
  7844. #: guix-git/doc/guix.texi:3626
  7845. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7846. msgstr ""
  7847. #. type: item
  7848. #: guix-git/doc/guix.texi:3627
  7849. #, no-wrap
  7850. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7851. msgstr ""
  7852. #. type: itemize
  7853. #: guix-git/doc/guix.texi:3631
  7854. 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."
  7855. msgstr ""
  7856. #. type: item
  7857. #: guix-git/doc/guix.texi:3633 guix-git/doc/guix.texi:4472
  7858. #, no-wrap
  7859. msgid "--delete-generations[=@var{pattern}]"
  7860. msgstr ""
  7861. #. type: itemx
  7862. #: guix-git/doc/guix.texi:3634 guix-git/doc/guix.texi:4473
  7863. #, no-wrap
  7864. msgid "-d [@var{pattern}]"
  7865. msgstr ""
  7866. #. type: table
  7867. #: guix-git/doc/guix.texi:3637 guix-git/doc/guix.texi:4476
  7868. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7869. msgstr ""
  7870. #. type: table
  7871. #: guix-git/doc/guix.texi:3643 guix-git/doc/guix.texi:4482
  7872. 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."
  7873. msgstr ""
  7874. #. type: table
  7875. #: guix-git/doc/guix.texi:3646
  7876. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7877. msgstr ""
  7878. #. type: table
  7879. #: guix-git/doc/guix.texi:3649 guix-git/doc/guix.texi:4487
  7880. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7881. msgstr ""
  7882. #. type: cindex
  7883. #: guix-git/doc/guix.texi:3650
  7884. #, no-wrap
  7885. msgid "manifest, exporting"
  7886. msgstr ""
  7887. #. type: anchor{#1}
  7888. #: guix-git/doc/guix.texi:3652
  7889. msgid "export-manifest"
  7890. msgstr ""
  7891. #. type: item
  7892. #: guix-git/doc/guix.texi:3652
  7893. #, no-wrap
  7894. msgid "--export-manifest"
  7895. msgstr ""
  7896. #. type: table
  7897. #: guix-git/doc/guix.texi:3655
  7898. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7899. msgstr ""
  7900. #. type: table
  7901. #: guix-git/doc/guix.texi:3659
  7902. 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."
  7903. msgstr ""
  7904. #. type: table
  7905. #: guix-git/doc/guix.texi:3664
  7906. 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."
  7907. msgstr ""
  7908. #. type: table
  7909. #: guix-git/doc/guix.texi:3669
  7910. 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."
  7911. msgstr ""
  7912. #. type: cindex
  7913. #: guix-git/doc/guix.texi:3670
  7914. #, no-wrap
  7915. msgid "pinning, channel revisions of a profile"
  7916. msgstr ""
  7917. #. type: item
  7918. #: guix-git/doc/guix.texi:3671
  7919. #, no-wrap
  7920. msgid "--export-channels"
  7921. msgstr ""
  7922. #. type: table
  7923. #: guix-git/doc/guix.texi:3675
  7924. 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})."
  7925. msgstr ""
  7926. #. type: table
  7927. #: guix-git/doc/guix.texi:3679
  7928. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7929. msgstr ""
  7930. #. type: table
  7931. #: guix-git/doc/guix.texi:3687
  7932. 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})."
  7933. msgstr ""
  7934. #. type: table
  7935. #: guix-git/doc/guix.texi:3692
  7936. 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."
  7937. msgstr ""
  7938. #. type: Plain text
  7939. #: guix-git/doc/guix.texi:3699
  7940. 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})."
  7941. msgstr ""
  7942. #. type: cindex
  7943. #: guix-git/doc/guix.texi:3704
  7944. #, no-wrap
  7945. msgid "pre-built binaries"
  7946. msgstr ""
  7947. #. type: Plain text
  7948. #: guix-git/doc/guix.texi:3710
  7949. 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."
  7950. msgstr ""
  7951. #. type: Plain text
  7952. #: guix-git/doc/guix.texi:3715
  7953. 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."
  7954. msgstr ""
  7955. #. type: cindex
  7956. #: guix-git/doc/guix.texi:3729
  7957. #, no-wrap
  7958. msgid "build farm"
  7959. msgstr ""
  7960. #. type: Plain text
  7961. #: guix-git/doc/guix.texi:3740
  7962. 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})."
  7963. msgstr ""
  7964. #. type: Plain text
  7965. #: guix-git/doc/guix.texi:3746
  7966. 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."
  7967. msgstr ""
  7968. #. type: Plain text
  7969. #: guix-git/doc/guix.texi:3755
  7970. 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."
  7971. msgstr ""
  7972. #. type: cindex
  7973. #: guix-git/doc/guix.texi:3759
  7974. #, no-wrap
  7975. msgid "security"
  7976. msgstr ""
  7977. #. type: cindex
  7978. #: guix-git/doc/guix.texi:3761
  7979. #, no-wrap
  7980. msgid "access control list (ACL), for substitutes"
  7981. msgstr ""
  7982. #. type: cindex
  7983. #: guix-git/doc/guix.texi:3762
  7984. #, no-wrap
  7985. msgid "ACL (access control list), for substitutes"
  7986. msgstr ""
  7987. #. type: Plain text
  7988. #: guix-git/doc/guix.texi:3768
  7989. 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."
  7990. msgstr ""
  7991. #. type: quotation
  7992. #: guix-git/doc/guix.texi:3773
  7993. 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."
  7994. msgstr ""
  7995. #. type: Plain text
  7996. #: guix-git/doc/guix.texi:3781
  7997. 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:"
  7998. msgstr ""
  7999. #. type: example
  8000. #: guix-git/doc/guix.texi:3785
  8001. #, no-wrap
  8002. msgid ""
  8003. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8004. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8005. msgstr ""
  8006. #. type: Plain text
  8007. #: guix-git/doc/guix.texi:3789
  8008. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8009. msgstr ""
  8010. #. type: example
  8011. #: guix-git/doc/guix.texi:3798
  8012. #, no-wrap
  8013. msgid ""
  8014. "$ guix build emacs --dry-run\n"
  8015. "The following derivations would be built:\n"
  8016. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8017. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8018. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8019. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8020. "@dots{}\n"
  8021. msgstr ""
  8022. #. type: Plain text
  8023. #: guix-git/doc/guix.texi:3802
  8024. msgid "to something like:"
  8025. msgstr ""
  8026. #. type: example
  8027. #: guix-git/doc/guix.texi:3811
  8028. #, no-wrap
  8029. msgid ""
  8030. "$ guix build emacs --dry-run\n"
  8031. "112.3 MB would be downloaded:\n"
  8032. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8033. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8034. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8035. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8036. "@dots{}\n"
  8037. msgstr ""
  8038. #. type: Plain text
  8039. #: guix-git/doc/guix.texi:3818
  8040. 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."
  8041. msgstr ""
  8042. #. type: cindex
  8043. #: guix-git/doc/guix.texi:3819
  8044. #, no-wrap
  8045. msgid "substitutes, how to disable"
  8046. msgstr ""
  8047. #. type: Plain text
  8048. #: guix-git/doc/guix.texi:3825
  8049. 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."
  8050. msgstr ""
  8051. #. type: cindex
  8052. #: guix-git/doc/guix.texi:3829
  8053. #, no-wrap
  8054. msgid "substitute servers, adding more"
  8055. msgstr ""
  8056. #. type: Plain text
  8057. #: guix-git/doc/guix.texi:3836
  8058. 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."
  8059. msgstr ""
  8060. #. type: Plain text
  8061. #: guix-git/doc/guix.texi:3841
  8062. 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."
  8063. msgstr ""
  8064. #. type: Plain text
  8065. #: guix-git/doc/guix.texi:3848
  8066. 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}})."
  8067. msgstr ""
  8068. #. type: Plain text
  8069. #: guix-git/doc/guix.texi:3854
  8070. 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:"
  8071. msgstr ""
  8072. #. type: lisp
  8073. #: guix-git/doc/guix.texi:3871
  8074. #, no-wrap
  8075. msgid ""
  8076. "(operating-system\n"
  8077. " ;; @dots{}\n"
  8078. " (services\n"
  8079. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8080. " ;; with the list of services you're actually using.\n"
  8081. " (modify-services %desktop-services\n"
  8082. " (guix-service-type config =>\n"
  8083. " (guix-configuration\n"
  8084. " (inherit config)\n"
  8085. " (substitute-urls\n"
  8086. " (append (list \"https://guix.example.org\")\n"
  8087. " %default-substitute-urls))\n"
  8088. " (authorized-keys\n"
  8089. " (append (list (local-file \"./key.pub\"))\n"
  8090. " %default-authorized-guix-keys)))))))\n"
  8091. msgstr ""
  8092. #. type: Plain text
  8093. #: guix-git/doc/guix.texi:3878
  8094. 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:"
  8095. msgstr ""
  8096. #. type: example
  8097. #: guix-git/doc/guix.texi:3882
  8098. #, no-wrap
  8099. msgid ""
  8100. "$ sudo guix system reconfigure /etc/config.scm\n"
  8101. "$ sudo herd restart guix-daemon\n"
  8102. msgstr ""
  8103. #. type: Plain text
  8104. #: guix-git/doc/guix.texi:3886
  8105. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8106. msgstr ""
  8107. #. type: enumerate
  8108. #: guix-git/doc/guix.texi:3895
  8109. 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}}):"
  8110. msgstr ""
  8111. #. type: example
  8112. #: guix-git/doc/guix.texi:3898
  8113. #, no-wrap
  8114. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8115. msgstr ""
  8116. #. type: enumerate
  8117. #: guix-git/doc/guix.texi:3902
  8118. msgid "Restart the daemon. For systemd, it goes like this:"
  8119. msgstr ""
  8120. #. type: example
  8121. #: guix-git/doc/guix.texi:3906
  8122. #, no-wrap
  8123. msgid ""
  8124. "systemctl daemon-reload\n"
  8125. "systemctl restart guix-daemon.service\n"
  8126. msgstr ""
  8127. #. type: enumerate
  8128. #: guix-git/doc/guix.texi:3910
  8129. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8130. msgstr ""
  8131. #. type: example
  8132. #: guix-git/doc/guix.texi:3913
  8133. #, no-wrap
  8134. msgid "guix archive --authorize < key.pub\n"
  8135. msgstr ""
  8136. #. type: enumerate
  8137. #: guix-git/doc/guix.texi:3917
  8138. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8139. msgstr ""
  8140. #. type: Plain text
  8141. #: guix-git/doc/guix.texi:3926
  8142. 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."
  8143. msgstr ""
  8144. #. type: Plain text
  8145. #: guix-git/doc/guix.texi:3930
  8146. 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."
  8147. msgstr ""
  8148. #. type: cindex
  8149. #: guix-git/doc/guix.texi:3934
  8150. #, no-wrap
  8151. msgid "digital signatures"
  8152. msgstr ""
  8153. #. type: Plain text
  8154. #: guix-git/doc/guix.texi:3938
  8155. 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."
  8156. msgstr ""
  8157. #. type: Plain text
  8158. #: guix-git/doc/guix.texi:3944
  8159. 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:"
  8160. msgstr ""
  8161. #. type: example
  8162. #: guix-git/doc/guix.texi:3947
  8163. #, no-wrap
  8164. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8165. msgstr ""
  8166. #. type: Plain text
  8167. #: guix-git/doc/guix.texi:3958
  8168. 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)."
  8169. msgstr ""
  8170. #. type: Plain text
  8171. #: guix-git/doc/guix.texi:3965
  8172. 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)."
  8173. msgstr ""
  8174. #. type: Plain text
  8175. #: guix-git/doc/guix.texi:3977
  8176. 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}."
  8177. msgstr ""
  8178. #. type: Plain text
  8179. #: guix-git/doc/guix.texi:3986
  8180. 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."
  8181. msgstr ""
  8182. #. type: Plain text
  8183. #: guix-git/doc/guix.texi:4000
  8184. 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."
  8185. msgstr ""
  8186. #. type: Plain text
  8187. #: guix-git/doc/guix.texi:4005
  8188. 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."
  8189. msgstr ""
  8190. #. type: cindex
  8191. #: guix-git/doc/guix.texi:4009
  8192. #, no-wrap
  8193. msgid "trust, of pre-built binaries"
  8194. msgstr ""
  8195. #. type: Plain text
  8196. #: guix-git/doc/guix.texi:4019
  8197. 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})."
  8198. msgstr ""
  8199. #. type: Plain text
  8200. #: guix-git/doc/guix.texi:4031
  8201. 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}})."
  8202. msgstr ""
  8203. #. type: Plain text
  8204. #: guix-git/doc/guix.texi:4035
  8205. 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}."
  8206. msgstr ""
  8207. #. type: cindex
  8208. #: guix-git/doc/guix.texi:4039
  8209. #, no-wrap
  8210. msgid "multiple-output packages"
  8211. msgstr ""
  8212. #. type: cindex
  8213. #: guix-git/doc/guix.texi:4040
  8214. #, no-wrap
  8215. msgid "package outputs"
  8216. msgstr ""
  8217. #. type: cindex
  8218. #: guix-git/doc/guix.texi:4041
  8219. #, no-wrap
  8220. msgid "outputs"
  8221. msgstr ""
  8222. #. type: Plain text
  8223. #: guix-git/doc/guix.texi:4051
  8224. 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."
  8225. msgstr ""
  8226. #. type: Plain text
  8227. #: guix-git/doc/guix.texi:4059
  8228. 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:"
  8229. msgstr ""
  8230. #. type: example
  8231. #: guix-git/doc/guix.texi:4062
  8232. #, no-wrap
  8233. msgid "guix install glib\n"
  8234. msgstr ""
  8235. #. type: item
  8236. #: guix-git/doc/guix.texi:4064 guix-git/doc/guix.texi:35224
  8237. #: guix-git/doc/guix.texi:35281
  8238. #, no-wrap
  8239. msgid "documentation"
  8240. msgstr ""
  8241. #. type: Plain text
  8242. #: guix-git/doc/guix.texi:4066
  8243. msgid "The command to install its documentation is:"
  8244. msgstr ""
  8245. #. type: example
  8246. #: guix-git/doc/guix.texi:4069
  8247. #, no-wrap
  8248. msgid "guix install glib:doc\n"
  8249. msgstr ""
  8250. #. type: Plain text
  8251. #: guix-git/doc/guix.texi:4080
  8252. 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})."
  8253. msgstr ""
  8254. #. type: Plain text
  8255. #: guix-git/doc/guix.texi:4088
  8256. 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})."
  8257. msgstr ""
  8258. #. type: section
  8259. #: guix-git/doc/guix.texi:4091
  8260. #, no-wrap
  8261. msgid "Invoking @command{guix gc}"
  8262. msgstr ""
  8263. #. type: cindex
  8264. #: guix-git/doc/guix.texi:4093
  8265. #, no-wrap
  8266. msgid "garbage collector"
  8267. msgstr ""
  8268. #. type: cindex
  8269. #: guix-git/doc/guix.texi:4094
  8270. #, no-wrap
  8271. msgid "disk space"
  8272. msgstr ""
  8273. #. type: Plain text
  8274. #: guix-git/doc/guix.texi:4100
  8275. 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!"
  8276. msgstr ""
  8277. #. type: Plain text
  8278. #: guix-git/doc/guix.texi:4111
  8279. 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."
  8280. msgstr ""
  8281. #. type: Plain text
  8282. #: guix-git/doc/guix.texi:4117
  8283. 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})."
  8284. msgstr ""
  8285. #. type: Plain text
  8286. #: guix-git/doc/guix.texi:4121
  8287. 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:"
  8288. msgstr ""
  8289. #. type: example
  8290. #: guix-git/doc/guix.texi:4124
  8291. #, no-wrap
  8292. msgid "guix gc -F 5G\n"
  8293. msgstr ""
  8294. #. type: Plain text
  8295. #: guix-git/doc/guix.texi:4133
  8296. 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."
  8297. msgstr ""
  8298. #. type: Plain text
  8299. #: guix-git/doc/guix.texi:4139
  8300. 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:"
  8301. msgstr ""
  8302. #. type: item
  8303. #: guix-git/doc/guix.texi:4141
  8304. #, no-wrap
  8305. msgid "--collect-garbage[=@var{min}]"
  8306. msgstr ""
  8307. #. type: itemx
  8308. #: guix-git/doc/guix.texi:4142
  8309. #, no-wrap
  8310. msgid "-C [@var{min}]"
  8311. msgstr ""
  8312. #. type: table
  8313. #: guix-git/doc/guix.texi:4146
  8314. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8315. msgstr ""
  8316. #. type: table
  8317. #: guix-git/doc/guix.texi:4151
  8318. 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})."
  8319. msgstr ""
  8320. #. type: table
  8321. #: guix-git/doc/guix.texi:4153
  8322. msgid "When @var{min} is omitted, collect all the garbage."
  8323. msgstr ""
  8324. #. type: item
  8325. #: guix-git/doc/guix.texi:4154
  8326. #, no-wrap
  8327. msgid "--free-space=@var{free}"
  8328. msgstr ""
  8329. #. type: itemx
  8330. #: guix-git/doc/guix.texi:4155
  8331. #, no-wrap
  8332. msgid "-F @var{free}"
  8333. msgstr ""
  8334. #. type: table
  8335. #: guix-git/doc/guix.texi:4159
  8336. 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."
  8337. msgstr ""
  8338. #. type: table
  8339. #: guix-git/doc/guix.texi:4162
  8340. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8341. msgstr ""
  8342. #. type: item
  8343. #: guix-git/doc/guix.texi:4163
  8344. #, no-wrap
  8345. msgid "--delete-generations[=@var{duration}]"
  8346. msgstr ""
  8347. #. type: itemx
  8348. #: guix-git/doc/guix.texi:4164
  8349. #, no-wrap
  8350. msgid "-d [@var{duration}]"
  8351. msgstr ""
  8352. #. type: table
  8353. #: guix-git/doc/guix.texi:4168
  8354. 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}."
  8355. msgstr ""
  8356. #. type: table
  8357. #: guix-git/doc/guix.texi:4172
  8358. 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:"
  8359. msgstr ""
  8360. #. type: example
  8361. #: guix-git/doc/guix.texi:4175
  8362. #, no-wrap
  8363. msgid "guix gc -d 2m -F 10G\n"
  8364. msgstr ""
  8365. #. type: item
  8366. #: guix-git/doc/guix.texi:4177
  8367. #, no-wrap
  8368. msgid "--delete"
  8369. msgstr ""
  8370. #. type: itemx
  8371. #: guix-git/doc/guix.texi:4178
  8372. #, no-wrap
  8373. msgid "-D"
  8374. msgstr ""
  8375. #. type: table
  8376. #: guix-git/doc/guix.texi:4182
  8377. 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."
  8378. msgstr ""
  8379. #. type: item
  8380. #: guix-git/doc/guix.texi:4183
  8381. #, no-wrap
  8382. msgid "--list-failures"
  8383. msgstr ""
  8384. #. type: table
  8385. #: guix-git/doc/guix.texi:4185
  8386. msgid "List store items corresponding to cached build failures."
  8387. msgstr ""
  8388. #. type: table
  8389. #: guix-git/doc/guix.texi:4189
  8390. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8391. msgstr ""
  8392. #. type: item
  8393. #: guix-git/doc/guix.texi:4190
  8394. #, no-wrap
  8395. msgid "--list-roots"
  8396. msgstr ""
  8397. #. type: table
  8398. #: guix-git/doc/guix.texi:4193
  8399. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8400. msgstr ""
  8401. #. type: item
  8402. #: guix-git/doc/guix.texi:4194
  8403. #, no-wrap
  8404. msgid "--list-busy"
  8405. msgstr ""
  8406. #. type: table
  8407. #: guix-git/doc/guix.texi:4197
  8408. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8409. msgstr ""
  8410. #. type: item
  8411. #: guix-git/doc/guix.texi:4198
  8412. #, no-wrap
  8413. msgid "--clear-failures"
  8414. msgstr ""
  8415. #. type: table
  8416. #: guix-git/doc/guix.texi:4200
  8417. msgid "Remove the specified store items from the failed-build cache."
  8418. msgstr ""
  8419. #. type: table
  8420. #: guix-git/doc/guix.texi:4203
  8421. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8422. msgstr ""
  8423. #. type: item
  8424. #: guix-git/doc/guix.texi:4204
  8425. #, no-wrap
  8426. msgid "--list-dead"
  8427. msgstr ""
  8428. #. type: table
  8429. #: guix-git/doc/guix.texi:4207
  8430. 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."
  8431. msgstr ""
  8432. #. type: item
  8433. #: guix-git/doc/guix.texi:4208
  8434. #, no-wrap
  8435. msgid "--list-live"
  8436. msgstr ""
  8437. #. type: table
  8438. #: guix-git/doc/guix.texi:4210
  8439. msgid "Show the list of live store files and directories."
  8440. msgstr ""
  8441. #. type: Plain text
  8442. #: guix-git/doc/guix.texi:4214
  8443. msgid "In addition, the references among existing store files can be queried:"
  8444. msgstr ""
  8445. #. type: item
  8446. #: guix-git/doc/guix.texi:4217
  8447. #, no-wrap
  8448. msgid "--references"
  8449. msgstr ""
  8450. #. type: itemx
  8451. #: guix-git/doc/guix.texi:4218
  8452. #, no-wrap
  8453. msgid "--referrers"
  8454. msgstr ""
  8455. #. type: cindex
  8456. #: guix-git/doc/guix.texi:4219 guix-git/doc/guix.texi:12465
  8457. #, no-wrap
  8458. msgid "package dependencies"
  8459. msgstr ""
  8460. #. type: table
  8461. #: guix-git/doc/guix.texi:4222
  8462. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8463. msgstr ""
  8464. #. type: item
  8465. #: guix-git/doc/guix.texi:4223
  8466. #, no-wrap
  8467. msgid "--requisites"
  8468. msgstr ""
  8469. #. type: itemx
  8470. #: guix-git/doc/guix.texi:4224 guix-git/doc/guix.texi:6100
  8471. #, no-wrap
  8472. msgid "-R"
  8473. msgstr ""
  8474. #. type: item
  8475. #: guix-git/doc/guix.texi:4225 guix-git/doc/guix.texi:12321
  8476. #: guix-git/doc/guix.texi:12349 guix-git/doc/guix.texi:12430
  8477. #, no-wrap
  8478. msgid "closure"
  8479. msgstr ""
  8480. #. type: table
  8481. #: guix-git/doc/guix.texi:4230
  8482. 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."
  8483. msgstr ""
  8484. #. type: table
  8485. #: guix-git/doc/guix.texi:4234
  8486. 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."
  8487. msgstr ""
  8488. #. type: item
  8489. #: guix-git/doc/guix.texi:4235
  8490. #, no-wrap
  8491. msgid "--derivers"
  8492. msgstr ""
  8493. #. type: item
  8494. #: guix-git/doc/guix.texi:4236 guix-git/doc/guix.texi:6414
  8495. #: guix-git/doc/guix.texi:12184 guix-git/doc/guix.texi:12574
  8496. #, no-wrap
  8497. msgid "derivation"
  8498. msgstr ""
  8499. #. type: table
  8500. #: guix-git/doc/guix.texi:4239
  8501. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8502. msgstr ""
  8503. #. type: table
  8504. #: guix-git/doc/guix.texi:4241
  8505. msgid "For example, this command:"
  8506. msgstr ""
  8507. #. type: example
  8508. #: guix-git/doc/guix.texi:4244
  8509. #, no-wrap
  8510. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8511. msgstr ""
  8512. #. type: table
  8513. #: guix-git/doc/guix.texi:4249
  8514. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8515. msgstr ""
  8516. #. type: table
  8517. #: guix-git/doc/guix.texi:4253
  8518. 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."
  8519. msgstr ""
  8520. #. type: Plain text
  8521. #: guix-git/doc/guix.texi:4257
  8522. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8523. msgstr ""
  8524. #. type: item
  8525. #: guix-git/doc/guix.texi:4260
  8526. #, no-wrap
  8527. msgid "--verify[=@var{options}]"
  8528. msgstr ""
  8529. #. type: cindex
  8530. #: guix-git/doc/guix.texi:4261
  8531. #, no-wrap
  8532. msgid "integrity, of the store"
  8533. msgstr ""
  8534. #. type: cindex
  8535. #: guix-git/doc/guix.texi:4262
  8536. #, no-wrap
  8537. msgid "integrity checking"
  8538. msgstr ""
  8539. #. type: table
  8540. #: guix-git/doc/guix.texi:4264
  8541. msgid "Verify the integrity of the store."
  8542. msgstr ""
  8543. #. type: table
  8544. #: guix-git/doc/guix.texi:4267
  8545. 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}."
  8546. msgstr ""
  8547. #. type: table
  8548. #: guix-git/doc/guix.texi:4270
  8549. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8550. msgstr ""
  8551. #. type: table
  8552. #: guix-git/doc/guix.texi:4276
  8553. 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."
  8554. msgstr ""
  8555. #. type: cindex
  8556. #: guix-git/doc/guix.texi:4277
  8557. #, no-wrap
  8558. msgid "repairing the store"
  8559. msgstr ""
  8560. #. type: cindex
  8561. #: guix-git/doc/guix.texi:4278 guix-git/doc/guix.texi:10950
  8562. #, no-wrap
  8563. msgid "corruption, recovering from"
  8564. msgstr ""
  8565. #. type: table
  8566. #: guix-git/doc/guix.texi:4286
  8567. 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})."
  8568. msgstr ""
  8569. #. type: item
  8570. #: guix-git/doc/guix.texi:4287
  8571. #, no-wrap
  8572. msgid "--optimize"
  8573. msgstr ""
  8574. #. type: table
  8575. #: guix-git/doc/guix.texi:4291
  8576. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8577. msgstr ""
  8578. #. type: table
  8579. #: guix-git/doc/guix.texi:4297
  8580. 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}."
  8581. msgstr ""
  8582. #. type: section
  8583. #: guix-git/doc/guix.texi:4301
  8584. #, no-wrap
  8585. msgid "Invoking @command{guix pull}"
  8586. msgstr ""
  8587. #. type: cindex
  8588. #: guix-git/doc/guix.texi:4303
  8589. #, no-wrap
  8590. msgid "upgrading Guix"
  8591. msgstr ""
  8592. #. type: cindex
  8593. #: guix-git/doc/guix.texi:4304
  8594. #, no-wrap
  8595. msgid "updating Guix"
  8596. msgstr ""
  8597. #. type: command{#1}
  8598. #: guix-git/doc/guix.texi:4305
  8599. #, no-wrap
  8600. msgid "guix pull"
  8601. msgstr ""
  8602. #. type: cindex
  8603. #: guix-git/doc/guix.texi:4306
  8604. #, no-wrap
  8605. msgid "pull"
  8606. msgstr ""
  8607. #. type: cindex
  8608. #: guix-git/doc/guix.texi:4307
  8609. #, no-wrap
  8610. msgid "security, @command{guix pull}"
  8611. msgstr ""
  8612. #. type: cindex
  8613. #: guix-git/doc/guix.texi:4308
  8614. #, no-wrap
  8615. msgid "authenticity, of code obtained with @command{guix pull}"
  8616. msgstr ""
  8617. #. type: Plain text
  8618. #: guix-git/doc/guix.texi:4318
  8619. 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."
  8620. msgstr ""
  8621. #. type: Plain text
  8622. #: guix-git/doc/guix.texi:4321
  8623. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8624. msgstr ""
  8625. #. type: enumerate
  8626. #: guix-git/doc/guix.texi:4325
  8627. msgid "the @option{--channels} option;"
  8628. msgstr ""
  8629. #. type: enumerate
  8630. #: guix-git/doc/guix.texi:4327
  8631. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8632. msgstr ""
  8633. #. type: enumerate
  8634. #: guix-git/doc/guix.texi:4329
  8635. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8636. msgstr ""
  8637. #. type: enumerate
  8638. #: guix-git/doc/guix.texi:4332
  8639. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8640. msgstr ""
  8641. #. type: Plain text
  8642. #: guix-git/doc/guix.texi:4339
  8643. 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."
  8644. msgstr ""
  8645. #. type: Plain text
  8646. #: guix-git/doc/guix.texi:4345
  8647. 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."
  8648. msgstr ""
  8649. #. type: Plain text
  8650. #: guix-git/doc/guix.texi:4351
  8651. 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}):"
  8652. msgstr ""
  8653. #. type: example
  8654. #: guix-git/doc/guix.texi:4355
  8655. #, no-wrap
  8656. msgid ""
  8657. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8658. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8659. msgstr ""
  8660. #. type: Plain text
  8661. #: guix-git/doc/guix.texi:4359
  8662. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8663. msgstr ""
  8664. #. type: example
  8665. #: guix-git/doc/guix.texi:4367
  8666. #, no-wrap
  8667. msgid ""
  8668. "$ guix pull -l\n"
  8669. "Generation 1\tJun 10 2018 00:18:18\n"
  8670. " guix 65956ad\n"
  8671. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8672. " branch: origin/master\n"
  8673. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8674. "\n"
  8675. msgstr ""
  8676. #. type: example
  8677. #: guix-git/doc/guix.texi:4377
  8678. #, no-wrap
  8679. msgid ""
  8680. "Generation 2\tJun 11 2018 11:02:49\n"
  8681. " guix e0cc7f6\n"
  8682. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8683. " branch: origin/master\n"
  8684. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8685. " 2 new packages: keepalived, libnfnetlink\n"
  8686. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8687. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8688. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8689. "\n"
  8690. msgstr ""
  8691. #. type: example
  8692. #: guix-git/doc/guix.texi:4385
  8693. #, no-wrap
  8694. msgid ""
  8695. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8696. " guix 844cc1c\n"
  8697. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8698. " branch: origin/master\n"
  8699. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8700. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8701. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8702. msgstr ""
  8703. #. type: Plain text
  8704. #: guix-git/doc/guix.texi:4389
  8705. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8706. msgstr ""
  8707. #. type: Plain text
  8708. #: guix-git/doc/guix.texi:4394
  8709. 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:"
  8710. msgstr ""
  8711. #. type: example
  8712. #: guix-git/doc/guix.texi:4400
  8713. #, no-wrap
  8714. msgid ""
  8715. "$ guix pull --roll-back\n"
  8716. "switched from generation 3 to 2\n"
  8717. "$ guix pull --delete-generations=1\n"
  8718. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8719. msgstr ""
  8720. #. type: Plain text
  8721. #: guix-git/doc/guix.texi:4404
  8722. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8723. msgstr ""
  8724. #. type: example
  8725. #: guix-git/doc/guix.texi:4409
  8726. #, no-wrap
  8727. msgid ""
  8728. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8729. "switched from generation 3 to 2\n"
  8730. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8731. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8732. msgstr ""
  8733. #. type: Plain text
  8734. #: guix-git/doc/guix.texi:4413
  8735. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8736. msgstr ""
  8737. #. type: item
  8738. #: guix-git/doc/guix.texi:4415 guix-git/doc/guix.texi:4573
  8739. #, no-wrap
  8740. msgid "--url=@var{url}"
  8741. msgstr ""
  8742. #. type: itemx
  8743. #: guix-git/doc/guix.texi:4416 guix-git/doc/guix.texi:4574
  8744. #, no-wrap
  8745. msgid "--commit=@var{commit}"
  8746. msgstr ""
  8747. #. type: itemx
  8748. #: guix-git/doc/guix.texi:4417 guix-git/doc/guix.texi:4575
  8749. #, no-wrap
  8750. msgid "--branch=@var{branch}"
  8751. msgstr ""
  8752. #. type: table
  8753. #: guix-git/doc/guix.texi:4421
  8754. 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}."
  8755. msgstr ""
  8756. #. type: cindex
  8757. #: guix-git/doc/guix.texi:4422 guix-git/doc/guix.texi:5019
  8758. #, no-wrap
  8759. msgid "@file{channels.scm}, configuration file"
  8760. msgstr ""
  8761. #. type: cindex
  8762. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:5020
  8763. #, no-wrap
  8764. msgid "configuration file for channels"
  8765. msgstr ""
  8766. #. type: table
  8767. #: guix-git/doc/guix.texi:4427
  8768. 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)."
  8769. msgstr ""
  8770. #. type: item
  8771. #: guix-git/doc/guix.texi:4428 guix-git/doc/guix.texi:4580
  8772. #, no-wrap
  8773. msgid "--channels=@var{file}"
  8774. msgstr ""
  8775. #. type: itemx
  8776. #: guix-git/doc/guix.texi:4429 guix-git/doc/guix.texi:4581
  8777. #, no-wrap
  8778. msgid "-C @var{file}"
  8779. msgstr ""
  8780. #. type: table
  8781. #: guix-git/doc/guix.texi:4435
  8782. 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."
  8783. msgstr ""
  8784. #. type: cindex
  8785. #: guix-git/doc/guix.texi:4436
  8786. #, no-wrap
  8787. msgid "channel news"
  8788. msgstr ""
  8789. #. type: item
  8790. #: guix-git/doc/guix.texi:4437
  8791. #, no-wrap
  8792. msgid "--news"
  8793. msgstr ""
  8794. #. type: itemx
  8795. #: guix-git/doc/guix.texi:4438 guix-git/doc/guix.texi:5846
  8796. #: guix-git/doc/guix.texi:34170
  8797. #, no-wrap
  8798. msgid "-N"
  8799. msgstr ""
  8800. #. type: table
  8801. #: guix-git/doc/guix.texi:4442
  8802. msgid "Display the list of packages added or upgraded since the previous generation, as well as, occasionally, news written by channel authors for their users (@pxref{Channels, Writing Channel News})."
  8803. msgstr ""
  8804. #. type: table
  8805. #: guix-git/doc/guix.texi:4446
  8806. msgid "The package information is the same as displayed upon @command{guix pull} completion, but without ellipses; it is also similar to the output of @command{guix pull -l} for the last generation (see below)."
  8807. msgstr ""
  8808. #. type: table
  8809. #: guix-git/doc/guix.texi:4453
  8810. 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})."
  8811. msgstr ""
  8812. #. type: table
  8813. #: guix-git/doc/guix.texi:4460
  8814. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8815. msgstr ""
  8816. #. type: table
  8817. #: guix-git/doc/guix.texi:4484
  8818. msgid "If the current generation matches, it is @emph{not} deleted."
  8819. msgstr ""
  8820. #. type: table
  8821. #: guix-git/doc/guix.texi:4490
  8822. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8823. msgstr ""
  8824. #. type: table
  8825. #: guix-git/doc/guix.texi:4494
  8826. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8827. msgstr ""
  8828. #. type: item
  8829. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:10340
  8830. #, no-wrap
  8831. msgid "--dry-run"
  8832. msgstr ""
  8833. #. type: itemx
  8834. #: guix-git/doc/guix.texi:4496 guix-git/doc/guix.texi:10341
  8835. #: guix-git/doc/guix.texi:12303
  8836. #, no-wrap
  8837. msgid "-n"
  8838. msgstr ""
  8839. #. type: table
  8840. #: guix-git/doc/guix.texi:4499
  8841. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8842. msgstr ""
  8843. #. type: item
  8844. #: guix-git/doc/guix.texi:4500 guix-git/doc/guix.texi:34189
  8845. #, no-wrap
  8846. msgid "--allow-downgrades"
  8847. msgstr ""
  8848. #. type: table
  8849. #: guix-git/doc/guix.texi:4503
  8850. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8851. msgstr ""
  8852. #. type: cindex
  8853. #: guix-git/doc/guix.texi:4504
  8854. #, no-wrap
  8855. msgid "downgrade attacks, protection against"
  8856. msgstr ""
  8857. #. type: table
  8858. #: guix-git/doc/guix.texi:4509
  8859. 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."
  8860. msgstr ""
  8861. #. type: quotation
  8862. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:34203
  8863. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8864. msgstr ""
  8865. #. type: item
  8866. #: guix-git/doc/guix.texi:4515
  8867. #, no-wrap
  8868. msgid "--disable-authentication"
  8869. msgstr ""
  8870. #. type: table
  8871. #: guix-git/doc/guix.texi:4517
  8872. msgid "Allow pulling channel code without authenticating it."
  8873. msgstr ""
  8874. #. type: cindex
  8875. #: guix-git/doc/guix.texi:4518 guix-git/doc/guix.texi:5165
  8876. #, no-wrap
  8877. msgid "authentication, of channel code"
  8878. msgstr ""
  8879. #. type: table
  8880. #: guix-git/doc/guix.texi:4523
  8881. 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."
  8882. msgstr ""
  8883. #. type: quotation
  8884. #: guix-git/doc/guix.texi:4527
  8885. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8886. msgstr ""
  8887. #. type: itemx
  8888. #: guix-git/doc/guix.texi:4530 guix-git/doc/guix.texi:5829
  8889. #: guix-git/doc/guix.texi:6229 guix-git/doc/guix.texi:10892
  8890. #: guix-git/doc/guix.texi:12448 guix-git/doc/guix.texi:12713
  8891. #: guix-git/doc/guix.texi:13390 guix-git/doc/guix.texi:34118
  8892. #, no-wrap
  8893. msgid "-s @var{system}"
  8894. msgstr ""
  8895. #. type: table
  8896. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:6232
  8897. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8898. msgstr ""
  8899. #. type: table
  8900. #: guix-git/doc/guix.texi:4537
  8901. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8902. msgstr ""
  8903. #. type: Plain text
  8904. #: guix-git/doc/guix.texi:4543
  8905. 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."
  8906. msgstr ""
  8907. #. type: Plain text
  8908. #: guix-git/doc/guix.texi:4546
  8909. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8910. msgstr ""
  8911. #. type: section
  8912. #: guix-git/doc/guix.texi:4548
  8913. #, no-wrap
  8914. msgid "Invoking @command{guix time-machine}"
  8915. msgstr ""
  8916. #. type: command{#1}
  8917. #: guix-git/doc/guix.texi:4550
  8918. #, no-wrap
  8919. msgid "guix time-machine"
  8920. msgstr ""
  8921. #. type: cindex
  8922. #: guix-git/doc/guix.texi:4551 guix-git/doc/guix.texi:5123
  8923. #, no-wrap
  8924. msgid "pinning, channels"
  8925. msgstr ""
  8926. #. type: cindex
  8927. #: guix-git/doc/guix.texi:4552 guix-git/doc/guix.texi:4734
  8928. #: guix-git/doc/guix.texi:5124
  8929. #, no-wrap
  8930. msgid "replicating Guix"
  8931. msgstr ""
  8932. #. type: cindex
  8933. #: guix-git/doc/guix.texi:4553 guix-git/doc/guix.texi:5125
  8934. #, no-wrap
  8935. msgid "reproducibility, of Guix"
  8936. msgstr ""
  8937. #. type: Plain text
  8938. #: guix-git/doc/guix.texi:4561
  8939. 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})."
  8940. msgstr ""
  8941. #. type: Plain text
  8942. #: guix-git/doc/guix.texi:4563 guix-git/doc/guix.texi:5578
  8943. #: guix-git/doc/guix.texi:6352 guix-git/doc/guix.texi:10137
  8944. #: guix-git/doc/guix.texi:10260 guix-git/doc/guix.texi:11183
  8945. #: guix-git/doc/guix.texi:11260 guix-git/doc/guix.texi:12278
  8946. #: guix-git/doc/guix.texi:12771 guix-git/doc/guix.texi:13144
  8947. #: guix-git/doc/guix.texi:13233 guix-git/doc/guix.texi:13272
  8948. #: guix-git/doc/guix.texi:13369
  8949. msgid "The general syntax is:"
  8950. msgstr ""
  8951. #. type: example
  8952. #: guix-git/doc/guix.texi:4566
  8953. #, no-wrap
  8954. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8955. msgstr ""
  8956. #. type: Plain text
  8957. #: guix-git/doc/guix.texi:4571
  8958. 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}):"
  8959. msgstr ""
  8960. #. type: table
  8961. #: guix-git/doc/guix.texi:4579
  8962. 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}."
  8963. msgstr ""
  8964. #. type: table
  8965. #: guix-git/doc/guix.texi:4585
  8966. 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."
  8967. msgstr ""
  8968. #. type: Plain text
  8969. #: guix-git/doc/guix.texi:4589
  8970. 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"
  8971. msgstr ""
  8972. #. type: example
  8973. #: guix-git/doc/guix.texi:4592
  8974. #, no-wrap
  8975. msgid "guix time-machine -- build hello\n"
  8976. msgstr ""
  8977. #. type: Plain text
  8978. #: guix-git/doc/guix.texi:4597
  8979. 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!"
  8980. msgstr ""
  8981. #. type: Plain text
  8982. #: guix-git/doc/guix.texi:4601
  8983. 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})."
  8984. msgstr ""
  8985. #. type: quotation
  8986. #: guix-git/doc/guix.texi:4609
  8987. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8988. msgstr ""
  8989. #. type: cindex
  8990. #: guix-git/doc/guix.texi:4611 guix-git/doc/guix.texi:10174
  8991. #, no-wrap
  8992. msgid "inferiors"
  8993. msgstr ""
  8994. #. type: cindex
  8995. #: guix-git/doc/guix.texi:4612
  8996. #, no-wrap
  8997. msgid "composition of Guix revisions"
  8998. msgstr ""
  8999. #. type: Plain text
  9000. #: guix-git/doc/guix.texi:4617
  9001. 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."
  9002. msgstr ""
  9003. #. type: cindex
  9004. #: guix-git/doc/guix.texi:4618 guix-git/doc/guix.texi:4683
  9005. #, no-wrap
  9006. msgid "inferior packages"
  9007. msgstr ""
  9008. #. type: Plain text
  9009. #: guix-git/doc/guix.texi:4624
  9010. 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}."
  9011. msgstr ""
  9012. #. type: Plain text
  9013. #: guix-git/doc/guix.texi:4634
  9014. 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:"
  9015. msgstr ""
  9016. #. type: lisp
  9017. #: guix-git/doc/guix.texi:4638
  9018. #, no-wrap
  9019. msgid ""
  9020. "(use-modules (guix inferior) (guix channels)\n"
  9021. " (srfi srfi-1)) ;for 'first'\n"
  9022. "\n"
  9023. msgstr ""
  9024. #. type: lisp
  9025. #: guix-git/doc/guix.texi:4647
  9026. #, no-wrap
  9027. msgid ""
  9028. "(define channels\n"
  9029. " ;; This is the old revision from which we want to\n"
  9030. " ;; extract guile-json.\n"
  9031. " (list (channel\n"
  9032. " (name 'guix)\n"
  9033. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9034. " (commit\n"
  9035. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9036. "\n"
  9037. msgstr ""
  9038. #. type: lisp
  9039. #: guix-git/doc/guix.texi:4651
  9040. #, no-wrap
  9041. msgid ""
  9042. "(define inferior\n"
  9043. " ;; An inferior representing the above revision.\n"
  9044. " (inferior-for-channels channels))\n"
  9045. "\n"
  9046. msgstr ""
  9047. #. type: lisp
  9048. #: guix-git/doc/guix.texi:4657
  9049. #, no-wrap
  9050. msgid ""
  9051. ";; Now create a manifest with the current \"guile\" package\n"
  9052. ";; and the old \"guile-json\" package.\n"
  9053. "(packages->manifest\n"
  9054. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9055. " (specification->package \"guile\")))\n"
  9056. msgstr ""
  9057. #. type: Plain text
  9058. #: guix-git/doc/guix.texi:4662
  9059. 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."
  9060. msgstr ""
  9061. #. type: Plain text
  9062. #: guix-git/doc/guix.texi:4665
  9063. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9064. msgstr ""
  9065. #. type: deffn
  9066. #: guix-git/doc/guix.texi:4666
  9067. #, no-wrap
  9068. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9069. msgstr ""
  9070. #. type: deffn
  9071. #: guix-git/doc/guix.texi:4671
  9072. 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."
  9073. msgstr ""
  9074. #. type: deffn
  9075. #: guix-git/doc/guix.texi:4674
  9076. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9077. msgstr ""
  9078. #. type: deffn
  9079. #: guix-git/doc/guix.texi:4676
  9080. #, no-wrap
  9081. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9082. msgstr ""
  9083. #. type: deffn
  9084. #: guix-git/doc/guix.texi:4681
  9085. 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."
  9086. msgstr ""
  9087. #. type: Plain text
  9088. #: guix-git/doc/guix.texi:4686
  9089. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9090. msgstr ""
  9091. #. type: deffn
  9092. #: guix-git/doc/guix.texi:4687
  9093. #, no-wrap
  9094. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9095. msgstr ""
  9096. #. type: deffn
  9097. #: guix-git/doc/guix.texi:4689
  9098. msgid "Return the list of packages known to @var{inferior}."
  9099. msgstr ""
  9100. #. type: deffn
  9101. #: guix-git/doc/guix.texi:4691
  9102. #, no-wrap
  9103. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9104. msgstr ""
  9105. #. type: deffn
  9106. #: guix-git/doc/guix.texi:4696
  9107. 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}."
  9108. msgstr ""
  9109. #. type: deffn
  9110. #: guix-git/doc/guix.texi:4698
  9111. #, no-wrap
  9112. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9113. msgstr ""
  9114. #. type: deffn
  9115. #: guix-git/doc/guix.texi:4700
  9116. msgid "Return true if @var{obj} is an inferior package."
  9117. msgstr ""
  9118. #. type: deffn
  9119. #: guix-git/doc/guix.texi:4702
  9120. #, no-wrap
  9121. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9122. msgstr ""
  9123. #. type: deffnx
  9124. #: guix-git/doc/guix.texi:4703
  9125. #, no-wrap
  9126. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9127. msgstr ""
  9128. #. type: deffnx
  9129. #: guix-git/doc/guix.texi:4704
  9130. #, no-wrap
  9131. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9132. msgstr ""
  9133. #. type: deffnx
  9134. #: guix-git/doc/guix.texi:4705
  9135. #, no-wrap
  9136. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9137. msgstr ""
  9138. #. type: deffnx
  9139. #: guix-git/doc/guix.texi:4706
  9140. #, no-wrap
  9141. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9142. msgstr ""
  9143. #. type: deffnx
  9144. #: guix-git/doc/guix.texi:4707
  9145. #, no-wrap
  9146. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9147. msgstr ""
  9148. #. type: deffnx
  9149. #: guix-git/doc/guix.texi:4708
  9150. #, no-wrap
  9151. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9152. msgstr ""
  9153. #. type: deffnx
  9154. #: guix-git/doc/guix.texi:4709
  9155. #, no-wrap
  9156. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9157. msgstr ""
  9158. #. type: deffnx
  9159. #: guix-git/doc/guix.texi:4710
  9160. #, no-wrap
  9161. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9162. msgstr ""
  9163. #. type: deffnx
  9164. #: guix-git/doc/guix.texi:4711
  9165. #, no-wrap
  9166. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9167. msgstr ""
  9168. #. type: deffnx
  9169. #: guix-git/doc/guix.texi:4712
  9170. #, no-wrap
  9171. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9172. msgstr ""
  9173. #. type: deffnx
  9174. #: guix-git/doc/guix.texi:4713
  9175. #, no-wrap
  9176. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9177. msgstr ""
  9178. #. type: deffnx
  9179. #: guix-git/doc/guix.texi:4714
  9180. #, no-wrap
  9181. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9182. msgstr ""
  9183. #. type: deffn
  9184. #: guix-git/doc/guix.texi:4719
  9185. 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."
  9186. msgstr ""
  9187. #. type: Plain text
  9188. #: guix-git/doc/guix.texi:4729
  9189. 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."
  9190. msgstr ""
  9191. #. type: section
  9192. #: guix-git/doc/guix.texi:4731
  9193. #, no-wrap
  9194. msgid "Invoking @command{guix describe}"
  9195. msgstr ""
  9196. #. type: Plain text
  9197. #: guix-git/doc/guix.texi:4742
  9198. 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."
  9199. msgstr ""
  9200. #. type: Plain text
  9201. #: guix-git/doc/guix.texi:4746
  9202. 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}):"
  9203. msgstr ""
  9204. #. type: example
  9205. #: guix-git/doc/guix.texi:4754
  9206. #, no-wrap
  9207. msgid ""
  9208. "$ guix describe\n"
  9209. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9210. " guix e0fa68c\n"
  9211. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9212. " branch: master\n"
  9213. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9214. msgstr ""
  9215. #. type: Plain text
  9216. #: guix-git/doc/guix.texi:4763
  9217. 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."
  9218. msgstr ""
  9219. #. type: Plain text
  9220. #: guix-git/doc/guix.texi:4766
  9221. 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:"
  9222. msgstr ""
  9223. #. type: example
  9224. #: guix-git/doc/guix.texi:4779
  9225. #, no-wrap
  9226. msgid ""
  9227. "$ guix describe -f channels\n"
  9228. "(list (channel\n"
  9229. " (name 'guix)\n"
  9230. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9231. " (commit\n"
  9232. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9233. " (introduction\n"
  9234. " (make-channel-introduction\n"
  9235. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9236. " (openpgp-fingerprint\n"
  9237. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9238. msgstr ""
  9239. #. type: Plain text
  9240. #: guix-git/doc/guix.texi:4788
  9241. 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!"
  9242. msgstr ""
  9243. #. type: Plain text
  9244. #: guix-git/doc/guix.texi:4791
  9245. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9246. msgstr ""
  9247. #. type: item
  9248. #: guix-git/doc/guix.texi:4793 guix-git/doc/guix.texi:6030
  9249. #: guix-git/doc/guix.texi:13502
  9250. #, no-wrap
  9251. msgid "--format=@var{format}"
  9252. msgstr ""
  9253. #. type: itemx
  9254. #: guix-git/doc/guix.texi:4794 guix-git/doc/guix.texi:6031
  9255. #: guix-git/doc/guix.texi:13503
  9256. #, no-wrap
  9257. msgid "-f @var{format}"
  9258. msgstr ""
  9259. #. type: table
  9260. #: guix-git/doc/guix.texi:4796 guix-git/doc/guix.texi:13505
  9261. msgid "Produce output in the specified @var{format}, one of:"
  9262. msgstr ""
  9263. #. type: item
  9264. #: guix-git/doc/guix.texi:4798
  9265. #, no-wrap
  9266. msgid "human"
  9267. msgstr ""
  9268. #. type: table
  9269. #: guix-git/doc/guix.texi:4800
  9270. msgid "produce human-readable output;"
  9271. msgstr ""
  9272. #. type: cindex
  9273. #: guix-git/doc/guix.texi:4800 guix-git/doc/guix.texi:5018
  9274. #, no-wrap
  9275. msgid "channels"
  9276. msgstr ""
  9277. #. type: table
  9278. #: guix-git/doc/guix.texi:4804
  9279. 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});"
  9280. msgstr ""
  9281. #. type: item
  9282. #: guix-git/doc/guix.texi:4804
  9283. #, no-wrap
  9284. msgid "channels-sans-intro"
  9285. msgstr ""
  9286. #. type: table
  9287. #: guix-git/doc/guix.texi:4810
  9288. 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;"
  9289. msgstr ""
  9290. #. type: item
  9291. #: guix-git/doc/guix.texi:4810 guix-git/doc/guix.texi:11478
  9292. #, no-wrap
  9293. msgid "json"
  9294. msgstr ""
  9295. #. type: cindex
  9296. #: guix-git/doc/guix.texi:4811
  9297. #, no-wrap
  9298. msgid "JSON"
  9299. msgstr ""
  9300. #. type: table
  9301. #: guix-git/doc/guix.texi:4813
  9302. msgid "produce a list of channel specifications in JSON format;"
  9303. msgstr ""
  9304. #. type: item
  9305. #: guix-git/doc/guix.texi:4813 guix-git/doc/guix.texi:13507
  9306. #, no-wrap
  9307. msgid "recutils"
  9308. msgstr ""
  9309. #. type: table
  9310. #: guix-git/doc/guix.texi:4815
  9311. msgid "produce a list of channel specifications in Recutils format."
  9312. msgstr ""
  9313. #. type: item
  9314. #: guix-git/doc/guix.texi:4817
  9315. #, no-wrap
  9316. msgid "--list-formats"
  9317. msgstr ""
  9318. #. type: table
  9319. #: guix-git/doc/guix.texi:4819
  9320. msgid "Display available formats for @option{--format} option."
  9321. msgstr ""
  9322. #. type: table
  9323. #: guix-git/doc/guix.texi:4823
  9324. msgid "Display information about @var{profile}."
  9325. msgstr ""
  9326. #. type: section
  9327. #: guix-git/doc/guix.texi:4826
  9328. #, no-wrap
  9329. msgid "Invoking @command{guix archive}"
  9330. msgstr ""
  9331. #. type: command{#1}
  9332. #: guix-git/doc/guix.texi:4828
  9333. #, no-wrap
  9334. msgid "guix archive"
  9335. msgstr ""
  9336. #. type: cindex
  9337. #: guix-git/doc/guix.texi:4829
  9338. #, no-wrap
  9339. msgid "archive"
  9340. msgstr "archív"
  9341. #. type: Plain text
  9342. #: guix-git/doc/guix.texi:4835
  9343. 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."
  9344. msgstr ""
  9345. #. type: quotation
  9346. #: guix-git/doc/guix.texi:4839
  9347. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9348. msgstr ""
  9349. #. type: cindex
  9350. #: guix-git/doc/guix.texi:4841
  9351. #, no-wrap
  9352. msgid "exporting store items"
  9353. msgstr ""
  9354. #. type: Plain text
  9355. #: guix-git/doc/guix.texi:4843
  9356. msgid "To export store files as an archive to standard output, run:"
  9357. msgstr ""
  9358. #. type: example
  9359. #: guix-git/doc/guix.texi:4846
  9360. #, no-wrap
  9361. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9362. msgstr ""
  9363. #. type: Plain text
  9364. #: guix-git/doc/guix.texi:4853
  9365. 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}:"
  9366. msgstr ""
  9367. #. type: example
  9368. #: guix-git/doc/guix.texi:4856
  9369. #, no-wrap
  9370. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9371. msgstr ""
  9372. #. type: Plain text
  9373. #: guix-git/doc/guix.texi:4861
  9374. 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})."
  9375. msgstr ""
  9376. #. type: Plain text
  9377. #: guix-git/doc/guix.texi:4864
  9378. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9379. msgstr ""
  9380. #. type: example
  9381. #: guix-git/doc/guix.texi:4867
  9382. #, no-wrap
  9383. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9384. msgstr ""
  9385. #. type: Plain text
  9386. #: guix-git/doc/guix.texi:4872
  9387. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9388. msgstr ""
  9389. #. type: example
  9390. #: guix-git/doc/guix.texi:4876
  9391. #, no-wrap
  9392. msgid ""
  9393. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9394. " ssh the-machine guix archive --import\n"
  9395. msgstr ""
  9396. #. type: Plain text
  9397. #: guix-git/doc/guix.texi:4886
  9398. 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})."
  9399. msgstr ""
  9400. #. type: cindex
  9401. #: guix-git/doc/guix.texi:4887
  9402. #, no-wrap
  9403. msgid "nar, archive format"
  9404. msgstr ""
  9405. #. type: cindex
  9406. #: guix-git/doc/guix.texi:4888
  9407. #, no-wrap
  9408. msgid "normalized archive (nar)"
  9409. msgstr ""
  9410. #. type: cindex
  9411. #: guix-git/doc/guix.texi:4889
  9412. #, no-wrap
  9413. msgid "nar bundle, archive format"
  9414. msgstr ""
  9415. #. type: Plain text
  9416. #: guix-git/doc/guix.texi:4894
  9417. 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}."
  9418. msgstr ""
  9419. #. type: Plain text
  9420. #: guix-git/doc/guix.texi:4904
  9421. 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."
  9422. msgstr ""
  9423. #. type: Plain text
  9424. #: guix-git/doc/guix.texi:4908
  9425. 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."
  9426. msgstr ""
  9427. #. type: Plain text
  9428. #: guix-git/doc/guix.texi:4914
  9429. 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."
  9430. msgstr ""
  9431. #. type: Plain text
  9432. #: guix-git/doc/guix.texi:4916
  9433. msgid "The main options are:"
  9434. msgstr ""
  9435. #. type: item
  9436. #: guix-git/doc/guix.texi:4918
  9437. #, no-wrap
  9438. msgid "--export"
  9439. msgstr ""
  9440. #. type: table
  9441. #: guix-git/doc/guix.texi:4921
  9442. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9443. msgstr ""
  9444. #. type: table
  9445. #: guix-git/doc/guix.texi:4924
  9446. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9447. msgstr ""
  9448. #. type: itemx
  9449. #: guix-git/doc/guix.texi:4925 guix-git/doc/guix.texi:11216
  9450. #: guix-git/doc/guix.texi:11318 guix-git/doc/guix.texi:11343
  9451. #: guix-git/doc/guix.texi:11375 guix-git/doc/guix.texi:11553
  9452. #: guix-git/doc/guix.texi:11594 guix-git/doc/guix.texi:11645
  9453. #: guix-git/doc/guix.texi:11670 guix-git/doc/guix.texi:11686
  9454. #: guix-git/doc/guix.texi:11734 guix-git/doc/guix.texi:11764
  9455. #, no-wrap
  9456. msgid "-r"
  9457. msgstr ""
  9458. #. type: item
  9459. #: guix-git/doc/guix.texi:4926 guix-git/doc/guix.texi:11215
  9460. #: guix-git/doc/guix.texi:11317 guix-git/doc/guix.texi:11342
  9461. #: guix-git/doc/guix.texi:11374 guix-git/doc/guix.texi:11552
  9462. #: guix-git/doc/guix.texi:11593 guix-git/doc/guix.texi:11644
  9463. #: guix-git/doc/guix.texi:11669 guix-git/doc/guix.texi:11685
  9464. #: guix-git/doc/guix.texi:11733 guix-git/doc/guix.texi:11763
  9465. #: guix-git/doc/guix.texi:11812
  9466. #, no-wrap
  9467. msgid "--recursive"
  9468. msgstr ""
  9469. #. type: table
  9470. #: guix-git/doc/guix.texi:4931
  9471. 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."
  9472. msgstr ""
  9473. #. type: item
  9474. #: guix-git/doc/guix.texi:4932
  9475. #, no-wrap
  9476. msgid "--import"
  9477. msgstr ""
  9478. #. type: table
  9479. #: guix-git/doc/guix.texi:4937
  9480. 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)."
  9481. msgstr ""
  9482. #. type: item
  9483. #: guix-git/doc/guix.texi:4938
  9484. #, no-wrap
  9485. msgid "--missing"
  9486. msgstr ""
  9487. #. type: table
  9488. #: guix-git/doc/guix.texi:4942
  9489. 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."
  9490. msgstr ""
  9491. #. type: item
  9492. #: guix-git/doc/guix.texi:4943
  9493. #, no-wrap
  9494. msgid "--generate-key[=@var{parameters}]"
  9495. msgstr ""
  9496. #. type: cindex
  9497. #: guix-git/doc/guix.texi:4944
  9498. #, no-wrap
  9499. msgid "signing, archives"
  9500. msgstr ""
  9501. #. type: table
  9502. #: guix-git/doc/guix.texi:4951
  9503. 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."
  9504. msgstr ""
  9505. #. type: table
  9506. #: guix-git/doc/guix.texi:4961
  9507. 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})."
  9508. msgstr ""
  9509. #. type: item
  9510. #: guix-git/doc/guix.texi:4962
  9511. #, no-wrap
  9512. msgid "--authorize"
  9513. msgstr ""
  9514. #. type: cindex
  9515. #: guix-git/doc/guix.texi:4963
  9516. #, no-wrap
  9517. msgid "authorizing, archives"
  9518. msgstr ""
  9519. #. type: table
  9520. #: guix-git/doc/guix.texi:4967
  9521. 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."
  9522. msgstr ""
  9523. #. type: table
  9524. #: guix-git/doc/guix.texi:4974
  9525. 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)}."
  9526. msgstr ""
  9527. #. type: item
  9528. #: guix-git/doc/guix.texi:4975
  9529. #, no-wrap
  9530. msgid "--extract=@var{directory}"
  9531. msgstr ""
  9532. #. type: itemx
  9533. #: guix-git/doc/guix.texi:4976
  9534. #, no-wrap
  9535. msgid "-x @var{directory}"
  9536. msgstr ""
  9537. #. type: table
  9538. #: guix-git/doc/guix.texi:4980
  9539. 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."
  9540. msgstr ""
  9541. #. type: table
  9542. #: guix-git/doc/guix.texi:4983
  9543. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9544. msgstr ""
  9545. #. type: example
  9546. #: guix-git/doc/guix.texi:4988
  9547. #, no-wrap
  9548. msgid ""
  9549. "$ wget -O - \\\n"
  9550. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9551. " | gunzip | guix archive -x /tmp/emacs\n"
  9552. msgstr ""
  9553. #. type: table
  9554. #: guix-git/doc/guix.texi:4995
  9555. 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."
  9556. msgstr ""
  9557. #. type: table
  9558. #: guix-git/doc/guix.texi:4999
  9559. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9560. msgstr ""
  9561. #. type: item
  9562. #: guix-git/doc/guix.texi:5000
  9563. #, no-wrap
  9564. msgid "--list"
  9565. msgstr ""
  9566. #. type: itemx
  9567. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:11540
  9568. #: guix-git/doc/guix.texi:11587
  9569. #, no-wrap
  9570. msgid "-t"
  9571. msgstr ""
  9572. #. type: table
  9573. #: guix-git/doc/guix.texi:5005
  9574. 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:"
  9575. msgstr ""
  9576. #. type: example
  9577. #: guix-git/doc/guix.texi:5010
  9578. #, no-wrap
  9579. msgid ""
  9580. "$ wget -O - \\\n"
  9581. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9582. " | lzip -d | guix archive -t\n"
  9583. msgstr ""
  9584. #. type: cindex
  9585. #: guix-git/doc/guix.texi:5021
  9586. #, no-wrap
  9587. msgid "@command{guix pull}, configuration file"
  9588. msgstr ""
  9589. #. type: cindex
  9590. #: guix-git/doc/guix.texi:5022
  9591. #, no-wrap
  9592. msgid "configuration of @command{guix pull}"
  9593. msgstr ""
  9594. #. type: Plain text
  9595. #: guix-git/doc/guix.texi:5033
  9596. 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."
  9597. msgstr ""
  9598. #. type: cindex
  9599. #: guix-git/doc/guix.texi:5051
  9600. #, no-wrap
  9601. msgid "extending the package collection (channels)"
  9602. msgstr ""
  9603. #. type: cindex
  9604. #: guix-git/doc/guix.texi:5052
  9605. #, no-wrap
  9606. msgid "variant packages (channels)"
  9607. msgstr ""
  9608. #. type: Plain text
  9609. #: guix-git/doc/guix.texi:5056
  9610. 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):"
  9611. msgstr ""
  9612. #. type: vindex
  9613. #: guix-git/doc/guix.texi:5057
  9614. #, no-wrap
  9615. msgid "%default-channels"
  9616. msgstr ""
  9617. #. type: lisp
  9618. #: guix-git/doc/guix.texi:5064
  9619. #, no-wrap
  9620. msgid ""
  9621. ";; Add variant packages to those Guix provides.\n"
  9622. "(cons (channel\n"
  9623. " (name 'variant-packages)\n"
  9624. " (url \"https://example.org/variant-packages.git\"))\n"
  9625. " %default-channels)\n"
  9626. msgstr ""
  9627. #. type: Plain text
  9628. #: guix-git/doc/guix.texi:5074
  9629. 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:"
  9630. msgstr ""
  9631. #. type: example
  9632. #: guix-git/doc/guix.texi:5089
  9633. #, no-wrap
  9634. msgid ""
  9635. "$ guix pull --list-generations\n"
  9636. "@dots{}\n"
  9637. "Generation 19\tAug 27 2018 16:20:48\n"
  9638. " guix d894ab8\n"
  9639. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9640. " branch: master\n"
  9641. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9642. " variant-packages dd3df5e\n"
  9643. " repository URL: https://example.org/variant-packages.git\n"
  9644. " branch: master\n"
  9645. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9646. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9647. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9648. msgstr ""
  9649. #. type: Plain text
  9650. #: guix-git/doc/guix.texi:5097
  9651. 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."
  9652. msgstr ""
  9653. #. type: Plain text
  9654. #: guix-git/doc/guix.texi:5106
  9655. 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:"
  9656. msgstr ""
  9657. #. type: lisp
  9658. #: guix-git/doc/guix.texi:5113
  9659. #, no-wrap
  9660. msgid ""
  9661. ";; Tell 'guix pull' to use another repo.\n"
  9662. "(list (channel\n"
  9663. " (name 'guix)\n"
  9664. " (url \"https://example.org/another-guix.git\")\n"
  9665. " (branch \"super-hacks\")))\n"
  9666. msgstr ""
  9667. #. type: Plain text
  9668. #: guix-git/doc/guix.texi:5119
  9669. 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})."
  9670. msgstr ""
  9671. #. type: Plain text
  9672. #: guix-git/doc/guix.texi:5130
  9673. 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:"
  9674. msgstr ""
  9675. #. type: lisp
  9676. #: guix-git/doc/guix.texi:5141
  9677. #, no-wrap
  9678. msgid ""
  9679. ";; Deploy specific commits of my channels of interest.\n"
  9680. "(list (channel\n"
  9681. " (name 'guix)\n"
  9682. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9683. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9684. " (channel\n"
  9685. " (name 'variant-packages)\n"
  9686. " (url \"https://example.org/variant-packages.git\")\n"
  9687. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9688. msgstr ""
  9689. #. type: Plain text
  9690. #: guix-git/doc/guix.texi:5148
  9691. 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})."
  9692. msgstr ""
  9693. #. type: Plain text
  9694. #: guix-git/doc/guix.texi:5155
  9695. 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."
  9696. msgstr ""
  9697. #. type: Plain text
  9698. #: guix-git/doc/guix.texi:5160
  9699. 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."
  9700. msgstr ""
  9701. #. type: anchor{#1}
  9702. #: guix-git/doc/guix.texi:5165
  9703. msgid "channel-authentication"
  9704. msgstr ""
  9705. #. type: Plain text
  9706. #: guix-git/doc/guix.texi:5171
  9707. 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."
  9708. msgstr ""
  9709. #. type: Plain text
  9710. #: guix-git/doc/guix.texi:5176
  9711. 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:"
  9712. msgstr ""
  9713. #. type: lisp
  9714. #: guix-git/doc/guix.texi:5186
  9715. #, no-wrap
  9716. msgid ""
  9717. "(channel\n"
  9718. " (name 'some-channel)\n"
  9719. " (url \"https://example.org/some-channel.git\")\n"
  9720. " (introduction\n"
  9721. " (make-channel-introduction\n"
  9722. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9723. " (openpgp-fingerprint\n"
  9724. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9725. msgstr ""
  9726. #. type: Plain text
  9727. #: guix-git/doc/guix.texi:5192
  9728. 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{}}."
  9729. msgstr ""
  9730. #. type: Plain text
  9731. #: guix-git/doc/guix.texi:5198
  9732. 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."
  9733. msgstr ""
  9734. #. type: Plain text
  9735. #: guix-git/doc/guix.texi:5200
  9736. msgid "If you're curious about the authentication mechanics, read on!"
  9737. msgstr ""
  9738. #. type: Plain text
  9739. #: guix-git/doc/guix.texi:5211
  9740. 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}."
  9741. msgstr ""
  9742. #. type: lisp
  9743. #: guix-git/doc/guix.texi:5214
  9744. #, no-wrap
  9745. msgid ""
  9746. "(use-modules (guix ci))\n"
  9747. "\n"
  9748. msgstr ""
  9749. #. type: lisp
  9750. #: guix-git/doc/guix.texi:5218
  9751. #, no-wrap
  9752. msgid ""
  9753. "(list (channel-with-substitutes-available\n"
  9754. " %default-guix-channel\n"
  9755. " \"https://ci.guix.gnu.org\"))\n"
  9756. msgstr ""
  9757. #. type: Plain text
  9758. #: guix-git/doc/guix.texi:5225
  9759. 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."
  9760. msgstr ""
  9761. #. type: cindex
  9762. #: guix-git/doc/guix.texi:5229
  9763. #, no-wrap
  9764. msgid "personal packages (channels)"
  9765. msgstr ""
  9766. #. type: cindex
  9767. #: guix-git/doc/guix.texi:5230
  9768. #, no-wrap
  9769. msgid "channels, for personal packages"
  9770. msgstr ""
  9771. #. type: Plain text
  9772. #: guix-git/doc/guix.texi:5238
  9773. 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?"
  9774. msgstr ""
  9775. #. type: quotation
  9776. #: guix-git/doc/guix.texi:5242 guix-git/doc/guix.texi:6088
  9777. #: guix-git/doc/guix.texi:13860 guix-git/doc/guix.texi:19962
  9778. #: guix-git/doc/guix.texi:19969
  9779. #, no-wrap
  9780. msgid "Warning"
  9781. msgstr ""
  9782. #. type: quotation
  9783. #: guix-git/doc/guix.texi:5246
  9784. 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:"
  9785. msgstr ""
  9786. #. type: itemize
  9787. #: guix-git/doc/guix.texi:5254
  9788. 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."
  9789. msgstr ""
  9790. #. type: itemize
  9791. #: guix-git/doc/guix.texi:5263
  9792. 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."
  9793. msgstr ""
  9794. #. type: itemize
  9795. #: guix-git/doc/guix.texi:5267
  9796. 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."
  9797. msgstr ""
  9798. #. type: quotation
  9799. #: guix-git/doc/guix.texi:5274
  9800. 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."
  9801. msgstr ""
  9802. #. type: Plain text
  9803. #: guix-git/doc/guix.texi:5286
  9804. 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})."
  9805. msgstr ""
  9806. #. type: Plain text
  9807. #: guix-git/doc/guix.texi:5291
  9808. 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."
  9809. msgstr ""
  9810. #. type: cindex
  9811. #: guix-git/doc/guix.texi:5296
  9812. #, no-wrap
  9813. msgid "subdirectory, channels"
  9814. msgstr ""
  9815. #. type: Plain text
  9816. #: guix-git/doc/guix.texi:5300
  9817. 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:"
  9818. msgstr ""
  9819. #. type: lisp
  9820. #: guix-git/doc/guix.texi:5305
  9821. #, no-wrap
  9822. msgid ""
  9823. "(channel\n"
  9824. " (version 0)\n"
  9825. " (directory \"guix\"))\n"
  9826. msgstr ""
  9827. #. type: cindex
  9828. #: guix-git/doc/guix.texi:5310
  9829. #, no-wrap
  9830. msgid "dependencies, channels"
  9831. msgstr ""
  9832. #. type: cindex
  9833. #: guix-git/doc/guix.texi:5311
  9834. #, no-wrap
  9835. msgid "meta-data, channels"
  9836. msgstr ""
  9837. #. type: Plain text
  9838. #: guix-git/doc/guix.texi:5316
  9839. 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."
  9840. msgstr ""
  9841. #. type: Plain text
  9842. #: guix-git/doc/guix.texi:5318
  9843. msgid "The meta-data file should contain a simple S-expression like this:"
  9844. msgstr ""
  9845. #. type: lisp
  9846. #: guix-git/doc/guix.texi:5326
  9847. #, no-wrap
  9848. msgid ""
  9849. "(channel\n"
  9850. " (version 0)\n"
  9851. " (dependencies\n"
  9852. " (channel\n"
  9853. " (name some-collection)\n"
  9854. " (url \"https://example.org/first-collection.git\")\n"
  9855. "\n"
  9856. msgstr ""
  9857. #. type: lisp
  9858. #: guix-git/doc/guix.texi:5338
  9859. #, no-wrap
  9860. msgid ""
  9861. " ;; The 'introduction' bit below is optional: you would\n"
  9862. " ;; provide it for dependencies that can be authenticated.\n"
  9863. " (introduction\n"
  9864. " (channel-introduction\n"
  9865. " (version 0)\n"
  9866. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9867. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9868. " (channel\n"
  9869. " (name some-other-collection)\n"
  9870. " (url \"https://example.org/second-collection.git\")\n"
  9871. " (branch \"testing\"))))\n"
  9872. msgstr ""
  9873. #. type: Plain text
  9874. #: guix-git/doc/guix.texi:5344
  9875. 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."
  9876. msgstr ""
  9877. #. type: Plain text
  9878. #: guix-git/doc/guix.texi:5348
  9879. 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."
  9880. msgstr ""
  9881. #. type: cindex
  9882. #: guix-git/doc/guix.texi:5352
  9883. #, no-wrap
  9884. msgid "channel authorizations"
  9885. msgstr ""
  9886. #. type: anchor{#1}
  9887. #: guix-git/doc/guix.texi:5366
  9888. msgid "channel-authorizations"
  9889. msgstr ""
  9890. #. type: Plain text
  9891. #: guix-git/doc/guix.texi:5366
  9892. 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:"
  9893. msgstr ""
  9894. #. type: lisp
  9895. #: guix-git/doc/guix.texi:5369
  9896. #, no-wrap
  9897. msgid ""
  9898. ";; Example '.guix-authorizations' file.\n"
  9899. "\n"
  9900. msgstr ""
  9901. #. type: lisp
  9902. #: guix-git/doc/guix.texi:5372
  9903. #, no-wrap
  9904. msgid ""
  9905. "(authorizations\n"
  9906. " (version 0) ;current file format version\n"
  9907. "\n"
  9908. msgstr ""
  9909. #. type: lisp
  9910. #: guix-git/doc/guix.texi:5379
  9911. #, no-wrap
  9912. msgid ""
  9913. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9914. " (name \"alice\"))\n"
  9915. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9916. " (name \"bob\"))\n"
  9917. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9918. " (name \"charlie\"))))\n"
  9919. msgstr ""
  9920. #. type: Plain text
  9921. #: guix-git/doc/guix.texi:5383
  9922. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9923. msgstr ""
  9924. #. type: Plain text
  9925. #: guix-git/doc/guix.texi:5388
  9926. 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?"
  9927. msgstr ""
  9928. #. type: cindex
  9929. #: guix-git/doc/guix.texi:5389
  9930. #, no-wrap
  9931. msgid "channel introduction"
  9932. msgstr ""
  9933. #. type: Plain text
  9934. #: guix-git/doc/guix.texi:5396
  9935. 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."
  9936. msgstr ""
  9937. #. type: Plain text
  9938. #: guix-git/doc/guix.texi:5403
  9939. 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:"
  9940. msgstr ""
  9941. #. type: lisp
  9942. #: guix-git/doc/guix.texi:5408
  9943. #, no-wrap
  9944. msgid ""
  9945. "(channel\n"
  9946. " (version 0)\n"
  9947. " (keyring-reference \"my-keyring-branch\"))\n"
  9948. msgstr ""
  9949. #. type: Plain text
  9950. #: guix-git/doc/guix.texi:5412
  9951. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9952. msgstr ""
  9953. #. type: enumerate
  9954. #: guix-git/doc/guix.texi:5418
  9955. 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})."
  9956. msgstr ""
  9957. #. type: enumerate
  9958. #: guix-git/doc/guix.texi:5423
  9959. 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.)"
  9960. msgstr ""
  9961. #. type: enumerate
  9962. #: guix-git/doc/guix.texi:5429
  9963. 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."
  9964. msgstr ""
  9965. #. type: Plain text
  9966. #: guix-git/doc/guix.texi:5434
  9967. 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:"
  9968. msgstr ""
  9969. #. type: example
  9970. #: guix-git/doc/guix.texi:5437
  9971. #, no-wrap
  9972. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9973. msgstr ""
  9974. #. type: Plain text
  9975. #: guix-git/doc/guix.texi:5442
  9976. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9977. msgstr ""
  9978. #. type: Plain text
  9979. #: guix-git/doc/guix.texi:5449
  9980. 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."
  9981. msgstr ""
  9982. #. type: cindex
  9983. #: guix-git/doc/guix.texi:5453
  9984. #, no-wrap
  9985. msgid "primary URL, channels"
  9986. msgstr ""
  9987. #. type: Plain text
  9988. #: guix-git/doc/guix.texi:5456
  9989. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9990. msgstr ""
  9991. #. type: lisp
  9992. #: guix-git/doc/guix.texi:5461
  9993. #, no-wrap
  9994. msgid ""
  9995. "(channel\n"
  9996. " (version 0)\n"
  9997. " (url \"https://example.org/guix.git\"))\n"
  9998. msgstr ""
  9999. #. type: Plain text
  10000. #: guix-git/doc/guix.texi:5468
  10001. 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."
  10002. msgstr ""
  10003. #. type: Plain text
  10004. #: guix-git/doc/guix.texi:5472
  10005. 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."
  10006. msgstr ""
  10007. #. type: cindex
  10008. #: guix-git/doc/guix.texi:5476
  10009. #, no-wrap
  10010. msgid "news, for channels"
  10011. msgstr ""
  10012. #. type: Plain text
  10013. #: guix-git/doc/guix.texi:5480
  10014. 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."
  10015. msgstr ""
  10016. #. type: Plain text
  10017. #: guix-git/doc/guix.texi:5485
  10018. 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."
  10019. msgstr ""
  10020. #. type: Plain text
  10021. #: guix-git/doc/guix.texi:5488
  10022. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10023. msgstr ""
  10024. #. type: lisp
  10025. #: guix-git/doc/guix.texi:5493
  10026. #, no-wrap
  10027. msgid ""
  10028. "(channel\n"
  10029. " (version 0)\n"
  10030. " (news-file \"etc/news.txt\"))\n"
  10031. msgstr ""
  10032. #. type: Plain text
  10033. #: guix-git/doc/guix.texi:5497
  10034. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10035. msgstr ""
  10036. #. type: lisp
  10037. #: guix-git/doc/guix.texi:5510
  10038. #, no-wrap
  10039. msgid ""
  10040. "(channel-news\n"
  10041. " (version 0)\n"
  10042. " (entry (tag \"the-bug-fix\")\n"
  10043. " (title (en \"Fixed terrible bug\")\n"
  10044. " (fr \"Oh la la\"))\n"
  10045. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10046. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10047. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10048. " (title (en \"Added a great package\")\n"
  10049. " (ca \"Què vol dir guix?\"))\n"
  10050. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10051. msgstr ""
  10052. #. type: Plain text
  10053. #: guix-git/doc/guix.texi:5517
  10054. 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."
  10055. msgstr ""
  10056. #. type: Plain text
  10057. #: guix-git/doc/guix.texi:5522
  10058. 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."
  10059. msgstr ""
  10060. #. type: Plain text
  10061. #: guix-git/doc/guix.texi:5528
  10062. 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."
  10063. msgstr ""
  10064. #. type: Plain text
  10065. #: guix-git/doc/guix.texi:5534
  10066. 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:"
  10067. msgstr ""
  10068. #. type: example
  10069. #: guix-git/doc/guix.texi:5537
  10070. #, no-wrap
  10071. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10072. msgstr ""
  10073. #. type: Plain text
  10074. #: guix-git/doc/guix.texi:5541
  10075. 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."
  10076. msgstr ""
  10077. #. type: cindex
  10078. #: guix-git/doc/guix.texi:5546
  10079. #, no-wrap
  10080. msgid "software development"
  10081. msgstr ""
  10082. #. type: Plain text
  10083. #: guix-git/doc/guix.texi:5550
  10084. 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."
  10085. msgstr ""
  10086. #. type: Plain text
  10087. #: guix-git/doc/guix.texi:5556
  10088. msgid "The @command{guix environment} command provides a convenient way to set up @dfn{development environments} containing all the dependencies and tools necessary to work on the software package of your choice. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10089. msgstr ""
  10090. #. type: section
  10091. #: guix-git/doc/guix.texi:5565
  10092. #, no-wrap
  10093. msgid "Invoking @command{guix environment}"
  10094. msgstr ""
  10095. #. type: cindex
  10096. #: guix-git/doc/guix.texi:5567
  10097. #, no-wrap
  10098. msgid "reproducible build environments"
  10099. msgstr ""
  10100. #. type: cindex
  10101. #: guix-git/doc/guix.texi:5568
  10102. #, no-wrap
  10103. msgid "development environments"
  10104. msgstr ""
  10105. #. type: command{#1}
  10106. #: guix-git/doc/guix.texi:5569
  10107. #, no-wrap
  10108. msgid "guix environment"
  10109. msgstr ""
  10110. #. type: cindex
  10111. #: guix-git/doc/guix.texi:5570
  10112. #, no-wrap
  10113. msgid "environment, package build environment"
  10114. msgstr ""
  10115. #. type: Plain text
  10116. #: guix-git/doc/guix.texi:5576
  10117. msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them."
  10118. msgstr ""
  10119. #. type: example
  10120. #: guix-git/doc/guix.texi:5581
  10121. #, no-wrap
  10122. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10123. msgstr ""
  10124. #. type: Plain text
  10125. #: guix-git/doc/guix.texi:5585
  10126. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10127. msgstr ""
  10128. #. type: example
  10129. #: guix-git/doc/guix.texi:5588
  10130. #, no-wrap
  10131. msgid "guix environment guile\n"
  10132. msgstr ""
  10133. #. type: Plain text
  10134. #: guix-git/doc/guix.texi:5605
  10135. 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.}."
  10136. msgstr ""
  10137. #. type: Plain text
  10138. #: guix-git/doc/guix.texi:5611
  10139. 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."
  10140. msgstr ""
  10141. #. type: vindex
  10142. #: guix-git/doc/guix.texi:5612
  10143. #, no-wrap
  10144. msgid "GUIX_ENVIRONMENT"
  10145. msgstr ""
  10146. #. type: Plain text
  10147. #: guix-git/doc/guix.texi:5618
  10148. 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}):"
  10149. msgstr ""
  10150. #. type: example
  10151. #: guix-git/doc/guix.texi:5624
  10152. #, no-wrap
  10153. msgid ""
  10154. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10155. "then\n"
  10156. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10157. "fi\n"
  10158. msgstr ""
  10159. #. type: Plain text
  10160. #: guix-git/doc/guix.texi:5628
  10161. msgid "...@: or to browse the profile:"
  10162. msgstr ""
  10163. #. type: example
  10164. #: guix-git/doc/guix.texi:5631
  10165. #, no-wrap
  10166. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10167. msgstr ""
  10168. #. type: Plain text
  10169. #: guix-git/doc/guix.texi:5637
  10170. 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:"
  10171. msgstr ""
  10172. #. type: example
  10173. #: guix-git/doc/guix.texi:5640
  10174. #, no-wrap
  10175. msgid "guix environment guile emacs\n"
  10176. msgstr ""
  10177. #. type: Plain text
  10178. #: guix-git/doc/guix.texi:5645
  10179. 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:"
  10180. msgstr ""
  10181. #. type: example
  10182. #: guix-git/doc/guix.texi:5648
  10183. #, no-wrap
  10184. msgid "guix environment guile -- make -j4\n"
  10185. msgstr ""
  10186. #. type: Plain text
  10187. #: guix-git/doc/guix.texi:5654
  10188. 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{}2.7 and NumPy:"
  10189. msgstr ""
  10190. #. type: example
  10191. #: guix-git/doc/guix.texi:5657
  10192. #, no-wrap
  10193. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  10194. msgstr ""
  10195. #. type: Plain text
  10196. #: guix-git/doc/guix.texi:5668
  10197. 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:"
  10198. msgstr ""
  10199. #. type: example
  10200. #: guix-git/doc/guix.texi:5671
  10201. #, no-wrap
  10202. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10203. msgstr ""
  10204. #. type: item
  10205. #: guix-git/doc/guix.texi:5673 guix-git/doc/guix.texi:5834
  10206. #: guix-git/doc/guix.texi:13258 guix-git/doc/guix.texi:34077
  10207. #, no-wrap
  10208. msgid "container"
  10209. msgstr ""
  10210. #. type: Plain text
  10211. #: guix-git/doc/guix.texi:5681
  10212. 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:"
  10213. msgstr ""
  10214. #. type: example
  10215. #: guix-git/doc/guix.texi:5684
  10216. #, no-wrap
  10217. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10218. msgstr ""
  10219. #. type: quotation
  10220. #: guix-git/doc/guix.texi:5688
  10221. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10222. msgstr ""
  10223. #. type: cindex
  10224. #: guix-git/doc/guix.texi:5690
  10225. #, no-wrap
  10226. msgid "certificates"
  10227. msgstr ""
  10228. #. type: Plain text
  10229. #: guix-git/doc/guix.texi:5697
  10230. 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."
  10231. msgstr ""
  10232. #. type: example
  10233. #: guix-git/doc/guix.texi:5704
  10234. #, no-wrap
  10235. msgid ""
  10236. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10237. " --expose=/etc/machine-id \\\n"
  10238. " --expose=/etc/ssl/certs/ \\\n"
  10239. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10240. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10241. msgstr ""
  10242. #. type: Plain text
  10243. #: guix-git/doc/guix.texi:5707
  10244. msgid "The available options are summarized below."
  10245. msgstr ""
  10246. #. type: item
  10247. #: guix-git/doc/guix.texi:5709 guix-git/doc/guix.texi:6274
  10248. #: guix-git/doc/guix.texi:10961 guix-git/doc/guix.texi:34174
  10249. #, no-wrap
  10250. msgid "--root=@var{file}"
  10251. msgstr ""
  10252. #. type: itemx
  10253. #: guix-git/doc/guix.texi:5710 guix-git/doc/guix.texi:6275
  10254. #: guix-git/doc/guix.texi:10962 guix-git/doc/guix.texi:34175
  10255. #, no-wrap
  10256. msgid "-r @var{file}"
  10257. msgstr ""
  10258. #. type: cindex
  10259. #: guix-git/doc/guix.texi:5711
  10260. #, no-wrap
  10261. msgid "persistent environment"
  10262. msgstr ""
  10263. #. type: cindex
  10264. #: guix-git/doc/guix.texi:5712
  10265. #, no-wrap
  10266. msgid "garbage collector root, for environments"
  10267. msgstr ""
  10268. #. type: table
  10269. #: guix-git/doc/guix.texi:5715
  10270. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10271. msgstr ""
  10272. #. type: table
  10273. #: guix-git/doc/guix.texi:5718
  10274. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10275. msgstr ""
  10276. #. type: table
  10277. #: guix-git/doc/guix.texi:5724
  10278. 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."
  10279. msgstr ""
  10280. #. type: item
  10281. #: guix-git/doc/guix.texi:5725 guix-git/doc/guix.texi:6206
  10282. #: guix-git/doc/guix.texi:10807 guix-git/doc/guix.texi:11857
  10283. #: guix-git/doc/guix.texi:12702 guix-git/doc/guix.texi:34109
  10284. #: guix-git/doc/guix.texi:36100
  10285. #, no-wrap
  10286. msgid "--expression=@var{expr}"
  10287. msgstr ""
  10288. #. type: itemx
  10289. #: guix-git/doc/guix.texi:5726 guix-git/doc/guix.texi:6207
  10290. #: guix-git/doc/guix.texi:10808 guix-git/doc/guix.texi:11858
  10291. #: guix-git/doc/guix.texi:12703 guix-git/doc/guix.texi:34110
  10292. #: guix-git/doc/guix.texi:36101
  10293. #, no-wrap
  10294. msgid "-e @var{expr}"
  10295. msgstr ""
  10296. #. type: table
  10297. #: guix-git/doc/guix.texi:5729
  10298. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10299. msgstr ""
  10300. #. type: table
  10301. #: guix-git/doc/guix.texi:5731
  10302. msgid "For example, running:"
  10303. msgstr ""
  10304. #. type: example
  10305. #: guix-git/doc/guix.texi:5734
  10306. #, no-wrap
  10307. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10308. msgstr ""
  10309. #. type: table
  10310. #: guix-git/doc/guix.texi:5738
  10311. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10312. msgstr ""
  10313. #. type: table
  10314. #: guix-git/doc/guix.texi:5740
  10315. msgid "Running:"
  10316. msgstr ""
  10317. #. type: example
  10318. #: guix-git/doc/guix.texi:5743
  10319. #, no-wrap
  10320. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10321. msgstr ""
  10322. #. type: table
  10323. #: guix-git/doc/guix.texi:5746
  10324. msgid "starts a shell with all the base system packages available."
  10325. msgstr ""
  10326. #. type: table
  10327. #: guix-git/doc/guix.texi:5749
  10328. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10329. msgstr ""
  10330. #. type: example
  10331. #: guix-git/doc/guix.texi:5752
  10332. #, no-wrap
  10333. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10334. msgstr ""
  10335. #. type: item
  10336. #: guix-git/doc/guix.texi:5754
  10337. #, no-wrap
  10338. msgid "--load=@var{file}"
  10339. msgstr ""
  10340. #. type: itemx
  10341. #: guix-git/doc/guix.texi:5755
  10342. #, no-wrap
  10343. msgid "-l @var{file}"
  10344. msgstr ""
  10345. #. type: table
  10346. #: guix-git/doc/guix.texi:5758
  10347. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10348. msgstr ""
  10349. #. type: lisp
  10350. #: guix-git/doc/guix.texi:5764
  10351. #, no-wrap
  10352. msgid "@verbatiminclude environment-gdb.scm\n"
  10353. msgstr ""
  10354. #. type: table
  10355. #: guix-git/doc/guix.texi:5771
  10356. 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."
  10357. msgstr ""
  10358. #. type: table
  10359. #: guix-git/doc/guix.texi:5775
  10360. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10361. msgstr ""
  10362. #. type: item
  10363. #: guix-git/doc/guix.texi:5776
  10364. #, no-wrap
  10365. msgid "--ad-hoc"
  10366. msgstr ""
  10367. #. type: table
  10368. #: guix-git/doc/guix.texi:5781
  10369. 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."
  10370. msgstr ""
  10371. #. type: table
  10372. #: guix-git/doc/guix.texi:5783
  10373. msgid "For instance, the command:"
  10374. msgstr ""
  10375. #. type: example
  10376. #: guix-git/doc/guix.texi:5786
  10377. #, no-wrap
  10378. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10379. msgstr ""
  10380. #. type: table
  10381. #: guix-git/doc/guix.texi:5790
  10382. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10383. msgstr ""
  10384. #. type: table
  10385. #: guix-git/doc/guix.texi:5795
  10386. 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})."
  10387. msgstr ""
  10388. #. type: table
  10389. #: guix-git/doc/guix.texi:5801
  10390. 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."
  10391. msgstr ""
  10392. #. type: item
  10393. #: guix-git/doc/guix.texi:5802
  10394. #, no-wrap
  10395. msgid "--pure"
  10396. msgstr ""
  10397. #. type: table
  10398. #: guix-git/doc/guix.texi:5806
  10399. 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."
  10400. msgstr ""
  10401. #. type: item
  10402. #: guix-git/doc/guix.texi:5807
  10403. #, no-wrap
  10404. msgid "--preserve=@var{regexp}"
  10405. msgstr ""
  10406. #. type: itemx
  10407. #: guix-git/doc/guix.texi:5808
  10408. #, no-wrap
  10409. msgid "-E @var{regexp}"
  10410. msgstr ""
  10411. #. type: table
  10412. #: guix-git/doc/guix.texi:5813
  10413. 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."
  10414. msgstr ""
  10415. #. type: example
  10416. #: guix-git/doc/guix.texi:5817
  10417. #, no-wrap
  10418. msgid ""
  10419. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10420. " -- mpirun @dots{}\n"
  10421. msgstr ""
  10422. #. type: table
  10423. #: guix-git/doc/guix.texi:5823
  10424. 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.)."
  10425. msgstr ""
  10426. #. type: item
  10427. #: guix-git/doc/guix.texi:5824
  10428. #, no-wrap
  10429. msgid "--search-paths"
  10430. msgstr ""
  10431. #. type: table
  10432. #: guix-git/doc/guix.texi:5827
  10433. msgid "Display the environment variable definitions that make up the environment."
  10434. msgstr ""
  10435. #. type: table
  10436. #: guix-git/doc/guix.texi:5831
  10437. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10438. msgstr ""
  10439. #. type: item
  10440. #: guix-git/doc/guix.texi:5832
  10441. #, no-wrap
  10442. msgid "--container"
  10443. msgstr ""
  10444. #. type: itemx
  10445. #: guix-git/doc/guix.texi:5833
  10446. #, no-wrap
  10447. msgid "-C"
  10448. msgstr ""
  10449. #. type: table
  10450. #: guix-git/doc/guix.texi:5840
  10451. 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."
  10452. msgstr ""
  10453. #. type: table
  10454. #: guix-git/doc/guix.texi:5844
  10455. 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)."
  10456. msgstr ""
  10457. #. type: item
  10458. #: guix-git/doc/guix.texi:5845 guix-git/doc/guix.texi:34169
  10459. #, no-wrap
  10460. msgid "--network"
  10461. msgstr ""
  10462. #. type: table
  10463. #: guix-git/doc/guix.texi:5850
  10464. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10465. msgstr ""
  10466. #. type: item
  10467. #: guix-git/doc/guix.texi:5851
  10468. #, no-wrap
  10469. msgid "--link-profile"
  10470. msgstr ""
  10471. #. type: itemx
  10472. #: guix-git/doc/guix.texi:5852
  10473. #, no-wrap
  10474. msgid "-P"
  10475. msgstr ""
  10476. #. type: table
  10477. #: guix-git/doc/guix.texi:5860
  10478. 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."
  10479. msgstr ""
  10480. #. type: table
  10481. #: guix-git/doc/guix.texi:5866
  10482. 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."
  10483. msgstr ""
  10484. #. type: item
  10485. #: guix-git/doc/guix.texi:5867 guix-git/doc/guix.texi:12835
  10486. #, no-wrap
  10487. msgid "--user=@var{user}"
  10488. msgstr ""
  10489. #. type: itemx
  10490. #: guix-git/doc/guix.texi:5868 guix-git/doc/guix.texi:12836
  10491. #, no-wrap
  10492. msgid "-u @var{user}"
  10493. msgstr ""
  10494. #. type: table
  10495. #: guix-git/doc/guix.texi:5875
  10496. 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."
  10497. msgstr ""
  10498. #. type: table
  10499. #: guix-git/doc/guix.texi:5880
  10500. 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."
  10501. msgstr ""
  10502. #. type: example
  10503. #: guix-git/doc/guix.texi:5887
  10504. #, no-wrap
  10505. msgid ""
  10506. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10507. "cd $HOME/wd\n"
  10508. "guix environment --container --user=foo \\\n"
  10509. " --expose=$HOME/test \\\n"
  10510. " --expose=/tmp/target=$HOME/target\n"
  10511. msgstr ""
  10512. #. type: table
  10513. #: guix-git/doc/guix.texi:5892
  10514. 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."
  10515. msgstr ""
  10516. #. type: item
  10517. #: guix-git/doc/guix.texi:5893
  10518. #, no-wrap
  10519. msgid "--no-cwd"
  10520. msgstr ""
  10521. #. type: table
  10522. #: guix-git/doc/guix.texi:5900
  10523. 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}."
  10524. msgstr ""
  10525. #. type: item
  10526. #: guix-git/doc/guix.texi:5901
  10527. #, no-wrap
  10528. msgid "--expose=@var{source}[=@var{target}]"
  10529. msgstr ""
  10530. #. type: itemx
  10531. #: guix-git/doc/guix.texi:5902
  10532. #, no-wrap
  10533. msgid "--share=@var{source}[=@var{target}]"
  10534. msgstr ""
  10535. #. type: table
  10536. #: guix-git/doc/guix.texi:5908
  10537. 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."
  10538. msgstr ""
  10539. #. type: table
  10540. #: guix-git/doc/guix.texi:5912
  10541. 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:"
  10542. msgstr ""
  10543. #. type: example
  10544. #: guix-git/doc/guix.texi:5915
  10545. #, no-wrap
  10546. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10547. msgstr ""
  10548. #. type: Plain text
  10549. #: guix-git/doc/guix.texi:5923
  10550. 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})."
  10551. msgstr ""
  10552. #. type: section
  10553. #: guix-git/doc/guix.texi:5925
  10554. #, no-wrap
  10555. msgid "Invoking @command{guix pack}"
  10556. msgstr ""
  10557. #. type: Plain text
  10558. #: guix-git/doc/guix.texi:5931
  10559. 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."
  10560. msgstr ""
  10561. #. type: quotation
  10562. #: guix-git/doc/guix.texi:5936
  10563. 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}."
  10564. msgstr ""
  10565. #. type: cindex
  10566. #: guix-git/doc/guix.texi:5938
  10567. #, no-wrap
  10568. msgid "pack"
  10569. msgstr ""
  10570. #. type: cindex
  10571. #: guix-git/doc/guix.texi:5939
  10572. #, no-wrap
  10573. msgid "bundle"
  10574. msgstr ""
  10575. #. type: cindex
  10576. #: guix-git/doc/guix.texi:5940
  10577. #, no-wrap
  10578. msgid "application bundle"
  10579. msgstr ""
  10580. #. type: cindex
  10581. #: guix-git/doc/guix.texi:5941
  10582. #, no-wrap
  10583. msgid "software bundle"
  10584. msgstr ""
  10585. #. type: Plain text
  10586. #: guix-git/doc/guix.texi:5950
  10587. 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."
  10588. msgstr ""
  10589. #. type: Plain text
  10590. #: guix-git/doc/guix.texi:5953
  10591. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10592. msgstr ""
  10593. #. type: example
  10594. #: guix-git/doc/guix.texi:5958
  10595. #, no-wrap
  10596. msgid ""
  10597. "$ guix pack guile emacs emacs-geiser\n"
  10598. "@dots{}\n"
  10599. "/gnu/store/@dots{}-pack.tar.gz\n"
  10600. msgstr ""
  10601. #. type: Plain text
  10602. #: guix-git/doc/guix.texi:5966
  10603. 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})."
  10604. msgstr ""
  10605. #. type: Plain text
  10606. #: guix-git/doc/guix.texi:5971
  10607. 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:"
  10608. msgstr ""
  10609. #. type: example
  10610. #: guix-git/doc/guix.texi:5974
  10611. #, no-wrap
  10612. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10613. msgstr ""
  10614. #. type: Plain text
  10615. #: guix-git/doc/guix.texi:5978
  10616. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10617. msgstr ""
  10618. #. type: cindex
  10619. #: guix-git/doc/guix.texi:5979
  10620. #, no-wrap
  10621. msgid "relocatable binaries, with @command{guix pack}"
  10622. msgstr ""
  10623. #. type: Plain text
  10624. #: guix-git/doc/guix.texi:5987
  10625. 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}."
  10626. msgstr ""
  10627. #. type: cindex
  10628. #: guix-git/doc/guix.texi:5988
  10629. #, no-wrap
  10630. msgid "Docker, build an image with guix pack"
  10631. msgstr ""
  10632. #. type: Plain text
  10633. #: guix-git/doc/guix.texi:5991
  10634. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10635. msgstr ""
  10636. #. type: example
  10637. #: guix-git/doc/guix.texi:5994
  10638. #, no-wrap
  10639. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10640. msgstr ""
  10641. #. type: Plain text
  10642. #: guix-git/doc/guix.texi:5999
  10643. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10644. msgstr ""
  10645. #. type: example
  10646. #: guix-git/doc/guix.texi:6003
  10647. #, no-wrap
  10648. msgid ""
  10649. "docker load < @var{file}\n"
  10650. "docker run -ti guile-guile-readline /bin/guile\n"
  10651. msgstr ""
  10652. #. type: Plain text
  10653. #: guix-git/doc/guix.texi:6010
  10654. 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."
  10655. msgstr ""
  10656. #. type: cindex
  10657. #: guix-git/doc/guix.texi:6011
  10658. #, no-wrap
  10659. msgid "Singularity, build an image with guix pack"
  10660. msgstr ""
  10661. #. type: cindex
  10662. #: guix-git/doc/guix.texi:6012
  10663. #, no-wrap
  10664. msgid "SquashFS, build an image with guix pack"
  10665. msgstr ""
  10666. #. type: Plain text
  10667. #: guix-git/doc/guix.texi:6015
  10668. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10669. msgstr ""
  10670. #. type: example
  10671. #: guix-git/doc/guix.texi:6018
  10672. #, no-wrap
  10673. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10674. msgstr ""
  10675. #. type: Plain text
  10676. #: guix-git/doc/guix.texi:6026
  10677. 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}."
  10678. msgstr ""
  10679. #. type: Plain text
  10680. #: guix-git/doc/guix.texi:6028
  10681. msgid "Several command-line options allow you to customize your pack:"
  10682. msgstr ""
  10683. #. type: table
  10684. #: guix-git/doc/guix.texi:6033
  10685. msgid "Produce a pack in the given @var{format}."
  10686. msgstr ""
  10687. #. type: table
  10688. #: guix-git/doc/guix.texi:6035
  10689. msgid "The available formats are:"
  10690. msgstr ""
  10691. #. type: item
  10692. #: guix-git/doc/guix.texi:6037
  10693. #, no-wrap
  10694. msgid "tarball"
  10695. msgstr ""
  10696. #. type: table
  10697. #: guix-git/doc/guix.texi:6040
  10698. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10699. msgstr ""
  10700. #. type: item
  10701. #: guix-git/doc/guix.texi:6041
  10702. #, no-wrap
  10703. msgid "docker"
  10704. msgstr ""
  10705. #. type: table
  10706. #: guix-git/doc/guix.texi:6047
  10707. 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."
  10708. msgstr ""
  10709. #. type: item
  10710. #: guix-git/doc/guix.texi:6048
  10711. #, no-wrap
  10712. msgid "squashfs"
  10713. msgstr ""
  10714. #. type: table
  10715. #: guix-git/doc/guix.texi:6052
  10716. 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."
  10717. msgstr ""
  10718. #. type: quotation
  10719. #: guix-git/doc/guix.texi:6058
  10720. 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:"
  10721. msgstr ""
  10722. #. type: example
  10723. #: guix-git/doc/guix.texi:6061
  10724. #, no-wrap
  10725. msgid "guix pack -f squashfs bash @dots{}\n"
  10726. msgstr ""
  10727. #. type: quotation
  10728. #: guix-git/doc/guix.texi:6066
  10729. 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."
  10730. msgstr ""
  10731. #. type: item
  10732. #: guix-git/doc/guix.texi:6068
  10733. #, no-wrap
  10734. msgid "deb"
  10735. msgstr ""
  10736. #. type: table
  10737. #: guix-git/doc/guix.texi:6076
  10738. 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."
  10739. msgstr ""
  10740. #. type: example
  10741. #: guix-git/doc/guix.texi:6079
  10742. #, no-wrap
  10743. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  10744. msgstr ""
  10745. #. type: quotation
  10746. #: guix-git/doc/guix.texi:6086
  10747. 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."
  10748. msgstr ""
  10749. #. type: quotation
  10750. #: guix-git/doc/guix.texi:6094
  10751. 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."
  10752. msgstr ""
  10753. #. type: cindex
  10754. #: guix-git/doc/guix.texi:6098
  10755. #, no-wrap
  10756. msgid "relocatable binaries"
  10757. msgstr ""
  10758. #. type: item
  10759. #: guix-git/doc/guix.texi:6099
  10760. #, no-wrap
  10761. msgid "--relocatable"
  10762. msgstr ""
  10763. #. type: table
  10764. #: guix-git/doc/guix.texi:6103
  10765. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10766. msgstr ""
  10767. #. type: table
  10768. #: guix-git/doc/guix.texi:6111
  10769. 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."
  10770. msgstr ""
  10771. #. type: table
  10772. #: guix-git/doc/guix.texi:6113
  10773. msgid "For example, if you create a pack containing Bash with:"
  10774. msgstr ""
  10775. #. type: example
  10776. #: guix-git/doc/guix.texi:6116
  10777. #, no-wrap
  10778. msgid "guix pack -RR -S /mybin=bin bash\n"
  10779. msgstr ""
  10780. #. type: table
  10781. #: guix-git/doc/guix.texi:6121
  10782. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10783. msgstr ""
  10784. #. type: example
  10785. #: guix-git/doc/guix.texi:6125
  10786. #, no-wrap
  10787. msgid ""
  10788. "tar xf pack.tar.gz\n"
  10789. "./mybin/sh\n"
  10790. msgstr ""
  10791. #. type: table
  10792. #: guix-git/doc/guix.texi:6133
  10793. 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."
  10794. msgstr ""
  10795. #. type: quotation
  10796. #: guix-git/doc/guix.texi:6139
  10797. 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."
  10798. msgstr ""
  10799. #. type: quotation
  10800. #: guix-git/doc/guix.texi:6145
  10801. 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:"
  10802. msgstr ""
  10803. #. type: item
  10804. #: guix-git/doc/guix.texi:6147 guix-git/doc/guix.texi:16509
  10805. #, no-wrap
  10806. msgid "default"
  10807. msgstr ""
  10808. #. type: table
  10809. #: guix-git/doc/guix.texi:6150
  10810. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10811. msgstr ""
  10812. #. type: item
  10813. #: guix-git/doc/guix.texi:6151
  10814. #, no-wrap
  10815. msgid "performance"
  10816. msgstr ""
  10817. #. type: table
  10818. #: guix-git/doc/guix.texi:6154
  10819. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10820. msgstr ""
  10821. #. type: item
  10822. #: guix-git/doc/guix.texi:6155
  10823. #, no-wrap
  10824. msgid "userns"
  10825. msgstr ""
  10826. #. type: table
  10827. #: guix-git/doc/guix.texi:6158
  10828. msgid "Run the program through user namespaces and abort if they are not supported."
  10829. msgstr ""
  10830. #. type: item
  10831. #: guix-git/doc/guix.texi:6159
  10832. #, no-wrap
  10833. msgid "proot"
  10834. msgstr ""
  10835. #. type: table
  10836. #: guix-git/doc/guix.texi:6166
  10837. 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."
  10838. msgstr ""
  10839. #. type: item
  10840. #: guix-git/doc/guix.texi:6167
  10841. #, no-wrap
  10842. msgid "fakechroot"
  10843. msgstr ""
  10844. #. type: table
  10845. #: guix-git/doc/guix.texi:6175
  10846. 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."
  10847. msgstr ""
  10848. #. type: vindex
  10849. #: guix-git/doc/guix.texi:6177
  10850. #, no-wrap
  10851. msgid "GUIX_EXECUTION_ENGINE"
  10852. msgstr ""
  10853. #. type: quotation
  10854. #: guix-git/doc/guix.texi:6181
  10855. 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."
  10856. msgstr ""
  10857. #. type: cindex
  10858. #: guix-git/doc/guix.texi:6183
  10859. #, no-wrap
  10860. msgid "entry point, for Docker images"
  10861. msgstr ""
  10862. #. type: item
  10863. #: guix-git/doc/guix.texi:6184
  10864. #, no-wrap
  10865. msgid "--entry-point=@var{command}"
  10866. msgstr ""
  10867. #. type: table
  10868. #: guix-git/doc/guix.texi:6189
  10869. 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."
  10870. msgstr ""
  10871. #. type: table
  10872. #: guix-git/doc/guix.texi:6193
  10873. 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:"
  10874. msgstr ""
  10875. #. type: example
  10876. #: guix-git/doc/guix.texi:6196
  10877. #, no-wrap
  10878. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10879. msgstr ""
  10880. #. type: table
  10881. #: guix-git/doc/guix.texi:6200
  10882. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10883. msgstr ""
  10884. #. type: example
  10885. #: guix-git/doc/guix.texi:6204
  10886. #, no-wrap
  10887. msgid ""
  10888. "docker load -i pack.tar.gz\n"
  10889. "docker run @var{image-id}\n"
  10890. msgstr ""
  10891. #. type: table
  10892. #: guix-git/doc/guix.texi:6209 guix-git/doc/guix.texi:11860
  10893. #: guix-git/doc/guix.texi:12705
  10894. msgid "Consider the package @var{expr} evaluates to."
  10895. msgstr ""
  10896. #. type: table
  10897. #: guix-git/doc/guix.texi:6213
  10898. 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}})."
  10899. msgstr ""
  10900. #. type: table
  10901. #: guix-git/doc/guix.texi:6219
  10902. 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."
  10903. msgstr ""
  10904. #. type: table
  10905. #: guix-git/doc/guix.texi:6227
  10906. 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."
  10907. msgstr ""
  10908. #. type: item
  10909. #: guix-git/doc/guix.texi:6233 guix-git/doc/guix.texi:10925
  10910. #, no-wrap
  10911. msgid "--target=@var{triplet}"
  10912. msgstr ""
  10913. #. type: cindex
  10914. #: guix-git/doc/guix.texi:6234 guix-git/doc/guix.texi:6685
  10915. #: guix-git/doc/guix.texi:10926
  10916. #, no-wrap
  10917. msgid "cross-compilation"
  10918. msgstr ""
  10919. #. type: table
  10920. #: guix-git/doc/guix.texi:6238
  10921. 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})."
  10922. msgstr ""
  10923. #. type: item
  10924. #: guix-git/doc/guix.texi:6239
  10925. #, no-wrap
  10926. msgid "--compression=@var{tool}"
  10927. msgstr ""
  10928. #. type: itemx
  10929. #: guix-git/doc/guix.texi:6240
  10930. #, no-wrap
  10931. msgid "-C @var{tool}"
  10932. msgstr ""
  10933. #. type: table
  10934. #: guix-git/doc/guix.texi:6244
  10935. 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."
  10936. msgstr ""
  10937. #. type: item
  10938. #: guix-git/doc/guix.texi:6245
  10939. #, no-wrap
  10940. msgid "--symlink=@var{spec}"
  10941. msgstr ""
  10942. #. type: itemx
  10943. #: guix-git/doc/guix.texi:6246
  10944. #, no-wrap
  10945. msgid "-S @var{spec}"
  10946. msgstr ""
  10947. #. type: table
  10948. #: guix-git/doc/guix.texi:6249
  10949. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10950. msgstr ""
  10951. #. type: table
  10952. #: guix-git/doc/guix.texi:6253
  10953. 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."
  10954. msgstr ""
  10955. #. type: table
  10956. #: guix-git/doc/guix.texi:6256
  10957. 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."
  10958. msgstr ""
  10959. #. type: item
  10960. #: guix-git/doc/guix.texi:6257 guix-git/doc/guix.texi:34128
  10961. #, no-wrap
  10962. msgid "--save-provenance"
  10963. msgstr ""
  10964. #. type: table
  10965. #: guix-git/doc/guix.texi:6261
  10966. 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})."
  10967. msgstr ""
  10968. #. type: table
  10969. #: guix-git/doc/guix.texi:6267
  10970. 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."
  10971. msgstr ""
  10972. #. type: table
  10973. #: guix-git/doc/guix.texi:6273
  10974. 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."
  10975. msgstr ""
  10976. #. type: cindex
  10977. #: guix-git/doc/guix.texi:6276
  10978. #, no-wrap
  10979. msgid "garbage collector root, for packs"
  10980. msgstr ""
  10981. #. type: table
  10982. #: guix-git/doc/guix.texi:6279
  10983. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10984. msgstr ""
  10985. #. type: item
  10986. #: guix-git/doc/guix.texi:6280
  10987. #, no-wrap
  10988. msgid "--localstatedir"
  10989. msgstr ""
  10990. #. type: itemx
  10991. #: guix-git/doc/guix.texi:6281
  10992. #, no-wrap
  10993. msgid "--profile-name=@var{name}"
  10994. msgstr ""
  10995. #. type: table
  10996. #: guix-git/doc/guix.texi:6286
  10997. 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}."
  10998. msgstr ""
  10999. #. type: table
  11000. #: guix-git/doc/guix.texi:6292
  11001. 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."
  11002. msgstr ""
  11003. #. type: table
  11004. #: guix-git/doc/guix.texi:6295
  11005. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11006. msgstr ""
  11007. #. type: item
  11008. #: guix-git/doc/guix.texi:6296 guix-git/doc/guix.texi:34122
  11009. #, no-wrap
  11010. msgid "--derivation"
  11011. msgstr ""
  11012. #. type: itemx
  11013. #: guix-git/doc/guix.texi:6297 guix-git/doc/guix.texi:10957
  11014. #: guix-git/doc/guix.texi:34123
  11015. #, no-wrap
  11016. msgid "-d"
  11017. msgstr ""
  11018. #. type: table
  11019. #: guix-git/doc/guix.texi:6299
  11020. msgid "Print the name of the derivation that builds the pack."
  11021. msgstr ""
  11022. #. type: table
  11023. #: guix-git/doc/guix.texi:6303
  11024. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11025. msgstr ""
  11026. #. type: Plain text
  11027. #: guix-git/doc/guix.texi:6308
  11028. 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})."
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6313
  11032. #, no-wrap
  11033. msgid "GCC"
  11034. msgstr ""
  11035. #. type: cindex
  11036. #: guix-git/doc/guix.texi:6314
  11037. #, no-wrap
  11038. msgid "ld-wrapper"
  11039. msgstr ""
  11040. #. type: cindex
  11041. #: guix-git/doc/guix.texi:6315
  11042. #, no-wrap
  11043. msgid "linker wrapper"
  11044. msgstr ""
  11045. #. type: cindex
  11046. #: guix-git/doc/guix.texi:6316
  11047. #, no-wrap
  11048. msgid "toolchain, for C development"
  11049. msgstr ""
  11050. #. type: cindex
  11051. #: guix-git/doc/guix.texi:6317
  11052. #, no-wrap
  11053. msgid "toolchain, for Fortran development"
  11054. msgstr ""
  11055. #. type: Plain text
  11056. #: guix-git/doc/guix.texi:6324
  11057. 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."
  11058. msgstr ""
  11059. #. type: Plain text
  11060. #: guix-git/doc/guix.texi:6330
  11061. 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}."
  11062. msgstr ""
  11063. #. type: Plain text
  11064. #: guix-git/doc/guix.texi:6334
  11065. 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})."
  11066. msgstr ""
  11067. #. type: section
  11068. #: guix-git/doc/guix.texi:6337
  11069. #, no-wrap
  11070. msgid "Invoking @command{guix git authenticate}"
  11071. msgstr ""
  11072. #. type: Plain text
  11073. #: guix-git/doc/guix.texi:6345
  11074. 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)."
  11075. msgstr ""
  11076. #. type: Plain text
  11077. #: guix-git/doc/guix.texi:6350
  11078. 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."
  11079. msgstr ""
  11080. #. type: example
  11081. #: guix-git/doc/guix.texi:6355
  11082. #, no-wrap
  11083. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11084. msgstr ""
  11085. #. type: Plain text
  11086. #: guix-git/doc/guix.texi:6364
  11087. 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."
  11088. msgstr ""
  11089. #. type: item
  11090. #: guix-git/doc/guix.texi:6366
  11091. #, no-wrap
  11092. msgid "--repository=@var{directory}"
  11093. msgstr ""
  11094. #. type: itemx
  11095. #: guix-git/doc/guix.texi:6367
  11096. #, no-wrap
  11097. msgid "-r @var{directory}"
  11098. msgstr ""
  11099. #. type: table
  11100. #: guix-git/doc/guix.texi:6370
  11101. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11102. msgstr ""
  11103. #. type: item
  11104. #: guix-git/doc/guix.texi:6371
  11105. #, no-wrap
  11106. msgid "--keyring=@var{reference}"
  11107. msgstr ""
  11108. #. type: itemx
  11109. #: guix-git/doc/guix.texi:6372
  11110. #, no-wrap
  11111. msgid "-k @var{reference}"
  11112. msgstr ""
  11113. #. type: table
  11114. #: guix-git/doc/guix.texi:6378
  11115. 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}."
  11116. msgstr ""
  11117. #. type: item
  11118. #: guix-git/doc/guix.texi:6379
  11119. #, no-wrap
  11120. msgid "--stats"
  11121. msgstr ""
  11122. #. type: table
  11123. #: guix-git/doc/guix.texi:6381
  11124. msgid "Display commit signing statistics upon completion."
  11125. msgstr ""
  11126. #. type: item
  11127. #: guix-git/doc/guix.texi:6382
  11128. #, no-wrap
  11129. msgid "--cache-key=@var{key}"
  11130. msgstr ""
  11131. #. type: table
  11132. #: guix-git/doc/guix.texi:6386
  11133. 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."
  11134. msgstr ""
  11135. #. type: item
  11136. #: guix-git/doc/guix.texi:6387
  11137. #, no-wrap
  11138. msgid "--historical-authorizations=@var{file}"
  11139. msgstr ""
  11140. #. type: table
  11141. #: guix-git/doc/guix.texi:6394
  11142. 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})."
  11143. msgstr ""
  11144. #. type: Plain text
  11145. #: guix-git/doc/guix.texi:6407
  11146. 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."
  11147. msgstr ""
  11148. #. type: Plain text
  11149. #: guix-git/doc/guix.texi:6413
  11150. 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."
  11151. msgstr ""
  11152. #. type: Plain text
  11153. #: guix-git/doc/guix.texi:6422
  11154. 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."
  11155. msgstr ""
  11156. #. type: Plain text
  11157. #: guix-git/doc/guix.texi:6425
  11158. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11159. msgstr ""
  11160. #. type: menuentry
  11161. #: guix-git/doc/guix.texi:6438
  11162. msgid "Programming Guix in Guile"
  11163. msgstr ""
  11164. #. type: Plain text
  11165. #: guix-git/doc/guix.texi:6454
  11166. 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})."
  11167. msgstr ""
  11168. #. type: Plain text
  11169. #: guix-git/doc/guix.texi:6461
  11170. 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."
  11171. msgstr ""
  11172. #. type: cindex
  11173. #: guix-git/doc/guix.texi:6463
  11174. #, no-wrap
  11175. msgid "package module search path"
  11176. msgstr ""
  11177. #. type: Plain text
  11178. #: guix-git/doc/guix.texi:6472
  11179. 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:"
  11180. msgstr ""
  11181. #. type: enumerate
  11182. #: guix-git/doc/guix.texi:6479
  11183. 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."
  11184. msgstr ""
  11185. #. type: enumerate
  11186. #: guix-git/doc/guix.texi:6485
  11187. 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."
  11188. msgstr ""
  11189. #. type: Plain text
  11190. #: guix-git/doc/guix.texi:6488
  11191. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11192. msgstr ""
  11193. #. type: defvr
  11194. #: guix-git/doc/guix.texi:6489
  11195. #, no-wrap
  11196. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11197. msgstr ""
  11198. #. type: defvr
  11199. #: guix-git/doc/guix.texi:6493
  11200. 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."
  11201. msgstr ""
  11202. #. type: Plain text
  11203. #: guix-git/doc/guix.texi:6501
  11204. 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}."
  11205. msgstr ""
  11206. #. type: Plain text
  11207. #: guix-git/doc/guix.texi:6509
  11208. 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:"
  11209. msgstr ""
  11210. #. type: lisp
  11211. #: guix-git/doc/guix.texi:6517
  11212. #, no-wrap
  11213. msgid ""
  11214. "(define-module (gnu packages hello)\n"
  11215. " #:use-module (guix packages)\n"
  11216. " #:use-module (guix download)\n"
  11217. " #:use-module (guix build-system gnu)\n"
  11218. " #:use-module (guix licenses)\n"
  11219. " #:use-module (gnu packages gawk))\n"
  11220. "\n"
  11221. msgstr ""
  11222. #. type: lisp
  11223. #: guix-git/doc/guix.texi:6536
  11224. #, no-wrap
  11225. msgid ""
  11226. "(define-public hello\n"
  11227. " (package\n"
  11228. " (name \"hello\")\n"
  11229. " (version \"2.10\")\n"
  11230. " (source (origin\n"
  11231. " (method url-fetch)\n"
  11232. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11233. " \".tar.gz\"))\n"
  11234. " (sha256\n"
  11235. " (base32\n"
  11236. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11237. " (build-system gnu-build-system)\n"
  11238. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11239. " (inputs `((\"gawk\" ,gawk)))\n"
  11240. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11241. " (description \"Guess what GNU Hello prints!\")\n"
  11242. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11243. " (license gpl3+)))\n"
  11244. msgstr ""
  11245. #. type: Plain text
  11246. #: guix-git/doc/guix.texi:6546
  11247. 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\"}."
  11248. msgstr ""
  11249. #. type: Plain text
  11250. #: guix-git/doc/guix.texi:6550
  11251. 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})."
  11252. msgstr ""
  11253. #. type: Plain text
  11254. #: guix-git/doc/guix.texi:6556
  11255. 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})."
  11256. msgstr ""
  11257. #. type: Plain text
  11258. #: guix-git/doc/guix.texi:6558
  11259. msgid "There are a few points worth noting in the above package definition:"
  11260. msgstr ""
  11261. #. type: itemize
  11262. #: guix-git/doc/guix.texi:6565
  11263. 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."
  11264. msgstr ""
  11265. #. type: itemize
  11266. #: guix-git/doc/guix.texi:6568
  11267. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11268. msgstr ""
  11269. #. type: itemize
  11270. #: guix-git/doc/guix.texi:6575
  11271. 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})."
  11272. msgstr ""
  11273. #. type: cindex
  11274. #: guix-git/doc/guix.texi:6576
  11275. #, no-wrap
  11276. msgid "patches"
  11277. msgstr ""
  11278. #. type: itemize
  11279. #: guix-git/doc/guix.texi:6580
  11280. 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."
  11281. msgstr ""
  11282. #. type: cindex
  11283. #: guix-git/doc/guix.texi:6582
  11284. #, no-wrap
  11285. msgid "GNU Build System"
  11286. msgstr ""
  11287. #. type: itemize
  11288. #: guix-git/doc/guix.texi:6588
  11289. 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."
  11290. msgstr ""
  11291. #. type: itemize
  11292. #: guix-git/doc/guix.texi:6592
  11293. 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."
  11294. msgstr ""
  11295. #. type: itemize
  11296. #: guix-git/doc/guix.texi:6598
  11297. 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."
  11298. msgstr ""
  11299. #. type: findex
  11300. #: guix-git/doc/guix.texi:6599 guix-git/doc/guix.texi:6602
  11301. #, no-wrap
  11302. msgid "quote"
  11303. msgstr ""
  11304. #. type: cindex
  11305. #: guix-git/doc/guix.texi:6600
  11306. #, no-wrap
  11307. msgid "quoting"
  11308. msgstr ""
  11309. #. type: findex
  11310. #: guix-git/doc/guix.texi:6601
  11311. #, no-wrap
  11312. msgid "'"
  11313. msgstr ""
  11314. #. type: itemize
  11315. #: guix-git/doc/guix.texi:6610
  11316. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @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})."
  11317. msgstr ""
  11318. #. type: itemize
  11319. #: guix-git/doc/guix.texi:6616
  11320. 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})."
  11321. msgstr ""
  11322. #. type: itemize
  11323. #: guix-git/doc/guix.texi:6622
  11324. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11325. msgstr ""
  11326. #. type: cindex
  11327. #: guix-git/doc/guix.texi:6623
  11328. #, no-wrap
  11329. msgid "backquote (quasiquote)"
  11330. msgstr ""
  11331. #. type: findex
  11332. #: guix-git/doc/guix.texi:6624
  11333. #, no-wrap
  11334. msgid "`"
  11335. msgstr ""
  11336. #. type: findex
  11337. #: guix-git/doc/guix.texi:6625
  11338. #, no-wrap
  11339. msgid "quasiquote"
  11340. msgstr ""
  11341. #. type: cindex
  11342. #: guix-git/doc/guix.texi:6626
  11343. #, no-wrap
  11344. msgid "comma (unquote)"
  11345. msgstr ""
  11346. #. type: findex
  11347. #: guix-git/doc/guix.texi:6627
  11348. #, no-wrap
  11349. msgid ","
  11350. msgstr ""
  11351. #. type: findex
  11352. #: guix-git/doc/guix.texi:6628
  11353. #, no-wrap
  11354. msgid "unquote"
  11355. msgstr ""
  11356. #. type: findex
  11357. #: guix-git/doc/guix.texi:6629
  11358. #, no-wrap
  11359. msgid ",@@"
  11360. msgstr ""
  11361. #. type: findex
  11362. #: guix-git/doc/guix.texi:6630
  11363. #, no-wrap
  11364. msgid "unquote-splicing"
  11365. msgstr ""
  11366. #. type: itemize
  11367. #: guix-git/doc/guix.texi:6636
  11368. msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})."
  11369. msgstr ""
  11370. #. type: itemize
  11371. #: guix-git/doc/guix.texi:6640
  11372. 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})."
  11373. msgstr ""
  11374. #. type: itemize
  11375. #: guix-git/doc/guix.texi:6644
  11376. 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."
  11377. msgstr ""
  11378. #. type: Plain text
  11379. #: guix-git/doc/guix.texi:6647
  11380. msgid "@xref{package Reference}, for a full description of possible fields."
  11381. msgstr ""
  11382. #. type: Plain text
  11383. #: guix-git/doc/guix.texi:6658
  11384. 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."
  11385. msgstr ""
  11386. #. type: vindex
  11387. #: guix-git/doc/guix.texi:6658
  11388. #, no-wrap
  11389. msgid "GUIX_PACKAGE_PATH"
  11390. msgstr ""
  11391. #. type: Plain text
  11392. #: guix-git/doc/guix.texi:6662
  11393. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11394. msgstr ""
  11395. #. type: Plain text
  11396. #: guix-git/doc/guix.texi:6666
  11397. 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})."
  11398. msgstr ""
  11399. #. type: Plain text
  11400. #: guix-git/doc/guix.texi:6672
  11401. 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})."
  11402. msgstr ""
  11403. #. type: deffn
  11404. #: guix-git/doc/guix.texi:6673
  11405. #, no-wrap
  11406. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11407. msgstr ""
  11408. #. type: deffn
  11409. #: guix-git/doc/guix.texi:6676
  11410. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11411. msgstr ""
  11412. #. type: deffn
  11413. #: guix-git/doc/guix.texi:6682
  11414. 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})."
  11415. msgstr ""
  11416. #. type: Plain text
  11417. #: guix-git/doc/guix.texi:6688
  11418. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11419. msgstr ""
  11420. #. type: deffn
  11421. #: guix-git/doc/guix.texi:6689
  11422. #, no-wrap
  11423. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11424. msgstr ""
  11425. #. type: deffn
  11426. #: guix-git/doc/guix.texi:6693
  11427. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11428. msgstr ""
  11429. #. type: deffn
  11430. #: guix-git/doc/guix.texi:6697
  11431. 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})."
  11432. msgstr ""
  11433. #. type: Plain text
  11434. #: guix-git/doc/guix.texi:6701
  11435. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11436. msgstr ""
  11437. #. type: subsection
  11438. #: guix-git/doc/guix.texi:6709
  11439. #, no-wrap
  11440. msgid "@code{package} Reference"
  11441. msgstr ""
  11442. #. type: Plain text
  11443. #: guix-git/doc/guix.texi:6713
  11444. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11445. msgstr ""
  11446. #. type: deftp
  11447. #: guix-git/doc/guix.texi:6714
  11448. #, no-wrap
  11449. msgid "{Data Type} package"
  11450. msgstr ""
  11451. #. type: deftp
  11452. #: guix-git/doc/guix.texi:6716
  11453. msgid "This is the data type representing a package recipe."
  11454. msgstr ""
  11455. #. type: table
  11456. #: guix-git/doc/guix.texi:6720
  11457. msgid "The name of the package, as a string."
  11458. msgstr ""
  11459. #. type: code{#1}
  11460. #: guix-git/doc/guix.texi:6721
  11461. #, no-wrap
  11462. msgid "version"
  11463. msgstr ""
  11464. #. type: table
  11465. #: guix-git/doc/guix.texi:6724
  11466. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11467. msgstr ""
  11468. #. type: code{#1}
  11469. #: guix-git/doc/guix.texi:6725 guix-git/doc/guix.texi:12167
  11470. #: guix-git/doc/guix.texi:14469 guix-git/doc/guix.texi:14972
  11471. #, no-wrap
  11472. msgid "source"
  11473. msgstr ""
  11474. #. type: table
  11475. #: guix-git/doc/guix.texi:6732
  11476. 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}})."
  11477. msgstr ""
  11478. #. type: code{#1}
  11479. #: guix-git/doc/guix.texi:6733
  11480. #, no-wrap
  11481. msgid "build-system"
  11482. msgstr ""
  11483. #. type: table
  11484. #: guix-git/doc/guix.texi:6736
  11485. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11486. msgstr ""
  11487. #. type: item
  11488. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:16957
  11489. #, no-wrap
  11490. msgid "@code{arguments} (default: @code{'()})"
  11491. msgstr ""
  11492. #. type: table
  11493. #: guix-git/doc/guix.texi:6740
  11494. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11495. msgstr ""
  11496. #. type: item
  11497. #: guix-git/doc/guix.texi:6741
  11498. #, no-wrap
  11499. msgid "@code{inputs} (default: @code{'()})"
  11500. msgstr ""
  11501. #. type: itemx
  11502. #: guix-git/doc/guix.texi:6742
  11503. #, no-wrap
  11504. msgid "@code{native-inputs} (default: @code{'()})"
  11505. msgstr ""
  11506. #. type: itemx
  11507. #: guix-git/doc/guix.texi:6743
  11508. #, no-wrap
  11509. msgid "@code{propagated-inputs} (default: @code{'()})"
  11510. msgstr ""
  11511. #. type: cindex
  11512. #: guix-git/doc/guix.texi:6744
  11513. #, no-wrap
  11514. msgid "inputs, of packages"
  11515. msgstr ""
  11516. #. type: table
  11517. #: guix-git/doc/guix.texi:6752
  11518. msgid "These fields list dependencies of the package. Each one is 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\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11519. msgstr ""
  11520. #. type: lisp
  11521. #: guix-git/doc/guix.texi:6757
  11522. #, no-wrap
  11523. msgid ""
  11524. "`((\"libffi\" ,libffi)\n"
  11525. " (\"libunistring\" ,libunistring)\n"
  11526. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11527. msgstr ""
  11528. #. type: cindex
  11529. #: guix-git/doc/guix.texi:6759
  11530. #, no-wrap
  11531. msgid "cross compilation, package dependencies"
  11532. msgstr ""
  11533. #. type: table
  11534. #: guix-git/doc/guix.texi:6765
  11535. 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."
  11536. msgstr ""
  11537. #. type: table
  11538. #: guix-git/doc/guix.texi:6770
  11539. 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})."
  11540. msgstr ""
  11541. #. type: anchor{#1}
  11542. #: guix-git/doc/guix.texi:6778
  11543. msgid "package-propagated-inputs"
  11544. msgstr ""
  11545. #. type: table
  11546. #: guix-git/doc/guix.texi:6778
  11547. 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)."
  11548. msgstr ""
  11549. #. type: table
  11550. #: guix-git/doc/guix.texi:6782
  11551. 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."
  11552. msgstr ""
  11553. #. type: table
  11554. #: guix-git/doc/guix.texi:6789
  11555. 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}."
  11556. msgstr ""
  11557. #. type: item
  11558. #: guix-git/doc/guix.texi:6790
  11559. #, no-wrap
  11560. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11561. msgstr ""
  11562. #. type: table
  11563. #: guix-git/doc/guix.texi:6793
  11564. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11565. msgstr ""
  11566. #. type: item
  11567. #: guix-git/doc/guix.texi:6794
  11568. #, no-wrap
  11569. msgid "@code{native-search-paths} (default: @code{'()})"
  11570. msgstr ""
  11571. #. type: itemx
  11572. #: guix-git/doc/guix.texi:6795
  11573. #, no-wrap
  11574. msgid "@code{search-paths} (default: @code{'()})"
  11575. msgstr ""
  11576. #. type: table
  11577. #: guix-git/doc/guix.texi:6798
  11578. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11579. msgstr ""
  11580. #. type: item
  11581. #: guix-git/doc/guix.texi:6799
  11582. #, no-wrap
  11583. msgid "@code{replacement} (default: @code{#f})"
  11584. msgstr ""
  11585. #. type: table
  11586. #: guix-git/doc/guix.texi:6803
  11587. 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."
  11588. msgstr ""
  11589. #. type: item
  11590. #: guix-git/doc/guix.texi:6804 guix-git/doc/guix.texi:12159
  11591. #, no-wrap
  11592. msgid "synopsis"
  11593. msgstr ""
  11594. #. type: table
  11595. #: guix-git/doc/guix.texi:6806
  11596. msgid "A one-line description of the package."
  11597. msgstr ""
  11598. #. type: code{#1}
  11599. #: guix-git/doc/guix.texi:6807 guix-git/doc/guix.texi:12160
  11600. #: guix-git/doc/guix.texi:34824 guix-git/doc/guix.texi:34975
  11601. #, no-wrap
  11602. msgid "description"
  11603. msgstr ""
  11604. #. type: table
  11605. #: guix-git/doc/guix.texi:6809
  11606. msgid "A more elaborate description of the package."
  11607. msgstr ""
  11608. #. type: code{#1}
  11609. #: guix-git/doc/guix.texi:6810
  11610. #, no-wrap
  11611. msgid "license"
  11612. msgstr ""
  11613. #. type: cindex
  11614. #: guix-git/doc/guix.texi:6811
  11615. #, no-wrap
  11616. msgid "license, of packages"
  11617. msgstr ""
  11618. #. type: table
  11619. #: guix-git/doc/guix.texi:6814
  11620. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11621. msgstr ""
  11622. #. type: itemx
  11623. #: guix-git/doc/guix.texi:6815 guix-git/doc/guix.texi:12168
  11624. #, no-wrap
  11625. msgid "home-page"
  11626. msgstr ""
  11627. #. type: table
  11628. #: guix-git/doc/guix.texi:6817
  11629. msgid "The URL to the home-page of the package, as a string."
  11630. msgstr ""
  11631. #. type: item
  11632. #: guix-git/doc/guix.texi:6818
  11633. #, no-wrap
  11634. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11635. msgstr ""
  11636. #. type: table
  11637. #: guix-git/doc/guix.texi:6821
  11638. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11639. msgstr ""
  11640. #. type: item
  11641. #: guix-git/doc/guix.texi:6822
  11642. #, no-wrap
  11643. msgid "@code{location} (default: source location of the @code{package} form)"
  11644. msgstr ""
  11645. #. type: table
  11646. #: guix-git/doc/guix.texi:6826
  11647. 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."
  11648. msgstr ""
  11649. #. type: deffn
  11650. #: guix-git/doc/guix.texi:6829
  11651. #, no-wrap
  11652. msgid "{Scheme Syntax} this-package"
  11653. msgstr ""
  11654. #. type: deffn
  11655. #: guix-git/doc/guix.texi:6832
  11656. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11657. msgstr ""
  11658. #. type: deffn
  11659. #: guix-git/doc/guix.texi:6835
  11660. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11661. msgstr ""
  11662. #. type: lisp
  11663. #: guix-git/doc/guix.texi:6840
  11664. #, no-wrap
  11665. msgid ""
  11666. "(package\n"
  11667. " (name \"guile\")\n"
  11668. " ;; ...\n"
  11669. "\n"
  11670. msgstr ""
  11671. #. type: lisp
  11672. #: guix-git/doc/guix.texi:6846
  11673. #, no-wrap
  11674. msgid ""
  11675. " ;; When cross-compiled, Guile, for example, depends on\n"
  11676. " ;; a native version of itself. Add it here.\n"
  11677. " (native-inputs (if (%current-target-system)\n"
  11678. " `((\"self\" ,this-package))\n"
  11679. " '())))\n"
  11680. msgstr ""
  11681. #. type: deffn
  11682. #: guix-git/doc/guix.texi:6849
  11683. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11684. msgstr ""
  11685. #. type: Plain text
  11686. #: guix-git/doc/guix.texi:6855
  11687. 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."
  11688. msgstr ""
  11689. #. type: cindex
  11690. #: guix-git/doc/guix.texi:6856
  11691. #, no-wrap
  11692. msgid "tool chain, choosing a package's tool chain"
  11693. msgstr ""
  11694. #. type: deffn
  11695. #: guix-git/doc/guix.texi:6857
  11696. #, no-wrap
  11697. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11698. msgstr ""
  11699. #. type: deffn
  11700. #: guix-git/doc/guix.texi:6862
  11701. 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."
  11702. msgstr ""
  11703. #. type: deffn
  11704. #: guix-git/doc/guix.texi:6866
  11705. 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:"
  11706. msgstr ""
  11707. #. type: lisp
  11708. #: guix-git/doc/guix.texi:6870
  11709. #, no-wrap
  11710. msgid ""
  11711. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11712. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11713. msgstr ""
  11714. #. type: deffn
  11715. #: guix-git/doc/guix.texi:6878
  11716. 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."
  11717. msgstr ""
  11718. #. type: subsection
  11719. #: guix-git/doc/guix.texi:6881
  11720. #, no-wrap
  11721. msgid "@code{origin} Reference"
  11722. msgstr ""
  11723. #. type: Plain text
  11724. #: guix-git/doc/guix.texi:6889
  11725. 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."
  11726. msgstr ""
  11727. #. type: deftp
  11728. #: guix-git/doc/guix.texi:6890
  11729. #, no-wrap
  11730. msgid "{Data Type} origin"
  11731. msgstr ""
  11732. #. type: deftp
  11733. #: guix-git/doc/guix.texi:6892
  11734. msgid "This is the data type representing a source code origin."
  11735. msgstr ""
  11736. #. type: code{#1}
  11737. #: guix-git/doc/guix.texi:6894 guix-git/doc/guix.texi:25501
  11738. #, no-wrap
  11739. msgid "uri"
  11740. msgstr ""
  11741. #. type: table
  11742. #: guix-git/doc/guix.texi:6899
  11743. 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."
  11744. msgstr ""
  11745. #. type: cindex
  11746. #: guix-git/doc/guix.texi:6900
  11747. #, no-wrap
  11748. msgid "fixed-output derivations, for download"
  11749. msgstr ""
  11750. #. type: code{#1}
  11751. #: guix-git/doc/guix.texi:6901
  11752. #, no-wrap
  11753. msgid "method"
  11754. msgstr ""
  11755. #. type: table
  11756. #: guix-git/doc/guix.texi:6908
  11757. 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})."
  11758. msgstr ""
  11759. #. type: table
  11760. #: guix-git/doc/guix.texi:6912
  11761. 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)."
  11762. msgstr ""
  11763. #. type: code{#1}
  11764. #: guix-git/doc/guix.texi:6913
  11765. #, no-wrap
  11766. msgid "sha256"
  11767. msgstr ""
  11768. #. type: table
  11769. #: guix-git/doc/guix.texi:6917
  11770. 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."
  11771. msgstr ""
  11772. #. type: code{#1}
  11773. #: guix-git/doc/guix.texi:6918
  11774. #, no-wrap
  11775. msgid "hash"
  11776. msgstr ""
  11777. #. type: table
  11778. #: guix-git/doc/guix.texi:6921
  11779. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11780. msgstr ""
  11781. #. type: table
  11782. #: guix-git/doc/guix.texi:6925
  11783. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11784. msgstr ""
  11785. #. type: item
  11786. #: guix-git/doc/guix.texi:6926
  11787. #, no-wrap
  11788. msgid "@code{file-name} (default: @code{#f})"
  11789. msgstr ""
  11790. #. type: table
  11791. #: guix-git/doc/guix.texi:6932
  11792. 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."
  11793. msgstr ""
  11794. #. type: item
  11795. #: guix-git/doc/guix.texi:6933
  11796. #, no-wrap
  11797. msgid "@code{patches} (default: @code{'()})"
  11798. msgstr ""
  11799. #. type: table
  11800. #: guix-git/doc/guix.texi:6936
  11801. 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."
  11802. msgstr ""
  11803. #. type: table
  11804. #: guix-git/doc/guix.texi:6940
  11805. 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}."
  11806. msgstr ""
  11807. #. type: item
  11808. #: guix-git/doc/guix.texi:6941
  11809. #, no-wrap
  11810. msgid "@code{snippet} (default: @code{#f})"
  11811. msgstr ""
  11812. #. type: table
  11813. #: guix-git/doc/guix.texi:6945
  11814. 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."
  11815. msgstr ""
  11816. #. type: item
  11817. #: guix-git/doc/guix.texi:6946
  11818. #, no-wrap
  11819. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11820. msgstr ""
  11821. #. type: table
  11822. #: guix-git/doc/guix.texi:6949
  11823. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11824. msgstr ""
  11825. #. type: item
  11826. #: guix-git/doc/guix.texi:6950
  11827. #, no-wrap
  11828. msgid "@code{patch-inputs} (default: @code{#f})"
  11829. msgstr ""
  11830. #. type: table
  11831. #: guix-git/doc/guix.texi:6954
  11832. 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."
  11833. msgstr ""
  11834. #. type: item
  11835. #: guix-git/doc/guix.texi:6955 guix-git/doc/guix.texi:25374
  11836. #, no-wrap
  11837. msgid "@code{modules} (default: @code{'()})"
  11838. msgstr ""
  11839. #. type: table
  11840. #: guix-git/doc/guix.texi:6958
  11841. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11842. msgstr ""
  11843. #. type: item
  11844. #: guix-git/doc/guix.texi:6959
  11845. #, no-wrap
  11846. msgid "@code{patch-guile} (default: @code{#f})"
  11847. msgstr ""
  11848. #. type: table
  11849. #: guix-git/doc/guix.texi:6962
  11850. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11851. msgstr ""
  11852. #. type: deftp
  11853. #: guix-git/doc/guix.texi:6965
  11854. #, no-wrap
  11855. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11856. msgstr ""
  11857. #. type: deftp
  11858. #: guix-git/doc/guix.texi:6969
  11859. 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}."
  11860. msgstr ""
  11861. #. type: deftp
  11862. #: guix-git/doc/guix.texi:6972
  11863. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11864. msgstr ""
  11865. #. type: deftp
  11866. #: guix-git/doc/guix.texi:6974
  11867. msgid "The following forms are all equivalent:"
  11868. msgstr ""
  11869. #. type: lisp
  11870. #: guix-git/doc/guix.texi:6983
  11871. #, no-wrap
  11872. msgid ""
  11873. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11874. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11875. " sha256)\n"
  11876. "(content-hash (base32\n"
  11877. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11878. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11879. " sha256)\n"
  11880. msgstr ""
  11881. #. type: deftp
  11882. #: guix-git/doc/guix.texi:6988
  11883. 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}."
  11884. msgstr ""
  11885. #. type: Plain text
  11886. #: guix-git/doc/guix.texi:6994
  11887. 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."
  11888. msgstr ""
  11889. #. type: deffn
  11890. #: guix-git/doc/guix.texi:6995
  11891. #, no-wrap
  11892. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11893. msgstr ""
  11894. #. type: deffn
  11895. #: guix-git/doc/guix.texi:7003
  11896. 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."
  11897. msgstr ""
  11898. #. type: deffn
  11899. #: guix-git/doc/guix.texi:7006
  11900. 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}."
  11901. msgstr ""
  11902. #. type: deffn
  11903. #: guix-git/doc/guix.texi:7009
  11904. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11905. msgstr ""
  11906. #. type: Plain text
  11907. #: guix-git/doc/guix.texi:7015
  11908. 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."
  11909. msgstr ""
  11910. #. type: deffn
  11911. #: guix-git/doc/guix.texi:7016
  11912. #, no-wrap
  11913. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11914. msgstr ""
  11915. #. type: deffn
  11916. #: guix-git/doc/guix.texi:7021
  11917. 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}."
  11918. msgstr ""
  11919. #. type: deftp
  11920. #: guix-git/doc/guix.texi:7023
  11921. #, no-wrap
  11922. msgid "{Data Type} git-reference"
  11923. msgstr ""
  11924. #. type: deftp
  11925. #: guix-git/doc/guix.texi:7026
  11926. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11927. msgstr ""
  11928. #. type: code{#1}
  11929. #: guix-git/doc/guix.texi:7028 guix-git/doc/guix.texi:23135
  11930. #, no-wrap
  11931. msgid "url"
  11932. msgstr ""
  11933. #. type: table
  11934. #: guix-git/doc/guix.texi:7030
  11935. msgid "The URL of the Git repository to clone."
  11936. msgstr ""
  11937. #. type: code{#1}
  11938. #: guix-git/doc/guix.texi:7031
  11939. #, no-wrap
  11940. msgid "commit"
  11941. msgstr "úprava"
  11942. #. type: table
  11943. #: guix-git/doc/guix.texi:7036
  11944. 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}."
  11945. msgstr ""
  11946. #. type: item
  11947. #: guix-git/doc/guix.texi:7037
  11948. #, no-wrap
  11949. msgid "@code{recursive?} (default: @code{#f})"
  11950. msgstr ""
  11951. #. type: table
  11952. #: guix-git/doc/guix.texi:7039
  11953. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11954. msgstr ""
  11955. #. type: deftp
  11956. #: guix-git/doc/guix.texi:7043
  11957. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11958. msgstr ""
  11959. #. type: lisp
  11960. #: guix-git/doc/guix.texi:7048
  11961. #, no-wrap
  11962. msgid ""
  11963. "(git-reference\n"
  11964. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11965. " (commit \"v2.10\"))\n"
  11966. msgstr ""
  11967. #. type: deftp
  11968. #: guix-git/doc/guix.texi:7052
  11969. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11970. msgstr ""
  11971. #. type: lisp
  11972. #: guix-git/doc/guix.texi:7057
  11973. #, no-wrap
  11974. msgid ""
  11975. "(git-reference\n"
  11976. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11977. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11978. msgstr ""
  11979. #. type: Plain text
  11980. #: guix-git/doc/guix.texi:7063
  11981. 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."
  11982. msgstr ""
  11983. #. type: deffn
  11984. #: guix-git/doc/guix.texi:7064
  11985. #, no-wrap
  11986. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11987. msgstr ""
  11988. #. type: deffn
  11989. #: guix-git/doc/guix.texi:7070
  11990. 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}."
  11991. msgstr ""
  11992. #. type: cindex
  11993. #: guix-git/doc/guix.texi:7075
  11994. #, no-wrap
  11995. msgid "customizing packages"
  11996. msgstr ""
  11997. #. type: cindex
  11998. #: guix-git/doc/guix.texi:7076
  11999. #, no-wrap
  12000. msgid "variants, of packages"
  12001. msgstr ""
  12002. #. type: Plain text
  12003. #: guix-git/doc/guix.texi:7086
  12004. 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!"
  12005. msgstr ""
  12006. #. type: cindex
  12007. #: guix-git/doc/guix.texi:7087
  12008. #, no-wrap
  12009. msgid "inherit, for package definitions"
  12010. msgstr ""
  12011. #. type: Plain text
  12012. #: guix-git/doc/guix.texi:7094
  12013. 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."
  12014. msgstr ""
  12015. #. type: Plain text
  12016. #: guix-git/doc/guix.texi:7099
  12017. 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!):"
  12018. msgstr ""
  12019. #. type: lisp
  12020. #: guix-git/doc/guix.texi:7102
  12021. #, no-wrap
  12022. msgid ""
  12023. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12024. "\n"
  12025. msgstr ""
  12026. #. type: lisp
  12027. #: guix-git/doc/guix.texi:7114
  12028. #, no-wrap
  12029. msgid ""
  12030. "(define hello-2.2\n"
  12031. " (package\n"
  12032. " (inherit hello)\n"
  12033. " (version \"2.2\")\n"
  12034. " (source (origin\n"
  12035. " (method url-fetch)\n"
  12036. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12037. " \".tar.gz\"))\n"
  12038. " (sha256\n"
  12039. " (base32\n"
  12040. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12041. msgstr ""
  12042. #. type: Plain text
  12043. #: guix-git/doc/guix.texi:7123
  12044. 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."
  12045. msgstr ""
  12046. #. type: Plain text
  12047. #: guix-git/doc/guix.texi:7129
  12048. 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:"
  12049. msgstr ""
  12050. #. type: lisp
  12051. #: guix-git/doc/guix.texi:7133
  12052. #, no-wrap
  12053. msgid ""
  12054. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  12055. " (srfi srfi-1)) ;for 'alist-delete'\n"
  12056. "\n"
  12057. msgstr ""
  12058. #. type: lisp
  12059. #: guix-git/doc/guix.texi:7139
  12060. #, no-wrap
  12061. msgid ""
  12062. "(define gdb-sans-guile\n"
  12063. " (package\n"
  12064. " (inherit gdb)\n"
  12065. " (inputs (alist-delete \"guile\"\n"
  12066. " (package-inputs gdb)))))\n"
  12067. msgstr ""
  12068. #. type: Plain text
  12069. #: guix-git/doc/guix.texi:7145
  12070. msgid "The @code{alist-delete} call above removes the tuple from the @code{inputs} field that has @code{\"guile\"} as its first element (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual})."
  12071. msgstr ""
  12072. #. type: Plain text
  12073. #: guix-git/doc/guix.texi:7153
  12074. 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:"
  12075. msgstr ""
  12076. #. type: lisp
  12077. #: guix-git/doc/guix.texi:7164
  12078. #, no-wrap
  12079. msgid ""
  12080. "(define (make-lua-socket name lua)\n"
  12081. " ;; Return a luasocket package built with LUA.\n"
  12082. " (package\n"
  12083. " (name name)\n"
  12084. " (version \"3.0\")\n"
  12085. " ;; several fields omitted\n"
  12086. " (inputs\n"
  12087. " `((\"lua\" ,lua)))\n"
  12088. " (synopsis \"Socket library for Lua\")))\n"
  12089. "\n"
  12090. msgstr ""
  12091. #. type: lisp
  12092. #: guix-git/doc/guix.texi:7167
  12093. #, no-wrap
  12094. msgid ""
  12095. "(define-public lua5.1-socket\n"
  12096. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12097. "\n"
  12098. msgstr ""
  12099. #. type: lisp
  12100. #: guix-git/doc/guix.texi:7170
  12101. #, no-wrap
  12102. msgid ""
  12103. "(define-public lua5.2-socket\n"
  12104. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12105. msgstr ""
  12106. #. type: Plain text
  12107. #: guix-git/doc/guix.texi:7178
  12108. 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})."
  12109. msgstr ""
  12110. #. type: cindex
  12111. #: guix-git/doc/guix.texi:7179
  12112. #, no-wrap
  12113. msgid "package transformations"
  12114. msgstr ""
  12115. #. type: Plain text
  12116. #: guix-git/doc/guix.texi:7184
  12117. 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}):"
  12118. msgstr ""
  12119. #. type: deffn
  12120. #: guix-git/doc/guix.texi:7185
  12121. #, no-wrap
  12122. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12123. msgstr ""
  12124. #. type: deffn
  12125. #: guix-git/doc/guix.texi:7189
  12126. 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:"
  12127. msgstr ""
  12128. #. type: lisp
  12129. #: guix-git/doc/guix.texi:7193
  12130. #, no-wrap
  12131. msgid ""
  12132. "((with-branch . \"guile-gcrypt=master\")\n"
  12133. " (without-tests . \"libgcrypt\"))\n"
  12134. msgstr ""
  12135. #. type: deffn
  12136. #: guix-git/doc/guix.texi:7197
  12137. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12138. msgstr ""
  12139. #. type: Plain text
  12140. #: guix-git/doc/guix.texi:7200
  12141. msgid "For instance, a manifest equivalent to this command:"
  12142. msgstr ""
  12143. #. type: example
  12144. #: guix-git/doc/guix.texi:7205
  12145. #, no-wrap
  12146. msgid ""
  12147. "guix build guix \\\n"
  12148. " --with-branch=guile-gcrypt=master \\\n"
  12149. " --with-debug-info=zlib\n"
  12150. msgstr ""
  12151. #. type: Plain text
  12152. #: guix-git/doc/guix.texi:7209
  12153. msgid "... would look like this:"
  12154. msgstr ""
  12155. #. type: lisp
  12156. #: guix-git/doc/guix.texi:7212
  12157. #, no-wrap
  12158. msgid ""
  12159. "(use-modules (guix transformations))\n"
  12160. "\n"
  12161. msgstr ""
  12162. #. type: lisp
  12163. #: guix-git/doc/guix.texi:7218
  12164. #, no-wrap
  12165. msgid ""
  12166. "(define transform\n"
  12167. " ;; The package transformation procedure.\n"
  12168. " (options->transformation\n"
  12169. " '((with-branch . \"guile-gcrypt=master\")\n"
  12170. " (with-debug-info . \"zlib\"))))\n"
  12171. "\n"
  12172. msgstr ""
  12173. #. type: lisp
  12174. #: guix-git/doc/guix.texi:7221
  12175. #, no-wrap
  12176. msgid ""
  12177. "(packages->manifest\n"
  12178. " (list (transform (specification->package \"guix\"))))\n"
  12179. msgstr ""
  12180. #. type: cindex
  12181. #: guix-git/doc/guix.texi:7223
  12182. #, no-wrap
  12183. msgid "input rewriting"
  12184. msgstr ""
  12185. #. type: cindex
  12186. #: guix-git/doc/guix.texi:7224
  12187. #, no-wrap
  12188. msgid "dependency graph rewriting"
  12189. msgstr ""
  12190. #. type: Plain text
  12191. #: guix-git/doc/guix.texi:7231
  12192. 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."
  12193. msgstr ""
  12194. #. type: Plain text
  12195. #: guix-git/doc/guix.texi:7235
  12196. 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."
  12197. msgstr ""
  12198. #. type: deffn
  12199. #: guix-git/doc/guix.texi:7236
  12200. #, no-wrap
  12201. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12202. msgstr ""
  12203. #. type: deffn
  12204. #: guix-git/doc/guix.texi:7243
  12205. 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."
  12206. msgstr ""
  12207. #. type: deffn
  12208. #: guix-git/doc/guix.texi:7246
  12209. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12210. msgstr ""
  12211. #. type: table
  12212. #: guix-git/doc/guix.texi:7250 guix-git/doc/guix.texi:10602
  12213. msgid "Consider this example:"
  12214. msgstr ""
  12215. #. type: lisp
  12216. #: guix-git/doc/guix.texi:7256
  12217. #, no-wrap
  12218. msgid ""
  12219. "(define libressl-instead-of-openssl\n"
  12220. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12221. " ;; recursively.\n"
  12222. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12223. "\n"
  12224. msgstr ""
  12225. #. type: lisp
  12226. #: guix-git/doc/guix.texi:7259
  12227. #, no-wrap
  12228. msgid ""
  12229. "(define git-with-libressl\n"
  12230. " (libressl-instead-of-openssl git))\n"
  12231. msgstr ""
  12232. #. type: Plain text
  12233. #: guix-git/doc/guix.texi:7267
  12234. 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}})."
  12235. msgstr ""
  12236. #. type: Plain text
  12237. #: guix-git/doc/guix.texi:7270
  12238. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12239. msgstr ""
  12240. #. type: deffn
  12241. #: guix-git/doc/guix.texi:7271
  12242. #, no-wrap
  12243. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12244. msgstr ""
  12245. #. type: deffn
  12246. #: guix-git/doc/guix.texi:7278
  12247. 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."
  12248. msgstr ""
  12249. #. type: Plain text
  12250. #: guix-git/doc/guix.texi:7281
  12251. msgid "The example above could be rewritten this way:"
  12252. msgstr ""
  12253. #. type: lisp
  12254. #: guix-git/doc/guix.texi:7286
  12255. #, no-wrap
  12256. msgid ""
  12257. "(define libressl-instead-of-openssl\n"
  12258. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12259. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12260. msgstr ""
  12261. #. type: Plain text
  12262. #: guix-git/doc/guix.texi:7291
  12263. 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."
  12264. msgstr ""
  12265. #. type: Plain text
  12266. #: guix-git/doc/guix.texi:7295
  12267. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12268. msgstr ""
  12269. #. type: deffn
  12270. #: guix-git/doc/guix.texi:7296
  12271. #, no-wrap
  12272. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12273. msgstr ""
  12274. #. type: deffn
  12275. #: guix-git/doc/guix.texi:7301
  12276. 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."
  12277. msgstr ""
  12278. #. type: cindex
  12279. #: guix-git/doc/guix.texi:7307
  12280. #, no-wrap
  12281. msgid "build system"
  12282. msgstr ""
  12283. #. type: Plain text
  12284. #: guix-git/doc/guix.texi:7312
  12285. 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."
  12286. msgstr ""
  12287. #. type: Plain text
  12288. #: guix-git/doc/guix.texi:7316
  12289. 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."
  12290. msgstr ""
  12291. #. type: cindex
  12292. #: guix-git/doc/guix.texi:7317
  12293. #, no-wrap
  12294. msgid "bag (low-level package representation)"
  12295. msgstr ""
  12296. #. type: Plain text
  12297. #: guix-git/doc/guix.texi:7327
  12298. 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}})."
  12299. msgstr ""
  12300. #. type: Plain text
  12301. #: guix-git/doc/guix.texi:7335
  12302. 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})."
  12303. msgstr ""
  12304. #. type: Plain text
  12305. #: guix-git/doc/guix.texi:7339
  12306. 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."
  12307. msgstr ""
  12308. #. type: defvr
  12309. #: guix-git/doc/guix.texi:7340
  12310. #, no-wrap
  12311. msgid "{Scheme Variable} gnu-build-system"
  12312. msgstr ""
  12313. #. type: defvr
  12314. #: guix-git/doc/guix.texi:7344
  12315. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12316. msgstr ""
  12317. #. type: cindex
  12318. #: guix-git/doc/guix.texi:7345 guix-git/doc/guix.texi:8287
  12319. #: guix-git/doc/guix.texi:8742
  12320. #, no-wrap
  12321. msgid "build phases"
  12322. msgstr ""
  12323. #. type: defvr
  12324. #: guix-git/doc/guix.texi:7352
  12325. 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."
  12326. msgstr ""
  12327. #. type: defvr
  12328. #: guix-git/doc/guix.texi:7359
  12329. 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."
  12330. msgstr ""
  12331. #. type: defvr
  12332. #: guix-git/doc/guix.texi:7363
  12333. 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:"
  12334. msgstr ""
  12335. #. type: item
  12336. #: guix-git/doc/guix.texi:7365
  12337. #, no-wrap
  12338. msgid "#:phases"
  12339. msgstr ""
  12340. #. type: table
  12341. #: guix-git/doc/guix.texi:7368
  12342. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12343. msgstr ""
  12344. #. type: item
  12345. #: guix-git/doc/guix.texi:7369
  12346. #, no-wrap
  12347. msgid "#:configure-flags"
  12348. msgstr ""
  12349. #. type: table
  12350. #: guix-git/doc/guix.texi:7372
  12351. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12352. msgstr ""
  12353. #. type: item
  12354. #: guix-git/doc/guix.texi:7373
  12355. #, no-wrap
  12356. msgid "#:make-flags"
  12357. msgstr ""
  12358. #. type: table
  12359. #: guix-git/doc/guix.texi:7377
  12360. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12361. msgstr ""
  12362. #. type: item
  12363. #: guix-git/doc/guix.texi:7378
  12364. #, no-wrap
  12365. msgid "#:out-of-source?"
  12366. msgstr ""
  12367. #. type: table
  12368. #: guix-git/doc/guix.texi:7381
  12369. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12370. msgstr ""
  12371. #. type: table
  12372. #: guix-git/doc/guix.texi:7386
  12373. 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}."
  12374. msgstr ""
  12375. #. type: item
  12376. #: guix-git/doc/guix.texi:7387
  12377. #, no-wrap
  12378. msgid "#:tests?"
  12379. msgstr ""
  12380. #. type: table
  12381. #: guix-git/doc/guix.texi:7390
  12382. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12383. msgstr ""
  12384. #. type: item
  12385. #: guix-git/doc/guix.texi:7391
  12386. #, no-wrap
  12387. msgid "#:test-target"
  12388. msgstr ""
  12389. #. type: table
  12390. #: guix-git/doc/guix.texi:7394
  12391. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12392. msgstr ""
  12393. #. type: item
  12394. #: guix-git/doc/guix.texi:7395
  12395. #, no-wrap
  12396. msgid "#:parallel-build?"
  12397. msgstr ""
  12398. #. type: itemx
  12399. #: guix-git/doc/guix.texi:7396
  12400. #, no-wrap
  12401. msgid "#:parallel-tests?"
  12402. msgstr ""
  12403. #. type: table
  12404. #: guix-git/doc/guix.texi:7403
  12405. 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}})."
  12406. msgstr ""
  12407. #. type: cindex
  12408. #: guix-git/doc/guix.texi:7404
  12409. #, no-wrap
  12410. msgid "RUNPATH, validation"
  12411. msgstr ""
  12412. #. type: item
  12413. #: guix-git/doc/guix.texi:7405
  12414. #, no-wrap
  12415. msgid "#:validate-runpath?"
  12416. msgstr ""
  12417. #. type: table
  12418. #: guix-git/doc/guix.texi:7409
  12419. 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."
  12420. msgstr ""
  12421. #. type: table
  12422. #: guix-git/doc/guix.texi:7417
  12423. 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}."
  12424. msgstr ""
  12425. #. type: item
  12426. #: guix-git/doc/guix.texi:7418
  12427. #, no-wrap
  12428. msgid "#:substitutable?"
  12429. msgstr ""
  12430. #. type: table
  12431. #: guix-git/doc/guix.texi:7422
  12432. 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})."
  12433. msgstr ""
  12434. #. type: item
  12435. #: guix-git/doc/guix.texi:7423
  12436. #, no-wrap
  12437. msgid "#:allowed-references"
  12438. msgstr ""
  12439. #. type: itemx
  12440. #: guix-git/doc/guix.texi:7424
  12441. #, no-wrap
  12442. msgid "#:disallowed-references"
  12443. msgstr ""
  12444. #. type: table
  12445. #: guix-git/doc/guix.texi:7429
  12446. 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."
  12447. msgstr ""
  12448. #. type: table
  12449. #: guix-git/doc/guix.texi:7434
  12450. 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})."
  12451. msgstr ""
  12452. #. type: defvr
  12453. #: guix-git/doc/guix.texi:7437
  12454. msgid "Most other build systems support these keyword arguments."
  12455. msgstr ""
  12456. #. type: Plain text
  12457. #: guix-git/doc/guix.texi:7444
  12458. 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."
  12459. msgstr ""
  12460. #. type: defvr
  12461. #: guix-git/doc/guix.texi:7445
  12462. #, no-wrap
  12463. msgid "{Scheme Variable} ant-build-system"
  12464. msgstr ""
  12465. #. type: defvr
  12466. #: guix-git/doc/guix.texi:7449
  12467. 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}."
  12468. msgstr ""
  12469. #. type: defvr
  12470. #: guix-git/doc/guix.texi:7454
  12471. 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."
  12472. msgstr ""
  12473. #. type: defvr
  12474. #: guix-git/doc/guix.texi:7460
  12475. 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''."
  12476. msgstr ""
  12477. #. type: defvr
  12478. #: guix-git/doc/guix.texi:7468
  12479. 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."
  12480. msgstr ""
  12481. #. type: defvr
  12482. #: guix-git/doc/guix.texi:7472
  12483. 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."
  12484. msgstr ""
  12485. #. type: defvr
  12486. #: guix-git/doc/guix.texi:7475
  12487. #, no-wrap
  12488. msgid "{Scheme Variable} android-ndk-build-system"
  12489. msgstr ""
  12490. #. type: cindex
  12491. #: guix-git/doc/guix.texi:7476
  12492. #, no-wrap
  12493. msgid "Android distribution"
  12494. msgstr ""
  12495. #. type: cindex
  12496. #: guix-git/doc/guix.texi:7477
  12497. #, no-wrap
  12498. msgid "Android NDK build system"
  12499. msgstr ""
  12500. #. type: defvr
  12501. #: guix-git/doc/guix.texi:7481
  12502. 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."
  12503. msgstr ""
  12504. #. type: defvr
  12505. #: guix-git/doc/guix.texi:7485
  12506. 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."
  12507. msgstr ""
  12508. #. type: defvr
  12509. #: guix-git/doc/guix.texi:7488
  12510. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  12511. msgstr ""
  12512. #. type: defvr
  12513. #: guix-git/doc/guix.texi:7491
  12514. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  12515. msgstr ""
  12516. #. type: defvr
  12517. #: guix-git/doc/guix.texi:7494
  12518. #, no-wrap
  12519. msgid "{Scheme Variable} asdf-build-system/source"
  12520. msgstr ""
  12521. #. type: defvrx
  12522. #: guix-git/doc/guix.texi:7495
  12523. #, no-wrap
  12524. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12525. msgstr ""
  12526. #. type: defvrx
  12527. #: guix-git/doc/guix.texi:7496
  12528. #, no-wrap
  12529. msgid "{Scheme Variable} asdf-build-system/ecl"
  12530. msgstr ""
  12531. #. type: defvr
  12532. #: guix-git/doc/guix.texi:7502
  12533. 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."
  12534. msgstr ""
  12535. #. type: defvr
  12536. #: guix-git/doc/guix.texi:7509
  12537. 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."
  12538. msgstr ""
  12539. #. type: defvr
  12540. #: guix-git/doc/guix.texi:7513
  12541. 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}."
  12542. msgstr ""
  12543. #. type: defvr
  12544. #: guix-git/doc/guix.texi:7517
  12545. 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."
  12546. msgstr ""
  12547. #. type: defvr
  12548. #: guix-git/doc/guix.texi:7525
  12549. 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."
  12550. msgstr ""
  12551. #. type: defvr
  12552. #: guix-git/doc/guix.texi:7534
  12553. 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."
  12554. msgstr ""
  12555. #. type: defvr
  12556. #: guix-git/doc/guix.texi:7539
  12557. 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."
  12558. msgstr ""
  12559. #. type: defvr
  12560. #: guix-git/doc/guix.texi:7542
  12561. #, no-wrap
  12562. msgid "{Scheme Variable} cargo-build-system"
  12563. msgstr ""
  12564. #. type: cindex
  12565. #: guix-git/doc/guix.texi:7543
  12566. #, no-wrap
  12567. msgid "Rust programming language"
  12568. msgstr ""
  12569. #. type: cindex
  12570. #: guix-git/doc/guix.texi:7544
  12571. #, no-wrap
  12572. msgid "Cargo (Rust build system)"
  12573. msgstr ""
  12574. #. type: defvr
  12575. #: guix-git/doc/guix.texi:7548
  12576. 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}."
  12577. msgstr ""
  12578. #. type: defvr
  12579. #: guix-git/doc/guix.texi:7551
  12580. 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."
  12581. msgstr ""
  12582. #. type: defvr
  12583. #: guix-git/doc/guix.texi:7561
  12584. 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."
  12585. msgstr ""
  12586. #. type: defvr
  12587. #: guix-git/doc/guix.texi:7571
  12588. 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."
  12589. msgstr ""
  12590. #. type: defvr
  12591. #: guix-git/doc/guix.texi:7573
  12592. #, no-wrap
  12593. msgid "{Scheme Variable} chicken-build-system"
  12594. msgstr ""
  12595. #. type: defvr
  12596. #: guix-git/doc/guix.texi:7578
  12597. 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."
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:7581
  12601. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12602. msgstr ""
  12603. #. type: defvr
  12604. #: guix-git/doc/guix.texi:7585
  12605. 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."
  12606. msgstr ""
  12607. #. type: defvr
  12608. #: guix-git/doc/guix.texi:7587
  12609. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12610. msgstr ""
  12611. #. type: lisp
  12612. #: guix-git/doc/guix.texi:7590
  12613. #, no-wrap
  12614. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12615. msgstr ""
  12616. #. type: defvr
  12617. #: guix-git/doc/guix.texi:7595
  12618. 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."
  12619. msgstr ""
  12620. #. type: defvr
  12621. #: guix-git/doc/guix.texi:7597
  12622. #, no-wrap
  12623. msgid "{Scheme Variable} copy-build-system"
  12624. msgstr ""
  12625. #. type: defvr
  12626. #: guix-git/doc/guix.texi:7601
  12627. 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."
  12628. msgstr ""
  12629. #. type: defvr
  12630. #: guix-git/doc/guix.texi:7606
  12631. 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}."
  12632. msgstr ""
  12633. #. type: defvr
  12634. #: guix-git/doc/guix.texi:7611
  12635. 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."
  12636. msgstr ""
  12637. #. type: item
  12638. #: guix-git/doc/guix.texi:7613
  12639. #, no-wrap
  12640. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12641. msgstr ""
  12642. #. type: item
  12643. #: guix-git/doc/guix.texi:7615
  12644. #, no-wrap
  12645. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12646. msgstr ""
  12647. #. type: item
  12648. #: guix-git/doc/guix.texi:7616
  12649. #, no-wrap
  12650. msgid "Otherwise install @var{source} as @var{target}."
  12651. msgstr ""
  12652. #. type: item
  12653. #: guix-git/doc/guix.texi:7619
  12654. #, no-wrap
  12655. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12656. msgstr ""
  12657. #. type: itemize
  12658. #: guix-git/doc/guix.texi:7622
  12659. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12660. msgstr ""
  12661. #. type: item
  12662. #: guix-git/doc/guix.texi:7623
  12663. #, no-wrap
  12664. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12665. msgstr ""
  12666. #. type: item
  12667. #: guix-git/doc/guix.texi:7624
  12668. #, no-wrap
  12669. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12670. msgstr ""
  12671. #. type: itemize
  12672. #: guix-git/doc/guix.texi:7627
  12673. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12674. msgstr ""
  12675. #. type: item
  12676. #: guix-git/doc/guix.texi:7628
  12677. #, no-wrap
  12678. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12679. msgstr ""
  12680. #. type: itemize
  12681. #: guix-git/doc/guix.texi:7630
  12682. msgid "at least one of the elements in the given list."
  12683. msgstr ""
  12684. #. type: item
  12685. #: guix-git/doc/guix.texi:7630
  12686. #, no-wrap
  12687. msgid "With @code{#:include-regexp}, install all the files which the"
  12688. msgstr ""
  12689. #. type: itemize
  12690. #: guix-git/doc/guix.texi:7633
  12691. msgid "subpaths match at least one of the regular expressions in the given list."
  12692. msgstr ""
  12693. #. type: item
  12694. #: guix-git/doc/guix.texi:7633
  12695. #, no-wrap
  12696. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12697. msgstr ""
  12698. #. type: itemize
  12699. #: guix-git/doc/guix.texi:7638
  12700. 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."
  12701. msgstr ""
  12702. #. type: itemize
  12703. #: guix-git/doc/guix.texi:7642
  12704. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12705. msgstr ""
  12706. #. type: defvr
  12707. #: guix-git/doc/guix.texi:7645
  12708. msgid "Examples:"
  12709. msgstr ""
  12710. #. type: item
  12711. #: guix-git/doc/guix.texi:7647
  12712. #, no-wrap
  12713. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12714. msgstr ""
  12715. #. type: item
  12716. #: guix-git/doc/guix.texi:7648
  12717. #, no-wrap
  12718. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12719. msgstr ""
  12720. #. type: item
  12721. #: guix-git/doc/guix.texi:7649
  12722. #, no-wrap
  12723. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12724. msgstr ""
  12725. #. type: itemize
  12726. #: guix-git/doc/guix.texi:7651
  12727. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12728. msgstr ""
  12729. #. type: item
  12730. #: guix-git/doc/guix.texi:7651
  12731. #, no-wrap
  12732. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12733. msgstr ""
  12734. #. type: itemize
  12735. #: guix-git/doc/guix.texi:7653
  12736. msgid "@file{share/my-app/sub/file}."
  12737. msgstr ""
  12738. #. type: item
  12739. #: guix-git/doc/guix.texi:7653
  12740. #, no-wrap
  12741. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12742. msgstr ""
  12743. #. type: itemize
  12744. #: guix-git/doc/guix.texi:7655
  12745. msgid "@file{share/my-app/file}."
  12746. msgstr ""
  12747. #. type: cindex
  12748. #: guix-git/doc/guix.texi:7659
  12749. #, no-wrap
  12750. msgid "Clojure (programming language)"
  12751. msgstr ""
  12752. #. type: cindex
  12753. #: guix-git/doc/guix.texi:7660
  12754. #, no-wrap
  12755. msgid "simple Clojure build system"
  12756. msgstr ""
  12757. #. type: defvr
  12758. #: guix-git/doc/guix.texi:7661
  12759. #, no-wrap
  12760. msgid "{Scheme Variable} clojure-build-system"
  12761. msgstr ""
  12762. #. type: defvr
  12763. #: guix-git/doc/guix.texi:7666
  12764. 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."
  12765. msgstr ""
  12766. #. type: defvr
  12767. #: guix-git/doc/guix.texi:7670
  12768. 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."
  12769. msgstr ""
  12770. #. type: defvr
  12771. #: guix-git/doc/guix.texi:7676
  12772. 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."
  12773. msgstr ""
  12774. #. type: defvr
  12775. #: guix-git/doc/guix.texi:7679
  12776. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12777. msgstr ""
  12778. #. type: item
  12779. #: guix-git/doc/guix.texi:7682 guix-git/doc/guix.texi:8250
  12780. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8366
  12781. #: guix-git/doc/guix.texi:33914 guix-git/doc/guix.texi:36068
  12782. #, no-wrap
  12783. msgid "build"
  12784. msgstr ""
  12785. #. type: table
  12786. #: guix-git/doc/guix.texi:7691
  12787. 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."
  12788. msgstr ""
  12789. #. type: item
  12790. #: guix-git/doc/guix.texi:7692 guix-git/doc/guix.texi:8254
  12791. #: guix-git/doc/guix.texi:8371
  12792. #, no-wrap
  12793. msgid "check"
  12794. msgstr ""
  12795. #. type: table
  12796. #: guix-git/doc/guix.texi:7699
  12797. 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."
  12798. msgstr ""
  12799. #. type: item
  12800. #: guix-git/doc/guix.texi:7700 guix-git/doc/guix.texi:8258
  12801. #: guix-git/doc/guix.texi:8301 guix-git/doc/guix.texi:8377
  12802. #, no-wrap
  12803. msgid "install"
  12804. msgstr ""
  12805. #. type: table
  12806. #: guix-git/doc/guix.texi:7702
  12807. msgid "This phase installs all jars built previously."
  12808. msgstr ""
  12809. #. type: defvr
  12810. #: guix-git/doc/guix.texi:7705
  12811. msgid "Apart from the above, this build system also contains an additional phase:"
  12812. msgstr ""
  12813. #. type: item
  12814. #: guix-git/doc/guix.texi:7708
  12815. #, no-wrap
  12816. msgid "install-doc"
  12817. msgstr ""
  12818. #. type: table
  12819. #: guix-git/doc/guix.texi:7713
  12820. 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."
  12821. msgstr ""
  12822. #. type: defvr
  12823. #: guix-git/doc/guix.texi:7716
  12824. #, no-wrap
  12825. msgid "{Scheme Variable} cmake-build-system"
  12826. msgstr ""
  12827. #. type: defvr
  12828. #: guix-git/doc/guix.texi:7720
  12829. 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}."
  12830. msgstr ""
  12831. #. type: defvr
  12832. #: guix-git/doc/guix.texi:7724
  12833. 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."
  12834. msgstr ""
  12835. #. type: defvr
  12836. #: guix-git/doc/guix.texi:7731
  12837. 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."
  12838. msgstr ""
  12839. #. type: defvr
  12840. #: guix-git/doc/guix.texi:7733
  12841. #, no-wrap
  12842. msgid "{Scheme Variable} dune-build-system"
  12843. msgstr ""
  12844. #. type: defvr
  12845. #: guix-git/doc/guix.texi:7740
  12846. 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."
  12847. msgstr ""
  12848. #. type: defvr
  12849. #: guix-git/doc/guix.texi:7744
  12850. 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."
  12851. msgstr ""
  12852. #. type: defvr
  12853. #: guix-git/doc/guix.texi:7748
  12854. 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."
  12855. msgstr ""
  12856. #. type: defvr
  12857. #: guix-git/doc/guix.texi:7752
  12858. 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}."
  12859. msgstr ""
  12860. #. type: defvr
  12861. #: guix-git/doc/guix.texi:7757
  12862. 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}."
  12863. msgstr ""
  12864. #. type: defvr
  12865. #: guix-git/doc/guix.texi:7760
  12866. #, no-wrap
  12867. msgid "{Scheme Variable} go-build-system"
  12868. msgstr ""
  12869. #. type: defvr
  12870. #: guix-git/doc/guix.texi:7765
  12871. 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}."
  12872. msgstr ""
  12873. #. type: defvr
  12874. #: guix-git/doc/guix.texi:7776
  12875. 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."
  12876. msgstr ""
  12877. #. type: defvr
  12878. #: guix-git/doc/guix.texi:7781
  12879. 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."
  12880. msgstr ""
  12881. #. type: defvr
  12882. #: guix-git/doc/guix.texi:7788
  12883. 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}."
  12884. msgstr ""
  12885. #. type: defvr
  12886. #: guix-git/doc/guix.texi:7790
  12887. #, no-wrap
  12888. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12889. msgstr ""
  12890. #. type: defvr
  12891. #: guix-git/doc/guix.texi:7793
  12892. 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+."
  12893. msgstr ""
  12894. #. type: defvr
  12895. #: guix-git/doc/guix.texi:7796
  12896. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12897. msgstr ""
  12898. #. type: item
  12899. #: guix-git/doc/guix.texi:7798 guix-git/doc/guix.texi:8274
  12900. #, no-wrap
  12901. msgid "glib-or-gtk-wrap"
  12902. msgstr ""
  12903. #. type: table
  12904. #: guix-git/doc/guix.texi:7805
  12905. 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."
  12906. msgstr ""
  12907. #. type: table
  12908. #: guix-git/doc/guix.texi:7812
  12909. 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+."
  12910. msgstr ""
  12911. #. type: item
  12912. #: guix-git/doc/guix.texi:7813 guix-git/doc/guix.texi:8278
  12913. #, no-wrap
  12914. msgid "glib-or-gtk-compile-schemas"
  12915. msgstr ""
  12916. #. type: table
  12917. #: guix-git/doc/guix.texi:7821
  12918. 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."
  12919. msgstr ""
  12920. #. type: defvr
  12921. #: guix-git/doc/guix.texi:7824
  12922. msgid "Both phases are executed after the @code{install} phase."
  12923. msgstr ""
  12924. #. type: defvr
  12925. #: guix-git/doc/guix.texi:7826
  12926. #, no-wrap
  12927. msgid "{Scheme Variable} guile-build-system"
  12928. msgstr ""
  12929. #. type: defvr
  12930. #: guix-git/doc/guix.texi:7833
  12931. 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."
  12932. msgstr ""
  12933. #. type: defvr
  12934. #: guix-git/doc/guix.texi:7836
  12935. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12936. msgstr ""
  12937. #. type: defvr
  12938. #: guix-git/doc/guix.texi:7839
  12939. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12940. msgstr ""
  12941. #. type: defvr
  12942. #: guix-git/doc/guix.texi:7841
  12943. #, no-wrap
  12944. msgid "{Scheme Variable} julia-build-system"
  12945. msgstr ""
  12946. #. type: defvr
  12947. #: guix-git/doc/guix.texi:7848
  12948. 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}."
  12949. msgstr ""
  12950. #. type: defvr
  12951. #: guix-git/doc/guix.texi:7852
  12952. msgid "The Julia package name is read from the file @file{Project.toml}. This value can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized)."
  12953. msgstr ""
  12954. #. type: defvr
  12955. #: guix-git/doc/guix.texi:7856
  12956. 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}."
  12957. msgstr ""
  12958. #. type: defvr
  12959. #: guix-git/doc/guix.texi:7861
  12960. 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."
  12961. msgstr ""
  12962. #. type: defvr
  12963. #: guix-git/doc/guix.texi:7865
  12964. 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:"
  12965. msgstr ""
  12966. #. type: lisp
  12967. #: guix-git/doc/guix.texi:7877
  12968. #, no-wrap
  12969. msgid ""
  12970. "(add-after 'unpack 'override-binary-path\n"
  12971. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12972. " (for-each (lambda (wrapper)\n"
  12973. " (substitute* wrapper\n"
  12974. " ((\"generate_wrapper_header.*\")\n"
  12975. " (string-append\n"
  12976. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12977. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12978. " ;; There's a Julia file for each platform, override them all.\n"
  12979. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12980. msgstr ""
  12981. #. type: defvr
  12982. #: guix-git/doc/guix.texi:7885
  12983. msgid "Some older packages that aren't using @file{Package.toml} yet, will require this file to be created, too. The function @code{julia-create-package-toml} helps creating the file. You need to pass the outputs and the source of the package, its name (the same as the @code{file-name} parameter), the package uuid, the package version, and a list of dependencies specified by their name and their uuid."
  12984. msgstr ""
  12985. #. type: defvr
  12986. #: guix-git/doc/guix.texi:7887
  12987. #, no-wrap
  12988. msgid "{Scheme Variable} maven-build-system"
  12989. msgstr ""
  12990. #. type: defvr
  12991. #: guix-git/doc/guix.texi:7894
  12992. 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."
  12993. msgstr ""
  12994. #. type: defvr
  12995. #: guix-git/doc/guix.texi:7904
  12996. 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."
  12997. msgstr ""
  12998. #. type: defvr
  12999. #: guix-git/doc/guix.texi:7907
  13000. 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."
  13001. msgstr ""
  13002. #. type: defvr
  13003. #: guix-git/doc/guix.texi:7913
  13004. 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}."
  13005. msgstr ""
  13006. #. type: defvr
  13007. #: guix-git/doc/guix.texi:7919
  13008. 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."
  13009. msgstr ""
  13010. #. type: defvr
  13011. #: guix-git/doc/guix.texi:7922
  13012. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13013. msgstr ""
  13014. #. type: defvr
  13015. #: guix-git/doc/guix.texi:7927
  13016. 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."
  13017. msgstr ""
  13018. #. type: defvr
  13019. #: guix-git/doc/guix.texi:7929
  13020. #, no-wrap
  13021. msgid "{Scheme Variable} minetest-mod-build-system"
  13022. msgstr ""
  13023. #. type: defvr
  13024. #: guix-git/doc/guix.texi:7935
  13025. 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."
  13026. msgstr ""
  13027. #. type: defvr
  13028. #: guix-git/doc/guix.texi:7937
  13029. #, no-wrap
  13030. msgid "{Scheme Variable} minify-build-system"
  13031. msgstr ""
  13032. #. type: defvr
  13033. #: guix-git/doc/guix.texi:7940
  13034. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13035. msgstr ""
  13036. #. type: defvr
  13037. #: guix-git/doc/guix.texi:7946
  13038. 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."
  13039. msgstr ""
  13040. #. type: defvr
  13041. #: guix-git/doc/guix.texi:7950
  13042. 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."
  13043. msgstr ""
  13044. #. type: defvr
  13045. #: guix-git/doc/guix.texi:7952
  13046. #, no-wrap
  13047. msgid "{Scheme Variable} ocaml-build-system"
  13048. msgstr ""
  13049. #. type: defvr
  13050. #: guix-git/doc/guix.texi:7958
  13051. 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."
  13052. msgstr ""
  13053. #. type: defvr
  13054. #: guix-git/doc/guix.texi:7968
  13055. 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."
  13056. msgstr ""
  13057. #. type: defvr
  13058. #: guix-git/doc/guix.texi:7973
  13059. 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."
  13060. msgstr ""
  13061. #. type: defvr
  13062. #: guix-git/doc/guix.texi:7977
  13063. 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."
  13064. msgstr ""
  13065. #. type: defvr
  13066. #: guix-git/doc/guix.texi:7985
  13067. 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."
  13068. msgstr ""
  13069. #. type: defvr
  13070. #: guix-git/doc/guix.texi:7993
  13071. 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."
  13072. msgstr ""
  13073. #. type: defvr
  13074. #: guix-git/doc/guix.texi:7995
  13075. #, no-wrap
  13076. msgid "{Scheme Variable} python-build-system"
  13077. msgstr ""
  13078. #. type: defvr
  13079. #: guix-git/doc/guix.texi:8000
  13080. 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{}}."
  13081. msgstr ""
  13082. #. type: defvr
  13083. #: guix-git/doc/guix.texi:8004
  13084. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13085. msgstr ""
  13086. #. type: defvr
  13087. #: guix-git/doc/guix.texi:8010
  13088. 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."
  13089. msgstr ""
  13090. #. type: defvr
  13091. #: guix-git/doc/guix.texi:8015
  13092. 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}."
  13093. msgstr ""
  13094. #. type: defvr
  13095. #: guix-git/doc/guix.texi:8017
  13096. #, no-wrap
  13097. msgid "{Scheme Variable} perl-build-system"
  13098. msgstr ""
  13099. #. type: defvr
  13100. #: guix-git/doc/guix.texi:8029
  13101. 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."
  13102. msgstr ""
  13103. #. type: defvr
  13104. #: guix-git/doc/guix.texi:8033
  13105. 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."
  13106. msgstr ""
  13107. #. type: defvr
  13108. #: guix-git/doc/guix.texi:8035
  13109. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13110. msgstr ""
  13111. #. type: defvr
  13112. #: guix-git/doc/guix.texi:8037
  13113. #, no-wrap
  13114. msgid "{Scheme Variable} renpy-build-system"
  13115. msgstr ""
  13116. #. type: defvr
  13117. #: guix-git/doc/guix.texi:8041
  13118. 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."
  13119. msgstr ""
  13120. #. type: defvr
  13121. #: guix-git/doc/guix.texi:8044
  13122. 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."
  13123. msgstr ""
  13124. #. type: defvr
  13125. #: guix-git/doc/guix.texi:8048
  13126. 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}."
  13127. msgstr ""
  13128. #. type: defvr
  13129. #: guix-git/doc/guix.texi:8050
  13130. #, no-wrap
  13131. msgid "{Scheme Variable} qt-build-system"
  13132. msgstr ""
  13133. #. type: defvr
  13134. #: guix-git/doc/guix.texi:8053
  13135. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13136. msgstr ""
  13137. #. type: defvr
  13138. #: guix-git/doc/guix.texi:8056
  13139. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13140. msgstr ""
  13141. #. type: item
  13142. #: guix-git/doc/guix.texi:8058
  13143. #, no-wrap
  13144. msgid "check-setup"
  13145. msgstr ""
  13146. #. type: table
  13147. #: guix-git/doc/guix.texi:8065
  13148. 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}."
  13149. msgstr ""
  13150. #. type: table
  13151. #: guix-git/doc/guix.texi:8068
  13152. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13153. msgstr ""
  13154. #. type: item
  13155. #: guix-git/doc/guix.texi:8069
  13156. #, no-wrap
  13157. msgid "qt-wrap"
  13158. msgstr ""
  13159. #. type: table
  13160. #: guix-git/doc/guix.texi:8075
  13161. 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."
  13162. msgstr ""
  13163. #. type: table
  13164. #: guix-git/doc/guix.texi:8081
  13165. 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."
  13166. msgstr ""
  13167. #. type: table
  13168. #: guix-git/doc/guix.texi:8083
  13169. msgid "This phase is added after the @code{install} phase."
  13170. msgstr ""
  13171. #. type: defvr
  13172. #: guix-git/doc/guix.texi:8086
  13173. #, no-wrap
  13174. msgid "{Scheme Variable} r-build-system"
  13175. msgstr ""
  13176. #. type: defvr
  13177. #: guix-git/doc/guix.texi:8094
  13178. 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}."
  13179. msgstr ""
  13180. #. type: defvr
  13181. #: guix-git/doc/guix.texi:8096
  13182. #, no-wrap
  13183. msgid "{Scheme Variable} rakudo-build-system"
  13184. msgstr ""
  13185. #. type: defvr
  13186. #: guix-git/doc/guix.texi:8104
  13187. 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."
  13188. msgstr ""
  13189. #. type: defvr
  13190. #: guix-git/doc/guix.texi:8112
  13191. 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."
  13192. msgstr ""
  13193. #. type: defvr
  13194. #: guix-git/doc/guix.texi:8114
  13195. #, no-wrap
  13196. msgid "{Scheme Variable} texlive-build-system"
  13197. msgstr ""
  13198. #. type: defvr
  13199. #: guix-git/doc/guix.texi:8119
  13200. 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."
  13201. msgstr ""
  13202. #. type: defvr
  13203. #: guix-git/doc/guix.texi:8128
  13204. 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."
  13205. msgstr ""
  13206. #. type: defvr
  13207. #: guix-git/doc/guix.texi:8131
  13208. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13209. msgstr ""
  13210. #. type: defvr
  13211. #: guix-git/doc/guix.texi:8133
  13212. #, no-wrap
  13213. msgid "{Scheme Variable} ruby-build-system"
  13214. msgstr ""
  13215. #. type: defvr
  13216. #: guix-git/doc/guix.texi:8137
  13217. 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}."
  13218. msgstr ""
  13219. #. type: defvr
  13220. #: guix-git/doc/guix.texi:8145
  13221. 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."
  13222. msgstr ""
  13223. #. type: defvr
  13224. #: guix-git/doc/guix.texi:8149
  13225. 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."
  13226. msgstr ""
  13227. #. type: defvr
  13228. #: guix-git/doc/guix.texi:8151
  13229. #, no-wrap
  13230. msgid "{Scheme Variable} waf-build-system"
  13231. msgstr ""
  13232. #. type: defvr
  13233. #: guix-git/doc/guix.texi:8157
  13234. 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."
  13235. msgstr ""
  13236. #. type: defvr
  13237. #: guix-git/doc/guix.texi:8161
  13238. 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."
  13239. msgstr ""
  13240. #. type: defvr
  13241. #: guix-git/doc/guix.texi:8163
  13242. #, no-wrap
  13243. msgid "{Scheme Variable} scons-build-system"
  13244. msgstr ""
  13245. #. type: defvr
  13246. #: guix-git/doc/guix.texi:8169
  13247. 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."
  13248. msgstr ""
  13249. #. type: defvr
  13250. #: guix-git/doc/guix.texi:8176
  13251. 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."
  13252. msgstr ""
  13253. #. type: defvr
  13254. #: guix-git/doc/guix.texi:8178
  13255. #, no-wrap
  13256. msgid "{Scheme Variable} haskell-build-system"
  13257. msgstr ""
  13258. #. type: defvr
  13259. #: guix-git/doc/guix.texi:8192
  13260. 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."
  13261. msgstr ""
  13262. #. type: defvr
  13263. #: guix-git/doc/guix.texi:8195
  13264. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13265. msgstr ""
  13266. #. type: defvr
  13267. #: guix-git/doc/guix.texi:8197
  13268. #, no-wrap
  13269. msgid "{Scheme Variable} dub-build-system"
  13270. msgstr ""
  13271. #. type: defvr
  13272. #: guix-git/doc/guix.texi:8202
  13273. 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."
  13274. msgstr ""
  13275. #. type: defvr
  13276. #: guix-git/doc/guix.texi:8205
  13277. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13278. msgstr ""
  13279. #. type: anchor{#1}
  13280. #: guix-git/doc/guix.texi:8208
  13281. msgid "emacs-build-system"
  13282. msgstr ""
  13283. #. type: defvr
  13284. #: guix-git/doc/guix.texi:8208
  13285. #, no-wrap
  13286. msgid "{Scheme Variable} emacs-build-system"
  13287. msgstr ""
  13288. #. type: defvr
  13289. #: guix-git/doc/guix.texi:8212
  13290. 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})."
  13291. msgstr ""
  13292. #. type: defvr
  13293. #: guix-git/doc/guix.texi:8218
  13294. 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}."
  13295. msgstr ""
  13296. #. type: defvr
  13297. #: guix-git/doc/guix.texi:8220
  13298. #, no-wrap
  13299. msgid "{Scheme Variable} font-build-system"
  13300. msgstr ""
  13301. #. type: defvr
  13302. #: guix-git/doc/guix.texi:8226
  13303. 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."
  13304. msgstr ""
  13305. #. type: defvr
  13306. #: guix-git/doc/guix.texi:8228
  13307. #, no-wrap
  13308. msgid "{Scheme Variable} meson-build-system"
  13309. msgstr ""
  13310. #. type: defvr
  13311. #: guix-git/doc/guix.texi:8232
  13312. 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."
  13313. msgstr ""
  13314. #. type: defvr
  13315. #: guix-git/doc/guix.texi:8238
  13316. 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. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed."
  13317. msgstr ""
  13318. #. type: defvr
  13319. #: guix-git/doc/guix.texi:8241
  13320. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13321. msgstr ""
  13322. #. type: item
  13323. #: guix-git/doc/guix.texi:8244 guix-git/doc/guix.texi:8293
  13324. #: guix-git/doc/guix.texi:8361
  13325. #, no-wrap
  13326. msgid "configure"
  13327. msgstr ""
  13328. #. type: table
  13329. #: guix-git/doc/guix.texi:8249
  13330. 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}."
  13331. msgstr ""
  13332. #. type: table
  13333. #: guix-git/doc/guix.texi:8253
  13334. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13335. msgstr ""
  13336. #. type: table
  13337. #: guix-git/doc/guix.texi:8257
  13338. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  13339. msgstr ""
  13340. #. type: table
  13341. #: guix-git/doc/guix.texi:8260
  13342. msgid "The phase runs @code{ninja install} and can not be changed."
  13343. msgstr ""
  13344. #. type: defvr
  13345. #: guix-git/doc/guix.texi:8263
  13346. msgid "Apart from that, the build system also adds the following phases:"
  13347. msgstr ""
  13348. #. type: item
  13349. #: guix-git/doc/guix.texi:8266
  13350. #, no-wrap
  13351. msgid "fix-runpath"
  13352. msgstr ""
  13353. #. type: table
  13354. #: guix-git/doc/guix.texi:8273
  13355. 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-for-build}, such as test dependencies, that aren't actually required for the program to run."
  13356. msgstr ""
  13357. #. type: table
  13358. #: guix-git/doc/guix.texi:8277 guix-git/doc/guix.texi:8281
  13359. 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?}."
  13360. msgstr ""
  13361. #. type: defvr
  13362. #: guix-git/doc/guix.texi:8284
  13363. #, no-wrap
  13364. msgid "{Scheme Variable} linux-module-build-system"
  13365. msgstr ""
  13366. #. type: defvr
  13367. #: guix-git/doc/guix.texi:8286
  13368. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13369. msgstr ""
  13370. #. type: defvr
  13371. #: guix-git/doc/guix.texi:8290
  13372. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13373. msgstr ""
  13374. #. type: table
  13375. #: guix-git/doc/guix.texi:8296
  13376. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13377. msgstr ""
  13378. #. type: table
  13379. #: guix-git/doc/guix.texi:8300
  13380. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13381. msgstr ""
  13382. #. type: table
  13383. #: guix-git/doc/guix.texi:8304
  13384. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13385. msgstr ""
  13386. #. type: defvr
  13387. #: guix-git/doc/guix.texi:8309
  13388. 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)."
  13389. msgstr ""
  13390. #. type: defvr
  13391. #: guix-git/doc/guix.texi:8311
  13392. #, no-wrap
  13393. msgid "{Scheme Variable} node-build-system"
  13394. msgstr ""
  13395. #. type: defvr
  13396. #: guix-git/doc/guix.texi:8316
  13397. 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."
  13398. msgstr ""
  13399. #. type: defvr
  13400. #: guix-git/doc/guix.texi:8320
  13401. 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}."
  13402. msgstr ""
  13403. #. type: Plain text
  13404. #: guix-git/doc/guix.texi:8326
  13405. 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."
  13406. msgstr ""
  13407. #. type: defvr
  13408. #: guix-git/doc/guix.texi:8327
  13409. #, no-wrap
  13410. msgid "{Scheme Variable} trivial-build-system"
  13411. msgstr ""
  13412. #. type: defvr
  13413. #: guix-git/doc/guix.texi:8329
  13414. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13415. msgstr ""
  13416. #. type: defvr
  13417. #: guix-git/doc/guix.texi:8334
  13418. 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}})."
  13419. msgstr ""
  13420. #. type: cindex
  13421. #: guix-git/doc/guix.texi:8339
  13422. #, no-wrap
  13423. msgid "build phases, for packages"
  13424. msgstr ""
  13425. #. type: Plain text
  13426. #: guix-git/doc/guix.texi:8345
  13427. 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})."
  13428. msgstr ""
  13429. #. type: Plain text
  13430. #: guix-git/doc/guix.texi:8349
  13431. 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:"
  13432. msgstr ""
  13433. #. type: item
  13434. #: guix-git/doc/guix.texi:8351
  13435. #, no-wrap
  13436. msgid "unpack"
  13437. msgstr ""
  13438. #. type: table
  13439. #: guix-git/doc/guix.texi:8355
  13440. 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."
  13441. msgstr ""
  13442. #. type: item
  13443. #: guix-git/doc/guix.texi:8356
  13444. #, no-wrap
  13445. msgid "patch-source-shebangs"
  13446. msgstr ""
  13447. #. type: table
  13448. #: guix-git/doc/guix.texi:8360
  13449. 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}."
  13450. msgstr ""
  13451. #. type: table
  13452. #: guix-git/doc/guix.texi:8365
  13453. 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."
  13454. msgstr ""
  13455. #. type: table
  13456. #: guix-git/doc/guix.texi:8370
  13457. 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}."
  13458. msgstr ""
  13459. #. type: table
  13460. #: guix-git/doc/guix.texi:8376
  13461. 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}."
  13462. msgstr ""
  13463. #. type: table
  13464. #: guix-git/doc/guix.texi:8379
  13465. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13466. msgstr ""
  13467. #. type: item
  13468. #: guix-git/doc/guix.texi:8380
  13469. #, no-wrap
  13470. msgid "patch-shebangs"
  13471. msgstr ""
  13472. #. type: table
  13473. #: guix-git/doc/guix.texi:8382
  13474. msgid "Patch shebangs on the installed executable files."
  13475. msgstr ""
  13476. #. type: item
  13477. #: guix-git/doc/guix.texi:8383
  13478. #, no-wrap
  13479. msgid "strip"
  13480. msgstr ""
  13481. #. type: table
  13482. #: guix-git/doc/guix.texi:8387
  13483. 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})."
  13484. msgstr ""
  13485. #. type: Plain text
  13486. #: guix-git/doc/guix.texi:8396
  13487. 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})."
  13488. msgstr ""
  13489. #. type: Plain text
  13490. #: guix-git/doc/guix.texi:8403
  13491. 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."
  13492. msgstr ""
  13493. #. type: vindex
  13494. #: guix-git/doc/guix.texi:8404
  13495. #, no-wrap
  13496. msgid "%standard-phases"
  13497. msgstr ""
  13498. #. type: Plain text
  13499. #: guix-git/doc/guix.texi:8410
  13500. 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!}:"
  13501. msgstr ""
  13502. #. type: lisp
  13503. #: guix-git/doc/guix.texi:8413
  13504. #, no-wrap
  13505. msgid ""
  13506. ";; The build phases of 'gnu-build-system'.\n"
  13507. "\n"
  13508. msgstr ""
  13509. #. type: lisp
  13510. #: guix-git/doc/guix.texi:8417
  13511. #, no-wrap
  13512. msgid ""
  13513. "(define* (unpack #:key source #:allow-other-keys)\n"
  13514. " ;; Extract the source tarball.\n"
  13515. " (invoke \"tar\" \"xvf\" source))\n"
  13516. "\n"
  13517. msgstr ""
  13518. #. type: lisp
  13519. #: guix-git/doc/guix.texi:8423
  13520. #, no-wrap
  13521. msgid ""
  13522. "(define* (configure #:key outputs #:allow-other-keys)\n"
  13523. " ;; Run the 'configure' script. Install to output \"out\".\n"
  13524. " (let ((out (assoc-ref outputs \"out\")))\n"
  13525. " (invoke \"./configure\"\n"
  13526. " (string-append \"--prefix=\" out))))\n"
  13527. "\n"
  13528. msgstr ""
  13529. #. type: lisp
  13530. #: guix-git/doc/guix.texi:8427
  13531. #, no-wrap
  13532. msgid ""
  13533. "(define* (build #:allow-other-keys)\n"
  13534. " ;; Compile.\n"
  13535. " (invoke \"make\"))\n"
  13536. "\n"
  13537. msgstr ""
  13538. #. type: lisp
  13539. #: guix-git/doc/guix.texi:8434
  13540. #, no-wrap
  13541. msgid ""
  13542. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13543. " #:allow-other-keys)\n"
  13544. " ;; Run the test suite.\n"
  13545. " (if tests?\n"
  13546. " (invoke \"make\" test-target)\n"
  13547. " (display \"test suite not run\\n\")))\n"
  13548. "\n"
  13549. msgstr ""
  13550. #. type: lisp
  13551. #: guix-git/doc/guix.texi:8438
  13552. #, no-wrap
  13553. msgid ""
  13554. "(define* (install #:allow-other-keys)\n"
  13555. " ;; Install files to the prefix 'configure' specified.\n"
  13556. " (invoke \"make\" \"install\"))\n"
  13557. "\n"
  13558. msgstr ""
  13559. #. type: lisp
  13560. #: guix-git/doc/guix.texi:8447
  13561. #, no-wrap
  13562. msgid ""
  13563. "(define %standard-phases\n"
  13564. " ;; The list of standard phases (quite a few are omitted\n"
  13565. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13566. " (list (cons 'unpack unpack)\n"
  13567. " (cons 'configure configure)\n"
  13568. " (cons 'build build)\n"
  13569. " (cons 'check check)\n"
  13570. " (cons 'install install)))\n"
  13571. msgstr ""
  13572. #. type: Plain text
  13573. #: guix-git/doc/guix.texi:8457
  13574. 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."
  13575. msgstr ""
  13576. #. type: Plain text
  13577. #: guix-git/doc/guix.texi:8463
  13578. 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})."
  13579. msgstr ""
  13580. #. type: Plain text
  13581. #: guix-git/doc/guix.texi:8479
  13582. 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."
  13583. msgstr ""
  13584. #. type: cindex
  13585. #: guix-git/doc/guix.texi:8480
  13586. #, no-wrap
  13587. msgid "build phases, customizing"
  13588. msgstr ""
  13589. #. type: Plain text
  13590. #: guix-git/doc/guix.texi:8489
  13591. 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}})."
  13592. msgstr ""
  13593. #. type: Plain text
  13594. #: guix-git/doc/guix.texi:8494
  13595. 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}:"
  13596. msgstr ""
  13597. #. type: lisp
  13598. #: guix-git/doc/guix.texi:8514
  13599. #, no-wrap
  13600. msgid ""
  13601. "(define-public example\n"
  13602. " (package\n"
  13603. " (name \"example\")\n"
  13604. " ;; other fields omitted\n"
  13605. " (build-system gnu-build-system)\n"
  13606. " (arguments\n"
  13607. " '(#:phases (modify-phases %standard-phases\n"
  13608. " (delete 'configure)\n"
  13609. " (add-before 'build 'set-prefix-in-makefile\n"
  13610. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13611. " ;; Modify the makefile so that its\n"
  13612. " ;; 'PREFIX' variable points to \"out\".\n"
  13613. " (let ((out (assoc-ref outputs \"out\")))\n"
  13614. " (substitute* \"Makefile\"\n"
  13615. " ((\"PREFIX =.*\")\n"
  13616. " (string-append \"PREFIX = \"\n"
  13617. " out \"\\n\")))\n"
  13618. " #true))))))))\n"
  13619. msgstr ""
  13620. #. type: Plain text
  13621. #: guix-git/doc/guix.texi:8520
  13622. 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}."
  13623. msgstr ""
  13624. #. type: cindex
  13625. #: guix-git/doc/guix.texi:8521 guix-git/doc/guix.texi:9494
  13626. #, no-wrap
  13627. msgid "code staging"
  13628. msgstr ""
  13629. #. type: cindex
  13630. #: guix-git/doc/guix.texi:8522 guix-git/doc/guix.texi:9495
  13631. #, no-wrap
  13632. msgid "staging, of code"
  13633. msgstr ""
  13634. #. type: Plain text
  13635. #: guix-git/doc/guix.texi:8529
  13636. 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."
  13637. msgstr ""
  13638. #. type: Plain text
  13639. #: guix-git/doc/guix.texi:8539
  13640. 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."
  13641. msgstr ""
  13642. #. type: Plain text
  13643. #: guix-git/doc/guix.texi:8543
  13644. 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."
  13645. msgstr ""
  13646. #. type: Plain text
  13647. #: guix-git/doc/guix.texi:8548
  13648. 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}):"
  13649. msgstr ""
  13650. #. type: lisp
  13651. #: guix-git/doc/guix.texi:8555
  13652. #, no-wrap
  13653. msgid ""
  13654. "(with-imported-modules '((guix build utils)) ;import it\n"
  13655. " (computed-file \"empty-tree\"\n"
  13656. " #~(begin\n"
  13657. " ;; Put it in scope.\n"
  13658. " (use-modules (guix build utils))\n"
  13659. "\n"
  13660. msgstr ""
  13661. #. type: lisp
  13662. #: guix-git/doc/guix.texi:8558
  13663. #, no-wrap
  13664. msgid ""
  13665. " ;; Happily use its 'mkdir-p' procedure.\n"
  13666. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13667. msgstr ""
  13668. #. type: Plain text
  13669. #: guix-git/doc/guix.texi:8562
  13670. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13671. msgstr ""
  13672. #. type: subsection
  13673. #: guix-git/doc/guix.texi:8565
  13674. #, no-wrap
  13675. msgid "Dealing with Store File Names"
  13676. msgstr ""
  13677. #. type: Plain text
  13678. #: guix-git/doc/guix.texi:8568
  13679. msgid "This section documents procedures that deal with store file names."
  13680. msgstr ""
  13681. #. type: deffn
  13682. #: guix-git/doc/guix.texi:8569
  13683. #, no-wrap
  13684. msgid "{Scheme Procedure} %store-directory"
  13685. msgstr ""
  13686. #. type: deffn
  13687. #: guix-git/doc/guix.texi:8571
  13688. msgid "Return the directory name of the store."
  13689. msgstr ""
  13690. #. type: deffn
  13691. #: guix-git/doc/guix.texi:8573
  13692. #, no-wrap
  13693. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13694. msgstr ""
  13695. #. type: deffn
  13696. #: guix-git/doc/guix.texi:8575
  13697. msgid "Return true if @var{file} is in the store."
  13698. msgstr ""
  13699. #. type: deffn
  13700. #: guix-git/doc/guix.texi:8577
  13701. #, no-wrap
  13702. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13703. msgstr ""
  13704. #. type: deffn
  13705. #: guix-git/doc/guix.texi:8580
  13706. 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."
  13707. msgstr ""
  13708. #. type: deffn
  13709. #: guix-git/doc/guix.texi:8582
  13710. #, no-wrap
  13711. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13712. msgstr ""
  13713. #. type: deffn
  13714. #: guix-git/doc/guix.texi:8587
  13715. 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."
  13716. msgstr ""
  13717. #. type: subsection
  13718. #: guix-git/doc/guix.texi:8589
  13719. #, no-wrap
  13720. msgid "File Types"
  13721. msgstr ""
  13722. #. type: Plain text
  13723. #: guix-git/doc/guix.texi:8592
  13724. msgid "The procedures below deal with files and file types."
  13725. msgstr ""
  13726. #. type: deffn
  13727. #: guix-git/doc/guix.texi:8593
  13728. #, no-wrap
  13729. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13730. msgstr ""
  13731. #. type: deffn
  13732. #: guix-git/doc/guix.texi:8595
  13733. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13734. msgstr ""
  13735. #. type: deffn
  13736. #: guix-git/doc/guix.texi:8597
  13737. #, no-wrap
  13738. msgid "{Scheme Procedure} executable-file? @var{file}"
  13739. msgstr ""
  13740. #. type: deffn
  13741. #: guix-git/doc/guix.texi:8599
  13742. msgid "Return @code{#t} if @var{file} exists and is executable."
  13743. msgstr ""
  13744. #. type: deffn
  13745. #: guix-git/doc/guix.texi:8601
  13746. #, no-wrap
  13747. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13748. msgstr ""
  13749. #. type: deffn
  13750. #: guix-git/doc/guix.texi:8603
  13751. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13752. msgstr ""
  13753. #. type: deffn
  13754. #: guix-git/doc/guix.texi:8605
  13755. #, no-wrap
  13756. msgid "{Scheme Procedure} elf-file? @var{file}"
  13757. msgstr ""
  13758. #. type: deffnx
  13759. #: guix-git/doc/guix.texi:8606
  13760. #, no-wrap
  13761. msgid "{Scheme Procedure} ar-file? @var{file}"
  13762. msgstr ""
  13763. #. type: deffnx
  13764. #: guix-git/doc/guix.texi:8607
  13765. #, no-wrap
  13766. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13767. msgstr ""
  13768. #. type: deffn
  13769. #: guix-git/doc/guix.texi:8610
  13770. 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."
  13771. msgstr ""
  13772. #. type: deffn
  13773. #: guix-git/doc/guix.texi:8612
  13774. #, no-wrap
  13775. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13776. msgstr ""
  13777. #. type: deffn
  13778. #: guix-git/doc/guix.texi:8616
  13779. 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."
  13780. msgstr ""
  13781. #. type: subsection
  13782. #: guix-git/doc/guix.texi:8618
  13783. #, no-wrap
  13784. msgid "File Manipulation"
  13785. msgstr ""
  13786. #. type: Plain text
  13787. #: guix-git/doc/guix.texi:8625
  13788. 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})."
  13789. msgstr ""
  13790. #. type: deffn
  13791. #: guix-git/doc/guix.texi:8626
  13792. #, no-wrap
  13793. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13794. msgstr ""
  13795. #. type: deffn
  13796. #: guix-git/doc/guix.texi:8628
  13797. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13798. msgstr ""
  13799. #. type: deffn
  13800. #: guix-git/doc/guix.texi:8635
  13801. 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."
  13802. msgstr ""
  13803. #. type: deffn
  13804. #: guix-git/doc/guix.texi:8637
  13805. #, no-wrap
  13806. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13807. msgstr ""
  13808. #. type: deffn
  13809. #: guix-git/doc/guix.texi:8639
  13810. msgid "Create directory @var{dir} and all its ancestors."
  13811. msgstr ""
  13812. #. type: deffn
  13813. #: guix-git/doc/guix.texi:8641
  13814. #, no-wrap
  13815. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13816. msgstr ""
  13817. #. type: deffn
  13818. #: guix-git/doc/guix.texi:8644
  13819. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13820. msgstr ""
  13821. #. type: deffn
  13822. #: guix-git/doc/guix.texi:8646
  13823. #, no-wrap
  13824. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13825. msgstr ""
  13826. #. type: deffn
  13827. #: guix-git/doc/guix.texi:8648
  13828. msgid "Make @var{file} writable for its owner."
  13829. msgstr ""
  13830. #. type: deffn
  13831. #: guix-git/doc/guix.texi:8650
  13832. #, no-wrap
  13833. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13834. msgstr ""
  13835. #. type: deffn
  13836. #: guix-git/doc/guix.texi:8657
  13837. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. Write verbose output to the @var{log} port."
  13838. msgstr ""
  13839. #. type: deffn
  13840. #: guix-git/doc/guix.texi:8659
  13841. #, no-wrap
  13842. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13843. msgstr ""
  13844. #. type: deffn
  13845. #: guix-git/doc/guix.texi:8664
  13846. 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."
  13847. msgstr ""
  13848. #. type: deffn
  13849. #: guix-git/doc/guix.texi:8666
  13850. #, no-wrap
  13851. msgid "{Scheme Syntax} substitute* @var{file} @"
  13852. msgstr ""
  13853. #. type: deffn
  13854. #: guix-git/doc/guix.texi:8671
  13855. 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:"
  13856. msgstr ""
  13857. #. type: lisp
  13858. #: guix-git/doc/guix.texi:8678
  13859. #, no-wrap
  13860. msgid ""
  13861. "(substitute* file\n"
  13862. " ((\"hello\")\n"
  13863. " \"good morning\\n\")\n"
  13864. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13865. " (string-append \"baz\" letter end)))\n"
  13866. msgstr ""
  13867. #. type: deffn
  13868. #: guix-git/doc/guix.texi:8684
  13869. 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."
  13870. msgstr ""
  13871. #. type: deffn
  13872. #: guix-git/doc/guix.texi:8687
  13873. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13874. msgstr ""
  13875. #. type: deffn
  13876. #: guix-git/doc/guix.texi:8690
  13877. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13878. msgstr ""
  13879. #. type: deffn
  13880. #: guix-git/doc/guix.texi:8693
  13881. 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."
  13882. msgstr ""
  13883. #. type: subsection
  13884. #: guix-git/doc/guix.texi:8695
  13885. #, no-wrap
  13886. msgid "File Search"
  13887. msgstr ""
  13888. #. type: cindex
  13889. #: guix-git/doc/guix.texi:8697
  13890. #, no-wrap
  13891. msgid "file, searching"
  13892. msgstr ""
  13893. #. type: Plain text
  13894. #: guix-git/doc/guix.texi:8699
  13895. msgid "This section documents procedures to search and filter files."
  13896. msgstr ""
  13897. #. type: deffn
  13898. #: guix-git/doc/guix.texi:8700
  13899. #, no-wrap
  13900. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13901. msgstr ""
  13902. #. type: deffn
  13903. #: guix-git/doc/guix.texi:8703
  13904. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13905. msgstr ""
  13906. #. type: deffn
  13907. #: guix-git/doc/guix.texi:8705
  13908. #, no-wrap
  13909. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13910. msgstr ""
  13911. #. type: deffn
  13912. #: guix-git/doc/guix.texi:8716
  13913. 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."
  13914. msgstr ""
  13915. #. type: Plain text
  13916. #: guix-git/doc/guix.texi:8720
  13917. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13918. msgstr ""
  13919. #. type: lisp
  13920. #: guix-git/doc/guix.texi:8725
  13921. #, no-wrap
  13922. msgid ""
  13923. ";; List all the regular files in the current directory.\n"
  13924. "(find-files \".\")\n"
  13925. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13926. "\n"
  13927. msgstr ""
  13928. #. type: lisp
  13929. #: guix-git/doc/guix.texi:8729
  13930. #, no-wrap
  13931. msgid ""
  13932. ";; List all the .scm files under gnu/services.\n"
  13933. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13934. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13935. "\n"
  13936. msgstr ""
  13937. #. type: lisp
  13938. #: guix-git/doc/guix.texi:8733
  13939. #, no-wrap
  13940. msgid ""
  13941. ";; List ar files in the current directory.\n"
  13942. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13943. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13944. msgstr ""
  13945. #. type: deffn
  13946. #: guix-git/doc/guix.texi:8735
  13947. #, no-wrap
  13948. msgid "{Scheme Procedure} which @var{program}"
  13949. msgstr ""
  13950. #. type: deffn
  13951. #: guix-git/doc/guix.texi:8738
  13952. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13953. msgstr ""
  13954. #. type: Plain text
  13955. #: guix-git/doc/guix.texi:8749
  13956. 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})."
  13957. msgstr ""
  13958. #. type: Plain text
  13959. #: guix-git/doc/guix.texi:8753
  13960. 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."
  13961. msgstr ""
  13962. #. type: cindex
  13963. #: guix-git/doc/guix.texi:8754
  13964. #, no-wrap
  13965. msgid "build phases, modifying"
  13966. msgstr ""
  13967. #. type: deffn
  13968. #: guix-git/doc/guix.texi:8755
  13969. #, no-wrap
  13970. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13971. msgstr ""
  13972. #. type: deffn
  13973. #: guix-git/doc/guix.texi:8758
  13974. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13975. msgstr ""
  13976. #. type: lisp
  13977. #: guix-git/doc/guix.texi:8764
  13978. #, no-wrap
  13979. msgid ""
  13980. "(delete @var{old-phase-name})\n"
  13981. "(replace @var{old-phase-name} @var{new-phase})\n"
  13982. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13983. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13984. msgstr ""
  13985. #. type: deffn
  13986. #: guix-git/doc/guix.texi:8768
  13987. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13988. msgstr ""
  13989. #. type: Plain text
  13990. #: guix-git/doc/guix.texi:8779
  13991. 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:"
  13992. msgstr ""
  13993. #. type: lisp
  13994. #: guix-git/doc/guix.texi:8793
  13995. #, no-wrap
  13996. msgid ""
  13997. "(modify-phases %standard-phases\n"
  13998. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13999. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14000. " ;; absolute file name instead of searching for it in $PATH.\n"
  14001. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14002. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14003. " (bin (string-append out \"/bin\")))\n"
  14004. " (substitute* (list (string-append bin \"/egrep\")\n"
  14005. " (string-append bin \"/fgrep\"))\n"
  14006. " ((\"^exec grep\")\n"
  14007. " (string-append \"exec \" bin \"/grep\")))\n"
  14008. " #t))))\n"
  14009. msgstr ""
  14010. #. type: Plain text
  14011. #: guix-git/doc/guix.texi:8800
  14012. 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:"
  14013. msgstr ""
  14014. #. type: lisp
  14015. #: guix-git/doc/guix.texi:8813
  14016. #, no-wrap
  14017. msgid ""
  14018. "(modify-phases %standard-phases\n"
  14019. " (delete 'configure) ;no 'configure' script\n"
  14020. " (replace 'install\n"
  14021. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14022. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14023. " ;; rule so do it by ourselves.\n"
  14024. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14025. " \"/bin\")))\n"
  14026. " (install-file \"footswitch\" bin)\n"
  14027. " (install-file \"scythe\" bin)\n"
  14028. " #t))))\n"
  14029. msgstr ""
  14030. #. type: cindex
  14031. #: guix-git/doc/guix.texi:8821
  14032. #, no-wrap
  14033. msgid "store items"
  14034. msgstr ""
  14035. #. type: cindex
  14036. #: guix-git/doc/guix.texi:8822
  14037. #, no-wrap
  14038. msgid "store paths"
  14039. msgstr ""
  14040. #. type: Plain text
  14041. #: guix-git/doc/guix.texi:8833
  14042. 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}."
  14043. msgstr ""
  14044. #. type: Plain text
  14045. #: guix-git/doc/guix.texi:8838
  14046. 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."
  14047. msgstr ""
  14048. #. type: quotation
  14049. #: guix-git/doc/guix.texi:8843
  14050. 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})."
  14051. msgstr ""
  14052. #. type: quotation
  14053. #: guix-git/doc/guix.texi:8847
  14054. 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."
  14055. msgstr ""
  14056. #. type: Plain text
  14057. #: guix-git/doc/guix.texi:8854
  14058. 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."
  14059. msgstr ""
  14060. #. type: defvr
  14061. #: guix-git/doc/guix.texi:8855
  14062. #, no-wrap
  14063. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  14064. msgstr ""
  14065. #. type: defvr
  14066. #: guix-git/doc/guix.texi:8860
  14067. 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:"
  14068. msgstr ""
  14069. #. type: code{#1}
  14070. #: guix-git/doc/guix.texi:8862 guix-git/doc/guix.texi:25132
  14071. #, no-wrap
  14072. msgid "file"
  14073. msgstr ""
  14074. #. type: itemx
  14075. #: guix-git/doc/guix.texi:8863
  14076. #, no-wrap
  14077. msgid "unix"
  14078. msgstr ""
  14079. #. type: table
  14080. #: guix-git/doc/guix.texi:8867
  14081. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  14082. msgstr ""
  14083. #. type: table
  14084. #: guix-git/doc/guix.texi:8876
  14085. 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):"
  14086. msgstr ""
  14087. #. type: example
  14088. #: guix-git/doc/guix.texi:8879
  14089. #, no-wrap
  14090. msgid "guix://master.guix.example.org:1234\n"
  14091. msgstr ""
  14092. #. type: table
  14093. #: guix-git/doc/guix.texi:8884
  14094. 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}."
  14095. msgstr ""
  14096. #. type: table
  14097. #: guix-git/doc/guix.texi:8888
  14098. 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}})."
  14099. msgstr ""
  14100. #. type: item
  14101. #: guix-git/doc/guix.texi:8889
  14102. #, no-wrap
  14103. msgid "ssh"
  14104. msgstr ""
  14105. #. type: cindex
  14106. #: guix-git/doc/guix.texi:8890
  14107. #, no-wrap
  14108. msgid "SSH access to build daemons"
  14109. msgstr ""
  14110. #. type: table
  14111. #: guix-git/doc/guix.texi:8896
  14112. 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:"
  14113. msgstr ""
  14114. #. type: example
  14115. #: guix-git/doc/guix.texi:8899
  14116. #, no-wrap
  14117. msgid "ssh://charlie@@guix.example.org:22\n"
  14118. msgstr ""
  14119. #. type: table
  14120. #: guix-git/doc/guix.texi:8903
  14121. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14122. msgstr ""
  14123. #. type: defvr
  14124. #: guix-git/doc/guix.texi:8906
  14125. msgid "Additional URI schemes may be supported in the future."
  14126. msgstr ""
  14127. #. type: quotation
  14128. #: guix-git/doc/guix.texi:8913
  14129. 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})."
  14130. msgstr ""
  14131. #. type: deffn
  14132. #: guix-git/doc/guix.texi:8916
  14133. #, no-wrap
  14134. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14135. msgstr ""
  14136. #. type: deffn
  14137. #: guix-git/doc/guix.texi:8921
  14138. 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."
  14139. msgstr ""
  14140. #. type: deffn
  14141. #: guix-git/doc/guix.texi:8924
  14142. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14143. msgstr ""
  14144. #. type: deffn
  14145. #: guix-git/doc/guix.texi:8926
  14146. #, no-wrap
  14147. msgid "{Scheme Procedure} close-connection @var{server}"
  14148. msgstr ""
  14149. #. type: deffn
  14150. #: guix-git/doc/guix.texi:8928
  14151. msgid "Close the connection to @var{server}."
  14152. msgstr ""
  14153. #. type: defvr
  14154. #: guix-git/doc/guix.texi:8930
  14155. #, no-wrap
  14156. msgid "{Scheme Variable} current-build-output-port"
  14157. msgstr ""
  14158. #. type: defvr
  14159. #: guix-git/doc/guix.texi:8933
  14160. 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."
  14161. msgstr ""
  14162. #. type: Plain text
  14163. #: guix-git/doc/guix.texi:8937
  14164. msgid "Procedures that make RPCs all take a server object as their first argument."
  14165. msgstr ""
  14166. #. type: deffn
  14167. #: guix-git/doc/guix.texi:8938
  14168. #, no-wrap
  14169. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14170. msgstr ""
  14171. #. type: cindex
  14172. #: guix-git/doc/guix.texi:8939
  14173. #, no-wrap
  14174. msgid "invalid store items"
  14175. msgstr ""
  14176. #. type: deffn
  14177. #: guix-git/doc/guix.texi:8944
  14178. 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)."
  14179. msgstr ""
  14180. #. type: deffn
  14181. #: guix-git/doc/guix.texi:8947
  14182. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14183. msgstr ""
  14184. #. type: deffn
  14185. #: guix-git/doc/guix.texi:8949
  14186. #, no-wrap
  14187. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14188. msgstr ""
  14189. #. type: deffn
  14190. #: guix-git/doc/guix.texi:8953
  14191. 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."
  14192. msgstr ""
  14193. #. type: deffn
  14194. #: guix-git/doc/guix.texi:8955
  14195. #, no-wrap
  14196. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14197. msgstr ""
  14198. #. type: deffn
  14199. #: guix-git/doc/guix.texi:8960
  14200. 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."
  14201. msgstr ""
  14202. #. type: Plain text
  14203. #: guix-git/doc/guix.texi:8966
  14204. 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})."
  14205. msgstr ""
  14206. #. type: i{#1}
  14207. #: guix-git/doc/guix.texi:8969
  14208. msgid "This section is currently incomplete."
  14209. msgstr ""
  14210. #. type: cindex
  14211. #: guix-git/doc/guix.texi:8973
  14212. #, no-wrap
  14213. msgid "derivations"
  14214. msgstr ""
  14215. #. type: Plain text
  14216. #: guix-git/doc/guix.texi:8977
  14217. 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:"
  14218. msgstr ""
  14219. #. type: itemize
  14220. #: guix-git/doc/guix.texi:8982
  14221. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14222. msgstr ""
  14223. #. type: cindex
  14224. #: guix-git/doc/guix.texi:8984
  14225. #, no-wrap
  14226. msgid "build-time dependencies"
  14227. msgstr ""
  14228. #. type: cindex
  14229. #: guix-git/doc/guix.texi:8985
  14230. #, no-wrap
  14231. msgid "dependencies, build-time"
  14232. msgstr ""
  14233. #. type: itemize
  14234. #: guix-git/doc/guix.texi:8989
  14235. 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.)."
  14236. msgstr ""
  14237. #. type: itemize
  14238. #: guix-git/doc/guix.texi:8992
  14239. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14240. msgstr ""
  14241. #. type: itemize
  14242. #: guix-git/doc/guix.texi:8996
  14243. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14244. msgstr ""
  14245. #. type: itemize
  14246. #: guix-git/doc/guix.texi:8999
  14247. msgid "A list of environment variables to be defined."
  14248. msgstr ""
  14249. #. type: cindex
  14250. #: guix-git/doc/guix.texi:9002
  14251. #, no-wrap
  14252. msgid "derivation path"
  14253. msgstr ""
  14254. #. type: Plain text
  14255. #: guix-git/doc/guix.texi:9010
  14256. 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})."
  14257. msgstr ""
  14258. #. type: cindex
  14259. #: guix-git/doc/guix.texi:9011
  14260. #, no-wrap
  14261. msgid "fixed-output derivations"
  14262. msgstr ""
  14263. #. type: Plain text
  14264. #: guix-git/doc/guix.texi:9018
  14265. 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."
  14266. msgstr ""
  14267. #. type: item
  14268. #: guix-git/doc/guix.texi:9019 guix-git/doc/guix.texi:12601
  14269. #, no-wrap
  14270. msgid "references"
  14271. msgstr ""
  14272. #. type: cindex
  14273. #: guix-git/doc/guix.texi:9020
  14274. #, no-wrap
  14275. msgid "run-time dependencies"
  14276. msgstr ""
  14277. #. type: cindex
  14278. #: guix-git/doc/guix.texi:9021
  14279. #, no-wrap
  14280. msgid "dependencies, run-time"
  14281. msgstr ""
  14282. #. type: Plain text
  14283. #: guix-git/doc/guix.texi:9028
  14284. 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."
  14285. msgstr ""
  14286. #. type: Plain text
  14287. #: guix-git/doc/guix.texi:9033
  14288. 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:"
  14289. msgstr ""
  14290. #. type: deffn
  14291. #: guix-git/doc/guix.texi:9034
  14292. #, no-wrap
  14293. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14294. msgstr ""
  14295. #. type: deffn
  14296. #: guix-git/doc/guix.texi:9043
  14297. 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."
  14298. msgstr ""
  14299. #. type: deffn
  14300. #: guix-git/doc/guix.texi:9050
  14301. 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."
  14302. msgstr ""
  14303. #. type: deffn
  14304. #: guix-git/doc/guix.texi:9055
  14305. 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."
  14306. msgstr ""
  14307. #. type: deffn
  14308. #: guix-git/doc/guix.texi:9060
  14309. 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."
  14310. msgstr ""
  14311. #. type: deffn
  14312. #: guix-git/doc/guix.texi:9067
  14313. 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."
  14314. msgstr ""
  14315. #. type: deffn
  14316. #: guix-git/doc/guix.texi:9072
  14317. 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."
  14318. msgstr ""
  14319. #. type: deffn
  14320. #: guix-git/doc/guix.texi:9077
  14321. 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."
  14322. msgstr ""
  14323. #. type: deffn
  14324. #: guix-git/doc/guix.texi:9080
  14325. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14326. msgstr ""
  14327. #. type: Plain text
  14328. #: guix-git/doc/guix.texi:9086
  14329. 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:"
  14330. msgstr ""
  14331. #. type: lisp
  14332. #: guix-git/doc/guix.texi:9091
  14333. #, no-wrap
  14334. msgid ""
  14335. "(use-modules (guix utils)\n"
  14336. " (guix store)\n"
  14337. " (guix derivations))\n"
  14338. "\n"
  14339. msgstr ""
  14340. #. type: lisp
  14341. #: guix-git/doc/guix.texi:9100
  14342. #, no-wrap
  14343. msgid ""
  14344. "(let ((builder ; add the Bash script to the store\n"
  14345. " (add-text-to-store store \"my-builder.sh\"\n"
  14346. " \"echo hello world > $out\\n\" '())))\n"
  14347. " (derivation store \"foo\"\n"
  14348. " bash `(\"-e\" ,builder)\n"
  14349. " #:inputs `((,bash) (,builder))\n"
  14350. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14351. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14352. msgstr ""
  14353. #. type: Plain text
  14354. #: guix-git/doc/guix.texi:9107
  14355. 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}."
  14356. msgstr ""
  14357. #. type: Plain text
  14358. #: guix-git/doc/guix.texi:9112
  14359. 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}."
  14360. msgstr ""
  14361. #. type: deffn
  14362. #: guix-git/doc/guix.texi:9113
  14363. #, no-wrap
  14364. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14365. msgstr ""
  14366. #. type: deffn
  14367. #: guix-git/doc/guix.texi:9129
  14368. 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))}."
  14369. msgstr ""
  14370. #. type: deffn
  14371. #: guix-git/doc/guix.texi:9137
  14372. 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."
  14373. msgstr ""
  14374. #. type: deffn
  14375. #: guix-git/doc/guix.texi:9141
  14376. 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."
  14377. msgstr ""
  14378. #. type: deffn
  14379. #: guix-git/doc/guix.texi:9146
  14380. 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?}."
  14381. msgstr ""
  14382. #. type: Plain text
  14383. #: guix-git/doc/guix.texi:9151
  14384. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14385. msgstr ""
  14386. #. type: lisp
  14387. #: guix-git/doc/guix.texi:9159
  14388. #, no-wrap
  14389. msgid ""
  14390. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14391. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14392. " (call-with-output-file (string-append out \"/test\")\n"
  14393. " (lambda (p)\n"
  14394. " (display '(hello guix) p))))))\n"
  14395. " (build-expression->derivation store \"goo\" builder))\n"
  14396. "\n"
  14397. msgstr ""
  14398. #. type: lisp
  14399. #: guix-git/doc/guix.texi:9161
  14400. #, no-wrap
  14401. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14402. msgstr ""
  14403. #. type: cindex
  14404. #: guix-git/doc/guix.texi:9167
  14405. #, no-wrap
  14406. msgid "monad"
  14407. msgstr ""
  14408. #. type: Plain text
  14409. #: guix-git/doc/guix.texi:9173
  14410. 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."
  14411. msgstr ""
  14412. #. type: Plain text
  14413. #: guix-git/doc/guix.texi:9179
  14414. 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."
  14415. msgstr ""
  14416. #. type: cindex
  14417. #: guix-git/doc/guix.texi:9180
  14418. #, no-wrap
  14419. msgid "monadic values"
  14420. msgstr ""
  14421. #. type: cindex
  14422. #: guix-git/doc/guix.texi:9181
  14423. #, no-wrap
  14424. msgid "monadic functions"
  14425. msgstr ""
  14426. #. type: Plain text
  14427. #: guix-git/doc/guix.texi:9191
  14428. 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}."
  14429. msgstr ""
  14430. #. type: Plain text
  14431. #: guix-git/doc/guix.texi:9193
  14432. msgid "Consider this ``normal'' procedure:"
  14433. msgstr ""
  14434. #. type: lisp
  14435. #: guix-git/doc/guix.texi:9202
  14436. #, no-wrap
  14437. msgid ""
  14438. "(define (sh-symlink store)\n"
  14439. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14440. " (let* ((drv (package-derivation store bash))\n"
  14441. " (out (derivation->output-path drv))\n"
  14442. " (sh (string-append out \"/bin/bash\")))\n"
  14443. " (build-expression->derivation store \"sh\"\n"
  14444. " `(symlink ,sh %output))))\n"
  14445. msgstr ""
  14446. #. type: Plain text
  14447. #: guix-git/doc/guix.texi:9206
  14448. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14449. msgstr ""
  14450. #. type: lisp
  14451. #: guix-git/doc/guix.texi:9214
  14452. #, no-wrap
  14453. msgid ""
  14454. "(define (sh-symlink)\n"
  14455. " ;; Same, but return a monadic value.\n"
  14456. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14457. " (gexp->derivation \"sh\"\n"
  14458. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  14459. " #$output))))\n"
  14460. msgstr ""
  14461. #. type: Plain text
  14462. #: guix-git/doc/guix.texi:9221
  14463. 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}."
  14464. msgstr ""
  14465. #. type: Plain text
  14466. #: guix-git/doc/guix.texi:9225
  14467. 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}):"
  14468. msgstr ""
  14469. #. type: lisp
  14470. #: guix-git/doc/guix.texi:9231
  14471. #, no-wrap
  14472. msgid ""
  14473. "(define (sh-symlink)\n"
  14474. " (gexp->derivation \"sh\"\n"
  14475. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  14476. " #$output)))\n"
  14477. msgstr ""
  14478. #. type: Plain text
  14479. #: guix-git/doc/guix.texi:9240
  14480. 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}:"
  14481. msgstr ""
  14482. #. type: lisp
  14483. #: guix-git/doc/guix.texi:9244
  14484. #, no-wrap
  14485. msgid ""
  14486. "(run-with-store (open-connection) (sh-symlink))\n"
  14487. "@result{} /gnu/store/...-sh-symlink\n"
  14488. msgstr ""
  14489. #. type: Plain text
  14490. #: guix-git/doc/guix.texi:9250
  14491. 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:"
  14492. msgstr ""
  14493. #. type: example
  14494. #: guix-git/doc/guix.texi:9254
  14495. #, no-wrap
  14496. msgid ""
  14497. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  14498. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14499. msgstr ""
  14500. #. type: Plain text
  14501. #: guix-git/doc/guix.texi:9258
  14502. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  14503. msgstr ""
  14504. #. type: example
  14505. #: guix-git/doc/guix.texi:9267
  14506. #, no-wrap
  14507. msgid ""
  14508. "scheme@@(guile-user)> ,enter-store-monad\n"
  14509. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  14510. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14511. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  14512. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  14513. "store-monad@@(guile-user) [1]> ,q\n"
  14514. "scheme@@(guile-user)>\n"
  14515. msgstr ""
  14516. #. type: Plain text
  14517. #: guix-git/doc/guix.texi:9272
  14518. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  14519. msgstr ""
  14520. #. type: Plain text
  14521. #: guix-git/doc/guix.texi:9275
  14522. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  14523. msgstr ""
  14524. #. type: deffn
  14525. #: guix-git/doc/guix.texi:9276
  14526. #, no-wrap
  14527. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  14528. msgstr ""
  14529. #. type: deffn
  14530. #: guix-git/doc/guix.texi:9279
  14531. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  14532. msgstr ""
  14533. #. type: deffn
  14534. #: guix-git/doc/guix.texi:9281
  14535. #, no-wrap
  14536. msgid "{Scheme Syntax} return @var{val}"
  14537. msgstr ""
  14538. #. type: deffn
  14539. #: guix-git/doc/guix.texi:9283
  14540. msgid "Return a monadic value that encapsulates @var{val}."
  14541. msgstr ""
  14542. #. type: deffn
  14543. #: guix-git/doc/guix.texi:9285
  14544. #, no-wrap
  14545. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14546. msgstr ""
  14547. #. type: deffn
  14548. #: guix-git/doc/guix.texi:9292
  14549. 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:"
  14550. msgstr ""
  14551. #. type: lisp
  14552. #: guix-git/doc/guix.texi:9300
  14553. #, no-wrap
  14554. msgid ""
  14555. "(run-with-state\n"
  14556. " (with-monad %state-monad\n"
  14557. " (>>= (return 1)\n"
  14558. " (lambda (x) (return (+ 1 x)))\n"
  14559. " (lambda (x) (return (* 2 x)))))\n"
  14560. " 'some-state)\n"
  14561. "\n"
  14562. msgstr ""
  14563. #. type: lisp
  14564. #: guix-git/doc/guix.texi:9303
  14565. #, no-wrap
  14566. msgid ""
  14567. "@result{} 4\n"
  14568. "@result{} some-state\n"
  14569. msgstr ""
  14570. #. type: deffn
  14571. #: guix-git/doc/guix.texi:9306
  14572. #, no-wrap
  14573. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14574. msgstr ""
  14575. #. type: deffn
  14576. #: guix-git/doc/guix.texi:9308
  14577. msgid "@var{body} ..."
  14578. msgstr ""
  14579. #. type: deffnx
  14580. #: guix-git/doc/guix.texi:9308
  14581. #, no-wrap
  14582. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14583. msgstr ""
  14584. #. type: deffn
  14585. #: guix-git/doc/guix.texi:9320
  14586. 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}."
  14587. msgstr ""
  14588. #. type: deffn
  14589. #: guix-git/doc/guix.texi:9323
  14590. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14591. msgstr ""
  14592. #. type: deffn
  14593. #: guix-git/doc/guix.texi:9325
  14594. #, no-wrap
  14595. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14596. msgstr ""
  14597. #. type: deffn
  14598. #: guix-git/doc/guix.texi:9329
  14599. 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."
  14600. msgstr ""
  14601. #. type: deffn
  14602. #: guix-git/doc/guix.texi:9333
  14603. 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."
  14604. msgstr ""
  14605. #. type: deffn
  14606. #: guix-git/doc/guix.texi:9335
  14607. #, no-wrap
  14608. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14609. msgstr ""
  14610. #. type: deffn
  14611. #: guix-git/doc/guix.texi:9340
  14612. 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."
  14613. msgstr ""
  14614. #. type: deffn
  14615. #: guix-git/doc/guix.texi:9342
  14616. #, no-wrap
  14617. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14618. msgstr ""
  14619. #. type: deffn
  14620. #: guix-git/doc/guix.texi:9347
  14621. 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."
  14622. msgstr ""
  14623. #. type: cindex
  14624. #: guix-git/doc/guix.texi:9349
  14625. #, no-wrap
  14626. msgid "state monad"
  14627. msgstr ""
  14628. #. type: Plain text
  14629. #: guix-git/doc/guix.texi:9353
  14630. 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."
  14631. msgstr ""
  14632. #. type: defvr
  14633. #: guix-git/doc/guix.texi:9354
  14634. #, no-wrap
  14635. msgid "{Scheme Variable} %state-monad"
  14636. msgstr ""
  14637. #. type: defvr
  14638. #: guix-git/doc/guix.texi:9357
  14639. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14640. msgstr ""
  14641. #. type: defvr
  14642. #: guix-git/doc/guix.texi:9361
  14643. 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:"
  14644. msgstr ""
  14645. #. type: lisp
  14646. #: guix-git/doc/guix.texi:9368
  14647. #, no-wrap
  14648. msgid ""
  14649. "(define (square x)\n"
  14650. " (mlet %state-monad ((count (current-state)))\n"
  14651. " (mbegin %state-monad\n"
  14652. " (set-current-state (+ 1 count))\n"
  14653. " (return (* x x)))))\n"
  14654. "\n"
  14655. msgstr ""
  14656. #. type: lisp
  14657. #: guix-git/doc/guix.texi:9372
  14658. #, no-wrap
  14659. msgid ""
  14660. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14661. "@result{} (0 1 4)\n"
  14662. "@result{} 3\n"
  14663. msgstr ""
  14664. #. type: defvr
  14665. #: guix-git/doc/guix.texi:9376
  14666. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14667. msgstr ""
  14668. #. type: deffn
  14669. #: guix-git/doc/guix.texi:9378
  14670. #, no-wrap
  14671. msgid "{Monadic Procedure} current-state"
  14672. msgstr ""
  14673. #. type: deffn
  14674. #: guix-git/doc/guix.texi:9380
  14675. msgid "Return the current state as a monadic value."
  14676. msgstr ""
  14677. #. type: deffn
  14678. #: guix-git/doc/guix.texi:9382
  14679. #, no-wrap
  14680. msgid "{Monadic Procedure} set-current-state @var{value}"
  14681. msgstr ""
  14682. #. type: deffn
  14683. #: guix-git/doc/guix.texi:9385
  14684. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14685. msgstr ""
  14686. #. type: deffn
  14687. #: guix-git/doc/guix.texi:9387
  14688. #, no-wrap
  14689. msgid "{Monadic Procedure} state-push @var{value}"
  14690. msgstr ""
  14691. #. type: deffn
  14692. #: guix-git/doc/guix.texi:9390
  14693. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14694. msgstr ""
  14695. #. type: deffn
  14696. #: guix-git/doc/guix.texi:9392
  14697. #, no-wrap
  14698. msgid "{Monadic Procedure} state-pop"
  14699. msgstr ""
  14700. #. type: deffn
  14701. #: guix-git/doc/guix.texi:9395
  14702. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14703. msgstr ""
  14704. #. type: deffn
  14705. #: guix-git/doc/guix.texi:9397
  14706. #, no-wrap
  14707. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14708. msgstr ""
  14709. #. type: deffn
  14710. #: guix-git/doc/guix.texi:9400
  14711. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14712. msgstr ""
  14713. #. type: Plain text
  14714. #: guix-git/doc/guix.texi:9404
  14715. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14716. msgstr ""
  14717. #. type: defvr
  14718. #: guix-git/doc/guix.texi:9405
  14719. #, no-wrap
  14720. msgid "{Scheme Variable} %store-monad"
  14721. msgstr ""
  14722. #. type: defvr
  14723. #: guix-git/doc/guix.texi:9407
  14724. msgid "The store monad---an alias for @code{%state-monad}."
  14725. msgstr ""
  14726. #. type: defvr
  14727. #: guix-git/doc/guix.texi:9411
  14728. 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)."
  14729. msgstr ""
  14730. #. type: deffn
  14731. #: guix-git/doc/guix.texi:9413
  14732. #, no-wrap
  14733. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14734. msgstr ""
  14735. #. type: deffn
  14736. #: guix-git/doc/guix.texi:9416
  14737. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14738. msgstr ""
  14739. #. type: deffn
  14740. #: guix-git/doc/guix.texi:9418
  14741. #, no-wrap
  14742. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14743. msgstr ""
  14744. #. type: deffn
  14745. #: guix-git/doc/guix.texi:9422
  14746. 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."
  14747. msgstr ""
  14748. #. type: deffn
  14749. #: guix-git/doc/guix.texi:9424
  14750. #, no-wrap
  14751. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14752. msgstr ""
  14753. #. type: deffn
  14754. #: guix-git/doc/guix.texi:9428
  14755. 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."
  14756. msgstr ""
  14757. #. type: deffn
  14758. #: guix-git/doc/guix.texi:9430
  14759. #, no-wrap
  14760. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14761. msgstr ""
  14762. #. type: deffn
  14763. #: guix-git/doc/guix.texi:9435
  14764. 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."
  14765. msgstr ""
  14766. #. type: deffn
  14767. #: guix-git/doc/guix.texi:9439 guix-git/doc/guix.texi:9862
  14768. 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."
  14769. msgstr ""
  14770. #. type: deffn
  14771. #: guix-git/doc/guix.texi:9444 guix-git/doc/guix.texi:9867
  14772. 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."
  14773. msgstr ""
  14774. #. type: deffn
  14775. #: guix-git/doc/guix.texi:9446
  14776. msgid "The example below adds a file to the store, under two different names:"
  14777. msgstr ""
  14778. #. type: lisp
  14779. #: guix-git/doc/guix.texi:9452
  14780. #, no-wrap
  14781. msgid ""
  14782. "(run-with-store (open-connection)\n"
  14783. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14784. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14785. " (return (list a b))))\n"
  14786. "\n"
  14787. msgstr ""
  14788. #. type: lisp
  14789. #: guix-git/doc/guix.texi:9454
  14790. #, no-wrap
  14791. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14792. msgstr ""
  14793. #. type: Plain text
  14794. #: guix-git/doc/guix.texi:9460
  14795. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14796. msgstr ""
  14797. #. type: deffn
  14798. #: guix-git/doc/guix.texi:9461
  14799. #, no-wrap
  14800. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14801. msgstr ""
  14802. #. type: deffn
  14803. #: guix-git/doc/guix.texi:9469
  14804. 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."
  14805. msgstr ""
  14806. #. type: deffn
  14807. #: guix-git/doc/guix.texi:9473
  14808. 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."
  14809. msgstr ""
  14810. #. type: deffn
  14811. #: guix-git/doc/guix.texi:9475
  14812. #, no-wrap
  14813. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14814. msgstr ""
  14815. #. type: deffnx
  14816. #: guix-git/doc/guix.texi:9476
  14817. #, no-wrap
  14818. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14819. msgstr ""
  14820. #. type: deffn
  14821. #: guix-git/doc/guix.texi:9480
  14822. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14823. msgstr ""
  14824. #. type: cindex
  14825. #: guix-git/doc/guix.texi:9486
  14826. #, no-wrap
  14827. msgid "G-expression"
  14828. msgstr ""
  14829. #. type: cindex
  14830. #: guix-git/doc/guix.texi:9487
  14831. #, no-wrap
  14832. msgid "build code quoting"
  14833. msgstr ""
  14834. #. type: Plain text
  14835. #: guix-git/doc/guix.texi:9493
  14836. 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})."
  14837. msgstr ""
  14838. #. type: cindex
  14839. #: guix-git/doc/guix.texi:9496
  14840. #, no-wrap
  14841. msgid "strata of code"
  14842. msgstr ""
  14843. #. type: Plain text
  14844. #: guix-git/doc/guix.texi:9508
  14845. 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})."
  14846. msgstr ""
  14847. #. type: Plain text
  14848. #: guix-git/doc/guix.texi:9515
  14849. 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."
  14850. msgstr ""
  14851. #. type: Plain text
  14852. #: guix-git/doc/guix.texi:9524
  14853. 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:"
  14854. msgstr ""
  14855. #. type: itemize
  14856. #: guix-git/doc/guix.texi:9529
  14857. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14858. msgstr ""
  14859. #. type: itemize
  14860. #: guix-git/doc/guix.texi:9534
  14861. 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."
  14862. msgstr ""
  14863. #. type: itemize
  14864. #: guix-git/doc/guix.texi:9539
  14865. 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."
  14866. msgstr ""
  14867. #. type: cindex
  14868. #: guix-git/doc/guix.texi:9541 guix-git/doc/guix.texi:10098
  14869. #, no-wrap
  14870. msgid "lowering, of high-level objects in gexps"
  14871. msgstr ""
  14872. #. type: Plain text
  14873. #: guix-git/doc/guix.texi:9551
  14874. 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)."
  14875. msgstr ""
  14876. #. type: Plain text
  14877. #: guix-git/doc/guix.texi:9553
  14878. msgid "To illustrate the idea, here is an example of a gexp:"
  14879. msgstr ""
  14880. #. type: lisp
  14881. #: guix-git/doc/guix.texi:9561
  14882. #, no-wrap
  14883. msgid ""
  14884. "(define build-exp\n"
  14885. " #~(begin\n"
  14886. " (mkdir #$output)\n"
  14887. " (chdir #$output)\n"
  14888. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14889. " \"list-files\")))\n"
  14890. msgstr ""
  14891. #. type: Plain text
  14892. #: guix-git/doc/guix.texi:9566
  14893. 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}:"
  14894. msgstr ""
  14895. #. type: lisp
  14896. #: guix-git/doc/guix.texi:9569
  14897. #, no-wrap
  14898. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14899. msgstr ""
  14900. #. type: Plain text
  14901. #: guix-git/doc/guix.texi:9577
  14902. 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."
  14903. msgstr ""
  14904. #. type: cindex
  14905. #: guix-git/doc/guix.texi:9578
  14906. #, no-wrap
  14907. msgid "cross compilation"
  14908. msgstr ""
  14909. #. type: Plain text
  14910. #: guix-git/doc/guix.texi:9584
  14911. 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:"
  14912. msgstr ""
  14913. #. type: lisp
  14914. #: guix-git/doc/guix.texi:9595
  14915. #, no-wrap
  14916. msgid ""
  14917. "(gexp->derivation \"vi\"\n"
  14918. " #~(begin\n"
  14919. " (mkdir #$output)\n"
  14920. " (mkdir (string-append #$output \"/bin\"))\n"
  14921. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14922. " \"-s\"\n"
  14923. " (string-append #$emacs \"/bin/emacs\")\n"
  14924. " (string-append #$output \"/bin/vi\")))\n"
  14925. " #:target \"aarch64-linux-gnu\")\n"
  14926. msgstr ""
  14927. #. type: Plain text
  14928. #: guix-git/doc/guix.texi:9601
  14929. 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."
  14930. msgstr ""
  14931. #. type: cindex
  14932. #: guix-git/doc/guix.texi:9602
  14933. #, no-wrap
  14934. msgid "imported modules, for gexps"
  14935. msgstr ""
  14936. #. type: findex
  14937. #: guix-git/doc/guix.texi:9603
  14938. #, no-wrap
  14939. msgid "with-imported-modules"
  14940. msgstr ""
  14941. #. type: Plain text
  14942. #: guix-git/doc/guix.texi:9608
  14943. 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:"
  14944. msgstr ""
  14945. #. type: lisp
  14946. #: guix-git/doc/guix.texi:9619
  14947. #, no-wrap
  14948. msgid ""
  14949. "(let ((build (with-imported-modules '((guix build utils))\n"
  14950. " #~(begin\n"
  14951. " (use-modules (guix build utils))\n"
  14952. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14953. " (gexp->derivation \"empty-dir\"\n"
  14954. " #~(begin\n"
  14955. " #$build\n"
  14956. " (display \"success!\\n\")\n"
  14957. " #t)))\n"
  14958. msgstr ""
  14959. #. type: Plain text
  14960. #: guix-git/doc/guix.texi:9625
  14961. 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."
  14962. msgstr ""
  14963. #. type: cindex
  14964. #: guix-git/doc/guix.texi:9626
  14965. #, no-wrap
  14966. msgid "module closure"
  14967. msgstr ""
  14968. #. type: findex
  14969. #: guix-git/doc/guix.texi:9627
  14970. #, no-wrap
  14971. msgid "source-module-closure"
  14972. msgstr ""
  14973. #. type: Plain text
  14974. #: guix-git/doc/guix.texi:9634
  14975. 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:"
  14976. msgstr ""
  14977. #. type: lisp
  14978. #: guix-git/doc/guix.texi:9637
  14979. #, no-wrap
  14980. msgid ""
  14981. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14982. "\n"
  14983. msgstr ""
  14984. #. type: lisp
  14985. #: guix-git/doc/guix.texi:9646
  14986. #, no-wrap
  14987. msgid ""
  14988. "(with-imported-modules (source-module-closure\n"
  14989. " '((guix build utils)\n"
  14990. " (gnu build vm)))\n"
  14991. " (gexp->derivation \"something-with-vms\"\n"
  14992. " #~(begin\n"
  14993. " (use-modules (guix build utils)\n"
  14994. " (gnu build vm))\n"
  14995. " @dots{})))\n"
  14996. msgstr ""
  14997. #. type: cindex
  14998. #: guix-git/doc/guix.texi:9648
  14999. #, no-wrap
  15000. msgid "extensions, for gexps"
  15001. msgstr ""
  15002. #. type: findex
  15003. #: guix-git/doc/guix.texi:9649
  15004. #, no-wrap
  15005. msgid "with-extensions"
  15006. msgstr ""
  15007. #. type: Plain text
  15008. #: guix-git/doc/guix.texi:9654
  15009. 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:"
  15010. msgstr ""
  15011. #. type: lisp
  15012. #: guix-git/doc/guix.texi:9657
  15013. #, no-wrap
  15014. msgid ""
  15015. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  15016. "\n"
  15017. msgstr ""
  15018. #. type: lisp
  15019. #: guix-git/doc/guix.texi:9663
  15020. #, no-wrap
  15021. msgid ""
  15022. "(with-extensions (list guile-json)\n"
  15023. " (gexp->derivation \"something-with-json\"\n"
  15024. " #~(begin\n"
  15025. " (use-modules (json))\n"
  15026. " @dots{})))\n"
  15027. msgstr ""
  15028. #. type: Plain text
  15029. #: guix-git/doc/guix.texi:9666
  15030. msgid "The syntactic form to construct gexps is summarized below."
  15031. msgstr ""
  15032. #. type: deffn
  15033. #: guix-git/doc/guix.texi:9667
  15034. #, no-wrap
  15035. msgid "{Scheme Syntax} #~@var{exp}"
  15036. msgstr ""
  15037. #. type: deffnx
  15038. #: guix-git/doc/guix.texi:9668
  15039. #, no-wrap
  15040. msgid "{Scheme Syntax} (gexp @var{exp})"
  15041. msgstr ""
  15042. #. type: deffn
  15043. #: guix-git/doc/guix.texi:9671
  15044. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  15045. msgstr ""
  15046. #. type: item
  15047. #: guix-git/doc/guix.texi:9673
  15048. #, no-wrap
  15049. msgid "#$@var{obj}"
  15050. msgstr ""
  15051. #. type: itemx
  15052. #: guix-git/doc/guix.texi:9674
  15053. #, no-wrap
  15054. msgid "(ungexp @var{obj})"
  15055. msgstr ""
  15056. #. type: table
  15057. #: guix-git/doc/guix.texi:9679
  15058. 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}."
  15059. msgstr ""
  15060. #. type: table
  15061. #: guix-git/doc/guix.texi:9682
  15062. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  15063. msgstr ""
  15064. #. type: table
  15065. #: guix-git/doc/guix.texi:9685
  15066. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  15067. msgstr ""
  15068. #. type: table
  15069. #: guix-git/doc/guix.texi:9687
  15070. msgid "If @var{obj} is another kind of object, it is inserted as is."
  15071. msgstr ""
  15072. #. type: item
  15073. #: guix-git/doc/guix.texi:9688
  15074. #, no-wrap
  15075. msgid "#$@var{obj}:@var{output}"
  15076. msgstr ""
  15077. #. type: itemx
  15078. #: guix-git/doc/guix.texi:9689
  15079. #, no-wrap
  15080. msgid "(ungexp @var{obj} @var{output})"
  15081. msgstr ""
  15082. #. type: table
  15083. #: guix-git/doc/guix.texi:9693
  15084. 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})."
  15085. msgstr ""
  15086. #. type: item
  15087. #: guix-git/doc/guix.texi:9694
  15088. #, no-wrap
  15089. msgid "#+@var{obj}"
  15090. msgstr ""
  15091. #. type: itemx
  15092. #: guix-git/doc/guix.texi:9695
  15093. #, no-wrap
  15094. msgid "#+@var{obj}:output"
  15095. msgstr ""
  15096. #. type: itemx
  15097. #: guix-git/doc/guix.texi:9696
  15098. #, no-wrap
  15099. msgid "(ungexp-native @var{obj})"
  15100. msgstr ""
  15101. #. type: itemx
  15102. #: guix-git/doc/guix.texi:9697
  15103. #, no-wrap
  15104. msgid "(ungexp-native @var{obj} @var{output})"
  15105. msgstr ""
  15106. #. type: table
  15107. #: guix-git/doc/guix.texi:9700
  15108. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15109. msgstr ""
  15110. #. type: item
  15111. #: guix-git/doc/guix.texi:9701
  15112. #, no-wrap
  15113. msgid "#$output[:@var{output}]"
  15114. msgstr ""
  15115. #. type: itemx
  15116. #: guix-git/doc/guix.texi:9702
  15117. #, no-wrap
  15118. msgid "(ungexp output [@var{output}])"
  15119. msgstr ""
  15120. #. type: table
  15121. #: guix-git/doc/guix.texi:9705
  15122. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15123. msgstr ""
  15124. #. type: table
  15125. #: guix-git/doc/guix.texi:9707
  15126. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15127. msgstr ""
  15128. #. type: item
  15129. #: guix-git/doc/guix.texi:9708
  15130. #, no-wrap
  15131. msgid "#$@@@var{lst}"
  15132. msgstr ""
  15133. #. type: itemx
  15134. #: guix-git/doc/guix.texi:9709
  15135. #, no-wrap
  15136. msgid "(ungexp-splicing @var{lst})"
  15137. msgstr ""
  15138. #. type: table
  15139. #: guix-git/doc/guix.texi:9712
  15140. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15141. msgstr ""
  15142. #. type: item
  15143. #: guix-git/doc/guix.texi:9713
  15144. #, no-wrap
  15145. msgid "#+@@@var{lst}"
  15146. msgstr ""
  15147. #. type: itemx
  15148. #: guix-git/doc/guix.texi:9714
  15149. #, no-wrap
  15150. msgid "(ungexp-native-splicing @var{lst})"
  15151. msgstr ""
  15152. #. type: table
  15153. #: guix-git/doc/guix.texi:9717
  15154. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15155. msgstr ""
  15156. #. type: deffn
  15157. #: guix-git/doc/guix.texi:9722
  15158. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15159. msgstr ""
  15160. #. type: deffn
  15161. #: guix-git/doc/guix.texi:9724
  15162. #, no-wrap
  15163. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15164. msgstr ""
  15165. #. type: deffn
  15166. #: guix-git/doc/guix.texi:9727
  15167. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15168. msgstr ""
  15169. #. type: deffn
  15170. #: guix-git/doc/guix.texi:9731
  15171. 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:"
  15172. msgstr ""
  15173. #. type: lisp
  15174. #: guix-git/doc/guix.texi:9737
  15175. #, no-wrap
  15176. msgid ""
  15177. "`((guix build utils)\n"
  15178. " (guix gcrypt)\n"
  15179. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15180. " #~(define-module @dots{}))))\n"
  15181. msgstr ""
  15182. #. type: deffn
  15183. #: guix-git/doc/guix.texi:9742
  15184. 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."
  15185. msgstr ""
  15186. #. type: deffn
  15187. #: guix-git/doc/guix.texi:9746
  15188. 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{}."
  15189. msgstr ""
  15190. #. type: deffn
  15191. #: guix-git/doc/guix.texi:9748
  15192. #, no-wrap
  15193. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15194. msgstr ""
  15195. #. type: deffn
  15196. #: guix-git/doc/guix.texi:9753
  15197. 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."
  15198. msgstr ""
  15199. #. type: deffn
  15200. #: guix-git/doc/guix.texi:9758
  15201. 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{}."
  15202. msgstr ""
  15203. #. type: deffn
  15204. #: guix-git/doc/guix.texi:9760
  15205. #, no-wrap
  15206. msgid "{Scheme Procedure} gexp? @var{obj}"
  15207. msgstr ""
  15208. #. type: deffn
  15209. #: guix-git/doc/guix.texi:9762
  15210. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15211. msgstr ""
  15212. #. type: Plain text
  15213. #: guix-git/doc/guix.texi:9768
  15214. 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)."
  15215. msgstr ""
  15216. #. type: deffn
  15217. #: guix-git/doc/guix.texi:9769
  15218. #, no-wrap
  15219. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15220. msgstr ""
  15221. #. type: deffn
  15222. #: guix-git/doc/guix.texi:9787
  15223. 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}."
  15224. msgstr ""
  15225. #. type: deffn
  15226. #: guix-git/doc/guix.texi:9795
  15227. 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))}."
  15228. msgstr ""
  15229. #. type: deffn
  15230. #: guix-git/doc/guix.texi:9798
  15231. 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\"}."
  15232. msgstr ""
  15233. #. type: deffn
  15234. #: guix-git/doc/guix.texi:9801
  15235. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15236. msgstr ""
  15237. #. type: deffn
  15238. #: guix-git/doc/guix.texi:9804
  15239. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15240. msgstr ""
  15241. #. type: example
  15242. #: guix-git/doc/guix.texi:9811
  15243. #, no-wrap
  15244. msgid ""
  15245. "(@var{file-name} @var{package})\n"
  15246. "(@var{file-name} @var{package} @var{output})\n"
  15247. "(@var{file-name} @var{derivation})\n"
  15248. "(@var{file-name} @var{derivation} @var{output})\n"
  15249. "(@var{file-name} @var{store-item})\n"
  15250. msgstr ""
  15251. #. type: deffn
  15252. #: guix-git/doc/guix.texi:9817
  15253. 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."
  15254. msgstr ""
  15255. #. type: deffn
  15256. #: guix-git/doc/guix.texi:9823
  15257. 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."
  15258. msgstr ""
  15259. #. type: deffn
  15260. #: guix-git/doc/guix.texi:9826
  15261. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15262. msgstr ""
  15263. #. type: deffn
  15264. #: guix-git/doc/guix.texi:9828
  15265. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15266. msgstr ""
  15267. #. type: cindex
  15268. #: guix-git/doc/guix.texi:9830
  15269. #, no-wrap
  15270. msgid "file-like objects"
  15271. msgstr ""
  15272. #. type: Plain text
  15273. #: guix-git/doc/guix.texi:9835
  15274. 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:"
  15275. msgstr ""
  15276. #. type: lisp
  15277. #: guix-git/doc/guix.texi:9839
  15278. #, no-wrap
  15279. msgid ""
  15280. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15281. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15282. msgstr ""
  15283. #. type: Plain text
  15284. #: guix-git/doc/guix.texi:9848
  15285. 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."
  15286. msgstr ""
  15287. #. type: deffn
  15288. #: guix-git/doc/guix.texi:9849
  15289. #, no-wrap
  15290. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15291. msgstr ""
  15292. #. type: deffn
  15293. #: guix-git/doc/guix.texi:9858
  15294. 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}."
  15295. msgstr ""
  15296. #. type: deffn
  15297. #: guix-git/doc/guix.texi:9870
  15298. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15299. msgstr ""
  15300. #. type: deffn
  15301. #: guix-git/doc/guix.texi:9872
  15302. #, no-wrap
  15303. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15304. msgstr ""
  15305. #. type: deffn
  15306. #: guix-git/doc/guix.texi:9875
  15307. 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."
  15308. msgstr ""
  15309. #. type: deffn
  15310. #: guix-git/doc/guix.texi:9877
  15311. msgid "This is the declarative counterpart of @code{text-file}."
  15312. msgstr ""
  15313. #. type: deffn
  15314. #: guix-git/doc/guix.texi:9879
  15315. #, no-wrap
  15316. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15317. msgstr ""
  15318. #. type: deffn
  15319. #: guix-git/doc/guix.texi:9886
  15320. 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}."
  15321. msgstr ""
  15322. #. type: deffn
  15323. #: guix-git/doc/guix.texi:9888
  15324. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15325. msgstr ""
  15326. #. type: deffn
  15327. #: guix-git/doc/guix.texi:9890
  15328. #, no-wrap
  15329. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9896
  15333. 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}."
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9899
  15337. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15338. msgstr ""
  15339. #. type: lisp
  15340. #: guix-git/doc/guix.texi:9902
  15341. #, no-wrap
  15342. msgid ""
  15343. "(use-modules (guix gexp) (gnu packages base))\n"
  15344. "\n"
  15345. msgstr ""
  15346. #. type: lisp
  15347. #: guix-git/doc/guix.texi:9906
  15348. #, no-wrap
  15349. msgid ""
  15350. "(gexp->script \"list-files\"\n"
  15351. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15352. " \"ls\"))\n"
  15353. msgstr ""
  15354. #. type: deffn
  15355. #: guix-git/doc/guix.texi:9911
  15356. 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:"
  15357. msgstr ""
  15358. #. type: example
  15359. #: guix-git/doc/guix.texi:9916
  15360. #, no-wrap
  15361. msgid ""
  15362. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15363. "!#\n"
  15364. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15365. msgstr ""
  15366. #. type: deffn
  15367. #: guix-git/doc/guix.texi:9919
  15368. #, no-wrap
  15369. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15370. msgstr ""
  15371. #. type: deffn
  15372. #: guix-git/doc/guix.texi:9924
  15373. 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}."
  15374. msgstr ""
  15375. #. type: deffn
  15376. #: guix-git/doc/guix.texi:9926
  15377. msgid "This is the declarative counterpart of @code{gexp->script}."
  15378. msgstr ""
  15379. #. type: deffn
  15380. #: guix-git/doc/guix.texi:9928
  15381. #, no-wrap
  15382. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15383. msgstr ""
  15384. #. type: deffn
  15385. #: guix-git/doc/guix.texi:9935
  15386. 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."
  15387. msgstr ""
  15388. #. type: deffn
  15389. #: guix-git/doc/guix.texi:9940
  15390. 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}."
  15391. msgstr ""
  15392. #. type: deffn
  15393. #: guix-git/doc/guix.texi:9943
  15394. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15395. msgstr ""
  15396. #. type: deffn
  15397. #: guix-git/doc/guix.texi:9945
  15398. #, no-wrap
  15399. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15400. msgstr ""
  15401. #. type: deffn
  15402. #: guix-git/doc/guix.texi:9949
  15403. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15404. msgstr ""
  15405. #. type: deffn
  15406. #: guix-git/doc/guix.texi:9951
  15407. msgid "This is the declarative counterpart of @code{gexp->file}."
  15408. msgstr ""
  15409. #. type: deffn
  15410. #: guix-git/doc/guix.texi:9953
  15411. #, no-wrap
  15412. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15413. msgstr ""
  15414. #. type: deffn
  15415. #: guix-git/doc/guix.texi:9959
  15416. 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."
  15417. msgstr ""
  15418. #. type: deffn
  15419. #: guix-git/doc/guix.texi:9964
  15420. 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:"
  15421. msgstr ""
  15422. #. type: lisp
  15423. #: guix-git/doc/guix.texi:9972
  15424. #, no-wrap
  15425. msgid ""
  15426. "(define (profile.sh)\n"
  15427. " ;; Return the name of a shell script in the store that\n"
  15428. " ;; initializes the 'PATH' environment variable.\n"
  15429. " (text-file* \"profile.sh\"\n"
  15430. " \"export PATH=\" coreutils \"/bin:\"\n"
  15431. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15432. msgstr ""
  15433. #. type: deffn
  15434. #: guix-git/doc/guix.texi:9977
  15435. 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."
  15436. msgstr ""
  15437. #. type: deffn
  15438. #: guix-git/doc/guix.texi:9979
  15439. #, no-wrap
  15440. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15441. msgstr ""
  15442. #. type: deffn
  15443. #: guix-git/doc/guix.texi:9983
  15444. 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:"
  15445. msgstr ""
  15446. #. type: lisp
  15447. #: guix-git/doc/guix.texi:9987
  15448. #, no-wrap
  15449. msgid ""
  15450. "(mixed-text-file \"profile\"\n"
  15451. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15452. msgstr ""
  15453. #. type: deffn
  15454. #: guix-git/doc/guix.texi:9990
  15455. msgid "This is the declarative counterpart of @code{text-file*}."
  15456. msgstr ""
  15457. #. type: deffn
  15458. #: guix-git/doc/guix.texi:9992
  15459. #, no-wrap
  15460. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  15461. msgstr ""
  15462. #. type: deffn
  15463. #: guix-git/doc/guix.texi:9997
  15464. 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:"
  15465. msgstr ""
  15466. #. type: lisp
  15467. #: guix-git/doc/guix.texi:10004
  15468. #, no-wrap
  15469. msgid ""
  15470. "(file-union \"etc\"\n"
  15471. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  15472. " \"127.0.0.1 localhost\"))\n"
  15473. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  15474. " \"alias ls='ls --color=auto'\"))))\n"
  15475. msgstr ""
  15476. #. type: deffn
  15477. #: guix-git/doc/guix.texi:10007
  15478. msgid "This yields an @code{etc} directory containing these two files."
  15479. msgstr ""
  15480. #. type: deffn
  15481. #: guix-git/doc/guix.texi:10009
  15482. #, no-wrap
  15483. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  15484. msgstr ""
  15485. #. type: deffn
  15486. #: guix-git/doc/guix.texi:10012
  15487. 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:"
  15488. msgstr ""
  15489. #. type: lisp
  15490. #: guix-git/doc/guix.texi:10015
  15491. #, no-wrap
  15492. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  15493. msgstr ""
  15494. #. type: deffn
  15495. #: guix-git/doc/guix.texi:10018
  15496. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  15497. msgstr ""
  15498. #. type: deffn
  15499. #: guix-git/doc/guix.texi:10020
  15500. #, no-wrap
  15501. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  15502. msgstr ""
  15503. #. type: deffn
  15504. #: guix-git/doc/guix.texi:10024
  15505. 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."
  15506. msgstr ""
  15507. #. type: deffn
  15508. #: guix-git/doc/guix.texi:10026
  15509. msgid "As an example, consider this gexp:"
  15510. msgstr ""
  15511. #. type: lisp
  15512. #: guix-git/doc/guix.texi:10031
  15513. #, no-wrap
  15514. msgid ""
  15515. "(gexp->script \"run-uname\"\n"
  15516. " #~(system* #$(file-append coreutils\n"
  15517. " \"/bin/uname\")))\n"
  15518. msgstr ""
  15519. #. type: deffn
  15520. #: guix-git/doc/guix.texi:10034
  15521. msgid "The same effect could be achieved with:"
  15522. msgstr ""
  15523. #. type: lisp
  15524. #: guix-git/doc/guix.texi:10039
  15525. #, no-wrap
  15526. msgid ""
  15527. "(gexp->script \"run-uname\"\n"
  15528. " #~(system* (string-append #$coreutils\n"
  15529. " \"/bin/uname\")))\n"
  15530. msgstr ""
  15531. #. type: deffn
  15532. #: guix-git/doc/guix.texi:10045
  15533. 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}."
  15534. msgstr ""
  15535. #. type: deffn
  15536. #: guix-git/doc/guix.texi:10047
  15537. #, no-wrap
  15538. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15539. msgstr ""
  15540. #. type: deffnx
  15541. #: guix-git/doc/guix.texi:10048
  15542. #, no-wrap
  15543. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15544. msgstr ""
  15545. #. type: deffn
  15546. #: guix-git/doc/guix.texi:10051
  15547. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15548. msgstr ""
  15549. #. type: deffn
  15550. #: guix-git/doc/guix.texi:10056
  15551. 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."
  15552. msgstr ""
  15553. #. type: deffn
  15554. #: guix-git/doc/guix.texi:10059
  15555. 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:"
  15556. msgstr ""
  15557. #. type: lisp
  15558. #: guix-git/doc/guix.texi:10070
  15559. #, no-wrap
  15560. msgid ""
  15561. "#~(system*\n"
  15562. " #+(let-system system\n"
  15563. " (cond ((string-prefix? \"armhf-\" system)\n"
  15564. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15565. " ((string-prefix? \"x86_64-\" system)\n"
  15566. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15567. " (else\n"
  15568. " (error \"dunno!\"))))\n"
  15569. " \"-net\" \"user\" #$image)\n"
  15570. msgstr ""
  15571. #. type: deffn
  15572. #: guix-git/doc/guix.texi:10073
  15573. #, no-wrap
  15574. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15575. msgstr ""
  15576. #. type: deffn
  15577. #: guix-git/doc/guix.texi:10079
  15578. 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."
  15579. msgstr ""
  15580. #. type: deffn
  15581. #: guix-git/doc/guix.texi:10082
  15582. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15583. msgstr ""
  15584. #. type: lisp
  15585. #: guix-git/doc/guix.texi:10086
  15586. #, no-wrap
  15587. msgid ""
  15588. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15589. " coreutils)\n"
  15590. msgstr ""
  15591. #. type: deffn
  15592. #: guix-git/doc/guix.texi:10090
  15593. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15594. msgstr ""
  15595. #. type: Plain text
  15596. #: guix-git/doc/guix.texi:10097
  15597. 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."
  15598. msgstr ""
  15599. #. type: Plain text
  15600. #: guix-git/doc/guix.texi:10103
  15601. 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."
  15602. msgstr ""
  15603. #. type: deffn
  15604. #: guix-git/doc/guix.texi:10104
  15605. #, no-wrap
  15606. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15607. msgstr ""
  15608. #. type: deffn
  15609. #: guix-git/doc/guix.texi:10110
  15610. 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>}."
  15611. msgstr ""
  15612. #. type: deffn
  15613. #: guix-git/doc/guix.texi:10112
  15614. #, no-wrap
  15615. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  15616. msgstr ""
  15617. #. type: deffn
  15618. #: guix-git/doc/guix.texi:10120
  15619. 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."
  15620. msgstr ""
  15621. #. type: section
  15622. #: guix-git/doc/guix.texi:10123
  15623. #, no-wrap
  15624. msgid "Invoking @command{guix repl}"
  15625. msgstr ""
  15626. #. type: cindex
  15627. #: guix-git/doc/guix.texi:10125
  15628. #, no-wrap
  15629. msgid "REPL, read-eval-print loop, script"
  15630. msgstr ""
  15631. #. type: Plain text
  15632. #: guix-git/doc/guix.texi:10135
  15633. 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."
  15634. msgstr ""
  15635. #. type: example
  15636. #: guix-git/doc/guix.texi:10140
  15637. #, no-wrap
  15638. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15639. msgstr ""
  15640. #. type: Plain text
  15641. #: guix-git/doc/guix.texi:10144
  15642. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15643. msgstr ""
  15644. #. type: example
  15645. #: guix-git/doc/guix.texi:10147
  15646. #, no-wrap
  15647. msgid "guix repl my-script.scm\n"
  15648. msgstr ""
  15649. #. type: Plain text
  15650. #: guix-git/doc/guix.texi:10151
  15651. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15652. msgstr ""
  15653. #. type: example
  15654. #: guix-git/doc/guix.texi:10154
  15655. #, no-wrap
  15656. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15657. msgstr ""
  15658. #. type: Plain text
  15659. #: guix-git/doc/guix.texi:10159
  15660. 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:"
  15661. msgstr ""
  15662. #. type: example
  15663. #: guix-git/doc/guix.texi:10163
  15664. #, no-wrap
  15665. msgid ""
  15666. "@code{#!/usr/bin/env -S guix repl --}\n"
  15667. "@code{!#}\n"
  15668. msgstr ""
  15669. #. type: Plain text
  15670. #: guix-git/doc/guix.texi:10166
  15671. msgid "Without a file name argument, a Guile REPL is started:"
  15672. msgstr ""
  15673. #. type: example
  15674. #: guix-git/doc/guix.texi:10172
  15675. #, no-wrap
  15676. msgid ""
  15677. "$ guix repl\n"
  15678. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15679. "scheme@@(guile-user)> coreutils\n"
  15680. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15681. msgstr ""
  15682. #. type: Plain text
  15683. #: guix-git/doc/guix.texi:10179
  15684. 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."
  15685. msgstr ""
  15686. #. type: Plain text
  15687. #: guix-git/doc/guix.texi:10181
  15688. msgid "The available options are as follows:"
  15689. msgstr ""
  15690. #. type: item
  15691. #: guix-git/doc/guix.texi:10183 guix-git/doc/guix.texi:12671
  15692. #, no-wrap
  15693. msgid "--type=@var{type}"
  15694. msgstr ""
  15695. #. type: itemx
  15696. #: guix-git/doc/guix.texi:10184 guix-git/doc/guix.texi:12672
  15697. #: guix-git/doc/guix.texi:34147
  15698. #, no-wrap
  15699. msgid "-t @var{type}"
  15700. msgstr ""
  15701. #. type: table
  15702. #: guix-git/doc/guix.texi:10186
  15703. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15704. msgstr ""
  15705. #. type: item
  15706. #: guix-git/doc/guix.texi:10188
  15707. #, no-wrap
  15708. msgid "guile"
  15709. msgstr ""
  15710. #. type: table
  15711. #: guix-git/doc/guix.texi:10190
  15712. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15713. msgstr ""
  15714. #. type: item
  15715. #: guix-git/doc/guix.texi:10190
  15716. #, no-wrap
  15717. msgid "machine"
  15718. msgstr ""
  15719. #. type: table
  15720. #: guix-git/doc/guix.texi:10193
  15721. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15722. msgstr ""
  15723. #. type: table
  15724. #: guix-git/doc/guix.texi:10199
  15725. 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:"
  15726. msgstr ""
  15727. #. type: item
  15728. #: guix-git/doc/guix.texi:10201
  15729. #, no-wrap
  15730. msgid "--listen=tcp:37146"
  15731. msgstr ""
  15732. #. type: table
  15733. #: guix-git/doc/guix.texi:10203
  15734. msgid "Accept connections on localhost on port 37146."
  15735. msgstr ""
  15736. #. type: item
  15737. #: guix-git/doc/guix.texi:10204
  15738. #, no-wrap
  15739. msgid "--listen=unix:/tmp/socket"
  15740. msgstr ""
  15741. #. type: table
  15742. #: guix-git/doc/guix.texi:10206
  15743. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15744. msgstr ""
  15745. #. type: item
  15746. #: guix-git/doc/guix.texi:10208 guix-git/doc/guix.texi:10312
  15747. #: guix-git/doc/guix.texi:12126 guix-git/doc/guix.texi:12306
  15748. #: guix-git/doc/guix.texi:12451 guix-git/doc/guix.texi:12719
  15749. #, no-wrap
  15750. msgid "--load-path=@var{directory}"
  15751. msgstr ""
  15752. #. type: itemx
  15753. #: guix-git/doc/guix.texi:10209 guix-git/doc/guix.texi:10313
  15754. #: guix-git/doc/guix.texi:12307 guix-git/doc/guix.texi:12452
  15755. #: guix-git/doc/guix.texi:12720
  15756. #, no-wrap
  15757. msgid "-L @var{directory}"
  15758. msgstr ""
  15759. #. type: table
  15760. #: guix-git/doc/guix.texi:10212 guix-git/doc/guix.texi:10316
  15761. #: guix-git/doc/guix.texi:12129 guix-git/doc/guix.texi:12310
  15762. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12723
  15763. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15764. msgstr ""
  15765. #. type: table
  15766. #: guix-git/doc/guix.texi:10215
  15767. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15768. msgstr ""
  15769. #. type: itemx
  15770. #: guix-git/doc/guix.texi:10216 guix-git/doc/guix.texi:10776
  15771. #, no-wrap
  15772. msgid "-q"
  15773. msgstr ""
  15774. #. type: table
  15775. #: guix-git/doc/guix.texi:10219
  15776. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15777. msgstr ""
  15778. #. type: Plain text
  15779. #: guix-git/doc/guix.texi:10229
  15780. 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."
  15781. msgstr ""
  15782. #. type: cindex
  15783. #: guix-git/doc/guix.texi:10251
  15784. #, no-wrap
  15785. msgid "package building"
  15786. msgstr ""
  15787. #. type: command{#1}
  15788. #: guix-git/doc/guix.texi:10252
  15789. #, no-wrap
  15790. msgid "guix build"
  15791. msgstr ""
  15792. #. type: Plain text
  15793. #: guix-git/doc/guix.texi:10258
  15794. 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."
  15795. msgstr ""
  15796. #. type: example
  15797. #: guix-git/doc/guix.texi:10263
  15798. #, no-wrap
  15799. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15800. msgstr ""
  15801. #. type: Plain text
  15802. #: guix-git/doc/guix.texi:10268
  15803. 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:"
  15804. msgstr ""
  15805. #. type: example
  15806. #: guix-git/doc/guix.texi:10271
  15807. #, no-wrap
  15808. msgid "guix build emacs guile\n"
  15809. msgstr ""
  15810. #. type: Plain text
  15811. #: guix-git/doc/guix.texi:10274
  15812. msgid "Similarly, the following command builds all the available packages:"
  15813. msgstr ""
  15814. #. type: example
  15815. #: guix-git/doc/guix.texi:10278
  15816. #, no-wrap
  15817. msgid ""
  15818. "guix build --quiet --keep-going \\\n"
  15819. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  15820. msgstr ""
  15821. #. type: Plain text
  15822. #: guix-git/doc/guix.texi:10286
  15823. 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})."
  15824. msgstr ""
  15825. #. type: Plain text
  15826. #: guix-git/doc/guix.texi:10291
  15827. 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."
  15828. msgstr ""
  15829. #. type: Plain text
  15830. #: guix-git/doc/guix.texi:10294
  15831. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15832. msgstr ""
  15833. #. type: Plain text
  15834. #: guix-git/doc/guix.texi:10309
  15835. 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:"
  15836. msgstr ""
  15837. #. type: table
  15838. #: guix-git/doc/guix.texi:10319 guix-git/doc/guix.texi:12132
  15839. #: guix-git/doc/guix.texi:12313 guix-git/doc/guix.texi:12458
  15840. #: guix-git/doc/guix.texi:12726
  15841. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15842. msgstr ""
  15843. #. type: item
  15844. #: guix-git/doc/guix.texi:10320
  15845. #, no-wrap
  15846. msgid "--keep-failed"
  15847. msgstr ""
  15848. #. type: itemx
  15849. #: guix-git/doc/guix.texi:10321
  15850. #, no-wrap
  15851. msgid "-K"
  15852. msgstr ""
  15853. #. type: table
  15854. #: guix-git/doc/guix.texi:10327
  15855. 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."
  15856. msgstr ""
  15857. #. type: table
  15858. #: guix-git/doc/guix.texi:10331
  15859. 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})."
  15860. msgstr ""
  15861. #. type: item
  15862. #: guix-git/doc/guix.texi:10332
  15863. #, no-wrap
  15864. msgid "--keep-going"
  15865. msgstr ""
  15866. #. type: itemx
  15867. #: guix-git/doc/guix.texi:10333
  15868. #, no-wrap
  15869. msgid "-k"
  15870. msgstr ""
  15871. #. type: table
  15872. #: guix-git/doc/guix.texi:10336
  15873. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15874. msgstr ""
  15875. #. type: table
  15876. #: guix-git/doc/guix.texi:10339
  15877. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15878. msgstr ""
  15879. #. type: table
  15880. #: guix-git/doc/guix.texi:10343
  15881. msgid "Do not build the derivations."
  15882. msgstr ""
  15883. #. type: anchor{#1}
  15884. #: guix-git/doc/guix.texi:10345
  15885. msgid "fallback-option"
  15886. msgstr ""
  15887. #. type: item
  15888. #: guix-git/doc/guix.texi:10345
  15889. #, no-wrap
  15890. msgid "--fallback"
  15891. msgstr ""
  15892. #. type: table
  15893. #: guix-git/doc/guix.texi:10348
  15894. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15895. msgstr ""
  15896. #. type: anchor{#1}
  15897. #: guix-git/doc/guix.texi:10354
  15898. msgid "client-substitute-urls"
  15899. msgstr ""
  15900. #. type: table
  15901. #: guix-git/doc/guix.texi:10354
  15902. 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})."
  15903. msgstr ""
  15904. #. type: table
  15905. #: guix-git/doc/guix.texi:10358
  15906. 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})."
  15907. msgstr ""
  15908. #. type: table
  15909. #: guix-git/doc/guix.texi:10361
  15910. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15911. msgstr ""
  15912. #. type: item
  15913. #: guix-git/doc/guix.texi:10367
  15914. #, no-wrap
  15915. msgid "--no-grafts"
  15916. msgstr ""
  15917. #. type: table
  15918. #: guix-git/doc/guix.texi:10371
  15919. 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."
  15920. msgstr ""
  15921. #. type: item
  15922. #: guix-git/doc/guix.texi:10372
  15923. #, no-wrap
  15924. msgid "--rounds=@var{n}"
  15925. msgstr ""
  15926. #. type: table
  15927. #: guix-git/doc/guix.texi:10375
  15928. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15929. msgstr ""
  15930. #. type: table
  15931. #: guix-git/doc/guix.texi:10380
  15932. 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."
  15933. msgstr ""
  15934. #. type: table
  15935. #: guix-git/doc/guix.texi:10396
  15936. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15937. msgstr ""
  15938. #. type: table
  15939. #: guix-git/doc/guix.texi:10403
  15940. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15941. msgstr ""
  15942. #. type: cindex
  15943. #: guix-git/doc/guix.texi:10406
  15944. #, no-wrap
  15945. msgid "verbosity, of the command-line tools"
  15946. msgstr ""
  15947. #. type: cindex
  15948. #: guix-git/doc/guix.texi:10407
  15949. #, no-wrap
  15950. msgid "build logs, verbosity"
  15951. msgstr ""
  15952. #. type: item
  15953. #: guix-git/doc/guix.texi:10408
  15954. #, no-wrap
  15955. msgid "-v @var{level}"
  15956. msgstr ""
  15957. #. type: itemx
  15958. #: guix-git/doc/guix.texi:10409
  15959. #, no-wrap
  15960. msgid "--verbosity=@var{level}"
  15961. msgstr ""
  15962. #. type: table
  15963. #: guix-git/doc/guix.texi:10414
  15964. 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."
  15965. msgstr ""
  15966. #. type: table
  15967. #: guix-git/doc/guix.texi:10419
  15968. 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."
  15969. msgstr ""
  15970. #. type: table
  15971. #: guix-git/doc/guix.texi:10425
  15972. 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."
  15973. msgstr ""
  15974. #. type: item
  15975. #: guix-git/doc/guix.texi:10426
  15976. #, no-wrap
  15977. msgid "--debug=@var{level}"
  15978. msgstr ""
  15979. #. type: table
  15980. #: guix-git/doc/guix.texi:10430
  15981. 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."
  15982. msgstr ""
  15983. #. type: Plain text
  15984. #: guix-git/doc/guix.texi:10437
  15985. 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."
  15986. msgstr ""
  15987. #. type: Plain text
  15988. #: guix-git/doc/guix.texi:10441
  15989. 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."
  15990. msgstr ""
  15991. #. type: defvr
  15992. #: guix-git/doc/guix.texi:10442
  15993. #, no-wrap
  15994. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15995. msgstr ""
  15996. #. type: defvr
  15997. #: guix-git/doc/guix.texi:10447
  15998. 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:"
  15999. msgstr ""
  16000. #. type: example
  16001. #: guix-git/doc/guix.texi:10450
  16002. #, no-wrap
  16003. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  16004. msgstr ""
  16005. #. type: defvr
  16006. #: guix-git/doc/guix.texi:10454
  16007. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  16008. msgstr ""
  16009. #. type: cindex
  16010. #: guix-git/doc/guix.texi:10460
  16011. #, no-wrap
  16012. msgid "package variants"
  16013. msgstr ""
  16014. #. type: Plain text
  16015. #: guix-git/doc/guix.texi:10468
  16016. 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})."
  16017. msgstr ""
  16018. #. type: Plain text
  16019. #: guix-git/doc/guix.texi:10472
  16020. 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."
  16021. msgstr ""
  16022. #. type: Plain text
  16023. #: guix-git/doc/guix.texi:10477
  16024. 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)."
  16025. msgstr ""
  16026. #. type: item
  16027. #: guix-git/doc/guix.texi:10480
  16028. #, no-wrap
  16029. msgid "--with-source=@var{source}"
  16030. msgstr ""
  16031. #. type: itemx
  16032. #: guix-git/doc/guix.texi:10481
  16033. #, no-wrap
  16034. msgid "--with-source=@var{package}=@var{source}"
  16035. msgstr ""
  16036. #. type: itemx
  16037. #: guix-git/doc/guix.texi:10482
  16038. #, no-wrap
  16039. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  16040. msgstr ""
  16041. #. type: table
  16042. #: guix-git/doc/guix.texi:10487
  16043. 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})."
  16044. msgstr ""
  16045. #. type: table
  16046. #: guix-git/doc/guix.texi:10493
  16047. 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}."
  16048. msgstr ""
  16049. #. type: table
  16050. #: guix-git/doc/guix.texi:10496
  16051. 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}."
  16052. msgstr ""
  16053. #. type: table
  16054. #: guix-git/doc/guix.texi:10501
  16055. 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:"
  16056. msgstr ""
  16057. #. type: example
  16058. #: guix-git/doc/guix.texi:10504
  16059. #, no-wrap
  16060. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  16061. msgstr ""
  16062. #. type: table
  16063. #: guix-git/doc/guix.texi:10508
  16064. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  16065. msgstr ""
  16066. #. type: example
  16067. #: guix-git/doc/guix.texi:10511
  16068. #, no-wrap
  16069. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  16070. msgstr ""
  16071. #. type: table
  16072. #: guix-git/doc/guix.texi:10514
  16073. msgid "@dots{} or to build from a checkout in a pristine environment:"
  16074. msgstr ""
  16075. #. type: example
  16076. #: guix-git/doc/guix.texi:10518
  16077. #, no-wrap
  16078. msgid ""
  16079. "$ git clone git://git.sv.gnu.org/guix.git\n"
  16080. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  16081. msgstr ""
  16082. #. type: item
  16083. #: guix-git/doc/guix.texi:10520
  16084. #, no-wrap
  16085. msgid "--with-input=@var{package}=@var{replacement}"
  16086. msgstr ""
  16087. #. type: table
  16088. #: guix-git/doc/guix.texi:10525
  16089. 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}."
  16090. msgstr ""
  16091. #. type: table
  16092. #: guix-git/doc/guix.texi:10529
  16093. 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}:"
  16094. msgstr ""
  16095. #. type: example
  16096. #: guix-git/doc/guix.texi:10532
  16097. #, no-wrap
  16098. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16099. msgstr ""
  16100. #. type: table
  16101. #: guix-git/doc/guix.texi:10537
  16102. 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}."
  16103. msgstr ""
  16104. #. type: table
  16105. #: guix-git/doc/guix.texi:10540
  16106. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16107. msgstr ""
  16108. #. type: item
  16109. #: guix-git/doc/guix.texi:10541
  16110. #, no-wrap
  16111. msgid "--with-graft=@var{package}=@var{replacement}"
  16112. msgstr ""
  16113. #. type: table
  16114. #: guix-git/doc/guix.texi:10547
  16115. 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."
  16116. msgstr ""
  16117. #. type: table
  16118. #: guix-git/doc/guix.texi:10551
  16119. 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:"
  16120. msgstr ""
  16121. #. type: example
  16122. #: guix-git/doc/guix.texi:10554
  16123. #, no-wrap
  16124. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16125. msgstr ""
  16126. #. type: table
  16127. #: guix-git/doc/guix.texi:10563
  16128. 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!"
  16129. msgstr ""
  16130. #. type: cindex
  16131. #: guix-git/doc/guix.texi:10564 guix-git/doc/guix.texi:36253
  16132. #, no-wrap
  16133. msgid "debugging info, rebuilding"
  16134. msgstr ""
  16135. #. type: item
  16136. #: guix-git/doc/guix.texi:10565
  16137. #, no-wrap
  16138. msgid "--with-debug-info=@var{package}"
  16139. msgstr ""
  16140. #. type: table
  16141. #: guix-git/doc/guix.texi:10570
  16142. 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})."
  16143. msgstr ""
  16144. #. type: table
  16145. #: guix-git/doc/guix.texi:10576
  16146. 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:"
  16147. msgstr ""
  16148. #. type: example
  16149. #: guix-git/doc/guix.texi:10579 guix-git/doc/guix.texi:36284
  16150. #, no-wrap
  16151. msgid "guix install inkscape --with-debug-info=glib\n"
  16152. msgstr ""
  16153. #. type: table
  16154. #: guix-git/doc/guix.texi:10583
  16155. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16156. msgstr ""
  16157. #. type: quotation
  16158. #: guix-git/doc/guix.texi:10589
  16159. 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."
  16160. msgstr ""
  16161. #. type: quotation
  16162. #: guix-git/doc/guix.texi:10593
  16163. 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."
  16164. msgstr ""
  16165. #. type: cindex
  16166. #: guix-git/doc/guix.texi:10595
  16167. #, no-wrap
  16168. msgid "tool chain, changing the build tool chain of a package"
  16169. msgstr ""
  16170. #. type: item
  16171. #: guix-git/doc/guix.texi:10596
  16172. #, no-wrap
  16173. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16174. msgstr ""
  16175. #. type: table
  16176. #: guix-git/doc/guix.texi:10600
  16177. 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++."
  16178. msgstr ""
  16179. #. type: example
  16180. #: guix-git/doc/guix.texi:10607
  16181. #, no-wrap
  16182. msgid ""
  16183. "guix build octave-cli \\\n"
  16184. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16185. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16186. msgstr ""
  16187. #. type: table
  16188. #: guix-git/doc/guix.texi:10614
  16189. 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}."
  16190. msgstr ""
  16191. #. type: table
  16192. #: guix-git/doc/guix.texi:10618
  16193. 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:"
  16194. msgstr ""
  16195. #. type: example
  16196. #: guix-git/doc/guix.texi:10622
  16197. #, no-wrap
  16198. msgid ""
  16199. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16200. " intel-mpi-benchmarks\n"
  16201. msgstr ""
  16202. #. type: quotation
  16203. #: guix-git/doc/guix.texi:10631
  16204. 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."
  16205. msgstr ""
  16206. #. type: item
  16207. #: guix-git/doc/guix.texi:10633
  16208. #, no-wrap
  16209. msgid "--with-git-url=@var{package}=@var{url}"
  16210. msgstr ""
  16211. #. type: cindex
  16212. #: guix-git/doc/guix.texi:10634
  16213. #, no-wrap
  16214. msgid "Git, using the latest commit"
  16215. msgstr ""
  16216. #. type: cindex
  16217. #: guix-git/doc/guix.texi:10635
  16218. #, no-wrap
  16219. msgid "latest commit, building"
  16220. msgstr ""
  16221. #. type: table
  16222. #: guix-git/doc/guix.texi:10639
  16223. 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."
  16224. msgstr ""
  16225. #. type: table
  16226. #: guix-git/doc/guix.texi:10642
  16227. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16228. msgstr ""
  16229. #. type: example
  16230. #: guix-git/doc/guix.texi:10646
  16231. #, no-wrap
  16232. msgid ""
  16233. "guix build python-numpy \\\n"
  16234. " --with-git-url=python=https://github.com/python/cpython\n"
  16235. msgstr ""
  16236. #. type: table
  16237. #: guix-git/doc/guix.texi:10650
  16238. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16239. msgstr ""
  16240. #. type: cindex
  16241. #: guix-git/doc/guix.texi:10651 guix-git/doc/guix.texi:27897
  16242. #, no-wrap
  16243. msgid "continuous integration"
  16244. msgstr ""
  16245. #. type: table
  16246. #: guix-git/doc/guix.texi:10657
  16247. 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)."
  16248. msgstr ""
  16249. #. type: table
  16250. #: guix-git/doc/guix.texi:10661
  16251. 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."
  16252. msgstr ""
  16253. #. type: item
  16254. #: guix-git/doc/guix.texi:10662
  16255. #, no-wrap
  16256. msgid "--with-branch=@var{package}=@var{branch}"
  16257. msgstr ""
  16258. #. type: table
  16259. #: guix-git/doc/guix.texi:10668
  16260. 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."
  16261. msgstr ""
  16262. #. type: table
  16263. #: guix-git/doc/guix.texi:10673
  16264. 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:"
  16265. msgstr ""
  16266. #. type: example
  16267. #: guix-git/doc/guix.texi:10676
  16268. #, no-wrap
  16269. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16270. msgstr ""
  16271. #. type: item
  16272. #: guix-git/doc/guix.texi:10678
  16273. #, no-wrap
  16274. msgid "--with-commit=@var{package}=@var{commit}"
  16275. msgstr ""
  16276. #. type: table
  16277. #: guix-git/doc/guix.texi:10683
  16278. 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}."
  16279. msgstr ""
  16280. #. type: item
  16281. #: guix-git/doc/guix.texi:10684
  16282. #, no-wrap
  16283. msgid "--with-patch=@var{package}=@var{file}"
  16284. msgstr ""
  16285. #. type: table
  16286. #: guix-git/doc/guix.texi:10691
  16287. 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})."
  16288. msgstr ""
  16289. #. type: table
  16290. #: guix-git/doc/guix.texi:10694
  16291. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16292. msgstr ""
  16293. #. type: example
  16294. #: guix-git/doc/guix.texi:10697
  16295. #, no-wrap
  16296. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16297. msgstr ""
  16298. #. type: table
  16299. #: guix-git/doc/guix.texi:10701
  16300. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16301. msgstr ""
  16302. #. type: cindex
  16303. #: guix-git/doc/guix.texi:10702
  16304. #, no-wrap
  16305. msgid "upstream, latest version"
  16306. msgstr ""
  16307. #. type: item
  16308. #: guix-git/doc/guix.texi:10703
  16309. #, no-wrap
  16310. msgid "--with-latest=@var{package}"
  16311. msgstr ""
  16312. #. type: table
  16313. #: guix-git/doc/guix.texi:10708
  16314. 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})."
  16315. msgstr ""
  16316. #. type: table
  16317. #: guix-git/doc/guix.texi:10712
  16318. 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."
  16319. msgstr ""
  16320. #. type: table
  16321. #: guix-git/doc/guix.texi:10715
  16322. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16323. msgstr ""
  16324. #. type: example
  16325. #: guix-git/doc/guix.texi:10718
  16326. #, no-wrap
  16327. msgid "guix build guix --with-latest=guile-json\n"
  16328. msgstr ""
  16329. #. type: table
  16330. #: guix-git/doc/guix.texi:10727
  16331. 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."
  16332. msgstr ""
  16333. #. type: table
  16334. #: guix-git/doc/guix.texi:10732
  16335. 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})."
  16336. msgstr ""
  16337. #. type: cindex
  16338. #: guix-git/doc/guix.texi:10733
  16339. #, no-wrap
  16340. msgid "test suite, skipping"
  16341. msgstr ""
  16342. #. type: item
  16343. #: guix-git/doc/guix.texi:10734
  16344. #, no-wrap
  16345. msgid "--without-tests=@var{package}"
  16346. msgstr ""
  16347. #. type: table
  16348. #: guix-git/doc/guix.texi:10740
  16349. 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."
  16350. msgstr ""
  16351. #. type: table
  16352. #: guix-git/doc/guix.texi:10744
  16353. 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:"
  16354. msgstr ""
  16355. #. type: example
  16356. #: guix-git/doc/guix.texi:10747
  16357. #, no-wrap
  16358. msgid "guix install --without-tests=python python-notebook\n"
  16359. msgstr ""
  16360. #. type: table
  16361. #: guix-git/doc/guix.texi:10753
  16362. 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."
  16363. msgstr ""
  16364. #. type: table
  16365. #: guix-git/doc/guix.texi:10759
  16366. 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."
  16367. msgstr ""
  16368. #. type: Plain text
  16369. #: guix-git/doc/guix.texi:10766
  16370. 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."
  16371. msgstr ""
  16372. #. type: Plain text
  16373. #: guix-git/doc/guix.texi:10772
  16374. msgid "The command-line options presented below are specific to @command{guix build}."
  16375. msgstr ""
  16376. #. type: item
  16377. #: guix-git/doc/guix.texi:10775
  16378. #, no-wrap
  16379. msgid "--quiet"
  16380. msgstr ""
  16381. #. type: table
  16382. #: guix-git/doc/guix.texi:10780
  16383. 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."
  16384. msgstr ""
  16385. #. type: item
  16386. #: guix-git/doc/guix.texi:10781
  16387. #, no-wrap
  16388. msgid "--file=@var{file}"
  16389. msgstr ""
  16390. #. type: table
  16391. #: guix-git/doc/guix.texi:10785
  16392. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  16393. msgstr ""
  16394. #. type: table
  16395. #: guix-git/doc/guix.texi:10788
  16396. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  16397. msgstr ""
  16398. #. type: table
  16399. #: guix-git/doc/guix.texi:10797
  16400. 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}:"
  16401. msgstr ""
  16402. #. type: item
  16403. #: guix-git/doc/guix.texi:10802
  16404. #, no-wrap
  16405. msgid "--manifest=@var{manifest}"
  16406. msgstr ""
  16407. #. type: itemx
  16408. #: guix-git/doc/guix.texi:10803
  16409. #, no-wrap
  16410. msgid "-m @var{manifest}"
  16411. msgstr ""
  16412. #. type: table
  16413. #: guix-git/doc/guix.texi:10806
  16414. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  16415. msgstr ""
  16416. #. type: table
  16417. #: guix-git/doc/guix.texi:10810
  16418. msgid "Build the package or derivation @var{expr} evaluates to."
  16419. msgstr ""
  16420. #. type: table
  16421. #: guix-git/doc/guix.texi:10814
  16422. 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."
  16423. msgstr ""
  16424. #. type: table
  16425. #: guix-git/doc/guix.texi:10818
  16426. 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})."
  16427. msgstr ""
  16428. #. type: table
  16429. #: guix-git/doc/guix.texi:10822
  16430. 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}."
  16431. msgstr ""
  16432. #. type: item
  16433. #: guix-git/doc/guix.texi:10823
  16434. #, no-wrap
  16435. msgid "--source"
  16436. msgstr ""
  16437. #. type: itemx
  16438. #: guix-git/doc/guix.texi:10824
  16439. #, no-wrap
  16440. msgid "-S"
  16441. msgstr ""
  16442. #. type: table
  16443. #: guix-git/doc/guix.texi:10827
  16444. msgid "Build the source derivations of the packages, rather than the packages themselves."
  16445. msgstr ""
  16446. #. type: table
  16447. #: guix-git/doc/guix.texi:10831
  16448. 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."
  16449. msgstr ""
  16450. #. type: table
  16451. #: guix-git/doc/guix.texi:10835
  16452. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  16453. msgstr ""
  16454. #. type: cindex
  16455. #: guix-git/doc/guix.texi:10836
  16456. #, no-wrap
  16457. msgid "source, verification"
  16458. msgstr ""
  16459. #. type: table
  16460. #: guix-git/doc/guix.texi:10842
  16461. 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."
  16462. msgstr ""
  16463. #. type: table
  16464. #: guix-git/doc/guix.texi:10847
  16465. 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."
  16466. msgstr ""
  16467. #. type: item
  16468. #: guix-git/doc/guix.texi:10848
  16469. #, no-wrap
  16470. msgid "--sources"
  16471. msgstr ""
  16472. #. type: table
  16473. #: guix-git/doc/guix.texi:10855
  16474. 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:"
  16475. msgstr ""
  16476. #. type: item
  16477. #: guix-git/doc/guix.texi:10857 guix-git/doc/guix.texi:12512
  16478. #, no-wrap
  16479. msgid "package"
  16480. msgstr ""
  16481. #. type: table
  16482. #: guix-git/doc/guix.texi:10860
  16483. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  16484. msgstr ""
  16485. #. type: item
  16486. #: guix-git/doc/guix.texi:10861 guix-git/doc/guix.texi:18638
  16487. #, no-wrap
  16488. msgid "all"
  16489. msgstr ""
  16490. #. type: table
  16491. #: guix-git/doc/guix.texi:10864
  16492. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  16493. msgstr ""
  16494. #. type: example
  16495. #: guix-git/doc/guix.texi:10870
  16496. #, no-wrap
  16497. msgid ""
  16498. "$ guix build --sources tzdata\n"
  16499. "The following derivations will be built:\n"
  16500. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  16501. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16502. msgstr ""
  16503. #. type: item
  16504. #: guix-git/doc/guix.texi:10872
  16505. #, no-wrap
  16506. msgid "transitive"
  16507. msgstr ""
  16508. #. type: table
  16509. #: guix-git/doc/guix.texi:10876
  16510. 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."
  16511. msgstr ""
  16512. #. type: example
  16513. #: guix-git/doc/guix.texi:10887
  16514. #, no-wrap
  16515. msgid ""
  16516. "$ guix build --sources=transitive tzdata\n"
  16517. "The following derivations will be built:\n"
  16518. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16519. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  16520. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  16521. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  16522. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  16523. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  16524. "@dots{}\n"
  16525. msgstr ""
  16526. #. type: table
  16527. #: guix-git/doc/guix.texi:10897
  16528. 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."
  16529. msgstr ""
  16530. #. type: quotation
  16531. #: guix-git/doc/guix.texi:10902
  16532. 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."
  16533. msgstr ""
  16534. #. type: table
  16535. #: guix-git/doc/guix.texi:10909
  16536. 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."
  16537. msgstr ""
  16538. #. type: quotation
  16539. #: guix-git/doc/guix.texi:10914
  16540. 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."
  16541. msgstr ""
  16542. #. type: table
  16543. #: guix-git/doc/guix.texi:10920
  16544. 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."
  16545. msgstr ""
  16546. #. type: table
  16547. #: guix-git/doc/guix.texi:10924
  16548. 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."
  16549. msgstr ""
  16550. #. type: table
  16551. #: guix-git/doc/guix.texi:10930
  16552. 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})."
  16553. msgstr ""
  16554. #. type: anchor{#1}
  16555. #: guix-git/doc/guix.texi:10932
  16556. msgid "build-check"
  16557. msgstr ""
  16558. #. type: item
  16559. #: guix-git/doc/guix.texi:10932
  16560. #, no-wrap
  16561. msgid "--check"
  16562. msgstr ""
  16563. #. type: cindex
  16564. #: guix-git/doc/guix.texi:10933
  16565. #, no-wrap
  16566. msgid "determinism, checking"
  16567. msgstr ""
  16568. #. type: cindex
  16569. #: guix-git/doc/guix.texi:10934
  16570. #, no-wrap
  16571. msgid "reproducibility, checking"
  16572. msgstr ""
  16573. #. type: table
  16574. #: guix-git/doc/guix.texi:10938
  16575. 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."
  16576. msgstr ""
  16577. #. type: table
  16578. #: guix-git/doc/guix.texi:10943
  16579. 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."
  16580. msgstr ""
  16581. #. type: item
  16582. #: guix-git/doc/guix.texi:10948
  16583. #, no-wrap
  16584. msgid "--repair"
  16585. msgstr ""
  16586. #. type: cindex
  16587. #: guix-git/doc/guix.texi:10949
  16588. #, no-wrap
  16589. msgid "repairing store items"
  16590. msgstr ""
  16591. #. type: table
  16592. #: guix-git/doc/guix.texi:10953
  16593. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16594. msgstr ""
  16595. #. type: table
  16596. #: guix-git/doc/guix.texi:10955
  16597. msgid "This operation is not atomic and thus restricted to @code{root}."
  16598. msgstr ""
  16599. #. type: item
  16600. #: guix-git/doc/guix.texi:10956
  16601. #, no-wrap
  16602. msgid "--derivations"
  16603. msgstr ""
  16604. #. type: table
  16605. #: guix-git/doc/guix.texi:10960
  16606. msgid "Return the derivation paths, not the output paths, of the given packages."
  16607. msgstr ""
  16608. #. type: cindex
  16609. #: guix-git/doc/guix.texi:10963
  16610. #, no-wrap
  16611. msgid "GC roots, adding"
  16612. msgstr ""
  16613. #. type: cindex
  16614. #: guix-git/doc/guix.texi:10964
  16615. #, no-wrap
  16616. msgid "garbage collector roots, adding"
  16617. msgstr ""
  16618. #. type: table
  16619. #: guix-git/doc/guix.texi:10967 guix-git/doc/guix.texi:34178
  16620. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16621. msgstr ""
  16622. #. type: table
  16623. #: guix-git/doc/guix.texi:10973
  16624. 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."
  16625. msgstr ""
  16626. #. type: item
  16627. #: guix-git/doc/guix.texi:10974
  16628. #, no-wrap
  16629. msgid "--log-file"
  16630. msgstr ""
  16631. #. type: cindex
  16632. #: guix-git/doc/guix.texi:10975
  16633. #, no-wrap
  16634. msgid "build logs, access"
  16635. msgstr ""
  16636. #. type: table
  16637. #: guix-git/doc/guix.texi:10979
  16638. 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."
  16639. msgstr ""
  16640. #. type: table
  16641. #: guix-git/doc/guix.texi:10982
  16642. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16643. msgstr ""
  16644. #. type: example
  16645. #: guix-git/doc/guix.texi:10988
  16646. #, no-wrap
  16647. msgid ""
  16648. "guix build --log-file $(guix build -d guile)\n"
  16649. "guix build --log-file $(guix build guile)\n"
  16650. "guix build --log-file guile\n"
  16651. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16652. msgstr ""
  16653. #. type: table
  16654. #: guix-git/doc/guix.texi:10993
  16655. 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})."
  16656. msgstr ""
  16657. #. type: table
  16658. #: guix-git/doc/guix.texi:10996
  16659. 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:"
  16660. msgstr ""
  16661. #. type: example
  16662. #: guix-git/doc/guix.texi:11000
  16663. #, no-wrap
  16664. msgid ""
  16665. "$ guix build --log-file gdb -s aarch64-linux\n"
  16666. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  16667. msgstr ""
  16668. #. type: table
  16669. #: guix-git/doc/guix.texi:11003
  16670. msgid "You can freely access a huge library of build logs!"
  16671. msgstr ""
  16672. #. type: cindex
  16673. #: guix-git/doc/guix.texi:11008
  16674. #, no-wrap
  16675. msgid "build failures, debugging"
  16676. msgstr ""
  16677. #. type: Plain text
  16678. #: guix-git/doc/guix.texi:11014
  16679. 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."
  16680. msgstr ""
  16681. #. type: Plain text
  16682. #: guix-git/doc/guix.texi:11019
  16683. 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}})."
  16684. msgstr ""
  16685. #. type: Plain text
  16686. #: guix-git/doc/guix.texi:11025
  16687. 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:"
  16688. msgstr ""
  16689. #. type: example
  16690. #: guix-git/doc/guix.texi:11032
  16691. #, no-wrap
  16692. msgid ""
  16693. "$ guix build foo -K\n"
  16694. "@dots{} @i{build fails}\n"
  16695. "$ cd /tmp/guix-build-foo.drv-0\n"
  16696. "$ source ./environment-variables\n"
  16697. "$ cd foo-1.2\n"
  16698. msgstr ""
  16699. #. type: Plain text
  16700. #: guix-git/doc/guix.texi:11036
  16701. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16702. msgstr ""
  16703. #. type: Plain text
  16704. #: guix-git/doc/guix.texi:11042
  16705. 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})."
  16706. msgstr ""
  16707. #. type: Plain text
  16708. #: guix-git/doc/guix.texi:11045
  16709. 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:"
  16710. msgstr ""
  16711. #. type: example
  16712. #: guix-git/doc/guix.texi:11053
  16713. #, no-wrap
  16714. msgid ""
  16715. "$ guix build -K foo\n"
  16716. "@dots{}\n"
  16717. "$ cd /tmp/guix-build-foo.drv-0\n"
  16718. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16719. "[env]# source ./environment-variables\n"
  16720. "[env]# cd foo-1.2\n"
  16721. msgstr ""
  16722. #. type: Plain text
  16723. #: guix-git/doc/guix.texi:11062
  16724. msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc 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)."
  16725. msgstr ""
  16726. #. type: Plain text
  16727. #: guix-git/doc/guix.texi:11065
  16728. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16729. msgstr ""
  16730. #. type: example
  16731. #: guix-git/doc/guix.texi:11068
  16732. #, no-wrap
  16733. msgid "[env]# rm /bin/sh\n"
  16734. msgstr ""
  16735. #. type: Plain text
  16736. #: guix-git/doc/guix.texi:11072
  16737. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16738. msgstr ""
  16739. #. type: Plain text
  16740. #: guix-git/doc/guix.texi:11075
  16741. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16742. msgstr ""
  16743. #. type: example
  16744. #: guix-git/doc/guix.texi:11078
  16745. #, no-wrap
  16746. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16747. msgstr ""
  16748. #. type: Plain text
  16749. #: guix-git/doc/guix.texi:11083
  16750. 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."
  16751. msgstr ""
  16752. #. type: section
  16753. #: guix-git/doc/guix.texi:11086
  16754. #, no-wrap
  16755. msgid "Invoking @command{guix edit}"
  16756. msgstr ""
  16757. #. type: command{#1}
  16758. #: guix-git/doc/guix.texi:11088
  16759. #, no-wrap
  16760. msgid "guix edit"
  16761. msgstr ""
  16762. #. type: cindex
  16763. #: guix-git/doc/guix.texi:11089
  16764. #, no-wrap
  16765. msgid "package definition, editing"
  16766. msgstr ""
  16767. #. type: Plain text
  16768. #: guix-git/doc/guix.texi:11094
  16769. 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:"
  16770. msgstr ""
  16771. #. type: example
  16772. #: guix-git/doc/guix.texi:11097
  16773. #, no-wrap
  16774. msgid "guix edit gcc@@4.9 vim\n"
  16775. msgstr ""
  16776. #. type: Plain text
  16777. #: guix-git/doc/guix.texi:11103
  16778. 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."
  16779. msgstr ""
  16780. #. type: Plain text
  16781. #: guix-git/doc/guix.texi:11109
  16782. 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."
  16783. msgstr ""
  16784. #. type: Plain text
  16785. #: guix-git/doc/guix.texi:11114
  16786. 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."
  16787. msgstr ""
  16788. #. type: section
  16789. #: guix-git/doc/guix.texi:11116
  16790. #, no-wrap
  16791. msgid "Invoking @command{guix download}"
  16792. msgstr ""
  16793. #. type: command{#1}
  16794. #: guix-git/doc/guix.texi:11118
  16795. #, no-wrap
  16796. msgid "guix download"
  16797. msgstr ""
  16798. #. type: cindex
  16799. #: guix-git/doc/guix.texi:11119
  16800. #, no-wrap
  16801. msgid "downloading package sources"
  16802. msgstr ""
  16803. #. type: Plain text
  16804. #: guix-git/doc/guix.texi:11126
  16805. 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."
  16806. msgstr ""
  16807. #. type: Plain text
  16808. #: guix-git/doc/guix.texi:11133
  16809. 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})."
  16810. msgstr ""
  16811. #. type: Plain text
  16812. #: guix-git/doc/guix.texi:11141
  16813. 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."
  16814. msgstr ""
  16815. #. type: Plain text
  16816. #: guix-git/doc/guix.texi:11146
  16817. 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."
  16818. msgstr ""
  16819. #. type: Plain text
  16820. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:12825
  16821. msgid "The following options are available:"
  16822. msgstr ""
  16823. #. type: item
  16824. #: guix-git/doc/guix.texi:11150 guix-git/doc/guix.texi:11194
  16825. #, no-wrap
  16826. msgid "--hash=@var{algorithm}"
  16827. msgstr ""
  16828. #. type: itemx
  16829. #: guix-git/doc/guix.texi:11151 guix-git/doc/guix.texi:11195
  16830. #, no-wrap
  16831. msgid "-H @var{algorithm}"
  16832. msgstr ""
  16833. #. type: table
  16834. #: guix-git/doc/guix.texi:11154
  16835. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16836. msgstr ""
  16837. #. type: item
  16838. #: guix-git/doc/guix.texi:11155 guix-git/doc/guix.texi:11204
  16839. #, no-wrap
  16840. msgid "--format=@var{fmt}"
  16841. msgstr ""
  16842. #. type: itemx
  16843. #: guix-git/doc/guix.texi:11156 guix-git/doc/guix.texi:11205
  16844. #, no-wrap
  16845. msgid "-f @var{fmt}"
  16846. msgstr ""
  16847. #. type: table
  16848. #: guix-git/doc/guix.texi:11159
  16849. 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}."
  16850. msgstr ""
  16851. #. type: item
  16852. #: guix-git/doc/guix.texi:11160
  16853. #, no-wrap
  16854. msgid "--no-check-certificate"
  16855. msgstr ""
  16856. #. type: table
  16857. #: guix-git/doc/guix.texi:11162
  16858. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16859. msgstr ""
  16860. #. type: table
  16861. #: guix-git/doc/guix.texi:11166
  16862. 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."
  16863. msgstr ""
  16864. #. type: item
  16865. #: guix-git/doc/guix.texi:11167
  16866. #, no-wrap
  16867. msgid "--output=@var{file}"
  16868. msgstr ""
  16869. #. type: itemx
  16870. #: guix-git/doc/guix.texi:11168
  16871. #, no-wrap
  16872. msgid "-o @var{file}"
  16873. msgstr ""
  16874. #. type: table
  16875. #: guix-git/doc/guix.texi:11171
  16876. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16877. msgstr ""
  16878. #. type: section
  16879. #: guix-git/doc/guix.texi:11174
  16880. #, no-wrap
  16881. msgid "Invoking @command{guix hash}"
  16882. msgstr ""
  16883. #. type: command{#1}
  16884. #: guix-git/doc/guix.texi:11176
  16885. #, no-wrap
  16886. msgid "guix hash"
  16887. msgstr ""
  16888. #. type: Plain text
  16889. #: guix-git/doc/guix.texi:11181
  16890. 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 a file, which can be used in the definition of a package (@pxref{Defining Packages})."
  16891. msgstr ""
  16892. #. type: example
  16893. #: guix-git/doc/guix.texi:11186
  16894. #, no-wrap
  16895. msgid "guix hash @var{option} @var{file}\n"
  16896. msgstr ""
  16897. #. type: Plain text
  16898. #: guix-git/doc/guix.texi:11191
  16899. 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:"
  16900. msgstr ""
  16901. #. type: table
  16902. #: guix-git/doc/guix.texi:11198
  16903. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16904. msgstr ""
  16905. #. type: table
  16906. #: guix-git/doc/guix.texi:11203
  16907. msgid "@var{algorithm} must 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})."
  16908. msgstr ""
  16909. #. type: table
  16910. #: guix-git/doc/guix.texi:11207
  16911. msgid "Write the hash in the format specified by @var{fmt}."
  16912. msgstr ""
  16913. #. type: table
  16914. #: guix-git/doc/guix.texi:11210
  16915. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16916. msgstr ""
  16917. #. type: table
  16918. #: guix-git/doc/guix.texi:11214
  16919. 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."
  16920. msgstr ""
  16921. #. type: table
  16922. #: guix-git/doc/guix.texi:11218
  16923. msgid "Compute the hash on @var{file} recursively."
  16924. msgstr ""
  16925. #. type: table
  16926. #: guix-git/doc/guix.texi:11227
  16927. msgid "In this case, the hash is computed on an archive 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 has no impact on the hash (@pxref{Invoking guix archive})."
  16928. msgstr ""
  16929. #. type: item
  16930. #: guix-git/doc/guix.texi:11228
  16931. #, no-wrap
  16932. msgid "--exclude-vcs"
  16933. msgstr ""
  16934. #. type: itemx
  16935. #: guix-git/doc/guix.texi:11229 guix-git/doc/guix.texi:12298
  16936. #, no-wrap
  16937. msgid "-x"
  16938. msgstr ""
  16939. #. type: table
  16940. #: guix-git/doc/guix.texi:11232
  16941. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16942. msgstr ""
  16943. #. type: vindex
  16944. #: guix-git/doc/guix.texi:11233
  16945. #, no-wrap
  16946. msgid "git-fetch"
  16947. msgstr ""
  16948. #. type: table
  16949. #: guix-git/doc/guix.texi:11237
  16950. 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}):"
  16951. msgstr ""
  16952. #. type: example
  16953. #: guix-git/doc/guix.texi:11242
  16954. #, no-wrap
  16955. msgid ""
  16956. "$ git clone http://example.org/foo.git\n"
  16957. "$ cd foo\n"
  16958. "$ guix hash -rx .\n"
  16959. msgstr ""
  16960. #. type: cindex
  16961. #: guix-git/doc/guix.texi:11246 guix-git/doc/guix.texi:11251
  16962. #, no-wrap
  16963. msgid "Invoking @command{guix import}"
  16964. msgstr ""
  16965. #. type: cindex
  16966. #: guix-git/doc/guix.texi:11248
  16967. #, no-wrap
  16968. msgid "importing packages"
  16969. msgstr ""
  16970. #. type: cindex
  16971. #: guix-git/doc/guix.texi:11249
  16972. #, no-wrap
  16973. msgid "package import"
  16974. msgstr ""
  16975. #. type: cindex
  16976. #: guix-git/doc/guix.texi:11250
  16977. #, no-wrap
  16978. msgid "package conversion"
  16979. msgstr ""
  16980. #. type: Plain text
  16981. #: guix-git/doc/guix.texi:11258
  16982. 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})."
  16983. msgstr ""
  16984. #. type: example
  16985. #: guix-git/doc/guix.texi:11263
  16986. #, no-wrap
  16987. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16988. msgstr ""
  16989. #. type: Plain text
  16990. #: guix-git/doc/guix.texi:11268
  16991. 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}."
  16992. msgstr ""
  16993. #. type: Plain text
  16994. #: guix-git/doc/guix.texi:11272
  16995. 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."
  16996. msgstr ""
  16997. #. type: Plain text
  16998. #: guix-git/doc/guix.texi:11274
  16999. msgid "Currently, the available ``importers'' are:"
  17000. msgstr ""
  17001. #. type: item
  17002. #: guix-git/doc/guix.texi:11276 guix-git/doc/guix.texi:11909
  17003. #, no-wrap
  17004. msgid "gnu"
  17005. msgstr ""
  17006. #. type: table
  17007. #: guix-git/doc/guix.texi:11280
  17008. 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."
  17009. msgstr ""
  17010. #. type: table
  17011. #: guix-git/doc/guix.texi:11283
  17012. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  17013. msgstr ""
  17014. #. type: table
  17015. #: guix-git/doc/guix.texi:11286
  17016. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  17017. msgstr ""
  17018. #. type: example
  17019. #: guix-git/doc/guix.texi:11289
  17020. #, no-wrap
  17021. msgid "guix import gnu hello\n"
  17022. msgstr ""
  17023. #. type: table
  17024. #: guix-git/doc/guix.texi:11292 guix-git/doc/guix.texi:11534
  17025. #: guix-git/doc/guix.texi:11584 guix-git/doc/guix.texi:11613
  17026. msgid "Specific command-line options are:"
  17027. msgstr ""
  17028. #. type: item
  17029. #: guix-git/doc/guix.texi:11294 guix-git/doc/guix.texi:12106
  17030. #, no-wrap
  17031. msgid "--key-download=@var{policy}"
  17032. msgstr ""
  17033. #. type: table
  17034. #: guix-git/doc/guix.texi:11298
  17035. 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}}."
  17036. msgstr ""
  17037. #. type: item
  17038. #: guix-git/doc/guix.texi:11300 guix-git/doc/guix.texi:11301
  17039. #: guix-git/doc/guix.texi:11933
  17040. #, no-wrap
  17041. msgid "pypi"
  17042. msgstr ""
  17043. #. type: table
  17044. #: guix-git/doc/guix.texi:11308
  17045. 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."
  17046. msgstr ""
  17047. #. type: table
  17048. #: guix-git/doc/guix.texi:11311
  17049. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  17050. msgstr ""
  17051. #. type: example
  17052. #: guix-git/doc/guix.texi:11314
  17053. #, no-wrap
  17054. msgid "guix import pypi itsdangerous\n"
  17055. msgstr ""
  17056. #. type: table
  17057. #: guix-git/doc/guix.texi:11322 guix-git/doc/guix.texi:11347
  17058. #: guix-git/doc/guix.texi:11379 guix-git/doc/guix.texi:11557
  17059. #: guix-git/doc/guix.texi:11598 guix-git/doc/guix.texi:11649
  17060. #: guix-git/doc/guix.texi:11674 guix-git/doc/guix.texi:11690
  17061. #: guix-git/doc/guix.texi:11738 guix-git/doc/guix.texi:11768
  17062. 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."
  17063. msgstr ""
  17064. #. type: item
  17065. #: guix-git/doc/guix.texi:11324 guix-git/doc/guix.texi:11325
  17066. #: guix-git/doc/guix.texi:11935
  17067. #, no-wrap
  17068. msgid "gem"
  17069. msgstr ""
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11334
  17072. 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."
  17073. msgstr ""
  17074. #. type: table
  17075. #: guix-git/doc/guix.texi:11336
  17076. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  17077. msgstr ""
  17078. #. type: example
  17079. #: guix-git/doc/guix.texi:11339
  17080. #, no-wrap
  17081. msgid "guix import gem rails\n"
  17082. msgstr ""
  17083. #. type: cindex
  17084. #: guix-git/doc/guix.texi:11349 guix-git/doc/guix.texi:11350
  17085. #, no-wrap
  17086. msgid "minetest"
  17087. msgstr ""
  17088. #. type: cindex
  17089. #: guix-git/doc/guix.texi:11351
  17090. #, no-wrap
  17091. msgid "ContentDB"
  17092. msgstr ""
  17093. #. type: table
  17094. #: guix-git/doc/guix.texi:11360
  17095. 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."
  17096. msgstr ""
  17097. #. type: table
  17098. #: guix-git/doc/guix.texi:11362
  17099. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17100. msgstr ""
  17101. #. type: example
  17102. #: guix-git/doc/guix.texi:11365
  17103. #, no-wrap
  17104. msgid "guix import minetest Jeija/mesecons\n"
  17105. msgstr ""
  17106. #. type: table
  17107. #: guix-git/doc/guix.texi:11368
  17108. msgid "The author name can also be left out:"
  17109. msgstr ""
  17110. #. type: example
  17111. #: guix-git/doc/guix.texi:11371
  17112. #, no-wrap
  17113. msgid "guix import minetest mesecons\n"
  17114. msgstr ""
  17115. #. type: item
  17116. #: guix-git/doc/guix.texi:11381 guix-git/doc/guix.texi:11931
  17117. #, no-wrap
  17118. msgid "cpan"
  17119. msgstr ""
  17120. #. type: cindex
  17121. #: guix-git/doc/guix.texi:11382
  17122. #, no-wrap
  17123. msgid "CPAN"
  17124. msgstr ""
  17125. #. type: table
  17126. #: guix-git/doc/guix.texi:11390
  17127. 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."
  17128. msgstr ""
  17129. #. type: table
  17130. #: guix-git/doc/guix.texi:11393
  17131. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17132. msgstr ""
  17133. #. type: example
  17134. #: guix-git/doc/guix.texi:11396
  17135. #, no-wrap
  17136. msgid "guix import cpan Acme::Boolean\n"
  17137. msgstr ""
  17138. #. type: item
  17139. #: guix-git/doc/guix.texi:11398 guix-git/doc/guix.texi:11927
  17140. #, no-wrap
  17141. msgid "cran"
  17142. msgstr ""
  17143. #. type: cindex
  17144. #: guix-git/doc/guix.texi:11399
  17145. #, no-wrap
  17146. msgid "CRAN"
  17147. msgstr ""
  17148. #. type: cindex
  17149. #: guix-git/doc/guix.texi:11400
  17150. #, no-wrap
  17151. msgid "Bioconductor"
  17152. msgstr ""
  17153. #. type: table
  17154. #: guix-git/doc/guix.texi:11404
  17155. 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}."
  17156. msgstr ""
  17157. #. type: table
  17158. #: guix-git/doc/guix.texi:11406
  17159. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17160. msgstr ""
  17161. #. type: table
  17162. #: guix-git/doc/guix.texi:11408
  17163. msgid "The command command below imports metadata for the Cairo R package:"
  17164. msgstr ""
  17165. #. type: example
  17166. #: guix-git/doc/guix.texi:11411
  17167. #, no-wrap
  17168. msgid "guix import cran Cairo\n"
  17169. msgstr ""
  17170. #. type: table
  17171. #: guix-git/doc/guix.texi:11416
  17172. 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."
  17173. msgstr ""
  17174. #. type: table
  17175. #: guix-git/doc/guix.texi:11423
  17176. 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}."
  17177. msgstr ""
  17178. #. type: table
  17179. #: guix-git/doc/guix.texi:11428
  17180. 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."
  17181. msgstr ""
  17182. #. type: table
  17183. #: guix-git/doc/guix.texi:11431
  17184. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17185. msgstr ""
  17186. #. type: table
  17187. #: guix-git/doc/guix.texi:11433
  17188. msgid "The command below imports metadata for the GenomicRanges R package:"
  17189. msgstr ""
  17190. #. type: example
  17191. #: guix-git/doc/guix.texi:11436
  17192. #, no-wrap
  17193. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17194. msgstr ""
  17195. #. type: table
  17196. #: guix-git/doc/guix.texi:11441
  17197. 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:"
  17198. msgstr ""
  17199. #. type: example
  17200. #: guix-git/doc/guix.texi:11444
  17201. #, no-wrap
  17202. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17203. msgstr ""
  17204. #. type: item
  17205. #: guix-git/doc/guix.texi:11446
  17206. #, no-wrap
  17207. msgid "texlive"
  17208. msgstr ""
  17209. #. type: cindex
  17210. #: guix-git/doc/guix.texi:11447
  17211. #, no-wrap
  17212. msgid "TeX Live"
  17213. msgstr ""
  17214. #. type: cindex
  17215. #: guix-git/doc/guix.texi:11448
  17216. #, no-wrap
  17217. msgid "CTAN"
  17218. msgstr ""
  17219. #. type: table
  17220. #: guix-git/doc/guix.texi:11452
  17221. msgid "Import metadata from @uref{https://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  17222. msgstr ""
  17223. #. type: table
  17224. #: guix-git/doc/guix.texi:11457
  17225. msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives."
  17226. msgstr ""
  17227. #. type: table
  17228. #: guix-git/doc/guix.texi:11460
  17229. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17230. msgstr ""
  17231. #. type: example
  17232. #: guix-git/doc/guix.texi:11463
  17233. #, no-wrap
  17234. msgid "guix import texlive fontspec\n"
  17235. msgstr ""
  17236. #. type: table
  17237. #: guix-git/doc/guix.texi:11469
  17238. msgid "When @option{--archive=@var{directory}} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling @var{directory} under the same root."
  17239. msgstr ""
  17240. #. type: table
  17241. #: guix-git/doc/guix.texi:11473
  17242. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  17243. msgstr ""
  17244. #. type: example
  17245. #: guix-git/doc/guix.texi:11476
  17246. #, no-wrap
  17247. msgid "guix import texlive --archive=generic ifxetex\n"
  17248. msgstr ""
  17249. #. type: cindex
  17250. #: guix-git/doc/guix.texi:11479
  17251. #, no-wrap
  17252. msgid "JSON, import"
  17253. msgstr ""
  17254. #. type: table
  17255. #: guix-git/doc/guix.texi:11482
  17256. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17257. msgstr ""
  17258. #. type: example
  17259. #: guix-git/doc/guix.texi:11495
  17260. #, no-wrap
  17261. msgid ""
  17262. "@{\n"
  17263. " \"name\": \"hello\",\n"
  17264. " \"version\": \"2.10\",\n"
  17265. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17266. " \"build-system\": \"gnu\",\n"
  17267. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17268. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17269. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17270. " \"license\": \"GPL-3.0+\",\n"
  17271. " \"native-inputs\": [\"gettext\"]\n"
  17272. "@}\n"
  17273. msgstr ""
  17274. #. type: table
  17275. #: guix-git/doc/guix.texi:11501
  17276. 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}."
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11504
  17280. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17281. msgstr ""
  17282. #. type: example
  17283. #: guix-git/doc/guix.texi:11517
  17284. #, no-wrap
  17285. msgid ""
  17286. "@{\n"
  17287. " @dots{}\n"
  17288. " \"source\": @{\n"
  17289. " \"method\": \"url-fetch\",\n"
  17290. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17291. " \"sha256\": @{\n"
  17292. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17293. " @}\n"
  17294. " @}\n"
  17295. " @dots{}\n"
  17296. "@}\n"
  17297. msgstr ""
  17298. #. type: table
  17299. #: guix-git/doc/guix.texi:11521
  17300. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17301. msgstr ""
  17302. #. type: example
  17303. #: guix-git/doc/guix.texi:11524
  17304. #, no-wrap
  17305. msgid "guix import json hello.json\n"
  17306. msgstr ""
  17307. #. type: item
  17308. #: guix-git/doc/guix.texi:11526 guix-git/doc/guix.texi:11527
  17309. #: guix-git/doc/guix.texi:11939
  17310. #, no-wrap
  17311. msgid "hackage"
  17312. msgstr ""
  17313. #. type: table
  17314. #: guix-git/doc/guix.texi:11532
  17315. 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."
  17316. msgstr ""
  17317. #. type: item
  17318. #: guix-git/doc/guix.texi:11536
  17319. #, no-wrap
  17320. msgid "--stdin"
  17321. msgstr ""
  17322. #. type: itemx
  17323. #: guix-git/doc/guix.texi:11537
  17324. #, no-wrap
  17325. msgid "-s"
  17326. msgstr ""
  17327. #. type: table
  17328. #: guix-git/doc/guix.texi:11539
  17329. msgid "Read a Cabal file from standard input."
  17330. msgstr ""
  17331. #. type: item
  17332. #: guix-git/doc/guix.texi:11539 guix-git/doc/guix.texi:11586
  17333. #, no-wrap
  17334. msgid "--no-test-dependencies"
  17335. msgstr ""
  17336. #. type: table
  17337. #: guix-git/doc/guix.texi:11542 guix-git/doc/guix.texi:11589
  17338. msgid "Do not include dependencies required only by the test suites."
  17339. msgstr ""
  17340. #. type: item
  17341. #: guix-git/doc/guix.texi:11542
  17342. #, no-wrap
  17343. msgid "--cabal-environment=@var{alist}"
  17344. msgstr ""
  17345. #. type: itemx
  17346. #: guix-git/doc/guix.texi:11543
  17347. #, no-wrap
  17348. msgid "-e @var{alist}"
  17349. msgstr ""
  17350. #. type: table
  17351. #: guix-git/doc/guix.texi:11552
  17352. 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."
  17353. msgstr ""
  17354. #. type: table
  17355. #: guix-git/doc/guix.texi:11562
  17356. 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}:"
  17357. msgstr ""
  17358. #. type: example
  17359. #: guix-git/doc/guix.texi:11565
  17360. #, no-wrap
  17361. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  17362. msgstr ""
  17363. #. type: table
  17364. #: guix-git/doc/guix.texi:11569
  17365. 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:"
  17366. msgstr ""
  17367. #. type: example
  17368. #: guix-git/doc/guix.texi:11572
  17369. #, no-wrap
  17370. msgid "guix import hackage mtl@@2.1.3.1\n"
  17371. msgstr ""
  17372. #. type: item
  17373. #: guix-git/doc/guix.texi:11574 guix-git/doc/guix.texi:11575
  17374. #: guix-git/doc/guix.texi:11941
  17375. #, no-wrap
  17376. msgid "stackage"
  17377. msgstr ""
  17378. #. type: table
  17379. #: guix-git/doc/guix.texi:11582
  17380. 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."
  17381. msgstr ""
  17382. #. type: item
  17383. #: guix-git/doc/guix.texi:11589
  17384. #, no-wrap
  17385. msgid "--lts-version=@var{version}"
  17386. msgstr ""
  17387. #. type: itemx
  17388. #: guix-git/doc/guix.texi:11590
  17389. #, no-wrap
  17390. msgid "-l @var{version}"
  17391. msgstr ""
  17392. #. type: table
  17393. #: guix-git/doc/guix.texi:11593
  17394. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  17395. msgstr ""
  17396. #. type: table
  17397. #: guix-git/doc/guix.texi:11602
  17398. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  17399. msgstr ""
  17400. #. type: example
  17401. #: guix-git/doc/guix.texi:11605
  17402. #, no-wrap
  17403. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  17404. msgstr ""
  17405. #. type: item
  17406. #: guix-git/doc/guix.texi:11607 guix-git/doc/guix.texi:11608
  17407. #: guix-git/doc/guix.texi:11925
  17408. #, no-wrap
  17409. msgid "elpa"
  17410. msgstr ""
  17411. #. type: table
  17412. #: guix-git/doc/guix.texi:11611
  17413. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  17414. msgstr ""
  17415. #. type: item
  17416. #: guix-git/doc/guix.texi:11615
  17417. #, no-wrap
  17418. msgid "--archive=@var{repo}"
  17419. msgstr ""
  17420. #. type: itemx
  17421. #: guix-git/doc/guix.texi:11616
  17422. #, no-wrap
  17423. msgid "-a @var{repo}"
  17424. msgstr ""
  17425. #. type: table
  17426. #: guix-git/doc/guix.texi:11620
  17427. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  17428. msgstr ""
  17429. #. type: itemize
  17430. #: guix-git/doc/guix.texi:11624
  17431. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  17432. msgstr ""
  17433. #. type: itemize
  17434. #: guix-git/doc/guix.texi:11630
  17435. 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})."
  17436. msgstr ""
  17437. #. type: itemize
  17438. #: guix-git/doc/guix.texi:11634
  17439. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  17440. msgstr ""
  17441. #. type: itemize
  17442. #: guix-git/doc/guix.texi:11638
  17443. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  17444. msgstr ""
  17445. #. type: itemize
  17446. #: guix-git/doc/guix.texi:11642
  17447. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  17448. msgstr ""
  17449. #. type: item
  17450. #: guix-git/doc/guix.texi:11651 guix-git/doc/guix.texi:11652
  17451. #: guix-git/doc/guix.texi:11943
  17452. #, no-wrap
  17453. msgid "crate"
  17454. msgstr ""
  17455. #. type: table
  17456. #: guix-git/doc/guix.texi:11655
  17457. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  17458. msgstr ""
  17459. #. type: example
  17460. #: guix-git/doc/guix.texi:11658
  17461. #, no-wrap
  17462. msgid "guix import crate blake2-rfc\n"
  17463. msgstr ""
  17464. #. type: table
  17465. #: guix-git/doc/guix.texi:11661
  17466. msgid "The crate importer also allows you to specify a version string:"
  17467. msgstr ""
  17468. #. type: example
  17469. #: guix-git/doc/guix.texi:11664
  17470. #, no-wrap
  17471. msgid "guix import crate constant-time-eq@@0.1.0\n"
  17472. msgstr ""
  17473. #. type: table
  17474. #: guix-git/doc/guix.texi:11667 guix-git/doc/guix.texi:11683
  17475. #: guix-git/doc/guix.texi:11731 guix-git/doc/guix.texi:11762
  17476. msgid "Additional options include:"
  17477. msgstr ""
  17478. #. type: item
  17479. #: guix-git/doc/guix.texi:11676
  17480. #, no-wrap
  17481. msgid "opam"
  17482. msgstr ""
  17483. #. type: cindex
  17484. #: guix-git/doc/guix.texi:11677
  17485. #, no-wrap
  17486. msgid "OPAM"
  17487. msgstr ""
  17488. #. type: cindex
  17489. #: guix-git/doc/guix.texi:11678
  17490. #, no-wrap
  17491. msgid "OCaml"
  17492. msgstr ""
  17493. #. type: table
  17494. #: guix-git/doc/guix.texi:11681
  17495. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  17496. msgstr ""
  17497. #. type: item
  17498. #: guix-git/doc/guix.texi:11690
  17499. #, no-wrap
  17500. msgid "--repo"
  17501. msgstr ""
  17502. #. type: table
  17503. #: guix-git/doc/guix.texi:11694
  17504. 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:"
  17505. msgstr ""
  17506. #. type: item
  17507. #: guix-git/doc/guix.texi:11696
  17508. #, no-wrap
  17509. msgid "the name of a known repository - can be one of @code{opam},"
  17510. msgstr ""
  17511. #. type: itemize
  17512. #: guix-git/doc/guix.texi:11699
  17513. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  17514. msgstr ""
  17515. #. type: item
  17516. #: guix-git/doc/guix.texi:11699
  17517. #, no-wrap
  17518. msgid "the URL of a repository as expected by the"
  17519. msgstr ""
  17520. #. type: itemize
  17521. #: guix-git/doc/guix.texi:11703
  17522. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  17523. msgstr ""
  17524. #. type: item
  17525. #: guix-git/doc/guix.texi:11703
  17526. #, no-wrap
  17527. msgid "the path to a local copy of a repository (a directory containing a"
  17528. msgstr ""
  17529. #. type: itemize
  17530. #: guix-git/doc/guix.texi:11705
  17531. msgid "@file{packages/} sub-directory)."
  17532. msgstr ""
  17533. #. type: table
  17534. #: guix-git/doc/guix.texi:11710
  17535. 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."
  17536. msgstr ""
  17537. #. type: table
  17538. #: guix-git/doc/guix.texi:11715
  17539. 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}."
  17540. msgstr ""
  17541. #. type: cindex
  17542. #: guix-git/doc/guix.texi:11718 guix-git/doc/guix.texi:11719
  17543. #, no-wrap
  17544. msgid "go"
  17545. msgstr ""
  17546. #. type: table
  17547. #: guix-git/doc/guix.texi:11722
  17548. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  17549. msgstr ""
  17550. #. type: example
  17551. #: guix-git/doc/guix.texi:11725
  17552. #, no-wrap
  17553. msgid "guix import go gopkg.in/yaml.v2\n"
  17554. msgstr ""
  17555. #. type: table
  17556. #: guix-git/doc/guix.texi:11729
  17557. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  17558. msgstr ""
  17559. #. type: item
  17560. #: guix-git/doc/guix.texi:11738
  17561. #, no-wrap
  17562. msgid "--pin-versions"
  17563. msgstr ""
  17564. #. type: table
  17565. #: guix-git/doc/guix.texi:11746
  17566. 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."
  17567. msgstr ""
  17568. #. type: item
  17569. #: guix-git/doc/guix.texi:11748 guix-git/doc/guix.texi:11749
  17570. #: guix-git/doc/guix.texi:11923
  17571. #, no-wrap
  17572. msgid "egg"
  17573. msgstr ""
  17574. #. type: table
  17575. #: guix-git/doc/guix.texi:11756
  17576. 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-latest, eggs-5-latest} 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)."
  17577. msgstr ""
  17578. #. type: example
  17579. #: guix-git/doc/guix.texi:11759
  17580. #, no-wrap
  17581. msgid "guix import egg sourcehut\n"
  17582. msgstr ""
  17583. #. type: Plain text
  17584. #: guix-git/doc/guix.texi:11774
  17585. 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})."
  17586. msgstr ""
  17587. #. type: section
  17588. #: guix-git/doc/guix.texi:11776
  17589. #, no-wrap
  17590. msgid "Invoking @command{guix refresh}"
  17591. msgstr ""
  17592. #. type: command{#1}
  17593. #: guix-git/doc/guix.texi:11778
  17594. #, no-wrap
  17595. msgid "guix refresh"
  17596. msgstr ""
  17597. #. type: Plain text
  17598. #: guix-git/doc/guix.texi:11786
  17599. 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:"
  17600. msgstr ""
  17601. #. type: example
  17602. #: guix-git/doc/guix.texi:11791
  17603. #, no-wrap
  17604. msgid ""
  17605. "$ guix refresh\n"
  17606. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17607. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17608. msgstr ""
  17609. #. type: Plain text
  17610. #: guix-git/doc/guix.texi:11795
  17611. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17612. msgstr ""
  17613. #. type: example
  17614. #: guix-git/doc/guix.texi:11800
  17615. #, no-wrap
  17616. msgid ""
  17617. "$ guix refresh coreutils guile guile-ssh\n"
  17618. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17619. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17620. msgstr ""
  17621. #. type: Plain text
  17622. #: guix-git/doc/guix.texi:11809
  17623. 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!"
  17624. msgstr ""
  17625. #. type: table
  17626. #: guix-git/doc/guix.texi:11814
  17627. msgid "Consider the packages specified, and all the packages upon which they depend."
  17628. msgstr ""
  17629. #. type: example
  17630. #: guix-git/doc/guix.texi:11822
  17631. #, no-wrap
  17632. msgid ""
  17633. "$ guix refresh --recursive coreutils\n"
  17634. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17635. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17636. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17637. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17638. "@dots{}\n"
  17639. msgstr ""
  17640. #. type: Plain text
  17641. #: guix-git/doc/guix.texi:11830
  17642. 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:"
  17643. msgstr ""
  17644. #. type: lisp
  17645. #: guix-git/doc/guix.texi:11837
  17646. #, no-wrap
  17647. msgid ""
  17648. "(define-public network-manager\n"
  17649. " (package\n"
  17650. " (name \"network-manager\")\n"
  17651. " ;; @dots{}\n"
  17652. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17653. msgstr ""
  17654. #. type: Plain text
  17655. #: guix-git/doc/guix.texi:11846
  17656. 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."
  17657. msgstr ""
  17658. #. type: Plain text
  17659. #: guix-git/doc/guix.texi:11852
  17660. 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."
  17661. msgstr ""
  17662. #. type: Plain text
  17663. #: guix-git/doc/guix.texi:11854
  17664. msgid "The following options are supported:"
  17665. msgstr ""
  17666. #. type: table
  17667. #: guix-git/doc/guix.texi:11862 guix-git/doc/guix.texi:12707
  17668. msgid "This is useful to precisely refer to a package, as in this example:"
  17669. msgstr ""
  17670. #. type: example
  17671. #: guix-git/doc/guix.texi:11865
  17672. #, no-wrap
  17673. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17674. msgstr ""
  17675. #. type: table
  17676. #: guix-git/doc/guix.texi:11869
  17677. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17678. msgstr ""
  17679. #. type: item
  17680. #: guix-git/doc/guix.texi:11870
  17681. #, no-wrap
  17682. msgid "--update"
  17683. msgstr ""
  17684. #. type: itemx
  17685. #: guix-git/doc/guix.texi:11871
  17686. #, no-wrap
  17687. msgid "-u"
  17688. msgstr ""
  17689. #. type: table
  17690. #: guix-git/doc/guix.texi:11875
  17691. 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}):"
  17692. msgstr ""
  17693. #. type: example
  17694. #: guix-git/doc/guix.texi:11878
  17695. #, no-wrap
  17696. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17697. msgstr ""
  17698. #. type: table
  17699. #: guix-git/doc/guix.texi:11881
  17700. msgid "@xref{Defining Packages}, for more information on package definitions."
  17701. msgstr ""
  17702. #. type: item
  17703. #: guix-git/doc/guix.texi:11882
  17704. #, no-wrap
  17705. msgid "--select=[@var{subset}]"
  17706. msgstr ""
  17707. #. type: itemx
  17708. #: guix-git/doc/guix.texi:11883
  17709. #, no-wrap
  17710. msgid "-s @var{subset}"
  17711. msgstr ""
  17712. #. type: table
  17713. #: guix-git/doc/guix.texi:11886
  17714. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17715. msgstr ""
  17716. #. type: table
  17717. #: guix-git/doc/guix.texi:11893
  17718. 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."
  17719. msgstr ""
  17720. #. type: table
  17721. #: guix-git/doc/guix.texi:11897
  17722. 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."
  17723. msgstr ""
  17724. #. type: table
  17725. #: guix-git/doc/guix.texi:11902
  17726. 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."
  17727. msgstr ""
  17728. #. type: item
  17729. #: guix-git/doc/guix.texi:11903
  17730. #, no-wrap
  17731. msgid "--type=@var{updater}"
  17732. msgstr ""
  17733. #. type: itemx
  17734. #: guix-git/doc/guix.texi:11904
  17735. #, no-wrap
  17736. msgid "-t @var{updater}"
  17737. msgstr ""
  17738. #. type: table
  17739. #: guix-git/doc/guix.texi:11907
  17740. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17741. msgstr ""
  17742. #. type: table
  17743. #: guix-git/doc/guix.texi:11911
  17744. msgid "the updater for GNU packages;"
  17745. msgstr ""
  17746. #. type: item
  17747. #: guix-git/doc/guix.texi:11911
  17748. #, no-wrap
  17749. msgid "savannah"
  17750. msgstr ""
  17751. #. type: table
  17752. #: guix-git/doc/guix.texi:11913
  17753. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17754. msgstr ""
  17755. #. type: item
  17756. #: guix-git/doc/guix.texi:11913
  17757. #, no-wrap
  17758. msgid "sourceforge"
  17759. msgstr ""
  17760. #. type: table
  17761. #: guix-git/doc/guix.texi:11915
  17762. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17763. msgstr ""
  17764. #. type: item
  17765. #: guix-git/doc/guix.texi:11915
  17766. #, no-wrap
  17767. msgid "gnome"
  17768. msgstr ""
  17769. #. type: table
  17770. #: guix-git/doc/guix.texi:11917
  17771. msgid "the updater for GNOME packages;"
  17772. msgstr ""
  17773. #. type: item
  17774. #: guix-git/doc/guix.texi:11917
  17775. #, no-wrap
  17776. msgid "kde"
  17777. msgstr ""
  17778. #. type: table
  17779. #: guix-git/doc/guix.texi:11919
  17780. msgid "the updater for KDE packages;"
  17781. msgstr ""
  17782. #. type: item
  17783. #: guix-git/doc/guix.texi:11919
  17784. #, no-wrap
  17785. msgid "xorg"
  17786. msgstr ""
  17787. #. type: table
  17788. #: guix-git/doc/guix.texi:11921
  17789. msgid "the updater for X.org packages;"
  17790. msgstr ""
  17791. #. type: item
  17792. #: guix-git/doc/guix.texi:11921
  17793. #, no-wrap
  17794. msgid "kernel.org"
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:11923
  17798. msgid "the updater for packages hosted on kernel.org;"
  17799. msgstr ""
  17800. #. type: table
  17801. #: guix-git/doc/guix.texi:11925
  17802. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  17803. msgstr ""
  17804. #. type: table
  17805. #: guix-git/doc/guix.texi:11927
  17806. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17807. msgstr ""
  17808. #. type: table
  17809. #: guix-git/doc/guix.texi:11929
  17810. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17811. msgstr ""
  17812. #. type: item
  17813. #: guix-git/doc/guix.texi:11929
  17814. #, no-wrap
  17815. msgid "bioconductor"
  17816. msgstr ""
  17817. #. type: table
  17818. #: guix-git/doc/guix.texi:11931
  17819. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17820. msgstr ""
  17821. #. type: table
  17822. #: guix-git/doc/guix.texi:11933
  17823. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17824. msgstr ""
  17825. #. type: table
  17826. #: guix-git/doc/guix.texi:11935
  17827. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17828. msgstr ""
  17829. #. type: table
  17830. #: guix-git/doc/guix.texi:11937
  17831. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17832. msgstr ""
  17833. #. type: item
  17834. #: guix-git/doc/guix.texi:11937
  17835. #, no-wrap
  17836. msgid "github"
  17837. msgstr ""
  17838. #. type: table
  17839. #: guix-git/doc/guix.texi:11939
  17840. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17841. msgstr ""
  17842. #. type: table
  17843. #: guix-git/doc/guix.texi:11941
  17844. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17845. msgstr ""
  17846. #. type: table
  17847. #: guix-git/doc/guix.texi:11943
  17848. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17849. msgstr ""
  17850. #. type: table
  17851. #: guix-git/doc/guix.texi:11945
  17852. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17853. msgstr ""
  17854. #. type: item
  17855. #: guix-git/doc/guix.texi:11945
  17856. #, no-wrap
  17857. msgid "launchpad"
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:11947
  17861. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17862. msgstr ""
  17863. #. type: item
  17864. #: guix-git/doc/guix.texi:11947
  17865. #, no-wrap
  17866. msgid "generic-html"
  17867. msgstr ""
  17868. #. type: table
  17869. #: guix-git/doc/guix.texi:11950
  17870. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17871. msgstr ""
  17872. #. type: item
  17873. #: guix-git/doc/guix.texi:11951
  17874. #, no-wrap
  17875. msgid "generic-git"
  17876. msgstr ""
  17877. #. type: table
  17878. #: guix-git/doc/guix.texi:11956
  17879. 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."
  17880. msgstr ""
  17881. #. type: item
  17882. #: guix-git/doc/guix.texi:11958
  17883. #, no-wrap
  17884. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  17885. msgstr ""
  17886. #. type: itemize
  17887. #: guix-git/doc/guix.texi:11960 guix-git/doc/guix.texi:11963
  17888. msgid "the tag name."
  17889. msgstr ""
  17890. #. type: item
  17891. #: guix-git/doc/guix.texi:11961
  17892. #, no-wrap
  17893. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  17894. msgstr ""
  17895. #. type: item
  17896. #: guix-git/doc/guix.texi:11964
  17897. #, no-wrap
  17898. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  17899. msgstr ""
  17900. #. type: itemize
  17901. #: guix-git/doc/guix.texi:11966
  17902. msgid "the tag name for separating the numbers of the version."
  17903. msgstr ""
  17904. #. type: item
  17905. #: guix-git/doc/guix.texi:11967
  17906. #, no-wrap
  17907. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  17908. msgstr ""
  17909. #. type: itemize
  17910. #: guix-git/doc/guix.texi:11970
  17911. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  17912. msgstr ""
  17913. #. type: lisp
  17914. #: guix-git/doc/guix.texi:11981
  17915. #, no-wrap
  17916. msgid ""
  17917. "(package\n"
  17918. " (name \"foo\")\n"
  17919. " ;; ...\n"
  17920. " (properties\n"
  17921. " '((release-tag-prefix . \"^release0-\")\n"
  17922. " (release-tag-suffix . \"[a-z]?$\")\n"
  17923. " (release-tag-version-delimiter . \":\"))))\n"
  17924. msgstr ""
  17925. #. type: table
  17926. #: guix-git/doc/guix.texi:11988
  17927. 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:"
  17928. msgstr ""
  17929. #. type: example
  17930. #: guix-git/doc/guix.texi:11993
  17931. #, no-wrap
  17932. msgid ""
  17933. "$ guix refresh --type=elpa,cran\n"
  17934. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17935. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17936. msgstr ""
  17937. #. type: item
  17938. #: guix-git/doc/guix.texi:11995
  17939. #, no-wrap
  17940. msgid "--list-updaters"
  17941. msgstr ""
  17942. #. type: itemx
  17943. #: guix-git/doc/guix.texi:11996
  17944. #, no-wrap
  17945. msgid "-L"
  17946. msgstr ""
  17947. #. type: table
  17948. #: guix-git/doc/guix.texi:11998
  17949. msgid "List available updaters and exit (see @option{--type} above)."
  17950. msgstr ""
  17951. #. type: table
  17952. #: guix-git/doc/guix.texi:12001
  17953. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17954. msgstr ""
  17955. #. type: Plain text
  17956. #: guix-git/doc/guix.texi:12005
  17957. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17958. msgstr ""
  17959. #. type: example
  17960. #: guix-git/doc/guix.texi:12008
  17961. #, no-wrap
  17962. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17963. msgstr ""
  17964. #. type: Plain text
  17965. #: guix-git/doc/guix.texi:12015
  17966. 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:"
  17967. msgstr ""
  17968. #. type: example
  17969. #: guix-git/doc/guix.texi:12019
  17970. #, no-wrap
  17971. msgid ""
  17972. "$ ./pre-inst-env guix refresh -u \\\n"
  17973. " $(guix package --list-installed | cut -f1)\n"
  17974. msgstr ""
  17975. #. type: Plain text
  17976. #: guix-git/doc/guix.texi:12025
  17977. 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:"
  17978. msgstr ""
  17979. #. type: item
  17980. #: guix-git/doc/guix.texi:12028
  17981. #, no-wrap
  17982. msgid "--list-dependent"
  17983. msgstr ""
  17984. #. type: itemx
  17985. #: guix-git/doc/guix.texi:12029 guix-git/doc/guix.texi:12288
  17986. #, no-wrap
  17987. msgid "-l"
  17988. msgstr ""
  17989. #. type: table
  17990. #: guix-git/doc/guix.texi:12032
  17991. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17992. msgstr ""
  17993. #. type: table
  17994. #: guix-git/doc/guix.texi:12036
  17995. 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."
  17996. msgstr ""
  17997. #. type: Plain text
  17998. #: guix-git/doc/guix.texi:12042
  17999. 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."
  18000. msgstr ""
  18001. #. type: example
  18002. #: guix-git/doc/guix.texi:12047
  18003. #, no-wrap
  18004. msgid ""
  18005. "$ guix refresh --list-dependent flex\n"
  18006. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  18007. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  18008. msgstr ""
  18009. #. type: Plain text
  18010. #: guix-git/doc/guix.texi:12051
  18011. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  18012. msgstr ""
  18013. #. type: item
  18014. #: guix-git/doc/guix.texi:12054
  18015. #, no-wrap
  18016. msgid "--list-transitive"
  18017. msgstr ""
  18018. #. type: table
  18019. #: guix-git/doc/guix.texi:12056
  18020. msgid "List all the packages which one or more packages depend upon."
  18021. msgstr ""
  18022. #. type: example
  18023. #: guix-git/doc/guix.texi:12061
  18024. #, no-wrap
  18025. msgid ""
  18026. "$ guix refresh --list-transitive flex\n"
  18027. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  18028. "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"
  18029. msgstr ""
  18030. #. type: Plain text
  18031. #: guix-git/doc/guix.texi:12067
  18032. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  18033. msgstr ""
  18034. #. type: Plain text
  18035. #: guix-git/doc/guix.texi:12069
  18036. msgid "The following options can be used to customize GnuPG operation:"
  18037. msgstr ""
  18038. #. type: item
  18039. #: guix-git/doc/guix.texi:12072
  18040. #, no-wrap
  18041. msgid "--gpg=@var{command}"
  18042. msgstr ""
  18043. #. type: table
  18044. #: guix-git/doc/guix.texi:12075
  18045. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  18046. msgstr ""
  18047. #. type: item
  18048. #: guix-git/doc/guix.texi:12076
  18049. #, no-wrap
  18050. msgid "--keyring=@var{file}"
  18051. msgstr ""
  18052. #. type: table
  18053. #: guix-git/doc/guix.texi:12082
  18054. 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)."
  18055. msgstr ""
  18056. #. type: table
  18057. #: guix-git/doc/guix.texi:12088
  18058. 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)."
  18059. msgstr ""
  18060. #. type: table
  18061. #: guix-git/doc/guix.texi:12091
  18062. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  18063. msgstr ""
  18064. #. type: example
  18065. #: guix-git/doc/guix.texi:12094
  18066. #, no-wrap
  18067. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  18068. msgstr ""
  18069. #. type: table
  18070. #: guix-git/doc/guix.texi:12097
  18071. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  18072. msgstr ""
  18073. #. type: example
  18074. #: guix-git/doc/guix.texi:12101
  18075. #, no-wrap
  18076. msgid ""
  18077. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  18078. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  18079. msgstr ""
  18080. #. type: table
  18081. #: guix-git/doc/guix.texi:12105
  18082. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  18083. msgstr ""
  18084. #. type: table
  18085. #: guix-git/doc/guix.texi:12109
  18086. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  18087. msgstr ""
  18088. #. type: item
  18089. #: guix-git/doc/guix.texi:12111 guix-git/doc/guix.texi:21198
  18090. #, no-wrap
  18091. msgid "always"
  18092. msgstr ""
  18093. #. type: table
  18094. #: guix-git/doc/guix.texi:12114
  18095. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  18096. msgstr ""
  18097. #. type: item
  18098. #: guix-git/doc/guix.texi:12115 guix-git/doc/guix.texi:21200
  18099. #, no-wrap
  18100. msgid "never"
  18101. msgstr ""
  18102. #. type: table
  18103. #: guix-git/doc/guix.texi:12117
  18104. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  18105. msgstr ""
  18106. #. type: item
  18107. #: guix-git/doc/guix.texi:12118
  18108. #, no-wrap
  18109. msgid "interactive"
  18110. msgstr ""
  18111. #. type: table
  18112. #: guix-git/doc/guix.texi:12121
  18113. 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."
  18114. msgstr ""
  18115. #. type: item
  18116. #: guix-git/doc/guix.texi:12123
  18117. #, no-wrap
  18118. msgid "--key-server=@var{host}"
  18119. msgstr ""
  18120. #. type: table
  18121. #: guix-git/doc/guix.texi:12125
  18122. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  18123. msgstr ""
  18124. #. type: Plain text
  18125. #: guix-git/doc/guix.texi:12145
  18126. 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."
  18127. msgstr ""
  18128. #. type: section
  18129. #: guix-git/doc/guix.texi:12148
  18130. #, no-wrap
  18131. msgid "Invoking @command{guix lint}"
  18132. msgstr ""
  18133. #. type: command{#1}
  18134. #: guix-git/doc/guix.texi:12150
  18135. #, no-wrap
  18136. msgid "guix lint"
  18137. msgstr ""
  18138. #. type: cindex
  18139. #: guix-git/doc/guix.texi:12151
  18140. #, no-wrap
  18141. msgid "package, checking for errors"
  18142. msgstr ""
  18143. #. type: Plain text
  18144. #: guix-git/doc/guix.texi:12157
  18145. 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):"
  18146. msgstr ""
  18147. #. type: table
  18148. #: guix-git/doc/guix.texi:12163
  18149. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18150. msgstr ""
  18151. #. type: item
  18152. #: guix-git/doc/guix.texi:12164
  18153. #, no-wrap
  18154. msgid "inputs-should-be-native"
  18155. msgstr ""
  18156. #. type: table
  18157. #: guix-git/doc/guix.texi:12166
  18158. msgid "Identify inputs that should most likely be native inputs."
  18159. msgstr ""
  18160. #. type: itemx
  18161. #: guix-git/doc/guix.texi:12169
  18162. #, no-wrap
  18163. msgid "mirror-url"
  18164. msgstr ""
  18165. #. type: itemx
  18166. #: guix-git/doc/guix.texi:12170
  18167. #, no-wrap
  18168. msgid "github-url"
  18169. msgstr ""
  18170. #. type: itemx
  18171. #: guix-git/doc/guix.texi:12171
  18172. #, no-wrap
  18173. msgid "source-file-name"
  18174. msgstr ""
  18175. #. type: table
  18176. #: guix-git/doc/guix.texi:12178
  18177. 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})."
  18178. msgstr ""
  18179. #. type: item
  18180. #: guix-git/doc/guix.texi:12179
  18181. #, no-wrap
  18182. msgid "source-unstable-tarball"
  18183. msgstr ""
  18184. #. type: table
  18185. #: guix-git/doc/guix.texi:12183
  18186. 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."
  18187. msgstr ""
  18188. #. type: table
  18189. #: guix-git/doc/guix.texi:12187
  18190. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18191. msgstr ""
  18192. #. type: item
  18193. #: guix-git/doc/guix.texi:12188
  18194. #, no-wrap
  18195. msgid "profile-collisions"
  18196. msgstr ""
  18197. #. type: table
  18198. #: guix-git/doc/guix.texi:12194
  18199. 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."
  18200. msgstr ""
  18201. #. type: item
  18202. #: guix-git/doc/guix.texi:12195
  18203. #, no-wrap
  18204. msgid "archival"
  18205. msgstr ""
  18206. #. type: cindex
  18207. #: guix-git/doc/guix.texi:12196
  18208. #, no-wrap
  18209. msgid "Software Heritage, source code archive"
  18210. msgstr ""
  18211. #. type: cindex
  18212. #: guix-git/doc/guix.texi:12197
  18213. #, no-wrap
  18214. msgid "archival of source code, Software Heritage"
  18215. msgstr ""
  18216. #. type: table
  18217. #: guix-git/doc/guix.texi:12200
  18218. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18219. msgstr ""
  18220. #. type: table
  18221. #: guix-git/doc/guix.texi:12208
  18222. 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}."
  18223. msgstr ""
  18224. #. type: table
  18225. #: guix-git/doc/guix.texi:12213
  18226. 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."
  18227. msgstr ""
  18228. #. type: table
  18229. #: guix-git/doc/guix.texi:12219
  18230. 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."
  18231. msgstr ""
  18232. #. type: item
  18233. #: guix-git/doc/guix.texi:12220
  18234. #, no-wrap
  18235. msgid "cve"
  18236. msgstr ""
  18237. #. type: cindex
  18238. #: guix-git/doc/guix.texi:12221 guix-git/doc/guix.texi:36317
  18239. #, no-wrap
  18240. msgid "security vulnerabilities"
  18241. msgstr ""
  18242. #. type: cindex
  18243. #: guix-git/doc/guix.texi:12222
  18244. #, no-wrap
  18245. msgid "CVE, Common Vulnerabilities and Exposures"
  18246. msgstr ""
  18247. #. type: table
  18248. #: guix-git/doc/guix.texi:12227
  18249. 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}."
  18250. msgstr ""
  18251. #. type: table
  18252. #: guix-git/doc/guix.texi:12229
  18253. msgid "To view information about a particular vulnerability, visit pages such as:"
  18254. msgstr ""
  18255. #. type: indicateurl{#1}
  18256. #: guix-git/doc/guix.texi:12233
  18257. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  18258. msgstr ""
  18259. #. type: indicateurl{#1}
  18260. #: guix-git/doc/guix.texi:12235
  18261. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  18262. msgstr ""
  18263. #. type: table
  18264. #: guix-git/doc/guix.texi:12240
  18265. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  18266. msgstr ""
  18267. #. type: table
  18268. #: guix-git/doc/guix.texi:12245
  18269. 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:"
  18270. msgstr ""
  18271. #. type: lisp
  18272. #: guix-git/doc/guix.texi:12253
  18273. #, no-wrap
  18274. msgid ""
  18275. "(package\n"
  18276. " (name \"grub\")\n"
  18277. " ;; @dots{}\n"
  18278. " ;; CPE calls this package \"grub2\".\n"
  18279. " (properties '((cpe-name . \"grub2\")\n"
  18280. " (cpe-version . \"2.3\"))))\n"
  18281. msgstr ""
  18282. #. type: table
  18283. #: guix-git/doc/guix.texi:12260
  18284. 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:"
  18285. msgstr ""
  18286. #. type: lisp
  18287. #: guix-git/doc/guix.texi:12270
  18288. #, no-wrap
  18289. msgid ""
  18290. "(package\n"
  18291. " (name \"t1lib\")\n"
  18292. " ;; @dots{}\n"
  18293. " ;; These CVEs no longer apply and can be safely ignored.\n"
  18294. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  18295. " \"CVE-2011-1553\"\n"
  18296. " \"CVE-2011-1554\"\n"
  18297. " \"CVE-2011-5244\")))))\n"
  18298. msgstr ""
  18299. #. type: item
  18300. #: guix-git/doc/guix.texi:12272
  18301. #, no-wrap
  18302. msgid "formatting"
  18303. msgstr ""
  18304. #. type: table
  18305. #: guix-git/doc/guix.texi:12275
  18306. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  18307. msgstr ""
  18308. #. type: example
  18309. #: guix-git/doc/guix.texi:12281
  18310. #, no-wrap
  18311. msgid "guix lint @var{options} @var{package}@dots{}\n"
  18312. msgstr ""
  18313. #. type: Plain text
  18314. #: guix-git/doc/guix.texi:12285
  18315. 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:"
  18316. msgstr ""
  18317. #. type: item
  18318. #: guix-git/doc/guix.texi:12287
  18319. #, no-wrap
  18320. msgid "--list-checkers"
  18321. msgstr ""
  18322. #. type: table
  18323. #: guix-git/doc/guix.texi:12291
  18324. msgid "List and describe all the available checkers that will be run on packages and exit."
  18325. msgstr ""
  18326. #. type: item
  18327. #: guix-git/doc/guix.texi:12292
  18328. #, no-wrap
  18329. msgid "--checkers"
  18330. msgstr ""
  18331. #. type: itemx
  18332. #: guix-git/doc/guix.texi:12293
  18333. #, no-wrap
  18334. msgid "-c"
  18335. msgstr ""
  18336. #. type: table
  18337. #: guix-git/doc/guix.texi:12296
  18338. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18339. msgstr ""
  18340. #. type: item
  18341. #: guix-git/doc/guix.texi:12297
  18342. #, no-wrap
  18343. msgid "--exclude"
  18344. msgstr ""
  18345. #. type: table
  18346. #: guix-git/doc/guix.texi:12301
  18347. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18348. msgstr ""
  18349. #. type: item
  18350. #: guix-git/doc/guix.texi:12302
  18351. #, no-wrap
  18352. msgid "--no-network"
  18353. msgstr ""
  18354. #. type: table
  18355. #: guix-git/doc/guix.texi:12305
  18356. msgid "Only enable the checkers that do not depend on Internet access."
  18357. msgstr ""
  18358. #. type: section
  18359. #: guix-git/doc/guix.texi:12317
  18360. #, no-wrap
  18361. msgid "Invoking @command{guix size}"
  18362. msgstr ""
  18363. #. type: code{#1}
  18364. #: guix-git/doc/guix.texi:12319 guix-git/doc/guix.texi:34490
  18365. #, no-wrap
  18366. msgid "size"
  18367. msgstr ""
  18368. #. type: cindex
  18369. #: guix-git/doc/guix.texi:12320
  18370. #, no-wrap
  18371. msgid "package size"
  18372. msgstr ""
  18373. #. type: command{#1}
  18374. #: guix-git/doc/guix.texi:12322
  18375. #, no-wrap
  18376. msgid "guix size"
  18377. msgstr ""
  18378. #. type: Plain text
  18379. #: guix-git/doc/guix.texi:12329
  18380. 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."
  18381. msgstr ""
  18382. #. type: Plain text
  18383. #: guix-git/doc/guix.texi:12334
  18384. 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:"
  18385. msgstr ""
  18386. #. type: example
  18387. #: guix-git/doc/guix.texi:12347
  18388. #, no-wrap
  18389. msgid ""
  18390. "$ guix size coreutils\n"
  18391. "store item total self\n"
  18392. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  18393. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  18394. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  18395. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  18396. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  18397. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  18398. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  18399. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  18400. "total: 78.9 MiB\n"
  18401. msgstr ""
  18402. #. type: Plain text
  18403. #: guix-git/doc/guix.texi:12353
  18404. 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:"
  18405. msgstr ""
  18406. #. type: example
  18407. #: guix-git/doc/guix.texi:12356
  18408. #, no-wrap
  18409. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  18410. msgstr ""
  18411. #. type: Plain text
  18412. #: guix-git/doc/guix.texi:12364
  18413. 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."
  18414. msgstr ""
  18415. #. type: Plain text
  18416. #: guix-git/doc/guix.texi:12370
  18417. 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.)"
  18418. msgstr ""
  18419. #. type: Plain text
  18420. #: guix-git/doc/guix.texi:12373
  18421. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  18422. msgstr ""
  18423. #. type: example
  18424. #: guix-git/doc/guix.texi:12376
  18425. #, no-wrap
  18426. msgid "guix size $(guix system build config.scm)\n"
  18427. msgstr ""
  18428. #. type: Plain text
  18429. #: guix-git/doc/guix.texi:12386
  18430. 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})."
  18431. msgstr ""
  18432. #. type: Plain text
  18433. #: guix-git/doc/guix.texi:12391
  18434. 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."
  18435. msgstr ""
  18436. #. type: Plain text
  18437. #: guix-git/doc/guix.texi:12393
  18438. msgid "You can also specify several package names:"
  18439. msgstr ""
  18440. #. type: example
  18441. #: guix-git/doc/guix.texi:12403
  18442. #, no-wrap
  18443. msgid ""
  18444. "$ guix size coreutils grep sed bash\n"
  18445. "store item total self\n"
  18446. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  18447. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  18448. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  18449. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  18450. "@dots{}\n"
  18451. "total: 102.3 MiB\n"
  18452. msgstr ""
  18453. #. type: Plain text
  18454. #: guix-git/doc/guix.texi:12409
  18455. 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."
  18456. msgstr ""
  18457. #. type: Plain text
  18458. #: guix-git/doc/guix.texi:12415
  18459. 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})."
  18460. msgstr ""
  18461. #. type: Plain text
  18462. #: guix-git/doc/guix.texi:12417
  18463. msgid "The available options are:"
  18464. msgstr ""
  18465. #. type: table
  18466. #: guix-git/doc/guix.texi:12423
  18467. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  18468. msgstr ""
  18469. #. type: item
  18470. #: guix-git/doc/guix.texi:12424
  18471. #, no-wrap
  18472. msgid "--sort=@var{key}"
  18473. msgstr ""
  18474. #. type: table
  18475. #: guix-git/doc/guix.texi:12426
  18476. msgid "Sort lines according to @var{key}, one of the following options:"
  18477. msgstr ""
  18478. #. type: item
  18479. #: guix-git/doc/guix.texi:12428
  18480. #, no-wrap
  18481. msgid "self"
  18482. msgstr "sám"
  18483. #. type: table
  18484. #: guix-git/doc/guix.texi:12430
  18485. msgid "the size of each item (the default);"
  18486. msgstr ""
  18487. #. type: table
  18488. #: guix-git/doc/guix.texi:12432
  18489. msgid "the total size of the item's closure."
  18490. msgstr ""
  18491. #. type: item
  18492. #: guix-git/doc/guix.texi:12434
  18493. #, no-wrap
  18494. msgid "--map-file=@var{file}"
  18495. msgstr ""
  18496. #. type: table
  18497. #: guix-git/doc/guix.texi:12436
  18498. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  18499. msgstr ""
  18500. #. type: table
  18501. #: guix-git/doc/guix.texi:12438
  18502. msgid "For the example above, the map looks like this:"
  18503. msgstr ""
  18504. #. type: table
  18505. #: guix-git/doc/guix.texi:12441
  18506. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  18507. msgstr ""
  18508. #. type: table
  18509. #: guix-git/doc/guix.texi:12446
  18510. 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."
  18511. msgstr ""
  18512. #. type: table
  18513. #: guix-git/doc/guix.texi:12450
  18514. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  18515. msgstr ""
  18516. #. type: section
  18517. #: guix-git/doc/guix.texi:12461
  18518. #, no-wrap
  18519. msgid "Invoking @command{guix graph}"
  18520. msgstr ""
  18521. #. type: cindex
  18522. #: guix-git/doc/guix.texi:12463
  18523. #, no-wrap
  18524. msgid "DAG"
  18525. msgstr ""
  18526. #. type: command{#1}
  18527. #: guix-git/doc/guix.texi:12464
  18528. #, no-wrap
  18529. msgid "guix graph"
  18530. msgstr ""
  18531. #. type: Plain text
  18532. #: guix-git/doc/guix.texi:12479
  18533. 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:"
  18534. msgstr ""
  18535. #. type: example
  18536. #: guix-git/doc/guix.texi:12482
  18537. #, no-wrap
  18538. msgid "guix graph @var{options} @var{package}@dots{}\n"
  18539. msgstr ""
  18540. #. type: Plain text
  18541. #: guix-git/doc/guix.texi:12487
  18542. 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:"
  18543. msgstr ""
  18544. #. type: example
  18545. #: guix-git/doc/guix.texi:12490
  18546. #, no-wrap
  18547. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  18548. msgstr ""
  18549. #. type: Plain text
  18550. #: guix-git/doc/guix.texi:12493
  18551. msgid "The output looks like this:"
  18552. msgstr ""
  18553. #. type: Plain text
  18554. #: guix-git/doc/guix.texi:12495
  18555. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  18556. msgstr ""
  18557. #. type: Plain text
  18558. #: guix-git/doc/guix.texi:12497
  18559. msgid "Nice little graph, no?"
  18560. msgstr ""
  18561. #. type: Plain text
  18562. #: guix-git/doc/guix.texi:12500
  18563. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  18564. msgstr ""
  18565. #. type: example
  18566. #: guix-git/doc/guix.texi:12503
  18567. #, no-wrap
  18568. msgid "guix graph coreutils | xdot -\n"
  18569. msgstr ""
  18570. #. type: Plain text
  18571. #: guix-git/doc/guix.texi:12510
  18572. 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:"
  18573. msgstr ""
  18574. #. type: table
  18575. #: guix-git/doc/guix.texi:12516
  18576. 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."
  18577. msgstr ""
  18578. #. type: item
  18579. #: guix-git/doc/guix.texi:12517
  18580. #, no-wrap
  18581. msgid "reverse-package"
  18582. msgstr ""
  18583. #. type: table
  18584. #: guix-git/doc/guix.texi:12519
  18585. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  18586. msgstr ""
  18587. #. type: example
  18588. #: guix-git/doc/guix.texi:12522
  18589. #, no-wrap
  18590. msgid "guix graph --type=reverse-package ocaml\n"
  18591. msgstr ""
  18592. #. type: table
  18593. #: guix-git/doc/guix.texi:12527
  18594. 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)."
  18595. msgstr ""
  18596. #. type: table
  18597. #: guix-git/doc/guix.texi:12532
  18598. 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}})."
  18599. msgstr ""
  18600. #. type: item
  18601. #: guix-git/doc/guix.texi:12533
  18602. #, no-wrap
  18603. msgid "bag-emerged"
  18604. msgstr ""
  18605. #. type: table
  18606. #: guix-git/doc/guix.texi:12535
  18607. msgid "This is the package DAG, @emph{including} implicit inputs."
  18608. msgstr ""
  18609. #. type: table
  18610. #: guix-git/doc/guix.texi:12537
  18611. msgid "For instance, the following command:"
  18612. msgstr ""
  18613. #. type: example
  18614. #: guix-git/doc/guix.texi:12540
  18615. #, no-wrap
  18616. msgid "guix graph --type=bag-emerged coreutils\n"
  18617. msgstr ""
  18618. #. type: table
  18619. #: guix-git/doc/guix.texi:12543
  18620. msgid "...@: yields this bigger graph:"
  18621. msgstr ""
  18622. #. type: table
  18623. #: guix-git/doc/guix.texi:12545
  18624. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  18625. msgstr ""
  18626. #. type: table
  18627. #: guix-git/doc/guix.texi:12548
  18628. 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}})."
  18629. msgstr ""
  18630. #. type: table
  18631. #: guix-git/doc/guix.texi:12552
  18632. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  18633. msgstr ""
  18634. #. type: item
  18635. #: guix-git/doc/guix.texi:12553
  18636. #, no-wrap
  18637. msgid "bag"
  18638. msgstr ""
  18639. #. type: table
  18640. #: guix-git/doc/guix.texi:12556
  18641. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  18642. msgstr ""
  18643. #. type: item
  18644. #: guix-git/doc/guix.texi:12557
  18645. #, no-wrap
  18646. msgid "bag-with-origins"
  18647. msgstr ""
  18648. #. type: table
  18649. #: guix-git/doc/guix.texi:12559
  18650. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  18651. msgstr ""
  18652. #. type: item
  18653. #: guix-git/doc/guix.texi:12560
  18654. #, no-wrap
  18655. msgid "reverse-bag"
  18656. msgstr ""
  18657. #. type: table
  18658. #: guix-git/doc/guix.texi:12563
  18659. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  18660. msgstr ""
  18661. #. type: example
  18662. #: guix-git/doc/guix.texi:12566
  18663. #, no-wrap
  18664. msgid "guix graph -t reverse-bag dune\n"
  18665. msgstr ""
  18666. #. type: table
  18667. #: guix-git/doc/guix.texi:12573
  18668. 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."
  18669. msgstr ""
  18670. #. type: table
  18671. #: guix-git/doc/guix.texi:12579
  18672. 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."
  18673. msgstr ""
  18674. #. type: table
  18675. #: guix-git/doc/guix.texi:12582
  18676. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18677. msgstr ""
  18678. #. type: example
  18679. #: guix-git/doc/guix.texi:12585
  18680. #, no-wrap
  18681. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18682. msgstr ""
  18683. #. type: item
  18684. #: guix-git/doc/guix.texi:12587
  18685. #, no-wrap
  18686. msgid "module"
  18687. msgstr ""
  18688. #. type: table
  18689. #: guix-git/doc/guix.texi:12591
  18690. 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:"
  18691. msgstr ""
  18692. #. type: example
  18693. #: guix-git/doc/guix.texi:12594
  18694. #, no-wrap
  18695. msgid "guix graph -t module guile | xdot -\n"
  18696. msgstr ""
  18697. #. type: Plain text
  18698. #: guix-git/doc/guix.texi:12599
  18699. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18700. msgstr ""
  18701. #. type: table
  18702. #: guix-git/doc/guix.texi:12604
  18703. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18704. msgstr ""
  18705. #. type: table
  18706. #: guix-git/doc/guix.texi:12607
  18707. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18708. msgstr ""
  18709. #. type: table
  18710. #: guix-git/doc/guix.texi:12611
  18711. 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!):"
  18712. msgstr ""
  18713. #. type: example
  18714. #: guix-git/doc/guix.texi:12614
  18715. #, no-wrap
  18716. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18717. msgstr ""
  18718. #. type: item
  18719. #: guix-git/doc/guix.texi:12616
  18720. #, no-wrap
  18721. msgid "referrers"
  18722. msgstr ""
  18723. #. type: table
  18724. #: guix-git/doc/guix.texi:12619
  18725. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18726. msgstr ""
  18727. #. type: table
  18728. #: guix-git/doc/guix.texi:12625
  18729. 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."
  18730. msgstr ""
  18731. #. type: table
  18732. #: guix-git/doc/guix.texi:12628
  18733. msgid "It can help determine what is preventing a store item from being garbage collected."
  18734. msgstr ""
  18735. #. type: cindex
  18736. #: guix-git/doc/guix.texi:12631
  18737. #, no-wrap
  18738. msgid "shortest path, between packages"
  18739. msgstr ""
  18740. #. type: Plain text
  18741. #: guix-git/doc/guix.texi:12638
  18742. 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.):"
  18743. msgstr ""
  18744. #. type: example
  18745. #: guix-git/doc/guix.texi:12652
  18746. #, no-wrap
  18747. msgid ""
  18748. "$ guix graph --path emacs libunistring\n"
  18749. "emacs@@26.3\n"
  18750. "mailutils@@3.9\n"
  18751. "libunistring@@0.9.10\n"
  18752. "$ guix graph --path -t derivation emacs libunistring\n"
  18753. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18754. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18755. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18756. "$ guix graph --path -t references emacs libunistring\n"
  18757. "/gnu/store/@dots{}-emacs-26.3\n"
  18758. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18759. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18760. msgstr ""
  18761. #. type: Plain text
  18762. #: guix-git/doc/guix.texi:12660
  18763. 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:"
  18764. msgstr ""
  18765. #. type: example
  18766. #: guix-git/doc/guix.texi:12663
  18767. #, no-wrap
  18768. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  18769. msgstr ""
  18770. #. type: Plain text
  18771. #: guix-git/doc/guix.texi:12667
  18772. 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."
  18773. msgstr ""
  18774. #. type: Plain text
  18775. #: guix-git/doc/guix.texi:12669
  18776. msgid "The available options are the following:"
  18777. msgstr ""
  18778. #. type: table
  18779. #: guix-git/doc/guix.texi:12675
  18780. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18781. msgstr ""
  18782. #. type: item
  18783. #: guix-git/doc/guix.texi:12676
  18784. #, no-wrap
  18785. msgid "--list-types"
  18786. msgstr ""
  18787. #. type: table
  18788. #: guix-git/doc/guix.texi:12678
  18789. msgid "List the supported graph types."
  18790. msgstr ""
  18791. #. type: item
  18792. #: guix-git/doc/guix.texi:12679
  18793. #, no-wrap
  18794. msgid "--backend=@var{backend}"
  18795. msgstr ""
  18796. #. type: itemx
  18797. #: guix-git/doc/guix.texi:12680
  18798. #, no-wrap
  18799. msgid "-b @var{backend}"
  18800. msgstr ""
  18801. #. type: table
  18802. #: guix-git/doc/guix.texi:12682
  18803. msgid "Produce a graph using the selected @var{backend}."
  18804. msgstr ""
  18805. #. type: item
  18806. #: guix-git/doc/guix.texi:12683
  18807. #, no-wrap
  18808. msgid "--list-backends"
  18809. msgstr ""
  18810. #. type: table
  18811. #: guix-git/doc/guix.texi:12685
  18812. msgid "List the supported graph backends."
  18813. msgstr ""
  18814. #. type: table
  18815. #: guix-git/doc/guix.texi:12687
  18816. msgid "Currently, the available backends are Graphviz and d3.js."
  18817. msgstr ""
  18818. #. type: item
  18819. #: guix-git/doc/guix.texi:12688
  18820. #, no-wrap
  18821. msgid "--path"
  18822. msgstr ""
  18823. #. type: table
  18824. #: guix-git/doc/guix.texi:12693
  18825. 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}:"
  18826. msgstr ""
  18827. #. type: example
  18828. #: guix-git/doc/guix.texi:12700
  18829. #, no-wrap
  18830. msgid ""
  18831. "$ guix graph --path -t references libreoffice llvm\n"
  18832. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18833. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18834. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18835. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18836. msgstr ""
  18837. #. type: example
  18838. #: guix-git/doc/guix.texi:12710
  18839. #, no-wrap
  18840. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18841. msgstr ""
  18842. #. type: table
  18843. #: guix-git/doc/guix.texi:12715
  18844. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18845. msgstr ""
  18846. #. type: table
  18847. #: guix-git/doc/guix.texi:12718
  18848. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18849. msgstr ""
  18850. #. type: Plain text
  18851. #: guix-git/doc/guix.texi:12734
  18852. 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:"
  18853. msgstr ""
  18854. #. type: example
  18855. #: guix-git/doc/guix.texi:12737
  18856. #, no-wrap
  18857. msgid "guix graph git --with-input=openssl=libressl\n"
  18858. msgstr ""
  18859. #. type: Plain text
  18860. #: guix-git/doc/guix.texi:12740
  18861. msgid "So many possibilities, so much fun!"
  18862. msgstr ""
  18863. #. type: section
  18864. #: guix-git/doc/guix.texi:12742
  18865. #, no-wrap
  18866. msgid "Invoking @command{guix publish}"
  18867. msgstr ""
  18868. #. type: command{#1}
  18869. #: guix-git/doc/guix.texi:12744
  18870. #, no-wrap
  18871. msgid "guix publish"
  18872. msgstr ""
  18873. #. type: Plain text
  18874. #: guix-git/doc/guix.texi:12748
  18875. 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})."
  18876. msgstr ""
  18877. #. type: Plain text
  18878. #: guix-git/doc/guix.texi:12754
  18879. 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."
  18880. msgstr ""
  18881. #. type: Plain text
  18882. #: guix-git/doc/guix.texi:12760
  18883. 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."
  18884. msgstr ""
  18885. #. type: Plain text
  18886. #: guix-git/doc/guix.texi:12764
  18887. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18888. msgstr ""
  18889. #. type: Plain text
  18890. #: guix-git/doc/guix.texi:12769
  18891. 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})."
  18892. msgstr ""
  18893. #. type: example
  18894. #: guix-git/doc/guix.texi:12774
  18895. #, no-wrap
  18896. msgid "guix publish @var{options}@dots{}\n"
  18897. msgstr ""
  18898. #. type: Plain text
  18899. #: guix-git/doc/guix.texi:12778
  18900. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18901. msgstr ""
  18902. #. type: example
  18903. #: guix-git/doc/guix.texi:12781
  18904. #, no-wrap
  18905. msgid "guix publish\n"
  18906. msgstr ""
  18907. #. type: Plain text
  18908. #: guix-git/doc/guix.texi:12785
  18909. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18910. msgstr ""
  18911. #. type: Plain text
  18912. #: guix-git/doc/guix.texi:12793
  18913. 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})."
  18914. msgstr ""
  18915. #. type: Plain text
  18916. #: guix-git/doc/guix.texi:12800
  18917. 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}):"
  18918. msgstr ""
  18919. #. type: example
  18920. #: guix-git/doc/guix.texi:12803
  18921. #, no-wrap
  18922. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18923. msgstr ""
  18924. #. type: Plain text
  18925. #: guix-git/doc/guix.texi:12807
  18926. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18927. msgstr ""
  18928. #. type: cindex
  18929. #: guix-git/doc/guix.texi:12808
  18930. #, no-wrap
  18931. msgid "build logs, publication"
  18932. msgstr ""
  18933. #. type: Plain text
  18934. #: guix-git/doc/guix.texi:12810
  18935. msgid "Build logs are available from @code{/log} URLs like:"
  18936. msgstr ""
  18937. #. type: example
  18938. #: guix-git/doc/guix.texi:12813
  18939. #, no-wrap
  18940. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18941. msgstr ""
  18942. #. type: Plain text
  18943. #: guix-git/doc/guix.texi:12823
  18944. 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."
  18945. msgstr ""
  18946. #. type: item
  18947. #: guix-git/doc/guix.texi:12827
  18948. #, no-wrap
  18949. msgid "--port=@var{port}"
  18950. msgstr ""
  18951. #. type: itemx
  18952. #: guix-git/doc/guix.texi:12828
  18953. #, no-wrap
  18954. msgid "-p @var{port}"
  18955. msgstr ""
  18956. #. type: table
  18957. #: guix-git/doc/guix.texi:12830
  18958. msgid "Listen for HTTP requests on @var{port}."
  18959. msgstr ""
  18960. #. type: item
  18961. #: guix-git/doc/guix.texi:12831
  18962. #, no-wrap
  18963. msgid "--listen=@var{host}"
  18964. msgstr ""
  18965. #. type: table
  18966. #: guix-git/doc/guix.texi:12834
  18967. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18968. msgstr ""
  18969. #. type: table
  18970. #: guix-git/doc/guix.texi:12839
  18971. 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."
  18972. msgstr ""
  18973. #. type: item
  18974. #: guix-git/doc/guix.texi:12840
  18975. #, no-wrap
  18976. msgid "--compression[=@var{method}[:@var{level}]]"
  18977. msgstr ""
  18978. #. type: itemx
  18979. #: guix-git/doc/guix.texi:12841
  18980. #, no-wrap
  18981. msgid "-C [@var{method}[:@var{level}]]"
  18982. msgstr ""
  18983. #. type: table
  18984. #: guix-git/doc/guix.texi:12845
  18985. 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."
  18986. msgstr ""
  18987. #. type: table
  18988. #: guix-git/doc/guix.texi:12849
  18989. 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."
  18990. msgstr ""
  18991. #. type: table
  18992. #: guix-git/doc/guix.texi:12856
  18993. 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."
  18994. msgstr ""
  18995. #. type: table
  18996. #: guix-git/doc/guix.texi:12860
  18997. 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}."
  18998. msgstr ""
  18999. #. type: table
  19000. #: guix-git/doc/guix.texi:12869
  19001. 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."
  19002. msgstr ""
  19003. #. type: table
  19004. #: guix-git/doc/guix.texi:12874
  19005. 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."
  19006. msgstr ""
  19007. #. type: item
  19008. #: guix-git/doc/guix.texi:12875
  19009. #, no-wrap
  19010. msgid "--cache=@var{directory}"
  19011. msgstr ""
  19012. #. type: itemx
  19013. #: guix-git/doc/guix.texi:12876
  19014. #, no-wrap
  19015. msgid "-c @var{directory}"
  19016. msgstr ""
  19017. #. type: table
  19018. #: guix-git/doc/guix.texi:12879
  19019. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  19020. msgstr ""
  19021. #. type: table
  19022. #: guix-git/doc/guix.texi:12887
  19023. 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."
  19024. msgstr ""
  19025. #. type: table
  19026. #: guix-git/doc/guix.texi:12895
  19027. 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."
  19028. msgstr ""
  19029. #. type: table
  19030. #: guix-git/doc/guix.texi:12902
  19031. 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."
  19032. msgstr ""
  19033. #. type: table
  19034. #: guix-git/doc/guix.texi:12906
  19035. 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."
  19036. msgstr ""
  19037. #. type: table
  19038. #: guix-git/doc/guix.texi:12909
  19039. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  19040. msgstr ""
  19041. #. type: item
  19042. #: guix-git/doc/guix.texi:12910
  19043. #, no-wrap
  19044. msgid "--workers=@var{N}"
  19045. msgstr ""
  19046. #. type: table
  19047. #: guix-git/doc/guix.texi:12913
  19048. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  19049. msgstr ""
  19050. #. type: item
  19051. #: guix-git/doc/guix.texi:12914
  19052. #, no-wrap
  19053. msgid "--ttl=@var{ttl}"
  19054. msgstr ""
  19055. #. type: table
  19056. #: guix-git/doc/guix.texi:12918
  19057. 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."
  19058. msgstr ""
  19059. #. type: table
  19060. #: guix-git/doc/guix.texi:12923
  19061. 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}."
  19062. msgstr ""
  19063. #. type: table
  19064. #: guix-git/doc/guix.texi:12927
  19065. 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."
  19066. msgstr ""
  19067. #. type: item
  19068. #: guix-git/doc/guix.texi:12928
  19069. #, no-wrap
  19070. msgid "--negative-ttl=@var{ttl}"
  19071. msgstr ""
  19072. #. type: table
  19073. #: guix-git/doc/guix.texi:12933
  19074. 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."
  19075. msgstr ""
  19076. #. type: table
  19077. #: guix-git/doc/guix.texi:12937
  19078. 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."
  19079. msgstr ""
  19080. #. type: item
  19081. #: guix-git/doc/guix.texi:12938
  19082. #, no-wrap
  19083. msgid "--cache-bypass-threshold=@var{size}"
  19084. msgstr ""
  19085. #. type: table
  19086. #: guix-git/doc/guix.texi:12943
  19087. 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}."
  19088. msgstr ""
  19089. #. type: table
  19090. #: guix-git/doc/guix.texi:12948
  19091. 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."
  19092. msgstr ""
  19093. #. type: table
  19094. #: guix-git/doc/guix.texi:12952
  19095. 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."
  19096. msgstr ""
  19097. #. type: item
  19098. #: guix-git/doc/guix.texi:12953
  19099. #, no-wrap
  19100. msgid "--nar-path=@var{path}"
  19101. msgstr ""
  19102. #. type: table
  19103. #: guix-git/doc/guix.texi:12956
  19104. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  19105. msgstr ""
  19106. #. type: table
  19107. #: guix-git/doc/guix.texi:12960
  19108. 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}."
  19109. msgstr ""
  19110. #. type: item
  19111. #: guix-git/doc/guix.texi:12961
  19112. #, no-wrap
  19113. msgid "--public-key=@var{file}"
  19114. msgstr ""
  19115. #. type: itemx
  19116. #: guix-git/doc/guix.texi:12962
  19117. #, no-wrap
  19118. msgid "--private-key=@var{file}"
  19119. msgstr ""
  19120. #. type: table
  19121. #: guix-git/doc/guix.texi:12965 guix-git/doc/guix.texi:28081
  19122. #: guix-git/doc/guix.texi:28118
  19123. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  19124. msgstr ""
  19125. #. type: table
  19126. #: guix-git/doc/guix.texi:12972
  19127. 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."
  19128. msgstr ""
  19129. #. type: item
  19130. #: guix-git/doc/guix.texi:12973
  19131. #, no-wrap
  19132. msgid "--repl[=@var{port}]"
  19133. msgstr ""
  19134. #. type: itemx
  19135. #: guix-git/doc/guix.texi:12974
  19136. #, no-wrap
  19137. msgid "-r [@var{port}]"
  19138. msgstr ""
  19139. #. type: table
  19140. #: guix-git/doc/guix.texi:12978
  19141. 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."
  19142. msgstr ""
  19143. #. type: Plain text
  19144. #: guix-git/doc/guix.texi:12984
  19145. 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}})."
  19146. msgstr ""
  19147. #. type: Plain text
  19148. #: guix-git/doc/guix.texi:12987
  19149. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  19150. msgstr ""
  19151. #. type: itemize
  19152. #: guix-git/doc/guix.texi:12991
  19153. msgid "If your host distro uses the systemd init system:"
  19154. msgstr ""
  19155. #. type: example
  19156. #: guix-git/doc/guix.texi:12996
  19157. #, no-wrap
  19158. msgid ""
  19159. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  19160. " /etc/systemd/system/\n"
  19161. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19162. msgstr ""
  19163. #. type: example
  19164. #: guix-git/doc/guix.texi:13004
  19165. #, no-wrap
  19166. msgid ""
  19167. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19168. "# start guix-publish\n"
  19169. msgstr ""
  19170. #. type: itemize
  19171. #: guix-git/doc/guix.texi:13008
  19172. msgid "Otherwise, proceed similarly with your distro's init system."
  19173. msgstr ""
  19174. #. type: section
  19175. #: guix-git/doc/guix.texi:13011
  19176. #, no-wrap
  19177. msgid "Invoking @command{guix challenge}"
  19178. msgstr ""
  19179. #. type: cindex
  19180. #: guix-git/doc/guix.texi:13014
  19181. #, no-wrap
  19182. msgid "verifiable builds"
  19183. msgstr ""
  19184. #. type: command{#1}
  19185. #: guix-git/doc/guix.texi:13015
  19186. #, no-wrap
  19187. msgid "guix challenge"
  19188. msgstr ""
  19189. #. type: cindex
  19190. #: guix-git/doc/guix.texi:13016
  19191. #, no-wrap
  19192. msgid "challenge"
  19193. msgstr ""
  19194. #. type: Plain text
  19195. #: guix-git/doc/guix.texi:13021
  19196. 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."
  19197. msgstr ""
  19198. #. type: Plain text
  19199. #: guix-git/doc/guix.texi:13029
  19200. 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."
  19201. msgstr ""
  19202. #. type: Plain text
  19203. #: guix-git/doc/guix.texi:13038
  19204. 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."
  19205. msgstr ""
  19206. #. type: Plain text
  19207. #: guix-git/doc/guix.texi:13040
  19208. msgid "The command output looks like this:"
  19209. msgstr ""
  19210. #. type: smallexample
  19211. #: guix-git/doc/guix.texi:13052
  19212. #, no-wrap
  19213. msgid ""
  19214. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19215. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19216. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19217. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19218. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19219. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19220. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19221. " differing files:\n"
  19222. " /lib/libcrypto.so.1.1\n"
  19223. " /lib/libssl.so.1.1\n"
  19224. "\n"
  19225. msgstr ""
  19226. #. type: smallexample
  19227. #: guix-git/doc/guix.texi:13059
  19228. #, no-wrap
  19229. msgid ""
  19230. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  19231. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  19232. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  19233. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  19234. " differing file:\n"
  19235. " /libexec/git-core/git-fsck\n"
  19236. "\n"
  19237. msgstr ""
  19238. #. type: smallexample
  19239. #: guix-git/doc/guix.texi:13066
  19240. #, no-wrap
  19241. msgid ""
  19242. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  19243. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19244. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19245. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  19246. " differing file:\n"
  19247. " /share/man/man1/pius.1.gz\n"
  19248. "\n"
  19249. msgstr ""
  19250. #. type: smallexample
  19251. #: guix-git/doc/guix.texi:13068
  19252. #, no-wrap
  19253. msgid ""
  19254. "@dots{}\n"
  19255. "\n"
  19256. msgstr ""
  19257. #. type: smallexample
  19258. #: guix-git/doc/guix.texi:13073
  19259. #, no-wrap
  19260. msgid ""
  19261. "6,406 store items were analyzed:\n"
  19262. " - 4,749 (74.1%) were identical\n"
  19263. " - 525 (8.2%) differed\n"
  19264. " - 1,132 (17.7%) were inconclusive\n"
  19265. msgstr ""
  19266. #. type: Plain text
  19267. #: guix-git/doc/guix.texi:13081
  19268. 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."
  19269. msgstr ""
  19270. #. type: cindex
  19271. #: guix-git/doc/guix.texi:13082
  19272. #, no-wrap
  19273. msgid "non-determinism, in package builds"
  19274. msgstr ""
  19275. #. type: Plain text
  19276. #: guix-git/doc/guix.texi:13093
  19277. 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."
  19278. msgstr ""
  19279. #. type: Plain text
  19280. #: guix-git/doc/guix.texi:13096
  19281. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  19282. msgstr ""
  19283. #. type: example
  19284. #: guix-git/doc/guix.texi:13101
  19285. #, no-wrap
  19286. msgid ""
  19287. "guix challenge git \\\n"
  19288. " --diff=diffoscope \\\n"
  19289. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19290. msgstr ""
  19291. #. type: Plain text
  19292. #: guix-git/doc/guix.texi:13105
  19293. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  19294. msgstr ""
  19295. #. type: Plain text
  19296. #: guix-git/doc/guix.texi:13108
  19297. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  19298. msgstr ""
  19299. #. type: example
  19300. #: guix-git/doc/guix.texi:13113
  19301. #, no-wrap
  19302. msgid ""
  19303. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  19304. " | lzip -d | guix archive -x /tmp/git\n"
  19305. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  19306. msgstr ""
  19307. #. type: Plain text
  19308. #: guix-git/doc/guix.texi:13122
  19309. 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."
  19310. msgstr ""
  19311. #. type: Plain text
  19312. #: guix-git/doc/guix.texi:13130
  19313. 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."
  19314. msgstr ""
  19315. #. type: Plain text
  19316. #: guix-git/doc/guix.texi:13134
  19317. 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:"
  19318. msgstr ""
  19319. #. type: example
  19320. #: guix-git/doc/guix.texi:13137
  19321. #, no-wrap
  19322. msgid "$ guix challenge @var{package}\n"
  19323. msgstr ""
  19324. #. type: Plain text
  19325. #: guix-git/doc/guix.texi:13142
  19326. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  19327. msgstr ""
  19328. #. type: example
  19329. #: guix-git/doc/guix.texi:13147
  19330. #, no-wrap
  19331. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  19332. msgstr ""
  19333. #. type: Plain text
  19334. #: guix-git/doc/guix.texi:13154
  19335. 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)."
  19336. msgstr ""
  19337. #. type: Plain text
  19338. #: guix-git/doc/guix.texi:13156
  19339. msgid "The one option that matters is:"
  19340. msgstr ""
  19341. #. type: table
  19342. #: guix-git/doc/guix.texi:13162
  19343. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  19344. msgstr ""
  19345. #. type: item
  19346. #: guix-git/doc/guix.texi:13163
  19347. #, no-wrap
  19348. msgid "--diff=@var{mode}"
  19349. msgstr ""
  19350. #. type: table
  19351. #: guix-git/doc/guix.texi:13165
  19352. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  19353. msgstr ""
  19354. #. type: item
  19355. #: guix-git/doc/guix.texi:13167
  19356. #, no-wrap
  19357. msgid "@code{simple} (the default)"
  19358. msgstr ""
  19359. #. type: table
  19360. #: guix-git/doc/guix.texi:13169
  19361. msgid "Show the list of files that differ."
  19362. msgstr ""
  19363. #. type: code{#1}
  19364. #: guix-git/doc/guix.texi:13170
  19365. #, no-wrap
  19366. msgid "diffoscope"
  19367. msgstr ""
  19368. #. type: var{#1}
  19369. #: guix-git/doc/guix.texi:13171
  19370. #, no-wrap
  19371. msgid "command"
  19372. msgstr ""
  19373. #. type: table
  19374. #: guix-git/doc/guix.texi:13174
  19375. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  19376. msgstr ""
  19377. #. type: table
  19378. #: guix-git/doc/guix.texi:13177
  19379. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  19380. msgstr ""
  19381. #. type: item
  19382. #: guix-git/doc/guix.texi:13178 guix-git/doc/guix.texi:16543
  19383. #: guix-git/doc/guix.texi:18635
  19384. #, no-wrap
  19385. msgid "none"
  19386. msgstr ""
  19387. #. type: table
  19388. #: guix-git/doc/guix.texi:13180
  19389. msgid "Do not show further details about the differences."
  19390. msgstr ""
  19391. #. type: table
  19392. #: guix-git/doc/guix.texi:13185
  19393. 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."
  19394. msgstr ""
  19395. #. type: item
  19396. #: guix-git/doc/guix.texi:13186
  19397. #, no-wrap
  19398. msgid "--verbose"
  19399. msgstr ""
  19400. #. type: itemx
  19401. #: guix-git/doc/guix.texi:13187
  19402. #, no-wrap
  19403. msgid "-v"
  19404. msgstr ""
  19405. #. type: table
  19406. #: guix-git/doc/guix.texi:13190
  19407. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  19408. msgstr ""
  19409. #. type: section
  19410. #: guix-git/doc/guix.texi:13194
  19411. #, no-wrap
  19412. msgid "Invoking @command{guix copy}"
  19413. msgstr ""
  19414. #. type: cindex
  19415. #: guix-git/doc/guix.texi:13196
  19416. #, no-wrap
  19417. msgid "copy, of store items, over SSH"
  19418. msgstr ""
  19419. #. type: cindex
  19420. #: guix-git/doc/guix.texi:13197
  19421. #, no-wrap
  19422. msgid "SSH, copy of store items"
  19423. msgstr ""
  19424. #. type: cindex
  19425. #: guix-git/doc/guix.texi:13198
  19426. #, no-wrap
  19427. msgid "sharing store items across machines"
  19428. msgstr ""
  19429. #. type: cindex
  19430. #: guix-git/doc/guix.texi:13199
  19431. #, no-wrap
  19432. msgid "transferring store items across machines"
  19433. msgstr ""
  19434. #. type: Plain text
  19435. #: guix-git/doc/guix.texi:13206
  19436. 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}:"
  19437. msgstr ""
  19438. #. type: example
  19439. #: guix-git/doc/guix.texi:13210
  19440. #, no-wrap
  19441. msgid ""
  19442. "guix copy --to=@var{user}@@@var{host} \\\n"
  19443. " coreutils $(readlink -f ~/.guix-profile)\n"
  19444. msgstr ""
  19445. #. type: Plain text
  19446. #: guix-git/doc/guix.texi:13214
  19447. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  19448. msgstr ""
  19449. #. type: Plain text
  19450. #: guix-git/doc/guix.texi:13217
  19451. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  19452. msgstr ""
  19453. #. type: example
  19454. #: guix-git/doc/guix.texi:13220
  19455. #, no-wrap
  19456. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  19457. msgstr ""
  19458. #. type: Plain text
  19459. #: guix-git/doc/guix.texi:13225
  19460. 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."
  19461. msgstr ""
  19462. #. type: Plain text
  19463. #: guix-git/doc/guix.texi:13231
  19464. 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."
  19465. msgstr ""
  19466. #. type: example
  19467. #: guix-git/doc/guix.texi:13236
  19468. #, no-wrap
  19469. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  19470. msgstr ""
  19471. #. type: Plain text
  19472. #: guix-git/doc/guix.texi:13239
  19473. msgid "You must always specify one of the following options:"
  19474. msgstr ""
  19475. #. type: item
  19476. #: guix-git/doc/guix.texi:13241
  19477. #, no-wrap
  19478. msgid "--to=@var{spec}"
  19479. msgstr ""
  19480. #. type: itemx
  19481. #: guix-git/doc/guix.texi:13242
  19482. #, no-wrap
  19483. msgid "--from=@var{spec}"
  19484. msgstr ""
  19485. #. type: table
  19486. #: guix-git/doc/guix.texi:13246
  19487. 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}."
  19488. msgstr ""
  19489. #. type: Plain text
  19490. #: guix-git/doc/guix.texi:13250
  19491. 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}."
  19492. msgstr ""
  19493. #. type: Plain text
  19494. #: guix-git/doc/guix.texi:13254
  19495. 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})."
  19496. msgstr ""
  19497. #. type: section
  19498. #: guix-git/doc/guix.texi:13257
  19499. #, no-wrap
  19500. msgid "Invoking @command{guix container}"
  19501. msgstr ""
  19502. #. type: command{#1}
  19503. #: guix-git/doc/guix.texi:13259
  19504. #, no-wrap
  19505. msgid "guix container"
  19506. msgstr ""
  19507. #. type: quotation
  19508. #: guix-git/doc/guix.texi:13263
  19509. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  19510. msgstr ""
  19511. #. type: Plain text
  19512. #: guix-git/doc/guix.texi:13270
  19513. 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 environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  19514. msgstr ""
  19515. #. type: example
  19516. #: guix-git/doc/guix.texi:13275
  19517. #, no-wrap
  19518. msgid "guix container @var{action} @var{options}@dots{}\n"
  19519. msgstr ""
  19520. #. type: Plain text
  19521. #: guix-git/doc/guix.texi:13279
  19522. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  19523. msgstr ""
  19524. #. type: Plain text
  19525. #: guix-git/doc/guix.texi:13281
  19526. msgid "The following actions are available:"
  19527. msgstr ""
  19528. #. type: item
  19529. #: guix-git/doc/guix.texi:13283
  19530. #, no-wrap
  19531. msgid "exec"
  19532. msgstr ""
  19533. #. type: table
  19534. #: guix-git/doc/guix.texi:13285
  19535. msgid "Execute a command within the context of a running container."
  19536. msgstr ""
  19537. #. type: table
  19538. #: guix-git/doc/guix.texi:13287
  19539. msgid "The syntax is:"
  19540. msgstr ""
  19541. #. type: example
  19542. #: guix-git/doc/guix.texi:13290
  19543. #, no-wrap
  19544. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  19545. msgstr ""
  19546. #. type: table
  19547. #: guix-git/doc/guix.texi:13296
  19548. 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}."
  19549. msgstr ""
  19550. #. type: table
  19551. #: guix-git/doc/guix.texi:13300
  19552. 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:"
  19553. msgstr ""
  19554. #. type: example
  19555. #: guix-git/doc/guix.texi:13303
  19556. #, no-wrap
  19557. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  19558. msgstr ""
  19559. #. type: table
  19560. #: guix-git/doc/guix.texi:13307
  19561. 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."
  19562. msgstr ""
  19563. #. type: section
  19564. #: guix-git/doc/guix.texi:13311
  19565. #, no-wrap
  19566. msgid "Invoking @command{guix weather}"
  19567. msgstr ""
  19568. #. type: Plain text
  19569. #: guix-git/doc/guix.texi:13320
  19570. 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})."
  19571. msgstr ""
  19572. #. type: cindex
  19573. #: guix-git/doc/guix.texi:13321
  19574. #, no-wrap
  19575. msgid "statistics, for substitutes"
  19576. msgstr ""
  19577. #. type: cindex
  19578. #: guix-git/doc/guix.texi:13322
  19579. #, no-wrap
  19580. msgid "availability of substitutes"
  19581. msgstr ""
  19582. #. type: cindex
  19583. #: guix-git/doc/guix.texi:13323
  19584. #, no-wrap
  19585. msgid "substitute availability"
  19586. msgstr ""
  19587. #. type: cindex
  19588. #: guix-git/doc/guix.texi:13324
  19589. #, no-wrap
  19590. msgid "weather, substitute availability"
  19591. msgstr ""
  19592. #. type: Plain text
  19593. #: guix-git/doc/guix.texi:13326
  19594. msgid "Here's a sample run:"
  19595. msgstr ""
  19596. #. type: example
  19597. #: guix-git/doc/guix.texi:13338
  19598. #, no-wrap
  19599. msgid ""
  19600. "$ guix weather --substitute-urls=https://guix.example.org\n"
  19601. "computing 5,872 package derivations for x86_64-linux...\n"
  19602. "looking for 6,128 store items on https://guix.example.org..\n"
  19603. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19604. "https://guix.example.org\n"
  19605. " 43.4% substitutes available (2,658 out of 6,128)\n"
  19606. " 7,032.5 MiB of nars (compressed)\n"
  19607. " 19,824.2 MiB on disk (uncompressed)\n"
  19608. " 0.030 seconds per request (182.9 seconds in total)\n"
  19609. " 33.5 requests per second\n"
  19610. "\n"
  19611. msgstr ""
  19612. #. type: example
  19613. #: guix-git/doc/guix.texi:13348
  19614. #, no-wrap
  19615. msgid ""
  19616. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  19617. " 867 queued builds\n"
  19618. " x86_64-linux: 518 (59.7%)\n"
  19619. " i686-linux: 221 (25.5%)\n"
  19620. " aarch64-linux: 128 (14.8%)\n"
  19621. " build rate: 23.41 builds per hour\n"
  19622. " x86_64-linux: 11.16 builds per hour\n"
  19623. " i686-linux: 6.03 builds per hour\n"
  19624. " aarch64-linux: 6.41 builds per hour\n"
  19625. msgstr ""
  19626. #. type: cindex
  19627. #: guix-git/doc/guix.texi:13350
  19628. #, no-wrap
  19629. msgid "continuous integration, statistics"
  19630. msgstr ""
  19631. #. type: Plain text
  19632. #: guix-git/doc/guix.texi:13361
  19633. 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)."
  19634. msgstr ""
  19635. #. type: Plain text
  19636. #: guix-git/doc/guix.texi:13367
  19637. 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."
  19638. msgstr ""
  19639. #. type: example
  19640. #: guix-git/doc/guix.texi:13372
  19641. #, no-wrap
  19642. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  19643. msgstr ""
  19644. #. type: Plain text
  19645. #: guix-git/doc/guix.texi:13380
  19646. 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%."
  19647. msgstr ""
  19648. #. type: Plain text
  19649. #: guix-git/doc/guix.texi:13382
  19650. msgid "The available options are listed below."
  19651. msgstr ""
  19652. #. type: table
  19653. #: guix-git/doc/guix.texi:13388
  19654. 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."
  19655. msgstr ""
  19656. #. type: table
  19657. #: guix-git/doc/guix.texi:13394
  19658. 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."
  19659. msgstr ""
  19660. #. type: table
  19661. #: guix-git/doc/guix.texi:13400
  19662. 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})."
  19663. msgstr ""
  19664. #. type: table
  19665. #: guix-git/doc/guix.texi:13403
  19666. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  19667. msgstr ""
  19668. #. type: item
  19669. #: guix-git/doc/guix.texi:13404
  19670. #, no-wrap
  19671. msgid "--coverage[=@var{count}]"
  19672. msgstr ""
  19673. #. type: itemx
  19674. #: guix-git/doc/guix.texi:13405
  19675. #, no-wrap
  19676. msgid "-c [@var{count}]"
  19677. msgstr ""
  19678. #. type: table
  19679. #: guix-git/doc/guix.texi:13411
  19680. 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:"
  19681. msgstr ""
  19682. #. type: example
  19683. #: guix-git/doc/guix.texi:13425
  19684. #, no-wrap
  19685. msgid ""
  19686. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  19687. "computing 8,983 package derivations for x86_64-linux...\n"
  19688. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  19689. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  19690. "@value{SUBSTITUTE-URLS}\n"
  19691. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19692. "@dots{}\n"
  19693. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  19694. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19695. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19696. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19697. " @dots{}\n"
  19698. msgstr ""
  19699. #. type: table
  19700. #: guix-git/doc/guix.texi:13431
  19701. 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."
  19702. msgstr ""
  19703. #. type: table
  19704. #: guix-git/doc/guix.texi:13435
  19705. 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."
  19706. msgstr ""
  19707. #. type: item
  19708. #: guix-git/doc/guix.texi:13436
  19709. #, no-wrap
  19710. msgid "--display-missing"
  19711. msgstr ""
  19712. #. type: table
  19713. #: guix-git/doc/guix.texi:13438
  19714. msgid "Display the list of store items for which substitutes are missing."
  19715. msgstr ""
  19716. #. type: section
  19717. #: guix-git/doc/guix.texi:13441
  19718. #, no-wrap
  19719. msgid "Invoking @command{guix processes}"
  19720. msgstr ""
  19721. #. type: Plain text
  19722. #: guix-git/doc/guix.texi:13449
  19723. 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:"
  19724. msgstr ""
  19725. #. type: example
  19726. #: guix-git/doc/guix.texi:13455
  19727. #, no-wrap
  19728. msgid ""
  19729. "$ sudo guix processes\n"
  19730. "SessionPID: 19002\n"
  19731. "ClientPID: 19090\n"
  19732. "ClientCommand: guix environment --ad-hoc python\n"
  19733. "\n"
  19734. msgstr ""
  19735. #. type: example
  19736. #: guix-git/doc/guix.texi:13459
  19737. #, no-wrap
  19738. msgid ""
  19739. "SessionPID: 19402\n"
  19740. "ClientPID: 19367\n"
  19741. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19742. "\n"
  19743. msgstr ""
  19744. #. type: example
  19745. #: guix-git/doc/guix.texi:13472
  19746. #, no-wrap
  19747. msgid ""
  19748. "SessionPID: 19444\n"
  19749. "ClientPID: 19419\n"
  19750. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19751. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19752. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19753. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19754. "ChildPID: 20495\n"
  19755. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19756. "ChildPID: 27733\n"
  19757. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19758. "ChildPID: 27793\n"
  19759. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19760. msgstr ""
  19761. #. type: Plain text
  19762. #: guix-git/doc/guix.texi:13479
  19763. 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."
  19764. msgstr ""
  19765. #. type: Plain text
  19766. #: guix-git/doc/guix.texi:13486
  19767. 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})."
  19768. msgstr ""
  19769. #. type: Plain text
  19770. #: guix-git/doc/guix.texi:13491
  19771. 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:"
  19772. msgstr ""
  19773. #. type: example
  19774. #: guix-git/doc/guix.texi:13497
  19775. #, no-wrap
  19776. msgid ""
  19777. "$ sudo guix processes | \\\n"
  19778. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19779. "ClientPID: 19419\n"
  19780. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19781. msgstr ""
  19782. #. type: Plain text
  19783. #: guix-git/doc/guix.texi:13500
  19784. msgid "Additional options are listed below."
  19785. msgstr ""
  19786. #. type: table
  19787. #: guix-git/doc/guix.texi:13510
  19788. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19789. msgstr ""
  19790. #. type: item
  19791. #: guix-git/doc/guix.texi:13511
  19792. #, no-wrap
  19793. msgid "normalized"
  19794. msgstr ""
  19795. #. type: table
  19796. #: guix-git/doc/guix.texi:13518
  19797. 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}."
  19798. msgstr ""
  19799. #. type: example
  19800. #: guix-git/doc/guix.texi:13528
  19801. #, no-wrap
  19802. msgid ""
  19803. "$ guix processes --format=normalized | \\\n"
  19804. " recsel \\\n"
  19805. " -j Session \\\n"
  19806. " -t ChildProcess \\\n"
  19807. " -p Session.PID,PID \\\n"
  19808. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19809. "PID: 4435\n"
  19810. "Session_PID: 4278\n"
  19811. "\n"
  19812. msgstr ""
  19813. #. type: example
  19814. #: guix-git/doc/guix.texi:13531
  19815. #, no-wrap
  19816. msgid ""
  19817. "PID: 4554\n"
  19818. "Session_PID: 4278\n"
  19819. "\n"
  19820. msgstr ""
  19821. #. type: example
  19822. #: guix-git/doc/guix.texi:13534
  19823. #, no-wrap
  19824. msgid ""
  19825. "PID: 4646\n"
  19826. "Session_PID: 4278\n"
  19827. msgstr ""
  19828. #. type: cindex
  19829. #: guix-git/doc/guix.texi:13541
  19830. #, no-wrap
  19831. msgid "system configuration"
  19832. msgstr ""
  19833. #. type: Plain text
  19834. #: guix-git/doc/guix.texi:13547
  19835. 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."
  19836. msgstr ""
  19837. #. type: Plain text
  19838. #: guix-git/doc/guix.texi:13557
  19839. 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."
  19840. msgstr ""
  19841. #. type: Plain text
  19842. #: guix-git/doc/guix.texi:13562
  19843. 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."
  19844. msgstr ""
  19845. #. type: Plain text
  19846. #: guix-git/doc/guix.texi:13591
  19847. 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:"
  19848. msgstr ""
  19849. #. type: code{#1}
  19850. #: guix-git/doc/guix.texi:13592 guix-git/doc/guix.texi:34419
  19851. #, no-wrap
  19852. msgid "operating-system"
  19853. msgstr ""
  19854. #. type: include
  19855. #: guix-git/doc/guix.texi:13594
  19856. #, no-wrap
  19857. msgid "os-config-bare-bones.texi"
  19858. msgstr ""
  19859. #. type: Plain text
  19860. #: guix-git/doc/guix.texi:13601
  19861. 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."
  19862. msgstr ""
  19863. #. type: Plain text
  19864. #: guix-git/doc/guix.texi:13606
  19865. 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}."
  19866. msgstr ""
  19867. #. type: unnumberedsubsec
  19868. #: guix-git/doc/guix.texi:13607
  19869. #, no-wrap
  19870. msgid "Bootloader"
  19871. msgstr ""
  19872. #. type: cindex
  19873. #: guix-git/doc/guix.texi:13609
  19874. #, no-wrap
  19875. msgid "legacy boot, on Intel machines"
  19876. msgstr ""
  19877. #. type: cindex
  19878. #: guix-git/doc/guix.texi:13610
  19879. #, no-wrap
  19880. msgid "BIOS boot, on Intel machines"
  19881. msgstr ""
  19882. #. type: cindex
  19883. #: guix-git/doc/guix.texi:13611
  19884. #, no-wrap
  19885. msgid "UEFI boot"
  19886. msgstr ""
  19887. #. type: cindex
  19888. #: guix-git/doc/guix.texi:13612
  19889. #, no-wrap
  19890. msgid "EFI boot"
  19891. msgstr ""
  19892. #. type: Plain text
  19893. #: guix-git/doc/guix.texi:13618
  19894. 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:"
  19895. msgstr ""
  19896. #. type: lisp
  19897. #: guix-git/doc/guix.texi:13623
  19898. #, no-wrap
  19899. msgid ""
  19900. "(bootloader-configuration\n"
  19901. " (bootloader grub-efi-bootloader)\n"
  19902. " (targets '(\"/boot/efi\")))\n"
  19903. msgstr ""
  19904. #. type: Plain text
  19905. #: guix-git/doc/guix.texi:13627
  19906. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19907. msgstr ""
  19908. #. type: unnumberedsubsec
  19909. #: guix-git/doc/guix.texi:13628
  19910. #, no-wrap
  19911. msgid "Globally-Visible Packages"
  19912. msgstr ""
  19913. #. type: vindex
  19914. #: guix-git/doc/guix.texi:13630
  19915. #, no-wrap
  19916. msgid "%base-packages"
  19917. msgstr ""
  19918. #. type: Plain text
  19919. #: guix-git/doc/guix.texi:13643
  19920. 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:"
  19921. msgstr ""
  19922. #. type: lisp
  19923. #: guix-git/doc/guix.texi:13647
  19924. #, no-wrap
  19925. msgid ""
  19926. "(use-modules (gnu packages))\n"
  19927. "(use-modules (gnu packages dns))\n"
  19928. "\n"
  19929. msgstr ""
  19930. #. type: lisp
  19931. #: guix-git/doc/guix.texi:13652
  19932. #, no-wrap
  19933. msgid ""
  19934. "(operating-system\n"
  19935. " ;; ...\n"
  19936. " (packages (cons (list isc-bind \"utils\")\n"
  19937. " %base-packages)))\n"
  19938. msgstr ""
  19939. #. type: findex
  19940. #: guix-git/doc/guix.texi:13654
  19941. #, no-wrap
  19942. msgid "specification->package"
  19943. msgstr ""
  19944. #. type: Plain text
  19945. #: guix-git/doc/guix.texi:13663
  19946. 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:"
  19947. msgstr ""
  19948. #. type: lisp
  19949. #: guix-git/doc/guix.texi:13666
  19950. #, no-wrap
  19951. msgid ""
  19952. "(use-modules (gnu packages))\n"
  19953. "\n"
  19954. msgstr ""
  19955. #. type: lisp
  19956. #: guix-git/doc/guix.texi:13672
  19957. #, no-wrap
  19958. msgid ""
  19959. "(operating-system\n"
  19960. " ;; ...\n"
  19961. " (packages (append (map specification->package\n"
  19962. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19963. " %base-packages)))\n"
  19964. msgstr ""
  19965. #. type: unnumberedsubsec
  19966. #: guix-git/doc/guix.texi:13674
  19967. #, no-wrap
  19968. msgid "System Services"
  19969. msgstr ""
  19970. #. type: cindex
  19971. #: guix-git/doc/guix.texi:13676 guix-git/doc/guix.texi:33179
  19972. #: guix-git/doc/guix.texi:34648
  19973. #, no-wrap
  19974. msgid "services"
  19975. msgstr ""
  19976. #. type: vindex
  19977. #: guix-git/doc/guix.texi:13677
  19978. #, no-wrap
  19979. msgid "%base-services"
  19980. msgstr ""
  19981. #. type: Plain text
  19982. #: guix-git/doc/guix.texi:13687
  19983. 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})."
  19984. msgstr ""
  19985. #. type: cindex
  19986. #: guix-git/doc/guix.texi:13688
  19987. #, no-wrap
  19988. msgid "customization, of services"
  19989. msgstr ""
  19990. #. type: findex
  19991. #: guix-git/doc/guix.texi:13689
  19992. #, no-wrap
  19993. msgid "modify-services"
  19994. msgstr ""
  19995. #. type: Plain text
  19996. #: guix-git/doc/guix.texi:13693
  19997. 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."
  19998. msgstr ""
  19999. #. type: anchor{#1}
  20000. #: guix-git/doc/guix.texi:13699
  20001. msgid "auto-login to TTY"
  20002. msgstr ""
  20003. #. type: Plain text
  20004. #: guix-git/doc/guix.texi:13699
  20005. 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:"
  20006. msgstr ""
  20007. #. type: lisp
  20008. #: guix-git/doc/guix.texi:13716
  20009. #, no-wrap
  20010. msgid ""
  20011. "(define %my-services\n"
  20012. " ;; My very own list of services.\n"
  20013. " (modify-services %base-services\n"
  20014. " (guix-service-type config =>\n"
  20015. " (guix-configuration\n"
  20016. " (inherit config)\n"
  20017. " ;; Fetch substitutes from example.org.\n"
  20018. " (substitute-urls\n"
  20019. " (list \"https://example.org/guix\"\n"
  20020. " \"https://ci.guix.gnu.org\"))))\n"
  20021. " (mingetty-service-type config =>\n"
  20022. " (mingetty-configuration\n"
  20023. " (inherit config)\n"
  20024. " ;; Automatially log in as \"guest\".\n"
  20025. " (auto-login \"guest\")))))\n"
  20026. "\n"
  20027. msgstr ""
  20028. #. type: lisp
  20029. #: guix-git/doc/guix.texi:13720
  20030. #, no-wrap
  20031. msgid ""
  20032. "(operating-system\n"
  20033. " ;; @dots{}\n"
  20034. " (services %my-services))\n"
  20035. msgstr ""
  20036. #. type: Plain text
  20037. #: guix-git/doc/guix.texi:13733
  20038. 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."
  20039. msgstr ""
  20040. #. type: Plain text
  20041. #: guix-git/doc/guix.texi:13740
  20042. msgid "The configuration for a typical ``desktop'' usage, with an encrypted 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:"
  20043. msgstr ""
  20044. #. type: include
  20045. #: guix-git/doc/guix.texi:13742
  20046. #, no-wrap
  20047. msgid "os-config-desktop.texi"
  20048. msgstr ""
  20049. #. type: Plain text
  20050. #: guix-git/doc/guix.texi:13747
  20051. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  20052. msgstr ""
  20053. #. type: include
  20054. #: guix-git/doc/guix.texi:13749
  20055. #, no-wrap
  20056. msgid "os-config-lightweight-desktop.texi"
  20057. msgstr ""
  20058. #. type: Plain text
  20059. #: guix-git/doc/guix.texi:13755
  20060. 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."
  20061. msgstr ""
  20062. #. type: Plain text
  20063. #: guix-git/doc/guix.texi:13759
  20064. 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."
  20065. msgstr ""
  20066. #. type: Plain text
  20067. #: guix-git/doc/guix.texi:13766
  20068. 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:"
  20069. msgstr ""
  20070. #. type: lisp
  20071. #: guix-git/doc/guix.texi:13771
  20072. #, no-wrap
  20073. msgid ""
  20074. "(remove (lambda (service)\n"
  20075. " (eq? (service-kind service) avahi-service-type))\n"
  20076. " %desktop-services)\n"
  20077. msgstr ""
  20078. #. type: Plain text
  20079. #: guix-git/doc/guix.texi:13774
  20080. msgid "Alternatively, the @code{modify-services} macro can be used:"
  20081. msgstr ""
  20082. #. type: lisp
  20083. #: guix-git/doc/guix.texi:13778
  20084. #, no-wrap
  20085. msgid ""
  20086. "(modify-services %desktop-services\n"
  20087. " (delete avahi-service-type))\n"
  20088. msgstr ""
  20089. #. type: unnumberedsubsec
  20090. #: guix-git/doc/guix.texi:13781
  20091. #, no-wrap
  20092. msgid "Instantiating the System"
  20093. msgstr ""
  20094. #. type: Plain text
  20095. #: guix-git/doc/guix.texi:13788
  20096. 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})."
  20097. msgstr ""
  20098. #. type: Plain text
  20099. #: guix-git/doc/guix.texi:13796
  20100. 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."
  20101. msgstr ""
  20102. #. type: cindex
  20103. #: guix-git/doc/guix.texi:13797
  20104. #, no-wrap
  20105. msgid "roll-back, of the operating system"
  20106. msgstr ""
  20107. #. type: Plain text
  20108. #: guix-git/doc/guix.texi:13807
  20109. 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}."
  20110. msgstr ""
  20111. #. type: Plain text
  20112. #: guix-git/doc/guix.texi:13813
  20113. 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})."
  20114. msgstr ""
  20115. #. type: unnumberedsubsec
  20116. #: guix-git/doc/guix.texi:13814
  20117. #, no-wrap
  20118. msgid "The Programming Interface"
  20119. msgstr ""
  20120. #. type: Plain text
  20121. #: guix-git/doc/guix.texi:13819
  20122. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  20123. msgstr ""
  20124. #. type: deffn
  20125. #: guix-git/doc/guix.texi:13820
  20126. #, no-wrap
  20127. msgid "{Monadic Procedure} operating-system-derivation os"
  20128. msgstr ""
  20129. #. type: deffn
  20130. #: guix-git/doc/guix.texi:13823
  20131. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  20132. msgstr ""
  20133. #. type: deffn
  20134. #: guix-git/doc/guix.texi:13827
  20135. 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}."
  20136. msgstr ""
  20137. #. type: Plain text
  20138. #: guix-git/doc/guix.texi:13832
  20139. 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!"
  20140. msgstr ""
  20141. #. type: section
  20142. #: guix-git/doc/guix.texi:13835
  20143. #, no-wrap
  20144. msgid "@code{operating-system} Reference"
  20145. msgstr ""
  20146. #. type: Plain text
  20147. #: guix-git/doc/guix.texi:13840
  20148. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  20149. msgstr ""
  20150. #. type: deftp
  20151. #: guix-git/doc/guix.texi:13841
  20152. #, no-wrap
  20153. msgid "{Data Type} operating-system"
  20154. msgstr ""
  20155. #. type: deftp
  20156. #: guix-git/doc/guix.texi:13845
  20157. 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})."
  20158. msgstr ""
  20159. #. type: item
  20160. #: guix-git/doc/guix.texi:13847
  20161. #, no-wrap
  20162. msgid "@code{kernel} (default: @code{linux-libre})"
  20163. msgstr ""
  20164. #. type: table
  20165. #: guix-git/doc/guix.texi:13852
  20166. 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.}."
  20167. msgstr ""
  20168. #. type: code{#1}
  20169. #: guix-git/doc/guix.texi:13853 guix-git/doc/guix.texi:29626
  20170. #, no-wrap
  20171. msgid "hurd"
  20172. msgstr ""
  20173. #. type: item
  20174. #: guix-git/doc/guix.texi:13854
  20175. #, no-wrap
  20176. msgid "@code{hurd} (default: @code{#f})"
  20177. msgstr ""
  20178. #. type: table
  20179. #: guix-git/doc/guix.texi:13859
  20180. 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."
  20181. msgstr ""
  20182. #. type: quotation
  20183. #: guix-git/doc/guix.texi:13862
  20184. msgid "This feature is experimental and only supported for disk images."
  20185. msgstr ""
  20186. #. type: item
  20187. #: guix-git/doc/guix.texi:13864
  20188. #, no-wrap
  20189. msgid "@code{kernel-loadable-modules} (default: '())"
  20190. msgstr ""
  20191. #. type: table
  20192. #: guix-git/doc/guix.texi:13867
  20193. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20194. msgstr ""
  20195. #. type: item
  20196. #: guix-git/doc/guix.texi:13868
  20197. #, no-wrap
  20198. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20199. msgstr ""
  20200. #. type: table
  20201. #: guix-git/doc/guix.texi:13871
  20202. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20203. msgstr ""
  20204. #. type: code{#1}
  20205. #: guix-git/doc/guix.texi:13872 guix-git/doc/guix.texi:33411
  20206. #: guix-git/doc/guix.texi:33430
  20207. #, no-wrap
  20208. msgid "bootloader"
  20209. msgstr ""
  20210. #. type: table
  20211. #: guix-git/doc/guix.texi:13874
  20212. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20213. msgstr ""
  20214. #. type: code{#1}
  20215. #: guix-git/doc/guix.texi:13875 guix-git/doc/guix.texi:33604
  20216. #, no-wrap
  20217. msgid "label"
  20218. msgstr ""
  20219. #. type: table
  20220. #: guix-git/doc/guix.texi:13878
  20221. 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."
  20222. msgstr ""
  20223. #. type: item
  20224. #: guix-git/doc/guix.texi:13879 guix-git/doc/guix.texi:15499
  20225. #: guix-git/doc/guix.texi:18459 guix-git/doc/guix.texi:33534
  20226. #, no-wrap
  20227. msgid "@code{keyboard-layout} (default: @code{#f})"
  20228. msgstr ""
  20229. #. type: table
  20230. #: guix-git/doc/guix.texi:13884
  20231. 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."
  20232. msgstr ""
  20233. #. type: table
  20234. #: guix-git/doc/guix.texi:13889
  20235. 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})."
  20236. msgstr ""
  20237. #. type: quotation
  20238. #: guix-git/doc/guix.texi:13896
  20239. 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."
  20240. msgstr ""
  20241. #. type: item
  20242. #: guix-git/doc/guix.texi:13898
  20243. #, no-wrap
  20244. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  20245. msgstr ""
  20246. #. type: cindex
  20247. #: guix-git/doc/guix.texi:13899 guix-git/doc/guix.texi:33216
  20248. #: guix-git/doc/guix.texi:33339
  20249. #, no-wrap
  20250. msgid "initrd"
  20251. msgstr ""
  20252. #. type: cindex
  20253. #: guix-git/doc/guix.texi:13900 guix-git/doc/guix.texi:33217
  20254. #: guix-git/doc/guix.texi:33340
  20255. #, no-wrap
  20256. msgid "initial RAM disk"
  20257. msgstr ""
  20258. #. type: table
  20259. #: guix-git/doc/guix.texi:13903
  20260. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  20261. msgstr ""
  20262. #. type: item
  20263. #: guix-git/doc/guix.texi:13904
  20264. #, no-wrap
  20265. msgid "@code{initrd} (default: @code{base-initrd})"
  20266. msgstr ""
  20267. #. type: table
  20268. #: guix-git/doc/guix.texi:13908
  20269. 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}."
  20270. msgstr ""
  20271. #. type: item
  20272. #: guix-git/doc/guix.texi:13909
  20273. #, no-wrap
  20274. msgid "@code{firmware} (default: @code{%base-firmware})"
  20275. msgstr ""
  20276. #. type: cindex
  20277. #: guix-git/doc/guix.texi:13910
  20278. #, no-wrap
  20279. msgid "firmware"
  20280. msgstr ""
  20281. #. type: table
  20282. #: guix-git/doc/guix.texi:13912
  20283. msgid "List of firmware packages loadable by the operating system kernel."
  20284. msgstr ""
  20285. #. type: table
  20286. #: guix-git/doc/guix.texi:13917
  20287. 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."
  20288. msgstr ""
  20289. #. type: code{#1}
  20290. #: guix-git/doc/guix.texi:13918 guix-git/doc/guix.texi:34438
  20291. #, no-wrap
  20292. msgid "host-name"
  20293. msgstr ""
  20294. #. type: table
  20295. #: guix-git/doc/guix.texi:13920
  20296. msgid "The host name."
  20297. msgstr ""
  20298. #. type: code{#1}
  20299. #: guix-git/doc/guix.texi:13921
  20300. #, no-wrap
  20301. msgid "hosts-file"
  20302. msgstr ""
  20303. #. type: cindex
  20304. #: guix-git/doc/guix.texi:13922
  20305. #, no-wrap
  20306. msgid "hosts file"
  20307. msgstr ""
  20308. #. type: table
  20309. #: guix-git/doc/guix.texi:13927
  20310. 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}."
  20311. msgstr ""
  20312. #. type: item
  20313. #: guix-git/doc/guix.texi:13928
  20314. #, no-wrap
  20315. msgid "@code{mapped-devices} (default: @code{'()})"
  20316. msgstr ""
  20317. #. type: table
  20318. #: guix-git/doc/guix.texi:13930
  20319. msgid "A list of mapped devices. @xref{Mapped Devices}."
  20320. msgstr ""
  20321. #. type: code{#1}
  20322. #: guix-git/doc/guix.texi:13931
  20323. #, no-wrap
  20324. msgid "file-systems"
  20325. msgstr ""
  20326. #. type: table
  20327. #: guix-git/doc/guix.texi:13933
  20328. msgid "A list of file systems. @xref{File Systems}."
  20329. msgstr ""
  20330. #. type: cindex
  20331. #: guix-git/doc/guix.texi:13934
  20332. #, no-wrap
  20333. msgid "swap devices"
  20334. msgstr ""
  20335. #. type: cindex
  20336. #: guix-git/doc/guix.texi:13935
  20337. #, no-wrap
  20338. msgid "swap space"
  20339. msgstr ""
  20340. #. type: item
  20341. #: guix-git/doc/guix.texi:13936
  20342. #, no-wrap
  20343. msgid "@code{swap-devices} (default: @code{'()})"
  20344. msgstr ""
  20345. #. type: table
  20346. #: guix-git/doc/guix.texi:13941
  20347. msgid "A list of UUIDs, file system labels, or strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Here are some examples:"
  20348. msgstr ""
  20349. #. type: item
  20350. #: guix-git/doc/guix.texi:13943
  20351. #, no-wrap
  20352. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  20353. msgstr ""
  20354. #. type: table
  20355. #: guix-git/doc/guix.texi:13947
  20356. 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."
  20357. msgstr ""
  20358. #. type: item
  20359. #: guix-git/doc/guix.texi:13948
  20360. #, no-wrap
  20361. msgid "(list (file-system-label \"swap\"))"
  20362. msgstr ""
  20363. #. type: table
  20364. #: guix-git/doc/guix.texi:13952
  20365. msgid "Use the partition with label @code{swap}. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  20366. msgstr ""
  20367. #. type: item
  20368. #: guix-git/doc/guix.texi:13953
  20369. #, no-wrap
  20370. msgid "(list \"/swapfile\")"
  20371. msgstr ""
  20372. #. type: table
  20373. #: guix-git/doc/guix.texi:13955
  20374. msgid "Use the file @file{/swapfile} as swap space."
  20375. msgstr ""
  20376. #. type: item
  20377. #: guix-git/doc/guix.texi:13956
  20378. #, no-wrap
  20379. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  20380. msgstr ""
  20381. #. type: table
  20382. #: guix-git/doc/guix.texi:13960
  20383. msgid "Use the @file{/dev/sda3} and @file{/dev/sdb2} partitions as swap space. We recommend referring to swap devices by UUIDs or labels as shown above instead."
  20384. msgstr ""
  20385. #. type: table
  20386. #: guix-git/doc/guix.texi:13966
  20387. msgid "It is possible to specify a swap file in a file system on a mapped device (under @file{/dev/mapper}), provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}."
  20388. msgstr ""
  20389. #. type: item
  20390. #: guix-git/doc/guix.texi:13967
  20391. #, no-wrap
  20392. msgid "@code{users} (default: @code{%base-user-accounts})"
  20393. msgstr ""
  20394. #. type: itemx
  20395. #: guix-git/doc/guix.texi:13968
  20396. #, no-wrap
  20397. msgid "@code{groups} (default: @code{%base-groups})"
  20398. msgstr ""
  20399. #. type: table
  20400. #: guix-git/doc/guix.texi:13970
  20401. msgid "List of user accounts and groups. @xref{User Accounts}."
  20402. msgstr ""
  20403. #. type: table
  20404. #: guix-git/doc/guix.texi:13973
  20405. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  20406. msgstr ""
  20407. #. type: item
  20408. #: guix-git/doc/guix.texi:13974
  20409. #, no-wrap
  20410. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  20411. msgstr ""
  20412. #. type: table
  20413. #: guix-git/doc/guix.texi:13978
  20414. 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."
  20415. msgstr ""
  20416. #. type: table
  20417. #: guix-git/doc/guix.texi:13980
  20418. msgid "For instance, a valid value may look like this:"
  20419. msgstr ""
  20420. #. type: lisp
  20421. #: guix-git/doc/guix.texi:13986
  20422. #, no-wrap
  20423. msgid ""
  20424. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  20425. " (\".guile\" ,(plain-file \"guile\"\n"
  20426. " \"(use-modules (ice-9 readline))\n"
  20427. " (activate-readline)\")))\n"
  20428. msgstr ""
  20429. #. type: item
  20430. #: guix-git/doc/guix.texi:13988
  20431. #, no-wrap
  20432. msgid "@code{issue} (default: @code{%default-issue})"
  20433. msgstr ""
  20434. #. type: table
  20435. #: guix-git/doc/guix.texi:13991
  20436. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  20437. msgstr ""
  20438. #. type: item
  20439. #: guix-git/doc/guix.texi:13992
  20440. #, no-wrap
  20441. msgid "@code{packages} (default: @code{%base-packages})"
  20442. msgstr ""
  20443. #. type: table
  20444. #: guix-git/doc/guix.texi:13996
  20445. 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:"
  20446. msgstr ""
  20447. #. type: lisp
  20448. #: guix-git/doc/guix.texi:14001
  20449. #, no-wrap
  20450. msgid ""
  20451. "(cons* git ; the default \"out\" output\n"
  20452. " (list git \"send-email\") ; another output of git\n"
  20453. " %base-packages) ; the default set\n"
  20454. msgstr ""
  20455. #. type: table
  20456. #: guix-git/doc/guix.texi:14006
  20457. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  20458. msgstr ""
  20459. #. type: code{#1}
  20460. #: guix-git/doc/guix.texi:14007
  20461. #, no-wrap
  20462. msgid "timezone"
  20463. msgstr ""
  20464. #. type: table
  20465. #: guix-git/doc/guix.texi:14009
  20466. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  20467. msgstr ""
  20468. #. type: table
  20469. #: guix-git/doc/guix.texi:14013
  20470. 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."
  20471. msgstr ""
  20472. #. type: item
  20473. #: guix-git/doc/guix.texi:14014 guix-git/doc/guix.texi:20064
  20474. #, no-wrap
  20475. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  20476. msgstr ""
  20477. #. type: table
  20478. #: guix-git/doc/guix.texi:14017
  20479. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  20480. msgstr ""
  20481. #. type: item
  20482. #: guix-git/doc/guix.texi:14018
  20483. #, no-wrap
  20484. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  20485. msgstr ""
  20486. #. type: table
  20487. #: guix-git/doc/guix.texi:14021
  20488. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  20489. msgstr ""
  20490. #. type: item
  20491. #: guix-git/doc/guix.texi:14022
  20492. #, no-wrap
  20493. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  20494. msgstr ""
  20495. #. type: table
  20496. #: guix-git/doc/guix.texi:14026
  20497. 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."
  20498. msgstr ""
  20499. #. type: item
  20500. #: guix-git/doc/guix.texi:14027
  20501. #, no-wrap
  20502. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  20503. msgstr ""
  20504. #. type: table
  20505. #: guix-git/doc/guix.texi:14031
  20506. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  20507. msgstr ""
  20508. #. type: item
  20509. #: guix-git/doc/guix.texi:14032
  20510. #, no-wrap
  20511. msgid "@code{services} (default: @code{%base-services})"
  20512. msgstr ""
  20513. #. type: table
  20514. #: guix-git/doc/guix.texi:14034
  20515. msgid "A list of service objects denoting system services. @xref{Services}."
  20516. msgstr ""
  20517. #. type: cindex
  20518. #: guix-git/doc/guix.texi:14035
  20519. #, no-wrap
  20520. msgid "essential services"
  20521. msgstr ""
  20522. #. type: item
  20523. #: guix-git/doc/guix.texi:14036
  20524. #, no-wrap
  20525. msgid "@code{essential-services} (default: ...)"
  20526. msgstr ""
  20527. #. type: table
  20528. #: guix-git/doc/guix.texi:14041
  20529. 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."
  20530. msgstr ""
  20531. #. type: item
  20532. #: guix-git/doc/guix.texi:14042
  20533. #, no-wrap
  20534. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  20535. msgstr ""
  20536. #. type: cindex
  20537. #: guix-git/doc/guix.texi:14043
  20538. #, no-wrap
  20539. msgid "PAM"
  20540. msgstr ""
  20541. #. type: cindex
  20542. #: guix-git/doc/guix.texi:14044
  20543. #, no-wrap
  20544. msgid "pluggable authentication modules"
  20545. msgstr ""
  20546. #. type: table
  20547. #: guix-git/doc/guix.texi:14047
  20548. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  20549. msgstr ""
  20550. #. type: item
  20551. #: guix-git/doc/guix.texi:14048
  20552. #, no-wrap
  20553. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  20554. msgstr ""
  20555. #. type: table
  20556. #: guix-git/doc/guix.texi:14051
  20557. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  20558. msgstr ""
  20559. #. type: item
  20560. #: guix-git/doc/guix.texi:14052
  20561. #, no-wrap
  20562. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  20563. msgstr ""
  20564. #. type: cindex
  20565. #: guix-git/doc/guix.texi:14053
  20566. #, no-wrap
  20567. msgid "sudoers file"
  20568. msgstr ""
  20569. #. type: table
  20570. #: guix-git/doc/guix.texi:14056
  20571. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  20572. msgstr ""
  20573. #. type: table
  20574. #: guix-git/doc/guix.texi:14061
  20575. 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}."
  20576. msgstr ""
  20577. #. type: deffn
  20578. #: guix-git/doc/guix.texi:14064
  20579. #, no-wrap
  20580. msgid "{Scheme Syntax} this-operating-system"
  20581. msgstr ""
  20582. #. type: deffn
  20583. #: guix-git/doc/guix.texi:14067
  20584. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  20585. msgstr ""
  20586. #. type: deffn
  20587. #: guix-git/doc/guix.texi:14070
  20588. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  20589. msgstr ""
  20590. #. type: lisp
  20591. #: guix-git/doc/guix.texi:14073 guix-git/doc/guix.texi:17680
  20592. #, no-wrap
  20593. msgid ""
  20594. "(use-modules (gnu) (guix))\n"
  20595. "\n"
  20596. msgstr ""
  20597. #. type: lisp
  20598. #: guix-git/doc/guix.texi:14078
  20599. #, no-wrap
  20600. msgid ""
  20601. "(operating-system\n"
  20602. " ;; ...\n"
  20603. " (label (package-full-name\n"
  20604. " (operating-system-kernel this-operating-system))))\n"
  20605. msgstr ""
  20606. #. type: deffn
  20607. #: guix-git/doc/guix.texi:14082
  20608. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  20609. msgstr ""
  20610. #. type: Plain text
  20611. #: guix-git/doc/guix.texi:14093
  20612. 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:"
  20613. msgstr ""
  20614. #. type: lisp
  20615. #: guix-git/doc/guix.texi:14099
  20616. #, no-wrap
  20617. msgid ""
  20618. "(file-system\n"
  20619. " (mount-point \"/home\")\n"
  20620. " (device \"/dev/sda3\")\n"
  20621. " (type \"ext4\"))\n"
  20622. msgstr ""
  20623. #. type: Plain text
  20624. #: guix-git/doc/guix.texi:14103
  20625. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  20626. msgstr ""
  20627. #. type: deftp
  20628. #: guix-git/doc/guix.texi:14104
  20629. #, no-wrap
  20630. msgid "{Data Type} file-system"
  20631. msgstr ""
  20632. #. type: deftp
  20633. #: guix-git/doc/guix.texi:14107
  20634. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  20635. msgstr ""
  20636. #. type: item
  20637. #: guix-git/doc/guix.texi:14109 guix-git/doc/guix.texi:14489
  20638. #, no-wrap
  20639. msgid "type"
  20640. msgstr ""
  20641. #. type: table
  20642. #: guix-git/doc/guix.texi:14112
  20643. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  20644. msgstr ""
  20645. #. type: code{#1}
  20646. #: guix-git/doc/guix.texi:14113
  20647. #, no-wrap
  20648. msgid "mount-point"
  20649. msgstr ""
  20650. #. type: table
  20651. #: guix-git/doc/guix.texi:14115
  20652. msgid "This designates the place where the file system is to be mounted."
  20653. msgstr ""
  20654. #. type: code{#1}
  20655. #: guix-git/doc/guix.texi:14116
  20656. #, no-wrap
  20657. msgid "device"
  20658. msgstr ""
  20659. #. type: table
  20660. #: guix-git/doc/guix.texi:14126
  20661. 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.}."
  20662. msgstr ""
  20663. #. type: findex
  20664. #: guix-git/doc/guix.texi:14127
  20665. #, no-wrap
  20666. msgid "file-system-label"
  20667. msgstr ""
  20668. #. type: table
  20669. #: guix-git/doc/guix.texi:14132
  20670. 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:"
  20671. msgstr ""
  20672. #. type: lisp
  20673. #: guix-git/doc/guix.texi:14138
  20674. #, no-wrap
  20675. msgid ""
  20676. "(file-system\n"
  20677. " (mount-point \"/home\")\n"
  20678. " (type \"ext4\")\n"
  20679. " (device (file-system-label \"my-home\")))\n"
  20680. msgstr ""
  20681. #. type: code{#1}
  20682. #: guix-git/doc/guix.texi:14140 guix-git/doc/guix.texi:32023
  20683. #: guix-git/doc/guix.texi:32039
  20684. #, no-wrap
  20685. msgid "uuid"
  20686. msgstr ""
  20687. #. type: table
  20688. #: guix-git/doc/guix.texi:14148
  20689. 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:"
  20690. msgstr ""
  20691. #. type: lisp
  20692. #: guix-git/doc/guix.texi:14154
  20693. #, no-wrap
  20694. msgid ""
  20695. "(file-system\n"
  20696. " (mount-point \"/home\")\n"
  20697. " (type \"ext4\")\n"
  20698. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20699. msgstr ""
  20700. #. type: table
  20701. #: guix-git/doc/guix.texi:14162
  20702. 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."
  20703. msgstr ""
  20704. #. type: item
  20705. #: guix-git/doc/guix.texi:14163
  20706. #, no-wrap
  20707. msgid "@code{flags} (default: @code{'()})"
  20708. msgstr ""
  20709. #. type: table
  20710. #: guix-git/doc/guix.texi:14173
  20711. 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."
  20712. msgstr ""
  20713. #. type: item
  20714. #: guix-git/doc/guix.texi:14174
  20715. #, no-wrap
  20716. msgid "@code{options} (default: @code{#f})"
  20717. msgstr ""
  20718. #. type: table
  20719. #: guix-git/doc/guix.texi:14183
  20720. 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."
  20721. msgstr ""
  20722. #. type: item
  20723. #: guix-git/doc/guix.texi:14184
  20724. #, no-wrap
  20725. msgid "@code{mount?} (default: @code{#t})"
  20726. msgstr ""
  20727. #. type: table
  20728. #: guix-git/doc/guix.texi:14189
  20729. 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."
  20730. msgstr ""
  20731. #. type: item
  20732. #: guix-git/doc/guix.texi:14190
  20733. #, no-wrap
  20734. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20735. msgstr ""
  20736. #. type: table
  20737. #: guix-git/doc/guix.texi:14195
  20738. 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."
  20739. msgstr ""
  20740. #. type: item
  20741. #: guix-git/doc/guix.texi:14196
  20742. #, no-wrap
  20743. msgid "@code{check?} (default: @code{#t})"
  20744. msgstr ""
  20745. #. type: table
  20746. #: guix-git/doc/guix.texi:14200
  20747. 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."
  20748. msgstr ""
  20749. #. type: item
  20750. #: guix-git/doc/guix.texi:14201
  20751. #, no-wrap
  20752. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  20753. msgstr ""
  20754. #. type: table
  20755. #: guix-git/doc/guix.texi:14206
  20756. 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."
  20757. msgstr ""
  20758. #. type: table
  20759. #: guix-git/doc/guix.texi:14210
  20760. 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!"
  20761. msgstr ""
  20762. #. type: table
  20763. #: guix-git/doc/guix.texi:14214
  20764. 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."
  20765. msgstr ""
  20766. #. type: item
  20767. #: guix-git/doc/guix.texi:14215
  20768. #, no-wrap
  20769. msgid "@code{repair} (default: @code{'preen})"
  20770. msgstr ""
  20771. #. type: table
  20772. #: guix-git/doc/guix.texi:14218
  20773. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  20774. msgstr ""
  20775. #. type: table
  20776. #: guix-git/doc/guix.texi:14222
  20777. 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."
  20778. msgstr ""
  20779. #. type: table
  20780. #: guix-git/doc/guix.texi:14225
  20781. 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."
  20782. msgstr ""
  20783. #. type: table
  20784. #: guix-git/doc/guix.texi:14229
  20785. 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''."
  20786. msgstr ""
  20787. #. type: item
  20788. #: guix-git/doc/guix.texi:14230
  20789. #, no-wrap
  20790. msgid "@code{create-mount-point?} (default: @code{#f})"
  20791. msgstr ""
  20792. #. type: table
  20793. #: guix-git/doc/guix.texi:14232
  20794. msgid "When true, the mount point is created if it does not exist yet."
  20795. msgstr ""
  20796. #. type: item
  20797. #: guix-git/doc/guix.texi:14233
  20798. #, no-wrap
  20799. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20800. msgstr ""
  20801. #. type: table
  20802. #: guix-git/doc/guix.texi:14238
  20803. 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."
  20804. msgstr ""
  20805. #. type: item
  20806. #: guix-git/doc/guix.texi:14239
  20807. #, no-wrap
  20808. msgid "@code{dependencies} (default: @code{'()})"
  20809. msgstr ""
  20810. #. type: table
  20811. #: guix-git/doc/guix.texi:14243
  20812. 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."
  20813. msgstr ""
  20814. #. type: table
  20815. #: guix-git/doc/guix.texi:14247
  20816. 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}."
  20817. msgstr ""
  20818. #. type: table
  20819. #: guix-git/doc/guix.texi:14250
  20820. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20821. msgstr ""
  20822. #. type: deffn
  20823. #: guix-git/doc/guix.texi:14253
  20824. #, no-wrap
  20825. msgid "{Scheme Procedure} file-system-label @var{str}"
  20826. msgstr ""
  20827. #. type: deffn
  20828. #: guix-git/doc/guix.texi:14256
  20829. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20830. msgstr ""
  20831. #. type: lisp
  20832. #: guix-git/doc/guix.texi:14260
  20833. #, no-wrap
  20834. msgid ""
  20835. "(file-system-label \"home\")\n"
  20836. "@result{} #<file-system-label \"home\">\n"
  20837. msgstr ""
  20838. #. type: deffn
  20839. #: guix-git/doc/guix.texi:14264
  20840. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20841. msgstr ""
  20842. #. type: Plain text
  20843. #: guix-git/doc/guix.texi:14268
  20844. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20845. msgstr ""
  20846. #. type: defvr
  20847. #: guix-git/doc/guix.texi:14269
  20848. #, no-wrap
  20849. msgid "{Scheme Variable} %base-file-systems"
  20850. msgstr ""
  20851. #. type: defvr
  20852. #: guix-git/doc/guix.texi:14274
  20853. 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."
  20854. msgstr ""
  20855. #. type: defvr
  20856. #: guix-git/doc/guix.texi:14276
  20857. #, no-wrap
  20858. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20859. msgstr ""
  20860. #. type: defvr
  20861. #: guix-git/doc/guix.texi:14282
  20862. 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}."
  20863. msgstr ""
  20864. #. type: defvr
  20865. #: guix-git/doc/guix.texi:14284
  20866. #, no-wrap
  20867. msgid "{Scheme Variable} %shared-memory-file-system"
  20868. msgstr ""
  20869. #. type: defvr
  20870. #: guix-git/doc/guix.texi:14288
  20871. 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})."
  20872. msgstr ""
  20873. #. type: defvr
  20874. #: guix-git/doc/guix.texi:14290
  20875. #, no-wrap
  20876. msgid "{Scheme Variable} %immutable-store"
  20877. msgstr ""
  20878. #. type: defvr
  20879. #: guix-git/doc/guix.texi:14295
  20880. 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."
  20881. msgstr ""
  20882. #. type: defvr
  20883. #: guix-git/doc/guix.texi:14298
  20884. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20885. msgstr ""
  20886. #. type: defvr
  20887. #: guix-git/doc/guix.texi:14300
  20888. #, no-wrap
  20889. msgid "{Scheme Variable} %binary-format-file-system"
  20890. msgstr ""
  20891. #. type: defvr
  20892. #: guix-git/doc/guix.texi:14304
  20893. 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."
  20894. msgstr ""
  20895. #. type: defvr
  20896. #: guix-git/doc/guix.texi:14306
  20897. #, no-wrap
  20898. msgid "{Scheme Variable} %fuse-control-file-system"
  20899. msgstr ""
  20900. #. type: defvr
  20901. #: guix-git/doc/guix.texi:14310
  20902. 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."
  20903. msgstr ""
  20904. #. type: Plain text
  20905. #: guix-git/doc/guix.texi:14314
  20906. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20907. msgstr ""
  20908. #. type: deffn
  20909. #: guix-git/doc/guix.texi:14315
  20910. #, no-wrap
  20911. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20912. msgstr ""
  20913. #. type: deffn
  20914. #: guix-git/doc/guix.texi:14318
  20915. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20916. msgstr ""
  20917. #. type: lisp
  20918. #: guix-git/doc/guix.texi:14322
  20919. #, no-wrap
  20920. msgid ""
  20921. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20922. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20923. "\n"
  20924. msgstr ""
  20925. #. type: lisp
  20926. #: guix-git/doc/guix.texi:14325
  20927. #, no-wrap
  20928. msgid ""
  20929. "(uuid \"1234-ABCD\" 'fat)\n"
  20930. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20931. msgstr ""
  20932. #. type: deffn
  20933. #: guix-git/doc/guix.texi:14329
  20934. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20935. msgstr ""
  20936. #. type: deffn
  20937. #: guix-git/doc/guix.texi:14332
  20938. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20939. msgstr ""
  20940. #. type: subsection
  20941. #: guix-git/doc/guix.texi:14335 guix-git/doc/guix.texi:14336
  20942. #, no-wrap
  20943. msgid "Btrfs file system"
  20944. msgstr ""
  20945. #. type: Plain text
  20946. #: guix-git/doc/guix.texi:14342
  20947. 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."
  20948. msgstr ""
  20949. #. type: Plain text
  20950. #: guix-git/doc/guix.texi:14345
  20951. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20952. msgstr ""
  20953. #. type: lisp
  20954. #: guix-git/doc/guix.texi:14351
  20955. #, no-wrap
  20956. msgid ""
  20957. "(file-system\n"
  20958. " (mount-point \"/home\")\n"
  20959. " (type \"btrfs\")\n"
  20960. " (device (file-system-label \"my-home\")))\n"
  20961. msgstr ""
  20962. #. type: Plain text
  20963. #: guix-git/doc/guix.texi:14357
  20964. 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}):"
  20965. msgstr ""
  20966. #. type: lisp
  20967. #: guix-git/doc/guix.texi:14365
  20968. #, no-wrap
  20969. msgid ""
  20970. "(file-system\n"
  20971. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20972. " (mount-point \"/\")\n"
  20973. " (type \"btrfs\")\n"
  20974. " (options \"subvol=rootfs\")\n"
  20975. " (dependencies mapped-devices))\n"
  20976. msgstr ""
  20977. #. type: Plain text
  20978. #: guix-git/doc/guix.texi:14376
  20979. 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."
  20980. msgstr ""
  20981. #. type: Plain text
  20982. #: guix-git/doc/guix.texi:14384
  20983. 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.:"
  20984. msgstr ""
  20985. #. type: example
  20986. #: guix-git/doc/guix.texi:14391
  20987. #, no-wrap
  20988. msgid ""
  20989. "/ (top level)\n"
  20990. "├── rootfs (subvolume directory)\n"
  20991. " ├── gnu (normal directory)\n"
  20992. " ├── store (normal directory)\n"
  20993. "[...]\n"
  20994. msgstr ""
  20995. #. type: Plain text
  20996. #: guix-git/doc/guix.texi:14396
  20997. 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."
  20998. msgstr ""
  20999. #. type: Plain text
  21000. #: guix-git/doc/guix.texi:14399
  21001. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  21002. msgstr ""
  21003. #. type: example
  21004. #: guix-git/doc/guix.texi:14406
  21005. #, no-wrap
  21006. msgid ""
  21007. "/ (top level)\n"
  21008. "├── rootfs (subvolume)\n"
  21009. " ├── gnu (normal directory)\n"
  21010. " ├── store (subvolume)\n"
  21011. "[...]\n"
  21012. msgstr ""
  21013. #. type: Plain text
  21014. #: guix-git/doc/guix.texi:14413
  21015. 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}."
  21016. msgstr ""
  21017. #. type: Plain text
  21018. #: guix-git/doc/guix.texi:14415
  21019. msgid "Finally, a more contrived example of nested subvolumes:"
  21020. msgstr ""
  21021. #. type: example
  21022. #: guix-git/doc/guix.texi:14422
  21023. #, no-wrap
  21024. msgid ""
  21025. "/ (top level)\n"
  21026. "├── root-snapshots (subvolume)\n"
  21027. " ├── root-current (subvolume)\n"
  21028. " ├── guix-store (subvolume)\n"
  21029. "[...]\n"
  21030. msgstr ""
  21031. #. type: Plain text
  21032. #: guix-git/doc/guix.texi:14429
  21033. 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:"
  21034. msgstr ""
  21035. #. type: lisp
  21036. #: guix-git/doc/guix.texi:14437
  21037. #, no-wrap
  21038. msgid ""
  21039. "(file-system\n"
  21040. " (device (file-system-label \"btrfs-pool-1\"))\n"
  21041. " (mount-point \"/gnu/store\")\n"
  21042. " (type \"btrfs\")\n"
  21043. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  21044. "compress-force=zstd,space_cache=v2\"))\n"
  21045. msgstr ""
  21046. #. type: cindex
  21047. #: guix-git/doc/guix.texi:14442
  21048. #, no-wrap
  21049. msgid "device mapping"
  21050. msgstr ""
  21051. #. type: cindex
  21052. #: guix-git/doc/guix.texi:14443
  21053. #, no-wrap
  21054. msgid "mapped devices"
  21055. msgstr ""
  21056. #. type: Plain text
  21057. #: guix-git/doc/guix.texi:14460
  21058. 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."
  21059. msgstr ""
  21060. #. type: Plain text
  21061. #: guix-git/doc/guix.texi:14463
  21062. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  21063. msgstr ""
  21064. #. type: deftp
  21065. #: guix-git/doc/guix.texi:14464
  21066. #, no-wrap
  21067. msgid "{Data Type} mapped-device"
  21068. msgstr ""
  21069. #. type: deftp
  21070. #: guix-git/doc/guix.texi:14467
  21071. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  21072. msgstr ""
  21073. #. type: table
  21074. #: guix-git/doc/guix.texi:14474
  21075. 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."
  21076. msgstr ""
  21077. #. type: item
  21078. #: guix-git/doc/guix.texi:14475
  21079. #, no-wrap
  21080. msgid "target"
  21081. msgstr ""
  21082. #. type: table
  21083. #: guix-git/doc/guix.texi:14484
  21084. 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\"}."
  21085. msgstr ""
  21086. #. type: code{#1}
  21087. #: guix-git/doc/guix.texi:14485 guix-git/doc/guix.texi:33506
  21088. #, no-wrap
  21089. msgid "targets"
  21090. msgstr ""
  21091. #. type: table
  21092. #: guix-git/doc/guix.texi:14488
  21093. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  21094. msgstr ""
  21095. #. type: table
  21096. #: guix-git/doc/guix.texi:14492
  21097. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  21098. msgstr ""
  21099. #. type: defvr
  21100. #: guix-git/doc/guix.texi:14495
  21101. #, no-wrap
  21102. msgid "{Scheme Variable} luks-device-mapping"
  21103. msgstr ""
  21104. #. type: defvr
  21105. #: guix-git/doc/guix.texi:14499
  21106. 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."
  21107. msgstr ""
  21108. #. type: defvr
  21109. #: guix-git/doc/guix.texi:14501
  21110. #, no-wrap
  21111. msgid "{Scheme Variable} raid-device-mapping"
  21112. msgstr ""
  21113. #. type: defvr
  21114. #: guix-git/doc/guix.texi:14506
  21115. 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."
  21116. msgstr ""
  21117. #. type: cindex
  21118. #: guix-git/doc/guix.texi:14508
  21119. #, no-wrap
  21120. msgid "LVM, logical volume manager"
  21121. msgstr ""
  21122. #. type: defvr
  21123. #: guix-git/doc/guix.texi:14509
  21124. #, no-wrap
  21125. msgid "{Scheme Variable} lvm-device-mapping"
  21126. msgstr ""
  21127. #. type: defvr
  21128. #: guix-git/doc/guix.texi:14514
  21129. 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."
  21130. msgstr ""
  21131. #. type: cindex
  21132. #: guix-git/doc/guix.texi:14516
  21133. #, no-wrap
  21134. msgid "disk encryption"
  21135. msgstr ""
  21136. #. type: cindex
  21137. #: guix-git/doc/guix.texi:14517
  21138. #, no-wrap
  21139. msgid "LUKS"
  21140. msgstr ""
  21141. #. type: Plain text
  21142. #: guix-git/doc/guix.texi:14525
  21143. 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})."
  21144. msgstr ""
  21145. #. type: lisp
  21146. #: guix-git/doc/guix.texi:14531
  21147. #, no-wrap
  21148. msgid ""
  21149. "(mapped-device\n"
  21150. " (source \"/dev/sda3\")\n"
  21151. " (target \"home\")\n"
  21152. " (type luks-device-mapping))\n"
  21153. msgstr ""
  21154. #. type: Plain text
  21155. #: guix-git/doc/guix.texi:14536
  21156. 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:"
  21157. msgstr ""
  21158. #. type: example
  21159. #: guix-git/doc/guix.texi:14539
  21160. #, no-wrap
  21161. msgid "cryptsetup luksUUID /dev/sda3\n"
  21162. msgstr ""
  21163. #. type: Plain text
  21164. #: guix-git/doc/guix.texi:14542
  21165. msgid "and use it as follows:"
  21166. msgstr ""
  21167. #. type: lisp
  21168. #: guix-git/doc/guix.texi:14548
  21169. #, no-wrap
  21170. msgid ""
  21171. "(mapped-device\n"
  21172. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  21173. " (target \"home\")\n"
  21174. " (type luks-device-mapping))\n"
  21175. msgstr ""
  21176. #. type: cindex
  21177. #: guix-git/doc/guix.texi:14550
  21178. #, no-wrap
  21179. msgid "swap encryption"
  21180. msgstr ""
  21181. #. type: Plain text
  21182. #: guix-git/doc/guix.texi:14556
  21183. 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{Preparing for Installation,,Disk Partitioning}, for an example."
  21184. msgstr ""
  21185. #. type: Plain text
  21186. #: guix-git/doc/guix.texi:14559
  21187. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  21188. msgstr ""
  21189. #. type: lisp
  21190. #: guix-git/doc/guix.texi:14565
  21191. #, no-wrap
  21192. msgid ""
  21193. "(mapped-device\n"
  21194. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  21195. " (target \"/dev/md0\")\n"
  21196. " (type raid-device-mapping))\n"
  21197. msgstr ""
  21198. #. type: Plain text
  21199. #: guix-git/doc/guix.texi:14572
  21200. 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."
  21201. msgstr ""
  21202. #. type: Plain text
  21203. #: guix-git/doc/guix.texi:14575
  21204. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21205. msgstr ""
  21206. #. type: lisp
  21207. #: guix-git/doc/guix.texi:14581
  21208. #, no-wrap
  21209. msgid ""
  21210. "(mapped-device\n"
  21211. " (source \"vg0\")\n"
  21212. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21213. " (type lvm-device-mapping))\n"
  21214. msgstr ""
  21215. #. type: Plain text
  21216. #: guix-git/doc/guix.texi:14586
  21217. 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})."
  21218. msgstr ""
  21219. #. type: cindex
  21220. #: guix-git/doc/guix.texi:14590
  21221. #, no-wrap
  21222. msgid "users"
  21223. msgstr ""
  21224. #. type: cindex
  21225. #: guix-git/doc/guix.texi:14591
  21226. #, no-wrap
  21227. msgid "accounts"
  21228. msgstr ""
  21229. #. type: cindex
  21230. #: guix-git/doc/guix.texi:14592
  21231. #, no-wrap
  21232. msgid "user accounts"
  21233. msgstr ""
  21234. #. type: Plain text
  21235. #: guix-git/doc/guix.texi:14596
  21236. 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:"
  21237. msgstr ""
  21238. #. type: lisp
  21239. #: guix-git/doc/guix.texi:14606
  21240. #, no-wrap
  21241. msgid ""
  21242. "(user-account\n"
  21243. " (name \"alice\")\n"
  21244. " (group \"users\")\n"
  21245. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  21246. " \"audio\" ;sound card\n"
  21247. " \"video\" ;video devices such as webcams\n"
  21248. " \"cdrom\")) ;the good ol' CD-ROM\n"
  21249. " (comment \"Bob's sister\"))\n"
  21250. msgstr ""
  21251. #. type: Plain text
  21252. #: guix-git/doc/guix.texi:14610
  21253. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  21254. msgstr ""
  21255. #. type: lisp
  21256. #: guix-git/doc/guix.texi:14618
  21257. #, no-wrap
  21258. msgid ""
  21259. "(user-account\n"
  21260. " (name \"bob\")\n"
  21261. " (group \"users\")\n"
  21262. " (comment \"Alice's bro\")\n"
  21263. " (shell (file-append zsh \"/bin/zsh\"))\n"
  21264. " (home-directory \"/home/robert\"))\n"
  21265. msgstr ""
  21266. #. type: Plain text
  21267. #: guix-git/doc/guix.texi:14627
  21268. 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."
  21269. msgstr ""
  21270. #. type: deftp
  21271. #: guix-git/doc/guix.texi:14628
  21272. #, no-wrap
  21273. msgid "{Data Type} user-account"
  21274. msgstr ""
  21275. #. type: deftp
  21276. #: guix-git/doc/guix.texi:14631
  21277. msgid "Objects of this type represent user accounts. The following members may be specified:"
  21278. msgstr ""
  21279. #. type: table
  21280. #: guix-git/doc/guix.texi:14635
  21281. msgid "The name of the user account."
  21282. msgstr ""
  21283. #. type: itemx
  21284. #: guix-git/doc/guix.texi:14636 guix-git/doc/guix.texi:33170
  21285. #, no-wrap
  21286. msgid "group"
  21287. msgstr ""
  21288. #. type: cindex
  21289. #: guix-git/doc/guix.texi:14637 guix-git/doc/guix.texi:14716
  21290. #, no-wrap
  21291. msgid "groups"
  21292. msgstr ""
  21293. #. type: table
  21294. #: guix-git/doc/guix.texi:14640
  21295. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  21296. msgstr ""
  21297. #. type: item
  21298. #: guix-git/doc/guix.texi:14641
  21299. #, no-wrap
  21300. msgid "@code{supplementary-groups} (default: @code{'()})"
  21301. msgstr ""
  21302. #. type: table
  21303. #: guix-git/doc/guix.texi:14644
  21304. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  21305. msgstr ""
  21306. #. type: item
  21307. #: guix-git/doc/guix.texi:14645
  21308. #, no-wrap
  21309. msgid "@code{uid} (default: @code{#f})"
  21310. msgstr ""
  21311. #. type: table
  21312. #: guix-git/doc/guix.texi:14649
  21313. 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."
  21314. msgstr ""
  21315. #. type: item
  21316. #: guix-git/doc/guix.texi:14650
  21317. #, no-wrap
  21318. msgid "@code{comment} (default: @code{\"\"})"
  21319. msgstr ""
  21320. #. type: table
  21321. #: guix-git/doc/guix.texi:14652
  21322. msgid "A comment about the account, such as the account owner's full name."
  21323. msgstr ""
  21324. #. type: code{#1}
  21325. #: guix-git/doc/guix.texi:14653
  21326. #, no-wrap
  21327. msgid "home-directory"
  21328. msgstr ""
  21329. #. type: table
  21330. #: guix-git/doc/guix.texi:14655
  21331. msgid "This is the name of the home directory for the account."
  21332. msgstr ""
  21333. #. type: item
  21334. #: guix-git/doc/guix.texi:14656
  21335. #, no-wrap
  21336. msgid "@code{create-home-directory?} (default: @code{#t})"
  21337. msgstr ""
  21338. #. type: table
  21339. #: guix-git/doc/guix.texi:14659
  21340. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  21341. msgstr ""
  21342. #. type: item
  21343. #: guix-git/doc/guix.texi:14660
  21344. #, no-wrap
  21345. msgid "@code{shell} (default: Bash)"
  21346. msgstr ""
  21347. #. type: table
  21348. #: guix-git/doc/guix.texi:14664
  21349. 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:"
  21350. msgstr ""
  21351. #. type: lisp
  21352. #: guix-git/doc/guix.texi:14667
  21353. #, no-wrap
  21354. msgid "(file-append bash \"/bin/bash\")\n"
  21355. msgstr ""
  21356. #. type: table
  21357. #: guix-git/doc/guix.texi:14671
  21358. msgid "... and to the Zsh executable like that:"
  21359. msgstr ""
  21360. #. type: lisp
  21361. #: guix-git/doc/guix.texi:14674
  21362. #, no-wrap
  21363. msgid "(file-append zsh \"/bin/zsh\")\n"
  21364. msgstr ""
  21365. #. type: item
  21366. #: guix-git/doc/guix.texi:14676 guix-git/doc/guix.texi:14734
  21367. #, no-wrap
  21368. msgid "@code{system?} (default: @code{#f})"
  21369. msgstr ""
  21370. #. type: table
  21371. #: guix-git/doc/guix.texi:14680
  21372. 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."
  21373. msgstr ""
  21374. #. type: anchor{#1}
  21375. #: guix-git/doc/guix.texi:14682
  21376. msgid "user-account-password"
  21377. msgstr ""
  21378. #. type: cindex
  21379. #: guix-git/doc/guix.texi:14682
  21380. #, no-wrap
  21381. msgid "password, for user accounts"
  21382. msgstr ""
  21383. #. type: item
  21384. #: guix-git/doc/guix.texi:14683 guix-git/doc/guix.texi:14738
  21385. #, no-wrap
  21386. msgid "@code{password} (default: @code{#f})"
  21387. msgstr ""
  21388. #. type: table
  21389. #: guix-git/doc/guix.texi:14689
  21390. 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."
  21391. msgstr ""
  21392. #. type: table
  21393. #: guix-git/doc/guix.texi:14693
  21394. 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:"
  21395. msgstr ""
  21396. #. type: lisp
  21397. #: guix-git/doc/guix.texi:14698
  21398. #, no-wrap
  21399. msgid ""
  21400. "(user-account\n"
  21401. " (name \"charlie\")\n"
  21402. " (group \"users\")\n"
  21403. "\n"
  21404. msgstr ""
  21405. #. type: lisp
  21406. #: guix-git/doc/guix.texi:14701
  21407. #, no-wrap
  21408. msgid ""
  21409. " ;; Specify a SHA-512-hashed initial password.\n"
  21410. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  21411. msgstr ""
  21412. #. type: quotation
  21413. #: guix-git/doc/guix.texi:14707
  21414. 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."
  21415. msgstr ""
  21416. #. type: table
  21417. #: guix-git/doc/guix.texi:14712
  21418. 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."
  21419. msgstr ""
  21420. #. type: Plain text
  21421. #: guix-git/doc/guix.texi:14718
  21422. msgid "User group declarations are even simpler:"
  21423. msgstr ""
  21424. #. type: lisp
  21425. #: guix-git/doc/guix.texi:14721
  21426. #, no-wrap
  21427. msgid "(user-group (name \"students\"))\n"
  21428. msgstr ""
  21429. #. type: deftp
  21430. #: guix-git/doc/guix.texi:14723
  21431. #, no-wrap
  21432. msgid "{Data Type} user-group"
  21433. msgstr ""
  21434. #. type: deftp
  21435. #: guix-git/doc/guix.texi:14725
  21436. msgid "This type is for, well, user groups. There are just a few fields:"
  21437. msgstr ""
  21438. #. type: table
  21439. #: guix-git/doc/guix.texi:14729
  21440. msgid "The name of the group."
  21441. msgstr ""
  21442. #. type: item
  21443. #: guix-git/doc/guix.texi:14730 guix-git/doc/guix.texi:29713
  21444. #, no-wrap
  21445. msgid "@code{id} (default: @code{#f})"
  21446. msgstr ""
  21447. #. type: table
  21448. #: guix-git/doc/guix.texi:14733
  21449. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  21450. msgstr ""
  21451. #. type: table
  21452. #: guix-git/doc/guix.texi:14737
  21453. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  21454. msgstr ""
  21455. #. type: table
  21456. #: guix-git/doc/guix.texi:14741
  21457. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  21458. msgstr ""
  21459. #. type: Plain text
  21460. #: guix-git/doc/guix.texi:14747
  21461. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  21462. msgstr ""
  21463. #. type: defvr
  21464. #: guix-git/doc/guix.texi:14748
  21465. #, no-wrap
  21466. msgid "{Scheme Variable} %base-groups"
  21467. msgstr ""
  21468. #. type: defvr
  21469. #: guix-git/doc/guix.texi:14753
  21470. 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''."
  21471. msgstr ""
  21472. #. type: defvr
  21473. #: guix-git/doc/guix.texi:14755
  21474. #, no-wrap
  21475. msgid "{Scheme Variable} %base-user-accounts"
  21476. msgstr ""
  21477. #. type: defvr
  21478. #: guix-git/doc/guix.texi:14758
  21479. 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."
  21480. msgstr ""
  21481. #. type: defvr
  21482. #: guix-git/doc/guix.texi:14761
  21483. 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."
  21484. msgstr ""
  21485. #. type: cindex
  21486. #: guix-git/doc/guix.texi:14767
  21487. #, no-wrap
  21488. msgid "keymap"
  21489. msgstr ""
  21490. #. type: Plain text
  21491. #: guix-git/doc/guix.texi:14775
  21492. 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."
  21493. msgstr ""
  21494. #. type: cindex
  21495. #: guix-git/doc/guix.texi:14776
  21496. #, no-wrap
  21497. msgid "keyboard layout, definition"
  21498. msgstr ""
  21499. #. type: Plain text
  21500. #: guix-git/doc/guix.texi:14778
  21501. msgid "There are three components that will want to know about your keyboard layout:"
  21502. msgstr ""
  21503. #. type: itemize
  21504. #: guix-git/doc/guix.texi:14785
  21505. 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."
  21506. msgstr ""
  21507. #. type: itemize
  21508. #: guix-git/doc/guix.texi:14790
  21509. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  21510. msgstr ""
  21511. #. type: itemize
  21512. #: guix-git/doc/guix.texi:14794
  21513. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  21514. msgstr ""
  21515. #. type: Plain text
  21516. #: guix-git/doc/guix.texi:14798
  21517. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  21518. msgstr ""
  21519. #. type: cindex
  21520. #: guix-git/doc/guix.texi:14799
  21521. #, no-wrap
  21522. msgid "XKB, keyboard layouts"
  21523. msgstr ""
  21524. #. type: Plain text
  21525. #: guix-git/doc/guix.texi:14807
  21526. 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."
  21527. msgstr ""
  21528. #. type: deffn
  21529. #: guix-git/doc/guix.texi:14808
  21530. #, no-wrap
  21531. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  21532. msgstr ""
  21533. #. type: deffn
  21534. #: guix-git/doc/guix.texi:14811
  21535. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  21536. msgstr ""
  21537. #. type: deffn
  21538. #: guix-git/doc/guix.texi:14815
  21539. 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."
  21540. msgstr ""
  21541. #. type: Plain text
  21542. #: guix-git/doc/guix.texi:14818
  21543. msgid "Here are a few examples:"
  21544. msgstr ""
  21545. #. type: lisp
  21546. #: guix-git/doc/guix.texi:14823
  21547. #, no-wrap
  21548. msgid ""
  21549. ";; The German QWERTZ layout. Here we assume a standard\n"
  21550. ";; \"pc105\" keyboard model.\n"
  21551. "(keyboard-layout \"de\")\n"
  21552. "\n"
  21553. msgstr ""
  21554. #. type: lisp
  21555. #: guix-git/doc/guix.texi:14826
  21556. #, no-wrap
  21557. msgid ""
  21558. ";; The bépo variant of the French layout.\n"
  21559. "(keyboard-layout \"fr\" \"bepo\")\n"
  21560. "\n"
  21561. msgstr ""
  21562. #. type: lisp
  21563. #: guix-git/doc/guix.texi:14829
  21564. #, no-wrap
  21565. msgid ""
  21566. ";; The Catalan layout.\n"
  21567. "(keyboard-layout \"es\" \"cat\")\n"
  21568. "\n"
  21569. msgstr ""
  21570. #. type: lisp
  21571. #: guix-git/doc/guix.texi:14832
  21572. #, no-wrap
  21573. msgid ""
  21574. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  21575. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  21576. "\n"
  21577. msgstr ""
  21578. #. type: lisp
  21579. #: guix-git/doc/guix.texi:14839
  21580. #, no-wrap
  21581. msgid ""
  21582. ";; The Latin American Spanish layout. In addition, the\n"
  21583. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  21584. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  21585. ";; accented letters.\n"
  21586. "(keyboard-layout \"latam\"\n"
  21587. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  21588. "\n"
  21589. msgstr ""
  21590. #. type: lisp
  21591. #: guix-git/doc/guix.texi:14842
  21592. #, no-wrap
  21593. msgid ""
  21594. ";; The Russian layout for a ThinkPad keyboard.\n"
  21595. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  21596. "\n"
  21597. msgstr ""
  21598. #. type: lisp
  21599. #: guix-git/doc/guix.texi:14847
  21600. #, no-wrap
  21601. msgid ""
  21602. ";; The \"US international\" layout, which is the US layout plus\n"
  21603. ";; dead keys to enter accented characters. This is for an\n"
  21604. ";; Apple MacBook keyboard.\n"
  21605. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  21606. msgstr ""
  21607. #. type: Plain text
  21608. #: guix-git/doc/guix.texi:14851
  21609. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  21610. msgstr ""
  21611. #. type: cindex
  21612. #: guix-git/doc/guix.texi:14852
  21613. #, no-wrap
  21614. msgid "keyboard layout, configuration"
  21615. msgstr ""
  21616. #. type: Plain text
  21617. #: guix-git/doc/guix.texi:14856
  21618. 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:"
  21619. msgstr ""
  21620. #. type: findex
  21621. #: guix-git/doc/guix.texi:14857
  21622. #, no-wrap
  21623. msgid "set-xorg-configuration"
  21624. msgstr ""
  21625. #. type: lisp
  21626. #: guix-git/doc/guix.texi:14861
  21627. #, no-wrap
  21628. msgid ""
  21629. ";; Using the Turkish layout for the bootloader, the console,\n"
  21630. ";; and for Xorg.\n"
  21631. "\n"
  21632. msgstr ""
  21633. #. type: lisp
  21634. #: guix-git/doc/guix.texi:14873
  21635. #, no-wrap
  21636. msgid ""
  21637. "(operating-system\n"
  21638. " ;; ...\n"
  21639. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  21640. " (bootloader (bootloader-configuration\n"
  21641. " (bootloader grub-efi-bootloader)\n"
  21642. " (targets '(\"/boot/efi\"))\n"
  21643. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  21644. " (services (cons (set-xorg-configuration\n"
  21645. " (xorg-configuration ;for Xorg\n"
  21646. " (keyboard-layout keyboard-layout)))\n"
  21647. " %desktop-services)))\n"
  21648. msgstr ""
  21649. #. type: Plain text
  21650. #: guix-git/doc/guix.texi:14880
  21651. 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."
  21652. msgstr ""
  21653. #. type: Plain text
  21654. #: guix-git/doc/guix.texi:14883
  21655. 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:"
  21656. msgstr ""
  21657. #. type: itemize
  21658. #: guix-git/doc/guix.texi:14888
  21659. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  21660. msgstr ""
  21661. #. type: itemize
  21662. #: guix-git/doc/guix.texi:14893
  21663. 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:"
  21664. msgstr ""
  21665. #. type: example
  21666. #: guix-git/doc/guix.texi:14896
  21667. #, no-wrap
  21668. msgid "setxkbmap us dvorak\n"
  21669. msgstr ""
  21670. #. type: itemize
  21671. #: guix-git/doc/guix.texi:14903
  21672. 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:"
  21673. msgstr ""
  21674. #. type: example
  21675. #: guix-git/doc/guix.texi:14906
  21676. #, no-wrap
  21677. msgid "loadkeys fr-bepo\n"
  21678. msgstr ""
  21679. #. type: cindex
  21680. #: guix-git/doc/guix.texi:14912
  21681. #, no-wrap
  21682. msgid "locale"
  21683. msgstr ""
  21684. #. type: Plain text
  21685. #: guix-git/doc/guix.texi:14919
  21686. 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."
  21687. msgstr ""
  21688. #. type: cindex
  21689. #: guix-git/doc/guix.texi:14920
  21690. #, no-wrap
  21691. msgid "locale definition"
  21692. msgstr ""
  21693. #. type: Plain text
  21694. #: guix-git/doc/guix.texi:14924
  21695. 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}})."
  21696. msgstr ""
  21697. #. type: Plain text
  21698. #: guix-git/doc/guix.texi:14933
  21699. 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."
  21700. msgstr ""
  21701. #. type: Plain text
  21702. #: guix-git/doc/guix.texi:14936
  21703. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  21704. msgstr ""
  21705. #. type: lisp
  21706. #: guix-git/doc/guix.texi:14941
  21707. #, no-wrap
  21708. msgid ""
  21709. "(cons (locale-definition\n"
  21710. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  21711. " %default-locale-definitions)\n"
  21712. msgstr ""
  21713. #. type: Plain text
  21714. #: guix-git/doc/guix.texi:14945
  21715. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  21716. msgstr ""
  21717. #. type: lisp
  21718. #: guix-git/doc/guix.texi:14950
  21719. #, no-wrap
  21720. msgid ""
  21721. "(list (locale-definition\n"
  21722. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  21723. " (charset \"EUC-JP\")))\n"
  21724. msgstr ""
  21725. #. type: Plain text
  21726. #: guix-git/doc/guix.texi:14959
  21727. 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})."
  21728. msgstr ""
  21729. #. type: Plain text
  21730. #: guix-git/doc/guix.texi:14962
  21731. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21732. msgstr ""
  21733. #. type: deftp
  21734. #: guix-git/doc/guix.texi:14963
  21735. #, no-wrap
  21736. msgid "{Data Type} locale-definition"
  21737. msgstr ""
  21738. #. type: deftp
  21739. #: guix-git/doc/guix.texi:14965
  21740. msgid "This is the data type of a locale definition."
  21741. msgstr ""
  21742. #. type: table
  21743. #: guix-git/doc/guix.texi:14971
  21744. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21745. msgstr ""
  21746. #. type: table
  21747. #: guix-git/doc/guix.texi:14975
  21748. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21749. msgstr ""
  21750. #. type: item
  21751. #: guix-git/doc/guix.texi:14976
  21752. #, no-wrap
  21753. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21754. msgstr ""
  21755. #. type: table
  21756. #: guix-git/doc/guix.texi:14980
  21757. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21758. msgstr ""
  21759. #. type: defvr
  21760. #: guix-git/doc/guix.texi:14984
  21761. #, no-wrap
  21762. msgid "{Scheme Variable} %default-locale-definitions"
  21763. msgstr ""
  21764. #. type: defvr
  21765. #: guix-git/doc/guix.texi:14988
  21766. 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."
  21767. msgstr ""
  21768. #. type: cindex
  21769. #: guix-git/doc/guix.texi:14989
  21770. #, no-wrap
  21771. msgid "locale name"
  21772. msgstr ""
  21773. #. type: cindex
  21774. #: guix-git/doc/guix.texi:14990
  21775. #, no-wrap
  21776. msgid "normalized codeset in locale names"
  21777. msgstr ""
  21778. #. type: defvr
  21779. #: guix-git/doc/guix.texi:14996
  21780. 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}."
  21781. msgstr ""
  21782. #. type: subsection
  21783. #: guix-git/doc/guix.texi:14998
  21784. #, no-wrap
  21785. msgid "Locale Data Compatibility Considerations"
  21786. msgstr ""
  21787. #. type: cindex
  21788. #: guix-git/doc/guix.texi:15000
  21789. #, no-wrap
  21790. msgid "incompatibility, of locale data"
  21791. msgstr ""
  21792. #. type: Plain text
  21793. #: guix-git/doc/guix.texi:15007
  21794. 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."
  21795. msgstr ""
  21796. #. type: Plain text
  21797. #: guix-git/doc/guix.texi:15019
  21798. 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."
  21799. msgstr ""
  21800. #. type: Plain text
  21801. #: guix-git/doc/guix.texi:15024
  21802. 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."
  21803. msgstr ""
  21804. #. type: Plain text
  21805. #: guix-git/doc/guix.texi:15028
  21806. 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})."
  21807. msgstr ""
  21808. #. type: Plain text
  21809. #: guix-git/doc/guix.texi:15035
  21810. 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}:"
  21811. msgstr ""
  21812. #. type: lisp
  21813. #: guix-git/doc/guix.texi:15038
  21814. #, no-wrap
  21815. msgid ""
  21816. "(use-package-modules base)\n"
  21817. "\n"
  21818. msgstr ""
  21819. #. type: lisp
  21820. #: guix-git/doc/guix.texi:15042
  21821. #, no-wrap
  21822. msgid ""
  21823. "(operating-system\n"
  21824. " ;; @dots{}\n"
  21825. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21826. msgstr ""
  21827. #. type: Plain text
  21828. #: guix-git/doc/guix.texi:15047
  21829. 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}."
  21830. msgstr ""
  21831. #. type: cindex
  21832. #: guix-git/doc/guix.texi:15052
  21833. #, no-wrap
  21834. msgid "system services"
  21835. msgstr ""
  21836. #. type: Plain text
  21837. #: guix-git/doc/guix.texi:15058
  21838. 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."
  21839. msgstr ""
  21840. #. type: Plain text
  21841. #: guix-git/doc/guix.texi:15065
  21842. 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:"
  21843. msgstr ""
  21844. #. type: example
  21845. #: guix-git/doc/guix.texi:15068
  21846. #, no-wrap
  21847. msgid "# herd status\n"
  21848. msgstr ""
  21849. #. type: Plain text
  21850. #: guix-git/doc/guix.texi:15073
  21851. 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:"
  21852. msgstr ""
  21853. #. type: example
  21854. #: guix-git/doc/guix.texi:15077
  21855. #, no-wrap
  21856. msgid ""
  21857. "# herd doc nscd\n"
  21858. "Run libc's name service cache daemon (nscd).\n"
  21859. "\n"
  21860. msgstr ""
  21861. #. type: example
  21862. #: guix-git/doc/guix.texi:15080
  21863. #, no-wrap
  21864. msgid ""
  21865. "# herd doc nscd action invalidate\n"
  21866. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21867. msgstr ""
  21868. #. type: Plain text
  21869. #: guix-git/doc/guix.texi:15085
  21870. 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:"
  21871. msgstr ""
  21872. #. type: example
  21873. #: guix-git/doc/guix.texi:15092
  21874. #, no-wrap
  21875. msgid ""
  21876. "# herd stop nscd\n"
  21877. "Service nscd has been stopped.\n"
  21878. "# herd restart xorg-server\n"
  21879. "Service xorg-server has been stopped.\n"
  21880. "Service xorg-server has been started.\n"
  21881. msgstr ""
  21882. #. type: Plain text
  21883. #: guix-git/doc/guix.texi:15097
  21884. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21885. msgstr ""
  21886. #. type: subsection
  21887. #: guix-git/doc/guix.texi:15132 guix-git/doc/guix.texi:23147
  21888. #: guix-git/doc/guix.texi:23148
  21889. #, no-wrap
  21890. msgid "File-Sharing Services"
  21891. msgstr ""
  21892. #. type: menuentry
  21893. #: guix-git/doc/guix.texi:15132
  21894. msgid "File-sharing services."
  21895. msgstr ""
  21896. #. type: Plain text
  21897. #: guix-git/doc/guix.texi:15140
  21898. 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."
  21899. msgstr ""
  21900. #. type: defvr
  21901. #: guix-git/doc/guix.texi:15141
  21902. #, no-wrap
  21903. msgid "{Scheme Variable} %base-services"
  21904. msgstr ""
  21905. #. type: defvr
  21906. #: guix-git/doc/guix.texi:15147
  21907. 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."
  21908. msgstr ""
  21909. #. type: defvr
  21910. #: guix-git/doc/guix.texi:15152
  21911. 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:"
  21912. msgstr ""
  21913. #. type: lisp
  21914. #: guix-git/doc/guix.texi:15157
  21915. #, no-wrap
  21916. msgid ""
  21917. "(append (list (service avahi-service-type)\n"
  21918. " (service openssh-service-type))\n"
  21919. " %base-services)\n"
  21920. msgstr ""
  21921. #. type: defvr
  21922. #: guix-git/doc/guix.texi:15160
  21923. #, no-wrap
  21924. msgid "{Scheme Variable} special-files-service-type"
  21925. msgstr ""
  21926. #. type: defvr
  21927. #: guix-git/doc/guix.texi:15163
  21928. 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}."
  21929. msgstr ""
  21930. #. type: defvr
  21931. #: guix-git/doc/guix.texi:15167
  21932. 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:"
  21933. msgstr ""
  21934. #. type: file{#1}
  21935. #: guix-git/doc/guix.texi:15168
  21936. #, no-wrap
  21937. msgid "/bin/sh"
  21938. msgstr ""
  21939. #. type: cindex
  21940. #: guix-git/doc/guix.texi:15169
  21941. #, no-wrap
  21942. msgid "@file{sh}, in @file{/bin}"
  21943. msgstr ""
  21944. #. type: lisp
  21945. #: guix-git/doc/guix.texi:15172
  21946. #, no-wrap
  21947. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21948. msgstr ""
  21949. #. type: file{#1}
  21950. #: guix-git/doc/guix.texi:15174
  21951. #, no-wrap
  21952. msgid "/usr/bin/env"
  21953. msgstr ""
  21954. #. type: cindex
  21955. #: guix-git/doc/guix.texi:15175
  21956. #, no-wrap
  21957. msgid "@file{env}, in @file{/usr/bin}"
  21958. msgstr ""
  21959. #. type: defvr
  21960. #: guix-git/doc/guix.texi:15178
  21961. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21962. msgstr ""
  21963. #. type: lisp
  21964. #: guix-git/doc/guix.texi:15182
  21965. #, no-wrap
  21966. msgid ""
  21967. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21968. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21969. msgstr ""
  21970. #. type: defvr
  21971. #: guix-git/doc/guix.texi:15189
  21972. 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)."
  21973. msgstr ""
  21974. #. type: deffn
  21975. #: guix-git/doc/guix.texi:15191
  21976. #, no-wrap
  21977. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21978. msgstr ""
  21979. #. type: deffn
  21980. #: guix-git/doc/guix.texi:15193
  21981. msgid "Use @var{target} as the ``special file'' @var{file}."
  21982. msgstr ""
  21983. #. type: deffn
  21984. #: guix-git/doc/guix.texi:15197
  21985. 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:"
  21986. msgstr ""
  21987. #. type: lisp
  21988. #: guix-git/doc/guix.texi:15201
  21989. #, no-wrap
  21990. msgid ""
  21991. "(extra-special-file \"/usr/bin/env\"\n"
  21992. " (file-append coreutils \"/bin/env\"))\n"
  21993. msgstr ""
  21994. #. type: deffn
  21995. #: guix-git/doc/guix.texi:15204
  21996. #, no-wrap
  21997. msgid "{Scheme Procedure} host-name-service @var{name}"
  21998. msgstr ""
  21999. #. type: deffn
  22000. #: guix-git/doc/guix.texi:15206
  22001. msgid "Return a service that sets the host name to @var{name}."
  22002. msgstr ""
  22003. #. type: defvr
  22004. #: guix-git/doc/guix.texi:15208
  22005. #, no-wrap
  22006. msgid "{Scheme Variable} console-font-service-type"
  22007. msgstr ""
  22008. #. type: defvr
  22009. #: guix-git/doc/guix.texi:15213
  22010. 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:"
  22011. msgstr ""
  22012. #. type: lisp
  22013. #: guix-git/doc/guix.texi:15222
  22014. #, no-wrap
  22015. msgid ""
  22016. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  22017. " (\"tty2\" . ,(file-append\n"
  22018. " font-tamzen\n"
  22019. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  22020. " (\"tty3\" . ,(file-append\n"
  22021. " font-terminus\n"
  22022. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  22023. msgstr ""
  22024. #. type: deffn
  22025. #: guix-git/doc/guix.texi:15225
  22026. #, no-wrap
  22027. msgid "{Scheme Procedure} login-service @var{config}"
  22028. msgstr ""
  22029. #. type: deffn
  22030. #: guix-git/doc/guix.texi:15229
  22031. 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."
  22032. msgstr ""
  22033. #. type: deftp
  22034. #: guix-git/doc/guix.texi:15231
  22035. #, no-wrap
  22036. msgid "{Data Type} login-configuration"
  22037. msgstr ""
  22038. #. type: deftp
  22039. #: guix-git/doc/guix.texi:15233
  22040. msgid "This is the data type representing the configuration of login."
  22041. msgstr ""
  22042. #. type: code{#1}
  22043. #: guix-git/doc/guix.texi:15236
  22044. #, no-wrap
  22045. msgid "motd"
  22046. msgstr ""
  22047. #. type: cindex
  22048. #: guix-git/doc/guix.texi:15237
  22049. #, no-wrap
  22050. msgid "message of the day"
  22051. msgstr ""
  22052. #. type: table
  22053. #: guix-git/doc/guix.texi:15239
  22054. msgid "A file-like object containing the ``message of the day''."
  22055. msgstr ""
  22056. #. type: item
  22057. #: guix-git/doc/guix.texi:15240 guix-git/doc/guix.texi:18236
  22058. #, no-wrap
  22059. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  22060. msgstr ""
  22061. #. type: table
  22062. #: guix-git/doc/guix.texi:15243
  22063. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  22064. msgstr ""
  22065. #. type: deffn
  22066. #: guix-git/doc/guix.texi:15247
  22067. #, no-wrap
  22068. msgid "{Scheme Procedure} mingetty-service @var{config}"
  22069. msgstr ""
  22070. #. type: deffn
  22071. #: guix-git/doc/guix.texi:15251
  22072. 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."
  22073. msgstr ""
  22074. #. type: deftp
  22075. #: guix-git/doc/guix.texi:15253
  22076. #, no-wrap
  22077. msgid "{Data Type} mingetty-configuration"
  22078. msgstr ""
  22079. #. type: deftp
  22080. #: guix-git/doc/guix.texi:15256
  22081. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  22082. msgstr ""
  22083. #. type: code{#1}
  22084. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15298
  22085. #: guix-git/doc/guix.texi:32443
  22086. #, no-wrap
  22087. msgid "tty"
  22088. msgstr ""
  22089. #. type: table
  22090. #: guix-git/doc/guix.texi:15261
  22091. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  22092. msgstr ""
  22093. #. type: item
  22094. #: guix-git/doc/guix.texi:15262 guix-git/doc/guix.texi:15327
  22095. #: guix-git/doc/guix.texi:15486
  22096. #, no-wrap
  22097. msgid "@code{auto-login} (default: @code{#f})"
  22098. msgstr ""
  22099. #. type: table
  22100. #: guix-git/doc/guix.texi:15266
  22101. 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."
  22102. msgstr ""
  22103. #. type: item
  22104. #: guix-git/doc/guix.texi:15267
  22105. #, no-wrap
  22106. msgid "@code{login-program} (default: @code{#f})"
  22107. msgstr ""
  22108. #. type: table
  22109. #: guix-git/doc/guix.texi:15271
  22110. 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."
  22111. msgstr ""
  22112. #. type: item
  22113. #: guix-git/doc/guix.texi:15272
  22114. #, no-wrap
  22115. msgid "@code{login-pause?} (default: @code{#f})"
  22116. msgstr ""
  22117. #. type: table
  22118. #: guix-git/doc/guix.texi:15275
  22119. 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."
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15276
  22123. #, no-wrap
  22124. msgid "@code{clear-on-logout?} (default: @code{#t})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15278
  22128. msgid "When set to @code{#t}, the screen will be cleared after logout."
  22129. msgstr ""
  22130. #. type: item
  22131. #: guix-git/doc/guix.texi:15279
  22132. #, no-wrap
  22133. msgid "@code{mingetty} (default: @var{mingetty})"
  22134. msgstr ""
  22135. #. type: table
  22136. #: guix-git/doc/guix.texi:15281
  22137. msgid "The Mingetty package to use."
  22138. msgstr ""
  22139. #. type: deffn
  22140. #: guix-git/doc/guix.texi:15285
  22141. #, no-wrap
  22142. msgid "{Scheme Procedure} agetty-service @var{config}"
  22143. msgstr ""
  22144. #. type: deffn
  22145. #: guix-git/doc/guix.texi:15289
  22146. 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."
  22147. msgstr ""
  22148. #. type: deftp
  22149. #: guix-git/doc/guix.texi:15291
  22150. #, no-wrap
  22151. msgid "{Data Type} agetty-configuration"
  22152. msgstr ""
  22153. #. type: deftp
  22154. #: guix-git/doc/guix.texi:15295
  22155. 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."
  22156. msgstr ""
  22157. #. type: table
  22158. #: guix-git/doc/guix.texi:15302
  22159. 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."
  22160. msgstr ""
  22161. #. type: table
  22162. #: guix-git/doc/guix.texi:15306
  22163. 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."
  22164. msgstr ""
  22165. #. type: table
  22166. #: guix-git/doc/guix.texi:15310
  22167. 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."
  22168. msgstr ""
  22169. #. type: table
  22170. #: guix-git/doc/guix.texi:15314
  22171. 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."
  22172. msgstr ""
  22173. #. type: item
  22174. #: guix-git/doc/guix.texi:15315 guix-git/doc/guix.texi:32604
  22175. #, no-wrap
  22176. msgid "@code{baud-rate} (default: @code{#f})"
  22177. msgstr ""
  22178. #. type: table
  22179. #: guix-git/doc/guix.texi:15318
  22180. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  22181. msgstr ""
  22182. #. type: item
  22183. #: guix-git/doc/guix.texi:15319
  22184. #, no-wrap
  22185. msgid "@code{term} (default: @code{#f})"
  22186. msgstr ""
  22187. #. type: table
  22188. #: guix-git/doc/guix.texi:15322
  22189. msgid "A string containing the value used for the @env{TERM} environment variable."
  22190. msgstr ""
  22191. #. type: item
  22192. #: guix-git/doc/guix.texi:15323
  22193. #, no-wrap
  22194. msgid "@code{eight-bits?} (default: @code{#f})"
  22195. msgstr ""
  22196. #. type: table
  22197. #: guix-git/doc/guix.texi:15326
  22198. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  22199. msgstr ""
  22200. #. type: table
  22201. #: guix-git/doc/guix.texi:15330 guix-git/doc/guix.texi:15489
  22202. 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."
  22203. msgstr ""
  22204. #. type: item
  22205. #: guix-git/doc/guix.texi:15331
  22206. #, no-wrap
  22207. msgid "@code{no-reset?} (default: @code{#f})"
  22208. msgstr ""
  22209. #. type: table
  22210. #: guix-git/doc/guix.texi:15333
  22211. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  22212. msgstr ""
  22213. #. type: item
  22214. #: guix-git/doc/guix.texi:15334
  22215. #, no-wrap
  22216. msgid "@code{host} (default: @code{#f})"
  22217. msgstr ""
  22218. #. type: table
  22219. #: guix-git/doc/guix.texi:15337
  22220. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  22221. msgstr ""
  22222. #. type: item
  22223. #: guix-git/doc/guix.texi:15338
  22224. #, no-wrap
  22225. msgid "@code{remote?} (default: @code{#f})"
  22226. msgstr ""
  22227. #. type: table
  22228. #: guix-git/doc/guix.texi:15342
  22229. 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}."
  22230. msgstr ""
  22231. #. type: item
  22232. #: guix-git/doc/guix.texi:15343
  22233. #, no-wrap
  22234. msgid "@code{flow-control?} (default: @code{#f})"
  22235. msgstr ""
  22236. #. type: table
  22237. #: guix-git/doc/guix.texi:15345
  22238. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  22239. msgstr ""
  22240. #. type: item
  22241. #: guix-git/doc/guix.texi:15346
  22242. #, no-wrap
  22243. msgid "@code{no-issue?} (default: @code{#f})"
  22244. msgstr ""
  22245. #. type: table
  22246. #: guix-git/doc/guix.texi:15349
  22247. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  22248. msgstr ""
  22249. #. type: item
  22250. #: guix-git/doc/guix.texi:15350
  22251. #, no-wrap
  22252. msgid "@code{init-string} (default: @code{#f})"
  22253. msgstr ""
  22254. #. type: table
  22255. #: guix-git/doc/guix.texi:15353
  22256. 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."
  22257. msgstr ""
  22258. #. type: item
  22259. #: guix-git/doc/guix.texi:15354
  22260. #, no-wrap
  22261. msgid "@code{no-clear?} (default: @code{#f})"
  22262. msgstr ""
  22263. #. type: table
  22264. #: guix-git/doc/guix.texi:15357
  22265. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  22266. msgstr ""
  22267. #. type: item
  22268. #: guix-git/doc/guix.texi:15358
  22269. #, no-wrap
  22270. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  22271. msgstr ""
  22272. #. type: table
  22273. #: guix-git/doc/guix.texi:15362
  22274. 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."
  22275. msgstr ""
  22276. #. type: item
  22277. #: guix-git/doc/guix.texi:15363
  22278. #, no-wrap
  22279. msgid "@code{local-line} (default: @code{#f})"
  22280. msgstr ""
  22281. #. type: table
  22282. #: guix-git/doc/guix.texi:15367
  22283. 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}."
  22284. msgstr ""
  22285. #. type: item
  22286. #: guix-git/doc/guix.texi:15368
  22287. #, no-wrap
  22288. msgid "@code{extract-baud?} (default: @code{#f})"
  22289. msgstr ""
  22290. #. type: table
  22291. #: guix-git/doc/guix.texi:15371
  22292. 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."
  22293. msgstr ""
  22294. #. type: item
  22295. #: guix-git/doc/guix.texi:15372
  22296. #, no-wrap
  22297. msgid "@code{skip-login?} (default: @code{#f})"
  22298. msgstr ""
  22299. #. type: table
  22300. #: guix-git/doc/guix.texi:15376
  22301. 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."
  22302. msgstr ""
  22303. #. type: item
  22304. #: guix-git/doc/guix.texi:15377
  22305. #, no-wrap
  22306. msgid "@code{no-newline?} (default: @code{#f})"
  22307. msgstr ""
  22308. #. type: table
  22309. #: guix-git/doc/guix.texi:15380
  22310. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  22311. msgstr ""
  22312. #. type: item
  22313. #: guix-git/doc/guix.texi:15382
  22314. #, no-wrap
  22315. msgid "@code{login-options} (default: @code{#f})"
  22316. msgstr ""
  22317. #. type: table
  22318. #: guix-git/doc/guix.texi:15387
  22319. 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."
  22320. msgstr ""
  22321. #. type: item
  22322. #: guix-git/doc/guix.texi:15388
  22323. #, no-wrap
  22324. msgid "@code{login-pause} (default: @code{#f})"
  22325. msgstr ""
  22326. #. type: table
  22327. #: guix-git/doc/guix.texi:15392
  22328. 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."
  22329. msgstr ""
  22330. #. type: item
  22331. #: guix-git/doc/guix.texi:15393
  22332. #, no-wrap
  22333. msgid "@code{chroot} (default: @code{#f})"
  22334. msgstr ""
  22335. #. type: table
  22336. #: guix-git/doc/guix.texi:15396
  22337. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  22338. msgstr ""
  22339. #. type: item
  22340. #: guix-git/doc/guix.texi:15397
  22341. #, no-wrap
  22342. msgid "@code{hangup?} (default: @code{#f})"
  22343. msgstr ""
  22344. #. type: table
  22345. #: guix-git/doc/guix.texi:15400
  22346. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  22347. msgstr ""
  22348. #. type: item
  22349. #: guix-git/doc/guix.texi:15401
  22350. #, no-wrap
  22351. msgid "@code{keep-baud?} (default: @code{#f})"
  22352. msgstr ""
  22353. #. type: table
  22354. #: guix-git/doc/guix.texi:15405
  22355. 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."
  22356. msgstr ""
  22357. #. type: item
  22358. #: guix-git/doc/guix.texi:15406
  22359. #, no-wrap
  22360. msgid "@code{timeout} (default: @code{#f})"
  22361. msgstr ""
  22362. #. type: table
  22363. #: guix-git/doc/guix.texi:15409
  22364. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  22365. msgstr ""
  22366. #. type: item
  22367. #: guix-git/doc/guix.texi:15410
  22368. #, no-wrap
  22369. msgid "@code{detect-case?} (default: @code{#f})"
  22370. msgstr ""
  22371. #. type: table
  22372. #: guix-git/doc/guix.texi:15416
  22373. 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."
  22374. msgstr ""
  22375. #. type: item
  22376. #: guix-git/doc/guix.texi:15417
  22377. #, no-wrap
  22378. msgid "@code{wait-cr?} (default: @code{#f})"
  22379. msgstr ""
  22380. #. type: table
  22381. #: guix-git/doc/guix.texi:15422
  22382. 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."
  22383. msgstr ""
  22384. #. type: item
  22385. #: guix-git/doc/guix.texi:15423
  22386. #, no-wrap
  22387. msgid "@code{no-hints?} (default: @code{#f})"
  22388. msgstr ""
  22389. #. type: table
  22390. #: guix-git/doc/guix.texi:15426
  22391. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  22392. msgstr ""
  22393. #. type: item
  22394. #: guix-git/doc/guix.texi:15427
  22395. #, no-wrap
  22396. msgid "@code{no-hostname?} (default: @code{#f})"
  22397. msgstr ""
  22398. #. type: table
  22399. #: guix-git/doc/guix.texi:15430
  22400. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  22401. msgstr ""
  22402. #. type: item
  22403. #: guix-git/doc/guix.texi:15431
  22404. #, no-wrap
  22405. msgid "@code{long-hostname?} (default: @code{#f})"
  22406. msgstr ""
  22407. #. type: table
  22408. #: guix-git/doc/guix.texi:15435
  22409. 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."
  22410. msgstr ""
  22411. #. type: item
  22412. #: guix-git/doc/guix.texi:15436
  22413. #, no-wrap
  22414. msgid "@code{erase-characters} (default: @code{#f})"
  22415. msgstr ""
  22416. #. type: table
  22417. #: guix-git/doc/guix.texi:15439
  22418. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  22419. msgstr ""
  22420. #. type: item
  22421. #: guix-git/doc/guix.texi:15440
  22422. #, no-wrap
  22423. msgid "@code{kill-characters} (default: @code{#f})"
  22424. msgstr ""
  22425. #. type: table
  22426. #: guix-git/doc/guix.texi:15444
  22427. 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."
  22428. msgstr ""
  22429. #. type: item
  22430. #: guix-git/doc/guix.texi:15445
  22431. #, no-wrap
  22432. msgid "@code{chdir} (default: @code{#f})"
  22433. msgstr ""
  22434. #. type: table
  22435. #: guix-git/doc/guix.texi:15448
  22436. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  22437. msgstr ""
  22438. #. type: item
  22439. #: guix-git/doc/guix.texi:15449
  22440. #, no-wrap
  22441. msgid "@code{delay} (default: @code{#f})"
  22442. msgstr ""
  22443. #. type: table
  22444. #: guix-git/doc/guix.texi:15452
  22445. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  22446. msgstr ""
  22447. #. type: item
  22448. #: guix-git/doc/guix.texi:15453
  22449. #, no-wrap
  22450. msgid "@code{nice} (default: @code{#f})"
  22451. msgstr ""
  22452. #. type: table
  22453. #: guix-git/doc/guix.texi:15456
  22454. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  22455. msgstr ""
  22456. #. type: item
  22457. #: guix-git/doc/guix.texi:15457 guix-git/doc/guix.texi:15745
  22458. #: guix-git/doc/guix.texi:16616 guix-git/doc/guix.texi:24130
  22459. #: guix-git/doc/guix.texi:25607 guix-git/doc/guix.texi:28014
  22460. #: guix-git/doc/guix.texi:28809 guix-git/doc/guix.texi:30509
  22461. #: guix-git/doc/guix.texi:32934
  22462. #, no-wrap
  22463. msgid "@code{extra-options} (default: @code{'()})"
  22464. msgstr ""
  22465. #. type: table
  22466. #: guix-git/doc/guix.texi:15460
  22467. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  22468. msgstr ""
  22469. #. type: deffn
  22470. #: guix-git/doc/guix.texi:15464
  22471. #, no-wrap
  22472. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  22473. msgstr ""
  22474. #. type: deffn
  22475. #: guix-git/doc/guix.texi:15468
  22476. 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."
  22477. msgstr ""
  22478. #. type: deftp
  22479. #: guix-git/doc/guix.texi:15470
  22480. #, no-wrap
  22481. msgid "{Data Type} kmscon-configuration"
  22482. msgstr ""
  22483. #. type: deftp
  22484. #: guix-git/doc/guix.texi:15473
  22485. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  22486. msgstr ""
  22487. #. type: code{#1}
  22488. #: guix-git/doc/guix.texi:15476
  22489. #, no-wrap
  22490. msgid "virtual-terminal"
  22491. msgstr ""
  22492. #. type: table
  22493. #: guix-git/doc/guix.texi:15478
  22494. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  22495. msgstr ""
  22496. #. type: item
  22497. #: guix-git/doc/guix.texi:15479
  22498. #, no-wrap
  22499. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  22500. msgstr ""
  22501. #. type: table
  22502. #: guix-git/doc/guix.texi:15482
  22503. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  22504. msgstr ""
  22505. #. type: item
  22506. #: guix-git/doc/guix.texi:15483
  22507. #, no-wrap
  22508. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  22509. msgstr ""
  22510. #. type: table
  22511. #: guix-git/doc/guix.texi:15485
  22512. msgid "A list of arguments to pass to @command{login}."
  22513. msgstr ""
  22514. #. type: item
  22515. #: guix-git/doc/guix.texi:15490
  22516. #, no-wrap
  22517. msgid "@code{hardware-acceleration?} (default: #f)"
  22518. msgstr ""
  22519. #. type: table
  22520. #: guix-git/doc/guix.texi:15492
  22521. msgid "Whether to use hardware acceleration."
  22522. msgstr ""
  22523. #. type: item
  22524. #: guix-git/doc/guix.texi:15493
  22525. #, no-wrap
  22526. msgid "@code{font-engine} (default: @code{\"pango\"})"
  22527. msgstr ""
  22528. #. type: table
  22529. #: guix-git/doc/guix.texi:15495
  22530. msgid "Font engine used in Kmscon."
  22531. msgstr ""
  22532. #. type: item
  22533. #: guix-git/doc/guix.texi:15496
  22534. #, no-wrap
  22535. msgid "@code{font-size} (default: @code{12})"
  22536. msgstr ""
  22537. #. type: table
  22538. #: guix-git/doc/guix.texi:15498
  22539. msgid "Font size used in Kmscon."
  22540. msgstr ""
  22541. #. type: table
  22542. #: guix-git/doc/guix.texi:15502
  22543. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  22544. msgstr ""
  22545. #. type: table
  22546. #: guix-git/doc/guix.texi:15506
  22547. 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."
  22548. msgstr ""
  22549. #. type: item
  22550. #: guix-git/doc/guix.texi:15507
  22551. #, no-wrap
  22552. msgid "@code{kmscon} (default: @var{kmscon})"
  22553. msgstr ""
  22554. #. type: table
  22555. #: guix-git/doc/guix.texi:15509
  22556. msgid "The Kmscon package to use."
  22557. msgstr ""
  22558. #. type: cindex
  22559. #: guix-git/doc/guix.texi:15513
  22560. #, no-wrap
  22561. msgid "name service cache daemon"
  22562. msgstr ""
  22563. #. type: cindex
  22564. #: guix-git/doc/guix.texi:15514
  22565. #, no-wrap
  22566. msgid "nscd"
  22567. msgstr ""
  22568. #. type: deffn
  22569. #: guix-git/doc/guix.texi:15515
  22570. #, no-wrap
  22571. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  22572. msgstr ""
  22573. #. type: deffn
  22574. #: guix-git/doc/guix.texi:15520
  22575. 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."
  22576. msgstr ""
  22577. #. type: deffn
  22578. #: guix-git/doc/guix.texi:15522
  22579. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  22580. msgstr ""
  22581. #. type: item
  22582. #: guix-git/doc/guix.texi:15524
  22583. #, no-wrap
  22584. msgid "invalidate"
  22585. msgstr ""
  22586. #. type: cindex
  22587. #: guix-git/doc/guix.texi:15525
  22588. #, no-wrap
  22589. msgid "cache invalidation, nscd"
  22590. msgstr ""
  22591. #. type: cindex
  22592. #: guix-git/doc/guix.texi:15526
  22593. #, no-wrap
  22594. msgid "nscd, cache invalidation"
  22595. msgstr ""
  22596. #. type: table
  22597. #: guix-git/doc/guix.texi:15528
  22598. msgid "This invalidate the given cache. For instance, running:"
  22599. msgstr ""
  22600. #. type: example
  22601. #: guix-git/doc/guix.texi:15531
  22602. #, no-wrap
  22603. msgid "herd invalidate nscd hosts\n"
  22604. msgstr ""
  22605. #. type: table
  22606. #: guix-git/doc/guix.texi:15535
  22607. msgid "invalidates the host name lookup cache of nscd."
  22608. msgstr ""
  22609. #. type: item
  22610. #: guix-git/doc/guix.texi:15536
  22611. #, no-wrap
  22612. msgid "statistics"
  22613. msgstr ""
  22614. #. type: table
  22615. #: guix-git/doc/guix.texi:15539
  22616. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  22617. msgstr ""
  22618. #. type: defvr
  22619. #: guix-git/doc/guix.texi:15543
  22620. #, no-wrap
  22621. msgid "{Scheme Variable} %nscd-default-configuration"
  22622. msgstr ""
  22623. #. type: defvr
  22624. #: guix-git/doc/guix.texi:15547
  22625. 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."
  22626. msgstr ""
  22627. #. type: deftp
  22628. #: guix-git/doc/guix.texi:15549
  22629. #, no-wrap
  22630. msgid "{Data Type} nscd-configuration"
  22631. msgstr ""
  22632. #. type: deftp
  22633. #: guix-git/doc/guix.texi:15552
  22634. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  22635. msgstr ""
  22636. #. type: item
  22637. #: guix-git/doc/guix.texi:15555
  22638. #, no-wrap
  22639. msgid "@code{name-services} (default: @code{'()})"
  22640. msgstr ""
  22641. #. type: table
  22642. #: guix-git/doc/guix.texi:15558
  22643. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  22644. msgstr ""
  22645. #. type: item
  22646. #: guix-git/doc/guix.texi:15559
  22647. #, no-wrap
  22648. msgid "@code{glibc} (default: @var{glibc})"
  22649. msgstr ""
  22650. #. type: table
  22651. #: guix-git/doc/guix.texi:15562
  22652. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  22653. msgstr ""
  22654. #. type: item
  22655. #: guix-git/doc/guix.texi:15563
  22656. #, no-wrap
  22657. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  22658. msgstr ""
  22659. #. type: table
  22660. #: guix-git/doc/guix.texi:15566
  22661. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  22662. msgstr ""
  22663. #. type: item
  22664. #: guix-git/doc/guix.texi:15567
  22665. #, no-wrap
  22666. msgid "@code{debug-level} (default: @code{0})"
  22667. msgstr ""
  22668. #. type: table
  22669. #: guix-git/doc/guix.texi:15570
  22670. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  22671. msgstr ""
  22672. #. type: item
  22673. #: guix-git/doc/guix.texi:15571
  22674. #, no-wrap
  22675. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  22676. msgstr ""
  22677. #. type: table
  22678. #: guix-git/doc/guix.texi:15574
  22679. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  22680. msgstr ""
  22681. #. type: deftp
  22682. #: guix-git/doc/guix.texi:15578
  22683. #, no-wrap
  22684. msgid "{Data Type} nscd-cache"
  22685. msgstr ""
  22686. #. type: deftp
  22687. #: guix-git/doc/guix.texi:15580
  22688. msgid "Data type representing a cache database of nscd and its parameters."
  22689. msgstr ""
  22690. #. type: cindex
  22691. #: guix-git/doc/guix.texi:15583 guix-git/doc/guix.texi:20020
  22692. #, no-wrap
  22693. msgid "database"
  22694. msgstr ""
  22695. #. type: table
  22696. #: guix-git/doc/guix.texi:15588
  22697. 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})."
  22698. msgstr ""
  22699. #. type: code{#1}
  22700. #: guix-git/doc/guix.texi:15589
  22701. #, no-wrap
  22702. msgid "positive-time-to-live"
  22703. msgstr ""
  22704. #. type: itemx
  22705. #: guix-git/doc/guix.texi:15590
  22706. #, no-wrap
  22707. msgid "@code{negative-time-to-live} (default: @code{20})"
  22708. msgstr ""
  22709. #. type: table
  22710. #: guix-git/doc/guix.texi:15593
  22711. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  22712. msgstr ""
  22713. #. type: item
  22714. #: guix-git/doc/guix.texi:15594
  22715. #, no-wrap
  22716. msgid "@code{check-files?} (default: @code{#t})"
  22717. msgstr ""
  22718. #. type: table
  22719. #: guix-git/doc/guix.texi:15597
  22720. msgid "Whether to check for updates of the files corresponding to @var{database}."
  22721. msgstr ""
  22722. #. type: table
  22723. #: guix-git/doc/guix.texi:15601
  22724. 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."
  22725. msgstr ""
  22726. #. type: item
  22727. #: guix-git/doc/guix.texi:15602
  22728. #, no-wrap
  22729. msgid "@code{persistent?} (default: @code{#t})"
  22730. msgstr ""
  22731. #. type: table
  22732. #: guix-git/doc/guix.texi:15604
  22733. msgid "Whether the cache should be stored persistently on disk."
  22734. msgstr ""
  22735. #. type: item
  22736. #: guix-git/doc/guix.texi:15605
  22737. #, no-wrap
  22738. msgid "@code{shared?} (default: @code{#t})"
  22739. msgstr ""
  22740. #. type: table
  22741. #: guix-git/doc/guix.texi:15607
  22742. msgid "Whether the cache should be shared among users."
  22743. msgstr ""
  22744. #. type: item
  22745. #: guix-git/doc/guix.texi:15608
  22746. #, no-wrap
  22747. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22748. msgstr ""
  22749. #. type: table
  22750. #: guix-git/doc/guix.texi:15610
  22751. msgid "Maximum size in bytes of the database cache."
  22752. msgstr ""
  22753. #. type: defvr
  22754. #: guix-git/doc/guix.texi:15617
  22755. #, no-wrap
  22756. msgid "{Scheme Variable} %nscd-default-caches"
  22757. msgstr ""
  22758. #. type: defvr
  22759. #: guix-git/doc/guix.texi:15620
  22760. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22761. msgstr ""
  22762. #. type: defvr
  22763. #: guix-git/doc/guix.texi:15626
  22764. 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."
  22765. msgstr ""
  22766. #. type: anchor{#1}
  22767. #: guix-git/doc/guix.texi:15629
  22768. msgid "syslog-configuration-type"
  22769. msgstr ""
  22770. #. type: cindex
  22771. #: guix-git/doc/guix.texi:15629 guix-git/doc/guix.texi:15645
  22772. #, no-wrap
  22773. msgid "syslog"
  22774. msgstr ""
  22775. #. type: cindex
  22776. #: guix-git/doc/guix.texi:15630 guix-git/doc/guix.texi:16216
  22777. #, no-wrap
  22778. msgid "logging"
  22779. msgstr ""
  22780. #. type: deftp
  22781. #: guix-git/doc/guix.texi:15631
  22782. #, no-wrap
  22783. msgid "{Data Type} syslog-configuration"
  22784. msgstr ""
  22785. #. type: deftp
  22786. #: guix-git/doc/guix.texi:15633
  22787. msgid "This data type represents the configuration of the syslog daemon."
  22788. msgstr ""
  22789. #. type: item
  22790. #: guix-git/doc/guix.texi:15635
  22791. #, no-wrap
  22792. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22793. msgstr ""
  22794. #. type: table
  22795. #: guix-git/doc/guix.texi:15637
  22796. msgid "The syslog daemon to use."
  22797. msgstr ""
  22798. #. type: item
  22799. #: guix-git/doc/guix.texi:15638
  22800. #, no-wrap
  22801. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22802. msgstr ""
  22803. #. type: table
  22804. #: guix-git/doc/guix.texi:15640
  22805. msgid "The syslog configuration file to use."
  22806. msgstr ""
  22807. #. type: anchor{#1}
  22808. #: guix-git/doc/guix.texi:15645
  22809. msgid "syslog-service"
  22810. msgstr ""
  22811. #. type: deffn
  22812. #: guix-git/doc/guix.texi:15646
  22813. #, no-wrap
  22814. msgid "{Scheme Procedure} syslog-service @var{config}"
  22815. msgstr ""
  22816. #. type: deffn
  22817. #: guix-git/doc/guix.texi:15648
  22818. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22819. msgstr ""
  22820. #. type: deffn
  22821. #: guix-git/doc/guix.texi:15651
  22822. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22823. msgstr ""
  22824. #. type: defvr
  22825. #: guix-git/doc/guix.texi:15653
  22826. #, no-wrap
  22827. msgid "{Scheme Variable} guix-service-type"
  22828. msgstr ""
  22829. #. type: defvr
  22830. #: guix-git/doc/guix.texi:15657
  22831. 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."
  22832. msgstr ""
  22833. #. type: anchor{#1}
  22834. #: guix-git/doc/guix.texi:15660
  22835. msgid "guix-configuration-type"
  22836. msgstr ""
  22837. #. type: deftp
  22838. #: guix-git/doc/guix.texi:15660
  22839. #, no-wrap
  22840. msgid "{Data Type} guix-configuration"
  22841. msgstr ""
  22842. #. type: deftp
  22843. #: guix-git/doc/guix.texi:15663
  22844. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22845. msgstr ""
  22846. #. type: item
  22847. #: guix-git/doc/guix.texi:15665
  22848. #, no-wrap
  22849. msgid "@code{guix} (default: @var{guix})"
  22850. msgstr ""
  22851. #. type: table
  22852. #: guix-git/doc/guix.texi:15667 guix-git/doc/guix.texi:15944
  22853. msgid "The Guix package to use."
  22854. msgstr ""
  22855. #. type: item
  22856. #: guix-git/doc/guix.texi:15668
  22857. #, no-wrap
  22858. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22859. msgstr ""
  22860. #. type: table
  22861. #: guix-git/doc/guix.texi:15670
  22862. msgid "Name of the group for build user accounts."
  22863. msgstr ""
  22864. #. type: item
  22865. #: guix-git/doc/guix.texi:15671
  22866. #, no-wrap
  22867. msgid "@code{build-accounts} (default: @code{10})"
  22868. msgstr ""
  22869. #. type: table
  22870. #: guix-git/doc/guix.texi:15673
  22871. msgid "Number of build user accounts to create."
  22872. msgstr ""
  22873. #. type: item
  22874. #: guix-git/doc/guix.texi:15674
  22875. #, no-wrap
  22876. msgid "@code{authorize-key?} (default: @code{#t})"
  22877. msgstr ""
  22878. #. type: table
  22879. #: guix-git/doc/guix.texi:15681
  22880. 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})."
  22881. msgstr ""
  22882. #. type: table
  22883. #: guix-git/doc/guix.texi:15687
  22884. 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."
  22885. msgstr ""
  22886. #. type: quotation
  22887. #: guix-git/doc/guix.texi:15694
  22888. 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}."
  22889. msgstr ""
  22890. #. type: vindex
  22891. #: guix-git/doc/guix.texi:15696
  22892. #, no-wrap
  22893. msgid "%default-authorized-guix-keys"
  22894. msgstr ""
  22895. #. type: item
  22896. #: guix-git/doc/guix.texi:15697
  22897. #, no-wrap
  22898. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22899. msgstr ""
  22900. #. type: table
  22901. #: guix-git/doc/guix.texi:15703
  22902. 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."
  22903. msgstr ""
  22904. #. type: item
  22905. #: guix-git/doc/guix.texi:15704
  22906. #, no-wrap
  22907. msgid "@code{use-substitutes?} (default: @code{#t})"
  22908. msgstr ""
  22909. #. type: table
  22910. #: guix-git/doc/guix.texi:15706
  22911. msgid "Whether to use substitutes."
  22912. msgstr ""
  22913. #. type: item
  22914. #: guix-git/doc/guix.texi:15707 guix-git/doc/guix.texi:28111
  22915. #, no-wrap
  22916. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22917. msgstr ""
  22918. #. type: table
  22919. #: guix-git/doc/guix.texi:15709 guix-git/doc/guix.texi:28113
  22920. msgid "The list of URLs where to look for substitutes by default."
  22921. msgstr ""
  22922. #. type: table
  22923. #: guix-git/doc/guix.texi:15716
  22924. 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:"
  22925. msgstr ""
  22926. #. type: lisp
  22927. #: guix-git/doc/guix.texi:15725
  22928. #, no-wrap
  22929. msgid ""
  22930. "(guix-configuration\n"
  22931. " (substitute-urls\n"
  22932. " (append (list \"https://guix.example.org\")\n"
  22933. " %default-substitute-urls))\n"
  22934. " (authorized-keys\n"
  22935. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22936. " %default-authorized-guix-keys)))\n"
  22937. msgstr ""
  22938. #. type: table
  22939. #: guix-git/doc/guix.texi:15730
  22940. 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."
  22941. msgstr ""
  22942. #. type: item
  22943. #: guix-git/doc/guix.texi:15731
  22944. #, no-wrap
  22945. msgid "@code{max-silent-time} (default: @code{0})"
  22946. msgstr ""
  22947. #. type: itemx
  22948. #: guix-git/doc/guix.texi:15732
  22949. #, no-wrap
  22950. msgid "@code{timeout} (default: @code{0})"
  22951. msgstr ""
  22952. #. type: table
  22953. #: guix-git/doc/guix.texi:15736
  22954. 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."
  22955. msgstr ""
  22956. #. type: item
  22957. #: guix-git/doc/guix.texi:15737
  22958. #, no-wrap
  22959. msgid "@code{log-compression} (default: @code{'bzip2})"
  22960. msgstr ""
  22961. #. type: table
  22962. #: guix-git/doc/guix.texi:15740
  22963. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22964. msgstr ""
  22965. #. type: item
  22966. #: guix-git/doc/guix.texi:15741
  22967. #, no-wrap
  22968. msgid "@code{discover?} (default: @code{#f})"
  22969. msgstr ""
  22970. #. type: table
  22971. #: guix-git/doc/guix.texi:15747
  22972. msgid "List of extra command-line options for @command{guix-daemon}."
  22973. msgstr ""
  22974. #. type: item
  22975. #: guix-git/doc/guix.texi:15748
  22976. #, no-wrap
  22977. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22978. msgstr ""
  22979. #. type: table
  22980. #: guix-git/doc/guix.texi:15751
  22981. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22982. msgstr ""
  22983. #. type: cindex
  22984. #: guix-git/doc/guix.texi:15752
  22985. #, no-wrap
  22986. msgid "HTTP proxy, for @code{guix-daemon}"
  22987. msgstr ""
  22988. #. type: cindex
  22989. #: guix-git/doc/guix.texi:15753
  22990. #, no-wrap
  22991. msgid "proxy, for @code{guix-daemon} HTTP access"
  22992. msgstr ""
  22993. #. type: item
  22994. #: guix-git/doc/guix.texi:15754
  22995. #, no-wrap
  22996. msgid "@code{http-proxy} (default: @code{#f})"
  22997. msgstr ""
  22998. #. type: table
  22999. #: guix-git/doc/guix.texi:15757
  23000. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  23001. msgstr ""
  23002. #. type: table
  23003. #: guix-git/doc/guix.texi:15760
  23004. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  23005. msgstr ""
  23006. #. type: example
  23007. #: guix-git/doc/guix.texi:15763
  23008. #, no-wrap
  23009. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  23010. msgstr ""
  23011. #. type: table
  23012. #: guix-git/doc/guix.texi:15766
  23013. msgid "To clear the proxy settings, run:"
  23014. msgstr ""
  23015. #. type: example
  23016. #: guix-git/doc/guix.texi:15769
  23017. #, no-wrap
  23018. msgid "herd set-http-proxy guix-daemon\n"
  23019. msgstr ""
  23020. #. type: item
  23021. #: guix-git/doc/guix.texi:15771
  23022. #, no-wrap
  23023. msgid "@code{tmpdir} (default: @code{#f})"
  23024. msgstr ""
  23025. #. type: table
  23026. #: guix-git/doc/guix.texi:15773
  23027. msgid "A directory path where the @command{guix-daemon} will perform builds."
  23028. msgstr ""
  23029. #. type: deffn
  23030. #: guix-git/doc/guix.texi:15777
  23031. #, no-wrap
  23032. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  23033. msgstr ""
  23034. #. type: deffn
  23035. #: guix-git/doc/guix.texi:15783
  23036. 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."
  23037. msgstr ""
  23038. #. type: deffn
  23039. #: guix-git/doc/guix.texi:15786
  23040. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  23041. msgstr ""
  23042. #. type: deffn
  23043. #: guix-git/doc/guix.texi:15788
  23044. #, no-wrap
  23045. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  23046. msgstr ""
  23047. #. type: deffn
  23048. #: guix-git/doc/guix.texi:15791
  23049. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  23050. msgstr ""
  23051. #. type: deffn
  23052. #: guix-git/doc/guix.texi:15795
  23053. 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."
  23054. msgstr ""
  23055. #. type: lisp
  23056. #: guix-git/doc/guix.texi:15803
  23057. #, no-wrap
  23058. msgid ""
  23059. "(define %example-udev-rule\n"
  23060. " (udev-rule\n"
  23061. " \"90-usb-thing.rules\"\n"
  23062. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  23063. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  23064. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  23065. msgstr ""
  23066. #. type: deffn
  23067. #: guix-git/doc/guix.texi:15806
  23068. #, no-wrap
  23069. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  23070. msgstr ""
  23071. #. type: deffn
  23072. #: guix-git/doc/guix.texi:15813
  23073. 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."
  23074. msgstr ""
  23075. #. type: deffn
  23076. #: guix-git/doc/guix.texi:15816
  23077. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  23078. msgstr ""
  23079. #. type: lisp
  23080. #: guix-git/doc/guix.texi:15823
  23081. #, no-wrap
  23082. msgid ""
  23083. "(operating-system\n"
  23084. " ;; @dots{}\n"
  23085. " (services\n"
  23086. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  23087. " %desktop-services)))\n"
  23088. msgstr ""
  23089. #. type: deffn
  23090. #: guix-git/doc/guix.texi:15826
  23091. #, no-wrap
  23092. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  23093. msgstr ""
  23094. #. type: deffn
  23095. #: guix-git/doc/guix.texi:15829
  23096. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  23097. msgstr ""
  23098. #. type: deffn
  23099. #: guix-git/doc/guix.texi:15831
  23100. msgid "The following example showcases how we can use an existing rule file."
  23101. msgstr ""
  23102. #. type: lisp
  23103. #: guix-git/doc/guix.texi:15836
  23104. #, no-wrap
  23105. msgid ""
  23106. "(use-modules (guix download) ;for url-fetch\n"
  23107. " (guix packages) ;for origin\n"
  23108. " @dots{})\n"
  23109. "\n"
  23110. msgstr ""
  23111. #. type: lisp
  23112. #: guix-git/doc/guix.texi:15847
  23113. #, no-wrap
  23114. msgid ""
  23115. "(define %android-udev-rules\n"
  23116. " (file->udev-rule\n"
  23117. " \"51-android-udev.rules\"\n"
  23118. " (let ((version \"20170910\"))\n"
  23119. " (origin\n"
  23120. " (method url-fetch)\n"
  23121. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  23122. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  23123. " (sha256\n"
  23124. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  23125. msgstr ""
  23126. #. type: Plain text
  23127. #: guix-git/doc/guix.texi:15856
  23128. 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."
  23129. msgstr ""
  23130. #. type: Plain text
  23131. #: guix-git/doc/guix.texi:15865
  23132. 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."
  23133. msgstr ""
  23134. #. type: lisp
  23135. #: guix-git/doc/guix.texi:15870
  23136. #, no-wrap
  23137. msgid ""
  23138. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  23139. " (gnu system shadow) ;for user-group\n"
  23140. " @dots{})\n"
  23141. "\n"
  23142. msgstr ""
  23143. #. type: lisp
  23144. #: guix-git/doc/guix.texi:15883
  23145. #, no-wrap
  23146. msgid ""
  23147. "(operating-system\n"
  23148. " ;; @dots{}\n"
  23149. " (users (cons (user-account\n"
  23150. " ;; @dots{}\n"
  23151. " (supplementary-groups\n"
  23152. " '(\"adbusers\" ;for adb\n"
  23153. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  23154. " ;; @dots{}\n"
  23155. " (services\n"
  23156. " (cons (udev-rules-service 'android android-udev-rules\n"
  23157. " #:groups '(\"adbusers\"))\n"
  23158. " %desktop-services)))\n"
  23159. msgstr ""
  23160. #. type: defvr
  23161. #: guix-git/doc/guix.texi:15885
  23162. #, no-wrap
  23163. msgid "{Scheme Variable} urandom-seed-service-type"
  23164. msgstr ""
  23165. #. type: defvr
  23166. #: guix-git/doc/guix.texi:15890
  23167. 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."
  23168. msgstr ""
  23169. #. type: defvr
  23170. #: guix-git/doc/guix.texi:15892
  23171. #, no-wrap
  23172. msgid "{Scheme Variable} %random-seed-file"
  23173. msgstr ""
  23174. #. type: defvr
  23175. #: guix-git/doc/guix.texi:15896
  23176. 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}."
  23177. msgstr ""
  23178. #. type: cindex
  23179. #: guix-git/doc/guix.texi:15898
  23180. #, no-wrap
  23181. msgid "mouse"
  23182. msgstr ""
  23183. #. type: cindex
  23184. #: guix-git/doc/guix.texi:15899
  23185. #, no-wrap
  23186. msgid "gpm"
  23187. msgstr ""
  23188. #. type: defvr
  23189. #: guix-git/doc/guix.texi:15900
  23190. #, no-wrap
  23191. msgid "{Scheme Variable} gpm-service-type"
  23192. msgstr ""
  23193. #. type: defvr
  23194. #: guix-git/doc/guix.texi:15905
  23195. 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."
  23196. msgstr ""
  23197. #. type: defvr
  23198. #: guix-git/doc/guix.texi:15908
  23199. 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}."
  23200. msgstr ""
  23201. #. type: deftp
  23202. #: guix-git/doc/guix.texi:15910
  23203. #, no-wrap
  23204. msgid "{Data Type} gpm-configuration"
  23205. msgstr ""
  23206. #. type: deftp
  23207. #: guix-git/doc/guix.texi:15912
  23208. msgid "Data type representing the configuration of GPM."
  23209. msgstr ""
  23210. #. type: item
  23211. #: guix-git/doc/guix.texi:15914
  23212. #, no-wrap
  23213. msgid "@code{options} (default: @code{%default-gpm-options})"
  23214. msgstr ""
  23215. #. type: table
  23216. #: guix-git/doc/guix.texi:15919
  23217. 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."
  23218. msgstr ""
  23219. #. type: item
  23220. #: guix-git/doc/guix.texi:15920
  23221. #, no-wrap
  23222. msgid "@code{gpm} (default: @code{gpm})"
  23223. msgstr ""
  23224. #. type: table
  23225. #: guix-git/doc/guix.texi:15922
  23226. msgid "The GPM package to use."
  23227. msgstr ""
  23228. #. type: anchor{#1}
  23229. #: guix-git/doc/guix.texi:15927
  23230. msgid "guix-publish-service-type"
  23231. msgstr ""
  23232. #. type: deffn
  23233. #: guix-git/doc/guix.texi:15927
  23234. #, no-wrap
  23235. msgid "{Scheme Variable} guix-publish-service-type"
  23236. msgstr ""
  23237. #. type: deffn
  23238. #: guix-git/doc/guix.texi:15931
  23239. 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."
  23240. msgstr ""
  23241. #. type: deffn
  23242. #: guix-git/doc/guix.texi:15935
  23243. 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."
  23244. msgstr ""
  23245. #. type: deftp
  23246. #: guix-git/doc/guix.texi:15937
  23247. #, no-wrap
  23248. msgid "{Data Type} guix-publish-configuration"
  23249. msgstr ""
  23250. #. type: deftp
  23251. #: guix-git/doc/guix.texi:15940
  23252. msgid "Data type representing the configuration of the @code{guix publish} service."
  23253. msgstr ""
  23254. #. type: item
  23255. #: guix-git/doc/guix.texi:15942
  23256. #, no-wrap
  23257. msgid "@code{guix} (default: @code{guix})"
  23258. msgstr ""
  23259. #. type: item
  23260. #: guix-git/doc/guix.texi:15945 guix-git/doc/guix.texi:30364
  23261. #, no-wrap
  23262. msgid "@code{port} (default: @code{80})"
  23263. msgstr ""
  23264. #. type: table
  23265. #: guix-git/doc/guix.texi:15947
  23266. msgid "The TCP port to listen for connections."
  23267. msgstr ""
  23268. #. type: item
  23269. #: guix-git/doc/guix.texi:15948 guix-git/doc/guix.texi:27994
  23270. #: guix-git/doc/guix.texi:31745
  23271. #, no-wrap
  23272. msgid "@code{host} (default: @code{\"localhost\"})"
  23273. msgstr ""
  23274. #. type: table
  23275. #: guix-git/doc/guix.texi:15951
  23276. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  23277. msgstr ""
  23278. #. type: item
  23279. #: guix-git/doc/guix.texi:15952
  23280. #, no-wrap
  23281. msgid "@code{advertise?} (default: @code{#f})"
  23282. msgstr ""
  23283. #. type: table
  23284. #: guix-git/doc/guix.texi:15955
  23285. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  23286. msgstr ""
  23287. #. type: table
  23288. #: guix-git/doc/guix.texi:15959
  23289. 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."
  23290. msgstr ""
  23291. #. type: item
  23292. #: guix-git/doc/guix.texi:15960
  23293. #, no-wrap
  23294. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  23295. msgstr ""
  23296. #. type: table
  23297. #: guix-git/doc/guix.texi:15964
  23298. 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:"
  23299. msgstr ""
  23300. #. type: lisp
  23301. #: guix-git/doc/guix.texi:15967
  23302. #, no-wrap
  23303. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  23304. msgstr ""
  23305. #. type: table
  23306. #: guix-git/doc/guix.texi:15973
  23307. 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."
  23308. msgstr ""
  23309. #. type: table
  23310. #: guix-git/doc/guix.texi:15975
  23311. msgid "An empty list disables compression altogether."
  23312. msgstr ""
  23313. #. type: item
  23314. #: guix-git/doc/guix.texi:15976
  23315. #, no-wrap
  23316. msgid "@code{nar-path} (default: @code{\"nar\"})"
  23317. msgstr ""
  23318. #. type: table
  23319. #: guix-git/doc/guix.texi:15979
  23320. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  23321. msgstr ""
  23322. #. type: item
  23323. #: guix-git/doc/guix.texi:15980
  23324. #, no-wrap
  23325. msgid "@code{cache} (default: @code{#f})"
  23326. msgstr ""
  23327. #. type: table
  23328. #: guix-git/doc/guix.texi:15986
  23329. 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."
  23330. msgstr ""
  23331. #. type: item
  23332. #: guix-git/doc/guix.texi:15987
  23333. #, no-wrap
  23334. msgid "@code{workers} (default: @code{#f})"
  23335. msgstr ""
  23336. #. type: table
  23337. #: guix-git/doc/guix.texi:15991
  23338. 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."
  23339. msgstr ""
  23340. #. type: item
  23341. #: guix-git/doc/guix.texi:15992
  23342. #, no-wrap
  23343. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  23344. msgstr ""
  23345. #. type: table
  23346. #: guix-git/doc/guix.texi:15997
  23347. 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."
  23348. msgstr ""
  23349. #. type: item
  23350. #: guix-git/doc/guix.texi:15998
  23351. #, no-wrap
  23352. msgid "@code{ttl} (default: @code{#f})"
  23353. msgstr ""
  23354. #. type: table
  23355. #: guix-git/doc/guix.texi:16002
  23356. 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."
  23357. msgstr ""
  23358. #. type: anchor{#1}
  23359. #: guix-git/doc/guix.texi:16006
  23360. msgid "rngd-service"
  23361. msgstr ""
  23362. #. type: deffn
  23363. #: guix-git/doc/guix.texi:16006
  23364. #, no-wrap
  23365. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  23366. msgstr ""
  23367. #. type: deffn
  23368. #: guix-git/doc/guix.texi:16011
  23369. 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."
  23370. msgstr ""
  23371. #. type: anchor{#1}
  23372. #: guix-git/doc/guix.texi:16014
  23373. msgid "pam-limits-service"
  23374. msgstr ""
  23375. #. type: cindex
  23376. #: guix-git/doc/guix.texi:16014
  23377. #, no-wrap
  23378. msgid "session limits"
  23379. msgstr ""
  23380. #. type: cindex
  23381. #: guix-git/doc/guix.texi:16015
  23382. #, no-wrap
  23383. msgid "ulimit"
  23384. msgstr ""
  23385. #. type: cindex
  23386. #: guix-git/doc/guix.texi:16016
  23387. #, no-wrap
  23388. msgid "priority"
  23389. msgstr ""
  23390. #. type: cindex
  23391. #: guix-git/doc/guix.texi:16017
  23392. #, no-wrap
  23393. msgid "realtime"
  23394. msgstr ""
  23395. #. type: cindex
  23396. #: guix-git/doc/guix.texi:16018
  23397. #, no-wrap
  23398. msgid "jackd"
  23399. msgstr ""
  23400. #. type: cindex
  23401. #: guix-git/doc/guix.texi:16019
  23402. #, no-wrap
  23403. msgid "nofile"
  23404. msgstr ""
  23405. #. type: cindex
  23406. #: guix-git/doc/guix.texi:16020
  23407. #, no-wrap
  23408. msgid "open file descriptors"
  23409. msgstr ""
  23410. #. type: deffn
  23411. #: guix-git/doc/guix.texi:16021
  23412. #, no-wrap
  23413. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  23414. msgstr ""
  23415. #. type: deffn
  23416. #: guix-git/doc/guix.texi:16028
  23417. 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."
  23418. msgstr ""
  23419. #. type: deffn
  23420. #: guix-git/doc/guix.texi:16031
  23421. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  23422. msgstr ""
  23423. #. type: lisp
  23424. #: guix-git/doc/guix.texi:16037
  23425. #, no-wrap
  23426. msgid ""
  23427. "(pam-limits-service\n"
  23428. " (list\n"
  23429. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  23430. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  23431. msgstr ""
  23432. #. type: deffn
  23433. #: guix-git/doc/guix.texi:16043
  23434. 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."
  23435. msgstr ""
  23436. #. type: deffn
  23437. #: guix-git/doc/guix.texi:16046
  23438. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  23439. msgstr ""
  23440. #. type: lisp
  23441. #: guix-git/doc/guix.texi:16051
  23442. #, no-wrap
  23443. msgid ""
  23444. "(pam-limits-service\n"
  23445. " (list\n"
  23446. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  23447. msgstr ""
  23448. #. type: deffn
  23449. #: guix-git/doc/guix.texi:16059
  23450. 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."
  23451. msgstr ""
  23452. #. type: cindex
  23453. #: guix-git/doc/guix.texi:16064 guix-git/doc/guix.texi:35807
  23454. #, no-wrap
  23455. msgid "cron"
  23456. msgstr ""
  23457. #. type: cindex
  23458. #: guix-git/doc/guix.texi:16065 guix-git/doc/guix.texi:35808
  23459. #, no-wrap
  23460. msgid "mcron"
  23461. msgstr ""
  23462. #. type: cindex
  23463. #: guix-git/doc/guix.texi:16066 guix-git/doc/guix.texi:35809
  23464. #, no-wrap
  23465. msgid "scheduling jobs"
  23466. msgstr ""
  23467. #. type: Plain text
  23468. #: guix-git/doc/guix.texi:16073
  23469. 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."
  23470. msgstr ""
  23471. #. type: Plain text
  23472. #: guix-git/doc/guix.texi:16081
  23473. 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})."
  23474. msgstr ""
  23475. #. type: lisp
  23476. #: guix-git/doc/guix.texi:16085
  23477. #, no-wrap
  23478. msgid ""
  23479. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  23480. "(use-package-modules base idutils)\n"
  23481. "\n"
  23482. msgstr ""
  23483. #. type: lisp
  23484. #: guix-git/doc/guix.texi:16095
  23485. #, no-wrap
  23486. msgid ""
  23487. "(define updatedb-job\n"
  23488. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  23489. " ;; job's action as a Scheme procedure.\n"
  23490. " #~(job '(next-hour '(3))\n"
  23491. " (lambda ()\n"
  23492. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  23493. " \"updatedb\"\n"
  23494. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  23495. " \"updatedb\"))\n"
  23496. "\n"
  23497. msgstr ""
  23498. #. type: lisp
  23499. #: guix-git/doc/guix.texi:16101
  23500. #, no-wrap
  23501. msgid ""
  23502. "(define garbage-collector-job\n"
  23503. " ;; Collect garbage 5 minutes after midnight every day.\n"
  23504. " ;; The job's action is a shell command.\n"
  23505. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  23506. " \"guix gc -F 1G\"))\n"
  23507. "\n"
  23508. msgstr ""
  23509. #. type: lisp
  23510. #: guix-git/doc/guix.texi:16108
  23511. #, no-wrap
  23512. msgid ""
  23513. "(define idutils-job\n"
  23514. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  23515. " ;; and 19:15PM. This runs from the user's home directory.\n"
  23516. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  23517. " (string-append #$idutils \"/bin/mkid src\")\n"
  23518. " #:user \"charlie\"))\n"
  23519. "\n"
  23520. msgstr ""
  23521. #. type: lisp
  23522. #: guix-git/doc/guix.texi:16111
  23523. #, no-wrap
  23524. msgid ""
  23525. "(operating-system\n"
  23526. " ;; @dots{}\n"
  23527. "\n"
  23528. msgstr ""
  23529. #. type: lisp
  23530. #: guix-git/doc/guix.texi:16121
  23531. #, no-wrap
  23532. msgid ""
  23533. " ;; %BASE-SERVICES already includes an instance of\n"
  23534. " ;; 'mcron-service-type', which we extend with additional\n"
  23535. " ;; jobs using 'simple-service'.\n"
  23536. " (services (cons (simple-service 'my-cron-jobs\n"
  23537. " mcron-service-type\n"
  23538. " (list garbage-collector-job\n"
  23539. " updatedb-job\n"
  23540. " idutils-job))\n"
  23541. " %base-services)))\n"
  23542. msgstr ""
  23543. #. type: quotation
  23544. #: guix-git/doc/guix.texi:16123
  23545. #, fuzzy, no-wrap
  23546. #| msgid "Top"
  23547. msgid "Tip"
  23548. msgstr "Top"
  23549. #. type: quotation
  23550. #: guix-git/doc/guix.texi:16129
  23551. 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!"
  23552. msgstr ""
  23553. #. type: Plain text
  23554. #: guix-git/doc/guix.texi:16136
  23555. 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."
  23556. msgstr ""
  23557. #. type: lisp
  23558. #: guix-git/doc/guix.texi:16152
  23559. #, no-wrap
  23560. msgid ""
  23561. "(define %battery-alert-job\n"
  23562. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  23563. " #~(job\n"
  23564. " '(next-minute (range 0 60 1))\n"
  23565. " #$(program-file\n"
  23566. " \"battery-alert.scm\"\n"
  23567. " (with-imported-modules (source-module-closure\n"
  23568. " '((guix build utils)))\n"
  23569. " #~(begin\n"
  23570. " (use-modules (guix build utils)\n"
  23571. " (ice-9 popen)\n"
  23572. " (ice-9 regex)\n"
  23573. " (ice-9 textual-ports)\n"
  23574. " (srfi srfi-2))\n"
  23575. "\n"
  23576. msgstr ""
  23577. #. type: lisp
  23578. #: guix-git/doc/guix.texi:16154
  23579. #, no-wrap
  23580. msgid ""
  23581. " (define %min-level 20)\n"
  23582. "\n"
  23583. msgstr ""
  23584. #. type: lisp
  23585. #: guix-git/doc/guix.texi:16165
  23586. #, no-wrap
  23587. msgid ""
  23588. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  23589. " (and-let* ((input-pipe (open-pipe*\n"
  23590. " OPEN_READ\n"
  23591. " #$(file-append acpi \"/bin/acpi\")))\n"
  23592. " (output (get-string-all input-pipe))\n"
  23593. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  23594. " (level (string->number (match:substring m 1)))\n"
  23595. " ((< level %min-level)))\n"
  23596. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  23597. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  23598. msgstr ""
  23599. #. type: Plain text
  23600. #: guix-git/doc/guix.texi:16170
  23601. 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."
  23602. msgstr ""
  23603. #. type: Plain text
  23604. #: guix-git/doc/guix.texi:16173
  23605. 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:"
  23606. msgstr ""
  23607. #. type: example
  23608. #: guix-git/doc/guix.texi:16176
  23609. #, no-wrap
  23610. msgid "# herd schedule mcron\n"
  23611. msgstr ""
  23612. #. type: Plain text
  23613. #: guix-git/doc/guix.texi:16181
  23614. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  23615. msgstr ""
  23616. #. type: example
  23617. #: guix-git/doc/guix.texi:16184
  23618. #, no-wrap
  23619. msgid "# herd schedule mcron 10\n"
  23620. msgstr ""
  23621. #. type: defvr
  23622. #: guix-git/doc/guix.texi:16186
  23623. #, no-wrap
  23624. msgid "{Scheme Variable} mcron-service-type"
  23625. msgstr ""
  23626. #. type: defvr
  23627. #: guix-git/doc/guix.texi:16189
  23628. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  23629. msgstr ""
  23630. #. type: defvr
  23631. #: guix-git/doc/guix.texi:16194 guix-git/doc/guix.texi:35828
  23632. 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."
  23633. msgstr ""
  23634. #. type: deftp
  23635. #: guix-git/doc/guix.texi:16196
  23636. #, no-wrap
  23637. msgid "{Data Type} mcron-configuration"
  23638. msgstr ""
  23639. #. type: deftp
  23640. #: guix-git/doc/guix.texi:16198 guix-git/doc/guix.texi:35832
  23641. msgid "Data type representing the configuration of mcron."
  23642. msgstr ""
  23643. #. type: item
  23644. #: guix-git/doc/guix.texi:16200 guix-git/doc/guix.texi:35834
  23645. #, no-wrap
  23646. msgid "@code{mcron} (default: @var{mcron})"
  23647. msgstr ""
  23648. #. type: table
  23649. #: guix-git/doc/guix.texi:16202 guix-git/doc/guix.texi:35836
  23650. msgid "The mcron package to use."
  23651. msgstr ""
  23652. #. type: code{#1}
  23653. #: guix-git/doc/guix.texi:16203 guix-git/doc/guix.texi:16272
  23654. #: guix-git/doc/guix.texi:35837
  23655. #, no-wrap
  23656. msgid "jobs"
  23657. msgstr ""
  23658. #. type: table
  23659. #: guix-git/doc/guix.texi:16207 guix-git/doc/guix.texi:35841
  23660. 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})."
  23661. msgstr ""
  23662. #. type: cindex
  23663. #: guix-git/doc/guix.texi:16214
  23664. #, no-wrap
  23665. msgid "rottlog"
  23666. msgstr ""
  23667. #. type: cindex
  23668. #: guix-git/doc/guix.texi:16215
  23669. #, no-wrap
  23670. msgid "log rotation"
  23671. msgstr ""
  23672. #. type: Plain text
  23673. #: guix-git/doc/guix.texi:16222
  23674. 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})."
  23675. msgstr ""
  23676. #. type: Plain text
  23677. #: guix-git/doc/guix.texi:16228
  23678. 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):"
  23679. msgstr ""
  23680. #. type: lisp
  23681. #: guix-git/doc/guix.texi:16232
  23682. #, no-wrap
  23683. msgid ""
  23684. "(use-modules (guix) (gnu))\n"
  23685. "(use-service-modules admin)\n"
  23686. "\n"
  23687. msgstr ""
  23688. #. type: lisp
  23689. #: guix-git/doc/guix.texi:16236
  23690. #, no-wrap
  23691. msgid ""
  23692. "(define my-log-files\n"
  23693. " ;; Log files that I want to rotate.\n"
  23694. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  23695. "\n"
  23696. msgstr ""
  23697. #. type: lisp
  23698. #: guix-git/doc/guix.texi:16245
  23699. #, no-wrap
  23700. msgid ""
  23701. "(operating-system\n"
  23702. " ;; @dots{}\n"
  23703. " (services (cons (simple-service 'rotate-my-stuff\n"
  23704. " rottlog-service-type\n"
  23705. " (list (log-rotation\n"
  23706. " (frequency 'daily)\n"
  23707. " (files my-log-files))))\n"
  23708. " %base-services)))\n"
  23709. msgstr ""
  23710. #. type: defvr
  23711. #: guix-git/doc/guix.texi:16247
  23712. #, no-wrap
  23713. msgid "{Scheme Variable} rottlog-service-type"
  23714. msgstr ""
  23715. #. type: defvr
  23716. #: guix-git/doc/guix.texi:16250
  23717. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  23718. msgstr ""
  23719. #. type: defvr
  23720. #: guix-git/doc/guix.texi:16253
  23721. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  23722. msgstr ""
  23723. #. type: defvr
  23724. #: guix-git/doc/guix.texi:16256
  23725. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  23726. msgstr ""
  23727. #. type: deftp
  23728. #: guix-git/doc/guix.texi:16258
  23729. #, no-wrap
  23730. msgid "{Data Type} rottlog-configuration"
  23731. msgstr ""
  23732. #. type: deftp
  23733. #: guix-git/doc/guix.texi:16260
  23734. msgid "Data type representing the configuration of rottlog."
  23735. msgstr ""
  23736. #. type: item
  23737. #: guix-git/doc/guix.texi:16262
  23738. #, no-wrap
  23739. msgid "@code{rottlog} (default: @code{rottlog})"
  23740. msgstr ""
  23741. #. type: table
  23742. #: guix-git/doc/guix.texi:16264
  23743. msgid "The Rottlog package to use."
  23744. msgstr ""
  23745. #. type: item
  23746. #: guix-git/doc/guix.texi:16265
  23747. #, no-wrap
  23748. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23749. msgstr ""
  23750. #. type: table
  23751. #: guix-git/doc/guix.texi:16268
  23752. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23753. msgstr ""
  23754. #. type: item
  23755. #: guix-git/doc/guix.texi:16269
  23756. #, no-wrap
  23757. msgid "@code{rotations} (default: @code{%default-rotations})"
  23758. msgstr ""
  23759. #. type: table
  23760. #: guix-git/doc/guix.texi:16271
  23761. msgid "A list of @code{log-rotation} objects as defined below."
  23762. msgstr ""
  23763. #. type: table
  23764. #: guix-git/doc/guix.texi:16275
  23765. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23766. msgstr ""
  23767. #. type: deftp
  23768. #: guix-git/doc/guix.texi:16278
  23769. #, no-wrap
  23770. msgid "{Data Type} log-rotation"
  23771. msgstr ""
  23772. #. type: deftp
  23773. #: guix-git/doc/guix.texi:16280
  23774. msgid "Data type representing the rotation of a group of log files."
  23775. msgstr ""
  23776. #. type: deftp
  23777. #: guix-git/doc/guix.texi:16284
  23778. 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:"
  23779. msgstr ""
  23780. #. type: lisp
  23781. #: guix-git/doc/guix.texi:16293
  23782. #, no-wrap
  23783. msgid ""
  23784. "(log-rotation\n"
  23785. " (frequency 'daily)\n"
  23786. " (files '(\"/var/log/apache/*\"))\n"
  23787. " (options '(\"storedir apache-archives\"\n"
  23788. " \"rotate 6\"\n"
  23789. " \"notifempty\"\n"
  23790. " \"nocompress\")))\n"
  23791. msgstr ""
  23792. #. type: deftp
  23793. #: guix-git/doc/guix.texi:16296
  23794. msgid "The list of fields is as follows:"
  23795. msgstr ""
  23796. #. type: item
  23797. #: guix-git/doc/guix.texi:16298
  23798. #, no-wrap
  23799. msgid "@code{frequency} (default: @code{'weekly})"
  23800. msgstr ""
  23801. #. type: table
  23802. #: guix-git/doc/guix.texi:16300
  23803. msgid "The log rotation frequency, a symbol."
  23804. msgstr ""
  23805. #. type: code{#1}
  23806. #: guix-git/doc/guix.texi:16301
  23807. #, no-wrap
  23808. msgid "files"
  23809. msgstr ""
  23810. #. type: table
  23811. #: guix-git/doc/guix.texi:16303
  23812. msgid "The list of files or file glob patterns to rotate."
  23813. msgstr ""
  23814. #. type: item
  23815. #: guix-git/doc/guix.texi:16304
  23816. #, no-wrap
  23817. msgid "@code{options} (default: @code{'()})"
  23818. msgstr ""
  23819. #. type: table
  23820. #: guix-git/doc/guix.texi:16307
  23821. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23822. msgstr ""
  23823. #. type: item
  23824. #: guix-git/doc/guix.texi:16308
  23825. #, no-wrap
  23826. msgid "@code{post-rotate} (default: @code{#f})"
  23827. msgstr ""
  23828. #. type: table
  23829. #: guix-git/doc/guix.texi:16310
  23830. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23831. msgstr ""
  23832. #. type: defvr
  23833. #: guix-git/doc/guix.texi:16313
  23834. #, no-wrap
  23835. msgid "{Scheme Variable} %default-rotations"
  23836. msgstr ""
  23837. #. type: defvr
  23838. #: guix-git/doc/guix.texi:16316
  23839. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23840. msgstr ""
  23841. #. type: defvr
  23842. #: guix-git/doc/guix.texi:16318
  23843. #, no-wrap
  23844. msgid "{Scheme Variable} %rotated-files"
  23845. msgstr ""
  23846. #. type: defvr
  23847. #: guix-git/doc/guix.texi:16322
  23848. 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\")}."
  23849. msgstr ""
  23850. #. type: Plain text
  23851. #: guix-git/doc/guix.texi:16329
  23852. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23853. msgstr ""
  23854. #. type: cindex
  23855. #: guix-git/doc/guix.texi:16330
  23856. #, no-wrap
  23857. msgid "DHCP, networking service"
  23858. msgstr ""
  23859. #. type: defvr
  23860. #: guix-git/doc/guix.texi:16331
  23861. #, no-wrap
  23862. msgid "{Scheme Variable} dhcp-client-service-type"
  23863. msgstr ""
  23864. #. type: defvr
  23865. #: guix-git/doc/guix.texi:16335
  23866. 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."
  23867. msgstr ""
  23868. #. type: deffn
  23869. #: guix-git/doc/guix.texi:16337
  23870. #, no-wrap
  23871. msgid "{Scheme Procedure} dhcpd-service-type"
  23872. msgstr ""
  23873. #. type: deffn
  23874. #: guix-git/doc/guix.texi:16341
  23875. 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:"
  23876. msgstr ""
  23877. #. type: lisp
  23878. #: guix-git/doc/guix.texi:16347
  23879. #, no-wrap
  23880. msgid ""
  23881. "(service dhcpd-service-type\n"
  23882. " (dhcpd-configuration\n"
  23883. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23884. " (interfaces '(\"enp0s25\"))))\n"
  23885. msgstr ""
  23886. #. type: deftp
  23887. #: guix-git/doc/guix.texi:16350
  23888. #, no-wrap
  23889. msgid "{Data Type} dhcpd-configuration"
  23890. msgstr ""
  23891. #. type: item
  23892. #: guix-git/doc/guix.texi:16352
  23893. #, no-wrap
  23894. msgid "@code{package} (default: @code{isc-dhcp})"
  23895. msgstr ""
  23896. #. type: table
  23897. #: guix-git/doc/guix.texi:16357
  23898. 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}."
  23899. msgstr ""
  23900. #. type: item
  23901. #: guix-git/doc/guix.texi:16357 guix-git/doc/guix.texi:16613
  23902. #: guix-git/doc/guix.texi:21828
  23903. #, no-wrap
  23904. msgid "@code{config-file} (default: @code{#f})"
  23905. msgstr ""
  23906. #. type: table
  23907. #: guix-git/doc/guix.texi:16362
  23908. 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."
  23909. msgstr ""
  23910. #. type: item
  23911. #: guix-git/doc/guix.texi:16362
  23912. #, no-wrap
  23913. msgid "@code{version} (default: @code{\"4\"})"
  23914. msgstr ""
  23915. #. type: table
  23916. #: guix-git/doc/guix.texi:16367
  23917. 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."
  23918. msgstr ""
  23919. #. type: item
  23920. #: guix-git/doc/guix.texi:16367
  23921. #, no-wrap
  23922. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23923. msgstr ""
  23924. #. type: table
  23925. #: guix-git/doc/guix.texi:16370
  23926. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23927. msgstr ""
  23928. #. type: item
  23929. #: guix-git/doc/guix.texi:16370
  23930. #, no-wrap
  23931. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23932. msgstr ""
  23933. #. type: table
  23934. #: guix-git/doc/guix.texi:16373
  23935. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23936. msgstr ""
  23937. #. type: item
  23938. #: guix-git/doc/guix.texi:16373
  23939. #, no-wrap
  23940. msgid "@code{interfaces} (default: @code{'()})"
  23941. msgstr ""
  23942. #. type: table
  23943. #: guix-git/doc/guix.texi:16379
  23944. 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."
  23945. msgstr ""
  23946. #. type: defvr
  23947. #: guix-git/doc/guix.texi:16382
  23948. #, no-wrap
  23949. msgid "{Scheme Variable} static-networking-service-type"
  23950. msgstr ""
  23951. #. type: defvr
  23952. #: guix-git/doc/guix.texi:16385
  23953. msgid "This is the type for statically-configured network interfaces."
  23954. msgstr ""
  23955. #. type: deffn
  23956. #: guix-git/doc/guix.texi:16387
  23957. #, no-wrap
  23958. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23959. msgstr ""
  23960. #. type: deffn
  23961. #: guix-git/doc/guix.texi:16395
  23962. msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface."
  23963. msgstr ""
  23964. #. type: deffn
  23965. #: guix-git/doc/guix.texi:16400
  23966. msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle."
  23967. msgstr ""
  23968. #. type: defvr
  23969. #: guix-git/doc/guix.texi:16402 guix-git/doc/guix.texi:29675
  23970. msgid "For example:"
  23971. msgstr ""
  23972. #. type: lisp
  23973. #: guix-git/doc/guix.texi:16407
  23974. #, no-wrap
  23975. msgid ""
  23976. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23977. " #:gateway \"192.168.1.2\"\n"
  23978. " #:name-servers '(\"192.168.1.2\"))\n"
  23979. msgstr ""
  23980. #. type: cindex
  23981. #: guix-git/doc/guix.texi:16410
  23982. #, no-wrap
  23983. msgid "wicd"
  23984. msgstr ""
  23985. #. type: cindex
  23986. #: guix-git/doc/guix.texi:16413
  23987. #, no-wrap
  23988. msgid "network management"
  23989. msgstr ""
  23990. #. type: deffn
  23991. #: guix-git/doc/guix.texi:16414
  23992. #, no-wrap
  23993. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23994. msgstr ""
  23995. #. type: deffn
  23996. #: guix-git/doc/guix.texi:16417
  23997. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23998. msgstr ""
  23999. #. type: deffn
  24000. #: guix-git/doc/guix.texi:16422
  24001. 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."
  24002. msgstr ""
  24003. #. type: cindex
  24004. #: guix-git/doc/guix.texi:16424
  24005. #, no-wrap
  24006. msgid "ModemManager"
  24007. msgstr ""
  24008. #. type: defvr
  24009. #: guix-git/doc/guix.texi:16426
  24010. #, no-wrap
  24011. msgid "{Scheme Variable} modem-manager-service-type"
  24012. msgstr ""
  24013. #. type: defvr
  24014. #: guix-git/doc/guix.texi:16431
  24015. 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."
  24016. msgstr ""
  24017. #. type: defvr
  24018. #: guix-git/doc/guix.texi:16434 guix-git/doc/guix.texi:16463
  24019. #: guix-git/doc/guix.texi:16495
  24020. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  24021. msgstr ""
  24022. #. type: deftp
  24023. #: guix-git/doc/guix.texi:16436
  24024. #, no-wrap
  24025. msgid "{Data Type} modem-manager-configuration"
  24026. msgstr ""
  24027. #. type: deftp
  24028. #: guix-git/doc/guix.texi:16438
  24029. msgid "Data type representing the configuration of ModemManager."
  24030. msgstr ""
  24031. #. type: item
  24032. #: guix-git/doc/guix.texi:16440
  24033. #, no-wrap
  24034. msgid "@code{modem-manager} (default: @code{modem-manager})"
  24035. msgstr ""
  24036. #. type: table
  24037. #: guix-git/doc/guix.texi:16442
  24038. msgid "The ModemManager package to use."
  24039. msgstr ""
  24040. #. type: cindex
  24041. #: guix-git/doc/guix.texi:16446
  24042. #, no-wrap
  24043. msgid "USB_ModeSwitch"
  24044. msgstr ""
  24045. #. type: cindex
  24046. #: guix-git/doc/guix.texi:16447
  24047. #, no-wrap
  24048. msgid "Modeswitching"
  24049. msgstr ""
  24050. #. type: defvr
  24051. #: guix-git/doc/guix.texi:16449
  24052. #, no-wrap
  24053. msgid "{Scheme Variable} usb-modeswitch-service-type"
  24054. msgstr ""
  24055. #. type: defvr
  24056. #: guix-git/doc/guix.texi:16454
  24057. 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."
  24058. msgstr ""
  24059. #. type: defvr
  24060. #: guix-git/doc/guix.texi:16460
  24061. 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."
  24062. msgstr ""
  24063. #. type: deftp
  24064. #: guix-git/doc/guix.texi:16465
  24065. #, no-wrap
  24066. msgid "{Data Type} usb-modeswitch-configuration"
  24067. msgstr ""
  24068. #. type: deftp
  24069. #: guix-git/doc/guix.texi:16467
  24070. msgid "Data type representing the configuration of USB_ModeSwitch."
  24071. msgstr ""
  24072. #. type: item
  24073. #: guix-git/doc/guix.texi:16469
  24074. #, no-wrap
  24075. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  24076. msgstr ""
  24077. #. type: table
  24078. #: guix-git/doc/guix.texi:16471
  24079. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  24080. msgstr ""
  24081. #. type: item
  24082. #: guix-git/doc/guix.texi:16472
  24083. #, no-wrap
  24084. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  24085. msgstr ""
  24086. #. type: table
  24087. #: guix-git/doc/guix.texi:16475
  24088. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  24089. msgstr ""
  24090. #. type: item
  24091. #: guix-git/doc/guix.texi:16476
  24092. #, no-wrap
  24093. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  24094. msgstr ""
  24095. #. type: table
  24096. #: guix-git/doc/guix.texi:16481
  24097. 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."
  24098. msgstr ""
  24099. #. type: cindex
  24100. #: guix-git/doc/guix.texi:16485
  24101. #, no-wrap
  24102. msgid "NetworkManager"
  24103. msgstr ""
  24104. #. type: defvr
  24105. #: guix-git/doc/guix.texi:16487
  24106. #, no-wrap
  24107. msgid "{Scheme Variable} network-manager-service-type"
  24108. msgstr ""
  24109. #. type: defvr
  24110. #: guix-git/doc/guix.texi:16492
  24111. 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."
  24112. msgstr ""
  24113. #. type: deftp
  24114. #: guix-git/doc/guix.texi:16497
  24115. #, no-wrap
  24116. msgid "{Data Type} network-manager-configuration"
  24117. msgstr ""
  24118. #. type: deftp
  24119. #: guix-git/doc/guix.texi:16499
  24120. msgid "Data type representing the configuration of NetworkManager."
  24121. msgstr ""
  24122. #. type: item
  24123. #: guix-git/doc/guix.texi:16501
  24124. #, no-wrap
  24125. msgid "@code{network-manager} (default: @code{network-manager})"
  24126. msgstr ""
  24127. #. type: table
  24128. #: guix-git/doc/guix.texi:16503
  24129. msgid "The NetworkManager package to use."
  24130. msgstr ""
  24131. #. type: item
  24132. #: guix-git/doc/guix.texi:16504
  24133. #, no-wrap
  24134. msgid "@code{dns} (default: @code{\"default\"})"
  24135. msgstr ""
  24136. #. type: table
  24137. #: guix-git/doc/guix.texi:16507
  24138. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  24139. msgstr ""
  24140. #. type: table
  24141. #: guix-git/doc/guix.texi:16512
  24142. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  24143. msgstr ""
  24144. #. type: item
  24145. #: guix-git/doc/guix.texi:16513
  24146. #, no-wrap
  24147. msgid "dnsmasq"
  24148. msgstr ""
  24149. #. type: table
  24150. #: guix-git/doc/guix.texi:16517
  24151. 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."
  24152. msgstr ""
  24153. #. type: table
  24154. #: guix-git/doc/guix.texi:16523
  24155. 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)."
  24156. msgstr ""
  24157. #. type: table
  24158. #: guix-git/doc/guix.texi:16530
  24159. 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:"
  24160. msgstr ""
  24161. #. type: example
  24162. #: guix-git/doc/guix.texi:16537
  24163. #, no-wrap
  24164. msgid ""
  24165. "nmcli connection add type tun \\\n"
  24166. " connection.interface-name tap0 \\\n"
  24167. " tun.mode tap tun.owner $(id -u) \\\n"
  24168. " ipv4.method shared \\\n"
  24169. " ipv4.addresses 172.28.112.1/24\n"
  24170. msgstr ""
  24171. #. type: table
  24172. #: guix-git/doc/guix.texi:16542
  24173. 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-...}."
  24174. msgstr ""
  24175. #. type: table
  24176. #: guix-git/doc/guix.texi:16545
  24177. msgid "NetworkManager will not modify @code{resolv.conf}."
  24178. msgstr ""
  24179. #. type: item
  24180. #: guix-git/doc/guix.texi:16547
  24181. #, no-wrap
  24182. msgid "@code{vpn-plugins} (default: @code{'()})"
  24183. msgstr ""
  24184. #. type: table
  24185. #: guix-git/doc/guix.texi:16551
  24186. 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."
  24187. msgstr ""
  24188. #. type: cindex
  24189. #: guix-git/doc/guix.texi:16555
  24190. #, no-wrap
  24191. msgid "Connman"
  24192. msgstr ""
  24193. #. type: deffn
  24194. #: guix-git/doc/guix.texi:16556
  24195. #, no-wrap
  24196. msgid "{Scheme Variable} connman-service-type"
  24197. msgstr ""
  24198. #. type: deffn
  24199. #: guix-git/doc/guix.texi:16559
  24200. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  24201. msgstr ""
  24202. #. type: deffn
  24203. #: guix-git/doc/guix.texi:16562
  24204. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  24205. msgstr ""
  24206. #. type: lisp
  24207. #: guix-git/doc/guix.texi:16567
  24208. #, no-wrap
  24209. msgid ""
  24210. "(service connman-service-type\n"
  24211. " (connman-configuration\n"
  24212. " (disable-vpn? #t)))\n"
  24213. msgstr ""
  24214. #. type: deffn
  24215. #: guix-git/doc/guix.texi:16570
  24216. msgid "See below for details about @code{connman-configuration}."
  24217. msgstr ""
  24218. #. type: deftp
  24219. #: guix-git/doc/guix.texi:16572
  24220. #, no-wrap
  24221. msgid "{Data Type} connman-configuration"
  24222. msgstr ""
  24223. #. type: deftp
  24224. #: guix-git/doc/guix.texi:16574
  24225. msgid "Data Type representing the configuration of connman."
  24226. msgstr ""
  24227. #. type: item
  24228. #: guix-git/doc/guix.texi:16576
  24229. #, no-wrap
  24230. msgid "@code{connman} (default: @var{connman})"
  24231. msgstr ""
  24232. #. type: table
  24233. #: guix-git/doc/guix.texi:16578
  24234. msgid "The connman package to use."
  24235. msgstr ""
  24236. #. type: item
  24237. #: guix-git/doc/guix.texi:16579
  24238. #, no-wrap
  24239. msgid "@code{disable-vpn?} (default: @code{#f})"
  24240. msgstr ""
  24241. #. type: table
  24242. #: guix-git/doc/guix.texi:16581
  24243. msgid "When true, disable connman's vpn plugin."
  24244. msgstr ""
  24245. #. type: cindex
  24246. #: guix-git/doc/guix.texi:16584
  24247. #, no-wrap
  24248. msgid "WPA Supplicant"
  24249. msgstr ""
  24250. #. type: defvr
  24251. #: guix-git/doc/guix.texi:16585
  24252. #, no-wrap
  24253. msgid "{Scheme Variable} wpa-supplicant-service-type"
  24254. msgstr ""
  24255. #. type: defvr
  24256. #: guix-git/doc/guix.texi:16589
  24257. 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."
  24258. msgstr ""
  24259. #. type: deftp
  24260. #: guix-git/doc/guix.texi:16591
  24261. #, no-wrap
  24262. msgid "{Data Type} wpa-supplicant-configuration"
  24263. msgstr ""
  24264. #. type: deftp
  24265. #: guix-git/doc/guix.texi:16593
  24266. msgid "Data type representing the configuration of WPA Supplicant."
  24267. msgstr ""
  24268. #. type: deftp
  24269. #: guix-git/doc/guix.texi:16595 guix-git/doc/guix.texi:31832
  24270. msgid "It takes the following parameters:"
  24271. msgstr ""
  24272. #. type: item
  24273. #: guix-git/doc/guix.texi:16597
  24274. #, no-wrap
  24275. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  24276. msgstr ""
  24277. #. type: table
  24278. #: guix-git/doc/guix.texi:16599
  24279. msgid "The WPA Supplicant package to use."
  24280. msgstr ""
  24281. #. type: item
  24282. #: guix-git/doc/guix.texi:16600
  24283. #, no-wrap
  24284. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  24285. msgstr ""
  24286. #. type: table
  24287. #: guix-git/doc/guix.texi:16602
  24288. msgid "List of services that should be started before WPA Supplicant starts."
  24289. msgstr ""
  24290. #. type: item
  24291. #: guix-git/doc/guix.texi:16603
  24292. #, no-wrap
  24293. msgid "@code{dbus?} (default: @code{#t})"
  24294. msgstr ""
  24295. #. type: table
  24296. #: guix-git/doc/guix.texi:16605
  24297. msgid "Whether to listen for requests on D-Bus."
  24298. msgstr ""
  24299. #. type: item
  24300. #: guix-git/doc/guix.texi:16606
  24301. #, no-wrap
  24302. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  24303. msgstr ""
  24304. #. type: table
  24305. #: guix-git/doc/guix.texi:16608
  24306. msgid "Where to store the PID file."
  24307. msgstr ""
  24308. #. type: item
  24309. #: guix-git/doc/guix.texi:16609 guix-git/doc/guix.texi:30133
  24310. #: guix-git/doc/guix.texi:30275
  24311. #, no-wrap
  24312. msgid "@code{interface} (default: @code{#f})"
  24313. msgstr ""
  24314. #. type: table
  24315. #: guix-git/doc/guix.texi:16612
  24316. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  24317. msgstr ""
  24318. #. type: table
  24319. #: guix-git/doc/guix.texi:16615
  24320. msgid "Optional configuration file to use."
  24321. msgstr ""
  24322. #. type: table
  24323. #: guix-git/doc/guix.texi:16618
  24324. msgid "List of additional command-line arguments to pass to the daemon."
  24325. msgstr ""
  24326. #. type: cindex
  24327. #: guix-git/doc/guix.texi:16621
  24328. #, no-wrap
  24329. msgid "hostapd service, for Wi-Fi access points"
  24330. msgstr ""
  24331. #. type: cindex
  24332. #: guix-git/doc/guix.texi:16622
  24333. #, no-wrap
  24334. msgid "Wi-Fi access points, hostapd service"
  24335. msgstr ""
  24336. #. type: defvr
  24337. #: guix-git/doc/guix.texi:16623
  24338. #, no-wrap
  24339. msgid "{Scheme Variable} hostapd-service-type"
  24340. msgstr ""
  24341. #. type: defvr
  24342. #: guix-git/doc/guix.texi:16628
  24343. 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:"
  24344. msgstr ""
  24345. #. type: lisp
  24346. #: guix-git/doc/guix.texi:16636
  24347. #, no-wrap
  24348. msgid ""
  24349. ";; Use wlan1 to run the access point for \"My Network\".\n"
  24350. "(service hostapd-service-type\n"
  24351. " (hostapd-configuration\n"
  24352. " (interface \"wlan1\")\n"
  24353. " (ssid \"My Network\")\n"
  24354. " (channel 12)))\n"
  24355. msgstr ""
  24356. #. type: deftp
  24357. #: guix-git/doc/guix.texi:16639
  24358. #, no-wrap
  24359. msgid "{Data Type} hostapd-configuration"
  24360. msgstr ""
  24361. #. type: deftp
  24362. #: guix-git/doc/guix.texi:16642
  24363. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  24364. msgstr ""
  24365. #. type: item
  24366. #: guix-git/doc/guix.texi:16644
  24367. #, no-wrap
  24368. msgid "@code{package} (default: @code{hostapd})"
  24369. msgstr ""
  24370. #. type: table
  24371. #: guix-git/doc/guix.texi:16646
  24372. msgid "The hostapd package to use."
  24373. msgstr ""
  24374. #. type: item
  24375. #: guix-git/doc/guix.texi:16647
  24376. #, no-wrap
  24377. msgid "@code{interface} (default: @code{\"wlan0\"})"
  24378. msgstr ""
  24379. #. type: table
  24380. #: guix-git/doc/guix.texi:16649
  24381. msgid "The network interface to run the WiFi access point."
  24382. msgstr ""
  24383. #. type: code{#1}
  24384. #: guix-git/doc/guix.texi:16650
  24385. #, no-wrap
  24386. msgid "ssid"
  24387. msgstr ""
  24388. #. type: table
  24389. #: guix-git/doc/guix.texi:16653
  24390. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  24391. msgstr ""
  24392. #. type: item
  24393. #: guix-git/doc/guix.texi:16654
  24394. #, no-wrap
  24395. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  24396. msgstr ""
  24397. #. type: table
  24398. #: guix-git/doc/guix.texi:16656
  24399. msgid "Whether to broadcast this SSID."
  24400. msgstr ""
  24401. #. type: item
  24402. #: guix-git/doc/guix.texi:16657
  24403. #, no-wrap
  24404. msgid "@code{channel} (default: @code{1})"
  24405. msgstr ""
  24406. #. type: table
  24407. #: guix-git/doc/guix.texi:16659
  24408. msgid "The WiFi channel to use."
  24409. msgstr ""
  24410. #. type: item
  24411. #: guix-git/doc/guix.texi:16660
  24412. #, no-wrap
  24413. msgid "@code{driver} (default: @code{\"nl80211\"})"
  24414. msgstr ""
  24415. #. type: table
  24416. #: guix-git/doc/guix.texi:16664
  24417. 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."
  24418. msgstr ""
  24419. #. type: item
  24420. #: guix-git/doc/guix.texi:16665 guix-git/doc/guix.texi:22677
  24421. #: guix-git/doc/guix.texi:25756
  24422. #, no-wrap
  24423. msgid "@code{extra-settings} (default: @code{\"\"})"
  24424. msgstr ""
  24425. #. type: table
  24426. #: guix-git/doc/guix.texi:16669
  24427. 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."
  24428. msgstr ""
  24429. #. type: defvr
  24430. #: guix-git/doc/guix.texi:16672
  24431. #, no-wrap
  24432. msgid "{Scheme Variable} simulated-wifi-service-type"
  24433. msgstr ""
  24434. #. type: defvr
  24435. #: guix-git/doc/guix.texi:16679
  24436. 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."
  24437. msgstr ""
  24438. #. type: defvr
  24439. #: guix-git/doc/guix.texi:16681
  24440. msgid "The service's value is a @code{hostapd-configuration} record."
  24441. msgstr ""
  24442. #. type: cindex
  24443. #: guix-git/doc/guix.texi:16683
  24444. #, no-wrap
  24445. msgid "iptables"
  24446. msgstr ""
  24447. #. type: defvr
  24448. #: guix-git/doc/guix.texi:16684
  24449. #, no-wrap
  24450. msgid "{Scheme Variable} iptables-service-type"
  24451. msgstr ""
  24452. #. type: defvr
  24453. #: guix-git/doc/guix.texi:16690
  24454. 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."
  24455. msgstr ""
  24456. #. type: lisp
  24457. #: guix-git/doc/guix.texi:16712
  24458. #, no-wrap
  24459. msgid ""
  24460. "(service iptables-service-type\n"
  24461. " (iptables-configuration\n"
  24462. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  24463. ":INPUT ACCEPT\n"
  24464. ":FORWARD ACCEPT\n"
  24465. ":OUTPUT ACCEPT\n"
  24466. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24467. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24468. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  24469. "COMMIT\n"
  24470. "\"))\n"
  24471. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  24472. ":INPUT ACCEPT\n"
  24473. ":FORWARD ACCEPT\n"
  24474. ":OUTPUT ACCEPT\n"
  24475. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24476. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24477. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  24478. "COMMIT\n"
  24479. "\"))))\n"
  24480. msgstr ""
  24481. #. type: deftp
  24482. #: guix-git/doc/guix.texi:16715
  24483. #, no-wrap
  24484. msgid "{Data Type} iptables-configuration"
  24485. msgstr ""
  24486. #. type: deftp
  24487. #: guix-git/doc/guix.texi:16717
  24488. msgid "The data type representing the configuration of iptables."
  24489. msgstr ""
  24490. #. type: item
  24491. #: guix-git/doc/guix.texi:16719
  24492. #, no-wrap
  24493. msgid "@code{iptables} (default: @code{iptables})"
  24494. msgstr ""
  24495. #. type: table
  24496. #: guix-git/doc/guix.texi:16722
  24497. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  24498. msgstr ""
  24499. #. type: item
  24500. #: guix-git/doc/guix.texi:16722
  24501. #, no-wrap
  24502. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  24503. msgstr ""
  24504. #. type: table
  24505. #: guix-git/doc/guix.texi:16726
  24506. 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})."
  24507. msgstr ""
  24508. #. type: item
  24509. #: guix-git/doc/guix.texi:16726
  24510. #, no-wrap
  24511. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  24512. msgstr ""
  24513. #. type: table
  24514. #: guix-git/doc/guix.texi:16730
  24515. 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})."
  24516. msgstr ""
  24517. #. type: cindex
  24518. #: guix-git/doc/guix.texi:16733
  24519. #, no-wrap
  24520. msgid "nftables"
  24521. msgstr ""
  24522. #. type: defvr
  24523. #: guix-git/doc/guix.texi:16734
  24524. #, no-wrap
  24525. msgid "{Scheme Variable} nftables-service-type"
  24526. msgstr ""
  24527. #. type: defvr
  24528. #: guix-git/doc/guix.texi:16742
  24529. 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:"
  24530. msgstr ""
  24531. #. type: lisp
  24532. #: guix-git/doc/guix.texi:16745
  24533. #, no-wrap
  24534. msgid "(service nftables-service-type)\n"
  24535. msgstr ""
  24536. #. type: deftp
  24537. #: guix-git/doc/guix.texi:16748
  24538. #, no-wrap
  24539. msgid "{Data Type} nftables-configuration"
  24540. msgstr ""
  24541. #. type: deftp
  24542. #: guix-git/doc/guix.texi:16750
  24543. msgid "The data type representing the configuration of nftables."
  24544. msgstr ""
  24545. #. type: item
  24546. #: guix-git/doc/guix.texi:16752
  24547. #, no-wrap
  24548. msgid "@code{package} (default: @code{nftables})"
  24549. msgstr ""
  24550. #. type: table
  24551. #: guix-git/doc/guix.texi:16754
  24552. msgid "The nftables package that provides @command{nft}."
  24553. msgstr ""
  24554. #. type: item
  24555. #: guix-git/doc/guix.texi:16754
  24556. #, no-wrap
  24557. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  24558. msgstr ""
  24559. #. type: table
  24560. #: guix-git/doc/guix.texi:16757
  24561. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  24562. msgstr ""
  24563. #. type: cindex
  24564. #: guix-git/doc/guix.texi:16760
  24565. #, no-wrap
  24566. msgid "NTP (Network Time Protocol), service"
  24567. msgstr ""
  24568. #. type: cindex
  24569. #: guix-git/doc/guix.texi:16761
  24570. #, no-wrap
  24571. msgid "ntpd, service for the Network Time Protocol daemon"
  24572. msgstr ""
  24573. #. type: cindex
  24574. #: guix-git/doc/guix.texi:16762
  24575. #, no-wrap
  24576. msgid "real time clock"
  24577. msgstr ""
  24578. #. type: defvr
  24579. #: guix-git/doc/guix.texi:16763
  24580. #, no-wrap
  24581. msgid "{Scheme Variable} ntp-service-type"
  24582. msgstr ""
  24583. #. type: defvr
  24584. #: guix-git/doc/guix.texi:16767
  24585. 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."
  24586. msgstr ""
  24587. #. type: defvr
  24588. #: guix-git/doc/guix.texi:16770
  24589. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  24590. msgstr ""
  24591. #. type: deftp
  24592. #: guix-git/doc/guix.texi:16772
  24593. #, no-wrap
  24594. msgid "{Data Type} ntp-configuration"
  24595. msgstr ""
  24596. #. type: deftp
  24597. #: guix-git/doc/guix.texi:16774
  24598. msgid "This is the data type for the NTP service configuration."
  24599. msgstr ""
  24600. #. type: item
  24601. #: guix-git/doc/guix.texi:16776
  24602. #, no-wrap
  24603. msgid "@code{servers} (default: @code{%ntp-servers})"
  24604. msgstr ""
  24605. #. type: table
  24606. #: guix-git/doc/guix.texi:16780
  24607. 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."
  24608. msgstr ""
  24609. #. type: item
  24610. #: guix-git/doc/guix.texi:16781
  24611. #, no-wrap
  24612. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  24613. msgstr ""
  24614. #. type: table
  24615. #: guix-git/doc/guix.texi:16784
  24616. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  24617. msgstr ""
  24618. #. type: item
  24619. #: guix-git/doc/guix.texi:16785
  24620. #, no-wrap
  24621. msgid "@code{ntp} (default: @code{ntp})"
  24622. msgstr ""
  24623. #. type: table
  24624. #: guix-git/doc/guix.texi:16787
  24625. msgid "The NTP package to use."
  24626. msgstr ""
  24627. #. type: defvr
  24628. #: guix-git/doc/guix.texi:16790
  24629. #, no-wrap
  24630. msgid "{Scheme Variable} %ntp-servers"
  24631. msgstr ""
  24632. #. type: defvr
  24633. #: guix-git/doc/guix.texi:16793
  24634. 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}."
  24635. msgstr ""
  24636. #. type: deftp
  24637. #: guix-git/doc/guix.texi:16795
  24638. #, no-wrap
  24639. msgid "{Data Type} ntp-server"
  24640. msgstr ""
  24641. #. type: deftp
  24642. #: guix-git/doc/guix.texi:16797
  24643. msgid "The data type representing the configuration of a NTP server."
  24644. msgstr ""
  24645. #. type: item
  24646. #: guix-git/doc/guix.texi:16799
  24647. #, no-wrap
  24648. msgid "@code{type} (default: @code{'server})"
  24649. msgstr ""
  24650. #. type: table
  24651. #: guix-git/doc/guix.texi:16802
  24652. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  24653. msgstr ""
  24654. #. type: code{#1}
  24655. #: guix-git/doc/guix.texi:16803
  24656. #, no-wrap
  24657. msgid "address"
  24658. msgstr ""
  24659. #. type: table
  24660. #: guix-git/doc/guix.texi:16805
  24661. msgid "The address of the server, as a string."
  24662. msgstr ""
  24663. #. type: code{#1}
  24664. #: guix-git/doc/guix.texi:16806 guix-git/doc/guix.texi:32667
  24665. #: guix-git/doc/guix.texi:32687
  24666. #, no-wrap
  24667. msgid "options"
  24668. msgstr ""
  24669. #. type: table
  24670. #: guix-git/doc/guix.texi:16811
  24671. 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."
  24672. msgstr ""
  24673. #. type: example
  24674. #: guix-git/doc/guix.texi:16817
  24675. #, no-wrap
  24676. msgid ""
  24677. "(ntp-server\n"
  24678. " (type 'server)\n"
  24679. " (address \"some.ntp.server.org\")\n"
  24680. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  24681. msgstr ""
  24682. #. type: cindex
  24683. #: guix-git/doc/guix.texi:16821
  24684. #, no-wrap
  24685. msgid "OpenNTPD"
  24686. msgstr ""
  24687. #. type: deffn
  24688. #: guix-git/doc/guix.texi:16822
  24689. #, no-wrap
  24690. msgid "{Scheme Procedure} openntpd-service-type"
  24691. msgstr ""
  24692. #. type: deffn
  24693. #: guix-git/doc/guix.texi:16826
  24694. 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."
  24695. msgstr ""
  24696. #. type: lisp
  24697. #: guix-git/doc/guix.texi:16835
  24698. #, no-wrap
  24699. msgid ""
  24700. "(service\n"
  24701. " openntpd-service-type\n"
  24702. " (openntpd-configuration\n"
  24703. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  24704. " (sensor '(\"udcf0 correction 70000\"))\n"
  24705. " (constraint-from '(\"www.gnu.org\"))\n"
  24706. " (constraints-from '(\"https://www.google.com/\"))))\n"
  24707. "\n"
  24708. msgstr ""
  24709. #. type: defvr
  24710. #: guix-git/doc/guix.texi:16839
  24711. #, no-wrap
  24712. msgid "{Scheme Variable} %openntpd-servers"
  24713. msgstr ""
  24714. #. type: defvr
  24715. #: guix-git/doc/guix.texi:16842
  24716. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  24717. msgstr ""
  24718. #. type: deftp
  24719. #: guix-git/doc/guix.texi:16844
  24720. #, no-wrap
  24721. msgid "{Data Type} openntpd-configuration"
  24722. msgstr ""
  24723. #. type: item
  24724. #: guix-git/doc/guix.texi:16846
  24725. #, no-wrap
  24726. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  24727. msgstr ""
  24728. #. type: table
  24729. #: guix-git/doc/guix.texi:16848
  24730. msgid "The openntpd executable to use."
  24731. msgstr ""
  24732. #. type: item
  24733. #: guix-git/doc/guix.texi:16848
  24734. #, no-wrap
  24735. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  24736. msgstr ""
  24737. #. type: table
  24738. #: guix-git/doc/guix.texi:16850
  24739. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  24740. msgstr ""
  24741. #. type: item
  24742. #: guix-git/doc/guix.texi:16850
  24743. #, no-wrap
  24744. msgid "@code{query-from} (default: @code{'()})"
  24745. msgstr ""
  24746. #. type: table
  24747. #: guix-git/doc/guix.texi:16852
  24748. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24749. msgstr ""
  24750. #. type: item
  24751. #: guix-git/doc/guix.texi:16852
  24752. #, no-wrap
  24753. msgid "@code{sensor} (default: @code{'()})"
  24754. msgstr ""
  24755. #. type: table
  24756. #: guix-git/doc/guix.texi:16857
  24757. 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."
  24758. msgstr ""
  24759. #. type: item
  24760. #: guix-git/doc/guix.texi:16857
  24761. #, no-wrap
  24762. msgid "@code{server} (default: @code{'()})"
  24763. msgstr ""
  24764. #. type: table
  24765. #: guix-git/doc/guix.texi:16859
  24766. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24767. msgstr ""
  24768. #. type: item
  24769. #: guix-git/doc/guix.texi:16859
  24770. #, no-wrap
  24771. msgid "@code{servers} (default: @code{%openntp-servers})"
  24772. msgstr ""
  24773. #. type: table
  24774. #: guix-git/doc/guix.texi:16861
  24775. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24776. msgstr ""
  24777. #. type: item
  24778. #: guix-git/doc/guix.texi:16861
  24779. #, no-wrap
  24780. msgid "@code{constraint-from} (default: @code{'()})"
  24781. msgstr ""
  24782. #. type: table
  24783. #: guix-git/doc/guix.texi:16868
  24784. 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."
  24785. msgstr ""
  24786. #. type: item
  24787. #: guix-git/doc/guix.texi:16868
  24788. #, no-wrap
  24789. msgid "@code{constraints-from} (default: @code{'()})"
  24790. msgstr ""
  24791. #. type: table
  24792. #: guix-git/doc/guix.texi:16872
  24793. 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."
  24794. msgstr ""
  24795. #. type: cindex
  24796. #: guix-git/doc/guix.texi:16875
  24797. #, no-wrap
  24798. msgid "inetd"
  24799. msgstr ""
  24800. #. type: deffn
  24801. #: guix-git/doc/guix.texi:16876
  24802. #, no-wrap
  24803. msgid "{Scheme variable} inetd-service-type"
  24804. msgstr ""
  24805. #. type: deffn
  24806. #: guix-git/doc/guix.texi:16881
  24807. 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."
  24808. msgstr ""
  24809. #. type: deffn
  24810. #: guix-git/doc/guix.texi:16887
  24811. 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}:"
  24812. msgstr ""
  24813. #. type: lisp
  24814. #: guix-git/doc/guix.texi:16910
  24815. #, no-wrap
  24816. msgid ""
  24817. "(service\n"
  24818. " inetd-service-type\n"
  24819. " (inetd-configuration\n"
  24820. " (entries (list\n"
  24821. " (inetd-entry\n"
  24822. " (name \"echo\")\n"
  24823. " (socket-type 'stream)\n"
  24824. " (protocol \"tcp\")\n"
  24825. " (wait? #f)\n"
  24826. " (user \"root\"))\n"
  24827. " (inetd-entry\n"
  24828. " (node \"127.0.0.1\")\n"
  24829. " (name \"smtp\")\n"
  24830. " (socket-type 'stream)\n"
  24831. " (protocol \"tcp\")\n"
  24832. " (wait? #f)\n"
  24833. " (user \"root\")\n"
  24834. " (program (file-append openssh \"/bin/ssh\"))\n"
  24835. " (arguments\n"
  24836. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24837. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24838. msgstr ""
  24839. #. type: deffn
  24840. #: guix-git/doc/guix.texi:16913
  24841. msgid "See below for more details about @code{inetd-configuration}."
  24842. msgstr ""
  24843. #. type: deftp
  24844. #: guix-git/doc/guix.texi:16915
  24845. #, no-wrap
  24846. msgid "{Data Type} inetd-configuration"
  24847. msgstr ""
  24848. #. type: deftp
  24849. #: guix-git/doc/guix.texi:16917
  24850. msgid "Data type representing the configuration of @command{inetd}."
  24851. msgstr ""
  24852. #. type: item
  24853. #: guix-git/doc/guix.texi:16919
  24854. #, no-wrap
  24855. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24856. msgstr ""
  24857. #. type: table
  24858. #: guix-git/doc/guix.texi:16921
  24859. msgid "The @command{inetd} executable to use."
  24860. msgstr ""
  24861. #. type: item
  24862. #: guix-git/doc/guix.texi:16922 guix-git/doc/guix.texi:26598
  24863. #, no-wrap
  24864. msgid "@code{entries} (default: @code{'()})"
  24865. msgstr ""
  24866. #. type: table
  24867. #: guix-git/doc/guix.texi:16925
  24868. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24869. msgstr ""
  24870. #. type: deftp
  24871. #: guix-git/doc/guix.texi:16928
  24872. #, no-wrap
  24873. msgid "{Data Type} inetd-entry"
  24874. msgstr ""
  24875. #. type: deftp
  24876. #: guix-git/doc/guix.texi:16932
  24877. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24878. msgstr ""
  24879. #. type: item
  24880. #: guix-git/doc/guix.texi:16934
  24881. #, no-wrap
  24882. msgid "@code{node} (default: @code{#f})"
  24883. msgstr ""
  24884. #. type: table
  24885. #: guix-git/doc/guix.texi:16939
  24886. 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."
  24887. msgstr ""
  24888. #. type: table
  24889. #: guix-git/doc/guix.texi:16941
  24890. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24891. msgstr ""
  24892. #. type: code{#1}
  24893. #: guix-git/doc/guix.texi:16941
  24894. #, no-wrap
  24895. msgid "socket-type"
  24896. msgstr ""
  24897. #. type: table
  24898. #: guix-git/doc/guix.texi:16944
  24899. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24900. msgstr ""
  24901. #. type: code{#1}
  24902. #: guix-git/doc/guix.texi:16944
  24903. #, no-wrap
  24904. msgid "protocol"
  24905. msgstr ""
  24906. #. type: table
  24907. #: guix-git/doc/guix.texi:16946
  24908. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24909. msgstr ""
  24910. #. type: item
  24911. #: guix-git/doc/guix.texi:16946
  24912. #, no-wrap
  24913. msgid "@code{wait?} (default: @code{#t})"
  24914. msgstr ""
  24915. #. type: table
  24916. #: guix-git/doc/guix.texi:16949
  24917. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24918. msgstr ""
  24919. #. type: table
  24920. #: guix-git/doc/guix.texi:16954
  24921. 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\"}."
  24922. msgstr ""
  24923. #. type: item
  24924. #: guix-git/doc/guix.texi:16954
  24925. #, no-wrap
  24926. msgid "@code{program} (default: @code{\"internal\"})"
  24927. msgstr ""
  24928. #. type: table
  24929. #: guix-git/doc/guix.texi:16957
  24930. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24931. msgstr ""
  24932. #. type: table
  24933. #: guix-git/doc/guix.texi:16962
  24934. 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\")}."
  24935. msgstr ""
  24936. #. type: deftp
  24937. #: guix-git/doc/guix.texi:16966
  24938. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24939. msgstr ""
  24940. #. type: cindex
  24941. #: guix-git/doc/guix.texi:16968
  24942. #, no-wrap
  24943. msgid "opendht, distributed hash table network service"
  24944. msgstr ""
  24945. #. type: cindex
  24946. #: guix-git/doc/guix.texi:16969
  24947. #, no-wrap
  24948. msgid "dhtproxy, for use with jami"
  24949. msgstr ""
  24950. #. type: defvr
  24951. #: guix-git/doc/guix.texi:16970
  24952. #, no-wrap
  24953. msgid "{Scheme Variable} opendht-service-type"
  24954. msgstr ""
  24955. #. type: defvr
  24956. #: guix-git/doc/guix.texi:16975
  24957. 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."
  24958. msgstr ""
  24959. #. type: quotation
  24960. #: guix-git/doc/guix.texi:16985
  24961. 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."
  24962. msgstr ""
  24963. #. type: defvr
  24964. #: guix-git/doc/guix.texi:16989
  24965. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  24966. msgstr ""
  24967. #. type: deftp
  24968. #: guix-git/doc/guix.texi:16991
  24969. #, no-wrap
  24970. msgid "{Data Type} opendht-configuration"
  24971. msgstr ""
  24972. #. type: deftp
  24973. #: guix-git/doc/guix.texi:16993
  24974. msgid "This is the data type for the OpenDHT service configuration."
  24975. msgstr ""
  24976. #. type: deftp
  24977. #: guix-git/doc/guix.texi:16998
  24978. msgid "Available @code{opendht-configuration} fields are:"
  24979. msgstr ""
  24980. #. type: deftypevr
  24981. #: guix-git/doc/guix.texi:16999
  24982. #, no-wrap
  24983. msgid "{@code{opendht-configuration} parameter} package opendht"
  24984. msgstr ""
  24985. #. type: deftypevr
  24986. #: guix-git/doc/guix.texi:17001
  24987. msgid "The @code{opendht} package to use."
  24988. msgstr ""
  24989. #. type: deftypevr
  24990. #: guix-git/doc/guix.texi:17004
  24991. #, no-wrap
  24992. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  24993. msgstr ""
  24994. #. type: deftypevr
  24995. #: guix-git/doc/guix.texi:17006
  24996. msgid "Whether to enable the multicast local peer discovery mechanism."
  24997. msgstr ""
  24998. #. type: deftypevr
  24999. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:17016
  25000. #: guix-git/doc/guix.texi:17024 guix-git/doc/guix.texi:18668
  25001. #: guix-git/doc/guix.texi:18738 guix-git/doc/guix.texi:18780
  25002. #: guix-git/doc/guix.texi:18800 guix-git/doc/guix.texi:18806
  25003. #: guix-git/doc/guix.texi:18822 guix-git/doc/guix.texi:18910
  25004. #: guix-git/doc/guix.texi:18998 guix-git/doc/guix.texi:19311
  25005. #: guix-git/doc/guix.texi:19324 guix-git/doc/guix.texi:20441
  25006. #: guix-git/doc/guix.texi:21919 guix-git/doc/guix.texi:22025
  25007. #: guix-git/doc/guix.texi:22090 guix-git/doc/guix.texi:22099
  25008. #: guix-git/doc/guix.texi:23332 guix-git/doc/guix.texi:23376
  25009. #: guix-git/doc/guix.texi:23393 guix-git/doc/guix.texi:23401
  25010. #: guix-git/doc/guix.texi:23416 guix-git/doc/guix.texi:23434
  25011. #: guix-git/doc/guix.texi:23458 guix-git/doc/guix.texi:23511
  25012. #: guix-git/doc/guix.texi:23644 guix-git/doc/guix.texi:23678
  25013. #: guix-git/doc/guix.texi:23714 guix-git/doc/guix.texi:23730
  25014. #: guix-git/doc/guix.texi:23758 guix-git/doc/guix.texi:23819
  25015. #: guix-git/doc/guix.texi:23902 guix-git/doc/guix.texi:27310
  25016. #: guix-git/doc/guix.texi:27324 guix-git/doc/guix.texi:27346
  25017. #: guix-git/doc/guix.texi:27465 guix-git/doc/guix.texi:27479
  25018. #: guix-git/doc/guix.texi:27500 guix-git/doc/guix.texi:27521
  25019. #: guix-git/doc/guix.texi:27528 guix-git/doc/guix.texi:27573
  25020. #: guix-git/doc/guix.texi:27580 guix-git/doc/guix.texi:28366
  25021. #: guix-git/doc/guix.texi:28380 guix-git/doc/guix.texi:28552
  25022. #: guix-git/doc/guix.texi:28597 guix-git/doc/guix.texi:28684
  25023. #: guix-git/doc/guix.texi:28886 guix-git/doc/guix.texi:28919
  25024. #: guix-git/doc/guix.texi:29059 guix-git/doc/guix.texi:29070
  25025. #: guix-git/doc/guix.texi:29321 guix-git/doc/guix.texi:30787
  25026. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:30804
  25027. #: guix-git/doc/guix.texi:30812 guix-git/doc/guix.texi:30828
  25028. #: guix-git/doc/guix.texi:30844 guix-git/doc/guix.texi:30852
  25029. #: guix-git/doc/guix.texi:30860 guix-git/doc/guix.texi:30869
  25030. #: guix-git/doc/guix.texi:30878 guix-git/doc/guix.texi:30894
  25031. #: guix-git/doc/guix.texi:30958 guix-git/doc/guix.texi:31064
  25032. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31080
  25033. #: guix-git/doc/guix.texi:31105 guix-git/doc/guix.texi:31159
  25034. #: guix-git/doc/guix.texi:31207 guix-git/doc/guix.texi:31408
  25035. #: guix-git/doc/guix.texi:31415
  25036. msgid "Defaults to @samp{#f}."
  25037. msgstr ""
  25038. #. type: deftypevr
  25039. #: guix-git/doc/guix.texi:17011
  25040. #, no-wrap
  25041. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  25042. msgstr ""
  25043. #. type: deftypevr
  25044. #: guix-git/doc/guix.texi:17014
  25045. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  25046. msgstr ""
  25047. #. type: deftypevr
  25048. #: guix-git/doc/guix.texi:17019
  25049. #, no-wrap
  25050. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  25051. msgstr ""
  25052. #. type: deftypevr
  25053. #: guix-git/doc/guix.texi:17022
  25054. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  25055. msgstr ""
  25056. #. type: deftypevr
  25057. #: guix-git/doc/guix.texi:17027
  25058. #, no-wrap
  25059. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  25060. msgstr ""
  25061. #. type: deftypevr
  25062. #: guix-git/doc/guix.texi:17033
  25063. 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."
  25064. msgstr ""
  25065. #. type: deftypevr
  25066. #: guix-git/doc/guix.texi:17035
  25067. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  25068. msgstr ""
  25069. #. type: deftypevr
  25070. #: guix-git/doc/guix.texi:17038
  25071. #, no-wrap
  25072. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  25073. msgstr ""
  25074. #. type: deftypevr
  25075. #: guix-git/doc/guix.texi:17041
  25076. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  25077. msgstr ""
  25078. #. type: deftypevr
  25079. #: guix-git/doc/guix.texi:17043
  25080. msgid "Defaults to @samp{4222}."
  25081. msgstr ""
  25082. #. type: deftypevr
  25083. #: guix-git/doc/guix.texi:17046
  25084. #, no-wrap
  25085. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  25086. msgstr ""
  25087. #. type: deftypevr
  25088. #: guix-git/doc/guix.texi:17048
  25089. msgid "Spawn a proxy server listening on the specified port."
  25090. msgstr ""
  25091. #. type: deftypevr
  25092. #: guix-git/doc/guix.texi:17050 guix-git/doc/guix.texi:17057
  25093. #: guix-git/doc/guix.texi:23340 guix-git/doc/guix.texi:23384
  25094. #: guix-git/doc/guix.texi:23597 guix-git/doc/guix.texi:23653
  25095. #: guix-git/doc/guix.texi:23827 guix-git/doc/guix.texi:23838
  25096. #: guix-git/doc/guix.texi:23911 guix-git/doc/guix.texi:24636
  25097. #: guix-git/doc/guix.texi:24679 guix-git/doc/guix.texi:24687
  25098. #: guix-git/doc/guix.texi:24695 guix-git/doc/guix.texi:24703
  25099. #: guix-git/doc/guix.texi:24712 guix-git/doc/guix.texi:24720
  25100. #: guix-git/doc/guix.texi:24727 guix-git/doc/guix.texi:24735
  25101. #: guix-git/doc/guix.texi:24743 guix-git/doc/guix.texi:24753
  25102. #: guix-git/doc/guix.texi:24760 guix-git/doc/guix.texi:24784
  25103. #: guix-git/doc/guix.texi:24792 guix-git/doc/guix.texi:24818
  25104. #: guix-git/doc/guix.texi:24827 guix-git/doc/guix.texi:24836
  25105. #: guix-git/doc/guix.texi:24845 guix-git/doc/guix.texi:24854
  25106. #: guix-git/doc/guix.texi:24863 guix-git/doc/guix.texi:24871
  25107. #: guix-git/doc/guix.texi:24879 guix-git/doc/guix.texi:24886
  25108. #: guix-git/doc/guix.texi:24894 guix-git/doc/guix.texi:24901
  25109. #: guix-git/doc/guix.texi:24909 guix-git/doc/guix.texi:24917
  25110. #: guix-git/doc/guix.texi:24926 guix-git/doc/guix.texi:24935
  25111. #: guix-git/doc/guix.texi:24943 guix-git/doc/guix.texi:24951
  25112. #: guix-git/doc/guix.texi:24959 guix-git/doc/guix.texi:24970
  25113. #: guix-git/doc/guix.texi:24980 guix-git/doc/guix.texi:24991
  25114. #: guix-git/doc/guix.texi:25000 guix-git/doc/guix.texi:25010
  25115. #: guix-git/doc/guix.texi:25018 guix-git/doc/guix.texi:25029
  25116. #: guix-git/doc/guix.texi:25038 guix-git/doc/guix.texi:25048
  25117. #: guix-git/doc/guix.texi:28279 guix-git/doc/guix.texi:28286
  25118. #: guix-git/doc/guix.texi:28293 guix-git/doc/guix.texi:28300
  25119. #: guix-git/doc/guix.texi:28307 guix-git/doc/guix.texi:28314
  25120. #: guix-git/doc/guix.texi:28322 guix-git/doc/guix.texi:28330
  25121. #: guix-git/doc/guix.texi:28337 guix-git/doc/guix.texi:28344
  25122. #: guix-git/doc/guix.texi:28351 guix-git/doc/guix.texi:28358
  25123. #: guix-git/doc/guix.texi:28388 guix-git/doc/guix.texi:28426
  25124. #: guix-git/doc/guix.texi:28433 guix-git/doc/guix.texi:28442
  25125. #: guix-git/doc/guix.texi:28464 guix-git/doc/guix.texi:28472
  25126. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28634
  25127. #: guix-git/doc/guix.texi:28654 guix-git/doc/guix.texi:28669
  25128. #: guix-git/doc/guix.texi:28676 guix-git/doc/guix.texi:31360
  25129. #: guix-git/doc/guix.texi:31368 guix-git/doc/guix.texi:31376
  25130. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31392
  25131. #: guix-git/doc/guix.texi:31400
  25132. msgid "Defaults to @samp{disabled}."
  25133. msgstr ""
  25134. #. type: deftypevr
  25135. #: guix-git/doc/guix.texi:17053
  25136. #, no-wrap
  25137. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  25138. msgstr ""
  25139. #. type: deftypevr
  25140. #: guix-git/doc/guix.texi:17055
  25141. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  25142. msgstr ""
  25143. #. type: cindex
  25144. #: guix-git/doc/guix.texi:17061
  25145. #, no-wrap
  25146. msgid "Tor"
  25147. msgstr ""
  25148. #. type: defvr
  25149. #: guix-git/doc/guix.texi:17062
  25150. #, no-wrap
  25151. msgid "{Scheme Variable} tor-service-type"
  25152. msgstr ""
  25153. #. type: defvr
  25154. #: guix-git/doc/guix.texi:17067
  25155. 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."
  25156. msgstr ""
  25157. #. type: deftp
  25158. #: guix-git/doc/guix.texi:17070
  25159. #, no-wrap
  25160. msgid "{Data Type} tor-configuration"
  25161. msgstr ""
  25162. #. type: item
  25163. #: guix-git/doc/guix.texi:17072
  25164. #, no-wrap
  25165. msgid "@code{tor} (default: @code{tor})"
  25166. msgstr ""
  25167. #. type: table
  25168. #: guix-git/doc/guix.texi:17077
  25169. 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."
  25170. msgstr ""
  25171. #. type: item
  25172. #: guix-git/doc/guix.texi:17078
  25173. #, no-wrap
  25174. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  25175. msgstr ""
  25176. #. type: table
  25177. #: guix-git/doc/guix.texi:17084
  25178. 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."
  25179. msgstr ""
  25180. #. type: item
  25181. #: guix-git/doc/guix.texi:17085
  25182. #, no-wrap
  25183. msgid "@code{hidden-services} (default: @code{'()})"
  25184. msgstr ""
  25185. #. type: table
  25186. #: guix-git/doc/guix.texi:17091
  25187. 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."
  25188. msgstr ""
  25189. #. type: item
  25190. #: guix-git/doc/guix.texi:17092
  25191. #, no-wrap
  25192. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  25193. msgstr ""
  25194. #. type: table
  25195. #: guix-git/doc/guix.texi:17099
  25196. 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."
  25197. msgstr ""
  25198. #. type: table
  25199. #: guix-git/doc/guix.texi:17104
  25200. 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."
  25201. msgstr ""
  25202. #. type: item
  25203. #: guix-git/doc/guix.texi:17105
  25204. #, no-wrap
  25205. msgid "@code{control-socket?} (default: @code{#f})"
  25206. msgstr ""
  25207. #. type: table
  25208. #: guix-git/doc/guix.texi:17111
  25209. 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."
  25210. msgstr ""
  25211. #. type: cindex
  25212. #: guix-git/doc/guix.texi:17115
  25213. #, no-wrap
  25214. msgid "hidden service"
  25215. msgstr ""
  25216. #. type: deffn
  25217. #: guix-git/doc/guix.texi:17116
  25218. #, no-wrap
  25219. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  25220. msgstr ""
  25221. #. type: deffn
  25222. #: guix-git/doc/guix.texi:17119
  25223. 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:"
  25224. msgstr ""
  25225. #. type: example
  25226. #: guix-git/doc/guix.texi:17123
  25227. #, no-wrap
  25228. msgid ""
  25229. " '((22 \"127.0.0.1:22\")\n"
  25230. " (80 \"127.0.0.1:8080\"))\n"
  25231. msgstr ""
  25232. #. type: deffn
  25233. #: guix-git/doc/guix.texi:17127
  25234. 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."
  25235. msgstr ""
  25236. #. type: deffn
  25237. #: guix-git/doc/guix.texi:17131
  25238. 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."
  25239. msgstr ""
  25240. #. type: deffn
  25241. #: guix-git/doc/guix.texi:17134
  25242. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  25243. msgstr ""
  25244. #. type: Plain text
  25245. #: guix-git/doc/guix.texi:17137
  25246. msgid "The @code{(gnu services rsync)} module provides the following services:"
  25247. msgstr ""
  25248. #. type: Plain text
  25249. #: guix-git/doc/guix.texi:17141
  25250. 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."
  25251. msgstr ""
  25252. #. type: deffn
  25253. #: guix-git/doc/guix.texi:17142
  25254. #, no-wrap
  25255. msgid "{Scheme Variable} rsync-service-type"
  25256. msgstr ""
  25257. #. type: deffn
  25258. #: guix-git/doc/guix.texi:17146
  25259. 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:"
  25260. msgstr ""
  25261. #. type: lisp
  25262. #: guix-git/doc/guix.texi:17149
  25263. #, no-wrap
  25264. msgid "(service rsync-service-type)\n"
  25265. msgstr ""
  25266. #. type: deffn
  25267. #: guix-git/doc/guix.texi:17152
  25268. msgid "See below for details about @code{rsync-configuration}."
  25269. msgstr ""
  25270. #. type: deftp
  25271. #: guix-git/doc/guix.texi:17154
  25272. #, no-wrap
  25273. msgid "{Data Type} rsync-configuration"
  25274. msgstr ""
  25275. #. type: deftp
  25276. #: guix-git/doc/guix.texi:17156
  25277. msgid "Data type representing the configuration for @code{rsync-service}."
  25278. msgstr ""
  25279. #. type: item
  25280. #: guix-git/doc/guix.texi:17158
  25281. #, no-wrap
  25282. msgid "@code{package} (default: @var{rsync})"
  25283. msgstr ""
  25284. #. type: table
  25285. #: guix-git/doc/guix.texi:17160
  25286. msgid "@code{rsync} package to use."
  25287. msgstr ""
  25288. #. type: item
  25289. #: guix-git/doc/guix.texi:17161
  25290. #, no-wrap
  25291. msgid "@code{port-number} (default: @code{873})"
  25292. msgstr ""
  25293. #. type: table
  25294. #: guix-git/doc/guix.texi:17165
  25295. 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."
  25296. msgstr ""
  25297. #. type: item
  25298. #: guix-git/doc/guix.texi:17166
  25299. #, no-wrap
  25300. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  25301. msgstr ""
  25302. #. type: table
  25303. #: guix-git/doc/guix.texi:17168
  25304. msgid "Name of the file where @command{rsync} writes its PID."
  25305. msgstr ""
  25306. #. type: item
  25307. #: guix-git/doc/guix.texi:17169
  25308. #, no-wrap
  25309. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  25310. msgstr ""
  25311. #. type: table
  25312. #: guix-git/doc/guix.texi:17171
  25313. msgid "Name of the file where @command{rsync} writes its lock file."
  25314. msgstr ""
  25315. #. type: item
  25316. #: guix-git/doc/guix.texi:17172
  25317. #, no-wrap
  25318. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  25319. msgstr ""
  25320. #. type: table
  25321. #: guix-git/doc/guix.texi:17174
  25322. msgid "Name of the file where @command{rsync} writes its log file."
  25323. msgstr ""
  25324. #. type: item
  25325. #: guix-git/doc/guix.texi:17175
  25326. #, no-wrap
  25327. msgid "@code{use-chroot?} (default: @var{#t})"
  25328. msgstr ""
  25329. #. type: table
  25330. #: guix-git/doc/guix.texi:17177
  25331. msgid "Whether to use chroot for @command{rsync} shared directory."
  25332. msgstr ""
  25333. #. type: item
  25334. #: guix-git/doc/guix.texi:17178
  25335. #, no-wrap
  25336. msgid "@code{share-path} (default: @file{/srv/rsync})"
  25337. msgstr ""
  25338. #. type: table
  25339. #: guix-git/doc/guix.texi:17180
  25340. msgid "Location of the @command{rsync} shared directory."
  25341. msgstr ""
  25342. #. type: item
  25343. #: guix-git/doc/guix.texi:17181
  25344. #, no-wrap
  25345. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  25346. msgstr ""
  25347. #. type: table
  25348. #: guix-git/doc/guix.texi:17183
  25349. msgid "Comment of the @command{rsync} shared directory."
  25350. msgstr ""
  25351. #. type: item
  25352. #: guix-git/doc/guix.texi:17184
  25353. #, no-wrap
  25354. msgid "@code{read-only?} (default: @var{#f})"
  25355. msgstr ""
  25356. #. type: table
  25357. #: guix-git/doc/guix.texi:17186
  25358. msgid "Read-write permissions to shared directory."
  25359. msgstr ""
  25360. #. type: item
  25361. #: guix-git/doc/guix.texi:17187
  25362. #, no-wrap
  25363. msgid "@code{timeout} (default: @code{300})"
  25364. msgstr ""
  25365. #. type: table
  25366. #: guix-git/doc/guix.texi:17189
  25367. msgid "I/O timeout in seconds."
  25368. msgstr ""
  25369. #. type: item
  25370. #: guix-git/doc/guix.texi:17190
  25371. #, no-wrap
  25372. msgid "@code{user} (default: @var{\"root\"})"
  25373. msgstr ""
  25374. #. type: table
  25375. #: guix-git/doc/guix.texi:17192
  25376. msgid "Owner of the @code{rsync} process."
  25377. msgstr ""
  25378. #. type: item
  25379. #: guix-git/doc/guix.texi:17193
  25380. #, no-wrap
  25381. msgid "@code{group} (default: @var{\"root\"})"
  25382. msgstr ""
  25383. #. type: table
  25384. #: guix-git/doc/guix.texi:17195
  25385. msgid "Group of the @code{rsync} process."
  25386. msgstr ""
  25387. #. type: item
  25388. #: guix-git/doc/guix.texi:17196
  25389. #, no-wrap
  25390. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  25391. msgstr ""
  25392. #. type: table
  25393. #: guix-git/doc/guix.texi:17199
  25394. 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}."
  25395. msgstr ""
  25396. #. type: item
  25397. #: guix-git/doc/guix.texi:17200
  25398. #, no-wrap
  25399. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  25400. msgstr ""
  25401. #. type: table
  25402. #: guix-git/doc/guix.texi:17202 guix-git/doc/guix.texi:17645
  25403. msgid "Group name or group ID that will be used when accessing the module."
  25404. msgstr ""
  25405. #. type: Plain text
  25406. #: guix-git/doc/guix.texi:17207
  25407. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  25408. msgstr ""
  25409. #. type: cindex
  25410. #: guix-git/doc/guix.texi:17207
  25411. #, no-wrap
  25412. msgid "syncthing"
  25413. msgstr ""
  25414. #. type: Plain text
  25415. #: guix-git/doc/guix.texi:17212
  25416. 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."
  25417. msgstr ""
  25418. #. type: deffn
  25419. #: guix-git/doc/guix.texi:17213
  25420. #, no-wrap
  25421. msgid "{Scheme Variable} syncthing-service-type"
  25422. msgstr ""
  25423. #. type: deffn
  25424. #: guix-git/doc/guix.texi:17217
  25425. 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:"
  25426. msgstr ""
  25427. #. type: lisp
  25428. #: guix-git/doc/guix.texi:17221
  25429. #, no-wrap
  25430. msgid ""
  25431. "(service syncthing-service-type\n"
  25432. " (syncthing-configuration (user \"alice\")))\n"
  25433. msgstr ""
  25434. #. type: deffn
  25435. #: guix-git/doc/guix.texi:17224
  25436. msgid "See below for details about @code{syncthing-configuration}."
  25437. msgstr ""
  25438. #. type: deftp
  25439. #: guix-git/doc/guix.texi:17225
  25440. #, no-wrap
  25441. msgid "{Data Type} syncthing-configuration"
  25442. msgstr ""
  25443. #. type: deftp
  25444. #: guix-git/doc/guix.texi:17227
  25445. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  25446. msgstr ""
  25447. #. type: item
  25448. #: guix-git/doc/guix.texi:17229
  25449. #, no-wrap
  25450. msgid "@code{syncthing} (default: @var{syncthing})"
  25451. msgstr ""
  25452. #. type: table
  25453. #: guix-git/doc/guix.texi:17231
  25454. msgid "@code{syncthing} package to use."
  25455. msgstr ""
  25456. #. type: item
  25457. #: guix-git/doc/guix.texi:17232
  25458. #, no-wrap
  25459. msgid "@code{arguments} (default: @var{'()})"
  25460. msgstr ""
  25461. #. type: table
  25462. #: guix-git/doc/guix.texi:17234
  25463. msgid "List of command-line arguments passing to @code{syncthing} binary."
  25464. msgstr ""
  25465. #. type: item
  25466. #: guix-git/doc/guix.texi:17235
  25467. #, no-wrap
  25468. msgid "@code{logflags} (default: @var{0})"
  25469. msgstr ""
  25470. #. type: table
  25471. #: guix-git/doc/guix.texi:17238
  25472. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  25473. msgstr ""
  25474. #. type: item
  25475. #: guix-git/doc/guix.texi:17239
  25476. #, no-wrap
  25477. msgid "@code{user} (default: @var{#f})"
  25478. msgstr ""
  25479. #. type: table
  25480. #: guix-git/doc/guix.texi:17242
  25481. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  25482. msgstr ""
  25483. #. type: item
  25484. #: guix-git/doc/guix.texi:17243
  25485. #, no-wrap
  25486. msgid "@code{group} (default: @var{\"users\"})"
  25487. msgstr ""
  25488. #. type: table
  25489. #: guix-git/doc/guix.texi:17246
  25490. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  25491. msgstr ""
  25492. #. type: item
  25493. #: guix-git/doc/guix.texi:17247
  25494. #, no-wrap
  25495. msgid "@code{home} (default: @var{#f})"
  25496. msgstr ""
  25497. #. type: table
  25498. #: guix-git/doc/guix.texi:17250
  25499. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  25500. msgstr ""
  25501. #. type: Plain text
  25502. #: guix-git/doc/guix.texi:17256
  25503. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  25504. msgstr ""
  25505. #. type: cindex
  25506. #: guix-git/doc/guix.texi:17256 guix-git/doc/guix.texi:17295
  25507. #: guix-git/doc/guix.texi:34581
  25508. #, no-wrap
  25509. msgid "SSH"
  25510. msgstr ""
  25511. #. type: cindex
  25512. #: guix-git/doc/guix.texi:17257 guix-git/doc/guix.texi:17296
  25513. #: guix-git/doc/guix.texi:34582
  25514. #, no-wrap
  25515. msgid "SSH server"
  25516. msgstr ""
  25517. #. type: deffn
  25518. #: guix-git/doc/guix.texi:17259
  25519. #, no-wrap
  25520. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  25521. msgstr ""
  25522. #. type: deffn
  25523. #: guix-git/doc/guix.texi:17268
  25524. 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."
  25525. msgstr ""
  25526. #. type: deffn
  25527. #: guix-git/doc/guix.texi:17274
  25528. 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}."
  25529. msgstr ""
  25530. #. type: deffn
  25531. #: guix-git/doc/guix.texi:17278
  25532. 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."
  25533. msgstr ""
  25534. #. type: deffn
  25535. #: guix-git/doc/guix.texi:17283
  25536. 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})."
  25537. msgstr ""
  25538. #. type: deffn
  25539. #: guix-git/doc/guix.texi:17287
  25540. 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."
  25541. msgstr ""
  25542. #. type: deffn
  25543. #: guix-git/doc/guix.texi:17291
  25544. 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."
  25545. msgstr ""
  25546. #. type: deffn
  25547. #: guix-git/doc/guix.texi:17293
  25548. msgid "The other options should be self-descriptive."
  25549. msgstr ""
  25550. #. type: deffn
  25551. #: guix-git/doc/guix.texi:17297
  25552. #, no-wrap
  25553. msgid "{Scheme Variable} openssh-service-type"
  25554. msgstr ""
  25555. #. type: deffn
  25556. #: guix-git/doc/guix.texi:17301
  25557. 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:"
  25558. msgstr ""
  25559. #. type: lisp
  25560. #: guix-git/doc/guix.texi:17310
  25561. #, no-wrap
  25562. msgid ""
  25563. "(service openssh-service-type\n"
  25564. " (openssh-configuration\n"
  25565. " (x11-forwarding? #t)\n"
  25566. " (permit-root-login 'prohibit-password)\n"
  25567. " (authorized-keys\n"
  25568. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  25569. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  25570. msgstr ""
  25571. #. type: deffn
  25572. #: guix-git/doc/guix.texi:17313
  25573. msgid "See below for details about @code{openssh-configuration}."
  25574. msgstr ""
  25575. #. type: deffn
  25576. #: guix-git/doc/guix.texi:17316
  25577. msgid "This service can be extended with extra authorized keys, as in this example:"
  25578. msgstr ""
  25579. #. type: lisp
  25580. #: guix-git/doc/guix.texi:17321
  25581. #, no-wrap
  25582. msgid ""
  25583. "(service-extension openssh-service-type\n"
  25584. " (const `((\"charlie\"\n"
  25585. " ,(local-file \"charlie.pub\")))))\n"
  25586. msgstr ""
  25587. #. type: deftp
  25588. #: guix-git/doc/guix.texi:17324
  25589. #, no-wrap
  25590. msgid "{Data Type} openssh-configuration"
  25591. msgstr ""
  25592. #. type: deftp
  25593. #: guix-git/doc/guix.texi:17326
  25594. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  25595. msgstr ""
  25596. #. type: item
  25597. #: guix-git/doc/guix.texi:17328
  25598. #, no-wrap
  25599. msgid "@code{openssh} (default @var{openssh})"
  25600. msgstr ""
  25601. #. type: table
  25602. #: guix-git/doc/guix.texi:17330
  25603. msgid "The Openssh package to use."
  25604. msgstr ""
  25605. #. type: item
  25606. #: guix-git/doc/guix.texi:17331
  25607. #, no-wrap
  25608. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  25609. msgstr ""
  25610. #. type: table
  25611. #: guix-git/doc/guix.texi:17333
  25612. msgid "Name of the file where @command{sshd} writes its PID."
  25613. msgstr ""
  25614. #. type: item
  25615. #: guix-git/doc/guix.texi:17334
  25616. #, no-wrap
  25617. msgid "@code{port-number} (default: @code{22})"
  25618. msgstr ""
  25619. #. type: table
  25620. #: guix-git/doc/guix.texi:17336
  25621. msgid "TCP port on which @command{sshd} listens for incoming connections."
  25622. msgstr ""
  25623. #. type: item
  25624. #: guix-git/doc/guix.texi:17337
  25625. #, no-wrap
  25626. msgid "@code{permit-root-login} (default: @code{#f})"
  25627. msgstr ""
  25628. #. type: table
  25629. #: guix-git/doc/guix.texi:17342
  25630. 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."
  25631. msgstr ""
  25632. #. type: item
  25633. #: guix-git/doc/guix.texi:17343 guix-git/doc/guix.texi:17504
  25634. #, no-wrap
  25635. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  25636. msgstr ""
  25637. #. type: table
  25638. #: guix-git/doc/guix.texi:17346
  25639. msgid "When true, users with empty passwords may log in. When false, they may not."
  25640. msgstr ""
  25641. #. type: item
  25642. #: guix-git/doc/guix.texi:17347 guix-git/doc/guix.texi:17507
  25643. #, no-wrap
  25644. msgid "@code{password-authentication?} (default: @code{#t})"
  25645. msgstr ""
  25646. #. type: table
  25647. #: guix-git/doc/guix.texi:17350
  25648. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  25649. msgstr ""
  25650. #. type: item
  25651. #: guix-git/doc/guix.texi:17351
  25652. #, no-wrap
  25653. msgid "@code{public-key-authentication?} (default: @code{#t})"
  25654. msgstr ""
  25655. #. type: table
  25656. #: guix-git/doc/guix.texi:17354
  25657. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  25658. msgstr ""
  25659. #. type: table
  25660. #: guix-git/doc/guix.texi:17357
  25661. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  25662. msgstr ""
  25663. #. type: item
  25664. #: guix-git/doc/guix.texi:17358
  25665. #, no-wrap
  25666. msgid "@code{x11-forwarding?} (default: @code{#f})"
  25667. msgstr ""
  25668. #. type: table
  25669. #: guix-git/doc/guix.texi:17362
  25670. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  25671. msgstr ""
  25672. #. type: item
  25673. #: guix-git/doc/guix.texi:17363
  25674. #, no-wrap
  25675. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  25676. msgstr ""
  25677. #. type: table
  25678. #: guix-git/doc/guix.texi:17365
  25679. msgid "Whether to allow agent forwarding."
  25680. msgstr ""
  25681. #. type: item
  25682. #: guix-git/doc/guix.texi:17366
  25683. #, no-wrap
  25684. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  25685. msgstr ""
  25686. #. type: table
  25687. #: guix-git/doc/guix.texi:17368
  25688. msgid "Whether to allow TCP forwarding."
  25689. msgstr ""
  25690. #. type: item
  25691. #: guix-git/doc/guix.texi:17369
  25692. #, no-wrap
  25693. msgid "@code{gateway-ports?} (default: @code{#f})"
  25694. msgstr ""
  25695. #. type: table
  25696. #: guix-git/doc/guix.texi:17371
  25697. msgid "Whether to allow gateway ports."
  25698. msgstr ""
  25699. #. type: item
  25700. #: guix-git/doc/guix.texi:17372
  25701. #, no-wrap
  25702. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  25703. msgstr ""
  25704. #. type: table
  25705. #: guix-git/doc/guix.texi:17375
  25706. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  25707. msgstr ""
  25708. #. type: item
  25709. #: guix-git/doc/guix.texi:17376
  25710. #, no-wrap
  25711. msgid "@code{use-pam?} (default: @code{#t})"
  25712. msgstr ""
  25713. #. type: table
  25714. #: guix-git/doc/guix.texi:17382
  25715. 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."
  25716. msgstr ""
  25717. #. type: table
  25718. #: guix-git/doc/guix.texi:17387
  25719. 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?}."
  25720. msgstr ""
  25721. #. type: item
  25722. #: guix-git/doc/guix.texi:17388
  25723. #, no-wrap
  25724. msgid "@code{print-last-log?} (default: @code{#t})"
  25725. msgstr ""
  25726. #. type: table
  25727. #: guix-git/doc/guix.texi:17391
  25728. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  25729. msgstr ""
  25730. #. type: item
  25731. #: guix-git/doc/guix.texi:17392
  25732. #, no-wrap
  25733. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  25734. msgstr ""
  25735. #. type: table
  25736. #: guix-git/doc/guix.texi:17394
  25737. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  25738. msgstr ""
  25739. #. type: table
  25740. #: guix-git/doc/guix.texi:17398
  25741. 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."
  25742. msgstr ""
  25743. #. type: table
  25744. #: guix-git/doc/guix.texi:17401
  25745. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  25746. msgstr ""
  25747. #. type: lisp
  25748. #: guix-git/doc/guix.texi:17406
  25749. #, no-wrap
  25750. msgid ""
  25751. "(service openssh-service-type\n"
  25752. " (openssh-configuration\n"
  25753. " (subsystems\n"
  25754. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  25755. msgstr ""
  25756. #. type: item
  25757. #: guix-git/doc/guix.texi:17408
  25758. #, no-wrap
  25759. msgid "@code{accepted-environment} (default: @code{'()})"
  25760. msgstr ""
  25761. #. type: table
  25762. #: guix-git/doc/guix.texi:17410
  25763. msgid "List of strings describing which environment variables may be exported."
  25764. msgstr ""
  25765. #. type: table
  25766. #: guix-git/doc/guix.texi:17413
  25767. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  25768. msgstr ""
  25769. #. type: table
  25770. #: guix-git/doc/guix.texi:17418
  25771. 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."
  25772. msgstr ""
  25773. #. type: lisp
  25774. #: guix-git/doc/guix.texi:17423
  25775. #, no-wrap
  25776. msgid ""
  25777. "(service openssh-service-type\n"
  25778. " (openssh-configuration\n"
  25779. " (accepted-environment '(\"COLORTERM\"))))\n"
  25780. msgstr ""
  25781. #. type: item
  25782. #: guix-git/doc/guix.texi:17425
  25783. #, no-wrap
  25784. msgid "@code{authorized-keys} (default: @code{'()})"
  25785. msgstr ""
  25786. #. type: cindex
  25787. #: guix-git/doc/guix.texi:17426
  25788. #, no-wrap
  25789. msgid "authorized keys, SSH"
  25790. msgstr ""
  25791. #. type: cindex
  25792. #: guix-git/doc/guix.texi:17427
  25793. #, no-wrap
  25794. msgid "SSH authorized keys"
  25795. msgstr ""
  25796. #. type: table
  25797. #: guix-git/doc/guix.texi:17431
  25798. 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:"
  25799. msgstr ""
  25800. #. type: lisp
  25801. #: guix-git/doc/guix.texi:17438
  25802. #, no-wrap
  25803. msgid ""
  25804. "(openssh-configuration\n"
  25805. " (authorized-keys\n"
  25806. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  25807. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  25808. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  25809. msgstr ""
  25810. #. type: table
  25811. #: guix-git/doc/guix.texi:17443
  25812. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  25813. msgstr ""
  25814. #. type: table
  25815. #: guix-git/doc/guix.texi:17446
  25816. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  25817. msgstr ""
  25818. #. type: table
  25819. #: guix-git/doc/guix.texi:17449
  25820. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  25821. msgstr ""
  25822. #. type: item
  25823. #: guix-git/doc/guix.texi:17450 guix-git/doc/guix.texi:17881
  25824. #, no-wrap
  25825. msgid "@code{log-level} (default: @code{'info})"
  25826. msgstr ""
  25827. #. type: table
  25828. #: guix-git/doc/guix.texi:17454
  25829. 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."
  25830. msgstr ""
  25831. #. type: item
  25832. #: guix-git/doc/guix.texi:17455 guix-git/doc/guix.texi:20277
  25833. #: guix-git/doc/guix.texi:25418
  25834. #, no-wrap
  25835. msgid "@code{extra-content} (default: @code{\"\"})"
  25836. msgstr ""
  25837. #. type: table
  25838. #: guix-git/doc/guix.texi:17460
  25839. 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:"
  25840. msgstr ""
  25841. #. type: lisp
  25842. #: guix-git/doc/guix.texi:17466
  25843. #, no-wrap
  25844. msgid ""
  25845. "(openssh-configuration\n"
  25846. " (extra-content \"\\\n"
  25847. "Match Address 192.168.0.1\n"
  25848. " PermitRootLogin yes\"))\n"
  25849. msgstr ""
  25850. #. type: deffn
  25851. #: guix-git/doc/guix.texi:17471
  25852. #, no-wrap
  25853. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  25854. msgstr ""
  25855. #. type: deffn
  25856. #: guix-git/doc/guix.texi:17475
  25857. 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."
  25858. msgstr ""
  25859. #. type: deffn
  25860. #: guix-git/doc/guix.texi:17478
  25861. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  25862. msgstr ""
  25863. #. type: lisp
  25864. #: guix-git/doc/guix.texi:17482
  25865. #, no-wrap
  25866. msgid ""
  25867. "(dropbear-service (dropbear-configuration\n"
  25868. " (port-number 1234)))\n"
  25869. msgstr ""
  25870. #. type: deftp
  25871. #: guix-git/doc/guix.texi:17485
  25872. #, no-wrap
  25873. msgid "{Data Type} dropbear-configuration"
  25874. msgstr ""
  25875. #. type: deftp
  25876. #: guix-git/doc/guix.texi:17487
  25877. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  25878. msgstr ""
  25879. #. type: item
  25880. #: guix-git/doc/guix.texi:17489
  25881. #, no-wrap
  25882. msgid "@code{dropbear} (default: @var{dropbear})"
  25883. msgstr ""
  25884. #. type: table
  25885. #: guix-git/doc/guix.texi:17491
  25886. msgid "The Dropbear package to use."
  25887. msgstr ""
  25888. #. type: item
  25889. #: guix-git/doc/guix.texi:17492
  25890. #, no-wrap
  25891. msgid "@code{port-number} (default: 22)"
  25892. msgstr ""
  25893. #. type: table
  25894. #: guix-git/doc/guix.texi:17494
  25895. msgid "The TCP port where the daemon waits for incoming connections."
  25896. msgstr ""
  25897. #. type: item
  25898. #: guix-git/doc/guix.texi:17495
  25899. #, no-wrap
  25900. msgid "@code{syslog-output?} (default: @code{#t})"
  25901. msgstr ""
  25902. #. type: table
  25903. #: guix-git/doc/guix.texi:17497
  25904. msgid "Whether to enable syslog output."
  25905. msgstr ""
  25906. #. type: item
  25907. #: guix-git/doc/guix.texi:17498
  25908. #, no-wrap
  25909. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  25910. msgstr ""
  25911. #. type: table
  25912. #: guix-git/doc/guix.texi:17500
  25913. msgid "File name of the daemon's PID file."
  25914. msgstr ""
  25915. #. type: item
  25916. #: guix-git/doc/guix.texi:17501
  25917. #, no-wrap
  25918. msgid "@code{root-login?} (default: @code{#f})"
  25919. msgstr ""
  25920. #. type: table
  25921. #: guix-git/doc/guix.texi:17503
  25922. msgid "Whether to allow @code{root} logins."
  25923. msgstr ""
  25924. #. type: table
  25925. #: guix-git/doc/guix.texi:17506
  25926. msgid "Whether to allow empty passwords."
  25927. msgstr ""
  25928. #. type: table
  25929. #: guix-git/doc/guix.texi:17509
  25930. msgid "Whether to enable password-based authentication."
  25931. msgstr ""
  25932. #. type: cindex
  25933. #: guix-git/doc/guix.texi:17512
  25934. #, no-wrap
  25935. msgid "AutoSSH"
  25936. msgstr ""
  25937. #. type: deffn
  25938. #: guix-git/doc/guix.texi:17513
  25939. #, no-wrap
  25940. msgid "{Scheme Variable} autossh-service-type"
  25941. msgstr ""
  25942. #. type: deffn
  25943. #: guix-git/doc/guix.texi:17521
  25944. 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."
  25945. msgstr ""
  25946. #. type: deffn
  25947. #: guix-git/doc/guix.texi:17525
  25948. 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."
  25949. msgstr ""
  25950. #. type: deffn
  25951. #: guix-git/doc/guix.texi:17530
  25952. 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:"
  25953. msgstr ""
  25954. #. type: lisp
  25955. #: guix-git/doc/guix.texi:17536
  25956. #, no-wrap
  25957. msgid ""
  25958. "(service autossh-service-type\n"
  25959. " (autossh-configuration\n"
  25960. " (user \"pino\")\n"
  25961. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25962. msgstr ""
  25963. #. type: deftp
  25964. #: guix-git/doc/guix.texi:17539
  25965. #, no-wrap
  25966. msgid "{Data Type} autossh-configuration"
  25967. msgstr ""
  25968. #. type: deftp
  25969. #: guix-git/doc/guix.texi:17541
  25970. msgid "This data type represents the configuration of an AutoSSH service."
  25971. msgstr ""
  25972. #. type: item
  25973. #: guix-git/doc/guix.texi:17544
  25974. #, no-wrap
  25975. msgid "@code{user} (default @code{\"autossh\"})"
  25976. msgstr ""
  25977. #. type: table
  25978. #: guix-git/doc/guix.texi:17547
  25979. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25980. msgstr ""
  25981. #. type: item
  25982. #: guix-git/doc/guix.texi:17548
  25983. #, no-wrap
  25984. msgid "@code{poll} (default @code{600})"
  25985. msgstr ""
  25986. #. type: table
  25987. #: guix-git/doc/guix.texi:17550
  25988. msgid "Specifies the connection poll time in seconds."
  25989. msgstr ""
  25990. #. type: item
  25991. #: guix-git/doc/guix.texi:17551
  25992. #, no-wrap
  25993. msgid "@code{first-poll} (default @code{#f})"
  25994. msgstr ""
  25995. #. type: table
  25996. #: guix-git/doc/guix.texi:17557
  25997. 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}."
  25998. msgstr ""
  25999. #. type: item
  26000. #: guix-git/doc/guix.texi:17558
  26001. #, no-wrap
  26002. msgid "@code{gate-time} (default @code{30})"
  26003. msgstr ""
  26004. #. type: table
  26005. #: guix-git/doc/guix.texi:17561
  26006. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  26007. msgstr ""
  26008. #. type: item
  26009. #: guix-git/doc/guix.texi:17562
  26010. #, no-wrap
  26011. msgid "@code{log-level} (default @code{1})"
  26012. msgstr ""
  26013. #. type: table
  26014. #: guix-git/doc/guix.texi:17565
  26015. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  26016. msgstr ""
  26017. #. type: item
  26018. #: guix-git/doc/guix.texi:17566
  26019. #, no-wrap
  26020. msgid "@code{max-start} (default @code{#f})"
  26021. msgstr ""
  26022. #. type: table
  26023. #: guix-git/doc/guix.texi:17569
  26024. 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."
  26025. msgstr ""
  26026. #. type: item
  26027. #: guix-git/doc/guix.texi:17570
  26028. #, no-wrap
  26029. msgid "@code{message} (default @code{\"\"})"
  26030. msgstr ""
  26031. #. type: table
  26032. #: guix-git/doc/guix.texi:17572
  26033. msgid "The message to append to the echo message sent when testing connections."
  26034. msgstr ""
  26035. #. type: item
  26036. #: guix-git/doc/guix.texi:17573
  26037. #, no-wrap
  26038. msgid "@code{port} (default @code{\"0\"})"
  26039. msgstr ""
  26040. #. type: table
  26041. #: guix-git/doc/guix.texi:17583
  26042. 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."
  26043. msgstr ""
  26044. #. type: item
  26045. #: guix-git/doc/guix.texi:17584
  26046. #, no-wrap
  26047. msgid "@code{ssh-options} (default @code{'()})"
  26048. msgstr ""
  26049. #. type: table
  26050. #: guix-git/doc/guix.texi:17588
  26051. 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."
  26052. msgstr ""
  26053. #. type: cindex
  26054. #: guix-git/doc/guix.texi:17592
  26055. #, no-wrap
  26056. msgid "WebSSH"
  26057. msgstr ""
  26058. #. type: deffn
  26059. #: guix-git/doc/guix.texi:17593
  26060. #, no-wrap
  26061. msgid "{Scheme Variable} webssh-service-type"
  26062. msgstr ""
  26063. #. type: deffn
  26064. #: guix-git/doc/guix.texi:17599
  26065. 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."
  26066. msgstr ""
  26067. #. type: deffn
  26068. #: guix-git/doc/guix.texi:17605
  26069. 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:"
  26070. msgstr ""
  26071. #. type: lisp
  26072. #: guix-git/doc/guix.texi:17613
  26073. #, no-wrap
  26074. msgid ""
  26075. "(service webssh-service-type\n"
  26076. " (webssh-configuration (address \"127.0.0.1\")\n"
  26077. " (port 8888)\n"
  26078. " (policy 'reject)\n"
  26079. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  26080. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  26081. "\n"
  26082. msgstr ""
  26083. #. type: lisp
  26084. #: guix-git/doc/guix.texi:17629
  26085. #, no-wrap
  26086. msgid ""
  26087. "(service nginx-service-type\n"
  26088. " (nginx-configuration\n"
  26089. " (server-blocks\n"
  26090. " (list\n"
  26091. " (nginx-server-configuration\n"
  26092. " (inherit %webssh-configuration-nginx)\n"
  26093. " (server-name '(\"webssh.example.com\"))\n"
  26094. " (listen '(\"443 ssl\"))\n"
  26095. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  26096. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  26097. " (locations\n"
  26098. " (cons (nginx-location-configuration\n"
  26099. " (uri \"/.well-known\")\n"
  26100. " (body '(\"root /var/www;\")))\n"
  26101. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  26102. msgstr ""
  26103. #. type: deftp
  26104. #: guix-git/doc/guix.texi:17632
  26105. #, no-wrap
  26106. msgid "{Data Type} webssh-configuration"
  26107. msgstr ""
  26108. #. type: deftp
  26109. #: guix-git/doc/guix.texi:17634
  26110. msgid "Data type representing the configuration for @code{webssh-service}."
  26111. msgstr ""
  26112. #. type: item
  26113. #: guix-git/doc/guix.texi:17636
  26114. #, no-wrap
  26115. msgid "@code{package} (default: @var{webssh})"
  26116. msgstr ""
  26117. #. type: table
  26118. #: guix-git/doc/guix.texi:17638
  26119. msgid "@code{webssh} package to use."
  26120. msgstr ""
  26121. #. type: item
  26122. #: guix-git/doc/guix.texi:17639
  26123. #, no-wrap
  26124. msgid "@code{user-name} (default: @var{\"webssh\"})"
  26125. msgstr ""
  26126. #. type: table
  26127. #: guix-git/doc/guix.texi:17642
  26128. msgid "User name or user ID that file transfers to and from that module should take place."
  26129. msgstr ""
  26130. #. type: item
  26131. #: guix-git/doc/guix.texi:17643
  26132. #, no-wrap
  26133. msgid "@code{group-name} (default: @var{\"webssh\"})"
  26134. msgstr ""
  26135. #. type: item
  26136. #: guix-git/doc/guix.texi:17646
  26137. #, no-wrap
  26138. msgid "@code{address} (default: @var{#f})"
  26139. msgstr ""
  26140. #. type: table
  26141. #: guix-git/doc/guix.texi:17648
  26142. msgid "IP address on which @command{webssh} listens for incoming connections."
  26143. msgstr ""
  26144. #. type: item
  26145. #: guix-git/doc/guix.texi:17649
  26146. #, no-wrap
  26147. msgid "@code{port} (default: @var{8888})"
  26148. msgstr ""
  26149. #. type: table
  26150. #: guix-git/doc/guix.texi:17651
  26151. msgid "TCP port on which @command{webssh} listens for incoming connections."
  26152. msgstr ""
  26153. #. type: item
  26154. #: guix-git/doc/guix.texi:17652
  26155. #, no-wrap
  26156. msgid "@code{policy} (default: @var{#f})"
  26157. msgstr ""
  26158. #. type: table
  26159. #: guix-git/doc/guix.texi:17654
  26160. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  26161. msgstr ""
  26162. #. type: item
  26163. #: guix-git/doc/guix.texi:17655
  26164. #, no-wrap
  26165. msgid "@code{known-hosts} (default: @var{'()})"
  26166. msgstr ""
  26167. #. type: table
  26168. #: guix-git/doc/guix.texi:17657
  26169. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  26170. msgstr ""
  26171. #. type: item
  26172. #: guix-git/doc/guix.texi:17658
  26173. #, no-wrap
  26174. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  26175. msgstr ""
  26176. #. type: table
  26177. #: guix-git/doc/guix.texi:17660
  26178. msgid "Name of the file where @command{webssh} writes its log file."
  26179. msgstr ""
  26180. #. type: item
  26181. #: guix-git/doc/guix.texi:17661
  26182. #, no-wrap
  26183. msgid "@code{log-level} (default: @var{#f})"
  26184. msgstr ""
  26185. #. type: table
  26186. #: guix-git/doc/guix.texi:17663
  26187. msgid "Logging level."
  26188. msgstr ""
  26189. #. type: defvr
  26190. #: guix-git/doc/guix.texi:17667
  26191. #, no-wrap
  26192. msgid "{Scheme Variable} %facebook-host-aliases"
  26193. msgstr ""
  26194. #. type: defvr
  26195. #: guix-git/doc/guix.texi:17673
  26196. 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}."
  26197. msgstr ""
  26198. #. type: defvr
  26199. #: guix-git/doc/guix.texi:17677
  26200. 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}}):"
  26201. msgstr ""
  26202. #. type: lisp
  26203. #: guix-git/doc/guix.texi:17690
  26204. #, no-wrap
  26205. msgid ""
  26206. "(operating-system\n"
  26207. " (host-name \"mymachine\")\n"
  26208. " ;; ...\n"
  26209. " (hosts-file\n"
  26210. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  26211. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  26212. " (plain-file \"hosts\"\n"
  26213. " (string-append (local-host-aliases host-name)\n"
  26214. " %facebook-host-aliases))))\n"
  26215. msgstr ""
  26216. #. type: defvr
  26217. #: guix-git/doc/guix.texi:17694
  26218. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  26219. msgstr ""
  26220. #. type: Plain text
  26221. #: guix-git/doc/guix.texi:17697
  26222. msgid "The @code{(gnu services avahi)} provides the following definition."
  26223. msgstr ""
  26224. #. type: defvr
  26225. #: guix-git/doc/guix.texi:17698
  26226. #, no-wrap
  26227. msgid "{Scheme Variable} avahi-service-type"
  26228. msgstr ""
  26229. #. type: defvr
  26230. #: guix-git/doc/guix.texi:17703
  26231. 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."
  26232. msgstr ""
  26233. #. type: defvr
  26234. #: guix-git/doc/guix.texi:17708
  26235. 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."
  26236. msgstr ""
  26237. #. type: defvr
  26238. #: guix-git/doc/guix.texi:17711
  26239. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  26240. msgstr ""
  26241. #. type: deftp
  26242. #: guix-git/doc/guix.texi:17713
  26243. #, no-wrap
  26244. msgid "{Data Type} avahi-configuration"
  26245. msgstr ""
  26246. #. type: deftp
  26247. #: guix-git/doc/guix.texi:17715
  26248. msgid "Data type representation the configuration for Avahi."
  26249. msgstr ""
  26250. #. type: item
  26251. #: guix-git/doc/guix.texi:17718
  26252. #, no-wrap
  26253. msgid "@code{host-name} (default: @code{#f})"
  26254. msgstr ""
  26255. #. type: table
  26256. #: guix-git/doc/guix.texi:17721
  26257. 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."
  26258. msgstr ""
  26259. #. type: item
  26260. #: guix-git/doc/guix.texi:17722 guix-git/doc/guix.texi:28072
  26261. #, no-wrap
  26262. msgid "@code{publish?} (default: @code{#t})"
  26263. msgstr ""
  26264. #. type: table
  26265. #: guix-git/doc/guix.texi:17725
  26266. msgid "When true, allow host names and services to be published (broadcast) over the network."
  26267. msgstr ""
  26268. #. type: item
  26269. #: guix-git/doc/guix.texi:17726
  26270. #, no-wrap
  26271. msgid "@code{publish-workstation?} (default: @code{#t})"
  26272. msgstr ""
  26273. #. type: table
  26274. #: guix-git/doc/guix.texi:17730
  26275. 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:"
  26276. msgstr ""
  26277. #. type: example
  26278. #: guix-git/doc/guix.texi:17733
  26279. #, no-wrap
  26280. msgid "avahi-browse _workstation._tcp\n"
  26281. msgstr ""
  26282. #. type: item
  26283. #: guix-git/doc/guix.texi:17735
  26284. #, no-wrap
  26285. msgid "@code{wide-area?} (default: @code{#f})"
  26286. msgstr ""
  26287. #. type: table
  26288. #: guix-git/doc/guix.texi:17737
  26289. msgid "When true, DNS-SD over unicast DNS is enabled."
  26290. msgstr ""
  26291. #. type: item
  26292. #: guix-git/doc/guix.texi:17738
  26293. #, no-wrap
  26294. msgid "@code{ipv4?} (default: @code{#t})"
  26295. msgstr ""
  26296. #. type: itemx
  26297. #: guix-git/doc/guix.texi:17739
  26298. #, no-wrap
  26299. msgid "@code{ipv6?} (default: @code{#t})"
  26300. msgstr ""
  26301. #. type: table
  26302. #: guix-git/doc/guix.texi:17741
  26303. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  26304. msgstr ""
  26305. #. type: item
  26306. #: guix-git/doc/guix.texi:17742
  26307. #, no-wrap
  26308. msgid "@code{domains-to-browse} (default: @code{'()})"
  26309. msgstr ""
  26310. #. type: table
  26311. #: guix-git/doc/guix.texi:17744
  26312. msgid "This is a list of domains to browse."
  26313. msgstr ""
  26314. #. type: deffn
  26315. #: guix-git/doc/guix.texi:17747
  26316. #, no-wrap
  26317. msgid "{Scheme Variable} openvswitch-service-type"
  26318. msgstr ""
  26319. #. type: deffn
  26320. #: guix-git/doc/guix.texi:17751
  26321. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  26322. msgstr ""
  26323. #. type: deftp
  26324. #: guix-git/doc/guix.texi:17753
  26325. #, no-wrap
  26326. msgid "{Data Type} openvswitch-configuration"
  26327. msgstr ""
  26328. #. type: deftp
  26329. #: guix-git/doc/guix.texi:17757
  26330. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  26331. msgstr ""
  26332. #. type: item
  26333. #: guix-git/doc/guix.texi:17759
  26334. #, no-wrap
  26335. msgid "@code{package} (default: @var{openvswitch})"
  26336. msgstr ""
  26337. #. type: table
  26338. #: guix-git/doc/guix.texi:17761
  26339. msgid "Package object of the Open vSwitch."
  26340. msgstr ""
  26341. #. type: defvr
  26342. #: guix-git/doc/guix.texi:17765
  26343. #, no-wrap
  26344. msgid "{Scheme Variable} pagekite-service-type"
  26345. msgstr ""
  26346. #. type: defvr
  26347. #: guix-git/doc/guix.texi:17770
  26348. 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."
  26349. msgstr ""
  26350. #. type: defvr
  26351. #: guix-git/doc/guix.texi:17772
  26352. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  26353. msgstr ""
  26354. #. type: lisp
  26355. #: guix-git/doc/guix.texi:17779
  26356. #, no-wrap
  26357. msgid ""
  26358. "(service pagekite-service-type\n"
  26359. " (pagekite-configuration\n"
  26360. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  26361. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  26362. " (extra-file \"/etc/pagekite.rc\")))\n"
  26363. msgstr ""
  26364. #. type: deftp
  26365. #: guix-git/doc/guix.texi:17782
  26366. #, no-wrap
  26367. msgid "{Data Type} pagekite-configuration"
  26368. msgstr ""
  26369. #. type: deftp
  26370. #: guix-git/doc/guix.texi:17784
  26371. msgid "Data type representing the configuration of PageKite."
  26372. msgstr ""
  26373. #. type: item
  26374. #: guix-git/doc/guix.texi:17786
  26375. #, no-wrap
  26376. msgid "@code{package} (default: @var{pagekite})"
  26377. msgstr ""
  26378. #. type: table
  26379. #: guix-git/doc/guix.texi:17788
  26380. msgid "Package object of PageKite."
  26381. msgstr ""
  26382. #. type: item
  26383. #: guix-git/doc/guix.texi:17789
  26384. #, no-wrap
  26385. msgid "@code{kitename} (default: @code{#f})"
  26386. msgstr ""
  26387. #. type: table
  26388. #: guix-git/doc/guix.texi:17791
  26389. msgid "PageKite name for authenticating to the frontend server."
  26390. msgstr ""
  26391. #. type: item
  26392. #: guix-git/doc/guix.texi:17792
  26393. #, no-wrap
  26394. msgid "@code{kitesecret} (default: @code{#f})"
  26395. msgstr ""
  26396. #. type: table
  26397. #: guix-git/doc/guix.texi:17795
  26398. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  26399. msgstr ""
  26400. #. type: item
  26401. #: guix-git/doc/guix.texi:17796
  26402. #, no-wrap
  26403. msgid "@code{frontend} (default: @code{#f})"
  26404. msgstr ""
  26405. #. type: table
  26406. #: guix-git/doc/guix.texi:17799
  26407. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  26408. msgstr ""
  26409. #. type: item
  26410. #: guix-git/doc/guix.texi:17800
  26411. #, no-wrap
  26412. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  26413. msgstr ""
  26414. #. type: table
  26415. #: guix-git/doc/guix.texi:17803
  26416. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  26417. msgstr ""
  26418. #. type: item
  26419. #: guix-git/doc/guix.texi:17804
  26420. #, no-wrap
  26421. msgid "@code{extra-file} (default: @code{#f})"
  26422. msgstr ""
  26423. #. type: table
  26424. #: guix-git/doc/guix.texi:17807
  26425. 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."
  26426. msgstr ""
  26427. #. type: defvr
  26428. #: guix-git/doc/guix.texi:17811
  26429. #, no-wrap
  26430. msgid "{Scheme Variable} yggdrasil-service-type"
  26431. msgstr ""
  26432. #. type: defvr
  26433. #: guix-git/doc/guix.texi:17815
  26434. 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."
  26435. msgstr ""
  26436. #. type: quotation
  26437. #: guix-git/doc/guix.texi:17822
  26438. 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}"
  26439. msgstr ""
  26440. #. type: defvr
  26441. #: guix-git/doc/guix.texi:17826
  26442. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  26443. msgstr ""
  26444. #. type: defvr
  26445. #: guix-git/doc/guix.texi:17830
  26446. 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})."
  26447. msgstr ""
  26448. #. type: lisp
  26449. #: guix-git/doc/guix.texi:17842
  26450. #, no-wrap
  26451. msgid ""
  26452. ";; part of the operating-system declaration\n"
  26453. "(service yggdrasil-service-type\n"
  26454. " (yggdrasil-configuration\n"
  26455. " (autoconf? #f) ;; use only the public peers\n"
  26456. " (json-config\n"
  26457. " ;; choose one from\n"
  26458. " ;; https://github.com/yggdrasil-network/public-peers\n"
  26459. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  26460. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  26461. " ))\n"
  26462. msgstr ""
  26463. #. type: example
  26464. #: guix-git/doc/guix.texi:17849
  26465. #, no-wrap
  26466. msgid ""
  26467. "# sample content for /etc/yggdrasil-private.conf\n"
  26468. "@{\n"
  26469. " # Your public encryption key. Your peers may ask you for this to put\n"
  26470. " # into their AllowedEncryptionPublicKeys configuration.\n"
  26471. " EncryptionPublicKey: 378dc5...\n"
  26472. "\n"
  26473. msgstr ""
  26474. #. type: example
  26475. #: guix-git/doc/guix.texi:17852
  26476. #, no-wrap
  26477. msgid ""
  26478. " # Your private encryption key. DO NOT share this with anyone!\n"
  26479. " EncryptionPrivateKey: 0777...\n"
  26480. "\n"
  26481. msgstr ""
  26482. #. type: example
  26483. #: guix-git/doc/guix.texi:17856
  26484. #, no-wrap
  26485. msgid ""
  26486. " # Your public signing key. You should not ordinarily need to share\n"
  26487. " # this with anyone.\n"
  26488. " SigningPublicKey: e1664...\n"
  26489. "\n"
  26490. msgstr ""
  26491. #. type: example
  26492. #: guix-git/doc/guix.texi:17860
  26493. #, no-wrap
  26494. msgid ""
  26495. " # Your private signing key. DO NOT share this with anyone!\n"
  26496. " SigningPrivateKey: 0589d...\n"
  26497. "@}\n"
  26498. msgstr ""
  26499. #. type: deftp
  26500. #: guix-git/doc/guix.texi:17863
  26501. #, no-wrap
  26502. msgid "{Data Type} yggdrasil-configuration"
  26503. msgstr ""
  26504. #. type: deftp
  26505. #: guix-git/doc/guix.texi:17865
  26506. msgid "Data type representing the configuration of Yggdrasil."
  26507. msgstr ""
  26508. #. type: item
  26509. #: guix-git/doc/guix.texi:17867
  26510. #, no-wrap
  26511. msgid "@code{package} (default: @code{yggdrasil})"
  26512. msgstr ""
  26513. #. type: table
  26514. #: guix-git/doc/guix.texi:17869
  26515. msgid "Package object of Yggdrasil."
  26516. msgstr ""
  26517. #. type: item
  26518. #: guix-git/doc/guix.texi:17870
  26519. #, no-wrap
  26520. msgid "@code{json-config} (default: @code{'()})"
  26521. msgstr ""
  26522. #. type: table
  26523. #: guix-git/doc/guix.texi:17876
  26524. 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."
  26525. msgstr ""
  26526. #. type: item
  26527. #: guix-git/doc/guix.texi:17877
  26528. #, no-wrap
  26529. msgid "@code{autoconf?} (default: @code{#f})"
  26530. msgstr ""
  26531. #. type: table
  26532. #: guix-git/doc/guix.texi:17880
  26533. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  26534. msgstr ""
  26535. #. type: table
  26536. #: guix-git/doc/guix.texi:17883
  26537. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  26538. msgstr ""
  26539. #. type: item
  26540. #: guix-git/doc/guix.texi:17884
  26541. #, no-wrap
  26542. msgid "@code{log-to} (default: @code{'stdout})"
  26543. msgstr ""
  26544. #. type: table
  26545. #: guix-git/doc/guix.texi:17888
  26546. 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."
  26547. msgstr ""
  26548. #. type: item
  26549. #: guix-git/doc/guix.texi:17889
  26550. #, no-wrap
  26551. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  26552. msgstr ""
  26553. #. type: table
  26554. #: guix-git/doc/guix.texi:17896
  26555. 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:"
  26556. msgstr ""
  26557. #. type: code{#1}
  26558. #: guix-git/doc/guix.texi:17898
  26559. #, no-wrap
  26560. msgid "EncryptionPublicKey"
  26561. msgstr ""
  26562. #. type: code{#1}
  26563. #: guix-git/doc/guix.texi:17899
  26564. #, no-wrap
  26565. msgid "EncryptionPrivateKey"
  26566. msgstr ""
  26567. #. type: code{#1}
  26568. #: guix-git/doc/guix.texi:17900
  26569. #, no-wrap
  26570. msgid "SigningPublicKey"
  26571. msgstr ""
  26572. #. type: code{#1}
  26573. #: guix-git/doc/guix.texi:17901
  26574. #, no-wrap
  26575. msgid "SigningPrivateKey"
  26576. msgstr ""
  26577. #. type: cindex
  26578. #: guix-git/doc/guix.texi:17906
  26579. #, no-wrap
  26580. msgid "IPFS"
  26581. msgstr ""
  26582. #. type: defvr
  26583. #: guix-git/doc/guix.texi:17907
  26584. #, no-wrap
  26585. msgid "{Scheme Variable} ipfs-service-type"
  26586. msgstr ""
  26587. #. type: defvr
  26588. #: guix-git/doc/guix.texi:17911
  26589. 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."
  26590. msgstr ""
  26591. #. type: defvr
  26592. #: guix-git/doc/guix.texi:17913
  26593. msgid "Here's an example configuration, using some non-standard ports:"
  26594. msgstr ""
  26595. #. type: lisp
  26596. #: guix-git/doc/guix.texi:17919
  26597. #, no-wrap
  26598. msgid ""
  26599. "(service ipfs-service-type\n"
  26600. " (ipfs-configuration\n"
  26601. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  26602. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  26603. msgstr ""
  26604. #. type: deftp
  26605. #: guix-git/doc/guix.texi:17922
  26606. #, no-wrap
  26607. msgid "{Data Type} ipfs-configuration"
  26608. msgstr ""
  26609. #. type: deftp
  26610. #: guix-git/doc/guix.texi:17924
  26611. msgid "Data type representing the configuration of IPFS."
  26612. msgstr ""
  26613. #. type: item
  26614. #: guix-git/doc/guix.texi:17926
  26615. #, no-wrap
  26616. msgid "@code{package} (default: @code{go-ipfs})"
  26617. msgstr ""
  26618. #. type: table
  26619. #: guix-git/doc/guix.texi:17928
  26620. msgid "Package object of IPFS."
  26621. msgstr ""
  26622. #. type: item
  26623. #: guix-git/doc/guix.texi:17929
  26624. #, no-wrap
  26625. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  26626. msgstr ""
  26627. #. type: table
  26628. #: guix-git/doc/guix.texi:17931
  26629. msgid "Address of the gateway, in ‘multiaddress’ format."
  26630. msgstr ""
  26631. #. type: item
  26632. #: guix-git/doc/guix.texi:17932
  26633. #, no-wrap
  26634. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  26635. msgstr ""
  26636. #. type: table
  26637. #: guix-git/doc/guix.texi:17934
  26638. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  26639. msgstr ""
  26640. #. type: cindex
  26641. #: guix-git/doc/guix.texi:17937
  26642. #, no-wrap
  26643. msgid "keepalived"
  26644. msgstr ""
  26645. #. type: deffn
  26646. #: guix-git/doc/guix.texi:17938
  26647. #, no-wrap
  26648. msgid "{Scheme Variable} keepalived-service-type"
  26649. msgstr ""
  26650. #. type: deffn
  26651. #: guix-git/doc/guix.texi:17943
  26652. 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:"
  26653. msgstr ""
  26654. #. type: lisp
  26655. #: guix-git/doc/guix.texi:17948
  26656. #, no-wrap
  26657. msgid ""
  26658. "(service keepalived-service-type\n"
  26659. " (keepalived-configuration\n"
  26660. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  26661. msgstr ""
  26662. #. type: deffn
  26663. #: guix-git/doc/guix.texi:17951
  26664. msgid "where @file{keepalived-master.conf}:"
  26665. msgstr ""
  26666. #. type: example
  26667. #: guix-git/doc/guix.texi:17963
  26668. #, no-wrap
  26669. msgid ""
  26670. "vrrp_instance my-group @{\n"
  26671. " state MASTER\n"
  26672. " interface enp9s0\n"
  26673. " virtual_router_id 100\n"
  26674. " priority 100\n"
  26675. " unicast_peer @{ 10.0.0.2 @}\n"
  26676. " virtual_ipaddress @{\n"
  26677. " 10.0.0.4/24\n"
  26678. " @}\n"
  26679. "@}\n"
  26680. msgstr ""
  26681. #. type: deffn
  26682. #: guix-git/doc/guix.texi:17966
  26683. msgid "and for backup machine:"
  26684. msgstr ""
  26685. #. type: lisp
  26686. #: guix-git/doc/guix.texi:17971
  26687. #, no-wrap
  26688. msgid ""
  26689. "(service keepalived-service-type\n"
  26690. " (keepalived-configuration\n"
  26691. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  26692. msgstr ""
  26693. #. type: deffn
  26694. #: guix-git/doc/guix.texi:17974
  26695. msgid "where @file{keepalived-backup.conf}:"
  26696. msgstr ""
  26697. #. type: example
  26698. #: guix-git/doc/guix.texi:17986
  26699. #, no-wrap
  26700. msgid ""
  26701. "vrrp_instance my-group @{\n"
  26702. " state BACKUP\n"
  26703. " interface enp9s0\n"
  26704. " virtual_router_id 100\n"
  26705. " priority 99\n"
  26706. " unicast_peer @{ 10.0.0.3 @}\n"
  26707. " virtual_ipaddress @{\n"
  26708. " 10.0.0.4/24\n"
  26709. " @}\n"
  26710. "@}\n"
  26711. msgstr ""
  26712. #. type: cindex
  26713. #: guix-git/doc/guix.texi:17992
  26714. #, no-wrap
  26715. msgid "unattended upgrades"
  26716. msgstr ""
  26717. #. type: cindex
  26718. #: guix-git/doc/guix.texi:17993
  26719. #, no-wrap
  26720. msgid "upgrades, unattended"
  26721. msgstr ""
  26722. #. type: Plain text
  26723. #: guix-git/doc/guix.texi:17998
  26724. 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:"
  26725. msgstr ""
  26726. #. type: itemize
  26727. #: guix-git/doc/guix.texi:18003
  26728. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  26729. msgstr ""
  26730. #. type: itemize
  26731. #: guix-git/doc/guix.texi:18007
  26732. 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;"
  26733. msgstr ""
  26734. #. type: itemize
  26735. #: guix-git/doc/guix.texi:18010
  26736. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  26737. msgstr ""
  26738. #. type: itemize
  26739. #: guix-git/doc/guix.texi:18013
  26740. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  26741. msgstr ""
  26742. #. type: Plain text
  26743. #: guix-git/doc/guix.texi:18018
  26744. 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:"
  26745. msgstr ""
  26746. #. type: lisp
  26747. #: guix-git/doc/guix.texi:18021
  26748. #, no-wrap
  26749. msgid "(service unattended-upgrade-service-type)\n"
  26750. msgstr ""
  26751. #. type: Plain text
  26752. #: guix-git/doc/guix.texi:18028
  26753. 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."
  26754. msgstr ""
  26755. #. type: Plain text
  26756. #: guix-git/doc/guix.texi:18034
  26757. 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."
  26758. msgstr ""
  26759. #. type: Plain text
  26760. #: guix-git/doc/guix.texi:18038
  26761. 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)."
  26762. msgstr ""
  26763. #. type: defvr
  26764. #: guix-git/doc/guix.texi:18039
  26765. #, no-wrap
  26766. msgid "{Scheme Variable} unattended-upgrade-service-type"
  26767. msgstr ""
  26768. #. type: defvr
  26769. #: guix-git/doc/guix.texi:18043
  26770. 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."
  26771. msgstr ""
  26772. #. type: defvr
  26773. #: guix-git/doc/guix.texi:18046
  26774. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  26775. msgstr ""
  26776. #. type: deftp
  26777. #: guix-git/doc/guix.texi:18048
  26778. #, no-wrap
  26779. msgid "{Data Type} unattended-upgrade-configuration"
  26780. msgstr ""
  26781. #. type: deftp
  26782. #: guix-git/doc/guix.texi:18051
  26783. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  26784. msgstr ""
  26785. #. type: item
  26786. #: guix-git/doc/guix.texi:18053
  26787. #, no-wrap
  26788. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  26789. msgstr ""
  26790. #. type: table
  26791. #: guix-git/doc/guix.texi:18057
  26792. 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})."
  26793. msgstr ""
  26794. #. type: item
  26795. #: guix-git/doc/guix.texi:18058
  26796. #, no-wrap
  26797. msgid "@code{channels} (default: @code{#~%default-channels})"
  26798. msgstr ""
  26799. #. type: table
  26800. #: guix-git/doc/guix.texi:18062
  26801. 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."
  26802. msgstr ""
  26803. #. type: item
  26804. #: guix-git/doc/guix.texi:18063
  26805. #, no-wrap
  26806. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  26807. msgstr ""
  26808. #. type: table
  26809. #: guix-git/doc/guix.texi:18066
  26810. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  26811. msgstr ""
  26812. #. type: table
  26813. #: guix-git/doc/guix.texi:18072
  26814. 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:"
  26815. msgstr ""
  26816. #. type: lisp
  26817. #: guix-git/doc/guix.texi:18078
  26818. #, no-wrap
  26819. msgid ""
  26820. "(unattended-upgrade-configuration\n"
  26821. " (operating-system-file\n"
  26822. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  26823. " \"/config.scm\")))\n"
  26824. msgstr ""
  26825. #. type: table
  26826. #: guix-git/doc/guix.texi:18085
  26827. 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}."
  26828. msgstr ""
  26829. #. type: item
  26830. #: guix-git/doc/guix.texi:18086
  26831. #, no-wrap
  26832. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  26833. msgstr ""
  26834. #. type: table
  26835. #: guix-git/doc/guix.texi:18089
  26836. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  26837. msgstr ""
  26838. #. type: table
  26839. #: guix-git/doc/guix.texi:18096
  26840. 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."
  26841. msgstr ""
  26842. #. type: table
  26843. #: guix-git/doc/guix.texi:18100
  26844. 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}."
  26845. msgstr ""
  26846. #. type: table
  26847. #: guix-git/doc/guix.texi:18103
  26848. 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."
  26849. msgstr ""
  26850. #. type: item
  26851. #: guix-git/doc/guix.texi:18104
  26852. #, no-wrap
  26853. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  26854. msgstr ""
  26855. #. type: table
  26856. #: guix-git/doc/guix.texi:18108
  26857. 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."
  26858. msgstr ""
  26859. #. type: quotation
  26860. #: guix-git/doc/guix.texi:18113
  26861. 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."
  26862. msgstr ""
  26863. #. type: item
  26864. #: guix-git/doc/guix.texi:18115
  26865. #, no-wrap
  26866. msgid "@code{maximum-duration} (default: @code{3600})"
  26867. msgstr ""
  26868. #. type: table
  26869. #: guix-git/doc/guix.texi:18118
  26870. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  26871. msgstr ""
  26872. #. type: table
  26873. #: guix-git/doc/guix.texi:18121
  26874. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  26875. msgstr ""
  26876. #. type: item
  26877. #: guix-git/doc/guix.texi:18122
  26878. #, no-wrap
  26879. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  26880. msgstr ""
  26881. #. type: table
  26882. #: guix-git/doc/guix.texi:18124
  26883. msgid "File where unattended upgrades are logged."
  26884. msgstr ""
  26885. #. type: cindex
  26886. #: guix-git/doc/guix.texi:18130
  26887. #, no-wrap
  26888. msgid "X11"
  26889. msgstr ""
  26890. #. type: cindex
  26891. #: guix-git/doc/guix.texi:18131
  26892. #, no-wrap
  26893. msgid "X Window System"
  26894. msgstr ""
  26895. #. type: cindex
  26896. #: guix-git/doc/guix.texi:18132 guix-git/doc/guix.texi:18392
  26897. #, no-wrap
  26898. msgid "login manager"
  26899. msgstr ""
  26900. #. type: Plain text
  26901. #: guix-git/doc/guix.texi:18137
  26902. 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)."
  26903. msgstr ""
  26904. #. type: cindex
  26905. #: guix-git/doc/guix.texi:18138
  26906. #, no-wrap
  26907. msgid "GDM"
  26908. msgstr ""
  26909. #. type: cindex
  26910. #: guix-git/doc/guix.texi:18139
  26911. #, no-wrap
  26912. msgid "GNOME, login manager"
  26913. msgstr ""
  26914. #. type: Plain text
  26915. #: guix-git/doc/guix.texi:18143
  26916. 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."
  26917. msgstr ""
  26918. #. type: cindex
  26919. #: guix-git/doc/guix.texi:18144
  26920. #, no-wrap
  26921. msgid "window manager"
  26922. msgstr ""
  26923. #. type: Plain text
  26924. #: guix-git/doc/guix.texi:18149
  26925. 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})."
  26926. msgstr ""
  26927. #. type: defvr
  26928. #: guix-git/doc/guix.texi:18150
  26929. #, no-wrap
  26930. msgid "{Scheme Variable} gdm-service-type"
  26931. msgstr ""
  26932. #. type: defvr
  26933. #: guix-git/doc/guix.texi:18155
  26934. 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)."
  26935. msgstr ""
  26936. #. type: cindex
  26937. #: guix-git/doc/guix.texi:18156
  26938. #, no-wrap
  26939. msgid "session types (X11)"
  26940. msgstr ""
  26941. #. type: cindex
  26942. #: guix-git/doc/guix.texi:18157
  26943. #, no-wrap
  26944. msgid "X11 session types"
  26945. msgstr ""
  26946. #. type: defvr
  26947. #: guix-git/doc/guix.texi:18163
  26948. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, and @code{i3} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  26949. msgstr ""
  26950. #. type: defvr
  26951. #: guix-git/doc/guix.texi:18167
  26952. 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."
  26953. msgstr ""
  26954. #. type: deftp
  26955. #: guix-git/doc/guix.texi:18169
  26956. #, no-wrap
  26957. msgid "{Data Type} gdm-configuration"
  26958. msgstr ""
  26959. #. type: item
  26960. #: guix-git/doc/guix.texi:18171 guix-git/doc/guix.texi:18247
  26961. #, no-wrap
  26962. msgid "@code{auto-login?} (default: @code{#f})"
  26963. msgstr ""
  26964. #. type: itemx
  26965. #: guix-git/doc/guix.texi:18172
  26966. #, no-wrap
  26967. msgid "@code{default-user} (default: @code{#f})"
  26968. msgstr ""
  26969. #. type: table
  26970. #: guix-git/doc/guix.texi:18174
  26971. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26972. msgstr ""
  26973. #. type: table
  26974. #: guix-git/doc/guix.texi:18177
  26975. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26976. msgstr ""
  26977. #. type: item
  26978. #: guix-git/doc/guix.texi:18178 guix-git/doc/guix.texi:24026
  26979. #: guix-git/doc/guix.texi:25735 guix-git/doc/guix.texi:30153
  26980. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30211
  26981. #: guix-git/doc/guix.texi:30238 guix-git/doc/guix.texi:30293
  26982. #: guix-git/doc/guix.texi:30318 guix-git/doc/guix.texi:30345
  26983. #: guix-git/doc/guix.texi:30371 guix-git/doc/guix.texi:30413
  26984. #, no-wrap
  26985. msgid "@code{debug?} (default: @code{#f})"
  26986. msgstr ""
  26987. #. type: table
  26988. #: guix-git/doc/guix.texi:18180
  26989. msgid "When true, GDM writes debug messages to its log."
  26990. msgstr ""
  26991. #. type: item
  26992. #: guix-git/doc/guix.texi:18181
  26993. #, no-wrap
  26994. msgid "@code{gnome-shell-assets} (default: ...)"
  26995. msgstr ""
  26996. #. type: table
  26997. #: guix-git/doc/guix.texi:18183
  26998. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26999. msgstr ""
  27000. #. type: item
  27001. #: guix-git/doc/guix.texi:18184
  27002. #, no-wrap
  27003. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  27004. msgstr ""
  27005. #. type: table
  27006. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18274
  27007. #: guix-git/doc/guix.texi:18358
  27008. msgid "Configuration of the Xorg graphical server."
  27009. msgstr ""
  27010. #. type: item
  27011. #: guix-git/doc/guix.texi:18187
  27012. #, no-wrap
  27013. msgid "@code{xsession} (default: @code{(xinitrc)})"
  27014. msgstr ""
  27015. #. type: table
  27016. #: guix-git/doc/guix.texi:18189 guix-git/doc/guix.texi:18373
  27017. msgid "Script to run before starting a X session."
  27018. msgstr ""
  27019. #. type: item
  27020. #: guix-git/doc/guix.texi:18190
  27021. #, no-wrap
  27022. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  27023. msgstr ""
  27024. #. type: table
  27025. #: guix-git/doc/guix.texi:18192
  27026. msgid "File name of the @code{dbus-daemon} executable."
  27027. msgstr ""
  27028. #. type: item
  27029. #: guix-git/doc/guix.texi:18193
  27030. #, no-wrap
  27031. msgid "@code{gdm} (default: @code{gdm})"
  27032. msgstr ""
  27033. #. type: table
  27034. #: guix-git/doc/guix.texi:18195
  27035. msgid "The GDM package to use."
  27036. msgstr ""
  27037. #. type: defvr
  27038. #: guix-git/doc/guix.texi:18198
  27039. #, no-wrap
  27040. msgid "{Scheme Variable} slim-service-type"
  27041. msgstr ""
  27042. #. type: defvr
  27043. #: guix-git/doc/guix.texi:18200
  27044. msgid "This is the type for the SLiM graphical login manager for X11."
  27045. msgstr ""
  27046. #. type: defvr
  27047. #: guix-git/doc/guix.texi:18204
  27048. 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."
  27049. msgstr ""
  27050. #. type: defvr
  27051. #: guix-git/doc/guix.texi:18211
  27052. 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."
  27053. msgstr ""
  27054. #. type: lisp
  27055. #: guix-git/doc/guix.texi:18217
  27056. #, no-wrap
  27057. msgid ""
  27058. "(use-modules (gnu services)\n"
  27059. " (gnu services desktop)\n"
  27060. " (gnu services xorg)\n"
  27061. " (srfi srfi-1)) ;for 'remove'\n"
  27062. "\n"
  27063. msgstr ""
  27064. #. type: lisp
  27065. #: guix-git/doc/guix.texi:18228
  27066. #, no-wrap
  27067. msgid ""
  27068. "(operating-system\n"
  27069. " ;; ...\n"
  27070. " (services (cons* (service slim-service-type (slim-configuration\n"
  27071. " (display \":0\")\n"
  27072. " (vt \"vt7\")))\n"
  27073. " (service slim-service-type (slim-configuration\n"
  27074. " (display \":1\")\n"
  27075. " (vt \"vt8\")))\n"
  27076. " (modify-services %desktop-services\n"
  27077. " (delete gdm-service-type)))))\n"
  27078. msgstr ""
  27079. #. type: deftp
  27080. #: guix-git/doc/guix.texi:18232
  27081. #, no-wrap
  27082. msgid "{Data Type} slim-configuration"
  27083. msgstr ""
  27084. #. type: deftp
  27085. #: guix-git/doc/guix.texi:18234
  27086. msgid "Data type representing the configuration of @code{slim-service-type}."
  27087. msgstr ""
  27088. #. type: table
  27089. #: guix-git/doc/guix.texi:18238
  27090. msgid "Whether to allow logins with empty passwords."
  27091. msgstr ""
  27092. #. type: item
  27093. #: guix-git/doc/guix.texi:18239
  27094. #, no-wrap
  27095. msgid "@code{gnupg?} (default: @code{#f})"
  27096. msgstr ""
  27097. #. type: table
  27098. #: guix-git/doc/guix.texi:18246
  27099. 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}."
  27100. msgstr ""
  27101. #. type: itemx
  27102. #: guix-git/doc/guix.texi:18248
  27103. #, no-wrap
  27104. msgid "@code{default-user} (default: @code{\"\"})"
  27105. msgstr ""
  27106. #. type: table
  27107. #: guix-git/doc/guix.texi:18250
  27108. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  27109. msgstr ""
  27110. #. type: table
  27111. #: guix-git/doc/guix.texi:18253
  27112. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  27113. msgstr ""
  27114. #. type: item
  27115. #: guix-git/doc/guix.texi:18254
  27116. #, no-wrap
  27117. msgid "@code{theme} (default: @code{%default-slim-theme})"
  27118. msgstr ""
  27119. #. type: itemx
  27120. #: guix-git/doc/guix.texi:18255
  27121. #, no-wrap
  27122. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  27123. msgstr ""
  27124. #. type: table
  27125. #: guix-git/doc/guix.texi:18257
  27126. msgid "The graphical theme to use and its name."
  27127. msgstr ""
  27128. #. type: item
  27129. #: guix-git/doc/guix.texi:18258
  27130. #, no-wrap
  27131. msgid "@code{auto-login-session} (default: @code{#f})"
  27132. msgstr ""
  27133. #. type: table
  27134. #: guix-git/doc/guix.texi:18261
  27135. 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\")}."
  27136. msgstr ""
  27137. #. type: table
  27138. #: guix-git/doc/guix.texi:18265
  27139. 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."
  27140. msgstr ""
  27141. #. type: quotation
  27142. #: guix-git/doc/guix.texi:18270
  27143. 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."
  27144. msgstr ""
  27145. #. type: item
  27146. #: guix-git/doc/guix.texi:18272 guix-git/doc/guix.texi:18356
  27147. #, no-wrap
  27148. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  27149. msgstr ""
  27150. #. type: item
  27151. #: guix-git/doc/guix.texi:18275
  27152. #, no-wrap
  27153. msgid "@code{display} (default @code{\":0\"})"
  27154. msgstr ""
  27155. #. type: table
  27156. #: guix-git/doc/guix.texi:18277
  27157. msgid "The display on which to start the Xorg graphical server."
  27158. msgstr ""
  27159. #. type: item
  27160. #: guix-git/doc/guix.texi:18278
  27161. #, no-wrap
  27162. msgid "@code{vt} (default @code{\"vt7\"})"
  27163. msgstr ""
  27164. #. type: table
  27165. #: guix-git/doc/guix.texi:18280
  27166. msgid "The VT on which to start the Xorg graphical server."
  27167. msgstr ""
  27168. #. type: item
  27169. #: guix-git/doc/guix.texi:18281
  27170. #, no-wrap
  27171. msgid "@code{xauth} (default: @code{xauth})"
  27172. msgstr ""
  27173. #. type: table
  27174. #: guix-git/doc/guix.texi:18283
  27175. msgid "The XAuth package to use."
  27176. msgstr ""
  27177. #. type: item
  27178. #: guix-git/doc/guix.texi:18284
  27179. #, no-wrap
  27180. msgid "@code{shepherd} (default: @code{shepherd})"
  27181. msgstr ""
  27182. #. type: table
  27183. #: guix-git/doc/guix.texi:18287
  27184. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  27185. msgstr ""
  27186. #. type: item
  27187. #: guix-git/doc/guix.texi:18288
  27188. #, no-wrap
  27189. msgid "@code{sessreg} (default: @code{sessreg})"
  27190. msgstr ""
  27191. #. type: table
  27192. #: guix-git/doc/guix.texi:18290
  27193. msgid "The sessreg package used in order to register the session."
  27194. msgstr ""
  27195. #. type: item
  27196. #: guix-git/doc/guix.texi:18291
  27197. #, no-wrap
  27198. msgid "@code{slim} (default: @code{slim})"
  27199. msgstr ""
  27200. #. type: table
  27201. #: guix-git/doc/guix.texi:18293
  27202. msgid "The SLiM package to use."
  27203. msgstr ""
  27204. #. type: defvr
  27205. #: guix-git/doc/guix.texi:18296
  27206. #, no-wrap
  27207. msgid "{Scheme Variable} %default-theme"
  27208. msgstr ""
  27209. #. type: defvrx
  27210. #: guix-git/doc/guix.texi:18297
  27211. #, no-wrap
  27212. msgid "{Scheme Variable} %default-theme-name"
  27213. msgstr ""
  27214. #. type: defvr
  27215. #: guix-git/doc/guix.texi:18299
  27216. msgid "The default SLiM theme and its name."
  27217. msgstr ""
  27218. #. type: deftp
  27219. #: guix-git/doc/guix.texi:18302 guix-git/doc/guix.texi:18409
  27220. #, no-wrap
  27221. msgid "{Data Type} sddm-configuration"
  27222. msgstr ""
  27223. #. type: deftp
  27224. #: guix-git/doc/guix.texi:18304
  27225. msgid "This is the data type representing the SDDM service configuration."
  27226. msgstr ""
  27227. #. type: item
  27228. #: guix-git/doc/guix.texi:18306
  27229. #, no-wrap
  27230. msgid "@code{display-server} (default: \"x11\")"
  27231. msgstr ""
  27232. #. type: table
  27233. #: guix-git/doc/guix.texi:18309
  27234. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  27235. msgstr ""
  27236. #. type: item
  27237. #: guix-git/doc/guix.texi:18310
  27238. #, no-wrap
  27239. msgid "@code{numlock} (default: \"on\")"
  27240. msgstr ""
  27241. #. type: table
  27242. #: guix-git/doc/guix.texi:18312
  27243. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  27244. msgstr ""
  27245. #. type: item
  27246. #: guix-git/doc/guix.texi:18313
  27247. #, no-wrap
  27248. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  27249. msgstr ""
  27250. #. type: table
  27251. #: guix-git/doc/guix.texi:18315
  27252. msgid "Command to run when halting."
  27253. msgstr ""
  27254. #. type: item
  27255. #: guix-git/doc/guix.texi:18316
  27256. #, no-wrap
  27257. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  27258. msgstr ""
  27259. #. type: table
  27260. #: guix-git/doc/guix.texi:18318
  27261. msgid "Command to run when rebooting."
  27262. msgstr ""
  27263. #. type: item
  27264. #: guix-git/doc/guix.texi:18319
  27265. #, no-wrap
  27266. msgid "@code{theme} (default \"maldives\")"
  27267. msgstr ""
  27268. #. type: table
  27269. #: guix-git/doc/guix.texi:18322
  27270. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  27271. msgstr ""
  27272. #. type: item
  27273. #: guix-git/doc/guix.texi:18323
  27274. #, no-wrap
  27275. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  27276. msgstr ""
  27277. #. type: table
  27278. #: guix-git/doc/guix.texi:18325
  27279. msgid "Directory to look for themes."
  27280. msgstr ""
  27281. #. type: item
  27282. #: guix-git/doc/guix.texi:18326
  27283. #, no-wrap
  27284. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  27285. msgstr ""
  27286. #. type: table
  27287. #: guix-git/doc/guix.texi:18328
  27288. msgid "Directory to look for faces."
  27289. msgstr ""
  27290. #. type: item
  27291. #: guix-git/doc/guix.texi:18329
  27292. #, no-wrap
  27293. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  27294. msgstr ""
  27295. #. type: table
  27296. #: guix-git/doc/guix.texi:18331
  27297. msgid "Default PATH to use."
  27298. msgstr ""
  27299. #. type: item
  27300. #: guix-git/doc/guix.texi:18332
  27301. #, no-wrap
  27302. msgid "@code{minimum-uid} (default: 1000)"
  27303. msgstr ""
  27304. #. type: table
  27305. #: guix-git/doc/guix.texi:18334
  27306. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  27307. msgstr ""
  27308. #. type: item
  27309. #: guix-git/doc/guix.texi:18335
  27310. #, no-wrap
  27311. msgid "@code{maximum-uid} (default: 2000)"
  27312. msgstr ""
  27313. #. type: table
  27314. #: guix-git/doc/guix.texi:18337
  27315. msgid "Maximum UID to display in SDDM."
  27316. msgstr ""
  27317. #. type: item
  27318. #: guix-git/doc/guix.texi:18338
  27319. #, no-wrap
  27320. msgid "@code{remember-last-user?} (default #t)"
  27321. msgstr ""
  27322. #. type: table
  27323. #: guix-git/doc/guix.texi:18340
  27324. msgid "Remember last user."
  27325. msgstr ""
  27326. #. type: item
  27327. #: guix-git/doc/guix.texi:18341
  27328. #, no-wrap
  27329. msgid "@code{remember-last-session?} (default #t)"
  27330. msgstr ""
  27331. #. type: table
  27332. #: guix-git/doc/guix.texi:18343
  27333. msgid "Remember last session."
  27334. msgstr ""
  27335. #. type: item
  27336. #: guix-git/doc/guix.texi:18344
  27337. #, no-wrap
  27338. msgid "@code{hide-users} (default \"\")"
  27339. msgstr ""
  27340. #. type: table
  27341. #: guix-git/doc/guix.texi:18346
  27342. msgid "Usernames to hide from SDDM greeter."
  27343. msgstr ""
  27344. #. type: item
  27345. #: guix-git/doc/guix.texi:18347
  27346. #, no-wrap
  27347. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  27348. msgstr ""
  27349. #. type: table
  27350. #: guix-git/doc/guix.texi:18349
  27351. msgid "Users with shells listed will be hidden from the SDDM greeter."
  27352. msgstr ""
  27353. #. type: item
  27354. #: guix-git/doc/guix.texi:18350
  27355. #, no-wrap
  27356. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  27357. msgstr ""
  27358. #. type: table
  27359. #: guix-git/doc/guix.texi:18352
  27360. msgid "Script to run before starting a wayland session."
  27361. msgstr ""
  27362. #. type: item
  27363. #: guix-git/doc/guix.texi:18353
  27364. #, no-wrap
  27365. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  27366. msgstr ""
  27367. #. type: table
  27368. #: guix-git/doc/guix.texi:18355
  27369. msgid "Directory to look for desktop files starting wayland sessions."
  27370. msgstr ""
  27371. #. type: item
  27372. #: guix-git/doc/guix.texi:18359
  27373. #, no-wrap
  27374. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  27375. msgstr ""
  27376. #. type: table
  27377. #: guix-git/doc/guix.texi:18361
  27378. msgid "Path to xauth."
  27379. msgstr ""
  27380. #. type: item
  27381. #: guix-git/doc/guix.texi:18362
  27382. #, no-wrap
  27383. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  27384. msgstr ""
  27385. #. type: table
  27386. #: guix-git/doc/guix.texi:18364
  27387. msgid "Path to Xephyr."
  27388. msgstr ""
  27389. #. type: item
  27390. #: guix-git/doc/guix.texi:18365
  27391. #, no-wrap
  27392. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  27393. msgstr ""
  27394. #. type: table
  27395. #: guix-git/doc/guix.texi:18367
  27396. msgid "Script to run after starting xorg-server."
  27397. msgstr ""
  27398. #. type: item
  27399. #: guix-git/doc/guix.texi:18368
  27400. #, no-wrap
  27401. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  27402. msgstr ""
  27403. #. type: table
  27404. #: guix-git/doc/guix.texi:18370
  27405. msgid "Script to run before stopping xorg-server."
  27406. msgstr ""
  27407. #. type: item
  27408. #: guix-git/doc/guix.texi:18371
  27409. #, no-wrap
  27410. msgid "@code{xsession-command} (default: @code{xinitrc})"
  27411. msgstr ""
  27412. #. type: item
  27413. #: guix-git/doc/guix.texi:18374
  27414. #, no-wrap
  27415. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  27416. msgstr ""
  27417. #. type: table
  27418. #: guix-git/doc/guix.texi:18376
  27419. msgid "Directory to look for desktop files starting X sessions."
  27420. msgstr ""
  27421. #. type: item
  27422. #: guix-git/doc/guix.texi:18377
  27423. #, no-wrap
  27424. msgid "@code{minimum-vt} (default: 7)"
  27425. msgstr ""
  27426. #. type: table
  27427. #: guix-git/doc/guix.texi:18379
  27428. msgid "Minimum VT to use."
  27429. msgstr ""
  27430. #. type: item
  27431. #: guix-git/doc/guix.texi:18380
  27432. #, no-wrap
  27433. msgid "@code{auto-login-user} (default \"\")"
  27434. msgstr ""
  27435. #. type: table
  27436. #: guix-git/doc/guix.texi:18382
  27437. msgid "User to use for auto-login."
  27438. msgstr ""
  27439. #. type: item
  27440. #: guix-git/doc/guix.texi:18383
  27441. #, no-wrap
  27442. msgid "@code{auto-login-session} (default \"\")"
  27443. msgstr ""
  27444. #. type: table
  27445. #: guix-git/doc/guix.texi:18385
  27446. msgid "Desktop file to use for auto-login."
  27447. msgstr ""
  27448. #. type: item
  27449. #: guix-git/doc/guix.texi:18386
  27450. #, no-wrap
  27451. msgid "@code{relogin?} (default #f)"
  27452. msgstr ""
  27453. #. type: table
  27454. #: guix-git/doc/guix.texi:18388
  27455. msgid "Relogin after logout."
  27456. msgstr ""
  27457. #. type: cindex
  27458. #: guix-git/doc/guix.texi:18393
  27459. #, no-wrap
  27460. msgid "X11 login"
  27461. msgstr ""
  27462. #. type: defvr
  27463. #: guix-git/doc/guix.texi:18394
  27464. #, no-wrap
  27465. msgid "{Scheme Variable} sddm-service-type"
  27466. msgstr ""
  27467. #. type: defvr
  27468. #: guix-git/doc/guix.texi:18398
  27469. 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)."
  27470. msgstr ""
  27471. #. type: defvr
  27472. #: guix-git/doc/guix.texi:18400
  27473. msgid "Here's an example use:"
  27474. msgstr ""
  27475. #. type: lisp
  27476. #: guix-git/doc/guix.texi:18406
  27477. #, no-wrap
  27478. msgid ""
  27479. "(service sddm-service-type\n"
  27480. " (sddm-configuration\n"
  27481. " (auto-login-user \"alice\")\n"
  27482. " (auto-login-session \"xfce.desktop\")))\n"
  27483. msgstr ""
  27484. #. type: deftp
  27485. #: guix-git/doc/guix.texi:18412
  27486. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  27487. msgstr ""
  27488. #. type: item
  27489. #: guix-git/doc/guix.texi:18414
  27490. #, no-wrap
  27491. msgid "@code{sddm} (default: @code{sddm})"
  27492. msgstr ""
  27493. #. type: table
  27494. #: guix-git/doc/guix.texi:18416
  27495. msgid "The SDDM package to use."
  27496. msgstr ""
  27497. #. type: item
  27498. #: guix-git/doc/guix.texi:18417
  27499. #, no-wrap
  27500. msgid "@code{display-server} (default: @code{\"x11\"})"
  27501. msgstr ""
  27502. #. type: table
  27503. #: guix-git/doc/guix.texi:18419
  27504. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  27505. msgstr ""
  27506. #. type: item
  27507. #: guix-git/doc/guix.texi:18422
  27508. #, no-wrap
  27509. msgid "@code{auto-login-user} (default: @code{\"\"})"
  27510. msgstr ""
  27511. #. type: table
  27512. #: guix-git/doc/guix.texi:18425
  27513. msgid "If non-empty, this is the user account under which to log in automatically."
  27514. msgstr ""
  27515. #. type: item
  27516. #: guix-git/doc/guix.texi:18426
  27517. #, no-wrap
  27518. msgid "@code{auto-login-session} (default: @code{\"\"})"
  27519. msgstr ""
  27520. #. type: table
  27521. #: guix-git/doc/guix.texi:18429
  27522. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  27523. msgstr ""
  27524. #. type: cindex
  27525. #: guix-git/doc/guix.texi:18432
  27526. #, no-wrap
  27527. msgid "Xorg, configuration"
  27528. msgstr ""
  27529. #. type: deftp
  27530. #: guix-git/doc/guix.texi:18433
  27531. #, no-wrap
  27532. msgid "{Data Type} xorg-configuration"
  27533. msgstr ""
  27534. #. type: deftp
  27535. #: guix-git/doc/guix.texi:18438
  27536. 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."
  27537. msgstr ""
  27538. #. type: item
  27539. #: guix-git/doc/guix.texi:18440
  27540. #, no-wrap
  27541. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  27542. msgstr ""
  27543. #. type: table
  27544. #: guix-git/doc/guix.texi:18443
  27545. 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."
  27546. msgstr ""
  27547. #. type: item
  27548. #: guix-git/doc/guix.texi:18444
  27549. #, no-wrap
  27550. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  27551. msgstr ""
  27552. #. type: table
  27553. #: guix-git/doc/guix.texi:18446
  27554. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  27555. msgstr ""
  27556. #. type: item
  27557. #: guix-git/doc/guix.texi:18447
  27558. #, no-wrap
  27559. msgid "@code{drivers} (default: @code{'()})"
  27560. msgstr ""
  27561. #. type: table
  27562. #: guix-git/doc/guix.texi:18451
  27563. 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\")}."
  27564. msgstr ""
  27565. #. type: item
  27566. #: guix-git/doc/guix.texi:18452
  27567. #, no-wrap
  27568. msgid "@code{resolutions} (default: @code{'()})"
  27569. msgstr ""
  27570. #. type: table
  27571. #: guix-git/doc/guix.texi:18456
  27572. 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))}."
  27573. msgstr ""
  27574. #. type: cindex
  27575. #: guix-git/doc/guix.texi:18457
  27576. #, no-wrap
  27577. msgid "keyboard layout, for Xorg"
  27578. msgstr ""
  27579. #. type: cindex
  27580. #: guix-git/doc/guix.texi:18458
  27581. #, no-wrap
  27582. msgid "keymap, for Xorg"
  27583. msgstr ""
  27584. #. type: table
  27585. #: guix-git/doc/guix.texi:18462
  27586. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27587. msgstr ""
  27588. #. type: table
  27589. #: guix-git/doc/guix.texi:18466
  27590. 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."
  27591. msgstr ""
  27592. #. type: item
  27593. #: guix-git/doc/guix.texi:18467 guix-git/doc/guix.texi:20172
  27594. #: guix-git/doc/guix.texi:32929
  27595. #, no-wrap
  27596. msgid "@code{extra-config} (default: @code{'()})"
  27597. msgstr ""
  27598. #. type: table
  27599. #: guix-git/doc/guix.texi:18470 guix-git/doc/guix.texi:32933
  27600. 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."
  27601. msgstr ""
  27602. #. type: item
  27603. #: guix-git/doc/guix.texi:18471
  27604. #, no-wrap
  27605. msgid "@code{server} (default: @code{xorg-server})"
  27606. msgstr ""
  27607. #. type: table
  27608. #: guix-git/doc/guix.texi:18473
  27609. msgid "This is the package providing the Xorg server."
  27610. msgstr ""
  27611. #. type: item
  27612. #: guix-git/doc/guix.texi:18474
  27613. #, no-wrap
  27614. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  27615. msgstr ""
  27616. #. type: table
  27617. #: guix-git/doc/guix.texi:18477
  27618. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  27619. msgstr ""
  27620. #. type: deffn
  27621. #: guix-git/doc/guix.texi:18480
  27622. #, no-wrap
  27623. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  27624. msgstr ""
  27625. #. type: deffn
  27626. #: guix-git/doc/guix.texi:18484
  27627. 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."
  27628. msgstr ""
  27629. #. type: deffn
  27630. #: guix-git/doc/guix.texi:18488
  27631. 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."
  27632. msgstr ""
  27633. #. type: deffn
  27634. #: guix-git/doc/guix.texi:18490
  27635. #, no-wrap
  27636. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  27637. msgstr ""
  27638. #. type: deffn
  27639. #: guix-git/doc/guix.texi:18494
  27640. 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}."
  27641. msgstr ""
  27642. #. type: deffn
  27643. #: guix-git/doc/guix.texi:18496
  27644. msgid "Usually the X server is started by a login manager."
  27645. msgstr ""
  27646. #. type: deffn
  27647. #: guix-git/doc/guix.texi:18499
  27648. #, no-wrap
  27649. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  27650. msgstr ""
  27651. #. type: deffn
  27652. #: guix-git/doc/guix.texi:18503
  27653. 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:"
  27654. msgstr ""
  27655. #. type: lisp
  27656. #: guix-git/doc/guix.texi:18506
  27657. #, no-wrap
  27658. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  27659. msgstr ""
  27660. #. type: deffn
  27661. #: guix-git/doc/guix.texi:18509
  27662. msgid "makes the good ol' XlockMore usable."
  27663. msgstr ""
  27664. #. type: cindex
  27665. #: guix-git/doc/guix.texi:18515
  27666. #, no-wrap
  27667. msgid "printer support with CUPS"
  27668. msgstr ""
  27669. #. type: Plain text
  27670. #: guix-git/doc/guix.texi:18519
  27671. 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:"
  27672. msgstr ""
  27673. #. type: deffn
  27674. #: guix-git/doc/guix.texi:18520
  27675. #, no-wrap
  27676. msgid "{Scheme Variable} cups-service-type"
  27677. msgstr ""
  27678. #. type: deffn
  27679. #: guix-git/doc/guix.texi:18524
  27680. 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:"
  27681. msgstr ""
  27682. #. type: lisp
  27683. #: guix-git/doc/guix.texi:18526
  27684. #, no-wrap
  27685. msgid "(service cups-service-type)\n"
  27686. msgstr ""
  27687. #. type: Plain text
  27688. #: guix-git/doc/guix.texi:18536
  27689. 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."
  27690. msgstr ""
  27691. #. type: Plain text
  27692. #: guix-git/doc/guix.texi:18542
  27693. 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):"
  27694. msgstr ""
  27695. #. type: lisp
  27696. #: guix-git/doc/guix.texi:18549
  27697. #, no-wrap
  27698. msgid ""
  27699. "(service cups-service-type\n"
  27700. " (cups-configuration\n"
  27701. " (web-interface? #t)\n"
  27702. " (extensions\n"
  27703. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  27704. msgstr ""
  27705. #. type: Plain text
  27706. #: guix-git/doc/guix.texi:18554
  27707. 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."
  27708. msgstr ""
  27709. #. type: Plain text
  27710. #: guix-git/doc/guix.texi:18561
  27711. 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."
  27712. msgstr ""
  27713. #. type: Plain text
  27714. #: guix-git/doc/guix.texi:18572
  27715. msgid "Available @code{cups-configuration} fields are:"
  27716. msgstr ""
  27717. #. type: deftypevr
  27718. #: guix-git/doc/guix.texi:18573
  27719. #, no-wrap
  27720. msgid "{@code{cups-configuration} parameter} package cups"
  27721. msgstr ""
  27722. #. type: deftypevr
  27723. #: guix-git/doc/guix.texi:18575 guix-git/doc/guix.texi:19337
  27724. msgid "The CUPS package."
  27725. msgstr ""
  27726. #. type: deftypevr
  27727. #: guix-git/doc/guix.texi:18577
  27728. #, no-wrap
  27729. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  27730. msgstr ""
  27731. #. type: deftypevr
  27732. #: guix-git/doc/guix.texi:18579
  27733. msgid "Drivers and other extensions to the CUPS package."
  27734. msgstr ""
  27735. #. type: deftypevr
  27736. #: guix-git/doc/guix.texi:18581
  27737. #, no-wrap
  27738. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  27739. msgstr ""
  27740. #. type: deftypevr
  27741. #: guix-git/doc/guix.texi:18584
  27742. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  27743. msgstr ""
  27744. #. type: deftypevr
  27745. #: guix-git/doc/guix.texi:18586
  27746. msgid "Available @code{files-configuration} fields are:"
  27747. msgstr ""
  27748. #. type: deftypevr
  27749. #: guix-git/doc/guix.texi:18587
  27750. #, no-wrap
  27751. msgid "{@code{files-configuration} parameter} log-location access-log"
  27752. msgstr ""
  27753. #. type: deftypevr
  27754. #: guix-git/doc/guix.texi:18595
  27755. 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}."
  27756. msgstr ""
  27757. #. type: deftypevr
  27758. #: guix-git/doc/guix.texi:18597
  27759. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  27760. msgstr ""
  27761. #. type: deftypevr
  27762. #: guix-git/doc/guix.texi:18599
  27763. #, no-wrap
  27764. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  27765. msgstr ""
  27766. #. type: deftypevr
  27767. #: guix-git/doc/guix.texi:18601
  27768. msgid "Where CUPS should cache data."
  27769. msgstr ""
  27770. #. type: deftypevr
  27771. #: guix-git/doc/guix.texi:18603
  27772. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  27773. msgstr ""
  27774. #. type: deftypevr
  27775. #: guix-git/doc/guix.texi:18605
  27776. #, no-wrap
  27777. msgid "{@code{files-configuration} parameter} string config-file-perm"
  27778. msgstr ""
  27779. #. type: deftypevr
  27780. #: guix-git/doc/guix.texi:18608
  27781. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  27782. msgstr ""
  27783. #. type: deftypevr
  27784. #: guix-git/doc/guix.texi:18614
  27785. 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."
  27786. msgstr ""
  27787. #. type: deftypevr
  27788. #: guix-git/doc/guix.texi:18616
  27789. msgid "Defaults to @samp{\"0640\"}."
  27790. msgstr ""
  27791. #. type: deftypevr
  27792. #: guix-git/doc/guix.texi:18618
  27793. #, no-wrap
  27794. msgid "{@code{files-configuration} parameter} log-location error-log"
  27795. msgstr ""
  27796. #. type: deftypevr
  27797. #: guix-git/doc/guix.texi:18626
  27798. 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}."
  27799. msgstr ""
  27800. #. type: deftypevr
  27801. #: guix-git/doc/guix.texi:18628
  27802. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  27803. msgstr ""
  27804. #. type: deftypevr
  27805. #: guix-git/doc/guix.texi:18630
  27806. #, no-wrap
  27807. msgid "{@code{files-configuration} parameter} string fatal-errors"
  27808. msgstr ""
  27809. #. type: deftypevr
  27810. #: guix-git/doc/guix.texi:18633
  27811. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  27812. msgstr ""
  27813. #. type: table
  27814. #: guix-git/doc/guix.texi:18637
  27815. msgid "No errors are fatal."
  27816. msgstr ""
  27817. #. type: table
  27818. #: guix-git/doc/guix.texi:18640
  27819. msgid "All of the errors below are fatal."
  27820. msgstr ""
  27821. #. type: item
  27822. #: guix-git/doc/guix.texi:18641
  27823. #, no-wrap
  27824. msgid "browse"
  27825. msgstr ""
  27826. #. type: table
  27827. #: guix-git/doc/guix.texi:18644
  27828. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  27829. msgstr ""
  27830. #. type: item
  27831. #: guix-git/doc/guix.texi:18645
  27832. #, no-wrap
  27833. msgid "config"
  27834. msgstr ""
  27835. #. type: table
  27836. #: guix-git/doc/guix.texi:18647
  27837. msgid "Configuration file syntax errors are fatal."
  27838. msgstr ""
  27839. #. type: item
  27840. #: guix-git/doc/guix.texi:18648
  27841. #, no-wrap
  27842. msgid "listen"
  27843. msgstr ""
  27844. #. type: table
  27845. #: guix-git/doc/guix.texi:18651
  27846. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  27847. msgstr ""
  27848. #. type: item
  27849. #: guix-git/doc/guix.texi:18652
  27850. #, no-wrap
  27851. msgid "log"
  27852. msgstr ""
  27853. #. type: table
  27854. #: guix-git/doc/guix.texi:18654
  27855. msgid "Log file creation or write errors are fatal."
  27856. msgstr ""
  27857. #. type: item
  27858. #: guix-git/doc/guix.texi:18655
  27859. #, no-wrap
  27860. msgid "permissions"
  27861. msgstr ""
  27862. #. type: table
  27863. #: guix-git/doc/guix.texi:18658
  27864. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  27865. msgstr ""
  27866. #. type: deftypevr
  27867. #: guix-git/doc/guix.texi:18661
  27868. msgid "Defaults to @samp{\"all -browse\"}."
  27869. msgstr ""
  27870. #. type: deftypevr
  27871. #: guix-git/doc/guix.texi:18663
  27872. #, no-wrap
  27873. msgid "{@code{files-configuration} parameter} boolean file-device?"
  27874. msgstr ""
  27875. #. type: deftypevr
  27876. #: guix-git/doc/guix.texi:18666
  27877. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  27878. msgstr ""
  27879. #. type: deftypevr
  27880. #: guix-git/doc/guix.texi:18670
  27881. #, no-wrap
  27882. msgid "{@code{files-configuration} parameter} string group"
  27883. msgstr ""
  27884. #. type: deftypevr
  27885. #: guix-git/doc/guix.texi:18673
  27886. msgid "Specifies the group name or ID that will be used when executing external programs."
  27887. msgstr ""
  27888. #. type: deftypevr
  27889. #: guix-git/doc/guix.texi:18675 guix-git/doc/guix.texi:18755
  27890. msgid "Defaults to @samp{\"lp\"}."
  27891. msgstr ""
  27892. #. type: deftypevr
  27893. #: guix-git/doc/guix.texi:18677
  27894. #, no-wrap
  27895. msgid "{@code{files-configuration} parameter} string log-file-perm"
  27896. msgstr ""
  27897. #. type: deftypevr
  27898. #: guix-git/doc/guix.texi:18679
  27899. msgid "Specifies the permissions for all log files that the scheduler writes."
  27900. msgstr ""
  27901. #. type: deftypevr
  27902. #: guix-git/doc/guix.texi:18681
  27903. msgid "Defaults to @samp{\"0644\"}."
  27904. msgstr ""
  27905. #. type: deftypevr
  27906. #: guix-git/doc/guix.texi:18683
  27907. #, no-wrap
  27908. msgid "{@code{files-configuration} parameter} log-location page-log"
  27909. msgstr ""
  27910. #. type: deftypevr
  27911. #: guix-git/doc/guix.texi:18691
  27912. 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}."
  27913. msgstr ""
  27914. #. type: deftypevr
  27915. #: guix-git/doc/guix.texi:18693
  27916. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27917. msgstr ""
  27918. #. type: deftypevr
  27919. #: guix-git/doc/guix.texi:18695
  27920. #, no-wrap
  27921. msgid "{@code{files-configuration} parameter} string remote-root"
  27922. msgstr ""
  27923. #. type: deftypevr
  27924. #: guix-git/doc/guix.texi:18698
  27925. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27926. msgstr ""
  27927. #. type: deftypevr
  27928. #: guix-git/doc/guix.texi:18700
  27929. msgid "Defaults to @samp{\"remroot\"}."
  27930. msgstr ""
  27931. #. type: deftypevr
  27932. #: guix-git/doc/guix.texi:18702
  27933. #, no-wrap
  27934. msgid "{@code{files-configuration} parameter} file-name request-root"
  27935. msgstr ""
  27936. #. type: deftypevr
  27937. #: guix-git/doc/guix.texi:18705
  27938. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27939. msgstr ""
  27940. #. type: deftypevr
  27941. #: guix-git/doc/guix.texi:18707
  27942. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27943. msgstr ""
  27944. #. type: deftypevr
  27945. #: guix-git/doc/guix.texi:18709
  27946. #, no-wrap
  27947. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27948. msgstr ""
  27949. #. type: deftypevr
  27950. #: guix-git/doc/guix.texi:18714
  27951. 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."
  27952. msgstr ""
  27953. #. type: deftypevr
  27954. #: guix-git/doc/guix.texi:18716
  27955. msgid "Defaults to @samp{strict}."
  27956. msgstr ""
  27957. #. type: deftypevr
  27958. #: guix-git/doc/guix.texi:18718
  27959. #, no-wrap
  27960. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27961. msgstr ""
  27962. #. type: deftypevr
  27963. #: guix-git/doc/guix.texi:18723
  27964. 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."
  27965. msgstr ""
  27966. #. type: deftypevr
  27967. #: guix-git/doc/guix.texi:18725
  27968. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27969. msgstr ""
  27970. #. type: deftypevr
  27971. #: guix-git/doc/guix.texi:18727
  27972. #, no-wrap
  27973. msgid "{@code{files-configuration} parameter} file-name server-root"
  27974. msgstr ""
  27975. #. type: deftypevr
  27976. #: guix-git/doc/guix.texi:18729
  27977. msgid "Specifies the directory containing the server configuration files."
  27978. msgstr ""
  27979. #. type: deftypevr
  27980. #: guix-git/doc/guix.texi:18731
  27981. msgid "Defaults to @samp{\"/etc/cups\"}."
  27982. msgstr ""
  27983. #. type: deftypevr
  27984. #: guix-git/doc/guix.texi:18733
  27985. #, no-wrap
  27986. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27987. msgstr ""
  27988. #. type: deftypevr
  27989. #: guix-git/doc/guix.texi:18736
  27990. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27991. msgstr ""
  27992. #. type: deftypevr
  27993. #: guix-git/doc/guix.texi:18740
  27994. #, no-wrap
  27995. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27996. msgstr ""
  27997. #. type: deftypevr
  27998. #: guix-git/doc/guix.texi:18742
  27999. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  28000. msgstr ""
  28001. #. type: deftypevr
  28002. #: guix-git/doc/guix.texi:18744
  28003. #, no-wrap
  28004. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  28005. msgstr ""
  28006. #. type: deftypevr
  28007. #: guix-git/doc/guix.texi:18746
  28008. msgid "Specifies the directory where temporary files are stored."
  28009. msgstr ""
  28010. #. type: deftypevr
  28011. #: guix-git/doc/guix.texi:18748
  28012. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  28013. msgstr ""
  28014. #. type: deftypevr
  28015. #: guix-git/doc/guix.texi:18750
  28016. #, no-wrap
  28017. msgid "{@code{files-configuration} parameter} string user"
  28018. msgstr ""
  28019. #. type: deftypevr
  28020. #: guix-git/doc/guix.texi:18753
  28021. msgid "Specifies the user name or ID that is used when running external programs."
  28022. msgstr ""
  28023. #. type: deftypevr
  28024. #: guix-git/doc/guix.texi:18757
  28025. #, no-wrap
  28026. msgid "{@code{files-configuration} parameter} string set-env"
  28027. msgstr ""
  28028. #. type: deftypevr
  28029. #: guix-git/doc/guix.texi:18759
  28030. msgid "Set the specified environment variable to be passed to child processes."
  28031. msgstr ""
  28032. #. type: deftypevr
  28033. #: guix-git/doc/guix.texi:18761
  28034. msgid "Defaults to @samp{\"variable value\"}."
  28035. msgstr ""
  28036. #. type: deftypevr
  28037. #: guix-git/doc/guix.texi:18764
  28038. #, no-wrap
  28039. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  28040. msgstr ""
  28041. #. type: deftypevr
  28042. #: guix-git/doc/guix.texi:18771
  28043. 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."
  28044. msgstr ""
  28045. #. type: deftypevr
  28046. #: guix-git/doc/guix.texi:18773
  28047. msgid "Defaults to @samp{actions}."
  28048. msgstr ""
  28049. #. type: deftypevr
  28050. #: guix-git/doc/guix.texi:18775
  28051. #, no-wrap
  28052. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  28053. msgstr ""
  28054. #. type: deftypevr
  28055. #: guix-git/doc/guix.texi:18778
  28056. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  28057. msgstr ""
  28058. #. type: deftypevr
  28059. #: guix-git/doc/guix.texi:18782
  28060. #, no-wrap
  28061. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  28062. msgstr ""
  28063. #. type: deftypevr
  28064. #: guix-git/doc/guix.texi:18786
  28065. 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."
  28066. msgstr ""
  28067. #. type: deftypevr
  28068. #: guix-git/doc/guix.texi:18788
  28069. msgid "Defaults to @samp{\"_cups\"}."
  28070. msgstr ""
  28071. #. type: deftypevr
  28072. #: guix-git/doc/guix.texi:18790
  28073. #, no-wrap
  28074. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  28075. msgstr ""
  28076. #. type: deftypevr
  28077. #: guix-git/doc/guix.texi:18792
  28078. msgid "Specifies which protocols to use for local printer sharing."
  28079. msgstr ""
  28080. #. type: deftypevr
  28081. #: guix-git/doc/guix.texi:18794
  28082. msgid "Defaults to @samp{dnssd}."
  28083. msgstr ""
  28084. #. type: deftypevr
  28085. #: guix-git/doc/guix.texi:18796
  28086. #, no-wrap
  28087. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  28088. msgstr ""
  28089. #. type: deftypevr
  28090. #: guix-git/doc/guix.texi:18798
  28091. msgid "Specifies whether the CUPS web interface is advertised."
  28092. msgstr ""
  28093. #. type: deftypevr
  28094. #: guix-git/doc/guix.texi:18802
  28095. #, no-wrap
  28096. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  28097. msgstr ""
  28098. #. type: deftypevr
  28099. #: guix-git/doc/guix.texi:18804
  28100. msgid "Specifies whether shared printers are advertised."
  28101. msgstr ""
  28102. #. type: deftypevr
  28103. #: guix-git/doc/guix.texi:18808
  28104. #, no-wrap
  28105. msgid "{@code{cups-configuration} parameter} string classification"
  28106. msgstr ""
  28107. #. type: deftypevr
  28108. #: guix-git/doc/guix.texi:18813
  28109. 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."
  28110. msgstr ""
  28111. #. type: deftypevr
  28112. #: guix-git/doc/guix.texi:18815 guix-git/doc/guix.texi:19146
  28113. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21141
  28114. #: guix-git/doc/guix.texi:21169 guix-git/doc/guix.texi:21926
  28115. #: guix-git/doc/guix.texi:21940 guix-git/doc/guix.texi:21947
  28116. #: guix-git/doc/guix.texi:21954 guix-git/doc/guix.texi:21984
  28117. #: guix-git/doc/guix.texi:22082 guix-git/doc/guix.texi:24201
  28118. #: guix-git/doc/guix.texi:24227 guix-git/doc/guix.texi:24263
  28119. #: guix-git/doc/guix.texi:24309 guix-git/doc/guix.texi:24328
  28120. #: guix-git/doc/guix.texi:24367 guix-git/doc/guix.texi:24426
  28121. #: guix-git/doc/guix.texi:24436 guix-git/doc/guix.texi:29025
  28122. #: guix-git/doc/guix.texi:29033 guix-git/doc/guix.texi:29041
  28123. #: guix-git/doc/guix.texi:29049 guix-git/doc/guix.texi:29328
  28124. #: guix-git/doc/guix.texi:30630 guix-git/doc/guix.texi:30638
  28125. #: guix-git/doc/guix.texi:30646 guix-git/doc/guix.texi:30754
  28126. #: guix-git/doc/guix.texi:30779 guix-git/doc/guix.texi:30910
  28127. #: guix-git/doc/guix.texi:30918 guix-git/doc/guix.texi:30926
  28128. #: guix-git/doc/guix.texi:30934 guix-git/doc/guix.texi:30942
  28129. #: guix-git/doc/guix.texi:30950 guix-git/doc/guix.texi:30973
  28130. #: guix-git/doc/guix.texi:30981 guix-git/doc/guix.texi:31033
  28131. #: guix-git/doc/guix.texi:31049 guix-git/doc/guix.texi:31057
  28132. #: guix-git/doc/guix.texi:31096 guix-git/doc/guix.texi:31119
  28133. #: guix-git/doc/guix.texi:31141 guix-git/doc/guix.texi:31148
  28134. #: guix-git/doc/guix.texi:31183 guix-git/doc/guix.texi:31191
  28135. #: guix-git/doc/guix.texi:31215 guix-git/doc/guix.texi:31247
  28136. #: guix-git/doc/guix.texi:31276 guix-git/doc/guix.texi:31283
  28137. #: guix-git/doc/guix.texi:31290 guix-git/doc/guix.texi:31298
  28138. #: guix-git/doc/guix.texi:31312 guix-git/doc/guix.texi:31321
  28139. #: guix-git/doc/guix.texi:31331 guix-git/doc/guix.texi:31338
  28140. #: guix-git/doc/guix.texi:31345 guix-git/doc/guix.texi:31352
  28141. #: guix-git/doc/guix.texi:31423 guix-git/doc/guix.texi:31430
  28142. #: guix-git/doc/guix.texi:31437 guix-git/doc/guix.texi:31446
  28143. #: guix-git/doc/guix.texi:31462 guix-git/doc/guix.texi:31469
  28144. #: guix-git/doc/guix.texi:31476 guix-git/doc/guix.texi:31483
  28145. #: guix-git/doc/guix.texi:31491 guix-git/doc/guix.texi:31499
  28146. msgid "Defaults to @samp{\"\"}."
  28147. msgstr ""
  28148. #. type: deftypevr
  28149. #: guix-git/doc/guix.texi:18817
  28150. #, no-wrap
  28151. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  28152. msgstr ""
  28153. #. type: deftypevr
  28154. #: guix-git/doc/guix.texi:18820
  28155. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  28156. msgstr ""
  28157. #. type: deftypevr
  28158. #: guix-git/doc/guix.texi:18824
  28159. #, no-wrap
  28160. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  28161. msgstr ""
  28162. #. type: deftypevr
  28163. #: guix-git/doc/guix.texi:18826
  28164. msgid "Specifies the default type of authentication to use."
  28165. msgstr ""
  28166. #. type: deftypevr
  28167. #: guix-git/doc/guix.texi:18828
  28168. msgid "Defaults to @samp{Basic}."
  28169. msgstr ""
  28170. #. type: deftypevr
  28171. #: guix-git/doc/guix.texi:18830
  28172. #, no-wrap
  28173. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  28174. msgstr ""
  28175. #. type: deftypevr
  28176. #: guix-git/doc/guix.texi:18832
  28177. msgid "Specifies whether encryption will be used for authenticated requests."
  28178. msgstr ""
  28179. #. type: deftypevr
  28180. #: guix-git/doc/guix.texi:18834
  28181. msgid "Defaults to @samp{Required}."
  28182. msgstr ""
  28183. #. type: deftypevr
  28184. #: guix-git/doc/guix.texi:18836
  28185. #, no-wrap
  28186. msgid "{@code{cups-configuration} parameter} string default-language"
  28187. msgstr ""
  28188. #. type: deftypevr
  28189. #: guix-git/doc/guix.texi:18838
  28190. msgid "Specifies the default language to use for text and web content."
  28191. msgstr ""
  28192. #. type: deftypevr
  28193. #: guix-git/doc/guix.texi:18840
  28194. msgid "Defaults to @samp{\"en\"}."
  28195. msgstr ""
  28196. #. type: deftypevr
  28197. #: guix-git/doc/guix.texi:18842
  28198. #, no-wrap
  28199. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  28200. msgstr ""
  28201. #. type: deftypevr
  28202. #: guix-git/doc/guix.texi:18847
  28203. 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\"}."
  28204. msgstr ""
  28205. #. type: deftypevr
  28206. #: guix-git/doc/guix.texi:18849
  28207. msgid "Defaults to @samp{\"Auto\"}."
  28208. msgstr ""
  28209. #. type: deftypevr
  28210. #: guix-git/doc/guix.texi:18851
  28211. #, no-wrap
  28212. msgid "{@code{cups-configuration} parameter} string default-policy"
  28213. msgstr ""
  28214. #. type: deftypevr
  28215. #: guix-git/doc/guix.texi:18853
  28216. msgid "Specifies the default access policy to use."
  28217. msgstr ""
  28218. #. type: deftypevr
  28219. #: guix-git/doc/guix.texi:18855
  28220. msgid "Defaults to @samp{\"default\"}."
  28221. msgstr ""
  28222. #. type: deftypevr
  28223. #: guix-git/doc/guix.texi:18857
  28224. #, no-wrap
  28225. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  28226. msgstr ""
  28227. #. type: deftypevr
  28228. #: guix-git/doc/guix.texi:18859
  28229. msgid "Specifies whether local printers are shared by default."
  28230. msgstr ""
  28231. #. type: deftypevr
  28232. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:18941
  28233. #: guix-git/doc/guix.texi:19231 guix-git/doc/guix.texi:22016
  28234. #: guix-git/doc/guix.texi:22067 guix-git/doc/guix.texi:22074
  28235. #: guix-git/doc/guix.texi:23356 guix-git/doc/guix.texi:23544
  28236. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23697
  28237. #: guix-git/doc/guix.texi:23748 guix-git/doc/guix.texi:23767
  28238. #: guix-git/doc/guix.texi:23777 guix-git/doc/guix.texi:23787
  28239. #: guix-git/doc/guix.texi:23846 guix-git/doc/guix.texi:23868
  28240. #: guix-git/doc/guix.texi:23893 guix-git/doc/guix.texi:23919
  28241. #: guix-git/doc/guix.texi:23937 guix-git/doc/guix.texi:27123
  28242. #: guix-git/doc/guix.texi:27151 guix-git/doc/guix.texi:27287
  28243. #: guix-git/doc/guix.texi:27294 guix-git/doc/guix.texi:27302
  28244. #: guix-git/doc/guix.texi:27339 guix-git/doc/guix.texi:27353
  28245. #: guix-git/doc/guix.texi:27442 guix-git/doc/guix.texi:27449
  28246. #: guix-git/doc/guix.texi:27457 guix-git/doc/guix.texi:28233
  28247. #: guix-git/doc/guix.texi:28373 guix-git/doc/guix.texi:28559
  28248. #: guix-git/doc/guix.texi:28566 guix-git/doc/guix.texi:28588
  28249. #: guix-git/doc/guix.texi:28627 guix-git/doc/guix.texi:28647
  28250. #: guix-git/doc/guix.texi:28661 guix-git/doc/guix.texi:28874
  28251. #: guix-git/doc/guix.texi:30732 guix-git/doc/guix.texi:30820
  28252. #: guix-git/doc/guix.texi:30836 guix-git/doc/guix.texi:30886
  28253. msgid "Defaults to @samp{#t}."
  28254. msgstr ""
  28255. #. type: deftypevr
  28256. #: guix-git/doc/guix.texi:18863
  28257. #, no-wrap
  28258. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  28259. msgstr ""
  28260. #. type: deftypevr
  28261. #: guix-git/doc/guix.texi:18867
  28262. 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."
  28263. msgstr ""
  28264. #. type: deftypevr
  28265. #: guix-git/doc/guix.texi:18869 guix-git/doc/guix.texi:18917
  28266. #: guix-git/doc/guix.texi:18926 guix-git/doc/guix.texi:19238
  28267. #: guix-git/doc/guix.texi:23706 guix-git/doc/guix.texi:23739
  28268. msgid "Defaults to @samp{30}."
  28269. msgstr ""
  28270. #. type: deftypevr
  28271. #: guix-git/doc/guix.texi:18871
  28272. #, no-wrap
  28273. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  28274. msgstr ""
  28275. #. type: deftypevr
  28276. #: guix-git/doc/guix.texi:18877
  28277. 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."
  28278. msgstr ""
  28279. #. type: deftypevr
  28280. #: guix-git/doc/guix.texi:18879
  28281. msgid "Defaults to @samp{stop-printer}."
  28282. msgstr ""
  28283. #. type: deftypevr
  28284. #: guix-git/doc/guix.texi:18881
  28285. #, no-wrap
  28286. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  28287. msgstr ""
  28288. #. type: deftypevr
  28289. #: guix-git/doc/guix.texi:18889
  28290. 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."
  28291. msgstr ""
  28292. #. type: deftypevr
  28293. #: guix-git/doc/guix.texi:18891 guix-git/doc/guix.texi:18899
  28294. #: guix-git/doc/guix.texi:18948 guix-git/doc/guix.texi:19064
  28295. #: guix-git/doc/guix.texi:19078 guix-git/doc/guix.texi:19085
  28296. #: guix-git/doc/guix.texi:20571 guix-git/doc/guix.texi:20587
  28297. #: guix-git/doc/guix.texi:21244 guix-git/doc/guix.texi:21256
  28298. #: guix-git/doc/guix.texi:22035 guix-git/doc/guix.texi:22044
  28299. #: guix-git/doc/guix.texi:22052 guix-git/doc/guix.texi:22060
  28300. #: guix-git/doc/guix.texi:28249 guix-git/doc/guix.texi:28574
  28301. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:31025
  28302. #: guix-git/doc/guix.texi:31199
  28303. msgid "Defaults to @samp{0}."
  28304. msgstr ""
  28305. #. type: deftypevr
  28306. #: guix-git/doc/guix.texi:18893
  28307. #, no-wrap
  28308. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  28309. msgstr ""
  28310. #. type: deftypevr
  28311. #: guix-git/doc/guix.texi:18897
  28312. 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."
  28313. msgstr ""
  28314. #. type: deftypevr
  28315. #: guix-git/doc/guix.texi:18901
  28316. #, no-wrap
  28317. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  28318. msgstr ""
  28319. #. type: deftypevr
  28320. #: guix-git/doc/guix.texi:18908
  28321. 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."
  28322. msgstr ""
  28323. #. type: deftypevr
  28324. #: guix-git/doc/guix.texi:18912
  28325. #, no-wrap
  28326. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  28327. msgstr ""
  28328. #. type: deftypevr
  28329. #: guix-git/doc/guix.texi:18915
  28330. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  28331. msgstr ""
  28332. #. type: deftypevr
  28333. #: guix-git/doc/guix.texi:18919
  28334. #, no-wrap
  28335. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  28336. msgstr ""
  28337. #. type: deftypevr
  28338. #: guix-git/doc/guix.texi:18924
  28339. 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}."
  28340. msgstr ""
  28341. #. type: deftypevr
  28342. #: guix-git/doc/guix.texi:18928
  28343. #, no-wrap
  28344. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  28345. msgstr ""
  28346. #. type: deftypevr
  28347. #: guix-git/doc/guix.texi:18933
  28348. 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}."
  28349. msgstr ""
  28350. #. type: deftypevr
  28351. #: guix-git/doc/guix.texi:18935 guix-git/doc/guix.texi:23670
  28352. #: guix-git/doc/guix.texi:29126 guix-git/doc/guix.texi:29146
  28353. #: guix-git/doc/guix.texi:29162 guix-git/doc/guix.texi:29176
  28354. #: guix-git/doc/guix.texi:29183 guix-git/doc/guix.texi:29190
  28355. #: guix-git/doc/guix.texi:29197 guix-git/doc/guix.texi:29357
  28356. #: guix-git/doc/guix.texi:29373 guix-git/doc/guix.texi:29380
  28357. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29398
  28358. #: guix-git/doc/guix.texi:30677 guix-git/doc/guix.texi:30685
  28359. #: guix-git/doc/guix.texi:30693 guix-git/doc/guix.texi:30717
  28360. msgid "Defaults to @samp{5}."
  28361. msgstr ""
  28362. #. type: deftypevr
  28363. #: guix-git/doc/guix.texi:18937
  28364. #, no-wrap
  28365. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  28366. msgstr ""
  28367. #. type: deftypevr
  28368. #: guix-git/doc/guix.texi:18939
  28369. msgid "Specifies whether to support HTTP keep-alive connections."
  28370. msgstr ""
  28371. #. type: deftypevr
  28372. #: guix-git/doc/guix.texi:18943
  28373. #, no-wrap
  28374. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  28375. msgstr ""
  28376. #. type: deftypevr
  28377. #: guix-git/doc/guix.texi:18946
  28378. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  28379. msgstr ""
  28380. #. type: deftypevr
  28381. #: guix-git/doc/guix.texi:18950
  28382. #, no-wrap
  28383. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  28384. msgstr ""
  28385. #. type: deftypevr
  28386. #: guix-git/doc/guix.texi:18957
  28387. 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."
  28388. msgstr ""
  28389. #. type: deftypevr
  28390. #: guix-git/doc/guix.texi:18959
  28391. #, no-wrap
  28392. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  28393. msgstr ""
  28394. #. type: deftypevr
  28395. #: guix-git/doc/guix.texi:18966
  28396. 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."
  28397. msgstr ""
  28398. #. type: deftypevr
  28399. #: guix-git/doc/guix.texi:18968
  28400. msgid "Defaults to @samp{128}."
  28401. msgstr ""
  28402. #. type: deftypevr
  28403. #: guix-git/doc/guix.texi:18970
  28404. #, no-wrap
  28405. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  28406. msgstr ""
  28407. #. type: deftypevr
  28408. #: guix-git/doc/guix.texi:18972
  28409. msgid "Specifies a set of additional access controls."
  28410. msgstr ""
  28411. #. type: deftypevr
  28412. #: guix-git/doc/guix.texi:18974
  28413. msgid "Available @code{location-access-controls} fields are:"
  28414. msgstr ""
  28415. #. type: deftypevr
  28416. #: guix-git/doc/guix.texi:18975
  28417. #, no-wrap
  28418. msgid "{@code{location-access-controls} parameter} file-name path"
  28419. msgstr ""
  28420. #. type: deftypevr
  28421. #: guix-git/doc/guix.texi:18977
  28422. msgid "Specifies the URI path to which the access control applies."
  28423. msgstr ""
  28424. #. type: deftypevr
  28425. #: guix-git/doc/guix.texi:18979
  28426. #, no-wrap
  28427. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  28428. msgstr ""
  28429. #. type: deftypevr
  28430. #: guix-git/doc/guix.texi:18982
  28431. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  28432. msgstr ""
  28433. #. type: deftypevr
  28434. #: guix-git/doc/guix.texi:18984 guix-git/doc/guix.texi:18990
  28435. #: guix-git/doc/guix.texi:19004 guix-git/doc/guix.texi:19011
  28436. #: guix-git/doc/guix.texi:19153 guix-git/doc/guix.texi:19212
  28437. #: guix-git/doc/guix.texi:19290 guix-git/doc/guix.texi:19304
  28438. #: guix-git/doc/guix.texi:20451 guix-git/doc/guix.texi:20460
  28439. #: guix-git/doc/guix.texi:21730 guix-git/doc/guix.texi:21933
  28440. #: guix-git/doc/guix.texi:21961 guix-git/doc/guix.texi:21991
  28441. #: guix-git/doc/guix.texi:22106 guix-git/doc/guix.texi:22119
  28442. #: guix-git/doc/guix.texi:22126 guix-git/doc/guix.texi:23876
  28443. #: guix-git/doc/guix.texi:24271 guix-git/doc/guix.texi:24375
  28444. #: guix-git/doc/guix.texi:24802 guix-git/doc/guix.texi:24810
  28445. #: guix-git/doc/guix.texi:25055 guix-git/doc/guix.texi:27182
  28446. #: guix-git/doc/guix.texi:27360 guix-git/doc/guix.texi:27559
  28447. #: guix-git/doc/guix.texi:29017 guix-git/doc/guix.texi:29077
  28448. #: guix-git/doc/guix.texi:29085 guix-git/doc/guix.texi:30740
  28449. #: guix-git/doc/guix.texi:30747 guix-git/doc/guix.texi:31089
  28450. #: guix-git/doc/guix.texi:31167 guix-git/doc/guix.texi:31261
  28451. #: guix-git/doc/guix.texi:31269 guix-git/doc/guix.texi:31305
  28452. #: guix-git/doc/guix.texi:31455 guix-git/doc/guix.texi:31506
  28453. #: guix-git/doc/guix.texi:31515
  28454. msgid "Defaults to @samp{()}."
  28455. msgstr ""
  28456. #. type: deftypevr
  28457. #: guix-git/doc/guix.texi:18986
  28458. #, no-wrap
  28459. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  28460. msgstr ""
  28461. #. type: deftypevr
  28462. #: guix-git/doc/guix.texi:18988
  28463. msgid "Access controls for method-specific access to this path."
  28464. msgstr ""
  28465. #. type: deftypevr
  28466. #: guix-git/doc/guix.texi:18992
  28467. msgid "Available @code{method-access-controls} fields are:"
  28468. msgstr ""
  28469. #. type: deftypevr
  28470. #: guix-git/doc/guix.texi:18993
  28471. #, no-wrap
  28472. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  28473. msgstr ""
  28474. #. type: deftypevr
  28475. #: guix-git/doc/guix.texi:18996
  28476. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  28477. msgstr ""
  28478. #. type: deftypevr
  28479. #: guix-git/doc/guix.texi:19000
  28480. #, no-wrap
  28481. msgid "{@code{method-access-controls} parameter} method-list methods"
  28482. msgstr ""
  28483. #. type: deftypevr
  28484. #: guix-git/doc/guix.texi:19002
  28485. msgid "Methods to which this access control applies."
  28486. msgstr ""
  28487. #. type: deftypevr
  28488. #: guix-git/doc/guix.texi:19006
  28489. #, no-wrap
  28490. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  28491. msgstr ""
  28492. #. type: deftypevr
  28493. #: guix-git/doc/guix.texi:19009
  28494. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  28495. msgstr ""
  28496. #. type: deftypevr
  28497. #: guix-git/doc/guix.texi:19015
  28498. #, no-wrap
  28499. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  28500. msgstr ""
  28501. #. type: deftypevr
  28502. #: guix-git/doc/guix.texi:19019
  28503. 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."
  28504. msgstr ""
  28505. #. type: deftypevr
  28506. #: guix-git/doc/guix.texi:19021 guix-git/doc/guix.texi:19042
  28507. #: guix-git/doc/guix.texi:19049 guix-git/doc/guix.texi:21490
  28508. #: guix-git/doc/guix.texi:23408 guix-git/doc/guix.texi:23423
  28509. #: guix-git/doc/guix.texi:27544
  28510. msgid "Defaults to @samp{100}."
  28511. msgstr ""
  28512. #. type: deftypevr
  28513. #: guix-git/doc/guix.texi:19023
  28514. #, no-wrap
  28515. msgid "{@code{cups-configuration} parameter} log-level log-level"
  28516. msgstr ""
  28517. #. type: deftypevr
  28518. #: guix-git/doc/guix.texi:19026
  28519. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  28520. msgstr ""
  28521. #. type: deftypevr
  28522. #: guix-git/doc/guix.texi:19028 guix-git/doc/guix.texi:23885
  28523. msgid "Defaults to @samp{info}."
  28524. msgstr ""
  28525. #. type: deftypevr
  28526. #: guix-git/doc/guix.texi:19030
  28527. #, no-wrap
  28528. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  28529. msgstr ""
  28530. #. type: deftypevr
  28531. #: guix-git/doc/guix.texi:19033
  28532. 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."
  28533. msgstr ""
  28534. #. type: deftypevr
  28535. #: guix-git/doc/guix.texi:19035
  28536. msgid "Defaults to @samp{standard}."
  28537. msgstr ""
  28538. #. type: deftypevr
  28539. #: guix-git/doc/guix.texi:19037
  28540. #, no-wrap
  28541. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  28542. msgstr ""
  28543. #. type: deftypevr
  28544. #: guix-git/doc/guix.texi:19040
  28545. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  28546. msgstr ""
  28547. #. type: deftypevr
  28548. #: guix-git/doc/guix.texi:19044
  28549. #, no-wrap
  28550. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  28551. msgstr ""
  28552. #. type: deftypevr
  28553. #: guix-git/doc/guix.texi:19047
  28554. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  28555. msgstr ""
  28556. #. type: deftypevr
  28557. #: guix-git/doc/guix.texi:19051
  28558. #, no-wrap
  28559. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  28560. msgstr ""
  28561. #. type: deftypevr
  28562. #: guix-git/doc/guix.texi:19054
  28563. msgid "Specifies the maximum number of copies that a user can print of each job."
  28564. msgstr ""
  28565. #. type: deftypevr
  28566. #: guix-git/doc/guix.texi:19056
  28567. msgid "Defaults to @samp{9999}."
  28568. msgstr ""
  28569. #. type: deftypevr
  28570. #: guix-git/doc/guix.texi:19058
  28571. #, no-wrap
  28572. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  28573. msgstr ""
  28574. #. type: deftypevr
  28575. #: guix-git/doc/guix.texi:19062
  28576. 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."
  28577. msgstr ""
  28578. #. type: deftypevr
  28579. #: guix-git/doc/guix.texi:19066
  28580. #, no-wrap
  28581. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  28582. msgstr ""
  28583. #. type: deftypevr
  28584. #: guix-git/doc/guix.texi:19069
  28585. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  28586. msgstr ""
  28587. #. type: deftypevr
  28588. #: guix-git/doc/guix.texi:19071
  28589. msgid "Defaults to @samp{500}."
  28590. msgstr ""
  28591. #. type: deftypevr
  28592. #: guix-git/doc/guix.texi:19073
  28593. #, no-wrap
  28594. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  28595. msgstr ""
  28596. #. type: deftypevr
  28597. #: guix-git/doc/guix.texi:19076
  28598. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  28599. msgstr ""
  28600. #. type: deftypevr
  28601. #: guix-git/doc/guix.texi:19080
  28602. #, no-wrap
  28603. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  28604. msgstr ""
  28605. #. type: deftypevr
  28606. #: guix-git/doc/guix.texi:19083
  28607. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  28608. msgstr ""
  28609. #. type: deftypevr
  28610. #: guix-git/doc/guix.texi:19087
  28611. #, no-wrap
  28612. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  28613. msgstr ""
  28614. #. type: deftypevr
  28615. #: guix-git/doc/guix.texi:19090
  28616. 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."
  28617. msgstr ""
  28618. #. type: deftypevr
  28619. #: guix-git/doc/guix.texi:19092
  28620. msgid "Defaults to @samp{10800}."
  28621. msgstr ""
  28622. #. type: deftypevr
  28623. #: guix-git/doc/guix.texi:19094
  28624. #, no-wrap
  28625. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  28626. msgstr ""
  28627. #. type: deftypevr
  28628. #: guix-git/doc/guix.texi:19097
  28629. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  28630. msgstr ""
  28631. #. type: deftypevr
  28632. #: guix-git/doc/guix.texi:19099
  28633. msgid "Defaults to @samp{1048576}."
  28634. msgstr ""
  28635. #. type: deftypevr
  28636. #: guix-git/doc/guix.texi:19101
  28637. #, no-wrap
  28638. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  28639. msgstr ""
  28640. #. type: deftypevr
  28641. #: guix-git/doc/guix.texi:19104
  28642. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  28643. msgstr ""
  28644. #. type: deftypevr
  28645. #: guix-git/doc/guix.texi:19106 guix-git/doc/guix.texi:19317
  28646. #: guix-git/doc/guix.texi:27116
  28647. msgid "Defaults to @samp{300}."
  28648. msgstr ""
  28649. #. type: deftypevr
  28650. #: guix-git/doc/guix.texi:19108
  28651. #, no-wrap
  28652. msgid "{@code{cups-configuration} parameter} string page-log-format"
  28653. msgstr ""
  28654. #. type: deftypevr
  28655. #: guix-git/doc/guix.texi:19113
  28656. 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:"
  28657. msgstr ""
  28658. #. type: item
  28659. #: guix-git/doc/guix.texi:19115
  28660. #, no-wrap
  28661. msgid "%%"
  28662. msgstr ""
  28663. #. type: table
  28664. #: guix-git/doc/guix.texi:19117
  28665. msgid "insert a single percent character"
  28666. msgstr ""
  28667. #. type: item
  28668. #: guix-git/doc/guix.texi:19118
  28669. #, no-wrap
  28670. msgid "%@{name@}"
  28671. msgstr ""
  28672. #. type: table
  28673. #: guix-git/doc/guix.texi:19120
  28674. msgid "insert the value of the specified IPP attribute"
  28675. msgstr ""
  28676. #. type: item
  28677. #: guix-git/doc/guix.texi:19121
  28678. #, no-wrap
  28679. msgid "%C"
  28680. msgstr ""
  28681. #. type: table
  28682. #: guix-git/doc/guix.texi:19123
  28683. msgid "insert the number of copies for the current page"
  28684. msgstr ""
  28685. #. type: item
  28686. #: guix-git/doc/guix.texi:19124
  28687. #, no-wrap
  28688. msgid "%P"
  28689. msgstr ""
  28690. #. type: table
  28691. #: guix-git/doc/guix.texi:19126
  28692. msgid "insert the current page number"
  28693. msgstr ""
  28694. #. type: item
  28695. #: guix-git/doc/guix.texi:19127
  28696. #, no-wrap
  28697. msgid "%T"
  28698. msgstr ""
  28699. #. type: table
  28700. #: guix-git/doc/guix.texi:19129
  28701. msgid "insert the current date and time in common log format"
  28702. msgstr ""
  28703. #. type: item
  28704. #: guix-git/doc/guix.texi:19130
  28705. #, no-wrap
  28706. msgid "%j"
  28707. msgstr ""
  28708. #. type: table
  28709. #: guix-git/doc/guix.texi:19132
  28710. msgid "insert the job ID"
  28711. msgstr ""
  28712. #. type: item
  28713. #: guix-git/doc/guix.texi:19133 guix-git/doc/guix.texi:21089
  28714. #, no-wrap
  28715. msgid "%p"
  28716. msgstr ""
  28717. #. type: table
  28718. #: guix-git/doc/guix.texi:19135
  28719. msgid "insert the printer name"
  28720. msgstr ""
  28721. #. type: item
  28722. #: guix-git/doc/guix.texi:19136 guix-git/doc/guix.texi:21112
  28723. #, no-wrap
  28724. msgid "%u"
  28725. msgstr ""
  28726. #. type: table
  28727. #: guix-git/doc/guix.texi:19138
  28728. msgid "insert the username"
  28729. msgstr ""
  28730. #. type: deftypevr
  28731. #: guix-git/doc/guix.texi:19144
  28732. 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."
  28733. msgstr ""
  28734. #. type: deftypevr
  28735. #: guix-git/doc/guix.texi:19148
  28736. #, no-wrap
  28737. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  28738. msgstr ""
  28739. #. type: deftypevr
  28740. #: guix-git/doc/guix.texi:19151
  28741. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  28742. msgstr ""
  28743. #. type: deftypevr
  28744. #: guix-git/doc/guix.texi:19155
  28745. #, no-wrap
  28746. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  28747. msgstr ""
  28748. #. type: deftypevr
  28749. #: guix-git/doc/guix.texi:19157
  28750. msgid "Specifies named access control policies."
  28751. msgstr ""
  28752. #. type: deftypevr
  28753. #: guix-git/doc/guix.texi:19159
  28754. msgid "Available @code{policy-configuration} fields are:"
  28755. msgstr ""
  28756. #. type: deftypevr
  28757. #: guix-git/doc/guix.texi:19160
  28758. #, no-wrap
  28759. msgid "{@code{policy-configuration} parameter} string name"
  28760. msgstr ""
  28761. #. type: deftypevr
  28762. #: guix-git/doc/guix.texi:19162
  28763. msgid "Name of the policy."
  28764. msgstr ""
  28765. #. type: deftypevr
  28766. #: guix-git/doc/guix.texi:19164
  28767. #, no-wrap
  28768. msgid "{@code{policy-configuration} parameter} string job-private-access"
  28769. msgstr ""
  28770. #. type: deftypevr
  28771. #: guix-git/doc/guix.texi:19174
  28772. 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}."
  28773. msgstr ""
  28774. #. type: deftypevr
  28775. #: guix-git/doc/guix.texi:19176 guix-git/doc/guix.texi:19198
  28776. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  28777. msgstr ""
  28778. #. type: deftypevr
  28779. #: guix-git/doc/guix.texi:19178
  28780. #, no-wrap
  28781. msgid "{@code{policy-configuration} parameter} string job-private-values"
  28782. msgstr ""
  28783. #. type: deftypevr
  28784. #: guix-git/doc/guix.texi:19181 guix-git/doc/guix.texi:19203
  28785. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  28786. msgstr ""
  28787. #. type: deftypevr
  28788. #: guix-git/doc/guix.texi:19184
  28789. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  28790. msgstr ""
  28791. #. type: deftypevr
  28792. #: guix-git/doc/guix.texi:19186
  28793. #, no-wrap
  28794. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  28795. msgstr ""
  28796. #. type: deftypevr
  28797. #: guix-git/doc/guix.texi:19196
  28798. 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}."
  28799. msgstr ""
  28800. #. type: deftypevr
  28801. #: guix-git/doc/guix.texi:19200
  28802. #, no-wrap
  28803. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  28804. msgstr ""
  28805. #. type: deftypevr
  28806. #: guix-git/doc/guix.texi:19206
  28807. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  28808. msgstr ""
  28809. #. type: deftypevr
  28810. #: guix-git/doc/guix.texi:19208
  28811. #, no-wrap
  28812. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  28813. msgstr ""
  28814. #. type: deftypevr
  28815. #: guix-git/doc/guix.texi:19210
  28816. msgid "Access control by IPP operation."
  28817. msgstr ""
  28818. #. type: deftypevr
  28819. #: guix-git/doc/guix.texi:19215
  28820. #, no-wrap
  28821. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  28822. msgstr ""
  28823. #. type: deftypevr
  28824. #: guix-git/doc/guix.texi:19220
  28825. 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."
  28826. msgstr ""
  28827. #. type: deftypevr
  28828. #: guix-git/doc/guix.texi:19222
  28829. msgid "Defaults to @samp{86400}."
  28830. msgstr ""
  28831. #. type: deftypevr
  28832. #: guix-git/doc/guix.texi:19224
  28833. #, no-wrap
  28834. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  28835. msgstr ""
  28836. #. type: deftypevr
  28837. #: guix-git/doc/guix.texi:19229
  28838. 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."
  28839. msgstr ""
  28840. #. type: deftypevr
  28841. #: guix-git/doc/guix.texi:19233
  28842. #, no-wrap
  28843. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  28844. msgstr ""
  28845. #. type: deftypevr
  28846. #: guix-git/doc/guix.texi:19236
  28847. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  28848. msgstr ""
  28849. #. type: deftypevr
  28850. #: guix-git/doc/guix.texi:19240
  28851. #, no-wrap
  28852. msgid "{@code{cups-configuration} parameter} string rip-cache"
  28853. msgstr ""
  28854. #. type: deftypevr
  28855. #: guix-git/doc/guix.texi:19243
  28856. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  28857. msgstr ""
  28858. #. type: deftypevr
  28859. #: guix-git/doc/guix.texi:19245
  28860. msgid "Defaults to @samp{\"128m\"}."
  28861. msgstr ""
  28862. #. type: deftypevr
  28863. #: guix-git/doc/guix.texi:19247
  28864. #, no-wrap
  28865. msgid "{@code{cups-configuration} parameter} string server-admin"
  28866. msgstr ""
  28867. #. type: deftypevr
  28868. #: guix-git/doc/guix.texi:19249
  28869. msgid "Specifies the email address of the server administrator."
  28870. msgstr ""
  28871. #. type: deftypevr
  28872. #: guix-git/doc/guix.texi:19251
  28873. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  28874. msgstr ""
  28875. #. type: deftypevr
  28876. #: guix-git/doc/guix.texi:19253
  28877. #, no-wrap
  28878. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  28879. msgstr ""
  28880. #. type: deftypevr
  28881. #: guix-git/doc/guix.texi:19261
  28882. 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{*}."
  28883. msgstr ""
  28884. #. type: deftypevr
  28885. #: guix-git/doc/guix.texi:19263
  28886. msgid "Defaults to @samp{*}."
  28887. msgstr ""
  28888. #. type: deftypevr
  28889. #: guix-git/doc/guix.texi:19265
  28890. #, no-wrap
  28891. msgid "{@code{cups-configuration} parameter} string server-name"
  28892. msgstr ""
  28893. #. type: deftypevr
  28894. #: guix-git/doc/guix.texi:19267
  28895. msgid "Specifies the fully-qualified host name of the server."
  28896. msgstr ""
  28897. #. type: deftypevr
  28898. #: guix-git/doc/guix.texi:19269 guix-git/doc/guix.texi:24398
  28899. #: guix-git/doc/guix.texi:24443
  28900. msgid "Defaults to @samp{\"localhost\"}."
  28901. msgstr ""
  28902. #. type: deftypevr
  28903. #: guix-git/doc/guix.texi:19271
  28904. #, no-wrap
  28905. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  28906. msgstr ""
  28907. #. type: deftypevr
  28908. #: guix-git/doc/guix.texi:19279
  28909. 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}."
  28910. msgstr ""
  28911. #. type: deftypevr
  28912. #: guix-git/doc/guix.texi:19281
  28913. msgid "Defaults to @samp{Minimal}."
  28914. msgstr ""
  28915. #. type: deftypevr
  28916. #: guix-git/doc/guix.texi:19283
  28917. #, no-wrap
  28918. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28919. msgstr ""
  28920. #. type: deftypevr
  28921. #: guix-git/doc/guix.texi:19288
  28922. 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."
  28923. msgstr ""
  28924. #. type: deftypevr
  28925. #: guix-git/doc/guix.texi:19292
  28926. #, no-wrap
  28927. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28928. msgstr ""
  28929. #. type: deftypevr
  28930. #: guix-git/doc/guix.texi:19302
  28931. 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."
  28932. msgstr ""
  28933. #. type: deftypevr
  28934. #: guix-git/doc/guix.texi:19306
  28935. #, no-wrap
  28936. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28937. msgstr ""
  28938. #. type: deftypevr
  28939. #: guix-git/doc/guix.texi:19309
  28940. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28941. msgstr ""
  28942. #. type: deftypevr
  28943. #: guix-git/doc/guix.texi:19313
  28944. #, no-wrap
  28945. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28946. msgstr ""
  28947. #. type: deftypevr
  28948. #: guix-git/doc/guix.texi:19315
  28949. msgid "Specifies the HTTP request timeout, in seconds."
  28950. msgstr ""
  28951. #. type: deftypevr
  28952. #: guix-git/doc/guix.texi:19320
  28953. #, no-wrap
  28954. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28955. msgstr ""
  28956. #. type: deftypevr
  28957. #: guix-git/doc/guix.texi:19322
  28958. msgid "Specifies whether the web interface is enabled."
  28959. msgstr ""
  28960. #. type: Plain text
  28961. #: guix-git/doc/guix.texi:19332
  28962. 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}."
  28963. msgstr ""
  28964. #. type: Plain text
  28965. #: guix-git/doc/guix.texi:19334
  28966. msgid "Available @code{opaque-cups-configuration} fields are:"
  28967. msgstr ""
  28968. #. type: deftypevr
  28969. #: guix-git/doc/guix.texi:19335
  28970. #, no-wrap
  28971. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28972. msgstr ""
  28973. #. type: deftypevr
  28974. #: guix-git/doc/guix.texi:19339
  28975. #, no-wrap
  28976. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28977. msgstr ""
  28978. #. type: deftypevr
  28979. #: guix-git/doc/guix.texi:19341
  28980. msgid "The contents of the @code{cupsd.conf}, as a string."
  28981. msgstr ""
  28982. #. type: deftypevr
  28983. #: guix-git/doc/guix.texi:19343
  28984. #, no-wrap
  28985. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28986. msgstr ""
  28987. #. type: deftypevr
  28988. #: guix-git/doc/guix.texi:19345
  28989. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28990. msgstr ""
  28991. #. type: Plain text
  28992. #: guix-git/doc/guix.texi:19350
  28993. 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:"
  28994. msgstr ""
  28995. #. type: lisp
  28996. #: guix-git/doc/guix.texi:19356
  28997. #, no-wrap
  28998. msgid ""
  28999. "(service cups-service-type\n"
  29000. " (opaque-cups-configuration\n"
  29001. " (cupsd.conf cupsd.conf)\n"
  29002. " (cups-files.conf cups-files.conf)))\n"
  29003. msgstr ""
  29004. #. type: Plain text
  29005. #: guix-git/doc/guix.texi:19367
  29006. 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."
  29007. msgstr ""
  29008. #. type: Plain text
  29009. #: guix-git/doc/guix.texi:19371
  29010. 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:"
  29011. msgstr ""
  29012. #. type: defvr
  29013. #: guix-git/doc/guix.texi:19372
  29014. #, no-wrap
  29015. msgid "{Scheme Variable} %desktop-services"
  29016. msgstr ""
  29017. #. type: defvr
  29018. #: guix-git/doc/guix.texi:19375
  29019. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  29020. msgstr ""
  29021. #. type: defvr
  29022. #: guix-git/doc/guix.texi:19386
  29023. 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})."
  29024. msgstr ""
  29025. #. type: Plain text
  29026. #: guix-git/doc/guix.texi:19391
  29027. 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}})."
  29028. msgstr ""
  29029. #. type: Plain text
  29030. #: guix-git/doc/guix.texi:19414
  29031. 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."
  29032. msgstr ""
  29033. #. type: Plain text
  29034. #: guix-git/doc/guix.texi:19423
  29035. 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 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."
  29036. msgstr ""
  29037. #. type: defvr
  29038. #: guix-git/doc/guix.texi:19424
  29039. #, no-wrap
  29040. msgid "{Scheme Variable} gnome-desktop-service-type"
  29041. msgstr ""
  29042. #. type: defvr
  29043. #: guix-git/doc/guix.texi:19428
  29044. 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)."
  29045. msgstr ""
  29046. #. type: defvr
  29047. #: guix-git/doc/guix.texi:19431
  29048. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  29049. msgstr ""
  29050. #. type: deftp
  29051. #: guix-git/doc/guix.texi:19433
  29052. #, no-wrap
  29053. msgid "{Data Type} gnome-desktop-configuration"
  29054. msgstr ""
  29055. #. type: deftp
  29056. #: guix-git/doc/guix.texi:19435
  29057. msgid "Configuration record for the GNOME desktop environment."
  29058. msgstr ""
  29059. #. type: item
  29060. #: guix-git/doc/guix.texi:19437
  29061. #, no-wrap
  29062. msgid "@code{gnome} (default: @code{gnome})"
  29063. msgstr ""
  29064. #. type: table
  29065. #: guix-git/doc/guix.texi:19439
  29066. msgid "The GNOME package to use."
  29067. msgstr ""
  29068. #. type: defvr
  29069. #: guix-git/doc/guix.texi:19442
  29070. #, no-wrap
  29071. msgid "{Scheme Variable} xfce-desktop-service-type"
  29072. msgstr ""
  29073. #. type: defvr
  29074. #: guix-git/doc/guix.texi:19446
  29075. 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)."
  29076. msgstr ""
  29077. #. type: defvr
  29078. #: guix-git/doc/guix.texi:19451
  29079. 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."
  29080. msgstr ""
  29081. #. type: defvr
  29082. #: guix-git/doc/guix.texi:19457
  29083. 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}."
  29084. msgstr ""
  29085. #. type: deftp
  29086. #: guix-git/doc/guix.texi:19459
  29087. #, no-wrap
  29088. msgid "{Data Type} xfce-desktop-configuration"
  29089. msgstr ""
  29090. #. type: deftp
  29091. #: guix-git/doc/guix.texi:19461
  29092. msgid "Configuration record for the Xfce desktop environment."
  29093. msgstr ""
  29094. #. type: item
  29095. #: guix-git/doc/guix.texi:19463
  29096. #, no-wrap
  29097. msgid "@code{xfce} (default: @code{xfce})"
  29098. msgstr ""
  29099. #. type: table
  29100. #: guix-git/doc/guix.texi:19465
  29101. msgid "The Xfce package to use."
  29102. msgstr ""
  29103. #. type: deffn
  29104. #: guix-git/doc/guix.texi:19468
  29105. #, no-wrap
  29106. msgid "{Scheme Variable} mate-desktop-service-type"
  29107. msgstr ""
  29108. #. type: deffn
  29109. #: guix-git/doc/guix.texi:19472
  29110. 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)."
  29111. msgstr ""
  29112. #. type: deffn
  29113. #: guix-git/doc/guix.texi:19476
  29114. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  29115. msgstr ""
  29116. #. type: deftp
  29117. #: guix-git/doc/guix.texi:19478
  29118. #, no-wrap
  29119. msgid "{Data Type} mate-desktop-configuration"
  29120. msgstr ""
  29121. #. type: deftp
  29122. #: guix-git/doc/guix.texi:19480
  29123. msgid "Configuration record for the MATE desktop environment."
  29124. msgstr ""
  29125. #. type: item
  29126. #: guix-git/doc/guix.texi:19482
  29127. #, no-wrap
  29128. msgid "@code{mate} (default: @code{mate})"
  29129. msgstr ""
  29130. #. type: table
  29131. #: guix-git/doc/guix.texi:19484
  29132. msgid "The MATE package to use."
  29133. msgstr ""
  29134. #. type: deffn
  29135. #: guix-git/doc/guix.texi:19487
  29136. #, no-wrap
  29137. msgid "{Scheme Variable} lxqt-desktop-service-type"
  29138. msgstr ""
  29139. #. type: deffn
  29140. #: guix-git/doc/guix.texi:19491
  29141. 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)."
  29142. msgstr ""
  29143. #. type: deffn
  29144. #: guix-git/doc/guix.texi:19494
  29145. msgid "This service adds the @code{lxqt} package to the system profile."
  29146. msgstr ""
  29147. #. type: deftp
  29148. #: guix-git/doc/guix.texi:19496
  29149. #, no-wrap
  29150. msgid "{Data Type} lxqt-desktop-configuration"
  29151. msgstr ""
  29152. #. type: deftp
  29153. #: guix-git/doc/guix.texi:19498
  29154. msgid "Configuration record for the LXQt desktop environment."
  29155. msgstr ""
  29156. #. type: item
  29157. #: guix-git/doc/guix.texi:19500
  29158. #, no-wrap
  29159. msgid "@code{lxqt} (default: @code{lxqt})"
  29160. msgstr ""
  29161. #. type: table
  29162. #: guix-git/doc/guix.texi:19502
  29163. msgid "The LXQT package to use."
  29164. msgstr ""
  29165. #. type: deffn
  29166. #: guix-git/doc/guix.texi:19505
  29167. #, no-wrap
  29168. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  29169. msgstr ""
  29170. #. type: deffn
  29171. #: guix-git/doc/guix.texi:19508
  29172. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  29173. msgstr ""
  29174. #. type: deftp
  29175. #: guix-git/doc/guix.texi:19510
  29176. #, no-wrap
  29177. msgid "{Data Type} enlightenment-desktop-service-configuration"
  29178. msgstr ""
  29179. #. type: item
  29180. #: guix-git/doc/guix.texi:19512
  29181. #, no-wrap
  29182. msgid "@code{enlightenment} (default: @code{enlightenment})"
  29183. msgstr ""
  29184. #. type: table
  29185. #: guix-git/doc/guix.texi:19514
  29186. msgid "The enlightenment package to use."
  29187. msgstr ""
  29188. #. type: Plain text
  29189. #: guix-git/doc/guix.texi:19522
  29190. 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}:"
  29191. msgstr ""
  29192. #. type: lisp
  29193. #: guix-git/doc/guix.texi:19533
  29194. #, no-wrap
  29195. msgid ""
  29196. "(use-modules (gnu))\n"
  29197. "(use-service-modules desktop)\n"
  29198. "(operating-system\n"
  29199. " ...\n"
  29200. " ;; cons* adds items to the list given as its last argument.\n"
  29201. " (services (cons* (service gnome-desktop-service-type)\n"
  29202. " (service xfce-desktop-service)\n"
  29203. " %desktop-services))\n"
  29204. " ...)\n"
  29205. msgstr ""
  29206. #. type: Plain text
  29207. #: guix-git/doc/guix.texi:19537
  29208. msgid "These desktop environments will then be available as options in the graphical login window."
  29209. msgstr ""
  29210. #. type: Plain text
  29211. #: guix-git/doc/guix.texi:19541
  29212. 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."
  29213. msgstr ""
  29214. #. type: deffn
  29215. #: guix-git/doc/guix.texi:19542
  29216. #, no-wrap
  29217. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  29218. msgstr ""
  29219. #. type: deffn
  29220. #: guix-git/doc/guix.texi:19545
  29221. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  29222. msgstr ""
  29223. #. type: deffn
  29224. #: guix-git/doc/guix.texi:19549
  29225. 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."
  29226. msgstr ""
  29227. #. type: deffn
  29228. #: guix-git/doc/guix.texi:19554
  29229. 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)}."
  29230. msgstr ""
  29231. #. type: deffn
  29232. #: guix-git/doc/guix.texi:19556
  29233. #, no-wrap
  29234. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  29235. msgstr ""
  29236. #. type: deffn
  29237. #: guix-git/doc/guix.texi:19562
  29238. 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."
  29239. msgstr ""
  29240. #. type: deffn
  29241. #: guix-git/doc/guix.texi:19566
  29242. 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."
  29243. msgstr ""
  29244. #. type: deffn
  29245. #: guix-git/doc/guix.texi:19571
  29246. 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:"
  29247. msgstr ""
  29248. #. type: item
  29249. #: guix-git/doc/guix.texi:19573
  29250. #, no-wrap
  29251. msgid "kill-user-processes?"
  29252. msgstr ""
  29253. #. type: code{#1}
  29254. #: guix-git/doc/guix.texi:19575 guix-git/doc/guix.texi:19595
  29255. #: guix-git/doc/guix.texi:19597 guix-git/doc/guix.texi:19599
  29256. #: guix-git/doc/guix.texi:19611
  29257. msgid "#f"
  29258. msgstr ""
  29259. #. type: item
  29260. #: guix-git/doc/guix.texi:19575
  29261. #, no-wrap
  29262. msgid "kill-only-users"
  29263. msgstr ""
  29264. #. type: code{#1}
  29265. #: guix-git/doc/guix.texi:19577 guix-git/doc/guix.texi:19617
  29266. msgid "()"
  29267. msgstr ""
  29268. #. type: item
  29269. #: guix-git/doc/guix.texi:19577
  29270. #, no-wrap
  29271. msgid "kill-exclude-users"
  29272. msgstr ""
  29273. #. type: code{#1}
  29274. #: guix-git/doc/guix.texi:19579
  29275. msgid "(\"root\")"
  29276. msgstr ""
  29277. #. type: item
  29278. #: guix-git/doc/guix.texi:19579
  29279. #, no-wrap
  29280. msgid "inhibit-delay-max-seconds"
  29281. msgstr ""
  29282. #. type: code{#1}
  29283. #: guix-git/doc/guix.texi:19581
  29284. msgid "5"
  29285. msgstr ""
  29286. #. type: item
  29287. #: guix-git/doc/guix.texi:19581
  29288. #, no-wrap
  29289. msgid "handle-power-key"
  29290. msgstr ""
  29291. #. type: code{#1}
  29292. #: guix-git/doc/guix.texi:19583
  29293. msgid "poweroff"
  29294. msgstr ""
  29295. #. type: item
  29296. #: guix-git/doc/guix.texi:19583
  29297. #, no-wrap
  29298. msgid "handle-suspend-key"
  29299. msgstr ""
  29300. #. type: code{#1}
  29301. #: guix-git/doc/guix.texi:19585 guix-git/doc/guix.texi:19589
  29302. msgid "suspend"
  29303. msgstr ""
  29304. #. type: item
  29305. #: guix-git/doc/guix.texi:19585
  29306. #, no-wrap
  29307. msgid "handle-hibernate-key"
  29308. msgstr ""
  29309. #. type: code{#1}
  29310. #: guix-git/doc/guix.texi:19587
  29311. msgid "hibernate"
  29312. msgstr ""
  29313. #. type: item
  29314. #: guix-git/doc/guix.texi:19587
  29315. #, no-wrap
  29316. msgid "handle-lid-switch"
  29317. msgstr ""
  29318. #. type: item
  29319. #: guix-git/doc/guix.texi:19589
  29320. #, no-wrap
  29321. msgid "handle-lid-switch-docked"
  29322. msgstr ""
  29323. #. type: code{#1}
  29324. #: guix-git/doc/guix.texi:19591 guix-git/doc/guix.texi:19593
  29325. #: guix-git/doc/guix.texi:19605
  29326. msgid "ignore"
  29327. msgstr ""
  29328. #. type: item
  29329. #: guix-git/doc/guix.texi:19591
  29330. #, no-wrap
  29331. msgid "handle-lid-switch-external-power"
  29332. msgstr ""
  29333. #. type: item
  29334. #: guix-git/doc/guix.texi:19593
  29335. #, no-wrap
  29336. msgid "power-key-ignore-inhibited?"
  29337. msgstr ""
  29338. #. type: item
  29339. #: guix-git/doc/guix.texi:19595
  29340. #, no-wrap
  29341. msgid "suspend-key-ignore-inhibited?"
  29342. msgstr ""
  29343. #. type: item
  29344. #: guix-git/doc/guix.texi:19597
  29345. #, no-wrap
  29346. msgid "hibernate-key-ignore-inhibited?"
  29347. msgstr ""
  29348. #. type: item
  29349. #: guix-git/doc/guix.texi:19599
  29350. #, no-wrap
  29351. msgid "lid-switch-ignore-inhibited?"
  29352. msgstr ""
  29353. #. type: code{#1}
  29354. #: guix-git/doc/guix.texi:19601 guix-git/doc/guix.texi:19613
  29355. msgid "#t"
  29356. msgstr ""
  29357. #. type: item
  29358. #: guix-git/doc/guix.texi:19601
  29359. #, no-wrap
  29360. msgid "holdoff-timeout-seconds"
  29361. msgstr ""
  29362. #. type: code{#1}
  29363. #: guix-git/doc/guix.texi:19603
  29364. msgid "30"
  29365. msgstr ""
  29366. #. type: item
  29367. #: guix-git/doc/guix.texi:19603
  29368. #, no-wrap
  29369. msgid "idle-action"
  29370. msgstr ""
  29371. #. type: item
  29372. #: guix-git/doc/guix.texi:19605
  29373. #, no-wrap
  29374. msgid "idle-action-seconds"
  29375. msgstr ""
  29376. #. type: code{#1}
  29377. #: guix-git/doc/guix.texi:19607
  29378. msgid "(* 30 60)"
  29379. msgstr ""
  29380. #. type: item
  29381. #: guix-git/doc/guix.texi:19607
  29382. #, no-wrap
  29383. msgid "runtime-directory-size-percent"
  29384. msgstr ""
  29385. #. type: code{#1}
  29386. #: guix-git/doc/guix.texi:19609
  29387. msgid "10"
  29388. msgstr ""
  29389. #. type: item
  29390. #: guix-git/doc/guix.texi:19609
  29391. #, no-wrap
  29392. msgid "runtime-directory-size"
  29393. msgstr ""
  29394. #. type: item
  29395. #: guix-git/doc/guix.texi:19611
  29396. #, no-wrap
  29397. msgid "remove-ipc?"
  29398. msgstr ""
  29399. #. type: item
  29400. #: guix-git/doc/guix.texi:19613
  29401. #, no-wrap
  29402. msgid "suspend-state"
  29403. msgstr ""
  29404. #. type: code{#1}
  29405. #: guix-git/doc/guix.texi:19615
  29406. msgid "(\"mem\" \"standby\" \"freeze\")"
  29407. msgstr ""
  29408. #. type: item
  29409. #: guix-git/doc/guix.texi:19615
  29410. #, no-wrap
  29411. msgid "suspend-mode"
  29412. msgstr ""
  29413. #. type: item
  29414. #: guix-git/doc/guix.texi:19617
  29415. #, no-wrap
  29416. msgid "hibernate-state"
  29417. msgstr ""
  29418. #. type: code{#1}
  29419. #: guix-git/doc/guix.texi:19619 guix-git/doc/guix.texi:19623
  29420. msgid "(\"disk\")"
  29421. msgstr ""
  29422. #. type: item
  29423. #: guix-git/doc/guix.texi:19619
  29424. #, no-wrap
  29425. msgid "hibernate-mode"
  29426. msgstr ""
  29427. #. type: code{#1}
  29428. #: guix-git/doc/guix.texi:19621
  29429. msgid "(\"platform\" \"shutdown\")"
  29430. msgstr ""
  29431. #. type: item
  29432. #: guix-git/doc/guix.texi:19621
  29433. #, no-wrap
  29434. msgid "hybrid-sleep-state"
  29435. msgstr ""
  29436. #. type: item
  29437. #: guix-git/doc/guix.texi:19623
  29438. #, no-wrap
  29439. msgid "hybrid-sleep-mode"
  29440. msgstr ""
  29441. #. type: code{#1}
  29442. #: guix-git/doc/guix.texi:19625
  29443. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  29444. msgstr ""
  29445. #. type: deffn
  29446. #: guix-git/doc/guix.texi:19628
  29447. #, no-wrap
  29448. msgid "{Scheme Procedure} accountsservice-service @"
  29449. msgstr ""
  29450. #. type: deffn
  29451. #: guix-git/doc/guix.texi:19636
  29452. 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."
  29453. msgstr ""
  29454. #. type: deffn
  29455. #: guix-git/doc/guix.texi:19639
  29456. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  29457. msgstr ""
  29458. #. type: deffn
  29459. #: guix-git/doc/guix.texi:19641
  29460. #, no-wrap
  29461. msgid "{Scheme Procedure} polkit-service @"
  29462. msgstr ""
  29463. #. type: deffn
  29464. #: guix-git/doc/guix.texi:19650
  29465. 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."
  29466. msgstr ""
  29467. #. type: defvr
  29468. #: guix-git/doc/guix.texi:19652
  29469. #, no-wrap
  29470. msgid "{Scheme Variable} polkit-wheel-service"
  29471. msgstr ""
  29472. #. type: defvr
  29473. #: guix-git/doc/guix.texi:19657
  29474. 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}."
  29475. msgstr ""
  29476. #. type: defvr
  29477. #: guix-git/doc/guix.texi:19659
  29478. #, no-wrap
  29479. msgid "{Scheme Variable} upower-service-type"
  29480. msgstr ""
  29481. #. type: defvr
  29482. #: guix-git/doc/guix.texi:19663
  29483. 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."
  29484. msgstr ""
  29485. #. type: defvr
  29486. #: guix-git/doc/guix.texi:19666
  29487. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  29488. msgstr ""
  29489. #. type: deftp
  29490. #: guix-git/doc/guix.texi:19668
  29491. #, no-wrap
  29492. msgid "{Data Type} upower-configuration"
  29493. msgstr ""
  29494. #. type: deftp
  29495. #: guix-git/doc/guix.texi:19670
  29496. msgid "Data type representation the configuration for UPower."
  29497. msgstr ""
  29498. #. type: item
  29499. #: guix-git/doc/guix.texi:19673
  29500. #, no-wrap
  29501. msgid "@code{upower} (default: @var{upower})"
  29502. msgstr ""
  29503. #. type: table
  29504. #: guix-git/doc/guix.texi:19675
  29505. msgid "Package to use for @code{upower}."
  29506. msgstr ""
  29507. #. type: item
  29508. #: guix-git/doc/guix.texi:19676
  29509. #, no-wrap
  29510. msgid "@code{watts-up-pro?} (default: @code{#f})"
  29511. msgstr ""
  29512. #. type: table
  29513. #: guix-git/doc/guix.texi:19678
  29514. msgid "Enable the Watts Up Pro device."
  29515. msgstr ""
  29516. #. type: item
  29517. #: guix-git/doc/guix.texi:19679
  29518. #, no-wrap
  29519. msgid "@code{poll-batteries?} (default: @code{#t})"
  29520. msgstr ""
  29521. #. type: table
  29522. #: guix-git/doc/guix.texi:19681
  29523. msgid "Enable polling the kernel for battery level changes."
  29524. msgstr ""
  29525. #. type: item
  29526. #: guix-git/doc/guix.texi:19682
  29527. #, no-wrap
  29528. msgid "@code{ignore-lid?} (default: @code{#f})"
  29529. msgstr ""
  29530. #. type: table
  29531. #: guix-git/doc/guix.texi:19684
  29532. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  29533. msgstr ""
  29534. #. type: item
  29535. #: guix-git/doc/guix.texi:19685
  29536. #, no-wrap
  29537. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  29538. msgstr ""
  29539. #. type: table
  29540. #: guix-git/doc/guix.texi:19688
  29541. 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."
  29542. msgstr ""
  29543. #. type: item
  29544. #: guix-git/doc/guix.texi:19689
  29545. #, no-wrap
  29546. msgid "@code{percentage-low} (default: @code{10})"
  29547. msgstr ""
  29548. #. type: table
  29549. #: guix-git/doc/guix.texi:19692
  29550. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  29551. msgstr ""
  29552. #. type: item
  29553. #: guix-git/doc/guix.texi:19693
  29554. #, no-wrap
  29555. msgid "@code{percentage-critical} (default: @code{3})"
  29556. msgstr ""
  29557. #. type: table
  29558. #: guix-git/doc/guix.texi:19696
  29559. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  29560. msgstr ""
  29561. #. type: item
  29562. #: guix-git/doc/guix.texi:19697
  29563. #, no-wrap
  29564. msgid "@code{percentage-action} (default: @code{2})"
  29565. msgstr ""
  29566. #. type: table
  29567. #: guix-git/doc/guix.texi:19700
  29568. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  29569. msgstr ""
  29570. #. type: item
  29571. #: guix-git/doc/guix.texi:19701
  29572. #, no-wrap
  29573. msgid "@code{time-low} (default: @code{1200})"
  29574. msgstr ""
  29575. #. type: table
  29576. #: guix-git/doc/guix.texi:19704
  29577. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  29578. msgstr ""
  29579. #. type: item
  29580. #: guix-git/doc/guix.texi:19705
  29581. #, no-wrap
  29582. msgid "@code{time-critical} (default: @code{300})"
  29583. msgstr ""
  29584. #. type: table
  29585. #: guix-git/doc/guix.texi:19708
  29586. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  29587. msgstr ""
  29588. #. type: item
  29589. #: guix-git/doc/guix.texi:19709
  29590. #, no-wrap
  29591. msgid "@code{time-action} (default: @code{120})"
  29592. msgstr ""
  29593. #. type: table
  29594. #: guix-git/doc/guix.texi:19712
  29595. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  29596. msgstr ""
  29597. #. type: item
  29598. #: guix-git/doc/guix.texi:19713
  29599. #, no-wrap
  29600. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  29601. msgstr ""
  29602. #. type: table
  29603. #: guix-git/doc/guix.texi:19716
  29604. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  29605. msgstr ""
  29606. #. type: table
  29607. #: guix-git/doc/guix.texi:19718
  29608. msgid "Possible values are:"
  29609. msgstr ""
  29610. #. type: code{#1}
  29611. #: guix-git/doc/guix.texi:19722
  29612. msgid "'power-off"
  29613. msgstr ""
  29614. #. type: code{#1}
  29615. #: guix-git/doc/guix.texi:19725
  29616. msgid "'hibernate"
  29617. msgstr ""
  29618. #. type: itemize
  29619. #: guix-git/doc/guix.texi:19728
  29620. msgid "@code{'hybrid-sleep}."
  29621. msgstr ""
  29622. #. type: deffn
  29623. #: guix-git/doc/guix.texi:19733
  29624. #, no-wrap
  29625. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  29626. msgstr ""
  29627. #. type: deffn
  29628. #: guix-git/doc/guix.texi:19743
  29629. 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."
  29630. msgstr ""
  29631. #. type: deffn
  29632. #: guix-git/doc/guix.texi:19745
  29633. #, no-wrap
  29634. msgid "{Scheme Variable} colord-service-type"
  29635. msgstr ""
  29636. #. type: deffn
  29637. #: guix-git/doc/guix.texi:19752
  29638. 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."
  29639. msgstr ""
  29640. #. type: cindex
  29641. #: guix-git/doc/guix.texi:19754
  29642. #, no-wrap
  29643. msgid "scanner access"
  29644. msgstr ""
  29645. #. type: defvr
  29646. #: guix-git/doc/guix.texi:19755
  29647. #, no-wrap
  29648. msgid "{Scheme Variable} sane-service-type"
  29649. msgstr ""
  29650. #. type: defvr
  29651. #: guix-git/doc/guix.texi:19761
  29652. 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."
  29653. msgstr ""
  29654. #. type: defvr
  29655. #: guix-git/doc/guix.texi:19763
  29656. #, no-wrap
  29657. msgid "{Scheme Variable} sane-backends-minimal"
  29658. msgstr ""
  29659. #. type: defvr
  29660. #: guix-git/doc/guix.texi:19766
  29661. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  29662. msgstr ""
  29663. #. type: defvr
  29664. #: guix-git/doc/guix.texi:19768
  29665. #, no-wrap
  29666. msgid "{Scheme Variable} sane-backends"
  29667. msgstr ""
  29668. #. type: defvr
  29669. #: guix-git/doc/guix.texi:19775
  29670. 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:"
  29671. msgstr ""
  29672. #. type: lisp
  29673. #: guix-git/doc/guix.texi:19784
  29674. #, no-wrap
  29675. msgid ""
  29676. "(use-modules (gnu))\n"
  29677. "(use-service-modules\n"
  29678. " @dots{}\n"
  29679. " desktop)\n"
  29680. "(use-package-modules\n"
  29681. " @dots{}\n"
  29682. " scanner)\n"
  29683. "\n"
  29684. msgstr ""
  29685. #. type: lisp
  29686. #: guix-git/doc/guix.texi:19789
  29687. #, no-wrap
  29688. msgid ""
  29689. "(define %my-desktop-services\n"
  29690. " ;; List of desktop services that supports a broader range of scanners.\n"
  29691. " (modify-services %desktop-services\n"
  29692. " (sane-service-type _ => sane-backends)))\n"
  29693. "\n"
  29694. msgstr ""
  29695. #. type: lisp
  29696. #: guix-git/doc/guix.texi:19793
  29697. #, no-wrap
  29698. msgid ""
  29699. "(operating-system\n"
  29700. " @dots{}\n"
  29701. " (services %my-desktop-services)\n"
  29702. msgstr ""
  29703. #. type: deffn
  29704. #: guix-git/doc/guix.texi:19796
  29705. #, no-wrap
  29706. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  29707. msgstr ""
  29708. #. type: deffn
  29709. #: guix-git/doc/guix.texi:19805
  29710. 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."
  29711. msgstr ""
  29712. #. type: defvr
  29713. #: guix-git/doc/guix.texi:19807
  29714. #, no-wrap
  29715. msgid "{Scheme Variable} %standard-geoclue-applications"
  29716. msgstr ""
  29717. #. type: defvr
  29718. #: guix-git/doc/guix.texi:19814
  29719. 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."
  29720. msgstr ""
  29721. #. type: deffn
  29722. #: guix-git/doc/guix.texi:19816
  29723. #, no-wrap
  29724. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  29725. msgstr ""
  29726. #. type: deffn
  29727. #: guix-git/doc/guix.texi:19829
  29728. 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."
  29729. msgstr ""
  29730. #. type: deffn
  29731. #: guix-git/doc/guix.texi:19831
  29732. #, no-wrap
  29733. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  29734. msgstr ""
  29735. #. type: deffn
  29736. #: guix-git/doc/guix.texi:19838
  29737. 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."
  29738. msgstr ""
  29739. #. type: deffn
  29740. #: guix-git/doc/guix.texi:19840
  29741. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  29742. msgstr ""
  29743. #. type: defvr
  29744. #: guix-git/doc/guix.texi:19842
  29745. #, no-wrap
  29746. msgid "{Scheme Variable} gnome-keyring-service-type"
  29747. msgstr ""
  29748. #. type: defvr
  29749. #: guix-git/doc/guix.texi:19846
  29750. 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)."
  29751. msgstr ""
  29752. #. type: defvr
  29753. #: guix-git/doc/guix.texi:19850
  29754. 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."
  29755. msgstr ""
  29756. #. type: deftp
  29757. #: guix-git/doc/guix.texi:19852
  29758. #, no-wrap
  29759. msgid "{Data Type} gnome-keyring-configuration"
  29760. msgstr ""
  29761. #. type: deftp
  29762. #: guix-git/doc/guix.texi:19854
  29763. msgid "Configuration record for the GNOME Keyring service."
  29764. msgstr ""
  29765. #. type: item
  29766. #: guix-git/doc/guix.texi:19856
  29767. #, no-wrap
  29768. msgid "@code{keyring} (default: @code{gnome-keyring})"
  29769. msgstr ""
  29770. #. type: table
  29771. #: guix-git/doc/guix.texi:19858
  29772. msgid "The GNOME keyring package to use."
  29773. msgstr ""
  29774. #. type: code{#1}
  29775. #: guix-git/doc/guix.texi:19859
  29776. #, no-wrap
  29777. msgid "pam-services"
  29778. msgstr ""
  29779. #. type: table
  29780. #: guix-git/doc/guix.texi:19864
  29781. 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}."
  29782. msgstr ""
  29783. #. type: table
  29784. #: guix-git/doc/guix.texi:19870
  29785. 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."
  29786. msgstr ""
  29787. #. type: table
  29788. #: guix-git/doc/guix.texi:19873
  29789. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  29790. msgstr ""
  29791. #. type: cindex
  29792. #: guix-git/doc/guix.texi:19880
  29793. #, no-wrap
  29794. msgid "sound support"
  29795. msgstr ""
  29796. #. type: cindex
  29797. #: guix-git/doc/guix.texi:19881
  29798. #, no-wrap
  29799. msgid "ALSA"
  29800. msgstr ""
  29801. #. type: cindex
  29802. #: guix-git/doc/guix.texi:19882
  29803. #, no-wrap
  29804. msgid "PulseAudio, sound support"
  29805. msgstr ""
  29806. #. type: Plain text
  29807. #: guix-git/doc/guix.texi:19887
  29808. 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."
  29809. msgstr ""
  29810. #. type: deffn
  29811. #: guix-git/doc/guix.texi:19888
  29812. #, no-wrap
  29813. msgid "{Scheme Variable} alsa-service-type"
  29814. msgstr ""
  29815. #. type: deffn
  29816. #: guix-git/doc/guix.texi:19893
  29817. 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:"
  29818. msgstr ""
  29819. #. type: lisp
  29820. #: guix-git/doc/guix.texi:19896
  29821. #, no-wrap
  29822. msgid "(service alsa-service-type)\n"
  29823. msgstr ""
  29824. #. type: deffn
  29825. #: guix-git/doc/guix.texi:19899
  29826. msgid "See below for details about @code{alsa-configuration}."
  29827. msgstr ""
  29828. #. type: deftp
  29829. #: guix-git/doc/guix.texi:19901
  29830. #, no-wrap
  29831. msgid "{Data Type} alsa-configuration"
  29832. msgstr ""
  29833. #. type: deftp
  29834. #: guix-git/doc/guix.texi:19903
  29835. msgid "Data type representing the configuration for @code{alsa-service}."
  29836. msgstr ""
  29837. #. type: item
  29838. #: guix-git/doc/guix.texi:19905
  29839. #, no-wrap
  29840. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29841. msgstr ""
  29842. #. type: table
  29843. #: guix-git/doc/guix.texi:19907
  29844. msgid "@code{alsa-plugins} package to use."
  29845. msgstr ""
  29846. #. type: item
  29847. #: guix-git/doc/guix.texi:19908
  29848. #, no-wrap
  29849. msgid "@code{pulseaudio?} (default: @var{#t})"
  29850. msgstr ""
  29851. #. type: table
  29852. #: guix-git/doc/guix.texi:19911
  29853. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  29854. msgstr ""
  29855. #. type: table
  29856. #: guix-git/doc/guix.texi:19915
  29857. 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."
  29858. msgstr ""
  29859. #. type: item
  29860. #: guix-git/doc/guix.texi:19916
  29861. #, no-wrap
  29862. msgid "@code{extra-options} (default: @var{\"\"})"
  29863. msgstr ""
  29864. #. type: table
  29865. #: guix-git/doc/guix.texi:19918
  29866. msgid "String to append to the @file{/etc/asound.conf} file."
  29867. msgstr ""
  29868. #. type: Plain text
  29869. #: guix-git/doc/guix.texi:19924
  29870. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  29871. msgstr ""
  29872. #. type: example
  29873. #: guix-git/doc/guix.texi:19930
  29874. #, no-wrap
  29875. msgid ""
  29876. "# In guix, we have to specify the absolute path for plugins.\n"
  29877. "pcm_type.jack @{\n"
  29878. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  29879. "@}\n"
  29880. "\n"
  29881. msgstr ""
  29882. #. type: example
  29883. #: guix-git/doc/guix.texi:19939
  29884. #, no-wrap
  29885. msgid ""
  29886. "# Routing ALSA to jack:\n"
  29887. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  29888. "pcm.rawjack @{\n"
  29889. " type jack\n"
  29890. " playback_ports @{\n"
  29891. " 0 system:playback_1\n"
  29892. " 1 system:playback_2\n"
  29893. " @}\n"
  29894. "\n"
  29895. msgstr ""
  29896. #. type: example
  29897. #: guix-git/doc/guix.texi:19945
  29898. #, no-wrap
  29899. msgid ""
  29900. " capture_ports @{\n"
  29901. " 0 system:capture_1\n"
  29902. " 1 system:capture_2\n"
  29903. " @}\n"
  29904. "@}\n"
  29905. "\n"
  29906. msgstr ""
  29907. #. type: example
  29908. #: guix-git/doc/guix.texi:19952
  29909. #, no-wrap
  29910. msgid ""
  29911. "pcm.!default @{\n"
  29912. " type plug\n"
  29913. " slave @{\n"
  29914. " pcm \"rawjack\"\n"
  29915. " @}\n"
  29916. "@}\n"
  29917. msgstr ""
  29918. #. type: Plain text
  29919. #: guix-git/doc/guix.texi:19956
  29920. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29921. msgstr ""
  29922. #. type: deffn
  29923. #: guix-git/doc/guix.texi:19957
  29924. #, no-wrap
  29925. msgid "{Scheme Variable} pulseaudio-service-type"
  29926. msgstr ""
  29927. #. type: deffn
  29928. #: guix-git/doc/guix.texi:19961
  29929. 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."
  29930. msgstr ""
  29931. #. type: quotation
  29932. #: guix-git/doc/guix.texi:19967
  29933. 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}."
  29934. msgstr ""
  29935. #. type: quotation
  29936. #: guix-git/doc/guix.texi:19975
  29937. 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."
  29938. msgstr ""
  29939. #. type: deftp
  29940. #: guix-git/doc/guix.texi:19978
  29941. #, no-wrap
  29942. msgid "{Data Type} pulseaudio-configuration"
  29943. msgstr ""
  29944. #. type: deftp
  29945. #: guix-git/doc/guix.texi:19980
  29946. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29947. msgstr ""
  29948. #. type: item
  29949. #: guix-git/doc/guix.texi:19982
  29950. #, no-wrap
  29951. msgid "@code{client-conf} (default: @code{'()})"
  29952. msgstr ""
  29953. #. type: table
  29954. #: guix-git/doc/guix.texi:19987
  29955. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or a 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."
  29956. msgstr ""
  29957. #. type: item
  29958. #: guix-git/doc/guix.texi:19988
  29959. #, no-wrap
  29960. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29961. msgstr ""
  29962. #. type: table
  29963. #: guix-git/doc/guix.texi:19991
  29964. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29965. msgstr ""
  29966. #. type: item
  29967. #: guix-git/doc/guix.texi:19992
  29968. #, no-wrap
  29969. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29970. msgstr ""
  29971. #. type: table
  29972. #: guix-git/doc/guix.texi:19994
  29973. msgid "Script file to use as @file{default.pa}."
  29974. msgstr ""
  29975. #. type: item
  29976. #: guix-git/doc/guix.texi:19995
  29977. #, no-wrap
  29978. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29979. msgstr ""
  29980. #. type: table
  29981. #: guix-git/doc/guix.texi:19997
  29982. msgid "Script file to use as @file{system.pa}."
  29983. msgstr ""
  29984. #. type: deffn
  29985. #: guix-git/doc/guix.texi:20000
  29986. #, no-wrap
  29987. msgid "{Scheme Variable} ladspa-service-type"
  29988. msgstr ""
  29989. #. type: deffn
  29990. #: guix-git/doc/guix.texi:20003
  29991. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29992. msgstr ""
  29993. #. type: deffn
  29994. #: guix-git/doc/guix.texi:20006
  29995. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29996. msgstr ""
  29997. #. type: lisp
  29998. #: guix-git/doc/guix.texi:20010
  29999. #, no-wrap
  30000. msgid ""
  30001. "(service ladspa-service-type\n"
  30002. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  30003. msgstr ""
  30004. #. type: deffn
  30005. #: guix-git/doc/guix.texi:20014
  30006. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  30007. msgstr ""
  30008. #. type: cindex
  30009. #: guix-git/doc/guix.texi:20021
  30010. #, no-wrap
  30011. msgid "SQL"
  30012. msgstr ""
  30013. #. type: Plain text
  30014. #: guix-git/doc/guix.texi:20023
  30015. msgid "The @code{(gnu services databases)} module provides the following services."
  30016. msgstr ""
  30017. #. type: subsubheading
  30018. #: guix-git/doc/guix.texi:20024
  30019. #, no-wrap
  30020. msgid "PostgreSQL"
  30021. msgstr ""
  30022. #. type: Plain text
  30023. #: guix-git/doc/guix.texi:20028
  30024. msgid "The following example describes a PostgreSQL service with the default configuration."
  30025. msgstr ""
  30026. #. type: lisp
  30027. #: guix-git/doc/guix.texi:20033
  30028. #, no-wrap
  30029. msgid ""
  30030. "(service postgresql-service-type\n"
  30031. " (postgresql-configuration\n"
  30032. " (postgresql postgresql-10)))\n"
  30033. msgstr ""
  30034. #. type: Plain text
  30035. #: guix-git/doc/guix.texi:20039
  30036. 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."
  30037. msgstr ""
  30038. #. type: Plain text
  30039. #: guix-git/doc/guix.texi:20046
  30040. 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."
  30041. msgstr ""
  30042. #. type: example
  30043. #: guix-git/doc/guix.texi:20051
  30044. #, no-wrap
  30045. msgid ""
  30046. "sudo -u postgres -s /bin/sh\n"
  30047. "createuser --interactive\n"
  30048. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  30049. msgstr ""
  30050. #. type: deftp
  30051. #: guix-git/doc/guix.texi:20053
  30052. #, no-wrap
  30053. msgid "{Data Type} postgresql-configuration"
  30054. msgstr ""
  30055. #. type: deftp
  30056. #: guix-git/doc/guix.texi:20056
  30057. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  30058. msgstr ""
  30059. #. type: code{#1}
  30060. #: guix-git/doc/guix.texi:20058
  30061. #, no-wrap
  30062. msgid "postgresql"
  30063. msgstr ""
  30064. #. type: table
  30065. #: guix-git/doc/guix.texi:20060
  30066. msgid "PostgreSQL package to use for the service."
  30067. msgstr ""
  30068. #. type: item
  30069. #: guix-git/doc/guix.texi:20061
  30070. #, no-wrap
  30071. msgid "@code{port} (default: @code{5432})"
  30072. msgstr ""
  30073. #. type: table
  30074. #: guix-git/doc/guix.texi:20063
  30075. msgid "Port on which PostgreSQL should listen."
  30076. msgstr ""
  30077. #. type: table
  30078. #: guix-git/doc/guix.texi:20066
  30079. msgid "Locale to use as the default when creating the database cluster."
  30080. msgstr ""
  30081. #. type: item
  30082. #: guix-git/doc/guix.texi:20067
  30083. #, no-wrap
  30084. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  30085. msgstr ""
  30086. #. type: table
  30087. #: guix-git/doc/guix.texi:20071
  30088. 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."
  30089. msgstr ""
  30090. #. type: item
  30091. #: guix-git/doc/guix.texi:20072
  30092. #, no-wrap
  30093. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  30094. msgstr ""
  30095. #. type: table
  30096. #: guix-git/doc/guix.texi:20076
  30097. 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."
  30098. msgstr ""
  30099. #. type: item
  30100. #: guix-git/doc/guix.texi:20077
  30101. #, no-wrap
  30102. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  30103. msgstr ""
  30104. #. type: table
  30105. #: guix-git/doc/guix.texi:20079
  30106. msgid "Directory in which to store the data."
  30107. msgstr ""
  30108. #. type: item
  30109. #: guix-git/doc/guix.texi:20080
  30110. #, no-wrap
  30111. msgid "@code{extension-packages} (default: @code{'()})"
  30112. msgstr ""
  30113. #. type: cindex
  30114. #: guix-git/doc/guix.texi:20081
  30115. #, no-wrap
  30116. msgid "postgresql extension-packages"
  30117. msgstr ""
  30118. #. type: table
  30119. #: guix-git/doc/guix.texi:20086
  30120. 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:"
  30121. msgstr ""
  30122. #. type: cindex
  30123. #: guix-git/doc/guix.texi:20087
  30124. #, no-wrap
  30125. msgid "postgis"
  30126. msgstr ""
  30127. #. type: lisp
  30128. #: guix-git/doc/guix.texi:20090
  30129. #, no-wrap
  30130. msgid ""
  30131. "(use-package-modules databases geo)\n"
  30132. "\n"
  30133. msgstr ""
  30134. #. type: lisp
  30135. #: guix-git/doc/guix.texi:20103
  30136. #, no-wrap
  30137. msgid ""
  30138. "(operating-system\n"
  30139. " ...\n"
  30140. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  30141. " ;; proper operation.\n"
  30142. " (packages (cons* postgresql %base-packages))\n"
  30143. " (services\n"
  30144. " (cons*\n"
  30145. " (service postgresql-service-type\n"
  30146. " (postgresql-configuration\n"
  30147. " (postgresql postgresql-10)\n"
  30148. " (extension-packages (list postgis))))\n"
  30149. " %base-services)))\n"
  30150. msgstr ""
  30151. #. type: table
  30152. #: guix-git/doc/guix.texi:20107
  30153. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  30154. msgstr ""
  30155. #. type: example
  30156. #: guix-git/doc/guix.texi:20114
  30157. #, no-wrap
  30158. msgid ""
  30159. "psql -U postgres\n"
  30160. "> create database postgistest;\n"
  30161. "> \\connect postgistest;\n"
  30162. "> create extension postgis;\n"
  30163. "> create extension postgis_topology;\n"
  30164. msgstr ""
  30165. #. type: table
  30166. #: guix-git/doc/guix.texi:20119
  30167. 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."
  30168. msgstr ""
  30169. #. type: deftp
  30170. #: guix-git/doc/guix.texi:20123
  30171. #, no-wrap
  30172. msgid "{Data Type} postgresql-config-file"
  30173. msgstr ""
  30174. #. type: deftp
  30175. #: guix-git/doc/guix.texi:20129
  30176. 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."
  30177. msgstr ""
  30178. #. type: lisp
  30179. #: guix-git/doc/guix.texi:20149
  30180. #, no-wrap
  30181. msgid ""
  30182. "(service postgresql-service-type\n"
  30183. " (postgresql-configuration\n"
  30184. " (config-file\n"
  30185. " (postgresql-config-file\n"
  30186. " (log-destination \"stderr\")\n"
  30187. " (hba-file\n"
  30188. " (plain-file \"pg_hba.conf\"\n"
  30189. " \"\n"
  30190. "local\tall\tall\t\t\ttrust\n"
  30191. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  30192. "host\tall\tall\t::1/128 \tmd5\"))\n"
  30193. " (extra-config\n"
  30194. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  30195. " (\"random_page_cost\" 2)\n"
  30196. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  30197. " (\"work_mem\" \"500 MB\")\n"
  30198. " (\"logging_collector\" #t)\n"
  30199. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  30200. msgstr ""
  30201. #. type: item
  30202. #: guix-git/doc/guix.texi:20152
  30203. #, no-wrap
  30204. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  30205. msgstr ""
  30206. #. type: table
  30207. #: guix-git/doc/guix.texi:20155
  30208. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  30209. msgstr ""
  30210. #. type: item
  30211. #: guix-git/doc/guix.texi:20156
  30212. #, no-wrap
  30213. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  30214. msgstr ""
  30215. #. type: table
  30216. #: guix-git/doc/guix.texi:20159
  30217. msgid "Filename or G-expression for the host-based authentication configuration."
  30218. msgstr ""
  30219. #. type: item
  30220. #: guix-git/doc/guix.texi:20160
  30221. #, no-wrap
  30222. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  30223. msgstr ""
  30224. #. type: table
  30225. #: guix-git/doc/guix.texi:20162
  30226. msgid "Filename or G-expression for the user name mapping configuration."
  30227. msgstr ""
  30228. #. type: item
  30229. #: guix-git/doc/guix.texi:20163
  30230. #, no-wrap
  30231. msgid "@code{socket-directory} (default: @code{#false})"
  30232. msgstr ""
  30233. #. type: table
  30234. #: guix-git/doc/guix.texi:20168
  30235. 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."
  30236. msgstr ""
  30237. #. type: table
  30238. #: guix-git/doc/guix.texi:20171
  30239. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  30240. msgstr ""
  30241. #. type: table
  30242. #: guix-git/doc/guix.texi:20176
  30243. 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."
  30244. msgstr ""
  30245. #. type: table
  30246. #: guix-git/doc/guix.texi:20182
  30247. 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}."
  30248. msgstr ""
  30249. #. type: deffn
  30250. #: guix-git/doc/guix.texi:20186
  30251. #, no-wrap
  30252. msgid "{Scheme Variable} postgresql-role-service-type"
  30253. msgstr ""
  30254. #. type: deffn
  30255. #: guix-git/doc/guix.texi:20189
  30256. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  30257. msgstr ""
  30258. #. type: lisp
  30259. #: guix-git/doc/guix.texi:20197
  30260. #, no-wrap
  30261. msgid ""
  30262. "(service postgresql-role-service-type\n"
  30263. " (postgresql-role-configuration\n"
  30264. " (roles\n"
  30265. " (list (postgresql-role\n"
  30266. " (name \"test\")\n"
  30267. " (create-database? #t))))))\n"
  30268. msgstr ""
  30269. #. type: deffn
  30270. #: guix-git/doc/guix.texi:20201
  30271. msgid "This service can be extended with extra roles, as in this example:"
  30272. msgstr ""
  30273. #. type: lisp
  30274. #: guix-git/doc/guix.texi:20207
  30275. #, no-wrap
  30276. msgid ""
  30277. "(service-extension postgresql-role-service-type\n"
  30278. " (const (postgresql-role\n"
  30279. " (name \"alice\")\n"
  30280. " (create-database? #t))))\n"
  30281. msgstr ""
  30282. #. type: deftp
  30283. #: guix-git/doc/guix.texi:20210
  30284. #, no-wrap
  30285. msgid "{Data Type} postgresql-role"
  30286. msgstr ""
  30287. #. type: deftp
  30288. #: guix-git/doc/guix.texi:20216
  30289. 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."
  30290. msgstr ""
  30291. #. type: table
  30292. #: guix-git/doc/guix.texi:20220
  30293. msgid "The role name."
  30294. msgstr ""
  30295. #. type: item
  30296. #: guix-git/doc/guix.texi:20221
  30297. #, no-wrap
  30298. msgid "@code{permissions} (default: @code{'(createdb login)})"
  30299. msgstr ""
  30300. #. type: table
  30301. #: guix-git/doc/guix.texi:20225
  30302. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  30303. msgstr ""
  30304. #. type: item
  30305. #: guix-git/doc/guix.texi:20226
  30306. #, no-wrap
  30307. msgid "@code{create-database?} (default: @code{#f})"
  30308. msgstr ""
  30309. #. type: table
  30310. #: guix-git/doc/guix.texi:20228
  30311. msgid "Whether to create a database with the same name as the role."
  30312. msgstr ""
  30313. #. type: deftp
  30314. #: guix-git/doc/guix.texi:20232
  30315. #, no-wrap
  30316. msgid "{Data Type} postgresql-role-configuration"
  30317. msgstr ""
  30318. #. type: deftp
  30319. #: guix-git/doc/guix.texi:20235
  30320. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  30321. msgstr ""
  30322. #. type: item
  30323. #: guix-git/doc/guix.texi:20237
  30324. #, no-wrap
  30325. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  30326. msgstr ""
  30327. #. type: table
  30328. #: guix-git/doc/guix.texi:20239
  30329. msgid "The PostgreSQL host to connect to."
  30330. msgstr ""
  30331. #. type: item
  30332. #: guix-git/doc/guix.texi:20240
  30333. #, no-wrap
  30334. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  30335. msgstr ""
  30336. #. type: table
  30337. #: guix-git/doc/guix.texi:20242
  30338. msgid "File name of the log file."
  30339. msgstr ""
  30340. #. type: item
  30341. #: guix-git/doc/guix.texi:20243
  30342. #, no-wrap
  30343. msgid "@code{roles} (default: @code{'()})"
  30344. msgstr ""
  30345. #. type: table
  30346. #: guix-git/doc/guix.texi:20245
  30347. msgid "The initial PostgreSQL roles to create."
  30348. msgstr ""
  30349. #. type: subsubheading
  30350. #: guix-git/doc/guix.texi:20248
  30351. #, no-wrap
  30352. msgid "MariaDB/MySQL"
  30353. msgstr ""
  30354. #. type: defvr
  30355. #: guix-git/doc/guix.texi:20250
  30356. #, no-wrap
  30357. msgid "{Scheme Variable} mysql-service-type"
  30358. msgstr ""
  30359. #. type: defvr
  30360. #: guix-git/doc/guix.texi:20254
  30361. 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."
  30362. msgstr ""
  30363. #. type: deftp
  30364. #: guix-git/doc/guix.texi:20256
  30365. #, no-wrap
  30366. msgid "{Data Type} mysql-configuration"
  30367. msgstr ""
  30368. #. type: deftp
  30369. #: guix-git/doc/guix.texi:20258
  30370. msgid "Data type representing the configuration of @var{mysql-service-type}."
  30371. msgstr ""
  30372. #. type: item
  30373. #: guix-git/doc/guix.texi:20260
  30374. #, no-wrap
  30375. msgid "@code{mysql} (default: @var{mariadb})"
  30376. msgstr ""
  30377. #. type: table
  30378. #: guix-git/doc/guix.texi:20263
  30379. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  30380. msgstr ""
  30381. #. type: table
  30382. #: guix-git/doc/guix.texi:20266
  30383. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  30384. msgstr ""
  30385. #. type: item
  30386. #: guix-git/doc/guix.texi:20267 guix-git/doc/guix.texi:24087
  30387. #, no-wrap
  30388. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  30389. msgstr ""
  30390. #. type: table
  30391. #: guix-git/doc/guix.texi:20270
  30392. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  30393. msgstr ""
  30394. #. type: item
  30395. #: guix-git/doc/guix.texi:20271
  30396. #, no-wrap
  30397. msgid "@code{port} (default: @code{3306})"
  30398. msgstr ""
  30399. #. type: table
  30400. #: guix-git/doc/guix.texi:20273
  30401. msgid "TCP port on which the database server listens for incoming connections."
  30402. msgstr ""
  30403. #. type: item
  30404. #: guix-git/doc/guix.texi:20274
  30405. #, no-wrap
  30406. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  30407. msgstr ""
  30408. #. type: table
  30409. #: guix-git/doc/guix.texi:20276
  30410. msgid "Socket file to use for local (non-network) connections."
  30411. msgstr ""
  30412. #. type: table
  30413. #: guix-git/doc/guix.texi:20279
  30414. msgid "Additional settings for the @file{my.cnf} configuration file."
  30415. msgstr ""
  30416. #. type: item
  30417. #: guix-git/doc/guix.texi:20280
  30418. #, no-wrap
  30419. msgid "@code{extra-environment} (default: @code{#~'()})"
  30420. msgstr ""
  30421. #. type: table
  30422. #: guix-git/doc/guix.texi:20282
  30423. msgid "List of environment variables passed to the @command{mysqld} process."
  30424. msgstr ""
  30425. #. type: item
  30426. #: guix-git/doc/guix.texi:20283
  30427. #, no-wrap
  30428. msgid "@code{auto-upgrade?} (default: @code{#t})"
  30429. msgstr ""
  30430. #. type: table
  30431. #: guix-git/doc/guix.texi:20288
  30432. 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."
  30433. msgstr ""
  30434. #. type: subsubheading
  30435. #: guix-git/doc/guix.texi:20292
  30436. #, no-wrap
  30437. msgid "Memcached"
  30438. msgstr ""
  30439. #. type: defvr
  30440. #: guix-git/doc/guix.texi:20294
  30441. #, no-wrap
  30442. msgid "{Scheme Variable} memcached-service-type"
  30443. msgstr ""
  30444. #. type: defvr
  30445. #: guix-git/doc/guix.texi:20298
  30446. 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."
  30447. msgstr ""
  30448. #. type: lisp
  30449. #: guix-git/doc/guix.texi:20302
  30450. #, no-wrap
  30451. msgid "(service memcached-service-type)\n"
  30452. msgstr ""
  30453. #. type: deftp
  30454. #: guix-git/doc/guix.texi:20304
  30455. #, no-wrap
  30456. msgid "{Data Type} memcached-configuration"
  30457. msgstr ""
  30458. #. type: deftp
  30459. #: guix-git/doc/guix.texi:20306
  30460. msgid "Data type representing the configuration of memcached."
  30461. msgstr ""
  30462. #. type: item
  30463. #: guix-git/doc/guix.texi:20308
  30464. #, no-wrap
  30465. msgid "@code{memcached} (default: @code{memcached})"
  30466. msgstr ""
  30467. #. type: table
  30468. #: guix-git/doc/guix.texi:20310
  30469. msgid "The Memcached package to use."
  30470. msgstr ""
  30471. #. type: item
  30472. #: guix-git/doc/guix.texi:20311
  30473. #, no-wrap
  30474. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  30475. msgstr ""
  30476. #. type: table
  30477. #: guix-git/doc/guix.texi:20313
  30478. msgid "Network interfaces on which to listen."
  30479. msgstr ""
  30480. #. type: item
  30481. #: guix-git/doc/guix.texi:20314
  30482. #, no-wrap
  30483. msgid "@code{tcp-port} (default: @code{11211})"
  30484. msgstr ""
  30485. #. type: table
  30486. #: guix-git/doc/guix.texi:20316
  30487. msgid "Port on which to accept connections."
  30488. msgstr ""
  30489. #. type: item
  30490. #: guix-git/doc/guix.texi:20317
  30491. #, no-wrap
  30492. msgid "@code{udp-port} (default: @code{11211})"
  30493. msgstr ""
  30494. #. type: table
  30495. #: guix-git/doc/guix.texi:20320
  30496. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  30497. msgstr ""
  30498. #. type: item
  30499. #: guix-git/doc/guix.texi:20321
  30500. #, no-wrap
  30501. msgid "@code{additional-options} (default: @code{'()})"
  30502. msgstr ""
  30503. #. type: table
  30504. #: guix-git/doc/guix.texi:20323
  30505. msgid "Additional command line options to pass to @code{memcached}."
  30506. msgstr ""
  30507. #. type: subsubheading
  30508. #: guix-git/doc/guix.texi:20326
  30509. #, no-wrap
  30510. msgid "Redis"
  30511. msgstr ""
  30512. #. type: defvr
  30513. #: guix-git/doc/guix.texi:20328
  30514. #, no-wrap
  30515. msgid "{Scheme Variable} redis-service-type"
  30516. msgstr ""
  30517. #. type: defvr
  30518. #: guix-git/doc/guix.texi:20331
  30519. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  30520. msgstr ""
  30521. #. type: deftp
  30522. #: guix-git/doc/guix.texi:20333
  30523. #, no-wrap
  30524. msgid "{Data Type} redis-configuration"
  30525. msgstr ""
  30526. #. type: deftp
  30527. #: guix-git/doc/guix.texi:20335
  30528. msgid "Data type representing the configuration of redis."
  30529. msgstr ""
  30530. #. type: item
  30531. #: guix-git/doc/guix.texi:20337
  30532. #, no-wrap
  30533. msgid "@code{redis} (default: @code{redis})"
  30534. msgstr ""
  30535. #. type: table
  30536. #: guix-git/doc/guix.texi:20339
  30537. msgid "The Redis package to use."
  30538. msgstr ""
  30539. #. type: item
  30540. #: guix-git/doc/guix.texi:20340
  30541. #, no-wrap
  30542. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  30543. msgstr ""
  30544. #. type: table
  30545. #: guix-git/doc/guix.texi:20342
  30546. msgid "Network interface on which to listen."
  30547. msgstr ""
  30548. #. type: item
  30549. #: guix-git/doc/guix.texi:20343
  30550. #, no-wrap
  30551. msgid "@code{port} (default: @code{6379})"
  30552. msgstr ""
  30553. #. type: table
  30554. #: guix-git/doc/guix.texi:20346
  30555. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  30556. msgstr ""
  30557. #. type: item
  30558. #: guix-git/doc/guix.texi:20347
  30559. #, no-wrap
  30560. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  30561. msgstr ""
  30562. #. type: table
  30563. #: guix-git/doc/guix.texi:20349
  30564. msgid "Directory in which to store the database and related files."
  30565. msgstr ""
  30566. #. type: cindex
  30567. #: guix-git/doc/guix.texi:20355
  30568. #, no-wrap
  30569. msgid "mail"
  30570. msgstr ""
  30571. #. type: cindex
  30572. #: guix-git/doc/guix.texi:20356
  30573. #, no-wrap
  30574. msgid "email"
  30575. msgstr ""
  30576. #. type: Plain text
  30577. #: guix-git/doc/guix.texi:20361
  30578. 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."
  30579. msgstr ""
  30580. #. type: subsubheading
  30581. #: guix-git/doc/guix.texi:20362
  30582. #, no-wrap
  30583. msgid "Dovecot Service"
  30584. msgstr ""
  30585. #. type: deffn
  30586. #: guix-git/doc/guix.texi:20364
  30587. #, no-wrap
  30588. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  30589. msgstr ""
  30590. #. type: deffn
  30591. #: guix-git/doc/guix.texi:20366
  30592. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  30593. msgstr ""
  30594. #. type: Plain text
  30595. #: guix-git/doc/guix.texi:20376
  30596. 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."
  30597. msgstr ""
  30598. #. type: Plain text
  30599. #: guix-git/doc/guix.texi:20379
  30600. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  30601. msgstr ""
  30602. #. type: lisp
  30603. #: guix-git/doc/guix.texi:20384
  30604. #, no-wrap
  30605. msgid ""
  30606. "(dovecot-service #:config\n"
  30607. " (dovecot-configuration\n"
  30608. " (mail-location \"maildir:~/.mail\")))\n"
  30609. msgstr ""
  30610. #. type: Plain text
  30611. #: guix-git/doc/guix.texi:20392
  30612. 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."
  30613. msgstr ""
  30614. #. type: Plain text
  30615. #: guix-git/doc/guix.texi:20402
  30616. msgid "Available @code{dovecot-configuration} fields are:"
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20403
  30620. #, no-wrap
  30621. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  30622. msgstr ""
  30623. #. type: deftypevr
  30624. #: guix-git/doc/guix.texi:20405 guix-git/doc/guix.texi:21754
  30625. msgid "The dovecot package."
  30626. msgstr ""
  30627. #. type: deftypevr
  30628. #: guix-git/doc/guix.texi:20407
  30629. #, no-wrap
  30630. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  30631. msgstr ""
  30632. #. type: deftypevr
  30633. #: guix-git/doc/guix.texi:20413
  30634. 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."
  30635. msgstr ""
  30636. #. type: deftypevr
  30637. #: guix-git/doc/guix.texi:20415
  30638. #, no-wrap
  30639. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  30640. msgstr ""
  30641. #. type: deftypevr
  30642. #: guix-git/doc/guix.texi:20418
  30643. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  30644. msgstr ""
  30645. #. type: deftypevr
  30646. #: guix-git/doc/guix.texi:20420
  30647. msgid "Available @code{protocol-configuration} fields are:"
  30648. msgstr ""
  30649. #. type: deftypevr
  30650. #: guix-git/doc/guix.texi:20421
  30651. #, no-wrap
  30652. msgid "{@code{protocol-configuration} parameter} string name"
  30653. msgstr ""
  30654. #. type: deftypevr
  30655. #: guix-git/doc/guix.texi:20423
  30656. msgid "The name of the protocol."
  30657. msgstr ""
  30658. #. type: deftypevr
  30659. #: guix-git/doc/guix.texi:20425
  30660. #, no-wrap
  30661. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  30662. msgstr ""
  30663. #. type: deftypevr
  30664. #: guix-git/doc/guix.texi:20429
  30665. 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\"}."
  30666. msgstr ""
  30667. #. type: deftypevr
  30668. #: guix-git/doc/guix.texi:20431
  30669. #, no-wrap
  30670. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  30671. msgstr ""
  30672. #. type: deftypevr
  30673. #: guix-git/doc/guix.texi:20436
  30674. 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."
  30675. msgstr ""
  30676. #. type: deftypevr
  30677. #: guix-git/doc/guix.texi:20439
  30678. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20444
  30682. #, no-wrap
  30683. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  30684. msgstr ""
  30685. #. type: deftypevr
  30686. #: guix-git/doc/guix.texi:20449
  30687. 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."
  30688. msgstr ""
  30689. #. type: deftypevr
  30690. #: guix-git/doc/guix.texi:20453
  30691. #, no-wrap
  30692. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  30693. msgstr ""
  30694. #. type: deftypevr
  30695. #: guix-git/doc/guix.texi:20458
  30696. 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."
  30697. msgstr ""
  30698. #. type: deftypevr
  30699. #: guix-git/doc/guix.texi:20463
  30700. #, no-wrap
  30701. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  30702. msgstr ""
  30703. #. type: deftypevr
  30704. #: guix-git/doc/guix.texi:20465
  30705. msgid "Space separated list of plugins to load."
  30706. msgstr ""
  30707. #. type: deftypevr
  30708. #: guix-git/doc/guix.texi:20467
  30709. #, no-wrap
  30710. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  30711. msgstr ""
  30712. #. type: deftypevr
  30713. #: guix-git/doc/guix.texi:20471
  30714. 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}."
  30715. msgstr ""
  30716. #. type: deftypevr
  30717. #: guix-git/doc/guix.texi:20475
  30718. #, no-wrap
  30719. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  30720. msgstr ""
  30721. #. type: deftypevr
  30722. #: guix-git/doc/guix.texi:20479
  30723. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  30724. msgstr ""
  30725. #. type: deftypevr
  30726. #: guix-git/doc/guix.texi:20481
  30727. msgid "Available @code{service-configuration} fields are:"
  30728. msgstr ""
  30729. #. type: deftypevr
  30730. #: guix-git/doc/guix.texi:20482
  30731. #, no-wrap
  30732. msgid "{@code{service-configuration} parameter} string kind"
  30733. msgstr ""
  30734. #. type: deftypevr
  30735. #: guix-git/doc/guix.texi:20487
  30736. 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."
  30737. msgstr ""
  30738. #. type: deftypevr
  30739. #: guix-git/doc/guix.texi:20489
  30740. #, no-wrap
  30741. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  30742. msgstr ""
  30743. #. type: deftypevr
  30744. #: guix-git/doc/guix.texi:20494
  30745. 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{()}."
  30746. msgstr ""
  30747. #. type: deftypevr
  30748. #: guix-git/doc/guix.texi:20496
  30749. msgid "Available @code{unix-listener-configuration} fields are:"
  30750. msgstr ""
  30751. #. type: deftypevr
  30752. #: guix-git/doc/guix.texi:20497
  30753. #, no-wrap
  30754. msgid "{@code{unix-listener-configuration} parameter} string path"
  30755. msgstr ""
  30756. #. type: deftypevr
  30757. #: guix-git/doc/guix.texi:20500 guix-git/doc/guix.texi:20523
  30758. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  30759. msgstr ""
  30760. #. type: deftypevr
  30761. #: guix-git/doc/guix.texi:20502
  30762. #, no-wrap
  30763. msgid "{@code{unix-listener-configuration} parameter} string mode"
  30764. msgstr ""
  30765. #. type: deftypevr
  30766. #: guix-git/doc/guix.texi:20505 guix-git/doc/guix.texi:20528
  30767. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  30768. msgstr ""
  30769. #. type: deftypevr
  30770. #: guix-git/doc/guix.texi:20507
  30771. #, no-wrap
  30772. msgid "{@code{unix-listener-configuration} parameter} string user"
  30773. msgstr ""
  30774. #. type: deftypevr
  30775. #: guix-git/doc/guix.texi:20510 guix-git/doc/guix.texi:20533
  30776. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  30777. msgstr ""
  30778. #. type: deftypevr
  30779. #: guix-git/doc/guix.texi:20512
  30780. #, no-wrap
  30781. msgid "{@code{unix-listener-configuration} parameter} string group"
  30782. msgstr ""
  30783. #. type: deftypevr
  30784. #: guix-git/doc/guix.texi:20515 guix-git/doc/guix.texi:20538
  30785. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20519
  30789. msgid "Available @code{fifo-listener-configuration} fields are:"
  30790. msgstr ""
  30791. #. type: deftypevr
  30792. #: guix-git/doc/guix.texi:20520
  30793. #, no-wrap
  30794. msgid "{@code{fifo-listener-configuration} parameter} string path"
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20525
  30798. #, no-wrap
  30799. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  30800. msgstr ""
  30801. #. type: deftypevr
  30802. #: guix-git/doc/guix.texi:20530
  30803. #, no-wrap
  30804. msgid "{@code{fifo-listener-configuration} parameter} string user"
  30805. msgstr ""
  30806. #. type: deftypevr
  30807. #: guix-git/doc/guix.texi:20535
  30808. #, no-wrap
  30809. msgid "{@code{fifo-listener-configuration} parameter} string group"
  30810. msgstr ""
  30811. #. type: deftypevr
  30812. #: guix-git/doc/guix.texi:20542
  30813. msgid "Available @code{inet-listener-configuration} fields are:"
  30814. msgstr ""
  30815. #. type: deftypevr
  30816. #: guix-git/doc/guix.texi:20543
  30817. #, no-wrap
  30818. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  30819. msgstr ""
  30820. #. type: deftypevr
  30821. #: guix-git/doc/guix.texi:20545
  30822. msgid "The protocol to listen for."
  30823. msgstr ""
  30824. #. type: deftypevr
  30825. #: guix-git/doc/guix.texi:20547
  30826. #, no-wrap
  30827. msgid "{@code{inet-listener-configuration} parameter} string address"
  30828. msgstr ""
  30829. #. type: deftypevr
  30830. #: guix-git/doc/guix.texi:20550
  30831. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  30832. msgstr ""
  30833. #. type: deftypevr
  30834. #: guix-git/doc/guix.texi:20552
  30835. #, no-wrap
  30836. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  30837. msgstr ""
  30838. #. type: deftypevr
  30839. #: guix-git/doc/guix.texi:20554
  30840. msgid "The port on which to listen."
  30841. msgstr ""
  30842. #. type: deftypevr
  30843. #: guix-git/doc/guix.texi:20556
  30844. #, no-wrap
  30845. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  30846. msgstr ""
  30847. #. type: deftypevr
  30848. #: guix-git/doc/guix.texi:20560
  30849. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  30850. msgstr ""
  30851. #. type: deftypevr
  30852. #: guix-git/doc/guix.texi:20564
  30853. #, no-wrap
  30854. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  30855. msgstr ""
  30856. #. type: deftypevr
  30857. #: guix-git/doc/guix.texi:20569
  30858. 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."
  30859. msgstr ""
  30860. #. type: deftypevr
  30861. #: guix-git/doc/guix.texi:20574
  30862. #, no-wrap
  30863. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  30864. msgstr ""
  30865. #. type: deftypevr
  30866. #: guix-git/doc/guix.texi:20579
  30867. 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}."
  30868. msgstr ""
  30869. #. type: deftypevr
  30870. #: guix-git/doc/guix.texi:20582
  30871. #, no-wrap
  30872. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  30873. msgstr ""
  30874. #. type: deftypevr
  30875. #: guix-git/doc/guix.texi:20585
  30876. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  30877. msgstr ""
  30878. #. type: deftypevr
  30879. #: guix-git/doc/guix.texi:20590
  30880. #, no-wrap
  30881. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  30882. msgstr ""
  30883. #. type: deftypevr
  30884. #: guix-git/doc/guix.texi:20593
  30885. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  30886. msgstr ""
  30887. #. type: deftypevr
  30888. #: guix-git/doc/guix.texi:20595
  30889. #, no-wrap
  30890. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  30891. msgstr ""
  30892. #. type: deftypevr
  30893. #: guix-git/doc/guix.texi:20599
  30894. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  30895. msgstr ""
  30896. #. type: deftypevr
  30897. #: guix-git/doc/guix.texi:20603
  30898. #, no-wrap
  30899. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  30900. msgstr ""
  30901. #. type: deftypevr
  30902. #: guix-git/doc/guix.texi:20606
  30903. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  30904. msgstr ""
  30905. #. type: deftypevr
  30906. #: guix-git/doc/guix.texi:20608
  30907. msgid "Available @code{dict-configuration} fields are:"
  30908. msgstr ""
  30909. #. type: deftypevr
  30910. #: guix-git/doc/guix.texi:20609
  30911. #, no-wrap
  30912. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  30913. msgstr ""
  30914. #. type: deftypevr
  30915. #: guix-git/doc/guix.texi:20612
  30916. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  30917. msgstr ""
  30918. #. type: deftypevr
  30919. #: guix-git/doc/guix.texi:20616
  30920. #, no-wrap
  30921. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  30922. msgstr ""
  30923. #. type: deftypevr
  30924. #: guix-git/doc/guix.texi:20619
  30925. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  30926. msgstr ""
  30927. #. type: deftypevr
  30928. #: guix-git/doc/guix.texi:20621
  30929. msgid "Available @code{passdb-configuration} fields are:"
  30930. msgstr ""
  30931. #. type: deftypevr
  30932. #: guix-git/doc/guix.texi:20622
  30933. #, no-wrap
  30934. msgid "{@code{passdb-configuration} parameter} string driver"
  30935. msgstr ""
  30936. #. type: deftypevr
  30937. #: guix-git/doc/guix.texi:20627
  30938. 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\"}."
  30939. msgstr ""
  30940. #. type: deftypevr
  30941. #: guix-git/doc/guix.texi:20629
  30942. #, no-wrap
  30943. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  30944. msgstr ""
  30945. #. type: deftypevr
  30946. #: guix-git/doc/guix.texi:20632
  30947. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30948. msgstr ""
  30949. #. type: deftypevr
  30950. #: guix-git/doc/guix.texi:20636
  30951. #, no-wrap
  30952. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30953. msgstr ""
  30954. #. type: deftypevr
  30955. #: guix-git/doc/guix.texi:20639
  30956. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30957. msgstr ""
  30958. #. type: deftypevr
  30959. #: guix-git/doc/guix.texi:20641
  30960. msgid "Available @code{userdb-configuration} fields are:"
  30961. msgstr ""
  30962. #. type: deftypevr
  30963. #: guix-git/doc/guix.texi:20642
  30964. #, no-wrap
  30965. msgid "{@code{userdb-configuration} parameter} string driver"
  30966. msgstr ""
  30967. #. type: deftypevr
  30968. #: guix-git/doc/guix.texi:20646
  30969. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30970. msgstr ""
  30971. #. type: deftypevr
  30972. #: guix-git/doc/guix.texi:20648
  30973. #, no-wrap
  30974. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30975. msgstr ""
  30976. #. type: deftypevr
  30977. #: guix-git/doc/guix.texi:20651
  30978. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30979. msgstr ""
  30980. #. type: deftypevr
  30981. #: guix-git/doc/guix.texi:20653
  30982. #, no-wrap
  30983. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30984. msgstr ""
  30985. #. type: deftypevr
  30986. #: guix-git/doc/guix.texi:20656
  30987. msgid "Override fields from passwd. Defaults to @samp{()}."
  30988. msgstr ""
  30989. #. type: deftypevr
  30990. #: guix-git/doc/guix.texi:20660
  30991. #, no-wrap
  30992. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30993. msgstr ""
  30994. #. type: deftypevr
  30995. #: guix-git/doc/guix.texi:20663
  30996. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30997. msgstr ""
  30998. #. type: deftypevr
  30999. #: guix-git/doc/guix.texi:20665
  31000. #, no-wrap
  31001. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  31002. msgstr ""
  31003. #. type: deftypevr
  31004. #: guix-git/doc/guix.texi:20668
  31005. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  31006. msgstr ""
  31007. #. type: deftypevr
  31008. #: guix-git/doc/guix.texi:20670
  31009. msgid "Available @code{namespace-configuration} fields are:"
  31010. msgstr ""
  31011. #. type: deftypevr
  31012. #: guix-git/doc/guix.texi:20671
  31013. #, no-wrap
  31014. msgid "{@code{namespace-configuration} parameter} string name"
  31015. msgstr ""
  31016. #. type: deftypevr
  31017. #: guix-git/doc/guix.texi:20673
  31018. msgid "Name for this namespace."
  31019. msgstr ""
  31020. #. type: deftypevr
  31021. #: guix-git/doc/guix.texi:20675
  31022. #, no-wrap
  31023. msgid "{@code{namespace-configuration} parameter} string type"
  31024. msgstr ""
  31025. #. type: deftypevr
  31026. #: guix-git/doc/guix.texi:20678
  31027. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  31028. msgstr ""
  31029. #. type: deftypevr
  31030. #: guix-git/doc/guix.texi:20680
  31031. #, no-wrap
  31032. msgid "{@code{namespace-configuration} parameter} string separator"
  31033. msgstr ""
  31034. #. type: deftypevr
  31035. #: guix-git/doc/guix.texi:20686
  31036. 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{\"\"}."
  31037. msgstr ""
  31038. #. type: deftypevr
  31039. #: guix-git/doc/guix.texi:20688
  31040. #, no-wrap
  31041. msgid "{@code{namespace-configuration} parameter} string prefix"
  31042. msgstr ""
  31043. #. type: deftypevr
  31044. #: guix-git/doc/guix.texi:20692
  31045. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  31046. msgstr ""
  31047. #. type: deftypevr
  31048. #: guix-git/doc/guix.texi:20694
  31049. #, no-wrap
  31050. msgid "{@code{namespace-configuration} parameter} string location"
  31051. msgstr ""
  31052. #. type: deftypevr
  31053. #: guix-git/doc/guix.texi:20698
  31054. 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{\"\"}."
  31055. msgstr ""
  31056. #. type: deftypevr
  31057. #: guix-git/doc/guix.texi:20700
  31058. #, no-wrap
  31059. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  31060. msgstr ""
  31061. #. type: deftypevr
  31062. #: guix-git/doc/guix.texi:20704
  31063. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  31064. msgstr ""
  31065. #. type: deftypevr
  31066. #: guix-git/doc/guix.texi:20706
  31067. #, no-wrap
  31068. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  31069. msgstr ""
  31070. #. type: deftypevr
  31071. #: guix-git/doc/guix.texi:20714
  31072. 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}."
  31073. msgstr ""
  31074. #. type: deftypevr
  31075. #: guix-git/doc/guix.texi:20716
  31076. #, no-wrap
  31077. msgid "{@code{namespace-configuration} parameter} boolean list?"
  31078. msgstr ""
  31079. #. type: deftypevr
  31080. #: guix-git/doc/guix.texi:20722
  31081. 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}."
  31082. msgstr ""
  31083. #. type: deftypevr
  31084. #: guix-git/doc/guix.texi:20724
  31085. #, no-wrap
  31086. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  31087. msgstr ""
  31088. #. type: deftypevr
  31089. #: guix-git/doc/guix.texi:20729
  31090. 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}."
  31091. msgstr ""
  31092. #. type: deftypevr
  31093. #: guix-git/doc/guix.texi:20731
  31094. #, no-wrap
  31095. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  31096. msgstr ""
  31097. #. type: deftypevr
  31098. #: guix-git/doc/guix.texi:20734
  31099. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  31100. msgstr ""
  31101. #. type: deftypevr
  31102. #: guix-git/doc/guix.texi:20736
  31103. msgid "Available @code{mailbox-configuration} fields are:"
  31104. msgstr ""
  31105. #. type: deftypevr
  31106. #: guix-git/doc/guix.texi:20737
  31107. #, no-wrap
  31108. msgid "{@code{mailbox-configuration} parameter} string name"
  31109. msgstr ""
  31110. #. type: deftypevr
  31111. #: guix-git/doc/guix.texi:20739
  31112. msgid "Name for this mailbox."
  31113. msgstr ""
  31114. #. type: deftypevr
  31115. #: guix-git/doc/guix.texi:20741
  31116. #, no-wrap
  31117. msgid "{@code{mailbox-configuration} parameter} string auto"
  31118. msgstr ""
  31119. #. type: deftypevr
  31120. #: guix-git/doc/guix.texi:20745
  31121. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  31122. msgstr ""
  31123. #. type: deftypevr
  31124. #: guix-git/doc/guix.texi:20747
  31125. #, no-wrap
  31126. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  31127. msgstr ""
  31128. #. type: deftypevr
  31129. #: guix-git/doc/guix.texi:20752
  31130. 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{()}."
  31131. msgstr ""
  31132. #. type: deftypevr
  31133. #: guix-git/doc/guix.texi:20758
  31134. #, no-wrap
  31135. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  31136. msgstr ""
  31137. #. type: deftypevr
  31138. #: guix-git/doc/guix.texi:20761
  31139. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  31140. msgstr ""
  31141. #. type: deftypevr
  31142. #: guix-git/doc/guix.texi:20763
  31143. #, no-wrap
  31144. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  31145. msgstr ""
  31146. #. type: deftypevr
  31147. #: guix-git/doc/guix.texi:20766
  31148. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  31149. msgstr ""
  31150. #. type: deftypevr
  31151. #: guix-git/doc/guix.texi:20768
  31152. #, no-wrap
  31153. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  31154. msgstr ""
  31155. #. type: deftypevr
  31156. #: guix-git/doc/guix.texi:20775
  31157. 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{()}."
  31158. msgstr ""
  31159. #. type: deftypevr
  31160. #: guix-git/doc/guix.texi:20777
  31161. #, no-wrap
  31162. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  31163. msgstr ""
  31164. #. type: deftypevr
  31165. #: guix-git/doc/guix.texi:20780
  31166. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  31167. msgstr ""
  31168. #. type: deftypevr
  31169. #: guix-git/doc/guix.texi:20782
  31170. #, no-wrap
  31171. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  31172. msgstr ""
  31173. #. type: deftypevr
  31174. #: guix-git/doc/guix.texi:20788
  31175. 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}."
  31176. msgstr ""
  31177. #. type: deftypevr
  31178. #: guix-git/doc/guix.texi:20790
  31179. #, no-wrap
  31180. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  31181. msgstr ""
  31182. #. type: deftypevr
  31183. #: guix-git/doc/guix.texi:20796
  31184. 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}."
  31185. msgstr ""
  31186. #. type: deftypevr
  31187. #: guix-git/doc/guix.texi:20798
  31188. #, no-wrap
  31189. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  31190. msgstr ""
  31191. #. type: deftypevr
  31192. #: guix-git/doc/guix.texi:20802
  31193. 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}."
  31194. msgstr ""
  31195. #. type: deftypevr
  31196. #: guix-git/doc/guix.texi:20804
  31197. #, no-wrap
  31198. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  31199. msgstr ""
  31200. #. type: deftypevr
  31201. #: guix-git/doc/guix.texi:20807
  31202. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  31203. msgstr ""
  31204. #. type: deftypevr
  31205. #: guix-git/doc/guix.texi:20809
  31206. #, no-wrap
  31207. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  31208. msgstr ""
  31209. #. type: deftypevr
  31210. #: guix-git/doc/guix.texi:20813
  31211. 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."
  31212. msgstr ""
  31213. #. type: deftypevr
  31214. #: guix-git/doc/guix.texi:20815
  31215. #, no-wrap
  31216. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  31217. msgstr ""
  31218. #. type: deftypevr
  31219. #: guix-git/doc/guix.texi:20822
  31220. 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}."
  31221. msgstr ""
  31222. #. type: deftypevr
  31223. #: guix-git/doc/guix.texi:20824
  31224. #, no-wrap
  31225. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  31226. msgstr ""
  31227. #. type: deftypevr
  31228. #: guix-git/doc/guix.texi:20829
  31229. 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}."
  31230. msgstr ""
  31231. #. type: deftypevr
  31232. #: guix-git/doc/guix.texi:20831
  31233. #, no-wrap
  31234. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  31235. msgstr ""
  31236. #. type: deftypevr
  31237. #: guix-git/doc/guix.texi:20839
  31238. 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\"}."
  31239. msgstr ""
  31240. #. type: deftypevr
  31241. #: guix-git/doc/guix.texi:20841
  31242. #, no-wrap
  31243. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  31244. msgstr ""
  31245. #. type: deftypevr
  31246. #: guix-git/doc/guix.texi:20845
  31247. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  31248. msgstr ""
  31249. #. type: deftypevr
  31250. #: guix-git/doc/guix.texi:20847
  31251. #, no-wrap
  31252. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  31253. msgstr ""
  31254. #. type: deftypevr
  31255. #: guix-git/doc/guix.texi:20853
  31256. 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{()}."
  31257. msgstr ""
  31258. #. type: deftypevr
  31259. #: guix-git/doc/guix.texi:20855
  31260. #, no-wrap
  31261. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  31262. msgstr ""
  31263. #. type: deftypevr
  31264. #: guix-git/doc/guix.texi:20860
  31265. 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{\"\"}."
  31266. msgstr ""
  31267. #. type: deftypevr
  31268. #: guix-git/doc/guix.texi:20862
  31269. #, no-wrap
  31270. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  31271. msgstr ""
  31272. #. type: deftypevr
  31273. #: guix-git/doc/guix.texi:20869
  31274. 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.-_@@\"}."
  31275. msgstr ""
  31276. #. type: deftypevr
  31277. #: guix-git/doc/guix.texi:20871
  31278. #, no-wrap
  31279. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  31280. msgstr ""
  31281. #. type: deftypevr
  31282. #: guix-git/doc/guix.texi:20877
  31283. 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{\"\"}."
  31284. msgstr ""
  31285. #. type: deftypevr
  31286. #: guix-git/doc/guix.texi:20879
  31287. #, no-wrap
  31288. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  31289. msgstr ""
  31290. #. type: deftypevr
  31291. #: guix-git/doc/guix.texi:20886
  31292. 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\"}."
  31293. msgstr ""
  31294. #. type: deftypevr
  31295. #: guix-git/doc/guix.texi:20888
  31296. #, no-wrap
  31297. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  31298. msgstr ""
  31299. #. type: deftypevr
  31300. #: guix-git/doc/guix.texi:20896
  31301. 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{\"\"}."
  31302. msgstr ""
  31303. #. type: deftypevr
  31304. #: guix-git/doc/guix.texi:20898
  31305. #, no-wrap
  31306. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  31307. msgstr ""
  31308. #. type: deftypevr
  31309. #: guix-git/doc/guix.texi:20902
  31310. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  31311. msgstr ""
  31312. #. type: deftypevr
  31313. #: guix-git/doc/guix.texi:20904
  31314. #, no-wrap
  31315. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  31316. msgstr ""
  31317. #. type: deftypevr
  31318. #: guix-git/doc/guix.texi:20909
  31319. 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}."
  31320. msgstr ""
  31321. #. type: deftypevr
  31322. #: guix-git/doc/guix.texi:20911
  31323. #, no-wrap
  31324. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  31325. msgstr ""
  31326. #. type: deftypevr
  31327. #: guix-git/doc/guix.texi:20916
  31328. 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{\"\"}."
  31329. msgstr ""
  31330. #. type: deftypevr
  31331. #: guix-git/doc/guix.texi:20918
  31332. #, no-wrap
  31333. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  31334. msgstr ""
  31335. #. type: deftypevr
  31336. #: guix-git/doc/guix.texi:20924
  31337. 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{\"\"}."
  31338. msgstr ""
  31339. #. type: deftypevr
  31340. #: guix-git/doc/guix.texi:20926
  31341. #, no-wrap
  31342. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  31343. msgstr ""
  31344. #. type: deftypevr
  31345. #: guix-git/doc/guix.texi:20931
  31346. 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}."
  31347. msgstr ""
  31348. #. type: deftypevr
  31349. #: guix-git/doc/guix.texi:20933
  31350. #, no-wrap
  31351. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  31352. msgstr ""
  31353. #. type: deftypevr
  31354. #: guix-git/doc/guix.texi:20936
  31355. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  31356. msgstr ""
  31357. #. type: deftypevr
  31358. #: guix-git/doc/guix.texi:20938
  31359. #, no-wrap
  31360. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  31361. msgstr ""
  31362. #. type: deftypevr
  31363. #: guix-git/doc/guix.texi:20941
  31364. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  31365. msgstr ""
  31366. #. type: deftypevr
  31367. #: guix-git/doc/guix.texi:20943
  31368. #, no-wrap
  31369. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  31370. msgstr ""
  31371. #. type: deftypevr
  31372. #: guix-git/doc/guix.texi:20947
  31373. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  31374. msgstr ""
  31375. #. type: deftypevr
  31376. #: guix-git/doc/guix.texi:20949
  31377. #, no-wrap
  31378. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  31379. msgstr ""
  31380. #. type: deftypevr
  31381. #: guix-git/doc/guix.texi:20954
  31382. 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}."
  31383. msgstr ""
  31384. #. type: deftypevr
  31385. #: guix-git/doc/guix.texi:20956
  31386. #, no-wrap
  31387. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  31388. msgstr ""
  31389. #. type: deftypevr
  31390. #: guix-git/doc/guix.texi:20962
  31391. 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."
  31392. msgstr ""
  31393. #. type: deftypevr
  31394. #: guix-git/doc/guix.texi:20964
  31395. #, no-wrap
  31396. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  31397. msgstr ""
  31398. #. type: deftypevr
  31399. #: guix-git/doc/guix.texi:20969
  31400. 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{()}."
  31401. msgstr ""
  31402. #. type: deftypevr
  31403. #: guix-git/doc/guix.texi:20971
  31404. #, no-wrap
  31405. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  31406. msgstr ""
  31407. #. type: deftypevr
  31408. #: guix-git/doc/guix.texi:20975
  31409. 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{()}."
  31410. msgstr ""
  31411. #. type: deftypevr
  31412. #: guix-git/doc/guix.texi:20977
  31413. #, no-wrap
  31414. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  31415. msgstr ""
  31416. #. type: deftypevr
  31417. #: guix-git/doc/guix.texi:20981
  31418. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  31419. msgstr ""
  31420. #. type: deftypevr
  31421. #: guix-git/doc/guix.texi:20983
  31422. #, no-wrap
  31423. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  31424. msgstr ""
  31425. #. type: deftypevr
  31426. #: guix-git/doc/guix.texi:20988
  31427. 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\"}."
  31428. msgstr ""
  31429. #. type: deftypevr
  31430. #: guix-git/doc/guix.texi:20990
  31431. #, no-wrap
  31432. msgid "{@code{dovecot-configuration} parameter} string log-path"
  31433. msgstr ""
  31434. #. type: deftypevr
  31435. #: guix-git/doc/guix.texi:20994
  31436. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  31437. msgstr ""
  31438. #. type: deftypevr
  31439. #: guix-git/doc/guix.texi:20996
  31440. #, no-wrap
  31441. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  31442. msgstr ""
  31443. #. type: deftypevr
  31444. #: guix-git/doc/guix.texi:21000
  31445. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  31446. msgstr ""
  31447. #. type: deftypevr
  31448. #: guix-git/doc/guix.texi:21002
  31449. #, no-wrap
  31450. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  31451. msgstr ""
  31452. #. type: deftypevr
  31453. #: guix-git/doc/guix.texi:21006
  31454. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  31455. msgstr ""
  31456. #. type: deftypevr
  31457. #: guix-git/doc/guix.texi:21008
  31458. #, no-wrap
  31459. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  31460. msgstr ""
  31461. #. type: deftypevr
  31462. #: guix-git/doc/guix.texi:21013
  31463. 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\"}."
  31464. msgstr ""
  31465. #. type: deftypevr
  31466. #: guix-git/doc/guix.texi:21015
  31467. #, no-wrap
  31468. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  31469. msgstr ""
  31470. #. type: deftypevr
  31471. #: guix-git/doc/guix.texi:21019
  31472. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  31473. msgstr ""
  31474. #. type: deftypevr
  31475. #: guix-git/doc/guix.texi:21021
  31476. #, no-wrap
  31477. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  31478. msgstr ""
  31479. #. type: deftypevr
  31480. #: guix-git/doc/guix.texi:21028
  31481. 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\"}."
  31482. msgstr ""
  31483. #. type: deftypevr
  31484. #: guix-git/doc/guix.texi:21030
  31485. #, no-wrap
  31486. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  31487. msgstr ""
  31488. #. type: deftypevr
  31489. #: guix-git/doc/guix.texi:21034
  31490. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  31491. msgstr ""
  31492. #. type: deftypevr
  31493. #: guix-git/doc/guix.texi:21036
  31494. #, no-wrap
  31495. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  31496. msgstr ""
  31497. #. type: deftypevr
  31498. #: guix-git/doc/guix.texi:21041
  31499. 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}."
  31500. msgstr ""
  31501. #. type: deftypevr
  31502. #: guix-git/doc/guix.texi:21043
  31503. #, no-wrap
  31504. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  31505. msgstr ""
  31506. #. type: deftypevr
  31507. #: guix-git/doc/guix.texi:21047
  31508. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  31509. msgstr ""
  31510. #. type: deftypevr
  31511. #: guix-git/doc/guix.texi:21049
  31512. #, no-wrap
  31513. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  31514. msgstr ""
  31515. #. type: deftypevr
  31516. #: guix-git/doc/guix.texi:21052
  31517. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  31518. msgstr ""
  31519. #. type: deftypevr
  31520. #: guix-git/doc/guix.texi:21054
  31521. #, no-wrap
  31522. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  31523. msgstr ""
  31524. #. type: deftypevr
  31525. #: guix-git/doc/guix.texi:21058
  31526. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  31527. msgstr ""
  31528. #. type: deftypevr
  31529. #: guix-git/doc/guix.texi:21060
  31530. #, no-wrap
  31531. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  31532. msgstr ""
  31533. #. type: deftypevr
  31534. #: guix-git/doc/guix.texi:21064
  31535. 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."
  31536. msgstr ""
  31537. #. type: deftypevr
  31538. #: guix-git/doc/guix.texi:21066
  31539. #, no-wrap
  31540. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  31541. msgstr ""
  31542. #. type: deftypevr
  31543. #: guix-git/doc/guix.texi:21070
  31544. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  31545. msgstr ""
  31546. #. type: deftypevr
  31547. #: guix-git/doc/guix.texi:21072
  31548. #, no-wrap
  31549. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  31550. msgstr ""
  31551. #. type: deftypevr
  31552. #: guix-git/doc/guix.texi:21076
  31553. 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@}>: \\\"\"}."
  31554. msgstr ""
  31555. #. type: deftypevr
  31556. #: guix-git/doc/guix.texi:21078
  31557. #, no-wrap
  31558. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  31559. msgstr ""
  31560. #. type: deftypevr
  31561. #: guix-git/doc/guix.texi:21080
  31562. msgid "Format to use for logging mail deliveries. You can use variables:"
  31563. msgstr ""
  31564. #. type: item
  31565. #: guix-git/doc/guix.texi:21081
  31566. #, no-wrap
  31567. msgid "%$"
  31568. msgstr ""
  31569. #. type: table
  31570. #: guix-git/doc/guix.texi:21083
  31571. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  31572. msgstr ""
  31573. #. type: item
  31574. #: guix-git/doc/guix.texi:21083
  31575. #, no-wrap
  31576. msgid "%m"
  31577. msgstr ""
  31578. #. type: table
  31579. #: guix-git/doc/guix.texi:21085
  31580. msgid "Message-ID"
  31581. msgstr ""
  31582. #. type: item
  31583. #: guix-git/doc/guix.texi:21085 guix-git/doc/guix.texi:21628
  31584. #, no-wrap
  31585. msgid "%s"
  31586. msgstr ""
  31587. #. type: table
  31588. #: guix-git/doc/guix.texi:21087
  31589. msgid "Subject"
  31590. msgstr ""
  31591. #. type: item
  31592. #: guix-git/doc/guix.texi:21087
  31593. #, no-wrap
  31594. msgid "%f"
  31595. msgstr ""
  31596. #. type: table
  31597. #: guix-git/doc/guix.texi:21089
  31598. msgid "From address"
  31599. msgstr ""
  31600. #. type: table
  31601. #: guix-git/doc/guix.texi:21091
  31602. msgid "Physical size"
  31603. msgstr ""
  31604. #. type: item
  31605. #: guix-git/doc/guix.texi:21091
  31606. #, no-wrap
  31607. msgid "%w"
  31608. msgstr ""
  31609. #. type: table
  31610. #: guix-git/doc/guix.texi:21093
  31611. msgid "Virtual size."
  31612. msgstr ""
  31613. #. type: deftypevr
  31614. #: guix-git/doc/guix.texi:21095
  31615. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  31616. msgstr ""
  31617. #. type: deftypevr
  31618. #: guix-git/doc/guix.texi:21097
  31619. #, no-wrap
  31620. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  31621. msgstr ""
  31622. #. type: deftypevr
  31623. #: guix-git/doc/guix.texi:21102
  31624. 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."
  31625. msgstr ""
  31626. #. type: deftypevr
  31627. #: guix-git/doc/guix.texi:21108
  31628. 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."
  31629. msgstr ""
  31630. #. type: deftypevr
  31631. #: guix-git/doc/guix.texi:21110
  31632. msgid "There are a few special variables you can use, e.g.:"
  31633. msgstr ""
  31634. #. type: table
  31635. #: guix-git/doc/guix.texi:21114
  31636. msgid "username"
  31637. msgstr ""
  31638. #. type: item
  31639. #: guix-git/doc/guix.texi:21114 guix-git/doc/guix.texi:21624
  31640. #, no-wrap
  31641. msgid "%n"
  31642. msgstr ""
  31643. #. type: table
  31644. #: guix-git/doc/guix.texi:21116
  31645. msgid "user part in user@@domain, same as %u if there's no domain"
  31646. msgstr ""
  31647. #. type: item
  31648. #: guix-git/doc/guix.texi:21116
  31649. #, no-wrap
  31650. msgid "%d"
  31651. msgstr ""
  31652. #. type: table
  31653. #: guix-git/doc/guix.texi:21118
  31654. msgid "domain part in user@@domain, empty if there's no domain"
  31655. msgstr ""
  31656. #. type: item
  31657. #: guix-git/doc/guix.texi:21118
  31658. #, no-wrap
  31659. msgid "%h"
  31660. msgstr ""
  31661. #. type: table
  31662. #: guix-git/doc/guix.texi:21120
  31663. msgid "home director"
  31664. msgstr ""
  31665. #. type: deftypevr
  31666. #: guix-git/doc/guix.texi:21123
  31667. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  31668. msgstr ""
  31669. #. type: item
  31670. #: guix-git/doc/guix.texi:21124
  31671. #, no-wrap
  31672. msgid "maildir:~/Maildir"
  31673. msgstr ""
  31674. #. type: item
  31675. #: guix-git/doc/guix.texi:21125
  31676. #, no-wrap
  31677. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  31678. msgstr ""
  31679. #. type: item
  31680. #: guix-git/doc/guix.texi:21126
  31681. #, no-wrap
  31682. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  31683. msgstr ""
  31684. #. type: deftypevr
  31685. #: guix-git/doc/guix.texi:21131
  31686. #, no-wrap
  31687. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  31688. msgstr ""
  31689. #. type: deftypevr
  31690. #: guix-git/doc/guix.texi:21136
  31691. 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{\"\"}."
  31692. msgstr ""
  31693. #. type: deftypevr
  31694. #: guix-git/doc/guix.texi:21138
  31695. #, no-wrap
  31696. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  31697. msgstr ""
  31698. #. type: deftypevr
  31699. #: guix-git/doc/guix.texi:21143
  31700. #, no-wrap
  31701. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  31702. msgstr ""
  31703. #. type: deftypevr
  31704. #: guix-git/doc/guix.texi:21149
  31705. 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{\"\"}."
  31706. msgstr ""
  31707. #. type: deftypevr
  31708. #: guix-git/doc/guix.texi:21151
  31709. #, no-wrap
  31710. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  31711. msgstr ""
  31712. #. type: deftypevr
  31713. #: guix-git/doc/guix.texi:21159
  31714. 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{\"\"}."
  31715. msgstr ""
  31716. #. type: deftypevr
  31717. #: guix-git/doc/guix.texi:21161
  31718. #, no-wrap
  31719. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  31720. msgstr ""
  31721. #. type: deftypevr
  31722. #: guix-git/doc/guix.texi:21164
  31723. 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}."
  31724. msgstr ""
  31725. #. type: deftypevr
  31726. #: guix-git/doc/guix.texi:21167
  31727. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  31728. msgstr ""
  31729. #. type: deftypevr
  31730. #: guix-git/doc/guix.texi:21172
  31731. #, no-wrap
  31732. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  31733. msgstr ""
  31734. #. type: deftypevr
  31735. #: guix-git/doc/guix.texi:21178
  31736. 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}."
  31737. msgstr ""
  31738. #. type: deftypevr
  31739. #: guix-git/doc/guix.texi:21180
  31740. #, no-wrap
  31741. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  31742. msgstr ""
  31743. #. type: deftypevr
  31744. #: guix-git/doc/guix.texi:21184
  31745. 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}."
  31746. msgstr ""
  31747. #. type: deftypevr
  31748. #: guix-git/doc/guix.texi:21186
  31749. #, no-wrap
  31750. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  31751. msgstr ""
  31752. #. type: deftypevr
  31753. #: guix-git/doc/guix.texi:21191
  31754. 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}."
  31755. msgstr ""
  31756. #. type: deftypevr
  31757. #: guix-git/doc/guix.texi:21193
  31758. #, no-wrap
  31759. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  31760. msgstr ""
  31761. #. type: deftypevr
  31762. #: guix-git/doc/guix.texi:21195
  31763. msgid "When to use fsync() or fdatasync() calls:"
  31764. msgstr ""
  31765. #. type: item
  31766. #: guix-git/doc/guix.texi:21196
  31767. #, no-wrap
  31768. msgid "optimized"
  31769. msgstr ""
  31770. #. type: table
  31771. #: guix-git/doc/guix.texi:21198
  31772. msgid "Whenever necessary to avoid losing important data"
  31773. msgstr ""
  31774. #. type: table
  31775. #: guix-git/doc/guix.texi:21200
  31776. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  31777. msgstr ""
  31778. #. type: table
  31779. #: guix-git/doc/guix.texi:21202
  31780. msgid "Never use it (best performance, but crashes can lose data)."
  31781. msgstr ""
  31782. #. type: deftypevr
  31783. #: guix-git/doc/guix.texi:21204
  31784. msgid "Defaults to @samp{\"optimized\"}."
  31785. msgstr ""
  31786. #. type: deftypevr
  31787. #: guix-git/doc/guix.texi:21206
  31788. #, no-wrap
  31789. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  31790. msgstr ""
  31791. #. type: deftypevr
  31792. #: guix-git/doc/guix.texi:21211
  31793. 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}."
  31794. msgstr ""
  31795. #. type: deftypevr
  31796. #: guix-git/doc/guix.texi:21213
  31797. #, no-wrap
  31798. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  31799. msgstr ""
  31800. #. type: deftypevr
  31801. #: guix-git/doc/guix.texi:21217
  31802. 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}."
  31803. msgstr ""
  31804. #. type: deftypevr
  31805. #: guix-git/doc/guix.texi:21219
  31806. #, no-wrap
  31807. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  31808. msgstr ""
  31809. #. type: deftypevr
  31810. #: guix-git/doc/guix.texi:21225
  31811. 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\"}."
  31812. msgstr ""
  31813. #. type: deftypevr
  31814. #: guix-git/doc/guix.texi:21227
  31815. #, no-wrap
  31816. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  31817. msgstr ""
  31818. #. type: deftypevr
  31819. #: guix-git/doc/guix.texi:21231
  31820. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  31821. msgstr ""
  31822. #. type: deftypevr
  31823. #: guix-git/doc/guix.texi:21233
  31824. #, no-wrap
  31825. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  31826. msgstr ""
  31827. #. type: deftypevr
  31828. #: guix-git/doc/guix.texi:21239
  31829. 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}."
  31830. msgstr ""
  31831. #. type: deftypevr
  31832. #: guix-git/doc/guix.texi:21241
  31833. #, no-wrap
  31834. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  31835. msgstr ""
  31836. #. type: deftypevr
  31837. #: guix-git/doc/guix.texi:21246
  31838. #, no-wrap
  31839. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  31840. msgstr ""
  31841. #. type: deftypevr
  31842. #: guix-git/doc/guix.texi:21251
  31843. 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}."
  31844. msgstr ""
  31845. #. type: deftypevr
  31846. #: guix-git/doc/guix.texi:21253
  31847. #, no-wrap
  31848. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  31849. msgstr ""
  31850. #. type: deftypevr
  31851. #: guix-git/doc/guix.texi:21258
  31852. #, no-wrap
  31853. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  31854. msgstr ""
  31855. #. type: deftypevr
  31856. #: guix-git/doc/guix.texi:21262
  31857. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  31858. msgstr ""
  31859. #. type: deftypevr
  31860. #: guix-git/doc/guix.texi:21264
  31861. #, no-wrap
  31862. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  31863. msgstr ""
  31864. #. type: deftypevr
  31865. #: guix-git/doc/guix.texi:21274
  31866. 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{()}."
  31867. msgstr ""
  31868. #. type: deftypevr
  31869. #: guix-git/doc/guix.texi:21276
  31870. #, no-wrap
  31871. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  31872. msgstr ""
  31873. #. type: deftypevr
  31874. #: guix-git/doc/guix.texi:21285
  31875. 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{\"\"}."
  31876. msgstr ""
  31877. #. type: deftypevr
  31878. #: guix-git/doc/guix.texi:21287
  31879. #, no-wrap
  31880. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  31881. msgstr ""
  31882. #. type: deftypevr
  31883. #: guix-git/doc/guix.texi:21291
  31884. 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\"}."
  31885. msgstr ""
  31886. #. type: deftypevr
  31887. #: guix-git/doc/guix.texi:21293
  31888. #, no-wrap
  31889. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  31890. msgstr ""
  31891. #. type: deftypevr
  31892. #: guix-git/doc/guix.texi:21296
  31893. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  31894. msgstr ""
  31895. #. type: deftypevr
  31896. #: guix-git/doc/guix.texi:21298
  31897. #, no-wrap
  31898. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  31899. msgstr ""
  31900. #. type: deftypevr
  31901. #: guix-git/doc/guix.texi:21302
  31902. 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{()}."
  31903. msgstr ""
  31904. #. type: deftypevr
  31905. #: guix-git/doc/guix.texi:21304
  31906. #, no-wrap
  31907. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  31908. msgstr ""
  31909. #. type: deftypevr
  31910. #: guix-git/doc/guix.texi:21309
  31911. 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}."
  31912. msgstr ""
  31913. #. type: deftypevr
  31914. #: guix-git/doc/guix.texi:21311
  31915. #, no-wrap
  31916. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  31917. msgstr ""
  31918. #. type: deftypevr
  31919. #: guix-git/doc/guix.texi:21318
  31920. 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\"}."
  31921. msgstr ""
  31922. #. type: deftypevr
  31923. #: guix-git/doc/guix.texi:21320
  31924. #, no-wrap
  31925. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  31926. msgstr ""
  31927. #. type: deftypevr
  31928. #: guix-git/doc/guix.texi:21327
  31929. 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}."
  31930. msgstr ""
  31931. #. type: deftypevr
  31932. #: guix-git/doc/guix.texi:21329
  31933. #, no-wrap
  31934. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  31935. msgstr ""
  31936. #. type: deftypevr
  31937. #: guix-git/doc/guix.texi:21337
  31938. 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}."
  31939. msgstr ""
  31940. #. type: deftypevr
  31941. #: guix-git/doc/guix.texi:21339
  31942. #, no-wrap
  31943. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  31944. msgstr ""
  31945. #. type: deftypevr
  31946. #: guix-git/doc/guix.texi:21344
  31947. 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}."
  31948. msgstr ""
  31949. #. type: deftypevr
  31950. #: guix-git/doc/guix.texi:21346
  31951. #, no-wrap
  31952. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  31953. msgstr ""
  31954. #. type: deftypevr
  31955. #: guix-git/doc/guix.texi:21351
  31956. 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}."
  31957. msgstr ""
  31958. #. type: deftypevr
  31959. #: guix-git/doc/guix.texi:21353
  31960. #, no-wrap
  31961. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31962. msgstr ""
  31963. #. type: deftypevr
  31964. #: guix-git/doc/guix.texi:21356
  31965. msgid "Which locking methods to use for locking mbox. There are four available:"
  31966. msgstr ""
  31967. #. type: item
  31968. #: guix-git/doc/guix.texi:21358
  31969. #, no-wrap
  31970. msgid "dotlock"
  31971. msgstr ""
  31972. #. type: table
  31973. #: guix-git/doc/guix.texi:21362
  31974. 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."
  31975. msgstr ""
  31976. #. type: item
  31977. #: guix-git/doc/guix.texi:21362
  31978. #, no-wrap
  31979. msgid "dotlock-try"
  31980. msgstr ""
  31981. #. type: table
  31982. #: guix-git/doc/guix.texi:21365
  31983. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31984. msgstr ""
  31985. #. type: item
  31986. #: guix-git/doc/guix.texi:21365
  31987. #, no-wrap
  31988. msgid "fcntl"
  31989. msgstr ""
  31990. #. type: table
  31991. #: guix-git/doc/guix.texi:21367
  31992. msgid "Use this if possible. Works with NFS too if lockd is used."
  31993. msgstr ""
  31994. #. type: item
  31995. #: guix-git/doc/guix.texi:21367
  31996. #, no-wrap
  31997. msgid "flock"
  31998. msgstr ""
  31999. #. type: table
  32000. #: guix-git/doc/guix.texi:21369 guix-git/doc/guix.texi:21371
  32001. msgid "May not exist in all systems. Doesn't work with NFS."
  32002. msgstr ""
  32003. #. type: item
  32004. #: guix-git/doc/guix.texi:21369
  32005. #, no-wrap
  32006. msgid "lockf"
  32007. msgstr ""
  32008. #. type: deftypevr
  32009. #: guix-git/doc/guix.texi:21377
  32010. 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."
  32011. msgstr ""
  32012. #. type: deftypevr
  32013. #: guix-git/doc/guix.texi:21379
  32014. #, no-wrap
  32015. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  32016. msgstr ""
  32017. #. type: deftypevr
  32018. #: guix-git/doc/guix.texi:21383
  32019. #, no-wrap
  32020. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  32021. msgstr ""
  32022. #. type: deftypevr
  32023. #: guix-git/doc/guix.texi:21386
  32024. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  32025. msgstr ""
  32026. #. type: deftypevr
  32027. #: guix-git/doc/guix.texi:21388
  32028. #, no-wrap
  32029. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  32030. msgstr ""
  32031. #. type: deftypevr
  32032. #: guix-git/doc/guix.texi:21392
  32033. 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\"}."
  32034. msgstr ""
  32035. #. type: deftypevr
  32036. #: guix-git/doc/guix.texi:21394
  32037. #, no-wrap
  32038. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  32039. msgstr ""
  32040. #. type: deftypevr
  32041. #: guix-git/doc/guix.texi:21405
  32042. 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}."
  32043. msgstr ""
  32044. #. type: deftypevr
  32045. #: guix-git/doc/guix.texi:21407
  32046. #, no-wrap
  32047. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  32048. msgstr ""
  32049. #. type: deftypevr
  32050. #: guix-git/doc/guix.texi:21412
  32051. 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}."
  32052. msgstr ""
  32053. #. type: deftypevr
  32054. #: guix-git/doc/guix.texi:21414
  32055. #, no-wrap
  32056. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  32057. msgstr ""
  32058. #. type: deftypevr
  32059. #: guix-git/doc/guix.texi:21420
  32060. 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}."
  32061. msgstr ""
  32062. #. type: deftypevr
  32063. #: guix-git/doc/guix.texi:21422
  32064. #, no-wrap
  32065. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  32066. msgstr ""
  32067. #. type: deftypevr
  32068. #: guix-git/doc/guix.texi:21427
  32069. 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}."
  32070. msgstr ""
  32071. #. type: deftypevr
  32072. #: guix-git/doc/guix.texi:21429
  32073. #, no-wrap
  32074. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  32075. msgstr ""
  32076. #. type: deftypevr
  32077. #: guix-git/doc/guix.texi:21432
  32078. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  32079. msgstr ""
  32080. #. type: deftypevr
  32081. #: guix-git/doc/guix.texi:21434
  32082. #, no-wrap
  32083. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  32084. msgstr ""
  32085. #. type: deftypevr
  32086. #: guix-git/doc/guix.texi:21439
  32087. 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\"}."
  32088. msgstr ""
  32089. #. type: deftypevr
  32090. #: guix-git/doc/guix.texi:21441
  32091. #, no-wrap
  32092. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  32093. msgstr ""
  32094. #. type: deftypevr
  32095. #: guix-git/doc/guix.texi:21446
  32096. 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}."
  32097. msgstr ""
  32098. #. type: deftypevr
  32099. #: guix-git/doc/guix.texi:21448
  32100. #, no-wrap
  32101. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  32102. msgstr ""
  32103. #. type: deftypevr
  32104. #: guix-git/doc/guix.texi:21452
  32105. 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."
  32106. msgstr ""
  32107. #. type: deftypevr
  32108. #: guix-git/doc/guix.texi:21454
  32109. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  32110. msgstr ""
  32111. #. type: deftypevr
  32112. #: guix-git/doc/guix.texi:21457
  32113. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  32114. msgstr ""
  32115. #. type: deftypevr
  32116. #: guix-git/doc/guix.texi:21459
  32117. #, no-wrap
  32118. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  32119. msgstr ""
  32120. #. type: deftypevr
  32121. #: guix-git/doc/guix.texi:21464
  32122. 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}."
  32123. msgstr ""
  32124. #. type: deftypevr
  32125. #: guix-git/doc/guix.texi:21466
  32126. #, no-wrap
  32127. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  32128. msgstr ""
  32129. #. type: deftypevr
  32130. #: guix-git/doc/guix.texi:21468
  32131. msgid "File system backend to use for saving attachments:"
  32132. msgstr ""
  32133. #. type: item
  32134. #: guix-git/doc/guix.texi:21469
  32135. #, no-wrap
  32136. msgid "posix"
  32137. msgstr ""
  32138. #. type: table
  32139. #: guix-git/doc/guix.texi:21471
  32140. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  32141. msgstr ""
  32142. #. type: item
  32143. #: guix-git/doc/guix.texi:21471
  32144. #, no-wrap
  32145. msgid "sis posix"
  32146. msgstr ""
  32147. #. type: table
  32148. #: guix-git/doc/guix.texi:21473
  32149. msgid "SiS with immediate byte-by-byte comparison during saving"
  32150. msgstr ""
  32151. #. type: item
  32152. #: guix-git/doc/guix.texi:21473
  32153. #, no-wrap
  32154. msgid "sis-queue posix"
  32155. msgstr ""
  32156. #. type: table
  32157. #: guix-git/doc/guix.texi:21475
  32158. msgid "SiS with delayed comparison and deduplication."
  32159. msgstr ""
  32160. #. type: deftypevr
  32161. #: guix-git/doc/guix.texi:21477
  32162. msgid "Defaults to @samp{\"sis posix\"}."
  32163. msgstr ""
  32164. #. type: deftypevr
  32165. #: guix-git/doc/guix.texi:21479
  32166. #, no-wrap
  32167. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  32168. msgstr ""
  32169. #. type: deftypevr
  32170. #: guix-git/doc/guix.texi:21485
  32171. 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@}\"}."
  32172. msgstr ""
  32173. #. type: deftypevr
  32174. #: guix-git/doc/guix.texi:21487
  32175. #, no-wrap
  32176. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  32177. msgstr ""
  32178. #. type: deftypevr
  32179. #: guix-git/doc/guix.texi:21492
  32180. #, no-wrap
  32181. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  32182. msgstr ""
  32183. #. type: deftypevr
  32184. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:29111
  32185. msgid "Defaults to @samp{1000}."
  32186. msgstr ""
  32187. #. type: deftypevr
  32188. #: guix-git/doc/guix.texi:21497
  32189. #, no-wrap
  32190. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  32191. msgstr ""
  32192. #. type: deftypevr
  32193. #: guix-git/doc/guix.texi:21502
  32194. 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}."
  32195. msgstr ""
  32196. #. type: deftypevr
  32197. #: guix-git/doc/guix.texi:21504
  32198. #, no-wrap
  32199. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  32200. msgstr ""
  32201. #. type: deftypevr
  32202. #: guix-git/doc/guix.texi:21509
  32203. 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\"}."
  32204. msgstr ""
  32205. #. type: deftypevr
  32206. #: guix-git/doc/guix.texi:21511
  32207. #, no-wrap
  32208. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  32209. msgstr ""
  32210. #. type: deftypevr
  32211. #: guix-git/doc/guix.texi:21516
  32212. 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\"}."
  32213. msgstr ""
  32214. #. type: deftypevr
  32215. #: guix-git/doc/guix.texi:21518
  32216. #, no-wrap
  32217. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  32218. msgstr ""
  32219. #. type: deftypevr
  32220. #: guix-git/doc/guix.texi:21521
  32221. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  32222. msgstr ""
  32223. #. type: deftypevr
  32224. #: guix-git/doc/guix.texi:21523
  32225. #, no-wrap
  32226. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  32227. msgstr ""
  32228. #. type: deftypevr
  32229. #: guix-git/doc/guix.texi:21526
  32230. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  32231. msgstr ""
  32232. #. type: deftypevr
  32233. #: guix-git/doc/guix.texi:21528
  32234. #, no-wrap
  32235. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  32236. msgstr ""
  32237. #. type: deftypevr
  32238. #: guix-git/doc/guix.texi:21533
  32239. 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\"}."
  32240. msgstr ""
  32241. #. type: deftypevr
  32242. #: guix-git/doc/guix.texi:21535
  32243. #, no-wrap
  32244. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  32245. msgstr ""
  32246. #. type: deftypevr
  32247. #: guix-git/doc/guix.texi:21541
  32248. 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{\"\"}."
  32249. msgstr ""
  32250. #. type: deftypevr
  32251. #: guix-git/doc/guix.texi:21543
  32252. #, no-wrap
  32253. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  32254. msgstr ""
  32255. #. type: deftypevr
  32256. #: guix-git/doc/guix.texi:21549
  32257. 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{\"\"}."
  32258. msgstr ""
  32259. #. type: deftypevr
  32260. #: guix-git/doc/guix.texi:21551
  32261. #, no-wrap
  32262. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  32263. msgstr ""
  32264. #. type: deftypevr
  32265. #: guix-git/doc/guix.texi:21554
  32266. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  32267. msgstr ""
  32268. #. type: deftypevr
  32269. #: guix-git/doc/guix.texi:21556
  32270. #, no-wrap
  32271. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  32272. msgstr ""
  32273. #. type: deftypevr
  32274. #: guix-git/doc/guix.texi:21560
  32275. 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}."
  32276. msgstr ""
  32277. #. type: deftypevr
  32278. #: guix-git/doc/guix.texi:21562
  32279. #, no-wrap
  32280. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  32281. msgstr ""
  32282. #. type: deftypevr
  32283. #: guix-git/doc/guix.texi:21567
  32284. 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\"}."
  32285. msgstr ""
  32286. #. type: deftypevr
  32287. #: guix-git/doc/guix.texi:21569
  32288. #, no-wrap
  32289. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  32290. msgstr ""
  32291. #. type: deftypevr
  32292. #: guix-git/doc/guix.texi:21572
  32293. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  32294. msgstr ""
  32295. #. type: deftypevr
  32296. #: guix-git/doc/guix.texi:21574
  32297. #, no-wrap
  32298. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  32299. msgstr ""
  32300. #. type: deftypevr
  32301. #: guix-git/doc/guix.texi:21577
  32302. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  32303. msgstr ""
  32304. #. type: deftypevr
  32305. #: guix-git/doc/guix.texi:21579
  32306. #, no-wrap
  32307. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  32308. msgstr ""
  32309. #. type: deftypevr
  32310. #: guix-git/doc/guix.texi:21582
  32311. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  32312. msgstr ""
  32313. #. type: deftypevr
  32314. #: guix-git/doc/guix.texi:21584
  32315. #, no-wrap
  32316. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  32317. msgstr ""
  32318. #. type: deftypevr
  32319. #: guix-git/doc/guix.texi:21588
  32320. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  32321. msgstr ""
  32322. #. type: deftypevr
  32323. #: guix-git/doc/guix.texi:21590
  32324. #, no-wrap
  32325. msgid "{@code{dovecot-configuration} parameter} string hostname"
  32326. msgstr ""
  32327. #. type: deftypevr
  32328. #: guix-git/doc/guix.texi:21594
  32329. 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{\"\"}."
  32330. msgstr ""
  32331. #. type: deftypevr
  32332. #: guix-git/doc/guix.texi:21596
  32333. #, no-wrap
  32334. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  32335. msgstr ""
  32336. #. type: deftypevr
  32337. #: guix-git/doc/guix.texi:21600
  32338. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  32339. msgstr ""
  32340. #. type: deftypevr
  32341. #: guix-git/doc/guix.texi:21602
  32342. #, no-wrap
  32343. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  32344. msgstr ""
  32345. #. type: deftypevr
  32346. #: guix-git/doc/guix.texi:21605
  32347. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  32348. msgstr ""
  32349. #. type: deftypevr
  32350. #: guix-git/doc/guix.texi:21607
  32351. #, no-wrap
  32352. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  32353. msgstr ""
  32354. #. type: deftypevr
  32355. #: guix-git/doc/guix.texi:21611
  32356. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  32357. msgstr ""
  32358. #. type: deftypevr
  32359. #: guix-git/doc/guix.texi:21613
  32360. #, no-wrap
  32361. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  32362. msgstr ""
  32363. #. type: deftypevr
  32364. #: guix-git/doc/guix.texi:21617
  32365. 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\"}."
  32366. msgstr ""
  32367. #. type: deftypevr
  32368. #: guix-git/doc/guix.texi:21619
  32369. #, no-wrap
  32370. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  32371. msgstr ""
  32372. #. type: deftypevr
  32373. #: guix-git/doc/guix.texi:21622
  32374. msgid "Human readable error message for rejection mails. You can use variables:"
  32375. msgstr ""
  32376. #. type: table
  32377. #: guix-git/doc/guix.texi:21626
  32378. msgid "CRLF"
  32379. msgstr ""
  32380. #. type: item
  32381. #: guix-git/doc/guix.texi:21626
  32382. #, no-wrap
  32383. msgid "%r"
  32384. msgstr ""
  32385. #. type: table
  32386. #: guix-git/doc/guix.texi:21628
  32387. msgid "reason"
  32388. msgstr ""
  32389. #. type: table
  32390. #: guix-git/doc/guix.texi:21630
  32391. msgid "original subject"
  32392. msgstr ""
  32393. #. type: item
  32394. #: guix-git/doc/guix.texi:21630
  32395. #, no-wrap
  32396. msgid "%t"
  32397. msgstr ""
  32398. #. type: table
  32399. #: guix-git/doc/guix.texi:21632
  32400. msgid "recipient"
  32401. msgstr ""
  32402. #. type: deftypevr
  32403. #: guix-git/doc/guix.texi:21634
  32404. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  32405. msgstr ""
  32406. #. type: deftypevr
  32407. #: guix-git/doc/guix.texi:21636
  32408. #, no-wrap
  32409. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  32410. msgstr ""
  32411. #. type: deftypevr
  32412. #: guix-git/doc/guix.texi:21640
  32413. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  32414. msgstr ""
  32415. #. type: deftypevr
  32416. #: guix-git/doc/guix.texi:21642
  32417. #, no-wrap
  32418. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  32419. msgstr ""
  32420. #. type: deftypevr
  32421. #: guix-git/doc/guix.texi:21648
  32422. 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{\"\"}."
  32423. msgstr ""
  32424. #. type: deftypevr
  32425. #: guix-git/doc/guix.texi:21650
  32426. #, no-wrap
  32427. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  32428. msgstr ""
  32429. #. type: deftypevr
  32430. #: guix-git/doc/guix.texi:21654
  32431. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  32432. msgstr ""
  32433. #. type: deftypevr
  32434. #: guix-git/doc/guix.texi:21656
  32435. #, no-wrap
  32436. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  32437. msgstr ""
  32438. #. type: deftypevr
  32439. #: guix-git/doc/guix.texi:21660
  32440. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  32441. msgstr ""
  32442. #. type: deftypevr
  32443. #: guix-git/doc/guix.texi:21662
  32444. #, no-wrap
  32445. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  32446. msgstr ""
  32447. #. type: deftypevr
  32448. #: guix-git/doc/guix.texi:21668
  32449. 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}."
  32450. msgstr ""
  32451. #. type: deftypevr
  32452. #: guix-git/doc/guix.texi:21670
  32453. #, no-wrap
  32454. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  32455. msgstr ""
  32456. #. type: deftypevr
  32457. #: guix-git/doc/guix.texi:21672
  32458. msgid "IMAP logout format string:"
  32459. msgstr ""
  32460. #. type: item
  32461. #: guix-git/doc/guix.texi:21673
  32462. #, no-wrap
  32463. msgid "%i"
  32464. msgstr ""
  32465. #. type: table
  32466. #: guix-git/doc/guix.texi:21675
  32467. msgid "total number of bytes read from client"
  32468. msgstr ""
  32469. #. type: item
  32470. #: guix-git/doc/guix.texi:21675
  32471. #, no-wrap
  32472. msgid "%o"
  32473. msgstr ""
  32474. #. type: table
  32475. #: guix-git/doc/guix.texi:21677
  32476. msgid "total number of bytes sent to client."
  32477. msgstr ""
  32478. #. type: deftypevr
  32479. #: guix-git/doc/guix.texi:21680
  32480. 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@}\"}."
  32481. msgstr ""
  32482. #. type: deftypevr
  32483. #: guix-git/doc/guix.texi:21682
  32484. #, no-wrap
  32485. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  32486. msgstr ""
  32487. #. type: deftypevr
  32488. #: guix-git/doc/guix.texi:21686
  32489. 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{\"\"}."
  32490. msgstr ""
  32491. #. type: deftypevr
  32492. #: guix-git/doc/guix.texi:21688
  32493. #, no-wrap
  32494. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  32495. msgstr ""
  32496. #. type: deftypevr
  32497. #: guix-git/doc/guix.texi:21692
  32498. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  32499. msgstr ""
  32500. #. type: deftypevr
  32501. #: guix-git/doc/guix.texi:21694
  32502. #, no-wrap
  32503. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  32504. msgstr ""
  32505. #. type: deftypevr
  32506. #: guix-git/doc/guix.texi:21700
  32507. 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{\"\"}."
  32508. msgstr ""
  32509. #. type: deftypevr
  32510. #: guix-git/doc/guix.texi:21702
  32511. #, no-wrap
  32512. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  32513. msgstr ""
  32514. #. type: deftypevr
  32515. #: guix-git/doc/guix.texi:21705
  32516. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  32517. msgstr ""
  32518. #. type: deftypevr
  32519. #: guix-git/doc/guix.texi:21707
  32520. #, no-wrap
  32521. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  32522. msgstr ""
  32523. #. type: deftypevr
  32524. #: guix-git/doc/guix.texi:21709
  32525. msgid "Workarounds for various client bugs:"
  32526. msgstr ""
  32527. #. type: item
  32528. #: guix-git/doc/guix.texi:21711
  32529. #, no-wrap
  32530. msgid "delay-newmail"
  32531. msgstr ""
  32532. #. type: table
  32533. #: guix-git/doc/guix.texi:21718
  32534. 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\"."
  32535. msgstr ""
  32536. #. type: item
  32537. #: guix-git/doc/guix.texi:21719
  32538. #, no-wrap
  32539. msgid "tb-extra-mailbox-sep"
  32540. msgstr ""
  32541. #. type: table
  32542. #: guix-git/doc/guix.texi:21723
  32543. 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."
  32544. msgstr ""
  32545. #. type: item
  32546. #: guix-git/doc/guix.texi:21724
  32547. #, no-wrap
  32548. msgid "tb-lsub-flags"
  32549. msgstr ""
  32550. #. type: table
  32551. #: guix-git/doc/guix.texi:21728
  32552. 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."
  32553. msgstr ""
  32554. #. type: deftypevr
  32555. #: guix-git/doc/guix.texi:21732
  32556. #, no-wrap
  32557. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  32558. msgstr ""
  32559. #. type: deftypevr
  32560. #: guix-git/doc/guix.texi:21735
  32561. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  32562. msgstr ""
  32563. #. type: Plain text
  32564. #: guix-git/doc/guix.texi:21743
  32565. 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."
  32566. msgstr ""
  32567. #. type: Plain text
  32568. #: guix-git/doc/guix.texi:21749
  32569. 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."
  32570. msgstr ""
  32571. #. type: Plain text
  32572. #: guix-git/doc/guix.texi:21751
  32573. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  32574. msgstr ""
  32575. #. type: deftypevr
  32576. #: guix-git/doc/guix.texi:21752
  32577. #, no-wrap
  32578. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  32579. msgstr ""
  32580. #. type: deftypevr
  32581. #: guix-git/doc/guix.texi:21756
  32582. #, no-wrap
  32583. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  32584. msgstr ""
  32585. #. type: deftypevr
  32586. #: guix-git/doc/guix.texi:21758
  32587. msgid "The contents of the @code{dovecot.conf}, as a string."
  32588. msgstr ""
  32589. #. type: Plain text
  32590. #: guix-git/doc/guix.texi:21762
  32591. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  32592. msgstr ""
  32593. #. type: lisp
  32594. #: guix-git/doc/guix.texi:21767
  32595. #, no-wrap
  32596. msgid ""
  32597. "(dovecot-service #:config\n"
  32598. " (opaque-dovecot-configuration\n"
  32599. " (string \"\")))\n"
  32600. msgstr ""
  32601. #. type: subsubheading
  32602. #: guix-git/doc/guix.texi:21769
  32603. #, no-wrap
  32604. msgid "OpenSMTPD Service"
  32605. msgstr ""
  32606. #. type: deffn
  32607. #: guix-git/doc/guix.texi:21771
  32608. #, no-wrap
  32609. msgid "{Scheme Variable} opensmtpd-service-type"
  32610. msgstr ""
  32611. #. type: deffn
  32612. #: guix-git/doc/guix.texi:21775
  32613. 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:"
  32614. msgstr ""
  32615. #. type: lisp
  32616. #: guix-git/doc/guix.texi:21780
  32617. #, no-wrap
  32618. msgid ""
  32619. "(service opensmtpd-service-type\n"
  32620. " (opensmtpd-configuration\n"
  32621. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  32622. msgstr ""
  32623. #. type: deftp
  32624. #: guix-git/doc/guix.texi:21783
  32625. #, no-wrap
  32626. msgid "{Data Type} opensmtpd-configuration"
  32627. msgstr ""
  32628. #. type: deftp
  32629. #: guix-git/doc/guix.texi:21785
  32630. msgid "Data type representing the configuration of opensmtpd."
  32631. msgstr ""
  32632. #. type: item
  32633. #: guix-git/doc/guix.texi:21787
  32634. #, no-wrap
  32635. msgid "@code{package} (default: @var{opensmtpd})"
  32636. msgstr ""
  32637. #. type: table
  32638. #: guix-git/doc/guix.texi:21789
  32639. msgid "Package object of the OpenSMTPD SMTP server."
  32640. msgstr ""
  32641. #. type: item
  32642. #: guix-git/doc/guix.texi:21790
  32643. #, no-wrap
  32644. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  32645. msgstr ""
  32646. #. type: table
  32647. #: guix-git/doc/guix.texi:21795
  32648. 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."
  32649. msgstr ""
  32650. #. type: subsubheading
  32651. #: guix-git/doc/guix.texi:21799
  32652. #, no-wrap
  32653. msgid "Exim Service"
  32654. msgstr ""
  32655. #. type: cindex
  32656. #: guix-git/doc/guix.texi:21801
  32657. #, no-wrap
  32658. msgid "mail transfer agent (MTA)"
  32659. msgstr ""
  32660. #. type: cindex
  32661. #: guix-git/doc/guix.texi:21802
  32662. #, no-wrap
  32663. msgid "MTA (mail transfer agent)"
  32664. msgstr ""
  32665. #. type: cindex
  32666. #: guix-git/doc/guix.texi:21803
  32667. #, no-wrap
  32668. msgid "SMTP"
  32669. msgstr ""
  32670. #. type: deffn
  32671. #: guix-git/doc/guix.texi:21805
  32672. #, no-wrap
  32673. msgid "{Scheme Variable} exim-service-type"
  32674. msgstr ""
  32675. #. type: deffn
  32676. #: guix-git/doc/guix.texi:21809
  32677. 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:"
  32678. msgstr ""
  32679. #. type: lisp
  32680. #: guix-git/doc/guix.texi:21814
  32681. #, no-wrap
  32682. msgid ""
  32683. "(service exim-service-type\n"
  32684. " (exim-configuration\n"
  32685. " (config-file (local-file \"./my-exim.conf\"))))\n"
  32686. msgstr ""
  32687. #. type: Plain text
  32688. #: guix-git/doc/guix.texi:21820
  32689. 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)."
  32690. msgstr ""
  32691. #. type: deftp
  32692. #: guix-git/doc/guix.texi:21821
  32693. #, no-wrap
  32694. msgid "{Data Type} exim-configuration"
  32695. msgstr ""
  32696. #. type: deftp
  32697. #: guix-git/doc/guix.texi:21823
  32698. msgid "Data type representing the configuration of exim."
  32699. msgstr ""
  32700. #. type: item
  32701. #: guix-git/doc/guix.texi:21825
  32702. #, no-wrap
  32703. msgid "@code{package} (default: @var{exim})"
  32704. msgstr ""
  32705. #. type: table
  32706. #: guix-git/doc/guix.texi:21827
  32707. msgid "Package object of the Exim server."
  32708. msgstr ""
  32709. #. type: table
  32710. #: guix-git/doc/guix.texi:21834
  32711. 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."
  32712. msgstr ""
  32713. #. type: subsubheading
  32714. #: guix-git/doc/guix.texi:21838
  32715. #, no-wrap
  32716. msgid "Getmail service"
  32717. msgstr ""
  32718. #. type: cindex
  32719. #: guix-git/doc/guix.texi:21840
  32720. #, no-wrap
  32721. msgid "IMAP"
  32722. msgstr ""
  32723. #. type: cindex
  32724. #: guix-git/doc/guix.texi:21841
  32725. #, no-wrap
  32726. msgid "POP"
  32727. msgstr ""
  32728. #. type: deffn
  32729. #: guix-git/doc/guix.texi:21843
  32730. #, no-wrap
  32731. msgid "{Scheme Variable} getmail-service-type"
  32732. msgstr ""
  32733. #. type: deffn
  32734. #: guix-git/doc/guix.texi:21846
  32735. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  32736. msgstr ""
  32737. #. type: Plain text
  32738. #: guix-git/doc/guix.texi:21849
  32739. msgid "Available @code{getmail-configuration} fields are:"
  32740. msgstr ""
  32741. #. type: deftypevr
  32742. #: guix-git/doc/guix.texi:21850
  32743. #, no-wrap
  32744. msgid "{@code{getmail-configuration} parameter} symbol name"
  32745. msgstr ""
  32746. #. type: deftypevr
  32747. #: guix-git/doc/guix.texi:21852
  32748. msgid "A symbol to identify the getmail service."
  32749. msgstr ""
  32750. #. type: deftypevr
  32751. #: guix-git/doc/guix.texi:21854
  32752. msgid "Defaults to @samp{\"unset\"}."
  32753. msgstr ""
  32754. #. type: deftypevr
  32755. #: guix-git/doc/guix.texi:21857
  32756. #, no-wrap
  32757. msgid "{@code{getmail-configuration} parameter} package package"
  32758. msgstr ""
  32759. #. type: deftypevr
  32760. #: guix-git/doc/guix.texi:21859
  32761. msgid "The getmail package to use."
  32762. msgstr ""
  32763. #. type: deftypevr
  32764. #: guix-git/doc/guix.texi:21862
  32765. #, no-wrap
  32766. msgid "{@code{getmail-configuration} parameter} string user"
  32767. msgstr ""
  32768. #. type: deftypevr
  32769. #: guix-git/doc/guix.texi:21864
  32770. msgid "The user to run getmail as."
  32771. msgstr ""
  32772. #. type: deftypevr
  32773. #: guix-git/doc/guix.texi:21866 guix-git/doc/guix.texi:21873
  32774. msgid "Defaults to @samp{\"getmail\"}."
  32775. msgstr ""
  32776. #. type: deftypevr
  32777. #: guix-git/doc/guix.texi:21869
  32778. #, no-wrap
  32779. msgid "{@code{getmail-configuration} parameter} string group"
  32780. msgstr ""
  32781. #. type: deftypevr
  32782. #: guix-git/doc/guix.texi:21871
  32783. msgid "The group to run getmail as."
  32784. msgstr ""
  32785. #. type: deftypevr
  32786. #: guix-git/doc/guix.texi:21876
  32787. #, no-wrap
  32788. msgid "{@code{getmail-configuration} parameter} string directory"
  32789. msgstr ""
  32790. #. type: deftypevr
  32791. #: guix-git/doc/guix.texi:21878
  32792. msgid "The getmail directory to use."
  32793. msgstr ""
  32794. #. type: deftypevr
  32795. #: guix-git/doc/guix.texi:21880
  32796. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  32797. msgstr ""
  32798. #. type: deftypevr
  32799. #: guix-git/doc/guix.texi:21883
  32800. #, no-wrap
  32801. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  32802. msgstr ""
  32803. #. type: deftypevr
  32804. #: guix-git/doc/guix.texi:21885
  32805. msgid "The getmail configuration file to use."
  32806. msgstr ""
  32807. #. type: deftypevr
  32808. #: guix-git/doc/guix.texi:21887
  32809. msgid "Available @code{getmail-configuration-file} fields are:"
  32810. msgstr ""
  32811. #. type: deftypevr
  32812. #: guix-git/doc/guix.texi:21888
  32813. #, no-wrap
  32814. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  32815. msgstr ""
  32816. #. type: deftypevr
  32817. #: guix-git/doc/guix.texi:21890
  32818. msgid "What mail account to retrieve mail from, and how to access that account."
  32819. msgstr ""
  32820. #. type: deftypevr
  32821. #: guix-git/doc/guix.texi:21892
  32822. msgid "Available @code{getmail-retriever-configuration} fields are:"
  32823. msgstr ""
  32824. #. type: deftypevr
  32825. #: guix-git/doc/guix.texi:21893
  32826. #, no-wrap
  32827. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  32828. msgstr ""
  32829. #. type: deftypevr
  32830. #: guix-git/doc/guix.texi:21896
  32831. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  32832. msgstr ""
  32833. #. type: deftypevr
  32834. #: guix-git/doc/guix.texi:21898
  32835. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  32836. msgstr ""
  32837. #. type: deftypevr
  32838. #: guix-git/doc/guix.texi:21901
  32839. #, no-wrap
  32840. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  32841. msgstr ""
  32842. #. type: deftypevr
  32843. #: guix-git/doc/guix.texi:21903 guix-git/doc/guix.texi:21910
  32844. msgid "Username to login to the mail server with."
  32845. msgstr ""
  32846. #. type: deftypevr
  32847. #: guix-git/doc/guix.texi:21905 guix-git/doc/guix.texi:21912
  32848. #: guix-git/doc/guix.texi:21976
  32849. msgid "Defaults to @samp{unset}."
  32850. msgstr ""
  32851. #. type: deftypevr
  32852. #: guix-git/doc/guix.texi:21908
  32853. #, no-wrap
  32854. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  32855. msgstr ""
  32856. #. type: deftypevr
  32857. #: guix-git/doc/guix.texi:21915
  32858. #, no-wrap
  32859. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  32860. msgstr ""
  32861. #. type: deftypevr
  32862. #: guix-git/doc/guix.texi:21917
  32863. msgid "Port number to connect to."
  32864. msgstr ""
  32865. #. type: deftypevr
  32866. #: guix-git/doc/guix.texi:21922
  32867. #, no-wrap
  32868. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  32869. msgstr ""
  32870. #. type: deftypevr
  32871. #: guix-git/doc/guix.texi:21924 guix-git/doc/guix.texi:21931
  32872. msgid "Override fields from passwd."
  32873. msgstr ""
  32874. #. type: deftypevr
  32875. #: guix-git/doc/guix.texi:21929
  32876. #, no-wrap
  32877. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  32878. msgstr ""
  32879. #. type: deftypevr
  32880. #: guix-git/doc/guix.texi:21936
  32881. #, no-wrap
  32882. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  32883. msgstr ""
  32884. #. type: deftypevr
  32885. #: guix-git/doc/guix.texi:21938
  32886. msgid "PEM-formatted key file to use for the TLS negotiation."
  32887. msgstr ""
  32888. #. type: deftypevr
  32889. #: guix-git/doc/guix.texi:21943
  32890. #, no-wrap
  32891. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  32892. msgstr ""
  32893. #. type: deftypevr
  32894. #: guix-git/doc/guix.texi:21945
  32895. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  32896. msgstr ""
  32897. #. type: deftypevr
  32898. #: guix-git/doc/guix.texi:21950
  32899. #, no-wrap
  32900. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:21952
  32904. msgid "CA certificates to use."
  32905. msgstr ""
  32906. #. type: deftypevr
  32907. #: guix-git/doc/guix.texi:21957
  32908. #, no-wrap
  32909. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  32910. msgstr ""
  32911. #. type: deftypevr
  32912. #: guix-git/doc/guix.texi:21959
  32913. msgid "Extra retriever parameters."
  32914. msgstr ""
  32915. #. type: deftypevr
  32916. #: guix-git/doc/guix.texi:21966
  32917. #, no-wrap
  32918. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  32919. msgstr ""
  32920. #. type: deftypevr
  32921. #: guix-git/doc/guix.texi:21968
  32922. msgid "What to do with retrieved messages."
  32923. msgstr ""
  32924. #. type: deftypevr
  32925. #: guix-git/doc/guix.texi:21970
  32926. msgid "Available @code{getmail-destination-configuration} fields are:"
  32927. msgstr ""
  32928. #. type: deftypevr
  32929. #: guix-git/doc/guix.texi:21971
  32930. #, no-wrap
  32931. msgid "{@code{getmail-destination-configuration} parameter} string type"
  32932. msgstr ""
  32933. #. type: deftypevr
  32934. #: guix-git/doc/guix.texi:21974
  32935. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  32936. msgstr ""
  32937. #. type: deftypevr
  32938. #: guix-git/doc/guix.texi:21979
  32939. #, no-wrap
  32940. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  32941. msgstr ""
  32942. #. type: deftypevr
  32943. #: guix-git/doc/guix.texi:21982
  32944. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  32945. msgstr ""
  32946. #. type: deftypevr
  32947. #: guix-git/doc/guix.texi:21987
  32948. #, no-wrap
  32949. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  32950. msgstr ""
  32951. #. type: deftypevr
  32952. #: guix-git/doc/guix.texi:21989
  32953. msgid "Extra destination parameters"
  32954. msgstr ""
  32955. #. type: deftypevr
  32956. #: guix-git/doc/guix.texi:21996
  32957. #, no-wrap
  32958. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32959. msgstr ""
  32960. #. type: deftypevr
  32961. #: guix-git/doc/guix.texi:21998
  32962. msgid "Configure getmail."
  32963. msgstr ""
  32964. #. type: deftypevr
  32965. #: guix-git/doc/guix.texi:22000
  32966. msgid "Available @code{getmail-options-configuration} fields are:"
  32967. msgstr ""
  32968. #. type: deftypevr
  32969. #: guix-git/doc/guix.texi:22001
  32970. #, no-wrap
  32971. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32972. msgstr ""
  32973. #. type: deftypevr
  32974. #: guix-git/doc/guix.texi:22006
  32975. 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."
  32976. msgstr ""
  32977. #. type: deftypevr
  32978. #: guix-git/doc/guix.texi:22008 guix-git/doc/guix.texi:28581
  32979. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29314
  32980. msgid "Defaults to @samp{1}."
  32981. msgstr ""
  32982. #. type: deftypevr
  32983. #: guix-git/doc/guix.texi:22011
  32984. #, no-wrap
  32985. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32986. msgstr ""
  32987. #. type: deftypevr
  32988. #: guix-git/doc/guix.texi:22014
  32989. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32990. msgstr ""
  32991. #. type: deftypevr
  32992. #: guix-git/doc/guix.texi:22019
  32993. #, no-wrap
  32994. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:22023
  32998. 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."
  32999. msgstr ""
  33000. #. type: deftypevr
  33001. #: guix-git/doc/guix.texi:22028
  33002. #, no-wrap
  33003. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  33004. msgstr ""
  33005. #. type: deftypevr
  33006. #: guix-git/doc/guix.texi:22033
  33007. 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."
  33008. msgstr ""
  33009. #. type: deftypevr
  33010. #: guix-git/doc/guix.texi:22038
  33011. #, no-wrap
  33012. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  33013. msgstr ""
  33014. #. type: deftypevr
  33015. #: guix-git/doc/guix.texi:22042
  33016. 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."
  33017. msgstr ""
  33018. #. type: deftypevr
  33019. #: guix-git/doc/guix.texi:22047
  33020. #, no-wrap
  33021. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  33022. msgstr ""
  33023. #. type: deftypevr
  33024. #: guix-git/doc/guix.texi:22050
  33025. 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."
  33026. msgstr ""
  33027. #. type: deftypevr
  33028. #: guix-git/doc/guix.texi:22055
  33029. #, no-wrap
  33030. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  33031. msgstr ""
  33032. #. type: deftypevr
  33033. #: guix-git/doc/guix.texi:22058
  33034. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  33035. msgstr ""
  33036. #. type: deftypevr
  33037. #: guix-git/doc/guix.texi:22063
  33038. #, no-wrap
  33039. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  33040. msgstr ""
  33041. #. type: deftypevr
  33042. #: guix-git/doc/guix.texi:22065
  33043. msgid "If true, getmail will add a Delivered-To header to messages."
  33044. msgstr ""
  33045. #. type: deftypevr
  33046. #: guix-git/doc/guix.texi:22070
  33047. #, no-wrap
  33048. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  33049. msgstr ""
  33050. #. type: deftypevr
  33051. #: guix-git/doc/guix.texi:22072
  33052. msgid "If set, getmail adds a Received header to the messages."
  33053. msgstr ""
  33054. #. type: deftypevr
  33055. #: guix-git/doc/guix.texi:22077
  33056. #, no-wrap
  33057. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  33058. msgstr ""
  33059. #. type: deftypevr
  33060. #: guix-git/doc/guix.texi:22080
  33061. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  33062. msgstr ""
  33063. #. type: deftypevr
  33064. #: guix-git/doc/guix.texi:22085
  33065. #, no-wrap
  33066. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  33067. msgstr ""
  33068. #. type: deftypevr
  33069. #: guix-git/doc/guix.texi:22088
  33070. msgid "If true, getmail will record a log of its actions using the system logger."
  33071. msgstr ""
  33072. #. type: deftypevr
  33073. #: guix-git/doc/guix.texi:22093
  33074. #, no-wrap
  33075. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  33076. msgstr ""
  33077. #. type: deftypevr
  33078. #: guix-git/doc/guix.texi:22097
  33079. 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."
  33080. msgstr ""
  33081. #. type: deftypevr
  33082. #: guix-git/doc/guix.texi:22102
  33083. #, no-wrap
  33084. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  33085. msgstr ""
  33086. #. type: deftypevr
  33087. #: guix-git/doc/guix.texi:22104
  33088. msgid "Extra options to include."
  33089. msgstr ""
  33090. #. type: deftypevr
  33091. #: guix-git/doc/guix.texi:22113
  33092. #, no-wrap
  33093. msgid "{@code{getmail-configuration} parameter} list idle"
  33094. msgstr ""
  33095. #. type: deftypevr
  33096. #: guix-git/doc/guix.texi:22117
  33097. 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."
  33098. msgstr ""
  33099. #. type: deftypevr
  33100. #: guix-git/doc/guix.texi:22122
  33101. #, no-wrap
  33102. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  33103. msgstr ""
  33104. #. type: deftypevr
  33105. #: guix-git/doc/guix.texi:22124
  33106. msgid "Environment variables to set for getmail."
  33107. msgstr ""
  33108. #. type: subsubheading
  33109. #: guix-git/doc/guix.texi:22129
  33110. #, no-wrap
  33111. msgid "Mail Aliases Service"
  33112. msgstr ""
  33113. #. type: cindex
  33114. #: guix-git/doc/guix.texi:22131
  33115. #, no-wrap
  33116. msgid "email aliases"
  33117. msgstr ""
  33118. #. type: cindex
  33119. #: guix-git/doc/guix.texi:22132
  33120. #, no-wrap
  33121. msgid "aliases, for email addresses"
  33122. msgstr ""
  33123. #. type: deffn
  33124. #: guix-git/doc/guix.texi:22134
  33125. #, no-wrap
  33126. msgid "{Scheme Variable} mail-aliases-service-type"
  33127. msgstr ""
  33128. #. type: deffn
  33129. #: guix-git/doc/guix.texi:22137
  33130. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  33131. msgstr ""
  33132. #. type: lisp
  33133. #: guix-git/doc/guix.texi:22142
  33134. #, no-wrap
  33135. msgid ""
  33136. "(service mail-aliases-service-type\n"
  33137. " '((\"postmaster\" \"bob\")\n"
  33138. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  33139. msgstr ""
  33140. #. type: Plain text
  33141. #: guix-git/doc/guix.texi:22150
  33142. 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."
  33143. msgstr ""
  33144. #. type: Plain text
  33145. #: guix-git/doc/guix.texi:22156
  33146. 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})."
  33147. msgstr ""
  33148. #. type: cindex
  33149. #: guix-git/doc/guix.texi:22157 guix-git/doc/guix.texi:22158
  33150. #, no-wrap
  33151. msgid "GNU Mailutils IMAP4 Daemon"
  33152. msgstr ""
  33153. #. type: deffn
  33154. #: guix-git/doc/guix.texi:22160
  33155. #, no-wrap
  33156. msgid "{Scheme Variable} imap4d-service-type"
  33157. msgstr ""
  33158. #. type: deffn
  33159. #: guix-git/doc/guix.texi:22164
  33160. 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:"
  33161. msgstr ""
  33162. #. type: lisp
  33163. #: guix-git/doc/guix.texi:22169
  33164. #, no-wrap
  33165. msgid ""
  33166. "(service imap4d-service-type\n"
  33167. " (imap4d-configuration\n"
  33168. " (config-file (local-file \"imap4d.conf\"))))\n"
  33169. msgstr ""
  33170. #. type: deftp
  33171. #: guix-git/doc/guix.texi:22172
  33172. #, no-wrap
  33173. msgid "{Data Type} imap4d-configuration"
  33174. msgstr ""
  33175. #. type: deftp
  33176. #: guix-git/doc/guix.texi:22174
  33177. msgid "Data type representing the configuration of @command{imap4d}."
  33178. msgstr ""
  33179. #. type: item
  33180. #: guix-git/doc/guix.texi:22176
  33181. #, no-wrap
  33182. msgid "@code{package} (default: @code{mailutils})"
  33183. msgstr ""
  33184. #. type: table
  33185. #: guix-git/doc/guix.texi:22178
  33186. msgid "The package that provides @command{imap4d}."
  33187. msgstr ""
  33188. #. type: item
  33189. #: guix-git/doc/guix.texi:22179
  33190. #, no-wrap
  33191. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  33192. msgstr ""
  33193. #. type: table
  33194. #: guix-git/doc/guix.texi:22183
  33195. 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."
  33196. msgstr ""
  33197. #. type: subsubheading
  33198. #: guix-git/doc/guix.texi:22187
  33199. #, no-wrap
  33200. msgid "Radicale Service"
  33201. msgstr ""
  33202. #. type: cindex
  33203. #: guix-git/doc/guix.texi:22188
  33204. #, no-wrap
  33205. msgid "CalDAV"
  33206. msgstr ""
  33207. #. type: cindex
  33208. #: guix-git/doc/guix.texi:22189
  33209. #, no-wrap
  33210. msgid "CardDAV"
  33211. msgstr ""
  33212. #. type: deffn
  33213. #: guix-git/doc/guix.texi:22191
  33214. #, no-wrap
  33215. msgid "{Scheme Variable} radicale-service-type"
  33216. msgstr ""
  33217. #. type: deffn
  33218. #: guix-git/doc/guix.texi:22194
  33219. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  33220. msgstr ""
  33221. #. type: deftp
  33222. #: guix-git/doc/guix.texi:22196
  33223. #, no-wrap
  33224. msgid "{Data Type} radicale-configuration"
  33225. msgstr ""
  33226. #. type: deftp
  33227. #: guix-git/doc/guix.texi:22198
  33228. msgid "Data type representing the configuration of @command{radicale}."
  33229. msgstr ""
  33230. #. type: item
  33231. #: guix-git/doc/guix.texi:22200
  33232. #, no-wrap
  33233. msgid "@code{package} (default: @code{radicale})"
  33234. msgstr ""
  33235. #. type: table
  33236. #: guix-git/doc/guix.texi:22202
  33237. msgid "The package that provides @command{radicale}."
  33238. msgstr ""
  33239. #. type: item
  33240. #: guix-git/doc/guix.texi:22203
  33241. #, no-wrap
  33242. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  33243. msgstr ""
  33244. #. type: table
  33245. #: guix-git/doc/guix.texi:22207
  33246. 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."
  33247. msgstr ""
  33248. #. type: cindex
  33249. #: guix-git/doc/guix.texi:22214
  33250. #, no-wrap
  33251. msgid "messaging"
  33252. msgstr ""
  33253. #. type: cindex
  33254. #: guix-git/doc/guix.texi:22215
  33255. #, no-wrap
  33256. msgid "jabber"
  33257. msgstr ""
  33258. #. type: cindex
  33259. #: guix-git/doc/guix.texi:22216
  33260. #, no-wrap
  33261. msgid "XMPP"
  33262. msgstr ""
  33263. #. type: Plain text
  33264. #: guix-git/doc/guix.texi:22220
  33265. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  33266. msgstr ""
  33267. #. type: subsubheading
  33268. #: guix-git/doc/guix.texi:22221
  33269. #, no-wrap
  33270. msgid "Prosody Service"
  33271. msgstr ""
  33272. #. type: deffn
  33273. #: guix-git/doc/guix.texi:22223
  33274. #, no-wrap
  33275. msgid "{Scheme Variable} prosody-service-type"
  33276. msgstr ""
  33277. #. type: deffn
  33278. #: guix-git/doc/guix.texi:22227
  33279. 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:"
  33280. msgstr ""
  33281. #. type: lisp
  33282. #: guix-git/doc/guix.texi:22242
  33283. #, no-wrap
  33284. msgid ""
  33285. "(service prosody-service-type\n"
  33286. " (prosody-configuration\n"
  33287. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  33288. " (int-components\n"
  33289. " (list\n"
  33290. " (int-component-configuration\n"
  33291. " (hostname \"conference.example.net\")\n"
  33292. " (plugin \"muc\")\n"
  33293. " (mod-muc (mod-muc-configuration)))))\n"
  33294. " (virtualhosts\n"
  33295. " (list\n"
  33296. " (virtualhost-configuration\n"
  33297. " (domain \"example.net\"))))))\n"
  33298. msgstr ""
  33299. #. type: deffn
  33300. #: guix-git/doc/guix.texi:22245
  33301. msgid "See below for details about @code{prosody-configuration}."
  33302. msgstr ""
  33303. #. type: Plain text
  33304. #: guix-git/doc/guix.texi:22251
  33305. 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."
  33306. msgstr ""
  33307. #. type: Plain text
  33308. #: guix-git/doc/guix.texi:22254
  33309. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  33310. msgstr ""
  33311. #. type: Plain text
  33312. #: guix-git/doc/guix.texi:22258
  33313. 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}."
  33314. msgstr ""
  33315. #. type: example
  33316. #: guix-git/doc/guix.texi:22261
  33317. #, no-wrap
  33318. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  33319. msgstr ""
  33320. #. type: Plain text
  33321. #: guix-git/doc/guix.texi:22268
  33322. 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}."
  33323. msgstr ""
  33324. #. type: Plain text
  33325. #: guix-git/doc/guix.texi:22272
  33326. 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."
  33327. msgstr ""
  33328. #. type: Plain text
  33329. #: guix-git/doc/guix.texi:22275
  33330. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  33331. msgstr ""
  33332. #. type: Plain text
  33333. #: guix-git/doc/guix.texi:22285
  33334. msgid "Available @code{prosody-configuration} fields are:"
  33335. msgstr ""
  33336. #. type: deftypevr
  33337. #: guix-git/doc/guix.texi:22286
  33338. #, no-wrap
  33339. msgid "{@code{prosody-configuration} parameter} package prosody"
  33340. msgstr ""
  33341. #. type: deftypevr
  33342. #: guix-git/doc/guix.texi:22288
  33343. msgid "The Prosody package."
  33344. msgstr ""
  33345. #. type: deftypevr
  33346. #: guix-git/doc/guix.texi:22290
  33347. #, no-wrap
  33348. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  33349. msgstr ""
  33350. #. type: deftypevr
  33351. #: guix-git/doc/guix.texi:22294
  33352. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  33353. msgstr ""
  33354. #. type: deftypevr
  33355. #: guix-git/doc/guix.texi:22296
  33356. #, no-wrap
  33357. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  33358. msgstr ""
  33359. #. type: deftypevr
  33360. #: guix-git/doc/guix.texi:22300
  33361. 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{()}."
  33362. msgstr ""
  33363. #. type: deftypevr
  33364. #: guix-git/doc/guix.texi:22302
  33365. #, no-wrap
  33366. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  33367. msgstr ""
  33368. #. type: deftypevr
  33369. #: guix-git/doc/guix.texi:22307
  33370. 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\"}."
  33371. msgstr ""
  33372. #. type: deftypevr
  33373. #: guix-git/doc/guix.texi:22309
  33374. #, no-wrap
  33375. msgid "{@code{prosody-configuration} parameter} string-list admins"
  33376. msgstr ""
  33377. #. type: deftypevr
  33378. #: guix-git/doc/guix.texi:22315
  33379. 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{()}."
  33380. msgstr ""
  33381. #. type: deftypevr
  33382. #: guix-git/doc/guix.texi:22317
  33383. #, no-wrap
  33384. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  33385. msgstr ""
  33386. #. type: deftypevr
  33387. #: guix-git/doc/guix.texi:22321
  33388. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  33389. msgstr ""
  33390. #. type: deftypevr
  33391. #: guix-git/doc/guix.texi:22323
  33392. #, no-wrap
  33393. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  33394. msgstr ""
  33395. #. type: deftypevr
  33396. #: guix-git/doc/guix.texi:22329
  33397. 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\")}."
  33398. msgstr ""
  33399. #. type: deftypevr
  33400. #: guix-git/doc/guix.texi:22331
  33401. #, no-wrap
  33402. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  33403. msgstr ""
  33404. #. type: deftypevr
  33405. #: guix-git/doc/guix.texi:22335
  33406. 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{()}."
  33407. msgstr ""
  33408. #. type: deftypevr
  33409. #: guix-git/doc/guix.texi:22337
  33410. #, no-wrap
  33411. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  33412. msgstr ""
  33413. #. type: deftypevr
  33414. #: guix-git/doc/guix.texi:22342
  33415. 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\"}."
  33416. msgstr ""
  33417. #. type: deftypevr
  33418. #: guix-git/doc/guix.texi:22344
  33419. #, no-wrap
  33420. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  33421. msgstr ""
  33422. #. type: deftypevr
  33423. #: guix-git/doc/guix.texi:22348
  33424. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  33425. msgstr ""
  33426. #. type: deftypevr
  33427. #: guix-git/doc/guix.texi:22350
  33428. #, no-wrap
  33429. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  33430. msgstr ""
  33431. #. type: deftypevr
  33432. #: guix-git/doc/guix.texi:22355
  33433. 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}."
  33434. msgstr ""
  33435. #. type: deftypevr
  33436. #: guix-git/doc/guix.texi:22357
  33437. msgid "Available @code{ssl-configuration} fields are:"
  33438. msgstr ""
  33439. #. type: deftypevr
  33440. #: guix-git/doc/guix.texi:22358
  33441. #, no-wrap
  33442. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  33443. msgstr ""
  33444. #. type: deftypevr
  33445. #: guix-git/doc/guix.texi:22360
  33446. msgid "This determines what handshake to use."
  33447. msgstr ""
  33448. #. type: deftypevr
  33449. #: guix-git/doc/guix.texi:22362
  33450. #, no-wrap
  33451. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  33452. msgstr ""
  33453. #. type: deftypevr
  33454. #: guix-git/doc/guix.texi:22364
  33455. msgid "Path to your private key file."
  33456. msgstr ""
  33457. #. type: deftypevr
  33458. #: guix-git/doc/guix.texi:22366
  33459. #, no-wrap
  33460. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  33461. msgstr ""
  33462. #. type: deftypevr
  33463. #: guix-git/doc/guix.texi:22368
  33464. msgid "Path to your certificate file."
  33465. msgstr ""
  33466. #. type: deftypevr
  33467. #: guix-git/doc/guix.texi:22370
  33468. #, no-wrap
  33469. msgid "{@code{ssl-configuration} parameter} file-object capath"
  33470. msgstr ""
  33471. #. type: deftypevr
  33472. #: guix-git/doc/guix.texi:22374
  33473. 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\"}."
  33474. msgstr ""
  33475. #. type: deftypevr
  33476. #: guix-git/doc/guix.texi:22376
  33477. #, no-wrap
  33478. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  33479. msgstr ""
  33480. #. type: deftypevr
  33481. #: guix-git/doc/guix.texi:22379
  33482. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  33483. msgstr ""
  33484. #. type: deftypevr
  33485. #: guix-git/doc/guix.texi:22381
  33486. #, no-wrap
  33487. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  33488. msgstr ""
  33489. #. type: deftypevr
  33490. #: guix-git/doc/guix.texi:22384
  33491. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  33492. msgstr ""
  33493. #. type: deftypevr
  33494. #: guix-git/doc/guix.texi:22386
  33495. #, no-wrap
  33496. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  33497. msgstr ""
  33498. #. type: deftypevr
  33499. #: guix-git/doc/guix.texi:22390
  33500. 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."
  33501. msgstr ""
  33502. #. type: deftypevr
  33503. #: guix-git/doc/guix.texi:22392
  33504. #, no-wrap
  33505. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  33506. msgstr ""
  33507. #. type: deftypevr
  33508. #: guix-git/doc/guix.texi:22395
  33509. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  33510. msgstr ""
  33511. #. type: deftypevr
  33512. #: guix-git/doc/guix.texi:22397
  33513. #, no-wrap
  33514. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22400
  33518. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  33519. msgstr ""
  33520. #. type: deftypevr
  33521. #: guix-git/doc/guix.texi:22402
  33522. #, no-wrap
  33523. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22406
  33527. 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}"
  33528. msgstr ""
  33529. #. type: deftypevr
  33530. #: guix-git/doc/guix.texi:22408
  33531. #, no-wrap
  33532. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  33533. msgstr ""
  33534. #. type: deftypevr
  33535. #: guix-git/doc/guix.texi:22411
  33536. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  33537. msgstr ""
  33538. #. type: deftypevr
  33539. #: guix-git/doc/guix.texi:22413
  33540. #, no-wrap
  33541. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  33542. msgstr ""
  33543. #. type: deftypevr
  33544. #: guix-git/doc/guix.texi:22415
  33545. msgid "A list of ``extra'' verification options."
  33546. msgstr ""
  33547. #. type: deftypevr
  33548. #: guix-git/doc/guix.texi:22417
  33549. #, no-wrap
  33550. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  33551. msgstr ""
  33552. #. type: deftypevr
  33553. #: guix-git/doc/guix.texi:22419
  33554. msgid "Password for encrypted private keys."
  33555. msgstr ""
  33556. #. type: deftypevr
  33557. #: guix-git/doc/guix.texi:22423
  33558. #, no-wrap
  33559. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  33560. msgstr ""
  33561. #. type: deftypevr
  33562. #: guix-git/doc/guix.texi:22427
  33563. 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}."
  33564. msgstr ""
  33565. #. type: deftypevr
  33566. #: guix-git/doc/guix.texi:22429
  33567. #, no-wrap
  33568. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  33569. msgstr ""
  33570. #. type: deftypevr
  33571. #: guix-git/doc/guix.texi:22433
  33572. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  33573. msgstr ""
  33574. #. type: deftypevr
  33575. #: guix-git/doc/guix.texi:22435
  33576. #, no-wrap
  33577. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  33578. msgstr ""
  33579. #. type: deftypevr
  33580. #: guix-git/doc/guix.texi:22439
  33581. 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}."
  33582. msgstr ""
  33583. #. type: deftypevr
  33584. #: guix-git/doc/guix.texi:22441
  33585. #, no-wrap
  33586. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  33587. msgstr ""
  33588. #. type: deftypevr
  33589. #: guix-git/doc/guix.texi:22447
  33590. 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}."
  33591. msgstr ""
  33592. #. type: deftypevr
  33593. #: guix-git/doc/guix.texi:22449
  33594. #, no-wrap
  33595. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  33596. msgstr ""
  33597. #. type: deftypevr
  33598. #: guix-git/doc/guix.texi:22455
  33599. 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{()}."
  33600. msgstr ""
  33601. #. type: deftypevr
  33602. #: guix-git/doc/guix.texi:22457
  33603. #, no-wrap
  33604. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  33605. msgstr ""
  33606. #. type: deftypevr
  33607. #: guix-git/doc/guix.texi:22462
  33608. 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{()}."
  33609. msgstr ""
  33610. #. type: deftypevr
  33611. #: guix-git/doc/guix.texi:22464
  33612. #, no-wrap
  33613. msgid "{@code{prosody-configuration} parameter} string authentication"
  33614. msgstr ""
  33615. #. type: deftypevr
  33616. #: guix-git/doc/guix.texi:22472
  33617. 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\"}."
  33618. msgstr ""
  33619. #. type: deftypevr
  33620. #: guix-git/doc/guix.texi:22474
  33621. #, no-wrap
  33622. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  33623. msgstr ""
  33624. #. type: deftypevr
  33625. #: guix-git/doc/guix.texi:22478
  33626. 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\"}."
  33627. msgstr ""
  33628. #. type: deftypevr
  33629. #: guix-git/doc/guix.texi:22480
  33630. #, no-wrap
  33631. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  33632. msgstr ""
  33633. #. type: deftypevr
  33634. #: guix-git/doc/guix.texi:22483
  33635. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  33636. msgstr ""
  33637. #. type: deftypevr
  33638. #: guix-git/doc/guix.texi:22485
  33639. #, no-wrap
  33640. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  33641. msgstr ""
  33642. #. type: deftypevr
  33643. #: guix-git/doc/guix.texi:22487
  33644. msgid "Maximum allowed size of the HTTP body (in bytes)."
  33645. msgstr ""
  33646. #. type: deftypevr
  33647. #: guix-git/doc/guix.texi:22489
  33648. #, no-wrap
  33649. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  33650. msgstr ""
  33651. #. type: deftypevr
  33652. #: guix-git/doc/guix.texi:22494
  33653. 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}."
  33654. msgstr ""
  33655. #. type: deftypevr
  33656. #: guix-git/doc/guix.texi:22496
  33657. #, no-wrap
  33658. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  33659. msgstr ""
  33660. #. type: deftypevr
  33661. #: guix-git/doc/guix.texi:22501
  33662. 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."
  33663. msgstr ""
  33664. #. type: deftypevr
  33665. #: guix-git/doc/guix.texi:22507
  33666. 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."
  33667. msgstr ""
  33668. #. type: deftypevr
  33669. #: guix-git/doc/guix.texi:22509
  33670. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  33671. msgstr ""
  33672. #. type: deftypevr
  33673. #: guix-git/doc/guix.texi:22511
  33674. msgid "Available @code{virtualhost-configuration} fields are:"
  33675. msgstr ""
  33676. #. type: deftypevr
  33677. #: guix-git/doc/guix.texi:22513 guix-git/doc/guix.texi:22535
  33678. #: guix-git/doc/guix.texi:22588
  33679. 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:"
  33680. msgstr ""
  33681. #. type: deftypevr
  33682. #: guix-git/doc/guix.texi:22513
  33683. #, no-wrap
  33684. msgid "{@code{virtualhost-configuration} parameter} string domain"
  33685. msgstr ""
  33686. #. type: deftypevr
  33687. #: guix-git/doc/guix.texi:22515
  33688. msgid "Domain you wish Prosody to serve."
  33689. msgstr ""
  33690. #. type: deftypevr
  33691. #: guix-git/doc/guix.texi:22519
  33692. #, no-wrap
  33693. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  33694. msgstr ""
  33695. #. type: deftypevr
  33696. #: guix-git/doc/guix.texi:22524
  33697. 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."
  33698. msgstr ""
  33699. #. type: deftypevr
  33700. #: guix-git/doc/guix.texi:22528
  33701. 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."
  33702. msgstr ""
  33703. #. type: deftypevr
  33704. #: guix-git/doc/guix.texi:22531
  33705. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  33706. msgstr ""
  33707. #. type: deftypevr
  33708. #: guix-git/doc/guix.texi:22533
  33709. msgid "Available @code{int-component-configuration} fields are:"
  33710. msgstr ""
  33711. #. type: deftypevr
  33712. #: guix-git/doc/guix.texi:22535
  33713. #, no-wrap
  33714. msgid "{@code{int-component-configuration} parameter} string hostname"
  33715. msgstr ""
  33716. #. type: deftypevr
  33717. #: guix-git/doc/guix.texi:22537 guix-git/doc/guix.texi:22594
  33718. msgid "Hostname of the component."
  33719. msgstr ""
  33720. #. type: deftypevr
  33721. #: guix-git/doc/guix.texi:22539
  33722. #, no-wrap
  33723. msgid "{@code{int-component-configuration} parameter} string plugin"
  33724. msgstr ""
  33725. #. type: deftypevr
  33726. #: guix-git/doc/guix.texi:22541
  33727. msgid "Plugin you wish to use for the component."
  33728. msgstr ""
  33729. #. type: deftypevr
  33730. #: guix-git/doc/guix.texi:22543
  33731. #, no-wrap
  33732. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  33733. msgstr ""
  33734. #. type: deftypevr
  33735. #: guix-git/doc/guix.texi:22546
  33736. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  33737. msgstr ""
  33738. #. type: deftypevr
  33739. #: guix-git/doc/guix.texi:22550
  33740. 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."
  33741. msgstr ""
  33742. #. type: deftypevr
  33743. #: guix-git/doc/guix.texi:22552
  33744. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  33745. msgstr ""
  33746. #. type: deftypevr
  33747. #: guix-git/doc/guix.texi:22554
  33748. msgid "Available @code{mod-muc-configuration} fields are:"
  33749. msgstr ""
  33750. #. type: deftypevr
  33751. #: guix-git/doc/guix.texi:22555
  33752. #, no-wrap
  33753. msgid "{@code{mod-muc-configuration} parameter} string name"
  33754. msgstr ""
  33755. #. type: deftypevr
  33756. #: guix-git/doc/guix.texi:22558
  33757. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  33758. msgstr ""
  33759. #. type: deftypevr
  33760. #: guix-git/doc/guix.texi:22560
  33761. #, no-wrap
  33762. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  33763. msgstr ""
  33764. #. type: deftypevr
  33765. #: guix-git/doc/guix.texi:22567
  33766. 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}."
  33767. msgstr ""
  33768. #. type: deftypevr
  33769. #: guix-git/doc/guix.texi:22569
  33770. #, no-wrap
  33771. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  33772. msgstr ""
  33773. #. type: deftypevr
  33774. #: guix-git/doc/guix.texi:22573
  33775. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  33776. msgstr ""
  33777. #. type: deftypevr
  33778. #: guix-git/doc/guix.texi:22579
  33779. #, no-wrap
  33780. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  33781. msgstr ""
  33782. #. type: deftypevr
  33783. #: guix-git/doc/guix.texi:22584
  33784. 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{()}."
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22586
  33788. msgid "Available @code{ext-component-configuration} fields are:"
  33789. msgstr ""
  33790. #. type: deftypevr
  33791. #: guix-git/doc/guix.texi:22588
  33792. #, no-wrap
  33793. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22590
  33797. msgid "Password which the component will use to log in."
  33798. msgstr ""
  33799. #. type: deftypevr
  33800. #: guix-git/doc/guix.texi:22592
  33801. #, no-wrap
  33802. msgid "{@code{ext-component-configuration} parameter} string hostname"
  33803. msgstr ""
  33804. #. type: deftypevr
  33805. #: guix-git/doc/guix.texi:22598
  33806. #, no-wrap
  33807. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  33808. msgstr ""
  33809. #. type: deftypevr
  33810. #: guix-git/doc/guix.texi:22601
  33811. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  33812. msgstr ""
  33813. #. type: deftypevr
  33814. #: guix-git/doc/guix.texi:22603
  33815. #, no-wrap
  33816. msgid "{@code{prosody-configuration} parameter} string component-interface"
  33817. msgstr ""
  33818. #. type: deftypevr
  33819. #: guix-git/doc/guix.texi:22606
  33820. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  33821. msgstr ""
  33822. #. type: deftypevr
  33823. #: guix-git/doc/guix.texi:22608
  33824. #, no-wrap
  33825. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  33826. msgstr ""
  33827. #. type: deftypevr
  33828. #: guix-git/doc/guix.texi:22610
  33829. msgid "Raw content that will be added to the configuration file."
  33830. msgstr ""
  33831. #. type: Plain text
  33832. #: guix-git/doc/guix.texi:22618
  33833. 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:"
  33834. msgstr ""
  33835. #. type: deftypevr
  33836. #: guix-git/doc/guix.texi:22619
  33837. #, no-wrap
  33838. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  33839. msgstr ""
  33840. #. type: deftypevr
  33841. #: guix-git/doc/guix.texi:22621
  33842. msgid "The prosody package."
  33843. msgstr ""
  33844. #. type: deftypevr
  33845. #: guix-git/doc/guix.texi:22623
  33846. #, no-wrap
  33847. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  33848. msgstr ""
  33849. #. type: deftypevr
  33850. #: guix-git/doc/guix.texi:22625
  33851. msgid "The contents of the @code{prosody.cfg.lua} to use."
  33852. msgstr ""
  33853. #. type: Plain text
  33854. #: guix-git/doc/guix.texi:22629
  33855. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  33856. msgstr ""
  33857. #. type: lisp
  33858. #: guix-git/doc/guix.texi:22634
  33859. #, no-wrap
  33860. msgid ""
  33861. "(service prosody-service-type\n"
  33862. " (opaque-prosody-configuration\n"
  33863. " (prosody.cfg.lua \"\")))\n"
  33864. msgstr ""
  33865. #. type: subsubheading
  33866. #: guix-git/doc/guix.texi:22638
  33867. #, no-wrap
  33868. msgid "BitlBee Service"
  33869. msgstr ""
  33870. #. type: cindex
  33871. #: guix-git/doc/guix.texi:22640 guix-git/doc/guix.texi:22684
  33872. #, no-wrap
  33873. msgid "IRC (Internet Relay Chat)"
  33874. msgstr ""
  33875. #. type: cindex
  33876. #: guix-git/doc/guix.texi:22641
  33877. #, no-wrap
  33878. msgid "IRC gateway"
  33879. msgstr ""
  33880. #. type: Plain text
  33881. #: guix-git/doc/guix.texi:22644
  33882. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  33883. msgstr ""
  33884. #. type: defvr
  33885. #: guix-git/doc/guix.texi:22645
  33886. #, no-wrap
  33887. msgid "{Scheme Variable} bitlbee-service-type"
  33888. msgstr ""
  33889. #. type: defvr
  33890. #: guix-git/doc/guix.texi:22649
  33891. 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)."
  33892. msgstr ""
  33893. #. type: defvr
  33894. #: guix-git/doc/guix.texi:22652
  33895. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  33896. msgstr ""
  33897. #. type: lisp
  33898. #: guix-git/doc/guix.texi:22655
  33899. #, no-wrap
  33900. msgid "(service bitlbee-service-type)\n"
  33901. msgstr ""
  33902. #. type: deftp
  33903. #: guix-git/doc/guix.texi:22658
  33904. #, no-wrap
  33905. msgid "{Data Type} bitlbee-configuration"
  33906. msgstr ""
  33907. #. type: deftp
  33908. #: guix-git/doc/guix.texi:22660
  33909. msgid "This is the configuration for BitlBee, with the following fields:"
  33910. msgstr ""
  33911. #. type: item
  33912. #: guix-git/doc/guix.texi:22662
  33913. #, no-wrap
  33914. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  33915. msgstr ""
  33916. #. type: itemx
  33917. #: guix-git/doc/guix.texi:22663
  33918. #, no-wrap
  33919. msgid "@code{port} (default: @code{6667})"
  33920. msgstr ""
  33921. #. type: table
  33922. #: guix-git/doc/guix.texi:22666
  33923. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  33924. msgstr ""
  33925. #. type: table
  33926. #: guix-git/doc/guix.texi:22670
  33927. 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."
  33928. msgstr ""
  33929. #. type: item
  33930. #: guix-git/doc/guix.texi:22671
  33931. #, no-wrap
  33932. msgid "@code{bitlbee} (default: @code{bitlbee})"
  33933. msgstr ""
  33934. #. type: table
  33935. #: guix-git/doc/guix.texi:22673
  33936. msgid "The BitlBee package to use."
  33937. msgstr ""
  33938. #. type: item
  33939. #: guix-git/doc/guix.texi:22674
  33940. #, no-wrap
  33941. msgid "@code{plugins} (default: @code{'()})"
  33942. msgstr ""
  33943. #. type: table
  33944. #: guix-git/doc/guix.texi:22676
  33945. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  33946. msgstr ""
  33947. #. type: table
  33948. #: guix-git/doc/guix.texi:22679
  33949. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  33950. msgstr ""
  33951. #. type: subsubheading
  33952. #: guix-git/doc/guix.texi:22682
  33953. #, no-wrap
  33954. msgid "Quassel Service"
  33955. msgstr ""
  33956. #. type: Plain text
  33957. #: guix-git/doc/guix.texi:22688
  33958. 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."
  33959. msgstr ""
  33960. #. type: defvr
  33961. #: guix-git/doc/guix.texi:22689
  33962. #, no-wrap
  33963. msgid "{Scheme Variable} quassel-service-type"
  33964. msgstr ""
  33965. #. type: defvr
  33966. #: guix-git/doc/guix.texi:22693
  33967. 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)."
  33968. msgstr ""
  33969. #. type: deftp
  33970. #: guix-git/doc/guix.texi:22695
  33971. #, no-wrap
  33972. msgid "{Data Type} quassel-configuration"
  33973. msgstr ""
  33974. #. type: deftp
  33975. #: guix-git/doc/guix.texi:22697
  33976. msgid "This is the configuration for Quassel, with the following fields:"
  33977. msgstr ""
  33978. #. type: item
  33979. #: guix-git/doc/guix.texi:22699
  33980. #, no-wrap
  33981. msgid "@code{quassel} (default: @code{quassel})"
  33982. msgstr ""
  33983. #. type: table
  33984. #: guix-git/doc/guix.texi:22701
  33985. msgid "The Quassel package to use."
  33986. msgstr ""
  33987. #. type: item
  33988. #: guix-git/doc/guix.texi:22702
  33989. #, no-wrap
  33990. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33991. msgstr ""
  33992. #. type: item
  33993. #: guix-git/doc/guix.texi:22703
  33994. #, no-wrap
  33995. msgid "@code{port} (default: @code{4242})"
  33996. msgstr ""
  33997. #. type: table
  33998. #: guix-git/doc/guix.texi:22707
  33999. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  34000. msgstr ""
  34001. #. type: item
  34002. #: guix-git/doc/guix.texi:22708
  34003. #, no-wrap
  34004. msgid "@code{loglevel} (default: @code{\"Info\"})"
  34005. msgstr ""
  34006. #. type: table
  34007. #: guix-git/doc/guix.texi:22711
  34008. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  34009. msgstr ""
  34010. #. type: cindex
  34011. #: guix-git/doc/guix.texi:22717
  34012. #, no-wrap
  34013. msgid "telephony, services"
  34014. msgstr ""
  34015. #. type: Plain text
  34016. #: guix-git/doc/guix.texi:22721
  34017. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  34018. msgstr ""
  34019. #. type: subsubheading
  34020. #: guix-git/doc/guix.texi:22722
  34021. #, no-wrap
  34022. msgid "Jami"
  34023. msgstr ""
  34024. #. type: cindex
  34025. #: guix-git/doc/guix.texi:22724
  34026. #, no-wrap
  34027. msgid "jami, service"
  34028. msgstr ""
  34029. #. type: Plain text
  34030. #: guix-git/doc/guix.texi:22730
  34031. 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:"
  34032. msgstr ""
  34033. #. type: lisp
  34034. #: guix-git/doc/guix.texi:22739
  34035. #, no-wrap
  34036. msgid ""
  34037. "(service jami-service-type\n"
  34038. " (jami-configuration\n"
  34039. " (accounts\n"
  34040. " (list (jami-account\n"
  34041. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  34042. " (jami-account\n"
  34043. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  34044. msgstr ""
  34045. #. type: Plain text
  34046. #: guix-git/doc/guix.texi:22744
  34047. 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."
  34048. msgstr ""
  34049. #. type: Plain text
  34050. #: guix-git/doc/guix.texi:22749
  34051. msgid "Jami accounts and their corresponding backup archives can be generated using either the @code{jami-qt} 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}."
  34052. msgstr ""
  34053. #. type: Plain text
  34054. #: guix-git/doc/guix.texi:22752
  34055. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  34056. msgstr ""
  34057. #. type: lisp
  34058. #: guix-git/doc/guix.texi:22764
  34059. #, no-wrap
  34060. msgid ""
  34061. "(service jami-service-type\n"
  34062. " (jami-configuration\n"
  34063. " (accounts\n"
  34064. " (list (jami-account\n"
  34065. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  34066. " (peer-discovery? #t)\n"
  34067. " (rendezvous-point? #t)\n"
  34068. " (allowed-contacts\n"
  34069. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  34070. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  34071. msgstr ""
  34072. #. type: Plain text
  34073. #: guix-git/doc/guix.texi:22770
  34074. 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."
  34075. msgstr ""
  34076. #. type: Plain text
  34077. #: guix-git/doc/guix.texi:22773
  34078. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  34079. msgstr ""
  34080. #. type: example
  34081. #: guix-git/doc/guix.texi:22785
  34082. #, no-wrap
  34083. msgid ""
  34084. "# herd doc jami list-actions\n"
  34085. "(list-accounts\n"
  34086. " list-account-details\n"
  34087. " list-banned-contacts\n"
  34088. " list-contacts\n"
  34089. " list-moderators\n"
  34090. " add-moderator\n"
  34091. " ban-contact\n"
  34092. " enable-account\n"
  34093. " disable-account)\n"
  34094. msgstr ""
  34095. #. type: Plain text
  34096. #: guix-git/doc/guix.texi:22792
  34097. 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."
  34098. msgstr ""
  34099. #. type: Plain text
  34100. #: guix-git/doc/guix.texi:22798
  34101. 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:"
  34102. msgstr ""
  34103. #. type: example
  34104. #: guix-git/doc/guix.texi:22802
  34105. #, no-wrap
  34106. msgid ""
  34107. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  34108. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34109. "\n"
  34110. msgstr ""
  34111. #. type: example
  34112. #: guix-git/doc/guix.texi:22806
  34113. #, no-wrap
  34114. msgid ""
  34115. "# herd list-moderators jami\n"
  34116. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34117. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34118. "\n"
  34119. msgstr ""
  34120. #. type: Plain text
  34121. #: guix-git/doc/guix.texi:22811
  34122. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  34123. msgstr ""
  34124. #. type: example
  34125. #: guix-git/doc/guix.texi:22814
  34126. #, no-wrap
  34127. msgid ""
  34128. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34129. "\n"
  34130. msgstr ""
  34131. #. type: example
  34132. #: guix-git/doc/guix.texi:22818
  34133. #, no-wrap
  34134. msgid ""
  34135. "# herd list-banned-contacts jami\n"
  34136. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34137. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34138. "\n"
  34139. msgstr ""
  34140. #. type: Plain text
  34141. #: guix-git/doc/guix.texi:22822
  34142. msgid "Banned contacts are also stripped from their moderation privileges."
  34143. msgstr ""
  34144. #. type: Plain text
  34145. #: guix-git/doc/guix.texi:22827
  34146. 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:"
  34147. msgstr ""
  34148. #. type: example
  34149. #: guix-git/doc/guix.texi:22830
  34150. #, no-wrap
  34151. msgid ""
  34152. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34153. "\n"
  34154. msgstr ""
  34155. #. type: example
  34156. #: guix-git/doc/guix.texi:22834
  34157. #, no-wrap
  34158. msgid ""
  34159. "# herd list-accounts jami\n"
  34160. "The following Jami accounts are available:\n"
  34161. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  34162. "\n"
  34163. msgstr ""
  34164. #. type: Plain text
  34165. #: guix-git/doc/guix.texi:22845
  34166. 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:"
  34167. msgstr ""
  34168. #. type: example
  34169. #: guix-git/doc/guix.texi:22850
  34170. #, no-wrap
  34171. msgid ""
  34172. "# herd list-account-details jami | \\\n"
  34173. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  34174. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34175. msgstr ""
  34176. #. type: Plain text
  34177. #: guix-git/doc/guix.texi:22853
  34178. msgid "The remaining actions should be self-explanatory."
  34179. msgstr ""
  34180. #. type: Plain text
  34181. #: guix-git/doc/guix.texi:22855
  34182. msgid "The complete set of available configuration options is detailed below."
  34183. msgstr ""
  34184. #. type: deftp
  34185. #: guix-git/doc/guix.texi:22859
  34186. #, fuzzy, no-wrap
  34187. #| msgid "System Configuration"
  34188. msgid "{Data Type} jami-configuration"
  34189. msgstr "Nastavenie systému"
  34190. #. type: deftp
  34191. #: guix-git/doc/guix.texi:22861
  34192. msgid "Available @code{jami-configuration} fields are:"
  34193. msgstr ""
  34194. #. type: item
  34195. #: guix-git/doc/guix.texi:22863
  34196. #, no-wrap
  34197. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  34198. msgstr ""
  34199. #. type: table
  34200. #: guix-git/doc/guix.texi:22865
  34201. msgid "The Jami daemon package to use."
  34202. msgstr ""
  34203. #. type: item
  34204. #: guix-git/doc/guix.texi:22866
  34205. #, no-wrap
  34206. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  34207. msgstr ""
  34208. #. type: table
  34209. #: guix-git/doc/guix.texi:22868
  34210. msgid "The D-Bus package to use to start the required D-Bus session."
  34211. msgstr ""
  34212. #. type: item
  34213. #: guix-git/doc/guix.texi:22869
  34214. #, no-wrap
  34215. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  34216. msgstr ""
  34217. #. type: table
  34218. #: guix-git/doc/guix.texi:22871
  34219. msgid "The nss-certs package to use to provide TLS certificates."
  34220. msgstr ""
  34221. #. type: item
  34222. #: guix-git/doc/guix.texi:22872
  34223. #, no-wrap
  34224. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  34225. msgstr ""
  34226. #. type: table
  34227. #: guix-git/doc/guix.texi:22874
  34228. msgid "Whether to enable logging to syslog."
  34229. msgstr ""
  34230. #. type: item
  34231. #: guix-git/doc/guix.texi:22875
  34232. #, no-wrap
  34233. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  34234. msgstr ""
  34235. #. type: table
  34236. #: guix-git/doc/guix.texi:22877
  34237. msgid "Whether to enable debug level messages."
  34238. msgstr ""
  34239. #. type: item
  34240. #: guix-git/doc/guix.texi:22878
  34241. #, no-wrap
  34242. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  34243. msgstr ""
  34244. #. type: table
  34245. #: guix-git/doc/guix.texi:22880
  34246. msgid "Whether to force automatic answer to incoming calls."
  34247. msgstr ""
  34248. #. type: item
  34249. #: guix-git/doc/guix.texi:22881
  34250. #, no-wrap
  34251. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  34252. msgstr ""
  34253. #. type: table
  34254. #: guix-git/doc/guix.texi:22886
  34255. 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."
  34256. msgstr ""
  34257. #. type: deftp
  34258. #: guix-git/doc/guix.texi:22892
  34259. #, no-wrap
  34260. msgid "{Data Type} jami-account"
  34261. msgstr ""
  34262. #. type: deftp
  34263. #: guix-git/doc/guix.texi:22894
  34264. msgid "Available @code{jami-account} fields are:"
  34265. msgstr ""
  34266. #. type: item
  34267. #: guix-git/doc/guix.texi:22896
  34268. #, no-wrap
  34269. msgid "@code{archive} (type: string-or-computed-file)"
  34270. msgstr ""
  34271. #. type: table
  34272. #: guix-git/doc/guix.texi:22902
  34273. 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."
  34274. msgstr ""
  34275. #. type: item
  34276. #: guix-git/doc/guix.texi:22903
  34277. #, no-wrap
  34278. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34279. msgstr ""
  34280. #. type: table
  34281. #: guix-git/doc/guix.texi:22910
  34282. 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."
  34283. msgstr ""
  34284. #. type: item
  34285. #: guix-git/doc/guix.texi:22911
  34286. #, no-wrap
  34287. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34288. msgstr ""
  34289. #. type: table
  34290. #: guix-git/doc/guix.texi:22917
  34291. 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."
  34292. msgstr ""
  34293. #. type: item
  34294. #: guix-git/doc/guix.texi:22918
  34295. #, no-wrap
  34296. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  34297. msgstr ""
  34298. #. type: table
  34299. #: guix-git/doc/guix.texi:22922
  34300. 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."
  34301. msgstr ""
  34302. #. type: item
  34303. #: guix-git/doc/guix.texi:22923
  34304. #, no-wrap
  34305. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  34306. msgstr ""
  34307. #. type: table
  34308. #: guix-git/doc/guix.texi:22929
  34309. 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."
  34310. msgstr ""
  34311. #. type: item
  34312. #: guix-git/doc/guix.texi:22930
  34313. #, no-wrap
  34314. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  34315. msgstr ""
  34316. #. type: table
  34317. #: guix-git/doc/guix.texi:22934
  34318. 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."
  34319. msgstr ""
  34320. #. type: item
  34321. #: guix-git/doc/guix.texi:22935
  34322. #, no-wrap
  34323. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  34324. msgstr ""
  34325. #. type: table
  34326. #: guix-git/doc/guix.texi:22938
  34327. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  34328. msgstr ""
  34329. #. type: cindex
  34330. #: guix-git/doc/guix.texi:22943 guix-git/doc/guix.texi:22945
  34331. #, no-wrap
  34332. msgid "Murmur (VoIP server)"
  34333. msgstr ""
  34334. #. type: cindex
  34335. #: guix-git/doc/guix.texi:22946
  34336. #, no-wrap
  34337. msgid "VoIP server"
  34338. msgstr ""
  34339. #. type: Plain text
  34340. #: guix-git/doc/guix.texi:22950
  34341. 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."
  34342. msgstr ""
  34343. #. type: deftp
  34344. #: guix-git/doc/guix.texi:22951
  34345. #, no-wrap
  34346. msgid "{Data Type} murmur-configuration"
  34347. msgstr ""
  34348. #. type: deftp
  34349. #: guix-git/doc/guix.texi:22954
  34350. msgid "The service type for the Murmur server. An example configuration can look like this:"
  34351. msgstr ""
  34352. #. type: lisp
  34353. #: guix-git/doc/guix.texi:22963
  34354. #, no-wrap
  34355. msgid ""
  34356. "(service murmur-service-type\n"
  34357. " (murmur-configuration\n"
  34358. " (welcome-text\n"
  34359. " \"Welcome to this Mumble server running on Guix!\")\n"
  34360. " (cert-required? #t) ;disallow text password logins\n"
  34361. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  34362. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  34363. msgstr ""
  34364. #. type: deftp
  34365. #: guix-git/doc/guix.texi:22967
  34366. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  34367. msgstr ""
  34368. #. type: deftp
  34369. #: guix-git/doc/guix.texi:22976
  34370. 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."
  34371. msgstr ""
  34372. #. type: deftp
  34373. #: guix-git/doc/guix.texi:22978
  34374. msgid "Available @code{murmur-configuration} fields are:"
  34375. msgstr ""
  34376. #. type: item
  34377. #: guix-git/doc/guix.texi:22980
  34378. #, no-wrap
  34379. msgid "@code{package} (default: @code{mumble})"
  34380. msgstr ""
  34381. #. type: table
  34382. #: guix-git/doc/guix.texi:22982
  34383. msgid "Package that contains @code{bin/murmurd}."
  34384. msgstr ""
  34385. #. type: item
  34386. #: guix-git/doc/guix.texi:22983
  34387. #, no-wrap
  34388. msgid "@code{user} (default: @code{\"murmur\"})"
  34389. msgstr ""
  34390. #. type: table
  34391. #: guix-git/doc/guix.texi:22985
  34392. msgid "User who will run the Murmur server."
  34393. msgstr ""
  34394. #. type: item
  34395. #: guix-git/doc/guix.texi:22986
  34396. #, no-wrap
  34397. msgid "@code{group} (default: @code{\"murmur\"})"
  34398. msgstr ""
  34399. #. type: table
  34400. #: guix-git/doc/guix.texi:22988
  34401. msgid "Group of the user who will run the murmur server."
  34402. msgstr ""
  34403. #. type: item
  34404. #: guix-git/doc/guix.texi:22989
  34405. #, no-wrap
  34406. msgid "@code{port} (default: @code{64738})"
  34407. msgstr ""
  34408. #. type: table
  34409. #: guix-git/doc/guix.texi:22991
  34410. msgid "Port on which the server will listen."
  34411. msgstr ""
  34412. #. type: item
  34413. #: guix-git/doc/guix.texi:22992
  34414. #, no-wrap
  34415. msgid "@code{welcome-text} (default: @code{\"\"})"
  34416. msgstr ""
  34417. #. type: table
  34418. #: guix-git/doc/guix.texi:22994
  34419. msgid "Welcome text sent to clients when they connect."
  34420. msgstr ""
  34421. #. type: item
  34422. #: guix-git/doc/guix.texi:22995
  34423. #, no-wrap
  34424. msgid "@code{server-password} (default: @code{\"\"})"
  34425. msgstr ""
  34426. #. type: table
  34427. #: guix-git/doc/guix.texi:22997
  34428. msgid "Password the clients have to enter in order to connect."
  34429. msgstr ""
  34430. #. type: item
  34431. #: guix-git/doc/guix.texi:22998
  34432. #, no-wrap
  34433. msgid "@code{max-users} (default: @code{100})"
  34434. msgstr ""
  34435. #. type: table
  34436. #: guix-git/doc/guix.texi:23000
  34437. msgid "Maximum of users that can be connected to the server at once."
  34438. msgstr ""
  34439. #. type: item
  34440. #: guix-git/doc/guix.texi:23001
  34441. #, no-wrap
  34442. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  34443. msgstr ""
  34444. #. type: table
  34445. #: guix-git/doc/guix.texi:23003
  34446. msgid "Maximum voice traffic a user can send per second."
  34447. msgstr ""
  34448. #. type: item
  34449. #: guix-git/doc/guix.texi:23004
  34450. #, no-wrap
  34451. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  34452. msgstr ""
  34453. #. type: table
  34454. #: guix-git/doc/guix.texi:23007
  34455. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  34456. msgstr ""
  34457. #. type: item
  34458. #: guix-git/doc/guix.texi:23008
  34459. #, no-wrap
  34460. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  34461. msgstr ""
  34462. #. type: table
  34463. #: guix-git/doc/guix.texi:23011
  34464. msgid "File name of the log file. The service's user will become the owner of the directory."
  34465. msgstr ""
  34466. #. type: item
  34467. #: guix-git/doc/guix.texi:23012
  34468. #, no-wrap
  34469. msgid "@code{autoban-attempts} (default: @code{10})"
  34470. msgstr ""
  34471. #. type: table
  34472. #: guix-git/doc/guix.texi:23015
  34473. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  34474. msgstr ""
  34475. #. type: item
  34476. #: guix-git/doc/guix.texi:23016
  34477. #, no-wrap
  34478. msgid "@code{autoban-timeframe} (default: @code{120})"
  34479. msgstr ""
  34480. #. type: table
  34481. #: guix-git/doc/guix.texi:23018
  34482. msgid "Timeframe for autoban in seconds."
  34483. msgstr ""
  34484. #. type: item
  34485. #: guix-git/doc/guix.texi:23019
  34486. #, no-wrap
  34487. msgid "@code{autoban-time} (default: @code{300})"
  34488. msgstr ""
  34489. #. type: table
  34490. #: guix-git/doc/guix.texi:23022
  34491. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  34492. msgstr ""
  34493. #. type: item
  34494. #: guix-git/doc/guix.texi:23023
  34495. #, no-wrap
  34496. msgid "@code{opus-threshold} (default: @code{100})"
  34497. msgstr ""
  34498. #. type: table
  34499. #: guix-git/doc/guix.texi:23026
  34500. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  34501. msgstr ""
  34502. #. type: item
  34503. #: guix-git/doc/guix.texi:23027
  34504. #, no-wrap
  34505. msgid "@code{channel-nesting-limit} (default: @code{10})"
  34506. msgstr ""
  34507. #. type: table
  34508. #: guix-git/doc/guix.texi:23029
  34509. msgid "How deep channels can be nested at maximum."
  34510. msgstr ""
  34511. #. type: item
  34512. #: guix-git/doc/guix.texi:23030
  34513. #, no-wrap
  34514. msgid "@code{channelname-regex} (default: @code{#f})"
  34515. msgstr ""
  34516. #. type: table
  34517. #: guix-git/doc/guix.texi:23032
  34518. msgid "A string in form of a Qt regular expression that channel names must conform to."
  34519. msgstr ""
  34520. #. type: item
  34521. #: guix-git/doc/guix.texi:23033
  34522. #, no-wrap
  34523. msgid "@code{username-regex} (default: @code{#f})"
  34524. msgstr ""
  34525. #. type: table
  34526. #: guix-git/doc/guix.texi:23035
  34527. msgid "A string in form of a Qt regular expression that user names must conform to."
  34528. msgstr ""
  34529. #. type: item
  34530. #: guix-git/doc/guix.texi:23036
  34531. #, no-wrap
  34532. msgid "@code{text-message-length} (default: @code{5000})"
  34533. msgstr ""
  34534. #. type: table
  34535. #: guix-git/doc/guix.texi:23038
  34536. msgid "Maximum size in bytes that a user can send in one text chat message."
  34537. msgstr ""
  34538. #. type: item
  34539. #: guix-git/doc/guix.texi:23039
  34540. #, no-wrap
  34541. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  34542. msgstr ""
  34543. #. type: table
  34544. #: guix-git/doc/guix.texi:23041
  34545. msgid "Maximum size in bytes that a user can send in one image message."
  34546. msgstr ""
  34547. #. type: item
  34548. #: guix-git/doc/guix.texi:23042
  34549. #, no-wrap
  34550. msgid "@code{cert-required?} (default: @code{#f})"
  34551. msgstr ""
  34552. #. type: table
  34553. #: guix-git/doc/guix.texi:23045
  34554. 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."
  34555. msgstr ""
  34556. #. type: item
  34557. #: guix-git/doc/guix.texi:23046
  34558. #, no-wrap
  34559. msgid "@code{remember-channel?} (default: @code{#f})"
  34560. msgstr ""
  34561. #. type: table
  34562. #: guix-git/doc/guix.texi:23049
  34563. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  34564. msgstr ""
  34565. #. type: item
  34566. #: guix-git/doc/guix.texi:23050
  34567. #, no-wrap
  34568. msgid "@code{allow-html?} (default: @code{#f})"
  34569. msgstr ""
  34570. #. type: table
  34571. #: guix-git/doc/guix.texi:23052
  34572. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  34573. msgstr ""
  34574. #. type: item
  34575. #: guix-git/doc/guix.texi:23053
  34576. #, no-wrap
  34577. msgid "@code{allow-ping?} (default: @code{#f})"
  34578. msgstr ""
  34579. #. type: table
  34580. #: guix-git/doc/guix.texi:23057
  34581. 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."
  34582. msgstr ""
  34583. #. type: table
  34584. #: guix-git/doc/guix.texi:23059
  34585. msgid "Disabling this setting will prevent public listing of the server."
  34586. msgstr ""
  34587. #. type: item
  34588. #: guix-git/doc/guix.texi:23060
  34589. #, no-wrap
  34590. msgid "@code{bonjour?} (default: @code{#f})"
  34591. msgstr ""
  34592. #. type: table
  34593. #: guix-git/doc/guix.texi:23062
  34594. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  34595. msgstr ""
  34596. #. type: item
  34597. #: guix-git/doc/guix.texi:23063
  34598. #, no-wrap
  34599. msgid "@code{send-version?} (default: @code{#f})"
  34600. msgstr ""
  34601. #. type: table
  34602. #: guix-git/doc/guix.texi:23065
  34603. msgid "Should the murmur server version be exposed in ping requests."
  34604. msgstr ""
  34605. #. type: item
  34606. #: guix-git/doc/guix.texi:23066
  34607. #, no-wrap
  34608. msgid "@code{log-days} (default: @code{31})"
  34609. msgstr ""
  34610. #. type: table
  34611. #: guix-git/doc/guix.texi:23070
  34612. 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."
  34613. msgstr ""
  34614. #. type: item
  34615. #: guix-git/doc/guix.texi:23071
  34616. #, no-wrap
  34617. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  34618. msgstr ""
  34619. #. type: table
  34620. #: guix-git/doc/guix.texi:23073
  34621. msgid "Should logged ips be obfuscated to protect the privacy of users."
  34622. msgstr ""
  34623. #. type: item
  34624. #: guix-git/doc/guix.texi:23074
  34625. #, no-wrap
  34626. msgid "@code{ssl-cert} (default: @code{#f})"
  34627. msgstr ""
  34628. #. type: table
  34629. #: guix-git/doc/guix.texi:23076
  34630. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  34631. msgstr ""
  34632. #. type: lisp
  34633. #: guix-git/doc/guix.texi:23079
  34634. #, no-wrap
  34635. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  34636. msgstr ""
  34637. #. type: item
  34638. #: guix-git/doc/guix.texi:23080
  34639. #, no-wrap
  34640. msgid "@code{ssl-key} (default: @code{#f})"
  34641. msgstr ""
  34642. #. type: table
  34643. #: guix-git/doc/guix.texi:23082
  34644. msgid "Filepath to the ssl private key used for encrypted connections."
  34645. msgstr ""
  34646. #. type: lisp
  34647. #: guix-git/doc/guix.texi:23084
  34648. #, no-wrap
  34649. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  34650. msgstr ""
  34651. #. type: item
  34652. #: guix-git/doc/guix.texi:23086
  34653. #, no-wrap
  34654. msgid "@code{ssl-dh-params} (default: @code{#f})"
  34655. msgstr ""
  34656. #. type: table
  34657. #: guix-git/doc/guix.texi:23091
  34658. 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."
  34659. msgstr ""
  34660. #. type: item
  34661. #: guix-git/doc/guix.texi:23092
  34662. #, no-wrap
  34663. msgid "@code{ssl-ciphers} (default: @code{#f})"
  34664. msgstr ""
  34665. #. type: table
  34666. #: guix-git/doc/guix.texi:23095
  34667. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  34668. msgstr ""
  34669. #. type: table
  34670. #: guix-git/doc/guix.texi:23099
  34671. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  34672. msgstr ""
  34673. #. type: table
  34674. #: guix-git/doc/guix.texi:23104
  34675. 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."
  34676. msgstr ""
  34677. #. type: table
  34678. #: guix-git/doc/guix.texi:23108
  34679. 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."
  34680. msgstr ""
  34681. #. type: item
  34682. #: guix-git/doc/guix.texi:23109
  34683. #, no-wrap
  34684. msgid "@code{public-registration} (default: @code{#f})"
  34685. msgstr ""
  34686. #. type: table
  34687. #: guix-git/doc/guix.texi:23111
  34688. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  34689. msgstr ""
  34690. #. type: table
  34691. #: guix-git/doc/guix.texi:23116
  34692. 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}."
  34693. msgstr ""
  34694. #. type: table
  34695. #: guix-git/doc/guix.texi:23118
  34696. msgid "It might take a few hours until it shows up in the public list."
  34697. msgstr ""
  34698. #. type: item
  34699. #: guix-git/doc/guix.texi:23119 guix-git/doc/guix.texi:25356
  34700. #, no-wrap
  34701. msgid "@code{file} (default: @code{#f})"
  34702. msgstr ""
  34703. #. type: table
  34704. #: guix-git/doc/guix.texi:23121
  34705. msgid "Optional alternative override for this configuration."
  34706. msgstr ""
  34707. #. type: deftp
  34708. #: guix-git/doc/guix.texi:23124
  34709. #, no-wrap
  34710. msgid "{Data Type} murmur-public-registration-configuration"
  34711. msgstr ""
  34712. #. type: deftp
  34713. #: guix-git/doc/guix.texi:23126
  34714. msgid "Configuration for public registration of a murmur service."
  34715. msgstr ""
  34716. #. type: table
  34717. #: guix-git/doc/guix.texi:23130
  34718. msgid "This is a display name for your server. Not to be confused with the hostname."
  34719. msgstr ""
  34720. #. type: itemx
  34721. #: guix-git/doc/guix.texi:23131 guix-git/doc/guix.texi:32028
  34722. #: guix-git/doc/guix.texi:33176
  34723. #, no-wrap
  34724. msgid "password"
  34725. msgstr ""
  34726. #. type: table
  34727. #: guix-git/doc/guix.texi:23134
  34728. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  34729. msgstr ""
  34730. #. type: table
  34731. #: guix-git/doc/guix.texi:23138
  34732. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  34733. msgstr ""
  34734. #. type: item
  34735. #: guix-git/doc/guix.texi:23139 guix-git/doc/guix.texi:26235
  34736. #, no-wrap
  34737. msgid "@code{hostname} (default: @code{#f})"
  34738. msgstr ""
  34739. #. type: table
  34740. #: guix-git/doc/guix.texi:23142
  34741. 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."
  34742. msgstr ""
  34743. #. type: Plain text
  34744. #: guix-git/doc/guix.texi:23152
  34745. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  34746. msgstr ""
  34747. #. type: subsubheading
  34748. #: guix-git/doc/guix.texi:23153
  34749. #, no-wrap
  34750. msgid "Transmission Daemon Service"
  34751. msgstr ""
  34752. #. type: Plain text
  34753. #: guix-git/doc/guix.texi:23161
  34754. 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."
  34755. msgstr ""
  34756. #. type: deffn
  34757. #: guix-git/doc/guix.texi:23162
  34758. #, no-wrap
  34759. msgid "{Scheme Variable} transmission-daemon-service-type"
  34760. msgstr ""
  34761. #. type: deffn
  34762. #: guix-git/doc/guix.texi:23166
  34763. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  34764. msgstr ""
  34765. #. type: lisp
  34766. #: guix-git/doc/guix.texi:23177
  34767. #, no-wrap
  34768. msgid ""
  34769. "(service transmission-daemon-service-type\n"
  34770. " (transmission-daemon-configuration\n"
  34771. " ;; Restrict access to the RPC (\"control\") interface\n"
  34772. " (rpc-authentication-required? #t)\n"
  34773. " (rpc-username \"transmission\")\n"
  34774. " (rpc-password\n"
  34775. " (transmission-password-hash\n"
  34776. " \"transmission\" ; desired password\n"
  34777. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  34778. "\n"
  34779. msgstr ""
  34780. #. type: lisp
  34781. #: guix-git/doc/guix.texi:23182
  34782. #, no-wrap
  34783. msgid ""
  34784. " ;; Accept requests from this and other hosts on the\n"
  34785. " ;; local network\n"
  34786. " (rpc-whitelist-enabled? #t)\n"
  34787. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  34788. "\n"
  34789. msgstr ""
  34790. #. type: lisp
  34791. #: guix-git/doc/guix.texi:23186
  34792. #, no-wrap
  34793. msgid ""
  34794. " ;; Limit bandwidth use during work hours\n"
  34795. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  34796. " (alt-speed-up 512) ; 512 kB/s\n"
  34797. "\n"
  34798. msgstr ""
  34799. #. type: lisp
  34800. #: guix-git/doc/guix.texi:23193
  34801. #, no-wrap
  34802. msgid ""
  34803. " (alt-speed-time-enabled? #t)\n"
  34804. " (alt-speed-time-day 'weekdays)\n"
  34805. " (alt-speed-time-begin\n"
  34806. " (+ (* 60 8) 30)) ; 8:30 am\n"
  34807. " (alt-speed-time-end\n"
  34808. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  34809. msgstr ""
  34810. #. type: Plain text
  34811. #: guix-git/doc/guix.texi:23206
  34812. 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."
  34813. msgstr ""
  34814. #. type: Plain text
  34815. #: guix-git/doc/guix.texi:23214
  34816. 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."
  34817. msgstr ""
  34818. #. type: deffn
  34819. #: guix-git/doc/guix.texi:23215
  34820. #, no-wrap
  34821. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  34822. msgstr ""
  34823. #. type: deffn
  34824. #: guix-git/doc/guix.texi:23219
  34825. 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."
  34826. msgstr ""
  34827. #. type: deffn
  34828. #: guix-git/doc/guix.texi:23223
  34829. 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."
  34830. msgstr ""
  34831. #. type: deffn
  34832. #: guix-git/doc/guix.texi:23225
  34833. #, no-wrap
  34834. msgid "{Scheme Procedure} transmission-random-salt"
  34835. msgstr ""
  34836. #. type: deffn
  34837. #: guix-git/doc/guix.texi:23229
  34838. 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."
  34839. msgstr ""
  34840. #. type: Plain text
  34841. #: guix-git/doc/guix.texi:23235
  34842. 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:"
  34843. msgstr ""
  34844. #. type: example
  34845. #: guix-git/doc/guix.texi:23241
  34846. #, no-wrap
  34847. msgid ""
  34848. "$ guix repl\n"
  34849. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  34850. "scheme@@(guix-user)> (transmission-random-salt)\n"
  34851. "$1 = \"uKd1uMs9\"\n"
  34852. msgstr ""
  34853. #. type: Plain text
  34854. #: guix-git/doc/guix.texi:23244
  34855. msgid "Alternatively, a complete password hash can generated in a single step:"
  34856. msgstr ""
  34857. #. type: example
  34858. #: guix-git/doc/guix.texi:23249
  34859. #, no-wrap
  34860. msgid ""
  34861. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  34862. "(transmission-random-salt))\n"
  34863. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  34864. msgstr ""
  34865. #. type: Plain text
  34866. #: guix-git/doc/guix.texi:23254
  34867. 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."
  34868. msgstr ""
  34869. #. type: Plain text
  34870. #: guix-git/doc/guix.texi:23263
  34871. 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."
  34872. msgstr ""
  34873. #. type: Plain text
  34874. #: guix-git/doc/guix.texi:23270
  34875. 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.)"
  34876. msgstr ""
  34877. #. type: Plain text
  34878. #: guix-git/doc/guix.texi:23275
  34879. 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:"
  34880. msgstr ""
  34881. #. type: example
  34882. #: guix-git/doc/guix.texi:23278
  34883. #, no-wrap
  34884. msgid "# herd reload transmission-daemon\n"
  34885. msgstr ""
  34886. #. type: Plain text
  34887. #: guix-git/doc/guix.texi:23282
  34888. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  34889. msgstr ""
  34890. #. type: deftp
  34891. #: guix-git/doc/guix.texi:23283
  34892. #, no-wrap
  34893. msgid "{Data Type} transmission-daemon-configuration"
  34894. msgstr ""
  34895. #. type: deftp
  34896. #: guix-git/doc/guix.texi:23287
  34897. 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."
  34898. msgstr ""
  34899. #. type: Plain text
  34900. #: guix-git/doc/guix.texi:23301
  34901. msgid "Available @code{transmission-daemon-configuration} fields are:"
  34902. msgstr ""
  34903. #. type: deftypevr
  34904. #: guix-git/doc/guix.texi:23302
  34905. #, no-wrap
  34906. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  34907. msgstr ""
  34908. #. type: deftypevr
  34909. #: guix-git/doc/guix.texi:23304
  34910. msgid "The Transmission package to use."
  34911. msgstr ""
  34912. #. type: deftypevr
  34913. #: guix-git/doc/guix.texi:23307
  34914. #, no-wrap
  34915. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  34916. msgstr ""
  34917. #. type: deftypevr
  34918. #: guix-git/doc/guix.texi:23313
  34919. 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."
  34920. msgstr ""
  34921. #. type: deftypevr
  34922. #: guix-git/doc/guix.texi:23315 guix-git/doc/guix.texi:23687
  34923. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31223
  34924. #: guix-git/doc/guix.texi:31231 guix-git/doc/guix.texi:31239
  34925. msgid "Defaults to @samp{10}."
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23318
  34929. #, no-wrap
  34930. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23320
  34934. msgid "The directory to which torrent files are downloaded."
  34935. msgstr ""
  34936. #. type: deftypevr
  34937. #: guix-git/doc/guix.texi:23322
  34938. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  34939. msgstr ""
  34940. #. type: deftypevr
  34941. #: guix-git/doc/guix.texi:23325
  34942. #, no-wrap
  34943. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  34944. msgstr ""
  34945. #. type: deftypevr
  34946. #: guix-git/doc/guix.texi:23330
  34947. 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}."
  34948. msgstr ""
  34949. #. type: deftypevr
  34950. #: guix-git/doc/guix.texi:23335
  34951. #, no-wrap
  34952. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23338
  34956. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  34957. msgstr ""
  34958. #. type: deftypevr
  34959. #: guix-git/doc/guix.texi:23343
  34960. #, no-wrap
  34961. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:23346
  34965. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  34966. msgstr ""
  34967. #. type: deftypevr
  34968. #: guix-git/doc/guix.texi:23348
  34969. msgid "Defaults to @samp{18}."
  34970. msgstr ""
  34971. #. type: deftypevr
  34972. #: guix-git/doc/guix.texi:23351
  34973. #, no-wrap
  34974. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23354
  34978. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  34979. msgstr ""
  34980. #. type: deftypevr
  34981. #: guix-git/doc/guix.texi:23359
  34982. #, no-wrap
  34983. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  34984. msgstr ""
  34985. #. type: deftypevr
  34986. #: guix-git/doc/guix.texi:23364
  34987. 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."
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23366
  34991. msgid "Defaults to @samp{fast}."
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23369
  34995. #, no-wrap
  34996. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  34997. msgstr ""
  34998. #. type: deftypevr
  34999. #: guix-git/doc/guix.texi:23374
  35000. 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})."
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23379
  35004. #, no-wrap
  35005. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  35006. msgstr ""
  35007. #. type: deftypevr
  35008. #: guix-git/doc/guix.texi:23382
  35009. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  35010. msgstr ""
  35011. #. type: deftypevr
  35012. #: guix-git/doc/guix.texi:23387
  35013. #, no-wrap
  35014. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  35015. msgstr ""
  35016. #. type: deftypevr
  35017. #: guix-git/doc/guix.texi:23391
  35018. 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?})."
  35019. msgstr ""
  35020. #. type: deftypevr
  35021. #: guix-git/doc/guix.texi:23396
  35022. #, no-wrap
  35023. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  35024. msgstr ""
  35025. #. type: deftypevr
  35026. #: guix-git/doc/guix.texi:23399
  35027. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  35028. msgstr ""
  35029. #. type: deftypevr
  35030. #: guix-git/doc/guix.texi:23404
  35031. #, no-wrap
  35032. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  35033. msgstr ""
  35034. #. type: deftypevr
  35035. #: guix-git/doc/guix.texi:23406
  35036. msgid "The default global-maximum download speed, in kilobytes per second."
  35037. msgstr ""
  35038. #. type: deftypevr
  35039. #: guix-git/doc/guix.texi:23411
  35040. #, no-wrap
  35041. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  35042. msgstr ""
  35043. #. type: deftypevr
  35044. #: guix-git/doc/guix.texi:23414
  35045. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  35046. msgstr ""
  35047. #. type: deftypevr
  35048. #: guix-git/doc/guix.texi:23419
  35049. #, no-wrap
  35050. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  35051. msgstr ""
  35052. #. type: deftypevr
  35053. #: guix-git/doc/guix.texi:23421
  35054. msgid "The default global-maximum upload speed, in kilobytes per second."
  35055. msgstr ""
  35056. #. type: deftypevr
  35057. #: guix-git/doc/guix.texi:23426
  35058. #, no-wrap
  35059. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  35060. msgstr ""
  35061. #. type: deftypevr
  35062. #: guix-git/doc/guix.texi:23432
  35063. 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?}."
  35064. msgstr ""
  35065. #. type: deftypevr
  35066. #: guix-git/doc/guix.texi:23437
  35067. #, no-wrap
  35068. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  35069. msgstr ""
  35070. #. type: deftypevr
  35071. #: guix-git/doc/guix.texi:23439
  35072. msgid "The alternate global-maximum download speed, in kilobytes per second."
  35073. msgstr ""
  35074. #. type: deftypevr
  35075. #: guix-git/doc/guix.texi:23441 guix-git/doc/guix.texi:23448
  35076. #: guix-git/doc/guix.texi:23620 guix-git/doc/guix.texi:30995
  35077. #: guix-git/doc/guix.texi:31010
  35078. msgid "Defaults to @samp{50}."
  35079. msgstr ""
  35080. #. type: deftypevr
  35081. #: guix-git/doc/guix.texi:23444
  35082. #, no-wrap
  35083. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  35084. msgstr ""
  35085. #. type: deftypevr
  35086. #: guix-git/doc/guix.texi:23446
  35087. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  35088. msgstr ""
  35089. #. type: deftypevr
  35090. #: guix-git/doc/guix.texi:23451
  35091. #, no-wrap
  35092. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  35093. msgstr ""
  35094. #. type: deftypevr
  35095. #: guix-git/doc/guix.texi:23456
  35096. 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}."
  35097. msgstr ""
  35098. #. type: deftypevr
  35099. #: guix-git/doc/guix.texi:23461
  35100. #, no-wrap
  35101. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  35102. msgstr ""
  35103. #. type: deftypevr
  35104. #: guix-git/doc/guix.texi:23466
  35105. 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}."
  35106. msgstr ""
  35107. #. type: deftypevr
  35108. #: guix-git/doc/guix.texi:23468
  35109. msgid "Defaults to @samp{all}."
  35110. msgstr ""
  35111. #. type: deftypevr
  35112. #: guix-git/doc/guix.texi:23471
  35113. #, no-wrap
  35114. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  35115. msgstr ""
  35116. #. type: deftypevr
  35117. #: guix-git/doc/guix.texi:23474
  35118. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  35119. msgstr ""
  35120. #. type: deftypevr
  35121. #: guix-git/doc/guix.texi:23476
  35122. msgid "Defaults to @samp{540}."
  35123. msgstr ""
  35124. #. type: deftypevr
  35125. #: guix-git/doc/guix.texi:23479
  35126. #, no-wrap
  35127. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  35128. msgstr ""
  35129. #. type: deftypevr
  35130. #: guix-git/doc/guix.texi:23482
  35131. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  35132. msgstr ""
  35133. #. type: deftypevr
  35134. #: guix-git/doc/guix.texi:23484
  35135. msgid "Defaults to @samp{1020}."
  35136. msgstr ""
  35137. #. type: deftypevr
  35138. #: guix-git/doc/guix.texi:23487
  35139. #, no-wrap
  35140. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  35141. msgstr ""
  35142. #. type: deftypevr
  35143. #: guix-git/doc/guix.texi:23490
  35144. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35145. msgstr ""
  35146. #. type: deftypevr
  35147. #: guix-git/doc/guix.texi:23492 guix-git/doc/guix.texi:23795
  35148. #: guix-git/doc/guix.texi:28909
  35149. msgid "Defaults to @samp{\"0.0.0.0\"}."
  35150. msgstr ""
  35151. #. type: deftypevr
  35152. #: guix-git/doc/guix.texi:23495
  35153. #, no-wrap
  35154. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  35155. msgstr ""
  35156. #. type: deftypevr
  35157. #: guix-git/doc/guix.texi:23498
  35158. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  35159. msgstr ""
  35160. #. type: deftypevr
  35161. #: guix-git/doc/guix.texi:23500
  35162. msgid "Defaults to @samp{\"::\"}."
  35163. msgstr ""
  35164. #. type: deftypevr
  35165. #: guix-git/doc/guix.texi:23503
  35166. #, no-wrap
  35167. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  35168. msgstr ""
  35169. #. type: deftypevr
  35170. #: guix-git/doc/guix.texi:23509
  35171. 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}."
  35172. msgstr ""
  35173. #. type: deftypevr
  35174. #: guix-git/doc/guix.texi:23514
  35175. #, no-wrap
  35176. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  35177. msgstr ""
  35178. #. type: deftypevr
  35179. #: guix-git/doc/guix.texi:23517
  35180. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  35181. msgstr ""
  35182. #. type: deftypevr
  35183. #: guix-git/doc/guix.texi:23519
  35184. msgid "Defaults to @samp{49152}."
  35185. msgstr ""
  35186. #. type: deftypevr
  35187. #: guix-git/doc/guix.texi:23522
  35188. #, no-wrap
  35189. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  35190. msgstr ""
  35191. #. type: deftypevr
  35192. #: guix-git/doc/guix.texi:23525
  35193. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  35194. msgstr ""
  35195. #. type: deftypevr
  35196. #: guix-git/doc/guix.texi:23527
  35197. msgid "Defaults to @samp{65535}."
  35198. msgstr ""
  35199. #. type: deftypevr
  35200. #: guix-git/doc/guix.texi:23530
  35201. #, no-wrap
  35202. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  35203. msgstr ""
  35204. #. type: deftypevr
  35205. #: guix-git/doc/guix.texi:23533
  35206. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  35207. msgstr ""
  35208. #. type: deftypevr
  35209. #: guix-git/doc/guix.texi:23535
  35210. msgid "Defaults to @samp{51413}."
  35211. msgstr ""
  35212. #. type: deftypevr
  35213. #: guix-git/doc/guix.texi:23538
  35214. #, no-wrap
  35215. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  35216. msgstr ""
  35217. #. type: deftypevr
  35218. #: guix-git/doc/guix.texi:23542
  35219. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  35220. msgstr ""
  35221. #. type: deftypevr
  35222. #: guix-git/doc/guix.texi:23547
  35223. #, no-wrap
  35224. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  35225. msgstr ""
  35226. #. type: deftypevr
  35227. #: guix-git/doc/guix.texi:23552
  35228. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  35229. msgstr ""
  35230. #. type: deftypevr
  35231. #: guix-git/doc/guix.texi:23554
  35232. msgid "Defaults to @samp{prefer-encrypted-connections}."
  35233. msgstr ""
  35234. #. type: deftypevr
  35235. #: guix-git/doc/guix.texi:23557
  35236. #, no-wrap
  35237. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  35238. msgstr ""
  35239. #. type: deftypevr
  35240. #: guix-git/doc/guix.texi:23562
  35241. 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)."
  35242. msgstr ""
  35243. #. type: deftypevr
  35244. #: guix-git/doc/guix.texi:23571
  35245. 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."
  35246. msgstr ""
  35247. #. type: deftypevr
  35248. #: guix-git/doc/guix.texi:23579
  35249. 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:"
  35250. msgstr ""
  35251. #. type: lisp
  35252. #: guix-git/doc/guix.texi:23586
  35253. #, no-wrap
  35254. msgid ""
  35255. "(service sysctl-service-type\n"
  35256. " (sysctl-configuration\n"
  35257. " (settings\n"
  35258. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  35259. " \"reno cubic lp\"))))\n"
  35260. msgstr ""
  35261. #. type: deftypevr
  35262. #: guix-git/doc/guix.texi:23589
  35263. msgid "The Transmission Daemon configuration can then be updated with"
  35264. msgstr ""
  35265. #. type: lisp
  35266. #: guix-git/doc/guix.texi:23592
  35267. #, no-wrap
  35268. msgid "(peer-congestion-algorithm \"lp\")\n"
  35269. msgstr ""
  35270. #. type: deftypevr
  35271. #: guix-git/doc/guix.texi:23595
  35272. msgid "and the system reconfigured to have the changes take effect."
  35273. msgstr ""
  35274. #. type: deftypevr
  35275. #: guix-git/doc/guix.texi:23600
  35276. #, no-wrap
  35277. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  35278. msgstr ""
  35279. #. type: deftypevr
  35280. #: guix-git/doc/guix.texi:23604
  35281. 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}."
  35282. msgstr ""
  35283. #. type: deftypevr
  35284. #: guix-git/doc/guix.texi:23606
  35285. msgid "Defaults to @samp{default}."
  35286. msgstr ""
  35287. #. type: deftypevr
  35288. #: guix-git/doc/guix.texi:23609
  35289. #, no-wrap
  35290. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  35291. msgstr ""
  35292. #. type: deftypevr
  35293. #: guix-git/doc/guix.texi:23611
  35294. msgid "The global limit on the number of connected peers."
  35295. msgstr ""
  35296. #. type: deftypevr
  35297. #: guix-git/doc/guix.texi:23613
  35298. msgid "Defaults to @samp{200}."
  35299. msgstr ""
  35300. #. type: deftypevr
  35301. #: guix-git/doc/guix.texi:23616
  35302. #, no-wrap
  35303. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  35304. msgstr ""
  35305. #. type: deftypevr
  35306. #: guix-git/doc/guix.texi:23618
  35307. msgid "The per-torrent limit on the number of connected peers."
  35308. msgstr ""
  35309. #. type: deftypevr
  35310. #: guix-git/doc/guix.texi:23623
  35311. #, no-wrap
  35312. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  35313. msgstr ""
  35314. #. type: deftypevr
  35315. #: guix-git/doc/guix.texi:23626
  35316. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  35317. msgstr ""
  35318. #. type: deftypevr
  35319. #: guix-git/doc/guix.texi:23628
  35320. msgid "Defaults to @samp{14}."
  35321. msgstr ""
  35322. #. type: deftypevr
  35323. #: guix-git/doc/guix.texi:23631
  35324. #, no-wrap
  35325. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  35326. msgstr ""
  35327. #. type: deftypevr
  35328. #: guix-git/doc/guix.texi:23634
  35329. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  35330. msgstr ""
  35331. #. type: deftypevr
  35332. #: guix-git/doc/guix.texi:23636
  35333. msgid "Defaults to @samp{6}."
  35334. msgstr ""
  35335. #. type: deftypevr
  35336. #: guix-git/doc/guix.texi:23639
  35337. #, no-wrap
  35338. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  35339. msgstr ""
  35340. #. type: deftypevr
  35341. #: guix-git/doc/guix.texi:23642
  35342. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  35343. msgstr ""
  35344. #. type: deftypevr
  35345. #: guix-git/doc/guix.texi:23647
  35346. #, no-wrap
  35347. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  35348. msgstr ""
  35349. #. type: deftypevr
  35350. #: guix-git/doc/guix.texi:23651
  35351. 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}."
  35352. msgstr ""
  35353. #. type: deftypevr
  35354. #: guix-git/doc/guix.texi:23656
  35355. #, no-wrap
  35356. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  35357. msgstr ""
  35358. #. type: deftypevr
  35359. #: guix-git/doc/guix.texi:23659
  35360. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  35361. msgstr ""
  35362. #. type: deftypevr
  35363. #: guix-git/doc/guix.texi:23664
  35364. #, no-wrap
  35365. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  35366. msgstr ""
  35367. #. type: deftypevr
  35368. #: guix-git/doc/guix.texi:23668
  35369. 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}."
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23673
  35373. #, no-wrap
  35374. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  35375. msgstr ""
  35376. #. type: deftypevr
  35377. #: guix-git/doc/guix.texi:23676
  35378. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23681
  35382. #, no-wrap
  35383. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  35384. msgstr ""
  35385. #. type: deftypevr
  35386. #: guix-git/doc/guix.texi:23685
  35387. 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}."
  35388. msgstr ""
  35389. #. type: deftypevr
  35390. #: guix-git/doc/guix.texi:23690
  35391. #, no-wrap
  35392. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  35393. msgstr ""
  35394. #. type: deftypevr
  35395. #: guix-git/doc/guix.texi:23695
  35396. 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."
  35397. msgstr ""
  35398. #. type: deftypevr
  35399. #: guix-git/doc/guix.texi:23700
  35400. #, no-wrap
  35401. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  35402. msgstr ""
  35403. #. type: deftypevr
  35404. #: guix-git/doc/guix.texi:23704
  35405. 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}."
  35406. msgstr ""
  35407. #. type: deftypevr
  35408. #: guix-git/doc/guix.texi:23709
  35409. #, no-wrap
  35410. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  35411. msgstr ""
  35412. #. type: deftypevr
  35413. #: guix-git/doc/guix.texi:23712
  35414. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  35415. msgstr ""
  35416. #. type: deftypevr
  35417. #: guix-git/doc/guix.texi:23717
  35418. #, no-wrap
  35419. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  35420. msgstr ""
  35421. #. type: deftypevr
  35422. #: guix-git/doc/guix.texi:23720
  35423. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  35424. msgstr ""
  35425. #. type: deftypevr
  35426. #: guix-git/doc/guix.texi:23722
  35427. msgid "Defaults to @samp{2.0}."
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:23725
  35431. #, no-wrap
  35432. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  35433. msgstr ""
  35434. #. type: deftypevr
  35435. #: guix-git/doc/guix.texi:23728
  35436. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  35437. msgstr ""
  35438. #. type: deftypevr
  35439. #: guix-git/doc/guix.texi:23733
  35440. #, no-wrap
  35441. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  35442. msgstr ""
  35443. #. type: deftypevr
  35444. #: guix-git/doc/guix.texi:23737
  35445. 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}."
  35446. msgstr ""
  35447. #. type: deftypevr
  35448. #: guix-git/doc/guix.texi:23742
  35449. #, no-wrap
  35450. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  35451. msgstr ""
  35452. #. type: deftypevr
  35453. #: guix-git/doc/guix.texi:23746
  35454. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  35455. msgstr ""
  35456. #. type: deftypevr
  35457. #: guix-git/doc/guix.texi:23751
  35458. #, no-wrap
  35459. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  35460. msgstr ""
  35461. #. type: deftypevr
  35462. #: guix-git/doc/guix.texi:23756
  35463. 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."
  35464. msgstr ""
  35465. #. type: deftypevr
  35466. #: guix-git/doc/guix.texi:23761
  35467. #, no-wrap
  35468. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  35469. msgstr ""
  35470. #. type: deftypevr
  35471. #: guix-git/doc/guix.texi:23765
  35472. 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."
  35473. msgstr ""
  35474. #. type: deftypevr
  35475. #: guix-git/doc/guix.texi:23770
  35476. #, no-wrap
  35477. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  35478. msgstr ""
  35479. #. type: deftypevr
  35480. #: guix-git/doc/guix.texi:23775
  35481. 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."
  35482. msgstr ""
  35483. #. type: deftypevr
  35484. #: guix-git/doc/guix.texi:23780
  35485. #, no-wrap
  35486. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  35487. msgstr ""
  35488. #. type: deftypevr
  35489. #: guix-git/doc/guix.texi:23785
  35490. 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."
  35491. msgstr ""
  35492. #. type: deftypevr
  35493. #: guix-git/doc/guix.texi:23790
  35494. #, no-wrap
  35495. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  35496. msgstr ""
  35497. #. type: deftypevr
  35498. #: guix-git/doc/guix.texi:23793
  35499. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35500. msgstr ""
  35501. #. type: deftypevr
  35502. #: guix-git/doc/guix.texi:23798
  35503. #, no-wrap
  35504. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  35505. msgstr ""
  35506. #. type: deftypevr
  35507. #: guix-git/doc/guix.texi:23800
  35508. msgid "The port on which to listen for @acronym{RPC} connections."
  35509. msgstr ""
  35510. #. type: deftypevr
  35511. #: guix-git/doc/guix.texi:23802
  35512. msgid "Defaults to @samp{9091}."
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:23805
  35516. #, no-wrap
  35517. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  35518. msgstr ""
  35519. #. type: deftypevr
  35520. #: guix-git/doc/guix.texi:23807
  35521. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:23809
  35525. msgid "Defaults to @samp{\"/transmission/\"}."
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:23812
  35529. #, no-wrap
  35530. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:23817
  35534. 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?}."
  35535. msgstr ""
  35536. #. type: deftypevr
  35537. #: guix-git/doc/guix.texi:23822
  35538. #, no-wrap
  35539. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:23825
  35543. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  35544. msgstr ""
  35545. #. type: deftypevr
  35546. #: guix-git/doc/guix.texi:23830
  35547. #, no-wrap
  35548. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  35549. msgstr ""
  35550. #. type: deftypevr
  35551. #: guix-git/doc/guix.texi:23836
  35552. 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."
  35553. msgstr ""
  35554. #. type: deftypevr
  35555. #: guix-git/doc/guix.texi:23841
  35556. #, no-wrap
  35557. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:23844
  35561. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:23849
  35565. #, no-wrap
  35566. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  35567. msgstr ""
  35568. #. type: deftypevr
  35569. #: guix-git/doc/guix.texi:23853
  35570. 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{*}."
  35571. msgstr ""
  35572. #. type: deftypevr
  35573. #: guix-git/doc/guix.texi:23855
  35574. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  35575. msgstr ""
  35576. #. type: deftypevr
  35577. #: guix-git/doc/guix.texi:23858
  35578. #, no-wrap
  35579. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:23863
  35583. 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."
  35584. msgstr ""
  35585. #. type: deftypevr
  35586. #: guix-git/doc/guix.texi:23866
  35587. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  35588. msgstr ""
  35589. #. type: deftypevr
  35590. #: guix-git/doc/guix.texi:23871
  35591. #, no-wrap
  35592. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  35593. msgstr ""
  35594. #. type: deftypevr
  35595. #: guix-git/doc/guix.texi:23874
  35596. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:23879
  35600. #, no-wrap
  35601. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  35602. msgstr ""
  35603. #. type: deftypevr
  35604. #: guix-git/doc/guix.texi:23883
  35605. 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}."
  35606. msgstr ""
  35607. #. type: deftypevr
  35608. #: guix-git/doc/guix.texi:23888
  35609. #, no-wrap
  35610. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  35611. msgstr ""
  35612. #. type: deftypevr
  35613. #: guix-git/doc/guix.texi:23891
  35614. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  35615. msgstr ""
  35616. #. type: deftypevr
  35617. #: guix-git/doc/guix.texi:23896
  35618. #, no-wrap
  35619. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  35620. msgstr ""
  35621. #. type: deftypevr
  35622. #: guix-git/doc/guix.texi:23900
  35623. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  35624. msgstr ""
  35625. #. type: deftypevr
  35626. #: guix-git/doc/guix.texi:23905
  35627. #, no-wrap
  35628. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  35629. msgstr ""
  35630. #. type: deftypevr
  35631. #: guix-git/doc/guix.texi:23909
  35632. 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}."
  35633. msgstr ""
  35634. #. type: deftypevr
  35635. #: guix-git/doc/guix.texi:23914
  35636. #, no-wrap
  35637. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  35638. msgstr ""
  35639. #. type: deftypevr
  35640. #: guix-git/doc/guix.texi:23917
  35641. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  35642. msgstr ""
  35643. #. type: deftypevr
  35644. #: guix-git/doc/guix.texi:23922
  35645. #, no-wrap
  35646. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  35647. msgstr ""
  35648. #. type: deftypevr
  35649. #: guix-git/doc/guix.texi:23926
  35650. 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."
  35651. msgstr ""
  35652. #. type: deftypevr
  35653. #: guix-git/doc/guix.texi:23928
  35654. msgid "Defaults to @samp{4}."
  35655. msgstr ""
  35656. #. type: deftypevr
  35657. #: guix-git/doc/guix.texi:23931
  35658. #, no-wrap
  35659. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  35660. msgstr ""
  35661. #. type: deftypevr
  35662. #: guix-git/doc/guix.texi:23935
  35663. 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."
  35664. msgstr ""
  35665. #. type: subsubheading
  35666. #: guix-git/doc/guix.texi:23948
  35667. #, no-wrap
  35668. msgid "Tailon Service"
  35669. msgstr ""
  35670. #. type: Plain text
  35671. #: guix-git/doc/guix.texi:23952
  35672. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  35673. msgstr ""
  35674. #. type: Plain text
  35675. #: guix-git/doc/guix.texi:23955
  35676. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  35677. msgstr ""
  35678. #. type: lisp
  35679. #: guix-git/doc/guix.texi:23958
  35680. #, no-wrap
  35681. msgid "(service tailon-service-type)\n"
  35682. msgstr ""
  35683. #. type: Plain text
  35684. #: guix-git/doc/guix.texi:23962
  35685. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  35686. msgstr ""
  35687. #. type: lisp
  35688. #: guix-git/doc/guix.texi:23969
  35689. #, no-wrap
  35690. msgid ""
  35691. "(service tailon-service-type\n"
  35692. " (tailon-configuration\n"
  35693. " (config-file\n"
  35694. " (tailon-configuration-file\n"
  35695. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  35696. msgstr ""
  35697. #. type: deftp
  35698. #: guix-git/doc/guix.texi:23972
  35699. #, no-wrap
  35700. msgid "{Data Type} tailon-configuration"
  35701. msgstr ""
  35702. #. type: deftp
  35703. #: guix-git/doc/guix.texi:23975
  35704. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  35705. msgstr ""
  35706. #. type: item
  35707. #: guix-git/doc/guix.texi:23977
  35708. #, no-wrap
  35709. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  35710. msgstr ""
  35711. #. type: table
  35712. #: guix-git/doc/guix.texi:23981
  35713. 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})."
  35714. msgstr ""
  35715. #. type: table
  35716. #: guix-git/doc/guix.texi:23984
  35717. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  35718. msgstr ""
  35719. #. type: lisp
  35720. #: guix-git/doc/guix.texi:23989
  35721. #, no-wrap
  35722. msgid ""
  35723. "(service tailon-service-type\n"
  35724. " (tailon-configuration\n"
  35725. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  35726. msgstr ""
  35727. #. type: item
  35728. #: guix-git/doc/guix.texi:23991
  35729. #, no-wrap
  35730. msgid "@code{package} (default: @code{tailon})"
  35731. msgstr ""
  35732. #. type: table
  35733. #: guix-git/doc/guix.texi:23993
  35734. msgid "The tailon package to use."
  35735. msgstr ""
  35736. #. type: deftp
  35737. #: guix-git/doc/guix.texi:23997
  35738. #, no-wrap
  35739. msgid "{Data Type} tailon-configuration-file"
  35740. msgstr ""
  35741. #. type: deftp
  35742. #: guix-git/doc/guix.texi:24000
  35743. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  35744. msgstr ""
  35745. #. type: item
  35746. #: guix-git/doc/guix.texi:24002
  35747. #, no-wrap
  35748. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  35749. msgstr ""
  35750. #. type: table
  35751. #: guix-git/doc/guix.texi:24007
  35752. 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."
  35753. msgstr ""
  35754. #. type: item
  35755. #: guix-git/doc/guix.texi:24008
  35756. #, no-wrap
  35757. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  35758. msgstr ""
  35759. #. type: table
  35760. #: guix-git/doc/guix.texi:24010
  35761. msgid "Address and port to which Tailon should bind on."
  35762. msgstr ""
  35763. #. type: item
  35764. #: guix-git/doc/guix.texi:24011
  35765. #, no-wrap
  35766. msgid "@code{relative-root} (default: @code{#f})"
  35767. msgstr ""
  35768. #. type: table
  35769. #: guix-git/doc/guix.texi:24013
  35770. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  35771. msgstr ""
  35772. #. type: item
  35773. #: guix-git/doc/guix.texi:24014
  35774. #, no-wrap
  35775. msgid "@code{allow-transfers?} (default: @code{#t})"
  35776. msgstr ""
  35777. #. type: table
  35778. #: guix-git/doc/guix.texi:24016
  35779. msgid "Allow downloading the log files in the web interface."
  35780. msgstr ""
  35781. #. type: item
  35782. #: guix-git/doc/guix.texi:24017
  35783. #, no-wrap
  35784. msgid "@code{follow-names?} (default: @code{#t})"
  35785. msgstr ""
  35786. #. type: table
  35787. #: guix-git/doc/guix.texi:24019
  35788. msgid "Allow tailing of not-yet existent files."
  35789. msgstr ""
  35790. #. type: item
  35791. #: guix-git/doc/guix.texi:24020
  35792. #, no-wrap
  35793. msgid "@code{tail-lines} (default: @code{200})"
  35794. msgstr ""
  35795. #. type: table
  35796. #: guix-git/doc/guix.texi:24022
  35797. msgid "Number of lines to read initially from each file."
  35798. msgstr ""
  35799. #. type: item
  35800. #: guix-git/doc/guix.texi:24023
  35801. #, no-wrap
  35802. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  35803. msgstr ""
  35804. #. type: table
  35805. #: guix-git/doc/guix.texi:24025
  35806. msgid "Commands to allow running. By default, @code{sed} is disabled."
  35807. msgstr ""
  35808. #. type: table
  35809. #: guix-git/doc/guix.texi:24028
  35810. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  35811. msgstr ""
  35812. #. type: item
  35813. #: guix-git/doc/guix.texi:24029
  35814. #, no-wrap
  35815. msgid "@code{wrap-lines} (default: @code{#t})"
  35816. msgstr ""
  35817. #. type: table
  35818. #: guix-git/doc/guix.texi:24033
  35819. 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."
  35820. msgstr ""
  35821. #. type: item
  35822. #: guix-git/doc/guix.texi:24034
  35823. #, no-wrap
  35824. msgid "@code{http-auth} (default: @code{#f})"
  35825. msgstr ""
  35826. #. type: table
  35827. #: guix-git/doc/guix.texi:24038
  35828. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  35829. msgstr ""
  35830. #. type: item
  35831. #: guix-git/doc/guix.texi:24039
  35832. #, no-wrap
  35833. msgid "@code{users} (default: @code{#f})"
  35834. msgstr ""
  35835. #. type: table
  35836. #: guix-git/doc/guix.texi:24044
  35837. 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."
  35838. msgstr ""
  35839. #. type: lisp
  35840. #: guix-git/doc/guix.texi:24050
  35841. #, no-wrap
  35842. msgid ""
  35843. "(tailon-configuration-file\n"
  35844. " (http-auth \"basic\")\n"
  35845. " (users '((\"user1\" . \"password1\")\n"
  35846. " (\"user2\" . \"password2\"))))\n"
  35847. msgstr ""
  35848. #. type: subsubheading
  35849. #: guix-git/doc/guix.texi:24056
  35850. #, no-wrap
  35851. msgid "Darkstat Service"
  35852. msgstr ""
  35853. #. type: cindex
  35854. #: guix-git/doc/guix.texi:24057
  35855. #, no-wrap
  35856. msgid "darkstat"
  35857. msgstr ""
  35858. #. type: Plain text
  35859. #: guix-git/doc/guix.texi:24060
  35860. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  35861. msgstr ""
  35862. #. type: defvar
  35863. #: guix-git/doc/guix.texi:24061
  35864. #, no-wrap
  35865. msgid "{Scheme Variable} darkstat-service-type"
  35866. msgstr ""
  35867. #. type: defvar
  35868. #: guix-git/doc/guix.texi:24066
  35869. 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:"
  35870. msgstr ""
  35871. #. type: lisp
  35872. #: guix-git/doc/guix.texi:24071
  35873. #, no-wrap
  35874. msgid ""
  35875. "(service darkstat-service-type\n"
  35876. " (darkstat-configuration\n"
  35877. " (interface \"eno1\")))\n"
  35878. msgstr ""
  35879. #. type: deftp
  35880. #: guix-git/doc/guix.texi:24074
  35881. #, no-wrap
  35882. msgid "{Data Type} darkstat-configuration"
  35883. msgstr ""
  35884. #. type: deftp
  35885. #: guix-git/doc/guix.texi:24076
  35886. msgid "Data type representing the configuration of @command{darkstat}."
  35887. msgstr ""
  35888. #. type: item
  35889. #: guix-git/doc/guix.texi:24078
  35890. #, no-wrap
  35891. msgid "@code{package} (default: @code{darkstat})"
  35892. msgstr ""
  35893. #. type: table
  35894. #: guix-git/doc/guix.texi:24080
  35895. msgid "The darkstat package to use."
  35896. msgstr ""
  35897. #. type: code{#1}
  35898. #: guix-git/doc/guix.texi:24081
  35899. #, no-wrap
  35900. msgid "interface"
  35901. msgstr ""
  35902. #. type: table
  35903. #: guix-git/doc/guix.texi:24083
  35904. msgid "Capture traffic on the specified network interface."
  35905. msgstr ""
  35906. #. type: item
  35907. #: guix-git/doc/guix.texi:24084
  35908. #, no-wrap
  35909. msgid "@code{port} (default: @code{\"667\"})"
  35910. msgstr ""
  35911. #. type: table
  35912. #: guix-git/doc/guix.texi:24086
  35913. msgid "Bind the web interface to the specified port."
  35914. msgstr ""
  35915. #. type: table
  35916. #: guix-git/doc/guix.texi:24089 guix-git/doc/guix.texi:24124
  35917. msgid "Bind the web interface to the specified address."
  35918. msgstr ""
  35919. #. type: item
  35920. #: guix-git/doc/guix.texi:24090
  35921. #, no-wrap
  35922. msgid "@code{base} (default: @code{\"/\"})"
  35923. msgstr ""
  35924. #. type: table
  35925. #: guix-git/doc/guix.texi:24093
  35926. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  35927. msgstr ""
  35928. #. type: subsubheading
  35929. #: guix-git/doc/guix.texi:24097
  35930. #, no-wrap
  35931. msgid "Prometheus Node Exporter Service"
  35932. msgstr ""
  35933. #. type: cindex
  35934. #: guix-git/doc/guix.texi:24099
  35935. #, no-wrap
  35936. msgid "prometheus-node-exporter"
  35937. msgstr ""
  35938. #. type: Plain text
  35939. #: guix-git/doc/guix.texi:24104
  35940. 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."
  35941. msgstr ""
  35942. #. type: defvar
  35943. #: guix-git/doc/guix.texi:24105
  35944. #, no-wrap
  35945. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  35946. msgstr ""
  35947. #. type: defvar
  35948. #: guix-git/doc/guix.texi:24109
  35949. 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}."
  35950. msgstr ""
  35951. #. type: lisp
  35952. #: guix-git/doc/guix.texi:24112
  35953. #, no-wrap
  35954. msgid "(service prometheus-node-exporter-service-type)\n"
  35955. msgstr ""
  35956. #. type: deftp
  35957. #: guix-git/doc/guix.texi:24115
  35958. #, no-wrap
  35959. msgid "{Data Type} prometheus-node-exporter-configuration"
  35960. msgstr ""
  35961. #. type: deftp
  35962. #: guix-git/doc/guix.texi:24117
  35963. msgid "Data type representing the configuration of @command{node_exporter}."
  35964. msgstr ""
  35965. #. type: item
  35966. #: guix-git/doc/guix.texi:24119
  35967. #, no-wrap
  35968. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  35969. msgstr ""
  35970. #. type: table
  35971. #: guix-git/doc/guix.texi:24121
  35972. msgid "The prometheus-node-exporter package to use."
  35973. msgstr ""
  35974. #. type: item
  35975. #: guix-git/doc/guix.texi:24122
  35976. #, no-wrap
  35977. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  35978. msgstr ""
  35979. #. type: item
  35980. #: guix-git/doc/guix.texi:24125
  35981. #, no-wrap
  35982. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  35983. msgstr ""
  35984. #. type: table
  35985. #: guix-git/doc/guix.texi:24129
  35986. 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."
  35987. msgstr ""
  35988. #. type: table
  35989. #: guix-git/doc/guix.texi:24132
  35990. msgid "Extra options to pass to the Prometheus node exporter."
  35991. msgstr ""
  35992. #. type: subsubheading
  35993. #: guix-git/doc/guix.texi:24136
  35994. #, no-wrap
  35995. msgid "Zabbix server"
  35996. msgstr ""
  35997. #. type: cindex
  35998. #: guix-git/doc/guix.texi:24137
  35999. #, no-wrap
  36000. msgid "zabbix zabbix-server"
  36001. msgstr ""
  36002. #. type: Plain text
  36003. #: guix-git/doc/guix.texi:24140
  36004. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  36005. msgstr ""
  36006. #. type: item
  36007. #: guix-git/doc/guix.texi:24142
  36008. #, no-wrap
  36009. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  36010. msgstr ""
  36011. #. type: item
  36012. #: guix-git/doc/guix.texi:24143
  36013. #, no-wrap
  36014. msgid "Auto-discovery of servers and network devices and interfaces."
  36015. msgstr ""
  36016. #. type: item
  36017. #: guix-git/doc/guix.texi:24144
  36018. #, no-wrap
  36019. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  36020. msgstr ""
  36021. #. type: item
  36022. #: guix-git/doc/guix.texi:24145
  36023. #, no-wrap
  36024. msgid "Distributed monitoring with centralized web administration."
  36025. msgstr ""
  36026. #. type: item
  36027. #: guix-git/doc/guix.texi:24146
  36028. #, no-wrap
  36029. msgid "Native high performance agents."
  36030. msgstr ""
  36031. #. type: item
  36032. #: guix-git/doc/guix.texi:24147
  36033. #, no-wrap
  36034. msgid "SLA, and ITIL KPI metrics on reporting."
  36035. msgstr ""
  36036. #. type: item
  36037. #: guix-git/doc/guix.texi:24148
  36038. #, no-wrap
  36039. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  36040. msgstr ""
  36041. #. type: item
  36042. #: guix-git/doc/guix.texi:24149
  36043. #, no-wrap
  36044. msgid "Remote command execution through Zabbix proxies."
  36045. msgstr ""
  36046. #. type: Plain text
  36047. #: guix-git/doc/guix.texi:24155
  36048. msgid "Available @code{zabbix-server-configuration} fields are:"
  36049. msgstr ""
  36050. #. type: deftypevr
  36051. #: guix-git/doc/guix.texi:24156
  36052. #, no-wrap
  36053. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  36054. msgstr ""
  36055. #. type: deftypevr
  36056. #: guix-git/doc/guix.texi:24158
  36057. msgid "The zabbix-server package."
  36058. msgstr ""
  36059. #. type: deftypevr
  36060. #: guix-git/doc/guix.texi:24161
  36061. #, no-wrap
  36062. msgid "{@code{zabbix-server-configuration} parameter} string user"
  36063. msgstr ""
  36064. #. type: deftypevr
  36065. #: guix-git/doc/guix.texi:24163
  36066. msgid "User who will run the Zabbix server."
  36067. msgstr ""
  36068. #. type: deftypevr
  36069. #: guix-git/doc/guix.texi:24165 guix-git/doc/guix.texi:24172
  36070. #: guix-git/doc/guix.texi:24186 guix-git/doc/guix.texi:24193
  36071. #: guix-git/doc/guix.texi:24294 guix-git/doc/guix.texi:24301
  36072. #: guix-git/doc/guix.texi:24412 guix-git/doc/guix.texi:24419
  36073. msgid "Defaults to @samp{\"zabbix\"}."
  36074. msgstr ""
  36075. #. type: deftypevr
  36076. #: guix-git/doc/guix.texi:24168
  36077. #, no-wrap
  36078. msgid "{@code{zabbix-server-configuration} parameter} group group"
  36079. msgstr ""
  36080. #. type: deftypevr
  36081. #: guix-git/doc/guix.texi:24170
  36082. msgid "Group who will run the Zabbix server."
  36083. msgstr ""
  36084. #. type: deftypevr
  36085. #: guix-git/doc/guix.texi:24175
  36086. #, no-wrap
  36087. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  36088. msgstr ""
  36089. #. type: deftypevr
  36090. #: guix-git/doc/guix.texi:24177 guix-git/doc/guix.texi:24396
  36091. msgid "Database host name."
  36092. msgstr ""
  36093. #. type: deftypevr
  36094. #: guix-git/doc/guix.texi:24179
  36095. msgid "Defaults to @samp{\"127.0.0.1\"}."
  36096. msgstr ""
  36097. #. type: deftypevr
  36098. #: guix-git/doc/guix.texi:24182
  36099. #, no-wrap
  36100. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  36101. msgstr ""
  36102. #. type: deftypevr
  36103. #: guix-git/doc/guix.texi:24184 guix-git/doc/guix.texi:24410
  36104. msgid "Database name."
  36105. msgstr ""
  36106. #. type: deftypevr
  36107. #: guix-git/doc/guix.texi:24189
  36108. #, no-wrap
  36109. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  36110. msgstr ""
  36111. #. type: deftypevr
  36112. #: guix-git/doc/guix.texi:24191 guix-git/doc/guix.texi:24417
  36113. msgid "Database user."
  36114. msgstr ""
  36115. #. type: deftypevr
  36116. #: guix-git/doc/guix.texi:24196
  36117. #, no-wrap
  36118. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  36119. msgstr ""
  36120. #. type: deftypevr
  36121. #: guix-git/doc/guix.texi:24199
  36122. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  36123. msgstr ""
  36124. #. type: deftypevr
  36125. #: guix-git/doc/guix.texi:24204
  36126. #, no-wrap
  36127. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  36128. msgstr ""
  36129. #. type: deftypevr
  36130. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24403
  36131. msgid "Database port."
  36132. msgstr ""
  36133. #. type: deftypevr
  36134. #: guix-git/doc/guix.texi:24208 guix-git/doc/guix.texi:24405
  36135. msgid "Defaults to @samp{5432}."
  36136. msgstr ""
  36137. #. type: deftypevr
  36138. #: guix-git/doc/guix.texi:24211
  36139. #, no-wrap
  36140. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  36141. msgstr ""
  36142. #. type: deftypevr
  36143. #: guix-git/doc/guix.texi:24213 guix-git/doc/guix.texi:24314
  36144. msgid "Specifies where log messages are written to:"
  36145. msgstr ""
  36146. #. type: itemize
  36147. #: guix-git/doc/guix.texi:24217 guix-git/doc/guix.texi:24318
  36148. msgid "@code{system} - syslog."
  36149. msgstr ""
  36150. #. type: itemize
  36151. #: guix-git/doc/guix.texi:24220 guix-git/doc/guix.texi:24321
  36152. msgid "@code{file} - file specified with @code{log-file} parameter."
  36153. msgstr ""
  36154. #. type: itemize
  36155. #: guix-git/doc/guix.texi:24223 guix-git/doc/guix.texi:24324
  36156. msgid "@code{console} - standard output."
  36157. msgstr ""
  36158. #. type: deftypevr
  36159. #: guix-git/doc/guix.texi:24230
  36160. #, no-wrap
  36161. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  36162. msgstr ""
  36163. #. type: deftypevr
  36164. #: guix-git/doc/guix.texi:24232 guix-git/doc/guix.texi:24333
  36165. msgid "Log file name for @code{log-type} @code{file} parameter."
  36166. msgstr ""
  36167. #. type: deftypevr
  36168. #: guix-git/doc/guix.texi:24234
  36169. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  36170. msgstr ""
  36171. #. type: deftypevr
  36172. #: guix-git/doc/guix.texi:24237
  36173. #, no-wrap
  36174. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  36175. msgstr ""
  36176. #. type: deftypevr
  36177. #: guix-git/doc/guix.texi:24239 guix-git/doc/guix.texi:24340
  36178. msgid "Name of PID file."
  36179. msgstr ""
  36180. #. type: deftypevr
  36181. #: guix-git/doc/guix.texi:24241
  36182. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  36183. msgstr ""
  36184. #. type: deftypevr
  36185. #: guix-git/doc/guix.texi:24244
  36186. #, no-wrap
  36187. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  36188. msgstr ""
  36189. #. type: deftypevr
  36190. #: guix-git/doc/guix.texi:24247
  36191. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  36192. msgstr ""
  36193. #. type: deftypevr
  36194. #: guix-git/doc/guix.texi:24249
  36195. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  36196. msgstr ""
  36197. #. type: deftypevr
  36198. #: guix-git/doc/guix.texi:24252
  36199. #, no-wrap
  36200. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  36201. msgstr ""
  36202. #. type: deftypevr
  36203. #: guix-git/doc/guix.texi:24254
  36204. msgid "Location of SSL client certificates."
  36205. msgstr ""
  36206. #. type: deftypevr
  36207. #: guix-git/doc/guix.texi:24256
  36208. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  36209. msgstr ""
  36210. #. type: deftypevr
  36211. #: guix-git/doc/guix.texi:24259
  36212. #, no-wrap
  36213. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  36214. msgstr ""
  36215. #. type: deftypevr
  36216. #: guix-git/doc/guix.texi:24261 guix-git/doc/guix.texi:24365
  36217. msgid "Extra options will be appended to Zabbix server configuration file."
  36218. msgstr ""
  36219. #. type: deftypevr
  36220. #: guix-git/doc/guix.texi:24266
  36221. #, no-wrap
  36222. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  36223. msgstr ""
  36224. #. type: deftypevr
  36225. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24373
  36226. msgid "You may include individual files or all files in a directory in the configuration file."
  36227. msgstr ""
  36228. #. type: subsubheading
  36229. #: guix-git/doc/guix.texi:24276
  36230. #, no-wrap
  36231. msgid "Zabbix agent"
  36232. msgstr ""
  36233. #. type: cindex
  36234. #: guix-git/doc/guix.texi:24277
  36235. #, no-wrap
  36236. msgid "zabbix zabbix-agent"
  36237. msgstr ""
  36238. #. type: Plain text
  36239. #: guix-git/doc/guix.texi:24280
  36240. msgid "Zabbix agent gathers information for Zabbix server."
  36241. msgstr ""
  36242. #. type: Plain text
  36243. #: guix-git/doc/guix.texi:24284
  36244. msgid "Available @code{zabbix-agent-configuration} fields are:"
  36245. msgstr ""
  36246. #. type: deftypevr
  36247. #: guix-git/doc/guix.texi:24285
  36248. #, no-wrap
  36249. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  36250. msgstr ""
  36251. #. type: deftypevr
  36252. #: guix-git/doc/guix.texi:24287
  36253. msgid "The zabbix-agent package."
  36254. msgstr ""
  36255. #. type: deftypevr
  36256. #: guix-git/doc/guix.texi:24290
  36257. #, no-wrap
  36258. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  36259. msgstr ""
  36260. #. type: deftypevr
  36261. #: guix-git/doc/guix.texi:24292
  36262. msgid "User who will run the Zabbix agent."
  36263. msgstr ""
  36264. #. type: deftypevr
  36265. #: guix-git/doc/guix.texi:24297
  36266. #, no-wrap
  36267. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  36268. msgstr ""
  36269. #. type: deftypevr
  36270. #: guix-git/doc/guix.texi:24299
  36271. msgid "Group who will run the Zabbix agent."
  36272. msgstr ""
  36273. #. type: deftypevr
  36274. #: guix-git/doc/guix.texi:24304
  36275. #, no-wrap
  36276. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  36277. msgstr ""
  36278. #. type: deftypevr
  36279. #: guix-git/doc/guix.texi:24307
  36280. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  36281. msgstr ""
  36282. #. type: deftypevr
  36283. #: guix-git/doc/guix.texi:24312
  36284. #, no-wrap
  36285. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  36286. msgstr ""
  36287. #. type: deftypevr
  36288. #: guix-git/doc/guix.texi:24331
  36289. #, no-wrap
  36290. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  36291. msgstr ""
  36292. #. type: deftypevr
  36293. #: guix-git/doc/guix.texi:24335
  36294. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  36295. msgstr ""
  36296. #. type: deftypevr
  36297. #: guix-git/doc/guix.texi:24338
  36298. #, no-wrap
  36299. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  36300. msgstr ""
  36301. #. type: deftypevr
  36302. #: guix-git/doc/guix.texi:24342
  36303. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  36304. msgstr ""
  36305. #. type: deftypevr
  36306. #: guix-git/doc/guix.texi:24345
  36307. #, no-wrap
  36308. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  36309. msgstr ""
  36310. #. type: deftypevr
  36311. #: guix-git/doc/guix.texi:24349
  36312. 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."
  36313. msgstr ""
  36314. #. type: deftypevr
  36315. #: guix-git/doc/guix.texi:24351 guix-git/doc/guix.texi:24360
  36316. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  36317. msgstr ""
  36318. #. type: deftypevr
  36319. #: guix-git/doc/guix.texi:24354
  36320. #, no-wrap
  36321. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  36322. msgstr ""
  36323. #. type: deftypevr
  36324. #: guix-git/doc/guix.texi:24358
  36325. 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."
  36326. msgstr ""
  36327. #. type: deftypevr
  36328. #: guix-git/doc/guix.texi:24363
  36329. #, no-wrap
  36330. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  36331. msgstr ""
  36332. #. type: deftypevr
  36333. #: guix-git/doc/guix.texi:24370
  36334. #, no-wrap
  36335. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  36336. msgstr ""
  36337. #. type: subsubheading
  36338. #: guix-git/doc/guix.texi:24380
  36339. #, no-wrap
  36340. msgid "Zabbix front-end"
  36341. msgstr ""
  36342. #. type: cindex
  36343. #: guix-git/doc/guix.texi:24381
  36344. #, no-wrap
  36345. msgid "zabbix zabbix-front-end"
  36346. msgstr ""
  36347. #. type: Plain text
  36348. #: guix-git/doc/guix.texi:24384
  36349. msgid "This service provides a WEB interface to Zabbix server."
  36350. msgstr ""
  36351. #. type: Plain text
  36352. #: guix-git/doc/guix.texi:24388
  36353. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  36354. msgstr ""
  36355. #. type: deftypevr
  36356. #: guix-git/doc/guix.texi:24389
  36357. #, no-wrap
  36358. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  36359. msgstr ""
  36360. #. type: deftypevr
  36361. #: guix-git/doc/guix.texi:24391 guix-git/doc/guix.texi:30622
  36362. msgid "NGINX configuration."
  36363. msgstr ""
  36364. #. type: deftypevr
  36365. #: guix-git/doc/guix.texi:24394
  36366. #, no-wrap
  36367. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  36368. msgstr ""
  36369. #. type: deftypevr
  36370. #: guix-git/doc/guix.texi:24401
  36371. #, no-wrap
  36372. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  36373. msgstr ""
  36374. #. type: deftypevr
  36375. #: guix-git/doc/guix.texi:24408
  36376. #, no-wrap
  36377. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  36378. msgstr ""
  36379. #. type: deftypevr
  36380. #: guix-git/doc/guix.texi:24415
  36381. #, no-wrap
  36382. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  36383. msgstr ""
  36384. #. type: deftypevr
  36385. #: guix-git/doc/guix.texi:24422
  36386. #, no-wrap
  36387. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  36388. msgstr ""
  36389. #. type: deftypevr
  36390. #: guix-git/doc/guix.texi:24424
  36391. msgid "Database password. Please, use @code{db-secret-file} instead."
  36392. msgstr ""
  36393. #. type: deftypevr
  36394. #: guix-git/doc/guix.texi:24429
  36395. #, no-wrap
  36396. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  36397. msgstr ""
  36398. #. type: deftypevr
  36399. #: guix-git/doc/guix.texi:24434
  36400. msgid "Secret file containing the credentials for the Zabbix front-end. The value must be a local file name, not a G-expression. You are expected to create this file manually. Its contents will be copied into @file{zabbix.conf.php} as the value of @code{$DB['PASSWORD']}."
  36401. msgstr ""
  36402. #. type: deftypevr
  36403. #: guix-git/doc/guix.texi:24439
  36404. #, no-wrap
  36405. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  36406. msgstr ""
  36407. #. type: deftypevr
  36408. #: guix-git/doc/guix.texi:24441
  36409. msgid "Zabbix server hostname."
  36410. msgstr ""
  36411. #. type: deftypevr
  36412. #: guix-git/doc/guix.texi:24446
  36413. #, no-wrap
  36414. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  36415. msgstr ""
  36416. #. type: deftypevr
  36417. #: guix-git/doc/guix.texi:24448
  36418. msgid "Zabbix server port."
  36419. msgstr ""
  36420. #. type: deftypevr
  36421. #: guix-git/doc/guix.texi:24450
  36422. msgid "Defaults to @samp{10051}."
  36423. msgstr ""
  36424. #. type: cindex
  36425. #: guix-git/doc/guix.texi:24458
  36426. #, no-wrap
  36427. msgid "Kerberos"
  36428. msgstr ""
  36429. #. type: Plain text
  36430. #: guix-git/doc/guix.texi:24462
  36431. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  36432. msgstr ""
  36433. #. type: subsubheading
  36434. #: guix-git/doc/guix.texi:24463
  36435. #, no-wrap
  36436. msgid "Krb5 Service"
  36437. msgstr ""
  36438. #. type: Plain text
  36439. #: guix-git/doc/guix.texi:24470
  36440. 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."
  36441. msgstr ""
  36442. #. type: Plain text
  36443. #: guix-git/doc/guix.texi:24474
  36444. 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."
  36445. msgstr ""
  36446. #. type: defvr
  36447. #: guix-git/doc/guix.texi:24475
  36448. #, no-wrap
  36449. msgid "{Scheme Variable} krb5-service-type"
  36450. msgstr ""
  36451. #. type: defvr
  36452. #: guix-git/doc/guix.texi:24477
  36453. msgid "A service type for Kerberos 5 clients."
  36454. msgstr ""
  36455. #. type: Plain text
  36456. #: guix-git/doc/guix.texi:24481
  36457. msgid "Here is an example of its use:"
  36458. msgstr ""
  36459. #. type: lisp
  36460. #: guix-git/doc/guix.texi:24495
  36461. #, no-wrap
  36462. msgid ""
  36463. "(service krb5-service-type\n"
  36464. " (krb5-configuration\n"
  36465. " (default-realm \"EXAMPLE.COM\")\n"
  36466. " (allow-weak-crypto? #t)\n"
  36467. " (realms (list\n"
  36468. " (krb5-realm\n"
  36469. " (name \"EXAMPLE.COM\")\n"
  36470. " (admin-server \"groucho.example.com\")\n"
  36471. " (kdc \"karl.example.com\"))\n"
  36472. " (krb5-realm\n"
  36473. " (name \"ARGRX.EDU\")\n"
  36474. " (admin-server \"kerb-admin.argrx.edu\")\n"
  36475. " (kdc \"keys.argrx.edu\"))))))\n"
  36476. msgstr ""
  36477. #. type: Plain text
  36478. #: guix-git/doc/guix.texi:24499
  36479. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  36480. msgstr ""
  36481. #. type: item
  36482. #: guix-git/doc/guix.texi:24500
  36483. #, no-wrap
  36484. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  36485. msgstr ""
  36486. #. type: itemize
  36487. #: guix-git/doc/guix.texi:24502
  36488. msgid "of which have distinct administration servers and key distribution centers;"
  36489. msgstr ""
  36490. #. type: item
  36491. #: guix-git/doc/guix.texi:24502
  36492. #, no-wrap
  36493. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  36494. msgstr ""
  36495. #. type: itemize
  36496. #: guix-git/doc/guix.texi:24504
  36497. msgid "specified by clients;"
  36498. msgstr ""
  36499. #. type: item
  36500. #: guix-git/doc/guix.texi:24504
  36501. #, no-wrap
  36502. msgid "Accepts services which only support encryption types known to be weak."
  36503. msgstr ""
  36504. #. type: Plain text
  36505. #: guix-git/doc/guix.texi:24512
  36506. 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."
  36507. msgstr ""
  36508. #. type: deftp
  36509. #: guix-git/doc/guix.texi:24514
  36510. #, no-wrap
  36511. msgid "{Data Type} krb5-realm"
  36512. msgstr ""
  36513. #. type: cindex
  36514. #: guix-git/doc/guix.texi:24515
  36515. #, no-wrap
  36516. msgid "realm, kerberos"
  36517. msgstr ""
  36518. #. type: table
  36519. #: guix-git/doc/guix.texi:24521
  36520. 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."
  36521. msgstr ""
  36522. #. type: code{#1}
  36523. #: guix-git/doc/guix.texi:24522
  36524. #, no-wrap
  36525. msgid "admin-server"
  36526. msgstr ""
  36527. #. type: table
  36528. #: guix-git/doc/guix.texi:24525
  36529. msgid "This field is a string identifying the host where the administration server is running."
  36530. msgstr ""
  36531. #. type: code{#1}
  36532. #: guix-git/doc/guix.texi:24526
  36533. #, no-wrap
  36534. msgid "kdc"
  36535. msgstr ""
  36536. #. type: table
  36537. #: guix-git/doc/guix.texi:24529
  36538. msgid "This field is a string identifying the key distribution center for the realm."
  36539. msgstr ""
  36540. #. type: deftp
  36541. #: guix-git/doc/guix.texi:24532
  36542. #, no-wrap
  36543. msgid "{Data Type} krb5-configuration"
  36544. msgstr ""
  36545. #. type: item
  36546. #: guix-git/doc/guix.texi:24535
  36547. #, no-wrap
  36548. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  36549. msgstr ""
  36550. #. type: table
  36551. #: guix-git/doc/guix.texi:24538
  36552. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  36553. msgstr ""
  36554. #. type: item
  36555. #: guix-git/doc/guix.texi:24539
  36556. #, no-wrap
  36557. msgid "@code{default-realm} (default: @code{#f})"
  36558. msgstr ""
  36559. #. type: table
  36560. #: guix-git/doc/guix.texi:24546
  36561. 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}."
  36562. msgstr ""
  36563. #. type: code{#1}
  36564. #: guix-git/doc/guix.texi:24547
  36565. #, no-wrap
  36566. msgid "realms"
  36567. msgstr ""
  36568. #. type: table
  36569. #: guix-git/doc/guix.texi:24552
  36570. 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."
  36571. msgstr ""
  36572. #. type: subsubheading
  36573. #: guix-git/doc/guix.texi:24556
  36574. #, no-wrap
  36575. msgid "PAM krb5 Service"
  36576. msgstr ""
  36577. #. type: cindex
  36578. #: guix-git/doc/guix.texi:24557
  36579. #, no-wrap
  36580. msgid "pam-krb5"
  36581. msgstr ""
  36582. #. type: Plain text
  36583. #: guix-git/doc/guix.texi:24563
  36584. 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."
  36585. msgstr ""
  36586. #. type: defvr
  36587. #: guix-git/doc/guix.texi:24564
  36588. #, no-wrap
  36589. msgid "{Scheme Variable} pam-krb5-service-type"
  36590. msgstr ""
  36591. #. type: defvr
  36592. #: guix-git/doc/guix.texi:24566
  36593. msgid "A service type for the Kerberos 5 PAM module."
  36594. msgstr ""
  36595. #. type: deftp
  36596. #: guix-git/doc/guix.texi:24568
  36597. #, no-wrap
  36598. msgid "{Data Type} pam-krb5-configuration"
  36599. msgstr ""
  36600. #. type: deftp
  36601. #: guix-git/doc/guix.texi:24571
  36602. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  36603. msgstr ""
  36604. #. type: item
  36605. #: guix-git/doc/guix.texi:24572
  36606. #, no-wrap
  36607. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  36608. msgstr ""
  36609. #. type: table
  36610. #: guix-git/doc/guix.texi:24574
  36611. msgid "The pam-krb5 package to use."
  36612. msgstr ""
  36613. #. type: item
  36614. #: guix-git/doc/guix.texi:24575
  36615. #, no-wrap
  36616. msgid "@code{minimum-uid} (default: @code{1000})"
  36617. msgstr ""
  36618. #. type: table
  36619. #: guix-git/doc/guix.texi:24578
  36620. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  36621. msgstr ""
  36622. #. type: cindex
  36623. #: guix-git/doc/guix.texi:24584
  36624. #, no-wrap
  36625. msgid "LDAP"
  36626. msgstr ""
  36627. #. type: cindex
  36628. #: guix-git/doc/guix.texi:24585
  36629. #, no-wrap
  36630. msgid "nslcd, LDAP service"
  36631. msgstr ""
  36632. #. type: Plain text
  36633. #: guix-git/doc/guix.texi:24592
  36634. 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."
  36635. msgstr ""
  36636. #. type: Plain text
  36637. #: guix-git/doc/guix.texi:24596
  36638. 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:"
  36639. msgstr ""
  36640. #. type: lisp
  36641. #: guix-git/doc/guix.texi:24619
  36642. #, no-wrap
  36643. msgid ""
  36644. "(use-service-modules authentication)\n"
  36645. "(use-modules (gnu system nss))\n"
  36646. "...\n"
  36647. "(operating-system\n"
  36648. " ...\n"
  36649. " (services\n"
  36650. " (cons*\n"
  36651. " (service nslcd-service-type)\n"
  36652. " (service dhcp-client-service-type)\n"
  36653. " %base-services))\n"
  36654. " (name-service-switch\n"
  36655. " (let ((services (list (name-service (name \"db\"))\n"
  36656. " (name-service (name \"files\"))\n"
  36657. " (name-service (name \"ldap\")))))\n"
  36658. " (name-service-switch\n"
  36659. " (inherit %mdns-host-lookup-nss)\n"
  36660. " (password services)\n"
  36661. " (shadow services)\n"
  36662. " (group services)\n"
  36663. " (netgroup services)\n"
  36664. " (gshadow services)))))\n"
  36665. msgstr ""
  36666. #. type: Plain text
  36667. #: guix-git/doc/guix.texi:24624
  36668. msgid "Available @code{nslcd-configuration} fields are:"
  36669. msgstr ""
  36670. #. type: deftypevr
  36671. #: guix-git/doc/guix.texi:24625
  36672. #, no-wrap
  36673. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  36674. msgstr ""
  36675. #. type: deftypevr
  36676. #: guix-git/doc/guix.texi:24627
  36677. msgid "The @code{nss-pam-ldapd} package to use."
  36678. msgstr ""
  36679. #. type: deftypevr
  36680. #: guix-git/doc/guix.texi:24630
  36681. #, no-wrap
  36682. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  36683. msgstr ""
  36684. #. type: deftypevr
  36685. #: guix-git/doc/guix.texi:24634
  36686. 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."
  36687. msgstr ""
  36688. #. type: deftypevr
  36689. #: guix-git/doc/guix.texi:24639
  36690. #, no-wrap
  36691. msgid "{@code{nslcd-configuration} parameter} string uid"
  36692. msgstr ""
  36693. #. type: deftypevr
  36694. #: guix-git/doc/guix.texi:24641
  36695. msgid "This specifies the user id with which the daemon should be run."
  36696. msgstr ""
  36697. #. type: deftypevr
  36698. #: guix-git/doc/guix.texi:24643 guix-git/doc/guix.texi:24650
  36699. msgid "Defaults to @samp{\"nslcd\"}."
  36700. msgstr ""
  36701. #. type: deftypevr
  36702. #: guix-git/doc/guix.texi:24646
  36703. #, no-wrap
  36704. msgid "{@code{nslcd-configuration} parameter} string gid"
  36705. msgstr ""
  36706. #. type: deftypevr
  36707. #: guix-git/doc/guix.texi:24648
  36708. msgid "This specifies the group id with which the daemon should be run."
  36709. msgstr ""
  36710. #. type: deftypevr
  36711. #: guix-git/doc/guix.texi:24653
  36712. #, no-wrap
  36713. msgid "{@code{nslcd-configuration} parameter} log-option log"
  36714. msgstr ""
  36715. #. type: deftypevr
  36716. #: guix-git/doc/guix.texi:24661
  36717. 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."
  36718. msgstr ""
  36719. #. type: deftypevr
  36720. #: guix-git/doc/guix.texi:24663
  36721. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  36722. msgstr ""
  36723. #. type: deftypevr
  36724. #: guix-git/doc/guix.texi:24666
  36725. #, no-wrap
  36726. msgid "{@code{nslcd-configuration} parameter} list uri"
  36727. msgstr ""
  36728. #. type: deftypevr
  36729. #: guix-git/doc/guix.texi:24669
  36730. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  36731. msgstr ""
  36732. #. type: deftypevr
  36733. #: guix-git/doc/guix.texi:24671
  36734. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  36735. msgstr ""
  36736. #. type: deftypevr
  36737. #: guix-git/doc/guix.texi:24674
  36738. #, no-wrap
  36739. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  36740. msgstr ""
  36741. #. type: deftypevr
  36742. #: guix-git/doc/guix.texi:24677
  36743. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  36744. msgstr ""
  36745. #. type: deftypevr
  36746. #: guix-git/doc/guix.texi:24682
  36747. #, no-wrap
  36748. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  36749. msgstr ""
  36750. #. type: deftypevr
  36751. #: guix-git/doc/guix.texi:24685
  36752. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  36753. msgstr ""
  36754. #. type: deftypevr
  36755. #: guix-git/doc/guix.texi:24690
  36756. #, no-wrap
  36757. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  36758. msgstr ""
  36759. #. type: deftypevr
  36760. #: guix-git/doc/guix.texi:24693
  36761. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  36762. msgstr ""
  36763. #. type: deftypevr
  36764. #: guix-git/doc/guix.texi:24698
  36765. #, no-wrap
  36766. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  36767. msgstr ""
  36768. #. type: deftypevr
  36769. #: guix-git/doc/guix.texi:24701
  36770. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  36771. msgstr ""
  36772. #. type: deftypevr
  36773. #: guix-git/doc/guix.texi:24706
  36774. #, no-wrap
  36775. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  36776. msgstr ""
  36777. #. type: deftypevr
  36778. #: guix-git/doc/guix.texi:24710
  36779. 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"
  36780. msgstr ""
  36781. #. type: deftypevr
  36782. #: guix-git/doc/guix.texi:24715
  36783. #, no-wrap
  36784. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  36785. msgstr ""
  36786. #. type: deftypevr
  36787. #: guix-git/doc/guix.texi:24718
  36788. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  36789. msgstr ""
  36790. #. type: deftypevr
  36791. #: guix-git/doc/guix.texi:24723
  36792. #, no-wrap
  36793. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  36794. msgstr ""
  36795. #. type: deftypevr
  36796. #: guix-git/doc/guix.texi:24725
  36797. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  36798. msgstr ""
  36799. #. type: deftypevr
  36800. #: guix-git/doc/guix.texi:24730
  36801. #, no-wrap
  36802. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  36803. msgstr ""
  36804. #. type: deftypevr
  36805. #: guix-git/doc/guix.texi:24733
  36806. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  36807. msgstr ""
  36808. #. type: deftypevr
  36809. #: guix-git/doc/guix.texi:24738
  36810. #, no-wrap
  36811. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  36812. msgstr ""
  36813. #. type: deftypevr
  36814. #: guix-git/doc/guix.texi:24741
  36815. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  36816. msgstr ""
  36817. #. type: deftypevr
  36818. #: guix-git/doc/guix.texi:24746
  36819. #, no-wrap
  36820. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  36821. msgstr ""
  36822. #. type: deftypevr
  36823. #: guix-git/doc/guix.texi:24751
  36824. 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."
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24756
  36828. #, no-wrap
  36829. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  36830. msgstr ""
  36831. #. type: deftypevr
  36832. #: guix-git/doc/guix.texi:24758
  36833. msgid "Set the name for the GSS-API Kerberos credentials cache."
  36834. msgstr ""
  36835. #. type: deftypevr
  36836. #: guix-git/doc/guix.texi:24763
  36837. #, no-wrap
  36838. msgid "{@code{nslcd-configuration} parameter} string base"
  36839. msgstr ""
  36840. #. type: deftypevr
  36841. #: guix-git/doc/guix.texi:24765
  36842. msgid "The directory search base."
  36843. msgstr ""
  36844. #. type: deftypevr
  36845. #: guix-git/doc/guix.texi:24767
  36846. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  36847. msgstr ""
  36848. #. type: deftypevr
  36849. #: guix-git/doc/guix.texi:24770
  36850. #, no-wrap
  36851. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  36852. msgstr ""
  36853. #. type: deftypevr
  36854. #: guix-git/doc/guix.texi:24774
  36855. 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."
  36856. msgstr ""
  36857. #. type: deftypevr
  36858. #: guix-git/doc/guix.texi:24776
  36859. msgid "Defaults to @samp{(subtree)}."
  36860. msgstr ""
  36861. #. type: deftypevr
  36862. #: guix-git/doc/guix.texi:24779
  36863. #, no-wrap
  36864. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  36865. msgstr ""
  36866. #. type: deftypevr
  36867. #: guix-git/doc/guix.texi:24782
  36868. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  36869. msgstr ""
  36870. #. type: deftypevr
  36871. #: guix-git/doc/guix.texi:24787
  36872. #, no-wrap
  36873. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  36874. msgstr ""
  36875. #. type: deftypevr
  36876. #: guix-git/doc/guix.texi:24790
  36877. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  36878. msgstr ""
  36879. #. type: deftypevr
  36880. #: guix-git/doc/guix.texi:24795
  36881. #, no-wrap
  36882. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  36883. msgstr ""
  36884. #. type: deftypevr
  36885. #: guix-git/doc/guix.texi:24800
  36886. 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."
  36887. msgstr ""
  36888. #. type: deftypevr
  36889. #: guix-git/doc/guix.texi:24805
  36890. #, no-wrap
  36891. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  36892. msgstr ""
  36893. #. type: deftypevr
  36894. #: guix-git/doc/guix.texi:24808
  36895. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  36896. msgstr ""
  36897. #. type: deftypevr
  36898. #: guix-git/doc/guix.texi:24813
  36899. #, no-wrap
  36900. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  36901. msgstr ""
  36902. #. type: deftypevr
  36903. #: guix-git/doc/guix.texi:24816
  36904. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  36905. msgstr ""
  36906. #. type: deftypevr
  36907. #: guix-git/doc/guix.texi:24821
  36908. #, no-wrap
  36909. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  36910. msgstr ""
  36911. #. type: deftypevr
  36912. #: guix-git/doc/guix.texi:24825
  36913. 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."
  36914. msgstr ""
  36915. #. type: deftypevr
  36916. #: guix-git/doc/guix.texi:24830
  36917. #, no-wrap
  36918. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  36919. msgstr ""
  36920. #. type: deftypevr
  36921. #: guix-git/doc/guix.texi:24834
  36922. 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."
  36923. msgstr ""
  36924. #. type: deftypevr
  36925. #: guix-git/doc/guix.texi:24839
  36926. #, no-wrap
  36927. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  36928. msgstr ""
  36929. #. type: deftypevr
  36930. #: guix-git/doc/guix.texi:24843
  36931. 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."
  36932. msgstr ""
  36933. #. type: deftypevr
  36934. #: guix-git/doc/guix.texi:24848
  36935. #, no-wrap
  36936. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  36937. msgstr ""
  36938. #. type: deftypevr
  36939. #: guix-git/doc/guix.texi:24852
  36940. 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."
  36941. msgstr ""
  36942. #. type: deftypevr
  36943. #: guix-git/doc/guix.texi:24857
  36944. #, no-wrap
  36945. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  36946. msgstr ""
  36947. #. type: deftypevr
  36948. #: guix-git/doc/guix.texi:24861
  36949. 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."
  36950. msgstr ""
  36951. #. type: deftypevr
  36952. #: guix-git/doc/guix.texi:24866
  36953. #, no-wrap
  36954. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  36955. msgstr ""
  36956. #. type: deftypevr
  36957. #: guix-git/doc/guix.texi:24869
  36958. 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."
  36959. msgstr ""
  36960. #. type: deftypevr
  36961. #: guix-git/doc/guix.texi:24874
  36962. #, no-wrap
  36963. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  36964. msgstr ""
  36965. #. type: deftypevr
  36966. #: guix-git/doc/guix.texi:24877
  36967. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  36968. msgstr ""
  36969. #. type: deftypevr
  36970. #: guix-git/doc/guix.texi:24882
  36971. #, no-wrap
  36972. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  36973. msgstr ""
  36974. #. type: deftypevr
  36975. #: guix-git/doc/guix.texi:24884
  36976. msgid "Specifies the path to the X.509 certificate for peer authentication."
  36977. msgstr ""
  36978. #. type: deftypevr
  36979. #: guix-git/doc/guix.texi:24889
  36980. #, no-wrap
  36981. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  36982. msgstr ""
  36983. #. type: deftypevr
  36984. #: guix-git/doc/guix.texi:24892
  36985. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  36986. msgstr ""
  36987. #. type: deftypevr
  36988. #: guix-git/doc/guix.texi:24897
  36989. #, no-wrap
  36990. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  36991. msgstr ""
  36992. #. type: deftypevr
  36993. #: guix-git/doc/guix.texi:24899
  36994. msgid "Specifies the ciphers to use for TLS as a string."
  36995. msgstr ""
  36996. #. type: deftypevr
  36997. #: guix-git/doc/guix.texi:24904
  36998. #, no-wrap
  36999. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  37000. msgstr ""
  37001. #. type: deftypevr
  37002. #: guix-git/doc/guix.texi:24907
  37003. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  37004. msgstr ""
  37005. #. type: deftypevr
  37006. #: guix-git/doc/guix.texi:24912
  37007. #, no-wrap
  37008. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  37009. msgstr ""
  37010. #. type: deftypevr
  37011. #: guix-git/doc/guix.texi:24915
  37012. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  37013. msgstr ""
  37014. #. type: deftypevr
  37015. #: guix-git/doc/guix.texi:24920
  37016. #, no-wrap
  37017. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  37018. msgstr ""
  37019. #. type: deftypevr
  37020. #: guix-git/doc/guix.texi:24924
  37021. 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."
  37022. msgstr ""
  37023. #. type: deftypevr
  37024. #: guix-git/doc/guix.texi:24929
  37025. #, no-wrap
  37026. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  37027. msgstr ""
  37028. #. type: deftypevr
  37029. #: guix-git/doc/guix.texi:24933
  37030. 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."
  37031. msgstr ""
  37032. #. type: deftypevr
  37033. #: guix-git/doc/guix.texi:24938
  37034. #, no-wrap
  37035. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  37036. msgstr ""
  37037. #. type: deftypevr
  37038. #: guix-git/doc/guix.texi:24941
  37039. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  37040. msgstr ""
  37041. #. type: deftypevr
  37042. #: guix-git/doc/guix.texi:24946
  37043. #, no-wrap
  37044. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  37045. msgstr ""
  37046. #. type: deftypevr
  37047. #: guix-git/doc/guix.texi:24949
  37048. 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."
  37049. msgstr ""
  37050. #. type: deftypevr
  37051. #: guix-git/doc/guix.texi:24954
  37052. #, no-wrap
  37053. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  37054. msgstr ""
  37055. #. type: deftypevr
  37056. #: guix-git/doc/guix.texi:24957
  37057. 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."
  37058. msgstr ""
  37059. #. type: deftypevr
  37060. #: guix-git/doc/guix.texi:24962
  37061. #, no-wrap
  37062. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  37063. msgstr ""
  37064. #. type: deftypevr
  37065. #: guix-git/doc/guix.texi:24968
  37066. 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."
  37067. msgstr ""
  37068. #. type: deftypevr
  37069. #: guix-git/doc/guix.texi:24973
  37070. #, no-wrap
  37071. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  37072. msgstr ""
  37073. #. type: deftypevr
  37074. #: guix-git/doc/guix.texi:24978
  37075. 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."
  37076. msgstr ""
  37077. #. type: deftypevr
  37078. #: guix-git/doc/guix.texi:24983
  37079. #, no-wrap
  37080. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  37081. msgstr ""
  37082. #. type: deftypevr
  37083. #: guix-git/doc/guix.texi:24989
  37084. 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."
  37085. msgstr ""
  37086. #. type: deftypevr
  37087. #: guix-git/doc/guix.texi:24994
  37088. #, no-wrap
  37089. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  37090. msgstr ""
  37091. #. type: deftypevr
  37092. #: guix-git/doc/guix.texi:24998
  37093. 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."
  37094. msgstr ""
  37095. #. type: deftypevr
  37096. #: guix-git/doc/guix.texi:25003
  37097. #, no-wrap
  37098. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  37099. msgstr ""
  37100. #. type: deftypevr
  37101. #: guix-git/doc/guix.texi:25008
  37102. 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."
  37103. msgstr ""
  37104. #. type: deftypevr
  37105. #: guix-git/doc/guix.texi:25013
  37106. #, no-wrap
  37107. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  37108. msgstr ""
  37109. #. type: deftypevr
  37110. #: guix-git/doc/guix.texi:25016
  37111. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  37112. msgstr ""
  37113. #. type: deftypevr
  37114. #: guix-git/doc/guix.texi:25021
  37115. #, no-wrap
  37116. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  37117. msgstr ""
  37118. #. type: deftypevr
  37119. #: guix-git/doc/guix.texi:25027
  37120. 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."
  37121. msgstr ""
  37122. #. type: deftypevr
  37123. #: guix-git/doc/guix.texi:25032
  37124. #, no-wrap
  37125. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  37126. msgstr ""
  37127. #. type: deftypevr
  37128. #: guix-git/doc/guix.texi:25036
  37129. 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."
  37130. msgstr ""
  37131. #. type: deftypevr
  37132. #: guix-git/doc/guix.texi:25041
  37133. #, no-wrap
  37134. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  37135. msgstr ""
  37136. #. type: deftypevr
  37137. #: guix-git/doc/guix.texi:25046
  37138. 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."
  37139. msgstr ""
  37140. #. type: deftypevr
  37141. #: guix-git/doc/guix.texi:25051
  37142. #, no-wrap
  37143. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  37144. msgstr ""
  37145. #. type: deftypevr
  37146. #: guix-git/doc/guix.texi:25053
  37147. msgid "List of pam service names for which LDAP authentication should suffice."
  37148. msgstr ""
  37149. #. type: cindex
  37150. #: guix-git/doc/guix.texi:25064
  37151. #, no-wrap
  37152. msgid "web"
  37153. msgstr ""
  37154. #. type: cindex
  37155. #: guix-git/doc/guix.texi:25065
  37156. #, no-wrap
  37157. msgid "www"
  37158. msgstr ""
  37159. #. type: cindex
  37160. #: guix-git/doc/guix.texi:25066
  37161. #, no-wrap
  37162. msgid "HTTP"
  37163. msgstr ""
  37164. #. type: Plain text
  37165. #: guix-git/doc/guix.texi:25069
  37166. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  37167. msgstr ""
  37168. #. type: subsubheading
  37169. #: guix-git/doc/guix.texi:25070
  37170. #, no-wrap
  37171. msgid "Apache HTTP Server"
  37172. msgstr ""
  37173. #. type: deffn
  37174. #: guix-git/doc/guix.texi:25072
  37175. #, no-wrap
  37176. msgid "{Scheme Variable} httpd-service-type"
  37177. msgstr ""
  37178. #. type: deffn
  37179. #: guix-git/doc/guix.texi:25076
  37180. 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."
  37181. msgstr ""
  37182. #. type: deffn
  37183. #: guix-git/doc/guix.texi:25078 guix-git/doc/guix.texi:25260
  37184. msgid "A simple example configuration is given below."
  37185. msgstr ""
  37186. #. type: lisp
  37187. #: guix-git/doc/guix.texi:25086
  37188. #, no-wrap
  37189. msgid ""
  37190. "(service httpd-service-type\n"
  37191. " (httpd-configuration\n"
  37192. " (config\n"
  37193. " (httpd-config-file\n"
  37194. " (server-name \"www.example.com\")\n"
  37195. " (document-root \"/srv/http/www.example.com\")))))\n"
  37196. msgstr ""
  37197. #. type: deffn
  37198. #: guix-git/doc/guix.texi:25090
  37199. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  37200. msgstr ""
  37201. #. type: lisp
  37202. #: guix-git/doc/guix.texi:25099 guix-git/doc/guix.texi:25239
  37203. #, no-wrap
  37204. msgid ""
  37205. "(simple-service 'www.example.com-server httpd-service-type\n"
  37206. " (list\n"
  37207. " (httpd-virtualhost\n"
  37208. " \"*:80\"\n"
  37209. " (list (string-join '(\"ServerName www.example.com\"\n"
  37210. " \"DocumentRoot /srv/http/www.example.com\")\n"
  37211. " \"\\n\")))))\n"
  37212. msgstr ""
  37213. #. type: Plain text
  37214. #: guix-git/doc/guix.texi:25105
  37215. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  37216. msgstr ""
  37217. #. type: deffn
  37218. #: guix-git/doc/guix.texi:25106
  37219. #, no-wrap
  37220. msgid "{Data Type} httpd-configuration"
  37221. msgstr ""
  37222. #. type: deffn
  37223. #: guix-git/doc/guix.texi:25108
  37224. msgid "This data type represents the configuration for the httpd service."
  37225. msgstr ""
  37226. #. type: item
  37227. #: guix-git/doc/guix.texi:25110
  37228. #, no-wrap
  37229. msgid "@code{package} (default: @code{httpd})"
  37230. msgstr ""
  37231. #. type: table
  37232. #: guix-git/doc/guix.texi:25112
  37233. msgid "The httpd package to use."
  37234. msgstr ""
  37235. #. type: item
  37236. #: guix-git/doc/guix.texi:25113 guix-git/doc/guix.texi:25202
  37237. #, no-wrap
  37238. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  37239. msgstr ""
  37240. #. type: table
  37241. #: guix-git/doc/guix.texi:25115
  37242. msgid "The pid file used by the shepherd-service."
  37243. msgstr ""
  37244. #. type: item
  37245. #: guix-git/doc/guix.texi:25116
  37246. #, no-wrap
  37247. msgid "@code{config} (default: @code{(httpd-config-file)})"
  37248. msgstr ""
  37249. #. type: table
  37250. #: guix-git/doc/guix.texi:25121
  37251. 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."
  37252. msgstr ""
  37253. #. type: deffn
  37254. #: guix-git/doc/guix.texi:25125
  37255. #, no-wrap
  37256. msgid "{Data Type} httpd-module"
  37257. msgstr ""
  37258. #. type: deffn
  37259. #: guix-git/doc/guix.texi:25127
  37260. msgid "This data type represents a module for the httpd service."
  37261. msgstr ""
  37262. #. type: table
  37263. #: guix-git/doc/guix.texi:25131
  37264. msgid "The name of the module."
  37265. msgstr ""
  37266. #. type: table
  37267. #: guix-git/doc/guix.texi:25137
  37268. 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\")}."
  37269. msgstr ""
  37270. #. type: defvr
  37271. #: guix-git/doc/guix.texi:25141
  37272. #, no-wrap
  37273. msgid "{Scheme Variable} %default-httpd-modules"
  37274. msgstr ""
  37275. #. type: defvr
  37276. #: guix-git/doc/guix.texi:25143
  37277. msgid "A default list of @code{httpd-module} objects."
  37278. msgstr ""
  37279. #. type: deffn
  37280. #: guix-git/doc/guix.texi:25145
  37281. #, no-wrap
  37282. msgid "{Data Type} httpd-config-file"
  37283. msgstr ""
  37284. #. type: deffn
  37285. #: guix-git/doc/guix.texi:25147
  37286. msgid "This data type represents a configuration file for the httpd service."
  37287. msgstr ""
  37288. #. type: item
  37289. #: guix-git/doc/guix.texi:25149
  37290. #, no-wrap
  37291. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  37292. msgstr ""
  37293. #. type: table
  37294. #: guix-git/doc/guix.texi:25152
  37295. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  37296. msgstr ""
  37297. #. type: table
  37298. #: guix-git/doc/guix.texi:25155
  37299. 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}:"
  37300. msgstr ""
  37301. #. type: lisp
  37302. #: guix-git/doc/guix.texi:25177
  37303. #, no-wrap
  37304. msgid ""
  37305. "(service httpd-service-type\n"
  37306. " (httpd-configuration\n"
  37307. " (config\n"
  37308. " (httpd-config-file\n"
  37309. " (modules (cons*\n"
  37310. " (httpd-module\n"
  37311. " (name \"proxy_module\")\n"
  37312. " (file \"modules/mod_proxy.so\"))\n"
  37313. " (httpd-module\n"
  37314. " (name \"proxy_fcgi_module\")\n"
  37315. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  37316. " %default-httpd-modules))\n"
  37317. " (extra-config (list \"\\\n"
  37318. "<FilesMatch \\\\.php$>\n"
  37319. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  37320. "</FilesMatch>\"))))))\n"
  37321. "(service php-fpm-service-type\n"
  37322. " (php-fpm-configuration\n"
  37323. " (socket \"/var/run/php-fpm.sock\")\n"
  37324. " (socket-group \"httpd\")))\n"
  37325. msgstr ""
  37326. #. type: item
  37327. #: guix-git/doc/guix.texi:25179
  37328. #, no-wrap
  37329. msgid "@code{server-root} (default: @code{httpd})"
  37330. msgstr ""
  37331. #. type: table
  37332. #: guix-git/doc/guix.texi:25183
  37333. 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."
  37334. msgstr ""
  37335. #. type: item
  37336. #: guix-git/doc/guix.texi:25184
  37337. #, no-wrap
  37338. msgid "@code{server-name} (default: @code{#f})"
  37339. msgstr ""
  37340. #. type: table
  37341. #: guix-git/doc/guix.texi:25188
  37342. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  37343. msgstr ""
  37344. #. type: table
  37345. #: guix-git/doc/guix.texi:25192
  37346. 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}."
  37347. msgstr ""
  37348. #. type: item
  37349. #: guix-git/doc/guix.texi:25193
  37350. #, no-wrap
  37351. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  37352. msgstr ""
  37353. #. type: table
  37354. #: guix-git/doc/guix.texi:25195
  37355. msgid "The @code{DocumentRoot} from which files will be served."
  37356. msgstr ""
  37357. #. type: item
  37358. #: guix-git/doc/guix.texi:25196
  37359. #, no-wrap
  37360. msgid "@code{listen} (default: @code{'(\"80\")})"
  37361. msgstr ""
  37362. #. type: table
  37363. #: guix-git/doc/guix.texi:25201
  37364. 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."
  37365. msgstr ""
  37366. #. type: table
  37367. #: guix-git/doc/guix.texi:25206
  37368. 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."
  37369. msgstr ""
  37370. #. type: item
  37371. #: guix-git/doc/guix.texi:25207
  37372. #, no-wrap
  37373. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  37374. msgstr ""
  37375. #. type: table
  37376. #: guix-git/doc/guix.texi:25209
  37377. msgid "The @code{ErrorLog} to which the server will log errors."
  37378. msgstr ""
  37379. #. type: item
  37380. #: guix-git/doc/guix.texi:25210 guix-git/doc/guix.texi:25772
  37381. #, no-wrap
  37382. msgid "@code{user} (default: @code{\"httpd\"})"
  37383. msgstr ""
  37384. #. type: table
  37385. #: guix-git/doc/guix.texi:25212
  37386. msgid "The @code{User} which the server will answer requests as."
  37387. msgstr ""
  37388. #. type: item
  37389. #: guix-git/doc/guix.texi:25213
  37390. #, no-wrap
  37391. msgid "@code{group} (default: @code{\"httpd\"})"
  37392. msgstr ""
  37393. #. type: table
  37394. #: guix-git/doc/guix.texi:25215
  37395. msgid "The @code{Group} which the server will answer requests as."
  37396. msgstr ""
  37397. #. type: item
  37398. #: guix-git/doc/guix.texi:25216
  37399. #, no-wrap
  37400. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  37401. msgstr ""
  37402. #. type: table
  37403. #: guix-git/doc/guix.texi:25219
  37404. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  37405. msgstr ""
  37406. #. type: table
  37407. #: guix-git/doc/guix.texi:25222
  37408. msgid "Any values which the service is extended with will be appended to this list."
  37409. msgstr ""
  37410. #. type: deffn
  37411. #: guix-git/doc/guix.texi:25226
  37412. #, no-wrap
  37413. msgid "{Data Type} httpd-virtualhost"
  37414. msgstr ""
  37415. #. type: deffn
  37416. #: guix-git/doc/guix.texi:25228
  37417. msgid "This data type represents a virtualhost configuration block for the httpd service."
  37418. msgstr ""
  37419. #. type: deffn
  37420. #: guix-git/doc/guix.texi:25230
  37421. msgid "These should be added to the extra-config for the httpd-service."
  37422. msgstr ""
  37423. #. type: code{#1}
  37424. #: guix-git/doc/guix.texi:25242
  37425. #, no-wrap
  37426. msgid "addresses-and-ports"
  37427. msgstr ""
  37428. #. type: table
  37429. #: guix-git/doc/guix.texi:25244
  37430. msgid "The addresses and ports for the @code{VirtualHost} directive."
  37431. msgstr ""
  37432. #. type: code{#1}
  37433. #: guix-git/doc/guix.texi:25245
  37434. #, no-wrap
  37435. msgid "contents"
  37436. msgstr ""
  37437. #. type: table
  37438. #: guix-git/doc/guix.texi:25248
  37439. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  37440. msgstr ""
  37441. #. type: subsubheading
  37442. #: guix-git/doc/guix.texi:25253
  37443. #, no-wrap
  37444. msgid "NGINX"
  37445. msgstr ""
  37446. #. type: deffn
  37447. #: guix-git/doc/guix.texi:25255
  37448. #, no-wrap
  37449. msgid "{Scheme Variable} nginx-service-type"
  37450. msgstr ""
  37451. #. type: deffn
  37452. #: guix-git/doc/guix.texi:25258
  37453. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  37454. msgstr ""
  37455. #. type: lisp
  37456. #: guix-git/doc/guix.texi:25268 guix-git/doc/guix.texi:25322
  37457. #, no-wrap
  37458. msgid ""
  37459. "(service nginx-service-type\n"
  37460. " (nginx-configuration\n"
  37461. " (server-blocks\n"
  37462. " (list (nginx-server-configuration\n"
  37463. " (server-name '(\"www.example.com\"))\n"
  37464. " (root \"/srv/http/www.example.com\"))))))\n"
  37465. msgstr ""
  37466. #. type: deffn
  37467. #: guix-git/doc/guix.texi:25273
  37468. 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:"
  37469. msgstr ""
  37470. #. type: lisp
  37471. #: guix-git/doc/guix.texi:25279
  37472. #, no-wrap
  37473. msgid ""
  37474. "(simple-service 'my-extra-server nginx-service-type\n"
  37475. " (list (nginx-server-configuration\n"
  37476. " (root \"/srv/http/extra-website\")\n"
  37477. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  37478. msgstr ""
  37479. #. type: Plain text
  37480. #: guix-git/doc/guix.texi:25290
  37481. 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."
  37482. msgstr ""
  37483. #. type: deffn
  37484. #: guix-git/doc/guix.texi:25291
  37485. #, no-wrap
  37486. msgid "{Data Type} nginx-configuration"
  37487. msgstr ""
  37488. #. type: deffn
  37489. #: guix-git/doc/guix.texi:25295
  37490. 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."
  37491. msgstr ""
  37492. #. type: item
  37493. #: guix-git/doc/guix.texi:25297
  37494. #, no-wrap
  37495. msgid "@code{nginx} (default: @code{nginx})"
  37496. msgstr ""
  37497. #. type: table
  37498. #: guix-git/doc/guix.texi:25299
  37499. msgid "The nginx package to use."
  37500. msgstr ""
  37501. #. type: item
  37502. #: guix-git/doc/guix.texi:25300
  37503. #, no-wrap
  37504. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  37505. msgstr ""
  37506. #. type: table
  37507. #: guix-git/doc/guix.texi:25302
  37508. msgid "The directory to which NGinx will write log files."
  37509. msgstr ""
  37510. #. type: item
  37511. #: guix-git/doc/guix.texi:25303
  37512. #, no-wrap
  37513. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  37514. msgstr ""
  37515. #. type: table
  37516. #: guix-git/doc/guix.texi:25306
  37517. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  37518. msgstr ""
  37519. #. type: item
  37520. #: guix-git/doc/guix.texi:25307
  37521. #, no-wrap
  37522. msgid "@code{server-blocks} (default: @code{'()})"
  37523. msgstr ""
  37524. #. type: table
  37525. #: guix-git/doc/guix.texi:25311
  37526. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  37527. msgstr ""
  37528. #. type: table
  37529. #: guix-git/doc/guix.texi:25315
  37530. 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."
  37531. msgstr ""
  37532. #. type: item
  37533. #: guix-git/doc/guix.texi:25324
  37534. #, no-wrap
  37535. msgid "@code{upstream-blocks} (default: @code{'()})"
  37536. msgstr ""
  37537. #. type: table
  37538. #: guix-git/doc/guix.texi:25328
  37539. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  37540. msgstr ""
  37541. #. type: table
  37542. #: guix-git/doc/guix.texi:25335
  37543. 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."
  37544. msgstr ""
  37545. #. type: lisp
  37546. #: guix-git/doc/guix.texi:25354
  37547. #, no-wrap
  37548. msgid ""
  37549. "(service\n"
  37550. " nginx-service-type\n"
  37551. " (nginx-configuration\n"
  37552. " (server-blocks\n"
  37553. " (list (nginx-server-configuration\n"
  37554. " (server-name '(\"www.example.com\"))\n"
  37555. " (root \"/srv/http/www.example.com\")\n"
  37556. " (locations\n"
  37557. " (list\n"
  37558. " (nginx-location-configuration\n"
  37559. " (uri \"/path1\")\n"
  37560. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  37561. " (upstream-blocks\n"
  37562. " (list (nginx-upstream-configuration\n"
  37563. " (name \"server-proxy\")\n"
  37564. " (servers (list \"server1.example.com\"\n"
  37565. " \"server2.example.com\")))))))\n"
  37566. msgstr ""
  37567. #. type: table
  37568. #: guix-git/doc/guix.texi:25362
  37569. 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."
  37570. msgstr ""
  37571. #. type: table
  37572. #: guix-git/doc/guix.texi:25366
  37573. 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."
  37574. msgstr ""
  37575. #. type: item
  37576. #: guix-git/doc/guix.texi:25367
  37577. #, no-wrap
  37578. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  37579. msgstr ""
  37580. #. type: table
  37581. #: guix-git/doc/guix.texi:25370
  37582. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  37583. msgstr ""
  37584. #. type: item
  37585. #: guix-git/doc/guix.texi:25371
  37586. #, no-wrap
  37587. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  37588. msgstr ""
  37589. #. type: table
  37590. #: guix-git/doc/guix.texi:25373
  37591. msgid "Maximum bucket size for the server names hash tables."
  37592. msgstr ""
  37593. #. type: table
  37594. #: guix-git/doc/guix.texi:25377
  37595. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  37596. msgstr ""
  37597. #. type: lisp
  37598. #: guix-git/doc/guix.texi:25385
  37599. #, no-wrap
  37600. msgid ""
  37601. "(modules\n"
  37602. " (list\n"
  37603. " (file-append nginx-accept-language-module \"\\\n"
  37604. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  37605. " (file-append nginx-lua-module \"\\\n"
  37606. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  37607. msgstr ""
  37608. #. type: item
  37609. #: guix-git/doc/guix.texi:25387
  37610. #, no-wrap
  37611. msgid "@code{lua-package-path} (default: @code{'()})"
  37612. msgstr ""
  37613. #. type: table
  37614. #: guix-git/doc/guix.texi:25390
  37615. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  37616. msgstr ""
  37617. #. type: lisp
  37618. #: guix-git/doc/guix.texi:25397
  37619. #, no-wrap
  37620. msgid ""
  37621. "(lua-package-path (list lua-resty-core\n"
  37622. " lua-resty-lrucache\n"
  37623. " lua-resty-signal\n"
  37624. " lua-tablepool\n"
  37625. " lua-resty-shell))\n"
  37626. msgstr ""
  37627. #. type: item
  37628. #: guix-git/doc/guix.texi:25399
  37629. #, no-wrap
  37630. msgid "@code{lua-package-cpath} (default: @code{'()})"
  37631. msgstr ""
  37632. #. type: table
  37633. #: guix-git/doc/guix.texi:25402
  37634. 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:"
  37635. msgstr ""
  37636. #. type: lisp
  37637. #: guix-git/doc/guix.texi:25405
  37638. #, no-wrap
  37639. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  37640. msgstr ""
  37641. #. type: item
  37642. #: guix-git/doc/guix.texi:25407
  37643. #, no-wrap
  37644. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  37645. msgstr ""
  37646. #. type: table
  37647. #: guix-git/doc/guix.texi:25410
  37648. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  37649. msgstr ""
  37650. #. type: lisp
  37651. #: guix-git/doc/guix.texi:25416
  37652. #, no-wrap
  37653. msgid ""
  37654. "(global-directives\n"
  37655. " `((worker_processes . 16)\n"
  37656. " (pcre_jit . on)\n"
  37657. " (events . ((worker_connections . 1024)))))\n"
  37658. msgstr ""
  37659. #. type: table
  37660. #: guix-git/doc/guix.texi:25421
  37661. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  37662. msgstr ""
  37663. #. type: deftp
  37664. #: guix-git/doc/guix.texi:25425
  37665. #, no-wrap
  37666. msgid "{Data Type} nginx-server-configuration"
  37667. msgstr ""
  37668. #. type: deftp
  37669. #: guix-git/doc/guix.texi:25428
  37670. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  37671. msgstr ""
  37672. #. type: item
  37673. #: guix-git/doc/guix.texi:25430
  37674. #, no-wrap
  37675. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  37676. msgstr ""
  37677. #. type: table
  37678. #: guix-git/doc/guix.texi:25435
  37679. 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:"
  37680. msgstr ""
  37681. #. type: lisp
  37682. #: guix-git/doc/guix.texi:25438
  37683. #, no-wrap
  37684. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  37685. msgstr ""
  37686. #. type: item
  37687. #: guix-git/doc/guix.texi:25440
  37688. #, no-wrap
  37689. msgid "@code{server-name} (default: @code{(list 'default)})"
  37690. msgstr ""
  37691. #. type: table
  37692. #: guix-git/doc/guix.texi:25443
  37693. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  37694. msgstr ""
  37695. #. type: item
  37696. #: guix-git/doc/guix.texi:25444
  37697. #, no-wrap
  37698. msgid "@code{root} (default: @code{\"/srv/http\"})"
  37699. msgstr ""
  37700. #. type: table
  37701. #: guix-git/doc/guix.texi:25446
  37702. msgid "Root of the website nginx will serve."
  37703. msgstr ""
  37704. #. type: item
  37705. #: guix-git/doc/guix.texi:25447
  37706. #, no-wrap
  37707. msgid "@code{locations} (default: @code{'()})"
  37708. msgstr ""
  37709. #. type: table
  37710. #: guix-git/doc/guix.texi:25451
  37711. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  37712. msgstr ""
  37713. #. type: item
  37714. #: guix-git/doc/guix.texi:25452
  37715. #, no-wrap
  37716. msgid "@code{index} (default: @code{(list \"index.html\")})"
  37717. msgstr ""
  37718. #. type: table
  37719. #: guix-git/doc/guix.texi:25455
  37720. 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."
  37721. msgstr ""
  37722. #. type: item
  37723. #: guix-git/doc/guix.texi:25456
  37724. #, no-wrap
  37725. msgid "@code{try-files} (default: @code{'()})"
  37726. msgstr ""
  37727. #. type: table
  37728. #: guix-git/doc/guix.texi:25459
  37729. 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."
  37730. msgstr ""
  37731. #. type: item
  37732. #: guix-git/doc/guix.texi:25460
  37733. #, no-wrap
  37734. msgid "@code{ssl-certificate} (default: @code{#f})"
  37735. msgstr ""
  37736. #. type: table
  37737. #: guix-git/doc/guix.texi:25463
  37738. 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."
  37739. msgstr ""
  37740. #. type: item
  37741. #: guix-git/doc/guix.texi:25464
  37742. #, no-wrap
  37743. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  37744. msgstr ""
  37745. #. type: table
  37746. #: guix-git/doc/guix.texi:25467
  37747. 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."
  37748. msgstr ""
  37749. #. type: item
  37750. #: guix-git/doc/guix.texi:25468
  37751. #, no-wrap
  37752. msgid "@code{server-tokens?} (default: @code{#f})"
  37753. msgstr ""
  37754. #. type: table
  37755. #: guix-git/doc/guix.texi:25470
  37756. msgid "Whether the server should add its configuration to response."
  37757. msgstr ""
  37758. #. type: item
  37759. #: guix-git/doc/guix.texi:25471
  37760. #, no-wrap
  37761. msgid "@code{raw-content} (default: @code{'()})"
  37762. msgstr ""
  37763. #. type: table
  37764. #: guix-git/doc/guix.texi:25473
  37765. msgid "A list of raw lines added to the server block."
  37766. msgstr ""
  37767. #. type: deftp
  37768. #: guix-git/doc/guix.texi:25477
  37769. #, no-wrap
  37770. msgid "{Data Type} nginx-upstream-configuration"
  37771. msgstr ""
  37772. #. type: deftp
  37773. #: guix-git/doc/guix.texi:25480
  37774. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  37775. msgstr ""
  37776. #. type: table
  37777. #: guix-git/doc/guix.texi:25484
  37778. msgid "Name for this group of servers."
  37779. msgstr ""
  37780. #. type: code{#1}
  37781. #: guix-git/doc/guix.texi:25485
  37782. #, no-wrap
  37783. msgid "servers"
  37784. msgstr ""
  37785. #. type: table
  37786. #: guix-git/doc/guix.texi:25492
  37787. 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."
  37788. msgstr ""
  37789. #. type: deftp
  37790. #: guix-git/doc/guix.texi:25496
  37791. #, no-wrap
  37792. msgid "{Data Type} nginx-location-configuration"
  37793. msgstr ""
  37794. #. type: deftp
  37795. #: guix-git/doc/guix.texi:25499
  37796. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  37797. msgstr ""
  37798. #. type: table
  37799. #: guix-git/doc/guix.texi:25503
  37800. msgid "URI which this location block matches."
  37801. msgstr ""
  37802. #. type: anchor{#1}
  37803. #: guix-git/doc/guix.texi:25505
  37804. msgid "nginx-location-configuration body"
  37805. msgstr ""
  37806. #. type: code{#1}
  37807. #: guix-git/doc/guix.texi:25505 guix-git/doc/guix.texi:25526
  37808. #, no-wrap
  37809. msgid "body"
  37810. msgstr ""
  37811. #. type: table
  37812. #: guix-git/doc/guix.texi:25512
  37813. 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;\")}."
  37814. msgstr ""
  37815. #. type: deftp
  37816. #: guix-git/doc/guix.texi:25516
  37817. #, no-wrap
  37818. msgid "{Data Type} nginx-named-location-configuration"
  37819. msgstr ""
  37820. #. type: deftp
  37821. #: guix-git/doc/guix.texi:25521
  37822. 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:"
  37823. msgstr ""
  37824. #. type: table
  37825. #: guix-git/doc/guix.texi:25525
  37826. msgid "Name to identify this location block."
  37827. msgstr ""
  37828. #. type: table
  37829. #: guix-git/doc/guix.texi:25531
  37830. 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."
  37831. msgstr ""
  37832. #. type: subsubheading
  37833. #: guix-git/doc/guix.texi:25535
  37834. #, no-wrap
  37835. msgid "Varnish Cache"
  37836. msgstr ""
  37837. #. type: cindex
  37838. #: guix-git/doc/guix.texi:25536
  37839. #, no-wrap
  37840. msgid "Varnish"
  37841. msgstr ""
  37842. #. type: Plain text
  37843. #: guix-git/doc/guix.texi:25541
  37844. 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."
  37845. msgstr ""
  37846. #. type: defvr
  37847. #: guix-git/doc/guix.texi:25542
  37848. #, no-wrap
  37849. msgid "{Scheme Variable} varnish-service-type"
  37850. msgstr ""
  37851. #. type: defvr
  37852. #: guix-git/doc/guix.texi:25544
  37853. msgid "Service type for the Varnish daemon."
  37854. msgstr ""
  37855. #. type: deftp
  37856. #: guix-git/doc/guix.texi:25546
  37857. #, no-wrap
  37858. msgid "{Data Type} varnish-configuration"
  37859. msgstr ""
  37860. #. type: deftp
  37861. #: guix-git/doc/guix.texi:25549
  37862. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  37863. msgstr ""
  37864. #. type: item
  37865. #: guix-git/doc/guix.texi:25551
  37866. #, no-wrap
  37867. msgid "@code{package} (default: @code{varnish})"
  37868. msgstr ""
  37869. #. type: table
  37870. #: guix-git/doc/guix.texi:25553
  37871. msgid "The Varnish package to use."
  37872. msgstr ""
  37873. #. type: item
  37874. #: guix-git/doc/guix.texi:25554
  37875. #, no-wrap
  37876. msgid "@code{name} (default: @code{\"default\"})"
  37877. msgstr ""
  37878. #. type: table
  37879. #: guix-git/doc/guix.texi:25559
  37880. 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."
  37881. msgstr ""
  37882. #. type: table
  37883. #: guix-git/doc/guix.texi:25562
  37884. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  37885. msgstr ""
  37886. #. type: item
  37887. #: guix-git/doc/guix.texi:25563
  37888. #, no-wrap
  37889. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  37890. msgstr ""
  37891. #. type: table
  37892. #: guix-git/doc/guix.texi:25565
  37893. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  37894. msgstr ""
  37895. #. type: item
  37896. #: guix-git/doc/guix.texi:25566
  37897. #, no-wrap
  37898. msgid "@code{vcl} (default: #f)"
  37899. msgstr ""
  37900. #. type: table
  37901. #: guix-git/doc/guix.texi:25571
  37902. 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."
  37903. msgstr ""
  37904. #. type: table
  37905. #: guix-git/doc/guix.texi:25575
  37906. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  37907. msgstr ""
  37908. #. type: lisp
  37909. #: guix-git/doc/guix.texi:25581
  37910. #, no-wrap
  37911. msgid ""
  37912. "(define %gnu-mirror\n"
  37913. " (plain-file \"gnu.vcl\"\n"
  37914. " \"vcl 4.1;\n"
  37915. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  37916. "\n"
  37917. msgstr ""
  37918. #. type: lisp
  37919. #: guix-git/doc/guix.texi:25589
  37920. #, no-wrap
  37921. msgid ""
  37922. "(operating-system\n"
  37923. " ;; @dots{}\n"
  37924. " (services (cons (service varnish-service-type\n"
  37925. " (varnish-configuration\n"
  37926. " (listen '(\":80\"))\n"
  37927. " (vcl %gnu-mirror)))\n"
  37928. " %base-services)))\n"
  37929. msgstr ""
  37930. #. type: table
  37931. #: guix-git/doc/guix.texi:25593
  37932. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  37933. msgstr ""
  37934. #. type: table
  37935. #: guix-git/doc/guix.texi:25597
  37936. 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."
  37937. msgstr ""
  37938. #. type: item
  37939. #: guix-git/doc/guix.texi:25598
  37940. #, no-wrap
  37941. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  37942. msgstr ""
  37943. #. type: table
  37944. #: guix-git/doc/guix.texi:25600
  37945. msgid "List of addresses Varnish will listen on."
  37946. msgstr ""
  37947. #. type: item
  37948. #: guix-git/doc/guix.texi:25601
  37949. #, no-wrap
  37950. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  37951. msgstr ""
  37952. #. type: table
  37953. #: guix-git/doc/guix.texi:25603
  37954. msgid "List of storage backends that will be available in VCL."
  37955. msgstr ""
  37956. #. type: item
  37957. #: guix-git/doc/guix.texi:25604
  37958. #, no-wrap
  37959. msgid "@code{parameters} (default: @code{'()})"
  37960. msgstr ""
  37961. #. type: table
  37962. #: guix-git/doc/guix.texi:25606
  37963. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  37964. msgstr ""
  37965. #. type: table
  37966. #: guix-git/doc/guix.texi:25609
  37967. msgid "Additional arguments to pass to the @command{varnishd} process."
  37968. msgstr ""
  37969. #. type: cindex
  37970. #: guix-git/doc/guix.texi:25613 guix-git/doc/guix.texi:25614
  37971. #, no-wrap
  37972. msgid "Patchwork"
  37973. msgstr ""
  37974. #. type: Plain text
  37975. #: guix-git/doc/guix.texi:25617
  37976. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  37977. msgstr ""
  37978. #. type: defvr
  37979. #: guix-git/doc/guix.texi:25618
  37980. #, no-wrap
  37981. msgid "{Scheme Variable} patchwork-service-type"
  37982. msgstr ""
  37983. #. type: defvr
  37984. #: guix-git/doc/guix.texi:25620
  37985. msgid "Service type for Patchwork."
  37986. msgstr ""
  37987. #. type: Plain text
  37988. #: guix-git/doc/guix.texi:25624
  37989. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  37990. msgstr ""
  37991. #. type: lisp
  37992. #: guix-git/doc/guix.texi:25644
  37993. #, no-wrap
  37994. msgid ""
  37995. "(service patchwork-service-type\n"
  37996. " (patchwork-configuration\n"
  37997. " (domain \"patchwork.example.com\")\n"
  37998. " (settings-module\n"
  37999. " (patchwork-settings-module\n"
  38000. " (allowed-hosts (list domain))\n"
  38001. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  38002. " (getmail-retriever-config\n"
  38003. " (getmail-retriever-configuration\n"
  38004. " (type \"SimpleIMAPSSLRetriever\")\n"
  38005. " (server \"imap.example.com\")\n"
  38006. " (port 993)\n"
  38007. " (username \"patchwork\")\n"
  38008. " (password-command\n"
  38009. " (list (file-append coreutils \"/bin/cat\")\n"
  38010. " \"/etc/getmail-patchwork-imap-password\"))\n"
  38011. " (extra-parameters\n"
  38012. " '((mailboxes . (\"Patches\"))))))))\n"
  38013. "\n"
  38014. msgstr ""
  38015. #. type: Plain text
  38016. #: guix-git/doc/guix.texi:25650
  38017. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  38018. msgstr ""
  38019. #. type: Plain text
  38020. #: guix-git/doc/guix.texi:25654
  38021. 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."
  38022. msgstr ""
  38023. #. type: Plain text
  38024. #: guix-git/doc/guix.texi:25658
  38025. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  38026. msgstr ""
  38027. #. type: deftp
  38028. #: guix-git/doc/guix.texi:25659
  38029. #, no-wrap
  38030. msgid "{Data Type} patchwork-configuration"
  38031. msgstr ""
  38032. #. type: deftp
  38033. #: guix-git/doc/guix.texi:25662
  38034. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  38035. msgstr ""
  38036. #. type: item
  38037. #: guix-git/doc/guix.texi:25664
  38038. #, no-wrap
  38039. msgid "@code{patchwork} (default: @code{patchwork})"
  38040. msgstr ""
  38041. #. type: table
  38042. #: guix-git/doc/guix.texi:25666
  38043. msgid "The Patchwork package to use."
  38044. msgstr ""
  38045. #. type: code{#1}
  38046. #: guix-git/doc/guix.texi:25667
  38047. #, no-wrap
  38048. msgid "domain"
  38049. msgstr ""
  38050. #. type: table
  38051. #: guix-git/doc/guix.texi:25670
  38052. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  38053. msgstr ""
  38054. #. type: code{#1}
  38055. #: guix-git/doc/guix.texi:25671
  38056. #, no-wrap
  38057. msgid "settings-module"
  38058. msgstr ""
  38059. #. type: table
  38060. #: guix-git/doc/guix.texi:25677
  38061. 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."
  38062. msgstr ""
  38063. #. type: item
  38064. #: guix-git/doc/guix.texi:25678
  38065. #, no-wrap
  38066. msgid "@code{static-path} (default: @code{\"/static/\"})"
  38067. msgstr ""
  38068. #. type: table
  38069. #: guix-git/doc/guix.texi:25680
  38070. msgid "The path under which the HTTPD service should serve the static files."
  38071. msgstr ""
  38072. #. type: code{#1}
  38073. #: guix-git/doc/guix.texi:25681
  38074. #, no-wrap
  38075. msgid "getmail-retriever-config"
  38076. msgstr ""
  38077. #. type: table
  38078. #: guix-git/doc/guix.texi:25685
  38079. 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."
  38080. msgstr ""
  38081. #. type: deftp
  38082. #: guix-git/doc/guix.texi:25689
  38083. #, no-wrap
  38084. msgid "{Data Type} patchwork-settings-module"
  38085. msgstr ""
  38086. #. type: deftp
  38087. #: guix-git/doc/guix.texi:25694
  38088. 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:"
  38089. msgstr ""
  38090. #. type: item
  38091. #: guix-git/doc/guix.texi:25696
  38092. #, no-wrap
  38093. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  38094. msgstr ""
  38095. #. type: table
  38096. #: guix-git/doc/guix.texi:25699
  38097. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  38098. msgstr ""
  38099. #. type: item
  38100. #: guix-git/doc/guix.texi:25700
  38101. #, no-wrap
  38102. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  38103. msgstr ""
  38104. #. type: table
  38105. #: guix-git/doc/guix.texi:25703
  38106. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  38107. msgstr ""
  38108. #. type: table
  38109. #: guix-git/doc/guix.texi:25706
  38110. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  38111. msgstr ""
  38112. #. type: table
  38113. #: guix-git/doc/guix.texi:25708
  38114. msgid "This setting relates to Django."
  38115. msgstr ""
  38116. #. type: code{#1}
  38117. #: guix-git/doc/guix.texi:25709
  38118. #, no-wrap
  38119. msgid "allowed-hosts"
  38120. msgstr ""
  38121. #. type: table
  38122. #: guix-git/doc/guix.texi:25712
  38123. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  38124. msgstr ""
  38125. #. type: table
  38126. #: guix-git/doc/guix.texi:25714 guix-git/doc/guix.texi:25728
  38127. #: guix-git/doc/guix.texi:25734 guix-git/doc/guix.texi:25740
  38128. msgid "This is a Django setting."
  38129. msgstr ""
  38130. #. type: code{#1}
  38131. #: guix-git/doc/guix.texi:25715
  38132. #, no-wrap
  38133. msgid "default-from-email"
  38134. msgstr ""
  38135. #. type: table
  38136. #: guix-git/doc/guix.texi:25717
  38137. msgid "The email address from which Patchwork should send email by default."
  38138. msgstr ""
  38139. #. type: table
  38140. #: guix-git/doc/guix.texi:25719 guix-git/doc/guix.texi:25745
  38141. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25755
  38142. msgid "This is a Patchwork setting."
  38143. msgstr ""
  38144. #. type: item
  38145. #: guix-git/doc/guix.texi:25720
  38146. #, no-wrap
  38147. msgid "@code{static-url} (default: @code{#f})"
  38148. msgstr ""
  38149. #. type: table
  38150. #: guix-git/doc/guix.texi:25723
  38151. 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{/}."
  38152. msgstr ""
  38153. #. type: table
  38154. #: guix-git/doc/guix.texi:25726
  38155. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  38156. msgstr ""
  38157. #. type: item
  38158. #: guix-git/doc/guix.texi:25729
  38159. #, no-wrap
  38160. msgid "@code{admins} (default: @code{'()})"
  38161. msgstr ""
  38162. #. type: table
  38163. #: guix-git/doc/guix.texi:25732
  38164. 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."
  38165. msgstr ""
  38166. #. type: table
  38167. #: guix-git/doc/guix.texi:25738
  38168. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  38169. msgstr ""
  38170. #. type: item
  38171. #: guix-git/doc/guix.texi:25741
  38172. #, no-wrap
  38173. msgid "@code{enable-rest-api?} (default: @code{#t})"
  38174. msgstr ""
  38175. #. type: table
  38176. #: guix-git/doc/guix.texi:25743
  38177. msgid "Whether to enable the Patchwork REST API."
  38178. msgstr ""
  38179. #. type: item
  38180. #: guix-git/doc/guix.texi:25746
  38181. #, no-wrap
  38182. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  38183. msgstr ""
  38184. #. type: table
  38185. #: guix-git/doc/guix.texi:25748
  38186. msgid "Whether to enable the XML RPC API."
  38187. msgstr ""
  38188. #. type: item
  38189. #: guix-git/doc/guix.texi:25751
  38190. #, no-wrap
  38191. msgid "@code{force-https-links?} (default: @code{#t})"
  38192. msgstr ""
  38193. #. type: table
  38194. #: guix-git/doc/guix.texi:25753
  38195. msgid "Whether to use HTTPS links on Patchwork pages."
  38196. msgstr ""
  38197. #. type: table
  38198. #: guix-git/doc/guix.texi:25758
  38199. msgid "Extra code to place at the end of the Patchwork settings module."
  38200. msgstr ""
  38201. #. type: deftp
  38202. #: guix-git/doc/guix.texi:25762
  38203. #, no-wrap
  38204. msgid "{Data Type} patchwork-database-configuration"
  38205. msgstr ""
  38206. #. type: deftp
  38207. #: guix-git/doc/guix.texi:25764
  38208. msgid "Data type representing the database configuration for Patchwork."
  38209. msgstr ""
  38210. #. type: item
  38211. #: guix-git/doc/guix.texi:25766
  38212. #, no-wrap
  38213. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  38214. msgstr ""
  38215. #. type: table
  38216. #: guix-git/doc/guix.texi:25768
  38217. msgid "The database engine to use."
  38218. msgstr ""
  38219. #. type: item
  38220. #: guix-git/doc/guix.texi:25769
  38221. #, no-wrap
  38222. msgid "@code{name} (default: @code{\"patchwork\"})"
  38223. msgstr ""
  38224. #. type: table
  38225. #: guix-git/doc/guix.texi:25771
  38226. msgid "The name of the database to use."
  38227. msgstr ""
  38228. #. type: table
  38229. #: guix-git/doc/guix.texi:25774
  38230. msgid "The user to connect to the database as."
  38231. msgstr ""
  38232. #. type: item
  38233. #: guix-git/doc/guix.texi:25775
  38234. #, no-wrap
  38235. msgid "@code{password} (default: @code{\"\"})"
  38236. msgstr ""
  38237. #. type: table
  38238. #: guix-git/doc/guix.texi:25777
  38239. msgid "The password to use when connecting to the database."
  38240. msgstr ""
  38241. #. type: item
  38242. #: guix-git/doc/guix.texi:25778
  38243. #, no-wrap
  38244. msgid "@code{host} (default: @code{\"\"})"
  38245. msgstr ""
  38246. #. type: table
  38247. #: guix-git/doc/guix.texi:25780
  38248. msgid "The host to make the database connection to."
  38249. msgstr ""
  38250. #. type: item
  38251. #: guix-git/doc/guix.texi:25781
  38252. #, no-wrap
  38253. msgid "@code{port} (default: @code{\"\"})"
  38254. msgstr ""
  38255. #. type: table
  38256. #: guix-git/doc/guix.texi:25783
  38257. msgid "The port on which to connect to the database."
  38258. msgstr ""
  38259. #. type: subsubheading
  38260. #: guix-git/doc/guix.texi:25787
  38261. #, no-wrap
  38262. msgid "Mumi"
  38263. msgstr ""
  38264. #. type: cindex
  38265. #: guix-git/doc/guix.texi:25789
  38266. #, no-wrap
  38267. msgid "Mumi, Debbugs Web interface"
  38268. msgstr ""
  38269. #. type: cindex
  38270. #: guix-git/doc/guix.texi:25790
  38271. #, no-wrap
  38272. msgid "Debbugs, Mumi Web interface"
  38273. msgstr ""
  38274. #. type: Plain text
  38275. #: guix-git/doc/guix.texi:25795
  38276. 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."
  38277. msgstr ""
  38278. #. type: defvr
  38279. #: guix-git/doc/guix.texi:25796
  38280. #, no-wrap
  38281. msgid "{Scheme Variable} mumi-service-type"
  38282. msgstr ""
  38283. #. type: defvr
  38284. #: guix-git/doc/guix.texi:25798
  38285. msgid "This is the service type for Mumi."
  38286. msgstr ""
  38287. #. type: deftp
  38288. #: guix-git/doc/guix.texi:25800
  38289. #, no-wrap
  38290. msgid "{Data Type} mumi-configuration"
  38291. msgstr ""
  38292. #. type: deftp
  38293. #: guix-git/doc/guix.texi:25803
  38294. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  38295. msgstr ""
  38296. #. type: item
  38297. #: guix-git/doc/guix.texi:25805
  38298. #, no-wrap
  38299. msgid "@code{mumi} (default: @code{mumi})"
  38300. msgstr ""
  38301. #. type: table
  38302. #: guix-git/doc/guix.texi:25807
  38303. msgid "The Mumi package to use."
  38304. msgstr ""
  38305. #. type: item
  38306. #: guix-git/doc/guix.texi:25808
  38307. #, no-wrap
  38308. msgid "@code{mailer?} (default: @code{#true})"
  38309. msgstr ""
  38310. #. type: table
  38311. #: guix-git/doc/guix.texi:25810
  38312. msgid "Whether to enable or disable the mailer component."
  38313. msgstr ""
  38314. #. type: code{#1}
  38315. #: guix-git/doc/guix.texi:25811
  38316. #, no-wrap
  38317. msgid "mumi-configuration-sender"
  38318. msgstr ""
  38319. #. type: table
  38320. #: guix-git/doc/guix.texi:25813
  38321. msgid "The email address used as the sender for comments."
  38322. msgstr ""
  38323. #. type: code{#1}
  38324. #: guix-git/doc/guix.texi:25814
  38325. #, no-wrap
  38326. msgid "mumi-configuration-smtp"
  38327. msgstr ""
  38328. #. type: table
  38329. #: guix-git/doc/guix.texi:25819
  38330. 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}."
  38331. msgstr ""
  38332. #. type: subsubheading
  38333. #: guix-git/doc/guix.texi:25824
  38334. #, no-wrap
  38335. msgid "FastCGI"
  38336. msgstr ""
  38337. #. type: cindex
  38338. #: guix-git/doc/guix.texi:25825
  38339. #, no-wrap
  38340. msgid "fastcgi"
  38341. msgstr ""
  38342. #. type: cindex
  38343. #: guix-git/doc/guix.texi:25826
  38344. #, no-wrap
  38345. msgid "fcgiwrap"
  38346. msgstr ""
  38347. #. type: Plain text
  38348. #: guix-git/doc/guix.texi:25833
  38349. 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."
  38350. msgstr ""
  38351. #. type: Plain text
  38352. #: guix-git/doc/guix.texi:25840
  38353. 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."
  38354. msgstr ""
  38355. #. type: defvr
  38356. #: guix-git/doc/guix.texi:25841
  38357. #, no-wrap
  38358. msgid "{Scheme Variable} fcgiwrap-service-type"
  38359. msgstr ""
  38360. #. type: defvr
  38361. #: guix-git/doc/guix.texi:25843
  38362. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  38363. msgstr ""
  38364. #. type: deftp
  38365. #: guix-git/doc/guix.texi:25845
  38366. #, no-wrap
  38367. msgid "{Data Type} fcgiwrap-configuration"
  38368. msgstr ""
  38369. #. type: deftp
  38370. #: guix-git/doc/guix.texi:25848
  38371. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  38372. msgstr ""
  38373. #. type: item
  38374. #: guix-git/doc/guix.texi:25849
  38375. #, no-wrap
  38376. msgid "@code{package} (default: @code{fcgiwrap})"
  38377. msgstr ""
  38378. #. type: table
  38379. #: guix-git/doc/guix.texi:25851
  38380. msgid "The fcgiwrap package to use."
  38381. msgstr ""
  38382. #. type: item
  38383. #: guix-git/doc/guix.texi:25852
  38384. #, no-wrap
  38385. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  38386. msgstr ""
  38387. #. type: table
  38388. #: guix-git/doc/guix.texi:25858
  38389. 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}."
  38390. msgstr ""
  38391. #. type: item
  38392. #: guix-git/doc/guix.texi:25859
  38393. #, no-wrap
  38394. msgid "@code{user} (default: @code{fcgiwrap})"
  38395. msgstr ""
  38396. #. type: itemx
  38397. #: guix-git/doc/guix.texi:25860
  38398. #, no-wrap
  38399. msgid "@code{group} (default: @code{fcgiwrap})"
  38400. msgstr ""
  38401. #. type: table
  38402. #: guix-git/doc/guix.texi:25865
  38403. 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."
  38404. msgstr ""
  38405. #. type: table
  38406. #: guix-git/doc/guix.texi:25872
  38407. 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."
  38408. msgstr ""
  38409. #. type: cindex
  38410. #: guix-git/doc/guix.texi:25875
  38411. #, no-wrap
  38412. msgid "php-fpm"
  38413. msgstr ""
  38414. #. type: Plain text
  38415. #: guix-git/doc/guix.texi:25878
  38416. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  38417. msgstr ""
  38418. #. type: Plain text
  38419. #: guix-git/doc/guix.texi:25880
  38420. msgid "These features include:"
  38421. msgstr ""
  38422. #. type: item
  38423. #: guix-git/doc/guix.texi:25881
  38424. #, no-wrap
  38425. msgid "Adaptive process spawning"
  38426. msgstr ""
  38427. #. type: item
  38428. #: guix-git/doc/guix.texi:25882
  38429. #, no-wrap
  38430. msgid "Basic statistics (similar to Apache's mod_status)"
  38431. msgstr ""
  38432. #. type: item
  38433. #: guix-git/doc/guix.texi:25883
  38434. #, no-wrap
  38435. msgid "Advanced process management with graceful stop/start"
  38436. msgstr ""
  38437. #. type: item
  38438. #: guix-git/doc/guix.texi:25884
  38439. #, no-wrap
  38440. msgid "Ability to start workers with different uid/gid/chroot/environment"
  38441. msgstr ""
  38442. #. type: itemize
  38443. #: guix-git/doc/guix.texi:25886
  38444. msgid "and different php.ini (replaces safe_mode)"
  38445. msgstr ""
  38446. #. type: item
  38447. #: guix-git/doc/guix.texi:25886
  38448. #, no-wrap
  38449. msgid "Stdout & stderr logging"
  38450. msgstr ""
  38451. #. type: item
  38452. #: guix-git/doc/guix.texi:25887
  38453. #, no-wrap
  38454. msgid "Emergency restart in case of accidental opcode cache destruction"
  38455. msgstr ""
  38456. #. type: item
  38457. #: guix-git/doc/guix.texi:25888
  38458. #, no-wrap
  38459. msgid "Accelerated upload support"
  38460. msgstr ""
  38461. #. type: item
  38462. #: guix-git/doc/guix.texi:25889
  38463. #, no-wrap
  38464. msgid "Support for a \"slowlog\""
  38465. msgstr ""
  38466. #. type: item
  38467. #: guix-git/doc/guix.texi:25890
  38468. #, no-wrap
  38469. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  38470. msgstr ""
  38471. #. type: itemize
  38472. #: guix-git/doc/guix.texi:25893
  38473. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  38474. msgstr ""
  38475. #. type: Plain text
  38476. #: guix-git/doc/guix.texi:25895
  38477. msgid "...@: and much more."
  38478. msgstr ""
  38479. #. type: defvr
  38480. #: guix-git/doc/guix.texi:25896
  38481. #, no-wrap
  38482. msgid "{Scheme Variable} php-fpm-service-type"
  38483. msgstr ""
  38484. #. type: defvr
  38485. #: guix-git/doc/guix.texi:25898
  38486. msgid "A Service type for @code{php-fpm}."
  38487. msgstr ""
  38488. #. type: deftp
  38489. #: guix-git/doc/guix.texi:25900
  38490. #, no-wrap
  38491. msgid "{Data Type} php-fpm-configuration"
  38492. msgstr ""
  38493. #. type: deftp
  38494. #: guix-git/doc/guix.texi:25902
  38495. msgid "Data Type for php-fpm service configuration."
  38496. msgstr ""
  38497. #. type: item
  38498. #: guix-git/doc/guix.texi:25903
  38499. #, no-wrap
  38500. msgid "@code{php} (default: @code{php})"
  38501. msgstr ""
  38502. #. type: table
  38503. #: guix-git/doc/guix.texi:25905
  38504. msgid "The php package to use."
  38505. msgstr ""
  38506. #. type: item
  38507. #: guix-git/doc/guix.texi:25905
  38508. #, no-wrap
  38509. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  38510. msgstr ""
  38511. #. type: table
  38512. #: guix-git/doc/guix.texi:25907
  38513. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  38514. msgstr ""
  38515. #. type: code{#1}
  38516. #: guix-git/doc/guix.texi:25908
  38517. #, no-wrap
  38518. msgid "\"ip.add.re.ss:port\""
  38519. msgstr ""
  38520. #. type: table
  38521. #: guix-git/doc/guix.texi:25910
  38522. msgid "Listen on a TCP socket to a specific address on a specific port."
  38523. msgstr ""
  38524. #. type: code{#1}
  38525. #: guix-git/doc/guix.texi:25910
  38526. #, no-wrap
  38527. msgid "\"port\""
  38528. msgstr ""
  38529. #. type: table
  38530. #: guix-git/doc/guix.texi:25912
  38531. msgid "Listen on a TCP socket to all addresses on a specific port."
  38532. msgstr ""
  38533. #. type: code{#1}
  38534. #: guix-git/doc/guix.texi:25912
  38535. #, no-wrap
  38536. msgid "\"/path/to/unix/socket\""
  38537. msgstr ""
  38538. #. type: table
  38539. #: guix-git/doc/guix.texi:25914
  38540. msgid "Listen on a unix socket."
  38541. msgstr ""
  38542. #. type: item
  38543. #: guix-git/doc/guix.texi:25916
  38544. #, no-wrap
  38545. msgid "@code{user} (default: @code{php-fpm})"
  38546. msgstr ""
  38547. #. type: table
  38548. #: guix-git/doc/guix.texi:25918
  38549. msgid "User who will own the php worker processes."
  38550. msgstr ""
  38551. #. type: item
  38552. #: guix-git/doc/guix.texi:25918
  38553. #, no-wrap
  38554. msgid "@code{group} (default: @code{php-fpm})"
  38555. msgstr ""
  38556. #. type: table
  38557. #: guix-git/doc/guix.texi:25920
  38558. msgid "Group of the worker processes."
  38559. msgstr ""
  38560. #. type: item
  38561. #: guix-git/doc/guix.texi:25920
  38562. #, no-wrap
  38563. msgid "@code{socket-user} (default: @code{php-fpm})"
  38564. msgstr ""
  38565. #. type: table
  38566. #: guix-git/doc/guix.texi:25922
  38567. msgid "User who can speak to the php-fpm socket."
  38568. msgstr ""
  38569. #. type: item
  38570. #: guix-git/doc/guix.texi:25922
  38571. #, no-wrap
  38572. msgid "@code{socket-group} (default: @code{nginx})"
  38573. msgstr ""
  38574. #. type: table
  38575. #: guix-git/doc/guix.texi:25924
  38576. msgid "Group that can speak to the php-fpm socket."
  38577. msgstr ""
  38578. #. type: item
  38579. #: guix-git/doc/guix.texi:25924
  38580. #, no-wrap
  38581. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  38582. msgstr ""
  38583. #. type: table
  38584. #: guix-git/doc/guix.texi:25927
  38585. msgid "The process id of the php-fpm process is written to this file once the service has started."
  38586. msgstr ""
  38587. #. type: item
  38588. #: guix-git/doc/guix.texi:25927
  38589. #, no-wrap
  38590. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  38591. msgstr ""
  38592. #. type: table
  38593. #: guix-git/doc/guix.texi:25929
  38594. msgid "Log for the php-fpm master process."
  38595. msgstr ""
  38596. #. type: item
  38597. #: guix-git/doc/guix.texi:25929
  38598. #, no-wrap
  38599. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  38600. msgstr ""
  38601. #. type: table
  38602. #: guix-git/doc/guix.texi:25932
  38603. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  38604. msgstr ""
  38605. #. type: code{#1}
  38606. #: guix-git/doc/guix.texi:25933
  38607. #, no-wrap
  38608. msgid "<php-fpm-dynamic-process-manager-configuration>"
  38609. msgstr ""
  38610. #. type: code{#1}
  38611. #: guix-git/doc/guix.texi:25934
  38612. #, no-wrap
  38613. msgid "<php-fpm-static-process-manager-configuration>"
  38614. msgstr ""
  38615. #. type: code{#1}
  38616. #: guix-git/doc/guix.texi:25935
  38617. #, no-wrap
  38618. msgid "<php-fpm-on-demand-process-manager-configuration>"
  38619. msgstr ""
  38620. #. type: item
  38621. #: guix-git/doc/guix.texi:25937
  38622. #, no-wrap
  38623. msgid "@code{display-errors} (default @code{#f})"
  38624. msgstr ""
  38625. #. type: table
  38626. #: guix-git/doc/guix.texi:25942
  38627. 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."
  38628. msgstr ""
  38629. #. type: item
  38630. #: guix-git/doc/guix.texi:25942
  38631. #, no-wrap
  38632. msgid "@code{timezone} (default @code{#f})"
  38633. msgstr ""
  38634. #. type: table
  38635. #: guix-git/doc/guix.texi:25944
  38636. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  38637. msgstr ""
  38638. #. type: item
  38639. #: guix-git/doc/guix.texi:25944
  38640. #, no-wrap
  38641. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  38642. msgstr ""
  38643. #. type: table
  38644. #: guix-git/doc/guix.texi:25947
  38645. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  38646. msgstr ""
  38647. #. type: item
  38648. #: guix-git/doc/guix.texi:25947
  38649. #, no-wrap
  38650. msgid "@code{file} (default @code{#f})"
  38651. msgstr ""
  38652. #. type: table
  38653. #: guix-git/doc/guix.texi:25950
  38654. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  38655. msgstr ""
  38656. #. type: item
  38657. #: guix-git/doc/guix.texi:25950
  38658. #, no-wrap
  38659. msgid "@code{php-ini-file} (default @code{#f})"
  38660. msgstr ""
  38661. #. type: table
  38662. #: guix-git/doc/guix.texi:25954
  38663. 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."
  38664. msgstr ""
  38665. #. type: table
  38666. #: guix-git/doc/guix.texi:25958
  38667. 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:"
  38668. msgstr ""
  38669. #. type: lisp
  38670. #: guix-git/doc/guix.texi:25963
  38671. #, no-wrap
  38672. msgid ""
  38673. "(define %local-php-ini\n"
  38674. " (plain-file \"php.ini\"\n"
  38675. " \"memory_limit = 2G\n"
  38676. "max_execution_time = 1800\"))\n"
  38677. "\n"
  38678. msgstr ""
  38679. #. type: lisp
  38680. #: guix-git/doc/guix.texi:25970
  38681. #, no-wrap
  38682. msgid ""
  38683. "(operating-system\n"
  38684. " ;; @dots{}\n"
  38685. " (services (cons (service php-fpm-service-type\n"
  38686. " (php-fpm-configuration\n"
  38687. " (php-ini-file %local-php-ini)))\n"
  38688. " %base-services)))\n"
  38689. msgstr ""
  38690. #. type: table
  38691. #: guix-git/doc/guix.texi:25975
  38692. 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."
  38693. msgstr ""
  38694. #. type: deftp
  38695. #: guix-git/doc/guix.texi:25978
  38696. #, no-wrap
  38697. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  38698. msgstr ""
  38699. #. type: deftp
  38700. #: guix-git/doc/guix.texi:25982
  38701. 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."
  38702. msgstr ""
  38703. #. type: item
  38704. #: guix-git/doc/guix.texi:25983 guix-git/doc/guix.texi:25999
  38705. #: guix-git/doc/guix.texi:26009
  38706. #, no-wrap
  38707. msgid "@code{max-children} (default: @code{5})"
  38708. msgstr ""
  38709. #. type: table
  38710. #: guix-git/doc/guix.texi:25985 guix-git/doc/guix.texi:26001
  38711. #: guix-git/doc/guix.texi:26011
  38712. msgid "Maximum of worker processes."
  38713. msgstr ""
  38714. #. type: item
  38715. #: guix-git/doc/guix.texi:25985
  38716. #, no-wrap
  38717. msgid "@code{start-servers} (default: @code{2})"
  38718. msgstr ""
  38719. #. type: table
  38720. #: guix-git/doc/guix.texi:25987
  38721. msgid "How many worker processes should be started on start-up."
  38722. msgstr ""
  38723. #. type: item
  38724. #: guix-git/doc/guix.texi:25987
  38725. #, no-wrap
  38726. msgid "@code{min-spare-servers} (default: @code{1})"
  38727. msgstr ""
  38728. #. type: table
  38729. #: guix-git/doc/guix.texi:25989
  38730. msgid "How many spare worker processes should be kept around at minimum."
  38731. msgstr ""
  38732. #. type: item
  38733. #: guix-git/doc/guix.texi:25989
  38734. #, no-wrap
  38735. msgid "@code{max-spare-servers} (default: @code{3})"
  38736. msgstr ""
  38737. #. type: table
  38738. #: guix-git/doc/guix.texi:25991
  38739. msgid "How many spare worker processes should be kept around at maximum."
  38740. msgstr ""
  38741. #. type: deftp
  38742. #: guix-git/doc/guix.texi:25994
  38743. #, no-wrap
  38744. msgid "{Data type} php-fpm-static-process-manager-configuration"
  38745. msgstr ""
  38746. #. type: deftp
  38747. #: guix-git/doc/guix.texi:25998
  38748. 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."
  38749. msgstr ""
  38750. #. type: deftp
  38751. #: guix-git/doc/guix.texi:26004
  38752. #, no-wrap
  38753. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  38754. msgstr ""
  38755. #. type: deftp
  38756. #: guix-git/doc/guix.texi:26008
  38757. 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."
  38758. msgstr ""
  38759. #. type: item
  38760. #: guix-git/doc/guix.texi:26011
  38761. #, no-wrap
  38762. msgid "@code{process-idle-timeout} (default: @code{10})"
  38763. msgstr ""
  38764. #. type: table
  38765. #: guix-git/doc/guix.texi:26013
  38766. msgid "The time in seconds after which a process with no requests is killed."
  38767. msgstr ""
  38768. #. type: deffn
  38769. #: guix-git/doc/guix.texi:26017
  38770. #, no-wrap
  38771. msgid "{Scheme Procedure} nginx-php-location @"
  38772. msgstr ""
  38773. #. type: deffn
  38774. #: guix-git/doc/guix.texi:26023
  38775. 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}."
  38776. msgstr ""
  38777. #. type: Plain text
  38778. #: guix-git/doc/guix.texi:26026
  38779. msgid "A simple services setup for nginx with php can look like this:"
  38780. msgstr ""
  38781. #. type: lisp
  38782. #: guix-git/doc/guix.texi:26039
  38783. #, no-wrap
  38784. msgid ""
  38785. "(services (cons* (service dhcp-client-service-type)\n"
  38786. " (service php-fpm-service-type)\n"
  38787. " (service nginx-service-type\n"
  38788. " (nginx-server-configuration\n"
  38789. " (server-name '(\"example.com\"))\n"
  38790. " (root \"/srv/http/\")\n"
  38791. " (locations\n"
  38792. " (list (nginx-php-location)))\n"
  38793. " (listen '(\"80\"))\n"
  38794. " (ssl-certificate #f)\n"
  38795. " (ssl-certificate-key #f)))\n"
  38796. " %base-services))\n"
  38797. msgstr ""
  38798. #. type: cindex
  38799. #: guix-git/doc/guix.texi:26041
  38800. #, no-wrap
  38801. msgid "cat-avatar-generator"
  38802. msgstr ""
  38803. #. type: Plain text
  38804. #: guix-git/doc/guix.texi:26045
  38805. 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."
  38806. msgstr ""
  38807. #. type: deffn
  38808. #: guix-git/doc/guix.texi:26046
  38809. #, no-wrap
  38810. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  38811. msgstr ""
  38812. #. type: deffn
  38813. #: guix-git/doc/guix.texi:26054
  38814. 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."
  38815. msgstr ""
  38816. #. type: Plain text
  38817. #: guix-git/doc/guix.texi:26057
  38818. msgid "A simple setup for cat-avatar-generator can look like this:"
  38819. msgstr ""
  38820. #. type: lisp
  38821. #: guix-git/doc/guix.texi:26064
  38822. #, no-wrap
  38823. msgid ""
  38824. "(services (cons* (cat-avatar-generator-service\n"
  38825. " #:configuration\n"
  38826. " (nginx-server-configuration\n"
  38827. " (server-name '(\"example.com\"))))\n"
  38828. " ...\n"
  38829. " %base-services))\n"
  38830. msgstr ""
  38831. #. type: subsubheading
  38832. #: guix-git/doc/guix.texi:26066
  38833. #, no-wrap
  38834. msgid "Hpcguix-web"
  38835. msgstr ""
  38836. #. type: cindex
  38837. #: guix-git/doc/guix.texi:26068
  38838. #, no-wrap
  38839. msgid "hpcguix-web"
  38840. msgstr ""
  38841. #. type: Plain text
  38842. #: guix-git/doc/guix.texi:26073
  38843. 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."
  38844. msgstr ""
  38845. #. type: defvr
  38846. #: guix-git/doc/guix.texi:26074
  38847. #, no-wrap
  38848. msgid "{Scheme Variable} hpcguix-web-service-type"
  38849. msgstr ""
  38850. #. type: defvr
  38851. #: guix-git/doc/guix.texi:26076
  38852. msgid "The service type for @code{hpcguix-web}."
  38853. msgstr ""
  38854. #. type: deftp
  38855. #: guix-git/doc/guix.texi:26078
  38856. #, no-wrap
  38857. msgid "{Data Type} hpcguix-web-configuration"
  38858. msgstr ""
  38859. #. type: deftp
  38860. #: guix-git/doc/guix.texi:26080
  38861. msgid "Data type for the hpcguix-web service configuration."
  38862. msgstr ""
  38863. #. type: code{#1}
  38864. #: guix-git/doc/guix.texi:26082
  38865. #, no-wrap
  38866. msgid "specs"
  38867. msgstr ""
  38868. #. type: table
  38869. #: guix-git/doc/guix.texi:26085
  38870. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  38871. msgstr ""
  38872. #. type: item
  38873. #: guix-git/doc/guix.texi:26087
  38874. #, no-wrap
  38875. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  38876. msgstr ""
  38877. #. type: table
  38878. #: guix-git/doc/guix.texi:26089
  38879. msgid "The page title prefix."
  38880. msgstr ""
  38881. #. type: item
  38882. #: guix-git/doc/guix.texi:26090
  38883. #, no-wrap
  38884. msgid "@code{guix-command} (default: @code{\"guix\"})"
  38885. msgstr ""
  38886. #. type: table
  38887. #: guix-git/doc/guix.texi:26092
  38888. msgid "The @command{guix} command."
  38889. msgstr ""
  38890. #. type: item
  38891. #: guix-git/doc/guix.texi:26093
  38892. #, no-wrap
  38893. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  38894. msgstr ""
  38895. #. type: table
  38896. #: guix-git/doc/guix.texi:26095
  38897. msgid "A procedure specifying how to filter packages that are displayed."
  38898. msgstr ""
  38899. #. type: item
  38900. #: guix-git/doc/guix.texi:26096
  38901. #, no-wrap
  38902. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  38903. msgstr ""
  38904. #. type: table
  38905. #: guix-git/doc/guix.texi:26098
  38906. msgid "Extension package for @code{hpcguix-web}."
  38907. msgstr ""
  38908. #. type: item
  38909. #: guix-git/doc/guix.texi:26099
  38910. #, no-wrap
  38911. msgid "@code{menu} (default: @code{'()})"
  38912. msgstr ""
  38913. #. type: table
  38914. #: guix-git/doc/guix.texi:26101
  38915. msgid "Additional entry in page @code{menu}."
  38916. msgstr ""
  38917. #. type: item
  38918. #: guix-git/doc/guix.texi:26102
  38919. #, no-wrap
  38920. msgid "@code{channels} (default: @code{%default-channels})"
  38921. msgstr ""
  38922. #. type: table
  38923. #: guix-git/doc/guix.texi:26104
  38924. msgid "List of channels from which the package list is built (@pxref{Channels})."
  38925. msgstr ""
  38926. #. type: item
  38927. #: guix-git/doc/guix.texi:26105
  38928. #, no-wrap
  38929. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  38930. msgstr ""
  38931. #. type: table
  38932. #: guix-git/doc/guix.texi:26108
  38933. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  38934. msgstr ""
  38935. #. type: table
  38936. #: guix-git/doc/guix.texi:26113
  38937. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  38938. msgstr ""
  38939. #. type: item
  38940. #: guix-git/doc/guix.texi:26114
  38941. #, no-wrap
  38942. msgid "@code{package} (default: @code{hpcguix-web})"
  38943. msgstr ""
  38944. #. type: table
  38945. #: guix-git/doc/guix.texi:26116
  38946. msgid "The hpcguix-web package to use."
  38947. msgstr ""
  38948. #. type: Plain text
  38949. #: guix-git/doc/guix.texi:26120
  38950. msgid "A typical hpcguix-web service declaration looks like this:"
  38951. msgstr ""
  38952. #. type: lisp
  38953. #: guix-git/doc/guix.texi:26129
  38954. #, no-wrap
  38955. msgid ""
  38956. "(service hpcguix-web-service-type\n"
  38957. " (hpcguix-web-configuration\n"
  38958. " (specs\n"
  38959. " #~(define site-config\n"
  38960. " (hpcweb-configuration\n"
  38961. " (title-prefix \"Guix-HPC - \")\n"
  38962. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  38963. msgstr ""
  38964. #. type: quotation
  38965. #: guix-git/doc/guix.texi:26136
  38966. 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."
  38967. msgstr ""
  38968. #. type: quotation
  38969. #: guix-git/doc/guix.texi:26140
  38970. 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."
  38971. msgstr ""
  38972. #. type: cindex
  38973. #: guix-git/doc/guix.texi:26142 guix-git/doc/guix.texi:26144
  38974. #, no-wrap
  38975. msgid "gmnisrv"
  38976. msgstr ""
  38977. #. type: Plain text
  38978. #: guix-git/doc/guix.texi:26147
  38979. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  38980. msgstr ""
  38981. #. type: deffn
  38982. #: guix-git/doc/guix.texi:26148
  38983. #, no-wrap
  38984. msgid "{Scheme Variable} gmnisrv-service-type"
  38985. msgstr ""
  38986. #. type: deffn
  38987. #: guix-git/doc/guix.texi:26151
  38988. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  38989. msgstr ""
  38990. #. type: lisp
  38991. #: guix-git/doc/guix.texi:26156
  38992. #, no-wrap
  38993. msgid ""
  38994. "(service gmnisrv-service-type\n"
  38995. " (gmnisrv-configuration\n"
  38996. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  38997. msgstr ""
  38998. #. type: deftp
  38999. #: guix-git/doc/guix.texi:26159
  39000. #, no-wrap
  39001. msgid "{Data Type} gmnisrv-configuration"
  39002. msgstr ""
  39003. #. type: deftp
  39004. #: guix-git/doc/guix.texi:26161
  39005. msgid "Data type representing the configuration of gmnisrv."
  39006. msgstr ""
  39007. #. type: item
  39008. #: guix-git/doc/guix.texi:26163
  39009. #, no-wrap
  39010. msgid "@code{package} (default: @var{gmnisrv})"
  39011. msgstr ""
  39012. #. type: table
  39013. #: guix-git/doc/guix.texi:26165
  39014. msgid "Package object of the gmnisrv server."
  39015. msgstr ""
  39016. #. type: item
  39017. #: guix-git/doc/guix.texi:26166
  39018. #, no-wrap
  39019. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  39020. msgstr ""
  39021. #. type: table
  39022. #: guix-git/doc/guix.texi:26172
  39023. 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}."
  39024. msgstr ""
  39025. #. type: subsubheading
  39026. #: guix-git/doc/guix.texi:26176
  39027. #, no-wrap
  39028. msgid "Agate"
  39029. msgstr ""
  39030. #. type: cindex
  39031. #: guix-git/doc/guix.texi:26178
  39032. #, no-wrap
  39033. msgid "agate"
  39034. msgstr ""
  39035. #. type: Plain text
  39036. #: guix-git/doc/guix.texi:26183
  39037. 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."
  39038. msgstr ""
  39039. #. type: deffn
  39040. #: guix-git/doc/guix.texi:26184
  39041. #, no-wrap
  39042. msgid "{Scheme Variable} agate-service-type"
  39043. msgstr ""
  39044. #. type: deffn
  39045. #: guix-git/doc/guix.texi:26187
  39046. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  39047. msgstr ""
  39048. #. type: lisp
  39049. #: guix-git/doc/guix.texi:26194
  39050. #, no-wrap
  39051. msgid ""
  39052. "(service agate-service-type\n"
  39053. "\t (agate-configuration\n"
  39054. "\t (content \"/srv/gemini\")\n"
  39055. "\t (cert \"/srv/cert.pem\")\n"
  39056. "\t (key \"/srv/key.rsa\")))\n"
  39057. msgstr ""
  39058. #. type: deffn
  39059. #: guix-git/doc/guix.texi:26199
  39060. 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."
  39061. msgstr ""
  39062. #. type: deffn
  39063. #: guix-git/doc/guix.texi:26202
  39064. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  39065. msgstr ""
  39066. #. type: example
  39067. #: guix-git/doc/guix.texi:26206
  39068. #, no-wrap
  39069. msgid ""
  39070. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  39071. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  39072. msgstr ""
  39073. #. type: deffn
  39074. #: guix-git/doc/guix.texi:26211
  39075. 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."
  39076. msgstr ""
  39077. #. type: deftp
  39078. #: guix-git/doc/guix.texi:26214
  39079. #, no-wrap
  39080. msgid "{Data Type} agate-configuration"
  39081. msgstr ""
  39082. #. type: deftp
  39083. #: guix-git/doc/guix.texi:26216
  39084. msgid "Data type representing the configuration of Agate."
  39085. msgstr ""
  39086. #. type: item
  39087. #: guix-git/doc/guix.texi:26218
  39088. #, no-wrap
  39089. msgid "@code{package} (default: @code{agate})"
  39090. msgstr ""
  39091. #. type: table
  39092. #: guix-git/doc/guix.texi:26220
  39093. msgid "The package object of the Agate server."
  39094. msgstr ""
  39095. #. type: item
  39096. #: guix-git/doc/guix.texi:26221
  39097. #, no-wrap
  39098. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  39099. msgstr ""
  39100. #. type: table
  39101. #: guix-git/doc/guix.texi:26223
  39102. msgid "The directory from which Agate will serve files."
  39103. msgstr ""
  39104. #. type: item
  39105. #: guix-git/doc/guix.texi:26224
  39106. #, no-wrap
  39107. msgid "@code{cert} (default: @code{#f})"
  39108. msgstr ""
  39109. #. type: table
  39110. #: guix-git/doc/guix.texi:26227
  39111. 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."
  39112. msgstr ""
  39113. #. type: item
  39114. #: guix-git/doc/guix.texi:26228 guix-git/doc/guix.texi:26664
  39115. #, no-wrap
  39116. msgid "@code{key} (default: @code{#f})"
  39117. msgstr ""
  39118. #. type: table
  39119. #: guix-git/doc/guix.texi:26231
  39120. 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."
  39121. msgstr ""
  39122. #. type: item
  39123. #: guix-git/doc/guix.texi:26232
  39124. #, no-wrap
  39125. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  39126. msgstr ""
  39127. #. type: table
  39128. #: guix-git/doc/guix.texi:26234
  39129. msgid "A list of the addresses to listen on."
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26237
  39133. msgid "The domain name of this Gemini server. Optional."
  39134. msgstr ""
  39135. #. type: item
  39136. #: guix-git/doc/guix.texi:26238
  39137. #, no-wrap
  39138. msgid "@code{lang} (default: @code{#f})"
  39139. msgstr ""
  39140. #. type: table
  39141. #: guix-git/doc/guix.texi:26240
  39142. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  39143. msgstr ""
  39144. #. type: item
  39145. #: guix-git/doc/guix.texi:26241
  39146. #, no-wrap
  39147. msgid "@code{silent?} (default: @code{#f})"
  39148. msgstr ""
  39149. #. type: table
  39150. #: guix-git/doc/guix.texi:26243
  39151. msgid "Set to @code{#t} to disable logging output."
  39152. msgstr ""
  39153. #. type: item
  39154. #: guix-git/doc/guix.texi:26244
  39155. #, no-wrap
  39156. msgid "@code{serve-secret?} (default: @code{#f})"
  39157. msgstr ""
  39158. #. type: table
  39159. #: guix-git/doc/guix.texi:26247
  39160. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  39161. msgstr ""
  39162. #. type: item
  39163. #: guix-git/doc/guix.texi:26248
  39164. #, no-wrap
  39165. msgid "@code{log-ip?} (default: @code{#t})"
  39166. msgstr ""
  39167. #. type: table
  39168. #: guix-git/doc/guix.texi:26250
  39169. msgid "Whether or not to output IP addresses when logging."
  39170. msgstr ""
  39171. #. type: item
  39172. #: guix-git/doc/guix.texi:26251
  39173. #, no-wrap
  39174. msgid "@code{user} (default: @code{\"agate\"})"
  39175. msgstr ""
  39176. #. type: table
  39177. #: guix-git/doc/guix.texi:26253
  39178. msgid "Owner of the @code{agate} process."
  39179. msgstr ""
  39180. #. type: item
  39181. #: guix-git/doc/guix.texi:26254
  39182. #, no-wrap
  39183. msgid "@code{group} (default: @code{\"agate\"})"
  39184. msgstr ""
  39185. #. type: table
  39186. #: guix-git/doc/guix.texi:26256
  39187. msgid "Owner's group of the @code{agate} process."
  39188. msgstr ""
  39189. #. type: item
  39190. #: guix-git/doc/guix.texi:26257
  39191. #, no-wrap
  39192. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  39193. msgstr ""
  39194. #. type: table
  39195. #: guix-git/doc/guix.texi:26259
  39196. msgid "The file which should store the logging output of Agate."
  39197. msgstr ""
  39198. #. type: cindex
  39199. #: guix-git/doc/guix.texi:26266
  39200. #, no-wrap
  39201. msgid "Web"
  39202. msgstr ""
  39203. #. type: cindex
  39204. #: guix-git/doc/guix.texi:26267
  39205. #, no-wrap
  39206. msgid "HTTP, HTTPS"
  39207. msgstr ""
  39208. #. type: cindex
  39209. #: guix-git/doc/guix.texi:26268
  39210. #, no-wrap
  39211. msgid "Let's Encrypt"
  39212. msgstr ""
  39213. #. type: cindex
  39214. #: guix-git/doc/guix.texi:26269
  39215. #, no-wrap
  39216. msgid "TLS certificates"
  39217. msgstr ""
  39218. #. type: Plain text
  39219. #: guix-git/doc/guix.texi:26276
  39220. 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."
  39221. msgstr ""
  39222. #. type: Plain text
  39223. #: guix-git/doc/guix.texi:26288
  39224. 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."
  39225. msgstr ""
  39226. #. type: Plain text
  39227. #: guix-git/doc/guix.texi:26295
  39228. 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)."
  39229. msgstr ""
  39230. #. type: Plain text
  39231. #: guix-git/doc/guix.texi:26301
  39232. 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."
  39233. msgstr ""
  39234. #. type: Plain text
  39235. #: guix-git/doc/guix.texi:26305
  39236. 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}."
  39237. msgstr ""
  39238. #. type: defvr
  39239. #: guix-git/doc/guix.texi:26306
  39240. #, no-wrap
  39241. msgid "{Scheme Variable} certbot-service-type"
  39242. msgstr ""
  39243. #. type: defvr
  39244. #: guix-git/doc/guix.texi:26309
  39245. 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:"
  39246. msgstr ""
  39247. #. type: lisp
  39248. #: guix-git/doc/guix.texi:26316
  39249. #, no-wrap
  39250. msgid ""
  39251. "(define %nginx-deploy-hook\n"
  39252. " (program-file\n"
  39253. " \"nginx-deploy-hook\"\n"
  39254. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  39255. " (kill pid SIGHUP))))\n"
  39256. "\n"
  39257. msgstr ""
  39258. #. type: lisp
  39259. #: guix-git/doc/guix.texi:26327
  39260. #, no-wrap
  39261. msgid ""
  39262. "(service certbot-service-type\n"
  39263. " (certbot-configuration\n"
  39264. " (email \"foo@@example.net\")\n"
  39265. " (certificates\n"
  39266. " (list\n"
  39267. " (certificate-configuration\n"
  39268. " (domains '(\"example.net\" \"www.example.net\"))\n"
  39269. " (deploy-hook %nginx-deploy-hook))\n"
  39270. " (certificate-configuration\n"
  39271. " (domains '(\"bar.example.net\")))))))\n"
  39272. msgstr ""
  39273. #. type: defvr
  39274. #: guix-git/doc/guix.texi:26330
  39275. msgid "See below for details about @code{certbot-configuration}."
  39276. msgstr ""
  39277. #. type: deftp
  39278. #: guix-git/doc/guix.texi:26332
  39279. #, no-wrap
  39280. msgid "{Data Type} certbot-configuration"
  39281. msgstr ""
  39282. #. type: deftp
  39283. #: guix-git/doc/guix.texi:26335
  39284. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  39285. msgstr ""
  39286. #. type: item
  39287. #: guix-git/doc/guix.texi:26337
  39288. #, no-wrap
  39289. msgid "@code{package} (default: @code{certbot})"
  39290. msgstr ""
  39291. #. type: table
  39292. #: guix-git/doc/guix.texi:26339
  39293. msgid "The certbot package to use."
  39294. msgstr ""
  39295. #. type: item
  39296. #: guix-git/doc/guix.texi:26340
  39297. #, no-wrap
  39298. msgid "@code{webroot} (default: @code{/var/www})"
  39299. msgstr ""
  39300. #. type: table
  39301. #: guix-git/doc/guix.texi:26343
  39302. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  39303. msgstr ""
  39304. #. type: item
  39305. #: guix-git/doc/guix.texi:26344
  39306. #, no-wrap
  39307. msgid "@code{certificates} (default: @code{()})"
  39308. msgstr ""
  39309. #. type: table
  39310. #: guix-git/doc/guix.texi:26348
  39311. 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}."
  39312. msgstr ""
  39313. #. type: item
  39314. #: guix-git/doc/guix.texi:26349
  39315. #, no-wrap
  39316. msgid "@code{email} (default: @code{#f})"
  39317. msgstr ""
  39318. #. type: table
  39319. #: guix-git/doc/guix.texi:26353
  39320. 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."
  39321. msgstr ""
  39322. #. type: item
  39323. #: guix-git/doc/guix.texi:26354 guix-git/doc/guix.texi:28098
  39324. #, no-wrap
  39325. msgid "@code{server} (default: @code{#f})"
  39326. msgstr ""
  39327. #. type: table
  39328. #: guix-git/doc/guix.texi:26357
  39329. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  39330. msgstr ""
  39331. #. type: item
  39332. #: guix-git/doc/guix.texi:26358
  39333. #, no-wrap
  39334. msgid "@code{rsa-key-size} (default: @code{2048})"
  39335. msgstr ""
  39336. #. type: table
  39337. #: guix-git/doc/guix.texi:26360
  39338. msgid "Size of the RSA key."
  39339. msgstr ""
  39340. #. type: item
  39341. #: guix-git/doc/guix.texi:26361
  39342. #, no-wrap
  39343. msgid "@code{default-location} (default: @i{see below})"
  39344. msgstr ""
  39345. #. type: table
  39346. #: guix-git/doc/guix.texi:26370
  39347. 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."
  39348. msgstr ""
  39349. #. type: table
  39350. #: guix-git/doc/guix.texi:26374
  39351. 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."
  39352. msgstr ""
  39353. #. type: table
  39354. #: guix-git/doc/guix.texi:26378
  39355. 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}."
  39356. msgstr ""
  39357. #. type: table
  39358. #: guix-git/doc/guix.texi:26380
  39359. msgid "Pass @code{#f} to not issue a default location."
  39360. msgstr ""
  39361. #. type: deftp
  39362. #: guix-git/doc/guix.texi:26383
  39363. #, no-wrap
  39364. msgid "{Data Type} certificate-configuration"
  39365. msgstr ""
  39366. #. type: deftp
  39367. #: guix-git/doc/guix.texi:26386
  39368. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  39369. msgstr ""
  39370. #. type: item
  39371. #: guix-git/doc/guix.texi:26388
  39372. #, no-wrap
  39373. msgid "@code{name} (default: @i{see below})"
  39374. msgstr ""
  39375. #. type: table
  39376. #: guix-git/doc/guix.texi:26392
  39377. 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}."
  39378. msgstr ""
  39379. #. type: table
  39380. #: guix-git/doc/guix.texi:26394
  39381. msgid "Its default is the first provided domain."
  39382. msgstr ""
  39383. #. type: item
  39384. #: guix-git/doc/guix.texi:26395
  39385. #, no-wrap
  39386. msgid "@code{domains} (default: @code{()})"
  39387. msgstr ""
  39388. #. type: table
  39389. #: guix-git/doc/guix.texi:26398
  39390. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  39391. msgstr ""
  39392. #. type: item
  39393. #: guix-git/doc/guix.texi:26399
  39394. #, no-wrap
  39395. msgid "@code{challenge} (default: @code{#f})"
  39396. msgstr ""
  39397. #. type: table
  39398. #: guix-git/doc/guix.texi:26406
  39399. 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."
  39400. msgstr ""
  39401. #. type: item
  39402. #: guix-git/doc/guix.texi:26407
  39403. #, no-wrap
  39404. msgid "@code{csr} (default: @code{#f})"
  39405. msgstr ""
  39406. #. type: table
  39407. #: guix-git/doc/guix.texi:26414
  39408. 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."
  39409. msgstr ""
  39410. #. type: item
  39411. #: guix-git/doc/guix.texi:26415
  39412. #, no-wrap
  39413. msgid "@code{authentication-hook} (default: @code{#f})"
  39414. msgstr ""
  39415. #. type: table
  39416. #: guix-git/doc/guix.texi:26421
  39417. 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."
  39418. msgstr ""
  39419. #. type: item
  39420. #: guix-git/doc/guix.texi:26422
  39421. #, no-wrap
  39422. msgid "@code{cleanup-hook} (default: @code{#f})"
  39423. msgstr ""
  39424. #. type: table
  39425. #: guix-git/doc/guix.texi:26428
  39426. 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."
  39427. msgstr ""
  39428. #. type: item
  39429. #: guix-git/doc/guix.texi:26429
  39430. #, no-wrap
  39431. msgid "@code{deploy-hook} (default: @code{#f})"
  39432. msgstr ""
  39433. #. type: table
  39434. #: guix-git/doc/guix.texi:26437
  39435. 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\"}."
  39436. msgstr ""
  39437. #. type: Plain text
  39438. #: guix-git/doc/guix.texi:26444
  39439. 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}."
  39440. msgstr ""
  39441. #. type: cindex
  39442. #: guix-git/doc/guix.texi:26446
  39443. #, no-wrap
  39444. msgid "DNS (domain name system)"
  39445. msgstr ""
  39446. #. type: cindex
  39447. #: guix-git/doc/guix.texi:26447
  39448. #, no-wrap
  39449. msgid "domain name system (DNS)"
  39450. msgstr ""
  39451. #. type: Plain text
  39452. #: guix-git/doc/guix.texi:26455
  39453. 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}."
  39454. msgstr ""
  39455. #. type: subsubheading
  39456. #: guix-git/doc/guix.texi:26456
  39457. #, no-wrap
  39458. msgid "Knot Service"
  39459. msgstr ""
  39460. #. type: Plain text
  39461. #: guix-git/doc/guix.texi:26460
  39462. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  39463. msgstr ""
  39464. #. type: lisp
  39465. #: guix-git/doc/guix.texi:26467
  39466. #, no-wrap
  39467. msgid ""
  39468. "(define-zone-entries example.org.zone\n"
  39469. ";; Name TTL Class Type Data\n"
  39470. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  39471. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  39472. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  39473. "\n"
  39474. msgstr ""
  39475. #. type: lisp
  39476. #: guix-git/doc/guix.texi:26474
  39477. #, no-wrap
  39478. msgid ""
  39479. "(define master-zone\n"
  39480. " (knot-zone-configuration\n"
  39481. " (domain \"example.org\")\n"
  39482. " (zone (zone-file\n"
  39483. " (origin \"example.org\")\n"
  39484. " (entries example.org.zone)))))\n"
  39485. "\n"
  39486. msgstr ""
  39487. #. type: lisp
  39488. #: guix-git/doc/guix.texi:26480
  39489. #, no-wrap
  39490. msgid ""
  39491. "(define slave-zone\n"
  39492. " (knot-zone-configuration\n"
  39493. " (domain \"plop.org\")\n"
  39494. " (dnssec-policy \"default\")\n"
  39495. " (master (list \"plop-master\"))))\n"
  39496. "\n"
  39497. msgstr ""
  39498. #. type: lisp
  39499. #: guix-git/doc/guix.texi:26485
  39500. #, no-wrap
  39501. msgid ""
  39502. "(define plop-master\n"
  39503. " (knot-remote-configuration\n"
  39504. " (id \"plop-master\")\n"
  39505. " (address (list \"208.76.58.171\"))))\n"
  39506. "\n"
  39507. msgstr ""
  39508. #. type: lisp
  39509. #: guix-git/doc/guix.texi:26494
  39510. #, no-wrap
  39511. msgid ""
  39512. "(operating-system\n"
  39513. " ;; ...\n"
  39514. " (services (cons* (service knot-service-type\n"
  39515. " (knot-configuration\n"
  39516. " (remotes (list plop-master))\n"
  39517. " (zones (list master-zone slave-zone))))\n"
  39518. " ;; ...\n"
  39519. " %base-services)))\n"
  39520. msgstr ""
  39521. #. type: deffn
  39522. #: guix-git/doc/guix.texi:26496
  39523. #, no-wrap
  39524. msgid "{Scheme Variable} knot-service-type"
  39525. msgstr ""
  39526. #. type: deffn
  39527. #: guix-git/doc/guix.texi:26498
  39528. msgid "This is the type for the Knot DNS server."
  39529. msgstr ""
  39530. #. type: deffn
  39531. #: guix-git/doc/guix.texi:26506
  39532. 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."
  39533. msgstr ""
  39534. #. type: deffn
  39535. #: guix-git/doc/guix.texi:26508
  39536. msgid "The following data types are used to configure the Knot DNS server:"
  39537. msgstr ""
  39538. #. type: deftp
  39539. #: guix-git/doc/guix.texi:26510
  39540. #, no-wrap
  39541. msgid "{Data Type} knot-key-configuration"
  39542. msgstr ""
  39543. #. type: deftp
  39544. #: guix-git/doc/guix.texi:26513
  39545. msgid "Data type representing a key. This type has the following parameters:"
  39546. msgstr ""
  39547. #. type: item
  39548. #: guix-git/doc/guix.texi:26515 guix-git/doc/guix.texi:26535
  39549. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26676
  39550. #: guix-git/doc/guix.texi:26711
  39551. #, no-wrap
  39552. msgid "@code{id} (default: @code{\"\"})"
  39553. msgstr ""
  39554. #. type: table
  39555. #: guix-git/doc/guix.texi:26518 guix-git/doc/guix.texi:26538
  39556. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  39557. msgstr ""
  39558. #. type: item
  39559. #: guix-git/doc/guix.texi:26519
  39560. #, no-wrap
  39561. msgid "@code{algorithm} (default: @code{#f})"
  39562. msgstr ""
  39563. #. type: table
  39564. #: guix-git/doc/guix.texi:26523
  39565. 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}."
  39566. msgstr ""
  39567. #. type: item
  39568. #: guix-git/doc/guix.texi:26524
  39569. #, no-wrap
  39570. msgid "@code{secret} (default: @code{\"\"})"
  39571. msgstr ""
  39572. #. type: table
  39573. #: guix-git/doc/guix.texi:26526
  39574. msgid "The secret key itself."
  39575. msgstr ""
  39576. #. type: deftp
  39577. #: guix-git/doc/guix.texi:26530
  39578. #, no-wrap
  39579. msgid "{Data Type} knot-acl-configuration"
  39580. msgstr ""
  39581. #. type: deftp
  39582. #: guix-git/doc/guix.texi:26533
  39583. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  39584. msgstr ""
  39585. #. type: item
  39586. #: guix-git/doc/guix.texi:26539 guix-git/doc/guix.texi:26654
  39587. #, no-wrap
  39588. msgid "@code{address} (default: @code{'()})"
  39589. msgstr ""
  39590. #. type: table
  39591. #: guix-git/doc/guix.texi:26543
  39592. 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."
  39593. msgstr ""
  39594. #. type: item
  39595. #: guix-git/doc/guix.texi:26544
  39596. #, no-wrap
  39597. msgid "@code{key} (default: @code{'()})"
  39598. msgstr ""
  39599. #. type: table
  39600. #: guix-git/doc/guix.texi:26548
  39601. 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."
  39602. msgstr ""
  39603. #. type: item
  39604. #: guix-git/doc/guix.texi:26549
  39605. #, no-wrap
  39606. msgid "@code{action} (default: @code{'()})"
  39607. msgstr ""
  39608. #. type: table
  39609. #: guix-git/doc/guix.texi:26553
  39610. 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}."
  39611. msgstr ""
  39612. #. type: item
  39613. #: guix-git/doc/guix.texi:26554
  39614. #, no-wrap
  39615. msgid "@code{deny?} (default: @code{#f})"
  39616. msgstr ""
  39617. #. type: table
  39618. #: guix-git/doc/guix.texi:26557
  39619. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  39620. msgstr ""
  39621. #. type: deftp
  39622. #: guix-git/doc/guix.texi:26561
  39623. #, no-wrap
  39624. msgid "{Data Type} zone-entry"
  39625. msgstr ""
  39626. #. type: deftp
  39627. #: guix-git/doc/guix.texi:26564
  39628. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  39629. msgstr ""
  39630. #. type: item
  39631. #: guix-git/doc/guix.texi:26566
  39632. #, no-wrap
  39633. msgid "@code{name} (default: @code{\"@@\"})"
  39634. msgstr ""
  39635. #. type: table
  39636. #: guix-git/doc/guix.texi:26572
  39637. 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}."
  39638. msgstr ""
  39639. #. type: item
  39640. #: guix-git/doc/guix.texi:26573
  39641. #, no-wrap
  39642. msgid "@code{ttl} (default: @code{\"\"})"
  39643. msgstr ""
  39644. #. type: table
  39645. #: guix-git/doc/guix.texi:26575
  39646. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  39647. msgstr ""
  39648. #. type: item
  39649. #: guix-git/doc/guix.texi:26576
  39650. #, no-wrap
  39651. msgid "@code{class} (default: @code{\"IN\"})"
  39652. msgstr ""
  39653. #. type: table
  39654. #: guix-git/doc/guix.texi:26579
  39655. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  39656. msgstr ""
  39657. #. type: item
  39658. #: guix-git/doc/guix.texi:26580
  39659. #, no-wrap
  39660. msgid "@code{type} (default: @code{\"A\"})"
  39661. msgstr ""
  39662. #. type: table
  39663. #: guix-git/doc/guix.texi:26584
  39664. 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."
  39665. msgstr ""
  39666. #. type: item
  39667. #: guix-git/doc/guix.texi:26585
  39668. #, no-wrap
  39669. msgid "@code{data} (default: @code{\"\"})"
  39670. msgstr ""
  39671. #. type: table
  39672. #: guix-git/doc/guix.texi:26589
  39673. 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."
  39674. msgstr ""
  39675. #. type: deftp
  39676. #: guix-git/doc/guix.texi:26593
  39677. #, no-wrap
  39678. msgid "{Data Type} zone-file"
  39679. msgstr ""
  39680. #. type: deftp
  39681. #: guix-git/doc/guix.texi:26596
  39682. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  39683. msgstr ""
  39684. #. type: table
  39685. #: guix-git/doc/guix.texi:26605
  39686. 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}."
  39687. msgstr ""
  39688. #. type: item
  39689. #: guix-git/doc/guix.texi:26606
  39690. #, no-wrap
  39691. msgid "@code{origin} (default: @code{\"\"})"
  39692. msgstr ""
  39693. #. type: table
  39694. #: guix-git/doc/guix.texi:26608
  39695. msgid "The name of your zone. This parameter cannot be empty."
  39696. msgstr ""
  39697. #. type: item
  39698. #: guix-git/doc/guix.texi:26609
  39699. #, no-wrap
  39700. msgid "@code{ns} (default: @code{\"ns\"})"
  39701. msgstr ""
  39702. #. type: table
  39703. #: guix-git/doc/guix.texi:26614
  39704. 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."
  39705. msgstr ""
  39706. #. type: item
  39707. #: guix-git/doc/guix.texi:26615
  39708. #, no-wrap
  39709. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  39710. msgstr ""
  39711. #. type: table
  39712. #: guix-git/doc/guix.texi:26618
  39713. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  39714. msgstr ""
  39715. #. type: item
  39716. #: guix-git/doc/guix.texi:26619
  39717. #, no-wrap
  39718. msgid "@code{serial} (default: @code{1})"
  39719. msgstr ""
  39720. #. type: table
  39721. #: guix-git/doc/guix.texi:26623
  39722. 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."
  39723. msgstr ""
  39724. #. type: item
  39725. #: guix-git/doc/guix.texi:26624
  39726. #, no-wrap
  39727. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  39728. msgstr ""
  39729. #. type: table
  39730. #: guix-git/doc/guix.texi:26628
  39731. 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)}."
  39732. msgstr ""
  39733. #. type: item
  39734. #: guix-git/doc/guix.texi:26629
  39735. #, no-wrap
  39736. msgid "@code{retry} (default: @code{(* 15 60)})"
  39737. msgstr ""
  39738. #. type: table
  39739. #: guix-git/doc/guix.texi:26632
  39740. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  39741. msgstr ""
  39742. #. type: item
  39743. #: guix-git/doc/guix.texi:26633
  39744. #, no-wrap
  39745. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  39746. msgstr ""
  39747. #. type: table
  39748. #: guix-git/doc/guix.texi:26637
  39749. 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."
  39750. msgstr ""
  39751. #. type: item
  39752. #: guix-git/doc/guix.texi:26638
  39753. #, no-wrap
  39754. msgid "@code{nx} (default: @code{3600})"
  39755. msgstr ""
  39756. #. type: table
  39757. #: guix-git/doc/guix.texi:26641
  39758. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  39759. msgstr ""
  39760. #. type: deftp
  39761. #: guix-git/doc/guix.texi:26645
  39762. #, no-wrap
  39763. msgid "{Data Type} knot-remote-configuration"
  39764. msgstr ""
  39765. #. type: deftp
  39766. #: guix-git/doc/guix.texi:26648
  39767. msgid "Data type representing a remote configuration. This type has the following parameters:"
  39768. msgstr ""
  39769. #. type: table
  39770. #: guix-git/doc/guix.texi:26653
  39771. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  39772. msgstr ""
  39773. #. type: table
  39774. #: guix-git/doc/guix.texi:26658
  39775. 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."
  39776. msgstr ""
  39777. #. type: item
  39778. #: guix-git/doc/guix.texi:26659
  39779. #, no-wrap
  39780. msgid "@code{via} (default: @code{'()})"
  39781. msgstr ""
  39782. #. type: table
  39783. #: guix-git/doc/guix.texi:26663
  39784. 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."
  39785. msgstr ""
  39786. #. type: table
  39787. #: guix-git/doc/guix.texi:26667
  39788. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  39789. msgstr ""
  39790. #. type: deftp
  39791. #: guix-git/doc/guix.texi:26671
  39792. #, no-wrap
  39793. msgid "{Data Type} knot-keystore-configuration"
  39794. msgstr ""
  39795. #. type: deftp
  39796. #: guix-git/doc/guix.texi:26674
  39797. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  39798. msgstr ""
  39799. #. type: table
  39800. #: guix-git/doc/guix.texi:26678
  39801. msgid "The id of the keystore. It must not be empty."
  39802. msgstr ""
  39803. #. type: item
  39804. #: guix-git/doc/guix.texi:26679
  39805. #, no-wrap
  39806. msgid "@code{backend} (default: @code{'pem})"
  39807. msgstr ""
  39808. #. type: table
  39809. #: guix-git/doc/guix.texi:26681
  39810. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  39811. msgstr ""
  39812. #. type: item
  39813. #: guix-git/doc/guix.texi:26682
  39814. #, no-wrap
  39815. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  39816. msgstr ""
  39817. #. type: table
  39818. #: guix-git/doc/guix.texi:26686
  39819. 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."
  39820. msgstr ""
  39821. #. type: deftp
  39822. #: guix-git/doc/guix.texi:26690
  39823. #, no-wrap
  39824. msgid "{Data Type} knot-policy-configuration"
  39825. msgstr ""
  39826. #. type: deftp
  39827. #: guix-git/doc/guix.texi:26694
  39828. 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."
  39829. msgstr ""
  39830. #. type: deftp
  39831. #: guix-git/doc/guix.texi:26701
  39832. 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."
  39833. msgstr ""
  39834. #. type: deftp
  39835. #: guix-git/doc/guix.texi:26707
  39836. 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."
  39837. msgstr ""
  39838. #. type: deftp
  39839. #: guix-git/doc/guix.texi:26709
  39840. msgid "This type has the following parameters:"
  39841. msgstr ""
  39842. #. type: table
  39843. #: guix-git/doc/guix.texi:26713
  39844. msgid "The id of the policy. It must not be empty."
  39845. msgstr ""
  39846. #. type: item
  39847. #: guix-git/doc/guix.texi:26714
  39848. #, no-wrap
  39849. msgid "@code{keystore} (default: @code{\"default\"})"
  39850. msgstr ""
  39851. #. type: table
  39852. #: guix-git/doc/guix.texi:26719
  39853. 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)."
  39854. msgstr ""
  39855. #. type: item
  39856. #: guix-git/doc/guix.texi:26720
  39857. #, no-wrap
  39858. msgid "@code{manual?} (default: @code{#f})"
  39859. msgstr ""
  39860. #. type: table
  39861. #: guix-git/doc/guix.texi:26722
  39862. msgid "Whether the key management is manual or automatic."
  39863. msgstr ""
  39864. #. type: item
  39865. #: guix-git/doc/guix.texi:26723
  39866. #, no-wrap
  39867. msgid "@code{single-type-signing?} (default: @code{#f})"
  39868. msgstr ""
  39869. #. type: table
  39870. #: guix-git/doc/guix.texi:26725
  39871. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  39872. msgstr ""
  39873. #. type: item
  39874. #: guix-git/doc/guix.texi:26726
  39875. #, no-wrap
  39876. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  39877. msgstr ""
  39878. #. type: table
  39879. #: guix-git/doc/guix.texi:26728
  39880. msgid "An algorithm of signing keys and issued signatures."
  39881. msgstr ""
  39882. #. type: item
  39883. #: guix-git/doc/guix.texi:26729
  39884. #, no-wrap
  39885. msgid "@code{ksk-size} (default: @code{256})"
  39886. msgstr ""
  39887. #. type: table
  39888. #: guix-git/doc/guix.texi:26732
  39889. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39890. msgstr ""
  39891. #. type: item
  39892. #: guix-git/doc/guix.texi:26733
  39893. #, no-wrap
  39894. msgid "@code{zsk-size} (default: @code{256})"
  39895. msgstr ""
  39896. #. type: table
  39897. #: guix-git/doc/guix.texi:26736
  39898. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39899. msgstr ""
  39900. #. type: item
  39901. #: guix-git/doc/guix.texi:26737
  39902. #, no-wrap
  39903. msgid "@code{dnskey-ttl} (default: @code{'default})"
  39904. msgstr ""
  39905. #. type: table
  39906. #: guix-git/doc/guix.texi:26740
  39907. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  39908. msgstr ""
  39909. #. type: item
  39910. #: guix-git/doc/guix.texi:26741
  39911. #, no-wrap
  39912. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  39913. msgstr ""
  39914. #. type: table
  39915. #: guix-git/doc/guix.texi:26743
  39916. msgid "The period between ZSK publication and the next rollover initiation."
  39917. msgstr ""
  39918. #. type: item
  39919. #: guix-git/doc/guix.texi:26744
  39920. #, no-wrap
  39921. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  39922. msgstr ""
  39923. #. type: table
  39924. #: guix-git/doc/guix.texi:26747
  39925. 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."
  39926. msgstr ""
  39927. #. type: item
  39928. #: guix-git/doc/guix.texi:26748
  39929. #, no-wrap
  39930. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  39931. msgstr ""
  39932. #. type: table
  39933. #: guix-git/doc/guix.texi:26750
  39934. msgid "A validity period of newly issued signatures."
  39935. msgstr ""
  39936. #. type: item
  39937. #: guix-git/doc/guix.texi:26751
  39938. #, no-wrap
  39939. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  39940. msgstr ""
  39941. #. type: table
  39942. #: guix-git/doc/guix.texi:26753
  39943. msgid "A period how long before a signature expiration the signature will be refreshed."
  39944. msgstr ""
  39945. #. type: item
  39946. #: guix-git/doc/guix.texi:26754
  39947. #, no-wrap
  39948. msgid "@code{nsec3?} (default: @code{#f})"
  39949. msgstr ""
  39950. #. type: table
  39951. #: guix-git/doc/guix.texi:26756
  39952. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  39953. msgstr ""
  39954. #. type: item
  39955. #: guix-git/doc/guix.texi:26757
  39956. #, no-wrap
  39957. msgid "@code{nsec3-iterations} (default: @code{5})"
  39958. msgstr ""
  39959. #. type: table
  39960. #: guix-git/doc/guix.texi:26759
  39961. msgid "The number of additional times the hashing is performed."
  39962. msgstr ""
  39963. #. type: item
  39964. #: guix-git/doc/guix.texi:26760
  39965. #, no-wrap
  39966. msgid "@code{nsec3-salt-length} (default: @code{8})"
  39967. msgstr ""
  39968. #. type: table
  39969. #: guix-git/doc/guix.texi:26763
  39970. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  39971. msgstr ""
  39972. #. type: item
  39973. #: guix-git/doc/guix.texi:26764
  39974. #, no-wrap
  39975. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  39976. msgstr ""
  39977. #. type: table
  39978. #: guix-git/doc/guix.texi:26766
  39979. msgid "The validity period of newly issued salt field."
  39980. msgstr ""
  39981. #. type: deftp
  39982. #: guix-git/doc/guix.texi:26770
  39983. #, no-wrap
  39984. msgid "{Data Type} knot-zone-configuration"
  39985. msgstr ""
  39986. #. type: deftp
  39987. #: guix-git/doc/guix.texi:26773
  39988. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  39989. msgstr ""
  39990. #. type: item
  39991. #: guix-git/doc/guix.texi:26775
  39992. #, no-wrap
  39993. msgid "@code{domain} (default: @code{\"\"})"
  39994. msgstr ""
  39995. #. type: table
  39996. #: guix-git/doc/guix.texi:26777
  39997. msgid "The domain served by this configuration. It must not be empty."
  39998. msgstr ""
  39999. #. type: item
  40000. #: guix-git/doc/guix.texi:26778
  40001. #, no-wrap
  40002. msgid "@code{file} (default: @code{\"\"})"
  40003. msgstr ""
  40004. #. type: table
  40005. #: guix-git/doc/guix.texi:26781
  40006. 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."
  40007. msgstr ""
  40008. #. type: item
  40009. #: guix-git/doc/guix.texi:26782
  40010. #, no-wrap
  40011. msgid "@code{zone} (default: @code{(zone-file)})"
  40012. msgstr ""
  40013. #. type: table
  40014. #: guix-git/doc/guix.texi:26785
  40015. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  40016. msgstr ""
  40017. #. type: item
  40018. #: guix-git/doc/guix.texi:26786
  40019. #, no-wrap
  40020. msgid "@code{master} (default: @code{'()})"
  40021. msgstr ""
  40022. #. type: table
  40023. #: guix-git/doc/guix.texi:26789
  40024. 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."
  40025. msgstr ""
  40026. #. type: item
  40027. #: guix-git/doc/guix.texi:26790
  40028. #, no-wrap
  40029. msgid "@code{ddns-master} (default: @code{#f})"
  40030. msgstr ""
  40031. #. type: table
  40032. #: guix-git/doc/guix.texi:26793
  40033. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  40034. msgstr ""
  40035. #. type: item
  40036. #: guix-git/doc/guix.texi:26794
  40037. #, no-wrap
  40038. msgid "@code{notify} (default: @code{'()})"
  40039. msgstr ""
  40040. #. type: table
  40041. #: guix-git/doc/guix.texi:26796
  40042. msgid "A list of slave remote identifiers."
  40043. msgstr ""
  40044. #. type: item
  40045. #: guix-git/doc/guix.texi:26797
  40046. #, no-wrap
  40047. msgid "@code{acl} (default: @code{'()})"
  40048. msgstr ""
  40049. #. type: table
  40050. #: guix-git/doc/guix.texi:26799
  40051. msgid "A list of acl identifiers."
  40052. msgstr ""
  40053. #. type: item
  40054. #: guix-git/doc/guix.texi:26800
  40055. #, no-wrap
  40056. msgid "@code{semantic-checks?} (default: @code{#f})"
  40057. msgstr ""
  40058. #. type: table
  40059. #: guix-git/doc/guix.texi:26802
  40060. msgid "When set, this adds more semantic checks to the zone."
  40061. msgstr ""
  40062. #. type: item
  40063. #: guix-git/doc/guix.texi:26803
  40064. #, no-wrap
  40065. msgid "@code{zonefile-sync} (default: @code{0})"
  40066. msgstr ""
  40067. #. type: table
  40068. #: guix-git/doc/guix.texi:26806
  40069. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  40070. msgstr ""
  40071. #. type: item
  40072. #: guix-git/doc/guix.texi:26807
  40073. #, no-wrap
  40074. msgid "@code{zonefile-load} (default: @code{#f})"
  40075. msgstr ""
  40076. #. type: table
  40077. #: guix-git/doc/guix.texi:26810
  40078. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  40079. msgstr ""
  40080. #. type: item
  40081. #: guix-git/doc/guix.texi:26812
  40082. #, no-wrap
  40083. msgid "@code{#f} for using the default value from Knot,"
  40084. msgstr ""
  40085. #. type: item
  40086. #: guix-git/doc/guix.texi:26813
  40087. #, no-wrap
  40088. msgid "@code{'none} for not using the zone file at all,"
  40089. msgstr ""
  40090. #. type: item
  40091. #: guix-git/doc/guix.texi:26814
  40092. #, no-wrap
  40093. msgid "@code{'difference} for computing the difference between already available"
  40094. msgstr ""
  40095. #. type: itemize
  40096. #: guix-git/doc/guix.texi:26816
  40097. msgid "contents and zone contents and applying it to the current zone contents,"
  40098. msgstr ""
  40099. #. type: item
  40100. #: guix-git/doc/guix.texi:26816
  40101. #, no-wrap
  40102. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  40103. msgstr ""
  40104. #. type: itemize
  40105. #: guix-git/doc/guix.texi:26819
  40106. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  40107. msgstr ""
  40108. #. type: item
  40109. #: guix-git/doc/guix.texi:26819
  40110. #, no-wrap
  40111. msgid "@code{'whole} for loading zone contents from the zone file."
  40112. msgstr ""
  40113. #. type: item
  40114. #: guix-git/doc/guix.texi:26822
  40115. #, no-wrap
  40116. msgid "@code{journal-content} (default: @code{#f})"
  40117. msgstr ""
  40118. #. type: table
  40119. #: guix-git/doc/guix.texi:26827
  40120. 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."
  40121. msgstr ""
  40122. #. type: item
  40123. #: guix-git/doc/guix.texi:26828
  40124. #, no-wrap
  40125. msgid "@code{max-journal-usage} (default: @code{#f})"
  40126. msgstr ""
  40127. #. type: table
  40128. #: guix-git/doc/guix.texi:26831
  40129. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  40130. msgstr ""
  40131. #. type: item
  40132. #: guix-git/doc/guix.texi:26832
  40133. #, no-wrap
  40134. msgid "@code{max-journal-depth} (default: @code{#f})"
  40135. msgstr ""
  40136. #. type: table
  40137. #: guix-git/doc/guix.texi:26835
  40138. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  40139. msgstr ""
  40140. #. type: item
  40141. #: guix-git/doc/guix.texi:26836
  40142. #, no-wrap
  40143. msgid "@code{max-zone-size} (default: @code{#f})"
  40144. msgstr ""
  40145. #. type: table
  40146. #: guix-git/doc/guix.texi:26840
  40147. 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."
  40148. msgstr ""
  40149. #. type: item
  40150. #: guix-git/doc/guix.texi:26841
  40151. #, no-wrap
  40152. msgid "@code{dnssec-policy} (default: @code{#f})"
  40153. msgstr ""
  40154. #. type: table
  40155. #: guix-git/doc/guix.texi:26845
  40156. 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."
  40157. msgstr ""
  40158. #. type: item
  40159. #: guix-git/doc/guix.texi:26846
  40160. #, no-wrap
  40161. msgid "@code{serial-policy} (default: @code{'increment})"
  40162. msgstr ""
  40163. #. type: table
  40164. #: guix-git/doc/guix.texi:26848
  40165. msgid "A policy between @code{'increment} and @code{'unixtime}."
  40166. msgstr ""
  40167. #. type: deftp
  40168. #: guix-git/doc/guix.texi:26852
  40169. #, no-wrap
  40170. msgid "{Data Type} knot-configuration"
  40171. msgstr ""
  40172. #. type: deftp
  40173. #: guix-git/doc/guix.texi:26855
  40174. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  40175. msgstr ""
  40176. #. type: item
  40177. #: guix-git/doc/guix.texi:26857
  40178. #, no-wrap
  40179. msgid "@code{knot} (default: @code{knot})"
  40180. msgstr ""
  40181. #. type: table
  40182. #: guix-git/doc/guix.texi:26859
  40183. msgid "The Knot package."
  40184. msgstr ""
  40185. #. type: item
  40186. #: guix-git/doc/guix.texi:26860
  40187. #, no-wrap
  40188. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  40189. msgstr ""
  40190. #. type: table
  40191. #: guix-git/doc/guix.texi:26862
  40192. msgid "The run directory. This directory will be used for pid file and sockets."
  40193. msgstr ""
  40194. #. type: item
  40195. #: guix-git/doc/guix.texi:26863
  40196. #, no-wrap
  40197. msgid "@code{includes} (default: @code{'()})"
  40198. msgstr ""
  40199. #. type: table
  40200. #: guix-git/doc/guix.texi:26866
  40201. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  40202. msgstr ""
  40203. #. type: cindex
  40204. #: guix-git/doc/guix.texi:26867
  40205. #, no-wrap
  40206. msgid "secrets, Knot service"
  40207. msgstr ""
  40208. #. type: table
  40209. #: guix-git/doc/guix.texi:26873
  40210. 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."
  40211. msgstr ""
  40212. #. type: table
  40213. #: guix-git/doc/guix.texi:26878
  40214. 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:"
  40215. msgstr ""
  40216. #. type: example
  40217. #: guix-git/doc/guix.texi:26882
  40218. #, no-wrap
  40219. msgid ""
  40220. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  40221. "chmod 600 /etc/knot/secrets.conf\n"
  40222. msgstr ""
  40223. #. type: table
  40224. #: guix-git/doc/guix.texi:26888
  40225. 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."
  40226. msgstr ""
  40227. #. type: table
  40228. #: guix-git/doc/guix.texi:26890
  40229. msgid "It can also be used to add configuration not supported by this interface."
  40230. msgstr ""
  40231. #. type: item
  40232. #: guix-git/doc/guix.texi:26891
  40233. #, no-wrap
  40234. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  40235. msgstr ""
  40236. #. type: table
  40237. #: guix-git/doc/guix.texi:26893 guix-git/doc/guix.texi:26896
  40238. msgid "An ip address on which to listen."
  40239. msgstr ""
  40240. #. type: item
  40241. #: guix-git/doc/guix.texi:26894
  40242. #, no-wrap
  40243. msgid "@code{listen-v6} (default: @code{\"::\"})"
  40244. msgstr ""
  40245. #. type: item
  40246. #: guix-git/doc/guix.texi:26897
  40247. #, no-wrap
  40248. msgid "@code{listen-port} (default: @code{53})"
  40249. msgstr ""
  40250. #. type: table
  40251. #: guix-git/doc/guix.texi:26899
  40252. msgid "A port on which to listen."
  40253. msgstr ""
  40254. #. type: item
  40255. #: guix-git/doc/guix.texi:26900
  40256. #, no-wrap
  40257. msgid "@code{keys} (default: @code{'()})"
  40258. msgstr ""
  40259. #. type: table
  40260. #: guix-git/doc/guix.texi:26902
  40261. msgid "The list of knot-key-configuration used by this configuration."
  40262. msgstr ""
  40263. #. type: item
  40264. #: guix-git/doc/guix.texi:26903
  40265. #, no-wrap
  40266. msgid "@code{acls} (default: @code{'()})"
  40267. msgstr ""
  40268. #. type: table
  40269. #: guix-git/doc/guix.texi:26905
  40270. msgid "The list of knot-acl-configuration used by this configuration."
  40271. msgstr ""
  40272. #. type: item
  40273. #: guix-git/doc/guix.texi:26906
  40274. #, no-wrap
  40275. msgid "@code{remotes} (default: @code{'()})"
  40276. msgstr ""
  40277. #. type: table
  40278. #: guix-git/doc/guix.texi:26908
  40279. msgid "The list of knot-remote-configuration used by this configuration."
  40280. msgstr ""
  40281. #. type: item
  40282. #: guix-git/doc/guix.texi:26909
  40283. #, no-wrap
  40284. msgid "@code{zones} (default: @code{'()})"
  40285. msgstr ""
  40286. #. type: table
  40287. #: guix-git/doc/guix.texi:26911
  40288. msgid "The list of knot-zone-configuration used by this configuration."
  40289. msgstr ""
  40290. #. type: subsubheading
  40291. #: guix-git/doc/guix.texi:26915
  40292. #, no-wrap
  40293. msgid "Knot Resolver Service"
  40294. msgstr ""
  40295. #. type: deffn
  40296. #: guix-git/doc/guix.texi:26917
  40297. #, no-wrap
  40298. msgid "{Scheme Variable} knot-resolver-service-type"
  40299. msgstr ""
  40300. #. type: deffn
  40301. #: guix-git/doc/guix.texi:26920
  40302. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  40303. msgstr ""
  40304. #. type: lisp
  40305. #: guix-git/doc/guix.texi:26930
  40306. #, no-wrap
  40307. msgid ""
  40308. "(service knot-resolver-service-type\n"
  40309. " (knot-resolver-configuration\n"
  40310. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  40311. "net.listen('192.168.0.1', 5353)\n"
  40312. "user('knot-resolver', 'knot-resolver')\n"
  40313. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  40314. "cache.size = 100 * MB\n"
  40315. "\"))))\n"
  40316. msgstr ""
  40317. #. type: deffn
  40318. #: guix-git/doc/guix.texi:26933
  40319. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  40320. msgstr ""
  40321. #. type: deftp
  40322. #: guix-git/doc/guix.texi:26935
  40323. #, no-wrap
  40324. msgid "{Data Type} knot-resolver-configuration"
  40325. msgstr ""
  40326. #. type: deftp
  40327. #: guix-git/doc/guix.texi:26937
  40328. msgid "Data type representing the configuration of knot-resolver."
  40329. msgstr ""
  40330. #. type: item
  40331. #: guix-git/doc/guix.texi:26939
  40332. #, no-wrap
  40333. msgid "@code{package} (default: @var{knot-resolver})"
  40334. msgstr ""
  40335. #. type: table
  40336. #: guix-git/doc/guix.texi:26941
  40337. msgid "Package object of the knot DNS resolver."
  40338. msgstr ""
  40339. #. type: item
  40340. #: guix-git/doc/guix.texi:26942
  40341. #, no-wrap
  40342. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  40343. msgstr ""
  40344. #. type: table
  40345. #: guix-git/doc/guix.texi:26945
  40346. 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}."
  40347. msgstr ""
  40348. #. type: item
  40349. #: guix-git/doc/guix.texi:26946
  40350. #, no-wrap
  40351. msgid "@code{garbage-collection-interval} (default: 1000)"
  40352. msgstr ""
  40353. #. type: table
  40354. #: guix-git/doc/guix.texi:26948
  40355. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  40356. msgstr ""
  40357. #. type: subsubheading
  40358. #: guix-git/doc/guix.texi:26953
  40359. #, no-wrap
  40360. msgid "Dnsmasq Service"
  40361. msgstr ""
  40362. #. type: deffn
  40363. #: guix-git/doc/guix.texi:26955
  40364. #, no-wrap
  40365. msgid "{Scheme Variable} dnsmasq-service-type"
  40366. msgstr ""
  40367. #. type: deffn
  40368. #: guix-git/doc/guix.texi:26958
  40369. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  40370. msgstr ""
  40371. #. type: lisp
  40372. #: guix-git/doc/guix.texi:26964
  40373. #, no-wrap
  40374. msgid ""
  40375. "(service dnsmasq-service-type\n"
  40376. " (dnsmasq-configuration\n"
  40377. " (no-resolv? #t)\n"
  40378. " (servers '(\"192.168.1.1\"))))\n"
  40379. msgstr ""
  40380. #. type: deftp
  40381. #: guix-git/doc/guix.texi:26967
  40382. #, no-wrap
  40383. msgid "{Data Type} dnsmasq-configuration"
  40384. msgstr ""
  40385. #. type: deftp
  40386. #: guix-git/doc/guix.texi:26969
  40387. msgid "Data type representing the configuration of dnsmasq."
  40388. msgstr ""
  40389. #. type: item
  40390. #: guix-git/doc/guix.texi:26971
  40391. #, no-wrap
  40392. msgid "@code{package} (default: @var{dnsmasq})"
  40393. msgstr ""
  40394. #. type: table
  40395. #: guix-git/doc/guix.texi:26973
  40396. msgid "Package object of the dnsmasq server."
  40397. msgstr ""
  40398. #. type: item
  40399. #: guix-git/doc/guix.texi:26974
  40400. #, no-wrap
  40401. msgid "@code{no-hosts?} (default: @code{#f})"
  40402. msgstr ""
  40403. #. type: table
  40404. #: guix-git/doc/guix.texi:26976
  40405. msgid "When true, don't read the hostnames in /etc/hosts."
  40406. msgstr ""
  40407. #. type: item
  40408. #: guix-git/doc/guix.texi:26977
  40409. #, no-wrap
  40410. msgid "@code{port} (default: @code{53})"
  40411. msgstr ""
  40412. #. type: table
  40413. #: guix-git/doc/guix.texi:26980
  40414. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  40415. msgstr ""
  40416. #. type: item
  40417. #: guix-git/doc/guix.texi:26981
  40418. #, no-wrap
  40419. msgid "@code{local-service?} (default: @code{#t})"
  40420. msgstr ""
  40421. #. type: table
  40422. #: guix-git/doc/guix.texi:26984
  40423. 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."
  40424. msgstr ""
  40425. #. type: item
  40426. #: guix-git/doc/guix.texi:26985
  40427. #, no-wrap
  40428. msgid "@code{listen-addresses} (default: @code{'()})"
  40429. msgstr ""
  40430. #. type: table
  40431. #: guix-git/doc/guix.texi:26987
  40432. msgid "Listen on the given IP addresses."
  40433. msgstr ""
  40434. #. type: item
  40435. #: guix-git/doc/guix.texi:26988
  40436. #, no-wrap
  40437. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  40438. msgstr ""
  40439. #. type: table
  40440. #: guix-git/doc/guix.texi:26990
  40441. msgid "The file to read the IP address of the upstream nameservers from."
  40442. msgstr ""
  40443. #. type: item
  40444. #: guix-git/doc/guix.texi:26991
  40445. #, no-wrap
  40446. msgid "@code{no-resolv?} (default: @code{#f})"
  40447. msgstr ""
  40448. #. type: table
  40449. #: guix-git/doc/guix.texi:26993
  40450. msgid "When true, don't read @var{resolv-file}."
  40451. msgstr ""
  40452. #. type: item
  40453. #: guix-git/doc/guix.texi:26994
  40454. #, no-wrap
  40455. msgid "@code{servers} (default: @code{'()})"
  40456. msgstr ""
  40457. #. type: table
  40458. #: guix-git/doc/guix.texi:26996
  40459. msgid "Specify IP address of upstream servers directly."
  40460. msgstr ""
  40461. #. type: item
  40462. #: guix-git/doc/guix.texi:26997
  40463. #, no-wrap
  40464. msgid "@code{addresses} (default: @code{'()})"
  40465. msgstr ""
  40466. #. type: table
  40467. #: guix-git/doc/guix.texi:27001
  40468. 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."
  40469. msgstr ""
  40470. #. type: table
  40471. #: guix-git/doc/guix.texi:27003
  40472. msgid "This is useful for redirecting hosts locally, for example:"
  40473. msgstr ""
  40474. #. type: lisp
  40475. #: guix-git/doc/guix.texi:27012
  40476. #, no-wrap
  40477. msgid ""
  40478. "(service dnsmasq-service-type\n"
  40479. " (dnsmasq-configuration\n"
  40480. " (addresses\n"
  40481. " '(; Redirect to a local web-server.\n"
  40482. " \"/example.org/127.0.0.1\"\n"
  40483. " ; Redirect subdomain to a specific IP.\n"
  40484. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  40485. msgstr ""
  40486. #. type: table
  40487. #: guix-git/doc/guix.texi:27015
  40488. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  40489. msgstr ""
  40490. #. type: item
  40491. #: guix-git/doc/guix.texi:27016
  40492. #, no-wrap
  40493. msgid "@code{cache-size} (default: @code{150})"
  40494. msgstr ""
  40495. #. type: table
  40496. #: guix-git/doc/guix.texi:27019
  40497. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  40498. msgstr ""
  40499. #. type: item
  40500. #: guix-git/doc/guix.texi:27020
  40501. #, no-wrap
  40502. msgid "@code{negative-cache?} (default: @code{#t})"
  40503. msgstr ""
  40504. #. type: table
  40505. #: guix-git/doc/guix.texi:27022
  40506. msgid "When false, disable negative caching."
  40507. msgstr ""
  40508. #. type: item
  40509. #: guix-git/doc/guix.texi:27023
  40510. #, no-wrap
  40511. msgid "@code{tftp-enable?} (default: @code{#f})"
  40512. msgstr ""
  40513. #. type: table
  40514. #: guix-git/doc/guix.texi:27025
  40515. msgid "Whether to enable the built-in TFTP server."
  40516. msgstr ""
  40517. #. type: item
  40518. #: guix-git/doc/guix.texi:27026
  40519. #, no-wrap
  40520. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  40521. msgstr ""
  40522. #. type: table
  40523. #: guix-git/doc/guix.texi:27028
  40524. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  40525. msgstr ""
  40526. #. type: item
  40527. #: guix-git/doc/guix.texi:27029
  40528. #, no-wrap
  40529. msgid "@code{tftp-single-port?} (default: @code{#f})"
  40530. msgstr ""
  40531. #. type: table
  40532. #: guix-git/doc/guix.texi:27031
  40533. msgid "Whether to use only one single port for TFTP."
  40534. msgstr ""
  40535. #. type: item
  40536. #: guix-git/doc/guix.texi:27032
  40537. #, no-wrap
  40538. msgid "@code{tftp-secure?} (default: @code{#f})"
  40539. msgstr ""
  40540. #. type: table
  40541. #: guix-git/doc/guix.texi:27034
  40542. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  40543. msgstr ""
  40544. #. type: table
  40545. #: guix-git/doc/guix.texi:27038
  40546. 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."
  40547. msgstr ""
  40548. #. type: item
  40549. #: guix-git/doc/guix.texi:27039
  40550. #, no-wrap
  40551. msgid "@code{tftp-max} (default: @code{#f})"
  40552. msgstr ""
  40553. #. type: table
  40554. #: guix-git/doc/guix.texi:27041
  40555. msgid "If set, sets the maximal number of concurrent connections allowed."
  40556. msgstr ""
  40557. #. type: item
  40558. #: guix-git/doc/guix.texi:27042
  40559. #, no-wrap
  40560. msgid "@code{tftp-mtu} (default: @code{#f})"
  40561. msgstr ""
  40562. #. type: table
  40563. #: guix-git/doc/guix.texi:27044
  40564. msgid "If set, sets the MTU for TFTP packets to that value."
  40565. msgstr ""
  40566. #. type: item
  40567. #: guix-git/doc/guix.texi:27045
  40568. #, no-wrap
  40569. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  40570. msgstr ""
  40571. #. type: table
  40572. #: guix-git/doc/guix.texi:27047
  40573. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  40574. msgstr ""
  40575. #. type: item
  40576. #: guix-git/doc/guix.texi:27048
  40577. #, no-wrap
  40578. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  40579. msgstr ""
  40580. #. type: table
  40581. #: guix-git/doc/guix.texi:27050
  40582. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  40583. msgstr ""
  40584. #. type: item
  40585. #: guix-git/doc/guix.texi:27051
  40586. #, no-wrap
  40587. msgid "@code{tftp-port-range} (default: @code{#f})"
  40588. msgstr ""
  40589. #. type: table
  40590. #: guix-git/doc/guix.texi:27054
  40591. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  40592. msgstr ""
  40593. #. type: item
  40594. #: guix-git/doc/guix.texi:27055
  40595. #, no-wrap
  40596. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  40597. msgstr ""
  40598. #. type: table
  40599. #: guix-git/doc/guix.texi:27062
  40600. 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."
  40601. msgstr ""
  40602. #. type: item
  40603. #: guix-git/doc/guix.texi:27063
  40604. #, no-wrap
  40605. msgid "@code{tftp-unique-root} (default: @code{#f})"
  40606. msgstr ""
  40607. #. type: table
  40608. #: guix-git/doc/guix.texi:27068
  40609. 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)."
  40610. msgstr ""
  40611. #. type: table
  40612. #: guix-git/doc/guix.texi:27077
  40613. 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."
  40614. msgstr ""
  40615. #. type: subsubheading
  40616. #: guix-git/doc/guix.texi:27081
  40617. #, no-wrap
  40618. msgid "ddclient Service"
  40619. msgstr ""
  40620. #. type: cindex
  40621. #: guix-git/doc/guix.texi:27083
  40622. #, no-wrap
  40623. msgid "ddclient"
  40624. msgstr ""
  40625. #. type: Plain text
  40626. #: guix-git/doc/guix.texi:27087
  40627. 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}."
  40628. msgstr ""
  40629. #. type: Plain text
  40630. #: guix-git/doc/guix.texi:27090
  40631. msgid "The following example show instantiates the service with its default configuration:"
  40632. msgstr ""
  40633. #. type: lisp
  40634. #: guix-git/doc/guix.texi:27093
  40635. #, no-wrap
  40636. msgid "(service ddclient-service-type)\n"
  40637. msgstr ""
  40638. #. type: Plain text
  40639. #: guix-git/doc/guix.texi:27102
  40640. 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."
  40641. msgstr ""
  40642. #. type: Plain text
  40643. #: guix-git/doc/guix.texi:27106
  40644. msgid "Available @code{ddclient-configuration} fields are:"
  40645. msgstr ""
  40646. #. type: deftypevr
  40647. #: guix-git/doc/guix.texi:27107
  40648. #, no-wrap
  40649. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  40650. msgstr ""
  40651. #. type: deftypevr
  40652. #: guix-git/doc/guix.texi:27109
  40653. msgid "The ddclient package."
  40654. msgstr ""
  40655. #. type: deftypevr
  40656. #: guix-git/doc/guix.texi:27112
  40657. #, no-wrap
  40658. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  40659. msgstr ""
  40660. #. type: deftypevr
  40661. #: guix-git/doc/guix.texi:27114
  40662. msgid "The period after which ddclient will retry to check IP and domain name."
  40663. msgstr ""
  40664. #. type: deftypevr
  40665. #: guix-git/doc/guix.texi:27119
  40666. #, no-wrap
  40667. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  40668. msgstr ""
  40669. #. type: deftypevr
  40670. #: guix-git/doc/guix.texi:27121
  40671. msgid "Use syslog for the output."
  40672. msgstr ""
  40673. #. type: deftypevr
  40674. #: guix-git/doc/guix.texi:27126
  40675. #, no-wrap
  40676. msgid "{@code{ddclient-configuration} parameter} string mail"
  40677. msgstr ""
  40678. #. type: deftypevr
  40679. #: guix-git/doc/guix.texi:27128
  40680. msgid "Mail to user."
  40681. msgstr ""
  40682. #. type: deftypevr
  40683. #: guix-git/doc/guix.texi:27130 guix-git/doc/guix.texi:27137
  40684. #: guix-git/doc/guix.texi:28936
  40685. msgid "Defaults to @samp{\"root\"}."
  40686. msgstr ""
  40687. #. type: deftypevr
  40688. #: guix-git/doc/guix.texi:27133
  40689. #, no-wrap
  40690. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  40691. msgstr ""
  40692. #. type: deftypevr
  40693. #: guix-git/doc/guix.texi:27135
  40694. msgid "Mail failed update to user."
  40695. msgstr ""
  40696. #. type: deftypevr
  40697. #: guix-git/doc/guix.texi:27140
  40698. #, no-wrap
  40699. msgid "{@code{ddclient-configuration} parameter} string pid"
  40700. msgstr ""
  40701. #. type: deftypevr
  40702. #: guix-git/doc/guix.texi:27142
  40703. msgid "The ddclient PID file."
  40704. msgstr ""
  40705. #. type: deftypevr
  40706. #: guix-git/doc/guix.texi:27144
  40707. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  40708. msgstr ""
  40709. #. type: deftypevr
  40710. #: guix-git/doc/guix.texi:27147
  40711. #, no-wrap
  40712. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  40713. msgstr ""
  40714. #. type: deftypevr
  40715. #: guix-git/doc/guix.texi:27149
  40716. msgid "Enable SSL support."
  40717. msgstr ""
  40718. #. type: deftypevr
  40719. #: guix-git/doc/guix.texi:27154
  40720. #, no-wrap
  40721. msgid "{@code{ddclient-configuration} parameter} string user"
  40722. msgstr ""
  40723. #. type: deftypevr
  40724. #: guix-git/doc/guix.texi:27157
  40725. msgid "Specifies the user name or ID that is used when running ddclient program."
  40726. msgstr ""
  40727. #. type: deftypevr
  40728. #: guix-git/doc/guix.texi:27159 guix-git/doc/guix.texi:27166
  40729. msgid "Defaults to @samp{\"ddclient\"}."
  40730. msgstr ""
  40731. #. type: deftypevr
  40732. #: guix-git/doc/guix.texi:27162
  40733. #, no-wrap
  40734. msgid "{@code{ddclient-configuration} parameter} string group"
  40735. msgstr ""
  40736. #. type: deftypevr
  40737. #: guix-git/doc/guix.texi:27164
  40738. msgid "Group of the user who will run the ddclient program."
  40739. msgstr ""
  40740. #. type: deftypevr
  40741. #: guix-git/doc/guix.texi:27169
  40742. #, no-wrap
  40743. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  40744. msgstr ""
  40745. #. type: deftypevr
  40746. #: guix-git/doc/guix.texi:27173
  40747. 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."
  40748. msgstr ""
  40749. #. type: deftypevr
  40750. #: guix-git/doc/guix.texi:27175
  40751. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  40752. msgstr ""
  40753. #. type: deftypevr
  40754. #: guix-git/doc/guix.texi:27178
  40755. #, no-wrap
  40756. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  40757. msgstr ""
  40758. #. type: deftypevr
  40759. #: guix-git/doc/guix.texi:27180
  40760. msgid "Extra options will be appended to @file{ddclient.conf} file."
  40761. msgstr ""
  40762. #. type: cindex
  40763. #: guix-git/doc/guix.texi:27191
  40764. #, no-wrap
  40765. msgid "VPN (virtual private network)"
  40766. msgstr ""
  40767. #. type: cindex
  40768. #: guix-git/doc/guix.texi:27192
  40769. #, no-wrap
  40770. msgid "virtual private network (VPN)"
  40771. msgstr ""
  40772. #. type: Plain text
  40773. #: guix-git/doc/guix.texi:27196
  40774. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  40775. msgstr ""
  40776. #. type: subsubheading
  40777. #: guix-git/doc/guix.texi:27197
  40778. #, no-wrap
  40779. msgid "Bitmask"
  40780. msgstr ""
  40781. #. type: defvr
  40782. #: guix-git/doc/guix.texi:27199
  40783. #, no-wrap
  40784. msgid "{Scheme Variable} bitmask-service-type"
  40785. msgstr ""
  40786. #. type: defvr
  40787. #: guix-git/doc/guix.texi:27204
  40788. 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."
  40789. msgstr ""
  40790. #. type: subsubheading
  40791. #: guix-git/doc/guix.texi:27206
  40792. #, no-wrap
  40793. msgid "OpenVPN"
  40794. msgstr ""
  40795. #. type: Plain text
  40796. #: guix-git/doc/guix.texi:27210
  40797. 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@."
  40798. msgstr ""
  40799. #. type: deffn
  40800. #: guix-git/doc/guix.texi:27211
  40801. #, no-wrap
  40802. msgid "{Scheme Procedure} openvpn-client-service @"
  40803. msgstr ""
  40804. #. type: deffn
  40805. #: guix-git/doc/guix.texi:27213
  40806. msgid "[#:config (openvpn-client-configuration)]"
  40807. msgstr ""
  40808. #. type: deffn
  40809. #: guix-git/doc/guix.texi:27215
  40810. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  40811. msgstr ""
  40812. #. type: deffn
  40813. #: guix-git/doc/guix.texi:27217
  40814. #, no-wrap
  40815. msgid "{Scheme Procedure} openvpn-server-service @"
  40816. msgstr ""
  40817. #. type: deffn
  40818. #: guix-git/doc/guix.texi:27219
  40819. msgid "[#:config (openvpn-server-configuration)]"
  40820. msgstr ""
  40821. #. type: deffn
  40822. #: guix-git/doc/guix.texi:27221
  40823. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  40824. msgstr ""
  40825. #. type: deffn
  40826. #: guix-git/doc/guix.texi:27223
  40827. msgid "Both can be run simultaneously."
  40828. msgstr ""
  40829. #. type: Plain text
  40830. #: guix-git/doc/guix.texi:27228
  40831. msgid "Available @code{openvpn-client-configuration} fields are:"
  40832. msgstr ""
  40833. #. type: deftypevr
  40834. #: guix-git/doc/guix.texi:27229
  40835. #, no-wrap
  40836. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  40837. msgstr ""
  40838. #. type: deftypevr
  40839. #: guix-git/doc/guix.texi:27231 guix-git/doc/guix.texi:27386
  40840. msgid "The OpenVPN package."
  40841. msgstr ""
  40842. #. type: deftypevr
  40843. #: guix-git/doc/guix.texi:27234
  40844. #, no-wrap
  40845. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  40846. msgstr ""
  40847. #. type: deftypevr
  40848. #: guix-git/doc/guix.texi:27236 guix-git/doc/guix.texi:27391
  40849. msgid "The OpenVPN pid file."
  40850. msgstr ""
  40851. #. type: deftypevr
  40852. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27393
  40853. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  40854. msgstr ""
  40855. #. type: deftypevr
  40856. #: guix-git/doc/guix.texi:27241
  40857. #, no-wrap
  40858. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  40859. msgstr ""
  40860. #. type: deftypevr
  40861. #: guix-git/doc/guix.texi:27244 guix-git/doc/guix.texi:27399
  40862. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  40863. msgstr ""
  40864. #. type: deftypevr
  40865. #: guix-git/doc/guix.texi:27246 guix-git/doc/guix.texi:27401
  40866. msgid "Defaults to @samp{udp}."
  40867. msgstr ""
  40868. #. type: deftypevr
  40869. #: guix-git/doc/guix.texi:27249
  40870. #, no-wrap
  40871. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  40872. msgstr ""
  40873. #. type: deftypevr
  40874. #: guix-git/doc/guix.texi:27251 guix-git/doc/guix.texi:27406
  40875. msgid "The device type used to represent the VPN connection."
  40876. msgstr ""
  40877. #. type: deftypevr
  40878. #: guix-git/doc/guix.texi:27253 guix-git/doc/guix.texi:27408
  40879. msgid "Defaults to @samp{tun}."
  40880. msgstr ""
  40881. #. type: Plain text
  40882. #: guix-git/doc/guix.texi:27259 guix-git/doc/guix.texi:27414
  40883. 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}."
  40884. msgstr ""
  40885. #. type: deftypevr
  40886. #: guix-git/doc/guix.texi:27260
  40887. #, no-wrap
  40888. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  40889. msgstr ""
  40890. #. type: deftypevr
  40891. #: guix-git/doc/guix.texi:27262 guix-git/doc/guix.texi:27417
  40892. msgid "The certificate authority to check connections against."
  40893. msgstr ""
  40894. #. type: deftypevr
  40895. #: guix-git/doc/guix.texi:27264 guix-git/doc/guix.texi:27419
  40896. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  40897. msgstr ""
  40898. #. type: deftypevr
  40899. #: guix-git/doc/guix.texi:27267
  40900. #, no-wrap
  40901. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  40902. msgstr ""
  40903. #. type: deftypevr
  40904. #: guix-git/doc/guix.texi:27270 guix-git/doc/guix.texi:27425
  40905. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  40906. msgstr ""
  40907. #. type: deftypevr
  40908. #: guix-git/doc/guix.texi:27272 guix-git/doc/guix.texi:27427
  40909. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  40910. msgstr ""
  40911. #. type: deftypevr
  40912. #: guix-git/doc/guix.texi:27275
  40913. #, no-wrap
  40914. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  40915. msgstr ""
  40916. #. type: deftypevr
  40917. #: guix-git/doc/guix.texi:27278 guix-git/doc/guix.texi:27433
  40918. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  40919. msgstr ""
  40920. #. type: deftypevr
  40921. #: guix-git/doc/guix.texi:27280 guix-git/doc/guix.texi:27435
  40922. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  40923. msgstr ""
  40924. #. type: deftypevr
  40925. #: guix-git/doc/guix.texi:27283
  40926. #, no-wrap
  40927. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  40928. msgstr ""
  40929. #. type: deftypevr
  40930. #: guix-git/doc/guix.texi:27285 guix-git/doc/guix.texi:27440
  40931. msgid "Whether to use the lzo compression algorithm."
  40932. msgstr ""
  40933. #. type: deftypevr
  40934. #: guix-git/doc/guix.texi:27290
  40935. #, no-wrap
  40936. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  40937. msgstr ""
  40938. #. type: deftypevr
  40939. #: guix-git/doc/guix.texi:27292 guix-git/doc/guix.texi:27447
  40940. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  40941. msgstr ""
  40942. #. type: deftypevr
  40943. #: guix-git/doc/guix.texi:27297
  40944. #, no-wrap
  40945. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  40946. msgstr ""
  40947. #. type: deftypevr
  40948. #: guix-git/doc/guix.texi:27300 guix-git/doc/guix.texi:27455
  40949. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  40950. msgstr ""
  40951. #. type: deftypevr
  40952. #: guix-git/doc/guix.texi:27305
  40953. #, no-wrap
  40954. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  40955. msgstr ""
  40956. #. type: deftypevr
  40957. #: guix-git/doc/guix.texi:27308 guix-git/doc/guix.texi:27463
  40958. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  40959. msgstr ""
  40960. #. type: deftypevr
  40961. #: guix-git/doc/guix.texi:27312
  40962. #, no-wrap
  40963. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  40964. msgstr ""
  40965. #. type: deftypevr
  40966. #: guix-git/doc/guix.texi:27314 guix-git/doc/guix.texi:27469
  40967. msgid "Verbosity level."
  40968. msgstr ""
  40969. #. type: deftypevr
  40970. #: guix-git/doc/guix.texi:27316 guix-git/doc/guix.texi:27471
  40971. #: guix-git/doc/guix.texi:29204 guix-git/doc/guix.texi:29428
  40972. msgid "Defaults to @samp{3}."
  40973. msgstr ""
  40974. #. type: deftypevr
  40975. #: guix-git/doc/guix.texi:27319
  40976. #, no-wrap
  40977. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  40978. msgstr ""
  40979. #. type: deftypevr
  40980. #: guix-git/doc/guix.texi:27322 guix-git/doc/guix.texi:27477
  40981. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  40982. msgstr ""
  40983. #. type: deftypevr
  40984. #: guix-git/doc/guix.texi:27327
  40985. #, no-wrap
  40986. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  40987. msgstr ""
  40988. #. type: deftypevr
  40989. #: guix-git/doc/guix.texi:27331
  40990. 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."
  40991. msgstr ""
  40992. #. type: deftypevr
  40993. #: guix-git/doc/guix.texi:27333
  40994. msgid "Defaults to @samp{'disabled}."
  40995. msgstr ""
  40996. #. type: deftypevr
  40997. #: guix-git/doc/guix.texi:27335
  40998. #, no-wrap
  40999. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  41000. msgstr ""
  41001. #. type: deftypevr
  41002. #: guix-git/doc/guix.texi:27337
  41003. msgid "Whether to check the server certificate has server usage extension."
  41004. msgstr ""
  41005. #. type: deftypevr
  41006. #: guix-git/doc/guix.texi:27342
  41007. #, no-wrap
  41008. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  41009. msgstr ""
  41010. #. type: deftypevr
  41011. #: guix-git/doc/guix.texi:27344
  41012. msgid "Bind to a specific local port number."
  41013. msgstr ""
  41014. #. type: deftypevr
  41015. #: guix-git/doc/guix.texi:27349
  41016. #, no-wrap
  41017. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  41018. msgstr ""
  41019. #. type: deftypevr
  41020. #: guix-git/doc/guix.texi:27351
  41021. msgid "Retry resolving server address."
  41022. msgstr ""
  41023. #. type: deftypevr
  41024. #: guix-git/doc/guix.texi:27356
  41025. #, no-wrap
  41026. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  41027. msgstr ""
  41028. #. type: deftypevr
  41029. #: guix-git/doc/guix.texi:27358
  41030. msgid "A list of remote servers to connect to."
  41031. msgstr ""
  41032. #. type: deftypevr
  41033. #: guix-git/doc/guix.texi:27362
  41034. msgid "Available @code{openvpn-remote-configuration} fields are:"
  41035. msgstr ""
  41036. #. type: deftypevr
  41037. #: guix-git/doc/guix.texi:27363
  41038. #, no-wrap
  41039. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  41040. msgstr ""
  41041. #. type: deftypevr
  41042. #: guix-git/doc/guix.texi:27365
  41043. msgid "Server name."
  41044. msgstr ""
  41045. #. type: deftypevr
  41046. #: guix-git/doc/guix.texi:27367
  41047. msgid "Defaults to @samp{\"my-server\"}."
  41048. msgstr ""
  41049. #. type: deftypevr
  41050. #: guix-git/doc/guix.texi:27370
  41051. #, no-wrap
  41052. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  41053. msgstr ""
  41054. #. type: deftypevr
  41055. #: guix-git/doc/guix.texi:27372
  41056. msgid "Port number the server listens to."
  41057. msgstr ""
  41058. #. type: deftypevr
  41059. #: guix-git/doc/guix.texi:27374 guix-git/doc/guix.texi:27486
  41060. msgid "Defaults to @samp{1194}."
  41061. msgstr ""
  41062. #. type: Plain text
  41063. #: guix-git/doc/guix.texi:27383
  41064. msgid "Available @code{openvpn-server-configuration} fields are:"
  41065. msgstr ""
  41066. #. type: deftypevr
  41067. #: guix-git/doc/guix.texi:27384
  41068. #, no-wrap
  41069. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  41070. msgstr ""
  41071. #. type: deftypevr
  41072. #: guix-git/doc/guix.texi:27389
  41073. #, no-wrap
  41074. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  41075. msgstr ""
  41076. #. type: deftypevr
  41077. #: guix-git/doc/guix.texi:27396
  41078. #, no-wrap
  41079. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  41080. msgstr ""
  41081. #. type: deftypevr
  41082. #: guix-git/doc/guix.texi:27404
  41083. #, no-wrap
  41084. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  41085. msgstr ""
  41086. #. type: deftypevr
  41087. #: guix-git/doc/guix.texi:27415
  41088. #, no-wrap
  41089. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  41090. msgstr ""
  41091. #. type: deftypevr
  41092. #: guix-git/doc/guix.texi:27422
  41093. #, no-wrap
  41094. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  41095. msgstr ""
  41096. #. type: deftypevr
  41097. #: guix-git/doc/guix.texi:27430
  41098. #, no-wrap
  41099. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  41100. msgstr ""
  41101. #. type: deftypevr
  41102. #: guix-git/doc/guix.texi:27438
  41103. #, no-wrap
  41104. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  41105. msgstr ""
  41106. #. type: deftypevr
  41107. #: guix-git/doc/guix.texi:27445
  41108. #, no-wrap
  41109. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  41110. msgstr ""
  41111. #. type: deftypevr
  41112. #: guix-git/doc/guix.texi:27452
  41113. #, no-wrap
  41114. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  41115. msgstr ""
  41116. #. type: deftypevr
  41117. #: guix-git/doc/guix.texi:27460
  41118. #, no-wrap
  41119. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  41120. msgstr ""
  41121. #. type: deftypevr
  41122. #: guix-git/doc/guix.texi:27467
  41123. #, no-wrap
  41124. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  41125. msgstr ""
  41126. #. type: deftypevr
  41127. #: guix-git/doc/guix.texi:27474
  41128. #, no-wrap
  41129. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  41130. msgstr ""
  41131. #. type: deftypevr
  41132. #: guix-git/doc/guix.texi:27482
  41133. #, no-wrap
  41134. msgid "{@code{openvpn-server-configuration} parameter} number port"
  41135. msgstr ""
  41136. #. type: deftypevr
  41137. #: guix-git/doc/guix.texi:27484
  41138. msgid "Specifies the port number on which the server listens."
  41139. msgstr ""
  41140. #. type: deftypevr
  41141. #: guix-git/doc/guix.texi:27489
  41142. #, no-wrap
  41143. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  41144. msgstr ""
  41145. #. type: deftypevr
  41146. #: guix-git/doc/guix.texi:27491
  41147. msgid "An ip and mask specifying the subnet inside the virtual network."
  41148. msgstr ""
  41149. #. type: deftypevr
  41150. #: guix-git/doc/guix.texi:27493
  41151. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  41152. msgstr ""
  41153. #. type: deftypevr
  41154. #: guix-git/doc/guix.texi:27496
  41155. #, no-wrap
  41156. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  41157. msgstr ""
  41158. #. type: deftypevr
  41159. #: guix-git/doc/guix.texi:27498
  41160. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  41161. msgstr ""
  41162. #. type: deftypevr
  41163. #: guix-git/doc/guix.texi:27503
  41164. #, no-wrap
  41165. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  41166. msgstr ""
  41167. #. type: deftypevr
  41168. #: guix-git/doc/guix.texi:27505
  41169. msgid "The Diffie-Hellman parameters file."
  41170. msgstr ""
  41171. #. type: deftypevr
  41172. #: guix-git/doc/guix.texi:27507
  41173. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  41174. msgstr ""
  41175. #. type: deftypevr
  41176. #: guix-git/doc/guix.texi:27510
  41177. #, no-wrap
  41178. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  41179. msgstr ""
  41180. #. type: deftypevr
  41181. #: guix-git/doc/guix.texi:27512
  41182. msgid "The file that records client IPs."
  41183. msgstr ""
  41184. #. type: deftypevr
  41185. #: guix-git/doc/guix.texi:27514
  41186. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  41187. msgstr ""
  41188. #. type: deftypevr
  41189. #: guix-git/doc/guix.texi:27517
  41190. #, no-wrap
  41191. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  41192. msgstr ""
  41193. #. type: deftypevr
  41194. #: guix-git/doc/guix.texi:27519
  41195. msgid "When true, the server will act as a gateway for its clients."
  41196. msgstr ""
  41197. #. type: deftypevr
  41198. #: guix-git/doc/guix.texi:27524
  41199. #, no-wrap
  41200. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  41201. msgstr ""
  41202. #. type: deftypevr
  41203. #: guix-git/doc/guix.texi:27526
  41204. msgid "When true, clients are allowed to talk to each other inside the VPN."
  41205. msgstr ""
  41206. #. type: deftypevr
  41207. #: guix-git/doc/guix.texi:27531
  41208. #, no-wrap
  41209. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  41210. msgstr ""
  41211. #. type: deftypevr
  41212. #: guix-git/doc/guix.texi:27537
  41213. 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."
  41214. msgstr ""
  41215. #. type: deftypevr
  41216. #: guix-git/doc/guix.texi:27540
  41217. #, no-wrap
  41218. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  41219. msgstr ""
  41220. #. type: deftypevr
  41221. #: guix-git/doc/guix.texi:27542
  41222. msgid "The maximum number of clients."
  41223. msgstr ""
  41224. #. type: deftypevr
  41225. #: guix-git/doc/guix.texi:27547
  41226. #, no-wrap
  41227. msgid "{@code{openvpn-server-configuration} parameter} string status"
  41228. msgstr ""
  41229. #. type: deftypevr
  41230. #: guix-git/doc/guix.texi:27550
  41231. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  41232. msgstr ""
  41233. #. type: deftypevr
  41234. #: guix-git/doc/guix.texi:27552
  41235. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  41236. msgstr ""
  41237. #. type: deftypevr
  41238. #: guix-git/doc/guix.texi:27555
  41239. #, no-wrap
  41240. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  41241. msgstr ""
  41242. #. type: deftypevr
  41243. #: guix-git/doc/guix.texi:27557
  41244. msgid "The list of configuration for some clients."
  41245. msgstr ""
  41246. #. type: deftypevr
  41247. #: guix-git/doc/guix.texi:27561
  41248. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  41249. msgstr ""
  41250. #. type: deftypevr
  41251. #: guix-git/doc/guix.texi:27562
  41252. #, no-wrap
  41253. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  41254. msgstr ""
  41255. #. type: deftypevr
  41256. #: guix-git/doc/guix.texi:27564
  41257. msgid "Client name."
  41258. msgstr ""
  41259. #. type: deftypevr
  41260. #: guix-git/doc/guix.texi:27566
  41261. msgid "Defaults to @samp{\"client\"}."
  41262. msgstr ""
  41263. #. type: deftypevr
  41264. #: guix-git/doc/guix.texi:27569
  41265. #, no-wrap
  41266. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  41267. msgstr ""
  41268. #. type: deftypevr
  41269. #: guix-git/doc/guix.texi:27571
  41270. msgid "Client own network"
  41271. msgstr ""
  41272. #. type: deftypevr
  41273. #: guix-git/doc/guix.texi:27576
  41274. #, no-wrap
  41275. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  41276. msgstr ""
  41277. #. type: deftypevr
  41278. #: guix-git/doc/guix.texi:27578
  41279. msgid "Client VPN IP."
  41280. msgstr ""
  41281. #. type: subheading
  41282. #: guix-git/doc/guix.texi:27587
  41283. #, no-wrap
  41284. msgid "strongSwan"
  41285. msgstr ""
  41286. #. type: Plain text
  41287. #: guix-git/doc/guix.texi:27591
  41288. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  41289. msgstr ""
  41290. #. type: defvr
  41291. #: guix-git/doc/guix.texi:27592
  41292. #, no-wrap
  41293. msgid "{Scheme Variable} strongswan-service-type"
  41294. msgstr ""
  41295. #. type: defvr
  41296. #: guix-git/doc/guix.texi:27596
  41297. 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:"
  41298. msgstr ""
  41299. #. type: lisp
  41300. #: guix-git/doc/guix.texi:27602
  41301. #, no-wrap
  41302. msgid ""
  41303. "(service strongswan-service-type\n"
  41304. " (strongswan-configuration\n"
  41305. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  41306. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  41307. msgstr ""
  41308. #. type: deftp
  41309. #: guix-git/doc/guix.texi:27606
  41310. #, no-wrap
  41311. msgid "{Data Type} strongswan-configuration"
  41312. msgstr ""
  41313. #. type: deftp
  41314. #: guix-git/doc/guix.texi:27608
  41315. msgid "Data type representing the configuration of the StrongSwan service."
  41316. msgstr ""
  41317. #. type: code{#1}
  41318. #: guix-git/doc/guix.texi:27610
  41319. #, no-wrap
  41320. msgid "strongswan"
  41321. msgstr ""
  41322. #. type: table
  41323. #: guix-git/doc/guix.texi:27612
  41324. msgid "The strongSwan package to use for this service."
  41325. msgstr ""
  41326. #. type: item
  41327. #: guix-git/doc/guix.texi:27613
  41328. #, no-wrap
  41329. msgid "@code{ipsec-conf} (default: @code{#f})"
  41330. msgstr ""
  41331. #. type: table
  41332. #: guix-git/doc/guix.texi:27616
  41333. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  41334. msgstr ""
  41335. #. type: item
  41336. #: guix-git/doc/guix.texi:27617
  41337. #, no-wrap
  41338. msgid "@code{ipsec-secrets} (default @code{#f})"
  41339. msgstr ""
  41340. #. type: table
  41341. #: guix-git/doc/guix.texi:27620
  41342. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  41343. msgstr ""
  41344. #. type: subsubheading
  41345. #: guix-git/doc/guix.texi:27624
  41346. #, no-wrap
  41347. msgid "Wireguard"
  41348. msgstr ""
  41349. #. type: defvr
  41350. #: guix-git/doc/guix.texi:27626
  41351. #, no-wrap
  41352. msgid "{Scheme Variable} wireguard-service-type"
  41353. msgstr ""
  41354. #. type: defvr
  41355. #: guix-git/doc/guix.texi:27629
  41356. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  41357. msgstr ""
  41358. #. type: lisp
  41359. #: guix-git/doc/guix.texi:27640
  41360. #, no-wrap
  41361. msgid ""
  41362. "(service wireguard-service-type\n"
  41363. " (wireguard-configuration\n"
  41364. " (peers\n"
  41365. " (list\n"
  41366. " (wireguard-peer\n"
  41367. " (name \"my-peer\")\n"
  41368. " (endpoint \"my.wireguard.com:51820\")\n"
  41369. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  41370. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  41371. msgstr ""
  41372. #. type: deftp
  41373. #: guix-git/doc/guix.texi:27644
  41374. #, no-wrap
  41375. msgid "{Data Type} wireguard-configuration"
  41376. msgstr ""
  41377. #. type: deftp
  41378. #: guix-git/doc/guix.texi:27646
  41379. msgid "Data type representing the configuration of the Wireguard service."
  41380. msgstr ""
  41381. #. type: code{#1}
  41382. #: guix-git/doc/guix.texi:27648
  41383. #, no-wrap
  41384. msgid "wireguard"
  41385. msgstr ""
  41386. #. type: table
  41387. #: guix-git/doc/guix.texi:27650
  41388. msgid "The wireguard package to use for this service."
  41389. msgstr ""
  41390. #. type: item
  41391. #: guix-git/doc/guix.texi:27651
  41392. #, no-wrap
  41393. msgid "@code{interface} (default: @code{\"wg0\"})"
  41394. msgstr ""
  41395. #. type: table
  41396. #: guix-git/doc/guix.texi:27653
  41397. msgid "The interface name for the VPN."
  41398. msgstr ""
  41399. #. type: item
  41400. #: guix-git/doc/guix.texi:27654
  41401. #, no-wrap
  41402. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  41403. msgstr ""
  41404. #. type: table
  41405. #: guix-git/doc/guix.texi:27656
  41406. msgid "The IP addresses to be assigned to the above interface."
  41407. msgstr ""
  41408. #. type: item
  41409. #: guix-git/doc/guix.texi:27657
  41410. #, no-wrap
  41411. msgid "@code{port} (default: @code{51820})"
  41412. msgstr ""
  41413. #. type: table
  41414. #: guix-git/doc/guix.texi:27659
  41415. msgid "The port on which to listen for incoming connections."
  41416. msgstr ""
  41417. #. type: item
  41418. #: guix-git/doc/guix.texi:27660
  41419. #, no-wrap
  41420. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  41421. msgstr ""
  41422. #. type: table
  41423. #: guix-git/doc/guix.texi:27663
  41424. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  41425. msgstr ""
  41426. #. type: item
  41427. #: guix-git/doc/guix.texi:27664
  41428. #, no-wrap
  41429. msgid "@code{peers} (default: @code{'()})"
  41430. msgstr ""
  41431. #. type: table
  41432. #: guix-git/doc/guix.texi:27667
  41433. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  41434. msgstr ""
  41435. #. type: deftp
  41436. #: guix-git/doc/guix.texi:27671
  41437. #, no-wrap
  41438. msgid "{Data Type} wireguard-peer"
  41439. msgstr ""
  41440. #. type: deftp
  41441. #: guix-git/doc/guix.texi:27673
  41442. msgid "Data type representing a Wireguard peer attached to a given interface."
  41443. msgstr ""
  41444. #. type: table
  41445. #: guix-git/doc/guix.texi:27677
  41446. msgid "The peer name."
  41447. msgstr ""
  41448. #. type: item
  41449. #: guix-git/doc/guix.texi:27678
  41450. #, no-wrap
  41451. msgid "@code{endpoint} (default: @code{#f})"
  41452. msgstr ""
  41453. #. type: table
  41454. #: guix-git/doc/guix.texi:27681
  41455. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  41456. msgstr ""
  41457. #. type: itemx
  41458. #: guix-git/doc/guix.texi:27682 guix-git/doc/guix.texi:28077
  41459. #: guix-git/doc/guix.texi:28114 guix-git/doc/guix.texi:33177
  41460. #, no-wrap
  41461. msgid "public-key"
  41462. msgstr ""
  41463. #. type: table
  41464. #: guix-git/doc/guix.texi:27684
  41465. msgid "The peer public-key represented as a base64 string."
  41466. msgstr ""
  41467. #. type: code{#1}
  41468. #: guix-git/doc/guix.texi:27685
  41469. #, no-wrap
  41470. msgid "allowed-ips"
  41471. msgstr ""
  41472. #. type: table
  41473. #: guix-git/doc/guix.texi:27688
  41474. 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."
  41475. msgstr ""
  41476. #. type: item
  41477. #: guix-git/doc/guix.texi:27689
  41478. #, no-wrap
  41479. msgid "@code{keep-alive} (default: @code{#f})"
  41480. msgstr ""
  41481. #. type: table
  41482. #: guix-git/doc/guix.texi:27694
  41483. 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."
  41484. msgstr ""
  41485. #. type: cindex
  41486. #: guix-git/doc/guix.texi:27700
  41487. #, no-wrap
  41488. msgid "NFS"
  41489. msgstr ""
  41490. #. type: Plain text
  41491. #: guix-git/doc/guix.texi:27705
  41492. 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)."
  41493. msgstr ""
  41494. #. type: Plain text
  41495. #: guix-git/doc/guix.texi:27709
  41496. 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}."
  41497. msgstr ""
  41498. #. type: subsubheading
  41499. #: guix-git/doc/guix.texi:27710
  41500. #, no-wrap
  41501. msgid "NFS Service"
  41502. msgstr ""
  41503. #. type: cindex
  41504. #: guix-git/doc/guix.texi:27711
  41505. #, no-wrap
  41506. msgid "NFS, server"
  41507. msgstr ""
  41508. #. type: Plain text
  41509. #: guix-git/doc/guix.texi:27716
  41510. 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."
  41511. msgstr ""
  41512. #. type: defvr
  41513. #: guix-git/doc/guix.texi:27717
  41514. #, no-wrap
  41515. msgid "{Scheme Variable} nfs-service-type"
  41516. msgstr ""
  41517. #. type: defvr
  41518. #: guix-git/doc/guix.texi:27719
  41519. msgid "A service type for a complete NFS server."
  41520. msgstr ""
  41521. #. type: deftp
  41522. #: guix-git/doc/guix.texi:27721
  41523. #, no-wrap
  41524. msgid "{Data Type} nfs-configuration"
  41525. msgstr ""
  41526. #. type: deftp
  41527. #: guix-git/doc/guix.texi:27724
  41528. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  41529. msgstr ""
  41530. #. type: deftp
  41531. #: guix-git/doc/guix.texi:27726
  41532. msgid "It has the following parameters:"
  41533. msgstr ""
  41534. #. type: item
  41535. #: guix-git/doc/guix.texi:27727 guix-git/doc/guix.texi:27852
  41536. #: guix-git/doc/guix.texi:27877
  41537. #, no-wrap
  41538. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  41539. msgstr ""
  41540. #. type: table
  41541. #: guix-git/doc/guix.texi:27729
  41542. msgid "The nfs-utils package to use."
  41543. msgstr ""
  41544. #. type: item
  41545. #: guix-git/doc/guix.texi:27730
  41546. #, no-wrap
  41547. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  41548. msgstr ""
  41549. #. type: table
  41550. #: guix-git/doc/guix.texi:27733
  41551. 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."
  41552. msgstr ""
  41553. #. type: item
  41554. #: guix-git/doc/guix.texi:27734
  41555. #, no-wrap
  41556. msgid "@code{exports} (default: @code{'()})"
  41557. msgstr ""
  41558. #. type: table
  41559. #: guix-git/doc/guix.texi:27739
  41560. 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:"
  41561. msgstr ""
  41562. #. type: lisp
  41563. #: guix-git/doc/guix.texi:27745
  41564. #, no-wrap
  41565. msgid ""
  41566. "(nfs-configuration\n"
  41567. " (exports\n"
  41568. " '((\"/export\"\n"
  41569. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  41570. msgstr ""
  41571. #. type: item
  41572. #: guix-git/doc/guix.texi:27747
  41573. #, no-wrap
  41574. msgid "@code{rpcmountd-port} (default: @code{#f})"
  41575. msgstr ""
  41576. #. type: table
  41577. #: guix-git/doc/guix.texi:27749
  41578. msgid "The network port that the @command{rpc.mountd} daemon should use."
  41579. msgstr ""
  41580. #. type: item
  41581. #: guix-git/doc/guix.texi:27750
  41582. #, no-wrap
  41583. msgid "@code{rpcstatd-port} (default: @code{#f})"
  41584. msgstr ""
  41585. #. type: table
  41586. #: guix-git/doc/guix.texi:27752
  41587. msgid "The network port that the @command{rpc.statd} daemon should use."
  41588. msgstr ""
  41589. #. type: item
  41590. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27801
  41591. #, no-wrap
  41592. msgid "@code{rpcbind} (default: @code{rpcbind})"
  41593. msgstr ""
  41594. #. type: table
  41595. #: guix-git/doc/guix.texi:27755 guix-git/doc/guix.texi:27803
  41596. msgid "The rpcbind package to use."
  41597. msgstr ""
  41598. #. type: item
  41599. #: guix-git/doc/guix.texi:27756
  41600. #, no-wrap
  41601. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  41602. msgstr ""
  41603. #. type: table
  41604. #: guix-git/doc/guix.texi:27758
  41605. msgid "The local NFSv4 domain name."
  41606. msgstr ""
  41607. #. type: item
  41608. #: guix-git/doc/guix.texi:27759
  41609. #, no-wrap
  41610. msgid "@code{nfsd-port} (default: @code{2049})"
  41611. msgstr ""
  41612. #. type: table
  41613. #: guix-git/doc/guix.texi:27761
  41614. msgid "The network port that the @command{nfsd} daemon should use."
  41615. msgstr ""
  41616. #. type: item
  41617. #: guix-git/doc/guix.texi:27762
  41618. #, no-wrap
  41619. msgid "@code{nfsd-threads} (default: @code{8})"
  41620. msgstr ""
  41621. #. type: table
  41622. #: guix-git/doc/guix.texi:27764
  41623. msgid "The number of threads used by the @command{nfsd} daemon."
  41624. msgstr ""
  41625. #. type: item
  41626. #: guix-git/doc/guix.texi:27765
  41627. #, no-wrap
  41628. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  41629. msgstr ""
  41630. #. type: table
  41631. #: guix-git/doc/guix.texi:27767
  41632. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  41633. msgstr ""
  41634. #. type: item
  41635. #: guix-git/doc/guix.texi:27768
  41636. #, no-wrap
  41637. msgid "@code{nfsd-udp?} (default: @code{#f})"
  41638. msgstr ""
  41639. #. type: table
  41640. #: guix-git/doc/guix.texi:27770
  41641. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  41642. msgstr ""
  41643. #. type: item
  41644. #: guix-git/doc/guix.texi:27771 guix-git/doc/guix.texi:27855
  41645. #: guix-git/doc/guix.texi:27880
  41646. #, no-wrap
  41647. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41648. msgstr ""
  41649. #. type: table
  41650. #: guix-git/doc/guix.texi:27773 guix-git/doc/guix.texi:27857
  41651. #: guix-git/doc/guix.texi:27882
  41652. msgid "The directory where the pipefs file system is mounted."
  41653. msgstr ""
  41654. #. type: item
  41655. #: guix-git/doc/guix.texi:27774
  41656. #, no-wrap
  41657. msgid "@code{debug} (default: @code{'()\"})"
  41658. msgstr ""
  41659. #. type: table
  41660. #: guix-git/doc/guix.texi:27778
  41661. 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}."
  41662. msgstr ""
  41663. #. type: Plain text
  41664. #: guix-git/doc/guix.texi:27783
  41665. 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."
  41666. msgstr ""
  41667. #. type: subsubheading
  41668. #: guix-git/doc/guix.texi:27784
  41669. #, no-wrap
  41670. msgid "RPC Bind Service"
  41671. msgstr ""
  41672. #. type: cindex
  41673. #: guix-git/doc/guix.texi:27785
  41674. #, no-wrap
  41675. msgid "rpcbind"
  41676. msgstr ""
  41677. #. type: Plain text
  41678. #: guix-git/doc/guix.texi:27791
  41679. 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."
  41680. msgstr ""
  41681. #. type: defvr
  41682. #: guix-git/doc/guix.texi:27792
  41683. #, no-wrap
  41684. msgid "{Scheme Variable} rpcbind-service-type"
  41685. msgstr ""
  41686. #. type: defvr
  41687. #: guix-git/doc/guix.texi:27794
  41688. msgid "A service type for the RPC portmapper daemon."
  41689. msgstr ""
  41690. #. type: deftp
  41691. #: guix-git/doc/guix.texi:27797
  41692. #, no-wrap
  41693. msgid "{Data Type} rpcbind-configuration"
  41694. msgstr ""
  41695. #. type: deftp
  41696. #: guix-git/doc/guix.texi:27800
  41697. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  41698. msgstr ""
  41699. #. type: item
  41700. #: guix-git/doc/guix.texi:27804
  41701. #, no-wrap
  41702. msgid "@code{warm-start?} (default: @code{#t})"
  41703. msgstr ""
  41704. #. type: table
  41705. #: guix-git/doc/guix.texi:27808
  41706. 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."
  41707. msgstr ""
  41708. #. type: subsubheading
  41709. #: guix-git/doc/guix.texi:27812
  41710. #, no-wrap
  41711. msgid "Pipefs Pseudo File System"
  41712. msgstr ""
  41713. #. type: cindex
  41714. #: guix-git/doc/guix.texi:27813
  41715. #, no-wrap
  41716. msgid "pipefs"
  41717. msgstr ""
  41718. #. type: cindex
  41719. #: guix-git/doc/guix.texi:27814
  41720. #, no-wrap
  41721. msgid "rpc_pipefs"
  41722. msgstr ""
  41723. #. type: Plain text
  41724. #: guix-git/doc/guix.texi:27818
  41725. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  41726. msgstr ""
  41727. #. type: defvr
  41728. #: guix-git/doc/guix.texi:27819
  41729. #, no-wrap
  41730. msgid "{Scheme Variable} pipefs-service-type"
  41731. msgstr ""
  41732. #. type: defvr
  41733. #: guix-git/doc/guix.texi:27821
  41734. msgid "A service type for the pipefs pseudo file system."
  41735. msgstr ""
  41736. #. type: deftp
  41737. #: guix-git/doc/guix.texi:27823
  41738. #, no-wrap
  41739. msgid "{Data Type} pipefs-configuration"
  41740. msgstr ""
  41741. #. type: deftp
  41742. #: guix-git/doc/guix.texi:27826
  41743. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  41744. msgstr ""
  41745. #. type: item
  41746. #: guix-git/doc/guix.texi:27827
  41747. #, no-wrap
  41748. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41749. msgstr ""
  41750. #. type: table
  41751. #: guix-git/doc/guix.texi:27829
  41752. msgid "The directory to which the file system is to be attached."
  41753. msgstr ""
  41754. #. type: subsubheading
  41755. #: guix-git/doc/guix.texi:27833
  41756. #, no-wrap
  41757. msgid "GSS Daemon Service"
  41758. msgstr ""
  41759. #. type: cindex
  41760. #: guix-git/doc/guix.texi:27834
  41761. #, no-wrap
  41762. msgid "GSSD"
  41763. msgstr ""
  41764. #. type: cindex
  41765. #: guix-git/doc/guix.texi:27835
  41766. #, no-wrap
  41767. msgid "GSS"
  41768. msgstr ""
  41769. #. type: cindex
  41770. #: guix-git/doc/guix.texi:27836
  41771. #, no-wrap
  41772. msgid "global security system"
  41773. msgstr ""
  41774. #. type: Plain text
  41775. #: guix-git/doc/guix.texi:27843
  41776. 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})."
  41777. msgstr ""
  41778. #. type: defvr
  41779. #: guix-git/doc/guix.texi:27844
  41780. #, no-wrap
  41781. msgid "{Scheme Variable} gss-service-type"
  41782. msgstr ""
  41783. #. type: defvr
  41784. #: guix-git/doc/guix.texi:27846
  41785. msgid "A service type for the Global Security System (GSS) daemon."
  41786. msgstr ""
  41787. #. type: deftp
  41788. #: guix-git/doc/guix.texi:27848
  41789. #, no-wrap
  41790. msgid "{Data Type} gss-configuration"
  41791. msgstr ""
  41792. #. type: deftp
  41793. #: guix-git/doc/guix.texi:27851
  41794. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  41795. msgstr ""
  41796. #. type: table
  41797. #: guix-git/doc/guix.texi:27854
  41798. msgid "The package in which the @command{rpc.gssd} command is to be found."
  41799. msgstr ""
  41800. #. type: subsubheading
  41801. #: guix-git/doc/guix.texi:27862
  41802. #, no-wrap
  41803. msgid "IDMAP Daemon Service"
  41804. msgstr ""
  41805. #. type: cindex
  41806. #: guix-git/doc/guix.texi:27863
  41807. #, no-wrap
  41808. msgid "idmapd"
  41809. msgstr ""
  41810. #. type: cindex
  41811. #: guix-git/doc/guix.texi:27864
  41812. #, no-wrap
  41813. msgid "name mapper"
  41814. msgstr ""
  41815. #. type: Plain text
  41816. #: guix-git/doc/guix.texi:27868
  41817. 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."
  41818. msgstr ""
  41819. #. type: defvr
  41820. #: guix-git/doc/guix.texi:27869
  41821. #, no-wrap
  41822. msgid "{Scheme Variable} idmap-service-type"
  41823. msgstr ""
  41824. #. type: defvr
  41825. #: guix-git/doc/guix.texi:27871
  41826. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  41827. msgstr ""
  41828. #. type: deftp
  41829. #: guix-git/doc/guix.texi:27873
  41830. #, no-wrap
  41831. msgid "{Data Type} idmap-configuration"
  41832. msgstr ""
  41833. #. type: deftp
  41834. #: guix-git/doc/guix.texi:27876
  41835. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  41836. msgstr ""
  41837. #. type: table
  41838. #: guix-git/doc/guix.texi:27879
  41839. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  41840. msgstr ""
  41841. #. type: item
  41842. #: guix-git/doc/guix.texi:27883
  41843. #, no-wrap
  41844. msgid "@code{domain} (default: @code{#f})"
  41845. msgstr ""
  41846. #. type: table
  41847. #: guix-git/doc/guix.texi:27887
  41848. 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."
  41849. msgstr ""
  41850. #. type: item
  41851. #: guix-git/doc/guix.texi:27888
  41852. #, no-wrap
  41853. msgid "@code{verbosity} (default: @code{0})"
  41854. msgstr ""
  41855. #. type: table
  41856. #: guix-git/doc/guix.texi:27890
  41857. msgid "The verbosity level of the daemon."
  41858. msgstr ""
  41859. #. type: Plain text
  41860. #: guix-git/doc/guix.texi:27901
  41861. 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})."
  41862. msgstr ""
  41863. #. type: Plain text
  41864. #: guix-git/doc/guix.texi:27903
  41865. msgid "The @code{(gnu services cuirass)} module provides the following service."
  41866. msgstr ""
  41867. #. type: defvr
  41868. #: guix-git/doc/guix.texi:27904
  41869. #, no-wrap
  41870. msgid "{Scheme Procedure} cuirass-service-type"
  41871. msgstr ""
  41872. #. type: defvr
  41873. #: guix-git/doc/guix.texi:27907
  41874. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  41875. msgstr ""
  41876. #. type: Plain text
  41877. #: guix-git/doc/guix.texi:27912
  41878. 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."
  41879. msgstr ""
  41880. #. type: lisp
  41881. #: guix-git/doc/guix.texi:27923
  41882. #, no-wrap
  41883. msgid ""
  41884. "(define %cuirass-specs\n"
  41885. " #~(list (specification\n"
  41886. " (name \"my-channel\")\n"
  41887. " (build '(channels my-channel))\n"
  41888. " (channels\n"
  41889. " (cons (channel\n"
  41890. " (name 'my-channel)\n"
  41891. " (url \"https://my-channel.git\"))\n"
  41892. " %default-channels)))))\n"
  41893. "\n"
  41894. msgstr ""
  41895. #. type: lisp
  41896. #: guix-git/doc/guix.texi:27927 guix-git/doc/guix.texi:27941
  41897. #, no-wrap
  41898. msgid ""
  41899. "(service cuirass-service-type\n"
  41900. " (cuirass-configuration\n"
  41901. " (specifications %cuirass-specs)))\n"
  41902. msgstr ""
  41903. #. type: Plain text
  41904. #: guix-git/doc/guix.texi:27931
  41905. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  41906. msgstr ""
  41907. #. type: lisp
  41908. #: guix-git/doc/guix.texi:27937
  41909. #, no-wrap
  41910. msgid ""
  41911. "(define %cuirass-specs\n"
  41912. " #~(list (specification\n"
  41913. " (name \"my-linux\")\n"
  41914. " (build '(packages \"linux-libre\")))))\n"
  41915. "\n"
  41916. msgstr ""
  41917. #. type: Plain text
  41918. #: guix-git/doc/guix.texi:27946
  41919. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  41920. msgstr ""
  41921. #. type: Plain text
  41922. #: guix-git/doc/guix.texi:27950
  41923. 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."
  41924. msgstr ""
  41925. #. type: deftp
  41926. #: guix-git/doc/guix.texi:27951
  41927. #, no-wrap
  41928. msgid "{Data Type} cuirass-configuration"
  41929. msgstr ""
  41930. #. type: deftp
  41931. #: guix-git/doc/guix.texi:27953
  41932. msgid "Data type representing the configuration of Cuirass."
  41933. msgstr ""
  41934. #. type: item
  41935. #: guix-git/doc/guix.texi:27955 guix-git/doc/guix.texi:28092
  41936. #, no-wrap
  41937. msgid "@code{cuirass} (default: @code{cuirass})"
  41938. msgstr ""
  41939. #. type: table
  41940. #: guix-git/doc/guix.texi:27957 guix-git/doc/guix.texi:28094
  41941. msgid "The Cuirass package to use."
  41942. msgstr ""
  41943. #. type: item
  41944. #: guix-git/doc/guix.texi:27958
  41945. #, no-wrap
  41946. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  41947. msgstr ""
  41948. #. type: table
  41949. #: guix-git/doc/guix.texi:27960 guix-git/doc/guix.texi:28064
  41950. #: guix-git/doc/guix.texi:28107
  41951. msgid "Location of the log file."
  41952. msgstr ""
  41953. #. type: item
  41954. #: guix-git/doc/guix.texi:27961
  41955. #, no-wrap
  41956. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  41957. msgstr ""
  41958. #. type: table
  41959. #: guix-git/doc/guix.texi:27963
  41960. msgid "Location of the log file used by the web interface."
  41961. msgstr ""
  41962. #. type: item
  41963. #: guix-git/doc/guix.texi:27964
  41964. #, no-wrap
  41965. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  41966. msgstr ""
  41967. #. type: table
  41968. #: guix-git/doc/guix.texi:27966
  41969. msgid "Location of the repository cache."
  41970. msgstr ""
  41971. #. type: item
  41972. #: guix-git/doc/guix.texi:27967
  41973. #, no-wrap
  41974. msgid "@code{user} (default: @code{\"cuirass\"})"
  41975. msgstr ""
  41976. #. type: table
  41977. #: guix-git/doc/guix.texi:27969
  41978. msgid "Owner of the @code{cuirass} process."
  41979. msgstr ""
  41980. #. type: item
  41981. #: guix-git/doc/guix.texi:27970
  41982. #, no-wrap
  41983. msgid "@code{group} (default: @code{\"cuirass\"})"
  41984. msgstr ""
  41985. #. type: table
  41986. #: guix-git/doc/guix.texi:27972
  41987. msgid "Owner's group of the @code{cuirass} process."
  41988. msgstr ""
  41989. #. type: item
  41990. #: guix-git/doc/guix.texi:27973
  41991. #, no-wrap
  41992. msgid "@code{interval} (default: @code{60})"
  41993. msgstr ""
  41994. #. type: table
  41995. #: guix-git/doc/guix.texi:27976
  41996. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  41997. msgstr ""
  41998. #. type: item
  41999. #: guix-git/doc/guix.texi:27977
  42000. #, no-wrap
  42001. msgid "@code{parameters} (default: @code{#f})"
  42002. msgstr ""
  42003. #. type: table
  42004. #: guix-git/doc/guix.texi:27980
  42005. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  42006. msgstr ""
  42007. #. type: item
  42008. #: guix-git/doc/guix.texi:27981
  42009. #, no-wrap
  42010. msgid "@code{remote-server} (default: @code{#f})"
  42011. msgstr ""
  42012. #. type: table
  42013. #: guix-git/doc/guix.texi:27984
  42014. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  42015. msgstr ""
  42016. #. type: item
  42017. #: guix-git/doc/guix.texi:27985
  42018. #, no-wrap
  42019. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  42020. msgstr ""
  42021. #. type: table
  42022. #: guix-git/doc/guix.texi:27990
  42023. 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\"}."
  42024. msgstr ""
  42025. #. type: item
  42026. #: guix-git/doc/guix.texi:27991
  42027. #, no-wrap
  42028. msgid "@code{port} (default: @code{8081})"
  42029. msgstr ""
  42030. #. type: table
  42031. #: guix-git/doc/guix.texi:27993
  42032. msgid "Port number used by the HTTP server."
  42033. msgstr ""
  42034. #. type: table
  42035. #: guix-git/doc/guix.texi:27997
  42036. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  42037. msgstr ""
  42038. #. type: item
  42039. #: guix-git/doc/guix.texi:27998
  42040. #, no-wrap
  42041. msgid "@code{specifications} (default: @code{#~'()})"
  42042. msgstr ""
  42043. #. type: table
  42044. #: guix-git/doc/guix.texi:28002
  42045. 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})."
  42046. msgstr ""
  42047. #. type: item
  42048. #: guix-git/doc/guix.texi:28003
  42049. #, no-wrap
  42050. msgid "@code{use-substitutes?} (default: @code{#f})"
  42051. msgstr ""
  42052. #. type: table
  42053. #: guix-git/doc/guix.texi:28006
  42054. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  42055. msgstr ""
  42056. #. type: item
  42057. #: guix-git/doc/guix.texi:28007 guix-git/doc/guix.texi:35192
  42058. #, no-wrap
  42059. msgid "@code{one-shot?} (default: @code{#f})"
  42060. msgstr ""
  42061. #. type: table
  42062. #: guix-git/doc/guix.texi:28009
  42063. msgid "Only evaluate specifications and build derivations once."
  42064. msgstr ""
  42065. #. type: item
  42066. #: guix-git/doc/guix.texi:28010
  42067. #, no-wrap
  42068. msgid "@code{fallback?} (default: @code{#f})"
  42069. msgstr ""
  42070. #. type: table
  42071. #: guix-git/doc/guix.texi:28013
  42072. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  42073. msgstr ""
  42074. #. type: table
  42075. #: guix-git/doc/guix.texi:28016
  42076. msgid "Extra options to pass when running the Cuirass processes."
  42077. msgstr ""
  42078. #. type: cindex
  42079. #: guix-git/doc/guix.texi:28020
  42080. #, no-wrap
  42081. msgid "remote build"
  42082. msgstr ""
  42083. #. type: subsubheading
  42084. #: guix-git/doc/guix.texi:28021
  42085. #, no-wrap
  42086. msgid "Cuirass remote building"
  42087. msgstr ""
  42088. #. type: Plain text
  42089. #: guix-git/doc/guix.texi:28024
  42090. msgid "Cuirass supports two mechanisms to build derivations."
  42091. msgstr ""
  42092. #. type: item
  42093. #: guix-git/doc/guix.texi:28026
  42094. #, no-wrap
  42095. msgid "Using the local Guix daemon."
  42096. msgstr ""
  42097. #. type: itemize
  42098. #: guix-git/doc/guix.texi:28030
  42099. 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."
  42100. msgstr ""
  42101. #. type: item
  42102. #: guix-git/doc/guix.texi:28031
  42103. #, no-wrap
  42104. msgid "Using the remote build mechanism."
  42105. msgstr ""
  42106. #. type: itemize
  42107. #: guix-git/doc/guix.texi:28035
  42108. 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."
  42109. msgstr ""
  42110. #. type: Plain text
  42111. #: guix-git/doc/guix.texi:28042
  42112. 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."
  42113. msgstr ""
  42114. #. type: Plain text
  42115. #: guix-git/doc/guix.texi:28047
  42116. 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."
  42117. msgstr ""
  42118. #. type: deftp
  42119. #: guix-git/doc/guix.texi:28048
  42120. #, no-wrap
  42121. msgid "{Data Type} cuirass-remote-server-configuration"
  42122. msgstr ""
  42123. #. type: deftp
  42124. #: guix-git/doc/guix.texi:28050
  42125. msgid "Data type representing the configuration of the Cuirass remote-server."
  42126. msgstr ""
  42127. #. type: item
  42128. #: guix-git/doc/guix.texi:28052
  42129. #, no-wrap
  42130. msgid "@code{backend-port} (default: @code{5555})"
  42131. msgstr ""
  42132. #. type: table
  42133. #: guix-git/doc/guix.texi:28055
  42134. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  42135. msgstr ""
  42136. #. type: item
  42137. #: guix-git/doc/guix.texi:28056
  42138. #, no-wrap
  42139. msgid "@code{log-port} (default: @code{5556})"
  42140. msgstr ""
  42141. #. type: table
  42142. #: guix-git/doc/guix.texi:28058
  42143. msgid "The TCP port of the log server. It defaults to @code{5556}."
  42144. msgstr ""
  42145. #. type: item
  42146. #: guix-git/doc/guix.texi:28059
  42147. #, no-wrap
  42148. msgid "@code{publish-port} (default: @code{5557})"
  42149. msgstr ""
  42150. #. type: table
  42151. #: guix-git/doc/guix.texi:28061
  42152. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  42153. msgstr ""
  42154. #. type: item
  42155. #: guix-git/doc/guix.texi:28062
  42156. #, no-wrap
  42157. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  42158. msgstr ""
  42159. #. type: item
  42160. #: guix-git/doc/guix.texi:28065
  42161. #, no-wrap
  42162. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  42163. msgstr ""
  42164. #. type: table
  42165. #: guix-git/doc/guix.texi:28067
  42166. msgid "Use @var{cache} directory to cache build log files."
  42167. msgstr ""
  42168. #. type: item
  42169. #: guix-git/doc/guix.texi:28068
  42170. #, no-wrap
  42171. msgid "@code{trigger-url} (default: @code{#f})"
  42172. msgstr ""
  42173. #. type: table
  42174. #: guix-git/doc/guix.texi:28071
  42175. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  42176. msgstr ""
  42177. #. type: table
  42178. #: guix-git/doc/guix.texi:28076
  42179. 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."
  42180. msgstr ""
  42181. #. type: code{#1}
  42182. #: guix-git/doc/guix.texi:28078 guix-git/doc/guix.texi:28115
  42183. #, no-wrap
  42184. msgid "private-key"
  42185. msgstr ""
  42186. #. type: Plain text
  42187. #: guix-git/doc/guix.texi:28087
  42188. 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."
  42189. msgstr ""
  42190. #. type: deftp
  42191. #: guix-git/doc/guix.texi:28088
  42192. #, no-wrap
  42193. msgid "{Data Type} cuirass-remote-worker-configuration"
  42194. msgstr ""
  42195. #. type: deftp
  42196. #: guix-git/doc/guix.texi:28090
  42197. msgid "Data type representing the configuration of the Cuirass remote-worker."
  42198. msgstr ""
  42199. #. type: item
  42200. #: guix-git/doc/guix.texi:28095
  42201. #, no-wrap
  42202. msgid "@code{workers} (default: @code{1})"
  42203. msgstr ""
  42204. #. type: table
  42205. #: guix-git/doc/guix.texi:28097
  42206. msgid "Start @var{workers} parallel workers."
  42207. msgstr ""
  42208. #. type: table
  42209. #: guix-git/doc/guix.texi:28101
  42210. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  42211. msgstr ""
  42212. #. type: item
  42213. #: guix-git/doc/guix.texi:28102
  42214. #, no-wrap
  42215. msgid "@code{systems} (default: @code{(list (%current-system))})"
  42216. msgstr ""
  42217. #. type: table
  42218. #: guix-git/doc/guix.texi:28104
  42219. msgid "Only request builds for the given @var{systems}."
  42220. msgstr ""
  42221. #. type: item
  42222. #: guix-git/doc/guix.texi:28105
  42223. #, no-wrap
  42224. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  42225. msgstr ""
  42226. #. type: item
  42227. #: guix-git/doc/guix.texi:28108
  42228. #, no-wrap
  42229. msgid "@code{publish-port} (default: @code{5558})"
  42230. msgstr ""
  42231. #. type: table
  42232. #: guix-git/doc/guix.texi:28110
  42233. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  42234. msgstr ""
  42235. #. type: subsubheading
  42236. #: guix-git/doc/guix.texi:28122
  42237. #, no-wrap
  42238. msgid "Laminar"
  42239. msgstr ""
  42240. #. type: Plain text
  42241. #: guix-git/doc/guix.texi:28127
  42242. 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."
  42243. msgstr ""
  42244. #. type: Plain text
  42245. #: guix-git/doc/guix.texi:28130
  42246. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  42247. msgstr ""
  42248. #. type: defvr
  42249. #: guix-git/doc/guix.texi:28131
  42250. #, no-wrap
  42251. msgid "{Scheme Procedure} laminar-service-type"
  42252. msgstr ""
  42253. #. type: defvr
  42254. #: guix-git/doc/guix.texi:28134
  42255. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  42256. msgstr ""
  42257. #. type: defvr
  42258. #: guix-git/doc/guix.texi:28138
  42259. 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."
  42260. msgstr ""
  42261. #. type: lisp
  42262. #: guix-git/doc/guix.texi:28141
  42263. #, no-wrap
  42264. msgid "(service laminar-service-type)\n"
  42265. msgstr ""
  42266. #. type: deftp
  42267. #: guix-git/doc/guix.texi:28144
  42268. #, no-wrap
  42269. msgid "{Data Type} laminar-configuration"
  42270. msgstr ""
  42271. #. type: deftp
  42272. #: guix-git/doc/guix.texi:28146
  42273. msgid "Data type representing the configuration of Laminar."
  42274. msgstr ""
  42275. #. type: item
  42276. #: guix-git/doc/guix.texi:28148
  42277. #, no-wrap
  42278. msgid "@code{laminar} (default: @code{laminar})"
  42279. msgstr ""
  42280. #. type: table
  42281. #: guix-git/doc/guix.texi:28150
  42282. msgid "The Laminar package to use."
  42283. msgstr ""
  42284. #. type: item
  42285. #: guix-git/doc/guix.texi:28151
  42286. #, no-wrap
  42287. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  42288. msgstr ""
  42289. #. type: table
  42290. #: guix-git/doc/guix.texi:28153
  42291. msgid "The directory for job configurations and run directories."
  42292. msgstr ""
  42293. #. type: item
  42294. #: guix-git/doc/guix.texi:28154
  42295. #, no-wrap
  42296. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  42297. msgstr ""
  42298. #. type: table
  42299. #: guix-git/doc/guix.texi:28157
  42300. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  42301. msgstr ""
  42302. #. type: item
  42303. #: guix-git/doc/guix.texi:28158
  42304. #, no-wrap
  42305. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  42306. msgstr ""
  42307. #. type: table
  42308. #: guix-git/doc/guix.texi:28161
  42309. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  42310. msgstr ""
  42311. #. type: item
  42312. #: guix-git/doc/guix.texi:28162
  42313. #, no-wrap
  42314. msgid "@code{title} (default: @code{\"Laminar\"})"
  42315. msgstr ""
  42316. #. type: table
  42317. #: guix-git/doc/guix.texi:28164
  42318. msgid "The page title to show in the web frontend."
  42319. msgstr ""
  42320. #. type: item
  42321. #: guix-git/doc/guix.texi:28165
  42322. #, no-wrap
  42323. msgid "@code{keep-rundirs} (default: @code{0})"
  42324. msgstr ""
  42325. #. type: table
  42326. #: guix-git/doc/guix.texi:28169
  42327. 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."
  42328. msgstr ""
  42329. #. type: item
  42330. #: guix-git/doc/guix.texi:28170
  42331. #, no-wrap
  42332. msgid "@code{archive-url} (default: @code{#f})"
  42333. msgstr ""
  42334. #. type: table
  42335. #: guix-git/doc/guix.texi:28173
  42336. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  42337. msgstr ""
  42338. #. type: item
  42339. #: guix-git/doc/guix.texi:28174
  42340. #, no-wrap
  42341. msgid "@code{base-url} (default: @code{#f})"
  42342. msgstr ""
  42343. #. type: table
  42344. #: guix-git/doc/guix.texi:28176
  42345. msgid "Base URL to use for links to laminar itself."
  42346. msgstr ""
  42347. #. type: cindex
  42348. #: guix-git/doc/guix.texi:28183
  42349. #, no-wrap
  42350. msgid "tlp"
  42351. msgstr ""
  42352. #. type: cindex
  42353. #: guix-git/doc/guix.texi:28184
  42354. #, no-wrap
  42355. msgid "power management with TLP"
  42356. msgstr ""
  42357. #. type: subsubheading
  42358. #: guix-git/doc/guix.texi:28185
  42359. #, no-wrap
  42360. msgid "TLP daemon"
  42361. msgstr ""
  42362. #. type: Plain text
  42363. #: guix-git/doc/guix.texi:28189
  42364. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  42365. msgstr ""
  42366. #. type: Plain text
  42367. #: guix-git/doc/guix.texi:28195
  42368. 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}."
  42369. msgstr ""
  42370. #. type: deffn
  42371. #: guix-git/doc/guix.texi:28196
  42372. #, no-wrap
  42373. msgid "{Scheme Variable} tlp-service-type"
  42374. msgstr ""
  42375. #. type: deffn
  42376. #: guix-git/doc/guix.texi:28200
  42377. 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}:"
  42378. msgstr ""
  42379. #. type: lisp
  42380. #: guix-git/doc/guix.texi:28205
  42381. #, no-wrap
  42382. msgid ""
  42383. "(service tlp-service-type\n"
  42384. " (tlp-configuration\n"
  42385. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  42386. " (sched-powersave-on-bat? #t)))\n"
  42387. msgstr ""
  42388. #. type: Plain text
  42389. #: guix-git/doc/guix.texi:28213
  42390. 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}."
  42391. msgstr ""
  42392. #. type: Plain text
  42393. #: guix-git/doc/guix.texi:28223
  42394. msgid "Available @code{tlp-configuration} fields are:"
  42395. msgstr ""
  42396. #. type: deftypevr
  42397. #: guix-git/doc/guix.texi:28224
  42398. #, no-wrap
  42399. msgid "{@code{tlp-configuration} parameter} package tlp"
  42400. msgstr ""
  42401. #. type: deftypevr
  42402. #: guix-git/doc/guix.texi:28226
  42403. msgid "The TLP package."
  42404. msgstr ""
  42405. #. type: deftypevr
  42406. #: guix-git/doc/guix.texi:28229
  42407. #, no-wrap
  42408. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  42409. msgstr ""
  42410. #. type: deftypevr
  42411. #: guix-git/doc/guix.texi:28231
  42412. msgid "Set to true if you wish to enable TLP."
  42413. msgstr ""
  42414. #. type: deftypevr
  42415. #: guix-git/doc/guix.texi:28236
  42416. #, no-wrap
  42417. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  42418. msgstr ""
  42419. #. type: deftypevr
  42420. #: guix-git/doc/guix.texi:28239
  42421. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  42422. msgstr ""
  42423. #. type: deftypevr
  42424. #: guix-git/doc/guix.texi:28241
  42425. msgid "Defaults to @samp{\"AC\"}."
  42426. msgstr ""
  42427. #. type: deftypevr
  42428. #: guix-git/doc/guix.texi:28244
  42429. #, no-wrap
  42430. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  42431. msgstr ""
  42432. #. type: deftypevr
  42433. #: guix-git/doc/guix.texi:28247
  42434. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  42435. msgstr ""
  42436. #. type: deftypevr
  42437. #: guix-git/doc/guix.texi:28252
  42438. #, no-wrap
  42439. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  42440. msgstr ""
  42441. #. type: deftypevr
  42442. #: guix-git/doc/guix.texi:28254
  42443. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  42444. msgstr ""
  42445. #. type: deftypevr
  42446. #: guix-git/doc/guix.texi:28256
  42447. msgid "Defaults to @samp{2}."
  42448. msgstr ""
  42449. #. type: deftypevr
  42450. #: guix-git/doc/guix.texi:28259
  42451. #, no-wrap
  42452. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  42453. msgstr ""
  42454. #. type: deftypevr
  42455. #: guix-git/doc/guix.texi:28261
  42456. msgid "Dirty pages flushing periodicity, expressed in seconds."
  42457. msgstr ""
  42458. #. type: deftypevr
  42459. #: guix-git/doc/guix.texi:28263 guix-git/doc/guix.texi:28486
  42460. #: guix-git/doc/guix.texi:30701 guix-git/doc/guix.texi:30709
  42461. msgid "Defaults to @samp{15}."
  42462. msgstr ""
  42463. #. type: deftypevr
  42464. #: guix-git/doc/guix.texi:28266
  42465. #, no-wrap
  42466. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  42467. msgstr ""
  42468. #. type: deftypevr
  42469. #: guix-git/doc/guix.texi:28268
  42470. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  42471. msgstr ""
  42472. #. type: deftypevr
  42473. #: guix-git/doc/guix.texi:28270
  42474. msgid "Defaults to @samp{60}."
  42475. msgstr ""
  42476. #. type: deftypevr
  42477. #: guix-git/doc/guix.texi:28273
  42478. #, no-wrap
  42479. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  42480. msgstr ""
  42481. #. type: deftypevr
  42482. #: guix-git/doc/guix.texi:28277
  42483. 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."
  42484. msgstr ""
  42485. #. type: deftypevr
  42486. #: guix-git/doc/guix.texi:28282
  42487. #, no-wrap
  42488. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  42489. msgstr ""
  42490. #. type: deftypevr
  42491. #: guix-git/doc/guix.texi:28284
  42492. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  42493. msgstr ""
  42494. #. type: deftypevr
  42495. #: guix-git/doc/guix.texi:28289
  42496. #, no-wrap
  42497. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  42498. msgstr ""
  42499. #. type: deftypevr
  42500. #: guix-git/doc/guix.texi:28291
  42501. msgid "Set the min available frequency for the scaling governor on AC."
  42502. msgstr ""
  42503. #. type: deftypevr
  42504. #: guix-git/doc/guix.texi:28296
  42505. #, no-wrap
  42506. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  42507. msgstr ""
  42508. #. type: deftypevr
  42509. #: guix-git/doc/guix.texi:28298
  42510. msgid "Set the max available frequency for the scaling governor on AC."
  42511. msgstr ""
  42512. #. type: deftypevr
  42513. #: guix-git/doc/guix.texi:28303
  42514. #, no-wrap
  42515. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  42516. msgstr ""
  42517. #. type: deftypevr
  42518. #: guix-git/doc/guix.texi:28305
  42519. msgid "Set the min available frequency for the scaling governor on BAT."
  42520. msgstr ""
  42521. #. type: deftypevr
  42522. #: guix-git/doc/guix.texi:28310
  42523. #, no-wrap
  42524. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  42525. msgstr ""
  42526. #. type: deftypevr
  42527. #: guix-git/doc/guix.texi:28312
  42528. msgid "Set the max available frequency for the scaling governor on BAT."
  42529. msgstr ""
  42530. #. type: deftypevr
  42531. #: guix-git/doc/guix.texi:28317
  42532. #, no-wrap
  42533. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  42534. msgstr ""
  42535. #. type: deftypevr
  42536. #: guix-git/doc/guix.texi:28320
  42537. 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."
  42538. msgstr ""
  42539. #. type: deftypevr
  42540. #: guix-git/doc/guix.texi:28325
  42541. #, no-wrap
  42542. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  42543. msgstr ""
  42544. #. type: deftypevr
  42545. #: guix-git/doc/guix.texi:28328
  42546. 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."
  42547. msgstr ""
  42548. #. type: deftypevr
  42549. #: guix-git/doc/guix.texi:28333
  42550. #, no-wrap
  42551. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  42552. msgstr ""
  42553. #. type: deftypevr
  42554. #: guix-git/doc/guix.texi:28335
  42555. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  42556. msgstr ""
  42557. #. type: deftypevr
  42558. #: guix-git/doc/guix.texi:28340
  42559. #, no-wrap
  42560. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  42561. msgstr ""
  42562. #. type: deftypevr
  42563. #: guix-git/doc/guix.texi:28342
  42564. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  42565. msgstr ""
  42566. #. type: deftypevr
  42567. #: guix-git/doc/guix.texi:28347
  42568. #, no-wrap
  42569. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  42570. msgstr ""
  42571. #. type: deftypevr
  42572. #: guix-git/doc/guix.texi:28349
  42573. msgid "Enable CPU turbo boost feature on AC mode."
  42574. msgstr ""
  42575. #. type: deftypevr
  42576. #: guix-git/doc/guix.texi:28354
  42577. #, no-wrap
  42578. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  42579. msgstr ""
  42580. #. type: deftypevr
  42581. #: guix-git/doc/guix.texi:28356
  42582. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  42583. msgstr ""
  42584. #. type: deftypevr
  42585. #: guix-git/doc/guix.texi:28361
  42586. #, no-wrap
  42587. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  42588. msgstr ""
  42589. #. type: deftypevr
  42590. #: guix-git/doc/guix.texi:28364
  42591. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  42592. msgstr ""
  42593. #. type: deftypevr
  42594. #: guix-git/doc/guix.texi:28369
  42595. #, no-wrap
  42596. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  42597. msgstr ""
  42598. #. type: deftypevr
  42599. #: guix-git/doc/guix.texi:28371
  42600. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  42601. msgstr ""
  42602. #. type: deftypevr
  42603. #: guix-git/doc/guix.texi:28376
  42604. #, no-wrap
  42605. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  42606. msgstr ""
  42607. #. type: deftypevr
  42608. #: guix-git/doc/guix.texi:28378
  42609. msgid "Enable Linux kernel NMI watchdog."
  42610. msgstr ""
  42611. #. type: deftypevr
  42612. #: guix-git/doc/guix.texi:28383
  42613. #, no-wrap
  42614. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  42615. msgstr ""
  42616. #. type: deftypevr
  42617. #: guix-git/doc/guix.texi:28386
  42618. 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\"}."
  42619. msgstr ""
  42620. #. type: deftypevr
  42621. #: guix-git/doc/guix.texi:28391
  42622. #, no-wrap
  42623. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  42624. msgstr ""
  42625. #. type: deftypevr
  42626. #: guix-git/doc/guix.texi:28394
  42627. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  42628. msgstr ""
  42629. #. type: deftypevr
  42630. #: guix-git/doc/guix.texi:28396 guix-git/doc/guix.texi:28494
  42631. #: guix-git/doc/guix.texi:28524
  42632. msgid "Defaults to @samp{\"performance\"}."
  42633. msgstr ""
  42634. #. type: deftypevr
  42635. #: guix-git/doc/guix.texi:28399
  42636. #, no-wrap
  42637. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  42638. msgstr ""
  42639. #. type: deftypevr
  42640. #: guix-git/doc/guix.texi:28401
  42641. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  42642. msgstr ""
  42643. #. type: deftypevr
  42644. #: guix-git/doc/guix.texi:28403 guix-git/doc/guix.texi:28501
  42645. msgid "Defaults to @samp{\"powersave\"}."
  42646. msgstr ""
  42647. #. type: deftypevr
  42648. #: guix-git/doc/guix.texi:28406
  42649. #, no-wrap
  42650. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  42651. msgstr ""
  42652. #. type: deftypevr
  42653. #: guix-git/doc/guix.texi:28408
  42654. msgid "Hard disk devices."
  42655. msgstr ""
  42656. #. type: deftypevr
  42657. #: guix-git/doc/guix.texi:28411
  42658. #, no-wrap
  42659. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  42660. msgstr ""
  42661. #. type: deftypevr
  42662. #: guix-git/doc/guix.texi:28413
  42663. msgid "Hard disk advanced power management level."
  42664. msgstr ""
  42665. #. type: deftypevr
  42666. #: guix-git/doc/guix.texi:28416
  42667. #, no-wrap
  42668. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  42669. msgstr ""
  42670. #. type: deftypevr
  42671. #: guix-git/doc/guix.texi:28418
  42672. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  42673. msgstr ""
  42674. #. type: deftypevr
  42675. #: guix-git/doc/guix.texi:28421
  42676. #, no-wrap
  42677. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  42678. msgstr ""
  42679. #. type: deftypevr
  42680. #: guix-git/doc/guix.texi:28424
  42681. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  42682. msgstr ""
  42683. #. type: deftypevr
  42684. #: guix-git/doc/guix.texi:28429
  42685. #, no-wrap
  42686. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  42687. msgstr ""
  42688. #. type: deftypevr
  42689. #: guix-git/doc/guix.texi:28431
  42690. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  42691. msgstr ""
  42692. #. type: deftypevr
  42693. #: guix-git/doc/guix.texi:28436
  42694. #, no-wrap
  42695. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  42696. msgstr ""
  42697. #. type: deftypevr
  42698. #: guix-git/doc/guix.texi:28440
  42699. 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."
  42700. msgstr ""
  42701. #. type: deftypevr
  42702. #: guix-git/doc/guix.texi:28445
  42703. #, no-wrap
  42704. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  42705. msgstr ""
  42706. #. type: deftypevr
  42707. #: guix-git/doc/guix.texi:28448
  42708. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  42709. msgstr ""
  42710. #. type: deftypevr
  42711. #: guix-git/doc/guix.texi:28450
  42712. msgid "Defaults to @samp{\"max_performance\"}."
  42713. msgstr ""
  42714. #. type: deftypevr
  42715. #: guix-git/doc/guix.texi:28453
  42716. #, no-wrap
  42717. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  42718. msgstr ""
  42719. #. type: deftypevr
  42720. #: guix-git/doc/guix.texi:28455
  42721. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  42722. msgstr ""
  42723. #. type: deftypevr
  42724. #: guix-git/doc/guix.texi:28457
  42725. msgid "Defaults to @samp{\"min_power\"}."
  42726. msgstr ""
  42727. #. type: deftypevr
  42728. #: guix-git/doc/guix.texi:28460
  42729. #, no-wrap
  42730. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  42731. msgstr ""
  42732. #. type: deftypevr
  42733. #: guix-git/doc/guix.texi:28462
  42734. msgid "Exclude specified SATA host devices for link power management."
  42735. msgstr ""
  42736. #. type: deftypevr
  42737. #: guix-git/doc/guix.texi:28467
  42738. #, no-wrap
  42739. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  42740. msgstr ""
  42741. #. type: deftypevr
  42742. #: guix-git/doc/guix.texi:28470
  42743. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  42744. msgstr ""
  42745. #. type: deftypevr
  42746. #: guix-git/doc/guix.texi:28475
  42747. #, no-wrap
  42748. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  42749. msgstr ""
  42750. #. type: deftypevr
  42751. #: guix-git/doc/guix.texi:28477
  42752. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  42753. msgstr ""
  42754. #. type: deftypevr
  42755. #: guix-git/doc/guix.texi:28482
  42756. #, no-wrap
  42757. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  42758. msgstr ""
  42759. #. type: deftypevr
  42760. #: guix-git/doc/guix.texi:28484
  42761. msgid "Seconds of inactivity before disk is suspended."
  42762. msgstr ""
  42763. #. type: deftypevr
  42764. #: guix-git/doc/guix.texi:28489
  42765. #, no-wrap
  42766. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  42767. msgstr ""
  42768. #. type: deftypevr
  42769. #: guix-git/doc/guix.texi:28492
  42770. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  42771. msgstr ""
  42772. #. type: deftypevr
  42773. #: guix-git/doc/guix.texi:28497
  42774. #, no-wrap
  42775. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  42776. msgstr ""
  42777. #. type: deftypevr
  42778. #: guix-git/doc/guix.texi:28499
  42779. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  42780. msgstr ""
  42781. #. type: deftypevr
  42782. #: guix-git/doc/guix.texi:28504
  42783. #, no-wrap
  42784. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  42785. msgstr ""
  42786. #. type: deftypevr
  42787. #: guix-git/doc/guix.texi:28507
  42788. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  42789. msgstr ""
  42790. #. type: deftypevr
  42791. #: guix-git/doc/guix.texi:28509
  42792. msgid "Defaults to @samp{\"high\"}."
  42793. msgstr ""
  42794. #. type: deftypevr
  42795. #: guix-git/doc/guix.texi:28512
  42796. #, no-wrap
  42797. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  42798. msgstr ""
  42799. #. type: deftypevr
  42800. #: guix-git/doc/guix.texi:28514
  42801. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  42802. msgstr ""
  42803. #. type: deftypevr
  42804. #: guix-git/doc/guix.texi:28516
  42805. msgid "Defaults to @samp{\"low\"}."
  42806. msgstr ""
  42807. #. type: deftypevr
  42808. #: guix-git/doc/guix.texi:28519
  42809. #, no-wrap
  42810. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  42811. msgstr ""
  42812. #. type: deftypevr
  42813. #: guix-git/doc/guix.texi:28522
  42814. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  42815. msgstr ""
  42816. #. type: deftypevr
  42817. #: guix-git/doc/guix.texi:28527
  42818. #, no-wrap
  42819. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  42820. msgstr ""
  42821. #. type: deftypevr
  42822. #: guix-git/doc/guix.texi:28529
  42823. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  42824. msgstr ""
  42825. #. type: deftypevr
  42826. #: guix-git/doc/guix.texi:28531
  42827. msgid "Defaults to @samp{\"battery\"}."
  42828. msgstr ""
  42829. #. type: deftypevr
  42830. #: guix-git/doc/guix.texi:28534
  42831. #, no-wrap
  42832. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  42833. msgstr ""
  42834. #. type: deftypevr
  42835. #: guix-git/doc/guix.texi:28536
  42836. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  42837. msgstr ""
  42838. #. type: deftypevr
  42839. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28545
  42840. #: guix-git/doc/guix.texi:28619
  42841. msgid "Defaults to @samp{\"auto\"}."
  42842. msgstr ""
  42843. #. type: deftypevr
  42844. #: guix-git/doc/guix.texi:28541
  42845. #, no-wrap
  42846. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  42847. msgstr ""
  42848. #. type: deftypevr
  42849. #: guix-git/doc/guix.texi:28543
  42850. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  42851. msgstr ""
  42852. #. type: deftypevr
  42853. #: guix-git/doc/guix.texi:28548
  42854. #, no-wrap
  42855. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  42856. msgstr ""
  42857. #. type: deftypevr
  42858. #: guix-git/doc/guix.texi:28550
  42859. msgid "Wifi power saving mode."
  42860. msgstr ""
  42861. #. type: deftypevr
  42862. #: guix-git/doc/guix.texi:28555
  42863. #, no-wrap
  42864. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  42865. msgstr ""
  42866. #. type: deftypevr
  42867. #: guix-git/doc/guix.texi:28557
  42868. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  42869. msgstr ""
  42870. #. type: deftypevr
  42871. #: guix-git/doc/guix.texi:28562
  42872. #, no-wrap
  42873. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  42874. msgstr ""
  42875. #. type: deftypevr
  42876. #: guix-git/doc/guix.texi:28564
  42877. msgid "Disable wake on LAN."
  42878. msgstr ""
  42879. #. type: deftypevr
  42880. #: guix-git/doc/guix.texi:28569
  42881. #, no-wrap
  42882. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  42883. msgstr ""
  42884. #. type: deftypevr
  42885. #: guix-git/doc/guix.texi:28572
  42886. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  42887. msgstr ""
  42888. #. type: deftypevr
  42889. #: guix-git/doc/guix.texi:28577
  42890. #, no-wrap
  42891. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  42892. msgstr ""
  42893. #. type: deftypevr
  42894. #: guix-git/doc/guix.texi:28579
  42895. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  42896. msgstr ""
  42897. #. type: deftypevr
  42898. #: guix-git/doc/guix.texi:28584
  42899. #, no-wrap
  42900. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  42901. msgstr ""
  42902. #. type: deftypevr
  42903. #: guix-git/doc/guix.texi:28586
  42904. msgid "Disable controller in powersaving mode on Intel HDA devices."
  42905. msgstr ""
  42906. #. type: deftypevr
  42907. #: guix-git/doc/guix.texi:28591
  42908. #, no-wrap
  42909. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  42910. msgstr ""
  42911. #. type: deftypevr
  42912. #: guix-git/doc/guix.texi:28595
  42913. 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."
  42914. msgstr ""
  42915. #. type: deftypevr
  42916. #: guix-git/doc/guix.texi:28600
  42917. #, no-wrap
  42918. msgid "{@code{tlp-configuration} parameter} string bay-device"
  42919. msgstr ""
  42920. #. type: deftypevr
  42921. #: guix-git/doc/guix.texi:28602
  42922. msgid "Name of the optical drive device to power off."
  42923. msgstr ""
  42924. #. type: deftypevr
  42925. #: guix-git/doc/guix.texi:28604
  42926. msgid "Defaults to @samp{\"sr0\"}."
  42927. msgstr ""
  42928. #. type: deftypevr
  42929. #: guix-git/doc/guix.texi:28607
  42930. #, no-wrap
  42931. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  42932. msgstr ""
  42933. #. type: deftypevr
  42934. #: guix-git/doc/guix.texi:28610
  42935. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  42936. msgstr ""
  42937. #. type: deftypevr
  42938. #: guix-git/doc/guix.texi:28612
  42939. msgid "Defaults to @samp{\"on\"}."
  42940. msgstr ""
  42941. #. type: deftypevr
  42942. #: guix-git/doc/guix.texi:28615
  42943. #, no-wrap
  42944. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  42945. msgstr ""
  42946. #. type: deftypevr
  42947. #: guix-git/doc/guix.texi:28617
  42948. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  42949. msgstr ""
  42950. #. type: deftypevr
  42951. #: guix-git/doc/guix.texi:28622
  42952. #, no-wrap
  42953. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  42954. msgstr ""
  42955. #. type: deftypevr
  42956. #: guix-git/doc/guix.texi:28625
  42957. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  42958. msgstr ""
  42959. #. type: deftypevr
  42960. #: guix-git/doc/guix.texi:28630
  42961. #, no-wrap
  42962. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  42963. msgstr ""
  42964. #. type: deftypevr
  42965. #: guix-git/doc/guix.texi:28632
  42966. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  42967. msgstr ""
  42968. #. type: deftypevr
  42969. #: guix-git/doc/guix.texi:28637
  42970. #, no-wrap
  42971. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  42972. msgstr ""
  42973. #. type: deftypevr
  42974. #: guix-git/doc/guix.texi:28640
  42975. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  42976. msgstr ""
  42977. #. type: deftypevr
  42978. #: guix-git/doc/guix.texi:28643
  42979. #, no-wrap
  42980. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  42981. msgstr ""
  42982. #. type: deftypevr
  42983. #: guix-git/doc/guix.texi:28645
  42984. msgid "Enable USB autosuspend feature."
  42985. msgstr ""
  42986. #. type: deftypevr
  42987. #: guix-git/doc/guix.texi:28650
  42988. #, no-wrap
  42989. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  42990. msgstr ""
  42991. #. type: deftypevr
  42992. #: guix-git/doc/guix.texi:28652
  42993. msgid "Exclude specified devices from USB autosuspend."
  42994. msgstr ""
  42995. #. type: deftypevr
  42996. #: guix-git/doc/guix.texi:28657
  42997. #, no-wrap
  42998. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  42999. msgstr ""
  43000. #. type: deftypevr
  43001. #: guix-git/doc/guix.texi:28659
  43002. msgid "Exclude WWAN devices from USB autosuspend."
  43003. msgstr ""
  43004. #. type: deftypevr
  43005. #: guix-git/doc/guix.texi:28664
  43006. #, no-wrap
  43007. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  43008. msgstr ""
  43009. #. type: deftypevr
  43010. #: guix-git/doc/guix.texi:28667
  43011. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  43012. msgstr ""
  43013. #. type: deftypevr
  43014. #: guix-git/doc/guix.texi:28672
  43015. #, no-wrap
  43016. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  43017. msgstr ""
  43018. #. type: deftypevr
  43019. #: guix-git/doc/guix.texi:28674
  43020. msgid "Enable USB autosuspend before shutdown."
  43021. msgstr ""
  43022. #. type: deftypevr
  43023. #: guix-git/doc/guix.texi:28679
  43024. #, no-wrap
  43025. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  43026. msgstr ""
  43027. #. type: deftypevr
  43028. #: guix-git/doc/guix.texi:28682
  43029. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  43030. msgstr ""
  43031. #. type: cindex
  43032. #: guix-git/doc/guix.texi:28687
  43033. #, no-wrap
  43034. msgid "thermald"
  43035. msgstr ""
  43036. #. type: cindex
  43037. #: guix-git/doc/guix.texi:28688
  43038. #, no-wrap
  43039. msgid "CPU frequency scaling with thermald"
  43040. msgstr ""
  43041. #. type: subsubheading
  43042. #: guix-git/doc/guix.texi:28689
  43043. #, no-wrap
  43044. msgid "Thermald daemon"
  43045. msgstr ""
  43046. #. type: Plain text
  43047. #: guix-git/doc/guix.texi:28693
  43048. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  43049. msgstr ""
  43050. #. type: defvr
  43051. #: guix-git/doc/guix.texi:28694
  43052. #, no-wrap
  43053. msgid "{Scheme Variable} thermald-service-type"
  43054. msgstr ""
  43055. #. type: defvr
  43056. #: guix-git/doc/guix.texi:28699
  43057. 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."
  43058. msgstr ""
  43059. #. type: deftp
  43060. #: guix-git/doc/guix.texi:28701
  43061. #, no-wrap
  43062. msgid "{Data Type} thermald-configuration"
  43063. msgstr ""
  43064. #. type: deftp
  43065. #: guix-git/doc/guix.texi:28703
  43066. msgid "Data type representing the configuration of @code{thermald-service-type}."
  43067. msgstr ""
  43068. #. type: item
  43069. #: guix-git/doc/guix.texi:28705
  43070. #, no-wrap
  43071. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  43072. msgstr ""
  43073. #. type: table
  43074. #: guix-git/doc/guix.texi:28707
  43075. msgid "Ignore cpuid check for supported CPU models."
  43076. msgstr ""
  43077. #. type: item
  43078. #: guix-git/doc/guix.texi:28708
  43079. #, no-wrap
  43080. msgid "@code{thermald} (default: @var{thermald})"
  43081. msgstr ""
  43082. #. type: table
  43083. #: guix-git/doc/guix.texi:28710
  43084. msgid "Package object of thermald."
  43085. msgstr ""
  43086. #. type: Plain text
  43087. #: guix-git/doc/guix.texi:28719
  43088. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  43089. msgstr ""
  43090. #. type: cindex
  43091. #: guix-git/doc/guix.texi:28720
  43092. #, no-wrap
  43093. msgid "mpd"
  43094. msgstr ""
  43095. #. type: subsubheading
  43096. #: guix-git/doc/guix.texi:28721
  43097. #, no-wrap
  43098. msgid "Music Player Daemon"
  43099. msgstr ""
  43100. #. type: Plain text
  43101. #: guix-git/doc/guix.texi:28726
  43102. 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."
  43103. msgstr ""
  43104. #. type: Plain text
  43105. #: guix-git/doc/guix.texi:28729
  43106. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  43107. msgstr ""
  43108. #. type: lisp
  43109. #: guix-git/doc/guix.texi:28735
  43110. #, no-wrap
  43111. msgid ""
  43112. "(service mpd-service-type\n"
  43113. " (mpd-configuration\n"
  43114. " (user \"bob\")\n"
  43115. " (port \"6666\")))\n"
  43116. msgstr ""
  43117. #. type: defvr
  43118. #: guix-git/doc/guix.texi:28737
  43119. #, no-wrap
  43120. msgid "{Scheme Variable} mpd-service-type"
  43121. msgstr ""
  43122. #. type: defvr
  43123. #: guix-git/doc/guix.texi:28739
  43124. msgid "The service type for @command{mpd}"
  43125. msgstr ""
  43126. #. type: deftp
  43127. #: guix-git/doc/guix.texi:28741
  43128. #, no-wrap
  43129. msgid "{Data Type} mpd-configuration"
  43130. msgstr ""
  43131. #. type: deftp
  43132. #: guix-git/doc/guix.texi:28743
  43133. msgid "Data type representing the configuration of @command{mpd}."
  43134. msgstr ""
  43135. #. type: item
  43136. #: guix-git/doc/guix.texi:28745
  43137. #, no-wrap
  43138. msgid "@code{user} (default: @code{\"mpd\"})"
  43139. msgstr ""
  43140. #. type: table
  43141. #: guix-git/doc/guix.texi:28747
  43142. msgid "The user to run mpd as."
  43143. msgstr ""
  43144. #. type: item
  43145. #: guix-git/doc/guix.texi:28748
  43146. #, no-wrap
  43147. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  43148. msgstr ""
  43149. #. type: table
  43150. #: guix-git/doc/guix.texi:28750
  43151. msgid "The directory to scan for music files."
  43152. msgstr ""
  43153. #. type: item
  43154. #: guix-git/doc/guix.texi:28751
  43155. #, no-wrap
  43156. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  43157. msgstr ""
  43158. #. type: table
  43159. #: guix-git/doc/guix.texi:28753
  43160. msgid "The directory to store playlists."
  43161. msgstr ""
  43162. #. type: item
  43163. #: guix-git/doc/guix.texi:28754
  43164. #, no-wrap
  43165. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  43166. msgstr ""
  43167. #. type: table
  43168. #: guix-git/doc/guix.texi:28756
  43169. msgid "The location of the music database."
  43170. msgstr ""
  43171. #. type: item
  43172. #: guix-git/doc/guix.texi:28757
  43173. #, no-wrap
  43174. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  43175. msgstr ""
  43176. #. type: table
  43177. #: guix-git/doc/guix.texi:28759
  43178. msgid "The location of the file that stores current MPD's state."
  43179. msgstr ""
  43180. #. type: item
  43181. #: guix-git/doc/guix.texi:28760
  43182. #, no-wrap
  43183. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  43184. msgstr ""
  43185. #. type: table
  43186. #: guix-git/doc/guix.texi:28762
  43187. msgid "The location of the sticker database."
  43188. msgstr ""
  43189. #. type: item
  43190. #: guix-git/doc/guix.texi:28763
  43191. #, no-wrap
  43192. msgid "@code{port} (default: @code{\"6600\"})"
  43193. msgstr ""
  43194. #. type: table
  43195. #: guix-git/doc/guix.texi:28765
  43196. msgid "The port to run mpd on."
  43197. msgstr ""
  43198. #. type: item
  43199. #: guix-git/doc/guix.texi:28766
  43200. #, no-wrap
  43201. msgid "@code{address} (default: @code{\"any\"})"
  43202. msgstr ""
  43203. #. type: table
  43204. #: guix-git/doc/guix.texi:28769
  43205. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  43206. msgstr ""
  43207. #. type: item
  43208. #: guix-git/doc/guix.texi:28770
  43209. #, no-wrap
  43210. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  43211. msgstr ""
  43212. #. type: table
  43213. #: guix-git/doc/guix.texi:28772
  43214. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  43215. msgstr ""
  43216. #. type: deftp
  43217. #: guix-git/doc/guix.texi:28776
  43218. #, no-wrap
  43219. msgid "{Data Type} mpd-output"
  43220. msgstr ""
  43221. #. type: deftp
  43222. #: guix-git/doc/guix.texi:28778
  43223. msgid "Data type representing an @command{mpd} audio output."
  43224. msgstr ""
  43225. #. type: item
  43226. #: guix-git/doc/guix.texi:28780
  43227. #, no-wrap
  43228. msgid "@code{name} (default: @code{\"MPD\"})"
  43229. msgstr ""
  43230. #. type: table
  43231. #: guix-git/doc/guix.texi:28782
  43232. msgid "The name of the audio output."
  43233. msgstr ""
  43234. #. type: item
  43235. #: guix-git/doc/guix.texi:28783
  43236. #, no-wrap
  43237. msgid "@code{type} (default: @code{\"pulse\"})"
  43238. msgstr ""
  43239. #. type: table
  43240. #: guix-git/doc/guix.texi:28785
  43241. msgid "The type of audio output."
  43242. msgstr ""
  43243. #. type: item
  43244. #: guix-git/doc/guix.texi:28786
  43245. #, no-wrap
  43246. msgid "@code{enabled?} (default: @code{#t})"
  43247. msgstr ""
  43248. #. type: table
  43249. #: guix-git/doc/guix.texi:28791
  43250. 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."
  43251. msgstr ""
  43252. #. type: item
  43253. #: guix-git/doc/guix.texi:28792
  43254. #, no-wrap
  43255. msgid "@code{tags?} (default: @code{#t})"
  43256. msgstr ""
  43257. #. type: table
  43258. #: guix-git/doc/guix.texi:28796
  43259. 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."
  43260. msgstr ""
  43261. #. type: item
  43262. #: guix-git/doc/guix.texi:28797
  43263. #, no-wrap
  43264. msgid "@code{always-on?} (default: @code{#f})"
  43265. msgstr ""
  43266. #. type: table
  43267. #: guix-git/doc/guix.texi:28801
  43268. 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."
  43269. msgstr ""
  43270. #. type: code{#1}
  43271. #: guix-git/doc/guix.texi:28802
  43272. #, no-wrap
  43273. msgid "mixer-type"
  43274. msgstr ""
  43275. #. type: table
  43276. #: guix-git/doc/guix.texi:28808
  43277. 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})."
  43278. msgstr ""
  43279. #. type: table
  43280. #: guix-git/doc/guix.texi:28812
  43281. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  43282. msgstr ""
  43283. #. type: Plain text
  43284. #: guix-git/doc/guix.texi:28818
  43285. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  43286. msgstr ""
  43287. #. type: lisp
  43288. #: guix-git/doc/guix.texi:28830
  43289. #, no-wrap
  43290. msgid ""
  43291. "(service mpd-service-type\n"
  43292. " (mpd-configuration\n"
  43293. " (outputs\n"
  43294. " (list (mpd-output\n"
  43295. " (name \"streaming\")\n"
  43296. " (type \"httpd\")\n"
  43297. " (mixer-type 'null)\n"
  43298. " (extra-options\n"
  43299. " `((encoder . \"vorbis\")\n"
  43300. " (port . \"8080\"))))))))\n"
  43301. msgstr ""
  43302. #. type: Plain text
  43303. #: guix-git/doc/guix.texi:28839
  43304. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  43305. msgstr ""
  43306. #. type: subsubheading
  43307. #: guix-git/doc/guix.texi:28840
  43308. #, no-wrap
  43309. msgid "Libvirt daemon"
  43310. msgstr ""
  43311. #. type: Plain text
  43312. #: guix-git/doc/guix.texi:28845
  43313. 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."
  43314. msgstr ""
  43315. #. type: deffn
  43316. #: guix-git/doc/guix.texi:28846
  43317. #, no-wrap
  43318. msgid "{Scheme Variable} libvirt-service-type"
  43319. msgstr ""
  43320. #. type: deffn
  43321. #: guix-git/doc/guix.texi:28849
  43322. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  43323. msgstr ""
  43324. #. type: lisp
  43325. #: guix-git/doc/guix.texi:28855
  43326. #, no-wrap
  43327. msgid ""
  43328. "(service libvirt-service-type\n"
  43329. " (libvirt-configuration\n"
  43330. " (unix-sock-group \"libvirt\")\n"
  43331. " (tls-port \"16555\")))\n"
  43332. msgstr ""
  43333. #. type: Plain text
  43334. #: guix-git/doc/guix.texi:28860
  43335. msgid "Available @code{libvirt-configuration} fields are:"
  43336. msgstr ""
  43337. #. type: deftypevr
  43338. #: guix-git/doc/guix.texi:28861
  43339. #, no-wrap
  43340. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  43341. msgstr ""
  43342. #. type: deftypevr
  43343. #: guix-git/doc/guix.texi:28863
  43344. msgid "Libvirt package."
  43345. msgstr ""
  43346. #. type: deftypevr
  43347. #: guix-git/doc/guix.texi:28866
  43348. #, no-wrap
  43349. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  43350. msgstr ""
  43351. #. type: deftypevr
  43352. #: guix-git/doc/guix.texi:28869
  43353. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43354. msgstr ""
  43355. #. type: deftypevr
  43356. #: guix-git/doc/guix.texi:28872
  43357. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  43358. msgstr ""
  43359. #. type: deftypevr
  43360. #: guix-git/doc/guix.texi:28877
  43361. #, no-wrap
  43362. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  43363. msgstr ""
  43364. #. type: deftypevr
  43365. #: guix-git/doc/guix.texi:28880
  43366. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43367. msgstr ""
  43368. #. type: deftypevr
  43369. #: guix-git/doc/guix.texi:28884
  43370. 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)."
  43371. msgstr ""
  43372. #. type: deftypevr
  43373. #: guix-git/doc/guix.texi:28889
  43374. #, no-wrap
  43375. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  43376. msgstr ""
  43377. #. type: deftypevr
  43378. #: guix-git/doc/guix.texi:28892
  43379. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  43380. msgstr ""
  43381. #. type: deftypevr
  43382. #: guix-git/doc/guix.texi:28894
  43383. msgid "Defaults to @samp{\"16514\"}."
  43384. msgstr ""
  43385. #. type: deftypevr
  43386. #: guix-git/doc/guix.texi:28897
  43387. #, no-wrap
  43388. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  43389. msgstr ""
  43390. #. type: deftypevr
  43391. #: guix-git/doc/guix.texi:28900
  43392. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  43393. msgstr ""
  43394. #. type: deftypevr
  43395. #: guix-git/doc/guix.texi:28902
  43396. msgid "Defaults to @samp{\"16509\"}."
  43397. msgstr ""
  43398. #. type: deftypevr
  43399. #: guix-git/doc/guix.texi:28905
  43400. #, no-wrap
  43401. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  43402. msgstr ""
  43403. #. type: deftypevr
  43404. #: guix-git/doc/guix.texi:28907
  43405. msgid "IP address or hostname used for client connections."
  43406. msgstr ""
  43407. #. type: deftypevr
  43408. #: guix-git/doc/guix.texi:28912
  43409. #, no-wrap
  43410. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  43411. msgstr ""
  43412. #. type: deftypevr
  43413. #: guix-git/doc/guix.texi:28914
  43414. msgid "Flag toggling mDNS advertisement of the libvirt service."
  43415. msgstr ""
  43416. #. type: deftypevr
  43417. #: guix-git/doc/guix.texi:28917
  43418. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  43419. msgstr ""
  43420. #. type: deftypevr
  43421. #: guix-git/doc/guix.texi:28922
  43422. #, no-wrap
  43423. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  43424. msgstr ""
  43425. #. type: deftypevr
  43426. #: guix-git/doc/guix.texi:28925
  43427. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  43428. msgstr ""
  43429. #. type: deftypevr
  43430. #: guix-git/doc/guix.texi:28927
  43431. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  43432. msgstr ""
  43433. #. type: deftypevr
  43434. #: guix-git/doc/guix.texi:28930
  43435. #, no-wrap
  43436. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  43437. msgstr ""
  43438. #. type: deftypevr
  43439. #: guix-git/doc/guix.texi:28934
  43440. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  43441. msgstr ""
  43442. #. type: deftypevr
  43443. #: guix-git/doc/guix.texi:28939
  43444. #, no-wrap
  43445. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  43446. msgstr ""
  43447. #. type: deftypevr
  43448. #: guix-git/doc/guix.texi:28942
  43449. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  43450. msgstr ""
  43451. #. type: deftypevr
  43452. #: guix-git/doc/guix.texi:28944 guix-git/doc/guix.texi:28962
  43453. msgid "Defaults to @samp{\"0777\"}."
  43454. msgstr ""
  43455. #. type: deftypevr
  43456. #: guix-git/doc/guix.texi:28947
  43457. #, no-wrap
  43458. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  43459. msgstr ""
  43460. #. type: deftypevr
  43461. #: guix-git/doc/guix.texi:28951
  43462. 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)"
  43463. msgstr ""
  43464. #. type: deftypevr
  43465. #: guix-git/doc/guix.texi:28953
  43466. msgid "Defaults to @samp{\"0770\"}."
  43467. msgstr ""
  43468. #. type: deftypevr
  43469. #: guix-git/doc/guix.texi:28956
  43470. #, no-wrap
  43471. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  43472. msgstr ""
  43473. #. type: deftypevr
  43474. #: guix-git/doc/guix.texi:28960
  43475. 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."
  43476. msgstr ""
  43477. #. type: deftypevr
  43478. #: guix-git/doc/guix.texi:28965
  43479. #, no-wrap
  43480. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  43481. msgstr ""
  43482. #. type: deftypevr
  43483. #: guix-git/doc/guix.texi:28967
  43484. msgid "The directory in which sockets will be found/created."
  43485. msgstr ""
  43486. #. type: deftypevr
  43487. #: guix-git/doc/guix.texi:28969
  43488. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  43489. msgstr ""
  43490. #. type: deftypevr
  43491. #: guix-git/doc/guix.texi:28972
  43492. #, no-wrap
  43493. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  43494. msgstr ""
  43495. #. type: deftypevr
  43496. #: guix-git/doc/guix.texi:28975
  43497. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  43498. msgstr ""
  43499. #. type: deftypevr
  43500. #: guix-git/doc/guix.texi:28977 guix-git/doc/guix.texi:28986
  43501. msgid "Defaults to @samp{\"polkit\"}."
  43502. msgstr ""
  43503. #. type: deftypevr
  43504. #: guix-git/doc/guix.texi:28980
  43505. #, no-wrap
  43506. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  43507. msgstr ""
  43508. #. type: deftypevr
  43509. #: guix-git/doc/guix.texi:28984
  43510. 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."
  43511. msgstr ""
  43512. #. type: deftypevr
  43513. #: guix-git/doc/guix.texi:28989
  43514. #, no-wrap
  43515. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  43516. msgstr ""
  43517. #. type: deftypevr
  43518. #: guix-git/doc/guix.texi:28993
  43519. 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."
  43520. msgstr ""
  43521. #. type: deftypevr
  43522. #: guix-git/doc/guix.texi:28995
  43523. msgid "Defaults to @samp{\"sasl\"}."
  43524. msgstr ""
  43525. #. type: deftypevr
  43526. #: guix-git/doc/guix.texi:28998
  43527. #, no-wrap
  43528. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  43529. msgstr ""
  43530. #. type: deftypevr
  43531. #: guix-git/doc/guix.texi:29002
  43532. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  43533. msgstr ""
  43534. #. type: deftypevr
  43535. #: guix-git/doc/guix.texi:29005
  43536. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  43537. msgstr ""
  43538. #. type: deftypevr
  43539. #: guix-git/doc/guix.texi:29007
  43540. msgid "Defaults to @samp{\"none\"}."
  43541. msgstr ""
  43542. #. type: deftypevr
  43543. #: guix-git/doc/guix.texi:29010
  43544. #, no-wrap
  43545. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  43546. msgstr ""
  43547. #. type: deftypevr
  43548. #: guix-git/doc/guix.texi:29012
  43549. msgid "API access control scheme."
  43550. msgstr ""
  43551. #. type: deftypevr
  43552. #: guix-git/doc/guix.texi:29015
  43553. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  43554. msgstr ""
  43555. #. type: deftypevr
  43556. #: guix-git/doc/guix.texi:29020
  43557. #, no-wrap
  43558. msgid "{@code{libvirt-configuration} parameter} string key-file"
  43559. msgstr ""
  43560. #. type: deftypevr
  43561. #: guix-git/doc/guix.texi:29023
  43562. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  43563. msgstr ""
  43564. #. type: deftypevr
  43565. #: guix-git/doc/guix.texi:29028
  43566. #, no-wrap
  43567. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  43568. msgstr ""
  43569. #. type: deftypevr
  43570. #: guix-git/doc/guix.texi:29031
  43571. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  43572. msgstr ""
  43573. #. type: deftypevr
  43574. #: guix-git/doc/guix.texi:29036
  43575. #, no-wrap
  43576. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  43577. msgstr ""
  43578. #. type: deftypevr
  43579. #: guix-git/doc/guix.texi:29039
  43580. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  43581. msgstr ""
  43582. #. type: deftypevr
  43583. #: guix-git/doc/guix.texi:29044
  43584. #, no-wrap
  43585. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  43586. msgstr ""
  43587. #. type: deftypevr
  43588. #: guix-git/doc/guix.texi:29047
  43589. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  43590. msgstr ""
  43591. #. type: deftypevr
  43592. #: guix-git/doc/guix.texi:29052
  43593. #, no-wrap
  43594. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  43595. msgstr ""
  43596. #. type: deftypevr
  43597. #: guix-git/doc/guix.texi:29054
  43598. msgid "Disable verification of our own server certificates."
  43599. msgstr ""
  43600. #. type: deftypevr
  43601. #: guix-git/doc/guix.texi:29057
  43602. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  43603. msgstr ""
  43604. #. type: deftypevr
  43605. #: guix-git/doc/guix.texi:29062
  43606. #, no-wrap
  43607. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  43608. msgstr ""
  43609. #. type: deftypevr
  43610. #: guix-git/doc/guix.texi:29064
  43611. msgid "Disable verification of client certificates."
  43612. msgstr ""
  43613. #. type: deftypevr
  43614. #: guix-git/doc/guix.texi:29068
  43615. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  43616. msgstr ""
  43617. #. type: deftypevr
  43618. #: guix-git/doc/guix.texi:29073
  43619. #, no-wrap
  43620. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  43621. msgstr ""
  43622. #. type: deftypevr
  43623. #: guix-git/doc/guix.texi:29075
  43624. msgid "Whitelist of allowed x509 Distinguished Name."
  43625. msgstr ""
  43626. #. type: deftypevr
  43627. #: guix-git/doc/guix.texi:29080
  43628. #, no-wrap
  43629. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  43630. msgstr ""
  43631. #. type: deftypevr
  43632. #: guix-git/doc/guix.texi:29083
  43633. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  43634. msgstr ""
  43635. #. type: deftypevr
  43636. #: guix-git/doc/guix.texi:29088
  43637. #, no-wrap
  43638. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  43639. msgstr ""
  43640. #. type: deftypevr
  43641. #: guix-git/doc/guix.texi:29092
  43642. 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."
  43643. msgstr ""
  43644. #. type: deftypevr
  43645. #: guix-git/doc/guix.texi:29094
  43646. msgid "Defaults to @samp{\"NORMAL\"}."
  43647. msgstr ""
  43648. #. type: deftypevr
  43649. #: guix-git/doc/guix.texi:29097
  43650. #, no-wrap
  43651. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  43652. msgstr ""
  43653. #. type: deftypevr
  43654. #: guix-git/doc/guix.texi:29100 guix-git/doc/guix.texi:29524
  43655. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  43656. msgstr ""
  43657. #. type: deftypevr
  43658. #: guix-git/doc/guix.texi:29102
  43659. msgid "Defaults to @samp{5000}."
  43660. msgstr ""
  43661. #. type: deftypevr
  43662. #: guix-git/doc/guix.texi:29105
  43663. #, no-wrap
  43664. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  43665. msgstr ""
  43666. #. type: deftypevr
  43667. #: guix-git/doc/guix.texi:29109
  43668. 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."
  43669. msgstr ""
  43670. #. type: deftypevr
  43671. #: guix-git/doc/guix.texi:29114
  43672. #, no-wrap
  43673. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  43674. msgstr ""
  43675. #. type: deftypevr
  43676. #: guix-git/doc/guix.texi:29117
  43677. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  43678. msgstr ""
  43679. #. type: deftypevr
  43680. #: guix-git/doc/guix.texi:29119 guix-git/doc/guix.texi:29137
  43681. #: guix-git/doc/guix.texi:29153
  43682. msgid "Defaults to @samp{20}."
  43683. msgstr ""
  43684. #. type: deftypevr
  43685. #: guix-git/doc/guix.texi:29122
  43686. #, no-wrap
  43687. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  43688. msgstr ""
  43689. #. type: deftypevr
  43690. #: guix-git/doc/guix.texi:29124
  43691. msgid "Number of workers to start up initially."
  43692. msgstr ""
  43693. #. type: deftypevr
  43694. #: guix-git/doc/guix.texi:29129
  43695. #, no-wrap
  43696. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  43697. msgstr ""
  43698. #. type: deftypevr
  43699. #: guix-git/doc/guix.texi:29131
  43700. msgid "Maximum number of worker threads."
  43701. msgstr ""
  43702. #. type: deftypevr
  43703. #: guix-git/doc/guix.texi:29135
  43704. 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."
  43705. msgstr ""
  43706. #. type: deftypevr
  43707. #: guix-git/doc/guix.texi:29140
  43708. #, no-wrap
  43709. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  43710. msgstr ""
  43711. #. type: deftypevr
  43712. #: guix-git/doc/guix.texi:29144
  43713. 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."
  43714. msgstr ""
  43715. #. type: deftypevr
  43716. #: guix-git/doc/guix.texi:29149
  43717. #, no-wrap
  43718. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  43719. msgstr ""
  43720. #. type: deftypevr
  43721. #: guix-git/doc/guix.texi:29151
  43722. msgid "Total global limit on concurrent RPC calls."
  43723. msgstr ""
  43724. #. type: deftypevr
  43725. #: guix-git/doc/guix.texi:29156
  43726. #, no-wrap
  43727. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  43728. msgstr ""
  43729. #. type: deftypevr
  43730. #: guix-git/doc/guix.texi:29160
  43731. 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."
  43732. msgstr ""
  43733. #. type: deftypevr
  43734. #: guix-git/doc/guix.texi:29165
  43735. #, no-wrap
  43736. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  43737. msgstr ""
  43738. #. type: deftypevr
  43739. #: guix-git/doc/guix.texi:29167
  43740. msgid "Same as @code{min-workers} but for the admin interface."
  43741. msgstr ""
  43742. #. type: deftypevr
  43743. #: guix-git/doc/guix.texi:29172
  43744. #, no-wrap
  43745. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  43746. msgstr ""
  43747. #. type: deftypevr
  43748. #: guix-git/doc/guix.texi:29174
  43749. msgid "Same as @code{max-workers} but for the admin interface."
  43750. msgstr ""
  43751. #. type: deftypevr
  43752. #: guix-git/doc/guix.texi:29179
  43753. #, no-wrap
  43754. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  43755. msgstr ""
  43756. #. type: deftypevr
  43757. #: guix-git/doc/guix.texi:29181
  43758. msgid "Same as @code{max-clients} but for the admin interface."
  43759. msgstr ""
  43760. #. type: deftypevr
  43761. #: guix-git/doc/guix.texi:29186
  43762. #, no-wrap
  43763. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  43764. msgstr ""
  43765. #. type: deftypevr
  43766. #: guix-git/doc/guix.texi:29188
  43767. msgid "Same as @code{max-queued-clients} but for the admin interface."
  43768. msgstr ""
  43769. #. type: deftypevr
  43770. #: guix-git/doc/guix.texi:29193
  43771. #, no-wrap
  43772. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  43773. msgstr ""
  43774. #. type: deftypevr
  43775. #: guix-git/doc/guix.texi:29195
  43776. msgid "Same as @code{max-client-requests} but for the admin interface."
  43777. msgstr ""
  43778. #. type: deftypevr
  43779. #: guix-git/doc/guix.texi:29200
  43780. #, no-wrap
  43781. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  43782. msgstr ""
  43783. #. type: deftypevr
  43784. #: guix-git/doc/guix.texi:29202 guix-git/doc/guix.texi:29426
  43785. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  43786. msgstr ""
  43787. #. type: deftypevr
  43788. #: guix-git/doc/guix.texi:29207
  43789. #, no-wrap
  43790. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  43791. msgstr ""
  43792. #. type: deftypevr
  43793. #: guix-git/doc/guix.texi:29209 guix-git/doc/guix.texi:29433
  43794. msgid "Logging filters."
  43795. msgstr ""
  43796. #. type: deftypevr
  43797. #: guix-git/doc/guix.texi:29212
  43798. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  43799. msgstr ""
  43800. #. type: itemize
  43801. #: guix-git/doc/guix.texi:29216 guix-git/doc/guix.texi:29440
  43802. msgid "x:name"
  43803. msgstr ""
  43804. #. type: itemize
  43805. #: guix-git/doc/guix.texi:29219 guix-git/doc/guix.texi:29443
  43806. msgid "x:+name"
  43807. msgstr ""
  43808. #. type: deftypevr
  43809. #: guix-git/doc/guix.texi:29230
  43810. 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:"
  43811. msgstr ""
  43812. #. type: itemize
  43813. #: guix-git/doc/guix.texi:29234 guix-git/doc/guix.texi:29279
  43814. #: guix-git/doc/guix.texi:29457 guix-git/doc/guix.texi:29502
  43815. msgid "1: DEBUG"
  43816. msgstr ""
  43817. #. type: itemize
  43818. #: guix-git/doc/guix.texi:29237 guix-git/doc/guix.texi:29282
  43819. #: guix-git/doc/guix.texi:29460 guix-git/doc/guix.texi:29505
  43820. msgid "2: INFO"
  43821. msgstr ""
  43822. #. type: itemize
  43823. #: guix-git/doc/guix.texi:29240 guix-git/doc/guix.texi:29285
  43824. #: guix-git/doc/guix.texi:29463 guix-git/doc/guix.texi:29508
  43825. msgid "3: WARNING"
  43826. msgstr ""
  43827. #. type: itemize
  43828. #: guix-git/doc/guix.texi:29243 guix-git/doc/guix.texi:29288
  43829. #: guix-git/doc/guix.texi:29466 guix-git/doc/guix.texi:29511
  43830. msgid "4: ERROR"
  43831. msgstr ""
  43832. #. type: deftypevr
  43833. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29471
  43834. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  43835. msgstr ""
  43836. #. type: deftypevr
  43837. #: guix-git/doc/guix.texi:29250 guix-git/doc/guix.texi:29473
  43838. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  43839. msgstr ""
  43840. #. type: deftypevr
  43841. #: guix-git/doc/guix.texi:29253
  43842. #, no-wrap
  43843. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  43844. msgstr ""
  43845. #. type: deftypevr
  43846. #: guix-git/doc/guix.texi:29255 guix-git/doc/guix.texi:29478
  43847. msgid "Logging outputs."
  43848. msgstr ""
  43849. #. type: deftypevr
  43850. #: guix-git/doc/guix.texi:29258
  43851. msgid "An output is one of the places to save logging information. The format for an output can be:"
  43852. msgstr ""
  43853. #. type: item
  43854. #: guix-git/doc/guix.texi:29260 guix-git/doc/guix.texi:29483
  43855. #, no-wrap
  43856. msgid "x:stderr"
  43857. msgstr ""
  43858. #. type: table
  43859. #: guix-git/doc/guix.texi:29262 guix-git/doc/guix.texi:29485
  43860. msgid "output goes to stderr"
  43861. msgstr ""
  43862. #. type: item
  43863. #: guix-git/doc/guix.texi:29263 guix-git/doc/guix.texi:29486
  43864. #, no-wrap
  43865. msgid "x:syslog:name"
  43866. msgstr ""
  43867. #. type: table
  43868. #: guix-git/doc/guix.texi:29265 guix-git/doc/guix.texi:29488
  43869. msgid "use syslog for the output and use the given name as the ident"
  43870. msgstr ""
  43871. #. type: item
  43872. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29489
  43873. #, no-wrap
  43874. msgid "x:file:file_path"
  43875. msgstr ""
  43876. #. type: table
  43877. #: guix-git/doc/guix.texi:29268 guix-git/doc/guix.texi:29491
  43878. msgid "output to a file, with the given filepath"
  43879. msgstr ""
  43880. #. type: item
  43881. #: guix-git/doc/guix.texi:29269 guix-git/doc/guix.texi:29492
  43882. #, no-wrap
  43883. msgid "x:journald"
  43884. msgstr ""
  43885. #. type: table
  43886. #: guix-git/doc/guix.texi:29271 guix-git/doc/guix.texi:29494
  43887. msgid "output to journald logging system"
  43888. msgstr ""
  43889. #. type: deftypevr
  43890. #: guix-git/doc/guix.texi:29275 guix-git/doc/guix.texi:29498
  43891. msgid "In all case the x prefix is the minimal level, acting as a filter"
  43892. msgstr ""
  43893. #. type: deftypevr
  43894. #: guix-git/doc/guix.texi:29293 guix-git/doc/guix.texi:29516
  43895. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  43896. msgstr ""
  43897. #. type: deftypevr
  43898. #: guix-git/doc/guix.texi:29295 guix-git/doc/guix.texi:29518
  43899. msgid "Defaults to @samp{\"3:stderr\"}."
  43900. msgstr ""
  43901. #. type: deftypevr
  43902. #: guix-git/doc/guix.texi:29298
  43903. #, no-wrap
  43904. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  43905. msgstr ""
  43906. #. type: deftypevr
  43907. #: guix-git/doc/guix.texi:29300
  43908. msgid "Allows usage of the auditing subsystem to be altered"
  43909. msgstr ""
  43910. #. type: itemize
  43911. #: guix-git/doc/guix.texi:29304
  43912. msgid "0: disable all auditing"
  43913. msgstr ""
  43914. #. type: itemize
  43915. #: guix-git/doc/guix.texi:29307
  43916. msgid "1: enable auditing, only if enabled on host"
  43917. msgstr ""
  43918. #. type: itemize
  43919. #: guix-git/doc/guix.texi:29310
  43920. msgid "2: enable auditing, and exit if disabled on host."
  43921. msgstr ""
  43922. #. type: deftypevr
  43923. #: guix-git/doc/guix.texi:29317
  43924. #, no-wrap
  43925. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  43926. msgstr ""
  43927. #. type: deftypevr
  43928. #: guix-git/doc/guix.texi:29319
  43929. msgid "Send audit messages via libvirt logging infrastructure."
  43930. msgstr ""
  43931. #. type: deftypevr
  43932. #: guix-git/doc/guix.texi:29324
  43933. #, no-wrap
  43934. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  43935. msgstr ""
  43936. #. type: deftypevr
  43937. #: guix-git/doc/guix.texi:29326
  43938. msgid "Host UUID@. UUID must not have all digits be the same."
  43939. msgstr ""
  43940. #. type: deftypevr
  43941. #: guix-git/doc/guix.texi:29331
  43942. #, no-wrap
  43943. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  43944. msgstr ""
  43945. #. type: deftypevr
  43946. #: guix-git/doc/guix.texi:29333
  43947. msgid "Source to read host UUID."
  43948. msgstr ""
  43949. #. type: itemize
  43950. #: guix-git/doc/guix.texi:29337
  43951. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  43952. msgstr ""
  43953. #. type: itemize
  43954. #: guix-git/doc/guix.texi:29340
  43955. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  43956. msgstr ""
  43957. #. type: deftypevr
  43958. #: guix-git/doc/guix.texi:29345
  43959. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  43960. msgstr ""
  43961. #. type: deftypevr
  43962. #: guix-git/doc/guix.texi:29347
  43963. msgid "Defaults to @samp{\"smbios\"}."
  43964. msgstr ""
  43965. #. type: deftypevr
  43966. #: guix-git/doc/guix.texi:29350
  43967. #, no-wrap
  43968. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  43969. msgstr ""
  43970. #. type: deftypevr
  43971. #: guix-git/doc/guix.texi:29355
  43972. 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."
  43973. msgstr ""
  43974. #. type: deftypevr
  43975. #: guix-git/doc/guix.texi:29360
  43976. #, no-wrap
  43977. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  43978. msgstr ""
  43979. #. type: deftypevr
  43980. #: guix-git/doc/guix.texi:29364
  43981. 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."
  43982. msgstr ""
  43983. #. type: deftypevr
  43984. #: guix-git/doc/guix.texi:29371
  43985. 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."
  43986. msgstr ""
  43987. #. type: deftypevr
  43988. #: guix-git/doc/guix.texi:29376
  43989. #, no-wrap
  43990. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  43991. msgstr ""
  43992. #. type: deftypevr
  43993. #: guix-git/doc/guix.texi:29378 guix-git/doc/guix.texi:29385
  43994. msgid "Same as above but for admin interface."
  43995. msgstr ""
  43996. #. type: deftypevr
  43997. #: guix-git/doc/guix.texi:29383
  43998. #, no-wrap
  43999. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  44000. msgstr ""
  44001. #. type: deftypevr
  44002. #: guix-git/doc/guix.texi:29390
  44003. #, no-wrap
  44004. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  44005. msgstr ""
  44006. #. type: deftypevr
  44007. #: guix-git/doc/guix.texi:29392
  44008. msgid "Timeout for Open vSwitch calls."
  44009. msgstr ""
  44010. #. type: deftypevr
  44011. #: guix-git/doc/guix.texi:29396
  44012. 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."
  44013. msgstr ""
  44014. #. type: subsubheading
  44015. #: guix-git/doc/guix.texi:29403
  44016. #, no-wrap
  44017. msgid "Virtlog daemon"
  44018. msgstr ""
  44019. #. type: Plain text
  44020. #: guix-git/doc/guix.texi:29406
  44021. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  44022. msgstr ""
  44023. #. type: Plain text
  44024. #: guix-git/doc/guix.texi:29412
  44025. 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."
  44026. msgstr ""
  44027. #. type: deffn
  44028. #: guix-git/doc/guix.texi:29413
  44029. #, no-wrap
  44030. msgid "{Scheme Variable} virtlog-service-type"
  44031. msgstr ""
  44032. #. type: deffn
  44033. #: guix-git/doc/guix.texi:29416
  44034. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  44035. msgstr ""
  44036. #. type: lisp
  44037. #: guix-git/doc/guix.texi:29421
  44038. #, no-wrap
  44039. msgid ""
  44040. "(service virtlog-service-type\n"
  44041. " (virtlog-configuration\n"
  44042. " (max-clients 1000)))\n"
  44043. msgstr ""
  44044. #. type: deftypevr
  44045. #: guix-git/doc/guix.texi:29424
  44046. #, no-wrap
  44047. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  44048. msgstr ""
  44049. #. type: deftypevr
  44050. #: guix-git/doc/guix.texi:29431
  44051. #, no-wrap
  44052. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  44053. msgstr ""
  44054. #. type: deftypevr
  44055. #: guix-git/doc/guix.texi:29436
  44056. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  44057. msgstr ""
  44058. #. type: deftypevr
  44059. #: guix-git/doc/guix.texi:29453
  44060. 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:"
  44061. msgstr ""
  44062. #. type: deftypevr
  44063. #: guix-git/doc/guix.texi:29476
  44064. #, no-wrap
  44065. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  44066. msgstr ""
  44067. #. type: deftypevr
  44068. #: guix-git/doc/guix.texi:29481
  44069. msgid "An output is one of the places to save logging information The format for an output can be:"
  44070. msgstr ""
  44071. #. type: deftypevr
  44072. #: guix-git/doc/guix.texi:29521
  44073. #, no-wrap
  44074. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  44075. msgstr ""
  44076. #. type: deftypevr
  44077. #: guix-git/doc/guix.texi:29526
  44078. msgid "Defaults to @samp{1024}."
  44079. msgstr ""
  44080. #. type: deftypevr
  44081. #: guix-git/doc/guix.texi:29529
  44082. #, no-wrap
  44083. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  44084. msgstr ""
  44085. #. type: deftypevr
  44086. #: guix-git/doc/guix.texi:29531
  44087. msgid "Maximum file size before rolling over."
  44088. msgstr ""
  44089. #. type: deftypevr
  44090. #: guix-git/doc/guix.texi:29533
  44091. msgid "Defaults to @samp{2MB}"
  44092. msgstr ""
  44093. #. type: deftypevr
  44094. #: guix-git/doc/guix.texi:29536
  44095. #, no-wrap
  44096. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  44097. msgstr ""
  44098. #. type: deftypevr
  44099. #: guix-git/doc/guix.texi:29538
  44100. msgid "Maximum number of backup files to keep."
  44101. msgstr ""
  44102. #. type: deftypevr
  44103. #: guix-git/doc/guix.texi:29540
  44104. msgid "Defaults to @samp{3}"
  44105. msgstr ""
  44106. #. type: anchor{#1}
  44107. #: guix-git/doc/guix.texi:29544
  44108. msgid "transparent-emulation-qemu"
  44109. msgstr ""
  44110. #. type: subsubheading
  44111. #: guix-git/doc/guix.texi:29544
  44112. #, no-wrap
  44113. msgid "Transparent Emulation with QEMU"
  44114. msgstr ""
  44115. #. type: cindex
  44116. #: guix-git/doc/guix.texi:29546
  44117. #, no-wrap
  44118. msgid "emulation"
  44119. msgstr ""
  44120. #. type: code{#1}
  44121. #: guix-git/doc/guix.texi:29547
  44122. #, no-wrap
  44123. msgid "binfmt_misc"
  44124. msgstr ""
  44125. #. type: Plain text
  44126. #: guix-git/doc/guix.texi:29555
  44127. 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."
  44128. msgstr ""
  44129. #. type: defvr
  44130. #: guix-git/doc/guix.texi:29556
  44131. #, no-wrap
  44132. msgid "{Scheme Variable} qemu-binfmt-service-type"
  44133. msgstr ""
  44134. #. type: defvr
  44135. #: guix-git/doc/guix.texi:29561
  44136. 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:"
  44137. msgstr ""
  44138. #. type: lisp
  44139. #: guix-git/doc/guix.texi:29566
  44140. #, no-wrap
  44141. msgid ""
  44142. "(service qemu-binfmt-service-type\n"
  44143. " (qemu-binfmt-configuration\n"
  44144. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  44145. msgstr ""
  44146. #. type: defvr
  44147. #: guix-git/doc/guix.texi:29572
  44148. 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})."
  44149. msgstr ""
  44150. #. type: deftp
  44151. #: guix-git/doc/guix.texi:29574
  44152. #, no-wrap
  44153. msgid "{Data Type} qemu-binfmt-configuration"
  44154. msgstr ""
  44155. #. type: deftp
  44156. #: guix-git/doc/guix.texi:29576
  44157. msgid "This is the configuration for the @code{qemu-binfmt} service."
  44158. msgstr ""
  44159. #. type: item
  44160. #: guix-git/doc/guix.texi:29578
  44161. #, no-wrap
  44162. msgid "@code{platforms} (default: @code{'()})"
  44163. msgstr ""
  44164. #. type: table
  44165. #: guix-git/doc/guix.texi:29581
  44166. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  44167. msgstr ""
  44168. #. type: table
  44169. #: guix-git/doc/guix.texi:29584
  44170. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  44171. msgstr ""
  44172. #. type: lisp
  44173. #: guix-git/doc/guix.texi:29589
  44174. #, no-wrap
  44175. msgid ""
  44176. "(service qemu-binfmt-service-type\n"
  44177. " (qemu-binfmt-configuration\n"
  44178. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  44179. msgstr ""
  44180. #. type: table
  44181. #: guix-git/doc/guix.texi:29592
  44182. msgid "You can run:"
  44183. msgstr ""
  44184. #. type: example
  44185. #: guix-git/doc/guix.texi:29595
  44186. #, no-wrap
  44187. msgid "guix build -s armhf-linux inkscape\n"
  44188. msgstr ""
  44189. #. type: table
  44190. #: guix-git/doc/guix.texi:29602
  44191. 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!"
  44192. msgstr ""
  44193. #. type: item
  44194. #: guix-git/doc/guix.texi:29603
  44195. #, no-wrap
  44196. msgid "@code{qemu} (default: @code{qemu})"
  44197. msgstr ""
  44198. #. type: table
  44199. #: guix-git/doc/guix.texi:29605 guix-git/doc/guix.texi:29699
  44200. msgid "The QEMU package to use."
  44201. msgstr ""
  44202. #. type: deffn
  44203. #: guix-git/doc/guix.texi:29608
  44204. #, no-wrap
  44205. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  44206. msgstr ""
  44207. #. type: deffn
  44208. #: guix-git/doc/guix.texi:29613
  44209. 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."
  44210. msgstr ""
  44211. #. type: deffn
  44212. #: guix-git/doc/guix.texi:29615
  44213. #, no-wrap
  44214. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  44215. msgstr ""
  44216. #. type: deffn
  44217. #: guix-git/doc/guix.texi:29617
  44218. msgid "Return true if @var{obj} is a platform object."
  44219. msgstr ""
  44220. #. type: deffn
  44221. #: guix-git/doc/guix.texi:29619
  44222. #, no-wrap
  44223. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  44224. msgstr ""
  44225. #. type: deffn
  44226. #: guix-git/doc/guix.texi:29621
  44227. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  44228. msgstr ""
  44229. #. type: subsubheading
  44230. #: guix-git/doc/guix.texi:29624
  44231. #, no-wrap
  44232. msgid "The Hurd in a Virtual Machine"
  44233. msgstr ""
  44234. #. type: cindex
  44235. #: guix-git/doc/guix.texi:29627
  44236. #, no-wrap
  44237. msgid "the Hurd"
  44238. msgstr ""
  44239. #. type: cindex
  44240. #: guix-git/doc/guix.texi:29628
  44241. #, no-wrap
  44242. msgid "childhurd"
  44243. msgstr ""
  44244. #. type: Plain text
  44245. #: guix-git/doc/guix.texi:29636
  44246. 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:"
  44247. msgstr ""
  44248. #. type: example
  44249. #: guix-git/doc/guix.texi:29640
  44250. #, no-wrap
  44251. msgid ""
  44252. "herd start hurd-vm\n"
  44253. "herd stop childhurd\n"
  44254. msgstr ""
  44255. #. type: Plain text
  44256. #: guix-git/doc/guix.texi:29644
  44257. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  44258. msgstr ""
  44259. #. type: example
  44260. #: guix-git/doc/guix.texi:29648
  44261. #, no-wrap
  44262. msgid ""
  44263. "guix environment --ad-hoc tigervnc-client -- \\\n"
  44264. " vncviewer localhost:5900\n"
  44265. msgstr ""
  44266. #. type: Plain text
  44267. #: guix-git/doc/guix.texi:29654
  44268. 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:"
  44269. msgstr ""
  44270. #. type: example
  44271. #: guix-git/doc/guix.texi:29657
  44272. #, no-wrap
  44273. msgid "ssh root@@localhost -p 10022\n"
  44274. msgstr ""
  44275. #. type: Plain text
  44276. #: guix-git/doc/guix.texi:29666
  44277. 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."
  44278. msgstr ""
  44279. #. type: defvr
  44280. #: guix-git/doc/guix.texi:29667
  44281. #, no-wrap
  44282. msgid "{Scheme Variable} hurd-vm-service-type"
  44283. msgstr ""
  44284. #. type: defvr
  44285. #: guix-git/doc/guix.texi:29673
  44286. 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."
  44287. msgstr ""
  44288. #. type: lisp
  44289. #: guix-git/doc/guix.texi:29681
  44290. #, no-wrap
  44291. msgid ""
  44292. "(service hurd-vm-service-type\n"
  44293. " (hurd-vm-configuration\n"
  44294. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  44295. " (memory-size 1024))) ;1024MiB\n"
  44296. msgstr ""
  44297. #. type: defvr
  44298. #: guix-git/doc/guix.texi:29685
  44299. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  44300. msgstr ""
  44301. #. type: deftp
  44302. #: guix-git/doc/guix.texi:29687
  44303. #, no-wrap
  44304. msgid "{Data Type} hurd-vm-configuration"
  44305. msgstr ""
  44306. #. type: deftp
  44307. #: guix-git/doc/guix.texi:29690
  44308. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  44309. msgstr ""
  44310. #. type: item
  44311. #: guix-git/doc/guix.texi:29692
  44312. #, no-wrap
  44313. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  44314. msgstr ""
  44315. #. type: table
  44316. #: guix-git/doc/guix.texi:29696
  44317. 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}})."
  44318. msgstr ""
  44319. #. type: item
  44320. #: guix-git/doc/guix.texi:29697
  44321. #, no-wrap
  44322. msgid "@code{qemu} (default: @code{qemu-minimal})"
  44323. msgstr ""
  44324. #. type: item
  44325. #: guix-git/doc/guix.texi:29700
  44326. #, no-wrap
  44327. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  44328. msgstr ""
  44329. #. type: table
  44330. #: guix-git/doc/guix.texi:29703
  44331. msgid "The procedure used to build the disk-image built from this configuration."
  44332. msgstr ""
  44333. #. type: item
  44334. #: guix-git/doc/guix.texi:29704
  44335. #, no-wrap
  44336. msgid "@code{disk-size} (default: @code{'guess})"
  44337. msgstr ""
  44338. #. type: table
  44339. #: guix-git/doc/guix.texi:29706
  44340. msgid "The size of the disk image."
  44341. msgstr ""
  44342. #. type: item
  44343. #: guix-git/doc/guix.texi:29707
  44344. #, no-wrap
  44345. msgid "@code{memory-size} (default: @code{512})"
  44346. msgstr ""
  44347. #. type: table
  44348. #: guix-git/doc/guix.texi:29709
  44349. msgid "The memory size of the Virtual Machine in mebibytes."
  44350. msgstr ""
  44351. #. type: item
  44352. #: guix-git/doc/guix.texi:29710
  44353. #, no-wrap
  44354. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  44355. msgstr ""
  44356. #. type: table
  44357. #: guix-git/doc/guix.texi:29712
  44358. msgid "The extra options for running QEMU."
  44359. msgstr ""
  44360. #. type: table
  44361. #: guix-git/doc/guix.texi:29717
  44362. 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}."
  44363. msgstr ""
  44364. #. type: item
  44365. #: guix-git/doc/guix.texi:29718
  44366. #, no-wrap
  44367. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  44368. msgstr ""
  44369. #. type: table
  44370. #: guix-git/doc/guix.texi:29720
  44371. msgid "The procedure used to produce the list of QEMU networking options."
  44372. msgstr ""
  44373. #. type: table
  44374. #: guix-git/doc/guix.texi:29722
  44375. msgid "By default, it produces"
  44376. msgstr ""
  44377. #. type: lisp
  44378. #: guix-git/doc/guix.texi:29730
  44379. #, no-wrap
  44380. msgid ""
  44381. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  44382. " \"--netdev\" (string-append\n"
  44383. " \"user,id=net0,\"\n"
  44384. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  44385. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  44386. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  44387. msgstr ""
  44388. #. type: table
  44389. #: guix-git/doc/guix.texi:29733
  44390. msgid "with forwarded ports:"
  44391. msgstr ""
  44392. #. type: example
  44393. #: guix-git/doc/guix.texi:29738
  44394. #, no-wrap
  44395. msgid ""
  44396. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  44397. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  44398. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  44399. msgstr ""
  44400. #. type: item
  44401. #: guix-git/doc/guix.texi:29740
  44402. #, no-wrap
  44403. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  44404. msgstr ""
  44405. #. type: table
  44406. #: guix-git/doc/guix.texi:29745
  44407. 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."
  44408. msgstr ""
  44409. #. type: table
  44410. #: guix-git/doc/guix.texi:29749
  44411. 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."
  44412. msgstr ""
  44413. #. type: table
  44414. #: guix-git/doc/guix.texi:29752
  44415. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  44416. msgstr ""
  44417. #. type: example
  44418. #: guix-git/doc/guix.texi:29761
  44419. #, no-wrap
  44420. msgid ""
  44421. "/etc/childhurd/etc/guix/acl\n"
  44422. "/etc/childhurd/etc/guix/signing-key.pub\n"
  44423. "/etc/childhurd/etc/guix/signing-key.sec\n"
  44424. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  44425. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  44426. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  44427. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  44428. msgstr ""
  44429. #. type: table
  44430. #: guix-git/doc/guix.texi:29765
  44431. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  44432. msgstr ""
  44433. #. type: cindex
  44434. #: guix-git/doc/guix.texi:29766
  44435. #, no-wrap
  44436. msgid "childhurd, offloading"
  44437. msgstr ""
  44438. #. type: cindex
  44439. #: guix-git/doc/guix.texi:29767
  44440. #, no-wrap
  44441. msgid "Hurd, offloading"
  44442. msgstr ""
  44443. #. type: table
  44444. #: guix-git/doc/guix.texi:29771
  44445. 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:"
  44446. msgstr ""
  44447. #. type: enumerate
  44448. #: guix-git/doc/guix.texi:29776
  44449. 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:"
  44450. msgstr ""
  44451. #. type: example
  44452. #: guix-git/doc/guix.texi:29780
  44453. #, no-wrap
  44454. msgid ""
  44455. "guix archive --authorize < \\\n"
  44456. " /etc/childhurd/etc/guix/signing-key.pub\n"
  44457. msgstr ""
  44458. #. type: enumerate
  44459. #: guix-git/doc/guix.texi:29785
  44460. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  44461. msgstr ""
  44462. #. type: table
  44463. #: guix-git/doc/guix.texi:29789
  44464. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  44465. msgstr ""
  44466. #. type: Plain text
  44467. #: guix-git/doc/guix.texi:29796
  44468. 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:"
  44469. msgstr ""
  44470. #. type: lisp
  44471. #: guix-git/doc/guix.texi:29802
  44472. #, no-wrap
  44473. msgid ""
  44474. "(service hurd-vm-service-type\n"
  44475. " (hurd-vm-configuration\n"
  44476. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  44477. " (options '())))\n"
  44478. msgstr ""
  44479. #. type: subsubheading
  44480. #: guix-git/doc/guix.texi:29804
  44481. #, no-wrap
  44482. msgid "Ganeti"
  44483. msgstr ""
  44484. #. type: cindex
  44485. #: guix-git/doc/guix.texi:29806
  44486. #, no-wrap
  44487. msgid "ganeti"
  44488. msgstr ""
  44489. #. type: quotation
  44490. #: guix-git/doc/guix.texi:29813
  44491. 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}."
  44492. msgstr ""
  44493. #. type: Plain text
  44494. #: guix-git/doc/guix.texi:29823
  44495. 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)."
  44496. msgstr ""
  44497. #. type: Plain text
  44498. #: guix-git/doc/guix.texi:29828
  44499. 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}:"
  44500. msgstr ""
  44501. #. type: lisp
  44502. #: guix-git/doc/guix.texi:29838
  44503. #, no-wrap
  44504. msgid ""
  44505. "(use-package-modules virtualization)\n"
  44506. "(use-service-modules base ganeti networking ssh)\n"
  44507. "(operating-system\n"
  44508. " ;; @dots{}\n"
  44509. " (host-name \"node1\")\n"
  44510. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  44511. "127.0.0.1 localhost\n"
  44512. "::1 localhost\n"
  44513. "\n"
  44514. msgstr ""
  44515. #. type: lisp
  44516. #: guix-git/doc/guix.texi:29843
  44517. #, no-wrap
  44518. msgid ""
  44519. "192.168.1.200 ganeti.example.com\n"
  44520. "192.168.1.201 node1.example.com node1\n"
  44521. "192.168.1.202 node2.example.com node2\n"
  44522. "\")))\n"
  44523. "\n"
  44524. msgstr ""
  44525. #. type: lisp
  44526. #: guix-git/doc/guix.texi:29857
  44527. #, no-wrap
  44528. msgid ""
  44529. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  44530. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  44531. " (packages (append (map specification->package\n"
  44532. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  44533. " ;; Add the debootstrap and guix OS providers.\n"
  44534. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  44535. " %base-packages))\n"
  44536. " (services\n"
  44537. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  44538. " #:netmask \"255.255.255.0\"\n"
  44539. " #:gateway \"192.168.1.254\"\n"
  44540. " #:name-servers '(\"192.168.1.252\"\n"
  44541. " \"192.168.1.253\"))\n"
  44542. "\n"
  44543. msgstr ""
  44544. #. type: lisp
  44545. #: guix-git/doc/guix.texi:29862
  44546. #, no-wrap
  44547. msgid ""
  44548. " ;; Ganeti uses SSH to communicate between nodes.\n"
  44549. " (service openssh-service-type\n"
  44550. " (openssh-configuration\n"
  44551. " (permit-root-login 'prohibit-password)))\n"
  44552. "\n"
  44553. msgstr ""
  44554. #. type: lisp
  44555. #: guix-git/doc/guix.texi:29872
  44556. #, no-wrap
  44557. msgid ""
  44558. " (service ganeti-service-type\n"
  44559. " (ganeti-configuration\n"
  44560. " ;; This list specifies allowed file system paths\n"
  44561. " ;; for storing virtual machine images.\n"
  44562. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  44563. " ;; This variable configures a single \"variant\" for\n"
  44564. " ;; both Debootstrap and Guix that works with KVM.\n"
  44565. " (os %default-ganeti-os))))\n"
  44566. " %base-services)))\n"
  44567. msgstr ""
  44568. #. type: Plain text
  44569. #: guix-git/doc/guix.texi:29880
  44570. 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."
  44571. msgstr ""
  44572. #. type: defvr
  44573. #: guix-git/doc/guix.texi:29881
  44574. #, no-wrap
  44575. msgid "{Scheme Variable} ganeti-service-type"
  44576. msgstr ""
  44577. #. type: defvr
  44578. #: guix-git/doc/guix.texi:29884
  44579. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  44580. msgstr ""
  44581. #. type: defvr
  44582. #: guix-git/doc/guix.texi:29889
  44583. 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."
  44584. msgstr ""
  44585. #. type: deftp
  44586. #: guix-git/doc/guix.texi:29891
  44587. #, no-wrap
  44588. msgid "{Data Type} ganeti-configuration"
  44589. msgstr ""
  44590. #. type: deftp
  44591. #: guix-git/doc/guix.texi:29893
  44592. msgid "The @code{ganeti} service takes the following configuration options:"
  44593. msgstr ""
  44594. #. type: item
  44595. #: guix-git/doc/guix.texi:29895 guix-git/doc/guix.texi:30123
  44596. #: guix-git/doc/guix.texi:30173 guix-git/doc/guix.texi:30203
  44597. #: guix-git/doc/guix.texi:30230 guix-git/doc/guix.texi:30262
  44598. #: guix-git/doc/guix.texi:30315 guix-git/doc/guix.texi:30335
  44599. #: guix-git/doc/guix.texi:30361 guix-git/doc/guix.texi:30394
  44600. #: guix-git/doc/guix.texi:30434
  44601. #, no-wrap
  44602. msgid "@code{ganeti} (default: @code{ganeti})"
  44603. msgstr ""
  44604. #. type: table
  44605. #: guix-git/doc/guix.texi:29900
  44606. 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)."
  44607. msgstr ""
  44608. #. type: item
  44609. #: guix-git/doc/guix.texi:29901
  44610. #, no-wrap
  44611. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  44612. msgstr ""
  44613. #. type: itemx
  44614. #: guix-git/doc/guix.texi:29902
  44615. #, no-wrap
  44616. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  44617. msgstr ""
  44618. #. type: itemx
  44619. #: guix-git/doc/guix.texi:29903
  44620. #, no-wrap
  44621. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  44622. msgstr ""
  44623. #. type: itemx
  44624. #: guix-git/doc/guix.texi:29904
  44625. #, no-wrap
  44626. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  44627. msgstr ""
  44628. #. type: itemx
  44629. #: guix-git/doc/guix.texi:29905
  44630. #, no-wrap
  44631. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  44632. msgstr ""
  44633. #. type: itemx
  44634. #: guix-git/doc/guix.texi:29906
  44635. #, no-wrap
  44636. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  44637. msgstr ""
  44638. #. type: itemx
  44639. #: guix-git/doc/guix.texi:29907
  44640. #, no-wrap
  44641. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  44642. msgstr ""
  44643. #. type: itemx
  44644. #: guix-git/doc/guix.texi:29908
  44645. #, no-wrap
  44646. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  44647. msgstr ""
  44648. #. type: itemx
  44649. #: guix-git/doc/guix.texi:29909
  44650. #, no-wrap
  44651. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  44652. msgstr ""
  44653. #. type: itemx
  44654. #: guix-git/doc/guix.texi:29910
  44655. #, no-wrap
  44656. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  44657. msgstr ""
  44658. #. type: table
  44659. #: guix-git/doc/guix.texi:29915
  44660. 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:"
  44661. msgstr ""
  44662. #. type: lisp
  44663. #: guix-git/doc/guix.texi:29925
  44664. #, no-wrap
  44665. msgid ""
  44666. "(service ganeti-service-type\n"
  44667. " (ganeti-configuration\n"
  44668. " (rapi-configuration\n"
  44669. " (ganeti-rapi-configuration\n"
  44670. " (interface \"eth1\"))))\n"
  44671. " (watcher-configuration\n"
  44672. " (ganeti-watcher-configuration\n"
  44673. " (rapi-ip \"10.0.0.1\"))))\n"
  44674. msgstr ""
  44675. #. type: item
  44676. #: guix-git/doc/guix.texi:29927
  44677. #, no-wrap
  44678. msgid "@code{file-storage-paths} (default: @code{'()})"
  44679. msgstr ""
  44680. #. type: table
  44681. #: guix-git/doc/guix.texi:29929
  44682. msgid "List of allowed directories for file storage backend."
  44683. msgstr ""
  44684. #. type: item
  44685. #: guix-git/doc/guix.texi:29930
  44686. #, no-wrap
  44687. msgid "@code{os} (default: @code{%default-ganeti-os})"
  44688. msgstr ""
  44689. #. type: table
  44690. #: guix-git/doc/guix.texi:29932
  44691. msgid "List of @code{<ganeti-os>} records."
  44692. msgstr ""
  44693. #. type: deftp
  44694. #: guix-git/doc/guix.texi:29936
  44695. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  44696. msgstr ""
  44697. #. type: lisp
  44698. #: guix-git/doc/guix.texi:29947
  44699. #, no-wrap
  44700. msgid ""
  44701. "(service ganeti-noded-service-type)\n"
  44702. "(service ganeti-confd-service-type)\n"
  44703. "(service ganeti-wconfd-service-type)\n"
  44704. "(service ganeti-luxid-service-type)\n"
  44705. "(service ganeti-kvmd-service-type)\n"
  44706. "(service ganeti-mond-service-type)\n"
  44707. "(service ganeti-metad-service-type)\n"
  44708. "(service ganeti-watcher-service-type)\n"
  44709. "(service ganeti-cleaner-service-type)\n"
  44710. msgstr ""
  44711. #. type: deftp
  44712. #: guix-git/doc/guix.texi:29951
  44713. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  44714. msgstr ""
  44715. #. type: deftp
  44716. #: guix-git/doc/guix.texi:29954
  44717. #, no-wrap
  44718. msgid "{Data Type} ganeti-os"
  44719. msgstr ""
  44720. #. type: deftp
  44721. #: guix-git/doc/guix.texi:29957
  44722. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  44723. msgstr ""
  44724. #. type: table
  44725. #: guix-git/doc/guix.texi:29963
  44726. 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}."
  44727. msgstr ""
  44728. #. type: code{#1}
  44729. #: guix-git/doc/guix.texi:29964
  44730. #, no-wrap
  44731. msgid "extension"
  44732. msgstr ""
  44733. #. type: table
  44734. #: guix-git/doc/guix.texi:29967
  44735. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  44736. msgstr ""
  44737. #. type: item
  44738. #: guix-git/doc/guix.texi:29968
  44739. #, no-wrap
  44740. msgid "@code{variants} (default: @code{'()})"
  44741. msgstr ""
  44742. #. type: table
  44743. #: guix-git/doc/guix.texi:29970
  44744. msgid "List of @code{ganeti-os-variant} objects for this OS."
  44745. msgstr ""
  44746. #. type: deftp
  44747. #: guix-git/doc/guix.texi:29974
  44748. #, no-wrap
  44749. msgid "{Data Type} ganeti-os-variant"
  44750. msgstr ""
  44751. #. type: deftp
  44752. #: guix-git/doc/guix.texi:29977
  44753. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  44754. msgstr ""
  44755. #. type: table
  44756. #: guix-git/doc/guix.texi:29981
  44757. msgid "The name of this variant."
  44758. msgstr ""
  44759. #. type: code{#1}
  44760. #: guix-git/doc/guix.texi:29982
  44761. #, no-wrap
  44762. msgid "configuration"
  44763. msgstr ""
  44764. #. type: table
  44765. #: guix-git/doc/guix.texi:29984
  44766. msgid "A configuration file for this variant."
  44767. msgstr ""
  44768. #. type: defvr
  44769. #: guix-git/doc/guix.texi:29987
  44770. #, no-wrap
  44771. msgid "{Scheme Variable} %default-debootstrap-hooks"
  44772. msgstr ""
  44773. #. type: defvr
  44774. #: guix-git/doc/guix.texi:29989
  44775. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  44776. msgstr ""
  44777. #. type: defvr
  44778. #: guix-git/doc/guix.texi:29991
  44779. #, no-wrap
  44780. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  44781. msgstr ""
  44782. #. type: defvr
  44783. #: guix-git/doc/guix.texi:29993
  44784. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  44785. msgstr ""
  44786. #. type: deftp
  44787. #: guix-git/doc/guix.texi:29995
  44788. #, no-wrap
  44789. msgid "{Data Type} debootstrap-configuration"
  44790. msgstr ""
  44791. #. type: deftp
  44792. #: guix-git/doc/guix.texi:29998
  44793. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  44794. msgstr ""
  44795. #. type: item
  44796. #: guix-git/doc/guix.texi:30000
  44797. #, no-wrap
  44798. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  44799. msgstr ""
  44800. #. type: table
  44801. #: guix-git/doc/guix.texi:30004
  44802. 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:"
  44803. msgstr ""
  44804. #. type: lisp
  44805. #: guix-git/doc/guix.texi:30007
  44806. #, no-wrap
  44807. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  44808. msgstr ""
  44809. #. type: table
  44810. #: guix-git/doc/guix.texi:30012
  44811. 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."
  44812. msgstr ""
  44813. #. type: item
  44814. #: guix-git/doc/guix.texi:30012
  44815. #, no-wrap
  44816. msgid "@code{proxy} (default: @code{#f})"
  44817. msgstr ""
  44818. #. type: table
  44819. #: guix-git/doc/guix.texi:30014
  44820. msgid "Optional HTTP proxy to use."
  44821. msgstr ""
  44822. #. type: item
  44823. #: guix-git/doc/guix.texi:30014
  44824. #, no-wrap
  44825. msgid "@code{mirror} (default: @code{#f})"
  44826. msgstr ""
  44827. #. type: table
  44828. #: guix-git/doc/guix.texi:30017
  44829. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  44830. msgstr ""
  44831. #. type: item
  44832. #: guix-git/doc/guix.texi:30017
  44833. #, no-wrap
  44834. msgid "@code{arch} (default: @code{#f})"
  44835. msgstr ""
  44836. #. type: table
  44837. #: guix-git/doc/guix.texi:30020
  44838. 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."
  44839. msgstr ""
  44840. #. type: item
  44841. #: guix-git/doc/guix.texi:30020
  44842. #, no-wrap
  44843. msgid "@code{suite} (default: @code{\"stable\"})"
  44844. msgstr ""
  44845. #. type: table
  44846. #: guix-git/doc/guix.texi:30023
  44847. 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."
  44848. msgstr ""
  44849. #. type: item
  44850. #: guix-git/doc/guix.texi:30023
  44851. #, no-wrap
  44852. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  44853. msgstr ""
  44854. #. type: table
  44855. #: guix-git/doc/guix.texi:30026
  44856. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  44857. msgstr ""
  44858. #. type: item
  44859. #: guix-git/doc/guix.texi:30026
  44860. #, no-wrap
  44861. msgid "@code{components} (default: @code{#f})"
  44862. msgstr ""
  44863. #. type: table
  44864. #: guix-git/doc/guix.texi:30029
  44865. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  44866. msgstr ""
  44867. #. type: item
  44868. #: guix-git/doc/guix.texi:30029
  44869. #, no-wrap
  44870. msgid "@code{generate-cache?} (default: @code{#t})"
  44871. msgstr ""
  44872. #. type: table
  44873. #: guix-git/doc/guix.texi:30031
  44874. msgid "Whether to automatically cache the generated debootstrap archive."
  44875. msgstr ""
  44876. #. type: item
  44877. #: guix-git/doc/guix.texi:30031
  44878. #, no-wrap
  44879. msgid "@code{clean-cache} (default: @code{14})"
  44880. msgstr ""
  44881. #. type: table
  44882. #: guix-git/doc/guix.texi:30034
  44883. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  44884. msgstr ""
  44885. #. type: item
  44886. #: guix-git/doc/guix.texi:30034
  44887. #, no-wrap
  44888. msgid "@code{partition-style} (default: @code{'msdos})"
  44889. msgstr ""
  44890. #. type: table
  44891. #: guix-git/doc/guix.texi:30037
  44892. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  44893. msgstr ""
  44894. #. type: item
  44895. #: guix-git/doc/guix.texi:30037
  44896. #, no-wrap
  44897. msgid "@code{partition-alignment} (default: @code{2048})"
  44898. msgstr ""
  44899. #. type: table
  44900. #: guix-git/doc/guix.texi:30039
  44901. msgid "Alignment of the partition in sectors."
  44902. msgstr ""
  44903. #. type: deffn
  44904. #: guix-git/doc/guix.texi:30042
  44905. #, no-wrap
  44906. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  44907. msgstr ""
  44908. #. type: deffn
  44909. #: guix-git/doc/guix.texi:30045
  44910. 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."
  44911. msgstr ""
  44912. #. type: deffn
  44913. #: guix-git/doc/guix.texi:30047
  44914. #, no-wrap
  44915. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  44916. msgstr ""
  44917. #. type: deffn
  44918. #: guix-git/doc/guix.texi:30050
  44919. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  44920. msgstr ""
  44921. #. type: deffn
  44922. #: guix-git/doc/guix.texi:30052
  44923. #, no-wrap
  44924. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  44925. msgstr ""
  44926. #. type: deffn
  44927. #: guix-git/doc/guix.texi:30057
  44928. 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."
  44929. msgstr ""
  44930. #. type: deffn
  44931. #: guix-git/doc/guix.texi:30059
  44932. #, no-wrap
  44933. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  44934. msgstr ""
  44935. #. type: deffn
  44936. #: guix-git/doc/guix.texi:30062
  44937. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  44938. msgstr ""
  44939. #. type: defvr
  44940. #: guix-git/doc/guix.texi:30064
  44941. #, no-wrap
  44942. msgid "{Scheme Variable} %default-debootstrap-variants"
  44943. msgstr ""
  44944. #. type: defvr
  44945. #: guix-git/doc/guix.texi:30068
  44946. 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:"
  44947. msgstr ""
  44948. #. type: lisp
  44949. #: guix-git/doc/guix.texi:30073
  44950. #, no-wrap
  44951. msgid ""
  44952. "(list (debootstrap-variant\n"
  44953. " \"default\"\n"
  44954. " (debootstrap-configuration)))\n"
  44955. msgstr ""
  44956. #. type: defvr
  44957. #: guix-git/doc/guix.texi:30076
  44958. #, no-wrap
  44959. msgid "{Scheme Variable} %default-guix-variants"
  44960. msgstr ""
  44961. #. type: defvr
  44962. #: guix-git/doc/guix.texi:30080
  44963. 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."
  44964. msgstr ""
  44965. #. type: lisp
  44966. #: guix-git/doc/guix.texi:30086
  44967. #, no-wrap
  44968. msgid ""
  44969. "(list (guix-variant\n"
  44970. " \"default\"\n"
  44971. " (file-append ganeti-instance-guix\n"
  44972. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  44973. msgstr ""
  44974. #. type: Plain text
  44975. #: guix-git/doc/guix.texi:30092
  44976. 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:"
  44977. msgstr ""
  44978. #. type: lisp
  44979. #: guix-git/doc/guix.texi:30101
  44980. #, no-wrap
  44981. msgid ""
  44982. "(ganeti-os\n"
  44983. " (name \"custom\")\n"
  44984. " (extension \".conf\")\n"
  44985. " (variants\n"
  44986. " (list (ganeti-os-variant\n"
  44987. " (name \"foo\")\n"
  44988. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  44989. msgstr ""
  44990. #. type: Plain text
  44991. #: guix-git/doc/guix.texi:30106
  44992. 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}."
  44993. msgstr ""
  44994. #. type: Plain text
  44995. #: guix-git/doc/guix.texi:30109
  44996. 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}."
  44997. msgstr ""
  44998. #. type: Plain text
  44999. #: guix-git/doc/guix.texi:30112
  45000. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  45001. msgstr ""
  45002. #. type: defvr
  45003. #: guix-git/doc/guix.texi:30113
  45004. #, no-wrap
  45005. msgid "{Scheme Variable} ganeti-noded-service-type"
  45006. msgstr ""
  45007. #. type: defvr
  45008. #: guix-git/doc/guix.texi:30117
  45009. 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."
  45010. msgstr ""
  45011. #. type: deftp
  45012. #: guix-git/doc/guix.texi:30119
  45013. #, no-wrap
  45014. msgid "{Data Type} ganeti-noded-configuration"
  45015. msgstr ""
  45016. #. type: deftp
  45017. #: guix-git/doc/guix.texi:30121
  45018. msgid "This is the configuration for the @code{ganeti-noded} service."
  45019. msgstr ""
  45020. #. type: table
  45021. #: guix-git/doc/guix.texi:30125 guix-git/doc/guix.texi:30175
  45022. #: guix-git/doc/guix.texi:30205 guix-git/doc/guix.texi:30232
  45023. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30317
  45024. #: guix-git/doc/guix.texi:30337 guix-git/doc/guix.texi:30363
  45025. #: guix-git/doc/guix.texi:30396
  45026. msgid "The @code{ganeti} package to use for this service."
  45027. msgstr ""
  45028. #. type: item
  45029. #: guix-git/doc/guix.texi:30126
  45030. #, no-wrap
  45031. msgid "@code{port} (default: @code{1811})"
  45032. msgstr ""
  45033. #. type: table
  45034. #: guix-git/doc/guix.texi:30128
  45035. msgid "The TCP port on which the node daemon listens for network requests."
  45036. msgstr ""
  45037. #. type: item
  45038. #: guix-git/doc/guix.texi:30129 guix-git/doc/guix.texi:30179
  45039. #: guix-git/doc/guix.texi:30271 guix-git/doc/guix.texi:30341
  45040. #, no-wrap
  45041. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  45042. msgstr ""
  45043. #. type: table
  45044. #: guix-git/doc/guix.texi:30132
  45045. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  45046. msgstr ""
  45047. #. type: table
  45048. #: guix-git/doc/guix.texi:30136
  45049. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  45050. msgstr ""
  45051. #. type: item
  45052. #: guix-git/doc/guix.texi:30137 guix-git/doc/guix.texi:30279
  45053. #, no-wrap
  45054. msgid "@code{max-clients} (default: @code{20})"
  45055. msgstr ""
  45056. #. type: table
  45057. #: guix-git/doc/guix.texi:30141
  45058. 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."
  45059. msgstr ""
  45060. #. type: item
  45061. #: guix-git/doc/guix.texi:30142 guix-git/doc/guix.texi:30284
  45062. #, no-wrap
  45063. msgid "@code{ssl?} (default: @code{#t})"
  45064. msgstr ""
  45065. #. type: table
  45066. #: guix-git/doc/guix.texi:30146
  45067. 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}."
  45068. msgstr ""
  45069. #. type: item
  45070. #: guix-git/doc/guix.texi:30147 guix-git/doc/guix.texi:30287
  45071. #, no-wrap
  45072. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45073. msgstr ""
  45074. #. type: table
  45075. #: guix-git/doc/guix.texi:30149 guix-git/doc/guix.texi:30289
  45076. msgid "This can be used to provide a specific encryption key for TLS communications."
  45077. msgstr ""
  45078. #. type: item
  45079. #: guix-git/doc/guix.texi:30150 guix-git/doc/guix.texi:30290
  45080. #, no-wrap
  45081. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45082. msgstr ""
  45083. #. type: table
  45084. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30292
  45085. msgid "This can be used to provide a specific certificate for TLS communications."
  45086. msgstr ""
  45087. #. type: table
  45088. #: guix-git/doc/guix.texi:30156 guix-git/doc/guix.texi:30296
  45089. 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."
  45090. msgstr ""
  45091. #. type: defvr
  45092. #: guix-git/doc/guix.texi:30160
  45093. #, no-wrap
  45094. msgid "{Scheme Variable} ganeti-confd-service-type"
  45095. msgstr ""
  45096. #. type: defvr
  45097. #: guix-git/doc/guix.texi:30166
  45098. 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."
  45099. msgstr ""
  45100. #. type: deftp
  45101. #: guix-git/doc/guix.texi:30169
  45102. #, no-wrap
  45103. msgid "{Data Type} ganeti-confd-configuration"
  45104. msgstr ""
  45105. #. type: deftp
  45106. #: guix-git/doc/guix.texi:30171
  45107. msgid "This is the configuration for the @code{ganeti-confd} service."
  45108. msgstr ""
  45109. #. type: item
  45110. #: guix-git/doc/guix.texi:30176
  45111. #, no-wrap
  45112. msgid "@code{port} (default: @code{1814})"
  45113. msgstr ""
  45114. #. type: table
  45115. #: guix-git/doc/guix.texi:30178
  45116. msgid "The UDP port on which to listen for network requests."
  45117. msgstr ""
  45118. #. type: table
  45119. #: guix-git/doc/guix.texi:30181
  45120. msgid "Network address that the daemon will bind to."
  45121. msgstr ""
  45122. #. type: table
  45123. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30213
  45124. #: guix-git/doc/guix.texi:30240 guix-git/doc/guix.texi:30320
  45125. #: guix-git/doc/guix.texi:30347 guix-git/doc/guix.texi:30373
  45126. msgid "When true, the daemon performs additional logging for debugging purposes."
  45127. msgstr ""
  45128. #. type: defvr
  45129. #: guix-git/doc/guix.texi:30188
  45130. #, no-wrap
  45131. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  45132. msgstr ""
  45133. #. type: defvr
  45134. #: guix-git/doc/guix.texi:30194
  45135. 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."
  45136. msgstr ""
  45137. #. type: defvr
  45138. #: guix-git/doc/guix.texi:30197
  45139. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  45140. msgstr ""
  45141. #. type: deftp
  45142. #: guix-git/doc/guix.texi:30199
  45143. #, no-wrap
  45144. msgid "{Data Type} ganeti-wconfd-configuration"
  45145. msgstr ""
  45146. #. type: deftp
  45147. #: guix-git/doc/guix.texi:30201
  45148. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  45149. msgstr ""
  45150. #. type: item
  45151. #: guix-git/doc/guix.texi:30206 guix-git/doc/guix.texi:30233
  45152. #, no-wrap
  45153. msgid "@code{no-voting?} (default: @code{#f})"
  45154. msgstr ""
  45155. #. type: table
  45156. #: guix-git/doc/guix.texi:30210
  45157. 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)."
  45158. msgstr ""
  45159. #. type: defvr
  45160. #: guix-git/doc/guix.texi:30217
  45161. #, no-wrap
  45162. msgid "{Scheme Variable} ganeti-luxid-service-type"
  45163. msgstr ""
  45164. #. type: defvr
  45165. #: guix-git/doc/guix.texi:30222
  45166. 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."
  45167. msgstr ""
  45168. #. type: defvr
  45169. #: guix-git/doc/guix.texi:30224
  45170. msgid "It takes a @code{ganeti-luxid-configuration} object."
  45171. msgstr ""
  45172. #. type: deftp
  45173. #: guix-git/doc/guix.texi:30226
  45174. #, no-wrap
  45175. msgid "{Data Type} ganeti-luxid-configuration"
  45176. msgstr ""
  45177. #. type: deftp
  45178. #: guix-git/doc/guix.texi:30228
  45179. msgid "This is the configuration for the @code{ganeti-luxid} service."
  45180. msgstr ""
  45181. #. type: table
  45182. #: guix-git/doc/guix.texi:30237
  45183. 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)."
  45184. msgstr ""
  45185. #. type: defvr
  45186. #: guix-git/doc/guix.texi:30244
  45187. #, no-wrap
  45188. msgid "{Scheme Variable} ganeti-rapi-service-type"
  45189. msgstr ""
  45190. #. type: defvr
  45191. #: guix-git/doc/guix.texi:30248
  45192. 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."
  45193. msgstr ""
  45194. #. type: defvr
  45195. #: guix-git/doc/guix.texi:30254
  45196. 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."
  45197. msgstr ""
  45198. #. type: defvr
  45199. #: guix-git/doc/guix.texi:30256
  45200. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  45201. msgstr ""
  45202. #. type: deftp
  45203. #: guix-git/doc/guix.texi:30258
  45204. #, no-wrap
  45205. msgid "{Data Type} ganeti-rapi-configuration"
  45206. msgstr ""
  45207. #. type: deftp
  45208. #: guix-git/doc/guix.texi:30260
  45209. msgid "This is the configuration for the @code{ganeti-rapi} service."
  45210. msgstr ""
  45211. #. type: item
  45212. #: guix-git/doc/guix.texi:30265
  45213. #, no-wrap
  45214. msgid "@code{require-authentication?} (default: @code{#f})"
  45215. msgstr ""
  45216. #. type: table
  45217. #: guix-git/doc/guix.texi:30267
  45218. msgid "Whether to require authentication even for read-only operations."
  45219. msgstr ""
  45220. #. type: item
  45221. #: guix-git/doc/guix.texi:30268
  45222. #, no-wrap
  45223. msgid "@code{port} (default: @code{5080})"
  45224. msgstr ""
  45225. #. type: table
  45226. #: guix-git/doc/guix.texi:30270
  45227. msgid "The TCP port on which to listen to API requests."
  45228. msgstr ""
  45229. #. type: table
  45230. #: guix-git/doc/guix.texi:30274
  45231. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  45232. msgstr ""
  45233. #. type: table
  45234. #: guix-git/doc/guix.texi:30278
  45235. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  45236. msgstr ""
  45237. #. type: table
  45238. #: guix-git/doc/guix.texi:30283
  45239. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  45240. msgstr ""
  45241. #. type: table
  45242. #: guix-git/doc/guix.texi:30286
  45243. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  45244. msgstr ""
  45245. #. type: defvr
  45246. #: guix-git/doc/guix.texi:30300
  45247. #, no-wrap
  45248. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  45249. msgstr ""
  45250. #. type: defvr
  45251. #: guix-git/doc/guix.texi:30308
  45252. 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."
  45253. msgstr ""
  45254. #. type: defvr
  45255. #: guix-git/doc/guix.texi:30310
  45256. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  45257. msgstr ""
  45258. #. type: deftp
  45259. #: guix-git/doc/guix.texi:30312
  45260. #, no-wrap
  45261. msgid "{Data Type} ganeti-kvmd-configuration"
  45262. msgstr ""
  45263. #. type: defvr
  45264. #: guix-git/doc/guix.texi:30324
  45265. #, no-wrap
  45266. msgid "{Scheme Variable} ganeti-mond-service-type"
  45267. msgstr ""
  45268. #. type: defvr
  45269. #: guix-git/doc/guix.texi:30328
  45270. 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."
  45271. msgstr ""
  45272. #. type: defvr
  45273. #: guix-git/doc/guix.texi:30330
  45274. msgid "It takes a @code{ganeti-mond-configuration} object."
  45275. msgstr ""
  45276. #. type: deftp
  45277. #: guix-git/doc/guix.texi:30332
  45278. #, no-wrap
  45279. msgid "{Data Type} ganeti-mond-configuration"
  45280. msgstr ""
  45281. #. type: item
  45282. #: guix-git/doc/guix.texi:30338
  45283. #, no-wrap
  45284. msgid "@code{port} (default: @code{1815})"
  45285. msgstr ""
  45286. #. type: table
  45287. #: guix-git/doc/guix.texi:30340 guix-git/doc/guix.texi:30366
  45288. msgid "The port on which the daemon will listen."
  45289. msgstr ""
  45290. #. type: table
  45291. #: guix-git/doc/guix.texi:30344
  45292. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  45293. msgstr ""
  45294. #. type: defvr
  45295. #: guix-git/doc/guix.texi:30351
  45296. #, no-wrap
  45297. msgid "{Scheme Variable} ganeti-metad-service-type"
  45298. msgstr ""
  45299. #. type: defvr
  45300. #: guix-git/doc/guix.texi:30354
  45301. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  45302. msgstr ""
  45303. #. type: defvr
  45304. #: guix-git/doc/guix.texi:30356
  45305. msgid "It takes a @code{ganeti-metad-configuration} object."
  45306. msgstr ""
  45307. #. type: deftp
  45308. #: guix-git/doc/guix.texi:30358
  45309. #, no-wrap
  45310. msgid "{Data Type} ganeti-metad-configuration"
  45311. msgstr ""
  45312. #. type: item
  45313. #: guix-git/doc/guix.texi:30367
  45314. #, no-wrap
  45315. msgid "@code{address} (default: @code{#f})"
  45316. msgstr ""
  45317. #. type: table
  45318. #: guix-git/doc/guix.texi:30370
  45319. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  45320. msgstr ""
  45321. #. type: defvr
  45322. #: guix-git/doc/guix.texi:30377
  45323. #, no-wrap
  45324. msgid "{Scheme Variable} ganeti-watcher-service-type"
  45325. msgstr ""
  45326. #. type: defvr
  45327. #: guix-git/doc/guix.texi:30385
  45328. 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."
  45329. msgstr ""
  45330. #. type: defvr
  45331. #: guix-git/doc/guix.texi:30387
  45332. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  45333. msgstr ""
  45334. #. type: defvr
  45335. #: guix-git/doc/guix.texi:30389
  45336. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  45337. msgstr ""
  45338. #. type: deftp
  45339. #: guix-git/doc/guix.texi:30391
  45340. #, no-wrap
  45341. msgid "{Data Type} ganeti-watcher-configuration"
  45342. msgstr ""
  45343. #. type: item
  45344. #: guix-git/doc/guix.texi:30397
  45345. #, no-wrap
  45346. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  45347. msgstr ""
  45348. #. type: table
  45349. #: guix-git/doc/guix.texi:30399
  45350. msgid "How often to run the script. The default is every five minutes."
  45351. msgstr ""
  45352. #. type: item
  45353. #: guix-git/doc/guix.texi:30400
  45354. #, no-wrap
  45355. msgid "@code{rapi-ip} (default: @code{#f})"
  45356. msgstr ""
  45357. #. type: table
  45358. #: guix-git/doc/guix.texi:30403
  45359. 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."
  45360. msgstr ""
  45361. #. type: item
  45362. #: guix-git/doc/guix.texi:30404
  45363. #, no-wrap
  45364. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  45365. msgstr ""
  45366. #. type: table
  45367. #: guix-git/doc/guix.texi:30407
  45368. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  45369. msgstr ""
  45370. #. type: item
  45371. #: guix-git/doc/guix.texi:30408
  45372. #, no-wrap
  45373. msgid "@code{verify-disks?} (default: @code{#t})"
  45374. msgstr ""
  45375. #. type: table
  45376. #: guix-git/doc/guix.texi:30412
  45377. 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."
  45378. msgstr ""
  45379. #. type: table
  45380. #: guix-git/doc/guix.texi:30415
  45381. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  45382. msgstr ""
  45383. #. type: defvr
  45384. #: guix-git/doc/guix.texi:30419
  45385. #, no-wrap
  45386. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  45387. msgstr ""
  45388. #. type: defvr
  45389. #: guix-git/doc/guix.texi:30427
  45390. 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."
  45391. msgstr ""
  45392. #. type: defvr
  45393. #: guix-git/doc/guix.texi:30429
  45394. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  45395. msgstr ""
  45396. #. type: deftp
  45397. #: guix-git/doc/guix.texi:30431
  45398. #, no-wrap
  45399. msgid "{Data Type} ganeti-cleaner-configuration"
  45400. msgstr ""
  45401. #. type: table
  45402. #: guix-git/doc/guix.texi:30436
  45403. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  45404. msgstr ""
  45405. #. type: item
  45406. #: guix-git/doc/guix.texi:30437
  45407. #, no-wrap
  45408. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  45409. msgstr ""
  45410. #. type: table
  45411. #: guix-git/doc/guix.texi:30440
  45412. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  45413. msgstr ""
  45414. #. type: item
  45415. #: guix-git/doc/guix.texi:30441
  45416. #, no-wrap
  45417. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  45418. msgstr ""
  45419. #. type: table
  45420. #: guix-git/doc/guix.texi:30444
  45421. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  45422. msgstr ""
  45423. #. type: Plain text
  45424. #: guix-git/doc/guix.texi:30458
  45425. 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}."
  45426. msgstr ""
  45427. #. type: deffn
  45428. #: guix-git/doc/guix.texi:30459
  45429. #, no-wrap
  45430. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  45431. msgstr ""
  45432. #. type: deffn
  45433. #: guix-git/doc/guix.texi:30463
  45434. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  45435. msgstr ""
  45436. #. type: deffn
  45437. #: guix-git/doc/guix.texi:30469
  45438. 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}."
  45439. msgstr ""
  45440. #. type: deftp
  45441. #: guix-git/doc/guix.texi:30472
  45442. #, no-wrap
  45443. msgid "{Data Type} git-daemon-configuration"
  45444. msgstr ""
  45445. #. type: deftp
  45446. #: guix-git/doc/guix.texi:30474
  45447. msgid "Data type representing the configuration for @code{git-daemon-service}."
  45448. msgstr ""
  45449. #. type: item
  45450. #: guix-git/doc/guix.texi:30476
  45451. #, no-wrap
  45452. msgid "@code{package} (default: @code{git})"
  45453. msgstr ""
  45454. #. type: table
  45455. #: guix-git/doc/guix.texi:30478 guix-git/doc/guix.texi:30538
  45456. msgid "Package object of the Git distributed version control system."
  45457. msgstr ""
  45458. #. type: item
  45459. #: guix-git/doc/guix.texi:30479 guix-git/doc/guix.texi:30542
  45460. #, no-wrap
  45461. msgid "@code{export-all?} (default: @code{#f})"
  45462. msgstr ""
  45463. #. type: table
  45464. #: guix-git/doc/guix.texi:30482
  45465. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  45466. msgstr ""
  45467. #. type: item
  45468. #: guix-git/doc/guix.texi:30483
  45469. #, no-wrap
  45470. msgid "@code{base-path} (default: @file{/srv/git})"
  45471. msgstr ""
  45472. #. type: table
  45473. #: guix-git/doc/guix.texi:30489
  45474. 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}."
  45475. msgstr ""
  45476. #. type: item
  45477. #: guix-git/doc/guix.texi:30490
  45478. #, no-wrap
  45479. msgid "@code{user-path} (default: @code{#f})"
  45480. msgstr ""
  45481. #. type: table
  45482. #: guix-git/doc/guix.texi:30498
  45483. 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}."
  45484. msgstr ""
  45485. #. type: item
  45486. #: guix-git/doc/guix.texi:30499
  45487. #, no-wrap
  45488. msgid "@code{listen} (default: @code{'()})"
  45489. msgstr ""
  45490. #. type: table
  45491. #: guix-git/doc/guix.texi:30502
  45492. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  45493. msgstr ""
  45494. #. type: item
  45495. #: guix-git/doc/guix.texi:30503
  45496. #, no-wrap
  45497. msgid "@code{port} (default: @code{#f})"
  45498. msgstr ""
  45499. #. type: table
  45500. #: guix-git/doc/guix.texi:30505
  45501. msgid "Whether to listen on an alternative port, which defaults to 9418."
  45502. msgstr ""
  45503. #. type: item
  45504. #: guix-git/doc/guix.texi:30506
  45505. #, no-wrap
  45506. msgid "@code{whitelist} (default: @code{'()})"
  45507. msgstr ""
  45508. #. type: table
  45509. #: guix-git/doc/guix.texi:30508
  45510. msgid "If not empty, only allow access to this list of directories."
  45511. msgstr ""
  45512. #. type: table
  45513. #: guix-git/doc/guix.texi:30512
  45514. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  45515. msgstr ""
  45516. #. type: Plain text
  45517. #: guix-git/doc/guix.texi:30526
  45518. 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."
  45519. msgstr ""
  45520. #. type: Plain text
  45521. #: guix-git/doc/guix.texi:30529
  45522. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  45523. msgstr ""
  45524. #. type: deftp
  45525. #: guix-git/doc/guix.texi:30530
  45526. #, no-wrap
  45527. msgid "{Data Type} git-http-configuration"
  45528. msgstr ""
  45529. #. type: deftp
  45530. #: guix-git/doc/guix.texi:30534
  45531. 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}."
  45532. msgstr ""
  45533. #. type: item
  45534. #: guix-git/doc/guix.texi:30536
  45535. #, no-wrap
  45536. msgid "@code{package} (default: @var{git})"
  45537. msgstr ""
  45538. #. type: item
  45539. #: guix-git/doc/guix.texi:30539
  45540. #, no-wrap
  45541. msgid "@code{git-root} (default: @file{/srv/git})"
  45542. msgstr ""
  45543. #. type: table
  45544. #: guix-git/doc/guix.texi:30541
  45545. msgid "Directory containing the Git repositories to expose to the world."
  45546. msgstr ""
  45547. #. type: table
  45548. #: guix-git/doc/guix.texi:30545
  45549. 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."
  45550. msgstr ""
  45551. #. type: item
  45552. #: guix-git/doc/guix.texi:30546
  45553. #, no-wrap
  45554. msgid "@code{uri-path} (default: @samp{/git/})"
  45555. msgstr ""
  45556. #. type: table
  45557. #: guix-git/doc/guix.texi:30551
  45558. 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."
  45559. msgstr ""
  45560. #. type: item
  45561. #: guix-git/doc/guix.texi:30552
  45562. #, no-wrap
  45563. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  45564. msgstr ""
  45565. #. type: table
  45566. #: guix-git/doc/guix.texi:30555
  45567. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  45568. msgstr ""
  45569. #. type: Plain text
  45570. #: guix-git/doc/guix.texi:30562
  45571. 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."
  45572. msgstr ""
  45573. #. type: deffn
  45574. #: guix-git/doc/guix.texi:30563
  45575. #, no-wrap
  45576. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  45577. msgstr ""
  45578. #. type: deffn
  45579. #: guix-git/doc/guix.texi:30568
  45580. 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:"
  45581. msgstr ""
  45582. #. type: lisp
  45583. #: guix-git/doc/guix.texi:30585
  45584. #, no-wrap
  45585. msgid ""
  45586. "(service nginx-service-type\n"
  45587. " (nginx-configuration\n"
  45588. " (server-blocks\n"
  45589. " (list\n"
  45590. " (nginx-server-configuration\n"
  45591. " (listen '(\"443 ssl\"))\n"
  45592. " (server-name \"git.my-host.org\")\n"
  45593. " (ssl-certificate\n"
  45594. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  45595. " (ssl-certificate-key\n"
  45596. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  45597. " (locations\n"
  45598. " (list\n"
  45599. " (git-http-nginx-location-configuration\n"
  45600. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  45601. msgstr ""
  45602. #. type: deffn
  45603. #: guix-git/doc/guix.texi:30592
  45604. 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}."
  45605. msgstr ""
  45606. #. type: subsubheading
  45607. #: guix-git/doc/guix.texi:30594
  45608. #, no-wrap
  45609. msgid "Cgit Service"
  45610. msgstr ""
  45611. #. type: cindex
  45612. #: guix-git/doc/guix.texi:30596
  45613. #, no-wrap
  45614. msgid "Cgit service"
  45615. msgstr ""
  45616. #. type: cindex
  45617. #: guix-git/doc/guix.texi:30597
  45618. #, no-wrap
  45619. msgid "Git, web interface"
  45620. msgstr ""
  45621. #. type: Plain text
  45622. #: guix-git/doc/guix.texi:30600
  45623. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  45624. msgstr ""
  45625. #. type: Plain text
  45626. #: guix-git/doc/guix.texi:30603
  45627. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  45628. msgstr ""
  45629. #. type: lisp
  45630. #: guix-git/doc/guix.texi:30606
  45631. #, no-wrap
  45632. msgid "(service cgit-service-type)\n"
  45633. msgstr ""
  45634. #. type: Plain text
  45635. #: guix-git/doc/guix.texi:30610
  45636. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  45637. msgstr ""
  45638. #. type: Plain text
  45639. #: guix-git/doc/guix.texi:30614
  45640. msgid "Available @code{cgit-configuration} fields are:"
  45641. msgstr ""
  45642. #. type: deftypevr
  45643. #: guix-git/doc/guix.texi:30615
  45644. #, no-wrap
  45645. msgid "{@code{cgit-configuration} parameter} package package"
  45646. msgstr ""
  45647. #. type: deftypevr
  45648. #: guix-git/doc/guix.texi:30617
  45649. msgid "The CGIT package."
  45650. msgstr ""
  45651. #. type: deftypevr
  45652. #: guix-git/doc/guix.texi:30620
  45653. #, no-wrap
  45654. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  45655. msgstr ""
  45656. #. type: deftypevr
  45657. #: guix-git/doc/guix.texi:30625
  45658. #, no-wrap
  45659. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  45660. msgstr ""
  45661. #. type: deftypevr
  45662. #: guix-git/doc/guix.texi:30628
  45663. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  45664. msgstr ""
  45665. #. type: deftypevr
  45666. #: guix-git/doc/guix.texi:30633
  45667. #, no-wrap
  45668. msgid "{@code{cgit-configuration} parameter} string agefile"
  45669. msgstr ""
  45670. #. type: deftypevr
  45671. #: guix-git/doc/guix.texi:30636
  45672. 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."
  45673. msgstr ""
  45674. #. type: deftypevr
  45675. #: guix-git/doc/guix.texi:30641
  45676. #, no-wrap
  45677. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  45678. msgstr ""
  45679. #. type: deftypevr
  45680. #: guix-git/doc/guix.texi:30644
  45681. msgid "Specifies a command that will be invoked for authenticating repository access."
  45682. msgstr ""
  45683. #. type: deftypevr
  45684. #: guix-git/doc/guix.texi:30649
  45685. #, no-wrap
  45686. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  45687. msgstr ""
  45688. #. type: deftypevr
  45689. #: guix-git/doc/guix.texi:30652
  45690. 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."
  45691. msgstr ""
  45692. #. type: deftypevr
  45693. #: guix-git/doc/guix.texi:30654
  45694. msgid "Defaults to @samp{\"name\"}."
  45695. msgstr ""
  45696. #. type: deftypevr
  45697. #: guix-git/doc/guix.texi:30657
  45698. #, no-wrap
  45699. msgid "{@code{cgit-configuration} parameter} string cache-root"
  45700. msgstr ""
  45701. #. type: deftypevr
  45702. #: guix-git/doc/guix.texi:30659
  45703. msgid "Path used to store the cgit cache entries."
  45704. msgstr ""
  45705. #. type: deftypevr
  45706. #: guix-git/doc/guix.texi:30661
  45707. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  45708. msgstr ""
  45709. #. type: deftypevr
  45710. #: guix-git/doc/guix.texi:30664
  45711. #, no-wrap
  45712. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  45713. msgstr ""
  45714. #. type: deftypevr
  45715. #: guix-git/doc/guix.texi:30667
  45716. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  45717. msgstr ""
  45718. #. type: deftypevr
  45719. #: guix-git/doc/guix.texi:30669 guix-git/doc/guix.texi:31112
  45720. msgid "Defaults to @samp{-1}."
  45721. msgstr ""
  45722. #. type: deftypevr
  45723. #: guix-git/doc/guix.texi:30672
  45724. #, no-wrap
  45725. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  45726. msgstr ""
  45727. #. type: deftypevr
  45728. #: guix-git/doc/guix.texi:30675
  45729. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  45730. msgstr ""
  45731. #. type: deftypevr
  45732. #: guix-git/doc/guix.texi:30680
  45733. #, no-wrap
  45734. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  45735. msgstr ""
  45736. #. type: deftypevr
  45737. #: guix-git/doc/guix.texi:30683
  45738. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  45739. msgstr ""
  45740. #. type: deftypevr
  45741. #: guix-git/doc/guix.texi:30688
  45742. #, no-wrap
  45743. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  45744. msgstr ""
  45745. #. type: deftypevr
  45746. #: guix-git/doc/guix.texi:30691
  45747. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  45748. msgstr ""
  45749. #. type: deftypevr
  45750. #: guix-git/doc/guix.texi:30696
  45751. #, no-wrap
  45752. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  45753. msgstr ""
  45754. #. type: deftypevr
  45755. #: guix-git/doc/guix.texi:30699
  45756. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  45757. msgstr ""
  45758. #. type: deftypevr
  45759. #: guix-git/doc/guix.texi:30704
  45760. #, no-wrap
  45761. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  45762. msgstr ""
  45763. #. type: deftypevr
  45764. #: guix-git/doc/guix.texi:30707
  45765. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  45766. msgstr ""
  45767. #. type: deftypevr
  45768. #: guix-git/doc/guix.texi:30712
  45769. #, no-wrap
  45770. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  45771. msgstr ""
  45772. #. type: deftypevr
  45773. #: guix-git/doc/guix.texi:30715
  45774. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  45775. msgstr ""
  45776. #. type: deftypevr
  45777. #: guix-git/doc/guix.texi:30720
  45778. #, no-wrap
  45779. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  45780. msgstr ""
  45781. #. type: deftypevr
  45782. #: guix-git/doc/guix.texi:30723
  45783. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  45784. msgstr ""
  45785. #. type: deftypevr
  45786. #: guix-git/doc/guix.texi:30728
  45787. #, no-wrap
  45788. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  45789. msgstr ""
  45790. #. type: deftypevr
  45791. #: guix-git/doc/guix.texi:30730
  45792. msgid "Sort items in the repo list case sensitively."
  45793. msgstr ""
  45794. #. type: deftypevr
  45795. #: guix-git/doc/guix.texi:30735
  45796. #, no-wrap
  45797. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  45798. msgstr ""
  45799. #. type: deftypevr
  45800. #: guix-git/doc/guix.texi:30738
  45801. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  45802. msgstr ""
  45803. #. type: deftypevr
  45804. #: guix-git/doc/guix.texi:30743
  45805. #, no-wrap
  45806. msgid "{@code{cgit-configuration} parameter} list clone-url"
  45807. msgstr ""
  45808. #. type: deftypevr
  45809. #: guix-git/doc/guix.texi:30745
  45810. msgid "List of @code{clone-url} templates."
  45811. msgstr ""
  45812. #. type: deftypevr
  45813. #: guix-git/doc/guix.texi:30750
  45814. #, no-wrap
  45815. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  45816. msgstr ""
  45817. #. type: deftypevr
  45818. #: guix-git/doc/guix.texi:30752
  45819. msgid "Command which will be invoked to format commit messages."
  45820. msgstr ""
  45821. #. type: deftypevr
  45822. #: guix-git/doc/guix.texi:30757
  45823. #, no-wrap
  45824. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  45825. msgstr ""
  45826. #. type: deftypevr
  45827. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:31319
  45828. 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."
  45829. msgstr ""
  45830. #. type: deftypevr
  45831. #: guix-git/doc/guix.texi:30763
  45832. msgid "Defaults to @samp{\"git log\"}."
  45833. msgstr ""
  45834. #. type: deftypevr
  45835. #: guix-git/doc/guix.texi:30766
  45836. #, no-wrap
  45837. msgid "{@code{cgit-configuration} parameter} file-object css"
  45838. msgstr ""
  45839. #. type: deftypevr
  45840. #: guix-git/doc/guix.texi:30768
  45841. msgid "URL which specifies the css document to include in all cgit pages."
  45842. msgstr ""
  45843. #. type: deftypevr
  45844. #: guix-git/doc/guix.texi:30770
  45845. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  45846. msgstr ""
  45847. #. type: deftypevr
  45848. #: guix-git/doc/guix.texi:30773
  45849. #, no-wrap
  45850. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  45851. msgstr ""
  45852. #. type: deftypevr
  45853. #: guix-git/doc/guix.texi:30777
  45854. 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."
  45855. msgstr ""
  45856. #. type: deftypevr
  45857. #: guix-git/doc/guix.texi:30782
  45858. #, no-wrap
  45859. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  45860. msgstr ""
  45861. #. type: deftypevr
  45862. #: guix-git/doc/guix.texi:30785
  45863. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  45864. msgstr ""
  45865. #. type: deftypevr
  45866. #: guix-git/doc/guix.texi:30790
  45867. #, no-wrap
  45868. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  45869. msgstr ""
  45870. #. type: deftypevr
  45871. #: guix-git/doc/guix.texi:30794
  45872. 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."
  45873. msgstr ""
  45874. #. type: deftypevr
  45875. #: guix-git/doc/guix.texi:30799
  45876. #, no-wrap
  45877. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  45878. msgstr ""
  45879. #. type: deftypevr
  45880. #: guix-git/doc/guix.texi:30802
  45881. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  45882. msgstr ""
  45883. #. type: deftypevr
  45884. #: guix-git/doc/guix.texi:30807
  45885. #, no-wrap
  45886. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  45887. msgstr ""
  45888. #. type: deftypevr
  45889. #: guix-git/doc/guix.texi:30810
  45890. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  45891. msgstr ""
  45892. #. type: deftypevr
  45893. #: guix-git/doc/guix.texi:30815
  45894. #, no-wrap
  45895. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  45896. msgstr ""
  45897. #. type: deftypevr
  45898. #: guix-git/doc/guix.texi:30818
  45899. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  45900. msgstr ""
  45901. #. type: deftypevr
  45902. #: guix-git/doc/guix.texi:30823
  45903. #, no-wrap
  45904. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  45905. msgstr ""
  45906. #. type: deftypevr
  45907. #: guix-git/doc/guix.texi:30826
  45908. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  45909. msgstr ""
  45910. #. type: deftypevr
  45911. #: guix-git/doc/guix.texi:30831
  45912. #, no-wrap
  45913. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  45914. msgstr ""
  45915. #. type: deftypevr
  45916. #: guix-git/doc/guix.texi:30834
  45917. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  45918. msgstr ""
  45919. #. type: deftypevr
  45920. #: guix-git/doc/guix.texi:30839
  45921. #, no-wrap
  45922. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  45923. msgstr ""
  45924. #. type: deftypevr
  45925. #: guix-git/doc/guix.texi:30842
  45926. 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."
  45927. msgstr ""
  45928. #. type: deftypevr
  45929. #: guix-git/doc/guix.texi:30847
  45930. #, no-wrap
  45931. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  45932. msgstr ""
  45933. #. type: deftypevr
  45934. #: guix-git/doc/guix.texi:30850
  45935. 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."
  45936. msgstr ""
  45937. #. type: deftypevr
  45938. #: guix-git/doc/guix.texi:30855
  45939. #, no-wrap
  45940. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  45941. msgstr ""
  45942. #. type: deftypevr
  45943. #: guix-git/doc/guix.texi:30858 guix-git/doc/guix.texi:31382
  45944. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  45945. msgstr ""
  45946. #. type: deftypevr
  45947. #: guix-git/doc/guix.texi:30863
  45948. #, no-wrap
  45949. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  45950. msgstr ""
  45951. #. type: deftypevr
  45952. #: guix-git/doc/guix.texi:30867
  45953. 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."
  45954. msgstr ""
  45955. #. type: deftypevr
  45956. #: guix-git/doc/guix.texi:30872
  45957. #, no-wrap
  45958. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  45959. msgstr ""
  45960. #. type: deftypevr
  45961. #: guix-git/doc/guix.texi:30876
  45962. 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."
  45963. msgstr ""
  45964. #. type: deftypevr
  45965. #: guix-git/doc/guix.texi:30881
  45966. #, no-wrap
  45967. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  45968. msgstr ""
  45969. #. type: deftypevr
  45970. #: guix-git/doc/guix.texi:30884
  45971. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  45972. msgstr ""
  45973. #. type: deftypevr
  45974. #: guix-git/doc/guix.texi:30889
  45975. #, no-wrap
  45976. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  45977. msgstr ""
  45978. #. type: deftypevr
  45979. #: guix-git/doc/guix.texi:30892
  45980. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  45981. msgstr ""
  45982. #. type: deftypevr
  45983. #: guix-git/doc/guix.texi:30897
  45984. #, no-wrap
  45985. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  45986. msgstr ""
  45987. #. type: deftypevr
  45988. #: guix-git/doc/guix.texi:30899
  45989. msgid "URL used as link to a shortcut icon for cgit."
  45990. msgstr ""
  45991. #. type: deftypevr
  45992. #: guix-git/doc/guix.texi:30901
  45993. msgid "Defaults to @samp{\"/favicon.ico\"}."
  45994. msgstr ""
  45995. #. type: deftypevr
  45996. #: guix-git/doc/guix.texi:30904
  45997. #, no-wrap
  45998. msgid "{@code{cgit-configuration} parameter} string footer"
  45999. msgstr ""
  46000. #. type: deftypevr
  46001. #: guix-git/doc/guix.texi:30908
  46002. 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)."
  46003. msgstr ""
  46004. #. type: deftypevr
  46005. #: guix-git/doc/guix.texi:30913
  46006. #, no-wrap
  46007. msgid "{@code{cgit-configuration} parameter} string head-include"
  46008. msgstr ""
  46009. #. type: deftypevr
  46010. #: guix-git/doc/guix.texi:30916
  46011. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  46012. msgstr ""
  46013. #. type: deftypevr
  46014. #: guix-git/doc/guix.texi:30921
  46015. #, no-wrap
  46016. msgid "{@code{cgit-configuration} parameter} string header"
  46017. msgstr ""
  46018. #. type: deftypevr
  46019. #: guix-git/doc/guix.texi:30924
  46020. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  46021. msgstr ""
  46022. #. type: deftypevr
  46023. #: guix-git/doc/guix.texi:30929
  46024. #, no-wrap
  46025. msgid "{@code{cgit-configuration} parameter} file-object include"
  46026. msgstr ""
  46027. #. type: deftypevr
  46028. #: guix-git/doc/guix.texi:30932
  46029. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  46030. msgstr ""
  46031. #. type: deftypevr
  46032. #: guix-git/doc/guix.texi:30937
  46033. #, no-wrap
  46034. msgid "{@code{cgit-configuration} parameter} string index-header"
  46035. msgstr ""
  46036. #. type: deftypevr
  46037. #: guix-git/doc/guix.texi:30940
  46038. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  46039. msgstr ""
  46040. #. type: deftypevr
  46041. #: guix-git/doc/guix.texi:30945
  46042. #, no-wrap
  46043. msgid "{@code{cgit-configuration} parameter} string index-info"
  46044. msgstr ""
  46045. #. type: deftypevr
  46046. #: guix-git/doc/guix.texi:30948
  46047. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  46048. msgstr ""
  46049. #. type: deftypevr
  46050. #: guix-git/doc/guix.texi:30953
  46051. #, no-wrap
  46052. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  46053. msgstr ""
  46054. #. type: deftypevr
  46055. #: guix-git/doc/guix.texi:30956
  46056. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  46057. msgstr ""
  46058. #. type: deftypevr
  46059. #: guix-git/doc/guix.texi:30961
  46060. #, no-wrap
  46061. msgid "{@code{cgit-configuration} parameter} file-object logo"
  46062. msgstr ""
  46063. #. type: deftypevr
  46064. #: guix-git/doc/guix.texi:30964
  46065. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  46066. msgstr ""
  46067. #. type: deftypevr
  46068. #: guix-git/doc/guix.texi:30966
  46069. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  46070. msgstr ""
  46071. #. type: deftypevr
  46072. #: guix-git/doc/guix.texi:30969
  46073. #, no-wrap
  46074. msgid "{@code{cgit-configuration} parameter} string logo-link"
  46075. msgstr ""
  46076. #. type: deftypevr
  46077. #: guix-git/doc/guix.texi:30971 guix-git/doc/guix.texi:31428
  46078. msgid "URL loaded when clicking on the cgit logo image."
  46079. msgstr ""
  46080. #. type: deftypevr
  46081. #: guix-git/doc/guix.texi:30976
  46082. #, no-wrap
  46083. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  46084. msgstr ""
  46085. #. type: deftypevr
  46086. #: guix-git/doc/guix.texi:30979
  46087. msgid "Command which will be invoked to format the Owner column of the main page."
  46088. msgstr ""
  46089. #. type: deftypevr
  46090. #: guix-git/doc/guix.texi:30984
  46091. #, no-wrap
  46092. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  46093. msgstr ""
  46094. #. type: deftypevr
  46095. #: guix-git/doc/guix.texi:30986
  46096. msgid "Number of items to display in atom feeds view."
  46097. msgstr ""
  46098. #. type: deftypevr
  46099. #: guix-git/doc/guix.texi:30991
  46100. #, no-wrap
  46101. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  46102. msgstr ""
  46103. #. type: deftypevr
  46104. #: guix-git/doc/guix.texi:30993
  46105. msgid "Number of entries to list per page in \"log\" view."
  46106. msgstr ""
  46107. #. type: deftypevr
  46108. #: guix-git/doc/guix.texi:30998
  46109. #, no-wrap
  46110. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  46111. msgstr ""
  46112. #. type: deftypevr
  46113. #: guix-git/doc/guix.texi:31000
  46114. msgid "Number of commit message characters to display in \"log\" view."
  46115. msgstr ""
  46116. #. type: deftypevr
  46117. #: guix-git/doc/guix.texi:31002 guix-git/doc/guix.texi:31018
  46118. msgid "Defaults to @samp{80}."
  46119. msgstr ""
  46120. #. type: deftypevr
  46121. #: guix-git/doc/guix.texi:31005
  46122. #, no-wrap
  46123. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  46124. msgstr ""
  46125. #. type: deftypevr
  46126. #: guix-git/doc/guix.texi:31008
  46127. msgid "Specifies the number of entries to list per page on the repository index page."
  46128. msgstr ""
  46129. #. type: deftypevr
  46130. #: guix-git/doc/guix.texi:31013
  46131. #, no-wrap
  46132. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  46133. msgstr ""
  46134. #. type: deftypevr
  46135. #: guix-git/doc/guix.texi:31016
  46136. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  46137. msgstr ""
  46138. #. type: deftypevr
  46139. #: guix-git/doc/guix.texi:31021
  46140. #, no-wrap
  46141. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  46142. msgstr ""
  46143. #. type: deftypevr
  46144. #: guix-git/doc/guix.texi:31023
  46145. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  46146. msgstr ""
  46147. #. type: deftypevr
  46148. #: guix-git/doc/guix.texi:31028
  46149. #, no-wrap
  46150. msgid "{@code{cgit-configuration} parameter} string max-stats"
  46151. msgstr ""
  46152. #. type: deftypevr
  46153. #: guix-git/doc/guix.texi:31031
  46154. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  46155. msgstr ""
  46156. #. type: deftypevr
  46157. #: guix-git/doc/guix.texi:31036
  46158. #, no-wrap
  46159. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  46160. msgstr ""
  46161. #. type: deftypevr
  46162. #: guix-git/doc/guix.texi:31038
  46163. msgid "Mimetype for the specified filename extension."
  46164. msgstr ""
  46165. #. type: deftypevr
  46166. #: guix-git/doc/guix.texi:31042
  46167. 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\"))}."
  46168. msgstr ""
  46169. #. type: deftypevr
  46170. #: guix-git/doc/guix.texi:31045
  46171. #, no-wrap
  46172. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  46173. msgstr ""
  46174. #. type: deftypevr
  46175. #: guix-git/doc/guix.texi:31047
  46176. msgid "Specifies the file to use for automatic mimetype lookup."
  46177. msgstr ""
  46178. #. type: deftypevr
  46179. #: guix-git/doc/guix.texi:31052
  46180. #, no-wrap
  46181. msgid "{@code{cgit-configuration} parameter} string module-link"
  46182. msgstr ""
  46183. #. type: deftypevr
  46184. #: guix-git/doc/guix.texi:31055
  46185. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  46186. msgstr ""
  46187. #. type: deftypevr
  46188. #: guix-git/doc/guix.texi:31060
  46189. #, no-wrap
  46190. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  46191. msgstr ""
  46192. #. type: deftypevr
  46193. #: guix-git/doc/guix.texi:31062
  46194. msgid "If set to the value @samp{#t} caching will be disabled."
  46195. msgstr ""
  46196. #. type: deftypevr
  46197. #: guix-git/doc/guix.texi:31067
  46198. #, no-wrap
  46199. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  46200. msgstr ""
  46201. #. type: deftypevr
  46202. #: guix-git/doc/guix.texi:31070
  46203. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  46204. msgstr ""
  46205. #. type: deftypevr
  46206. #: guix-git/doc/guix.texi:31075
  46207. #, no-wrap
  46208. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  46209. msgstr ""
  46210. #. type: deftypevr
  46211. #: guix-git/doc/guix.texi:31078
  46212. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  46213. msgstr ""
  46214. #. type: deftypevr
  46215. #: guix-git/doc/guix.texi:31083
  46216. #, no-wrap
  46217. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  46218. msgstr ""
  46219. #. type: deftypevr
  46220. #: guix-git/doc/guix.texi:31087
  46221. 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."
  46222. msgstr ""
  46223. #. type: deftypevr
  46224. #: guix-git/doc/guix.texi:31092
  46225. #, no-wrap
  46226. msgid "{@code{cgit-configuration} parameter} file-object readme"
  46227. msgstr ""
  46228. #. type: deftypevr
  46229. #: guix-git/doc/guix.texi:31094
  46230. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  46231. msgstr ""
  46232. #. type: deftypevr
  46233. #: guix-git/doc/guix.texi:31099
  46234. #, no-wrap
  46235. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  46236. msgstr ""
  46237. #. type: deftypevr
  46238. #: guix-git/doc/guix.texi:31103
  46239. 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."
  46240. msgstr ""
  46241. #. type: deftypevr
  46242. #: guix-git/doc/guix.texi:31108
  46243. #, no-wrap
  46244. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  46245. msgstr ""
  46246. #. type: deftypevr
  46247. #: guix-git/doc/guix.texi:31110
  46248. msgid "Maximum number of files to consider when detecting renames."
  46249. msgstr ""
  46250. #. type: deftypevr
  46251. #: guix-git/doc/guix.texi:31115
  46252. #, no-wrap
  46253. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  46254. msgstr ""
  46255. #. type: deftypevr
  46256. #: guix-git/doc/guix.texi:31117
  46257. msgid "The way in which repositories in each section are sorted."
  46258. msgstr ""
  46259. #. type: deftypevr
  46260. #: guix-git/doc/guix.texi:31122
  46261. #, no-wrap
  46262. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  46263. msgstr ""
  46264. #. type: deftypevr
  46265. #: guix-git/doc/guix.texi:31124
  46266. msgid "Text used as content for the @code{robots} meta-tag."
  46267. msgstr ""
  46268. #. type: deftypevr
  46269. #: guix-git/doc/guix.texi:31126
  46270. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  46271. msgstr ""
  46272. #. type: deftypevr
  46273. #: guix-git/doc/guix.texi:31129
  46274. #, no-wrap
  46275. msgid "{@code{cgit-configuration} parameter} string root-desc"
  46276. msgstr ""
  46277. #. type: deftypevr
  46278. #: guix-git/doc/guix.texi:31131
  46279. msgid "Text printed below the heading on the repository index page."
  46280. msgstr ""
  46281. #. type: deftypevr
  46282. #: guix-git/doc/guix.texi:31133
  46283. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  46284. msgstr ""
  46285. #. type: deftypevr
  46286. #: guix-git/doc/guix.texi:31136
  46287. #, no-wrap
  46288. msgid "{@code{cgit-configuration} parameter} string root-readme"
  46289. msgstr ""
  46290. #. type: deftypevr
  46291. #: guix-git/doc/guix.texi:31139
  46292. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  46293. msgstr ""
  46294. #. type: deftypevr
  46295. #: guix-git/doc/guix.texi:31144
  46296. #, no-wrap
  46297. msgid "{@code{cgit-configuration} parameter} string root-title"
  46298. msgstr ""
  46299. #. type: deftypevr
  46300. #: guix-git/doc/guix.texi:31146
  46301. msgid "Text printed as heading on the repository index page."
  46302. msgstr ""
  46303. #. type: deftypevr
  46304. #: guix-git/doc/guix.texi:31151
  46305. #, no-wrap
  46306. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  46307. msgstr ""
  46308. #. type: deftypevr
  46309. #: guix-git/doc/guix.texi:31157
  46310. 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."
  46311. msgstr ""
  46312. #. type: deftypevr
  46313. #: guix-git/doc/guix.texi:31162
  46314. #, no-wrap
  46315. msgid "{@code{cgit-configuration} parameter} list snapshots"
  46316. msgstr ""
  46317. #. type: deftypevr
  46318. #: guix-git/doc/guix.texi:31165
  46319. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  46320. msgstr ""
  46321. #. type: deftypevr
  46322. #: guix-git/doc/guix.texi:31170
  46323. #, no-wrap
  46324. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  46325. msgstr ""
  46326. #. type: deftypevr
  46327. #: guix-git/doc/guix.texi:31173
  46328. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  46329. msgstr ""
  46330. #. type: deftypevr
  46331. #: guix-git/doc/guix.texi:31175
  46332. msgid "Defaults to @samp{\"/srv/git\"}."
  46333. msgstr ""
  46334. #. type: deftypevr
  46335. #: guix-git/doc/guix.texi:31178
  46336. #, no-wrap
  46337. msgid "{@code{cgit-configuration} parameter} string section"
  46338. msgstr ""
  46339. #. type: deftypevr
  46340. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31497
  46341. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  46342. msgstr ""
  46343. #. type: deftypevr
  46344. #: guix-git/doc/guix.texi:31186
  46345. #, no-wrap
  46346. msgid "{@code{cgit-configuration} parameter} string section-sort"
  46347. msgstr ""
  46348. #. type: deftypevr
  46349. #: guix-git/doc/guix.texi:31189
  46350. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  46351. msgstr ""
  46352. #. type: deftypevr
  46353. #: guix-git/doc/guix.texi:31194
  46354. #, no-wrap
  46355. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  46356. msgstr ""
  46357. #. type: deftypevr
  46358. #: guix-git/doc/guix.texi:31197
  46359. 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."
  46360. msgstr ""
  46361. #. type: deftypevr
  46362. #: guix-git/doc/guix.texi:31202
  46363. #, no-wrap
  46364. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  46365. msgstr ""
  46366. #. type: deftypevr
  46367. #: guix-git/doc/guix.texi:31205
  46368. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  46369. msgstr ""
  46370. #. type: deftypevr
  46371. #: guix-git/doc/guix.texi:31210
  46372. #, no-wrap
  46373. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  46374. msgstr ""
  46375. #. type: deftypevr
  46376. #: guix-git/doc/guix.texi:31213
  46377. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  46378. msgstr ""
  46379. #. type: deftypevr
  46380. #: guix-git/doc/guix.texi:31218
  46381. #, no-wrap
  46382. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  46383. msgstr ""
  46384. #. type: deftypevr
  46385. #: guix-git/doc/guix.texi:31221
  46386. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  46387. msgstr ""
  46388. #. type: deftypevr
  46389. #: guix-git/doc/guix.texi:31226
  46390. #, no-wrap
  46391. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  46392. msgstr ""
  46393. #. type: deftypevr
  46394. #: guix-git/doc/guix.texi:31229
  46395. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  46396. msgstr ""
  46397. #. type: deftypevr
  46398. #: guix-git/doc/guix.texi:31234
  46399. #, no-wrap
  46400. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  46401. msgstr ""
  46402. #. type: deftypevr
  46403. #: guix-git/doc/guix.texi:31237
  46404. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  46405. msgstr ""
  46406. #. type: deftypevr
  46407. #: guix-git/doc/guix.texi:31242
  46408. #, no-wrap
  46409. msgid "{@code{cgit-configuration} parameter} string strict-export"
  46410. msgstr ""
  46411. #. type: deftypevr
  46412. #: guix-git/doc/guix.texi:31245
  46413. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  46414. msgstr ""
  46415. #. type: deftypevr
  46416. #: guix-git/doc/guix.texi:31250
  46417. #, no-wrap
  46418. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  46419. msgstr ""
  46420. #. type: deftypevr
  46421. #: guix-git/doc/guix.texi:31252
  46422. msgid "URL which, if specified, will be used as root for all cgit links."
  46423. msgstr ""
  46424. #. type: deftypevr
  46425. #: guix-git/doc/guix.texi:31254
  46426. msgid "Defaults to @samp{\"/\"}."
  46427. msgstr ""
  46428. #. type: deftypevr
  46429. #: guix-git/doc/guix.texi:31257
  46430. #, no-wrap
  46431. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  46432. msgstr ""
  46433. #. type: deftypevr
  46434. #: guix-git/doc/guix.texi:31259
  46435. msgid "A list of @dfn{cgit-repo} records to use with config."
  46436. msgstr ""
  46437. #. type: deftypevr
  46438. #: guix-git/doc/guix.texi:31263
  46439. msgid "Available @code{repository-cgit-configuration} fields are:"
  46440. msgstr ""
  46441. #. type: deftypevr
  46442. #: guix-git/doc/guix.texi:31264
  46443. #, no-wrap
  46444. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  46445. msgstr ""
  46446. #. type: deftypevr
  46447. #: guix-git/doc/guix.texi:31267
  46448. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  46449. msgstr ""
  46450. #. type: deftypevr
  46451. #: guix-git/doc/guix.texi:31272
  46452. #, no-wrap
  46453. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  46454. msgstr ""
  46455. #. type: deftypevr
  46456. #: guix-git/doc/guix.texi:31274
  46457. msgid "Override the default @code{source-filter}."
  46458. msgstr ""
  46459. #. type: deftypevr
  46460. #: guix-git/doc/guix.texi:31279
  46461. #, no-wrap
  46462. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  46463. msgstr ""
  46464. #. type: deftypevr
  46465. #: guix-git/doc/guix.texi:31281
  46466. msgid "The relative URL used to access the repository."
  46467. msgstr ""
  46468. #. type: deftypevr
  46469. #: guix-git/doc/guix.texi:31286
  46470. #, no-wrap
  46471. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  46472. msgstr ""
  46473. #. type: deftypevr
  46474. #: guix-git/doc/guix.texi:31288
  46475. msgid "Override the default @code{about-filter}."
  46476. msgstr ""
  46477. #. type: deftypevr
  46478. #: guix-git/doc/guix.texi:31293
  46479. #, no-wrap
  46480. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  46481. msgstr ""
  46482. #. type: deftypevr
  46483. #: guix-git/doc/guix.texi:31296
  46484. 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."
  46485. msgstr ""
  46486. #. type: deftypevr
  46487. #: guix-git/doc/guix.texi:31301
  46488. #, no-wrap
  46489. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  46490. msgstr ""
  46491. #. type: deftypevr
  46492. #: guix-git/doc/guix.texi:31303
  46493. msgid "A list of URLs which can be used to clone repo."
  46494. msgstr ""
  46495. #. type: deftypevr
  46496. #: guix-git/doc/guix.texi:31308
  46497. #, no-wrap
  46498. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  46499. msgstr ""
  46500. #. type: deftypevr
  46501. #: guix-git/doc/guix.texi:31310
  46502. msgid "Override the default @code{commit-filter}."
  46503. msgstr ""
  46504. #. type: deftypevr
  46505. #: guix-git/doc/guix.texi:31315
  46506. #, no-wrap
  46507. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  46508. msgstr ""
  46509. #. type: deftypevr
  46510. #: guix-git/doc/guix.texi:31324
  46511. #, no-wrap
  46512. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  46513. msgstr ""
  46514. #. type: deftypevr
  46515. #: guix-git/doc/guix.texi:31329
  46516. 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."
  46517. msgstr ""
  46518. #. type: deftypevr
  46519. #: guix-git/doc/guix.texi:31334
  46520. #, no-wrap
  46521. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  46522. msgstr ""
  46523. #. type: deftypevr
  46524. #: guix-git/doc/guix.texi:31336
  46525. msgid "The value to show as repository description."
  46526. msgstr ""
  46527. #. type: deftypevr
  46528. #: guix-git/doc/guix.texi:31341
  46529. #, no-wrap
  46530. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  46531. msgstr ""
  46532. #. type: deftypevr
  46533. #: guix-git/doc/guix.texi:31343
  46534. msgid "The value to show as repository homepage."
  46535. msgstr ""
  46536. #. type: deftypevr
  46537. #: guix-git/doc/guix.texi:31348
  46538. #, no-wrap
  46539. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  46540. msgstr ""
  46541. #. type: deftypevr
  46542. #: guix-git/doc/guix.texi:31350
  46543. msgid "Override the default @code{email-filter}."
  46544. msgstr ""
  46545. #. type: deftypevr
  46546. #: guix-git/doc/guix.texi:31355
  46547. #, no-wrap
  46548. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  46549. msgstr ""
  46550. #. type: deftypevr
  46551. #: guix-git/doc/guix.texi:31358
  46552. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  46553. msgstr ""
  46554. #. type: deftypevr
  46555. #: guix-git/doc/guix.texi:31363
  46556. #, no-wrap
  46557. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  46558. msgstr ""
  46559. #. type: deftypevr
  46560. #: guix-git/doc/guix.texi:31366
  46561. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  46562. msgstr ""
  46563. #. type: deftypevr
  46564. #: guix-git/doc/guix.texi:31371
  46565. #, no-wrap
  46566. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  46567. msgstr ""
  46568. #. type: deftypevr
  46569. #: guix-git/doc/guix.texi:31374
  46570. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  46571. msgstr ""
  46572. #. type: deftypevr
  46573. #: guix-git/doc/guix.texi:31379
  46574. #, no-wrap
  46575. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  46576. msgstr ""
  46577. #. type: deftypevr
  46578. #: guix-git/doc/guix.texi:31387
  46579. #, no-wrap
  46580. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  46581. msgstr ""
  46582. #. type: deftypevr
  46583. #: guix-git/doc/guix.texi:31390
  46584. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  46585. msgstr ""
  46586. #. type: deftypevr
  46587. #: guix-git/doc/guix.texi:31395
  46588. #, no-wrap
  46589. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  46590. msgstr ""
  46591. #. type: deftypevr
  46592. #: guix-git/doc/guix.texi:31398
  46593. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  46594. msgstr ""
  46595. #. type: deftypevr
  46596. #: guix-git/doc/guix.texi:31403
  46597. #, no-wrap
  46598. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  46599. msgstr ""
  46600. #. type: deftypevr
  46601. #: guix-git/doc/guix.texi:31406
  46602. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  46603. msgstr ""
  46604. #. type: deftypevr
  46605. #: guix-git/doc/guix.texi:31411
  46606. #, no-wrap
  46607. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  46608. msgstr ""
  46609. #. type: deftypevr
  46610. #: guix-git/doc/guix.texi:31413
  46611. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  46612. msgstr ""
  46613. #. type: deftypevr
  46614. #: guix-git/doc/guix.texi:31418
  46615. #, no-wrap
  46616. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  46617. msgstr ""
  46618. #. type: deftypevr
  46619. #: guix-git/doc/guix.texi:31421
  46620. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  46621. msgstr ""
  46622. #. type: deftypevr
  46623. #: guix-git/doc/guix.texi:31426
  46624. #, no-wrap
  46625. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  46626. msgstr ""
  46627. #. type: deftypevr
  46628. #: guix-git/doc/guix.texi:31433
  46629. #, no-wrap
  46630. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  46631. msgstr ""
  46632. #. type: deftypevr
  46633. #: guix-git/doc/guix.texi:31435
  46634. msgid "Override the default @code{owner-filter}."
  46635. msgstr ""
  46636. #. type: deftypevr
  46637. #: guix-git/doc/guix.texi:31440
  46638. #, no-wrap
  46639. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  46640. msgstr ""
  46641. #. type: deftypevr
  46642. #: guix-git/doc/guix.texi:31444
  46643. 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."
  46644. msgstr ""
  46645. #. type: deftypevr
  46646. #: guix-git/doc/guix.texi:31449
  46647. #, no-wrap
  46648. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  46649. msgstr ""
  46650. #. type: deftypevr
  46651. #: guix-git/doc/guix.texi:31453
  46652. 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."
  46653. msgstr ""
  46654. #. type: deftypevr
  46655. #: guix-git/doc/guix.texi:31458
  46656. #, no-wrap
  46657. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  46658. msgstr ""
  46659. #. type: deftypevr
  46660. #: guix-git/doc/guix.texi:31460
  46661. msgid "Override the default maximum statistics period."
  46662. msgstr ""
  46663. #. type: deftypevr
  46664. #: guix-git/doc/guix.texi:31465
  46665. #, no-wrap
  46666. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  46667. msgstr ""
  46668. #. type: deftypevr
  46669. #: guix-git/doc/guix.texi:31467
  46670. msgid "The value to show as repository name."
  46671. msgstr ""
  46672. #. type: deftypevr
  46673. #: guix-git/doc/guix.texi:31472
  46674. #, no-wrap
  46675. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  46676. msgstr ""
  46677. #. type: deftypevr
  46678. #: guix-git/doc/guix.texi:31474
  46679. msgid "A value used to identify the owner of the repository."
  46680. msgstr ""
  46681. #. type: deftypevr
  46682. #: guix-git/doc/guix.texi:31479
  46683. #, no-wrap
  46684. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  46685. msgstr ""
  46686. #. type: deftypevr
  46687. #: guix-git/doc/guix.texi:31481
  46688. msgid "An absolute path to the repository directory."
  46689. msgstr ""
  46690. #. type: deftypevr
  46691. #: guix-git/doc/guix.texi:31486
  46692. #, no-wrap
  46693. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  46694. msgstr ""
  46695. #. type: deftypevr
  46696. #: guix-git/doc/guix.texi:31489
  46697. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  46698. msgstr ""
  46699. #. type: deftypevr
  46700. #: guix-git/doc/guix.texi:31494
  46701. #, no-wrap
  46702. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  46703. msgstr ""
  46704. #. type: deftypevr
  46705. #: guix-git/doc/guix.texi:31502
  46706. #, no-wrap
  46707. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  46708. msgstr ""
  46709. #. type: deftypevr
  46710. #: guix-git/doc/guix.texi:31504 guix-git/doc/guix.texi:31513
  46711. msgid "Extra options will be appended to cgitrc file."
  46712. msgstr ""
  46713. #. type: deftypevr
  46714. #: guix-git/doc/guix.texi:31511
  46715. #, no-wrap
  46716. msgid "{@code{cgit-configuration} parameter} list extra-options"
  46717. msgstr ""
  46718. #. type: Plain text
  46719. #: guix-git/doc/guix.texi:31525
  46720. 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."
  46721. msgstr ""
  46722. #. type: Plain text
  46723. #: guix-git/doc/guix.texi:31527
  46724. msgid "Available @code{opaque-cgit-configuration} fields are:"
  46725. msgstr ""
  46726. #. type: deftypevr
  46727. #: guix-git/doc/guix.texi:31528
  46728. #, no-wrap
  46729. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  46730. msgstr ""
  46731. #. type: deftypevr
  46732. #: guix-git/doc/guix.texi:31530
  46733. msgid "The cgit package."
  46734. msgstr ""
  46735. #. type: deftypevr
  46736. #: guix-git/doc/guix.texi:31532
  46737. #, no-wrap
  46738. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  46739. msgstr ""
  46740. #. type: deftypevr
  46741. #: guix-git/doc/guix.texi:31534
  46742. msgid "The contents of the @code{cgitrc}, as a string."
  46743. msgstr ""
  46744. #. type: Plain text
  46745. #: guix-git/doc/guix.texi:31538
  46746. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  46747. msgstr ""
  46748. #. type: lisp
  46749. #: guix-git/doc/guix.texi:31543
  46750. #, no-wrap
  46751. msgid ""
  46752. "(service cgit-service-type\n"
  46753. " (opaque-cgit-configuration\n"
  46754. " (cgitrc \"\")))\n"
  46755. msgstr ""
  46756. #. type: subsubheading
  46757. #: guix-git/doc/guix.texi:31545
  46758. #, no-wrap
  46759. msgid "Gitolite Service"
  46760. msgstr ""
  46761. #. type: cindex
  46762. #: guix-git/doc/guix.texi:31547
  46763. #, no-wrap
  46764. msgid "Gitolite service"
  46765. msgstr ""
  46766. #. type: cindex
  46767. #: guix-git/doc/guix.texi:31548
  46768. #, no-wrap
  46769. msgid "Git, hosting"
  46770. msgstr ""
  46771. #. type: Plain text
  46772. #: guix-git/doc/guix.texi:31551
  46773. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  46774. msgstr ""
  46775. #. type: Plain text
  46776. #: guix-git/doc/guix.texi:31554
  46777. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  46778. msgstr ""
  46779. #. type: Plain text
  46780. #: guix-git/doc/guix.texi:31557
  46781. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  46782. msgstr ""
  46783. #. type: lisp
  46784. #: guix-git/doc/guix.texi:31564
  46785. #, no-wrap
  46786. msgid ""
  46787. "(service gitolite-service-type\n"
  46788. " (gitolite-configuration\n"
  46789. " (admin-pubkey (plain-file\n"
  46790. " \"yourname.pub\"\n"
  46791. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  46792. msgstr ""
  46793. #. type: Plain text
  46794. #: guix-git/doc/guix.texi:31569
  46795. 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."
  46796. msgstr ""
  46797. #. type: example
  46798. #: guix-git/doc/guix.texi:31572
  46799. #, no-wrap
  46800. msgid "git clone git@@example.com:gitolite-admin\n"
  46801. msgstr ""
  46802. #. type: Plain text
  46803. #: guix-git/doc/guix.texi:31578
  46804. 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''."
  46805. msgstr ""
  46806. #. type: deftp
  46807. #: guix-git/doc/guix.texi:31579
  46808. #, no-wrap
  46809. msgid "{Data Type} gitolite-configuration"
  46810. msgstr ""
  46811. #. type: deftp
  46812. #: guix-git/doc/guix.texi:31581
  46813. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  46814. msgstr ""
  46815. #. type: item
  46816. #: guix-git/doc/guix.texi:31583
  46817. #, no-wrap
  46818. msgid "@code{package} (default: @var{gitolite})"
  46819. msgstr ""
  46820. #. type: table
  46821. #: guix-git/doc/guix.texi:31585
  46822. msgid "Gitolite package to use."
  46823. msgstr ""
  46824. #. type: item
  46825. #: guix-git/doc/guix.texi:31586
  46826. #, no-wrap
  46827. msgid "@code{user} (default: @var{git})"
  46828. msgstr ""
  46829. #. type: table
  46830. #: guix-git/doc/guix.texi:31589
  46831. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  46832. msgstr ""
  46833. #. type: item
  46834. #: guix-git/doc/guix.texi:31590
  46835. #, no-wrap
  46836. msgid "@code{group} (default: @var{git})"
  46837. msgstr ""
  46838. #. type: table
  46839. #: guix-git/doc/guix.texi:31592
  46840. msgid "Group to use for Gitolite."
  46841. msgstr ""
  46842. #. type: item
  46843. #: guix-git/doc/guix.texi:31593
  46844. #, no-wrap
  46845. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  46846. msgstr ""
  46847. #. type: table
  46848. #: guix-git/doc/guix.texi:31595
  46849. msgid "Directory in which to store the Gitolite configuration and repositories."
  46850. msgstr ""
  46851. #. type: item
  46852. #: guix-git/doc/guix.texi:31596
  46853. #, no-wrap
  46854. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  46855. msgstr ""
  46856. #. type: table
  46857. #: guix-git/doc/guix.texi:31599
  46858. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  46859. msgstr ""
  46860. #. type: item
  46861. #: guix-git/doc/guix.texi:31600
  46862. #, no-wrap
  46863. msgid "@code{admin-pubkey} (default: @var{#f})"
  46864. msgstr ""
  46865. #. type: table
  46866. #: guix-git/doc/guix.texi:31604
  46867. 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."
  46868. msgstr ""
  46869. #. type: table
  46870. #: guix-git/doc/guix.texi:31606
  46871. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  46872. msgstr ""
  46873. #. type: lisp
  46874. #: guix-git/doc/guix.texi:31609
  46875. #, no-wrap
  46876. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  46877. msgstr ""
  46878. #. type: deftp
  46879. #: guix-git/doc/guix.texi:31614
  46880. #, no-wrap
  46881. msgid "{Data Type} gitolite-rc-file"
  46882. msgstr ""
  46883. #. type: deftp
  46884. #: guix-git/doc/guix.texi:31616
  46885. msgid "Data type representing the Gitolite RC file."
  46886. msgstr ""
  46887. #. type: item
  46888. #: guix-git/doc/guix.texi:31618
  46889. #, no-wrap
  46890. msgid "@code{umask} (default: @code{#o0077})"
  46891. msgstr ""
  46892. #. type: table
  46893. #: guix-git/doc/guix.texi:31621
  46894. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  46895. msgstr ""
  46896. #. type: table
  46897. #: guix-git/doc/guix.texi:31625
  46898. 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."
  46899. msgstr ""
  46900. #. type: item
  46901. #: guix-git/doc/guix.texi:31626
  46902. #, no-wrap
  46903. msgid "@code{unsafe-pattern} (default: @code{#f})"
  46904. msgstr ""
  46905. #. type: table
  46906. #: guix-git/doc/guix.texi:31631
  46907. 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."
  46908. msgstr ""
  46909. #. type: table
  46910. #: guix-git/doc/guix.texi:31638
  46911. 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."
  46912. msgstr ""
  46913. #. type: item
  46914. #: guix-git/doc/guix.texi:31639
  46915. #, no-wrap
  46916. msgid "@code{git-config-keys} (default: @code{\"\"})"
  46917. msgstr ""
  46918. #. type: table
  46919. #: guix-git/doc/guix.texi:31642
  46920. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  46921. msgstr ""
  46922. #. type: item
  46923. #: guix-git/doc/guix.texi:31643
  46924. #, no-wrap
  46925. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  46926. msgstr ""
  46927. #. type: table
  46928. #: guix-git/doc/guix.texi:31645
  46929. msgid "Set the role names allowed to be used by users running the perms command."
  46930. msgstr ""
  46931. #. type: item
  46932. #: guix-git/doc/guix.texi:31646
  46933. #, no-wrap
  46934. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  46935. msgstr ""
  46936. #. type: table
  46937. #: guix-git/doc/guix.texi:31648
  46938. msgid "This setting controls the commands and features to enable within Gitolite."
  46939. msgstr ""
  46940. #. type: subsubheading
  46941. #: guix-git/doc/guix.texi:31653
  46942. #, fuzzy, no-wrap
  46943. #| msgid "Services"
  46944. msgid "Gitile Service"
  46945. msgstr "Služby"
  46946. #. type: cindex
  46947. #: guix-git/doc/guix.texi:31655
  46948. #, no-wrap
  46949. msgid "Gitile service"
  46950. msgstr ""
  46951. #. type: cindex
  46952. #: guix-git/doc/guix.texi:31656
  46953. #, no-wrap
  46954. msgid "Git, forge"
  46955. msgstr ""
  46956. #. type: Plain text
  46957. #: guix-git/doc/guix.texi:31659
  46958. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  46959. msgstr ""
  46960. #. type: Plain text
  46961. #: guix-git/doc/guix.texi:31665
  46962. 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})."
  46963. msgstr ""
  46964. #. type: Plain text
  46965. #: guix-git/doc/guix.texi:31669
  46966. 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."
  46967. msgstr ""
  46968. #. type: lisp
  46969. #: guix-git/doc/guix.texi:31692
  46970. #, no-wrap
  46971. msgid ""
  46972. "(service gitile-service-type\n"
  46973. " (gitile-configuration\n"
  46974. " (repositories \"/srv/git\")\n"
  46975. " (base-git-url \"https://myweb.site/git\")\n"
  46976. " (index-title \"My git repositories\")\n"
  46977. " (intro '((p \"This is all my public work!\")))\n"
  46978. " (footer '((p \"This is the end\")))\n"
  46979. " (nginx-server-block\n"
  46980. " (nginx-server-configuration\n"
  46981. " (ssl-certificate\n"
  46982. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  46983. " (ssl-certificate-key\n"
  46984. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  46985. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  46986. " (locations\n"
  46987. " (list\n"
  46988. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  46989. " (git-http-nginx-location-configuration\n"
  46990. " (git-http-configuration\n"
  46991. " (uri-path \"/git/\")\n"
  46992. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  46993. msgstr ""
  46994. #. type: Plain text
  46995. #: guix-git/doc/guix.texi:31701
  46996. 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:"
  46997. msgstr ""
  46998. #. type: example
  46999. #: guix-git/doc/guix.texi:31705
  47000. #, no-wrap
  47001. msgid ""
  47002. "repo foo\n"
  47003. " R = daemon\n"
  47004. msgstr ""
  47005. #. type: Plain text
  47006. #: guix-git/doc/guix.texi:31711
  47007. 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}:"
  47008. msgstr ""
  47009. #. type: example
  47010. #: guix-git/doc/guix.texi:31718
  47011. #, no-wrap
  47012. msgid ""
  47013. "repo foo\n"
  47014. " R = daemon\n"
  47015. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  47016. " config gitweb.name = The Foo Project\n"
  47017. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  47018. msgstr ""
  47019. #. type: Plain text
  47020. #: guix-git/doc/guix.texi:31724
  47021. 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:"
  47022. msgstr ""
  47023. #. type: lisp
  47024. #: guix-git/doc/guix.texi:31736
  47025. #, no-wrap
  47026. msgid ""
  47027. "(service gitolite-service-type\n"
  47028. " (gitolite-configuration\n"
  47029. " (admin-pubkey (local-file \"key.pub\"))\n"
  47030. " (rc-file\n"
  47031. " (gitolite-rc-file\n"
  47032. " (umask #o0027)\n"
  47033. " ;; Allow to set any configuration key\n"
  47034. " (git-config-keys \".*\")\n"
  47035. " ;; Allow any text as a valid configuration value\n"
  47036. " (unsafe-patt \"^$\")))))\n"
  47037. msgstr ""
  47038. #. type: deftp
  47039. #: guix-git/doc/guix.texi:31738
  47040. #, fuzzy, no-wrap
  47041. #| msgid "System Configuration"
  47042. msgid "{Data Type} gitile-configuration"
  47043. msgstr "Nastavenie systému"
  47044. #. type: deftp
  47045. #: guix-git/doc/guix.texi:31740
  47046. msgid "Data type representing the configuration for @code{gitile-service-type}."
  47047. msgstr ""
  47048. #. type: item
  47049. #: guix-git/doc/guix.texi:31742
  47050. #, no-wrap
  47051. msgid "@code{package} (default: @var{gitile})"
  47052. msgstr ""
  47053. #. type: table
  47054. #: guix-git/doc/guix.texi:31744
  47055. msgid "Gitile package to use."
  47056. msgstr ""
  47057. #. type: table
  47058. #: guix-git/doc/guix.texi:31747
  47059. msgid "The host on which gitile is listening."
  47060. msgstr ""
  47061. #. type: item
  47062. #: guix-git/doc/guix.texi:31748
  47063. #, no-wrap
  47064. msgid "@code{port} (default: @code{8080})"
  47065. msgstr ""
  47066. #. type: table
  47067. #: guix-git/doc/guix.texi:31750
  47068. msgid "The port on which gitile is listening."
  47069. msgstr ""
  47070. #. type: item
  47071. #: guix-git/doc/guix.texi:31751
  47072. #, no-wrap
  47073. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  47074. msgstr ""
  47075. #. type: table
  47076. #: guix-git/doc/guix.texi:31753
  47077. msgid "The location of the database."
  47078. msgstr ""
  47079. #. type: item
  47080. #: guix-git/doc/guix.texi:31754
  47081. #, no-wrap
  47082. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  47083. msgstr ""
  47084. #. type: table
  47085. #: guix-git/doc/guix.texi:31758
  47086. 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."
  47087. msgstr ""
  47088. #. type: code{#1}
  47089. #: guix-git/doc/guix.texi:31759
  47090. #, no-wrap
  47091. msgid "base-git-url"
  47092. msgstr ""
  47093. #. type: table
  47094. #: guix-git/doc/guix.texi:31761
  47095. msgid "The base git url that will be used to show clone commands."
  47096. msgstr ""
  47097. #. type: item
  47098. #: guix-git/doc/guix.texi:31762
  47099. #, no-wrap
  47100. msgid "@code{index-title} (default: @code{\"Index\"})"
  47101. msgstr ""
  47102. #. type: table
  47103. #: guix-git/doc/guix.texi:31764
  47104. msgid "The page title for the index page that lists all the available repositories."
  47105. msgstr ""
  47106. #. type: item
  47107. #: guix-git/doc/guix.texi:31765
  47108. #, no-wrap
  47109. msgid "@code{intro} (default: @code{'()})"
  47110. msgstr ""
  47111. #. type: table
  47112. #: guix-git/doc/guix.texi:31768
  47113. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  47114. msgstr ""
  47115. #. type: item
  47116. #: guix-git/doc/guix.texi:31769
  47117. #, no-wrap
  47118. msgid "@code{footer} (default: @code{'()})"
  47119. msgstr ""
  47120. #. type: table
  47121. #: guix-git/doc/guix.texi:31772
  47122. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  47123. msgstr ""
  47124. #. type: code{#1}
  47125. #: guix-git/doc/guix.texi:31773
  47126. #, no-wrap
  47127. msgid "nginx-server-block"
  47128. msgstr ""
  47129. #. type: table
  47130. #: guix-git/doc/guix.texi:31776
  47131. 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."
  47132. msgstr ""
  47133. #. type: table
  47134. #: guix-git/doc/guix.texi:31780
  47135. 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."
  47136. msgstr ""
  47137. #. type: subsubheading
  47138. #: guix-git/doc/guix.texi:31787
  47139. #, no-wrap
  47140. msgid "The Battle for Wesnoth Service"
  47141. msgstr ""
  47142. #. type: cindex
  47143. #: guix-git/doc/guix.texi:31788
  47144. #, no-wrap
  47145. msgid "wesnothd"
  47146. msgstr ""
  47147. #. type: Plain text
  47148. #: guix-git/doc/guix.texi:31792
  47149. 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)."
  47150. msgstr ""
  47151. #. type: defvar
  47152. #: guix-git/doc/guix.texi:31793
  47153. #, no-wrap
  47154. msgid "{Scheme Variable} wesnothd-service-type"
  47155. msgstr ""
  47156. #. type: defvar
  47157. #: guix-git/doc/guix.texi:31797
  47158. 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:"
  47159. msgstr ""
  47160. #. type: lisp
  47161. #: guix-git/doc/guix.texi:31800
  47162. #, no-wrap
  47163. msgid "(service wesnothd-service-type)\n"
  47164. msgstr ""
  47165. #. type: deftp
  47166. #: guix-git/doc/guix.texi:31803
  47167. #, no-wrap
  47168. msgid "{Data Type} wesnothd-configuration"
  47169. msgstr ""
  47170. #. type: deftp
  47171. #: guix-git/doc/guix.texi:31805
  47172. msgid "Data type representing the configuration of @command{wesnothd}."
  47173. msgstr ""
  47174. #. type: item
  47175. #: guix-git/doc/guix.texi:31807
  47176. #, no-wrap
  47177. msgid "@code{package} (default: @code{wesnoth-server})"
  47178. msgstr ""
  47179. #. type: table
  47180. #: guix-git/doc/guix.texi:31809
  47181. msgid "The wesnoth server package to use."
  47182. msgstr ""
  47183. #. type: item
  47184. #: guix-git/doc/guix.texi:31810
  47185. #, no-wrap
  47186. msgid "@code{port} (default: @code{15000})"
  47187. msgstr ""
  47188. #. type: table
  47189. #: guix-git/doc/guix.texi:31812
  47190. msgid "The port to bind the server to."
  47191. msgstr ""
  47192. #. type: cindex
  47193. #: guix-git/doc/guix.texi:31818
  47194. #, no-wrap
  47195. msgid "pam-mount"
  47196. msgstr ""
  47197. #. type: Plain text
  47198. #: guix-git/doc/guix.texi:31823
  47199. 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."
  47200. msgstr ""
  47201. #. type: defvar
  47202. #: guix-git/doc/guix.texi:31824
  47203. #, no-wrap
  47204. msgid "{Scheme Variable} pam-mount-service-type"
  47205. msgstr ""
  47206. #. type: defvar
  47207. #: guix-git/doc/guix.texi:31826
  47208. msgid "Service type for PAM Mount support."
  47209. msgstr ""
  47210. #. type: deftp
  47211. #: guix-git/doc/guix.texi:31828
  47212. #, no-wrap
  47213. msgid "{Data Type} pam-mount-configuration"
  47214. msgstr ""
  47215. #. type: deftp
  47216. #: guix-git/doc/guix.texi:31830
  47217. msgid "Data type representing the configuration of PAM Mount."
  47218. msgstr ""
  47219. #. type: code{#1}
  47220. #: guix-git/doc/guix.texi:31834
  47221. #, no-wrap
  47222. msgid "rules"
  47223. msgstr ""
  47224. #. type: table
  47225. #: guix-git/doc/guix.texi:31837
  47226. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  47227. msgstr ""
  47228. #. type: table
  47229. #: guix-git/doc/guix.texi:31841
  47230. 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:"
  47231. msgstr ""
  47232. #. type: lisp
  47233. #: guix-git/doc/guix.texi:31856
  47234. #, no-wrap
  47235. msgid ""
  47236. "`((debug (@@ (enable \"0\")))\n"
  47237. " (mntoptions (@@ (allow ,(string-join\n"
  47238. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  47239. " \"encryption\" \"fsck\" \"nonempty\"\n"
  47240. " \"allow_root\" \"allow_other\")\n"
  47241. " \",\"))))\n"
  47242. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  47243. " (logout (@@ (wait \"0\")\n"
  47244. " (hup \"0\")\n"
  47245. " (term \"no\")\n"
  47246. " (kill \"no\")))\n"
  47247. " (mkmountpoint (@@ (enable \"1\")\n"
  47248. " (remove \"true\"))))\n"
  47249. msgstr ""
  47250. #. type: table
  47251. #: guix-git/doc/guix.texi:31862
  47252. 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:"
  47253. msgstr ""
  47254. #. type: lisp
  47255. #: guix-git/doc/guix.texi:31887
  47256. #, no-wrap
  47257. msgid ""
  47258. "(define pam-mount-rules\n"
  47259. "`((debug (@@ (enable \"0\")))\n"
  47260. " (volume (@@ (user \"alice\")\n"
  47261. " (fstype \"crypt\")\n"
  47262. " (path \"/dev/sda2\")\n"
  47263. " (mountpoint \"/home/alice\")))\n"
  47264. " (volume (@@ (user \"bob\")\n"
  47265. " (fstype \"auto\")\n"
  47266. " (path \"/dev/sdb3\")\n"
  47267. " (mountpoint \"/home/bob/data\")\n"
  47268. " (options \"defaults,autodefrag,compress\")))\n"
  47269. " (mntoptions (@@ (allow ,(string-join\n"
  47270. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  47271. " \"encryption\" \"fsck\" \"nonempty\"\n"
  47272. " \"allow_root\" \"allow_other\")\n"
  47273. " \",\"))))\n"
  47274. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  47275. " (logout (@@ (wait \"0\")\n"
  47276. " (hup \"0\")\n"
  47277. " (term \"no\")\n"
  47278. " (kill \"no\")))\n"
  47279. " (mkmountpoint (@@ (enable \"1\")\n"
  47280. " (remove \"true\")))))\n"
  47281. "\n"
  47282. msgstr ""
  47283. #. type: lisp
  47284. #: guix-git/doc/guix.texi:31891
  47285. #, no-wrap
  47286. msgid ""
  47287. "(service pam-mount-service-type\n"
  47288. " (pam-mount-configuration\n"
  47289. " (rules pam-mount-rules)))\n"
  47290. msgstr ""
  47291. #. type: table
  47292. #: guix-git/doc/guix.texi:31895
  47293. 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}."
  47294. msgstr ""
  47295. #. type: subsubheading
  47296. #: guix-git/doc/guix.texi:31902
  47297. #, no-wrap
  47298. msgid "Guix Build Coordinator"
  47299. msgstr ""
  47300. #. type: Plain text
  47301. #: guix-git/doc/guix.texi:31908
  47302. 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."
  47303. msgstr ""
  47304. #. type: quotation
  47305. #: guix-git/doc/guix.texi:31913
  47306. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  47307. msgstr ""
  47308. #. type: Plain text
  47309. #: guix-git/doc/guix.texi:31920
  47310. 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."
  47311. msgstr ""
  47312. #. type: Plain text
  47313. #: guix-git/doc/guix.texi:31924
  47314. 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."
  47315. msgstr ""
  47316. #. type: defvar
  47317. #: guix-git/doc/guix.texi:31925
  47318. #, no-wrap
  47319. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  47320. msgstr ""
  47321. #. type: defvar
  47322. #: guix-git/doc/guix.texi:31928
  47323. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  47324. msgstr ""
  47325. #. type: deftp
  47326. #: guix-git/doc/guix.texi:31930
  47327. #, no-wrap
  47328. msgid "{Data Type} guix-build-coordinator-configuration"
  47329. msgstr ""
  47330. #. type: deftp
  47331. #: guix-git/doc/guix.texi:31932
  47332. msgid "Data type representing the configuration of the Guix Build Coordinator."
  47333. msgstr ""
  47334. #. type: item
  47335. #: guix-git/doc/guix.texi:31934 guix-git/doc/guix.texi:31978
  47336. #: guix-git/doc/guix.texi:32104
  47337. #, no-wrap
  47338. msgid "@code{package} (default: @code{guix-build-coordinator})"
  47339. msgstr ""
  47340. #. type: table
  47341. #: guix-git/doc/guix.texi:31936 guix-git/doc/guix.texi:31980
  47342. #: guix-git/doc/guix.texi:32106
  47343. msgid "The Guix Build Coordinator package to use."
  47344. msgstr ""
  47345. #. type: item
  47346. #: guix-git/doc/guix.texi:31937
  47347. #, no-wrap
  47348. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  47349. msgstr ""
  47350. #. type: table
  47351. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31983
  47352. #: guix-git/doc/guix.texi:32109 guix-git/doc/guix.texi:32155
  47353. msgid "The system user to run the service as."
  47354. msgstr ""
  47355. #. type: item
  47356. #: guix-git/doc/guix.texi:31940
  47357. #, no-wrap
  47358. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  47359. msgstr ""
  47360. #. type: table
  47361. #: guix-git/doc/guix.texi:31942 guix-git/doc/guix.texi:32158
  47362. msgid "The system group to run the service as."
  47363. msgstr ""
  47364. #. type: item
  47365. #: guix-git/doc/guix.texi:31943
  47366. #, no-wrap
  47367. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  47368. msgstr ""
  47369. #. type: table
  47370. #: guix-git/doc/guix.texi:31945
  47371. msgid "The URI to use for the database."
  47372. msgstr ""
  47373. #. type: item
  47374. #: guix-git/doc/guix.texi:31946
  47375. #, no-wrap
  47376. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  47377. msgstr ""
  47378. #. type: table
  47379. #: guix-git/doc/guix.texi:31948
  47380. msgid "The URI describing how to listen to requests from agent processes."
  47381. msgstr ""
  47382. #. type: item
  47383. #: guix-git/doc/guix.texi:31949
  47384. #, no-wrap
  47385. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  47386. msgstr ""
  47387. #. type: table
  47388. #: guix-git/doc/guix.texi:31953
  47389. 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."
  47390. msgstr ""
  47391. #. type: item
  47392. #: guix-git/doc/guix.texi:31954
  47393. #, no-wrap
  47394. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  47395. msgstr ""
  47396. #. type: table
  47397. #: guix-git/doc/guix.texi:31958
  47398. 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."
  47399. msgstr ""
  47400. #. type: item
  47401. #: guix-git/doc/guix.texi:31959
  47402. #, no-wrap
  47403. msgid "@code{hooks} (default: @var{'()})"
  47404. msgstr ""
  47405. #. type: table
  47406. #: guix-git/doc/guix.texi:31962
  47407. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  47408. msgstr ""
  47409. #. type: item
  47410. #: guix-git/doc/guix.texi:31963
  47411. #, no-wrap
  47412. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  47413. msgstr ""
  47414. #. type: table
  47415. #: guix-git/doc/guix.texi:31965
  47416. msgid "The Guile package with which to run the Guix Build Coordinator."
  47417. msgstr ""
  47418. #. type: defvar
  47419. #: guix-git/doc/guix.texi:31969
  47420. #, no-wrap
  47421. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  47422. msgstr ""
  47423. #. type: defvar
  47424. #: guix-git/doc/guix.texi:31972
  47425. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  47426. msgstr ""
  47427. #. type: deftp
  47428. #: guix-git/doc/guix.texi:31974
  47429. #, no-wrap
  47430. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  47431. msgstr ""
  47432. #. type: deftp
  47433. #: guix-git/doc/guix.texi:31976
  47434. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  47435. msgstr ""
  47436. #. type: item
  47437. #: guix-git/doc/guix.texi:31981
  47438. #, no-wrap
  47439. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  47440. msgstr ""
  47441. #. type: item
  47442. #: guix-git/doc/guix.texi:31984
  47443. #, no-wrap
  47444. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  47445. msgstr ""
  47446. #. type: table
  47447. #: guix-git/doc/guix.texi:31986 guix-git/doc/guix.texi:32112
  47448. msgid "The URI to use when connecting to the coordinator."
  47449. msgstr ""
  47450. #. type: code{#1}
  47451. #: guix-git/doc/guix.texi:31987
  47452. #, no-wrap
  47453. msgid "authentication"
  47454. msgstr ""
  47455. #. type: table
  47456. #: guix-git/doc/guix.texi:31990
  47457. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  47458. msgstr ""
  47459. #. type: item
  47460. #: guix-git/doc/guix.texi:31991 guix-git/doc/guix.texi:32113
  47461. #, no-wrap
  47462. msgid "@code{systems} (default: @code{#f})"
  47463. msgstr ""
  47464. #. type: table
  47465. #: guix-git/doc/guix.texi:31994
  47466. 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."
  47467. msgstr ""
  47468. #. type: item
  47469. #: guix-git/doc/guix.texi:31995
  47470. #, no-wrap
  47471. msgid "@code{max-parallel-builds} (default: @code{1})"
  47472. msgstr ""
  47473. #. type: table
  47474. #: guix-git/doc/guix.texi:31997
  47475. msgid "The number of builds to perform in parallel."
  47476. msgstr ""
  47477. #. type: item
  47478. #: guix-git/doc/guix.texi:31998
  47479. #, no-wrap
  47480. msgid "@code{max-1min-load-average} (default: @code{#f})"
  47481. msgstr ""
  47482. #. type: table
  47483. #: guix-git/doc/guix.texi:32002
  47484. 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."
  47485. msgstr ""
  47486. #. type: table
  47487. #: guix-git/doc/guix.texi:32006
  47488. 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."
  47489. msgstr ""
  47490. #. type: item
  47491. #: guix-git/doc/guix.texi:32007
  47492. #, no-wrap
  47493. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  47494. msgstr ""
  47495. #. type: table
  47496. #: guix-git/doc/guix.texi:32010
  47497. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  47498. msgstr ""
  47499. #. type: item
  47500. #: guix-git/doc/guix.texi:32011
  47501. #, no-wrap
  47502. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  47503. msgstr ""
  47504. #. type: table
  47505. #: guix-git/doc/guix.texi:32014
  47506. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  47507. msgstr ""
  47508. #. type: deftp
  47509. #: guix-git/doc/guix.texi:32018
  47510. #, no-wrap
  47511. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  47512. msgstr ""
  47513. #. type: deftp
  47514. #: guix-git/doc/guix.texi:32021
  47515. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  47516. msgstr ""
  47517. #. type: table
  47518. #: guix-git/doc/guix.texi:32027 guix-git/doc/guix.texi:32043
  47519. 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."
  47520. msgstr ""
  47521. #. type: table
  47522. #: guix-git/doc/guix.texi:32030
  47523. msgid "The password to use when connecting to the coordinator."
  47524. msgstr ""
  47525. #. type: deftp
  47526. #: guix-git/doc/guix.texi:32034
  47527. #, no-wrap
  47528. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  47529. msgstr ""
  47530. #. type: deftp
  47531. #: guix-git/doc/guix.texi:32037
  47532. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  47533. msgstr ""
  47534. #. type: code{#1}
  47535. #: guix-git/doc/guix.texi:32044
  47536. #, no-wrap
  47537. msgid "password-file"
  47538. msgstr ""
  47539. #. type: table
  47540. #: guix-git/doc/guix.texi:32047
  47541. msgid "A file containing the password to use when connecting to the coordinator."
  47542. msgstr ""
  47543. #. type: deftp
  47544. #: guix-git/doc/guix.texi:32051
  47545. #, no-wrap
  47546. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  47547. msgstr ""
  47548. #. type: deftp
  47549. #: guix-git/doc/guix.texi:32054
  47550. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  47551. msgstr ""
  47552. #. type: code{#1}
  47553. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32073
  47554. #, no-wrap
  47555. msgid "agent-name"
  47556. msgstr ""
  47557. #. type: table
  47558. #: guix-git/doc/guix.texi:32060 guix-git/doc/guix.texi:32077
  47559. 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."
  47560. msgstr ""
  47561. #. type: code{#1}
  47562. #: guix-git/doc/guix.texi:32061
  47563. #, no-wrap
  47564. msgid "token"
  47565. msgstr ""
  47566. #. type: table
  47567. #: guix-git/doc/guix.texi:32064
  47568. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47569. msgstr ""
  47570. #. type: deftp
  47571. #: guix-git/doc/guix.texi:32068
  47572. #, no-wrap
  47573. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  47574. msgstr ""
  47575. #. type: deftp
  47576. #: guix-git/doc/guix.texi:32071
  47577. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  47578. msgstr ""
  47579. #. type: code{#1}
  47580. #: guix-git/doc/guix.texi:32078
  47581. #, no-wrap
  47582. msgid "token-file"
  47583. msgstr ""
  47584. #. type: table
  47585. #: guix-git/doc/guix.texi:32081
  47586. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47587. msgstr ""
  47588. #. type: Plain text
  47589. #: guix-git/doc/guix.texi:32091
  47590. 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."
  47591. msgstr ""
  47592. #. type: defvar
  47593. #: guix-git/doc/guix.texi:32092
  47594. #, no-wrap
  47595. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  47596. msgstr ""
  47597. #. type: defvar
  47598. #: guix-git/doc/guix.texi:32097
  47599. 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."
  47600. msgstr ""
  47601. #. type: deftp
  47602. #: guix-git/doc/guix.texi:32099
  47603. #, no-wrap
  47604. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  47605. msgstr ""
  47606. #. type: deftp
  47607. #: guix-git/doc/guix.texi:32102
  47608. msgid "Data type representing the options to the queue builds from guix data service script."
  47609. msgstr ""
  47610. #. type: item
  47611. #: guix-git/doc/guix.texi:32107
  47612. #, no-wrap
  47613. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  47614. msgstr ""
  47615. #. type: item
  47616. #: guix-git/doc/guix.texi:32110
  47617. #, no-wrap
  47618. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  47619. msgstr ""
  47620. #. type: table
  47621. #: guix-git/doc/guix.texi:32115
  47622. msgid "The systems for which to fetch derivations to build."
  47623. msgstr ""
  47624. #. type: item
  47625. #: guix-git/doc/guix.texi:32116
  47626. #, no-wrap
  47627. msgid "@code{systems-and-targets} (default: @code{#f})"
  47628. msgstr ""
  47629. #. type: table
  47630. #: guix-git/doc/guix.texi:32119
  47631. msgid "An association list of system and target pairs for which to fetch derivations to build."
  47632. msgstr ""
  47633. #. type: item
  47634. #: guix-git/doc/guix.texi:32120
  47635. #, no-wrap
  47636. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  47637. msgstr ""
  47638. #. type: table
  47639. #: guix-git/doc/guix.texi:32123
  47640. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  47641. msgstr ""
  47642. #. type: item
  47643. #: guix-git/doc/guix.texi:32124
  47644. #, no-wrap
  47645. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  47646. msgstr ""
  47647. #. type: table
  47648. #: guix-git/doc/guix.texi:32127
  47649. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  47650. msgstr ""
  47651. #. type: subsubheading
  47652. #: guix-git/doc/guix.texi:32131
  47653. #, no-wrap
  47654. msgid "Guix Data Service"
  47655. msgstr ""
  47656. #. type: Plain text
  47657. #: guix-git/doc/guix.texi:32135
  47658. 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."
  47659. msgstr ""
  47660. #. type: Plain text
  47661. #: guix-git/doc/guix.texi:32138
  47662. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  47663. msgstr ""
  47664. #. type: defvar
  47665. #: guix-git/doc/guix.texi:32139
  47666. #, no-wrap
  47667. msgid "{Scheme Variable} guix-data-service-type"
  47668. msgstr ""
  47669. #. type: defvar
  47670. #: guix-git/doc/guix.texi:32144
  47671. 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."
  47672. msgstr ""
  47673. #. type: deftp
  47674. #: guix-git/doc/guix.texi:32146
  47675. #, no-wrap
  47676. msgid "{Data Type} guix-data-service-configuration"
  47677. msgstr ""
  47678. #. type: deftp
  47679. #: guix-git/doc/guix.texi:32148
  47680. msgid "Data type representing the configuration of the Guix Data Service."
  47681. msgstr ""
  47682. #. type: item
  47683. #: guix-git/doc/guix.texi:32150
  47684. #, no-wrap
  47685. msgid "@code{package} (default: @code{guix-data-service})"
  47686. msgstr ""
  47687. #. type: table
  47688. #: guix-git/doc/guix.texi:32152
  47689. msgid "The Guix Data Service package to use."
  47690. msgstr ""
  47691. #. type: item
  47692. #: guix-git/doc/guix.texi:32153
  47693. #, no-wrap
  47694. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  47695. msgstr ""
  47696. #. type: item
  47697. #: guix-git/doc/guix.texi:32156
  47698. #, no-wrap
  47699. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  47700. msgstr ""
  47701. #. type: item
  47702. #: guix-git/doc/guix.texi:32159
  47703. #, no-wrap
  47704. msgid "@code{port} (default: @code{8765})"
  47705. msgstr ""
  47706. #. type: table
  47707. #: guix-git/doc/guix.texi:32161
  47708. msgid "The port to bind the web service to."
  47709. msgstr ""
  47710. #. type: item
  47711. #: guix-git/doc/guix.texi:32162
  47712. #, no-wrap
  47713. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  47714. msgstr ""
  47715. #. type: table
  47716. #: guix-git/doc/guix.texi:32164
  47717. msgid "The host to bind the web service to."
  47718. msgstr ""
  47719. #. type: item
  47720. #: guix-git/doc/guix.texi:32165
  47721. #, no-wrap
  47722. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  47723. msgstr ""
  47724. #. type: table
  47725. #: guix-git/doc/guix.texi:32168
  47726. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  47727. msgstr ""
  47728. #. type: item
  47729. #: guix-git/doc/guix.texi:32169
  47730. #, no-wrap
  47731. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  47732. msgstr ""
  47733. #. type: table
  47734. #: guix-git/doc/guix.texi:32173
  47735. 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."
  47736. msgstr ""
  47737. #. type: item
  47738. #: guix-git/doc/guix.texi:32174
  47739. #, no-wrap
  47740. msgid "@code{extra-options} (default: @var{'()})"
  47741. msgstr ""
  47742. #. type: table
  47743. #: guix-git/doc/guix.texi:32176
  47744. msgid "Extra command line options for @code{guix-data-service}."
  47745. msgstr ""
  47746. #. type: item
  47747. #: guix-git/doc/guix.texi:32177
  47748. #, no-wrap
  47749. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  47750. msgstr ""
  47751. #. type: table
  47752. #: guix-git/doc/guix.texi:32179
  47753. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  47754. msgstr ""
  47755. #. type: cindex
  47756. #: guix-git/doc/guix.texi:32186
  47757. #, no-wrap
  47758. msgid "oom"
  47759. msgstr ""
  47760. #. type: cindex
  47761. #: guix-git/doc/guix.texi:32187
  47762. #, no-wrap
  47763. msgid "out of memory killer"
  47764. msgstr ""
  47765. #. type: cindex
  47766. #: guix-git/doc/guix.texi:32188
  47767. #, no-wrap
  47768. msgid "earlyoom"
  47769. msgstr ""
  47770. #. type: cindex
  47771. #: guix-git/doc/guix.texi:32189
  47772. #, no-wrap
  47773. msgid "early out of memory daemon"
  47774. msgstr ""
  47775. #. type: subsubheading
  47776. #: guix-git/doc/guix.texi:32190
  47777. #, no-wrap
  47778. msgid "Early OOM Service"
  47779. msgstr ""
  47780. #. type: Plain text
  47781. #: guix-git/doc/guix.texi:32197
  47782. 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."
  47783. msgstr ""
  47784. #. type: deffn
  47785. #: guix-git/doc/guix.texi:32198
  47786. #, no-wrap
  47787. msgid "{Scheme Variable} earlyoom-service-type"
  47788. msgstr ""
  47789. #. type: deffn
  47790. #: guix-git/doc/guix.texi:32203
  47791. 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:"
  47792. msgstr ""
  47793. #. type: lisp
  47794. #: guix-git/doc/guix.texi:32206
  47795. #, no-wrap
  47796. msgid "(service earlyoom-service-type)\n"
  47797. msgstr ""
  47798. #. type: deftp
  47799. #: guix-git/doc/guix.texi:32209
  47800. #, no-wrap
  47801. msgid "{Data Type} earlyoom-configuration"
  47802. msgstr ""
  47803. #. type: deftp
  47804. #: guix-git/doc/guix.texi:32211
  47805. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  47806. msgstr ""
  47807. #. type: item
  47808. #: guix-git/doc/guix.texi:32213
  47809. #, no-wrap
  47810. msgid "@code{earlyoom} (default: @var{earlyoom})"
  47811. msgstr ""
  47812. #. type: table
  47813. #: guix-git/doc/guix.texi:32215
  47814. msgid "The Earlyoom package to use."
  47815. msgstr ""
  47816. #. type: item
  47817. #: guix-git/doc/guix.texi:32216
  47818. #, no-wrap
  47819. msgid "@code{minimum-available-memory} (default: @code{10})"
  47820. msgstr ""
  47821. #. type: table
  47822. #: guix-git/doc/guix.texi:32218
  47823. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  47824. msgstr ""
  47825. #. type: item
  47826. #: guix-git/doc/guix.texi:32219
  47827. #, no-wrap
  47828. msgid "@code{minimum-free-swap} (default: @code{10})"
  47829. msgstr ""
  47830. #. type: table
  47831. #: guix-git/doc/guix.texi:32221
  47832. msgid "The threshold for the minimum free swap memory, in percentages."
  47833. msgstr ""
  47834. #. type: item
  47835. #: guix-git/doc/guix.texi:32222
  47836. #, no-wrap
  47837. msgid "@code{prefer-regexp} (default: @code{#f})"
  47838. msgstr ""
  47839. #. type: table
  47840. #: guix-git/doc/guix.texi:32225
  47841. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  47842. msgstr ""
  47843. #. type: item
  47844. #: guix-git/doc/guix.texi:32226
  47845. #, no-wrap
  47846. msgid "@code{avoid-regexp} (default: @code{#f})"
  47847. msgstr ""
  47848. #. type: table
  47849. #: guix-git/doc/guix.texi:32229
  47850. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  47851. msgstr ""
  47852. #. type: item
  47853. #: guix-git/doc/guix.texi:32230
  47854. #, no-wrap
  47855. msgid "@code{memory-report-interval} (default: @code{0})"
  47856. msgstr ""
  47857. #. type: table
  47858. #: guix-git/doc/guix.texi:32233
  47859. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  47860. msgstr ""
  47861. #. type: item
  47862. #: guix-git/doc/guix.texi:32234
  47863. #, no-wrap
  47864. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  47865. msgstr ""
  47866. #. type: table
  47867. #: guix-git/doc/guix.texi:32237
  47868. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  47869. msgstr ""
  47870. #. type: item
  47871. #: guix-git/doc/guix.texi:32238
  47872. #, no-wrap
  47873. msgid "@code{show-debug-messages?} (default: @code{#f})"
  47874. msgstr ""
  47875. #. type: table
  47876. #: guix-git/doc/guix.texi:32241
  47877. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  47878. msgstr ""
  47879. #. type: item
  47880. #: guix-git/doc/guix.texi:32242
  47881. #, no-wrap
  47882. msgid "@code{send-notification-command} (default: @code{#f})"
  47883. msgstr ""
  47884. #. type: table
  47885. #: guix-git/doc/guix.texi:32245
  47886. msgid "This can be used to provide a custom command used for sending notifications."
  47887. msgstr ""
  47888. #. type: cindex
  47889. #: guix-git/doc/guix.texi:32248
  47890. #, no-wrap
  47891. msgid "modprobe"
  47892. msgstr ""
  47893. #. type: cindex
  47894. #: guix-git/doc/guix.texi:32249
  47895. #, no-wrap
  47896. msgid "kernel module loader"
  47897. msgstr ""
  47898. #. type: subsubheading
  47899. #: guix-git/doc/guix.texi:32250
  47900. #, no-wrap
  47901. msgid "Kernel Module Loader Service"
  47902. msgstr ""
  47903. #. type: Plain text
  47904. #: guix-git/doc/guix.texi:32256
  47905. 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}."
  47906. msgstr ""
  47907. #. type: deffn
  47908. #: guix-git/doc/guix.texi:32257
  47909. #, no-wrap
  47910. msgid "{Scheme Variable} kernel-module-loader-service-type"
  47911. msgstr ""
  47912. #. type: deffn
  47913. #: guix-git/doc/guix.texi:32263
  47914. 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:"
  47915. msgstr ""
  47916. #. type: lisp
  47917. #: guix-git/doc/guix.texi:32268
  47918. #, no-wrap
  47919. msgid ""
  47920. "(use-modules (gnu) (gnu services))\n"
  47921. "(use-package-modules linux)\n"
  47922. "(use-service-modules linux)\n"
  47923. "\n"
  47924. msgstr ""
  47925. #. type: lisp
  47926. #: guix-git/doc/guix.texi:32272
  47927. #, no-wrap
  47928. msgid ""
  47929. "(define ddcci-config\n"
  47930. " (plain-file \"ddcci.conf\"\n"
  47931. " \"options ddcci dyndbg delay=120\"))\n"
  47932. "\n"
  47933. msgstr ""
  47934. #. type: lisp
  47935. #: guix-git/doc/guix.texi:32282
  47936. #, no-wrap
  47937. msgid ""
  47938. "(operating-system\n"
  47939. " ...\n"
  47940. " (services (cons* (service kernel-module-loader-service-type\n"
  47941. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  47942. " (simple-service 'ddcci-config etc-service-type\n"
  47943. " (list `(\"modprobe.d/ddcci.conf\"\n"
  47944. " ,ddcci-config)))\n"
  47945. " %base-services))\n"
  47946. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  47947. msgstr ""
  47948. #. type: cindex
  47949. #: guix-git/doc/guix.texi:32285
  47950. #, no-wrap
  47951. msgid "rasdaemon"
  47952. msgstr ""
  47953. #. type: cindex
  47954. #: guix-git/doc/guix.texi:32286
  47955. #, no-wrap
  47956. msgid "Platform Reliability, Availability and Serviceability daemon"
  47957. msgstr ""
  47958. #. type: subsubheading
  47959. #: guix-git/doc/guix.texi:32287
  47960. #, no-wrap
  47961. msgid "Rasdaemon Service"
  47962. msgstr ""
  47963. #. type: Plain text
  47964. #: guix-git/doc/guix.texi:32292
  47965. 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."
  47966. msgstr ""
  47967. #. type: Plain text
  47968. #: guix-git/doc/guix.texi:32295
  47969. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  47970. msgstr ""
  47971. #. type: Plain text
  47972. #: guix-git/doc/guix.texi:32298
  47973. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  47974. msgstr ""
  47975. #. type: item
  47976. #: guix-git/doc/guix.texi:32300
  47977. #, no-wrap
  47978. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  47979. msgstr ""
  47980. #. type: item
  47981. #: guix-git/doc/guix.texi:32301
  47982. #, no-wrap
  47983. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  47984. msgstr ""
  47985. #. type: itemize
  47986. #: guix-git/doc/guix.texi:32303
  47987. msgid "faults"
  47988. msgstr ""
  47989. #. type: Plain text
  47990. #: guix-git/doc/guix.texi:32307
  47991. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  47992. msgstr ""
  47993. #. type: item
  47994. #: guix-git/doc/guix.texi:32309
  47995. #, no-wrap
  47996. msgid "Generally measured as a percentage of downtime per a period of time, and"
  47997. msgstr ""
  47998. #. type: item
  47999. #: guix-git/doc/guix.texi:32310
  48000. #, no-wrap
  48001. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  48002. msgstr ""
  48003. #. type: Plain text
  48004. #: guix-git/doc/guix.texi:32315
  48005. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  48006. msgstr ""
  48007. #. type: item
  48008. #: guix-git/doc/guix.texi:32317
  48009. #, no-wrap
  48010. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  48011. msgstr ""
  48012. #. type: Plain text
  48013. #: guix-git/doc/guix.texi:32322
  48014. msgid "Among the monitoring measures, the most usual ones include:"
  48015. msgstr ""
  48016. #. type: item
  48017. #: guix-git/doc/guix.texi:32324
  48018. #, no-wrap
  48019. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  48020. msgstr ""
  48021. #. type: item
  48022. #: guix-git/doc/guix.texi:32325
  48023. #, no-wrap
  48024. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  48025. msgstr ""
  48026. #. type: item
  48027. #: guix-git/doc/guix.texi:32326
  48028. #, no-wrap
  48029. msgid "I/O – add CRC checksums for transferred data;"
  48030. msgstr ""
  48031. #. type: item
  48032. #: guix-git/doc/guix.texi:32327
  48033. #, no-wrap
  48034. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  48035. msgstr ""
  48036. #. type: itemize
  48037. #: guix-git/doc/guix.texi:32329
  48038. msgid "Analysis and Reporting Technology (SMART)."
  48039. msgstr ""
  48040. #. type: Plain text
  48041. #: guix-git/doc/guix.texi:32335
  48042. 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."
  48043. msgstr ""
  48044. #. type: Plain text
  48045. #: guix-git/doc/guix.texi:32339
  48046. 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}."
  48047. msgstr ""
  48048. #. type: defvr
  48049. #: guix-git/doc/guix.texi:32340
  48050. #, no-wrap
  48051. msgid "{Scheme Variable} rasdaemon-service-type"
  48052. msgstr ""
  48053. #. type: defvr
  48054. #: guix-git/doc/guix.texi:32343
  48055. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  48056. msgstr ""
  48057. #. type: lisp
  48058. #: guix-git/doc/guix.texi:32346
  48059. #, no-wrap
  48060. msgid "(service rasdaemon-service-type)\n"
  48061. msgstr ""
  48062. #. type: defvr
  48063. #: guix-git/doc/guix.texi:32350
  48064. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  48065. msgstr ""
  48066. #. type: deftp
  48067. #: guix-git/doc/guix.texi:32352
  48068. #, no-wrap
  48069. msgid "{Data Type} rasdaemon-configuration"
  48070. msgstr ""
  48071. #. type: deftp
  48072. #: guix-git/doc/guix.texi:32354
  48073. msgid "The data type representing the configuration of @command{rasdaemon}."
  48074. msgstr ""
  48075. #. type: item
  48076. #: guix-git/doc/guix.texi:32356
  48077. #, no-wrap
  48078. msgid "@code{record?} (default: @code{#f})"
  48079. msgstr ""
  48080. #. type: table
  48081. #: guix-git/doc/guix.texi:32361
  48082. 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}."
  48083. msgstr ""
  48084. #. type: cindex
  48085. #: guix-git/doc/guix.texi:32365
  48086. #, no-wrap
  48087. msgid "zram"
  48088. msgstr ""
  48089. #. type: cindex
  48090. #: guix-git/doc/guix.texi:32366
  48091. #, no-wrap
  48092. msgid "compressed swap"
  48093. msgstr ""
  48094. #. type: cindex
  48095. #: guix-git/doc/guix.texi:32367
  48096. #, no-wrap
  48097. msgid "Compressed RAM-based block devices"
  48098. msgstr ""
  48099. #. type: subsubheading
  48100. #: guix-git/doc/guix.texi:32368
  48101. #, no-wrap
  48102. msgid "Zram Device Service"
  48103. msgstr ""
  48104. #. type: Plain text
  48105. #: guix-git/doc/guix.texi:32374
  48106. 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."
  48107. msgstr ""
  48108. #. type: deffn
  48109. #: guix-git/doc/guix.texi:32375
  48110. #, no-wrap
  48111. msgid "{Scheme Variable} zram-device-service-type"
  48112. msgstr ""
  48113. #. type: deffn
  48114. #: guix-git/doc/guix.texi:32379
  48115. 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."
  48116. msgstr ""
  48117. #. type: deftp
  48118. #: guix-git/doc/guix.texi:32380
  48119. #, no-wrap
  48120. msgid "{Data Type} zram-device-configuration"
  48121. msgstr ""
  48122. #. type: deftp
  48123. #: guix-git/doc/guix.texi:32383
  48124. msgid "This is the data type representing the configuration for the zram-device service."
  48125. msgstr ""
  48126. #. type: item
  48127. #: guix-git/doc/guix.texi:32385
  48128. #, no-wrap
  48129. msgid "@code{size} (default @code{\"1G\"})"
  48130. msgstr ""
  48131. #. type: table
  48132. #: guix-git/doc/guix.texi:32389
  48133. 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}."
  48134. msgstr ""
  48135. #. type: item
  48136. #: guix-git/doc/guix.texi:32389
  48137. #, no-wrap
  48138. msgid "@code{compression-algorithm} (default @code{'lzo})"
  48139. msgstr ""
  48140. #. type: table
  48141. #: guix-git/doc/guix.texi:32393
  48142. 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}."
  48143. msgstr ""
  48144. #. type: item
  48145. #: guix-git/doc/guix.texi:32393
  48146. #, no-wrap
  48147. msgid "@code{memory-limit} (default @code{0})"
  48148. msgstr ""
  48149. #. type: table
  48150. #: guix-git/doc/guix.texi:32400
  48151. 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\"}."
  48152. msgstr ""
  48153. #. type: item
  48154. #: guix-git/doc/guix.texi:32400
  48155. #, no-wrap
  48156. msgid "@code{priority} (default @code{-1})"
  48157. msgstr ""
  48158. #. type: table
  48159. #: guix-git/doc/guix.texi:32405
  48160. 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."
  48161. msgstr ""
  48162. #. type: defvr
  48163. #: guix-git/doc/guix.texi:32413
  48164. #, no-wrap
  48165. msgid "{Scheme Variable} hurd-console-service-type"
  48166. msgstr ""
  48167. #. type: defvr
  48168. #: guix-git/doc/guix.texi:32415
  48169. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  48170. msgstr ""
  48171. #. type: defvr
  48172. #: guix-git/doc/guix.texi:32417
  48173. msgid "The service's value is a @code{hurd-console-configuration} record."
  48174. msgstr ""
  48175. #. type: deftp
  48176. #: guix-git/doc/guix.texi:32419
  48177. #, no-wrap
  48178. msgid "{Data Type} hurd-console-configuration"
  48179. msgstr ""
  48180. #. type: deftp
  48181. #: guix-git/doc/guix.texi:32422
  48182. msgid "This is the data type representing the configuration for the hurd-console-service."
  48183. msgstr ""
  48184. #. type: item
  48185. #: guix-git/doc/guix.texi:32424 guix-git/doc/guix.texi:32440
  48186. #, no-wrap
  48187. msgid "@code{hurd} (default: @var{hurd})"
  48188. msgstr ""
  48189. #. type: table
  48190. #: guix-git/doc/guix.texi:32426 guix-git/doc/guix.texi:32442
  48191. msgid "The Hurd package to use."
  48192. msgstr ""
  48193. #. type: defvr
  48194. #: guix-git/doc/guix.texi:32429
  48195. #, no-wrap
  48196. msgid "{Scheme Variable} hurd-getty-service-type"
  48197. msgstr ""
  48198. #. type: defvr
  48199. #: guix-git/doc/guix.texi:32431
  48200. msgid "This service starts a tty using the Hurd @code{getty} program."
  48201. msgstr ""
  48202. #. type: defvr
  48203. #: guix-git/doc/guix.texi:32433
  48204. msgid "The service's value is a @code{hurd-getty-configuration} record."
  48205. msgstr ""
  48206. #. type: deftp
  48207. #: guix-git/doc/guix.texi:32435
  48208. #, no-wrap
  48209. msgid "{Data Type} hurd-getty-configuration"
  48210. msgstr ""
  48211. #. type: deftp
  48212. #: guix-git/doc/guix.texi:32438
  48213. msgid "This is the data type representing the configuration for the hurd-getty-service."
  48214. msgstr ""
  48215. #. type: table
  48216. #: guix-git/doc/guix.texi:32445
  48217. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  48218. msgstr ""
  48219. #. type: item
  48220. #: guix-git/doc/guix.texi:32446
  48221. #, no-wrap
  48222. msgid "@code{baud-rate} (default: @code{38400})"
  48223. msgstr ""
  48224. #. type: table
  48225. #: guix-git/doc/guix.texi:32448
  48226. msgid "An integer specifying the baud rate of the tty."
  48227. msgstr ""
  48228. #. type: cindex
  48229. #: guix-git/doc/guix.texi:32455
  48230. #, no-wrap
  48231. msgid "fingerprint"
  48232. msgstr ""
  48233. #. type: subsubheading
  48234. #: guix-git/doc/guix.texi:32456
  48235. #, no-wrap
  48236. msgid "Fingerprint Service"
  48237. msgstr ""
  48238. #. type: Plain text
  48239. #: guix-git/doc/guix.texi:32460
  48240. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  48241. msgstr ""
  48242. #. type: defvr
  48243. #: guix-git/doc/guix.texi:32461
  48244. #, no-wrap
  48245. msgid "{Scheme Variable} fprintd-service-type"
  48246. msgstr ""
  48247. #. type: defvr
  48248. #: guix-git/doc/guix.texi:32464
  48249. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  48250. msgstr ""
  48251. #. type: lisp
  48252. #: guix-git/doc/guix.texi:32467
  48253. #, no-wrap
  48254. msgid "(service fprintd-service-type)\n"
  48255. msgstr ""
  48256. #. type: cindex
  48257. #: guix-git/doc/guix.texi:32470
  48258. #, no-wrap
  48259. msgid "sysctl"
  48260. msgstr ""
  48261. #. type: subsubheading
  48262. #: guix-git/doc/guix.texi:32471
  48263. #, no-wrap
  48264. msgid "System Control Service"
  48265. msgstr ""
  48266. #. type: Plain text
  48267. #: guix-git/doc/guix.texi:32475
  48268. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  48269. msgstr ""
  48270. #. type: defvr
  48271. #: guix-git/doc/guix.texi:32476
  48272. #, no-wrap
  48273. msgid "{Scheme Variable} sysctl-service-type"
  48274. msgstr ""
  48275. #. type: defvr
  48276. #: guix-git/doc/guix.texi:32480
  48277. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  48278. msgstr ""
  48279. #. type: lisp
  48280. #: guix-git/doc/guix.texi:32485
  48281. #, no-wrap
  48282. msgid ""
  48283. "(service sysctl-service-type\n"
  48284. " (sysctl-configuration\n"
  48285. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  48286. msgstr ""
  48287. #. type: defvr
  48288. #: guix-git/doc/guix.texi:32492
  48289. 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}})."
  48290. msgstr ""
  48291. #. type: lisp
  48292. #: guix-git/doc/guix.texi:32499
  48293. #, no-wrap
  48294. msgid ""
  48295. "(modify-services %base-services\n"
  48296. " (sysctl-service-type config =>\n"
  48297. " (sysctl-configuration\n"
  48298. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  48299. " %default-sysctl-settings)))))\n"
  48300. msgstr ""
  48301. #. type: deftp
  48302. #: guix-git/doc/guix.texi:32503
  48303. #, no-wrap
  48304. msgid "{Data Type} sysctl-configuration"
  48305. msgstr ""
  48306. #. type: deftp
  48307. #: guix-git/doc/guix.texi:32505
  48308. msgid "The data type representing the configuration of @command{sysctl}."
  48309. msgstr ""
  48310. #. type: item
  48311. #: guix-git/doc/guix.texi:32507
  48312. #, no-wrap
  48313. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  48314. msgstr ""
  48315. #. type: table
  48316. #: guix-git/doc/guix.texi:32509
  48317. msgid "The @command{sysctl} executable to use."
  48318. msgstr ""
  48319. #. type: item
  48320. #: guix-git/doc/guix.texi:32510
  48321. #, no-wrap
  48322. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  48323. msgstr ""
  48324. #. type: table
  48325. #: guix-git/doc/guix.texi:32512
  48326. msgid "An association list specifies kernel parameters and their values."
  48327. msgstr ""
  48328. #. type: defvr
  48329. #: guix-git/doc/guix.texi:32515
  48330. #, no-wrap
  48331. msgid "{Scheme Variable} %default-sysctl-settings"
  48332. msgstr ""
  48333. #. type: defvr
  48334. #: guix-git/doc/guix.texi:32518
  48335. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  48336. msgstr ""
  48337. #. type: cindex
  48338. #: guix-git/doc/guix.texi:32520
  48339. #, no-wrap
  48340. msgid "pcscd"
  48341. msgstr ""
  48342. #. type: subsubheading
  48343. #: guix-git/doc/guix.texi:32521
  48344. #, no-wrap
  48345. msgid "PC/SC Smart Card Daemon Service"
  48346. msgstr ""
  48347. #. type: Plain text
  48348. #: guix-git/doc/guix.texi:32528
  48349. 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."
  48350. msgstr ""
  48351. #. type: defvr
  48352. #: guix-git/doc/guix.texi:32529
  48353. #, no-wrap
  48354. msgid "{Scheme Variable} pcscd-service-type"
  48355. msgstr ""
  48356. #. type: defvr
  48357. #: guix-git/doc/guix.texi:32533
  48358. 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:"
  48359. msgstr ""
  48360. #. type: lisp
  48361. #: guix-git/doc/guix.texi:32536
  48362. #, no-wrap
  48363. msgid "(service pcscd-service-type)\n"
  48364. msgstr ""
  48365. #. type: deftp
  48366. #: guix-git/doc/guix.texi:32539
  48367. #, no-wrap
  48368. msgid "{Data Type} pcscd-configuration"
  48369. msgstr ""
  48370. #. type: deftp
  48371. #: guix-git/doc/guix.texi:32541
  48372. msgid "The data type representing the configuration of @command{pcscd}."
  48373. msgstr ""
  48374. #. type: item
  48375. #: guix-git/doc/guix.texi:32543
  48376. #, no-wrap
  48377. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  48378. msgstr ""
  48379. #. type: table
  48380. #: guix-git/doc/guix.texi:32545
  48381. msgid "The pcsc-lite package that provides pcscd."
  48382. msgstr ""
  48383. #. type: item
  48384. #: guix-git/doc/guix.texi:32545
  48385. #, no-wrap
  48386. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  48387. msgstr ""
  48388. #. type: table
  48389. #: guix-git/doc/guix.texi:32548
  48390. 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."
  48391. msgstr ""
  48392. #. type: cindex
  48393. #: guix-git/doc/guix.texi:32551
  48394. #, no-wrap
  48395. msgid "lirc"
  48396. msgstr ""
  48397. #. type: subsubheading
  48398. #: guix-git/doc/guix.texi:32552
  48399. #, no-wrap
  48400. msgid "Lirc Service"
  48401. msgstr ""
  48402. #. type: Plain text
  48403. #: guix-git/doc/guix.texi:32555
  48404. msgid "The @code{(gnu services lirc)} module provides the following service."
  48405. msgstr ""
  48406. #. type: deffn
  48407. #: guix-git/doc/guix.texi:32556
  48408. #, no-wrap
  48409. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  48410. msgstr ""
  48411. #. type: deffn
  48412. #: guix-git/doc/guix.texi:32561
  48413. 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."
  48414. msgstr ""
  48415. #. type: deffn
  48416. #: guix-git/doc/guix.texi:32565
  48417. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  48418. msgstr ""
  48419. #. type: deffn
  48420. #: guix-git/doc/guix.texi:32568
  48421. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  48422. msgstr ""
  48423. #. type: cindex
  48424. #: guix-git/doc/guix.texi:32570
  48425. #, no-wrap
  48426. msgid "spice"
  48427. msgstr ""
  48428. #. type: subsubheading
  48429. #: guix-git/doc/guix.texi:32571
  48430. #, no-wrap
  48431. msgid "Spice Service"
  48432. msgstr ""
  48433. #. type: Plain text
  48434. #: guix-git/doc/guix.texi:32574
  48435. msgid "The @code{(gnu services spice)} module provides the following service."
  48436. msgstr ""
  48437. #. type: deffn
  48438. #: guix-git/doc/guix.texi:32575
  48439. #, no-wrap
  48440. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  48441. msgstr ""
  48442. #. type: deffn
  48443. #: guix-git/doc/guix.texi:32579
  48444. 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."
  48445. msgstr ""
  48446. #. type: cindex
  48447. #: guix-git/doc/guix.texi:32581
  48448. #, no-wrap
  48449. msgid "inputattach"
  48450. msgstr ""
  48451. #. type: subsubheading
  48452. #: guix-git/doc/guix.texi:32582
  48453. #, no-wrap
  48454. msgid "inputattach Service"
  48455. msgstr ""
  48456. #. type: cindex
  48457. #: guix-git/doc/guix.texi:32584
  48458. #, no-wrap
  48459. msgid "tablet input, for Xorg"
  48460. msgstr ""
  48461. #. type: cindex
  48462. #: guix-git/doc/guix.texi:32585
  48463. #, no-wrap
  48464. msgid "touchscreen input, for Xorg"
  48465. msgstr ""
  48466. #. type: Plain text
  48467. #: guix-git/doc/guix.texi:32589
  48468. 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."
  48469. msgstr ""
  48470. #. type: deffn
  48471. #: guix-git/doc/guix.texi:32590
  48472. #, no-wrap
  48473. msgid "{Scheme Variable} inputattach-service-type"
  48474. msgstr ""
  48475. #. type: deffn
  48476. #: guix-git/doc/guix.texi:32593
  48477. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  48478. msgstr ""
  48479. #. type: deftp
  48480. #: guix-git/doc/guix.texi:32595
  48481. #, no-wrap
  48482. msgid "{Data Type} inputattach-configuration"
  48483. msgstr ""
  48484. #. type: item
  48485. #: guix-git/doc/guix.texi:32597
  48486. #, no-wrap
  48487. msgid "@code{device-type} (default: @code{\"wacom\"})"
  48488. msgstr ""
  48489. #. type: table
  48490. #: guix-git/doc/guix.texi:32600
  48491. 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."
  48492. msgstr ""
  48493. #. type: item
  48494. #: guix-git/doc/guix.texi:32601
  48495. #, no-wrap
  48496. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  48497. msgstr ""
  48498. #. type: table
  48499. #: guix-git/doc/guix.texi:32603
  48500. msgid "The device file to connect to the device."
  48501. msgstr ""
  48502. #. type: table
  48503. #: guix-git/doc/guix.texi:32607
  48504. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  48505. msgstr ""
  48506. #. type: item
  48507. #: guix-git/doc/guix.texi:32608
  48508. #, no-wrap
  48509. msgid "@code{log-file} (default: @code{#f})"
  48510. msgstr ""
  48511. #. type: table
  48512. #: guix-git/doc/guix.texi:32610
  48513. msgid "If true, this must be the name of a file to log messages to."
  48514. msgstr ""
  48515. #. type: subsubheading
  48516. #: guix-git/doc/guix.texi:32613
  48517. #, no-wrap
  48518. msgid "Dictionary Service"
  48519. msgstr ""
  48520. #. type: cindex
  48521. #: guix-git/doc/guix.texi:32614
  48522. #, no-wrap
  48523. msgid "dictionary"
  48524. msgstr ""
  48525. #. type: Plain text
  48526. #: guix-git/doc/guix.texi:32616
  48527. msgid "The @code{(gnu services dict)} module provides the following service:"
  48528. msgstr ""
  48529. #. type: defvr
  48530. #: guix-git/doc/guix.texi:32617
  48531. #, no-wrap
  48532. msgid "{Scheme Variable} dicod-service-type"
  48533. msgstr ""
  48534. #. type: defvr
  48535. #: guix-git/doc/guix.texi:32620
  48536. 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})."
  48537. msgstr ""
  48538. #. type: deffn
  48539. #: guix-git/doc/guix.texi:32622
  48540. #, no-wrap
  48541. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  48542. msgstr ""
  48543. #. type: deffn
  48544. #: guix-git/doc/guix.texi:32625
  48545. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  48546. msgstr ""
  48547. #. type: deffn
  48548. #: guix-git/doc/guix.texi:32629
  48549. 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."
  48550. msgstr ""
  48551. #. type: deffn
  48552. #: guix-git/doc/guix.texi:32633
  48553. 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})."
  48554. msgstr ""
  48555. #. type: deftp
  48556. #: guix-git/doc/guix.texi:32635
  48557. #, no-wrap
  48558. msgid "{Data Type} dicod-configuration"
  48559. msgstr ""
  48560. #. type: deftp
  48561. #: guix-git/doc/guix.texi:32637
  48562. msgid "Data type representing the configuration of dicod."
  48563. msgstr ""
  48564. #. type: item
  48565. #: guix-git/doc/guix.texi:32639
  48566. #, no-wrap
  48567. msgid "@code{dico} (default: @var{dico})"
  48568. msgstr ""
  48569. #. type: table
  48570. #: guix-git/doc/guix.texi:32641
  48571. msgid "Package object of the GNU Dico dictionary server."
  48572. msgstr ""
  48573. #. type: item
  48574. #: guix-git/doc/guix.texi:32642
  48575. #, no-wrap
  48576. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  48577. msgstr ""
  48578. #. type: table
  48579. #: guix-git/doc/guix.texi:32646
  48580. 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})."
  48581. msgstr ""
  48582. #. type: item
  48583. #: guix-git/doc/guix.texi:32647
  48584. #, no-wrap
  48585. msgid "@code{handlers} (default: @var{'()})"
  48586. msgstr ""
  48587. #. type: table
  48588. #: guix-git/doc/guix.texi:32649
  48589. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  48590. msgstr ""
  48591. #. type: item
  48592. #: guix-git/doc/guix.texi:32650
  48593. #, no-wrap
  48594. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  48595. msgstr ""
  48596. #. type: table
  48597. #: guix-git/doc/guix.texi:32652
  48598. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  48599. msgstr ""
  48600. #. type: deftp
  48601. #: guix-git/doc/guix.texi:32655
  48602. #, no-wrap
  48603. msgid "{Data Type} dicod-handler"
  48604. msgstr ""
  48605. #. type: deftp
  48606. #: guix-git/doc/guix.texi:32657
  48607. msgid "Data type representing a dictionary handler (module instance)."
  48608. msgstr ""
  48609. #. type: table
  48610. #: guix-git/doc/guix.texi:32661
  48611. msgid "Name of the handler (module instance)."
  48612. msgstr ""
  48613. #. type: item
  48614. #: guix-git/doc/guix.texi:32662
  48615. #, no-wrap
  48616. msgid "@code{module} (default: @var{#f})"
  48617. msgstr ""
  48618. #. type: table
  48619. #: guix-git/doc/guix.texi:32666
  48620. 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})."
  48621. msgstr ""
  48622. #. type: table
  48623. #: guix-git/doc/guix.texi:32669
  48624. msgid "List of strings or gexps representing the arguments for the module handler"
  48625. msgstr ""
  48626. #. type: deftp
  48627. #: guix-git/doc/guix.texi:32672
  48628. #, no-wrap
  48629. msgid "{Data Type} dicod-database"
  48630. msgstr ""
  48631. #. type: deftp
  48632. #: guix-git/doc/guix.texi:32674
  48633. msgid "Data type representing a dictionary database."
  48634. msgstr ""
  48635. #. type: table
  48636. #: guix-git/doc/guix.texi:32678
  48637. msgid "Name of the database, will be used in DICT commands."
  48638. msgstr ""
  48639. #. type: code{#1}
  48640. #: guix-git/doc/guix.texi:32679
  48641. #, no-wrap
  48642. msgid "handler"
  48643. msgstr ""
  48644. #. type: table
  48645. #: guix-git/doc/guix.texi:32682
  48646. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  48647. msgstr ""
  48648. #. type: item
  48649. #: guix-git/doc/guix.texi:32683
  48650. #, no-wrap
  48651. msgid "@code{complex?} (default: @var{#f})"
  48652. msgstr ""
  48653. #. type: table
  48654. #: guix-git/doc/guix.texi:32686
  48655. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  48656. msgstr ""
  48657. #. type: table
  48658. #: guix-git/doc/guix.texi:32690
  48659. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  48660. msgstr ""
  48661. #. type: defvr
  48662. #: guix-git/doc/guix.texi:32693
  48663. #, no-wrap
  48664. msgid "{Scheme Variable} %dicod-database:gcide"
  48665. msgstr ""
  48666. #. type: defvr
  48667. #: guix-git/doc/guix.texi:32696
  48668. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  48669. msgstr ""
  48670. #. type: Plain text
  48671. #: guix-git/doc/guix.texi:32699
  48672. msgid "The following is an example @code{dicod-service} configuration."
  48673. msgstr ""
  48674. #. type: lisp
  48675. #: guix-git/doc/guix.texi:32714
  48676. #, no-wrap
  48677. msgid ""
  48678. "(dicod-service #:config\n"
  48679. " (dicod-configuration\n"
  48680. " (handlers (list (dicod-handler\n"
  48681. " (name \"wordnet\")\n"
  48682. " (module \"dictorg\")\n"
  48683. " (options\n"
  48684. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  48685. " (databases (list (dicod-database\n"
  48686. " (name \"wordnet\")\n"
  48687. " (complex? #t)\n"
  48688. " (handler \"wordnet\")\n"
  48689. " (options '(\"database=wn\")))\n"
  48690. " %dicod-database:gcide))))\n"
  48691. msgstr ""
  48692. #. type: cindex
  48693. #: guix-git/doc/guix.texi:32716
  48694. #, no-wrap
  48695. msgid "Docker"
  48696. msgstr ""
  48697. #. type: subsubheading
  48698. #: guix-git/doc/guix.texi:32717
  48699. #, no-wrap
  48700. msgid "Docker Service"
  48701. msgstr ""
  48702. #. type: Plain text
  48703. #: guix-git/doc/guix.texi:32720
  48704. msgid "The @code{(gnu services docker)} module provides the following services."
  48705. msgstr ""
  48706. #. type: defvr
  48707. #: guix-git/doc/guix.texi:32721
  48708. #, no-wrap
  48709. msgid "{Scheme Variable} docker-service-type"
  48710. msgstr ""
  48711. #. type: defvr
  48712. #: guix-git/doc/guix.texi:32726
  48713. 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."
  48714. msgstr ""
  48715. #. type: deftp
  48716. #: guix-git/doc/guix.texi:32729
  48717. #, no-wrap
  48718. msgid "{Data Type} docker-configuration"
  48719. msgstr ""
  48720. #. type: deftp
  48721. #: guix-git/doc/guix.texi:32731
  48722. msgid "This is the data type representing the configuration of Docker and Containerd."
  48723. msgstr ""
  48724. #. type: item
  48725. #: guix-git/doc/guix.texi:32734
  48726. #, no-wrap
  48727. msgid "@code{docker} (default: @code{docker})"
  48728. msgstr ""
  48729. #. type: table
  48730. #: guix-git/doc/guix.texi:32736
  48731. msgid "The Docker daemon package to use."
  48732. msgstr ""
  48733. #. type: item
  48734. #: guix-git/doc/guix.texi:32737
  48735. #, no-wrap
  48736. msgid "@code{docker-cli} (default: @code{docker-cli})"
  48737. msgstr ""
  48738. #. type: table
  48739. #: guix-git/doc/guix.texi:32739
  48740. msgid "The Docker client package to use."
  48741. msgstr ""
  48742. #. type: item
  48743. #: guix-git/doc/guix.texi:32740
  48744. #, no-wrap
  48745. msgid "@code{containerd} (default: @var{containerd})"
  48746. msgstr ""
  48747. #. type: table
  48748. #: guix-git/doc/guix.texi:32742
  48749. msgid "The Containerd package to use."
  48750. msgstr ""
  48751. #. type: item
  48752. #: guix-git/doc/guix.texi:32743
  48753. #, no-wrap
  48754. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  48755. msgstr ""
  48756. #. type: table
  48757. #: guix-git/doc/guix.texi:32745
  48758. msgid "The Docker user-land networking proxy package to use."
  48759. msgstr ""
  48760. #. type: item
  48761. #: guix-git/doc/guix.texi:32746
  48762. #, no-wrap
  48763. msgid "@code{enable-proxy?} (default @code{#t})"
  48764. msgstr ""
  48765. #. type: table
  48766. #: guix-git/doc/guix.texi:32748
  48767. msgid "Enable or disable the use of the Docker user-land networking proxy."
  48768. msgstr ""
  48769. #. type: item
  48770. #: guix-git/doc/guix.texi:32749
  48771. #, no-wrap
  48772. msgid "@code{debug?} (default @code{#f})"
  48773. msgstr ""
  48774. #. type: table
  48775. #: guix-git/doc/guix.texi:32751
  48776. msgid "Enable or disable debug output."
  48777. msgstr ""
  48778. #. type: item
  48779. #: guix-git/doc/guix.texi:32752
  48780. #, no-wrap
  48781. msgid "@code{enable-iptables?} (default @code{#t})"
  48782. msgstr ""
  48783. #. type: table
  48784. #: guix-git/doc/guix.texi:32754
  48785. msgid "Enable or disable the addition of iptables rules."
  48786. msgstr ""
  48787. #. type: cindex
  48788. #: guix-git/doc/guix.texi:32758
  48789. #, no-wrap
  48790. msgid "Singularity, container service"
  48791. msgstr ""
  48792. #. type: defvr
  48793. #: guix-git/doc/guix.texi:32759
  48794. #, no-wrap
  48795. msgid "{Scheme Variable} singularity-service-type"
  48796. msgstr ""
  48797. #. type: defvr
  48798. #: guix-git/doc/guix.texi:32764
  48799. 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."
  48800. msgstr ""
  48801. #. type: defvr
  48802. #: guix-git/doc/guix.texi:32768
  48803. 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."
  48804. msgstr ""
  48805. #. type: cindex
  48806. #: guix-git/doc/guix.texi:32770
  48807. #, no-wrap
  48808. msgid "Audit"
  48809. msgstr ""
  48810. #. type: subsubheading
  48811. #: guix-git/doc/guix.texi:32771
  48812. #, no-wrap
  48813. msgid "Auditd Service"
  48814. msgstr ""
  48815. #. type: Plain text
  48816. #: guix-git/doc/guix.texi:32774
  48817. msgid "The @code{(gnu services auditd)} module provides the following service."
  48818. msgstr ""
  48819. #. type: defvr
  48820. #: guix-git/doc/guix.texi:32775
  48821. #, no-wrap
  48822. msgid "{Scheme Variable} auditd-service-type"
  48823. msgstr ""
  48824. #. type: defvr
  48825. #: guix-git/doc/guix.texi:32780
  48826. 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."
  48827. msgstr ""
  48828. #. type: defvr
  48829. #: guix-git/doc/guix.texi:32782
  48830. msgid "Examples of things that can be tracked:"
  48831. msgstr ""
  48832. #. type: enumerate
  48833. #: guix-git/doc/guix.texi:32786
  48834. msgid "File accesses"
  48835. msgstr ""
  48836. #. type: enumerate
  48837. #: guix-git/doc/guix.texi:32788
  48838. msgid "System calls"
  48839. msgstr ""
  48840. #. type: enumerate
  48841. #: guix-git/doc/guix.texi:32790
  48842. msgid "Invoked commands"
  48843. msgstr ""
  48844. #. type: enumerate
  48845. #: guix-git/doc/guix.texi:32792
  48846. msgid "Failed login attempts"
  48847. msgstr ""
  48848. #. type: enumerate
  48849. #: guix-git/doc/guix.texi:32794
  48850. msgid "Firewall filtering"
  48851. msgstr ""
  48852. #. type: enumerate
  48853. #: guix-git/doc/guix.texi:32796
  48854. msgid "Network access"
  48855. msgstr ""
  48856. #. type: defvr
  48857. #: guix-git/doc/guix.texi:32807
  48858. 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}."
  48859. msgstr ""
  48860. #. type: deftp
  48861. #: guix-git/doc/guix.texi:32810
  48862. #, no-wrap
  48863. msgid "{Data Type} auditd-configuration"
  48864. msgstr ""
  48865. #. type: deftp
  48866. #: guix-git/doc/guix.texi:32812
  48867. msgid "This is the data type representing the configuration of auditd."
  48868. msgstr ""
  48869. #. type: item
  48870. #: guix-git/doc/guix.texi:32815
  48871. #, no-wrap
  48872. msgid "@code{audit} (default: @code{audit})"
  48873. msgstr ""
  48874. #. type: table
  48875. #: guix-git/doc/guix.texi:32817
  48876. msgid "The audit package to use."
  48877. msgstr ""
  48878. #. type: item
  48879. #: guix-git/doc/guix.texi:32818
  48880. #, no-wrap
  48881. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  48882. msgstr ""
  48883. #. type: table
  48884. #: guix-git/doc/guix.texi:32822
  48885. 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."
  48886. msgstr ""
  48887. #. type: cindex
  48888. #: guix-git/doc/guix.texi:32826
  48889. #, no-wrap
  48890. msgid "rshiny"
  48891. msgstr ""
  48892. #. type: subsubheading
  48893. #: guix-git/doc/guix.texi:32827
  48894. #, no-wrap
  48895. msgid "R-Shiny service"
  48896. msgstr ""
  48897. #. type: Plain text
  48898. #: guix-git/doc/guix.texi:32830
  48899. msgid "The @code{(gnu services science)} module provides the following service."
  48900. msgstr ""
  48901. #. type: defvr
  48902. #: guix-git/doc/guix.texi:32831
  48903. #, no-wrap
  48904. msgid "{Scheme Variable} rshiny-service-type"
  48905. msgstr ""
  48906. #. type: defvr
  48907. #: guix-git/doc/guix.texi:32836
  48908. 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}."
  48909. msgstr ""
  48910. #. type: deftp
  48911. #: guix-git/doc/guix.texi:32837
  48912. #, no-wrap
  48913. msgid "{Data Type} rshiny-configuration"
  48914. msgstr ""
  48915. #. type: deftp
  48916. #: guix-git/doc/guix.texi:32839
  48917. msgid "This is the data type representing the configuration of rshiny."
  48918. msgstr ""
  48919. #. type: item
  48920. #: guix-git/doc/guix.texi:32842
  48921. #, no-wrap
  48922. msgid "@code{package} (default: @code{r-shiny})"
  48923. msgstr ""
  48924. #. type: table
  48925. #: guix-git/doc/guix.texi:32844
  48926. msgid "The package to use."
  48927. msgstr ""
  48928. #. type: item
  48929. #: guix-git/doc/guix.texi:32845
  48930. #, no-wrap
  48931. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  48932. msgstr ""
  48933. #. type: table
  48934. #: guix-git/doc/guix.texi:32848
  48935. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  48936. msgstr ""
  48937. #. type: table
  48938. #: guix-git/doc/guix.texi:32850
  48939. msgid "The common way to create this file is as follows:"
  48940. msgstr ""
  48941. #. type: lisp
  48942. #: guix-git/doc/guix.texi:32868
  48943. #, no-wrap
  48944. msgid ""
  48945. "@dots{}\n"
  48946. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  48947. " (targetdir (string-append out \"/share/\" ,name))\n"
  48948. " (app (string-append out \"/bin/\" ,name))\n"
  48949. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  48950. " \"/bin/Rscript\")))\n"
  48951. " ;; @dots{}\n"
  48952. " (mkdir-p (string-append out \"/bin\"))\n"
  48953. " (call-with-output-file app\n"
  48954. " (lambda (port)\n"
  48955. " (format port\n"
  48956. "\"#!~a\n"
  48957. "library(shiny)\n"
  48958. "setwd(\\\"~a\\\")\n"
  48959. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  48960. " Rbin targetdir))))\n"
  48961. msgstr ""
  48962. #. type: cindex
  48963. #: guix-git/doc/guix.texi:32874
  48964. #, no-wrap
  48965. msgid "Nix"
  48966. msgstr ""
  48967. #. type: subsubheading
  48968. #: guix-git/doc/guix.texi:32875
  48969. #, no-wrap
  48970. msgid "Nix service"
  48971. msgstr ""
  48972. #. type: Plain text
  48973. #: guix-git/doc/guix.texi:32878
  48974. msgid "The @code{(gnu services nix)} module provides the following service."
  48975. msgstr ""
  48976. #. type: defvr
  48977. #: guix-git/doc/guix.texi:32879
  48978. #, no-wrap
  48979. msgid "{Scheme Variable} nix-service-type"
  48980. msgstr ""
  48981. #. type: defvr
  48982. #: guix-git/doc/guix.texi:32884
  48983. 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:"
  48984. msgstr ""
  48985. #. type: lisp
  48986. #: guix-git/doc/guix.texi:32889
  48987. #, no-wrap
  48988. msgid ""
  48989. "(use-modules (gnu))\n"
  48990. "(use-service-modules nix)\n"
  48991. "(use-package-modules package-management)\n"
  48992. "\n"
  48993. msgstr ""
  48994. #. type: lisp
  48995. #: guix-git/doc/guix.texi:32894
  48996. #, no-wrap
  48997. msgid ""
  48998. "(operating-system\n"
  48999. " ;; @dots{}\n"
  49000. " (packages (append (list nix)\n"
  49001. " %base-packages))\n"
  49002. "\n"
  49003. msgstr ""
  49004. #. type: lisp
  49005. #: guix-git/doc/guix.texi:32897
  49006. #, no-wrap
  49007. msgid ""
  49008. " (services (append (list (service nix-service-type))\n"
  49009. " %base-services)))\n"
  49010. msgstr ""
  49011. #. type: defvr
  49012. #: guix-git/doc/guix.texi:32900
  49013. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  49014. msgstr ""
  49015. #. type: item
  49016. #: guix-git/doc/guix.texi:32902
  49017. #, no-wrap
  49018. msgid "Add a Nix channel and update it. See"
  49019. msgstr ""
  49020. #. type: itemize
  49021. #: guix-git/doc/guix.texi:32904
  49022. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  49023. msgstr ""
  49024. #. type: item
  49025. #: guix-git/doc/guix.texi:32905
  49026. #, no-wrap
  49027. msgid "Create a symlink to your profile and activate Nix profile:"
  49028. msgstr ""
  49029. #. type: example
  49030. #: guix-git/doc/guix.texi:32911
  49031. #, no-wrap
  49032. msgid ""
  49033. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  49034. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  49035. msgstr ""
  49036. #. type: deftp
  49037. #: guix-git/doc/guix.texi:32915
  49038. #, no-wrap
  49039. msgid "{Data Type} nix-configuration"
  49040. msgstr ""
  49041. #. type: deftp
  49042. #: guix-git/doc/guix.texi:32917
  49043. msgid "This data type represents the configuration of the Nix daemon."
  49044. msgstr ""
  49045. #. type: item
  49046. #: guix-git/doc/guix.texi:32919
  49047. #, no-wrap
  49048. msgid "@code{nix} (default: @code{nix})"
  49049. msgstr ""
  49050. #. type: table
  49051. #: guix-git/doc/guix.texi:32921
  49052. msgid "The Nix package to use."
  49053. msgstr ""
  49054. #. type: item
  49055. #: guix-git/doc/guix.texi:32922
  49056. #, no-wrap
  49057. msgid "@code{sandbox} (default: @code{#t})"
  49058. msgstr ""
  49059. #. type: table
  49060. #: guix-git/doc/guix.texi:32924
  49061. msgid "Specifies whether builds are sandboxed by default."
  49062. msgstr ""
  49063. #. type: item
  49064. #: guix-git/doc/guix.texi:32925
  49065. #, no-wrap
  49066. msgid "@code{build-sandbox-items} (default: @code{'()})"
  49067. msgstr ""
  49068. #. type: table
  49069. #: guix-git/doc/guix.texi:32928
  49070. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  49071. msgstr ""
  49072. #. type: table
  49073. #: guix-git/doc/guix.texi:32936
  49074. msgid "Extra command line options for @code{nix-service-type}."
  49075. msgstr ""
  49076. #. type: cindex
  49077. #: guix-git/doc/guix.texi:32942
  49078. #, no-wrap
  49079. msgid "setuid programs"
  49080. msgstr ""
  49081. #. type: Plain text
  49082. #: guix-git/doc/guix.texi:32952
  49083. 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)."
  49084. msgstr ""
  49085. #. type: Plain text
  49086. #: guix-git/doc/guix.texi:32959
  49087. 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."
  49088. msgstr ""
  49089. #. type: Plain text
  49090. #: guix-git/doc/guix.texi:32966
  49091. 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{passwd} program, which is part of the Shadow package, with a setuid root can be designated like this:"
  49092. msgstr ""
  49093. #. type: example
  49094. #: guix-git/doc/guix.texi:32970
  49095. #, no-wrap
  49096. msgid ""
  49097. "(setuid-program\n"
  49098. " (program (file-append shadow \"/bin/passwd\")))\n"
  49099. msgstr ""
  49100. #. type: deftp
  49101. #: guix-git/doc/guix.texi:32972
  49102. #, no-wrap
  49103. msgid "{Data Type} setuid-program"
  49104. msgstr ""
  49105. #. type: deftp
  49106. #: guix-git/doc/guix.texi:32974
  49107. msgid "This data type represents a program with a setuid or setgid bit set."
  49108. msgstr ""
  49109. #. type: code{#1}
  49110. #: guix-git/doc/guix.texi:32976
  49111. #, no-wrap
  49112. msgid "program"
  49113. msgstr ""
  49114. #. type: table
  49115. #: guix-git/doc/guix.texi:32978
  49116. msgid "A file-like object having its setuid and/or setgid bit set."
  49117. msgstr ""
  49118. #. type: item
  49119. #: guix-git/doc/guix.texi:32979
  49120. #, no-wrap
  49121. msgid "@code{setuid?} (default: @code{#t})"
  49122. msgstr ""
  49123. #. type: table
  49124. #: guix-git/doc/guix.texi:32981
  49125. msgid "Whether to set user setuid bit."
  49126. msgstr ""
  49127. #. type: item
  49128. #: guix-git/doc/guix.texi:32982
  49129. #, no-wrap
  49130. msgid "@code{setgid?} (default: @code{#f})"
  49131. msgstr ""
  49132. #. type: table
  49133. #: guix-git/doc/guix.texi:32984
  49134. msgid "Whether to set group setgid bit."
  49135. msgstr ""
  49136. #. type: item
  49137. #: guix-git/doc/guix.texi:32985
  49138. #, no-wrap
  49139. msgid "@code{user} (default: @code{0})"
  49140. msgstr ""
  49141. #. type: table
  49142. #: guix-git/doc/guix.texi:32988
  49143. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  49144. msgstr ""
  49145. #. type: item
  49146. #: guix-git/doc/guix.texi:32989
  49147. #, no-wrap
  49148. msgid "@code{group} (default: @code{0})"
  49149. msgstr ""
  49150. #. type: table
  49151. #: guix-git/doc/guix.texi:32992
  49152. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  49153. msgstr ""
  49154. #. type: Plain text
  49155. #: guix-git/doc/guix.texi:32998
  49156. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  49157. msgstr ""
  49158. #. type: defvr
  49159. #: guix-git/doc/guix.texi:32999
  49160. #, no-wrap
  49161. msgid "{Scheme Variable} %setuid-programs"
  49162. msgstr ""
  49163. #. type: defvr
  49164. #: guix-git/doc/guix.texi:33002
  49165. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  49166. msgstr ""
  49167. #. type: defvr
  49168. #: guix-git/doc/guix.texi:33005
  49169. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  49170. msgstr ""
  49171. #. type: Plain text
  49172. #: guix-git/doc/guix.texi:33011
  49173. 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."
  49174. msgstr ""
  49175. #. type: cindex
  49176. #: guix-git/doc/guix.texi:33015
  49177. #, no-wrap
  49178. msgid "HTTPS, certificates"
  49179. msgstr ""
  49180. #. type: cindex
  49181. #: guix-git/doc/guix.texi:33016
  49182. #, no-wrap
  49183. msgid "X.509 certificates"
  49184. msgstr ""
  49185. #. type: cindex
  49186. #: guix-git/doc/guix.texi:33017
  49187. #, no-wrap
  49188. msgid "TLS"
  49189. msgstr ""
  49190. #. type: Plain text
  49191. #: guix-git/doc/guix.texi:33024
  49192. 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."
  49193. msgstr ""
  49194. #. type: Plain text
  49195. #: guix-git/doc/guix.texi:33028
  49196. 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."
  49197. msgstr ""
  49198. #. type: Plain text
  49199. #: guix-git/doc/guix.texi:33032
  49200. 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."
  49201. msgstr ""
  49202. #. type: Plain text
  49203. #: guix-git/doc/guix.texi:33039
  49204. 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."
  49205. msgstr ""
  49206. #. type: Plain text
  49207. #: guix-git/doc/guix.texi:33044
  49208. 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."
  49209. msgstr ""
  49210. #. type: Plain text
  49211. #: guix-git/doc/guix.texi:33054
  49212. 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:"
  49213. msgstr ""
  49214. #. type: example
  49215. #: guix-git/doc/guix.texi:33060
  49216. #, no-wrap
  49217. msgid ""
  49218. "guix install nss-certs\n"
  49219. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  49220. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  49221. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  49222. msgstr ""
  49223. #. type: Plain text
  49224. #: guix-git/doc/guix.texi:33065
  49225. 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:"
  49226. msgstr ""
  49227. #. type: example
  49228. #: guix-git/doc/guix.texi:33069
  49229. #, no-wrap
  49230. msgid ""
  49231. "guix install nss-certs\n"
  49232. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  49233. msgstr ""
  49234. #. type: Plain text
  49235. #: guix-git/doc/guix.texi:33073
  49236. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  49237. msgstr ""
  49238. #. type: cindex
  49239. #: guix-git/doc/guix.texi:33078
  49240. #, no-wrap
  49241. msgid "name service switch"
  49242. msgstr ""
  49243. #. type: cindex
  49244. #: guix-git/doc/guix.texi:33079
  49245. #, no-wrap
  49246. msgid "NSS"
  49247. msgstr ""
  49248. #. type: Plain text
  49249. #: guix-git/doc/guix.texi:33088
  49250. 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})."
  49251. msgstr ""
  49252. #. type: Plain text
  49253. #: guix-git/doc/guix.texi:33095
  49254. 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}})."
  49255. msgstr ""
  49256. #. type: cindex
  49257. #: guix-git/doc/guix.texi:33096
  49258. #, no-wrap
  49259. msgid "nss-mdns"
  49260. msgstr ""
  49261. #. type: cindex
  49262. #: guix-git/doc/guix.texi:33097
  49263. #, no-wrap
  49264. msgid ".local, host name lookup"
  49265. msgstr ""
  49266. #. type: Plain text
  49267. #: guix-git/doc/guix.texi:33102
  49268. 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}:"
  49269. msgstr ""
  49270. #. type: lisp
  49271. #: guix-git/doc/guix.texi:33106
  49272. #, no-wrap
  49273. msgid ""
  49274. "(name-service-switch\n"
  49275. " (hosts (list %files ;first, check /etc/hosts\n"
  49276. "\n"
  49277. msgstr ""
  49278. #. type: lisp
  49279. #: guix-git/doc/guix.texi:33111
  49280. #, no-wrap
  49281. msgid ""
  49282. " ;; If the above did not succeed, try\n"
  49283. " ;; with 'mdns_minimal'.\n"
  49284. " (name-service\n"
  49285. " (name \"mdns_minimal\")\n"
  49286. "\n"
  49287. msgstr ""
  49288. #. type: lisp
  49289. #: guix-git/doc/guix.texi:33117
  49290. #, no-wrap
  49291. msgid ""
  49292. " ;; 'mdns_minimal' is authoritative for\n"
  49293. " ;; '.local'. When it returns \"not found\",\n"
  49294. " ;; no need to try the next methods.\n"
  49295. " (reaction (lookup-specification\n"
  49296. " (not-found => return))))\n"
  49297. "\n"
  49298. msgstr ""
  49299. #. type: lisp
  49300. #: guix-git/doc/guix.texi:33121
  49301. #, no-wrap
  49302. msgid ""
  49303. " ;; Then fall back to DNS.\n"
  49304. " (name-service\n"
  49305. " (name \"dns\"))\n"
  49306. "\n"
  49307. msgstr ""
  49308. #. type: lisp
  49309. #: guix-git/doc/guix.texi:33125
  49310. #, no-wrap
  49311. msgid ""
  49312. " ;; Finally, try with the \"full\" 'mdns'.\n"
  49313. " (name-service\n"
  49314. " (name \"mdns\")))))\n"
  49315. msgstr ""
  49316. #. type: Plain text
  49317. #: guix-git/doc/guix.texi:33130
  49318. 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."
  49319. msgstr ""
  49320. #. type: Plain text
  49321. #: guix-git/doc/guix.texi:33138
  49322. 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}})."
  49323. msgstr ""
  49324. #. type: Plain text
  49325. #: guix-git/doc/guix.texi:33141
  49326. msgid "For convenience, the following variables provide typical NSS configurations."
  49327. msgstr ""
  49328. #. type: defvr
  49329. #: guix-git/doc/guix.texi:33142
  49330. #, no-wrap
  49331. msgid "{Scheme Variable} %default-nss"
  49332. msgstr ""
  49333. #. type: defvr
  49334. #: guix-git/doc/guix.texi:33145
  49335. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  49336. msgstr ""
  49337. #. type: defvr
  49338. #: guix-git/doc/guix.texi:33147
  49339. #, no-wrap
  49340. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  49341. msgstr ""
  49342. #. type: defvr
  49343. #: guix-git/doc/guix.texi:33150
  49344. 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}."
  49345. msgstr ""
  49346. #. type: Plain text
  49347. #: guix-git/doc/guix.texi:33160
  49348. 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}."
  49349. msgstr ""
  49350. #. type: deftp
  49351. #: guix-git/doc/guix.texi:33161
  49352. #, no-wrap
  49353. msgid "{Data Type} name-service-switch"
  49354. msgstr ""
  49355. #. type: deftp
  49356. #: guix-git/doc/guix.texi:33166
  49357. 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."
  49358. msgstr ""
  49359. #. type: item
  49360. #: guix-git/doc/guix.texi:33168
  49361. #, no-wrap
  49362. msgid "aliases"
  49363. msgstr ""
  49364. #. type: itemx
  49365. #: guix-git/doc/guix.texi:33169
  49366. #, no-wrap
  49367. msgid "ethers"
  49368. msgstr ""
  49369. #. type: itemx
  49370. #: guix-git/doc/guix.texi:33171
  49371. #, no-wrap
  49372. msgid "gshadow"
  49373. msgstr ""
  49374. #. type: itemx
  49375. #: guix-git/doc/guix.texi:33172
  49376. #, no-wrap
  49377. msgid "hosts"
  49378. msgstr ""
  49379. #. type: itemx
  49380. #: guix-git/doc/guix.texi:33173
  49381. #, no-wrap
  49382. msgid "initgroups"
  49383. msgstr ""
  49384. #. type: itemx
  49385. #: guix-git/doc/guix.texi:33174
  49386. #, no-wrap
  49387. msgid "netgroup"
  49388. msgstr ""
  49389. #. type: itemx
  49390. #: guix-git/doc/guix.texi:33175
  49391. #, no-wrap
  49392. msgid "networks"
  49393. msgstr ""
  49394. #. type: itemx
  49395. #: guix-git/doc/guix.texi:33178
  49396. #, no-wrap
  49397. msgid "rpc"
  49398. msgstr ""
  49399. #. type: itemx
  49400. #: guix-git/doc/guix.texi:33180
  49401. #, no-wrap
  49402. msgid "shadow"
  49403. msgstr ""
  49404. #. type: table
  49405. #: guix-git/doc/guix.texi:33183
  49406. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  49407. msgstr ""
  49408. #. type: deftp
  49409. #: guix-git/doc/guix.texi:33186
  49410. #, no-wrap
  49411. msgid "{Data Type} name-service"
  49412. msgstr ""
  49413. #. type: deftp
  49414. #: guix-git/doc/guix.texi:33190
  49415. msgid "This is the data type representing an actual name service and the associated lookup action."
  49416. msgstr ""
  49417. #. type: table
  49418. #: guix-git/doc/guix.texi:33195
  49419. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  49420. msgstr ""
  49421. #. type: table
  49422. #: guix-git/doc/guix.texi:33200
  49423. 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}})."
  49424. msgstr ""
  49425. #. type: item
  49426. #: guix-git/doc/guix.texi:33201
  49427. #, no-wrap
  49428. msgid "reaction"
  49429. msgstr ""
  49430. #. type: table
  49431. #: guix-git/doc/guix.texi:33205
  49432. 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:"
  49433. msgstr ""
  49434. #. type: lisp
  49435. #: guix-git/doc/guix.texi:33209
  49436. #, no-wrap
  49437. msgid ""
  49438. "(lookup-specification (unavailable => continue)\n"
  49439. " (success => return))\n"
  49440. msgstr ""
  49441. #. type: Plain text
  49442. #: guix-git/doc/guix.texi:33223
  49443. 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."
  49444. msgstr ""
  49445. #. type: Plain text
  49446. #: guix-git/doc/guix.texi:33232
  49447. 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:"
  49448. msgstr ""
  49449. #. type: lisp
  49450. #: guix-git/doc/guix.texi:33237
  49451. #, no-wrap
  49452. msgid ""
  49453. "(operating-system\n"
  49454. " ;; @dots{}\n"
  49455. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  49456. msgstr ""
  49457. #. type: defvr
  49458. #: guix-git/doc/guix.texi:33239
  49459. #, no-wrap
  49460. msgid "{Scheme Variable} %base-initrd-modules"
  49461. msgstr ""
  49462. #. type: defvr
  49463. #: guix-git/doc/guix.texi:33241
  49464. msgid "This is the list of kernel modules included in the initrd by default."
  49465. msgstr ""
  49466. #. type: Plain text
  49467. #: guix-git/doc/guix.texi:33249
  49468. 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."
  49469. msgstr ""
  49470. #. type: Plain text
  49471. #: guix-git/doc/guix.texi:33254
  49472. 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:"
  49473. msgstr ""
  49474. #. type: lisp
  49475. #: guix-git/doc/guix.texi:33262
  49476. #, no-wrap
  49477. msgid ""
  49478. "(initrd (lambda (file-systems . rest)\n"
  49479. " ;; Create a standard initrd but set up networking\n"
  49480. " ;; with the parameters QEMU expects by default.\n"
  49481. " (apply base-initrd file-systems\n"
  49482. " #:qemu-networking? #t\n"
  49483. " rest)))\n"
  49484. msgstr ""
  49485. #. type: Plain text
  49486. #: guix-git/doc/guix.texi:33267
  49487. 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."
  49488. msgstr ""
  49489. #. type: Plain text
  49490. #: guix-git/doc/guix.texi:33274
  49491. 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."
  49492. msgstr ""
  49493. #. type: Plain text
  49494. #: guix-git/doc/guix.texi:33279
  49495. 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:"
  49496. msgstr ""
  49497. #. type: item
  49498. #: guix-git/doc/guix.texi:33281
  49499. #, no-wrap
  49500. msgid "--load=@var{boot}"
  49501. msgstr ""
  49502. #. type: table
  49503. #: guix-git/doc/guix.texi:33284
  49504. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  49505. msgstr ""
  49506. #. type: table
  49507. #: guix-git/doc/guix.texi:33288
  49508. 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."
  49509. msgstr ""
  49510. #. type: item
  49511. #: guix-git/doc/guix.texi:33289
  49512. #, no-wrap
  49513. msgid "--root=@var{root}"
  49514. msgstr ""
  49515. #. type: table
  49516. #: guix-git/doc/guix.texi:33294
  49517. 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."
  49518. msgstr ""
  49519. #. type: item
  49520. #: guix-git/doc/guix.texi:33295
  49521. #, no-wrap
  49522. msgid "fsck.mode=@var{mode}"
  49523. msgstr ""
  49524. #. type: table
  49525. #: guix-git/doc/guix.texi:33301
  49526. 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."
  49527. msgstr ""
  49528. #. type: table
  49529. #: guix-git/doc/guix.texi:33304
  49530. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  49531. msgstr ""
  49532. #. type: item
  49533. #: guix-git/doc/guix.texi:33305
  49534. #, no-wrap
  49535. msgid "fsck.repair=@var{level}"
  49536. msgstr ""
  49537. #. type: table
  49538. #: guix-git/doc/guix.texi:33310
  49539. 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."
  49540. msgstr ""
  49541. #. type: table
  49542. #: guix-git/doc/guix.texi:33313
  49543. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  49544. msgstr ""
  49545. #. type: table
  49546. #: guix-git/doc/guix.texi:33317
  49547. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  49548. msgstr ""
  49549. #. type: item
  49550. #: guix-git/doc/guix.texi:33318
  49551. #, no-wrap
  49552. msgid "modprobe.blacklist=@var{modules}@dots{}"
  49553. msgstr ""
  49554. #. type: cindex
  49555. #: guix-git/doc/guix.texi:33319
  49556. #, no-wrap
  49557. msgid "module, black-listing"
  49558. msgstr ""
  49559. #. type: cindex
  49560. #: guix-git/doc/guix.texi:33320
  49561. #, no-wrap
  49562. msgid "black list, of kernel modules"
  49563. msgstr ""
  49564. #. type: table
  49565. #: guix-git/doc/guix.texi:33325
  49566. 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}."
  49567. msgstr ""
  49568. #. type: item
  49569. #: guix-git/doc/guix.texi:33326
  49570. #, no-wrap
  49571. msgid "--repl"
  49572. msgstr ""
  49573. #. type: table
  49574. #: guix-git/doc/guix.texi:33332
  49575. 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."
  49576. msgstr ""
  49577. #. type: Plain text
  49578. #: guix-git/doc/guix.texi:33338
  49579. 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."
  49580. msgstr ""
  49581. #. type: deffn
  49582. #: guix-git/doc/guix.texi:33341
  49583. #, no-wrap
  49584. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  49585. msgstr ""
  49586. #. type: deffn
  49587. #: guix-git/doc/guix.texi:33355
  49588. 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."
  49589. msgstr ""
  49590. #. type: deffn
  49591. #: guix-git/doc/guix.texi:33361 guix-git/doc/guix.texi:33385
  49592. 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."
  49593. msgstr ""
  49594. #. type: deffn
  49595. #: guix-git/doc/guix.texi:33365
  49596. 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."
  49597. msgstr ""
  49598. #. type: deffn
  49599. #: guix-git/doc/guix.texi:33368
  49600. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  49601. msgstr ""
  49602. #. type: deffn
  49603. #: guix-git/doc/guix.texi:33370
  49604. #, no-wrap
  49605. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  49606. msgstr ""
  49607. #. type: deffn
  49608. #: guix-git/doc/guix.texi:33379
  49609. 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."
  49610. msgstr ""
  49611. #. type: deffn
  49612. #: guix-git/doc/guix.texi:33387
  49613. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  49614. msgstr ""
  49615. #. type: deffn
  49616. #: guix-git/doc/guix.texi:33392
  49617. 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."
  49618. msgstr ""
  49619. #. type: Plain text
  49620. #: guix-git/doc/guix.texi:33399
  49621. 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."
  49622. msgstr ""
  49623. #. type: deffn
  49624. #: guix-git/doc/guix.texi:33400
  49625. #, no-wrap
  49626. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  49627. msgstr ""
  49628. #. type: deffn
  49629. #: guix-git/doc/guix.texi:33406
  49630. 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."
  49631. msgstr ""
  49632. #. type: cindex
  49633. #: guix-git/doc/guix.texi:33412
  49634. #, no-wrap
  49635. msgid "boot loader"
  49636. msgstr ""
  49637. #. type: Plain text
  49638. #: guix-git/doc/guix.texi:33419
  49639. 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."
  49640. msgstr ""
  49641. #. type: Plain text
  49642. #: guix-git/doc/guix.texi:33424
  49643. 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."
  49644. msgstr ""
  49645. #. type: deftp
  49646. #: guix-git/doc/guix.texi:33425
  49647. #, no-wrap
  49648. msgid "{Data Type} bootloader-configuration"
  49649. msgstr ""
  49650. #. type: deftp
  49651. #: guix-git/doc/guix.texi:33427
  49652. msgid "The type of a bootloader configuration declaration."
  49653. msgstr ""
  49654. #. type: cindex
  49655. #: guix-git/doc/guix.texi:33431
  49656. #, no-wrap
  49657. msgid "EFI, bootloader"
  49658. msgstr ""
  49659. #. type: cindex
  49660. #: guix-git/doc/guix.texi:33432
  49661. #, no-wrap
  49662. msgid "UEFI, bootloader"
  49663. msgstr ""
  49664. #. type: cindex
  49665. #: guix-git/doc/guix.texi:33433
  49666. #, no-wrap
  49667. msgid "BIOS, bootloader"
  49668. msgstr ""
  49669. #. type: table
  49670. #: guix-git/doc/guix.texi:33438
  49671. 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."
  49672. msgstr ""
  49673. #. type: cindex
  49674. #: guix-git/doc/guix.texi:33439
  49675. #, no-wrap
  49676. msgid "ARM, bootloaders"
  49677. msgstr ""
  49678. #. type: cindex
  49679. #: guix-git/doc/guix.texi:33440
  49680. #, no-wrap
  49681. msgid "AArch64, bootloaders"
  49682. msgstr ""
  49683. #. type: table
  49684. #: guix-git/doc/guix.texi:33445
  49685. 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}."
  49686. msgstr ""
  49687. #. type: table
  49688. #: guix-git/doc/guix.texi:33451
  49689. 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."
  49690. msgstr ""
  49691. #. type: table
  49692. #: guix-git/doc/guix.texi:33455
  49693. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  49694. msgstr ""
  49695. #. type: vindex
  49696. #: guix-git/doc/guix.texi:33456
  49697. #, no-wrap
  49698. msgid "grub-efi-netboot-bootloader"
  49699. msgstr ""
  49700. #. type: table
  49701. #: guix-git/doc/guix.texi:33460
  49702. 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."
  49703. msgstr ""
  49704. #. type: table
  49705. #: guix-git/doc/guix.texi:33466
  49706. 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."
  49707. msgstr ""
  49708. #. type: table
  49709. #: guix-git/doc/guix.texi:33475
  49710. 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}."
  49711. msgstr ""
  49712. #. type: table
  49713. #: guix-git/doc/guix.texi:33484
  49714. 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."
  49715. msgstr ""
  49716. #. type: table
  49717. #: guix-git/doc/guix.texi:33490
  49718. 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."
  49719. msgstr ""
  49720. #. type: table
  49721. #: guix-git/doc/guix.texi:33495
  49722. 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}."
  49723. msgstr ""
  49724. #. type: table
  49725. #: guix-git/doc/guix.texi:33500
  49726. 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."
  49727. msgstr ""
  49728. #. type: table
  49729. #: guix-git/doc/guix.texi:33505
  49730. 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}."
  49731. msgstr ""
  49732. #. type: table
  49733. #: guix-git/doc/guix.texi:33509
  49734. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  49735. msgstr ""
  49736. #. type: table
  49737. #: guix-git/doc/guix.texi:33519
  49738. 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."
  49739. msgstr ""
  49740. #. type: item
  49741. #: guix-git/doc/guix.texi:33520
  49742. #, no-wrap
  49743. msgid "@code{menu-entries} (default: @code{()})"
  49744. msgstr ""
  49745. #. type: table
  49746. #: guix-git/doc/guix.texi:33524
  49747. 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."
  49748. msgstr ""
  49749. #. type: item
  49750. #: guix-git/doc/guix.texi:33525
  49751. #, no-wrap
  49752. msgid "@code{default-entry} (default: @code{0})"
  49753. msgstr ""
  49754. #. type: table
  49755. #: guix-git/doc/guix.texi:33528
  49756. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  49757. msgstr ""
  49758. #. type: item
  49759. #: guix-git/doc/guix.texi:33529
  49760. #, no-wrap
  49761. msgid "@code{timeout} (default: @code{5})"
  49762. msgstr ""
  49763. #. type: table
  49764. #: guix-git/doc/guix.texi:33532
  49765. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  49766. msgstr ""
  49767. #. type: cindex
  49768. #: guix-git/doc/guix.texi:33533
  49769. #, no-wrap
  49770. msgid "keyboard layout, for the bootloader"
  49771. msgstr ""
  49772. #. type: table
  49773. #: guix-git/doc/guix.texi:33537
  49774. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  49775. msgstr ""
  49776. #. type: table
  49777. #: guix-git/doc/guix.texi:33540
  49778. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  49779. msgstr ""
  49780. #. type: quotation
  49781. #: guix-git/doc/guix.texi:33544
  49782. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  49783. msgstr ""
  49784. #. type: item
  49785. #: guix-git/doc/guix.texi:33546
  49786. #, no-wrap
  49787. msgid "@code{theme} (default: @var{#f})"
  49788. msgstr ""
  49789. #. type: table
  49790. #: guix-git/doc/guix.texi:33550
  49791. 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."
  49792. msgstr ""
  49793. #. type: item
  49794. #: guix-git/doc/guix.texi:33551
  49795. #, no-wrap
  49796. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  49797. msgstr ""
  49798. #. type: table
  49799. #: guix-git/doc/guix.texi:33558
  49800. 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})."
  49801. msgstr ""
  49802. #. type: item
  49803. #: guix-git/doc/guix.texi:33559
  49804. #, no-wrap
  49805. msgid "@code{terminal-inputs} (default: @code{'()})"
  49806. msgstr ""
  49807. #. type: table
  49808. #: guix-git/doc/guix.texi:33567
  49809. 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})."
  49810. msgstr ""
  49811. #. type: item
  49812. #: guix-git/doc/guix.texi:33568
  49813. #, no-wrap
  49814. msgid "@code{serial-unit} (default: @code{#f})"
  49815. msgstr ""
  49816. #. type: table
  49817. #: guix-git/doc/guix.texi:33572
  49818. 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})."
  49819. msgstr ""
  49820. #. type: item
  49821. #: guix-git/doc/guix.texi:33573
  49822. #, no-wrap
  49823. msgid "@code{serial-speed} (default: @code{#f})"
  49824. msgstr ""
  49825. #. type: table
  49826. #: guix-git/doc/guix.texi:33577
  49827. 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})."
  49828. msgstr ""
  49829. #. type: cindex
  49830. #: guix-git/doc/guix.texi:33581
  49831. #, no-wrap
  49832. msgid "dual boot"
  49833. msgstr ""
  49834. #. type: cindex
  49835. #: guix-git/doc/guix.texi:33582
  49836. #, no-wrap
  49837. msgid "boot menu"
  49838. msgstr ""
  49839. #. type: Plain text
  49840. #: guix-git/doc/guix.texi:33588
  49841. 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:"
  49842. msgstr ""
  49843. #. type: lisp
  49844. #: guix-git/doc/guix.texi:33595
  49845. #, no-wrap
  49846. msgid ""
  49847. "(menu-entry\n"
  49848. " (label \"The Other Distro\")\n"
  49849. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  49850. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  49851. " (initrd \"/boot/old/initrd\"))\n"
  49852. msgstr ""
  49853. #. type: Plain text
  49854. #: guix-git/doc/guix.texi:33598
  49855. msgid "Details below."
  49856. msgstr ""
  49857. #. type: deftp
  49858. #: guix-git/doc/guix.texi:33599
  49859. #, no-wrap
  49860. msgid "{Data Type} menu-entry"
  49861. msgstr ""
  49862. #. type: deftp
  49863. #: guix-git/doc/guix.texi:33601
  49864. msgid "The type of an entry in the bootloader menu."
  49865. msgstr ""
  49866. #. type: table
  49867. #: guix-git/doc/guix.texi:33606
  49868. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  49869. msgstr ""
  49870. #. type: item
  49871. #: guix-git/doc/guix.texi:33607
  49872. #, no-wrap
  49873. msgid "@code{linux} (default: @code{#f})"
  49874. msgstr ""
  49875. #. type: table
  49876. #: guix-git/doc/guix.texi:33609
  49877. msgid "The Linux kernel image to boot, for example:"
  49878. msgstr ""
  49879. #. type: lisp
  49880. #: guix-git/doc/guix.texi:33612
  49881. #, no-wrap
  49882. msgid "(file-append linux-libre \"/bzImage\")\n"
  49883. msgstr ""
  49884. #. type: table
  49885. #: guix-git/doc/guix.texi:33617
  49886. 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:"
  49887. msgstr ""
  49888. #. type: example
  49889. #: guix-git/doc/guix.texi:33620
  49890. #, no-wrap
  49891. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  49892. msgstr ""
  49893. #. type: table
  49894. #: guix-git/doc/guix.texi:33624
  49895. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  49896. msgstr ""
  49897. #. type: item
  49898. #: guix-git/doc/guix.texi:33625
  49899. #, no-wrap
  49900. msgid "@code{linux-arguments} (default: @code{()})"
  49901. msgstr ""
  49902. #. type: table
  49903. #: guix-git/doc/guix.texi:33628
  49904. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  49905. msgstr ""
  49906. #. type: item
  49907. #: guix-git/doc/guix.texi:33629
  49908. #, no-wrap
  49909. msgid "@code{initrd} (default: @code{#f})"
  49910. msgstr ""
  49911. #. type: table
  49912. #: guix-git/doc/guix.texi:33632
  49913. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  49914. msgstr ""
  49915. #. type: item
  49916. #: guix-git/doc/guix.texi:33633
  49917. #, no-wrap
  49918. msgid "@code{device} (default: @code{#f})"
  49919. msgstr ""
  49920. #. type: table
  49921. #: guix-git/doc/guix.texi:33636
  49922. 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})."
  49923. msgstr ""
  49924. #. type: table
  49925. #: guix-git/doc/guix.texi:33642
  49926. 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}."
  49927. msgstr ""
  49928. #. type: item
  49929. #: guix-git/doc/guix.texi:33643
  49930. #, no-wrap
  49931. msgid "@code{multiboot-kernel} (default: @code{#f})"
  49932. msgstr ""
  49933. #. type: table
  49934. #: guix-git/doc/guix.texi:33647
  49935. 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:"
  49936. msgstr ""
  49937. #. type: lisp
  49938. #: guix-git/doc/guix.texi:33650
  49939. #, no-wrap
  49940. msgid "(file-append mach \"/boot/gnumach\")\n"
  49941. msgstr ""
  49942. #. type: item
  49943. #: guix-git/doc/guix.texi:33652
  49944. #, no-wrap
  49945. msgid "@code{multiboot-arguments} (default: @code{()})"
  49946. msgstr ""
  49947. #. type: table
  49948. #: guix-git/doc/guix.texi:33654
  49949. msgid "The list of extra command-line arguments for the multiboot-kernel."
  49950. msgstr ""
  49951. #. type: item
  49952. #: guix-git/doc/guix.texi:33655
  49953. #, no-wrap
  49954. msgid "@code{multiboot-modules} (default: @code{()})"
  49955. msgstr ""
  49956. #. type: table
  49957. #: guix-git/doc/guix.texi:33657
  49958. msgid "The list of commands for loading Multiboot modules. For example:"
  49959. msgstr ""
  49960. #. type: lisp
  49961. #: guix-git/doc/guix.texi:33663
  49962. #, no-wrap
  49963. msgid ""
  49964. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  49965. " @dots{})\n"
  49966. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  49967. " @dots{}))\n"
  49968. msgstr ""
  49969. #. type: cindex
  49970. #: guix-git/doc/guix.texi:33668 guix-git/doc/guix.texi:33727
  49971. #, no-wrap
  49972. msgid "HDPI"
  49973. msgstr ""
  49974. #. type: cindex
  49975. #: guix-git/doc/guix.texi:33669 guix-git/doc/guix.texi:33728
  49976. #, no-wrap
  49977. msgid "HiDPI"
  49978. msgstr ""
  49979. #. type: cindex
  49980. #: guix-git/doc/guix.texi:33670 guix-git/doc/guix.texi:33729
  49981. #, no-wrap
  49982. msgid "resolution"
  49983. msgstr ""
  49984. #. type: Plain text
  49985. #: guix-git/doc/guix.texi:33674
  49986. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  49987. msgstr ""
  49988. #. type: deftp
  49989. #: guix-git/doc/guix.texi:33675
  49990. #, no-wrap
  49991. msgid "{Data Type} grub-theme"
  49992. msgstr ""
  49993. #. type: deftp
  49994. #: guix-git/doc/guix.texi:33677
  49995. msgid "Data type representing the configuration of the GRUB theme."
  49996. msgstr ""
  49997. #. type: item
  49998. #: guix-git/doc/guix.texi:33679
  49999. #, no-wrap
  50000. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  50001. msgstr ""
  50002. #. type: table
  50003. #: guix-git/doc/guix.texi:33682
  50004. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  50005. msgstr ""
  50006. #. type: deffn
  50007. #: guix-git/doc/guix.texi:33685
  50008. #, no-wrap
  50009. msgid "{Scheme Procedure} grub-theme"
  50010. msgstr ""
  50011. #. type: deffn
  50012. #: guix-git/doc/guix.texi:33689
  50013. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  50014. msgstr ""
  50015. #. type: deffn
  50016. #: guix-git/doc/guix.texi:33692
  50017. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  50018. msgstr ""
  50019. #. type: Plain text
  50020. #: guix-git/doc/guix.texi:33696
  50021. msgid "For example, to override the default resolution, you may use something like"
  50022. msgstr ""
  50023. #. type: lisp
  50024. #: guix-git/doc/guix.texi:33704
  50025. #, no-wrap
  50026. msgid ""
  50027. "(bootloader\n"
  50028. " (bootloader-configuration\n"
  50029. " ;; @dots{}\n"
  50030. " (theme (grub-theme\n"
  50031. " (inherit (grub-theme))\n"
  50032. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  50033. msgstr ""
  50034. #. type: section
  50035. #: guix-git/doc/guix.texi:33707
  50036. #, no-wrap
  50037. msgid "Invoking @code{guix system}"
  50038. msgstr ""
  50039. #. type: Plain text
  50040. #: guix-git/doc/guix.texi:33712
  50041. 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:"
  50042. msgstr ""
  50043. #. type: example
  50044. #: guix-git/doc/guix.texi:33715
  50045. #, no-wrap
  50046. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  50047. msgstr ""
  50048. #. type: Plain text
  50049. #: guix-git/doc/guix.texi:33721
  50050. 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:"
  50051. msgstr ""
  50052. #. type: item
  50053. #: guix-git/doc/guix.texi:33723 guix-git/doc/guix.texi:35896
  50054. #, no-wrap
  50055. msgid "search"
  50056. msgstr ""
  50057. #. type: table
  50058. #: guix-git/doc/guix.texi:33726
  50059. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  50060. msgstr ""
  50061. #. type: example
  50062. #: guix-git/doc/guix.texi:33748
  50063. #, no-wrap
  50064. msgid ""
  50065. "$ guix system search console\n"
  50066. "name: console-fonts\n"
  50067. "location: gnu/services/base.scm:806:2\n"
  50068. "extends: shepherd-root\n"
  50069. "description: Install the given fonts on the specified ttys (fonts are per\n"
  50070. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  50071. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  50072. "+ package or any valid argument to `setfont', as in this example:\n"
  50073. "+\n"
  50074. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  50075. "+ (\"tty2\" . (file-append\n"
  50076. "+ font-tamzen\n"
  50077. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  50078. "+ (\"tty3\" . (file-append\n"
  50079. "+ font-terminus\n"
  50080. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  50081. "relevance: 9\n"
  50082. "\n"
  50083. msgstr ""
  50084. #. type: example
  50085. #: guix-git/doc/guix.texi:33754
  50086. #, no-wrap
  50087. msgid ""
  50088. "name: mingetty\n"
  50089. "location: gnu/services/base.scm:1190:2\n"
  50090. "extends: shepherd-root\n"
  50091. "description: Provide console login using the `mingetty' program.\n"
  50092. "relevance: 2\n"
  50093. "\n"
  50094. msgstr ""
  50095. #. type: example
  50096. #: guix-git/doc/guix.texi:33761
  50097. #, no-wrap
  50098. msgid ""
  50099. "name: login\n"
  50100. "location: gnu/services/base.scm:860:2\n"
  50101. "extends: pam\n"
  50102. "description: Provide a console log-in service as specified by its\n"
  50103. "+ configuration value, a `login-configuration' object.\n"
  50104. "relevance: 2\n"
  50105. "\n"
  50106. msgstr ""
  50107. #. type: example
  50108. #: guix-git/doc/guix.texi:33763 guix-git/doc/guix.texi:35949
  50109. #, no-wrap
  50110. msgid "@dots{}\n"
  50111. msgstr ""
  50112. #. type: table
  50113. #: guix-git/doc/guix.texi:33768 guix-git/doc/guix.texi:35954
  50114. 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})."
  50115. msgstr ""
  50116. #. type: item
  50117. #: guix-git/doc/guix.texi:33769 guix-git/doc/guix.texi:35955
  50118. #, no-wrap
  50119. msgid "reconfigure"
  50120. msgstr ""
  50121. #. type: table
  50122. #: guix-git/doc/guix.texi:33774
  50123. 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.}."
  50124. msgstr ""
  50125. #. type: quotation
  50126. #: guix-git/doc/guix.texi:33782
  50127. 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."
  50128. msgstr ""
  50129. #. type: table
  50130. #: guix-git/doc/guix.texi:33790
  50131. 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})."
  50132. msgstr ""
  50133. #. type: table
  50134. #: guix-git/doc/guix.texi:33796
  50135. 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})."
  50136. msgstr ""
  50137. #. type: table
  50138. #: guix-git/doc/guix.texi:33801
  50139. 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."
  50140. msgstr ""
  50141. #. type: cindex
  50142. #: guix-git/doc/guix.texi:33802 guix-git/doc/guix.texi:34127
  50143. #: guix-git/doc/guix.texi:35079
  50144. #, no-wrap
  50145. msgid "provenance tracking, of the operating system"
  50146. msgstr ""
  50147. #. type: table
  50148. #: guix-git/doc/guix.texi:33807
  50149. 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:"
  50150. msgstr ""
  50151. #. type: example
  50152. #: guix-git/doc/guix.texi:33810
  50153. #, no-wrap
  50154. msgid "guix system describe\n"
  50155. msgstr ""
  50156. #. type: table
  50157. #: guix-git/doc/guix.texi:33816
  50158. 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:"
  50159. msgstr ""
  50160. #. type: example
  50161. #: guix-git/doc/guix.texi:33822
  50162. #, no-wrap
  50163. msgid ""
  50164. "guix time-machine \\\n"
  50165. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  50166. " system reconfigure \\\n"
  50167. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  50168. msgstr ""
  50169. #. type: table
  50170. #: guix-git/doc/guix.texi:33828
  50171. 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."
  50172. msgstr ""
  50173. #. type: table
  50174. #: guix-git/doc/guix.texi:33834
  50175. 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}."
  50176. msgstr ""
  50177. #. type: item
  50178. #: guix-git/doc/guix.texi:33835 guix-git/doc/guix.texi:36014
  50179. #, no-wrap
  50180. msgid "switch-generation"
  50181. msgstr ""
  50182. #. type: table
  50183. #: guix-git/doc/guix.texi:33844
  50184. 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."
  50185. msgstr ""
  50186. #. type: table
  50187. #: guix-git/doc/guix.texi:33848
  50188. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  50189. msgstr ""
  50190. #. type: table
  50191. #: guix-git/doc/guix.texi:33852
  50192. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  50193. msgstr ""
  50194. #. type: example
  50195. #: guix-git/doc/guix.texi:33855
  50196. #, no-wrap
  50197. msgid "guix system switch-generation 7\n"
  50198. msgstr ""
  50199. #. type: table
  50200. #: guix-git/doc/guix.texi:33863 guix-git/doc/guix.texi:36033
  50201. 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:"
  50202. msgstr ""
  50203. #. type: example
  50204. #: guix-git/doc/guix.texi:33866
  50205. #, no-wrap
  50206. msgid "guix system switch-generation -- -1\n"
  50207. msgstr ""
  50208. #. type: table
  50209. #: guix-git/doc/guix.texi:33874
  50210. 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."
  50211. msgstr ""
  50212. #. type: table
  50213. #: guix-git/doc/guix.texi:33876 guix-git/doc/guix.texi:36039
  50214. msgid "This action will fail if the specified generation does not exist."
  50215. msgstr ""
  50216. #. type: item
  50217. #: guix-git/doc/guix.texi:33877 guix-git/doc/guix.texi:36040
  50218. #, no-wrap
  50219. msgid "roll-back"
  50220. msgstr ""
  50221. #. type: table
  50222. #: guix-git/doc/guix.texi:33883
  50223. 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}."
  50224. msgstr ""
  50225. #. type: table
  50226. #: guix-git/doc/guix.texi:33887
  50227. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  50228. msgstr ""
  50229. #. type: item
  50230. #: guix-git/doc/guix.texi:33888 guix-git/doc/guix.texi:36046
  50231. #, no-wrap
  50232. msgid "delete-generations"
  50233. msgstr ""
  50234. #. type: cindex
  50235. #: guix-git/doc/guix.texi:33889
  50236. #, no-wrap
  50237. msgid "deleting system generations"
  50238. msgstr ""
  50239. #. type: cindex
  50240. #: guix-git/doc/guix.texi:33890 guix-git/doc/guix.texi:36048
  50241. #, no-wrap
  50242. msgid "saving space"
  50243. msgstr ""
  50244. #. type: table
  50245. #: guix-git/doc/guix.texi:33894
  50246. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  50247. msgstr ""
  50248. #. type: table
  50249. #: guix-git/doc/guix.texi:33898
  50250. 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:"
  50251. msgstr ""
  50252. #. type: example
  50253. #: guix-git/doc/guix.texi:33901
  50254. #, no-wrap
  50255. msgid "guix system delete-generations\n"
  50256. msgstr ""
  50257. #. type: table
  50258. #: guix-git/doc/guix.texi:33905
  50259. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two month old:"
  50260. msgstr ""
  50261. #. type: example
  50262. #: guix-git/doc/guix.texi:33908
  50263. #, no-wrap
  50264. msgid "guix system delete-generations 2m\n"
  50265. msgstr ""
  50266. #. type: table
  50267. #: guix-git/doc/guix.texi:33913
  50268. 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."
  50269. msgstr ""
  50270. #. type: table
  50271. #: guix-git/doc/guix.texi:33918
  50272. 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."
  50273. msgstr ""
  50274. #. type: item
  50275. #: guix-git/doc/guix.texi:33919
  50276. #, no-wrap
  50277. msgid "init"
  50278. msgstr ""
  50279. #. type: table
  50280. #: guix-git/doc/guix.texi:33923
  50281. 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:"
  50282. msgstr ""
  50283. #. type: example
  50284. #: guix-git/doc/guix.texi:33926
  50285. #, no-wrap
  50286. msgid "guix system init my-os-config.scm /mnt\n"
  50287. msgstr ""
  50288. #. type: table
  50289. #: guix-git/doc/guix.texi:33933
  50290. 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."
  50291. msgstr ""
  50292. #. type: table
  50293. #: guix-git/doc/guix.texi:33937
  50294. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  50295. msgstr ""
  50296. #. type: item
  50297. #: guix-git/doc/guix.texi:33938
  50298. #, no-wrap
  50299. msgid "vm"
  50300. msgstr ""
  50301. #. type: cindex
  50302. #: guix-git/doc/guix.texi:33939 guix-git/doc/guix.texi:34500
  50303. #, no-wrap
  50304. msgid "virtual machine"
  50305. msgstr ""
  50306. #. type: cindex
  50307. #: guix-git/doc/guix.texi:33940
  50308. #, no-wrap
  50309. msgid "VM"
  50310. msgstr ""
  50311. #. type: anchor{#1}
  50312. #: guix-git/doc/guix.texi:33944
  50313. msgid "guix system vm"
  50314. msgstr ""
  50315. #. type: table
  50316. #: guix-git/doc/guix.texi:33944
  50317. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  50318. msgstr ""
  50319. #. type: quotation
  50320. #: guix-git/doc/guix.texi:33952
  50321. 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})."
  50322. msgstr ""
  50323. #. type: table
  50324. #: guix-git/doc/guix.texi:33957
  50325. 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:"
  50326. msgstr ""
  50327. #. type: example
  50328. #: guix-git/doc/guix.texi:33960
  50329. #, no-wrap
  50330. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  50331. msgstr ""
  50332. #. type: table
  50333. #: guix-git/doc/guix.texi:33963
  50334. msgid "The VM shares its store with the host system."
  50335. msgstr ""
  50336. #. type: table
  50337. #: guix-git/doc/guix.texi:33968
  50338. 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."
  50339. msgstr ""
  50340. #. type: table
  50341. #: guix-git/doc/guix.texi:33972
  50342. 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:"
  50343. msgstr ""
  50344. #. type: example
  50345. #: guix-git/doc/guix.texi:33976
  50346. #, no-wrap
  50347. msgid ""
  50348. "guix system vm my-config.scm \\\n"
  50349. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50350. msgstr ""
  50351. #. type: table
  50352. #: guix-git/doc/guix.texi:33981
  50353. 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."
  50354. msgstr ""
  50355. #. type: table
  50356. #: guix-git/doc/guix.texi:33987
  50357. 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. The @option{--image-size} option can be used to specify the size of the image."
  50358. msgstr ""
  50359. #. type: cindex
  50360. #: guix-git/doc/guix.texi:33988
  50361. #, no-wrap
  50362. msgid "System images, creation in various formats"
  50363. msgstr ""
  50364. #. type: cindex
  50365. #: guix-git/doc/guix.texi:33989
  50366. #, no-wrap
  50367. msgid "Creating system images in various formats"
  50368. msgstr ""
  50369. #. type: item
  50370. #: guix-git/doc/guix.texi:33990
  50371. #, no-wrap
  50372. msgid "image"
  50373. msgstr ""
  50374. #. type: itemx
  50375. #: guix-git/doc/guix.texi:33991
  50376. #, no-wrap
  50377. msgid "docker-image"
  50378. msgstr ""
  50379. #. type: table
  50380. #: guix-git/doc/guix.texi:33999
  50381. msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}."
  50382. msgstr ""
  50383. #. type: cindex
  50384. #: guix-git/doc/guix.texi:34000
  50385. #, no-wrap
  50386. msgid "image, creating disk images"
  50387. msgstr ""
  50388. #. type: table
  50389. #: guix-git/doc/guix.texi:34012
  50390. 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:"
  50391. msgstr ""
  50392. #. type: example
  50393. #: guix-git/doc/guix.texi:34020
  50394. #, no-wrap
  50395. msgid ""
  50396. "image=$(guix system image --image-type=qcow2 \\\n"
  50397. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  50398. "cp $image /tmp/my-image.qcow2\n"
  50399. "chmod +w /tmp/my-image.qcow2\n"
  50400. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  50401. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  50402. msgstr ""
  50403. #. type: table
  50404. #: guix-git/doc/guix.texi:34026
  50405. 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:"
  50406. msgstr ""
  50407. #. type: example
  50408. #: guix-git/doc/guix.texi:34029
  50409. #, no-wrap
  50410. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  50411. msgstr ""
  50412. #. type: table
  50413. #: guix-git/doc/guix.texi:34033
  50414. msgid "The @code{--list-image-types} command lists all the available image types."
  50415. msgstr ""
  50416. #. type: cindex
  50417. #: guix-git/doc/guix.texi:34034
  50418. #, no-wrap
  50419. msgid "creating virtual machine images"
  50420. msgstr ""
  50421. #. type: table
  50422. #: guix-git/doc/guix.texi:34043
  50423. 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)."
  50424. msgstr ""
  50425. #. type: cindex
  50426. #: guix-git/doc/guix.texi:34044
  50427. #, no-wrap
  50428. msgid "docker-image, creating docker images"
  50429. msgstr ""
  50430. #. type: table
  50431. #: guix-git/doc/guix.texi:34050
  50432. msgid "When using @code{docker-image}, 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:"
  50433. msgstr ""
  50434. #. type: example
  50435. #: guix-git/doc/guix.texi:34055
  50436. #, no-wrap
  50437. msgid ""
  50438. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  50439. "container_id=\"$(docker create $image_id)\"\n"
  50440. "docker start $container_id\n"
  50441. msgstr ""
  50442. #. type: table
  50443. #: guix-git/doc/guix.texi:34062
  50444. 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}:"
  50445. msgstr ""
  50446. #. type: example
  50447. #: guix-git/doc/guix.texi:34065
  50448. #, no-wrap
  50449. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  50450. msgstr ""
  50451. #. type: table
  50452. #: guix-git/doc/guix.texi:34072
  50453. 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}."
  50454. msgstr ""
  50455. #. type: table
  50456. #: guix-git/doc/guix.texi:34076
  50457. 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."
  50458. msgstr ""
  50459. #. type: table
  50460. #: guix-git/doc/guix.texi:34084
  50461. 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."
  50462. msgstr ""
  50463. #. type: table
  50464. #: guix-git/doc/guix.texi:34088
  50465. 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."
  50466. msgstr ""
  50467. #. type: table
  50468. #: guix-git/doc/guix.texi:34092
  50469. 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:"
  50470. msgstr ""
  50471. #. type: example
  50472. #: guix-git/doc/guix.texi:34096
  50473. #, no-wrap
  50474. msgid ""
  50475. "guix system container my-config.scm \\\n"
  50476. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50477. msgstr ""
  50478. #. type: quotation
  50479. #: guix-git/doc/guix.texi:34100
  50480. msgid "This option requires Linux-libre 3.19 or newer."
  50481. msgstr ""
  50482. #. type: Plain text
  50483. #: guix-git/doc/guix.texi:34107 guix-git/doc/guix.texi:36097
  50484. 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:"
  50485. msgstr ""
  50486. #. type: table
  50487. #: guix-git/doc/guix.texi:34116
  50488. 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})."
  50489. msgstr ""
  50490. #. type: table
  50491. #: guix-git/doc/guix.texi:34121
  50492. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  50493. msgstr ""
  50494. #. type: table
  50495. #: guix-git/doc/guix.texi:34126
  50496. msgid "Return the derivation file name of the given operating system without building anything."
  50497. msgstr ""
  50498. #. type: table
  50499. #: guix-git/doc/guix.texi:34135
  50500. 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:"
  50501. msgstr ""
  50502. #. type: example
  50503. #: guix-git/doc/guix.texi:34138
  50504. #, no-wrap
  50505. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  50506. msgstr ""
  50507. #. type: table
  50508. #: guix-git/doc/guix.texi:34145
  50509. 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."
  50510. msgstr ""
  50511. #. type: item
  50512. #: guix-git/doc/guix.texi:34146
  50513. #, no-wrap
  50514. msgid "--image-type=@var{type}"
  50515. msgstr ""
  50516. #. type: table
  50517. #: guix-git/doc/guix.texi:34149
  50518. msgid "For the @code{image} action, create an image with given @var{type}."
  50519. msgstr ""
  50520. #. type: table
  50521. #: guix-git/doc/guix.texi:34152
  50522. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  50523. msgstr ""
  50524. #. type: cindex
  50525. #: guix-git/doc/guix.texi:34153
  50526. #, no-wrap
  50527. msgid "ISO-9660 format"
  50528. msgstr ""
  50529. #. type: cindex
  50530. #: guix-git/doc/guix.texi:34154
  50531. #, no-wrap
  50532. msgid "CD image format"
  50533. msgstr ""
  50534. #. type: cindex
  50535. #: guix-git/doc/guix.texi:34155
  50536. #, no-wrap
  50537. msgid "DVD image format"
  50538. msgstr ""
  50539. #. type: table
  50540. #: guix-git/doc/guix.texi:34158
  50541. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  50542. msgstr ""
  50543. #. type: item
  50544. #: guix-git/doc/guix.texi:34159
  50545. #, no-wrap
  50546. msgid "--image-size=@var{size}"
  50547. msgstr ""
  50548. #. type: table
  50549. #: guix-git/doc/guix.texi:34164
  50550. 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})."
  50551. msgstr ""
  50552. #. type: table
  50553. #: guix-git/doc/guix.texi:34168
  50554. 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}."
  50555. msgstr ""
  50556. #. type: table
  50557. #: guix-git/doc/guix.texi:34173
  50558. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  50559. msgstr ""
  50560. #. type: item
  50561. #: guix-git/doc/guix.texi:34179
  50562. #, no-wrap
  50563. msgid "--skip-checks"
  50564. msgstr ""
  50565. #. type: table
  50566. #: guix-git/doc/guix.texi:34181
  50567. msgid "Skip pre-installation safety checks."
  50568. msgstr ""
  50569. #. type: table
  50570. #: guix-git/doc/guix.texi:34188
  50571. 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."
  50572. msgstr ""
  50573. #. type: table
  50574. #: guix-git/doc/guix.texi:34191
  50575. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  50576. msgstr ""
  50577. #. type: table
  50578. #: guix-git/doc/guix.texi:34199
  50579. 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."
  50580. msgstr ""
  50581. #. type: cindex
  50582. #: guix-git/doc/guix.texi:34205
  50583. #, no-wrap
  50584. msgid "on-error"
  50585. msgstr ""
  50586. #. type: cindex
  50587. #: guix-git/doc/guix.texi:34206
  50588. #, no-wrap
  50589. msgid "on-error strategy"
  50590. msgstr ""
  50591. #. type: cindex
  50592. #: guix-git/doc/guix.texi:34207
  50593. #, no-wrap
  50594. msgid "error strategy"
  50595. msgstr ""
  50596. #. type: item
  50597. #: guix-git/doc/guix.texi:34208
  50598. #, no-wrap
  50599. msgid "--on-error=@var{strategy}"
  50600. msgstr ""
  50601. #. type: table
  50602. #: guix-git/doc/guix.texi:34211
  50603. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  50604. msgstr ""
  50605. #. type: item
  50606. #: guix-git/doc/guix.texi:34213
  50607. #, no-wrap
  50608. msgid "nothing-special"
  50609. msgstr ""
  50610. #. type: table
  50611. #: guix-git/doc/guix.texi:34215
  50612. msgid "Report the error concisely and exit. This is the default strategy."
  50613. msgstr ""
  50614. #. type: item
  50615. #: guix-git/doc/guix.texi:34216
  50616. #, no-wrap
  50617. msgid "backtrace"
  50618. msgstr ""
  50619. #. type: table
  50620. #: guix-git/doc/guix.texi:34218
  50621. msgid "Likewise, but also display a backtrace."
  50622. msgstr ""
  50623. #. type: item
  50624. #: guix-git/doc/guix.texi:34219
  50625. #, no-wrap
  50626. msgid "debug"
  50627. msgstr ""
  50628. #. type: table
  50629. #: guix-git/doc/guix.texi:34225
  50630. 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."
  50631. msgstr ""
  50632. #. type: Plain text
  50633. #: guix-git/doc/guix.texi:34232
  50634. 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:"
  50635. msgstr ""
  50636. #. type: item
  50637. #: guix-git/doc/guix.texi:34235 guix-git/doc/guix.texi:36073
  50638. #, no-wrap
  50639. msgid "describe"
  50640. msgstr ""
  50641. #. type: table
  50642. #: guix-git/doc/guix.texi:34238
  50643. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  50644. msgstr ""
  50645. #. type: item
  50646. #: guix-git/doc/guix.texi:34239 guix-git/doc/guix.texi:36077
  50647. #, no-wrap
  50648. msgid "list-generations"
  50649. msgstr ""
  50650. #. type: table
  50651. #: guix-git/doc/guix.texi:34244
  50652. 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})."
  50653. msgstr ""
  50654. #. type: table
  50655. #: guix-git/doc/guix.texi:34249 guix-git/doc/guix.texi:36087
  50656. 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:"
  50657. msgstr ""
  50658. #. type: example
  50659. #: guix-git/doc/guix.texi:34252
  50660. #, no-wrap
  50661. msgid "$ guix system list-generations 10d\n"
  50662. msgstr ""
  50663. #. type: Plain text
  50664. #: guix-git/doc/guix.texi:34259
  50665. 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:"
  50666. msgstr ""
  50667. #. type: anchor{#1}
  50668. #: guix-git/doc/guix.texi:34261
  50669. msgid "system-extension-graph"
  50670. msgstr ""
  50671. #. type: item
  50672. #: guix-git/doc/guix.texi:34263
  50673. #, no-wrap
  50674. msgid "extension-graph"
  50675. msgstr ""
  50676. #. type: table
  50677. #: guix-git/doc/guix.texi:34270
  50678. 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}}):"
  50679. msgstr ""
  50680. #. type: table
  50681. #: guix-git/doc/guix.texi:34272
  50682. msgid "The command:"
  50683. msgstr ""
  50684. #. type: example
  50685. #: guix-git/doc/guix.texi:34275
  50686. #, no-wrap
  50687. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  50688. msgstr ""
  50689. #. type: table
  50690. #: guix-git/doc/guix.texi:34278
  50691. msgid "shows the extension relations among services."
  50692. msgstr ""
  50693. #. type: anchor{#1}
  50694. #: guix-git/doc/guix.texi:34280
  50695. msgid "system-shepherd-graph"
  50696. msgstr ""
  50697. #. type: item
  50698. #: guix-git/doc/guix.texi:34280
  50699. #, no-wrap
  50700. msgid "shepherd-graph"
  50701. msgstr ""
  50702. #. type: table
  50703. #: guix-git/doc/guix.texi:34285
  50704. 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."
  50705. msgstr ""
  50706. #. type: table
  50707. #: guix-git/doc/guix.texi:34288
  50708. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  50709. msgstr ""
  50710. #. type: section
  50711. #: guix-git/doc/guix.texi:34292
  50712. #, no-wrap
  50713. msgid "Invoking @code{guix deploy}"
  50714. msgstr ""
  50715. #. type: Plain text
  50716. #: guix-git/doc/guix.texi:34300
  50717. 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''."
  50718. msgstr ""
  50719. #. type: quotation
  50720. #: guix-git/doc/guix.texi:34305 guix-git/doc/guix.texi:35386
  50721. 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}!"
  50722. msgstr ""
  50723. #. type: example
  50724. #: guix-git/doc/guix.texi:34309
  50725. #, no-wrap
  50726. msgid "guix deploy @var{file}\n"
  50727. msgstr ""
  50728. #. type: Plain text
  50729. #: guix-git/doc/guix.texi:34313
  50730. 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:"
  50731. msgstr ""
  50732. #. type: lisp
  50733. #: guix-git/doc/guix.texi:34320
  50734. #, no-wrap
  50735. msgid ""
  50736. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  50737. ";; no X11 display server, to a machine with an SSH daemon\n"
  50738. ";; listening on localhost:2222. A configuration such as this\n"
  50739. ";; may be appropriate for virtual machine with ports\n"
  50740. ";; forwarded to the host's loopback interface.\n"
  50741. "\n"
  50742. msgstr ""
  50743. #. type: lisp
  50744. #: guix-git/doc/guix.texi:34323
  50745. #, no-wrap
  50746. msgid ""
  50747. "(use-service-modules networking ssh)\n"
  50748. "(use-package-modules bootloaders)\n"
  50749. "\n"
  50750. msgstr ""
  50751. #. type: lisp
  50752. #: guix-git/doc/guix.texi:34344
  50753. #, no-wrap
  50754. msgid ""
  50755. "(define %system\n"
  50756. " (operating-system\n"
  50757. " (host-name \"gnu-deployed\")\n"
  50758. " (timezone \"Etc/UTC\")\n"
  50759. " (bootloader (bootloader-configuration\n"
  50760. " (bootloader grub-bootloader)\n"
  50761. " (targets '(\"/dev/vda\"))\n"
  50762. " (terminal-outputs '(console))))\n"
  50763. " (file-systems (cons (file-system\n"
  50764. " (mount-point \"/\")\n"
  50765. " (device \"/dev/vda1\")\n"
  50766. " (type \"ext4\"))\n"
  50767. " %base-file-systems))\n"
  50768. " (services\n"
  50769. " (append (list (service dhcp-client-service-type)\n"
  50770. " (service openssh-service-type\n"
  50771. " (openssh-configuration\n"
  50772. " (permit-root-login #t)\n"
  50773. " (allow-empty-passwords? #t))))\n"
  50774. " %base-services))))\n"
  50775. "\n"
  50776. msgstr ""
  50777. #. type: lisp
  50778. #: guix-git/doc/guix.texi:34354
  50779. #, no-wrap
  50780. msgid ""
  50781. "(list (machine\n"
  50782. " (operating-system %system)\n"
  50783. " (environment managed-host-environment-type)\n"
  50784. " (configuration (machine-ssh-configuration\n"
  50785. " (host-name \"localhost\")\n"
  50786. " (system \"x86_64-linux\")\n"
  50787. " (user \"alice\")\n"
  50788. " (identity \"./id_rsa\")\n"
  50789. " (port 2222)))))\n"
  50790. msgstr ""
  50791. #. type: Plain text
  50792. #: guix-git/doc/guix.texi:34367
  50793. 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."
  50794. msgstr ""
  50795. #. type: Plain text
  50796. #: guix-git/doc/guix.texi:34372
  50797. 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:"
  50798. msgstr ""
  50799. #. type: Plain text
  50800. #: guix-git/doc/guix.texi:34380
  50801. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  50802. msgstr ""
  50803. #. type: example
  50804. #: guix-git/doc/guix.texi:34383
  50805. #, no-wrap
  50806. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  50807. msgstr ""
  50808. #. type: Plain text
  50809. #: guix-git/doc/guix.texi:34394
  50810. 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:"
  50811. msgstr ""
  50812. #. type: lisp
  50813. #: guix-git/doc/guix.texi:34398
  50814. #, no-wrap
  50815. msgid ""
  50816. "(use-modules ...\n"
  50817. " (gnu system)) ;for %sudoers-specification\n"
  50818. "\n"
  50819. msgstr ""
  50820. #. type: lisp
  50821. #: guix-git/doc/guix.texi:34400
  50822. #, no-wrap
  50823. msgid ""
  50824. "(define %user \"username\")\n"
  50825. "\n"
  50826. msgstr ""
  50827. #. type: lisp
  50828. #: guix-git/doc/guix.texi:34408
  50829. #, no-wrap
  50830. msgid ""
  50831. "(operating-system\n"
  50832. " ...\n"
  50833. " (sudoers-file\n"
  50834. " (plain-file \"sudoers\"\n"
  50835. " (string-append (plain-file-content %sudoers-specification)\n"
  50836. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  50837. " %user)))))\n"
  50838. "\n"
  50839. msgstr ""
  50840. #. type: Plain text
  50841. #: guix-git/doc/guix.texi:34413
  50842. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  50843. msgstr ""
  50844. #. type: deftp
  50845. #: guix-git/doc/guix.texi:34414
  50846. #, no-wrap
  50847. msgid "{Data Type} machine"
  50848. msgstr ""
  50849. #. type: deftp
  50850. #: guix-git/doc/guix.texi:34417
  50851. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  50852. msgstr ""
  50853. #. type: table
  50854. #: guix-git/doc/guix.texi:34421
  50855. msgid "The object of the operating system configuration to deploy."
  50856. msgstr ""
  50857. #. type: code{#1}
  50858. #: guix-git/doc/guix.texi:34422
  50859. #, no-wrap
  50860. msgid "environment"
  50861. msgstr ""
  50862. #. type: table
  50863. #: guix-git/doc/guix.texi:34424
  50864. msgid "An @code{environment-type} describing how the machine should be provisioned."
  50865. msgstr ""
  50866. #. type: item
  50867. #: guix-git/doc/guix.texi:34425
  50868. #, no-wrap
  50869. msgid "@code{configuration} (default: @code{#f})"
  50870. msgstr ""
  50871. #. type: table
  50872. #: guix-git/doc/guix.texi:34430
  50873. 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."
  50874. msgstr ""
  50875. #. type: deftp
  50876. #: guix-git/doc/guix.texi:34433
  50877. #, no-wrap
  50878. msgid "{Data Type} machine-ssh-configuration"
  50879. msgstr ""
  50880. #. type: deftp
  50881. #: guix-git/doc/guix.texi:34436
  50882. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  50883. msgstr ""
  50884. #. type: item
  50885. #: guix-git/doc/guix.texi:34439
  50886. #, no-wrap
  50887. msgid "@code{build-locally?} (default: @code{#t})"
  50888. msgstr ""
  50889. #. type: table
  50890. #: guix-git/doc/guix.texi:34441
  50891. msgid "If false, system derivations will be built on the machine being deployed to."
  50892. msgstr ""
  50893. #. type: code{#1}
  50894. #: guix-git/doc/guix.texi:34441
  50895. #, no-wrap
  50896. msgid "system"
  50897. msgstr ""
  50898. #. type: table
  50899. #: guix-git/doc/guix.texi:34444
  50900. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  50901. msgstr ""
  50902. #. type: item
  50903. #: guix-git/doc/guix.texi:34444
  50904. #, no-wrap
  50905. msgid "@code{authorize?} (default: @code{#t})"
  50906. msgstr ""
  50907. #. type: table
  50908. #: guix-git/doc/guix.texi:34447
  50909. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  50910. msgstr ""
  50911. #. type: item
  50912. #: guix-git/doc/guix.texi:34448
  50913. #, no-wrap
  50914. msgid "@code{user} (default: @code{\"root\"})"
  50915. msgstr ""
  50916. #. type: item
  50917. #: guix-git/doc/guix.texi:34449
  50918. #, no-wrap
  50919. msgid "@code{identity} (default: @code{#f})"
  50920. msgstr ""
  50921. #. type: table
  50922. #: guix-git/doc/guix.texi:34452
  50923. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  50924. msgstr ""
  50925. #. type: item
  50926. #: guix-git/doc/guix.texi:34453
  50927. #, no-wrap
  50928. msgid "@code{host-key} (default: @code{#f})"
  50929. msgstr ""
  50930. #. type: table
  50931. #: guix-git/doc/guix.texi:34455
  50932. msgid "This should be the SSH host key of the machine, which looks like this:"
  50933. msgstr ""
  50934. #. type: example
  50935. #: guix-git/doc/guix.texi:34458
  50936. #, no-wrap
  50937. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  50938. msgstr ""
  50939. #. type: table
  50940. #: guix-git/doc/guix.texi:34463
  50941. 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."
  50942. msgstr ""
  50943. #. type: item
  50944. #: guix-git/doc/guix.texi:34464
  50945. #, no-wrap
  50946. msgid "@code{allow-downgrades?} (default: @code{#f})"
  50947. msgstr ""
  50948. #. type: table
  50949. #: guix-git/doc/guix.texi:34466
  50950. msgid "Whether to allow potential downgrades."
  50951. msgstr ""
  50952. #. type: table
  50953. #: guix-git/doc/guix.texi:34474
  50954. 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."
  50955. msgstr ""
  50956. #. type: deftp
  50957. #: guix-git/doc/guix.texi:34477
  50958. #, no-wrap
  50959. msgid "{Data Type} digital-ocean-configuration"
  50960. msgstr ""
  50961. #. type: deftp
  50962. #: guix-git/doc/guix.texi:34480
  50963. 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}."
  50964. msgstr ""
  50965. #. type: code{#1}
  50966. #: guix-git/doc/guix.texi:34482
  50967. #, no-wrap
  50968. msgid "ssh-key"
  50969. msgstr ""
  50970. #. type: table
  50971. #: guix-git/doc/guix.texi:34485
  50972. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  50973. msgstr ""
  50974. #. type: code{#1}
  50975. #: guix-git/doc/guix.texi:34485
  50976. #, no-wrap
  50977. msgid "tags"
  50978. msgstr ""
  50979. #. type: table
  50980. #: guix-git/doc/guix.texi:34488
  50981. 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."
  50982. msgstr ""
  50983. #. type: code{#1}
  50984. #: guix-git/doc/guix.texi:34488
  50985. #, no-wrap
  50986. msgid "region"
  50987. msgstr ""
  50988. #. type: table
  50989. #: guix-git/doc/guix.texi:34490
  50990. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  50991. msgstr ""
  50992. #. type: table
  50993. #: guix-git/doc/guix.texi:34492
  50994. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  50995. msgstr ""
  50996. #. type: code{#1}
  50997. #: guix-git/doc/guix.texi:34492
  50998. #, no-wrap
  50999. msgid "enable-ipv6?"
  51000. msgstr ""
  51001. #. type: table
  51002. #: guix-git/doc/guix.texi:34494
  51003. msgid "Whether or not the droplet should be created with IPv6 networking."
  51004. msgstr ""
  51005. #. type: section
  51006. #: guix-git/doc/guix.texi:34498
  51007. #, no-wrap
  51008. msgid "Running Guix in a Virtual Machine"
  51009. msgstr ""
  51010. #. type: Plain text
  51011. #: guix-git/doc/guix.texi:34506
  51012. 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)."
  51013. msgstr ""
  51014. #. type: Plain text
  51015. #: guix-git/doc/guix.texi:34513
  51016. 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})."
  51017. msgstr ""
  51018. #. type: Plain text
  51019. #: guix-git/doc/guix.texi:34516
  51020. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  51021. msgstr ""
  51022. #. type: cindex
  51023. #: guix-git/doc/guix.texi:34517
  51024. #, no-wrap
  51025. msgid "QEMU"
  51026. msgstr ""
  51027. #. type: Plain text
  51028. #: guix-git/doc/guix.texi:34524
  51029. 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:"
  51030. msgstr ""
  51031. #. type: example
  51032. #: guix-git/doc/guix.texi:34531
  51033. #, no-wrap
  51034. msgid ""
  51035. "$ qemu-system-x86_64 \\\n"
  51036. " -nic user,model=virtio-net-pci \\\n"
  51037. " -enable-kvm -m 1024 \\\n"
  51038. " -device virtio-blk,drive=myhd \\\n"
  51039. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  51040. msgstr ""
  51041. #. type: Plain text
  51042. #: guix-git/doc/guix.texi:34534
  51043. msgid "Here is what each of these options means:"
  51044. msgstr ""
  51045. #. type: item
  51046. #: guix-git/doc/guix.texi:34536
  51047. #, no-wrap
  51048. msgid "qemu-system-x86_64"
  51049. msgstr ""
  51050. #. type: table
  51051. #: guix-git/doc/guix.texi:34539
  51052. msgid "This specifies the hardware platform to emulate. This should match the host."
  51053. msgstr ""
  51054. #. type: item
  51055. #: guix-git/doc/guix.texi:34540
  51056. #, no-wrap
  51057. msgid "-nic user,model=virtio-net-pci"
  51058. msgstr ""
  51059. #. type: table
  51060. #: guix-git/doc/guix.texi:34548
  51061. 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}."
  51062. msgstr ""
  51063. #. type: item
  51064. #: guix-git/doc/guix.texi:34549
  51065. #, no-wrap
  51066. msgid "-enable-kvm"
  51067. msgstr ""
  51068. #. type: table
  51069. #: guix-git/doc/guix.texi:34553
  51070. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  51071. msgstr ""
  51072. #. type: item
  51073. #: guix-git/doc/guix.texi:34555
  51074. #, no-wrap
  51075. msgid "-m 1024"
  51076. msgstr ""
  51077. #. type: table
  51078. #: guix-git/doc/guix.texi:34558
  51079. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  51080. msgstr ""
  51081. #. type: item
  51082. #: guix-git/doc/guix.texi:34559
  51083. #, no-wrap
  51084. msgid "-device virtio-blk,drive=myhd"
  51085. msgstr ""
  51086. #. type: table
  51087. #: guix-git/doc/guix.texi:34564
  51088. 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."
  51089. msgstr ""
  51090. #. type: item
  51091. #: guix-git/doc/guix.texi:34565
  51092. #, no-wrap
  51093. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  51094. msgstr ""
  51095. #. type: table
  51096. #: guix-git/doc/guix.texi:34568
  51097. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  51098. msgstr ""
  51099. #. type: Plain text
  51100. #: guix-git/doc/guix.texi:34578
  51101. 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}."
  51102. msgstr ""
  51103. #. type: subsection
  51104. #: guix-git/doc/guix.texi:34579
  51105. #, no-wrap
  51106. msgid "Connecting Through SSH"
  51107. msgstr ""
  51108. #. type: Plain text
  51109. #: guix-git/doc/guix.texi:34587
  51110. 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"
  51111. msgstr ""
  51112. #. type: example
  51113. #: guix-git/doc/guix.texi:34590
  51114. #, no-wrap
  51115. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  51116. msgstr ""
  51117. #. type: Plain text
  51118. #: guix-git/doc/guix.texi:34593
  51119. msgid "To connect to the VM you can run"
  51120. msgstr ""
  51121. #. type: example
  51122. #: guix-git/doc/guix.texi:34596
  51123. #, no-wrap
  51124. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  51125. msgstr ""
  51126. #. type: Plain text
  51127. #: guix-git/doc/guix.texi:34603
  51128. 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."
  51129. msgstr ""
  51130. #. type: quotation
  51131. #: guix-git/doc/guix.texi:34609
  51132. 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."
  51133. msgstr ""
  51134. #. type: subsection
  51135. #: guix-git/doc/guix.texi:34611
  51136. #, no-wrap
  51137. msgid "Using @command{virt-viewer} with Spice"
  51138. msgstr ""
  51139. #. type: Plain text
  51140. #: guix-git/doc/guix.texi:34617
  51141. 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."
  51142. msgstr ""
  51143. #. type: Plain text
  51144. #: guix-git/doc/guix.texi:34620
  51145. 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}:"
  51146. msgstr ""
  51147. #. type: example
  51148. #: guix-git/doc/guix.texi:34626
  51149. #, no-wrap
  51150. msgid ""
  51151. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  51152. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  51153. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  51154. "name=com.redhat.spice.0\n"
  51155. msgstr ""
  51156. #. type: Plain text
  51157. #: guix-git/doc/guix.texi:34630
  51158. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  51159. msgstr ""
  51160. #. type: Plain text
  51161. #: guix-git/doc/guix.texi:34637
  51162. 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?"
  51163. msgstr ""
  51164. #. type: cindex
  51165. #: guix-git/doc/guix.texi:34649
  51166. #, no-wrap
  51167. msgid "daemons"
  51168. msgstr ""
  51169. #. type: Plain text
  51170. #: guix-git/doc/guix.texi:34662
  51171. 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."
  51172. msgstr ""
  51173. #. type: cindex
  51174. #: guix-git/doc/guix.texi:34663
  51175. #, no-wrap
  51176. msgid "service extensions"
  51177. msgstr ""
  51178. #. type: Plain text
  51179. #: guix-git/doc/guix.texi:34675
  51180. 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})."
  51181. msgstr ""
  51182. #. type: Plain text
  51183. #: guix-git/doc/guix.texi:34679
  51184. 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:"
  51185. msgstr ""
  51186. #. type: Plain text
  51187. #: guix-git/doc/guix.texi:34681
  51188. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  51189. msgstr ""
  51190. #. type: cindex
  51191. #: guix-git/doc/guix.texi:34682
  51192. #, no-wrap
  51193. msgid "system service"
  51194. msgstr ""
  51195. #. type: Plain text
  51196. #: guix-git/doc/guix.texi:34690
  51197. 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."
  51198. msgstr ""
  51199. #. type: cindex
  51200. #: guix-git/doc/guix.texi:34691
  51201. #, no-wrap
  51202. msgid "service types"
  51203. msgstr ""
  51204. #. type: Plain text
  51205. #: guix-git/doc/guix.texi:34697
  51206. 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."
  51207. msgstr ""
  51208. #. type: Plain text
  51209. #: guix-git/doc/guix.texi:34700
  51210. msgid "The following section describes the programming interface for service types and services."
  51211. msgstr ""
  51212. #. type: Plain text
  51213. #: guix-git/doc/guix.texi:34707
  51214. 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}):"
  51215. msgstr ""
  51216. #. type: lisp
  51217. #: guix-git/doc/guix.texi:34717
  51218. #, no-wrap
  51219. msgid ""
  51220. "(define guix-service-type\n"
  51221. " (service-type\n"
  51222. " (name 'guix)\n"
  51223. " (extensions\n"
  51224. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  51225. " (service-extension account-service-type guix-accounts)\n"
  51226. " (service-extension activation-service-type guix-activation)))\n"
  51227. " (default-value (guix-configuration))))\n"
  51228. msgstr ""
  51229. #. type: Plain text
  51230. #: guix-git/doc/guix.texi:34721
  51231. msgid "It defines three things:"
  51232. msgstr ""
  51233. #. type: enumerate
  51234. #: guix-git/doc/guix.texi:34725
  51235. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  51236. msgstr ""
  51237. #. type: enumerate
  51238. #: guix-git/doc/guix.texi:34730
  51239. 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."
  51240. msgstr ""
  51241. #. type: enumerate
  51242. #: guix-git/doc/guix.texi:34733
  51243. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  51244. msgstr ""
  51245. #. type: enumerate
  51246. #: guix-git/doc/guix.texi:34736
  51247. msgid "Optionally, a default value for instances of this type."
  51248. msgstr ""
  51249. #. type: Plain text
  51250. #: guix-git/doc/guix.texi:34739
  51251. msgid "In this example, @code{guix-service-type} extends three services:"
  51252. msgstr ""
  51253. #. type: item
  51254. #: guix-git/doc/guix.texi:34741
  51255. #, no-wrap
  51256. msgid "shepherd-root-service-type"
  51257. msgstr ""
  51258. #. type: table
  51259. #: guix-git/doc/guix.texi:34746
  51260. 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})."
  51261. msgstr ""
  51262. #. type: item
  51263. #: guix-git/doc/guix.texi:34747
  51264. #, no-wrap
  51265. msgid "account-service-type"
  51266. msgstr ""
  51267. #. type: table
  51268. #: guix-git/doc/guix.texi:34752
  51269. 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})."
  51270. msgstr ""
  51271. #. type: item
  51272. #: guix-git/doc/guix.texi:34753
  51273. #, no-wrap
  51274. msgid "activation-service-type"
  51275. msgstr ""
  51276. #. type: table
  51277. #: guix-git/doc/guix.texi:34757
  51278. 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."
  51279. msgstr ""
  51280. #. type: Plain text
  51281. #: guix-git/doc/guix.texi:34760
  51282. msgid "A service of this type is instantiated like this:"
  51283. msgstr ""
  51284. #. type: lisp
  51285. #: guix-git/doc/guix.texi:34766
  51286. #, no-wrap
  51287. msgid ""
  51288. "(service guix-service-type\n"
  51289. " (guix-configuration\n"
  51290. " (build-accounts 5)\n"
  51291. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  51292. msgstr ""
  51293. #. type: Plain text
  51294. #: guix-git/doc/guix.texi:34774
  51295. 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:"
  51296. msgstr ""
  51297. #. type: lisp
  51298. #: guix-git/doc/guix.texi:34777
  51299. #, no-wrap
  51300. msgid "(service guix-service-type)\n"
  51301. msgstr ""
  51302. #. type: Plain text
  51303. #: guix-git/doc/guix.texi:34781
  51304. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  51305. msgstr ""
  51306. #. type: Plain text
  51307. #: guix-git/doc/guix.texi:34785
  51308. msgid "The service type for an @emph{extensible} service looks like this:"
  51309. msgstr ""
  51310. #. type: lisp
  51311. #: guix-git/doc/guix.texi:34792
  51312. #, no-wrap
  51313. msgid ""
  51314. "(define udev-service-type\n"
  51315. " (service-type (name 'udev)\n"
  51316. " (extensions\n"
  51317. " (list (service-extension shepherd-root-service-type\n"
  51318. " udev-shepherd-service)))\n"
  51319. "\n"
  51320. msgstr ""
  51321. #. type: lisp
  51322. #: guix-git/doc/guix.texi:34800
  51323. #, no-wrap
  51324. msgid ""
  51325. " (compose concatenate) ;concatenate the list of rules\n"
  51326. " (extend (lambda (config rules)\n"
  51327. " (match config\n"
  51328. " (($ <udev-configuration> udev initial-rules)\n"
  51329. " (udev-configuration\n"
  51330. " (udev udev) ;the udev package to use\n"
  51331. " (rules (append initial-rules rules)))))))))\n"
  51332. msgstr ""
  51333. #. type: Plain text
  51334. #: guix-git/doc/guix.texi:34806
  51335. 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:"
  51336. msgstr ""
  51337. #. type: item
  51338. #: guix-git/doc/guix.texi:34808
  51339. #, no-wrap
  51340. msgid "compose"
  51341. msgstr ""
  51342. #. type: table
  51343. #: guix-git/doc/guix.texi:34811
  51344. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  51345. msgstr ""
  51346. #. type: table
  51347. #: guix-git/doc/guix.texi:34814
  51348. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  51349. msgstr ""
  51350. #. type: item
  51351. #: guix-git/doc/guix.texi:34815
  51352. #, no-wrap
  51353. msgid "extend"
  51354. msgstr ""
  51355. #. type: table
  51356. #: guix-git/doc/guix.texi:34818
  51357. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  51358. msgstr ""
  51359. #. type: table
  51360. #: guix-git/doc/guix.texi:34823
  51361. 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."
  51362. msgstr ""
  51363. #. type: table
  51364. #: guix-git/doc/guix.texi:34829
  51365. 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})."
  51366. msgstr ""
  51367. #. type: Plain text
  51368. #: guix-git/doc/guix.texi:34834
  51369. 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."
  51370. msgstr ""
  51371. #. type: Plain text
  51372. #: guix-git/doc/guix.texi:34837
  51373. msgid "Still here? The next section provides a reference of the programming interface for services."
  51374. msgstr ""
  51375. #. type: Plain text
  51376. #: guix-git/doc/guix.texi:34845
  51377. 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."
  51378. msgstr ""
  51379. #. type: deffn
  51380. #: guix-git/doc/guix.texi:34846
  51381. #, no-wrap
  51382. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  51383. msgstr ""
  51384. #. type: deffn
  51385. #: guix-git/doc/guix.texi:34850
  51386. 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."
  51387. msgstr ""
  51388. #. type: deffn
  51389. #: guix-git/doc/guix.texi:34854
  51390. 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."
  51391. msgstr ""
  51392. #. type: deffn
  51393. #: guix-git/doc/guix.texi:34856
  51394. msgid "For instance, this:"
  51395. msgstr ""
  51396. #. type: lisp
  51397. #: guix-git/doc/guix.texi:34859
  51398. #, no-wrap
  51399. msgid "(service openssh-service-type)\n"
  51400. msgstr ""
  51401. #. type: deffn
  51402. #: guix-git/doc/guix.texi:34863
  51403. msgid "is equivalent to this:"
  51404. msgstr ""
  51405. #. type: lisp
  51406. #: guix-git/doc/guix.texi:34867
  51407. #, no-wrap
  51408. msgid ""
  51409. "(service openssh-service-type\n"
  51410. " (openssh-configuration))\n"
  51411. msgstr ""
  51412. #. type: deffn
  51413. #: guix-git/doc/guix.texi:34871
  51414. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  51415. msgstr ""
  51416. #. type: deffn
  51417. #: guix-git/doc/guix.texi:34873
  51418. #, no-wrap
  51419. msgid "{Scheme Procedure} service? @var{obj}"
  51420. msgstr ""
  51421. #. type: deffn
  51422. #: guix-git/doc/guix.texi:34875
  51423. msgid "Return true if @var{obj} is a service."
  51424. msgstr ""
  51425. #. type: deffn
  51426. #: guix-git/doc/guix.texi:34877
  51427. #, no-wrap
  51428. msgid "{Scheme Procedure} service-kind @var{service}"
  51429. msgstr ""
  51430. #. type: deffn
  51431. #: guix-git/doc/guix.texi:34879
  51432. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  51433. msgstr ""
  51434. #. type: deffn
  51435. #: guix-git/doc/guix.texi:34881
  51436. #, no-wrap
  51437. msgid "{Scheme Procedure} service-value @var{service}"
  51438. msgstr ""
  51439. #. type: deffn
  51440. #: guix-git/doc/guix.texi:34884
  51441. msgid "Return the value associated with @var{service}. It represents its parameters."
  51442. msgstr ""
  51443. #. type: Plain text
  51444. #: guix-git/doc/guix.texi:34887
  51445. msgid "Here is an example of how a service is created and manipulated:"
  51446. msgstr ""
  51447. #. type: lisp
  51448. #: guix-git/doc/guix.texi:34896
  51449. #, no-wrap
  51450. msgid ""
  51451. "(define s\n"
  51452. " (service nginx-service-type\n"
  51453. " (nginx-configuration\n"
  51454. " (nginx nginx)\n"
  51455. " (log-directory log-directory)\n"
  51456. " (run-directory run-directory)\n"
  51457. " (file config-file))))\n"
  51458. "\n"
  51459. msgstr ""
  51460. #. type: lisp
  51461. #: guix-git/doc/guix.texi:34899
  51462. #, no-wrap
  51463. msgid ""
  51464. "(service? s)\n"
  51465. "@result{} #t\n"
  51466. "\n"
  51467. msgstr ""
  51468. #. type: lisp
  51469. #: guix-git/doc/guix.texi:34902
  51470. #, no-wrap
  51471. msgid ""
  51472. "(eq? (service-kind s) nginx-service-type)\n"
  51473. "@result{} #t\n"
  51474. msgstr ""
  51475. #. type: Plain text
  51476. #: guix-git/doc/guix.texi:34912
  51477. 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."
  51478. msgstr ""
  51479. #. type: deffn
  51480. #: guix-git/doc/guix.texi:34913
  51481. #, no-wrap
  51482. msgid "{Scheme Syntax} modify-services @var{services} @"
  51483. msgstr ""
  51484. #. type: deffn
  51485. #: guix-git/doc/guix.texi:34915
  51486. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  51487. msgstr ""
  51488. #. type: deffn
  51489. #: guix-git/doc/guix.texi:34918
  51490. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  51491. msgstr ""
  51492. #. type: example
  51493. #: guix-git/doc/guix.texi:34921
  51494. #, no-wrap
  51495. msgid "(@var{type} @var{variable} => @var{body})\n"
  51496. msgstr ""
  51497. #. type: deffn
  51498. #: guix-git/doc/guix.texi:34928
  51499. 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}."
  51500. msgstr ""
  51501. #. type: deffn
  51502. #: guix-git/doc/guix.texi:34935
  51503. 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."
  51504. msgstr ""
  51505. #. type: deffn
  51506. #: guix-git/doc/guix.texi:34937
  51507. msgid "@xref{Using the Configuration System}, for example usage."
  51508. msgstr ""
  51509. #. type: Plain text
  51510. #: guix-git/doc/guix.texi:34944
  51511. 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."
  51512. msgstr ""
  51513. #. type: deftp
  51514. #: guix-git/doc/guix.texi:34945
  51515. #, no-wrap
  51516. msgid "{Data Type} service-type"
  51517. msgstr ""
  51518. #. type: cindex
  51519. #: guix-git/doc/guix.texi:34946
  51520. #, no-wrap
  51521. msgid "service type"
  51522. msgstr ""
  51523. #. type: deftp
  51524. #: guix-git/doc/guix.texi:34949
  51525. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  51526. msgstr ""
  51527. #. type: table
  51528. #: guix-git/doc/guix.texi:34953
  51529. msgid "This is a symbol, used only to simplify inspection and debugging."
  51530. msgstr ""
  51531. #. type: code{#1}
  51532. #: guix-git/doc/guix.texi:34954
  51533. #, no-wrap
  51534. msgid "extensions"
  51535. msgstr ""
  51536. #. type: table
  51537. #: guix-git/doc/guix.texi:34956
  51538. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  51539. msgstr ""
  51540. #. type: item
  51541. #: guix-git/doc/guix.texi:34957
  51542. #, no-wrap
  51543. msgid "@code{compose} (default: @code{#f})"
  51544. msgstr ""
  51545. #. type: table
  51546. #: guix-git/doc/guix.texi:34961
  51547. 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."
  51548. msgstr ""
  51549. #. type: table
  51550. #: guix-git/doc/guix.texi:34965
  51551. 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."
  51552. msgstr ""
  51553. #. type: item
  51554. #: guix-git/doc/guix.texi:34966
  51555. #, no-wrap
  51556. msgid "@code{extend} (default: @code{#f})"
  51557. msgstr ""
  51558. #. type: table
  51559. #: guix-git/doc/guix.texi:34968
  51560. msgid "If this is @code{#f}, services of this type cannot be extended."
  51561. msgstr ""
  51562. #. type: table
  51563. #: guix-git/doc/guix.texi:34974
  51564. 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."
  51565. msgstr ""
  51566. #. type: table
  51567. #: guix-git/doc/guix.texi:34980
  51568. 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})."
  51569. msgstr ""
  51570. #. type: item
  51571. #: guix-git/doc/guix.texi:34981
  51572. #, no-wrap
  51573. msgid "@code{default-value} (default: @code{&no-default-value})"
  51574. msgstr ""
  51575. #. type: table
  51576. #: guix-git/doc/guix.texi:34984
  51577. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  51578. msgstr ""
  51579. #. type: lisp
  51580. #: guix-git/doc/guix.texi:34987
  51581. #, no-wrap
  51582. msgid "(service @var{type})\n"
  51583. msgstr ""
  51584. #. type: table
  51585. #: guix-git/doc/guix.texi:34991
  51586. msgid "The returned service in this case has the default value specified by @var{type}."
  51587. msgstr ""
  51588. #. type: deftp
  51589. #: guix-git/doc/guix.texi:34994
  51590. msgid "@xref{Service Types and Services}, for examples."
  51591. msgstr ""
  51592. #. type: deffn
  51593. #: guix-git/doc/guix.texi:34996
  51594. #, no-wrap
  51595. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  51596. msgstr ""
  51597. #. type: deffn
  51598. #: guix-git/doc/guix.texi:35002
  51599. 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."
  51600. msgstr ""
  51601. #. type: deffn
  51602. #: guix-git/doc/guix.texi:35004
  51603. #, no-wrap
  51604. msgid "{Scheme Procedure} service-extension? @var{obj}"
  51605. msgstr ""
  51606. #. type: deffn
  51607. #: guix-git/doc/guix.texi:35006
  51608. msgid "Return true if @var{obj} is a service extension."
  51609. msgstr ""
  51610. #. type: Plain text
  51611. #: guix-git/doc/guix.texi:35012
  51612. 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."
  51613. msgstr ""
  51614. #. type: deffn
  51615. #: guix-git/doc/guix.texi:35013
  51616. #, no-wrap
  51617. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  51618. msgstr ""
  51619. #. type: deffn
  51620. #: guix-git/doc/guix.texi:35017
  51621. 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."
  51622. msgstr ""
  51623. #. type: deffn
  51624. #: guix-git/doc/guix.texi:35020
  51625. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  51626. msgstr ""
  51627. #. type: lisp
  51628. #: guix-git/doc/guix.texi:35024
  51629. #, no-wrap
  51630. msgid ""
  51631. "(simple-service 'my-mcron-job mcron-service-type\n"
  51632. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  51633. msgstr ""
  51634. #. type: Plain text
  51635. #: guix-git/doc/guix.texi:35034
  51636. 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."
  51637. msgstr ""
  51638. #. type: deffn
  51639. #: guix-git/doc/guix.texi:35035
  51640. #, no-wrap
  51641. msgid "{Scheme Procedure} fold-services @var{services} @"
  51642. msgstr ""
  51643. #. type: deffn
  51644. #: guix-git/doc/guix.texi:35039
  51645. 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."
  51646. msgstr ""
  51647. #. type: Plain text
  51648. #: guix-git/doc/guix.texi:35043
  51649. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  51650. msgstr ""
  51651. #. type: defvr
  51652. #: guix-git/doc/guix.texi:35044
  51653. #, no-wrap
  51654. msgid "{Scheme Variable} system-service-type"
  51655. msgstr ""
  51656. #. type: defvr
  51657. #: guix-git/doc/guix.texi:35047
  51658. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  51659. msgstr ""
  51660. #. type: defvr
  51661. #: guix-git/doc/guix.texi:35049
  51662. #, no-wrap
  51663. msgid "{Scheme Variable} boot-service-type"
  51664. msgstr ""
  51665. #. type: defvr
  51666. #: guix-git/doc/guix.texi:35052
  51667. 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."
  51668. msgstr ""
  51669. #. type: defvr
  51670. #: guix-git/doc/guix.texi:35054
  51671. #, no-wrap
  51672. msgid "{Scheme Variable} etc-service-type"
  51673. msgstr ""
  51674. #. type: defvr
  51675. #: guix-git/doc/guix.texi:35058
  51676. 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:"
  51677. msgstr ""
  51678. #. type: lisp
  51679. #: guix-git/doc/guix.texi:35061
  51680. #, no-wrap
  51681. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  51682. msgstr ""
  51683. #. type: defvr
  51684. #: guix-git/doc/guix.texi:35065
  51685. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  51686. msgstr ""
  51687. #. type: defvr
  51688. #: guix-git/doc/guix.texi:35067
  51689. #, no-wrap
  51690. msgid "{Scheme Variable} setuid-program-service-type"
  51691. msgstr ""
  51692. #. type: defvr
  51693. #: guix-git/doc/guix.texi:35071
  51694. 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})."
  51695. msgstr ""
  51696. #. type: defvr
  51697. #: guix-git/doc/guix.texi:35073
  51698. #, no-wrap
  51699. msgid "{Scheme Variable} profile-service-type"
  51700. msgstr ""
  51701. #. type: defvr
  51702. #: guix-git/doc/guix.texi:35077
  51703. 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."
  51704. msgstr ""
  51705. #. type: anchor{#1}
  51706. #: guix-git/doc/guix.texi:35081
  51707. msgid "provenance-service-type"
  51708. msgstr ""
  51709. #. type: defvr
  51710. #: guix-git/doc/guix.texi:35081
  51711. #, no-wrap
  51712. msgid "{Scheme Variable} provenance-service-type"
  51713. msgstr ""
  51714. #. type: defvr
  51715. #: guix-git/doc/guix.texi:35085
  51716. 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}:"
  51717. msgstr ""
  51718. #. type: item
  51719. #: guix-git/doc/guix.texi:35087
  51720. #, no-wrap
  51721. msgid "channels.scm"
  51722. msgstr ""
  51723. #. type: table
  51724. #: guix-git/doc/guix.texi:35092
  51725. 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})."
  51726. msgstr ""
  51727. #. type: item
  51728. #: guix-git/doc/guix.texi:35093
  51729. #, no-wrap
  51730. msgid "configuration.scm"
  51731. msgstr ""
  51732. #. type: table
  51733. #: guix-git/doc/guix.texi:35098
  51734. 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."
  51735. msgstr ""
  51736. #. type: item
  51737. #: guix-git/doc/guix.texi:35099
  51738. #, no-wrap
  51739. msgid "provenance"
  51740. msgstr ""
  51741. #. type: table
  51742. #: guix-git/doc/guix.texi:35102
  51743. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  51744. msgstr ""
  51745. #. type: defvr
  51746. #: guix-git/doc/guix.texi:35106
  51747. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  51748. msgstr ""
  51749. #. type: quotation
  51750. #: guix-git/doc/guix.texi:35107
  51751. #, no-wrap
  51752. msgid "Caveats"
  51753. msgstr ""
  51754. #. type: quotation
  51755. #: guix-git/doc/guix.texi:35114
  51756. 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."
  51757. msgstr ""
  51758. #. type: quotation
  51759. #: guix-git/doc/guix.texi:35122
  51760. 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."
  51761. msgstr ""
  51762. #. type: defvr
  51763. #: guix-git/doc/guix.texi:35127
  51764. 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}."
  51765. msgstr ""
  51766. #. type: defvr
  51767. #: guix-git/doc/guix.texi:35129
  51768. #, no-wrap
  51769. msgid "{Scheme Variable} linux-loadable-module-service-type"
  51770. msgstr ""
  51771. #. type: defvr
  51772. #: guix-git/doc/guix.texi:35133
  51773. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  51774. msgstr ""
  51775. #. type: defvr
  51776. #: guix-git/doc/guix.texi:35136
  51777. msgid "This service type is intended to be extended by other service types, such as below:"
  51778. msgstr ""
  51779. #. type: lisp
  51780. #: guix-git/doc/guix.texi:35142
  51781. #, no-wrap
  51782. msgid ""
  51783. "(simple-service 'installing-module\n"
  51784. " linux-loadable-module-service-type\n"
  51785. " (list module-to-install-1\n"
  51786. " module-to-install-2))\n"
  51787. msgstr ""
  51788. #. type: defvr
  51789. #: guix-git/doc/guix.texi:35146
  51790. 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."
  51791. msgstr ""
  51792. #. type: cindex
  51793. #: guix-git/doc/guix.texi:35151 guix-git/doc/guix.texi:35847
  51794. #, no-wrap
  51795. msgid "shepherd services"
  51796. msgstr ""
  51797. #. type: cindex
  51798. #: guix-git/doc/guix.texi:35152
  51799. #, no-wrap
  51800. msgid "PID 1"
  51801. msgstr ""
  51802. #. type: cindex
  51803. #: guix-git/doc/guix.texi:35153
  51804. #, no-wrap
  51805. msgid "init system"
  51806. msgstr ""
  51807. #. type: Plain text
  51808. #: guix-git/doc/guix.texi:35159
  51809. 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})."
  51810. msgstr ""
  51811. #. type: Plain text
  51812. #: guix-git/doc/guix.texi:35165
  51813. 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:"
  51814. msgstr ""
  51815. #. type: Plain text
  51816. #: guix-git/doc/guix.texi:35167
  51817. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  51818. msgstr ""
  51819. #. type: Plain text
  51820. #: guix-git/doc/guix.texi:35171
  51821. 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}})."
  51822. msgstr ""
  51823. #. type: Plain text
  51824. #: guix-git/doc/guix.texi:35175
  51825. 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."
  51826. msgstr ""
  51827. #. type: deftp
  51828. #: guix-git/doc/guix.texi:35176
  51829. #, no-wrap
  51830. msgid "{Data Type} shepherd-service"
  51831. msgstr ""
  51832. #. type: deftp
  51833. #: guix-git/doc/guix.texi:35178
  51834. msgid "The data type representing a service managed by the Shepherd."
  51835. msgstr ""
  51836. #. type: code{#1}
  51837. #: guix-git/doc/guix.texi:35180
  51838. #, no-wrap
  51839. msgid "provision"
  51840. msgstr ""
  51841. #. type: table
  51842. #: guix-git/doc/guix.texi:35182
  51843. msgid "This is a list of symbols denoting what the service provides."
  51844. msgstr ""
  51845. #. type: table
  51846. #: guix-git/doc/guix.texi:35187
  51847. 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."
  51848. msgstr ""
  51849. #. type: item
  51850. #: guix-git/doc/guix.texi:35188
  51851. #, no-wrap
  51852. msgid "@code{requirement} (default: @code{'()})"
  51853. msgstr ""
  51854. #. type: table
  51855. #: guix-git/doc/guix.texi:35190
  51856. msgid "List of symbols denoting the Shepherd services this one depends on."
  51857. msgstr ""
  51858. #. type: cindex
  51859. #: guix-git/doc/guix.texi:35191
  51860. #, no-wrap
  51861. msgid "one-shot services, for the Shepherd"
  51862. msgstr ""
  51863. #. type: table
  51864. #: guix-git/doc/guix.texi:35196
  51865. 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."
  51866. msgstr ""
  51867. #. type: item
  51868. #: guix-git/doc/guix.texi:35197
  51869. #, no-wrap
  51870. msgid "@code{respawn?} (default: @code{#t})"
  51871. msgstr ""
  51872. #. type: table
  51873. #: guix-git/doc/guix.texi:35200
  51874. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  51875. msgstr ""
  51876. #. type: code{#1}
  51877. #: guix-git/doc/guix.texi:35201
  51878. #, no-wrap
  51879. msgid "start"
  51880. msgstr ""
  51881. #. type: itemx
  51882. #: guix-git/doc/guix.texi:35202
  51883. #, no-wrap
  51884. msgid "@code{stop} (default: @code{#~(const #f)})"
  51885. msgstr ""
  51886. #. type: table
  51887. #: guix-git/doc/guix.texi:35208
  51888. 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})."
  51889. msgstr ""
  51890. #. type: item
  51891. #: guix-git/doc/guix.texi:35209
  51892. #, no-wrap
  51893. msgid "@code{actions} (default: @code{'()})"
  51894. msgstr ""
  51895. #. type: cindex
  51896. #: guix-git/doc/guix.texi:35210
  51897. #, no-wrap
  51898. msgid "actions, of Shepherd services"
  51899. msgstr ""
  51900. #. type: table
  51901. #: guix-git/doc/guix.texi:35215
  51902. 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:"
  51903. msgstr ""
  51904. #. type: example
  51905. #: guix-git/doc/guix.texi:35218
  51906. #, no-wrap
  51907. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  51908. msgstr ""
  51909. #. type: item
  51910. #: guix-git/doc/guix.texi:35220
  51911. #, no-wrap
  51912. msgid "@code{auto-start?} (default: @code{#t})"
  51913. msgstr ""
  51914. #. type: table
  51915. #: guix-git/doc/guix.texi:35223
  51916. 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}."
  51917. msgstr ""
  51918. #. type: table
  51919. #: guix-git/doc/guix.texi:35226
  51920. msgid "A documentation string, as shown when running:"
  51921. msgstr ""
  51922. #. type: example
  51923. #: guix-git/doc/guix.texi:35229
  51924. #, no-wrap
  51925. msgid "herd doc @var{service-name}\n"
  51926. msgstr ""
  51927. #. type: table
  51928. #: guix-git/doc/guix.texi:35233
  51929. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  51930. msgstr ""
  51931. #. type: item
  51932. #: guix-git/doc/guix.texi:35234
  51933. #, no-wrap
  51934. msgid "@code{modules} (default: @code{%default-modules})"
  51935. msgstr ""
  51936. #. type: table
  51937. #: guix-git/doc/guix.texi:35237
  51938. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  51939. msgstr ""
  51940. #. type: Plain text
  51941. #: guix-git/doc/guix.texi:35245
  51942. 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}):"
  51943. msgstr ""
  51944. #. type: example
  51945. #: guix-git/doc/guix.texi:35257
  51946. #, no-wrap
  51947. msgid ""
  51948. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  51949. " (shepherd-service\n"
  51950. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  51951. " (provision '(syslogd))\n"
  51952. " (requirement '(user-processes))\n"
  51953. " (start #~(make-forkexec-constructor\n"
  51954. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  51955. " \"--rcfile\" #$config)\n"
  51956. " #:pid-file \"/var/run/syslog.pid\"))\n"
  51957. " (stop #~(make-kill-destructor))))\n"
  51958. msgstr ""
  51959. #. type: Plain text
  51960. #: guix-git/doc/guix.texi:35272
  51961. 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})."
  51962. msgstr ""
  51963. #. type: deftp
  51964. #: guix-git/doc/guix.texi:35273
  51965. #, no-wrap
  51966. msgid "{Data Type} shepherd-action"
  51967. msgstr ""
  51968. #. type: deftp
  51969. #: guix-git/doc/guix.texi:35276
  51970. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  51971. msgstr ""
  51972. #. type: table
  51973. #: guix-git/doc/guix.texi:35280
  51974. msgid "Symbol naming the action."
  51975. msgstr ""
  51976. #. type: table
  51977. #: guix-git/doc/guix.texi:35283
  51978. msgid "This is a documentation string for the action. It can be viewed by running:"
  51979. msgstr ""
  51980. #. type: example
  51981. #: guix-git/doc/guix.texi:35286
  51982. #, no-wrap
  51983. msgid "herd doc @var{service} action @var{action}\n"
  51984. msgstr ""
  51985. #. type: item
  51986. #: guix-git/doc/guix.texi:35288
  51987. #, no-wrap
  51988. msgid "procedure"
  51989. msgstr ""
  51990. #. type: table
  51991. #: guix-git/doc/guix.texi:35292
  51992. 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})."
  51993. msgstr ""
  51994. #. type: deftp
  51995. #: guix-git/doc/guix.texi:35296
  51996. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  51997. msgstr ""
  51998. #. type: lisp
  51999. #: guix-git/doc/guix.texi:35305
  52000. #, no-wrap
  52001. msgid ""
  52002. "(shepherd-action\n"
  52003. " (name 'say-hello)\n"
  52004. " (documentation \"Say hi!\")\n"
  52005. " (procedure #~(lambda (running . args)\n"
  52006. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  52007. " args)\n"
  52008. " #t)))\n"
  52009. msgstr ""
  52010. #. type: deftp
  52011. #: guix-git/doc/guix.texi:35308
  52012. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  52013. msgstr ""
  52014. #. type: example
  52015. #: guix-git/doc/guix.texi:35314
  52016. #, no-wrap
  52017. msgid ""
  52018. "# herd say-hello example\n"
  52019. "Hello, friend! arguments: ()\n"
  52020. "# herd say-hello example a b c\n"
  52021. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  52022. msgstr ""
  52023. #. type: deftp
  52024. #: guix-git/doc/guix.texi:35319
  52025. 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."
  52026. msgstr ""
  52027. #. type: defvr
  52028. #: guix-git/doc/guix.texi:35321
  52029. #, no-wrap
  52030. msgid "{Scheme Variable} shepherd-root-service-type"
  52031. msgstr ""
  52032. #. type: defvr
  52033. #: guix-git/doc/guix.texi:35323
  52034. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  52035. msgstr ""
  52036. #. type: defvr
  52037. #: guix-git/doc/guix.texi:35328 guix-git/doc/guix.texi:35859
  52038. 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."
  52039. msgstr ""
  52040. #. type: deftp
  52041. #: guix-git/doc/guix.texi:35330 guix-git/doc/guix.texi:35861
  52042. #, no-wrap
  52043. msgid "{Data Type} shepherd-configuration"
  52044. msgstr ""
  52045. #. type: deftp
  52046. #: guix-git/doc/guix.texi:35332 guix-git/doc/guix.texi:35863
  52047. msgid "This data type represents the Shepherd's configuration."
  52048. msgstr ""
  52049. #. type: item
  52050. #: guix-git/doc/guix.texi:35334 guix-git/doc/guix.texi:35865
  52051. #, no-wrap
  52052. msgid "shepherd (default: @code{shepherd})"
  52053. msgstr ""
  52054. #. type: table
  52055. #: guix-git/doc/guix.texi:35336 guix-git/doc/guix.texi:35867
  52056. msgid "The Shepherd package to use."
  52057. msgstr ""
  52058. #. type: item
  52059. #: guix-git/doc/guix.texi:35337 guix-git/doc/guix.texi:35871
  52060. #, no-wrap
  52061. msgid "services (default: @code{'()})"
  52062. msgstr ""
  52063. #. type: table
  52064. #: guix-git/doc/guix.texi:35341 guix-git/doc/guix.texi:35875
  52065. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  52066. msgstr ""
  52067. #. type: Plain text
  52068. #: guix-git/doc/guix.texi:35346
  52069. msgid "The following example specifies the Shepherd package for the operating system:"
  52070. msgstr ""
  52071. #. type: lisp
  52072. #: guix-git/doc/guix.texi:35361
  52073. #, no-wrap
  52074. msgid ""
  52075. "(operating-system\n"
  52076. " ;; ...\n"
  52077. " (services (append (list openssh-service-type))\n"
  52078. " ;; ...\n"
  52079. " %desktop-services)\n"
  52080. " ;; ...\n"
  52081. " ;; Use own Shepherd package.\n"
  52082. " (essential-services\n"
  52083. " (modify-services (operating-system-default-essential-services\n"
  52084. " this-operating-system)\n"
  52085. " (shepherd-root-service-type config => (shepherd-configuration\n"
  52086. " (inherit config)\n"
  52087. " (shepherd my-shepherd))))))\n"
  52088. msgstr ""
  52089. #. type: defvr
  52090. #: guix-git/doc/guix.texi:35363
  52091. #, no-wrap
  52092. msgid "{Scheme Variable} %shepherd-root-service"
  52093. msgstr ""
  52094. #. type: defvr
  52095. #: guix-git/doc/guix.texi:35365
  52096. msgid "This service represents PID@tie{}1."
  52097. msgstr ""
  52098. #. type: cindex
  52099. #: guix-git/doc/guix.texi:35369
  52100. #, fuzzy, no-wrap
  52101. #| msgid "System Configuration"
  52102. msgid "home configuration"
  52103. msgstr "Nastavenie systému"
  52104. #. type: Plain text
  52105. #: guix-git/doc/guix.texi:35381
  52106. 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})."
  52107. msgstr ""
  52108. #. type: Plain text
  52109. #: guix-git/doc/guix.texi:35398
  52110. 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."
  52111. msgstr ""
  52112. #. type: Plain text
  52113. #: guix-git/doc/guix.texi:35401
  52114. msgid "Using Guix for managing home environments provides a number of advantages:"
  52115. msgstr ""
  52116. #. type: item
  52117. #: guix-git/doc/guix.texi:35404
  52118. #, no-wrap
  52119. msgid "All software can be configured in one language (Guile Scheme),"
  52120. msgstr ""
  52121. #. type: itemize
  52122. #: guix-git/doc/guix.texi:35407
  52123. msgid "this gives users the ability to share values between configurations of different programs."
  52124. msgstr ""
  52125. #. type: item
  52126. #: guix-git/doc/guix.texi:35408
  52127. #, no-wrap
  52128. msgid "A well-defined home environment is self-contained and can be"
  52129. msgstr ""
  52130. #. type: itemize
  52131. #: guix-git/doc/guix.texi:35411
  52132. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  52133. msgstr ""
  52134. #. type: item
  52135. #: guix-git/doc/guix.texi:35412
  52136. #, no-wrap
  52137. msgid "After every @command{guix home reconfigure} invocation, a new home"
  52138. msgstr ""
  52139. #. type: itemize
  52140. #: guix-git/doc/guix.texi:35416
  52141. 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."
  52142. msgstr ""
  52143. #. type: item
  52144. #: guix-git/doc/guix.texi:35417
  52145. #, no-wrap
  52146. msgid "It is possible to manage stateful data with Guix Home, this"
  52147. msgstr ""
  52148. #. type: itemize
  52149. #: guix-git/doc/guix.texi:35422
  52150. 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."
  52151. msgstr ""
  52152. #. type: section
  52153. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35432
  52154. #: guix-git/doc/guix.texi:35433
  52155. #, no-wrap
  52156. msgid "Declaring the Home Environment"
  52157. msgstr ""
  52158. #. type: menuentry
  52159. #: guix-git/doc/guix.texi:35430
  52160. msgid "Customizing your Home."
  52161. msgstr ""
  52162. #. type: section
  52163. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35468
  52164. #: guix-git/doc/guix.texi:35469
  52165. #, no-wrap
  52166. msgid "Configuring the Shell"
  52167. msgstr ""
  52168. #. type: menuentry
  52169. #: guix-git/doc/guix.texi:35430
  52170. msgid "Enabling home environment."
  52171. msgstr ""
  52172. #. type: section
  52173. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35515
  52174. #: guix-git/doc/guix.texi:35516
  52175. #, fuzzy, no-wrap
  52176. #| msgid "Services"
  52177. msgid "Home Services"
  52178. msgstr "Služby"
  52179. #. type: menuentry
  52180. #: guix-git/doc/guix.texi:35430
  52181. msgid "Specifying home services."
  52182. msgstr ""
  52183. #. type: menuentry
  52184. #: guix-git/doc/guix.texi:35430
  52185. msgid "Instantiating a home configuration."
  52186. msgstr ""
  52187. #. type: Plain text
  52188. #: guix-git/doc/guix.texi:35442
  52189. 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}). 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 dotfiles, before installing any configuration files, Guix Home will back up existing config files to a separate place in the home folder."
  52190. msgstr ""
  52191. #. type: quotation
  52192. #: guix-git/doc/guix.texi:35448
  52193. 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})."
  52194. msgstr ""
  52195. #. type: findex
  52196. #: guix-git/doc/guix.texi:35450
  52197. #, no-wrap
  52198. msgid "home-environment"
  52199. msgstr ""
  52200. #. type: include
  52201. #: guix-git/doc/guix.texi:35452
  52202. #, no-wrap
  52203. msgid "he-config-bare-bones.scm"
  52204. msgstr ""
  52205. #. type: Plain text
  52206. #: guix-git/doc/guix.texi:35459
  52207. 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."
  52208. msgstr ""
  52209. #. type: Plain text
  52210. #: guix-git/doc/guix.texi:35467
  52211. 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 @ref{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."
  52212. msgstr ""
  52213. #. type: Plain text
  52214. #: guix-git/doc/guix.texi:35472
  52215. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  52216. msgstr ""
  52217. #. type: Plain text
  52218. #: guix-git/doc/guix.texi:35479
  52219. 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}."
  52220. msgstr ""
  52221. #. type: Plain text
  52222. #: guix-git/doc/guix.texi:35486
  52223. 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}."
  52224. msgstr ""
  52225. #. type: Plain text
  52226. #: guix-git/doc/guix.texi:35489
  52227. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  52228. msgstr ""
  52229. #. type: example
  52230. #: guix-git/doc/guix.texi:35494
  52231. #, no-wrap
  52232. msgid ""
  52233. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  52234. ". $HOME_ENVIRONMENT/setup-environment\n"
  52235. "$HOME_ENVIRONMENT/on-first-login\n"
  52236. msgstr ""
  52237. #. type: Plain text
  52238. #: guix-git/doc/guix.texi:35504
  52239. 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."
  52240. msgstr ""
  52241. #. type: Plain text
  52242. #: guix-git/doc/guix.texi:35509
  52243. 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}."
  52244. msgstr ""
  52245. #. type: quotation
  52246. #: guix-git/doc/guix.texi:35513
  52247. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  52248. msgstr ""
  52249. #. type: cindex
  52250. #: guix-git/doc/guix.texi:35517
  52251. #, fuzzy, no-wrap
  52252. #| msgid "Services"
  52253. msgid "home services"
  52254. msgstr "Služby"
  52255. #. type: Plain text
  52256. #: guix-git/doc/guix.texi:35526
  52257. 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."
  52258. msgstr ""
  52259. #. type: Plain text
  52260. #: guix-git/doc/guix.texi:35534
  52261. 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}}."
  52262. msgstr ""
  52263. #. type: Plain text
  52264. #: guix-git/doc/guix.texi:35545
  52265. msgid "A good way to discover avaliable 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)}."
  52266. msgstr ""
  52267. #. type: subsection
  52268. #: guix-git/doc/guix.texi:35551 guix-git/doc/guix.texi:35554
  52269. #: guix-git/doc/guix.texi:35555
  52270. #, fuzzy, no-wrap
  52271. #| msgid "Services"
  52272. msgid "Essential Home Services"
  52273. msgstr "Služby"
  52274. #. type: menuentry
  52275. #: guix-git/doc/guix.texi:35551
  52276. msgid "Environment variables, packages, on-* scripts."
  52277. msgstr ""
  52278. #. type: menuentry
  52279. #: guix-git/doc/guix.texi:35551
  52280. msgid "Shells: Shells Home Services"
  52281. msgstr ""
  52282. #. type: menuentry
  52283. #: guix-git/doc/guix.texi:35551
  52284. msgid "POSIX shells, Bash, Zsh."
  52285. msgstr ""
  52286. #. type: menuentry
  52287. #: guix-git/doc/guix.texi:35551
  52288. msgid "Mcron: Mcron Home Service"
  52289. msgstr ""
  52290. #. type: menuentry
  52291. #: guix-git/doc/guix.texi:35551
  52292. msgid "Scheduled User's Job Execution."
  52293. msgstr ""
  52294. #. type: menuentry
  52295. #: guix-git/doc/guix.texi:35551
  52296. msgid "Shepherd: Shepherd Home Service"
  52297. msgstr ""
  52298. #. type: menuentry
  52299. #: guix-git/doc/guix.texi:35551
  52300. msgid "Managing User's Daemons."
  52301. msgstr ""
  52302. #. type: Plain text
  52303. #: guix-git/doc/guix.texi:35560
  52304. 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."
  52305. msgstr ""
  52306. #. type: cindex
  52307. #: guix-git/doc/guix.texi:35561
  52308. #, no-wrap
  52309. msgid "environment variables"
  52310. msgstr ""
  52311. #. type: defvr
  52312. #: guix-git/doc/guix.texi:35563
  52313. #, no-wrap
  52314. msgid "{Scheme Variable} home-environment-variables-service-type"
  52315. msgstr ""
  52316. #. type: defvr
  52317. #: guix-git/doc/guix.texi:35568
  52318. 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."
  52319. msgstr ""
  52320. #. type: lisp
  52321. #: guix-git/doc/guix.texi:35572
  52322. #, no-wrap
  52323. msgid ""
  52324. "(list (\"ENV_VAR1\" . \"value1\")\n"
  52325. " (\"ENV_VAR2\" . \"value2\"))\n"
  52326. msgstr ""
  52327. #. type: defvr
  52328. #: guix-git/doc/guix.texi:35577
  52329. 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)}."
  52330. msgstr ""
  52331. #. type: lisp
  52332. #: guix-git/doc/guix.texi:35585
  52333. #, no-wrap
  52334. msgid ""
  52335. "(simple-service 'some-useful-env-vars-service\n"
  52336. "\t\thome-environment-variables-service-type\n"
  52337. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  52338. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  52339. " (\"USELESS_VAR\" . #f)\n"
  52340. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  52341. msgstr ""
  52342. #. type: defvr
  52343. #: guix-git/doc/guix.texi:35590
  52344. 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):"
  52345. msgstr ""
  52346. #. type: example
  52347. #: guix-git/doc/guix.texi:35595
  52348. #, no-wrap
  52349. msgid ""
  52350. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  52351. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  52352. "export _JAVA_AWT_WM_NONREPARENTING\n"
  52353. msgstr ""
  52354. #. type: quotation
  52355. #: guix-git/doc/guix.texi:35602
  52356. 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."
  52357. msgstr ""
  52358. #. type: defvr
  52359. #: guix-git/doc/guix.texi:35615
  52360. 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."
  52361. msgstr ""
  52362. #. type: defvr
  52363. #: guix-git/doc/guix.texi:35618
  52364. #, no-wrap
  52365. msgid "{Scheme Variable} home-profile-service-type"
  52366. msgstr ""
  52367. #. type: defvr
  52368. #: guix-git/doc/guix.texi:35624
  52369. 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 avaliable to the user will also extend this service type."
  52370. msgstr ""
  52371. #. type: defvr
  52372. #: guix-git/doc/guix.texi:35626
  52373. msgid "The extension value is just a list of packages:"
  52374. msgstr ""
  52375. #. type: lisp
  52376. #: guix-git/doc/guix.texi:35629
  52377. #, no-wrap
  52378. msgid "(list htop vim emacs)\n"
  52379. msgstr ""
  52380. #. type: defvr
  52381. #: guix-git/doc/guix.texi:35639
  52382. 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."
  52383. msgstr ""
  52384. #. type: Plain text
  52385. #: guix-git/doc/guix.texi:35643
  52386. msgid "There are few more essential services, but users are not expected to extend them."
  52387. msgstr ""
  52388. #. type: defvr
  52389. #: guix-git/doc/guix.texi:35644
  52390. #, no-wrap
  52391. msgid "{Scheme Variable} home-service-type"
  52392. msgstr ""
  52393. #. type: defvr
  52394. #: guix-git/doc/guix.texi:35649
  52395. 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."
  52396. msgstr ""
  52397. #. type: defvr
  52398. #: guix-git/doc/guix.texi:35651
  52399. #, no-wrap
  52400. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  52401. msgstr ""
  52402. #. type: defvr
  52403. #: guix-git/doc/guix.texi:35656
  52404. 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."
  52405. msgstr ""
  52406. #. type: defvr
  52407. #: guix-git/doc/guix.texi:35662
  52408. 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-shpeherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with required command using the appropriate service type."
  52409. msgstr ""
  52410. #. type: defvr
  52411. #: guix-git/doc/guix.texi:35664
  52412. #, no-wrap
  52413. msgid "{Scheme Variable} home-activation-service-type"
  52414. msgstr ""
  52415. #. type: defvr
  52416. #: guix-git/doc/guix.texi:35668
  52417. 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."
  52418. msgstr ""
  52419. #. type: node
  52420. #: guix-git/doc/guix.texi:35670
  52421. #, no-wrap
  52422. msgid "Shells Home Services"
  52423. msgstr ""
  52424. #. type: subsection
  52425. #: guix-git/doc/guix.texi:35671
  52426. #, no-wrap
  52427. msgid "Shells"
  52428. msgstr ""
  52429. #. type: cindex
  52430. #: guix-git/doc/guix.texi:35673 guix-git/doc/guix.texi:35900
  52431. #, no-wrap
  52432. msgid "shell"
  52433. msgstr ""
  52434. #. type: cindex
  52435. #: guix-git/doc/guix.texi:35674
  52436. #, no-wrap
  52437. msgid "login shell"
  52438. msgstr ""
  52439. #. type: cindex
  52440. #: guix-git/doc/guix.texi:35675
  52441. #, no-wrap
  52442. msgid "interactive shell"
  52443. msgstr ""
  52444. #. type: cindex
  52445. #: guix-git/doc/guix.texi:35676 guix-git/doc/guix.texi:35902
  52446. #, no-wrap
  52447. msgid "bash"
  52448. msgstr ""
  52449. #. type: cindex
  52450. #: guix-git/doc/guix.texi:35677 guix-git/doc/guix.texi:35903
  52451. #, no-wrap
  52452. msgid "zsh"
  52453. msgstr ""
  52454. #. type: Plain text
  52455. #: guix-git/doc/guix.texi:35683
  52456. 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."
  52457. msgstr ""
  52458. #. type: Plain text
  52459. #: guix-git/doc/guix.texi:35693
  52460. 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."
  52461. msgstr ""
  52462. #. type: subsubheading
  52463. #: guix-git/doc/guix.texi:35694
  52464. #, fuzzy, no-wrap
  52465. #| msgid "Services"
  52466. msgid "Shell Profile Service"
  52467. msgstr "Služby"
  52468. #. type: deftp
  52469. #: guix-git/doc/guix.texi:35696
  52470. #, fuzzy, no-wrap
  52471. #| msgid "System Configuration"
  52472. msgid "{Data Type} home-shell-profile-configuration"
  52473. msgstr "Nastavenie systému"
  52474. #. type: deftp
  52475. #: guix-git/doc/guix.texi:35698
  52476. msgid "Available @code{home-shell-profile-configuration} fields are:"
  52477. msgstr ""
  52478. #. type: item
  52479. #: guix-git/doc/guix.texi:35700
  52480. #, no-wrap
  52481. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  52482. msgstr ""
  52483. #. type: table
  52484. #: guix-git/doc/guix.texi:35710
  52485. 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 have to be evaluated by login shell to make home-environment's profile avaliable 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."
  52486. msgstr ""
  52487. #. type: subsubheading
  52488. #: guix-git/doc/guix.texi:35715
  52489. #, no-wrap
  52490. msgid "Bash Home Service"
  52491. msgstr ""
  52492. #. type: deftp
  52493. #: guix-git/doc/guix.texi:35717
  52494. #, fuzzy, no-wrap
  52495. #| msgid "System Configuration"
  52496. msgid "{Data Type} home-bash-configuration"
  52497. msgstr "Nastavenie systému"
  52498. #. type: deftp
  52499. #: guix-git/doc/guix.texi:35719
  52500. msgid "Available @code{home-bash-configuration} fields are:"
  52501. msgstr ""
  52502. #. type: item
  52503. #: guix-git/doc/guix.texi:35721
  52504. #, no-wrap
  52505. msgid "@code{package} (default: @code{bash}) (type: package)"
  52506. msgstr ""
  52507. #. type: table
  52508. #: guix-git/doc/guix.texi:35723
  52509. msgid "The Bash package to use."
  52510. msgstr ""
  52511. #. type: item
  52512. #: guix-git/doc/guix.texi:35724
  52513. #, no-wrap
  52514. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  52515. msgstr ""
  52516. #. type: table
  52517. #: guix-git/doc/guix.texi:35727
  52518. msgid "Add sane defaults like reading @file{/etc/bashrc}, coloring output for @code{ls} provided by guix to @file{.bashrc}."
  52519. msgstr ""
  52520. #. type: item
  52521. #: guix-git/doc/guix.texi:35728 guix-git/doc/guix.texi:35768
  52522. #, no-wrap
  52523. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  52524. msgstr ""
  52525. #. type: table
  52526. #: guix-git/doc/guix.texi:35730
  52527. msgid "Association list of environment variables to set for the Bash session."
  52528. msgstr ""
  52529. #. type: item
  52530. #: guix-git/doc/guix.texi:35731
  52531. #, no-wrap
  52532. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  52533. msgstr ""
  52534. #. type: table
  52535. #: guix-git/doc/guix.texi:35736
  52536. 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."
  52537. msgstr ""
  52538. #. type: item
  52539. #: guix-git/doc/guix.texi:35737
  52540. #, no-wrap
  52541. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  52542. msgstr ""
  52543. #. type: table
  52544. #: guix-git/doc/guix.texi:35742
  52545. 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)."
  52546. msgstr ""
  52547. #. type: item
  52548. #: guix-git/doc/guix.texi:35743
  52549. #, no-wrap
  52550. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  52551. msgstr ""
  52552. #. type: table
  52553. #: guix-git/doc/guix.texi:35748
  52554. 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)."
  52555. msgstr ""
  52556. #. type: subsubheading
  52557. #: guix-git/doc/guix.texi:35753
  52558. #, fuzzy, no-wrap
  52559. #| msgid "Services"
  52560. msgid "Zsh Home Service"
  52561. msgstr "Služby"
  52562. #. type: deftp
  52563. #: guix-git/doc/guix.texi:35755
  52564. #, fuzzy, no-wrap
  52565. #| msgid "System Configuration"
  52566. msgid "{Data Type} home-zsh-configuration"
  52567. msgstr "Nastavenie systému"
  52568. #. type: deftp
  52569. #: guix-git/doc/guix.texi:35757
  52570. msgid "Available @code{home-zsh-configuration} fields are:"
  52571. msgstr ""
  52572. #. type: item
  52573. #: guix-git/doc/guix.texi:35759
  52574. #, no-wrap
  52575. msgid "@code{package} (default: @code{zsh}) (type: package)"
  52576. msgstr ""
  52577. #. type: table
  52578. #: guix-git/doc/guix.texi:35761
  52579. msgid "The Zsh package to use."
  52580. msgstr ""
  52581. #. type: item
  52582. #: guix-git/doc/guix.texi:35762
  52583. #, no-wrap
  52584. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  52585. msgstr ""
  52586. #. type: table
  52587. #: guix-git/doc/guix.texi:35767
  52588. 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}."
  52589. msgstr ""
  52590. #. type: table
  52591. #: guix-git/doc/guix.texi:35770
  52592. msgid "Association list of environment variables to set for the Zsh session."
  52593. msgstr ""
  52594. #. type: item
  52595. #: guix-git/doc/guix.texi:35771
  52596. #, no-wrap
  52597. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  52598. msgstr ""
  52599. #. type: table
  52600. #: guix-git/doc/guix.texi:35776
  52601. 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}."
  52602. msgstr ""
  52603. #. type: item
  52604. #: guix-git/doc/guix.texi:35777
  52605. #, no-wrap
  52606. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  52607. msgstr ""
  52608. #. type: table
  52609. #: guix-git/doc/guix.texi:35782
  52610. 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}."
  52611. msgstr ""
  52612. #. type: item
  52613. #: guix-git/doc/guix.texi:35783
  52614. #, no-wrap
  52615. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  52616. msgstr ""
  52617. #. type: table
  52618. #: guix-git/doc/guix.texi:35788
  52619. 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)."
  52620. msgstr ""
  52621. #. type: item
  52622. #: guix-git/doc/guix.texi:35789
  52623. #, no-wrap
  52624. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  52625. msgstr ""
  52626. #. type: table
  52627. #: guix-git/doc/guix.texi:35793
  52628. 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."
  52629. msgstr ""
  52630. #. type: item
  52631. #: guix-git/doc/guix.texi:35794
  52632. #, no-wrap
  52633. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  52634. msgstr ""
  52635. #. type: table
  52636. #: guix-git/doc/guix.texi:35799
  52637. 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)."
  52638. msgstr ""
  52639. #. type: node
  52640. #: guix-git/doc/guix.texi:35804
  52641. #, no-wrap
  52642. msgid "Mcron Home Service"
  52643. msgstr ""
  52644. #. type: subsection
  52645. #: guix-git/doc/guix.texi:35805
  52646. #, no-wrap
  52647. msgid "Scheduled User's Job Execution"
  52648. msgstr ""
  52649. #. type: Plain text
  52650. #: guix-git/doc/guix.texi:35818
  52651. 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."
  52652. msgstr ""
  52653. #. type: defvr
  52654. #: guix-git/doc/guix.texi:35819
  52655. #, no-wrap
  52656. msgid "{Scheme Variable} home-mcron-service-type"
  52657. msgstr ""
  52658. #. type: defvr
  52659. #: guix-git/doc/guix.texi:35823
  52660. 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."
  52661. msgstr ""
  52662. #. type: deftp
  52663. #: guix-git/doc/guix.texi:35830
  52664. #, fuzzy, no-wrap
  52665. #| msgid "System Configuration"
  52666. msgid "{Data Type} home-mcron-configuration"
  52667. msgstr "Nastavenie systému"
  52668. #. type: node
  52669. #: guix-git/doc/guix.texi:35844
  52670. #, no-wrap
  52671. msgid "Shepherd Home Service"
  52672. msgstr ""
  52673. #. type: subsection
  52674. #: guix-git/doc/guix.texi:35845
  52675. #, no-wrap
  52676. msgid "Managing User's Daemons"
  52677. msgstr ""
  52678. #. type: defvr
  52679. #: guix-git/doc/guix.texi:35849
  52680. #, no-wrap
  52681. msgid "{Scheme Variable} home-shepherd-service-type"
  52682. msgstr ""
  52683. #. type: defvr
  52684. #: guix-git/doc/guix.texi:35854
  52685. 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."
  52686. msgstr ""
  52687. #. type: item
  52688. #: guix-git/doc/guix.texi:35868
  52689. #, no-wrap
  52690. msgid "auto-start? (default: @code{#t})"
  52691. msgstr ""
  52692. #. type: table
  52693. #: guix-git/doc/guix.texi:35870
  52694. msgid "Whether or not to start Shepherd on first login."
  52695. msgstr ""
  52696. #. type: section
  52697. #: guix-git/doc/guix.texi:35879
  52698. #, no-wrap
  52699. msgid "Invoking @code{guix home}"
  52700. msgstr ""
  52701. #. type: Plain text
  52702. #: guix-git/doc/guix.texi:35884
  52703. 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:"
  52704. msgstr ""
  52705. #. type: example
  52706. #: guix-git/doc/guix.texi:35887
  52707. #, no-wrap
  52708. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  52709. msgstr ""
  52710. #. type: Plain text
  52711. #: guix-git/doc/guix.texi:35894
  52712. 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:"
  52713. msgstr ""
  52714. #. type: table
  52715. #: guix-git/doc/guix.texi:35899
  52716. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  52717. msgstr ""
  52718. #. type: cindex
  52719. #: guix-git/doc/guix.texi:35901
  52720. #, no-wrap
  52721. msgid "shell-profile"
  52722. msgstr ""
  52723. #. type: example
  52724. #: guix-git/doc/guix.texi:35913
  52725. #, no-wrap
  52726. msgid ""
  52727. "$ guix home search shell\n"
  52728. "name: home-shell-profile\n"
  52729. "location: gnu/home/services/shells.scm:73:2\n"
  52730. "extends: home-files\n"
  52731. "description: Create `~/.profile', which is used for environment initialization\n"
  52732. "+ of POSIX compatible login shells. Can be extended with a list of strings or\n"
  52733. "+ gexps.\n"
  52734. "relevance: 6\n"
  52735. "\n"
  52736. msgstr ""
  52737. #. type: example
  52738. #: guix-git/doc/guix.texi:35919
  52739. #, no-wrap
  52740. msgid ""
  52741. "name: home-zsh-plugin-manager\n"
  52742. "location: gnu/home/services/shellutils.scm:28:2\n"
  52743. "extends: home-zsh home-profile\n"
  52744. "description: Install plugins in profile and configure Zsh to load them.\n"
  52745. "relevance: 1\n"
  52746. "\n"
  52747. msgstr ""
  52748. #. type: example
  52749. #: guix-git/doc/guix.texi:35926
  52750. #, no-wrap
  52751. msgid ""
  52752. "name: home-zsh-direnv\n"
  52753. "location: gnu/home/services/shellutils.scm:69:2\n"
  52754. "extends: home-profile home-zsh\n"
  52755. "description: Enables `direnv' for `zsh'. Adds hook to `.zshrc' and installs a\n"
  52756. "+ package in the profile.\n"
  52757. "relevance: 1\n"
  52758. "\n"
  52759. msgstr ""
  52760. #. type: example
  52761. #: guix-git/doc/guix.texi:35935
  52762. #, no-wrap
  52763. msgid ""
  52764. "name: home-zsh-autosuggestions\n"
  52765. "location: gnu/home/services/shellutils.scm:43:2\n"
  52766. "extends: home-zsh-plugin-manager home-zsh\n"
  52767. "description: Enables Fish-like fast/unobtrusive autosuggestions for `zsh' and\n"
  52768. "+ sets reasonable default values for some plugin's variables to improve perfomance\n"
  52769. "+ and adjust behavior: `(history completion)' is set for strategy, manual rebind\n"
  52770. "+ and async are enabled.\n"
  52771. "relevance: 1\n"
  52772. "\n"
  52773. msgstr ""
  52774. #. type: example
  52775. #: guix-git/doc/guix.texi:35941
  52776. #, no-wrap
  52777. msgid ""
  52778. "name: home-zsh\n"
  52779. "location: gnu/home/services/shells.scm:236:2\n"
  52780. "extends: home-files home-profile\n"
  52781. "description: Install and configure Zsh.\n"
  52782. "relevance: 1\n"
  52783. "\n"
  52784. msgstr ""
  52785. #. type: example
  52786. #: guix-git/doc/guix.texi:35947
  52787. #, no-wrap
  52788. msgid ""
  52789. "name: home-bash\n"
  52790. "location: gnu/home/services/shells.scm:388:2\n"
  52791. "extends: home-files home-profile\n"
  52792. "description: Install and configure Bash.\n"
  52793. "relevance: 1\n"
  52794. "\n"
  52795. msgstr ""
  52796. #. type: table
  52797. #: guix-git/doc/guix.texi:35963
  52798. 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{~/TIMESTAMP-guix-home-legacy-configs-backup}, where TIMESTAMP is a current UNIX epoch time."
  52799. msgstr ""
  52800. #. type: quotation
  52801. #: guix-git/doc/guix.texi:35968
  52802. 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})."
  52803. msgstr ""
  52804. #. type: table
  52805. #: guix-git/doc/guix.texi:35975
  52806. 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 X} or @code{herd restart X})."
  52807. msgstr ""
  52808. #. type: table
  52809. #: guix-git/doc/guix.texi:35981
  52810. 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})."
  52811. msgstr ""
  52812. #. type: cindex
  52813. #: guix-git/doc/guix.texi:35982
  52814. #, no-wrap
  52815. msgid "provenance tracking, of the home environment"
  52816. msgstr ""
  52817. #. type: table
  52818. #: guix-git/doc/guix.texi:35987
  52819. 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:"
  52820. msgstr ""
  52821. #. type: example
  52822. #: guix-git/doc/guix.texi:35990
  52823. #, no-wrap
  52824. msgid "guix home describe\n"
  52825. msgstr ""
  52826. #. type: table
  52827. #: guix-git/doc/guix.texi:35996
  52828. 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:"
  52829. msgstr ""
  52830. #. type: example
  52831. #: guix-git/doc/guix.texi:36002
  52832. #, no-wrap
  52833. msgid ""
  52834. "guix time-machine \\\n"
  52835. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  52836. " home reconfigure \\\n"
  52837. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  52838. "\n"
  52839. msgstr ""
  52840. #. type: table
  52841. #: guix-git/doc/guix.texi:36009
  52842. 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}."
  52843. msgstr ""
  52844. #. type: cindex
  52845. #: guix-git/doc/guix.texi:36015
  52846. #, fuzzy, no-wrap
  52847. #| msgid "Documentation"
  52848. msgid "home generations"
  52849. msgstr "Dokumentácia"
  52850. #. type: table
  52851. #: guix-git/doc/guix.texi:36018
  52852. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  52853. msgstr ""
  52854. #. type: table
  52855. #: guix-git/doc/guix.texi:36022
  52856. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  52857. msgstr ""
  52858. #. type: example
  52859. #: guix-git/doc/guix.texi:36025
  52860. #, no-wrap
  52861. msgid "guix home switch-generation 7\n"
  52862. msgstr ""
  52863. #. type: example
  52864. #: guix-git/doc/guix.texi:36036
  52865. #, no-wrap
  52866. msgid "guix home switch-generation -- -1\n"
  52867. msgstr ""
  52868. #. type: table
  52869. #: guix-git/doc/guix.texi:36045
  52870. 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}."
  52871. msgstr ""
  52872. #. type: cindex
  52873. #: guix-git/doc/guix.texi:36047
  52874. #, no-wrap
  52875. msgid "deleting home generations"
  52876. msgstr ""
  52877. #. type: table
  52878. #: guix-git/doc/guix.texi:36052
  52879. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52880. msgstr ""
  52881. #. type: table
  52882. #: guix-git/doc/guix.texi:36056
  52883. 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:"
  52884. msgstr ""
  52885. #. type: example
  52886. #: guix-git/doc/guix.texi:36059
  52887. #, no-wrap
  52888. msgid "guix home delete-generations\n"
  52889. msgstr ""
  52890. #. type: table
  52891. #: guix-git/doc/guix.texi:36063
  52892. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two month old:"
  52893. msgstr ""
  52894. #. type: example
  52895. #: guix-git/doc/guix.texi:36066
  52896. #, no-wrap
  52897. msgid "guix home delete-generations 2m\n"
  52898. msgstr ""
  52899. #. type: table
  52900. #: guix-git/doc/guix.texi:36072
  52901. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  52902. msgstr ""
  52903. #. type: table
  52904. #: guix-git/doc/guix.texi:36076
  52905. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  52906. msgstr ""
  52907. #. type: table
  52908. #: guix-git/doc/guix.texi:36082
  52909. 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})."
  52910. msgstr ""
  52911. #. type: example
  52912. #: guix-git/doc/guix.texi:36090
  52913. #, no-wrap
  52914. msgid "$ guix home list-generations 10d\n"
  52915. msgstr ""
  52916. #. type: table
  52917. #: guix-git/doc/guix.texi:36105
  52918. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  52919. msgstr ""
  52920. #. type: cindex
  52921. #: guix-git/doc/guix.texi:36111
  52922. #, no-wrap
  52923. msgid "documentation, searching for"
  52924. msgstr ""
  52925. #. type: cindex
  52926. #: guix-git/doc/guix.texi:36112
  52927. #, no-wrap
  52928. msgid "searching for documentation"
  52929. msgstr ""
  52930. #. type: cindex
  52931. #: guix-git/doc/guix.texi:36113
  52932. #, no-wrap
  52933. msgid "Info, documentation format"
  52934. msgstr ""
  52935. #. type: cindex
  52936. #: guix-git/doc/guix.texi:36114
  52937. #, no-wrap
  52938. msgid "man pages"
  52939. msgstr ""
  52940. #. type: cindex
  52941. #: guix-git/doc/guix.texi:36115
  52942. #, no-wrap
  52943. msgid "manual pages"
  52944. msgstr ""
  52945. #. type: Plain text
  52946. #: guix-git/doc/guix.texi:36122
  52947. 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}."
  52948. msgstr ""
  52949. #. type: Plain text
  52950. #: guix-git/doc/guix.texi:36126
  52951. 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:"
  52952. msgstr ""
  52953. #. type: example
  52954. #: guix-git/doc/guix.texi:36134
  52955. #, no-wrap
  52956. msgid ""
  52957. "$ info -k TLS\n"
  52958. "\"(emacs)Network Security\" -- STARTTLS\n"
  52959. "\"(emacs)Network Security\" -- TLS\n"
  52960. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  52961. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  52962. "@dots{}\n"
  52963. msgstr ""
  52964. #. type: Plain text
  52965. #: guix-git/doc/guix.texi:36138
  52966. msgid "The command below searches for the same keyword in man pages:"
  52967. msgstr ""
  52968. #. type: example
  52969. #: guix-git/doc/guix.texi:36144
  52970. #, no-wrap
  52971. msgid ""
  52972. "$ man -k TLS\n"
  52973. "SSL (7) - OpenSSL SSL/TLS library\n"
  52974. "certtool (1) - GnuTLS certificate tool\n"
  52975. "@dots {}\n"
  52976. msgstr ""
  52977. #. type: Plain text
  52978. #: guix-git/doc/guix.texi:36150
  52979. 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."
  52980. msgstr ""
  52981. #. type: Plain text
  52982. #: guix-git/doc/guix.texi:36153
  52983. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  52984. msgstr ""
  52985. #. type: example
  52986. #: guix-git/doc/guix.texi:36156
  52987. #, no-wrap
  52988. msgid "$ info \"(gnutls)Core TLS API\"\n"
  52989. msgstr ""
  52990. #. type: Plain text
  52991. #: guix-git/doc/guix.texi:36160
  52992. msgid "or:"
  52993. msgstr ""
  52994. #. type: example
  52995. #: guix-git/doc/guix.texi:36163
  52996. #, no-wrap
  52997. msgid "$ man certtool\n"
  52998. msgstr ""
  52999. #. type: Plain text
  53000. #: guix-git/doc/guix.texi:36171
  53001. 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."
  53002. msgstr ""
  53003. #. type: cindex
  53004. #: guix-git/doc/guix.texi:36175
  53005. #, no-wrap
  53006. msgid "debugging files"
  53007. msgstr ""
  53008. #. type: Plain text
  53009. #: guix-git/doc/guix.texi:36181
  53010. 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."
  53011. msgstr ""
  53012. #. type: Plain text
  53013. #: guix-git/doc/guix.texi:36185
  53014. 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."
  53015. msgstr ""
  53016. #. type: Plain text
  53017. #: guix-git/doc/guix.texi:36201
  53018. 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})."
  53019. msgstr ""
  53020. #. type: Plain text
  53021. #: guix-git/doc/guix.texi:36208
  53022. 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})."
  53023. msgstr ""
  53024. #. type: Plain text
  53025. #: guix-git/doc/guix.texi:36216
  53026. 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:"
  53027. msgstr ""
  53028. #. type: example
  53029. #: guix-git/doc/guix.texi:36219
  53030. #, no-wrap
  53031. msgid "guix install glibc:debug guile:debug\n"
  53032. msgstr ""
  53033. #. type: Plain text
  53034. #: guix-git/doc/guix.texi:36225
  53035. 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}):"
  53036. msgstr ""
  53037. #. type: example
  53038. #: guix-git/doc/guix.texi:36228
  53039. #, no-wrap
  53040. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  53041. msgstr ""
  53042. #. type: Plain text
  53043. #: guix-git/doc/guix.texi:36232
  53044. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  53045. msgstr ""
  53046. #. type: Plain text
  53047. #: guix-git/doc/guix.texi:36239
  53048. 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})."
  53049. msgstr ""
  53050. #. type: Plain text
  53051. #: guix-git/doc/guix.texi:36247
  53052. 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})."
  53053. msgstr ""
  53054. #. type: Plain text
  53055. #: guix-git/doc/guix.texi:36249
  53056. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  53057. msgstr ""
  53058. #. type: Plain text
  53059. #: guix-git/doc/guix.texi:36261
  53060. 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."
  53061. msgstr ""
  53062. #. type: Plain text
  53063. #: guix-git/doc/guix.texi:36266
  53064. 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:"
  53065. msgstr ""
  53066. #. type: example
  53067. #: guix-git/doc/guix.texi:36277
  53068. #, no-wrap
  53069. msgid ""
  53070. "(gdb) bt\n"
  53071. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  53072. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  53073. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  53074. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  53075. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  53076. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  53077. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  53078. " at dl-init.c:118\n"
  53079. msgstr ""
  53080. #. type: Plain text
  53081. #: guix-git/doc/guix.texi:36281
  53082. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  53083. msgstr ""
  53084. #. type: Plain text
  53085. #: guix-git/doc/guix.texi:36287
  53086. msgid "This time, debugging will be a whole lot nicer:"
  53087. msgstr ""
  53088. #. type: example
  53089. #: guix-git/doc/guix.texi:36305
  53090. #, no-wrap
  53091. msgid ""
  53092. "$ gdb --args sh -c 'exec inkscape'\n"
  53093. "@dots{}\n"
  53094. "(gdb) b g_getenv\n"
  53095. "Function \"g_getenv\" not defined.\n"
  53096. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  53097. "Breakpoint 1 (g_getenv) pending.\n"
  53098. "(gdb) r\n"
  53099. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  53100. "@dots{}\n"
  53101. "(gdb) bt\n"
  53102. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  53103. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  53104. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  53105. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  53106. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  53107. "@dots{}\n"
  53108. msgstr ""
  53109. #. type: Plain text
  53110. #: guix-git/doc/guix.texi:36308
  53111. msgid "Much better!"
  53112. msgstr ""
  53113. #. type: Plain text
  53114. #: guix-git/doc/guix.texi:36312
  53115. 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."
  53116. msgstr ""
  53117. #. type: cindex
  53118. #: guix-git/doc/guix.texi:36316
  53119. #, no-wrap
  53120. msgid "security updates"
  53121. msgstr ""
  53122. #. type: Plain text
  53123. #: guix-git/doc/guix.texi:36325
  53124. 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:"
  53125. msgstr ""
  53126. #. type: smallexample
  53127. #: guix-git/doc/guix.texi:36332
  53128. #, no-wrap
  53129. msgid ""
  53130. "$ guix lint -c cve\n"
  53131. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  53132. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  53133. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  53134. "@dots{}\n"
  53135. msgstr ""
  53136. #. type: Plain text
  53137. #: guix-git/doc/guix.texi:36335
  53138. msgid "@xref{Invoking guix lint}, for more information."
  53139. msgstr ""
  53140. #. type: Plain text
  53141. #: guix-git/doc/guix.texi:36344
  53142. 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."
  53143. msgstr ""
  53144. #. type: cindex
  53145. #: guix-git/doc/guix.texi:36345
  53146. #, no-wrap
  53147. msgid "grafts"
  53148. msgstr ""
  53149. #. type: Plain text
  53150. #: guix-git/doc/guix.texi:36353
  53151. 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."
  53152. msgstr ""
  53153. #. type: cindex
  53154. #: guix-git/doc/guix.texi:36354
  53155. #, no-wrap
  53156. msgid "replacements of packages, for grafts"
  53157. msgstr ""
  53158. #. type: Plain text
  53159. #: guix-git/doc/guix.texi:36360
  53160. 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:"
  53161. msgstr ""
  53162. #. type: lisp
  53163. #: guix-git/doc/guix.texi:36367
  53164. #, no-wrap
  53165. msgid ""
  53166. "(define bash\n"
  53167. " (package\n"
  53168. " (name \"bash\")\n"
  53169. " ;; @dots{}\n"
  53170. " (replacement bash-fixed)))\n"
  53171. msgstr ""
  53172. #. type: Plain text
  53173. #: guix-git/doc/guix.texi:36377
  53174. 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."
  53175. msgstr ""
  53176. #. type: Plain text
  53177. #: guix-git/doc/guix.texi:36385
  53178. 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."
  53179. msgstr ""
  53180. #. type: Plain text
  53181. #: guix-git/doc/guix.texi:36389
  53182. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  53183. msgstr ""
  53184. #. type: example
  53185. #: guix-git/doc/guix.texi:36392
  53186. #, no-wrap
  53187. msgid "guix build bash --no-grafts\n"
  53188. msgstr ""
  53189. #. type: Plain text
  53190. #: guix-git/doc/guix.texi:36396
  53191. msgid "returns the store file name of the original Bash, whereas:"
  53192. msgstr ""
  53193. #. type: example
  53194. #: guix-git/doc/guix.texi:36399
  53195. #, no-wrap
  53196. msgid "guix build bash\n"
  53197. msgstr ""
  53198. #. type: Plain text
  53199. #: guix-git/doc/guix.texi:36404
  53200. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  53201. msgstr ""
  53202. #. type: Plain text
  53203. #: guix-git/doc/guix.texi:36407
  53204. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  53205. msgstr ""
  53206. #. type: example
  53207. #: guix-git/doc/guix.texi:36410
  53208. #, no-wrap
  53209. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  53210. msgstr ""
  53211. #. type: Plain text
  53212. #: guix-git/doc/guix.texi:36415
  53213. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  53214. msgstr ""
  53215. #. type: example
  53216. #: guix-git/doc/guix.texi:36418
  53217. #, no-wrap
  53218. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  53219. msgstr ""
  53220. #. type: Plain text
  53221. #: guix-git/doc/guix.texi:36422
  53222. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  53223. msgstr ""
  53224. #. type: example
  53225. #: guix-git/doc/guix.texi:36425
  53226. #, no-wrap
  53227. msgid "lsof | grep /gnu/store/.*bash\n"
  53228. msgstr ""
  53229. #. type: cindex
  53230. #: guix-git/doc/guix.texi:36433
  53231. #, no-wrap
  53232. msgid "bootstrapping"
  53233. msgstr ""
  53234. #. type: Plain text
  53235. #: guix-git/doc/guix.texi:36440
  53236. 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?"
  53237. msgstr ""
  53238. #. type: Plain text
  53239. #: guix-git/doc/guix.texi:36448
  53240. 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."
  53241. msgstr ""
  53242. #. type: cindex
  53243. #: guix-git/doc/guix.texi:36449 guix-git/doc/guix.texi:36661
  53244. #, no-wrap
  53245. msgid "bootstrap binaries"
  53246. msgstr ""
  53247. #. type: Plain text
  53248. #: guix-git/doc/guix.texi:36459
  53249. 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}."
  53250. msgstr ""
  53251. #. type: Plain text
  53252. #: guix-git/doc/guix.texi:36463
  53253. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  53254. msgstr ""
  53255. #. type: section
  53256. #: guix-git/doc/guix.texi:36470
  53257. #, no-wrap
  53258. msgid "The Reduced Binary Seed Bootstrap"
  53259. msgstr ""
  53260. #. type: Plain text
  53261. #: guix-git/doc/guix.texi:36477
  53262. 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.''"
  53263. msgstr ""
  53264. #. type: Plain text
  53265. #: guix-git/doc/guix.texi:36483
  53266. 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."
  53267. msgstr ""
  53268. #. type: Plain text
  53269. #: guix-git/doc/guix.texi:36488
  53270. 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.}."
  53271. msgstr ""
  53272. #. type: Plain text
  53273. #: guix-git/doc/guix.texi:36494
  53274. 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)."
  53275. msgstr ""
  53276. #. type: Plain text
  53277. #: guix-git/doc/guix.texi:36499
  53278. 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."
  53279. msgstr ""
  53280. #. type: Plain text
  53281. #: guix-git/doc/guix.texi:36507
  53282. 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."
  53283. msgstr ""
  53284. #. type: Plain text
  53285. #: guix-git/doc/guix.texi:36517
  53286. 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."
  53287. msgstr ""
  53288. #. type: Plain text
  53289. #: guix-git/doc/guix.texi:36521
  53290. 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."
  53291. msgstr ""
  53292. #. type: Plain text
  53293. #: guix-git/doc/guix.texi:36524
  53294. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  53295. msgstr ""
  53296. #. type: Plain text
  53297. #: guix-git/doc/guix.texi:36531
  53298. 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.}."
  53299. msgstr ""
  53300. #. type: Plain text
  53301. #: guix-git/doc/guix.texi:36534
  53302. 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}."
  53303. msgstr ""
  53304. #. type: Plain text
  53305. #: guix-git/doc/guix.texi:36539
  53306. 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."
  53307. msgstr ""
  53308. #. type: Plain text
  53309. #: guix-git/doc/guix.texi:36543
  53310. 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}."
  53311. msgstr ""
  53312. #. type: Plain text
  53313. #: guix-git/doc/guix.texi:36550
  53314. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  53315. msgstr ""
  53316. #. type: Plain text
  53317. #: guix-git/doc/guix.texi:36555
  53318. 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:"
  53319. msgstr ""
  53320. #. type: example
  53321. #: guix-git/doc/guix.texi:36560
  53322. #, no-wrap
  53323. msgid ""
  53324. "guix graph -t derivation \\\n"
  53325. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  53326. " | dot -Tps > gcc.ps\n"
  53327. msgstr ""
  53328. #. type: Plain text
  53329. #: guix-git/doc/guix.texi:36563
  53330. msgid "or, for the further Reduced Binary Seed bootstrap"
  53331. msgstr ""
  53332. #. type: example
  53333. #: guix-git/doc/guix.texi:36568
  53334. #, no-wrap
  53335. msgid ""
  53336. "guix graph -t derivation \\\n"
  53337. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  53338. " | dot -Tps > mes.ps\n"
  53339. msgstr ""
  53340. #. type: Plain text
  53341. #: guix-git/doc/guix.texi:36577
  53342. 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})."
  53343. msgstr ""
  53344. #. type: Plain text
  53345. #: guix-git/doc/guix.texi:36586
  53346. 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."
  53347. msgstr ""
  53348. #. type: Plain text
  53349. #: guix-git/doc/guix.texi:36598
  53350. 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})."
  53351. msgstr ""
  53352. #. type: Plain text
  53353. #: guix-git/doc/guix.texi:36603
  53354. 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."
  53355. msgstr ""
  53356. #. type: unnumberedsec
  53357. #: guix-git/doc/guix.texi:36604
  53358. #, no-wrap
  53359. msgid "Building the Build Tools"
  53360. msgstr ""
  53361. #. type: Plain text
  53362. #: guix-git/doc/guix.texi:36613
  53363. 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."
  53364. msgstr ""
  53365. #. type: Plain text
  53366. #: guix-git/doc/guix.texi:36620
  53367. 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:"
  53368. msgstr ""
  53369. #. type: example
  53370. #: guix-git/doc/guix.texi:36625
  53371. #, no-wrap
  53372. msgid ""
  53373. "guix graph -t bag \\\n"
  53374. " -e '(@@@@ (gnu packages commencement)\n"
  53375. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  53376. msgstr ""
  53377. #. type: Plain text
  53378. #: guix-git/doc/guix.texi:36632
  53379. 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."
  53380. msgstr ""
  53381. #. type: Plain text
  53382. #: guix-git/doc/guix.texi:36634
  53383. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  53384. msgstr ""
  53385. #. type: Plain text
  53386. #: guix-git/doc/guix.texi:36640
  53387. 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."
  53388. msgstr ""
  53389. #. type: Plain text
  53390. #: guix-git/doc/guix.texi:36645
  53391. 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."
  53392. msgstr ""
  53393. #. type: Plain text
  53394. #: guix-git/doc/guix.texi:36651
  53395. 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."
  53396. msgstr ""
  53397. #. type: Plain text
  53398. #: guix-git/doc/guix.texi:36657
  53399. 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}})."
  53400. msgstr ""
  53401. #. type: unnumberedsec
  53402. #: guix-git/doc/guix.texi:36659
  53403. #, no-wrap
  53404. msgid "Building the Bootstrap Binaries"
  53405. msgstr ""
  53406. #. type: Plain text
  53407. #: guix-git/doc/guix.texi:36666
  53408. 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."
  53409. msgstr ""
  53410. #. type: Plain text
  53411. #: guix-git/doc/guix.texi:36672
  53412. 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):"
  53413. msgstr ""
  53414. #. type: example
  53415. #: guix-git/doc/guix.texi:36675
  53416. #, no-wrap
  53417. msgid "guix build bootstrap-tarballs\n"
  53418. msgstr ""
  53419. #. type: Plain text
  53420. #: guix-git/doc/guix.texi:36680
  53421. 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."
  53422. msgstr ""
  53423. #. type: Plain text
  53424. #: guix-git/doc/guix.texi:36686
  53425. 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."
  53426. msgstr ""
  53427. #. type: unnumberedsec
  53428. #: guix-git/doc/guix.texi:36687
  53429. #, no-wrap
  53430. msgid "Reducing the Set of Bootstrap Binaries"
  53431. msgstr ""
  53432. #. type: Plain text
  53433. #: guix-git/doc/guix.texi:36695
  53434. 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}."
  53435. msgstr ""
  53436. #. type: Plain text
  53437. #: guix-git/doc/guix.texi:36701
  53438. 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."
  53439. msgstr ""
  53440. #. type: Plain text
  53441. #: guix-git/doc/guix.texi:36707
  53442. 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."
  53443. msgstr ""
  53444. #. type: Plain text
  53445. #: guix-git/doc/guix.texi:36716
  53446. 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."
  53447. msgstr ""
  53448. #. type: Plain text
  53449. #: guix-git/doc/guix.texi:36719
  53450. 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!"
  53451. msgstr ""
  53452. #. type: chapter
  53453. #: guix-git/doc/guix.texi:36721
  53454. #, no-wrap
  53455. msgid "Porting to a New Platform"
  53456. msgstr ""
  53457. #. type: Plain text
  53458. #: guix-git/doc/guix.texi:36730
  53459. 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."
  53460. msgstr ""
  53461. #. type: Plain text
  53462. #: guix-git/doc/guix.texi:36735
  53463. 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:"
  53464. msgstr ""
  53465. #. type: example
  53466. #: guix-git/doc/guix.texi:36738
  53467. #, no-wrap
  53468. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  53469. msgstr ""
  53470. #. type: Plain text
  53471. #: guix-git/doc/guix.texi:36745
  53472. 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."
  53473. msgstr ""
  53474. #. type: Plain text
  53475. #: guix-git/doc/guix.texi:36754
  53476. 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."
  53477. msgstr ""
  53478. #. type: Plain text
  53479. #: guix-git/doc/guix.texi:36763
  53480. 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."
  53481. msgstr ""
  53482. #. type: include
  53483. #: guix-git/doc/guix.texi:36765
  53484. #, no-wrap
  53485. msgid "contributing.texi"
  53486. msgstr "contributing.sk.texi"
  53487. #. type: Plain text
  53488. #: guix-git/doc/guix.texi:36778
  53489. 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."
  53490. msgstr ""
  53491. #. type: Plain text
  53492. #: guix-git/doc/guix.texi:36781
  53493. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  53494. msgstr ""
  53495. #. type: Plain text
  53496. #: guix-git/doc/guix.texi:36787
  53497. 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!"
  53498. msgstr ""
  53499. #. type: cindex
  53500. #: guix-git/doc/guix.texi:36792
  53501. #, no-wrap
  53502. msgid "license, GNU Free Documentation License"
  53503. msgstr ""
  53504. #. type: include
  53505. #: guix-git/doc/guix.texi:36793
  53506. #, no-wrap
  53507. msgid "fdl-1.3.texi"
  53508. msgstr ""
  53509. #~ msgid "Using Debbugs."
  53510. #~ msgstr "Používanie Debbugs."